diff --git a/.github/workflows/app-react.yml b/.github/workflows/app-react.yml index 3668297ca9..b1580e7d97 100644 --- a/.github/workflows/app-react.yml +++ b/.github/workflows/app-react.yml @@ -52,7 +52,7 @@ jobs: - run: npm run build --if-present working-directory: ${{env.working-directory}} - - run: npm run coverage + - run: npm run coverage -- --maxWorkers=2 working-directory: ${{env.working-directory}} - name: Codecov diff --git a/etl/PAIMS_PIMS/PAIMS_PIMS.sln b/etl/PAIMS_PIMS/PAIMS_PIMS.sln index 91f9a7dd39..fe27cf175d 100644 --- a/etl/PAIMS_PIMS/PAIMS_PIMS.sln +++ b/etl/PAIMS_PIMS/PAIMS_PIMS.sln @@ -3,20 +3,20 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.32510.428 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{159641D6-6404-4A2A-AE62-294DE0FE8301}") = "PAIMS_PIMS", "PAIMS_PIMS\PAIMS_PIMS.dtproj", "{F604A291-A50A-4179-859B-FD595566BAD9}" +Project("{159641D6-6404-4A2A-AE62-294DE0FE8301}") = "PAIMS_PIMS", "PAIMS_PIMS\PAIMS_PIMS.dtproj", "{BFB75DD7-A03F-47F3-857A-EC945CFDB810}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Development|Default = Development|Default EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {F604A291-A50A-4179-859B-FD595566BAD9}.Development|Default.ActiveCfg = Development - {F604A291-A50A-4179-859B-FD595566BAD9}.Development|Default.Build.0 = Development + {BFB75DD7-A03F-47F3-857A-EC945CFDB810}.Development|Default.ActiveCfg = Development + {BFB75DD7-A03F-47F3-857A-EC945CFDB810}.Development|Default.Build.0 = Development EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {6BFA59D0-A25E-4059-90B8-54EDA145B7B4} + SolutionGuid = {56A535BA-94C6-4310-9A9A-D037405D15BD} EndGlobalSection EndGlobal diff --git a/etl/PAIMS_PIMS/PAIMS_PIMS/PAIMS_PIMS.dtproj b/etl/PAIMS_PIMS/PAIMS_PIMS/PAIMS_PIMS.dtproj index dc6f7bbdd5..cec3effbfc 100644 --- a/etl/PAIMS_PIMS/PAIMS_PIMS/PAIMS_PIMS.dtproj +++ b/etl/PAIMS_PIMS/PAIMS_PIMS/PAIMS_PIMS.dtproj @@ -41,10 +41,10 @@ Package2 1 0 - 1231 + 1275 - {E29C3446-82DE-464B-B405-026F2B07E18D} + {5D08EEAD-BCE0-4E96-A009-97BB085C8F98} 8 @@ -77,7 +77,7 @@ 0 0 0 - Data Source=lizzard.th.gov.bc.ca:20208/Dev03;User ID=prisharm;Provider=OraOLEDB.Oracle.1;Persist Security Info=True; + Data Source=lizzard.th.gov.bc.ca:20208/tst11;User ID=prisharm;Provider=OraOLEDB.Oracle.1;Persist Security Info=True; 18 @@ -180,7 +180,7 @@ 0 0 0 - lizzard.th.gov.bc.ca:20208/Dev03 + lizzard.th.gov.bc.ca:20208/tst11 18 @@ -225,7 +225,7 @@ 0 0 0 - Data Source=localhost,5433;User ID=admin;Initial Catalog=pims;Provider=SQLNCLI11.1;Auto Translate=False;Application Name=SSIS-Package2-{397DB851-677E-4A08-84AE-EE76A4654BC7}PIMS; + Data Source=sqldevtst.th.gov.bc.ca;Initial Catalog=PIMS_TST;Provider=SQLNCLI11.1;Integrated Security=SSPI;Auto Translate=False;Application Name=SSIS-Package2-{397DB851-677E-4A08-84AE-EE76A4654BC7}PIMS; 18 @@ -285,7 +285,7 @@ 0 0 0 - pims + PIMS_TST 18 @@ -329,7 +329,7 @@ 0 0 0 - localhost,5433 + sqldevtst.th.gov.bc.ca 18 @@ -344,7 +344,6 @@ 0 0 0 - admin 18 @@ -377,7 +376,7 @@ LastModifiedTime LastModifiedTime - 2023-02-04T20:25:04.4609751Z + 2023-02-03T19:23:09.8162749Z diff --git a/etl/PAIMS_PIMS/PAIMS_PIMS/PAM_LOAD_PAIMS_TO_PIMS_DATASET_2.dtsx b/etl/PAIMS_PIMS/PAIMS_PIMS/PAM_LOAD_PAIMS_TO_PIMS_DATASET_2.dtsx index 797e54482a..14b6d16120 100644 --- a/etl/PAIMS_PIMS/PAIMS_PIMS/PAM_LOAD_PAIMS_TO_PIMS_DATASET_2.dtsx +++ b/etl/PAIMS_PIMS/PAIMS_PIMS/PAM_LOAD_PAIMS_TO_PIMS_DATASET_2.dtsx @@ -14,8 +14,8 @@ DTS:PackageType="5" DTS:ProtectionLevel="0" DTS:TransactionOption="0" - DTS:VersionBuild="1231" - DTS:VersionGUID="{2330F080-9883-4811-ACE6-936DFA597160}"> + DTS:VersionBuild="1275" + DTS:VersionGUID="{5D08EEAD-BCE0-4E96-A009-97BB085C8F98}"> 8 @@ -28,7 +28,7 @@ + DTS:ConnectionString="Data Source=lizzard.th.gov.bc.ca:20208/tst11;User ID=prisharm;Provider=OraOLEDB.Oracle.1;Persist Security Info=True;"> @@ -44,24 +44,20 @@ - - + DTS:ConnectionString="Data Source=sqldevtst.th.gov.bc.ca;Initial Catalog=PIMS_TST;Provider=SQLNCLI11.1;Integrated Security=SSPI;Auto Translate=False;Application Name=SSIS-Package2-{397DB851-677E-4A08-84AE-EE76A4654BC7}PIMS;" /> @@ -69,65 +65,43 @@ version="1"> + refId="Package\Load Interest Holder Addresses\Audit Trail (and capture interest holder id).Inputs[Derived Column Input].Columns[INTEREST_HOLDER_ID]" + cachedDataType="numeric" + cachedName="INTEREST_HOLDER_ID" + cachedPrecision="10" + lineageId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]" /> + synchronousInputId="Package\Load Interest Holder Addresses\Audit Trail (and capture interest holder id).Inputs[Derived Column Input]"> - - (DT_UI2)1 - (DT_UI2)1 - - - @@ -145,12 +119,12 @@ @@ -158,22 +132,22 @@ containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">(DT_WSTR,10)#{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} + name="Expression">(DT_WSTR,12)#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} (DT_WSTR,10)PAIMS_ACQUISITION_FILE_ID + name="FriendlyExpression">(DT_WSTR,12)INTEREST_HOLDER_ID @@ -191,12 +165,12 @@ @@ -204,21 +178,72 @@ containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"Acquisition_Addresses" + name="Expression">"place_holder" "Acquisition_Addresses" + name="FriendlyExpression">"place_holder" + + + + + + + + + + + + + + + + + + + + + @@ -226,36 +251,36 @@ containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">(DT_UI2)1 + name="Expression">(DT_I2)1 (DT_UI2)1 + name="FriendlyExpression">(DT_I2)1 + synchronousInputId="Package\Load Interest Holder Addresses\BC.Inputs[Derived Column Input]"> @@ -264,237 +289,229 @@ - - - - - - - - - + refId="Package\Load Interest Holder Addresses\Canada.Inputs[Derived Column Input]" + description="Input to the Derived Column Transformation" + name="Derived Column Input"> + name="Derived Column Output" + synchronousInputId="Package\Load Interest Holder Addresses\Canada.Inputs[Derived Column Input]"> - - #{Package\Load Acquisition Addresses\Expropriation_Agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_STREET_ADDRESS_1]} - false - - - - - #{Package\Load Acquisition Addresses\Expropriation_Agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_STREET_ADDRESS_2]} - false - - - #{Package\Load Acquisition Addresses\Expropriation_Agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_MUNICIPALITY_NAME]} - false - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">(DT_I2)1 #{Package\Load Acquisition Addresses\Expropriation_Agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_POSTAL_CODE]} - false + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">(DT_I2)1 + + + + + - - #{Package\Load Acquisition Addresses\Expropriation_Agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_PROVINCE]} - false - - + refId="Package\Load Interest Holder Addresses\Canada.Outputs[Derived Column Error Output].Columns[ErrorCode]" + dataType="i4" + lineageId="Package\Load Interest Holder Addresses\Canada.Outputs[Derived Column Error Output].Columns[ErrorCode]" + name="ErrorCode" + specialFlags="1" /> + refId="Package\Load Interest Holder Addresses\Canada.Outputs[Derived Column Error Output].Columns[ErrorColumn]" + dataType="i4" + lineageId="Package\Load Interest Holder Addresses\Canada.Outputs[Derived Column Error Output].Columns[ErrorColumn]" + name="ErrorColumn" + specialFlags="2" /> + + + + + + + + select * from [dbo].[PIMS_COUNTRY] + select * from (select * from [dbo].[PIMS_COUNTRY]) [refTable] +where [refTable].[DESCRIPTION] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="DISPLAY_ORDER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Interest Holder Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[UNICODE_COUNTRY]}; + 1252 + false + + + + + + + + #{Package\Load Acquisition Addresses\Expropriation_Agent.Outputs[OLE DB Source Output].Columns[PAIMS_ACQUISITION_FILE_ID]} + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">DESCRIPTION false + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> - + + + + + + + + #{Package\Load Acquisition Addresses\Expropriation_Agent.Outputs[OLE DB Source Output].Columns[REGION_CODE]} - false + dataType="System.String" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn">COUNTRY_ID + + + + name="Lookup Error Output" + synchronousInputId="Package\Load Interest Holder Addresses\COUNTRY_ID.Inputs[Lookup Input]"> @@ -503,85 +520,85 @@ - + cachedName="STREET_ADDRESS_1" + lineageId="Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_1]" /> + cachedName="STREET_ADDRESS_2" + lineageId="Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_2]" /> + cachedName="STREET_ADDRESS_3" + lineageId="Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_3]" /> + cachedLength="20" + cachedName="COUNTRY" + lineageId="Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[COUNTRY]" /> + cachedName="PROVINCE" + lineageId="Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[PROVINCE]" /> + refId="Package\Load Interest Holder Addresses\Data Conversion.Inputs[Data Conversion Input].Columns[POSTAL_CODE]" + cachedDataType="wstr" + cachedLength="6" + cachedName="POSTAL_CODE" + lineageId="Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[POSTAL_CODE]" /> + + synchronousInputId="Package\Load Interest Holder Addresses\Data Conversion.Inputs[Data Conversion Input]"> #{Package\Load Acquisition Addresses\Property Coordinator.Outputs[OLE DB Source Output].Columns[PAIMS_ACQUISITION_FILE_ID]} + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_1]} #{Package\Load Acquisition Addresses\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_STREET_ADDRESS_1]} + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_2]} #{Package\Load Acquisition Addresses\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_STREET_ADDRESS_2]} + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_3]} #{Package\Load Acquisition Addresses\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_MUNICIPALITY_NAME]} + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[COUNTRY]} #{Package\Load Acquisition Addresses\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_POSTAL_CODE]} + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[PROVINCE]} #{Package\Load Acquisition Addresses\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_PROVINCE]} + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[POSTAL_CODE]} #{Package\Load Acquisition Addresses\Property Coordinator.Outputs[OLE DB Source Output].Columns[REGION_CODE]} + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[MUNICIPALITY_NAME]} + synchronousInputId="Package\Load Interest Holder Addresses\Data Conversion.Inputs[Data Conversion Input]"> @@ -742,515 +759,7 @@ - - - - - - - - - - - - - - - - - - - - #{Package\Load Acquisition Addresses\Negotiating Agent.Outputs[OLE DB Source Output].Columns[PAIMS_ACQUISITION_FILE_ID]} - false - - - - - #{Package\Load Acquisition Addresses\Negotiating Agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_STREET_ADDRESS_1]} - false - - - - - #{Package\Load Acquisition Addresses\Negotiating Agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_STREET_ADDRESS_2]} - false - - - - - #{Package\Load Acquisition Addresses\Negotiating Agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_MUNICIPALITY_NAME]} - false - - - - - #{Package\Load Acquisition Addresses\Negotiating Agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_POSTAL_CODE]} - false - - - - - #{Package\Load Acquisition Addresses\Negotiating Agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_PROVINCE]} - false - - - - - #{Package\Load Acquisition Addresses\Negotiating Agent.Outputs[OLE DB Source Output].Columns[REGION_CODE]} - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Acquisition Addresses\Sort.Outputs[Sort Output].Columns[COUNTRY_ID]} - false - - - - - #{Package\Load Acquisition Addresses\Sort.Outputs[Sort Output].Columns[PROVINCE_STATE_ID]} - false - - - - - #{Package\Load Acquisition Addresses\Sort.Outputs[Sort Output].Columns[STREET_ADDRESS_1]} - false - - - - - #{Package\Load Acquisition Addresses\Sort.Outputs[Sort Output].Columns[MUNICIPALITY_NAME]} - false - - - - - #{Package\Load Acquisition Addresses\Sort.Outputs[Sort Output].Columns[POSTAL_CODE]} - false - - - - - #{Package\Load Acquisition Addresses\Sort.Outputs[Sort Output].Columns[REGION_CODE]} - false - - - - - #{Package\Load Acquisition Addresses\Sort.Outputs[Sort Output].Columns[PAIMS_ACQUISITION_FILE_ID]} - false - - - - - #{Package\Load Acquisition Addresses\Sort.Outputs[Sort Output].Columns[STREET_ADDRESS_2]} - false - - - - - - - - - - - - - - - + lineageId="Package\Load Interest Holder Addresses\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]" /> + lineageId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]" /> + lineageId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]" /> + synchronousInputId="Package\Load Interest Holder Addresses\Derived Column 1 1 1.Inputs[Derived Column Input]"> @@ -1319,12 +824,12 @@ @@ -1332,22 +837,22 @@ containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"Load Acquisition Addresses" + name="Expression">"Load Interest Holder Addresses" "Load Acquisition Addresses" + name="FriendlyExpression">"Load Interest Holder Addresses" @@ -1365,12 +870,12 @@ @@ -1388,12 +893,12 @@ @@ -1401,36 +906,36 @@ containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"STREET ADDRESS 1: " + #{Package\Load Acquisition Addresses\Sort.Outputs[Sort Output].Columns[STREET_ADDRESS_1]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Acquisition Addresses\Sort.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]} + "STREET_ADDRESS_2 " + #{Package\Load Acquisition Addresses\Sort.Outputs[Sort Output].Columns[STREET_ADDRESS_2]} + name="Expression">"STREET ADDRESS 1: " + #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} + "STREET_ADDRESS_2 " + #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} + " APP_CREATE_USER_DIRECTORY (INTEREST_HOLDER_ID): " + #{Package\Load Interest Holder Addresses\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} "STREET ADDRESS 1: " + STREET_ADDRESS_1 + " APP_CREATE_USER_DIRECTORY: " + APP_CREATE_USER_DIRECTORY + "STREET_ADDRESS_2 " + STREET_ADDRESS_2 + name="FriendlyExpression">"STREET ADDRESS 1: " + STREET_ADDRESS_1 + "STREET_ADDRESS_2 " + STREET_ADDRESS_2 + " APP_CREATE_USER_DIRECTORY (INTEREST_HOLDER_ID): " + APP_CREATE_USER_DIRECTORY + synchronousInputId="Package\Load Interest Holder Addresses\Derived Column 1 1 1.Inputs[Derived Column Input]"> @@ -1439,7 +944,7 @@ + lineageId="Package\Load Interest Holder Addresses\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]" /> + lineageId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]" /> + lineageId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]" /> + synchronousInputId="Package\Load Interest Holder Addresses\Derived Column 1 1 1 1.Inputs[Derived Column Input]"> @@ -1508,12 +1009,12 @@ @@ -1521,22 +1022,22 @@ containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"Load Acquisition Addresses" + name="Expression">"Load Interest Holder Addresses" "Load Acquisition Addresses" + name="FriendlyExpression">"Load Interest Holder Addresses" @@ -1554,12 +1055,12 @@ @@ -1577,12 +1078,12 @@ @@ -1590,36 +1091,36 @@ containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"STREET ADDRESS 1: " + #{Package\Load Acquisition Addresses\Sort.Outputs[Sort Output].Columns[STREET_ADDRESS_1]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Acquisition Addresses\Sort.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]} + "STREET_ADDRESS_2 " + #{Package\Load Acquisition Addresses\Sort.Outputs[Sort Output].Columns[STREET_ADDRESS_2]} + name="Expression">"STREET ADDRESS 1: " + #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} + "STREET_ADDRESS_2 " + #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} + " APP_CREATE_USER_DIRECTORY (INTEREST_HOLDER_ID): " + #{Package\Load Interest Holder Addresses\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} "STREET ADDRESS 1: " + STREET_ADDRESS_1 + " APP_CREATE_USER_DIRECTORY: " + APP_CREATE_USER_DIRECTORY + "STREET_ADDRESS_2 " + STREET_ADDRESS_2 + name="FriendlyExpression">"STREET ADDRESS 1: " + STREET_ADDRESS_1 + "STREET_ADDRESS_2 " + STREET_ADDRESS_2 + " APP_CREATE_USER_DIRECTORY (INTEREST_HOLDER_ID): " + APP_CREATE_USER_DIRECTORY + synchronousInputId="Package\Load Interest Holder Addresses\Derived Column 1 1 1 1.Inputs[Derived Column Input]"> @@ -1628,7 +1129,7 @@ + externalMetadataColumnId="Package\Load Interest Holder Addresses\ETL Error Log 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TIME]" + lineageId="Package\Load Interest Holder Addresses\Derived Column 1 1 1.Outputs[Derived Column Output].Columns[ERROR_TIME]" /> + externalMetadataColumnId="Package\Load Interest Holder Addresses\ETL Error Log 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_OPERATION_NAME]" + lineageId="Package\Load Interest Holder Addresses\Derived Column 1 1 1.Outputs[Derived Column Output].Columns[ERROR_OPERATION_NAME]" /> + externalMetadataColumnId="Package\Load Interest Holder Addresses\ETL Error Log 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TASK_NAME]" + lineageId="Package\Load Interest Holder Addresses\Derived Column 1 1 1.Outputs[Derived Column Output].Columns[ERROR_TASK_NAME]" /> + externalMetadataColumnId="Package\Load Interest Holder Addresses\ETL Error Log 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ETL_NAME]" + lineageId="Package\Load Interest Holder Addresses\Derived Column 1 1 1.Outputs[Derived Column Output].Columns[ERROR_ETL_NAME]" /> + externalMetadataColumnId="Package\Load Interest Holder Addresses\ETL Error Log 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ROW]" + lineageId="Package\Load Interest Holder Addresses\Derived Column 1 1 1.Outputs[Derived Column Output].Columns[ERROR_ROW]" /> + externalMetadataColumnId="Package\Load Interest Holder Addresses\ETL Error Log 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_CODE]" + lineageId="Package\Load Interest Holder Addresses\Insert PIMS_ADDRESS.Outputs[OLE DB Destination Error Output].Columns[ErrorCode]" /> + externalMetadataColumnId="Package\Load Interest Holder Addresses\ETL Error Log 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_COLUMN]" + lineageId="Package\Load Interest Holder Addresses\Insert PIMS_ADDRESS.Outputs[OLE DB Destination Error Output].Columns[ErrorColumn]" /> @@ -1784,22 +1285,22 @@ + synchronousInputId="Package\Load Interest Holder Addresses\ETL Error Log 1.Inputs[OLE DB Destination Input]"> @@ -1808,7 +1309,7 @@ + externalMetadataColumnId="Package\Load Interest Holder Addresses\ETL Error Log 1 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TIME]" + lineageId="Package\Load Interest Holder Addresses\Derived Column 1 1 1 1.Outputs[Derived Column Output].Columns[ERROR_TIME]" /> + externalMetadataColumnId="Package\Load Interest Holder Addresses\ETL Error Log 1 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_OPERATION_NAME]" + lineageId="Package\Load Interest Holder Addresses\Derived Column 1 1 1 1.Outputs[Derived Column Output].Columns[ERROR_OPERATION_NAME]" /> - + + externalMetadataColumnId="Package\Load Interest Holder Addresses\ETL Error Log 1 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ETL_NAME]" + lineageId="Package\Load Interest Holder Addresses\Derived Column 1 1 1 1.Outputs[Derived Column Output].Columns[ERROR_ETL_NAME]" /> + externalMetadataColumnId="Package\Load Interest Holder Addresses\ETL Error Log 1 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ROW]" + lineageId="Package\Load Interest Holder Addresses\Derived Column 1 1 1 1.Outputs[Derived Column Output].Columns[ERROR_ROW]" /> + externalMetadataColumnId="Package\Load Interest Holder Addresses\ETL Error Log 1 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_CODE]" + lineageId="Package\Load Interest Holder Addresses\Update PIMS ADDRESS.Outputs[OLE DB Command Error Output].Columns[ErrorCode]" /> + externalMetadataColumnId="Package\Load Interest Holder Addresses\ETL Error Log 1 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_COLUMN]" + lineageId="Package\Load Interest Holder Addresses\Update PIMS ADDRESS.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]" /> @@ -1964,22 +1465,22 @@ + synchronousInputId="Package\Load Interest Holder Addresses\ETL Error Log 1 1.Inputs[OLE DB Destination Input]"> @@ -1988,247 +1489,257 @@ + version="6"> - 0 + description="Specifies the SQL statement that generates the lookup table." + expressionType="Notify" + name="SqlCommand" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_ADDRESS] + description="Specifies a SQL statement that uses parameters to generate the lookup table." + expressionType="Notify" + name="SqlCommandParam" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_ADDRESS]) [refTable] +where [refTable].[STREET_ADDRESS_1] = ? and [refTable].[STREET_ADDRESS_2] = ? and [refTable].[STREET_ADDRESS_3] = ? and [refTable].[POSTAL_CODE] = ? and [refTable].[MUNICIPALITY_NAME] = ? and [refTable].[COUNTRY_ID] = ? and [refTable].[PROVINCE_STATE_ID] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? + 0 + 0 + 1 + 0 + 25 + 25 SELECT cast( acq.AGENT_ASSIGNMENT_ID as int) AS PAIMS_ACQUISITION_FILE_ID - , CAST(acq.REGION_NO as VARCHAR(10)) AS REGION_CODE - , cast(exp.ADDRESS_LINE_1 as varchar(20)) AS EXP_AGT_STREET_ADDRESS_1 - , cast(exp.ADDRESS_LINE_2 as varchar(20)) AS EXP_AGT_STREET_ADDRESS_2 - , cast(exp.CITY as varchar(20)) AS EXP_AGT_MUNICIPALITY_NAME - , cast(exp.POSTAL_CODE as varchar(6)) AS EXP_AGT_POSTAL_CODE - , cast(exp.PROVINCE as varchar(2)) AS EXP_AGT_PROVINCE -FROM PAM_AGENT_ASSIGNMENT acq JOIN - PAM_PROPERTY_EMPLOYEE prp ON prp.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID JOIN - PAM_SUB_PROJECT sub ON sub.SUB_PROJECT_ID = acq.SUB_PROJECT_ID LEFT OUTER JOIN - HWY_MINISTRY_PROJECT prj ON prj.MINISTRY_PROJECT_ID = sub.MINISTRY_PROJECT_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE cor ON cor.PROPERTY_EMPLOYEE_ID = acq.COORD_PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE neg ON neg.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE exp ON exp.PROPERTY_EMPLOYEE_ID = acq.EXPR_PROPERTY_EMPLOYEE_ID + description="Indicates whether to reference metadata in an XML format." + name="ReferenceMetadataXml"><referenceMetadata><referenceColumns><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_1" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_2" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_3" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPALITY_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="POSTAL_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="OTHER_COUNTRY" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="LATITUDE" dataType="DT_NUMERIC" length="0" precision="8" scale="6" codePage="0"/><referenceColumn name="LONGITUDE" dataType="DT_NUMERIC" length="0" precision="9" scale="6" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + description="Specifies the list of lineage identifiers that map to the parameters that the SQL statement in the SQLCommand property uses. Entries in the list are separated by semicolons." + name="ParameterMap">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_1]};#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_2]};#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_3]};#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_POSTAL_CODE]};#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_MUNICIPALITY_NAME]};#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]};#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]};#{Package\Load Interest Holder Addresses\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]}; 1252 false - 2 - + description="Determines whether duplicate keys in the reference data should be treated as errors when full cache mode is used." + name="TreatDuplicateKeysAsError">false + + + + + + APP_CREATE_USER_DIRECTORY + + + + + + STREET_ADDRESS_1 + + + + + + STREET_ADDRESS_2 + + + + + + STREET_ADDRESS_3 + + + + + + POSTAL_CODE + + + + + + MUNICIPALITY_NAME + + + + + + COUNTRY_ID + + + + + + PROVINCE_STATE_ID + + + + + + + - - - - - - - - - - - - - - - - - - + refId="Package\Load Interest Holder Addresses\Existing PIMS_ADDRESS records.Outputs[Lookup Match Output]" + errorOrTruncationOperation="Lookup" + exclusionGroup="1" + name="Lookup Match Output" + synchronousInputId="Package\Load Interest Holder Addresses\Existing PIMS_ADDRESS records.Inputs[Lookup Input]"> + + + + + name="Lookup Error Output" + synchronousInputId="Package\Load Interest Holder Addresses\Existing PIMS_ADDRESS records.Inputs[Lookup Input]"> - - - - - - - @@ -2237,7 +1748,7 @@ FROM PAM_AGENT_ASSIGNMENT acq + name="FastLoadOptions">TABLOCK,CHECK_CONSTRAINTS + externalMetadataColumnId="Package\Load Interest Holder Addresses\Insert PIMS_ADDRESS.Inputs[OLE DB Destination Input].ExternalColumns[COUNTRY_ID]" + lineageId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]" /> + + externalMetadataColumnId="Package\Load Interest Holder Addresses\Insert PIMS_ADDRESS.Inputs[OLE DB Destination Input].ExternalColumns[APP_CREATE_USERID]" + lineageId="Package\Load Interest Holder Addresses\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USERID]" /> + + externalMetadataColumnId="Package\Load Interest Holder Addresses\Insert PIMS_ADDRESS.Inputs[OLE DB Destination Input].ExternalColumns[APP_LAST_UPDATE_USERID]" + lineageId="Package\Load Interest Holder Addresses\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USERID]" /> - - + externalMetadataColumnId="Package\Load Interest Holder Addresses\Insert PIMS_ADDRESS.Inputs[OLE DB Destination Input].ExternalColumns[APP_LAST_UPDATE_USER_DIRECTORY]" + lineageId="Package\Load Interest Holder Addresses\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]" /> + cachedLength="50" + cachedName="UNICODE_STREET_ADDRESS_1" + externalMetadataColumnId="Package\Load Interest Holder Addresses\Insert PIMS_ADDRESS.Inputs[OLE DB Destination Input].ExternalColumns[STREET_ADDRESS_1]" + lineageId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_1]" /> + cachedName="UNICODE_STREET_ADDRESS_2" + externalMetadataColumnId="Package\Load Interest Holder Addresses\Insert PIMS_ADDRESS.Inputs[OLE DB Destination Input].ExternalColumns[STREET_ADDRESS_2]" + lineageId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_2]" /> + cachedName="UNICODE_STREET_ADDRESS_3" + externalMetadataColumnId="Package\Load Interest Holder Addresses\Insert PIMS_ADDRESS.Inputs[OLE DB Destination Input].ExternalColumns[STREET_ADDRESS_3]" + lineageId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_3]" /> + cachedName="UNICODE_MUNICIPALITY_NAME" + externalMetadataColumnId="Package\Load Interest Holder Addresses\Insert PIMS_ADDRESS.Inputs[OLE DB Destination Input].ExternalColumns[MUNICIPALITY_NAME]" + lineageId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_MUNICIPALITY_NAME]" /> + cachedLength="20" + cachedName="UNICODE_POSTAL_CODE" + externalMetadataColumnId="Package\Load Interest Holder Addresses\Insert PIMS_ADDRESS.Inputs[OLE DB Destination Input].ExternalColumns[POSTAL_CODE]" + lineageId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_POSTAL_CODE]" /> - - + + + synchronousInputId="Package\Load Interest Holder Addresses\Insert PIMS_ADDRESS.Inputs[OLE DB Destination Input]"> @@ -2547,37 +2051,368 @@ FROM PAM_AGENT_ASSIGNMENT acq + validateExternalMetadata="False" + version="7"> + 0 select * from [dbo].[PIMS_ADDRESS] + description="Specifies the name of the database object used to open a rowset." + name="OpenRowset">"APP_PAM"."PAM_INTEREST_HOLDER" select * from (select * from [dbo].[PIMS_ADDRESS]) [refTable] -where [refTable].[COUNTRY_ID] = ? and [refTable].[PROVINCE_STATE_ID] = ? and [refTable].[STREET_ADDRESS_1] = ? and [refTable].[MUNICIPALITY_NAME] = ? and [refTable].[POSTAL_CODE] = ? and [refTable].[REGION_CODE] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[STREET_ADDRESS_2] = ? + description="Specifies the variable that contains the name of the database object used to open a rowset." + name="OpenRowsetVariable"> 0 + dataType="System.String" + description="The SQL command to be executed." + name="SqlCommand" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from app_pam.pam_interest_holder where interest_holder_id=570 0 + dataType="System.String" + description="The variable that contains the SQL command to be executed." + name="SqlCommandVariable"> + 1252 + true + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_ADDRESS] + select * from (select * from [dbo].[PIMS_ADDRESS]) [refTable] +where [refTable].[STREET_ADDRESS_1] = ? and [refTable].[STREET_ADDRESS_2] = ? and [refTable].[STREET_ADDRESS_3] = ? and [refTable].[MUNICIPALITY_NAME] = ? and [refTable].[POSTAL_CODE] = ? and [refTable].[COUNTRY_ID] = ? and [refTable].[PROVINCE_STATE_ID] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? + 0 + 0 #{Package\Load Acquisition Addresses\Datatype conversion.Outputs[Data Conversion Output].Columns[Copy of COUNTRY_ID]};#{Package\Load Acquisition Addresses\Datatype conversion.Outputs[Data Conversion Output].Columns[Copy of PROVINCE_STATE_ID]};#{Package\Load Acquisition Addresses\Datatype conversion.Outputs[Data Conversion Output].Columns[Copy of STREET_ADDRESS_1]};#{Package\Load Acquisition Addresses\Datatype conversion.Outputs[Data Conversion Output].Columns[Copy of MUNICIPALITY_NAME]};#{Package\Load Acquisition Addresses\Datatype conversion.Outputs[Data Conversion Output].Columns[Copy of POSTAL_CODE]};#{Package\Load Acquisition Addresses\Datatype conversion.Outputs[Data Conversion Output].Columns[Copy of REGION_CODE]};#{Package\Load Acquisition Addresses\Datatype conversion.Outputs[Data Conversion Output].Columns[Copy of PAIMS_ACQUISITION_FILE_ID]};#{Package\Load Acquisition Addresses\Datatype conversion.Outputs[Data Conversion Output].Columns[Copy of STREET_ADDRESS_2]}; + name="ParameterMap">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]};#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]};#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_3]};#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]};#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[POSTAL_CODE]};#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]};#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]};#{Package\Load Interest Holder Addresses\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]}; + refId="Package\Load Interest Holder Addresses\PIMS_ADDRESS records to be updated.Inputs[Lookup Input].Columns[STREET_ADDRESS_1]" + cachedDataType="wstr" + cachedLength="40" + cachedName="STREET_ADDRESS_1" + lineageId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]"> COUNTRY_ID + name="JoinToReferenceColumn">STREET_ADDRESS_1 + refId="Package\Load Interest Holder Addresses\PIMS_ADDRESS records to be updated.Inputs[Lookup Input].Columns[STREET_ADDRESS_2]" + cachedDataType="wstr" + cachedLength="40" + cachedName="STREET_ADDRESS_2" + lineageId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]"> PROVINCE_STATE_ID + name="JoinToReferenceColumn">STREET_ADDRESS_2 + cachedLength="40" + cachedName="STREET_ADDRESS_3" + lineageId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_3]"> STREET_ADDRESS_1 + name="JoinToReferenceColumn">STREET_ADDRESS_3 + cachedLength="40" + cachedName="MUNICIPALITY_NAME" + lineageId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]"> + cachedLength="6" + cachedName="POSTAL_CODE" + lineageId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[POSTAL_CODE]"> + refId="Package\Load Interest Holder Addresses\PIMS_ADDRESS records to be updated.Inputs[Lookup Input].Columns[COUNTRY_ID]" + cachedDataType="i2" + cachedName="COUNTRY_ID" + lineageId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]"> APP_CREATE_USER_DIRECTORY + name="JoinToReferenceColumn">COUNTRY_ID + refId="Package\Load Interest Holder Addresses\PIMS_ADDRESS records to be updated.Inputs[Lookup Input].Columns[PROVINCE_STATE_ID]" + cachedDataType="i2" + cachedName="PROVINCE_STATE_ID" + lineageId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]"> STREET_ADDRESS_2 + name="JoinToReferenceColumn">PROVINCE_STATE_ID + refId="Package\Load Interest Holder Addresses\PIMS_ADDRESS records to be updated.Inputs[Lookup Input].Columns[APP_CREATE_USER_DIRECTORY]" + cachedDataType="wstr" + cachedLength="12" + cachedName="APP_CREATE_USER_DIRECTORY" + lineageId="Package\Load Interest Holder Addresses\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]"> REGION_CODE + name="JoinToReferenceColumn">APP_CREATE_USER_DIRECTORY + synchronousInputId="Package\Load Interest Holder Addresses\PIMS_ADDRESS records to be updated.Inputs[Lookup Input]"> + synchronousInputId="Package\Load Interest Holder Addresses\PIMS_ADDRESS records to be updated.Inputs[Lookup Input]"> + synchronousInputId="Package\Load Interest Holder Addresses\PIMS_ADDRESS records to be updated.Inputs[Lookup Input]"> @@ -2805,11 +2641,11 @@ where [refTable].[COUNTRY_ID] = ? and [refTable].[PROVINCE_STATE_ID] = ? and [re @@ -2818,14 +2654,14 @@ where [refTable].[COUNTRY_ID] = ? and [refTable].[PROVINCE_STATE_ID] = ? and [re description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_ADDRESS] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PROVINCE_STATE] select * from (select * from [dbo].[PIMS_ADDRESS]) [refTable] -where [refTable].[COUNTRY_ID] = ? and [refTable].[PROVINCE_STATE_ID] = ? and [refTable].[STREET_ADDRESS_1] = ? and [refTable].[MUNICIPALITY_NAME] = ? and [refTable].[POSTAL_CODE] = ? and [refTable].[REGION_CODE] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[STREET_ADDRESS_2] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_PROVINCE_STATE]) [refTable] +where [refTable].[PROVINCE_STATE_CODE] = ? <referenceMetadata><referenceColumns><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_1" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_2" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_3" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPALITY_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="POSTAL_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="OTHER_COUNTRY" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="LATITUDE" dataType="DT_NUMERIC" length="0" precision="8" scale="6" codePage="0"/><referenceColumn name="LONGITUDE" dataType="DT_NUMERIC" length="0" precision="9" scale="6" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + name="ReferenceMetadataXml"><referenceMetadata><referenceColumns><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISPLAY_ORDER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> #{Package\Load Acquisition Addresses\Datatype conversion.Outputs[Data Conversion Output].Columns[Copy of COUNTRY_ID]};#{Package\Load Acquisition Addresses\Datatype conversion.Outputs[Data Conversion Output].Columns[Copy of PROVINCE_STATE_ID]};#{Package\Load Acquisition Addresses\Datatype conversion.Outputs[Data Conversion Output].Columns[Copy of STREET_ADDRESS_1]};#{Package\Load Acquisition Addresses\Datatype conversion.Outputs[Data Conversion Output].Columns[Copy of MUNICIPALITY_NAME]};#{Package\Load Acquisition Addresses\Datatype conversion.Outputs[Data Conversion Output].Columns[Copy of POSTAL_CODE]};#{Package\Load Acquisition Addresses\Datatype conversion.Outputs[Data Conversion Output].Columns[Copy of REGION_CODE]};#{Package\Load Acquisition Addresses\Datatype conversion.Outputs[Data Conversion Output].Columns[Copy of PAIMS_ACQUISITION_FILE_ID]};#{Package\Load Acquisition Addresses\Datatype conversion.Outputs[Data Conversion Output].Columns[Copy of STREET_ADDRESS_2]}; + name="ParameterMap">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]}; + refId="Package\Load Interest Holder Addresses\PROVINCE_STATE_ID.Inputs[Lookup Input].Columns[UNICODE_PROVINCE]" + cachedDataType="wstr" + cachedLength="50" + cachedName="UNICODE_PROVINCE" + lineageId="Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]"> COUNTRY_ID + name="JoinToReferenceColumn">PROVINCE_STATE_CODE - + + + + + + + + PROVINCE_STATE_ID - + name="CopyFromReferenceColumn">PROVINCE_STATE_ID - + + + + + + + + + + + + + + + + + + + + + cachedLength="40" + cachedName="STREET_ADDRESS_1" + lineageId="Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_1]"> STREET_ADDRESS_1 - + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} + cachedLength="40" + cachedName="STREET_ADDRESS_2" + lineageId="Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_2]"> MUNICIPALITY_NAME - + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} + cachedLength="40" + cachedName="STREET_ADDRESS_3" + lineageId="Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_3]"> POSTAL_CODE - + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_3]} + refId="Package\Load Interest Holder Addresses\Union All.Inputs[Union All Input 1].Columns[MUNICIPALITY_NAME]" + cachedDataType="wstr" + cachedLength="40" + cachedName="MUNICIPALITY_NAME" + lineageId="Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[MUNICIPALITY_NAME]"> REGION_CODE - + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + cachedLength="2" + cachedName="PROVINCE" + lineageId="Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[PROVINCE]"> APP_CREATE_USER_DIRECTORY - + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[PROVINCE]} + cachedLength="20" + cachedName="COUNTRY" + lineageId="Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[COUNTRY]"> STREET_ADDRESS_2 - + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[COUNTRY]} - - - - - - - - - - - - - - - - - - - - - - - 0 - - - SELECT acq.AGENT_ASSIGNMENT_ID AS PAIMS_ACQUISITION_FILE_ID - , acq.REGION_NO AS REGION_CODE - , neg.REGION_NO AS NEG_AGT_PERSON_REGION - , neg.ADDRESS_LINE_1 AS NEG_AGT_STREET_ADDRESS_1 - , neg.ADDRESS_LINE_2 AS NEG_AGT_STREET_ADDRESS_2 - , neg.CITY AS NEG_AGT_MUNICIPALITY_NAME - , neg.POSTAL_CODE AS NEG_AGT_POSTAL_CODE - , neg.PROVINCE AS NEG_AGT_PROVINCE -FROM PAM_AGENT_ASSIGNMENT acq JOIN - PAM_PROPERTY_EMPLOYEE prp ON prp.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID JOIN - PAM_SUB_PROJECT sub ON sub.SUB_PROJECT_ID = acq.SUB_PROJECT_ID LEFT OUTER JOIN - HWY_MINISTRY_PROJECT prj ON prj.MINISTRY_PROJECT_ID = sub.MINISTRY_PROJECT_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE cor ON cor.PROPERTY_EMPLOYEE_ID = acq.COORD_PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE neg ON neg.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE exp ON exp.PROPERTY_EMPLOYEE_ID = acq.EXPR_PROPERTY_EMPLOYEE_ID - - 1252 - false - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - SELECT acq.AGENT_ASSIGNMENT_ID AS PAIMS_ACQUISITION_FILE_ID - , acq.REGION_NO AS REGION_CODE - , cor.ADDRESS_LINE_1 AS PROP_COORD_STREET_ADDRESS_1 - , cor.ADDRESS_LINE_2 AS PROP_COORD_STREET_ADDRESS_2 - , cor.CITY AS PROP_COORD_MUNICIPALITY_NAME - , cor.POSTAL_CODE AS PROP_COORD_POSTAL_CODE - , cor.PROVINCE AS PROP_COORD_PROVINCE -FROM PAM_AGENT_ASSIGNMENT acq JOIN - PAM_PROPERTY_EMPLOYEE prp ON prp.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID JOIN - PAM_SUB_PROJECT sub ON sub.SUB_PROJECT_ID = acq.SUB_PROJECT_ID LEFT OUTER JOIN - HWY_MINISTRY_PROJECT prj ON prj.MINISTRY_PROJECT_ID = sub.MINISTRY_PROJECT_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE cor ON cor.PROPERTY_EMPLOYEE_ID = acq.COORD_PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE neg ON neg.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE exp ON exp.PROPERTY_EMPLOYEE_ID = acq.EXPR_PROPERTY_EMPLOYEE_ID - - 1252 - false - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - -1 - - - - + refId="Package\Load Interest Holder Addresses\Union All.Inputs[Union All Input 1].Columns[POSTAL_CODE]" + cachedDataType="wstr" + cachedLength="6" + cachedName="POSTAL_CODE" + lineageId="Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[POSTAL_CODE]"> 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[POSTAL_CODE]} + + + + 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + cachedLength="50" + cachedName="UNICODE_STREET_ADDRESS_1" + lineageId="Package\Load Interest Holder Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[UNICODE_STREET_ADDRESS_1]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_1]} + cachedLength="50" + cachedName="UNICODE_STREET_ADDRESS_2" + lineageId="Package\Load Interest Holder Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[UNICODE_STREET_ADDRESS_2]"> 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 1 - 1 - - - - - 1 - 2 - - - - - 0 - 3 - - - - - 0 - 4 - - - - - 0 - 5 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_2]} - - 0 - 7 - - - - - 0 - 6 - - - - - - - - - - - - #{Package\Load Acquisition Addresses\Audit Trail.Outputs[Derived Column Output].Columns[COUNTRY_ID]} - - - - - #{Package\Load Acquisition Addresses\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]} - - - - - #{Package\Load Acquisition Addresses\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} - - - - - #{Package\Load Acquisition Addresses\Audit Trail.Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USERID]} - - - - - #{Package\Load Acquisition Addresses\Audit Trail.Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]} - - - - - #{Package\Load Acquisition Addresses\Audit Trail.Outputs[Derived Column Output].Columns[PROVINCE_STATE_ID]} - - - - - #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} - - - - - #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} - - - - - #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[POSTAL_CODE]} - - - - - #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[PROVINCE]} - - - - - #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} - - - + cachedName="UNICODE_STREET_ADDRESS_3" + lineageId="Package\Load Interest Holder Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[UNICODE_STREET_ADDRESS_3]"> #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[REGION_CODE]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_3]} - - - - - - - - - - + + cachedName="UNICODE_COUNTRY" + lineageId="Package\Load Interest Holder Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[UNICODE_COUNTRY]"> #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_COUNTRY]} + cachedName="UNICODE_PROVINCE" + lineageId="Package\Load Interest Holder Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[UNICODE_PROVINCE]"> #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]} + cachedLength="20" + cachedName="UNICODE_POSTAL_CODE" + lineageId="Package\Load Interest Holder Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[UNICODE_POSTAL_CODE]"> #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_POSTAL_CODE]} + cachedLength="50" + cachedName="UNICODE_MUNICIPALITY_NAME" + lineageId="Package\Load Interest Holder Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[UNICODE_MUNICIPALITY_NAME]"> #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[POSTAL_CODE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_MUNICIPALITY_NAME]} + refId="Package\Load Interest Holder Addresses\Union All.Inputs[Union All Input 1].Columns[COUNTRY_ID]" + cachedDataType="i2" + cachedName="COUNTRY_ID" + lineageId="Package\Load Interest Holder Addresses\COUNTRY_ID.Outputs[Lookup Match Output].Columns[COUNTRY_ID]"> #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[PROVINCE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[COUNTRY_ID]} + + + + + + cachedLength="40" + cachedName="STREET_ADDRESS_1" + lineageId="Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_1]"> #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} + cachedLength="40" + cachedName="STREET_ADDRESS_2" + lineageId="Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_2]"> #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[REGION_CODE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} - - - - - + cachedLength="40" + cachedName="STREET_ADDRESS_3" + lineageId="Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_3]"> #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_3]} + cachedLength="40" + cachedName="MUNICIPALITY_NAME" + lineageId="Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[MUNICIPALITY_NAME]"> #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[REGION_CODE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + cachedName="PROVINCE" + lineageId="Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[PROVINCE]"> #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[PROVINCE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[PROVINCE]} + cachedLength="20" + cachedName="COUNTRY" + lineageId="Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[COUNTRY]"> #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[POSTAL_CODE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[COUNTRY]} + cachedLength="6" + cachedName="POSTAL_CODE" + lineageId="Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[POSTAL_CODE]"> #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[POSTAL_CODE]} + refId="Package\Load Interest Holder Addresses\Union All.Inputs[Union All Input 2].Columns[INTEREST_HOLDER_ID]" + cachedDataType="numeric" + cachedName="INTEREST_HOLDER_ID" + cachedPrecision="10" + lineageId="Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[INTEREST_HOLDER_ID]"> #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + cachedName="UNICODE_STREET_ADDRESS_1" + lineageId="Package\Load Interest Holder Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[UNICODE_STREET_ADDRESS_1]"> #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_1]} - - - - - + cachedName="UNICODE_STREET_ADDRESS_2" + lineageId="Package\Load Interest Holder Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[UNICODE_STREET_ADDRESS_2]"> #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_2]} + cachedLength="50" + cachedName="UNICODE_STREET_ADDRESS_3" + lineageId="Package\Load Interest Holder Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[UNICODE_STREET_ADDRESS_3]"> #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[REGION_CODE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_3]} + cachedLength="50" + cachedName="UNICODE_COUNTRY" + lineageId="Package\Load Interest Holder Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[UNICODE_COUNTRY]"> #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[PROVINCE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_COUNTRY]} + cachedLength="50" + cachedName="UNICODE_PROVINCE" + lineageId="Package\Load Interest Holder Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[UNICODE_PROVINCE]"> #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[POSTAL_CODE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]} + cachedLength="20" + cachedName="UNICODE_POSTAL_CODE" + lineageId="Package\Load Interest Holder Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[UNICODE_POSTAL_CODE]"> #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_POSTAL_CODE]} + cachedName="UNICODE_MUNICIPALITY_NAME" + lineageId="Package\Load Interest Holder Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[UNICODE_MUNICIPALITY_NAME]"> #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_MUNICIPALITY_NAME]} + refId="Package\Load Interest Holder Addresses\Union All.Inputs[Union All Input 2].Columns[COUNTRY_ID]" + cachedDataType="i2" + cachedName="COUNTRY_ID" + lineageId="Package\Load Interest Holder Addresses\Canada.Outputs[Derived Column Output].Columns[COUNTRY_ID]"> #{Package\Load Acquisition Addresses\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[COUNTRY_ID]} + name="Union All Input 3"> + length="40" + lineageId="Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_3]" + name="STREET_ADDRESS_3" /> + length="40" + lineageId="Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]" + name="MUNICIPALITY_NAME" /> + + + + lineageId="Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_1]" + name="UNICODE_STREET_ADDRESS_1" /> + length="50" + lineageId="Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_2]" + name="UNICODE_STREET_ADDRESS_2" /> + + + + + + - - 0 - Update PIMS_ADDRESS -set region_code=?, -province_state_id=?, -country_id=?, -street_address_1=?, -municipality_name=?, -STREET_ADDRESS_2=?, -POSTAL_CODE=? -where APP_CREATE_USER_DIRECTORY=? - 1252 - - - - + refId="Package\Load Interest Holder Addresses\Union All 1" + componentClassID="Microsoft.UnionAll" + contactInfo="Union All;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;1" + description="Combines rows from multiple data flows without sorting. For example, add rows back to a data flow after correction of errors. If sorting is important, we recommend using the Merge transformation." + name="Union All 1" + version="1"> + refId="Package\Load Interest Holder Addresses\Union All 1.Inputs[Union All Input 1]" + name="Union All Input 1"> - - - - + lineageId="Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]"> + + #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} + + - - - - - + lineageId="Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]"> 81 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} - - + + 81 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_3]} - - + + 81 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - + + 81 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]} - - + + 65 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY]} - - + + 65 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[POSTAL_CODE]} - - + + 65 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - + + 65 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_1]} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - + refId="Package\Load Interest Holder Addresses\Union All 1.Inputs[Union All Input 1].Columns[UNICODE_STREET_ADDRESS_2]" + cachedDataType="wstr" + cachedLength="50" + cachedName="UNICODE_STREET_ADDRESS_2" + lineageId="Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_2]"> "APP_PIMS_PROXY_ETL_EDIT" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_2]} + + + + "APP_PIMS_PROXY_ETL_EDIT" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_3]} - - + + (DT_WSTR,10)#{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_COUNTRY]} + + + + (DT_WSTR,10)PAIMS_ACQUISITION_FILE_ID + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]} - - + + "APP_PIMS_PROXY_ETL_EDIT" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_POSTAL_CODE]} + + + + "APP_PIMS_PROXY_ETL_EDIT" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_MUNICIPALITY_NAME]} - - + + "ACQUISITION_CONTACT_METHOD" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]} + + + + "ACQUISITION_CONTACT_METHOD" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]} - - + + - - - - - - - - - - - - + + refId="Package\Load Interest Holder Addresses\Union All 1.Inputs[Union All Input 2]" + hasSideEffects="true" + name="Union All Input 2"> - - - - - - - - + cachedName="STREET_ADDRESS_1" + lineageId="Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]"> "FAX" - "FAX" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} - - + + ([FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG AGENT - FAX.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1) == 0) ? [TRIM](#{Package\Load Acquisition Contact Method\NEG AGENT - FAX.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG AGENT - FAX.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG AGENT - FAX.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1))) + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} + + + + (FINDSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME)," ",1) == 0) ? TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME) : (SUBSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME),1,FINDSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME)," ",1))) + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_3]} - - + + ([FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG AGENT - FAX.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG AGENT - FAX.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG AGENT - FAX.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1) + 1,[LEN](#{Package\Load Acquisition Contact Method\NEG AGENT - FAX.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG AGENT - FAX.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG AGENT - FAX.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]})," ",2) + 1,[LEN](#{Package\Load Acquisition Contact Method\NEG AGENT - FAX.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}))) + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + + + (FINDSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME)," ",2) == 0) ? (SUBSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME)," ",1) + 1,LEN(NEG_AGT_PERSON_FIRST_NAME_SURNAME))) : (SUBSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME)," ",2) + 1,LEN(NEG_AGT_PERSON_FIRST_NAME_SURNAME))) + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]} - - - - - - - - - - - - - - - - - + - - - - - - - - + cachedLength="20" + cachedName="COUNTRY" + lineageId="Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[COUNTRY]"> "FAX" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY]} + + + + "FAX" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[POSTAL_CODE]} - - + + ([FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - FAX.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]})," ",1) == 0) ? [TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - FAX.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - FAX.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - FAX.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]})," ",1))) + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + + + + (FINDSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME)," ",1) == 0) ? TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME) : (SUBSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME),1,FINDSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME)," ",1))) + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_1]} - - + + ([FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - FAX.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - FAX.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - FAX.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]})," ",1) + 1,[LEN](#{Package\Load Acquisition Contact Method\PROP COOR - FAX.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - FAX.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - FAX.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]})," ",2) + 1,[LEN](#{Package\Load Acquisition Contact Method\PROP COOR - FAX.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}))) + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_2]} + + + + (FINDSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME)," ",2) == 0) ? (SUBSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME)," ",1) + 1,LEN(PROP_COORD_PERSON_FIRST_NAME_SURNAME))) : (SUBSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME)," ",2) + 1,LEN(PROP_COORD_PERSON_FIRST_NAME_SURNAME))) + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_3]} - - - - - - - - - - - - - - - - - + - - - - - - - - + cachedLength="50" + cachedName="UNICODE_COUNTRY" + lineageId="Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_COUNTRY]"> "WORKEMAIL" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_COUNTRY]} + + + + "WORKEMAIL" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]} - - + + ([FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG AGENT - EMAIL.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1) == 0) ? [TRIM](#{Package\Load Acquisition Contact Method\NEG AGENT - EMAIL.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG AGENT - EMAIL.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG AGENT - EMAIL.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1))) + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_POSTAL_CODE]} + + + + (FINDSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME)," ",1) == 0) ? TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME) : (SUBSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME),1,FINDSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME)," ",1))) + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_MUNICIPALITY_NAME]} - - + + ([FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG AGENT - EMAIL.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG AGENT - EMAIL.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG AGENT - EMAIL.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1) + 1,[LEN](#{Package\Load Acquisition Contact Method\NEG AGENT - EMAIL.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG AGENT - EMAIL.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG AGENT - EMAIL.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]})," ",2) + 1,[LEN](#{Package\Load Acquisition Contact Method\NEG AGENT - EMAIL.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}))) + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]} + + + + (FINDSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME)," ",2) == 0) ? (SUBSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME)," ",1) + 1,LEN(NEG_AGT_PERSON_FIRST_NAME_SURNAME))) : (SUBSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME)," ",2) + 1,LEN(NEG_AGT_PERSON_FIRST_NAME_SURNAME))) + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]} - - - - - - - - - + + - - - - - + - - - + refId="Package\Load Interest Holder Addresses\Union All 1.Inputs[Union All Input 3]" + dangling="true" + hasSideEffects="true" + name="Union All Input 3"> + refId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1]" + name="Union All Output 1"> - - "WORKEMAIL" - "WORKEMAIL" - - + length="40" + lineageId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]" + name="STREET_ADDRESS_1" /> - - ([FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - EMAIL.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]})," ",1) == 0) ? [TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - EMAIL.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - EMAIL.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - EMAIL.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]})," ",1))) - (FINDSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME)," ",1) == 0) ? TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME) : (SUBSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME),1,FINDSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME)," ",1))) - - + lineageId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]" + name="STREET_ADDRESS_2" /> - - ([FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - EMAIL.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - EMAIL.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - EMAIL.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]})," ",1) + 1,[LEN](#{Package\Load Acquisition Contact Method\PROP COOR - EMAIL.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - EMAIL.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - EMAIL.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]})," ",2) + 1,[LEN](#{Package\Load Acquisition Contact Method\PROP COOR - EMAIL.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}))) - (FINDSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME)," ",2) == 0) ? (SUBSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME)," ",1) + 1,LEN(PROP_COORD_PERSON_FIRST_NAME_SURNAME))) : (SUBSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME)," ",2) + 1,LEN(PROP_COORD_PERSON_FIRST_NAME_SURNAME))) - - - - - - - + lineageId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_3]" + name="STREET_ADDRESS_3" /> + refId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]" + dataType="wstr" + length="40" + lineageId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]" + name="MUNICIPALITY_NAME" /> + refId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]" + dataType="wstr" + length="2" + lineageId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]" + name="PROVINCE" /> + + + + + + + + + + + + + refId="Package\Load Interest Holder Addresses\Update PIMS ADDRESS" + componentClassID="Microsoft.OLEDBCommand" + contactInfo="OLE DB Command;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;2" + description="Runs an SQL statement for each row in a data flow. For example, call a 'new employee setup' stored procedure for each row in the 'new employees' table. Note: running an SQL statement for each row of a large data flow may take a long time." + name="Update PIMS ADDRESS" + usesDispositions="true" + version="2"> + + 0 + Update PIMS_ADDRESS +set province_state_id=?, +country_id=?, +street_address_1=?, +STREET_ADDRESS_2=?, +STREET_ADDRESS_3=?, +municipality_name=?, +POSTAL_CODE=? +where app_last_update_userid=? + 1252 + + + + + refId="Package\Load Interest Holder Addresses\Update PIMS ADDRESS.Inputs[OLE DB Command Input]" + errorOrTruncationOperation="Command Execution" + errorRowDisposition="RedirectRow" + hasSideEffects="true" + name="OLE DB Command Input"> + cachedLength="20" + cachedName="COUNTRY" + externalMetadataColumnId="Package\Load Interest Holder Addresses\Update PIMS ADDRESS.Inputs[OLE DB Command Input].ExternalColumns[Param_1]" + lineageId="Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY]" /> + + + + + + + - - - - - - - + + + 81 + + + + + 81 + + + + length="200" + name="Param_2"> "PERSPHONE" + dataType="System.Int32" + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 + + + + "PERSPHONE" + dataType="System.Int32" + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 - - + + length="200" + name="Param_4"> ([FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG_AGENT - WORK MOBIL.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1) == 0) ? [TRIM](#{Package\Load Acquisition Contact Method\NEG_AGENT - WORK MOBIL.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG_AGENT - WORK MOBIL.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG_AGENT - WORK MOBIL.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1))) + dataType="System.Int32" + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 + + + + (FINDSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME)," ",1) == 0) ? TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME) : (SUBSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME),1,FINDSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME)," ",1))) + dataType="System.Int32" + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 - - + + length="20" + name="Param_6"> ([FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG_AGENT - WORK MOBIL.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG_AGENT - WORK MOBIL.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG_AGENT - WORK MOBIL.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1) + 1,[LEN](#{Package\Load Acquisition Contact Method\NEG_AGENT - WORK MOBIL.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG_AGENT - WORK MOBIL.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG_AGENT - WORK MOBIL.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]})," ",2) + 1,[LEN](#{Package\Load Acquisition Contact Method\NEG_AGENT - WORK MOBIL.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}))) + dataType="System.Int32" + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 + + + + (FINDSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME)," ",2) == 0) ? (SUBSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME)," ",1) + 1,LEN(NEG_AGT_PERSON_FIRST_NAME_SURNAME))) : (SUBSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME)," ",2) + 1,LEN(NEG_AGT_PERSON_FIRST_NAME_SURNAME))) + dataType="System.Int32" + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 - - + + + + + + + name="OLE DB Command Error Output" + synchronousInputId="Package\Load Interest Holder Addresses\Update PIMS ADDRESS.Inputs[OLE DB Command Input]"> @@ -5550,255 +4228,718 @@ where APP_CREATE_USER_DIRECTORY=? + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + refId="Package\Load Interest Holder Contact Method\AUDIT TRAIL.Inputs[Derived Column Input].Columns[INTEREST_HOLDER_ID]" + cachedDataType="numeric" + cachedName="INTEREST_HOLDER_ID" + cachedPrecision="10" + lineageId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]" /> + synchronousInputId="Package\Load Interest Holder Contact Method\AUDIT TRAIL.Inputs[Derived Column Input]"> "PERSPHONE" + name="Expression">"APP_PIMS_PROXY_ETL_EDIT" "PERSPHONE" + name="FriendlyExpression">"APP_PIMS_PROXY_ETL_EDIT" ([FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - WORK MOBIL.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]})," ",1) == 0) ? [TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - WORK MOBIL.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - WORK MOBIL.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - WORK MOBIL.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]})," ",1))) + name="Expression">(DT_WSTR,10)#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} (FINDSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME)," ",1) == 0) ? TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME) : (SUBSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME),1,FINDSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME)," ",1))) + name="FriendlyExpression">(DT_WSTR,10)INTEREST_HOLDER_ID ([FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - WORK MOBIL.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - WORK MOBIL.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - WORK MOBIL.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]})," ",1) + 1,[LEN](#{Package\Load Acquisition Contact Method\PROP COOR - WORK MOBIL.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - WORK MOBIL.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - WORK MOBIL.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]})," ",2) + 1,[LEN](#{Package\Load Acquisition Contact Method\PROP COOR - WORK MOBIL.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}))) + name="Expression">"APP_PIMS_PROXY_ETL_EDIT" (FINDSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME)," ",2) == 0) ? (SUBSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME)," ",1) + 1,LEN(PROP_COORD_PERSON_FIRST_NAME_SURNAME))) : (SUBSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME)," ",2) + 1,LEN(PROP_COORD_PERSON_FIRST_NAME_SURNAME))) + name="FriendlyExpression">"APP_PIMS_PROXY_ETL_EDIT" - - - - - - + refId="Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_LAST_UPDATE_USER_DIRECTORY]" + dataType="wstr" + errorOrTruncationOperation="Computation" + errorRowDisposition="FailComponent" + length="12" + lineageId="Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_LAST_UPDATE_USER_DIRECTORY]" + name="AUDIT_TRAIL_APP_LAST_UPDATE_USER_DIRECTORY" + truncationRowDisposition="FailComponent"> + + "place_holder" + "place_holder" + + + + + + + + + + refId="Package\Load Interest Holder Contact Method\Contact_Method records to be updated" + componentClassID="Microsoft.Lookup" + contactInfo="Lookup;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;6" + description="Joins additional columns to the data flow by looking up values in a table. For example, join to the 'employee id' column the employees table to get 'hire date' and 'employee name'. We recommend this transformation when the lookup table can fit into memory." + name="Contact_Method records to be updated" + usesDispositions="true" + version="6"> + + select * from [dbo].[PIMS_CONTACT_METHOD] + select * from (select * from [dbo].[PIMS_CONTACT_METHOD]) [refTable] +where [refTable].[CONTACT_METHOD_TYPE_CODE] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[CONTACT_METHOD_VALUE] = ? and [refTable].[PERSON_ID] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="CONTACT_METHOD_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_VALUE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PREFERRED_METHOD" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]};#{Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]};#{Package\Load Interest Holder Contact Method\Data Conversion 5.Outputs[Data Conversion Output].Columns[UNICODE_CONTACT_METHOD_VALUE]};#{Package\Load Interest Holder Contact Method\PERSON ID.Outputs[Lookup Match Output].Columns[PERSON_ID]}; + 1252 + false + + + + + refId="Package\Load Interest Holder Contact Method\Contact_Method records to be updated.Inputs[Lookup Input]" + name="Lookup Input"> + cachedLength="9" + cachedName="CONTACT_METHOD_TYPE_CODE" + lineageId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]"> + + CONTACT_METHOD_TYPE_CODE + + + + + + PERSON_ID + + + + + + CONTACT_METHOD_VALUE + + + + + + APP_CREATE_USER_DIRECTORY + + + + name="Lookup Match Output" + synchronousInputId="Package\Load Interest Holder Contact Method\Contact_Method records to be updated.Inputs[Lookup Input]"> + + + + + + + refId="Package\Load Interest Holder Contact Method\Contact_Method records to be updated.Outputs[Lookup Error Output].Columns[ErrorCode]" + dataType="i4" + lineageId="Package\Load Interest Holder Contact Method\Contact_Method records to be updated.Outputs[Lookup Error Output].Columns[ErrorCode]" + name="ErrorCode" + specialFlags="1" /> + + + + + + + + + select * from [dbo].[PIMS_CONTACT_METHOD] + select * from (select * from [dbo].[PIMS_CONTACT_METHOD]) [refTable] +where [refTable].[CONTACT_METHOD_TYPE_CODE] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[CONTACT_METHOD_VALUE] = ? and [refTable].[ORGANIZATION_ID] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="CONTACT_METHOD_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_VALUE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PREFERRED_METHOD" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]};#{Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]};#{Package\Load Interest Holder Contact Method\Data Conversion 5.Outputs[Data Conversion Output].Columns[UNICODE_CONTACT_METHOD_VALUE]};#{Package\Load Interest Holder Contact Method\ORGANIZATION ID.Outputs[Lookup Match Output].Columns[ORGANIZATION_ID]}; + 1252 + false + + + + + + + + "WORKPHONE" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">CONTACT_METHOD_TYPE_CODE + + + + + "WORKPHONE" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">ORGANIZATION_ID + - - + + ([FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG Agent - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1) == 0) ? [TRIM](#{Package\Load Acquisition Contact Method\NEG Agent - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG Agent - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG Agent - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1))) + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">CONTACT_METHOD_VALUE + + + + + (FINDSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME)," ",1) == 0) ? TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME) : (SUBSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME),1,FINDSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME)," ",1))) + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">APP_CREATE_USER_DIRECTORY + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ([FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG Agent - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG Agent - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG Agent - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1) + 1,[LEN](#{Package\Load Acquisition Contact Method\NEG Agent - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG Agent - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\NEG Agent - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]})," ",2) + 1,[LEN](#{Package\Load Acquisition Contact Method\NEG Agent - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}))) + name="Expression">"FAX" (FINDSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME)," ",2) == 0) ? (SUBSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME)," ",1) + 1,LEN(NEG_AGT_PERSON_FIRST_NAME_SURNAME))) : (SUBSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME)," ",2) + 1,LEN(NEG_AGT_PERSON_FIRST_NAME_SURNAME))) + name="FriendlyExpression">"FAX" + synchronousInputId="Package\Load Interest Holder Contact Method\CONTACT_METHOD_TYPE_CODE - FAX.Inputs[Derived Column Input]"> @@ -5807,43 +4948,35 @@ where APP_CREATE_USER_DIRECTORY=? - - - + synchronousInputId="Package\Load Interest Holder Contact Method\CONTACT_METHOD_TYPE_CODE - MOBLPHONE.Inputs[Derived Column Input]"> @@ -5860,73 +4993,27 @@ where APP_CREATE_USER_DIRECTORY=? name="FriendlyExpression">"WORKPHONE" - - - ([FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]})," ",1) == 0) ? [TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]})," ",1))) - (FINDSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME)," ",1) == 0) ? TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME) : (SUBSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME),1,FINDSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME)," ",1))) - - - - - ([FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]})," ",1) + 1,[LEN](#{Package\Load Acquisition Contact Method\PROP COOR - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\PROP COOR - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]})," ",2) + 1,[LEN](#{Package\Load Acquisition Contact Method\PROP COOR - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}))) - (FINDSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME)," ",2) == 0) ? (SUBSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME)," ",1) + 1,LEN(PROP_COORD_PERSON_FIRST_NAME_SURNAME))) : (SUBSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME)," ",2) + 1,LEN(PROP_COORD_PERSON_FIRST_NAME_SURNAME))) - - + synchronousInputId="Package\Load Interest Holder Contact Method\CONTACT_METHOD_TYPE_CODE - MOBLPHONE.Inputs[Derived Column Input]"> @@ -5935,210 +5022,72 @@ where APP_CREATE_USER_DIRECTORY=? - - - - - - - - + refId="Package\Load Interest Holder Contact Method\CONTACT_METHOD_TYPE_CODE - PERSPHONE.Inputs[Derived Column Input]" + description="Input to the Derived Column Transformation" + name="Derived Column Input"> + name="Derived Column Output" + synchronousInputId="Package\Load Interest Holder Contact Method\CONTACT_METHOD_TYPE_CODE - PERSPHONE.Inputs[Derived Column Input]"> - - #{Package\Load Acquisition Contact Method\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]} - false - - - - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[FirstName]} - false - - - - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[PERSON_COMMENT_ORG]} - false - - - - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[SurName]} - false - - - - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD]} - false - - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} + dataType="System.String" + description="Derived Column Expression" + name="Expression">"PERSPHONE" false + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"PERSPHONE" + name="Derived Column Error Output" + synchronousInputId="Package\Load Interest Holder Contact Method\CONTACT_METHOD_TYPE_CODE - PERSPHONE.Inputs[Derived Column Input]"> @@ -6147,75 +5096,72 @@ where APP_CREATE_USER_DIRECTORY=? - - - + refId="Package\Load Interest Holder Contact Method\CONTACT_METHOD_TYPE_CODE - WORKEMAIL.Inputs[Derived Column Input]" + description="Input to the Derived Column Transformation" + name="Derived Column Input"> + name="Derived Column Output" + synchronousInputId="Package\Load Interest Holder Contact Method\CONTACT_METHOD_TYPE_CODE - WORKEMAIL.Inputs[Derived Column Input]"> #{Package\Load Acquisition Contact Method\NEG Agent - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]} + dataType="System.String" + description="Derived Column Expression" + name="Expression">"WORKEMAIL" false + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"WORKEMAIL" + name="Derived Column Error Output" + synchronousInputId="Package\Load Interest Holder Contact Method\CONTACT_METHOD_TYPE_CODE - WORKEMAIL.Inputs[Derived Column Input]"> @@ -6224,75 +5170,72 @@ where APP_CREATE_USER_DIRECTORY=? - - - + refId="Package\Load Interest Holder Contact Method\CONTACT_METHOD_TYPE_CODE - WORKPHONE.Inputs[Derived Column Input]" + description="Input to the Derived Column Transformation" + name="Derived Column Input"> + name="Derived Column Output" + synchronousInputId="Package\Load Interest Holder Contact Method\CONTACT_METHOD_TYPE_CODE - WORKPHONE.Inputs[Derived Column Input]"> #{Package\Load Acquisition Contact Method\PROP COOR - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]} + dataType="System.String" + description="Derived Column Expression" + name="Expression">"WORKPHONE" false + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"WORKPHONE" + name="Derived Column Error Output" + synchronousInputId="Package\Load Interest Holder Contact Method\CONTACT_METHOD_TYPE_CODE - WORKPHONE.Inputs[Derived Column Input]"> @@ -6301,49 +5244,50 @@ where APP_CREATE_USER_DIRECTORY=? + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]" /> + synchronousInputId="Package\Load Interest Holder Contact Method\Data Conversion.Inputs[Data Conversion Input]"> #{Package\Load Acquisition Contact Method\EXP Agent - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]} + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]} + synchronousInputId="Package\Load Interest Holder Contact Method\Data Conversion.Inputs[Data Conversion Input]"> @@ -6378,49 +5322,50 @@ where APP_CREATE_USER_DIRECTORY=? + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]" /> + synchronousInputId="Package\Load Interest Holder Contact Method\Data Conversion 1.Inputs[Data Conversion Input]"> #{Package\Load Acquisition Contact Method\NEG_AGENT - WORK MOBIL.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]} + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]} + synchronousInputId="Package\Load Interest Holder Contact Method\Data Conversion 1.Inputs[Data Conversion Input]"> @@ -6455,49 +5400,50 @@ where APP_CREATE_USER_DIRECTORY=? + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]" /> + synchronousInputId="Package\Load Interest Holder Contact Method\Data Conversion 2.Inputs[Data Conversion Input]"> #{Package\Load Acquisition Contact Method\PROP COOR - WORK MOBIL.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]} + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]} + synchronousInputId="Package\Load Interest Holder Contact Method\Data Conversion 2.Inputs[Data Conversion Input]"> @@ -6532,49 +5478,50 @@ where APP_CREATE_USER_DIRECTORY=? + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]" /> + synchronousInputId="Package\Load Interest Holder Contact Method\Data Conversion 3.Inputs[Data Conversion Input]"> #{Package\Load Acquisition Contact Method\EXP Agent - WORK MOBIL.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]} + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]} + synchronousInputId="Package\Load Interest Holder Contact Method\Data Conversion 3.Inputs[Data Conversion Input]"> @@ -6609,49 +5556,50 @@ where APP_CREATE_USER_DIRECTORY=? + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]" /> + synchronousInputId="Package\Load Interest Holder Contact Method\Data Conversion 4.Inputs[Data Conversion Input]"> #{Package\Load Acquisition Contact Method\NEG AGENT - FAX.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]} + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]} + synchronousInputId="Package\Load Interest Holder Contact Method\Data Conversion 4.Inputs[Data Conversion Input]"> @@ -6686,357 +5634,188 @@ where APP_CREATE_USER_DIRECTORY=? + + + + + lineageId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]" /> + + synchronousInputId="Package\Load Interest Holder Contact Method\Data Conversion 5.Inputs[Data Conversion Input]"> #{Package\Load Acquisition Contact Method\PROP COOR - FAX.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]} + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} false - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Acquisition Contact Method\Exp Agent - FAX.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]} + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} false - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Acquisition Contact Method\NEG AGENT - EMAIL.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]} + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} false - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Acquisition Contact Method\PROP COOR - EMAIL.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]} + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} false - - - - - - - - - - - - - - - - - - - - - - - + refId="Package\Load Interest Holder Contact Method\Data Conversion 5.Outputs[Data Conversion Output].Columns[UNICODE_CONTACT_METHOD_VALUE]" + dataType="wstr" + errorOrTruncationOperation="Conversion" + errorRowDisposition="FailComponent" + length="50" + lineageId="Package\Load Interest Holder Contact Method\Data Conversion 5.Outputs[Data Conversion Output].Columns[UNICODE_CONTACT_METHOD_VALUE]" + name="UNICODE_CONTACT_METHOD_VALUE" + truncationRowDisposition="FailComponent"> + + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} + false + + #{Package\Load Acquisition Contact Method\Exp Agent - EMAIL.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]} + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USERID]} + synchronousInputId="Package\Load Interest Holder Contact Method\Data Conversion 5.Inputs[Data Conversion Input]"> @@ -7071,54 +5850,72 @@ where APP_CREATE_USER_DIRECTORY=? + refId="Package\Load Interest Holder Contact Method\Derived Column.Inputs[Derived Column Input].Columns[ErrorCode]" + cachedDataType="i4" + cachedName="ErrorCode" + lineageId="Package\Load Interest Holder Contact Method\Insert PIMS_CONTACT_METHOD FOR PERSON.Outputs[OLE DB Destination Error Output].Columns[ErrorCode]" /> + + + + cachedName="AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY" + lineageId="Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]" /> + cachedName="CONTACT_METHOD_VALUE" + lineageId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]" /> + synchronousInputId="Package\Load Interest Holder Contact Method\Derived Column.Inputs[Derived Column Input]"> @@ -7136,12 +5933,12 @@ where APP_CREATE_USER_DIRECTORY=? @@ -7149,22 +5946,22 @@ where APP_CREATE_USER_DIRECTORY=? containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"Load Acquisition Contact Merthod" + name="Expression">"Load INTEREST HOLDER PERSON Contact Method" "Load Acquisition Contact Merthod" + name="FriendlyExpression">"Load INTEREST HOLDER PERSON Contact Method" @@ -7172,22 +5969,22 @@ where APP_CREATE_USER_DIRECTORY=? containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"PIMS_CONTACT_METHOD FOR ORGANIZATION" + name="Expression">"PIMS_CONTACT_METHOD FOR PERSON" "PIMS_CONTACT_METHOD FOR ORGANIZATION" + name="FriendlyExpression">"PIMS_CONTACT_METHOD FOR PERSON" @@ -7195,22 +5992,66 @@ where APP_CREATE_USER_DIRECTORY=? containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + name="Expression">"PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + name="FriendlyExpression">"PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" + + + + + #{Package\Load Interest Holder Contact Method\Insert PIMS_CONTACT_METHOD FOR PERSON.Outputs[OLE DB Destination Error Output].Columns[ErrorCode]} + ErrorCode + + + + + #{Package\Load Interest Holder Contact Method\Insert PIMS_CONTACT_METHOD FOR PERSON.Outputs[OLE DB Destination Error Output].Columns[ErrorColumn]} + ErrorColumn @@ -7218,36 +6059,36 @@ where APP_CREATE_USER_DIRECTORY=? containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"ORGANIZATION NAME: " + #{Package\Load Acquisition Contact Method\Data Conversion.Outputs[Data Conversion Output].Columns[ORGANIZATION_NAME]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Acquisition Contact Method\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} + " CONTACT_METHOD_VALUE: " + #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD]} + name="Expression">"FIRST_NAME" + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} + "SURNAME: " + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} + "APP_CREATE_USER_DIRECTORY(INTEREST_HOLDER_ID)" + #{Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]} + " CONTACT_METHOD_VALUE: " + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} "ORGANIZATION NAME: " + ORGANIZATION_NAME + " APP_CREATE_USER_DIRECTORY: " + APP_CREATE_USER_DIRECTORY + " CONTACT_METHOD_VALUE: " + CONTACT_METHOD + name="FriendlyExpression">"FIRST_NAME" + FIRST_NAME + "SURNAME: " + SURNAME + "APP_CREATE_USER_DIRECTORY(INTEREST_HOLDER_ID)" + AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY + " CONTACT_METHOD_VALUE: " + CONTACT_METHOD_VALUE + synchronousInputId="Package\Load Interest Holder Contact Method\Derived Column.Inputs[Derived Column Input]"> @@ -7256,54 +6097,55 @@ where APP_CREATE_USER_DIRECTORY=? + lineageId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]" /> + cachedLength="200" + cachedName="CONTACT_METHOD_VALUE" + lineageId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]" /> + cachedLength="10" + cachedName="AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY" + lineageId="Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]" /> + synchronousInputId="Package\Load Interest Holder Contact Method\Derived Column 1.Inputs[Derived Column Input]"> @@ -7321,12 +6163,12 @@ where APP_CREATE_USER_DIRECTORY=? @@ -7334,22 +6176,22 @@ where APP_CREATE_USER_DIRECTORY=? containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"Load Acquisition Contact Merthod" + name="Expression">"Load INTEREST HOLDER ORGANIZATION Contact Method" "Load Acquisition Contact Merthod" + name="FriendlyExpression">"Load INTEREST HOLDER ORGANIZATION Contact Method" @@ -7367,12 +6209,12 @@ where APP_CREATE_USER_DIRECTORY=? @@ -7390,12 +6232,12 @@ where APP_CREATE_USER_DIRECTORY=? @@ -7403,36 +6245,36 @@ where APP_CREATE_USER_DIRECTORY=? containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"ORGANIZATION NAME: " + #{Package\Load Acquisition Contact Method\Data Conversion.Outputs[Data Conversion Output].Columns[ORGANIZATION_NAME]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Acquisition Contact Method\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} + " CONTACT_METHOD_VALUE: " + #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD]} + name="Expression">"ORGANIZATION NAME: " + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} + " APP_CREATE_USER_DIRECTORY(INTEREST_HOLDER_ID): " + #{Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]} + " CONTAACT_METHOD_VALUE: " + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} "ORGANIZATION NAME: " + ORGANIZATION_NAME + " APP_CREATE_USER_DIRECTORY: " + APP_CREATE_USER_DIRECTORY + " CONTACT_METHOD_VALUE: " + CONTACT_METHOD + name="FriendlyExpression">"ORGANIZATION NAME: " + ORGANIZATION_NAME + " APP_CREATE_USER_DIRECTORY(INTEREST_HOLDER_ID): " + AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY + " CONTAACT_METHOD_VALUE: " + CONTACT_METHOD_VALUE + synchronousInputId="Package\Load Interest Holder Contact Method\Derived Column 1.Inputs[Derived Column Input]"> @@ -7441,126 +6283,184 @@ where APP_CREATE_USER_DIRECTORY=? + + cachedLength="200" + cachedName="CONTACT_METHOD_VALUE" + lineageId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]" /> + + synchronousInputId="Package\Load Interest Holder Contact Method\Derived Column 1 1.Inputs[Derived Column Input]"> + + [GETDATE]() + GETDATE() + + + "FAX" + name="Expression">"Load INTEREST HOLDER ORGANIZATION Contact Method" "FAX" + name="FriendlyExpression">"Load INTEREST HOLDER ORGANIZATION Contact Method" ([FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\Exp Agent - FAX.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1) == 0) ? [TRIM](#{Package\Load Acquisition Contact Method\Exp Agent - FAX.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\Exp Agent - FAX.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\Exp Agent - FAX.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1))) + name="Expression">"PIMS_CONTACT_METHOD FOR ORGANIZATION" (FINDSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME)," ",1) == 0) ? TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME) : (SUBSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME),1,FINDSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME)," ",1))) + name="FriendlyExpression">"PIMS_CONTACT_METHOD FOR ORGANIZATION" + + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + + + ([FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\Exp Agent - FAX.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\Exp Agent - FAX.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\Exp Agent - FAX.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1) + 1,[LEN](#{Package\Load Acquisition Contact Method\Exp Agent - FAX.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\Exp Agent - FAX.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\Exp Agent - FAX.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]})," ",2) + 1,[LEN](#{Package\Load Acquisition Contact Method\Exp Agent - FAX.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}))) + name="Expression">"ORGANIZATION NAME: " + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} + " APP_CREATE_USER_DIRECTORY(INTEREST_HOLDER_ID): " + #{Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]} + " CONTAACT_METHOD_VALUE: " + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} (FINDSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME)," ",2) == 0) ? (SUBSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME)," ",1) + 1,LEN(EXP_AGT_PERSON_FIRST_NAME_SURNAME))) : (SUBSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME)," ",2) + 1,LEN(EXP_AGT_PERSON_FIRST_NAME_SURNAME))) + name="FriendlyExpression">"ORGANIZATION NAME: " + ORGANIZATION_NAME + " APP_CREATE_USER_DIRECTORY(INTEREST_HOLDER_ID): " + AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY + " CONTAACT_METHOD_VALUE: " + CONTACT_METHOD_VALUE + synchronousInputId="Package\Load Interest Holder Contact Method\Derived Column 1 1.Inputs[Derived Column Input]"> @@ -7569,382 +6469,245 @@ where APP_CREATE_USER_DIRECTORY=? + + + + + cachedLength="10" + cachedName="AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY" + lineageId="Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]" /> + + synchronousInputId="Package\Load Interest Holder Contact Method\Derived Column 2.Inputs[Derived Column Input]"> "WORKEMAIL" + name="Expression">[GETDATE]() "WORKEMAIL" + name="FriendlyExpression">GETDATE() ([FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\Exp Agent - EMAIL.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1) == 0) ? [TRIM](#{Package\Load Acquisition Contact Method\Exp Agent - EMAIL.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\Exp Agent - EMAIL.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\Exp Agent - EMAIL.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1))) + name="Expression">"Load INTEREST HOLDER PERSON Contact Method" (FINDSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME)," ",1) == 0) ? TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME) : (SUBSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME),1,FINDSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME)," ",1))) + name="FriendlyExpression">"Load INTEREST HOLDER PERSON Contact Method" ([FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\Exp Agent - EMAIL.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\Exp Agent - EMAIL.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\Exp Agent - EMAIL.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1) + 1,[LEN](#{Package\Load Acquisition Contact Method\Exp Agent - EMAIL.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\Exp Agent - EMAIL.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\Exp Agent - EMAIL.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]})," ",2) + 1,[LEN](#{Package\Load Acquisition Contact Method\Exp Agent - EMAIL.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}))) + name="Expression">"PIMS_CONTACT_METHOD FOR PERSON" (FINDSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME)," ",2) == 0) ? (SUBSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME)," ",1) + 1,LEN(EXP_AGT_PERSON_FIRST_NAME_SURNAME))) : (SUBSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME)," ",2) + 1,LEN(EXP_AGT_PERSON_FIRST_NAME_SURNAME))) + name="FriendlyExpression">"PIMS_CONTACT_METHOD FOR PERSON" - - - - - - - - - - - - - - - - - - - - - - - - "PERSPHONE" + name="Expression">"PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" "PERSPHONE" + name="FriendlyExpression">"PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" ([FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\EXP Agent - WORK MOBIL.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1) == 0) ? [TRIM](#{Package\Load Acquisition Contact Method\EXP Agent - WORK MOBIL.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\EXP Agent - WORK MOBIL.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\EXP Agent - WORK MOBIL.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1))) + name="Expression">#{Package\Load Interest Holder Contact Method\Upadate PIMS_CONTACT_METHOD.Outputs[OLE DB Command Error Output].Columns[ErrorCode]} (FINDSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME)," ",1) == 0) ? TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME) : (SUBSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME),1,FINDSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME)," ",1))) + name="FriendlyExpression">ErrorCode ([FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\EXP Agent - WORK MOBIL.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\EXP Agent - WORK MOBIL.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\EXP Agent - WORK MOBIL.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1) + 1,[LEN](#{Package\Load Acquisition Contact Method\EXP Agent - WORK MOBIL.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\EXP Agent - WORK MOBIL.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\EXP Agent - WORK MOBIL.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]})," ",2) + 1,[LEN](#{Package\Load Acquisition Contact Method\EXP Agent - WORK MOBIL.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}))) + name="Expression">#{Package\Load Interest Holder Contact Method\Upadate PIMS_CONTACT_METHOD.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]} (FINDSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME)," ",2) == 0) ? (SUBSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME)," ",1) + 1,LEN(EXP_AGT_PERSON_FIRST_NAME_SURNAME))) : (SUBSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME)," ",2) + 1,LEN(EXP_AGT_PERSON_FIRST_NAME_SURNAME))) + name="FriendlyExpression">ErrorColumn - - - - - - - - - - - - - - - - - - - - - - - - - - "WORKPHONE" - "WORKPHONE" - - - - - ([FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\EXP Agent - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1) == 0) ? [TRIM](#{Package\Load Acquisition Contact Method\EXP Agent - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\EXP Agent - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\EXP Agent - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1))) - (FINDSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME)," ",1) == 0) ? TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME) : (SUBSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME),1,FINDSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME)," ",1))) - - - ([FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\EXP Agent - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\EXP Agent - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\EXP Agent - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1) + 1,[LEN](#{Package\Load Acquisition Contact Method\EXP Agent - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Contact Method\EXP Agent - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Contact Method\EXP Agent - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]})," ",2) + 1,[LEN](#{Package\Load Acquisition Contact Method\EXP Agent - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}))) + name="Expression">"FIRST_NAME" + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} + "SURNAME: " + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} + "APP_CREATE_USER_DIRECTORY(INTEREST_HOLDER_ID)" + #{Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]} + " CONTACT_METHOD_VALUE: " + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} (FINDSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME)," ",2) == 0) ? (SUBSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME)," ",1) + 1,LEN(EXP_AGT_PERSON_FIRST_NAME_SURNAME))) : (SUBSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME)," ",2) + 1,LEN(EXP_AGT_PERSON_FIRST_NAME_SURNAME))) + name="FriendlyExpression">"FIRST_NAME" + FIRST_NAME + "SURNAME: " + SURNAME + "APP_CREATE_USER_DIRECTORY(INTEREST_HOLDER_ID)" + AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY + " CONTACT_METHOD_VALUE: " + CONTACT_METHOD_VALUE + synchronousInputId="Package\Load Interest Holder Contact Method\Derived Column 2.Inputs[Derived Column Input]"> @@ -7953,11 +6716,11 @@ where APP_CREATE_USER_DIRECTORY=? @@ -8010,7 +6773,7 @@ where APP_CREATE_USER_DIRECTORY=? + externalMetadataColumnId="Package\Load Interest Holder Contact Method\ETL ERROR LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TIME]" + lineageId="Package\Load Interest Holder Contact Method\Derived Column.Outputs[Derived Column Output].Columns[ERROR_TIME]" /> + externalMetadataColumnId="Package\Load Interest Holder Contact Method\ETL ERROR LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_OPERATION_NAME]" + lineageId="Package\Load Interest Holder Contact Method\Derived Column.Outputs[Derived Column Output].Columns[ERROR_OPERATION_NAME]" /> + externalMetadataColumnId="Package\Load Interest Holder Contact Method\ETL ERROR LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TASK_NAME]" + lineageId="Package\Load Interest Holder Contact Method\Derived Column.Outputs[Derived Column Output].Columns[ERROR_TASK_NAME]" /> + externalMetadataColumnId="Package\Load Interest Holder Contact Method\ETL ERROR LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ETL_NAME]" + lineageId="Package\Load Interest Holder Contact Method\Derived Column.Outputs[Derived Column Output].Columns[ERROR_ETL_NAME]" /> + externalMetadataColumnId="Package\Load Interest Holder Contact Method\ETL ERROR LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ROW]" + lineageId="Package\Load Interest Holder Contact Method\Derived Column.Outputs[Derived Column Output].Columns[ERROR_ROW]" /> + cachedName="ERROR_CODE" + externalMetadataColumnId="Package\Load Interest Holder Contact Method\ETL ERROR LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_CODE]" + lineageId="Package\Load Interest Holder Contact Method\Derived Column.Outputs[Derived Column Output].Columns[ERROR_CODE]" /> + cachedName="ERROR_COLUMN" + externalMetadataColumnId="Package\Load Interest Holder Contact Method\ETL ERROR LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_COLUMN]" + lineageId="Package\Load Interest Holder Contact Method\Derived Column.Outputs[Derived Column Output].Columns[ERROR_COLUMN]" /> @@ -8109,22 +6872,22 @@ where APP_CREATE_USER_DIRECTORY=? + synchronousInputId="Package\Load Interest Holder Contact Method\ETL ERROR LOG.Inputs[OLE DB Destination Input]"> @@ -8133,11 +6896,11 @@ where APP_CREATE_USER_DIRECTORY=? @@ -8190,7 +6953,7 @@ where APP_CREATE_USER_DIRECTORY=? + externalMetadataColumnId="Package\Load Interest Holder Contact Method\ETL ERROR LOG 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TIME]" + lineageId="Package\Load Interest Holder Contact Method\Derived Column 2.Outputs[Derived Column Output].Columns[ERROR_TIME]" /> + externalMetadataColumnId="Package\Load Interest Holder Contact Method\ETL ERROR LOG 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_OPERATION_NAME]" + lineageId="Package\Load Interest Holder Contact Method\Derived Column 2.Outputs[Derived Column Output].Columns[ERROR_OPERATION_NAME]" /> + externalMetadataColumnId="Package\Load Interest Holder Contact Method\ETL ERROR LOG 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TASK_NAME]" + lineageId="Package\Load Interest Holder Contact Method\Derived Column 2.Outputs[Derived Column Output].Columns[ERROR_TASK_NAME]" /> + externalMetadataColumnId="Package\Load Interest Holder Contact Method\ETL ERROR LOG 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ETL_NAME]" + lineageId="Package\Load Interest Holder Contact Method\Derived Column 2.Outputs[Derived Column Output].Columns[ERROR_ETL_NAME]" /> + externalMetadataColumnId="Package\Load Interest Holder Contact Method\ETL ERROR LOG 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ROW]" + lineageId="Package\Load Interest Holder Contact Method\Derived Column 2.Outputs[Derived Column Output].Columns[ERROR_ROW]" /> + cachedName="ERROR_CODE" + externalMetadataColumnId="Package\Load Interest Holder Contact Method\ETL ERROR LOG 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_CODE]" + lineageId="Package\Load Interest Holder Contact Method\Derived Column 2.Outputs[Derived Column Output].Columns[ERROR_CODE]" /> + cachedName="ERROR_COLUMN" + externalMetadataColumnId="Package\Load Interest Holder Contact Method\ETL ERROR LOG 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_COLUMN]" + lineageId="Package\Load Interest Holder Contact Method\Derived Column 2.Outputs[Derived Column Output].Columns[ERROR_COLUMN]" /> @@ -8289,22 +7052,22 @@ where APP_CREATE_USER_DIRECTORY=? + synchronousInputId="Package\Load Interest Holder Contact Method\ETL ERROR LOG 1.Inputs[OLE DB Destination Input]"> @@ -8313,14 +7076,13 @@ where APP_CREATE_USER_DIRECTORY=? + version="4"> "APP_PAM_MASKED"."PAM_INTEREST_HOLDER" + name="OpenRowset">[etl].[ETL_ERROR_LOG] dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SELECT acq.AGENT_ASSIGNMENT_ID AS PAIMS_ACQUISITION_FILE_ID - , DECODE(acq.CLOSED_DATE, NULL, DECODE(acq.SETTLED_FLAG, 'Y', 'CLOSED', 'ACTIVE'), 'CLOSED') AS ACQUISITION_FILE_STATUS_TYPE_CODE - , DECODE(acq.ACQUISITION_CODE, 'C', 'CONSEN', 'A', 'SECTN3', 'E', 'SECTN6') AS ACQUISITION_TYPE_CODE - , acq.REGION_NO AS REGION_CODE - , LTRIM(TO_CHAR (prj.FMIS_NO , '00009' ) ) AS MINISTRY_PROJECT_NUMBER - , DECODE(UPPER(prj.NAME ) , UPPER(sub.NAME ) , prj.NAME , prj.NAME || ' - ' || sub.NAME ) AS MINISTRY_PROJECT_NAME - , acq.NAME AS FILE_NAME - , acq.AGENT_ASSIGNMENT_NO AS FILE_NO - , acq.AGENT_ASSIGNMENT_NO_PREFIX || '-' || acq.AGENT_ASSIGNMENT_NO || '-' || COALESCE(acq.AGENT_ASSIGNMENT_NO_SUFFIX, '01') AS FILE_NUMBER - , acq.ASSIGNED_DATE AS ASSIGNED_DATE - , acq.DELIVERY_DATE AS DELIVERY_DATE - , 'EXPRAGENT' AS EXP_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE - , exp.NAME AS EXP_AGT_PERSON_FIRST_NAME_SURNAME - , 'EXP AGT ID: ' || exp.PROPERTY_EMPLOYEE_ID AS EXP_AGT_PERSON_COMMENT_ID - , 'EXP AGT ORG: ' || exp.COMPANY_NAME AS EXP_AGT_PERSON_COMMENT_ORG - , exp.REGION_NO AS EXP_AGT_PERSON_REGION - , exp.ADDRESS_LINE_1 AS EXP_AGT_STREET_ADDRESS_1 - , exp.ADDRESS_LINE_2 AS EXP_AGT_STREET_ADDRESS_2 - , exp.CITY AS EXP_AGT_MUNICIPALITY_NAME - , exp.POSTAL_CODE AS EXP_AGT_POSTAL_CODE - , exp.PROVINCE AS EXP_AGT_PROVINCE - , exp.PHONE_NO AS EXP_AGT_WORKPHONE - , exp.CELL_PHONE_NUMBER AS EXP_AGT_WORKMOBIL - , exp.FAX_NO AS EXP_AGT_FAX - , exp.EMAIL_ADDRESS AS EXP_AGT_WORKEMAIL -FROM PAM_AGENT_ASSIGNMENT acq JOIN - PAM_PROPERTY_EMPLOYEE prp ON prp.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID JOIN - PAM_SUB_PROJECT sub ON sub.SUB_PROJECT_ID = acq.SUB_PROJECT_ID LEFT OUTER JOIN - HWY_MINISTRY_PROJECT prj ON prj.MINISTRY_PROJECT_ID = sub.MINISTRY_PROJECT_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE cor ON cor.PROPERTY_EMPLOYEE_ID = acq.COORD_PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE neg ON neg.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE exp ON exp.PROPERTY_EMPLOYEE_ID = acq.EXPR_PROPERTY_EMPLOYEE_ID - where exp.EMAIL_ADDRESS is not null - + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> true + name="AlwaysUseDefaultCodePage">false 2 + typeConverter="AccessMode">3 + false + false + description="Specifies options to be used with fast load. Applies only if fast load is turned on." + name="FastLoadOptions">TABLOCK,CHECK_CONSTRAINTS + 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - - - - + name="ERROR_TIME" /> + length="100" + name="ERROR_OPERATION_NAME" /> + length="100" + name="ERROR_TASK_NAME" /> - + length="100" + name="ERROR_ETL_NAME" /> + refId="Package\Load Interest Holder Contact Method\ETL ERROR LOG 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ROW]" + dataType="nText" + name="ERROR_ROW" /> + refId="Package\Load Interest Holder Contact Method\ETL ERROR LOG 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_CODE]" + dataType="i4" + name="ERROR_CODE" /> + refId="Package\Load Interest Holder Contact Method\ETL ERROR LOG 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_COLUMN]" + dataType="i4" + name="ERROR_COLUMN" /> - + + + + name="OLE DB Destination Error Output" + synchronousInputId="Package\Load Interest Holder Contact Method\ETL ERROR LOG 2.Inputs[OLE DB Destination Input]"> - - - - - - + refId="Package\Load Interest Holder Contact Method\ETL ERROR LOG 2.Outputs[OLE DB Destination Error Output].Columns[ErrorCode]" + dataType="i4" + lineageId="Package\Load Interest Holder Contact Method\ETL ERROR LOG 2.Outputs[OLE DB Destination Error Output].Columns[ErrorCode]" + name="ErrorCode" + specialFlags="1" /> - - - - - - - - - - - - - - - - - - - @@ -8953,14 +7256,13 @@ FROM PAM_AGENT_ASSIGNMENT acq + version="4"> + name="OpenRowset">[etl].[ETL_ERROR_LOG] SELECT acq.AGENT_ASSIGNMENT_ID AS PAIMS_ACQUISITION_FILE_ID - , DECODE(acq.CLOSED_DATE, NULL, DECODE(acq.SETTLED_FLAG, 'Y', 'CLOSED', 'ACTIVE'), 'CLOSED') AS ACQUISITION_FILE_STATUS_TYPE_CODE - , DECODE(acq.ACQUISITION_CODE, 'C', 'CONSEN', 'A', 'SECTN3', 'E', 'SECTN6') AS ACQUISITION_TYPE_CODE - , acq.REGION_NO AS REGION_CODE - , LTRIM(TO_CHAR (prj.FMIS_NO , '00009' ) ) AS MINISTRY_PROJECT_NUMBER - , DECODE(UPPER(prj.NAME ) , UPPER(sub.NAME ) , prj.NAME , prj.NAME || ' - ' || sub.NAME ) AS MINISTRY_PROJECT_NAME - , acq.NAME AS FILE_NAME - , acq.AGENT_ASSIGNMENT_NO AS FILE_NO - , acq.AGENT_ASSIGNMENT_NO_PREFIX || '-' || acq.AGENT_ASSIGNMENT_NO || '-' || COALESCE(acq.AGENT_ASSIGNMENT_NO_SUFFIX, '01') AS FILE_NUMBER - , acq.ASSIGNED_DATE AS ASSIGNED_DATE - , acq.DELIVERY_DATE AS DELIVERY_DATE - , 'EXPRAGENT' AS EXP_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE - , exp.NAME AS EXP_AGT_PERSON_FIRST_NAME_SURNAME - , 'EXP AGT ID: ' || exp.PROPERTY_EMPLOYEE_ID AS EXP_AGT_PERSON_COMMENT_ID - , 'EXP AGT ORG: ' || exp.COMPANY_NAME AS EXP_AGT_PERSON_COMMENT_ORG - , exp.REGION_NO AS EXP_AGT_PERSON_REGION - , exp.ADDRESS_LINE_1 AS EXP_AGT_STREET_ADDRESS_1 - , exp.ADDRESS_LINE_2 AS EXP_AGT_STREET_ADDRESS_2 - , exp.CITY AS EXP_AGT_MUNICIPALITY_NAME - , exp.POSTAL_CODE AS EXP_AGT_POSTAL_CODE - , exp.PROVINCE AS EXP_AGT_PROVINCE - , exp.PHONE_NO AS EXP_AGT_WORKPHONE - , exp.CELL_PHONE_NUMBER AS EXP_AGT_WORKMOBIL - , exp.FAX_NO AS EXP_AGT_FAX - , exp.EMAIL_ADDRESS AS EXP_AGT_WORKEMAIL -FROM PAM_AGENT_ASSIGNMENT acq JOIN - PAM_PROPERTY_EMPLOYEE prp ON prp.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID JOIN - PAM_SUB_PROJECT sub ON sub.SUB_PROJECT_ID = acq.SUB_PROJECT_ID LEFT OUTER JOIN - HWY_MINISTRY_PROJECT prj ON prj.MINISTRY_PROJECT_ID = sub.MINISTRY_PROJECT_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE cor ON cor.PROPERTY_EMPLOYEE_ID = acq.COORD_PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE neg ON neg.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE exp ON exp.PROPERTY_EMPLOYEE_ID = acq.EXPR_PROPERTY_EMPLOYEE_ID - where exp.FAX_NO is not null - + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> true + name="AlwaysUseDefaultCodePage">false 2 + typeConverter="AccessMode">3 + false + false + description="Specifies options to be used with fast load. Applies only if fast load is turned on." + name="FastLoadOptions">TABLOCK,CHECK_CONSTRAINTS + 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - - - - + name="ERROR_TIME" /> + length="100" + name="ERROR_OPERATION_NAME" /> + length="100" + name="ERROR_TASK_NAME" /> - + length="100" + name="ERROR_ETL_NAME" /> + refId="Package\Load Interest Holder Contact Method\ETL ERROR LOG 2 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ROW]" + dataType="nText" + name="ERROR_ROW" /> + refId="Package\Load Interest Holder Contact Method\ETL ERROR LOG 2 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_CODE]" + dataType="i4" + name="ERROR_CODE" /> + refId="Package\Load Interest Holder Contact Method\ETL ERROR LOG 2 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_COLUMN]" + dataType="i4" + name="ERROR_COLUMN" /> - + + + + name="OLE DB Destination Error Output" + synchronousInputId="Package\Load Interest Holder Contact Method\ETL ERROR LOG 2 1.Inputs[OLE DB Destination Input]"> - - - - - - - - - - - - - - - - - - - - - - - - - @@ -9593,638 +7436,173 @@ FROM PAM_AGENT_ASSIGNMENT acq + version="6"> - 0 - "APP_PAM"."PAM_INTEREST_HOLDER" - SELECT acq.AGENT_ASSIGNMENT_ID AS PAIMS_ACQUISITION_FILE_ID - , DECODE(acq.CLOSED_DATE, NULL, DECODE(acq.SETTLED_FLAG, 'Y', 'CLOSED', 'ACTIVE'), 'CLOSED') AS ACQUISITION_FILE_STATUS_TYPE_CODE - , DECODE(acq.ACQUISITION_CODE, 'C', 'CONSEN', 'A', 'SECTN3', 'E', 'SECTN6') AS ACQUISITION_TYPE_CODE - , acq.REGION_NO AS REGION_CODE - , LTRIM(TO_CHAR (prj.FMIS_NO , '00009' ) ) AS MINISTRY_PROJECT_NUMBER - , DECODE(UPPER(prj.NAME ) , UPPER(sub.NAME ) , prj.NAME , prj.NAME || ' - ' || sub.NAME ) AS MINISTRY_PROJECT_NAME - , acq.NAME AS FILE_NAME - , acq.AGENT_ASSIGNMENT_NO AS FILE_NO - , acq.AGENT_ASSIGNMENT_NO_PREFIX || '-' || acq.AGENT_ASSIGNMENT_NO || '-' || COALESCE(acq.AGENT_ASSIGNMENT_NO_SUFFIX, '01') AS FILE_NUMBER - , acq.ASSIGNED_DATE AS ASSIGNED_DATE - , acq.DELIVERY_DATE AS DELIVERY_DATE - , 'EXPRAGENT' AS EXP_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE - , exp.NAME AS EXP_AGT_PERSON_FIRST_NAME_SURNAME - , 'EXP AGT ID: ' || exp.PROPERTY_EMPLOYEE_ID AS EXP_AGT_PERSON_COMMENT_ID - , 'EXP AGT ORG: ' || exp.COMPANY_NAME AS EXP_AGT_PERSON_COMMENT_ORG - , exp.REGION_NO AS EXP_AGT_PERSON_REGION - , exp.ADDRESS_LINE_1 AS EXP_AGT_STREET_ADDRESS_1 - , exp.ADDRESS_LINE_2 AS EXP_AGT_STREET_ADDRESS_2 - , exp.CITY AS EXP_AGT_MUNICIPALITY_NAME - , exp.POSTAL_CODE AS EXP_AGT_POSTAL_CODE - , exp.PROVINCE AS EXP_AGT_PROVINCE - , exp.PHONE_NO AS EXP_AGT_WORKPHONE - , exp.CELL_PHONE_NUMBER AS EXP_AGT_WORKMOBIL - , exp.FAX_NO AS EXP_AGT_FAX - , exp.EMAIL_ADDRESS AS EXP_AGT_WORKEMAIL -FROM PAM_AGENT_ASSIGNMENT acq JOIN - PAM_PROPERTY_EMPLOYEE prp ON prp.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID JOIN - PAM_SUB_PROJECT sub ON sub.SUB_PROJECT_ID = acq.SUB_PROJECT_ID LEFT OUTER JOIN - HWY_MINISTRY_PROJECT prj ON prj.MINISTRY_PROJECT_ID = sub.MINISTRY_PROJECT_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE cor ON cor.PROPERTY_EMPLOYEE_ID = acq.COORD_PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE neg ON neg.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE exp ON exp.PROPERTY_EMPLOYEE_ID = acq.EXPR_PROPERTY_EMPLOYEE_ID - where exp.CELL_PHONE_NUMBER is not null + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_CONTACT_METHOD] + description="Specifies a SQL statement that uses parameters to generate the lookup table." + expressionType="Notify" + name="SqlCommandParam" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_CONTACT_METHOD]) [refTable] +where [refTable].[CONTACT_METHOD_TYPE_CODE] = ? and [refTable].[CONTACT_METHOD_VALUE] = ? and [refTable].[ORGANIZATION_ID] = ? 1252 + description="Specifies the type of connection used to access the reference dataset." + name="ConnectionType" + typeConverter="LookupConnectionType">0 true + dataType="System.Int32" + description="Specifies the cache type of the lookup table." + name="CacheType" + typeConverter="CacheType">0 2 + description="Specifies how the Lookup transformation handles rows without matching entries in the reference data set." + name="NoMatchBehavior" + typeConverter="LookupNoMatchBehavior">1 + 0 + 25 + 25 + description="Indicates whether to reference metadata in an XML format." + name="ReferenceMetadataXml"><referenceMetadata><referenceColumns><referenceColumn name="CONTACT_METHOD_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_VALUE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PREFERRED_METHOD" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]};#{Package\Load Interest Holder Contact Method\Data Conversion 5.Outputs[Data Conversion Output].Columns[UNICODE_CONTACT_METHOD_VALUE]};#{Package\Load Interest Holder Contact Method\ORGANIZATION ID.Outputs[Lookup Match Output].Columns[ORGANIZATION_ID]}; + 1252 + false + + + + + + CONTACT_METHOD_TYPE_CODE + + + + + + CONTACT_METHOD_VALUE + + + + + + ORGANIZATION_ID + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + refId="Package\Load Interest Holder Contact Method\Existing Contact Method records1.Outputs[Lookup Match Output]" + errorOrTruncationOperation="Lookup" + exclusionGroup="1" + name="Lookup Match Output" + synchronousInputId="Package\Load Interest Holder Contact Method\Existing Contact Method records1.Inputs[Lookup Input]"> + + + + + name="Lookup Error Output" + synchronousInputId="Package\Load Interest Holder Contact Method\Existing Contact Method records1.Inputs[Lookup Input]"> - - - - - - - - - - - - - - - - - - - - - - - - - @@ -10233,638 +7611,173 @@ FROM PAM_AGENT_ASSIGNMENT acq + version="6"> - 0 "APP_PAM"."PAM_INTEREST_HOLDER" + description="Specifies the SQL statement that generates the lookup table." + expressionType="Notify" + name="SqlCommand" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_CONTACT_METHOD] + description="Specifies a SQL statement that uses parameters to generate the lookup table." + expressionType="Notify" + name="SqlCommandParam" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_CONTACT_METHOD]) [refTable] +where [refTable].[CONTACT_METHOD_TYPE_CODE] = ? and [refTable].[CONTACT_METHOD_VALUE] = ? and [refTable].[PERSON_ID] = ? + 0 + 0 + 1 + 0 + 25 + 25 SELECT acq.AGENT_ASSIGNMENT_ID AS PAIMS_ACQUISITION_FILE_ID - , DECODE(acq.CLOSED_DATE, NULL, DECODE(acq.SETTLED_FLAG, 'Y', 'CLOSED', 'ACTIVE'), 'CLOSED') AS ACQUISITION_FILE_STATUS_TYPE_CODE - , DECODE(acq.ACQUISITION_CODE, 'C', 'CONSEN', 'A', 'SECTN3', 'E', 'SECTN6') AS ACQUISITION_TYPE_CODE - , acq.REGION_NO AS REGION_CODE - , LTRIM(TO_CHAR (prj.FMIS_NO , '00009' ) ) AS MINISTRY_PROJECT_NUMBER - , DECODE(UPPER(prj.NAME ) , UPPER(sub.NAME ) , prj.NAME , prj.NAME || ' - ' || sub.NAME ) AS MINISTRY_PROJECT_NAME - , acq.NAME AS FILE_NAME - , acq.AGENT_ASSIGNMENT_NO AS FILE_NO - , acq.AGENT_ASSIGNMENT_NO_PREFIX || '-' || acq.AGENT_ASSIGNMENT_NO || '-' || COALESCE(acq.AGENT_ASSIGNMENT_NO_SUFFIX, '01') AS FILE_NUMBER - , acq.ASSIGNED_DATE AS ASSIGNED_DATE - , acq.DELIVERY_DATE AS DELIVERY_DATE - , 'EXPRAGENT' AS EXP_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE - , exp.NAME AS EXP_AGT_PERSON_FIRST_NAME_SURNAME - , 'EXP AGT ID: ' || exp.PROPERTY_EMPLOYEE_ID AS EXP_AGT_PERSON_COMMENT_ID - , 'EXP AGT ORG: ' || exp.COMPANY_NAME AS EXP_AGT_PERSON_COMMENT_ORG - , exp.REGION_NO AS EXP_AGT_PERSON_REGION - , exp.ADDRESS_LINE_1 AS EXP_AGT_STREET_ADDRESS_1 - , exp.ADDRESS_LINE_2 AS EXP_AGT_STREET_ADDRESS_2 - , exp.CITY AS EXP_AGT_MUNICIPALITY_NAME - , exp.POSTAL_CODE AS EXP_AGT_POSTAL_CODE - , exp.PROVINCE AS EXP_AGT_PROVINCE - , exp.PHONE_NO AS EXP_AGT_WORKPHONE - , exp.CELL_PHONE_NUMBER AS EXP_AGT_WORKMOBIL - , exp.FAX_NO AS EXP_AGT_FAX - , exp.EMAIL_ADDRESS AS EXP_AGT_WORKEMAIL -FROM PAM_AGENT_ASSIGNMENT acq JOIN - PAM_PROPERTY_EMPLOYEE prp ON prp.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID JOIN - PAM_SUB_PROJECT sub ON sub.SUB_PROJECT_ID = acq.SUB_PROJECT_ID LEFT OUTER JOIN - HWY_MINISTRY_PROJECT prj ON prj.MINISTRY_PROJECT_ID = sub.MINISTRY_PROJECT_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE cor ON cor.PROPERTY_EMPLOYEE_ID = acq.COORD_PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE neg ON neg.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE exp ON exp.PROPERTY_EMPLOYEE_ID = acq.EXPR_PROPERTY_EMPLOYEE_ID - where exp.PHONE_NO is not null + description="Indicates whether to reference metadata in an XML format." + name="ReferenceMetadataXml"><referenceMetadata><referenceColumns><referenceColumn name="CONTACT_METHOD_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_VALUE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PREFERRED_METHOD" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + description="Specifies the list of lineage identifiers that map to the parameters that the SQL statement in the SQLCommand property uses. Entries in the list are separated by semicolons." + name="ParameterMap">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]};#{Package\Load Interest Holder Contact Method\Data Conversion 5.Outputs[Data Conversion Output].Columns[UNICODE_CONTACT_METHOD_VALUE]};#{Package\Load Interest Holder Contact Method\PERSON ID.Outputs[Lookup Match Output].Columns[PERSON_ID]}; 1252 true - 2 - + description="Determines whether duplicate keys in the reference data should be treated as errors when full cache mode is used." + name="TreatDuplicateKeysAsError">false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + CONTACT_METHOD_TYPE_CODE + + + + + + CONTACT_METHOD_VALUE + + + + + + PERSON_ID + + + + + + + + + + + + + + name="Lookup Error Output" + synchronousInputId="Package\Load Interest Holder Contact Method\Existing Contact_Method records.Inputs[Lookup Input]"> - - - - - - - - - - - - - - - - - - - - - - - - - @@ -10873,11 +7786,11 @@ FROM PAM_AGENT_ASSIGNMENT acq @@ -10930,7 +7843,7 @@ FROM PAM_AGENT_ASSIGNMENT acq + externalMetadataColumnId="Package\Load Interest Holder Contact Method\INSERT PIMS_CONTACT_METHOD FOR ORGANIZATION.Inputs[OLE DB Destination Input].ExternalColumns[CONTACT_METHOD_TYPE_CODE]" + lineageId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]" /> + + cachedName="AUDIT_TRAIL_APP_CREATE_USERID" + externalMetadataColumnId="Package\Load Interest Holder Contact Method\INSERT PIMS_CONTACT_METHOD FOR ORGANIZATION.Inputs[OLE DB Destination Input].ExternalColumns[APP_CREATE_USERID]" + lineageId="Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USERID]" /> + cachedName="AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY" + externalMetadataColumnId="Package\Load Interest Holder Contact Method\INSERT PIMS_CONTACT_METHOD FOR ORGANIZATION.Inputs[OLE DB Destination Input].ExternalColumns[APP_CREATE_USER_DIRECTORY]" + lineageId="Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]" /> + cachedName="AUDIT_TRAIL_APP_LAST_UPDATE_USERID" + externalMetadataColumnId="Package\Load Interest Holder Contact Method\INSERT PIMS_CONTACT_METHOD FOR ORGANIZATION.Inputs[OLE DB Destination Input].ExternalColumns[APP_LAST_UPDATE_USERID]" + lineageId="Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_LAST_UPDATE_USERID]" /> - + cachedLength="12" + cachedName="AUDIT_TRAIL_APP_LAST_UPDATE_USER_DIRECTORY" + externalMetadataColumnId="Package\Load Interest Holder Contact Method\INSERT PIMS_CONTACT_METHOD FOR ORGANIZATION.Inputs[OLE DB Destination Input].ExternalColumns[APP_LAST_UPDATE_USER_DIRECTORY]" + lineageId="Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_LAST_UPDATE_USER_DIRECTORY]" /> + cachedLength="50" + cachedName="UNICODE_CONTACT_METHOD_VALUE" + externalMetadataColumnId="Package\Load Interest Holder Contact Method\INSERT PIMS_CONTACT_METHOD FOR ORGANIZATION.Inputs[OLE DB Destination Input].ExternalColumns[CONTACT_METHOD_VALUE]" + lineageId="Package\Load Interest Holder Contact Method\Data Conversion 5.Outputs[Data Conversion Output].Columns[UNICODE_CONTACT_METHOD_VALUE]" /> @@ -11084,118 +7997,22 @@ FROM PAM_AGENT_ASSIGNMENT acq - - - - - - - - - - - - - - - - - - - - - - ![ISNULL](#{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[SurName]}) || ![ISNULL](#{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[FirstName]}) - !ISNULL(SurName) || !ISNULL(FirstName) - 0 - - - - - - true - - - - + synchronousInputId="Package\Load Interest Holder Contact Method\INSERT PIMS_CONTACT_METHOD FOR ORGANIZATION.Inputs[OLE DB Destination Input]"> @@ -11204,173 +8021,422 @@ FROM PAM_AGENT_ASSIGNMENT acq + version="4"> + 0 select * from [dbo].[PIMS_CONTACT_METHOD] + description="Specifies the name of the database object used to open a rowset." + name="OpenRowset">[dbo].[PIMS_CONTACT_METHOD] select * from (select * from [dbo].[PIMS_CONTACT_METHOD]) [refTable] -where [refTable].[CONTACT_METHOD_VALUE] = ? and [refTable].[CONTACT_METHOD_TYPE_CODE] = ? and [refTable].[PERSON_ID] = ? + description="Specifies the variable that contains the name of the database object used to open a rowset." + name="OpenRowsetVariable"> + 0 - 0 - 1 + description="Specifies the column code page to use when code page information is unavailable from the data source." + name="DefaultCodePage">1252 0 + dataType="System.Boolean" + description="Forces the use of the DefaultCodePage property value when describing character data." + name="AlwaysUseDefaultCodePage">false 25 + description="Specifies the mode used to access the database." + name="AccessMode" + typeConverter="AccessMode">3 25 + dataType="System.Boolean" + description="Indicates whether the values supplied for identity columns will be copied to the destination. If false, values for identity columns will be auto-generated at the destination. Applies only if fast load is turned on." + name="FastLoadKeepIdentity">false <referenceMetadata><referenceColumns><referenceColumn name="CONTACT_METHOD_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_VALUE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PREFERRED_METHOD" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + dataType="System.Boolean" + description="Indicates whether the columns containing null will have null inserted in the destination. If false, columns containing null will have their default values inserted at the destination. Applies only if fast load is turned on." + name="FastLoadKeepNulls">false #{Package\Load Acquisition Contact Method\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of CONTACT_METHOD]};#{Package\Load Acquisition Contact Method\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of CONTACT_METHOD_TYPE_CODE]};#{Package\Load Acquisition Contact Method\Person ID.Outputs[Lookup Match Output].Columns[PERSON_ID]}; + description="Specifies options to be used with fast load. Applies only if fast load is turned on." + name="FastLoadOptions">TABLOCK,CHECK_CONSTRAINTS 1252 - false + description="Specifies when commits are issued during data insertion. A value of 0 specifies that one commit will be issued at the end of data insertion. Applies only if fast load is turned on." + name="FastLoadMaxInsertCommitSize">2147483647 + refId="Package\Load Interest Holder Contact Method\Insert PIMS_CONTACT_METHOD FOR PERSON.Inputs[OLE DB Destination Input]" + errorOrTruncationOperation="Insert" + errorRowDisposition="RedirectRow" + hasSideEffects="true" + name="OLE DB Destination Input"> - - CONTACT_METHOD_VALUE - - - - - - CONTACT_METHOD_TYPE_CODE - - - + cachedName="CONTACT_METHOD_TYPE_CODE" + externalMetadataColumnId="Package\Load Interest Holder Contact Method\Insert PIMS_CONTACT_METHOD FOR PERSON.Inputs[OLE DB Destination Input].ExternalColumns[CONTACT_METHOD_TYPE_CODE]" + lineageId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]" /> - - PERSON_ID - - - + externalMetadataColumnId="Package\Load Interest Holder Contact Method\Insert PIMS_CONTACT_METHOD FOR PERSON.Inputs[OLE DB Destination Input].ExternalColumns[PERSON_ID]" + lineageId="Package\Load Interest Holder Contact Method\PERSON ID.Outputs[Lookup Match Output].Columns[PERSON_ID]" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + name="Organization" + synchronousInputId="Package\Load Interest Holder Contact Method\IS ORGANIZATION.Inputs[Conditional Split Input]" + truncationRowDisposition="FailComponent"> + + ![ISNULL](#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]}) + !ISNULL(ORGANIZATION_NAME) + 0 + + name="Conditional Split Default Output" + synchronousInputId="Package\Load Interest Holder Contact Method\IS ORGANIZATION.Inputs[Conditional Split Input]"> + + true + + name="Conditional Split Error Output" + synchronousInputId="Package\Load Interest Holder Contact Method\IS ORGANIZATION.Inputs[Conditional Split Input]"> + + + + + + + + + + + + + + + + + + + + + + ![ISNULL](#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]}) || ![ISNULL](#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]}) + !ISNULL(SURNAME) || !ISNULL(FIRST_NAME) + 0 + + + + + + true + + + + @@ -11379,11 +8445,49 @@ where [refTable].[CONTACT_METHOD_VALUE] = ? and [refTable].[CONTACT_METHOD_TYPE_ + + + + + + + + + + + + + + + + + + @@ -11392,14 +8496,14 @@ where [refTable].[CONTACT_METHOD_VALUE] = ? and [refTable].[CONTACT_METHOD_TYPE_ description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_CONTACT_METHOD] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_ORGANIZATION] select * from (select * from [dbo].[PIMS_CONTACT_METHOD]) [refTable] -where [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[CONTACT_METHOD_VALUE] = ? and [refTable].[CONTACT_METHOD_TYPE_CODE] = ? and [refTable].[PERSON_ID] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] +where [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[APP_CREATE_USERID] = ? <referenceMetadata><referenceColumns><referenceColumn name="CONTACT_METHOD_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_VALUE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PREFERRED_METHOD" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + name="ReferenceMetadataXml"><referenceMetadata><referenceColumns><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PRNT_ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORG_IDENTIFIER_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_IDENTIFIER" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ALIAS" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="WEBSITE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="INCORPORATION_NUMBER" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> #{Package\Load Acquisition Contact Method\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]};#{Package\Load Acquisition Contact Method\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of CONTACT_METHOD]};#{Package\Load Acquisition Contact Method\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of CONTACT_METHOD_TYPE_CODE]};#{Package\Load Acquisition Contact Method\Person ID.Outputs[Lookup Match Output].Columns[PERSON_ID]}; + name="ParameterMap">#{Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]};#{Package\Load Interest Holder Contact Method\Data Conversion 5.Outputs[Data Conversion Output].Columns[UNICODE_AUDIT_TRAIL_APP_CREATE_USERID]}; - - CONTACT_METHOD_TYPE_CODE - - - - - - CONTACT_METHOD_VALUE - - - - + cachedLength="10" + cachedName="AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY" + lineageId="Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]"> PERSON_ID + name="JoinToReferenceColumn">APP_CREATE_USER_DIRECTORY + cachedLength="23" + cachedName="UNICODE_AUDIT_TRAIL_APP_CREATE_USERID" + lineageId="Package\Load Interest Holder Contact Method\Data Conversion 5.Outputs[Data Conversion Output].Columns[UNICODE_AUDIT_TRAIL_APP_CREATE_USERID]"> APP_CREATE_USER_DIRECTORY + name="JoinToReferenceColumn">APP_CREATE_USERID - - - + + + + ORGANIZATION_ID + + + + + + + synchronousInputId="Package\Load Interest Holder Contact Method\ORGANIZATION ID.Inputs[Lookup Input]"> + synchronousInputId="Package\Load Interest Holder Contact Method\ORGANIZATION ID.Inputs[Lookup Input]"> @@ -11571,42 +8658,11 @@ where [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[CONTACT_METHOD_ - - - - - - - - - - - - - - - @@ -11618,7 +8674,7 @@ where [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[CONTACT_METHOD_ "APP_PAM_MASKED"."PAM_INTEREST_HOLDER" + name="OpenRowset"> SELECT acq.AGENT_ASSIGNMENT_ID AS PAIMS_ACQUISITION_FILE_ID - , DECODE(acq.CLOSED_DATE, NULL, DECODE(acq.SETTLED_FLAG, 'Y', 'CLOSED', 'ACTIVE'), 'CLOSED') AS ACQUISITION_FILE_STATUS_TYPE_CODE - , DECODE(acq.ACQUISITION_CODE, 'C', 'CONSEN', 'A', 'SECTN3', 'E', 'SECTN6') AS ACQUISITION_TYPE_CODE - , acq.REGION_NO AS REGION_CODE - , LTRIM(TO_CHAR (prj.FMIS_NO , '00009' ) ) AS MINISTRY_PROJECT_NUMBER - , DECODE(UPPER(prj.NAME ) , UPPER(sub.NAME ) , prj.NAME , prj.NAME || ' - ' || sub.NAME ) AS MINISTRY_PROJECT_NAME - , acq.NAME AS FILE_NAME - , acq.AGENT_ASSIGNMENT_NO AS FILE_NO - , acq.AGENT_ASSIGNMENT_NO_PREFIX || '-' || acq.AGENT_ASSIGNMENT_NO || '-' || COALESCE(acq.AGENT_ASSIGNMENT_NO_SUFFIX, '01') AS FILE_NUMBER - , acq.ASSIGNED_DATE AS ASSIGNED_DATE - , acq.DELIVERY_DATE AS DELIVERY_DATE - , 'NEGOTAGENT' AS NEG_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE - , neg.NAME AS NEG_AGT_PERSON_FIRST_NAME_SURNAME - , 'NEG AGT ID: ' || neg.PROPERTY_EMPLOYEE_ID AS NEG_AGT_PERSON_COMMENT_ID - , 'NEG AGT ORG: ' || neg.COMPANY_NAME AS NEG_AGT_PERSON_COMMENT_ORG - , neg.REGION_NO AS NEG_AGT_PERSON_REGION - , neg.ADDRESS_LINE_1 AS NEG_AGT_STREET_ADDRESS_1 - , neg.ADDRESS_LINE_2 AS NEG_AGT_STREET_ADDRESS_2 - , neg.CITY AS NEG_AGT_MUNICIPALITY_NAME - , neg.POSTAL_CODE AS NEG_AGT_POSTAL_CODE - , neg.PROVINCE AS NEG_AGT_PROVINCE - , neg.PHONE_NO AS NEG_AGT_WORKPHONE - , neg.CELL_PHONE_NUMBER AS NEG_AGT_WORKMOBIL - , neg.FAX_NO AS NEG_AGT_FAX - , neg.EMAIL_ADDRESS AS NEG_AGT_WORKEMAIL -FROM PAM_AGENT_ASSIGNMENT acq JOIN - PAM_PROPERTY_EMPLOYEE prp ON prp.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID JOIN - PAM_SUB_PROJECT sub ON sub.SUB_PROJECT_ID = acq.SUB_PROJECT_ID LEFT OUTER JOIN - HWY_MINISTRY_PROJECT prj ON prj.MINISTRY_PROJECT_ID = sub.MINISTRY_PROJECT_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE cor ON cor.PROPERTY_EMPLOYEE_ID = acq.COORD_PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE neg ON neg.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE exp ON exp.PROPERTY_EMPLOYEE_ID = acq.EXPR_PROPERTY_EMPLOYEE_ID - where neg.EMAIL_ADDRESS is not null + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SELECT * +FROM APP_PAM.PAM_INTEREST_HOLDER +WHERE CELL_PHONE_NUMBER IS NOT NULL - - - - - - - - - - - - - - + name="AGENT_ID" + precision="10" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].ExternalColumns[CORPORATE_SEAL_FLAG]" + codePage="1252" + dataType="str" + length="1" + name="CORPORATE_SEAL_FLAG" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].ExternalColumns[SURNAME]" + codePage="1252" + dataType="str" + length="20" + name="SURNAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].ExternalColumns[FIRST_NAME]" + codePage="1252" + dataType="str" + length="15" + name="FIRST_NAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].ExternalColumns[MIDDLE_NAME]" + codePage="1252" + dataType="str" + length="50" + name="MIDDLE_NAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].ExternalColumns[ORG_INCORPORATION_NUMBER]" + codePage="1252" + dataType="str" + length="20" + name="ORG_INCORPORATION_NUMBER" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].ExternalColumns[ORGANIZATION_NAME]" + codePage="1252" + dataType="str" + length="200" + name="ORGANIZATION_NAME" /> - + name="LEGAL_ADDRESS_LINE_1" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].ExternalColumns[LEGAL_ADDRESS_LINE_2]" + codePage="1252" + dataType="str" + length="40" + name="LEGAL_ADDRESS_LINE_2" /> + name="LEGAL_ADDRESS_LINE_3" /> + name="CITY" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].ExternalColumns[PROVINCE]" + codePage="1252" + dataType="str" + length="2" + name="PROVINCE" /> + + name="POSTAL_CODE" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].ExternalColumns[HOME_PHONE_NO]" + dataType="numeric" + name="HOME_PHONE_NO" + precision="15" /> + name="WORK_PHONE_NO" + precision="15" /> + + + name="CELL_PHONE_NUMBER" + precision="15" /> + name="EMAIL_ADDRESS" /> - - + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Error Output].Columns[SURNAME]" + codePage="1252" + dataType="str" + length="20" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Error Output].Columns[SURNAME]" + name="SURNAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Error Output].Columns[FIRST_NAME]" + codePage="1252" + dataType="str" + length="15" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Error Output].Columns[FIRST_NAME]" + name="FIRST_NAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Error Output].Columns[MIDDLE_NAME]" + codePage="1252" + dataType="str" + length="50" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Error Output].Columns[MIDDLE_NAME]" + name="MIDDLE_NAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Error Output].Columns[ORGANIZATION_NAME]" + codePage="1252" + dataType="str" + length="200" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Error Output].Columns[ORGANIZATION_NAME]" + name="ORGANIZATION_NAME" /> - - - - - + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Error Output].Columns[LEGAL_ADDRESS_LINE_1]" + name="LEGAL_ADDRESS_LINE_1" /> - - - + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Error Output].Columns[LEGAL_ADDRESS_LINE_2]" + name="LEGAL_ADDRESS_LINE_2" /> + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Error Output].Columns[LEGAL_ADDRESS_LINE_3]" + name="LEGAL_ADDRESS_LINE_3" /> + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Error Output].Columns[CITY]" + name="CITY" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Error Output].Columns[PROVINCE]" + codePage="1252" + dataType="str" + length="2" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Error Output].Columns[PROVINCE]" + name="PROVINCE" /> + + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Error Output].Columns[POSTAL_CODE]" + name="POSTAL_CODE" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Error Output].Columns[LAST_UPDATE_USERID]" + codePage="1252" + dataType="str" + length="30" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Error Output].Columns[LAST_UPDATE_USERID]" + name="LAST_UPDATE_USERID" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Error Output].Columns[LAST_UPDATE_DATETIME]" + dataType="dbTimeStamp" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Error Output].Columns[LAST_UPDATE_DATETIME]" + name="LAST_UPDATE_DATETIME" /> - - - + + @@ -12258,7 +9157,7 @@ FROM PAM_AGENT_ASSIGNMENT acq + name="OpenRowset">"APP_PAM_MASKED"."PAM_INTEREST_HOLDER" SELECT acq.AGENT_ASSIGNMENT_ID AS PAIMS_ACQUISITION_FILE_ID - , DECODE(acq.CLOSED_DATE, NULL, DECODE(acq.SETTLED_FLAG, 'Y', 'CLOSED', 'ACTIVE'), 'CLOSED') AS ACQUISITION_FILE_STATUS_TYPE_CODE - , DECODE(acq.ACQUISITION_CODE, 'C', 'CONSEN', 'A', 'SECTN3', 'E', 'SECTN6') AS ACQUISITION_TYPE_CODE - , acq.REGION_NO AS REGION_CODE - , LTRIM(TO_CHAR (prj.FMIS_NO , '00009' ) ) AS MINISTRY_PROJECT_NUMBER - , DECODE(UPPER(prj.NAME ) , UPPER(sub.NAME ) , prj.NAME , prj.NAME || ' - ' || sub.NAME ) AS MINISTRY_PROJECT_NAME - , acq.NAME AS FILE_NAME - , acq.AGENT_ASSIGNMENT_NO AS FILE_NO - , acq.AGENT_ASSIGNMENT_NO_PREFIX || '-' || acq.AGENT_ASSIGNMENT_NO || '-' || COALESCE(acq.AGENT_ASSIGNMENT_NO_SUFFIX, '01') AS FILE_NUMBER - , acq.ASSIGNED_DATE AS ASSIGNED_DATE - , acq.DELIVERY_DATE AS DELIVERY_DATE - , 'NEGOTAGENT' AS NEG_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE - , neg.NAME AS NEG_AGT_PERSON_FIRST_NAME_SURNAME - , 'NEG AGT ID: ' || neg.PROPERTY_EMPLOYEE_ID AS NEG_AGT_PERSON_COMMENT_ID - , 'NEG AGT ORG: ' || neg.COMPANY_NAME AS NEG_AGT_PERSON_COMMENT_ORG - , neg.REGION_NO AS NEG_AGT_PERSON_REGION - , neg.ADDRESS_LINE_1 AS NEG_AGT_STREET_ADDRESS_1 - , neg.ADDRESS_LINE_2 AS NEG_AGT_STREET_ADDRESS_2 - , neg.CITY AS NEG_AGT_MUNICIPALITY_NAME - , neg.POSTAL_CODE AS NEG_AGT_POSTAL_CODE - , neg.PROVINCE AS NEG_AGT_PROVINCE - , neg.PHONE_NO AS NEG_AGT_WORKPHONE - , neg.CELL_PHONE_NUMBER AS NEG_AGT_WORKMOBIL - , neg.FAX_NO AS NEG_AGT_FAX - , neg.EMAIL_ADDRESS AS NEG_AGT_WORKEMAIL -FROM PAM_AGENT_ASSIGNMENT acq JOIN - PAM_PROPERTY_EMPLOYEE prp ON prp.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID JOIN - PAM_SUB_PROJECT sub ON sub.SUB_PROJECT_ID = acq.SUB_PROJECT_ID LEFT OUTER JOIN - HWY_MINISTRY_PROJECT prj ON prj.MINISTRY_PROJECT_ID = sub.MINISTRY_PROJECT_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE cor ON cor.PROPERTY_EMPLOYEE_ID = acq.COORD_PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE neg ON neg.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE exp ON exp.PROPERTY_EMPLOYEE_ID = acq.EXPR_PROPERTY_EMPLOYEE_ID - where neg.FAX_NO is not null + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SELECT * +FROM APP_PAM.PAM_INTEREST_HOLDER +WHERE EMAIL_ADDRESS IS NOT NULL - - - - - - - - - - - - - - - - - + name="AGENT_ID" + precision="10" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Output].ExternalColumns[CORPORATE_SEAL_FLAG]" + codePage="1252" + dataType="str" + length="1" + name="CORPORATE_SEAL_FLAG" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Output].ExternalColumns[SURNAME]" + codePage="1252" + dataType="str" + length="20" + name="SURNAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Output].ExternalColumns[FIRST_NAME]" + codePage="1252" + dataType="str" + length="15" + name="FIRST_NAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Output].ExternalColumns[MIDDLE_NAME]" + codePage="1252" + dataType="str" + length="50" + name="MIDDLE_NAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Output].ExternalColumns[ORG_INCORPORATION_NUMBER]" + codePage="1252" + dataType="str" + length="20" + name="ORG_INCORPORATION_NUMBER" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Output].ExternalColumns[ORGANIZATION_NAME]" + codePage="1252" + dataType="str" + length="200" + name="ORGANIZATION_NAME" /> - + name="LEGAL_ADDRESS_LINE_1" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Output].ExternalColumns[LEGAL_ADDRESS_LINE_2]" + codePage="1252" + dataType="str" + length="40" + name="LEGAL_ADDRESS_LINE_2" /> + name="LEGAL_ADDRESS_LINE_3" /> + name="CITY" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Output].ExternalColumns[PROVINCE]" + codePage="1252" + dataType="str" + length="2" + name="PROVINCE" /> + + name="POSTAL_CODE" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Output].ExternalColumns[HOME_PHONE_NO]" + dataType="numeric" + name="HOME_PHONE_NO" + precision="15" /> + name="WORK_PHONE_NO" + precision="15" /> + + + name="CELL_PHONE_NUMBER" + precision="15" /> + name="EMAIL_ADDRESS" /> - - - + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Error Output].Columns[SURNAME]" + codePage="1252" + dataType="str" + length="20" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Error Output].Columns[SURNAME]" + name="SURNAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Error Output].Columns[FIRST_NAME]" + codePage="1252" + dataType="str" + length="15" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Error Output].Columns[FIRST_NAME]" + name="FIRST_NAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Error Output].Columns[MIDDLE_NAME]" + codePage="1252" + dataType="str" + length="50" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Error Output].Columns[MIDDLE_NAME]" + name="MIDDLE_NAME" /> - - - - - + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Error Output].Columns[LEGAL_ADDRESS_LINE_1]" + name="LEGAL_ADDRESS_LINE_1" /> - + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Error Output].Columns[LEGAL_ADDRESS_LINE_2]" + name="LEGAL_ADDRESS_LINE_2" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Error Output].Columns[LEGAL_ADDRESS_LINE_3]" + codePage="1252" + dataType="str" + length="40" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Error Output].Columns[LEGAL_ADDRESS_LINE_3]" + name="LEGAL_ADDRESS_LINE_3" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Error Output].Columns[LAST_UPDATE_USERID]" + codePage="1252" + dataType="str" + length="30" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Error Output].Columns[LAST_UPDATE_USERID]" + name="LAST_UPDATE_USERID" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Error Output].Columns[ErrorCode]" + dataType="i4" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Error Output].Columns[ErrorCode]" + name="ErrorCode" + specialFlags="1" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Error Output].Columns[ErrorColumn]" + dataType="i4" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Error Output].Columns[ErrorColumn]" + name="ErrorColumn" + specialFlags="2" /> - + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Error Output].Columns[CITY]" + name="CITY" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Error Output].Columns[LAST_UPDATE_DATETIME]" + dataType="dbTimeStamp" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Error Output].Columns[LAST_UPDATE_DATETIME]" + name="LAST_UPDATE_DATETIME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Error Output].Columns[ORGANIZATION_NAME]" + codePage="1252" + dataType="str" + length="200" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Error Output].Columns[ORGANIZATION_NAME]" + name="ORGANIZATION_NAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Error Output].Columns[EMAIL_ADDRESS]" + codePage="1252" + dataType="str" + length="80" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Error Output].Columns[EMAIL_ADDRESS]" + name="EMAIL_ADDRESS" /> - - - @@ -12907,39 +9596,9 @@ FROM PAM_AGENT_ASSIGNMENT acq dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SELECT acq.AGENT_ASSIGNMENT_ID AS PAIMS_ACQUISITION_FILE_ID - , DECODE(acq.CLOSED_DATE, NULL, DECODE(acq.SETTLED_FLAG, 'Y', 'CLOSED', 'ACTIVE'), 'CLOSED') AS ACQUISITION_FILE_STATUS_TYPE_CODE - , DECODE(acq.ACQUISITION_CODE, 'C', 'CONSEN', 'A', 'SECTN3', 'E', 'SECTN6') AS ACQUISITION_TYPE_CODE - , acq.REGION_NO AS REGION_CODE - , LTRIM(TO_CHAR (prj.FMIS_NO , '00009' ) ) AS MINISTRY_PROJECT_NUMBER - , DECODE(UPPER(prj.NAME ) , UPPER(sub.NAME ) , prj.NAME , prj.NAME || ' - ' || sub.NAME ) AS MINISTRY_PROJECT_NAME - , acq.NAME AS FILE_NAME - , acq.AGENT_ASSIGNMENT_NO AS FILE_NO - , acq.AGENT_ASSIGNMENT_NO_PREFIX || '-' || acq.AGENT_ASSIGNMENT_NO || '-' || COALESCE(acq.AGENT_ASSIGNMENT_NO_SUFFIX, '01') AS FILE_NUMBER - , acq.ASSIGNED_DATE AS ASSIGNED_DATE - , acq.DELIVERY_DATE AS DELIVERY_DATE - , 'NEGOTAGENT' AS NEG_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE - , neg.NAME AS NEG_AGT_PERSON_FIRST_NAME_SURNAME - , 'NEG AGT ID: ' || neg.PROPERTY_EMPLOYEE_ID AS NEG_AGT_PERSON_COMMENT_ID - , 'NEG AGT ORG: ' || neg.COMPANY_NAME AS NEG_AGT_PERSON_COMMENT_ORG - , neg.REGION_NO AS NEG_AGT_PERSON_REGION - , neg.ADDRESS_LINE_1 AS NEG_AGT_STREET_ADDRESS_1 - , neg.ADDRESS_LINE_2 AS NEG_AGT_STREET_ADDRESS_2 - , neg.CITY AS NEG_AGT_MUNICIPALITY_NAME - , neg.POSTAL_CODE AS NEG_AGT_POSTAL_CODE - , neg.PROVINCE AS NEG_AGT_PROVINCE - , neg.PHONE_NO AS NEG_AGT_WORKPHONE - , neg.CELL_PHONE_NUMBER AS NEG_AGT_WORKMOBIL - , neg.FAX_NO AS NEG_AGT_FAX - , neg.EMAIL_ADDRESS AS NEG_AGT_WORKEMAIL -FROM PAM_AGENT_ASSIGNMENT acq JOIN - PAM_PROPERTY_EMPLOYEE prp ON prp.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID JOIN - PAM_SUB_PROJECT sub ON sub.SUB_PROJECT_ID = acq.SUB_PROJECT_ID LEFT OUTER JOIN - HWY_MINISTRY_PROJECT prj ON prj.MINISTRY_PROJECT_ID = sub.MINISTRY_PROJECT_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE cor ON cor.PROPERTY_EMPLOYEE_ID = acq.COORD_PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE neg ON neg.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE exp ON exp.PROPERTY_EMPLOYEE_ID = acq.EXPR_PROPERTY_EMPLOYEE_ID - where neg.PHONE_NO is not null + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SELECT * +FROM APP_PAM.PAM_INTEREST_HOLDER +WHERE FAX_NO IS NOT NULL - - - - - - - - - - - - - - - - - + name="AGENT_ID" + precision="10" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Output].ExternalColumns[CORPORATE_SEAL_FLAG]" + codePage="1252" + dataType="str" + length="1" + name="CORPORATE_SEAL_FLAG" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Output].ExternalColumns[SURNAME]" + codePage="1252" + dataType="str" + length="20" + name="SURNAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Output].ExternalColumns[FIRST_NAME]" + codePage="1252" + dataType="str" + length="15" + name="FIRST_NAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Output].ExternalColumns[MIDDLE_NAME]" + codePage="1252" + dataType="str" + length="50" + name="MIDDLE_NAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Output].ExternalColumns[ORG_INCORPORATION_NUMBER]" + codePage="1252" + dataType="str" + length="20" + name="ORG_INCORPORATION_NUMBER" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Output].ExternalColumns[ORGANIZATION_NAME]" + codePage="1252" + dataType="str" + length="200" + name="ORGANIZATION_NAME" /> - + name="LEGAL_ADDRESS_LINE_1" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Output].ExternalColumns[LEGAL_ADDRESS_LINE_2]" + codePage="1252" + dataType="str" + length="40" + name="LEGAL_ADDRESS_LINE_2" /> + name="LEGAL_ADDRESS_LINE_3" /> + name="CITY" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Output].ExternalColumns[PROVINCE]" + codePage="1252" + dataType="str" + length="2" + name="PROVINCE" /> + + name="POSTAL_CODE" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Output].ExternalColumns[HOME_PHONE_NO]" + dataType="numeric" + name="HOME_PHONE_NO" + precision="15" /> + name="WORK_PHONE_NO" + precision="15" /> + + + name="CELL_PHONE_NUMBER" + precision="15" /> + name="EMAIL_ADDRESS" /> - - - + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Error Output].Columns[SURNAME]" + codePage="1252" + dataType="str" + length="20" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Error Output].Columns[SURNAME]" + name="SURNAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Error Output].Columns[FIRST_NAME]" + codePage="1252" + dataType="str" + length="15" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Error Output].Columns[FIRST_NAME]" + name="FIRST_NAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Error Output].Columns[MIDDLE_NAME]" + codePage="1252" + dataType="str" + length="50" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Error Output].Columns[MIDDLE_NAME]" + name="MIDDLE_NAME" /> - - - - - + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Error Output].Columns[LEGAL_ADDRESS_LINE_1]" + name="LEGAL_ADDRESS_LINE_1" /> - + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Error Output].Columns[LEGAL_ADDRESS_LINE_2]" + name="LEGAL_ADDRESS_LINE_2" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Error Output].Columns[LEGAL_ADDRESS_LINE_3]" + codePage="1252" + dataType="str" + length="40" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Error Output].Columns[LEGAL_ADDRESS_LINE_3]" + name="LEGAL_ADDRESS_LINE_3" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Error Output].Columns[LAST_UPDATE_USERID]" + codePage="1252" + dataType="str" + length="30" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Error Output].Columns[LAST_UPDATE_USERID]" + name="LAST_UPDATE_USERID" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Error Output].Columns[ErrorCode]" + dataType="i4" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Error Output].Columns[ErrorCode]" + name="ErrorCode" + specialFlags="1" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Error Output].Columns[ErrorColumn]" + dataType="i4" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Error Output].Columns[ErrorColumn]" + name="ErrorColumn" + specialFlags="2" /> - + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Error Output].Columns[CITY]" + name="CITY" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Error Output].Columns[LAST_UPDATE_DATETIME]" + dataType="dbTimeStamp" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Error Output].Columns[LAST_UPDATE_DATETIME]" + name="LAST_UPDATE_DATETIME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Error Output].Columns[ORGANIZATION_NAME]" + codePage="1252" + dataType="str" + length="200" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Error Output].Columns[ORGANIZATION_NAME]" + name="ORGANIZATION_NAME" /> - - - @@ -13547,39 +10025,9 @@ FROM PAM_AGENT_ASSIGNMENT acq dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SELECT acq.AGENT_ASSIGNMENT_ID AS PAIMS_ACQUISITION_FILE_ID - , DECODE(acq.CLOSED_DATE, NULL, DECODE(acq.SETTLED_FLAG, 'Y', 'CLOSED', 'ACTIVE'), 'CLOSED') AS ACQUISITION_FILE_STATUS_TYPE_CODE - , DECODE(acq.ACQUISITION_CODE, 'C', 'CONSEN', 'A', 'SECTN3', 'E', 'SECTN6') AS ACQUISITION_TYPE_CODE - , acq.REGION_NO AS REGION_CODE - , LTRIM(TO_CHAR (prj.FMIS_NO , '00009' ) ) AS MINISTRY_PROJECT_NUMBER - , DECODE(UPPER(prj.NAME ) , UPPER(sub.NAME ) , prj.NAME , prj.NAME || ' - ' || sub.NAME ) AS MINISTRY_PROJECT_NAME - , acq.NAME AS FILE_NAME - , acq.AGENT_ASSIGNMENT_NO AS FILE_NO - , acq.AGENT_ASSIGNMENT_NO_PREFIX || '-' || acq.AGENT_ASSIGNMENT_NO || '-' || COALESCE(acq.AGENT_ASSIGNMENT_NO_SUFFIX, '01') AS FILE_NUMBER - , acq.ASSIGNED_DATE AS ASSIGNED_DATE - , acq.DELIVERY_DATE AS DELIVERY_DATE - , 'NEGOTAGENT' AS NEG_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE - , neg.NAME AS NEG_AGT_PERSON_FIRST_NAME_SURNAME - , 'NEG AGT ID: ' || neg.PROPERTY_EMPLOYEE_ID AS NEG_AGT_PERSON_COMMENT_ID - , 'NEG AGT ORG: ' || neg.COMPANY_NAME AS NEG_AGT_PERSON_COMMENT_ORG - , neg.REGION_NO AS NEG_AGT_PERSON_REGION - , neg.ADDRESS_LINE_1 AS NEG_AGT_STREET_ADDRESS_1 - , neg.ADDRESS_LINE_2 AS NEG_AGT_STREET_ADDRESS_2 - , neg.CITY AS NEG_AGT_MUNICIPALITY_NAME - , neg.POSTAL_CODE AS NEG_AGT_POSTAL_CODE - , neg.PROVINCE AS NEG_AGT_PROVINCE - , neg.PHONE_NO AS NEG_AGT_WORKPHONE - , neg.CELL_PHONE_NUMBER AS NEG_AGT_WORKMOBIL - , neg.FAX_NO AS NEG_AGT_FAX - , neg.EMAIL_ADDRESS AS NEG_AGT_WORKEMAIL -FROM PAM_AGENT_ASSIGNMENT acq JOIN - PAM_PROPERTY_EMPLOYEE prp ON prp.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID JOIN - PAM_SUB_PROJECT sub ON sub.SUB_PROJECT_ID = acq.SUB_PROJECT_ID LEFT OUTER JOIN - HWY_MINISTRY_PROJECT prj ON prj.MINISTRY_PROJECT_ID = sub.MINISTRY_PROJECT_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE cor ON cor.PROPERTY_EMPLOYEE_ID = acq.COORD_PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE neg ON neg.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE exp ON exp.PROPERTY_EMPLOYEE_ID = acq.EXPR_PROPERTY_EMPLOYEE_ID - where neg.CELL_PHONE_NUMBER is not null + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SELECT * +FROM APP_PAM.PAM_INTEREST_HOLDER +WHERE HOME_PHONE_NO IS NOT NULL - - - - - - - - - - - - - - - - - + name="AGENT_ID" + precision="10" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Output].ExternalColumns[CORPORATE_SEAL_FLAG]" + codePage="1252" + dataType="str" + length="1" + name="CORPORATE_SEAL_FLAG" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Output].ExternalColumns[SURNAME]" + codePage="1252" + dataType="str" + length="20" + name="SURNAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Output].ExternalColumns[FIRST_NAME]" + codePage="1252" + dataType="str" + length="15" + name="FIRST_NAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Output].ExternalColumns[MIDDLE_NAME]" + codePage="1252" + dataType="str" + length="50" + name="MIDDLE_NAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Output].ExternalColumns[ORG_INCORPORATION_NUMBER]" + codePage="1252" + dataType="str" + length="20" + name="ORG_INCORPORATION_NUMBER" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Output].ExternalColumns[ORGANIZATION_NAME]" + codePage="1252" + dataType="str" + length="200" + name="ORGANIZATION_NAME" /> - + name="LEGAL_ADDRESS_LINE_1" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Output].ExternalColumns[LEGAL_ADDRESS_LINE_2]" + codePage="1252" + dataType="str" + length="40" + name="LEGAL_ADDRESS_LINE_2" /> + name="LEGAL_ADDRESS_LINE_3" /> + name="CITY" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Output].ExternalColumns[PROVINCE]" + codePage="1252" + dataType="str" + length="2" + name="PROVINCE" /> + + name="POSTAL_CODE" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Output].ExternalColumns[HOME_PHONE_NO]" + dataType="numeric" + name="HOME_PHONE_NO" + precision="15" /> + name="WORK_PHONE_NO" + precision="15" /> + + + name="CELL_PHONE_NUMBER" + precision="15" /> + name="EMAIL_ADDRESS" /> - - - - - - - - - - - - - + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[SURNAME]" + codePage="1252" + dataType="str" + length="20" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[SURNAME]" + name="SURNAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[FIRST_NAME]" + codePage="1252" + dataType="str" + length="15" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[FIRST_NAME]" + name="FIRST_NAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[MIDDLE_NAME]" + codePage="1252" + dataType="str" + length="50" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[MIDDLE_NAME]" + name="MIDDLE_NAME" /> + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[LEGAL_ADDRESS_LINE_1]" + name="LEGAL_ADDRESS_LINE_1" /> + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[LEGAL_ADDRESS_LINE_2]" + name="LEGAL_ADDRESS_LINE_2" /> - - - + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[LEGAL_ADDRESS_LINE_3]" + name="LEGAL_ADDRESS_LINE_3" /> - - - - - - - - - - select * from [dbo].[PIMS_PERSON] - select * from (select * from [dbo].[PIMS_PERSON]) [refTable] -where [refTable].[APP_CREATE_USER_DIRECTORY] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURNAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="FIRST_NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="MIDDLE_NAMES" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME_SUFFIX" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="PREFERRED_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="BIRTH_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="USE_ORGANIZATION_ADDRESS" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Acquisition Contact Method\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]}; - 1252 - false - - - - - - - - - - APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - PERSON_ID - - - - - - - - - - + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[CITY]" + codePage="1252" + dataType="str" + length="40" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[CITY]" + name="CITY" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[ORGANIZATION_NAME]" + codePage="1252" + dataType="str" + length="200" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[ORGANIZATION_NAME]" + name="ORGANIZATION_NAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[LAST_UPDATE_USERID]" + codePage="1252" + dataType="str" + length="30" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[LAST_UPDATE_USERID]" + name="LAST_UPDATE_USERID" /> + + @@ -14336,7 +10445,7 @@ where [refTable].[APP_CREATE_USER_DIRECTORY] = ? "APP_PAM_MASKED"."PAM_INTEREST_HOLDER" + name="OpenRowset">"APP_PAM"."PAM_INTEREST_HOLDER" dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SELECT acq.AGENT_ASSIGNMENT_ID AS PAIMS_ACQUISITION_FILE_ID - , DECODE(acq.CLOSED_DATE, NULL, DECODE(acq.SETTLED_FLAG, 'Y', 'CLOSED', 'ACTIVE'), 'CLOSED') AS ACQUISITION_FILE_STATUS_TYPE_CODE - , DECODE(acq.ACQUISITION_CODE, 'C', 'CONSEN', 'A', 'SECTN3', 'E', 'SECTN6') AS ACQUISITION_TYPE_CODE - , acq.REGION_NO AS REGION_CODE - , LTRIM(TO_CHAR (prj.FMIS_NO , '00009' ) ) AS MINISTRY_PROJECT_NUMBER - , DECODE(UPPER(prj.NAME ) , UPPER(sub.NAME ) , prj.NAME , prj.NAME || ' - ' || sub.NAME ) AS MINISTRY_PROJECT_NAME - , acq.NAME AS FILE_NAME - , acq.AGENT_ASSIGNMENT_NO AS FILE_NO - , acq.AGENT_ASSIGNMENT_NO_PREFIX || '-' || acq.AGENT_ASSIGNMENT_NO || '-' || COALESCE(acq.AGENT_ASSIGNMENT_NO_SUFFIX, '01') AS FILE_NUMBER - , acq.ASSIGNED_DATE AS ASSIGNED_DATE - , acq.DELIVERY_DATE AS DELIVERY_DATE - , 'PROPCOORD' AS PROP_COORD_ACQ_FL_PERSON_PROFILE_TYPE_CODE - , cor.NAME AS PROP_COORD_PERSON_FIRST_NAME_SURNAME - , 'PROP COORD ID: ' || cor.PROPERTY_EMPLOYEE_ID AS PROP_COORD_PERSON_COMMENT_ID - , 'PROP COORD ORG: ' || cor.COMPANY_NAME AS PROP_COORD_PERSON_COMMENT_ORG - , cor.REGION_NO AS PROP_COORD_PERSON_REGION - , cor.ADDRESS_LINE_1 AS PROP_COORD_STREET_ADDRESS_1 - , cor.ADDRESS_LINE_2 AS PROP_COORD_STREET_ADDRESS_2 - , cor.CITY AS PROP_COORD_MUNICIPALITY_NAME - , cor.POSTAL_CODE AS PROP_COORD_POSTAL_CODE - , cor.PROVINCE AS PROP_COORD_PROVINCE - , cor.PHONE_NO AS PROP_COORD_WORKPHONE - , cor.CELL_PHONE_NUMBER AS PROP_COORD_WORKMOBIL - , cor.FAX_NO AS PROP_COORD_FAX - , cor.EMAIL_ADDRESS AS PROP_COORD_WORKEMAIL -FROM PAM_AGENT_ASSIGNMENT acq JOIN - PAM_PROPERTY_EMPLOYEE prp ON prp.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID JOIN - PAM_SUB_PROJECT sub ON sub.SUB_PROJECT_ID = acq.SUB_PROJECT_ID LEFT OUTER JOIN - HWY_MINISTRY_PROJECT prj ON prj.MINISTRY_PROJECT_ID = sub.MINISTRY_PROJECT_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE cor ON cor.PROPERTY_EMPLOYEE_ID = acq.COORD_PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE neg ON neg.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE exp ON exp.PROPERTY_EMPLOYEE_ID = acq.EXPR_PROPERTY_EMPLOYEE_ID - where cor.EMAIL_ADDRESS is not null + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SELECT * +FROM APP_PAM.PAM_INTEREST_HOLDER +WHERE WORK_PHONE_NO IS NOT NULL - - - - - - - - - - - - - - - - - + name="AGENT_ID" + precision="10" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Output].ExternalColumns[CORPORATE_SEAL_FLAG]" + codePage="1252" + dataType="str" + length="1" + name="CORPORATE_SEAL_FLAG" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Output].ExternalColumns[SURNAME]" + codePage="1252" + dataType="str" + length="20" + name="SURNAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Output].ExternalColumns[FIRST_NAME]" + codePage="1252" + dataType="str" + length="15" + name="FIRST_NAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Output].ExternalColumns[MIDDLE_NAME]" + codePage="1252" + dataType="str" + length="50" + name="MIDDLE_NAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Output].ExternalColumns[ORG_INCORPORATION_NUMBER]" + codePage="1252" + dataType="str" + length="20" + name="ORG_INCORPORATION_NUMBER" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Output].ExternalColumns[ORGANIZATION_NAME]" + codePage="1252" + dataType="str" + length="200" + name="ORGANIZATION_NAME" /> - + name="LEGAL_ADDRESS_LINE_1" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Output].ExternalColumns[LEGAL_ADDRESS_LINE_2]" + codePage="1252" + dataType="str" + length="40" + name="LEGAL_ADDRESS_LINE_2" /> + name="LEGAL_ADDRESS_LINE_3" /> + name="CITY" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Output].ExternalColumns[PROVINCE]" + codePage="1252" + dataType="str" + length="2" + name="PROVINCE" /> + + name="POSTAL_CODE" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Output].ExternalColumns[HOME_PHONE_NO]" + dataType="numeric" + name="HOME_PHONE_NO" + precision="15" /> + name="WORK_PHONE_NO" + precision="15" /> + + + name="CELL_PHONE_NUMBER" + precision="15" /> + name="EMAIL_ADDRESS" /> - - - + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[SURNAME]" + codePage="1252" + dataType="str" + length="20" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[SURNAME]" + name="SURNAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[FIRST_NAME]" + codePage="1252" + dataType="str" + length="15" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[FIRST_NAME]" + name="FIRST_NAME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[MIDDLE_NAME]" + codePage="1252" + dataType="str" + length="50" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[MIDDLE_NAME]" + name="MIDDLE_NAME" /> - - - - - + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[LEGAL_ADDRESS_LINE_1]" + name="LEGAL_ADDRESS_LINE_1" /> - + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[LEGAL_ADDRESS_LINE_2]" + name="LEGAL_ADDRESS_LINE_2" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[LEGAL_ADDRESS_LINE_3]" + codePage="1252" + dataType="str" + length="40" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[LEGAL_ADDRESS_LINE_3]" + name="LEGAL_ADDRESS_LINE_3" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[LAST_UPDATE_USERID]" + codePage="1252" + dataType="str" + length="30" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[LAST_UPDATE_USERID]" + name="LAST_UPDATE_USERID" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[ErrorCode]" + dataType="i4" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[ErrorCode]" + name="ErrorCode" + specialFlags="1" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[ErrorColumn]" + dataType="i4" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[ErrorColumn]" + name="ErrorColumn" + specialFlags="2" /> - + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[CITY]" + name="CITY" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[LAST_UPDATE_DATETIME]" + dataType="dbTimeStamp" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[LAST_UPDATE_DATETIME]" + name="LAST_UPDATE_DATETIME" /> + refId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[ORGANIZATION_NAME]" + codePage="1252" + dataType="str" + length="200" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Error Output].Columns[ORGANIZATION_NAME]" + name="ORGANIZATION_NAME" /> - - - + version="6"> - 0 + description="Specifies the SQL statement that generates the lookup table." + expressionType="Notify" + name="SqlCommand" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PERSON] + description="Specifies a SQL statement that uses parameters to generate the lookup table." + expressionType="Notify" + name="SqlCommandParam" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_PERSON]) [refTable] +where [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[APP_CREATE_USERID] = ? + 0 + 0 + 1 + 0 + 25 + 25 SELECT acq.AGENT_ASSIGNMENT_ID AS PAIMS_ACQUISITION_FILE_ID - , DECODE(acq.CLOSED_DATE, NULL, DECODE(acq.SETTLED_FLAG, 'Y', 'CLOSED', 'ACTIVE'), 'CLOSED') AS ACQUISITION_FILE_STATUS_TYPE_CODE - , DECODE(acq.ACQUISITION_CODE, 'C', 'CONSEN', 'A', 'SECTN3', 'E', 'SECTN6') AS ACQUISITION_TYPE_CODE - , acq.REGION_NO AS REGION_CODE - , LTRIM(TO_CHAR (prj.FMIS_NO , '00009' ) ) AS MINISTRY_PROJECT_NUMBER - , DECODE(UPPER(prj.NAME ) , UPPER(sub.NAME ) , prj.NAME , prj.NAME || ' - ' || sub.NAME ) AS MINISTRY_PROJECT_NAME - , acq.NAME AS FILE_NAME - , acq.AGENT_ASSIGNMENT_NO AS FILE_NO - , acq.AGENT_ASSIGNMENT_NO_PREFIX || '-' || acq.AGENT_ASSIGNMENT_NO || '-' || COALESCE(acq.AGENT_ASSIGNMENT_NO_SUFFIX, '01') AS FILE_NUMBER - , acq.ASSIGNED_DATE AS ASSIGNED_DATE - , acq.DELIVERY_DATE AS DELIVERY_DATE - , 'PROPCOORD' AS PROP_COORD_ACQ_FL_PERSON_PROFILE_TYPE_CODE - , cor.NAME AS PROP_COORD_PERSON_FIRST_NAME_SURNAME - , 'PROP COORD ID: ' || cor.PROPERTY_EMPLOYEE_ID AS PROP_COORD_PERSON_COMMENT_ID - , 'PROP COORD ORG: ' || cor.COMPANY_NAME AS PROP_COORD_PERSON_COMMENT_ORG - , cor.REGION_NO AS PROP_COORD_PERSON_REGION - , cor.ADDRESS_LINE_1 AS PROP_COORD_STREET_ADDRESS_1 - , cor.ADDRESS_LINE_2 AS PROP_COORD_STREET_ADDRESS_2 - , cor.CITY AS PROP_COORD_MUNICIPALITY_NAME - , cor.POSTAL_CODE AS PROP_COORD_POSTAL_CODE - , cor.PROVINCE AS PROP_COORD_PROVINCE - , cor.PHONE_NO AS PROP_COORD_WORKPHONE - , cor.CELL_PHONE_NUMBER AS PROP_COORD_WORKMOBIL - , cor.FAX_NO AS PROP_COORD_FAX - , cor.EMAIL_ADDRESS AS PROP_COORD_WORKEMAIL -FROM PAM_AGENT_ASSIGNMENT acq JOIN - PAM_PROPERTY_EMPLOYEE prp ON prp.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID JOIN - PAM_SUB_PROJECT sub ON sub.SUB_PROJECT_ID = acq.SUB_PROJECT_ID LEFT OUTER JOIN - HWY_MINISTRY_PROJECT prj ON prj.MINISTRY_PROJECT_ID = sub.MINISTRY_PROJECT_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE cor ON cor.PROPERTY_EMPLOYEE_ID = acq.COORD_PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE neg ON neg.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE exp ON exp.PROPERTY_EMPLOYEE_ID = acq.EXPR_PROPERTY_EMPLOYEE_ID - where cor.FAX_NO is not null + description="Indicates whether to reference metadata in an XML format." + name="ReferenceMetadataXml"><referenceMetadata><referenceColumns><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURNAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="FIRST_NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="MIDDLE_NAMES" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME_SUFFIX" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="PREFERRED_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="BIRTH_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="USE_ORGANIZATION_ADDRESS" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + description="Specifies the list of lineage identifiers that map to the parameters that the SQL statement in the SQLCommand property uses. Entries in the list are separated by semicolons." + name="ParameterMap">#{Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]};#{Package\Load Interest Holder Contact Method\Data Conversion 5.Outputs[Data Conversion Output].Columns[UNICODE_AUDIT_TRAIL_APP_CREATE_USERID]}; 1252 true - 2 - + description="Determines whether duplicate keys in the reference data should be treated as errors when full cache mode is used." + name="TreatDuplicateKeysAsError">false + + + + + + APP_CREATE_USER_DIRECTORY + + + + + + APP_CREATE_USERID + + + + + + + + refId="Package\Load Interest Holder Contact Method\PERSON ID.Outputs[Lookup Match Output]" + errorOrTruncationOperation="Lookup" + exclusionGroup="1" + name="Lookup Match Output" + synchronousInputId="Package\Load Interest Holder Contact Method\PERSON ID.Inputs[Lookup Input]"> - - - - - - - - - - - - - - - - - - - - - - - - + refId="Package\Load Interest Holder Contact Method\PERSON ID.Outputs[Lookup Match Output].Columns[PERSON_ID]" + dataType="i8" + errorOrTruncationOperation="Copy Column" + lineageId="Package\Load Interest Holder Contact Method\PERSON ID.Outputs[Lookup Match Output].Columns[PERSON_ID]" + name="PERSON_ID" + truncationRowDisposition="FailComponent"> + + PERSON_ID + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + name="Lookup Error Output" + synchronousInputId="Package\Load Interest Holder Contact Method\PERSON ID.Inputs[Lookup Input]"> - - - - - - - - - - - - - - - - - - - - - - - - - @@ -15600,7466 +11033,6319 @@ FROM PAM_AGENT_ASSIGNMENT acq - - 0 - "APP_PAM"."PAM_INTEREST_HOLDER" - - SELECT acq.AGENT_ASSIGNMENT_ID AS PAIMS_ACQUISITION_FILE_ID - , DECODE(acq.CLOSED_DATE, NULL, DECODE(acq.SETTLED_FLAG, 'Y', 'CLOSED', 'ACTIVE'), 'CLOSED') AS ACQUISITION_FILE_STATUS_TYPE_CODE - , DECODE(acq.ACQUISITION_CODE, 'C', 'CONSEN', 'A', 'SECTN3', 'E', 'SECTN6') AS ACQUISITION_TYPE_CODE - , acq.REGION_NO AS REGION_CODE - , LTRIM(TO_CHAR (prj.FMIS_NO , '00009' ) ) AS MINISTRY_PROJECT_NUMBER - , DECODE(UPPER(prj.NAME ) , UPPER(sub.NAME ) , prj.NAME , prj.NAME || ' - ' || sub.NAME ) AS MINISTRY_PROJECT_NAME - , acq.NAME AS FILE_NAME - , acq.AGENT_ASSIGNMENT_NO AS FILE_NO - , acq.AGENT_ASSIGNMENT_NO_PREFIX || '-' || acq.AGENT_ASSIGNMENT_NO || '-' || COALESCE(acq.AGENT_ASSIGNMENT_NO_SUFFIX, '01') AS FILE_NUMBER - , acq.ASSIGNED_DATE AS ASSIGNED_DATE - , acq.DELIVERY_DATE AS DELIVERY_DATE - , 'PROPCOORD' AS PROP_COORD_ACQ_FL_PERSON_PROFILE_TYPE_CODE - , cor.NAME AS PROP_COORD_PERSON_FIRST_NAME_SURNAME - , 'PROP COORD ID: ' || cor.PROPERTY_EMPLOYEE_ID AS PROP_COORD_PERSON_COMMENT_ID - , 'PROP COORD ORG: ' || cor.COMPANY_NAME AS PROP_COORD_PERSON_COMMENT_ORG - , cor.REGION_NO AS PROP_COORD_PERSON_REGION - , cor.ADDRESS_LINE_1 AS PROP_COORD_STREET_ADDRESS_1 - , cor.ADDRESS_LINE_2 AS PROP_COORD_STREET_ADDRESS_2 - , cor.CITY AS PROP_COORD_MUNICIPALITY_NAME - , cor.POSTAL_CODE AS PROP_COORD_POSTAL_CODE - , cor.PROVINCE AS PROP_COORD_PROVINCE - , cor.PHONE_NO AS PROP_COORD_WORKPHONE - , cor.CELL_PHONE_NUMBER AS PROP_COORD_WORKMOBIL - , cor.FAX_NO AS PROP_COORD_FAX - , cor.EMAIL_ADDRESS AS PROP_COORD_WORKEMAIL -FROM PAM_AGENT_ASSIGNMENT acq JOIN - PAM_PROPERTY_EMPLOYEE prp ON prp.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID JOIN - PAM_SUB_PROJECT sub ON sub.SUB_PROJECT_ID = acq.SUB_PROJECT_ID LEFT OUTER JOIN - HWY_MINISTRY_PROJECT prj ON prj.MINISTRY_PROJECT_ID = sub.MINISTRY_PROJECT_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE cor ON cor.PROPERTY_EMPLOYEE_ID = acq.COORD_PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE neg ON neg.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE exp ON exp.PROPERTY_EMPLOYEE_ID = acq.EXPR_PROPERTY_EMPLOYEE_ID - where cor.CELL_PHONE_NUMBER is not null - - 1252 - true - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + refId="Package\Load Interest Holder Contact Method\Union All" + componentClassID="Microsoft.UnionAll" + contactInfo="Union All;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;1" + description="Combines rows from multiple data flows without sorting. For example, add rows back to a data flow after correction of errors. If sorting is important, we recommend using the Merge transformation." + name="Union All" + version="1"> + + + + + + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} + + + + + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} + + + + + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} + + + + + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} + + + + + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} + + + + + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_3]} + + + + + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + + + + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} + + + + + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} + + + + + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} + + + + + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + + + + + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} + + + + + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} + + + - - - - - - 0 - "APP_PAM"."PAM_INTEREST_HOLDER" - - SELECT acq.AGENT_ASSIGNMENT_ID AS PAIMS_ACQUISITION_FILE_ID - , DECODE(acq.CLOSED_DATE, NULL, DECODE(acq.SETTLED_FLAG, 'Y', 'CLOSED', 'ACTIVE'), 'CLOSED') AS ACQUISITION_FILE_STATUS_TYPE_CODE - , DECODE(acq.ACQUISITION_CODE, 'C', 'CONSEN', 'A', 'SECTN3', 'E', 'SECTN6') AS ACQUISITION_TYPE_CODE - , acq.REGION_NO AS REGION_CODE - , LTRIM(TO_CHAR (prj.FMIS_NO , '00009' ) ) AS MINISTRY_PROJECT_NUMBER - , DECODE(UPPER(prj.NAME ) , UPPER(sub.NAME ) , prj.NAME , prj.NAME || ' - ' || sub.NAME ) AS MINISTRY_PROJECT_NAME - , acq.NAME AS FILE_NAME - , acq.AGENT_ASSIGNMENT_NO AS FILE_NO - , acq.AGENT_ASSIGNMENT_NO_PREFIX || '-' || acq.AGENT_ASSIGNMENT_NO || '-' || COALESCE(acq.AGENT_ASSIGNMENT_NO_SUFFIX, '01') AS FILE_NUMBER - , acq.ASSIGNED_DATE AS ASSIGNED_DATE - , acq.DELIVERY_DATE AS DELIVERY_DATE - , 'PROPCOORD' AS PROP_COORD_ACQ_FL_PERSON_PROFILE_TYPE_CODE - , cor.NAME AS PROP_COORD_PERSON_FIRST_NAME_SURNAME - , 'PROP COORD ID: ' || cor.PROPERTY_EMPLOYEE_ID AS PROP_COORD_PERSON_COMMENT_ID - , 'PROP COORD ORG: ' || cor.COMPANY_NAME AS PROP_COORD_PERSON_COMMENT_ORG - , cor.REGION_NO AS PROP_COORD_PERSON_REGION - , cor.ADDRESS_LINE_1 AS PROP_COORD_STREET_ADDRESS_1 - , cor.ADDRESS_LINE_2 AS PROP_COORD_STREET_ADDRESS_2 - , cor.CITY AS PROP_COORD_MUNICIPALITY_NAME - , cor.POSTAL_CODE AS PROP_COORD_POSTAL_CODE - , cor.PROVINCE AS PROP_COORD_PROVINCE - , cor.PHONE_NO AS PROP_COORD_WORKPHONE - , cor.CELL_PHONE_NUMBER AS PROP_COORD_WORKMOBIL - , cor.FAX_NO AS PROP_COORD_FAX - , cor.EMAIL_ADDRESS AS PROP_COORD_WORKEMAIL -FROM PAM_AGENT_ASSIGNMENT acq JOIN - PAM_PROPERTY_EMPLOYEE prp ON prp.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID JOIN - PAM_SUB_PROJECT sub ON sub.SUB_PROJECT_ID = acq.SUB_PROJECT_ID LEFT OUTER JOIN - HWY_MINISTRY_PROJECT prj ON prj.MINISTRY_PROJECT_ID = sub.MINISTRY_PROJECT_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE cor ON cor.PROPERTY_EMPLOYEE_ID = acq.COORD_PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE neg ON neg.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE exp ON exp.PROPERTY_EMPLOYEE_ID = acq.EXPR_PROPERTY_EMPLOYEE_ID - where cor.PHONE_NO is not null - - 1252 - true - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 2]" + hasSideEffects="true" + name="Union All Input 2"> + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 2].Columns[SURNAME]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="SURNAME" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[SURNAME]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 2].Columns[FIRST_NAME]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="FIRST_NAME" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[FIRST_NAME]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 2].Columns[MIDDLE_NAME]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="MIDDLE_NAME" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[MIDDLE_NAME]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[ACQUISITION_TYPE_CODE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 2].Columns[STREET_ADDRESS_1]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="STREET_ADDRESS_1" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_1]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[REGION_CODE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 2].Columns[STREET_ADDRESS_2]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="STREET_ADDRESS_2" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_2]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NUMBER]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 2].Columns[STREET_ADDRESS_3]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="STREET_ADDRESS_3" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_3]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NAME]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_3]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 2].Columns[LAST_UPDATE_USERID]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="LAST_UPDATE_USERID" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[LAST_UPDATE_USERID]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[FILE_NAME]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 2].Columns[MUNICIPALITY_NAME]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="MUNICIPALITY_NAME" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[MUNICIPALITY_NAME]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[FILE_NO]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 2].Columns[LAST_UPDATE_DATETIME]" + cachedDataType="dbTimeStamp" + cachedName="LAST_UPDATE_DATETIME" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[LAST_UPDATE_DATETIME]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[FILE_NUMBER]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 2].Columns[ORGANIZATION_NAME]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="200" + cachedName="ORGANIZATION_NAME" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[ORGANIZATION_NAME]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[ASSIGNED_DATE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 2].Columns[INTEREST_HOLDER_ID]" + cachedDataType="numeric" + cachedName="INTEREST_HOLDER_ID" + cachedPrecision="10" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[INTEREST_HOLDER_ID]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[DELIVERY_DATE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + cachedLength="9" + cachedName="CONTACT_METHOD_TYPE_CODE" + lineageId="Package\Load Interest Holder Contact Method\CONTACT_METHOD_TYPE_CODE - WORKPHONE.Outputs[Derived Column Output].Columns[CONTACT_METHOD_TYPE_CODE]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[PERSON_PROFILE_TYPE_CODE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} + cachedLength="200" + cachedName="WORK_PHONE" + lineageId="Package\Load Interest Holder Contact Method\Data Conversion 1.Outputs[Data Conversion Output].Columns[WORK_PHONE]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[PERSON_FIRST_NAME_SURNAME]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} + + + + + + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 3].Columns[SURNAME]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="SURNAME" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Output].Columns[SURNAME]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[PERSON_COMMENT_ID]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 3].Columns[FIRST_NAME]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="FIRST_NAME" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Output].Columns[FIRST_NAME]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[PERSON_COMMENT_ORG]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 3].Columns[MIDDLE_NAME]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="MIDDLE_NAME" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Output].Columns[MIDDLE_NAME]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[PERSON_REGION]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 3].Columns[STREET_ADDRESS_1]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="STREET_ADDRESS_1" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_1]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 3].Columns[STREET_ADDRESS_2]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="STREET_ADDRESS_2" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_2]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 3].Columns[STREET_ADDRESS_3]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="STREET_ADDRESS_3" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_3]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_3]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 3].Columns[LAST_UPDATE_USERID]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="LAST_UPDATE_USERID" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Output].Columns[LAST_UPDATE_USERID]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[POSTAL_CODE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 3].Columns[MUNICIPALITY_NAME]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="MUNICIPALITY_NAME" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Output].Columns[MUNICIPALITY_NAME]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[PROVINCE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} + + + + cachedName="ORGANIZATION_NAME" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Output].Columns[ORGANIZATION_NAME]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 3].Columns[INTEREST_HOLDER_ID]" + cachedDataType="numeric" + cachedName="INTEREST_HOLDER_ID" + cachedPrecision="10" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Output].Columns[INTEREST_HOLDER_ID]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + cachedLength="3" + cachedName="CONTACT_METHOD_TYPE_CODE" + lineageId="Package\Load Interest Holder Contact Method\CONTACT_METHOD_TYPE_CODE - FAX.Outputs[Derived Column Output].Columns[CONTACT_METHOD_TYPE_CODE]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[FirstName]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} + cachedLength="200" + cachedName="FAX_NUMBER" + lineageId="Package\Load Interest Holder Contact Method\Data Conversion 2.Outputs[Data Conversion Output].Columns[FAX_NUMBER]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[SurName]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} + name="Union All Input 4"> + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 4].Columns[SURNAME]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="SURNAME" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[SURNAME]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 4].Columns[FIRST_NAME]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="FIRST_NAME" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[FIRST_NAME]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 4].Columns[MIDDLE_NAME]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="MIDDLE_NAME" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[MIDDLE_NAME]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[ACQUISITION_TYPE_CODE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 4].Columns[ORGANIZATION_NAME]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="200" + cachedName="ORGANIZATION_NAME" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[ORGANIZATION_NAME]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NUMBER]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 4].Columns[STREET_ADDRESS_1]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="STREET_ADDRESS_1" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_1]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NAME]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 4].Columns[STREET_ADDRESS_2]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="STREET_ADDRESS_2" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_2]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[FILE_NAME]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 4].Columns[STREET_ADDRESS_3]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="STREET_ADDRESS_3" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_3]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[FILE_NO]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_3]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 4].Columns[MUNICIPALITY_NAME]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="MUNICIPALITY_NAME" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[MUNICIPALITY_NAME]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[FILE_NUMBER]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 4].Columns[LAST_UPDATE_USERID]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="LAST_UPDATE_USERID" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[LAST_UPDATE_USERID]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[ASSIGNED_DATE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} + cachedName="LAST_UPDATE_DATETIME" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[LAST_UPDATE_DATETIME]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[DELIVERY_DATE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 4].Columns[INTEREST_HOLDER_ID]" + cachedDataType="numeric" + cachedName="INTEREST_HOLDER_ID" + cachedPrecision="10" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[INTEREST_HOLDER_ID]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[FirstName]} - - - - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[SurName]} - - - - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[PERSON_PROFILE_TYPE_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[PERSON_FIRST_NAME_SURNAME]} - - - - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[PERSON_COMMENT_ID]} - - - - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[PERSON_COMMENT_ORG]} - - - - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[PERSON_REGION]} - - - - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} - - - - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} - - - - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - + lineageId="Package\Load Interest Holder Contact Method\CONTACT_METHOD_TYPE_CODE - MOBLPHONE.Outputs[Derived Column Output].Columns[CONTACT_METHOD_TYPE_CODE]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[POSTAL_CODE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} + cachedLength="200" + cachedName="CELL_PHONE_NUMBER" + lineageId="Package\Load Interest Holder Contact Method\Data Conversion 3.Outputs[Data Conversion Output].Columns[CELL_PHONE_NUMBER]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[PROVINCE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} + name="Union All Input 5"> - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} - - - - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[ACQUISITION_TYPE_CODE]} - - - + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 5].Columns[SURNAME]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="SURNAME" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Output].Columns[SURNAME]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[REGION_CODE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 5].Columns[FIRST_NAME]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="FIRST_NAME" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Output].Columns[FIRST_NAME]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NUMBER]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 5].Columns[MIDDLE_NAME]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="MIDDLE_NAME" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Output].Columns[MIDDLE_NAME]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NAME]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 5].Columns[STREET_ADDRESS_1]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="STREET_ADDRESS_1" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_1]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[FILE_NAME]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 5].Columns[STREET_ADDRESS_2]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="STREET_ADDRESS_2" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_2]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[FILE_NO]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 5].Columns[STREET_ADDRESS_3]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="STREET_ADDRESS_3" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_3]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[FILE_NUMBER]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_3]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 5].Columns[MUNICIPALITY_NAME]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="50" + cachedName="MUNICIPALITY_NAME" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Output].Columns[MUNICIPALITY_NAME]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[ASSIGNED_DATE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + cachedName="LAST_UPDATE_DATETIME" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Output].Columns[LAST_UPDATE_DATETIME]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[DELIVERY_DATE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD]} - - - - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[FirstName]} - - - - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[SurName]} - - - - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[PERSON_PROFILE_TYPE_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[PERSON_FIRST_NAME_SURNAME]} - - - - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[PERSON_COMMENT_ID]} - - - + cachedName="ORGANIZATION_NAME" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Output].Columns[ORGANIZATION_NAME]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[PERSON_COMMENT_ORG]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[PERSON_REGION]} - - - - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} - - - - - #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} - - - + cachedName="INTEREST_HOLDER_ID" + cachedPrecision="10" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Output].Columns[INTEREST_HOLDER_ID]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + cachedLength="9" + cachedName="CONTACT_METHOD_TYPE_CODE" + lineageId="Package\Load Interest Holder Contact Method\CONTACT_METHOD_TYPE_CODE - WORKEMAIL.Outputs[Derived Column Output].Columns[CONTACT_METHOD_TYPE_CODE]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[POSTAL_CODE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} + refId="Package\Load Interest Holder Contact Method\Union All.Inputs[Union All Input 5].Columns[LAST_UPDATE_USERID]" + cachedCodepage="1252" + cachedDataType="str" + cachedLength="200" + cachedName="LAST_UPDATE_USERID" + lineageId="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Output].Columns[LAST_UPDATE_USERID]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[PROVINCE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} + cachedLength="80" + cachedName="WORKEMAIL" + lineageId="Package\Load Interest Holder Contact Method\Data Conversion 4.Outputs[Data Conversion Output].Columns[WORKEMAIL]"> #{Package\Load Acquisition Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} + name="OutputColumnLineageID">#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} + name="Union All Input 6"> - + refId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]" + codePage="1252" + dataType="str" + length="50" + lineageId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]" + name="SURNAME" /> + refId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]" + codePage="1252" + dataType="str" + length="50" + lineageId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]" + name="FIRST_NAME" /> + refId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]" + codePage="1252" + dataType="str" + length="50" + lineageId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]" + name="MIDDLE_NAME" /> + refId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]" + codePage="1252" + dataType="str" + length="50" + lineageId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]" + name="STREET_ADDRESS_1" /> + refId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]" + codePage="1252" + dataType="str" + length="50" + lineageId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]" + name="STREET_ADDRESS_2" /> + refId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_3]" + codePage="1252" + dataType="str" + length="50" + lineageId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_3]" + name="STREET_ADDRESS_3" /> + refId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]" + codePage="1252" + dataType="str" + length="50" + lineageId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]" + name="MUNICIPALITY_NAME" /> + refId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]" + codePage="1252" + dataType="str" + length="200" + lineageId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]" + name="ORGANIZATION_NAME" /> + refId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]" + codePage="1252" + dataType="str" + length="200" + lineageId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]" + name="LAST_UPDATE_USERID" /> - - - - + lineageId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]" + name="LAST_UPDATE_DATETIME" /> + lineageId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]" + name="INTEREST_HOLDER_ID" + precision="10" /> + length="200" + lineageId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]" + name="CONTACT_METHOD_VALUE" /> - - - - - - - + refId="Package\Load Interest Holder Contact Method\Upadate PIMS_CONTACT_METHOD" + componentClassID="Microsoft.OLEDBCommand" + contactInfo="OLE DB Command;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;2" + description="Runs an SQL statement for each row in a data flow. For example, call a 'new employee setup' stored procedure for each row in the 'new employees' table. Note: running an SQL statement for each row of a large data flow may take a long time." + name="Upadate PIMS_CONTACT_METHOD" + usesDispositions="true" + version="2"> + + 0 + update PIMS_CONTACT_METHOD +set CONTACT_METHOD_TYPE_CODE=?, +ORGANIZATION_ID=?, +CONTACT_METHOD_VALUE=? +where app_last_update_userid=? + 1252 + + + + + refId="Package\Load Interest Holder Contact Method\Upadate PIMS_CONTACT_METHOD.Inputs[OLE DB Command Input]" + errorOrTruncationOperation="Command Execution" + errorRowDisposition="RedirectRow" + hasSideEffects="true" + name="OLE DB Command Input"> - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} - - - - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[ACQUISITION_TYPE_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NUMBER]} - - - - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NAME]} - - - - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[FILE_NAME]} - - - - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[FILE_NO]} - - - - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[ASSIGNED_DATE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[DELIVERY_DATE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]} - - - - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_PERSON_COMMENT_ID]} - - - - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_PERSON_COMMENT_ORG]} - - - - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_PERSON_REGION]} - - + cachedLength="9" + cachedName="CONTACT_METHOD_TYPE_CODE" + externalMetadataColumnId="Package\Load Interest Holder Contact Method\Upadate PIMS_CONTACT_METHOD.Inputs[OLE DB Command Input].ExternalColumns[Param_0]" + lineageId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]" /> - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_STREET_ADDRESS_1]} - - + refId="Package\Load Interest Holder Contact Method\Upadate PIMS_CONTACT_METHOD.Inputs[OLE DB Command Input].Columns[PERSON_ID]" + cachedDataType="i8" + cachedName="PERSON_ID" + externalMetadataColumnId="Package\Load Interest Holder Contact Method\Upadate PIMS_CONTACT_METHOD.Inputs[OLE DB Command Input].ExternalColumns[Param_1]" + lineageId="Package\Load Interest Holder Contact Method\PERSON ID.Outputs[Lookup Match Output].Columns[PERSON_ID]" /> - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_STREET_ADDRESS_2]} - - + cachedLength="200" + cachedName="CONTACT_METHOD_VALUE" + externalMetadataColumnId="Package\Load Interest Holder Contact Method\Upadate PIMS_CONTACT_METHOD.Inputs[OLE DB Command Input].ExternalColumns[Param_2]" + lineageId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]" /> + cachedLength="23" + cachedName="AUDIT_TRAIL_APP_LAST_UPDATE_USERID" + externalMetadataColumnId="Package\Load Interest Holder Contact Method\Upadate PIMS_CONTACT_METHOD.Inputs[OLE DB Command Input].ExternalColumns[Param_3]" + lineageId="Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_LAST_UPDATE_USERID]" /> + + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_MUNICIPALITY_NAME]} + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_POSTAL_CODE]} + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">81 - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_PROVINCE]} + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[CONTACT_METHOD]} + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 - + + + + + + + + + + + + + + + + + + + + 0 + update PIMS_CONTACT_METHOD +set CONTACT_METHOD_TYPE_CODE=?, +ORGANIZATION_ID=?, +CONTACT_METHOD_VALUE=? +where app_last_update_userid=? + 1252 + + + + + + + - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} - - + externalMetadataColumnId="Package\Load Interest Holder Contact Method\Update PIMS_CONTACT_METHOD.Inputs[OLE DB Command Input].ExternalColumns[Param_0]" + lineageId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]" /> - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[FirstName]} - - + refId="Package\Load Interest Holder Contact Method\Update PIMS_CONTACT_METHOD.Inputs[OLE DB Command Input].Columns[ORGANIZATION_ID]" + cachedDataType="i8" + cachedName="ORGANIZATION_ID" + externalMetadataColumnId="Package\Load Interest Holder Contact Method\Update PIMS_CONTACT_METHOD.Inputs[OLE DB Command Input].ExternalColumns[Param_1]" + lineageId="Package\Load Interest Holder Contact Method\ORGANIZATION ID.Outputs[Lookup Match Output].Columns[ORGANIZATION_ID]" /> - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[SurName]} - - - - - - - - - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} - - + cachedLength="200" + cachedName="CONTACT_METHOD_VALUE" + externalMetadataColumnId="Package\Load Interest Holder Contact Method\Update PIMS_CONTACT_METHOD.Inputs[OLE DB Command Input].ExternalColumns[Param_2]" + lineageId="Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]" /> + cachedLength="23" + cachedName="AUDIT_TRAIL_APP_LAST_UPDATE_USERID" + externalMetadataColumnId="Package\Load Interest Holder Contact Method\Update PIMS_CONTACT_METHOD.Inputs[OLE DB Command Input].ExternalColumns[Param_3]" + lineageId="Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_LAST_UPDATE_USERID]" /> + + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[ACQUISITION_TYPE_CODE]} + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">81 - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[REGION_CODE]} + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NUMBER]} + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 - - - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NAME]} - - - - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[FILE_NAME]} - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[FILE_NO]} - - - - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[ASSIGNED_DATE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[DELIVERY_DATE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE]} - - - + cachedName="INTEREST_HOLDER_ID" + cachedPrecision="10" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]" /> + + + + + + + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"APP_PIMS_PROXY_ETL_EDIT" #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_PERSON_COMMENT_ID]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"APP_PIMS_PROXY_ETL_EDIT" - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_PERSON_COMMENT_ORG]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">(DT_WSTR,10)#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_PERSON_REGION]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">(DT_WSTR,10)INTEREST_HOLDER_ID - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_STREET_ADDRESS_1]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"APP_PIMS_PROXY_ETL_EDIT" #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_STREET_ADDRESS_2]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"APP_PIMS_PROXY_ETL_EDIT" - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_MUNICIPALITY_NAME]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"place_holder" #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_POSTAL_CODE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"place_holder" - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_PROVINCE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"APP_PIMS_PROXY_ETL_EDIT" #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"APP_PIMS_PROXY_ETL_EDIT" - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[FirstName]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"APP_PIMS_PROXY_ETL_EDIT" #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[SurName]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"APP_PIMS_PROXY_ETL_EDIT" - - - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[CONTACT_METHOD]} - - - + + - + + + + + + + + + + + + - - + refId="Package\Load Interest Holder Persons and Organizations\BC.Inputs[Derived Column Input]" + description="Input to the Derived Column Transformation" + name="Derived Column Input"> + + + + + + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">(DT_I2)1 #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">(DT_I2)1 - - + + + + + + + + + + + + + + + + + + + + + + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[ACQUISITION_TYPE_CODE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">(DT_I2)1 #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[REGION_CODE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">(DT_I2)1 - + + + + + + + + + + + + + + + + + - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NUMBER]} - - + cachedLength="20" + cachedName="SURNAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]" /> + cachedLength="15" + cachedName="FIRST_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]" /> + + + + + + + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NAME]} - - - - + description="Specifies the input column used as the source of data for the conversion." + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]} #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[FILE_NAME]} + dataType="System.Boolean" + description="Indicates whether the column uses the faster, locale-neutral parsing routines." + name="FastParse">false - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[FILE_NO]} + description="Specifies the input column used as the source of data for the conversion." + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]} + false - + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_COUNTRY] + select * from (select * from [dbo].[PIMS_COUNTRY]) [refTable] +where [refTable].[DESCRIPTION] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="DISPLAY_ORDER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Interest Holder Persons and Organizations\Data Conversion.Outputs[Data Conversion Output].Columns[UNICODE_COUNTRY]}; + 1252 + false + + + + + + + + cachedLength="20" + cachedName="UNICODE_COUNTRY" + lineageId="Package\Load Interest Holder Persons and Organizations\Data Conversion.Outputs[Data Conversion Output].Columns[UNICODE_COUNTRY]"> #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">DESCRIPTION #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[ASSIGNED_DATE]} + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> - + + + + + + + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[DELIVERY_DATE]} + dataType="System.String" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn">COUNTRY_ID - + + + + + + + + + + + + + + + + + + + + - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE]} - - + cachedLength="20" + cachedName="COUNTRY" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[COUNTRY]" /> - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]} - - + cachedLength="2" + cachedName="PROVINCE" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[PROVINCE]" /> - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_PERSON_COMMENT_ID]} - - + cachedLength="200" + cachedName="ORGANIZATION_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[ORGANIZATION_NAME]" /> - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_PERSON_COMMENT_ORG]} - - - - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_PERSON_REGION]} - - + cachedLength="15" + cachedName="FIRST_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[FIRST_NAME]" /> - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_STREET_ADDRESS_1]} - - + cachedLength="50" + cachedName="MIDDLE_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[MIDDLE_NAME]" /> - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_STREET_ADDRESS_2]} - - + cachedLength="20" + cachedName="SURNAME" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[SURNAME]" /> - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_MUNICIPALITY_NAME]} - - + refId="Package\Load Interest Holder Persons and Organizations\Data Conversion.Inputs[Data Conversion Input].Columns[AGENT_ID]" + cachedDataType="numeric" + cachedName="AGENT_ID" + cachedPrecision="10" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[AGENT_ID]" /> + refId="Package\Load Interest Holder Persons and Organizations\Data Conversion.Inputs[Data Conversion Input].Columns[INTEREST_HOLDER_ID]" + cachedDataType="numeric" + cachedName="INTEREST_HOLDER_ID" + cachedPrecision="10" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[INTEREST_HOLDER_ID]" /> + + + + + + + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_POSTAL_CODE]} - - - - + description="Specifies the input column used as the source of data for the conversion." + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[COUNTRY]} #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_PROVINCE]} + dataType="System.Boolean" + description="Indicates whether the column uses the faster, locale-neutral parsing routines." + name="FastParse">false - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} - - - - + description="Specifies the input column used as the source of data for the conversion." + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[PROVINCE]} #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[FirstName]} + dataType="System.Boolean" + description="Indicates whether the column uses the faster, locale-neutral parsing routines." + name="FastParse">false - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[SurName]} - - - - + description="Specifies the input column used as the source of data for the conversion." + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[ORGANIZATION_NAME]} #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[CONTACT_METHOD]} + dataType="System.Boolean" + description="Indicates whether the column uses the faster, locale-neutral parsing routines." + name="FastParse">false - - - - - - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} + description="Specifies the input column used as the source of data for the conversion." + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[FIRST_NAME]} + false - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} + description="Specifies the input column used as the source of data for the conversion." + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[MIDDLE_NAME]} + false - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[ACQUISITION_TYPE_CODE]} + description="Specifies the input column used as the source of data for the conversion." + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[SURNAME]} + false - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[REGION_CODE]} + description="Specifies the input column used as the source of data for the conversion." + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[AGENT_ID]} + false - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NUMBER]} + description="Specifies the input column used as the source of data for the conversion." + name="SourceInputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[INTEREST_HOLDER_ID]} + false - + + + + + + + + + + + + + + + + + - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NAME]} - - + cachedLength="10" + cachedName="APP_CREATE_USER_DIRECTORY" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]" /> + cachedLength="200" + cachedName="ORGANIZATION_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[ORGANIZATION_NAME]" /> + + + + + + + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[FILE_NAME]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">[GETDATE]() #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[FILE_NO]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">GETDATE() - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"Load Interest Holder Persons and Organizations" #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[ASSIGNED_DATE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"Load Interest Holder Persons and Organizations" - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[DELIVERY_DATE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"PIMS_PERSON" #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"PIMS_PERSON" - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_PERSON_COMMENT_ID]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_PERSON_COMMENT_ORG]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"ORGANIZATION_NAME: " + #{Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[ORGANIZATION_NAME]} + " APP_CREATE_USER_DIRECTORY(INTEREST_HOLDER_ID): " + #{Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]} #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_PERSON_REGION]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"ORGANIZATION_NAME: " + ORGANIZATION_NAME + " APP_CREATE_USER_DIRECTORY(INTEREST_HOLDER_ID): " + APP_CREATE_USER_DIRECTORY - - - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_STREET_ADDRESS_1]} - - + + + + + + + + + + + + + + + + + - - #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_STREET_ADDRESS_2]} - - + cachedLength="10" + cachedName="APP_CREATE_USER_DIRECTORY" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]" /> + cachedLength="200" + cachedName="ORGANIZATION_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[ORGANIZATION_NAME]" /> + + + + + + + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_MUNICIPALITY_NAME]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">[GETDATE]() #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_POSTAL_CODE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">GETDATE() - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[NEG_AGT_PROVINCE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"Load Interest Holder Persons and Organizations" #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"Load Interest Holder Persons and Organizations" - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[FirstName]} + dataType="System.String" + description="Derived Column Expression" + name="Expression">"PIMS_PERSON" + "PIMS_PERSON" - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[SurName]} + dataType="System.String" + description="Derived Column Expression" + name="Expression">"PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - + + #{Package\Load Acquisition Contact Method\Union All 1.Outputs[Union All Output 1].Columns[CONTACT_METHOD]} + dataType="System.String" + description="Derived Column Expression" + name="Expression">"ORGANIZATION_NAME " + #{Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[ORGANIZATION_NAME]} + " APP_CREATE_USER_DIRECTORY(INTEREST_HOLDER_ID): " + #{Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]} + "ORGANIZATION_NAME " + ORGANIZATION_NAME + " APP_CREATE_USER_DIRECTORY(INTEREST_HOLDER_ID): " + APP_CREATE_USER_DIRECTORY - - - - - + + - - - + + refId="Package\Load Interest Holder Persons and Organizations\Derived Column 1.Outputs[Derived Column Error Output]" + description="Error Output of the Derived Column Transformation" + exclusionGroup="1" + isErrorOut="true" + name="Derived Column Error Output" + synchronousInputId="Package\Load Interest Holder Persons and Organizations\Derived Column 1.Inputs[Derived Column Input]"> - - - - - - - - - - - - - - - - - - - - - - - + refId="Package\Load Interest Holder Persons and Organizations\Derived Column 1.Outputs[Derived Column Error Output].Columns[ErrorCode]" + dataType="i4" + lineageId="Package\Load Interest Holder Persons and Organizations\Derived Column 1.Outputs[Derived Column Error Output].Columns[ErrorCode]" + name="ErrorCode" + specialFlags="1" /> + refId="Package\Load Interest Holder Persons and Organizations\Derived Column 1.Outputs[Derived Column Error Output].Columns[ErrorColumn]" + dataType="i4" + lineageId="Package\Load Interest Holder Persons and Organizations\Derived Column 1.Outputs[Derived Column Error Output].Columns[ErrorColumn]" + name="ErrorColumn" + specialFlags="2" /> + refId="Package\Load Interest Holder Persons and Organizations\Derived Column 2" + componentClassID="Microsoft.DerivedColumn" + contactInfo="Derived Column;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;0" + description="Creates new column values by applying expressions to transformation input columns. Create new columns or overwrite existing ones. For example, concatenate the values from the 'first name' and 'last name' column to make a 'full name' column." + name="Derived Column 2" + usesDispositions="true"> + refId="Package\Load Interest Holder Persons and Organizations\Derived Column 2.Inputs[Derived Column Input]" + description="Input to the Derived Column Transformation" + name="Derived Column Input"> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} - - + refId="Package\Load Interest Holder Persons and Organizations\Derived Column 2.Inputs[Derived Column Input].Columns[APP_CREATE_USER_DIRECTORY]" + cachedDataType="wstr" + cachedLength="10" + cachedName="APP_CREATE_USER_DIRECTORY" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]" /> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} - - + cachedLength="20" + cachedName="SURNAME" + cachedSortKeyPosition="2" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[SURNAME]" /> + cachedLength="15" + cachedName="FIRST_NAME" + cachedSortKeyPosition="1" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[FIRST_NAME]" /> + + + + + + + + #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[ACQUISITION_TYPE_CODE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">[GETDATE]() #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[REGION_CODE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">GETDATE() - - + + #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NUMBER]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"Load Interest Holder Persons and Organizations" #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NAME]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"Load Interest Holder Persons and Organizations" - - + + #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[FILE_NAME]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"PIMS_PERSON" #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[FILE_NO]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"PIMS_PERSON" - - + + #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[ASSIGNED_DATE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - + + #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[DELIVERY_DATE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"FIRST_NAME: " + #{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[FIRST_NAME]} + "SURNAME: " + #{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[SURNAME]} + " APP_CREATE_USER_DIRECTORY(INTEREST_HOLDER_ID): " + #{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]} #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_ACQ_FL_PERSON_PROFILE_TYPE_CODE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"FIRST_NAME: " + FIRST_NAME + "SURNAME: " + SURNAME + " APP_CREATE_USER_DIRECTORY(INTEREST_HOLDER_ID): " + APP_CREATE_USER_DIRECTORY - - - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]} - - - - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_PERSON_COMMENT_ID]} - - - - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_PERSON_COMMENT_ORG]} - - - - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_PERSON_REGION]} - - - - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_STREET_ADDRESS_1]} - - - - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_STREET_ADDRESS_2]} - - - - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_MUNICIPALITY_NAME]} - - - - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_POSTAL_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_PROVINCE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[CONTACT_METHOD]} - - + + + + + + + + + + + + + + + + + - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} - - + cachedLength="10" + cachedName="APP_CREATE_USER_DIRECTORY" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]" /> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[FirstName]} - - + cachedLength="20" + cachedName="SURNAME" + cachedSortKeyPosition="2" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[SURNAME]" /> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[SurName]} - - + cachedLength="15" + cachedName="FIRST_NAME" + cachedSortKeyPosition="1" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[FIRST_NAME]" /> - - - + + + + + #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">[GETDATE]() #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">GETDATE() - - + + #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[ACQUISITION_TYPE_CODE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"Load Interest Holder Persons and Organizations" #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[REGION_CODE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"Load Interest Holder Persons and Organizations" - - + + #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NUMBER]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"PIMS_PERSON" #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NAME]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"PIMS_PERSON" - - + + #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[FILE_NAME]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[FILE_NO]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - + + #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"FIRST_NAME: " + #{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[FIRST_NAME]} + "SURNAME: " + #{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[SURNAME]} + " APP_CREATE_USER_DIRECTORY(INTEREST_HOLDER_ID): " + #{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]} #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[ASSIGNED_DATE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"FIRST_NAME: " + FIRST_NAME + "SURNAME: " + SURNAME + " APP_CREATE_USER_DIRECTORY(INTEREST_HOLDER_ID): " + APP_CREATE_USER_DIRECTORY - + + + + + + + + + + + + + + + + 0 + [etl].[ETL_ERROR_LOG] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[DELIVERY_DATE]} - - + cachedName="ERROR_TIME" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TIME]" + lineageId="Package\Load Interest Holder Persons and Organizations\Derived Column.Outputs[Derived Column Output].Columns[ERROR_TIME]" /> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_ACQ_FL_PERSON_PROFILE_TYPE_CODE]} - - + cachedLength="46" + cachedName="ERROR_OPERATION_NAME" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_OPERATION_NAME]" + lineageId="Package\Load Interest Holder Persons and Organizations\Derived Column.Outputs[Derived Column Output].Columns[ERROR_OPERATION_NAME]" /> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]} - - + cachedLength="11" + cachedName="ERROR_TASK_NAME" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TASK_NAME]" + lineageId="Package\Load Interest Holder Persons and Organizations\Derived Column.Outputs[Derived Column Output].Columns[ERROR_TASK_NAME]" /> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_PERSON_COMMENT_ID]} - - + cachedLength="32" + cachedName="ERROR_ETL_NAME" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ETL_NAME]" + lineageId="Package\Load Interest Holder Persons and Organizations\Derived Column.Outputs[Derived Column Output].Columns[ERROR_ETL_NAME]" /> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_PERSON_COMMENT_ORG]} - - + cachedLength="278" + cachedName="ERROR_ROW" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ROW]" + lineageId="Package\Load Interest Holder Persons and Organizations\Derived Column.Outputs[Derived Column Output].Columns[ERROR_ROW]" /> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_PERSON_REGION]} - - - - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_STREET_ADDRESS_1]} - - + refId="Package\Load Interest Holder Persons and Organizations\ETL Error Log.Inputs[OLE DB Destination Input].Columns[ErrorCode]" + cachedDataType="i4" + cachedName="ErrorCode" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_CODE]" + lineageId="Package\Load Interest Holder Persons and Organizations\Insert PIMS_ORGANIZATIION.Outputs[OLE DB Destination Error Output].Columns[ErrorCode]" /> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_STREET_ADDRESS_2]} - - + refId="Package\Load Interest Holder Persons and Organizations\ETL Error Log.Inputs[OLE DB Destination Input].Columns[ErrorColumn]" + cachedDataType="i4" + cachedName="ErrorColumn" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_COLUMN]" + lineageId="Package\Load Interest Holder Persons and Organizations\Insert PIMS_ORGANIZATIION.Outputs[OLE DB Destination Error Output].Columns[ErrorColumn]" /> + + + + + + + + + + + + + + + + + + + + + + + + + 0 + [etl].[ETL_ERROR_LOG] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_MUNICIPALITY_NAME]} - - + refId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 1.Inputs[OLE DB Destination Input].Columns[ERROR_TIME]" + cachedDataType="dbTimeStamp" + cachedName="ERROR_TIME" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TIME]" + lineageId="Package\Load Interest Holder Persons and Organizations\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_TIME]" /> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_POSTAL_CODE]} - - + cachedLength="46" + cachedName="ERROR_OPERATION_NAME" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_OPERATION_NAME]" + lineageId="Package\Load Interest Holder Persons and Organizations\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_OPERATION_NAME]" /> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_PROVINCE]} - - + cachedLength="11" + cachedName="ERROR_TASK_NAME" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TASK_NAME]" + lineageId="Package\Load Interest Holder Persons and Organizations\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_TASK_NAME]" /> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} - - + cachedLength="32" + cachedName="ERROR_ETL_NAME" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ETL_NAME]" + lineageId="Package\Load Interest Holder Persons and Organizations\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_ETL_NAME]" /> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[FirstName]} - - + cachedLength="276" + cachedName="ERROR_ROW" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ROW]" + lineageId="Package\Load Interest Holder Persons and Organizations\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_ROW]" /> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[SurName]} - - + refId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 1.Inputs[OLE DB Destination Input].Columns[ErrorCode]" + cachedDataType="i4" + cachedName="ErrorCode" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_CODE]" + lineageId="Package\Load Interest Holder Persons and Organizations\Update PIMS_ORGANIZATION.Outputs[OLE DB Command Error Output].Columns[ErrorCode]" /> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[CONTACT_METHOD]} - - + refId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 1.Inputs[OLE DB Destination Input].Columns[ErrorColumn]" + cachedDataType="i4" + cachedName="ErrorColumn" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_COLUMN]" + lineageId="Package\Load Interest Holder Persons and Organizations\Update PIMS_ORGANIZATION.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]" /> - + + + + + + + + + + + + + + + + + + + + + + + 0 + [etl].[ETL_ERROR_LOG] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + name="OLE DB Destination Input"> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} - - - - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[ACQUISITION_TYPE_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[REGION_CODE]} - - + refId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 2.Inputs[OLE DB Destination Input].Columns[ERROR_TIME]" + cachedDataType="dbTimeStamp" + cachedName="ERROR_TIME" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TIME]" + lineageId="Package\Load Interest Holder Persons and Organizations\Derived Column 2.Outputs[Derived Column Output].Columns[ERROR_TIME]" /> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NUMBER]} - - + cachedLength="46" + cachedName="ERROR_OPERATION_NAME" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_OPERATION_NAME]" + lineageId="Package\Load Interest Holder Persons and Organizations\Derived Column 2.Outputs[Derived Column Output].Columns[ERROR_OPERATION_NAME]" /> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NAME]} - - + cachedLength="11" + cachedName="ERROR_TASK_NAME" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TASK_NAME]" + lineageId="Package\Load Interest Holder Persons and Organizations\Derived Column 2.Outputs[Derived Column Output].Columns[ERROR_TASK_NAME]" /> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[FILE_NAME]} - - - - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[FILE_NO]} - - + cachedLength="32" + cachedName="ERROR_ETL_NAME" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ETL_NAME]" + lineageId="Package\Load Interest Holder Persons and Organizations\Derived Column 2.Outputs[Derived Column Output].Columns[ERROR_ETL_NAME]" /> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - + cachedLength="115" + cachedName="ERROR_ROW" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ROW]" + lineageId="Package\Load Interest Holder Persons and Organizations\Derived Column 2.Outputs[Derived Column Output].Columns[ERROR_ROW]" /> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[ASSIGNED_DATE]} - - + refId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 2.Inputs[OLE DB Destination Input].Columns[ErrorCode]" + cachedDataType="i4" + cachedName="ErrorCode" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_CODE]" + lineageId="Package\Load Interest Holder Persons and Organizations\Insert PIMS_PERSON.Outputs[OLE DB Destination Error Output].Columns[ErrorCode]" /> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[DELIVERY_DATE]} - - + refId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 2.Inputs[OLE DB Destination Input].Columns[ErrorColumn]" + cachedDataType="i4" + cachedName="ErrorColumn" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_COLUMN]" + lineageId="Package\Load Interest Holder Persons and Organizations\Insert PIMS_PERSON.Outputs[OLE DB Destination Error Output].Columns[ErrorColumn]" /> + + + + + + + + + + + + + + + + + + + + + + + + + 0 + [etl].[ETL_ERROR_LOG] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + + - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_ACQ_FL_PERSON_PROFILE_TYPE_CODE]} - - + cachedLength="46" + cachedName="ERROR_OPERATION_NAME" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 2 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_OPERATION_NAME]" + lineageId="Package\Load Interest Holder Persons and Organizations\Derived Column 2 1.Outputs[Derived Column Output].Columns[ERROR_OPERATION_NAME]" /> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]} - - + cachedLength="11" + cachedName="ERROR_TASK_NAME" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 2 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TASK_NAME]" + lineageId="Package\Load Interest Holder Persons and Organizations\Derived Column 2 1.Outputs[Derived Column Output].Columns[ERROR_TASK_NAME]" /> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_PERSON_COMMENT_ID]} - - + cachedLength="32" + cachedName="ERROR_ETL_NAME" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 2 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ETL_NAME]" + lineageId="Package\Load Interest Holder Persons and Organizations\Derived Column 2 1.Outputs[Derived Column Output].Columns[ERROR_ETL_NAME]" /> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_PERSON_COMMENT_ORG]} - - + cachedLength="115" + cachedName="ERROR_ROW" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 2 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ROW]" + lineageId="Package\Load Interest Holder Persons and Organizations\Derived Column 2 1.Outputs[Derived Column Output].Columns[ERROR_ROW]" /> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_PERSON_REGION]} - - + refId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 2 1.Inputs[OLE DB Destination Input].Columns[ErrorCode]" + cachedDataType="i4" + cachedName="ErrorCode" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 2 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_CODE]" + lineageId="Package\Load Interest Holder Persons and Organizations\Update PIMS_PERSON.Outputs[OLE DB Command Error Output].Columns[ErrorCode]" /> - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_STREET_ADDRESS_1]} - - + refId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 2 1.Inputs[OLE DB Destination Input].Columns[ErrorColumn]" + cachedDataType="i4" + cachedName="ErrorColumn" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\ETL Error Log 2 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_COLUMN]" + lineageId="Package\Load Interest Holder Persons and Organizations\Update PIMS_PERSON.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]" /> + + + + + + + + + + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_ORGANIZATION] + select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] +where [refTable].[ORGANIZATION_NAME] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[ORGANIZATION_TYPE_CODE] = ? and [refTable].[ORG_IDENTIFIER_TYPE_CODE] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PRNT_ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORG_IDENTIFIER_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_IDENTIFIER" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ALIAS" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="INCORPORATION_NUMBER" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="WEBSITE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[UNICODE_ORGANIZATION_NAME]};#{Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]};#{Package\Load Interest Holder Persons and Organizations\Format PIMS_Organisation output column.Outputs[Derived Column Output].Columns[ORGANIZATION_TYPE_CODE]};#{Package\Load Interest Holder Persons and Organizations\Format PIMS_Organisation output column.Outputs[Derived Column Output].Columns[ORGANIZATION_IDENTIFIER_TYPE_CODE]}; + 1252 + false + + + + + + + + cachedLength="200" + cachedName="UNICODE_ORGANIZATION_NAME" + cachedSortKeyPosition="1" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[UNICODE_ORGANIZATION_NAME]"> #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_STREET_ADDRESS_2]} - - - - + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">ORGANIZATION_NAME #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_MUNICIPALITY_NAME]} + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> + cachedLength="10" + cachedName="APP_CREATE_USER_DIRECTORY" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]"> #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_POSTAL_CODE]} - - - - + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">APP_CREATE_USER_DIRECTORY #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_PROVINCE]} + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> + cachedLength="5" + cachedName="ORGANIZATION_TYPE_CODE" + lineageId="Package\Load Interest Holder Persons and Organizations\Format PIMS_Organisation output column.Outputs[Derived Column Output].Columns[ORGANIZATION_TYPE_CODE]"> #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} - - - - + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">ORGANIZATION_TYPE_CODE #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[FirstName]} + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> + cachedLength="11" + cachedName="ORGANIZATION_IDENTIFIER_TYPE_CODE" + lineageId="Package\Load Interest Holder Persons and Organizations\Format PIMS_Organisation output column.Outputs[Derived Column Output].Columns[ORGANIZATION_IDENTIFIER_TYPE_CODE]"> #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[SurName]} - - - - + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">ORG_IDENTIFIER_TYPE_CODE #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[CONTACT_METHOD]} + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> - - - - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} - - - - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[ACQUISITION_TYPE_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NUMBER]} - - - - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NAME]} - - + + + + + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_PERSON] + select * from (select * from [dbo].[PIMS_PERSON]) [refTable] +where [refTable].[FIRST_NAME] = ? and [refTable].[MIDDLE_NAMES] = ? and [refTable].[SURNAME] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURNAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="FIRST_NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="MIDDLE_NAMES" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME_SUFFIX" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="PREFERRED_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="BIRTH_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="USE_ORGANIZATION_ADDRESS" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[UNICODE_ FIRST_NAME]};#{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[UNICODE_MIDDLE_NAME]};#{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[UNICODE_SURNAME]}; + 1252 + false + + + + + + + + cachedLength="50" + cachedName="UNICODE_ FIRST_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[UNICODE_ FIRST_NAME]"> #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[FILE_NAME]} - - - - + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">FIRST_NAME #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[FILE_NO]} + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> + cachedLength="50" + cachedName="UNICODE_MIDDLE_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[UNICODE_MIDDLE_NAME]"> #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">MIDDLE_NAMES #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[ASSIGNED_DATE]} + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> + refId="Package\Load Interest Holder Persons and Organizations\Existing PIMS_PERSON records.Inputs[Lookup Input].Columns[UNICODE_SURNAME]" + cachedDataType="wstr" + cachedLength="50" + cachedName="UNICODE_SURNAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[UNICODE_SURNAME]"> #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[DELIVERY_DATE]} + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">SURNAME + + + + + + + + + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_ORGANIZATION] + select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] +where [refTable].[ORGANIZATION_NAME] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PRNT_ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORG_IDENTIFIER_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_IDENTIFIER" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ALIAS" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="INCORPORATION_NUMBER" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="WEBSITE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ORGANIZATION_NAME]};#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of INTEREST_HOLDER_ID]}; + 1252 + false + + + + + + + + cachedLength="200" + cachedName="UNICODE_ORGANIZATION_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ORGANIZATION_NAME]"> #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_ACQ_FL_PERSON_PROFILE_TYPE_CODE]} + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">ORGANIZATION_NAME + + cachedLength="50" + cachedName="Copy of INTEREST_HOLDER_ID" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of INTEREST_HOLDER_ID]"> #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]} + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">APP_CREATE_USER_DIRECTORY + + + + + + + + + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_PERSON] + select * from (select * from [dbo].[PIMS_PERSON]) [refTable] +where [refTable].[FIRST_NAME] = ? and [refTable].[MIDDLE_NAMES] = ? and [refTable].[SURNAME] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURNAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="FIRST_NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="MIDDLE_NAMES" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME_SUFFIX" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="PREFERRED_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="BIRTH_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="USE_ORGANIZATION_ADDRESS" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ FIRST_NAME]};#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_MIDDLE_NAME]};#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_SURNAME]};#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of INTEREST_HOLDER_ID]}; + 1252 + false + + + + + + + + cachedLength="50" + cachedName="UNICODE_ FIRST_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ FIRST_NAME]"> #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_PERSON_COMMENT_ID]} + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">FIRST_NAME + + cachedLength="50" + cachedName="UNICODE_MIDDLE_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_MIDDLE_NAME]"> #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_PERSON_COMMENT_ORG]} - - - - + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">MIDDLE_NAMES #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_PERSON_REGION]} + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> + cachedLength="50" + cachedName="UNICODE_SURNAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_SURNAME]"> #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_STREET_ADDRESS_1]} + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">SURNAME + + cachedLength="50" + cachedName="Copy of INTEREST_HOLDER_ID" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of INTEREST_HOLDER_ID]"> #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_STREET_ADDRESS_2]} - - - - - #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_MUNICIPALITY_NAME]} + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">APP_CREATE_USER_DIRECTORY + + + + + + + + + + + + + + + + + + + + + + + + + + cachedLength="200" + cachedName="UNICODE_ORGANIZATION_NAME" + errorOrTruncationOperation="Computation" + errorRowDisposition="FailComponent" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ORGANIZATION_NAME]" + truncationRowDisposition="FailComponent" + usageType="readWrite"> #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_POSTAL_CODE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">[LTRIM](#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ORGANIZATION_NAME]}) #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[PROP_COORD_PROVINCE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">LTRIM(UNICODE_ORGANIZATION_NAME) - + + + + + + + + + + + + + + + + + + + + + + + + + + + #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"OTHER" #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[FirstName]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"OTHER" - - + + #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[SurName]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"OTHINCORPNO" #{Package\Load Acquisition Contact Method\Union All 2.Outputs[Union All Output 1].Columns[CONTACT_METHOD]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"OTHINCORPNO" - - - - - + + - - - + + refId="Package\Load Interest Holder Persons and Organizations\Format PIMS_Organisation output column.Outputs[Derived Column Error Output]" + description="Error Output of the Derived Column Transformation" + exclusionGroup="1" + isErrorOut="true" + name="Derived Column Error Output" + synchronousInputId="Package\Load Interest Holder Persons and Organizations\Format PIMS_Organisation output column.Inputs[Derived Column Input]"> - - - - - - - - - - - - - - - - - - - - - - - + refId="Package\Load Interest Holder Persons and Organizations\Format PIMS_Organisation output column.Outputs[Derived Column Error Output].Columns[ErrorCode]" + dataType="i4" + lineageId="Package\Load Interest Holder Persons and Organizations\Format PIMS_Organisation output column.Outputs[Derived Column Error Output].Columns[ErrorCode]" + name="ErrorCode" + specialFlags="1" /> + refId="Package\Load Interest Holder Persons and Organizations\Format PIMS_Organisation output column.Outputs[Derived Column Error Output].Columns[ErrorColumn]" + dataType="i4" + lineageId="Package\Load Interest Holder Persons and Organizations\Format PIMS_Organisation output column.Outputs[Derived Column Error Output].Columns[ErrorColumn]" + name="ErrorColumn" + specialFlags="2" /> + refId="Package\Load Interest Holder Persons and Organizations\Format PIMS_PERSON Output Columns" + componentClassID="Microsoft.DerivedColumn" + contactInfo="Derived Column;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;0" + description="Creates new column values by applying expressions to transformation input columns. Create new columns or overwrite existing ones. For example, concatenate the values from the 'first name' and 'last name' column to make a 'full name' column." + name="Format PIMS_PERSON Output Columns" + usesDispositions="true"> + refId="Package\Load Interest Holder Persons and Organizations\Format PIMS_PERSON Output Columns.Inputs[Derived Column Input]" + description="Input to the Derived Column Transformation" + name="Derived Column Input"> + refId="Package\Load Interest Holder Persons and Organizations\Format PIMS_PERSON Output Columns.Inputs[Derived Column Input].Columns[FIRST_NAME]" + cachedComparisonFlags="3" + cachedDataType="wstr" + cachedLength="15" + cachedName="FIRST_NAME" + cachedSortKeyPosition="1" + errorOrTruncationOperation="Computation" + errorRowDisposition="FailComponent" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[FIRST_NAME]" + truncationRowDisposition="FailComponent" + usageType="readWrite"> #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">(DT_WSTR,50)[TRIM](#{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[FIRST_NAME]}) #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">(DT_WSTR,50)TRIM(FIRST_NAME) + cachedLength="20" + cachedName="SURNAME" + cachedSortKeyPosition="2" + errorOrTruncationOperation="Computation" + errorRowDisposition="FailComponent" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[SURNAME]" + truncationRowDisposition="FailComponent" + usageType="readWrite"> #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[ACQUISITION_TYPE_CODE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">(DT_WSTR,50)[TRIM](#{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[SURNAME]}) #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[REGION_CODE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">(DT_WSTR,50)TRIM(SURNAME) + + + + + + + + + + + + + + + + + + + + 0 + [dbo].[PIMS_ORGANIZATION] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NUMBER]} - - + cachedLength="23" + cachedName="APP_CREATE_USERID" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\Insert PIMS_ORGANIZATIION.Inputs[OLE DB Destination Input].ExternalColumns[APP_CREATE_USERID]" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[APP_CREATE_USERID]" /> - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NAME]} - - + cachedLength="10" + cachedName="APP_CREATE_USER_DIRECTORY" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\Insert PIMS_ORGANIZATIION.Inputs[OLE DB Destination Input].ExternalColumns[APP_CREATE_USER_DIRECTORY]" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]" /> - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[FILE_NAME]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[FILE_NO]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[ASSIGNED_DATE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[DELIVERY_DATE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_PERSON_COMMENT_ID]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_PERSON_COMMENT_ORG]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_PERSON_REGION]} - - + cachedLength="23" + cachedName="APP_LAST_UPDATE_USERID" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\Insert PIMS_ORGANIZATIION.Inputs[OLE DB Destination Input].ExternalColumns[APP_LAST_UPDATE_USERID]" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[APP_LAST_UPDATE_USERID]" /> - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_STREET_ADDRESS_1]} - - + cachedLength="12" + cachedName="APP_LAST_UPDATE_USER_DIRECTORY" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\Insert PIMS_ORGANIZATIION.Inputs[OLE DB Destination Input].ExternalColumns[APP_LAST_UPDATE_USER_DIRECTORY]" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]" /> - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_STREET_ADDRESS_2]} - - + cachedLength="5" + cachedName="ORGANIZATION_TYPE_CODE" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\Insert PIMS_ORGANIZATIION.Inputs[OLE DB Destination Input].ExternalColumns[ORGANIZATION_TYPE_CODE]" + lineageId="Package\Load Interest Holder Persons and Organizations\Format PIMS_Organisation output column.Outputs[Derived Column Output].Columns[ORGANIZATION_TYPE_CODE]" /> - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_MUNICIPALITY_NAME]} - - + cachedLength="11" + cachedName="ORGANIZATION_IDENTIFIER_TYPE_CODE" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\Insert PIMS_ORGANIZATIION.Inputs[OLE DB Destination Input].ExternalColumns[ORG_IDENTIFIER_TYPE_CODE]" + lineageId="Package\Load Interest Holder Persons and Organizations\Format PIMS_Organisation output column.Outputs[Derived Column Output].Columns[ORGANIZATION_IDENTIFIER_TYPE_CODE]" /> - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_POSTAL_CODE]} - - + cachedLength="23" + cachedName="DB_CREATE_USERID" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\Insert PIMS_ORGANIZATIION.Inputs[OLE DB Destination Input].ExternalColumns[DB_CREATE_USERID]" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[DB_CREATE_USERID]" /> - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_PROVINCE]} - - + cachedLength="23" + cachedName="DB_LAST_UPDATE_USERID" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\Insert PIMS_ORGANIZATIION.Inputs[OLE DB Destination Input].ExternalColumns[DB_LAST_UPDATE_USERID]" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[DB_LAST_UPDATE_USERID]" /> - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[CONTACT_METHOD]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[FirstName]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[SurName]} - - + cachedName="UNICODE_ORGANIZATION_NAME" + cachedSortKeyPosition="1" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\Insert PIMS_ORGANIZATIION.Inputs[OLE DB Destination Input].ExternalColumns[ORGANIZATION_NAME]" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[UNICODE_ORGANIZATION_NAME]" /> - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + [dbo].[PIMS_PERSON] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + name="OLE DB Destination Input"> - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} - - + refId="Package\Load Interest Holder Persons and Organizations\Insert PIMS_PERSON.Inputs[OLE DB Destination Input].Columns[APP_CREATE_USERID]" + cachedDataType="wstr" + cachedLength="23" + cachedName="APP_CREATE_USERID" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\Insert PIMS_PERSON.Inputs[OLE DB Destination Input].ExternalColumns[APP_CREATE_USERID]" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[APP_CREATE_USERID]" /> - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} - - + cachedLength="10" + cachedName="APP_CREATE_USER_DIRECTORY" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\Insert PIMS_PERSON.Inputs[OLE DB Destination Input].ExternalColumns[APP_CREATE_USER_DIRECTORY]" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]" /> - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[ACQUISITION_TYPE_CODE]} - - + cachedLength="23" + cachedName="APP_LAST_UPDATE_USERID" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\Insert PIMS_PERSON.Inputs[OLE DB Destination Input].ExternalColumns[APP_LAST_UPDATE_USERID]" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[APP_LAST_UPDATE_USERID]" /> - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[REGION_CODE]} - - + refId="Package\Load Interest Holder Persons and Organizations\Insert PIMS_PERSON.Inputs[OLE DB Destination Input].Columns[APP_LAST_UPDATE_USER_DIRECTORY]" + cachedDataType="wstr" + cachedLength="12" + cachedName="APP_LAST_UPDATE_USER_DIRECTORY" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\Insert PIMS_PERSON.Inputs[OLE DB Destination Input].ExternalColumns[APP_LAST_UPDATE_USER_DIRECTORY]" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]" /> - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NUMBER]} - - + cachedLength="50" + cachedName="UNICODE_SURNAME" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\Insert PIMS_PERSON.Inputs[OLE DB Destination Input].ExternalColumns[SURNAME]" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[UNICODE_SURNAME]" /> - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NAME]} - - + cachedLength="50" + cachedName="UNICODE_ FIRST_NAME" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\Insert PIMS_PERSON.Inputs[OLE DB Destination Input].ExternalColumns[FIRST_NAME]" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[UNICODE_ FIRST_NAME]" /> - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[FILE_NAME]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[FILE_NO]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[ASSIGNED_DATE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[DELIVERY_DATE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_PERSON_COMMENT_ID]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_PERSON_COMMENT_ORG]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_PERSON_REGION]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_STREET_ADDRESS_1]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_STREET_ADDRESS_2]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_MUNICIPALITY_NAME]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_POSTAL_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_PROVINCE]} - - + cachedLength="50" + cachedName="UNICODE_MIDDLE_NAME" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\Insert PIMS_PERSON.Inputs[OLE DB Destination Input].ExternalColumns[MIDDLE_NAMES]" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[UNICODE_MIDDLE_NAME]" /> - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[FirstName]} - - + cachedLength="23" + cachedName="DB_CREATE_USERID" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\Insert PIMS_PERSON.Inputs[OLE DB Destination Input].ExternalColumns[DB_CREATE_USERID]" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[DB_CREATE_USERID]" /> - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[SurName]} - - + cachedLength="23" + cachedName="DB_LAST_UPDATE_USERID" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\Insert PIMS_PERSON.Inputs[OLE DB Destination Input].ExternalColumns[DB_LAST_UPDATE_USERID]" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[DB_LAST_UPDATE_USERID]" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[CONTACT_METHOD]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} - - + cachedName="ORGANIZATION_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]" /> + + + + + ![ISNULL](#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]}) && [LEN]([TRIM](#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]})) > 0 + !ISNULL(ORGANIZATION_NAME) && LEN(TRIM(ORGANIZATION_NAME)) > 0 + 0 + + + + + + true + + + + + + + + + + + + + + + refId="Package\Load Interest Holder Persons and Organizations\IS_PERSON.Inputs[Conditional Split Input]" + description="Input to the Conditional Split Transformation" + name="Conditional Split Input"> - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[ACQUISITION_TYPE_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NUMBER]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NAME]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[FILE_NAME]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[FILE_NO]} - - + cachedLength="20" + cachedName="SURNAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]" /> - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[ASSIGNED_DATE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[DELIVERY_DATE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_PERSON_COMMENT_ID]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_PERSON_COMMENT_ORG]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_PERSON_REGION]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_STREET_ADDRESS_1]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_STREET_ADDRESS_2]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_MUNICIPALITY_NAME]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_POSTAL_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_PROVINCE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[FirstName]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[SurName]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[CONTACT_METHOD]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} - - + cachedLength="15" + cachedName="FIRST_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]" /> - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[ACQUISITION_TYPE_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NUMBER]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NAME]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[FILE_NAME]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[FILE_NO]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[ASSIGNED_DATE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[DELIVERY_DATE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_PERSON_COMMENT_ID]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_PERSON_COMMENT_ORG]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_PERSON_REGION]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_STREET_ADDRESS_1]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_STREET_ADDRESS_2]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_MUNICIPALITY_NAME]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_POSTAL_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[EXP_AGT_PROVINCE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[FirstName]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[SurName]} - - - - - #{Package\Load Acquisition Contact Method\Union All 3.Outputs[Union All Output 1].Columns[CONTACT_METHOD]} - - - + + + + + (![ISNULL](#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]}) || ![ISNULL](#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]})) && ([LEN]([TRIM](#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]})) > 0 || [LEN]([TRIM](#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]})) > 0) + (!ISNULL(SURNAME) || !ISNULL(FIRST_NAME)) && (LEN(TRIM(FIRST_NAME)) > 0 || LEN(TRIM(SURNAME)) > 0) + 0 + - + + + + true + + + + + + + + + + + + + + + refId="Package\Load Interest Holder Persons and Organizations\Multicast.Inputs[Multicast Input 1]" + name="Multicast Input 1"> - - - - - - + refId="Package\Load Interest Holder Persons and Organizations\Multicast.Outputs[Multicast Output 3]" + deleteOutputOnPathDetached="true" + name="Multicast Output 3" + synchronousInputId="Package\Load Interest Holder Persons and Organizations\Multicast.Inputs[Multicast Input 1]"> + + + + + + + + + + + + + 0 + "APP_PAM"."PAM_INTEREST_HOLDER" + + select * from pam_interest_holder where interest_holder_id in (6302, 67054) + + 1252 + false + 0 + + + + + + + + + refId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[INTEREST_HOLDER_ID]" + dataType="numeric" + errorOrTruncationOperation="Conversion" + errorRowDisposition="FailComponent" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].ExternalColumns[INTEREST_HOLDER_ID]" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[INTEREST_HOLDER_ID]" + name="INTEREST_HOLDER_ID" + precision="10" + truncationRowDisposition="FailComponent" /> + + errorOrTruncationOperation="Conversion" + errorRowDisposition="FailComponent" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].ExternalColumns[SURNAME]" + length="20" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[SURNAME]" + name="SURNAME" + truncationRowDisposition="FailComponent" /> + refId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[FIRST_NAME]" + dataType="wstr" + errorOrTruncationOperation="Conversion" + errorRowDisposition="FailComponent" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].ExternalColumns[FIRST_NAME]" + length="15" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[FIRST_NAME]" + name="FIRST_NAME" + truncationRowDisposition="FailComponent" /> + errorOrTruncationOperation="Conversion" + errorRowDisposition="FailComponent" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].ExternalColumns[MIDDLE_NAME]" + length="50" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[MIDDLE_NAME]" + name="MIDDLE_NAME" + truncationRowDisposition="FailComponent" /> + refId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_LINE_1]" + dataType="wstr" + errorOrTruncationOperation="Conversion" + errorRowDisposition="FailComponent" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].ExternalColumns[LEGAL_ADDRESS_LINE_1]" + length="40" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_LINE_1]" + name="STREET_ADDRESS_LINE_1" + truncationRowDisposition="FailComponent" /> + refId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_LINE_2]" + dataType="wstr" + errorOrTruncationOperation="Conversion" + errorRowDisposition="FailComponent" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].ExternalColumns[LEGAL_ADDRESS_LINE_2]" + length="40" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_LINE_2]" + name="STREET_ADDRESS_LINE_2" + truncationRowDisposition="FailComponent" /> + errorOrTruncationOperation="Conversion" + errorRowDisposition="FailComponent" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].ExternalColumns[LEGAL_ADDRESS_LINE_3]" + length="40" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_LINE_3]" + name="STREET_ADDRESS_LINE_3" + truncationRowDisposition="FailComponent" /> + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[MUNCIPALITY_NAME]" + name="MUNCIPALITY_NAME" + truncationRowDisposition="FailComponent" /> + errorOrTruncationOperation="Conversion" + errorRowDisposition="FailComponent" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].ExternalColumns[PROVINCE]" + length="2" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[PROVINCE]" + name="PROVINCE" + truncationRowDisposition="FailComponent" /> + errorOrTruncationOperation="Conversion" + errorRowDisposition="FailComponent" + externalMetadataColumnId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].ExternalColumns[COUNTRY]" + length="20" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[COUNTRY]" + name="COUNTRY" + truncationRowDisposition="FailComponent" /> + + + + + + + + + + + + + - - + + name="CITY" /> + + + + + + + + + + + + + + + + + + + length="20" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Error Output].Columns[SURNAME]" + name="SURNAME" /> + length="15" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Error Output].Columns[FIRST_NAME]" + name="FIRST_NAME" /> + length="50" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Error Output].Columns[MIDDLE_NAME]" + name="MIDDLE_NAME" /> + length="40" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Error Output].Columns[LEGAL_ADDRESS_LINE_1]" + name="LEGAL_ADDRESS_LINE_1" /> + length="40" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Error Output].Columns[LEGAL_ADDRESS_LINE_2]" + name="LEGAL_ADDRESS_LINE_2" /> + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Error Output].Columns[LEGAL_ADDRESS_LINE_3]" + name="LEGAL_ADDRESS_LINE_3" /> + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Error Output].Columns[CITY]" + name="CITY" /> + + + + version="6"> - 0 update PIMS_CONTACT_METHOD -set CONTACT_METHOD_TYPE_CODE=?, -PERSON_ID=?, -CONTACT_METHOD_VALUE=? -where APP_CREATE_USER_DIRECTORY=? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_ORGANIZATION] + select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] +where [refTable].[ORGANIZATION_NAME] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[ORGANIZATION_TYPE_CODE] = ? and [refTable].[ORG_IDENTIFIER_TYPE_CODE] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PRNT_ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORG_IDENTIFIER_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_IDENTIFIER" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ALIAS" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="INCORPORATION_NUMBER" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="WEBSITE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[ORGANIZATION_NAME]};#{Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]};#{Package\Load Interest Holder Persons and Organizations\Format PIMS_Organisation output column.Outputs[Derived Column Output].Columns[ORGANIZATION_TYPE_CODE]};#{Package\Load Interest Holder Persons and Organizations\Format PIMS_Organisation output column.Outputs[Derived Column Output].Columns[ORGANIZATION_IDENTIFIER_TYPE_CODE]}; 1252 + false + refId="Package\Load Interest Holder Persons and Organizations\PIMS_ORGANIZATION records to be updated.Inputs[Lookup Input]" + name="Lookup Input"> - - - - - - + cachedLength="5" + cachedName="ORGANIZATION_TYPE_CODE" + lineageId="Package\Load Interest Holder Persons and Organizations\Format PIMS_Organisation output column.Outputs[Derived Column Output].Columns[ORGANIZATION_TYPE_CODE]"> 65 + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">ORGANIZATION_TYPE_CODE + - - + + 81 - - - + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">ORG_IDENTIFIER_TYPE_CODE + + + + 65 + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">APP_CREATE_USER_DIRECTORY + - - + + 65 + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">ORGANIZATION_NAME + - - + + + + name="Lookup Match Output" + synchronousInputId="Package\Load Interest Holder Persons and Organizations\PIMS_ORGANIZATION records to be updated.Inputs[Lookup Input]"> + + + + name="Lookup Error Output" + synchronousInputId="Package\Load Interest Holder Persons and Organizations\PIMS_ORGANIZATION records to be updated.Inputs[Lookup Input]"> @@ -23067,430 +17353,198 @@ where APP_CREATE_USER_DIRECTORY=? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + refId="Package\Load Interest Holder Persons and Organizations\PIMS_PERSON records to be updated" + componentClassID="Microsoft.Lookup" + contactInfo="Lookup;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;6" + description="Joins additional columns to the data flow by looking up values in a table. For example, join to the 'employee id' column the employees table to get 'hire date' and 'employee name'. We recommend this transformation when the lookup table can fit into memory." + name="PIMS_PERSON records to be updated" + usesDispositions="true" + version="6"> + + select * from [dbo].[PIMS_PERSON] + select * from (select * from [dbo].[PIMS_PERSON]) [refTable] +where [refTable].[SURNAME] = ? and [refTable].[FIRST_NAME] = ? and [refTable].[MIDDLE_NAMES] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURNAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="FIRST_NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="MIDDLE_NAMES" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME_SUFFIX" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="PREFERRED_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="BIRTH_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="USE_ORGANIZATION_ADDRESS" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[SURNAME]};#{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[FIRST_NAME]};#{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[MIDDLE_NAME]};#{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]}; + 1252 + false + + + + + refId="Package\Load Interest Holder Persons and Organizations\PIMS_PERSON records to be updated.Inputs[Lookup Input]" + name="Lookup Input"> - - - - - - - - + refId="Package\Load Interest Holder Persons and Organizations\PIMS_PERSON records to be updated.Inputs[Lookup Input].Columns[SURNAME]" + cachedComparisonFlags="3" + cachedDataType="wstr" + cachedLength="20" + cachedName="SURNAME" + cachedSortKeyPosition="2" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[SURNAME]"> "APP_PIMS_PROXY_ETL_EDIT" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">SURNAME "APP_PIMS_PROXY_ETL_EDIT" + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> - - + + (DT_WSTR,10)#{Package\Load Acquisition File Data\PAIMS Acquisition.Outputs[OLE DB Source Output].Columns[PAIMS_ACQUISITION_FILE_ID]} + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">FIRST_NAME (DT_WSTR,10)PAIMS_ACQUISITION_FILE_ID + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> - - + + "APP_PIMS_PROXY_ETL_EDIT" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">MIDDLE_NAMES "APP_PIMS_PROXY_ETL_EDIT" + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> - - + + "place_holder" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">APP_CREATE_USER_DIRECTORY "place_holder" + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> - - + + + + + + + + + + + name="Lookup Error Output" + synchronousInputId="Package\Load Interest Holder Persons and Organizations\PIMS_PERSON records to be updated.Inputs[Lookup Input]"> @@ -23499,180 +17553,156 @@ where APP_CREATE_USER_DIRECTORY=? + refId="Package\Load Interest Holder Persons and Organizations\PROVINCE_STATE_ID" + componentClassID="Microsoft.Lookup" + contactInfo="Lookup;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;6" + description="Joins additional columns to the data flow by looking up values in a table. For example, join to the 'employee id' column the employees table to get 'hire date' and 'employee name'. We recommend this transformation when the lookup table can fit into memory." + name="PROVINCE_STATE_ID" + usesDispositions="true" + version="6"> + + select * from [dbo].[PIMS_PROVINCE_STATE] + select * from (select * from [dbo].[PIMS_PROVINCE_STATE]) [refTable] +where [refTable].[DESCRIPTION] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISPLAY_ORDER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Interest Holder Persons and Organizations\2874:invalid}; + 1252 + false + + + + + refId="Package\Load Interest Holder Persons and Organizations\PROVINCE_STATE_ID.Inputs[Lookup Input]" + name="Lookup Input"> - - - - - - - - - - - - - - #{Package\Load Acquisition File Data\PAIMS Acquisition.Outputs[OLE DB Source Output].Columns[FILE_NUMBER]} - false - - - + cachedLength="2" + cachedName="UNICODE_PROVINCE" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]"> #{Package\Load Acquisition File Data\PAIMS Acquisition.Outputs[OLE DB Source Output].Columns[MINISTRY_PROJECT_NAME]} + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">DESCRIPTION false + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> - + + + + + + + + - - #{Package\Load Acquisition File Data\PAIMS Acquisition.Outputs[OLE DB Source Output].Columns[REGION_CODE]} - false - - - - - #{Package\Load Acquisition File Data\PAIMS Acquisition.Outputs[OLE DB Source Output].Columns[PAIMS_ACQUISITION_FILE_ID]} - false - - - #{Package\Load Acquisition File Data\PAIMS Acquisition.Outputs[OLE DB Source Output].Columns[FILE_NO]} - false + dataType="System.String" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn">PROVINCE_STATE_ID + + + + name="Lookup Error Output" + synchronousInputId="Package\Load Interest Holder Persons and Organizations\PROVINCE_STATE_ID.Inputs[Lookup Input]"> @@ -23681,1336 +17711,500 @@ where APP_CREATE_USER_DIRECTORY=? + refId="Package\Load Interest Holder Persons and Organizations\Sort" + componentClassID="Microsoft.Sort" + contactInfo="Sort;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;1" + description="Sorts input data in ascending or descending order when it cannot be sorted at its source. For example, sort sales data by 'customer id' before it is written to a flat file and delivered to another department. Note: We do not recommend this transformation for large data flows." + name="Sort" + version="1"> + + true + -1 + + refId="Package\Load Interest Holder Persons and Organizations\Sort.Inputs[Sort Input]" + name="Sort Input"> - - - - - - - - - - + cachedLength="20" + cachedName="SURNAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]"> [GETDATE]() + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">3 GETDATE() + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">2 - - + + "Load Acquisition File Data" + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">3 "Load Acquisition File Data" + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">1 - - + + "PIMS_ACQUISITION_FILE" + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">3 "PIMS_ACQUISITION_FILE" + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">3 - - + + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 - - + + "ACQUISITION_STATUS_TYPE_CODE " + #{Package\Load Acquisition File Data\PAIMS Acquisition.Outputs[OLE DB Source Output].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Acquisition File Data\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} + "ACQUISITION_TYPE_CODE: " + #{Package\Load Acquisition File Data\PAIMS Acquisition.Outputs[OLE DB Source Output].Columns[ACQUISITION_TYPE_CODE]} + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 "ACQUISITION_STATUS_TYPE_CODE " + ACQUISITION_FILE_STATUS_TYPE_CODE + " APP_CREATE_USER_DIRECTORY: " + APP_CREATE_USER_DIRECTORY + "ACQUISITION_TYPE_CODE: " + ACQUISITION_TYPE_CODE + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 - - - - - - - - - - - - - - - - - + + cachedLength="40" + cachedName="STREET_ADDRESS_LINE_3" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_3]"> + + 0 + 0 + + + cachedLength="40" + cachedName="MUNCIPALITY_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MUNCIPALITY_NAME]"> + + 0 + 0 + + - - - - - - - - + cachedLength="2" + cachedName="PROVINCE" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]"> [GETDATE]() + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 GETDATE() + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 - - + + "Load Acquisition File Data" + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 "Load Acquisition File Data" + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 - - + + "PIMS_ACQUISITION_FILE" + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 "PIMS_ACQUISITION_FILE" + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 - - + + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 - - + + "ACQUISITION_STATUS_TYPE_CODE " + #{Package\Load Acquisition File Data\PAIMS Acquisition.Outputs[OLE DB Source Output].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Acquisition File Data\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} + "ACQUISITION_TYPE_CODE: " + #{Package\Load Acquisition File Data\PAIMS Acquisition.Outputs[OLE DB Source Output].Columns[ACQUISITION_TYPE_CODE]} + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 "ACQUISITION_STATUS_TYPE_CODE " + ACQUISITION_FILE_STATUS_TYPE_CODE + " APP_CREATE_USER_DIRECTORY: " + APP_CREATE_USER_DIRECTORY + "ACQUISITION_TYPE_CODE: " + ACQUISITION_TYPE_CODE + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_ACQUISITION_FILE] - select * from (select * from [dbo].[PIMS_ACQUISITION_FILE]) [refTable] -where [refTable].[ACQUISITION_FILE_STATUS_TYPE_CODE] = ? and [refTable].[ACQUISITION_TYPE_CODE] = ? and [refTable].[MINISTRY_PROJECT_NUMBER] = ? and [refTable].[FILE_NAME] = ? and [refTable].[ASSIGNED_DATE] = ? and [refTable].[DELIVERY_DATE] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[FILE_NUMBER] = ? and [refTable].[MINISTRY_PROJECT_NAME] = ? and [refTable].[REGION_CODE] = ? and [refTable].[PAIMS_ACQUISITION_FILE_ID] = ? and [refTable].[FILE_NO] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ACQUISITION_FILE_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ACQUISITION_FILE_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ACQUISITION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ACQUISITION_FUNDING_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ACQ_PHYS_FILE_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="MINISTRY_PROJECT_NUMBER" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="MINISTRY_PROJECT_NAME" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="CPS_PRODUCT_CODE" dataType="DT_WSTR" length="12" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NAME" dataType="DT_WSTR" length="500" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER" dataType="DT_WSTR" length="18" precision="0" scale="0" codePage="0"/><referenceColumn name="FUNDING_OTHER" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ASSIGNED_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DELIVERY_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NO" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PAIMS_ACQUISITION_FILE_ID" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Acquisition File Data\PAIMS Acquisition.Outputs[OLE DB Source Output].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]};#{Package\Load Acquisition File Data\PAIMS Acquisition.Outputs[OLE DB Source Output].Columns[ACQUISITION_TYPE_CODE]};#{Package\Load Acquisition File Data\PAIMS Acquisition.Outputs[OLE DB Source Output].Columns[MINISTRY_PROJECT_NUMBER]};#{Package\Load Acquisition File Data\PAIMS Acquisition.Outputs[OLE DB Source Output].Columns[FILE_NAME]};#{Package\Load Acquisition File Data\PAIMS Acquisition.Outputs[OLE DB Source Output].Columns[ASSIGNED_DATE]};#{Package\Load Acquisition File Data\PAIMS Acquisition.Outputs[OLE DB Source Output].Columns[DELIVERY_DATE]};#{Package\Load Acquisition File Data\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]};#{Package\Load Acquisition File Data\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of FILE_NUMBER]};#{Package\Load Acquisition File Data\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of MINISTRY_PROJECT_NAME]};#{Package\Load Acquisition File Data\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of REGION_CODE]};#{Package\Load Acquisition File Data\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of PAIMS_ACQUISITION_FILE_ID]};#{Package\Load Acquisition File Data\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of FILE_NO]}; - 1252 - false - - - - - - - + + cachedLength="2" + cachedName="UNICODE_PROVINCE" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]"> ACQUISITION_FILE_STATUS_TYPE_CODE + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 + cachedLength="200" + cachedName="UNICODE_ORGANIZATION_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ORGANIZATION_NAME]"> ACQUISITION_TYPE_CODE + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 + cachedLength="50" + cachedName="UNICODE_ FIRST_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ FIRST_NAME]"> MINISTRY_PROJECT_NUMBER + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 + cachedLength="50" + cachedName="UNICODE_MIDDLE_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_MIDDLE_NAME]"> FILE_NAME + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 + refId="Package\Load Interest Holder Persons and Organizations\Sort.Inputs[Sort Input].Columns[UNICODE_SURNAME]" + cachedDataType="wstr" + cachedLength="50" + cachedName="UNICODE_SURNAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_SURNAME]"> ASSIGNED_DATE + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 + refId="Package\Load Interest Holder Persons and Organizations\Sort.Inputs[Sort Input].Columns[COUNTRY_ID]" + cachedDataType="i2" + cachedName="COUNTRY_ID" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]"> DELIVERY_DATE + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 + refId="Package\Load Interest Holder Persons and Organizations\Sort.Inputs[Sort Input].Columns[PROVINCE_STATE_ID]" + cachedDataType="i2" + cachedName="PROVINCE_STATE_ID" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]"> APP_CREATE_USER_DIRECTORY + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 + cachedLength="23" + cachedName="APP_CREATE_USERID" + lineageId="Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USERID]"> FILE_NUMBER + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 + cachedLength="10" + cachedName="APP_CREATE_USER_DIRECTORY" + lineageId="Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]"> MINISTRY_PROJECT_NAME - - - - - - REGION_CODE - - - - - - PAIMS_ACQUISITION_FILE_ID - - - - - - FILE_NO + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_ACQUISITION_FILE] - select * from (select * from [dbo].[PIMS_ACQUISITION_FILE]) [refTable] -where [refTable].[ACQUISITION_FILE_STATUS_TYPE_CODE] = ? and [refTable].[ACQUISITION_TYPE_CODE] = ? and [refTable].[MINISTRY_PROJECT_NUMBER] = ? and [refTable].[FILE_NAME] = ? and [refTable].[FILE_NUMBER] = ? and [refTable].[ASSIGNED_DATE] = ? and [refTable].[DELIVERY_DATE] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[MINISTRY_PROJECT_NAME] = ? and [refTable].[REGION_CODE] = ? and [refTable].[PAIMS_ACQUISITION_FILE_ID] = ? and [refTable].[FILE_NO] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ACQUISITION_FILE_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ACQUISITION_FILE_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ACQUISITION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ACQUISITION_FUNDING_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ACQ_PHYS_FILE_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="MINISTRY_PROJECT_NUMBER" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="MINISTRY_PROJECT_NAME" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="CPS_PRODUCT_CODE" dataType="DT_WSTR" length="12" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NAME" dataType="DT_WSTR" length="500" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER" dataType="DT_WSTR" length="18" precision="0" scale="0" codePage="0"/><referenceColumn name="FUNDING_OTHER" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ASSIGNED_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DELIVERY_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NO" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PAIMS_ACQUISITION_FILE_ID" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Acquisition File Data\PAIMS Acquisition.Outputs[OLE DB Source Output].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]};#{Package\Load Acquisition File Data\PAIMS Acquisition.Outputs[OLE DB Source Output].Columns[ACQUISITION_TYPE_CODE]};#{Package\Load Acquisition File Data\PAIMS Acquisition.Outputs[OLE DB Source Output].Columns[MINISTRY_PROJECT_NUMBER]};#{Package\Load Acquisition File Data\PAIMS Acquisition.Outputs[OLE DB Source Output].Columns[FILE_NAME]};#{Package\Load Acquisition File Data\PAIMS Acquisition.Outputs[OLE DB Source Output].Columns[FILE_NUMBER]};#{Package\Load Acquisition File Data\PAIMS Acquisition.Outputs[OLE DB Source Output].Columns[ASSIGNED_DATE]};#{Package\Load Acquisition File Data\PAIMS Acquisition.Outputs[OLE DB Source Output].Columns[DELIVERY_DATE]};#{Package\Load Acquisition File Data\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]};#{Package\Load Acquisition File Data\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of MINISTRY_PROJECT_NAME]};#{Package\Load Acquisition File Data\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of REGION_CODE]};#{Package\Load Acquisition File Data\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of PAIMS_ACQUISITION_FILE_ID]};#{Package\Load Acquisition File Data\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of FILE_NO]}; - 1252 - false - - - - - - - + cachedLength="23" + cachedName="APP_LAST_UPDATE_USERID" + lineageId="Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USERID]"> ACQUISITION_FILE_STATUS_TYPE_CODE + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 - - ACQUISITION_TYPE_CODE - - - - + cachedLength="12" + cachedName="APP_LAST_UPDATE_USER_DIRECTORY" + lineageId="Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]"> REGION_CODE + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 + cachedLength="50" + cachedName="Copy of SURNAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Converting First_Name and Surname datatype.Outputs[Data Conversion Output].Columns[Copy of SURNAME]"> MINISTRY_PROJECT_NAME + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 + cachedLength="50" + cachedName="Copy of FIRST_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Converting First_Name and Surname datatype.Outputs[Data Conversion Output].Columns[Copy of FIRST_NAME]"> MINISTRY_PROJECT_NUMBER + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 + cachedLength="23" + cachedName="DB_CREATE_USERID" + lineageId="Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[DB_CREATE_USERID]"> FILE_NUMBER + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 - - FILE_NAME - - - - - - ASSIGNED_DATE - - - - - - DELIVERY_DATE - - - - - - FILE_NO - - - - + cachedLength="23" + cachedName="DB_LAST_UPDATE_USERID" + lineageId="Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[DB_LAST_UPDATE_USERID]"> PAIMS_ACQUISITION_FILE_ID + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 + cachedLength="50" + cachedName="Copy of INTEREST_HOLDER_ID" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of INTEREST_HOLDER_ID]"> APP_CREATE_USER_DIRECTORY + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 @@ -25019,4695 +18213,2910 @@ where [refTable].[ACQUISITION_FILE_STATUS_TYPE_CODE] = ? and [refTable].[ACQUISI - - - - - - + refId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output]" + isSorted="true" + name="Sort Output"> - - - - - - - - - 0 - update PIMS_ACQUISITION_FILE -set ACQUISITION_FILE_STATUS_TYPE_CODE=?, -ACQUISITION_TYPE_CODE=?, -REGION_CODE=?, -MINISTRY_PROJECT_NUMBER=?, -MINISTRY_PROJECT_NAME=?, -FILE_NUMBER=?, -FILE_NAME=?, -ASSIGNED_DATE=?, -DELIVERY_DATE=?, -FILE_NO=?, -PAIMS_ACQUISITION_FILE_ID=? -where APP_LAST_UPDATE_USER_DIRECTORY=? - 1252 - - - - - - - - - - - - - - - - - - - - - - + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[SURNAME]" + name="SURNAME" + sortKeyPosition="2"> 65 + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]} - - + + length="15" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[FIRST_NAME]" + name="FIRST_NAME" + sortKeyPosition="1"> 65 + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - + + 81 + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - + + length="40" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[STREET_ADDRESS_LINE_1]" + name="STREET_ADDRESS_LINE_1"> 65 + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_1]} - - + + length="40" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[STREET_ADDRESS_LINE_2]" + name="STREET_ADDRESS_LINE_2"> 65 + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_2]} - - + + length="40" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[STREET_ADDRESS_LINE_3]" + name="STREET_ADDRESS_LINE_3"> 65 + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_3]} - - + + length="40" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[MUNCIPALITY_NAME]" + name="MUNCIPALITY_NAME"> 65 + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MUNCIPALITY_NAME]} - - + + 65 + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]} - - + + 65 + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY]} - - + + 81 + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} - - + + 81 + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - + + length="20" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[UNICODE_COUNTRY]" + name="UNICODE_COUNTRY"> 65 + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_COUNTRY]} - - - - - - - - - - - - - - - - - - - - 0 - - - SELECT acq.AGENT_ASSIGNMENT_ID AS PAIMS_ACQUISITION_FILE_ID - , DECODE(acq.CLOSED_DATE, NULL, DECODE(acq.SETTLED_FLAG, 'Y', 'CLOSED', 'ACTIVE'), 'CLOSED') AS ACQUISITION_FILE_STATUS_TYPE_CODE - , DECODE(acq.ACQUISITION_CODE, 'C', 'CONSEN', 'A', 'SECTN3', 'E', 'SECTN6') AS ACQUISITION_TYPE_CODE - , acq.REGION_NO AS REGION_CODE - , LTRIM(TO_CHAR (prj.FMIS_NO , '00009' ) ) AS MINISTRY_PROJECT_NUMBER - , DECODE(UPPER(prj.NAME ) , UPPER(sub.NAME ) , prj.NAME , prj.NAME || ' - ' || sub.NAME ) AS MINISTRY_PROJECT_NAME - , acq.NAME AS FILE_NAME - , acq.AGENT_ASSIGNMENT_NO AS FILE_NO - , acq.AGENT_ASSIGNMENT_NO_PREFIX || '-' || acq.AGENT_ASSIGNMENT_NO || '-' || COALESCE(acq.AGENT_ASSIGNMENT_NO_SUFFIX, '01') AS FILE_NUMBER - , acq.ASSIGNED_DATE AS ASSIGNED_DATE - , acq.DELIVERY_DATE AS DELIVERY_DATE - -FROM PAM_AGENT_ASSIGNMENT acq JOIN - PAM_PROPERTY_EMPLOYEE prp ON prp.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID JOIN - PAM_SUB_PROJECT sub ON sub.SUB_PROJECT_ID = acq.SUB_PROJECT_ID LEFT OUTER JOIN - HWY_MINISTRY_PROJECT prj ON prj.MINISTRY_PROJECT_ID = sub.MINISTRY_PROJECT_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE cor ON cor.PROPERTY_EMPLOYEE_ID = acq.COORD_PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE neg ON neg.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE exp ON exp.PROPERTY_EMPLOYEE_ID = acq.EXPR_PROPERTY_EMPLOYEE_ID - - 1252 - false - 2 - - - - - - - - - + + length="2" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[UNICODE_PROVINCE]" + name="UNICODE_PROVINCE"> + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]} + + - + length="200" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[UNICODE_ORGANIZATION_NAME]" + name="UNICODE_ORGANIZATION_NAME"> + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ORGANIZATION_NAME]} + + + length="50" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[UNICODE_ FIRST_NAME]" + name="UNICODE_ FIRST_NAME"> + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ FIRST_NAME]} + + + length="50" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[UNICODE_MIDDLE_NAME]" + name="UNICODE_MIDDLE_NAME"> + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_MIDDLE_NAME]} + + - + length="50" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[UNICODE_SURNAME]" + name="UNICODE_SURNAME"> + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_SURNAME]} + + + refId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[COUNTRY_ID]" + dataType="i2" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[COUNTRY_ID]" + name="COUNTRY_ID"> + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]} + + + refId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[PROVINCE_STATE_ID]" + dataType="i2" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[PROVINCE_STATE_ID]" + name="PROVINCE_STATE_ID"> + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]} + + - - - - - - - - - - - - - - - - - - + length="23" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[APP_CREATE_USERID]" + name="APP_CREATE_USERID"> + + #{Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USERID]} + + + length="10" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]" + name="APP_CREATE_USER_DIRECTORY"> + + #{Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} + + - + length="23" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[APP_LAST_UPDATE_USERID]" + name="APP_LAST_UPDATE_USERID"> + + #{Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USERID]} + + + length="12" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]" + name="APP_LAST_UPDATE_USER_DIRECTORY"> + + #{Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]} + + + length="50" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[Copy of SURNAME]" + name="Copy of SURNAME"> + + #{Package\Load Interest Holder Persons and Organizations\Converting First_Name and Surname datatype.Outputs[Data Conversion Output].Columns[Copy of SURNAME]} + + - + length="50" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[Copy of FIRST_NAME]" + name="Copy of FIRST_NAME"> + + #{Package\Load Interest Holder Persons and Organizations\Converting First_Name and Surname datatype.Outputs[Data Conversion Output].Columns[Copy of FIRST_NAME]} + + - - + length="23" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[DB_CREATE_USERID]" + name="DB_CREATE_USERID"> + + #{Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[DB_CREATE_USERID]} + + + refId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[DB_LAST_UPDATE_USERID]" + dataType="wstr" + length="23" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[DB_LAST_UPDATE_USERID]" + name="DB_LAST_UPDATE_USERID"> + + #{Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[DB_LAST_UPDATE_USERID]} + + + refId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[Copy of INTEREST_HOLDER_ID]" + dataType="wstr" + length="50" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[Copy of INTEREST_HOLDER_ID]" + name="Copy of INTEREST_HOLDER_ID"> + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of INTEREST_HOLDER_ID]} + + + refId="Package\Load Interest Holder Persons and Organizations\Sort 1" + componentClassID="Microsoft.Sort" + contactInfo="Sort;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;1" + description="Sorts input data in ascending or descending order when it cannot be sorted at its source. For example, sort sales data by 'customer id' before it is written to a flat file and delivered to another department. Note: We do not recommend this transformation for large data flows." + name="Sort 1" + version="1"> - 0 - [dbo].[PIMS_ACQUISITION_FILE] - - - 1252 - false - 3 - false false - + description="Indicates whether the Sort transformation removes rows with duplicate sort values." + name="EliminateDuplicates">true 2147483647 + description="Specifies the maximum number of threads to use for sorting." + expressionType="Notify" + name="MaximumThreads">-1 - - - + refId="Package\Load Interest Holder Persons and Organizations\Sort 1.Inputs[Sort Input]" + name="Sort Input"> + refId="Package\Load Interest Holder Persons and Organizations\Sort 1.Inputs[Sort Input].Columns[SURNAME]" + cachedDataType="wstr" + cachedLength="20" + cachedName="SURNAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]"> + + 0 + 0 + + + cachedLength="15" + cachedName="FIRST_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]"> + + 0 + 0 + + + cachedLength="50" + cachedName="MIDDLE_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MIDDLE_NAME]"> + + 0 + 0 + + + refId="Package\Load Interest Holder Persons and Organizations\Sort 1.Inputs[Sort Input].Columns[STREET_ADDRESS_LINE_1]" + cachedDataType="wstr" + cachedLength="40" + cachedName="STREET_ADDRESS_LINE_1" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_1]"> + + 0 + 0 + + + + + 0 + 0 + + + cachedLength="40" + cachedName="STREET_ADDRESS_LINE_3" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_3]"> + + 0 + 0 + + + cachedName="MUNCIPALITY_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MUNCIPALITY_NAME]"> + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + cachedName="INTEREST_HOLDER_ID" + cachedPrecision="10" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]"> + + 0 + 0 + + + refId="Package\Load Interest Holder Persons and Organizations\Sort 1.Inputs[Sort Input].Columns[UNICODE_COUNTRY]" + cachedDataType="wstr" + cachedLength="20" + cachedName="UNICODE_COUNTRY" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_COUNTRY]"> + + 0 + 0 + + + refId="Package\Load Interest Holder Persons and Organizations\Sort 1.Inputs[Sort Input].Columns[UNICODE_PROVINCE]" + cachedDataType="wstr" + cachedLength="2" + cachedName="UNICODE_PROVINCE" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]"> + + 0 + 0 + + + + + 7 + 1 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + lineageId="Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USERID]"> + + 0 + 0 + + + lineageId="Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]"> + + 0 + 0 + + + lineageId="Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USERID]"> + + 0 + 0 + + + lineageId="Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]"> + + 0 + 0 + + + cachedLength="23" + cachedName="DB_CREATE_USERID" + lineageId="Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[DB_CREATE_USERID]"> + + 0 + 0 + + + cachedLength="23" + cachedName="DB_LAST_UPDATE_USERID" + lineageId="Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[DB_LAST_UPDATE_USERID]"> + + 0 + 0 + + - - - - - + + + + + + - + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]} + + + - - + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]} + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + length="50" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[MIDDLE_NAME]" + name="MIDDLE_NAME"> + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} + + + refId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[STREET_ADDRESS_LINE_1]" + dataType="wstr" + length="40" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[STREET_ADDRESS_LINE_1]" + name="STREET_ADDRESS_LINE_1"> + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_1]} + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + refId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[STREET_ADDRESS_LINE_2]" + dataType="wstr" + length="40" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[STREET_ADDRESS_LINE_2]" + name="STREET_ADDRESS_LINE_2"> + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_2]} + + + length="40" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[STREET_ADDRESS_LINE_3]" + name="STREET_ADDRESS_LINE_3"> "APP_PIMS_PROXY_ETL_EDIT" + dataType="System.Int32" + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_3]} + + + + "APP_PIMS_PROXY_ETL_EDIT" + dataType="System.Int32" + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MUNCIPALITY_NAME]} + length="2" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[PROVINCE]" + name="PROVINCE"> (DT_WSTR,10)#{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} + dataType="System.Int32" + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]} + + + + (DT_WSTR,10)PAIMS_ACQUISITION_FILE_ID + dataType="System.Int32" + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY]} + length="200" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[ORGANIZATION_NAME]" + name="ORGANIZATION_NAME"> "APP_PIMS_PROXY_ETL_EDIT" + dataType="System.Int32" + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} + + + + "APP_PIMS_PROXY_ETL_EDIT" + dataType="System.Int32" + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + length="20" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[UNICODE_COUNTRY]" + name="UNICODE_COUNTRY"> "ACQUISITION_FILE_PERSON" + dataType="System.Int32" + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_COUNTRY]} + + + + "ACQUISITION_FILE_PERSON" + dataType="System.Int32" + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]} - - - - - - - - - - - - - - - - - - - - - - - + refId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[UNICODE_ORGANIZATION_NAME]" + comparisonFlags="7" + dataType="wstr" + length="200" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[UNICODE_ORGANIZATION_NAME]" + name="UNICODE_ORGANIZATION_NAME" + sortKeyPosition="1"> + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ORGANIZATION_NAME]} + + + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[UNICODE_ FIRST_NAME]" + name="UNICODE_ FIRST_NAME"> #{Package\Load Acquisition File Person\NEGOTIATION AGENT.Outputs[OLE DB Source Output].Columns[PAIMS_ACQUISITION_FILE_ID]} - false + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ FIRST_NAME]} - - - - - - - - - - - - - - - - - - - - - - - - + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[UNICODE_MIDDLE_NAME]" + name="UNICODE_MIDDLE_NAME"> #{Package\Load Acquisition File Person\PROPERTY COORDINATOR.Outputs[OLE DB Source Output].Columns[PAIMS_ACQUISITION_FILE_ID]} - false + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_MIDDLE_NAME]} - - - - - - - - - - - - - - - - - - - - - - - - + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[UNICODE_SURNAME]" + name="UNICODE_SURNAME"> #{Package\Load Acquisition File Person\EXPROPRIATION AGENT.Outputs[OLE DB Source Output].Columns[PAIMS_ACQUISITION_FILE_ID]} - false + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_SURNAME]} - - - - - + refId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[COUNTRY_ID]" + dataType="i2" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[COUNTRY_ID]" + name="COUNTRY_ID"> + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]} + + - - - - - - - - - - - - - - - - - - - + refId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[PROVINCE_STATE_ID]" + dataType="i2" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[PROVINCE_STATE_ID]" + name="PROVINCE_STATE_ID"> [GETDATE]() - GETDATE() + dataType="System.Int32" + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]} + length="23" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[APP_CREATE_USERID]" + name="APP_CREATE_USERID"> "Load Acquisition File Person" - "Load Acquisition File Person" + dataType="System.Int32" + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USERID]} + length="10" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]" + name="APP_CREATE_USER_DIRECTORY"> "PIMS_ACQUISITION_FILE_PERSON" - "PIMS_ACQUISITION_FILE_PERSON" + dataType="System.Int32" + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} + length="23" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[APP_LAST_UPDATE_USERID]" + name="APP_LAST_UPDATE_USERID"> "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + dataType="System.Int32" + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USERID]} + + + + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + dataType="System.Int32" + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]} + length="23" + lineageId="Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[DB_CREATE_USERID]" + name="DB_CREATE_USERID"> "ACQUISITION_FILE_STATUS_TYPE_CODE: " + #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Acquisition File Person\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} + dataType="System.Int32" + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[DB_CREATE_USERID]} + + + + "ACQUISITION_FILE_STATUS_TYPE_CODE: " + ACQUISITION_FILE_STATUS_TYPE_CODE + " APP_CREATE_USER_DIRECTORY: " + APP_CREATE_USER_DIRECTORY + dataType="System.Int32" + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[DB_LAST_UPDATE_USERID]} - - - - - - - + refId="Package\Load Interest Holder Persons and Organizations\Union All" + componentClassID="Microsoft.UnionAll" + contactInfo="Union All;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;1" + description="Combines rows from multiple data flows without sorting. For example, add rows back to a data flow after correction of errors. If sorting is important, we recommend using the Merge transformation." + name="Union All" + version="1"> + refId="Package\Load Interest Holder Persons and Organizations\Union All.Inputs[Union All Input 1]" + name="Union All Input 1"> - - - - - - - - - + refId="Package\Load Interest Holder Persons and Organizations\Union All.Inputs[Union All Input 1].Columns[INTEREST_HOLDER_ID]" + cachedDataType="numeric" + cachedName="INTEREST_HOLDER_ID" + cachedPrecision="10" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[INTEREST_HOLDER_ID]"> [GETDATE]() + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + + + + GETDATE() + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[AGENT_ID]} - - + + "Load Acquisition File Person" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[SURNAME]} + + + + "Load Acquisition File Person" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - + + "PIMS_ACQUISITION_FILE_PERSON" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} + + + + "PIMS_ACQUISITION_FILE_PERSON" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_1]} - - + + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_2]} + + + + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_3]} - - + + "ACQUISITION_FILE_STATUS_TYPE_CODE: " + #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Acquisition File Person\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[MUNCIPALITY_NAME]} + + + + "ACQUISITION_FILE_STATUS_TYPE_CODE: " + ACQUISITION_FILE_STATUS_TYPE_CODE + " APP_CREATE_USER_DIRECTORY: " + APP_CREATE_USER_DIRECTORY + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PROVINCE]} - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - + + cachedLength="20" + cachedName="COUNTRY" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[COUNTRY]"> + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[COUNTRY]} + + + cachedLength="200" + cachedName="ORGANIZATION_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[ORGANIZATION_NAME]"> + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} + + + cachedLength="20" + cachedName="UNICODE_COUNTRY" + lineageId="Package\Load Interest Holder Persons and Organizations\Data Conversion.Outputs[Data Conversion Output].Columns[UNICODE_COUNTRY]"> + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_COUNTRY]} + + - + cachedLength="2" + cachedName="UNICODE_PROVINCE" + lineageId="Package\Load Interest Holder Persons and Organizations\Data Conversion.Outputs[Data Conversion Output].Columns[UNICODE_PROVINCE]"> + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]} + + + refId="Package\Load Interest Holder Persons and Organizations\Union All.Inputs[Union All Input 1].Columns[UNICODE_ORGANIZATION_NAME]" + cachedDataType="wstr" + cachedLength="200" + cachedName="UNICODE_ORGANIZATION_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Data Conversion.Outputs[Data Conversion Output].Columns[UNICODE_ORGANIZATION_NAME]"> + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_ORGANIZATION_NAME]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_ FIRST_NAME]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_MIDDLE_NAME]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_SURNAME]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[COUNTRY_ID]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[Copy of AGENT_ID]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[Copy of INTEREST_HOLDER_ID]} + + - - - - - - - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - + + name="Union All Input 2"> + refId="Package\Load Interest Holder Persons and Organizations\Union All.Inputs[Union All Input 2].Columns[INTEREST_HOLDER_ID]" + cachedDataType="numeric" + cachedName="INTEREST_HOLDER_ID" + cachedPrecision="10" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[INTEREST_HOLDER_ID]"> + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[AGENT_ID]} + + + cachedLength="20" + cachedName="SURNAME" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[SURNAME]"> + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[SURNAME]} + + + cachedLength="15" + cachedName="FIRST_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[FIRST_NAME]"> + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} + + + cachedLength="50" + cachedName="MIDDLE_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[MIDDLE_NAME]"> + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} + + + cachedLength="40" + cachedName="STREET_ADDRESS_LINE_1" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_LINE_1]"> + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_1]} + + + refId="Package\Load Interest Holder Persons and Organizations\Union All.Inputs[Union All Input 2].Columns[STREET_ADDRESS_LINE_2]" + cachedDataType="wstr" + cachedLength="40" + cachedName="STREET_ADDRESS_LINE_2" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_LINE_2]"> + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_2]} + + - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - SELECT acq.AGENT_ASSIGNMENT_ID AS PAIMS_ACQUISITION_FILE_ID - , DECODE(acq.CLOSED_DATE, NULL, DECODE(acq.SETTLED_FLAG, 'Y', 'CLOSED', 'ACTIVE'), 'CLOSED') AS ACQUISITION_FILE_STATUS_TYPE_CODE - , DECODE(acq.ACQUISITION_CODE, 'C', 'CONSEN', 'A', 'SECTN3', 'E', 'SECTN6') AS ACQUISITION_TYPE_CODE - , acq.REGION_NO AS REGION_CODE - , LTRIM(TO_CHAR (prj.FMIS_NO , '00009' ) ) AS MINISTRY_PROJECT_NUMBER - , DECODE(UPPER(prj.NAME ) , UPPER(sub.NAME ) , prj.NAME , prj.NAME || ' - ' || sub.NAME ) AS MINISTRY_PROJECT_NAME - , acq.NAME AS FILE_NAME - , acq.AGENT_ASSIGNMENT_NO AS FILE_NO - , acq.AGENT_ASSIGNMENT_NO_PREFIX || '-' || acq.AGENT_ASSIGNMENT_NO || '-' || COALESCE(acq.AGENT_ASSIGNMENT_NO_SUFFIX, '01') AS FILE_NUMBER - , acq.ASSIGNED_DATE AS ASSIGNED_DATE - , acq.DELIVERY_DATE AS DELIVERY_DATE - , 'EXPRAGENT' AS EXP_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE - , exp.NAME AS EXP_AGT_PERSON_FIRST_NAME_SURNAME - , 'EXP AGT ID: ' || exp.PROPERTY_EMPLOYEE_ID AS EXP_AGT_PERSON_COMMENT_ID - , 'EXP AGT ORG: ' || exp.COMPANY_NAME AS EXP_AGT_PERSON_COMMENT_ORG - , exp.REGION_NO AS EXP_AGT_PERSON_REGION - , exp.ADDRESS_LINE_1 AS EXP_AGT_STREET_ADDRESS_1 - , exp.ADDRESS_LINE_2 AS EXP_AGT_STREET_ADDRESS_2 - , exp.CITY AS EXP_AGT_MUNICIPALITY_NAME - , exp.POSTAL_CODE AS EXP_AGT_POSTAL_CODE - , exp.PROVINCE AS EXP_AGT_PROVINCE - , exp.PHONE_NO AS EXP_AGT_WORKPHONE - , exp.CELL_PHONE_NUMBER AS EXP_AGT_WORKMOBIL - , exp.FAX_NO AS EXP_AGT_FAX - , exp.EMAIL_ADDRESS AS EXP_AGT_WORKEMAIL -FROM PAM_AGENT_ASSIGNMENT acq JOIN - PAM_PROPERTY_EMPLOYEE prp ON prp.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID JOIN - PAM_SUB_PROJECT sub ON sub.SUB_PROJECT_ID = acq.SUB_PROJECT_ID LEFT OUTER JOIN - HWY_MINISTRY_PROJECT prj ON prj.MINISTRY_PROJECT_ID = sub.MINISTRY_PROJECT_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE cor ON cor.PROPERTY_EMPLOYEE_ID = acq.COORD_PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE neg ON neg.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE exp ON exp.PROPERTY_EMPLOYEE_ID = acq.EXPR_PROPERTY_EMPLOYEE_ID - - 1252 - false - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + refId="Package\Load Interest Holder Persons and Organizations\Union All.Inputs[Union All Input 2].Columns[STREET_ADDRESS_LINE_3]" + cachedDataType="wstr" + cachedLength="40" + cachedName="STREET_ADDRESS_LINE_3" + lineageId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_LINE_3]"> + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_3]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[MUNCIPALITY_NAME]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PROVINCE]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[COUNTRY]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_COUNTRY]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_ORGANIZATION_NAME]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_ FIRST_NAME]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_MIDDLE_NAME]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_SURNAME]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[COUNTRY_ID]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[Copy of AGENT_ID]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[Copy of INTEREST_HOLDER_ID]} + + + + + + + + + + + refId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1]" + name="Union All Output 1"> + refId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[AGENT_ID]" + dataType="numeric" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[AGENT_ID]" + name="AGENT_ID" + precision="10" /> - + length="20" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[SURNAME]" + name="SURNAME" /> + length="15" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]" + name="FIRST_NAME" /> + length="50" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]" + name="MIDDLE_NAME" /> - + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_1]" + name="STREET_ADDRESS_LINE_1" /> - - + length="40" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_2]" + name="STREET_ADDRESS_LINE_2" /> + length="40" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_3]" + name="STREET_ADDRESS_LINE_3" /> + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[MUNCIPALITY_NAME]" + name="MUNCIPALITY_NAME" /> + length="2" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PROVINCE]" + name="PROVINCE" /> - + length="20" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[COUNTRY]" + name="COUNTRY" /> + length="200" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]" + name="ORGANIZATION_NAME" /> + length="20" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_COUNTRY]" + name="UNICODE_COUNTRY" /> + length="2" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]" + name="UNICODE_PROVINCE" /> + length="200" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_ORGANIZATION_NAME]" + name="UNICODE_ORGANIZATION_NAME" /> + length="50" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_ FIRST_NAME]" + name="UNICODE_ FIRST_NAME" /> + refId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_MIDDLE_NAME]" + dataType="wstr" + length="50" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_MIDDLE_NAME]" + name="UNICODE_MIDDLE_NAME" /> + refId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_SURNAME]" + dataType="wstr" + length="50" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_SURNAME]" + name="UNICODE_SURNAME" /> + refId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[COUNTRY_ID]" + dataType="i2" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[COUNTRY_ID]" + name="COUNTRY_ID" /> - + length="50" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[Copy of AGENT_ID]" + name="Copy of AGENT_ID" /> + refId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[Copy of INTEREST_HOLDER_ID]" + dataType="wstr" + length="50" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[Copy of INTEREST_HOLDER_ID]" + name="Copy of INTEREST_HOLDER_ID" /> - - 0 - [dbo].[PIMS_ACQUISITION_FILE_PERSON] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - + refId="Package\Load Interest Holder Persons and Organizations\Union All 1" + componentClassID="Microsoft.UnionAll" + contactInfo="Union All;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;1" + description="Combines rows from multiple data flows without sorting. For example, add rows back to a data flow after correction of errors. If sorting is important, we recommend using the Merge transformation." + name="Union All 1" + version="1"> + refId="Package\Load Interest Holder Persons and Organizations\Union All 1.Inputs[Union All Input 1]" + name="Union All Input 1"> + refId="Package\Load Interest Holder Persons and Organizations\Union All 1.Inputs[Union All Input 1].Columns[INTEREST_HOLDER_ID]" + cachedDataType="numeric" + cachedName="INTEREST_HOLDER_ID" + cachedPrecision="10" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]"> + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + + + refId="Package\Load Interest Holder Persons and Organizations\Union All 1.Inputs[Union All Input 1].Columns[AGENT_ID]" + cachedDataType="numeric" + cachedName="AGENT_ID" + cachedPrecision="10" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[AGENT_ID]"> + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[AGENT_ID]} + + + cachedLength="20" + cachedName="SURNAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[SURNAME]"> + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]} + + + cachedLength="15" + cachedName="FIRST_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]"> + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]} + + + cachedLength="50" + cachedName="MIDDLE_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]"> + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_ACQUISITION_FILE_PERSON] - select * from (select * from [dbo].[PIMS_ACQUISITION_FILE_PERSON]) [refTable] -where [refTable].[ACQ_FL_PERSON_PROFILE_TYPE_CODE] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[PERSON_ID] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ACQUISITION_FILE_PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ACQUISITION_FILE_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ACQ_FL_PERSON_PROFILE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[NEG_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE]};#{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[Copy of PAIMS_ACQUISITION_FILE_ID]};#{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[PERSON_ID]}; - 1252 - false - - - - - - - + cachedLength="40" + cachedName="STREET_ADDRESS_LINE_1" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_1]"> + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_1]} + + + cachedLength="40" + cachedName="STREET_ADDRESS_LINE_2" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_2]"> ACQ_FL_PERSON_PROFILE_TYPE_CODE - + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_2]} + cachedLength="40" + cachedName="STREET_ADDRESS_LINE_3" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_3]"> APP_CREATE_USER_DIRECTORY - + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_3]} + refId="Package\Load Interest Holder Persons and Organizations\Union All 1.Inputs[Union All Input 1].Columns[MUNCIPALITY_NAME]" + cachedDataType="wstr" + cachedLength="40" + cachedName="MUNCIPALITY_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[MUNCIPALITY_NAME]"> PERSON_ID - + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MUNCIPALITY_NAME]} - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_ACQUISITION_FILE_PERSON] - select * from (select * from [dbo].[PIMS_ACQUISITION_FILE_PERSON]) [refTable] -where [refTable].[ACQ_FL_PERSON_PROFILE_TYPE_CODE] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[PERSON_ID] = ? and [refTable].[ACQUISITION_FILE_ID] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ACQUISITION_FILE_PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ACQUISITION_FILE_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ACQ_FL_PERSON_PROFILE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[NEG_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE]};#{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[Copy of PAIMS_ACQUISITION_FILE_ID]};#{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[PERSON_ID]};#{Package\Load Acquisition File Person\Lookup Acquisition ID.Outputs[Lookup Match Output].Columns[ACQUISITION_FILE_ID]}; - 1252 - false - - - - - - - + refId="Package\Load Interest Holder Persons and Organizations\Union All 1.Inputs[Union All Input 1].Columns[PROVINCE]" + cachedDataType="wstr" + cachedLength="2" + cachedName="PROVINCE" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PROVINCE]"> ACQUISITION_FILE_ID - + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]} + refId="Package\Load Interest Holder Persons and Organizations\Union All 1.Inputs[Union All Input 1].Columns[COUNTRY]" + cachedDataType="wstr" + cachedLength="20" + cachedName="COUNTRY" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[COUNTRY]"> PERSON_ID - + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY]} + cachedLength="200" + cachedName="ORGANIZATION_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]"> APP_CREATE_USER_DIRECTORY - + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} + cachedLength="20" + cachedName="UNICODE_COUNTRY" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_COUNTRY]"> ACQ_FL_PERSON_PROFILE_TYPE_CODE + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_COUNTRY]} + + + + + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]} - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_ACQUISITION_FILE] - select * from (select * from [dbo].[PIMS_ACQUISITION_FILE]) [refTable] -where [refTable].[APP_CREATE_USER_DIRECTORY] = ? - 0 - 0 - 0 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ACQUISITION_FILE_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ACQUISITION_FILE_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ACQUISITION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ACQUISITION_FUNDING_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ACQ_PHYS_FILE_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="MINISTRY_PROJECT_NUMBER" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="MINISTRY_PROJECT_NAME" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="CPS_PRODUCT_CODE" dataType="DT_WSTR" length="12" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NAME" dataType="DT_WSTR" length="500" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER" dataType="DT_WSTR" length="18" precision="0" scale="0" codePage="0"/><referenceColumn name="FUNDING_OTHER" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ASSIGNED_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DELIVERY_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NO" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PAIMS_ACQUISITION_FILE_ID" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[Copy of PAIMS_ACQUISITION_FILE_ID]}; - 1252 - false - - - - - - - + cachedLength="200" + cachedName="UNICODE_ORGANIZATION_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_ORGANIZATION_NAME]"> APP_CREATE_USER_DIRECTORY + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ORGANIZATION_NAME]} + + + + + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ FIRST_NAME]} - - - - - - - - + ACQUISITION_FILE_ID + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_MIDDLE_NAME]} - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_PERSON] - select * from (select * from [dbo].[PIMS_PERSON]) [refTable] -where [refTable].[APP_CREATE_USER_DIRECTORY] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURNAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="FIRST_NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="MIDDLE_NAMES" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME_SUFFIX" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="PREFERRED_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="BIRTH_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="USE_ORGANIZATION_ADDRESS" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Acquisition File Person\Data Conversion 2.Outputs[Data Conversion Output].Columns[Copy of PAIMS_ACQUISITION_FILE_ID]}; - 1252 - false - - - - - - - + + cachedName="UNICODE_SURNAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_SURNAME]"> APP_CREATE_USER_DIRECTORY + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_SURNAME]} + + + + + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]} - - - - - - - - + PERSON_ID + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]} - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_PERSON] - select * from (select * from [dbo].[PIMS_PERSON]) [refTable] -where [refTable].[APP_CREATE_USER_DIRECTORY] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURNAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="FIRST_NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="MIDDLE_NAMES" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME_SUFFIX" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="PREFERRED_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="BIRTH_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="USE_ORGANIZATION_ADDRESS" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Acquisition File Person\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of PAIMS_ACQUISITION_FILE_ID]}; - 1252 - false - - - - - - - + + cachedName="Copy of AGENT_ID" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[Copy of AGENT_ID]"> APP_CREATE_USER_DIRECTORY + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of AGENT_ID]} + + + + + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of INTEREST_HOLDER_ID]} - - - - - + + + PERSON_ID + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_PERSON] - select * from (select * from [dbo].[PIMS_PERSON]) [refTable] -where [refTable].[APP_CREATE_USER_DIRECTORY] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURNAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="FIRST_NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="MIDDLE_NAMES" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME_SUFFIX" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="PREFERRED_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="BIRTH_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="USE_ORGANIZATION_ADDRESS" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Acquisition File Person\Data Conversion 1.Outputs[Data Conversion Output].Columns[Copy of PAIMS_ACQUISITION_FILE_ID]}; - 1252 - false - - - - - - - + + + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[AGENT_ID]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]} + + + cachedName="MIDDLE_NAME" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]"> APP_CREATE_USER_DIRECTORY + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} + + + + + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_1]} - - - - - - - - + PERSON_ID + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_2]} - - - - - + + + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_3]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MUNCIPALITY_NAME]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_COUNTRY]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ORGANIZATION_NAME]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ FIRST_NAME]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_MIDDLE_NAME]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_SURNAME]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of AGENT_ID]} + + + + + #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of INTEREST_HOLDER_ID]} + + + - - - - - - + + - - - - - - 0 - - - SELECT acq.AGENT_ASSIGNMENT_ID AS PAIMS_ACQUISITION_FILE_ID - , DECODE(acq.CLOSED_DATE, NULL, DECODE(acq.SETTLED_FLAG, 'Y', 'CLOSED', 'ACTIVE'), 'CLOSED') AS ACQUISITION_FILE_STATUS_TYPE_CODE - , DECODE(acq.ACQUISITION_CODE, 'C', 'CONSEN', 'A', 'SECTN3', 'E', 'SECTN6') AS ACQUISITION_TYPE_CODE - , acq.REGION_NO AS REGION_CODE - , LTRIM(TO_CHAR (prj.FMIS_NO , '00009' ) ) AS MINISTRY_PROJECT_NUMBER - , DECODE(UPPER(prj.NAME ) , UPPER(sub.NAME ) , prj.NAME , prj.NAME || ' - ' || sub.NAME ) AS MINISTRY_PROJECT_NAME - , acq.NAME AS FILE_NAME - , acq.AGENT_ASSIGNMENT_NO AS FILE_NO - , acq.AGENT_ASSIGNMENT_NO_PREFIX || '-' || acq.AGENT_ASSIGNMENT_NO || '-' || COALESCE(acq.AGENT_ASSIGNMENT_NO_SUFFIX, '01') AS FILE_NUMBER - , acq.ASSIGNED_DATE AS ASSIGNED_DATE - , acq.DELIVERY_DATE AS DELIVERY_DATE - , 'NEGOTAGENT' AS NEG_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE - , neg.NAME AS NEG_AGT_PERSON_FIRST_NAME_SURNAME - , 'NEG AGT ID: ' || neg.PROPERTY_EMPLOYEE_ID AS NEG_AGT_PERSON_COMMENT_ID - , 'NEG AGT ORG: ' || neg.COMPANY_NAME AS NEG_AGT_PERSON_COMMENT_ORG - , neg.REGION_NO AS NEG_AGT_PERSON_REGION - , neg.ADDRESS_LINE_1 AS NEG_AGT_STREET_ADDRESS_1 - , neg.ADDRESS_LINE_2 AS NEG_AGT_STREET_ADDRESS_2 - , neg.CITY AS NEG_AGT_MUNICIPALITY_NAME - , neg.POSTAL_CODE AS NEG_AGT_POSTAL_CODE - , neg.PROVINCE AS NEG_AGT_PROVINCE - , neg.PHONE_NO AS NEG_AGT_WORKPHONE - , neg.CELL_PHONE_NUMBER AS NEG_AGT_WORKMOBIL - , neg.FAX_NO AS NEG_AGT_FAX - , neg.EMAIL_ADDRESS AS NEG_AGT_WORKEMAIL -FROM PAM_AGENT_ASSIGNMENT acq JOIN - PAM_PROPERTY_EMPLOYEE prp ON prp.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID JOIN - PAM_SUB_PROJECT sub ON sub.SUB_PROJECT_ID = acq.SUB_PROJECT_ID LEFT OUTER JOIN - HWY_MINISTRY_PROJECT prj ON prj.MINISTRY_PROJECT_ID = sub.MINISTRY_PROJECT_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE cor ON cor.PROPERTY_EMPLOYEE_ID = acq.COORD_PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE neg ON neg.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE exp ON exp.PROPERTY_EMPLOYEE_ID = acq.EXPR_PROPERTY_EMPLOYEE_ID - - 1252 - false - 2 - - - - - + + + refId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1]" + name="Union All Output 1"> + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]" + name="INTEREST_HOLDER_ID" + precision="10" /> + refId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[AGENT_ID]" + dataType="numeric" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[AGENT_ID]" + name="AGENT_ID" + precision="10" /> - + length="20" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]" + name="SURNAME" /> + length="15" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]" + name="FIRST_NAME" /> + length="50" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MIDDLE_NAME]" + name="MIDDLE_NAME" /> + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_1]" + name="STREET_ADDRESS_LINE_1" /> - - - + length="40" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_2]" + name="STREET_ADDRESS_LINE_2" /> + length="40" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_3]" + name="STREET_ADDRESS_LINE_3" /> + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MUNCIPALITY_NAME]" + name="MUNCIPALITY_NAME" /> + length="2" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]" + name="PROVINCE" /> + length="20" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY]" + name="COUNTRY" /> + refId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]" + dataType="wstr" + length="200" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]" + name="ORGANIZATION_NAME" /> + length="20" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_COUNTRY]" + name="UNICODE_COUNTRY" /> + length="2" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]" + name="UNICODE_PROVINCE" /> + length="200" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ORGANIZATION_NAME]" + name="UNICODE_ORGANIZATION_NAME" /> + length="50" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ FIRST_NAME]" + name="UNICODE_ FIRST_NAME" /> + length="50" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_MIDDLE_NAME]" + name="UNICODE_MIDDLE_NAME" /> + refId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_SURNAME]" + dataType="wstr" + length="50" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_SURNAME]" + name="UNICODE_SURNAME" /> + refId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]" + dataType="i2" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]" + name="COUNTRY_ID" /> + refId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]" + dataType="i2" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]" + name="PROVINCE_STATE_ID" /> + length="50" + lineageId="Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of AGENT_ID]" + name="Copy of AGENT_ID" /> + + + + + + + + 0 + update PIMS_ORGANIZATION +set ORGANIZATION_TYPE_CODE=?, +ORG_IDENTIFIER_TYPE_CODE=?, +ORGANIZATION_NAME=? +where app_last_update_userid=? + 1252 + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + length="20" + name="Param_0"> + + 65 + + + length="20" + name="Param_1"> + + 65 + + - - - + length="200" + name="Param_2"> + + 65 + + + length="30" + name="Param_3"> + + 65 + + + + + + + + name="OLE DB Command Error Output" + synchronousInputId="Package\Load Interest Holder Persons and Organizations\Update PIMS_ORGANIZATION.Inputs[OLE DB Command Input]"> - - - - - - - - - - - - - - - - - - - - - - - - - @@ -29716,1500 +21125,156 @@ FROM PAM_AGENT_ASSIGNMENT acq + version="2"> 0 - - SELECT acq.AGENT_ASSIGNMENT_ID AS PAIMS_ACQUISITION_FILE_ID - , DECODE(acq.CLOSED_DATE, NULL, DECODE(acq.SETTLED_FLAG, 'Y', 'CLOSED', 'ACTIVE'), 'CLOSED') AS ACQUISITION_FILE_STATUS_TYPE_CODE - , DECODE(acq.ACQUISITION_CODE, 'C', 'CONSEN', 'A', 'SECTN3', 'E', 'SECTN6') AS ACQUISITION_TYPE_CODE - , acq.REGION_NO AS REGION_CODE - , LTRIM(TO_CHAR (prj.FMIS_NO , '00009' ) ) AS MINISTRY_PROJECT_NUMBER - , DECODE(UPPER(prj.NAME ) , UPPER(sub.NAME ) , prj.NAME , prj.NAME || ' - ' || sub.NAME ) AS MINISTRY_PROJECT_NAME - , acq.NAME AS FILE_NAME - , acq.AGENT_ASSIGNMENT_NO AS FILE_NO - , acq.AGENT_ASSIGNMENT_NO_PREFIX || '-' || acq.AGENT_ASSIGNMENT_NO || '-' || COALESCE(acq.AGENT_ASSIGNMENT_NO_SUFFIX, '01') AS FILE_NUMBER - , acq.ASSIGNED_DATE AS ASSIGNED_DATE - , acq.DELIVERY_DATE AS DELIVERY_DATE - , 'PROPCOORD' AS PROP_COORD_ACQ_FL_PERSON_PROFILE_TYPE_CODE - , cor.NAME AS PROP_COORD_PERSON_FIRST_NAME_SURNAME - , 'PROP COORD ID: ' || cor.PROPERTY_EMPLOYEE_ID AS PROP_COORD_PERSON_COMMENT_ID - , 'PROP COORD ORG: ' || cor.COMPANY_NAME AS PROP_COORD_PERSON_COMMENT_ORG - , cor.REGION_NO AS PROP_COORD_PERSON_REGION - , cor.ADDRESS_LINE_1 AS PROP_COORD_STREET_ADDRESS_1 - , cor.ADDRESS_LINE_2 AS PROP_COORD_STREET_ADDRESS_2 - , cor.CITY AS PROP_COORD_MUNICIPALITY_NAME - , cor.POSTAL_CODE AS PROP_COORD_POSTAL_CODE - , cor.PROVINCE AS PROP_COORD_PROVINCE - , cor.PHONE_NO AS PROP_COORD_WORKPHONE - , cor.CELL_PHONE_NUMBER AS PROP_COORD_WORKMOBIL - , cor.FAX_NO AS PROP_COORD_FAX - , cor.EMAIL_ADDRESS AS PROP_COORD_WORKEMAIL -FROM PAM_AGENT_ASSIGNMENT acq JOIN - PAM_PROPERTY_EMPLOYEE prp ON prp.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID JOIN - PAM_SUB_PROJECT sub ON sub.SUB_PROJECT_ID = acq.SUB_PROJECT_ID LEFT OUTER JOIN - HWY_MINISTRY_PROJECT prj ON prj.MINISTRY_PROJECT_ID = sub.MINISTRY_PROJECT_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE cor ON cor.PROPERTY_EMPLOYEE_ID = acq.COORD_PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE neg ON neg.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE exp ON exp.PROPERTY_EMPLOYEE_ID = acq.EXPR_PROPERTY_EMPLOYEE_ID - + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">Update PIMS_PERSON +set FIRST_NAME=?, +MIDDLE_NAMES=?, +SURNAME=? +where app_last_update_userid=? 1252 - false - 2 - - - - - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + length="50" + name="Param_0"> + + 65 + + + length="200" + name="Param_1"> + + 65 + + - - - + length="50" + name="Param_2"> + + 65 + + + length="30" + name="Param_3"> + + 65 + + + + + + + + name="OLE DB Command Error Output" + synchronousInputId="Package\Load Interest Holder Persons and Organizations\Update PIMS_PERSON.Inputs[OLE DB Command Input]"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[ACQUISITION_TYPE_CODE]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NUMBER]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NAME]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[FILE_NAME]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[FILE_NO]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[ASSIGNED_DATE]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[DELIVERY_DATE]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[NEG_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[Copy of PAIMS_ACQUISITION_FILE_ID]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[PERSON_ID]} - - - - - - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[ACQUISITION_TYPE_CODE]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NUMBER]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NAME]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[FILE_NAME]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[FILE_NO]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[ASSIGNED_DATE]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[DELIVERY_DATE]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[Copy of PAIMS_ACQUISITION_FILE_ID]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[PERSON_ID]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[NEG_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE]} - - - - - - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[ACQUISITION_TYPE_CODE]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NUMBER]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NAME]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[FILE_NAME]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[FILE_NO]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[ASSIGNED_DATE]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[DELIVERY_DATE]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[Copy of PAIMS_ACQUISITION_FILE_ID]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[PERSON_ID]} - - - - - #{Package\Load Acquisition File Person\Union All.Outputs[Union All Output 1].Columns[NEG_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE]} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - update PIMS_ACQUISITION_FILE_PERSON -set ACQUISITION_FILE_ID=?, -PERSON_ID=?, -ACQ_FL_PERSON_PROFILE_TYPE_CODE=? -where APP_CREATE_USER_DIRECTORY=? - 1252 - - - - - - - - - - - - - - - - 81 - - - - - 81 - - - - - 65 - - - - - 65 - - - - - - - - - - - - - @@ -31220,112 +21285,202 @@ where APP_CREATE_USER_DIRECTORY=? + startId="Package\Load Interest Holder Persons and Organizations\Data Conversion.Outputs[Data Conversion Output]" /> + startId="Package\Load Interest Holder Persons and Organizations\Converting First_Name and Surname datatype.Outputs[Data Conversion Output]" /> + refId="Package\Load Interest Holder Persons and Organizations.Paths[Derived Column Output9]" + endId="Package\Load Interest Holder Persons and Organizations\ETL Error Log.Inputs[OLE DB Destination Input]" + name="Derived Column Output" + startId="Package\Load Interest Holder Persons and Organizations\Derived Column.Outputs[Derived Column Output]" /> + + startId="Package\Load Interest Holder Persons and Organizations\Derived Column 2.Outputs[Derived Column Output]" /> + startId="Package\Load Interest Holder Persons and Organizations\Format PIMS_PERSON Output Columns.Outputs[Derived Column Output]" /> + startId="Package\Load Interest Holder Persons and Organizations\Derived Column 2 1.Outputs[Derived Column Output]" /> + refId="Package\Load Interest Holder Persons and Organizations.Paths[Derived Column Output3]" + endId="Package\Load Interest Holder Persons and Organizations\Filter pre-existing organisation.Inputs[Lookup Input]" + name="Derived Column Output" + startId="Package\Load Interest Holder Persons and Organizations\Format Organization_Name.Outputs[Derived Column Output]" /> + + + + + startId="Package\Load Interest Holder Persons and Organizations\COUNTRY_ID.Outputs[Lookup Match Output]" /> + startId="Package\Load Interest Holder Persons and Organizations\Existing PIMS_PERSON records.Outputs[Lookup Match Output]" /> + startId="Package\Load Interest Holder Persons and Organizations\Existing PIMS_ORGANIZATION records.Outputs[Lookup Match Output]" /> + startId="Package\Load Interest Holder Persons and Organizations\PROVINCE_STATE_ID.Outputs[Lookup Match Output]" /> + startId="Package\Load Interest Holder Persons and Organizations\Fiter pre-existing person.Outputs[Lookup No Match Output]" /> + startId="Package\Load Interest Holder Persons and Organizations\PROVINCE_STATE_ID.Outputs[Lookup No Match Output]" /> + refId="Package\Load Interest Holder Persons and Organizations.Paths[Lookup No Match Output6]" + endId="Package\Load Interest Holder Persons and Organizations\Insert PIMS_PERSON.Inputs[OLE DB Destination Input]" + name="Lookup No Match Output" + startId="Package\Load Interest Holder Persons and Organizations\Existing PIMS_PERSON records.Outputs[Lookup No Match Output]" /> + refId="Package\Load Interest Holder Persons and Organizations.Paths[Lookup No Match Output4]" + endId="Package\Load Interest Holder Persons and Organizations\Canada.Inputs[Derived Column Input]" + name="Lookup No Match Output" + startId="Package\Load Interest Holder Persons and Organizations\COUNTRY_ID.Outputs[Lookup No Match Output]" /> + refId="Package\Load Interest Holder Persons and Organizations.Paths[Lookup No Match Output2]" + endId="Package\Load Interest Holder Persons and Organizations\Sort 1.Inputs[Sort Input]" + name="Lookup No Match Output" + startId="Package\Load Interest Holder Persons and Organizations\Filter pre-existing organisation.Outputs[Lookup No Match Output]" /> + refId="Package\Load Interest Holder Persons and Organizations.Paths[Lookup No Match Output1]" + endId="Package\Load Interest Holder Persons and Organizations\Update PIMS_PERSON.Inputs[OLE DB Command Input]" + name="Lookup No Match Output" + startId="Package\Load Interest Holder Persons and Organizations\PIMS_PERSON records to be updated.Outputs[Lookup No Match Output]" /> + + + + + + + + + startId="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output]" /> + + + + + + startId="Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1]" /> @@ -31333,7 +21488,385 @@ where APP_CREATE_USER_DIRECTORY=? version="1"> + + select * from [dbo].[PIMS_ADDRESS] + select * from (select * from [dbo].[PIMS_ADDRESS]) [refTable] +where [refTable].[STREET_ADDRESS_1] = ? and [refTable].[MUNICIPALITY_NAME] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_1" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_2" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_3" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPALITY_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="POSTAL_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="OTHER_COUNTRY" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="LATITUDE" dataType="DT_NUMERIC" length="0" precision="8" scale="6" codePage="0"/><referenceColumn name="LONGITUDE" dataType="DT_NUMERIC" length="0" precision="9" scale="6" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[CIVIC_ADDRESS]};#{Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[CITY]}; + 1252 + false + + + + + + + + + + STREET_ADDRESS_1 + + + + + + MUNICIPALITY_NAME + + + + + + + + + + + + + ADDRESS_ID + + + + + REGION_CODE + + + + + DISTRICT_CODE + + + + + + + + + + + + + + + + + + + + select take_id,property_id,area,cast(area_unit_code as nvarchar2(20)) as area_unit_code from app_pam.pam_take_property + select * from (select take_id,property_id,area,cast(area_unit_code as nvarchar2(20)) as area_unit_code from app_pam.pam_take_property) "refTable" +where "refTable"."PROPERTY_ID" = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="TAKE_ID" dataType="DT_NUMERIC" length="0" precision="10" scale="0" codePage="0"/><referenceColumn name="PROPERTY_ID" dataType="DT_NUMERIC" length="0" precision="10" scale="0" codePage="0"/><referenceColumn name="AREA" dataType="DT_NUMERIC" length="0" precision="8" scale="4" codePage="0"/><referenceColumn name="AREA_UNIT_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[LAND_PARCEL_ID]}; + 1252 + false + + + + + + + + + + PROPERTY_ID + + + + + + + + + + + + + AREA + + + + + AREA_UNIT_CODE + + + + + + + + + + + + + + + + + + usesDispositions="true"> + + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_PARCEL_ID]" /> + cachedLength="2" + cachedName="ACTUAL_LAND_USE_CODE" + errorOrTruncationOperation="Computation" + errorRowDisposition="FailComponent" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ACTUAL_LAND_USE_CODE]" + truncationRowDisposition="FailComponent" + usageType="readWrite"> + + [REPLACENULL](#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ACTUAL_LAND_USE_CODE]}," ") + REPLACENULL(ACTUAL_LAND_USE_CODE," ") + + + cachedLength="2" + cachedName="FILE_NUMBER_SUFF" + lineageId="Package\Load Land Parcel\PS_FILE_NUMBER.Outputs[Derived Column Output].Columns[FILE_NUMBER_SUFF]" /> + synchronousInputId="Package\Load Land Parcel\Audit Trail.Inputs[Derived Column Input]"> @@ -31399,35 +21956,35 @@ where APP_CREATE_USER_DIRECTORY=? (DT_WSTR,10)#{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} + name="Expression">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_PARCEL_ID]} (DT_WSTR,10)PAIMS_ACQUISITION_FILE_ID + name="FriendlyExpression">LAND_PARCEL_ID @@ -31445,12 +22002,12 @@ where APP_CREATE_USER_DIRECTORY=? @@ -31458,429 +22015,271 @@ where APP_CREATE_USER_DIRECTORY=? containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"Acquisition_Person/Organization" + name="Expression">"place_holder" "Acquisition_Person/Organization" + name="FriendlyExpression">"place_holder" "APP_PIMS_PROXY_ETL_EDIT" + name="Expression">"FALSE" "APP_PIMS_PROXY_ETL_EDIT" + name="FriendlyExpression">"FALSE" "APP_PIMS_PROXY_ETL_EDIT" + name="Expression">"FALSE" "APP_PIMS_PROXY_ETL_EDIT" + name="FriendlyExpression">"FALSE" #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PERSON_COMMENT_ID]} + "<>" + #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PERSON_COMMENT_ORG]} + name="Expression">"FALSE" PERSON_COMMENT_ID + "<>" + PERSON_COMMENT_ORG + name="FriendlyExpression">"FALSE" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} + dataType="System.String" + description="Derived Column Expression" + name="Expression">"FALSE" false + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"FALSE" #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} + dataType="System.String" + description="Derived Column Expression" + name="Expression">"NULL" false + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"NULL" #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[FirstName]} + dataType="System.String" + description="Derived Column Expression" + name="Expression">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_USE_DESCRIPTION]} false + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">LAND_USE_DESCRIPTION #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[SurName]} + dataType="System.String" + description="Derived Column Expression" + name="Expression">[GETDATE]() false + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">GETDATE() #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PERSON_REGION]} + dataType="System.String" + description="Derived Column Expression" + name="Expression">[GETDATE]() false + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">GETDATE() #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + dataType="System.String" + description="Derived Column Expression" + name="Expression">[GETDATE]() false + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">GETDATE() #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} + dataType="System.String" + description="Derived Column Expression" + name="Expression">[GETDATE]() false + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">GETDATE() #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PROVINCE]} + dataType="System.String" + description="Derived Column Expression" + name="Expression">"APP_PIMS_PROXY_ETL_EDIT" false + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"APP_PIMS_PROXY_ETL_EDIT" - - - - - - - - - - - - - - - - - - - - - - - - - - "Load Acquisition Persons and Organizations" + name="Expression">"APP_PIMS_PROXY_ETL_EDIT" "Load Acquisition Persons and Organizations" + name="FriendlyExpression">"APP_PIMS_PROXY_ETL_EDIT" "PIMS_ORGANIZATIONS" + name="Expression">1 "PIMS_ORGANIZATIONS" + name="FriendlyExpression">1 "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + name="Expression">(DT_STR,2,1252)#{Package\Load Land Parcel\PS_FILE_NUMBER.Outputs[Derived Column Output].Columns[FILE_NUMBER_SUFF]} "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + name="FriendlyExpression">(DT_STR,2,1252)FILE_NUMBER_SUFF + + + + + + + + + + + + + + + + + + + + + "ORGANIZATION_NAME " + #{Package\Load Acquisition Persons and Organizations\Sort 6.Outputs[Sort Output].Columns[Organization_Name]} + "Organization_Type_Code: " + #{Package\Load Acquisition Persons and Organizations\Format Organization Columns.Outputs[Derived Column Output].Columns[ORGANIZATION_TYPE_CODE]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Acquisition Persons and Organizations\Sort 6.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]} + name="Expression">"COREOPER" "ORGANIZATION_NAME " + Organization_Name + "Organization_Type_Code: " + ORGANIZATION_TYPE_CODE + " APP_CREATE_USER_DIRECTORY: " + APP_CREATE_USER_DIRECTORY + name="FriendlyExpression">"COREOPER" + synchronousInputId="Package\Load Land Parcel\COREOPER as PROPERTY_CLASSIFICATION.Inputs[Derived Column Input]"> @@ -32017,54 +22467,58 @@ where APP_CREATE_USER_DIRECTORY=? + refId="Package\Load Land Parcel\Derived Column.Inputs[Derived Column Input].Columns[ErrorCode]" + cachedDataType="i4" + cachedName="ErrorCode" + lineageId="Package\Load Land Parcel\Insert PIMS_PROPERTY_HIST.Outputs[OLE DB Destination Error Output].Columns[ErrorCode]" /> + refId="Package\Load Land Parcel\Derived Column.Inputs[Derived Column Input].Columns[ErrorColumn]" + cachedDataType="i4" + cachedName="ErrorColumn" + lineageId="Package\Load Land Parcel\Insert PIMS_PROPERTY_HIST.Outputs[OLE DB Destination Error Output].Columns[ErrorColumn]" /> + + cachedLength="9" + cachedName="TITLE_NO" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TITLE_NO]" /> + synchronousInputId="Package\Load Land Parcel\Derived Column.Inputs[Derived Column Input]"> @@ -32082,12 +22536,12 @@ where APP_CREATE_USER_DIRECTORY=? @@ -32095,22 +22549,22 @@ where APP_CREATE_USER_DIRECTORY=? containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"Load Acquisition Persons and Organizations" + name="Expression">"Load Land_Parcel" "Load Acquisition Persons and Organizations" + name="FriendlyExpression">"Load Land_Parcel" @@ -32118,22 +22572,22 @@ where APP_CREATE_USER_DIRECTORY=? containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"PIMS_PERSON" + name="Expression">"PIMS_PROPERTY" "PIMS_PERSON" + name="FriendlyExpression">"PIMS_PROPERTY" @@ -32141,22 +22595,66 @@ where APP_CREATE_USER_DIRECTORY=? containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + name="Expression">"PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + name="FriendlyExpression">"PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" + + + + + #{Package\Load Land Parcel\Insert PIMS_PROPERTY_HIST.Outputs[OLE DB Destination Error Output].Columns[ErrorCode]} + ErrorCode + + + + + #{Package\Load Land Parcel\Insert PIMS_PROPERTY_HIST.Outputs[OLE DB Destination Error Output].Columns[ErrorColumn]} + ErrorColumn @@ -32164,36 +22662,36 @@ where APP_CREATE_USER_DIRECTORY=? containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"FIRST_NAME " + #{Package\Load Acquisition Persons and Organizations\Sort 5.Outputs[Sort Output].Columns[Copy of FirstName]} + "SurName: " + #{Package\Load Acquisition Persons and Organizations\Sort 5.Outputs[Sort Output].Columns[Copy of SurName]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Acquisition Persons and Organizations\Sort 5.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]} + name="Expression">"Land Parcel - NAME: " + #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TITLE_NO]} + " PID" + (DT_WSTR,10)#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PID_NO]} "FIRST_NAME " + [Copy of FirstName] + "SurName: " + [Copy of SurName] + " APP_CREATE_USER_DIRECTORY: " + APP_CREATE_USER_DIRECTORY + name="FriendlyExpression">"Land Parcel - NAME: " + TITLE_NO + " PID" + (DT_WSTR,10)PID_NO + synchronousInputId="Package\Load Land Parcel\Derived Column.Inputs[Derived Column Input]"> @@ -32202,54 +22700,58 @@ where APP_CREATE_USER_DIRECTORY=? + refId="Package\Load Land Parcel\Derived Column 1.Inputs[Derived Column Input].Columns[ErrorCode]" + cachedDataType="i4" + cachedName="ErrorCode" + lineageId="Package\Load Land Parcel\UPDATE PIMS_PROPERTY_HIST.Outputs[OLE DB Command Error Output].Columns[ErrorCode]" /> + refId="Package\Load Land Parcel\Derived Column 1.Inputs[Derived Column Input].Columns[ErrorColumn]" + cachedDataType="i4" + cachedName="ErrorColumn" + lineageId="Package\Load Land Parcel\UPDATE PIMS_PROPERTY_HIST.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]" /> + + cachedLength="9" + cachedName="TITLE_NO" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[TITLE_NO]" /> + synchronousInputId="Package\Load Land Parcel\Derived Column 1.Inputs[Derived Column Input]"> @@ -32267,12 +22769,12 @@ where APP_CREATE_USER_DIRECTORY=? @@ -32280,22 +22782,22 @@ where APP_CREATE_USER_DIRECTORY=? containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"Load Acquisition Persons and Organizations" + name="Expression">"Load Land_Parcel" "Load Acquisition Persons and Organizations" + name="FriendlyExpression">"Load Land_Parcel" @@ -32303,22 +22805,22 @@ where APP_CREATE_USER_DIRECTORY=? containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"PIMS_PERSON" + name="Expression">"PIMS_PROPERTY" "PIMS_PERSON" + name="FriendlyExpression">"PIMS_PROPERTY" @@ -32326,22 +22828,66 @@ where APP_CREATE_USER_DIRECTORY=? containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + name="Expression">"PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + name="FriendlyExpression">"PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" + + + + + #{Package\Load Land Parcel\UPDATE PIMS_PROPERTY_HIST.Outputs[OLE DB Command Error Output].Columns[ErrorCode]} + ErrorCode + + + + + #{Package\Load Land Parcel\UPDATE PIMS_PROPERTY_HIST.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]} + ErrorColumn @@ -32349,36 +22895,36 @@ where APP_CREATE_USER_DIRECTORY=? containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"FIRST_NAME " + #{Package\Load Acquisition Persons and Organizations\Sort 5.Outputs[Sort Output].Columns[Copy of FirstName]} + "SurName: " + #{Package\Load Acquisition Persons and Organizations\Sort 5.Outputs[Sort Output].Columns[Copy of SurName]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Acquisition Persons and Organizations\Sort 5.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]} + name="Expression">"Land Parcel - NAME: " + #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[TITLE_NO]} + " PID" + (DT_WSTR,10)#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PID_NO]} "FIRST_NAME " + [Copy of FirstName] + "SurName: " + [Copy of SurName] + " APP_CREATE_USER_DIRECTORY: " + APP_CREATE_USER_DIRECTORY + name="FriendlyExpression">"Land Parcel - NAME: " + TITLE_NO + " PID" + (DT_WSTR,10)PID_NO + synchronousInputId="Package\Load Land Parcel\Derived Column 1.Inputs[Derived Column Input]"> @@ -32387,55 +22933,58 @@ where APP_CREATE_USER_DIRECTORY=? + refId="Package\Load Land Parcel\Derived Column 2.Inputs[Derived Column Input].Columns[ErrorCode]" + cachedDataType="i4" + cachedName="ErrorCode" + lineageId="Package\Load Land Parcel\Insert PIMS_PROPERTY.Outputs[OLE DB Destination Error Output].Columns[ErrorCode]" /> + refId="Package\Load Land Parcel\Derived Column 2.Inputs[Derived Column Input].Columns[ErrorColumn]" + cachedDataType="i4" + cachedName="ErrorColumn" + lineageId="Package\Load Land Parcel\Insert PIMS_PROPERTY.Outputs[OLE DB Destination Error Output].Columns[ErrorColumn]" /> + + cachedLength="9" + cachedName="TITLE_NO" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TITLE_NO]" /> + synchronousInputId="Package\Load Land Parcel\Derived Column 2.Inputs[Derived Column Input]"> @@ -32453,12 +23002,12 @@ where APP_CREATE_USER_DIRECTORY=? @@ -32466,22 +23015,22 @@ where APP_CREATE_USER_DIRECTORY=? containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"Load Acquisition Persons and Organizations" + name="Expression">"Load Land Parcel" "Load Acquisition Persons and Organizations" + name="FriendlyExpression">"Load Land Parcel" @@ -32489,22 +23038,22 @@ where APP_CREATE_USER_DIRECTORY=? containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"PIMS_ORGANIZATIONS" + name="Expression">"PIMS_Property" "PIMS_ORGANIZATIONS" + name="FriendlyExpression">"PIMS_Property" @@ -32512,22 +23061,66 @@ where APP_CREATE_USER_DIRECTORY=? containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + name="Expression">"PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + name="FriendlyExpression">"PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" + + #{Package\Load Land Parcel\Insert PIMS_PROPERTY.Outputs[OLE DB Destination Error Output].Columns[ErrorCode]} + ErrorCode + + + + + #{Package\Load Land Parcel\Insert PIMS_PROPERTY.Outputs[OLE DB Destination Error Output].Columns[ErrorColumn]} + ErrorColumn + + + @@ -32535,36 +23128,36 @@ where APP_CREATE_USER_DIRECTORY=? containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"ORGANIZATION_NAME " + #{Package\Load Acquisition Persons and Organizations\Sort 6.Outputs[Sort Output].Columns[Organization_Name]} + "Organization_Type_Code: " + #{Package\Load Acquisition Persons and Organizations\Format Organization Columns.Outputs[Derived Column Output].Columns[ORGANIZATION_TYPE_CODE]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Acquisition Persons and Organizations\Sort 6.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]} + name="Expression">"Land Parcel - NAME: " + #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TITLE_NO]} + " PID" + (DT_WSTR,10)#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PID_NO]} "ORGANIZATION_NAME " + Organization_Name + "Organization_Type_Code: " + ORGANIZATION_TYPE_CODE + " APP_CREATE_USER_DIRECTORY: " + APP_CREATE_USER_DIRECTORY + name="FriendlyExpression">"Land Parcel - NAME: " + TITLE_NO + " PID" + (DT_WSTR,10)PID_NO + synchronousInputId="Package\Load Land Parcel\Derived Column 2.Inputs[Derived Column Input]"> @@ -32573,178 +23166,96 @@ where APP_CREATE_USER_DIRECTORY=? - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - + refId="Package\Load Land Parcel\Derived Column 9" + componentClassID="Microsoft.DerivedColumn" + contactInfo="Derived Column;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;0" + description="Creates new column values by applying expressions to transformation input columns. Create new columns or overwrite existing ones. For example, concatenate the values from the 'first name' and 'last name' column to make a 'full name' column." + name="Derived Column 9" + usesDispositions="true"> - - - - - - - - - - - - - - - - - - + refId="Package\Load Land Parcel\Derived Column 9.Inputs[Derived Column Input]" + description="Input to the Derived Column Transformation" + name="Derived Column Input"> + + + + + "HA" + "HA" + + + + + 0000.0000 + 0000.0000 + + + + + + + name="Derived Column Error Output" + synchronousInputId="Package\Load Land Parcel\Derived Column 9.Inputs[Derived Column Input]"> @@ -32753,11 +23264,11 @@ where APP_CREATE_USER_DIRECTORY=? @@ -32810,7 +23321,7 @@ where APP_CREATE_USER_DIRECTORY=? + externalMetadataColumnId="Package\Load Land Parcel\ETL ERROR LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TIME]" + lineageId="Package\Load Land Parcel\Derived Column.Outputs[Derived Column Output].Columns[ERROR_TIME]" /> + externalMetadataColumnId="Package\Load Land Parcel\ETL ERROR LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_OPERATION_NAME]" + lineageId="Package\Load Land Parcel\Derived Column.Outputs[Derived Column Output].Columns[ERROR_OPERATION_NAME]" /> + externalMetadataColumnId="Package\Load Land Parcel\ETL ERROR LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TASK_NAME]" + lineageId="Package\Load Land Parcel\Derived Column.Outputs[Derived Column Output].Columns[ERROR_TASK_NAME]" /> + externalMetadataColumnId="Package\Load Land Parcel\ETL ERROR LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ETL_NAME]" + lineageId="Package\Load Land Parcel\Derived Column.Outputs[Derived Column Output].Columns[ERROR_ETL_NAME]" /> + externalMetadataColumnId="Package\Load Land Parcel\ETL ERROR LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ROW]" + lineageId="Package\Load Land Parcel\Derived Column.Outputs[Derived Column Output].Columns[ERROR_ROW]" /> + cachedName="ERROR_CODE" + externalMetadataColumnId="Package\Load Land Parcel\ETL ERROR LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_CODE]" + lineageId="Package\Load Land Parcel\Derived Column.Outputs[Derived Column Output].Columns[ERROR_CODE]" /> + cachedName="ERROR_COLUMN" + externalMetadataColumnId="Package\Load Land Parcel\ETL ERROR LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_COLUMN]" + lineageId="Package\Load Land Parcel\Derived Column.Outputs[Derived Column Output].Columns[ERROR_COLUMN]" /> @@ -32909,22 +23420,22 @@ where APP_CREATE_USER_DIRECTORY=? + synchronousInputId="Package\Load Land Parcel\ETL ERROR LOG.Inputs[OLE DB Destination Input]"> @@ -32933,11 +23444,11 @@ where APP_CREATE_USER_DIRECTORY=? @@ -32990,7 +23501,7 @@ where APP_CREATE_USER_DIRECTORY=? + externalMetadataColumnId="Package\Load Land Parcel\ETL ERROR LOG 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TIME]" + lineageId="Package\Load Land Parcel\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_TIME]" /> + externalMetadataColumnId="Package\Load Land Parcel\ETL ERROR LOG 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_OPERATION_NAME]" + lineageId="Package\Load Land Parcel\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_OPERATION_NAME]" /> + externalMetadataColumnId="Package\Load Land Parcel\ETL ERROR LOG 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TASK_NAME]" + lineageId="Package\Load Land Parcel\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_TASK_NAME]" /> + externalMetadataColumnId="Package\Load Land Parcel\ETL ERROR LOG 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ETL_NAME]" + lineageId="Package\Load Land Parcel\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_ETL_NAME]" /> + externalMetadataColumnId="Package\Load Land Parcel\ETL ERROR LOG 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ROW]" + lineageId="Package\Load Land Parcel\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_ROW]" /> + cachedName="ERROR_CODE" + externalMetadataColumnId="Package\Load Land Parcel\ETL ERROR LOG 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_CODE]" + lineageId="Package\Load Land Parcel\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_CODE]" /> + cachedName="ERROR_COLUMN" + externalMetadataColumnId="Package\Load Land Parcel\ETL ERROR LOG 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_COLUMN]" + lineageId="Package\Load Land Parcel\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_COLUMN]" /> @@ -33089,22 +23600,22 @@ where APP_CREATE_USER_DIRECTORY=? + synchronousInputId="Package\Load Land Parcel\ETL ERROR LOG 1.Inputs[OLE DB Destination Input]"> @@ -33113,11 +23624,11 @@ where APP_CREATE_USER_DIRECTORY=? @@ -33170,7 +23681,7 @@ where APP_CREATE_USER_DIRECTORY=? + externalMetadataColumnId="Package\Load Land Parcel\ETL ERROR LOG 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TIME]" + lineageId="Package\Load Land Parcel\Derived Column 2.Outputs[Derived Column Output].Columns[ERROR_TIME]" /> + externalMetadataColumnId="Package\Load Land Parcel\ETL ERROR LOG 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_OPERATION_NAME]" + lineageId="Package\Load Land Parcel\Derived Column 2.Outputs[Derived Column Output].Columns[ERROR_OPERATION_NAME]" /> + externalMetadataColumnId="Package\Load Land Parcel\ETL ERROR LOG 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TASK_NAME]" + lineageId="Package\Load Land Parcel\Derived Column 2.Outputs[Derived Column Output].Columns[ERROR_TASK_NAME]" /> + externalMetadataColumnId="Package\Load Land Parcel\ETL ERROR LOG 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ETL_NAME]" + lineageId="Package\Load Land Parcel\Derived Column 2.Outputs[Derived Column Output].Columns[ERROR_ETL_NAME]" /> + externalMetadataColumnId="Package\Load Land Parcel\ETL ERROR LOG 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ROW]" + lineageId="Package\Load Land Parcel\Derived Column 2.Outputs[Derived Column Output].Columns[ERROR_ROW]" /> + cachedName="ERROR_CODE" + externalMetadataColumnId="Package\Load Land Parcel\ETL ERROR LOG 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_CODE]" + lineageId="Package\Load Land Parcel\Derived Column 2.Outputs[Derived Column Output].Columns[ERROR_CODE]" /> + cachedName="ERROR_COLUMN" + externalMetadataColumnId="Package\Load Land Parcel\ETL ERROR LOG 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_COLUMN]" + lineageId="Package\Load Land Parcel\Derived Column 2.Outputs[Derived Column Output].Columns[ERROR_COLUMN]" /> @@ -33269,662 +23780,22 @@ where APP_CREATE_USER_DIRECTORY=? - - - - - - - - - - - 0 - - - SELECT acq.AGENT_ASSIGNMENT_ID AS PAIMS_ACQUISITION_FILE_ID - , DECODE(acq.CLOSED_DATE, NULL, DECODE(acq.SETTLED_FLAG, 'Y', 'CLOSED', 'ACTIVE'), 'CLOSED') AS ACQUISITION_FILE_STATUS_TYPE_CODE - , DECODE(acq.ACQUISITION_CODE, 'C', 'CONSEN', 'A', 'SECTN3', 'E', 'SECTN6') AS ACQUISITION_TYPE_CODE - , acq.REGION_NO AS REGION_CODE - , LTRIM(TO_CHAR (prj.FMIS_NO , '00009' ) ) AS MINISTRY_PROJECT_NUMBER - , DECODE(UPPER(prj.NAME ) , UPPER(sub.NAME ) , prj.NAME , prj.NAME || ' - ' || sub.NAME ) AS MINISTRY_PROJECT_NAME - , acq.NAME AS FILE_NAME - , acq.AGENT_ASSIGNMENT_NO AS FILE_NO - , acq.AGENT_ASSIGNMENT_NO_PREFIX || '-' || acq.AGENT_ASSIGNMENT_NO || '-' || COALESCE(acq.AGENT_ASSIGNMENT_NO_SUFFIX, '01') AS FILE_NUMBER - , acq.ASSIGNED_DATE AS ASSIGNED_DATE - , acq.DELIVERY_DATE AS DELIVERY_DATE - , 'EXPRAGENT' AS EXP_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE - , exp.NAME AS EXP_AGT_PERSON_FIRST_NAME_SURNAME - , 'EXP AGT ID: ' || exp.PROPERTY_EMPLOYEE_ID AS EXP_AGT_PERSON_COMMENT_ID - , 'EXP AGT ORG: ' || exp.COMPANY_NAME AS EXP_AGT_PERSON_COMMENT_ORG - , exp.REGION_NO AS EXP_AGT_PERSON_REGION - , exp.ADDRESS_LINE_1 AS EXP_AGT_STREET_ADDRESS_1 - , exp.ADDRESS_LINE_2 AS EXP_AGT_STREET_ADDRESS_2 - , exp.CITY AS EXP_AGT_MUNICIPALITY_NAME - , exp.POSTAL_CODE AS EXP_AGT_POSTAL_CODE - , exp.PROVINCE AS EXP_AGT_PROVINCE - , exp.PHONE_NO AS EXP_AGT_WORKPHONE - , exp.CELL_PHONE_NUMBER AS EXP_AGT_WORKMOBIL - , exp.FAX_NO AS EXP_AGT_FAX - , exp.EMAIL_ADDRESS AS EXP_AGT_WORKEMAIL -FROM PAM_AGENT_ASSIGNMENT acq JOIN - PAM_PROPERTY_EMPLOYEE prp ON prp.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID JOIN - PAM_SUB_PROJECT sub ON sub.SUB_PROJECT_ID = acq.SUB_PROJECT_ID LEFT OUTER JOIN - HWY_MINISTRY_PROJECT prj ON prj.MINISTRY_PROJECT_ID = sub.MINISTRY_PROJECT_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE cor ON cor.PROPERTY_EMPLOYEE_ID = acq.COORD_PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE neg ON neg.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE exp ON exp.PROPERTY_EMPLOYEE_ID = acq.EXPR_PROPERTY_EMPLOYEE_ID ---where exp.name is not null - - 1252 - false - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + synchronousInputId="Package\Load Land Parcel\ETL ERROR LOG 2.Inputs[OLE DB Destination Input]"> - - - - - - - - - - - - - - - - - - - - - - - - - @@ -33933,11 +23804,11 @@ FROM PAM_AGENT_ASSIGNMENT acq @@ -33946,14 +23817,14 @@ FROM PAM_AGENT_ASSIGNMENT acq description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_ORGANIZATION] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PROPERTY_HIST] select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] -where [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[ORGANIZATION_NAME] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_PROPERTY_HIST]) [refTable] +where [refTable].[PID] = ? <referenceMetadata><referenceColumns><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PRNT_ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORG_IDENTIFIER_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_IDENTIFIER" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ALIAS" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="INCORPORATION_NUMBER" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="WEBSITE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + name="ReferenceMetadataXml"><referenceMetadata><referenceColumns><referenceColumn name="_PROPERTY_HIST_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="EFFECTIVE_DATE_HIST" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="END_DATE_HIST" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_MANAGER_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROP_MGMT_ORG_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_CLASSIFICATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_AREA_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUME_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_EFFECTIVE_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="PID" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PIN" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER_SUFFIX" dataType="DT_STR" length="2" precision="0" scale="0" codePage="1252"/><referenceColumn name="LAND_AREA" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ENCUMBRANCE_REASON" dataType="DT_WSTR" length="500" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPAL_ZONING" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VOLUMETRIC_PARCEL" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_MEASUREMENT" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_OWNED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROPERTY_OF_INTEREST" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VISIBLE_TO_OTHER_AGENCIES" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_SENSITIVE" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROVINCIAL_PUBLIC_HWY" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_RWY_BELT_DOM_PATENT" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING_POTENTIAL" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="SURVEY_PLAN_NUMBER" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of PAIMS_ACQUISITION_FILE_ID]};#{Package\Load Acquisition Persons and Organizations\Format Organization Name.Outputs[Derived Column Output].Columns[Organization_Name]}; + name="ParameterMap">#{Package\Load Land Parcel\PID, FIle_NUMBER_SUFFIX conversion.Outputs[Data Conversion Output].Columns[Copy of PID_NO]}; - - ORGANIZATION_NAME - - - - + refId="Package\Load Land Parcel\Existing Pims_property_hist records.Inputs[Lookup Input].Columns[Copy of PID_NO]" + cachedDataType="i4" + cachedName="Copy of PID_NO" + lineageId="Package\Load Land Parcel\PID, FIle_NUMBER_SUFFIX conversion.Outputs[Data Conversion Output].Columns[Copy of PID_NO]"> APP_CREATE_USER_DIRECTORY + name="JoinToReferenceColumn">PID + synchronousInputId="Package\Load Land Parcel\Existing Pims_property_hist records.Inputs[Lookup Input]"> + synchronousInputId="Package\Load Land Parcel\Existing Pims_property_hist records.Inputs[Lookup Input]"> + synchronousInputId="Package\Load Land Parcel\Existing Pims_property_hist records.Inputs[Lookup Input]"> @@ -34092,11 +23945,11 @@ where [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[ORGANIZATION_NA @@ -34105,14 +23958,14 @@ where [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[ORGANIZATION_NA description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PERSON] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PROPERTY] select * from (select * from [dbo].[PIMS_PERSON]) [refTable] -where [refTable].[FIRST_NAME] = ? and [refTable].[SURNAME] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_PROPERTY]) [refTable] +where [refTable].[PID] = ? <referenceMetadata><referenceColumns><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURNAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="FIRST_NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="MIDDLE_NAMES" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME_SUFFIX" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="PREFERRED_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="BIRTH_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="USE_ORGANIZATION_ADDRESS" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + name="ReferenceMetadataXml"><referenceMetadata><referenceColumns><referenceColumn name="PROPERTY_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_MANAGER_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROP_MGMT_ORG_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_CLASSIFICATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_AREA_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUME_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_EFFECTIVE_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="PID" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PIN" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER_SUFFIX" dataType="DT_STR" length="2" precision="0" scale="0" codePage="1252"/><referenceColumn name="LAND_AREA" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LAND_LEGAL_DESCRIPTION" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="BOUNDARY" dataType="DT_IMAGE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LOCATION" dataType="DT_IMAGE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ENCUMBRANCE_REASON" dataType="DT_WSTR" length="500" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="NOTES" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPAL_ZONING" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VOLUMETRIC_PARCEL" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_MEASUREMENT" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_OWNED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROPERTY_OF_INTEREST" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VISIBLE_TO_OTHER_AGENCIES" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_SENSITIVE" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROVINCIAL_PUBLIC_HWY" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_RWY_BELT_DOM_PATENT" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING_POTENTIAL" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="SURVEY_PLAN_NUMBER" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FirstName]};#{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[SurName]};#{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of PAIMS_ACQUISITION_FILE_ID]}; + name="ParameterMap">#{Package\Load Land Parcel\PID, FIle_NUMBER_SUFFIX conversion.Outputs[Data Conversion Output].Columns[Copy of PID_NO]}; - - FIRST_NAME - - - - - - SURNAME - - - - + refId="Package\Load Land Parcel\Filter exsiting properties from PIMS_PROPERTY.Inputs[Lookup Input].Columns[Copy of PID_NO]" + cachedDataType="i4" + cachedName="Copy of PID_NO" + lineageId="Package\Load Land Parcel\PID, FIle_NUMBER_SUFFIX conversion.Outputs[Data Conversion Output].Columns[Copy of PID_NO]"> APP_CREATE_USER_DIRECTORY + name="JoinToReferenceColumn">PID + synchronousInputId="Package\Load Land Parcel\Filter exsiting properties from PIMS_PROPERTY.Inputs[Lookup Input]"> + + + + PROPERTY_ID + + + + synchronousInputId="Package\Load Land Parcel\Filter exsiting properties from PIMS_PROPERTY.Inputs[Lookup Input]"> + synchronousInputId="Package\Load Land Parcel\Filter exsiting properties from PIMS_PROPERTY.Inputs[Lookup Input]"> @@ -34268,103 +24102,595 @@ where [refTable].[FIRST_NAME] = ? and [refTable].[SURNAME] = ? and [refTable].[A - - - - - - - - - - - - - - ([FINDSTRING]([TRIM](#{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1) + 1,[LEN](#{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]})," ",2) + 1,[LEN](#{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}))) - (FINDSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME)," ",2) == 0) ? (SUBSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME)," ",1) + 1,LEN(NEG_AGT_PERSON_FIRST_NAME_SURNAME))) : (SUBSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME)," ",2) + 1,LEN(NEG_AGT_PERSON_FIRST_NAME_SURNAME))) - - - + + 0 + [dbo].[PIMS_PROPERTY] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - ([FINDSTRING]([TRIM](#{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1) == 0) ? [TRIM](#{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1))) - (FINDSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME)," ",1) == 0) ? TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME) : (SUBSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME),1,FINDSTRING(TRIM(NEG_AGT_PERSON_FIRST_NAME_SURNAME)," ",1))) - - - - - + length="20" + name="PROPERTY_TYPE_CODE" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + name="OLE DB Destination Error Output" + synchronousInputId="Package\Load Land Parcel\Insert PIMS_PROPERTY.Inputs[OLE DB Destination Input]"> @@ -34373,103 +24699,584 @@ where [refTable].[FIRST_NAME] = ? and [refTable].[SURNAME] = ? and [refTable].[A - - - - - - - - - - - - - - ([FINDSTRING]([TRIM](#{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]})," ",1) + 1,[LEN](#{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]})," ",2) + 1,[LEN](#{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}))) - (FINDSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME)," ",2) == 0) ? (SUBSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME)," ",1) + 1,LEN(PROP_COORD_PERSON_FIRST_NAME_SURNAME))) : (SUBSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME)," ",2) + 1,LEN(PROP_COORD_PERSON_FIRST_NAME_SURNAME))) - - - + + 0 + [dbo].[PIMS_PROPERTY_HIST] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - ([FINDSTRING]([TRIM](#{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]})," ",1) == 0) ? [TRIM](#{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]})," ",1))) - (FINDSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME)," ",1) == 0) ? TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME) : (SUBSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME),1,FINDSTRING(TRIM(PROP_COORD_PERSON_FIRST_NAME_SURNAME)," ",1))) - - - - - + length="20" + name="PROPERTY_TYPE_CODE" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + name="OLE DB Destination Error Output" + synchronousInputId="Package\Load Land Parcel\Insert PIMS_PROPERTY_HIST.Inputs[OLE DB Destination Input]"> @@ -34478,103 +25285,72 @@ where [refTable].[FIRST_NAME] = ? and [refTable].[SURNAME] = ? and [refTable].[A - - - + synchronousInputId="Package\Load Land Parcel\LAND as PROPERTY_TYPE_CODE.Inputs[Derived Column Input]"> - - ([FINDSTRING]([TRIM](#{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1) + 1,[LEN](#{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}),[FINDSTRING]([TRIM](#{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]})," ",2) + 1,[LEN](#{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}))) - (FINDSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME)," ",2) == 0) ? (SUBSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME)," ",1) + 1,LEN(EXP_AGT_PERSON_FIRST_NAME_SURNAME))) : (SUBSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME),FINDSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME)," ",2) + 1,LEN(EXP_AGT_PERSON_FIRST_NAME_SURNAME))) - - - ([FINDSTRING]([TRIM](#{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1) == 0) ? [TRIM](#{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]})," ",1))) + name="Expression">"LAND" (FINDSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME)," ",1) == 0) ? TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME) : (SUBSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME),1,FINDSTRING(TRIM(EXP_AGT_PERSON_FIRST_NAME_SURNAME)," ",1))) + name="FriendlyExpression">"LAND" + synchronousInputId="Package\Load Land Parcel\LAND as PROPERTY_TYPE_CODE.Inputs[Derived Column Input]"> @@ -34583,319 +25359,101 @@ where [refTable].[FIRST_NAME] = ? and [refTable].[SURNAME] = ? and [refTable].[A - - - - - - - - - "OTHER" - "OTHER" - - - + + lineageId="Package\Load Land Parcel\ADDRESS_ID, REGION and DISTRICT Code.Outputs[Lookup Match Output].Columns[REGION_CODE]" + truncationRowDisposition="FailComponent" + usageType="readWrite"> "OTHINCORPNO" + name="Expression">[REPLACENULL](#{Package\Load Land Parcel\ADDRESS_ID, REGION and DISTRICT Code.Outputs[Lookup Match Output].Columns[REGION_CODE]},1) "OTHINCORPNO" + name="FriendlyExpression">REPLACENULL(REGION_CODE,1) - - - - - - - - - - - - - - - - - + - - - - - - - - + + lineageId="Package\Load Land Parcel\ADDRESS_ID, REGION and DISTRICT Code.Outputs[Lookup Match Output].Columns[DISTRICT_CODE]" + truncationRowDisposition="FailComponent" + usageType="readWrite"> (DT_WSTR,200)#{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PERSON_COMMENT_ORG]} + name="Expression">[REPLACENULL](#{Package\Load Land Parcel\ADDRESS_ID, REGION and DISTRICT Code.Outputs[Lookup Match Output].Columns[DISTRICT_CODE]},#{Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[CITY]} == "VICTORIA" ? 2 : 1) (DT_WSTR,200)PERSON_COMMENT_ORG + name="FriendlyExpression">REPLACENULL(DISTRICT_CODE,CITY == "VICTORIA" ? 2 : 1) - - - - - - - - - - - - - - - - - - - - + - - - - (DT_WSTR,50)[TRIM](#{Package\Load Acquisition Persons and Organizations\Sort 5.Outputs[Sort Output].Columns[FirstName]}) - (DT_WSTR,50)TRIM(FirstName) - - - - - (DT_WSTR,50)[TRIM](#{Package\Load Acquisition Persons and Organizations\Sort 5.Outputs[Sort Output].Columns[SurName]}) - (DT_WSTR,50)TRIM(SurName) - - - - - (DT_WSTR,31)#{Package\Load Acquisition Persons and Organizations\Sort 5.Outputs[Sort Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]} - (DT_WSTR,31)APP_LAST_UPDATE_USER_DIRECTORY - - - + synchronousInputId="Package\Load Land Parcel\Null Correction for Region and District Code.Inputs[Derived Column Input]"> + synchronousInputId="Package\Load Land Parcel\Null Correction for Region and District Code.Inputs[Derived Column Input]"> @@ -34904,1539 +25462,1010 @@ where [refTable].[FIRST_NAME] = ? and [refTable].[SURNAME] = ? and [refTable].[A + validateExternalMetadata="False" + version="7"> - select * from [dbo].[PIMS_PERSON] - select * from (select * from [dbo].[PIMS_PERSON]) [refTable] -where [refTable].[FIRST_NAME] = ? and [refTable].[SURNAME] = ? - 0 - 0 - 1 - 0 25 - 25 + description="The number of seconds before a command times out. A value of 0 indicates an infinite time-out." + name="CommandTimeout">0 <referenceMetadata><referenceColumns><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURNAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="FIRST_NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="MIDDLE_NAMES" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME_SUFFIX" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="PREFERRED_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="BIRTH_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="USE_ORGANIZATION_ADDRESS" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + description="Specifies the name of the database object used to open a rowset." + name="OpenRowset">"APP_PAM"."PAM_LAND_PARCEL" #{Package\Load Acquisition Persons and Organizations\Format Output Column.Outputs[Derived Column Output].Columns[FirstName]};#{Package\Load Acquisition Persons and Organizations\Format Output Column.Outputs[Derived Column Output].Columns[SurName]}; - 1252 - false - - - - - - - - - - FIRST_NAME - - - - - - SURNAME - - - - - - - - - - - - - - - - - - - - - - - - - + description="Specifies the variable that contains the name of the database object used to open a rowset." + name="OpenRowsetVariable"> select * from [dbo].[PIMS_PERSON] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> select * from (select * from [dbo].[PIMS_PERSON]) [refTable] -where [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[FIRST_NAME] = ? and [refTable].[SURNAME] = ? - 0 - 0 + description="The variable that contains the SQL command to be executed." + name="SqlCommandVariable"> 1 + description="Specifies the column code page to use when code page information is unavailable from the data source." + name="DefaultCodePage">1252 0 + dataType="System.Boolean" + description="Forces the use of the DefaultCodePage property value when describing character data." + name="AlwaysUseDefaultCodePage">false 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURNAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="FIRST_NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="MIDDLE_NAMES" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME_SUFFIX" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="PREFERRED_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="BIRTH_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="USE_ORGANIZATION_ADDRESS" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + description="Specifies the mode used to access the database." + name="AccessMode" + typeConverter="AccessMode">0 #{Package\Load Acquisition Persons and Organizations\Sort 5.Outputs[Sort Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]};#{Package\Load Acquisition Persons and Organizations\Format Output Column.Outputs[Derived Column Output].Columns[FirstName]};#{Package\Load Acquisition Persons and Organizations\Format Output Column.Outputs[Derived Column Output].Columns[SurName]}; - 1252 - false + description="The mappings between the parameters in the SQL command and variables." + name="ParameterMapping"> - - - - - - FIRST_NAME - - - - - - SURNAME - - - - - - APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - + refId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output]" + name="OLE DB Source Output"> + refId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[LAND_PARCEL_ID]" + dataType="numeric" + errorOrTruncationOperation="Conversion" + errorRowDisposition="FailComponent" + externalMetadataColumnId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].ExternalColumns[LAND_PARCEL_ID]" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[LAND_PARCEL_ID]" + name="LAND_PARCEL_ID" + precision="10" + truncationRowDisposition="FailComponent" /> - - - - - - - - select * from [dbo].[PIMS_ORGANIZATION] - select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] -where [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[ORGANIZATION_NAME] = ? and [refTable].[ORGANIZATION_TYPE_CODE] = ? and [refTable].[ORG_IDENTIFIER_TYPE_CODE] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PRNT_ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORG_IDENTIFIER_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_IDENTIFIER" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ALIAS" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="INCORPORATION_NUMBER" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="WEBSITE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Acquisition Persons and Organizations\Sort 6.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]};#{Package\Load Acquisition Persons and Organizations\Sort 6.Outputs[Sort Output].Columns[Organization_Name]};#{Package\Load Acquisition Persons and Organizations\Format Organization Columns.Outputs[Derived Column Output].Columns[ORGANIZATION_TYPE_CODE]};#{Package\Load Acquisition Persons and Organizations\Format Organization Columns.Outputs[Derived Column Output].Columns[ORGANIZATION_IDENTIFIER_TYPE_CODE]}; - 1252 - false - - - - - - - - - - ORGANIZATION_TYPE_CODE - - - - - - ORG_IDENTIFIER_TYPE_CODE - - - - - - ORGANIZATION_NAME - - - - - - APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_ORGANIZATION] - select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] -where [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[ORGANIZATION_NAME] = ? and [refTable].[ORGANIZATION_TYPE_CODE] = ? and [refTable].[ORG_IDENTIFIER_TYPE_CODE] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PRNT_ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORG_IDENTIFIER_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_IDENTIFIER" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ALIAS" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="INCORPORATION_NUMBER" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="WEBSITE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Acquisition Persons and Organizations\Sort 6.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]};#{Package\Load Acquisition Persons and Organizations\Sort 6.Outputs[Sort Output].Columns[Organization_Name]};#{Package\Load Acquisition Persons and Organizations\Format Organization Columns.Outputs[Derived Column Output].Columns[ORGANIZATION_TYPE_CODE]};#{Package\Load Acquisition Persons and Organizations\Format Organization Columns.Outputs[Derived Column Output].Columns[ORGANIZATION_IDENTIFIER_TYPE_CODE]}; - 1252 - false - - - - - - - - - - ORGANIZATION_TYPE_CODE - - - - - - ORG_IDENTIFIER_TYPE_CODE - - - - - - ORGANIZATION_NAME - - - - - - APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - SELECT acq.AGENT_ASSIGNMENT_ID AS PAIMS_ACQUISITION_FILE_ID - , DECODE(acq.CLOSED_DATE, NULL, DECODE(acq.SETTLED_FLAG, 'Y', 'CLOSED', 'ACTIVE'), 'CLOSED') AS ACQUISITION_FILE_STATUS_TYPE_CODE - , DECODE(acq.ACQUISITION_CODE, 'C', 'CONSEN', 'A', 'SECTN3', 'E', 'SECTN6') AS ACQUISITION_TYPE_CODE - , acq.REGION_NO AS REGION_CODE - , LTRIM(TO_CHAR (prj.FMIS_NO , '00009' ) ) AS MINISTRY_PROJECT_NUMBER - , DECODE(UPPER(prj.NAME ) , UPPER(sub.NAME ) , prj.NAME , prj.NAME || ' - ' || sub.NAME ) AS MINISTRY_PROJECT_NAME - , acq.NAME AS FILE_NAME - , acq.AGENT_ASSIGNMENT_NO AS FILE_NO - , acq.AGENT_ASSIGNMENT_NO_PREFIX || '-' || acq.AGENT_ASSIGNMENT_NO || '-' || COALESCE(acq.AGENT_ASSIGNMENT_NO_SUFFIX, '01') AS FILE_NUMBER - , acq.ASSIGNED_DATE AS ASSIGNED_DATE - , acq.DELIVERY_DATE AS DELIVERY_DATE - , 'NEGOTAGENT' AS NEG_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE - , neg.NAME AS NEG_AGT_PERSON_FIRST_NAME_SURNAME - , 'NEG AGT ID: ' || neg.PROPERTY_EMPLOYEE_ID AS NEG_AGT_PERSON_COMMENT_ID - , 'NEG AGT ORG: ' || neg.COMPANY_NAME AS NEG_AGT_PERSON_COMMENT_ORG - , neg.REGION_NO AS NEG_AGT_PERSON_REGION - , neg.ADDRESS_LINE_1 AS NEG_AGT_STREET_ADDRESS_1 - , neg.ADDRESS_LINE_2 AS NEG_AGT_STREET_ADDRESS_2 - , neg.CITY AS NEG_AGT_MUNICIPALITY_NAME - , neg.POSTAL_CODE AS NEG_AGT_POSTAL_CODE - , neg.PROVINCE AS NEG_AGT_PROVINCE - , neg.PHONE_NO AS NEG_AGT_WORKPHONE - , neg.CELL_PHONE_NUMBER AS NEG_AGT_WORKMOBIL - , neg.FAX_NO AS NEG_AGT_FAX - , neg.EMAIL_ADDRESS AS NEG_AGT_WORKEMAIL -FROM PAM_AGENT_ASSIGNMENT acq JOIN - PAM_PROPERTY_EMPLOYEE prp ON prp.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID JOIN - PAM_SUB_PROJECT sub ON sub.SUB_PROJECT_ID = acq.SUB_PROJECT_ID LEFT OUTER JOIN - HWY_MINISTRY_PROJECT prj ON prj.MINISTRY_PROJECT_ID = sub.MINISTRY_PROJECT_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE cor ON cor.PROPERTY_EMPLOYEE_ID = acq.COORD_PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE neg ON neg.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE exp ON exp.PROPERTY_EMPLOYEE_ID = acq.EXPR_PROPERTY_EMPLOYEE_ID ---where neg.name is not null - - 1252 - false - 2 - - - - - - - - - - + + + + + + + + + + + + + + + length="1" + name="LAND_PARCEL_CODE" /> + length="100" + name="CIVIC_ADDRESS" /> + + + length="2000" + name="FULL_LEGAL_DESCRIPTION" /> + + length="9" + name="TITLE_NO" /> + length="40" + name="CITY" /> + length="30" + name="ROLL_NO" /> + + + length="9" + name="PLAN_NO" /> + length="8" + name="DISTRICT_LOT" /> + length="4" + name="BLOCK_NO" /> + name="LEGAL_SUBDIVISION_NO" + precision="2" /> + length="4" + name="LOT_NO" /> + refId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].ExternalColumns[SUBLOT_NO]" + dataType="wstr" + length="5" + name="SUBLOT_NO" /> + refId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].ExternalColumns[QUADRANT]" + dataType="wstr" + length="3" + name="QUADRANT" /> + refId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].ExternalColumns[SECTION]" + dataType="wstr" + length="10" + name="SECTION" /> + length="3" + name="TOWNSHIP" /> + length="10" + name="LAND_TITLES_RANGE" /> + + + name="BAND_NAME" /> + length="40" + name="RESERVE_NAME" /> + length="20" + name="RESERVE_DESCRIPTION" /> + name="PIN" + precision="9" /> + refId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].ExternalColumns[SURVEYED_FLAG]" + dataType="wstr" + length="1" + name="SURVEYED_FLAG" /> + name="RAIL_BELT_NO" + precision="12" /> + length="1" + name="INSIDE_RAIL_BELT_FLAG" /> + + + + + + + + length="1" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[LAND_PARCEL_CODE]" + name="LAND_PARCEL_CODE" /> + length="100" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[CIVIC_ADDRESS]" + name="CIVIC_ADDRESS" /> + length="30" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[LAND_USE_DESCRIPTION]" + name="LAND_USE_DESCRIPTION" /> + + + length="9" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[TITLE_NO]" + name="TITLE_NO" /> - + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[CITY]" + name="CITY" /> + length="30" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[ROLL_NO]" + name="ROLL_NO" /> + refId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[TOTAL_PARCEL_AREA]" + dataType="numeric" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[TOTAL_PARCEL_AREA]" + name="TOTAL_PARCEL_AREA" + precision="8" + scale="4" /> + refId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[ELECTORAL_DISTRICT_NO]" + dataType="numeric" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[ELECTORAL_DISTRICT_NO]" + name="ELECTORAL_DISTRICT_NO" + precision="2" /> + refId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[LAND_DISTRICT_NO]" + dataType="numeric" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[LAND_DISTRICT_NO]" + name="LAND_DISTRICT_NO" + precision="4" /> + length="9" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[PLAN_NO]" + name="PLAN_NO" /> + length="8" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[DISTRICT_LOT]" + name="DISTRICT_LOT" /> + length="4" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[BLOCK_NO]" + name="BLOCK_NO" /> + length="4" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[LOT_NO]" + name="LOT_NO" /> + length="5" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[SUBLOT_NO]" + name="SUBLOT_NO" /> + length="3" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[QUADRANT]" + name="QUADRANT" /> + length="10" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[SECTION]" + name="SECTION" /> - + length="3" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[TOWNSHIP]" + name="TOWNSHIP" /> + refId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[LAND_TITLES_RANGE]" + dataType="wstr" + length="10" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[LAND_TITLES_RANGE]" + name="LAND_TITLES_RANGE" /> + refId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[MERIDIAN]" + dataType="wstr" + length="3" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[MERIDIAN]" + name="MERIDIAN" /> + length="2" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[GROUP_NO]" + name="GROUP_NO" /> + refId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[BAND_NAME]" + dataType="wstr" + length="40" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[BAND_NAME]" + name="BAND_NAME" /> + refId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[RESERVE_NAME]" + dataType="wstr" + length="40" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Error Output].Columns[RESERVE_NAME]" + name="RESERVE_NAME" /> + + + + + + + + + + + + + + - - 0 - Update PIMS_PERSON -set FIRST_NAME=?, -SURNAME=? -where APP_CREATE_USER_DIRECTORY=? - 1252 - - - - + refId="Package\Load Land Parcel\PID, FIle_NUMBER_SUFFIX conversion" + componentClassID="Microsoft.DataConvert" + contactInfo="Data Conversion;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;0" + description="Data Conversion" + name="PID, FIle_NUMBER_SUFFIX conversion" + usesDispositions="true"> + refId="Package\Load Land Parcel\PID, FIle_NUMBER_SUFFIX conversion.Inputs[Data Conversion Input]" + name="Data Conversion Input"> + refId="Package\Load Land Parcel\PID, FIle_NUMBER_SUFFIX conversion.Inputs[Data Conversion Input].Columns[PID_NO]" + cachedDataType="numeric" + cachedName="PID_NO" + cachedPrecision="9" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PID_NO]" /> - + cachedLength="2" + cachedName="FILE_NUMBER_SUFF" + lineageId="Package\Load Land Parcel\PS_FILE_NUMBER.Outputs[Derived Column Output].Columns[FILE_NUMBER_SUFF]" /> - - + + + + + + + 65 - - - - + description="Specifies the input column used as the source of data for the conversion." + name="SourceInputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PID_NO]} 65 + dataType="System.Boolean" + description="Indicates whether the column uses the faster, locale-neutral parsing routines." + name="FastParse">false - - + + 65 + description="Specifies the input column used as the source of data for the conversion." + name="SourceInputColumnLineageID">#{Package\Load Land Parcel\PS_FILE_NUMBER.Outputs[Derived Column Output].Columns[FILE_NUMBER_SUFF]} + false - - - - - - + + + name="Data Conversion Error Output" + synchronousInputId="Package\Load Land Parcel\PID, FIle_NUMBER_SUFFIX conversion.Inputs[Data Conversion Input]"> @@ -36445,176 +26474,95 @@ where APP_CREATE_USER_DIRECTORY=? - - 0 - update PIMS_ORGANIZATION -set REGION_CODE=?, -ORGANIZATION_TYPE_CODE=?, -ORG_IDENTIFIER_TYPE_CODE=?, -ORGANIZATION_NAME=? -where APP_CREATE_USER_DIRECTORY=? - 1252 - - - - + refId="Package\Load Land Parcel\PROPERTY AND PPH STATUS TYPE CODE" + componentClassID="Microsoft.DerivedColumn" + contactInfo="Derived Column;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;0" + description="Creates new column values by applying expressions to transformation input columns. Create new columns or overwrite existing ones. For example, concatenate the values from the 'first name' and 'last name' column to make a 'full name' column." + name="PROPERTY AND PPH STATUS TYPE CODE" + usesDispositions="true"> - - - - - - - - - - - 81 - - - + + + + + + + + errorOrTruncationOperation="Computation" + errorRowDisposition="FailComponent" + length="7" + lineageId="Package\Load Land Parcel\PROPERTY AND PPH STATUS TYPE CODE.Outputs[Derived Column Output].Columns[PROPERTY_STATUS_TYPE_CODE]" + name="PROPERTY_STATUS_TYPE_CODE" + truncationRowDisposition="FailComponent"> 65 - - - - + containsID="true" + dataType="System.String" + description="Derived Column Expression" + name="Expression">"UNKNOWN" 65 + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"UNKNOWN" - - + + errorOrTruncationOperation="Computation" + errorRowDisposition="FailComponent" + length="7" + lineageId="Package\Load Land Parcel\PROPERTY AND PPH STATUS TYPE CODE.Outputs[Derived Column Output].Columns[PPH_STATUS_TYPE_CODE]" + name="PPH_STATUS_TYPE_CODE" + truncationRowDisposition="FailComponent"> 65 - - - - + containsID="true" + dataType="System.String" + description="Derived Column Expression" + name="Expression">"UNKNOWN" 65 + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"UNKNOWN" - - - - - - + + + name="Derived Column Error Output" + synchronousInputId="Package\Load Land Parcel\PROPERTY AND PPH STATUS TYPE CODE.Inputs[Derived Column Input]"> @@ -36623,88 +26571,94 @@ where APP_CREATE_USER_DIRECTORY=? - - - + refId="Package\Load Land Parcel\PROPERTY DATA SOURCE TYPE AND DATE.Inputs[Derived Column Input]" + description="Input to the Derived Column Transformation" + name="Derived Column Input"> - - ![ISNULL](#{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PERSON_COMMENT_ORG]}) && [LEN]([TRIM](#{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PERSON_COMMENT_ORG]})) > 0 - !ISNULL(PERSON_COMMENT_ORG) && LEN(TRIM(PERSON_COMMENT_ORG)) > 0 - 0 - - - - - - true - + name="Derived Column Output" + synchronousInputId="Package\Load Land Parcel\PROPERTY DATA SOURCE TYPE AND DATE.Inputs[Derived Column Input]"> + + + + "PAIMS" + "PAIMS" + + + + + [GETDATE]() + GETDATE() + + + + name="Derived Column Error Output" + synchronousInputId="Package\Load Land Parcel\PROPERTY DATA SOURCE TYPE AND DATE.Inputs[Derived Column Input]"> @@ -36713,94 +26667,72 @@ where APP_CREATE_USER_DIRECTORY=? - - - - + refId="Package\Load Land Parcel\PS_FILE_NUMBER.Inputs[Derived Column Input]" + description="Input to the Derived Column Transformation" + name="Derived Column Input"> - - (![ISNULL](#{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[SurName]}) || ![ISNULL](#{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FirstName]})) && ([LEN]([TRIM](#{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FirstName]})) > 0 || [LEN]([TRIM](#{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[SurName]})) > 0) - (!ISNULL(SurName) || !ISNULL(FirstName)) && (LEN(TRIM(FirstName)) > 0 || LEN(TRIM(SurName)) > 0) - 0 - - - - - - true - + name="Derived Column Output" + synchronousInputId="Package\Load Land Parcel\PS_FILE_NUMBER.Inputs[Derived Column Input]"> + + + + "LP" + "LP" + + + + name="Derived Column Error Output" + synchronousInputId="Package\Load Land Parcel\PS_FILE_NUMBER.Inputs[Derived Column Input]"> @@ -36809,572 +26741,390 @@ where APP_CREATE_USER_DIRECTORY=? + version="6"> - 0 - [dbo].[PIMS_ORGANIZATION] + description="Specifies the SQL statement that generates the lookup table." + expressionType="Notify" + name="SqlCommand" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PROPERTY_HIST] + description="Specifies a SQL statement that uses parameters to generate the lookup table." + expressionType="Notify" + name="SqlCommandParam" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_PROPERTY_HIST]) [refTable] +where [refTable].[DESCRIPTION] = ? and [refTable].[NAME] = ? and [refTable].[ZONING] = ? and [refTable].[PROPERTY_TYPE_CODE] = ? and [refTable].[PROPERTY_CLASSIFICATION_TYPE_CODE] = ? and [refTable].[ADDRESS_ID] = ? and [refTable].[REGION_CODE] = ? and [refTable].[DISTRICT_CODE] = ? and [refTable].[PROPERTY_AREA_UNIT_TYPE_CODE] = ? and [refTable].[PID] = ? and [refTable].[FILE_NUMBER_SUFFIX] = ? and [refTable].[PROPERTY_DATA_SOURCE_TYPE_CODE] = ? and [refTable].[PROPERTY_STATUS_TYPE_CODE] = ? and [refTable].[SURPLUS_DECLARATION_TYPE_CODE] = ? and [refTable].[ENCUMBRANCE_REASON] = ? and [refTable].[ZONING_POTENTIAL] = ? and [refTable].[PROPERTY_ID] = ? 1252 - false + description="Specifies the type of connection used to access the reference dataset." + name="ConnectionType" + typeConverter="LookupConnectionType">0 3 - false - false + description="Specifies the cache type of the lookup table." + name="CacheType" + typeConverter="CacheType">0 TABLOCK,CHECK_CONSTRAINTS + dataType="System.Int32" + description="Specifies how the Lookup transformation handles rows without matching entries in the reference data set." + name="NoMatchBehavior" + typeConverter="LookupNoMatchBehavior">1 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + description="Specifies the percentage of the cache that is allocated for rows with no matching entries in the reference dataset." + name="NoMatchCachePercentage">0 0 + description="Maximum Memory Usage for Reference Cache on a 32 bit platform." + name="MaxMemoryUsage">25 [dbo].[PIMS_PERSON] + dataType="System.Int64" + description="Maximum Memory Usage for Reference Cache on a 64 bit platform." + name="MaxMemoryUsage64">25 + description="Indicates whether to reference metadata in an XML format." + name="ReferenceMetadataXml"><referenceMetadata><referenceColumns><referenceColumn name="_PROPERTY_HIST_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="EFFECTIVE_DATE_HIST" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="END_DATE_HIST" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_MANAGER_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROP_MGMT_ORG_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_CLASSIFICATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_AREA_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUME_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_EFFECTIVE_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="PID" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PIN" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER_SUFFIX" dataType="DT_STR" length="2" precision="0" scale="0" codePage="1252"/><referenceColumn name="LAND_AREA" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ENCUMBRANCE_REASON" dataType="DT_WSTR" length="500" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPAL_ZONING" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VOLUMETRIC_PARCEL" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_MEASUREMENT" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_OWNED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROPERTY_OF_INTEREST" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VISIBLE_TO_OTHER_AGENCIES" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_SENSITIVE" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROVINCIAL_PUBLIC_HWY" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_RWY_BELT_DOM_PATENT" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING_POTENTIAL" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="SURVEY_PLAN_NUMBER" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + description="Specifies the list of lineage identifiers that map to the parameters that the SQL statement in the SQLCommand property uses. Entries in the list are separated by semicolons." + name="ParameterMap">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_USE_DESCRIPTION]};#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TITLE_NO]};#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ACTUAL_LAND_USE_CODE]};#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]};#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]};#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ADDRESS_ID]};#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[REGION_CODE]};#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[DISTRICT_CODE]};#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]};#{Package\Load Land Parcel\PID, FIle_NUMBER_SUFFIX conversion.Outputs[Data Conversion Output].Columns[Copy of PID_NO]};#{Package\Load Land Parcel\2875:invalid};#{Package\Load Land Parcel\PROPERTY DATA SOURCE TYPE AND DATE.Outputs[Derived Column Output].Columns[PROPERTY_DATA_SOURCE_TYPE_CODE]};#{Package\Load Land Parcel\PROPERTY AND PPH STATUS TYPE CODE.Outputs[Derived Column Output].Columns[PROPERTY_STATUS_TYPE_CODE]};#{Package\Load Land Parcel\SURPLUS_DECLARATION_TYPE_CODE.Outputs[Derived Column Output].Columns[SURPLUS_DELCARATION_TYPE_CODE]};#{Package\Load Land Parcel\Audit Trail.Outputs[Derived Column Output].Columns[ENCUMBRANCE_REASON]};#{Package\Load Land Parcel\Audit Trail.Outputs[Derived Column Output].Columns[ZONING_POTENTIAL]};#{Package\Load Land Parcel\Filter exsiting properties from PIMS_PROPERTY.Outputs[Lookup Match Output].Columns[PROPERTY_ID]}; 1252 false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 + description="Determines whether duplicate keys in the reference data should be treated as errors when full cache mode is used." + name="TreatDuplicateKeysAsError">false + refId="Package\Load Land Parcel\Records to update PIMS_PROP history.Inputs[Lookup Input]" + name="Lookup Input"> + refId="Package\Load Land Parcel\Records to update PIMS_PROP history.Inputs[Lookup Input].Columns[PROPERTY_ID]" + cachedDataType="i8" + cachedName="PROPERTY_ID" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_ID]"> + + PROPERTY_ID + + + + cachedLength="4" + cachedName="PROPERTY_TYPE_CODE" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]"> + + PROPERTY_TYPE_CODE + + + + cachedLength="8" + cachedName="PROPERTY_CLASSIFICATION_TYPE_CODE" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]"> + + PROPERTY_CLASSIFICATION_TYPE_CODE + + + + refId="Package\Load Land Parcel\Records to update PIMS_PROP history.Inputs[Lookup Input].Columns[ADDRESS_ID]" + cachedDataType="i8" + cachedName="ADDRESS_ID" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[ADDRESS_ID]"> + + ADDRESS_ID + + + + refId="Package\Load Land Parcel\Records to update PIMS_PROP history.Inputs[Lookup Input].Columns[REGION_CODE]" + cachedDataType="i2" + cachedName="REGION_CODE" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[REGION_CODE]"> + + REGION_CODE + + + + refId="Package\Load Land Parcel\Records to update PIMS_PROP history.Inputs[Lookup Input].Columns[DISTRICT_CODE]" + cachedDataType="i2" + cachedName="DISTRICT_CODE" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[DISTRICT_CODE]"> + + DISTRICT_CODE + + + + cachedLength="20" + cachedName="PROPERTY_AREA_UNIT_TYPE_CODE" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]"> + + PROPERTY_AREA_UNIT_TYPE_CODE + + + + cachedLength="7" + cachedName="PROPERTY_STATUS_TYPE_CODE" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_STATUS_TYPE_CODE]"> + + PROPERTY_STATUS_TYPE_CODE + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + cachedLength="7" + cachedName="SURPLUS_DELCARATION_TYPE_CODE" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[SURPLUS_DELCARATION_TYPE_CODE]"> + + SURPLUS_DECLARATION_TYPE_CODE + + + + + + PROPERTY_DATA_SOURCE_TYPE_CODE + + + + + + NAME + + + + + + DESCRIPTION + + + + + + PID + + + + + + ENCUMBRANCE_REASON + + + + + + ZONING + + + + + + ZONING_POTENTIAL + + + + + + + + + + + + name="Lookup Error Output" + synchronousInputId="Package\Load Land Parcel\Records to update PIMS_PROP history.Inputs[Lookup Input]"> @@ -37383,638 +27133,146 @@ where APP_CREATE_USER_DIRECTORY=? - - 0 - - - SELECT acq.AGENT_ASSIGNMENT_ID AS PAIMS_ACQUISITION_FILE_ID - , DECODE(acq.CLOSED_DATE, NULL, DECODE(acq.SETTLED_FLAG, 'Y', 'CLOSED', 'ACTIVE'), 'CLOSED') AS ACQUISITION_FILE_STATUS_TYPE_CODE - , DECODE(acq.ACQUISITION_CODE, 'C', 'CONSEN', 'A', 'SECTN3', 'E', 'SECTN6') AS ACQUISITION_TYPE_CODE - , acq.REGION_NO AS REGION_CODE - , LTRIM(TO_CHAR (prj.FMIS_NO , '00009' ) ) AS MINISTRY_PROJECT_NUMBER - , DECODE(UPPER(prj.NAME ) , UPPER(sub.NAME ) , prj.NAME , prj.NAME || ' - ' || sub.NAME ) AS MINISTRY_PROJECT_NAME - , acq.NAME AS FILE_NAME - , acq.AGENT_ASSIGNMENT_NO AS FILE_NO - , acq.AGENT_ASSIGNMENT_NO_PREFIX || '-' || acq.AGENT_ASSIGNMENT_NO || '-' || COALESCE(acq.AGENT_ASSIGNMENT_NO_SUFFIX, '01') AS FILE_NUMBER - , acq.ASSIGNED_DATE AS ASSIGNED_DATE - , acq.DELIVERY_DATE AS DELIVERY_DATE - , 'PROPCOORD' AS PROP_COORD_ACQ_FL_PERSON_PROFILE_TYPE_CODE - , cor.NAME AS PROP_COORD_PERSON_FIRST_NAME_SURNAME - , 'PROP COORD ID: ' || cor.PROPERTY_EMPLOYEE_ID AS PROP_COORD_PERSON_COMMENT_ID - , 'PROP COORD ORG: ' || cor.COMPANY_NAME AS PROP_COORD_PERSON_COMMENT_ORG - , cor.REGION_NO AS PROP_COORD_PERSON_REGION - , cor.ADDRESS_LINE_1 AS PROP_COORD_STREET_ADDRESS_1 - , cor.ADDRESS_LINE_2 AS PROP_COORD_STREET_ADDRESS_2 - , cor.CITY AS PROP_COORD_MUNICIPALITY_NAME - , cor.POSTAL_CODE AS PROP_COORD_POSTAL_CODE - , cor.PROVINCE AS PROP_COORD_PROVINCE - , cor.PHONE_NO AS PROP_COORD_WORKPHONE - , cor.CELL_PHONE_NUMBER AS PROP_COORD_WORKMOBIL - , cor.FAX_NO AS PROP_COORD_FAX - , cor.EMAIL_ADDRESS AS PROP_COORD_WORKEMAIL -FROM PAM_AGENT_ASSIGNMENT acq JOIN - PAM_PROPERTY_EMPLOYEE prp ON prp.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID JOIN - PAM_SUB_PROJECT sub ON sub.SUB_PROJECT_ID = acq.SUB_PROJECT_ID LEFT OUTER JOIN - HWY_MINISTRY_PROJECT prj ON prj.MINISTRY_PROJECT_ID = sub.MINISTRY_PROJECT_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE cor ON cor.PROPERTY_EMPLOYEE_ID = acq.COORD_PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE neg ON neg.PROPERTY_EMPLOYEE_ID = acq.PROPERTY_EMPLOYEE_ID LEFT OUTER JOIN - PAM_PROPERTY_EMPLOYEE exp ON exp.PROPERTY_EMPLOYEE_ID = acq.EXPR_PROPERTY_EMPLOYEE_ID ---where cor.name is not null - - 1252 - false - 2 - - - - - + refId="Package\Load Land Parcel\SURPLUS_DECLARATION_TYPE_CODE" + componentClassID="Microsoft.DerivedColumn" + contactInfo="Derived Column;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;0" + description="Creates new column values by applying expressions to transformation input columns. Create new columns or overwrite existing ones. For example, concatenate the values from the 'first name' and 'last name' column to make a 'full name' column." + name="SURPLUS_DECLARATION_TYPE_CODE" + usesDispositions="true"> + + + + + + refId="Package\Load Land Parcel\SURPLUS_DECLARATION_TYPE_CODE.Outputs[Derived Column Output]" + description="Default Output of the Derived Column Transformation" + exclusionGroup="1" + name="Derived Column Output" + synchronousInputId="Package\Load Land Parcel\SURPLUS_DECLARATION_TYPE_CODE.Inputs[Derived Column Input]"> - - - - - - - - - + length="7" + lineageId="Package\Load Land Parcel\SURPLUS_DECLARATION_TYPE_CODE.Outputs[Derived Column Output].Columns[SURPLUS_DELCARATION_TYPE_CODE]" + name="SURPLUS_DELCARATION_TYPE_CODE" + truncationRowDisposition="FailComponent"> + + "UNKNOWN" + "UNKNOWN" + + + + + + + + refId="Package\Load Land Parcel\SURPLUS_DECLARATION_TYPE_CODE.Outputs[Derived Column Error Output].Columns[ErrorCode]" + dataType="i4" + lineageId="Package\Load Land Parcel\SURPLUS_DECLARATION_TYPE_CODE.Outputs[Derived Column Error Output].Columns[ErrorCode]" + name="ErrorCode" + specialFlags="1" /> + refId="Package\Load Land Parcel\SURPLUS_DECLARATION_TYPE_CODE.Outputs[Derived Column Error Output].Columns[ErrorColumn]" + dataType="i4" + lineageId="Package\Load Land Parcel\SURPLUS_DECLARATION_TYPE_CODE.Outputs[Derived Column Error Output].Columns[ErrorColumn]" + name="ErrorColumn" + specialFlags="2" /> + + + + + + + + + + + + + + - - - + length="7" + lineageId="Package\Load Land Parcel\TM as PROPERTY_TENURE_TYPE_CODE.Outputs[Derived Column Output].Columns[PROPERTY_TENURE_TYPE_CODE]" + name="PROPERTY_TENURE_TYPE_CODE" + truncationRowDisposition="FailComponent"> + + "UNKNOWN" + "UNKNOWN" + + + + + + + + refId="Package\Load Land Parcel\TM as PROPERTY_TENURE_TYPE_CODE.Outputs[Derived Column Error Output].Columns[ErrorCode]" + dataType="i4" + lineageId="Package\Load Land Parcel\TM as PROPERTY_TENURE_TYPE_CODE.Outputs[Derived Column Error Output].Columns[ErrorCode]" + name="ErrorCode" + specialFlags="1" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -38023,5078 +27281,4133 @@ FROM PAM_AGENT_ASSIGNMENT acq + refId="Package\Load Land Parcel\Union All" + componentClassID="Microsoft.UnionAll" + contactInfo="Union All;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;1" + description="Combines rows from multiple data flows without sorting. For example, add rows back to a data flow after correction of errors. If sorting is important, we recommend using the Merge transformation." + name="Union All" + version="1"> - - - - - - - + refId="Package\Load Land Parcel\Union All.Inputs[Union All Input 1]" + name="Union All Input 1"> + + (DT_I2)1 - (DT_I2)1 + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_PARCEL_ID]} - - + + (DT_I2)1 - (DT_I2)1 + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_PARCEL_CODE]} - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_PROVINCE_STATE] - select * from (select * from [dbo].[PIMS_PROVINCE_STATE]) [refTable] -where [refTable].[PROVINCE_STATE_CODE] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISPLAY_ORDER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Acquisition Persons and Organizations\Data Conversion 1.Outputs[Data Conversion Output].Columns[Copy of PROVINCE]}; - 1252 - false - - - - - - - + + cachedLength="100" + cachedName="CIVIC_ADDRESS" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[CIVIC_ADDRESS]"> PROVINCE_STATE_CODE - + containsID="true" + dataType="System.Int32" + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} - - - - - - - - - - COUNTRY_ID - - - - - PROVINCE_STATE_ID - - - - - - - - - - - - - - - - - - - - true - -1 - - - - + cachedName="DISTRICT_NO" + cachedPrecision="2" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[DISTRICT_NO]"> 0 - 1 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[DISTRICT_NO]} + cachedLength="30" + cachedName="LAND_USE_DESCRIPTION" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[LAND_USE_DESCRIPTION]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_USE_DESCRIPTION]} + cachedLength="2000" + cachedName="FULL_LEGAL_DESCRIPTION" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[FULL_LEGAL_DESCRIPTION]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[FULL_LEGAL_DESCRIPTION]} + refId="Package\Load Land Parcel\Union All.Inputs[Union All Input 1].Columns[PID_NO]" + cachedDataType="numeric" + cachedName="PID_NO" + cachedPrecision="9" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[PID_NO]"> 0 - 4 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PID_NO]} + cachedLength="9" + cachedName="TITLE_NO" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[TITLE_NO]"> 0 - 5 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TITLE_NO]} + cachedName="CITY" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[CITY]"> 0 - 2 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[CITY]} + cachedLength="30" + cachedName="ROLL_NO" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[ROLL_NO]"> 0 - 3 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ROLL_NO]} + refId="Package\Load Land Parcel\Union All.Inputs[Union All Input 1].Columns[TOTAL_PARCEL_AREA]" + cachedDataType="numeric" + cachedName="TOTAL_PARCEL_AREA" + cachedPrecision="8" + cachedScale="4" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[TOTAL_PARCEL_AREA]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TOTAL_PARCEL_AREA]} + refId="Package\Load Land Parcel\Union All.Inputs[Union All Input 1].Columns[ELECTORAL_DISTRICT_NO]" + cachedDataType="numeric" + cachedName="ELECTORAL_DISTRICT_NO" + cachedPrecision="2" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[ELECTORAL_DISTRICT_NO]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ELECTORAL_DISTRICT_NO]} + cachedName="LAND_DISTRICT_NO" + cachedPrecision="4" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[LAND_DISTRICT_NO]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_DISTRICT_NO]} + cachedLength="9" + cachedName="PLAN_NO" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[PLAN_NO]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PLAN_NO]} + cachedLength="8" + cachedName="DISTRICT_LOT" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[DISTRICT_LOT]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[DISTRICT_LOT]} + cachedLength="4" + cachedName="BLOCK_NO" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[BLOCK_NO]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[BLOCK_NO]} + cachedName="LEGAL_SUBDIVISION_NO" + cachedPrecision="2" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[LEGAL_SUBDIVISION_NO]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LEGAL_SUBDIVISION_NO]} + cachedLength="4" + cachedName="LOT_NO" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[LOT_NO]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LOT_NO]} + refId="Package\Load Land Parcel\Union All.Inputs[Union All Input 1].Columns[SUBLOT_NO]" + cachedDataType="wstr" + cachedLength="5" + cachedName="SUBLOT_NO" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[SUBLOT_NO]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[SUBLOT_NO]} + refId="Package\Load Land Parcel\Union All.Inputs[Union All Input 1].Columns[QUADRANT]" + cachedDataType="wstr" + cachedLength="3" + cachedName="QUADRANT" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[QUADRANT]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[QUADRANT]} + refId="Package\Load Land Parcel\Union All.Inputs[Union All Input 1].Columns[SECTION]" + cachedDataType="wstr" + cachedLength="10" + cachedName="SECTION" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[SECTION]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[SECTION]} + cachedLength="3" + cachedName="TOWNSHIP" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[TOWNSHIP]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TOWNSHIP]} + cachedLength="10" + cachedName="LAND_TITLES_RANGE" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[LAND_TITLES_RANGE]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_TITLES_RANGE]} + cachedLength="3" + cachedName="MERIDIAN" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[MERIDIAN]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[MERIDIAN]} + cachedLength="2" + cachedName="GROUP_NO" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[GROUP_NO]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[GROUP_NO]} + cachedLength="40" + cachedName="BAND_NAME" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[BAND_NAME]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[BAND_NAME]} + refId="Package\Load Land Parcel\Union All.Inputs[Union All Input 1].Columns[RESERVE_NAME]" + cachedDataType="wstr" + cachedLength="40" + cachedName="RESERVE_NAME" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[RESERVE_NAME]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[RESERVE_NAME]} + refId="Package\Load Land Parcel\Union All.Inputs[Union All Input 1].Columns[RESERVE_DESCRIPTION]" + cachedDataType="wstr" + cachedLength="20" + cachedName="RESERVE_DESCRIPTION" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[RESERVE_DESCRIPTION]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[RESERVE_DESCRIPTION]} + cachedName="PIN" + cachedPrecision="9" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[PIN]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PIN]} + cachedLength="1" + cachedName="SURVEYED_FLAG" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[SURVEYED_FLAG]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[SURVEYED_FLAG]} - - - - - - - - + #{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[PAIMS_ACQUISITION_FILE_ID]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[RAIL_BELT_NO]} - - + + #{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_ACQ_FL_PERSON_PROFILE_TYPE_CODE]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[INSIDE_RAIL_BELT_FLAG]} - - + + #{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_FIRST_NAME_SURNAME]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TUBE_NO]} - - + + #{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_COMMENT_ID]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TOPOGRAPHY_CODE]} - - + + #{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_COMMENT_ORG]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ISLAND]} - - + + #{Package\Load Acquisition Persons and Organizations\FirstName, Surname1.Outputs[Derived Column Output].Columns[FirstName]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ACTUAL_LAND_USE_CODE]} - - + + #{Package\Load Acquisition Persons and Organizations\FirstName, Surname1.Outputs[Derived Column Output].Columns[SurName]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[HIGHEST_BEST_USE_ACQUISITION]} - - + + #{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} - - + + #{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[ACQUISITION_TYPE_CODE]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} - - + + #{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[REGION_CODE]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} - - + + #{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[MINISTRY_PROJECT_NUMBER]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - + + #{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[MINISTRY_PROJECT_NAME]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ADDRESS_ID]} - - + + #{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[FILE_NAME]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[REGION_CODE]} - - + + #{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[FILE_NO]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} - - + + #{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[FILE_NUMBER]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} - - + + #{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[ASSIGNED_DATE]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - + + #{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[DELIVERY_DATE]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_AREA]} - - + + + + + + + #{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_PERSON_REGION]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_PARCEL_ID]} - - + + #{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_STREET_ADDRESS_1]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_PARCEL_CODE]} - - + + #{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_STREET_ADDRESS_2]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} - - + + #{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_MUNICIPALITY_NAME]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[DISTRICT_NO]} - - + + #{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_POSTAL_CODE]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_USE_DESCRIPTION]} - - + + #{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_PROVINCE]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[FULL_LEGAL_DESCRIPTION]} - - + + #{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_WORKPHONE]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PID_NO]} - - + + #{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_WORKMOBIL]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TITLE_NO]} - - + + #{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_FAX]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[CITY]} - - + + #{Package\Load Acquisition Persons and Organizations\Property Coordinator.Outputs[OLE DB Source Output].Columns[PROP_COORD_WORKEMAIL]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ROLL_NO]} - - - - - - - - - true - -1 - - - - + + cachedName="TOTAL_PARCEL_AREA" + cachedPrecision="8" + cachedScale="4" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[TOTAL_PARCEL_AREA]"> 0 - 1 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TOTAL_PARCEL_AREA]} + refId="Package\Load Land Parcel\Union All.Inputs[Union All Input 3].Columns[ELECTORAL_DISTRICT_NO]" + cachedDataType="numeric" + cachedName="ELECTORAL_DISTRICT_NO" + cachedPrecision="2" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[ELECTORAL_DISTRICT_NO]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ELECTORAL_DISTRICT_NO]} + refId="Package\Load Land Parcel\Union All.Inputs[Union All Input 3].Columns[LAND_DISTRICT_NO]" + cachedDataType="numeric" + cachedName="LAND_DISTRICT_NO" + cachedPrecision="4" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[LAND_DISTRICT_NO]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_DISTRICT_NO]} + cachedLength="9" + cachedName="PLAN_NO" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[PLAN_NO]"> 0 - 4 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PLAN_NO]} + cachedLength="8" + cachedName="DISTRICT_LOT" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[DISTRICT_LOT]"> 0 - 5 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[DISTRICT_LOT]} + cachedLength="4" + cachedName="BLOCK_NO" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[BLOCK_NO]"> 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[BLOCK_NO]} + + + + 2 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LEGAL_SUBDIVISION_NO]} + cachedLength="4" + cachedName="LOT_NO" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[LOT_NO]"> 0 - 3 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LOT_NO]} + cachedLength="5" + cachedName="SUBLOT_NO" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[SUBLOT_NO]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[SUBLOT_NO]} + cachedLength="3" + cachedName="QUADRANT" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[QUADRANT]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[QUADRANT]} + refId="Package\Load Land Parcel\Union All.Inputs[Union All Input 3].Columns[SECTION]" + cachedDataType="wstr" + cachedLength="10" + cachedName="SECTION" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[SECTION]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[SECTION]} + cachedLength="3" + cachedName="TOWNSHIP" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[TOWNSHIP]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TOWNSHIP]} + cachedLength="10" + cachedName="LAND_TITLES_RANGE" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[LAND_TITLES_RANGE]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_TITLES_RANGE]} + cachedLength="3" + cachedName="MERIDIAN" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[MERIDIAN]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[MERIDIAN]} + refId="Package\Load Land Parcel\Union All.Inputs[Union All Input 3].Columns[GROUP_NO]" + cachedDataType="wstr" + cachedLength="2" + cachedName="GROUP_NO" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[GROUP_NO]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[GROUP_NO]} + cachedLength="40" + cachedName="BAND_NAME" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[BAND_NAME]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[BAND_NAME]} + refId="Package\Load Land Parcel\Union All.Inputs[Union All Input 3].Columns[RESERVE_NAME]" + cachedDataType="wstr" + cachedLength="40" + cachedName="RESERVE_NAME" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[RESERVE_NAME]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[RESERVE_NAME]} + refId="Package\Load Land Parcel\Union All.Inputs[Union All Input 3].Columns[RESERVE_DESCRIPTION]" + cachedDataType="wstr" + cachedLength="20" + cachedName="RESERVE_DESCRIPTION" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[RESERVE_DESCRIPTION]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[RESERVE_DESCRIPTION]} + cachedName="PIN" + cachedPrecision="9" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[PIN]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PIN]} + cachedLength="1" + cachedName="SURVEYED_FLAG" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[SURVEYED_FLAG]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[SURVEYED_FLAG]} + refId="Package\Load Land Parcel\Union All.Inputs[Union All Input 3].Columns[RAIL_BELT_NO]" + cachedDataType="numeric" + cachedName="RAIL_BELT_NO" + cachedPrecision="12" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[RAIL_BELT_NO]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[RAIL_BELT_NO]} + cachedLength="1" + cachedName="INSIDE_RAIL_BELT_FLAG" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[INSIDE_RAIL_BELT_FLAG]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[INSIDE_RAIL_BELT_FLAG]} + cachedLength="7" + cachedName="TUBE_NO" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[TUBE_NO]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TUBE_NO]} + cachedLength="3" + cachedName="TOPOGRAPHY_CODE" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[TOPOGRAPHY_CODE]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TOPOGRAPHY_CODE]} + refId="Package\Load Land Parcel\Union All.Inputs[Union All Input 3].Columns[ISLAND]" + cachedDataType="wstr" + cachedLength="15" + cachedName="ISLAND" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[ISLAND]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ISLAND]} + refId="Package\Load Land Parcel\Union All.Inputs[Union All Input 3].Columns[ACTUAL_LAND_USE_CODE]" + cachedDataType="wstr" + cachedLength="2" + cachedName="ACTUAL_LAND_USE_CODE" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[ACTUAL_LAND_USE_CODE]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ACTUAL_LAND_USE_CODE]} + refId="Package\Load Land Parcel\Union All.Inputs[Union All Input 3].Columns[HIGHEST_BEST_USE_ACQUISITION]" + cachedDataType="wstr" + cachedLength="40" + cachedName="HIGHEST_BEST_USE_ACQUISITION" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[HIGHEST_BEST_USE_ACQUISITION]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[HIGHEST_BEST_USE_ACQUISITION]} + refId="Package\Load Land Parcel\Union All.Inputs[Union All Input 3].Columns[LAST_UPDATE_DATETIME]" + cachedDataType="dbTimeStamp" + cachedName="LAST_UPDATE_DATETIME" + lineageId="Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[LAST_UPDATE_DATETIME]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} - - - - - - - - + #{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[PAIMS_ACQUISITION_FILE_ID]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} - - + + #{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} - - + + #{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_FIRST_NAME_SURNAME]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - + + #{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_COMMENT_ID]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ADDRESS_ID]} - - + + #{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_COMMENT_ORG]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[REGION_CODE]} - - + + #{Package\Load Acquisition Persons and Organizations\FirstName, SurName2.Outputs[Derived Column Output].Columns[FirstName]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} - - + + #{Package\Load Acquisition Persons and Organizations\FirstName, SurName2.Outputs[Derived Column Output].Columns[SurName]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} - - + + #{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_AREA]} - - + + #{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[ACQUISITION_TYPE_CODE]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - + + + + + + + + + + + - - #{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[REGION_CODE]} - - + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_PARCEL_ID]" + name="LAND_PARCEL_ID" + precision="10" /> - - #{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[MINISTRY_PROJECT_NUMBER]} - - + length="1" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_PARCEL_CODE]" + name="LAND_PARCEL_CODE" /> - - #{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[MINISTRY_PROJECT_NAME]} - - + length="100" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]" + name="CIVIC_ADDRESS" /> + + + + + - - #{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[FILE_NAME]} - - + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[CITY]" + name="CITY" /> + - - #{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[FILE_NO]} - - + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TOTAL_PARCEL_AREA]" + name="TOTAL_PARCEL_AREA" + precision="8" + scale="4" /> + + - - #{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[FILE_NUMBER]} - - + length="9" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PLAN_NO]" + name="PLAN_NO" /> - - #{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[ASSIGNED_DATE]} - - + refId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[DISTRICT_LOT]" + dataType="wstr" + length="8" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[DISTRICT_LOT]" + name="DISTRICT_LOT" /> - - #{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[DELIVERY_DATE]} - - + refId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[BLOCK_NO]" + dataType="wstr" + length="4" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[BLOCK_NO]" + name="BLOCK_NO" /> - - #{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_PERSON_REGION]} - - + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LEGAL_SUBDIVISION_NO]" + name="LEGAL_SUBDIVISION_NO" + precision="2" /> - - #{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_STREET_ADDRESS_1]} - - + length="4" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LOT_NO]" + name="LOT_NO" /> - - #{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_STREET_ADDRESS_2]} - - + length="5" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[SUBLOT_NO]" + name="SUBLOT_NO" /> - - #{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_MUNICIPALITY_NAME]} - - + length="3" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[QUADRANT]" + name="QUADRANT" /> - - #{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_POSTAL_CODE]} - - + length="10" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[SECTION]" + name="SECTION" /> - - #{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_PROVINCE]} - - + length="3" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TOWNSHIP]" + name="TOWNSHIP" /> - - #{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_WORKPHONE]} - - + refId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_TITLES_RANGE]" + dataType="wstr" + length="10" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_TITLES_RANGE]" + name="LAND_TITLES_RANGE" /> - - #{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_WORKMOBIL]} - - + refId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[MERIDIAN]" + dataType="wstr" + length="3" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[MERIDIAN]" + name="MERIDIAN" /> - - #{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_FAX]} - - + refId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[GROUP_NO]" + dataType="wstr" + length="2" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[GROUP_NO]" + name="GROUP_NO" /> - - #{Package\Load Acquisition Persons and Organizations\Expropriation agent.Outputs[OLE DB Source Output].Columns[EXP_AGT_WORKEMAIL]} - - + length="40" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[BAND_NAME]" + name="BAND_NAME" /> + + + + + + + + + + + + + + + + + + + + + - - true - -1 - + refId="Package\Load Land Parcel\Union All 1.Inputs[Union All Input 1]" + name="Union All Input 1"> + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_PARCEL_ID]"> 0 - 1 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LAND_PARCEL_ID]} + cachedLength="1" + cachedName="LAND_PARCEL_CODE" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_PARCEL_CODE]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LAND_PARCEL_CODE]} + cachedLength="100" + cachedName="CIVIC_ADDRESS" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]"> 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} + + + + 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[DISTRICT_NO]} + cachedLength="30" + cachedName="LAND_USE_DESCRIPTION" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_USE_DESCRIPTION]"> 0 - 4 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LAND_USE_DESCRIPTION]} + cachedLength="2000" + cachedName="FULL_LEGAL_DESCRIPTION" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[FULL_LEGAL_DESCRIPTION]"> 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[FULL_LEGAL_DESCRIPTION]} + + + + 5 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PID_NO]} + cachedLength="9" + cachedName="TITLE_NO" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TITLE_NO]"> 0 - 2 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[TITLE_NO]} + cachedName="CITY" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[CITY]"> 0 - 3 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[CITY]} + cachedLength="30" + cachedName="ROLL_NO" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ROLL_NO]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[ROLL_NO]} + refId="Package\Load Land Parcel\Union All 1.Inputs[Union All Input 1].Columns[TOTAL_PARCEL_AREA]" + cachedDataType="numeric" + cachedName="TOTAL_PARCEL_AREA" + cachedPrecision="8" + cachedScale="4" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TOTAL_PARCEL_AREA]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[TOTAL_PARCEL_AREA]} + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ELECTORAL_DISTRICT_NO]"> 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[ELECTORAL_DISTRICT_NO]} + + + + 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LAND_DISTRICT_NO]} + cachedLength="9" + cachedName="PLAN_NO" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PLAN_NO]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PLAN_NO]} + cachedLength="8" + cachedName="DISTRICT_LOT" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[DISTRICT_LOT]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[DISTRICT_LOT]} + cachedLength="4" + cachedName="BLOCK_NO" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[BLOCK_NO]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[BLOCK_NO]} + cachedName="LEGAL_SUBDIVISION_NO" + cachedPrecision="2" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LEGAL_SUBDIVISION_NO]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LEGAL_SUBDIVISION_NO]} + cachedLength="4" + cachedName="LOT_NO" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LOT_NO]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LOT_NO]} + refId="Package\Load Land Parcel\Union All 1.Inputs[Union All Input 1].Columns[SUBLOT_NO]" + cachedDataType="wstr" + cachedLength="5" + cachedName="SUBLOT_NO" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[SUBLOT_NO]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[SUBLOT_NO]} + refId="Package\Load Land Parcel\Union All 1.Inputs[Union All Input 1].Columns[QUADRANT]" + cachedDataType="wstr" + cachedLength="3" + cachedName="QUADRANT" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[QUADRANT]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[QUADRANT]} + refId="Package\Load Land Parcel\Union All 1.Inputs[Union All Input 1].Columns[SECTION]" + cachedDataType="wstr" + cachedLength="10" + cachedName="SECTION" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[SECTION]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[SECTION]} + cachedLength="3" + cachedName="TOWNSHIP" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TOWNSHIP]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[TOWNSHIP]} + cachedLength="10" + cachedName="LAND_TITLES_RANGE" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_TITLES_RANGE]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LAND_TITLES_RANGE]} + cachedLength="3" + cachedName="MERIDIAN" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[MERIDIAN]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[MERIDIAN]} + cachedLength="2" + cachedName="GROUP_NO" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[GROUP_NO]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[GROUP_NO]} + cachedLength="40" + cachedName="BAND_NAME" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[BAND_NAME]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[BAND_NAME]} + refId="Package\Load Land Parcel\Union All 1.Inputs[Union All Input 1].Columns[RESERVE_NAME]" + cachedDataType="wstr" + cachedLength="40" + cachedName="RESERVE_NAME" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[RESERVE_NAME]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[RESERVE_NAME]} + refId="Package\Load Land Parcel\Union All 1.Inputs[Union All Input 1].Columns[RESERVE_DESCRIPTION]" + cachedDataType="wstr" + cachedLength="20" + cachedName="RESERVE_DESCRIPTION" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[RESERVE_DESCRIPTION]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[RESERVE_DESCRIPTION]} + cachedName="PIN" + cachedPrecision="9" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PIN]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PIN]} + cachedLength="1" + cachedName="SURVEYED_FLAG" + lineageId="Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[SURVEYED_FLAG]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[SURVEYED_FLAG]} - - - - - - - - + #{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[PAIMS_ACQUISITION_FILE_ID]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[RAIL_BELT_NO]} - - + + #{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_ACQ_FL_PERSON_PROFILE_TYPE_CODE]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[INSIDE_RAIL_BELT_FLAG]} - - + + #{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_FIRST_NAME_SURNAME]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[TUBE_NO]} - - + + #{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_COMMENT_ID]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[TOPOGRAPHY_CODE]} - - + + #{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_COMMENT_ORG]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[ISLAND]} - - + + #{Package\Load Acquisition Persons and Organizations\FirstName, SurName.Outputs[Derived Column Output].Columns[FirstName]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[ACTUAL_LAND_USE_CODE]} - - + + #{Package\Load Acquisition Persons and Organizations\FirstName, SurName.Outputs[Derived Column Output].Columns[SurName]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[HIGHEST_BEST_USE_ACQUISITION]} - - + + #{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} - - + + #{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[ACQUISITION_TYPE_CODE]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} - - + + #{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[REGION_CODE]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} - - + + #{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[MINISTRY_PROJECT_NUMBER]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - + + #{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[MINISTRY_PROJECT_NAME]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[ADDRESS_ID]} - - + + #{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[FILE_NAME]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[REGION_CODE]} - - + + #{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[FILE_NO]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} - - + + #{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[FILE_NUMBER]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} - - + + #{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[ASSIGNED_DATE]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - + + #{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[DELIVERY_DATE]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LAND_AREA]} - - + + #{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_PERSON_REGION]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} - - + + #{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_STREET_ADDRESS_1]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[Copy of PID_NO]} - - + + #{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_STREET_ADDRESS_2]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_DATA_SOURCE_TYPE_CODE]} - - + + #{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_MUNICIPALITY_NAME]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_DATA_SOURCE_EFFECTIVE_DATE]} - - + + #{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_POSTAL_CODE]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_STATUS_TYPE_CODE]} - - + + #{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_PROVINCE]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PPH_STATUS_TYPE_CODE]} - - + + #{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_WORKPHONE]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[SURPLUS_DELCARATION_TYPE_CODE]} - - + + #{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_WORKMOBIL]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[APP_CREATE_USERID]} - - + + #{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_FAX]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[APP_CREATE_USER_DIRECTORY]} - - + + #{Package\Load Acquisition Persons and Organizations\Negotiation agent.Outputs[OLE DB Source Output].Columns[NEG_AGT_WORKEMAIL]} + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[APP_LAST_UPDATE_USERID]} - - - - - - - - - true - -1 - - - - + + refId="Package\Load Land Parcel\Union All 1.Inputs[Union All Input 1].Columns[APP_LAST_UPDATE_USER_DIRECTORY]" + cachedDataType="wstr" + cachedLength="12" + cachedName="APP_LAST_UPDATE_USER_DIRECTORY" + lineageId="Package\Load Land Parcel\Audit Trail.Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[APP_LAST_UPDATE_USER_DIRECTORY]} + cachedLength="5" + cachedName="IS_OWNED" + lineageId="Package\Load Land Parcel\Audit Trail.Outputs[Derived Column Output].Columns[IS_OWNED]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[IS_OWNED]} + cachedLength="5" + cachedName="IS_PROPERTY_OF_INTEREST" + lineageId="Package\Load Land Parcel\Audit Trail.Outputs[Derived Column Output].Columns[IS_PROPERTY_OF_INTEREST]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[IS_PROPERTY_OF_INTEREST]} + cachedLength="5" + cachedName="IS_VISIBLE_TO_OTHER_AGENCIES" + lineageId="Package\Load Land Parcel\Audit Trail.Outputs[Derived Column Output].Columns[IS_VISIBLE_TO_OTHER_AGENCIES]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[IS_VISIBLE_TO_OTHER_AGENCIES]} - - 0 - 0 - - - - - 0 - 1 - - - - - 0 - 2 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - + cachedLength="5" + cachedName="IS_SENSITIVE" + lineageId="Package\Load Land Parcel\Audit Trail.Outputs[Derived Column Output].Columns[IS_SENSITIVE]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[IS_SENSITIVE]} - - 0 - 0 - - - + cachedLength="4" + cachedName="ENCUMBRANCE_REASON" + lineageId="Package\Load Land Parcel\Audit Trail.Outputs[Derived Column Output].Columns[ENCUMBRANCE_REASON]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[ENCUMBRANCE_REASON]} + cachedLength="30" + cachedName="ZONING_POTENTIAL" + lineageId="Package\Load Land Parcel\Audit Trail.Outputs[Derived Column Output].Columns[ZONING_POTENTIAL]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} + cachedName="EFFECTIVE_DATE_HIST" + lineageId="Package\Load Land Parcel\Audit Trail.Outputs[Derived Column Output].Columns[EFFECTIVE_DATE_HIST]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[EFFECTIVE_DATE_HIST]} - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - + cachedName="APP_CREATE_TIMESTAMP" + lineageId="Package\Load Land Parcel\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_TIMESTAMP]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[APP_CREATE_TIMESTAMP]} + refId="Package\Load Land Parcel\Union All 1.Inputs[Union All Input 1].Columns[APP_LAST_UPDATE_TIMESTAMP]" + cachedDataType="dbTimeStamp" + cachedName="APP_LAST_UPDATE_TIMESTAMP" + lineageId="Package\Load Land Parcel\Audit Trail.Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_TIMESTAMP]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[APP_LAST_UPDATE_TIMESTAMP]} + refId="Package\Load Land Parcel\Union All 1.Inputs[Union All Input 1].Columns[DB_CREATE_TIMESTAMP]" + cachedDataType="dbTimeStamp" + cachedName="DB_CREATE_TIMESTAMP" + lineageId="Package\Load Land Parcel\Audit Trail.Outputs[Derived Column Output].Columns[DB_CREATE_TIMESTAMP]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[DB_CREATE_TIMESTAMP]} - - 0 - 0 - - - + cachedLength="23" + cachedName="DB_CREATE_USERID" + lineageId="Package\Load Land Parcel\Audit Trail.Outputs[Derived Column Output].Columns[DB_CREATE_USERID]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[DB_CREATE_USERID]} + refId="Package\Load Land Parcel\Union All 1.Inputs[Union All Input 1].Columns[DB_LAST_UPDATE_TIMESTAMP]" + cachedDataType="dbTimeStamp" + cachedName="DB_LAST_UPDATE_TIMESTAMP" + lineageId="Package\Load Land Parcel\Audit Trail.Outputs[Derived Column Output].Columns[DB_LAST_UPDATE_TIMESTAMP]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[DB_LAST_UPDATE_TIMESTAMP]} + cachedName="DB_LAST_UPDATE_USERID" + lineageId="Package\Load Land Parcel\Audit Trail.Outputs[Derived Column Output].Columns[DB_LAST_UPDATE_USERID]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[DB_LAST_UPDATE_USERID]} + refId="Package\Load Land Parcel\Union All 1.Inputs[Union All Input 1].Columns[CONCURRENCY_CONTROL_NUMBER]" + cachedDataType="i4" + cachedName="CONCURRENCY_CONTROL_NUMBER" + lineageId="Package\Load Land Parcel\Audit Trail.Outputs[Derived Column Output].Columns[CONCURRENCY_CONTROL_NUMBER]"> 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[CONCURRENCY_CONTROL_NUMBER]} + refId="Package\Load Land Parcel\Union All 1.Inputs[Union All Input 1].Columns[PROPERTY_ID]" + cachedDataType="i8" + cachedName="PROPERTY_ID" + lineageId="Package\Load Land Parcel\Filter exsiting properties from PIMS_PROPERTY.Outputs[Lookup Match Output].Columns[PROPERTY_ID]"> 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 + description="Output column lineage ID" + name="OutputColumnLineageID">#{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_ID]} + + + + refId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1]" + name="Union All Output 1"> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} - - + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LAND_PARCEL_ID]" + name="LAND_PARCEL_ID" + precision="10" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PERSON_PROFILE_TYPE_CODE]} - - + length="1" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LAND_PARCEL_CODE]" + name="LAND_PARCEL_CODE" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME_SURNAME]} - - + length="100" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]" + name="CIVIC_ADDRESS" /> + - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PERSON_COMMENT_ID]} - - + length="30" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LAND_USE_DESCRIPTION]" + name="LAND_USE_DESCRIPTION" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PERSON_COMMENT_ORG]} - - + length="2000" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[FULL_LEGAL_DESCRIPTION]" + name="FULL_LEGAL_DESCRIPTION" /> + - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FirstName]} - - + length="9" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[TITLE_NO]" + name="TITLE_NO" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[SurName]} - - + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[CITY]" + name="CITY" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} - - + length="30" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[ROLL_NO]" + name="ROLL_NO" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ACQUISITION_TYPE_CODE]} - - + refId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[TOTAL_PARCEL_AREA]" + dataType="numeric" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[TOTAL_PARCEL_AREA]" + name="TOTAL_PARCEL_AREA" + precision="8" + scale="4" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[REGION_CODE]} - - + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[ELECTORAL_DISTRICT_NO]" + name="ELECTORAL_DISTRICT_NO" + precision="2" /> + - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NUMBER]} - - + length="9" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PLAN_NO]" + name="PLAN_NO" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NAME]} - - + length="8" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[DISTRICT_LOT]" + name="DISTRICT_LOT" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FILE_NAME]} - - + length="4" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[BLOCK_NO]" + name="BLOCK_NO" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FILE_NO]} - - + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LEGAL_SUBDIVISION_NO]" + name="LEGAL_SUBDIVISION_NO" + precision="2" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - + length="4" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LOT_NO]" + name="LOT_NO" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ASSIGNED_DATE]} - - + refId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[SUBLOT_NO]" + dataType="wstr" + length="5" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[SUBLOT_NO]" + name="SUBLOT_NO" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[DELIVERY_DATE]} - - + refId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[QUADRANT]" + dataType="wstr" + length="3" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[QUADRANT]" + name="QUADRANT" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PERSON_REGION]} - - + refId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[SECTION]" + dataType="wstr" + length="10" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[SECTION]" + name="SECTION" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} - - + length="3" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[TOWNSHIP]" + name="TOWNSHIP" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} - - + length="10" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LAND_TITLES_RANGE]" + name="LAND_TITLES_RANGE" /> + + - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[BAND_NAME]" + name="BAND_NAME" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[POSTAL_CODE]} - - + length="40" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[RESERVE_NAME]" + name="RESERVE_NAME" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]} - - + length="20" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[RESERVE_DESCRIPTION]" + name="RESERVE_DESCRIPTION" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[WORKPHONE]} - - + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PIN]" + name="PIN" + precision="9" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[WORKMOBIL]} - - + refId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[SURVEYED_FLAG]" + dataType="wstr" + length="1" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[SURVEYED_FLAG]" + name="SURVEYED_FLAG" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FAX]} - - + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[RAIL_BELT_NO]" + name="RAIL_BELT_NO" + precision="12" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[WORKEMAIL]} - - + length="1" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[INSIDE_RAIL_BELT_FLAG]" + name="INSIDE_RAIL_BELT_FLAG" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of STREET_ADDRESS_1]} - - + length="7" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[TUBE_NO]" + name="TUBE_NO" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of STREET_ADDRESS_2]} - - + length="3" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[TOPOGRAPHY_CODE]" + name="TOPOGRAPHY_CODE" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of FirstName]} - - + length="15" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[ISLAND]" + name="ISLAND" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of SurName]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of PERSON_REGION]} - - + length="2" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[ACTUAL_LAND_USE_CODE]" + name="ACTUAL_LAND_USE_CODE" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of MUNICIPALITY_NAME]} - - + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[HIGHEST_BEST_USE_ACQUISITION]" + name="HIGHEST_BEST_USE_ACQUISITION" /> + - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of PAIMS_ACQUISITION_FILE_ID]} - - + length="30" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]" + name="LAST_UPDATE_USERID" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of PROVINCE]} - - + length="4" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]" + name="PROPERTY_TYPE_CODE" /> + + - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Province_State_Code]} - - + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[REGION_CODE]" + name="REGION_CODE" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Country_ID]} - - + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[DISTRICT_CODE]" + name="DISTRICT_CODE" /> - - #{Package\Load Acquisition Persons and Organizations\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]} - - + length="7" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]" + name="PROPERTY_TENURE_TYPE_CODE" /> - - #{Package\Load Acquisition Persons and Organizations\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} - - + length="20" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]" + name="PROPERTY_AREA_UNIT_TYPE_CODE" /> + - - #{Package\Load Acquisition Persons and Organizations\Audit Trail.Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USERID]} - - + length="2" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]" + name="FILE_NUMBER_SUFFIX" /> + - - #{Package\Load Acquisition Persons and Organizations\Audit Trail.Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]} - - + length="5" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_DATA_SOURCE_TYPE_CODE]" + name="PROPERTY_DATA_SOURCE_TYPE_CODE" /> + + + + - - #{Package\Load Acquisition Persons and Organizations\Audit Trail.Outputs[Derived Column Output].Columns[DB_CREATE_USERID]} - - + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[APP_CREATE_USERID]" + name="APP_CREATE_USERID" /> + - - #{Package\Load Acquisition Persons and Organizations\Audit Trail.Outputs[Derived Column Output].Columns[DB_LAST_UPDATE_USERID]} - - + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[APP_LAST_UPDATE_USERID]" + name="APP_LAST_UPDATE_USERID" /> - - #{Package\Load Acquisition Persons and Organizations\Audit Trail.Outputs[Derived Column Output].Columns[Comment]} - - + length="12" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[APP_LAST_UPDATE_USER_DIRECTORY]" + name="APP_LAST_UPDATE_USER_DIRECTORY" /> + + + + + + + + + + + + + + + + refId="Package\Load Land Parcel\UPDATE PIMS_PROPERTY_HIST" + componentClassID="Microsoft.OLEDBCommand" + contactInfo="OLE DB Command;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;2" + description="Runs an SQL statement for each row in a data flow. For example, call a 'new employee setup' stored procedure for each row in the 'new employees' table. Note: running an SQL statement for each row of a large data flow may take a long time." + name="UPDATE PIMS_PROPERTY_HIST" + usesDispositions="true" + version="2"> - true 0 + -1 + name="SqlCommand" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update PIMS_PROPERTY_HIST +set PROPERTY_ID =?, +PROPERTY_TYPE_CODE =?, +PROPERTY_CLASSIFICATION_TYPE_CODE =?, +ADDRESS_ID=?, +REGION_CODE=?, +DISTRICT_CODE=?, +PROPERTY_AREA_UNIT_TYPE_CODE=?, +PROPERTY_STATUS_TYPE_CODE=?, +SURPLUS_DECLARATION_TYPE_CODE=?, +PROPERTY_DATA_SOURCE_TYPE_CODE=?, +PROPERTY_DATA_SOURCE_EFFECTIVE_DATE=?, +NAME =?, +DESCRIPTION=?, +PIN=?, +LAND_AREA=?, +ENCUMBRANCE_REASON=?, +IS_OWNED=?, +IS_PROPERTY_OF_INTEREST=?, +IS_VISIBLE_TO_OTHER_AGENCIES=?, +IS_SENSITIVE=?, +ZONING=?, +ZONING_POTENTIAL=?, +CONCURRENCY_CONTROL_NUMBER=?, +APP_CREATE_TIMESTAMP=?, +APP_CREATE_USERID=?, +PID=?, +APP_LAST_UPDATE_TIMESTAMP=?, +APP_LAST_UPDATE_USERID=?, +APP_LAST_UPDATE_USER_DIRECTORY=?, +DB_CREATE_TIMESTAMP=?, +DB_CREATE_USERID=?, +DB_LAST_UPDATE_TIMESTAMP=?, +DB_LAST_UPDATE_USERID=?, +PPH_STATUS_TYPE_CODE=?, +APP_CREATE_USER_DIRECTORY=? + 1252 + + + + refId="Package\Load Land Parcel\UPDATE PIMS_PROPERTY_HIST.Inputs[OLE DB Command Input]" + errorOrTruncationOperation="Command Execution" + errorRowDisposition="RedirectRow" + hasSideEffects="true" + name="OLE DB Command Input"> - - 0 - 0 - - + refId="Package\Load Land Parcel\UPDATE PIMS_PROPERTY_HIST.Inputs[OLE DB Command Input].Columns[PROPERTY_ID]" + cachedDataType="i8" + cachedName="PROPERTY_ID" + externalMetadataColumnId="Package\Load Land Parcel\UPDATE PIMS_PROPERTY_HIST.Inputs[OLE DB Command Input].ExternalColumns[Param_0]" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_ID]" /> - - 0 - 0 - - + cachedLength="4" + cachedName="PROPERTY_TYPE_CODE" + externalMetadataColumnId="Package\Load Land Parcel\UPDATE PIMS_PROPERTY_HIST.Inputs[OLE DB Command Input].ExternalColumns[Param_1]" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]" /> - - 0 - 0 - - + cachedLength="8" + cachedName="PROPERTY_CLASSIFICATION_TYPE_CODE" + externalMetadataColumnId="Package\Load Land Parcel\UPDATE PIMS_PROPERTY_HIST.Inputs[OLE DB Command Input].ExternalColumns[Param_2]" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]" /> - - 0 - 0 - - + refId="Package\Load Land Parcel\UPDATE PIMS_PROPERTY_HIST.Inputs[OLE DB Command Input].Columns[ADDRESS_ID]" + cachedDataType="i8" + cachedName="ADDRESS_ID" + externalMetadataColumnId="Package\Load Land Parcel\UPDATE PIMS_PROPERTY_HIST.Inputs[OLE DB Command Input].ExternalColumns[Param_3]" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[ADDRESS_ID]" /> - - 0 - 0 - - + refId="Package\Load Land Parcel\UPDATE PIMS_PROPERTY_HIST.Inputs[OLE DB Command Input].Columns[REGION_CODE]" + cachedDataType="i2" + cachedName="REGION_CODE" + externalMetadataColumnId="Package\Load Land Parcel\UPDATE PIMS_PROPERTY_HIST.Inputs[OLE DB Command Input].ExternalColumns[Param_4]" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[REGION_CODE]" /> + - - 0 - 0 - - + cachedLength="20" + cachedName="PROPERTY_AREA_UNIT_TYPE_CODE" + externalMetadataColumnId="Package\Load Land Parcel\UPDATE PIMS_PROPERTY_HIST.Inputs[OLE DB Command Input].ExternalColumns[Param_6]" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]" /> - - 0 - 0 - - + cachedLength="7" + cachedName="PROPERTY_STATUS_TYPE_CODE" + externalMetadataColumnId="Package\Load Land Parcel\UPDATE PIMS_PROPERTY_HIST.Inputs[OLE DB Command Input].ExternalColumns[Param_7]" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_STATUS_TYPE_CODE]" /> - - 0 - 0 - - + cachedLength="7" + cachedName="SURPLUS_DELCARATION_TYPE_CODE" + externalMetadataColumnId="Package\Load Land Parcel\UPDATE PIMS_PROPERTY_HIST.Inputs[OLE DB Command Input].ExternalColumns[Param_8]" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[SURPLUS_DELCARATION_TYPE_CODE]" /> - - 0 - 0 - - + cachedLength="5" + cachedName="PROPERTY_DATA_SOURCE_TYPE_CODE" + externalMetadataColumnId="Package\Load Land Parcel\UPDATE PIMS_PROPERTY_HIST.Inputs[OLE DB Command Input].ExternalColumns[Param_9]" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_DATA_SOURCE_TYPE_CODE]" /> - - 0 - 0 - - + refId="Package\Load Land Parcel\UPDATE PIMS_PROPERTY_HIST.Inputs[OLE DB Command Input].Columns[PROPERTY_DATA_SOURCE_EFFECTIVE_DATE]" + cachedDataType="dbTimeStamp" + cachedName="PROPERTY_DATA_SOURCE_EFFECTIVE_DATE" + externalMetadataColumnId="Package\Load Land Parcel\UPDATE PIMS_PROPERTY_HIST.Inputs[OLE DB Command Input].ExternalColumns[Param_10]" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_DATA_SOURCE_EFFECTIVE_DATE]" /> - - 0 - 0 - - + cachedLength="9" + cachedName="TITLE_NO" + externalMetadataColumnId="Package\Load Land Parcel\UPDATE PIMS_PROPERTY_HIST.Inputs[OLE DB Command Input].ExternalColumns[Param_11]" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[TITLE_NO]" /> - - 0 - 0 - - + cachedLength="30" + cachedName="LAND_USE_DESCRIPTION" + externalMetadataColumnId="Package\Load Land Parcel\UPDATE PIMS_PROPERTY_HIST.Inputs[OLE DB Command Input].ExternalColumns[Param_12]" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LAND_USE_DESCRIPTION]" /> - - 0 - 0 - - + cachedLength="30" + cachedName="ZONING_POTENTIAL" + externalMetadataColumnId="Package\Load Land Parcel\UPDATE PIMS_PROPERTY_HIST.Inputs[OLE DB Command Input].ExternalColumns[Param_21]" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]" /> + + + + + + - - 0 - 0 - - + cachedName="TOTAL_PARCEL_AREA" + cachedPrecision="8" + cachedScale="4" + externalMetadataColumnId="Package\Load Land Parcel\UPDATE PIMS_PROPERTY_HIST.Inputs[OLE DB Command Input].ExternalColumns[Param_14]" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[TOTAL_PARCEL_AREA]" /> + + + - - 0 - 0 - - + cachedLength="23" + cachedName="APP_CREATE_USERID" + externalMetadataColumnId="Package\Load Land Parcel\UPDATE PIMS_PROPERTY_HIST.Inputs[OLE DB Command Input].ExternalColumns[Param_24]" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[APP_CREATE_USERID]" /> + + + + + + cachedName="DB_LAST_UPDATE_TIMESTAMP" + externalMetadataColumnId="Package\Load Land Parcel\UPDATE PIMS_PROPERTY_HIST.Inputs[OLE DB Command Input].ExternalColumns[Param_31]" + lineageId="Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[DB_LAST_UPDATE_TIMESTAMP]" /> + + + + + + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">81 + + + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 - - + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 + + + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">81 - - + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">81 + + + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">81 - - + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 + + + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 - - + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 + + + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 - - + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 + + + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 - - + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 + + + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">81 - - + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">81 + + + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">81 - - + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 + + + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 - - + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 + + + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 - - + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 + + + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 - - + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 + + + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 - - + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 + + + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 - - + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 + + + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 - - + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 + + + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 - - + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 + + + + 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 - - + + 0 - 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 - - + + 0 - 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 - - + + 0 - 0 + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_ADDRESS] + select * from (select * from [dbo].[PIMS_ADDRESS]) [refTable] +where [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[APP_CREATE_USERID] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_1" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_2" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_3" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPALITY_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="POSTAL_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="LATITUDE" dataType="DT_NUMERIC" length="0" precision="8" scale="6" codePage="0"/><referenceColumn name="LONGITUDE" dataType="DT_NUMERIC" length="0" precision="9" scale="6" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="OTHER_COUNTRY" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PIMS_PERSON_APP_CREATE_USER_DIRECTORY]};#{Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[APP_CREATE_USERID]}; + 1252 + false + + + + + + + - - 0 - 0 - - - - - 0 - 0 - - - + cachedLength="30" + cachedName="PIMS_PERSON_APP_CREATE_USER_DIRECTORY" + lineageId="Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PIMS_PERSON_APP_CREATE_USER_DIRECTORY]"> 0 + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">APP_CREATE_USER_DIRECTORY 0 + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - + lineageId="Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[APP_CREATE_USERID]"> 0 + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">APP_CREATE_USERID 1 + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> @@ -43103,635 +31416,893 @@ where [refTable].[PROVINCE_STATE_CODE] = ? + refId="Package\Load Person Address and Organization Address\Adderss ID in PIMS Address.Outputs[Lookup Match Output]" + errorOrTruncationOperation="Lookup" + exclusionGroup="1" + name="Lookup Match Output" + synchronousInputId="Package\Load Person Address and Organization Address\Adderss ID in PIMS Address.Inputs[Lookup Input]"> + refId="Package\Load Person Address and Organization Address\Adderss ID in PIMS Address.Outputs[Lookup Match Output].Columns[ADDRESS_ID]" + dataType="i8" + errorOrTruncationOperation="Copy Column" + lineageId="Package\Load Person Address and Organization Address\Adderss ID in PIMS Address.Outputs[Lookup Match Output].Columns[ADDRESS_ID]" + name="ADDRESS_ID" + truncationRowDisposition="FailComponent"> #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} + dataType="System.String" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn">ADDRESS_ID + errorOrTruncationOperation="Copy Column" + length="30" + lineageId="Package\Load Person Address and Organization Address\Adderss ID in PIMS Address.Outputs[Lookup Match Output].Columns[ADDRESS_APP_CREATE_USER_DIRECTORY]" + name="ADDRESS_APP_CREATE_USER_DIRECTORY" + truncationRowDisposition="FailComponent"> #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PERSON_PROFILE_TYPE_CODE]} + dataType="System.String" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn">APP_CREATE_USER_DIRECTORY + + + + + + + + - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME_SURNAME]} - - + refId="Package\Load Person Address and Organization Address\Adderss ID in PIMS Address.Outputs[Lookup Error Output].Columns[ErrorCode]" + dataType="i4" + lineageId="Package\Load Person Address and Organization Address\Adderss ID in PIMS Address.Outputs[Lookup Error Output].Columns[ErrorCode]" + name="ErrorCode" + specialFlags="1" /> + refId="Package\Load Person Address and Organization Address\Adderss ID in PIMS Address.Outputs[Lookup Error Output].Columns[ErrorColumn]" + dataType="i4" + lineageId="Package\Load Person Address and Organization Address\Adderss ID in PIMS Address.Outputs[Lookup Error Output].Columns[ErrorColumn]" + name="ErrorColumn" + specialFlags="2" /> + + + + + + + + select * from [dbo].[PIMS_ADDRESS] + select * from (select * from [dbo].[PIMS_ADDRESS]) [refTable] +where [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[APP_CREATE_USERID] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_1" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_2" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_3" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPALITY_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="POSTAL_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="LATITUDE" dataType="DT_NUMERIC" length="0" precision="8" scale="6" codePage="0"/><referenceColumn name="LONGITUDE" dataType="DT_NUMERIC" length="0" precision="9" scale="6" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="OTHER_COUNTRY" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Output].Columns[ORGANIZATION_APP_CREATE_USER_DIRECTORY]};#{Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Output].Columns[APP_CREATE_USERID]}; + 1252 + false + + + + + + + + #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PERSON_COMMENT_ID]} + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">APP_CREATE_USER_DIRECTORY + - - + + #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PERSON_COMMENT_ORG]} + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">APP_CREATE_USERID + - + + + + + + + + + refId="Package\Load Person Address and Organization Address\Address ID in PIMS Address.Outputs[Lookup Match Output].Columns[ADDRESS_ID]" + dataType="i8" + errorOrTruncationOperation="Copy Column" + lineageId="Package\Load Person Address and Organization Address\Address ID in PIMS Address.Outputs[Lookup Match Output].Columns[ADDRESS_ID]" + name="ADDRESS_ID" + truncationRowDisposition="FailComponent"> #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FirstName]} + dataType="System.String" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn">ADDRESS_ID + + + + + + + + + + + + + + + + + + + + + + + + + errorOrTruncationOperation="Computation" + errorRowDisposition="FailComponent" + length="23" + lineageId="Package\Load Person Address and Organization Address\Audit Trail.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USERID]" + name="AUDIT_TRAIL_APP_CREATE_USERID" + truncationRowDisposition="FailComponent"> #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[SurName]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"APP_PIMS_PROXY_ETL_EDIT" #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"APP_PIMS_PROXY_ETL_EDIT" + errorOrTruncationOperation="Computation" + errorRowDisposition="FailComponent" + length="12" + lineageId="Package\Load Person Address and Organization Address\Audit Trail.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]" + name="AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY" + truncationRowDisposition="FailComponent"> #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ACQUISITION_TYPE_CODE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"place_holder" #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[REGION_CODE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"place_holder" + errorOrTruncationOperation="Computation" + errorRowDisposition="FailComponent" + length="23" + lineageId="Package\Load Person Address and Organization Address\Audit Trail.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_LAST_UPDATE_USERID]" + name="AUDIT_TRAIL_APP_LAST_UPDATE_USERID" + truncationRowDisposition="FailComponent"> #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NUMBER]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"APP_PIMS_PROXY_ETL_EDIT" #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NAME]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"APP_PIMS_PROXY_ETL_EDIT" + errorOrTruncationOperation="Computation" + errorRowDisposition="FailComponent" + length="12" + lineageId="Package\Load Person Address and Organization Address\Audit Trail.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_LAST_UPDATE_USER_DIRECTORY]" + name="AUDIT_TRAIL_APP_LAST_UPDATE_USER_DIRECTORY" + truncationRowDisposition="FailComponent"> #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FILE_NAME]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"place_holder" #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FILE_NO]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"place_holder" + errorOrTruncationOperation="Computation" + errorRowDisposition="FailComponent" + length="7" + lineageId="Package\Load Person Address and Organization Address\Audit Trail.Outputs[Derived Column Output].Columns[ADDRESS_USAGE_TYPE_CODE]" + name="ADDRESS_USAGE_TYPE_CODE" + truncationRowDisposition="FailComponent"> #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"MAILING" #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ASSIGNED_DATE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"MAILING" + + + + + + refId="Package\Load Person Address and Organization Address\Audit Trail.Outputs[Derived Column Error Output].Columns[ErrorCode]" + dataType="i4" + lineageId="Package\Load Person Address and Organization Address\Audit Trail.Outputs[Derived Column Error Output].Columns[ErrorCode]" + name="ErrorCode" + specialFlags="1" /> + + + + + + + + + + + + + + + + #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[DELIVERY_DATE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"APP_PIMS_PROXY_ETL_EDIT" #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PERSON_REGION]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"APP_PIMS_PROXY_ETL_EDIT" + errorOrTruncationOperation="Computation" + errorRowDisposition="FailComponent" + length="12" + lineageId="Package\Load Person Address and Organization Address\Audit Trail 1.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]" + name="APP_CREATE_USER_DIRECTORY" + truncationRowDisposition="FailComponent"> #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"place_holder" #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"place_holder" + errorOrTruncationOperation="Computation" + errorRowDisposition="FailComponent" + length="23" + lineageId="Package\Load Person Address and Organization Address\Audit Trail 1.Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USERID]" + name="APP_LAST_UPDATE_USERID" + truncationRowDisposition="FailComponent"> #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"APP_PIMS_PROXY_ETL_EDIT" #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[POSTAL_CODE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"APP_PIMS_PROXY_ETL_EDIT" + errorOrTruncationOperation="Computation" + errorRowDisposition="FailComponent" + length="12" + lineageId="Package\Load Person Address and Organization Address\Audit Trail 1.Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]" + name="APP_LAST_UPDATE_USER_DIRECTORY" + truncationRowDisposition="FailComponent"> #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"place_holder" #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[WORKPHONE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"place_holder" + refId="Package\Load Person Address and Organization Address\Audit Trail 1.Outputs[Derived Column Output].Columns[ADDRESS_USAGE_TYPE_CODE]" + dataType="wstr" + errorOrTruncationOperation="Computation" + errorRowDisposition="FailComponent" + length="7" + lineageId="Package\Load Person Address and Organization Address\Audit Trail 1.Outputs[Derived Column Output].Columns[ADDRESS_USAGE_TYPE_CODE]" + name="ADDRESS_USAGE_TYPE_CODE" + truncationRowDisposition="FailComponent"> #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[WORKMOBIL]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"MAILING" #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FAX]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"MAILING" + + + + + + refId="Package\Load Person Address and Organization Address\Audit Trail 1.Outputs[Derived Column Error Output].Columns[ErrorCode]" + dataType="i4" + lineageId="Package\Load Person Address and Organization Address\Audit Trail 1.Outputs[Derived Column Error Output].Columns[ErrorCode]" + name="ErrorCode" + specialFlags="1" /> + + + + + + + + + true + -1 + + + + + #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[WORKEMAIL]} - - - - + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of STREET_ADDRESS_1]} + description="Specifies the sort order of the column." + name="NewSortKeyPosition">1 - - + + #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of STREET_ADDRESS_2]} + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + 4 - - + + #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of FirstName]} + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + 0 - - + + #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of SurName]} + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + 2 - - + + #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of PERSON_REGION]} + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + 0 - - + + #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of MUNICIPALITY_NAME]} + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + 0 - - + + #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of PAIMS_ACQUISITION_FILE_ID]} + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + 0 - - + + #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of PROVINCE]} + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + 0 - - + + #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Province_State_Code]} + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + 3 - + + + + + + + + + refId="Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ORGANIZATION_ID]" + dataType="i8" + lineageId="Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ORGANIZATION_ID]" + name="ORGANIZATION_ID" + sortKeyPosition="1"> #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Country_ID]} + name="SortColumnId">#{Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Output].Columns[ORGANIZATION_ID]} + length="30" + lineageId="Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ORGANIZATION_APP_CREATE_USER_DIRECTORY]" + name="ORGANIZATION_APP_CREATE_USER_DIRECTORY" + sortKeyPosition="4"> #{Package\Load Acquisition Persons and Organizations\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]} + name="SortColumnId">#{Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Output].Columns[ORGANIZATION_APP_CREATE_USER_DIRECTORY]} + length="50" + lineageId="Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[INCORPORATION_NUMBER]" + name="INCORPORATION_NUMBER"> #{Package\Load Acquisition Persons and Organizations\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} + name="SortColumnId">#{Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Output].Columns[INCORPORATION_NUMBER]} + refId="Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ADDRESS_ID]" + dataType="i8" + lineageId="Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ADDRESS_ID]" + name="ADDRESS_ID" + sortKeyPosition="2"> #{Package\Load Acquisition Persons and Organizations\Audit Trail.Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USERID]} + name="SortColumnId">#{Package\Load Person Address and Organization Address\Address ID in PIMS Address.Outputs[Lookup Match Output].Columns[ADDRESS_ID]} + length="23" + lineageId="Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[Audit Trail 1.APP_CREATE_USERID]" + name="Audit Trail 1.APP_CREATE_USERID"> #{Package\Load Acquisition Persons and Organizations\Audit Trail.Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]} + name="SortColumnId">#{Package\Load Person Address and Organization Address\Audit Trail 1.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]} + length="12" + lineageId="Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]" + name="APP_CREATE_USER_DIRECTORY"> #{Package\Load Acquisition Persons and Organizations\Audit Trail.Outputs[Derived Column Output].Columns[DB_CREATE_USERID]} + name="SortColumnId">#{Package\Load Person Address and Organization Address\Audit Trail 1.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} + lineageId="Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[APP_LAST_UPDATE_USERID]" + name="APP_LAST_UPDATE_USERID"> #{Package\Load Acquisition Persons and Organizations\Audit Trail.Outputs[Derived Column Output].Columns[DB_LAST_UPDATE_USERID]} + name="SortColumnId">#{Package\Load Person Address and Organization Address\Audit Trail 1.Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USERID]} + length="12" + lineageId="Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]" + name="APP_LAST_UPDATE_USER_DIRECTORY"> #{Package\Load Acquisition Persons and Organizations\Audit Trail.Outputs[Derived Column Output].Columns[Comment]} + name="SortColumnId">#{Package\Load Person Address and Organization Address\Audit Trail 1.Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]} + length="7" + lineageId="Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ADDRESS_USAGE_TYPE_CODE]" + name="ADDRESS_USAGE_TYPE_CODE" + sortKeyPosition="3"> #{Package\Load Acquisition Persons and Organizations\Format Organization Name.Outputs[Derived Column Output].Columns[Organization_Name]} + name="SortColumnId">#{Package\Load Person Address and Organization Address\Audit Trail 1.Outputs[Derived Column Output].Columns[ADDRESS_USAGE_TYPE_CODE]} @@ -43740,3142 +32311,2949 @@ where [refTable].[PROVINCE_STATE_CODE] = ? + refId="Package\Load Person Address and Organization Address\Derived Column" + componentClassID="Microsoft.DerivedColumn" + contactInfo="Derived Column;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;0" + description="Creates new column values by applying expressions to transformation input columns. Create new columns or overwrite existing ones. For example, concatenate the values from the 'first name' and 'last name' column to make a 'full name' column." + name="Derived Column" + usesDispositions="true"> + refId="Package\Load Person Address and Organization Address\Derived Column.Inputs[Derived Column Input]" + description="Input to the Derived Column Transformation" + name="Derived Column Input"> - - #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PERSON_PROFILE_TYPE_CODE]} - - - + cachedLength="30" + cachedName="ORGANIZATION_APP_CREATE_USER_DIRECTORY" + lineageId="Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Output].Columns[ORGANIZATION_APP_CREATE_USER_DIRECTORY]" /> + + + + + + + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME_SURNAME]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">[GETDATE]() #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PERSON_COMMENT_ID]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">GETDATE() - - + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PERSON_COMMENT_ORG]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"LOAD PERSON ADDFRESS AND ORGANIZATION ADDRESS" #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[FirstName]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"LOAD PERSON ADDFRESS AND ORGANIZATION ADDRESS" - - + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[SurName]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"ADDRESS ID in PIMS ADDRESS" #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"ADDRESS ID in PIMS ADDRESS" - - + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[ACQUISITION_TYPE_CODE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[REGION_CODE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NUMBER]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"Address not found for Interest Holder: " + #{Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Output].Columns[ORGANIZATION_APP_CREATE_USER_DIRECTORY]} #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NAME]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"Address not found for Interest Holder: " + APP_CREATE_USER_DIRECTORY - - - - #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[FILE_NAME]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[FILE_NO]} - - + + + + + + + + + + + + + + + + + - - #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[ASSIGNED_DATE]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[DELIVERY_DATE]} - - - + cachedLength="30" + cachedName="PIMS_PERSON_APP_CREATE_USER_DIRECTORY" + lineageId="Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PIMS_PERSON_APP_CREATE_USER_DIRECTORY]" /> + + + + + + + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PERSON_REGION]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">[GETDATE]() #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">GETDATE() - - + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"Load Person Address and Organizartion Address" #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"Load Person Address and Organizartion Address" - - + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[POSTAL_CODE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"Address ID in PIMS Address" #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PROVINCE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"Address ID in PIMS Address" - - + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[WORKPHONE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[WORKMOBIL]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[FAX]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"Failed to find Address Id for: " + #{Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PIMS_PERSON_APP_CREATE_USER_DIRECTORY]} #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[WORKEMAIL]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"Failed to find Address Id for: " + PIMS_PERSON_APP_CREATE_USER_DIRECTORY - - + + - + + + + + + + + + + + + + refId="Package\Load Person Address and Organization Address\Derived Column 2.Inputs[Derived Column Input]" + description="Input to the Derived Column Transformation" + name="Derived Column Input"> - - #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[FirstName]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[SurName]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} - - + cachedLength="30" + cachedName="ORGANIZATION_APP_CREATE_USER_DIRECTORY" + cachedSortKeyPosition="4" + lineageId="Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ORGANIZATION_APP_CREATE_USER_DIRECTORY]" /> + refId="Package\Load Person Address and Organization Address\Derived Column 2.Inputs[Derived Column Input].Columns[ORGANIZATION_ID]" + cachedDataType="i8" + cachedName="ORGANIZATION_ID" + cachedSortKeyPosition="1" + lineageId="Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ORGANIZATION_ID]" /> + + + + + + + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[ACQUISITION_TYPE_CODE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">[GETDATE]() #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[REGION_CODE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">GETDATE() - - + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NUMBER]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"LOAD PERSON ADDFRESS AND ORGANIZATION ADDRESS" #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NAME]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"LOAD PERSON ADDFRESS AND ORGANIZATION ADDRESS" - - + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[FILE_NAME]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"ADDRESS ID in PIMS ADDRESS" #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[FILE_NO]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"ADDRESS ID in PIMS ADDRESS" - - + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[ASSIGNED_DATE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[DELIVERY_DATE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"ORGANIZATION_ID " + (DT_WSTR,10)#{Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ORGANIZATION_ID]} + "APP_CREATE_USER_DIRECTORY" + #{Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ORGANIZATION_APP_CREATE_USER_DIRECTORY]} #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PERSON_PROFILE_TYPE_CODE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"ORGANIZATION_ID " + (DT_WSTR,10)ORGANIZATION_ID + "APP_CREATE_USER_DIRECTORY" + ORGANIZATION_APP_CREATE_USER_DIRECTORY - - - - #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME_SURNAME]} - - + + + + + + + + + + + + + + + + + - - #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PERSON_COMMENT_ID]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PERSON_COMMENT_ORG]} - - + lineageId="Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ORGANIZATION_APP_CREATE_USER_DIRECTORY]" /> + refId="Package\Load Person Address and Organization Address\Derived Column 2 1.Inputs[Derived Column Input].Columns[ORGANIZATION_ID]" + cachedDataType="i8" + cachedName="ORGANIZATION_ID" + cachedSortKeyPosition="1" + lineageId="Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ORGANIZATION_ID]" /> + + + + + + + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PERSON_REGION]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">[GETDATE]() #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">GETDATE() - - + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"LOAD PERSON ADDFRESS AND ORGANIZATION ADDRESS" #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"LOAD PERSON ADDFRESS AND ORGANIZATION ADDRESS" - - + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[POSTAL_CODE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"ADDRESS ID in PIMS ADDRESS" #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PROVINCE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"ADDRESS ID in PIMS ADDRESS" - - + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[WORKPHONE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[WORKMOBIL]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[FAX]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"ORGANIZATION_ID " + (DT_WSTR,10)#{Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ORGANIZATION_ID]} + "APP_CREATE_USER_DIRECTORY" + #{Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ORGANIZATION_APP_CREATE_USER_DIRECTORY]} #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[WORKEMAIL]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"ORGANIZATION_ID " + (DT_WSTR,10)ORGANIZATION_ID + "APP_CREATE_USER_DIRECTORY" + ORGANIZATION_APP_CREATE_USER_DIRECTORY - - + + - + + + + + + + + + + + + + refId="Package\Load Person Address and Organization Address\Derived Column 2 2.Inputs[Derived Column Input]" + description="Input to the Derived Column Transformation" + name="Derived Column Input"> - - #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} - - + refId="Package\Load Person Address and Organization Address\Derived Column 2 2.Inputs[Derived Column Input].Columns[PERSON_ID]" + cachedDataType="i8" + cachedName="PERSON_ID" + lineageId="Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PERSON_ID]" /> + cachedLength="30" + cachedName="PIMS_PERSON_APP_CREATE_USER_DIRECTORY" + lineageId="Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PIMS_PERSON_APP_CREATE_USER_DIRECTORY]" /> + + + + + + + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[FirstName]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">[GETDATE]() #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[SurName]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">GETDATE() - - + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"LOAD PERSON ADDFRESS AND ORGANIZATION ADDRESS" #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[ACQUISITION_TYPE_CODE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"LOAD PERSON ADDFRESS AND ORGANIZATION ADDRESS" - - + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"ADDRESS ID in PIMS ADDRESS" #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NUMBER]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"ADDRESS ID in PIMS ADDRESS" - - + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NAME]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[FILE_NAME]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[FILE_NO]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"PERSON_ID " + (DT_WSTR,10)#{Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PERSON_ID]} + "APP_CREATE_USER_DIRECTORY" + #{Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PIMS_PERSON_APP_CREATE_USER_DIRECTORY]} #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[FILE_NUMBER]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"PERSON_ID " + (DT_WSTR,10)PERSON_ID + "APP_CREATE_USER_DIRECTORY" + PIMS_PERSON_APP_CREATE_USER_DIRECTORY - + + + + + + + + + + + + + + + + + - - #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[ASSIGNED_DATE]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[DELIVERY_DATE]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PERSON_PROFILE_TYPE_CODE]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME_SURNAME]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PERSON_COMMENT_ID]} - - + refId="Package\Load Person Address and Organization Address\Derived Column 2 2 1.Inputs[Derived Column Input].Columns[PERSON_ID]" + cachedDataType="i8" + cachedName="PERSON_ID" + lineageId="Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PERSON_ID]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PERSON_COMMENT_ORG]} - - - + cachedLength="30" + cachedName="PIMS_PERSON_APP_CREATE_USER_DIRECTORY" + lineageId="Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PIMS_PERSON_APP_CREATE_USER_DIRECTORY]" /> + + + + + + + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PERSON_REGION]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">[GETDATE]() #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">GETDATE() - - + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"LOAD PERSON ADDFRESS AND ORGANIZATION ADDRESS" #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"LOAD PERSON ADDFRESS AND ORGANIZATION ADDRESS" - - + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[POSTAL_CODE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"ADDRESS ID in PIMS ADDRESS" #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PROVINCE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"ADDRESS ID in PIMS ADDRESS" - - + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[WORKPHONE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[WORKMOBIL]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - + + #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[FAX]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"PERSON_ID " + (DT_WSTR,10)#{Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PERSON_ID]} + "APP_CREATE_USER_DIRECTORY" + #{Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PIMS_PERSON_APP_CREATE_USER_DIRECTORY]} #{Package\Load Acquisition Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[WORKEMAIL]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"PERSON_ID " + (DT_WSTR,10)PERSON_ID + "APP_CREATE_USER_DIRECTORY" + PIMS_PERSON_APP_CREATE_USER_DIRECTORY - - - - - + + - - - + + refId="Package\Load Person Address and Organization Address\Derived Column 2 2 1.Outputs[Derived Column Error Output]" + description="Error Output of the Derived Column Transformation" + exclusionGroup="1" + isErrorOut="true" + name="Derived Column Error Output" + synchronousInputId="Package\Load Person Address and Organization Address\Derived Column 2 2 1.Inputs[Derived Column Input]"> - - - - - - - - - - - - - - - - - - - - - - - - - + refId="Package\Load Person Address and Organization Address\Derived Column 2 2 1.Outputs[Derived Column Error Output].Columns[ErrorCode]" + dataType="i4" + lineageId="Package\Load Person Address and Organization Address\Derived Column 2 2 1.Outputs[Derived Column Error Output].Columns[ErrorCode]" + name="ErrorCode" + specialFlags="1" /> + refId="Package\Load Person Address and Organization Address\Derived Column 2 2 1.Outputs[Derived Column Error Output].Columns[ErrorColumn]" + dataType="i4" + lineageId="Package\Load Person Address and Organization Address\Derived Column 2 2 1.Outputs[Derived Column Error Output].Columns[ErrorColumn]" + name="ErrorColumn" + specialFlags="2" /> + refId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG" + componentClassID="Microsoft.OLEDBDestination" + contactInfo="OLE DB Destination;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;4" + description="OLE DB Destination" + name="ETL_ERROR_LOG" + usesDispositions="true" + version="4"> + + 0 + [etl].[ETL_ERROR_LOG] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + refId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG.Inputs[OLE DB Destination Input]" + errorOrTruncationOperation="Insert" + errorRowDisposition="FailComponent" + hasSideEffects="true" + name="OLE DB Destination Input"> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PERSON_PROFILE_TYPE_CODE]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME_SURNAME]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PERSON_COMMENT_ID]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PERSON_COMMENT_ORG]} - - + refId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG.Inputs[OLE DB Destination Input].Columns[ERROR_TIME]" + cachedDataType="dbTimeStamp" + cachedName="ERROR_TIME" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TIME]" + lineageId="Package\Load Person Address and Organization Address\Derived Column.Outputs[Derived Column Output].Columns[ERROR_TIME]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FirstName]} - - + cachedLength="45" + cachedName="ERROR_OPERATION_NAME" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_OPERATION_NAME]" + lineageId="Package\Load Person Address and Organization Address\Derived Column.Outputs[Derived Column Output].Columns[ERROR_OPERATION_NAME]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[SurName]} - - + cachedLength="26" + cachedName="ERROR_TASK_NAME" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TASK_NAME]" + lineageId="Package\Load Person Address and Organization Address\Derived Column.Outputs[Derived Column Output].Columns[ERROR_TASK_NAME]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} - - + cachedLength="32" + cachedName="ERROR_ETL_NAME" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ETL_NAME]" + lineageId="Package\Load Person Address and Organization Address\Derived Column.Outputs[Derived Column Output].Columns[ERROR_ETL_NAME]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ACQUISITION_TYPE_CODE]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NUMBER]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NAME]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FILE_NAME]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FILE_NO]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ASSIGNED_DATE]} - - + cachedLength="69" + cachedName="ERROR_ROW" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ROW]" + lineageId="Package\Load Person Address and Organization Address\Derived Column.Outputs[Derived Column Output].Columns[ERROR_ROW]" /> + + + + + + + + + + + + + + + + + + + + + + + + + 0 + [etl].[ETL_ERROR_LOG] + + + 1252 + false + 0 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[DELIVERY_DATE]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PERSON_REGION]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} - - + cachedName="ERROR_TIME" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TIME]" + lineageId="Package\Load Person Address and Organization Address\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_TIME]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} - - + cachedLength="45" + cachedName="ERROR_OPERATION_NAME" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_OPERATION_NAME]" + lineageId="Package\Load Person Address and Organization Address\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_OPERATION_NAME]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - + cachedLength="26" + cachedName="ERROR_TASK_NAME" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TASK_NAME]" + lineageId="Package\Load Person Address and Organization Address\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_TASK_NAME]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[POSTAL_CODE]} - - + cachedLength="32" + cachedName="ERROR_ETL_NAME" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ETL_NAME]" + lineageId="Package\Load Person Address and Organization Address\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_ETL_NAME]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[WORKPHONE]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[WORKMOBIL]} - - + cachedLength="61" + cachedName="ERROR_ROW" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ROW]" + lineageId="Package\Load Person Address and Organization Address\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_ROW]" /> + + + + + + + + + + + + + + + + + + + + + + + + + 0 + [etl].[ETL_ERROR_LOG] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FAX]} - - + refId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2.Inputs[OLE DB Destination Input].Columns[ERROR_TIME]" + cachedDataType="dbTimeStamp" + cachedName="ERROR_TIME" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TIME]" + lineageId="Package\Load Person Address and Organization Address\Derived Column 2.Outputs[Derived Column Output].Columns[ERROR_TIME]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[WORKEMAIL]} - - + cachedLength="45" + cachedName="ERROR_OPERATION_NAME" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_OPERATION_NAME]" + lineageId="Package\Load Person Address and Organization Address\Derived Column 2.Outputs[Derived Column Output].Columns[ERROR_OPERATION_NAME]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of STREET_ADDRESS_1]} - - + cachedLength="26" + cachedName="ERROR_TASK_NAME" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TASK_NAME]" + lineageId="Package\Load Person Address and Organization Address\Derived Column 2.Outputs[Derived Column Output].Columns[ERROR_TASK_NAME]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of STREET_ADDRESS_2]} - - + cachedLength="32" + cachedName="ERROR_ETL_NAME" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ETL_NAME]" + lineageId="Package\Load Person Address and Organization Address\Derived Column 2.Outputs[Derived Column Output].Columns[ERROR_ETL_NAME]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of FirstName]} - - + cachedLength="81" + cachedName="ERROR_ROW" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ROW]" + lineageId="Package\Load Person Address and Organization Address\Derived Column 2.Outputs[Derived Column Output].Columns[ERROR_ROW]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of SurName]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of PERSON_REGION]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of MUNICIPALITY_NAME]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of PAIMS_ACQUISITION_FILE_ID]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of PROVINCE]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Province_State_Code]} - - + refId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2.Inputs[OLE DB Destination Input].Columns[ErrorCode]" + cachedDataType="i4" + cachedName="ErrorCode" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_CODE]" + lineageId="Package\Load Person Address and Organization Address\PIMS ORGANIZATION_ADDRESS.Outputs[OLE DB Destination Error Output].Columns[ErrorCode]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Country_ID]} - - + refId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2.Inputs[OLE DB Destination Input].Columns[ErrorColumn]" + cachedDataType="i4" + cachedName="ErrorColumn" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_COLUMN]" + lineageId="Package\Load Person Address and Organization Address\PIMS ORGANIZATION_ADDRESS.Outputs[OLE DB Destination Error Output].Columns[ErrorColumn]" /> - + + + + + + + + + + + + + + + + + + + + + + + 0 + [etl].[ETL_ERROR_LOG] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + name="OLE DB Destination Input"> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PAIMS_ACQUISITION_FILE_ID]} - - + refId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 1.Inputs[OLE DB Destination Input].Columns[ERROR_TIME]" + cachedDataType="dbTimeStamp" + cachedName="ERROR_TIME" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TIME]" + lineageId="Package\Load Person Address and Organization Address\Derived Column 2 1.Outputs[Derived Column Output].Columns[ERROR_TIME]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PERSON_PROFILE_TYPE_CODE]} - - + cachedLength="45" + cachedName="ERROR_OPERATION_NAME" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_OPERATION_NAME]" + lineageId="Package\Load Person Address and Organization Address\Derived Column 2 1.Outputs[Derived Column Output].Columns[ERROR_OPERATION_NAME]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME_SURNAME]} - - + cachedLength="26" + cachedName="ERROR_TASK_NAME" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TASK_NAME]" + lineageId="Package\Load Person Address and Organization Address\Derived Column 2 1.Outputs[Derived Column Output].Columns[ERROR_TASK_NAME]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PERSON_COMMENT_ID]} - - + cachedLength="32" + cachedName="ERROR_ETL_NAME" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ETL_NAME]" + lineageId="Package\Load Person Address and Organization Address\Derived Column 2 1.Outputs[Derived Column Output].Columns[ERROR_ETL_NAME]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PERSON_COMMENT_ORG]} - - + cachedLength="81" + cachedName="ERROR_ROW" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ROW]" + lineageId="Package\Load Person Address and Organization Address\Derived Column 2 1.Outputs[Derived Column Output].Columns[ERROR_ROW]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FirstName]} - - + refId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 1.Inputs[OLE DB Destination Input].Columns[ErrorCode]" + cachedDataType="i4" + cachedName="ErrorCode" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_CODE]" + lineageId="Package\Load Person Address and Organization Address\Update PIMS_ORGANIZATION_ADDRESS.Outputs[OLE DB Command Error Output].Columns[ErrorCode]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[SurName]} - - + refId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 1.Inputs[OLE DB Destination Input].Columns[ErrorColumn]" + cachedDataType="i4" + cachedName="ErrorColumn" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_COLUMN]" + lineageId="Package\Load Person Address and Organization Address\Update PIMS_ORGANIZATION_ADDRESS.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]" /> + + + + + + + + + + + + + + + + + + + + + + + + + 0 + [etl].[ETL_ERROR_LOG] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ACQUISITION_FILE_STATUS_TYPE_CODE]} - - + refId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 2.Inputs[OLE DB Destination Input].Columns[ERROR_TIME]" + cachedDataType="dbTimeStamp" + cachedName="ERROR_TIME" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TIME]" + lineageId="Package\Load Person Address and Organization Address\Derived Column 2 2.Outputs[Derived Column Output].Columns[ERROR_TIME]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ACQUISITION_TYPE_CODE]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[REGION_CODE]} - - + cachedLength="45" + cachedName="ERROR_OPERATION_NAME" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_OPERATION_NAME]" + lineageId="Package\Load Person Address and Organization Address\Derived Column 2 2.Outputs[Derived Column Output].Columns[ERROR_OPERATION_NAME]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NUMBER]} - - + cachedLength="26" + cachedName="ERROR_TASK_NAME" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TASK_NAME]" + lineageId="Package\Load Person Address and Organization Address\Derived Column 2 2.Outputs[Derived Column Output].Columns[ERROR_TASK_NAME]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MINISTRY_PROJECT_NAME]} - - + cachedLength="32" + cachedName="ERROR_ETL_NAME" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ETL_NAME]" + lineageId="Package\Load Person Address and Organization Address\Derived Column 2 2.Outputs[Derived Column Output].Columns[ERROR_ETL_NAME]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FILE_NAME]} - - + cachedLength="75" + cachedName="ERROR_ROW" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ROW]" + lineageId="Package\Load Person Address and Organization Address\Derived Column 2 2.Outputs[Derived Column Output].Columns[ERROR_ROW]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FILE_NO]} - - + refId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 2.Inputs[OLE DB Destination Input].Columns[ErrorCode]" + cachedDataType="i4" + cachedName="ErrorCode" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_CODE]" + lineageId="Package\Load Person Address and Organization Address\Update PIMS_PERSON_ADDRESS.Outputs[OLE DB Command Error Output].Columns[ErrorCode]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ASSIGNED_DATE]} - - + refId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 2.Inputs[OLE DB Destination Input].Columns[ErrorColumn]" + cachedDataType="i4" + cachedName="ErrorColumn" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 2.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_COLUMN]" + lineageId="Package\Load Person Address and Organization Address\Update PIMS_PERSON_ADDRESS.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]" /> + + + + + + + + + + + + + + + + + + + + + + + + + 0 + [etl].[ETL_ERROR_LOG] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[DELIVERY_DATE]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PERSON_REGION]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} - - + cachedName="ERROR_TIME" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 2 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TIME]" + lineageId="Package\Load Person Address and Organization Address\Derived Column 2 2 1.Outputs[Derived Column Output].Columns[ERROR_TIME]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - + cachedLength="45" + cachedName="ERROR_OPERATION_NAME" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 2 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_OPERATION_NAME]" + lineageId="Package\Load Person Address and Organization Address\Derived Column 2 2 1.Outputs[Derived Column Output].Columns[ERROR_OPERATION_NAME]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[POSTAL_CODE]} - - + cachedLength="26" + cachedName="ERROR_TASK_NAME" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 2 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TASK_NAME]" + lineageId="Package\Load Person Address and Organization Address\Derived Column 2 2 1.Outputs[Derived Column Output].Columns[ERROR_TASK_NAME]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[WORKPHONE]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[WORKMOBIL]} - - - - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FAX]} - - + cachedLength="32" + cachedName="ERROR_ETL_NAME" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 2 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ETL_NAME]" + lineageId="Package\Load Person Address and Organization Address\Derived Column 2 2 1.Outputs[Derived Column Output].Columns[ERROR_ETL_NAME]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[WORKEMAIL]} - - + cachedLength="75" + cachedName="ERROR_ROW" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 2 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ROW]" + lineageId="Package\Load Person Address and Organization Address\Derived Column 2 2 1.Outputs[Derived Column Output].Columns[ERROR_ROW]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of STREET_ADDRESS_1]} - - + refId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 2 1.Inputs[OLE DB Destination Input].Columns[ErrorCode]" + cachedDataType="i4" + cachedName="ErrorCode" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 2 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_CODE]" + lineageId="Package\Load Person Address and Organization Address\PIMS PERSON_ADDRESS.Outputs[OLE DB Destination Error Output].Columns[ErrorCode]" /> - - #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of STREET_ADDRESS_2]} - - + refId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 2 1.Inputs[OLE DB Destination Input].Columns[ErrorColumn]" + cachedDataType="i4" + cachedName="ErrorColumn" + externalMetadataColumnId="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 2 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_COLUMN]" + lineageId="Package\Load Person Address and Organization Address\PIMS PERSON_ADDRESS.Outputs[OLE DB Destination Error Output].Columns[ErrorColumn]" /> + + + + + + + + + + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_PERSON_ADDRESS] + select * from (select * from [dbo].[PIMS_PERSON_ADDRESS]) [refTable] +where [refTable].[PERSON_ID] = ? and [refTable].[ADDRESS_ID] = ? and [refTable].[ADDRESS_USAGE_TYPE_CODE] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="PERSON_ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_USAGE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PERSON_ID]};#{Package\Load Person Address and Organization Address\Adderss ID in PIMS Address.Outputs[Lookup Match Output].Columns[ADDRESS_ID]};#{Package\Load Person Address and Organization Address\Audit Trail.Outputs[Derived Column Output].Columns[ADDRESS_USAGE_TYPE_CODE]}; + 1252 + false + + + + + + + + refId="Package\Load Person Address and Organization Address\Existing PIMS_ADDRESS records.Inputs[Lookup Input].Columns[PERSON_ID]" + cachedDataType="i8" + cachedName="PERSON_ID" + lineageId="Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PERSON_ID]"> #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of FirstName]} - - - - + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">PERSON_ID #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of SurName]} + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> + refId="Package\Load Person Address and Organization Address\Existing PIMS_ADDRESS records.Inputs[Lookup Input].Columns[ADDRESS_ID]" + cachedDataType="i8" + cachedName="ADDRESS_ID" + lineageId="Package\Load Person Address and Organization Address\Adderss ID in PIMS Address.Outputs[Lookup Match Output].Columns[ADDRESS_ID]"> #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of PERSON_REGION]} - - - - + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">ADDRESS_ID #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of MUNICIPALITY_NAME]} + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> + cachedLength="7" + cachedName="ADDRESS_USAGE_TYPE_CODE" + lineageId="Package\Load Person Address and Organization Address\Audit Trail.Outputs[Derived Column Output].Columns[ADDRESS_USAGE_TYPE_CODE]"> #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of PAIMS_ACQUISITION_FILE_ID]} - - - - + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">ADDRESS_USAGE_TYPE_CODE #{Package\Load Acquisition Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of PROVINCE]} + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> - - - + refId="Package\Load Person Address and Organization Address\Existing PIMS_ADDRESS records.Outputs[Lookup Match Output]" + errorOrTruncationOperation="Lookup" + exclusionGroup="1" + name="Lookup Match Output" + synchronousInputId="Package\Load Person Address and Organization Address\Existing PIMS_ADDRESS records.Inputs[Lookup Input]"> + + + + + + + refId="Package\Load Person Address and Organization Address\Existing PIMS_ADDRESS records.Outputs[Lookup Error Output].Columns[ErrorCode]" + dataType="i4" + lineageId="Package\Load Person Address and Organization Address\Existing PIMS_ADDRESS records.Outputs[Lookup Error Output].Columns[ErrorCode]" + name="ErrorCode" + specialFlags="1" /> + refId="Package\Load Person Address and Organization Address\Existing PIMS_ADDRESS records.Outputs[Lookup Error Output].Columns[ErrorColumn]" + dataType="i4" + lineageId="Package\Load Person Address and Organization Address\Existing PIMS_ADDRESS records.Outputs[Lookup Error Output].Columns[ErrorColumn]" + name="ErrorColumn" + specialFlags="2" /> + + + + + + + + select * from [dbo].[PIMS_ORGANIZATION_ADDRESS] + select * from (select * from [dbo].[PIMS_ORGANIZATION_ADDRESS]) [refTable] +where [refTable].[ORGANIZATION_ID] = ? and [refTable].[ADDRESS_ID] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="ORGANIZATION_ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_USAGE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ORGANIZATION_ID]};#{Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ADDRESS_ID]}; + 1252 + false + + + + + + + + + + ORGANIZATION_ID + + + + + + ADDRESS_ID + + + + + + + + + + + + + + + + + refId="Package\Load Person Address and Organization Address\Existing PIMS_ORGANIZATION_ADDRESS records.Outputs[Lookup Error Output].Columns[ErrorCode]" + dataType="i4" + lineageId="Package\Load Person Address and Organization Address\Existing PIMS_ORGANIZATION_ADDRESS records.Outputs[Lookup Error Output].Columns[ErrorCode]" + name="ErrorCode" + specialFlags="1" /> + refId="Package\Load Person Address and Organization Address\Existing PIMS_ORGANIZATION_ADDRESS records.Outputs[Lookup Error Output].Columns[ErrorColumn]" + dataType="i4" + lineageId="Package\Load Person Address and Organization Address\Existing PIMS_ORGANIZATION_ADDRESS records.Outputs[Lookup Error Output].Columns[ErrorColumn]" + name="ErrorColumn" + specialFlags="2" /> + + + + + + + + 0 + [dbo].[PIMS_ORGANIZATION] + + + + 1252 + false + 0 + + + + + + + + + refId="Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Output].Columns[ORGANIZATION_ID]" + dataType="i8" + errorOrTruncationOperation="Conversion" + errorRowDisposition="FailComponent" + externalMetadataColumnId="Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Output].ExternalColumns[ORGANIZATION_ID]" + lineageId="Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Output].Columns[ORGANIZATION_ID]" + name="ORGANIZATION_ID" + truncationRowDisposition="FailComponent" /> + errorOrTruncationOperation="Conversion" + errorRowDisposition="FailComponent" + externalMetadataColumnId="Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Output].ExternalColumns[APP_CREATE_USER_DIRECTORY]" + length="30" + lineageId="Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Output].Columns[ORGANIZATION_APP_CREATE_USER_DIRECTORY]" + name="ORGANIZATION_APP_CREATE_USER_DIRECTORY" + truncationRowDisposition="FailComponent" /> + errorOrTruncationOperation="Conversion" + errorRowDisposition="FailComponent" + externalMetadataColumnId="Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Output].ExternalColumns[INCORPORATION_NUMBER]" + length="50" + lineageId="Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Output].Columns[INCORPORATION_NUMBER]" + name="INCORPORATION_NUMBER" + truncationRowDisposition="FailComponent" /> - + + + + + + + - - + - + - + - - + - - - - + - + - + + + + - + + - + + - - - - + + - + + - + + - + + length="50" + name="INCORPORATION_NUMBER" /> + + + + + refId="Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Error Output].Columns[ErrorCode]" + dataType="i4" + lineageId="Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Error Output].Columns[ErrorCode]" + name="ErrorCode" + specialFlags="1" /> + refId="Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Error Output].Columns[ErrorColumn]" + dataType="i4" + lineageId="Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Error Output].Columns[ErrorColumn]" + name="ErrorColumn" + specialFlags="2" /> + + length="30" + lineageId="Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Error Output].Columns[APP_CREATE_USER_DIRECTORY]" + name="APP_CREATE_USER_DIRECTORY" /> + lineageId="Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Error Output].Columns[INCORPORATION_NUMBER]" + name="INCORPORATION_NUMBER" /> - - + length="30" + lineageId="Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Error Output].Columns[APP_CREATE_USERID]" + name="APP_CREATE_USERID" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + refId="Package\Load Person Address and Organization Address\PIMS ORGANIZATION_ADDRESS" + componentClassID="Microsoft.OLEDBDestination" + contactInfo="OLE DB Destination;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;4" + description="OLE DB Destination" + name="PIMS ORGANIZATION_ADDRESS" + usesDispositions="true" + version="4"> + + 0 + [dbo].[PIMS_ORGANIZATION_ADDRESS] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + refId="Package\Load Person Address and Organization Address\PIMS ORGANIZATION_ADDRESS.Inputs[OLE DB Destination Input]" + errorOrTruncationOperation="Insert" + errorRowDisposition="RedirectRow" + hasSideEffects="true" + name="OLE DB Destination Input"> + refId="Package\Load Person Address and Organization Address\PIMS ORGANIZATION_ADDRESS.Inputs[OLE DB Destination Input].Columns[ORGANIZATION_ID]" + cachedDataType="i8" + cachedName="ORGANIZATION_ID" + cachedSortKeyPosition="1" + externalMetadataColumnId="Package\Load Person Address and Organization Address\PIMS ORGANIZATION_ADDRESS.Inputs[OLE DB Destination Input].ExternalColumns[ORGANIZATION_ID]" + lineageId="Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ORGANIZATION_ID]" /> + + + + + + - - - - - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - + + + + - - (DT_WSTR,10)#{Package\Load BCTFA Properties\PMBC_POLYGON_FABRIC.Outputs[OLE DB Source Output].Columns[PID]} - (DT_WSTR,10)PID - - - + + + + - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - + + - - "place_holder" - "place_holder" - - - - - [GETDATE]() - GETDATE() - - - - - 1 - 1 - - - + - - [GETDATE]() - GETDATE() - - - + + + + - - [GETDATE]() - GETDATE() - - - + - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - + - - [GETDATE]() - GETDATE() - - - + - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - + length="30" + name="DB_LAST_UPDATE_USERID" /> + + + + + name="OLE DB Destination Error Output" + synchronousInputId="Package\Load Person Address and Organization Address\PIMS ORGANIZATION_ADDRESS.Inputs[OLE DB Destination Input]"> @@ -46884,399 +35262,502 @@ where [refTable].[PROVINCE_STATE_CODE] = ? - - - - - - - - - - - - - - + refId="Package\Load Person Address and Organization Address\PIMS PERSON" + componentClassID="Microsoft.OLEDBSource" + contactInfo="OLE DB Source;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;7" + description="OLE DB Source" + name="PIMS PERSON" + usesDispositions="true" + version="7"> + + 0 + [dbo].[PIMS_PERSON] + + SELECT * +FROM PIMS_PERSON +WHERE APP_CREATE_USERID='APP_PIMS_PROXY_ETL_EDIT'; + + 1252 + false + 0 + + + + + + refId="Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output]" + name="OLE DB Source Output"> - - #{Package\Load BCTFA Properties\PMBC_POLYGON_FABRIC.Outputs[OLE DB Source Output].Columns[PROPERTY_TYPE_CODE]} - false - - + externalMetadataColumnId="Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].ExternalColumns[PERSON_ID]" + lineageId="Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PERSON_ID]" + name="PERSON_ID" + truncationRowDisposition="FailComponent" /> - - #{Package\Load BCTFA Properties\PMBC_POLYGON_FABRIC.Outputs[OLE DB Source Output].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - false - - + externalMetadataColumnId="Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].ExternalColumns[APP_CREATE_USER_DIRECTORY]" + length="30" + lineageId="Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PIMS_PERSON_APP_CREATE_USER_DIRECTORY]" + name="PIMS_PERSON_APP_CREATE_USER_DIRECTORY" + truncationRowDisposition="FailComponent" /> - - #{Package\Load BCTFA Properties\PMBC_POLYGON_FABRIC.Outputs[OLE DB Source Output].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - false - - + externalMetadataColumnId="Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].ExternalColumns[ADDRESS_COMMENT]" + length="2000" + lineageId="Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[ADDRESS_COMMENT]" + name="ADDRESS_COMMENT" + truncationRowDisposition="FailComponent" /> - - #{Package\Load BCTFA Properties\PMBC_POLYGON_FABRIC.Outputs[OLE DB Source Output].Columns[PROPERTY_DATA_SOURCE_TYPE_CODE]} - false - - + externalMetadataColumnId="Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].ExternalColumns[USE_ORGANIZATION_ADDRESS]" + lineageId="Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[USE_ORGANIZATION_ADDRESS]" + name="USE_ORGANIZATION_ADDRESS" + truncationRowDisposition="FailComponent" /> - - #{Package\Load BCTFA Properties\PMBC_POLYGON_FABRIC.Outputs[OLE DB Source Output].Columns[PROPERTY_STATUS_TYPE_CODE]} - false - - - + + + + - - #{Package\Load BCTFA Properties\PMBC_POLYGON_FABRIC.Outputs[OLE DB Source Output].Columns[SURPLUS_DECLARATION_TYPE_CODE]} - false - - - + - - #{Package\Load BCTFA Properties\PMBC_POLYGON_FABRIC.Outputs[OLE DB Source Output].Columns[PROPERTY_DATA_SOURCE_EFFECTIVE_DATE]} - false - - - - + name="FIRST_NAME" /> + + + + + + + + + + + + + + + + + + + + + + + name="OLE DB Source Error Output"> + + + + + + version="4"> select * from [dbo].[PIMS_PROPERTY] + dataType="System.Int32" + description="The number of seconds before a command times out. A value of 0 indicates an infinite time-out." + name="CommandTimeout">0 select * from (select * from [dbo].[PIMS_PROPERTY]) [refTable] -where [refTable].[PID] = ? + description="Specifies the name of the database object used to open a rowset." + name="OpenRowset">[dbo].[PIMS_PERSON_ADDRESS] 0 + dataType="System.String" + description="Specifies the variable that contains the name of the database object used to open a rowset." + name="OpenRowsetVariable"> 0 + dataType="System.String" + description="The SQL command to be executed." + name="SqlCommand" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> 1 + description="Specifies the column code page to use when code page information is unavailable from the data source." + name="DefaultCodePage">1252 0 + dataType="System.Boolean" + description="Forces the use of the DefaultCodePage property value when describing character data." + name="AlwaysUseDefaultCodePage">false 25 + description="Specifies the mode used to access the database." + name="AccessMode" + typeConverter="AccessMode">3 25 + dataType="System.Boolean" + description="Indicates whether the values supplied for identity columns will be copied to the destination. If false, values for identity columns will be auto-generated at the destination. Applies only if fast load is turned on." + name="FastLoadKeepIdentity">false <referenceMetadata><referenceColumns><referenceColumn name="PROPERTY_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_MANAGER_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROP_MGMT_ORG_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_CLASSIFICATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_AREA_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUME_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_EFFECTIVE_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="PID" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PIN" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER_SUFFIX" dataType="DT_WSTR" length="2" precision="0" scale="0" codePage="0"/><referenceColumn name="LAND_AREA" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LAND_LEGAL_DESCRIPTION" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="BOUNDARY" dataType="DT_IMAGE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LOCATION" dataType="DT_IMAGE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURVEY_PLAN_NUMBER" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/><referenceColumn name="ENCUMBRANCE_REASON" dataType="DT_WSTR" length="500" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="NOTES" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPAL_ZONING" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VOLUMETRIC_PARCEL" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_MEASUREMENT" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_OWNED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROPERTY_OF_INTEREST" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VISIBLE_TO_OTHER_AGENCIES" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_SENSITIVE" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROVINCIAL_PUBLIC_HWY" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_RWY_BELT_DOM_PATENT" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING_POTENTIAL" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + dataType="System.Boolean" + description="Indicates whether the columns containing null will have null inserted in the destination. If false, columns containing null will have their default values inserted at the destination. Applies only if fast load is turned on." + name="FastLoadKeepNulls">false #{Package\Load BCTFA Properties\PMBC_POLYGON_FABRIC.Outputs[OLE DB Source Output].Columns[PID]}; + description="Specifies options to be used with fast load. Applies only if fast load is turned on." + name="FastLoadOptions">TABLOCK,CHECK_CONSTRAINTS 1252 - false + description="Specifies when commits are issued during data insertion. A value of 0 specifies that one commit will be issued at the end of data insertion. Applies only if fast load is turned on." + name="FastLoadMaxInsertCommitSize">2147483647 + refId="Package\Load Person Address and Organization Address\PIMS PERSON_ADDRESS.Inputs[OLE DB Destination Input]" + errorOrTruncationOperation="Insert" + errorRowDisposition="RedirectRow" + hasSideEffects="true" + name="OLE DB Destination Input"> - - PID - - - - - - - - - - - - - PROPERTY_ID - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + name="OLE DB Destination Error Output" + synchronousInputId="Package\Load Person Address and Organization Address\PIMS PERSON_ADDRESS.Inputs[OLE DB Destination Input]"> @@ -47285,11 +35766,11 @@ where [refTable].[PID] = ? @@ -47298,14 +35779,14 @@ where [refTable].[PID] = ? description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PROPERTY_HIST] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PERSON_ADDRESS] select * from (select * from [dbo].[PIMS_PROPERTY_HIST]) [refTable] -where [refTable].[PID] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_PERSON_ADDRESS]) [refTable] +where [refTable].[PERSON_ID] = ? and [refTable].[ADDRESS_ID] = ? <referenceMetadata><referenceColumns><referenceColumn name="_PROPERTY_HIST_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="EFFECTIVE_DATE_HIST" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="END_DATE_HIST" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_MANAGER_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROP_MGMT_ORG_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_CLASSIFICATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_AREA_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUME_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_EFFECTIVE_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="PID" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PIN" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER_SUFFIX" dataType="DT_WSTR" length="2" precision="0" scale="0" codePage="0"/><referenceColumn name="LAND_AREA" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURVEY_PLAN_NUMBER" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/><referenceColumn name="ENCUMBRANCE_REASON" dataType="DT_WSTR" length="500" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPAL_ZONING" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VOLUMETRIC_PARCEL" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_MEASUREMENT" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_OWNED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROPERTY_OF_INTEREST" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VISIBLE_TO_OTHER_AGENCIES" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_SENSITIVE" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROVINCIAL_PUBLIC_HWY" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_RWY_BELT_DOM_PATENT" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING_POTENTIAL" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + name="ReferenceMetadataXml"><referenceMetadata><referenceColumns><referenceColumn name="PERSON_ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_USAGE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> #{Package\Load BCTFA Properties\PMBC_POLYGON_FABRIC.Outputs[OLE DB Source Output].Columns[PID]}; + name="ParameterMap">#{Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PERSON_ID]};#{Package\Load Person Address and Organization Address\Adderss ID in PIMS Address.Outputs[Lookup Match Output].Columns[ADDRESS_ID]}; + refId="Package\Load Person Address and Organization Address\PIMS_ADDRESS records to be updated.Inputs[Lookup Input].Columns[PERSON_ID]" + cachedDataType="i8" + cachedName="PERSON_ID" + lineageId="Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PERSON_ID]"> PID + name="JoinToReferenceColumn">PERSON_ID + + + + + + ADDRESS_ID + synchronousInputId="Package\Load Person Address and Organization Address\PIMS_ADDRESS records to be updated.Inputs[Lookup Input]"> + synchronousInputId="Package\Load Person Address and Organization Address\PIMS_ADDRESS records to be updated.Inputs[Lookup Input]"> + synchronousInputId="Package\Load Person Address and Organization Address\PIMS_ADDRESS records to be updated.Inputs[Lookup Input]"> @@ -47426,65 +35923,213 @@ where [refTable].[PID] = ? + version="6"> 0 + dataType="System.String" + description="Specifies the SQL statement that generates the lookup table." + expressionType="Notify" + name="SqlCommand" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_ORGANIZATION_ADDRESS] [dbo].[PIMS_PROPERTY] + description="Specifies a SQL statement that uses parameters to generate the lookup table." + expressionType="Notify" + name="SqlCommandParam" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_ORGANIZATION_ADDRESS]) [refTable] +where [refTable].[ORGANIZATION_ID] = ? and [refTable].[ADDRESS_ID] = ? and [refTable].[ADDRESS_USAGE_TYPE_CODE] = ? + 0 + 0 + 1 + 0 + 25 + 25 + description="Indicates whether to reference metadata in an XML format." + name="ReferenceMetadataXml"><referenceMetadata><referenceColumns><referenceColumn name="ORGANIZATION_ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_USAGE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + description="Specifies the list of lineage identifiers that map to the parameters that the SQL statement in the SQLCommand property uses. Entries in the list are separated by semicolons." + name="ParameterMap">#{Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ORGANIZATION_ID]};#{Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ADDRESS_ID]};#{Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ADDRESS_USAGE_TYPE_CODE]}; 1252 false + description="Determines whether duplicate keys in the reference data should be treated as errors when full cache mode is used." + name="TreatDuplicateKeysAsError">false + + + + + + + + + + ORGANIZATION_ID + + + + + + ADDRESS_ID + + + + + + ADDRESS_USAGE_TYPE_CODE + + + + + + + + + + + + + + + + + + + + + + + + + 3 - false - false + description="The number of seconds before a command times out. A value of 0 indicates an infinite time-out." + name="CommandTimeout">0 + description="The SQL command to be executed." + expressionType="Notify" + name="SqlCommand" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update PIMS_ORGANIZATION_ADDRESS +set ORGANIZATION_ID=?, +ADDRESS_ID=?, +ADDRESS_USAGE_TYPE_CODE=? +where app_last_update_userid=? 2147483647 + description="Specifies the column code page to use when code page information is unavailable from the data source." + name="DefaultCodePage">1252 + name="OLE DB Command Input"> - - - - - - - - - - - - - - + refId="Package\Load Person Address and Organization Address\Update PIMS_ORGANIZATION_ADDRESS.Inputs[OLE DB Command Input].Columns[ORGANIZATION_ID]" + cachedDataType="i8" + cachedName="ORGANIZATION_ID" + cachedSortKeyPosition="1" + externalMetadataColumnId="Package\Load Person Address and Organization Address\Update PIMS_ORGANIZATION_ADDRESS.Inputs[OLE DB Command Input].ExternalColumns[Param_0]" + lineageId="Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ORGANIZATION_ID]" /> + refId="Package\Load Person Address and Organization Address\Update PIMS_ORGANIZATION_ADDRESS.Inputs[OLE DB Command Input].Columns[ADDRESS_ID]" + cachedDataType="i8" + cachedName="ADDRESS_ID" + cachedSortKeyPosition="2" + externalMetadataColumnId="Package\Load Person Address and Organization Address\Update PIMS_ORGANIZATION_ADDRESS.Inputs[OLE DB Command Input].ExternalColumns[Param_1]" + lineageId="Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ADDRESS_ID]" /> + cachedLength="7" + cachedName="ADDRESS_USAGE_TYPE_CODE" + cachedSortKeyPosition="3" + externalMetadataColumnId="Package\Load Person Address and Organization Address\Update PIMS_ORGANIZATION_ADDRESS.Inputs[OLE DB Command Input].ExternalColumns[Param_2]" + lineageId="Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ADDRESS_USAGE_TYPE_CODE]" /> - - - - - - - - + externalMetadataColumnId="Package\Load Person Address and Organization Address\Update PIMS_ORGANIZATION_ADDRESS.Inputs[OLE DB Command Input].ExternalColumns[Param_3]" + lineageId="Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[APP_LAST_UPDATE_USERID]" /> - - - - + name="Param_0"> + + 81 + + - - - - + name="Param_1"> + + 81 + + + name="Param_2"> + + 65 + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + name="Param_3"> + + 65 + + + + + + name="OLE DB Command Error Output" + synchronousInputId="Package\Load Person Address and Organization Address\Update PIMS_ORGANIZATION_ADDRESS.Inputs[OLE DB Command Input]"> @@ -47959,64 +36257,36 @@ where [refTable].[PID] = ? + version="2"> 0 - [dbo].[PIMS_PROPERTY_HIST] - + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update pims_person_address +set PERSON_ID=?, +ADDRESS_ID=?, +ADDRESS_USAGE_TYPE_CODE=? +where app_last_update_userid=? 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 + name="OLE DB Command Input"> - - - - - - - - - - - - - - - - - - - - - - - - - - - + cachedName="PERSON_ID" + externalMetadataColumnId="Package\Load Person Address and Organization Address\Update PIMS_PERSON_ADDRESS.Inputs[OLE DB Command Input].ExternalColumns[Param_0]" + lineageId="Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PERSON_ID]" /> + refId="Package\Load Person Address and Organization Address\Update PIMS_PERSON_ADDRESS.Inputs[OLE DB Command Input].Columns[ADDRESS_ID]" + cachedDataType="i8" + cachedName="ADDRESS_ID" + externalMetadataColumnId="Package\Load Person Address and Organization Address\Update PIMS_PERSON_ADDRESS.Inputs[OLE DB Command Input].ExternalColumns[Param_1]" + lineageId="Package\Load Person Address and Organization Address\Adderss ID in PIMS Address.Outputs[Lookup Match Output].Columns[ADDRESS_ID]" /> + cachedName="ADDRESS_USAGE_TYPE_CODE" + externalMetadataColumnId="Package\Load Person Address and Organization Address\Update PIMS_PERSON_ADDRESS.Inputs[OLE DB Command Input].ExternalColumns[Param_2]" + lineageId="Package\Load Person Address and Organization Address\Audit Trail.Outputs[Derived Column Output].Columns[ADDRESS_USAGE_TYPE_CODE]" /> + cachedLength="23" + cachedName="AUDIT_TRAIL_APP_LAST_UPDATE_USERID" + externalMetadataColumnId="Package\Load Person Address and Organization Address\Update PIMS_PERSON_ADDRESS.Inputs[OLE DB Command Input].ExternalColumns[Param_3]" + lineageId="Package\Load Person Address and Organization Address\Audit Trail.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_LAST_UPDATE_USERID]" /> - - - - - - - + name="Param_0"> + + 81 + + - - - - - - - - + name="Param_1"> + + 81 + + - - + name="Param_2"> + + 65 + + - - + + 65 + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -48515,373 +36410,637 @@ where [refTable].[PID] = ? + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - select * from [dbo].[PIMS_PROPERTY] - select * from (select * from [dbo].[PIMS_PROPERTY]) [refTable] -where [refTable].[NAME] = ? and [refTable].[DESCRIPTION] = ? and [refTable].[PID] = ? and [refTable].[PIN] = ? and [refTable].[SURVEY_PLAN_NUMBER] = ? and [refTable].[IS_OWNED] = ? and [refTable].[IS_PROPERTY_OF_INTEREST] = ? and [refTable].[IS_VISIBLE_TO_OTHER_AGENCIES] = ? and [refTable].[IS_SENSITIVE] = ? and [refTable].[PROPERTY_TYPE_CODE] = ? and [refTable].[PROPERTY_CLASSIFICATION_TYPE_CODE] = ? and [refTable].[PROPERTY_AREA_UNIT_TYPE_CODE] = ? and [refTable].[PROPERTY_DATA_SOURCE_TYPE_CODE] = ? and [refTable].[PROPERTY_STATUS_TYPE_CODE] = ? and [refTable].[SURPLUS_DECLARATION_TYPE_CODE] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PROPERTY_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_MANAGER_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROP_MGMT_ORG_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_CLASSIFICATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_AREA_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUME_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_EFFECTIVE_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="PID" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PIN" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER_SUFFIX" dataType="DT_WSTR" length="2" precision="0" scale="0" codePage="0"/><referenceColumn name="LAND_AREA" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LAND_LEGAL_DESCRIPTION" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="BOUNDARY" dataType="DT_IMAGE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LOCATION" dataType="DT_IMAGE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURVEY_PLAN_NUMBER" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/><referenceColumn name="ENCUMBRANCE_REASON" dataType="DT_WSTR" length="500" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="NOTES" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPAL_ZONING" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VOLUMETRIC_PARCEL" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_MEASUREMENT" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_OWNED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROPERTY_OF_INTEREST" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VISIBLE_TO_OTHER_AGENCIES" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_SENSITIVE" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROVINCIAL_PUBLIC_HWY" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_RWY_BELT_DOM_PATENT" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING_POTENTIAL" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load BCTFA Properties\PMBC_POLYGON_FABRIC.Outputs[OLE DB Source Output].Columns[NAME]};#{Package\Load BCTFA Properties\PMBC_POLYGON_FABRIC.Outputs[OLE DB Source Output].Columns[DESCRIPTION]};#{Package\Load BCTFA Properties\PMBC_POLYGON_FABRIC.Outputs[OLE DB Source Output].Columns[PID]};#{Package\Load BCTFA Properties\PMBC_POLYGON_FABRIC.Outputs[OLE DB Source Output].Columns[PIN]};#{Package\Load BCTFA Properties\PMBC_POLYGON_FABRIC.Outputs[OLE DB Source Output].Columns[SURVEY_PLAN_NUMBER]};#{Package\Load BCTFA Properties\PMBC_POLYGON_FABRIC.Outputs[OLE DB Source Output].Columns[IS_OWNED]};#{Package\Load BCTFA Properties\PMBC_POLYGON_FABRIC.Outputs[OLE DB Source Output].Columns[IS_PROPERTY_OF_INTEREST]};#{Package\Load BCTFA Properties\PMBC_POLYGON_FABRIC.Outputs[OLE DB Source Output].Columns[IS_VISIBLE_TO_OTHER_AGENCIES]};#{Package\Load BCTFA Properties\PMBC_POLYGON_FABRIC.Outputs[OLE DB Source Output].Columns[IS_SENSITIVE]};#{Package\Load BCTFA Properties\Data Conversion.Outputs[Data Conversion Output].Columns[Unicode PROPERTY_TYPE_CODE]};#{Package\Load BCTFA Properties\Data Conversion.Outputs[Data Conversion Output].Columns[Unicode PROPERTY_CLASSIFICATION_TYPE_CODE]};#{Package\Load BCTFA Properties\Data Conversion.Outputs[Data Conversion Output].Columns[Unicode PROPERTY_AREA_UNIT_TYPE_CODE]};#{Package\Load BCTFA Properties\Data Conversion.Outputs[Data Conversion Output].Columns[Unicode PROPERTY_DATA_SOURCE_TYPE_CODE]};#{Package\Load BCTFA Properties\Data Conversion.Outputs[Data Conversion Output].Columns[Unicode PROPERTY_STATUS_TYPE_CODE]};#{Package\Load BCTFA Properties\Data Conversion.Outputs[Data Conversion Output].Columns[Unicode SURPLUS_DECLARATION_TYPE_CODE]}; - 1252 - false - - - - + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\AUDIT TRAIL" + componentClassID="Microsoft.DerivedColumn" + contactInfo="Derived Column;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;0" + description="Creates new column values by applying expressions to transformation input columns. Create new columns or overwrite existing ones. For example, concatenate the values from the 'first name' and 'last name' column to make a 'full name' column." + name="AUDIT TRAIL" + usesDispositions="true"> + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\AUDIT TRAIL.Inputs[Derived Column Input]" + description="Input to the Derived Column Transformation" + name="Derived Column Input"> + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\AUDIT TRAIL.Inputs[Derived Column Input].Columns[PID_NO]" + cachedDataType="numeric" + cachedName="PID_NO" + cachedPrecision="9" + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\PAM PROPERTY.Outputs[OLE DB Source Output].Columns[PID_NO]" /> + + + + + + + + NAME + description="Derived Column Expression" + name="Expression">"APP_PIMS_PROXY_ETL_EDIT" + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"APP_PIMS_PROXY_ETL_EDIT" - - + + DESCRIPTION + description="Derived Column Expression" + name="Expression">"PID_NO:" + (DT_WSTR,12)#{Package\Load PIMS_PROP_PROP_TENURE_TYPE\PAM PROPERTY.Outputs[OLE DB Source Output].Columns[PID_NO]} + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"PID_NO:" + (DT_WSTR,12)PID_NO - - + + PID + description="Derived Column Expression" + name="Expression">"APP_PIMS_PROXY_ETL_EDIT" + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"APP_PIMS_PROXY_ETL_EDIT" - - + + PIN + description="Derived Column Expression" + name="Expression">"place_holder" + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"place_holder" - + + + + + + + + + + + + + + + + + - - SURVEY_PLAN_NUMBER - - - + cachedLength="2" + cachedName="PROPERTY_TENURE_TYPE_CODE" + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\PAM PROPERTY.Outputs[OLE DB Source Output].Columns[PROPERTY_TENURE_TYPE_CODE]" /> + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Data Conversion.Inputs[Data Conversion Input].Columns[PID_NO]" + cachedDataType="numeric" + cachedName="PID_NO" + cachedPrecision="9" + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\PAM PROPERTY.Outputs[OLE DB Source Output].Columns[PID_NO]" /> + + + + + + + + IS_OWNED + containsID="true" + dataType="System.Int32" + description="Specifies the input column used as the source of data for the conversion." + name="SourceInputColumnLineageID">#{Package\Load PIMS_PROP_PROP_TENURE_TYPE\PAM PROPERTY.Outputs[OLE DB Source Output].Columns[PID_NO]} + dataType="System.Boolean" + description="Indicates whether the column uses the faster, locale-neutral parsing routines." + name="FastParse">false - - + + IS_PROPERTY_OF_INTEREST + containsID="true" + dataType="System.Int32" + description="Specifies the input column used as the source of data for the conversion." + name="SourceInputColumnLineageID">#{Package\Load PIMS_PROP_PROP_TENURE_TYPE\PAM PROPERTY.Outputs[OLE DB Source Output].Columns[PROPERTY_TENURE_TYPE_CODE]} + dataType="System.Boolean" + description="Indicates whether the column uses the faster, locale-neutral parsing routines." + name="FastParse">false - + + + + + + + + + + + + + + + + + - - IS_VISIBLE_TO_OTHER_AGENCIES - - - + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Derived Column.Inputs[Derived Column Input].Columns[ErrorCode]" + cachedDataType="i4" + cachedName="ErrorCode" + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Insert PROP_PROP_TENURE_TYPE.Outputs[OLE DB Destination Error Output].Columns[ErrorCode]" /> + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Derived Column.Inputs[Derived Column Input].Columns[ErrorColumn]" + cachedDataType="i4" + cachedName="ErrorColumn" + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Insert PROP_PROP_TENURE_TYPE.Outputs[OLE DB Destination Error Output].Columns[ErrorColumn]" /> + + + + + + + + + + + IS_SENSITIVE + description="Derived Column Expression" + name="Expression">[GETDATE]() + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">GETDATE() - - + + PROPERTY_TYPE_CODE + description="Derived Column Expression" + name="Expression">"Load PIMS_PROP_PROP_TENURE_TYPE" + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"Load PIMS_PROP_PROP_TENURE_TYPE" - - + + PROPERTY_CLASSIFICATION_TYPE_CODE + description="Derived Column Expression" + name="Expression">"PIMS_PROP_PROP_TENURE_TYPE" + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"PIMS_PROP_PROP_TENURE_TYPE" - - + + PROPERTY_AREA_UNIT_TYPE_CODE + description="Derived Column Expression" + name="Expression">"PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" - - + + PROPERTY_DATA_SOURCE_TYPE_CODE + description="Derived Column Expression" + name="Expression">#{Package\Load PIMS_PROP_PROP_TENURE_TYPE\Insert PROP_PROP_TENURE_TYPE.Outputs[OLE DB Destination Error Output].Columns[ErrorCode]} + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">ErrorCode - - + + PROPERTY_STATUS_TYPE_CODE + description="Derived Column Expression" + name="Expression">#{Package\Load PIMS_PROP_PROP_TENURE_TYPE\Insert PROP_PROP_TENURE_TYPE.Outputs[OLE DB Destination Error Output].Columns[ErrorColumn]} + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">ErrorColumn - - + + SURPLUS_DECLARATION_TYPE_CODE + description="Derived Column Expression" + name="Expression">"PROPERTY_TENURE_TYPE_CODE" + #{Package\Load PIMS_PROP_PROP_TENURE_TYPE\PAM PROPERTY.Outputs[OLE DB Source Output].Columns[PROPERTY_TENURE_TYPE_CODE]} + "APP_CREATE_USER_DIRECTORY(PID)" + #{Package\Load PIMS_PROP_PROP_TENURE_TYPE\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]} + " PID_NO: " + (DT_WSTR,25)#{Package\Load PIMS_PROP_PROP_TENURE_TYPE\PAM PROPERTY.Outputs[OLE DB Source Output].Columns[PID_NO]} + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"PROPERTY_TENURE_TYPE_CODE" + PROPERTY_TENURE_TYPE_CODE + "APP_CREATE_USER_DIRECTORY(PID)" + AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY + " PID_NO: " + (DT_WSTR,25)PID_NO - - - - - - - - - - + + + name="Derived Column Error Output" + synchronousInputId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Derived Column.Inputs[Derived Column Input]"> @@ -48890,4704 +37049,237 @@ where [refTable].[NAME] = ? and [refTable].[DESCRIPTION] = ? and [refTable].[PID - - 0 - - - SELECT 'CROWNPSRVD' AS PROPERTY_TYPE_CODE - , 'COREOPER' AS PROPERTY_CLASSIFICATION_TYPE_CODE - , 4 AS REGION_CODE - , 12 AS DISTRICT_CODE - , IIF(FEATURE_AREA_SQM IS NOT NULL, 'M2', NULL) AS PROPERTY_AREA_UNIT_TYPE_CODE - , 'PMBCPOLY' AS PROPERTY_DATA_SOURCE_TYPE_CODE - , 'FEESIMP' AS PROPERTY_STATUS_TYPE_CODE - , 'NO' AS SURPLUS_DECLARATION_TYPE_CODE - , IIF(PARCEL_START_DATE IS NOT NULL, PARCEL_START_DATE, WHEN_CREATED) AS PROPERTY_DATA_SOURCE_EFFECTIVE_DATE - , PARCEL_NAME AS NAME - , LEGAL_DESCRIPTION AS DESCRIPTION - , PID_NUMBER AS PID - , PIN AS PIN - , CAST(FEATURE_AREA_SQM AS REAL) AS LAND_AREA - , LEGAL_DESCRIPTION AS LAND_LEGAL_DESCRIPTION - , SHAPE AS BOUNDARY - , IIF(SHAPE.STIsValid() = 1, SHAPE.STCentroid(), NULL) AS LOCATION - , PLAN_NUMBER AS SURVEY_PLAN_NUMBER - , CONVERT([bit],(1)) AS IS_OWNED - , CONVERT([bit],(0)) AS IS_PROPERTY_OF_INTEREST - , CONVERT([bit],(1)) AS IS_VISIBLE_TO_OTHER_AGENCIES - , CONVERT([bit],(0)) AS IS_SENSITIVE -FROM pmbc.PMBC_PARCEL_POLYGON_FABRIC pmbc -where pmbc.pid_number in (16004, -16012, -16021, -16063, -16071, -16080, -16101, -16144, -16161, -16276, -16314, -16373, -16381, -16390, -16403, -16411, -16420, -16438, -16446, -16896, -16900, -16918, -16926, -16934, -16942, -16951, -16969, -16977, -16985, -16993, -17001, -17019, -17027, -17035, -17043, -17051, -17086, -17094, -17108, -17361, -17370, -17388, -17396, -17400, -17418, -17426, -17434, -17442, -17451, -17469, -17477, -17485, -17493, -17507, -17515, -17523, -17531, -17540, -17558, -17566, -17574, -17582, -17591, -17604, -17612, -17621, -17639, -17647, -17655, -17663, -17671, -17680, -17698, -17701, -17710, -17728, -17736, -17744, -17752, -17761, -17779, -17787, -17795, -37141, -53112, -78492, -100439, -100579, -122645, -122653, -122696, -122700, -141429, -148695, -173886, -181544, -201596, -217999, -238431, -264466, -289311, -296457, -325295, -325309, -328146, -345385, -376051, -376108, -424871, -435490, -453544, -455083, -484016, -504874, -508322, -536458, -553263, -601802, -636126, -636797, -637301, -644358, -676781, -726460, -730599, -730866, -746681, -750956, -773344, -832570, -835838, -838993, -839043, -849341, -879100, -880647, -884901, -886874, -913651, -942073, -961752, -961868, -962074, -962121, -962147, -962155, -969630, -976920, -1006983, -1006991, -1042211, -1067397, -1067419, -1067451, -1067486, -1067532, -1067559, -1067583, -1067613, -1067664, -1067681, -1067711, -1067753, -1070134, -1070142, -1085905, -1094483, -1105361, -1105370, -1105388, -1105396, -1105418, -1120263, -1126709, -1151363, -1151371, -1178768, -1179217, -1213041, -1279220, -1291246, -1342177, -1398083, -1421930, -1434853, -1451651, -1463446, -1537393, -1537407, -1565664, -1565788, -1565931, -1566024, -1566164, -1566318, -1566351, -1566369, -1566512, -1566539, -1566563, -1566831, -1566865, -1567187, -1567250, -1567314, -1567365, -1567373, -1567390, -1567411, -1567578, -1567641, -1567772, -1567781, -1567951, -1567993, -1568299, -1568418, -1568477, -1568485, -1568515, -1568710, -1568809, -1568841, -1569392, -1569406, -1569643, -1571885, -1574183, -1574230, -1574876, -1580990, -1582411, -1583646, -1583727, -1584855, -1585410, -1585452, -1585592, -1585746, -1585801, -1585827, -1585878, -1586246, -1586459, -1587447, -1587706, -1588061, -1588087, -1588109, -1588206, -1588265, -1590103, -1590537, -1590731, -1590812, -1590928, -1591045, -1591096, -1591151, -1591223, -1591452, -1592017, -1592041, -1592408, -1592556, -1592564, -1592653, -1592734, -1592858, -1592947, -1593145, -1593293, -1593323, -1593358, -1593391, -1593439, -1593536, -1593587, -1593633, -1594214, -1597396, -1598112, -1598368, -1598414, -1600087, -1603655, -1604708, -1604724, -1604775, -1604872, -1606573, -1606620, -1606654, -1607545, -1607740, -1620363, -1620622, -1620762, -1620827, -1621751, -1622137, -1622323, -1622579, -1623672, -1623699, -1623869, -1624091, -1624181, -1624261, -1624300, -1624652, -1624822, -1624938, -1633643, -1633651, -1635506, -1635883, -1636227, -1636499, -1636634, -1636707, -1636855, -1637169, -1637371, -1637479, -1637851, -1638050, -1638106, -1638335, -1640755, -1640976, -1641107, -1641140, -1641344, -1643479, -1643525, -1643568, -1643592, -1643801, -1643983, -1644157, -1644394, -1644645, -1644840, -1645846, -1646206, -1646265, -1646389, -1646435, -1646575, -1646770, -1647041, -1649850, -1653334, -1653491, -1656431, -1656481, -1656546, -1656937, -1657593, -1657631, -1657674, -1657976, -1659766, -1660063, -1660128, -1660217, -1661671, -1662597, -1665189, -1668323, -1668366, -1668595, -1673459, -1673475, -1673581, -1673661, -1673696, -1673904, -1673939, -1674005, -1674048, -1674081, -1674951, -1675192, -1675231, -1675338, -1675508, -1675630, -1684001, -1689690, -1703196, -1704311, -1704371, -1704486, -1705687, -1705989, -1706063, -1706098, -1706292, -1706357, -1706403, -1706721, -1706764, -1708147, -1709232, -1709321, -1709330, -1710711, -1710770, -1710851, -1710907, -1710940, -1711253, -1711296, -1711326, -1712128, -1712152, -1712161, -1712284, -1712462, -1713078, -1713272, -1713531, -1713647, -1713680, -1714091, -1714121, -1714198, -1714252, -1714309, -1714678, -1715151, -1715232, -1715399, -1715712, -1716077, -1718037, -1718061, -1718100, -1718258, -1718312, -1718371, -1718801, -1727150, -1730053, -1730061, -1730070, -1730096, -1776142, -1777505, -1794728, -1797620, -1799274, -1819755, -1827391, -1887726, -1905694, -1911392, -1911457, -1912542, -1913042, -1956787, -1956809, -1977041, -2073111, -2078601, -2082331, -2113716, -2113937, -2115701, -2135469, -2158477, -2172232, -2213877, -2238063, -2246686, -2249456, -2252759, -2253178, -2257246, -2259940, -2271265, -2308410, -2314002, -2314215, -2315203, -2315211, -2315238, -2315254, -2315262, -2315289, -2315297, -2315831, -2316137, -2319586, -2330938, -2334241, -2344238, -2344602, -2344700, -2348047, -2361434, -2362210, -2381788, -2397072, -2399237, -2399652, -2399725, -2399822, -2402238, -2410397, -2425904, -2435233, -2435268, -2435284, -2435381, -2435411, -2435420, -2435438, -2435462, -2442728, -2453738, -2465361, -2465418, -2472660, -2473704, -2504910, -2518911, -2520150, -2535378, -2549760, -2553121, -2553929, -2586959, -2590956, -2607026, -2611392, -2639904, -2639921, -2639947, -2653541, -2656523, -2683253, -2689154, -2691108, -2698323, -2707136, -2734079, -2746778, -2747081, -2748045, -2753341, -2756200, -2773112, -2788551, -2805553, -2807726, -2810352, -2812991, -2833123, -2833174, -2833212, -2833239, -2833263, -2833280, -2833298, -2833913, -2833948, -2836041, -2836564, -2837307, -2837668, -2837731, -2839601, -2844176, -2848392, -2848406, -2866765, -2873176, -2876868, -2880334, -2880377, -2882566, -2896281, -2906139, -2909057, -2909111, -2909154, -2909189, -2909201, -2909227, -2909243, -2909251, -2909260, -2909308, -2909324, -2909359, -2909421, -2909456, -2909553, -2909651, -2910837, -2910853, -2910861, -2910870, -2910896, -2910900, -2910918, -2910934, -2910942, -2910969, -2910977, -2911019, -2911043, -2911060, -2911078, -2911086, -2911094, -2911108, -2911116, -2911159, -2911175, -2911183, -2911191, -2911205, -2911230, -2922517, -2925028, -2932083, -2932270, -2933365, -2936143, -2937522, -2938901, -2946041, -2950197, -2954206, -2962543, -2963931, -2979501, -2981882, -2982331, -2987490, -2994895, -3000991, -3002608, -3013405, -3022803, -3022811, -3022838, -3028453, -3049469, -3053687, -3053938, -3055779, -3057011, -3057119, -3057151, -3057305, -3060438, -3071103, -3072126, -3072193, -3072223, -3072509, -3072533, -3078485, -3094090, -3094294, -3094316, -3097277, -3097706, -3122271, -3169774, -3175944, -3175979, -3175987, -3176002, -3177939, -3192288, -3212548, -3216128, -3227111, -3234631, -3257843, -3257860, -3301001, -3301699, -3307409, -3309321, -3314448, -3323188, -3325261, -3352552, -3355870, -3371701, -3371841, -3371883, -3371913, -3371956, -3371999, -3372022, -3372073, -3372120, -3372154, -3391574, -3399478, -3404471, -3414370, -3418774, -3421244, -3431517, -3431631, -3431665, -3439224, -3442951, -3454541, -3454550, -3459993, -3461645, -3461688, -3512371, -3516687, -3518132, -3528308, -3541568, -3576825, -3587398, -3592723, -3592791, -3635201, -3644405, -3644430, -3652831, -3663612, -3699480, -3709957, -3710823, -3732151, -3751970, -3756858, -3757391, -3771482, -3780821, -3780899, -3780929, -3809731, -3812316, -3820394, -3831655, -3842878, -3842894, -3852571, -3855571, -3862071, -3862372, -3862585, -3862747, -3862861, -3862895, -3863051, -3864197, -3864332, -3869890, -3888037, -3891062, -3917673, -3926231, -3926249, -3940934, -3956032, -3959210, -3980308, -3980316, -3992900, -4041712, -4041721, -4073266, -4076320, -4082664, -4086023, -4117956, -4154207, -4165331, -4169352, -4169654, -4188772, -4207416, -4216563, -4266790, -4275861, -4283716, -4285522, -4285531, -4290739, -4300017, -4307097, -4310349, -4346581, -4356110, -4358988, -4361024, -4379713, -4380941, -4385705, -4396529, -4400216, -4410033, -4410254, -4410262, -4422911, -4422953, -4457005, -4457013, -4473442, -4481011, -4490444, -4490461, -4493737, -4501306, -4517211, -4517237, -4517253, -4517270, -4519230, -4519256, -4522770, -4522877, -4523628, -4528336, -4537360, -4538439, -4551907, -4572602, -4572629, -4572645, -4572670, -4572688, -4576471, -4587731, -4600711, -4616987, -4625277, -4627709, -4634098, -4645855, -4645863, -4668995, -4669380, -4710045, -4720164, -4735153, -4765176, -4783174, -4786050, -4786068, -4786645, -4800125, -4808401, -4816811, -4846907, -4846915, -4846923, -4898354, -4926986, -4940164, -4956478, -4969847, -4974255, -4974352, -4975162, -4978994, -4980085, -4982100, -4982126, -4988434, -5036160, -5039070, -5053447, -5053528, -5054052, -5056144, -5057205, -5057213, -5061075, -5070511, -5075521, -5083991, -5090083, -5090091, -5090105, -5090113, -5090121, -5090130, -5090156, -5090164, -5090172, -5090199, -5128382, -5136954, -5151147, -5160928, -5169445, -5175909, -5176018, -5179785, -5181976, -5220181, -5221871, -5221960, -5246881, -5263751, -5273731, -5273757, -5273765, -5273803, -5284619, -5294002, -5294151, -5298164, -5307821, -5307856, -5307899, -5312680, -5327814, -5340853, -5359481, -5363900, -5371627, -5372054, -5372551, -5372607, -5384281, -5384311, -5384435, -5388741, -5395062, -5431387, -5437440, -5445469, -5450349, -5450381, -5459834, -5473837, -5473853, -5473870, -5473896, -5479380, -5479436, -5480655, -5484022, -5486432, -5491401, -5527481, -5550769, -5588910, -5590990, -5608481, -5612063, -5622743, -5622794, -5622808, -5622824, -5622832, -5622841, -5622883, -5626561, -5638739, -5644861, -5649293, -5649307, -5650305, -5650739, -5662818, -5673038, -5673062, -5683203, -5687268, -5700337, -5700345, -5700426, -5700442, -5700485, -5700515, -5700558, -5700574, -5700612, -5700698, -5700701, -5700710, -5700744, -5700817, -5700825, -5700868, -5700876, -5700892, -5700922, -5720125, -5723272, -5726981, -5727022, -5727049, -5727243, -5736161, -5741491, -5763070, -5763631, -5763657, -5764068, -5766761, -5767849, -5777968, -5788757, -5822955, -5840287, -5843049, -5843081, -5846595, -5846609, -5846641, -5865115, -5868530, -5880271, -5884110, -5888212, -5895693, -5895731, -5895855, -5895901, -5895936, -5896703, -5896835, -5915449, -5915821, -5915996, -5916399, -5916437, -5919240, -5919746, -5926271, -5948983, -5956978, -5960681, -5972434, -5972485, -5972507, -5972531, -5980071, -5980097, -5980101, -5980160, -5984149, -6004571, -6004946, -6015531, -6027024, -6049770, -6049869, -6052649, -6052690, -6053351, -6059473, -6063934, -6070051, -6070141, -6080421, -6091407, -6098894, -6109136, -6117015, -6124623, -6125336, -6134131, -6142206, -6143008, -6144047, -6156801, -6159915, -6183875, -6184031, -6198848, -6201181, -6205861, -6205976, -6220827, -6225268, -6227481, -6227597, -6238424, -6249451, -6257232, -6270433, -6270450, -6270492, -6270531, -6270565, -6270590, -6273238, -6273718, -6273751, -6290213, -6305130, -6305288, -6305750, -6308066, -6310583, -6311237, -6326471, -6326501, -6333702, -6334997, -6347142, -6351506, -6356273, -6358896, -6364560, -6385575, -6391605, -6395562, -6400850, -6404243, -6410693, -6414303, -6415202, -6428118, -6440487, -6440614, -6440771, -6441319, -6441572, -6441645, -6445110, -6447287, -6448747, -6465471, -6467024, -6491839, -6492371, -6492428, -6503772, -6515801, -6520570, -6520588, -6520596, -6520618, -6520634, -6520669, -6520685, -6520707, -6520731, -6524257, -6544843, -6558399, -6560539, -6572481, -6594301, -6604099, -6631126, -6633463, -6639402, -6639585, -6641229, -6642276, -6646964, -6679285, -6689230, -6696813, -6717608, -6732186, -6736254, -6736521, -6743331, -6744869, -6750575, -6750770, -6750915, -6769071, -6786596, -6790160, -6790402, -6790429, -6807321, -6813593, -6813666, -6813691, -6813704, -6816177, -6830145, -6833322, -6879802, -6879837, -6879861, -6882854, -6894381, -6894399, -6896448, -6904777, -6914730, -6914748, -6914781, -6928323, -6934510, -6938167, -6948057, -6952275, -6974333, -6990134, -7013167, -7056401, -7101163, -7109211, -7127685, -7127871, -7146281, -7167083, -7178255, -7178395, -7196229, -7203373, -7203381, -7203390, -7203446, -7215061, -7215096, -7221614, -7221649, -7247427, -7253605, -7309767, -7312351, -7319134, -7319142, -7326483, -7375751, -7377860, -7379960, -7381964, -7386583, -7386591, -7400616, -7427751, -7428014, -7428103, -7428197, -7428201, -7428227, -7428235, -7428251, -7428260, -7428278, -7428324, -7428332, -7428341, -7428359, -7428391, -7428405, -7430418, -7440626, -7468083, -7468130, -7468148, -7468423, -7468741, -7480202, -7480377, -7482833, -7482850, -7482876, -7482922, -7482931, -7482965, -7483252, -7483279, -7483317, -7487959, -7487967, -7487983, -7487991, -7488009, -7488882, -7488921, -7489293, -7489307, -7489323, -7495561, -7496133, -7499132, -7507887, -7533675, -7545649, -7552840, -7568801, -7568827, -7568843, -7568851, -7576137, -7576153, -7576242, -7576251, -7576374, -7576382, -7576412, -7576447, -7576455, -7576650, -7577036, -7593422, -7593783, -7594011, -7609515, -7618271, -7618921, -7619103, -7619529, -7619588, -7628838, -7628846, -7628960, -7635753, -7638736, -7638752, -7668783, -7693150, -7718110, -7722192, -7722222, -7722257, -7722281, -7722346, -7722354, -7722371, -7722401, -7722443, -7722460, -7722508, -7722532, -7722567, -7722591, -7723385, -7729375, -7747934, -7760264, -7760388, -7760591, -7760647, -7760701, -7761015, -7761031, -7774958, -7774966, -7802277, -7802889, -7802951, -7803001, -7803044, -7803095, -7803150, -7803257, -7803346, -7803486, -7803745, -7803770, -7803796, -7818980, -7819668, -7844719, -7872003, -7894678, -7919816, -7928980, -7939515, -7940921, -7940955, -7940971, -7941005, -7941030, -7941064, -7941081, -7941111, -7948093, -7948158, -7990294, -7990308, -8004293, -8013926, -8032343, -8032351, -8032360, -8048801, -8080615, -8080623, -8080631, -8080674, -8098565, -8099821, -8099880, -8099944, -8118302, -8143226, -8150711, -8168555, -8168636, -8168857, -8172501, -8192294, -8196346, -8196630, -8204128, -8208671, -8226423, -8226431, -8226458, -8227128, -8235864, -8246823, -8254435, -8259682, -8260478, -8263795, -8263850, -8263876, -8270333, -8279071, -8299536, -8318824, -8359881, -8369461, -8369623, -8375224, -8377227, -8377260, -8377898, -8378029, -8378053, -8387052, -8391360, -8394873, -8394911, -8394962, -8395039, -8395080, -8399948, -8399964, -8399999, -8400032, -8400075, -8403970, -8404160, -8411913, -8424381, -8425906, -8427011, -8430438, -8438129, -8442827, -8442835, -8445940, -8446032, -8449929, -8450919, -8451010, -8451940, -8452474, -8452792, -8452831, -8453799, -8453861, -8468788, -8469172, -8479526, -8481431, -8487464, -8527351, -8534683, -8537704, -8557705, -8560196, -8569231, -8572852, -8585504, -8585580, -8596964, -8597413, -8609721, -8612340, -8631964, -8631972, -8635293, -8641137, -8653372, -8658315, -8670005, -8673110, -8683981, -8702632, -8702641, -8706611, -8723125, -8732507, -8736316, -8742049, -8742111, -8742898, -8744165, -8750858, -8750891, -8759529, -8765944, -8779074, -8783748, -8785384, -8786143, -8786194, -8789444, -8800723, -8802190, -8802262, -8803251, -8803269, -8803277, -8803285, -8803293, -8805652, -8806276, -8812349, -8824371, -8829381, -8833681, -8848980, -8852821, -8867917, -8874549, -8874816, -8881243, -8889198, -8890579, -8893110, -8899401, -8899525, -8903956, -8904685, -8908541, -8908559, -8908613, -8913595, -8920664, -8920672, -8922756, -8925348, -8925984, -8926042, -8928436, -8943206, -8966192, -8966222, -8966656, -8969604, -8969612, -8969663, -8981507, -8981671, -8988374, -8991880, -8992703, -9038884, -9045651, -9045708, -9045791, -9045937, -9046551, -9058541, -9059601, -9083154, -9085408, -9092951, -9096027, -9096426, -9117032, -9117181, -9117270, -9122958, -9126210, -9126279, -9140191, -9140204, -9140212, -9140221, -9140328, -9148043, -9148116, -9148264, -9148604, -9149015, -9151036, -9171479, -9172131, -9185593, -9188401, -9188665, -9188916, -9205942, -9206329, -9206388, -9206426, -9206477, -9206981, -9212434, -9213546, -9213635, -9217100, -9240616, -9242848, -9246991, -9247041, -9270566, -9287639, -9287973, -9294040, -9301852, -9307699, -9308130, -9308172, -9308229, -9308300, -9308334, -9308377, -9308385, -9309209, -9314393, -9319751, -9321977, -9325263, -9325476, -9325522, -9325611, -9325743, -9325999, -9326049, -9326081, -9327410, -9340092, -9340173, -9359575, -9363688, -9363980, -9364293, -9376658, -9376674, -9380574, -9385126, -9399780, -9399801, -9399810, -9399844, -9399861, -9399895, -9399917, -9399941, -9399950, -9399984, -9399992, -9400010, -9400052, -9400061, -9400087, -9400796, -9406328, -9409220, -9411585, -9411615, -9417222, -9421777, -9421785, -9421793, -9421807, -9421823, -9421840, -9426884, -9427295, -9427481, -9427864, -9432540, -9449094, -9449183, -9449744, -9461311, -9462821, -9463577, -9463933, -9465049, -9476067, -9480048, -9487387, -9499521, -9501266, -9501282, -9501347, -9501371, -9504257, -9514643, -9517847, -9519301, -9526471, -9529292, -9533389, -9540318, -9540695, -9549170, -9568379, -9573976, -9579303, -9580115, -9615601, -9636471, -9638296, -9638997, -9641530, -9644474, -9646914, -9650636, -9650946, -9651349, -9655581, -9657207, -9659790, -9662367, -9672770, -9676074, -9676121, -9679391, -9679651, -9680276, -9680306, -9680331, -9680373, -9680411, -9684263, -9689168, -9690531, -9698817, -9704221, -9707581, -9707662, -9713701, -9727337, -9727612, -9730982, -9739441, -9742522, -9749462, -9757295, -9757317, -9757376, -9759221, -9759875, -9760890, -9760903, -9760911, -9763082, -9763457, -9763538, -9763554, -9763759, -9763988, -9766987, -9768092, -9770933, -9780190, -9780815, -9786643, -9786678, -9805699, -9809091, -9812911, -9816194, -9820591, -9820612, -9826181, -9827170, -9827242, -9827340, -9827471, -9827625, -9827757, -9828141, -9838112, -9838210, -9846514, -9846590, -9852310, -9852328, -9852344, -9852379, -9852964, -9861335, -9872663, -9898930, -9899014, -9911413, -9936220, -9939679, -9944982, -9951831, -9956573, -9956727, -9958452, -9980873, -9987088, -9993851, -9998047, -9998292, -9998390, -9999019, -10002332, -10007121, -10010696, -10010726, -10010734, -10012044, -10012257, -10021019, -10044671, -10046071, -10046712, -10047034, -10047051, -10124438, -10125175, -10128239, -10128328, -10140611, -10148752, -10156364, -10163867, -10204610, -10228276, -10239839, -10243861, -10265554, -10283927, -10283960, -10287981, -10295518, -10297375, -10308610, -10315195, -10318631, -10318658, -10318704, -10318810, -10319298, -10319310, -10319581, -10328939, -10342257, -10342966, -10349421, -10357262, -10358749, -10358781, -10358820, -10364820, -10371001, -10371125, -10379754, -10385207, -10390898, -10390910, -10397302, -10397329, -10405941, -10408061, -10408517, -10418512, -10418547, -10418555, -10418563, -10432817, -10433601, -10442987, -10448985, -10449132, -10449183, -10449213, -10449230, -10449264, -10456481, -10459171, -10459189, -10459227, -10459235, -10459251, -10459286, -10459294, -10459316, -10464824, -10465103, -10465120, -10465219, -10465677, -10466991, -10467637, -10467815, -10474595, -10475915, -10477381, -10477390, -10488758, -10496459, -10496491, -10496548, -10496653, -10496700, -10496769, -10497013, -10497986, -10545182, -10546693, -10547916, -10547941, -10547959, -10548068, -10548084, -10552723, -10558918, -10564331, -10594485, -10596518, -10596551, -10653856, -10671391, -10673041, -10684816, -10684832, -10684867, -10694242, -10694277, -10717731, -10717749, -10720901, -10721061, -10725369, -10725377, -10725393, -10725407, -10725431, -10739025, -10744711, -10744819, -10744827, -10744835, -10751904, -10768211, -10768220, -10768238, -10768246, -10781129, -10783237, -10804366, -10804919, -10805087, -10805541, -10806121, -10806130, -10808477, -10846808, -10868101, -10874275, -10874330, -10874372, -10874411, -10910611, -10912185, -10915249, -10915788, -10915974, -10919473, -10925431, -10925465, -10930396, -10935703, -10935878, -10936335, -10936742, -10939628, -10939717, -10941665, -10953604, -10968351, -10968997, -10969012, -10969462, -10969471, -10969632, -10969659, -10969667, -10969861, -10969896, -10973851, -10978194, -10978712, -10981454, -10983902, -10986057, -10986065, -10986839, -10986871, -10986910, -10986944, -10986995, -10994769, -11009055, -11014652, -11014709, -11015641, -11016906, -11018038, -11022001, -11041404, -11062274, -11074876, -11085207, -11091533, -11094346, -11097655, -11097710, -11125462, -11130296, -11138114, -11145731, -11154039, -11154748, -11154756, -11154799, -11155213, -11155299, -11157071, -11157674, -11180579, -11182393, -11191961, -11192216, -11199903, -11207795, -11210401, -11212527, -11217901, -11218053, -11218096, -11234750, -11236051, -11236736, -11236892, -11237198, -11239387, -11239395, -11239603, -11248009, -11256630, -11256648, -11271426, -11281642, -11301783, -11301821, -11301929, -11303816, -11303824, -11304359, -11322314, -11322322, -11322331, -11322349, -11322357, -11322365, -11322381, -11322390, -11322403, -11322420, -11322438, -11322454, -11322462, -11322497, -11322519, -11322527, -11322551, -11322560, -11322594, -11322608, -11322659, -11322667, -11322675, -11323426, -11325976, -11330350, -11330368, -11330660, -11330716, -11331631, -11331640, -11331666, -11331691, -11331712, -11331721, -11331755, -11331771, -11331801, -11331828, -11331844, -11331879, -11331895, -11331925, -11331941, -11331976, -11332000, -11332042, -11332069, -11332093, -11334673, -11334681, -11335246, -11339527, -11348224, -11348241, -11351187, -11354194, -11356201, -11367237, -11367288, -11367369, -11367482, -11367539, -11368462, -11368497, -11368501, -11368527, -11368551, -11370491, -11370530, -11370602, -11370637, -11370645, -11370688, -11370700, -11370718, -11370777, -11376481, -11376651, -11383381, -11383429, -11384760, -11384786, -11389044, -11396822, -11402342, -11412160, -11412194, -11412216, -11412241, -11412275, -11412291, -11412305, -11412313, -11412330, -11412356, -11412381, -11412437, -11412445, -11412470, -11414758, -11417650, -11424559, -11431385, -11431539, -11432969, -11435313, -11449331, -11449373, -11449594, -11449632, -11449667, -11449675, -11449748, -11449799, -11451777, -11451793, -11451807, -11460709, -11471409, -11471981, -11472006, -11472014, -11472031, -11472049, -11516429, -11516453, -11516461, -11516615, -11517069, -11519673, -11519690, -11519762, -11523409, -11536390, -11537698, -11537779, -11537825, -11539551, -11542314, -11559802, -11582936, -11592982, -11592991, -11608102, -11616369, -11631121, -11635797, -11640812, -11643064, -11646225, -11686308, -11698411, -11724463, -11726725, -11726768, -11756896, -11759780, -11769254, -11772654, -11807466, -11816171, -11816180, -11816198, -11816201, -11816210, -11816228, -11816236, -11816244, -11816261, -11816279, -11819928, -11819944, -11819952, -11819961, -11819995, -11820004, -11831391, -11835656, -11835664, -11835672, -11844990, -11858354, -11858362, -11858371, -11858389, -11858397, -11858401, -11858419, -11858427, -11858435, -11858443, -11858451, -11858460, -11858478, -11858842, -11858869, -11858877, -11858885, -11858893, -11858923, -11858931, -11858958, -11858966, -11858974, -11858982, -11888997, -11889039, -11889055, -11889071, -11893613, -11921811, -11927721, -11929090, -11933658, -11962003, -11981075, -12042099, -12050997, -12072877, -12089290, -12089303, -12096903, -12104108, -12105821, -12105848, -12123188, -12148580, -12155721, -12177601, -12189294, -12190616, -12231088, -12231398, -12233439, -12233455, -12234109, -12235377, -12257486, -12264148, -12283011, -12285145, -12299227, -12321605, -12340880, -12369993, -12386774, -12386910, -12387991, -12393631, -12408352, -12412341, -12412376, -12457698, -12457701, -12476005, -12476561, -12480185, -12480193, -12480207, -12481971, -12482030, -12482081, -12482099, -12482838, -12500526, -12516856, -12519341, -12519359, -12519367, -12519405, -12519413, -12519430, -12519448, -12519464, -12521906, -12526151, -12526177, -12529877, -12546500, -12546526, -12558478, -12564273, -12572021, -12572039, -12572047, -12572063, -12574538, -12592421, -12592439, -12594547, -12605743, -12622834, -12622907, -12623881, -12640204, -12648302, -12648337, -12648388, -12667331, -12670111, -12681601, -12688550, -12693782, -12694991, -12700118, -12708097, -12711624, -12728390, -12734314, -12734748, -12734811, -12745961, -12745979, -12745987, -12746177, -12748617, -12750727, -12751022, -12751057, -12752304, -12759465, -12759473, -12759481, -12759503, -12759511, -12759538, -12759571, -12759805, -12759813, -12759821, -12765058, -12765091, -12765619, -12787540, -12793124, -12793159, -12796379, -12799122, -12824259, -12832685, -12857475, -12877425, -12905968, -12905984, -12905992, -12906000, -12909581, -12909599, -12909611, -12912727, -12916421, -12917320, -12917354, -12917389, -12926141, -12934071, -12942308, -12942421, -12950688, -12952940, -12953784, -12955167, -12975630, -12975656, -12977373, -12984957, -12999229, -13044443, -13066323, -13067583, -13067648, -13075055, -13081454, -13087495, -13101412, -13101421, -13101439, -13102478, -13120573, -13120689, -13120719, -13132342, -13138766, -13144545, -13144685, -13155342, -13163230, -13167499, -13170821, -13184768, -13189549, -13212192, -13215469, -13218506, -13224620, -13226134, -13226151, -13226177, -13226193, -13226215, -13226223, -13226231, -13226258, -13226274, -13226291, -13226304, -13235532, -13240366, -13252984, -13253000, -13259563, -13276123, -13276778, -13300415, -13320882, -13321196, -13333330, -13338137, -13341961, -13364090, -13366416, -13369792, -13407023, -13410369, -13431463, -13474081, -13477382, -13483102, -13483277, -13483323, -13483501, -13483757, -13483781, -13483846, -13483897, -13483943, -13484575, -13484613, -13484681, -13484737, -13503235, -13503332, -13508466, -13513869, -13514211, -13524771, -13525239, -13525395, -13525425, -13525506, -13525557, -13525581, -13525620, -13542303, -13549022, -13552376, -13565931, -13574086, -13589831, -13589865, -13589890, -13589903, -13589938, -13589954, -13589971, -13589997, -13590014, -13590057, -13590090, -13590103, -13590111, -13590120, -13590146, -13590162, -13590189, -13601113, -13601211, -13601407, -13601415, -13601423, -13601440, -13601652, -13601679, -13601687, -13601695, -13601709, -13601717, -13601725, -13601989, -13602012, -13602021, -13602039, -13602047, -13602055, -13602527, -13602535, -13602918, -13603493, -13603515, -13603523, -13603531, -13603698, -13603710, -13603736, -13603744, -13603752, -13603787, -13603817, -13605950, -13605976, -13610139, -13610350, -13611453, -13611577, -13611607, -13612034, -13612051, -13612077, -13612093, -13612123, -13614509, -13614517, -13614525, -13614975, -13614983, -13614991, -13631446, -13646257, -13656449, -13656481, -13656856, -13656872, -13659014, -13666835, -13667335, -13667611, -13667700, -13667777, -13667785, -13667793, -13669028, -13673360, -13675761, -13675770, -13675796, -13675923, -13675931, -13675940, -13675958, -13675966, -13676628, -13676687, -13676709, -13678604, -13678639, -13678655, -13678671, -13683373, -13686453, -13686461, -13687336, -13689461, -13691228, -13691244, -13691252, -13691287, -13691309, -13691350, -13691376, -13693310, -13693328, -13693336, -13693344, -13693361, -13693379, -13693387, -13706357, -13706373, -13707710, -13712152, -13712161, -13739875, -13744445, -13745701, -13746707, -13746839, -13749609, -13766708, -13767496, -13769626, -13769634, -13769651, -13769995, -13771167, -13771205, -13771591, -13772104, -13772333, -13772341, -13772350, -13772465, -13772473, -13772481, -13772490, -13772503, -13773381, -13783688, -13783696, -13783700, -13783718, -13783726, -13783734, -13783742, -13783769, -13784188, -13784196, -13784200, -13785281, -13785338, -13785648, -13786113, -13786121, -13797158, -13797182, -13799002, -13812173, -13819313, -13819348, -13819640, -13819666, -13819674, -13819691, -13819704, -13819755, -13819763, -13819780, -13820524, -13820559, -13820567, -13821172, -13821202, -13825348, -13828410, -13828631, -13828657, -13828681, -13829726, -13829734, -13829831, -13830082, -13832603, -13832611, -13833812, -13833936, -13833987, -13834011, -13841530, -13843095, -13843109, -13843117, -13843125, -13843354, -13843371, -13843389, -13847180, -13850610, -13850911, -13852221, -13852540, -13852558, -13852752, -13852761, -13852779, -13856430, -13859331, -13860968, -13860976, -13861271, -13862511, -13862782, -13862944, -13863541, -13866672, -13868039, -13868900, -13868942, -13869574, -13869591, -13869604, -13870840, -13872281, -13872354, -13872397, -13872401, -13872613, -13872648, -13873695, -13873717, -13873857, -13873890, -13874217, -13876091, -13876236, -13876708, -13876872, -13876881, -13877267, -13877275, -13877844, -13908316, -13908332, -13908341, -13908723, -13909444, -13942107, -13942379, -13975391, -13977563, -13977580, -13977598, -13977601, -13977610, -13977628, -13977636, -13977644, -13977652, -13977695, -13977709, -13977717, -13977776, -13977784, -13977792, -13977814, -13977822, -13977849, -13977857, -13977865, -13977873, -13977881, -13977890, -13977903, -13977911, -13977920, -13977938, -13977946, -13977954, -13977962, -13977971, -13977989, -13977997, -13978004, -13978012, -13978021, -13978039, -13978047, -13978055, -13978063, -13978071, -13995553, -13995561, -13995570, -13995588, -13995596, -13997971, -13997980, -13997998, -13998005, -13998013, -13998030, -13998056, -13998072, -13998099, -13998111, -13998145, -14007541, -14009722, -14030811, -14030829, -14030845, -14033496, -14033551, -14033674, -14033739, -14034123, -14035308, -14035332, -14035391, -14035448, -14035464, -14035511, -14035561, -14038218, -14038234, -14039664, -14042151, -14042207, -14042215, -14042231, -14051176, -14052326, -14052334, -14052342, -14052351, -14053543, -14053829, -14053837, -14054141, -14055457, -14066785, -14071177, -14072149, -14072157, -14073676, -14073854, -14073871, -14083477, -14083523, -14083531, -14083566, -14083582, -14083612, -14083647, -14083663, -14083698, -14083701, -14083736, -14084571, -14084597, -14086255, -14087588, -14089122, -14089131, -14089220, -14097648, -14099837, -14104334, -14104601, -14104644, -14106043, -14107384, -14107562, -14107597, -14107619, -14107643, -14107902, -14107911, -14115590, -14116103, -14116111, -14116120, -14116367, -14116758, -14116936, -14116952, -14116979, -14116995, -14118939, -14134772, -14136121, -14146584, -14148854, -14149940, -14150093, -14150701, -14151821, -14152584, -14154790, -14154838, -14177111, -14178150, -14179661, -14179687, -14188791, -14193019, -14194589, -14210509, -14215225, -14215489, -14231433, -14246627, -14251965, -14257327, -14257432, -14257548, -14257611, -14257653, -14257751, -14263203, -14263335, -14263351, -14263360, -14265061, -14266334, -14268051, -14268060, -14268345, -14268485, -14269058, -14269295, -14271761, -14277867, -14291002, -14291061, -14291100, -14292441, -14292815, -14292831, -14292858, -14292866, -14292963, -14292998, -14293013, -14296110, -14297515, -14297523, -14297701, -14297710, -14297736, -14297744, -14297779, -14298112, -14299194, -14299216, -14299241, -14299259, -14299305, -14299313, -14301288, -14301334, -14301377, -14303787, -14303809, -14303817, -14303833, -14303841, -14338866, -14338874, -14338882, -14338891, -14338904, -14338921, -14338947, -14338963, -14339421, -14339544, -14339668, -14340003, -14340020, -14340038, -14340054, -14340437, -14340445, -14340585, -14340691, -14340771, -14340780, -14341107, -14341191, -14341221, -14341239, -14342197, -14342243, -14342341, -14342413, -14342502, -14342511, -14342588, -14343215, -14343428, -14346036, -14364859, -14365880, -14365901, -14369117, -14370450, -14370468, -14370476, -14370891, -14370905, -14371341, -14371430, -14371448, -14371456, -14371464, -14373734, -14373785, -14373807, -14379368, -14379911, -14380005, -14381290, -14381621, -14381699, -14381745, -14381800, -14381893, -14381982, -14382075, -14382661, -14382741, -14382831, -14396327, -14396335, -14398460, -14399458, -14399563, -14400294, -14400324, -14400481, -14401207, -14404192, -14404346, -14404800, -14405407, -14405628, -14411440, -14411474, -14411482, -14411491, -14411504, -14411784, -14411831, -14412268, -14412349, -14412373, -14412748, -14412942, -14412951, -14412969, -14412977, -14412985, -14412993, -14413001, -14413019, -14413027, -14413370, -14413388, -14413396, -14413400, -14413418, -14413426, -14418606, -14419882, -14420171, -14420236, -14420325, -14420481, -14420619, -14420678, -14420741, -14420805, -14420872, -14420953, -14421003, -14421089, -14421151, -14421208, -14421267, -14421330, -14421526, -14421836, -14422336, -14422344, -14422620, -14461765, -14463342, -14463369, -14468115, -14468158, -14476045, -14476053, -14476061, -14479028, -14480271, -14503948, -14507889, -14507978, -14507986, -14508052, -14508648, -14516578, -14516951, -14522659, -14533359, -14533545, -14537486, -14560160, -14560178, -14560186, -14560194, -14560208, -14560216, -14561212, -14561271, -14561310, -14562235, -14562243, -14567920, -14570891, -14570904, -14570955, -14571099, -14574730, -14574756, -14588897, -14603853, -14603870, -14604493, -14604515, -14605082, -14605104, -14611945, -14612119, -14612364, -14612381, -14612429, -14612445, -14615380, -14621088, -14631903, -14631938, -14646781, -14650410, -14663252, -14666405, -14666456, -14668840, -14668955, -14669005, -14685345, -14685361, -14707888, -14724766, -14726581, -14726769, -14726882, -14728257, -14735962, -14764369, -14764377, -14764385, -14767953, -14771951, -14771969, -14771977, -14771993, -14781638, -14790327, -14792460, -14806924, -14814803, -14816598, -14825040, -14825155, -14830841, -14835002, -14835011, -14835029, -14836688, -14837684, -14841690, -14869438, -14869721, -14875322, -14880598, -14893193, -14895757, -14913402, -14915120, -14915286, -14916703, -14929791, -14939827, -14946131, -14946823, -14947650, -14952025, -14953528, -14953536, -14960621, -14961776, -14961784, -14970376, -14981408, -14984016, -15001300, -15001318, -15001326, -15007570, -15010996, -15021483, -15021521, -15021874, -15021891, -15022145, -15022153, -15023915, -15023923, -15023931, -15024822, -15024849, -15024857, -15024881, -15024890, -15024903, -15025136, -15025276, -15025594, -15027856, -15028291, -15029204, -15029794, -15030008, -15040330, -15060331, -15066371, -15067564, -15070328, -15070344, -15070361, -15070387, -15070409, -15070433, -15091520, -15091538, -15092364, -15097501, -15097552, -15097587, -15097595, -15097609, -15097625, -15097641, -15102882, -15109259, -15127125, -15139166, -15139204, -15139239, -15139271, -15149897, -15150020, -15150038, -15150097, -15150119, -15157199, -15176517, -15180042, -15183408, -15184668, -15186971, -15190838, -15190862, -15192288, -15197051, -15206262, -15207978, -15207986, -15212084, -15218155, -15236358, -15242251, -15242293, -15251101, -15251110, -15254241, -15261794, -15268985, -15269868, -15273300, -15302113, -15311783, -15313689, -15314898, -15315525, -15316190, -15322238, -15343359, -15357473, -15360229, -15382290, -15382303, -15391213, -15392317, -15392457, -15401383, -15401723, -15408990, -15409007, -15410293, -15418529, -15423191, -15423549, -15423778, -15423841, -15424456, -15424553, -15426491, -15428575, -15431878, -15432157, -15433293, -15433323, -15433366, -15433676, -15438201, -15451101, -15451135, -15453146, -15458318, -15465705, -15466159, -15466400, -15466507, -15479919, -15479927, -15491099, -15494420, -15494501, -15494527, -15494772, -15496007, -15496066, -15496244, -15496511, -15497640, -15503305, -15503348, -15503364, -15505260, -15505341, -15505936, -15506215, -15506851, -15506860, -15506894, -15506941, -15508587, -15508595, -15508625, -15508854, -15509265, -15513963, -15551636, -15551652, -15556557, -15570941, -15577333, -15581578, -15581616, -15586740, -15586758, -15586766, -15614212, -15632962, -15652092, -15665453, -15665755, -15665852, -15691608, -15691616, -15691641, -15694411, -15711269, -15711277, -15711285, -15711293, -15711307, -15711439, -15711455, -15713393, -15713415, -15728153, -15728889, -15744906, -15744914, -15755568, -15757609, -15757633, -15757684, -15758591, -15786013, -15789314, -15838269, -15848591, -15861856, -15863859, -15869431, -15870286, -15871185, -15871223, -15875199, -15875237, -15875393, -15880460, -15885844, -15886204, -15886301, -15894045, -15904172, -15904181, -15918548, -15918602, -15918611, -15918688, -15920984, -15920992, -15937437, -15937445, -15937461, -15937500, -15937534, -15937551, -15937593, -15937615, -15937640, -15947530, -15953220, -15965287, -15976441, -15976459, -15979831, -15982017, -15983765, -15988261, -15988333, -15988635, -15990737, -16021908, -16023757, -16027736, -16036441, -16052293, -16056566, -16058097, -16062272, -16076150, -16077032, -16077172, -16077601, -16079493, -16079523, -16079531, -16083032, -16083075, -16093950, -16093968, -16093984, -16094000, -16100212, -16105451, -16108116, -16108124, -16108159, -16108167, -16119983, -16127170, -16131479, -16149670, -16149688, -16149696, -16149718, -16149769, -16149777, -16149785, -16149793, -16152107, -16152123, -16152778, -16169310, -16169328, -16169336, -16169344, -16169352, -16169361, -16176430, -16188594, -16188624, -16191170, -16201922, -16201931, -16201949, -16201957, -16227506, -16227514, -16233565, -16233603, -16261763, -16264436, -16264444, -16264452, -16264461, -16265742, -16267214, -16267222, -16271343, -16271742, -16289706, -16289714, -16289749, -16289781, -16294556, -16294564, -16309901, -16316134, -16317165, -16319001, -16320573, -16350197, -16350201, -16350219, -16363353, -16363361, -16363396, -16369335, -16377800, -16377851, -16377877, -16399528, -16407539, -16412478, -16413121, -16421078, -16437659, -16442458, -16449355, -16456874, -16487834, -16496108, -16496132, -16530152, -16563590, -16575482, -16622537, -16626184, -16626192, -16632842, -16632893, -16633873, -16652738, -16652835, -16675665, -16689186, -16689194, -16707681, -16707711, -16707745, -16707770, -16708113, -16708130, -16708156, -16708181, -16709802, -16709811, -16709829, -16709837, -16709845, -16720377, -16720385, -16720407, -16720415, -16748999, -16750462, -16750471, -16793137, -16813367, -16813391, -16825781, -16825802, -16825829, -16825845, -16825861, -16825888, -16836642, -16846885, -16858506, -16860888, -16861825, -16891031, -17014875, -17040078, -17046751, -17046785, -17053064, -17103991, -17121671, -17131707, -17131715, -17151287, -17151333, -17163854, -17205212, -17205930, -17213541, -17219272, -17224209, -17338034, -17385601, -17410363, -17415837, -17420351, -17454972, -17454981, -17458790, -17459231, -17459249, -17459257, -17459265, -17482577, -17491487, -17503728, -17503736, -17503744, -17509068, -17510023, -17510546, -17533538, -17550149, -17556261, -17564930, -17592500, -17592518, -17592593, -17656877, -17694400, -17703395, -17717124, -17722691, -17759269, -17759277, -17781604, -17786894, -17786908, -17796580, -17807557, -17807719, -17834996, -17838657, -17838665, -17839149, -17849292, -17865808, -17865816, -17888514, -17888727, -17888735, -17888743, -17888751, -17915988, -17965501, -17973261, -17973279, -17973287, -17973295, -17973309, -17973317, -17973333, -17973341, -17980135, -17995345, -17995361, -17995370, -17995931, -18000479, -18054978, -18064710, -18085377, -18166385, -18208835, -18216129, -18221726, -18285121, -18288758, -18289886, -18324517, -18339352, -18389155, -18414885, -18454518, -18523358, -18550061, -18635920, -18661777, -18704492, -18717748, -18826814, -18894291, -19043431, -19130988, -19143052, -19171269, -19176082, -19199520, -19199538, -23000767, -23003634, -23018666, -23052392, -23052503, -23062720, -23068078, -23068086, -23068141, -23221372, -23221381, -23221399, -23221402, -23297174, -23353376, -23371234, -23404647, -23416416, -23422874, -23432993, -23484357, -23489987, -23508213, -23611685, -23675535, -23675543, -23691743, -23730269, -23730307, -23732121, -23768894, -23838728, -23844361, -23884096, -23894491, -23915803, -23915811, -23953632, -23956542, -23963794, -23963808, -23963816, -23963824, -23963832, -23963859, -23964049, -23964120, -23969628, -24042846, -24047791, -24047945, -24048640, -24078387, -24084123, -24095257, -24099708, -24102172, -24102652, -24129950, -24156400, -24209376, -24211257, -24235563, -24269221, -24308081, -24358436, -24358444, -24358452, -24385611, -24407950, -24475114, -24478164, -24585181, -24591203, -24591211, -24667463, -24694380, -24710318, -24715875, -24740136, -24740144, -24777188, -24790257, -24790265, -24798401, -24804142, -24804151, -24804231, -24804240, -24813702, -24813745, -24814121, -24822388, -24822396, -24834084, -24835951, -24836192, -24836214, -24836231, -24840092, -24840564, -24842877, -24842885, -24842893, -24850225, -24930849, -25114905, -25122886, -25160231, -25186639, -25188518, -25208853, -25208870, -25217593, -25295632, -25325841, -25355651, -25357077, -25382802, -25389793, -25397010, -25397044, -25410059, -25410075, -25410091, -25410296, -25421930, -25511343, -25511637, -25526944, -25533673, -25563611, -25563653, -25563998, -25564633, -25565419, -25566091, -25566229, -25573675, -25574086, -25574094, -25574949, -25574957, -25574965, -25574973, -25578936, -25578961, -25701070, -25701088, -25701096, -25701100, -25701118, -25701134, -25709763, -25709771, -25709780, -25709798, -25709801, -25709810, -25709828, -25709836, -25709844, -25709852, -25709861, -25709879, -25710168, -25710176, -25710192, -25710303, -25710311, -25710338, -25710346, -25710354, -25710371, -25710389, -25710397, -25797425, -25797433, -25797549, -25797590, -25797743, -25797760, -25798090, -25798103, -25798111, -25798120, -25798146, -25798413, -25798448, -25798863, -25798898, -25798901, -25799525, -25799533, -25799550, -25799584, -25799592, -25799614, -25802143, -25814125, -25814257, -25814265, -25814273, -25814281, -25814290, -25814303, -25814311, -25814338, -25817116, -25817124, -25817132, -25817141, -25819658, -25819682, -25832794, -25836293, -25871498, -25871510, -25871528, -25911031, -25977521, -25988018, -26057948, -26090848, -26110750, -26140128, -26153700, -26157730, -26173131, -26203103, -26242940, -26244373, -26252899, -26263297, -26325756, -26405431, -26473089, -26502011, -26640198, -26640201, -26690063, -26732378, -26741776, -26772850, -26774631, -26884496, -26884500, -26884518, -26884526, -26934426, -26953307, -26984849, -26997231, -27045048, -27066720, -27088669, -27097935, -27140474, -27190269, -27259137, -27321789, -27335178, -27379825, -27437442, -27517284, -27519881, -27568831, -27649903, -27664791, -27664805, -27664813, -27675009, -27803830, -27928331, -27928837, -27957179, -28121686, -28136535, -28228235, -28307259, -28361687, -28472837, -28473001, -28625498, -28644921, -28652525, -28662342, -28667972, -28682092, -28682173, -28727606, -28744985, -28744993, -28745019, -28795032, -28795041, -28823796, -28862422, -28911580, -28918771, -28977114, -28981987, -28984960, -29020174, -29057264, -29078644, -29078652, -29078661, -29078679, -29110980, -29124425, -29134781, -29152593, -29166900, -29178819, -29180767, -29182620, -29207860, -29210691, -29210704, -29210712, -29221668, -29222109, -29229138, -29245311, -29245338, -29266254, -29303257, -29325889, -29328331, -29345111, -29346444, -29346452, -29346509, -29355966, -29386195, -29386209, -29386276, -29386641, -29386675, -29387761, -29492394, -29527791, -29573360, -29626749, -29657563, -29687322, -29760321, -29768021, -29898668, -29973139, -29973431, -29974631, -30032474, -30061822, -30096693, -30202124, -30202141, -30258855, -30383927, -30552192, -30627591, -31128661, -31128670, -31128688, -31137547, -31171524, -31201491, -31204902, -31205666, -31214207, -31242626, -31452035, -31489028, -31500609, -31538908, -31538916, -31540783, -31566448, -31715729, -31755674, -31825371, -31825389, -31825419, -31852181, -31876111, -31876129) - - 1252 - false - 2 - - - - - + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Derived Column 1" + componentClassID="Microsoft.DerivedColumn" + contactInfo="Derived Column;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;0" + description="Creates new column values by applying expressions to transformation input columns. Create new columns or overwrite existing ones. For example, concatenate the values from the 'first name' and 'last name' column to make a 'full name' column." + name="Derived Column 1" + usesDispositions="true"> + + + + + + + + + + + + + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Derived Column 1.Outputs[Derived Column Output]" + description="Default Output of the Derived Column Transformation" + exclusionGroup="1" + name="Derived Column Output" + synchronousInputId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Derived Column 1.Inputs[Derived Column Input]"> + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_TIME]" + name="ERROR_TIME" + truncationRowDisposition="FailComponent"> + + [GETDATE]() + GETDATE() + + + length="31" + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_OPERATION_NAME]" + name="ERROR_OPERATION_NAME" + truncationRowDisposition="FailComponent"> + + "Load PIMS_PROP_PROP_TENURE_TYPE" + "Load PIMS_PROP_PROP_TENURE_TYPE" + + + length="26" + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_TASK_NAME]" + name="ERROR_TASK_NAME" + truncationRowDisposition="FailComponent"> + + "PIMS_PROP_PROP_TENURE_TYPE" + "PIMS_PROP_PROP_TENURE_TYPE" + + + length="32" + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_ETL_NAME]" + name="ERROR_ETL_NAME" + truncationRowDisposition="FailComponent"> + + "PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" + "PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" + + - - - - - - - + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_CODE]" + name="ERROR_CODE" + truncationRowDisposition="FailComponent"> + + #{Package\Load PIMS_PROP_PROP_TENURE_TYPE\Update PROP_PROP_TENURE_TYPE.Outputs[OLE DB Command Error Output].Columns[ErrorCode]} + ErrorCode + + - - - - + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_COLUMN]" + name="ERROR_COLUMN" + truncationRowDisposition="FailComponent"> + + #{Package\Load PIMS_PROP_PROP_TENURE_TYPE\Update PROP_PROP_TENURE_TYPE.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]} + ErrorColumn + + - - - - + length="110" + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_ROW]" + name="ERROR_ROW" + truncationRowDisposition="FailComponent"> + + "PROPERTY_TENURE_TYPE_CODE" + #{Package\Load PIMS_PROP_PROP_TENURE_TYPE\PAM PROPERTY.Outputs[OLE DB Source Output].Columns[PROPERTY_TENURE_TYPE_CODE]} + "APP_CREATE_USER_DIRECTORY(PID)" + #{Package\Load PIMS_PROP_PROP_TENURE_TYPE\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]} + " PID_NO: " + (DT_WSTR,25)#{Package\Load PIMS_PROP_PROP_TENURE_TYPE\PAM PROPERTY.Outputs[OLE DB Source Output].Columns[PID_NO]} + "PROPERTY_TENURE_TYPE_CODE" + PROPERTY_TENURE_TYPE_CODE + "APP_CREATE_USER_DIRECTORY(PID)" + AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY + " PID_NO: " + (DT_WSTR,25)PID_NO + + - - - - - - - - - - - - - - - - - - - - - - - - + + name="Derived Column Error Output" + synchronousInputId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Derived Column 1.Inputs[Derived Column Input]"> - - - - - - - - - - - - - - - - - - - - - - @@ -53596,55 +37288,64 @@ where pmbc.pid_number in (16004, + version="4"> 0 + [etl].[ETL_ERROR_LOG] + update pims_property -set PROPERTY_TYPE_CODE=?, - PROPERTY_CLASSIFICATION_TYPE_CODE=?, - REGION_CODE=?, - DISTRICT_CODE=?, - PROPERTY_AREA_UNIT_TYPE_CODE=?, - PROPERTY_DATA_SOURCE_TYPE_CODE=?, - PROPERTY_STATUS_TYPE_CODE=?, - SURPLUS_DECLARATION_TYPE_CODE=?, - PROPERTY_DATA_SOURCE_EFFECTIVE_DATE=?, - NAME=?, - DESCRIPTION=?, - PID=?, - PIN=?, - LAND_AREA=?, - LAND_LEGAL_DESCRIPTION=?, - BOUNDARY=?, - LOCATION=?, - SURVEY_PLAN_NUMBER=?, - IS_OWNED=?, - IS_PROPERTY_OF_INTEREST=?, - IS_VISIBLE_TO_OTHER_AGENCIES=?, - IS_SENSITIVE=? - WHERE APP_LAST_UPDATE_USERID = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + name="OLE DB Destination Input"> + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\ETL ERROR LOG.Inputs[OLE DB Destination Input].Columns[ERROR_TIME]" + cachedDataType="dbTimeStamp" + cachedName="ERROR_TIME" + externalMetadataColumnId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\ETL ERROR LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TIME]" + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Derived Column.Outputs[Derived Column Output].Columns[ERROR_TIME]" /> + cachedLength="31" + cachedName="ERROR_OPERATION_NAME" + externalMetadataColumnId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\ETL ERROR LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_OPERATION_NAME]" + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Derived Column.Outputs[Derived Column Output].Columns[ERROR_OPERATION_NAME]" /> - - - + cachedLength="26" + cachedName="ERROR_TASK_NAME" + externalMetadataColumnId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\ETL ERROR LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TASK_NAME]" + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Derived Column.Outputs[Derived Column Output].Columns[ERROR_TASK_NAME]" /> - - - - - - - + cachedLength="32" + cachedName="ERROR_ETL_NAME" + externalMetadataColumnId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\ETL ERROR LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ETL_NAME]" + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Derived Column.Outputs[Derived Column Output].Columns[ERROR_ETL_NAME]" /> + cachedLength="110" + cachedName="ERROR_ROW" + externalMetadataColumnId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\ETL ERROR LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ROW]" + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Derived Column.Outputs[Derived Column Output].Columns[ERROR_ROW]" /> - - - - - + cachedName="ERROR_CODE" + externalMetadataColumnId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\ETL ERROR LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_CODE]" + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Derived Column.Outputs[Derived Column Output].Columns[ERROR_CODE]" /> - + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\ETL ERROR LOG.Inputs[OLE DB Destination Input].Columns[ERROR_COLUMN]" + cachedDataType="i4" + cachedName="ERROR_COLUMN" + externalMetadataColumnId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\ETL ERROR LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_COLUMN]" + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Derived Column.Outputs[Derived Column Output].Columns[ERROR_COLUMN]" /> + - - 65 - - + length="100" + name="ERROR_OPERATION_NAME" /> - - 65 - - + length="100" + name="ERROR_TASK_NAME" /> - - 81 - - + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\ETL ERROR LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ETL_NAME]" + dataType="wstr" + length="100" + name="ERROR_ETL_NAME" /> - - 81 - - + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\ETL ERROR LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ROW]" + dataType="nText" + name="ERROR_ROW" /> - - 65 - - + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\ETL ERROR LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_CODE]" + dataType="i4" + name="ERROR_CODE" /> - - 65 - - + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\ETL ERROR LOG.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_COLUMN]" + dataType="i4" + name="ERROR_COLUMN" /> + + + + + + + + + + + + + + + + 0 + [etl].[ETL_ERROR_LOG] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + + + + + + + + + + - - 65 - - + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\ETL ERROR LOG 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TIME]" + dataType="dbTimeStamp" + name="ERROR_TIME" /> - - 65 - - - - - 65 - - + length="100" + name="ERROR_OPERATION_NAME" /> - - 65 - - + length="100" + name="ERROR_TASK_NAME" /> - - 65 - - - - - 81 - - - - - 81 - - - - - 81 - - + length="100" + name="ERROR_ETL_NAME" /> - - 193 - - - - - 193 - - + name="ERROR_ROW" /> - - 193 - - + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\ETL ERROR LOG 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_CODE]" + dataType="i4" + name="ERROR_CODE" /> + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\ETL ERROR LOG 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_COLUMN]" + dataType="i4" + name="ERROR_COLUMN" /> + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_PROP_PROP_TENURE_TYPE] + select * from (select * from [dbo].[PIMS_PROP_PROP_TENURE_TYPE]) [refTable] +where [refTable].[PROPERTY_TENURE_TYPE_CODE] = ? and [refTable].[PROPERTY_ID] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="PROP_PROP_TENURE_TYPE_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_TENURE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load PIMS_PROP_PROP_TENURE_TYPE\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of PROPERTY_TENURE_TYPE_CODE]};#{Package\Load PIMS_PROP_PROP_TENURE_TYPE\Lookup PIMS_PROPERTY.Outputs[Lookup Match Output].Columns[PROPERTY_ID_new]};#{Package\Load PIMS_PROP_PROP_TENURE_TYPE\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]}; + 1252 + false + + + + + + + + 65 - - - - + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">PROPERTY_TENURE_TYPE_CODE 65 + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> - - + + 65 - - - - + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">PROPERTY_ID 65 + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> - - + + 65 - - - - + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">APP_CREATE_USER_DIRECTORY 65 + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> - - + + + + name="Lookup Match Output" + synchronousInputId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Existing PIMS_PROP_PROP_TENURE_TYPE records.Inputs[Lookup Input]"> + + + + name="Lookup Error Output" + synchronousInputId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Existing PIMS_PROP_PROP_TENURE_TYPE records.Inputs[Lookup Input]"> @@ -54109,356 +37822,214 @@ set PROPERTY_TYPE_CODE=?, - - - - - - - - - - - - - - - - - - - + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Insert PROP_PROP_TENURE_TYPE" + componentClassID="Microsoft.OLEDBDestination" + contactInfo="OLE DB Destination;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;4" + description="OLE DB Destination" + name="Insert PROP_PROP_TENURE_TYPE" + usesDispositions="true" + version="4"> + + 0 + [dbo].[PIMS_PROP_PROP_TENURE_TYPE] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Insert PROP_PROP_TENURE_TYPE.Inputs[OLE DB Destination Input]" + errorOrTruncationOperation="Insert" + errorRowDisposition="RedirectRow" + hasSideEffects="true" + name="OLE DB Destination Input"> + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Insert PROP_PROP_TENURE_TYPE.Inputs[OLE DB Destination Input].Columns[PROPERTY_ID_new]" + cachedDataType="i8" + cachedName="PROPERTY_ID_new" + externalMetadataColumnId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Insert PROP_PROP_TENURE_TYPE.Inputs[OLE DB Destination Input].ExternalColumns[PROPERTY_ID]" + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Lookup PIMS_PROPERTY.Outputs[Lookup Match Output].Columns[PROPERTY_ID_new]" /> + + + + + - - - - - - - + + + - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - + + + - - (DT_WSTR,12)#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - (DT_WSTR,12)INTEREST_HOLDER_ID - - - + + - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - + + - - "place_holder" - "place_holder" - - - - - - - - - - - - - - - - - - - - - - - - - - (DT_I2)1 - (DT_I2)1 - - - - - - - - - - - - - - - - - - + length="30" + name="APP_LAST_UPDATE_USERID" /> + + + + + + + - - - - (DT_I2)1 - (DT_I2)1 - - - - - - + name="OLE DB Destination Error Output" + synchronousInputId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Insert PROP_PROP_TENURE_TYPE.Inputs[OLE DB Destination Input]"> @@ -54467,11 +38038,11 @@ set PROPERTY_TYPE_CODE=?, @@ -54480,14 +38051,14 @@ set PROPERTY_TYPE_CODE=?, description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_COUNTRY] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PROPERTY] select * from (select * from [dbo].[PIMS_COUNTRY]) [refTable] -where [refTable].[DESCRIPTION] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_PROPERTY]) [refTable] +where [refTable].[PID] = ? <referenceMetadata><referenceColumns><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="DISPLAY_ORDER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + name="ReferenceMetadataXml"><referenceMetadata><referenceColumns><referenceColumn name="PROPERTY_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_MANAGER_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROP_MGMT_ORG_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_CLASSIFICATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_AREA_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUME_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_EFFECTIVE_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="PID" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PIN" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER_SUFFIX" dataType="DT_STR" length="2" precision="0" scale="0" codePage="1252"/><referenceColumn name="LAND_AREA" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LAND_LEGAL_DESCRIPTION" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="BOUNDARY" dataType="DT_IMAGE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LOCATION" dataType="DT_IMAGE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ENCUMBRANCE_REASON" dataType="DT_WSTR" length="500" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="NOTES" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPAL_ZONING" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VOLUMETRIC_PARCEL" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_MEASUREMENT" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_OWNED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROPERTY_OF_INTEREST" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VISIBLE_TO_OTHER_AGENCIES" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_SENSITIVE" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROVINCIAL_PUBLIC_HWY" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_RWY_BELT_DOM_PATENT" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING_POTENTIAL" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="SURVEY_PLAN_NUMBER" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> #{Package\Load Interest Holder Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[UNICODE_COUNTRY]}; + name="ParameterMap">#{Package\Load PIMS_PROP_PROP_TENURE_TYPE\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of PID_NO]}; + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Lookup PIMS_PROPERTY.Inputs[Lookup Input].Columns[Copy of PID_NO]" + cachedDataType="i4" + cachedName="Copy of PID_NO" + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of PID_NO]"> DESCRIPTION + name="JoinToReferenceColumn">PID + synchronousInputId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Lookup PIMS_PROPERTY.Inputs[Lookup Input]"> COUNTRY_ID + name="CopyFromReferenceColumn">PROPERTY_ID + synchronousInputId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Lookup PIMS_PROPERTY.Inputs[Lookup Input]"> + synchronousInputId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Lookup PIMS_PROPERTY.Inputs[Lookup Input]"> @@ -54625,237 +38195,304 @@ where [refTable].[DESCRIPTION] = ? - - - - - - - - - - - - - - + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\PAM PROPERTY" + componentClassID="Microsoft.OLEDBSource" + contactInfo="OLE DB Source;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;7" + description="OLE DB Source" + name="PAM PROPERTY" + usesDispositions="true" + validateExternalMetadata="False" + version="7"> + + 0 + "APP_PAM"."PAM_PROPERTY" + + select distinct pid_no,property_tenure_type_code from app_pam.pam_property where pid_no is not null + + 1252 + false + 2 + + + + + + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\PAM PROPERTY.Outputs[OLE DB Source Output]" + name="OLE DB Source Output"> - - #{Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_1]} - false - - + externalMetadataColumnId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\PAM PROPERTY.Outputs[OLE DB Source Output].ExternalColumns[PROPERTY_TENURE_TYPE_CODE]" + length="2" + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\PAM PROPERTY.Outputs[OLE DB Source Output].Columns[PROPERTY_TENURE_TYPE_CODE]" + name="PROPERTY_TENURE_TYPE_CODE" + truncationRowDisposition="FailComponent" /> - - #{Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_2]} - false - - - + + + + - - #{Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[STREET_ADDRESS_3]} - false - - + length="2" + name="PROPERTY_TENURE_TYPE_CODE" /> + + + + - - #{Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[COUNTRY]} - false - - + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\PAM PROPERTY.Outputs[OLE DB Source Error Output].Columns[ErrorCode]" + dataType="i4" + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\PAM PROPERTY.Outputs[OLE DB Source Error Output].Columns[ErrorCode]" + name="ErrorCode" + specialFlags="1" /> + + length="2" + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\PAM PROPERTY.Outputs[OLE DB Source Error Output].Columns[PROPERTY_TENURE_TYPE_CODE]" + name="PROPERTY_TENURE_TYPE_CODE" /> + + + + + + + + + select * from [dbo].[PIMS_PROP_PROP_TENURE_TYPE] + select * from (select * from [dbo].[PIMS_PROP_PROP_TENURE_TYPE]) [refTable] +where [refTable].[PROPERTY_TENURE_TYPE_CODE] = ? and [refTable].[PROPERTY_ID] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="PROP_PROP_TENURE_TYPE_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_TENURE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load PIMS_PROP_PROP_TENURE_TYPE\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of PROPERTY_TENURE_TYPE_CODE]};#{Package\Load PIMS_PROP_PROP_TENURE_TYPE\Lookup PIMS_PROPERTY.Outputs[Lookup Match Output].Columns[PROPERTY_ID_new]};#{Package\Load PIMS_PROP_PROP_TENURE_TYPE\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]}; + 1252 + false + + + + + + + + #{Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[PROVINCE]} + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">PROPERTY_ID false + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> - - + + #{Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[POSTAL_CODE]} + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">PROPERTY_TENURE_TYPE_CODE false + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> - - + + #{Package\Load Interest Holder Addresses\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[MUNICIPALITY_NAME]} + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">APP_CREATE_USER_DIRECTORY false + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> - - + + + + + + + + + + + name="Lookup Error Output" + synchronousInputId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\PIMS_PROP_PROP_TENURE_TYPE records to be updated.Inputs[Lookup Input]"> @@ -54864,183 +38501,134 @@ where [refTable].[DESCRIPTION] = ? + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Update PROP_PROP_TENURE_TYPE" + componentClassID="Microsoft.OLEDBCommand" + contactInfo="OLE DB Command;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;2" + description="Runs an SQL statement for each row in a data flow. For example, call a 'new employee setup' stored procedure for each row in the 'new employees' table. Note: running an SQL statement for each row of a large data flow may take a long time." + name="Update PROP_PROP_TENURE_TYPE" + usesDispositions="true" + version="2"> + + 0 + update PIMS_PROP_PROP_TENURE_TYPE +set PROPERTY_ID=?, +PROPERTY_TENURE_TYPE_CODE=? +where app_last_update_userid=? + 1252 + + + + + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Update PROP_PROP_TENURE_TYPE.Inputs[OLE DB Command Input]" + errorOrTruncationOperation="Command Execution" + errorRowDisposition="RedirectRow" + hasSideEffects="true" + name="OLE DB Command Input"> + refId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Update PROP_PROP_TENURE_TYPE.Inputs[OLE DB Command Input].Columns[PROPERTY_ID_new]" + cachedDataType="i8" + cachedName="PROPERTY_ID_new" + externalMetadataColumnId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Update PROP_PROP_TENURE_TYPE.Inputs[OLE DB Command Input].ExternalColumns[Param_0]" + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Lookup PIMS_PROPERTY.Outputs[Lookup Match Output].Columns[PROPERTY_ID_new]" /> + cachedLength="20" + cachedName="Copy of PROPERTY_TENURE_TYPE_CODE" + externalMetadataColumnId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Update PROP_PROP_TENURE_TYPE.Inputs[OLE DB Command Input].ExternalColumns[Param_1]" + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of PROPERTY_TENURE_TYPE_CODE]" /> + cachedLength="23" + cachedName="AUDIT_TRAIL_APP_LAST_UPDATE_USERID" + externalMetadataColumnId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Update PROP_PROP_TENURE_TYPE.Inputs[OLE DB Command Input].ExternalColumns[Param_2]" + lineageId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_LAST_UPDATE_USERID]" /> - - - - - - - - - [GETDATE]() - GETDATE() - - - - - "Load Interest Holder Addresses" - "Load Interest Holder Addresses" - - - + + "PIMS_ADDRESS" - "PIMS_ADDRESS" + dataType="System.Int32" + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">81 - - + + length="20" + name="Param_1"> "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + dataType="System.Int32" + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 - - + + length="30" + name="Param_2"> "STREET ADDRESS 1: " + #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Interest Holder Addresses\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} + "STREET_ADDRESS_2 " + #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} - "STREET ADDRESS 1: " + STREET_ADDRESS_1 + " APP_CREATE_USER_DIRECTORY: " + APP_CREATE_USER_DIRECTORY + "STREET_ADDRESS_2 " + STREET_ADDRESS_2 + dataType="System.Int32" + description="Parameter information. Matches OLE DB's DBPARAMFLAGSENUM values." + name="DBParamInfoFlags">65 - - + + + + + + + name="OLE DB Command Error Output" + synchronousInputId="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Update PROP_PROP_TENURE_TYPE.Inputs[OLE DB Command Input]"> @@ -55048,184 +38636,277 @@ where [refTable].[DESCRIPTION] = ? + + + + + + + + + + + + + + + + + + + + + + + refId="Package\Load Properties 1\Address Id, Region and District Code" + componentClassID="Microsoft.Lookup" + contactInfo="Lookup;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;6" + description="Joins additional columns to the data flow by looking up values in a table. For example, join to the 'employee id' column the employees table to get 'hire date' and 'employee name'. We recommend this transformation when the lookup table can fit into memory." + name="Address Id, Region and District Code" + usesDispositions="true" + version="6"> + + select * from [dbo].[PIMS_ADDRESS] + select * from (select * from [dbo].[PIMS_ADDRESS]) [refTable] +where [refTable].[STREET_ADDRESS_1] = ? and [refTable].[MUNICIPALITY_NAME] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_1" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_2" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_3" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPALITY_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="POSTAL_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="OTHER_COUNTRY" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="LATITUDE" dataType="DT_NUMERIC" length="0" precision="8" scale="6" codePage="0"/><referenceColumn name="LONGITUDE" dataType="DT_NUMERIC" length="0" precision="9" scale="6" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].Columns[CIVIC_ADDRESS]};#{Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].Columns[MUNICIPALITY_NAME]}; + 1252 + false + + + + + refId="Package\Load Properties 1\Address Id, Region and District Code.Inputs[Lookup Input]" + name="Lookup Input"> - + cachedLength="100" + cachedName="CIVIC_ADDRESS" + lineageId="Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].Columns[CIVIC_ADDRESS]"> + + STREET_ADDRESS_1 + + + + cachedName="MUNICIPALITY_NAME" + lineageId="Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].Columns[MUNICIPALITY_NAME]"> + + MUNICIPALITY_NAME + + + + name="Lookup Match Output" + synchronousInputId="Package\Load Properties 1\Address Id, Region and District Code.Inputs[Lookup Input]"> - - [GETDATE]() - GETDATE() - - - - - "Load Interest Holder Addresses" - "Load Interest Holder Addresses" - - - "PIMS_ADDRESS" - "PIMS_ADDRESS" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn">ADDRESS_ID "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn">REGION_CODE "STREET ADDRESS 1: " + #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Interest Holder Addresses\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} + "STREET_ADDRESS_2 " + #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} - "STREET ADDRESS 1: " + STREET_ADDRESS_1 + " APP_CREATE_USER_DIRECTORY: " + APP_CREATE_USER_DIRECTORY + "STREET_ADDRESS_2 " + STREET_ADDRESS_2 + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn">DISTRICT_CODE + + + + name="Lookup Error Output" + synchronousInputId="Package\Load Properties 1\Address Id, Region and District Code.Inputs[Lookup Input]"> @@ -55234,358 +38915,189 @@ where [refTable].[DESCRIPTION] = ? + validateExternalMetadata="False" + version="6"> - 0 - [etl].[ETL_ERROR_LOG] + description="Specifies the SQL statement that generates the lookup table." + expressionType="Notify" + name="SqlCommand" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select take_id,property_id,area,cast(area_unit_code as nvarchar2(20)) as area_unit_code from app_pam.pam_take_property + description="Specifies a SQL statement that uses parameters to generate the lookup table." + expressionType="Notify" + name="SqlCommandParam" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select take_id,property_id,area,cast(area_unit_code as nvarchar2(20)) as area_unit_code from app_pam.pam_take_property) "refTable" +where "refTable"."PROPERTY_ID" = ? 1252 - false + description="Specifies the type of connection used to access the reference dataset." + name="ConnectionType" + typeConverter="LookupConnectionType">0 3 - false - false + description="Specifies the cache type of the lookup table." + name="CacheType" + typeConverter="CacheType">0 TABLOCK,CHECK_CONSTRAINTS + dataType="System.Int32" + description="Specifies how the Lookup transformation handles rows without matching entries in the reference data set." + name="NoMatchBehavior" + typeConverter="LookupNoMatchBehavior">1 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + description="Specifies the percentage of the cache that is allocated for rows with no matching entries in the reference dataset." + name="NoMatchCachePercentage">0 0 + description="Maximum Memory Usage for Reference Cache on a 32 bit platform." + name="MaxMemoryUsage">25 [etl].[ETL_ERROR_LOG] + dataType="System.Int64" + description="Maximum Memory Usage for Reference Cache on a 64 bit platform." + name="MaxMemoryUsage64">25 + description="Indicates whether to reference metadata in an XML format." + name="ReferenceMetadataXml"><referenceMetadata><referenceColumns><referenceColumn name="TAKE_ID" dataType="DT_NUMERIC" length="0" precision="10" scale="0" codePage="0"/><referenceColumn name="PROPERTY_ID" dataType="DT_NUMERIC" length="0" precision="10" scale="0" codePage="0"/><referenceColumn name="AREA" dataType="DT_NUMERIC" length="0" precision="8" scale="4" codePage="0"/><referenceColumn name="AREA_UNIT_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + description="Specifies the list of lineage identifiers that map to the parameters that the SQL statement in the SQLCommand property uses. Entries in the list are separated by semicolons." + name="ParameterMap">#{Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].Columns[PROPERTY_ID]}; 1252 false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 + description="Determines whether duplicate keys in the reference data should be treated as errors when full cache mode is used." + name="TreatDuplicateKeysAsError">false + refId="Package\Load Properties 1\Area and Area Unit Code.Inputs[Lookup Input]" + name="Lookup Input"> - - - - - - + refId="Package\Load Properties 1\Area and Area Unit Code.Inputs[Lookup Input].Columns[PROPERTY_ID]" + cachedDataType="numeric" + cachedName="PROPERTY_ID" + cachedPrecision="10" + lineageId="Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].Columns[PROPERTY_ID]"> + + PROPERTY_ID + + + - - - - - - - - - + + + + + AREA + + + + + AREA_UNIT_CODE + + + + + TAKE_ID + + + + + + + + + + name="Lookup Error Output" + synchronousInputId="Package\Load Properties 1\Area and Area Unit Code.Inputs[Lookup Input]"> @@ -55594,560 +39106,367 @@ where [refTable].[DESCRIPTION] = ? - - 0 - [dbo].[PIMS_ADDRESS] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - + refId="Package\Load Properties 1\Audit Trail" + componentClassID="Microsoft.DerivedColumn" + contactInfo="Derived Column;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;0" + description="Creates new column values by applying expressions to transformation input columns. Create new columns or overwrite existing ones. For example, concatenate the values from the 'first name' and 'last name' column to make a 'full name' column." + name="Audit Trail" + usesDispositions="true"> + refId="Package\Load Properties 1\Audit Trail.Inputs[Derived Column Input]" + description="Input to the Derived Column Transformation" + name="Derived Column Input"> - - + refId="Package\Load Properties 1\Audit Trail.Inputs[Derived Column Input].Columns[PID]" + cachedDataType="numeric" + cachedName="PID" + cachedPrecision="9" + lineageId="Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PID]" /> - - - - - - - + refId="Package\Load Properties 1\Audit Trail.Inputs[Derived Column Input].Columns[FILE_NUMBER]" + cachedDataType="numeric" + cachedName="FILE_NUMBER" + cachedPrecision="6" + lineageId="Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[FILE_NUMBER]" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + name="Derived Column Output" + synchronousInputId="Package\Load Properties 1\Audit Trail.Inputs[Derived Column Input]"> - - - - - - - - - select * from [dbo].[PIMS_ADDRESS] - select * from (select * from [dbo].[PIMS_ADDRESS]) [refTable] -where [refTable].[STREET_ADDRESS_1] = ? and [refTable].[STREET_ADDRESS_2] = ? and [refTable].[STREET_ADDRESS_3] = ? and [refTable].[POSTAL_CODE] = ? and [refTable].[MUNICIPALITY_NAME] = ? and [refTable].[COUNTRY_ID] = ? and [refTable].[PROVINCE_STATE_ID] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_1" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_2" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_3" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPALITY_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="POSTAL_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="OTHER_COUNTRY" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="LATITUDE" dataType="DT_NUMERIC" length="0" precision="8" scale="6" codePage="0"/><referenceColumn name="LONGITUDE" dataType="DT_NUMERIC" length="0" precision="9" scale="6" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_1]};#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_2]};#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_3]};#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_POSTAL_CODE]};#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_MUNICIPALITY_NAME]};#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]};#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]};#{Package\Load Interest Holder Addresses\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]}; - 1252 - false - - - - - - - - + refId="Package\Load Properties 1\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]" + dataType="wstr" + errorOrTruncationOperation="Computation" + errorRowDisposition="FailComponent" + length="23" + lineageId="Package\Load Properties 1\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]" + name="APP_CREATE_USERID" + truncationRowDisposition="FailComponent"> APP_CREATE_USER_DIRECTORY + description="Derived Column Expression" + name="Expression">"APP_PIMS_PROXY_ETL_EDIT" + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"APP_PIMS_PROXY_ETL_EDIT" - - + + STREET_ADDRESS_1 + description="Derived Column Expression" + name="Expression">"place_holder" + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"place_holder" - - + + STREET_ADDRESS_2 + description="Derived Column Expression" + name="Expression">"APP_PIMS_PROXY_ETL_EDIT" + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"APP_PIMS_PROXY_ETL_EDIT" - - + + STREET_ADDRESS_3 + description="Derived Column Expression" + name="Expression">"place_holder" + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"place_holder" - - + + POSTAL_CODE + description="Derived Column Expression" + name="Expression">"TRUE" + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"TRUE" - - + + MUNICIPALITY_NAME + description="Derived Column Expression" + name="Expression">"FALSE" + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"FALSE" - - + + COUNTRY_ID + description="Derived Column Expression" + name="Expression">"FALSE" + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"FALSE" - - + + PROVINCE_STATE_ID + description="Derived Column Expression" + name="Expression">"FALSE" + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"FALSE" - - - - - - + + + + (DT_WSTR,10)#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PID]} + (DT_WSTR,10)PID + + + + + (DT_WSTR,10)#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[FILE_NUMBER]} + (DT_WSTR,10)FILE_NUMBER + + + + + + isErrorOut="true" + name="Derived Column Error Output" + synchronousInputId="Package\Load Properties 1\Audit Trail.Inputs[Derived Column Input]"> + + + + + + + + + + + + + + name="Derived Column Output" + synchronousInputId="Package\Load Properties 1\COREOPER as PROPERTY_CLASSIFICATION.Inputs[Derived Column Input]"> + + + + "COREOPER" + "COREOPER" + + + + name="Derived Column Error Output" + synchronousInputId="Package\Load Properties 1\COREOPER as PROPERTY_CLASSIFICATION.Inputs[Derived Column Input]"> @@ -56156,217 +39475,68 @@ where [refTable].[STREET_ADDRESS_1] = ? and [refTable].[STREET_ADDRESS_2] = ? an - - select * from [dbo].[PIMS_ADDRESS] - select * from (select * from [dbo].[PIMS_ADDRESS]) [refTable] -where [refTable].[STREET_ADDRESS_1] = ? and [refTable].[STREET_ADDRESS_2] = ? and [refTable].[STREET_ADDRESS_3] = ? and [refTable].[MUNICIPALITY_NAME] = ? and [refTable].[POSTAL_CODE] = ? and [refTable].[COUNTRY_ID] = ? and [refTable].[PROVINCE_STATE_ID] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_1" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_2" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_3" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPALITY_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="POSTAL_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="OTHER_COUNTRY" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="LATITUDE" dataType="DT_NUMERIC" length="0" precision="8" scale="6" codePage="0"/><referenceColumn name="LONGITUDE" dataType="DT_NUMERIC" length="0" precision="9" scale="6" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]};#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]};#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_3]};#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]};#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[POSTAL_CODE]};#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]};#{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]};#{Package\Load Interest Holder Addresses\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]}; - 1252 - false - - - - + refId="Package\Load Properties 1\Crude Null Correction for Region and District" + componentClassID="Microsoft.DerivedColumn" + contactInfo="Derived Column;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;0" + description="Creates new column values by applying expressions to transformation input columns. Create new columns or overwrite existing ones. For example, concatenate the values from the 'first name' and 'last name' column to make a 'full name' column." + name="Crude Null Correction for Region and District" + usesDispositions="true"> + refId="Package\Load Properties 1\Crude Null Correction for Region and District.Inputs[Derived Column Input]" + description="Input to the Derived Column Transformation" + name="Derived Column Input"> - - STREET_ADDRESS_1 - - - - - - STREET_ADDRESS_2 - - - - - - STREET_ADDRESS_3 - - - - - - MUNICIPALITY_NAME - - - - - - POSTAL_CODE - - - + lineageId="Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].Columns[MUNICIPALITY_NAME]" /> + cachedName="REGION_CODE" + errorOrTruncationOperation="Computation" + errorRowDisposition="FailComponent" + lineageId="Package\Load Properties 1\Address Id, Region and District Code.Outputs[Lookup Match Output].Columns[REGION_CODE]" + truncationRowDisposition="FailComponent" + usageType="readWrite"> COUNTRY_ID + description="Derived Column Expression" + name="Expression">[REPLACENULL](#{Package\Load Properties 1\Address Id, Region and District Code.Outputs[Lookup Match Output].Columns[REGION_CODE]},1) + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">REPLACENULL(REGION_CODE,1) + cachedName="DISTRICT_CODE" + errorOrTruncationOperation="Computation" + errorRowDisposition="FailComponent" + lineageId="Package\Load Properties 1\Address Id, Region and District Code.Outputs[Lookup Match Output].Columns[DISTRICT_CODE]" + truncationRowDisposition="FailComponent" + usageType="readWrite"> PROVINCE_STATE_ID - - - - - + description="Derived Column Expression" + name="Expression">[REPLACENULL](#{Package\Load Properties 1\Address Id, Region and District Code.Outputs[Lookup Match Output].Columns[DISTRICT_CODE]},#{Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].Columns[MUNICIPALITY_NAME]} == "VICTORIA" ? 2 : 1) APP_CREATE_USER_DIRECTORY - + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">REPLACENULL(DISTRICT_CODE,[PAM Property].MUNICIPALITY_NAME == "VICTORIA" ? 2 : 1) @@ -56375,38 +39545,31 @@ where [refTable].[STREET_ADDRESS_1] = ? and [refTable].[STREET_ADDRESS_2] = ? an - - - + name="Derived Column Output" + synchronousInputId="Package\Load Properties 1\Crude Null Correction for Region and District.Inputs[Derived Column Input]"> + name="Derived Column Error Output" + synchronousInputId="Package\Load Properties 1\Crude Null Correction for Region and District.Inputs[Derived Column Input]"> @@ -56415,487 +39578,180 @@ where [refTable].[STREET_ADDRESS_1] = ? and [refTable].[STREET_ADDRESS_2] = ? an - - 0 - "APP_PAM"."PAM_INTEREST_HOLDER" - - select * from app_pam.pam_interest_holder where interest_holder_id=570 - - 1252 - true - 0 - - - - - + refId="Package\Load Properties 1\Data Conversion" + componentClassID="Microsoft.DataConvert" + contactInfo="Data Conversion;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;0" + description="Data Conversion" + name="Data Conversion" + usesDispositions="true"> + + + + + + + + + + refId="Package\Load Properties 1\Data Conversion.Outputs[Data Conversion Output]" + exclusionGroup="1" + name="Data Conversion Output" + synchronousInputId="Package\Load Properties 1\Data Conversion.Inputs[Data Conversion Input]"> - - - + length="2" + lineageId="Package\Load Properties 1\Data Conversion.Outputs[Data Conversion Output].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]" + name="PROPERTY_AREA_UNIT_TYPE_CODE" + truncationRowDisposition="FailComponent"> + + #{Package\Load Properties 1\Area and Area Unit Code.Outputs[Lookup Match Output].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} + false + + - - - + lineageId="Package\Load Properties 1\Data Conversion.Outputs[Data Conversion Output].Columns[FILE_NUMBER_SUFFIX]" + name="FILE_NUMBER_SUFFIX" + truncationRowDisposition="FailComponent"> + + #{Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].Columns[FILE_NUMBER_SUFFIX]} + false + + - - - - - - - - - - - - - - - - - - - - - - - - - + + name="Data Conversion Error Output" + synchronousInputId="Package\Load Properties 1\Data Conversion.Inputs[Data Conversion Input]"> - - - - - - - - - - select * from [dbo].[PIMS_PROVINCE_STATE] - select * from (select * from [dbo].[PIMS_PROVINCE_STATE]) [refTable] -where [refTable].[PROVINCE_STATE_CODE] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISPLAY_ORDER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]}; - 1252 - false - - - - + refId="Package\Load Properties 1\Data Conversion 1" + componentClassID="Microsoft.DataConvert" + contactInfo="Data Conversion;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;0" + description="Data Conversion" + name="Data Conversion 1" + usesDispositions="true"> + refId="Package\Load Properties 1\Data Conversion 1.Inputs[Data Conversion Input]" + name="Data Conversion Input"> - - PROVINCE_STATE_CODE - - - + refId="Package\Load Properties 1\Data Conversion 1.Inputs[Data Conversion Input].Columns[TAKE_ID_new]" + cachedDataType="numeric" + cachedName="TAKE_ID_new" + cachedPrecision="10" + lineageId="Package\Load Properties 1\PAM_TAKE.Outputs[Lookup Match Output].Columns[TAKE_ID_new]" /> + name="Data Conversion Output" + synchronousInputId="Package\Load Properties 1\Data Conversion 1.Inputs[Data Conversion Input]"> PROVINCE_STATE_ID + containsID="true" + dataType="System.Int32" + description="Specifies the input column used as the source of data for the conversion." + name="SourceInputColumnLineageID">#{Package\Load Properties 1\PAM_TAKE.Outputs[Lookup Match Output].Columns[TAKE_ID_new]} + false - - - + name="Data Conversion Error Output" + synchronousInputId="Package\Load Properties 1\Data Conversion 1.Inputs[Data Conversion Input]"> @@ -56904,1235 +39760,1236 @@ where [refTable].[PROVINCE_STATE_CODE] = ? + refId="Package\Load Properties 1\Derived Column" + componentClassID="Microsoft.DerivedColumn" + contactInfo="Derived Column;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;0" + description="Creates new column values by applying expressions to transformation input columns. Create new columns or overwrite existing ones. For example, concatenate the values from the 'first name' and 'last name' column to make a 'full name' column." + name="Derived Column" + usesDispositions="true"> + refId="Package\Load Properties 1\Derived Column.Inputs[Derived Column Input]" + description="Input to the Derived Column Transformation" + name="Derived Column Input"> + cachedLength="2" + cachedName="FILE_NUMBER_SUFFIX" + lineageId="Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].Columns[FILE_NUMBER_SUFFIX]" /> + + + + + + + + #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"HA" #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"HA" - - + + #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_3]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">0000.0000 #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">0000.0000 - - + + #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[PROVINCE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">(DT_STR,2,1252)#{Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].Columns[FILE_NUMBER_SUFFIX]} #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[COUNTRY]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">(DT_STR,2,1252)FILE_NUMBER_SUFFIX - - + + #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[POSTAL_CODE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">(DT_NUMERIC,10,0)0 #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">(DT_NUMERIC,10,0)0 - + + + + + + + + + + + + + + + + + - - #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_1]} - - + cachedLength="23" + cachedName="APP_CREATE_USERID" + lineageId="Package\Load Properties 1\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]" /> - - #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_2]} - - + cachedLength="10" + cachedName="PID_New" + lineageId="Package\Load Properties 1\Audit Trail.Outputs[Derived Column Output].Columns[PID_New]" /> + cachedLength="10" + cachedName="FILE_NUMBER_New" + lineageId="Package\Load Properties 1\Audit Trail.Outputs[Derived Column Output].Columns[FILE_NUMBER_New]" /> + + + + + + + + #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_3]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"Load Properties" #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_COUNTRY]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"Load Properties" - - + + #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]} + dataType="System.String" + description="Derived Column Expression" + name="Expression">"Store property in PIMS_PROPERTY" + "Store property in PIMS_PROPERTY" - - + + #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_POSTAL_CODE]} + dataType="System.String" + description="Derived Column Expression" + name="Expression">"PID :" + #{Package\Load Properties 1\Audit Trail.Outputs[Derived Column Output].Columns[PID_New]} + "FILE_NUMBER: " + #{Package\Load Properties 1\Audit Trail.Outputs[Derived Column Output].Columns[FILE_NUMBER_New]} + "APP_CREATE_USERID: " + #{Package\Load Properties 1\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]} + "PID :" + PID_New + "FILE_NUMBER: " + FILE_NUMBER_New + "APP_CREATE_USERID: " + APP_CREATE_USERID - - + + #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_MUNICIPALITY_NAME]} + dataType="System.String" + description="Derived Column Expression" + name="Expression">[GETDATE]() + GETDATE() - - + + #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[COUNTRY_ID]} + dataType="System.String" + description="Derived Column Expression" + name="Expression">"PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - + + - + + + + + + + + + + + + + refId="Package\Load Properties 1\Derived Column 1 1.Inputs[Derived Column Input]" + description="Input to the Derived Column Transformation" + name="Derived Column Input"> - - #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} - - + cachedLength="23" + cachedName="APP_CREATE_USERID" + lineageId="Package\Load Properties 1\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]" /> - - #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} - - + cachedLength="10" + cachedName="PID_New" + lineageId="Package\Load Properties 1\Audit Trail.Outputs[Derived Column Output].Columns[PID_New]" /> + cachedLength="10" + cachedName="FILE_NUMBER_New" + lineageId="Package\Load Properties 1\Audit Trail.Outputs[Derived Column Output].Columns[FILE_NUMBER_New]" /> + + + + + + + + #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_3]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"Load Properties" #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"Load Properties" - - + + #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[PROVINCE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"Store property in PIMS_PROPERTY" #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[COUNTRY]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"Store property in PIMS_PROPERTY" - - + + #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[POSTAL_CODE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"PID :" + #{Package\Load Properties 1\Audit Trail.Outputs[Derived Column Output].Columns[PID_New]} + " FILE_NUMBER: " + #{Package\Load Properties 1\Audit Trail.Outputs[Derived Column Output].Columns[FILE_NUMBER_New]} + " APP_CREATE_USERID: " + #{Package\Load Properties 1\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]} #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"PID :" + PID_New + " FILE_NUMBER: " + FILE_NUMBER_New + " APP_CREATE_USERID: " + APP_CREATE_USERID - - + + #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_1]} + dataType="System.String" + description="Derived Column Expression" + name="Expression">[GETDATE]() + GETDATE() - - + + #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_2]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_3]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - + + + + + + + + + + + + + + + + + + + + + + + #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_COUNTRY]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">(DT_WSTR,50)"" #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">(DT_WSTR,50)"" - - + + #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_POSTAL_CODE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">(DT_WSTR,50)"" #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[UNICODE_MUNICIPALITY_NAME]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">(DT_WSTR,50)"" - - + + + + + + + + + + + + + + + + + + + + + + + #{Package\Load Interest Holder Addresses\Union All.Outputs[Union All Output 1].Columns[COUNTRY_ID]} + dataType="System.String" + description="Derived Column Expression" + name="Expression">(DT_NUMERIC,10,0)0 + (DT_NUMERIC,10,0)0 - - + + - + + + + + + + + + + + + + refId="Package\Load Properties 1\Derived Column 3.Inputs[Derived Column Input]" + description="Input to the Derived Column Transformation" + name="Derived Column Input"> + refId="Package\Load Properties 1\Derived Column 3.Outputs[Derived Column Output]" + description="Default Output of the Derived Column Transformation" + exclusionGroup="1" + name="Derived Column Output" + synchronousInputId="Package\Load Properties 1\Derived Column 3.Inputs[Derived Column Input]"> - - - - - - - - - - - - - + precision="10" + truncationRowDisposition="FailComponent"> + + (DT_NUMERIC,10,0)0 + (DT_NUMERIC,10,0)0 + + + + + + + + refId="Package\Load Properties 1\Derived Column 3.Outputs[Derived Column Error Output].Columns[ErrorCode]" + dataType="i4" + lineageId="Package\Load Properties 1\Derived Column 3.Outputs[Derived Column Error Output].Columns[ErrorCode]" + name="ErrorCode" + specialFlags="1" /> + refId="Package\Load Properties 1\Derived Column 3.Outputs[Derived Column Error Output].Columns[ErrorColumn]" + dataType="i4" + lineageId="Package\Load Properties 1\Derived Column 3.Outputs[Derived Column Error Output].Columns[ErrorColumn]" + name="ErrorColumn" + specialFlags="2" /> + refId="Package\Load Properties 1\Derived Column 6" + componentClassID="Microsoft.DerivedColumn" + contactInfo="Derived Column;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;0" + description="Creates new column values by applying expressions to transformation input columns. Create new columns or overwrite existing ones. For example, concatenate the values from the 'first name' and 'last name' column to make a 'full name' column." + name="Derived Column 6" + usesDispositions="true"> - - - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} - - - + refId="Package\Load Properties 1\Derived Column 6.Inputs[Derived Column Input]" + description="Input to the Derived Column Transformation" + name="Derived Column Input"> + + + + + + + #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">(DT_NUMERIC,10,0)0 #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_3]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">(DT_NUMERIC,10,0)0 - - - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]} - - - - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY]} - - - - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[POSTAL_CODE]} - - - - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_1]} - - - - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_2]} - - - - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_3]} - - - - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_COUNTRY]} - - - + + + + + + + + + + + + + + + + + + + + + + + #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">(DT_NUMERIC,10,0)0 #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_POSTAL_CODE]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">(DT_NUMERIC,10,0)0 - + + + + + + + + + + + + + + + + + - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_MUNICIPALITY_NAME]} - - - + cachedLength="2000" + cachedName="DESCRIPTION" + cachedSortKeyPosition="3" + errorOrTruncationOperation="Computation" + errorRowDisposition="FailComponent" + lineageId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[DESCRIPTION]" + truncationRowDisposition="FailComponent" + usageType="readWrite"> #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]} - - - - + dataType="System.String" + description="Derived Column Expression" + name="Expression">"Property of Interest - Not Found in Land Parcel " + [REPLACENULL](#{Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[DESCRIPTION]}," ") #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]} + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"Property of Interest - Not Found in Land Parcel " + REPLACENULL(DESCRIPTION," ") + + + + + + + + + + + + + + + + + 0 + [etl].[ETL_ERROR_LOG] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + name="OLE DB Destination Input"> - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} - - + cachedLength="15" + cachedName="ERROR_TASK" + externalMetadataColumnId="Package\Load Properties 1\Error Log.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TASK_NAME]" + lineageId="Package\Load Properties 1\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_TASK]" /> - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} - - + cachedLength="31" + cachedName="ERROR_OPERATION" + externalMetadataColumnId="Package\Load Properties 1\Error Log.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_OPERATION_NAME]" + lineageId="Package\Load Properties 1\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_OPERATION]" /> - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_3]} - - + refId="Package\Load Properties 1\Error Log.Inputs[OLE DB Destination Input].Columns[ERROR_TIME]" + cachedDataType="dbTimeStamp" + cachedName="ERROR_TIME" + externalMetadataColumnId="Package\Load Properties 1\Error Log.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TIME]" + lineageId="Package\Load Properties 1\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_TIME]" /> - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - + cachedLength="32" + cachedName="ERROR_ETL" + externalMetadataColumnId="Package\Load Properties 1\Error Log.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ETL_NAME]" + lineageId="Package\Load Properties 1\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_ETL]" /> - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]} - - + cachedLength="80" + cachedName="ERROR_ROW" + externalMetadataColumnId="Package\Load Properties 1\Error Log.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ROW]" + lineageId="Package\Load Properties 1\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_ROW]" /> - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY]} - - + refId="Package\Load Properties 1\Error Log.Inputs[OLE DB Destination Input].Columns[ErrorCode]" + cachedDataType="i4" + cachedName="ErrorCode" + externalMetadataColumnId="Package\Load Properties 1\Error Log.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_CODE]" + lineageId="Package\Load Properties 1\Insert PIMS_PROPERTY.Outputs[OLE DB Destination Error Output].Columns[ErrorCode]" /> - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[POSTAL_CODE]} - - - - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_1]} - - - - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_2]} - - - - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_3]} - - - - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_COUNTRY]} - - - - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]} - - - - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_POSTAL_CODE]} - - - - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_MUNICIPALITY_NAME]} - - - - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]} - - - - - #{Package\Load Interest Holder Addresses\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]} - - + refId="Package\Load Properties 1\Error Log.Inputs[OLE DB Destination Input].Columns[ErrorColumn]" + cachedDataType="i4" + cachedName="ErrorColumn" + externalMetadataColumnId="Package\Load Properties 1\Error Log.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_COLUMN]" + lineageId="Package\Load Properties 1\Insert PIMS_PROPERTY.Outputs[OLE DB Destination Error Output].Columns[ErrorColumn]" /> - - - - + + + + + + + + + + refId="Package\Load Properties 1\Error Log.Outputs[OLE DB Destination Error Output]" + exclusionGroup="1" + isErrorOut="true" + name="OLE DB Destination Error Output" + synchronousInputId="Package\Load Properties 1\Error Log.Inputs[OLE DB Destination Input]"> - - - - - - - - - - - - - - - + refId="Package\Load Properties 1\Error Log.Outputs[OLE DB Destination Error Output].Columns[ErrorCode]" + dataType="i4" + lineageId="Package\Load Properties 1\Error Log.Outputs[OLE DB Destination Error Output].Columns[ErrorCode]" + name="ErrorCode" + specialFlags="1" /> + refId="Package\Load Properties 1\Error Log.Outputs[OLE DB Destination Error Output].Columns[ErrorColumn]" + dataType="i4" + lineageId="Package\Load Properties 1\Error Log.Outputs[OLE DB Destination Error Output].Columns[ErrorColumn]" + name="ErrorColumn" + specialFlags="2" /> + version="4"> 0 + [etl].[ETL_ERROR_LOG] + Update PIMS_ADDRESS -set province_state_id=?, -country_id=?, -street_address_1=?, -STREET_ADDRESS_2=?, -STREET_ADDRESS_3=?, -municipality_name=?, -POSTAL_CODE=? -where APP_CREATE_USER_DIRECTORY=? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + name="OLE DB Destination Input"> - - + cachedLength="15" + cachedName="ERROR_TASK" + externalMetadataColumnId="Package\Load Properties 1\Error Log 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TASK_NAME]" + lineageId="Package\Load Properties 1\Derived Column 1 1.Outputs[Derived Column Output].Columns[ERROR_TASK]" /> + cachedLength="31" + cachedName="ERROR_OPERATION" + externalMetadataColumnId="Package\Load Properties 1\Error Log 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_OPERATION_NAME]" + lineageId="Package\Load Properties 1\Derived Column 1 1.Outputs[Derived Column Output].Columns[ERROR_OPERATION]" /> + refId="Package\Load Properties 1\Error Log 1.Inputs[OLE DB Destination Input].Columns[ERROR_TIME]" + cachedDataType="dbTimeStamp" + cachedName="ERROR_TIME" + externalMetadataColumnId="Package\Load Properties 1\Error Log 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TIME]" + lineageId="Package\Load Properties 1\Derived Column 1 1.Outputs[Derived Column Output].Columns[ERROR_TIME]" /> + cachedLength="32" + cachedName="ERROR_ETL" + externalMetadataColumnId="Package\Load Properties 1\Error Log 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ETL_NAME]" + lineageId="Package\Load Properties 1\Derived Column 1 1.Outputs[Derived Column Output].Columns[ERROR_ETL]" /> + cachedLength="82" + cachedName="ERROR_ROW" + externalMetadataColumnId="Package\Load Properties 1\Error Log 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ROW]" + lineageId="Package\Load Properties 1\Derived Column 1 1.Outputs[Derived Column Output].Columns[ERROR_ROW]" /> + refId="Package\Load Properties 1\Error Log 1.Inputs[OLE DB Destination Input].Columns[ErrorCode]" + cachedDataType="i4" + cachedName="ErrorCode" + externalMetadataColumnId="Package\Load Properties 1\Error Log 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_CODE]" + lineageId="Package\Load Properties 1\Update PIMS_PROPERTY.Outputs[OLE DB Command Error Output].Columns[ErrorCode]" /> + - - 81 - - - - - 81 - - + refId="Package\Load Properties 1\Error Log 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_TIME]" + dataType="dbTimeStamp" + name="ERROR_TIME" /> - - 65 - - + length="100" + name="ERROR_OPERATION_NAME" /> - - 65 - - + length="100" + name="ERROR_TASK_NAME" /> - - 65 - - + length="100" + name="ERROR_ETL_NAME" /> - - 65 - - + refId="Package\Load Properties 1\Error Log 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ROW]" + dataType="nText" + name="ERROR_ROW" /> - - 65 - - + refId="Package\Load Properties 1\Error Log 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_CODE]" + dataType="i4" + name="ERROR_CODE" /> - - 65 - - + refId="Package\Load Properties 1\Error Log 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_COLUMN]" + dataType="i4" + name="ERROR_COLUMN" /> - - - + name="OLE DB Destination Error Output" + synchronousInputId="Package\Load Properties 1\Error Log 1.Inputs[OLE DB Destination Input]"> @@ -58333,708 +41111,391 @@ where APP_CREATE_USER_DIRECTORY=? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + refId="Package\Load Properties 1\Existing PIMS_PROPERTY records" + componentClassID="Microsoft.Lookup" + contactInfo="Lookup;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;6" + description="Joins additional columns to the data flow by looking up values in a table. For example, join to the 'employee id' column the employees table to get 'hire date' and 'employee name'. We recommend this transformation when the lookup table can fit into memory." + name="Existing PIMS_PROPERTY records" + usesDispositions="true" + version="6"> + + select * from [dbo].[PIMS_PROPERTY] + select * from (select * from [dbo].[PIMS_PROPERTY]) [refTable] +where [refTable].[DESCRIPTION] = ? and [refTable].[ZONING] = ? and [refTable].[ZONING_POTENTIAL] = ? and [refTable].[PROPERTY_TYPE_CODE] = ? and [refTable].[PROPERTY_CLASSIFICATION_TYPE_CODE] = ? and [refTable].[ADDRESS_ID] = ? and [refTable].[REGION_CODE] = ? and [refTable].[DISTRICT_CODE] = ? and [refTable].[PROPERTY_AREA_UNIT_TYPE_CODE] = ? and [refTable].[PROPERTY_MANAGER_ID] = ? and [refTable].[PROP_MGMT_ORG_ID] = ? and [refTable].[PROPERTY_STATUS_TYPE_CODE] = ? and [refTable].[PPH_STATUS_TYPE_CODE] = ? and [refTable].[PROPERTY_DATA_SOURCE_TYPE_CODE] = ? and [refTable].[SURPLUS_DECLARATION_TYPE_CODE] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="PROPERTY_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_MANAGER_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROP_MGMT_ORG_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_CLASSIFICATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_AREA_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUME_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_EFFECTIVE_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="PID" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PIN" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER_SUFFIX" dataType="DT_WSTR" length="2" precision="0" scale="0" codePage="0"/><referenceColumn name="LAND_AREA" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LAND_LEGAL_DESCRIPTION" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="BOUNDARY" dataType="DT_IMAGE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LOCATION" dataType="DT_IMAGE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURVEY_PLAN_NUMBER" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/><referenceColumn name="ENCUMBRANCE_REASON" dataType="DT_WSTR" length="500" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="NOTES" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPAL_ZONING" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VOLUMETRIC_PARCEL" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_MEASUREMENT" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_OWNED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROPERTY_OF_INTEREST" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VISIBLE_TO_OTHER_AGENCIES" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_SENSITIVE" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROVINCIAL_PUBLIC_HWY" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_RWY_BELT_DOM_PATENT" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING_POTENTIAL" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[Description]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ZONING]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ADDRESS_ID]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[REGION_CODE]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[DISTRICT_CODE]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PERSON_ID]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ORGANIZATION_ID]};#{Package\Load Properties 1\PROPERTY_STATUS_TYPE.Outputs[Derived Column Output].Columns[PROPERTY_STATUS_TYPE_CODE]};#{Package\Load Properties 1\PROPERTY_STATUS_TYPE.Outputs[Derived Column Output].Columns[PPH_STATUS_TYPE_CODE]};#{Package\Load Properties 1\PROPERTY_DATA_SOURCE_TYPE.Outputs[Derived Column Output].Columns[PROPERTY_DATA_SOURCE_TYPE_CODE]};#{Package\Load Properties 1\SURPLUS_DECLARATION_TYPE_CODE.Outputs[Derived Column Output].Columns[SURPLUS_DELCARATION_TYPE_CODE]};#{Package\Load Properties 1\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]}; + 1252 + false + + + + + refId="Package\Load Properties 1\Existing PIMS_PROPERTY records.Inputs[Lookup Input]" + name="Lookup Input"> - - - - - - - - + refId="Package\Load Properties 1\Existing PIMS_PROPERTY records.Inputs[Lookup Input].Columns[Description]" + cachedDataType="wstr" + cachedLength="2050" + cachedName="Description" + lineageId="Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[Description]"> "APP_PIMS_PROXY_ETL_EDIT" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">DESCRIPTION "APP_PIMS_PROXY_ETL_EDIT" + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> - - + + (DT_WSTR,10)#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">ZONING + + + + + (DT_WSTR,10)INTEREST_HOLDER_ID + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">ZONING_POTENTIAL + - - + + "APP_PIMS_PROXY_ETL_EDIT" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">PROPERTY_TYPE_CODE + + + + + "APP_PIMS_PROXY_ETL_EDIT" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">PROPERTY_CLASSIFICATION_TYPE_CODE + - - + + "place_holder" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">ADDRESS_ID + + + + + "place_holder" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">REGION_CODE + - - - - - - - - - - - - - - - - - - - - - - - + + "FAX" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">DISTRICT_CODE + + + + + "FAX" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">PROPERTY_AREA_UNIT_TYPE_CODE + - - - - - - - - - - - - - - - - - - - - - - - + + "WORKPHONE" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">PROPERTY_MANAGER_ID "WORKPHONE" + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> - - - - - - - - - - - - - - - - - - - - - - - + + "PERSPHONE" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">PROP_MGMT_ORG_ID "PERSPHONE" + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> - - - - - - - - - - - - - - - - - - - - - - - + + "WORKEMAIL" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">PROPERTY_STATUS_TYPE_CODE + + + + + "WORKEMAIL" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">PPH_STATUS_TYPE_CODE + - - - - - - - - - - - - - - - - - - - - - - - + + "WORKPHONE" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">PROPERTY_DATA_SOURCE_TYPE_CODE + + + + + "WORKPHONE" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">SURPLUS_DECLARATION_TYPE_CODE + - - - - - - - - - - - - - - - - - + + refId="Package\Load Properties 1\Existing PIMS_PROPERTY records.Inputs[Lookup Input].Columns[APP_CREATE_USER_DIRECTORY]" + cachedDataType="wstr" + cachedLength="12" + cachedName="APP_CREATE_USER_DIRECTORY" + lineageId="Package\Load Properties 1\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]"> + + APP_CREATE_USER_DIRECTORY + + + - - - - #{Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]} - false - - - + name="Lookup Match Output" + synchronousInputId="Package\Load Properties 1\Existing PIMS_PROPERTY records.Inputs[Lookup Input]"> + + + + name="Lookup Error Output" + synchronousInputId="Package\Load Properties 1\Existing PIMS_PROPERTY records.Inputs[Lookup Input]"> @@ -59043,76 +41504,566 @@ where APP_CREATE_USER_DIRECTORY=? + refId="Package\Load Properties 1\Insert PIMS_PROPERTY" + componentClassID="Microsoft.OLEDBDestination" + contactInfo="OLE DB Destination;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;4" + description="OLE DB Destination" + name="Insert PIMS_PROPERTY" + usesDispositions="true" + validateExternalMetadata="False" + version="4"> + + 0 + [dbo].[PIMS_PROPERTY] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + refId="Package\Load Properties 1\Insert PIMS_PROPERTY.Inputs[OLE DB Destination Input]" + errorOrTruncationOperation="Insert" + errorRowDisposition="RedirectRow" + hasSideEffects="true" + name="OLE DB Destination Input"> + + + + + + + + + + + + + + + + + + + + + + + cachedLength="2" + cachedName="File_Number_Suffix1" + externalMetadataColumnId="Package\Load Properties 1\Insert PIMS_PROPERTY.Inputs[OLE DB Destination Input].ExternalColumns[FILE_NUMBER_SUFFIX]" + lineageId="Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[File_Number_Suffix1]" /> + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - #{Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]} - false - - - - - - + name="OLE DB Destination Error Output" + synchronousInputId="Package\Load Properties 1\Insert PIMS_PROPERTY.Inputs[OLE DB Destination Input]"> @@ -59121,76 +42072,72 @@ where APP_CREATE_USER_DIRECTORY=? - - - + refId="Package\Load Properties 1\LAND as PROPERTY_TYPE_CODE.Inputs[Derived Column Input]" + description="Input to the Derived Column Transformation" + name="Derived Column Input"> + name="Derived Column Output" + synchronousInputId="Package\Load Properties 1\LAND as PROPERTY_TYPE_CODE.Inputs[Derived Column Input]"> #{Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]} + dataType="System.String" + description="Derived Column Expression" + name="Expression">"LAND" false + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">"LAND" + name="Derived Column Error Output" + synchronousInputId="Package\Load Properties 1\LAND as PROPERTY_TYPE_CODE.Inputs[Derived Column Input]"> @@ -59199,154 +42146,141 @@ where APP_CREATE_USER_DIRECTORY=? - - - - - - - - - - - - - - #{Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]} - false - - - - - - - - - - - - - - - + refId="Package\Load Properties 1\Lookup PAM_LAND_PARCEL" + componentClassID="Microsoft.Lookup" + contactInfo="Lookup;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;6" + description="Joins additional columns to the data flow by looking up values in a table. For example, join to the 'employee id' column the employees table to get 'hire date' and 'employee name'. We recommend this transformation when the lookup table can fit into memory." + name="Lookup PAM_LAND_PARCEL" + usesDispositions="true" + version="6"> + + select distinct pid_no from pam_land_parcel + select * from (select distinct pid_no from pam_land_parcel) "refTable" +where "refTable"."PID_NO" = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="PID_NO" dataType="DT_NUMERIC" length="0" precision="9" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[PID]}; + 1252 + false + + + + + refId="Package\Load Properties 1\Lookup PAM_LAND_PARCEL.Inputs[Lookup Input]" + name="Lookup Input"> + refId="Package\Load Properties 1\Lookup PAM_LAND_PARCEL.Inputs[Lookup Input].Columns[PID]" + cachedDataType="numeric" + cachedName="PID" + cachedPrecision="9" + cachedSortKeyPosition="4" + lineageId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[PID]"> + + PID_NO + + + - - - - #{Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]} - false - - - + name="Lookup Match Output" + synchronousInputId="Package\Load Properties 1\Lookup PAM_LAND_PARCEL.Inputs[Lookup Input]"> + + + + name="Lookup Error Output" + synchronousInputId="Package\Load Properties 1\Lookup PAM_LAND_PARCEL.Inputs[Lookup Input]"> @@ -59355,1080 +42289,1130 @@ where APP_CREATE_USER_DIRECTORY=? + refId="Package\Load Properties 1\Merge Join" + componentClassID="Microsoft.MergeJoin" + contactInfo="Merge Join;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;1" + description="Combine two sorted data flows into one using the FULL, LEFT, or INNER join. We recommend this transformation when data flows can be sorted at their sources." + name="Merge Join" + version="1"> + + 2 + 20 + true + 5 + + refId="Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input]" + hasSideEffects="true" + name="Merge Join Left Input"> + refId="Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[CIVIC_ADDRESS]" + cachedDataType="wstr" + cachedLength="100" + cachedName="CIVIC_ADDRESS" + cachedSortKeyPosition="1" + lineageId="Package\Load Properties 1\Sort.Outputs[Sort Output].Columns[CIVIC_ADDRESS]" /> + refId="Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[MUNICIPALITY_NAME]" + cachedDataType="wstr" + cachedLength="40" + cachedName="MUNICIPALITY_NAME" + cachedSortKeyPosition="2" + lineageId="Package\Load Properties 1\Sort.Outputs[Sort Output].Columns[MUNICIPALITY_NAME]" /> + + + + + + + + + + + + + + + + + + + + + + + + + cachedName="EMPLOYEE_NAME" + cachedSortKeyPosition="27" + lineageId="Package\Load Properties 1\Sort.Outputs[Sort Output].Columns[EMPLOYEE_NAME]" /> + cachedName="EMPLOYEE_ORGANIZATION_NAME" + cachedSortKeyPosition="28" + lineageId="Package\Load Properties 1\Sort.Outputs[Sort Output].Columns[EMPLOYEE_ORGANIZATION_NAME]" /> + cachedLength="40" + cachedName="FIRST_NAME" + cachedSortKeyPosition="29" + lineageId="Package\Load Properties 1\Sort.Outputs[Sort Output].Columns[FIRST_NAME]" /> + cachedLength="40" + cachedName="MIDDLE_NAME" + cachedSortKeyPosition="30" + lineageId="Package\Load Properties 1\Sort.Outputs[Sort Output].Columns[MIDDLE_NAME]" /> + + + - - - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} - false - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} - false - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - false - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} - false - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} - false - - - - - #{Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USERID]} - false - - - - - - - - - - - - - - - - + refId="Package\Load Properties 1\Merge Join.Inputs[Merge Join Right Input]" + hasSideEffects="true" + name="Merge Join Right Input"> + refId="Package\Load Properties 1\Merge Join.Inputs[Merge Join Right Input].Columns[CIVIC_ADDRESS]" + cachedDataType="wstr" + cachedLength="100" + cachedName="CIVIC_ADDRESS" + cachedSortKeyPosition="1" + lineageId="Package\Load Properties 1\Sort 1.Outputs[Sort Output].Columns[CIVIC_ADDRESS]" /> + refId="Package\Load Properties 1\Merge Join.Inputs[Merge Join Right Input].Columns[MUNICIPALITY_NAME]" + cachedDataType="wstr" + cachedLength="40" + cachedName="MUNICIPALITY_NAME" + cachedSortKeyPosition="2" + lineageId="Package\Load Properties 1\Sort 1.Outputs[Sort Output].Columns[MUNICIPALITY_NAME]" /> + refId="Package\Load Properties 1\Merge Join.Inputs[Merge Join Right Input].Columns[DESCRIPTION]" + cachedDataType="wstr" + cachedLength="2000" + cachedName="DESCRIPTION" + cachedSortKeyPosition="3" + lineageId="Package\Load Properties 1\Sort 1.Outputs[Sort Output].Columns[DESCRIPTION]" /> + + + + + + + + + + + + + + + + + + + + + + + + + + cachedSortKeyPosition="29" + lineageId="Package\Load Properties 1\Sort 1.Outputs[Sort Output].Columns[FIRST_NAME]" /> + cachedLength="40" + cachedName="MIDDLE_NAME" + cachedSortKeyPosition="30" + lineageId="Package\Load Properties 1\Sort 1.Outputs[Sort Output].Columns[MIDDLE_NAME]" /> + cachedLength="40" + cachedName="SURNAME" + cachedSortKeyPosition="31" + lineageId="Package\Load Properties 1\Sort 1.Outputs[Sort Output].Columns[SURNAME]" /> + + + refId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output]" + isSorted="true" + name="Merge Join Output"> + refId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[CIVIC_ADDRESS]" + dataType="wstr" + length="100" + lineageId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[CIVIC_ADDRESS]" + name="CIVIC_ADDRESS" + sortKeyPosition="1"> [GETDATE]() - GETDATE() + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[CIVIC_ADDRESS]} + length="40" + lineageId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[MUNICIPALITY_NAME]" + name="MUNICIPALITY_NAME" + sortKeyPosition="2"> "Load INTEREST HOLDER PERSON Contact Method" - "Load INTEREST HOLDER PERSON Contact Method" + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[MUNICIPALITY_NAME]} + length="2000" + lineageId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[DESCRIPTION]" + name="DESCRIPTION" + sortKeyPosition="3"> "PIMS_CONTACT_METHOD FOR PERSON" - "PIMS_CONTACT_METHOD FOR PERSON" + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[DESCRIPTION]} + refId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[PID]" + dataType="numeric" + lineageId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[PID]" + name="PID" + precision="9" + sortKeyPosition="4"> "PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[PID]} + + + + "PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[PIN]} + refId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[LAND_LEGAL_DESCRIPTION]" + dataType="wstr" + length="2000" + lineageId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[LAND_LEGAL_DESCRIPTION]" + name="LAND_LEGAL_DESCRIPTION" + sortKeyPosition="6"> #{Package\Load Interest Holder Contact Method\Insert PIMS_CONTACT_METHOD FOR PERSON.Outputs[OLE DB Destination Error Output].Columns[ErrorCode]} + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[LAND_LEGAL_DESCRIPTION]} + + + + ErrorCode + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[ZONING]} + refId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[ZONING_POTENTIAL]" + dataType="wstr" + length="30" + lineageId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[ZONING_POTENTIAL]" + name="ZONING_POTENTIAL" + sortKeyPosition="8"> #{Package\Load Interest Holder Contact Method\Insert PIMS_CONTACT_METHOD FOR PERSON.Outputs[OLE DB Destination Error Output].Columns[ErrorColumn]} + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[ZONING_POTENTIAL]} + + + + ErrorColumn + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[PROPERTY_ID]} + length="2" + lineageId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[PROPERTY_TENURE_TYPE_CODE]" + name="PROPERTY_TENURE_TYPE_CODE" + sortKeyPosition="10"> "FIRST_NAME" + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} + "SURNAME: " + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} + "APP_CREATE_USER_DIRECTORY" + #{Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]} + " CONTACT_METHOD_VALUE: " + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} - "FIRST_NAME" + FIRST_NAME + "SURNAME: " + SURNAME + "APP_CREATE_USER_DIRECTORY" + AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY + " CONTACT_METHOD_VALUE: " + CONTACT_METHOD_VALUE + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[PROPERTY_TENURE_TYPE_CODE]} - - - - - - - - - - - - - - - - - - - - - - - - - - + refId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[FILE_NUMBER]" + dataType="numeric" + lineageId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[FILE_NUMBER]" + name="FILE_NUMBER" + precision="6" + sortKeyPosition="11"> [GETDATE]() - GETDATE() + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[FILE_NUMBER]} + length="2" + lineageId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[FILE_NUMBER_SUFFIX]" + name="FILE_NUMBER_SUFFIX" + sortKeyPosition="12"> "Load INTEREST HOLDER ORGANIZATION Contact Method" + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[FILE_NUMBER_SUFFIX]} + + + + "Load INTEREST HOLDER ORGANIZATION Contact Method" + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[PROPERTY_TYPE_CODE]} + length="8" + lineageId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]" + name="PROPERTY_CLASSIFICATION_TYPE_CODE" + sortKeyPosition="14"> "PIMS_CONTACT_METHOD FOR ORGANIZATION" + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} + + + + "PIMS_CONTACT_METHOD FOR ORGANIZATION" + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[ADDRESS_ID]} + refId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[REGION_CODE]" + dataType="i2" + lineageId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[REGION_CODE]" + name="REGION_CODE" + sortKeyPosition="16"> "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[REGION_CODE]} + + + + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[DISTRICT_CODE]} + length="2" + lineageId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]" + name="PROPERTY_AREA_UNIT_TYPE_CODE" + sortKeyPosition="18"> "ORGANIZATION NAME: " + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]} + " CONTAACT_METHOD_VALUE: " + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} - "ORGANIZATION NAME: " + ORGANIZATION_NAME + " APP_CREATE_USER_DIRECTORY: " + AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY + " CONTAACT_METHOD_VALUE: " + CONTACT_METHOD_VALUE + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - - - - - - - - - - - - - - - - - - - - - - - - - + refId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[LAND_AREA]" + dataType="numeric" + lineageId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[LAND_AREA]" + name="LAND_AREA" + precision="8" + scale="4" + sortKeyPosition="19"> [GETDATE]() + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[LAND_AREA]} + + + + GETDATE() + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[File_Number_Suffix1]} + refId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[TAKE_ID]" + dataType="numeric" + lineageId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[TAKE_ID]" + name="TAKE_ID" + precision="10"> "Load INTEREST HOLDER ORGANIZATION Contact Method" + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[TAKE_ID]} + + + + "Load INTEREST HOLDER ORGANIZATION Contact Method" + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[TAKE_ID_new]} + refId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[Copy of TAKE_ID_new]" + dataType="numeric" + lineageId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[Copy of TAKE_ID_new]" + name="Copy of TAKE_ID_new" + precision="10"> "PIMS_CONTACT_METHOD FOR ORGANIZATION" + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[Copy of TAKE_ID_new]} + + + + "PIMS_CONTACT_METHOD FOR ORGANIZATION" + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[INTEREST_HOLDER_ID]} + refId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[PROPERTY_CONT_PROPERTY_ID]" + dataType="numeric" + lineageId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[PROPERTY_CONT_PROPERTY_ID]" + name="PROPERTY_CONT_PROPERTY_ID" + precision="10"> "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[PROPERTY_CONT_PROPERTY_ID]} + + + + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[PROPERTY_EMPLOYEE_ID]} + length="50" + lineageId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[EMPLOYEE_NAME]" + name="EMPLOYEE_NAME"> "ORGANIZATION NAME: " + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]} + " CONTAACT_METHOD_VALUE: " + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} - "ORGANIZATION NAME: " + ORGANIZATION_NAME + " APP_CREATE_USER_DIRECTORY: " + AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY + " CONTAACT_METHOD_VALUE: " + CONTACT_METHOD_VALUE - + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[EMPLOYEE_NAME]} + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + refId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[EMPLOYEE_ORGANIZATION_NAME]" + dataType="wstr" + length="200" + lineageId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[EMPLOYEE_ORGANIZATION_NAME]" + name="EMPLOYEE_ORGANIZATION_NAME"> [GETDATE]() - GETDATE() + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[EMPLOYEE_ORGANIZATION_NAME]} + length="40" + lineageId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[FIRST_NAME]" + name="FIRST_NAME"> "Load INTEREST HOLDER PERSON Contact Method" - "Load INTEREST HOLDER PERSON Contact Method" + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[FIRST_NAME]} + length="40" + lineageId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[MIDDLE_NAME]" + name="MIDDLE_NAME"> "PIMS_CONTACT_METHOD FOR PERSON" - "PIMS_CONTACT_METHOD FOR PERSON" + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[MIDDLE_NAME]} + length="40" + lineageId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[SURNAME]" + name="SURNAME"> "PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[SURNAME]} + refId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[PERSON_ID]" + dataType="i8" + lineageId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[PERSON_ID]" + name="PERSON_ID"> #{Package\Load Interest Holder Contact Method\Upadate PIMS_CONTACT_METHOD.Outputs[OLE DB Command Error Output].Columns[ErrorCode]} - ErrorCode + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[PERSON_ID]} + refId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[ORGANIZATION_ID]" + dataType="i8" + lineageId="Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[ORGANIZATION_ID]" + name="ORGANIZATION_ID"> #{Package\Load Interest Holder Contact Method\Upadate PIMS_CONTACT_METHOD.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]} - ErrorColumn + dataType="System.Int32" + description="The input column associated with this output column" + name="InputColumnID">#{Package\Load Properties 1\Merge Join.Inputs[Merge Join Right Input].Columns[ORGANIZATION_ID]} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "FIRST_NAME" + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} + "SURNAME: " + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} + "APP_CREATE_USER_DIRECTORY" + #{Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]} + " CONTACT_METHOD_VALUE: " + #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} + name="Expression">NULL(DT_I8) "FIRST_NAME" + FIRST_NAME + "SURNAME: " + SURNAME + "APP_CREATE_USER_DIRECTORY" + AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY + " CONTACT_METHOD_VALUE: " + CONTACT_METHOD_VALUE + name="FriendlyExpression">NULL(DT_I8) + synchronousInputId="Package\Load Properties 1\ORGANIZATION_ID.Inputs[Derived Column Input]"> @@ -60437,13 +43421,14 @@ where APP_CREATE_USER_DIRECTORY=? + validateExternalMetadata="False" + version="7"> [etl].[ETL_ERROR_LOG] + name="OpenRowset">"APP_PAM"."PAM_PROPERTY" dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SELECT * +FROM APP_PAM.PAM_PROPERTY + dataType="System.Int32" description="Specifies the mode used to access the database." name="AccessMode" - typeConverter="AccessMode">3 - false - false + typeConverter="AccessMode">2 TABLOCK,CHECK_CONSTRAINTS - 2147483647 + description="The mappings between the parameters in the SQL command and variables." + name="ParameterMapping"> - - - - - - - - - - - + + + - + - + - - - - - - - - - + errorOrTruncationOperation="Conversion" + errorRowDisposition="FailComponent" + externalMetadataColumnId="Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].ExternalColumns[DESCRIPTION]" + length="2000" + lineageId="Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].Columns[DESCRIPTION]" + name="DESCRIPTION" + truncationRowDisposition="FailComponent" /> + refId="Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].Columns[PID]" + dataType="numeric" + errorOrTruncationOperation="Conversion" + errorRowDisposition="FailComponent" + externalMetadataColumnId="Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].ExternalColumns[PID_NO]" + lineageId="Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].Columns[PID]" + name="PID" + precision="9" + truncationRowDisposition="FailComponent" /> - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - + refId="Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].Columns[PIN]" + dataType="numeric" + errorOrTruncationOperation="Conversion" + errorRowDisposition="FailComponent" + externalMetadataColumnId="Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].ExternalColumns[PIN]" + lineageId="Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].Columns[PIN]" + name="PIN" + precision="9" + truncationRowDisposition="FailComponent" /> + + + + + + + + + + + + + + + + + + + + + + + name="CREATION_DATE" /> + + + + + + + + + + + + + + + + + + name="TENURE_ISSUE" /> + + + + + + + + + + + + name="VEHICULAR_ACCESS_REMARKS" /> + name="METES_BOUNDS_DESCRIPTION" /> + refId="Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].ExternalColumns[TUBE_NO]" + dataType="wstr" + length="7" + name="TUBE_NO" /> + refId="Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].ExternalColumns[EXTERNAL_OWNED_AREA]" + dataType="numeric" + name="EXTERNAL_OWNED_AREA" + precision="8" + scale="4" /> + refId="Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].ExternalColumns[EXTERNAL_OWNED_AREA_UNIT_CODE]" + dataType="wstr" + length="2" + name="EXTERNAL_OWNED_AREA_UNIT_CODE" /> + + - - - + + name="OLE DB Source Error Output"> - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - + - + - - - - - - - - - + length="2000" + lineageId="Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Error Output].Columns[DESCRIPTION]" + name="DESCRIPTION" /> + refId="Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Error Output].Columns[PID_NO]" + dataType="numeric" + lineageId="Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Error Output].Columns[PID_NO]" + name="PID_NO" + precision="9" /> + refId="Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Error Output].Columns[PIN]" + dataType="numeric" + lineageId="Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Error Output].Columns[PIN]" + name="PIN" + precision="9" /> + + + + + + + + validateExternalMetadata="False" + version="6"> - 0 [etl].[ETL_ERROR_LOG] + description="Specifies the SQL statement that generates the lookup table." + expressionType="Notify" + name="SqlCommand" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select PROPERTY_CONTRACT_ID,PROPERTY_EMPLOYEE_ID from app_pam.pam_property_contract + description="Specifies a SQL statement that uses parameters to generate the lookup table." + expressionType="Notify" + name="SqlCommandParam" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select PROPERTY_CONTRACT_ID,PROPERTY_EMPLOYEE_ID from app_pam.pam_property_contract) "refTable" +where "refTable"."PROPERTY_CONTRACT_ID" = ? + dataType="System.Int32" + description="Specifies the type of connection used to access the reference dataset." + name="ConnectionType" + typeConverter="LookupConnectionType">0 1252 + description="Specifies the cache type of the lookup table." + name="CacheType" + typeConverter="CacheType">0 false + dataType="System.Int32" + description="Specifies how the Lookup transformation handles rows without matching entries in the reference data set." + name="NoMatchBehavior" + typeConverter="LookupNoMatchBehavior">1 3 + description="Specifies the percentage of the cache that is allocated for rows with no matching entries in the reference dataset." + name="NoMatchCachePercentage">0 false + dataType="System.Int32" + description="Maximum Memory Usage for Reference Cache on a 32 bit platform." + name="MaxMemoryUsage">25 false + dataType="System.Int64" + description="Maximum Memory Usage for Reference Cache on a 64 bit platform." + name="MaxMemoryUsage64">25 TABLOCK,CHECK_CONSTRAINTS + description="Indicates whether to reference metadata in an XML format." + name="ReferenceMetadataXml"><referenceMetadata><referenceColumns><referenceColumn name="PROPERTY_CONTRACT_ID" dataType="DT_NUMERIC" length="0" precision="10" scale="0" codePage="0"/><referenceColumn name="PROPERTY_EMPLOYEE_ID" dataType="DT_NUMERIC" length="0" precision="10" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Properties 1\Union All 3.Inputs[Union All Input 2].Columns[SURNAME]}; 2147483647 + description="Specifies the column code page to use when code page information is unavailable from the data source." + name="DefaultCodePage">1252 + false + refId="Package\Load Properties 1\PAM_PROPERTY_CONTRACT.Inputs[Lookup Input]" + name="Lookup Input"> - - - - + refId="Package\Load Properties 1\PAM_PROPERTY_CONTRACT.Inputs[Lookup Input].Columns[PROPERTY_CONT_PROPERTY_ID]" + cachedDataType="numeric" + cachedName="PROPERTY_CONT_PROPERTY_ID" + cachedPrecision="10" + lineageId="Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]"> + + PROPERTY_CONTRACT_ID + + + - - - - - - - - - + + + + + PROPERTY_EMPLOYEE_ID + + + + + + + + + + name="Lookup Error Output" + synchronousInputId="Package\Load Properties 1\PAM_PROPERTY_CONTRACT.Inputs[Lookup Input]"> @@ -61095,233 +44116,158 @@ where APP_CREATE_USER_DIRECTORY=? + validateExternalMetadata="False" + version="6"> - 0 [dbo].[PIMS_CONTACT_METHOD] + description="Specifies the SQL statement that generates the lookup table." + expressionType="Notify" + name="SqlCommand" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select PROPERTY_CONT_PROPERTY_ID,PROPERTY_ID from app_pam.pam_property_cont_property + description="Specifies a SQL statement that uses parameters to generate the lookup table." + expressionType="Notify" + name="SqlCommandParam" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select PROPERTY_CONT_PROPERTY_ID,PROPERTY_ID from app_pam.pam_property_cont_property) "refTable" +where "refTable"."PROPERTY_ID" = ? + dataType="System.Int32" + description="Specifies the type of connection used to access the reference dataset." + name="ConnectionType" + typeConverter="LookupConnectionType">0 1252 + description="Specifies the cache type of the lookup table." + name="CacheType" + typeConverter="CacheType">0 false + dataType="System.Int32" + description="Specifies how the Lookup transformation handles rows without matching entries in the reference data set." + name="NoMatchBehavior" + typeConverter="LookupNoMatchBehavior">1 3 + description="Specifies the percentage of the cache that is allocated for rows with no matching entries in the reference dataset." + name="NoMatchCachePercentage">0 false + dataType="System.Int32" + description="Maximum Memory Usage for Reference Cache on a 32 bit platform." + name="MaxMemoryUsage">25 false + dataType="System.Int64" + description="Maximum Memory Usage for Reference Cache on a 64 bit platform." + name="MaxMemoryUsage64">25 TABLOCK,CHECK_CONSTRAINTS + description="Indicates whether to reference metadata in an XML format." + name="ReferenceMetadataXml"><referenceMetadata><referenceColumns><referenceColumn name="PROPERTY_CONT_PROPERTY_ID" dataType="DT_NUMERIC" length="0" precision="10" scale="0" codePage="0"/><referenceColumn name="PROPERTY_ID" dataType="DT_NUMERIC" length="0" precision="10" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Properties 1\PIMS_PROPERTY records to be updated.Outputs[Lookup Error Output].Columns[ErrorColumn]}; 2147483647 + description="Specifies the column code page to use when code page information is unavailable from the data source." + name="DefaultCodePage">1252 + false + refId="Package\Load Properties 1\PAM_PROPERTY_CONT_PROPERTY.Inputs[Lookup Input]" + name="Lookup Input"> - - - - - - + refId="Package\Load Properties 1\PAM_PROPERTY_CONT_PROPERTY.Inputs[Lookup Input].Columns[PROPERTY_ID]" + cachedDataType="numeric" + cachedName="PROPERTY_ID" + cachedPrecision="10" + lineageId="Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PROPERTY_ID]"> + + PROPERTY_ID + + + - - - - - - - - - - - - - - - - - - - - - + + + + + PROPERTY_CONT_PROPERTY_ID + + + + + + + + + + name="Lookup Error Output" + synchronousInputId="Package\Load Properties 1\PAM_PROPERTY_CONT_PROPERTY.Inputs[Lookup Input]"> @@ -61330,233 +44276,173 @@ where APP_CREATE_USER_DIRECTORY=? + validateExternalMetadata="False" + version="6"> - 0 [dbo].[PIMS_CONTACT_METHOD] + description="Specifies the SQL statement that generates the lookup table." + expressionType="Notify" + name="SqlCommand" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select PROPERTY_EMPLOYEE_ID,cast(NAME as nvarchar2(50)) NAME,cast(POSITION_TITLE as nvarchar2(50)) as POSITION_TITLE from app_pam.pam_property_employee + description="Specifies a SQL statement that uses parameters to generate the lookup table." + expressionType="Notify" + name="SqlCommandParam" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select PROPERTY_EMPLOYEE_ID,cast(NAME as nvarchar2(50)) NAME,cast(POSITION_TITLE as nvarchar2(50)) as POSITION_TITLE from app_pam.pam_property_employee) "refTable" +where "refTable"."PROPERTY_EMPLOYEE_ID" = ? + dataType="System.Int32" + description="Specifies the type of connection used to access the reference dataset." + name="ConnectionType" + typeConverter="LookupConnectionType">0 1252 + description="Specifies the cache type of the lookup table." + name="CacheType" + typeConverter="CacheType">0 false + dataType="System.Int32" + description="Specifies how the Lookup transformation handles rows without matching entries in the reference data set." + name="NoMatchBehavior" + typeConverter="LookupNoMatchBehavior">1 3 + description="Specifies the percentage of the cache that is allocated for rows with no matching entries in the reference dataset." + name="NoMatchCachePercentage">0 false + dataType="System.Int32" + description="Maximum Memory Usage for Reference Cache on a 32 bit platform." + name="MaxMemoryUsage">25 false + dataType="System.Int64" + description="Maximum Memory Usage for Reference Cache on a 64 bit platform." + name="MaxMemoryUsage64">25 TABLOCK,CHECK_CONSTRAINTS + description="Indicates whether to reference metadata in an XML format." + name="ReferenceMetadataXml"><referenceMetadata><referenceColumns><referenceColumn name="PROPERTY_EMPLOYEE_ID" dataType="DT_NUMERIC" length="0" precision="10" scale="0" codePage="0"/><referenceColumn name="NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="POSITION_TITLE" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]}; 2147483647 + description="Specifies the column code page to use when code page information is unavailable from the data source." + name="DefaultCodePage">1252 + false + refId="Package\Load Properties 1\PAM_PROPERTY_EMPLOYEE.Inputs[Lookup Input]" + name="Lookup Input"> - - - - - - + refId="Package\Load Properties 1\PAM_PROPERTY_EMPLOYEE.Inputs[Lookup Input].Columns[PROPERTY_EMPLOYEE_ID]" + cachedDataType="numeric" + cachedName="PROPERTY_EMPLOYEE_ID" + cachedPrecision="10" + lineageId="Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]"> + + PROPERTY_EMPLOYEE_ID + + + - - - - - - - - - - - - - - - - - - - - - + + + + + NAME + + + + + POSITION_TITLE + + + + + + + + + + name="Lookup Error Output" + synchronousInputId="Package\Load Properties 1\PAM_PROPERTY_EMPLOYEE.Inputs[Lookup Input]"> @@ -61565,201 +44451,13 @@ where APP_CREATE_USER_DIRECTORY=? - - - - - - - - - - - - ![ISNULL](#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]}) - !ISNULL(ORGANIZATION_NAME) - 0 - - - - - - true - - - - - - - - - - - - - - - - - - - - - - - - - - ![ISNULL](#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]}) || ![ISNULL](#{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]}) - !ISNULL(SURNAME) || !ISNULL(FIRST_NAME) - 0 - - - - - - true - - - - - - - - - - - - - description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_CONTACT_METHOD] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select take_id from app_pam.pam_take select * from (select * from [dbo].[PIMS_CONTACT_METHOD]) [refTable] -where [refTable].[CONTACT_METHOD_TYPE_CODE] = ? and [refTable].[CONTACT_METHOD_VALUE] = ? and [refTable].[ORGANIZATION_ID] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select take_id from app_pam.pam_take) "refTable" +where "refTable"."TAKE_ID" = ? <referenceMetadata><referenceColumns><referenceColumn name="CONTACT_METHOD_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_VALUE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PREFERRED_METHOD" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + name="ReferenceMetadataXml"><referenceMetadata><referenceColumns><referenceColumn name="TAKE_ID" dataType="DT_NUMERIC" length="0" precision="10" scale="0" codePage="0"/></referenceColumns></referenceMetadata> #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]};#{Package\Load Interest Holder Contact Method\Data Conversion 5.Outputs[Data Conversion Output].Columns[UNICODE_CONTACT_METHOD_VALUE]};#{Package\Load Interest Holder Contact Method\ORGANIZATION ID.Outputs[Lookup Match Output].Columns[ORGANIZATION_ID]}; + name="ParameterMap">#{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[TAKE_ID]}; - - CONTACT_METHOD_TYPE_CODE - - - - - - CONTACT_METHOD_VALUE - - - - + refId="Package\Load Properties 1\PAM_TAKE.Inputs[Lookup Input].Columns[TAKE_ID]" + cachedDataType="numeric" + cachedName="TAKE_ID" + cachedPrecision="10" + lineageId="Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[TAKE_ID]"> ORGANIZATION_ID + name="JoinToReferenceColumn">TAKE_ID + synchronousInputId="Package\Load Properties 1\PAM_TAKE.Inputs[Lookup Input]"> + + + + TAKE_ID + + + + synchronousInputId="Package\Load Properties 1\PAM_TAKE.Inputs[Lookup Input]"> + synchronousInputId="Package\Load Properties 1\PAM_TAKE.Inputs[Lookup Input]"> @@ -61929,12 +44611,13 @@ where [refTable].[CONTACT_METHOD_TYPE_CODE] = ? and [refTable].[CONTACT_METHOD_V select * from [dbo].[PIMS_CONTACT_METHOD] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select TAKE_ID TAKE_ID2,INTEREST_HOLDER_ID from app_pam.pam_take_interest_holder select * from (select * from [dbo].[PIMS_CONTACT_METHOD]) [refTable] -where [refTable].[CONTACT_METHOD_TYPE_CODE] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[CONTACT_METHOD_VALUE] = ? and [refTable].[ORGANIZATION_ID] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select TAKE_ID TAKE_ID2,INTEREST_HOLDER_ID from app_pam.pam_take_interest_holder) "refTable" +where "refTable"."TAKE_ID2" = ? <referenceMetadata><referenceColumns><referenceColumn name="CONTACT_METHOD_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_VALUE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PREFERRED_METHOD" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + name="ReferenceMetadataXml"><referenceMetadata><referenceColumns><referenceColumn name="TAKE_ID2" dataType="DT_NUMERIC" length="0" precision="10" scale="0" codePage="0"/><referenceColumn name="INTEREST_HOLDER_ID" dataType="DT_NUMERIC" length="0" precision="10" scale="0" codePage="0"/></referenceColumns></referenceMetadata> #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]};#{Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]};#{Package\Load Interest Holder Contact Method\Data Conversion 5.Outputs[Data Conversion Output].Columns[UNICODE_CONTACT_METHOD_VALUE]};#{Package\Load Interest Holder Contact Method\ORGANIZATION ID.Outputs[Lookup Match Output].Columns[ORGANIZATION_ID]}; + name="ParameterMap">#{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[TAKE_ID_new]}; - - CONTACT_METHOD_TYPE_CODE - - - - - - ORGANIZATION_ID - - - - - - CONTACT_METHOD_VALUE - - - - + refId="Package\Load Properties 1\PAM_TAKE_INTEREST_HOLDER.Inputs[Lookup Input].Columns[TAKE_ID_new]" + cachedDataType="numeric" + cachedName="TAKE_ID_new" + cachedPrecision="10" + lineageId="Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[TAKE_ID_new]"> APP_CREATE_USER_DIRECTORY + name="JoinToReferenceColumn">TAKE_ID2 + synchronousInputId="Package\Load Properties 1\PAM_TAKE_INTEREST_HOLDER.Inputs[Lookup Input]"> + + + + INTEREST_HOLDER_ID + + + + synchronousInputId="Package\Load Properties 1\PAM_TAKE_INTEREST_HOLDER.Inputs[Lookup Input]"> + synchronousInputId="Package\Load Properties 1\PAM_TAKE_INTEREST_HOLDER.Inputs[Lookup Input]"> @@ -62121,173 +44771,261 @@ where [refTable].[CONTACT_METHOD_TYPE_CODE] = ? and [refTable].[APP_CREATE_USER_ - - select * from [dbo].[PIMS_CONTACT_METHOD] - select * from (select * from [dbo].[PIMS_CONTACT_METHOD]) [refTable] -where [refTable].[CONTACT_METHOD_TYPE_CODE] = ? and [refTable].[CONTACT_METHOD_VALUE] = ? and [refTable].[PERSON_ID] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="CONTACT_METHOD_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_VALUE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PREFERRED_METHOD" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]};#{Package\Load Interest Holder Contact Method\Data Conversion 5.Outputs[Data Conversion Output].Columns[UNICODE_CONTACT_METHOD_VALUE]};#{Package\Load Interest Holder Contact Method\PERSON ID.Outputs[Lookup Match Output].Columns[PERSON_ID]}; - 1252 - false - - - - + refId="Package\Load Properties 1\PERSON and ORG_ID" + componentClassID="Microsoft.DerivedColumn" + contactInfo="Derived Column;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;0" + description="Creates new column values by applying expressions to transformation input columns. Create new columns or overwrite existing ones. For example, concatenate the values from the 'first name' and 'last name' column to make a 'full name' column." + name="PERSON and ORG_ID" + usesDispositions="true"> - - + refId="Package\Load Properties 1\PERSON and ORG_ID.Inputs[Derived Column Input]" + description="Input to the Derived Column Transformation" + name="Derived Column Input"> + + + + + + + CONTACT_METHOD_TYPE_CODE - - - - - + description="Derived Column Expression" + name="Expression">NULL(DT_I8) CONTACT_METHOD_VALUE - + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">NULL(DT_I8) - - + + PERSON_ID + description="Derived Column Expression" + name="Expression">NULL(DT_I8) + containsID="true" + dataType="System.String" + description="Derived Column Friendly Expression" + expressionType="Notify" + name="FriendlyExpression">NULL(DT_I8) - - + + + + + + + + + + + + + + + + + name="Derived Column Output" + synchronousInputId="Package\Load Properties 1\PERSON and ORG_ID 1.Inputs[Derived Column Input]"> + + + + NULL(DT_I8) + NULL(DT_I8) + + + + + NULL(DT_I8) + NULL(DT_I8) + + + + isErrorOut="true" + name="Derived Column Error Output" + synchronousInputId="Package\Load Properties 1\PERSON and ORG_ID 1.Inputs[Derived Column Input]"> + + + + + + + + + + + + + + + + + + + + NULL(DT_I8) + NULL(DT_I8) + + + + name="Derived Column Error Output" + synchronousInputId="Package\Load Properties 1\PERSON_ID.Inputs[Derived Column Input]"> @@ -62296,11 +45034,11 @@ where [refTable].[CONTACT_METHOD_TYPE_CODE] = ? and [refTable].[CONTACT_METHOD_V @@ -62309,14 +45047,14 @@ where [refTable].[CONTACT_METHOD_TYPE_CODE] = ? and [refTable].[CONTACT_METHOD_V description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_CONTACT_METHOD] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_ORGANIZATION] select * from (select * from [dbo].[PIMS_CONTACT_METHOD]) [refTable] -where [refTable].[CONTACT_METHOD_TYPE_CODE] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[CONTACT_METHOD_VALUE] = ? and [refTable].[PERSON_ID] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] +where [refTable].[ORGANIZATION_NAME] = ? <referenceMetadata><referenceColumns><referenceColumn name="CONTACT_METHOD_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_VALUE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PREFERRED_METHOD" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + name="ReferenceMetadataXml"><referenceMetadata><referenceColumns><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PRNT_ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORG_IDENTIFIER_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_IDENTIFIER" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ALIAS" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="INCORPORATION_NUMBER" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="WEBSITE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]};#{Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]};#{Package\Load Interest Holder Contact Method\Data Conversion 5.Outputs[Data Conversion Output].Columns[UNICODE_CONTACT_METHOD_VALUE]};#{Package\Load Interest Holder Contact Method\PERSON ID.Outputs[Lookup Match Output].Columns[PERSON_ID]}; + name="ParameterMap">#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_ORGANIZATION_NAME]}; - - CONTACT_METHOD_TYPE_CODE - - - - - - PERSON_ID - - - - - - CONTACT_METHOD_VALUE - - - - + cachedLength="200" + cachedName="EMPLOYEE_ORGANIZATION_NAME" + lineageId="Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_ORGANIZATION_NAME]"> APP_CREATE_USER_DIRECTORY + name="JoinToReferenceColumn">ORGANIZATION_NAME + synchronousInputId="Package\Load Properties 1\PIMS_ORGANIZATION2.Inputs[Lookup Input]"> + + + + ORGANIZATION_ID + + + + synchronousInputId="Package\Load Properties 1\PIMS_ORGANIZATION2.Inputs[Lookup Input]"> + synchronousInputId="Package\Load Properties 1\PIMS_ORGANIZATION2.Inputs[Lookup Input]"> @@ -62488,49 +45192,11 @@ where [refTable].[CONTACT_METHOD_TYPE_CODE] = ? and [refTable].[APP_CREATE_USER_ - - - - - - - - - - - - - - - - - - @@ -62539,14 +45205,14 @@ where [refTable].[CONTACT_METHOD_TYPE_CODE] = ? and [refTable].[APP_CREATE_USER_ description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_ORGANIZATION] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PERSON] select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] -where [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[APP_CREATE_USERID] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_PERSON]) [refTable] +where [refTable].[FIRST_NAME] = ? and [refTable].[MIDDLE_NAMES] = ? and [refTable].[SURNAME] = ? <referenceMetadata><referenceColumns><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PRNT_ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORG_IDENTIFIER_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_IDENTIFIER" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ALIAS" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="WEBSITE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="INCORPORATION_NUMBER" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + name="ReferenceMetadataXml"><referenceMetadata><referenceColumns><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURNAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="FIRST_NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="MIDDLE_NAMES" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME_SUFFIX" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="PREFERRED_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="BIRTH_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="USE_ORGANIZATION_ADDRESS" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> #{Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]};#{Package\Load Interest Holder Contact Method\Data Conversion 5.Outputs[Data Conversion Output].Columns[UNICODE_AUDIT_TRAIL_APP_CREATE_USERID]}; + name="ParameterMap">#{Package\Load Properties 1\Surname,FirstName,MiddleName.Outputs[Derived Column Output].Columns[FIRST_NAME]};#{Package\Load Properties 1\Surname,FirstName,MiddleName.Outputs[Derived Column Output].Columns[MIDDLE_NAME]};#{Package\Load Properties 1\Surname,FirstName,MiddleName.Outputs[Derived Column Output].Columns[SURNAME]}; + cachedLength="50" + cachedName="FIRST_NAME" + lineageId="Package\Load Properties 1\Surname,FirstName,MiddleName.Outputs[Derived Column Output].Columns[FIRST_NAME]"> APP_CREATE_USER_DIRECTORY + name="JoinToReferenceColumn">FIRST_NAME + cachedLength="50" + cachedName="MIDDLE_NAME" + lineageId="Package\Load Properties 1\Surname,FirstName,MiddleName.Outputs[Derived Column Output].Columns[MIDDLE_NAME]"> APP_CREATE_USERID + name="JoinToReferenceColumn">MIDDLE_NAMES + + + + + + SURNAME + synchronousInputId="Package\Load Properties 1\PIMS_PERSON2.Inputs[Lookup Input]"> ORGANIZATION_ID + name="CopyFromReferenceColumn">PERSON_ID + synchronousInputId="Package\Load Properties 1\PIMS_PERSON2.Inputs[Lookup Input]"> + synchronousInputId="Package\Load Properties 1\PIMS_PERSON2.Inputs[Lookup Input]"> @@ -62701,76606 +45384,36059 @@ where [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[APP_CREATE_USER + version="6"> - 0 + description="Specifies the SQL statement that generates the lookup table." + expressionType="Notify" + name="SqlCommand" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PROPERTY] + description="Specifies a SQL statement that uses parameters to generate the lookup table." + expressionType="Notify" + name="SqlCommandParam" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_PROPERTY]) [refTable] +where [refTable].[DESCRIPTION] = ? and [refTable].[ZONING] = ? and [refTable].[ZONING_POTENTIAL] = ? and [refTable].[ADDRESS_ID] = ? and [refTable].[PROPERTY_MANAGER_ID] = ? and [refTable].[PROP_MGMT_ORG_ID] = ? + 0 + 0 + 1 + 0 + 25 + 25 SELECT * -FROM APP_PAM.PAM_INTEREST_HOLDER -WHERE CELL_PHONE_NUMBER IS NOT NULL + description="Indicates whether to reference metadata in an XML format." + name="ReferenceMetadataXml"><referenceMetadata><referenceColumns><referenceColumn name="PROPERTY_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_MANAGER_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROP_MGMT_ORG_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_CLASSIFICATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_AREA_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUME_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_EFFECTIVE_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="PID" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PIN" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER_SUFFIX" dataType="DT_STR" length="2" precision="0" scale="0" codePage="1252"/><referenceColumn name="LAND_AREA" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LAND_LEGAL_DESCRIPTION" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="BOUNDARY" dataType="DT_IMAGE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LOCATION" dataType="DT_IMAGE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ENCUMBRANCE_REASON" dataType="DT_WSTR" length="500" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="NOTES" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPAL_ZONING" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VOLUMETRIC_PARCEL" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_MEASUREMENT" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_OWNED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROPERTY_OF_INTEREST" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VISIBLE_TO_OTHER_AGENCIES" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_SENSITIVE" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROVINCIAL_PUBLIC_HWY" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_RWY_BELT_DOM_PATENT" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING_POTENTIAL" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="SURVEY_PLAN_NUMBER" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + description="Specifies the list of lineage identifiers that map to the parameters that the SQL statement in the SQLCommand property uses. Entries in the list are separated by semicolons." + name="ParameterMap">#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[Description]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ZONING]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ADDRESS_ID]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PERSON_ID]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ORGANIZATION_ID]}; 1252 true - 2 - + description="Determines whether duplicate keys in the reference data should be treated as errors when full cache mode is used." + name="TreatDuplicateKeysAsError">false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + DESCRIPTION + + + + + + ZONING + + + + + + ZONING_POTENTIAL + + + + + + ADDRESS_ID + + + + + + PROPERTY_MANAGER_ID + + + + + + PROP_MGMT_ORG_ID + + + + + + + + + + + + + + name="Lookup Error Output" + synchronousInputId="Package\Load Properties 1\PIMS_PROPERTY records to be updated.Inputs[Lookup Input]"> - - - - - - - - - - - - - - - - - 0 - "APP_PAM_MASKED"."PAM_INTEREST_HOLDER" - - SELECT * -FROM APP_PAM.PAM_INTEREST_HOLDER -WHERE EMAIL_ADDRESS IS NOT NULL - - 1252 - true - 2 - - - - - + refId="Package\Load Properties 1\PROPERTY_DATA_SOURCE_EFFECTIVE_DATE" + componentClassID="Microsoft.DerivedColumn" + contactInfo="Derived Column;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;0" + description="Creates new column values by applying expressions to transformation input columns. Create new columns or overwrite existing ones. For example, concatenate the values from the 'first name' and 'last name' column to make a 'full name' column." + name="PROPERTY_DATA_SOURCE_EFFECTIVE_DATE" + usesDispositions="true"> + + + + + + refId="Package\Load Properties 1\PROPERTY_DATA_SOURCE_EFFECTIVE_DATE.Outputs[Derived Column Output]" + description="Default Output of the Derived Column Transformation" + exclusionGroup="1" + name="Derived Column Output" + synchronousInputId="Package\Load Properties 1\PROPERTY_DATA_SOURCE_EFFECTIVE_DATE.Inputs[Derived Column Input]"> - - - - - - - - - - - + lineageId="Package\Load Properties 1\PROPERTY_DATA_SOURCE_EFFECTIVE_DATE.Outputs[Derived Column Output].Columns[PROPERTY_DATA_SOURCE_EFFECTIVE_DATE]" + name="PROPERTY_DATA_SOURCE_EFFECTIVE_DATE" + truncationRowDisposition="FailComponent"> + + [GETDATE]() + GETDATE() + + - - - - - - - - - - - - - - - - - - - - - - - - - + + name="Derived Column Error Output" + synchronousInputId="Package\Load Properties 1\PROPERTY_DATA_SOURCE_EFFECTIVE_DATE.Inputs[Derived Column Input]"> - - - - - - - - - - - - - - 0 - "APP_PAM"."PAM_INTEREST_HOLDER" - - SELECT * -FROM APP_PAM.PAM_INTEREST_HOLDER -WHERE FAX_NO IS NOT NULL - - 1252 - true - 2 - - - - - + refId="Package\Load Properties 1\PROPERTY_DATA_SOURCE_TYPE" + componentClassID="Microsoft.DerivedColumn" + contactInfo="Derived Column;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;0" + description="Creates new column values by applying expressions to transformation input columns. Create new columns or overwrite existing ones. For example, concatenate the values from the 'first name' and 'last name' column to make a 'full name' column." + name="PROPERTY_DATA_SOURCE_TYPE" + usesDispositions="true"> + + + + + + refId="Package\Load Properties 1\PROPERTY_DATA_SOURCE_TYPE.Outputs[Derived Column Output]" + description="Default Output of the Derived Column Transformation" + exclusionGroup="1" + name="Derived Column Output" + synchronousInputId="Package\Load Properties 1\PROPERTY_DATA_SOURCE_TYPE.Inputs[Derived Column Input]"> + length="5" + lineageId="Package\Load Properties 1\PROPERTY_DATA_SOURCE_TYPE.Outputs[Derived Column Output].Columns[PROPERTY_DATA_SOURCE_TYPE_CODE]" + name="PROPERTY_DATA_SOURCE_TYPE_CODE" + truncationRowDisposition="FailComponent"> + + "PAIMS" + "PAIMS" + + - - - - - - - + lineageId="Package\Load Properties 1\PROPERTY_DATA_SOURCE_TYPE.Outputs[Derived Column Output].Columns[PROPERTY_DATA_SOURCE_EFFECTIVE_DATE]" + name="PROPERTY_DATA_SOURCE_EFFECTIVE_DATE" + truncationRowDisposition="FailComponent"> + + [GETDATE]() + GETDATE() + + + + + + + + refId="Package\Load Properties 1\PROPERTY_DATA_SOURCE_TYPE.Outputs[Derived Column Error Output].Columns[ErrorCode]" + dataType="i4" + lineageId="Package\Load Properties 1\PROPERTY_DATA_SOURCE_TYPE.Outputs[Derived Column Error Output].Columns[ErrorCode]" + name="ErrorCode" + specialFlags="1" /> + + + + + + + + + + + + + + + + length="7" + lineageId="Package\Load Properties 1\PROPERTY_STATUS_TYPE.Outputs[Derived Column Output].Columns[PROPERTY_STATUS_TYPE_CODE]" + name="PROPERTY_STATUS_TYPE_CODE" + truncationRowDisposition="FailComponent"> + + "FEESIMP" + "FEESIMP" + + + length="7" + lineageId="Package\Load Properties 1\PROPERTY_STATUS_TYPE.Outputs[Derived Column Output].Columns[PPH_STATUS_TYPE_CODE]" + name="PPH_STATUS_TYPE_CODE" + truncationRowDisposition="FailComponent"> + + "UNKNOWN" + "UNKNOWN" + + - - - - - - - - - - - - - - - - - - - - - - - - - + + name="Derived Column Error Output" + synchronousInputId="Package\Load Properties 1\PROPERTY_STATUS_TYPE.Inputs[Derived Column Input]"> - - - - - - - - - - - - + refId="Package\Load Properties 1\Sort" + componentClassID="Microsoft.Sort" + contactInfo="Sort;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;1" + description="Sorts input data in ascending or descending order when it cannot be sorted at its source. For example, sort sales data by 'customer id' before it is written to a flat file and delivered to another department. Note: We do not recommend this transformation for large data flows." + name="Sort" + version="1"> - 0 - "APP_PAM"."PAM_INTEREST_HOLDER" - - SELECT * -FROM APP_PAM.PAM_INTEREST_HOLDER -WHERE HOME_PHONE_NO IS NOT NULL - - 1252 true + description="Indicates whether the Sort transformation removes rows with duplicate sort values." + name="EliminateDuplicates">false 2 - + description="Specifies the maximum number of threads to use for sorting." + expressionType="Notify" + name="MaximumThreads">-1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - "APP_PAM"."PAM_INTEREST_HOLDER" - - SELECT * -FROM APP_PAM.PAM_INTEREST_HOLDER -WHERE WORK_PHONE_NO IS NOT NULL - - 1252 - true - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_PERSON] - select * from (select * from [dbo].[PIMS_PERSON]) [refTable] -where [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[APP_CREATE_USERID] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURNAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="FIRST_NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="MIDDLE_NAMES" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME_SUFFIX" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="PREFERRED_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="BIRTH_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="USE_ORGANIZATION_ADDRESS" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Interest Holder Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]};#{Package\Load Interest Holder Contact Method\Data Conversion 5.Outputs[Data Conversion Output].Columns[UNICODE_AUDIT_TRAIL_APP_CREATE_USERID]}; - 1252 - false - - - - - - - - - - APP_CREATE_USER_DIRECTORY - - - - - - APP_CREATE_USERID - - - - - - - - - - - - - PERSON_ID - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_3]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} - - - - - - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_3]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} - - - - - - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_3]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} - - - - - - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_3]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} - - - - - - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_1]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_2]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_3]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} - - - - - #{Package\Load Interest Holder Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - update PIMS_CONTACT_METHOD -set CONTACT_METHOD_TYPE_CODE=?, -ORGANIZATION_ID=?, -CONTACT_METHOD_VALUE=? -where APP_CREATE_USER_DIRECTORY=? - 1252 - - - - - - - - - - - - - - - - 65 - - - - - 81 - - - - - 65 - - - - - 65 - - - - - - - - - - - - - - - - - - - - - 0 - update PIMS_CONTACT_METHOD -set CONTACT_METHOD_TYPE_CODE=?, -ORGANIZATION_ID=?, -CONTACT_METHOD_VALUE=? -where APP_CREATE_USER_DIRECTORY=? - 1252 - - - - - - - - - - - - - - - - 65 - - - - - 81 - - - - - 65 - - - - - 65 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - (DT_WSTR,10)#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - (DT_WSTR,10)INTEREST_HOLDER_ID - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - "place_holder" - "place_holder" - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - - - - - - - - - - - - - - - - - - - - - - (DT_I2)1 - (DT_I2)1 - - - - - - - - - - - - - - - - - - - - - - - - - - (DT_I2)1 - (DT_I2)1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]} - false - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]} - false - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_COUNTRY] - select * from (select * from [dbo].[PIMS_COUNTRY]) [refTable] -where [refTable].[DESCRIPTION] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="DISPLAY_ORDER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Interest Holder Persons and Organizations\Data Conversion.Outputs[Data Conversion Output].Columns[UNICODE_COUNTRY]}; - 1252 - false - - - - - - - - - - DESCRIPTION - - - - - - - - - - - - - COUNTRY_ID - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[COUNTRY]} - false - - - - - #{Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[PROVINCE]} - false - - - - - #{Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[ORGANIZATION_NAME]} - false - - - - - #{Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[FIRST_NAME]} - false - - - - - #{Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[MIDDLE_NAME]} - false - - - - - #{Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[SURNAME]} - false - - - - - #{Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[AGENT_ID]} - false - - - - - #{Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER.Outputs[OLE DB Source Output].Columns[INTEREST_HOLDER_ID]} - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [GETDATE]() - GETDATE() - - - - - "Load Interest Holder Persons and Organizations" - "Load Interest Holder Persons and Organizations" - - - - - "PIMS_PERSON" - "PIMS_PERSON" - - - - - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - - - - "ORGANIZATION_NAME " + #{Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[ORGANIZATION_NAME]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]} - "ORGANIZATION_NAME " + ORGANIZATION_NAME + " APP_CREATE_USER_DIRECTORY: " + APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [GETDATE]() - GETDATE() - - - - - "Load Interest Holder Persons and Organizations" - "Load Interest Holder Persons and Organizations" - - - - - "PIMS_PERSON" - "PIMS_PERSON" - - - - - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - - - - "ORGANIZATION_NAME " + #{Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[ORGANIZATION_NAME]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]} - "ORGANIZATION_NAME " + ORGANIZATION_NAME + " APP_CREATE_USER_DIRECTORY: " + APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [GETDATE]() - GETDATE() - - - - - "Load Interest Holder Persons and Organizations" - "Load Interest Holder Persons and Organizations" - - - - - "PIMS_PERSON" - "PIMS_PERSON" - - - - - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - - - - "FIRST_NAME: " + #{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[FIRST_NAME]} + "SURNAME: " + #{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[SURNAME]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]} - "FIRST_NAME: " + FIRST_NAME + "SURNAME: " + SURNAME + " APP_CREATE_USER_DIRECTORY: " + APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [GETDATE]() - GETDATE() - - - - - "Load Interest Holder Persons and Organizations" - "Load Interest Holder Persons and Organizations" - - - - - "PIMS_PERSON" - "PIMS_PERSON" - - - - - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - - - - "FIRST_NAME: " + #{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[FIRST_NAME]} + "SURNAME: " + #{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[SURNAME]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]} - "FIRST_NAME: " + FIRST_NAME + "SURNAME: " + SURNAME + " APP_CREATE_USER_DIRECTORY: " + APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_ORGANIZATION] - select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] -where [refTable].[ORGANIZATION_NAME] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PRNT_ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORG_IDENTIFIER_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_IDENTIFIER" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ALIAS" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="INCORPORATION_NUMBER" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="WEBSITE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ORGANIZATION_NAME]};#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of INTEREST_HOLDER_ID]}; - 1252 - false - - - - - - - - - - ORGANIZATION_NAME - - - - - - APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_PERSON] - select * from (select * from [dbo].[PIMS_PERSON]) [refTable] -where [refTable].[FIRST_NAME] = ? and [refTable].[MIDDLE_NAMES] = ? and [refTable].[SURNAME] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURNAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="FIRST_NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="MIDDLE_NAMES" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME_SUFFIX" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="PREFERRED_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="BIRTH_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="USE_ORGANIZATION_ADDRESS" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ FIRST_NAME]};#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_MIDDLE_NAME]};#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_SURNAME]};#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of INTEREST_HOLDER_ID]}; - 1252 - false - - - - - - - - - - FIRST_NAME - - - - - - MIDDLE_NAMES - - - - - - SURNAME - - - - - - APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [LTRIM](#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ORGANIZATION_NAME]}) - LTRIM(UNICODE_ORGANIZATION_NAME) - - - - - - - - - - - - - - - - - - - - - - - - - - (DT_WSTR,50)[TRIM](#{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[FIRST_NAME]}) - (DT_WSTR,50)TRIM(FIRST_NAME) - - - - - (DT_WSTR,50)[TRIM](#{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[SURNAME]}) - (DT_WSTR,50)TRIM(SURNAME) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "OTHER" - "OTHER" - - - - - "OTHINCORPNO" - "OTHINCORPNO" - - - - - - - - - - - - - - - - - 0 - [dbo].[PIMS_ORGANIZATION] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [dbo].[PIMS_PERSON] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ![ISNULL](#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]}) && [LEN]([TRIM](#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]})) > 0 - !ISNULL(ORGANIZATION_NAME) && LEN(TRIM(ORGANIZATION_NAME)) > 0 - 0 - - - - - - true - - - - - - - - - - - - - - - - - - - - - - - - - - (![ISNULL](#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]}) || ![ISNULL](#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]})) && ([LEN]([TRIM](#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]})) > 0 || [LEN]([TRIM](#{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]})) > 0) - (!ISNULL(SURNAME) || !ISNULL(FIRST_NAME)) && (LEN(TRIM(FIRST_NAME)) > 0 || LEN(TRIM(SURNAME)) > 0) - 0 - - - - - - true - - - - - - - - - - - - - - - select * from [dbo].[PIMS_PERSON] - select * from (select * from [dbo].[PIMS_PERSON]) [refTable] -where [refTable].[FIRST_NAME] = ? and [refTable].[MIDDLE_NAMES] = ? and [refTable].[SURNAME] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURNAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="FIRST_NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="MIDDLE_NAMES" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME_SUFFIX" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="PREFERRED_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="BIRTH_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="USE_ORGANIZATION_ADDRESS" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[UNICODE_ FIRST_NAME]};#{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[UNICODE_MIDDLE_NAME]};#{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[UNICODE_SURNAME]}; - 1252 - false - - - - - - - - - - FIRST_NAME - - - - - - MIDDLE_NAMES - - - - - - SURNAME - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_PERSON] - select * from (select * from [dbo].[PIMS_PERSON]) [refTable] -where [refTable].[SURNAME] = ? and [refTable].[FIRST_NAME] = ? and [refTable].[MIDDLE_NAMES] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURNAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="FIRST_NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="MIDDLE_NAMES" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME_SUFFIX" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="PREFERRED_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="BIRTH_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="USE_ORGANIZATION_ADDRESS" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[SURNAME]};#{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[FIRST_NAME]};#{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[MIDDLE_NAME]};#{Package\Load Interest Holder Persons and Organizations\Sort.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]}; - 1252 - false - - - - - - - - - - SURNAME - - - - - - FIRST_NAME - - - - - - MIDDLE_NAMES - - - - - - APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_ORGANIZATION] - select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] -where [refTable].[ORGANIZATION_NAME] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[ORGANIZATION_TYPE_CODE] = ? and [refTable].[ORG_IDENTIFIER_TYPE_CODE] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PRNT_ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORG_IDENTIFIER_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_IDENTIFIER" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ALIAS" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="INCORPORATION_NUMBER" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="WEBSITE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[UNICODE_ORGANIZATION_NAME]};#{Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]};#{Package\Load Interest Holder Persons and Organizations\Format PIMS_Organisation output column.Outputs[Derived Column Output].Columns[ORGANIZATION_TYPE_CODE]};#{Package\Load Interest Holder Persons and Organizations\Format PIMS_Organisation output column.Outputs[Derived Column Output].Columns[ORGANIZATION_IDENTIFIER_TYPE_CODE]}; - 1252 - false - - - - - - - - - - ORGANIZATION_NAME - - - - - - APP_CREATE_USER_DIRECTORY - - - - - - ORGANIZATION_TYPE_CODE - - - - - - ORG_IDENTIFIER_TYPE_CODE - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_ORGANIZATION] - select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] -where [refTable].[ORGANIZATION_NAME] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[ORGANIZATION_TYPE_CODE] = ? and [refTable].[ORG_IDENTIFIER_TYPE_CODE] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PRNT_ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORG_IDENTIFIER_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_IDENTIFIER" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ALIAS" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="INCORPORATION_NUMBER" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="WEBSITE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[ORGANIZATION_NAME]};#{Package\Load Interest Holder Persons and Organizations\Sort 1.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]};#{Package\Load Interest Holder Persons and Organizations\Format PIMS_Organisation output column.Outputs[Derived Column Output].Columns[ORGANIZATION_TYPE_CODE]};#{Package\Load Interest Holder Persons and Organizations\Format PIMS_Organisation output column.Outputs[Derived Column Output].Columns[ORGANIZATION_IDENTIFIER_TYPE_CODE]}; - 1252 - false - - - - - - - - - - ORGANIZATION_TYPE_CODE - - - - - - ORG_IDENTIFIER_TYPE_CODE - - - - - - APP_CREATE_USER_DIRECTORY - - - - - - ORGANIZATION_NAME - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - "APP_PAM"."PAM_INTEREST_HOLDER" - - select * from pam_interest_holder where interest_holder_id in (6302, 67054) - - 1252 - false - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_PROVINCE_STATE] - select * from (select * from [dbo].[PIMS_PROVINCE_STATE]) [refTable] -where [refTable].[DESCRIPTION] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISPLAY_ORDER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Interest Holder Persons and Organizations\2865:invalid}; - 1252 - false - - - - - - - - - - DESCRIPTION - - - - - - - - - - - - - PROVINCE_STATE_ID - - - - - - - - - - - - - - - - - - - - true - -1 - - - - - - - 3 - 2 - - - - - 3 - 1 - - - - - 3 - 3 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - - - - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_1]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_2]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_3]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MUNCIPALITY_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_COUNTRY]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ORGANIZATION_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ FIRST_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_MIDDLE_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_SURNAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USERID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USERID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Converting First_Name and Surname datatype.Outputs[Data Conversion Output].Columns[Copy of SURNAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Converting First_Name and Surname datatype.Outputs[Data Conversion Output].Columns[Copy of FIRST_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[DB_CREATE_USERID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[DB_LAST_UPDATE_USERID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of INTEREST_HOLDER_ID]} - - - - - - - - - - true - -1 - - - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 7 - 1 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - - - - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_1]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_2]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_3]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MUNCIPALITY_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_COUNTRY]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ORGANIZATION_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ FIRST_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_MIDDLE_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_SURNAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USERID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USERID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[DB_CREATE_USERID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[DB_LAST_UPDATE_USERID]} - - - - - - - - - - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[AGENT_ID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_1]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_2]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_3]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[MUNCIPALITY_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PROVINCE]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[COUNTRY]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_COUNTRY]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_ORGANIZATION_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_ FIRST_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_MIDDLE_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_SURNAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[COUNTRY_ID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[Copy of AGENT_ID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[Copy of INTEREST_HOLDER_ID]} - - - - - - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[AGENT_ID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_1]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_2]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_3]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[MUNCIPALITY_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[PROVINCE]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[COUNTRY]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_COUNTRY]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_ORGANIZATION_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_ FIRST_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_MIDDLE_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[UNICODE_SURNAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[COUNTRY_ID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[Copy of AGENT_ID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All.Outputs[Union All Output 1].Columns[Copy of INTEREST_HOLDER_ID]} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[AGENT_ID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_1]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_2]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_3]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MUNCIPALITY_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_COUNTRY]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ORGANIZATION_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ FIRST_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_MIDDLE_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_SURNAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of AGENT_ID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of INTEREST_HOLDER_ID]} - - - - - - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[AGENT_ID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_1]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_2]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[STREET_ADDRESS_LINE_3]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[MUNCIPALITY_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[ORGANIZATION_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_COUNTRY]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ORGANIZATION_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_ FIRST_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_MIDDLE_NAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[UNICODE_SURNAME]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of AGENT_ID]} - - - - - #{Package\Load Interest Holder Persons and Organizations\Union All 1.Outputs[Union All Output 1].Columns[Copy of INTEREST_HOLDER_ID]} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - update PIMS_ORGANIZATION -set ORGANIZATION_TYPE_CODE=?, -ORG_IDENTIFIER_TYPE_CODE=?, -ORGANIZATION_NAME=? -where APP_CREATE_USER_DIRECTORY=? - 1252 - - - - - - - - - - - - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - - - - - - - - - - - - - - - - - 0 - Update PIMS_PERSON -set FIRST_NAME=?, -MIDDLE_NAMES=?, -SURNAME=? -where APP_CREATE_USER_DIRECTORY=? - 1252 - - - - - - - - - - - - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_ADDRESS] - select * from (select * from [dbo].[PIMS_ADDRESS]) [refTable] -where [refTable].[STREET_ADDRESS_1] = ? and [refTable].[MUNICIPALITY_NAME] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_1" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_2" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_3" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPALITY_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="POSTAL_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="OTHER_COUNTRY" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="LATITUDE" dataType="DT_NUMERIC" length="0" precision="8" scale="6" codePage="0"/><referenceColumn name="LONGITUDE" dataType="DT_NUMERIC" length="0" precision="9" scale="6" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[CIVIC_ADDRESS]};#{Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[CITY]}; - 1252 - false - - - - - - - - - - STREET_ADDRESS_1 - - - - - - MUNICIPALITY_NAME - - - - - - - - - - - - - ADDRESS_ID - - - - - REGION_CODE - - - - - DISTRICT_CODE - - - - - - - - - - - - - - - - - - - - - - - - - - [REPLACENULL](#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ACTUAL_LAND_USE_CODE]}," ") - REPLACENULL(ACTUAL_LAND_USE_CODE," ") - - - - - - - - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_PARCEL_ID]} - LAND_PARCEL_ID - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - "place_holder" - "place_holder" - - - - - "FALSE" - "FALSE" - - - - - "FALSE" - "FALSE" - - - - - "FALSE" - "FALSE" - - - - - "FALSE" - "FALSE" - - - - - "NULL" - "NULL" - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_USE_DESCRIPTION]} - LAND_USE_DESCRIPTION - - - - - [GETDATE]() - GETDATE() - - - - - [GETDATE]() - GETDATE() - - - - - [GETDATE]() - GETDATE() - - - - - [GETDATE]() - GETDATE() - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - [GETDATE]() - GETDATE() - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - "COREOPER" - "COREOPER" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PID_NO]} - false - - - - - #{Package\Load Land Parcel\PS_FILE_NUMBER.Outputs[Derived Column Output].Columns[FILE_NUMBER_SUFFIX]} - false - - - - - - - - - - - - - - - - - - - - - - - - - - "HA" - "HA" - - - - - 0000.0000 - 0000.0000 - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_PROPERTY_HIST] - select * from (select * from [dbo].[PIMS_PROPERTY_HIST]) [refTable] -where [refTable].[PID] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="_PROPERTY_HIST_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="EFFECTIVE_DATE_HIST" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="END_DATE_HIST" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_MANAGER_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROP_MGMT_ORG_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_CLASSIFICATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_AREA_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUME_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_EFFECTIVE_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="PID" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PIN" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER_SUFFIX" dataType="DT_STR" length="2" precision="0" scale="0" codePage="1252"/><referenceColumn name="LAND_AREA" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ENCUMBRANCE_REASON" dataType="DT_WSTR" length="500" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPAL_ZONING" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VOLUMETRIC_PARCEL" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_MEASUREMENT" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_OWNED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROPERTY_OF_INTEREST" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VISIBLE_TO_OTHER_AGENCIES" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_SENSITIVE" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROVINCIAL_PUBLIC_HWY" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_RWY_BELT_DOM_PATENT" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING_POTENTIAL" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="SURVEY_PLAN_NUMBER" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Land Parcel\Data Conversion 3.Outputs[Data Conversion Output].Columns[Copy of PID_NO]}; - 1252 - false - - - - - - - - - - PID - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_PROPERTY] - select * from (select * from [dbo].[PIMS_PROPERTY]) [refTable] -where [refTable].[PID] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PROPERTY_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_MANAGER_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROP_MGMT_ORG_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_CLASSIFICATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_AREA_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUME_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_EFFECTIVE_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="PID" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PIN" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER_SUFFIX" dataType="DT_STR" length="2" precision="0" scale="0" codePage="1252"/><referenceColumn name="LAND_AREA" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LAND_LEGAL_DESCRIPTION" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="BOUNDARY" dataType="DT_IMAGE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LOCATION" dataType="DT_IMAGE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ENCUMBRANCE_REASON" dataType="DT_WSTR" length="500" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="NOTES" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPAL_ZONING" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VOLUMETRIC_PARCEL" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_MEASUREMENT" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_OWNED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROPERTY_OF_INTEREST" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VISIBLE_TO_OTHER_AGENCIES" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_SENSITIVE" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROVINCIAL_PUBLIC_HWY" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_RWY_BELT_DOM_PATENT" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING_POTENTIAL" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="SURVEY_PLAN_NUMBER" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Land Parcel\Data Conversion 3.Outputs[Data Conversion Output].Columns[Copy of PID_NO]}; - 1252 - false - - - - - - - - - - PID - - - - - - - - - - - - - PROPERTY_ID - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "LAND" - "LAND" - - - - - - - - - - - - - - - - - select take_id,property_id,area,cast(area_unit_code as nvarchar2(20)) as area_unit_code from app_pam.pam_take_property - select * from (select take_id,property_id,area,cast(area_unit_code as nvarchar2(20)) as area_unit_code from app_pam.pam_take_property) "refTable" -where "refTable"."PROPERTY_ID" = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="TAKE_ID" dataType="DT_NUMERIC" length="0" precision="10" scale="0" codePage="0"/><referenceColumn name="PROPERTY_ID" dataType="DT_NUMERIC" length="0" precision="10" scale="0" codePage="0"/><referenceColumn name="AREA" dataType="DT_NUMERIC" length="0" precision="8" scale="4" codePage="0"/><referenceColumn name="AREA_UNIT_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[LAND_PARCEL_ID]}; - 1252 - false - - - - - - - - - - PROPERTY_ID - - - - - - - - - - - - - AREA - - - - - AREA_UNIT_CODE - - - - - - - - - - - - - - - - - - - - - - - - [REPLACENULL](#{Package\Load Land Parcel\ADDRESS_ID, REGION and DISTRICT Code.Outputs[Lookup Match Output].Columns[REGION_CODE]},1) - REPLACENULL(REGION_CODE,1) - - - - - - [REPLACENULL](#{Package\Load Land Parcel\ADDRESS_ID, REGION and DISTRICT Code.Outputs[Lookup Match Output].Columns[DISTRICT_CODE]},#{Package\Load Land Parcel\PAM_LAND_PARCEL.Outputs[OLE DB Source Output].Columns[CITY]} == "VICTORIA" ? 2 : 1) - REPLACENULL(DISTRICT_CODE,CITY == "VICTORIA" ? 2 : 1) - - - - - - - - - - - - - - - - - - - - - - 0 - update PIMS_PROPERTY_HIST -set PROPERTY_ID =?, -PROPERTY_TYPE_CODE =?, -PROPERTY_CLASSIFICATION_TYPE_CODE =?, -ADDRESS_ID=?, -REGION_CODE=?, -DISTRICT_CODE=?, -PROPERTY_AREA_UNIT_TYPE_CODE=?, -PROPERTY_STATUS_TYPE_CODE=?, -SURPLUS_DECLARATION_TYPE_CODE=?, -PROPERTY_DATA_SOURCE_TYPE_CODE=?, -PROPERTY_DATA_SOURCE_EFFECTIVE_DATE=?, -NAME =?, -DESCRIPTION=?, -PIN=?, -LAND_AREA=?, -ENCUMBRANCE_REASON=?, -IS_OWNED=?, -IS_PROPERTY_OF_INTEREST=?, -IS_VISIBLE_TO_OTHER_AGENCIES=?, -IS_SENSITIVE=?, -ZONING=?, -ZONING_POTENTIAL=?, -CONCURRENCY_CONTROL_NUMBER=?, -APP_CREATE_TIMESTAMP=?, -APP_CREATE_USERID=?, -PID=?, -APP_LAST_UPDATE_TIMESTAMP=?, -APP_LAST_UPDATE_USERID=?, -APP_LAST_UPDATE_USER_DIRECTORY=?, -DB_CREATE_TIMESTAMP=?, -DB_CREATE_USERID=?, -DB_LAST_UPDATE_TIMESTAMP=?, -DB_LAST_UPDATE_USERID=?, -PPH_STATUS_TYPE_CODE=?, -FILE_NUMBER_SUFFIX=?, -APP_CREATE_USER_DIRECTORY=? - 1252 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 81 - - - - - 65 - - - - - 65 - - - - - 81 - - - - - 81 - - - - - 81 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 81 - - - - - 81 - - - - - 81 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 81 - - - - - - - - - - - - - - - - - - - - - 0 - "APP_PAM"."PAM_LAND_PARCEL" - - - - 1252 - false - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [dbo].[PIMS_PROPERTY] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [dbo].[PIMS_PROPERTY_HIST] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "UNKNOWN" - "UNKNOWN" - - - - - "UNKNOWN" - "UNKNOWN" - - - - - - - - - - - - - - - - - - - - - - - - - - "PAIMS" - "PAIMS" - - - - - [GETDATE]() - GETDATE() - - - - - - - - - - - - - - - - - - - - - - - - - - "LP" - "LP" - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_PROPERTY_HIST] - select * from (select * from [dbo].[PIMS_PROPERTY_HIST]) [refTable] -where [refTable].[DESCRIPTION] = ? and [refTable].[NAME] = ? and [refTable].[ZONING] = ? and [refTable].[PROPERTY_TYPE_CODE] = ? and [refTable].[PROPERTY_CLASSIFICATION_TYPE_CODE] = ? and [refTable].[ADDRESS_ID] = ? and [refTable].[REGION_CODE] = ? and [refTable].[DISTRICT_CODE] = ? and [refTable].[PROPERTY_AREA_UNIT_TYPE_CODE] = ? and [refTable].[PID] = ? and [refTable].[FILE_NUMBER_SUFFIX] = ? and [refTable].[PROPERTY_DATA_SOURCE_TYPE_CODE] = ? and [refTable].[PROPERTY_STATUS_TYPE_CODE] = ? and [refTable].[SURPLUS_DECLARATION_TYPE_CODE] = ? and [refTable].[ENCUMBRANCE_REASON] = ? and [refTable].[ZONING_POTENTIAL] = ? and [refTable].[PROPERTY_ID] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="_PROPERTY_HIST_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="EFFECTIVE_DATE_HIST" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="END_DATE_HIST" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_MANAGER_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROP_MGMT_ORG_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_CLASSIFICATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_AREA_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUME_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_EFFECTIVE_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="PID" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PIN" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER_SUFFIX" dataType="DT_STR" length="2" precision="0" scale="0" codePage="1252"/><referenceColumn name="LAND_AREA" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ENCUMBRANCE_REASON" dataType="DT_WSTR" length="500" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPAL_ZONING" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VOLUMETRIC_PARCEL" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_MEASUREMENT" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_OWNED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROPERTY_OF_INTEREST" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VISIBLE_TO_OTHER_AGENCIES" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_SENSITIVE" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROVINCIAL_PUBLIC_HWY" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_RWY_BELT_DOM_PATENT" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING_POTENTIAL" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="SURVEY_PLAN_NUMBER" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_USE_DESCRIPTION]};#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TITLE_NO]};#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ACTUAL_LAND_USE_CODE]};#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]};#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]};#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ADDRESS_ID]};#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[REGION_CODE]};#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[DISTRICT_CODE]};#{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]};#{Package\Load Land Parcel\Data Conversion 3.Outputs[Data Conversion Output].Columns[Copy of PID_NO]};#{Package\Load Land Parcel\Data Conversion 3.Outputs[Data Conversion Output].Columns[Copy of FILE_NUMBER_SUFFIX]};#{Package\Load Land Parcel\PROPERTY DATA SOURCE TYPE AND DATE.Outputs[Derived Column Output].Columns[PROPERTY_DATA_SOURCE_TYPE_CODE]};#{Package\Load Land Parcel\PROPERTY AND PPH STATUS TYPE CODE.Outputs[Derived Column Output].Columns[PROPERTY_STATUS_TYPE_CODE]};#{Package\Load Land Parcel\SURPLUS_DECLARATION_TYPE_CODE.Outputs[Derived Column Output].Columns[SURPLUS_DELCARATION_TYPE_CODE]};#{Package\Load Land Parcel\Audit Trail.Outputs[Derived Column Output].Columns[ENCUMBRANCE_REASON]};#{Package\Load Land Parcel\Audit Trail.Outputs[Derived Column Output].Columns[ZONING_POTENTIAL]};#{Package\Load Land Parcel\Filter exsiting properties from PIMS_PROPERTY.Outputs[Lookup Match Output].Columns[PROPERTY_ID]}; - 1252 - false - - - - - - - - - - PROPERTY_ID - - - - - - PROPERTY_TYPE_CODE - - - - - - PROPERTY_CLASSIFICATION_TYPE_CODE - - - - - - ADDRESS_ID - - - - - - REGION_CODE - - - - - - DISTRICT_CODE - - - - - - PROPERTY_AREA_UNIT_TYPE_CODE - - - - - - PROPERTY_STATUS_TYPE_CODE - - - - - - SURPLUS_DECLARATION_TYPE_CODE - - - - - - PROPERTY_DATA_SOURCE_TYPE_CODE - - - - - - NAME - - - - - - DESCRIPTION - - - - - - PID - - - - - - ENCUMBRANCE_REASON - - - - - - ZONING - - - - - - ZONING_POTENTIAL - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "UNKNOWN" - "UNKNOWN" - - - - - - - - - - - - - - - - - - - - - - - - - - "UNKNOWN" - "UNKNOWN" - - - - - - - - - - - - - - - - - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_PARCEL_ID]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_PARCEL_CODE]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[DISTRICT_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_USE_DESCRIPTION]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[FULL_LEGAL_DESCRIPTION]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PID_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TITLE_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[CITY]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ROLL_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TOTAL_PARCEL_AREA]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ELECTORAL_DISTRICT_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_DISTRICT_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PLAN_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[DISTRICT_LOT]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[BLOCK_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LEGAL_SUBDIVISION_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LOT_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[SUBLOT_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[QUADRANT]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[SECTION]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TOWNSHIP]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_TITLES_RANGE]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[MERIDIAN]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[GROUP_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[BAND_NAME]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[RESERVE_NAME]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[RESERVE_DESCRIPTION]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PIN]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[SURVEYED_FLAG]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[RAIL_BELT_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[INSIDE_RAIL_BELT_FLAG]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TUBE_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TOPOGRAPHY_CODE]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ISLAND]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ACTUAL_LAND_USE_CODE]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[HIGHEST_BEST_USE_ACQUISITION]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ADDRESS_ID]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_AREA]} - - - - - - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_PARCEL_ID]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_PARCEL_CODE]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[DISTRICT_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_USE_DESCRIPTION]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[FULL_LEGAL_DESCRIPTION]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PID_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TITLE_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[CITY]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ROLL_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TOTAL_PARCEL_AREA]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ELECTORAL_DISTRICT_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_DISTRICT_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PLAN_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[DISTRICT_LOT]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[BLOCK_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LEGAL_SUBDIVISION_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LOT_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[SUBLOT_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[QUADRANT]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[SECTION]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TOWNSHIP]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_TITLES_RANGE]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[MERIDIAN]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[GROUP_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[BAND_NAME]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[RESERVE_NAME]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[RESERVE_DESCRIPTION]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PIN]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[SURVEYED_FLAG]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[RAIL_BELT_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[INSIDE_RAIL_BELT_FLAG]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TUBE_NO]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[TOPOGRAPHY_CODE]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ISLAND]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ACTUAL_LAND_USE_CODE]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[HIGHEST_BEST_USE_ACQUISITION]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[ADDRESS_ID]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[LAND_AREA]} - - - - - #{Package\Load Land Parcel\Union All.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LAND_PARCEL_ID]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LAND_PARCEL_CODE]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[DISTRICT_NO]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LAND_USE_DESCRIPTION]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[FULL_LEGAL_DESCRIPTION]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PID_NO]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[TITLE_NO]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[CITY]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[ROLL_NO]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[TOTAL_PARCEL_AREA]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[ELECTORAL_DISTRICT_NO]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LAND_DISTRICT_NO]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PLAN_NO]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[DISTRICT_LOT]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[BLOCK_NO]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LEGAL_SUBDIVISION_NO]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LOT_NO]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[SUBLOT_NO]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[QUADRANT]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[SECTION]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[TOWNSHIP]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LAND_TITLES_RANGE]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[MERIDIAN]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[GROUP_NO]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[BAND_NAME]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[RESERVE_NAME]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[RESERVE_DESCRIPTION]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PIN]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[SURVEYED_FLAG]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[RAIL_BELT_NO]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[INSIDE_RAIL_BELT_FLAG]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[TUBE_NO]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[TOPOGRAPHY_CODE]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[ISLAND]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[ACTUAL_LAND_USE_CODE]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[HIGHEST_BEST_USE_ACQUISITION]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[ADDRESS_ID]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[LAND_AREA]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[Copy of PID_NO]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_DATA_SOURCE_TYPE_CODE]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_DATA_SOURCE_EFFECTIVE_DATE]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_STATUS_TYPE_CODE]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PPH_STATUS_TYPE_CODE]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[SURPLUS_DELCARATION_TYPE_CODE]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[APP_CREATE_USERID]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[APP_CREATE_USER_DIRECTORY]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[APP_LAST_UPDATE_USERID]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[APP_LAST_UPDATE_USER_DIRECTORY]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[IS_OWNED]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[IS_PROPERTY_OF_INTEREST]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[IS_VISIBLE_TO_OTHER_AGENCIES]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[IS_SENSITIVE]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[ENCUMBRANCE_REASON]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[EFFECTIVE_DATE_HIST]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[APP_CREATE_TIMESTAMP]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[APP_LAST_UPDATE_TIMESTAMP]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[DB_CREATE_TIMESTAMP]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[DB_CREATE_USERID]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[DB_LAST_UPDATE_TIMESTAMP]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[DB_LAST_UPDATE_USERID]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[CONCURRENCY_CONTROL_NUMBER]} - - - - - #{Package\Load Land Parcel\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_ID]} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_ADDRESS] - select * from (select * from [dbo].[PIMS_ADDRESS]) [refTable] -where [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[APP_CREATE_USERID] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_1" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_2" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_3" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPALITY_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="POSTAL_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="LATITUDE" dataType="DT_NUMERIC" length="0" precision="8" scale="6" codePage="0"/><referenceColumn name="LONGITUDE" dataType="DT_NUMERIC" length="0" precision="9" scale="6" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="OTHER_COUNTRY" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PIMS_PERSON_APP_CREATE_USER_DIRECTORY]};#{Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[APP_CREATE_USERID]}; - 1252 - false - - - - - - - - - - APP_CREATE_USER_DIRECTORY - - - - - - APP_CREATE_USERID - - - - - - - - - - - - - ADDRESS_ID - - - - - APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_ADDRESS] - select * from (select * from [dbo].[PIMS_ADDRESS]) [refTable] -where [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[APP_CREATE_USERID] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_1" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_2" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_3" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPALITY_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="POSTAL_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="LATITUDE" dataType="DT_NUMERIC" length="0" precision="8" scale="6" codePage="0"/><referenceColumn name="LONGITUDE" dataType="DT_NUMERIC" length="0" precision="9" scale="6" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="OTHER_COUNTRY" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Output].Columns[ORGANIZATION_APP_CREATE_USER_DIRECTORY]};#{Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Output].Columns[APP_CREATE_USERID]}; - 1252 - false - - - - - - - - - - APP_CREATE_USER_DIRECTORY - - - - - - APP_CREATE_USERID - - - - - - - - - - - - - ADDRESS_ID - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - "place_holder" - "place_holder" - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - "place_holder" - "place_holder" - - - - - "MAILING" - "MAILING" - - - - - - - - - - - - - - - - - - - - - - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - "place_holder" - "place_holder" - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - "place_holder" - "place_holder" - - - - - "MAILING" - "MAILING" - - - - - - - - - - - - - - - - - true - -1 - - - - - - - 0 - 1 - - - - - 0 - 4 - - - - - 0 - 0 - - - - - 0 - 2 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 3 - - - - - - - - - - - - #{Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Output].Columns[ORGANIZATION_ID]} - - - - - #{Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Output].Columns[ORGANIZATION_APP_CREATE_USER_DIRECTORY]} - - - - - #{Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Output].Columns[INCORPORATION_NUMBER]} - - - - - #{Package\Load Person Address and Organization Address\Address ID in PIMS Address.Outputs[Lookup Match Output].Columns[ADDRESS_ID]} - - - - - #{Package\Load Person Address and Organization Address\Audit Trail 1.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]} - - - - - #{Package\Load Person Address and Organization Address\Audit Trail 1.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} - - - - - #{Package\Load Person Address and Organization Address\Audit Trail 1.Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USERID]} - - - - - #{Package\Load Person Address and Organization Address\Audit Trail 1.Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]} - - - - - #{Package\Load Person Address and Organization Address\Audit Trail 1.Outputs[Derived Column Output].Columns[ADDRESS_USAGE_TYPE_CODE]} - - - - - - - - - - - - - - - - - - - - - - [GETDATE]() - GETDATE() - - - - - "LOAD PERSON ADDFRESS AND ORGANIZATION ADDRESS" - "LOAD PERSON ADDFRESS AND ORGANIZATION ADDRESS" - - - - - "ADDRESS ID in PIMS ADDRESS" - "ADDRESS ID in PIMS ADDRESS" - - - - - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - - - - "Address not found for Interest Holder: " + #{Package\Load Person Address and Organization Address\PIMS Organization.Outputs[OLE DB Source Output].Columns[ORGANIZATION_APP_CREATE_USER_DIRECTORY]} - "Address not found for Interest Holder: " + APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [GETDATE]() - GETDATE() - - - - - "Load Person Address and Organizartion Address" - "Load Person Address and Organizartion Address" - - - - - "Address ID in PIMS Address" - "Address ID in PIMS Address" - - - - - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - - - - "Failed to find Address Id for: " + #{Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PIMS_PERSON_APP_CREATE_USER_DIRECTORY]} - "Failed to find Address Id for: " + PIMS_PERSON_APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [GETDATE]() - GETDATE() - - - - - "LOAD PERSON ADDFRESS AND ORGANIZATION ADDRESS" - "LOAD PERSON ADDFRESS AND ORGANIZATION ADDRESS" - - - - - "ADDRESS ID in PIMS ADDRESS" - "ADDRESS ID in PIMS ADDRESS" - - - - - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - - - - "ORGANIZATION_ID " + (DT_WSTR,10)#{Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ORGANIZATION_ID]} + "APP_CREATE_USER_DIRECTORY" + #{Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ORGANIZATION_APP_CREATE_USER_DIRECTORY]} - "ORGANIZATION_ID " + (DT_WSTR,10)ORGANIZATION_ID + "APP_CREATE_USER_DIRECTORY" + ORGANIZATION_APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [GETDATE]() - GETDATE() - - - - - "LOAD PERSON ADDFRESS AND ORGANIZATION ADDRESS" - "LOAD PERSON ADDFRESS AND ORGANIZATION ADDRESS" - - - - - "ADDRESS ID in PIMS ADDRESS" - "ADDRESS ID in PIMS ADDRESS" - - - - - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - - - - "ORGANIZATION_ID " + (DT_WSTR,10)#{Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ORGANIZATION_ID]} + "APP_CREATE_USER_DIRECTORY" + #{Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ORGANIZATION_APP_CREATE_USER_DIRECTORY]} - "ORGANIZATION_ID " + (DT_WSTR,10)ORGANIZATION_ID + "APP_CREATE_USER_DIRECTORY" + ORGANIZATION_APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [GETDATE]() - GETDATE() - - - - - "LOAD PERSON ADDFRESS AND ORGANIZATION ADDRESS" - "LOAD PERSON ADDFRESS AND ORGANIZATION ADDRESS" - - - - - "ADDRESS ID in PIMS ADDRESS" - "ADDRESS ID in PIMS ADDRESS" - - - - - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - - - - "PERSON_ID " + (DT_WSTR,10)#{Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PERSON_ID]} + "APP_CREATE_USER_DIRECTORY" + #{Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PIMS_PERSON_APP_CREATE_USER_DIRECTORY]} - "PERSON_ID " + (DT_WSTR,10)PERSON_ID + "APP_CREATE_USER_DIRECTORY" + PIMS_PERSON_APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [GETDATE]() - GETDATE() - - - - - "LOAD PERSON ADDFRESS AND ORGANIZATION ADDRESS" - "LOAD PERSON ADDFRESS AND ORGANIZATION ADDRESS" - - - - - "ADDRESS ID in PIMS ADDRESS" - "ADDRESS ID in PIMS ADDRESS" - - - - - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - - - - "PERSON_ID " + (DT_WSTR,10)#{Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PERSON_ID]} + "APP_CREATE_USER_DIRECTORY" + #{Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PIMS_PERSON_APP_CREATE_USER_DIRECTORY]} - "PERSON_ID " + (DT_WSTR,10)PERSON_ID + "APP_CREATE_USER_DIRECTORY" + PIMS_PERSON_APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 0 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_ORGANIZATION_ADDRESS] - select * from (select * from [dbo].[PIMS_ORGANIZATION_ADDRESS]) [refTable] -where [refTable].[ORGANIZATION_ID] = ? and [refTable].[ADDRESS_ID] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ORGANIZATION_ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_USAGE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ORGANIZATION_ID]};#{Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ADDRESS_ID]}; - 1252 - false - - - - - - - - - - ORGANIZATION_ID - - - - - - ADDRESS_ID - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_ORGANIZATION_ADDRESS] - select * from (select * from [dbo].[PIMS_ORGANIZATION_ADDRESS]) [refTable] -where [refTable].[ORGANIZATION_ID] = ? and [refTable].[ADDRESS_ID] = ? and [refTable].[ADDRESS_USAGE_TYPE_CODE] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ORGANIZATION_ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_USAGE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ORGANIZATION_ID]};#{Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ADDRESS_ID]};#{Package\Load Person Address and Organization Address\Deduplicate Organization Addresses.Outputs[Sort Output].Columns[ADDRESS_USAGE_TYPE_CODE]}; - 1252 - false - - - - - - - - - - ORGANIZATION_ID - - - - - - ADDRESS_ID - - - - - - ADDRESS_USAGE_TYPE_CODE - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_PERSON_ADDRESS] - select * from (select * from [dbo].[PIMS_PERSON_ADDRESS]) [refTable] -where [refTable].[PERSON_ID] = ? and [refTable].[ADDRESS_ID] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PERSON_ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_USAGE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PERSON_ID]};#{Package\Load Person Address and Organization Address\Adderss ID in PIMS Address.Outputs[Lookup Match Output].Columns[ADDRESS_ID]}; - 1252 - false - - - - - - - - - - PERSON_ID - - - - - - ADDRESS_ID - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_PERSON_ADDRESS] - select * from (select * from [dbo].[PIMS_PERSON_ADDRESS]) [refTable] -where [refTable].[PERSON_ID] = ? and [refTable].[ADDRESS_ID] = ? and [refTable].[ADDRESS_USAGE_TYPE_CODE] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PERSON_ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_USAGE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Person Address and Organization Address\PIMS PERSON.Outputs[OLE DB Source Output].Columns[PERSON_ID]};#{Package\Load Person Address and Organization Address\Adderss ID in PIMS Address.Outputs[Lookup Match Output].Columns[ADDRESS_ID]};#{Package\Load Person Address and Organization Address\Audit Trail.Outputs[Derived Column Output].Columns[ADDRESS_USAGE_TYPE_CODE]}; - 1252 - false - - - - - - - - - - PERSON_ID - - - - - - ADDRESS_ID - - - - - - ADDRESS_USAGE_TYPE_CODE - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - update pims_person_address -set PERSON_ID=?, -ADDRESS_ID=?, -ADDRESS_USAGE_TYPE_CODE=? - 1252 - - - - - - - - - - - - - - - 81 - - - - - 81 - - - - - 65 - - - - - - - - - - - - - - - - - - - - - 0 - [dbo].[PIMS_ORGANIZATION] - - - - 1252 - false - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [dbo].[PIMS_ORGANIZATION_ADDRESS] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [dbo].[PIMS_PERSON] - - SELECT * -FROM PIMS_PERSON -WHERE APP_CREATE_USERID='APP_PIMS_PROXY_ETL_EDIT'; - - 1252 - false - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [dbo].[PIMS_PERSON_ADDRESS] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - update PIMS_ORGANIZATION_ADDRESS -set ORGANIZATION_ID=?, -ADDRESS_ID=?, -ADDRESS_USAGE_TYPE_CODE=? - 1252 - - - - - - - - - - - - - - - 81 - - - - - 81 - - - - - 65 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - "PID_NO:" + (DT_WSTR,12)#{Package\Load PIMS_PROP_PROP_TENURE_TYPE\PAM PROPERTY.Outputs[OLE DB Source Output].Columns[PID_NO]} - "PID_NO:" + (DT_WSTR,12)PID_NO - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - "place_holder" - "place_holder" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load PIMS_PROP_PROP_TENURE_TYPE\PAM PROPERTY.Outputs[OLE DB Source Output].Columns[PID_NO]} - false - - - - - #{Package\Load PIMS_PROP_PROP_TENURE_TYPE\PAM PROPERTY.Outputs[OLE DB Source Output].Columns[PROPERTY_TENURE_TYPE_CODE]} - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [GETDATE]() - GETDATE() - - - - - "Load PIMS_PROP_PROP_TENURE_TYPE" - "Load PIMS_PROP_PROP_TENURE_TYPE" - - - - - "PIMS_PROP_PROP_TENURE_TYPE" - "PIMS_PROP_PROP_TENURE_TYPE" - - - - - "PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" - - - - - #{Package\Load PIMS_PROP_PROP_TENURE_TYPE\Insert PROP_PROP_TENURE_TYPE.Outputs[OLE DB Destination Error Output].Columns[ErrorCode]} - ErrorCode - - - - - #{Package\Load PIMS_PROP_PROP_TENURE_TYPE\Insert PROP_PROP_TENURE_TYPE.Outputs[OLE DB Destination Error Output].Columns[ErrorColumn]} - ErrorColumn - - - - - "PROPERTY_TENURE_TYPE_CODE" + #{Package\Load PIMS_PROP_PROP_TENURE_TYPE\PAM PROPERTY.Outputs[OLE DB Source Output].Columns[PROPERTY_TENURE_TYPE_CODE]} + "APP_CREATE_USER_DIRECTORY" + #{Package\Load PIMS_PROP_PROP_TENURE_TYPE\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]} + " PID_NO: " + (DT_WSTR,25)#{Package\Load PIMS_PROP_PROP_TENURE_TYPE\PAM PROPERTY.Outputs[OLE DB Source Output].Columns[PID_NO]} - "PROPERTY_TENURE_TYPE_CODE" + PROPERTY_TENURE_TYPE_CODE + "APP_CREATE_USER_DIRECTORY" + AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY + " PID_NO: " + (DT_WSTR,25)PID_NO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [GETDATE]() - GETDATE() - - - - - "Load PIMS_PROP_PROP_TENURE_TYPE" - "Load PIMS_PROP_PROP_TENURE_TYPE" - - - - - "PIMS_PROP_PROP_TENURE_TYPE" - "PIMS_PROP_PROP_TENURE_TYPE" - - - - - "PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" - - - - - #{Package\Load PIMS_PROP_PROP_TENURE_TYPE\Update PROP_PROP_TENURE_TYPE.Outputs[OLE DB Command Error Output].Columns[ErrorCode]} - ErrorCode - - - - - #{Package\Load PIMS_PROP_PROP_TENURE_TYPE\Update PROP_PROP_TENURE_TYPE.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]} - ErrorColumn - - - - - "PROPERTY_TENURE_TYPE_CODE" + #{Package\Load PIMS_PROP_PROP_TENURE_TYPE\PAM PROPERTY.Outputs[OLE DB Source Output].Columns[PROPERTY_TENURE_TYPE_CODE]} + "APP_CREATE_USER_DIRECTORY" + #{Package\Load PIMS_PROP_PROP_TENURE_TYPE\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]} + " PID_NO: " + (DT_WSTR,25)#{Package\Load PIMS_PROP_PROP_TENURE_TYPE\PAM PROPERTY.Outputs[OLE DB Source Output].Columns[PID_NO]} - "PROPERTY_TENURE_TYPE_CODE" + PROPERTY_TENURE_TYPE_CODE + "APP_CREATE_USER_DIRECTORY" + AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY + " PID_NO: " + (DT_WSTR,25)PID_NO - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [dbo].[PIMS_PROP_PROP_TENURE_TYPE] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_PROPERTY] - select * from (select * from [dbo].[PIMS_PROPERTY]) [refTable] -where [refTable].[PID] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PROPERTY_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_MANAGER_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROP_MGMT_ORG_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_CLASSIFICATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_AREA_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUME_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_EFFECTIVE_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="PID" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PIN" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER_SUFFIX" dataType="DT_STR" length="2" precision="0" scale="0" codePage="1252"/><referenceColumn name="LAND_AREA" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LAND_LEGAL_DESCRIPTION" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="BOUNDARY" dataType="DT_IMAGE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LOCATION" dataType="DT_IMAGE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ENCUMBRANCE_REASON" dataType="DT_WSTR" length="500" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="NOTES" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPAL_ZONING" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VOLUMETRIC_PARCEL" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_MEASUREMENT" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_OWNED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROPERTY_OF_INTEREST" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VISIBLE_TO_OTHER_AGENCIES" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_SENSITIVE" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROVINCIAL_PUBLIC_HWY" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_RWY_BELT_DOM_PATENT" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING_POTENTIAL" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="SURVEY_PLAN_NUMBER" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load PIMS_PROP_PROP_TENURE_TYPE\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of PID_NO]}; - 1252 - false - - - - - - - - - - PID - - - - - - - - - - - - - PROPERTY_ID - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_PROP_PROP_TENURE_TYPE] - select * from (select * from [dbo].[PIMS_PROP_PROP_TENURE_TYPE]) [refTable] -where [refTable].[PROPERTY_TENURE_TYPE_CODE] = ? and [refTable].[PROPERTY_ID] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PROP_PROP_TENURE_TYPE_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_TENURE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load PIMS_PROP_PROP_TENURE_TYPE\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of PROPERTY_TENURE_TYPE_CODE]};#{Package\Load PIMS_PROP_PROP_TENURE_TYPE\Lookup.Outputs[Lookup Match Output].Columns[PROPERTY_ID_new]};#{Package\Load PIMS_PROP_PROP_TENURE_TYPE\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]}; - 1252 - false - - - - - - - - - - PROPERTY_TENURE_TYPE_CODE - - - - - - PROPERTY_ID - - - - - - APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_PROP_PROP_TENURE_TYPE] - select * from (select * from [dbo].[PIMS_PROP_PROP_TENURE_TYPE]) [refTable] -where [refTable].[PROPERTY_TENURE_TYPE_CODE] = ? and [refTable].[PROPERTY_ID] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PROP_PROP_TENURE_TYPE_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_TENURE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load PIMS_PROP_PROP_TENURE_TYPE\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of PROPERTY_TENURE_TYPE_CODE]};#{Package\Load PIMS_PROP_PROP_TENURE_TYPE\Lookup.Outputs[Lookup Match Output].Columns[PROPERTY_ID_new]};#{Package\Load PIMS_PROP_PROP_TENURE_TYPE\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]}; - 1252 - false - - - - - - - - - - PROPERTY_ID - - - - - - PROPERTY_TENURE_TYPE_CODE - - - - - - APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - "APP_PAM"."PAM_PROPERTY" - - select distinct pid_no,property_tenure_type_code from app_pam.pam_property where pid_no is not null - - 1252 - false - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - update PIMS_PROP_PROP_TENURE_TYPE -set PROPERTY_ID=?, -PROPERTY_TENURE_TYPE_CODE=? - - 1252 - - - - - - - - - - - - - - 81 - - - - - 65 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_ADDRESS] - select * from (select * from [dbo].[PIMS_ADDRESS]) [refTable] -where [refTable].[STREET_ADDRESS_1] = ? and [refTable].[MUNICIPALITY_NAME] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_1" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_2" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_3" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPALITY_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="POSTAL_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="OTHER_COUNTRY" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="LATITUDE" dataType="DT_NUMERIC" length="0" precision="8" scale="6" codePage="0"/><referenceColumn name="LONGITUDE" dataType="DT_NUMERIC" length="0" precision="9" scale="6" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].Columns[CIVIC_ADDRESS]};#{Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].Columns[MUNICIPALITY_NAME]}; - 1252 - false - - - - - - - - - - STREET_ADDRESS_1 - - - - - - MUNICIPALITY_NAME - - - - - - - - - - - - - ADDRESS_ID - - - - - REGION_CODE - - - - - DISTRICT_CODE - - - - - - - - - - - - - - - - - - - - select take_id,property_id,area,cast(area_unit_code as nvarchar2(20)) as area_unit_code from app_pam.pam_take_property - select * from (select take_id,property_id,area,cast(area_unit_code as nvarchar2(20)) as area_unit_code from app_pam.pam_take_property) "refTable" -where "refTable"."PROPERTY_ID" = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="TAKE_ID" dataType="DT_NUMERIC" length="0" precision="10" scale="0" codePage="0"/><referenceColumn name="PROPERTY_ID" dataType="DT_NUMERIC" length="0" precision="10" scale="0" codePage="0"/><referenceColumn name="AREA" dataType="DT_NUMERIC" length="0" precision="8" scale="4" codePage="0"/><referenceColumn name="AREA_UNIT_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].Columns[PROPERTY_ID]}; - 1252 - false - - - - - - - - - - PROPERTY_ID - - - - - - - - - - - - - AREA - - - - - AREA_UNIT_CODE - - - - - TAKE_ID - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - "place_holder" - "place_holder" - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - "place_holder" - "place_holder" - - - - - "TRUE" - "TRUE" - - - - - "FALSE" - "FALSE" - - - - - "FALSE" - "FALSE" - - - - - "FALSE" - "FALSE" - - - - - - - - - - - - - - - - - - - - - - - - - - "COREOPER" - "COREOPER" - - - - - - - - - - - - - - - - - - - - - - [REPLACENULL](#{Package\Load Properties 1\Address Id, Region and District Code.Outputs[Lookup Match Output].Columns[REGION_CODE]},1) - REPLACENULL(REGION_CODE,1) - - - - - [REPLACENULL](#{Package\Load Properties 1\Address Id, Region and District Code.Outputs[Lookup Match Output].Columns[DISTRICT_CODE]},#{Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].Columns[MUNICIPALITY_NAME]} == "VICTORIA" ? 2 : 1) - REPLACENULL(DISTRICT_CODE,[PAM Property].MUNICIPALITY_NAME == "VICTORIA" ? 2 : 1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Properties 1\Area and Area Unit Code.Outputs[Lookup Match Output].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - false - - - - - #{Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].Columns[FILE_NUMBER_SUFFIX]} - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Properties 1\PAM_TAKE.Outputs[Lookup Match Output].Columns[TAKE_ID_new]} - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "HA" - "HA" - - - - - 0000.0000 - 0000.0000 - - - - - (DT_STR,2,1252)#{Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].Columns[FILE_NUMBER_SUFFIX]} - (DT_STR,2,1252)FILE_NUMBER_SUFFIX - - - - - (DT_NUMERIC,10,0)0 - (DT_NUMERIC,10,0)0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "Load Properties" - "Load Properties" - - - - - "Store property in PIMS_PROPERTY" - "Store property in PIMS_PROPERTY" - - - - - "MUNICIPALITY_NAME: " + [REPLACENULL](#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]},"NULL") - "MUNICIPALITY_NAME: " + REPLACENULL(MUNICIPALITY_NAME,"NULL") - - - - - [GETDATE]() - GETDATE() - - - - - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "Load Properties" - "Load Properties" - - - - - "Store property in PIMS_PROPERTY" - "Store property in PIMS_PROPERTY" - - - - - "MUNICIPALITY_NAME: " + [REPLACENULL](#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]},"NULL") - "MUNICIPALITY_NAME: " + REPLACENULL(MUNICIPALITY_NAME,"NULL") - - - - - [GETDATE]() - GETDATE() - - - - - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - - - - - - - - - - - - - - - - - - - - - - - - - NULL(DT_I8) - NULL(DT_I8) - - - - - - - - - - - - - - - - - - - - - - - - - - NULL(DT_I8) - NULL(DT_I8) - - - - - - - - - - - - - - - - - - - - - - - - - - (DT_WSTR,50)"" - (DT_WSTR,50)"" - - - - - (DT_WSTR,50)"" - (DT_WSTR,50)"" - - - - - - - - - - - - - - - - - - - - - - - - - - (DT_NUMERIC,10,0)0 - (DT_NUMERIC,10,0)0 - - - - - - - - - - - - - - - - - - - - - - - - - - (DT_NUMERIC,10,0)0 - (DT_NUMERIC,10,0)0 - - - - - - - - - - - - - - - - - - - - - - - - - - NULL(DT_I8) - NULL(DT_I8) - - - - - NULL(DT_I8) - NULL(DT_I8) - - - - - - - - - - - - - - - - - - - - - - - - - - NULL(DT_I8) - NULL(DT_I8) - - - - - NULL(DT_I8) - NULL(DT_I8) - - - - - - - - - - - - - - - - - - - - - - - - - - (DT_NUMERIC,10,0)0 - (DT_NUMERIC,10,0)0 - - - - - - - - - - - - - - - - - - - - - - - - - - (DT_NUMERIC,10,0)0 - (DT_NUMERIC,10,0)0 - - - - - - - - - - - - - - - - - - - - - "Property of Interest - Not Found in Land Parcel " + [REPLACENULL](#{Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[DESCRIPTION]}," ") - "Property of Interest - Not Found in Land Parcel " + REPLACENULL(DESCRIPTION," ") - - - - - - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "LAND" - "LAND" - - - - - - - - - - - - - - - - - select distinct pid_no from pam_land_parcel - select * from (select distinct pid_no from pam_land_parcel) "refTable" -where "refTable"."PID_NO" = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PID_NO" dataType="DT_NUMERIC" length="0" precision="9" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Properties 1\Merge Join.Outputs[Merge Join Output].Columns[PID]}; - 1252 - false - - - - - - - - - - PID_NO - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_PROPERTY] - select * from (select * from [dbo].[PIMS_PROPERTY]) [refTable] -where [refTable].[DESCRIPTION] = ? and [refTable].[ZONING] = ? and [refTable].[ZONING_POTENTIAL] = ? and [refTable].[ADDRESS_ID] = ? and [refTable].[PROPERTY_MANAGER_ID] = ? and [refTable].[PROP_MGMT_ORG_ID] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PROPERTY_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_MANAGER_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROP_MGMT_ORG_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_CLASSIFICATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_AREA_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUME_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_EFFECTIVE_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="PID" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PIN" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER_SUFFIX" dataType="DT_STR" length="2" precision="0" scale="0" codePage="1252"/><referenceColumn name="LAND_AREA" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LAND_LEGAL_DESCRIPTION" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="BOUNDARY" dataType="DT_IMAGE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LOCATION" dataType="DT_IMAGE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ENCUMBRANCE_REASON" dataType="DT_WSTR" length="500" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="NOTES" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPAL_ZONING" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VOLUMETRIC_PARCEL" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_MEASUREMENT" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_OWNED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROPERTY_OF_INTEREST" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VISIBLE_TO_OTHER_AGENCIES" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_SENSITIVE" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROVINCIAL_PUBLIC_HWY" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_RWY_BELT_DOM_PATENT" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING_POTENTIAL" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="SURVEY_PLAN_NUMBER" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[Description]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ZONING]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ADDRESS_ID]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PERSON_ID]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ORGANIZATION_ID]}; - 1252 - false - - - - - - - - - - DESCRIPTION - - - - - - ZONING - - - - - - ZONING_POTENTIAL - - - - - - ADDRESS_ID - - - - - - PROPERTY_MANAGER_ID - - - - - - PROP_MGMT_ORG_ID - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_PROPERTY] - select * from (select * from [dbo].[PIMS_PROPERTY]) [refTable] -where [refTable].[DESCRIPTION] = ? and [refTable].[ZONING] = ? and [refTable].[ZONING_POTENTIAL] = ? and [refTable].[FILE_NUMBER_SUFFIX] = ? and [refTable].[PROPERTY_TYPE_CODE] = ? and [refTable].[PROPERTY_CLASSIFICATION_TYPE_CODE] = ? and [refTable].[ADDRESS_ID] = ? and [refTable].[REGION_CODE] = ? and [refTable].[DISTRICT_CODE] = ? and [refTable].[PROPERTY_AREA_UNIT_TYPE_CODE] = ? and [refTable].[PROPERTY_MANAGER_ID] = ? and [refTable].[PROP_MGMT_ORG_ID] = ? and [refTable].[PROPERTY_STATUS_TYPE_CODE] = ? and [refTable].[PPH_STATUS_TYPE_CODE] = ? and [refTable].[PROPERTY_DATA_SOURCE_TYPE_CODE] = ? and [refTable].[SURPLUS_DECLARATION_TYPE_CODE] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PROPERTY_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_MANAGER_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROP_MGMT_ORG_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_CLASSIFICATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_AREA_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUME_UNIT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PROPERTY_DATA_SOURCE_EFFECTIVE_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="PID" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PIN" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="FILE_NUMBER_SUFFIX" dataType="DT_WSTR" length="2" precision="0" scale="0" codePage="0"/><referenceColumn name="LAND_AREA" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LAND_LEGAL_DESCRIPTION" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="BOUNDARY" dataType="DT_IMAGE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LOCATION" dataType="DT_IMAGE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURVEY_PLAN_NUMBER" dataType="DT_WSTR" length="250" precision="0" scale="0" codePage="0"/><referenceColumn name="ENCUMBRANCE_REASON" dataType="DT_WSTR" length="500" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="SURPLUS_DECLARATION_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="NOTES" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPAL_ZONING" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VOLUMETRIC_PARCEL" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="VOLUMETRIC_MEASUREMENT" dataType="DT_R4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_OWNED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROPERTY_OF_INTEREST" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_VISIBLE_TO_OTHER_AGENCIES" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_SENSITIVE" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PROVINCIAL_PUBLIC_HWY" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PPH_STATUS_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_RWY_BELT_DOM_PATENT" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="ZONING_POTENTIAL" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[Description]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ZONING]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ADDRESS_ID]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[REGION_CODE]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[DISTRICT_CODE]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PERSON_ID]};#{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ORGANIZATION_ID]};#{Package\Load Properties 1\PROPERTY_STATUS_TYPE.Outputs[Derived Column Output].Columns[PROPERTY_STATUS_TYPE_CODE]};#{Package\Load Properties 1\PROPERTY_STATUS_TYPE.Outputs[Derived Column Output].Columns[PPH_STATUS_TYPE_CODE]};#{Package\Load Properties 1\PROPERTY_DATA_SOURCE_TYPE.Outputs[Derived Column Output].Columns[PROPERTY_DATA_SOURCE_TYPE_CODE]};#{Package\Load Properties 1\SURPLUS_DECLARATION_TYPE_CODE.Outputs[Derived Column Output].Columns[SURPLUS_DELCARATION_TYPE_CODE]};#{Package\Load Properties 1\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]}; - 1252 - false - - - - - - - - - - ADDRESS_ID - - - - - - APP_CREATE_USER_DIRECTORY - - - - - - PROPERTY_TYPE_CODE - - - - - - PROPERTY_CLASSIFICATION_TYPE_CODE - - - - - - REGION_CODE - - - - - - DISTRICT_CODE - - - - - - PROPERTY_AREA_UNIT_TYPE_CODE - - - - - - PROPERTY_STATUS_TYPE_CODE - - - - - - PROPERTY_DATA_SOURCE_TYPE_CODE - - - - - - DESCRIPTION - - - - - - ZONING - - - - - - ZONING_POTENTIAL - - - - - - PROPERTY_MANAGER_ID - - - - - - PROP_MGMT_ORG_ID - - - - - - SURPLUS_DECLARATION_TYPE_CODE - - - - - - PPH_STATUS_TYPE_CODE - - - - - - FILE_NUMBER_SUFFIX - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - 20 - true - 5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[CIVIC_ADDRESS]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[DESCRIPTION]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[PID]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[PIN]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[LAND_LEGAL_DESCRIPTION]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[ZONING]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[ZONING_POTENTIAL]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[PROPERTY_TENURE_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[FILE_NUMBER]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[FILE_NUMBER_SUFFIX]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[PROPERTY_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[ADDRESS_ID]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[REGION_CODE]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[DISTRICT_CODE]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[LAND_AREA]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[File_Number_Suffix1]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[TAKE_ID]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[Copy of TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[PROPERTY_CONT_PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[PROPERTY_EMPLOYEE_ID]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[EMPLOYEE_NAME]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[EMPLOYEE_ORGANIZATION_NAME]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[FIRST_NAME]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[SURNAME]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Left Input].Columns[PERSON_ID]} - - - - - #{Package\Load Properties 1\Merge Join.Inputs[Merge Join Right Input].Columns[ORGANIZATION_ID]} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - update PIMS_PROPERTY -set PROPERTY_TYPE_CODE=?, -PROPERTY_CLASSIFICATION_TYPE_CODE=?, -ADDRESS_ID=?, -REGION_CODE=?, -DISTRICT_CODE=?, -PROPERTY_AREA_UNIT_TYPE_CODE=?, -PROPERTY_STATUS_TYPE_CODE=?, -PROPERTY_DATA_SOURCE_TYPE_CODE=?, -PROPERTY_DATA_SOURCE_EFFECTIVE_DATE=?, -DESCRIPTION=?, -PID=?, -PIN=?, -LAND_AREA=?, -LAND_LEGAL_DESCRIPTION=?, -IS_OWNED=?, -IS_PROPERTY_OF_INTEREST=?, -IS_VISIBLE_TO_OTHER_AGENCIES=?, -IS_SENSITIVE=?, -ZONING=?, -ZONING_POTENTIAL=?, -PROPERTY_MANAGER_ID=?, -PROP_MGMT_ORG_ID=?, -SURPLUS_DECLARATION_TYPE_CODE=?, -PPH_STATUS_TYPE_CODE=?, -FILE_NUMBER=?, -FILE_NUMBER_SUFFIX=? -WHERE APP_LAST_UPDATE_USERID = ? - 1252 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 65 - - - - - 65 - - - - - 81 - - - - - 81 - - - - - 81 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 81 - - - - - 81 - - - - - 81 - - - - - 193 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 81 - - - - - 81 - - - - - 65 - - - - - 65 - - - - - 81 - - - - - 65 - - - - - 65 - - - - - - - - - - - - - - - - - - - - - 0 - "APP_PAM"."PAM_PROPERTY" - - SELECT * -FROM APP_PAM.PAM_PROPERTY - - 1252 - false - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - select PROPERTY_CONTRACT_ID,PROPERTY_EMPLOYEE_ID from app_pam.pam_property_contract - select * from (select PROPERTY_CONTRACT_ID,PROPERTY_EMPLOYEE_ID from app_pam.pam_property_contract) "refTable" -where "refTable"."PROPERTY_CONTRACT_ID" = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PROPERTY_CONTRACT_ID" dataType="DT_NUMERIC" length="0" precision="10" scale="0" codePage="0"/><referenceColumn name="PROPERTY_EMPLOYEE_ID" dataType="DT_NUMERIC" length="0" precision="10" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Properties 1\Union All 3.Inputs[Union All Input 2].Columns[SURNAME]}; - 1252 - false - - - - - - - - - - PROPERTY_CONTRACT_ID - - - - - - - - - - - - - PROPERTY_EMPLOYEE_ID - - - - - - - - - - - - - - - - - - - - select PROPERTY_CONT_PROPERTY_ID,PROPERTY_ID from app_pam.pam_property_cont_property - select * from (select PROPERTY_CONT_PROPERTY_ID,PROPERTY_ID from app_pam.pam_property_cont_property) "refTable" -where "refTable"."PROPERTY_ID" = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PROPERTY_CONT_PROPERTY_ID" dataType="DT_NUMERIC" length="0" precision="10" scale="0" codePage="0"/><referenceColumn name="PROPERTY_ID" dataType="DT_NUMERIC" length="0" precision="10" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Properties 1\Lookup 1.Outputs[Lookup Error Output].Columns[ErrorColumn]}; - 1252 - false - - - - - - - - - - PROPERTY_ID - - - - - - - - - - - - - PROPERTY_CONT_PROPERTY_ID - - - - - - - - - - - - - - - - - - - - select PROPERTY_EMPLOYEE_ID,cast(NAME as nvarchar2(50)) NAME,cast(POSITION_TITLE as nvarchar2(50)) as POSITION_TITLE from app_pam.pam_property_employee - select * from (select PROPERTY_EMPLOYEE_ID,cast(NAME as nvarchar2(50)) NAME,cast(POSITION_TITLE as nvarchar2(50)) as POSITION_TITLE from app_pam.pam_property_employee) "refTable" -where "refTable"."PROPERTY_EMPLOYEE_ID" = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PROPERTY_EMPLOYEE_ID" dataType="DT_NUMERIC" length="0" precision="10" scale="0" codePage="0"/><referenceColumn name="NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="POSITION_TITLE" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]}; - 1252 - false - - - - - - - - - - PROPERTY_EMPLOYEE_ID - - - - - - - - - - - - - NAME - - - - - POSITION_TITLE - - - - - - - - - - - - - - - - - - - - select take_id from app_pam.pam_take - select * from (select take_id from app_pam.pam_take) "refTable" -where "refTable"."TAKE_ID" = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="TAKE_ID" dataType="DT_NUMERIC" length="0" precision="10" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[TAKE_ID]}; - 1252 - false - - - - - - - - - - TAKE_ID - - - - - - - - - - - - - TAKE_ID - - - - - - - - - - - - - - - - - - - - select TAKE_ID TAKE_ID2,INTEREST_HOLDER_ID from app_pam.pam_take_interest_holder - select * from (select TAKE_ID TAKE_ID2,INTEREST_HOLDER_ID from app_pam.pam_take_interest_holder) "refTable" -where "refTable"."TAKE_ID2" = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="TAKE_ID2" dataType="DT_NUMERIC" length="0" precision="10" scale="0" codePage="0"/><referenceColumn name="INTEREST_HOLDER_ID" dataType="DT_NUMERIC" length="0" precision="10" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[TAKE_ID_new]}; - 1252 - false - - - - - - - - - - TAKE_ID2 - - - - - - - - - - - - - INTEREST_HOLDER_ID - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_ORGANIZATION] - select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] -where [refTable].[ORGANIZATION_NAME] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PRNT_ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORG_IDENTIFIER_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_IDENTIFIER" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ALIAS" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="INCORPORATION_NUMBER" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="WEBSITE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_ORGANIZATION_NAME]}; - 1252 - false - - - - - - - - - - ORGANIZATION_NAME - - - - - - - - - - - - - ORGANIZATION_ID - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_PERSON] - select * from (select * from [dbo].[PIMS_PERSON]) [refTable] -where [refTable].[FIRST_NAME] = ? and [refTable].[MIDDLE_NAMES] = ? and [refTable].[SURNAME] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURNAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="FIRST_NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="MIDDLE_NAMES" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME_SUFFIX" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="PREFERRED_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="BIRTH_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="USE_ORGANIZATION_ADDRESS" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Properties 1\Surname,FirstName,MiddleName.Outputs[Derived Column Output].Columns[FIRST_NAME]};#{Package\Load Properties 1\Surname,FirstName,MiddleName.Outputs[Derived Column Output].Columns[MIDDLE_NAME]};#{Package\Load Properties 1\Surname,FirstName,MiddleName.Outputs[Derived Column Output].Columns[SURNAME]}; - 1252 - false - - - - - - - - - - FIRST_NAME - - - - - - MIDDLE_NAMES - - - - - - SURNAME - - - - - - - - - - - - - PERSON_ID - - - - - - - - - - - - - - - - - - - - 0 - [dbo].[PIMS_PROPERTY] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [GETDATE]() - GETDATE() - - - - - - - - - - - - - - - - - - - - - - - - - - "PAIMS" - "PAIMS" - - - - - [GETDATE]() - GETDATE() - - - - - - - - - - - - - - - - - - - - - - - - - - "FEESIMP" - "FEESIMP" - - - - - "UNKNOWN" - "UNKNOWN" - - - - - - - - - - - - - - - - - false - -1 - - - - - - - 0 - 1 - - - - - 0 - 2 - - - - - 0 - 3 - - - - - 0 - 4 - - - - - 0 - 5 - - - - - 0 - 6 - - - - - 0 - 7 - - - - - 0 - 8 - - - - - 0 - 9 - - - - - 0 - 10 - - - - - 0 - 11 - - - - - 0 - 12 - - - - - 0 - 13 - - - - - 0 - 14 - - - - - 0 - 15 - - - - - 0 - 16 - - - - - 0 - 17 - - - - - 0 - 18 - - - - - 0 - 19 - - - - - 0 - 20 - - - - - 0 - 21 - - - - - 0 - 22 - - - - - 0 - 23 - - - - - 0 - 24 - - - - - 0 - 25 - - - - - 0 - 26 - - - - - 0 - 27 - - - - - 0 - 28 - - - - - 0 - 29 - - - - - 0 - 30 - - - - - 0 - 31 - - - - - 0 - 32 - - - - - 0 - 33 - - - - - - - - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PID]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PIN]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[ZONING]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[ADDRESS_ID]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[LAND_AREA]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[TAKE_ID]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[EMPLOYEE_ORGANIZATION_NAME]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PERSON_ID]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[ORGANIZATION_ID]} - - - - - - - - - - false - -1 - - - - - - - 0 - 1 - - - - - 0 - 2 - - - - - 0 - 3 - - - - - 0 - 4 - - - - - 0 - 5 - - - - - 0 - 6 - - - - - 0 - 7 - - - - - 0 - 8 - - - - - 0 - 9 - - - - - 0 - 10 - - - - - 0 - 11 - - - - - 0 - 12 - - - - - 0 - 13 - - - - - 0 - 14 - - - - - 0 - 15 - - - - - 0 - 16 - - - - - 0 - 17 - - - - - 0 - 18 - - - - - 0 - 19 - - - - - 0 - 20 - - - - - 0 - 21 - - - - - 0 - 22 - - - - - 0 - 23 - - - - - 0 - 24 - - - - - 0 - 25 - - - - - 0 - 26 - - - - - 0 - 27 - - - - - 0 - 28 - - - - - 0 - 29 - - - - - 0 - 30 - - - - - 0 - 31 - - - - - 0 - 33 - - - - - 0 - 32 - - - - - - - - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PID]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PIN]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[ZONING]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[ADDRESS_ID]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[LAND_AREA]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[TAKE_ID]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[EMPLOYEE_ORGANIZATION_NAME]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[ORGANIZATION_ID]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PERSON_ID]} - - - - - - - - - - - - - - - - - - - - - - ([FINDSTRING]([TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]})," ",1) == 0) ? [TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]})," ",1))) - (FINDSTRING(TRIM(EMPLOYEE_NAME)," ",1) == 0) ? TRIM(EMPLOYEE_NAME) : (SUBSTRING(TRIM(EMPLOYEE_NAME),1,FINDSTRING(TRIM(EMPLOYEE_NAME)," ",1))) - - - - - ([FINDSTRING]([TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]})," ",2)) != 0 ? ([SUBSTRING]([TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]}),([FINDSTRING]([TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]})," ",1) + 1),(([FINDSTRING]([TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]})," ",2)) - ([FINDSTRING]([TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]})," ",1) + 1)))) : "" - (FINDSTRING(TRIM(EMPLOYEE_NAME)," ",2)) != 0 ? (SUBSTRING(TRIM(EMPLOYEE_NAME),(FINDSTRING(TRIM(EMPLOYEE_NAME)," ",1) + 1),((FINDSTRING(TRIM(EMPLOYEE_NAME)," ",2)) - (FINDSTRING(TRIM(EMPLOYEE_NAME)," ",1) + 1)))) : "" - - - - - ([FINDSTRING]([TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]}),[FINDSTRING]([TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]})," ",1) + 1,[LEN](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]}),[FINDSTRING]([TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]})," ",2) + 1,[LEN](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]}))) - (FINDSTRING(TRIM(EMPLOYEE_NAME)," ",2) == 0) ? (SUBSTRING(TRIM(EMPLOYEE_NAME),FINDSTRING(TRIM(EMPLOYEE_NAME)," ",1) + 1,LEN(EMPLOYEE_NAME))) : (SUBSTRING(TRIM(EMPLOYEE_NAME),FINDSTRING(TRIM(EMPLOYEE_NAME)," ",2) + 1,LEN(EMPLOYEE_NAME))) - - - - - - - - - - - - - - - - - - - - - - - - - - "UNKNOWN" - "UNKNOWN" - - - - - - - - - - - - - - - - - - - - - [ISNULL](#{Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].Columns[PROPERTY_TENURE_TYPE_CODE]}) ? #{Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].Columns[PROPERTY_TENURE_TYPE_CODE]} : "TM" - ISNULL(PROPERTY_TENURE_TYPE_CODE) ? PROPERTY_TENURE_TYPE_CODE : "TM" - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PID]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PIN]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[ZONING]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[ADDRESS_ID]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[LAND_AREA]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[TAKE_ID]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} - - - - - - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PID]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PIN]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[ZONING]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[ADDRESS_ID]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[LAND_AREA]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[TAKE_ID]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PID]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PIN]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[ZONING]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[ADDRESS_ID]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[LAND_AREA]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[TAKE_ID]} - - - - - - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PID]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PIN]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[ZONING]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[ADDRESS_ID]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[LAND_AREA]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[TAKE_ID]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PID]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PIN]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[ZONING]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[ADDRESS_ID]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[LAND_AREA]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[TAKE_ID]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_ORGANIZATION_NAME]} - - - - - - - - - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PID]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PIN]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[ZONING]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[ADDRESS_ID]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[LAND_AREA]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[TAKE_ID]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]} - - - - - #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_ORGANIZATION_NAME]} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PID]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PIN]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[ZONING]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[ADDRESS_ID]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[LAND_AREA]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[TAKE_ID]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PID]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PIN]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[ZONING]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[ADDRESS_ID]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[LAND_AREA]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[TAKE_ID]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[Description]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PID]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PIN]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ZONING]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ADDRESS_ID]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[LAND_AREA]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[TAKE_ID]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[EMPLOYEE_ORGANIZATION_NAME]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PERSON_ID]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ORGANIZATION_ID]} - - - - - - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PID]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PIN]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ZONING]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ADDRESS_ID]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[LAND_AREA]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[TAKE_ID]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[EMPLOYEE_ORGANIZATION_NAME]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PERSON_ID]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ORGANIZATION_ID]} - - - - - #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[Description]} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PID]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PIN]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[ZONING]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[ADDRESS_ID]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[LAND_AREA]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[TAKE_ID]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[EMPLOYEE_ORGANIZATION_NAME]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PERSON_ID]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[ORGANIZATION_ID]} - - - - - - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PID]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PIN]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[ZONING]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[ADDRESS_ID]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[LAND_AREA]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[TAKE_ID]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[EMPLOYEE_ORGANIZATION_NAME]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PERSON_ID]} - - - - - #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[ORGANIZATION_ID]} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PID]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PIN]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[ZONING]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[ADDRESS_ID]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[LAND_AREA]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[TAKE_ID]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} - - - - - - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PID]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PIN]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[ZONING]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[ADDRESS_ID]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[LAND_AREA]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[TAKE_ID]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PID]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PIN]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[ZONING]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[ADDRESS_ID]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[LAND_AREA]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[TAKE_ID]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} - - - - - - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PID]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PIN]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[ZONING]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[ADDRESS_ID]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[LAND_AREA]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[TAKE_ID]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PID]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PIN]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[ZONING]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[ADDRESS_ID]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[LAND_AREA]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[TAKE_ID]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[EMPLOYEE_ORGANIZATION_NAME]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[ORGANIZATION_ID]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PERSON_ID]} - - - - - - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PID]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PIN]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[ZONING]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[FILE_NUMBER]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[ADDRESS_ID]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[REGION_CODE]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[LAND_AREA]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[TAKE_ID]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[EMPLOYEE_ORGANIZATION_NAME]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PERSON_ID]} - - - - - #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[ORGANIZATION_ID]} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "RESIDNT" - "RESIDNT" - - - - - (DT_UI2)1 - (DT_UI2)1 - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[PROPERTY_ID]} - PROPERTY_ID - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - "place_holder" - "place_holder" - - - - - (DT_UI2)1 - (DT_UI2)1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Property Addresses\Deduplicate.Outputs[Sort Output].Columns[REGION_NO]} - false - - - - - #{Package\Load Property Addresses\Deduplicate.Outputs[Sort Output].Columns[DISTRICT_NO]} - false - - - - - #{Package\Load Property Addresses\Deduplicate.Outputs[Sort Output].Columns[CIVIC_ADDRESS]} - false - - - - - #{Package\Load Property Addresses\Deduplicate.Outputs[Sort Output].Columns[CITY]} - false - - - - - #{Package\Load Property Addresses\Deduplicate.Outputs[Sort Output].Columns[COUNTRY_ID]} - false - - - - - #{Package\Load Property Addresses\Deduplicate.Outputs[Sort Output].Columns[PROVINCE_STATE_ID]} - false - - - - - - - - - - - - - - - - - true - -1 - - - - - - - 0 - 1 - - - - - 0 - 2 - - - - - 0 - 3 - - - - - 0 - 4 - - - - - 0 - 5 - - - - - 0 - 6 - - - - - 0 - 7 - - - - - 0 - 8 - - - - - 0 - 9 - - - - - 0 - 10 - - - - - 0 - 11 - - - - - 0 - 12 - - - - - 0 - 13 - - - - - 0 - 14 - - - - - 0 - 15 - - - - - 0 - 16 - - - - - 0 - 17 - - - - - 0 - 18 - - - - - 0 - 19 - - - - - 0 - 20 - - - - - 0 - 21 - - - - - 0 - 22 - - - - - - - - - - - - #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[PROPERTY_ID]} - - - - - #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[REGION_NO]} - - - - - #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[DISTRICT_NO]} - - - - - #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[DESCRIPTION]} - - - - - #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[FULL_LEGAL_DESCRIPTION]} - - - - - #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[FILE_NUMBER]} - - - - - #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[FILE_NUMBER_SUFFIX]} - - - - - #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[PID_NO]} - - - - - #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[PIN]} - - - - - #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[CIVIC_ADDRESS]} - - - - - #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[CITY]} - - - - - #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[PROPERTY_TENURE_TYPE_CODE]} - - - - - #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[COMMENTS]} - - - - - #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[LAND_USE_DESCRIPTION]} - - - - - #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[ACTUAL_LAND_USE_CODE]} - - - - - #{Package\Load Property Addresses\Audit Trail.Outputs[Derived Column Output].Columns[ADDRESS_USAGE_TYPE_CODE]} - - - - - #{Package\Load Property Addresses\Audit Trail.Outputs[Derived Column Output].Columns[COUNTRY_ID]} - - - - - #{Package\Load Property Addresses\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]} - - - - - #{Package\Load Property Addresses\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} - - - - - #{Package\Load Property Addresses\Audit Trail.Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USERID]} - - - - - #{Package\Load Property Addresses\Audit Trail.Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]} - - - - - #{Package\Load Property Addresses\Audit Trail.Outputs[Derived Column Output].Columns[PROVINCE_STATE_ID]} - - - - - - - - - - - - - - - - - - - - - - - [GETDATE]() - GETDATE() - - - - - "Load Property Addresses" - "Load Property Addresses" - - - - - "PIMS_ADDRESS" - "PIMS_ADDRESS" - - - - - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - - - - "CIVIC_ADDRESS: " + #{Package\Load Property Addresses\Deduplicate.Outputs[Sort Output].Columns[CIVIC_ADDRESS]} + " APP_CREATE_USER_DIRECTORY: " + (DT_WSTR,10)#{Package\Load Property Addresses\Deduplicate.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]} - "CIVIC_ADDRESS: " + CIVIC_ADDRESS + " APP_CREATE_USER_DIRECTORY: " + (DT_WSTR,10)APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [GETDATE]() - GETDATE() - - - - - "Load Property Addresses" - "Load Property Addresses" - - - - - "PIMS_ADDRESS" - "PIMS_ADDRESS" - - - - - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - - - - "CIVIC_ADDRESS: " + #{Package\Load Property Addresses\Deduplicate.Outputs[Sort Output].Columns[CIVIC_ADDRESS]} + " APP_CREATE_USER_DIRECTORY: " + (DT_WSTR,10)#{Package\Load Property Addresses\Deduplicate.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]} - "CIVIC_ADDRESS: " + CIVIC_ADDRESS + " APP_CREATE_USER_DIRECTORY: " + (DT_WSTR,10)APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [dbo].[PIMS_ADDRESS] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS,ROWS_PER_BATCH = 1 - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_ADDRESS] - select * from (select * from [dbo].[PIMS_ADDRESS]) [refTable] -where [refTable].[REGION_CODE] = ? and [refTable].[DISTRICT_CODE] = ? and [refTable].[STREET_ADDRESS_1] = ? and [refTable].[MUNICIPALITY_NAME] = ? and [refTable].[COUNTRY_ID] = ? and [refTable].[PROVINCE_STATE_ID] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_1" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_2" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_3" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPALITY_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="POSTAL_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="OTHER_COUNTRY" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="LATITUDE" dataType="DT_NUMERIC" length="0" precision="8" scale="6" codePage="0"/><referenceColumn name="LONGITUDE" dataType="DT_NUMERIC" length="0" precision="9" scale="6" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Property Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of REGION_NO]};#{Package\Load Property Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of DISTRICT_NO]};#{Package\Load Property Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of CIVIC_ADDRESS]};#{Package\Load Property Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of CITY]};#{Package\Load Property Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of COUNTRY_ID]};#{Package\Load Property Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of PROVINCE_STATE_ID]}; - 1252 - false - - - - - - - - - - MUNICIPALITY_NAME - - - - - - STREET_ADDRESS_1 - - - - - - REGION_CODE - - - - - - DISTRICT_CODE - - - - - - COUNTRY_ID - - - - - - PROVINCE_STATE_ID - - - - - - - - - - - - - - - - - - - - - - - - - - select REGION_CODE,DISTRICT_CODE,PROVINCE_STATE_ID,COUNTRY_ID,STREET_ADDRESS_1,MUNICIPALITY_NAME from pims_address - select * from (select REGION_CODE,DISTRICT_CODE,PROVINCE_STATE_ID,COUNTRY_ID,STREET_ADDRESS_1,MUNICIPALITY_NAME from pims_address) [refTable] -where [refTable].[REGION_CODE] = ? and [refTable].[DISTRICT_CODE] = ? and [refTable].[STREET_ADDRESS_1] = ? and [refTable].[MUNICIPALITY_NAME] = ? and [refTable].[COUNTRY_ID] = ? and [refTable].[PROVINCE_STATE_ID] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_1" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPALITY_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Property Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of REGION_NO]};#{Package\Load Property Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of DISTRICT_NO]};#{Package\Load Property Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of CIVIC_ADDRESS]};#{Package\Load Property Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of CITY]};#{Package\Load Property Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of COUNTRY_ID]};#{Package\Load Property Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of PROVINCE_STATE_ID]}; - 1252 - false - - - - - - - - - - REGION_CODE - - - - - - DISTRICT_CODE - - - - - - PROVINCE_STATE_ID - - - - - - COUNTRY_ID - - - - - - STREET_ADDRESS_1 - - - - - - MUNICIPALITY_NAME - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - "APP_PAM"."PAM_PROPERTY" - - - - 1252 - false - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - Update PIMS_ADDRESS -set region_code=?, -district_code=?, -province_state_id=?, -country_id=?, -street_address_1=?, -municipality_name=? - 1252 - - - - - - - - - - - - - - - - - - 81 - - - - - 81 - - - - - 81 - - - - - 81 - - - - - 65 - - - - - 65 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - (DT_WSTR,12)#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} - (DT_WSTR,12)PROPERTY_EMPLOYEE_ID - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - "place_holder" - "place_holder" - - - - - (DT_WSTR,50)"" - (DT_WSTR,50)"" - - - - - - - - - - - - - - - - - - - - - - - - - - (DT_I2)1 - (DT_I2)1 - - - - - (DT_I2)1 - (DT_I2)1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Property Employee Address\PAM_PROPERTY_EMPLOYEE.Outputs[OLE DB Source Output].Columns[PROVINCE]} - false - - - - - #{Package\Load Property Employee Address\PAM_PROPERTY_EMPLOYEE.Outputs[OLE DB Source Output].Columns[ADDRESS_LINE_1]} - false - - - - - #{Package\Load Property Employee Address\PAM_PROPERTY_EMPLOYEE.Outputs[OLE DB Source Output].Columns[ADDRESS_LINE_2]} - false - - - - - #{Package\Load Property Employee Address\PAM_PROPERTY_EMPLOYEE.Outputs[OLE DB Source Output].Columns[CITY]} - false - - - - - #{Package\Load Property Employee Address\PAM_PROPERTY_EMPLOYEE.Outputs[OLE DB Source Output].Columns[POSTAL_CODE]} - false - - - - - #{Package\Load Property Employee Address\PAM_PROPERTY_EMPLOYEE.Outputs[OLE DB Source Output].Columns[REGION_NO]} - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [GETDATE]() - GETDATE() - - - - - "Load Property Employee Address" - "Load Property Employee Address" - - - - - "PIMS_ADDRESS" - "PIMS_ADDRESS" - - - - - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - - - - "PROPERTY_EMPLOYEE_ID: " + (DT_WSTR,10)#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Property Employee Address\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} - "PROPERTY_EMPLOYEE_ID: " + (DT_WSTR,10)PROPERTY_EMPLOYEE_ID + " APP_CREATE_USER_DIRECTORY: " + APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [GETDATE]() - GETDATE() - - - - - "Load Property Employee Address" - "Load Property Employee Address" - - - - - "PIMS_ADDRESS" - "PIMS_ADDRESS" - - - - - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - - - - "PROPERTY_EMPLOYEE_ID: " + (DT_WSTR,10)#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Property Employee Address\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} - "PROPERTY_EMPLOYEE_ID: " + (DT_WSTR,10)PROPERTY_EMPLOYEE_ID + " APP_CREATE_USER_DIRECTORY: " + APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_ADDRESS] - select * from (select * from [dbo].[PIMS_ADDRESS]) [refTable] -where [refTable].[STREET_ADDRESS_1] = ? and [refTable].[STREET_ADDRESS_2] = ? and [refTable].[MUNICIPALITY_NAME] = ? and [refTable].[POSTAL_CODE] = ? and [refTable].[REGION_CODE] = ? and [refTable].[PROVINCE_STATE_ID] = ? and [refTable].[COUNTRY_ID] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[STREET_ADDRESS_3] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_1" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_2" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_3" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPALITY_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="POSTAL_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="OTHER_COUNTRY" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="LATITUDE" dataType="DT_NUMERIC" length="0" precision="8" scale="6" codePage="0"/><referenceColumn name="LONGITUDE" dataType="DT_NUMERIC" length="0" precision="9" scale="6" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICDODE_STREET_ADDRESS__1]};#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_2]};#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_MUNICIPALITY_NAME]};#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_POSTAL_CODE]};#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_REGION_NO]};#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]};#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[COUNTRY_ID]};#{Package\Load Property Employee Address\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]};#{Package\Load Property Employee Address\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[UNICODE_STREET_ADDRESS_LINE3]}; - 1252 - false - - - - - - - - - - PROVINCE_STATE_ID - - - - - - COUNTRY_ID - - - - - - STREET_ADDRESS_1 - - - - - - STREET_ADDRESS_2 - - - - - - MUNICIPALITY_NAME - - - - - - POSTAL_CODE - - - - - - STREET_ADDRESS_3 - - - - - - APP_CREATE_USER_DIRECTORY - - - - - - REGION_CODE - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_ADDRESS] - select * from (select * from [dbo].[PIMS_ADDRESS]) [refTable] -where [refTable].[STREET_ADDRESS_1] = ? and [refTable].[STREET_ADDRESS_2] = ? and [refTable].[MUNICIPALITY_NAME] = ? and [refTable].[POSTAL_CODE] = ? and [refTable].[REGION_CODE] = ? and [refTable].[PROVINCE_STATE_ID] = ? and [refTable].[COUNTRY_ID] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[STREET_ADDRESS_3] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_1" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_2" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_3" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPALITY_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="POSTAL_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="OTHER_COUNTRY" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="LATITUDE" dataType="DT_NUMERIC" length="0" precision="8" scale="6" codePage="0"/><referenceColumn name="LONGITUDE" dataType="DT_NUMERIC" length="0" precision="9" scale="6" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICDODE_STREET_ADDRESS__1]};#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_2]};#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_MUNICIPALITY_NAME]};#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_POSTAL_CODE]};#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_REGION_NO]};#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]};#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[COUNTRY_ID]};#{Package\Load Property Employee Address\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]};#{Package\Load Property Employee Address\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[UNICODE_STREET_ADDRESS_LINE3]}; - 1252 - false - - - - - - - - - - STREET_ADDRESS_1 - - - - - - STREET_ADDRESS_2 - - - - - - MUNICIPALITY_NAME - - - - - - POSTAL_CODE - - - - - - REGION_CODE - - - - - - COUNTRY_ID - - - - - - APP_CREATE_USER_DIRECTORY - - - - - - PROVINCE_STATE_ID - - - - - - STREET_ADDRESS_3 - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - Update PIMS_ADDRESS -set REGION_CODE=?, -province_state_id=?, -country_id=?, -street_address_1=?, -STREET_ADDRESS_2=?, -STREET_ADDRESS_3=?, -municipality_name=?, -POSTAL_CODE=? -where APP_CREATE_USER_DIRECTORY=? - 1252 - - - - - - - - - - - - - - - - - - - - - 81 - - - - - 81 - - - - - 81 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - - - - - - - - - - - - - - - - - 0 - "APP_PAM"."PAM_PROPERTY_EMPLOYEE" - - - - 1252 - true - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [dbo].[PIMS_ADDRESS] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_PROVINCE_STATE] - select * from (select * from [dbo].[PIMS_PROVINCE_STATE]) [refTable] -where [refTable].[PROVINCE_STATE_CODE] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISPLAY_ORDER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Property Employee Address\Data Conversion.Outputs[Data Conversion Output].Columns[UNICODE_PROVINCE]}; - 1252 - false - - - - - - - - - - PROVINCE_STATE_CODE - - - - - - - - - - - - - PROVINCE_STATE_ID - - - - - COUNTRY_ID - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[REGION_NO]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[PROVINCE]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_1]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_2]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[CITY]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[POSTAL_CODE]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICDODE_STREET_ADDRESS__1]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_2]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_MUNICIPALITY_NAME]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_POSTAL_CODE]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_REGION_NO]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[COUNTRY_ID]} - - - - - - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[REGION_NO]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[PROVINCE]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_1]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_2]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[CITY]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[POSTAL_CODE]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICDODE_STREET_ADDRESS__1]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_2]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_MUNICIPALITY_NAME]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_POSTAL_CODE]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_REGION_NO]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]} - - - - - #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[COUNTRY_ID]} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - (DT_WSTR,10)#{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} - (DT_WSTR,10)PROPERTY_EMPLOYEE_ID - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - "place_holder" - "place_holder" - - - - - - - - - - - - - - - - - - - - - - - - - - "FAX" - "FAX" - - - - - - - - - - - - - - - - - - - - - - - - - - "WORKPHONE" - "WORKPHONE" - - - - - - - - - - - - - - - - - - - - - - - - - - "PERSPHONE" - "PERSPHONE" - - - - - - - - - - - - - - - - - - - - - - - - - - "WORKEMAIL" - "WORKEMAIL" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[PHONE_NO]} - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[FAX_NO]} - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]} - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]} - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} - false - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} - false - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - false - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[COMPANY_NAME]} - false - - - - - #{Package\Load Property Employee Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USERID]} - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [GETDATE]() - GETDATE() - - - - - "Load Property Employee Person Contact Method" - "Load Property Employee Person Contact Method" - - - - - "PIMS_CONTACT_METHOD FOR PERSON" - "PIMS_CONTACT_METHOD FOR PERSON" - - - - - "PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" - - - - - #{Package\Load Property Employee Contact Method\Insert PIMS_CONTACT_METHOD FOR PERSON.Outputs[OLE DB Destination Error Output].Columns[ErrorCode]} - ErrorCode - - - - - #{Package\Load Property Employee Contact Method\Insert PIMS_CONTACT_METHOD FOR PERSON.Outputs[OLE DB Destination Error Output].Columns[ErrorColumn]} - ErrorColumn - - - - - "FIRST_NAME" + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} + "SURNAME: " + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} + "APP_CREATE_USER_DIRECTORY" + #{Package\Load Property Employee Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]} + " PERSON_ID: " + (DT_WSTR,25)#{Package\Load Property Employee Contact Method\PERSON ID.Outputs[Lookup Match Output].Columns[PERSON_ID]} - "FIRST_NAME" + FIRST_NAME + "SURNAME: " + SURNAME + "APP_CREATE_USER_DIRECTORY" + AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY + " PERSON_ID: " + (DT_WSTR,25)PERSON_ID - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [GETDATE]() - GETDATE() - - - - - "Load Property Employee Organization Contact Method" - "Load Property Employee Organization Contact Method" - - - - - "PIMS_CONTACT_METHOD FOR ORGANIZATION" - "PIMS_CONTACT_METHOD FOR ORGANIZATION" - - - - - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - - - - "ORGANIZATION NAME: " + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[COMPANY_NAME]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Property Employee Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]} + " ORGANIZATION_ID: " + (DT_WSTR,10)#{Package\Load Property Employee Contact Method\ORGANIZATION ID.Outputs[Lookup Match Output].Columns[ORGANIZATION_ID]} - "ORGANIZATION NAME: " + COMPANY_NAME + " APP_CREATE_USER_DIRECTORY: " + AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY + " ORGANIZATION_ID: " + (DT_WSTR,10)ORGANIZATION_ID - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [GETDATE]() - GETDATE() - - - - - "Load Property Employee Organization Contact Method" - "Load Property Employee Organization Contact Method" - - - - - "PIMS_CONTACT_METHOD FOR ORGANIZATION" - "PIMS_CONTACT_METHOD FOR ORGANIZATION" - - - - - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - - - - "ORGANIZATION NAME: " + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[COMPANY_NAME]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Property Employee Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]} + " ORGANIZATION_ID: " + (DT_WSTR,10)#{Package\Load Property Employee Contact Method\ORGANIZATION ID.Outputs[Lookup Match Output].Columns[ORGANIZATION_ID]} - "ORGANIZATION NAME: " + COMPANY_NAME + " APP_CREATE_USER_DIRECTORY: " + AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY + " ORGANIZATION_ID: " + (DT_WSTR,10)ORGANIZATION_ID - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [GETDATE]() - GETDATE() - - - - - "Load Property Employee Person Contact Method" - "Load Property Employee Person Contact Method" - - - - - "PIMS_CONTACT_METHOD FOR PERSON" - "PIMS_CONTACT_METHOD FOR PERSON" - - - - - "PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" - - - - - #{Package\Load Property Employee Contact Method\Update PIMS_CONTACT_METHOD.Outputs[OLE DB Command Error Output].Columns[ErrorCode]} - ErrorCode - - - - - #{Package\Load Property Employee Contact Method\Update PIMS_CONTACT_METHOD.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]} - ErrorColumn - - - - - "FIRST_NAME" + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} + "SURNAME: " + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} + "APP_CREATE_USER_DIRECTORY" + #{Package\Load Property Employee Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]} + " PERSON_ID: " + (DT_WSTR,25)#{Package\Load Property Employee Contact Method\PERSON ID.Outputs[Lookup Match Output].Columns[PERSON_ID]} - "FIRST_NAME" + FIRST_NAME + "SURNAME: " + SURNAME + "APP_CREATE_USER_DIRECTORY" + AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY + " PERSON_ID: " + (DT_WSTR,25)PERSON_ID - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [dbo].[PIMS_CONTACT_METHOD] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [dbo].[PIMS_CONTACT_METHOD] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ![ISNULL](#{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[COMPANY_NAME]}) - !ISNULL(ORGANIZATION_NAME) - 0 - - - - - - true - - - - - - - - - - - - - - - - - - - - - - - - - - ![ISNULL](#{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]}) || ![ISNULL](#{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]}) - !ISNULL(SURNAME) || !ISNULL(FIRST_NAME) - 0 - - - - - - true - - - - - - - - - - - - - - - select * from [dbo].[PIMS_CONTACT_METHOD] - select * from (select * from [dbo].[PIMS_CONTACT_METHOD]) [refTable] -where [refTable].[CONTACT_METHOD_VALUE] = ? and [refTable].[CONTACT_METHOD_TYPE_CODE] = ? and [refTable].[PERSON_ID] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="CONTACT_METHOD_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_VALUE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PREFERRED_METHOD" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]};#{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]};#{Package\Load Property Employee Contact Method\PERSON ID.Outputs[Lookup Match Output].Columns[PERSON_ID]}; - 1252 - false - - - - - - - - - - CONTACT_METHOD_VALUE - - - - - - CONTACT_METHOD_TYPE_CODE - - - - - - PERSON_ID - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_CONTACT_METHOD] - select * from (select * from [dbo].[PIMS_CONTACT_METHOD]) [refTable] -where [refTable].[CONTACT_METHOD_TYPE_CODE] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[CONTACT_METHOD_VALUE] = ? and [refTable].[PERSON_ID] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="CONTACT_METHOD_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_VALUE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PREFERRED_METHOD" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Property Employee Contact Method\2866:invalid};#{Package\Load Property Employee Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]};#{Package\Load Property Employee Contact Method\2867:invalid};#{Package\Load Property Employee Contact Method\PERSON ID.Outputs[Lookup Match Output].Columns[PERSON_ID]}; - 1252 - false - - - - - - - - - - PERSON_ID - - - - - - APP_CREATE_USER_DIRECTORY - - - - - - CONTACT_METHOD_TYPE_CODE - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_CONTACT_METHOD] - select * from (select * from [dbo].[PIMS_CONTACT_METHOD]) [refTable] -where [refTable].[CONTACT_METHOD_VALUE] = ? and [refTable].[CONTACT_METHOD_TYPE_CODE] = ? and [refTable].[ORGANIZATION_ID] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="CONTACT_METHOD_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_VALUE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PREFERRED_METHOD" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]};#{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]};#{Package\Load Property Employee Contact Method\ORGANIZATION ID.Outputs[Lookup Match Output].Columns[ORGANIZATION_ID]}; - 1252 - false - - - - - - - - - - CONTACT_METHOD_VALUE - - - - - - CONTACT_METHOD_TYPE_CODE - - - - - - ORGANIZATION_ID - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_CONTACT_METHOD] - select * from (select * from [dbo].[PIMS_CONTACT_METHOD]) [refTable] -where [refTable].[CONTACT_METHOD_TYPE_CODE] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[CONTACT_METHOD_VALUE] = ? and [refTable].[ORGANIZATION_ID] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="CONTACT_METHOD_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_VALUE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PREFERRED_METHOD" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Property Employee Contact Method\2866:invalid};#{Package\Load Property Employee Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]};#{Package\Load Property Employee Contact Method\2867:invalid};#{Package\Load Property Employee Contact Method\ORGANIZATION ID.Outputs[Lookup Match Output].Columns[ORGANIZATION_ID]}; - 1252 - false - - - - - - - - - - ORGANIZATION_ID - - - - - - APP_CREATE_USER_DIRECTORY - - - - - - CONTACT_METHOD_TYPE_CODE - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_ORGANIZATION] - select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] -where [refTable].[APP_CREATE_USERID] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PRNT_ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORG_IDENTIFIER_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_IDENTIFIER" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ALIAS" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="INCORPORATION_NUMBER" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="WEBSITE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Property Employee Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USERID]};#{Package\Load Property Employee Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]}; - 1252 - false - - - - - - - - - - APP_CREATE_USER_DIRECTORY - - - - - - APP_CREATE_USERID - - - - - - - - - - - - - ORGANIZATION_ID - - - - - - - - - - - - - - - - - - - - 0 - - - SELECT * -FROM APP_PAM.PAM_PROPERTY_EMPLOYEE -WHERE CELL_PHONE_NUMBER IS NOT NULL - - 1252 - true - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - "APP_PAM_MASKED"."PAM_INTEREST_HOLDER" - - SELECT * -FROM APP_PAM.PAM_PROPERTY_EMPLOYEE -WHERE EMAIL_ADDRESS IS NOT NULL - - 1252 - true - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - "APP_PAM"."PAM_INTEREST_HOLDER" - - SELECT * -FROM APP_PAM.PAM_PROPERTY_EMPLOYEE -WHERE FAX_NO IS NOT NULL - - 1252 - true - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - "APP_PAM"."PAM_INTEREST_HOLDER" - - SELECT * -FROM APP_PAM.PAM_PROPERTY_EMPLOYEE -WHERE PHONE_NO IS NOT NULL - - 1252 - true - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_PERSON] - select * from (select * from [dbo].[PIMS_PERSON]) [refTable] -where [refTable].[APP_CREATE_USERID] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURNAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="FIRST_NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="MIDDLE_NAMES" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME_SUFFIX" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="PREFERRED_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="BIRTH_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="USE_ORGANIZATION_ADDRESS" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Property Employee Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USERID]};#{Package\Load Property Employee Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]}; - 1252 - false - - - - - - - - - - APP_CREATE_USER_DIRECTORY - - - - - - APP_CREATE_USERID - - - - - - - - - - - - - PERSON_ID - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) == 0) ? [TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",1))) - (FINDSTRING(TRIM(NAME)," ",1) == 0) ? TRIM(NAME) : (SUBSTRING(TRIM(NAME),1,FINDSTRING(TRIM(NAME)," ",1))) - - - - - ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",2)) != 0 ? ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]}),([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1),(([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",2)) - ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1)))) : "" - (FINDSTRING(TRIM(NAME)," ",2)) != 0 ? (SUBSTRING(TRIM(NAME),(FINDSTRING(TRIM(NAME)," ",1) + 1),((FINDSTRING(TRIM(NAME)," ",2)) - (FINDSTRING(TRIM(NAME)," ",1) + 1)))) : "" - - - - - ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]}),[FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1,[LEN](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]}),[FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",2) + 1,[LEN](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]}))) - (FINDSTRING(TRIM(NAME)," ",2) == 0) ? (SUBSTRING(TRIM(NAME),FINDSTRING(TRIM(NAME)," ",1) + 1,LEN(NAME))) : (SUBSTRING(TRIM(NAME),FINDSTRING(TRIM(NAME)," ",2) + 1,LEN(NAME))) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) == 0) ? [TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",1))) - (FINDSTRING(TRIM(NAME)," ",1) == 0) ? TRIM(NAME) : (SUBSTRING(TRIM(NAME),1,FINDSTRING(TRIM(NAME)," ",1))) - - - - - ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",2)) != 0 ? ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]}),([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1),(([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",2)) - ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1)))) : "" - (FINDSTRING(TRIM(NAME)," ",2)) != 0 ? (SUBSTRING(TRIM(NAME),(FINDSTRING(TRIM(NAME)," ",1) + 1),((FINDSTRING(TRIM(NAME)," ",2)) - (FINDSTRING(TRIM(NAME)," ",1) + 1)))) : "" - - - - - ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]}),[FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1,[LEN](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]}),[FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",2) + 1,[LEN](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]}))) - (FINDSTRING(TRIM(NAME)," ",2) == 0) ? (SUBSTRING(TRIM(NAME),FINDSTRING(TRIM(NAME)," ",1) + 1,LEN(NAME))) : (SUBSTRING(TRIM(NAME),FINDSTRING(TRIM(NAME)," ",2) + 1,LEN(NAME))) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) == 0) ? [TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]})," ",1))) - (FINDSTRING(TRIM(NAME)," ",1) == 0) ? TRIM(NAME) : (SUBSTRING(TRIM(NAME),1,FINDSTRING(TRIM(NAME)," ",1))) - - - - - ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]})," ",2)) != 0 ? ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]}),([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1),(([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]})," ",2)) - ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1)))) : "" - (FINDSTRING(TRIM(NAME)," ",2)) != 0 ? (SUBSTRING(TRIM(NAME),(FINDSTRING(TRIM(NAME)," ",1) + 1),((FINDSTRING(TRIM(NAME)," ",2)) - (FINDSTRING(TRIM(NAME)," ",1) + 1)))) : "" - - - - - ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]}),[FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1,[LEN](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]}),[FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]})," ",2) + 1,[LEN](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]}))) - (FINDSTRING(TRIM(NAME)," ",2) == 0) ? (SUBSTRING(TRIM(NAME),FINDSTRING(TRIM(NAME)," ",1) + 1,LEN(NAME))) : (SUBSTRING(TRIM(NAME),FINDSTRING(TRIM(NAME)," ",2) + 1,LEN(NAME))) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) == 0) ? [TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]})," ",1))) - (FINDSTRING(TRIM(NAME)," ",1) == 0) ? TRIM(NAME) : (SUBSTRING(TRIM(NAME),1,FINDSTRING(TRIM(NAME)," ",1))) - - - - - ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]})," ",2)) != 0 ? ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]}),([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1),(([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]})," ",2)) - ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1)))) : "" - (FINDSTRING(TRIM(NAME)," ",2)) != 0 ? (SUBSTRING(TRIM(NAME),(FINDSTRING(TRIM(NAME)," ",1) + 1),((FINDSTRING(TRIM(NAME)," ",2)) - (FINDSTRING(TRIM(NAME)," ",1) + 1)))) : "" - - - - - ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]}),[FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1,[LEN](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]}),[FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]})," ",2) + 1,[LEN](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]}))) - (FINDSTRING(TRIM(NAME)," ",2) == 0) ? (SUBSTRING(TRIM(NAME),FINDSTRING(TRIM(NAME)," ",1) + 1,LEN(NAME))) : (SUBSTRING(TRIM(NAME),FINDSTRING(TRIM(NAME)," ",2) + 1,LEN(NAME))) - - - - - - - - - - - - - - - - - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[REGION_NO]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[ACTIVE_FLAG]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_1]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_2]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[NAME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[PHONE_NO]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[POSITION_TITLE]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[COMPANY_NAME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[REGION_NO]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[ACTIVE_FLAG]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_1]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_2]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[NAME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[PHONE_NO]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[POSITION_TITLE]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[COMPANY_NAME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} - - - - - - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[REGION_NO]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[ACTIVE_FLAG]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_1]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_2]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[NAME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[PHONE_NO]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[POSITION_TITLE]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[COMPANY_NAME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} - - - - - - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[REGION_NO]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[ACTIVE_FLAG]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_1]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_2]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[NAME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[PHONE_NO]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[POSITION_TITLE]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[COMPANY_NAME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - update PIMS_CONTACT_METHOD -set CONTACT_METHOD_TYPE_CODE=?, -PERSON_ID=?, -CONTACT_METHOD_VALUE=? -where APP_CREATE_USER_DIRECTORY=? - 1252 - - - - - - - - - - - - - - - - 65 - - - - - 81 - - - - - 65 - - - - - 65 - - - - - - - - - - - - - - - - - - - - - 0 - update PIMS_CONTACT_METHOD -set CONTACT_METHOD_TYPE_CODE=?, -ORGANIZATION_ID=?, -CONTACT_METHOD_VALUE=? -where APP_CREATE_USER_DIRECTORY=? - 1252 - - - - - - - - - - - - - - - - 65 - - - - - 81 - - - - - 65 - - - - - 65 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of PROPERTY_EMPLOYEE_ID]} - [Copy of PROPERTY_EMPLOYEE_ID] - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - "place_holder" - "place_holder" - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - "APP_PIMS_PROXY_ETL_EDIT" - "APP_PIMS_PROXY_ETL_EDIT" - - - - - - - - - - - - - - - - - - - - - - - - - - (DT_I2)1 - (DT_I2)1 - - - - - (DT_I2)1 - (DT_I2)1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]} - false - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]} - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Property Employee Persons and Organizations 3\OLE DB Source.Outputs[OLE DB Source Output].Columns[PROVINCE]} - false - - - - - #{Package\Load Property Employee Persons and Organizations 3\OLE DB Source.Outputs[OLE DB Source Output].Columns[ADDRESS_LINE_1]} - false - - - - - #{Package\Load Property Employee Persons and Organizations 3\OLE DB Source.Outputs[OLE DB Source Output].Columns[ADDRESS_LINE_2]} - false - - - - - #{Package\Load Property Employee Persons and Organizations 3\OLE DB Source.Outputs[OLE DB Source Output].Columns[POSITION_TITLE]} - false - - - - - #{Package\Load Property Employee Persons and Organizations 3\Surname,FirstName,MiddleName.Outputs[Derived Column Output].Columns[FIRST_NAME]} - false - - - - - #{Package\Load Property Employee Persons and Organizations 3\Surname,FirstName,MiddleName.Outputs[Derived Column Output].Columns[MIDDLE_NAME]} - false - - - - - #{Package\Load Property Employee Persons and Organizations 3\Surname,FirstName,MiddleName.Outputs[Derived Column Output].Columns[SURNAME]} - false - - - - - #{Package\Load Property Employee Persons and Organizations 3\OLE DB Source.Outputs[OLE DB Source Output].Columns[CITY]} - false - - - - - #{Package\Load Property Employee Persons and Organizations 3\OLE DB Source.Outputs[OLE DB Source Output].Columns[REGION_NO]} - false - - - - - #{Package\Load Property Employee Persons and Organizations 3\OLE DB Source.Outputs[OLE DB Source Output].Columns[PROPERTY_EMPLOYEE_ID]} - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [GETDATE]() - GETDATE() - - - - - "Load Property Employee Persons and Organizations" - "Load Property Employee Persons and Organizations" - - - - - "PIMS_PERSON" - "PIMS_PERSON" - - - - - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - - - - "FIRST_NAME " + #{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[FIRST_NAME]} + "SurName: " + #{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[SURNAME]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]} - "FIRST_NAME " + FIRST_NAME + "SurName: " + SURNAME + " APP_CREATE_USER_DIRECTORY: " + APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [GETDATE]() - GETDATE() - - - - - "Load Property Employee Persons and Organizations" - "Load Property Employee Persons and Organizations" - - - - - "PIMS_PERSON" - "PIMS_PERSON" - - - - - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - - - - "FIRST_NAME " + #{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[FIRST_NAME]} + "SurName: " + #{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[SURNAME]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]} - "FIRST_NAME " + FIRST_NAME + "SurName: " + SURNAME + " APP_CREATE_USER_DIRECTORY: " + APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [GETDATE]() - GETDATE() - - - - - "Load Property Employee Persons and Organizations" - "Load Property Employee Persons and Organizations" - - - - - "PIMS_PERSON" - "PIMS_PERSON" - - - - - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - - - - "ORGANIZATION_NAME " + #{Package\Load Property Employee Persons and Organizations 3\Sort 1.Outputs[Sort Output].Columns[ORGANIZATION_NAME]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Property Employee Persons and Organizations 3\Sort 1.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]} - "ORGANIZATION_NAME " + ORGANIZATION_NAME + " APP_CREATE_USER_DIRECTORY: " + APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [GETDATE]() - GETDATE() - - - - - "Load Property Employee Persons and Organizations" - "Load Property Employee Persons and Organizations" - - - - - "PIMS_PERSON" - "PIMS_PERSON" - - - - - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" - - - - - "ORGANIZATION_NAME " + #{Package\Load Property Employee Persons and Organizations 3\Sort 1.Outputs[Sort Output].Columns[ORGANIZATION_NAME]} + " APP_CREATE_USER_DIRECTORY: " + #{Package\Load Property Employee Persons and Organizations 3\Sort 1.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]} - "ORGANIZATION_NAME " + ORGANIZATION_NAME + " APP_CREATE_USER_DIRECTORY: " + APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [etl].[ETL_ERROR_LOG] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_ORGANIZATION] - select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] -where [refTable].[ORGANIZATION_NAME] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PRNT_ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORG_IDENTIFIER_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_IDENTIFIER" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ALIAS" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="INCORPORATION_NUMBER" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="WEBSITE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of COMPANY_NAME]};#{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of PROPERTY_EMPLOYEE_ID]}; - 1252 - false - - - - - - - - - - ORGANIZATION_NAME - - - - - - APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_PERSON] - select * from (select * from [dbo].[PIMS_PERSON]) [refTable] -where [refTable].[FIRST_NAME] = ? and [refTable].[SURNAME] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURNAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="FIRST_NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="MIDDLE_NAMES" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME_SUFFIX" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="PREFERRED_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="BIRTH_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="USE_ORGANIZATION_ADDRESS" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of FIRST_NAME]};#{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of SURNAME]};#{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of PROPERTY_EMPLOYEE_ID]}; - 1252 - false - - - - - - - - - - FIRST_NAME - - - - - - SURNAME - - - - - - APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of COMPANY_NAME]} - [Copy of COMPANY_NAME] - - - - - - - - - - - - - - - - - - - - - (DT_WSTR,50)[TRIM](#{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[FIRST_NAME]}) - (DT_WSTR,50)TRIM(FIRST_NAME) - - - - - (DT_WSTR,50)[TRIM](#{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[SURNAME]}) - (DT_WSTR,50)TRIM(SURNAME) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "OTHER" - "OTHER" - - - - - "OTHINCORPNO" - "OTHINCORPNO" - - - - - - - - - - - - - - - - - 0 - [dbo].[PIMS_PERSON] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ![ISNULL](#{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of COMPANY_NAME]}) && [LEN]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of COMPANY_NAME]})) > 0 - !ISNULL([Copy of COMPANY_NAME]) && LEN(TRIM([Copy of COMPANY_NAME])) > 0 - 0 - - - - - - true - - - - - - - - - - - - - - - - - - - - - - - - - - (![ISNULL](#{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]}) || ![ISNULL](#{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]})) && ([LEN]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]})) > 0 || [LEN]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]})) > 0) - (!ISNULL(SURNAME) || !ISNULL(FIRST_NAME)) && (LEN(TRIM(FIRST_NAME)) > 0 || LEN(TRIM(SURNAME)) > 0) - 0 - - - - - - true - - - - - - - - - - - - - - - select * from [dbo].[PIMS_PERSON] - select * from (select * from [dbo].[PIMS_PERSON]) [refTable] -where [refTable].[MIDDLE_NAMES] = ? and [refTable].[SURNAME] = ? and [refTable].[FIRST_NAME] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURNAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="FIRST_NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="MIDDLE_NAMES" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME_SUFFIX" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="PREFERRED_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="BIRTH_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="USE_ORGANIZATION_ADDRESS" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[MIDDLE_NAME]};#{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[Converting First_Name and Surname datatype.Copy of SURNAME]};#{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[Converting First_Name and Surname datatype.Copy of FIRST_NAME]}; - 1252 - false - - - - - - - - - - MIDDLE_NAMES - - - - - - SURNAME - - - - - - FIRST_NAME - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_PERSON] - select * from (select * from [dbo].[PIMS_PERSON]) [refTable] -where [refTable].[SURNAME] = ? and [refTable].[FIRST_NAME] = ? and [refTable].[MIDDLE_NAMES] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURNAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="FIRST_NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="MIDDLE_NAMES" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME_SUFFIX" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="PREFERRED_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="BIRTH_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="USE_ORGANIZATION_ADDRESS" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[SURNAME]};#{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[FIRST_NAME]};#{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[MIDDLE_NAME]};#{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]}; - 1252 - false - - - - - - - - - - SURNAME - - - - - - FIRST_NAME - - - - - - MIDDLE_NAMES - - - - - - APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_ORGANIZATION] - select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] -where [refTable].[ORGANIZATION_NAME] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PRNT_ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORG_IDENTIFIER_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_IDENTIFIER" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ALIAS" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="INCORPORATION_NUMBER" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="WEBSITE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Property Employee Persons and Organizations 3\Sort 1.Outputs[Sort Output].Columns[ORGANIZATION_NAME]}; - 1252 - false - - - - - - - - - - ORGANIZATION_NAME - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_ORGANIZATION] - select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] -where [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[ORGANIZATION_NAME] = ? and [refTable].[ORGANIZATION_TYPE_CODE] = ? and [refTable].[ORG_IDENTIFIER_TYPE_CODE] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PRNT_ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORG_IDENTIFIER_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_IDENTIFIER" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ALIAS" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="INCORPORATION_NUMBER" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="WEBSITE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Property Employee Persons and Organizations 3\Sort 1.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]};#{Package\Load Property Employee Persons and Organizations 3\Sort 1.Outputs[Sort Output].Columns[ORGANIZATION_NAME]};#{Package\Load Property Employee Persons and Organizations 3\Format PIMS_Organisation output column.Outputs[Derived Column Output].Columns[ORGANIZATION_TYPE_CODE]};#{Package\Load Property Employee Persons and Organizations 3\Format PIMS_Organisation output column.Outputs[Derived Column Output].Columns[ORGANIZATION_IDENTIFIER_TYPE_CODE]}; - 1252 - false - - - - - - - - - - ORGANIZATION_TYPE_CODE - - - - - - ORG_IDENTIFIER_TYPE_CODE - - - - - - ORGANIZATION_NAME - - - - - - APP_CREATE_USER_DIRECTORY - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - update PIMS_ORGANIZATION -set ORGANIZATION_TYPE_CODE=?, -ORG_IDENTIFIER_TYPE_CODE=?, -ORGANIZATION_NAME=? -where APP_CREATE_USER_DIRECTORY=? - 1252 - - - - - - - - - - - - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - - - - - - - - - - - - - - - - - 0 - PAM_PROPERTY_EMPLOYEE - - - - 1252 - false - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - [dbo].[PIMS_ORGANIZATION] - - - 1252 - false - 3 - false - false - TABLOCK,CHECK_CONSTRAINTS - 2147483647 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - select * from [dbo].[PIMS_PROVINCE_STATE] - select * from (select * from [dbo].[PIMS_PROVINCE_STATE]) [refTable] -where [refTable].[PROVINCE_STATE_CODE] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISPLAY_ORDER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Property Employee Persons and Organizations 3\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of PROVINCE]}; - 1252 - false - - - - - - - - - - PROVINCE_STATE_CODE - - - - - - - - - - - - - PROVINCE_STATE_ID - - - - - COUNTRY_ID - - - - - - - - - - - - - - - - - - - - true - -1 - - - - - - - 3 - 2 - - - - - 3 - 1 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - - - - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[ADDRESS_LINE_1]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[ADDRESS_LINE_2]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[CITY]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Audit Trail (and capture property employee id).Outputs[Derived Column Output].Columns[APP_CREATE_USERID]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Audit Trail (and capture property employee id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Audit Trail (and capture property employee id).Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USERID]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Audit Trail (and capture property employee id).Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Converting First_Name and Surname datatype.Outputs[Data Conversion Output].Columns[Copy of SURNAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Converting First_Name and Surname datatype.Outputs[Data Conversion Output].Columns[Copy of FIRST_NAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Audit Trail (and capture property employee id).Outputs[Derived Column Output].Columns[DB_CREATE_USERID]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Audit Trail (and capture property employee id).Outputs[Derived Column Output].Columns[DB_LAST_UPDATE_USERID]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} - - - - - - - - - - true - -1 - - - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 3 - 1 - - - - - - - - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[ADDRESS_LINE_1]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[ADDRESS_LINE_2]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[CITY]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Audit Trail (and capture property employee id).Outputs[Derived Column Output].Columns[APP_CREATE_USERID]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Audit Trail (and capture property employee id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Audit Trail (and capture property employee id).Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USERID]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Audit Trail (and capture property employee id).Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Audit Trail (and capture property employee id).Outputs[Derived Column Output].Columns[DB_CREATE_USERID]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Audit Trail (and capture property employee id).Outputs[Derived Column Output].Columns[DB_LAST_UPDATE_USERID]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[REGION_NO]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[ACTIVE_FLAG]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[FAX_NO]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[NAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PHONE_NO]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[POSITION_TITLE]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[POSTAL_CODE]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[CELL_PHONE_NUMBER]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[EMAIL_ADDRESS]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of PROVINCE]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of ADDRESS_LINE_1]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of ADDRESS_LINE_2]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of COMPANY_NAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of FIRST_NAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of MIDDLE_NAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of SURNAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of CITY]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of REGION_NO]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Format Organization_Name.Outputs[Derived Column Output].Columns[ORGANIZATION_NAME]} - - - - - - - - - - - - - - - - - - - - - - ([FINDSTRING]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\OLE DB Source.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) == 0) ? [TRIM](#{Package\Load Property Employee Persons and Organizations 3\OLE DB Source.Outputs[OLE DB Source Output].Columns[NAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\OLE DB Source.Outputs[OLE DB Source Output].Columns[NAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\OLE DB Source.Outputs[OLE DB Source Output].Columns[NAME]})," ",1))) - (FINDSTRING(TRIM(NAME)," ",1) == 0) ? TRIM(NAME) : (SUBSTRING(TRIM(NAME),1,FINDSTRING(TRIM(NAME)," ",1))) - - - - - ([FINDSTRING]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\OLE DB Source.Outputs[OLE DB Source Output].Columns[NAME]})," ",2)) != 0 ? ([SUBSTRING]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\OLE DB Source.Outputs[OLE DB Source Output].Columns[NAME]}),([FINDSTRING]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\OLE DB Source.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1),(([FINDSTRING]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\OLE DB Source.Outputs[OLE DB Source Output].Columns[NAME]})," ",2)) - ([FINDSTRING]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\OLE DB Source.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1)))) : "" - (FINDSTRING(TRIM(NAME)," ",2)) != 0 ? (SUBSTRING(TRIM(NAME),(FINDSTRING(TRIM(NAME)," ",1) + 1),((FINDSTRING(TRIM(NAME)," ",2)) - (FINDSTRING(TRIM(NAME)," ",1) + 1)))) : "" - - - - - ([FINDSTRING]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\OLE DB Source.Outputs[OLE DB Source Output].Columns[NAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\OLE DB Source.Outputs[OLE DB Source Output].Columns[NAME]}),[FINDSTRING]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\OLE DB Source.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1,[LEN](#{Package\Load Property Employee Persons and Organizations 3\OLE DB Source.Outputs[OLE DB Source Output].Columns[NAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\OLE DB Source.Outputs[OLE DB Source Output].Columns[NAME]}),[FINDSTRING]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\OLE DB Source.Outputs[OLE DB Source Output].Columns[NAME]})," ",2) + 1,[LEN](#{Package\Load Property Employee Persons and Organizations 3\OLE DB Source.Outputs[OLE DB Source Output].Columns[NAME]}))) - (FINDSTRING(TRIM(NAME)," ",2) == 0) ? (SUBSTRING(TRIM(NAME),FINDSTRING(TRIM(NAME)," ",1) + 1,LEN(NAME))) : (SUBSTRING(TRIM(NAME),FINDSTRING(TRIM(NAME)," ",2) + 1,LEN(NAME))) - - - - - - - - - - - - - - - - - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[REGION_NO]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[ACTIVE_FLAG]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[ADDRESS_LINE_1]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[ADDRESS_LINE_2]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[CITY]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[FAX_NO]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[NAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PHONE_NO]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[POSITION_TITLE]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[POSTAL_CODE]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[CELL_PHONE_NUMBER]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[EMAIL_ADDRESS]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of PROVINCE]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of ADDRESS_LINE_1]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of ADDRESS_LINE_2]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of COMPANY_NAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of FIRST_NAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of MIDDLE_NAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of SURNAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of CITY]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of REGION_NO]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of PROPERTY_EMPLOYEE_ID]} - - - - - - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[REGION_NO]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[ACTIVE_FLAG]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[ADDRESS_LINE_1]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[ADDRESS_LINE_2]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[CITY]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[FAX_NO]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[NAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PHONE_NO]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[POSITION_TITLE]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[POSTAL_CODE]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[CELL_PHONE_NUMBER]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[EMAIL_ADDRESS]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of PROVINCE]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of ADDRESS_LINE_1]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of ADDRESS_LINE_2]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of COMPANY_NAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of FIRST_NAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of MIDDLE_NAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of SURNAME]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of CITY]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of REGION_NO]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]} - - - - - #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of PROPERTY_EMPLOYEE_ID]} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - Update PIMS_PERSON -set FIRST_NAME=?, -MIDDLE_NAMES=?, -SURNAME=? -where APP_CREATE_USER_DIRECTORY=? - 1252 - - - - - - - - - - - - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OverwriteParamsSQLProp - false - - - - - - - DataSourceViewID - - - - - - - DataSourceViewID - - - - - - - DataSourceViewID - - - - - - - OverwriteParamsSQLProp - false - - - UsedTableName - [dbo].[PIMS_ADDRESS] - - - TableInfoObjectType - 0 - - - DataSourceViewID - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OverwriteParamsSQLProp - false - - - UsedTableName - [dbo].[PIMS_CONTACT_METHOD] - - - TableInfoObjectType - 0 - - - DataSourceViewID - - - - - - - OverwriteParamsSQLProp - false - - - UsedTableName - [dbo].[PIMS_CONTACT_METHOD] - - - TableInfoObjectType - 0 - - - DataSourceViewID - - - - - - - OverwriteParamsSQLProp - false - - - UsedTableName - [dbo].[PIMS_PERSON] - - - TableInfoObjectType - 0 - - - DataSourceViewID - - - - - - - DataSourceViewID - - - - - - - DataSourceViewID - - - - - - - DataSourceViewID - - - - - - - DataSourceViewID - - - - - - - DataSourceViewID - - - - - - - DataSourceViewID - - - TableInfoObjectType - Table - - - - - - - DataSourceViewID - - - - - - - DataSourceViewID - - - - - - - DataSourceViewID - - - - - - - DataSourceViewID - - - - - - - DataSourceViewID - - - - - - - DataSourceViewID - - - - - - - DataSourceViewID - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OverwriteParamsSQLProp - false - - - UsedTableName - [dbo].[PIMS_ACQUISITION_FILE] - - - TableInfoObjectType - 0 - - - DataSourceViewID - - - - - - - OverwriteParamsSQLProp - false - - - UsedTableName - [dbo].[PIMS_ACQUISITION_FILE] - - - TableInfoObjectType - 0 - - - DataSourceViewID - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OverwriteParamsSQLProp - false - - - UsedTableName - [dbo].[PIMS_ACQUISITION_FILE_PERSON] - - - TableInfoObjectType - 0 - - - DataSourceViewID - - - - - - - DataSourceViewID - - - TableInfoObjectType - Table - - - - - - - OverwriteParamsSQLProp - false - - - UsedTableName - [dbo].[PIMS_PERSON] - - - TableInfoObjectType - 0 - - - DataSourceViewID - - - - - - - OverwriteParamsSQLProp - false - - - UsedTableName - [dbo].[PIMS_ACQUISITION_FILE_PERSON] - - - TableInfoObjectType - 0 - - - DataSourceViewID - - - - - - - DataSourceViewID - - - TableInfoObjectType - Table - - - - - - - OverwriteParamsSQLProp - false - - - UsedTableName - [dbo].[PIMS_PERSON] - - - TableInfoObjectType - 0 - - - DataSourceViewID - - - - - - - OverwriteParamsSQLProp - false - - - UsedTableName - [dbo].[PIMS_ACQUISITION_FILE] - - - TableInfoObjectType - 0 - - - DataSourceViewID - - - - - - - DataSourceViewID - - - - - - - DataSourceViewID - - - - - - - DataSourceViewID - - - - - - - OverwriteParamsSQLProp - false - - - UsedTableName - [dbo].[PIMS_PERSON] - - - TableInfoObjectType - 0 - - - DataSourceViewID - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + 0 + 1 + + + + + 0 + 2 + + + + + 0 + 3 + + + + + 0 + 4 + + + + + 0 + 5 + + + + + 0 + 6 + + + + + 0 + 7 + + + + + 0 + 8 + + + + + 0 + 9 + + + + + 0 + 10 + + + + + 0 + 11 + + + + + 0 + 12 + + + + + 0 + 13 + + + + + 0 + 14 + + + + + 0 + 15 + + + + + 0 + 16 + + + + + 0 + 17 + + + + + 0 + 18 + + + + + 0 + 19 + + + + + 0 + 20 + + + + + 0 + 21 + + + + + 0 + 22 + + + + + 0 + 23 + + + + + 0 + 24 + + + + + 0 + 25 + + + + + 0 + 26 + + + + + 0 + 27 + + + + + 0 + 28 + + + + + 0 + 29 + + + + + 0 + 30 + + + + + 0 + 31 + + + + + 0 + 32 + + + + + 0 + 33 + + + + + + + + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PID]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PIN]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[ZONING]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[FILE_NUMBER]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[ADDRESS_ID]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[REGION_CODE]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[LAND_AREA]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[TAKE_ID]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[EMPLOYEE_ORGANIZATION_NAME]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[FIRST_NAME]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[SURNAME]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PERSON_ID]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[ORGANIZATION_ID]} + + + + + + + + + + false + -1 + + + + + + + 0 + 1 + + + + + 0 + 2 + + + + + 0 + 3 + + + + + 0 + 4 + + + + + 0 + 5 + + + + + 0 + 6 + + + + + 0 + 7 + + + + + 0 + 8 + + + + + 0 + 9 + + + + + 0 + 10 + + + + + 0 + 11 + + + + + 0 + 12 + + + + + 0 + 13 + + + + + 0 + 14 + + + + + 0 + 15 + + + + + 0 + 16 + + + + + 0 + 17 + + + + + 0 + 18 + + + + + 0 + 19 + + + + + 0 + 20 + + + + + 0 + 21 + + + + + 0 + 22 + + + + + 0 + 23 + + + + + 0 + 24 + + + + + 0 + 25 + + + + + 0 + 26 + + + + + 0 + 27 + + + + + 0 + 28 + + + + + 0 + 29 + + + + + 0 + 30 + + + + + 0 + 31 + + + + + 0 + 33 + + + + + 0 + 32 + + + + + + + + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PID]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PIN]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[ZONING]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[FILE_NUMBER]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[ADDRESS_ID]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[REGION_CODE]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[LAND_AREA]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[TAKE_ID]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[EMPLOYEE_ORGANIZATION_NAME]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[FIRST_NAME]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[SURNAME]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[ORGANIZATION_ID]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PERSON_ID]} + + + + + + + + + + + + + + + + + + + + + + ([FINDSTRING]([TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]})," ",1) == 0) ? [TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]})," ",1))) + (FINDSTRING(TRIM(EMPLOYEE_NAME)," ",1) == 0) ? TRIM(EMPLOYEE_NAME) : (SUBSTRING(TRIM(EMPLOYEE_NAME),1,FINDSTRING(TRIM(EMPLOYEE_NAME)," ",1))) + + + + + ([FINDSTRING]([TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]})," ",2)) != 0 ? ([SUBSTRING]([TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]}),([FINDSTRING]([TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]})," ",1) + 1),(([FINDSTRING]([TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]})," ",2)) - ([FINDSTRING]([TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]})," ",1) + 1)))) : "" + (FINDSTRING(TRIM(EMPLOYEE_NAME)," ",2)) != 0 ? (SUBSTRING(TRIM(EMPLOYEE_NAME),(FINDSTRING(TRIM(EMPLOYEE_NAME)," ",1) + 1),((FINDSTRING(TRIM(EMPLOYEE_NAME)," ",2)) - (FINDSTRING(TRIM(EMPLOYEE_NAME)," ",1) + 1)))) : "" + + + + + ([FINDSTRING]([TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]}),[FINDSTRING]([TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]})," ",1) + 1,[LEN](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]}),[FINDSTRING]([TRIM](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]})," ",2) + 1,[LEN](#{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]}))) + (FINDSTRING(TRIM(EMPLOYEE_NAME)," ",2) == 0) ? (SUBSTRING(TRIM(EMPLOYEE_NAME),FINDSTRING(TRIM(EMPLOYEE_NAME)," ",1) + 1,LEN(EMPLOYEE_NAME))) : (SUBSTRING(TRIM(EMPLOYEE_NAME),FINDSTRING(TRIM(EMPLOYEE_NAME)," ",2) + 1,LEN(EMPLOYEE_NAME))) + + + + + + + + + + + + + + + + + + + + + + + + + + "UNKNOWN" + "UNKNOWN" + + + + + + + + + + + + + + + + + + + + + [ISNULL](#{Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].Columns[PROPERTY_TENURE_TYPE_CODE]}) ? #{Package\Load Properties 1\PAM Property.Outputs[OLE DB Source Output].Columns[PROPERTY_TENURE_TYPE_CODE]} : "TM" + ISNULL(PROPERTY_TENURE_TYPE_CODE) ? PROPERTY_TENURE_TYPE_CODE : "TM" + + + + + + + + + + + + + + + + + + + + + + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PID]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PIN]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[ZONING]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[FILE_NUMBER]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[ADDRESS_ID]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[REGION_CODE]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[LAND_AREA]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[TAKE_ID]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} + + + + + + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PID]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PIN]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[ZONING]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[FILE_NUMBER]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[ADDRESS_ID]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[REGION_CODE]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[LAND_AREA]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[TAKE_ID]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PID]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PIN]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[ZONING]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[FILE_NUMBER]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[ADDRESS_ID]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[REGION_CODE]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[LAND_AREA]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[TAKE_ID]} + + + + + + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PID]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PIN]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[ZONING]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[FILE_NUMBER]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[ADDRESS_ID]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[REGION_CODE]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[LAND_AREA]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[TAKE_ID]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 1.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PID]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PIN]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[ZONING]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[FILE_NUMBER]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[ADDRESS_ID]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[REGION_CODE]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[LAND_AREA]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[TAKE_ID]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_ORGANIZATION_NAME]} + + + + + + + + + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PID]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PIN]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[ZONING]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[FILE_NUMBER]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[ADDRESS_ID]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[REGION_CODE]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[LAND_AREA]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[TAKE_ID]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]} + + + + + #{Package\Load Properties 1\Union All 10.Outputs[Union All Output 1].Columns[EMPLOYEE_ORGANIZATION_NAME]} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PID]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PIN]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[ZONING]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[FILE_NUMBER]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[ADDRESS_ID]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[REGION_CODE]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[LAND_AREA]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[TAKE_ID]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + + + + + + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PID]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PIN]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[ZONING]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[FILE_NUMBER]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[ADDRESS_ID]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[REGION_CODE]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[LAND_AREA]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[TAKE_ID]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 2.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[Description]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PID]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PIN]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ZONING]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[FILE_NUMBER]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ADDRESS_ID]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[REGION_CODE]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[LAND_AREA]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[TAKE_ID]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[EMPLOYEE_ORGANIZATION_NAME]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[FIRST_NAME]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[SURNAME]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PERSON_ID]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ORGANIZATION_ID]} + + + + + + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PID]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PIN]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ZONING]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[FILE_NUMBER]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ADDRESS_ID]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[REGION_CODE]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[LAND_AREA]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[TAKE_ID]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[EMPLOYEE_ORGANIZATION_NAME]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[FIRST_NAME]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[SURNAME]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[PERSON_ID]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[ORGANIZATION_ID]} + + + + + #{Package\Load Properties 1\Union All 3.Outputs[Union All Output 1].Columns[Description]} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PID]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PIN]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[ZONING]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[FILE_NUMBER]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[ADDRESS_ID]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[REGION_CODE]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[LAND_AREA]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[TAKE_ID]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[EMPLOYEE_ORGANIZATION_NAME]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[FIRST_NAME]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[SURNAME]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PERSON_ID]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[ORGANIZATION_ID]} + + + + + + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PID]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PIN]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[ZONING]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[FILE_NUMBER]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[ADDRESS_ID]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[REGION_CODE]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[LAND_AREA]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[TAKE_ID]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[EMPLOYEE_ORGANIZATION_NAME]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[FIRST_NAME]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[SURNAME]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[PERSON_ID]} + + + + + #{Package\Load Properties 1\Union All 4.Outputs[Union All Output 1].Columns[ORGANIZATION_ID]} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PID]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PIN]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[ZONING]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[FILE_NUMBER]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[ADDRESS_ID]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[REGION_CODE]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[LAND_AREA]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[TAKE_ID]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} + + + + + + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PID]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PIN]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[ZONING]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[FILE_NUMBER]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[ADDRESS_ID]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[REGION_CODE]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[LAND_AREA]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[TAKE_ID]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + + + + + #{Package\Load Properties 1\Union All 5.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PID]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PIN]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[ZONING]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[FILE_NUMBER]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[ADDRESS_ID]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[REGION_CODE]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[LAND_AREA]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[TAKE_ID]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} + + + + + + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PID]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PIN]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[ZONING]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[FILE_NUMBER]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[ADDRESS_ID]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[REGION_CODE]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[LAND_AREA]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[TAKE_ID]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 6.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PID]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PIN]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[ZONING]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[FILE_NUMBER]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[ADDRESS_ID]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[REGION_CODE]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[LAND_AREA]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[TAKE_ID]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[EMPLOYEE_ORGANIZATION_NAME]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[FIRST_NAME]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[SURNAME]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[ORGANIZATION_ID]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PERSON_ID]} + + + + + + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[CIVIC_ADDRESS]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PID]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PIN]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[LAND_LEGAL_DESCRIPTION]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[ZONING]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[ZONING_POTENTIAL]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_TENURE_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[FILE_NUMBER]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[FILE_NUMBER_SUFFIX]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_CLASSIFICATION_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[ADDRESS_ID]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[REGION_CODE]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[DISTRICT_CODE]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_AREA_UNIT_TYPE_CODE]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[LAND_AREA]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[File_Number_Suffix1]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[TAKE_ID]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[Copy of TAKE_ID_new]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[INTEREST_HOLDER_ID]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_CONT_PROPERTY_ID]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[EMPLOYEE_NAME]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[EMPLOYEE_ORGANIZATION_NAME]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[FIRST_NAME]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[SURNAME]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[PERSON_ID]} + + + + + #{Package\Load Properties 1\Union All 7.Outputs[Union All Output 1].Columns[ORGANIZATION_ID]} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + update PIMS_PROPERTY +set PROPERTY_TYPE_CODE=?, +PROPERTY_CLASSIFICATION_TYPE_CODE=?, +ADDRESS_ID=?, +REGION_CODE=?, +DISTRICT_CODE=?, +PROPERTY_AREA_UNIT_TYPE_CODE=?, +PROPERTY_STATUS_TYPE_CODE=?, +PROPERTY_DATA_SOURCE_TYPE_CODE=?, +PROPERTY_DATA_SOURCE_EFFECTIVE_DATE=?, +DESCRIPTION=?, +PID=?, +PIN=?, +LAND_AREA=?, +LAND_LEGAL_DESCRIPTION=?, +IS_OWNED=?, +IS_PROPERTY_OF_INTEREST=?, +IS_VISIBLE_TO_OTHER_AGENCIES=?, +IS_SENSITIVE=?, +ZONING=?, +ZONING_POTENTIAL=?, +PROPERTY_MANAGER_ID=?, +PROP_MGMT_ORG_ID=?, +SURPLUS_DECLARATION_TYPE_CODE=?, +PPH_STATUS_TYPE_CODE=?, +FILE_NUMBER=?, +FILE_NUMBER_SUFFIX=? +WHERE APP_LAST_UPDATE_USERID = ? + 1252 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 65 + + + + + 65 + + + + + 81 + + + + + 81 + + + + + 81 + + + + + 65 + + + + + 65 + + + + + 65 + + + + + 65 + + + + + 65 + + + + + 81 + + + + + 81 + + + + + 81 + + + + + 193 + + + + + 65 + + + + + 65 + + + + + 65 + + + + + 65 + + + + + 65 + + + + + 65 + + + + + 81 + + + + + 81 + + + + + 65 + + + + + 65 + + + + + 81 + + + + + 65 + + + + + 65 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "RESIDNT" + "RESIDNT" + + + + + (DT_UI2)1 + (DT_UI2)1 + + + + + "APP_PIMS_PROXY_ETL_EDIT" + "APP_PIMS_PROXY_ETL_EDIT" + + + + + #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[PROPERTY_ID]} + PROPERTY_ID + + + + + "APP_PIMS_PROXY_ETL_EDIT" + "APP_PIMS_PROXY_ETL_EDIT" + + + + + "place_holder" + "place_holder" + + + + + (DT_UI2)1 + (DT_UI2)1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + #{Package\Load Property Addresses\Deduplicate.Outputs[Sort Output].Columns[REGION_NO]} + false + + + + + #{Package\Load Property Addresses\Deduplicate.Outputs[Sort Output].Columns[DISTRICT_NO]} + false + + + + + #{Package\Load Property Addresses\Deduplicate.Outputs[Sort Output].Columns[CIVIC_ADDRESS]} + false + + + + + #{Package\Load Property Addresses\Deduplicate.Outputs[Sort Output].Columns[CITY]} + false + + + + + #{Package\Load Property Addresses\Deduplicate.Outputs[Sort Output].Columns[COUNTRY_ID]} + false + + + + + #{Package\Load Property Addresses\Deduplicate.Outputs[Sort Output].Columns[PROVINCE_STATE_ID]} + false + + + + + + + + + + + + + + + + + true + -1 + + + + + + + 0 + 1 + + + + + 0 + 2 + + + + + 0 + 3 + + + + + 0 + 4 + + + + + 0 + 5 + + + + + 0 + 6 + + + + + 0 + 7 + + + + + 0 + 8 + + + + + 0 + 9 + + + + + 0 + 10 + + + + + 0 + 11 + + + + + 0 + 12 + + + + + 0 + 13 + + + + + 0 + 14 + + + + + 0 + 15 + + + + + 0 + 16 + + + + + 0 + 17 + + + + + 0 + 18 + + + + + 0 + 19 + + + + + 0 + 20 + + + + + 0 + 21 + + + + + 0 + 22 + + + + + + + + + + + + #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[PROPERTY_ID]} + + + + + #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[REGION_NO]} + + + + + #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[DISTRICT_NO]} + + + + + #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[DESCRIPTION]} + + + + + #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[FULL_LEGAL_DESCRIPTION]} + + + + + #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[FILE_NUMBER]} + + + + + #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[FILE_NUMBER_SUFFIX]} + + + + + #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[PID_NO]} + + + + + #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[PIN]} + + + + + #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[CIVIC_ADDRESS]} + + + + + #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[CITY]} + + + + + #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[PROPERTY_TENURE_TYPE_CODE]} + + + + + #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[COMMENTS]} + + + + + #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[LAND_USE_DESCRIPTION]} + + + + + #{Package\Load Property Addresses\PAM_PROPERTY.Outputs[OLE DB Source Output].Columns[ACTUAL_LAND_USE_CODE]} + + + + + #{Package\Load Property Addresses\Audit Trail.Outputs[Derived Column Output].Columns[ADDRESS_USAGE_TYPE_CODE]} + + + + + #{Package\Load Property Addresses\Audit Trail.Outputs[Derived Column Output].Columns[COUNTRY_ID]} + + + + + #{Package\Load Property Addresses\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]} + + + + + #{Package\Load Property Addresses\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} + + + + + #{Package\Load Property Addresses\Audit Trail.Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USERID]} + + + + + #{Package\Load Property Addresses\Audit Trail.Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]} + + + + + #{Package\Load Property Addresses\Audit Trail.Outputs[Derived Column Output].Columns[PROVINCE_STATE_ID]} + + + + + + + + + + + + + + + + + + + + + + + [GETDATE]() + GETDATE() + + + + + "Load Property Addresses" + "Load Property Addresses" + + + + + "PIMS_ADDRESS" + "PIMS_ADDRESS" + + + + + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + + + + + "CIVIC_ADDRESS: " + #{Package\Load Property Addresses\Deduplicate.Outputs[Sort Output].Columns[CIVIC_ADDRESS]} + " APP_CREATE_USER_DIRECTORY (PROPERTY_ID): " + (DT_WSTR,10)#{Package\Load Property Addresses\Deduplicate.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]} + "CIVIC_ADDRESS: " + CIVIC_ADDRESS + " APP_CREATE_USER_DIRECTORY (PROPERTY_ID): " + (DT_WSTR,10)APP_CREATE_USER_DIRECTORY + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [GETDATE]() + GETDATE() + + + + + "Load Property Addresses" + "Load Property Addresses" + + + + + "PIMS_ADDRESS" + "PIMS_ADDRESS" + + + + + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + + + + + "CIVIC_ADDRESS: " + #{Package\Load Property Addresses\Deduplicate.Outputs[Sort Output].Columns[CIVIC_ADDRESS]} + " APP_CREATE_USER_DIRECTORY (PROPERTY_ID): " + (DT_WSTR,10)#{Package\Load Property Addresses\Deduplicate.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]} + "CIVIC_ADDRESS: " + CIVIC_ADDRESS + " APP_CREATE_USER_DIRECTORY (PROPERTY_ID): " + (DT_WSTR,10)APP_CREATE_USER_DIRECTORY + + + + + + + + + + + + + + + + + 0 + [etl].[ETL_ERROR_LOG] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + [etl].[ETL_ERROR_LOG] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_ADDRESS] + select * from (select * from [dbo].[PIMS_ADDRESS]) [refTable] +where [refTable].[REGION_CODE] = ? and [refTable].[DISTRICT_CODE] = ? and [refTable].[STREET_ADDRESS_1] = ? and [refTable].[MUNICIPALITY_NAME] = ? and [refTable].[COUNTRY_ID] = ? and [refTable].[PROVINCE_STATE_ID] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_1" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_2" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_3" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPALITY_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="POSTAL_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="OTHER_COUNTRY" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="LATITUDE" dataType="DT_NUMERIC" length="0" precision="8" scale="6" codePage="0"/><referenceColumn name="LONGITUDE" dataType="DT_NUMERIC" length="0" precision="9" scale="6" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Property Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of REGION_NO]};#{Package\Load Property Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of DISTRICT_NO]};#{Package\Load Property Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of CIVIC_ADDRESS]};#{Package\Load Property Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of CITY]};#{Package\Load Property Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of COUNTRY_ID]};#{Package\Load Property Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of PROVINCE_STATE_ID]}; + 1252 + false + + + + + + + + + + MUNICIPALITY_NAME + + + + + + STREET_ADDRESS_1 + + + + + + REGION_CODE + + + + + + DISTRICT_CODE + + + + + + COUNTRY_ID + + + + + + PROVINCE_STATE_ID + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + [dbo].[PIMS_ADDRESS] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS,ROWS_PER_BATCH = 1 + 2147483647 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + "APP_PAM"."PAM_PROPERTY" + + + + 1252 + false + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select REGION_CODE,DISTRICT_CODE,PROVINCE_STATE_ID,COUNTRY_ID,STREET_ADDRESS_1,MUNICIPALITY_NAME from pims_address + select * from (select REGION_CODE,DISTRICT_CODE,PROVINCE_STATE_ID,COUNTRY_ID,STREET_ADDRESS_1,MUNICIPALITY_NAME from pims_address) [refTable] +where [refTable].[REGION_CODE] = ? and [refTable].[DISTRICT_CODE] = ? and [refTable].[STREET_ADDRESS_1] = ? and [refTable].[MUNICIPALITY_NAME] = ? and [refTable].[COUNTRY_ID] = ? and [refTable].[PROVINCE_STATE_ID] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_1" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPALITY_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Property Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of REGION_NO]};#{Package\Load Property Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of DISTRICT_NO]};#{Package\Load Property Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of CIVIC_ADDRESS]};#{Package\Load Property Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of CITY]};#{Package\Load Property Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of COUNTRY_ID]};#{Package\Load Property Addresses\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of PROVINCE_STATE_ID]}; + 1252 + false + + + + + + + + + + REGION_CODE + + + + + + DISTRICT_CODE + + + + + + PROVINCE_STATE_ID + + + + + + COUNTRY_ID + + + + + + STREET_ADDRESS_1 + + + + + + MUNICIPALITY_NAME + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + Update PIMS_ADDRESS +set region_code=?, +district_code=?, +province_state_id=?, +country_id=?, +street_address_1=?, +municipality_name=? +where app_last_update_userid=? + 1252 + + + + + + + + + + + + + + + + + + + 81 + + + + + 81 + + + + + 81 + + + + + 81 + + + + + 65 + + + + + 65 + + + + + 65 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "APP_PIMS_PROXY_ETL_EDIT" + "APP_PIMS_PROXY_ETL_EDIT" + + + + + (DT_WSTR,12)#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} + (DT_WSTR,12)PROPERTY_EMPLOYEE_ID + + + + + "APP_PIMS_PROXY_ETL_EDIT" + "APP_PIMS_PROXY_ETL_EDIT" + + + + + "place_holder" + "place_holder" + + + + + (DT_WSTR,50)"" + (DT_WSTR,50)"" + + + + + + + + + + + + + + + + + + + + + + + + + + (DT_I2)1 + (DT_I2)1 + + + + + (DT_I2)1 + (DT_I2)1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + #{Package\Load Property Employee Address\PAM_PROPERTY_EMPLOYEE.Outputs[OLE DB Source Output].Columns[PROVINCE]} + false + + + + + #{Package\Load Property Employee Address\PAM_PROPERTY_EMPLOYEE.Outputs[OLE DB Source Output].Columns[ADDRESS_LINE_1]} + false + + + + + #{Package\Load Property Employee Address\PAM_PROPERTY_EMPLOYEE.Outputs[OLE DB Source Output].Columns[ADDRESS_LINE_2]} + false + + + + + #{Package\Load Property Employee Address\PAM_PROPERTY_EMPLOYEE.Outputs[OLE DB Source Output].Columns[CITY]} + false + + + + + #{Package\Load Property Employee Address\PAM_PROPERTY_EMPLOYEE.Outputs[OLE DB Source Output].Columns[POSTAL_CODE]} + false + + + + + #{Package\Load Property Employee Address\PAM_PROPERTY_EMPLOYEE.Outputs[OLE DB Source Output].Columns[REGION_NO]} + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [GETDATE]() + GETDATE() + + + + + "Load Property Employee Address" + "Load Property Employee Address" + + + + + "PIMS_ADDRESS" + "PIMS_ADDRESS" + + + + + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + + + + + "ADDRESS_LINE_1: " + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_1]} + "ADDRESS_LINE_2" + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_2]} + " APP_CREATE_USER_DIRECTORY (PROPERTY_EMPLOYEE_ID): " + #{Package\Load Property Employee Address\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} + "ADDRESS_LINE_1: " + ADDRESS_LINE_1 + "ADDRESS_LINE_2" + ADDRESS_LINE_2 + " APP_CREATE_USER_DIRECTORY (PROPERTY_EMPLOYEE_ID): " + APP_CREATE_USER_DIRECTORY + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [GETDATE]() + GETDATE() + + + + + "Load Property Employee Address" + "Load Property Employee Address" + + + + + "PIMS_ADDRESS" + "PIMS_ADDRESS" + + + + + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + + + + + "ADDRESS_LINE_1: " + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_1]} + "ADDRESS_LINE_2" + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_2]} + " APP_CREATE_USER_DIRECTORY (PROPERTY_EMPLOYEE_ID): " + #{Package\Load Property Employee Address\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} + "ADDRESS_LINE_1: " + ADDRESS_LINE_1 + "ADDRESS_LINE_2" + ADDRESS_LINE_2 + " APP_CREATE_USER_DIRECTORY (PROPERTY_EMPLOYEE_ID): " + APP_CREATE_USER_DIRECTORY + + + + + + + + + + + + + + + + + 0 + [etl].[ETL_ERROR_LOG] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + [etl].[ETL_ERROR_LOG] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_ADDRESS] + select * from (select * from [dbo].[PIMS_ADDRESS]) [refTable] +where [refTable].[STREET_ADDRESS_1] = ? and [refTable].[STREET_ADDRESS_2] = ? and [refTable].[MUNICIPALITY_NAME] = ? and [refTable].[POSTAL_CODE] = ? and [refTable].[REGION_CODE] = ? and [refTable].[PROVINCE_STATE_ID] = ? and [refTable].[COUNTRY_ID] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[STREET_ADDRESS_3] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_1" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_2" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_3" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPALITY_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="POSTAL_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="OTHER_COUNTRY" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="LATITUDE" dataType="DT_NUMERIC" length="0" precision="8" scale="6" codePage="0"/><referenceColumn name="LONGITUDE" dataType="DT_NUMERIC" length="0" precision="9" scale="6" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICDODE_STREET_ADDRESS__1]};#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_2]};#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_MUNICIPALITY_NAME]};#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_POSTAL_CODE]};#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_REGION_NO]};#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]};#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[COUNTRY_ID]};#{Package\Load Property Employee Address\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]};#{Package\Load Property Employee Address\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[UNICODE_STREET_ADDRESS_LINE3]}; + 1252 + false + + + + + + + + + + PROVINCE_STATE_ID + + + + + + COUNTRY_ID + + + + + + STREET_ADDRESS_1 + + + + + + STREET_ADDRESS_2 + + + + + + MUNICIPALITY_NAME + + + + + + POSTAL_CODE + + + + + + STREET_ADDRESS_3 + + + + + + APP_CREATE_USER_DIRECTORY + + + + + + REGION_CODE + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + "APP_PAM"."PAM_PROPERTY_EMPLOYEE" + + + + 1252 + true + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + [dbo].[PIMS_ADDRESS] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_ADDRESS] + select * from (select * from [dbo].[PIMS_ADDRESS]) [refTable] +where [refTable].[STREET_ADDRESS_1] = ? and [refTable].[STREET_ADDRESS_2] = ? and [refTable].[MUNICIPALITY_NAME] = ? and [refTable].[POSTAL_CODE] = ? and [refTable].[REGION_CODE] = ? and [refTable].[PROVINCE_STATE_ID] = ? and [refTable].[COUNTRY_ID] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[STREET_ADDRESS_3] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="ADDRESS_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_1" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_2" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="STREET_ADDRESS_3" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="MUNICIPALITY_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="POSTAL_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="OTHER_COUNTRY" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="LATITUDE" dataType="DT_NUMERIC" length="0" precision="8" scale="6" codePage="0"/><referenceColumn name="LONGITUDE" dataType="DT_NUMERIC" length="0" precision="9" scale="6" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICDODE_STREET_ADDRESS__1]};#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_2]};#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_MUNICIPALITY_NAME]};#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_POSTAL_CODE]};#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_REGION_NO]};#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]};#{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[COUNTRY_ID]};#{Package\Load Property Employee Address\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]};#{Package\Load Property Employee Address\Audit Trail (and capture interest holder id).Outputs[Derived Column Output].Columns[UNICODE_STREET_ADDRESS_LINE3]}; + 1252 + false + + + + + + + + + + STREET_ADDRESS_1 + + + + + + STREET_ADDRESS_2 + + + + + + MUNICIPALITY_NAME + + + + + + POSTAL_CODE + + + + + + REGION_CODE + + + + + + COUNTRY_ID + + + + + + APP_CREATE_USER_DIRECTORY + + + + + + PROVINCE_STATE_ID + + + + + + STREET_ADDRESS_3 + + + + + + + + + + + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_PROVINCE_STATE] + select * from (select * from [dbo].[PIMS_PROVINCE_STATE]) [refTable] +where [refTable].[PROVINCE_STATE_CODE] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISPLAY_ORDER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Property Employee Address\Data Conversion.Outputs[Data Conversion Output].Columns[UNICODE_PROVINCE]}; + 1252 + false + + + + + + + + + + PROVINCE_STATE_CODE + + + + + + + + + + + + + PROVINCE_STATE_ID + + + + + COUNTRY_ID + + + + + + + + + + + + + + + + + + + + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[REGION_NO]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[PROVINCE]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_1]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_2]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[CITY]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[POSTAL_CODE]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICDODE_STREET_ADDRESS__1]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_2]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_MUNICIPALITY_NAME]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_POSTAL_CODE]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_REGION_NO]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[COUNTRY_ID]} + + + + + + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[REGION_NO]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[PROVINCE]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_1]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_2]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[CITY]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[POSTAL_CODE]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_PROVINCE]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICDODE_STREET_ADDRESS__1]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_STREET_ADDRESS_2]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_MUNICIPALITY_NAME]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_POSTAL_CODE]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[UNICODE_REGION_NO]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]} + + + + + #{Package\Load Property Employee Address\Union All.Outputs[Union All Output 1].Columns[COUNTRY_ID]} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + Update PIMS_ADDRESS +set REGION_CODE=?, +province_state_id=?, +country_id=?, +street_address_1=?, +STREET_ADDRESS_2=?, +STREET_ADDRESS_3=?, +municipality_name=?, +POSTAL_CODE=? +where app_last_update_userid=? + 1252 + + + + + + + + + + + + + + + + + + + + + 81 + + + + + 81 + + + + + 81 + + + + + 65 + + + + + 65 + + + + + 65 + + + + + 65 + + + + + 65 + + + + + 65 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "APP_PIMS_PROXY_ETL_EDIT" + "APP_PIMS_PROXY_ETL_EDIT" + + + + + (DT_WSTR,10)#{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} + (DT_WSTR,10)PROPERTY_EMPLOYEE_ID + + + + + "APP_PIMS_PROXY_ETL_EDIT" + "APP_PIMS_PROXY_ETL_EDIT" + + + + + "place_holder" + "place_holder" + + + + + + + + + + + + + + + + + + + + + + + + + + "FAX" + "FAX" + + + + + + + + + + + + + + + + + + + + + + + + + + "WORKPHONE" + "WORKPHONE" + + + + + + + + + + + + + + + + + + + + + + + + + + "PERSPHONE" + "PERSPHONE" + + + + + + + + + + + + + + + + + + + + + + + + + + "WORKEMAIL" + "WORKEMAIL" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + #{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[PHONE_NO]} + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + #{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[FAX_NO]} + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + #{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]} + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + #{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[CONTACT_METHOD_VALUE]} + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} + false + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} + false + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} + false + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[COMPANY_NAME]} + false + + + + + #{Package\Load Property Employee Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USERID]} + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [GETDATE]() + GETDATE() + + + + + "Load Property Employee Person Contact Method" + "Load Property Employee Person Contact Method" + + + + + "PIMS_CONTACT_METHOD FOR PERSON" + "PIMS_CONTACT_METHOD FOR PERSON" + + + + + "PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" + "PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" + + + + + #{Package\Load Property Employee Contact Method\Insert PIMS_CONTACT_METHOD FOR PERSON.Outputs[OLE DB Destination Error Output].Columns[ErrorCode]} + ErrorCode + + + + + #{Package\Load Property Employee Contact Method\Insert PIMS_CONTACT_METHOD FOR PERSON.Outputs[OLE DB Destination Error Output].Columns[ErrorColumn]} + ErrorColumn + + + + + "FIRST_NAME" + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} + "SURNAME: " + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} + "APP_CREATE_USER_DIRECTORY(PROPERTY_EMPLOYEE_ID) :" + #{Package\Load Property Employee Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]} + " PERSON_ID: " + (DT_WSTR,25)#{Package\Load Property Employee Contact Method\PERSON ID.Outputs[Lookup Match Output].Columns[PERSON_ID]} + "FIRST_NAME" + FIRST_NAME + "SURNAME: " + SURNAME + "APP_CREATE_USER_DIRECTORY(PROPERTY_EMPLOYEE_ID) :" + AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY + " PERSON_ID: " + (DT_WSTR,25)PERSON_ID + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [GETDATE]() + GETDATE() + + + + + "Load Property Employee Organization Contact Method" + "Load Property Employee Organization Contact Method" + + + + + "PIMS_CONTACT_METHOD FOR ORGANIZATION" + "PIMS_CONTACT_METHOD FOR ORGANIZATION" + + + + + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + + + + + "ORGANIZATION NAME: " + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[COMPANY_NAME]} + " APP_CREATE_USER_DIRECTORY(PROPERTY_EMPLOYEE_ID): " + #{Package\Load Property Employee Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]} + " ORGANIZATION_ID: " + (DT_WSTR,10)#{Package\Load Property Employee Contact Method\ORGANIZATION ID.Outputs[Lookup Match Output].Columns[ORGANIZATION_ID]} + "ORGANIZATION NAME: " + COMPANY_NAME + " APP_CREATE_USER_DIRECTORY(PROPERTY_EMPLOYEE_ID): " + AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY + " ORGANIZATION_ID: " + (DT_WSTR,10)ORGANIZATION_ID + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [GETDATE]() + GETDATE() + + + + + "Load Property Employee Organization Contact Method" + "Load Property Employee Organization Contact Method" + + + + + "PIMS_CONTACT_METHOD FOR ORGANIZATION" + "PIMS_CONTACT_METHOD FOR ORGANIZATION" + + + + + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + + + + + "ORGANIZATION NAME: " + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[COMPANY_NAME]} + " APP_CREATE_USER_DIRECTORY(PROPERTY_EMPLOYEE_ID): " + #{Package\Load Property Employee Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]} + " ORGANIZATION_ID: " + (DT_WSTR,10)#{Package\Load Property Employee Contact Method\ORGANIZATION ID.Outputs[Lookup Match Output].Columns[ORGANIZATION_ID]} + "ORGANIZATION NAME: " + COMPANY_NAME + " APP_CREATE_USER_DIRECTORY(PROPERTY_EMPLOYEE_ID): " + AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY + " ORGANIZATION_ID: " + (DT_WSTR,10)ORGANIZATION_ID + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [GETDATE]() + GETDATE() + + + + + "Load Property Employee Person Contact Method" + "Load Property Employee Person Contact Method" + + + + + "PIMS_CONTACT_METHOD FOR PERSON" + "PIMS_CONTACT_METHOD FOR PERSON" + + + + + "PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" + "PAM_LOAD-PAIMS_TO_PIMS_DATASET_2" + + + + + #{Package\Load Property Employee Contact Method\Update PIMS_CONTACT_METHOD.Outputs[OLE DB Command Error Output].Columns[ErrorCode]} + ErrorCode + + + + + #{Package\Load Property Employee Contact Method\Update PIMS_CONTACT_METHOD.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]} + ErrorColumn + + + + + "FIRST_NAME" + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} + "SURNAME: " + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} + "APP_CREATE_USER_DIRECTORY(PROPERTY_EMPLOYEE_ID) :" + #{Package\Load Property Employee Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]} + " PERSON_ID: " + (DT_WSTR,25)#{Package\Load Property Employee Contact Method\PERSON ID.Outputs[Lookup Match Output].Columns[PERSON_ID]} + "FIRST_NAME" + FIRST_NAME + "SURNAME: " + SURNAME + "APP_CREATE_USER_DIRECTORY(PROPERTY_EMPLOYEE_ID) :" + AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY + " PERSON_ID: " + (DT_WSTR,25)PERSON_ID + + + + + + + + + + + + + + + + + 0 + [etl].[ETL_ERROR_LOG] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + [etl].[ETL_ERROR_LOG] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + [etl].[ETL_ERROR_LOG] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + [etl].[ETL_ERROR_LOG] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_CONTACT_METHOD] + select * from (select * from [dbo].[PIMS_CONTACT_METHOD]) [refTable] +where [refTable].[CONTACT_METHOD_VALUE] = ? and [refTable].[CONTACT_METHOD_TYPE_CODE] = ? and [refTable].[PERSON_ID] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="CONTACT_METHOD_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_VALUE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PREFERRED_METHOD" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]};#{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]};#{Package\Load Property Employee Contact Method\PERSON ID.Outputs[Lookup Match Output].Columns[PERSON_ID]}; + 1252 + false + + + + + + + + + + CONTACT_METHOD_VALUE + + + + + + CONTACT_METHOD_TYPE_CODE + + + + + + PERSON_ID + + + + + + + + + + + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_CONTACT_METHOD] + select * from (select * from [dbo].[PIMS_CONTACT_METHOD]) [refTable] +where [refTable].[CONTACT_METHOD_VALUE] = ? and [refTable].[CONTACT_METHOD_TYPE_CODE] = ? and [refTable].[ORGANIZATION_ID] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="CONTACT_METHOD_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_VALUE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PREFERRED_METHOD" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]};#{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]};#{Package\Load Property Employee Contact Method\ORGANIZATION ID.Outputs[Lookup Match Output].Columns[ORGANIZATION_ID]}; + 1252 + false + + + + + + + + + + CONTACT_METHOD_VALUE + + + + + + CONTACT_METHOD_TYPE_CODE + + + + + + ORGANIZATION_ID + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + [dbo].[PIMS_CONTACT_METHOD] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + [dbo].[PIMS_CONTACT_METHOD] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ![ISNULL](#{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[COMPANY_NAME]}) + !ISNULL(ORGANIZATION_NAME) + 0 + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + ![ISNULL](#{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]}) || ![ISNULL](#{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]}) + !ISNULL(SURNAME) || !ISNULL(FIRST_NAME) + 0 + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_ORGANIZATION] + select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] +where [refTable].[APP_CREATE_USERID] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PRNT_ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORG_IDENTIFIER_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_IDENTIFIER" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ALIAS" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="INCORPORATION_NUMBER" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="WEBSITE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Property Employee Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USERID]};#{Package\Load Property Employee Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]}; + 1252 + false + + + + + + + + + + APP_CREATE_USER_DIRECTORY + + + + + + APP_CREATE_USERID + + + + + + + + + + + + + ORGANIZATION_ID + + + + + + + + + + + + + + + + + + + + 0 + + + SELECT * +FROM APP_PAM.PAM_PROPERTY_EMPLOYEE +WHERE CELL_PHONE_NUMBER IS NOT NULL + + 1252 + true + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + "APP_PAM_MASKED"."PAM_INTEREST_HOLDER" + + SELECT * +FROM APP_PAM.PAM_PROPERTY_EMPLOYEE +WHERE EMAIL_ADDRESS IS NOT NULL + + 1252 + true + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + "APP_PAM"."PAM_INTEREST_HOLDER" + + SELECT * +FROM APP_PAM.PAM_PROPERTY_EMPLOYEE +WHERE FAX_NO IS NOT NULL + + 1252 + true + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + "APP_PAM"."PAM_INTEREST_HOLDER" + + SELECT * +FROM APP_PAM.PAM_PROPERTY_EMPLOYEE +WHERE PHONE_NO IS NOT NULL + + 1252 + true + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_PERSON] + select * from (select * from [dbo].[PIMS_PERSON]) [refTable] +where [refTable].[APP_CREATE_USERID] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURNAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="FIRST_NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="MIDDLE_NAMES" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME_SUFFIX" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="PREFERRED_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="BIRTH_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="USE_ORGANIZATION_ADDRESS" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Property Employee Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USERID]};#{Package\Load Property Employee Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]}; + 1252 + false + + + + + + + + + + APP_CREATE_USER_DIRECTORY + + + + + + APP_CREATE_USERID + + + + + + + + + + + + + PERSON_ID + + + + + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_CONTACT_METHOD] + select * from (select * from [dbo].[PIMS_CONTACT_METHOD]) [refTable] +where [refTable].[CONTACT_METHOD_TYPE_CODE] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[CONTACT_METHOD_VALUE] = ? and [refTable].[PERSON_ID] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="CONTACT_METHOD_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_VALUE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PREFERRED_METHOD" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Property Employee Contact Method\2876:invalid};#{Package\Load Property Employee Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]};#{Package\Load Property Employee Contact Method\2877:invalid};#{Package\Load Property Employee Contact Method\PERSON ID.Outputs[Lookup Match Output].Columns[PERSON_ID]}; + 1252 + false + + + + + + + + + + PERSON_ID + + + + + + APP_CREATE_USER_DIRECTORY + + + + + + CONTACT_METHOD_TYPE_CODE + + + + + + + + + + + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_CONTACT_METHOD] + select * from (select * from [dbo].[PIMS_CONTACT_METHOD]) [refTable] +where [refTable].[CONTACT_METHOD_TYPE_CODE] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[CONTACT_METHOD_VALUE] = ? and [refTable].[ORGANIZATION_ID] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="CONTACT_METHOD_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_VALUE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PREFERRED_METHOD" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Property Employee Contact Method\2876:invalid};#{Package\Load Property Employee Contact Method\AUDIT TRAIL.Outputs[Derived Column Output].Columns[AUDIT_TRAIL_APP_CREATE_USER_DIRECTORY]};#{Package\Load Property Employee Contact Method\2877:invalid};#{Package\Load Property Employee Contact Method\ORGANIZATION ID.Outputs[Lookup Match Output].Columns[ORGANIZATION_ID]}; + 1252 + false + + + + + + + + + + ORGANIZATION_ID + + + + + + APP_CREATE_USER_DIRECTORY + + + + + + CONTACT_METHOD_TYPE_CODE + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) == 0) ? [TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",1))) + (FINDSTRING(TRIM(NAME)," ",1) == 0) ? TRIM(NAME) : (SUBSTRING(TRIM(NAME),1,FINDSTRING(TRIM(NAME)," ",1))) + + + + + ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",2)) != 0 ? ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]}),([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1),(([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",2)) - ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1)))) : "" + (FINDSTRING(TRIM(NAME)," ",2)) != 0 ? (SUBSTRING(TRIM(NAME),(FINDSTRING(TRIM(NAME)," ",1) + 1),((FINDSTRING(TRIM(NAME)," ",2)) - (FINDSTRING(TRIM(NAME)," ",1) + 1)))) : "" + + + + + ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]}),[FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1,[LEN](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]}),[FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",2) + 1,[LEN](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO.Outputs[OLE DB Source Output].Columns[NAME]}))) + (FINDSTRING(TRIM(NAME)," ",2) == 0) ? (SUBSTRING(TRIM(NAME),FINDSTRING(TRIM(NAME)," ",1) + 1,LEN(NAME))) : (SUBSTRING(TRIM(NAME),FINDSTRING(TRIM(NAME)," ",2) + 1,LEN(NAME))) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) == 0) ? [TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",1))) + (FINDSTRING(TRIM(NAME)," ",1) == 0) ? TRIM(NAME) : (SUBSTRING(TRIM(NAME),1,FINDSTRING(TRIM(NAME)," ",1))) + + + + + ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",2)) != 0 ? ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]}),([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1),(([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",2)) - ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1)))) : "" + (FINDSTRING(TRIM(NAME)," ",2)) != 0 ? (SUBSTRING(TRIM(NAME),(FINDSTRING(TRIM(NAME)," ",1) + 1),((FINDSTRING(TRIM(NAME)," ",2)) - (FINDSTRING(TRIM(NAME)," ",1) + 1)))) : "" + + + + + ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]}),[FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1,[LEN](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]}),[FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]})," ",2) + 1,[LEN](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO.Outputs[OLE DB Source Output].Columns[NAME]}))) + (FINDSTRING(TRIM(NAME)," ",2) == 0) ? (SUBSTRING(TRIM(NAME),FINDSTRING(TRIM(NAME)," ",1) + 1,LEN(NAME))) : (SUBSTRING(TRIM(NAME),FINDSTRING(TRIM(NAME)," ",2) + 1,LEN(NAME))) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) == 0) ? [TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]})," ",1))) + (FINDSTRING(TRIM(NAME)," ",1) == 0) ? TRIM(NAME) : (SUBSTRING(TRIM(NAME),1,FINDSTRING(TRIM(NAME)," ",1))) + + + + + ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]})," ",2)) != 0 ? ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]}),([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1),(([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]})," ",2)) - ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1)))) : "" + (FINDSTRING(TRIM(NAME)," ",2)) != 0 ? (SUBSTRING(TRIM(NAME),(FINDSTRING(TRIM(NAME)," ",1) + 1),((FINDSTRING(TRIM(NAME)," ",2)) - (FINDSTRING(TRIM(NAME)," ",1) + 1)))) : "" + + + + + ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]}),[FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1,[LEN](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]}),[FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]})," ",2) + 1,[LEN](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER.Outputs[OLE DB Source Output].Columns[NAME]}))) + (FINDSTRING(TRIM(NAME)," ",2) == 0) ? (SUBSTRING(TRIM(NAME),FINDSTRING(TRIM(NAME)," ",1) + 1,LEN(NAME))) : (SUBSTRING(TRIM(NAME),FINDSTRING(TRIM(NAME)," ",2) + 1,LEN(NAME))) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) == 0) ? [TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]})," ",1))) + (FINDSTRING(TRIM(NAME)," ",1) == 0) ? TRIM(NAME) : (SUBSTRING(TRIM(NAME),1,FINDSTRING(TRIM(NAME)," ",1))) + + + + + ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]})," ",2)) != 0 ? ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]}),([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1),(([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]})," ",2)) - ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1)))) : "" + (FINDSTRING(TRIM(NAME)," ",2)) != 0 ? (SUBSTRING(TRIM(NAME),(FINDSTRING(TRIM(NAME)," ",1) + 1),((FINDSTRING(TRIM(NAME)," ",2)) - (FINDSTRING(TRIM(NAME)," ",1) + 1)))) : "" + + + + + ([FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]}),[FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1,[LEN](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]}),[FINDSTRING]([TRIM](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]})," ",2) + 1,[LEN](#{Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - EMAIL.Outputs[OLE DB Source Output].Columns[NAME]}))) + (FINDSTRING(TRIM(NAME)," ",2) == 0) ? (SUBSTRING(TRIM(NAME),FINDSTRING(TRIM(NAME)," ",1) + 1,LEN(NAME))) : (SUBSTRING(TRIM(NAME),FINDSTRING(TRIM(NAME)," ",2) + 1,LEN(NAME))) + + + + + + + + + + + + + + + + + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[REGION_NO]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[ACTIVE_FLAG]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_1]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_2]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[NAME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[PHONE_NO]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[POSITION_TITLE]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[COMPANY_NAME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} + + + + + + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[REGION_NO]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[ACTIVE_FLAG]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_1]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_2]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[NAME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[PHONE_NO]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[POSITION_TITLE]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[COMPANY_NAME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} + + + + + + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[REGION_NO]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[ACTIVE_FLAG]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_1]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_2]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[NAME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[PHONE_NO]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[POSITION_TITLE]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[COMPANY_NAME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} + + + + + + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[MUNICIPALITY_NAME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[REGION_NO]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[ACTIVE_FLAG]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_1]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[ADDRESS_LINE_2]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[NAME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[PHONE_NO]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[POSITION_TITLE]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[COMPANY_NAME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_TYPE_CODE]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[FIRST_NAME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[SURNAME]} + + + + + #{Package\Load Property Employee Contact Method\Union All.Outputs[Union All Output 1].Columns[CONTACT_METHOD_VALUE]} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + update PIMS_CONTACT_METHOD +set CONTACT_METHOD_TYPE_CODE=?, +PERSON_ID=?, +CONTACT_METHOD_VALUE=? +where app_last_update_userid=? + 1252 + + + + + + + + + + + + + + + + 65 + + + + + 81 + + + + + 65 + + + + + 65 + + + + + + + + + + + + + + + + + + + + + 0 + update PIMS_CONTACT_METHOD +set CONTACT_METHOD_TYPE_CODE=?, +ORGANIZATION_ID=?, +CONTACT_METHOD_VALUE=? +where app_last_update_userid=? + 1252 + + + + + + + + + + + + + + + + 65 + + + + + 81 + + + + + 65 + + + + + 65 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "APP_PIMS_PROXY_ETL_EDIT" + "APP_PIMS_PROXY_ETL_EDIT" + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of PROPERTY_EMPLOYEE_ID]} + [Copy of PROPERTY_EMPLOYEE_ID] + + + + + "APP_PIMS_PROXY_ETL_EDIT" + "APP_PIMS_PROXY_ETL_EDIT" + + + + + "place_holder" + "place_holder" + + + + + "APP_PIMS_PROXY_ETL_EDIT" + "APP_PIMS_PROXY_ETL_EDIT" + + + + + "APP_PIMS_PROXY_ETL_EDIT" + "APP_PIMS_PROXY_ETL_EDIT" + + + + + + + + + + + + + + + + + + + + + + + + + + (DT_I2)1 + (DT_I2)1 + + + + + (DT_I2)1 + (DT_I2)1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]} + false + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]} + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [GETDATE]() + GETDATE() + + + + + "Load Property Employee Persons and Organizations" + "Load Property Employee Persons and Organizations" + + + + + "PIMS_PERSON" + "PIMS_PERSON" + + + + + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + + + + + "FIRST_NAME " + #{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[FIRST_NAME]} + "SurName: " + #{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[SURNAME]} + " APP_CREATE_USER_DIRECTORY (PROPERTY_EMPLOYEE_ID): " + #{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]} + "FIRST_NAME " + FIRST_NAME + "SurName: " + SURNAME + " APP_CREATE_USER_DIRECTORY (PROPERTY_EMPLOYEE_ID): " + APP_CREATE_USER_DIRECTORY + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [GETDATE]() + GETDATE() + + + + + "Load Property Employee Persons and Organizations" + "Load Property Employee Persons and Organizations" + + + + + "PIMS_PERSON" + "PIMS_PERSON" + + + + + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + + + + + "FIRST_NAME " + #{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[FIRST_NAME]} + "SurName: " + #{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[SURNAME]} + " APP_CREATE_USER_DIRECTORY (PROPERTY_EMPLOYEE_ID): " + #{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]} + "FIRST_NAME " + FIRST_NAME + "SurName: " + SURNAME + " APP_CREATE_USER_DIRECTORY (PROPERTY_EMPLOYEE_ID): " + APP_CREATE_USER_DIRECTORY + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [GETDATE]() + GETDATE() + + + + + "Load Property Employee Persons and Organizations" + "Load Property Employee Persons and Organizations" + + + + + "PIMS_PERSON" + "PIMS_PERSON" + + + + + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + + + + + "ORGANIZATION_NAME " + #{Package\Load Property Employee Persons and Organizations 3\Sort 1.Outputs[Sort Output].Columns[ORGANIZATION_NAME]} + " APP_CREATE_USER_DIRECTORY (PROPERTY_EMPLOYEE_ID): " + #{Package\Load Property Employee Persons and Organizations 3\Sort 1.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]} + "ORGANIZATION_NAME " + ORGANIZATION_NAME + " APP_CREATE_USER_DIRECTORY (PROPERTY_EMPLOYEE_ID): " + APP_CREATE_USER_DIRECTORY + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [GETDATE]() + GETDATE() + + + + + "Load Property Employee Persons and Organizations" + "Load Property Employee Persons and Organizations" + + + + + "PIMS_PERSON" + "PIMS_PERSON" + + + + + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + "PAM_LOAD_PAIMS_TO_PIMS_DATASET_2" + + + + + "ORGANIZATION_NAME " + #{Package\Load Property Employee Persons and Organizations 3\Sort 1.Outputs[Sort Output].Columns[ORGANIZATION_NAME]} + " APP_CREATE_USER_DIRECTORY (PROPERTY_EMPLOYEE_ID): " + #{Package\Load Property Employee Persons and Organizations 3\Sort 1.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]} + "ORGANIZATION_NAME " + ORGANIZATION_NAME + " APP_CREATE_USER_DIRECTORY (PROPERTY_EMPLOYEE_ID): " + APP_CREATE_USER_DIRECTORY + + + + + + + + + + + + + + + + + 0 + [etl].[ETL_ERROR_LOG] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + [etl].[ETL_ERROR_LOG] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + [etl].[ETL_ERROR_LOG] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + [etl].[ETL_ERROR_LOG] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_ORGANIZATION] + select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] +where [refTable].[ORGANIZATION_NAME] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PRNT_ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORG_IDENTIFIER_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_IDENTIFIER" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ALIAS" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="INCORPORATION_NUMBER" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="WEBSITE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Property Employee Persons and Organizations 3\Sort 1.Outputs[Sort Output].Columns[ORGANIZATION_NAME]}; + 1252 + false + + + + + + + + + + ORGANIZATION_NAME + + + + + + + + + + + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_PERSON] + select * from (select * from [dbo].[PIMS_PERSON]) [refTable] +where [refTable].[SURNAME] = ? and [refTable].[FIRST_NAME] = ? and [refTable].[MIDDLE_NAMES] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURNAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="FIRST_NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="MIDDLE_NAMES" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME_SUFFIX" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="PREFERRED_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="BIRTH_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="USE_ORGANIZATION_ADDRESS" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[SURNAME]};#{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[FIRST_NAME]};#{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[MIDDLE_NAME]};#{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]}; + 1252 + false + + + + + + + + + + SURNAME + + + + + + FIRST_NAME + + + + + + MIDDLE_NAMES + + + + + + APP_CREATE_USER_DIRECTORY + + + + + + + + + + + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_ORGANIZATION] + select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] +where [refTable].[ORGANIZATION_NAME] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PRNT_ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORG_IDENTIFIER_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_IDENTIFIER" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ALIAS" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="INCORPORATION_NUMBER" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="WEBSITE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of COMPANY_NAME]};#{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of PROPERTY_EMPLOYEE_ID]}; + 1252 + false + + + + + + + + + + ORGANIZATION_NAME + + + + + + APP_CREATE_USER_DIRECTORY + + + + + + + + + + + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_PERSON] + select * from (select * from [dbo].[PIMS_PERSON]) [refTable] +where [refTable].[FIRST_NAME] = ? and [refTable].[SURNAME] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURNAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="FIRST_NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="MIDDLE_NAMES" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME_SUFFIX" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="PREFERRED_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="BIRTH_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="USE_ORGANIZATION_ADDRESS" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of FIRST_NAME]};#{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of SURNAME]};#{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of PROPERTY_EMPLOYEE_ID]}; + 1252 + false + + + + + + + + + + FIRST_NAME + + + + + + SURNAME + + + + + + APP_CREATE_USER_DIRECTORY + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of COMPANY_NAME]} + [Copy of COMPANY_NAME] + + + + + + + + + + + + + + + + + + + + + (DT_WSTR,50)[TRIM](#{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[FIRST_NAME]}) + (DT_WSTR,50)TRIM(FIRST_NAME) + + + + + (DT_WSTR,50)[TRIM](#{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[SURNAME]}) + (DT_WSTR,50)TRIM(SURNAME) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "OTHER" + "OTHER" + + + + + "OTHINCORPNO" + "OTHINCORPNO" + + + + + + + + + + + + + + + + + 0 + [dbo].[PIMS_PERSON] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ![ISNULL](#{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of COMPANY_NAME]}) && [LEN]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of COMPANY_NAME]})) > 0 + !ISNULL([Copy of COMPANY_NAME]) && LEN(TRIM([Copy of COMPANY_NAME])) > 0 + 0 + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + (![ISNULL](#{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]}) || ![ISNULL](#{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]})) && ([LEN]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]})) > 0 || [LEN]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]})) > 0) + (!ISNULL(SURNAME) || !ISNULL(FIRST_NAME)) && (LEN(TRIM(FIRST_NAME)) > 0 || LEN(TRIM(SURNAME)) > 0) + 0 + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + PAM_PROPERTY_EMPLOYEE + + + + 1252 + false + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + [dbo].[PIMS_ORGANIZATION] + + + 1252 + false + 3 + false + false + TABLOCK,CHECK_CONSTRAINTS + 2147483647 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_ORGANIZATION] + select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] +where [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[ORGANIZATION_NAME] = ? and [refTable].[ORGANIZATION_TYPE_CODE] = ? and [refTable].[ORG_IDENTIFIER_TYPE_CODE] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PRNT_ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORG_IDENTIFIER_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_IDENTIFIER" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ALIAS" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="INCORPORATION_NUMBER" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="WEBSITE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Property Employee Persons and Organizations 3\Sort 1.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]};#{Package\Load Property Employee Persons and Organizations 3\Sort 1.Outputs[Sort Output].Columns[ORGANIZATION_NAME]};#{Package\Load Property Employee Persons and Organizations 3\Format PIMS_Organisation output column.Outputs[Derived Column Output].Columns[ORGANIZATION_TYPE_CODE]};#{Package\Load Property Employee Persons and Organizations 3\Format PIMS_Organisation output column.Outputs[Derived Column Output].Columns[ORGANIZATION_IDENTIFIER_TYPE_CODE]}; + 1252 + false + + + + + + + + + + ORGANIZATION_TYPE_CODE + + + + + + ORG_IDENTIFIER_TYPE_CODE + + + + + + ORGANIZATION_NAME + + + + + + APP_CREATE_USER_DIRECTORY + + + + + + + + + + + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_PERSON] + select * from (select * from [dbo].[PIMS_PERSON]) [refTable] +where [refTable].[MIDDLE_NAMES] = ? and [refTable].[SURNAME] = ? and [refTable].[FIRST_NAME] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="SURNAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="FIRST_NAME" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="MIDDLE_NAMES" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="NAME_SUFFIX" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="PREFERRED_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="BIRTH_DATE" dataType="DT_DBDATE" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="ADDRESS_COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="USE_ORGANIZATION_ADDRESS" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[MIDDLE_NAME]};#{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[Converting First_Name and Surname datatype.Copy of SURNAME]};#{Package\Load Property Employee Persons and Organizations 3\Sort.Outputs[Sort Output].Columns[Converting First_Name and Surname datatype.Copy of FIRST_NAME]}; + 1252 + false + + + + + + + + + + MIDDLE_NAMES + + + + + + SURNAME + + + + + + FIRST_NAME + + + + + + + + + + + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_PROVINCE_STATE] + select * from (select * from [dbo].[PIMS_PROVINCE_STATE]) [refTable] +where [refTable].[PROVINCE_STATE_CODE] = ? + 0 + 0 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="PROVINCE_STATE_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="COUNTRY_ID" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROVINCE_STATE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISPLAY_ORDER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Property Employee Persons and Organizations 3\Unicode Conversion.Outputs[Data Conversion Output].Columns[Copy of PROVINCE]}; + 1252 + false + + + + + + + + + + PROVINCE_STATE_CODE + + + + + + + + + + + + + PROVINCE_STATE_ID + + + + + COUNTRY_ID + + + + + + + + + + + + + + + + + + + + true + -1 + + + + + + + 3 + 2 + + + + + 3 + 1 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + + + + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[ADDRESS_LINE_1]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[ADDRESS_LINE_2]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[CITY]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Audit Trail (and capture property employee id).Outputs[Derived Column Output].Columns[APP_CREATE_USERID]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Audit Trail (and capture property employee id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Audit Trail (and capture property employee id).Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USERID]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Audit Trail (and capture property employee id).Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Converting First_Name and Surname datatype.Outputs[Data Conversion Output].Columns[Copy of SURNAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Converting First_Name and Surname datatype.Outputs[Data Conversion Output].Columns[Copy of FIRST_NAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Audit Trail (and capture property employee id).Outputs[Derived Column Output].Columns[DB_CREATE_USERID]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Audit Trail (and capture property employee id).Outputs[Derived Column Output].Columns[DB_LAST_UPDATE_USERID]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} + + + + + + + + + + true + -1 + + + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 3 + 1 + + + + + + + + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[ADDRESS_LINE_1]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[ADDRESS_LINE_2]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[CITY]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Audit Trail (and capture property employee id).Outputs[Derived Column Output].Columns[APP_CREATE_USERID]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Audit Trail (and capture property employee id).Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Audit Trail (and capture property employee id).Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USERID]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Audit Trail (and capture property employee id).Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Audit Trail (and capture property employee id).Outputs[Derived Column Output].Columns[DB_CREATE_USERID]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Audit Trail (and capture property employee id).Outputs[Derived Column Output].Columns[DB_LAST_UPDATE_USERID]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[REGION_NO]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[ACTIVE_FLAG]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[FAX_NO]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[NAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PHONE_NO]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[POSITION_TITLE]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[POSTAL_CODE]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[CELL_PHONE_NUMBER]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[EMAIL_ADDRESS]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of PROVINCE]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of ADDRESS_LINE_1]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of ADDRESS_LINE_2]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of COMPANY_NAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of FIRST_NAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of MIDDLE_NAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of SURNAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of CITY]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of REGION_NO]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Format Organization_Name.Outputs[Derived Column Output].Columns[ORGANIZATION_NAME]} + + + + + + + + + + + + + + + + + + + + + + ([FINDSTRING]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\PAM_PROPERTY_EMPOYEE.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) == 0) ? [TRIM](#{Package\Load Property Employee Persons and Organizations 3\PAM_PROPERTY_EMPOYEE.Outputs[OLE DB Source Output].Columns[NAME]}) : ([SUBSTRING]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\PAM_PROPERTY_EMPOYEE.Outputs[OLE DB Source Output].Columns[NAME]}),1,[FINDSTRING]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\PAM_PROPERTY_EMPOYEE.Outputs[OLE DB Source Output].Columns[NAME]})," ",1))) + (FINDSTRING(TRIM(NAME)," ",1) == 0) ? TRIM(NAME) : (SUBSTRING(TRIM(NAME),1,FINDSTRING(TRIM(NAME)," ",1))) + + + + + ([FINDSTRING]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\PAM_PROPERTY_EMPOYEE.Outputs[OLE DB Source Output].Columns[NAME]})," ",2)) != 0 ? ([SUBSTRING]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\PAM_PROPERTY_EMPOYEE.Outputs[OLE DB Source Output].Columns[NAME]}),([FINDSTRING]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\PAM_PROPERTY_EMPOYEE.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1),(([FINDSTRING]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\PAM_PROPERTY_EMPOYEE.Outputs[OLE DB Source Output].Columns[NAME]})," ",2)) - ([FINDSTRING]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\PAM_PROPERTY_EMPOYEE.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1)))) : "" + (FINDSTRING(TRIM(NAME)," ",2)) != 0 ? (SUBSTRING(TRIM(NAME),(FINDSTRING(TRIM(NAME)," ",1) + 1),((FINDSTRING(TRIM(NAME)," ",2)) - (FINDSTRING(TRIM(NAME)," ",1) + 1)))) : "" + + + + + ([FINDSTRING]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\PAM_PROPERTY_EMPOYEE.Outputs[OLE DB Source Output].Columns[NAME]})," ",2) == 0) ? ([SUBSTRING]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\PAM_PROPERTY_EMPOYEE.Outputs[OLE DB Source Output].Columns[NAME]}),[FINDSTRING]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\PAM_PROPERTY_EMPOYEE.Outputs[OLE DB Source Output].Columns[NAME]})," ",1) + 1,[LEN](#{Package\Load Property Employee Persons and Organizations 3\PAM_PROPERTY_EMPOYEE.Outputs[OLE DB Source Output].Columns[NAME]}))) : ([SUBSTRING]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\PAM_PROPERTY_EMPOYEE.Outputs[OLE DB Source Output].Columns[NAME]}),[FINDSTRING]([TRIM](#{Package\Load Property Employee Persons and Organizations 3\PAM_PROPERTY_EMPOYEE.Outputs[OLE DB Source Output].Columns[NAME]})," ",2) + 1,[LEN](#{Package\Load Property Employee Persons and Organizations 3\PAM_PROPERTY_EMPOYEE.Outputs[OLE DB Source Output].Columns[NAME]}))) + (FINDSTRING(TRIM(NAME)," ",2) == 0) ? (SUBSTRING(TRIM(NAME),FINDSTRING(TRIM(NAME)," ",1) + 1,LEN(NAME))) : (SUBSTRING(TRIM(NAME),FINDSTRING(TRIM(NAME)," ",2) + 1,LEN(NAME))) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + #{Package\Load Property Employee Persons and Organizations 3\PAM_PROPERTY_EMPOYEE.Outputs[OLE DB Source Output].Columns[PROVINCE]} + false + + + + + #{Package\Load Property Employee Persons and Organizations 3\PAM_PROPERTY_EMPOYEE.Outputs[OLE DB Source Output].Columns[ADDRESS_LINE_1]} + false + + + + + #{Package\Load Property Employee Persons and Organizations 3\PAM_PROPERTY_EMPOYEE.Outputs[OLE DB Source Output].Columns[ADDRESS_LINE_2]} + false + + + + + #{Package\Load Property Employee Persons and Organizations 3\PAM_PROPERTY_EMPOYEE.Outputs[OLE DB Source Output].Columns[POSITION_TITLE]} + false + + + + + #{Package\Load Property Employee Persons and Organizations 3\Surname,FirstName,MiddleName.Outputs[Derived Column Output].Columns[FIRST_NAME]} + false + + + + + #{Package\Load Property Employee Persons and Organizations 3\Surname,FirstName,MiddleName.Outputs[Derived Column Output].Columns[MIDDLE_NAME]} + false + + + + + #{Package\Load Property Employee Persons and Organizations 3\Surname,FirstName,MiddleName.Outputs[Derived Column Output].Columns[SURNAME]} + false + + + + + #{Package\Load Property Employee Persons and Organizations 3\PAM_PROPERTY_EMPOYEE.Outputs[OLE DB Source Output].Columns[CITY]} + false + + + + + #{Package\Load Property Employee Persons and Organizations 3\PAM_PROPERTY_EMPOYEE.Outputs[OLE DB Source Output].Columns[REGION_NO]} + false + + + + + #{Package\Load Property Employee Persons and Organizations 3\PAM_PROPERTY_EMPOYEE.Outputs[OLE DB Source Output].Columns[PROPERTY_EMPLOYEE_ID]} + false + + + + + + + + + + + + + + + + + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[REGION_NO]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[ACTIVE_FLAG]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[ADDRESS_LINE_1]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[ADDRESS_LINE_2]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[CITY]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[FAX_NO]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[NAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PHONE_NO]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[POSITION_TITLE]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[POSTAL_CODE]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[CELL_PHONE_NUMBER]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[EMAIL_ADDRESS]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of PROVINCE]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of ADDRESS_LINE_1]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of ADDRESS_LINE_2]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of COMPANY_NAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of FIRST_NAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of MIDDLE_NAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of SURNAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of CITY]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of REGION_NO]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of PROPERTY_EMPLOYEE_ID]} + + + + + + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PROPERTY_EMPLOYEE_ID]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[REGION_NO]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[ACTIVE_FLAG]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[ADDRESS_LINE_1]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[ADDRESS_LINE_2]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[CITY]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[FAX_NO]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[LAST_UPDATE_DATETIME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[LAST_UPDATE_USERID]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[NAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PHONE_NO]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[POSITION_TITLE]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[POSTAL_CODE]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[CELL_PHONE_NUMBER]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[EMAIL_ADDRESS]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[FIRST_NAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[MIDDLE_NAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[SURNAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of PROVINCE]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of ADDRESS_LINE_1]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of ADDRESS_LINE_2]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of COMPANY_NAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of FIRST_NAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of MIDDLE_NAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of SURNAME]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of CITY]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of REGION_NO]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[PROVINCE_STATE_ID]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[COUNTRY_ID]} + + + + + #{Package\Load Property Employee Persons and Organizations 3\Union All 1.Outputs[Union All Output 1].Columns[Copy of PROPERTY_EMPLOYEE_ID]} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + update PIMS_ORGANIZATION +set ORGANIZATION_TYPE_CODE=?, +ORG_IDENTIFIER_TYPE_CODE=?, +ORGANIZATION_NAME=? +where app_last_update_userid=? + 1252 + + + + + + + + + + + + + + + + 65 + + + + + 65 + + + + + 65 + + + + + 65 + + + + + + + + + + + + + + + + + + + + + 0 + Update PIMS_PERSON +set FIRST_NAME=?, +MIDDLE_NAMES=?, +SURNAME=? +where app_last_update_userid=? + 1252 + + + + + + + + + + + + + + + + 65 + + + + + 65 + + + + + 65 + + + + + 65 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Id="Package.PrecedenceConstraints[Constraint]" + TopLeft="454.764084924499,906.578206292126"> + End="108.160152808251,0"> + End="108.160152808251,0" /> - + + Id="Package.PrecedenceConstraints[Constraint 1]" + TopLeft="563.715384784676,990.544467830449"> + End="-59.6102776139913,0"> + End="-59.6102776139913,0" /> - + - - - - - - - OverwriteParamsSQLProp - false - - - UsedTableName - [dbo].[PIMS_PERSON] - - - TableInfoObjectType - 0 - - - DataSourceViewID - - - - - - - OverwriteParamsSQLProp - false - - - UsedTableName - [dbo].[PIMS_PERSON] - - - TableInfoObjectType - 0 - - - DataSourceViewID - - - - - - - OverwriteParamsSQLProp - false - - - UsedTableName - [dbo].[PIMS_PROVINCE_STATE] - - - TableInfoObjectType - 0 - - - DataSourceViewID - - - - - - - DataSourceViewID - - - TableInfoObjectType - Table - - - - - - - OverwriteParamsSQLProp - false - - - - - - - DataSourceViewID - - - - - - - DataSourceViewID - - - TableInfoObjectType - Table - - - - - - - DataSourceViewID - - - - - - - DataSourceViewID - - - - - - - OverwriteParamsSQLProp - false - - - UsedTableName - [dbo].[PIMS_PERSON] - - - TableInfoObjectType - 0 - - - DataSourceViewID - - - - - - - - - - - - - + Id="Package.PrecedenceConstraints[Constraint 13]" + TopLeft="336.755118355471,1550.76451477443"> + End="0,42.8741936903036"> + End="0,42.8741936903036" /> - + + Id="Package.PrecedenceConstraints[Constraint 2]" + TopLeft="340.843563722104,1118.25161921822"> + End="0,42.9258027103424"> + End="0,42.9258027103424" /> @@ -139310,19 +81446,19 @@ where APP_CREATE_USER_DIRECTORY=? + Id="Package.PrecedenceConstraints[Constraint 3]" + TopLeft="344.306871732796,1288.41935163284"> + End="0,44.50098931509"> + End="0,44.50098931509" /> @@ -139332,19 +81468,19 @@ where APP_CREATE_USER_DIRECTORY=? + Id="Package.PrecedenceConstraints[Constraint 4]" + TopLeft="339.006404916681,1463.66452017347"> + End="0,37.5999946009588"> + End="0,37.5999946009588" /> @@ -139354,166 +81490,96 @@ where APP_CREATE_USER_DIRECTORY=? + Id="Package.PrecedenceConstraints[Constraint 5]" + TopLeft="340.210256523117,1210.67742192856"> + End="0,28.2419297042786"> + End="0,28.2419297042786" /> - + - + Id="Package.PrecedenceConstraints[Constraint 6]" + TopLeft="342.305096258448,1011.18710484371"> + End="0,57.5645143745105"> + End="0,57.5645143745105" /> - + - + Id="Package.PrecedenceConstraints[Constraint 7]" + TopLeft="343.724811478307,1382.02034094793"> + End="0,32.14417922554"> + End="0,32.14417922554" /> - + + Id="Package.PrecedenceConstraints[Constraint 8]" + TopLeft="684.569811258713,928.530603868981"> + End="0,33.8712269482106"> + End="0,33.8712269482106" /> - + - - - - - OverwriteParamsSQLProp - false - - - UsedTableName - [dbo].[PIMS_PROPERTY] - - - TableInfoObjectType - 0 - - - DataSourceViewID - - - - - - - OverwriteParamsSQLProp - false - - - UsedTableName - [dbo].[PIMS_PROPERTY] - - - TableInfoObjectType - 0 - - - DataSourceViewID - - - - - - - DataSourceViewID - - - + @@ -139522,11 +81588,15 @@ where APP_CREATE_USER_DIRECTORY=? + TopLeft="468.917039763373,820.286170606342" /> + + TopLeft="774.631325477659,818.600912641255" /> + + TopLeft="455.785714285714,741.428571428571" /> + Size="243.2,41.6" + Id="Package\Load Interest Holder Addresses\Existing PIMS_ADDRESS records" + TopLeft="418.9,568.225914722116" /> + TopLeft="768.642857142857,741.886170606342" /> - + TopLeft="759.357142857143,657.3" /> Size="195.2,42" Id="Package\Load Interest Holder Addresses\PROVINCE_STATE_ID" TopLeft="423.25,327.75" /> - - + - + - + + TopLeft="539.8,703.533333333334"> + End="0,30.3952380952375"> + End="0,30.3952380952375" /> + TopLeft="855.2,698.9"> + End="0,35.4861706063419"> + End="0,35.4861706063419" /> @@ -139733,61 +81793,61 @@ where APP_CREATE_USER_DIRECTORY=? + TopLeft="885.771428571429,612.9"> + End="-27.614285714286,36.9"> + End="0,18.2" /> + + + + + TopLeft="540.357142857143,609.825914722116"> + End="0,44.6074186112179"> - - - - + End="0,44.6074186112179" /> @@ -139817,73 +81877,73 @@ where APP_CREATE_USER_DIRECTORY=? + TopLeft="520.775,369.75"> + End="0,31.8500000000001"> + End="0,31.8500000000001" /> + TopLeft="524.75,205"> + End="0,33.8"> + End="0,33.8" /> + TopLeft="662.1,590.562957361058"> + End="80.971428571429,0"> + End="80.971428571429,0" /> @@ -139918,9 +81978,7 @@ where APP_CREATE_USER_DIRECTORY=? - + - + + TopLeft="852.237091310258,783.886170606342"> + End="0,27.2147420349132"> + End="0,27.2147420349132" /> - + + TopLeft="542.949998708565,526.566666859521"> + End="0,34.1592478625951"> + End="0,34.1592478625951" /> - + + TopLeft="542.951377024544,783.428571428571"> + End="0,29.3575991777705"> + End="0,29.3575991777705" /> - + - + @@ -140085,7 +82133,7 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Interest Holder Addresses\PIMS_ADDRESS records to be updated"> OverwriteParamsSQLProp @@ -140095,7 +82143,7 @@ where APP_CREATE_USER_DIRECTORY=? UsedTableName [dbo].[PIMS_COUNTRY] + type="q3:string">[dbo].[PIMS_ADDRESS] TableInfoObjectType @@ -140108,7 +82156,7 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Interest Holder Addresses\Existing PIMS_ADDRESS records"> OverwriteParamsSQLProp @@ -140130,6 +82178,29 @@ where APP_CREATE_USER_DIRECTORY=? + + + + OverwriteParamsSQLProp + false + + + UsedTableName + [dbo].[PIMS_COUNTRY] + + + TableInfoObjectType + 0 + + + DataSourceViewID + + + @@ -140166,190 +82237,167 @@ where APP_CREATE_USER_DIRECTORY=? - - - - OverwriteParamsSQLProp - false - - - UsedTableName - [dbo].[PIMS_ADDRESS] - - - TableInfoObjectType - 0 - - - DataSourceViewID - - - - - - - - + Size="175.2,41.6" + Id="Package\Load Interest Holder Contact Method\ETL ERROR LOG 1" + TopLeft="2215.61906324871,429.5" /> + Size="299.2,42" + Id="Package\Load Interest Holder Contact Method\CONTACT_METHOD_TYPE_CODE - FAX" + TopLeft="1126.80953943919,301.333333450423" /> + Size="170,42" + Id="Package\Load Interest Holder Contact Method\Data Conversion 4" + TopLeft="2012.42857142857,230" /> + Size="188.8,43.2" + Id="Package\Load Interest Holder Contact Method\ORGANIZATION ID" + TopLeft="1557.07141327291,821.907943308344" /> + Size="170,42" + Id="Package\Load Interest Holder Contact Method\Data Conversion 2" + TopLeft="1194.95239658204,232" /> + Size="174,42" + Id="Package\Load Interest Holder Contact Method\Data Conversion 3" + TopLeft="1603.95239658204,232" /> + - - - + Size="167.2,42" + Id="Package\Load Interest Holder Contact Method\Derived Column 1" + TopLeft="1954.5,1057" /> + Size="386,42" + Id="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO" + TopLeft="685.238110867757,167.190476307566" /> + Size="176.8,42" + Id="Package\Load Interest Holder Contact Method\ETL ERROR LOG 2 1" + TopLeft="2190.61906324871,1055.26666666667" /> + Size="176,42" + Id="Package\Load Interest Holder Contact Method\IS ORGANIZATION" + TopLeft="1328.28571428571,825.714285714286" /> + Size="168,42" + Id="Package\Load Interest Holder Contact Method\ETL ERROR LOG" + TopLeft="1863,428" /> + Size="271.2,41.6" + Id="Package\Load Interest Holder Contact Method\Contact_Method records to be updated2" + TopLeft="2181.64226804124,829.501983835415" /> + Size="170,42" + Id="Package\Load Interest Holder Contact Method\Data Conversion 1" + TopLeft="800,232" /> + Size="139.2,42" + Id="Package\Load Interest Holder Contact Method\PERSON ID" + TopLeft="1571.65074935571,676.3579433445" /> + + + + + + + Id="Package\Load Interest Holder Contact Method\Derived Column 2" + TopLeft="2217.11906324871,502" /> + Size="380,42" + Id="Package\Load Interest Holder Contact Method\CONTACT_METHOD_TYPE_CODE - WORKEMAIL" + TopLeft="1905.1666241818,301.399999338786" /> + Size="374,42" + Id="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - HOME_PHONE_NO" + TopLeft="280.952396582042,162.733333450423" /> + Size="343.2,42" + Id="Package\Load Interest Holder Contact Method\CONTACT_METHOD_TYPE_CODE - WORKPHONE" + TopLeft="709.85715835435,305.666666818195" /> + Size="320,41.6" + Id="Package\Load Interest Holder Contact Method\Insert PIMS_CONTACT_METHOD FOR PERSON" + TopLeft="1780.35714285714,585.142857142857" /> + Size="342,42" + Id="Package\Load Interest Holder Contact Method\CONTACT_METHOD_TYPE_CODE - PERSPHONE" + TopLeft="295.833348797426,310.20000014464" /> + Size="253.6,41.6" + Id="Package\Load Interest Holder Contact Method\Update PIMS_CONTACT_METHOD" + TopLeft="2153.14226804124,908.001983835415" /> + Size="267.2,42" + Id="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL" + TopLeft="1960.76662656599,159.485715773446" /> + Size="352.8,42" + Id="Package\Load Interest Holder Contact Method\CONTACT_METHOD_TYPE_CODE - MOBLPHONE" + TopLeft="1521.33335048622,300.466666880184" /> + + Size="123.2,42" + Id="Package\Load Interest Holder Contact Method\Union All" + TopLeft="1090,420" /> + Size="167.2,42" + Id="Package\Load Interest Holder Contact Method\Derived Column 1 1" + TopLeft="2187.61906324871,981.766666666667" /> @@ -140369,62 +82417,60 @@ where APP_CREATE_USER_DIRECTORY=? - + + TopLeft="1466.2,696.67897167225"> + End="97.9507493557101,0"> + End="97.9507493557101,0" /> + TopLeft="1504.28571428571,845.111114511315"> + End="45.2856989872,0"> + End="45.2856989872,0" /> + TopLeft="464.276198291021,204.733333450423"> - + - + - + - + - + + TopLeft="1936.75714285714,948.742857142857"> + End="74.8095238095266,100.757142857143"> + End="0,60.3386052809749" /> + + + + - + - + + TopLeft="2317.24226804124,871.101983835415"> + End="-37.2999999999997,29.4"> @@ -140739,267 +82783,263 @@ where APP_CREATE_USER_DIRECTORY=? + Point3="-4,18.45" /> + End="-33.2999999999997,18.45" /> + Point1="-33.2999999999997,18.45" + Point2="-37.2999999999997,18.45" + Point3="-37.2999999999997,22.45" /> + End="-37.2999999999997,29.4" /> + TopLeft="1938.02857142857,675.156368673193"> + End="0,-40.9135115303361"> + End="0,-40.9135115303361" /> + TopLeft="1959.54226804124,865.330492285085"> + End="-22.7851251841,34.312364857772"> + End="0,16.906182428886" /> + + + + + TopLeft="2285.1,676.756368673193"> + End="0,-43.1"> - - - - + End="0,-43.1" /> + Id="Package\Load Interest Holder Contact Method.Paths[Lookup Match Output1]" + TopLeft="1745.87141327291,844.019217796714"> + End="85.7708547683301,0"> + End="85.7708547683301,0" /> + Id="Package\Load Interest Holder Contact Method.Paths[Lookup Match Output]" + TopLeft="2079.94226804124,847.41623806025"> + End="94.2000000000003,0"> + End="94.2000000000003,0" /> + Id="Package\Load Interest Holder Contact Method.Paths[Lookup Match Output2]" + TopLeft="2054.5,696.756368673193"> + End="86.8000000000002,0"> + End="86.8000000000002,0" /> + Id="Package\Load Interest Holder Contact Method.Paths[Lookup Match Output3]" + TopLeft="1710.85074935571,696.657156008847"> + End="98.5492506442897,0"> + End="98.5492506442897,0" /> + Id="Package\Load Interest Holder Contact Method.Paths[Derived Column Output4]" + TopLeft="1149,586"> + End="0,33.5"> - - - - + End="0,33.5" /> - + + Id="Package\Load Interest Holder Contact Method.Paths[Derived Column Output]" + TopLeft="2064.63333333333,1057"> + End="-119.233333333333,-6.99999999999977"> + End="0,-18.5" /> + + + + - + - + + Id="Package\Load Interest Holder Contact Method.Paths[Derived Column Output9]" + TopLeft="2299.66906324871,502"> + End="0,-23.3999999999999"> - - - - + End="0,-23.3999999999999" /> - + - + + Id="Package\Load Interest Holder Contact Method.Paths[Derived Column Output2]" + TopLeft="466.833348797426,352.20000014464"> + End="646.333317869241,60.29999985536"> + End="0,45.248425091787" /> + + + + - + - + + Id="Package\Load Interest Holder Contact Method.Paths[Derived Column Output6]" + TopLeft="1697.83335048622,342.466666880184"> + End="-527.166683819553,70.033333119816"> + End="0,41.9226322972907" /> + + + + - + - + - + - + - + + TopLeft="463.716674398713,272.6"> + End="0,30.10000014464"> + End="0,30.10000014464" /> - + - + - + - + + design-time-name="Package\Load Interest Holder Contact Method\ETL ERROR LOG 1"> + + + DataSourceViewID + + + TableInfoObjectType + Table + + + + OverwriteParamsSQLProp @@ -141396,7 +83433,7 @@ where APP_CREATE_USER_DIRECTORY=? UsedTableName [dbo].[PIMS_PERSON] + type="q3:string">[dbo].[PIMS_ORGANIZATION] TableInfoObjectType @@ -141409,15 +83446,7 @@ where APP_CREATE_USER_DIRECTORY=? - - - DataSourceViewID - - - - + design-time-name="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - FAX_NO"> DataSourceViewID @@ -141430,38 +83459,20 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - WORK_PHONE_NO"> DataSourceViewID - - - - - - OverwriteParamsSQLProp - false - - - UsedTableName - [dbo].[PIMS_CONTACT_METHOD] - TableInfoObjectType 0 - - - DataSourceViewID + type="q2:string">Table + design-time-name="Package\Load Interest Holder Contact Method\ETL ERROR LOG 2 1"> DataSourceViewID @@ -141474,7 +83485,7 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Interest Holder Contact Method\ETL ERROR LOG"> DataSourceViewID @@ -141487,7 +83498,7 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Interest Holder Contact Method\Contact_Method records to be updated2"> OverwriteParamsSQLProp @@ -141510,7 +83521,43 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Interest Holder Contact Method\PERSON ID"> + + + OverwriteParamsSQLProp + false + + + UsedTableName + [dbo].[PIMS_PERSON] + + + TableInfoObjectType + 0 + + + DataSourceViewID + + + + + + + DataSourceViewID + + + TableInfoObjectType + Table + + + + OverwriteParamsSQLProp @@ -141533,7 +83580,7 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Interest Holder Contact Method\Contact_Method records to be updated"> OverwriteParamsSQLProp @@ -141543,7 +83590,7 @@ where APP_CREATE_USER_DIRECTORY=? UsedTableName [dbo].[PIMS_ORGANIZATION] + type="q3:string">[dbo].[PIMS_CONTACT_METHOD] TableInfoObjectType @@ -141556,7 +83603,7 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Interest Holder Contact Method\ETL ERROR LOG 2"> DataSourceViewID @@ -141569,7 +83616,15 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - CELL_PHONE_NUMBER"> + + + DataSourceViewID + + + + DataSourceViewID @@ -141582,7 +83637,7 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Interest Holder Contact Method\Insert PIMS_CONTACT_METHOD FOR PERSON"> DataSourceViewID @@ -141595,7 +83650,15 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Interest Holder Contact Method\PAM_INTEREST_HOLDER - EMAIL"> + + + DataSourceViewID + + + + OverwriteParamsSQLProp @@ -141617,171 +83680,158 @@ where APP_CREATE_USER_DIRECTORY=? - - - - DataSourceViewID - - - TableInfoObjectType - Table - - - - + Size="136,42" + Id="Package\Load Interest Holder Persons and Organizations\Multicast" + TopLeft="496.25,570.55" /> + TopLeft="453.5,83" /> + + + TopLeft="353,1227.42428571429" /> + Size="272.8,41.6" + Id="Package\Load Interest Holder Persons and Organizations\Existing PIMS_ORGANIZATION records" + TopLeft="603.5,1063.8" /> + Size="142,42" + Id="Package\Load Interest Holder Persons and Organizations\IS_PERSON" + TopLeft="358,659.16" /> + Size="195.2,42" + Id="Package\Load Interest Holder Persons and Organizations\Fiter pre-existing person" + TopLeft="330.6,824.96" /> + TopLeft="955.488468334802,1291.58234121269" /> + Size="223.2,42" + Id="Package\Load Interest Holder Persons and Organizations\Filter pre-existing organisation" + TopLeft="618.076923556582,823.26580650967" /> + Size="300.8,41.6" + Id="Package\Load Interest Holder Persons and Organizations\PIMS_ORGANIZATION records to be updated" + TopLeft="910.5,1064.8" /> + Size="176.8,42" + Id="Package\Load Interest Holder Persons and Organizations\IS_ORGANIZATION" + TopLeft="647.461558578989,660.04515874239" /> - + TopLeft="446.5,160" /> + TopLeft="945.5,1216.05331346349" /> + Size="194.4,41.6" + Id="Package\Load Interest Holder Persons and Organizations\Update PIMS_PERSON" + TopLeft="78.5,1153.2" /> + Size="226.4,41.6" + Id="Package\Load Interest Holder Persons and Organizations\Insert PIMS_ORGANIZATIION" + TopLeft="631.87300350415,1148.79194149547" /> + TopLeft="279.4,748.72" /> + TopLeft="108.988468334802,1298.08234121269" /> + Size="146.4,41.6" + Id="Package\Load Interest Holder Persons and Organizations\ETL Error Log" + TopLeft="666.488468334802,1294.58234121269" /> + TopLeft="764,155" /> + + TopLeft="662.5,1221.55331346349" /> + Size="107.2,42" + Id="Package\Load Interest Holder Persons and Organizations\Sort 1" + TopLeft="682.307692942535,910.23096785159" /> - + TopLeft="913.5,1145.3" /> - + TopLeft="784.5,316.1" /> + Size="280,42" + Id="Package\Load Interest Holder Persons and Organizations\Format PIMS_Organisation output column" + TopLeft="603.450000550197,982.77483885804" /> + TopLeft="451.5,321.5" /> + TopLeft="379.4,904.32" /> + Size="236,41.6" + Id="Package\Load Interest Holder Persons and Organizations\Existing PIMS_PERSON records" + TopLeft="313.5,1062.3" /> + Size="212,42" + Id="Package\Load Interest Holder Persons and Organizations\Format Organization_Name" + TopLeft="626.861559495983,751.05161081973" /> + TopLeft="353.488468334802,1298.95331346349" /> + Size="186.4,41.6" + Id="Package\Load Interest Holder Persons and Organizations\Insert PIMS_PERSON" + TopLeft="339.264285714286,1150.32428571429" /> + Size="264,41.6" + Id="Package\Load Interest Holder Persons and Organizations\PIMS_PERSON records to be updated" + TopLeft="20.5,1065.7" /> + TopLeft="495.5,413.5" /> + TopLeft="420.25,496.95" /> + + TopLeft="544.083333333333,363.5"> + TopLeft="876.3,1085.1"> + End="26.7000000000002,0"> + End="26.7000000000002,0" /> + TopLeft="313.5,1084.8"> + End="-21.5,0"> + End="-21.5,0" /> + TopLeft="531.433333333333,202"> + Id="Package\Load Interest Holder Persons and Organizations.Paths[Derived Column Output1]" + TopLeft="841.5,358.1"> + End="-260.666666666667,47.9"> + End="0,28.8358662613982" /> + + + + - + + Id="Package\Load Interest Holder Persons and Organizations.Paths[Derived Column Output4]" + TopLeft="741.675000275098,1024.77483885804"> + End="0,31.5251611419601"> + End="0,31.5251611419601" /> - + + Id="Package\Load Interest Holder Persons and Organizations.Paths[Derived Column Output]" + TopLeft="562.5,538.95"> + End="0,24.0999999999999"> - - - - + End="0,24.0999999999999" /> - + + Id="Package\Load Interest Holder Persons and Organizations.Paths[Derived Column Output2]" + TopLeft="829,197"> - + + Id="Package\Load Interest Holder Persons and Organizations.Paths[Derived Column Output3]" + TopLeft="731.269241526282,792.65161081973"> - + + Id="Package\Load Interest Holder Persons and Organizations.Paths[Derived Column Output8]" + TopLeft="1030.4942341674,1257.65331346349"> + End="0,26.4290277492"> + End="0,26.4290277492" /> - + + Id="Package\Load Interest Holder Persons and Organizations.Paths[Derived Column Output5]" + TopLeft="428.5,1024.02"> + End="40.9999999999999,30.78"> + End="0,18.8133333333333" /> + + + + - + + Id="Package\Load Interest Holder Persons and Organizations.Paths[Derived Column Output6]" + TopLeft="428.844234167401,1269.02428571429"> + End="0,22.4290277492003"> - - - - + End="0,22.4290277492003" /> - + + Id="Package\Load Interest Holder Persons and Organizations.Paths[Derived Column Output9]" + TopLeft="740.094234167401,1263.15331346349"> + End="0,23.9290277492"> - - - - + End="0,23.9290277492" /> - + + Id="Package\Load Interest Holder Persons and Organizations.Paths[Derived Column Output7]" + TopLeft="181.744234167401,1267.65331346349"> + End="0,22.9290277492"> - - - - + End="0,22.9290277492" /> - + + TopLeft="429.2,790.32"> - + + TopLeft="533.2,125"> - + + TopLeft="548.6,294.1"> - + + TopLeft="560.625,455.5"> - + + TopLeft="739.678846746366,952.23096785159"> + End="0,23.04387100645"> + End="0,23.04387100645" /> - + + TopLeft="428.45,946.32"> + End="0,28.5999999999999"> + End="0,28.5999999999999" /> - + + TopLeft="429.6,701.16"> + TopLeft="734.361559037486,701.64515874239"> + TopLeft="534.25,51.9999999999999"> - + + TopLeft="742.786501752075,1190.39194149547"> + End="0,23.6613719680201"> - - - - + End="0,23.6613719680201" /> + TopLeft="431.732142857143,1191.92428571429"> + End="0,28"> + End="0,28" /> + TopLeft="178.5,1194.8"> + End="0,23.75331346349"> - - - - + End="0,23.75331346349" /> + TopLeft="1028.5,1186.9"> + End="0,21.6533134634901"> - - - - + End="0,21.6533134634901" /> + TopLeft="542.916666666667,612.55"> - + + TopLeft="585.583333333333,612.55"> - + + Id="Package\Load Interest Holder Persons and Organizations.Paths[Lookup No Match Output]" + TopLeft="1060.9,1106.4"> + End="-31.8000000000002,31.4000000000001"> + End="0,15.45" /> + + + + + Id="Package\Load Interest Holder Persons and Organizations.Paths[Lookup No Match Output3]" + TopLeft="742.486501752075,1105.4"> + End="0,35.8919414954701"> + End="0,35.8919414954701" /> + Id="Package\Load Interest Holder Persons and Organizations.Paths[Lookup No Match Output2]" + TopLeft="732.792308249559,865.26580650967"> + End="0,37.46516134192"> + End="0,37.46516134192" /> + Id="Package\Load Interest Holder Persons and Organizations.Paths[Lookup No Match Output1]" + TopLeft="152.5,1107.3"> + End="23.2,38.4000000000001"> + End="0,18.95" /> + + + + + Id="Package\Load Interest Holder Persons and Organizations.Paths[Lookup No Match Output5]" + TopLeft="428.4,866.56"> + End="0,30.2600000000002"> - - - - + End="0,30.2600000000002" /> + Id="Package\Load Interest Holder Persons and Organizations.Paths[Lookup No Match Output7]" + TopLeft="644.3,339.7"> + End="132.7,0"> + End="132.7,0" /> + Id="Package\Load Interest Holder Persons and Organizations.Paths[Lookup No Match Output6]" + TopLeft="431.982142857143,1103.9"> + End="0,38.9242857142901"> + End="0,38.9242857142901" /> + Id="Package\Load Interest Holder Persons and Organizations.Paths[Lookup No Match Output4]" + TopLeft="618.5,178.5"> + End="138,0"> + End="138,0" /> @@ -142803,7 +84767,7 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Interest Holder Persons and Organizations\Existing PIMS_ORGANIZATION records"> OverwriteParamsSQLProp @@ -142826,7 +84790,7 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Interest Holder Persons and Organizations\Fiter pre-existing person"> OverwriteParamsSQLProp @@ -142836,20 +84800,17 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Interest Holder Persons and Organizations\Filter pre-existing organisation"> - DataSourceViewID - - - TableInfoObjectType + OverwriteParamsSQLProp Table + type="q2:string">false + design-time-name="Package\Load Interest Holder Persons and Organizations\PIMS_ORGANIZATION records to be updated"> OverwriteParamsSQLProp @@ -142859,7 +84820,7 @@ where APP_CREATE_USER_DIRECTORY=? UsedTableName [dbo].[PIMS_PERSON] + type="q3:string">[dbo].[PIMS_ORGANIZATION] TableInfoObjectType @@ -142872,7 +84833,7 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Interest Holder Persons and Organizations\Existing PIMS_PERSON records"> OverwriteParamsSQLProp @@ -142882,7 +84843,7 @@ where APP_CREATE_USER_DIRECTORY=? UsedTableName [dbo].[PIMS_ORGANIZATION] + type="q3:string">[dbo].[PIMS_PERSON] TableInfoObjectType @@ -142895,7 +84856,7 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Interest Holder Persons and Organizations\PIMS_PERSON records to be updated"> OverwriteParamsSQLProp @@ -142918,12 +84879,15 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Interest Holder Persons and Organizations\PAM_INTEREST_HOLDER"> - OverwriteParamsSQLProp + DataSourceViewID + + + TableInfoObjectType false + type="q2:string">Table @@ -142933,135 +84897,153 @@ where APP_CREATE_USER_DIRECTORY=? + Size="174,42" + Id="Package\Load Land Parcel\PS_FILE_NUMBER" + TopLeft="145.294109677925,766.418023931026" /> + Size="156,41.6" + Id="Package\Load Land Parcel\Derived Column 1" + TopLeft="804.351797989637,1501.66451124174" /> + Size="288,42" + Id="Package\Load Land Parcel\Null Correction for Region and District Code" + TopLeft="63.5210240187118,334.889114160567" /> + - + Size="255.2,42" + Id="Package\Load Land Parcel\LAND as PROPERTY_TYPE_CODE" + TopLeft="63.9056427186152,93.0826648827271" /> + Size="165.6,41.6" + Id="Package\Load Land Parcel\ETL ERROR LOG" + TopLeft="316.160772370937,1577.66451124174" /> - - + Size="127.2,41.6" + Id="Package\Load Land Parcel\Audit Trail" + TopLeft="171.942310496195,1181.61289635608" /> + Size="299.2,42" + Id="Package\Load Land Parcel\PROPERTY AND PPH STATUS TYPE CODE" + TopLeft="86.9423095792003,1018.87096245257" /> + Size="231.2,41.6" + Id="Package\Load Land Parcel\Insert PIMS_PROPERTY_HIST" + TopLeft="280.500011187334,1422.50644527856" /> + + Size="312,42" + Id="Package\Load Land Parcel\COREOPER as PROPERTY_CLASSIFICATION" + TopLeft="42.3671792897341,175.082664082871" /> + Size="165.6,41.6" + Id="Package\Load Land Parcel\ETL ERROR LOG 2" + TopLeft="72.5607723709373,1511.92257720492" /> + Size="229.6,41.6" + Id="Package\Load Land Parcel\AREA and AREA_UNIT_CODE" + TopLeft="101.121033555455,497.101896137256" /> + Size="186,42" + Id="Package\Load Land Parcel\PAM_LAND_PARCEL" + TopLeft="101.653849680748,5.5" /> + Size="200,41.6" + Id="Package\Load Land Parcel\Insert PIMS_PROPERTY" + TopLeft="37.3076942263271,1344.9743768459" /> + Size="156,41.6" + Id="Package\Load Land Parcel\Derived Column 2" + TopLeft="72.3517979896373,1432.86451124174" /> + + + + + + + Id="Package\Load Land Parcel.Paths[Union All Output 11]" + TopLeft="702,1362.65178998735"> + End="40.769249504135,0"> + End="40.769249504135,0" /> - + + Id="Package\Load Land Parcel.Paths[Union All Output 1]" + TopLeft="232.514365220533,727.701609170028"> + End="0,31.2164147609981"> + End="0,31.2164147609981" /> @@ -143071,19 +85053,19 @@ where APP_CREATE_USER_DIRECTORY=? + Id="Package\Load Land Parcel.Paths[OLE DB Source Output]" + TopLeft="192.979746199682,47.1"> + End="0,38.4826648827271"> + End="0,38.4826648827271" /> @@ -143093,129 +85075,331 @@ where APP_CREATE_USER_DIRECTORY=? + Id="Package\Load Land Parcel.Paths[OLE DB Destination Error Output1]" + TopLeft="395.225904588486,1464.10644527856"> + End="0,37.4000000000001"> + End="0,37.4000000000001" /> - + + Id="Package\Load Land Parcel.Paths[OLE DB Destination Error Output]" + TopLeft="137.307694226327,1386.5743768459"> + End="13.0441037633102,38.7901343958401"> + End="0,19.1450671979201" /> + + + + - + + Id="Package\Load Land Parcel.Paths[OLE DB Command Error Output]" + TopLeft="881.379754636032,1462.49067601999"> + End="0,31.6738352217517"> + End="0,31.6738352217517" /> - + + Id="Package\Load Land Parcel.Paths[Lookup No Match Output3]" + TopLeft="393.492318061401,1385.33583756188"> + End="0,29.67060771668"> + End="0,29.67060771668" /> - + + Id="Package\Load Land Parcel.Paths[Lookup No Match Output2]" + TopLeft="178.987700222122,538.701896137256"> + End="-73.8359022324844,49.8161297934111"> + End="0,19.1644427677177" /> + + + + - + + Id="Package\Load Land Parcel.Paths[Lookup No Match Output1]" + TopLeft="188.023079744599,1305.21773436427"> + End="-50.7153855182716,32.25664248163"> + End="0,12.0240513208402" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -143225,31 +85409,31 @@ where APP_CREATE_USER_DIRECTORY=? + Id="Package\Load Land Parcel.Paths[Derived Column Output11]" + TopLeft="105.151797989637,638.018025930667"> + End="108.582822773504,40.1835832393609"> + End="0,24.2397920155439" /> + Point1="0,24.2397920155439" + Point2="0,28.2397920155439" + Point3="4,28.2397920155439" /> + End="104.582822773504,28.2397920155439" /> + Point1="104.582822773504,28.2397920155439" + Point2="108.582822773504,28.2397920155439" + Point3="108.582822773504,32.2397920155439" /> + End="108.582822773504,40.1835832393609" /> @@ -143259,7 +85443,7 @@ where APP_CREATE_USER_DIRECTORY=? + Id="Package\Load Land Parcel.Paths[Derived Column Output9]" + TopLeft="201.121025119105,216.682664082871"> + End="0,32.4806443678848"> + End="0,32.4806443678848" /> @@ -143303,31 +85487,19 @@ where APP_CREATE_USER_DIRECTORY=? + Id="Package\Load Land Parcel.Paths[Derived Column Output8]" + TopLeft="237.182695120397,1223.21289635608"> + End="0,32.5048380081901"> - - - - + End="0,32.5048380081901" /> @@ -143337,19 +85509,19 @@ where APP_CREATE_USER_DIRECTORY=? + Id="Package\Load Land Parcel.Paths[Derived Column Output7]" + TopLeft="238.828848190632,1140.66934878335"> + End="0,33.44354757273"> + End="0,33.44354757273" /> @@ -143359,19 +85531,19 @@ where APP_CREATE_USER_DIRECTORY=? + Id="Package\Load Land Parcel.Paths[Derived Column Output6]" + TopLeft="233.878848419881,977.003221339515"> + End="0,34.3677411130516"> + End="0,34.3677411130516" /> @@ -143381,19 +85553,19 @@ where APP_CREATE_USER_DIRECTORY=? + Id="Package\Load Land Parcel.Paths[Derived Column Output5]" + TopLeft="882.056285180287,1543.26451124174"> + End="0,25.1580659631811"> + End="0,25.1580659631811" /> @@ -143403,243 +85575,135 @@ where APP_CREATE_USER_DIRECTORY=? - - - - - - - - - - - - - - - - - - + Id="Package\Load Land Parcel.Paths[Derived Column Output4]" + TopLeft="194.936411004175,134.682664882727"> + End="0,32.8999992001441"> - - - - + End="0,32.8999992001441" /> - + + Id="Package\Load Land Parcel.Paths[Derived Column Output3]" + TopLeft="234.36141753776,808.418023931026"> + End="0,33.169068314951"> - - - - + End="0,33.169068314951" /> - + + Id="Package\Load Land Parcel.Paths[Derived Column Output2]" + TopLeft="210.451796430747,376.489114160567"> + End="0,27.7708454736463"> - - - - + End="0,27.7708454736463" /> - + + Id="Package\Load Land Parcel.Paths[Derived Column Output1]" + TopLeft="152.856285180287,1474.46451124174"> + End="0,29.9580659631813"> - - - - + End="0,29.9580659631813" /> - + + Id="Package\Load Land Parcel.Paths[Derived Column Output]" + TopLeft="396.656285180287,1550.60644527856"> + End="0,19.5580659631812"> - - - - + End="0,19.5580659631812" /> - + + Id="Package\Load Land Parcel.Paths[Data Conversion Output]" + TopLeft="233.822056329079,890.687092245977"> + End="0,37.2161290935379"> + End="0,37.2161290935379" /> - + @@ -143669,7 +85733,20 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Land Parcel\Insert PIMS_PROPERTY_HIST"> + + + DataSourceViewID + + + TableInfoObjectType + Table + + + + DataSourceViewID @@ -143704,19 +85781,6 @@ where APP_CREATE_USER_DIRECTORY=? - - - - DataSourceViewID - - - TableInfoObjectType - Table - - - @@ -143725,792 +85789,794 @@ where APP_CREATE_USER_DIRECTORY=? + TopLeft="1069,542.1" /> + TopLeft="1285.66666666667,288" /> + + + + TopLeft="462.2,201.5" /> + Size="171.2,42" + Id="Package\Load Person Address and Organization Address\PIMS Organization" + TopLeft="611.6,5.49999999999989" /> + Id="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2" + TopLeft="446.833333333333,615.1" /> + Size="252.8,41.6" + Id="Package\Load Person Address and Organization Address\Update PIMS_PERSON_ADDRESS" + TopLeft="751.004909560723,458.5" /> + TopLeft="799.833333333333,542.433333333333" /> - + TopLeft="705.7,198.5" /> + TopLeft="1058.3,291.666666666667" /> + Size="174,42" + Id="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 1" + TopLeft="111.666666666667,612.266666666667" /> + Size="331.2,41.6" + Id="Package\Load Person Address and Organization Address\Existing PIMS_ORGANIZATION_ADDRESS records" + TopLeft="387.7,362.833333333333" /> + + TopLeft="1275.6,391" /> + Size="359.2,41.6" + Id="Package\Load Person Address and Organization Address\PIMS_ORGANIZATION_ADDRESS records to be updated" + TopLeft="0.366666666666589,359.666666666667" /> + Size="212,41.6" + Id="Package\Load Person Address and Organization Address\PIMS PERSON_ADDRESS" + TopLeft="1042.1,464.5" /> - + TopLeft="114.666666666667,536.6" /> + Size="248,41.6" + Id="Package\Load Person Address and Organization Address\PIMS ORGANIZATION_ADDRESS" + TopLeft="405.866666666667,458.666666666667" /> + TopLeft="588.2,107.5" /> + Size="243.2,41.6" + Id="Package\Load Person Address and Organization Address\Existing PIMS_ADDRESS records" + TopLeft="736.67157622739,361.666666666667" /> - - + Id="Package\Load Person Address and Organization Address\ETL_ERROR_LOG" + TopLeft="698.7,281.5" /> + TopLeft="448.5,542.1" /> + TopLeft="407.7,285" /> + Size="288.8,41.6" + Id="Package\Load Person Address and Organization Address\Update PIMS_ORGANIZATION_ADDRESS" + TopLeft="52.3333333333333,455.5" /> + TopLeft="1120.2,203" /> + Id="Package\Load Person Address and Organization Address.Paths[Lookup No Match Output4]" + TopLeft="730.333333333333,149.1"> + End="53.3666666666667,41.9"> + End="0,15.9787453874539" /> + + + + + Id="Package\Load Person Address and Organization Address.Paths[Lookup No Match Output5]" + TopLeft="607.166666666667,404.433333333333"> + End="-77.2999999999995,46.733333333334"> + End="0,17.8497756410259" /> + Point1="0,17.8497756410259" + Point2="0,21.8497756410259" + Point3="-4,21.8497756410259" /> + End="-73.2999999999995,21.8497756410259" /> + Point1="-73.2999999999995,21.8497756410259" + Point2="-77.2999999999995,21.8497756410259" + Point3="-77.2999999999995,25.8497756410259" /> + End="-77.2999999999995,46.733333333334" /> + Id="Package\Load Person Address and Organization Address.Paths[Lookup Match Output3]" + TopLeft="661.266666666667,149.1"> + End="-130.066666666667,44.8999999999999"> + End="0,17.1920295202952" /> + + + + + Id="Package\Load Person Address and Organization Address.Paths[Lookup Match Output2]" + TopLeft="387.7,382.05"> + End="-20.6333333333333,0"> - - - - + End="-20.6333333333333,0" /> + Id="Package\Load Person Address and Organization Address.Paths[Lookup Match Output1]" + TopLeft="1009.50490956072,381.633333333334"> + End="-22.1333333333332,0"> - - - - + End="-22.1333333333332,0" /> + Id="Package\Load Person Address and Organization Address.Paths[Lookup Match Output]" + TopLeft="1194.2,245"> + End="-72.3000000000002,39.1666666666667"> + End="0,14.8706739526412" /> + + + + + Id="Package\Load Person Address and Organization Address.Paths[Derived Column Output7]" + TopLeft="1121.9,333.266666666667"> + End="22.8049095607237,19.233333333333"> + End="0,9.36666666666648" /> + + + + - + + Id="Package\Load Person Address and Organization Address.Paths[Derived Column Output6]" + TopLeft="533.95,243.5"> + End="0,34"> + End="0,34" /> - + + Id="Package\Load Person Address and Organization Address.Paths[Derived Column Output5]" + TopLeft="1368.23333333333,330"> + End="0,53.4999999999999"> - - - - + End="0,53.4999999999999" /> - + + Id="Package\Load Person Address and Organization Address.Paths[Derived Column Output4]" + TopLeft="1148.5,584.1"> + End="0,31.4999999999999"> - - - - + End="0,31.4999999999999" /> - + + Id="Package\Load Person Address and Organization Address.Paths[Derived Column Output3]" + TopLeft="530.666666666667,584.1"> + End="0,23.5000000000002"> - - - - + End="0,23.5000000000002" /> - + + Id="Package\Load Person Address and Organization Address.Paths[Derived Column Output2]" + TopLeft="200.066666666666,578.2"> + End="0,26.5666666666668"> + End="0,26.5666666666668" /> - + + Id="Package\Load Person Address and Organization Address.Paths[Derived Column Output1]" + TopLeft="881,584.433333333333"> + End="0,28.8333333333335"> + End="0,28.8333333333335" /> - + + Id="Package\Load Person Address and Organization Address.Paths[Derived Column Output]" + TopLeft="784.7,240.1"> + End="0,33.9"> - - - - + End="0,33.9" /> - + + Id="Package\Load Person Address and Organization Address.Paths[Sort Output]" + TopLeft="536.7,327"> + End="16.6,28.333333333333"> + End="0,13.9166666666665" /> + + + + - + + Id="Package\Load Person Address and Organization Address.Paths[OLE DB Source Output]" + TopLeft="1227.7,133.5"> + End="0,62"> + End="0,62" /> - + + Id="Package\Load Person Address and Organization Address.Paths[OLE DB Source Output1]" + TopLeft="696.5,47.4999999999999"> + End="0,52.5000000000001"> + End="0,52.5000000000001" /> - + + Id="Package\Load Person Address and Organization Address.Paths[OLE DB Destination Error Output1]" + TopLeft="1148.05,506.1"> + End="0,28.5000000000001"> + End="0,28.5000000000001" /> + Id="Package\Load Person Address and Organization Address.Paths[OLE DB Destination Error Output]" + TopLeft="528.683333333333,500.266666666667"> + End="0,34.3333333333333"> + End="0,34.3333333333333" /> + Id="Package\Load Person Address and Organization Address.Paths[OLE DB Command Error Output1]" + TopLeft="878.119121447028,500.1"> + End="0,34.8333333333332"> + End="0,34.8333333333332" /> + Id="Package\Load Person Address and Organization Address.Paths[OLE DB Command Error Output]" + TopLeft="199.1,497.1"> + End="0,31.9999999999999"> + End="0,31.9999999999999" /> + Id="Package\Load Person Address and Organization Address.Paths[Lookup No Match Output2]" + TopLeft="1146.40245478036,401.6"> + End="0,55.4"> + End="0,55.4" /> + Id="Package\Load Person Address and Organization Address.Paths[Lookup No Match Output1]" + TopLeft="179.966666666667,401.266666666667"> + End="16.7666666666667,46.7333333333329"> + End="0,23.1166666666664" /> + + + + + Id="Package\Load Person Address and Organization Address.Paths[Lookup No Match Output]" + TopLeft="858.27157622739,403.266666666667"> + End="19.1333333333328,47.733333333333"> + End="0,23.6166666666665" /> + + + + + Id="Package\Load Person Address and Organization Address.Paths[Lookup No Match Output3]" + TopLeft="1264.2,245"> + End="105.066666666667,35.5000000000001"> + End="0,13.3879781420765" /> + + + + @@ -144518,7 +86584,7 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Person Address and Organization Address\PIMS_ADDRESS records to be updated"> OverwriteParamsSQLProp @@ -144541,7 +86607,46 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 2 1"> + + + DataSourceViewID + + + TableInfoObjectType + Table + + + + + + + DataSourceViewID + + + TableInfoObjectType + Table + + + + + + + DataSourceViewID + + + TableInfoObjectType + Table + + + + OverwriteParamsSQLProp @@ -144564,7 +86669,20 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Person Address and Organization Address\ETL_ERROR_LOG 2 2"> + + + DataSourceViewID + + + TableInfoObjectType + Table + + + + OverwriteParamsSQLProp @@ -144587,7 +86705,7 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Person Address and Organization Address\Existing PIMS_ADDRESS records"> OverwriteParamsSQLProp @@ -144617,379 +86735,360 @@ where APP_CREATE_USER_DIRECTORY=? + TopLeft="132.256413811527,500.402144026979" /> + Size="164,41.6" + Id="Package\Load PIMS_PROP_PROP_TENURE_TYPE\PAM PROPERTY" + TopLeft="113.461542623283,25.5806447678129" /> - + TopLeft="492.923080478194,504.226876656826" /> + TopLeft="132.465388192827,579.46020999016" /> - + TopLeft="482.632054859494,580.784942620007" /> + Size="370.4,41.6" + Id="Package\Load PIMS_PROP_PROP_TENURE_TYPE\PIMS_PROP_PROP_TENURE_TYPE records to be updated" + TopLeft="429.5,334" /> + Size="342.4,41.6" + Id="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Existing PIMS_PROP_PROP_TENURE_TYPE records" + TopLeft="47.5,331" /> + TopLeft="443.5,426" /> + + + Id="Package\Load PIMS_PROP_PROP_TENURE_TYPE.Paths[Derived Column Output1]" + TopLeft="212.760901002177,542.002144026979"> + End="0,29.9580659631812"> - - - - + End="0,29.9580659631812" /> - + + Id="Package\Load PIMS_PROP_PROP_TENURE_TYPE.Paths[Derived Column Output]" + TopLeft="206.630774154325,294.470963852314"> + End="12.069225845675,29.029036147686"> + End="0,14.264518073843" /> + Point1="0,14.264518073843" + Point2="0,18.264518073843" + Point3="4,18.264518073843" /> + End="8.06922584567502,18.264518073843" /> + Point1="8.06922584567502,18.264518073843" + Point2="12.069225845675,18.264518073843" + Point3="12.069225845675,22.264518073843" /> + End="12.069225845675,29.029036147686" /> - + + Id="Package\Load PIMS_PROP_PROP_TENURE_TYPE.Paths[Data Conversion Output]" + TopLeft="203.461543356879,140.148385580918"> + End="0,20.0129021550317"> - - - - + End="0,20.0129021550317" /> - + + Id="Package\Load PIMS_PROP_PROP_TENURE_TYPE.Paths[OLE DB Source Output]" + TopLeft="197.530773512429,67.1806447678129"> + End="0,23.8677408131054"> + End="0,23.8677408131054" /> - + + Id="Package\Load PIMS_PROP_PROP_TENURE_TYPE.Paths[OLE DB Destination Error Output]" + TopLeft="211.08974714486,465.793543323493"> + End="0,27.1086007034859"> + End="0,27.1086007034859" /> + Id="Package\Load PIMS_PROP_PROP_TENURE_TYPE.Paths[OLE DB Command Error Output]" + TopLeft="574.211540239097,467.6"> + End="0,29.1268766568259"> + End="0,29.1268766568259" /> + Id="Package\Load PIMS_PROP_PROP_TENURE_TYPE.Paths[Lookup No Match Output1]" + TopLeft="614.7,375.6"> + End="-37.1999999999999,42.9"> + End="0,21.2" /> + + + + + Id="Package\Load PIMS_PROP_PROP_TENURE_TYPE.Paths[Lookup No Match Output]" + TopLeft="215.311540239097,372.6"> + End="0,44.093543323493"> + End="0,44.093543323493" /> + Id="Package\Load PIMS_PROP_PROP_TENURE_TYPE.Paths[Lookup Match Output1]" + TopLeft="389.9,353.3"> + End="32.1,0"> + End="32.1,0" /> + Id="Package\Load PIMS_PROP_PROP_TENURE_TYPE.Paths[Lookup Match Output]" + TopLeft="206.976928233254,209.26128773595"> + End="0,36.109676116364"> + End="0,36.109676116364" /> + Id="Package\Load PIMS_PROP_PROP_TENURE_TYPE.Paths[Derived Column Output2]" + TopLeft="568.177567668844,545.826876656826"> + End="0,27.4580659631811"> + End="0,27.4580659631811" /> - + + design-time-name="Package\Load PIMS_PROP_PROP_TENURE_TYPE\ETL ERROR LOG"> - OverwriteParamsSQLProp - false - - - UsedTableName - [dbo].[PIMS_PROP_PROP_TENURE_TYPE] + DataSourceViewID TableInfoObjectType 0 + type="q2:string">Table + + + + DataSourceViewID + + TableInfoObjectType + Table + + design-time-name="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Existing PIMS_PROP_PROP_TENURE_TYPE records"> OverwriteParamsSQLProp @@ -145012,7 +87111,7 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load PIMS_PROP_PROP_TENURE_TYPE\Lookup PIMS_PROPERTY"> OverwriteParamsSQLProp @@ -145029,235 +87128,258 @@ where APP_CREATE_USER_DIRECTORY=? + + + + OverwriteParamsSQLProp + false + + + UsedTableName + [dbo].[PIMS_PROP_PROP_TENURE_TYPE] + + + TableInfoObjectType + 0 + + + DataSourceViewID + + + - - - + Size="246,42" + Id="Package\Load Properties 1\PAM_TAKE_INTEREST_HOLDER" + TopLeft="434.7,1224.7" /> + Size="107.2,42" + Id="Package\Load Properties 1\Sort 1" + TopLeft="261.22307442603,3049.72580650968" /> + Size="136.8,42" + Id="Package\Load Properties 1\Union All 10" + TopLeft="489.5,2443.90000000001" /> + Size="132.8,41.6" + Id="Package\Load Properties 1\Description" + TopLeft="680.5,3247.21885470606" /> + TopLeft="433.269230980845,3431.70000000001" /> - + Size="162,42" + Id="Package\Load Properties 1\PIMS_PERSON2" + TopLeft="476.7,2748.70000000001" /> + Size="232.8,42" + Id="Package\Load Properties 1\PAM_PROPERTY_EMPLOYEE" + TopLeft="441.5,2240.70000000001" /> + Size="239.2,42" + Id="Package\Load Properties 1\Surname,FirstName,MiddleName" + TopLeft="438.3,2545.50000000001" /> + TopLeft="462.769223094691,4009.47741692948" /> + Size="164.8,42" + Id="Package\Load Properties 1\Derived Column 7" + TopLeft="332.5,2037.50000000001" /> + Size="234,42" + Id="Package\Load Properties 1\PAM_PROPERTY_CONTRACT" + TopLeft="441.1,1935.90000000001" /> + Size="146,42" + Id="Package\Load Properties 1\PAM Property" + TopLeft="485.1,5.50000000000018" /> + Size="164.8,42" + Id="Package\Load Properties 1\Derived Column 6" + TopLeft="332.5,1732.70000000001" /> + Size="224,41.6" + Id="Package\Load Properties 1\Lookup PAM_LAND_PARCEL" + TopLeft="334.269225295479,3239.81562906732" /> + Size="259.2,42" + Id="Package\Load Properties 1\PROPERTY_DATA_SOURCE_TYPE" + TopLeft="418.453846746366,3514.12258067097" /> + Size="250.4,41.6" + Id="Package\Load Properties 1\Existing PIMS_PROPERTY records" + TopLeft="122.312713207158,3854.97096405228" /> + Size="177.6,41.6" + Id="Package\Load Properties 1\ORGANIZATION_ID" + TopLeft="689.3,2850.30000000001" /> + Size="127.2,42" + Id="Package\Load Properties 1\Audit Trail" + TopLeft="482.83846196169,3776.43870966453" /> + Size="136,42" + Id="Package\Load Properties 1\PAM_TAKE" + TopLeft="489.9,919.900000000003" /> + Size="255.2,42" + Id="Package\Load Properties 1\LAND as PROPERTY_TYPE_CODE" + TopLeft="428.1,116.900000000001" /> + Id="Package\Load Properties 1\Multicast 3" + TopLeft="492.7,2647.10000000001" /> + Size="164.8,42" + Id="Package\Load Properties 1\Derived Column 3" + TopLeft="332.5,1326.3" /> + Size="199.2,42" + Id="Package\Load Properties 1\PIMS_ORGANIZATION2" + TopLeft="217.3,2748.70000000001" /> + Size="122,42" + Id="Package\Load Properties 1\Multicast" + TopLeft="497.1,1529.50000000001" /> + Size="130,42" + Id="Package\Load Properties 1\Union All 6" + TopLeft="492.7,2139.10000000001" /> + Size="98,42" + Id="Package\Load Properties 1\Sort" + TopLeft="496.7,3053.50000000001" /> + Size="122,42" + Id="Package\Load Properties 1\Union All" + TopLeft="497.1,818.300000000003" /> + Size="164.8,42" + Id="Package\Load Properties 1\Derived Column 2" + TopLeft="248.5,1021.5" /> + Size="140.8,41.6" + Id="Package\Load Properties 1\PERSON_ID" + TopLeft="231.3,2850.30000000001" /> + Size="200,41.6" + Id="Package\Load Properties 1\Insert PIMS_PROPERTY" + TopLeft="444.84102590907,3934.858063297" /> + Size="130,42" + Id="Package\Load Properties 1\Union All 1" + TopLeft="492.7,1123.1" /> + Size="130,42" + Id="Package\Load Properties 1\Union All 7" + TopLeft="251.7,2951.90000000001" /> + Size="199.2,42" + Id="Package\Load Properties 1\Area and Area Unit Code" + TopLeft="458.3,615.100000000002" /> + Size="171.2,42" + Id="Package\Load Properties 1\Derived Column 14" + TopLeft="325.3,2342.30000000001" /> + - + TopLeft="504.453847113164,715.861290335483" /> + Size="198.4,41.6" + Id="Package\Load Properties 1\PERSON and ORG_ID 1" + TopLeft="5.50000000000031,2850.30000000001" /> + Size="324.8,42" + Id="Package\Load Properties 1\PROPERTY_DATA_SOURCE_EFFECTIVE_DATE" + TopLeft="380.576923373183,3686.29032268386" /> + Size="277.6,41.6" + Id="Package\Load Properties 1\PIMS_PROPERTY records to be updated" + TopLeft="422.030674226941,3853.89509939393" /> + Size="189.6,41.6" + Id="Package\Load Properties 1\PERSON and ORG_ID" + TopLeft="463.5,2850.30000000001" /> - - + Size="130,42" + Id="Package\Load Properties 1\Union All 5" + TopLeft="492.7,1834.30000000001" /> + Size="284,42" + Id="Package\Load Properties 1\SURPLUS_DECLARATION_TYPE_CODE" + TopLeft="403.400000366798,3595.60967751612" /> + + + + + + Size="132,42" + Id="Package\Load Properties 1\Merge Join" + TopLeft="374.130765351177,3154.68064516775" /> + + Id="Package\Load Properties 1\Union All 3" + TopLeft="483.423077177014,3340.55756437058" /> @@ -145277,129 +87399,73 @@ where APP_CREATE_USER_DIRECTORY=? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + Id="Package\Load Properties 1.Paths[Union All Output 13]" + TopLeft="557.9,2485.50000000001"> + End="0,52.5"> + End="0,52.5" /> - + + Id="Package\Load Properties 1.Paths[Union All Output 17]" + TopLeft="546.046154078929,3382.55756437058"> + End="0,41.6424356294315"> + End="0,41.6424356294315" /> - + + Id="Package\Load Properties 1.Paths[Union All Output 11]" + TopLeft="315.761537213015,2993.90000000001"> + End="0,48.325806509667"> + End="0,48.325806509667" /> - + - + + Id="Package\Load Properties 1.Paths[Union All Output 1]" + TopLeft="557.9,859.900000000003"> + End="0,52.5000000000003"> - + End="0,52.5000000000003" /> + + + + + + + + + + + + + - + End="0,52.5000000000005" /> + + + + + + + + + + + + + + End="0,52.5000000000005" /> - + + Id="Package\Load Properties 1.Paths[Union All Output 16]" + TopLeft="557.9,1469.5"> + End="0,52.5000000000005"> + End="0,52.5000000000005" /> - + + TopLeft="545.7,3095.50000000001"> + End="-84.9025679821566,51.6806451677407"> + End="0,31.0831369557266" /> + Point1="0,31.0831369557266" + Point2="0,35.0831369557266" + Point3="-4,35.0831369557266" /> + End="-80.9025679821566,35.0831369557266" /> + Point1="-80.9025679821566,35.0831369557266" + Point2="-84.9025679821566,35.0831369557266" + Point3="-84.9025679821566,39.0831369557266" /> + End="-84.9025679821566,51.6806451677407" /> - + + TopLeft="314.82307442603,3091.72580650968"> + End="104.64102425848,55.4548386580736"> + End="0,33.3205330967023" /> + Point1="0,33.3205330967023" + Point2="0,37.3205330967023" + Point3="4,37.3205330967023" /> + End="100.64102425848,37.3205330967023" /> + Point1="100.64102425848,37.3205330967023" + Point2="104.64102425848,37.3205330967023" + Point3="104.64102425848,41.3205330967023" /> + End="104.64102425848,55.4548386580736" /> - + - + + TopLeft="545.005124501881,3976.458063297"> + End="0,25.51935363248"> + End="0,25.51935363248" /> + TopLeft="251.538462511887,3975.98386600735"> + End="0,26.5193590315157"> - - - - + End="0,26.5193590315157" /> @@ -145661,9 +87735,7 @@ where APP_CREATE_USER_DIRECTORY=? - + - + - + + TopLeft="443.199995323328,3196.68064516775"> + + + + + + + + + + + + + + + End="114.730774704521,0"> + End="114.730774704521,0" /> + Id="Package\Load Properties 1.Paths[Lookup No Match Output9]" + TopLeft="285.033333333333,2790.70000000001"> + End="-180.333333333333,52.1000000000004"> + End="0,20.124940239044" /> + Point1="0,20.124940239044" + Point2="0,24.124940239044" + Point3="-4,24.124940239044" /> + End="-176.333333333333,24.124940239044" /> + Point1="-176.333333333333,24.124940239044" + Point2="-180.333333333333,24.124940239044" + Point3="-180.333333333333,28.124940239044" /> + End="-180.333333333333,52.1000000000004" /> + Id="Package\Load Properties 1.Paths[Lookup No Match Output8]" + TopLeft="560.830674226941,3895.49509939393"> + End="-15.9896483178705,31.8629639030733"> + End="0,15.6814819515366" /> + + + + + Id="Package\Load Properties 1.Paths[Lookup No Match Output7]" + TopLeft="532.033333333333,2790.70000000001"> + End="26.2666666666665,52.1000000000004"> + End="0,20.1897310513449" /> + Point1="0,20.1897310513449" + Point2="0,24.1897310513449" + Point3="4,24.1897310513449" /> + End="22.2666666666665,24.1897310513449" /> + Point1="22.2666666666665,24.1897310513449" + Point2="26.2666666666665,24.1897310513449" + Point3="26.2666666666665,28.1897310513449" /> + End="26.2666666666665,52.1000000000004" /> RelativePosition="Any" /> - - - - - - - - - - - - - - @@ -145992,30 +88070,6 @@ where APP_CREATE_USER_DIRECTORY=? - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Id="Package\Load Properties 1.Paths[Lookup Match Output7]" + TopLeft="446.269225295479,3281.41562906732"> + End="81.8205185482016,51.6419353032584"> + End="0,31.0537306508674" /> + Point1="0,31.0537306508674" + Point2="0,35.0537306508674" + Point3="4,35.0537306508674" /> + End="77.8205185482016,35.0537306508674" /> + Point1="77.8205185482016,35.0537306508674" + Point2="81.8205185482016,35.0537306508674" + Point3="81.8205185482016,39.0537306508674" /> + End="81.8205185482016,51.6419353032584" /> + Id="Package\Load Properties 1.Paths[Lookup Match Output1]" + TopLeft="583.366666666667,2790.70000000001"> + End="194.733333333333,52.1000000000004"> + End="0,20.1897310513449" /> + Point1="0,20.1897310513449" + Point2="0,24.1897310513449" + Point3="4,24.1897310513449" /> + End="190.733333333333,24.1897310513449" /> + Point1="190.733333333333,24.1897310513449" + Point2="194.733333333333,24.1897310513449" + Point3="194.733333333333,28.1897310513449" /> + End="194.733333333333,52.1000000000004" /> + Id="Package\Load Properties 1.Paths[Lookup Match Output5]" + TopLeft="555.5,350.300000000001"> + End="0,42.7000000000001"> + End="0,42.7000000000001" /> + Id="Package\Load Properties 1.Paths[Lookup Match Output4]" + TopLeft="348.766666666667,2790.70000000001"> + End="-47.0666666666667,52.1000000000004"> + End="0,20.124940239044" /> + + + + + Id="Package\Load Properties 1.Paths[Lookup Match Output10]" + TopLeft="595.5,1977.50000000001"> + End="-17.1999999999999,154.100000000001"> + End="0,76.2652959463205" /> + Point1="0,76.2652959463205" + Point2="0,80.2652959463205" + Point3="-4,80.2652959463205" /> + End="-13.1999999999999,80.2652959463205" /> + Point1="-13.1999999999999,80.2652959463205" + Point2="-17.1999999999999,80.2652959463205" + Point3="-17.1999999999999,84.2652959463205" /> + End="-17.1999999999999,154.100000000001" /> + Id="Package\Load Properties 1.Paths[Lookup Match Output6]" + TopLeft="580.297436327718,961.900000000003"> + End="0,52.099999999997"> - - - - + End="0,52.099999999997" /> + Id="Package\Load Properties 1.Paths[Lookup Match Output8]" + TopLeft="586.910256889915,657.100000000002"> + End="0,51.2612903354815"> - - - - + End="0,51.2612903354815" /> + Id="Package\Load Properties 1.Paths[Lookup Match Output9]" + TopLeft="597.633333333333,1266.3"> + End="-19.3333333333333,154.100000000001"> + End="0,76.2299504685543" /> + Point1="0,76.2299504685543" + Point2="0,80.2299504685543" + Point3="-4,80.2299504685543" /> + End="-15.3333333333333,80.2299504685543" /> + Point1="-15.3333333333333,80.2299504685543" + Point2="-19.3333333333333,80.2299504685543" + Point3="-19.3333333333333,84.2299504685543" /> + End="-19.3333333333333,154.100000000001" /> + Id="Package\Load Properties 1.Paths[Derived Column Output1]" + TopLeft="554.1,260.300000000001"> + End="0,40.9"> + End="0,40.9" /> - + - + - + + Id="Package\Load Properties 1.Paths[Derived Column Output4]" + TopLeft="746.9,3288.81885470606"> + End="-178.143589489653,44.2387096645184"> + End="0,26.6658005610368" /> + Point1="0,26.6658005610368" + Point2="0,30.6658005610368" + Point3="-4,30.6658005610368" /> + End="-174.143589489653,30.6658005610368" /> + Point1="-174.143589489653,30.6658005610368" + Point2="-178.143589489653,30.6658005610368" + Point3="-178.143589489653,34.6658005610368" /> + End="-178.143589489653,44.2387096645184" /> - + - + - + + Id="Package\Load Properties 1.Paths[Derived Column Output7]" + TopLeft="546.726923556582,3556.12258067097"> + End="0,31.9870968451487"> + End="0,31.9870968451487" /> - + + Id="Package\Load Properties 1.Paths[Derived Column Output8]" + TopLeft="545.803838310016,4051.47741692948"> + End="0,21.2161295934484"> + End="0,21.2161295934484" /> - + - + + Id="Package\Load Properties 1.Paths[Derived Column Output11]" + TopLeft="778.1,2891.90000000001"> + End="-212.066666666666,52.5"> + End="0,31.5623100303952" /> + Point1="0,31.5623100303952" + Point2="0,35.5623100303952" + Point3="-4,35.5623100303952" /> + End="-208.066666666666,35.5623100303952" /> + Point1="-208.066666666666,35.5623100303952" + Point2="-212.066666666666,35.5623100303952" + Point3="-212.066666666666,39.5623100303952" /> + End="-212.066666666666,52.5" /> - + + Id="Package\Load Properties 1.Paths[Derived Column Output22]" + TopLeft="558.3,2891.90000000001"> + End="-32.9333333333333,52.5"> + End="0,31.5623100303952" /> + Point1="0,31.5623100303952" + Point2="0,35.5623100303952" + Point3="-4,35.5623100303952" /> + End="-28.9333333333333,35.5623100303952" /> + Point1="-28.9333333333333,35.5623100303952" + Point2="-32.9333333333333,35.5623100303952" + Point3="-32.9333333333333,39.5623100303952" /> + End="-32.9333333333333,52.5" /> - + + Id="Package\Load Properties 1.Paths[Derived Column Output]" + TopLeft="301.7,2891.90000000001"> + End="35.3333333333333,52.5"> + End="0,31.5623100303951" /> + Point1="0,31.5623100303951" + Point2="0,35.5623100303951" + Point3="4,35.5623100303951" /> + End="31.3333333333333,35.5623100303951" /> + Point1="31.3333333333333,35.5623100303951" + Point2="35.3333333333333,35.5623100303951" + Point3="35.3333333333333,39.5623100303951" /> + End="35.3333333333333,52.5" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + Id="Package\Load Properties 1.Paths[Derived Column Output21]" + TopLeft="410.9,2383.90000000001"> + End="125.533333333333,52.5000000000005"> + End="0,31.583815028902" /> + Point1="0,31.583815028902" + Point2="0,35.583815028902" + Point3="4,35.583815028902" /> + End="121.533333333333,35.583815028902" /> + Point1="121.533333333333,35.583815028902" + Point2="125.533333333333,35.583815028902" + Point3="125.533333333333,39.583815028902" /> + End="125.533333333333,52.5000000000005" /> - + + Id="Package\Load Properties 1.Paths[Derived Column Output10]" + TopLeft="544.18846186999,3637.60967751612"> + End="0,41.1806451677407"> + End="0,41.1806451677407" /> - + + Id="Package\Load Properties 1.Paths[Derived Column Output12]" + TopLeft="104.7,2891.90000000001"> + End="191.666666666666,52.5"> + End="0,31.5623100303951" /> + Point1="0,31.5623100303951" + Point2="0,35.5623100303951" + Point3="4,35.5623100303951" /> + End="187.666666666666,35.5623100303951" /> + Point1="187.666666666666,35.5623100303951" + Point2="191.666666666666,35.5623100303951" + Point3="191.666666666666,39.5623100303951" /> + End="191.666666666666,52.5" /> - + + Id="Package\Load Properties 1.Paths[Derived Column Output13]" + TopLeft="544.707692667436,3728.29032268386"> + End="0,40.6483869806657"> + End="0,40.6483869806657" /> - + - + + Id="Package\Load Properties 1.Paths[Derived Column Output15]" + TopLeft="545.861538863605,3473.70000000001"> + End="0,32.9225806709633"> + End="0,32.9225806709633" /> - + - + + Id="Package\Load Properties 1.Paths[Derived Column Output17]" + TopLeft="546.43846196169,3818.43870966453"> + End="14.392212265251,27.956389729397"> + End="0,13.7281948646985" /> + + + + - + - + - + + Id="Package\Load Properties 1.Paths[Derived Column Output20]" + TopLeft="251.719227404567,4052.00322503886"> + End="0,18.2806457676343"> - - - + End="0,18.2806457676343" /> + + + + + + + + + + + + + + End="0,52.0999999999999" /> - + + TopLeft="580.576923556582,757.861290335483"> + End="0,52.9387096645196"> - - - - + End="0,52.9387096645196" /> - + + design-time-name="Package\Load Properties 1\Lookup PAM_LAND_PARCEL"> OverwriteParamsSQLProp @@ -147252,7 +89256,7 @@ where APP_CREATE_USER_DIRECTORY=? UsedTableName [dbo].[PIMS_PROPERTY] + type="q3:string"> TableInfoObjectType @@ -147265,20 +89269,7 @@ where APP_CREATE_USER_DIRECTORY=? - - - DataSourceViewID - - - TableInfoObjectType - Table - - - - + design-time-name="Package\Load Properties 1\Existing PIMS_PROPERTY records"> OverwriteParamsSQLProp @@ -147301,7 +89292,7 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Properties 1\Insert PIMS_PROPERTY"> DataSourceViewID @@ -147314,7 +89305,7 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Properties 1\Error Log 1"> DataSourceViewID @@ -147327,7 +89318,7 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Properties 1\PIMS_PROPERTY records to be updated"> OverwriteParamsSQLProp @@ -147337,7 +89328,7 @@ where APP_CREATE_USER_DIRECTORY=? UsedTableName + type="q3:string">[dbo].[PIMS_PROPERTY] TableInfoObjectType @@ -147349,6 +89340,19 @@ where APP_CREATE_USER_DIRECTORY=? + + + + DataSourceViewID + + + TableInfoObjectType + Table + + + @@ -147357,11 +89361,11 @@ where APP_CREATE_USER_DIRECTORY=? + TopLeft="285.511546245411,592.006447478164" /> + TopLeft="565.47309290347,593.69676836234" /> + TopLeft="533,426.5" /> + TopLeft="278.523077910609,517.077419728965" /> + TopLeft="254.6,430.3" /> + + TopLeft="561.792317327805,514.60645027766" /> + - - + TopLeft="676.7,380.6"> + End="-40.5,38.4"> + End="0,18.95" /> + + + + + TopLeft="357.296153253634,380.035483825815"> + End="0,42.7645161741854"> + End="0,42.7645161741854" /> + TopLeft="480.392306507269,359.517741912907"> + End="53.6076934927314,0"> + End="53.6076934927314,0" /> + TopLeft="357.61731207801,558.677419728965"> + End="0,25.829027749199"> + End="0,25.829027749199" /> - + + TopLeft="641.432705115637,556.20645027766"> + End="0,29.99031808468"> + End="0,29.99031808468" /> - + - + + TopLeft="355.696153253634,299.6"> + End="0,31.3354838258146"> + End="0,31.3354838258146" /> - + - + - + + TopLeft="356.161538955305,471.9"> + End="0,37.677419728965"> + End="0,37.677419728965" /> + TopLeft="637.996158663902,468.1"> + End="0,39.0064502776601"> + End="0,39.0064502776601" /> @@ -147670,7 +89674,7 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Property Addresses\Existing PIMS_ADDRESS records"> OverwriteParamsSQLProp @@ -147698,149 +89702,81 @@ where APP_CREATE_USER_DIRECTORY=? + Size="159.2,41.6" + Id="Package\Load Property Employee Address\Data Conversion" + TopLeft="80.7,107.1" /> + Size="209.6,41.6" + Id="Package\Load Property Employee Address\UPDATE PIMS_ADDRESS" + TopLeft="388.071428571429,651.028843275604" /> + Size="155.2,41.6" + Id="Package\Load Property Employee Address\ETL Error Log 1" + TopLeft="420.988468334802,821.167579307924" /> + Size="270.4,41.6" + Id="Package\Load Property Employee Address\PIMS_ADDRESS records to be updated" + TopLeft="390.166666666667,562.362176608937" /> + Size="243.2,41.6" + Id="Package\Load Property Employee Address\Existing PIMS_ADDRESS records" + TopLeft="60.7809523809525,558.6" /> + Size="276.8,41.6" + Id="Package\Load Property Employee Address\Audit Trail (and capture interest holder id)" + TopLeft="39.9000000000001,462.166666666667" /> + - + TopLeft="100.033333333333,649.766666666667" /> - + Size="156,41.6" + Id="Package\Load Property Employee Address\Derived Column" + TopLeft="105.5,742.366666666667" /> + Id="Package\Load Property Employee Address\ETL Error Log" + TopLeft="112.059896906231,823.324265844438" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + Size="192.8,41.6" + Id="Package\Load Property Employee Address\PROVINCE_STATE_ID" + TopLeft="63.9,208.7" /> + + TopLeft="180.340476190476,503.766666666667"> + End="0,47.333333333333"> + End="0,47.333333333333" /> - + - + - + - + + TopLeft="182.566666666666,691.366666666667"> + End="0,43.5"> + End="0,43.5" /> + TopLeft="495.207142857143,692.628843275604"> + End="0,45.0811368545484"> + End="0,45.0811368545484" /> + TopLeft="525.366666666667,603.962176608937"> + End="-32.495238095238,39.5666666666669"> + End="0,19.5333333333335" /> + + + + + TopLeft="182.007142857143,600.2"> + End="0,42.0666666666669"> + End="0,42.0666666666669" /> @@ -148049,25 +89991,25 @@ where APP_CREATE_USER_DIRECTORY=? + TopLeft="303.980952380952,581.281088304469"> + End="78.6857142857146,0"> + End="78.6857142857146,0" /> @@ -148097,45 +90039,81 @@ where APP_CREATE_USER_DIRECTORY=? + TopLeft="498.06566273883,786.809980130153"> + End="0,26.8575991777714"> - + End="0,26.8575991777714" /> + + + + + + + + + + + + + + End="0,31.8575991777714" /> + + + + + + + + + + + + + + + Point1="67.8666666666666,0" + Point2="71.8666666666666,0" + Point3="71.8666666666666,4" /> + End="71.8666666666666,34.9" /> - + + design-time-name="Package\Load Property Employee Address\PIMS_ADDRESS records to be updated"> OverwriteParamsSQLProp @@ -148158,7 +90136,7 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Property Employee Address\Existing PIMS_ADDRESS records"> OverwriteParamsSQLProp @@ -148186,41 +90164,49 @@ where APP_CREATE_USER_DIRECTORY=? - + Size="168,41.6" + Id="Package\Load Property Employee Contact Method\Data Conversion 4" + TopLeft="1296.84070690849,76.4074489015173" /> + Size="121.6,41.6" + Id="Package\Load Property Employee Contact Method\Multicast" + TopLeft="403.263756850768,559.599454111702" /> + Size="239.2,41.6" + Id="Package\Load Property Employee Contact Method\Surname,FirstName,MiddleName" + TopLeft="41.74450702568,224.844082562989" /> - + Size="137.6,41.6" + Id="Package\Load Property Employee Contact Method\IS PERSON" + TopLeft="650.045815515802,527.809131627814" /> + Size="340.8,41.6" + Id="Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - HOME_PHONE_NO" + TopLeft="4.55586097296887,9.06105976845826" /> + + + + Id="Package\Load Property Employee Contact Method\Data Conversion" TopLeft="93.4752781539273,80.5261124326348" /> - - + Size="173.6,41.6" + Id="Package\Load Property Employee Contact Method\Derived Column 1 1" + TopLeft="1557.56410265816,734.2" /> + Size="329.6,41.6" + Id="Package\Load Property Employee Contact Method\PIMS_CONTACT_METHOD records to be updated1" + TopLeft="1505.92,587.754048073255" /> + Size="285.6,41.6" + Id="Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - FAX_NO" + TopLeft="803.891970878524,7.51344074464446" /> - + Size="253.6,41.6" + Id="Package\Load Property Employee Contact Method\Update PIMS_CONTACT_METHOD" + TopLeft="1501.98,455.553825119237" /> + Size="175.2,41.6" + Id="Package\Load Property Employee Contact Method\ETL ERROR LOG 2 1" + TopLeft="1554.7,806.220428478787" /> - + Size="296,41.6" + Id="Package\Load Property Employee Contact Method\Existing PIMS_CONTACT_METHOD records" + TopLeft="1166.58,524.153825119237" /> + Size="175.2,41.6" + Id="Package\Load Property Employee Contact Method\ETL ERROR LOG 2" + TopLeft="1208.92019407622,810.658053098831" /> + Size="366.4,41.6" + Id="Package\Load Property Employee Contact Method\PAM_PROPERTY_EMPLOYEE - CELL_PHONE_NUMBER" + TopLeft="382.852578145513,8.98617497698345" /> + TopLeft="1546.6181318908,383.533320468984" /> + - + Size="320,41.6" + Id="Package\Load Property Employee Contact Method\Insert PIMS_CONTACT_METHOD FOR PERSON" + TopLeft="1141.43411068709,454.901067281009" /> + Size="137.6,41.6" + Id="Package\Load Property Employee Contact Method\PERSON ID" + TopLeft="918.04582468575,522.494615603601" /> + Size="121.6,41.6" + Id="Package\Load Property Employee Contact Method\Union All" + TopLeft="408.622046556451,304.5" /> + Size="248,41.6" + Id="Package\Load Property Employee Contact Method\Surname,FirstName,MiddleName 1" + TopLeft="825.526587056691,226.801071780199" /> + Size="248,41.6" + Id="Package\Load Property Employee Contact Method\Surname,FirstName,MiddleName 3" + TopLeft="1265.27019292998,216.666663333935" /> + + Size="175.2,41.6" + Id="Package\Load Property Employee Contact Method\ETL ERROR LOG 1" + TopLeft="1530.8271062721,312.258053098831" /> + + TopLeft="1385.83173050979,189.422578371378"> + End="0,19.7440849625567"> + End="0,19.7440849625567" /> - + + Id="Package\Load Property Employee Contact Method.Paths[Data Conversion Output4]" + TopLeft="463.006705086118,498.718272453971"> + End="0,53.3811816577311"> + End="0,53.3811816577311" /> - - + + + Id="Package\Load Property Employee Contact Method.Paths[Data Conversion Output3]" + TopLeft="1381.61698749905,118.007448901517"> + End="0,22.3151294698606"> + End="0,22.3151294698606" /> - + + Id="Package\Load Property Employee Contact Method.Paths[Data Conversion Output2]" + TopLeft="169.846705022366,122.126112432635"> + End="0,19.3946226023408"> + End="0,19.3946226023408" /> - + + Id="Package\Load Property Employee Contact Method.Paths[Data Conversion Output1]" + TopLeft="949.501221144197,123.898385830873"> + End="0,29.7636700618931"> + End="0,29.7636700618931" /> - + + Id="Package\Load Property Employee Contact Method.Paths[Data Conversion Output]" + TopLeft="559.413294307787,128.091934153466"> + End="0,16.544008206864"> + End="0,16.544008206864" /> - + + Id="Package\Load Property Employee Contact Method.Paths[Union All Output 1]" + TopLeft="466.456362954626,346.1"> + End="0,32.039779045149"> - - - - + End="0,32.039779045149" /> - + + Id="Package\Load Property Employee Contact Method.Paths[PERSON]" + TopLeft="787.645815515802,545.951873615707"> + End="122.900009169948,0"> - - - - + End="122.900009169948,0" /> + Id="Package\Load Property Employee Contact Method.Paths[Organization]" + TopLeft="824.54325089596,611.877947920452"> + End="64.3294968420299,0"> - - - - + End="64.3294968420299,0" /> + Id="Package\Load Property Employee Contact Method.Paths[OLE DB Source Output3]" + TopLeft="174.015569563448,50.6610597684583"> + End="0,22.3650526641765"> + End="0,22.3650526641765" /> - + + Id="Package\Load Property Employee Contact Method.Paths[OLE DB Source Output2]" + TopLeft="563.808349113281,50.5861749769834"> + End="0,28.4057591764821"> - - - - + End="0,28.4057591764821" /> - + + Id="Package\Load Property Employee Contact Method.Paths[OLE DB Source Output1]" + TopLeft="947.900946360229,49.1134407446445"> + End="0,25.6849450862287"> + End="0,25.6849450862287" /> - + + Id="Package\Load Property Employee Contact Method.Paths[OLE DB Source Output]" + TopLeft="1378.42742745601,44.325806409685"> + End="0,24.5816424918323"> + End="0,24.5816424918323" /> - + + Id="Package\Load Property Employee Contact Method.Paths[OLE DB Destination Error Output1]" + TopLeft="1294.9272445418,710.620424279544"> + End="0,20.5172003404996"> + End="0,20.5172003404996" /> + Id="Package\Load Property Employee Contact Method.Paths[OLE DB Destination Error Output]" + TopLeft="1299.16689573628,454.901067281009"> + End="0,-22.2365580055799"> + End="0,-22.2365580055799" /> + Id="Package\Load Property Employee Contact Method.Paths[OLE DB Command Error Output]" + TopLeft="1642.40871799574,708.23179193692"> + End="0,18.4682080630801"> + End="0,18.4682080630801" /> + Id="Package\Load Property Employee Contact Method.Paths[OLE DB Command Error Output1]" + TopLeft="1626.6990659454,455.553825119237"> + End="0,-22.920504650253"> + End="0,-22.920504650253" /> + Id="Package\Load Property Employee Contact Method.Paths[Multicast Output 2]" + TopLeft="524.863756850768,585.999454111702"> + End="118.579494045192,27.5908593738079"> + End="49.2335641524143,0" /> + + + + - + + Id="Package\Load Property Employee Contact Method.Paths[Multicast Output 1]" + TopLeft="524.863756850768,574.799454111702"> + End="117.682058665034,-26.1903224838882"> + End="48.8546469919034,0" /> + + + + - + + Id="Package\Load Property Employee Contact Method.Paths[Lookup No Match Output3]" + TopLeft="1314.58,524.153825119237"> + End="-13.14588931291,-20.152757838228"> + End="0,-9.82637891911401" /> + + + + + Id="Package\Load Property Employee Contact Method.Paths[Lookup No Match Output2]" + TopLeft="1315.72,630.454048073255"> + End="-18.5498076507799,31.0663762062891"> + End="0,15.2831881031445" /> + + + + + Id="Package\Load Property Employee Contact Method.Paths[Lookup No Match Output1]" + TopLeft="1666.18,526.253825119237"> + End="-37.4000000000001,-21.6"> + End="0,-10.55" /> + + + + + Id="Package\Load Property Employee Contact Method.Paths[Lookup No Match Output]" + TopLeft="1670.72,629.354048073255"> + End="-30.2666666666698,29.7777438636649"> + End="0,14.6388719318325" /> + + + + + Id="Package\Load Property Employee Contact Method.Paths[Lookup Match Output]" + TopLeft="1055.64582468575,544.124220361419"> + End="103.43417531425,0"> + End="103.43417531425,0" /> + Id="Package\Load Property Employee Contact Method.Paths[Lookup Match Output1]" + TopLeft="1462.58,546.003825119237"> + End="34.5,0"> + End="34.5,0" /> + Id="Package\Load Property Employee Contact Method.Paths[Lookup Match Output2]" + TopLeft="1070.77274773799,609.909815214324"> + End="86.6472522620099,0"> - - - - + End="86.6472522620099,0" /> + Id="Package\Load Property Employee Contact Method.Paths[Lookup Match Output3]" + TopLeft="1466.52,609.104048073255"> + End="31.9000000000001,0"> - - - - + End="31.9000000000001,0" /> + Id="Package\Load Property Employee Contact Method.Paths[Derived Column Output1]" + TopLeft="559.782983017386,264.382254637714"> + End="-71.4276031276019,32.617745362286"> + End="0,19.7580414093538" /> + Point1="0,19.7580414093538" + Point2="0,23.7580414093538" + Point3="-4,23.7580414093538" /> + End="-67.4276031276019,23.7580414093538" /> + Point1="-67.4276031276019,23.7580414093538" + Point2="-71.4276031276019,23.7580414093538" + Point3="-71.4276031276019,27.7580414093538" /> + End="-71.4276031276019,32.617745362286" /> - + + Id="Package\Load Property Employee Contact Method.Paths[Derived Column Output2]" + TopLeft="161.34450702568,266.444082562989"> + End="308.077539530771,30.555917437011"> + End="0,15.0279587185055" /> + + + + - + + Id="Package\Load Property Employee Contact Method.Paths[Derived Column Output3]" + TopLeft="462.720166337135,427.239779045149"> + End="0,22.378493408822"> + End="0,22.378493408822" /> - + + Id="Package\Load Property Employee Contact Method.Paths[Derived Column Output4]" + TopLeft="1294.6022454053,780.237624620044"> + End="0,22.9204284787869"> + End="0,22.9204284787869" /> - + + Id="Package\Load Property Employee Contact Method.Paths[Derived Column Output12]" + TopLeft="949.709553751576,203.162055892766"> + End="0,16.1390158874326"> + End="0,16.1390158874326" /> - + + Id="Package\Load Property Employee Contact Method.Paths[Derived Column Output5]" + TopLeft="558.522725775955,193.73594236033"> + End="0,21.5463122773843"> - - - - + End="0,21.5463122773843" /> - + + Id="Package\Load Property Employee Contact Method.Paths[Derived Column Output11]" + TopLeft="163.981319458242,190.620735034976"> + End="0,26.7233475280136"> + End="0,26.7233475280136" /> - + + Id="Package\Load Property Employee Contact Method.Paths[Derived Column Output7]" + TopLeft="1300.40416797611,383.564509275429"> + End="0,-20.1752673701531"> + End="0,-20.1752673701531" /> - + + Id="Package\Load Property Employee Contact Method.Paths[Derived Column Output]" + TopLeft="949.526587056691,268.401071780199"> + End="-451.70454050024,28.598928219801"> + End="0,19.5495154051921" /> + + + + - + + Id="Package\Load Property Employee Contact Method.Paths[Derived Column Output6]" + TopLeft="1389.27019292998,258.266663333935"> + End="-885.768146373529,38.733336666065"> + End="0,28.11822291244" /> + + + + - + + Id="Package\Load Property Employee Contact Method.Paths[Derived Column Output8]" + TopLeft="1643.33205132908,775.8"> + End="0,22.9204284787869"> - - - - + End="0,22.9204284787869" /> - + + Id="Package\Load Property Employee Contact Method.Paths[Derived Column Output9]" + TopLeft="1621.52261908145,383.533320468984"> + End="0,-22.175267370153"> + End="0,-22.175267370153" /> - + @@ -149406,7 +91346,20 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Property Employee Contact Method\ETL ERROR LOG"> + + + DataSourceViewID + + + TableInfoObjectType + Table + + + + OverwriteParamsSQLProp @@ -149429,17 +91382,56 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Property Employee Contact Method\ETL ERROR LOG 2 1"> + + + DataSourceViewID + + + TableInfoObjectType + Table + + + + OverwriteParamsSQLProp false + + UsedTableName + [dbo].[PIMS_CONTACT_METHOD] + + + TableInfoObjectType + 0 + + + DataSourceViewID + + + + + + + DataSourceViewID + + + TableInfoObjectType + Table + + design-time-name="Package\Load Property Employee Contact Method\PIMS_CONTACT_METHOD records to be updated"> OverwriteParamsSQLProp @@ -149485,30 +91477,30 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Property Employee Contact Method\ORGANIZATION ID"> OverwriteParamsSQLProp false + + + + - UsedTableName - [dbo].[PIMS_CONTACT_METHOD] + DataSourceViewID TableInfoObjectType 0 - - - DataSourceViewID + type="q2:string">Table + design-time-name="Package\Load Property Employee Contact Method\Existing PIMS_CONTACT_METHOD records1"> OverwriteParamsSQLProp @@ -149536,1087 +91528,1015 @@ where APP_CREATE_USER_DIRECTORY=? - + Size="186.4,41.6" + Id="Package\Load Property Employee Persons and Organizations 3\Insert PIMS_PERSON" + TopLeft="384.4,1264.8" /> - - - - - + TopLeft="376.2,908" /> + TopLeft="787.7,990.1" /> + Size="164.8,41.6" + Id="Package\Load Property Employee Persons and Organizations 3\Derived Column 1" + TopLeft="128.5,1343.48783654408" /> + TopLeft="425.1,994.1" /> - + Size="194.4,41.6" + Id="Package\Load Property Employee Persons and Organizations 3\Update PIMS_PERSON" + TopLeft="110.5,1261.75880879488" /> + Size="130.4,41.6" + Id="Package\Load Property Employee Persons and Organizations 3\Union All 1" + TopLeft="605.6,469" /> + Size="236,41.6" + Id="Package\Load Property Employee Persons and Organizations 3\Existing PIMS_PERSON records" + TopLeft="68,1177.8" /> + Size="231.2,41.6" + Id="Package\Load Property Employee Persons and Organizations 3\Update PIMS_ORGANIZATION" + TopLeft="978.5,1262.99721681046" /> + Size="146.4,41.6" + Id="Package\Load Property Employee Persons and Organizations 3\ETL Error Log 2 1" + TopLeft="1017.4884683348,1413.51686429328" /> + TopLeft="729.7,906" /> + Size="146.4,41.6" + Id="Package\Load Property Employee Persons and Organizations 3\ETL Error Log" + TopLeft="415.988468334802,1420.38783654408" /> + Size="156,41.6" + Id="Package\Load Property Employee Persons and Organizations 3\Derived Column" + TopLeft="404,1345.35880879488" /> + Size="226.4,41.6" + Id="Package\Load Property Employee Persons and Organizations 3\PAM_PROPERTY_EMPOYEE" + TopLeft="556.2,56" /> + Size="280,41.6" + Id="Package\Load Property Employee Persons and Organizations 3\Format PIMS_Organisation output column" + TopLeft="708.8,1082.2" /> + Size="121.6,41.6" + Id="Package\Load Property Employee Persons and Organizations 3\Multicast" + TopLeft="605,639.199999999999" /> + + + + + TopLeft="403.3,739.799999999999" /> + Id="Package\Load Property Employee Persons and Organizations 3\ETL Error Log 2" + TopLeft="670.988468334802,1417.01686429328" /> + + TopLeft="735.3,827.399999999999" /> + Size="176,41.6" + Id="Package\Load Property Employee Persons and Organizations 3\Unicode Conversion" + TopLeft="580.7,234.7" /> + TopLeft="745.9,740.299999999999" /> + + + Id="Package\Load Property Employee Persons and Organizations 3\Derived Column 2" + TopLeft="666.5,1338.98783654408" /> + Size="239.2,41.6" + Id="Package\Load Property Employee Persons and Organizations 3\Surname,FirstName,MiddleName" + TopLeft="542.7,145.6" /> + - + TopLeft="518,555.599999999999" /> + Size="146.4,41.6" + Id="Package\Load Property Employee Persons and Organizations 3\ETL Error Log 1" + TopLeft="141.488468334802,1420.51686429328" /> + TopLeft="668.8,510.6"> + End="0,37.4999999999989"> + End="0,37.4999999999989" /> - + + Id="Package\Load Property Employee Persons and Organizations 3.Paths[Sort Output]" + TopLeft="473.3,1035.7"> + End="0,41.0000000000002"> + End="0,41.0000000000002" /> - + + Id="Package\Load Property Employee Persons and Organizations 3.Paths[Sort Output1]" + TopLeft="845.05,1031.7"> + End="0,43.0000000000002"> + End="0,43.0000000000002" /> - + + TopLeft="469.8,781.399999999999"> + End="0,39.4999999999999"> - - - - + End="0,39.4999999999999" /> + TopLeft="837.8,781.899999999999"> + End="0,37.9999999999999"> + End="0,37.9999999999999" /> + TopLeft="665.85,97.6"> + End="0,40.5"> + End="0,40.5" /> - + + TopLeft="479.8,1306.4"> + End="0,31.45880879488"> + End="0,31.45880879488" /> + TopLeft="742.4,1302.4"> + End="0,29.0878365440801"> + End="0,29.0878365440801" /> + TopLeft="1098.05,1304.59721681046"> + End="0,25.39061973362"> + End="0,25.39061973362" /> + TopLeft="209.3,1303.35880879488"> + End="0,32.6290277492001"> + End="0,32.6290277492001" /> + TopLeft="646.866666666667,680.799999999999"> + End="-173.566666666667,51.4999999999999"> + End="0,20.0597402597402" /> + Point1="0,20.0597402597402" + Point2="0,24.0597402597402" + Point3="-4,24.0597402597402" /> + End="-169.566666666667,24.0597402597402" /> + Point1="-169.566666666667,24.0597402597402" + Point2="-173.566666666667,24.0597402597402" + Point3="-173.566666666667,28.0597402597402" /> + End="-173.566666666667,51.4999999999999" /> - + + TopLeft="684.733333333333,680.799999999999"> + End="149.566666666667,51.9999999999999"> + End="0,20.2636363636363" /> + Point1="0,20.2636363636363" + Point2="0,24.2636363636363" + Point3="4,24.2636363636363" /> + End="145.566666666667,24.2636363636363" /> + Point1="145.566666666667,24.2636363636363" + Point2="149.566666666667,24.2636363636363" + Point3="149.566666666667,28.2636363636363" /> + End="149.566666666667,51.9999999999999" /> - + + TopLeft="841.3,947.6"> + End="0,34.9999999999998"> - - - - + End="0,34.9999999999998" /> + Id="Package\Load Property Employee Persons and Organizations 3.Paths[Lookup No Match Output]" + TopLeft="730.766666666667,1210.59721681046"> + End="9.53333333333319,42.70278318954"> + End="0,16.2567498350797" /> + + + + + Id="Package\Load Property Employee Persons and Organizations 3.Paths[Lookup No Match Output2]" + TopLeft="1092.35,1208.09721681046"> + End="0,47.4000000000001"> + End="0,47.4000000000001" /> + TopLeft="476.55,1220.35880879488"> + End="0,36.94119120512"> + End="0,36.94119120512" /> + End="-77.7,43.5"> + End="0,16.6518518518519" /> + Point1="0,16.6518518518519" + Point2="0,20.6518518518519" + Point3="-4,20.6518518518519" /> + End="-73.7,20.6518518518519" /> + Point1="-73.7,20.6518518518519" + Point2="-77.7,20.6518518518519" + Point3="-77.7,24.6518518518519" /> + End="-77.7,43.5" /> + TopLeft="474.05,949.6"> + End="0,36.9999999999999"> + End="0,36.9999999999999" /> + Id="Package\Load Property Employee Persons and Organizations 3.Paths[Lookup No Match Output5]" + TopLeft="186,1219.4"> + End="21.7,34.8588087948801"> + End="0,17.1794043974401" /> + Point1="0,17.1794043974401" + Point2="0,21.1794043974401" + Point3="4,21.1794043974401" /> + End="17.7,21.1794043974401" /> + Point1="17.7,21.1794043974401" + Point2="21.7,21.1794043974401" + Point3="21.7,25.1794043974401" /> + End="21.7,34.8588087948801" /> + TopLeft="911.3,1188.54721681046"> + End="21.4000000000002,0"> + End="21.4000000000002,0" /> + TopLeft="343.5,1199.07940439744"> + End="-32,0"> + End="-32,0" /> + TopLeft="692.15,351.9"> + End="0,109.6"> - - - - + End="0,109.6" /> + Id="Package\Load Property Employee Persons and Organizations 3.Paths[Derived Column Output1]" + TopLeft="666.3,597.199999999999"> + End="0,34.5000000000001"> + End="0,34.5000000000001" /> - + + Id="Package\Load Property Employee Persons and Organizations 3.Paths[Derived Column Output2]" + TopLeft="848.8,1123.8"> + End="-73.8999999999999,37.6972168104601"> + End="0,18.59860840523" /> + Point1="0,18.59860840523" + Point2="0,22.59860840523" + Point3="-4,22.59860840523" /> + End="-69.8999999999999,22.59860840523" /> + Point1="-69.8999999999999,22.59860840523" + Point2="-73.8999999999999,22.59860840523" + Point3="-73.8999999999999,26.59860840523" /> + End="-73.8999999999999,37.6972168104601" /> - + + Id="Package\Load Property Employee Persons and Organizations 3.Paths[Derived Column Output4]" + TopLeft="553.8,444.5"> + End="96.6000000000003,17"> + End="0,10.5218181818182" /> + + + + - + + Id="Package\Load Property Employee Persons and Organizations 3.Paths[Derived Column Output]" + TopLeft="841.3,868.999999999999"> + End="0,29.5000000000011"> + End="0,29.5000000000011" /> - + + Id="Package\Load Property Employee Persons and Organizations 3.Paths[Derived Column Output3]" + TopLeft="665.5,187.2"> + End="0,40.0000000000001"> + End="0,40.0000000000001" /> - + + Id="Package\Load Property Employee Persons and Organizations 3.Paths[Derived Column Output8]" + TopLeft="485.594234167401,1386.95880879488"> + End="0,25.9290277492003"> - - - - + End="0,25.9290277492003" /> - + + Id="Package\Load Property Employee Persons and Organizations 3.Paths[Derived Column Output5]" + TopLeft="473.9,1125.8"> + End="0,45.45880879488"> + End="0,45.45880879488" /> - + + Id="Package\Load Property Employee Persons and Organizations 3.Paths[Derived Column Output9]" + TopLeft="212.794234167401,1385.08783654408"> + End="0,27.9290277492"> - - - - + End="0,27.9290277492" /> - + + Id="Package\Load Property Employee Persons and Organizations 3.Paths[Derived Column Output6]" + TopLeft="744.344234167401,1380.58783654408"> + End="0,28.9290277492"> + End="0,28.9290277492" /> - + + Id="Package\Load Property Employee Persons and Organizations 3.Paths[Derived Column Output7]" + TopLeft="1102,1379.08783654408"> + End="-11.3115316651981,26.9290277492"> + End="0,13.2145138746" /> + Point1="0,13.2145138746" + Point2="0,17.2145138746" + Point3="-4,17.2145138746" /> + End="-7.31153166519812,17.2145138746" /> + Point1="-7.31153166519812,17.2145138746" + Point2="-11.3115316651981,17.2145138746" + Point3="-11.3115316651981,21.2145138746" /> + End="-11.3115316651981,26.9290277492" /> - + + TopLeft="665.5,276.3"> + End="0,26.4999999999999"> + End="0,26.4999999999999" /> - + + TopLeft="470.05,869.999999999999"> + End="0,30.500000000001"> + End="0,30.500000000001" /> - + @@ -150633,30 +92553,7 @@ where APP_CREATE_USER_DIRECTORY=? - - - OverwriteParamsSQLProp - false - - - UsedTableName - [dbo].[PIMS_PERSON] - - - TableInfoObjectType - 0 - - - DataSourceViewID - - - - + design-time-name="Package\Load Property Employee Persons and Organizations 3\Existing PIMS_PERSON records"> OverwriteParamsSQLProp @@ -150689,7 +92586,7 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Property Employee Persons and Organizations 3\PIMS_ORGANIZATION records to be updated"> OverwriteParamsSQLProp @@ -150712,7 +92609,7 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Property Employee Persons and Organizations 3\PIMS_PERSON records to be updated"> OverwriteParamsSQLProp @@ -150722,7 +92619,7 @@ where APP_CREATE_USER_DIRECTORY=? UsedTableName [dbo].[PIMS_ORGANIZATION] + type="q3:string">[dbo].[PIMS_PERSON] TableInfoObjectType @@ -150735,40 +92632,27 @@ where APP_CREATE_USER_DIRECTORY=? + design-time-name="Package\Load Property Employee Persons and Organizations 3\Existing PIMS_ORGANIZATION records"> OverwriteParamsSQLProp false + type="q2:string">false UsedTableName [dbo].[PIMS_PROPERTY_HIST] + type="q3:string">[dbo].[PIMS_ORGANIZATION] TableInfoObjectType 0 + type="q4:string">0 DataSourceViewID - - - - DataSourceViewID - - - TableInfoObjectType - Table - - - ]]> \ No newline at end of file diff --git a/source/backend/api/Areas/Acquisition/Controllers/AcquisitionFileController.cs b/source/backend/api/Areas/Acquisition/Controllers/AcquisitionFileController.cs index 88b7124b9c..3147a4fdec 100644 --- a/source/backend/api/Areas/Acquisition/Controllers/AcquisitionFileController.cs +++ b/source/backend/api/Areas/Acquisition/Controllers/AcquisitionFileController.cs @@ -168,6 +168,22 @@ public IActionResult GetAcquisitionFileProperties(long id) return new JsonResult(_mapper.Map>(acquisitionFileProperties)); } + /// + /// Get the acquisition file Owners. + /// + /// + [HttpGet("{id:long}/owners")] + [HasPermission(Permissions.AcquisitionFileView)] + [Produces("application/json")] + [ProducesResponseType(typeof(IEnumerable), 200)] + [SwaggerOperation(Tags = new[] { "acquisitionfile" })] + public IActionResult GetAcquisitionFileOwners([FromRoute]long id) + { + var owners = _acquisitionService.GetOwners(id); + + return new JsonResult(_mapper.Map>(owners)); + } + #endregion } } diff --git a/source/backend/api/Areas/Autocomplete/Mapping/AutocompleteMap.cs b/source/backend/api/Areas/Autocomplete/Mapping/AutocompleteMap.cs index 3a63426694..1b7c7e7d0f 100644 --- a/source/backend/api/Areas/Autocomplete/Mapping/AutocompleteMap.cs +++ b/source/backend/api/Areas/Autocomplete/Mapping/AutocompleteMap.cs @@ -13,7 +13,7 @@ public void Register(TypeAdapterConfig config) config.ForType() .Map(dest => dest.Text, src => src.Name) - .Map(dest => dest.Id, src => src.Id); + .Map(dest => dest.Id, src => src.Internal_Id); } } } diff --git a/source/backend/api/Areas/Contacts/Mapping/Contact/OrganizationMap.cs b/source/backend/api/Areas/Contacts/Mapping/Contact/OrganizationMap.cs index 94deb1485f..1ba8c0d930 100644 --- a/source/backend/api/Areas/Contacts/Mapping/Contact/OrganizationMap.cs +++ b/source/backend/api/Areas/Contacts/Mapping/Contact/OrganizationMap.cs @@ -9,7 +9,7 @@ public class OrganizationMap : IRegister public void Register(TypeAdapterConfig config) { config.NewConfig() - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Id, src => src.Internal_Id) .Map(dest => dest.IsDisabled, src => src.IsDisabled) .Map(dest => dest.Name, src => src.Name) .Map(dest => dest.Alias, src => src.OrganizationAlias) diff --git a/source/backend/api/Areas/DocumentGeneration/DocumentGenerationController.cs b/source/backend/api/Areas/DocumentGeneration/DocumentGenerationController.cs index d7d5a25b08..4ce6db6fd8 100644 --- a/source/backend/api/Areas/DocumentGeneration/DocumentGenerationController.cs +++ b/source/backend/api/Areas/DocumentGeneration/DocumentGenerationController.cs @@ -1,8 +1,9 @@ using System.Threading.Tasks; -using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Pims.Api.Models; +using Pims.Api.Models.DocumentGeneration; +using Pims.Api.Models.Download; using Pims.Api.Policies; using Pims.Api.Services; using Pims.Dal.Security; @@ -13,7 +14,7 @@ namespace Pims.Api.Controllers /// /// DocumentGenerationController class, provides endpoints to handle document generation requests. /// - [Authorize] + //[Authorize] [ApiController] [ApiVersion("1.0")] [Route("v{version:apiVersion}/documentGeneration/")] @@ -42,8 +43,8 @@ public DocumentGenerationController(IDocumentGenerationService documentGeneratio /// Get supported file types. /// /// - [HttpGet("supported_types")] - [HasPermission(Permissions.DocumentView)] + [HttpGet("types")] + //[HasPermission(Permissions.GenerateDocuments)] [Produces("application/json")] [ProducesResponseType(typeof(ExternalResult), 200)] [SwaggerOperation(Tags = new[] { "document-generation" })] @@ -54,10 +55,10 @@ public async Task GetSupportedDocumentTypes() } /// - /// Uploads the passed document. + /// Uploads the passed document as a template. /// - [HttpPost("upload_template")] - [HasPermission(Permissions.DocumentAdd)] + [HttpPost("template")] + //[HasPermission(Permissions.GenerateDocuments)] [ProducesResponseType(typeof(ExternalResult), 200)] [SwaggerOperation(Tags = new[] { "document-generation" })] public async Task UploadTemplate([FromForm] IFormFile file) @@ -65,6 +66,39 @@ public async Task UploadTemplate([FromForm] IFormFile file) var result = await _documentGenerationService.UploadFileTemplate(file); return new JsonResult(result); } + + /// + /// Renders the given template with the request data and returns the result as wrapped encoded base64 file. + /// + [HttpPost("template/generate/download-wrapped")] + //[HasPermission(Permissions.GenerateDocuments)] + [ProducesResponseType(typeof(ExternalResult), 200)] + [SwaggerOperation(Tags = new[] { "document-generation" })] + public async Task UploadTemplateAndDownloadWrapped([FromBody] DocumentGenerationRequest request) + { + var result = await _documentGenerationService.GenerateDocument(request.TemplateType, request.TemplateData); + return new JsonResult(result); + } + + /// + /// Renders the given template with the request data and returns the result as a file. + /// + [HttpPost("template/generate/download")] + //[HasPermission(Permissions.GenerateDocuments)] + [ProducesResponseType(typeof(FileContentResult), 200)] + [SwaggerOperation(Tags = new[] { "document-generation" })] + public async Task UploadTemplateAndDownload([FromBody] DocumentGenerationRequest request) + { + var result = await _documentGenerationService.GenerateDocument(request.TemplateType, request.TemplateData); + if (result?.Payload == null) + { + return new NotFoundResult(); + } + + byte[] fileBytes = System.Convert.FromBase64String(result.Payload.FilePayload); + return new FileContentResult(fileBytes, result.Payload.Mimetype) { FileDownloadName = result.Payload.FileName }; + } + #endregion } } diff --git a/source/backend/api/Areas/DocumentGeneration/DocumentGenerationRequest.cs b/source/backend/api/Areas/DocumentGeneration/DocumentGenerationRequest.cs new file mode 100644 index 0000000000..ec1131aa4f --- /dev/null +++ b/source/backend/api/Areas/DocumentGeneration/DocumentGenerationRequest.cs @@ -0,0 +1,20 @@ +using System.Text.Json; + +namespace Pims.Api.Models.DocumentGeneration +{ + /// + /// Represents the request to generate document. + /// + public class DocumentGenerationRequest + { + /// + /// get/set - The data used to fill the template. + /// + public JsonElement TemplateData { get; set; } + + /// + /// get/set - The template type to use for generation. + /// + public string TemplateType { get; set; } + } +} diff --git a/source/backend/api/Areas/Documents/DocumentController.cs b/source/backend/api/Areas/Documents/DocumentController.cs index 990f6b5cbc..935b778fed 100644 --- a/source/backend/api/Areas/Documents/DocumentController.cs +++ b/source/backend/api/Areas/Documents/DocumentController.cs @@ -1,5 +1,4 @@ using System.Collections.Generic; -using System.IO; using System.Threading.Tasks; using MapsterMapper; using Microsoft.AspNetCore.Authorization; @@ -7,6 +6,7 @@ using Pims.Api.Helpers.Exceptions; using Pims.Api.Models; using Pims.Api.Models.Concepts; +using Pims.Api.Models.Download; using Pims.Api.Models.Mayan; using Pims.Api.Models.Mayan.Document; using Pims.Api.Policies; @@ -86,20 +86,39 @@ public async Task UpdateDocumentMetadata( var response = await _documentService.UpdateDocumentAsync(updateRequest); return new JsonResult(response); + } + /// + /// Downloads the file for the corresponding file and document id wrapped and encoded base64. + /// + [HttpGet("storage/{mayanDocumentId}/files/{mayanFileId}/download-wrapped")] + [HasPermission(Permissions.DocumentView)] + [ProducesResponseType(typeof(ExternalResult), 200)] + [SwaggerOperation(Tags = new[] { "storage-documents" })] + public async Task DownloadWrappedFile(long mayanDocumentId, long mayanFileId) + { + var result = await _documentService.DownloadFileAsync(mayanDocumentId, mayanFileId); + return new JsonResult(result.Payload); } /// - /// Downloads the file for the corresponding file and document id. + /// Downloads the file for the corresponding file and document id and returns a stream. /// [HttpGet("storage/{mayanDocumentId}/files/{mayanFileId}/download")] [HasPermission(Permissions.DocumentView)] - [ProducesResponseType(typeof(ExternalResult), 200)] + [ProducesResponseType(typeof(FileContentResult), 200)] [SwaggerOperation(Tags = new[] { "storage-documents" })] public async Task DownloadFile(long mayanDocumentId, long mayanFileId) { var result = await _documentService.DownloadFileAsync(mayanDocumentId, mayanFileId); - return new FileStreamResult(result.Payload.FilePayload, result.Payload.Mimetype) { FileDownloadName = result.Payload.FileName }; + + if (result?.Payload == null) + { + return new NotFoundResult(); + } + + byte[] fileBytes = System.Convert.FromBase64String(result.Payload.FilePayload); + return new FileContentResult(fileBytes, result.Payload.Mimetype) { FileDownloadName = result.Payload.FileName }; } /// @@ -155,21 +174,40 @@ public async Task GetDocumentStorageTypeDetail(long mayanDocument return new JsonResult(result); } + /// + /// Downloads the latest file for the corresponding document id wrapped and encoded as base64. + /// + [HttpGet("storage/{mayanDocumentId}/download-wrapped")] + [HasPermission(Permissions.DocumentView)] + [ProducesResponseType(typeof(ExternalResult), 200)] + [SwaggerOperation(Tags = new[] { "storage-documents" })] + public async Task DownloadWrappedFile(long mayanDocumentId) + { + var result = await _documentService.DownloadFileLatestAsync(mayanDocumentId); + if (result?.Payload == null) + { + return new NotFoundResult(); + } + return new JsonResult(result.Payload); + } + /// /// Downloads the latest file for the corresponding document id. /// [HttpGet("storage/{mayanDocumentId}/download")] [HasPermission(Permissions.DocumentView)] - [ProducesResponseType(typeof(ExternalResult), 200)] + [ProducesResponseType(typeof(FileContentResult), 200)] [SwaggerOperation(Tags = new[] { "storage-documents" })] public async Task DownloadFile(long mayanDocumentId) { var result = await _documentService.DownloadFileLatestAsync(mayanDocumentId); - if(result?.Payload == null) + if (result?.Payload == null) { return new NotFoundResult(); } - return new FileStreamResult(result.Payload?.FilePayload, result.Payload?.Mimetype) { FileDownloadName = result.Payload?.FileName }; + + byte[] fileBytes = System.Convert.FromBase64String(result.Payload.FilePayload); + return new FileContentResult(fileBytes, result.Payload.Mimetype) { FileDownloadName = result.Payload.FileName }; } /// diff --git a/source/backend/api/Areas/Keycloak/Mapping/AccessRequest/UserMap.cs b/source/backend/api/Areas/Keycloak/Mapping/AccessRequest/UserMap.cs index 20f63de6e0..fd7566221a 100644 --- a/source/backend/api/Areas/Keycloak/Mapping/AccessRequest/UserMap.cs +++ b/source/backend/api/Areas/Keycloak/Mapping/AccessRequest/UserMap.cs @@ -10,7 +10,7 @@ public class AccessRequestUserMap : IRegister public void Register(TypeAdapterConfig config) { config.NewConfig() - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Id, src => src.Internal_Id) .Map(dest => dest.FirstName, src => src.Person.FirstName) .Map(dest => dest.Surname, src => src.Person.Surname) .Map(dest => dest.Email, src => src.Person.GetWorkEmail()) diff --git a/source/backend/api/Areas/Keycloak/Mapping/User/OrganizationMap.cs b/source/backend/api/Areas/Keycloak/Mapping/User/OrganizationMap.cs index e16758b2cb..4d0d24b7f9 100644 --- a/source/backend/api/Areas/Keycloak/Mapping/User/OrganizationMap.cs +++ b/source/backend/api/Areas/Keycloak/Mapping/User/OrganizationMap.cs @@ -10,14 +10,14 @@ public void Register(TypeAdapterConfig config) { config.NewConfig() .IgnoreNonMapped(true) - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Id, src => src.Internal_Id) .Map(dest => dest.Name, src => src.OrganizationName) .Map(dest => dest.ParentId, src => src.PrntOrganizationId) .Inherits(); config.NewConfig() .IgnoreNonMapped(true) - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Internal_Id, src => src.Id) .Map(dest => dest.OrganizationName, src => src.Name) .Map(dest => dest.PrntOrganizationId, src => src.ParentId) .Inherits(); diff --git a/source/backend/api/Areas/Keycloak/Mapping/User/UserMap.cs b/source/backend/api/Areas/Keycloak/Mapping/User/UserMap.cs index 41a45462b5..16a9de1904 100644 --- a/source/backend/api/Areas/Keycloak/Mapping/User/UserMap.cs +++ b/source/backend/api/Areas/Keycloak/Mapping/User/UserMap.cs @@ -12,7 +12,7 @@ public class UserMap : IRegister public void Register(TypeAdapterConfig config) { config.NewConfig() - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Id, src => src.Internal_Id) .Map(dest => dest.KeycloakUserId, src => src.GuidIdentifierValue) .Map(dest => dest.IsDisabled, src => src.IsDisabled) .Map(dest => dest.BusinessIdentifier, src => src.BusinessIdentifierValue) @@ -25,7 +25,7 @@ public void Register(TypeAdapterConfig config) .Inherits(); config.NewConfig() - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Internal_Id, src => src.Id) .Map(dest => dest.GuidIdentifierValue, src => src.KeycloakUserId) .Map(dest => dest.IsDisabled, src => src.IsDisabled) .Map(dest => dest.BusinessIdentifierValue, src => src.BusinessIdentifier) diff --git a/source/backend/api/Areas/Leases/Controllers/LeaseController.cs b/source/backend/api/Areas/Leases/Controllers/LeaseController.cs index b1955a1402..31500b75cc 100644 --- a/source/backend/api/Areas/Leases/Controllers/LeaseController.cs +++ b/source/backend/api/Areas/Leases/Controllers/LeaseController.cs @@ -4,7 +4,6 @@ using Microsoft.AspNetCore.Mvc; using Pims.Api.Policies; using Pims.Api.Services; -using Pims.Dal.Repositories; using Pims.Dal.Security; using Swashbuckle.AspNetCore.Annotations; diff --git a/source/backend/api/Areas/Leases/Mapping/Search/LeaseMap.cs b/source/backend/api/Areas/Leases/Mapping/Search/LeaseMap.cs index fb168dadc8..c1deb938d0 100644 --- a/source/backend/api/Areas/Leases/Mapping/Search/LeaseMap.cs +++ b/source/backend/api/Areas/Leases/Mapping/Search/LeaseMap.cs @@ -13,7 +13,7 @@ public void Register(TypeAdapterConfig config) config.NewConfig() .Map(dest => dest.Id, src => src.LeaseId) .Map(dest => dest.LFileNo, src => src.LFileNo) - .Map(dest => dest.ExpiryDate, src => src.OrigExpiryDate) + .Map(dest => dest.ExpiryDate, src => src.GetExpiryDate()) .Map(dest => dest.ProgramName, src => src.GetProgramName()) .Map(dest => dest.TenantNames, src => src.PimsLeaseTenants.Select(t => t.GetTenantName())) .Map(dest => dest.Properties, src => src.GetProperties()) diff --git a/source/backend/api/Areas/Leases/Models/Lease/TenantModel.cs b/source/backend/api/Areas/Leases/Models/Lease/TenantModel.cs index b4642daf95..758e548b19 100644 --- a/source/backend/api/Areas/Leases/Models/Lease/TenantModel.cs +++ b/source/backend/api/Areas/Leases/Models/Lease/TenantModel.cs @@ -28,6 +28,5 @@ public class TenantModel : Api.Models.BaseAppModel public TypeModel LessorType { get; set; } public TypeModel TenantTypeCode { get; set; } - } } diff --git a/source/backend/api/Areas/Organizations/Mapping/Organization/ContactMethodMap.cs b/source/backend/api/Areas/Organizations/Mapping/Organization/ContactMethodMap.cs index 82f9de4f63..12992abe99 100644 --- a/source/backend/api/Areas/Organizations/Mapping/Organization/ContactMethodMap.cs +++ b/source/backend/api/Areas/Organizations/Mapping/Organization/ContactMethodMap.cs @@ -9,14 +9,14 @@ public class ContactMethodMap : IRegister public void Register(TypeAdapterConfig config) { config.NewConfig() - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Id, src => src.Internal_Id) .Map(dest => dest.OrganizationId, src => src.OrganizationId) .Map(dest => dest.ContactMethodTypeCode, src => src.ContactMethodTypeCodeNavigation) .Map(dest => dest.Value, src => src.ContactMethodValue) .Inherits(); config.NewConfig() - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Internal_Id, src => src.Id) .Map(dest => dest.OrganizationId, src => src.OrganizationId) .Map(dest => dest.ContactMethodTypeCode, src => src.ContactMethodTypeCode.GetTypeId()) .Map(dest => dest.ContactMethodValue, src => src.Value) diff --git a/source/backend/api/Areas/Persons/Mapping/Person/ContactMethodMap.cs b/source/backend/api/Areas/Persons/Mapping/Person/ContactMethodMap.cs index 75e2d60bab..7b541d46b3 100644 --- a/source/backend/api/Areas/Persons/Mapping/Person/ContactMethodMap.cs +++ b/source/backend/api/Areas/Persons/Mapping/Person/ContactMethodMap.cs @@ -9,14 +9,14 @@ public class ContactMethodMap : IRegister public void Register(TypeAdapterConfig config) { config.NewConfig() - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Id, src => src.Internal_Id) .Map(dest => dest.PersonId, src => src.PersonId) .Map(dest => dest.ContactMethodTypeCode, src => src.ContactMethodTypeCodeNavigation) .Map(dest => dest.Value, src => src.ContactMethodValue) .Inherits(); config.NewConfig() - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Internal_Id, src => src.Id) .Map(dest => dest.PersonId, src => src.PersonId) .Map(dest => dest.ContactMethodTypeCode, src => src.ContactMethodTypeCode.GetTypeId()) .Map(dest => dest.ContactMethodValue, src => src.Value) diff --git a/source/backend/api/Areas/Persons/Mapping/Person/PersonMap.cs b/source/backend/api/Areas/Persons/Mapping/Person/PersonMap.cs index 261b333891..f36b8a42bb 100644 --- a/source/backend/api/Areas/Persons/Mapping/Person/PersonMap.cs +++ b/source/backend/api/Areas/Persons/Mapping/Person/PersonMap.cs @@ -29,7 +29,7 @@ public void Register(TypeAdapterConfig config) var linkedOrganization = src.PimsPersonOrganizations?.FirstOrDefault(p => p != null && p.Organization != null)?.Organization; if (linkedOrganization != null) { - dest.Organization = new Model.OrganizationLinkModel { Id = linkedOrganization.Id, Text = linkedOrganization.Name }; + dest.Organization = new Model.OrganizationLinkModel { Id = linkedOrganization.Internal_Id, Text = linkedOrganization.Name }; } }); diff --git a/source/backend/api/Areas/Persons/Mapping/Person/PersonOrganizationMap.cs b/source/backend/api/Areas/Persons/Mapping/Person/PersonOrganizationMap.cs index 72952de8b3..a0156f6fbc 100644 --- a/source/backend/api/Areas/Persons/Mapping/Person/PersonOrganizationMap.cs +++ b/source/backend/api/Areas/Persons/Mapping/Person/PersonOrganizationMap.cs @@ -10,7 +10,7 @@ public class PersonOrganizationMap : IRegister public void Register(TypeAdapterConfig config) { config.NewConfig() - .Map(dest => dest.Id, src => src.PersonOrganizationId) + .Map(dest => dest.Internal_Id, src => src.PersonOrganizationId) .Map(dest => dest.ConcurrencyControlNumber, src => src.PersonOrganizationRowVersion) .Map(dest => dest.PersonId, src => src.Id) .Map(dest => dest.OrganizationId, src => GetLinkedOrganizationId(src)) diff --git a/source/backend/api/Areas/Projects/Controllers/ProjectController.cs b/source/backend/api/Areas/Projects/Controllers/ProjectController.cs index ab40678f4d..c050a3ac57 100644 --- a/source/backend/api/Areas/Projects/Controllers/ProjectController.cs +++ b/source/backend/api/Areas/Projects/Controllers/ProjectController.cs @@ -1,5 +1,4 @@ using System.Collections.Generic; -using System.Threading.Tasks; using MapsterMapper; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; @@ -98,6 +97,27 @@ public IActionResult AddProject(ProjectModel projectModel) return new JsonResult(_mapper.Map(newProject)); } + /// + /// Updates the project. + /// + /// + [HttpPut("{id:long}")] + [HasPermission(Permissions.ProjectEdit)] + [Produces("application/json")] + [ProducesResponseType(typeof(ProjectModel), 200)] + [SwaggerOperation(Tags = new[] { "project" })] + public IActionResult UpdateProject([FromRoute] long id, [FromBody] ProjectModel model) + { + if (id != model.Id) + { + return BadRequest(); + } + + var updatedProject = _projectService.Update(_mapper.Map(model)); + + return new JsonResult(updatedProject); + } + /// /// Retrieves a the products for the given project. /// diff --git a/source/backend/api/Areas/Reports/Mapping/User/UserMap.cs b/source/backend/api/Areas/Reports/Mapping/User/UserMap.cs index 4781744b3f..1139337361 100644 --- a/source/backend/api/Areas/Reports/Mapping/User/UserMap.cs +++ b/source/backend/api/Areas/Reports/Mapping/User/UserMap.cs @@ -11,7 +11,7 @@ public class UserMap : IRegister public void Register(TypeAdapterConfig config) { config.NewConfig() - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Id, src => src.Internal_Id) .Map(dest => dest.IsDisabled, src => src.IsDisabled) .Map(dest => dest.BusinessIdentifier, src => src.BusinessIdentifierValue) .Map(dest => dest.FirstName, src => src.Person.FirstName) diff --git a/source/backend/api/Areas/Research/Controllers/ResearchFileController.cs b/source/backend/api/Areas/Research/Controllers/ResearchFileController.cs index 318d1c8e99..dc568cf439 100644 --- a/source/backend/api/Areas/Research/Controllers/ResearchFileController.cs +++ b/source/backend/api/Areas/Research/Controllers/ResearchFileController.cs @@ -1,5 +1,4 @@ using System.Collections.Generic; -using DocumentFormat.OpenXml.Office2010.Excel; using MapsterMapper; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; @@ -7,7 +6,6 @@ using Pims.Api.Models.Concepts; using Pims.Api.Policies; using Pims.Api.Services; -using Pims.Dal.Entities; using Pims.Dal.Security; using Swashbuckle.AspNetCore.Annotations; @@ -80,7 +78,6 @@ public IActionResult GetResearchFileProperties(long id) return new JsonResult(_mapper.Map>(researchFileProperties)); } - /// /// Gets the activities for specified research file. /// diff --git a/source/backend/api/Controllers/AuthController.cs b/source/backend/api/Controllers/AuthController.cs index 3d99d3deaa..9a169849fb 100644 --- a/source/backend/api/Controllers/AuthController.cs +++ b/source/backend/api/Controllers/AuthController.cs @@ -5,6 +5,7 @@ using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; using Pims.Core.Extensions; +using Pims.Core.Http.Configuration; using Pims.Dal.Repositories; using Swashbuckle.AspNetCore.Annotations; using Model = Pims.Api.Models.Auth; @@ -22,6 +23,7 @@ public class AuthController : ControllerBase { #region Variables private readonly Keycloak.Configuration.KeycloakOptions _optionsKeycloak; + private readonly OpenIdConnectOptions _optionsOpenIdConnect; private readonly IUserRepository _userRepository; #endregion @@ -31,10 +33,12 @@ public class AuthController : ControllerBase /// Creates a new instance of a AuthController class, initializes it with the specified arguments. /// /// + /// /// - public AuthController(IOptionsMonitor optionsKeycloak, IUserRepository userRepository) + public AuthController(IOptionsMonitor optionsKeycloak, IOptionsMonitor optionsOpenIdConnect, IUserRepository userRepository) { _optionsKeycloak = optionsKeycloak.CurrentValue; + _optionsOpenIdConnect = optionsOpenIdConnect.CurrentValue; _userRepository = userRepository; } #endregion @@ -64,7 +68,7 @@ public IActionResult Activate() return new CreatedResult($"{user.GuidIdentifierValue}", new Model.UserModel(user)); } - return new JsonResult(new Model.UserModel(user.Id, user.GuidIdentifierValue.Value)); + return new JsonResult(new Model.UserModel(user.Internal_Id, user.GuidIdentifierValue.Value)); } /// @@ -75,7 +79,7 @@ public IActionResult Activate() [SwaggerOperation(Tags = new[] { "auth" })] public IActionResult Register(string redirect_uri) { - var uri = new UriBuilder($"{_optionsKeycloak.OpenIdConnect.Authority}{_optionsKeycloak.OpenIdConnect.Register}"); + var uri = new UriBuilder($"{_optionsOpenIdConnect.Authority}{_optionsOpenIdConnect.Register}"); uri.AppendQuery("client_id", _optionsKeycloak.Client); uri.AppendQuery("redirect_uri", redirect_uri); return Redirect(uri.ToString()); @@ -89,7 +93,7 @@ public IActionResult Register(string redirect_uri) [SwaggerOperation(Tags = new[] { "auth" })] public IActionResult Login(string redirect_uri) { - var uri = new UriBuilder($"{_optionsKeycloak.OpenIdConnect.Authority}{_optionsKeycloak.OpenIdConnect.Login}"); + var uri = new UriBuilder($"{_optionsOpenIdConnect.Authority}{_optionsOpenIdConnect.Login}"); uri.AppendQuery("client_id", _optionsKeycloak.Client); uri.AppendQuery("redirect_uri", redirect_uri); return Redirect(uri.ToString()); @@ -103,7 +107,7 @@ public IActionResult Login(string redirect_uri) [SwaggerOperation(Tags = new[] { "auth" })] public IActionResult Logout(string redirect_uri) { - var uri = new UriBuilder($"{_optionsKeycloak.OpenIdConnect.Authority}{_optionsKeycloak.OpenIdConnect.Logout}"); + var uri = new UriBuilder($"{_optionsOpenIdConnect.Authority}{_optionsOpenIdConnect.Logout}"); uri.AppendQuery("client_id", _optionsKeycloak.Client); uri.AppendQuery("redirect_uri", redirect_uri); return Redirect(uri.ToString()); diff --git a/source/backend/api/Controllers/LookupController.cs b/source/backend/api/Controllers/LookupController.cs index 6b09cffd07..4fbfca27ba 100644 --- a/source/backend/api/Controllers/LookupController.cs +++ b/source/backend/api/Controllers/LookupController.cs @@ -1,4 +1,3 @@ -using System; using System.Collections.Generic; using System.Linq; using MapsterMapper; diff --git a/source/backend/api/Controllers/UserController.cs b/source/backend/api/Controllers/UserController.cs index 9ed345ac07..33c8d2dab4 100644 --- a/source/backend/api/Controllers/UserController.cs +++ b/source/backend/api/Controllers/UserController.cs @@ -1,14 +1,9 @@ using System; -using System.Threading.Tasks; using MapsterMapper; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; -using Microsoft.Extensions.Options; -using Pims.Api.Helpers.Extensions; -using Pims.Core.Http; using Pims.Dal.Repositories; using Swashbuckle.AspNetCore.Annotations; -using KModel = Pims.Keycloak.Models; using Model = Pims.Api.Models.Concepts; namespace Pims.Api.Controllers diff --git a/source/backend/api/Mapping/Lookup/LookupMap.cs b/source/backend/api/Mapping/Lookup/LookupMap.cs index abd21fe76d..259029507f 100644 --- a/source/backend/api/Mapping/Lookup/LookupMap.cs +++ b/source/backend/api/Mapping/Lookup/LookupMap.cs @@ -39,7 +39,7 @@ public void Register(TypeAdapterConfig config) .Map(dest => dest.Type, src => src.GetType().Name); config.NewConfig() - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Id, src => src.Internal_Id) .Map(dest => dest.Code, src => src.OrganizationIdentifier) .Map(dest => dest.Name, src => src.OrganizationName) .Map(dest => dest.IsDisabled, src => src.IsDisabled) diff --git a/source/backend/api/Mapping/Lookup/OrganizationMap.cs b/source/backend/api/Mapping/Lookup/OrganizationMap.cs index df11320272..236ed80b11 100644 --- a/source/backend/api/Mapping/Lookup/OrganizationMap.cs +++ b/source/backend/api/Mapping/Lookup/OrganizationMap.cs @@ -9,7 +9,7 @@ public class OrganizationMap : IRegister public void Register(TypeAdapterConfig config) { config.NewConfig() - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Id, src => src.Internal_Id) .Map(dest => dest.Name, src => src.OrganizationName) .Map(dest => dest.Code, src => src.OrganizationIdentifier) .Map(dest => dest.IsDisabled, src => src.IsDisabled) @@ -17,7 +17,7 @@ public void Register(TypeAdapterConfig config) .Inherits(); config.NewConfig() - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Internal_Id, src => src.Id) .Map(dest => dest.OrganizationName, src => src.Name) .Map(dest => dest.IsDisabled, src => src.IsDisabled) .Inherits(); diff --git a/source/backend/api/Mapping/User/OrganizationMap.cs b/source/backend/api/Mapping/User/OrganizationMap.cs index d23fc6db04..21a5b71c1d 100644 --- a/source/backend/api/Mapping/User/OrganizationMap.cs +++ b/source/backend/api/Mapping/User/OrganizationMap.cs @@ -9,14 +9,14 @@ public class OrganizationMap : IRegister public void Register(TypeAdapterConfig config) { config.NewConfig() - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Id, src => src.Internal_Id) .Map(dest => dest.Parent, src => src.PrntOrganization) .Map(dest => dest.Children, src => src.InversePrntOrganization) .Map(dest => dest.Users, src => src.GetUsers()) .Inherits(); config.NewConfig() - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Internal_Id, src => src.Id) .Map(dest => dest.PrntOrganizationId, src => src.Parent == null ? (long?)null : src.Parent.Id) .Map(dest => dest.PrntOrganization, src => src.Parent) .Map(dest => dest.InversePrntOrganization, src => src.Children) diff --git a/source/backend/api/Mapping/User/UserMap.cs b/source/backend/api/Mapping/User/UserMap.cs index f5a6081012..13fe7047ad 100644 --- a/source/backend/api/Mapping/User/UserMap.cs +++ b/source/backend/api/Mapping/User/UserMap.cs @@ -11,7 +11,7 @@ public class UserMap : IRegister public void Register(TypeAdapterConfig config) { config.NewConfig() - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Id, src => src.Internal_Id) .Map(dest => dest.KeycloakUserId, src => src.GuidIdentifierValue) .Map(dest => dest.IsDisabled, src => src.IsDisabled) .Map(dest => dest.BusinessIdentifier, src => src.BusinessIdentifierValue) @@ -23,7 +23,7 @@ public void Register(TypeAdapterConfig config) .Inherits(); config.NewConfig() - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Internal_Id, src => src.Id) .Map(dest => dest.GuidIdentifierValue, src => src.KeycloakUserId) .Map(dest => dest.IsDisabled, src => src.IsDisabled) .Map(dest => dest.BusinessIdentifierValue, src => src.BusinessIdentifier) diff --git a/source/backend/api/Models/Auth/UserModel.cs b/source/backend/api/Models/Auth/UserModel.cs index b3e948e5e9..4c26765b5b 100644 --- a/source/backend/api/Models/Auth/UserModel.cs +++ b/source/backend/api/Models/Auth/UserModel.cs @@ -47,7 +47,7 @@ public UserModel(long id, Guid key) /// public UserModel(Entity.PimsUser user) { - this.Id = user.Id; + this.Id = user.Internal_Id; this.Key = user.GuidIdentifierValue.Value; } #endregion diff --git a/source/backend/api/Models/Cdogs/JwtResponse.cs b/source/backend/api/Models/Cdogs/JwtResponse.cs index 85eb56d139..55f33b5144 100644 --- a/source/backend/api/Models/Cdogs/JwtResponse.cs +++ b/source/backend/api/Models/Cdogs/JwtResponse.cs @@ -8,49 +8,49 @@ namespace Pims.Api.Models.Cdogs public class JwtResponse { /// - /// Gets or sets the access token. + /// get/set - The access token. /// [JsonPropertyName("access_token")] public string AccessToken { get; set; } /// - /// Gets or sets the token expiration in minutes. + /// get/set - The token expiration in minutes. /// [JsonPropertyName("expires_in")] public int ExpiresIn { get; set; } /// - /// Gets or sets the refresh token expiration in minutes. + /// get/set - The refresh token expiration in minutes. /// [JsonPropertyName("refresh_expires_in")] public int RefreshExpiresIn { get; set; } /// - /// Gets or sets the refresh token. + /// get/set - The refresh token. /// [JsonPropertyName("refresh_token")] public string RefreshToken { get; set; } /// - /// Gets or sets the token type. + /// get/set - The token type. /// [JsonPropertyName("token_type")] public string TokenType { get; set; } /// - /// Gets or sets the not-before-policy. + /// get/set - The not-before-policy. /// [JsonPropertyName("not-before-policy")] public int NotBeforePolicy { get; set; } /// - /// Gets or sets the session state. + /// get/set - The session state. /// [JsonPropertyName("session_state")] public string SessionState { get; set; } /// - /// Gets or sets the scope. + /// get/set - The scope. /// [JsonPropertyName("scope")] public string Scope { get; set; } diff --git a/source/backend/api/Models/Cdogs/RenderOptions.cs b/source/backend/api/Models/Cdogs/RenderOptions.cs new file mode 100644 index 0000000000..1c0a404c7b --- /dev/null +++ b/source/backend/api/Models/Cdogs/RenderOptions.cs @@ -0,0 +1,34 @@ +using System.Text.Json.Serialization; + +namespace Pims.Api.Models.Cdogs +{ + /// + /// Represents the options for rendering a file. + /// + public class RenderOptions + { + /// + /// get/set - The desired file extension of the generated document, used for converting to other types of document. If not supplied, will just use the original contentFileType. + /// + [JsonPropertyName("convertTo")] + public string ConvertTo { get; set; } + + /// + /// get/set - For inline template uploading, will allow the template to overwrite if already cached. + /// + [JsonPropertyName("overwrite")] + public bool Overwrite { get; set; } = false; + + /// + /// get/set - The desired file name of the generated document, can accept template substitution fields from the contexts. If not supplied, will use a random UUID. Extension will be from convertTo. + /// + [JsonPropertyName("reportName")] + public string ReportName { get; set; } + + /// + /// get/set - If true, cache the generated report on server, return the hash/UUID for the file. + /// + [JsonPropertyName("cacheReport")] + public bool CacheReport { get; set; } = false; + } +} \ No newline at end of file diff --git a/source/backend/api/Models/Cdogs/RenderRequest.cs b/source/backend/api/Models/Cdogs/RenderRequest.cs new file mode 100644 index 0000000000..29bd1682a9 --- /dev/null +++ b/source/backend/api/Models/Cdogs/RenderRequest.cs @@ -0,0 +1,35 @@ +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Pims.Api.Models.Cdogs +{ + /// + /// Object that defines the cdogs request rendering a report. + /// + public class RenderRequest + { + /// + /// get/set - Json data for filling the template. + /// + [JsonPropertyName("data")] + public JsonElement Data { get; set; } + + /// + /// get/set - Generation options. + /// + [JsonPropertyName("options")] + public RenderOptions Options { get; set; } + + /// + /// get/set - The template to be used for generation. + /// + [JsonPropertyName("template")] + public RenderTemplate Template { get; set; } + + /// + /// get/set - A string that can be transformed into an object. See https://www.npmjs.com/package/telejson for transformations, and https://carbone.io/documentation.html#formatters for more on formatters. + /// + [JsonPropertyName("formatters")] + public string Formatters { get; set; } + } +} \ No newline at end of file diff --git a/source/backend/api/Models/Cdogs/RenderTemplate.cs b/source/backend/api/Models/Cdogs/RenderTemplate.cs new file mode 100644 index 0000000000..1baab310ea --- /dev/null +++ b/source/backend/api/Models/Cdogs/RenderTemplate.cs @@ -0,0 +1,28 @@ +using System.Text.Json.Serialization; + +namespace Pims.Api.Models.Cdogs +{ + /// + /// Represents a template for rendering files. + /// + public class RenderTemplate + { + /// + /// get/set - The template content. + /// + [JsonPropertyName("content")] + public string Content { get; set; } = string.Empty; + + /// + /// get/set - Content encoding type. + /// + [JsonPropertyName("encodingType")] + public string EncodingType { get; set; } = "base64"; + + /// + /// get/set - File type. + /// + [JsonPropertyName("fileType")] + public string FileType { get; set; } = "docx"; + } +} \ No newline at end of file diff --git a/source/backend/api/Models/Concepts/AcquisitionFile/AcquisitionFileMap.cs b/source/backend/api/Models/Concepts/AcquisitionFile/AcquisitionFileMap.cs index 8a0dae4c14..d43be07a08 100644 --- a/source/backend/api/Models/Concepts/AcquisitionFile/AcquisitionFileMap.cs +++ b/source/backend/api/Models/Concepts/AcquisitionFile/AcquisitionFileMap.cs @@ -13,6 +13,7 @@ public void Register(TypeAdapterConfig config) .Map(dest => dest.FileNo, src => src.FileNo) .Map(dest => dest.FileNumber, src => src.FileNumber) .Map(dest => dest.FileName, src => src.FileName) + .Map(dest => dest.LegacyFileNumber, src => src.LegacyFileNumber) .Map(dest => dest.MinistryProjectNumber, src => src.MinistryProjectNumber) .Map(dest => dest.MinistryProjectName, src => src.MinistryProjectName) .Map(dest => dest.Project, src => src.Project) @@ -27,6 +28,7 @@ public void Register(TypeAdapterConfig config) .Map(dest => dest.RegionCode, src => src.RegionCodeNavigation) .Map(dest => dest.FileProperties, src => src.PimsPropertyAcquisitionFiles) .Map(dest => dest.AcquisitionTeam, src => src.PimsAcquisitionFilePeople) + .Map(dest => dest.AcquisitionFileOwners, src => src.PimsAcquisitionOwners) .Inherits(); config.NewConfig() @@ -34,6 +36,7 @@ public void Register(TypeAdapterConfig config) .Map(dest => dest.FileNo, src => src.FileNo) .Map(dest => dest.FileNumber, src => src.FileNumber) .Map(dest => dest.FileName, src => src.FileName) + .Map(dest => dest.LegacyFileNumber, src => src.LegacyFileNumber) .Map(dest => dest.MinistryProjectNumber, src => src.MinistryProjectNumber) .Map(dest => dest.MinistryProjectName, src => src.MinistryProjectName) .Map(dest => dest.ProjectId, src => src.Project.Id) @@ -48,6 +51,7 @@ public void Register(TypeAdapterConfig config) .Map(dest => dest.RegionCode, src => src.RegionCode.Id) .Map(dest => dest.PimsPropertyAcquisitionFiles, src => src.FileProperties) .Map(dest => dest.PimsAcquisitionFilePeople, src => src.AcquisitionTeam) + .Map(dest => dest.PimsAcquisitionOwners, src => src.AcquisitionFileOwners) .Inherits(); } } diff --git a/source/backend/api/Models/Concepts/AcquisitionFile/AcquisitionFileModel.cs b/source/backend/api/Models/Concepts/AcquisitionFile/AcquisitionFileModel.cs index 52bdb2c572..f495558943 100644 --- a/source/backend/api/Models/Concepts/AcquisitionFile/AcquisitionFileModel.cs +++ b/source/backend/api/Models/Concepts/AcquisitionFile/AcquisitionFileModel.cs @@ -12,6 +12,11 @@ public class AcquisitionFileModel : FileModel /// public long FileNo { get; set; } + /// + /// get/set - A historical reference number of this file in a legacy system (likely PAIMS). + /// + public string LegacyFileNumber { get; set; } + /// /// get/set - The ministry project number. /// @@ -76,6 +81,11 @@ public class AcquisitionFileModel : FileModel /// get/set - A list of acquisition file person relationships. /// public IList AcquisitionTeam { get; set; } + + /// + /// get/set - A list of acquisition file person relationships. + /// + public IList AcquisitionFileOwners { get; set; } #endregion } } diff --git a/source/backend/api/Models/Concepts/AcquisitionFile/AcquisitionFileOwnerMap.cs b/source/backend/api/Models/Concepts/AcquisitionFile/AcquisitionFileOwnerMap.cs new file mode 100644 index 0000000000..861f7fa6b9 --- /dev/null +++ b/source/backend/api/Models/Concepts/AcquisitionFile/AcquisitionFileOwnerMap.cs @@ -0,0 +1,31 @@ +using Mapster; +using Entity = Pims.Dal.Entities; + +namespace Pims.Api.Models.Concepts +{ + public class AcquisitionFileOwnerMap : IRegister + { + public void Register(TypeAdapterConfig config) + { + config.NewConfig() + .Map(dest => dest.Id, src => src.AcquisitionOwnerId) + .Map(dest => dest.AcquisitionFileId, src => src.AcquisitionFileId) + .Map(dest => dest.RowVersion, src => src.ConcurrencyControlNumber) + .Map(dest => dest.LastNameOrCorp1, src => src.LastNameOrCorpName1) + .Map(dest => dest.LastNameOrCorp2, src => src.LastNameOrCorpName2) + .Map(dest => dest.GivenName, src => src.GivenName) + .Map(dest => dest.IncorporationNumber, src => src.IncorporationNumber) + .Map(dest => dest.Address, src => src.Address); + + config.NewConfig() + .Map(dest => dest.AcquisitionOwnerId, src => src.Id) + .Map(dest => dest.ConcurrencyControlNumber, src => src.RowVersion) + .Map(dest => dest.AcquisitionFileId, src => src.AcquisitionFileId) + .Map(dest => dest.GivenName, src => src.GivenName) + .Map(dest => dest.LastNameOrCorpName1, src => src.LastNameOrCorp1) + .Map(dest => dest.LastNameOrCorpName2, src => src.LastNameOrCorp2) + .Map(dest => dest.IncorporationNumber, src => src.IncorporationNumber) + .Map(dest => dest.Address, src => src.Address); + } + } +} diff --git a/source/backend/api/Models/Concepts/AcquisitionFile/AcquisitionFileOwnerModel.cs b/source/backend/api/Models/Concepts/AcquisitionFile/AcquisitionFileOwnerModel.cs new file mode 100644 index 0000000000..26ce9dd096 --- /dev/null +++ b/source/backend/api/Models/Concepts/AcquisitionFile/AcquisitionFileOwnerModel.cs @@ -0,0 +1,19 @@ +namespace Pims.Api.Models.Concepts +{ + public class AcquisitionFileOwnerModel : BaseAppModel + { + public long Id { get; set; } + + public long AcquisitionFileId { get; set; } + + public AddressModel Address { get; set; } + + public string LastNameOrCorp1 { get; set; } + + public string LastNameOrCorp2 { get; set; } + + public string GivenName { get; set; } + + public string IncorporationNumber { get; set; } + } +} diff --git a/source/backend/api/Models/Concepts/ActivityInstance/ActivityInstancePropertyFileMap.cs b/source/backend/api/Models/Concepts/ActivityInstance/ActivityInstancePropertyFileMap.cs index 37ca2950e3..1c8178af59 100644 --- a/source/backend/api/Models/Concepts/ActivityInstance/ActivityInstancePropertyFileMap.cs +++ b/source/backend/api/Models/Concepts/ActivityInstance/ActivityInstancePropertyFileMap.cs @@ -9,28 +9,28 @@ public void Register(TypeAdapterConfig config) { config.NewConfig() .PreserveReference(true) - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Id, src => src.Internal_Id) .Map(dest => dest.ActivityId, src => src.ActivityInstanceId) .Map(dest => dest.PropertyFileId, src => src.PropertyResearchFileId) .Inherits(); config.NewConfig() .PreserveReference(true) - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Internal_Id, src => src.Id) .Map(dest => dest.ActivityInstanceId, src => src.ActivityId) .Map(dest => dest.PropertyResearchFileId, src => src.PropertyFileId) .Inherits(); config.NewConfig() .PreserveReference(true) - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Id, src => src.Internal_Id) .Map(dest => dest.ActivityId, src => src.ActivityInstanceId) .Map(dest => dest.PropertyFileId, src => src.PropertyAcquisitionFileId) .Inherits(); config.NewConfig() .PreserveReference(true) - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Internal_Id, src => src.Id) .Map(dest => dest.ActivityInstanceId, src => src.ActivityId) .Map(dest => dest.PropertyAcquisitionFileId, src => src.PropertyFileId) .Inherits(); diff --git a/source/backend/api/Models/Concepts/Address/AddressMap.cs b/source/backend/api/Models/Concepts/Address/AddressMap.cs index 0eb43bbcbe..4123270a7e 100644 --- a/source/backend/api/Models/Concepts/Address/AddressMap.cs +++ b/source/backend/api/Models/Concepts/Address/AddressMap.cs @@ -14,7 +14,9 @@ public void Register(TypeAdapterConfig config) .Map(dest => dest.StreetAddress3, src => src.StreetAddress3) .Map(dest => dest.Municipality, src => src.MunicipalityName) .Map(dest => dest.Province, src => src.ProvinceState) + .Map(dest => dest.ProvinceStateId, src => src.ProvinceStateId) .Map(dest => dest.Country, src => src.Country) + .Map(dest => dest.CountryId, src => src.CountryId) .Map(dest => dest.Region, src => src.RegionCodeNavigation) .Map(dest => dest.District, src => src.DistrictCodeNavigation) .Map(dest => dest.CountryOther, src => src.OtherCountry) @@ -57,7 +59,6 @@ public void Register(TypeAdapterConfig config) .Map(dest => dest.Longitude, src => src.Longitude) .Map(dest => dest.Comment, src => src.Comment) .Inherits(); - } } } diff --git a/source/backend/api/Models/Concepts/Address/AddressModel.cs b/source/backend/api/Models/Concepts/Address/AddressModel.cs index c6a366a027..934c346570 100644 --- a/source/backend/api/Models/Concepts/Address/AddressModel.cs +++ b/source/backend/api/Models/Concepts/Address/AddressModel.cs @@ -32,11 +32,21 @@ public class AddressModel : BaseModel /// public string Municipality { get; set; } + /// + /// get/set - The address's Province Id. + /// + public short ProvinceStateId { get; set; } + /// /// get/set - The address's province. /// public CodeTypeModel Province { get; set; } + /// + /// get/set - The address's Country Id. + /// + public short? CountryId { get; set; } + /// /// get/set - The address's country. /// diff --git a/source/backend/api/Models/Concepts/Document/DocumentRelationshipMap.cs b/source/backend/api/Models/Concepts/Document/DocumentRelationshipMap.cs index 4417b63bd3..c5d06d2f45 100644 --- a/source/backend/api/Models/Concepts/Document/DocumentRelationshipMap.cs +++ b/source/backend/api/Models/Concepts/Document/DocumentRelationshipMap.cs @@ -44,7 +44,7 @@ public void Register(TypeAdapterConfig config) config.NewConfig() .PreserveReference(true) - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Id, src => src.Internal_Id) .Map(dest => dest.ParentId, src => src.FileId) .Map(dest => dest.IsDisabled, src => src.IsDisabled) .Map(dest => dest.Document, src => src.Document) @@ -52,7 +52,7 @@ public void Register(TypeAdapterConfig config) .Inherits(); config.NewConfig() - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Internal_Id, src => src.Id) .Map(dest => dest.FileId, src => src.ParentId) .Map(dest => dest.IsDisabled, src => src.IsDisabled) .Map(dest => dest.DocumentId, src => src.Document.Id) @@ -60,7 +60,7 @@ public void Register(TypeAdapterConfig config) config.NewConfig() .PreserveReference(true) - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Id, src => src.Internal_Id) .Map(dest => dest.ParentId, src => src.FileId) .Map(dest => dest.IsDisabled, src => src.IsDisabled) .Map(dest => dest.Document, src => src.Document) @@ -68,7 +68,7 @@ public void Register(TypeAdapterConfig config) .Inherits(); config.NewConfig() - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Internal_Id, src => src.Id) .Map(dest => dest.FileId, src => src.ParentId) .Map(dest => dest.IsDisabled, src => src.IsDisabled) .Map(dest => dest.DocumentId, src => src.Document.Id) diff --git a/source/backend/api/Models/Concepts/Lease/PropertyLeaseMap.cs b/source/backend/api/Models/Concepts/Lease/PropertyLeaseMap.cs index 80604daa6e..e9decd860f 100644 --- a/source/backend/api/Models/Concepts/Lease/PropertyLeaseMap.cs +++ b/source/backend/api/Models/Concepts/Lease/PropertyLeaseMap.cs @@ -15,7 +15,7 @@ public void Register(TypeAdapterConfig config) .Map(dest => dest.LeaseArea, src => src.LeaseArea) .Map(dest => dest.PropertyName, src => src.Name) .Map(dest => dest.RowVersion, src => src.ConcurrencyControlNumber) - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Id, src => src.Internal_Id) .PreserveReference(true); config.NewConfig() @@ -25,7 +25,7 @@ public void Register(TypeAdapterConfig config) .Map(dest => dest.LeaseArea, src => src.LeaseArea) .Map(dest => dest.Name, src => src.PropertyName) .Map(dest => dest.ConcurrencyControlNumber, src => src.RowVersion) - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Internal_Id, src => src.Id) .PreserveReference(true); } } diff --git a/source/backend/api/Models/Concepts/Note/NoteMap.cs b/source/backend/api/Models/Concepts/Note/NoteMap.cs index 93cbc9fad2..474dbe3f6c 100644 --- a/source/backend/api/Models/Concepts/Note/NoteMap.cs +++ b/source/backend/api/Models/Concepts/Note/NoteMap.cs @@ -9,13 +9,13 @@ public void Register(TypeAdapterConfig config) { config.NewConfig() .PreserveReference(true) - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Id, src => src.Internal_Id) .Map(dest => dest.Note, src => src.NoteTxt) .Map(dest => dest.IsSystemGenerated, src => src.IsSystemGenerated ?? false) .Inherits(); config.NewConfig() - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Internal_Id, src => src.Id) .Map(dest => dest.NoteTxt, src => src.Note) .Map(dest => dest.IsSystemGenerated, src => src.IsSystemGenerated) .Inherits(); diff --git a/source/backend/api/Models/Concepts/Organization/OrganizationMap.cs b/source/backend/api/Models/Concepts/Organization/OrganizationMap.cs index de0052a99b..c785f9edf0 100644 --- a/source/backend/api/Models/Concepts/Organization/OrganizationMap.cs +++ b/source/backend/api/Models/Concepts/Organization/OrganizationMap.cs @@ -9,7 +9,7 @@ public void Register(TypeAdapterConfig config) { config.NewConfig() .PreserveReference(true) - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Id, src => src.Internal_Id) .Map(dest => dest.IsDisabled, src => src.IsDisabled) .Map(dest => dest.Name, src => src.Name) .Map(dest => dest.Alias, src => src.OrganizationAlias) diff --git a/source/backend/api/Models/Concepts/Product/ProductMap.cs b/source/backend/api/Models/Concepts/Product/ProductMap.cs index 6fd63fd2a3..6a84717c9e 100644 --- a/source/backend/api/Models/Concepts/Product/ProductMap.cs +++ b/source/backend/api/Models/Concepts/Product/ProductMap.cs @@ -8,7 +8,7 @@ public class ProductMap : IRegister public void Register(TypeAdapterConfig config) { config.NewConfig() - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Id, src => src.Internal_Id) .Map(dest => dest.ParentProject, src => src.ParentProject) .Map(dest => dest.AcquisitionFiles, src => src.PimsAcquisitionFiles) .Map(dest => dest.Code, src => src.Code) @@ -21,7 +21,7 @@ public void Register(TypeAdapterConfig config) .Inherits(); config.NewConfig() - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Internal_Id, src => src.Id) .Map(dest => dest.ParentProjectId, src => src.ParentProject.Id) .Map(dest => dest.PimsAcquisitionFiles, src => src.AcquisitionFiles) .Map(dest => dest.Code, src => src.Code) diff --git a/source/backend/api/Models/Concepts/Project/ProjectMap.cs b/source/backend/api/Models/Concepts/Project/ProjectMap.cs index 1f0b89da26..cc0108e8ef 100644 --- a/source/backend/api/Models/Concepts/Project/ProjectMap.cs +++ b/source/backend/api/Models/Concepts/Project/ProjectMap.cs @@ -9,7 +9,7 @@ public void Register(TypeAdapterConfig config) { config.NewConfig() .PreserveReference(true) - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Id, src => src.Internal_Id) .Map(dest => dest.ProjectStatusTypeCode, src => src.ProjectStatusTypeCodeNavigation) .Map(dest => dest.BusinessFunctionCode, src => src.BusinessFunctionCode) .Map(dest => dest.CostTypeCode, src => src.CostTypeCode) @@ -24,7 +24,7 @@ public void Register(TypeAdapterConfig config) .Inherits(); config.NewConfig() - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Internal_Id, src => src.Id) .Map(dest => dest.ProjectStatusTypeCode, src => src.ProjectStatusTypeCode.Id) .Map(dest => dest.BusinessFunctionCodeId, src => src.BusinessFunctionCode.Id) .Map(dest => dest.CostTypeCodeId, src => src.CostTypeCode.Id) diff --git a/source/backend/api/Models/Concepts/Project/ProjectModel.cs b/source/backend/api/Models/Concepts/Project/ProjectModel.cs index e7910141c6..d97f24ff67 100644 --- a/source/backend/api/Models/Concepts/Project/ProjectModel.cs +++ b/source/backend/api/Models/Concepts/Project/ProjectModel.cs @@ -34,7 +34,7 @@ public class ProjectModel : BaseAppModel /// /// get/set - The region code. /// - public CodeTypeModel RegionCode { get; set; } + public TypeModel RegionCode { get; set; } /// /// get/set - The project code. diff --git a/source/backend/api/Models/Concepts/Property/PropertyMap.cs b/source/backend/api/Models/Concepts/Property/PropertyMap.cs index ebf1992d33..15066dae72 100644 --- a/source/backend/api/Models/Concepts/Property/PropertyMap.cs +++ b/source/backend/api/Models/Concepts/Property/PropertyMap.cs @@ -8,7 +8,7 @@ public class PropertyMap : IRegister public void Register(TypeAdapterConfig config) { config.NewConfig() - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Id, src => src.Internal_Id) .Map(dest => dest.Pid, src => src.Pid) .Map(dest => dest.Pin, src => src.Pin) .Map(dest => dest.PlanNumber, src => src.SurveyPlanNumber) @@ -60,7 +60,7 @@ public void Register(TypeAdapterConfig config) .Inherits(); config.NewConfig() - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Internal_Id, src => src.Id) .Map(dest => dest.Pid, src => src.Pid) .Map(dest => dest.Pin, src => src.Pin) .Map(dest => dest.SurveyPlanNumber, src => src.PlanNumber) diff --git a/source/backend/api/Models/Concepts/ResearchFile/PropertyPurposeMap.cs b/source/backend/api/Models/Concepts/ResearchFile/PropertyPurposeMap.cs index 057d16776d..dfb655c224 100644 --- a/source/backend/api/Models/Concepts/ResearchFile/PropertyPurposeMap.cs +++ b/source/backend/api/Models/Concepts/ResearchFile/PropertyPurposeMap.cs @@ -9,13 +9,13 @@ public void Register(TypeAdapterConfig config) { config.NewConfig() .PreserveReference(true) - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Id, src => src.Internal_Id) .Map(dest => dest.PropertyPurposeType, src => src.PropResearchPurposeTypeCodeNavigation) .Map(dest => dest.PropertyResearchFileId, src => src.PropertyResearchFileId) .Inherits(); config.NewConfig() - .Map(dest => dest.Id, src => src.Id) + .Map(dest => dest.Internal_Id, src => src.Id) .Map(dest => dest.PropResearchPurposeTypeCode, src => src.PropertyPurposeType.Id) .Map(dest => dest.PropertyResearchFileId, src => src.PropertyResearchFileId) .Inherits(); diff --git a/source/backend/api/Models/Concepts/ResearchFile/ResearchFileMap.cs b/source/backend/api/Models/Concepts/ResearchFile/ResearchFileMap.cs index 1d0ce30c33..bdf5515ec4 100644 --- a/source/backend/api/Models/Concepts/ResearchFile/ResearchFileMap.cs +++ b/source/backend/api/Models/Concepts/ResearchFile/ResearchFileMap.cs @@ -27,6 +27,7 @@ public void Register(TypeAdapterConfig config) .Map(dest => dest.RequestorPerson, src => src.RequestorNameNavigation) .Map(dest => dest.RequestorOrganization, src => src.RequestorOrganizationNavigation) .Map(dest => dest.ResearchFilePurposes, src => src.PimsResearchFilePurposes) + .Map(dest => dest.ResearchFileProjects, src => src.PimsResearchFileProjects) .Inherits(); config.NewConfig() @@ -48,6 +49,7 @@ public void Register(TypeAdapterConfig config) .Map(dest => dest.RequestorName, src => src.RequestorPerson.Id) .Map(dest => dest.RequestorOrganization, src => src.RequestorOrganization.Id) .Map(dest => dest.PimsResearchFilePurposes, src => src.ResearchFilePurposes) + .Map(dest => dest.PimsResearchFileProjects, src => src.ResearchFileProjects) .Inherits(); } } diff --git a/source/backend/api/Models/Concepts/ResearchFile/ResearchFileModel.cs b/source/backend/api/Models/Concepts/ResearchFile/ResearchFileModel.cs index 19311f27ae..79ab3b3214 100644 --- a/source/backend/api/Models/Concepts/ResearchFile/ResearchFileModel.cs +++ b/source/backend/api/Models/Concepts/ResearchFile/ResearchFileModel.cs @@ -37,6 +37,8 @@ public class ResearchFileModel : FileModel public OrganizationModel RequestorOrganization { get; set; } public IList ResearchFilePurposes { get; set; } + + public IList ResearchFileProjects { get; set; } #endregion } } diff --git a/source/backend/api/Models/Concepts/ResearchFile/ResearchFileProjectMap.cs b/source/backend/api/Models/Concepts/ResearchFile/ResearchFileProjectMap.cs new file mode 100644 index 0000000000..7e9ceed74d --- /dev/null +++ b/source/backend/api/Models/Concepts/ResearchFile/ResearchFileProjectMap.cs @@ -0,0 +1,26 @@ +using Mapster; +using Entity = Pims.Dal.Entities; + +namespace Pims.Api.Models.Concepts +{ + public class ResearchFileProjectMap : IRegister + { + public void Register(TypeAdapterConfig config) + { + config.NewConfig() + .PreserveReference(true) + .Map(dest => dest.Id, src => src.ResearchFileProjectId) + .Map(dest => dest.IsDisabled, src => src.IsDisabled) + .Map(dest => dest.Project, src => src.Project) + .Map(dest => dest.FileId, src => src.ResearchFileId) + .Inherits(); + + config.NewConfig() + .Map(dest => dest.ResearchFileProjectId, src => src.Id) + .Map(dest => dest.IsDisabled, src => src.IsDisabled) + .Map(dest => dest.ProjectId, src => src.Project.Id) + .Map(dest => dest.ResearchFileId, src => src.FileId) + .Inherits(); + } + } +} diff --git a/source/backend/api/Models/Concepts/ResearchFile/ResearchFileProjectModel.cs b/source/backend/api/Models/Concepts/ResearchFile/ResearchFileProjectModel.cs new file mode 100644 index 0000000000..124e489e93 --- /dev/null +++ b/source/backend/api/Models/Concepts/ResearchFile/ResearchFileProjectModel.cs @@ -0,0 +1,34 @@ +namespace Pims.Api.Models.Concepts +{ + public class ResearchFileProjectModel : BaseModel + { + #region Properties + + /// + /// get/set - The relationship id. + /// + public long Id { get; set; } + + /// + /// get/set - The relationship's disabled status flag. + /// + public bool IsDisabled { get; set; } + + /// + /// get/set - The relationship's project. + /// + public ProjectModel Project { get; set; } + + /// + /// get/set - The relationship's research file. + /// + public ResearchFileModel File { get; set; } + + /// + /// get/set - The relationship's research file id. + /// + public long FileId { get; set; } + + #endregion + } +} diff --git a/source/backend/api/Models/Download/FileDownload.cs b/source/backend/api/Models/Download/FileDownload.cs new file mode 100644 index 0000000000..28c7e9f4dd --- /dev/null +++ b/source/backend/api/Models/Download/FileDownload.cs @@ -0,0 +1,43 @@ +namespace Pims.Api.Models.Download +{ + /// + /// Represents a file download result. + /// + public class FileDownload + { + /// + /// get/set - The file contents. Could be encoded. + /// + public string FilePayload { get; set; } + + /// + /// get/set - The file size. + /// + public long Size { get; set; } + + /// + /// get/set - Name of the file. + /// + public string FileName { get; set; } + + /// + /// get/set - The extension of the file (pdf, docx, etc). + /// + public string FileNameExtension { get; set; } + + /// + /// get/set - Complement of FileNameExtension. + /// + public string FileNameWithoutExtension { get; set; } + + /// + /// get/set - The Mime-Type that the file uses. + /// + public string Mimetype { get; set; } + + /// + /// get/set - The encoding type that the file uses. + /// + public string EncodingType { get; set; } = "base64"; + } +} diff --git a/source/backend/api/Models/Mayan/Document/FileDownload.cs b/source/backend/api/Models/Mayan/Document/FileDownload.cs deleted file mode 100644 index 6057f17d36..0000000000 --- a/source/backend/api/Models/Mayan/Document/FileDownload.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System.IO; - -namespace Pims.Api.Models.Mayan.Document -{ - /// - /// Represents a file download result. - /// - public class FileDownload - { - /// - /// get/set - The file contents. Could be encoded. - /// - public Stream FilePayload { get; set; } - - /// - /// get/set - The file size. - /// - public long Size { get; set; } - - /// - /// get/set - Name of the file. - /// - public string FileName { get; set; } - - /// - /// get/set - THe Mime-Type that the file uses. - /// - public string Mimetype { get; set; } - } -} diff --git a/source/backend/api/Pims.Api.csproj b/source/backend/api/Pims.Api.csproj index 67d79dfe39..e17d98b16c 100644 --- a/source/backend/api/Pims.Api.csproj +++ b/source/backend/api/Pims.Api.csproj @@ -2,9 +2,9 @@ 0ef6255f-9ea0-49ec-8c65-c172304b4926 - 3.1.0-46.35 - 3.1.0-46.35 - 3.1.0.46 + 3.1.0-47.30 + 3.1.0-47.30 + 3.1.0.47 true 16BC0468-78F6-4C91-87DA-7403C919E646 diff --git a/source/backend/api/Policies/PermissionFilter.cs b/source/backend/api/Policies/PermissionFilter.cs index 42da3349b8..fbb5d4a432 100644 --- a/source/backend/api/Policies/PermissionFilter.cs +++ b/source/backend/api/Policies/PermissionFilter.cs @@ -1,5 +1,4 @@ using System.Linq; -using k8s.KubeConfigModels; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.Options; diff --git a/source/backend/api/Repositories/Cdogs/CdogsRepository.cs b/source/backend/api/Repositories/Cdogs/CdogsRepository.cs index 0b7b19d687..773d0474b6 100644 --- a/source/backend/api/Repositories/Cdogs/CdogsRepository.cs +++ b/source/backend/api/Repositories/Cdogs/CdogsRepository.cs @@ -2,13 +2,17 @@ using System.IO; using System.Net; using System.Net.Http; +using System.Net.Http.Headers; +using System.Net.Mime; using System.Text.Json; +using System.Text.Json.Serialization; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Pims.Api.Models; using Pims.Api.Models.Cdogs; +using Pims.Api.Models.Download; namespace Pims.Api.Repositories.Cdogs { @@ -82,5 +86,48 @@ public async Task> TryUploadTemplateAsync(IFormFile file) _logger.LogDebug($"Finished uploading template file"); return result; } + + public async Task> UploadAndGenerate(RenderRequest request) + { + _logger.LogDebug("Uploading template and generating report..."); + + string authenticationToken = await _authRepository.GetTokenAsync(); + + using HttpClient client = _httpClientFactory.CreateClient("Pims.Api.Logging"); + client.DefaultRequestHeaders.Accept.Clear(); + AddAuthentication(client, authenticationToken); + client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue(MediaTypeNames.Application.Json)); + + ExternalResult result = new ExternalResult() + { + Status = ExternalResultStatus.Error, + }; + + try + { + Uri endpoint = new(this._config.CDogsHost, "/api/v2/template/render"); + + string jsonContent = JsonSerializer.Serialize(request, new JsonSerializerOptions() + { + DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull, + }); + + using HttpContent content = new StringContent(jsonContent); + + content.Headers.ContentType = new MediaTypeHeaderValue("application/json"); + + HttpResponseMessage response = await client.PostAsync(endpoint, content); + return await ProcessDownloadResponse(response); + } + catch (Exception e) + { + result.Status = ExternalResultStatus.Error; + result.Message = "Exception downloading file"; + _logger.LogError("Unexpected exception downloading file {e}", e); + } + + _logger.LogDebug($"Finished downloading file"); + return result; + } } } diff --git a/source/backend/api/Repositories/Cdogs/IDocumentGenerationRepository.cs b/source/backend/api/Repositories/Cdogs/IDocumentGenerationRepository.cs index 7e3b58217b..6cdffbe194 100644 --- a/source/backend/api/Repositories/Cdogs/IDocumentGenerationRepository.cs +++ b/source/backend/api/Repositories/Cdogs/IDocumentGenerationRepository.cs @@ -2,6 +2,7 @@ using Microsoft.AspNetCore.Http; using Pims.Api.Models; using Pims.Api.Models.Cdogs; +using Pims.Api.Models.Download; namespace Pims.Api.Repositories.Cdogs { @@ -13,5 +14,8 @@ public interface IDocumentGenerationRepository Task> TryUploadTemplateAsync(IFormFile file); Task> TryGetFileTypesAsync(); + + Task> UploadAndGenerate(RenderRequest request); + } } diff --git a/source/backend/api/Repositories/Mayan/IEdmsDocumentRepository.cs b/source/backend/api/Repositories/Mayan/IEdmsDocumentRepository.cs index aa6b739059..0fccc7972a 100644 --- a/source/backend/api/Repositories/Mayan/IEdmsDocumentRepository.cs +++ b/source/backend/api/Repositories/Mayan/IEdmsDocumentRepository.cs @@ -1,6 +1,7 @@ using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Pims.Api.Models; +using Pims.Api.Models.Download; using Pims.Api.Models.Mayan; using Pims.Api.Models.Mayan.Document; diff --git a/source/backend/api/Repositories/Mayan/MayanDocumentRepository.cs b/source/backend/api/Repositories/Mayan/MayanDocumentRepository.cs index 16c862b5ec..a0103b0a1c 100644 --- a/source/backend/api/Repositories/Mayan/MayanDocumentRepository.cs +++ b/source/backend/api/Repositories/Mayan/MayanDocumentRepository.cs @@ -1,11 +1,11 @@ using System; -using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Headers; +using System.Net.Mime; using System.Text.Json; using System.Text.Json.Serialization; using System.Threading.Tasks; @@ -14,6 +14,7 @@ using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Pims.Api.Models; +using Pims.Api.Models.Download; using Pims.Api.Models.Mayan; using Pims.Api.Models.Mayan.Document; using Pims.Api.Models.Mayan.Metadata; @@ -161,61 +162,31 @@ public async Task> TryDownloadFileAsync(long docume _logger.LogDebug("Downloading file..."); string authenticationToken = await _authRepository.GetTokenAsync(); - ExternalResult retVal = new() + using HttpClient client = _httpClientFactory.CreateClient("Pims.Api.Logging"); + client.DefaultRequestHeaders.Accept.Clear(); + AddAuthentication(client, authenticationToken); + client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue(MediaTypeNames.Application.Json)); + + ExternalResult result = new ExternalResult() { Status = ExternalResultStatus.Error, }; - using HttpClient client = _httpClientFactory.CreateClient("Pims.Api.Logging"); - client.DefaultRequestHeaders.Accept.Clear(); - client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Token", authenticationToken); try { Uri endpoint = new($"{this._config.BaseUri}/documents/{documentId}/files/{fileId}/download/"); HttpResponseMessage response = await client.GetAsync(endpoint).ConfigureAwait(true); - Stream payload = await response.Content.ReadAsStreamAsync().ConfigureAwait(true); - _logger.LogTrace("Response: {response}", response); - response.Content.Headers.TryGetValues("Content-Length", out IEnumerable contentLengthHeaders); - long contentLength = contentLengthHeaders?.FirstOrDefault() != null ? int.Parse(contentLengthHeaders.FirstOrDefault()) : payload.Length; - switch (response.StatusCode) - { - case HttpStatusCode.OK: - string contentDisposition = response.Content.Headers.GetValues("Content-Disposition").FirstOrDefault(); - string fileName = GetFileNameFromContentDisposition(contentDisposition); - - retVal.Status = ExternalResultStatus.Success; - retVal.Payload = new FileDownload() - { - FilePayload = payload, - Size = contentLength, - Mimetype = response.Content.Headers.GetValues("Content-Type").FirstOrDefault(), - FileName = fileName, - }; - - break; - case HttpStatusCode.NoContent: - retVal.Status = ExternalResultStatus.Success; - retVal.Message = "No content found"; - break; - case HttpStatusCode.Forbidden: - retVal.Status = ExternalResultStatus.Error; - retVal.Message = "Forbidden"; - break; - default: - retVal.Status = ExternalResultStatus.Error; - retVal.Message = $"Unable to contact endpoint {endpoint}. Http status {response.StatusCode}"; - break; - } + return await ProcessDownloadResponse(response); } catch (Exception e) { - retVal.Status = ExternalResultStatus.Error; - retVal.Message = "Exception downloading file"; + result.Status = ExternalResultStatus.Error; + result.Message = "Exception downloading file"; _logger.LogError("Unexpected exception downloading file {e}", e); } _logger.LogDebug($"Finished downloading file"); - return retVal; + return result; } public async Task> TryDeleteDocument(long documentId) @@ -372,13 +343,5 @@ public async Task> TryDeleteDocumentTypeMetadataTypeAsync _logger.LogDebug($"Finished deleting document type's metadata type"); return response; } - - private static string GetFileNameFromContentDisposition(string contentDisposition) - { - const string fileNameFlag = "filename"; - string[] parts = contentDisposition.Split("; "); - string fileNamePart = parts.FirstOrDefault(x => x.Contains(fileNameFlag)); - return fileNamePart[(fileNameFlag.Length + 1) ..].Replace("\"", string.Empty); - } } } diff --git a/source/backend/api/Repositories/RestCommon/BaseRestRespository.cs b/source/backend/api/Repositories/RestCommon/BaseRestRespository.cs index b5fd096023..31e52ad56f 100644 --- a/source/backend/api/Repositories/RestCommon/BaseRestRespository.cs +++ b/source/backend/api/Repositories/RestCommon/BaseRestRespository.cs @@ -1,4 +1,7 @@ using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Headers; @@ -7,6 +10,7 @@ using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Pims.Api.Models; +using Pims.Api.Models.Download; namespace Pims.Api.Repositories.Rest { @@ -159,6 +163,63 @@ public async Task> DeleteAsync(Uri endpoint, string authe return result; } + + + protected async Task> ProcessDownloadResponse(HttpResponseMessage response) + { + ExternalResult result = new ExternalResult() + { + Status = ExternalResultStatus.Error, + }; + + byte[] responsePayload = await response.Content.ReadAsByteArrayAsync().ConfigureAwait(true); + _logger.LogTrace("Response: {response}", response); + response.Content.Headers.TryGetValues("Content-Length", out IEnumerable contentLengthHeaders); + long contentLength = contentLengthHeaders?.FirstOrDefault() != null ? int.Parse(contentLengthHeaders.FirstOrDefault()) : responsePayload.Length; + result.HttpStatusCode = response.StatusCode; + switch (response.StatusCode) + { + case HttpStatusCode.OK: + string contentDisposition = response.Content.Headers.GetValues("Content-Disposition").FirstOrDefault(); + string fileName = GetFileNameFromContentDisposition(contentDisposition); + + result.Status = ExternalResultStatus.Success; + result.Payload = new Models.Download.FileDownload() + { + FilePayload = Convert.ToBase64String(responsePayload), + Size = contentLength, + Mimetype = response.Content.Headers.GetValues("Content-Type").FirstOrDefault(), + FileName = fileName, + FileNameExtension = Path.GetExtension(fileName).Replace(".", string.Empty), + FileNameWithoutExtension = Path.GetFileNameWithoutExtension(fileName), + }; + + break; + case HttpStatusCode.NoContent: + result.Status = ExternalResultStatus.Success; + result.Message = "No content found"; + break; + case HttpStatusCode.Forbidden: + result.Status = ExternalResultStatus.Error; + result.Message = "Forbidden"; + break; + default: + result.Status = ExternalResultStatus.Error; + result.Message = $"Unable to contact endpoint {response.RequestMessage.RequestUri}. Http status {response.StatusCode}"; + break; + } + + return result; + } + + private static string GetFileNameFromContentDisposition(string contentDisposition) + { + const string fileNameFlag = "filename"; + string[] parts = contentDisposition.Split("; "); + string fileNamePart = parts.FirstOrDefault(x => x.Contains(fileNameFlag)); + return fileNamePart[(fileNameFlag.Length + 1)..].Replace("\"", string.Empty); + } + private async Task> ProcessResponse(HttpResponseMessage response) { ExternalResult result = new ExternalResult() diff --git a/source/backend/api/Services/AcquisitionFileService.cs b/source/backend/api/Services/AcquisitionFileService.cs index 463a23b7fe..f667c1d8aa 100644 --- a/source/backend/api/Services/AcquisitionFileService.cs +++ b/source/backend/api/Services/AcquisitionFileService.cs @@ -1,3 +1,4 @@ +using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; @@ -25,6 +26,7 @@ public class AcquisitionFileService : IAcquisitionFileService private readonly IPropertyRepository _propertyRepository; private readonly ICoordinateTransformService _coordinateService; private readonly ILookupRepository _lookupRepository; + private readonly IEntityNoteRepository _entityNoteRepository; public AcquisitionFileService( ClaimsPrincipal user, @@ -34,7 +36,8 @@ public AcquisitionFileService( IUserRepository userRepository, IPropertyRepository propertyRepository, ICoordinateTransformService coordinateService, - ILookupRepository lookupRepository) + ILookupRepository lookupRepository, + IEntityNoteRepository entityNoteRepository) { _user = user; _logger = logger; @@ -44,6 +47,7 @@ public AcquisitionFileService( _propertyRepository = propertyRepository; _coordinateService = coordinateService; _lookupRepository = lookupRepository; + _entityNoteRepository = entityNoteRepository; } public Paged GetPage(AcquisitionFilter filter) @@ -80,11 +84,19 @@ public IEnumerable GetProperties(long id) return properties; } + public IEnumerable GetOwners(long id) + { + _logger.LogInformation("Getting acquisition file owners with AcquistionFile id: {id}", id); + _user.ThrowIfNotAuthorized(Permissions.AcquisitionFileView); + + return _acquisitionFilePropertyRepository.GetOwnersByAcquisitionFileId(id); + } + public PimsAcquisitionFile Add(PimsAcquisitionFile acquisitionFile) { acquisitionFile.ThrowIfNull(nameof(acquisitionFile)); - _logger.LogInformation("Adding acquisition file with id {id}", acquisitionFile.Id); + _logger.LogInformation("Adding acquisition file with id {id}", acquisitionFile.Internal_Id); _user.ThrowIfNotAuthorized(Permissions.AcquisitionFileAdd); acquisitionFile.AcquisitionFileStatusTypeCode = "ACTIVE"; @@ -100,17 +112,19 @@ public PimsAcquisitionFile Update(PimsAcquisitionFile acquisitionFile, bool user { acquisitionFile.ThrowIfNull(nameof(acquisitionFile)); - _logger.LogInformation("Updating acquisition file with id {id}", acquisitionFile.Id); + _logger.LogInformation("Updating acquisition file with id {id}", acquisitionFile.Internal_Id); _user.ThrowIfNotAuthorized(Permissions.AcquisitionFileEdit); - ValidateVersion(acquisitionFile.Id, acquisitionFile.ConcurrencyControlNumber); + ValidateVersion(acquisitionFile.Internal_Id, acquisitionFile.ConcurrencyControlNumber); if (!userOverride) { - ValidateMinistryRegion(acquisitionFile.Id, acquisitionFile.RegionCode); + ValidateMinistryRegion(acquisitionFile.Internal_Id, acquisitionFile.RegionCode); } var newAcqFile = _acqFileRepository.Update(acquisitionFile); + AddNoteIfStatusChanged(acquisitionFile); + _acqFileRepository.CommitTransaction(); return newAcqFile; } @@ -119,20 +133,20 @@ public PimsAcquisitionFile UpdateProperties(PimsAcquisitionFile acquisitionFile) { _logger.LogInformation("Updating acquisition file properties..."); _user.ThrowIfNotAuthorized(Permissions.AcquisitionFileEdit, Permissions.PropertyView, Permissions.PropertyAdd); - ValidateVersion(acquisitionFile.Id, acquisitionFile.ConcurrencyControlNumber); + ValidateVersion(acquisitionFile.Internal_Id, acquisitionFile.ConcurrencyControlNumber); MatchProperties(acquisitionFile); // Get the current properties in the research file - var currentProperties = _acquisitionFilePropertyRepository.GetPropertiesByAcquisitionFileId(acquisitionFile.Id); + var currentProperties = _acquisitionFilePropertyRepository.GetPropertiesByAcquisitionFileId(acquisitionFile.Internal_Id); // Check if the property is new or if it is being updated foreach (var incomingAcquisitionProperty in acquisitionFile.PimsPropertyAcquisitionFiles) { // If the property is not new, check if the name has been updated. - if (incomingAcquisitionProperty.Id != 0) + if (incomingAcquisitionProperty.Internal_Id != 0) { - PimsPropertyAcquisitionFile existingProperty = currentProperties.FirstOrDefault(x => x.Id == incomingAcquisitionProperty.Id); + PimsPropertyAcquisitionFile existingProperty = currentProperties.FirstOrDefault(x => x.Internal_Id == incomingAcquisitionProperty.Internal_Id); if (existingProperty.PropertyName != incomingAcquisitionProperty.PropertyName) { existingProperty.PropertyName = incomingAcquisitionProperty.PropertyName; @@ -147,7 +161,7 @@ public PimsAcquisitionFile UpdateProperties(PimsAcquisitionFile acquisitionFile) } // The ones not on the new set should be deleted - List differenceSet = currentProperties.Where(x => !acquisitionFile.PimsPropertyAcquisitionFiles.Any(y => y.Id == x.Id)).ToList(); + List differenceSet = currentProperties.Where(x => !acquisitionFile.PimsPropertyAcquisitionFiles.Any(y => y.Internal_Id == x.Internal_Id)).ToList(); foreach (var deletedProperty in differenceSet) { _acquisitionFilePropertyRepository.Delete(deletedProperty); @@ -166,7 +180,7 @@ public PimsAcquisitionFile UpdateProperties(PimsAcquisitionFile acquisitionFile) } _acqFileRepository.CommitTransaction(); - return _acqFileRepository.GetById(acquisitionFile.Id); + return _acqFileRepository.GetById(acquisitionFile.Internal_Id); } private void MatchProperties(PimsAcquisitionFile acquisitionFile) @@ -179,7 +193,7 @@ private void MatchProperties(PimsAcquisitionFile acquisitionFile) try { var foundProperty = _propertyRepository.GetByPid(pid); - acquisitionProperty.PropertyId = foundProperty.Id; + acquisitionProperty.PropertyId = foundProperty.Internal_Id; acquisitionProperty.Property = foundProperty; } catch (KeyNotFoundException) @@ -194,7 +208,7 @@ private void MatchProperties(PimsAcquisitionFile acquisitionFile) try { var foundProperty = _propertyRepository.GetByPin(pin); - acquisitionProperty.PropertyId = foundProperty.Id; + acquisitionProperty.PropertyId = foundProperty.Internal_Id; acquisitionProperty.Property = foundProperty; } catch (KeyNotFoundException) @@ -291,5 +305,34 @@ private void ValidateMinistryRegion(long acqFileId, short updatedRegion) throw new BusinessRuleViolationException("The Ministry region has been changed, this will result in a change to the file's prefix. This requires user confirmation."); } } + + private void AddNoteIfStatusChanged(PimsAcquisitionFile updateAcquisitionFile) + { + var currentAcquisitionFile = _acqFileRepository.GetById(updateAcquisitionFile.Internal_Id); + bool statusChanged = currentAcquisitionFile.AcquisitionFileStatusTypeCode != updateAcquisitionFile.AcquisitionFileStatusTypeCode; + if (!statusChanged) + { + return; + } + + var newStatus = _lookupRepository.GetAllAcquisitionFileStatusTypes() + .FirstOrDefault(x => x.AcquisitionFileStatusTypeCode == updateAcquisitionFile.AcquisitionFileStatusTypeCode); + + PimsAcquisitionFileNote fileNoteInstance = new() + { + AcquisitionFileId = updateAcquisitionFile.Internal_Id, + AppCreateTimestamp = DateTime.Now, + AppCreateUserid = _user.GetUsername(), + Note = new PimsNote() + { + IsSystemGenerated = true, + NoteTxt = $"Acquisition File status changed from {currentAcquisitionFile.AcquisitionFileStatusTypeCodeNavigation.Description} to {newStatus.Description}", + AppCreateTimestamp = DateTime.Now, + AppCreateUserid = this._user.GetUsername(), + }, + }; + + _entityNoteRepository.Add(fileNoteInstance); + } } } diff --git a/source/backend/api/Services/ActivityService.cs b/source/backend/api/Services/ActivityService.cs index 766e1e967a..75bc589922 100644 --- a/source/backend/api/Services/ActivityService.cs +++ b/source/backend/api/Services/ActivityService.cs @@ -171,7 +171,7 @@ public async Task Delete(long activityId) var notes = _noteService.GetNotes(Constants.NoteType.Activity, activityId); foreach (PimsNote note in notes) { - _noteService.DeleteNote(Constants.NoteType.Activity, note.Id, false); + _noteService.DeleteNote(Constants.NoteType.Activity, note.Internal_Id, false); } _activityRepository.Delete(activityId); @@ -199,7 +199,7 @@ private void ValidateVersion(long activityId, long activityVersion) private void AddNoteIfActivityStatusChanged(PimsActivityInstance instance) { - var currentActivity = _activityRepository.GetById(instance.Id); + var currentActivity = _activityRepository.GetById(instance.Internal_Id); if (currentActivity.ActivityInstanceStatusTypeCode != instance.ActivityInstanceStatusTypeCode) { PimsActivityInstanceNote note = new PimsActivityInstanceNote() diff --git a/source/backend/api/Services/DocumentGenerationService.cs b/source/backend/api/Services/DocumentGenerationService.cs index d0b02f8332..bfbb616442 100644 --- a/source/backend/api/Services/DocumentGenerationService.cs +++ b/source/backend/api/Services/DocumentGenerationService.cs @@ -1,12 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Linq; using System.Security.Claims; +using System.Text.Json; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Pims.Api.Models; using Pims.Api.Models.Cdogs; +using Pims.Api.Models.Download; using Pims.Api.Repositories.Cdogs; using Pims.Av; +using Pims.Dal.Entities; using Pims.Dal.Helpers.Extensions; +using Pims.Dal.Repositories; using Pims.Dal.Security; namespace Pims.Api.Services @@ -16,18 +23,28 @@ namespace Pims.Api.Services /// public class DocumentGenerationService : BaseService, IDocumentGenerationService { - private readonly IDocumentGenerationRepository documentGenerationRepository; + private readonly IDocumentGenerationRepository _documentGenerationRepository; + private readonly IDocumentRepository _documentRepository; + private readonly IDocumentActivityTemplateRepository _documentActivityTemplateRepository; + private readonly IDocumentService _documentService; private readonly IAvService avService; public DocumentGenerationService( ClaimsPrincipal user, ILogger logger, IDocumentGenerationRepository documentGenerationRepository, + IDocumentRepository documentRepository, + IDocumentActivityTemplateRepository documentActivityTemplateRepository, + IDocumentService documentService, IAvService avService) : base(user, logger) { - this.documentGenerationRepository = documentGenerationRepository; + this._documentGenerationRepository = documentGenerationRepository; this.avService = avService; + + this._documentRepository = documentRepository; + this._documentActivityTemplateRepository = documentActivityTemplateRepository; + this._documentService = documentService; } public async Task> GetSupportedFileTypes() @@ -35,7 +52,7 @@ public async Task> GetSupportedFileTypes() this.Logger.LogInformation("Getting supported file Types"); this.User.ThrowIfNotAuthorized(Permissions.GenerateDocuments); - ExternalResult result = await documentGenerationRepository.TryGetFileTypesAsync(); + ExternalResult result = await _documentGenerationRepository.TryGetFileTypesAsync(); return result; } @@ -45,8 +62,47 @@ public async Task> UploadFileTemplate(IFormFile fileRaw) this.User.ThrowIfNotAuthorized(Permissions.GenerateDocuments); await this.avService.ScanAsync(fileRaw); - ExternalResult result = await documentGenerationRepository.TryUploadTemplateAsync(fileRaw); + ExternalResult result = await _documentGenerationRepository.TryUploadTemplateAsync(fileRaw); return result; } + + public async Task> GenerateDocument(string templateType, JsonElement templateData) + { + this.Logger.LogInformation("Generating document"); + + //this.User.ThrowIfNotAuthorized(Permissions.GenerateDocuments); + + // TODO: This needs to retrieve by the passed template type. At this point that is not possible. + PimsDocument document = _documentRepository.GetAllByDocumentType("CDOGS Template").LastOrDefault(); + ExternalResult templateFileResult = await _documentService.DownloadFileLatestAsync(document.MayanId); + if (templateFileResult.Status == ExternalResultStatus.Success) + { + FileDownload templateFile = templateFileResult.Payload; + RenderRequest renderRequest = new RenderRequest() + { + Template = new RenderTemplate() + { + Content = templateFile.FilePayload, + EncodingType = templateFile.EncodingType, + FileType = templateFile.FileNameExtension, + }, + Options = new RenderOptions() + { + ReportName = templateFile.FileNameWithoutExtension + '-' + DateTime.Now.ToString("yyyyMMdd-HHmmss"), + Overwrite = true, + }, + Data = templateData, + }; + + var renderedFile = await _documentGenerationRepository.UploadAndGenerate(renderRequest); + return renderedFile; + } + else + { + this.Logger.LogError("Error Generating document"); + return templateFileResult; + } + } + } } diff --git a/source/backend/api/Services/DocumentLeaseService.cs b/source/backend/api/Services/DocumentLeaseService.cs index 7a598d7d17..31bd8de514 100644 --- a/source/backend/api/Services/DocumentLeaseService.cs +++ b/source/backend/api/Services/DocumentLeaseService.cs @@ -1,4 +1,3 @@ -using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; @@ -80,7 +79,7 @@ public Task UploadLeaseDocumentAsync(long le genericActivity = activityService.Add(activity); } - return documentActivityService.UploadActivityDocumentAsync(genericActivity.Id, uploadRequest); + return documentActivityService.UploadActivityDocumentAsync(genericActivity.Internal_Id, uploadRequest); } public Task> DeleteLeaseDocumentAsync(PimsActivityInstanceDocument leaseDocument) diff --git a/source/backend/api/Services/DocumentService.cs b/source/backend/api/Services/DocumentService.cs index 9c653f762e..bb1738619e 100644 --- a/source/backend/api/Services/DocumentService.cs +++ b/source/backend/api/Services/DocumentService.cs @@ -9,6 +9,7 @@ using Pims.Api.Helpers.Exceptions; using Pims.Api.Models; using Pims.Api.Models.Concepts; +using Pims.Api.Models.Download; using Pims.Api.Models.Mayan; using Pims.Api.Models.Mayan.Document; using Pims.Api.Repositories.Mayan; diff --git a/source/backend/api/Services/IAcquisitionFileService.cs b/source/backend/api/Services/IAcquisitionFileService.cs index 68c5cae77b..0d3659ab72 100644 --- a/source/backend/api/Services/IAcquisitionFileService.cs +++ b/source/backend/api/Services/IAcquisitionFileService.cs @@ -1,6 +1,6 @@ +using System.Collections.Generic; using Pims.Dal.Entities; using Pims.Dal.Entities.Models; -using System.Collections.Generic; namespace Pims.Api.Services { @@ -17,5 +17,7 @@ public interface IAcquisitionFileService PimsAcquisitionFile UpdateProperties(PimsAcquisitionFile acquisitionFile); IEnumerable GetProperties(long id); + + IEnumerable GetOwners(long id); } } diff --git a/source/backend/api/Services/IDocumentFileService.cs b/source/backend/api/Services/IDocumentFileService.cs index 8e5d3dd41d..d4ebd4e452 100644 --- a/source/backend/api/Services/IDocumentFileService.cs +++ b/source/backend/api/Services/IDocumentFileService.cs @@ -12,7 +12,8 @@ namespace Pims.Api.Services /// public interface IDocumentFileService { - public IList GetFileDocuments(FileType fileType, long fileId) where T : PimsFileDocument; + public IList GetFileDocuments(FileType fileType, long fileId) + where T : PimsFileDocument; Task UploadResearchDocumentAsync(long researchFileId, DocumentUploadRequest uploadRequest); diff --git a/source/backend/api/Services/IDocumentGenerationService.cs b/source/backend/api/Services/IDocumentGenerationService.cs index 1eb244ccc2..6f7d725c15 100644 --- a/source/backend/api/Services/IDocumentGenerationService.cs +++ b/source/backend/api/Services/IDocumentGenerationService.cs @@ -1,7 +1,9 @@ +using System.Text.Json; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Pims.Api.Models; using Pims.Api.Models.Cdogs; +using Pims.Api.Models.Download; namespace Pims.Api.Services { @@ -13,5 +15,7 @@ public interface IDocumentGenerationService Task> GetSupportedFileTypes(); Task> UploadFileTemplate(IFormFile fileRaw); + + Task> GenerateDocument(string templateType, JsonElement templateData); } } diff --git a/source/backend/api/Services/IDocumentService.cs b/source/backend/api/Services/IDocumentService.cs index 849bc30cbf..a28f27b1aa 100644 --- a/source/backend/api/Services/IDocumentService.cs +++ b/source/backend/api/Services/IDocumentService.cs @@ -2,6 +2,7 @@ using System.Threading.Tasks; using Pims.Api.Models; using Pims.Api.Models.Concepts; +using Pims.Api.Models.Download; using Pims.Api.Models.Mayan; using Pims.Api.Models.Mayan.Document; using Pims.Dal.Entities; diff --git a/source/backend/api/Services/IProjectService.cs b/source/backend/api/Services/IProjectService.cs index b47f834219..34827fd244 100644 --- a/source/backend/api/Services/IProjectService.cs +++ b/source/backend/api/Services/IProjectService.cs @@ -18,5 +18,7 @@ public interface IProjectService IList GetProducts(long projectId); List GetProductFiles(long productId); + + PimsProject Update(PimsProject project); } } diff --git a/source/backend/api/Services/IResearchFileService.cs b/source/backend/api/Services/IResearchFileService.cs index 2376e14f73..1aa79f7ca0 100644 --- a/source/backend/api/Services/IResearchFileService.cs +++ b/source/backend/api/Services/IResearchFileService.cs @@ -1,6 +1,6 @@ +using System.Collections.Generic; using Pims.Dal.Entities; using Pims.Dal.Entities.Models; -using System.Collections.Generic; namespace Pims.Api.Services { diff --git a/source/backend/api/Services/LeasePaymentService.cs b/source/backend/api/Services/LeasePaymentService.cs index bbfeadc2ca..118136cdaa 100644 --- a/source/backend/api/Services/LeasePaymentService.cs +++ b/source/backend/api/Services/LeasePaymentService.cs @@ -28,7 +28,7 @@ public PimsLease DeletePayment(long leaseId, long leaseRowVersion, PimsLeasePaym { ValidatePaymentServiceCall(leaseId, leaseRowVersion); - _leasePaymentRepository.Delete(payment.Id); + _leasePaymentRepository.Delete(payment.Internal_Id); _leasePaymentRepository.CommitTransaction(); return _leaseService.GetById(leaseId); diff --git a/source/backend/api/Services/LeaseService.cs b/source/backend/api/Services/LeaseService.cs index 15bf71d92d..122d03d3e3 100644 --- a/source/backend/api/Services/LeaseService.cs +++ b/source/backend/api/Services/LeaseService.cs @@ -1,4 +1,3 @@ -using System; using System.Collections.Generic; using System.Linq; using Microsoft.Extensions.Logging; @@ -67,7 +66,7 @@ public PimsLease Update(PimsLease lease, bool userOverride = false) { _leaseRepository.Update(lease, false); var leaseWithProperties = AssociatePropertyLeases(lease, userOverride); - var updatedLease = _leaseRepository.UpdatePropertyLeases(lease.Id, lease.ConcurrencyControlNumber, leaseWithProperties.PimsPropertyLeases, userOverride); + var updatedLease = _leaseRepository.UpdatePropertyLeases(lease.Internal_Id, lease.ConcurrencyControlNumber, leaseWithProperties.PimsPropertyLeases, userOverride); _leaseRepository.CommitTransaction(); return updatedLease; } @@ -89,8 +88,8 @@ private PimsLease AssociatePropertyLeases(PimsLease lease, bool userOverride = f { PimsProperty property = propertyLease.Property; var existingPropertyLeases = _propertyLeaseRepository.GetAllByPropertyId(property.PropertyId); - var isPropertyOnOtherLease = existingPropertyLeases.Any(p => p.LeaseId != lease.Id); - var isPropertyOnThisLease = existingPropertyLeases.Any(p => p.LeaseId == lease.Id); + var isPropertyOnOtherLease = existingPropertyLeases.Any(p => p.LeaseId != lease.Internal_Id); + var isPropertyOnThisLease = existingPropertyLeases.Any(p => p.LeaseId == lease.Internal_Id); if (isPropertyOnOtherLease && !isPropertyOnThisLease && !userOverride) { var genericOverrideErrorMsg = $"is attached to L-File # {existingPropertyLeases.FirstOrDefault().Lease.LFileNo}"; @@ -107,7 +106,7 @@ private PimsLease AssociatePropertyLeases(PimsLease lease, bool userOverride = f } // If the property exist dont update it, just refer to it by id. - if (property.Id != 0) + if (property.Internal_Id != 0) { propertyLease.PropertyId = property.PropertyId; propertyLease.Property = null; @@ -127,7 +126,7 @@ private void MatchProperties(PimsLease lease) try { var foundProperty = _propertyRepository.GetByPid(pid); - leaseProperty.PropertyId = foundProperty.Id; + leaseProperty.PropertyId = foundProperty.Internal_Id; leaseProperty.Property = foundProperty; } catch (KeyNotFoundException) @@ -142,7 +141,7 @@ private void MatchProperties(PimsLease lease) try { var foundProperty = _propertyRepository.GetByPin(pin); - leaseProperty.PropertyId = foundProperty.Id; + leaseProperty.PropertyId = foundProperty.Internal_Id; leaseProperty.Property = foundProperty; } catch (KeyNotFoundException) diff --git a/source/backend/api/Services/LeaseTermService.cs b/source/backend/api/Services/LeaseTermService.cs index ce4612386a..95a8ed920b 100644 --- a/source/backend/api/Services/LeaseTermService.cs +++ b/source/backend/api/Services/LeaseTermService.cs @@ -31,7 +31,7 @@ public PimsLease DeleteTerm(long leaseId, long leaseRowVersion, PimsLeaseTerm te ValidateTermServiceCall(leaseId, leaseRowVersion); ValidateDeletionRules(term); - _leaseTermRepository.Delete(term.Id); + _leaseTermRepository.Delete(term.Internal_Id); _leaseTermRepository.CommitTransaction(); return _leaseRepository.Get(leaseId); @@ -75,7 +75,7 @@ private void ValidateTermServiceCall(long leaseId, long leaseRowVersion) private void ValidateDeletionRules(PimsLeaseTerm term) { - PimsLeaseTerm leaseTermToDelete = _leaseTermRepository.GetById(term.Id, true); + PimsLeaseTerm leaseTermToDelete = _leaseTermRepository.GetById(term.Internal_Id, true); if (leaseTermToDelete.PimsLeasePayments.Count > 0) { throw new InvalidOperationException("A term with payments attached can not be deleted. If you intend to delete this term, you must delete each of the corresponding payments first."); @@ -85,7 +85,7 @@ private void ValidateDeletionRules(PimsLeaseTerm term) throw new InvalidOperationException("Exercised terms cannot be deleted. Remove all payments from this term and set this term to 'Not Exercised' to delete this term."); } IEnumerable termsForLease = _leaseTermRepository.GetAllByLeaseId(term.LeaseId).OrderBy(t => t.TermStartDate).ThenBy(t => t.LeaseTermId); - if (term.Id == termsForLease.FirstOrDefault()?.Id && termsForLease.Count() > 1) + if (term.Internal_Id == termsForLease.FirstOrDefault()?.Internal_Id && termsForLease.Count() > 1) { throw new InvalidOperationException("You must delete all renewals before deleting the initial term."); } @@ -138,7 +138,7 @@ private bool IsTermOverlapping(PimsLeaseTerm term) { IEnumerable terms = _leaseTermRepository.GetAllByLeaseId(term.LeaseId); - return terms.Any(t => t.Id != term.Id && (t.TermExpiryDate >= term.TermStartDate && t.TermStartDate <= term.TermStartDate + return terms.Any(t => t.Internal_Id != term.Internal_Id && (t.TermExpiryDate >= term.TermStartDate && t.TermStartDate <= term.TermStartDate || (t.TermExpiryDate == null && t.TermStartDate <= term.TermStartDate) || (term.TermExpiryDate == null && t.TermStartDate >= term.TermStartDate))); } diff --git a/source/backend/api/Services/NoteService.cs b/source/backend/api/Services/NoteService.cs index 695501ee8e..fb0d46a42b 100644 --- a/source/backend/api/Services/NoteService.cs +++ b/source/backend/api/Services/NoteService.cs @@ -94,7 +94,7 @@ public NoteModel Update(NoteModel model) _noteRepository.CommitTransaction(); this.Logger.LogInformation("Note with id {id} update successfully", model.Id); - return GetById(newNote.Id); + return GetById(newNote.Internal_Id); } /// diff --git a/source/backend/api/Services/OrganizationService.cs b/source/backend/api/Services/OrganizationService.cs index 2c3ced8994..37df847406 100644 --- a/source/backend/api/Services/OrganizationService.cs +++ b/source/backend/api/Services/OrganizationService.cs @@ -39,19 +39,19 @@ public PimsOrganization AddOrganization(PimsOrganization organization, bool user var createdOrganization = _organizationRepository.Add(organization, userOverride); _organizationRepository.CommitTransaction(); - return GetOrganization(createdOrganization.Id); + return GetOrganization(createdOrganization.Internal_Id); } public PimsOrganization UpdateOrganization(PimsOrganization organization, long rowVersion) { organization.ThrowIfNull(nameof(organization)); this.User.ThrowIfNotAuthorized(Permissions.ContactEdit); - ValidateRowVersion(organization.Id, rowVersion); + ValidateRowVersion(organization.Internal_Id, rowVersion); var updatedOrganization = _organizationRepository.Update(organization); _organizationRepository.CommitTransaction(); - return GetOrganization(updatedOrganization.Id); + return GetOrganization(updatedOrganization.Internal_Id); } public void ValidateRowVersion(long organizationId, long rowVersion) diff --git a/source/backend/api/Services/PersonService.cs b/source/backend/api/Services/PersonService.cs index 63ee9cb404..5345423851 100644 --- a/source/backend/api/Services/PersonService.cs +++ b/source/backend/api/Services/PersonService.cs @@ -39,19 +39,19 @@ public PimsPerson AddPerson(PimsPerson person, bool userOverride) var createdPerson = _personRepository.Add(person, userOverride); _personRepository.CommitTransaction(); - return GetPerson(createdPerson.Id); + return GetPerson(createdPerson.Internal_Id); } public PimsPerson UpdatePerson(PimsPerson person, long rowVersion) { person.ThrowIfNull(nameof(person)); this.User.ThrowIfNotAuthorized(Permissions.ContactEdit); - ValidateRowVersion(person.Id, rowVersion); + ValidateRowVersion(person.Internal_Id, rowVersion); var updatedPerson = _personRepository.Update(person); _personRepository.CommitTransaction(); - return GetPerson(updatedPerson.Id); + return GetPerson(updatedPerson.Internal_Id); } public void ValidateRowVersion(long personId, long rowVersion) diff --git a/source/backend/api/Services/ProjectService.cs b/source/backend/api/Services/ProjectService.cs index 26c3e82913..aaaa85a7f5 100644 --- a/source/backend/api/Services/ProjectService.cs +++ b/source/backend/api/Services/ProjectService.cs @@ -112,7 +112,19 @@ public PimsProject Add(PimsProject project) var newProject = _projectRepository.Add(project); _projectRepository.CommitTransaction(); - return _projectRepository.Get(newProject.Id); + return _projectRepository.Get(newProject.Internal_Id); + } + + public PimsProject Update(PimsProject project) + { + _user.ThrowIfNotAuthorized(Permissions.ProjectEdit); + project.ThrowIfNull(nameof(project)); + _logger.LogInformation($"Updating project with id ${project.Internal_Id}"); + + var updatedProject = _projectRepository.Update(project); + _projectRepository.CommitTransaction(); + + return updatedProject; } private async Task> GetPageAsync(ProjectFilter filter) diff --git a/source/backend/api/Services/PropertyService.cs b/source/backend/api/Services/PropertyService.cs index fd7b603bd5..d7db898617 100644 --- a/source/backend/api/Services/PropertyService.cs +++ b/source/backend/api/Services/PropertyService.cs @@ -70,7 +70,7 @@ public PimsProperty Update(PimsProperty property) var newProperty = _propertyRepository.Update(property); _propertyRepository.CommitTransaction(); - return GetById(newProperty.Id); + return GetById(newProperty.Internal_Id); } } } diff --git a/source/backend/api/Services/ResearchFileService.cs b/source/backend/api/Services/ResearchFileService.cs index 0a18ed1fdf..2aced4c3e6 100644 --- a/source/backend/api/Services/ResearchFileService.cs +++ b/source/backend/api/Services/ResearchFileService.cs @@ -3,6 +3,7 @@ using System.Security.Claims; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; +using Pims.Core.Extensions; using Pims.Dal.Constants; using Pims.Dal.Entities; using Pims.Dal.Entities.Models; @@ -78,9 +79,11 @@ public PimsResearchFile Add(PimsResearchFile researchFile) public PimsResearchFile Update(PimsResearchFile researchFile) { - _logger.LogInformation("Updating research file..."); + researchFile.ThrowIfNull(nameof(researchFile)); + + _logger.LogInformation("Updating research file with id {id}", researchFile.Internal_Id); _user.ThrowIfNotAuthorized(Permissions.ResearchFileEdit); - ValidateVersion(researchFile.Id, researchFile.ConcurrencyControlNumber); + ValidateVersion(researchFile.Internal_Id, researchFile.ConcurrencyControlNumber); var newResearchFile = _researchFileRepository.Update(researchFile); _researchFileRepository.CommitTransaction(); @@ -91,20 +94,20 @@ public PimsResearchFile UpdateProperties(PimsResearchFile researchFile) { _logger.LogInformation("Updating research file properties..."); _user.ThrowIfNotAuthorized(Permissions.ResearchFileEdit); - ValidateVersion(researchFile.Id, researchFile.ConcurrencyControlNumber); + ValidateVersion(researchFile.Internal_Id, researchFile.ConcurrencyControlNumber); MatchProperties(researchFile); // Get the current properties in the research file - var currentProperties = _researchFilePropertyRepository.GetAllByResearchFileId(researchFile.Id); + var currentProperties = _researchFilePropertyRepository.GetAllByResearchFileId(researchFile.Internal_Id); // Check if the property is new or if it is being updated foreach (var incommingResearchProperty in researchFile.PimsPropertyResearchFiles) { // If the property is not new, check if the name has been updated. - if (incommingResearchProperty.Id != 0) + if (incommingResearchProperty.Internal_Id != 0) { - PimsPropertyResearchFile existingProperty = currentProperties.FirstOrDefault(x => x.Id == incommingResearchProperty.Id); + PimsPropertyResearchFile existingProperty = currentProperties.FirstOrDefault(x => x.Internal_Id == incommingResearchProperty.Internal_Id); if (existingProperty.PropertyName != incommingResearchProperty.PropertyName) { existingProperty.PropertyName = incommingResearchProperty.PropertyName; @@ -119,7 +122,7 @@ public PimsResearchFile UpdateProperties(PimsResearchFile researchFile) } // The ones not on the new set should be deleted - List differenceSet = currentProperties.Where(x => !researchFile.PimsPropertyResearchFiles.Any(y => y.Id == x.Id)).ToList(); + List differenceSet = currentProperties.Where(x => !researchFile.PimsPropertyResearchFiles.Any(y => y.Internal_Id == x.Internal_Id)).ToList(); foreach (var deletedProperty in differenceSet) { _researchFilePropertyRepository.Delete(deletedProperty); @@ -138,7 +141,7 @@ public PimsResearchFile UpdateProperties(PimsResearchFile researchFile) } _researchFilePropertyRepository.CommitTransaction(); - return _researchFileRepository.GetById(researchFile.Id); + return _researchFileRepository.GetById(researchFile.Internal_Id); } public Paged GetPage(ResearchFilter filter) @@ -172,7 +175,7 @@ private void MatchProperties(PimsResearchFile researchFile) try { var foundProperty = _propertyRepository.GetByPid(pid); - researchProperty.PropertyId = foundProperty.Id; + researchProperty.PropertyId = foundProperty.Internal_Id; researchProperty.Property = foundProperty; } catch (KeyNotFoundException) @@ -187,7 +190,7 @@ private void MatchProperties(PimsResearchFile researchFile) try { var foundProperty = _propertyRepository.GetByPin(pin); - researchProperty.PropertyId = foundProperty.Id; + researchProperty.PropertyId = foundProperty.Internal_Id; researchProperty.Property = foundProperty; } catch (KeyNotFoundException) @@ -217,10 +220,10 @@ private void PopulateNewProperty(PimsProperty property) property.IsPropertyOfInterest = true; - if(property.Address != null) + if (property.Address != null) { var provinceId = _lookupRepository.GetAllProvinces().FirstOrDefault(p => p.ProvinceStateCode == "BC")?.Id; - if(provinceId.HasValue) + if (provinceId.HasValue) { property.Address.ProvinceStateId = provinceId.Value; } diff --git a/source/backend/api/Startup.cs b/source/backend/api/Startup.cs index 5d3659a00c..ab7899a22f 100644 --- a/source/backend/api/Startup.cs +++ b/source/backend/api/Startup.cs @@ -119,7 +119,7 @@ public void ConfigureServices(IServiceCollection services) options.Converters.Add(new Int32ToStringJsonConverter()); }); services.Configure(this.Configuration.GetSection("Keycloak")); - services.Configure(this.Configuration.GetSection("Keycloak:OpenIdConnect")); + services.Configure(this.Configuration.GetSection("OpenIdConnect")); services.Configure(this.Configuration.GetSection("Keycloak")); services.Configure(this.Configuration.GetSection("Pims")); services.AddOptions(); diff --git a/source/backend/api/appsettings.json b/source/backend/api/appsettings.json index 17e1540c58..49509c3809 100644 --- a/source/backend/api/appsettings.json +++ b/source/backend/api/appsettings.json @@ -50,17 +50,17 @@ "API": "https://api.loginproxy.gov.bc.ca/api/v1", "Integration": "4379", "Environment": "prod" - }, - "OpenIdConnect": { - "Authority": "https://loginproxy.gov.bc.ca/auth/realms/standard", - "Login": "/protocol/openid-connect/auth", - "Logout": "/protocol/openid-connect/logout", - "Register": "/protocol/openid-connect/registrations", - "Token": "/protocol/openid-connect/token", - "TokenIntrospect": "/protocol/openid-connect/token/introspect", - "UserInfo": "/protocol/openid-connect/userinfo" } }, + "OpenIdConnect": { + "Authority": "https://loginproxy.gov.bc.ca/auth/realms/standard", + "Login": "/protocol/openid-connect/auth", + "Logout": "/protocol/openid-connect/logout", + "Register": "/protocol/openid-connect/registrations", + "Token": "/protocol/openid-connect/token", + "TokenIntrospect": "/protocol/openid-connect/token/introspect", + "UserInfo": "/protocol/openid-connect/userinfo" + }, "ConnectionStrings": { "PIMS": "Server=localhost,5433;uid=admin;Database=pims;Password=Password12" }, diff --git a/source/backend/dal.keycloak/PimsKeycloakService.cs b/source/backend/dal.keycloak/PimsKeycloakService.cs index 3f1cb02e76..eec1826a49 100644 --- a/source/backend/dal.keycloak/PimsKeycloakService.cs +++ b/source/backend/dal.keycloak/PimsKeycloakService.cs @@ -2,8 +2,6 @@ using System.Linq; using System.Security.Claims; using System.Threading.Tasks; -using MapsterMapper; -using Microsoft.Extensions.Logging; using Pims.Core.Extensions; using Pims.Dal.Entities; using Pims.Dal.Helpers.Extensions; @@ -26,9 +24,7 @@ public class PimsKeycloakService : IPimsKeycloakService private readonly IUserRepository _userRepository; private readonly IRoleRepository _roleRepository; private readonly IAccessRequestRepository _accessRequestRepository; - private readonly IMapper _mapper; private readonly ClaimsPrincipal _user; - private readonly ILogger _logger; #endregion @@ -40,25 +36,20 @@ public class PimsKeycloakService : IPimsKeycloakService /// /// /// + /// /// - /// - /// public PimsKeycloakService( IKeycloakService keycloakService, IUserRepository userRepository, IRoleRepository roleRepository, IAccessRequestRepository accessRequestRepository, - ClaimsPrincipal user, - IMapper mapper, - ILogger logger) + ClaimsPrincipal user) { _keycloakService = keycloakService; _userRepository = userRepository; _roleRepository = roleRepository; _accessRequestRepository = accessRequestRepository; - _mapper = mapper; _user = user; - _logger = logger; } #endregion @@ -73,7 +64,7 @@ public PimsKeycloakService( public async Task UpdateUserAsync(Entity.PimsUser user) { var kuser = await _keycloakService.GetUserAsync(user.GuidIdentifierValue.Value) ?? throw new KeyNotFoundException("User does not exist in Keycloak"); - var euser = _userRepository.GetTrackingById(user.Id); + var euser = _userRepository.GetTrackingById(user.Internal_Id); return await SaveUserChanges(user, euser, kuser, true); } @@ -87,7 +78,7 @@ public PimsKeycloakService( public async Task AppendToUserAsync(Entity.PimsUser update) { var kuser = await _keycloakService.GetUserAsync(update.GuidIdentifierValue.Value) ?? throw new KeyNotFoundException("User does not exist in Keycloak"); - var euser = _userRepository.GetTrackingById(update.Id); + var euser = _userRepository.GetTrackingById(update.Internal_Id); return await SaveUserChanges(update, euser, kuser, true); } @@ -111,7 +102,7 @@ public PimsKeycloakService( user.PimsUserRoles.Clear(); user.IsDisabled = false; - user.PimsUserRoles.Add(new Entity.PimsUserRole() { UserId = user.Id, RoleId = update.RoleId.Value }); + user.PimsUserRoles.Add(new Entity.PimsUserRole() { UserId = user.Internal_Id, RoleId = update.RoleId.Value }); await AppendToUserAsync(user); } update.User = user; @@ -132,12 +123,12 @@ public PimsKeycloakService( if (resetRoles) { euser.PimsUserRoles.ForEach(role => _userRepository.RemoveRole(euser, role.RoleId)); - euser.PimsRegionUsers.ForEach(region => _userRepository.RemoveRegion(euser, region.Id)); + euser.PimsRegionUsers.ForEach(region => _userRepository.RemoveRegion(euser, region.Internal_Id)); } // Update PIMS var idirUsername = kuser.Attributes?.FirstOrDefault(a => a.Key == "idir_username").Value.FirstOrDefault(); - if(idirUsername == null) + if (idirUsername == null) { throw new KeyNotFoundException("keycloak user missing required idir_username attribute"); } @@ -180,7 +171,7 @@ public PimsKeycloakService( await _keycloakService.ModifyUserRoleMappings(addOperations.Concat(removeOperations)); _userRepository.CommitTransaction(); - return _userRepository.GetById(euser.Id); + return _userRepository.GetById(euser.Internal_Id); } } #endregion diff --git a/source/backend/dal/Comparers/OrganizationIdComparer.cs b/source/backend/dal/Comparers/OrganizationIdComparer.cs index 664d8a82aa..1788a683fe 100644 --- a/source/backend/dal/Comparers/OrganizationIdComparer.cs +++ b/source/backend/dal/Comparers/OrganizationIdComparer.cs @@ -14,7 +14,7 @@ public bool Equals([AllowNull] PimsOrganization x, [AllowNull] PimsOrganization public int GetHashCode([DisallowNull] PimsOrganization obj) { var hash = new HashCode(); - hash.Add(obj.Id); + hash.Add(obj.Internal_Id); return hash.ToHashCode(); } } diff --git a/source/backend/dal/Helpers/Extensions/AcquisitionExtensions.cs b/source/backend/dal/Helpers/Extensions/AcquisitionExtensions.cs index bdcab08aa6..0a1053af1c 100644 --- a/source/backend/dal/Helpers/Extensions/AcquisitionExtensions.cs +++ b/source/backend/dal/Helpers/Extensions/AcquisitionExtensions.cs @@ -43,41 +43,41 @@ public static class AcquisitionExtensions if (!string.IsNullOrWhiteSpace(filter.Pid)) { var pidValue = filter.Pid.Replace("-", string.Empty).Trim().TrimStart('0'); - query = query.Where(l => l.PimsPropertyAcquisitionFiles.Any(pa => pa != null && EF.Functions.Like(pa.Property.Pid.ToString(), $"%{pidValue}%"))); + query = query.Where(acq => acq.PimsPropertyAcquisitionFiles.Any(pa => pa != null && EF.Functions.Like(pa.Property.Pid.ToString(), $"%{pidValue}%"))); } if (!string.IsNullOrWhiteSpace(filter.Pin)) { var pinValue = filter.Pin.Replace("-", string.Empty).Trim().TrimStart('0'); - query = query.Where(l => l.PimsPropertyAcquisitionFiles.Any(pa => pa != null && EF.Functions.Like(pa.Property.Pin.ToString(), $"%{pinValue}%"))); + query = query.Where(acq => acq.PimsPropertyAcquisitionFiles.Any(pa => pa != null && EF.Functions.Like(pa.Property.Pin.ToString(), $"%{pinValue}%"))); } if (!string.IsNullOrWhiteSpace(filter.Address)) { - query = query.Where(l => l.PimsPropertyAcquisitionFiles.Any(pl => pl != null && - (EF.Functions.Like(pl.Property.Address.StreetAddress1, $"%{filter.Address}%") || - EF.Functions.Like(pl.Property.Address.StreetAddress2, $"%{filter.Address}%") || - EF.Functions.Like(pl.Property.Address.StreetAddress3, $"%{filter.Address}%") || - EF.Functions.Like(pl.Property.Address.MunicipalityName, $"%{filter.Address}%")))); + query = query.Where(acq => acq.PimsPropertyAcquisitionFiles.Any(pa => pa != null && + (EF.Functions.Like(pa.Property.Address.StreetAddress1, $"%{filter.Address}%") || + EF.Functions.Like(pa.Property.Address.StreetAddress2, $"%{filter.Address}%") || + EF.Functions.Like(pa.Property.Address.StreetAddress3, $"%{filter.Address}%") || + EF.Functions.Like(pa.Property.Address.MunicipalityName, $"%{filter.Address}%")))); } if (!string.IsNullOrWhiteSpace(filter.AcquisitionFileStatusTypeCode)) { - query = query.Where(r => r.AcquisitionFileStatusTypeCode == filter.AcquisitionFileStatusTypeCode); + query = query.Where(acq => acq.AcquisitionFileStatusTypeCode == filter.AcquisitionFileStatusTypeCode); } if (!string.IsNullOrWhiteSpace(filter.AcquisitionFileNameOrNumber)) { - query = query.Where(r => EF.Functions.Like(r.FileName, $"%{filter.AcquisitionFileNameOrNumber}%") || EF.Functions.Like(r.FileNumber, $"%{filter.AcquisitionFileNameOrNumber}%")); + query = query.Where(r => EF.Functions.Like(r.FileName, $"%{filter.AcquisitionFileNameOrNumber}%") || EF.Functions.Like(r.FileNumber, $"%{filter.AcquisitionFileNameOrNumber}%") || EF.Functions.Like(r.LegacyFileNumber, $"%{filter.AcquisitionFileNameOrNumber}%")); } if (!string.IsNullOrWhiteSpace(filter.ProjectNameOrNumber)) { - query = query.Where(r => EF.Functions.Like(r.MinistryProjectName, $"%{filter.ProjectNameOrNumber}%") || EF.Functions.Like(r.MinistryProjectNumber, $"%{filter.ProjectNameOrNumber}%")); + query = query.Where(acq => EF.Functions.Like(acq.Project.Code, $"%{filter.ProjectNameOrNumber}%") || EF.Functions.Like(acq.Project.Description, $"%{filter.ProjectNameOrNumber}%")); } // Business Requirement: limit search results to user's assigned region(s) - query = query.Where(r => regions.Contains(r.RegionCode)); + query = query.Where(acq => regions.Contains(acq.RegionCode)); if (filter.Sort?.Any() == true) { @@ -85,13 +85,14 @@ public static class AcquisitionExtensions } else { - query = query.OrderBy(l => l.AcquisitionFileId); + query = query.OrderBy(acq => acq.AcquisitionFileId); } return query - .Include(r => r.AcquisitionFileStatusTypeCodeNavigation) - .Include(r => r.RegionCodeNavigation) - .Include(r => r.PimsPropertyAcquisitionFiles) + .Include(acq => acq.AcquisitionFileStatusTypeCodeNavigation) + .Include(acq => acq.RegionCodeNavigation) + .Include(acq => acq.Project) + .Include(acq => acq.PimsPropertyAcquisitionFiles) .ThenInclude(pa => pa.Property) .ThenInclude(p => p.Address); } diff --git a/source/backend/dal/Helpers/Extensions/EntityExtensions.cs b/source/backend/dal/Helpers/Extensions/EntityExtensions.cs index 5b01992ca2..79610178a9 100644 --- a/source/backend/dal/Helpers/Extensions/EntityExtensions.cs +++ b/source/backend/dal/Helpers/Extensions/EntityExtensions.cs @@ -113,8 +113,8 @@ public static void SetOriginalConcurrencyControlNumber(this T source, DbConte /// /// public static void UpdateChild(this PimsContext context, Expression> childNavigation, T_Id parentId, T_ChildEntity[] children, bool updateChildValues = true) - where T_Entity : IdentityBaseAppEntity - where T_ChildEntity : IdentityBaseAppEntity + where T_Entity : StandardIdentityBaseAppEntity + where T_ChildEntity : StandardIdentityBaseAppEntity { var dbEntity = context.Find(parentId); @@ -125,12 +125,12 @@ public static void UpdateChild(this PimsContext c var accessor = dbItemsEntry.Metadata.GetCollectionAccessor(); dbItemsEntry.Load(); - var dbItemsMap = dbItemsEntry.CurrentValue.Cast>() - .ToDictionary(e => e.Id); + var dbItemsMap = dbItemsEntry.CurrentValue.Cast>() + .ToDictionary(e => e.Internal_Id); foreach (var item in children) { - if (!dbItemsMap.TryGetValue(item.Id, out var oldItem)) + if (!dbItemsMap.TryGetValue(item.Internal_Id, out var oldItem)) { accessor.Add(dbEntity, item, false); } @@ -139,7 +139,7 @@ public static void UpdateChild(this PimsContext c if (updateChildValues) { context.Entry(oldItem).CurrentValues.SetValues(item); - dbItemsMap.Remove(item.Id); + dbItemsMap.Remove(item.Internal_Id); } } } @@ -172,8 +172,8 @@ public static void UpdateGrandchild( T_Id parentId, T_ChildEntity[] childrenWithGrandchildren, bool updateGrandChildValues = true) - where T_Entity : IdentityBaseAppEntity - where T_ChildEntity : IdentityBaseAppEntity + where T_Entity : StandardIdentityBaseAppEntity + where T_ChildEntity : StandardIdentityBaseAppEntity { UpdateGrandchild(context, childNavigation, grandchildNavigation, parentId, childrenWithGrandchildren, (context, x) => true, updateGrandChildValues); } @@ -201,8 +201,8 @@ public static void UpdateGrandchild( T_ChildEntity[] childrenWithGrandchildren, Func canDeleteGrandchild, bool updateGrandChildValues = true) - where T_Entity : IdentityBaseAppEntity - where T_ChildEntity : IdentityBaseAppEntity + where T_Entity : StandardIdentityBaseAppEntity + where T_ChildEntity : StandardIdentityBaseAppEntity { var dbEntity = context.Find(parentId); var dbEntry = context.Entry(dbEntity); @@ -212,7 +212,7 @@ public static void UpdateGrandchild( var childAccessor = childCollection.Metadata.GetCollectionAccessor(); childCollection.Load(); - var existingChildren = childCollection.CurrentValue.Cast>().ToDictionary(e => e.Id); + var existingChildren = childCollection.CurrentValue.Cast>().ToDictionary(e => e.Internal_Id); // Compile the grandchildNavigation lambda expression so we can extract the value from the passed in array of children var grandchildPropertyName = grandchildNavigation.GetPropertyAccess().Name; @@ -220,7 +220,7 @@ public static void UpdateGrandchild( foreach (var child in childrenWithGrandchildren) { - if (!existingChildren.TryGetValue(child.Id, out var existingChild)) + if (!existingChildren.TryGetValue(child.Internal_Id, out var existingChild)) { childAccessor.Add(dbEntity, child, false); } @@ -240,7 +240,7 @@ public static void UpdateGrandchild( grandchildReference.TargetEntry.CurrentValues.SetValues(grandchildValue); } - existingChildren.Remove(child.Id); + existingChildren.Remove(child.Internal_Id); } } diff --git a/source/backend/dal/Helpers/Extensions/LeaseExtensions.cs b/source/backend/dal/Helpers/Extensions/LeaseExtensions.cs index 766a3e20b9..5b887cf798 100644 --- a/source/backend/dal/Helpers/Extensions/LeaseExtensions.cs +++ b/source/backend/dal/Helpers/Extensions/LeaseExtensions.cs @@ -134,6 +134,10 @@ public static string GetTenantName(this Pims.Dal.Entities.PimsLeaseTenant lease) /// public static DateTime? GetExpiryDate(this Pims.Dal.Entities.PimsLease lease) { + if (lease.PimsLeaseTerms != null && lease.PimsLeaseTerms.Any(t => t.TermExpiryDate == null)) + { + return null; + } if (lease.OrigExpiryDate != null) { if (lease.PimsLeaseTerms != null && lease.PimsLeaseTerms.Any(t => t.TermExpiryDate > lease.OrigExpiryDate)) @@ -270,6 +274,7 @@ public static string GetTenantName(this Pims.Dal.Entities.PimsLeaseTenant lease) .ThenInclude(t => t.Organization) .Include(p => p.RegionCodeNavigation) .Include(l => l.PimsLeaseTerms); + if (loadPayments) { diff --git a/source/backend/dal/Repositories/AcquisitionFilePropertyRepository.cs b/source/backend/dal/Repositories/AcquisitionFilePropertyRepository.cs index cc384cc42e..405f5def39 100644 --- a/source/backend/dal/Repositories/AcquisitionFilePropertyRepository.cs +++ b/source/backend/dal/Repositories/AcquisitionFilePropertyRepository.cs @@ -45,6 +45,22 @@ public List GetPropertiesByAcquisitionFileId(long a .ToList(); } + public List GetOwnersByAcquisitionFileId(long acquisitionFileId) + { + return Context.PimsAcquisitionOwners + .Where(x => x.AcquisitionFileId == acquisitionFileId) + .Include(x => x.Address) + .ThenInclude(x => x.RegionCodeNavigation) + .Include(x => x.Address) + .ThenInclude(x => x.Country) + .Include(x => x.Address) + .ThenInclude(x => x.ProvinceState) + .Include(x => x.Address) + .ThenInclude(x => x.DistrictCodeNavigation) + .AsNoTracking() + .ToList(); + } + public int GetAcquisitionFilePropertyRelatedCount(long propertyId) { return Context.PimsPropertyAcquisitionFiles @@ -72,7 +88,7 @@ public void Delete(PimsPropertyAcquisitionFile propertyAcquisitionFile) propertyAcquisitionFile.ThrowIfNull(nameof(propertyAcquisitionFile)); var propertyAcquisitionFileToDelete = Context.PimsPropertyAcquisitionFiles - .Where(x => x.PropertyAcquisitionFileId == propertyAcquisitionFile.Id) + .Where(x => x.PropertyAcquisitionFileId == propertyAcquisitionFile.Internal_Id) .Include(rp => rp.PimsActInstPropAcqFiles) .FirstOrDefault() ?? throw new KeyNotFoundException(); diff --git a/source/backend/dal/Repositories/AcquisitionFileRepository.cs b/source/backend/dal/Repositories/AcquisitionFileRepository.cs index 20fab3bdb6..3f630e3a39 100644 --- a/source/backend/dal/Repositories/AcquisitionFileRepository.cs +++ b/source/backend/dal/Repositories/AcquisitionFileRepository.cs @@ -84,6 +84,8 @@ public PimsAcquisitionFile GetById(long id) .ThenInclude(rp => rp.Person) .Include(r => r.PimsAcquisitionFilePeople) .ThenInclude(rp => rp.AcqFlPersonProfileTypeCodeNavigation) + .Include(r => r.PimsAcquisitionOwners) + .ThenInclude(x => x.Address) .FirstOrDefault(x => x.AcquisitionFileId == id) ?? throw new KeyNotFoundException(); } @@ -100,7 +102,7 @@ public PimsAcquisitionFile Add(PimsAcquisitionFile acquisitionFile) // Existing properties should not be added. foreach (var acquisitionProperty in acquisitionFile.PimsPropertyAcquisitionFiles) { - if (acquisitionProperty.Property.Id != 0) + if (acquisitionProperty.Property.Internal_Id != 0) { Context.Entry(acquisitionProperty.Property).State = EntityState.Unchanged; } @@ -125,7 +127,7 @@ public PimsAcquisitionFile Update(PimsAcquisitionFile acquisitionFile) acquisitionFile.ThrowIfNull(nameof(acquisitionFile)); var existingAcqFile = this.Context.PimsAcquisitionFiles - .FirstOrDefault(x => x.AcquisitionFileId == acquisitionFile.Id) ?? throw new KeyNotFoundException(); + .FirstOrDefault(x => x.AcquisitionFileId == acquisitionFile.Internal_Id) ?? throw new KeyNotFoundException(); // PSP-4413 Changing the MOTI region triggers an update to the ACQ File Number if (existingAcqFile.RegionCode != acquisitionFile.RegionCode) @@ -141,7 +143,7 @@ public PimsAcquisitionFile Update(PimsAcquisitionFile acquisitionFile) } this.Context.Entry(existingAcqFile).CurrentValues.SetValues(acquisitionFile); - this.Context.UpdateChild(p => p.PimsAcquisitionFilePeople, acquisitionFile.Id, acquisitionFile.PimsAcquisitionFilePeople.ToArray()); + this.Context.UpdateChild(p => p.PimsAcquisitionFilePeople, acquisitionFile.Internal_Id, acquisitionFile.PimsAcquisitionFilePeople.ToArray()); return acquisitionFile; } diff --git a/source/backend/dal/Repositories/ActivityRepository.cs b/source/backend/dal/Repositories/ActivityRepository.cs index 88d86e1d49..1b81b7818f 100644 --- a/source/backend/dal/Repositories/ActivityRepository.cs +++ b/source/backend/dal/Repositories/ActivityRepository.cs @@ -109,7 +109,7 @@ public PimsActivityInstance Update(PimsActivityInstance instance) { instance.ThrowIfNull(nameof(instance)); var currentActivity = this.Context.PimsActivityInstances - .FirstOrDefault(x => x.ActivityInstanceId == instance.Id) ?? throw new KeyNotFoundException(); + .FirstOrDefault(x => x.ActivityInstanceId == instance.Internal_Id) ?? throw new KeyNotFoundException(); this.Context.Entry(currentActivity).CurrentValues.SetValues(instance); return instance; @@ -118,7 +118,7 @@ public PimsActivityInstance Update(PimsActivityInstance instance) public PimsActivityInstance UpdateActivityResearchProperties(PimsActivityInstance instance) { instance.ThrowIfNull(nameof(instance)); - this.Context.UpdateChild(a => a.PimsActInstPropRsrchFiles, instance.Id, instance.PimsActInstPropRsrchFiles.ToArray(), false); + this.Context.UpdateChild(a => a.PimsActInstPropRsrchFiles, instance.Internal_Id, instance.PimsActInstPropRsrchFiles.ToArray(), false); return instance; } @@ -126,7 +126,7 @@ public PimsActivityInstance UpdateActivityResearchProperties(PimsActivityInstanc public PimsActivityInstance UpdateActivityAcquisitionProperties(PimsActivityInstance instance) { instance.ThrowIfNull(nameof(instance)); - this.Context.UpdateChild(a => a.PimsActInstPropAcqFiles, instance.Id, instance.PimsActInstPropAcqFiles.ToArray(), false); + this.Context.UpdateChild(a => a.PimsActInstPropAcqFiles, instance.Internal_Id, instance.PimsActInstPropAcqFiles.ToArray(), false); return instance; } diff --git a/source/backend/dal/Repositories/ActivityTemplateRepository.cs b/source/backend/dal/Repositories/ActivityTemplateRepository.cs index d3a877381a..0a558d6bcc 100644 --- a/source/backend/dal/Repositories/ActivityTemplateRepository.cs +++ b/source/backend/dal/Repositories/ActivityTemplateRepository.cs @@ -4,7 +4,6 @@ using MapsterMapper; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; -using Pims.Dal.Constants; using Pims.Dal.Entities; namespace Pims.Dal.Repositories diff --git a/source/backend/dal/Repositories/DocumentRepository.cs b/source/backend/dal/Repositories/DocumentRepository.cs index da46c19f38..f7954d4adb 100644 --- a/source/backend/dal/Repositories/DocumentRepository.cs +++ b/source/backend/dal/Repositories/DocumentRepository.cs @@ -1,9 +1,9 @@ using System; +using System.Collections.Generic; using System.Linq; using System.Security.Claims; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; -using MoreLinq; using Pims.Core.Extensions; using Pims.Dal.Entities; using Pims.Dal.Helpers.Extensions; @@ -106,36 +106,45 @@ public bool Delete(PimsDocument document) .Include(d => d.PimsActivityTemplateDocuments) .Include(d => d.PimsResearchFileDocuments) .Include(d => d.PimsAcquisitionFileDocuments) - .Where(d => d.DocumentId == document.Id) + .Where(d => d.DocumentId == document.Internal_Id) .AsNoTracking() .FirstOrDefault(); foreach (var pimsResearchFileDocument in documentToDelete.PimsResearchFileDocuments) { - this.Context.PimsResearchFileDocuments.Remove(new PimsResearchFileDocument() { Id = pimsResearchFileDocument.Id }); + this.Context.PimsResearchFileDocuments.Remove(new PimsResearchFileDocument() { Internal_Id = pimsResearchFileDocument.Internal_Id }); } foreach (var pimsAcquisitionFileDocument in documentToDelete.PimsAcquisitionFileDocuments) { - this.Context.PimsAcquisitionFileDocuments.Remove(new PimsAcquisitionFileDocument() { Id = pimsAcquisitionFileDocument.Id }); + this.Context.PimsAcquisitionFileDocuments.Remove(new PimsAcquisitionFileDocument() { Internal_Id = pimsAcquisitionFileDocument.Internal_Id }); } foreach (var pimsActivityInstanceDocument in documentToDelete.PimsActivityInstanceDocuments) { - this.Context.PimsActivityInstanceDocuments.Remove(new PimsActivityInstanceDocument() { Id = pimsActivityInstanceDocument.Id }); + this.Context.PimsActivityInstanceDocuments.Remove(new PimsActivityInstanceDocument() { Internal_Id = pimsActivityInstanceDocument.Internal_Id }); } foreach (var pimsTemplateDocument in documentToDelete.PimsActivityTemplateDocuments) { - this.Context.PimsActivityTemplateDocuments.Remove(new PimsActivityTemplateDocument() { Id = pimsTemplateDocument.Id }); + this.Context.PimsActivityTemplateDocuments.Remove(new PimsActivityTemplateDocument() { Internal_Id = pimsTemplateDocument.Internal_Id }); } this.Context.CommitTransaction(); // TODO: required to enforce delete order. Can be removed when cascade deletes are implemented. - this.Context.PimsDocuments.Remove(new PimsDocument() { Id = document.Id }); + this.Context.PimsDocuments.Remove(new PimsDocument() { Internal_Id = document.Internal_Id }); return true; } + public List GetAllByDocumentType(string documentType) + { + return this.Context.PimsDocuments + .Include(d => d.DocumentType) + .Where(d => d.DocumentType.DocumentType == documentType) + .AsNoTracking() + .ToList(); + } + #endregion } } diff --git a/source/backend/dal/Repositories/Interfaces/IAcquisitionFilePropertyRepository.cs b/source/backend/dal/Repositories/Interfaces/IAcquisitionFilePropertyRepository.cs index 86ab0288fe..fb83fd044d 100644 --- a/source/backend/dal/Repositories/Interfaces/IAcquisitionFilePropertyRepository.cs +++ b/source/backend/dal/Repositories/Interfaces/IAcquisitionFilePropertyRepository.cs @@ -7,6 +7,8 @@ public interface IAcquisitionFilePropertyRepository : IRepository { List GetPropertiesByAcquisitionFileId(long acquisitionFileId); + List GetOwnersByAcquisitionFileId(long acquisitionFileId); + int GetAcquisitionFilePropertyRelatedCount(long propertyId); PimsPropertyAcquisitionFile Add(PimsPropertyAcquisitionFile propertyAcquisitionFile); diff --git a/source/backend/dal/Repositories/Interfaces/IDocumentRepository.cs b/source/backend/dal/Repositories/Interfaces/IDocumentRepository.cs index 407a2bb1ae..171efe128b 100644 --- a/source/backend/dal/Repositories/Interfaces/IDocumentRepository.cs +++ b/source/backend/dal/Repositories/Interfaces/IDocumentRepository.cs @@ -1,3 +1,4 @@ +using System.Collections.Generic; using Pims.Dal.Entities; namespace Pims.Dal.Repositories @@ -13,6 +14,8 @@ public interface IDocumentRepository : IRepository PimsDocument TryGet(long documentId); + List GetAllByDocumentType(string documentType); + PimsDocument Update(PimsDocument document, bool commitTransaction = true); bool Delete(PimsDocument document); diff --git a/source/backend/dal/Repositories/Interfaces/INoteRepository.cs b/source/backend/dal/Repositories/Interfaces/INoteRepository.cs index 546614f3f9..dd0ee01d5a 100644 --- a/source/backend/dal/Repositories/Interfaces/INoteRepository.cs +++ b/source/backend/dal/Repositories/Interfaces/INoteRepository.cs @@ -1,4 +1,3 @@ -using System.Collections.Generic; using Pims.Dal.Entities; namespace Pims.Dal.Repositories diff --git a/source/backend/dal/Repositories/Interfaces/IProjectRepository.cs b/source/backend/dal/Repositories/Interfaces/IProjectRepository.cs index 7f6ff5aaa0..c83b258de8 100644 --- a/source/backend/dal/Repositories/Interfaces/IProjectRepository.cs +++ b/source/backend/dal/Repositories/Interfaces/IProjectRepository.cs @@ -19,5 +19,9 @@ public interface IProjectRepository : IRepository PimsProject Add(PimsProject project); PimsProject Get(long id); + + PimsProject Update(PimsProject project); + + long GetRowVersion(long id); } } diff --git a/source/backend/dal/Repositories/LookupRepository.cs b/source/backend/dal/Repositories/LookupRepository.cs index 618038c86c..c82daa4e5c 100644 --- a/source/backend/dal/Repositories/LookupRepository.cs +++ b/source/backend/dal/Repositories/LookupRepository.cs @@ -1,9 +1,9 @@ -using Microsoft.EntityFrameworkCore; -using Microsoft.Extensions.Logging; -using Pims.Dal.Entities; using System.Collections.Generic; using System.Linq; using System.Security.Claims; +using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.Logging; +using Pims.Dal.Entities; namespace Pims.Dal.Repositories { diff --git a/source/backend/dal/Repositories/NoteRepository.cs b/source/backend/dal/Repositories/NoteRepository.cs index bbbebb5403..a509078195 100644 --- a/source/backend/dal/Repositories/NoteRepository.cs +++ b/source/backend/dal/Repositories/NoteRepository.cs @@ -62,7 +62,7 @@ public PimsNote Update(PimsNote note) note.ThrowIfNull(nameof(note)); var existingNote = this.Context.PimsNotes - .FirstOrDefault(x => x.NoteId == note.Id) ?? throw new KeyNotFoundException(); + .FirstOrDefault(x => x.NoteId == note.Internal_Id) ?? throw new KeyNotFoundException(); // update main entity - PimsNote this.Context.Entry(existingNote).CurrentValues.SetValues(note); diff --git a/source/backend/dal/Repositories/OrganizationRepository.cs b/source/backend/dal/Repositories/OrganizationRepository.cs index 5cfb171815..3ce5ceb493 100644 --- a/source/backend/dal/Repositories/OrganizationRepository.cs +++ b/source/backend/dal/Repositories/OrganizationRepository.cs @@ -118,7 +118,7 @@ public PimsOrganization Update(PimsOrganization organization) organization.ThrowIfNull(nameof(organization)); this.User.ThrowIfNotAuthorized(Permissions.ContactEdit); - var orgId = organization.Id; + var orgId = organization.OrganizationId; var existingOrganization = this.Context.PimsOrganizations.Where(o => o.OrganizationId == orgId).FirstOrDefault() ?? throw new KeyNotFoundException(); diff --git a/source/backend/dal/Repositories/PersonRepository.cs b/source/backend/dal/Repositories/PersonRepository.cs index dec754f1b7..9a6687481b 100644 --- a/source/backend/dal/Repositories/PersonRepository.cs +++ b/source/backend/dal/Repositories/PersonRepository.cs @@ -127,7 +127,7 @@ public PimsPerson Update(PimsPerson person) person.ThrowIfNull(nameof(person)); this.User.ThrowIfNotAuthorized(Permissions.ContactEdit); - var personId = person.Id; + var personId = person.Internal_Id; var existingPerson = this.Context.PimsPeople.FirstOrDefault(p => p.PersonId == personId) ?? throw new KeyNotFoundException(); diff --git a/source/backend/dal/Repositories/ProjectRepository.cs b/source/backend/dal/Repositories/ProjectRepository.cs index 4dd4bc67b5..b6421c845d 100644 --- a/source/backend/dal/Repositories/ProjectRepository.cs +++ b/source/backend/dal/Repositories/ProjectRepository.cs @@ -77,7 +77,6 @@ public Task> GetPageAsync(ProjectFilter filter) /// /// /// - public PimsProject Get(long id) { User.ThrowIfNotAuthorized(Permissions.ProjectView); @@ -109,6 +108,36 @@ public PimsProject Add(PimsProject project) return project; } + public PimsProject Update(PimsProject project) + { + using var queryScope = Logger.QueryScope(); + project.ThrowIfNull(nameof(project)); + + var existingProject = Context.PimsProjects + .FirstOrDefault(x => x.Id == project.Id) ?? throw new KeyNotFoundException(); + + this.Context.UpdateChild(p => p.PimsProducts, project.Id, project.PimsProducts.ToArray(), true); + + Context.Entry(existingProject).CurrentValues.SetValues(project); + + return project; + } + + /// + /// Retrieves the version of project. + /// + /// + /// The project row version. + public long GetRowVersion(long id) + { + using var log = Logger.QueryScope(); + + return this.Context.PimsProjects.AsNoTracking() + .Where(p => p.Id == id)? + .Select(p => p.ConcurrencyControlNumber)? + .FirstOrDefault() ?? throw new KeyNotFoundException(); + } + private async Task> GetPage(ProjectFilter filter) { var query = Context.PimsProjects.AsNoTracking(); diff --git a/source/backend/dal/Repositories/PropertyRepository.cs b/source/backend/dal/Repositories/PropertyRepository.cs index cbe35021b4..4cdd94e3bd 100644 --- a/source/backend/dal/Repositories/PropertyRepository.cs +++ b/source/backend/dal/Repositories/PropertyRepository.cs @@ -274,7 +274,7 @@ public PimsProperty Update(PimsProperty property) { property.ThrowIfNull(nameof(property)); - var propertyId = property.Id; + var propertyId = property.Internal_Id; var existingProperty = this.Context.PimsProperties .Include(p => p.Address) .FirstOrDefault(p => p.PropertyId == propertyId) ?? throw new KeyNotFoundException(); diff --git a/source/backend/dal/Repositories/ResearchFilePropertyRepository.cs b/source/backend/dal/Repositories/ResearchFilePropertyRepository.cs index 4022b6f2ec..11ce162303 100644 --- a/source/backend/dal/Repositories/ResearchFilePropertyRepository.cs +++ b/source/backend/dal/Repositories/ResearchFilePropertyRepository.cs @@ -68,17 +68,17 @@ public PimsPropertyResearchFile Add(PimsPropertyResearchFile propertyResearchFil public void Delete(PimsPropertyResearchFile propertyResearchFile) { var existingPropertyResearchFile = Context.PimsPropertyResearchFiles.AsNoTracking() - .Where(x => x.PropertyResearchFileId == propertyResearchFile.Id) + .Where(x => x.PropertyResearchFileId == propertyResearchFile.Internal_Id) .Include(rp => rp.Property) .Include(rp => rp.PimsPrfPropResearchPurposeTypes) .Include(rp => rp.PimsActInstPropRsrchFiles) .FirstOrDefault() ?? throw new KeyNotFoundException(); // Delete any Property research purpose type associations - existingPropertyResearchFile.PimsPrfPropResearchPurposeTypes.ForEach(purposeType => Context.PimsPrfPropResearchPurposeTypes.Remove(new PimsPrfPropResearchPurposeType() { Id = purposeType.Id })); - existingPropertyResearchFile.PimsActInstPropRsrchFiles.ForEach(s => Context.PimsActInstPropRsrchFiles.Remove(new PimsActInstPropRsrchFile() { Id = s.Id })); + existingPropertyResearchFile.PimsPrfPropResearchPurposeTypes.ForEach(purposeType => Context.PimsPrfPropResearchPurposeTypes.Remove(new PimsPrfPropResearchPurposeType() { Internal_Id = purposeType.Internal_Id })); + existingPropertyResearchFile.PimsActInstPropRsrchFiles.ForEach(s => Context.PimsActInstPropRsrchFiles.Remove(new PimsActInstPropRsrchFile() { Internal_Id = s.Internal_Id })); - Context.Remove(new PimsPropertyResearchFile() { PropertyResearchFileId = propertyResearchFile.Id }); + Context.Remove(new PimsPropertyResearchFile() { Internal_Id = propertyResearchFile.Internal_Id }); } public PimsPropertyResearchFile Update(PimsPropertyResearchFile propertyResearchFile) @@ -93,7 +93,7 @@ public PimsPropertyResearchFile Update(PimsPropertyResearchFile propertyResearch // Note: This is needed given the research file properties purpose types may not have the corresponging id, but corresponding code. var currentTypes = Context.PimsPropertyResearchFiles .SelectMany(x => x.PimsPrfPropResearchPurposeTypes) - .Where(x => x.PropertyResearchFileId == propertyResearchFile.Id) + .Where(x => x.PropertyResearchFileId == propertyResearchFile.Internal_Id) .AsNoTracking() .ToList(); diff --git a/source/backend/dal/Repositories/ResearchFileRepository.cs b/source/backend/dal/Repositories/ResearchFileRepository.cs index d390b2a01a..402e91d0bd 100644 --- a/source/backend/dal/Repositories/ResearchFileRepository.cs +++ b/source/backend/dal/Repositories/ResearchFileRepository.cs @@ -49,10 +49,12 @@ public PimsResearchFile GetById(long id) .ThenInclude(o => o.Organization) .Include(r => r.RequestorOrganizationNavigation) .Include(r => r.PimsPropertyResearchFiles) - .ThenInclude(rp => rp.PimsPrfPropResearchPurposeTypes) - .ThenInclude(p => p.PropResearchPurposeTypeCodeNavigation) + .ThenInclude(rp => rp.PimsPrfPropResearchPurposeTypes) + .ThenInclude(p => p.PropResearchPurposeTypeCodeNavigation) .Include(r => r.PimsResearchFilePurposes) .ThenInclude(rp => rp.ResearchPurposeTypeCodeNavigation) + .Include(r => r.PimsResearchFileProjects) + .ThenInclude(rp => rp.Project) .FirstOrDefault() ?? throw new KeyNotFoundException(); } @@ -68,7 +70,7 @@ public PimsResearchFile Add(PimsResearchFile researchFile) // Existing properties should not be added. foreach (var researchProperty in researchFile.PimsPropertyResearchFiles) { - if (researchProperty.Property.Id != 0) + if (researchProperty.Property.PropertyId != 0) { Context.Entry(researchProperty.Property).State = EntityState.Unchanged; } @@ -92,9 +94,12 @@ public PimsResearchFile Update(PimsResearchFile researchFile) { researchFile.ThrowIfNull(nameof(researchFile)); + var existingResearchFile = Context.PimsResearchFiles + .FirstOrDefault(x => x.ResearchFileId == researchFile.Internal_Id) ?? throw new KeyNotFoundException(); + var currentPurposes = Context.PimsResearchFiles .SelectMany(x => x.PimsResearchFilePurposes) - .Where(x => x.ResearchFileId == researchFile.Id) + .Where(x => x.ResearchFileId == researchFile.Internal_Id) .AsNoTracking() .ToList(); @@ -125,9 +130,11 @@ public PimsResearchFile Update(PimsResearchFile researchFile) Context.Entry(deletedPurpose).State = EntityState.Deleted; } - researchFile.PimsResearchFilePurposes = purposes; + existingResearchFile.PimsResearchFilePurposes = purposes; + + Context.Entry(existingResearchFile).CurrentValues.SetValues(researchFile); + Context.UpdateChild(p => p.PimsResearchFileProjects, researchFile.Internal_Id, researchFile.PimsResearchFileProjects.ToArray()); - this.Context.PimsResearchFiles.Update(researchFile); return researchFile; } diff --git a/source/backend/dal/Repositories/UserRepository.cs b/source/backend/dal/Repositories/UserRepository.cs index 14b53be32b..9dbb4967b3 100644 --- a/source/backend/dal/Repositories/UserRepository.cs +++ b/source/backend/dal/Repositories/UserRepository.cs @@ -357,7 +357,7 @@ public PimsUser RemoveRole(PimsUser user, long roleId) public PimsUser RemoveRegion(PimsUser user, long regionId) { - var userRegion = user.PimsRegionUsers.FirstOrDefault(r => r.Id == regionId); + var userRegion = user.PimsRegionUsers.FirstOrDefault(r => r.Internal_Id == regionId); user.PimsRegionUsers.Remove(userRegion); this.Context.PimsRegionUsers.Remove(userRegion); return user; diff --git a/source/backend/entities/Partials/AccessRequest.cs b/source/backend/entities/Partials/AccessRequest.cs index 4bdbc84257..c9f9e0701b 100644 --- a/source/backend/entities/Partials/AccessRequest.cs +++ b/source/backend/entities/Partials/AccessRequest.cs @@ -24,7 +24,7 @@ public PimsAccessRequest(PimsUser user, PimsRole role, PimsAccessRequestStatusTy : this() { this.User = user ?? throw new ArgumentNullException(nameof(user)); - this.UserId = user.Id; + this.UserId = user.Internal_Id; this.Role = role ?? throw new ArgumentNullException(nameof(role)); this.RoleId = role.RoleId; this.AccessRequestStatusTypeCodeNavigation = status ?? throw new ArgumentNullException(nameof(status)); diff --git a/source/backend/entities/Partials/AcquisitionFile.cs b/source/backend/entities/Partials/AcquisitionFile.cs index cee0ca0543..7f3f35d2d3 100644 --- a/source/backend/entities/Partials/AcquisitionFile.cs +++ b/source/backend/entities/Partials/AcquisitionFile.cs @@ -5,11 +5,11 @@ namespace Pims.Dal.Entities /// /// PimsAcquisitionFile class, provides an entity for the datamodel to manage acquisition files. /// - public partial class PimsAcquisitionFile : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsAcquisitionFile : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.AcquisitionFileId; set => this.AcquisitionFileId = value; } + public override long Internal_Id { get => this.AcquisitionFileId; set => this.AcquisitionFileId = value; } #endregion } } diff --git a/source/backend/entities/Partials/AcquisitionFileDocument.cs b/source/backend/entities/Partials/AcquisitionFileDocument.cs index 26d2c4fe92..821d174ba3 100644 --- a/source/backend/entities/Partials/AcquisitionFileDocument.cs +++ b/source/backend/entities/Partials/AcquisitionFileDocument.cs @@ -5,7 +5,7 @@ namespace Pims.Dal.Entities public partial class PimsAcquisitionFileDocument : PimsFileDocument, IDisableBaseAppEntity { [NotMapped] - public override long Id { get => this.AcquisitionFileDocumentId; set => this.AcquisitionFileDocumentId = value; } + public override long Internal_Id { get => this.AcquisitionFileDocumentId; set => this.AcquisitionFileDocumentId = value; } [NotMapped] public override long FileId { get => this.AcquisitionFileId; set => this.AcquisitionFileId = value; } diff --git a/source/backend/entities/Partials/AcquisitionFileNote.cs b/source/backend/entities/Partials/AcquisitionFileNote.cs index 9d8670bd64..91362982cf 100644 --- a/source/backend/entities/Partials/AcquisitionFileNote.cs +++ b/source/backend/entities/Partials/AcquisitionFileNote.cs @@ -5,11 +5,11 @@ namespace Pims.Dal.Entities /// /// PimsActivityInstanceNote class, provides an entity for the datamodel to manage acquisition file notes. /// - public partial class PimsAcquisitionFileNote : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsAcquisitionFileNote : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.AcquisitionFileNoteId; set => this.AcquisitionFileNoteId = value; } + public override long Internal_Id { get => this.AcquisitionFileNoteId; set => this.AcquisitionFileNoteId = value; } #endregion } } diff --git a/source/backend/entities/Partials/AcquisitionFileOwner.cs b/source/backend/entities/Partials/AcquisitionFileOwner.cs new file mode 100644 index 0000000000..af2ce734e7 --- /dev/null +++ b/source/backend/entities/Partials/AcquisitionFileOwner.cs @@ -0,0 +1,13 @@ +using System.ComponentModel.DataAnnotations.Schema; + +namespace Pims.Dal.Entities +{ + /// + /// PimsAcquisitionOwner partial class. + /// + public partial class PimsAcquisitionOwner : StandardIdentityBaseAppEntity, IBaseAppEntity + { + [NotMapped] + public override long Internal_Id { get => this.AcquisitionOwnerId; set => this.AcquisitionOwnerId = value; } + } +} diff --git a/source/backend/entities/Partials/AcquisitionFilePerson.cs b/source/backend/entities/Partials/AcquisitionFilePerson.cs index b8306fa770..6e6561ef26 100644 --- a/source/backend/entities/Partials/AcquisitionFilePerson.cs +++ b/source/backend/entities/Partials/AcquisitionFilePerson.cs @@ -5,11 +5,11 @@ namespace Pims.Dal.Entities /// /// PimsAcquisitionFilePerson class, provides an entity for the datamodel to manage the relationship between Persons and Acquisition Files. /// - public partial class PimsAcquisitionFilePerson : IdentityBaseAppEntity, IDisableBaseAppEntity + public partial class PimsAcquisitionFilePerson : StandardIdentityBaseAppEntity, IDisableBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.AcquisitionFilePersonId; set => this.AcquisitionFilePersonId = value; } + public override long Internal_Id { get => this.AcquisitionFilePersonId; set => this.AcquisitionFilePersonId = value; } #endregion } } diff --git a/source/backend/entities/Partials/ActInstPropAcqFile.cs b/source/backend/entities/Partials/ActInstPropAcqFile.cs index 0af7f1c2fe..4b325f8e03 100644 --- a/source/backend/entities/Partials/ActInstPropAcqFile.cs +++ b/source/backend/entities/Partials/ActInstPropAcqFile.cs @@ -5,11 +5,11 @@ namespace Pims.Dal.Entities /// /// ActInstPropAcqFile class, provides an entity for the datamodel to manage acquisition properties. /// - public partial class PimsActInstPropAcqFile : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsActInstPropAcqFile : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.ActInstPropAcqFileId; set => this.ActInstPropAcqFileId = value; } + public override long Internal_Id { get => this.ActInstPropAcqFileId; set => this.ActInstPropAcqFileId = value; } #endregion } } diff --git a/source/backend/entities/Partials/ActInstPropRsrchFile.cs b/source/backend/entities/Partials/ActInstPropRsrchFile.cs index 41bac08680..70b8044cab 100644 --- a/source/backend/entities/Partials/ActInstPropRsrchFile.cs +++ b/source/backend/entities/Partials/ActInstPropRsrchFile.cs @@ -5,11 +5,11 @@ namespace Pims.Dal.Entities /// /// ActInstPropRsrchFile class, provides an entity for the datamodel to manage reseach properties. /// - public partial class PimsActInstPropRsrchFile : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsActInstPropRsrchFile : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.ActInstPropRsrchFileId; set => this.ActInstPropRsrchFileId = value; } + public override long Internal_Id { get => this.ActInstPropRsrchFileId; set => this.ActInstPropRsrchFileId = value; } #endregion } } diff --git a/source/backend/entities/Partials/ActivityInstance.cs b/source/backend/entities/Partials/ActivityInstance.cs index 9331790fad..f687d76b75 100644 --- a/source/backend/entities/Partials/ActivityInstance.cs +++ b/source/backend/entities/Partials/ActivityInstance.cs @@ -5,11 +5,11 @@ namespace Pims.Dal.Entities /// /// PimsActivityInstance class, provides an entity for the datamodel to manage activity instances. /// - public partial class PimsActivityInstance : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsActivityInstance : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.ActivityInstanceId; set => this.ActivityInstanceId = value; } + public override long Internal_Id { get => this.ActivityInstanceId; set => this.ActivityInstanceId = value; } #endregion } } diff --git a/source/backend/entities/Partials/ActivityInstanceDocument.cs b/source/backend/entities/Partials/ActivityInstanceDocument.cs index 30d4edd66a..cb99e98835 100644 --- a/source/backend/entities/Partials/ActivityInstanceDocument.cs +++ b/source/backend/entities/Partials/ActivityInstanceDocument.cs @@ -5,11 +5,11 @@ namespace Pims.Dal.Entities /// /// PimsActivityInstanceDocument class, provides an entity for the datamodel to manage Activity document entities. /// - public partial class PimsActivityInstanceDocument : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsActivityInstanceDocument : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.ActivityInstanceDocumentId; set => this.ActivityInstanceDocumentId = value; } + public override long Internal_Id { get => this.ActivityInstanceDocumentId; set => this.ActivityInstanceDocumentId = value; } #endregion } } diff --git a/source/backend/entities/Partials/ActivityInstanceNote.cs b/source/backend/entities/Partials/ActivityInstanceNote.cs index 4777feee31..02ed2d4213 100644 --- a/source/backend/entities/Partials/ActivityInstanceNote.cs +++ b/source/backend/entities/Partials/ActivityInstanceNote.cs @@ -5,11 +5,11 @@ namespace Pims.Dal.Entities /// /// PimsActivityInstanceNote class, provides an entity for the datamodel to manage activity notes. /// - public partial class PimsActivityInstanceNote : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsActivityInstanceNote : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.PimsActivityInstanceNoteId; set => this.PimsActivityInstanceNoteId = value; } + public override long Internal_Id { get => this.PimsActivityInstanceNoteId; set => this.PimsActivityInstanceNoteId = value; } #endregion } } diff --git a/source/backend/entities/Partials/ActivityTemplate.cs b/source/backend/entities/Partials/ActivityTemplate.cs index d398fa3e37..eb0da16a47 100644 --- a/source/backend/entities/Partials/ActivityTemplate.cs +++ b/source/backend/entities/Partials/ActivityTemplate.cs @@ -5,7 +5,7 @@ namespace Pims.Dal.Entities /// /// PimsActivityTemplate class, provides an entity for the datamodel to manage a list of activity template types. /// - public partial class PimsActivityTemplate : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsActivityTemplate : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties @@ -13,7 +13,7 @@ public partial class PimsActivityTemplate : IdentityBaseAppEntity, IBaseAp /// get/set - Primary key to identify volumetric type. /// [NotMapped] - public override long Id { get => ActivityTemplateId; set => ActivityTemplateId = value; } + public override long Internal_Id { get => ActivityTemplateId; set => ActivityTemplateId = value; } #endregion #region Constructors @@ -25,7 +25,7 @@ public partial class PimsActivityTemplate : IdentityBaseAppEntity, IBaseAp public PimsActivityTemplate(long id, string activityTemplateTypeCode, PimsActivityTemplateType pimsActivityTemplateType) : this() { - Id = id; + Internal_Id = id; this.ActivityTemplateTypeCode = activityTemplateTypeCode; this.ActivityTemplateTypeCodeNavigation = pimsActivityTemplateType; } diff --git a/source/backend/entities/Partials/ActivityTemplateDocument.cs b/source/backend/entities/Partials/ActivityTemplateDocument.cs index 770b6c51b0..e1019ce3e5 100644 --- a/source/backend/entities/Partials/ActivityTemplateDocument.cs +++ b/source/backend/entities/Partials/ActivityTemplateDocument.cs @@ -5,11 +5,11 @@ namespace Pims.Dal.Entities /// /// PimsActivityTemplateDocument class, provides an entity for the datamodel to manage Activity template document entities. /// - public partial class PimsActivityTemplateDocument : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsActivityTemplateDocument : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.ActivityTemplateDocumentId; set => this.ActivityTemplateDocumentId = value; } + public override long Internal_Id { get => this.ActivityTemplateDocumentId; set => this.ActivityTemplateDocumentId = value; } #endregion } } diff --git a/source/backend/entities/Partials/Address.cs b/source/backend/entities/Partials/Address.cs index 2db0237896..14b98010dc 100644 --- a/source/backend/entities/Partials/Address.cs +++ b/source/backend/entities/Partials/Address.cs @@ -7,11 +7,11 @@ namespace Pims.Dal.Entities /// /// Address class, provides an entity for the datamodel to manage property addresses. /// - public partial class PimsAddress : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsAddress : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.AddressId; set => this.AddressId = value; } + public override long Internal_Id { get => this.AddressId; set => this.AddressId = value; } #endregion #region Constructors diff --git a/source/backend/entities/Partials/ContactMethod.cs b/source/backend/entities/Partials/ContactMethod.cs index c4e8a1d476..c88374586a 100644 --- a/source/backend/entities/Partials/ContactMethod.cs +++ b/source/backend/entities/Partials/ContactMethod.cs @@ -6,11 +6,11 @@ namespace Pims.Dal.Entities /// /// ContactMethod class, provides an entity for the datamodel to manage personal contact method. /// - public partial class PimsContactMethod : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsContactMethod : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.ContactMethodId; set => this.ContactMethodId = value; } + public override long Internal_Id { get => this.ContactMethodId; set => this.ContactMethodId = value; } #endregion #region Constructors @@ -36,7 +36,7 @@ public PimsContactMethod(PimsPerson person, PimsOrganization organization, strin this.Person = person ?? throw new ArgumentNullException(nameof(person)); this.PersonId = person.PersonId; this.Organization = organization; - this.OrganizationId = organization?.Id; + this.OrganizationId = organization?.Internal_Id; this.ContactMethodTypeCode = methodTypeId; this.ContactMethodValue = value; } @@ -59,7 +59,7 @@ public PimsContactMethod(PimsPerson person, PimsOrganization organization, PimsC this.Person = person ?? throw new ArgumentNullException(nameof(person)); this.PersonId = person.PersonId; this.Organization = organization ?? throw new ArgumentNullException(nameof(organization)); - this.OrganizationId = organization.Id; + this.OrganizationId = organization.Internal_Id; this.ContactMethodTypeCodeNavigation = methodType ?? throw new ArgumentNullException(nameof(methodType)); this.ContactMethodTypeCode = methodType.ContactMethodTypeCode; this.ContactMethodValue = value; diff --git a/source/backend/entities/Partials/Document.cs b/source/backend/entities/Partials/Document.cs index aecebb3adf..19dd94ebd5 100644 --- a/source/backend/entities/Partials/Document.cs +++ b/source/backend/entities/Partials/Document.cs @@ -5,11 +5,11 @@ namespace Pims.Dal.Entities /// /// PimsDocument class, provides an entity for the datamodel to manage document entities. /// - public partial class PimsDocument : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsDocument : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.DocumentId; set => this.DocumentId = value; } + public override long Internal_Id { get => this.DocumentId; set => this.DocumentId = value; } #endregion } } diff --git a/source/backend/entities/Partials/DocumentType.cs b/source/backend/entities/Partials/DocumentType.cs index c0d41f6531..7cbbf7e593 100644 --- a/source/backend/entities/Partials/DocumentType.cs +++ b/source/backend/entities/Partials/DocumentType.cs @@ -5,11 +5,11 @@ namespace Pims.Dal.Entities /// /// PimsDocument class, provides an entity for the datamodel to manage notes. /// - public partial class PimsDocumentTyp : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsDocumentTyp : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.DocumentTypeId; set => this.DocumentTypeId = value; } + public override long Internal_Id { get => this.DocumentTypeId; set => this.DocumentTypeId = value; } #endregion } } diff --git a/source/backend/entities/Partials/FileDocument.cs b/source/backend/entities/Partials/FileDocument.cs index 931158f45f..75a6d339df 100644 --- a/source/backend/entities/Partials/FileDocument.cs +++ b/source/backend/entities/Partials/FileDocument.cs @@ -2,7 +2,7 @@ namespace Pims.Dal.Entities { - public abstract class PimsFileDocument: IdentityBaseAppEntity + public abstract class PimsFileDocument : StandardIdentityBaseAppEntity { [NotMapped] public abstract long FileId { get; set; } diff --git a/source/backend/entities/Partials/IdentityBaseAppEntity.cs b/source/backend/entities/Partials/IdentityBaseAppEntity.cs deleted file mode 100644 index 5148363cd0..0000000000 --- a/source/backend/entities/Partials/IdentityBaseAppEntity.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace Pims.Dal.Entities -{ - public abstract class IdentityBaseAppEntity : IIdentityEntity - { - public abstract T Id { get; set; } - } -} diff --git a/source/backend/entities/Partials/Lease.cs b/source/backend/entities/Partials/Lease.cs index dd7d2201a5..35a085a865 100644 --- a/source/backend/entities/Partials/Lease.cs +++ b/source/backend/entities/Partials/Lease.cs @@ -7,11 +7,11 @@ namespace Pims.Dal.Entities /// /// Lease class, provides an entity for the datamodel to manage leases. /// - public partial class PimsLease : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsLease : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.LeaseId; set => this.LeaseId = value; } + public override long Internal_Id { get => this.LeaseId; set => this.LeaseId = value; } /// /// get/set - A collection of properties. diff --git a/source/backend/entities/Partials/LeasePayment.cs b/source/backend/entities/Partials/LeasePayment.cs index 20e97bbca2..9116ad2210 100644 --- a/source/backend/entities/Partials/LeasePayment.cs +++ b/source/backend/entities/Partials/LeasePayment.cs @@ -5,11 +5,11 @@ namespace Pims.Dal.Entities /// /// PimsLeasePayment class, provides an entity for the datamodel to manage lease payments. /// - public partial class PimsLeasePayment : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsLeasePayment : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.LeasePaymentId; set => this.LeasePaymentId = value; } + public override long Internal_Id { get => this.LeasePaymentId; set => this.LeasePaymentId = value; } #endregion } } diff --git a/source/backend/entities/Partials/LeaseTenant.cs b/source/backend/entities/Partials/LeaseTenant.cs index 1339e47ea2..c94e58e1b2 100644 --- a/source/backend/entities/Partials/LeaseTenant.cs +++ b/source/backend/entities/Partials/LeaseTenant.cs @@ -6,11 +6,11 @@ namespace Pims.Dal.Entities /// /// LeaseTenant class, provides the many-to-many relationship between leases and tenants. /// - public partial class PimsLeaseTenant : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsLeaseTenant : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.LeaseTenantId; set => this.LeaseTenantId = value; } + public override long Internal_Id { get => this.LeaseTenantId; set => this.LeaseTenantId = value; } #endregion #region Constructors @@ -31,7 +31,7 @@ public PimsLeaseTenant(PimsLease lease, PimsPerson person, PimsOrganization orga this.Lease = lease; this.PersonId = person?.PersonId ?? throw new ArgumentNullException(nameof(person)); this.Person = person; - this.OrganizationId = organization?.Id ?? throw new ArgumentNullException(nameof(organization)); + this.OrganizationId = organization?.Internal_Id ?? throw new ArgumentNullException(nameof(organization)); this.Organization = organization; this.LessorTypeCode = lessorType?.Id ?? throw new ArgumentNullException(nameof(lessorType)); this.LessorTypeCodeNavigation = lessorType; diff --git a/source/backend/entities/Partials/LeaseTerm.cs b/source/backend/entities/Partials/LeaseTerm.cs index 101d3986b7..22ade60d53 100644 --- a/source/backend/entities/Partials/LeaseTerm.cs +++ b/source/backend/entities/Partials/LeaseTerm.cs @@ -5,11 +5,11 @@ namespace Pims.Dal.Entities /// /// PimsLeaseTerm class, provides an entity for the datamodel to manage lease terms. /// - public partial class PimsLeaseTerm : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsLeaseTerm : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.LeaseTermId; set => this.LeaseTermId = value; } + public override long Internal_Id { get => this.LeaseTermId; set => this.LeaseTermId = value; } #endregion } } diff --git a/source/backend/entities/Partials/Note.cs b/source/backend/entities/Partials/Note.cs index 333348688e..bf5c1bf2e1 100644 --- a/source/backend/entities/Partials/Note.cs +++ b/source/backend/entities/Partials/Note.cs @@ -5,11 +5,11 @@ namespace Pims.Dal.Entities /// /// PimsNote class, provides an entity for the datamodel to manage notes. /// - public partial class PimsNote : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsNote : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.NoteId; set => this.NoteId = value; } + public override long Internal_Id { get => this.NoteId; set => this.NoteId = value; } #endregion } } diff --git a/source/backend/entities/Partials/Organization.cs b/source/backend/entities/Partials/Organization.cs index 6cb86f97dc..df256c8036 100644 --- a/source/backend/entities/Partials/Organization.cs +++ b/source/backend/entities/Partials/Organization.cs @@ -8,7 +8,7 @@ namespace Pims.Dal.Entities /// /// Organization class, provides an entity for the datamodel to manage property organizations. /// - public partial class PimsOrganization : IdentityBaseAppEntity, IDisableBaseAppEntity + public partial class PimsOrganization : StandardIdentityBaseAppEntity, IDisableBaseAppEntity { #region Properties @@ -16,7 +16,7 @@ public partial class PimsOrganization : IdentityBaseAppEntity, IDisableBas /// get/set - Primary key to identify organization. /// [NotMapped] - public override long Id { get => OrganizationId; set => OrganizationId = value; } + public override long Internal_Id { get => OrganizationId; set => OrganizationId = value; } [NotMapped] public string Name { get => OrganizationName; set => OrganizationName = value; } diff --git a/source/backend/entities/Partials/OrganizationAddress.cs b/source/backend/entities/Partials/OrganizationAddress.cs index 4cf6ca0631..131a86b00d 100644 --- a/source/backend/entities/Partials/OrganizationAddress.cs +++ b/source/backend/entities/Partials/OrganizationAddress.cs @@ -6,11 +6,11 @@ namespace Pims.Dal.Entities /// /// OrganizationAddress class, provides an entity for the datamodel to manage a list of addresses for an organization. /// - public partial class PimsOrganizationAddress : IdentityBaseAppEntity, IDisableBaseAppEntity + public partial class PimsOrganizationAddress : StandardIdentityBaseAppEntity, IDisableBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.OrganizationAddressId; set => this.OrganizationAddressId = value; } + public override long Internal_Id { get => this.OrganizationAddressId; set => this.OrganizationAddressId = value; } #endregion #region Constructors diff --git a/source/backend/entities/Partials/Person.cs b/source/backend/entities/Partials/Person.cs index 5df3e3c661..a856bc8891 100644 --- a/source/backend/entities/Partials/Person.cs +++ b/source/backend/entities/Partials/Person.cs @@ -8,7 +8,7 @@ namespace Pims.Dal.Entities /// /// Person class, provides an entity for the datamodel to manage persons. /// - public partial class PimsPerson : IdentityBaseAppEntity, IDisableBaseAppEntity + public partial class PimsPerson : StandardIdentityBaseAppEntity, IDisableBaseAppEntity { #region Properties @@ -16,7 +16,7 @@ public partial class PimsPerson : IdentityBaseAppEntity, IDisableBaseAppEn /// get/set - Primary key to identify person. /// [NotMapped] - public override long Id { get => PersonId; set => PersonId = value; } + public override long Internal_Id { get => PersonId; set => PersonId = value; } public long? GetPersonOrganizationId() => PimsPersonOrganizations?.FirstOrDefault(t => t != null)?.PersonOrganizationId; diff --git a/source/backend/entities/Partials/PersonAddress.cs b/source/backend/entities/Partials/PersonAddress.cs index 6beb1144f0..9c8a4f12c4 100644 --- a/source/backend/entities/Partials/PersonAddress.cs +++ b/source/backend/entities/Partials/PersonAddress.cs @@ -6,11 +6,11 @@ namespace Pims.Dal.Entities /// /// PersonAddress class, provides an entity for the datamodel to manage a list of addresses for a person. /// - public partial class PimsPersonAddress : IdentityBaseAppEntity, IDisableBaseAppEntity + public partial class PimsPersonAddress : StandardIdentityBaseAppEntity, IDisableBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.PersonAddressId; set => this.PersonAddressId = value; } + public override long Internal_Id { get => this.PersonAddressId; set => this.PersonAddressId = value; } #endregion #region Constructors diff --git a/source/backend/entities/Partials/PersonOrganization.cs b/source/backend/entities/Partials/PersonOrganization.cs index 8aaac010d4..a862aa9887 100644 --- a/source/backend/entities/Partials/PersonOrganization.cs +++ b/source/backend/entities/Partials/PersonOrganization.cs @@ -6,11 +6,11 @@ namespace Pims.Dal.Entities /// /// PersonOrganization class, provides an entity for the datamodel to manage a list of addresses for a person. /// - public partial class PimsPersonOrganization : IdentityBaseAppEntity, IDisableBaseAppEntity + public partial class PimsPersonOrganization : StandardIdentityBaseAppEntity, IDisableBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.PersonOrganizationId; set => this.PersonOrganizationId = value; } + public override long Internal_Id { get => this.PersonOrganizationId; set => this.PersonOrganizationId = value; } #endregion #region Constructors diff --git a/source/backend/entities/Partials/Product.cs b/source/backend/entities/Partials/Product.cs index 73a3109dbf..99643f94dc 100644 --- a/source/backend/entities/Partials/Product.cs +++ b/source/backend/entities/Partials/Product.cs @@ -1,9 +1,13 @@ +using System.ComponentModel.DataAnnotations.Schema; + namespace Pims.Dal.Entities { /// /// PimsProduct class, provides an entity for the datamodel to manage products. /// - public partial class PimsProduct : IBaseAppEntity + public partial class PimsProduct : StandardIdentityBaseAppEntity, IBaseAppEntity { + [NotMapped] + public override long Internal_Id { get => this.Id; set => this.Id = value; } } } diff --git a/source/backend/entities/Partials/Project.cs b/source/backend/entities/Partials/Project.cs index 1cb8a4a170..6af57b7e7e 100644 --- a/source/backend/entities/Partials/Project.cs +++ b/source/backend/entities/Partials/Project.cs @@ -1,9 +1,13 @@ +using System.ComponentModel.DataAnnotations.Schema; + namespace Pims.Dal.Entities { /// /// PimsProject class, provides an entity for the datamodel to manage projects. /// - public partial class PimsProject : IBaseAppEntity + public partial class PimsProject : StandardIdentityBaseAppEntity, IBaseAppEntity { + [NotMapped] + public override long Internal_Id { get => this.Id; set => this.Id = value; } } } diff --git a/source/backend/entities/Partials/PropPropAdjacentLandType.cs b/source/backend/entities/Partials/PropPropAdjacentLandType.cs index 5b1492bb1f..ae26cb54e7 100644 --- a/source/backend/entities/Partials/PropPropAdjacentLandType.cs +++ b/source/backend/entities/Partials/PropPropAdjacentLandType.cs @@ -5,11 +5,11 @@ namespace Pims.Dal.Entities /// /// PimsPropPropAdjacentLandType class, provides an entity for the datamodel to manage property adjacent land types. /// - public partial class PimsPropPropAdjacentLandType : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsPropPropAdjacentLandType : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.PropPropAdjacentLandTypeId; set => this.PropPropAdjacentLandTypeId = value; } + public override long Internal_Id { get => this.PropPropAdjacentLandTypeId; set => this.PropPropAdjacentLandTypeId = value; } #endregion } } diff --git a/source/backend/entities/Partials/PropPropAnomalyType.cs b/source/backend/entities/Partials/PropPropAnomalyType.cs index d512c95ea2..ee4d40c8a4 100644 --- a/source/backend/entities/Partials/PropPropAnomalyType.cs +++ b/source/backend/entities/Partials/PropPropAnomalyType.cs @@ -5,11 +5,11 @@ namespace Pims.Dal.Entities /// /// PimsPropPropAnomalyType class, provides an entity for the datamodel to manage property anomaly types. /// - public partial class PimsPropPropAnomalyType : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsPropPropAnomalyType : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.PropPropAnomalyTypeId; set => this.PropPropAnomalyTypeId = value; } + public override long Internal_Id { get => this.PropPropAnomalyTypeId; set => this.PropPropAnomalyTypeId = value; } #endregion } } diff --git a/source/backend/entities/Partials/PropPropRoadType.cs b/source/backend/entities/Partials/PropPropRoadType.cs index 41efdb4b1e..a3b865f0a9 100644 --- a/source/backend/entities/Partials/PropPropRoadType.cs +++ b/source/backend/entities/Partials/PropPropRoadType.cs @@ -5,11 +5,11 @@ namespace Pims.Dal.Entities /// /// PimsPropPropRoadType class, provides an entity for the datamodel to manage property road types. /// - public partial class PimsPropPropRoadType : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsPropPropRoadType : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.PropPropRoadTypeId; set => this.PropPropRoadTypeId = value; } + public override long Internal_Id { get => this.PropPropRoadTypeId; set => this.PropPropRoadTypeId = value; } #endregion } diff --git a/source/backend/entities/Partials/PropPropTenureType.cs b/source/backend/entities/Partials/PropPropTenureType.cs index 8620203f51..b8c3e3d0f4 100644 --- a/source/backend/entities/Partials/PropPropTenureType.cs +++ b/source/backend/entities/Partials/PropPropTenureType.cs @@ -5,11 +5,11 @@ namespace Pims.Dal.Entities /// /// PimsPropPropTenureType class, provides an entity for the datamodel to manage property tenure types. /// - public partial class PimsPropPropTenureType : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsPropPropTenureType : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.PropPropTenureTypeId; set => this.PropPropTenureTypeId = value; } + public override long Internal_Id { get => this.PropPropTenureTypeId; set => this.PropPropTenureTypeId = value; } #endregion } } diff --git a/source/backend/entities/Partials/Property.cs b/source/backend/entities/Partials/Property.cs index b4046f7ab5..0718a78aa6 100644 --- a/source/backend/entities/Partials/Property.cs +++ b/source/backend/entities/Partials/Property.cs @@ -9,11 +9,11 @@ namespace Pims.Dal.Entities /// /// Property class, provides an entity for the datamodel to manage properties. /// - public partial class PimsProperty : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsProperty : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.PropertyId; set => this.PropertyId = value; } + public override long Internal_Id { get => this.PropertyId; set => this.PropertyId = value; } /// /// get - The friendly formated Parcel Id. diff --git a/source/backend/entities/Partials/PropertyAcquisitionFile.cs b/source/backend/entities/Partials/PropertyAcquisitionFile.cs index 9ef5af2d81..b7c7944be6 100644 --- a/source/backend/entities/Partials/PropertyAcquisitionFile.cs +++ b/source/backend/entities/Partials/PropertyAcquisitionFile.cs @@ -5,11 +5,11 @@ namespace Pims.Dal.Entities /// /// PimsPropertyAcquisitionFile class, provides an entity for the datamodel to manage the relationship between Properties and Acquisition Files. /// - public partial class PimsPropertyAcquisitionFile : IdentityBaseAppEntity, IDisableBaseAppEntity + public partial class PimsPropertyAcquisitionFile : StandardIdentityBaseAppEntity, IDisableBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.PropertyAcquisitionFileId; set => this.PropertyAcquisitionFileId = value; } + public override long Internal_Id { get => this.PropertyAcquisitionFileId; set => this.PropertyAcquisitionFileId = value; } #endregion } } diff --git a/source/backend/entities/Partials/PropertyImprovement.cs b/source/backend/entities/Partials/PropertyImprovement.cs index 5bfa1a6d8d..18668f326f 100644 --- a/source/backend/entities/Partials/PropertyImprovement.cs +++ b/source/backend/entities/Partials/PropertyImprovement.cs @@ -6,11 +6,11 @@ namespace Pims.Dal.Entities /// /// PropertyImprovement class, provides the many-to-many relationship between leases and tenants. /// - public partial class PimsPropertyImprovement : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsPropertyImprovement : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.PropertyImprovementId; set => this.PropertyImprovementId = value; } + public override long Internal_Id { get => this.PropertyImprovementId; set => this.PropertyImprovementId = value; } #endregion #region Constructors diff --git a/source/backend/entities/Partials/PropertyLease.cs b/source/backend/entities/Partials/PropertyLease.cs index f7a83f5dcc..498ea5ce83 100644 --- a/source/backend/entities/Partials/PropertyLease.cs +++ b/source/backend/entities/Partials/PropertyLease.cs @@ -6,11 +6,11 @@ namespace Pims.Dal.Entities /// /// PimsPropertyLease class, provides the many-to-many relationship between leases and properties. /// - public partial class PimsPropertyLease : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsPropertyLease : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.PropertyLeaseId; set => this.PropertyLeaseId = value; } + public override long Internal_Id { get => this.PropertyLeaseId; set => this.PropertyLeaseId = value; } #endregion #region Constructors diff --git a/source/backend/entities/Partials/PropertyOrganization.cs b/source/backend/entities/Partials/PropertyOrganization.cs index a5e74ac54a..996e7e847f 100644 --- a/source/backend/entities/Partials/PropertyOrganization.cs +++ b/source/backend/entities/Partials/PropertyOrganization.cs @@ -23,7 +23,7 @@ public PimsPropertyOrganization(PimsProperty property, PimsOrganization organiza this.Property = property ?? throw new ArgumentNullException(nameof(property)); this.PropertyId = property.PropertyId; this.Organization = organization ?? throw new ArgumentNullException(nameof(organization)); - this.OrganizationId = organization.Id; + this.OrganizationId = organization.Internal_Id; } #endregion } diff --git a/source/backend/entities/Partials/PropertyResearchFile.cs b/source/backend/entities/Partials/PropertyResearchFile.cs index 5ea6b9d6de..bfdb2a388b 100644 --- a/source/backend/entities/Partials/PropertyResearchFile.cs +++ b/source/backend/entities/Partials/PropertyResearchFile.cs @@ -5,11 +5,11 @@ namespace Pims.Dal.Entities /// /// PimsPropertyResearchFile class, provides an entity for the datamodel to manage the relationship between Properties and Research Files. /// - public partial class PimsPropertyResearchFile : IdentityBaseAppEntity, IDisableBaseAppEntity + public partial class PimsPropertyResearchFile : StandardIdentityBaseAppEntity, IDisableBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.PropertyResearchFileId; set => this.PropertyResearchFileId = value; } + public override long Internal_Id { get => this.PropertyResearchFileId; set => this.PropertyResearchFileId = value; } #endregion } } diff --git a/source/backend/entities/Partials/RegionUser.cs b/source/backend/entities/Partials/RegionUser.cs index ad1c70a47d..f765633a13 100644 --- a/source/backend/entities/Partials/RegionUser.cs +++ b/source/backend/entities/Partials/RegionUser.cs @@ -5,12 +5,12 @@ namespace Pims.Dal.Entities /// /// PimsRegionUser class, provides an entity for the datamodel to manage regions. /// - public partial class PimsRegionUser : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsRegionUser : StandardIdentityBaseAppEntity, IBaseAppEntity { /// /// get/set - The primary key IDENTITY. /// [NotMapped] - public override long Id { get => RegionUserId; set => RegionUserId = value; } + public override long Internal_Id { get => RegionUserId; set => RegionUserId = value; } } } diff --git a/source/backend/entities/Partials/ResearchFile.cs b/source/backend/entities/Partials/ResearchFile.cs index 6114cdf84e..173584418a 100644 --- a/source/backend/entities/Partials/ResearchFile.cs +++ b/source/backend/entities/Partials/ResearchFile.cs @@ -5,11 +5,11 @@ namespace Pims.Dal.Entities /// /// PimsResearchFile class, provides an entity for the datamodel to manage research files. /// - public partial class PimsResearchFile : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsResearchFile : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties [NotMapped] - public override long Id { get => this.ResearchFileId; set => this.ResearchFileId = value; } + public override long Internal_Id { get => this.ResearchFileId; set => this.ResearchFileId = value; } #endregion } } diff --git a/source/backend/entities/Partials/ResearchFileDocument.cs b/source/backend/entities/Partials/ResearchFileDocument.cs index f5414c2cbb..5e09828ed6 100644 --- a/source/backend/entities/Partials/ResearchFileDocument.cs +++ b/source/backend/entities/Partials/ResearchFileDocument.cs @@ -5,7 +5,7 @@ namespace Pims.Dal.Entities public partial class PimsResearchFileDocument : PimsFileDocument, IDisableBaseAppEntity { [NotMapped] - public override long Id { get => this.ResearchFileDocumentId; set => this.ResearchFileDocumentId = value; } + public override long Internal_Id { get => this.ResearchFileDocumentId; set => this.ResearchFileDocumentId = value; } [NotMapped] public override long FileId { get => this.ResearchFileId; set => this.ResearchFileId = value; } diff --git a/source/backend/entities/Partials/ResearchFileProject.cs b/source/backend/entities/Partials/ResearchFileProject.cs new file mode 100644 index 0000000000..eefe67ece5 --- /dev/null +++ b/source/backend/entities/Partials/ResearchFileProject.cs @@ -0,0 +1,15 @@ +using System.ComponentModel.DataAnnotations.Schema; + +namespace Pims.Dal.Entities +{ + /// + /// PimsResearchFileProject class, provides an entity for the datamodel to manage the relationship between Projects and Research Files. + /// + public partial class PimsResearchFileProject : StandardIdentityBaseAppEntity, IDisableBaseAppEntity + { + #region Properties + [NotMapped] + public override long Internal_Id { get => this.ResearchFileProjectId; set => this.ResearchFileProjectId = value; } + #endregion + } +} diff --git a/source/backend/entities/Partials/ResearchFilePropertyPurpose.cs b/source/backend/entities/Partials/ResearchFilePropertyPurpose.cs index ec81acd5f5..a38c4b8629 100644 --- a/source/backend/entities/Partials/ResearchFilePropertyPurpose.cs +++ b/source/backend/entities/Partials/ResearchFilePropertyPurpose.cs @@ -5,7 +5,7 @@ namespace Pims.Dal.Entities /// /// PimsPrfPropResearchPurposeType class, provides an entity for the datamodel to manage the relationship of research files' property types. /// - public partial class PimsPrfPropResearchPurposeType : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsPrfPropResearchPurposeType : StandardIdentityBaseAppEntity, IBaseAppEntity { #region Properties @@ -13,7 +13,7 @@ public partial class PimsPrfPropResearchPurposeType : IdentityBaseAppEntity [NotMapped] - public override long Id { get => PrfPropResearchPurposeId; set => PrfPropResearchPurposeId = value; } + public override long Internal_Id { get => PrfPropResearchPurposeId; set => PrfPropResearchPurposeId = value; } #endregion } } diff --git a/source/backend/entities/Partials/StandardIdentityBaseAppEntity.cs b/source/backend/entities/Partials/StandardIdentityBaseAppEntity.cs new file mode 100644 index 0000000000..d5fa3b02ec --- /dev/null +++ b/source/backend/entities/Partials/StandardIdentityBaseAppEntity.cs @@ -0,0 +1,10 @@ +namespace Pims.Dal.Entities +{ + /// + /// StandardIdentityBaseAppEntity abstract class, provides an internal representation of the class id as an standard member. + /// + public abstract class StandardIdentityBaseAppEntity + { + public abstract T Internal_Id { get; set; } + } +} diff --git a/source/backend/entities/Partials/User.cs b/source/backend/entities/Partials/User.cs index b48d535d77..e7f3b9f70a 100644 --- a/source/backend/entities/Partials/User.cs +++ b/source/backend/entities/Partials/User.cs @@ -8,7 +8,7 @@ namespace Pims.Dal.Entities /// /// User class, provides an entity for the datamodel to manage users. /// - public partial class PimsUser : IdentityBaseAppEntity, IDisableBaseAppEntity + public partial class PimsUser : StandardIdentityBaseAppEntity, IDisableBaseAppEntity { #region Properties @@ -16,7 +16,7 @@ public partial class PimsUser : IdentityBaseAppEntity, IDisableBaseAppEnti /// get/set - The primary key IDENTITY. /// [NotMapped] - public override long Id { get => UserId; set => UserId = value; } + public override long Internal_Id { get => UserId; set => UserId = value; } /// /// get - A collection of organizations this user belongs to. diff --git a/source/backend/entities/Partials/UserOrganization.cs b/source/backend/entities/Partials/UserOrganization.cs index d3ef7e8e9f..3652d980e1 100644 --- a/source/backend/entities/Partials/UserOrganization.cs +++ b/source/backend/entities/Partials/UserOrganization.cs @@ -34,9 +34,9 @@ public PimsUserOrganization(long userId, long organizationId, long roleId) public PimsUserOrganization(PimsUser user, PimsOrganization organization, PimsRole role) { this.User = user ?? throw new ArgumentNullException(nameof(user)); - this.UserId = user.Id; + this.UserId = user.Internal_Id; this.Organization = organization ?? throw new ArgumentNullException(nameof(organization)); - this.OrganizationId = organization.Id; + this.OrganizationId = organization.Internal_Id; this.Role = role ?? throw new ArgumentNullException(nameof(role)); this.RoleId = role.RoleId; } diff --git a/source/backend/entities/Partials/UserRole.cs b/source/backend/entities/Partials/UserRole.cs index bce9933fc6..64af18ad6b 100644 --- a/source/backend/entities/Partials/UserRole.cs +++ b/source/backend/entities/Partials/UserRole.cs @@ -6,13 +6,13 @@ namespace Pims.Dal.Entities /// /// UserRole class, provides an entity for the datamodel to manage user organizations. /// - public partial class PimsUserRole : IdentityBaseAppEntity, IBaseAppEntity + public partial class PimsUserRole : StandardIdentityBaseAppEntity, IBaseAppEntity { /// /// get/set - The primary key IDENTITY. /// [NotMapped] - public override long Id { get => UserRoleId; set => UserRoleId = value; } + public override long Internal_Id { get => UserRoleId; set => UserRoleId = value; } #region Constructors public PimsUserRole() @@ -38,7 +38,7 @@ public PimsUserRole(long userId, long roleId) public PimsUserRole(PimsUser user, PimsRole role) { this.User = user; - this.UserId = user?.Id ?? + this.UserId = user?.Internal_Id ?? throw new ArgumentNullException(nameof(user)); this.Role = role; this.RoleId = role?.RoleId ?? diff --git a/source/backend/entities/PimsBaseContext.cs b/source/backend/entities/PimsBaseContext.cs index e8dd2e3270..7278cbe14f 100644 --- a/source/backend/entities/PimsBaseContext.cs +++ b/source/backend/entities/PimsBaseContext.cs @@ -111,6 +111,8 @@ public PimsBaseContext(DbContextOptions options) public virtual DbSet PimsChartOfAccountsCodeHists { get; set; } public virtual DbSet PimsClaims { get; set; } public virtual DbSet PimsClaimHists { get; set; } + public virtual DbSet PimsConsultationStatusTypes { get; set; } + public virtual DbSet PimsConsultationTypes { get; set; } public virtual DbSet PimsContactMethods { get; set; } public virtual DbSet PimsContactMethodHists { get; set; } public virtual DbSet PimsContactMethodTypes { get; set; } @@ -136,9 +138,15 @@ public PimsBaseContext(DbContextOptions options) public virtual DbSet PimsLeaseActivityInstances { get; set; } public virtual DbSet PimsLeaseActivityInstanceHists { get; set; } public virtual DbSet PimsLeaseCategoryTypes { get; set; } + public virtual DbSet PimsLeaseConsultations { get; set; } + public virtual DbSet PimsLeaseConsultationHists { get; set; } + public virtual DbSet PimsLeaseDocuments { get; set; } + public virtual DbSet PimsLeaseDocumentHists { get; set; } public virtual DbSet PimsLeaseHists { get; set; } public virtual DbSet PimsLeaseInitiatorTypes { get; set; } public virtual DbSet PimsLeaseLicenseTypes { get; set; } + public virtual DbSet PimsLeaseNotes { get; set; } + public virtual DbSet PimsLeaseNoteHists { get; set; } public virtual DbSet PimsLeasePayRvblTypes { get; set; } public virtual DbSet PimsLeasePayments { get; set; } public virtual DbSet PimsLeasePaymentHists { get; set; } @@ -228,6 +236,8 @@ public PimsBaseContext(DbContextOptions options) public virtual DbSet PimsResearchFileHists { get; set; } public virtual DbSet PimsResearchFileNotes { get; set; } public virtual DbSet PimsResearchFileNoteHists { get; set; } + public virtual DbSet PimsResearchFileProjects { get; set; } + public virtual DbSet PimsResearchFileProjectHists { get; set; } public virtual DbSet PimsResearchFilePurposes { get; set; } public virtual DbSet PimsResearchFilePurposeHists { get; set; } public virtual DbSet PimsResearchFileStatusTypes { get; set; } @@ -3137,6 +3147,82 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) entity.Property(e => e.EffectiveDateHist).HasDefaultValueSql("(getutcdate())"); }); + modelBuilder.Entity(entity => + { + entity.HasKey(e => e.ConsultationStatusTypeCode) + .HasName("CONSTY_PK"); + + entity.HasComment("Description of the consultation status type for (currently) a lease or license."); + + entity.Property(e => e.ConsultationStatusTypeCode) + .IsUnicode(false) + .HasDefaultValueSql("('OTHER')") + .HasComment("Code value of the consultation status type."); + + entity.Property(e => e.ConcurrencyControlNumber).HasDefaultValueSql("((1))"); + + entity.Property(e => e.DbCreateTimestamp).HasDefaultValueSql("(getutcdate())"); + + entity.Property(e => e.DbCreateUserid).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.DbLastUpdateTimestamp).HasDefaultValueSql("(getutcdate())"); + + entity.Property(e => e.DbLastUpdateUserid).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.Description) + .HasDefaultValueSql("('')") + .HasComment("Description of the consultation status type."); + + entity.Property(e => e.DisplayOrder).HasComment("Onscreen display order of the consultation types."); + + entity.Property(e => e.IsDisabled) + .HasDefaultValueSql("(CONVERT([bit],(0)))") + .HasComment("Indicates if the consultation status type is active."); + }); + + modelBuilder.Entity(entity => + { + entity.HasKey(e => e.ConsultationTypeCode) + .HasName("CONTYP_PK"); + + entity.HasComment("Description of the consultation type required for (currently) a lease or license."); + + entity.Property(e => e.ConsultationTypeCode) + .IsUnicode(false) + .HasDefaultValueSql("('OTHER')") + .HasComment("Code value of the consultation type."); + + entity.Property(e => e.ConcurrencyControlNumber).HasDefaultValueSql("((1))"); + + entity.Property(e => e.ConsultationStatusTypeCode).IsUnicode(false); + + entity.Property(e => e.DbCreateTimestamp).HasDefaultValueSql("(getutcdate())"); + + entity.Property(e => e.DbCreateUserid).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.DbLastUpdateTimestamp).HasDefaultValueSql("(getutcdate())"); + + entity.Property(e => e.DbLastUpdateUserid).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.Description) + .HasDefaultValueSql("('')") + .HasComment("Description of the consultation type."); + + entity.Property(e => e.DisplayOrder).HasComment("Onscreen display order of the consultation types."); + + entity.Property(e => e.IsDisabled) + .HasDefaultValueSql("(CONVERT([bit],(0)))") + .HasComment("Indicates if the consultation type is active."); + + entity.Property(e => e.OtherDescription).HasComment("Additional descriptive text of the consultation type."); + + entity.HasOne(d => d.ConsultationStatusTypeCodeNavigation) + .WithMany(p => p.PimsConsultationTypes) + .HasForeignKey(d => d.ConsultationStatusTypeCode) + .OnDelete(DeleteBehavior.ClientSetNull) + .HasConstraintName("PIM_CONSTY_PIM_CONTYP_FK"); + }); + modelBuilder.Entity(entity => { entity.HasKey(e => e.ContactMethodId) @@ -3897,6 +3983,124 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) entity.Property(e => e.IsDisabled).HasDefaultValueSql("(CONVERT([bit],(0)))"); }); + modelBuilder.Entity(entity => + { + entity.HasKey(e => e.LeaseConsultationId) + .HasName("LESCON_PK"); + + entity.Property(e => e.LeaseConsultationId).HasDefaultValueSql("(NEXT VALUE FOR [PIMS_LEASE_CONSULTATION_ID_SEQ])"); + + entity.Property(e => e.AppCreateTimestamp).HasDefaultValueSql("(getutcdate())"); + + entity.Property(e => e.AppCreateUserDirectory).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.AppCreateUserid).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.AppLastUpdateTimestamp).HasDefaultValueSql("(getutcdate())"); + + entity.Property(e => e.AppLastUpdateUserDirectory).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.AppLastUpdateUserid).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.ConcurrencyControlNumber).HasDefaultValueSql("((1))"); + + entity.Property(e => e.ConsultationTypeCode).IsUnicode(false); + + entity.Property(e => e.DbCreateTimestamp).HasDefaultValueSql("(getutcdate())"); + + entity.Property(e => e.DbCreateUserid).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.DbLastUpdateTimestamp).HasDefaultValueSql("(getutcdate())"); + + entity.Property(e => e.DbLastUpdateUserid).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.IsDisabled) + .HasDefaultValueSql("(CONVERT([bit],(0)))") + .HasComment("Indicates if the relationship has been disabled."); + + entity.HasOne(d => d.ConsultationTypeCodeNavigation) + .WithMany(p => p.PimsLeaseConsultations) + .HasForeignKey(d => d.ConsultationTypeCode) + .OnDelete(DeleteBehavior.ClientSetNull) + .HasConstraintName("PIM_CONTYP_PIM_LESCON_FK"); + + entity.HasOne(d => d.Lease) + .WithMany(p => p.PimsLeaseConsultations) + .HasForeignKey(d => d.LeaseId) + .OnDelete(DeleteBehavior.ClientSetNull) + .HasConstraintName("PIM_LEASE_PIM_LESCON_FK"); + }); + + modelBuilder.Entity(entity => + { + entity.HasKey(e => e.LeaseConsultationHistId) + .HasName("PIMS_LESCON_H_PK"); + + entity.Property(e => e.LeaseConsultationHistId).HasDefaultValueSql("(NEXT VALUE FOR [PIMS_LEASE_CONSULTATION_H_ID_SEQ])"); + + entity.Property(e => e.ConsultationTypeCode).IsUnicode(false); + + entity.Property(e => e.EffectiveDateHist).HasDefaultValueSql("(getutcdate())"); + }); + + modelBuilder.Entity(entity => + { + entity.HasKey(e => e.LeaseDocumentId) + .HasName("LESDOC_PK"); + + entity.HasComment("Defines the relationship betwwen a lease and a document."); + + entity.Property(e => e.LeaseDocumentId).HasDefaultValueSql("(NEXT VALUE FOR [PIMS_LEASE_DOCUMENT_ID_SEQ])"); + + entity.Property(e => e.AppCreateTimestamp).HasDefaultValueSql("(getutcdate())"); + + entity.Property(e => e.AppCreateUserDirectory).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.AppCreateUserid).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.AppLastUpdateTimestamp).HasDefaultValueSql("(getutcdate())"); + + entity.Property(e => e.AppLastUpdateUserDirectory).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.AppLastUpdateUserid).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.ConcurrencyControlNumber).HasDefaultValueSql("((1))"); + + entity.Property(e => e.DbCreateTimestamp).HasDefaultValueSql("(getutcdate())"); + + entity.Property(e => e.DbCreateUserid).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.DbLastUpdateTimestamp).HasDefaultValueSql("(getutcdate())"); + + entity.Property(e => e.DbLastUpdateUserid).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.IsDisabled) + .HasDefaultValueSql("(CONVERT([bit],(0)))") + .HasComment("Indicates if the relationship has been disabled."); + + entity.HasOne(d => d.Document) + .WithMany(p => p.PimsLeaseDocuments) + .HasForeignKey(d => d.DocumentId) + .OnDelete(DeleteBehavior.ClientSetNull) + .HasConstraintName("PIM_DOCMNT_PIM_LESDOC_FK"); + + entity.HasOne(d => d.Lease) + .WithMany(p => p.PimsLeaseDocuments) + .HasForeignKey(d => d.LeaseId) + .OnDelete(DeleteBehavior.ClientSetNull) + .HasConstraintName("PIM_LEASE_PIM_LESDOC_FK"); + }); + + modelBuilder.Entity(entity => + { + entity.HasKey(e => e.LeaseDocumentHistId) + .HasName("PIMS_LESDOC_H_PK"); + + entity.Property(e => e.LeaseDocumentHistId).HasDefaultValueSql("(NEXT VALUE FOR [PIMS_LEASE_DOCUMENT_H_ID_SEQ])"); + + entity.Property(e => e.EffectiveDateHist).HasDefaultValueSql("(getutcdate())"); + }); + modelBuilder.Entity(entity => { entity.HasKey(e => e.LeaseHistId) @@ -3949,6 +4153,64 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) entity.Property(e => e.IsDisabled).HasDefaultValueSql("(CONVERT([bit],(0)))"); }); + modelBuilder.Entity(entity => + { + entity.HasKey(e => e.LeaseNoteId) + .HasName("LESNOT_PK"); + + entity.HasComment("Defines the relationship betwwen a lease and a note."); + + entity.Property(e => e.LeaseNoteId).HasDefaultValueSql("(NEXT VALUE FOR [PIMS_LEASE_NOTE_ID_SEQ])"); + + entity.Property(e => e.AppCreateTimestamp).HasDefaultValueSql("(getutcdate())"); + + entity.Property(e => e.AppCreateUserDirectory).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.AppCreateUserid).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.AppLastUpdateTimestamp).HasDefaultValueSql("(getutcdate())"); + + entity.Property(e => e.AppLastUpdateUserDirectory).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.AppLastUpdateUserid).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.ConcurrencyControlNumber).HasDefaultValueSql("((1))"); + + entity.Property(e => e.DbCreateTimestamp).HasDefaultValueSql("(getutcdate())"); + + entity.Property(e => e.DbCreateUserid).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.DbLastUpdateTimestamp).HasDefaultValueSql("(getutcdate())"); + + entity.Property(e => e.DbLastUpdateUserid).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.IsDisabled) + .HasDefaultValueSql("(CONVERT([bit],(0)))") + .HasComment("Indicates if the relationship has been disabled."); + + entity.HasOne(d => d.Lease) + .WithMany(p => p.PimsLeaseNotes) + .HasForeignKey(d => d.LeaseId) + .OnDelete(DeleteBehavior.ClientSetNull) + .HasConstraintName("PIM_LEASE_PIM_LESNOT_FK"); + + entity.HasOne(d => d.Note) + .WithMany(p => p.PimsLeaseNotes) + .HasForeignKey(d => d.NoteId) + .OnDelete(DeleteBehavior.ClientSetNull) + .HasConstraintName("PIM_NOTE_PIM_LESNOT_FK"); + }); + + modelBuilder.Entity(entity => + { + entity.HasKey(e => e.LeaseNoteHistId) + .HasName("PIMS_LESNOT_H_PK"); + + entity.Property(e => e.LeaseNoteHistId).HasDefaultValueSql("(NEXT VALUE FOR [PIMS_LEASE_NOTE_H_ID_SEQ])"); + + entity.Property(e => e.EffectiveDateHist).HasDefaultValueSql("(getutcdate())"); + }); + modelBuilder.Entity(entity => { entity.HasKey(e => e.LeasePayRvblTypeCode) @@ -6412,7 +6674,7 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) modelBuilder.Entity(entity => { entity.HasKey(e => e.ResearchFileDocumentId) - .HasName("RSCDOC_PK"); + .HasName("RFLDOC_PK"); entity.HasComment("Defines the relationship betwwen a research file and a document."); @@ -6448,19 +6710,19 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) .WithMany(p => p.PimsResearchFileDocuments) .HasForeignKey(d => d.DocumentId) .OnDelete(DeleteBehavior.ClientSetNull) - .HasConstraintName("PIM_DOCMNT_PIM_RSCDOC_FK"); + .HasConstraintName("PIM_DOCMNT_PIM_RFLDOC_FK"); entity.HasOne(d => d.ResearchFile) .WithMany(p => p.PimsResearchFileDocuments) .HasForeignKey(d => d.ResearchFileId) .OnDelete(DeleteBehavior.ClientSetNull) - .HasConstraintName("PIM_RESRCH_PIM_RSCDOC_FK"); + .HasConstraintName("PIM_RESRCH_PIM_RFLDOC_FK"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.ResearchFileDocumentHistId) - .HasName("PIMS_RSCDOC_H_PK"); + .HasName("PIMS_RFLDOC_H_PK"); entity.Property(e => e.ResearchFileDocumentHistId).HasDefaultValueSql("(NEXT VALUE FOR [PIMS_RESEARCH_FILE_DOCUMENT_H_ID_SEQ])"); @@ -6480,7 +6742,7 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) modelBuilder.Entity(entity => { entity.HasKey(e => new { e.ResearchFileNoteId, e.ResearchFileId }) - .HasName("RSCNOT_PK"); + .HasName("RFLNOT_PK"); entity.HasComment("Defines the relationship betwwen a research file and a note."); @@ -6516,25 +6778,83 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) .WithMany(p => p.PimsResearchFileNotes) .HasForeignKey(d => d.NoteId) .OnDelete(DeleteBehavior.ClientSetNull) - .HasConstraintName("PIM_NOTE_PIM_RSCNOT_FK"); + .HasConstraintName("PIM_NOTE_PIM_RFLNOT_FK"); entity.HasOne(d => d.ResearchFile) .WithMany(p => p.PimsResearchFileNotes) .HasForeignKey(d => d.ResearchFileId) .OnDelete(DeleteBehavior.ClientSetNull) - .HasConstraintName("PIM_RESRCH_PIM_RSCNOT_FK"); + .HasConstraintName("PIM_RESRCH_PIM_RFLNOT_FK"); }); modelBuilder.Entity(entity => { entity.HasKey(e => e.ResearchFileNoteHistId) - .HasName("PIMS_RSCNOT_H_PK"); + .HasName("PIMS_RFLNOT_H_PK"); entity.Property(e => e.ResearchFileNoteHistId).HasDefaultValueSql("(NEXT VALUE FOR [PIMS_RESEARCH_FILE_NOTE_H_ID_SEQ])"); entity.Property(e => e.EffectiveDateHist).HasDefaultValueSql("(getutcdate())"); }); + modelBuilder.Entity(entity => + { + entity.HasKey(e => e.ResearchFileProjectId) + .HasName("RFLPRJ_PK"); + + entity.HasComment("Defines the relationship betwwen a research file and a project."); + + entity.Property(e => e.ResearchFileProjectId).HasDefaultValueSql("(NEXT VALUE FOR [PIMS_RESEARCH_FILE_PROJECT_ID_SEQ])"); + + entity.Property(e => e.AppCreateTimestamp).HasDefaultValueSql("(getutcdate())"); + + entity.Property(e => e.AppCreateUserDirectory).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.AppCreateUserid).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.AppLastUpdateTimestamp).HasDefaultValueSql("(getutcdate())"); + + entity.Property(e => e.AppLastUpdateUserDirectory).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.AppLastUpdateUserid).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.ConcurrencyControlNumber).HasDefaultValueSql("((1))"); + + entity.Property(e => e.DbCreateTimestamp).HasDefaultValueSql("(getutcdate())"); + + entity.Property(e => e.DbCreateUserid).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.DbLastUpdateTimestamp).HasDefaultValueSql("(getutcdate())"); + + entity.Property(e => e.DbLastUpdateUserid).HasDefaultValueSql("(user_name())"); + + entity.Property(e => e.IsDisabled) + .HasDefaultValueSql("(CONVERT([bit],(0)))") + .HasComment("Indicates if the relationship has been disabled."); + + entity.HasOne(d => d.Project) + .WithMany(p => p.PimsResearchFileProjects) + .HasForeignKey(d => d.ProjectId) + .OnDelete(DeleteBehavior.ClientSetNull) + .HasConstraintName("PIM_PROJCT_PIM_RFLPRJ_FK"); + + entity.HasOne(d => d.ResearchFile) + .WithMany(p => p.PimsResearchFileProjects) + .HasForeignKey(d => d.ResearchFileId) + .OnDelete(DeleteBehavior.ClientSetNull) + .HasConstraintName("PIM_RESRCH_PIM_RFLPRJ_FK"); + }); + + modelBuilder.Entity(entity => + { + entity.HasKey(e => e.ResearchFileProjectHistId) + .HasName("PIMS_RFLPRJ_H_PK"); + + entity.Property(e => e.ResearchFileProjectHistId).HasDefaultValueSql("(NEXT VALUE FOR [PIMS_RESEARCH_FILE_PROJECT_H_ID_SEQ])"); + + entity.Property(e => e.EffectiveDateHist).HasDefaultValueSql("(getutcdate())"); + }); + modelBuilder.Entity(entity => { entity.HasKey(e => e.ResearchFilePurposeId) @@ -7812,6 +8132,22 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) .HasMin(1) .HasMax(2147483647); + modelBuilder.HasSequence("PIMS_LEASE_CONSULTATION_H_ID_SEQ") + .HasMin(1) + .HasMax(2147483647); + + modelBuilder.HasSequence("PIMS_LEASE_CONSULTATION_ID_SEQ") + .HasMin(1) + .HasMax(2147483647); + + modelBuilder.HasSequence("PIMS_LEASE_DOCUMENT_H_ID_SEQ") + .HasMin(1) + .HasMax(2147483647); + + modelBuilder.HasSequence("PIMS_LEASE_DOCUMENT_ID_SEQ") + .HasMin(1) + .HasMax(2147483647); + modelBuilder.HasSequence("PIMS_LEASE_H_ID_SEQ") .HasMin(1) .HasMax(2147483647); @@ -7820,6 +8156,14 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) .HasMin(1) .HasMax(2147483647); + modelBuilder.HasSequence("PIMS_LEASE_NOTE_H_ID_SEQ") + .HasMin(1) + .HasMax(2147483647); + + modelBuilder.HasSequence("PIMS_LEASE_NOTE_ID_SEQ") + .HasMin(1) + .HasMax(2147483647); + modelBuilder.HasSequence("PIMS_LEASE_PAYMENT_FORECAST_H_ID_SEQ") .HasMin(1) .HasMax(2147483647); @@ -8124,6 +8468,14 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) .HasMin(1) .HasMax(2147483647); + modelBuilder.HasSequence("PIMS_RESEARCH_FILE_PROJECT_H_ID_SEQ") + .HasMin(1) + .HasMax(2147483647); + + modelBuilder.HasSequence("PIMS_RESEARCH_FILE_PROJECT_ID_SEQ") + .HasMin(1) + .HasMax(2147483647); + modelBuilder.HasSequence("PIMS_RESEARCH_FILE_PURPOSE_H_ID_SEQ") .HasMin(1) .HasMax(2147483647); diff --git a/source/backend/entities/ef/PimsAcquisitionOwner.cs b/source/backend/entities/ef/PimsAcquisitionOwner.cs index 5222b24841..ad4494aff5 100644 --- a/source/backend/entities/ef/PimsAcquisitionOwner.cs +++ b/source/backend/entities/ef/PimsAcquisitionOwner.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; diff --git a/source/backend/entities/ef/PimsConsultationStatusType.cs b/source/backend/entities/ef/PimsConsultationStatusType.cs new file mode 100644 index 0000000000..71e5af7122 --- /dev/null +++ b/source/backend/entities/ef/PimsConsultationStatusType.cs @@ -0,0 +1,50 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +#nullable disable + +namespace Pims.Dal.Entities +{ + [Table("PIMS_CONSULTATION_STATUS_TYPE")] + public partial class PimsConsultationStatusType + { + public PimsConsultationStatusType() + { + PimsConsultationTypes = new HashSet(); + } + + [Key] + [Column("CONSULTATION_STATUS_TYPE_CODE")] + [StringLength(20)] + public string ConsultationStatusTypeCode { get; set; } + [Required] + [Column("DESCRIPTION")] + [StringLength(200)] + public string Description { get; set; } + [Column("DISPLAY_ORDER")] + public int? DisplayOrder { get; set; } + [Required] + [Column("IS_DISABLED")] + public bool? IsDisabled { get; set; } + [Column("CONCURRENCY_CONTROL_NUMBER")] + public long ConcurrencyControlNumber { get; set; } + [Column("DB_CREATE_TIMESTAMP", TypeName = "datetime")] + public DateTime DbCreateTimestamp { get; set; } + [Required] + [Column("DB_CREATE_USERID")] + [StringLength(30)] + public string DbCreateUserid { get; set; } + [Column("DB_LAST_UPDATE_TIMESTAMP", TypeName = "datetime")] + public DateTime DbLastUpdateTimestamp { get; set; } + [Required] + [Column("DB_LAST_UPDATE_USERID")] + [StringLength(30)] + public string DbLastUpdateUserid { get; set; } + + [InverseProperty(nameof(PimsConsultationType.ConsultationStatusTypeCodeNavigation))] + public virtual ICollection PimsConsultationTypes { get; set; } + } +} diff --git a/source/backend/entities/ef/PimsConsultationType.cs b/source/backend/entities/ef/PimsConsultationType.cs new file mode 100644 index 0000000000..0c9854e2bb --- /dev/null +++ b/source/backend/entities/ef/PimsConsultationType.cs @@ -0,0 +1,61 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +#nullable disable + +namespace Pims.Dal.Entities +{ + [Table("PIMS_CONSULTATION_TYPE")] + [Index(nameof(ConsultationStatusTypeCode), Name = "CONTYP_CONSULTATION_STATUS_TYPE_CODE_IDX")] + public partial class PimsConsultationType + { + public PimsConsultationType() + { + PimsLeaseConsultations = new HashSet(); + } + + [Key] + [Column("CONSULTATION_TYPE_CODE")] + [StringLength(20)] + public string ConsultationTypeCode { get; set; } + [Required] + [Column("CONSULTATION_STATUS_TYPE_CODE")] + [StringLength(20)] + public string ConsultationStatusTypeCode { get; set; } + [Required] + [Column("DESCRIPTION")] + [StringLength(200)] + public string Description { get; set; } + [Column("OTHER_DESCRIPTION")] + [StringLength(200)] + public string OtherDescription { get; set; } + [Column("DISPLAY_ORDER")] + public int? DisplayOrder { get; set; } + [Required] + [Column("IS_DISABLED")] + public bool? IsDisabled { get; set; } + [Column("CONCURRENCY_CONTROL_NUMBER")] + public long ConcurrencyControlNumber { get; set; } + [Column("DB_CREATE_TIMESTAMP", TypeName = "datetime")] + public DateTime DbCreateTimestamp { get; set; } + [Required] + [Column("DB_CREATE_USERID")] + [StringLength(30)] + public string DbCreateUserid { get; set; } + [Column("DB_LAST_UPDATE_TIMESTAMP", TypeName = "datetime")] + public DateTime DbLastUpdateTimestamp { get; set; } + [Required] + [Column("DB_LAST_UPDATE_USERID")] + [StringLength(30)] + public string DbLastUpdateUserid { get; set; } + + [ForeignKey(nameof(ConsultationStatusTypeCode))] + [InverseProperty(nameof(PimsConsultationStatusType.PimsConsultationTypes))] + public virtual PimsConsultationStatusType ConsultationStatusTypeCodeNavigation { get; set; } + [InverseProperty(nameof(PimsLeaseConsultation.ConsultationTypeCodeNavigation))] + public virtual ICollection PimsLeaseConsultations { get; set; } + } +} diff --git a/source/backend/entities/ef/PimsDocument.cs b/source/backend/entities/ef/PimsDocument.cs index 296d001534..cad815e37c 100644 --- a/source/backend/entities/ef/PimsDocument.cs +++ b/source/backend/entities/ef/PimsDocument.cs @@ -18,6 +18,7 @@ public PimsDocument() PimsAcquisitionFileDocuments = new HashSet(); PimsActivityInstanceDocuments = new HashSet(); PimsActivityTemplateDocuments = new HashSet(); + PimsLeaseDocuments = new HashSet(); PimsResearchFileDocuments = new HashSet(); } @@ -87,6 +88,8 @@ public PimsDocument() public virtual ICollection PimsActivityInstanceDocuments { get; set; } [InverseProperty(nameof(PimsActivityTemplateDocument.Document))] public virtual ICollection PimsActivityTemplateDocuments { get; set; } + [InverseProperty(nameof(PimsLeaseDocument.Document))] + public virtual ICollection PimsLeaseDocuments { get; set; } [InverseProperty(nameof(PimsResearchFileDocument.Document))] public virtual ICollection PimsResearchFileDocuments { get; set; } } diff --git a/source/backend/entities/ef/PimsLease.cs b/source/backend/entities/ef/PimsLease.cs index a66dcd3014..8ac0099be0 100644 --- a/source/backend/entities/ef/PimsLease.cs +++ b/source/backend/entities/ef/PimsLease.cs @@ -28,6 +28,9 @@ public PimsLease() { PimsInsurances = new HashSet(); PimsLeaseActivityInstances = new HashSet(); + PimsLeaseConsultations = new HashSet(); + PimsLeaseDocuments = new HashSet(); + PimsLeaseNotes = new HashSet(); PimsLeaseTenants = new HashSet(); PimsLeaseTerms = new HashSet(); PimsPropertyImprovements = new HashSet(); @@ -207,6 +210,12 @@ public PimsLease() public virtual ICollection PimsInsurances { get; set; } [InverseProperty(nameof(PimsLeaseActivityInstance.Lease))] public virtual ICollection PimsLeaseActivityInstances { get; set; } + [InverseProperty(nameof(PimsLeaseConsultation.Lease))] + public virtual ICollection PimsLeaseConsultations { get; set; } + [InverseProperty(nameof(PimsLeaseDocument.Lease))] + public virtual ICollection PimsLeaseDocuments { get; set; } + [InverseProperty(nameof(PimsLeaseNote.Lease))] + public virtual ICollection PimsLeaseNotes { get; set; } [InverseProperty(nameof(PimsLeaseTenant.Lease))] public virtual ICollection PimsLeaseTenants { get; set; } [InverseProperty(nameof(PimsLeaseTerm.Lease))] diff --git a/source/backend/entities/ef/PimsLeaseConsultation.cs b/source/backend/entities/ef/PimsLeaseConsultation.cs new file mode 100644 index 0000000000..e8ba981fcd --- /dev/null +++ b/source/backend/entities/ef/PimsLeaseConsultation.cs @@ -0,0 +1,73 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +#nullable disable + +namespace Pims.Dal.Entities +{ + [Table("PIMS_LEASE_CONSULTATION")] + [Index(nameof(ConsultationTypeCode), Name = "LESCON_CONSULTATION_TYPE_CODE_IDX")] + [Index(nameof(ConsultationTypeCode), nameof(LeaseId), Name = "LESCON_LEASE_CONSULTATION_TUC", IsUnique = true)] + [Index(nameof(LeaseId), Name = "LESCON_LEASE_ID_IDX")] + public partial class PimsLeaseConsultation + { + [Key] + [Column("LEASE_CONSULTATION_ID")] + public long LeaseConsultationId { get; set; } + [Column("LEASE_ID")] + public long LeaseId { get; set; } + [Required] + [Column("CONSULTATION_TYPE_CODE")] + [StringLength(20)] + public string ConsultationTypeCode { get; set; } + [Column("APP_CREATE_TIMESTAMP", TypeName = "datetime")] + public DateTime AppCreateTimestamp { get; set; } + [Required] + [Column("APP_CREATE_USER_DIRECTORY")] + [StringLength(30)] + public string AppCreateUserDirectory { get; set; } + [Column("APP_CREATE_USER_GUID")] + public Guid? AppCreateUserGuid { get; set; } + [Required] + [Column("APP_CREATE_USERID")] + [StringLength(30)] + public string AppCreateUserid { get; set; } + [Column("APP_LAST_UPDATE_TIMESTAMP", TypeName = "datetime")] + public DateTime AppLastUpdateTimestamp { get; set; } + [Required] + [Column("APP_LAST_UPDATE_USER_DIRECTORY")] + [StringLength(30)] + public string AppLastUpdateUserDirectory { get; set; } + [Column("APP_LAST_UPDATE_USER_GUID")] + public Guid? AppLastUpdateUserGuid { get; set; } + [Required] + [Column("APP_LAST_UPDATE_USERID")] + [StringLength(30)] + public string AppLastUpdateUserid { get; set; } + [Column("CONCURRENCY_CONTROL_NUMBER")] + public long ConcurrencyControlNumber { get; set; } + [Column("DB_CREATE_TIMESTAMP", TypeName = "datetime")] + public DateTime DbCreateTimestamp { get; set; } + [Column("DB_CREATE_USERID")] + [StringLength(30)] + public string DbCreateUserid { get; set; } + [Column("DB_LAST_UPDATE_TIMESTAMP", TypeName = "datetime")] + public DateTime DbLastUpdateTimestamp { get; set; } + [Required] + [Column("DB_LAST_UPDATE_USERID")] + [StringLength(30)] + public string DbLastUpdateUserid { get; set; } + [Column("IS_DISABLED")] + public bool? IsDisabled { get; set; } + + [ForeignKey(nameof(ConsultationTypeCode))] + [InverseProperty(nameof(PimsConsultationType.PimsLeaseConsultations))] + public virtual PimsConsultationType ConsultationTypeCodeNavigation { get; set; } + [ForeignKey(nameof(LeaseId))] + [InverseProperty(nameof(PimsLease.PimsLeaseConsultations))] + public virtual PimsLease Lease { get; set; } + } +} diff --git a/source/backend/entities/ef/PimsLeaseConsultationHist.cs b/source/backend/entities/ef/PimsLeaseConsultationHist.cs new file mode 100644 index 0000000000..ea32c52b12 --- /dev/null +++ b/source/backend/entities/ef/PimsLeaseConsultationHist.cs @@ -0,0 +1,70 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +#nullable disable + +namespace Pims.Dal.Entities +{ + [Table("PIMS_LEASE_CONSULTATION_HIST")] + [Index(nameof(LeaseConsultationHistId), nameof(EndDateHist), Name = "PIMS_LESCON_H_UK", IsUnique = true)] + public partial class PimsLeaseConsultationHist + { + [Key] + [Column("_LEASE_CONSULTATION_HIST_ID")] + public long LeaseConsultationHistId { get; set; } + [Column("EFFECTIVE_DATE_HIST", TypeName = "datetime")] + public DateTime EffectiveDateHist { get; set; } + [Column("END_DATE_HIST", TypeName = "datetime")] + public DateTime? EndDateHist { get; set; } + [Column("LEASE_CONSULTATION_ID")] + public long LeaseConsultationId { get; set; } + [Column("LEASE_ID")] + public long LeaseId { get; set; } + [Required] + [Column("CONSULTATION_TYPE_CODE")] + [StringLength(20)] + public string ConsultationTypeCode { get; set; } + [Column("APP_CREATE_TIMESTAMP", TypeName = "datetime")] + public DateTime AppCreateTimestamp { get; set; } + [Required] + [Column("APP_CREATE_USER_DIRECTORY")] + [StringLength(30)] + public string AppCreateUserDirectory { get; set; } + [Column("APP_CREATE_USER_GUID")] + public Guid? AppCreateUserGuid { get; set; } + [Required] + [Column("APP_CREATE_USERID")] + [StringLength(30)] + public string AppCreateUserid { get; set; } + [Column("APP_LAST_UPDATE_TIMESTAMP", TypeName = "datetime")] + public DateTime AppLastUpdateTimestamp { get; set; } + [Required] + [Column("APP_LAST_UPDATE_USER_DIRECTORY")] + [StringLength(30)] + public string AppLastUpdateUserDirectory { get; set; } + [Column("APP_LAST_UPDATE_USER_GUID")] + public Guid? AppLastUpdateUserGuid { get; set; } + [Required] + [Column("APP_LAST_UPDATE_USERID")] + [StringLength(30)] + public string AppLastUpdateUserid { get; set; } + [Column("CONCURRENCY_CONTROL_NUMBER")] + public long ConcurrencyControlNumber { get; set; } + [Column("DB_CREATE_TIMESTAMP", TypeName = "datetime")] + public DateTime DbCreateTimestamp { get; set; } + [Column("DB_CREATE_USERID")] + [StringLength(30)] + public string DbCreateUserid { get; set; } + [Column("DB_LAST_UPDATE_TIMESTAMP", TypeName = "datetime")] + public DateTime DbLastUpdateTimestamp { get; set; } + [Required] + [Column("DB_LAST_UPDATE_USERID")] + [StringLength(30)] + public string DbLastUpdateUserid { get; set; } + [Column("IS_DISABLED")] + public bool? IsDisabled { get; set; } + } +} diff --git a/source/backend/entities/ef/PimsLeaseDocument.cs b/source/backend/entities/ef/PimsLeaseDocument.cs new file mode 100644 index 0000000000..621b70d70c --- /dev/null +++ b/source/backend/entities/ef/PimsLeaseDocument.cs @@ -0,0 +1,71 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +#nullable disable + +namespace Pims.Dal.Entities +{ + [Table("PIMS_LEASE_DOCUMENT")] + [Index(nameof(DocumentId), Name = "LESDOC_DOCUMENT_ID_IDX")] + [Index(nameof(DocumentId), nameof(LeaseId), Name = "LESDOC_LEASE_DOCUMENT_TUC", IsUnique = true)] + [Index(nameof(LeaseId), Name = "LESDOC_LEASE_ID_IDX")] + public partial class PimsLeaseDocument + { + [Key] + [Column("LEASE_DOCUMENT_ID")] + public long LeaseDocumentId { get; set; } + [Column("LEASE_ID")] + public long LeaseId { get; set; } + [Column("DOCUMENT_ID")] + public long DocumentId { get; set; } + [Column("IS_DISABLED")] + public bool? IsDisabled { get; set; } + [Column("CONCURRENCY_CONTROL_NUMBER")] + public long ConcurrencyControlNumber { get; set; } + [Column("APP_CREATE_TIMESTAMP", TypeName = "datetime")] + public DateTime AppCreateTimestamp { get; set; } + [Required] + [Column("APP_CREATE_USERID")] + [StringLength(30)] + public string AppCreateUserid { get; set; } + [Column("APP_CREATE_USER_GUID")] + public Guid? AppCreateUserGuid { get; set; } + [Required] + [Column("APP_CREATE_USER_DIRECTORY")] + [StringLength(30)] + public string AppCreateUserDirectory { get; set; } + [Column("APP_LAST_UPDATE_TIMESTAMP", TypeName = "datetime")] + public DateTime AppLastUpdateTimestamp { get; set; } + [Required] + [Column("APP_LAST_UPDATE_USERID")] + [StringLength(30)] + public string AppLastUpdateUserid { get; set; } + [Column("APP_LAST_UPDATE_USER_GUID")] + public Guid? AppLastUpdateUserGuid { get; set; } + [Required] + [Column("APP_LAST_UPDATE_USER_DIRECTORY")] + [StringLength(30)] + public string AppLastUpdateUserDirectory { get; set; } + [Column("DB_CREATE_TIMESTAMP", TypeName = "datetime")] + public DateTime DbCreateTimestamp { get; set; } + [Column("DB_CREATE_USERID")] + [StringLength(30)] + public string DbCreateUserid { get; set; } + [Column("DB_LAST_UPDATE_TIMESTAMP", TypeName = "datetime")] + public DateTime DbLastUpdateTimestamp { get; set; } + [Required] + [Column("DB_LAST_UPDATE_USERID")] + [StringLength(30)] + public string DbLastUpdateUserid { get; set; } + + [ForeignKey(nameof(DocumentId))] + [InverseProperty(nameof(PimsDocument.PimsLeaseDocuments))] + public virtual PimsDocument Document { get; set; } + [ForeignKey(nameof(LeaseId))] + [InverseProperty(nameof(PimsLease.PimsLeaseDocuments))] + public virtual PimsLease Lease { get; set; } + } +} diff --git a/source/backend/entities/ef/PimsLeaseDocumentHist.cs b/source/backend/entities/ef/PimsLeaseDocumentHist.cs new file mode 100644 index 0000000000..cd9dcd03f2 --- /dev/null +++ b/source/backend/entities/ef/PimsLeaseDocumentHist.cs @@ -0,0 +1,68 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +#nullable disable + +namespace Pims.Dal.Entities +{ + [Table("PIMS_LEASE_DOCUMENT_HIST")] + [Index(nameof(LeaseDocumentHistId), nameof(EndDateHist), Name = "PIMS_LESDOC_H_UK", IsUnique = true)] + public partial class PimsLeaseDocumentHist + { + [Key] + [Column("_LEASE_DOCUMENT_HIST_ID")] + public long LeaseDocumentHistId { get; set; } + [Column("EFFECTIVE_DATE_HIST", TypeName = "datetime")] + public DateTime EffectiveDateHist { get; set; } + [Column("END_DATE_HIST", TypeName = "datetime")] + public DateTime? EndDateHist { get; set; } + [Column("LEASE_DOCUMENT_ID")] + public long LeaseDocumentId { get; set; } + [Column("LEASE_ID")] + public long LeaseId { get; set; } + [Column("DOCUMENT_ID")] + public long DocumentId { get; set; } + [Column("IS_DISABLED")] + public bool? IsDisabled { get; set; } + [Column("CONCURRENCY_CONTROL_NUMBER")] + public long ConcurrencyControlNumber { get; set; } + [Column("APP_CREATE_TIMESTAMP", TypeName = "datetime")] + public DateTime AppCreateTimestamp { get; set; } + [Required] + [Column("APP_CREATE_USERID")] + [StringLength(30)] + public string AppCreateUserid { get; set; } + [Column("APP_CREATE_USER_GUID")] + public Guid? AppCreateUserGuid { get; set; } + [Required] + [Column("APP_CREATE_USER_DIRECTORY")] + [StringLength(30)] + public string AppCreateUserDirectory { get; set; } + [Column("APP_LAST_UPDATE_TIMESTAMP", TypeName = "datetime")] + public DateTime AppLastUpdateTimestamp { get; set; } + [Required] + [Column("APP_LAST_UPDATE_USERID")] + [StringLength(30)] + public string AppLastUpdateUserid { get; set; } + [Column("APP_LAST_UPDATE_USER_GUID")] + public Guid? AppLastUpdateUserGuid { get; set; } + [Required] + [Column("APP_LAST_UPDATE_USER_DIRECTORY")] + [StringLength(30)] + public string AppLastUpdateUserDirectory { get; set; } + [Column("DB_CREATE_TIMESTAMP", TypeName = "datetime")] + public DateTime DbCreateTimestamp { get; set; } + [Column("DB_CREATE_USERID")] + [StringLength(30)] + public string DbCreateUserid { get; set; } + [Column("DB_LAST_UPDATE_TIMESTAMP", TypeName = "datetime")] + public DateTime DbLastUpdateTimestamp { get; set; } + [Required] + [Column("DB_LAST_UPDATE_USERID")] + [StringLength(30)] + public string DbLastUpdateUserid { get; set; } + } +} diff --git a/source/backend/entities/ef/PimsLeaseNote.cs b/source/backend/entities/ef/PimsLeaseNote.cs new file mode 100644 index 0000000000..4888a6a26e --- /dev/null +++ b/source/backend/entities/ef/PimsLeaseNote.cs @@ -0,0 +1,71 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +#nullable disable + +namespace Pims.Dal.Entities +{ + [Table("PIMS_LEASE_NOTE")] + [Index(nameof(LeaseId), Name = "LESNOT_LEASE_ID_IDX")] + [Index(nameof(NoteId), nameof(LeaseId), Name = "LESNOT_LEASE_NOTE_TUC", IsUnique = true)] + [Index(nameof(NoteId), Name = "LESNOT_NOTE_ID_IDX")] + public partial class PimsLeaseNote + { + [Key] + [Column("LEASE_NOTE_ID")] + public long LeaseNoteId { get; set; } + [Column("LEASE_ID")] + public long LeaseId { get; set; } + [Column("NOTE_ID")] + public long NoteId { get; set; } + [Column("IS_DISABLED")] + public bool? IsDisabled { get; set; } + [Column("CONCURRENCY_CONTROL_NUMBER")] + public long ConcurrencyControlNumber { get; set; } + [Column("APP_CREATE_TIMESTAMP", TypeName = "datetime")] + public DateTime AppCreateTimestamp { get; set; } + [Required] + [Column("APP_CREATE_USERID")] + [StringLength(30)] + public string AppCreateUserid { get; set; } + [Column("APP_CREATE_USER_GUID")] + public Guid? AppCreateUserGuid { get; set; } + [Required] + [Column("APP_CREATE_USER_DIRECTORY")] + [StringLength(30)] + public string AppCreateUserDirectory { get; set; } + [Column("APP_LAST_UPDATE_TIMESTAMP", TypeName = "datetime")] + public DateTime AppLastUpdateTimestamp { get; set; } + [Required] + [Column("APP_LAST_UPDATE_USERID")] + [StringLength(30)] + public string AppLastUpdateUserid { get; set; } + [Column("APP_LAST_UPDATE_USER_GUID")] + public Guid? AppLastUpdateUserGuid { get; set; } + [Required] + [Column("APP_LAST_UPDATE_USER_DIRECTORY")] + [StringLength(30)] + public string AppLastUpdateUserDirectory { get; set; } + [Column("DB_CREATE_TIMESTAMP", TypeName = "datetime")] + public DateTime DbCreateTimestamp { get; set; } + [Column("DB_CREATE_USERID")] + [StringLength(30)] + public string DbCreateUserid { get; set; } + [Column("DB_LAST_UPDATE_TIMESTAMP", TypeName = "datetime")] + public DateTime DbLastUpdateTimestamp { get; set; } + [Required] + [Column("DB_LAST_UPDATE_USERID")] + [StringLength(30)] + public string DbLastUpdateUserid { get; set; } + + [ForeignKey(nameof(LeaseId))] + [InverseProperty(nameof(PimsLease.PimsLeaseNotes))] + public virtual PimsLease Lease { get; set; } + [ForeignKey(nameof(NoteId))] + [InverseProperty(nameof(PimsNote.PimsLeaseNotes))] + public virtual PimsNote Note { get; set; } + } +} diff --git a/source/backend/entities/ef/PimsLeaseNoteHist.cs b/source/backend/entities/ef/PimsLeaseNoteHist.cs new file mode 100644 index 0000000000..a7b06f9492 --- /dev/null +++ b/source/backend/entities/ef/PimsLeaseNoteHist.cs @@ -0,0 +1,68 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +#nullable disable + +namespace Pims.Dal.Entities +{ + [Table("PIMS_LEASE_NOTE_HIST")] + [Index(nameof(LeaseNoteHistId), nameof(EndDateHist), Name = "PIMS_LESNOT_H_UK", IsUnique = true)] + public partial class PimsLeaseNoteHist + { + [Key] + [Column("_LEASE_NOTE_HIST_ID")] + public long LeaseNoteHistId { get; set; } + [Column("EFFECTIVE_DATE_HIST", TypeName = "datetime")] + public DateTime EffectiveDateHist { get; set; } + [Column("END_DATE_HIST", TypeName = "datetime")] + public DateTime? EndDateHist { get; set; } + [Column("LEASE_NOTE_ID")] + public long LeaseNoteId { get; set; } + [Column("LEASE_ID")] + public long LeaseId { get; set; } + [Column("NOTE_ID")] + public long NoteId { get; set; } + [Column("IS_DISABLED")] + public bool? IsDisabled { get; set; } + [Column("CONCURRENCY_CONTROL_NUMBER")] + public long ConcurrencyControlNumber { get; set; } + [Column("APP_CREATE_TIMESTAMP", TypeName = "datetime")] + public DateTime AppCreateTimestamp { get; set; } + [Required] + [Column("APP_CREATE_USERID")] + [StringLength(30)] + public string AppCreateUserid { get; set; } + [Column("APP_CREATE_USER_GUID")] + public Guid? AppCreateUserGuid { get; set; } + [Required] + [Column("APP_CREATE_USER_DIRECTORY")] + [StringLength(30)] + public string AppCreateUserDirectory { get; set; } + [Column("APP_LAST_UPDATE_TIMESTAMP", TypeName = "datetime")] + public DateTime AppLastUpdateTimestamp { get; set; } + [Required] + [Column("APP_LAST_UPDATE_USERID")] + [StringLength(30)] + public string AppLastUpdateUserid { get; set; } + [Column("APP_LAST_UPDATE_USER_GUID")] + public Guid? AppLastUpdateUserGuid { get; set; } + [Required] + [Column("APP_LAST_UPDATE_USER_DIRECTORY")] + [StringLength(30)] + public string AppLastUpdateUserDirectory { get; set; } + [Column("DB_CREATE_TIMESTAMP", TypeName = "datetime")] + public DateTime DbCreateTimestamp { get; set; } + [Column("DB_CREATE_USERID")] + [StringLength(30)] + public string DbCreateUserid { get; set; } + [Column("DB_LAST_UPDATE_TIMESTAMP", TypeName = "datetime")] + public DateTime DbLastUpdateTimestamp { get; set; } + [Required] + [Column("DB_LAST_UPDATE_USERID")] + [StringLength(30)] + public string DbLastUpdateUserid { get; set; } + } +} diff --git a/source/backend/entities/ef/PimsNote.cs b/source/backend/entities/ef/PimsNote.cs index d7a371528f..81aa97c35b 100644 --- a/source/backend/entities/ef/PimsNote.cs +++ b/source/backend/entities/ef/PimsNote.cs @@ -14,6 +14,7 @@ public partial class PimsNote public PimsNote() { PimsActivityInstanceNotes = new HashSet(); + PimsLeaseNotes = new HashSet(); PimsResearchFileNotes = new HashSet(); } @@ -70,6 +71,8 @@ public PimsNote() public virtual PimsAcquisitionFileNote PimsAcquisitionFileNote { get; set; } [InverseProperty(nameof(PimsActivityInstanceNote.Note))] public virtual ICollection PimsActivityInstanceNotes { get; set; } + [InverseProperty(nameof(PimsLeaseNote.Note))] + public virtual ICollection PimsLeaseNotes { get; set; } [InverseProperty(nameof(PimsResearchFileNote.Note))] public virtual ICollection PimsResearchFileNotes { get; set; } } diff --git a/source/backend/entities/ef/PimsProject.cs b/source/backend/entities/ef/PimsProject.cs index 654db56ab0..e8fcfd8ac7 100644 --- a/source/backend/entities/ef/PimsProject.cs +++ b/source/backend/entities/ef/PimsProject.cs @@ -12,6 +12,7 @@ namespace Pims.Dal.Entities [Index(nameof(BusinessFunctionCodeId), Name = "PROJCT_BUSINESS_FUNCTION_CODE_ID_IDX")] [Index(nameof(Code), Name = "PROJCT_CODE_IDX")] [Index(nameof(CostTypeCodeId), Name = "PROJCT_COST_TYPE_CODE_ID_IDX")] + [Index(nameof(Description), nameof(Code), Name = "PROJCT_DESCRIPTION_CODE_TUC", IsUnique = true)] [Index(nameof(ProjectStatusTypeCode), Name = "PROJCT_PROJECT_STATUS_CODE_IDX")] [Index(nameof(RegionCode), Name = "PROJCT_REGION_CODE_IDX")] [Index(nameof(WorkActivityCodeId), Name = "PROJCT_WORK_ACTIVITY_CODE_ID_IDX")] @@ -21,6 +22,7 @@ public PimsProject() { PimsAcquisitionFiles = new HashSet(); PimsProducts = new HashSet(); + PimsResearchFileProjects = new HashSet(); } [Key] @@ -105,5 +107,7 @@ public PimsProject() public virtual ICollection PimsAcquisitionFiles { get; set; } [InverseProperty(nameof(PimsProduct.ParentProject))] public virtual ICollection PimsProducts { get; set; } + [InverseProperty(nameof(PimsResearchFileProject.Project))] + public virtual ICollection PimsResearchFileProjects { get; set; } } } diff --git a/source/backend/entities/ef/PimsResearchFile.cs b/source/backend/entities/ef/PimsResearchFile.cs index 4188e7fe22..a4316c67be 100644 --- a/source/backend/entities/ef/PimsResearchFile.cs +++ b/source/backend/entities/ef/PimsResearchFile.cs @@ -21,6 +21,7 @@ public PimsResearchFile() PimsResearchActivityInstances = new HashSet(); PimsResearchFileDocuments = new HashSet(); PimsResearchFileNotes = new HashSet(); + PimsResearchFileProjects = new HashSet(); PimsResearchFilePurposes = new HashSet(); } @@ -124,6 +125,8 @@ public PimsResearchFile() public virtual ICollection PimsResearchFileDocuments { get; set; } [InverseProperty(nameof(PimsResearchFileNote.ResearchFile))] public virtual ICollection PimsResearchFileNotes { get; set; } + [InverseProperty(nameof(PimsResearchFileProject.ResearchFile))] + public virtual ICollection PimsResearchFileProjects { get; set; } [InverseProperty(nameof(PimsResearchFilePurpose.ResearchFile))] public virtual ICollection PimsResearchFilePurposes { get; set; } } diff --git a/source/backend/entities/ef/PimsResearchFileDocument.cs b/source/backend/entities/ef/PimsResearchFileDocument.cs index 01cad8e908..0317d1672b 100644 --- a/source/backend/entities/ef/PimsResearchFileDocument.cs +++ b/source/backend/entities/ef/PimsResearchFileDocument.cs @@ -9,9 +9,9 @@ namespace Pims.Dal.Entities { [Table("PIMS_RESEARCH_FILE_DOCUMENT")] - [Index(nameof(DocumentId), Name = "RSCDOC_DOCUMENT_ID_IDX")] - [Index(nameof(DocumentId), nameof(ResearchFileId), Name = "RSCDOC_RESEARCH_FILE_DOCUMENT_TUC", IsUnique = true)] - [Index(nameof(ResearchFileId), Name = "RSCDOC_RESEARCH_FILE_ID_IDX")] + [Index(nameof(DocumentId), Name = "RFLDOC_DOCUMENT_ID_IDX")] + [Index(nameof(DocumentId), nameof(ResearchFileId), Name = "RFLDOC_RESEARCH_FILE_DOCUMENT_TUC", IsUnique = true)] + [Index(nameof(ResearchFileId), Name = "RFLDOC_RESEARCH_FILE_ID_IDX")] public partial class PimsResearchFileDocument { [Key] @@ -21,32 +21,34 @@ public partial class PimsResearchFileDocument public long ResearchFileId { get; set; } [Column("DOCUMENT_ID")] public long DocumentId { get; set; } + [Column("IS_DISABLED")] + public bool? IsDisabled { get; set; } + [Column("CONCURRENCY_CONTROL_NUMBER")] + public long ConcurrencyControlNumber { get; set; } [Column("APP_CREATE_TIMESTAMP", TypeName = "datetime")] public DateTime AppCreateTimestamp { get; set; } [Required] - [Column("APP_CREATE_USER_DIRECTORY")] + [Column("APP_CREATE_USERID")] [StringLength(30)] - public string AppCreateUserDirectory { get; set; } + public string AppCreateUserid { get; set; } [Column("APP_CREATE_USER_GUID")] public Guid? AppCreateUserGuid { get; set; } [Required] - [Column("APP_CREATE_USERID")] + [Column("APP_CREATE_USER_DIRECTORY")] [StringLength(30)] - public string AppCreateUserid { get; set; } + public string AppCreateUserDirectory { get; set; } [Column("APP_LAST_UPDATE_TIMESTAMP", TypeName = "datetime")] public DateTime AppLastUpdateTimestamp { get; set; } [Required] - [Column("APP_LAST_UPDATE_USER_DIRECTORY")] + [Column("APP_LAST_UPDATE_USERID")] [StringLength(30)] - public string AppLastUpdateUserDirectory { get; set; } + public string AppLastUpdateUserid { get; set; } [Column("APP_LAST_UPDATE_USER_GUID")] public Guid? AppLastUpdateUserGuid { get; set; } [Required] - [Column("APP_LAST_UPDATE_USERID")] + [Column("APP_LAST_UPDATE_USER_DIRECTORY")] [StringLength(30)] - public string AppLastUpdateUserid { get; set; } - [Column("CONCURRENCY_CONTROL_NUMBER")] - public long ConcurrencyControlNumber { get; set; } + public string AppLastUpdateUserDirectory { get; set; } [Column("DB_CREATE_TIMESTAMP", TypeName = "datetime")] public DateTime DbCreateTimestamp { get; set; } [Column("DB_CREATE_USERID")] @@ -58,8 +60,6 @@ public partial class PimsResearchFileDocument [Column("DB_LAST_UPDATE_USERID")] [StringLength(30)] public string DbLastUpdateUserid { get; set; } - [Column("IS_DISABLED")] - public bool? IsDisabled { get; set; } [ForeignKey(nameof(DocumentId))] [InverseProperty(nameof(PimsDocument.PimsResearchFileDocuments))] diff --git a/source/backend/entities/ef/PimsResearchFileDocumentHist.cs b/source/backend/entities/ef/PimsResearchFileDocumentHist.cs index e0e891fca7..b7eae468c9 100644 --- a/source/backend/entities/ef/PimsResearchFileDocumentHist.cs +++ b/source/backend/entities/ef/PimsResearchFileDocumentHist.cs @@ -9,7 +9,7 @@ namespace Pims.Dal.Entities { [Table("PIMS_RESEARCH_FILE_DOCUMENT_HIST")] - [Index(nameof(ResearchFileDocumentHistId), nameof(EndDateHist), Name = "PIMS_RSCDOC_H_UK", IsUnique = true)] + [Index(nameof(ResearchFileDocumentHistId), nameof(EndDateHist), Name = "PIMS_RFLDOC_H_UK", IsUnique = true)] public partial class PimsResearchFileDocumentHist { [Key] @@ -25,32 +25,34 @@ public partial class PimsResearchFileDocumentHist public long ResearchFileId { get; set; } [Column("DOCUMENT_ID")] public long DocumentId { get; set; } + [Column("IS_DISABLED")] + public bool? IsDisabled { get; set; } + [Column("CONCURRENCY_CONTROL_NUMBER")] + public long ConcurrencyControlNumber { get; set; } [Column("APP_CREATE_TIMESTAMP", TypeName = "datetime")] public DateTime AppCreateTimestamp { get; set; } [Required] - [Column("APP_CREATE_USER_DIRECTORY")] + [Column("APP_CREATE_USERID")] [StringLength(30)] - public string AppCreateUserDirectory { get; set; } + public string AppCreateUserid { get; set; } [Column("APP_CREATE_USER_GUID")] public Guid? AppCreateUserGuid { get; set; } [Required] - [Column("APP_CREATE_USERID")] + [Column("APP_CREATE_USER_DIRECTORY")] [StringLength(30)] - public string AppCreateUserid { get; set; } + public string AppCreateUserDirectory { get; set; } [Column("APP_LAST_UPDATE_TIMESTAMP", TypeName = "datetime")] public DateTime AppLastUpdateTimestamp { get; set; } [Required] - [Column("APP_LAST_UPDATE_USER_DIRECTORY")] + [Column("APP_LAST_UPDATE_USERID")] [StringLength(30)] - public string AppLastUpdateUserDirectory { get; set; } + public string AppLastUpdateUserid { get; set; } [Column("APP_LAST_UPDATE_USER_GUID")] public Guid? AppLastUpdateUserGuid { get; set; } [Required] - [Column("APP_LAST_UPDATE_USERID")] + [Column("APP_LAST_UPDATE_USER_DIRECTORY")] [StringLength(30)] - public string AppLastUpdateUserid { get; set; } - [Column("CONCURRENCY_CONTROL_NUMBER")] - public long ConcurrencyControlNumber { get; set; } + public string AppLastUpdateUserDirectory { get; set; } [Column("DB_CREATE_TIMESTAMP", TypeName = "datetime")] public DateTime DbCreateTimestamp { get; set; } [Column("DB_CREATE_USERID")] @@ -62,7 +64,5 @@ public partial class PimsResearchFileDocumentHist [Column("DB_LAST_UPDATE_USERID")] [StringLength(30)] public string DbLastUpdateUserid { get; set; } - [Column("IS_DISABLED")] - public bool? IsDisabled { get; set; } } } diff --git a/source/backend/entities/ef/PimsResearchFileNote.cs b/source/backend/entities/ef/PimsResearchFileNote.cs index 51ae71d290..0728b85eb3 100644 --- a/source/backend/entities/ef/PimsResearchFileNote.cs +++ b/source/backend/entities/ef/PimsResearchFileNote.cs @@ -9,9 +9,9 @@ namespace Pims.Dal.Entities { [Table("PIMS_RESEARCH_FILE_NOTE")] - [Index(nameof(NoteId), Name = "RSCNOT_NOTE_ID_IDX")] - [Index(nameof(ResearchFileId), Name = "RSCNOT_RESEARCH_FILE_ID_IDX")] - [Index(nameof(NoteId), nameof(ResearchFileId), Name = "RSCNOT_RSRCH_FILE_NOTE_TUC", IsUnique = true)] + [Index(nameof(NoteId), Name = "RFLNOT_NOTE_ID_IDX")] + [Index(nameof(ResearchFileId), Name = "RFLNOT_RESEARCH_FILE_ID_IDX")] + [Index(nameof(NoteId), nameof(ResearchFileId), Name = "RFLNOT_RSRCH_FILE_NOTE_TUC", IsUnique = true)] public partial class PimsResearchFileNote { [Key] diff --git a/source/backend/entities/ef/PimsResearchFileNoteHist.cs b/source/backend/entities/ef/PimsResearchFileNoteHist.cs index 8a7b80a533..e771005421 100644 --- a/source/backend/entities/ef/PimsResearchFileNoteHist.cs +++ b/source/backend/entities/ef/PimsResearchFileNoteHist.cs @@ -9,7 +9,7 @@ namespace Pims.Dal.Entities { [Table("PIMS_RESEARCH_FILE_NOTE_HIST")] - [Index(nameof(ResearchFileNoteHistId), nameof(EndDateHist), Name = "PIMS_RSCNOT_H_UK", IsUnique = true)] + [Index(nameof(ResearchFileNoteHistId), nameof(EndDateHist), Name = "PIMS_RFLNOT_H_UK", IsUnique = true)] public partial class PimsResearchFileNoteHist { [Key] diff --git a/source/backend/entities/ef/PimsResearchFileProject.cs b/source/backend/entities/ef/PimsResearchFileProject.cs new file mode 100644 index 0000000000..dd3ec21a77 --- /dev/null +++ b/source/backend/entities/ef/PimsResearchFileProject.cs @@ -0,0 +1,71 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +#nullable disable + +namespace Pims.Dal.Entities +{ + [Table("PIMS_RESEARCH_FILE_PROJECT")] + [Index(nameof(ProjectId), Name = "RFLPRJ_PROJECT_ID_IDX")] + [Index(nameof(ResearchFileId), Name = "RFLPRJ_RESEARCH_FILE_ID_IDX")] + [Index(nameof(ProjectId), nameof(ResearchFileId), Name = "RFLPRJ_RESEARCH_FILE_PROJECT_TUC", IsUnique = true)] + public partial class PimsResearchFileProject + { + [Key] + [Column("RESEARCH_FILE_PROJECT_ID")] + public long ResearchFileProjectId { get; set; } + [Column("RESEARCH_FILE_ID")] + public long ResearchFileId { get; set; } + [Column("PROJECT_ID")] + public long ProjectId { get; set; } + [Column("IS_DISABLED")] + public bool? IsDisabled { get; set; } + [Column("CONCURRENCY_CONTROL_NUMBER")] + public long ConcurrencyControlNumber { get; set; } + [Column("APP_CREATE_TIMESTAMP", TypeName = "datetime")] + public DateTime AppCreateTimestamp { get; set; } + [Required] + [Column("APP_CREATE_USERID")] + [StringLength(30)] + public string AppCreateUserid { get; set; } + [Column("APP_CREATE_USER_GUID")] + public Guid? AppCreateUserGuid { get; set; } + [Required] + [Column("APP_CREATE_USER_DIRECTORY")] + [StringLength(30)] + public string AppCreateUserDirectory { get; set; } + [Column("APP_LAST_UPDATE_TIMESTAMP", TypeName = "datetime")] + public DateTime AppLastUpdateTimestamp { get; set; } + [Required] + [Column("APP_LAST_UPDATE_USERID")] + [StringLength(30)] + public string AppLastUpdateUserid { get; set; } + [Column("APP_LAST_UPDATE_USER_GUID")] + public Guid? AppLastUpdateUserGuid { get; set; } + [Required] + [Column("APP_LAST_UPDATE_USER_DIRECTORY")] + [StringLength(30)] + public string AppLastUpdateUserDirectory { get; set; } + [Column("DB_CREATE_TIMESTAMP", TypeName = "datetime")] + public DateTime DbCreateTimestamp { get; set; } + [Column("DB_CREATE_USERID")] + [StringLength(30)] + public string DbCreateUserid { get; set; } + [Column("DB_LAST_UPDATE_TIMESTAMP", TypeName = "datetime")] + public DateTime DbLastUpdateTimestamp { get; set; } + [Required] + [Column("DB_LAST_UPDATE_USERID")] + [StringLength(30)] + public string DbLastUpdateUserid { get; set; } + + [ForeignKey(nameof(ProjectId))] + [InverseProperty(nameof(PimsProject.PimsResearchFileProjects))] + public virtual PimsProject Project { get; set; } + [ForeignKey(nameof(ResearchFileId))] + [InverseProperty(nameof(PimsResearchFile.PimsResearchFileProjects))] + public virtual PimsResearchFile ResearchFile { get; set; } + } +} diff --git a/source/backend/entities/ef/PimsResearchFileProjectHist.cs b/source/backend/entities/ef/PimsResearchFileProjectHist.cs new file mode 100644 index 0000000000..c36918f3c4 --- /dev/null +++ b/source/backend/entities/ef/PimsResearchFileProjectHist.cs @@ -0,0 +1,68 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +#nullable disable + +namespace Pims.Dal.Entities +{ + [Table("PIMS_RESEARCH_FILE_PROJECT_HIST")] + [Index(nameof(ResearchFileProjectHistId), nameof(EndDateHist), Name = "PIMS_RFLPRJ_H_UK", IsUnique = true)] + public partial class PimsResearchFileProjectHist + { + [Key] + [Column("_RESEARCH_FILE_PROJECT_HIST_ID")] + public long ResearchFileProjectHistId { get; set; } + [Column("EFFECTIVE_DATE_HIST", TypeName = "datetime")] + public DateTime EffectiveDateHist { get; set; } + [Column("END_DATE_HIST", TypeName = "datetime")] + public DateTime? EndDateHist { get; set; } + [Column("RESEARCH_FILE_PROJECT_ID")] + public long ResearchFileProjectId { get; set; } + [Column("RESEARCH_FILE_ID")] + public long ResearchFileId { get; set; } + [Column("PROJECT_ID")] + public long ProjectId { get; set; } + [Column("IS_DISABLED")] + public bool? IsDisabled { get; set; } + [Column("CONCURRENCY_CONTROL_NUMBER")] + public long ConcurrencyControlNumber { get; set; } + [Column("APP_CREATE_TIMESTAMP", TypeName = "datetime")] + public DateTime AppCreateTimestamp { get; set; } + [Required] + [Column("APP_CREATE_USERID")] + [StringLength(30)] + public string AppCreateUserid { get; set; } + [Column("APP_CREATE_USER_GUID")] + public Guid? AppCreateUserGuid { get; set; } + [Required] + [Column("APP_CREATE_USER_DIRECTORY")] + [StringLength(30)] + public string AppCreateUserDirectory { get; set; } + [Column("APP_LAST_UPDATE_TIMESTAMP", TypeName = "datetime")] + public DateTime AppLastUpdateTimestamp { get; set; } + [Required] + [Column("APP_LAST_UPDATE_USERID")] + [StringLength(30)] + public string AppLastUpdateUserid { get; set; } + [Column("APP_LAST_UPDATE_USER_GUID")] + public Guid? AppLastUpdateUserGuid { get; set; } + [Required] + [Column("APP_LAST_UPDATE_USER_DIRECTORY")] + [StringLength(30)] + public string AppLastUpdateUserDirectory { get; set; } + [Column("DB_CREATE_TIMESTAMP", TypeName = "datetime")] + public DateTime DbCreateTimestamp { get; set; } + [Column("DB_CREATE_USERID")] + [StringLength(30)] + public string DbCreateUserid { get; set; } + [Column("DB_LAST_UPDATE_TIMESTAMP", TypeName = "datetime")] + public DateTime DbLastUpdateTimestamp { get; set; } + [Required] + [Column("DB_LAST_UPDATE_USERID")] + [StringLength(30)] + public string DbLastUpdateUserid { get; set; } + } +} diff --git a/source/backend/keycloak/Configuration/KeycloakOptions.cs b/source/backend/keycloak/Configuration/KeycloakOptions.cs index 4acc07a317..344a2bb54b 100644 --- a/source/backend/keycloak/Configuration/KeycloakOptions.cs +++ b/source/backend/keycloak/Configuration/KeycloakOptions.cs @@ -16,10 +16,6 @@ public class KeycloakOptions : AuthClientOptions /// public KeycloakServiceAccountOptions ServiceAccount { get; set; } - /// - /// get/set - The keycloak open id connect endpoint configuration. - public OpenIdConnectOptions OpenIdConnect { get; set; } - #endregion #region Methods @@ -45,11 +41,6 @@ public override void Validate() throw new ConfigurationException("The configuration for Keycloak:Client is invalid or missing."); } - if (this.OpenIdConnect == null) - { - throw new ConfigurationException("The configuration for Keycloak:OpenIdConnect is invalid or missing."); - } - if (this.ServiceAccount == null) { throw new ConfigurationException("The configuration for Keycloak:ServiceAccount is invalid or missing."); diff --git a/source/backend/keycloak/KeycloakService.cs b/source/backend/keycloak/KeycloakService.cs index 005a7a6812..c08de73497 100644 --- a/source/backend/keycloak/KeycloakService.cs +++ b/source/backend/keycloak/KeycloakService.cs @@ -32,7 +32,6 @@ public KeycloakService(IOpenIdConnectRequestClient client, IOptions GetUserGroupCountAsync(Guid id) } /// - /// execute all passed operations + /// execute all passed operations. /// /// /// public async Task ModifyUserRoleMappings(IEnumerable operations) { - foreach (UserRoleOperation operation in operations) { + foreach (UserRoleOperation operation in operations) + { var json = operation.Serialize(); using var content = new StringContent(json, Encoding.UTF8, "application/json"); var response = await _client.PostAsync($"{this.Options.ServiceAccount.Api}/integrations/{this.Options.ServiceAccount.Integration}/{this.Options.ServiceAccount.Environment}/user-role-mappings", content); diff --git a/source/backend/ltsa/LtsaService.cs b/source/backend/ltsa/LtsaService.cs index 8b90dc11cc..a289e2e12a 100644 --- a/source/backend/ltsa/LtsaService.cs +++ b/source/backend/ltsa/LtsaService.cs @@ -84,7 +84,7 @@ private async Task GetAsync(string url) } var response = await client.GetAsync(url); - if(!response.IsSuccessStatusCode) + if (!response.IsSuccessStatusCode) { throw new HttpClientRequestException(response); } @@ -133,7 +133,8 @@ private async Task>> PostOrderAsync(string var stringContent = JsonSerializer.Serialize(data, _jsonSerializerOptions); var content = new StringContent(stringContent.ToString(), Encoding.UTF8, "application/json"); - var response = await _authPolicy.ExecuteAsync(async (context) => { + var response = await _authPolicy.ExecuteAsync(async (context) => + { var token = (TokenModel)context["access_token"]; if (token != null) { diff --git a/source/backend/tests/core/Entities/AccessRequestHelper.cs b/source/backend/tests/core/Entities/AccessRequestHelper.cs index 9288b20fd5..cde7f4d2af 100644 --- a/source/backend/tests/core/Entities/AccessRequestHelper.cs +++ b/source/backend/tests/core/Entities/AccessRequestHelper.cs @@ -35,7 +35,7 @@ public static Entity.PimsAccessRequest CreateAccessRequest(long id, Entity.PimsU var accessRequest = new Entity.PimsAccessRequest() { AccessRequestId = id, - UserId = user.Id, + UserId = user.Internal_Id, User = user, RoleId = role.Id, Role = role, @@ -49,7 +49,7 @@ public static Entity.PimsAccessRequest CreateAccessRequest(long id, Entity.PimsU { AccessRequestId = id, AccessRequest = accessRequest, - OrganizationId = organization.Id, + OrganizationId = organization.Internal_Id, Organization = organization, }); diff --git a/source/backend/tests/core/Entities/AcquisitionFileHelper.cs b/source/backend/tests/core/Entities/AcquisitionFileHelper.cs index 823ec48a86..eabbbc3af1 100644 --- a/source/backend/tests/core/Entities/AcquisitionFileHelper.cs +++ b/source/backend/tests/core/Entities/AcquisitionFileHelper.cs @@ -23,7 +23,8 @@ public static Entity.PimsAcquisitionFile CreateAcquisitionFile(long? acqFileId = FileName = name ?? "Test Acquisition File", ConcurrencyControlNumber = 1, }; - acquisitionFile.AcquisitionFileStatusTypeCodeNavigation = statusType ?? new Entity.PimsAcquisitionFileStatusType() { Id = "ACTIVE" }; + acquisitionFile.AcquisitionFileStatusTypeCode = "ACTIVE"; + acquisitionFile.AcquisitionFileStatusTypeCodeNavigation = statusType ?? new Entity.PimsAcquisitionFileStatusType() { Id = "ACTIVE", Description = "Active" }; acquisitionFile.AcquisitionTypeCodeNavigation = acquisitionType ?? new Entity.PimsAcquisitionType() { Id = "SECTN3" }; acquisitionFile.RegionCodeNavigation = region ?? new Entity.PimsRegion("Northern") { RegionCode = 1, ConcurrencyControlNumber = 1 }; acquisitionFile.RegionCode = acquisitionFile.RegionCodeNavigation.RegionCode; diff --git a/source/backend/tests/core/Entities/ActivityHelper.cs b/source/backend/tests/core/Entities/ActivityHelper.cs index 2e5f167224..584197e74a 100644 --- a/source/backend/tests/core/Entities/ActivityHelper.cs +++ b/source/backend/tests/core/Entities/ActivityHelper.cs @@ -53,7 +53,7 @@ public static Entity.PimsActivityInstance CreateActivity(long id = 0, Entity.Pim ActivityInstance = activity, ActivityInstanceId = activity.ActivityInstanceId, Document = d, - DocumentId = d.Id, + DocumentId = d.Internal_Id, IsDisabled = false, }); } diff --git a/source/backend/tests/core/Entities/ContactHelper.cs b/source/backend/tests/core/Entities/ContactHelper.cs index 0b217eb836..795d89d9a6 100644 --- a/source/backend/tests/core/Entities/ContactHelper.cs +++ b/source/backend/tests/core/Entities/ContactHelper.cs @@ -24,9 +24,9 @@ public static Entity.PimsContactMgrVw CreateContact(string id, bool isDisabled = Summary = organization?.OrganizationName ?? person?.GetFullName(), IsDisabled = isDisabled, Organization = organization, - OrganizationId = organization?.Id, + OrganizationId = organization?.Internal_Id, Person = person, - PersonId = person?.Id, + PersonId = person?.Internal_Id, OrganizationName = organization?.OrganizationName ?? string.Empty, MunicipalityName = address.MunicipalityName, }; diff --git a/source/backend/tests/core/Entities/DocumentHelper.cs b/source/backend/tests/core/Entities/DocumentHelper.cs index 851dac710b..9a2d4a9856 100644 --- a/source/backend/tests/core/Entities/DocumentHelper.cs +++ b/source/backend/tests/core/Entities/DocumentHelper.cs @@ -47,7 +47,7 @@ public static Entity.PimsDocument CreateDocument(string fileName = "Test Documen { return new Entity.PimsDocument() { - Id = id, + Internal_Id = id, DocumentId = id, FileName = fileName, AppCreateTimestamp = DateTime.Now, diff --git a/source/backend/tests/core/Entities/NoteHelper.cs b/source/backend/tests/core/Entities/NoteHelper.cs index a4145ef02b..20a061e9d4 100644 --- a/source/backend/tests/core/Entities/NoteHelper.cs +++ b/source/backend/tests/core/Entities/NoteHelper.cs @@ -76,7 +76,7 @@ public static Entity.PimsNote CreateNote(string note = "Test Note", long id = 1) { return new Entity.PimsNote() { - Id = id, + Internal_Id = id, NoteTxt = note, AppCreateTimestamp = DateTime.Now, AppCreateUserid = "admin", diff --git a/source/backend/tests/core/Entities/OrganizationHelper.cs b/source/backend/tests/core/Entities/OrganizationHelper.cs index 10a5d14cf4..e255dd0d4f 100644 --- a/source/backend/tests/core/Entities/OrganizationHelper.cs +++ b/source/backend/tests/core/Entities/OrganizationHelper.cs @@ -26,7 +26,7 @@ public static Entity.PimsOrganization CreateOrganization(long id, string name, E address ??= EntityHelper.CreateAddress(id); return new Entity.PimsOrganization(name, type, identifierType, address) { - Id = id, + Internal_Id = id, ConcurrencyControlNumber = 1, PimsPersonOrganizations = new List(), }; @@ -46,26 +46,26 @@ public static Entity.PimsOrganization CreateOrganization(long id, string name, E return new List() { // Parent organizations - new Entity.PimsOrganization("Ministry of Advanced Education, Skills & Training", type, identifierType, address ?? EntityHelper.CreateAddress(1000)) { Id = 1, ConcurrencyControlNumber = 1 }, - new Entity.PimsOrganization("Ministry of Citizens Service", type, identifierType, address ?? EntityHelper.CreateAddress(1002)) { Id = 2, ConcurrencyControlNumber = 1 }, - new Entity.PimsOrganization("Ministry of Corporate Services for the Natural Resources Sector", type, identifierType, address ?? EntityHelper.CreateAddress(1003)) { Id = 3, ConcurrencyControlNumber = 1 }, - new Entity.PimsOrganization("Ministry of Education", type, identifierType, address ?? EntityHelper.CreateAddress(1004)) { Id = 4, ConcurrencyControlNumber = 1 }, - new Entity.PimsOrganization("Ministry of Finance", type, identifierType, address ?? EntityHelper.CreateAddress(1005)) { Id = 5, ConcurrencyControlNumber = 1 }, - new Entity.PimsOrganization("Ministry of Forests, Lands, Natural Resources", type, identifierType, address ?? EntityHelper.CreateAddress(1006)) { Id = 6 }, - new Entity.PimsOrganization("Ministry of Health", type, identifierType, address ?? EntityHelper.CreateAddress(1007)) { Id = 7, ConcurrencyControlNumber = 1 }, - new Entity.PimsOrganization("Ministry of Municipal Affairs & Housing", type, identifierType, address ?? EntityHelper.CreateAddress(1008)) { Id = 8, ConcurrencyControlNumber = 1 }, - new Entity.PimsOrganization("Ministry of Transportation and Infrastructure", type, identifierType, address ?? EntityHelper.CreateAddress(1009)) { Id = 9, ConcurrencyControlNumber = 1 }, + new Entity.PimsOrganization("Ministry of Advanced Education, Skills & Training", type, identifierType, address ?? EntityHelper.CreateAddress(1000)) { Internal_Id = 1, ConcurrencyControlNumber = 1 }, + new Entity.PimsOrganization("Ministry of Citizens Service", type, identifierType, address ?? EntityHelper.CreateAddress(1002)) { Internal_Id = 2, ConcurrencyControlNumber = 1 }, + new Entity.PimsOrganization("Ministry of Corporate Services for the Natural Resources Sector", type, identifierType, address ?? EntityHelper.CreateAddress(1003)) { Internal_Id = 3, ConcurrencyControlNumber = 1 }, + new Entity.PimsOrganization("Ministry of Education", type, identifierType, address ?? EntityHelper.CreateAddress(1004)) { Internal_Id = 4, ConcurrencyControlNumber = 1 }, + new Entity.PimsOrganization("Ministry of Finance", type, identifierType, address ?? EntityHelper.CreateAddress(1005)) { Internal_Id = 5, ConcurrencyControlNumber = 1 }, + new Entity.PimsOrganization("Ministry of Forests, Lands, Natural Resources", type, identifierType, address ?? EntityHelper.CreateAddress(1006)) { Internal_Id = 6 }, + new Entity.PimsOrganization("Ministry of Health", type, identifierType, address ?? EntityHelper.CreateAddress(1007)) { Internal_Id = 7, ConcurrencyControlNumber = 1 }, + new Entity.PimsOrganization("Ministry of Municipal Affairs & Housing", type, identifierType, address ?? EntityHelper.CreateAddress(1008)) { Internal_Id = 8, ConcurrencyControlNumber = 1 }, + new Entity.PimsOrganization("Ministry of Transportation and Infrastructure", type, identifierType, address ?? EntityHelper.CreateAddress(1009)) { Internal_Id = 9, ConcurrencyControlNumber = 1 }, // Sub-organizations - new Entity.PimsOrganization("Ministry Lead", type, identifierType, address ?? EntityHelper.CreateAddress(1010)) { Id = 10, PrntOrganizationId = 7, ConcurrencyControlNumber = 1 }, - new Entity.PimsOrganization("Acting Deputy Minister", type, identifierType, address ?? EntityHelper.CreateAddress(1011)) { Id = 11, PrntOrganizationId = 7, ConcurrencyControlNumber = 1 }, - new Entity.PimsOrganization("Executive Director", type, identifierType, address ?? EntityHelper.CreateAddress(1012)) { Id = 12, PrntOrganizationId = 7, ConcurrencyControlNumber = 1 }, - new Entity.PimsOrganization("Fraser Health Authority", type, identifierType, address ?? EntityHelper.CreateAddress(1013)) { Id = 13, PrntOrganizationId = 7, ConcurrencyControlNumber = 1 }, - new Entity.PimsOrganization("Interior Health Authority", type, identifierType, address ?? EntityHelper.CreateAddress(1014)) { Id = 14, PrntOrganizationId = 7, ConcurrencyControlNumber = 1 }, - new Entity.PimsOrganization("Northern Health Authority", type, identifierType, address ?? EntityHelper.CreateAddress(1015)) { Id = 15, PrntOrganizationId = 7, ConcurrencyControlNumber = 1 }, - new Entity.PimsOrganization("Provincial Health Services Authority", type, identifierType, address ?? EntityHelper.CreateAddress(1016)) { Id = 16, PrntOrganizationId = 7, ConcurrencyControlNumber = 1 }, - new Entity.PimsOrganization("Vancouver Coastal Health Authority", type, identifierType, address ?? EntityHelper.CreateAddress(1017)) { Id = 17, PrntOrganizationId = 7, ConcurrencyControlNumber = 1 }, - new Entity.PimsOrganization("Vancouver Island Health Authority", type, identifierType, address ?? EntityHelper.CreateAddress(1018)) { Id = 18, PrntOrganizationId = 7, ConcurrencyControlNumber = 1 }, + new Entity.PimsOrganization("Ministry Lead", type, identifierType, address ?? EntityHelper.CreateAddress(1010)) { Internal_Id = 10, PrntOrganizationId = 7, ConcurrencyControlNumber = 1 }, + new Entity.PimsOrganization("Acting Deputy Minister", type, identifierType, address ?? EntityHelper.CreateAddress(1011)) { Internal_Id = 11, PrntOrganizationId = 7, ConcurrencyControlNumber = 1 }, + new Entity.PimsOrganization("Executive Director", type, identifierType, address ?? EntityHelper.CreateAddress(1012)) { Internal_Id = 12, PrntOrganizationId = 7, ConcurrencyControlNumber = 1 }, + new Entity.PimsOrganization("Fraser Health Authority", type, identifierType, address ?? EntityHelper.CreateAddress(1013)) { Internal_Id = 13, PrntOrganizationId = 7, ConcurrencyControlNumber = 1 }, + new Entity.PimsOrganization("Interior Health Authority", type, identifierType, address ?? EntityHelper.CreateAddress(1014)) { Internal_Id = 14, PrntOrganizationId = 7, ConcurrencyControlNumber = 1 }, + new Entity.PimsOrganization("Northern Health Authority", type, identifierType, address ?? EntityHelper.CreateAddress(1015)) { Internal_Id = 15, PrntOrganizationId = 7, ConcurrencyControlNumber = 1 }, + new Entity.PimsOrganization("Provincial Health Services Authority", type, identifierType, address ?? EntityHelper.CreateAddress(1016)) { Internal_Id = 16, PrntOrganizationId = 7, ConcurrencyControlNumber = 1 }, + new Entity.PimsOrganization("Vancouver Coastal Health Authority", type, identifierType, address ?? EntityHelper.CreateAddress(1017)) { Internal_Id = 17, PrntOrganizationId = 7, ConcurrencyControlNumber = 1 }, + new Entity.PimsOrganization("Vancouver Island Health Authority", type, identifierType, address ?? EntityHelper.CreateAddress(1018)) { Internal_Id = 18, PrntOrganizationId = 7, ConcurrencyControlNumber = 1 }, }; } @@ -85,7 +85,7 @@ public static Entity.PimsOrganization CreateOrganization(this PimsContext contex address ??= EntityHelper.CreateAddress(id); var organization = new Entity.PimsOrganization(name, type, identifierType, address) { - Id = id, + Internal_Id = id, ConcurrencyControlNumber = 1, }; return organization; diff --git a/source/backend/tests/core/Entities/ProjectHelper.cs b/source/backend/tests/core/Entities/ProjectHelper.cs index 85d04be5fa..9ee60a6bcb 100644 --- a/source/backend/tests/core/Entities/ProjectHelper.cs +++ b/source/backend/tests/core/Entities/ProjectHelper.cs @@ -17,7 +17,7 @@ public static partial class EntityHelper /// A entity project. public static Entity.PimsProject CreateProject(short id, string code, string description) { - return new Entity.PimsProject() { Id = id, Code = code, Description = description, ConcurrencyControlNumber = 1 }; + return new Entity.PimsProject() { Internal_Id = id, Code = code, Description = description, ConcurrencyControlNumber = 1 }; } } -} \ No newline at end of file +} diff --git a/source/backend/tests/core/Entities/UserHelper.cs b/source/backend/tests/core/Entities/UserHelper.cs index 7e97cb7b70..f0efc92df1 100644 --- a/source/backend/tests/core/Entities/UserHelper.cs +++ b/source/backend/tests/core/Entities/UserHelper.cs @@ -39,12 +39,12 @@ public static Entity.PimsUser CreateUser(long id, Guid keycloakUserId, string us person.PimsContactMethods = new List(); var user = new Entity.PimsUser(keycloakUserId, username, person) { - Id = id, + Internal_Id = id, IssueDate = DateTime.UtcNow, ConcurrencyControlNumber = 1, }; - user.PimsUserRoles.Add(new Entity.PimsUserRole() { Role = role, RoleId = role.Id, User = user, UserId = user.Id }); - user.PimsUserOrganizations.Add(new Entity.PimsUserOrganization() { Organization = organization, OrganizationId = organization.Id, User = user, UserId = user.Id }); + user.PimsUserRoles.Add(new Entity.PimsUserRole() { Role = role, RoleId = role.Id, User = user, UserId = user.Internal_Id }); + user.PimsUserOrganizations.Add(new Entity.PimsUserOrganization() { Organization = organization, OrganizationId = organization.Internal_Id, User = user, UserId = user.Internal_Id }); return user; } diff --git a/source/backend/tests/core/OptionsHelper.cs b/source/backend/tests/core/OptionsHelper.cs index 4d7c8e744a..138ed0ff60 100644 --- a/source/backend/tests/core/OptionsHelper.cs +++ b/source/backend/tests/core/OptionsHelper.cs @@ -19,15 +19,6 @@ public static KeycloakOptions CreateDefaultKeycloakOptions() Authority = "https://keycloak", Audience = "pims", Client = "pims", - OpenIdConnect = new Pims.Core.Http.Configuration.OpenIdConnectOptions() - { - Login = "/protocol/openid-connect/auth", - Logout = "/protocol/openid-connect/logout", - Register = "/protocol/openid-connect/registrations", - Token = "/protocol/openid-connect/token", - TokenIntrospect = "/protocol/openid-connect/token/introspect", - UserInfo = "/protocol/openid-connect/userinfo", - }, ServiceAccount = new KeycloakServiceAccountOptions() { Audience = "pims-service-account", diff --git a/source/backend/tests/unit/api/Controllers/Acquisition/AcquisitionControllerTest.cs b/source/backend/tests/unit/api/Controllers/Acquisition/AcquisitionControllerTest.cs index bfeeb3f98f..9f3bb8edc9 100644 --- a/source/backend/tests/unit/api/Controllers/Acquisition/AcquisitionControllerTest.cs +++ b/source/backend/tests/unit/api/Controllers/Acquisition/AcquisitionControllerTest.cs @@ -27,7 +27,8 @@ public class AcquisitionControllerTest private IMapper _mapper; #endregion - public AcquisitionControllerTest() { + public AcquisitionControllerTest() + { var helper = new TestHelper(); _controller = helper.CreateController(Permissions.AcquisitionFileAdd, Permissions.AcquisitionFileView); _mapper = helper.GetService(); diff --git a/source/backend/tests/unit/api/Controllers/Admin/UserControllerTest.cs b/source/backend/tests/unit/api/Controllers/Admin/UserControllerTest.cs index 7c527c5f67..c9d96c3b37 100644 --- a/source/backend/tests/unit/api/Controllers/Admin/UserControllerTest.cs +++ b/source/backend/tests/unit/api/Controllers/Admin/UserControllerTest.cs @@ -201,7 +201,7 @@ public void GetUserById() var model = mapper.Map(user); // Act - var result = controller.GetUser(user.Id); + var result = controller.GetUser(user.Internal_Id); // Assert var actionResult = Assert.IsType(result); diff --git a/source/backend/tests/unit/api/Controllers/Leases/LeaseControllerTest.cs b/source/backend/tests/unit/api/Controllers/Leases/LeaseControllerTest.cs index b4c19070ba..c219afe830 100644 --- a/source/backend/tests/unit/api/Controllers/Leases/LeaseControllerTest.cs +++ b/source/backend/tests/unit/api/Controllers/Leases/LeaseControllerTest.cs @@ -86,7 +86,7 @@ public void UpdateLeases_AreaUnit_Success() var lease = EntityHelper.CreateLease(1); _service.Setup(m => m.Update(It.IsAny(), It.IsAny())).Returns(lease); - + // Act var result = _controller.UpdateLease(_mapper.Map(lease)); diff --git a/source/backend/tests/unit/api/Controllers/Leases/LeaseImprovementControllerTest.cs b/source/backend/tests/unit/api/Controllers/Leases/LeaseImprovementControllerTest.cs index 0683b20161..441f301c0b 100644 --- a/source/backend/tests/unit/api/Controllers/Leases/LeaseImprovementControllerTest.cs +++ b/source/backend/tests/unit/api/Controllers/Leases/LeaseImprovementControllerTest.cs @@ -47,12 +47,12 @@ public void UpdateImprovements_All_Success() { // Arrange var lease = EntityHelper.CreateLease(1); - lease.PimsPropertyImprovements = new List() { new Dal.Entities.PimsPropertyImprovement() { Id = 1 } }; + lease.PimsPropertyImprovements = new List() { new Dal.Entities.PimsPropertyImprovement() { Internal_Id = 1 } }; _repository.Setup(m => m.UpdateLeaseImprovements(It.IsAny(), It.IsAny(), It.IsAny>())).Returns(lease); // Act - var result = _controller.UpdateImprovements(lease.Id, _mapper.Map(lease)); + var result = _controller.UpdateImprovements(lease.Internal_Id, _mapper.Map(lease)); // Assert _repository.Verify(m => m.UpdateLeaseImprovements(It.IsAny(), It.IsAny(), It.IsAny>()), Times.Once()); diff --git a/source/backend/tests/unit/api/Controllers/LookupControllerTest.cs b/source/backend/tests/unit/api/Controllers/LookupControllerTest.cs index aeaf7e6420..fc2abb184c 100644 --- a/source/backend/tests/unit/api/Controllers/LookupControllerTest.cs +++ b/source/backend/tests/unit/api/Controllers/LookupControllerTest.cs @@ -127,7 +127,7 @@ public void GetAll() var result = (JsonResult)_controller.GetAll(); // Assert - var lookups = (IEnumerable) result.Value; + var lookups = (IEnumerable)result.Value; _repository.Verify(m => m.GetAllPropertyAreaUnitTypes(), Times.Once()); _repository.Verify(m => m.GetAllPropertyClassificationTypes(), Times.Once()); _repository.Verify(m => m.GetAllCountries(), Times.Once()); @@ -137,7 +137,7 @@ public void GetAll() _repository.Verify(m => m.GetAllProvinces(), Times.Once()); _repository.Verify(m => m.GetAllRegions(), Times.Once()); _repository.Verify(m => m.GetAllPropertyTenureTypes(), Times.Once()); - + } [Fact] @@ -150,7 +150,7 @@ public void GetAll_Cached() var mapper = helper.GetService(); var repository = helper.GetService>(); var memoryCache = helper.GetService>(); - var cachedResult = (object) new JsonResult(""); + var cachedResult = (object)new JsonResult(""); memoryCache.Setup(m => m.TryGetValue(It.IsAny(), out cachedResult)).Returns(true); diff --git a/source/backend/tests/unit/api/Controllers/Projects/ProjectControllerTest.cs b/source/backend/tests/unit/api/Controllers/Projects/ProjectControllerTest.cs index 6524f37c2a..f98a8067b9 100644 --- a/source/backend/tests/unit/api/Controllers/Projects/ProjectControllerTest.cs +++ b/source/backend/tests/unit/api/Controllers/Projects/ProjectControllerTest.cs @@ -34,7 +34,7 @@ public class ProjectControllerTest public ProjectControllerTest() { var helper = new TestHelper(); - _controller = helper.CreateController< ProjectController>(Permissions.ProjectAdd, Permissions.ProjectEdit, Permissions.ProjectView); + _controller = helper.CreateController(Permissions.ProjectAdd, Permissions.ProjectEdit, Permissions.ProjectView); _mapper = helper.GetService(); _service = helper.GetService>(); } @@ -76,6 +76,16 @@ public void SearchProjects_BadRequest() act.Should().Throw(); } + [Fact] + public void UpdateProject_BadRequest() + { + // Act + var result = _controller.UpdateProject(1, new ProjectModel { Id=2 }); + + // Assert + result.Should().BeOfType(typeof(BadRequestResult)); + } + #endregion } } diff --git a/source/backend/tests/unit/api/Controllers/Property/PropertyControllerTest.cs b/source/backend/tests/unit/api/Controllers/Property/PropertyControllerTest.cs index ad622540a3..d3072092bf 100644 --- a/source/backend/tests/unit/api/Controllers/Property/PropertyControllerTest.cs +++ b/source/backend/tests/unit/api/Controllers/Property/PropertyControllerTest.cs @@ -46,7 +46,7 @@ public void GetConceptPropertyById_Success() _service.Setup(m => m.GetById(It.IsAny())).Returns(property); // Act - var result = _controller.GetConceptPropertyWithId(property.Id); + var result = _controller.GetConceptPropertyWithId(property.Internal_Id); // Assert _service.Verify(m => m.GetById(It.IsAny()), Times.Once()); diff --git a/source/backend/tests/unit/api/Controllers/Research/ResearchControllerTest.cs b/source/backend/tests/unit/api/Controllers/Research/ResearchControllerTest.cs index 66a7a83124..9f32e78162 100644 --- a/source/backend/tests/unit/api/Controllers/Research/ResearchControllerTest.cs +++ b/source/backend/tests/unit/api/Controllers/Research/ResearchControllerTest.cs @@ -12,11 +12,8 @@ using Pims.Api.Models.Concepts; using Pims.Api.Services; using Pims.Core.Test; -using Pims.Dal; using Pims.Dal.Entities.Models; -using Pims.Dal.Exceptions; using Pims.Dal.Security; -using Pims.Dal.Services; using Xunit; using Entity = Pims.Dal.Entities; using SModel = Pims.Api.Areas.Research.Models.Search; @@ -44,7 +41,7 @@ public class SearchControllerTest new object [] { new Uri("http://host/api/research/search?Name=rname") }, }; - private TestHelper _helper; + private readonly TestHelper _helper; #endregion public SearchControllerTest() diff --git a/source/backend/tests/unit/api/Services/AcquisitionServiceTest.cs b/source/backend/tests/unit/api/Services/AcquisitionServiceTest.cs index 4a8d847e78..42f1c7a881 100644 --- a/source/backend/tests/unit/api/Services/AcquisitionServiceTest.cs +++ b/source/backend/tests/unit/api/Services/AcquisitionServiceTest.cs @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; +using DocumentFormat.OpenXml.Office2010.Excel; using FluentAssertions; using MapsterMapper; using Moq; @@ -142,9 +143,12 @@ public void Update_Success() acqFile.ConcurrencyControlNumber = 1; var repository = _helper.GetService>(); - repository.Setup(x => x.Update(It.IsAny())).Returns(acqFile); repository.Setup(x => x.GetRowVersion(It.IsAny())).Returns(1); - repository.Setup(x => x.GetRegion(It.IsAny())).Returns(acqFile.RegionCode); + repository.Setup(x => x.Update(It.IsAny())).Returns(acqFile); + repository.Setup(x => x.GetById(It.IsAny())).Returns(new PimsAcquisitionFile() + { + AcquisitionFileStatusTypeCode = acqFile.AcquisitionFileStatusTypeCode, + }); // Act var result = service.Update(acqFile, true); @@ -219,7 +223,10 @@ public void Update_Success_UserOverride() var repository = _helper.GetService>(); repository.Setup(x => x.Update(It.IsAny())).Returns(acqFile); repository.Setup(x => x.GetRowVersion(It.IsAny())).Returns(1); - + repository.Setup(x => x.GetById(It.IsAny())).Returns(new PimsAcquisitionFile() + { + AcquisitionFileStatusTypeCode = acqFile.AcquisitionFileStatusTypeCode, + }); // Act var result = service.Update(acqFile, userOverride: true); @@ -227,6 +234,41 @@ public void Update_Success_UserOverride() repository.Verify(x => x.Update(It.IsAny()), Times.Once); } + [Fact] + public void Update_Success_AddsNote() + { + // Arrange + var service = CreateAcquisitionServiceWithPermissions(Permissions.AcquisitionFileEdit); + + var acqFile = EntityHelper.CreateAcquisitionFile(); + acqFile.ConcurrencyControlNumber = 1; + acqFile.AppCreateUserid = "TESTER"; + + var repository = _helper.GetService>(); + var noteRepository = _helper.GetService>(); + var lookupRepository = _helper.GetService>(); + + repository.Setup(x => x.Update(It.IsAny())).Returns(acqFile); + repository.Setup(x => x.GetRowVersion(It.IsAny())).Returns(1); + repository.Setup(x => x.GetById(It.IsAny())).Returns(new PimsAcquisitionFile() + { + AcquisitionFileStatusTypeCode = "CLOSED", + AcquisitionFileStatusTypeCodeNavigation = new PimsAcquisitionFileStatusType() { Description = "Closed" } + }); + lookupRepository.Setup(x => x.GetAllAcquisitionFileStatusTypes()).Returns(new PimsAcquisitionFileStatusType[]{ new PimsAcquisitionFileStatusType() { + Id = acqFile.AcquisitionFileStatusTypeCodeNavigation.Id, + Description = acqFile.AcquisitionFileStatusTypeCodeNavigation.Description, + }}); + + // Act + var result = service.Update(acqFile, true); + + // Assert + repository.Verify(x => x.Update(It.IsAny()), Times.Once); + noteRepository.Verify(x => x.Add(It.Is(x => x.AcquisitionFileId == 1 + && x.Note.NoteTxt == "Acquisition File status changed from Closed to Active")), Times.Once); + } + [Fact] public void UpdateProperties_Success() { @@ -333,7 +375,7 @@ public void UpdateProperties_UpdatePropertyFile_Success() var property = EntityHelper.CreateProperty(12345); var acqFile = EntityHelper.CreateAcquisitionFile(); - acqFile.PimsPropertyAcquisitionFiles = new List() { new PimsPropertyAcquisitionFile() { Id = 1, Property = property } }; + acqFile.PimsPropertyAcquisitionFiles = new List() { new PimsPropertyAcquisitionFile() { Internal_Id = 1, Property = property } }; acqFile.ConcurrencyControlNumber = 1; var repository = _helper.GetService>(); @@ -341,7 +383,7 @@ public void UpdateProperties_UpdatePropertyFile_Success() repository.Setup(x => x.GetById(It.IsAny())).Returns(acqFile); var filePropertyRepository = _helper.GetService>(); - filePropertyRepository.Setup(x => x.GetPropertiesByAcquisitionFileId(It.IsAny())).Returns(new List() { new PimsPropertyAcquisitionFile() { Id = 1, Property = property, PropertyName = "updated" } }); + filePropertyRepository.Setup(x => x.GetPropertiesByAcquisitionFileId(It.IsAny())).Returns(new List() { new PimsPropertyAcquisitionFile() { Internal_Id = 1, Property = property, PropertyName = "updated" } }); var propertyRepository = _helper.GetService>(); propertyRepository.Setup(x => x.GetByPid(It.IsAny())).Throws(); diff --git a/source/backend/tests/unit/api/Services/ActivityServiceTest.cs b/source/backend/tests/unit/api/Services/ActivityServiceTest.cs index 0abe3cce42..91c151d3aa 100644 --- a/source/backend/tests/unit/api/Services/ActivityServiceTest.cs +++ b/source/backend/tests/unit/api/Services/ActivityServiceTest.cs @@ -66,7 +66,7 @@ public void Add_NoPermission() { // Arrange var service = CreateActivityServiceWithPermissions(); - + var activity = EntityHelper.CreateActivity(); var repository = _helper.GetService>(); diff --git a/source/backend/tests/unit/api/Services/DocumentFileServiceTest.cs b/source/backend/tests/unit/api/Services/DocumentFileServiceTest.cs index a11279c422..5c2ed98d90 100644 --- a/source/backend/tests/unit/api/Services/DocumentFileServiceTest.cs +++ b/source/backend/tests/unit/api/Services/DocumentFileServiceTest.cs @@ -218,7 +218,7 @@ public void DeleteDocumentResearch_ShouldThrowException_NotAuthorized() PimsResearchFileDocument doc = new() { - Id = 1, + Internal_Id = 1, DocumentId = 2, }; @@ -247,7 +247,7 @@ public async void DeleteDocumentResearch_Success_Status_Success() PimsResearchFileDocument doc = new() { - Id = 1, + Internal_Id = 1, DocumentId = 2, }; @@ -275,7 +275,7 @@ public async void DeleteDocumentResearch_Success_Status_NotFound() PimsResearchFileDocument doc = new() { - Id = 1, + Internal_Id = 1, DocumentId = 2, }; @@ -303,7 +303,7 @@ public async void DeleteDocumentResearch_Success_NoResults_Status_NotFound() PimsResearchFileDocument doc = new() { - Id = 1, + Internal_Id = 1, DocumentId = 2, }; @@ -323,7 +323,7 @@ public void DeleteDocumentAcquisition_ShouldThrowException_NotAuthorized() PimsAcquisitionFileDocument doc = new() { - Id = 1, + Internal_Id = 1, DocumentId = 2, }; @@ -352,7 +352,7 @@ public async void DeleteDocumentAcquisition_Success_Status_Success() PimsAcquisitionFileDocument doc = new() { - Id = 1, + Internal_Id = 1, DocumentId = 2, }; @@ -380,7 +380,7 @@ public async void DeleteDocumentAcquisition_Success_NoResults_Status_Success() PimsAcquisitionFileDocument doc = new() { - Id = 1, + Internal_Id = 1, DocumentId = 2, }; @@ -399,7 +399,7 @@ public async void DeleteDocumentAcquisition_Success_Status_NotFound() var documentService = _helper.GetService>(); var acquisitionDocumentRepository = _helper.GetService>(); - acquisitionDocumentRepository.Setup(x => x.GetAllByDocument(It.IsAny())).Returns(new List() { new PimsAcquisitionFileDocument() }); + acquisitionDocumentRepository.Setup(x => x.GetAllByDocument(It.IsAny())).Returns(new List() { new PimsAcquisitionFileDocument() }); documentService.Setup(x => x.DeleteDocumentAsync(It.IsAny())) .ReturnsAsync(new ExternalResult() { @@ -408,7 +408,7 @@ public async void DeleteDocumentAcquisition_Success_Status_NotFound() PimsAcquisitionFileDocument doc = new() { - Id = 1, + Internal_Id = 1, DocumentId = 2, }; diff --git a/source/backend/tests/unit/api/Services/DocumentServiceTest.cs b/source/backend/tests/unit/api/Services/DocumentServiceTest.cs index 5a3f41547e..f09391bc44 100644 --- a/source/backend/tests/unit/api/Services/DocumentServiceTest.cs +++ b/source/backend/tests/unit/api/Services/DocumentServiceTest.cs @@ -1,32 +1,24 @@ using System; -using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; -using System.Linq; using System.Threading.Tasks; -using ClosedXML.Report.Utils; -using DocumentFormat.OpenXml.Drawing.Charts; using FluentAssertions; using Microsoft.AspNetCore.Http; -using Microsoft.VisualStudio.TestPlatform.CommunicationUtilities; using Moq; using Pims.Api.Helpers.Exceptions; using Pims.Api.Models; using Pims.Api.Models.Concepts; +using Pims.Api.Models.Download; using Pims.Api.Models.Mayan; using Pims.Api.Models.Mayan.Document; using Pims.Api.Repositories.Mayan; -using Pims.Api.Repositories.Rest; using Pims.Api.Services; using Pims.Av; using Pims.Core.Test; -using Pims.Dal; using Pims.Dal.Entities; -using Pims.Dal.Entities.Models; using Pims.Dal.Exceptions; using Pims.Dal.Repositories; using Pims.Dal.Security; -using Pims.Dal.Services; using Xunit; namespace Pims.Api.Test.Services @@ -423,7 +415,7 @@ public void DeleteDocument_ShouldThrowException_NotAuthorized() PimsDocument doc = new() { - Id = 1, + Internal_Id = 1, MayanId = 1, }; @@ -450,7 +442,7 @@ public async void DeleteDocument_Success_Status_Success() PimsDocument doc = new() { - Id = 1, + Internal_Id = 1, MayanId = 1, }; @@ -476,7 +468,7 @@ public async void DeleteDocument_Success_Status_NotFound() PimsDocument doc = new() { - Id = 1, + Internal_Id = 1, MayanId = 1, }; @@ -752,9 +744,10 @@ public async void DownloadFileLatestAsync_Successfull_Payload_Document() Status = ExternalResultStatus.Success, Payload = new() { - FilePayload = new System.IO.MemoryStream(), + FilePayload = "156165165156asdasdasd==", Size = 1, FileName = "MyFile", + EncodingType = "base64" }, }); diff --git a/source/backend/tests/unit/api/Services/LeaseTermServiceTest.cs b/source/backend/tests/unit/api/Services/LeaseTermServiceTest.cs index 0c2f3f0991..225759dde2 100644 --- a/source/backend/tests/unit/api/Services/LeaseTermServiceTest.cs +++ b/source/backend/tests/unit/api/Services/LeaseTermServiceTest.cs @@ -53,9 +53,9 @@ public void AddTerm() leaseRepository.Setup(x => x.Get(It.IsAny())).Returns(lease); // Act - var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Id, Lease = lease }; + var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Internal_Id, Lease = lease }; - var updatedLease = service.AddTerm(lease.Id, 1, term); + var updatedLease = service.AddTerm(lease.Internal_Id, 1, term); // Assert leaseTermRepository.Verify(x => x.Add(term), Times.Once); @@ -70,9 +70,9 @@ public void AddTerm_NotAuthorized() var service = CreateLeaseServiceTermWithPermissions(Permissions.LeaseView); // Act - var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Id, Lease = lease }; + var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Internal_Id, Lease = lease }; - Assert.Throws(() => service.AddTerm(lease.Id, 1, term)); + Assert.Throws(() => service.AddTerm(lease.Internal_Id, 1, term)); } [Fact] @@ -84,9 +84,9 @@ public void AddTerm_InvalidRowVersion() var service = CreateLeaseServiceTermWithPermissions(Permissions.LeaseEdit, Permissions.LeaseView); // Act - var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Id, Lease = lease }; + var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Internal_Id, Lease = lease }; - Assert.Throws(() => service.AddTerm(lease.Id, 1, term)); + Assert.Throws(() => service.AddTerm(lease.Internal_Id, 1, term)); } [Fact] @@ -94,7 +94,7 @@ public void AddTerm_OverlappingDates() { // Arrange var lease = EntityHelper.CreateLease(1); - var originalTerm = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Id, Lease = lease, Id = 1 }; + var originalTerm = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Internal_Id, Lease = lease, Internal_Id = 1 }; lease.PimsLeaseTerms = new List() { originalTerm }; var service = CreateLeaseServiceTermWithPermissions(Permissions.LeaseEdit); @@ -104,9 +104,9 @@ public void AddTerm_OverlappingDates() leaseTermRepository.Setup(x => x.GetAllByLeaseId(It.IsAny())).Returns(lease.PimsLeaseTerms); // Act - var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Id, Lease = lease }; + var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Internal_Id, Lease = lease }; - var ex = Assert.Throws(() => service.AddTerm(lease.Id, 1, term)); + var ex = Assert.Throws(() => service.AddTerm(lease.Internal_Id, 1, term)); ex.Message.Should().Be("A new term start and end date must not conflict with any existing terms."); } @@ -116,7 +116,7 @@ public void AddTerm_OverlappingDates_SameStartDateAsEndDate() // Arrange var lease = EntityHelper.CreateLease(1); var date = DateTime.Now; - var originalTerm = new PimsLeaseTerm() { TermStartDate = date, TermExpiryDate = date.AddDays(1), LeaseId = lease.Id, Lease = lease, Id = 1 }; + var originalTerm = new PimsLeaseTerm() { TermStartDate = date, TermExpiryDate = date.AddDays(1), LeaseId = lease.Internal_Id, Lease = lease, Internal_Id = 1 }; lease.PimsLeaseTerms = new List() { originalTerm }; var service = CreateLeaseServiceTermWithPermissions(Permissions.LeaseEdit); @@ -126,9 +126,9 @@ public void AddTerm_OverlappingDates_SameStartDateAsEndDate() leaseTermRepository.Setup(x => x.GetAllByLeaseId(It.IsAny())).Returns(lease.PimsLeaseTerms); // Act - var term = new PimsLeaseTerm() { TermStartDate = date.AddDays(1), LeaseId = lease.Id, Lease = lease }; + var term = new PimsLeaseTerm() { TermStartDate = date.AddDays(1), LeaseId = lease.Internal_Id, Lease = lease }; - var ex = Assert.Throws(() => service.AddTerm(lease.Id, 1, term)); + var ex = Assert.Throws(() => service.AddTerm(lease.Internal_Id, 1, term)); ex.Message.Should().Be("A new term start and end date must not conflict with any existing terms."); } @@ -137,7 +137,7 @@ public void AddTerm_OverlappingDates_SameStartDate() { // Arrange var lease = EntityHelper.CreateLease(1); - var originalTerm = new PimsLeaseTerm() { TermStartDate = DateTime.Now, TermExpiryDate = DateTime.Now.AddDays(10), LeaseId = lease.Id, Lease = lease, Id = 1 }; + var originalTerm = new PimsLeaseTerm() { TermStartDate = DateTime.Now, TermExpiryDate = DateTime.Now.AddDays(10), LeaseId = lease.Internal_Id, Lease = lease, Internal_Id = 1 }; lease.PimsLeaseTerms = new List() { originalTerm }; var service = CreateLeaseServiceTermWithPermissions(Permissions.LeaseEdit); @@ -147,9 +147,9 @@ public void AddTerm_OverlappingDates_SameStartDate() leaseTermRepository.Setup(x => x.GetAllByLeaseId(It.IsAny())).Returns(lease.PimsLeaseTerms); // Act - var term = new PimsLeaseTerm() { TermStartDate = originalTerm.TermStartDate, TermExpiryDate = originalTerm.TermExpiryDate = originalTerm.TermStartDate.AddDays(1), LeaseId = lease.Id, Lease = lease }; + var term = new PimsLeaseTerm() { TermStartDate = originalTerm.TermStartDate, TermExpiryDate = originalTerm.TermExpiryDate = originalTerm.TermStartDate.AddDays(1), LeaseId = lease.Internal_Id, Lease = lease }; - var ex = Assert.Throws(() => service.AddTerm(lease.Id, 1, term)); + var ex = Assert.Throws(() => service.AddTerm(lease.Internal_Id, 1, term)); ex.Message.Should().Be("A new term start and end date must not conflict with any existing terms."); } @@ -167,9 +167,9 @@ public void AddTerm_PaymentsNotExercised() leaseTermRepository.Setup(x => x.GetAllByLeaseId(It.IsAny())).Returns(lease.PimsLeaseTerms); // Act - var term = new PimsLeaseTerm() { TermStartDate = DateTime.MaxValue, LeaseId = lease.Id, Lease = lease, LeaseTermStatusTypeCode = "NEXER", PimsLeasePayments = new List() { payment } }; + var term = new PimsLeaseTerm() { TermStartDate = DateTime.MaxValue, LeaseId = lease.Internal_Id, Lease = lease, LeaseTermStatusTypeCode = "NEXER", PimsLeasePayments = new List() { payment } }; - var ex = Assert.Throws(() => service.AddTerm(lease.Id, 1, term)); + var ex = Assert.Throws(() => service.AddTerm(lease.Internal_Id, 1, term)); ex.Message.Should().Be("Term must be 'exercised' if payments have been made."); } #endregion @@ -180,7 +180,7 @@ public void UpdateTerm() { // Arrange var lease = EntityHelper.CreateLease(1); - var originalTerm = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Id, Lease = lease }; + var originalTerm = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Internal_Id, Lease = lease }; lease.PimsLeaseTerms = new List() { originalTerm }; var service = CreateLeaseServiceTermWithPermissions(Permissions.LeaseEdit, Permissions.LeaseView); @@ -192,13 +192,13 @@ public void UpdateTerm() leaseTermRepository.Setup(x => x.GetById(It.IsAny(), It.IsAny())).Returns(originalTerm); // Act - var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Id, Lease = lease }; + var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Internal_Id, Lease = lease }; - var updatedLease = service.UpdateTerm(lease.Id, 1, 1, term); + var updatedLease = service.UpdateTerm(lease.Internal_Id, 1, 1, term); // Assert leaseTermRepository.Verify(x => x.Update(term), Times.Once); - leaseRepository.Verify(x => x.Get(lease.Id), Times.Once); + leaseRepository.Verify(x => x.Get(lease.Internal_Id), Times.Once); } [Fact] @@ -210,9 +210,9 @@ public void UpdateTerm_NotAuthorized() var lease = EntityHelper.CreateLease(1); // Act - var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Id, Lease = lease }; + var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Internal_Id, Lease = lease }; - Assert.Throws(() => service.UpdateTerm(lease.Id, 1, 1, term)); + Assert.Throws(() => service.UpdateTerm(lease.Internal_Id, 1, 1, term)); } [Fact] @@ -224,9 +224,9 @@ public void UpdateTerm_InvalidRowVersion() var lease = EntityHelper.CreateLease(1); // Act - var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Id, Lease = lease }; + var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Internal_Id, Lease = lease }; - Assert.Throws(() => service.UpdateTerm(lease.Id, 1, 1, term)); + Assert.Throws(() => service.UpdateTerm(lease.Internal_Id, 1, 1, term)); } [Fact] @@ -235,7 +235,7 @@ public void UpdateTerm_OverlappingDates() // Arrange var lease = EntityHelper.CreateLease(1); - var originalTerm = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Id, Lease = lease, Id = 1 }; + var originalTerm = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Internal_Id, Lease = lease, Internal_Id = 1 }; lease.PimsLeaseTerms = new List() { originalTerm }; var service = CreateLeaseServiceTermWithPermissions(Permissions.LeaseEdit); @@ -245,9 +245,9 @@ public void UpdateTerm_OverlappingDates() leaseTermRepository.Setup(x => x.GetAllByLeaseId(It.IsAny())).Returns(lease.PimsLeaseTerms); // Act - var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Id, Lease = lease }; + var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Internal_Id, Lease = lease }; - var ex = Assert.Throws(() => service.UpdateTerm(lease.Id, 1, 1, term)); + var ex = Assert.Throws(() => service.UpdateTerm(lease.Internal_Id, 1, 1, term)); ex.Message.Should().Be("A new term start and end date must not conflict with any existing terms."); } @@ -257,7 +257,7 @@ public void UpdateTerm_PaymentsNotExercised() // Arrange var lease = EntityHelper.CreateLease(1); var payment = new PimsLeasePayment(); - var originalTerm = new PimsLeaseTerm() { TermStartDate = DateTime.Now, TermExpiryDate = DateTime.Now, LeaseId = lease.Id, Lease = lease, PimsLeasePayments = new List() { payment } }; + var originalTerm = new PimsLeaseTerm() { TermStartDate = DateTime.Now, TermExpiryDate = DateTime.Now, LeaseId = lease.Internal_Id, Lease = lease, PimsLeasePayments = new List() { payment } }; lease.PimsLeaseTerms = new List() { originalTerm }; var service = CreateLeaseServiceTermWithPermissions(Permissions.LeaseEdit); @@ -268,9 +268,9 @@ public void UpdateTerm_PaymentsNotExercised() leaseTermRepository.Setup(x => x.GetById(It.IsAny(), It.IsAny())).Returns(originalTerm); // Act - var term = new PimsLeaseTerm() { TermStartDate = DateTime.MaxValue, LeaseId = lease.Id, Lease = lease, LeaseTermStatusTypeCode = "NEXER" }; + var term = new PimsLeaseTerm() { TermStartDate = DateTime.MaxValue, LeaseId = lease.Internal_Id, Lease = lease, LeaseTermStatusTypeCode = "NEXER" }; - var ex = Assert.Throws(() => service.UpdateTerm(lease.Id, 1, 1, term)); + var ex = Assert.Throws(() => service.UpdateTerm(lease.Internal_Id, 1, 1, term)); ex.Message.Should().Be("Term must be 'exercised' if payments have been made."); } #endregion @@ -281,7 +281,7 @@ public void DeleteTerm() { // Arrange var lease = EntityHelper.CreateLease(1); - var originalTerm = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Id, Lease = lease }; + var originalTerm = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Internal_Id, Lease = lease }; lease.PimsLeaseTerms = new List() { originalTerm }; var service = CreateLeaseServiceTermWithPermissions(Permissions.LeaseEdit); @@ -293,9 +293,9 @@ public void DeleteTerm() leaseTermRepository.Setup(x => x.GetById(It.IsAny(), It.IsAny())).Returns(originalTerm); // Act - var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Id, Lease = lease }; + var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Internal_Id, Lease = lease }; - service.DeleteTerm(lease.Id, 1, term); + service.DeleteTerm(lease.Internal_Id, 1, term); // Assert leaseTermRepository.Verify(x => x.Delete(It.IsAny()), Times.Once); @@ -310,9 +310,9 @@ public void DeleteTerm_NotAuthorized() var service = CreateLeaseServiceTermWithPermissions(); // Act - var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Id, Lease = lease }; + var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Internal_Id, Lease = lease }; - Assert.Throws(() => service.DeleteTerm(lease.Id, 1, term)); + Assert.Throws(() => service.DeleteTerm(lease.Internal_Id, 1, term)); } [Fact] @@ -324,9 +324,9 @@ public void DeleteTerm_InvalidRowVersion() var service = CreateLeaseServiceTermWithPermissions(Permissions.LeaseEdit); // Act - var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Id, Lease = lease }; + var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Internal_Id, Lease = lease }; - Assert.Throws(() => service.DeleteTerm(lease.Id, 1, term)); + Assert.Throws(() => service.DeleteTerm(lease.Internal_Id, 1, term)); } [Fact] @@ -335,7 +335,7 @@ public void DeleteTerm_Payments() // Arrange var lease = EntityHelper.CreateLease(1); var payment = new PimsLeasePayment(); - var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Id, Lease = lease, PimsLeasePayments = new List() { payment } }; + var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Internal_Id, Lease = lease, PimsLeasePayments = new List() { payment } }; lease.PimsLeaseTerms = new List() { term }; var service = CreateLeaseServiceTermWithPermissions(Permissions.LeaseEdit); @@ -346,7 +346,7 @@ public void DeleteTerm_Payments() leaseTermRepository.Setup(x => x.GetById(It.IsAny(), It.IsAny())).Returns(term); // Act - var ex = Assert.Throws(() => service.DeleteTerm(lease.Id, 1, term)); + var ex = Assert.Throws(() => service.DeleteTerm(lease.Internal_Id, 1, term)); ex.Message.Should().Be("A term with payments attached can not be deleted. If you intend to delete this term, you must delete each of the corresponding payments first."); } @@ -356,7 +356,7 @@ public void DeleteTerm_Exer() // Arrange var lease = EntityHelper.CreateLease(1); var payment = new PimsLeasePayment(); - var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Id, Lease = lease, LeaseTermStatusTypeCode = "EXER" }; + var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Internal_Id, Lease = lease, LeaseTermStatusTypeCode = "EXER" }; lease.PimsLeaseTerms = new List() { term }; var service = CreateLeaseServiceTermWithPermissions(Permissions.LeaseEdit); @@ -367,7 +367,7 @@ public void DeleteTerm_Exer() leaseTermRepository.Setup(x => x.GetById(It.IsAny(), It.IsAny())).Returns(term); // Act - var ex = Assert.Throws(() => service.DeleteTerm(lease.Id, 1, term)); + var ex = Assert.Throws(() => service.DeleteTerm(lease.Internal_Id, 1, term)); ex.Message.Should().Be("Exercised terms cannot be deleted. Remove all payments from this term and set this term to 'Not Exercised' to delete this term."); } @@ -377,8 +377,8 @@ public void DeleteTerm_Initial() // Arrange var lease = EntityHelper.CreateLease(1); var payment = new PimsLeasePayment(); - var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Id, Lease = lease }; - var term2 = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Id, Lease = lease }; + var term = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Internal_Id, Lease = lease }; + var term2 = new PimsLeaseTerm() { TermStartDate = DateTime.Now, LeaseId = lease.Internal_Id, Lease = lease }; lease.PimsLeaseTerms = new List() { term, term2 }; var service = CreateLeaseServiceTermWithPermissions(Permissions.LeaseEdit); @@ -389,7 +389,7 @@ public void DeleteTerm_Initial() leaseTermRepository.Setup(x => x.GetById(It.IsAny(), It.IsAny())).Returns(term); // Act - var ex = Assert.Throws(() => service.DeleteTerm(lease.Id, 1, term)); + var ex = Assert.Throws(() => service.DeleteTerm(lease.Internal_Id, 1, term)); ex.Message.Should().Be("You must delete all renewals before deleting the initial term."); } #endregion diff --git a/source/backend/tests/unit/api/Services/PaymentServiceTest.cs b/source/backend/tests/unit/api/Services/PaymentServiceTest.cs index 27c965904a..60a542f778 100644 --- a/source/backend/tests/unit/api/Services/PaymentServiceTest.cs +++ b/source/backend/tests/unit/api/Services/PaymentServiceTest.cs @@ -72,11 +72,11 @@ public void AddPayment() // Act var payment = new PimsLeasePayment() { PaymentReceivedDate = DateTime.Now }; - var updatedLease = this.paymentService.AddPayment(lease.Id, 1, payment); + var updatedLease = this.paymentService.AddPayment(lease.Internal_Id, 1, payment); // Assert this.leasePaymentRepository.Verify(x => x.Add(payment), Times.Once); - this.leaseService.Verify(x => x.GetById(lease.Id), Times.Once); + this.leaseService.Verify(x => x.GetById(lease.Internal_Id), Times.Once); } [Fact] @@ -100,10 +100,10 @@ public void AddPayment_StatusPaymentType() var paidPayment = new PimsLeasePayment() { PaymentReceivedDate = DateTime.Now, PaymentAmountTotal = 2 }; var partialPayment = new PimsLeasePayment() { PaymentReceivedDate = DateTime.Now, PaymentAmountTotal = 1 }; - this.paymentService.AddPayment(lease.Id, 1, unpaidPayment); - this.paymentService.AddPayment(lease.Id, 1, overpaidPayment); - this.paymentService.AddPayment(lease.Id, 1, paidPayment); - this.paymentService.AddPayment(lease.Id, 1, partialPayment); + this.paymentService.AddPayment(lease.Internal_Id, 1, unpaidPayment); + this.paymentService.AddPayment(lease.Internal_Id, 1, overpaidPayment); + this.paymentService.AddPayment(lease.Internal_Id, 1, paidPayment); + this.paymentService.AddPayment(lease.Internal_Id, 1, partialPayment); // Assert this.leasePaymentRepository.Verify(x => x.Add(It.Is(x => x.LeasePaymentStatusTypeCode == PimsLeasePaymentStatusTypes.UNPAID && x.PaymentAmountTotal == 0))); @@ -125,7 +125,7 @@ public void AddPayment_NotAuthorized() // Act var payment = new PimsLeasePayment() { PaymentReceivedDate = DateTime.Now }; - Assert.Throws(() => this.paymentService.AddPayment(lease.Id, 1, payment)); + Assert.Throws(() => this.paymentService.AddPayment(lease.Internal_Id, 1, payment)); } [Fact] @@ -141,7 +141,7 @@ public void AddPayment_InvalidRowVersion() // Act var payment = new PimsLeasePayment() { PaymentReceivedDate = DateTime.Now }; - Assert.Throws(() => this.paymentService.AddPayment(lease.Id, 1, payment)); + Assert.Throws(() => this.paymentService.AddPayment(lease.Internal_Id, 1, payment)); } [Fact] @@ -162,7 +162,7 @@ public void AddPayment_ReceivedDateOutOfRange() // Act var addPayment = new PimsLeasePayment() { PaymentReceivedDate = DateTime.Now.AddDays(30) }; - var ex = Assert.Throws(() => this.paymentService.AddPayment(lease.Id, 1, addPayment)); + var ex = Assert.Throws(() => this.paymentService.AddPayment(lease.Internal_Id, 1, addPayment)); ex.Message.Should().Be("Payment received date must be within the start and expiry date of the term."); } #endregion @@ -187,11 +187,11 @@ public void UpdatePayment() // Act var payment = new PimsLeasePayment() { LeasePaymentId = originalPayment.LeasePaymentId, PaymentReceivedDate = DateTime.Now }; - var updatedLease = this.paymentService.UpdatePayment(lease.Id, 1, 1, payment); + var updatedLease = this.paymentService.UpdatePayment(lease.Internal_Id, 1, 1, payment); // Assert this.leasePaymentRepository.Verify(x => x.Update(payment), Times.Once); - this.leaseService.Verify(x => x.GetById(lease.Id), Times.Once); + this.leaseService.Verify(x => x.GetById(lease.Internal_Id), Times.Once); } [Fact] @@ -207,7 +207,7 @@ public void UpdatePayment_NotAuthorized() // Act var payment = new PimsLeasePayment() { PaymentReceivedDate = DateTime.Now }; - Assert.Throws(() => this.paymentService.UpdatePayment(lease.Id, 1, 1, payment)); + Assert.Throws(() => this.paymentService.UpdatePayment(lease.Internal_Id, 1, 1, payment)); } [Fact] @@ -223,7 +223,7 @@ public void UpdatePayment_InvalidRowVersion() // Act var payment = new PimsLeasePayment() { PaymentReceivedDate = DateTime.Now }; - Assert.Throws(() => this.paymentService.UpdatePayment(lease.Id, 1, 1, payment)); + Assert.Throws(() => this.paymentService.UpdatePayment(lease.Internal_Id, 1, 1, payment)); } [Fact] @@ -244,7 +244,7 @@ public void UpdatePayment_ReceivedDateOutOfRange() // Act var payment = new PimsLeasePayment() { LeasePaymentId = originalPayment.LeasePaymentId, PaymentReceivedDate = DateTime.Now.AddDays(30) }; - var ex = Assert.Throws(() => this.paymentService.UpdatePayment(lease.Id, 1, 1, payment)); + var ex = Assert.Throws(() => this.paymentService.UpdatePayment(lease.Internal_Id, 1, 1, payment)); ex.Message.Should().Be("Payment received date must be within the start and expiry date of the term."); } #endregion @@ -266,7 +266,7 @@ public void DeletePayment() // Act var payment = new PimsLeasePayment(); - this.paymentService.DeletePayment(lease.Id, 1, payment); + this.paymentService.DeletePayment(lease.Internal_Id, 1, payment); // Assert this.leasePaymentRepository.Verify(x => x.Delete(It.IsAny()), Times.Once); @@ -285,7 +285,7 @@ public void DeletePayment_NotAuthorized() // Act var payment = new PimsLeasePayment(); - Assert.Throws(() => this.paymentService.DeletePayment(lease.Id, 1, payment)); + Assert.Throws(() => this.paymentService.DeletePayment(lease.Internal_Id, 1, payment)); } [Fact] @@ -301,7 +301,7 @@ public void DeletePayment_InvalidRowVersion() // Act var payment = new PimsLeasePayment(); - Assert.Throws(() => this.paymentService.DeletePayment(lease.Id, 1, payment)); + Assert.Throws(() => this.paymentService.DeletePayment(lease.Internal_Id, 1, payment)); } #endregion #endregion diff --git a/source/backend/tests/unit/api/Services/ProjectServiceTest.cs b/source/backend/tests/unit/api/Services/ProjectServiceTest.cs index c4d02acbca..6daf79f048 100644 --- a/source/backend/tests/unit/api/Services/ProjectServiceTest.cs +++ b/source/backend/tests/unit/api/Services/ProjectServiceTest.cs @@ -266,5 +266,52 @@ public void Get_ProductFile_ShouldFail_NotAuthorized() repository.Verify(x => x.GetByProductId(It.IsAny()), Times.Never); } + [Fact] + public void Update_Project_ShouldFail_NotAuthorized() + { + // Arrange + var helper = new TestHelper(); + var user = PrincipalHelper.CreateForPermission(); + var service = helper.Create(user); + + var repository = helper.GetService>(); + + // Act + Action result = () => service.Update(new PimsProject()); + + // Assert + result.Should().Throw(); + } + + [Fact] + public void Update_Project_ShouldFail_When_Null() + { + // Arrange + var service = CreateProjectServiceWithPermissions(Permissions.ProjectEdit); + var repository = _helper.GetService>(); + + // Act + Action result = () => service.Update(null); + + // Assert + result.Should().Throw(); + } + + [Fact] + public void Update_Project_Success() + { + // Arrange + var service = CreateProjectServiceWithPermissions(Permissions.ProjectEdit); + var repository = _helper.GetService>(); + repository.Setup(x => x.GetRowVersion(It.IsAny())).Returns(100); + repository.Setup(x => x.Update(It.IsAny())).Returns(new PimsProject { Internal_Id = 1 }); + + // Act + var result = service.Update(new PimsProject { ConcurrencyControlNumber = 100 }); + + // Assert + result.Should().NotBeNull(); + repository.Verify(x => x.Update(It.IsAny()), Times.Once); + } } } diff --git a/source/backend/tests/unit/api/Services/ResearchFileServiceTest.cs b/source/backend/tests/unit/api/Services/ResearchFileServiceTest.cs index 9ee0a7ff08..63f56819a6 100644 --- a/source/backend/tests/unit/api/Services/ResearchFileServiceTest.cs +++ b/source/backend/tests/unit/api/Services/ResearchFileServiceTest.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; -using AutoMapper; using FluentAssertions; using Moq; using NetTopologySuite.Geometries; @@ -13,7 +12,6 @@ using Pims.Dal.Exceptions; using Pims.Dal.Repositories; using Pims.Dal.Security; -using Pims.Dal.Services; using Xunit; namespace Pims.Api.Test.Services @@ -24,7 +22,7 @@ namespace Pims.Api.Test.Services [ExcludeFromCodeCoverage] public class ResearchFileServiceTest { - private TestHelper _helper; + private readonly TestHelper _helper; public ResearchFileServiceTest() { @@ -38,7 +36,6 @@ private ResearchFileService CreateResearchFileServiceWithPermissions(params Perm return _helper.Create(); } - #region Tests #region GetPage [Fact] @@ -285,8 +282,8 @@ public void GetById_NoPermission() public void Update_Success() { // Arrange - var service = CreateResearchFileServiceWithPermissions(Permissions.ResearchFileEdit, Permissions.ResearchFileEdit); + var service = CreateResearchFileServiceWithPermissions(Permissions.ResearchFileEdit); var researchFile = EntityHelper.CreateResearchFile(1); var repository = _helper.GetService>(); @@ -315,6 +312,19 @@ public void Update_NoPermission() // Assert act.Should().Throw(); } + + [Fact] + public void Update_ThrowIf_Null() + { + // Arrange + var service = CreateResearchFileServiceWithPermissions(Permissions.ResearchFileEdit); + + // Act + Action act = () => service.Update(null); + + // Assert + act.Should().Throw(); + } #endregion #endregion diff --git a/source/backend/tests/unit/dal/Core/Extensions/LeaseExtensionsTest.cs b/source/backend/tests/unit/dal/Core/Extensions/LeaseExtensionsTest.cs index 7924a4cdc7..a77a7ae14f 100644 --- a/source/backend/tests/unit/dal/Core/Extensions/LeaseExtensionsTest.cs +++ b/source/backend/tests/unit/dal/Core/Extensions/LeaseExtensionsTest.cs @@ -85,6 +85,22 @@ public void GetExpiryDate_MultipleTermExpiryLater() }; Assert.Equal(later, lease.GetExpiryDate()); } + + [Fact] + public void GetExpiryDate_TermNoExpiry() + { + DateTime now = DateTime.Now; + DateTime later = now.AddDays(1); + DateTime before = now.AddDays(-1); + PimsLease lease = new PimsLease() + { + OrigExpiryDate = now, + PimsLeaseTerms = + new List() { new PimsLeaseTerm() { TermExpiryDate = null }, + new PimsLeaseTerm() { TermExpiryDate = before }, }, + }; + Assert.Equal(null, lease.GetExpiryDate()); + } #endregion } } diff --git a/source/backend/tests/unit/dal/Entities/AccessRequestOrganizationTest.cs b/source/backend/tests/unit/dal/Entities/AccessRequestOrganizationTest.cs index 75e1c7156f..e8d6a30fbe 100644 --- a/source/backend/tests/unit/dal/Entities/AccessRequestOrganizationTest.cs +++ b/source/backend/tests/unit/dal/Entities/AccessRequestOrganizationTest.cs @@ -23,11 +23,11 @@ public void AccessRequestOrganization_Id_Constructor() var organization = EntityHelper.CreateOrganization(2, "ORG"); // Act - var accessRequestOrganization = new PimsAccessRequestOrganization(accessRequest.AccessRequestId, organization.Id); + var accessRequestOrganization = new PimsAccessRequestOrganization(accessRequest.AccessRequestId, organization.Internal_Id); // Assert accessRequestOrganization.AccessRequestId.Should().Be(accessRequest.AccessRequestId); - accessRequestOrganization.OrganizationId.Should().Be(organization.Id); + accessRequestOrganization.OrganizationId.Should().Be(organization.Internal_Id); } [Fact] @@ -43,7 +43,7 @@ public void AccessRequestOrganization_Object_Constructor() // Assert accessRequestOrganization.AccessRequestId.Should().Be(accessRequest.AccessRequestId); accessRequestOrganization.AccessRequest.Should().Be(accessRequest); - accessRequestOrganization.OrganizationId.Should().Be(organization.Id); + accessRequestOrganization.OrganizationId.Should().Be(organization.Internal_Id); accessRequestOrganization.Organization.Should().Be(organization); } diff --git a/source/backend/tests/unit/dal/Entities/Comparers/OrganizationIdComparerTest.cs b/source/backend/tests/unit/dal/Entities/Comparers/OrganizationIdComparerTest.cs index 6e97aa2e5f..ab1670e7c3 100644 --- a/source/backend/tests/unit/dal/Entities/Comparers/OrganizationIdComparerTest.cs +++ b/source/backend/tests/unit/dal/Entities/Comparers/OrganizationIdComparerTest.cs @@ -21,8 +21,8 @@ public class OrganizationIdComparerTest { new object[] { new PimsOrganization(), new PimsOrganization(), true }, new object[] { new PimsOrganization("code", EntityHelper.CreateOrganizationType("TYPE"), EntityHelper.CreateOrganizationIdentifierType("ID"), EntityHelper.CreateAddress(1)), new PimsOrganization("code", EntityHelper.CreateOrganizationType("TYPE"), EntityHelper.CreateOrganizationIdentifierType("ID"), EntityHelper.CreateAddress(1)), true }, - new object[] { new PimsOrganization() { Id = 1 }, new PimsOrganization() { Id = 1 }, true }, - new object[] { new PimsOrganization() { Id = 1 }, new PimsOrganization() { Id = 2 }, false }, + new object[] { new PimsOrganization() { Internal_Id = 1 }, new PimsOrganization() { Internal_Id = 1 }, true }, + new object[] { new PimsOrganization() { Internal_Id = 1 }, new PimsOrganization() { Internal_Id = 2 }, false }, new object[] { null, new PimsOrganization(), false }, new object[] { new PimsOrganization(), null, false }, new object[] { null, null, false }, diff --git a/source/backend/tests/unit/dal/Entities/PagedTest`.cs b/source/backend/tests/unit/dal/Entities/PagedTest`.cs index 1c4e1c11e7..1ef61f8419 100644 --- a/source/backend/tests/unit/dal/Entities/PagedTest`.cs +++ b/source/backend/tests/unit/dal/Entities/PagedTest`.cs @@ -120,14 +120,14 @@ public void Paged_To() var paged = new Paged(items, page, quantity, total); // Act - var result = paged.To((items) => items.Select(i => new { Key = $"{i.Id}" })); + var result = paged.To((items) => items.Select(i => new { Key = $"{i.Internal_Id}" })); // Assert result.Page.Should().Be(page); result.Quantity.Should().Be(quantity); result.Total.Should().Be(total); result.Items.Count().Should().Be(items.Length); - result.Items.First().Key.Should().Be(items.First().Id.ToString()); + result.Items.First().Key.Should().Be(items.First().Internal_Id.ToString()); } [Fact] diff --git a/source/backend/tests/unit/dal/Libraries/Keycloak/KeycloakServiceTest.cs b/source/backend/tests/unit/dal/Libraries/Keycloak/KeycloakServiceTest.cs index 6c7477121e..547600de04 100644 --- a/source/backend/tests/unit/dal/Libraries/Keycloak/KeycloakServiceTest.cs +++ b/source/backend/tests/unit/dal/Libraries/Keycloak/KeycloakServiceTest.cs @@ -88,39 +88,6 @@ public void CreateKeycloakService_NoClient() result.Message.Should().Be("The configuration for Keycloak:Client is invalid or missing."); } - [Fact] - public void CreateKeycloakService_NoOpenId() - { - // Arrange - var helper = new TestHelper(); - var user = PrincipalHelper.CreateForPermission(); - - var options = Options.Create(new KeycloakOptions() - { - Authority = "https://keycloak", - Audience = "pims", - Client = "pims", - ServiceAccount = new KeycloakServiceAccountOptions() - { - Client = "pims-service-account", - Secret = "[USE SECRETS]", - Api = "https://api.loginproxy.gov.bc.ca/api/v1", - Integration = "4379", - Environment = "test" - }, - }); - - var openIdConnect = new Mock(); - openIdConnect.Setup(m => m.AuthClientOptions).Returns(new Pims.Core.Http.Configuration.AuthClientOptions()); - openIdConnect.Setup(m => m.DeleteAsync(It.IsAny(), It.IsAny())).ReturnsAsync(new HttpResponseMessage(HttpStatusCode.OK)); - helper.AddSingleton(openIdConnect.Object); - - // Act - // Assert - var result = Assert.Throws(() => helper.Create(options, user)); - result.Message.Should().Be("The configuration for Keycloak:OpenIdConnect is invalid or missing."); - } - [Fact] public void CreateKeycloakService_NoServiceAccount() { @@ -133,11 +100,6 @@ public void CreateKeycloakService_NoServiceAccount() Authority = "https://keycloak", Audience = "pims", Client = "pims", - OpenIdConnect = new Pims.Core.Http.Configuration.OpenIdConnectOptions() - { - Token = "/protocol/openid-connect/token", - UserInfo = "/protocol/openid-connect/userinfo", - }, }); var openIdConnect = new Mock(); @@ -151,77 +113,6 @@ public void CreateKeycloakService_NoServiceAccount() result.Message.Should().Be("The configuration for Keycloak:ServiceAccount is invalid or missing."); } - [Fact] - public void CreateKeycloakService_NoOpenIdConnectToken() - { - // Arrange - var helper = new TestHelper(); - var user = PrincipalHelper.CreateForPermission(); - - var options = Options.Create(new KeycloakOptions() - { - Authority = "https://keycloak", - Audience = "pims", - Client = "pims", - OpenIdConnect = new Pims.Core.Http.Configuration.OpenIdConnectOptions(), - ServiceAccount = new KeycloakServiceAccountOptions() - { - Client = "pims-service-account", - Secret = "[USE SECRETS]", - Api = "https://api.loginproxy.gov.bc.ca/api/v1", - Integration = "4379", - Environment = "test" - }, - }); - - var openIdConnect = new Mock(); - openIdConnect.Setup(m => m.AuthClientOptions).Returns(new Pims.Core.Http.Configuration.AuthClientOptions()); - openIdConnect.Setup(m => m.DeleteAsync(It.IsAny(), It.IsAny())).ReturnsAsync(new HttpResponseMessage(HttpStatusCode.OK)); - helper.AddSingleton(openIdConnect.Object); - - // Act - // Assert - var result = Assert.Throws(() => helper.Create(options, user)); - result.Message.Should().Be("The configuration for Keycloak:OpenIdConnect:Token is invalid or missing."); - } - - [Fact] - public void CreateKeycloakService_NoOpenIdConnectUserInfo() - { - // Arrange - var helper = new TestHelper(); - var user = PrincipalHelper.CreateForPermission(); - - var options = Options.Create(new KeycloakOptions() - { - Authority = "https://keycloak", - Audience = "pims", - Client = "pims", - OpenIdConnect = new Pims.Core.Http.Configuration.OpenIdConnectOptions() - { - Token = "/protocol/openid-connect/token", - }, - ServiceAccount = new KeycloakServiceAccountOptions() - { - Client = "pims-service-account", - Secret = "[USE SECRETS]", - Api = "https://api.loginproxy.gov.bc.ca/api/v1", - Integration = "4379", - Environment = "test" - }, - }); - - var openIdConnect = new Mock(); - openIdConnect.Setup(m => m.AuthClientOptions).Returns(new Pims.Core.Http.Configuration.AuthClientOptions()); - openIdConnect.Setup(m => m.DeleteAsync(It.IsAny(), It.IsAny())).ReturnsAsync(new HttpResponseMessage(HttpStatusCode.OK)); - helper.AddSingleton(openIdConnect.Object); - - // Act - // Assert - var result = Assert.Throws(() => helper.Create(options, user)); - result.Message.Should().Be("The configuration for Keycloak:OpenIdConnect:UserInfo is invalid or missing."); - } - [Fact] public void CreateKeycloakService_NoServiceAccountClient() { @@ -234,11 +125,6 @@ public void CreateKeycloakService_NoServiceAccountClient() Authority = "https://keycloak", Audience = "pims", Client = "pims", - OpenIdConnect = new Pims.Core.Http.Configuration.OpenIdConnectOptions() - { - Token = "/protocol/openid-connect/token", - UserInfo = "/protocol/openid-connect/userinfo", - }, ServiceAccount = new KeycloakServiceAccountOptions(), }); @@ -265,11 +151,6 @@ public void CreateKeycloakService_NoServiceAccountSecret() Authority = "https://keycloak", Audience = "pims", Client = "pims", - OpenIdConnect = new Pims.Core.Http.Configuration.OpenIdConnectOptions() - { - Token = "/protocol/openid-connect/token", - UserInfo = "/protocol/openid-connect/userinfo", - }, ServiceAccount = new KeycloakServiceAccountOptions() { Client = "pims-service-account", @@ -299,11 +180,6 @@ public void CreateKeycloakService() Authority = "https://keycloak", Audience = "pims", Client = "pims", - OpenIdConnect = new Pims.Core.Http.Configuration.OpenIdConnectOptions() - { - Token = "/protocol/openid-connect/token", - UserInfo = "/protocol/openid-connect/userinfo", - }, ServiceAccount = new KeycloakServiceAccountOptions() { Client = "pims-service-account", @@ -341,11 +217,6 @@ public void CreateKeycloakService_ServiceAccount() Authority = "https://keycloak", Audience = "pims", Client = "pims", - OpenIdConnect = new Pims.Core.Http.Configuration.OpenIdConnectOptions() - { - Token = "/protocol/openid-connect/token", - UserInfo = "/protocol/openid-connect/userinfo", - }, ServiceAccount = new KeycloakServiceAccountOptions() { Client = "pims-service-account", diff --git a/source/backend/tests/unit/dal/Libraries/Keycloak/PimsKeycloakUserServiceTest.cs b/source/backend/tests/unit/dal/Libraries/Keycloak/PimsKeycloakUserServiceTest.cs index 0cc0865b41..7d2a10bf00 100644 --- a/source/backend/tests/unit/dal/Libraries/Keycloak/PimsKeycloakUserServiceTest.cs +++ b/source/backend/tests/unit/dal/Libraries/Keycloak/PimsKeycloakUserServiceTest.cs @@ -71,7 +71,7 @@ public async Task UpdateUserAsync_Success() }); roleRepository.Setup(m => m.Find(removeRole.RoleId)).Returns(removeRole); - var user = EntityHelper.CreateUser(euser.Id, euser.GuidIdentifierValue.Value, euser.BusinessIdentifierValue, "new first name", "new last name"); + var user = EntityHelper.CreateUser(euser.Internal_Id, euser.GuidIdentifierValue.Value, euser.BusinessIdentifierValue, "new first name", "new last name"); var addUserRole = user.PimsUserRoles.First(); addUserRole.RoleId = 2; addUserRole.Role.RoleId = 2; @@ -83,7 +83,7 @@ public async Task UpdateUserAsync_Success() var result = await service.UpdateUserAsync(user); // Assert - result.Id.Should().Be(user.Id); + result.Internal_Id.Should().Be(user.Internal_Id); result.BusinessIdentifierValue.Should().Be(user.BusinessIdentifierValue); result.Person.FirstName.Should().Be(user.Person.FirstName); result.Person.Surname.Should().Be(user.Person.Surname); @@ -131,7 +131,7 @@ public async Task UpdateUserAsync_Success_KeycloakRoleNotInPims() userRepository.Setup(m => m.UpdateOnly(It.IsAny())).Returns(euser); roleRepository.Setup(m => m.Find(removeRole.RoleId)).Returns(removeRole); - var user = EntityHelper.CreateUser(euser.Id, euser.GuidIdentifierValue.Value, euser.BusinessIdentifierValue, "new first name", "new last name"); + var user = EntityHelper.CreateUser(euser.Internal_Id, euser.GuidIdentifierValue.Value, euser.BusinessIdentifierValue, "new first name", "new last name"); var addUserRole = user.PimsUserRoles.First(); addUserRole.RoleId = 2; addUserRole.Role.RoleId = 2; @@ -142,7 +142,7 @@ public async Task UpdateUserAsync_Success_KeycloakRoleNotInPims() var result = await service.UpdateUserAsync(user); // Assert - result.Id.Should().Be(user.Id); + result.Internal_Id.Should().Be(user.Internal_Id); result.BusinessIdentifierValue.Should().Be(user.BusinessIdentifierValue); result.Person.FirstName.Should().Be(user.Person.FirstName); result.Person.Surname.Should().Be(user.Person.Surname); @@ -266,7 +266,7 @@ public async Task UpdateUserAsync_AddRoleDoesNotExistInPims() userRepository.Setup(m => m.GetTrackingById(It.IsAny())).Returns(euser); userRepository.Setup(m => m.UpdateOnly(It.IsAny())).Returns(euser); - var user = EntityHelper.CreateUser(euser.Id, euser.GuidIdentifierValue.Value, euser.BusinessIdentifierValue, "new first name", "new last name"); + var user = EntityHelper.CreateUser(euser.Internal_Id, euser.GuidIdentifierValue.Value, euser.BusinessIdentifierValue, "new first name", "new last name"); var addRole = user.GetRoles().First(); addRole.KeycloakGroupId = Guid.NewGuid(); roleRepository.Setup(m => m.Find(addRole.RoleId)).Returns(null); @@ -312,7 +312,7 @@ public async Task UpdateUserAsync_RemoveRoleDoesNotExistInPims() userRepository.Setup(m => m.UpdateOnly(It.IsAny())).Returns(euser); roleRepository.Setup(m => m.Find(removeRole.RoleId)).Returns(null); - var user = EntityHelper.CreateUser(euser.Id, euser.GuidIdentifierValue.Value, euser.BusinessIdentifierValue, "new first name", "new last name"); + var user = EntityHelper.CreateUser(euser.Internal_Id, euser.GuidIdentifierValue.Value, euser.BusinessIdentifierValue, "new first name", "new last name"); var addRole = user.GetRoles().First(); addRole.RoleId = 2; addRole.KeycloakGroupId = Guid.NewGuid(); @@ -365,7 +365,7 @@ public async Task AppendToUserAsync_Success_AddRole() }); roleRepository.Setup(m => m.Find(existingRole.RoleId)).Returns(existingRole); - var user = EntityHelper.CreateUser(euser.Id, euser.GuidIdentifierValue.Value, euser.BusinessIdentifierValue, "new first name", "new last name"); + var user = EntityHelper.CreateUser(euser.Internal_Id, euser.GuidIdentifierValue.Value, euser.BusinessIdentifierValue, "new first name", "new last name"); var addUserRole = user.PimsUserRoles.First(); addUserRole.RoleId = 2; addUserRole.Role.RoleId = 2; @@ -398,7 +398,7 @@ public async Task AppendToUserAsync_Success_AddContactMethod() var kuser = new Pims.Keycloak.Models.UserModel() { Username = euser.BusinessIdentifierValue, - Attributes = new Dictionary() { {"idir_username", new string[1] {"serviceaccount"} } } + Attributes = new Dictionary() { { "idir_username", new string[1] { "serviceaccount" } } } }; keycloakServiceMock.Setup(m => m.GetUserAsync(It.IsAny())).ReturnsAsync(kuser); keycloakServiceMock.Setup(m => m.GetUserGroupsAsync(euser.GuidIdentifierValue.Value)) @@ -415,7 +415,7 @@ public async Task AppendToUserAsync_Success_AddContactMethod() userRepository.Setup(m => m.UpdateOnly(Capture.In(values))).Returns(euser); roleRepository.Setup(m => m.Find(existingRole.RoleId)).Returns(existingRole); - var user = EntityHelper.CreateUser(euser.Id, euser.GuidIdentifierValue.Value, euser.BusinessIdentifierValue, "new first name", "new last name"); + var user = EntityHelper.CreateUser(euser.Internal_Id, euser.GuidIdentifierValue.Value, euser.BusinessIdentifierValue, "new first name", "new last name"); user.Person.PimsContactMethods.Clear(); var updatedContactMethod = new Entity.PimsContactMethod() { ContactMethodValue = "update contact method", ContactMethodTypeCode = ContactMethodTypes.WorkEmail }; user.Person.PimsContactMethods.Add(updatedContactMethod); @@ -454,7 +454,7 @@ public async Task AppendToUserAsync_AddRole_KeycloakGroupIdNotFound() userRepository.Setup(m => m.GetTrackingById(It.IsAny())).Returns(euser); userRepository.Setup(m => m.UpdateOnly(It.IsAny())).Returns(euser); - var user = EntityHelper.CreateUser(euser.Id, euser.GuidIdentifierValue.Value, euser.BusinessIdentifierValue, "new first name", "new last name"); + var user = EntityHelper.CreateUser(euser.Internal_Id, euser.GuidIdentifierValue.Value, euser.BusinessIdentifierValue, "new first name", "new last name"); var addRole = user.PimsUserRoles.First(); addRole.RoleId = 2; addRole.Role.KeycloakGroupId = null; @@ -490,7 +490,7 @@ public async Task AppendToUserAsync_AddRole_KeyNotFound() userRepository.Setup(m => m.GetTrackingById(It.IsAny())).Returns(euser); userRepository.Setup(m => m.UpdateOnly(It.IsAny())).Returns(euser); - var user = EntityHelper.CreateUser(euser.Id, euser.GuidIdentifierValue.Value, euser.BusinessIdentifierValue, "new first name", "new last name"); + var user = EntityHelper.CreateUser(euser.Internal_Id, euser.GuidIdentifierValue.Value, euser.BusinessIdentifierValue, "new first name", "new last name"); var addRole = user.PimsUserRoles.First(); addRole.RoleId = 2; addRole.Role.KeycloakGroupId = Guid.NewGuid(); diff --git a/source/backend/tests/unit/dal/Libraries/Keycloak/ServiceCollectionExtensionsTest.cs b/source/backend/tests/unit/dal/Libraries/Keycloak/ServiceCollectionExtensionsTest.cs index a7b8d328ff..78d32a668c 100644 --- a/source/backend/tests/unit/dal/Libraries/Keycloak/ServiceCollectionExtensionsTest.cs +++ b/source/backend/tests/unit/dal/Libraries/Keycloak/ServiceCollectionExtensionsTest.cs @@ -34,11 +34,6 @@ public void AddKeycloakService_Success() Authority = "test", Audience = "test", Client = "test", - OpenIdConnect = new OpenIdConnectOptions - { - Token = "test", - UserInfo = "test", - }, ServiceAccount = new KeycloakServiceAccountOptions { Client = "test", @@ -92,11 +87,6 @@ public void AddPimsKeycloakService_Success() Authority = "test", Audience = "test", Client = "test", - OpenIdConnect = new OpenIdConnectOptions - { - Token = "test", - UserInfo = "test", - }, ServiceAccount = new KeycloakServiceAccountOptions { Client = "test", diff --git a/source/backend/tests/unit/dal/Libraries/Ltsa/LtsaServiceTest.cs b/source/backend/tests/unit/dal/Libraries/Ltsa/LtsaServiceTest.cs index c988cb2b79..04510d45e6 100644 --- a/source/backend/tests/unit/dal/Libraries/Ltsa/LtsaServiceTest.cs +++ b/source/backend/tests/unit/dal/Libraries/Ltsa/LtsaServiceTest.cs @@ -338,7 +338,7 @@ public async void GetTitleSummariesAsync_Error() StatusCode = HttpStatusCode.OK, Content = new StringContent(accessTokenResponse) }); - + var httpClient = new HttpClient(mockMessageHandler.Object); mockFactory.Setup(_ => _.CreateClient(It.IsAny())).Returns(httpClient); diff --git a/source/backend/tests/unit/dal/Repositories/AccessRequestRepositoryTest.cs b/source/backend/tests/unit/dal/Repositories/AccessRequestRepositoryTest.cs index c6fb45846f..da543f58b3 100644 --- a/source/backend/tests/unit/dal/Repositories/AccessRequestRepositoryTest.cs +++ b/source/backend/tests/unit/dal/Repositories/AccessRequestRepositoryTest.cs @@ -48,7 +48,7 @@ public void Get_AccessRequests_Filter(AccessRequestFilter filter, int expectedCo eAccessRequest.User.BusinessIdentifierValue = "value"; var secondAccessRequest = EntityHelper.CreateAccessRequest(2, organization: organization, role: role, user: eSecondUser, region: region); - secondAccessRequest.User.Id = 2; + secondAccessRequest.User.UserId = 2; secondAccessRequest.User.Person.Surname = "Other"; secondAccessRequest.User.BusinessIdentifierValue = "oDisabled"; secondAccessRequest.AccessRequestStatusTypeCodeNavigation = new PimsAccessRequestStatusType() { Id = "fake" }; @@ -195,7 +195,7 @@ public void Add_AccessRequest() Assert.NotNull(result); Assert.IsAssignableFrom(result); result.User.Position.Should().Be(eUser.Position); - result.User.Id.Should().Be(eUser.Id); + result.User.UserId.Should().Be(eUser.UserId); result.AccessRequestStatusTypeCode.Should().Be("Received"); } #endregion diff --git a/source/backend/tests/unit/dal/Repositories/AcquisitionFileDocumentRepositoryTest.cs b/source/backend/tests/unit/dal/Repositories/AcquisitionFileDocumentRepositoryTest.cs index d7824620e8..7b4bd94c4e 100644 --- a/source/backend/tests/unit/dal/Repositories/AcquisitionFileDocumentRepositoryTest.cs +++ b/source/backend/tests/unit/dal/Repositories/AcquisitionFileDocumentRepositoryTest.cs @@ -1,13 +1,13 @@ -using FluentAssertions; -using Pims.Core.Test; -using Pims.Dal.Entities; -using Pims.Dal.Repositories; -using Pims.Dal.Security; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; +using FluentAssertions; +using Pims.Core.Test; +using Pims.Dal.Entities; +using Pims.Dal.Repositories; +using Pims.Dal.Security; using Xunit; namespace Pims.Dal.Test.Repositories @@ -29,6 +29,7 @@ public void AddAcquisition_Success() var result = repository.AddAcquisition(acquisitionFileDocument); // Assert + result.AcquisitionFileDocumentId.Should().Be(1); } [Fact] @@ -46,6 +47,8 @@ public void DeleteAcquisition_Success() var result = repository.DeleteAcquisition(acquisitionFileDocument); // Assert + result.Should().BeTrue(); + } [Fact] diff --git a/source/backend/tests/unit/dal/Repositories/AcquisitionFilePropertyRepositoryTest.cs b/source/backend/tests/unit/dal/Repositories/AcquisitionFilePropertyRepositoryTest.cs index 18f21dd3df..7b3f549899 100644 --- a/source/backend/tests/unit/dal/Repositories/AcquisitionFilePropertyRepositoryTest.cs +++ b/source/backend/tests/unit/dal/Repositories/AcquisitionFilePropertyRepositoryTest.cs @@ -5,12 +5,9 @@ using FluentAssertions; using Pims.Core.Test; using Pims.Dal.Entities; -using Pims.Dal.Entities.Models; -using Pims.Dal.Exceptions; using Pims.Dal.Repositories; using Pims.Dal.Security; using Xunit; -using Entity = Pims.Dal.Entities; namespace Pims.Dal.Test.Repositories { @@ -34,7 +31,7 @@ public void GetByAcquisitionFileId_Success() var user = PrincipalHelper.CreateForPermission(Permissions.AcquisitionFileView); var acqFile = EntityHelper.CreateAcquisitionFile(); - var pimsPropertyAcquisitionFile = new PimsPropertyAcquisitionFile() { AcquisitionFileId = acqFile.Id, Property = EntityHelper.CreateProperty(1) }; + var pimsPropertyAcquisitionFile = new PimsPropertyAcquisitionFile() { AcquisitionFileId = acqFile.AcquisitionFileId, Property = EntityHelper.CreateProperty(1) }; var context = helper.CreatePimsContext(user, true).AddAndSaveChanges(pimsPropertyAcquisitionFile); var repository = helper.CreateRepository(user); @@ -46,7 +43,7 @@ public void GetByAcquisitionFileId_Success() result.Should().NotBeNull(); result.Should().BeAssignableTo>(); result.Should().HaveCount(1); - result.FirstOrDefault().PropertyAcquisitionFileId.Should().Be(pimsPropertyAcquisitionFile.Id); + result.FirstOrDefault().PropertyAcquisitionFileId.Should().Be(pimsPropertyAcquisitionFile.PropertyAcquisitionFileId); } [Fact] @@ -77,8 +74,8 @@ public void GetAcquisitionFilePropertyRelatedCount_Success() var user = PrincipalHelper.CreateForPermission(Permissions.AcquisitionFileView); var acqFile = EntityHelper.CreateAcquisitionFile(); - var pimsPropertyAcquisitionFile = new PimsPropertyAcquisitionFile() { AcquisitionFileId = acqFile.Id, Property = new PimsProperty() { RegionCode = 1, Id = 1 } }; - var pimsPropertyAcquisitionFile2 = new PimsPropertyAcquisitionFile() { AcquisitionFileId = acqFile.Id, Property = new PimsProperty() { RegionCode = 1, Id = 2 } }; + var pimsPropertyAcquisitionFile = new PimsPropertyAcquisitionFile() { AcquisitionFileId = acqFile.AcquisitionFileId, Property = new PimsProperty() { RegionCode = 1, PropertyId = 1 } }; + var pimsPropertyAcquisitionFile2 = new PimsPropertyAcquisitionFile() { AcquisitionFileId = acqFile.AcquisitionFileId, Property = new PimsProperty() { RegionCode = 1, PropertyId = 2 } }; var context = helper.CreatePimsContext(user, true).AddAndSaveChanges(pimsPropertyAcquisitionFile); var repository = helper.CreateRepository(user); @@ -118,7 +115,7 @@ public void Add_Success() var context = helper.CreatePimsContext(user, true); var repository = helper.CreateRepository(user); - var pimsPropertyAcquisitionFile = new PimsPropertyAcquisitionFile() { AcquisitionFileId = 1, PropertyId = 1, Property = new PimsProperty() { RegionCode = 1, Id = 1 } }; + var pimsPropertyAcquisitionFile = new PimsPropertyAcquisitionFile() { AcquisitionFileId = 1, PropertyId = 1, Property = new PimsProperty() { RegionCode = 1, PropertyId = 1 } }; // Act var result = repository.Add(pimsPropertyAcquisitionFile); @@ -153,14 +150,14 @@ public void Update_Success() var helper = new TestHelper(); var user = PrincipalHelper.CreateForPermission(Permissions.AcquisitionFileAdd); - var pimsPropertyAcquisitionFile = new PimsPropertyAcquisitionFile() { AcquisitionFileId = 1, Property = new PimsProperty() { RegionCode = 1, Id = 1 } }; + var pimsPropertyAcquisitionFile = new PimsPropertyAcquisitionFile() { AcquisitionFileId = 1, Property = new PimsProperty() { RegionCode = 1, PropertyId = 1 } }; var context = helper.CreatePimsContext(user, true); var repository = helper.CreateRepository(user); context.AddAndSaveChanges(pimsPropertyAcquisitionFile); // Act - var result = repository.Update(new PimsPropertyAcquisitionFile() { AcquisitionFileId = 1, PropertyName = "updated", PropertyId = 1, Property = new PimsProperty() { RegionCode = 1, Id = 2 } }); + var result = repository.Update(new PimsPropertyAcquisitionFile() { AcquisitionFileId = 1, PropertyName = "updated", PropertyId = 1, Property = new PimsProperty() { RegionCode = 1, PropertyId = 2 } }); // Assert result.Should().NotBeNull(); @@ -203,7 +200,7 @@ public void Delete_PropertyAcquisitionFile() repository.Delete(pimsPropertyAcquisitionFile); // Assert - var result = repository.GetPropertiesByAcquisitionFileId(pimsPropertyAcquisitionFile.Id); + var result = repository.GetPropertiesByAcquisitionFileId(pimsPropertyAcquisitionFile.PropertyAcquisitionFileId); result.Should().BeEmpty(); } diff --git a/source/backend/tests/unit/dal/Repositories/AcquisitionRepositoryTest.cs b/source/backend/tests/unit/dal/Repositories/AcquisitionRepositoryTest.cs index 8baca46462..e7a70e03da 100644 --- a/source/backend/tests/unit/dal/Repositories/AcquisitionRepositoryTest.cs +++ b/source/backend/tests/unit/dal/Repositories/AcquisitionRepositoryTest.cs @@ -5,6 +5,7 @@ using Moq; using Pims.Core.Test; using Pims.Dal.Entities; +using Pims.Dal.Entities.Models; using Pims.Dal.Repositories; using Pims.Dal.Security; using Xunit; @@ -23,6 +24,71 @@ public AcquisitionRepositoryTest() { } #region Tests + #region GetPage + [Fact] + public void GetPage_AcquisitionName() + { + // Arrange + var helper = new TestHelper(); + var user = PrincipalHelper.CreateForPermission(Permissions.AcquisitionFileAdd); + var acqFile = EntityHelper.CreateAcquisitionFile(); + acqFile.FileName = "fileName"; + var filter = new AcquisitionFilter() { AcquisitionFileNameOrNumber = "fileName" }; + + helper.CreatePimsContext(user, true).AddAndSaveChanges(acqFile); + + var repository = helper.CreateRepository(user); + + // Act + var result = repository.GetPage(filter, new HashSet() { 1 }); + + // Assert + result.Should().HaveCount(1); + } + + [Fact] + public void GetPage_AcquisitionNumber() + { + // Arrange + var helper = new TestHelper(); + var user = PrincipalHelper.CreateForPermission(Permissions.AcquisitionFileAdd); + var acqFile = EntityHelper.CreateAcquisitionFile(); + acqFile.FileNumber = "fileNumber"; + var filter = new AcquisitionFilter() { AcquisitionFileNameOrNumber = "fileNumber" }; + + helper.CreatePimsContext(user, true).AddAndSaveChanges(acqFile); + + var repository = helper.CreateRepository(user); + + // Act + var result = repository.GetPage(filter, new HashSet() { 1 }); + + // Assert + result.Should().HaveCount(1); + } + + [Fact] + public void GetPage_AcquisitionHistoricalNumber() + { + // Arrange + var helper = new TestHelper(); + var user = PrincipalHelper.CreateForPermission(Permissions.AcquisitionFileAdd); + var acqFile = EntityHelper.CreateAcquisitionFile(); + acqFile.LegacyFileNumber = "legacy"; + var filter = new AcquisitionFilter() { AcquisitionFileNameOrNumber = "legacy" }; + + helper.CreatePimsContext(user, true).AddAndSaveChanges(acqFile); + + var repository = helper.CreateRepository(user); + + // Act + var result = repository.GetPage(filter, new HashSet() { 1 }); + + // Assert + result.Should().HaveCount(1); + } + #endregion + #region Add [Fact] public void Add_Success() diff --git a/source/backend/tests/unit/dal/Repositories/LeaseRepositoryTest.cs b/source/backend/tests/unit/dal/Repositories/LeaseRepositoryTest.cs index b16a1e5db2..953041bbe5 100644 --- a/source/backend/tests/unit/dal/Repositories/LeaseRepositoryTest.cs +++ b/source/backend/tests/unit/dal/Repositories/LeaseRepositoryTest.cs @@ -75,7 +75,7 @@ public void Get_Leases_Paged(LeaseFilter filter, int expectedCount) var helper = new TestHelper(); var user = PrincipalHelper.CreateForPermission(Permissions.LeaseView); var elease = EntityHelper.CreateLease(456, lFileNo: "123", tenantLastName: "tenant", addTenant: true); - elease.Id = 1; + elease.LeaseId = 1; elease.OrigExpiryDate = new DateTime(2000, 1, 1); elease.OrigStartDate = new DateTime(2000, 1, 1); @@ -116,7 +116,7 @@ public void Get_Leases_Filter(LeaseFilter filter, int expectedCount) var helper = new TestHelper(); var user = PrincipalHelper.CreateForPermission(Permissions.LeaseView); var elease = EntityHelper.CreateLease(456, lFileNo: "123", tenantLastName: "tenant", addTenant: true); - elease.Id = 1; + elease.LeaseId = 1; elease.OrigExpiryDate = new DateTime(2000, 1, 1); elease.OrigStartDate = new DateTime(2000, 1, 1); @@ -391,7 +391,7 @@ public void Update_Lease_Properties_AddPropertyInLeaseOverride() // Assert leaseRepository.Verify(x => x.Update(lease, false), Times.Once); - leaseRepository.Verify(x => x.UpdatePropertyLeases(lease.Id, lease.ConcurrencyControlNumber, lease.PimsPropertyLeases, true), Times.Once); + leaseRepository.Verify(x => x.UpdatePropertyLeases(lease.LeaseId, lease.ConcurrencyControlNumber, lease.PimsPropertyLeases, true), Times.Once); } [Fact] @@ -430,7 +430,7 @@ public void Update_Lease_Properties_Update() // Assert leaseRepository.Verify(x => x.Update(lease, false), Times.Once); - leaseRepository.Verify(x => x.UpdatePropertyLeases(lease.Id, lease.ConcurrencyControlNumber, lease.PimsPropertyLeases, false), Times.Once); + leaseRepository.Verify(x => x.UpdatePropertyLeases(lease.LeaseId, lease.ConcurrencyControlNumber, lease.PimsPropertyLeases, false), Times.Once); } [Fact] @@ -597,7 +597,7 @@ public void Update_Lease_Improvements_Update() var user = PrincipalHelper.CreateForPermission(Permissions.LeaseEdit, Permissions.LeaseView); var lease = EntityHelper.CreateLease(1); - lease.PimsPropertyImprovements.Add(new Dal.Entities.PimsPropertyImprovement() { LeaseId = lease.LeaseId, Id = 1 }); + lease.PimsPropertyImprovements.Add(new Dal.Entities.PimsPropertyImprovement() { LeaseId = lease.LeaseId, PropertyImprovementId = 1 }); var context = helper.CreatePimsContext(user, true); context.AddRange(lease); var service = helper.CreateRepository(user); @@ -621,7 +621,7 @@ public void Update_Lease_Improvements_Remove() var user = PrincipalHelper.CreateForPermission(Permissions.LeaseEdit, Permissions.LeaseView); var lease = EntityHelper.CreateLease(1); - lease.PimsPropertyImprovements.Add(new Dal.Entities.PimsPropertyImprovement() { LeaseId = lease.LeaseId, Id = 1 }); + lease.PimsPropertyImprovements.Add(new Dal.Entities.PimsPropertyImprovement() { LeaseId = lease.LeaseId, PropertyImprovementId = 1 }); var context = helper.CreatePimsContext(user, true); context.AddAndSaveChanges(lease); diff --git a/source/backend/tests/unit/dal/Repositories/NoteRepositoryTest.cs b/source/backend/tests/unit/dal/Repositories/NoteRepositoryTest.cs index 30839939fd..56bc928c78 100644 --- a/source/backend/tests/unit/dal/Repositories/NoteRepositoryTest.cs +++ b/source/backend/tests/unit/dal/Repositories/NoteRepositoryTest.cs @@ -84,7 +84,7 @@ public void GetById_Success() result.Should().NotBeNull(); result.Should().BeAssignableTo(); result.NoteTxt.Should().Be("Test Note"); - result.Id.Should().Be(note.Id); + result.NoteId.Should().Be(note.NoteId); } [Fact] diff --git a/source/backend/tests/unit/dal/Repositories/ResearchFileRepositoryTest.cs b/source/backend/tests/unit/dal/Repositories/ResearchFileDocumentRepositoryTest.cs similarity index 95% rename from source/backend/tests/unit/dal/Repositories/ResearchFileRepositoryTest.cs rename to source/backend/tests/unit/dal/Repositories/ResearchFileDocumentRepositoryTest.cs index 28509508c4..241a8b4390 100644 --- a/source/backend/tests/unit/dal/Repositories/ResearchFileRepositoryTest.cs +++ b/source/backend/tests/unit/dal/Repositories/ResearchFileDocumentRepositoryTest.cs @@ -1,13 +1,13 @@ -using FluentAssertions; -using Pims.Core.Test; -using Pims.Dal.Entities; -using Pims.Dal.Repositories; -using Pims.Dal.Security; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; +using FluentAssertions; +using Pims.Core.Test; +using Pims.Dal.Entities; +using Pims.Dal.Repositories; +using Pims.Dal.Security; using Xunit; namespace Pims.Dal.Test.Repositories @@ -29,6 +29,7 @@ public void AddResearch_Success() var result = repository.AddResearch(ResearchFileDocument); // Assert + result.ResearchFileDocumentId.Should().Be(1); } [Fact] @@ -46,6 +47,7 @@ public void DeleteResearch_Success() var result = repository.DeleteResearch(ResearchFileDocument); // Assert + result.Should().BeTrue(); } [Fact] diff --git a/source/backend/tests/unit/dal/Repositories/ResearchFilePropertyRepositoryTest.cs b/source/backend/tests/unit/dal/Repositories/ResearchFilePropertyRepositoryTest.cs index 7c19ce2bdb..25aea9c1e5 100644 --- a/source/backend/tests/unit/dal/Repositories/ResearchFilePropertyRepositoryTest.cs +++ b/source/backend/tests/unit/dal/Repositories/ResearchFilePropertyRepositoryTest.cs @@ -44,7 +44,7 @@ public void Delete_PropertyResearchFile() repository.Delete(pimsPropertyResearchFile); // Assert - var result = repository.GetAllByResearchFileId(pimsPropertyResearchFile.Id); + var result = repository.GetAllByResearchFileId(pimsPropertyResearchFile.PropertyResearchFileId); result.Should().BeEmpty(); } diff --git a/source/backend/tests/unit/dal/Repositories/ResearchRepositoryTest.cs b/source/backend/tests/unit/dal/Repositories/ResearchRepositoryTest.cs index 7a95135019..73634351cb 100644 --- a/source/backend/tests/unit/dal/Repositories/ResearchRepositoryTest.cs +++ b/source/backend/tests/unit/dal/Repositories/ResearchRepositoryTest.cs @@ -255,13 +255,14 @@ public void Update_Success_With_Purpose_Delete() var newPurposes = new List(); newPurposes.Add(newPimsResearchFilePurpose); eResearch.PimsResearchFilePurposes = newPurposes; + context.ChangeTracker.Clear(); var result = repository.Update(eResearch); // Assert result.Should().NotBeNull(); result.Should().BeAssignableTo(); result.PimsResearchFilePurposes.Should().NotBeNull(); - result.PimsResearchFilePurposes.Count.Should().Be(2); + result.PimsResearchFilePurposes.Count.Should().Be(1); result.PimsResearchFilePurposes.Where(x => x.ResearchPurposeTypeCode == "CODE2").Count().Should().Be(1); result.RoadAlias.Should().Be("a road name or alias updated"); } diff --git a/source/backend/tests/unit/dal/Repositories/UserRepositoryTest.cs b/source/backend/tests/unit/dal/Repositories/UserRepositoryTest.cs index 6b02193ead..9ec0d18a5e 100644 --- a/source/backend/tests/unit/dal/Repositories/UserRepositoryTest.cs +++ b/source/backend/tests/unit/dal/Repositories/UserRepositoryTest.cs @@ -300,7 +300,7 @@ public void Get_Users_Filter(UserFilter filter, int expectedCount) euser.IsDisabled = false; var disabledEUser = EntityHelper.CreateUser(2, Guid.NewGuid(), "Tester2", organization: organization, role: role); - disabledEUser.Id = 2; + disabledEUser.UserId = 2; disabledEUser.Person.FirstName = "disabled"; disabledEUser.Person.Surname = "Other"; disabledEUser.BusinessIdentifierValue = "oDisabled"; @@ -319,7 +319,7 @@ public void Get_Users_Filter(UserFilter filter, int expectedCount) Assert.NotNull(result); Assert.IsAssignableFrom>(result); Assert.Equal(expectedCount, result.Items.Count); - result.First().Id.Should().Be(euser.Id); + result.First().UserId.Should().Be(euser.UserId); } [Fact] @@ -372,7 +372,7 @@ public void Get_User_Tracking_ById() var service = helper.CreateRepository(user); // Act - var result = service.GetTrackingById(euser.Id); + var result = service.GetTrackingById(euser.UserId); // Assert Assert.NotNull(result); @@ -393,7 +393,7 @@ public void Get_User_Tracking_ById_NotAuthorized() // Act // Assert - var result = Assert.Throws(() => service.GetTrackingById(euser.Id)); + var result = Assert.Throws(() => service.GetTrackingById(euser.UserId)); } [Fact] diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Down/01_PSP_PIMS_Alter_Down.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Down/01_PSP_PIMS_Alter_Down.sql index a37b582a8a..5a6fd3b796 100644 --- a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Down/01_PSP_PIMS_Alter_Down.sql +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Down/01_PSP_PIMS_Alter_Down.sql @@ -1,8 +1,8 @@ --- Script generated by Aqua Data Studio Schema Synchronization for MS SQL Server 2016 on Thu Jan 26 12:57:19 PST 2023 +-- Script generated by Aqua Data Studio Schema Synchronization for MS SQL Server 2016 on Fri Feb 03 10:41:45 PST 2023 -- Execute this script on: --- PSP_PIMS_S46_00/dbo - This database/schema will be modified +-- PSP_PIMS_S47_00/dbo - This database/schema will be modified -- to synchronize it with MS SQL Server 2016: --- PSP_PIMS_S45_01/dbo +-- PSP_PIMS_S46_00/dbo -- We recommend backing up the database prior to executing the script. @@ -15,501 +15,1428 @@ GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop trigger dbo.PIMS_RSCDOC_I_S_U_TR -PRINT N'Drop trigger dbo.PIMS_RSCDOC_I_S_U_TR' +-- Drop trigger dbo.PIMS_LESCON_I_S_U_TR +PRINT N'Drop trigger dbo.PIMS_LESCON_I_S_U_TR' GO -DROP TRIGGER IF EXISTS [dbo].[PIMS_RSCDOC_I_S_U_TR] +DROP TRIGGER IF EXISTS [dbo].[PIMS_LESCON_I_S_U_TR] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop trigger dbo.PIMS_RSCDOC_I_S_I_TR -PRINT N'Drop trigger dbo.PIMS_RSCDOC_I_S_I_TR' +-- Drop trigger dbo.PIMS_LESCON_I_S_I_TR +PRINT N'Drop trigger dbo.PIMS_LESCON_I_S_I_TR' GO -DROP TRIGGER IF EXISTS [dbo].[PIMS_RSCDOC_I_S_I_TR] +DROP TRIGGER IF EXISTS [dbo].[PIMS_LESCON_I_S_I_TR] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop trigger dbo.PIMS_RSCNOT_I_S_U_TR -PRINT N'Drop trigger dbo.PIMS_RSCNOT_I_S_U_TR' +-- Drop trigger dbo.PIMS_LESCON_A_S_IUD_TR +PRINT N'Drop trigger dbo.PIMS_LESCON_A_S_IUD_TR' GO -DROP TRIGGER IF EXISTS [dbo].[PIMS_RSCNOT_I_S_U_TR] +DROP TRIGGER IF EXISTS [dbo].[PIMS_LESCON_A_S_IUD_TR] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop trigger dbo.PIMS_RSCNOT_I_S_I_TR -PRINT N'Drop trigger dbo.PIMS_RSCNOT_I_S_I_TR' +-- Drop foreign key constraint dbo.PIM_CONTYP_PIM_LESCON_FK +PRINT N'Drop foreign key constraint dbo.PIM_CONTYP_PIM_LESCON_FK' GO -DROP TRIGGER IF EXISTS [dbo].[PIMS_RSCNOT_I_S_I_TR] +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] + DROP CONSTRAINT IF EXISTS [PIM_CONTYP_PIM_LESCON_FK] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop trigger dbo.PIMS_RSCNOT_A_S_IUD_TR -PRINT N'Drop trigger dbo.PIMS_RSCNOT_A_S_IUD_TR' +-- Drop foreign key constraint dbo.PIM_LEASE_PIM_LESCON_FK +PRINT N'Drop foreign key constraint dbo.PIM_LEASE_PIM_LESCON_FK' GO -DROP TRIGGER IF EXISTS [dbo].[PIMS_RSCNOT_A_S_IUD_TR] +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] + DROP CONSTRAINT IF EXISTS [PIM_LEASE_PIM_LESCON_FK] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop foreign key constraint dbo.PIM_NOTE_PIM_RSCNOT_FK -PRINT N'Drop foreign key constraint dbo.PIM_NOTE_PIM_RSCNOT_FK' +-- Drop foreign key constraint dbo.PIM_CONSTY_PIM_CONTYP_FK +PRINT N'Drop foreign key constraint dbo.PIM_CONSTY_PIM_CONTYP_FK' GO -ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] - DROP CONSTRAINT IF EXISTS [PIM_NOTE_PIM_RSCNOT_FK] +ALTER TABLE [dbo].[PIMS_CONSULTATION_TYPE] + DROP CONSTRAINT IF EXISTS [PIM_CONSTY_PIM_CONTYP_FK] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop foreign key constraint dbo.PIM_RESRCH_PIM_RSCNOT_FK -PRINT N'Drop foreign key constraint dbo.PIM_RESRCH_PIM_RSCNOT_FK' +-- Drop foreign key constraint dbo.PIM_DOCMNT_PIM_LESDOC_FK +PRINT N'Drop foreign key constraint dbo.PIM_DOCMNT_PIM_LESDOC_FK' GO -ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] - DROP CONSTRAINT IF EXISTS [PIM_RESRCH_PIM_RSCNOT_FK] +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] + DROP CONSTRAINT IF EXISTS [PIM_DOCMNT_PIM_LESDOC_FK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop foreign key constraint dbo.PIM_LEASE_PIM_LESDOC_FK +PRINT N'Drop foreign key constraint dbo.PIM_LEASE_PIM_LESDOC_FK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] + DROP CONSTRAINT IF EXISTS [PIM_LEASE_PIM_LESDOC_FK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop foreign key constraint dbo.PIM_LEASE_PIM_LESNOT_FK +PRINT N'Drop foreign key constraint dbo.PIM_LEASE_PIM_LESNOT_FK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] + DROP CONSTRAINT IF EXISTS [PIM_LEASE_PIM_LESNOT_FK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop foreign key constraint dbo.PIM_NOTE_PIM_LESNOT_FK +PRINT N'Drop foreign key constraint dbo.PIM_NOTE_PIM_LESNOT_FK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] + DROP CONSTRAINT IF EXISTS [PIM_NOTE_PIM_LESNOT_FK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop foreign key constraint dbo.PIM_PROJCT_PIM_RFLPRJ_FK +PRINT N'Drop foreign key constraint dbo.PIM_PROJCT_PIM_RFLPRJ_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] + DROP CONSTRAINT IF EXISTS [PIM_PROJCT_PIM_RFLPRJ_FK] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop foreign key constraint dbo.PIM_RESRCH_PIM_RSCDOC_FK -PRINT N'Drop foreign key constraint dbo.PIM_RESRCH_PIM_RSCDOC_FK' +-- Drop foreign key constraint dbo.PIM_RESRCH_PIM_RFLPRJ_FK +PRINT N'Drop foreign key constraint dbo.PIM_RESRCH_PIM_RFLPRJ_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] + DROP CONSTRAINT IF EXISTS [PIM_RESRCH_PIM_RFLPRJ_FK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop foreign key constraint dbo.PIM_RESRCH_PIM_RFLDOC_FK +PRINT N'Drop foreign key constraint dbo.PIM_RESRCH_PIM_RFLDOC_FK' GO ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] - DROP CONSTRAINT IF EXISTS [PIM_RESRCH_PIM_RSCDOC_FK] + DROP CONSTRAINT IF EXISTS [PIM_RESRCH_PIM_RFLDOC_FK] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop foreign key constraint dbo.PIM_DOCMNT_PIM_RSCDOC_FK -PRINT N'Drop foreign key constraint dbo.PIM_DOCMNT_PIM_RSCDOC_FK' +-- Drop foreign key constraint dbo.PIM_DOCMNT_PIM_RFLDOC_FK +PRINT N'Drop foreign key constraint dbo.PIM_DOCMNT_PIM_RFLDOC_FK' GO ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] - DROP CONSTRAINT IF EXISTS [PIM_DOCMNT_PIM_RSCDOC_FK] + DROP CONSTRAINT IF EXISTS [PIM_DOCMNT_PIM_RFLDOC_FK] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop foreign key constraint dbo.PIM_ACQNFL_PIM_ACQDOC_FK -PRINT N'Drop foreign key constraint dbo.PIM_ACQNFL_PIM_ACQDOC_FK' +-- Drop foreign key constraint dbo.PIM_RESRCH_PIM_RFLNOT_FK +PRINT N'Drop foreign key constraint dbo.PIM_RESRCH_PIM_RFLNOT_FK' GO -ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] - DROP CONSTRAINT IF EXISTS [PIM_ACQNFL_PIM_ACQDOC_FK] +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + DROP CONSTRAINT IF EXISTS [PIM_RESRCH_PIM_RFLNOT_FK] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop foreign key constraint dbo.PIM_DOCMNT_PIM_ACQDOC_FK -PRINT N'Drop foreign key constraint dbo.PIM_DOCMNT_PIM_ACQDOC_FK' +-- Drop foreign key constraint dbo.PIM_NOTE_PIM_RFLNOT_FK +PRINT N'Drop foreign key constraint dbo.PIM_NOTE_PIM_RFLNOT_FK' GO -ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] - DROP CONSTRAINT IF EXISTS [PIM_DOCMNT_PIM_ACQDOC_FK] +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + DROP CONSTRAINT IF EXISTS [PIM_NOTE_PIM_RFLNOT_FK] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop index dbo.RSCNOT_RESEARCH_FILE_ID_IDX -PRINT N'Drop index dbo.RSCNOT_RESEARCH_FILE_ID_IDX' +-- Drop index dbo.LESCON_LEASE_ID_IDX +PRINT N'Drop index dbo.LESCON_LEASE_ID_IDX' GO -DROP INDEX IF EXISTS [dbo].[PIMS_RESEARCH_FILE_NOTE].[RSCNOT_RESEARCH_FILE_ID_IDX] +DROP INDEX IF EXISTS [dbo].[PIMS_LEASE_CONSULTATION].[LESCON_LEASE_ID_IDX] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop index dbo.RSCNOT_NOTE_ID_IDX -PRINT N'Drop index dbo.RSCNOT_NOTE_ID_IDX' +-- Drop index dbo.LESCON_CONSULTATION_TYPE_CODE_IDX +PRINT N'Drop index dbo.LESCON_CONSULTATION_TYPE_CODE_IDX' GO -DROP INDEX IF EXISTS [dbo].[PIMS_RESEARCH_FILE_NOTE].[RSCNOT_NOTE_ID_IDX] +DROP INDEX IF EXISTS [dbo].[PIMS_LEASE_CONSULTATION].[LESCON_CONSULTATION_TYPE_CODE_IDX] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop trigger dbo.PIMS_RSCDOC_A_S_IUD_TR -PRINT N'Drop trigger dbo.PIMS_RSCDOC_A_S_IUD_TR' +-- Drop trigger dbo.PIMS_CONTYP_I_S_U_TR +PRINT N'Drop trigger dbo.PIMS_CONTYP_I_S_U_TR' GO -DROP TRIGGER IF EXISTS [dbo].[PIMS_RSCDOC_A_S_IUD_TR] +DROP TRIGGER IF EXISTS [dbo].[PIMS_CONTYP_I_S_U_TR] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop index dbo.RSCDOC_RESEARCH_FILE_ID_IDX -PRINT N'Drop index dbo.RSCDOC_RESEARCH_FILE_ID_IDX' +-- Drop trigger dbo.PIMS_CONTYP_I_S_I_TR +PRINT N'Drop trigger dbo.PIMS_CONTYP_I_S_I_TR' GO -DROP INDEX IF EXISTS [dbo].[PIMS_RESEARCH_FILE_DOCUMENT].[RSCDOC_RESEARCH_FILE_ID_IDX] +DROP TRIGGER IF EXISTS [dbo].[PIMS_CONTYP_I_S_I_TR] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop index dbo.RSCDOC_DOCUMENT_ID_IDX -PRINT N'Drop index dbo.RSCDOC_DOCUMENT_ID_IDX' +-- Drop index dbo.CONTYP_CONSULTATION_STATUS_TYPE_CODE_IDX +PRINT N'Drop index dbo.CONTYP_CONSULTATION_STATUS_TYPE_CODE_IDX' GO -DROP INDEX IF EXISTS [dbo].[PIMS_RESEARCH_FILE_DOCUMENT].[RSCDOC_DOCUMENT_ID_IDX] +DROP INDEX IF EXISTS [dbo].[PIMS_CONSULTATION_TYPE].[CONTYP_CONSULTATION_STATUS_TYPE_CODE_IDX] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop trigger dbo.PIMS_ACQDOC_I_S_U_TR -PRINT N'Drop trigger dbo.PIMS_ACQDOC_I_S_U_TR' +-- Drop trigger dbo.PIMS_CONSTY_I_S_U_TR +PRINT N'Drop trigger dbo.PIMS_CONSTY_I_S_U_TR' GO -DROP TRIGGER IF EXISTS [dbo].[PIMS_ACQDOC_I_S_U_TR] +DROP TRIGGER IF EXISTS [dbo].[PIMS_CONSTY_I_S_U_TR] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop trigger dbo.PIMS_ACQDOC_I_S_I_TR -PRINT N'Drop trigger dbo.PIMS_ACQDOC_I_S_I_TR' +-- Drop trigger dbo.PIMS_CONSTY_I_S_I_TR +PRINT N'Drop trigger dbo.PIMS_CONSTY_I_S_I_TR' GO -DROP TRIGGER IF EXISTS [dbo].[PIMS_ACQDOC_I_S_I_TR] +DROP TRIGGER IF EXISTS [dbo].[PIMS_CONSTY_I_S_I_TR] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop trigger dbo.PIMS_ACQDOC_A_S_IUD_TR -PRINT N'Drop trigger dbo.PIMS_ACQDOC_A_S_IUD_TR' +-- Drop trigger dbo.PIMS_LESNOT_I_S_U_TR +PRINT N'Drop trigger dbo.PIMS_LESNOT_I_S_U_TR' GO -DROP TRIGGER IF EXISTS [dbo].[PIMS_ACQDOC_A_S_IUD_TR] +DROP TRIGGER IF EXISTS [dbo].[PIMS_LESNOT_I_S_U_TR] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop index dbo.ACQDOC_DOCUMENT_ID_IDX -PRINT N'Drop index dbo.ACQDOC_DOCUMENT_ID_IDX' +-- Drop trigger dbo.PIMS_LESNOT_I_S_I_TR +PRINT N'Drop trigger dbo.PIMS_LESNOT_I_S_I_TR' GO -DROP INDEX IF EXISTS [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT].[ACQDOC_DOCUMENT_ID_IDX] +DROP TRIGGER IF EXISTS [dbo].[PIMS_LESNOT_I_S_I_TR] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop index dbo.ACQDOC_ACQUISITION_FILE_ID_IDX -PRINT N'Drop index dbo.ACQDOC_ACQUISITION_FILE_ID_IDX' +-- Drop trigger dbo.PIMS_LESDOC_I_S_U_TR +PRINT N'Drop trigger dbo.PIMS_LESDOC_I_S_U_TR' GO -DROP INDEX IF EXISTS [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT].[ACQDOC_ACQUISITION_FILE_ID_IDX] +DROP TRIGGER IF EXISTS [dbo].[PIMS_LESDOC_I_S_U_TR] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop index dbo.PROJCT_PROJECT_STATUS_CODE_IDX -PRINT N'Drop index dbo.PROJCT_PROJECT_STATUS_CODE_IDX' +-- Drop trigger dbo.PIMS_LESDOC_I_S_I_TR +PRINT N'Drop trigger dbo.PIMS_LESDOC_I_S_I_TR' GO -DROP INDEX IF EXISTS [dbo].[PIMS_PROJECT].[PROJCT_PROJECT_STATUS_CODE_IDX] +DROP TRIGGER IF EXISTS [dbo].[PIMS_LESDOC_I_S_I_TR] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop index dbo.PROJCT_CODE_IDX -PRINT N'Drop index dbo.PROJCT_CODE_IDX' +-- Drop trigger dbo.PIMS_LESDOC_A_S_IUD_TR +PRINT N'Drop trigger dbo.PIMS_LESDOC_A_S_IUD_TR' GO -DROP INDEX IF EXISTS [dbo].[PIMS_PROJECT].[PROJCT_CODE_IDX] +DROP TRIGGER IF EXISTS [dbo].[PIMS_LESDOC_A_S_IUD_TR] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop unique constraint dbo.RSCNOT_RSRCH_FILE_NOTE_TUC -PRINT N'Drop unique constraint dbo.RSCNOT_RSRCH_FILE_NOTE_TUC' +-- Drop index dbo.LESDOC_LEASE_ID_IDX +PRINT N'Drop index dbo.LESDOC_LEASE_ID_IDX' GO -ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] - DROP CONSTRAINT IF EXISTS [RSCNOT_RSRCH_FILE_NOTE_TUC] +DROP INDEX IF EXISTS [dbo].[PIMS_LEASE_DOCUMENT].[LESDOC_LEASE_ID_IDX] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop primary key constraint dbo.RSCNOT_PK -PRINT N'Drop primary key constraint dbo.RSCNOT_PK' +-- Drop index dbo.LESDOC_DOCUMENT_ID_IDX +PRINT N'Drop index dbo.LESDOC_DOCUMENT_ID_IDX' GO -ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] - DROP CONSTRAINT IF EXISTS [RSCNOT_PK] +DROP INDEX IF EXISTS [dbo].[PIMS_LEASE_DOCUMENT].[LESDOC_DOCUMENT_ID_IDX] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_LESNOT_A_S_IUD_TR +PRINT N'Drop trigger dbo.PIMS_LESNOT_A_S_IUD_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_LESNOT_A_S_IUD_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop index dbo.LESNOT_NOTE_ID_IDX +PRINT N'Drop index dbo.LESNOT_NOTE_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_LEASE_NOTE].[LESNOT_NOTE_ID_IDX] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop index dbo.LESNOT_LEASE_ID_IDX +PRINT N'Drop index dbo.LESNOT_LEASE_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_LEASE_NOTE].[LESNOT_LEASE_ID_IDX] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_RFLDOC_I_S_U_TR +PRINT N'Drop trigger dbo.PIMS_RFLDOC_I_S_U_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RFLDOC_I_S_U_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_RFLDOC_I_S_I_TR +PRINT N'Drop trigger dbo.PIMS_RFLDOC_I_S_I_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RFLDOC_I_S_I_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_RFLDOC_A_S_IUD_TR +PRINT N'Drop trigger dbo.PIMS_RFLDOC_A_S_IUD_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RFLDOC_A_S_IUD_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop index dbo.RFLDOC_RESEARCH_FILE_ID_IDX +PRINT N'Drop index dbo.RFLDOC_RESEARCH_FILE_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_RESEARCH_FILE_DOCUMENT].[RFLDOC_RESEARCH_FILE_ID_IDX] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop index dbo.RFLDOC_DOCUMENT_ID_IDX +PRINT N'Drop index dbo.RFLDOC_DOCUMENT_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_RESEARCH_FILE_DOCUMENT].[RFLDOC_DOCUMENT_ID_IDX] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_RFLNOT_I_S_U_TR +PRINT N'Drop trigger dbo.PIMS_RFLNOT_I_S_U_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RFLNOT_I_S_U_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_RFLNOT_I_S_I_TR +PRINT N'Drop trigger dbo.PIMS_RFLNOT_I_S_I_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RFLNOT_I_S_I_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_RFLNOT_A_S_IUD_TR +PRINT N'Drop trigger dbo.PIMS_RFLNOT_A_S_IUD_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RFLNOT_A_S_IUD_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop index dbo.RFLNOT_RESEARCH_FILE_ID_IDX +PRINT N'Drop index dbo.RFLNOT_RESEARCH_FILE_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_RESEARCH_FILE_NOTE].[RFLNOT_RESEARCH_FILE_ID_IDX] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop index dbo.RFLNOT_NOTE_ID_IDX +PRINT N'Drop index dbo.RFLNOT_NOTE_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_RESEARCH_FILE_NOTE].[RFLNOT_NOTE_ID_IDX] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_RFLPRJ_I_S_U_TR +PRINT N'Drop trigger dbo.PIMS_RFLPRJ_I_S_U_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RFLPRJ_I_S_U_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_RFLPRJ_I_S_I_TR +PRINT N'Drop trigger dbo.PIMS_RFLPRJ_I_S_I_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RFLPRJ_I_S_I_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_RFLPRJ_A_S_IUD_TR +PRINT N'Drop trigger dbo.PIMS_RFLPRJ_A_S_IUD_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RFLPRJ_A_S_IUD_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop index dbo.RFLPRJ_RESEARCH_FILE_ID_IDX +PRINT N'Drop index dbo.RFLPRJ_RESEARCH_FILE_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_RESEARCH_FILE_PROJECT].[RFLPRJ_RESEARCH_FILE_ID_IDX] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop index dbo.RFLPRJ_PROJECT_ID_IDX +PRINT N'Drop index dbo.RFLPRJ_PROJECT_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_RESEARCH_FILE_PROJECT].[RFLPRJ_PROJECT_ID_IDX] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.LESCON_LEASE_CONSULTATION_TUC +PRINT N'Drop unique constraint dbo.LESCON_LEASE_CONSULTATION_TUC' +GO +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] + DROP CONSTRAINT IF EXISTS [LESCON_LEASE_CONSULTATION_TUC] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.LESCON_PK +PRINT N'Drop primary key constraint dbo.LESCON_PK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] + DROP CONSTRAINT IF EXISTS [LESCON_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop table dbo.PIMS_LEASE_CONSULTATION +PRINT N'Drop table dbo.PIMS_LEASE_CONSULTATION' +GO +DROP TABLE IF EXISTS [dbo].[PIMS_LEASE_CONSULTATION] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.CONTYP_PK +PRINT N'Drop primary key constraint dbo.CONTYP_PK' +GO +ALTER TABLE [dbo].[PIMS_CONSULTATION_TYPE] + DROP CONSTRAINT IF EXISTS [CONTYP_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.CONSTY_PK +PRINT N'Drop primary key constraint dbo.CONSTY_PK' +GO +ALTER TABLE [dbo].[PIMS_CONSULTATION_STATUS_TYPE] + DROP CONSTRAINT IF EXISTS [CONSTY_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.PIMS_LESCON_H_UK +PRINT N'Drop unique constraint dbo.PIMS_LESCON_H_UK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_LESCON_H_UK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.PIMS_LESCON_H_PK +PRINT N'Drop primary key constraint dbo.PIMS_LESCON_H_PK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_LESCON_H_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.PIMS_LESDOC_H_UK +PRINT N'Drop unique constraint dbo.PIMS_LESDOC_H_UK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_LESDOC_H_UK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.PIMS_LESDOC_H_PK +PRINT N'Drop primary key constraint dbo.PIMS_LESDOC_H_PK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_LESDOC_H_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.LESDOC_LEASE_DOCUMENT_TUC +PRINT N'Drop unique constraint dbo.LESDOC_LEASE_DOCUMENT_TUC' +GO +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] + DROP CONSTRAINT IF EXISTS [LESDOC_LEASE_DOCUMENT_TUC] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.LESDOC_PK +PRINT N'Drop primary key constraint dbo.LESDOC_PK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] + DROP CONSTRAINT IF EXISTS [LESDOC_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop table dbo.PIMS_LEASE_DOCUMENT +PRINT N'Drop table dbo.PIMS_LEASE_DOCUMENT' +GO +DROP TABLE IF EXISTS [dbo].[PIMS_LEASE_DOCUMENT] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.LESNOT_LEASE_NOTE_TUC +PRINT N'Drop unique constraint dbo.LESNOT_LEASE_NOTE_TUC' +GO +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] + DROP CONSTRAINT IF EXISTS [LESNOT_LEASE_NOTE_TUC] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.LESNOT_PK +PRINT N'Drop primary key constraint dbo.LESNOT_PK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] + DROP CONSTRAINT IF EXISTS [LESNOT_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop table dbo.PIMS_LEASE_NOTE +PRINT N'Drop table dbo.PIMS_LEASE_NOTE' +GO +DROP TABLE IF EXISTS [dbo].[PIMS_LEASE_NOTE] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.PIMS_LESNOT_H_UK +PRINT N'Drop unique constraint dbo.PIMS_LESNOT_H_UK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_NOTE_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_LESNOT_H_UK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.PIMS_LESNOT_H_PK +PRINT N'Drop primary key constraint dbo.PIMS_LESNOT_H_PK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_NOTE_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_LESNOT_H_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.PIMS_RFLPRJ_H_UK +PRINT N'Drop unique constraint dbo.PIMS_RFLPRJ_H_UK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_RFLPRJ_H_UK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.PIMS_RFLPRJ_H_PK +PRINT N'Drop primary key constraint dbo.PIMS_RFLPRJ_H_PK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_RFLPRJ_H_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.RFLPRJ_RESEARCH_FILE_PROJECT_TUC +PRINT N'Drop unique constraint dbo.RFLPRJ_RESEARCH_FILE_PROJECT_TUC' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] + DROP CONSTRAINT IF EXISTS [RFLPRJ_RESEARCH_FILE_PROJECT_TUC] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.RFLPRJ_PK +PRINT N'Drop primary key constraint dbo.RFLPRJ_PK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] + DROP CONSTRAINT IF EXISTS [RFLPRJ_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop table dbo.PIMS_RESEARCH_FILE_PROJECT +PRINT N'Drop table dbo.PIMS_RESEARCH_FILE_PROJECT' +GO +DROP TABLE IF EXISTS [dbo].[PIMS_RESEARCH_FILE_PROJECT] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop table dbo.PIMS_RESEARCH_FILE_NOTE -PRINT N'Drop table dbo.PIMS_RESEARCH_FILE_NOTE' +-- Drop unique constraint dbo.PROJCT_DESCRIPTION_CODE_TUC +PRINT N'Drop unique constraint dbo.PROJCT_DESCRIPTION_CODE_TUC' GO -DROP TABLE IF EXISTS [dbo].[PIMS_RESEARCH_FILE_NOTE] +ALTER TABLE [dbo].[PIMS_PROJECT] + DROP CONSTRAINT IF EXISTS [PROJCT_DESCRIPTION_CODE_TUC] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop unique constraint dbo.PIMS_RSCNOT_H_UK -PRINT N'Drop unique constraint dbo.PIMS_RSCNOT_H_UK' +-- Drop unique constraint dbo.PIMS_RFLNOT_H_UK +PRINT N'Drop unique constraint dbo.PIMS_RFLNOT_H_UK' GO ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE_HIST] - DROP CONSTRAINT IF EXISTS [PIMS_RSCNOT_H_UK] + DROP CONSTRAINT IF EXISTS [PIMS_RFLNOT_H_UK] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop primary key constraint dbo.PIMS_RSCNOT_H_PK -PRINT N'Drop primary key constraint dbo.PIMS_RSCNOT_H_PK' +-- Drop primary key constraint dbo.PIMS_RFLNOT_H_PK +PRINT N'Drop primary key constraint dbo.PIMS_RFLNOT_H_PK' GO ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE_HIST] - DROP CONSTRAINT IF EXISTS [PIMS_RSCNOT_H_PK] + DROP CONSTRAINT IF EXISTS [PIMS_RFLNOT_H_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.PIMS_RFLDOC_H_UK +PRINT N'Drop unique constraint dbo.PIMS_RFLDOC_H_UK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_RFLDOC_H_UK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.PIMS_RFLDOC_H_PK +PRINT N'Drop primary key constraint dbo.PIMS_RFLDOC_H_PK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_RFLDOC_H_PK] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop unique constraint dbo.RSCDOC_RESEARCH_FILE_DOCUMENT_TUC -PRINT N'Drop unique constraint dbo.RSCDOC_RESEARCH_FILE_DOCUMENT_TUC' +-- Drop unique constraint dbo.RFLDOC_RESEARCH_FILE_DOCUMENT_TUC +PRINT N'Drop unique constraint dbo.RFLDOC_RESEARCH_FILE_DOCUMENT_TUC' GO ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] - DROP CONSTRAINT IF EXISTS [RSCDOC_RESEARCH_FILE_DOCUMENT_TUC] + DROP CONSTRAINT IF EXISTS [RFLDOC_RESEARCH_FILE_DOCUMENT_TUC] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.RFLDOC_PK +PRINT N'Drop primary key constraint dbo.RFLDOC_PK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + DROP CONSTRAINT IF EXISTS [RFLDOC_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.RFLNOT_RSRCH_FILE_NOTE_TUC +PRINT N'Drop unique constraint dbo.RFLNOT_RSRCH_FILE_NOTE_TUC' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + DROP CONSTRAINT IF EXISTS [RFLNOT_RSRCH_FILE_NOTE_TUC] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.RFLNOT_PK +PRINT N'Drop primary key constraint dbo.RFLNOT_PK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + DROP CONSTRAINT IF EXISTS [RFLNOT_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Alter table dbo.PIMS_RESEARCH_FILE_NOTE +PRINT N'Alter table dbo.PIMS_RESEARCH_FILE_NOTE' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RFLNOT_RESEARCH_FILE_NOTE_ID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RSCNOT_RESEARCH_FILE_NOTE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_NOTE_ID_SEQ]) FOR [RESEARCH_FILE_NOTE_ID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RFLNOT_IS_DISABLED_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RSCNOT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))) FOR [IS_DISABLED] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RFLNOT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RSCNOT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)) FOR [CONCURRENCY_CONTROL_NUMBER] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RFLNOT_APP_CREATE_TIMESTAMP_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RSCNOT_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [APP_CREATE_TIMESTAMP] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RFLNOT_APP_CREATE_USERID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RSCNOT_APP_CREATE_USERID_DEF] DEFAULT (user_name()) FOR [APP_CREATE_USERID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RFLNOT_APP_CREATE_USER_DIRECTORY_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RSCNOT_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()) FOR [APP_CREATE_USER_DIRECTORY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RFLNOT_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RSCNOT_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [APP_LAST_UPDATE_TIMESTAMP] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RFLNOT_APP_LAST_UPDATE_USERID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RSCNOT_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) FOR [APP_LAST_UPDATE_USERID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RFLNOT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RSCNOT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()) FOR [APP_LAST_UPDATE_USER_DIRECTORY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RFLNOT_DB_CREATE_TIMESTAMP_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RSCNOT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [DB_CREATE_TIMESTAMP] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RFLNOT_DB_CREATE_USERID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RSCNOT_DB_CREATE_USERID_DEF] DEFAULT (user_name()) FOR [DB_CREATE_USERID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RFLNOT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RSCNOT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [DB_LAST_UPDATE_TIMESTAMP] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RFLNOT_DB_LAST_UPDATE_USERID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RSCNOT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) FOR [DB_LAST_UPDATE_USERID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + ADD CONSTRAINT [RSCNOT_PK] + PRIMARY KEY CLUSTERED ([RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID])-- + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop primary key constraint dbo.RSCDOC_PK -PRINT N'Drop primary key constraint dbo.RSCDOC_PK' +-- Create unique constraint dbo.RSCNOT_RSRCH_FILE_NOTE_TUC +PRINT N'Create unique constraint dbo.RSCNOT_RSRCH_FILE_NOTE_TUC' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + ADD CONSTRAINT [RSCNOT_RSRCH_FILE_NOTE_TUC] + UNIQUE ([NOTE_ID], [RESEARCH_FILE_ID])-- + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Alter table dbo.PIMS_RESEARCH_FILE_DOCUMENT +PRINT N'Alter table dbo.PIMS_RESEARCH_FILE_DOCUMENT' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RFLDOC_RESEARCH_FILE_DOCUMENT_ID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RSCDOC_RESEARCH_FILE_DOCUMENT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_DOCUMENT_ID_SEQ]) FOR [RESEARCH_FILE_DOCUMENT_ID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RFLDOC_IS_DISABLED_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RSCDOC_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))) FOR [IS_DISABLED] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RFLDOC_CONCURRENCY_CONTROL_NUMBER_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RSCDOC_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)) FOR [CONCURRENCY_CONTROL_NUMBER] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RFLDOC_APP_CREATE_TIMESTAMP_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RSCDOC_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [APP_CREATE_TIMESTAMP] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RFLDOC_APP_CREATE_USERID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RSCDOC_APP_CREATE_USERID_DEF] DEFAULT (user_name()) FOR [APP_CREATE_USERID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RFLDOC_APP_CREATE_USER_DIRECTORY_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RSCDOC_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()) FOR [APP_CREATE_USER_DIRECTORY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RFLDOC_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RSCDOC_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [APP_LAST_UPDATE_TIMESTAMP] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RFLDOC_APP_LAST_UPDATE_USERID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RSCDOC_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) FOR [APP_LAST_UPDATE_USERID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RFLDOC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RSCDOC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()) FOR [APP_LAST_UPDATE_USER_DIRECTORY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RFLDOC_DB_CREATE_TIMESTAMP_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RSCDOC_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [DB_CREATE_TIMESTAMP] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RFLDOC_DB_CREATE_USERID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RSCDOC_DB_CREATE_USERID_DEF] DEFAULT (user_name()) FOR [DB_CREATE_USERID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RFLDOC_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RSCDOC_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [DB_LAST_UPDATE_TIMESTAMP] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RFLDOC_DB_LAST_UPDATE_USERID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RSCDOC_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) FOR [DB_LAST_UPDATE_USERID] +GO +IF @@ERROR <> 0 SET NOEXEC ON GO ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] - DROP CONSTRAINT IF EXISTS [RSCDOC_PK] + ADD CONSTRAINT [RSCDOC_PK] + PRIMARY KEY CLUSTERED ([RESEARCH_FILE_DOCUMENT_ID])-- + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop table dbo.PIMS_RESEARCH_FILE_DOCUMENT -PRINT N'Drop table dbo.PIMS_RESEARCH_FILE_DOCUMENT' +-- Create unique constraint dbo.RSCDOC_RESEARCH_FILE_DOCUMENT_TUC +PRINT N'Create unique constraint dbo.RSCDOC_RESEARCH_FILE_DOCUMENT_TUC' GO -DROP TABLE IF EXISTS [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + ADD CONSTRAINT [RSCDOC_RESEARCH_FILE_DOCUMENT_TUC] + UNIQUE ([DOCUMENT_ID], [RESEARCH_FILE_ID])-- + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop unique constraint dbo.PIMS_RSCDOC_H_UK -PRINT N'Drop unique constraint dbo.PIMS_RSCDOC_H_UK' +-- Alter table dbo.PIMS_RESEARCH_FILE_DOCUMENT_HIST +PRINT N'Alter table dbo.PIMS_RESEARCH_FILE_DOCUMENT_HIST' GO ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_HIST] - DROP CONSTRAINT IF EXISTS [PIMS_RSCDOC_H_UK] + ADD CONSTRAINT [PIMS_RSCDOC_H_PK] + PRIMARY KEY CLUSTERED ([_RESEARCH_FILE_DOCUMENT_HIST_ID])-- + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop primary key constraint dbo.PIMS_RSCDOC_H_PK -PRINT N'Drop primary key constraint dbo.PIMS_RSCDOC_H_PK' +-- Create unique constraint dbo.PIMS_RSCDOC_H_UK +PRINT N'Create unique constraint dbo.PIMS_RSCDOC_H_UK' GO ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_HIST] - DROP CONSTRAINT IF EXISTS [PIMS_RSCDOC_H_PK] + ADD CONSTRAINT [PIMS_RSCDOC_H_UK] + UNIQUE ([_RESEARCH_FILE_DOCUMENT_HIST_ID], [END_DATE_HIST])-- + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop unique constraint dbo.PIMS_ACQDOC_H_UK -PRINT N'Drop unique constraint dbo.PIMS_ACQDOC_H_UK' +-- Alter table dbo.PIMS_RESEARCH_FILE_NOTE_HIST +PRINT N'Alter table dbo.PIMS_RESEARCH_FILE_NOTE_HIST' GO -ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT_HIST] - DROP CONSTRAINT IF EXISTS [PIMS_ACQDOC_H_UK] +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE_HIST] + ADD CONSTRAINT [PIMS_RSCNOT_H_PK] + PRIMARY KEY CLUSTERED ([_RESEARCH_FILE_NOTE_HIST_ID])-- + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop primary key constraint dbo.PIMS_ACQDOC_H_PK -PRINT N'Drop primary key constraint dbo.PIMS_ACQDOC_H_PK' +-- Create unique constraint dbo.PIMS_RSCNOT_H_UK +PRINT N'Create unique constraint dbo.PIMS_RSCNOT_H_UK' GO -ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT_HIST] - DROP CONSTRAINT IF EXISTS [PIMS_ACQDOC_H_PK] +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE_HIST] + ADD CONSTRAINT [PIMS_RSCNOT_H_UK] + UNIQUE ([_RESEARCH_FILE_NOTE_HIST_ID], [END_DATE_HIST])-- + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop unique constraint dbo.ACQNOT_ACQUISITION_FILE_DOCUMENT_TUC -PRINT N'Drop unique constraint dbo.ACQNOT_ACQUISITION_FILE_DOCUMENT_TUC' +-- Create index dbo.RSCNOT_NOTE_ID_IDX +PRINT N'Create index dbo.RSCNOT_NOTE_ID_IDX' GO -ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] - DROP CONSTRAINT IF EXISTS [ACQNOT_ACQUISITION_FILE_DOCUMENT_TUC] +CREATE NONCLUSTERED INDEX [RSCNOT_NOTE_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_NOTE]([NOTE_ID]) GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop primary key constraint dbo.ACQDOC_PK -PRINT N'Drop primary key constraint dbo.ACQDOC_PK' +-- Create index dbo.RSCNOT_RESEARCH_FILE_ID_IDX +PRINT N'Create index dbo.RSCNOT_RESEARCH_FILE_ID_IDX' GO -ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] - DROP CONSTRAINT IF EXISTS [ACQDOC_PK] +CREATE NONCLUSTERED INDEX [RSCNOT_RESEARCH_FILE_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_NOTE]([RESEARCH_FILE_ID]) GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop table dbo.PIMS_ACQUISITION_FILE_DOCUMENT -PRINT N'Drop table dbo.PIMS_ACQUISITION_FILE_DOCUMENT' +-- Create index dbo.RSCDOC_RESEARCH_FILE_ID_IDX +PRINT N'Create index dbo.RSCDOC_RESEARCH_FILE_ID_IDX' GO -DROP TABLE IF EXISTS [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] +CREATE NONCLUSTERED INDEX [RSCDOC_RESEARCH_FILE_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_DOCUMENT]([RESEARCH_FILE_ID]) GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Alter table dbo.PIMS_PROJECT -PRINT N'Alter table dbo.PIMS_PROJECT' +-- Create index dbo.RSCDOC_DOCUMENT_ID_IDX +PRINT N'Create index dbo.RSCDOC_DOCUMENT_ID_IDX' GO -UPDATE [dbo].[PIMS_PROJECT] SET [PROJECT_STATUS_TYPE_CODE] = ('ACTIVE'), CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1 WHERE [PROJECT_STATUS_TYPE_CODE] IS NULL +CREATE NONCLUSTERED INDEX [RSCDOC_DOCUMENT_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_DOCUMENT]([DOCUMENT_ID]) GO IF @@ERROR <> 0 SET NOEXEC ON GO -ALTER TABLE [dbo].[PIMS_PROJECT] ALTER COLUMN [PROJECT_STATUS_TYPE_CODE] nvarchar(20) NOT NULL + +-- Create trigger dbo.PIMS_RSCDOC_A_S_IUD_TR +PRINT N'Create trigger dbo.PIMS_RSCDOC_A_S_IUD_TR' +GO +CREATE TRIGGER [dbo].[PIMS_RSCDOC_A_S_IUD_TR] ON PIMS_RESEARCH_FILE_DOCUMENT FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_RESEARCH_FILE_DOCUMENT_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_DOCUMENT_ID in (select RESEARCH_FILE_DOCUMENT_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_RESEARCH_FILE_DOCUMENT_HIST ([RESEARCH_FILE_DOCUMENT_ID], [RESEARCH_FILE_ID], [DOCUMENT_ID], [APP_CREATE_TIMESTAMP], [APP_CREATE_USER_DIRECTORY], [APP_CREATE_USER_GUID], [APP_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USER_DIRECTORY], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USERID], [CONCURRENCY_CONTROL_NUMBER], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], [IS_DISABLED], _RESEARCH_FILE_DOCUMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [RESEARCH_FILE_DOCUMENT_ID], [RESEARCH_FILE_ID], [DOCUMENT_ID], [APP_CREATE_TIMESTAMP], [APP_CREATE_USER_DIRECTORY], [APP_CREATE_USER_GUID], [APP_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USER_DIRECTORY], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USERID], [CONCURRENCY_CONTROL_NUMBER], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], [IS_DISABLED], (next value for [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_H_ID_SEQ]) as [_RESEARCH_FILE_DOCUMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + + GO IF @@ERROR <> 0 SET NOEXEC ON GO -ALTER TABLE [dbo].[PIMS_PROJECT] ADD CONSTRAINT [PROJCT_PROJECT_STATUS_CODE_DEF] DEFAULT ('ACTIVE') FOR [PROJECT_STATUS_TYPE_CODE] + +-- Create trigger dbo.PIMS_RSCDOC_I_S_U_TR +PRINT N'Create trigger dbo.PIMS_RSCDOC_I_S_U_TR' +GO +CREATE TRIGGER [dbo].[PIMS_RSCDOC_I_S_U_TR] ON PIMS_RESEARCH_FILE_DOCUMENT INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_DOCUMENT_ID = deleted.RESEARCH_FILE_DOCUMENT_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_RESEARCH_FILE_DOCUMENT + set "RESEARCH_FILE_DOCUMENT_ID" = inserted."RESEARCH_FILE_DOCUMENT_ID", + "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", + "DOCUMENT_ID" = inserted."DOCUMENT_ID", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "IS_DISABLED" = inserted."IS_DISABLED" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_RESEARCH_FILE_DOCUMENT + inner join inserted + on (PIMS_RESEARCH_FILE_DOCUMENT.RESEARCH_FILE_DOCUMENT_ID = inserted.RESEARCH_FILE_DOCUMENT_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + + GO IF @@ERROR <> 0 SET NOEXEC ON GO -ALTER TABLE [dbo].[PIMS_PROJECT] ALTER COLUMN [REGION_CODE] smallint NULL + +-- Create trigger dbo.PIMS_RSCNOT_I_S_U_TR +PRINT N'Create trigger dbo.PIMS_RSCNOT_I_S_U_TR' +GO +CREATE TRIGGER [dbo].[PIMS_RSCNOT_I_S_U_TR] ON PIMS_RESEARCH_FILE_NOTE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_ID = deleted.RESEARCH_FILE_ID and inserted.RESEARCH_FILE_NOTE_ID = deleted.RESEARCH_FILE_NOTE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_RESEARCH_FILE_NOTE + set "RESEARCH_FILE_NOTE_ID" = inserted."RESEARCH_FILE_NOTE_ID", + "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", + "NOTE_ID" = inserted."NOTE_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_RESEARCH_FILE_NOTE + inner join inserted + on (PIMS_RESEARCH_FILE_NOTE.RESEARCH_FILE_ID = inserted.RESEARCH_FILE_ID and PIMS_RESEARCH_FILE_NOTE.RESEARCH_FILE_NOTE_ID = inserted.RESEARCH_FILE_NOTE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + + GO IF @@ERROR <> 0 SET NOEXEC ON GO -ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT IF EXISTS [PROJCT_REGION_CODE_DEF] + +-- Create trigger dbo.PIMS_RSCDOC_I_S_I_TR +PRINT N'Create trigger dbo.PIMS_RSCDOC_I_S_I_TR' +GO +CREATE TRIGGER [dbo].[PIMS_RSCDOC_I_S_I_TR] ON PIMS_RESEARCH_FILE_DOCUMENT INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_RESEARCH_FILE_DOCUMENT ("RESEARCH_FILE_DOCUMENT_ID", + "RESEARCH_FILE_ID", + "DOCUMENT_ID", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USER_DIRECTORY", + "APP_CREATE_USER_GUID", + "APP_CREATE_USERID", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID", + "CONCURRENCY_CONTROL_NUMBER", + "IS_DISABLED") + select "RESEARCH_FILE_DOCUMENT_ID", + "RESEARCH_FILE_ID", + "DOCUMENT_ID", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USER_DIRECTORY", + "APP_CREATE_USER_GUID", + "APP_CREATE_USERID", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID", + "CONCURRENCY_CONTROL_NUMBER", + "IS_DISABLED" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + + GO IF @@ERROR <> 0 SET NOEXEC ON GO -UPDATE [dbo].[PIMS_PROJECT] SET [CODE] = -1, CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1 WHERE [CODE] IS NULL + +-- Create trigger dbo.PIMS_RSCNOT_A_S_IUD_TR +PRINT N'Create trigger dbo.PIMS_RSCNOT_A_S_IUD_TR' +GO +CREATE TRIGGER [dbo].[PIMS_RSCNOT_A_S_IUD_TR] ON PIMS_RESEARCH_FILE_NOTE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_RESEARCH_FILE_NOTE_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_NOTE_ID in (select RESEARCH_FILE_NOTE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_RESEARCH_FILE_NOTE_HIST ([RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_FILE_NOTE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_FILE_NOTE_H_ID_SEQ]) as [_RESEARCH_FILE_NOTE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + + GO IF @@ERROR <> 0 SET NOEXEC ON GO -ALTER TABLE [dbo].[PIMS_PROJECT] ALTER COLUMN [CODE] int NOT NULL + +-- Create trigger dbo.PIMS_RSCNOT_I_S_I_TR +PRINT N'Create trigger dbo.PIMS_RSCNOT_I_S_I_TR' +GO +CREATE TRIGGER [dbo].[PIMS_RSCNOT_I_S_I_TR] ON PIMS_RESEARCH_FILE_NOTE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_RESEARCH_FILE_NOTE ("RESEARCH_FILE_NOTE_ID", + "RESEARCH_FILE_ID", + "NOTE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "RESEARCH_FILE_NOTE_ID", + "RESEARCH_FILE_ID", + "NOTE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + + GO IF @@ERROR <> 0 SET NOEXEC ON GO ---ALTER TABLE [dbo].[PIMS_PROJECT] ADD DEFAULT -1 FOR [CODE] ---GO ---IF @@ERROR <> 0 SET NOEXEC ON ---GO -ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT IF EXISTS [PROJCT_DESCRIPTION_DEF] + +-- Create foreign key constraint dbo.PIM_RESRCH_PIM_RSCNOT_FK +PRINT N'Create foreign key constraint dbo.PIM_RESRCH_PIM_RSCNOT_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + ADD CONSTRAINT [PIM_RESRCH_PIM_RSCNOT_FK] + FOREIGN KEY([RESEARCH_FILE_ID]) + REFERENCES [dbo].[PIMS_RESEARCH_FILE]([RESEARCH_FILE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION GO IF @@ERROR <> 0 SET NOEXEC ON GO ---ALTER TABLE [dbo].[PIMS_PROJECT] ADD DEFAULT '' FOR [DESCRIPTION] ---GO ---IF @@ERROR <> 0 SET NOEXEC ON ---GO --- Alter table dbo.PIMS_ACQUISITION_FILE_NOTE -PRINT N'Alter table dbo.PIMS_ACQUISITION_FILE_NOTE' +-- Create foreign key constraint dbo.PIM_NOTE_PIM_RSCNOT_FK +PRINT N'Create foreign key constraint dbo.PIM_NOTE_PIM_RSCNOT_FK' GO -EXEC sp_dropextendedproperty - @name = N'MS_Description' , - @level0type = N'Schema', @level0name = N'dbo', - @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE_NOTE' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + ADD CONSTRAINT [PIM_NOTE_PIM_RSCNOT_FK] + FOREIGN KEY([NOTE_ID]) + REFERENCES [dbo].[PIMS_NOTE]([NOTE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Alter table dbo.PIMS_PROJECT_HIST -PRINT N'Alter table dbo.PIMS_PROJECT_HIST' +-- Create foreign key constraint dbo.PIM_DOCMNT_PIM_RSCDOC_FK +PRINT N'Create foreign key constraint dbo.PIM_DOCMNT_PIM_RSCDOC_FK' GO -UPDATE [dbo].[PIMS_PROJECT_HIST] SET [PROJECT_STATUS_TYPE_CODE] = 'HO', CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1 WHERE [PROJECT_STATUS_TYPE_CODE] IS NULL +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + ADD CONSTRAINT [PIM_DOCMNT_PIM_RSCDOC_FK] + FOREIGN KEY([DOCUMENT_ID]) + REFERENCES [dbo].[PIMS_DOCUMENT]([DOCUMENT_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION GO IF @@ERROR <> 0 SET NOEXEC ON GO -ALTER TABLE [dbo].[PIMS_PROJECT_HIST] ALTER COLUMN [PROJECT_STATUS_TYPE_CODE] nvarchar(20) NOT NULL + +-- Create foreign key constraint dbo.PIM_RESRCH_PIM_RSCDOC_FK +PRINT N'Create foreign key constraint dbo.PIM_RESRCH_PIM_RSCDOC_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + ADD CONSTRAINT [PIM_RESRCH_PIM_RSCDOC_FK] + FOREIGN KEY([RESEARCH_FILE_ID]) + REFERENCES [dbo].[PIMS_RESEARCH_FILE]([RESEARCH_FILE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION GO IF @@ERROR <> 0 SET NOEXEC ON GO ---ALTER TABLE [dbo].[PIMS_PROJECT_HIST] ADD DEFAULT 'HO' FOR [PROJECT_STATUS_TYPE_CODE] ---GO ---IF @@ERROR <> 0 SET NOEXEC ON ---GO -ALTER TABLE [dbo].[PIMS_PROJECT_HIST] ALTER COLUMN [REGION_CODE] smallint NULL + +-- Drop sequence dbo.PIMS_LEASE_CONSULTATION_ID_SEQ +PRINT N'Drop sequence dbo.PIMS_LEASE_CONSULTATION_ID_SEQ' +GO +DROP SEQUENCE IF EXISTS [dbo].[PIMS_LEASE_CONSULTATION_ID_SEQ] GO IF @@ERROR <> 0 SET NOEXEC ON GO -UPDATE [dbo].[PIMS_PROJECT_HIST] SET [CODE] = -1, CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1 WHERE [CODE] IS NULL + +-- Drop table dbo.PIMS_CONSULTATION_TYPE +PRINT N'Drop table dbo.PIMS_CONSULTATION_TYPE' +GO +DROP TABLE IF EXISTS [dbo].[PIMS_CONSULTATION_TYPE] GO IF @@ERROR <> 0 SET NOEXEC ON GO -ALTER TABLE [dbo].[PIMS_PROJECT_HIST] ALTER COLUMN [CODE] int NOT NULL + +-- Drop table dbo.PIMS_CONSULTATION_STATUS_TYPE +PRINT N'Drop table dbo.PIMS_CONSULTATION_STATUS_TYPE' +GO +DROP TABLE IF EXISTS [dbo].[PIMS_CONSULTATION_STATUS_TYPE] GO IF @@ERROR <> 0 SET NOEXEC ON GO ---ALTER TABLE [dbo].[PIMS_PROJECT_HIST] ADD DEFAULT -1 FOR [CODE] ---GO ---IF @@ERROR <> 0 SET NOEXEC ON ---GO --- Create unique index dbo.PROJCT_CODE_IDX -PRINT N'Create unique index dbo.PROJCT_CODE_IDX' +-- Drop table dbo.PIMS_LEASE_CONSULTATION_HIST +PRINT N'Drop table dbo.PIMS_LEASE_CONSULTATION_HIST' GO -CREATE UNIQUE NONCLUSTERED INDEX [PROJCT_CODE_IDX] - ON [dbo].[PIMS_PROJECT]([CODE]) +DROP TABLE IF EXISTS [dbo].[PIMS_LEASE_CONSULTATION_HIST] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Create index dbo.PROJCT_PROJECT_STATUS_CODE_IDX -PRINT N'Create index dbo.PROJCT_PROJECT_STATUS_CODE_IDX' +-- Drop sequence dbo.PIMS_LEASE_CONSULTATION_H_ID_SEQ +PRINT N'Drop sequence dbo.PIMS_LEASE_CONSULTATION_H_ID_SEQ' GO -CREATE NONCLUSTERED INDEX [PROJCT_PROJECT_STATUS_CODE_IDX] - ON [dbo].[PIMS_PROJECT]([PROJECT_STATUS_TYPE_CODE]) +DROP SEQUENCE IF EXISTS [dbo].[PIMS_LEASE_CONSULTATION_H_ID_SEQ] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop sequence dbo.PIMS_RESEARCH_FILE_NOTE_ID_SEQ -PRINT N'Drop sequence dbo.PIMS_RESEARCH_FILE_NOTE_ID_SEQ' +-- Drop table dbo.PIMS_LEASE_DOCUMENT_HIST +PRINT N'Drop table dbo.PIMS_LEASE_DOCUMENT_HIST' GO -DROP SEQUENCE IF EXISTS [dbo].[PIMS_RESEARCH_FILE_NOTE_ID_SEQ] +DROP TABLE IF EXISTS [dbo].[PIMS_LEASE_DOCUMENT_HIST] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop table dbo.PIMS_RESEARCH_FILE_NOTE_HIST -PRINT N'Drop table dbo.PIMS_RESEARCH_FILE_NOTE_HIST' +-- Drop sequence dbo.PIMS_LEASE_DOCUMENT_H_ID_SEQ +PRINT N'Drop sequence dbo.PIMS_LEASE_DOCUMENT_H_ID_SEQ' GO -DROP TABLE IF EXISTS [dbo].[PIMS_RESEARCH_FILE_NOTE_HIST] +DROP SEQUENCE IF EXISTS [dbo].[PIMS_LEASE_DOCUMENT_H_ID_SEQ] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop sequence dbo.PIMS_RESEARCH_FILE_NOTE_H_ID_SEQ -PRINT N'Drop sequence dbo.PIMS_RESEARCH_FILE_NOTE_H_ID_SEQ' +-- Drop sequence dbo.PIMS_LEASE_DOCUMENT_ID_SEQ +PRINT N'Drop sequence dbo.PIMS_LEASE_DOCUMENT_ID_SEQ' GO -DROP SEQUENCE IF EXISTS [dbo].[PIMS_RESEARCH_FILE_NOTE_H_ID_SEQ] +DROP SEQUENCE IF EXISTS [dbo].[PIMS_LEASE_DOCUMENT_ID_SEQ] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop sequence dbo.PIMS_RESEARCH_FILE_DOCUMENT_ID_SEQ -PRINT N'Drop sequence dbo.PIMS_RESEARCH_FILE_DOCUMENT_ID_SEQ' +-- Drop sequence dbo.PIMS_LEASE_NOTE_ID_SEQ +PRINT N'Drop sequence dbo.PIMS_LEASE_NOTE_ID_SEQ' GO -DROP SEQUENCE IF EXISTS [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_ID_SEQ] +DROP SEQUENCE IF EXISTS [dbo].[PIMS_LEASE_NOTE_ID_SEQ] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop table dbo.PIMS_RESEARCH_FILE_DOCUMENT_HIST -PRINT N'Drop table dbo.PIMS_RESEARCH_FILE_DOCUMENT_HIST' +-- Drop table dbo.PIMS_LEASE_NOTE_HIST +PRINT N'Drop table dbo.PIMS_LEASE_NOTE_HIST' GO -DROP TABLE IF EXISTS [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_HIST] +DROP TABLE IF EXISTS [dbo].[PIMS_LEASE_NOTE_HIST] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop sequence dbo.PIMS_RESEARCH_FILE_DOCUMENT_H_ID_SEQ -PRINT N'Drop sequence dbo.PIMS_RESEARCH_FILE_DOCUMENT_H_ID_SEQ' +-- Drop sequence dbo.PIMS_LEASE_NOTE_H_ID_SEQ +PRINT N'Drop sequence dbo.PIMS_LEASE_NOTE_H_ID_SEQ' GO -DROP SEQUENCE IF EXISTS [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_H_ID_SEQ] +DROP SEQUENCE IF EXISTS [dbo].[PIMS_LEASE_NOTE_H_ID_SEQ] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop table dbo.PIMS_ACQUISITION_FILE_DOCUMENT_HIST -PRINT N'Drop table dbo.PIMS_ACQUISITION_FILE_DOCUMENT_HIST' +-- Drop table dbo.PIMS_RESEARCH_FILE_PROJECT_HIST +PRINT N'Drop table dbo.PIMS_RESEARCH_FILE_PROJECT_HIST' GO -DROP TABLE IF EXISTS [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT_HIST] +DROP TABLE IF EXISTS [dbo].[PIMS_RESEARCH_FILE_PROJECT_HIST] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop sequence dbo.PIMS_ACQUISITION_FILE_DOCUMENT_H_ID_SEQ -PRINT N'Drop sequence dbo.PIMS_ACQUISITION_FILE_DOCUMENT_H_ID_SEQ' +-- Drop sequence dbo.PIMS_RESEARCH_FILE_PROJECT_H_ID_SEQ +PRINT N'Drop sequence dbo.PIMS_RESEARCH_FILE_PROJECT_H_ID_SEQ' GO -DROP SEQUENCE IF EXISTS [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT_H_ID_SEQ] +DROP SEQUENCE IF EXISTS [dbo].[PIMS_RESEARCH_FILE_PROJECT_H_ID_SEQ] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop sequence dbo.PIMS_ACQUISITION_FILE_DOCUMENT_ID_SEQ -PRINT N'Drop sequence dbo.PIMS_ACQUISITION_FILE_DOCUMENT_ID_SEQ' +-- Drop sequence dbo.PIMS_RESEARCH_FILE_PROJECT_ID_SEQ +PRINT N'Drop sequence dbo.PIMS_RESEARCH_FILE_PROJECT_ID_SEQ' GO -DROP SEQUENCE IF EXISTS [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT_ID_SEQ] +DROP SEQUENCE IF EXISTS [dbo].[PIMS_RESEARCH_FILE_PROJECT_ID_SEQ] GO IF @@ERROR <> 0 SET NOEXEC ON GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Down/100_DML_PIMS_ACTIVITY_TEMPLATE_Delete.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Down/100_DML_PIMS_ACTIVITY_TEMPLATE_Delete.sql new file mode 100644 index 0000000000..947c524c2a --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Down/100_DML_PIMS_ACTIVITY_TEMPLATE_Delete.sql @@ -0,0 +1,13 @@ +/* ----------------------------------------------------------------------------- +Insert data into the PIMS_ACTIVITY_TEMPLATE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2022-Sep-30 Initial version +Doug Filteau 2022-Oct-31 Added 'File Document' +----------------------------------------------------------------------------- */ + +DELETE +FROM PIMS_ACTIVITY_TEMPLATE +WHERE ACTIVITY_TEMPLATE_TYPE_CODE IN (N'GENLTR', N'NOTENTRY', N'CONDENTRY', N'RECNEGOT', N'CONSULT', N'RECTAKES', N'OFFAGREE', N'COMPREQ'); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Down/10_DML_PIMS_STATIC_VARIABLE_VERSION.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Down/10_DML_PIMS_STATIC_VARIABLE_VERSION.sql index 8e34a2c400..6510dbcc4b 100644 --- a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Down/10_DML_PIMS_STATIC_VARIABLE_VERSION.sql +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Down/10_DML_PIMS_STATIC_VARIABLE_VERSION.sql @@ -9,7 +9,7 @@ Doug Filteau 2021-Nov-24 Initial version BEGIN TRANSACTION; DECLARE @CurrVer NVARCHAR(100) -SET @CurrVer = N'45.01' +SET @CurrVer = N'46.00' UPDATE PIMS_STATIC_VARIABLE WITH (UPDLOCK, SERIALIZABLE) diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Down/111_DML_PIMS_BUSINESS_FUNCTION_CODE_Delete.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Down/111_DML_PIMS_BUSINESS_FUNCTION_CODE_Delete.sql new file mode 100644 index 0000000000..519da3d9fc --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Down/111_DML_PIMS_BUSINESS_FUNCTION_CODE_Delete.sql @@ -0,0 +1,64 @@ +/* ----------------------------------------------------------------------------- +Populate the missing code values in the PIMS_BUSINESS_FUNCTION_CODE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-30 Initial version +----------------------------------------------------------------------------- */ + +BEGIN TRANSACTION; + +DECLARE @CurrCd NVARCHAR(20) +SET @CurrCd = N'MANAGE' + +SELECT CODE +FROM PIMS_BUSINESS_FUNCTION_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 1 + BEGIN + DELETE + FROM PIMS_BUSINESS_FUNCTION_CODE + WHERE CODE = @CurrCd; + END + +SET @CurrCd = N'ORIO ACQ' + +SELECT CODE +FROM PIMS_BUSINESS_FUNCTION_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 1 + BEGIN + DELETE + FROM PIMS_BUSINESS_FUNCTION_CODE + WHERE CODE = @CurrCd; + END + +SET @CurrCd = N'PROP AQU' + +SELECT CODE +FROM PIMS_BUSINESS_FUNCTION_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 1 + BEGIN + DELETE + FROM PIMS_BUSINESS_FUNCTION_CODE + WHERE CODE = @CurrCd; + END + +SET @CurrCd = N'PROP MAN' + +SELECT CODE +FROM PIMS_BUSINESS_FUNCTION_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 1 + BEGIN + DELETE + FROM PIMS_BUSINESS_FUNCTION_CODE + WHERE CODE = @CurrCd; + END + +COMMIT TRANSACTION; diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Down/112_DML_PIMS_COST_TYPE_CODE_Delete.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Down/112_DML_PIMS_COST_TYPE_CODE_Delete.sql new file mode 100644 index 0000000000..c828f2d28d --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Down/112_DML_PIMS_COST_TYPE_CODE_Delete.sql @@ -0,0 +1,25 @@ +/* ----------------------------------------------------------------------------- +Delete the missing code values in the PIMS_COST_TYPE_CODE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-30 Initial version +----------------------------------------------------------------------------- */ + +BEGIN TRANSACTION; + +DECLARE @CurrCd NVARCHAR(20) +SET @CurrCd = N'WBO' + +SELECT CODE +FROM PIMS_COST_TYPE_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 1 + BEGIN + DELETE + FROM PIMS_COST_TYPE_CODE + WHERE CODE = @CurrCd; + END + +COMMIT TRANSACTION; diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Down/113_DML_PIMS_WORK_ACTIVITY_CODE_Delete.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Down/113_DML_PIMS_WORK_ACTIVITY_CODE_Delete.sql new file mode 100644 index 0000000000..dfbc09ce9e --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Down/113_DML_PIMS_WORK_ACTIVITY_CODE_Delete.sql @@ -0,0 +1,77 @@ +/* ----------------------------------------------------------------------------- +Populate the missing code values in the PIMS_WORK_ACTIVITY_CODE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-30 Initial version +----------------------------------------------------------------------------- */ + +BEGIN TRANSACTION; + +DECLARE @CurrCd NVARCHAR(20) +SET @CurrCd = N'PROP MAN' + +SELECT CODE +FROM PIMS_WORK_ACTIVITY_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 1 + BEGIN + DELETE + FROM PIMS_WORK_ACTIVITY_CODE + WHERE CODE = @CurrCd; + END + +SET @CurrCd = N'SURVEY' + +SELECT CODE +FROM PIMS_WORK_ACTIVITY_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 1 + BEGIN + DELETE + FROM PIMS_WORK_ACTIVITY_CODE + WHERE CODE = @CurrCd; + END + +SET @CurrCd = N'ELEC MAIN' + +SELECT CODE +FROM PIMS_WORK_ACTIVITY_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 1 + BEGIN + DELETE + FROM PIMS_WORK_ACTIVITY_CODE + WHERE CODE = @CurrCd; + END + +SET @CurrCd = N'ACQ PROP' + +SELECT CODE +FROM PIMS_WORK_ACTIVITY_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 1 + BEGIN + DELETE + FROM PIMS_WORK_ACTIVITY_CODE + WHERE CODE = @CurrCd; + END + +SET @CurrCd = N'PA GENERAL' + +SELECT CODE +FROM PIMS_WORK_ACTIVITY_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 1 + BEGIN + DELETE + FROM PIMS_WORK_ACTIVITY_CODE + WHERE CODE = @CurrCd; + END + +COMMIT TRANSACTION; diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Down/Schema Compare.zip b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Down/Schema Compare.zip index c77d17a621..ef2fa7981a 100644 Binary files a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Down/Schema Compare.zip and b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Down/Schema Compare.zip differ diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/002_PSP_PIMS_Alter_Up.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/002_PSP_PIMS_Alter_Up.sql index 4c6ea6a218..0e4f055408 100644 --- a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/002_PSP_PIMS_Alter_Up.sql +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/002_PSP_PIMS_Alter_Up.sql @@ -1,8 +1,8 @@ --- Script generated by Aqua Data Studio Schema Synchronization for MS SQL Server 2016 on Thu Jan 26 12:52:42 PST 2023 +-- Script generated by Aqua Data Studio Schema Synchronization for MS SQL Server 2016 on Fri Feb 03 10:32:58 PST 2023 -- Execute this script on: --- PSP_PIMS_S45_01/dbo - This database/schema will be modified +-- PSP_PIMS_S46_00/dbo - This database/schema will be modified -- to synchronize it with MS SQL Server 2016: --- PSP_PIMS_S46_00/dbo +-- PSP_PIMS_S47_00/dbo -- We recommend backing up the database prior to executing the script. @@ -15,666 +15,1612 @@ GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop index dbo.PROJCT_REGION_CODE_IDX -PRINT N'Drop index dbo.PROJCT_REGION_CODE_IDX' +-- Drop trigger dbo.PIMS_RSCDOC_I_S_U_TR +PRINT N'Drop trigger dbo.PIMS_RSCDOC_I_S_U_TR' GO -DROP INDEX IF EXISTS [dbo].[PIMS_PROJECT].[PROJCT_REGION_CODE_IDX] +DROP TRIGGER IF EXISTS [dbo].[PIMS_RSCDOC_I_S_U_TR] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop unique index dbo.PROJCT_CODE_IDX -PRINT N'Drop unique index dbo.PROJCT_CODE_IDX' +-- Drop trigger dbo.PIMS_RSCDOC_I_S_I_TR +PRINT N'Drop trigger dbo.PIMS_RSCDOC_I_S_I_TR' GO -DROP INDEX IF EXISTS [dbo].[PIMS_PROJECT].[PROJCT_CODE_IDX] +DROP TRIGGER IF EXISTS [dbo].[PIMS_RSCDOC_I_S_I_TR] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Create sequence dbo.PIMS_RESEARCH_FILE_NOTE_ID_SEQ -PRINT N'Create sequence dbo.PIMS_RESEARCH_FILE_NOTE_ID_SEQ' +-- Drop trigger dbo.PIMS_RSCDOC_A_S_IUD_TR +PRINT N'Drop trigger dbo.PIMS_RSCDOC_A_S_IUD_TR' GO -CREATE SEQUENCE [dbo].[PIMS_RESEARCH_FILE_NOTE_ID_SEQ] - AS bigint - START WITH 1 - INCREMENT BY 1 - MINVALUE 1 - MAXVALUE 2147483647 - NO CYCLE - CACHE 50 +DROP TRIGGER IF EXISTS [dbo].[PIMS_RSCDOC_A_S_IUD_TR] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Create table dbo.PIMS_RESEARCH_FILE_NOTE -PRINT N'Create table dbo.PIMS_RESEARCH_FILE_NOTE' -GO -CREATE TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ( - [RESEARCH_FILE_NOTE_ID] bigint NOT NULL CONSTRAINT [RSCNOT_RESEARCH_FILE_NOTE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_NOTE_ID_SEQ]), - [RESEARCH_FILE_ID] bigint NOT NULL, - [NOTE_ID] bigint NOT NULL, - [IS_DISABLED] bit NULL CONSTRAINT [RSCNOT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), - [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [RSCNOT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), - [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSCNOT_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), - [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSCNOT_APP_CREATE_USERID_DEF] DEFAULT (user_name()), - [APP_CREATE_USER_GUID] uniqueidentifier NULL, - [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RSCNOT_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), - [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSCNOT_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), - [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSCNOT_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), - [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, - [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RSCNOT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), - [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSCNOT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), - [DB_CREATE_USERID] nvarchar(30) NULL CONSTRAINT [RSCNOT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), - [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSCNOT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), - [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSCNOT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), - CONSTRAINT [RSCNOT_PK] PRIMARY KEY CLUSTERED([RESEARCH_FILE_NOTE_ID],[RESEARCH_FILE_ID]) - ON [PRIMARY]) -GO -EXEC sp_addextendedproperty - @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , - @level0type = N'Schema', @level0name = N'dbo', - @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE_NOTE', - @level2type = N'Column', @level2name = N'IS_DISABLED' +-- Drop foreign key constraint dbo.PIM_NOTE_PIM_RSCNOT_FK +PRINT N'Drop foreign key constraint dbo.PIM_NOTE_PIM_RSCNOT_FK' GO -EXEC sp_addextendedproperty - @name = N'MS_Description', @value = N'Defines the relationship betwwen a research file and a note.' , - @level0type = N'Schema', @level0name = N'dbo', - @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE_NOTE' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + DROP CONSTRAINT IF EXISTS [PIM_NOTE_PIM_RSCNOT_FK] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Create unique constraint dbo.RSCNOT_RSRCH_FILE_NOTE_TUC -PRINT N'Create unique constraint dbo.RSCNOT_RSRCH_FILE_NOTE_TUC' +-- Drop foreign key constraint dbo.PIM_RESRCH_PIM_RSCNOT_FK +PRINT N'Drop foreign key constraint dbo.PIM_RESRCH_PIM_RSCNOT_FK' GO ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] - ADD CONSTRAINT [RSCNOT_RSRCH_FILE_NOTE_TUC] - UNIQUE ([NOTE_ID], [RESEARCH_FILE_ID]) - WITH ( - DATA_COMPRESSION = NONE - ) ON [PRIMARY] + DROP CONSTRAINT IF EXISTS [PIM_RESRCH_PIM_RSCNOT_FK] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Alter table dbo.PIMS_PROJECT -PRINT N'Alter table dbo.PIMS_PROJECT' +-- Drop foreign key constraint dbo.PIM_RESRCH_PIM_RSCDOC_FK +PRINT N'Drop foreign key constraint dbo.PIM_RESRCH_PIM_RSCDOC_FK' GO -ALTER TABLE [dbo].[PIMS_PROJECT] ALTER COLUMN [PROJECT_STATUS_TYPE_CODE] nvarchar(20) NULL +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + DROP CONSTRAINT IF EXISTS [PIM_RESRCH_PIM_RSCDOC_FK] GO IF @@ERROR <> 0 SET NOEXEC ON GO -ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT IF EXISTS [PROJCT_PROJECT_STATUS_CODE_DEF] + +-- Drop foreign key constraint dbo.PIM_DOCMNT_PIM_RSCDOC_FK +PRINT N'Drop foreign key constraint dbo.PIM_DOCMNT_PIM_RSCDOC_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + DROP CONSTRAINT IF EXISTS [PIM_DOCMNT_PIM_RSCDOC_FK] GO IF @@ERROR <> 0 SET NOEXEC ON GO -UPDATE [dbo].[PIMS_PROJECT] SET [REGION_CODE] = ((4)), CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1 WHERE [REGION_CODE] IS NULL + +-- Drop index dbo.RSCDOC_RESEARCH_FILE_ID_IDX +PRINT N'Drop index dbo.RSCDOC_RESEARCH_FILE_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_RESEARCH_FILE_DOCUMENT].[RSCDOC_RESEARCH_FILE_ID_IDX] GO IF @@ERROR <> 0 SET NOEXEC ON GO -ALTER TABLE [dbo].[PIMS_PROJECT] ALTER COLUMN [REGION_CODE] smallint NOT NULL + +-- Drop index dbo.RSCDOC_DOCUMENT_ID_IDX +PRINT N'Drop index dbo.RSCDOC_DOCUMENT_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_RESEARCH_FILE_DOCUMENT].[RSCDOC_DOCUMENT_ID_IDX] GO IF @@ERROR <> 0 SET NOEXEC ON GO -ALTER TABLE [dbo].[PIMS_PROJECT] ADD CONSTRAINT [PROJCT_REGION_CODE_DEF] DEFAULT ((4)) FOR [REGION_CODE] + +-- Drop trigger dbo.PIMS_RSCNOT_I_S_U_TR +PRINT N'Drop trigger dbo.PIMS_RSCNOT_I_S_U_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RSCNOT_I_S_U_TR] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop dynamically-named default constraints -PRINT N'Drop dynamically-named default constraints' +-- Drop trigger dbo.PIMS_RSCNOT_I_S_I_TR +PRINT N'Drop trigger dbo.PIMS_RSCNOT_I_S_I_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RSCNOT_I_S_I_TR] GO -DECLARE @sqlQry VARCHAR(1000) -DECLARE @defName VARCHAR(100) -SET @defName = (SELECT obj.NAME - FROM SYSOBJECTS obj INNER JOIN - SYSCOLUMNS col on obj.ID = col.CDEFAULT INNER JOIN - SYSOBJECTS tbl on col.ID = tbl.ID - WHERE obj.XTYPE = 'D' - AND tbl.NAME = 'PIMS_PROJECT' - AND col.NAME = 'CODE') -SET @sqlQry = 'ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT IF EXISTS [' + @defName + ']' -EXEC (@sqlQry) IF @@ERROR <> 0 SET NOEXEC ON GO -ALTER TABLE [dbo].[PIMS_PROJECT] ALTER COLUMN [CODE] nvarchar(20) NULL +-- Drop trigger dbo.PIMS_RSCNOT_A_S_IUD_TR +PRINT N'Drop trigger dbo.PIMS_RSCNOT_A_S_IUD_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RSCNOT_A_S_IUD_TR] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Drop dynamically-named default constraints -PRINT N'Drop dynamically-named default constraints' +-- Drop index dbo.RSCNOT_RESEARCH_FILE_ID_IDX +PRINT N'Drop index dbo.RSCNOT_RESEARCH_FILE_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_RESEARCH_FILE_NOTE].[RSCNOT_RESEARCH_FILE_ID_IDX] GO -DECLARE @sqlQry VARCHAR(1000) -DECLARE @defName VARCHAR(100) -SET @defName = (SELECT obj.NAME - FROM SYSOBJECTS obj INNER JOIN - SYSCOLUMNS col on obj.ID = col.CDEFAULT INNER JOIN - SYSOBJECTS tbl on col.ID = tbl.ID - WHERE obj.XTYPE = 'D' - AND tbl.NAME = 'PIMS_PROJECT' - AND col.NAME = 'DESCRIPTION') -SET @sqlQry = 'ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT IF EXISTS [' + @defName + ']' -EXEC (@sqlQry) IF @@ERROR <> 0 SET NOEXEC ON GO -ALTER TABLE [dbo].[PIMS_PROJECT] ADD CONSTRAINT [PROJCT_DESCRIPTION_DEF] DEFAULT ('') FOR [DESCRIPTION] +-- Drop index dbo.RSCNOT_NOTE_ID_IDX +PRINT N'Drop index dbo.RSCNOT_NOTE_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_RESEARCH_FILE_NOTE].[RSCNOT_NOTE_ID_IDX] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Create sequence dbo.PIMS_ACQUISITION_FILE_DOCUMENT_ID_SEQ -PRINT N'Create sequence dbo.PIMS_ACQUISITION_FILE_DOCUMENT_ID_SEQ' +-- Drop unique constraint dbo.PIMS_RSCDOC_H_UK +PRINT N'Drop unique constraint dbo.PIMS_RSCDOC_H_UK' GO -CREATE SEQUENCE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT_ID_SEQ] - AS bigint - START WITH 1 - INCREMENT BY 1 - MINVALUE 1 - MAXVALUE 2147483647 - NO CYCLE - CACHE 50 +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_RSCDOC_H_UK] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Create table dbo.PIMS_ACQUISITION_FILE_DOCUMENT -PRINT N'Create table dbo.PIMS_ACQUISITION_FILE_DOCUMENT' +-- Drop primary key constraint dbo.PIMS_RSCDOC_H_PK +PRINT N'Drop primary key constraint dbo.PIMS_RSCDOC_H_PK' GO -CREATE TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] ( - [ACQUISITION_FILE_DOCUMENT_ID] bigint NOT NULL CONSTRAINT [ACQDOC_ACQUISITION_FILE_DOCUMENT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_ACQUISITION_FILE_DOCUMENT_ID_SEQ]), - [ACQUISITION_FILE_ID] bigint NOT NULL, - [DOCUMENT_ID] bigint NOT NULL, - [IS_DISABLED] bit NULL CONSTRAINT [ACQDOC_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), - [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ACQDOC_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), - [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQDOC_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), - [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQDOC_APP_CREATE_USERID_DEF] DEFAULT (user_name()), - [APP_CREATE_USER_GUID] uniqueidentifier NULL, - [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [ACQDOC_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), - [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQDOC_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), - [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQDOC_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), - [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, - [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [ACQDOC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), - [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQDOC_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), - [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQDOC_DB_CREATE_USERID_DEF] DEFAULT (user_name()), - [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQDOC_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), - [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQDOC_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), - CONSTRAINT [ACQDOC_PK] PRIMARY KEY CLUSTERED([ACQUISITION_FILE_DOCUMENT_ID]) - ON [PRIMARY]) +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_RSCDOC_H_PK] GO -EXEC sp_addextendedproperty - @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , - @level0type = N'Schema', @level0name = N'dbo', - @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE_DOCUMENT', - @level2type = N'Column', @level2name = N'IS_DISABLED' +IF @@ERROR <> 0 SET NOEXEC ON GO -EXEC sp_addextendedproperty - @name = N'MS_Description', @value = N'Defines the relationship between an acquisition file and a document.' , - @level0type = N'Schema', @level0name = N'dbo', - @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE_DOCUMENT' + +-- Drop unique constraint dbo.PIMS_RSCNOT_H_UK +PRINT N'Drop unique constraint dbo.PIMS_RSCNOT_H_UK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_RSCNOT_H_UK] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Create unique constraint dbo.ACQNOT_ACQUISITION_FILE_DOCUMENT_TUC -PRINT N'Create unique constraint dbo.ACQNOT_ACQUISITION_FILE_DOCUMENT_TUC' +-- Drop primary key constraint dbo.PIMS_RSCNOT_H_PK +PRINT N'Drop primary key constraint dbo.PIMS_RSCNOT_H_PK' GO -ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] - ADD CONSTRAINT [ACQNOT_ACQUISITION_FILE_DOCUMENT_TUC] - UNIQUE ([DOCUMENT_ID], [ACQUISITION_FILE_ID]) - WITH ( - DATA_COMPRESSION = NONE - ) ON [PRIMARY] +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_RSCNOT_H_PK] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Create sequence dbo.PIMS_RESEARCH_FILE_DOCUMENT_ID_SEQ -PRINT N'Create sequence dbo.PIMS_RESEARCH_FILE_DOCUMENT_ID_SEQ' +-- Drop unique constraint dbo.RSCNOT_RSRCH_FILE_NOTE_TUC +PRINT N'Drop unique constraint dbo.RSCNOT_RSRCH_FILE_NOTE_TUC' GO -CREATE SEQUENCE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_ID_SEQ] - AS bigint - START WITH 1 - INCREMENT BY 1 - MINVALUE 1 - MAXVALUE 2147483647 - NO CYCLE - CACHE 50 +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + DROP CONSTRAINT IF EXISTS [RSCNOT_RSRCH_FILE_NOTE_TUC] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Create table dbo.PIMS_RESEARCH_FILE_DOCUMENT -PRINT N'Create table dbo.PIMS_RESEARCH_FILE_DOCUMENT' +-- Drop primary key constraint dbo.RSCNOT_PK +PRINT N'Drop primary key constraint dbo.RSCNOT_PK' GO -CREATE TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ( - [RESEARCH_FILE_DOCUMENT_ID] bigint NOT NULL CONSTRAINT [RSCDOC_RESEARCH_FILE_DOCUMENT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_DOCUMENT_ID_SEQ]), - [RESEARCH_FILE_ID] bigint NOT NULL, - [DOCUMENT_ID] bigint NOT NULL, - [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSCDOC_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), - [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RSCDOC_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), - [APP_CREATE_USER_GUID] uniqueidentifier NULL, - [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSCDOC_APP_CREATE_USERID_DEF] DEFAULT (user_name()), - [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSCDOC_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), - [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RSCDOC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), - [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, - [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSCDOC_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), - [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [RSCDOC_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), - [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSCDOC_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), - [DB_CREATE_USERID] nvarchar(30) NULL CONSTRAINT [RSCDOC_DB_CREATE_USERID_DEF] DEFAULT (user_name()), - [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSCDOC_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), - [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSCDOC_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), - [IS_DISABLED] bit NULL CONSTRAINT [RSCDOC_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), - CONSTRAINT [RSCDOC_PK] PRIMARY KEY CLUSTERED([RESEARCH_FILE_DOCUMENT_ID]) - ON [PRIMARY]) +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + DROP CONSTRAINT IF EXISTS [RSCNOT_PK] GO -EXEC sp_addextendedproperty - @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , - @level0type = N'Schema', @level0name = N'dbo', - @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE_DOCUMENT', - @level2type = N'Column', @level2name = N'IS_DISABLED' +IF @@ERROR <> 0 SET NOEXEC ON GO -EXEC sp_addextendedproperty - @name = N'MS_Description', @value = N'Defines the relationship betwwen a research file and a document.' , - @level0type = N'Schema', @level0name = N'dbo', - @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE_DOCUMENT' + +-- Drop unique constraint dbo.RSCDOC_RESEARCH_FILE_DOCUMENT_TUC +PRINT N'Drop unique constraint dbo.RSCDOC_RESEARCH_FILE_DOCUMENT_TUC' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + DROP CONSTRAINT IF EXISTS [RSCDOC_RESEARCH_FILE_DOCUMENT_TUC] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Create unique constraint dbo.RSCDOC_RESEARCH_FILE_DOCUMENT_TUC -PRINT N'Create unique constraint dbo.RSCDOC_RESEARCH_FILE_DOCUMENT_TUC' +-- Drop primary key constraint dbo.RSCDOC_PK +PRINT N'Drop primary key constraint dbo.RSCDOC_PK' GO ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] - ADD CONSTRAINT [RSCDOC_RESEARCH_FILE_DOCUMENT_TUC] - UNIQUE ([DOCUMENT_ID], [RESEARCH_FILE_ID]) - WITH ( - DATA_COMPRESSION = NONE - ) ON [PRIMARY] + DROP CONSTRAINT IF EXISTS [RSCDOC_PK] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Create sequence dbo.PIMS_RESEARCH_FILE_DOCUMENT_H_ID_SEQ -PRINT N'Create sequence dbo.PIMS_RESEARCH_FILE_DOCUMENT_H_ID_SEQ' +-- Alter table dbo.PIMS_RESEARCH_FILE_DOCUMENT +PRINT N'Alter table dbo.PIMS_RESEARCH_FILE_DOCUMENT' GO -CREATE SEQUENCE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_H_ID_SEQ] - AS bigint - START WITH 1 - INCREMENT BY 1 - MINVALUE 1 - MAXVALUE 2147483647 - NO CYCLE - CACHE 50 +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RSCDOC_RESEARCH_FILE_DOCUMENT_ID_DEF] GO IF @@ERROR <> 0 SET NOEXEC ON GO - --- Create table dbo.PIMS_RESEARCH_FILE_DOCUMENT_HIST -PRINT N'Create table dbo.PIMS_RESEARCH_FILE_DOCUMENT_HIST' -GO -CREATE TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_HIST] ( - [_RESEARCH_FILE_DOCUMENT_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_DOCUMENT_H_ID_SEQ]), - [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), - [END_DATE_HIST] datetime NULL, - [RESEARCH_FILE_DOCUMENT_ID] bigint NOT NULL, - [RESEARCH_FILE_ID] bigint NOT NULL, - [DOCUMENT_ID] bigint NOT NULL, - [APP_CREATE_TIMESTAMP] datetime NOT NULL, - [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, - [APP_CREATE_USER_GUID] uniqueidentifier NULL, - [APP_CREATE_USERID] nvarchar(30) NOT NULL, - [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, - [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, - [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, - [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, - [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, - [DB_CREATE_TIMESTAMP] datetime NOT NULL, - [DB_CREATE_USERID] nvarchar(30) NULL, - [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, - [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, - [IS_DISABLED] bit NULL, - CONSTRAINT [PIMS_RSCDOC_H_PK] PRIMARY KEY CLUSTERED([_RESEARCH_FILE_DOCUMENT_HIST_ID]) - ON [PRIMARY]) +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RFLDOC_RESEARCH_FILE_DOCUMENT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_DOCUMENT_ID_SEQ]) FOR [RESEARCH_FILE_DOCUMENT_ID] GO IF @@ERROR <> 0 SET NOEXEC ON GO - --- Create unique constraint dbo.PIMS_RSCDOC_H_UK -PRINT N'Create unique constraint dbo.PIMS_RSCDOC_H_UK' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RSCDOC_APP_CREATE_TIMESTAMP_DEF] GO -ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_HIST] - ADD CONSTRAINT [PIMS_RSCDOC_H_UK] - UNIQUE ([_RESEARCH_FILE_DOCUMENT_HIST_ID], [END_DATE_HIST]) - WITH ( - DATA_COMPRESSION = NONE - ) ON [PRIMARY] +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RFLDOC_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [APP_CREATE_TIMESTAMP] GO IF @@ERROR <> 0 SET NOEXEC ON GO - --- Create sequence dbo.PIMS_ACQUISITION_FILE_DOCUMENT_H_ID_SEQ -PRINT N'Create sequence dbo.PIMS_ACQUISITION_FILE_DOCUMENT_H_ID_SEQ' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RSCDOC_APP_CREATE_USER_DIRECTORY_DEF] GO -CREATE SEQUENCE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT_H_ID_SEQ] - AS bigint - START WITH 1 - INCREMENT BY 1 - MINVALUE 1 - MAXVALUE 2147483647 - NO CYCLE - CACHE 50 +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RFLDOC_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()) FOR [APP_CREATE_USER_DIRECTORY] GO IF @@ERROR <> 0 SET NOEXEC ON GO - --- Create table dbo.PIMS_ACQUISITION_FILE_DOCUMENT_HIST -PRINT N'Create table dbo.PIMS_ACQUISITION_FILE_DOCUMENT_HIST' -GO -CREATE TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT_HIST] ( - [_ACQUISITION_FILE_DOCUMENT_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_ACQUISITION_FILE_DOCUMENT_H_ID_SEQ]), - [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), - [END_DATE_HIST] datetime NULL, - [ACQUISITION_FILE_DOCUMENT_ID] bigint NOT NULL, - [ACQUISITION_FILE_ID] bigint NOT NULL, - [DOCUMENT_ID] bigint NOT NULL, - [IS_DISABLED] bit NULL, - [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, - [APP_CREATE_TIMESTAMP] datetime NOT NULL, - [APP_CREATE_USERID] nvarchar(30) NOT NULL, - [APP_CREATE_USER_GUID] uniqueidentifier NULL, - [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, - [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, - [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, - [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, - [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, - [DB_CREATE_TIMESTAMP] datetime NOT NULL, - [DB_CREATE_USERID] nvarchar(30) NOT NULL, - [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, - [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, - CONSTRAINT [PIMS_ACQDOC_H_PK] PRIMARY KEY CLUSTERED([_ACQUISITION_FILE_DOCUMENT_HIST_ID]) - ON [PRIMARY]) +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RSCDOC_APP_CREATE_USERID_DEF] GO IF @@ERROR <> 0 SET NOEXEC ON GO - --- Create unique constraint dbo.PIMS_ACQDOC_H_UK -PRINT N'Create unique constraint dbo.PIMS_ACQDOC_H_UK' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RFLDOC_APP_CREATE_USERID_DEF] DEFAULT (user_name()) FOR [APP_CREATE_USERID] GO -ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT_HIST] - ADD CONSTRAINT [PIMS_ACQDOC_H_UK] - UNIQUE ([_ACQUISITION_FILE_DOCUMENT_HIST_ID], [END_DATE_HIST]) - WITH ( - DATA_COMPRESSION = NONE - ) ON [PRIMARY] +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RSCDOC_APP_LAST_UPDATE_TIMESTAMP_DEF] GO IF @@ERROR <> 0 SET NOEXEC ON GO - --- Create sequence dbo.PIMS_RESEARCH_FILE_NOTE_H_ID_SEQ -PRINT N'Create sequence dbo.PIMS_RESEARCH_FILE_NOTE_H_ID_SEQ' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RFLDOC_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [APP_LAST_UPDATE_TIMESTAMP] GO -CREATE SEQUENCE [dbo].[PIMS_RESEARCH_FILE_NOTE_H_ID_SEQ] - AS bigint - START WITH 1 - INCREMENT BY 1 - MINVALUE 1 - MAXVALUE 2147483647 - NO CYCLE - CACHE 50 +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RSCDOC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] GO IF @@ERROR <> 0 SET NOEXEC ON GO - --- Create table dbo.PIMS_RESEARCH_FILE_NOTE_HIST -PRINT N'Create table dbo.PIMS_RESEARCH_FILE_NOTE_HIST' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RFLDOC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()) FOR [APP_LAST_UPDATE_USER_DIRECTORY] GO -CREATE TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE_HIST] ( - [_RESEARCH_FILE_NOTE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_NOTE_H_ID_SEQ]), - [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), - [END_DATE_HIST] datetime NULL, - [RESEARCH_FILE_NOTE_ID] bigint NOT NULL, - [RESEARCH_FILE_ID] bigint NOT NULL, - [NOTE_ID] bigint NOT NULL, - [IS_DISABLED] bit NULL, - [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, - [APP_CREATE_TIMESTAMP] datetime NOT NULL, - [APP_CREATE_USERID] nvarchar(30) NOT NULL, - [APP_CREATE_USER_GUID] uniqueidentifier NULL, - [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, - [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, - [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, - [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, - [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, - [DB_CREATE_TIMESTAMP] datetime NOT NULL, - [DB_CREATE_USERID] nvarchar(30) NULL, - [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, - [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, - CONSTRAINT [PIMS_RSCNOT_H_PK] PRIMARY KEY CLUSTERED([_RESEARCH_FILE_NOTE_HIST_ID]) - ON [PRIMARY]) +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RSCDOC_APP_LAST_UPDATE_USERID_DEF] GO IF @@ERROR <> 0 SET NOEXEC ON GO - --- Create unique constraint dbo.PIMS_RSCNOT_H_UK -PRINT N'Create unique constraint dbo.PIMS_RSCNOT_H_UK' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RFLDOC_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) FOR [APP_LAST_UPDATE_USERID] GO -ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE_HIST] - ADD CONSTRAINT [PIMS_RSCNOT_H_UK] - UNIQUE ([_RESEARCH_FILE_NOTE_HIST_ID], [END_DATE_HIST]) - WITH ( - DATA_COMPRESSION = NONE - ) ON [PRIMARY] +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RSCDOC_CONCURRENCY_CONTROL_NUMBER_DEF] GO IF @@ERROR <> 0 SET NOEXEC ON GO - --- Alter table dbo.PIMS_ACQUISITION_FILE_NOTE -PRINT N'Alter table dbo.PIMS_ACQUISITION_FILE_NOTE' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RFLDOC_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)) FOR [CONCURRENCY_CONTROL_NUMBER] GO -EXEC sp_addextendedproperty - @name = N'MS_Description', @value = N'Defines the relationship between an acquisition file and a note.' , - @level0type = N'Schema', @level0name = N'dbo', - @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE_NOTE' +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RSCDOC_DB_CREATE_TIMESTAMP_DEF] GO IF @@ERROR <> 0 SET NOEXEC ON GO - --- Alter table dbo.PIMS_PROJECT_HIST -PRINT N'Alter table dbo.PIMS_PROJECT_HIST' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RFLDOC_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [DB_CREATE_TIMESTAMP] +GO +IF @@ERROR <> 0 SET NOEXEC ON GO -ALTER TABLE [dbo].[PIMS_PROJECT_HIST] ALTER COLUMN [PROJECT_STATUS_TYPE_CODE] nvarchar(20) NULL +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RSCDOC_DB_CREATE_USERID_DEF] GO IF @@ERROR <> 0 SET NOEXEC ON GO -UPDATE [dbo].[PIMS_PROJECT_HIST] SET [REGION_CODE] = 4, CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1 WHERE [REGION_CODE] IS NULL +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RFLDOC_DB_CREATE_USERID_DEF] DEFAULT (user_name()) FOR [DB_CREATE_USERID] GO IF @@ERROR <> 0 SET NOEXEC ON GO -ALTER TABLE [dbo].[PIMS_PROJECT_HIST] ALTER COLUMN [REGION_CODE] smallint NOT NULL +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RSCDOC_DB_LAST_UPDATE_TIMESTAMP_DEF] GO IF @@ERROR <> 0 SET NOEXEC ON GO - --- Drop dynamically-named default constraints -PRINT N'Drop dynamically-named default constraints' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RFLDOC_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [DB_LAST_UPDATE_TIMESTAMP] GO -DECLARE @sqlQry VARCHAR(1000) -DECLARE @defName VARCHAR(100) -SET @defName = (SELECT obj.NAME - FROM SYSOBJECTS obj INNER JOIN - SYSCOLUMNS col on obj.ID = col.CDEFAULT INNER JOIN - SYSOBJECTS tbl on col.ID = tbl.ID - WHERE obj.XTYPE = 'D' - AND tbl.NAME = 'PIMS_PROJECT_HIST' - AND col.NAME = 'CODE') -SET @sqlQry = 'ALTER TABLE [dbo].[PIMS_PROJECT_HIST] DROP CONSTRAINT IF EXISTS [' + @defName + ']' -EXEC (@sqlQry) IF @@ERROR <> 0 SET NOEXEC ON GO - -ALTER TABLE [dbo].[PIMS_PROJECT_HIST] ALTER COLUMN [CODE] nvarchar(20) NULL +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RSCDOC_DB_LAST_UPDATE_USERID_DEF] GO IF @@ERROR <> 0 SET NOEXEC ON GO - --- Create index dbo.RSCNOT_NOTE_ID_IDX -PRINT N'Create index dbo.RSCNOT_NOTE_ID_IDX' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RFLDOC_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) FOR [DB_LAST_UPDATE_USERID] GO -CREATE NONCLUSTERED INDEX [RSCNOT_NOTE_ID_IDX] - ON [dbo].[PIMS_RESEARCH_FILE_NOTE]([NOTE_ID]) +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RSCDOC_IS_DISABLED_DEF] GO IF @@ERROR <> 0 SET NOEXEC ON GO - --- Create index dbo.PROJCT_CODE_IDX -PRINT N'Create index dbo.PROJCT_CODE_IDX' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RFLDOC_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))) FOR [IS_DISABLED] GO -CREATE NONCLUSTERED INDEX [PROJCT_CODE_IDX] - ON [dbo].[PIMS_PROJECT]([CODE]) +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + ADD CONSTRAINT [RFLDOC_PK] + PRIMARY KEY CLUSTERED ([RESEARCH_FILE_DOCUMENT_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Create index dbo.PROJCT_REGION_CODE_IDX -PRINT N'Create index dbo.PROJCT_REGION_CODE_IDX' +-- Create unique constraint dbo.RFLDOC_RESEARCH_FILE_DOCUMENT_TUC +PRINT N'Create unique constraint dbo.RFLDOC_RESEARCH_FILE_DOCUMENT_TUC' GO -CREATE NONCLUSTERED INDEX [PROJCT_REGION_CODE_IDX] - ON [dbo].[PIMS_PROJECT]([REGION_CODE]) +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + ADD CONSTRAINT [RFLDOC_RESEARCH_FILE_DOCUMENT_TUC] + UNIQUE ([DOCUMENT_ID], [RESEARCH_FILE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Create index dbo.ACQDOC_ACQUISITION_FILE_ID_IDX -PRINT N'Create index dbo.ACQDOC_ACQUISITION_FILE_ID_IDX' +-- Alter table dbo.PIMS_RESEARCH_FILE_NOTE +PRINT N'Alter table dbo.PIMS_RESEARCH_FILE_NOTE' GO -CREATE NONCLUSTERED INDEX [ACQDOC_ACQUISITION_FILE_ID_IDX] - ON [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT]([ACQUISITION_FILE_ID]) +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RSCNOT_RESEARCH_FILE_NOTE_ID_DEF] GO IF @@ERROR <> 0 SET NOEXEC ON GO - --- Create index dbo.RSCNOT_RESEARCH_FILE_ID_IDX -PRINT N'Create index dbo.RSCNOT_RESEARCH_FILE_ID_IDX' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RFLNOT_RESEARCH_FILE_NOTE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_NOTE_ID_SEQ]) FOR [RESEARCH_FILE_NOTE_ID] GO -CREATE NONCLUSTERED INDEX [RSCNOT_RESEARCH_FILE_ID_IDX] - ON [dbo].[PIMS_RESEARCH_FILE_NOTE]([RESEARCH_FILE_ID]) +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RSCNOT_IS_DISABLED_DEF] GO IF @@ERROR <> 0 SET NOEXEC ON GO - --- Create index dbo.RSCDOC_RESEARCH_FILE_ID_IDX -PRINT N'Create index dbo.RSCDOC_RESEARCH_FILE_ID_IDX' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RFLNOT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))) FOR [IS_DISABLED] GO -CREATE NONCLUSTERED INDEX [RSCDOC_RESEARCH_FILE_ID_IDX] - ON [dbo].[PIMS_RESEARCH_FILE_DOCUMENT]([RESEARCH_FILE_ID]) +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RSCNOT_CONCURRENCY_CONTROL_NUMBER_DEF] GO IF @@ERROR <> 0 SET NOEXEC ON GO - --- Create index dbo.RSCDOC_DOCUMENT_ID_IDX -PRINT N'Create index dbo.RSCDOC_DOCUMENT_ID_IDX' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RFLNOT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)) FOR [CONCURRENCY_CONTROL_NUMBER] GO -CREATE NONCLUSTERED INDEX [RSCDOC_DOCUMENT_ID_IDX] - ON [dbo].[PIMS_RESEARCH_FILE_DOCUMENT]([DOCUMENT_ID]) +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RSCNOT_APP_CREATE_TIMESTAMP_DEF] GO IF @@ERROR <> 0 SET NOEXEC ON GO - --- Create index dbo.ACQDOC_DOCUMENT_ID_IDX -PRINT N'Create index dbo.ACQDOC_DOCUMENT_ID_IDX' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RFLNOT_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [APP_CREATE_TIMESTAMP] GO -CREATE NONCLUSTERED INDEX [ACQDOC_DOCUMENT_ID_IDX] - ON [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT]([DOCUMENT_ID]) +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RSCNOT_APP_CREATE_USERID_DEF] GO IF @@ERROR <> 0 SET NOEXEC ON GO - --- Create foreign key constraint dbo.PIM_RESRCH_PIM_RSCNOT_FK -PRINT N'Create foreign key constraint dbo.PIM_RESRCH_PIM_RSCNOT_FK' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RFLNOT_APP_CREATE_USERID_DEF] DEFAULT (user_name()) FOR [APP_CREATE_USERID] GO -ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] - ADD CONSTRAINT [PIM_RESRCH_PIM_RSCNOT_FK] - FOREIGN KEY([RESEARCH_FILE_ID]) - REFERENCES [dbo].[PIMS_RESEARCH_FILE]([RESEARCH_FILE_ID]) - ON DELETE NO ACTION - ON UPDATE NO ACTION +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RSCNOT_APP_CREATE_USER_DIRECTORY_DEF] GO IF @@ERROR <> 0 SET NOEXEC ON GO - --- Create foreign key constraint dbo.PIM_NOTE_PIM_RSCNOT_FK -PRINT N'Create foreign key constraint dbo.PIM_NOTE_PIM_RSCNOT_FK' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RFLNOT_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()) FOR [APP_CREATE_USER_DIRECTORY] GO -ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] - ADD CONSTRAINT [PIM_NOTE_PIM_RSCNOT_FK] - FOREIGN KEY([NOTE_ID]) - REFERENCES [dbo].[PIMS_NOTE]([NOTE_ID]) - ON DELETE NO ACTION - ON UPDATE NO ACTION +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RSCNOT_APP_LAST_UPDATE_TIMESTAMP_DEF] GO IF @@ERROR <> 0 SET NOEXEC ON GO - --- Create foreign key constraint dbo.PIM_DOCMNT_PIM_ACQDOC_FK -PRINT N'Create foreign key constraint dbo.PIM_DOCMNT_PIM_ACQDOC_FK' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RFLNOT_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [APP_LAST_UPDATE_TIMESTAMP] GO -ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] - ADD CONSTRAINT [PIM_DOCMNT_PIM_ACQDOC_FK] - FOREIGN KEY([DOCUMENT_ID]) - REFERENCES [dbo].[PIMS_DOCUMENT]([DOCUMENT_ID]) - ON DELETE NO ACTION - ON UPDATE NO ACTION +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RSCNOT_APP_LAST_UPDATE_USERID_DEF] GO IF @@ERROR <> 0 SET NOEXEC ON GO - --- Create foreign key constraint dbo.PIM_ACQNFL_PIM_ACQDOC_FK -PRINT N'Create foreign key constraint dbo.PIM_ACQNFL_PIM_ACQDOC_FK' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RFLNOT_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) FOR [APP_LAST_UPDATE_USERID] GO -ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] - ADD CONSTRAINT [PIM_ACQNFL_PIM_ACQDOC_FK] - FOREIGN KEY([ACQUISITION_FILE_ID]) - REFERENCES [dbo].[PIMS_ACQUISITION_FILE]([ACQUISITION_FILE_ID]) - ON DELETE NO ACTION - ON UPDATE NO ACTION +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RSCNOT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] GO IF @@ERROR <> 0 SET NOEXEC ON GO - --- Create foreign key constraint dbo.PIM_DOCMNT_PIM_RSCDOC_FK -PRINT N'Create foreign key constraint dbo.PIM_DOCMNT_PIM_RSCDOC_FK' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RFLNOT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()) FOR [APP_LAST_UPDATE_USER_DIRECTORY] GO -ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] - ADD CONSTRAINT [PIM_DOCMNT_PIM_RSCDOC_FK] - FOREIGN KEY([DOCUMENT_ID]) - REFERENCES [dbo].[PIMS_DOCUMENT]([DOCUMENT_ID]) - ON DELETE NO ACTION - ON UPDATE NO ACTION +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RSCNOT_DB_CREATE_TIMESTAMP_DEF] GO IF @@ERROR <> 0 SET NOEXEC ON GO - --- Create foreign key constraint dbo.PIM_RESRCH_PIM_RSCDOC_FK -PRINT N'Create foreign key constraint dbo.PIM_RESRCH_PIM_RSCDOC_FK' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RFLNOT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [DB_CREATE_TIMESTAMP] GO -ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] - ADD CONSTRAINT [PIM_RESRCH_PIM_RSCDOC_FK] - FOREIGN KEY([RESEARCH_FILE_ID]) - REFERENCES [dbo].[PIMS_RESEARCH_FILE]([RESEARCH_FILE_ID]) - ON DELETE NO ACTION - ON UPDATE NO ACTION +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RSCNOT_DB_CREATE_USERID_DEF] GO IF @@ERROR <> 0 SET NOEXEC ON GO - --- Create trigger dbo.PIMS_RSCDOC_A_S_IUD_TR -PRINT N'Create trigger dbo.PIMS_RSCDOC_A_S_IUD_TR' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RFLNOT_DB_CREATE_USERID_DEF] DEFAULT (user_name()) FOR [DB_CREATE_USERID] GO -CREATE TRIGGER [dbo].[PIMS_RSCDOC_A_S_IUD_TR] ON PIMS_RESEARCH_FILE_DOCUMENT FOR INSERT, UPDATE, DELETE AS -SET NOCOUNT ON +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RSCNOT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RFLNOT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [DB_LAST_UPDATE_TIMESTAMP] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RSCNOT_DB_LAST_UPDATE_USERID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RFLNOT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) FOR [DB_LAST_UPDATE_USERID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + ADD CONSTRAINT [RFLNOT_PK] + PRIMARY KEY CLUSTERED ([RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.RFLNOT_RSRCH_FILE_NOTE_TUC +PRINT N'Create unique constraint dbo.RFLNOT_RSRCH_FILE_NOTE_TUC' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + ADD CONSTRAINT [RFLNOT_RSRCH_FILE_NOTE_TUC] + UNIQUE ([NOTE_ID], [RESEARCH_FILE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create sequence dbo.PIMS_LEASE_NOTE_ID_SEQ +PRINT N'Create sequence dbo.PIMS_LEASE_NOTE_ID_SEQ' +GO +CREATE SEQUENCE [dbo].[PIMS_LEASE_NOTE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create table dbo.PIMS_LEASE_NOTE +PRINT N'Create table dbo.PIMS_LEASE_NOTE' +GO +CREATE TABLE [dbo].[PIMS_LEASE_NOTE] ( + [LEASE_NOTE_ID] bigint NOT NULL CONSTRAINT [LESNOT_LEASE_NOTE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_LEASE_NOTE_ID_SEQ]), + [LEASE_ID] bigint NOT NULL, + [NOTE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [LESNOT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LESNOT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESNOT_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESNOT_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LESNOT_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESNOT_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESNOT_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LESNOT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESNOT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NULL CONSTRAINT [LESNOT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESNOT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESNOT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LESNOT_PK] PRIMARY KEY CLUSTERED([LEASE_NOTE_ID]) + ON [PRIMARY]) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_NOTE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Defines the relationship betwwen a lease and a note.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_NOTE' +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.LESNOT_LEASE_NOTE_TUC +PRINT N'Create unique constraint dbo.LESNOT_LEASE_NOTE_TUC' +GO +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] + ADD CONSTRAINT [LESNOT_LEASE_NOTE_TUC] + UNIQUE ([NOTE_ID], [LEASE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create table dbo.PIMS_CONSULTATION_STATUS_TYPE +PRINT N'Create table dbo.PIMS_CONSULTATION_STATUS_TYPE' +GO +CREATE TABLE [dbo].[PIMS_CONSULTATION_STATUS_TYPE] ( + [CONSULTATION_STATUS_TYPE_CODE] varchar(20) NOT NULL CONSTRAINT [CONSTY_CONSULTATION_STATUS_TYPE_CODE_DEF] DEFAULT ('OTHER'), + [DESCRIPTION] nvarchar(200) NOT NULL CONSTRAINT [CONSTY_DESCRIPTION_DEF] DEFAULT (''), + [DISPLAY_ORDER] int NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [CONSTY_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [CONSTY_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CONSTY_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CONSTY_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CONSTY_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CONSTY_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [CONSTY_PK] PRIMARY KEY CLUSTERED([CONSULTATION_STATUS_TYPE_CODE]) + ON [PRIMARY]) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value of the consultation status type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_STATUS_TYPE', + @level2type = N'Column', @level2name = N'CONSULTATION_STATUS_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the consultation status type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Onscreen display order of the consultation types.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the consultation status type is active.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_STATUS_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the consultation status type for (currently) a lease or license.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_STATUS_TYPE' +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create table dbo.PIMS_CONSULTATION_TYPE +PRINT N'Create table dbo.PIMS_CONSULTATION_TYPE' +GO +CREATE TABLE [dbo].[PIMS_CONSULTATION_TYPE] ( + [CONSULTATION_TYPE_CODE] varchar(20) NOT NULL CONSTRAINT [CONTYP_CONSULTATION_TYPE_CODE_DEF] DEFAULT ('OTHER'), + [CONSULTATION_STATUS_TYPE_CODE] varchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL CONSTRAINT [CONTYP_DESCRIPTION_DEF] DEFAULT (''), + [OTHER_DESCRIPTION] nvarchar(200) NULL, + [DISPLAY_ORDER] int NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [CONTYP_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [CONTYP_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CONTYP_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CONTYP_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CONTYP_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CONTYP_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [CONTYP_PK] PRIMARY KEY CLUSTERED([CONSULTATION_TYPE_CODE]) + ON [PRIMARY]) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value of the consultation type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_TYPE', + @level2type = N'Column', @level2name = N'CONSULTATION_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the consultation type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Additional descriptive text of the consultation type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_TYPE', + @level2type = N'Column', @level2name = N'OTHER_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Onscreen display order of the consultation types.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the consultation type is active.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the consultation type required for (currently) a lease or license.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_TYPE' +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create sequence dbo.PIMS_LEASE_CONSULTATION_ID_SEQ +PRINT N'Create sequence dbo.PIMS_LEASE_CONSULTATION_ID_SEQ' +GO +CREATE SEQUENCE [dbo].[PIMS_LEASE_CONSULTATION_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create table dbo.PIMS_LEASE_CONSULTATION +PRINT N'Create table dbo.PIMS_LEASE_CONSULTATION' +GO +CREATE TABLE [dbo].[PIMS_LEASE_CONSULTATION] ( + [LEASE_CONSULTATION_ID] bigint NOT NULL CONSTRAINT [LESCON_LEASE_CONSULTATION_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_LEASE_CONSULTATION_ID_SEQ]), + [LEASE_ID] bigint NOT NULL, + [CONSULTATION_TYPE_CODE] varchar(20) NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESCON_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LESCON_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESCON_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESCON_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LESCON_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESCON_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LESCON_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESCON_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NULL CONSTRAINT [LESCON_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESCON_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESCON_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [IS_DISABLED] bit NULL CONSTRAINT [LESCON_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + CONSTRAINT [LESCON_PK] PRIMARY KEY CLUSTERED([LEASE_CONSULTATION_ID]) + ON [PRIMARY]) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_CONSULTATION', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.LESCON_LEASE_CONSULTATION_TUC +PRINT N'Create unique constraint dbo.LESCON_LEASE_CONSULTATION_TUC' +GO +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] + ADD CONSTRAINT [LESCON_LEASE_CONSULTATION_TUC] + UNIQUE ([CONSULTATION_TYPE_CODE], [LEASE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create sequence dbo.PIMS_LEASE_DOCUMENT_ID_SEQ +PRINT N'Create sequence dbo.PIMS_LEASE_DOCUMENT_ID_SEQ' +GO +CREATE SEQUENCE [dbo].[PIMS_LEASE_DOCUMENT_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create table dbo.PIMS_LEASE_DOCUMENT +PRINT N'Create table dbo.PIMS_LEASE_DOCUMENT' +GO +CREATE TABLE [dbo].[PIMS_LEASE_DOCUMENT] ( + [LEASE_DOCUMENT_ID] bigint NOT NULL CONSTRAINT [LESDOC_LEASE_DOCUMENT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_LEASE_DOCUMENT_ID_SEQ]), + [LEASE_ID] bigint NOT NULL, + [DOCUMENT_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [LESDOC_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LESDOC_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESDOC_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESDOC_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LESDOC_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESDOC_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESDOC_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LESDOC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESDOC_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NULL CONSTRAINT [LESDOC_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESDOC_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESDOC_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LESDOC_PK] PRIMARY KEY CLUSTERED([LEASE_DOCUMENT_ID]) + ON [PRIMARY]) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_DOCUMENT', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Defines the relationship betwwen a lease and a document.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_DOCUMENT' +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.LESDOC_LEASE_DOCUMENT_TUC +PRINT N'Create unique constraint dbo.LESDOC_LEASE_DOCUMENT_TUC' +GO +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] + ADD CONSTRAINT [LESDOC_LEASE_DOCUMENT_TUC] + UNIQUE ([DOCUMENT_ID], [LEASE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create sequence dbo.PIMS_RESEARCH_FILE_PROJECT_ID_SEQ +PRINT N'Create sequence dbo.PIMS_RESEARCH_FILE_PROJECT_ID_SEQ' +GO +CREATE SEQUENCE [dbo].[PIMS_RESEARCH_FILE_PROJECT_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.PROJCT_DESCRIPTION_CODE_TUC +PRINT N'Create unique constraint dbo.PROJCT_DESCRIPTION_CODE_TUC' +GO +ALTER TABLE [dbo].[PIMS_PROJECT] + ADD CONSTRAINT [PROJCT_DESCRIPTION_CODE_TUC] + UNIQUE ([DESCRIPTION], [CODE]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create table dbo.PIMS_RESEARCH_FILE_PROJECT +PRINT N'Create table dbo.PIMS_RESEARCH_FILE_PROJECT' +GO +CREATE TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] ( + [RESEARCH_FILE_PROJECT_ID] bigint NOT NULL CONSTRAINT [RFLPRJ_RESEARCH_FILE_PROJECT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_PROJECT_ID_SEQ]), + [RESEARCH_FILE_ID] bigint NOT NULL, + [PROJECT_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [RFLPRJ_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [RFLPRJ_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLPRJ_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RFLPRJ_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RFLPRJ_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLPRJ_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RFLPRJ_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RFLPRJ_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLPRJ_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NULL CONSTRAINT [RFLPRJ_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLPRJ_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RFLPRJ_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [RFLPRJ_PK] PRIMARY KEY CLUSTERED([RESEARCH_FILE_PROJECT_ID]) + ON [PRIMARY]) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE_PROJECT', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Defines the relationship betwwen a research file and a project.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE_PROJECT' +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.RFLPRJ_RESEARCH_FILE_PROJECT_TUC +PRINT N'Create unique constraint dbo.RFLPRJ_RESEARCH_FILE_PROJECT_TUC' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] + ADD CONSTRAINT [RFLPRJ_RESEARCH_FILE_PROJECT_TUC] + UNIQUE ([PROJECT_ID], [RESEARCH_FILE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create sequence dbo.PIMS_LEASE_NOTE_H_ID_SEQ +PRINT N'Create sequence dbo.PIMS_LEASE_NOTE_H_ID_SEQ' +GO +CREATE SEQUENCE [dbo].[PIMS_LEASE_NOTE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create table dbo.PIMS_LEASE_NOTE_HIST +PRINT N'Create table dbo.PIMS_LEASE_NOTE_HIST' +GO +CREATE TABLE [dbo].[PIMS_LEASE_NOTE_HIST] ( + [_LEASE_NOTE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_LEASE_NOTE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [LEASE_NOTE_ID] bigint NOT NULL, + [LEASE_ID] bigint NOT NULL, + [NOTE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_LESNOT_H_PK] PRIMARY KEY CLUSTERED([_LEASE_NOTE_HIST_ID]) + ON [PRIMARY]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.PIMS_LESNOT_H_UK +PRINT N'Create unique constraint dbo.PIMS_LESNOT_H_UK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_NOTE_HIST] + ADD CONSTRAINT [PIMS_LESNOT_H_UK] + UNIQUE ([_LEASE_NOTE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create sequence dbo.PIMS_RESEARCH_FILE_PROJECT_H_ID_SEQ +PRINT N'Create sequence dbo.PIMS_RESEARCH_FILE_PROJECT_H_ID_SEQ' +GO +CREATE SEQUENCE [dbo].[PIMS_RESEARCH_FILE_PROJECT_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create table dbo.PIMS_RESEARCH_FILE_PROJECT_HIST +PRINT N'Create table dbo.PIMS_RESEARCH_FILE_PROJECT_HIST' +GO +CREATE TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT_HIST] ( + [_RESEARCH_FILE_PROJECT_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_PROJECT_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [RESEARCH_FILE_PROJECT_ID] bigint NOT NULL, + [RESEARCH_FILE_ID] bigint NOT NULL, + [PROJECT_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_RFLPRJ_H_PK] PRIMARY KEY CLUSTERED([_RESEARCH_FILE_PROJECT_HIST_ID]) + ON [PRIMARY]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.PIMS_RFLPRJ_H_UK +PRINT N'Create unique constraint dbo.PIMS_RFLPRJ_H_UK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT_HIST] + ADD CONSTRAINT [PIMS_RFLPRJ_H_UK] + UNIQUE ([_RESEARCH_FILE_PROJECT_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create sequence dbo.PIMS_LEASE_CONSULTATION_H_ID_SEQ +PRINT N'Create sequence dbo.PIMS_LEASE_CONSULTATION_H_ID_SEQ' +GO +CREATE SEQUENCE [dbo].[PIMS_LEASE_CONSULTATION_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create table dbo.PIMS_LEASE_CONSULTATION_HIST +PRINT N'Create table dbo.PIMS_LEASE_CONSULTATION_HIST' +GO +CREATE TABLE [dbo].[PIMS_LEASE_CONSULTATION_HIST] ( + [_LEASE_CONSULTATION_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_LEASE_CONSULTATION_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [LEASE_CONSULTATION_ID] bigint NOT NULL, + [LEASE_ID] bigint NOT NULL, + [CONSULTATION_TYPE_CODE] varchar(20) NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [IS_DISABLED] bit NULL, + CONSTRAINT [PIMS_LESCON_H_PK] PRIMARY KEY CLUSTERED([_LEASE_CONSULTATION_HIST_ID]) + ON [PRIMARY]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.PIMS_LESCON_H_UK +PRINT N'Create unique constraint dbo.PIMS_LESCON_H_UK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION_HIST] + ADD CONSTRAINT [PIMS_LESCON_H_UK] + UNIQUE ([_LEASE_CONSULTATION_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Alter table dbo.PIMS_RESEARCH_FILE_NOTE_HIST +PRINT N'Alter table dbo.PIMS_RESEARCH_FILE_NOTE_HIST' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE_HIST] + ADD CONSTRAINT [PIMS_RFLNOT_H_PK] + PRIMARY KEY CLUSTERED ([_RESEARCH_FILE_NOTE_HIST_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.PIMS_RFLNOT_H_UK +PRINT N'Create unique constraint dbo.PIMS_RFLNOT_H_UK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE_HIST] + ADD CONSTRAINT [PIMS_RFLNOT_H_UK] + UNIQUE ([_RESEARCH_FILE_NOTE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Alter table dbo.PIMS_RESEARCH_FILE_DOCUMENT_HIST +PRINT N'Alter table dbo.PIMS_RESEARCH_FILE_DOCUMENT_HIST' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_HIST] + ADD CONSTRAINT [PIMS_RFLDOC_H_PK] + PRIMARY KEY CLUSTERED ([_RESEARCH_FILE_DOCUMENT_HIST_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.PIMS_RFLDOC_H_UK +PRINT N'Create unique constraint dbo.PIMS_RFLDOC_H_UK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_HIST] + ADD CONSTRAINT [PIMS_RFLDOC_H_UK] + UNIQUE ([_RESEARCH_FILE_DOCUMENT_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create sequence dbo.PIMS_LEASE_DOCUMENT_H_ID_SEQ +PRINT N'Create sequence dbo.PIMS_LEASE_DOCUMENT_H_ID_SEQ' +GO +CREATE SEQUENCE [dbo].[PIMS_LEASE_DOCUMENT_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create table dbo.PIMS_LEASE_DOCUMENT_HIST +PRINT N'Create table dbo.PIMS_LEASE_DOCUMENT_HIST' +GO +CREATE TABLE [dbo].[PIMS_LEASE_DOCUMENT_HIST] ( + [_LEASE_DOCUMENT_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_LEASE_DOCUMENT_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [LEASE_DOCUMENT_ID] bigint NOT NULL, + [LEASE_ID] bigint NOT NULL, + [DOCUMENT_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_LESDOC_H_PK] PRIMARY KEY CLUSTERED([_LEASE_DOCUMENT_HIST_ID]) + ON [PRIMARY]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.PIMS_LESDOC_H_UK +PRINT N'Create unique constraint dbo.PIMS_LESDOC_H_UK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT_HIST] + ADD CONSTRAINT [PIMS_LESDOC_H_UK] + UNIQUE ([_LEASE_DOCUMENT_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.RFLDOC_RESEARCH_FILE_ID_IDX +PRINT N'Create index dbo.RFLDOC_RESEARCH_FILE_ID_IDX' +GO +CREATE NONCLUSTERED INDEX [RFLDOC_RESEARCH_FILE_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_DOCUMENT]([RESEARCH_FILE_ID]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.RFLDOC_DOCUMENT_ID_IDX +PRINT N'Create index dbo.RFLDOC_DOCUMENT_ID_IDX' +GO +CREATE NONCLUSTERED INDEX [RFLDOC_DOCUMENT_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_DOCUMENT]([DOCUMENT_ID]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.RFLNOT_RESEARCH_FILE_ID_IDX +PRINT N'Create index dbo.RFLNOT_RESEARCH_FILE_ID_IDX' +GO +CREATE NONCLUSTERED INDEX [RFLNOT_RESEARCH_FILE_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_NOTE]([RESEARCH_FILE_ID]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.LESNOT_NOTE_ID_IDX +PRINT N'Create index dbo.LESNOT_NOTE_ID_IDX' +GO +CREATE NONCLUSTERED INDEX [LESNOT_NOTE_ID_IDX] + ON [dbo].[PIMS_LEASE_NOTE]([NOTE_ID]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.CONTYP_CONSULTATION_STATUS_TYPE_CODE_IDX +PRINT N'Create index dbo.CONTYP_CONSULTATION_STATUS_TYPE_CODE_IDX' +GO +CREATE NONCLUSTERED INDEX [CONTYP_CONSULTATION_STATUS_TYPE_CODE_IDX] + ON [dbo].[PIMS_CONSULTATION_TYPE]([CONSULTATION_STATUS_TYPE_CODE]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.LESCON_LEASE_ID_IDX +PRINT N'Create index dbo.LESCON_LEASE_ID_IDX' +GO +CREATE NONCLUSTERED INDEX [LESCON_LEASE_ID_IDX] + ON [dbo].[PIMS_LEASE_CONSULTATION]([LEASE_ID]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.LESDOC_DOCUMENT_ID_IDX +PRINT N'Create index dbo.LESDOC_DOCUMENT_ID_IDX' +GO +CREATE NONCLUSTERED INDEX [LESDOC_DOCUMENT_ID_IDX] + ON [dbo].[PIMS_LEASE_DOCUMENT]([DOCUMENT_ID]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.RFLNOT_NOTE_ID_IDX +PRINT N'Create index dbo.RFLNOT_NOTE_ID_IDX' +GO +CREATE NONCLUSTERED INDEX [RFLNOT_NOTE_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_NOTE]([NOTE_ID]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.LESNOT_LEASE_ID_IDX +PRINT N'Create index dbo.LESNOT_LEASE_ID_IDX' +GO +CREATE NONCLUSTERED INDEX [LESNOT_LEASE_ID_IDX] + ON [dbo].[PIMS_LEASE_NOTE]([LEASE_ID]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.RFLPRJ_PROJECT_ID_IDX +PRINT N'Create index dbo.RFLPRJ_PROJECT_ID_IDX' +GO +CREATE NONCLUSTERED INDEX [RFLPRJ_PROJECT_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_PROJECT]([PROJECT_ID]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.LESCON_CONSULTATION_TYPE_CODE_IDX +PRINT N'Create index dbo.LESCON_CONSULTATION_TYPE_CODE_IDX' +GO +CREATE NONCLUSTERED INDEX [LESCON_CONSULTATION_TYPE_CODE_IDX] + ON [dbo].[PIMS_LEASE_CONSULTATION]([CONSULTATION_TYPE_CODE]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.RFLPRJ_RESEARCH_FILE_ID_IDX +PRINT N'Create index dbo.RFLPRJ_RESEARCH_FILE_ID_IDX' +GO +CREATE NONCLUSTERED INDEX [RFLPRJ_RESEARCH_FILE_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_PROJECT]([RESEARCH_FILE_ID]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.LESDOC_LEASE_ID_IDX +PRINT N'Create index dbo.LESDOC_LEASE_ID_IDX' +GO +CREATE NONCLUSTERED INDEX [LESDOC_LEASE_ID_IDX] + ON [dbo].[PIMS_LEASE_DOCUMENT]([LEASE_ID]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_LESNOT_A_S_IUD_TR +PRINT N'Create trigger dbo.PIMS_LESNOT_A_S_IUD_TR' +GO +CREATE TRIGGER [dbo].[PIMS_LESNOT_A_S_IUD_TR] ON PIMS_LEASE_NOTE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_LEASE_NOTE_HIST set END_DATE_HIST = @curr_date where LEASE_NOTE_ID in (select LEASE_NOTE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_LEASE_NOTE_HIST ([LEASE_NOTE_ID], [LEASE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _LEASE_NOTE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [LEASE_NOTE_ID], [LEASE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_LEASE_NOTE_H_ID_SEQ]) as [_LEASE_NOTE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_RFLPRJ_A_S_IUD_TR +PRINT N'Create trigger dbo.PIMS_RFLPRJ_A_S_IUD_TR' +GO +--CREATE TRIGGER PIMS_RFLNOT_A_S_IUD_TR ON PIMS_RESEARCH_FILE_NOTE FOR INSERT, UPDATE, DELETE AS +--SET NOCOUNT ON +--BEGIN TRY +--DECLARE @curr_date datetime; +--SET @curr_date = getutcdate(); +-- IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) +-- RETURN; +-- +-- -- historical +-- IF EXISTS(SELECT * FROM deleted) +-- update PIMS_RESEARCH_FILE_NOTE_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_NOTE_ID in (select RESEARCH_FILE_NOTE_ID from deleted) and END_DATE_HIST is null; +-- +-- IF EXISTS(SELECT * FROM inserted) +-- insert into PIMS_RESEARCH_FILE_NOTE_HIST ([RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_FILE_NOTE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) +-- select [RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_FILE_NOTE_H_ID_SEQ]) as [_RESEARCH_FILE_NOTE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; +-- +--END TRY +--BEGIN CATCH +-- IF @@trancount > 0 ROLLBACK TRANSACTION +-- EXEC pims_error_handling +--END CATCH; +--go + +CREATE TRIGGER [dbo].[PIMS_RFLPRJ_A_S_IUD_TR] ON PIMS_RESEARCH_FILE_PROJECT FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_RESEARCH_FILE_PROJECT_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_PROJECT_ID in (select RESEARCH_FILE_PROJECT_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_RESEARCH_FILE_PROJECT_HIST ([RESEARCH_FILE_PROJECT_ID], [RESEARCH_FILE_ID], [PROJECT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_FILE_PROJECT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [RESEARCH_FILE_PROJECT_ID], [RESEARCH_FILE_ID], [PROJECT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_FILE_PROJECT_H_ID_SEQ]) as [_RESEARCH_FILE_PROJECT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_CONSTY_I_S_U_TR +PRINT N'Create trigger dbo.PIMS_CONSTY_I_S_U_TR' +GO +CREATE TRIGGER [dbo].[PIMS_CONSTY_I_S_U_TR] ON PIMS_CONSULTATION_STATUS_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.CONSULTATION_STATUS_TYPE_CODE = deleted.CONSULTATION_STATUS_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_CONSULTATION_STATUS_TYPE + set "CONSULTATION_STATUS_TYPE_CODE" = inserted."CONSULTATION_STATUS_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_CONSULTATION_STATUS_TYPE + inner join inserted + on (PIMS_CONSULTATION_STATUS_TYPE.CONSULTATION_STATUS_TYPE_CODE = inserted.CONSULTATION_STATUS_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_LESDOC_I_S_U_TR +PRINT N'Create trigger dbo.PIMS_LESDOC_I_S_U_TR' +GO +CREATE TRIGGER [dbo].[PIMS_LESDOC_I_S_U_TR] ON PIMS_LEASE_DOCUMENT INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_DOCUMENT_ID = deleted.LEASE_DOCUMENT_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_DOCUMENT + set "LEASE_DOCUMENT_ID" = inserted."LEASE_DOCUMENT_ID", + "LEASE_ID" = inserted."LEASE_ID", + "DOCUMENT_ID" = inserted."DOCUMENT_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_DOCUMENT + inner join inserted + on (PIMS_LEASE_DOCUMENT.LEASE_DOCUMENT_ID = inserted.LEASE_DOCUMENT_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_RFLDOC_I_S_I_TR +PRINT N'Create trigger dbo.PIMS_RFLDOC_I_S_I_TR' +GO +CREATE TRIGGER [dbo].[PIMS_RFLDOC_I_S_I_TR] ON PIMS_RESEARCH_FILE_DOCUMENT INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_RESEARCH_FILE_DOCUMENT ("RESEARCH_FILE_DOCUMENT_ID", + "RESEARCH_FILE_ID", + "DOCUMENT_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "RESEARCH_FILE_DOCUMENT_ID", + "RESEARCH_FILE_ID", + "DOCUMENT_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_CONTYP_I_S_U_TR +PRINT N'Create trigger dbo.PIMS_CONTYP_I_S_U_TR' +GO +CREATE TRIGGER [dbo].[PIMS_CONTYP_I_S_U_TR] ON PIMS_CONSULTATION_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.CONSULTATION_TYPE_CODE = deleted.CONSULTATION_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_CONSULTATION_TYPE + set "CONSULTATION_TYPE_CODE" = inserted."CONSULTATION_TYPE_CODE", + "CONSULTATION_STATUS_TYPE_CODE" = inserted."CONSULTATION_STATUS_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "OTHER_DESCRIPTION" = inserted."OTHER_DESCRIPTION", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_CONSULTATION_TYPE + inner join inserted + on (PIMS_CONSULTATION_TYPE.CONSULTATION_TYPE_CODE = inserted.CONSULTATION_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_RFLPRJ_I_S_I_TR +PRINT N'Create trigger dbo.PIMS_RFLPRJ_I_S_I_TR' +GO +--CREATE TRIGGER PIMS_RFLNOT_I_S_I_TR ON PIMS_RESEARCH_FILE_NOTE INSTEAD OF INSERT AS +--SET NOCOUNT ON +--BEGIN TRY +-- IF NOT EXISTS(SELECT * FROM inserted) +-- RETURN; +-- +-- +-- insert into PIMS_RESEARCH_FILE_NOTE ("RESEARCH_FILE_NOTE_ID", +-- "RESEARCH_FILE_ID", +-- "NOTE_ID", +-- "IS_DISABLED", +-- "CONCURRENCY_CONTROL_NUMBER", +-- "APP_CREATE_TIMESTAMP", +-- "APP_CREATE_USERID", +-- "APP_CREATE_USER_GUID", +-- "APP_CREATE_USER_DIRECTORY", +-- "APP_LAST_UPDATE_TIMESTAMP", +-- "APP_LAST_UPDATE_USERID", +-- "APP_LAST_UPDATE_USER_GUID", +-- "APP_LAST_UPDATE_USER_DIRECTORY") +-- select "RESEARCH_FILE_NOTE_ID", +-- "RESEARCH_FILE_ID", +-- "NOTE_ID", +-- "IS_DISABLED", +-- "CONCURRENCY_CONTROL_NUMBER", +-- "APP_CREATE_TIMESTAMP", +-- "APP_CREATE_USERID", +-- "APP_CREATE_USER_GUID", +-- "APP_CREATE_USER_DIRECTORY", +-- "APP_LAST_UPDATE_TIMESTAMP", +-- "APP_LAST_UPDATE_USERID", +-- "APP_LAST_UPDATE_USER_GUID", +-- "APP_LAST_UPDATE_USER_DIRECTORY" +-- from inserted; +-- +--END TRY +--BEGIN CATCH +-- IF @@trancount > 0 ROLLBACK TRANSACTION +-- EXEC pims_error_handling +--END CATCH; +--go +CREATE TRIGGER [dbo].[PIMS_RFLPRJ_I_S_I_TR] ON PIMS_RESEARCH_FILE_PROJECT INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_RESEARCH_FILE_PROJECT ("RESEARCH_FILE_PROJECT_ID", + "RESEARCH_FILE_ID", + "PROJECT_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "RESEARCH_FILE_PROJECT_ID", + "RESEARCH_FILE_ID", + "PROJECT_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_RFLNOT_I_S_U_TR +PRINT N'Create trigger dbo.PIMS_RFLNOT_I_S_U_TR' +GO +CREATE TRIGGER [dbo].[PIMS_RFLNOT_I_S_U_TR] ON PIMS_RESEARCH_FILE_NOTE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_ID = deleted.RESEARCH_FILE_ID and inserted.RESEARCH_FILE_NOTE_ID = deleted.RESEARCH_FILE_NOTE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_RESEARCH_FILE_NOTE + set "RESEARCH_FILE_NOTE_ID" = inserted."RESEARCH_FILE_NOTE_ID", + "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", + "NOTE_ID" = inserted."NOTE_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_RESEARCH_FILE_NOTE + inner join inserted + on (PIMS_RESEARCH_FILE_NOTE.RESEARCH_FILE_ID = inserted.RESEARCH_FILE_ID and PIMS_RESEARCH_FILE_NOTE.RESEARCH_FILE_NOTE_ID = inserted.RESEARCH_FILE_NOTE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_LESCON_A_S_IUD_TR +PRINT N'Create trigger dbo.PIMS_LESCON_A_S_IUD_TR' +GO +CREATE TRIGGER [dbo].[PIMS_LESCON_A_S_IUD_TR] ON PIMS_LEASE_CONSULTATION FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; SET @curr_date = getutcdate(); @@ -683,11 +1629,11 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_RESEARCH_FILE_DOCUMENT_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_DOCUMENT_ID in (select RESEARCH_FILE_DOCUMENT_ID from deleted) and END_DATE_HIST is null; + update PIMS_LEASE_CONSULTATION_HIST set END_DATE_HIST = @curr_date where LEASE_CONSULTATION_ID in (select LEASE_CONSULTATION_ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_RESEARCH_FILE_DOCUMENT_HIST ([RESEARCH_FILE_DOCUMENT_ID], [RESEARCH_FILE_ID], [DOCUMENT_ID], [APP_CREATE_TIMESTAMP], [APP_CREATE_USER_DIRECTORY], [APP_CREATE_USER_GUID], [APP_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USER_DIRECTORY], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USERID], [CONCURRENCY_CONTROL_NUMBER], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], [IS_DISABLED], _RESEARCH_FILE_DOCUMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [RESEARCH_FILE_DOCUMENT_ID], [RESEARCH_FILE_ID], [DOCUMENT_ID], [APP_CREATE_TIMESTAMP], [APP_CREATE_USER_DIRECTORY], [APP_CREATE_USER_GUID], [APP_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USER_DIRECTORY], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USERID], [CONCURRENCY_CONTROL_NUMBER], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], [IS_DISABLED], (next value for [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_H_ID_SEQ]) as [_RESEARCH_FILE_DOCUMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_LEASE_CONSULTATION_HIST ([LEASE_CONSULTATION_ID], [LEASE_ID], [CONSULTATION_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USER_DIRECTORY], [APP_CREATE_USER_GUID], [APP_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USER_DIRECTORY], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USERID], [CONCURRENCY_CONTROL_NUMBER], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], [IS_DISABLED], _LEASE_CONSULTATION_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [LEASE_CONSULTATION_ID], [LEASE_ID], [CONSULTATION_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USER_DIRECTORY], [APP_CREATE_USER_GUID], [APP_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USER_DIRECTORY], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USERID], [CONCURRENCY_CONTROL_NUMBER], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], [IS_DISABLED], (next value for [dbo].[PIMS_LEASE_CONSULTATION_H_ID_SEQ]) as [_LEASE_CONSULTATION_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH @@ -695,30 +1641,58 @@ BEGIN CATCH EXEC pims_error_handling END CATCH; +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_RFLNOT_A_S_IUD_TR +PRINT N'Create trigger dbo.PIMS_RFLNOT_A_S_IUD_TR' +GO +CREATE TRIGGER [dbo].[PIMS_RFLNOT_A_S_IUD_TR] ON PIMS_RESEARCH_FILE_NOTE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_RESEARCH_FILE_NOTE_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_ID in (select RESEARCH_FILE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_RESEARCH_FILE_NOTE_HIST ([RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_FILE_NOTE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_FILE_NOTE_H_ID_SEQ]) as [_RESEARCH_FILE_NOTE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Create trigger dbo.PIMS_RSCDOC_I_S_U_TR -PRINT N'Create trigger dbo.PIMS_RSCDOC_I_S_U_TR' +-- Create trigger dbo.PIMS_LESCON_I_S_U_TR +PRINT N'Create trigger dbo.PIMS_LESCON_I_S_U_TR' GO -CREATE TRIGGER [dbo].[PIMS_RSCDOC_I_S_U_TR] ON PIMS_RESEARCH_FILE_DOCUMENT INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_LESCON_I_S_U_TR] ON PIMS_LEASE_CONSULTATION INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_DOCUMENT_ID = deleted.RESEARCH_FILE_DOCUMENT_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_CONSULTATION_ID = deleted.LEASE_CONSULTATION_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_RESEARCH_FILE_DOCUMENT - set "RESEARCH_FILE_DOCUMENT_ID" = inserted."RESEARCH_FILE_DOCUMENT_ID", - "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", - "DOCUMENT_ID" = inserted."DOCUMENT_ID", + update PIMS_LEASE_CONSULTATION + set "LEASE_CONSULTATION_ID" = inserted."LEASE_CONSULTATION_ID", + "LEASE_ID" = inserted."LEASE_ID", + "CONSULTATION_TYPE_CODE" = inserted."CONSULTATION_TYPE_CODE", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY", "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", @@ -727,9 +1701,127 @@ BEGIN TRY "IS_DISABLED" = inserted."IS_DISABLED" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_RESEARCH_FILE_DOCUMENT + from PIMS_LEASE_CONSULTATION inner join inserted - on (PIMS_RESEARCH_FILE_DOCUMENT.RESEARCH_FILE_DOCUMENT_ID = inserted.RESEARCH_FILE_DOCUMENT_ID); + on (PIMS_LEASE_CONSULTATION.LEASE_CONSULTATION_ID = inserted.LEASE_CONSULTATION_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_LESNOT_I_S_U_TR +PRINT N'Create trigger dbo.PIMS_LESNOT_I_S_U_TR' +GO +CREATE TRIGGER [dbo].[PIMS_LESNOT_I_S_U_TR] ON PIMS_LEASE_NOTE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_NOTE_ID = deleted.LEASE_NOTE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_NOTE + set "LEASE_NOTE_ID" = inserted."LEASE_NOTE_ID", + "LEASE_ID" = inserted."LEASE_ID", + "NOTE_ID" = inserted."NOTE_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_NOTE + inner join inserted + on (PIMS_LEASE_NOTE.LEASE_NOTE_ID = inserted.LEASE_NOTE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_LESCON_I_S_I_TR +PRINT N'Create trigger dbo.PIMS_LESCON_I_S_I_TR' +GO +CREATE TRIGGER [dbo].[PIMS_LESCON_I_S_I_TR] ON PIMS_LEASE_CONSULTATION INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_CONSULTATION ("LEASE_CONSULTATION_ID", + "LEASE_ID", + "CONSULTATION_TYPE_CODE", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USER_DIRECTORY", + "APP_CREATE_USER_GUID", + "APP_CREATE_USERID", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID", + "CONCURRENCY_CONTROL_NUMBER", + "IS_DISABLED") + select "LEASE_CONSULTATION_ID", + "LEASE_ID", + "CONSULTATION_TYPE_CODE", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USER_DIRECTORY", + "APP_CREATE_USER_GUID", + "APP_CREATE_USERID", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID", + "CONCURRENCY_CONTROL_NUMBER", + "IS_DISABLED" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_RFLDOC_A_S_IUD_TR +PRINT N'Create trigger dbo.PIMS_RFLDOC_A_S_IUD_TR' +GO +CREATE TRIGGER [dbo].[PIMS_RFLDOC_A_S_IUD_TR] ON PIMS_RESEARCH_FILE_DOCUMENT FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_RESEARCH_FILE_DOCUMENT_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_DOCUMENT_ID in (select RESEARCH_FILE_DOCUMENT_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_RESEARCH_FILE_DOCUMENT_HIST ([RESEARCH_FILE_DOCUMENT_ID], [RESEARCH_FILE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_FILE_DOCUMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [RESEARCH_FILE_DOCUMENT_ID], [RESEARCH_FILE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_H_ID_SEQ]) as [_RESEARCH_FILE_DOCUMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH @@ -737,23 +1829,22 @@ BEGIN CATCH EXEC pims_error_handling END CATCH; - GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Create trigger dbo.PIMS_ACQDOC_I_S_I_TR -PRINT N'Create trigger dbo.PIMS_ACQDOC_I_S_I_TR' +-- Create trigger dbo.PIMS_LESDOC_I_S_I_TR +PRINT N'Create trigger dbo.PIMS_LESDOC_I_S_I_TR' GO -CREATE TRIGGER [dbo].[PIMS_ACQDOC_I_S_I_TR] ON PIMS_ACQUISITION_FILE_DOCUMENT INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_LESDOC_I_S_I_TR] ON PIMS_LEASE_DOCUMENT INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_ACQUISITION_FILE_DOCUMENT ("ACQUISITION_FILE_DOCUMENT_ID", - "ACQUISITION_FILE_ID", + insert into PIMS_LEASE_DOCUMENT ("LEASE_DOCUMENT_ID", + "LEASE_ID", "DOCUMENT_ID", "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", @@ -765,8 +1856,8 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "ACQUISITION_FILE_DOCUMENT_ID", - "ACQUISITION_FILE_ID", + select "LEASE_DOCUMENT_ID", + "LEASE_ID", "DOCUMENT_ID", "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", @@ -786,41 +1877,31 @@ BEGIN CATCH EXEC pims_error_handling END CATCH; - GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Create trigger dbo.PIMS_RSCNOT_I_S_U_TR -PRINT N'Create trigger dbo.PIMS_RSCNOT_I_S_U_TR' +-- Create trigger dbo.PIMS_CONSTY_I_S_I_TR +PRINT N'Create trigger dbo.PIMS_CONSTY_I_S_I_TR' GO -CREATE TRIGGER [dbo].[PIMS_RSCNOT_I_S_U_TR] ON PIMS_RESEARCH_FILE_NOTE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_CONSTY_I_S_I_TR] ON PIMS_CONSULTATION_STATUS_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM inserted) RETURN; - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_ID = deleted.RESEARCH_FILE_ID and inserted.RESEARCH_FILE_NOTE_ID = deleted.RESEARCH_FILE_NOTE_ID) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_RESEARCH_FILE_NOTE - set "RESEARCH_FILE_NOTE_ID" = inserted."RESEARCH_FILE_NOTE_ID", - "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", - "NOTE_ID" = inserted."NOTE_ID", - "IS_DISABLED" = inserted."IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_RESEARCH_FILE_NOTE - inner join inserted - on (PIMS_RESEARCH_FILE_NOTE.RESEARCH_FILE_ID = inserted.RESEARCH_FILE_ID and PIMS_RESEARCH_FILE_NOTE.RESEARCH_FILE_NOTE_ID = inserted.RESEARCH_FILE_NOTE_ID); + + insert into PIMS_CONSULTATION_STATUS_TYPE ("CONSULTATION_STATUS_TYPE_CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER") + select "CONSULTATION_STATUS_TYPE_CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; END TRY BEGIN CATCH @@ -828,47 +1909,34 @@ BEGIN CATCH EXEC pims_error_handling END CATCH; - GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Create trigger dbo.PIMS_RSCDOC_I_S_I_TR -PRINT N'Create trigger dbo.PIMS_RSCDOC_I_S_I_TR' +-- Create trigger dbo.PIMS_CONTYP_I_S_I_TR +PRINT N'Create trigger dbo.PIMS_CONTYP_I_S_I_TR' GO -CREATE TRIGGER [dbo].[PIMS_RSCDOC_I_S_I_TR] ON PIMS_RESEARCH_FILE_DOCUMENT INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_CONTYP_I_S_I_TR] ON PIMS_CONSULTATION_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_RESEARCH_FILE_DOCUMENT ("RESEARCH_FILE_DOCUMENT_ID", - "RESEARCH_FILE_ID", - "DOCUMENT_ID", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USER_DIRECTORY", - "APP_CREATE_USER_GUID", - "APP_CREATE_USERID", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USER_DIRECTORY", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USERID", - "CONCURRENCY_CONTROL_NUMBER", - "IS_DISABLED") - select "RESEARCH_FILE_DOCUMENT_ID", - "RESEARCH_FILE_ID", - "DOCUMENT_ID", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USER_DIRECTORY", - "APP_CREATE_USER_GUID", - "APP_CREATE_USERID", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USER_DIRECTORY", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USERID", - "CONCURRENCY_CONTROL_NUMBER", - "IS_DISABLED" + insert into PIMS_CONSULTATION_TYPE ("CONSULTATION_TYPE_CODE", + "CONSULTATION_STATUS_TYPE_CODE", + "DESCRIPTION", + "OTHER_DESCRIPTION", + "DISPLAY_ORDER", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER") + select "CONSULTATION_TYPE_CODE", + "CONSULTATION_STATUS_TYPE_CODE", + "DESCRIPTION", + "OTHER_DESCRIPTION", + "DISPLAY_ORDER", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" from inserted; END TRY @@ -877,15 +1945,55 @@ BEGIN CATCH EXEC pims_error_handling END CATCH; +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_RFLDOC_I_S_U_TR +PRINT N'Create trigger dbo.PIMS_RFLDOC_I_S_U_TR' +GO +CREATE TRIGGER [dbo].[PIMS_RFLDOC_I_S_U_TR] ON PIMS_RESEARCH_FILE_DOCUMENT INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_DOCUMENT_ID = deleted.RESEARCH_FILE_DOCUMENT_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_RESEARCH_FILE_DOCUMENT + set "RESEARCH_FILE_DOCUMENT_ID" = inserted."RESEARCH_FILE_DOCUMENT_ID", + "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", + "DOCUMENT_ID" = inserted."DOCUMENT_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_RESEARCH_FILE_DOCUMENT + inner join inserted + on (PIMS_RESEARCH_FILE_DOCUMENT.RESEARCH_FILE_DOCUMENT_ID = inserted.RESEARCH_FILE_DOCUMENT_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Create trigger dbo.PIMS_ACQDOC_A_S_IUD_TR -PRINT N'Create trigger dbo.PIMS_ACQDOC_A_S_IUD_TR' +-- Create trigger dbo.PIMS_LESDOC_A_S_IUD_TR +PRINT N'Create trigger dbo.PIMS_LESDOC_A_S_IUD_TR' GO -CREATE TRIGGER [dbo].[PIMS_ACQDOC_A_S_IUD_TR] ON PIMS_ACQUISITION_FILE_DOCUMENT FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_LESDOC_A_S_IUD_TR] ON PIMS_LEASE_DOCUMENT FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -895,11 +2003,11 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_ACQUISITION_FILE_DOCUMENT_HIST set END_DATE_HIST = @curr_date where ACQUISITION_FILE_DOCUMENT_ID in (select ACQUISITION_FILE_DOCUMENT_ID from deleted) and END_DATE_HIST is null; + update PIMS_LEASE_DOCUMENT_HIST set END_DATE_HIST = @curr_date where LEASE_DOCUMENT_ID in (select LEASE_DOCUMENT_ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_ACQUISITION_FILE_DOCUMENT_HIST ([ACQUISITION_FILE_DOCUMENT_ID], [ACQUISITION_FILE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACQUISITION_FILE_DOCUMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ACQUISITION_FILE_DOCUMENT_ID], [ACQUISITION_FILE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT_H_ID_SEQ]) as [_ACQUISITION_FILE_DOCUMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_LEASE_DOCUMENT_HIST ([LEASE_DOCUMENT_ID], [LEASE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _LEASE_DOCUMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [LEASE_DOCUMENT_ID], [LEASE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_LEASE_DOCUMENT_H_ID_SEQ]) as [_LEASE_DOCUMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH @@ -907,29 +2015,47 @@ BEGIN CATCH EXEC pims_error_handling END CATCH; - GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Create trigger dbo.PIMS_RSCNOT_A_S_IUD_TR -PRINT N'Create trigger dbo.PIMS_RSCNOT_A_S_IUD_TR' +-- Create trigger dbo.PIMS_LESNOT_I_S_I_TR +PRINT N'Create trigger dbo.PIMS_LESNOT_I_S_I_TR' GO -CREATE TRIGGER [dbo].[PIMS_RSCNOT_A_S_IUD_TR] ON PIMS_RESEARCH_FILE_NOTE FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_LESNOT_I_S_I_TR] ON PIMS_LEASE_NOTE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM inserted) RETURN; - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_RESEARCH_FILE_NOTE_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_NOTE_ID in (select RESEARCH_FILE_NOTE_ID from deleted) and END_DATE_HIST is null; - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_RESEARCH_FILE_NOTE_HIST ([RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_FILE_NOTE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_FILE_NOTE_H_ID_SEQ]) as [_RESEARCH_FILE_NOTE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_LEASE_NOTE ("LEASE_NOTE_ID", + "LEASE_ID", + "NOTE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "LEASE_NOTE_ID", + "LEASE_ID", + "NOTE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; END TRY BEGIN CATCH @@ -937,15 +2063,14 @@ BEGIN CATCH EXEC pims_error_handling END CATCH; - GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Create trigger dbo.PIMS_RSCNOT_I_S_I_TR -PRINT N'Create trigger dbo.PIMS_RSCNOT_I_S_I_TR' +-- Create trigger dbo.PIMS_RFLNOT_I_S_I_TR +PRINT N'Create trigger dbo.PIMS_RFLNOT_I_S_I_TR' GO -CREATE TRIGGER [dbo].[PIMS_RSCNOT_I_S_I_TR] ON PIMS_RESEARCH_FILE_NOTE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_RFLNOT_I_S_I_TR] ON PIMS_RESEARCH_FILE_NOTE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) @@ -986,30 +2111,63 @@ BEGIN CATCH EXEC pims_error_handling END CATCH; - GO IF @@ERROR <> 0 SET NOEXEC ON GO --- Create trigger dbo.PIMS_ACQDOC_I_S_U_TR -PRINT N'Create trigger dbo.PIMS_ACQDOC_I_S_U_TR' -GO -CREATE TRIGGER [dbo].[PIMS_ACQDOC_I_S_U_TR] ON PIMS_ACQUISITION_FILE_DOCUMENT INSTEAD OF UPDATE AS +-- Create trigger dbo.PIMS_RFLPRJ_I_S_U_TR +PRINT N'Create trigger dbo.PIMS_RFLPRJ_I_S_U_TR' +GO +--CREATE TRIGGER PIMS_RFLNOT_I_S_U_TR ON PIMS_RESEARCH_FILE_NOTE INSTEAD OF UPDATE AS +--SET NOCOUNT ON +--BEGIN TRY +-- IF NOT EXISTS(SELECT * FROM deleted) +-- RETURN; +-- +-- -- validate concurrency control +-- if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_ID = deleted.RESEARCH_FILE_ID and inserted.RESEARCH_FILE_NOTE_ID = deleted.RESEARCH_FILE_NOTE_ID) +-- raiserror('CONCURRENCY FAILURE.',16,1) +-- +-- +-- -- update statement +-- update PIMS_RESEARCH_FILE_NOTE +-- set "RESEARCH_FILE_NOTE_ID" = inserted."RESEARCH_FILE_NOTE_ID", +-- "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", +-- "NOTE_ID" = inserted."NOTE_ID", +-- "IS_DISABLED" = inserted."IS_DISABLED", +-- "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", +-- "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", +-- "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", +-- "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", +-- "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" +-- , DB_LAST_UPDATE_TIMESTAMP = getutcdate() +-- , DB_LAST_UPDATE_USERID = user_name() +-- from PIMS_RESEARCH_FILE_NOTE +-- inner join inserted +-- on (PIMS_RESEARCH_FILE_NOTE.RESEARCH_FILE_ID = inserted.RESEARCH_FILE_ID and PIMS_RESEARCH_FILE_NOTE.RESEARCH_FILE_NOTE_ID = inserted.RESEARCH_FILE_NOTE_ID); +-- +--END TRY +--BEGIN CATCH +-- IF @@trancount > 0 ROLLBACK TRANSACTION +-- EXEC pims_error_handling +--END CATCH; +--go +CREATE TRIGGER [dbo].[PIMS_RFLPRJ_I_S_U_TR] ON PIMS_RESEARCH_FILE_PROJECT INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_FILE_DOCUMENT_ID = deleted.ACQUISITION_FILE_DOCUMENT_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_PROJECT_ID = deleted.RESEARCH_FILE_PROJECT_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_ACQUISITION_FILE_DOCUMENT - set "ACQUISITION_FILE_DOCUMENT_ID" = inserted."ACQUISITION_FILE_DOCUMENT_ID", - "ACQUISITION_FILE_ID" = inserted."ACQUISITION_FILE_ID", - "DOCUMENT_ID" = inserted."DOCUMENT_ID", + update PIMS_RESEARCH_FILE_PROJECT + set "RESEARCH_FILE_PROJECT_ID" = inserted."RESEARCH_FILE_PROJECT_ID", + "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", + "PROJECT_ID" = inserted."PROJECT_ID", "IS_DISABLED" = inserted."IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", @@ -1018,9 +2176,9 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ACQUISITION_FILE_DOCUMENT + from PIMS_RESEARCH_FILE_PROJECT inner join inserted - on (PIMS_ACQUISITION_FILE_DOCUMENT.ACQUISITION_FILE_DOCUMENT_ID = inserted.ACQUISITION_FILE_DOCUMENT_ID); + on (PIMS_RESEARCH_FILE_PROJECT.RESEARCH_FILE_PROJECT_ID = inserted.RESEARCH_FILE_PROJECT_ID); END TRY BEGIN CATCH @@ -1028,7 +2186,175 @@ BEGIN CATCH EXEC pims_error_handling END CATCH; +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_DOCMNT_PIM_RFLDOC_FK +PRINT N'Create foreign key constraint dbo.PIM_DOCMNT_PIM_RFLDOC_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + ADD CONSTRAINT [PIM_DOCMNT_PIM_RFLDOC_FK] + FOREIGN KEY([DOCUMENT_ID]) + REFERENCES [dbo].[PIMS_DOCUMENT]([DOCUMENT_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_RESRCH_PIM_RFLDOC_FK +PRINT N'Create foreign key constraint dbo.PIM_RESRCH_PIM_RFLDOC_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + ADD CONSTRAINT [PIM_RESRCH_PIM_RFLDOC_FK] + FOREIGN KEY([RESEARCH_FILE_ID]) + REFERENCES [dbo].[PIMS_RESEARCH_FILE]([RESEARCH_FILE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_NOTE_PIM_RFLNOT_FK +PRINT N'Create foreign key constraint dbo.PIM_NOTE_PIM_RFLNOT_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + ADD CONSTRAINT [PIM_NOTE_PIM_RFLNOT_FK] + FOREIGN KEY([NOTE_ID]) + REFERENCES [dbo].[PIMS_NOTE]([NOTE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_RESRCH_PIM_RFLNOT_FK +PRINT N'Create foreign key constraint dbo.PIM_RESRCH_PIM_RFLNOT_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + ADD CONSTRAINT [PIM_RESRCH_PIM_RFLNOT_FK] + FOREIGN KEY([RESEARCH_FILE_ID]) + REFERENCES [dbo].[PIMS_RESEARCH_FILE]([RESEARCH_FILE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_NOTE_PIM_LESNOT_FK +PRINT N'Create foreign key constraint dbo.PIM_NOTE_PIM_LESNOT_FK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] + ADD CONSTRAINT [PIM_NOTE_PIM_LESNOT_FK] + FOREIGN KEY([NOTE_ID]) + REFERENCES [dbo].[PIMS_NOTE]([NOTE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_LEASE_PIM_LESNOT_FK +PRINT N'Create foreign key constraint dbo.PIM_LEASE_PIM_LESNOT_FK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] + ADD CONSTRAINT [PIM_LEASE_PIM_LESNOT_FK] + FOREIGN KEY([LEASE_ID]) + REFERENCES [dbo].[PIMS_LEASE]([LEASE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_CONSTY_PIM_CONTYP_FK +PRINT N'Create foreign key constraint dbo.PIM_CONSTY_PIM_CONTYP_FK' +GO +ALTER TABLE [dbo].[PIMS_CONSULTATION_TYPE] + ADD CONSTRAINT [PIM_CONSTY_PIM_CONTYP_FK] + FOREIGN KEY([CONSULTATION_STATUS_TYPE_CODE]) + REFERENCES [dbo].[PIMS_CONSULTATION_STATUS_TYPE]([CONSULTATION_STATUS_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_LEASE_PIM_LESCON_FK +PRINT N'Create foreign key constraint dbo.PIM_LEASE_PIM_LESCON_FK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] + ADD CONSTRAINT [PIM_LEASE_PIM_LESCON_FK] + FOREIGN KEY([LEASE_ID]) + REFERENCES [dbo].[PIMS_LEASE]([LEASE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_CONTYP_PIM_LESCON_FK +PRINT N'Create foreign key constraint dbo.PIM_CONTYP_PIM_LESCON_FK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] + ADD CONSTRAINT [PIM_CONTYP_PIM_LESCON_FK] + FOREIGN KEY([CONSULTATION_TYPE_CODE]) + REFERENCES [dbo].[PIMS_CONSULTATION_TYPE]([CONSULTATION_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_LEASE_PIM_LESDOC_FK +PRINT N'Create foreign key constraint dbo.PIM_LEASE_PIM_LESDOC_FK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] + ADD CONSTRAINT [PIM_LEASE_PIM_LESDOC_FK] + FOREIGN KEY([LEASE_ID]) + REFERENCES [dbo].[PIMS_LEASE]([LEASE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_DOCMNT_PIM_LESDOC_FK +PRINT N'Create foreign key constraint dbo.PIM_DOCMNT_PIM_LESDOC_FK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] + ADD CONSTRAINT [PIM_DOCMNT_PIM_LESDOC_FK] + FOREIGN KEY([DOCUMENT_ID]) + REFERENCES [dbo].[PIMS_DOCUMENT]([DOCUMENT_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_RESRCH_PIM_RFLPRJ_FK +PRINT N'Create foreign key constraint dbo.PIM_RESRCH_PIM_RFLPRJ_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] + ADD CONSTRAINT [PIM_RESRCH_PIM_RFLPRJ_FK] + FOREIGN KEY([RESEARCH_FILE_ID]) + REFERENCES [dbo].[PIMS_RESEARCH_FILE]([RESEARCH_FILE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +-- Create foreign key constraint dbo.PIM_PROJCT_PIM_RFLPRJ_FK +PRINT N'Create foreign key constraint dbo.PIM_PROJCT_PIM_RFLPRJ_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] + ADD CONSTRAINT [PIM_PROJCT_PIM_RFLPRJ_FK] + FOREIGN KEY([PROJECT_ID]) + REFERENCES [dbo].[PIMS_PROJECT]([ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION GO IF @@ERROR <> 0 SET NOEXEC ON GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/010_DML_PIMS_STATIC_VARIABLE_VERSION.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/010_DML_PIMS_STATIC_VARIABLE_VERSION.sql index 6510dbcc4b..5c63f20304 100644 --- a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/010_DML_PIMS_STATIC_VARIABLE_VERSION.sql +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/010_DML_PIMS_STATIC_VARIABLE_VERSION.sql @@ -9,7 +9,7 @@ Doug Filteau 2021-Nov-24 Initial version BEGIN TRANSACTION; DECLARE @CurrVer NVARCHAR(100) -SET @CurrVer = N'46.00' +SET @CurrVer = N'47.00' UPDATE PIMS_STATIC_VARIABLE WITH (UPDLOCK, SERIALIZABLE) diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/100_DML_PIMS_ACTIVITY_TEMPLATE_Update.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/100_DML_PIMS_ACTIVITY_TEMPLATE_Update.sql new file mode 100644 index 0000000000..4df53175ae --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/100_DML_PIMS_ACTIVITY_TEMPLATE_Update.sql @@ -0,0 +1,20 @@ +/* ----------------------------------------------------------------------------- +Insert data into the PIMS_ACTIVITY_TEMPLATE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2022-Sep-30 Initial version +Doug Filteau 2022-Oct-31 Added 'File Document' +----------------------------------------------------------------------------- */ + +INSERT INTO PIMS_ACTIVITY_TEMPLATE (ACTIVITY_TEMPLATE_TYPE_CODE, IS_DISABLED, CONCURRENCY_CONTROL_NUMBER) +VALUES + (N'GENLTR', CONVERT([bit],(0)), 1), + (N'NOTENTRY', CONVERT([bit],(0)), 1), + (N'CONDENTRY', CONVERT([bit],(0)), 1), + (N'RECNEGOT', CONVERT([bit],(0)), 1), + (N'CONSULT', CONVERT([bit],(0)), 1), + (N'RECTAKES', CONVERT([bit],(0)), 1), + (N'OFFAGREE', CONVERT([bit],(0)), 1), + (N'COMPREQ', CONVERT([bit],(0)), 1); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/111_DML_PIMS_BUSINESS_FUNCTION_CODE_Insert.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/111_DML_PIMS_BUSINESS_FUNCTION_CODE_Insert.sql new file mode 100644 index 0000000000..afde21156e --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/111_DML_PIMS_BUSINESS_FUNCTION_CODE_Insert.sql @@ -0,0 +1,64 @@ +/* ----------------------------------------------------------------------------- +Delete the missing code values in the PIMS_BUSINESS_FUNCTION_CODE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-30 Initial version +----------------------------------------------------------------------------- */ + +BEGIN TRANSACTION; + +DECLARE @CurrCd NVARCHAR(20) +SET @CurrCd = N'MANAGE' + +SELECT CODE +FROM PIMS_BUSINESS_FUNCTION_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 0 + BEGIN + INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) + VALUES + (N'MANAGE', N'MANAGE', 110, CONVERT(DATETIME, '1990.01.01', 102)); + END + +SET @CurrCd = N'ORIO ACQ' + +SELECT CODE +FROM PIMS_BUSINESS_FUNCTION_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 0 + BEGIN + INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) + VALUES + (N'ORIO ACQ', N'ORIO ACQ', 111, CONVERT(DATETIME, '1990.01.01', 102)); + END + +SET @CurrCd = N'PROP AQU' + +SELECT CODE +FROM PIMS_BUSINESS_FUNCTION_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 0 + BEGIN + INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) + VALUES + (N'PROP AQU', N'PROP AQU', 112, CONVERT(DATETIME, '1990.01.01', 102)); + END + +SET @CurrCd = N'PROP MAN' + +SELECT CODE +FROM PIMS_BUSINESS_FUNCTION_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 0 + BEGIN + INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) + VALUES + (N'PROP MAN', N'PROP MAN', 113, CONVERT(DATETIME, '1990.01.01', 102)); + END + +COMMIT TRANSACTION; diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/112_DML_PIMS_COST_TYPE_CODE_Insert.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/112_DML_PIMS_COST_TYPE_CODE_Insert.sql new file mode 100644 index 0000000000..4f93716db1 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/112_DML_PIMS_COST_TYPE_CODE_Insert.sql @@ -0,0 +1,25 @@ +/* ----------------------------------------------------------------------------- +Populate the missing code values in the PIMS_COST_TYPE_CODE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-30 Initial version +----------------------------------------------------------------------------- */ + +BEGIN TRANSACTION; + +DECLARE @CurrCd NVARCHAR(20) +SET @CurrCd = N'WBO' + +SELECT CODE +FROM PIMS_COST_TYPE_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 0 + BEGIN + INSERT INTO PIMS_COST_TYPE_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) + VALUES + (N'WBO', N'WBO', 1000, CONVERT(DATETIME, '1990.01.01', 102)); + END + +COMMIT TRANSACTION; diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/113_DML_PIMS_WORK_ACTIVITY_CODE_Insert.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/113_DML_PIMS_WORK_ACTIVITY_CODE_Insert.sql new file mode 100644 index 0000000000..c3f0a8b7d2 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/113_DML_PIMS_WORK_ACTIVITY_CODE_Insert.sql @@ -0,0 +1,77 @@ +/* ----------------------------------------------------------------------------- +Populate the missing code values in the PIMS_WORK_ACTIVITY_CODE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-30 Initial version +----------------------------------------------------------------------------- */ + +BEGIN TRANSACTION; + +DECLARE @CurrCd NVARCHAR(20) +SET @CurrCd = N'PROP MAN' + +SELECT CODE +FROM PIMS_WORK_ACTIVITY_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 0 + BEGIN + INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) + VALUES + (N'PROP MAN', N'PROP MAN', 2000, CONVERT(DATETIME, '1990.01.01', 102)); + END + +SET @CurrCd = N'SURVEY' + +SELECT CODE +FROM PIMS_WORK_ACTIVITY_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 0 + BEGIN + INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) + VALUES + (N'SURVEY', N'SURVEY', 2001, CONVERT(DATETIME, '1990.01.01', 102)); + END + +SET @CurrCd = N'ELEC MAIN' + +SELECT CODE +FROM PIMS_WORK_ACTIVITY_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 0 + BEGIN + INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) + VALUES + (N'ELEC MAIN', N'ELEC MAIN', 2002, CONVERT(DATETIME, '1990.01.01', 102)); + END + +SET @CurrCd = N'ACQ PROP' + +SELECT CODE +FROM PIMS_WORK_ACTIVITY_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 0 + BEGIN + INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) + VALUES + (N'ACQ PROP', N'ACQ PROP', 2003, CONVERT(DATETIME, '1990.01.01', 102)); + END + +SET @CurrCd = N'PA GENERAL' + +SELECT CODE +FROM PIMS_WORK_ACTIVITY_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 0 + BEGIN + INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) + VALUES + (N'PA GENERAL', N'PA GENERALP', 2004, CONVERT(DATETIME, '1990.01.01', 102)); + END + +COMMIT TRANSACTION; diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/114_DML_PIMS_CONSULTATION_STATUS_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/114_DML_PIMS_CONSULTATION_STATUS_TYPE.sql new file mode 100644 index 0000000000..c682f83124 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/114_DML_PIMS_CONSULTATION_STATUS_TYPE.sql @@ -0,0 +1,18 @@ +/* ----------------------------------------------------------------------------- +Populate the missing code values in the PIMS_CONSULTATION_STATUS_TYPE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-30 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_CONSULTATION_STATUS_TYPE +GO + +INSERT INTO PIMS_CONSULTATION_STATUS_TYPE (CONSULTATION_STATUS_TYPE_CODE, DESCRIPTION, DISPLAY_ORDER) +VALUES + (N'UNKNOWN', N'Unknown', 1), + (N'REQNTCOM', N'Required, not completed', 2), + (N'REQCOMP', N'Required, completed', 3), + (N'NOTREQD', N'Not required', 4); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/115_DML_PIMS_CONSULTATION_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/115_DML_PIMS_CONSULTATION_TYPE.sql new file mode 100644 index 0000000000..a86a9094fb --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/115_DML_PIMS_CONSULTATION_TYPE.sql @@ -0,0 +1,21 @@ +/* ----------------------------------------------------------------------------- +Populate the missing code values in the PIMS_CONSULTATION_TYPE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-30 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_CONSULTATION_TYPE +GO + +INSERT INTO PIMS_CONSULTATION_TYPE (CONSULTATION_TYPE_CODE, CONSULTATION_STATUS_TYPE_CODE, DESCRIPTION, OTHER_DESCRIPTION, DISPLAY_ORDER) +VALUES + (N'1STNATION', N'UNKNOWN', N'First nation', '', 1), + (N'STRATRE', N'UNKNOWN', N'Strategic Real Estate (SRE)', '', 2), + (N'REGPLANG', N'UNKNOWN', N'Regional planning', '', 3), + (N'REGPRPSVC', N'UNKNOWN', N'Regional property services', '', 4), + (N'DISTRICT', N'UNKNOWN', N'District', '', 5), + (N'HQ', N'UNKNOWN', N'Headquarter (HQ)', '', 6), + (N'OTHER', N'UNKNOWN', N'Other', 'Describe other*', 7); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/Schema Compare.zip b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/Schema Compare.zip index a999f942f1..dff46b5667 100644 Binary files a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/Schema Compare.zip and b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Alter Up/Schema Compare.zip differ diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/002_PSP_PIMS_Build.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/002_PSP_PIMS_Build.sql index ffb2e6fef6..e33ef1cfe6 100644 --- a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/002_PSP_PIMS_Build.sql +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/002_PSP_PIMS_Build.sql @@ -1,6 +1,6 @@ /* -Script generated by Aqua Data Studio 22.2.0 on Jan.-26-2023 10:37:59 a.m. -Database: PSP_PIMS_S46_00 +Script generated by Aqua Data Studio 22.2.0 on Feb.-02-2023 10:06:39 a.m. +Database: PSP_PIMS_S47_00 Schema: dbo Objects: DATATYPE, DEFAULT, RULE, SEQUENCE, TABLE, VIEW, SYNONYM, PROCEDURE, FUNCTION, INDEX, TRIGGER, DATABASETRIGGER, DATABASE_AUDIT_SPEC */ @@ -744,6 +744,46 @@ CREATE SEQUENCE [dbo].[PIMS_LEASE_ACTIVITY_PERIOD_ID_SEQ] CACHE 50 GO +CREATE SEQUENCE [dbo].[PIMS_LEASE_CONSULTATION_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_LEASE_CONSULTATION_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_LEASE_DOCUMENT_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_LEASE_DOCUMENT_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + CREATE SEQUENCE [dbo].[PIMS_LEASE_H_ID_SEQ] AS bigint START WITH 1 @@ -764,6 +804,26 @@ CREATE SEQUENCE [dbo].[PIMS_LEASE_ID_SEQ] CACHE 50 GO +CREATE SEQUENCE [dbo].[PIMS_LEASE_NOTE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_LEASE_NOTE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + CREATE SEQUENCE [dbo].[PIMS_LEASE_PAYMENT_FORECAST_H_ID_SEQ] AS bigint START WITH 1 @@ -1524,6 +1584,26 @@ CREATE SEQUENCE [dbo].[PIMS_RESEARCH_FILE_NOTE_ID_SEQ] CACHE 50 GO +CREATE SEQUENCE [dbo].[PIMS_RESEARCH_FILE_PROJECT_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_RESEARCH_FILE_PROJECT_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + CREATE SEQUENCE [dbo].[PIMS_RESEARCH_FILE_PURPOSE_H_ID_SEQ] AS bigint START WITH 1 @@ -1566,7 +1646,7 @@ GO CREATE SEQUENCE [dbo].[PIMS_RESPONSIBILITY_CODE_SEQ] AS bigint - START WITH 991 + START WITH 1 INCREMENT BY 1 MINVALUE 1 MAXVALUE 2147483647 @@ -8142,6 +8222,100 @@ CREATE TABLE [dbo].[PIMS_CLAIM_HIST] ( ) GO +CREATE TABLE [dbo].[PIMS_CONSULTATION_STATUS_TYPE] ( + [CONSULTATION_STATUS_TYPE_CODE] varchar(20) NOT NULL CONSTRAINT [CONSTY_CONSULTATION_STATUS_TYPE_CODE_DEF] DEFAULT ('OTHER'), + [DESCRIPTION] nvarchar(200) NOT NULL CONSTRAINT [CONSTY_DESCRIPTION_DEF] DEFAULT (''), + [DISPLAY_ORDER] int NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [CONSTY_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [CONSTY_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CONSTY_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CONSTY_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CONSTY_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CONSTY_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [CONSTY_PK] PRIMARY KEY CLUSTERED([CONSULTATION_STATUS_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value of the consultation status type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_STATUS_TYPE', + @level2type = N'Column', @level2name = N'CONSULTATION_STATUS_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the consultation status type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Onscreen display order of the consultation types.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the consultation status type is active.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_STATUS_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the consultation status type for (currently) a lease or license.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_STATUS_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_CONSULTATION_TYPE] ( + [CONSULTATION_TYPE_CODE] varchar(20) NOT NULL CONSTRAINT [CONTYP_CONSULTATION_TYPE_CODE_DEF] DEFAULT ('OTHER'), + [CONSULTATION_STATUS_TYPE_CODE] varchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL CONSTRAINT [CONTYP_DESCRIPTION_DEF] DEFAULT (''), + [OTHER_DESCRIPTION] nvarchar(200) NULL, + [DISPLAY_ORDER] int NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [CONTYP_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [CONTYP_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CONTYP_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CONTYP_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CONTYP_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CONTYP_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [CONTYP_PK] PRIMARY KEY CLUSTERED([CONSULTATION_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value of the consultation type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_TYPE', + @level2type = N'Column', @level2name = N'CONSULTATION_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the consultation type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Additional descriptive text of the consultation type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_TYPE', + @level2type = N'Column', @level2name = N'OTHER_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Onscreen display order of the consultation types.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the consultation type is active.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the consultation type required for (currently) a lease or license.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_TYPE' +GO + CREATE TABLE [dbo].[PIMS_CONTACT_METHOD_TYPE] ( [CONTACT_METHOD_TYPE_CODE] nvarchar(20) NOT NULL, [DESCRIPTION] nvarchar(200) NOT NULL, @@ -9019,6 +9193,117 @@ CREATE TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE_HIST] ( ) GO +CREATE TABLE [dbo].[PIMS_LEASE_CONSULTATION] ( + [LEASE_CONSULTATION_ID] bigint NOT NULL CONSTRAINT [LESCON_LEASE_CONSULTATION_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_LEASE_CONSULTATION_ID_SEQ]), + [LEASE_ID] bigint NOT NULL, + [CONSULTATION_TYPE_CODE] varchar(20) NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESCON_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LESCON_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESCON_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESCON_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LESCON_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESCON_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LESCON_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESCON_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NULL CONSTRAINT [LESCON_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESCON_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESCON_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [IS_DISABLED] bit NULL CONSTRAINT [LESCON_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + CONSTRAINT [LESCON_PK] PRIMARY KEY CLUSTERED([LEASE_CONSULTATION_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_CONSULTATION', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO + +CREATE TABLE [dbo].[PIMS_LEASE_CONSULTATION_HIST] ( + [_LEASE_CONSULTATION_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_LEASE_CONSULTATION_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [LEASE_CONSULTATION_ID] bigint NOT NULL, + [LEASE_ID] bigint NOT NULL, + [CONSULTATION_TYPE_CODE] varchar(20) NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [IS_DISABLED] bit NULL, + CONSTRAINT [PIMS_LESCON_H_PK] PRIMARY KEY CLUSTERED([_LEASE_CONSULTATION_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_LEASE_DOCUMENT] ( + [LEASE_DOCUMENT_ID] bigint NOT NULL CONSTRAINT [LESDOC_LEASE_DOCUMENT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_LEASE_DOCUMENT_ID_SEQ]), + [LEASE_ID] bigint NOT NULL, + [DOCUMENT_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [LESDOC_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LESDOC_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESDOC_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESDOC_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LESDOC_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESDOC_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESDOC_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LESDOC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESDOC_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NULL CONSTRAINT [LESDOC_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESDOC_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESDOC_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LESDOC_PK] PRIMARY KEY CLUSTERED([LEASE_DOCUMENT_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_DOCUMENT', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Defines the relationship betwwen a lease and a document.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_DOCUMENT' +GO + +CREATE TABLE [dbo].[PIMS_LEASE_DOCUMENT_HIST] ( + [_LEASE_DOCUMENT_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_LEASE_DOCUMENT_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [LEASE_DOCUMENT_ID] bigint NOT NULL, + [LEASE_ID] bigint NOT NULL, + [DOCUMENT_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_LESDOC_H_PK] PRIMARY KEY CLUSTERED([_LEASE_DOCUMENT_HIST_ID]) +) +GO + CREATE TABLE [dbo].[PIMS_LEASE_HIST] ( [_LEASE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_LEASE_H_ID_SEQ]), [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), @@ -9074,6 +9359,64 @@ CREATE TABLE [dbo].[PIMS_LEASE_HIST] ( ) GO +CREATE TABLE [dbo].[PIMS_LEASE_NOTE] ( + [LEASE_NOTE_ID] bigint NOT NULL CONSTRAINT [LESNOT_LEASE_NOTE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_LEASE_NOTE_ID_SEQ]), + [LEASE_ID] bigint NOT NULL, + [NOTE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [LESNOT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LESNOT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESNOT_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESNOT_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LESNOT_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESNOT_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESNOT_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LESNOT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESNOT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NULL CONSTRAINT [LESNOT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESNOT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESNOT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LESNOT_PK] PRIMARY KEY CLUSTERED([LEASE_NOTE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_NOTE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Defines the relationship betwwen a lease and a note.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_NOTE' +GO + +CREATE TABLE [dbo].[PIMS_LEASE_NOTE_HIST] ( + [_LEASE_NOTE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_LEASE_NOTE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [LEASE_NOTE_ID] bigint NOT NULL, + [LEASE_ID] bigint NOT NULL, + [NOTE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_LESNOT_H_PK] PRIMARY KEY CLUSTERED([_LEASE_NOTE_HIST_ID]) +) +GO + CREATE TABLE [dbo].[PIMS_LEASE_PAYMENT_METHOD_TYPE] ( [LEASE_PAYMENT_METHOD_TYPE_CODE] nvarchar(20) NOT NULL, [DESCRIPTION] nvarchar(200) NOT NULL, @@ -10967,24 +11310,24 @@ CREATE TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE_HIST] ( GO CREATE TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ( - [RESEARCH_FILE_DOCUMENT_ID] bigint NOT NULL CONSTRAINT [RSCDOC_RESEARCH_FILE_DOCUMENT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_DOCUMENT_ID_SEQ]), + [RESEARCH_FILE_DOCUMENT_ID] bigint NOT NULL CONSTRAINT [RFLDOC_RESEARCH_FILE_DOCUMENT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_DOCUMENT_ID_SEQ]), [RESEARCH_FILE_ID] bigint NOT NULL, [DOCUMENT_ID] bigint NOT NULL, - [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSCDOC_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), - [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RSCDOC_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [IS_DISABLED] bit NULL CONSTRAINT [RFLDOC_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [RFLDOC_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLDOC_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RFLDOC_APP_CREATE_USERID_DEF] DEFAULT (user_name()), [APP_CREATE_USER_GUID] uniqueidentifier NULL, - [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSCDOC_APP_CREATE_USERID_DEF] DEFAULT (user_name()), - [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSCDOC_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), - [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RSCDOC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RFLDOC_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLDOC_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RFLDOC_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, - [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSCDOC_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), - [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [RSCDOC_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), - [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSCDOC_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), - [DB_CREATE_USERID] nvarchar(30) NULL CONSTRAINT [RSCDOC_DB_CREATE_USERID_DEF] DEFAULT (user_name()), - [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSCDOC_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), - [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSCDOC_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), - [IS_DISABLED] bit NULL CONSTRAINT [RSCDOC_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), - CONSTRAINT [RSCDOC_PK] PRIMARY KEY CLUSTERED([RESEARCH_FILE_DOCUMENT_ID]) + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RFLDOC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLDOC_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NULL CONSTRAINT [RFLDOC_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLDOC_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RFLDOC_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [RFLDOC_PK] PRIMARY KEY CLUSTERED([RESEARCH_FILE_DOCUMENT_ID]) ) GO EXEC sp_addextendedproperty @@ -11006,21 +11349,21 @@ CREATE TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_HIST] ( [RESEARCH_FILE_DOCUMENT_ID] bigint NOT NULL, [RESEARCH_FILE_ID] bigint NOT NULL, [DOCUMENT_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, [APP_CREATE_TIMESTAMP] datetime NOT NULL, - [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, - [APP_CREATE_USER_GUID] uniqueidentifier NULL, [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, - [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, - [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, - [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, [DB_CREATE_TIMESTAMP] datetime NOT NULL, [DB_CREATE_USERID] nvarchar(30) NULL, [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, - [IS_DISABLED] bit NULL, - CONSTRAINT [PIMS_RSCDOC_H_PK] PRIMARY KEY CLUSTERED([_RESEARCH_FILE_DOCUMENT_HIST_ID]) + CONSTRAINT [PIMS_RFLDOC_H_PK] PRIMARY KEY CLUSTERED([_RESEARCH_FILE_DOCUMENT_HIST_ID]) ) GO @@ -11057,24 +11400,24 @@ CREATE TABLE [dbo].[PIMS_RESEARCH_FILE_HIST] ( GO CREATE TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ( - [RESEARCH_FILE_NOTE_ID] bigint NOT NULL CONSTRAINT [RSCNOT_RESEARCH_FILE_NOTE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_NOTE_ID_SEQ]), + [RESEARCH_FILE_NOTE_ID] bigint NOT NULL CONSTRAINT [RFLNOT_RESEARCH_FILE_NOTE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_NOTE_ID_SEQ]), [RESEARCH_FILE_ID] bigint NOT NULL, [NOTE_ID] bigint NOT NULL, - [IS_DISABLED] bit NULL CONSTRAINT [RSCNOT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), - [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [RSCNOT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), - [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSCNOT_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), - [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSCNOT_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [IS_DISABLED] bit NULL CONSTRAINT [RFLNOT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [RFLNOT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLNOT_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RFLNOT_APP_CREATE_USERID_DEF] DEFAULT (user_name()), [APP_CREATE_USER_GUID] uniqueidentifier NULL, - [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RSCNOT_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), - [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSCNOT_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), - [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSCNOT_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RFLNOT_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLNOT_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RFLNOT_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, - [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RSCNOT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), - [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSCNOT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), - [DB_CREATE_USERID] nvarchar(30) NULL CONSTRAINT [RSCNOT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), - [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSCNOT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), - [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSCNOT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), - CONSTRAINT [RSCNOT_PK] PRIMARY KEY CLUSTERED([RESEARCH_FILE_NOTE_ID],[RESEARCH_FILE_ID]) + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RFLNOT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLNOT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NULL CONSTRAINT [RFLNOT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLNOT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RFLNOT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [RFLNOT_PK] PRIMARY KEY CLUSTERED([RESEARCH_FILE_NOTE_ID],[RESEARCH_FILE_ID]) ) GO EXEC sp_addextendedproperty @@ -11110,33 +11453,91 @@ CREATE TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE_HIST] ( [DB_CREATE_USERID] nvarchar(30) NULL, [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, - CONSTRAINT [PIMS_RSCNOT_H_PK] PRIMARY KEY CLUSTERED([_RESEARCH_FILE_NOTE_HIST_ID]) + CONSTRAINT [PIMS_RFLNOT_H_PK] PRIMARY KEY CLUSTERED([_RESEARCH_FILE_NOTE_HIST_ID]) ) GO -CREATE TABLE [dbo].[PIMS_RESEARCH_PURPOSE_TYPE] ( - [RESEARCH_PURPOSE_TYPE_CODE] nvarchar(20) NOT NULL, - [DESCRIPTION] nvarchar(200) NOT NULL, - [IS_DISABLED] bit NULL CONSTRAINT [RSHPRT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), - [DISPLAY_ORDER] int NULL, - [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [RSHPRT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), - [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSHPRT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), - [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSHPRT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), - [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSHPRT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), - [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSHPRT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), - CONSTRAINT [RSHPRT_PK] PRIMARY KEY CLUSTERED([RESEARCH_PURPOSE_TYPE_CODE]) +CREATE TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] ( + [RESEARCH_FILE_PROJECT_ID] bigint NOT NULL CONSTRAINT [RFLPRJ_RESEARCH_FILE_PROJECT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_PROJECT_ID_SEQ]), + [RESEARCH_FILE_ID] bigint NOT NULL, + [PROJECT_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [RFLPRJ_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [RFLPRJ_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLPRJ_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RFLPRJ_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RFLPRJ_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLPRJ_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RFLPRJ_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RFLPRJ_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLPRJ_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NULL CONSTRAINT [RFLPRJ_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLPRJ_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RFLPRJ_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [RFLPRJ_PK] PRIMARY KEY CLUSTERED([RESEARCH_FILE_PROJECT_ID]) ) GO EXEC sp_addextendedproperty - @name = N'MS_Description', @value = N'Code indicating the purpose of the research request.' , + @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , @level0type = N'Schema', @level0name = N'dbo', - @level1type = N'Table', @level1name = N'PIMS_RESEARCH_PURPOSE_TYPE', - @level2type = N'Column', @level2name = N'RESEARCH_PURPOSE_TYPE_CODE' + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE_PROJECT', + @level2type = N'Column', @level2name = N'IS_DISABLED' GO EXEC sp_addextendedproperty - @name = N'MS_Description', @value = N'Description of the code indicating the purpose of the research request.' , + @name = N'MS_Description', @value = N'Defines the relationship betwwen a research file and a project.' , @level0type = N'Schema', @level0name = N'dbo', - @level1type = N'Table', @level1name = N'PIMS_RESEARCH_PURPOSE_TYPE', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE_PROJECT' +GO + +CREATE TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT_HIST] ( + [_RESEARCH_FILE_PROJECT_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_PROJECT_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [RESEARCH_FILE_PROJECT_ID] bigint NOT NULL, + [RESEARCH_FILE_ID] bigint NOT NULL, + [PROJECT_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_RFLPRJ_H_PK] PRIMARY KEY CLUSTERED([_RESEARCH_FILE_PROJECT_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_RESEARCH_PURPOSE_TYPE] ( + [RESEARCH_PURPOSE_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [RSHPRT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [RSHPRT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSHPRT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSHPRT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSHPRT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSHPRT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [RSHPRT_PK] PRIMARY KEY CLUSTERED([RESEARCH_PURPOSE_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code indicating the purpose of the research request.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_PURPOSE_TYPE', + @level2type = N'Column', @level2name = N'RESEARCH_PURPOSE_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the code indicating the purpose of the research request.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_PURPOSE_TYPE', @level2type = N'Column', @level2name = N'DESCRIPTION' GO EXEC sp_addextendedproperty @@ -12106,7 +12507,6 @@ SELECT DISTINCT PERSON_ID , DB_LAST_UPDATE_TIMESTAMP DESC) AS PERSONAL_EMAIL FROM PIMS_CONTACT_METHOD TMP WHERE ORGANIZATION_ID IS NULL - GO CREATE VIEW [dbo].[PIMS_CONTACT_MGR_VW] AS @@ -12157,9 +12557,12 @@ CREATE VIEW [dbo].[PIMS_CONTACT_MGR_VW] AS PIMS_PROVINCE_STATE PRV ON PRV.PROVINCE_STATE_ID = ADR.PROVINCE_STATE_ID LEFT JOIN PIMS_CONTACT_METHOD CON ON CON.ORGANIZATION_ID = ORG.ORGANIZATION_ID AND CON.CONTACT_METHOD_TYPE_CODE = 'WORKEMAIL' - GO +/* ---------------------------------------------------------------------- */ +/* Add views */ +/* ---------------------------------------------------------------------- */ + CREATE VIEW [dbo].[PIMS_PROPERTY_BOUNDARY_VW] AS SELECT PROP.PROPERTY_ID , PROP.PID @@ -12210,7 +12613,6 @@ FROM PIMS_PROPERTY PROP PIMS_PROVINCE_STATE PROV ON PROV.PROVINCE_STATE_ID = ADDR.PROVINCE_STATE_ID LEFT OUTER JOIN PIMS_COUNTRY CNTY ON CNTY.COUNTRY_ID = ADDR.COUNTRY_ID WHERE PROP.BOUNDARY IS NOT NULL - GO CREATE VIEW [dbo].[PIMS_PROPERTY_LOCATION_VW] AS @@ -12263,7 +12665,6 @@ FROM PIMS_PROPERTY PROP PIMS_PROVINCE_STATE PROV ON PROV.PROVINCE_STATE_ID = ADDR.PROVINCE_STATE_ID LEFT OUTER JOIN PIMS_COUNTRY CNTY ON CNTY.COUNTRY_ID = ADDR.COUNTRY_ID WHERE PROP.LOCATION IS NOT NULL - GO -- ............................................................................................ @@ -12697,6 +13098,10 @@ CREATE NONCLUSTERED INDEX [CNTMTH_PERSON_ID_IDX] ON [dbo].[PIMS_CONTACT_METHOD]([PERSON_ID]) GO +CREATE NONCLUSTERED INDEX [CONTYP_CONSULTATION_STATUS_TYPE_CODE_IDX] + ON [dbo].[PIMS_CONSULTATION_TYPE]([CONSULTATION_STATUS_TYPE_CODE]) +GO + CREATE NONCLUSTERED INDEX [COSTYP_CODE_IDX] ON [dbo].[PIMS_COST_TYPE_CODE]([CODE]) GO @@ -12777,6 +13182,30 @@ CREATE NONCLUSTERED INDEX [LEASE_TFA_FILE_NUMBER_IDX] ON [dbo].[PIMS_LEASE]([TFA_FILE_NUMBER]) GO +CREATE NONCLUSTERED INDEX [LESCON_CONSULTATION_TYPE_CODE_IDX] + ON [dbo].[PIMS_LEASE_CONSULTATION]([CONSULTATION_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [LESCON_LEASE_ID_IDX] + ON [dbo].[PIMS_LEASE_CONSULTATION]([LEASE_ID]) +GO + +CREATE NONCLUSTERED INDEX [LESDOC_DOCUMENT_ID_IDX] + ON [dbo].[PIMS_LEASE_DOCUMENT]([DOCUMENT_ID]) +GO + +CREATE NONCLUSTERED INDEX [LESDOC_LEASE_ID_IDX] + ON [dbo].[PIMS_LEASE_DOCUMENT]([LEASE_ID]) +GO + +CREATE NONCLUSTERED INDEX [LESNOT_LEASE_ID_IDX] + ON [dbo].[PIMS_LEASE_NOTE]([LEASE_ID]) +GO + +CREATE NONCLUSTERED INDEX [LESNOT_NOTE_ID_IDX] + ON [dbo].[PIMS_LEASE_NOTE]([NOTE_ID]) +GO + CREATE NONCLUSTERED INDEX [LSACIN_ACTIVITY_INSTANCE_ID_IDX] ON [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE]([ACTIVITY_INSTANCE_ID]) GO @@ -13077,6 +13506,30 @@ CREATE NONCLUSTERED INDEX [RESRCH_RESEARCH_FILE_STATUS_TYPE_CODE_IDX] ON [dbo].[PIMS_RESEARCH_FILE]([RESEARCH_FILE_STATUS_TYPE_CODE]) GO +CREATE NONCLUSTERED INDEX [RFLDOC_DOCUMENT_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_DOCUMENT]([DOCUMENT_ID]) +GO + +CREATE NONCLUSTERED INDEX [RFLDOC_RESEARCH_FILE_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_DOCUMENT]([RESEARCH_FILE_ID]) +GO + +CREATE NONCLUSTERED INDEX [RFLNOT_NOTE_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_NOTE]([NOTE_ID]) +GO + +CREATE NONCLUSTERED INDEX [RFLNOT_RESEARCH_FILE_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_NOTE]([RESEARCH_FILE_ID]) +GO + +CREATE NONCLUSTERED INDEX [RFLPRJ_PROJECT_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_PROJECT]([PROJECT_ID]) +GO + +CREATE NONCLUSTERED INDEX [RFLPRJ_RESEARCH_FILE_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_PROJECT]([RESEARCH_FILE_ID]) +GO + CREATE NONCLUSTERED INDEX [RGNUSR_REGION_CODE_IDX] ON [dbo].[PIMS_REGION_USER]([REGION_CODE]) GO @@ -13101,14 +13554,6 @@ CREATE NONCLUSTERED INDEX [ROLE_ROLE_UID_IDX] ON [dbo].[PIMS_ROLE]([ROLE_UID]) GO -CREATE NONCLUSTERED INDEX [RSCDOC_DOCUMENT_ID_IDX] - ON [dbo].[PIMS_RESEARCH_FILE_DOCUMENT]([DOCUMENT_ID]) -GO - -CREATE NONCLUSTERED INDEX [RSCDOC_RESEARCH_FILE_ID_IDX] - ON [dbo].[PIMS_RESEARCH_FILE_DOCUMENT]([RESEARCH_FILE_ID]) -GO - CREATE NONCLUSTERED INDEX [RSCHAI_ACTIVITY_INSTANCE_ID_IDX] ON [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE]([ACTIVITY_INSTANCE_ID]) GO @@ -13117,14 +13562,6 @@ CREATE NONCLUSTERED INDEX [RSCHAI_RESEARCH_FILE_ID_IDX] ON [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE]([RESEARCH_FILE_ID]) GO -CREATE NONCLUSTERED INDEX [RSCNOT_NOTE_ID_IDX] - ON [dbo].[PIMS_RESEARCH_FILE_NOTE]([NOTE_ID]) -GO - -CREATE NONCLUSTERED INDEX [RSCNOT_RESEARCH_FILE_ID_IDX] - ON [dbo].[PIMS_RESEARCH_FILE_NOTE]([RESEARCH_FILE_ID]) -GO - CREATE NONCLUSTERED INDEX [RSFLPR_RESEARCH_FILE_ID_IDX] ON [dbo].[PIMS_RESEARCH_FILE_PURPOSE]([RESEARCH_FILE_ID]) GO @@ -13233,43 +13670,65 @@ CREATE NONCLUSTERED INDEX [YRFINC_CODE_IDX] ON [dbo].[PIMS_YEARLY_FINANCIAL_CODE]([CODE]) GO -CREATE TRIGGER [dbo].[PIMS_SDRTRN_A_S_IUD_TR] ON PIMS_SECURITY_DEPOSIT_RETURN FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_YRFINC_I_S_I_TR] ON PIMS_YEARLY_FINANCIAL_CODE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM inserted) RETURN; - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_SECURITY_DEPOSIT_RETURN_HIST set END_DATE_HIST = @curr_date where SECURITY_DEPOSIT_RETURN_ID in (select SECURITY_DEPOSIT_RETURN_ID from deleted) and END_DATE_HIST is null; - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_SECURITY_DEPOSIT_RETURN_HIST ([SECURITY_DEPOSIT_RETURN_ID], [SECURITY_DEPOSIT_ID], [TERMINATION_DATE], [CLAIMS_AGAINST], [RETURN_AMOUNT], [RETURN_DATE], [INTEREST_PAID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _SECURITY_DEPOSIT_RETURN_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [SECURITY_DEPOSIT_RETURN_ID], [SECURITY_DEPOSIT_ID], [TERMINATION_DATE], [CLAIMS_AGAINST], [RETURN_AMOUNT], [RETURN_DATE], [INTEREST_PAID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_H_ID_SEQ]) as [_SECURITY_DEPOSIT_RETURN_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_YEARLY_FINANCIAL_CODE ("ID", + "CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "EFFECTIVE_DATE", + "EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ID", + "CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "EFFECTIVE_DATE", + "EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRPCLT_I_S_I_TR] ON PIMS_PROPERTY_CLASSIFICATION_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_ARQSTT_I_S_I_TR] ON PIMS_ACCESS_REQUEST_STATUS_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_PROPERTY_CLASSIFICATION_TYPE ("PROPERTY_CLASSIFICATION_TYPE_CODE", + insert into PIMS_ACCESS_REQUEST_STATUS_TYPE ("ACCESS_REQUEST_STATUS_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER") - select "PROPERTY_CLASSIFICATION_TYPE_CODE", + select "ACCESS_REQUEST_STATUS_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", @@ -13281,73 +13740,60 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ADUSGT_I_S_I_TR] ON PIMS_ADDRESS_USAGE_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_ACQAIN_I_S_U_TR] ON PIMS_ACQUISITION_ACTIVITY_INSTANCE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) + IF NOT EXISTS(SELECT * FROM deleted) RETURN; - - insert into PIMS_ADDRESS_USAGE_TYPE ("ADDRESS_USAGE_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "ADDRESS_USAGE_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" - from inserted; + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_ACTIVITY_INSTANCE_ID = deleted.ACQUISITION_ACTIVITY_INSTANCE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACQUISITION_ACTIVITY_INSTANCE + set "ACQUISITION_ACTIVITY_INSTANCE_ID" = inserted."ACQUISITION_ACTIVITY_INSTANCE_ID", + "ACQUISITION_FILE_ID" = inserted."ACQUISITION_FILE_ID", + "ACTIVITY_INSTANCE_ID" = inserted."ACTIVITY_INSTANCE_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACQUISITION_ACTIVITY_INSTANCE + inner join inserted + on (PIMS_ACQUISITION_ACTIVITY_INSTANCE.ACQUISITION_ACTIVITY_INSTANCE_ID = inserted.ACQUISITION_ACTIVITY_INSTANCE_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_WRKACT_I_S_I_TR] ON PIMS_WORK_ACTIVITY_CODE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_AQFPPT_I_S_I_TR] ON PIMS_ACQ_FL_PERSON_PROFILE_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_WORK_ACTIVITY_CODE ("ID", - "CODE", + insert into PIMS_ACQ_FL_PERSON_PROFILE_TYPE ("ACQ_FL_PERSON_PROFILE_TYPE_CODE", "DESCRIPTION", + "IS_DISABLED", "DISPLAY_ORDER", - "EFFECTIVE_DATE", - "EXPIRY_DATE", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY") - select "ID", - "CODE", + "CONCURRENCY_CONTROL_NUMBER") + select "ACQ_FL_PERSON_PROFILE_TYPE_CODE", "DESCRIPTION", + "IS_DISABLED", "DISPLAY_ORDER", - "EFFECTIVE_DATE", - "EXPIRY_DATE", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" + "CONCURRENCY_CONTROL_NUMBER" from inserted; END TRY @@ -13355,28 +13801,40 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRACQF_I_S_U_TR] ON PIMS_PROPERTY_ACQUISITION_FILE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ACQNFL_I_S_U_TR] ON PIMS_ACQUISITION_FILE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_ACQUISITION_FILE_ID = deleted.PROPERTY_ACQUISITION_FILE_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_FILE_ID = deleted.ACQUISITION_FILE_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_PROPERTY_ACQUISITION_FILE - set "PROPERTY_ACQUISITION_FILE_ID" = inserted."PROPERTY_ACQUISITION_FILE_ID", - "ACQUISITION_FILE_ID" = inserted."ACQUISITION_FILE_ID", - "PROPERTY_ID" = inserted."PROPERTY_ID", - "PROPERTY_NAME" = inserted."PROPERTY_NAME", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "IS_DISABLED" = inserted."IS_DISABLED", + update PIMS_ACQUISITION_FILE + set "ACQUISITION_FILE_ID" = inserted."ACQUISITION_FILE_ID", + "PROJECT_ID" = inserted."PROJECT_ID", + "PRODUCT_ID" = inserted."PRODUCT_ID", + "ACQUISITION_FILE_STATUS_TYPE_CODE" = inserted."ACQUISITION_FILE_STATUS_TYPE_CODE", + "ACQUISITION_TYPE_CODE" = inserted."ACQUISITION_TYPE_CODE", + "ACQUISITION_FUNDING_TYPE_CODE" = inserted."ACQUISITION_FUNDING_TYPE_CODE", + "ACQ_PHYS_FILE_STATUS_TYPE_CODE" = inserted."ACQ_PHYS_FILE_STATUS_TYPE_CODE", + "REGION_CODE" = inserted."REGION_CODE", + "MINISTRY_PROJECT_NUMBER" = inserted."MINISTRY_PROJECT_NUMBER", + "MINISTRY_PROJECT_NAME" = inserted."MINISTRY_PROJECT_NAME", + "CPS_PRODUCT_CODE" = inserted."CPS_PRODUCT_CODE", + "FILE_NAME" = inserted."FILE_NAME", + "FILE_NO" = inserted."FILE_NO", + "FILE_NUMBER" = inserted."FILE_NUMBER", + "LEGACY_FILE_NUMBER" = inserted."LEGACY_FILE_NUMBER", + "FUNDING_OTHER" = inserted."FUNDING_OTHER", + "ASSIGNED_DATE" = inserted."ASSIGNED_DATE", + "DELIVERY_DATE" = inserted."DELIVERY_DATE", + "PAIMS_ACQUISITION_FILE_ID" = inserted."PAIMS_ACQUISITION_FILE_ID", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", @@ -13384,70 +13842,59 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROPERTY_ACQUISITION_FILE + from PIMS_ACQUISITION_FILE inner join inserted - on (PIMS_PROPERTY_ACQUISITION_FILE.PROPERTY_ACQUISITION_FILE_ID = inserted.PROPERTY_ACQUISITION_FILE_ID); + on (PIMS_ACQUISITION_FILE.ACQUISITION_FILE_ID = inserted.ACQUISITION_FILE_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACTMDO_I_S_U_TR] ON PIMS_ACTIVITY_TEMPLATE_DOCUMENT INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ACQPFS_I_S_I_TR] ON PIMS_ACQ_PHYS_FILE_STATUS_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM inserted) RETURN; - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACTIVITY_TEMPLATE_DOCUMENT_ID = deleted.ACTIVITY_TEMPLATE_DOCUMENT_ID) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_ACTIVITY_TEMPLATE_DOCUMENT - set "ACTIVITY_TEMPLATE_DOCUMENT_ID" = inserted."ACTIVITY_TEMPLATE_DOCUMENT_ID", - "DOCUMENT_ID" = inserted."DOCUMENT_ID", - "ACTIVITY_TEMPLATE_ID" = inserted."ACTIVITY_TEMPLATE_ID", - "IS_DISABLED" = inserted."IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ACTIVITY_TEMPLATE_DOCUMENT - inner join inserted - on (PIMS_ACTIVITY_TEMPLATE_DOCUMENT.ACTIVITY_TEMPLATE_DOCUMENT_ID = inserted.ACTIVITY_TEMPLATE_DOCUMENT_ID); + + insert into PIMS_ACQ_PHYS_FILE_STATUS_TYPE ("ACQ_PHYS_FILE_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "ACQ_PHYS_FILE_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_USERRL_I_S_U_TR] ON PIMS_USER_ROLE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ACQDOC_I_S_U_TR] ON PIMS_ACQUISITION_FILE_DOCUMENT INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.USER_ROLE_ID = deleted.USER_ROLE_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_FILE_DOCUMENT_ID = deleted.ACQUISITION_FILE_DOCUMENT_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_USER_ROLE - set "USER_ROLE_ID" = inserted."USER_ROLE_ID", - "USER_ID" = inserted."USER_ID", - "ROLE_ID" = inserted."ROLE_ID", + update PIMS_ACQUISITION_FILE_DOCUMENT + set "ACQUISITION_FILE_DOCUMENT_ID" = inserted."ACQUISITION_FILE_DOCUMENT_ID", + "ACQUISITION_FILE_ID" = inserted."ACQUISITION_FILE_ID", + "DOCUMENT_ID" = inserted."DOCUMENT_ID", "IS_DISABLED" = inserted."IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", @@ -13456,59 +13903,50 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_USER_ROLE + from PIMS_ACQUISITION_FILE_DOCUMENT inner join inserted - on (PIMS_USER_ROLE.USER_ROLE_ID = inserted.USER_ROLE_ID); - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_AIPAFL_A_S_IUD_TR] ON PIMS_ACT_INST_PROP_ACQ_FILE FOR INSERT, UPDATE, DELETE AS -SET NOCOUNT ON -BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_ACT_INST_PROP_ACQ_FILE_HIST set END_DATE_HIST = @curr_date where ACT_INST_PROP_ACQ_FILE_ID in (select ACT_INST_PROP_ACQ_FILE_ID from deleted) and END_DATE_HIST is null; - - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_ACT_INST_PROP_ACQ_FILE_HIST ([ACT_INST_PROP_ACQ_FILE_ID], [ACTIVITY_INSTANCE_ID], [PROPERTY_ACQUISITION_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACT_INST_PROP_ACQ_FILE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ACT_INST_PROP_ACQ_FILE_ID], [ACTIVITY_INSTANCE_ID], [PROPERTY_ACQUISITION_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE_H_ID_SEQ]) as [_ACT_INST_PROP_ACQ_FILE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + on (PIMS_ACQUISITION_FILE_DOCUMENT.ACQUISITION_FILE_DOCUMENT_ID = inserted.ACQUISITION_FILE_DOCUMENT_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ARUNIT_I_S_I_TR] ON PIMS_AREA_UNIT_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_ACQAIN_I_S_I_TR] ON PIMS_ACQUISITION_ACTIVITY_INSTANCE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_AREA_UNIT_TYPE ("AREA_UNIT_TYPE_CODE", - "DESCRIPTION", + insert into PIMS_ACQUISITION_ACTIVITY_INSTANCE ("ACQUISITION_ACTIVITY_INSTANCE_ID", + "ACQUISITION_FILE_ID", + "ACTIVITY_INSTANCE_ID", "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "AREA_UNIT_TYPE_CODE", - "DESCRIPTION", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USER_DIRECTORY", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ACQUISITION_ACTIVITY_INSTANCE_ID", + "ACQUISITION_FILE_ID", + "ACTIVITY_INSTANCE_ID", "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USER_DIRECTORY", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" from inserted; END TRY @@ -13516,46 +13954,69 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_SECDEP_A_S_IUD_TR] ON PIMS_SECURITY_DEPOSIT FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_ACQNOT_I_S_U_TR] ON PIMS_ACQUISITION_FILE_NOTE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM deleted) RETURN; - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_SECURITY_DEPOSIT_HIST set END_DATE_HIST = @curr_date where SECURITY_DEPOSIT_ID in (select SECURITY_DEPOSIT_ID from deleted) and END_DATE_HIST is null; - - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_SECURITY_DEPOSIT_HIST ([SECURITY_DEPOSIT_ID], [LEASE_ID], [SECURITY_DEPOSIT_TYPE_CODE], [OTHER_DEPOSIT_TYPE_DESC], [DESCRIPTION], [AMOUNT_PAID], [DEPOSIT_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _SECURITY_DEPOSIT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [SECURITY_DEPOSIT_ID], [LEASE_ID], [SECURITY_DEPOSIT_TYPE_CODE], [OTHER_DEPOSIT_TYPE_DESC], [DESCRIPTION], [AMOUNT_PAID], [DEPOSIT_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_SECURITY_DEPOSIT_H_ID_SEQ]) as [_SECURITY_DEPOSIT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_FILE_NOTE_ID = deleted.ACQUISITION_FILE_NOTE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACQUISITION_FILE_NOTE + set "ACQUISITION_FILE_NOTE_ID" = inserted."ACQUISITION_FILE_NOTE_ID", + "NOTE_ID" = inserted."NOTE_ID", + "ACQUISITION_FILE_ID" = inserted."ACQUISITION_FILE_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACQUISITION_FILE_NOTE + inner join inserted + on (PIMS_ACQUISITION_FILE_NOTE.ACQUISITION_FILE_NOTE_ID = inserted.ACQUISITION_FILE_NOTE_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRPEVL_I_S_I_TR] ON PIMS_PROPERTY_EVALUATION INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_ACQNFL_I_S_I_TR] ON PIMS_ACQUISITION_FILE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_PROPERTY_EVALUATION ("PROPERTY_EVALUATION_ID", - "PROPERTY_ID", - "EVALUATION_DATE", - "KEY", - "VALUE", - "NOTE", + insert into PIMS_ACQUISITION_FILE ("ACQUISITION_FILE_ID", + "PROJECT_ID", + "PRODUCT_ID", + "ACQUISITION_FILE_STATUS_TYPE_CODE", + "ACQUISITION_TYPE_CODE", + "ACQUISITION_FUNDING_TYPE_CODE", + "ACQ_PHYS_FILE_STATUS_TYPE_CODE", + "REGION_CODE", + "MINISTRY_PROJECT_NUMBER", + "MINISTRY_PROJECT_NAME", + "CPS_PRODUCT_CODE", + "FILE_NAME", + "FILE_NO", + "FILE_NUMBER", + "LEGACY_FILE_NUMBER", + "FUNDING_OTHER", + "ASSIGNED_DATE", + "DELIVERY_DATE", + "PAIMS_ACQUISITION_FILE_ID", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -13565,12 +14026,25 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "PROPERTY_EVALUATION_ID", - "PROPERTY_ID", - "EVALUATION_DATE", - "KEY", - "VALUE", - "NOTE", + select "ACQUISITION_FILE_ID", + "PROJECT_ID", + "PRODUCT_ID", + "ACQUISITION_FILE_STATUS_TYPE_CODE", + "ACQUISITION_TYPE_CODE", + "ACQUISITION_FUNDING_TYPE_CODE", + "ACQ_PHYS_FILE_STATUS_TYPE_CODE", + "REGION_CODE", + "MINISTRY_PROJECT_NUMBER", + "MINISTRY_PROJECT_NAME", + "CPS_PRODUCT_CODE", + "FILE_NAME", + "FILE_NO", + "FILE_NUMBER", + "LEGACY_FILE_NUMBER", + "FUNDING_OTHER", + "ASSIGNED_DATE", + "DELIVERY_DATE", + "PAIMS_ACQUISITION_FILE_ID", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -13587,54 +14061,55 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACTTTY_I_S_U_TR] ON PIMS_ACTIVITY_TEMPLATE_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ACQPER_I_S_U_TR] ON PIMS_ACQUISITION_FILE_PERSON INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACTIVITY_TEMPLATE_TYPE_CODE = deleted.ACTIVITY_TEMPLATE_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_FILE_PERSON_ID = deleted.ACQUISITION_FILE_PERSON_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_ACTIVITY_TEMPLATE_TYPE - set "ACTIVITY_TEMPLATE_TYPE_CODE" = inserted."ACTIVITY_TEMPLATE_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", + update PIMS_ACQUISITION_FILE_PERSON + set "ACQUISITION_FILE_PERSON_ID" = inserted."ACQUISITION_FILE_PERSON_ID", + "ACQUISITION_FILE_ID" = inserted."ACQUISITION_FILE_ID", + "PERSON_ID" = inserted."PERSON_ID", + "ACQ_FL_PERSON_PROFILE_TYPE_CODE" = inserted."ACQ_FL_PERSON_PROFILE_TYPE_CODE", "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ACTIVITY_TEMPLATE_TYPE + from PIMS_ACQUISITION_FILE_PERSON inner join inserted - on (PIMS_ACTIVITY_TEMPLATE_TYPE.ACTIVITY_TEMPLATE_TYPE_CODE = inserted.ACTIVITY_TEMPLATE_TYPE_CODE); + on (PIMS_ACQUISITION_FILE_PERSON.ACQUISITION_FILE_PERSON_ID = inserted.ACQUISITION_FILE_PERSON_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_YRFINC_I_S_I_TR] ON PIMS_YEARLY_FINANCIAL_CODE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_ACQDOC_I_S_I_TR] ON PIMS_ACQUISITION_FILE_DOCUMENT INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_YEARLY_FINANCIAL_CODE ("ID", - "CODE", - "DESCRIPTION", - "DISPLAY_ORDER", - "EFFECTIVE_DATE", - "EXPIRY_DATE", + insert into PIMS_ACQUISITION_FILE_DOCUMENT ("ACQUISITION_FILE_DOCUMENT_ID", + "ACQUISITION_FILE_ID", + "DOCUMENT_ID", + "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -13644,12 +14119,10 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "ID", - "CODE", - "DESCRIPTION", - "DISPLAY_ORDER", - "EFFECTIVE_DATE", - "EXPIRY_DATE", + select "ACQUISITION_FILE_DOCUMENT_ID", + "ACQUISITION_FILE_ID", + "DOCUMENT_ID", + "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -13666,54 +14139,50 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRADJL_I_S_U_TR] ON PIMS_PROPERTY_ADJACENT_LAND_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ACQFST_I_S_U_TR] ON PIMS_ACQUISITION_FILE_STATUS_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_ADJACENT_LAND_TYPE_CODE = deleted.PROPERTY_ADJACENT_LAND_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_FILE_STATUS_TYPE_CODE = deleted.ACQUISITION_FILE_STATUS_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_PROPERTY_ADJACENT_LAND_TYPE - set "PROPERTY_ADJACENT_LAND_TYPE_CODE" = inserted."PROPERTY_ADJACENT_LAND_TYPE_CODE", + update PIMS_ACQUISITION_FILE_STATUS_TYPE + set "ACQUISITION_FILE_STATUS_TYPE_CODE" = inserted."ACQUISITION_FILE_STATUS_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROPERTY_ADJACENT_LAND_TYPE + from PIMS_ACQUISITION_FILE_STATUS_TYPE inner join inserted - on (PIMS_PROPERTY_ADJACENT_LAND_TYPE.PROPERTY_ADJACENT_LAND_TYPE_CODE = inserted.PROPERTY_ADJACENT_LAND_TYPE_CODE); + on (PIMS_ACQUISITION_FILE_STATUS_TYPE.ACQUISITION_FILE_STATUS_TYPE_CODE = inserted.ACQUISITION_FILE_STATUS_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_BIZFCN_I_S_I_TR] ON PIMS_BUSINESS_FUNCTION_CODE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_ACQNOT_I_S_I_TR] ON PIMS_ACQUISITION_FILE_NOTE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_BUSINESS_FUNCTION_CODE ("ID", - "CODE", - "DESCRIPTION", - "DISPLAY_ORDER", - "EFFECTIVE_DATE", - "EXPIRY_DATE", + insert into PIMS_ACQUISITION_FILE_NOTE ("ACQUISITION_FILE_NOTE_ID", + "NOTE_ID", + "ACQUISITION_FILE_ID", + "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -13723,12 +14192,10 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "ID", - "CODE", - "DESCRIPTION", - "DISPLAY_ORDER", - "EFFECTIVE_DATE", - "EXPIRY_DATE", + select "ACQUISITION_FILE_NOTE_ID", + "NOTE_ID", + "ACQUISITION_FILE_ID", + "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -13745,92 +14212,103 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_VOLUTY_I_S_U_TR] ON PIMS_VOLUME_UNIT_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ACQFTY_I_S_U_TR] ON PIMS_ACQUISITION_FUNDING_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.VOLUME_UNIT_TYPE_CODE = deleted.VOLUME_UNIT_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_FUNDING_TYPE_CODE = deleted.ACQUISITION_FUNDING_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_VOLUME_UNIT_TYPE - set "VOLUME_UNIT_TYPE_CODE" = inserted."VOLUME_UNIT_TYPE_CODE", + update PIMS_ACQUISITION_FUNDING_TYPE + set "ACQUISITION_FUNDING_TYPE_CODE" = inserted."ACQUISITION_FUNDING_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_VOLUME_UNIT_TYPE + from PIMS_ACQUISITION_FUNDING_TYPE inner join inserted - on (PIMS_VOLUME_UNIT_TYPE.VOLUME_UNIT_TYPE_CODE = inserted.VOLUME_UNIT_TYPE_CODE); + on (PIMS_ACQUISITION_FUNDING_TYPE.ACQUISITION_FUNDING_TYPE_CODE = inserted.ACQUISITION_FUNDING_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_AIPRFL_A_S_IUD_TR] ON PIMS_ACT_INST_PROP_RSRCH_FILE FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_ACQPER_I_S_I_TR] ON PIMS_ACQUISITION_FILE_PERSON INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM inserted) RETURN; - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_ACT_INST_PROP_RSRCH_FILE_HIST set END_DATE_HIST = @curr_date where ACT_INST_PROP_RSRCH_FILE_ID in (select ACT_INST_PROP_RSRCH_FILE_ID from deleted) and END_DATE_HIST is null; - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_ACT_INST_PROP_RSRCH_FILE_HIST ([ACT_INST_PROP_RSRCH_FILE_ID], [ACTIVITY_INSTANCE_ID], [PROPERTY_RESEARCH_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACT_INST_PROP_RSRCH_FILE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ACT_INST_PROP_RSRCH_FILE_ID], [ACTIVITY_INSTANCE_ID], [PROPERTY_RESEARCH_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE_H_ID_SEQ]) as [_ACT_INST_PROP_RSRCH_FILE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_ACQUISITION_FILE_PERSON ("ACQUISITION_FILE_PERSON_ID", + "ACQUISITION_FILE_ID", + "PERSON_ID", + "ACQ_FL_PERSON_PROFILE_TYPE_CODE", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ACQUISITION_FILE_PERSON_ID", + "ACQUISITION_FILE_ID", + "PERSON_ID", + "ACQ_FL_PERSON_PROFILE_TYPE_CODE", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ADDRSS_I_S_U_TR] ON PIMS_ADDRESS INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ACQOWN_I_S_U_TR] ON PIMS_ACQUISITION_OWNER INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ADDRESS_ID = deleted.ADDRESS_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_OWNER_ID = deleted.ACQUISITION_OWNER_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_ADDRESS - set "ADDRESS_ID" = inserted."ADDRESS_ID", - "REGION_CODE" = inserted."REGION_CODE", - "DISTRICT_CODE" = inserted."DISTRICT_CODE", - "PROVINCE_STATE_ID" = inserted."PROVINCE_STATE_ID", - "COUNTRY_ID" = inserted."COUNTRY_ID", - "STREET_ADDRESS_1" = inserted."STREET_ADDRESS_1", - "STREET_ADDRESS_2" = inserted."STREET_ADDRESS_2", - "STREET_ADDRESS_3" = inserted."STREET_ADDRESS_3", - "MUNICIPALITY_NAME" = inserted."MUNICIPALITY_NAME", - "POSTAL_CODE" = inserted."POSTAL_CODE", - "OTHER_COUNTRY" = inserted."OTHER_COUNTRY", - "LATITUDE" = inserted."LATITUDE", - "LONGITUDE" = inserted."LONGITUDE", - "COMMENT" = inserted."COMMENT", + update PIMS_ACQUISITION_OWNER + set "ACQUISITION_OWNER_ID" = inserted."ACQUISITION_OWNER_ID", + "ACQUISITION_FILE_ID" = inserted."ACQUISITION_FILE_ID", + "ADDRESS_ID" = inserted."ADDRESS_ID", + "LAST_NAME_OR_CORP_NAME_1" = inserted."LAST_NAME_OR_CORP_NAME_1", + "LAST_NAME_OR_CORP_NAME_2" = inserted."LAST_NAME_OR_CORP_NAME_2", + "GIVEN_NAME" = inserted."GIVEN_NAME", + "INCORPORATION_NUMBER" = inserted."INCORPORATION_NUMBER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", @@ -13838,126 +14316,91 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ADDRESS + from PIMS_ACQUISITION_OWNER inner join inserted - on (PIMS_ADDRESS.ADDRESS_ID = inserted.ADDRESS_ID); + on (PIMS_ACQUISITION_OWNER.ACQUISITION_OWNER_ID = inserted.ACQUISITION_OWNER_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_STAVBL_A_S_IUD_TR] ON PIMS_STATIC_VARIABLE FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_ACQFST_I_S_I_TR] ON PIMS_ACQUISITION_FILE_STATUS_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM inserted) RETURN; - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_STATIC_VARIABLE_HIST set END_DATE_HIST = @curr_date where STATIC_VARIABLE_NAME in (select STATIC_VARIABLE_NAME from deleted) and END_DATE_HIST is null; - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_STATIC_VARIABLE_HIST ([STATIC_VARIABLE_NAME], [STATIC_VARIABLE_VALUE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _STATIC_VARIABLE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [STATIC_VARIABLE_NAME], [STATIC_VARIABLE_VALUE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_STATIC_VARIABLE_H_ID_SEQ]) as [_STATIC_VARIABLE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_ACQUISITION_FILE_STATUS_TYPE ("ACQUISITION_FILE_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "ACQUISITION_FILE_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PIMPRV_I_S_I_TR] ON PIMS_PROPERTY_IMPROVEMENT INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_ACQTYP_I_S_U_TR] ON PIMS_ACQUISITION_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) + IF NOT EXISTS(SELECT * FROM deleted) RETURN; - - insert into PIMS_PROPERTY_IMPROVEMENT ("PROPERTY_IMPROVEMENT_ID", - "LEASE_ID", - "PROPERTY_IMPROVEMENT_TYPE_CODE", - "IMPROVEMENT_DESCRIPTION", - "STRUCTURE_SIZE", - "ADDRESS", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY") - select "PROPERTY_IMPROVEMENT_ID", - "LEASE_ID", - "PROPERTY_IMPROVEMENT_TYPE_CODE", - "IMPROVEMENT_DESCRIPTION", - "STRUCTURE_SIZE", - "ADDRESS", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" - from inserted; + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_TYPE_CODE = deleted.ACQUISITION_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACQUISITION_TYPE + set "ACQUISITION_TYPE_CODE" = inserted."ACQUISITION_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACQUISITION_TYPE + inner join inserted + on (PIMS_ACQUISITION_TYPE.ACQUISITION_TYPE_CODE = inserted.ACQUISITION_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_CHRTAC_I_S_I_TR] ON PIMS_CHART_OF_ACCOUNTS_CODE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_ACQFTY_I_S_I_TR] ON PIMS_ACQUISITION_FUNDING_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_CHART_OF_ACCOUNTS_CODE ("ID", - "CODE", + insert into PIMS_ACQUISITION_FUNDING_TYPE ("ACQUISITION_FUNDING_TYPE_CODE", "DESCRIPTION", + "IS_DISABLED", "DISPLAY_ORDER", - "EFFECTIVE_DATE", - "EXPIRY_DATE", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY") - select "ID", - "CODE", + "CONCURRENCY_CONTROL_NUMBER") + select "ACQUISITION_FUNDING_TYPE_CODE", "DESCRIPTION", + "IS_DISABLED", "DISPLAY_ORDER", - "EFFECTIVE_DATE", - "EXPIRY_DATE", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" + "CONCURRENCY_CONTROL_NUMBER" from inserted; END TRY @@ -13965,165 +14408,198 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRVOLT_I_S_U_TR] ON PIMS_VOLUMETRIC_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_AIPAFL_I_S_U_TR] ON PIMS_ACT_INST_PROP_ACQ_FILE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.VOLUMETRIC_TYPE_CODE = deleted.VOLUMETRIC_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACT_INST_PROP_ACQ_FILE_ID = deleted.ACT_INST_PROP_ACQ_FILE_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_VOLUMETRIC_TYPE - set "VOLUMETRIC_TYPE_CODE" = inserted."VOLUMETRIC_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", + update PIMS_ACT_INST_PROP_ACQ_FILE + set "ACT_INST_PROP_ACQ_FILE_ID" = inserted."ACT_INST_PROP_ACQ_FILE_ID", + "ACTIVITY_INSTANCE_ID" = inserted."ACTIVITY_INSTANCE_ID", + "PROPERTY_ACQUISITION_FILE_ID" = inserted."PROPERTY_ACQUISITION_FILE_ID", "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_VOLUMETRIC_TYPE + from PIMS_ACT_INST_PROP_ACQ_FILE inner join inserted - on (PIMS_VOLUMETRIC_TYPE.VOLUMETRIC_TYPE_CODE = inserted.VOLUMETRIC_TYPE_CODE); + on (PIMS_ACT_INST_PROP_ACQ_FILE.ACT_INST_PROP_ACQ_FILE_ID = inserted.ACT_INST_PROP_ACQ_FILE_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRANOM_I_S_U_TR] ON PIMS_PROPERTY_ANOMALY_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ACQOWN_I_S_I_TR] ON PIMS_ACQUISITION_OWNER INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM inserted) RETURN; - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_ANOMALY_TYPE_CODE = deleted.PROPERTY_ANOMALY_TYPE_CODE) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_PROPERTY_ANOMALY_TYPE - set "PROPERTY_ANOMALY_TYPE_CODE" = inserted."PROPERTY_ANOMALY_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROPERTY_ANOMALY_TYPE - inner join inserted - on (PIMS_PROPERTY_ANOMALY_TYPE.PROPERTY_ANOMALY_TYPE_CODE = inserted.PROPERTY_ANOMALY_TYPE_CODE); + + insert into PIMS_ACQUISITION_OWNER ("ACQUISITION_OWNER_ID", + "ACQUISITION_FILE_ID", + "ADDRESS_ID", + "LAST_NAME_OR_CORP_NAME_1", + "LAST_NAME_OR_CORP_NAME_2", + "GIVEN_NAME", + "INCORPORATION_NUMBER", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ACQUISITION_OWNER_ID", + "ACQUISITION_FILE_ID", + "ADDRESS_ID", + "LAST_NAME_OR_CORP_NAME_1", + "LAST_NAME_OR_CORP_NAME_2", + "GIVEN_NAME", + "INCORPORATION_NUMBER", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ADUSGT_I_S_U_TR] ON PIMS_ADDRESS_USAGE_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_AIPRFL_I_S_U_TR] ON PIMS_ACT_INST_PROP_RSRCH_FILE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ADDRESS_USAGE_TYPE_CODE = deleted.ADDRESS_USAGE_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACT_INST_PROP_RSRCH_FILE_ID = deleted.ACT_INST_PROP_RSRCH_FILE_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_ADDRESS_USAGE_TYPE - set "ADDRESS_USAGE_TYPE_CODE" = inserted."ADDRESS_USAGE_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", + update PIMS_ACT_INST_PROP_RSRCH_FILE + set "ACT_INST_PROP_RSRCH_FILE_ID" = inserted."ACT_INST_PROP_RSRCH_FILE_ID", + "ACTIVITY_INSTANCE_ID" = inserted."ACTIVITY_INSTANCE_ID", + "PROPERTY_RESEARCH_FILE_ID" = inserted."PROPERTY_RESEARCH_FILE_ID", "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ADDRESS_USAGE_TYPE + from PIMS_ACT_INST_PROP_RSRCH_FILE inner join inserted - on (PIMS_ADDRESS_USAGE_TYPE.ADDRESS_USAGE_TYPE_CODE = inserted.ADDRESS_USAGE_TYPE_CODE); + on (PIMS_ACT_INST_PROP_RSRCH_FILE.ACT_INST_PROP_RSRCH_FILE_ID = inserted.ACT_INST_PROP_RSRCH_FILE_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_TENANT_A_S_IUD_TR] ON PIMS_LEASE_TENANT FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_ACQTYP_I_S_I_TR] ON PIMS_ACQUISITION_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM inserted) RETURN; - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_LEASE_TENANT_HIST set END_DATE_HIST = @curr_date where LEASE_TENANT_ID in (select LEASE_TENANT_ID from deleted) and END_DATE_HIST is null; - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_LEASE_TENANT_HIST ([LEASE_TENANT_ID], [LEASE_ID], [PERSON_ID], [ORGANIZATION_ID], [PRIMARY_CONTACT_ID], [LESSOR_TYPE_CODE], [TENANT_TYPE_CODE], [NOTE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _LEASE_TENANT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [LEASE_TENANT_ID], [LEASE_ID], [PERSON_ID], [ORGANIZATION_ID], [PRIMARY_CONTACT_ID], [LESSOR_TYPE_CODE], [TENANT_TYPE_CODE], [NOTE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_LEASE_TENANT_H_ID_SEQ]) as [_LEASE_TENANT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_ACQUISITION_TYPE ("ACQUISITION_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "ACQUISITION_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_BIZFCN_A_S_IUD_TR] ON PIMS_BUSINESS_FUNCTION_CODE FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_ACTINS_I_S_U_TR] ON PIMS_ACTIVITY_INSTANCE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM deleted) RETURN; - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_BUSINESS_FUNCTION_CODE_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; - - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_BUSINESS_FUNCTION_CODE_HIST ([ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _BUSINESS_FUNCTION_CODE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_BUSINESS_FUNCTION_CODE_H_ID_SEQ]) as [_BUSINESS_FUNCTION_CODE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACTIVITY_INSTANCE_ID = deleted.ACTIVITY_INSTANCE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACTIVITY_INSTANCE + set "ACTIVITY_INSTANCE_ID" = inserted."ACTIVITY_INSTANCE_ID", + "ACTIVITY_TEMPLATE_ID" = inserted."ACTIVITY_TEMPLATE_ID", + "ACTIVITY_INSTANCE_STATUS_TYPE_CODE" = inserted."ACTIVITY_INSTANCE_STATUS_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "ACTIVITY_DATA_JSON" = inserted."ACTIVITY_DATA_JSON", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACTIVITY_INSTANCE + inner join inserted + on (PIMS_ACTIVITY_INSTANCE.ACTIVITY_INSTANCE_ID = inserted.ACTIVITY_INSTANCE_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_CLMTYP_I_S_I_TR] ON PIMS_CLAIM INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_AIPAFL_I_S_I_TR] ON PIMS_ACT_INST_PROP_ACQ_FILE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_CLAIM ("CLAIM_ID", - "CLAIM_UID", - "KEYCLOAK_ROLE_ID", - "NAME", - "DESCRIPTION", + insert into PIMS_ACT_INST_PROP_ACQ_FILE ("ACT_INST_PROP_ACQ_FILE_ID", + "ACTIVITY_INSTANCE_ID", + "PROPERTY_ACQUISITION_FILE_ID", "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", @@ -14134,11 +14610,9 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "CLAIM_ID", - "CLAIM_UID", - "KEYCLOAK_ROLE_ID", - "NAME", - "DESCRIPTION", + select "ACT_INST_PROP_ACQ_FILE_ID", + "ACTIVITY_INSTANCE_ID", + "PROPERTY_ACQUISITION_FILE_ID", "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", @@ -14156,28 +14630,25 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_WRKACT_I_S_U_TR] ON PIMS_WORK_ACTIVITY_CODE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ACTDOC_I_S_U_TR] ON PIMS_ACTIVITY_INSTANCE_DOCUMENT INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACTIVITY_INSTANCE_DOCUMENT_ID = deleted.ACTIVITY_INSTANCE_DOCUMENT_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_WORK_ACTIVITY_CODE - set "ID" = inserted."ID", - "CODE" = inserted."CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "EFFECTIVE_DATE" = inserted."EFFECTIVE_DATE", - "EXPIRY_DATE" = inserted."EXPIRY_DATE", + update PIMS_ACTIVITY_INSTANCE_DOCUMENT + set "ACTIVITY_INSTANCE_DOCUMENT_ID" = inserted."ACTIVITY_INSTANCE_DOCUMENT_ID", + "ACTIVITY_INSTANCE_ID" = inserted."ACTIVITY_INSTANCE_ID", + "DOCUMENT_ID" = inserted."DOCUMENT_ID", + "IS_DISABLED" = inserted."IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", @@ -14185,35 +14656,50 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_WORK_ACTIVITY_CODE + from PIMS_ACTIVITY_INSTANCE_DOCUMENT inner join inserted - on (PIMS_WORK_ACTIVITY_CODE.ID = inserted.ID); + on (PIMS_ACTIVITY_INSTANCE_DOCUMENT.ACTIVITY_INSTANCE_DOCUMENT_ID = inserted.ACTIVITY_INSTANCE_DOCUMENT_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PIMPRT_I_S_I_TR] ON PIMS_PROPERTY_IMPROVEMENT_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_AIPRFL_I_S_I_TR] ON PIMS_ACT_INST_PROP_RSRCH_FILE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_PROPERTY_IMPROVEMENT_TYPE ("PROPERTY_IMPROVEMENT_TYPE_CODE", - "DESCRIPTION", + insert into PIMS_ACT_INST_PROP_RSRCH_FILE ("ACT_INST_PROP_RSRCH_FILE_ID", + "ACTIVITY_INSTANCE_ID", + "PROPERTY_RESEARCH_FILE_ID", "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "PROPERTY_IMPROVEMENT_TYPE_CODE", - "DESCRIPTION", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ACT_INST_PROP_RSRCH_FILE_ID", + "ACTIVITY_INSTANCE_ID", + "PROPERTY_RESEARCH_FILE_ID", "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" from inserted; END TRY @@ -14221,110 +14707,129 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ARUNIT_I_S_U_TR] ON PIMS_AREA_UNIT_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ACTINN_I_S_U_TR] ON PIMS_ACTIVITY_INSTANCE_NOTE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.AREA_UNIT_TYPE_CODE = deleted.AREA_UNIT_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PIMS_ACTIVITY_INSTANCE_NOTE_ID = deleted.PIMS_ACTIVITY_INSTANCE_NOTE_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_AREA_UNIT_TYPE - set "AREA_UNIT_TYPE_CODE" = inserted."AREA_UNIT_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", + update PIMS_ACTIVITY_INSTANCE_NOTE + set "PIMS_ACTIVITY_INSTANCE_NOTE_ID" = inserted."PIMS_ACTIVITY_INSTANCE_NOTE_ID", + "ACTIVITY_INSTANCE_ID" = inserted."ACTIVITY_INSTANCE_ID", + "NOTE_ID" = inserted."NOTE_ID", "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_AREA_UNIT_TYPE + from PIMS_ACTIVITY_INSTANCE_NOTE inner join inserted - on (PIMS_AREA_UNIT_TYPE.AREA_UNIT_TYPE_CODE = inserted.AREA_UNIT_TYPE_CODE); + on (PIMS_ACTIVITY_INSTANCE_NOTE.PIMS_ACTIVITY_INSTANCE_NOTE_ID = inserted.PIMS_ACTIVITY_INSTANCE_NOTE_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_USER_A_S_IUD_TR] ON PIMS_USER FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_ACTINS_I_S_I_TR] ON PIMS_ACTIVITY_INSTANCE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM inserted) RETURN; - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_USER_HIST set END_DATE_HIST = @curr_date where USER_ID in (select USER_ID from deleted) and END_DATE_HIST is null; - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_USER_HIST ([USER_ID], [PERSON_ID], [BUSINESS_IDENTIFIER_VALUE], [GUID_IDENTIFIER_VALUE], [POSITION], [NOTE], [LAST_LOGIN], [APPROVED_BY_ID], [ISSUE_DATE], [EXPIRY_DATE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _USER_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [USER_ID], [PERSON_ID], [BUSINESS_IDENTIFIER_VALUE], [GUID_IDENTIFIER_VALUE], [POSITION], [NOTE], [LAST_LOGIN], [APPROVED_BY_ID], [ISSUE_DATE], [EXPIRY_DATE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_USER_H_ID_SEQ]) as [_USER_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_PRPCLT_I_S_U_TR] ON PIMS_PROPERTY_CLASSIFICATION_TYPE INSTEAD OF UPDATE AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) - RETURN; - + insert into PIMS_ACTIVITY_INSTANCE ("ACTIVITY_INSTANCE_ID", + "ACTIVITY_TEMPLATE_ID", + "ACTIVITY_INSTANCE_STATUS_TYPE_CODE", + "DESCRIPTION", + "ACTIVITY_DATA_JSON", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ACTIVITY_INSTANCE_ID", + "ACTIVITY_TEMPLATE_ID", + "ACTIVITY_INSTANCE_STATUS_TYPE_CODE", + "DESCRIPTION", + "ACTIVITY_DATA_JSON", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACTIST_I_S_U_TR] ON PIMS_ACTIVITY_INSTANCE_STATUS_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_CLASSIFICATION_TYPE_CODE = deleted.PROPERTY_CLASSIFICATION_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACTIVITY_INSTANCE_STATUS_TYPE_CODE = deleted.ACTIVITY_INSTANCE_STATUS_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_PROPERTY_CLASSIFICATION_TYPE - set "PROPERTY_CLASSIFICATION_TYPE_CODE" = inserted."PROPERTY_CLASSIFICATION_TYPE_CODE", + update PIMS_ACTIVITY_INSTANCE_STATUS_TYPE + set "ACTIVITY_INSTANCE_STATUS_TYPE_CODE" = inserted."ACTIVITY_INSTANCE_STATUS_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROPERTY_CLASSIFICATION_TYPE + from PIMS_ACTIVITY_INSTANCE_STATUS_TYPE inner join inserted - on (PIMS_PROPERTY_CLASSIFICATION_TYPE.PROPERTY_CLASSIFICATION_TYPE_CODE = inserted.PROPERTY_CLASSIFICATION_TYPE_CODE); + on (PIMS_ACTIVITY_INSTANCE_STATUS_TYPE.ACTIVITY_INSTANCE_STATUS_TYPE_CODE = inserted.ACTIVITY_INSTANCE_STATUS_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_CNTMTH_I_S_I_TR] ON PIMS_CONTACT_METHOD INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_ACTDOC_I_S_I_TR] ON PIMS_ACTIVITY_INSTANCE_DOCUMENT INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_CONTACT_METHOD ("CONTACT_METHOD_ID", - "CONTACT_METHOD_TYPE_CODE", - "PERSON_ID", - "ORGANIZATION_ID", - "CONTACT_METHOD_VALUE", - "IS_PREFERRED_METHOD", + insert into PIMS_ACTIVITY_INSTANCE_DOCUMENT ("ACTIVITY_INSTANCE_DOCUMENT_ID", + "ACTIVITY_INSTANCE_ID", + "DOCUMENT_ID", + "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -14334,12 +14839,10 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "CONTACT_METHOD_ID", - "CONTACT_METHOD_TYPE_CODE", - "PERSON_ID", - "ORGANIZATION_ID", - "CONTACT_METHOD_VALUE", - "IS_PREFERRED_METHOD", + select "ACTIVITY_INSTANCE_DOCUMENT_ID", + "ACTIVITY_INSTANCE_ID", + "DOCUMENT_ID", + "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -14356,28 +14859,25 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_YRFINC_I_S_U_TR] ON PIMS_YEARLY_FINANCIAL_CODE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ACTTMP_I_S_U_TR] ON PIMS_ACTIVITY_TEMPLATE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACTIVITY_TEMPLATE_ID = deleted.ACTIVITY_TEMPLATE_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_YEARLY_FINANCIAL_CODE - set "ID" = inserted."ID", - "CODE" = inserted."CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "EFFECTIVE_DATE" = inserted."EFFECTIVE_DATE", - "EXPIRY_DATE" = inserted."EXPIRY_DATE", + update PIMS_ACTIVITY_TEMPLATE + set "ACTIVITY_TEMPLATE_ID" = inserted."ACTIVITY_TEMPLATE_ID", + "ACTIVITY_TEMPLATE_TYPE_CODE" = inserted."ACTIVITY_TEMPLATE_TYPE_CODE", + "ACTIVITY_TEMPLATE_JSON" = inserted."ACTIVITY_TEMPLATE_JSON", + "IS_DISABLED" = inserted."IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", @@ -14385,61 +14885,76 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_YEARLY_FINANCIAL_CODE + from PIMS_ACTIVITY_TEMPLATE inner join inserted - on (PIMS_YEARLY_FINANCIAL_CODE.ID = inserted.ID); + on (PIMS_ACTIVITY_TEMPLATE.ACTIVITY_TEMPLATE_ID = inserted.ACTIVITY_TEMPLATE_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_CHRTAC_A_S_IUD_TR] ON PIMS_CHART_OF_ACCOUNTS_CODE FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_ACTINN_I_S_I_TR] ON PIMS_ACTIVITY_INSTANCE_NOTE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM inserted) RETURN; - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_CHART_OF_ACCOUNTS_CODE_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_CHART_OF_ACCOUNTS_CODE_HIST ([ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _CHART_OF_ACCOUNTS_CODE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE_H_ID_SEQ]) as [_CHART_OF_ACCOUNTS_CODE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_ACTIVITY_INSTANCE_NOTE ("PIMS_ACTIVITY_INSTANCE_NOTE_ID", + "ACTIVITY_INSTANCE_ID", + "NOTE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "PIMS_ACTIVITY_INSTANCE_NOTE_ID", + "ACTIVITY_INSTANCE_ID", + "NOTE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_BIZFCN_I_S_U_TR] ON PIMS_BUSINESS_FUNCTION_CODE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ACTMDO_I_S_U_TR] ON PIMS_ACTIVITY_TEMPLATE_DOCUMENT INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACTIVITY_TEMPLATE_DOCUMENT_ID = deleted.ACTIVITY_TEMPLATE_DOCUMENT_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_BUSINESS_FUNCTION_CODE - set "ID" = inserted."ID", - "CODE" = inserted."CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "EFFECTIVE_DATE" = inserted."EFFECTIVE_DATE", - "EXPIRY_DATE" = inserted."EXPIRY_DATE", + update PIMS_ACTIVITY_TEMPLATE_DOCUMENT + set "ACTIVITY_TEMPLATE_DOCUMENT_ID" = inserted."ACTIVITY_TEMPLATE_DOCUMENT_ID", + "DOCUMENT_ID" = inserted."DOCUMENT_ID", + "ACTIVITY_TEMPLATE_ID" = inserted."ACTIVITY_TEMPLATE_ID", + "IS_DISABLED" = inserted."IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", @@ -14447,55 +14962,85 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_BUSINESS_FUNCTION_CODE + from PIMS_ACTIVITY_TEMPLATE_DOCUMENT inner join inserted - on (PIMS_BUSINESS_FUNCTION_CODE.ID = inserted.ID); + on (PIMS_ACTIVITY_TEMPLATE_DOCUMENT.ACTIVITY_TEMPLATE_DOCUMENT_ID = inserted.ACTIVITY_TEMPLATE_DOCUMENT_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_USERRL_A_S_IUD_TR] ON PIMS_USER_ROLE FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_ACTIST_I_S_I_TR] ON PIMS_ACTIVITY_INSTANCE_STATUS_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM inserted) RETURN; - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_USER_ROLE_HIST set END_DATE_HIST = @curr_date where USER_ROLE_ID in (select USER_ROLE_ID from deleted) and END_DATE_HIST is null; - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_USER_ROLE_HIST ([USER_ROLE_ID], [USER_ID], [ROLE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _USER_ROLE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [USER_ROLE_ID], [USER_ID], [ROLE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_USER_ROLE_H_ID_SEQ]) as [_USER_ROLE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_ACTIVITY_INSTANCE_STATUS_TYPE ("ACTIVITY_INSTANCE_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "ACTIVITY_INSTANCE_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACTTTY_I_S_U_TR] ON PIMS_ACTIVITY_TEMPLATE_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACTIVITY_TEMPLATE_TYPE_CODE = deleted.ACTIVITY_TEMPLATE_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACTIVITY_TEMPLATE_TYPE + set "ACTIVITY_TEMPLATE_TYPE_CODE" = inserted."ACTIVITY_TEMPLATE_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACTIVITY_TEMPLATE_TYPE + inner join inserted + on (PIMS_ACTIVITY_TEMPLATE_TYPE.ACTIVITY_TEMPLATE_TYPE_CODE = inserted.ACTIVITY_TEMPLATE_TYPE_CODE); +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_PROPLS_I_S_I_TR] ON PIMS_PROPERTY_LEASE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_ACTTMP_I_S_I_TR] ON PIMS_ACTIVITY_TEMPLATE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_PROPERTY_LEASE ("PROPERTY_LEASE_ID", - "PROPERTY_ID", - "LEASE_ID", - "AREA_UNIT_TYPE_CODE", - "NAME", - "LEASE_AREA", + insert into PIMS_ACTIVITY_TEMPLATE ("ACTIVITY_TEMPLATE_ID", + "ACTIVITY_TEMPLATE_TYPE_CODE", + "ACTIVITY_TEMPLATE_JSON", + "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -14505,12 +15050,10 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "PROPERTY_LEASE_ID", - "PROPERTY_ID", - "LEASE_ID", - "AREA_UNIT_TYPE_CODE", - "NAME", - "LEASE_AREA", + select "ACTIVITY_TEMPLATE_ID", + "ACTIVITY_TEMPLATE_TYPE_CODE", + "ACTIVITY_TEMPLATE_JSON", + "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -14527,49 +15070,64 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_CNTMTT_I_S_I_TR] ON PIMS_CONTACT_METHOD_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_ADDRSS_I_S_U_TR] ON PIMS_ADDRESS INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) + IF NOT EXISTS(SELECT * FROM deleted) RETURN; - - insert into PIMS_CONTACT_METHOD_TYPE ("CONTACT_METHOD_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "CONTACT_METHOD_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" - from inserted; + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ADDRESS_ID = deleted.ADDRESS_ID) + raiserror('CONCURRENCY FAILURE.',16,1) -END TRY -BEGIN CATCH + + -- update statement + update PIMS_ADDRESS + set "ADDRESS_ID" = inserted."ADDRESS_ID", + "REGION_CODE" = inserted."REGION_CODE", + "DISTRICT_CODE" = inserted."DISTRICT_CODE", + "PROVINCE_STATE_ID" = inserted."PROVINCE_STATE_ID", + "COUNTRY_ID" = inserted."COUNTRY_ID", + "STREET_ADDRESS_1" = inserted."STREET_ADDRESS_1", + "STREET_ADDRESS_2" = inserted."STREET_ADDRESS_2", + "STREET_ADDRESS_3" = inserted."STREET_ADDRESS_3", + "MUNICIPALITY_NAME" = inserted."MUNICIPALITY_NAME", + "POSTAL_CODE" = inserted."POSTAL_CODE", + "OTHER_COUNTRY" = inserted."OTHER_COUNTRY", + "LATITUDE" = inserted."LATITUDE", + "LONGITUDE" = inserted."LONGITUDE", + "COMMENT" = inserted."COMMENT", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ADDRESS + inner join inserted + on (PIMS_ADDRESS.ADDRESS_ID = inserted.ADDRESS_ID); + +END TRY +BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACRQST_I_S_I_TR] ON PIMS_ACCESS_REQUEST INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_ACTMDO_I_S_I_TR] ON PIMS_ACTIVITY_TEMPLATE_DOCUMENT INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_ACCESS_REQUEST ("ACCESS_REQUEST_ID", - "USER_ID", - "ROLE_ID", - "ACCESS_REQUEST_STATUS_TYPE_CODE", - "REGION_CODE", - "NOTE", + insert into PIMS_ACTIVITY_TEMPLATE_DOCUMENT ("ACTIVITY_TEMPLATE_DOCUMENT_ID", + "DOCUMENT_ID", + "ACTIVITY_TEMPLATE_ID", + "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -14579,12 +15137,10 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "ACCESS_REQUEST_ID", - "USER_ID", - "ROLE_ID", - "ACCESS_REQUEST_STATUS_TYPE_CODE", - "REGION_CODE", - "NOTE", + select "ACTIVITY_TEMPLATE_DOCUMENT_ID", + "DOCUMENT_ID", + "ACTIVITY_TEMPLATE_ID", + "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -14601,146 +15157,117 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_PRPEVL_I_S_U_TR] ON PIMS_PROPERTY_EVALUATION INSTEAD OF UPDATE AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_EVALUATION_ID = deleted.PROPERTY_EVALUATION_ID) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_PROPERTY_EVALUATION - set "PROPERTY_EVALUATION_ID" = inserted."PROPERTY_EVALUATION_ID", - "PROPERTY_ID" = inserted."PROPERTY_ID", - "EVALUATION_DATE" = inserted."EVALUATION_DATE", - "KEY" = inserted."KEY", - "VALUE" = inserted."VALUE", - "NOTE" = inserted."NOTE", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROPERTY_EVALUATION - inner join inserted - on (PIMS_PROPERTY_EVALUATION.PROPERTY_EVALUATION_ID = inserted.PROPERTY_EVALUATION_ID); - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_CHRTAC_I_S_U_TR] ON PIMS_CHART_OF_ACCOUNTS_CODE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ADUSGT_I_S_U_TR] ON PIMS_ADDRESS_USAGE_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ADDRESS_USAGE_TYPE_CODE = deleted.ADDRESS_USAGE_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_CHART_OF_ACCOUNTS_CODE - set "ID" = inserted."ID", - "CODE" = inserted."CODE", + update PIMS_ADDRESS_USAGE_TYPE + set "ADDRESS_USAGE_TYPE_CODE" = inserted."ADDRESS_USAGE_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "EFFECTIVE_DATE" = inserted."EFFECTIVE_DATE", - "EXPIRY_DATE" = inserted."EXPIRY_DATE", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_CHART_OF_ACCOUNTS_CODE + from PIMS_ADDRESS_USAGE_TYPE inner join inserted - on (PIMS_CHART_OF_ACCOUNTS_CODE.ID = inserted.ID); + on (PIMS_ADDRESS_USAGE_TYPE.ADDRESS_USAGE_TYPE_CODE = inserted.ADDRESS_USAGE_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_USRORG_A_S_IUD_TR] ON PIMS_USER_ORGANIZATION FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_ACTTTY_I_S_I_TR] ON PIMS_ACTIVITY_TEMPLATE_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM inserted) RETURN; - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_USER_ORGANIZATION_HIST set END_DATE_HIST = @curr_date where USER_ORGANIZATION_ID in (select USER_ORGANIZATION_ID from deleted) and END_DATE_HIST is null; - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_USER_ORGANIZATION_HIST ([USER_ORGANIZATION_ID], [ORGANIZATION_ID], [USER_ID], [ROLE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _USER_ORGANIZATION_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [USER_ORGANIZATION_ID], [ORGANIZATION_ID], [USER_ID], [ROLE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_USER_ORGANIZATION_H_ID_SEQ]) as [_USER_ORGANIZATION_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_ACTIVITY_TEMPLATE_TYPE ("ACTIVITY_TEMPLATE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "ACTIVITY_TEMPLATE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_CLMTYP_A_S_IUD_TR] ON PIMS_CLAIM FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_ARUNIT_I_S_U_TR] ON PIMS_AREA_UNIT_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM deleted) RETURN; - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_CLAIM_HIST set END_DATE_HIST = @curr_date where CLAIM_ID in (select CLAIM_ID from deleted) and END_DATE_HIST is null; - - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_CLAIM_HIST ([CLAIM_ID], [CLAIM_UID], [KEYCLOAK_ROLE_ID], [NAME], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _CLAIM_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [CLAIM_ID], [CLAIM_UID], [KEYCLOAK_ROLE_ID], [NAME], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_CLAIM_H_ID_SEQ]) as [_CLAIM_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.AREA_UNIT_TYPE_CODE = deleted.AREA_UNIT_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_AREA_UNIT_TYPE + set "AREA_UNIT_TYPE_CODE" = inserted."AREA_UNIT_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_AREA_UNIT_TYPE + inner join inserted + on (PIMS_AREA_UNIT_TYPE.AREA_UNIT_TYPE_CODE = inserted.AREA_UNIT_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_COSTYP_I_S_I_TR] ON PIMS_COST_TYPE_CODE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_ADDRSS_I_S_I_TR] ON PIMS_ADDRESS INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_COST_TYPE_CODE ("ID", - "CODE", - "DESCRIPTION", - "DISPLAY_ORDER", - "EFFECTIVE_DATE", - "EXPIRY_DATE", + insert into PIMS_ADDRESS ("ADDRESS_ID", + "REGION_CODE", + "DISTRICT_CODE", + "PROVINCE_STATE_ID", + "COUNTRY_ID", + "STREET_ADDRESS_1", + "STREET_ADDRESS_2", + "STREET_ADDRESS_3", + "MUNICIPALITY_NAME", + "POSTAL_CODE", + "OTHER_COUNTRY", + "LATITUDE", + "LONGITUDE", + "COMMENT", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -14750,12 +15277,20 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "ID", - "CODE", - "DESCRIPTION", - "DISPLAY_ORDER", - "EFFECTIVE_DATE", - "EXPIRY_DATE", + select "ADDRESS_ID", + "REGION_CODE", + "DISTRICT_CODE", + "PROVINCE_STATE_ID", + "COUNTRY_ID", + "STREET_ADDRESS_1", + "STREET_ADDRESS_2", + "STREET_ADDRESS_3", + "MUNICIPALITY_NAME", + "POSTAL_CODE", + "OTHER_COUNTRY", + "LATITUDE", + "LONGITUDE", + "COMMENT", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -14772,42 +15307,62 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_BIZFCN_I_S_U_TR] ON PIMS_BUSINESS_FUNCTION_CODE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + -- update statement + update PIMS_BUSINESS_FUNCTION_CODE + set "ID" = inserted."ID", + "CODE" = inserted."CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "EFFECTIVE_DATE" = inserted."EFFECTIVE_DATE", + "EXPIRY_DATE" = inserted."EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_BUSINESS_FUNCTION_CODE + inner join inserted + on (PIMS_BUSINESS_FUNCTION_CODE.ID = inserted.ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_ACRQOR_I_S_I_TR] ON PIMS_ACCESS_REQUEST_ORGANIZATION INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_ADUSGT_I_S_I_TR] ON PIMS_ADDRESS_USAGE_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_ACCESS_REQUEST_ORGANIZATION ("ACCESS_REQUEST_ORGANIZATION_ID", - "ORGANIZATION_ID", - "ACCESS_REQUEST_ID", + insert into PIMS_ADDRESS_USAGE_TYPE ("ADDRESS_USAGE_TYPE_CODE", + "DESCRIPTION", "IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY") - select "ACCESS_REQUEST_ORGANIZATION_ID", - "ORGANIZATION_ID", - "ACCESS_REQUEST_ID", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "ADDRESS_USAGE_TYPE_CODE", + "DESCRIPTION", "IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" from inserted; END TRY @@ -14815,42 +15370,62 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_CHRTAC_I_S_U_TR] ON PIMS_CHART_OF_ACCOUNTS_CODE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_CHART_OF_ACCOUNTS_CODE + set "ID" = inserted."ID", + "CODE" = inserted."CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "EFFECTIVE_DATE" = inserted."EFFECTIVE_DATE", + "EXPIRY_DATE" = inserted."EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_CHART_OF_ACCOUNTS_CODE + inner join inserted + on (PIMS_CHART_OF_ACCOUNTS_CODE.ID = inserted.ID); +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_PRPORG_I_S_I_TR] ON PIMS_PROPERTY_ORGANIZATION INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_ARUNIT_I_S_I_TR] ON PIMS_AREA_UNIT_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_PROPERTY_ORGANIZATION ("PROPERTY_ORGANIZATION_ID", - "PROPERTY_ID", - "ORGANIZATION_ID", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY", - "IS_DISABLED") - select "PROPERTY_ORGANIZATION_ID", - "PROPERTY_ID", - "ORGANIZATION_ID", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY", - "IS_DISABLED" + insert into PIMS_AREA_UNIT_TYPE ("AREA_UNIT_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "AREA_UNIT_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" from inserted; END TRY @@ -14858,7 +15433,6 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO CREATE TRIGGER [dbo].[PIMS_CLMTYP_I_S_U_TR] ON PIMS_CLAIM INSTEAD OF UPDATE AS @@ -14896,88 +15470,122 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_WRKACT_A_S_IUD_TR] ON PIMS_WORK_ACTIVITY_CODE FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_BIZFCN_I_S_I_TR] ON PIMS_BUSINESS_FUNCTION_CODE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM inserted) RETURN; - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_WORK_ACTIVITY_CODE_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_WORK_ACTIVITY_CODE_HIST ([ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _WORK_ACTIVITY_CODE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_WORK_ACTIVITY_CODE_H_ID_SEQ]) as [_WORK_ACTIVITY_CODE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_BUSINESS_FUNCTION_CODE ("ID", + "CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "EFFECTIVE_DATE", + "EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ID", + "CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "EFFECTIVE_DATE", + "EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PIMPRV_I_S_U_TR] ON PIMS_PROPERTY_IMPROVEMENT INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_CONSTY_I_S_U_TR] ON PIMS_CONSULTATION_STATUS_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_IMPROVEMENT_ID = deleted.PROPERTY_IMPROVEMENT_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.CONSULTATION_STATUS_TYPE_CODE = deleted.CONSULTATION_STATUS_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_PROPERTY_IMPROVEMENT - set "PROPERTY_IMPROVEMENT_ID" = inserted."PROPERTY_IMPROVEMENT_ID", - "LEASE_ID" = inserted."LEASE_ID", - "PROPERTY_IMPROVEMENT_TYPE_CODE" = inserted."PROPERTY_IMPROVEMENT_TYPE_CODE", - "IMPROVEMENT_DESCRIPTION" = inserted."IMPROVEMENT_DESCRIPTION", - "STRUCTURE_SIZE" = inserted."STRUCTURE_SIZE", - "ADDRESS" = inserted."ADDRESS", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + update PIMS_CONSULTATION_STATUS_TYPE + set "CONSULTATION_STATUS_TYPE_CODE" = inserted."CONSULTATION_STATUS_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROPERTY_IMPROVEMENT + from PIMS_CONSULTATION_STATUS_TYPE inner join inserted - on (PIMS_PROPERTY_IMPROVEMENT.PROPERTY_IMPROVEMENT_ID = inserted.PROPERTY_IMPROVEMENT_ID); + on (PIMS_CONSULTATION_STATUS_TYPE.CONSULTATION_STATUS_TYPE_CODE = inserted.CONSULTATION_STATUS_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_CNTRY_I_S_I_TR] ON PIMS_COUNTRY INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_CHRTAC_I_S_I_TR] ON PIMS_CHART_OF_ACCOUNTS_CODE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_COUNTRY ("COUNTRY_ID", - "COUNTRY_CODE", + insert into PIMS_CHART_OF_ACCOUNTS_CODE ("ID", + "CODE", "DESCRIPTION", "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "COUNTRY_ID", - "COUNTRY_CODE", + "EFFECTIVE_DATE", + "EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ID", + "CODE", "DESCRIPTION", "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" + "EFFECTIVE_DATE", + "EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" from inserted; END TRY @@ -14985,108 +15593,53 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ARQSTT_I_S_I_TR] ON PIMS_ACCESS_REQUEST_STATUS_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_CONTYP_I_S_U_TR] ON PIMS_CONSULTATION_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) + IF NOT EXISTS(SELECT * FROM deleted) RETURN; - - insert into PIMS_ACCESS_REQUEST_STATUS_TYPE ("ACCESS_REQUEST_STATUS_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "ACCESS_REQUEST_STATUS_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" - from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.CONSULTATION_TYPE_CODE = deleted.CONSULTATION_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) -CREATE TRIGGER [dbo].[PIMS_CNTMTH_A_S_IUD_TR] ON PIMS_CONTACT_METHOD FOR INSERT, UPDATE, DELETE AS -SET NOCOUNT ON -BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) - RETURN; - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_CONTACT_METHOD_HIST set END_DATE_HIST = @curr_date where CONTACT_METHOD_ID in (select CONTACT_METHOD_ID from deleted) and END_DATE_HIST is null; - - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_CONTACT_METHOD_HIST ([CONTACT_METHOD_ID], [CONTACT_METHOD_TYPE_CODE], [PERSON_ID], [ORGANIZATION_ID], [CONTACT_METHOD_VALUE], [IS_PREFERRED_METHOD], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _CONTACT_METHOD_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [CONTACT_METHOD_ID], [CONTACT_METHOD_TYPE_CODE], [PERSON_ID], [ORGANIZATION_ID], [CONTACT_METHOD_VALUE], [IS_PREFERRED_METHOD], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_CONTACT_METHOD_H_ID_SEQ]) as [_CONTACT_METHOD_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + -- update statement + update PIMS_CONSULTATION_TYPE + set "CONSULTATION_TYPE_CODE" = inserted."CONSULTATION_TYPE_CODE", + "CONSULTATION_STATUS_TYPE_CODE" = inserted."CONSULTATION_STATUS_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "OTHER_DESCRIPTION" = inserted."OTHER_DESCRIPTION", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_CONSULTATION_TYPE + inner join inserted + on (PIMS_CONSULTATION_TYPE.CONSULTATION_TYPE_CODE = inserted.CONSULTATION_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_CNTMTH_I_S_U_TR] ON PIMS_CONTACT_METHOD INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_CLMTYP_I_S_I_TR] ON PIMS_CLAIM INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.CONTACT_METHOD_ID = deleted.CONTACT_METHOD_ID) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_CONTACT_METHOD - set "CONTACT_METHOD_ID" = inserted."CONTACT_METHOD_ID", - "CONTACT_METHOD_TYPE_CODE" = inserted."CONTACT_METHOD_TYPE_CODE", - "PERSON_ID" = inserted."PERSON_ID", - "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", - "CONTACT_METHOD_VALUE" = inserted."CONTACT_METHOD_VALUE", - "IS_PREFERRED_METHOD" = inserted."IS_PREFERRED_METHOD", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_CONTACT_METHOD - inner join inserted - on (PIMS_CONTACT_METHOD.CONTACT_METHOD_ID = inserted.CONTACT_METHOD_ID); - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_PRPRSF_I_S_I_TR] ON PIMS_PROPERTY_PROPERTY_SERVICE_FILE INSTEAD OF INSERT AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) + IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_PROPERTY_PROPERTY_SERVICE_FILE ("PROPERTY_PROPERTY_SERVICE_FILE_ID", - "PROPERTY_ID", - "PROPERTY_SERVICE_FILE_ID", + insert into PIMS_CLAIM ("CLAIM_ID", + "CLAIM_UID", + "KEYCLOAK_ROLE_ID", + "NAME", + "DESCRIPTION", "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", @@ -15097,9 +15650,11 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "PROPERTY_PROPERTY_SERVICE_FILE_ID", - "PROPERTY_ID", - "PROPERTY_SERVICE_FILE_ID", + select "CLAIM_ID", + "CLAIM_UID", + "KEYCLOAK_ROLE_ID", + "NAME", + "DESCRIPTION", "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", @@ -15117,66 +15672,69 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PIDSRT_I_S_I_TR] ON PIMS_DATA_SOURCE_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_CNTMTH_I_S_U_TR] ON PIMS_CONTACT_METHOD INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) + IF NOT EXISTS(SELECT * FROM deleted) RETURN; - - insert into PIMS_DATA_SOURCE_TYPE ("DATA_SOURCE_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "DATA_SOURCE_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" - from inserted; + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.CONTACT_METHOD_ID = deleted.CONTACT_METHOD_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_CONTACT_METHOD + set "CONTACT_METHOD_ID" = inserted."CONTACT_METHOD_ID", + "CONTACT_METHOD_TYPE_CODE" = inserted."CONTACT_METHOD_TYPE_CODE", + "PERSON_ID" = inserted."PERSON_ID", + "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", + "CONTACT_METHOD_VALUE" = inserted."CONTACT_METHOD_VALUE", + "IS_PREFERRED_METHOD" = inserted."IS_PREFERRED_METHOD", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_CONTACT_METHOD + inner join inserted + on (PIMS_CONTACT_METHOD.CONTACT_METHOD_ID = inserted.CONTACT_METHOD_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PIMPRT_I_S_U_TR] ON PIMS_PROPERTY_IMPROVEMENT_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_CONSTY_I_S_I_TR] ON PIMS_CONSULTATION_STATUS_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM inserted) RETURN; - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_IMPROVEMENT_TYPE_CODE = deleted.PROPERTY_IMPROVEMENT_TYPE_CODE) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_PROPERTY_IMPROVEMENT_TYPE - set "PROPERTY_IMPROVEMENT_TYPE_CODE" = inserted."PROPERTY_IMPROVEMENT_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROPERTY_IMPROVEMENT_TYPE - inner join inserted - on (PIMS_PROPERTY_IMPROVEMENT_TYPE.PROPERTY_IMPROVEMENT_TYPE_CODE = inserted.PROPERTY_IMPROVEMENT_TYPE_CODE); + + insert into PIMS_CONSULTATION_STATUS_TYPE ("CONSULTATION_STATUS_TYPE_CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER") + select "CONSULTATION_STATUS_TYPE_CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO CREATE TRIGGER [dbo].[PIMS_CNTMTT_I_S_U_TR] ON PIMS_CONTACT_METHOD_TYPE INSTEAD OF UPDATE AS @@ -15208,79 +15766,88 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_COSTYP_A_S_IUD_TR] ON PIMS_COST_TYPE_CODE FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_CONTYP_I_S_I_TR] ON PIMS_CONSULTATION_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM inserted) RETURN; - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_COST_TYPE_CODE_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_COST_TYPE_CODE_HIST ([ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _COST_TYPE_CODE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_COST_TYPE_CODE_H_ID_SEQ]) as [_COST_TYPE_CODE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_CONSULTATION_TYPE ("CONSULTATION_TYPE_CODE", + "CONSULTATION_STATUS_TYPE_CODE", + "DESCRIPTION", + "OTHER_DESCRIPTION", + "DISPLAY_ORDER", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER") + select "CONSULTATION_TYPE_CODE", + "CONSULTATION_STATUS_TYPE_CODE", + "DESCRIPTION", + "OTHER_DESCRIPTION", + "DISPLAY_ORDER", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_DSTRCT_I_S_I_TR] ON PIMS_DISTRICT INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_COSTYP_I_S_U_TR] ON PIMS_COST_TYPE_CODE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) + IF NOT EXISTS(SELECT * FROM deleted) RETURN; - - insert into PIMS_DISTRICT ("DISTRICT_CODE", - "REGION_CODE", - "DISTRICT_NAME", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "DISTRICT_CODE", - "REGION_CODE", - "DISTRICT_NAME", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" - from inserted; + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_COST_TYPE_CODE + set "ID" = inserted."ID", + "CODE" = inserted."CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "EFFECTIVE_DATE" = inserted."EFFECTIVE_DATE", + "EXPIRY_DATE" = inserted."EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_COST_TYPE_CODE + inner join inserted + on (PIMS_COST_TYPE_CODE.ID = inserted.ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRSCRC_I_S_I_TR] ON PIMS_PROPERTY_RESEARCH_FILE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_CNTMTH_I_S_I_TR] ON PIMS_CONTACT_METHOD INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_PROPERTY_RESEARCH_FILE ("PROPERTY_RESEARCH_FILE_ID", - "PROPERTY_ID", - "RESEARCH_FILE_ID", - "PROPERTY_NAME", - "DISPLAY_ORDER", - "IS_DISABLED", - "IS_LEGAL_OPINION_REQUIRED", - "IS_LEGAL_OPINION_OBTAINED", - "DOCUMENT_REFERENCE", - "RESEARCH_SUMMARY", + insert into PIMS_CONTACT_METHOD ("CONTACT_METHOD_ID", + "CONTACT_METHOD_TYPE_CODE", + "PERSON_ID", + "ORGANIZATION_ID", + "CONTACT_METHOD_VALUE", + "IS_PREFERRED_METHOD", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -15290,16 +15857,12 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "PROPERTY_RESEARCH_FILE_ID", - "PROPERTY_ID", - "RESEARCH_FILE_ID", - "PROPERTY_NAME", - "DISPLAY_ORDER", - "IS_DISABLED", - "IS_LEGAL_OPINION_REQUIRED", - "IS_LEGAL_OPINION_OBTAINED", - "DOCUMENT_REFERENCE", - "RESEARCH_SUMMARY", + select "CONTACT_METHOD_ID", + "CONTACT_METHOD_TYPE_CODE", + "PERSON_ID", + "ORGANIZATION_ID", + "CONTACT_METHOD_VALUE", + "IS_PREFERRED_METHOD", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -15316,97 +15879,109 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_COSTYP_I_S_U_TR] ON PIMS_COST_TYPE_CODE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_CNTRY_I_S_U_TR] ON PIMS_COUNTRY INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.COUNTRY_ID = deleted.COUNTRY_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_COST_TYPE_CODE - set "ID" = inserted."ID", - "CODE" = inserted."CODE", + update PIMS_COUNTRY + set "COUNTRY_ID" = inserted."COUNTRY_ID", + "COUNTRY_CODE" = inserted."COUNTRY_CODE", "DESCRIPTION" = inserted."DESCRIPTION", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "EFFECTIVE_DATE" = inserted."EFFECTIVE_DATE", - "EXPIRY_DATE" = inserted."EXPIRY_DATE", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_COST_TYPE_CODE + from PIMS_COUNTRY inner join inserted - on (PIMS_COST_TYPE_CODE.ID = inserted.ID); + on (PIMS_COUNTRY.COUNTRY_ID = inserted.COUNTRY_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PROPLS_I_S_U_TR] ON PIMS_PROPERTY_LEASE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_CNTMTT_I_S_I_TR] ON PIMS_CONTACT_METHOD_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM inserted) RETURN; - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_LEASE_ID = deleted.PROPERTY_LEASE_ID) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_PROPERTY_LEASE - set "PROPERTY_LEASE_ID" = inserted."PROPERTY_LEASE_ID", - "PROPERTY_ID" = inserted."PROPERTY_ID", - "LEASE_ID" = inserted."LEASE_ID", - "AREA_UNIT_TYPE_CODE" = inserted."AREA_UNIT_TYPE_CODE", - "NAME" = inserted."NAME", - "LEASE_AREA" = inserted."LEASE_AREA", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + + insert into PIMS_CONTACT_METHOD_TYPE ("CONTACT_METHOD_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "CONTACT_METHOD_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PIDSRT_I_S_U_TR] ON PIMS_DATA_SOURCE_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.DATA_SOURCE_TYPE_CODE = deleted.DATA_SOURCE_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_DATA_SOURCE_TYPE + set "DATA_SOURCE_TYPE_CODE" = inserted."DATA_SOURCE_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROPERTY_LEASE + from PIMS_DATA_SOURCE_TYPE inner join inserted - on (PIMS_PROPERTY_LEASE.PROPERTY_LEASE_ID = inserted.PROPERTY_LEASE_ID); + on (PIMS_DATA_SOURCE_TYPE.DATA_SOURCE_TYPE_CODE = inserted.DATA_SOURCE_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_DOCMNT_I_S_I_TR] ON PIMS_DOCUMENT INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_COSTYP_I_S_I_TR] ON PIMS_COST_TYPE_CODE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_DOCUMENT ("DOCUMENT_ID", - "DOCUMENT_TYPE_ID", - "DOCUMENT_STATUS_TYPE_CODE", - "FILE_NAME", - "MAYAN_ID", + insert into PIMS_COST_TYPE_CODE ("ID", + "CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "EFFECTIVE_DATE", + "EXPIRY_DATE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -15416,11 +15991,12 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "DOCUMENT_ID", - "DOCUMENT_TYPE_ID", - "DOCUMENT_STATUS_TYPE_CODE", - "FILE_NAME", - "MAYAN_ID", + select "ID", + "CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "EFFECTIVE_DATE", + "EXPIRY_DATE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -15437,80 +16013,55 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_DOCMNT_A_S_IUD_TR] ON PIMS_DOCUMENT FOR INSERT, UPDATE, DELETE AS -SET NOCOUNT ON -BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_DOCUMENT_HIST set END_DATE_HIST = @curr_date where DOCUMENT_ID in (select DOCUMENT_ID from deleted) and END_DATE_HIST is null; - - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_DOCUMENT_HIST ([DOCUMENT_ID], [DOCUMENT_TYPE_ID], [DOCUMENT_STATUS_TYPE_CODE], [FILE_NAME], [MAYAN_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _DOCUMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [DOCUMENT_ID], [DOCUMENT_TYPE_ID], [DOCUMENT_STATUS_TYPE_CODE], [FILE_NAME], [MAYAN_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_DOCUMENT_H_ID_SEQ]) as [_DOCUMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_CNTRY_I_S_U_TR] ON PIMS_COUNTRY INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_DSTRCT_I_S_U_TR] ON PIMS_DISTRICT INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.COUNTRY_ID = deleted.COUNTRY_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.DISTRICT_CODE = deleted.DISTRICT_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_COUNTRY - set "COUNTRY_ID" = inserted."COUNTRY_ID", - "COUNTRY_CODE" = inserted."COUNTRY_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", + update PIMS_DISTRICT + set "DISTRICT_CODE" = inserted."DISTRICT_CODE", + "REGION_CODE" = inserted."REGION_CODE", + "DISTRICT_NAME" = inserted."DISTRICT_NAME", + "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_COUNTRY + from PIMS_DISTRICT inner join inserted - on (PIMS_COUNTRY.COUNTRY_ID = inserted.COUNTRY_ID); + on (PIMS_DISTRICT.DISTRICT_CODE = inserted.DISTRICT_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRROAD_I_S_I_TR] ON PIMS_PROPERTY_ROAD_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_CNTRY_I_S_I_TR] ON PIMS_COUNTRY INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_PROPERTY_ROAD_TYPE ("PROPERTY_ROAD_TYPE_CODE", + insert into PIMS_COUNTRY ("COUNTRY_ID", + "COUNTRY_CODE", "DESCRIPTION", - "IS_DISABLED", "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER") - select "PROPERTY_ROAD_TYPE_CODE", + select "COUNTRY_ID", + "COUNTRY_CODE", "DESCRIPTION", - "IS_DISABLED", "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" from inserted; @@ -15520,22 +16071,57 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_DOCMNT_I_S_U_TR] ON PIMS_DOCUMENT INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.DOCUMENT_ID = deleted.DOCUMENT_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_DOCUMENT + set "DOCUMENT_ID" = inserted."DOCUMENT_ID", + "DOCUMENT_TYPE_ID" = inserted."DOCUMENT_TYPE_ID", + "DOCUMENT_STATUS_TYPE_CODE" = inserted."DOCUMENT_STATUS_TYPE_CODE", + "FILE_NAME" = inserted."FILE_NAME", + "MAYAN_ID" = inserted."MAYAN_ID", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_DOCUMENT + inner join inserted + on (PIMS_DOCUMENT.DOCUMENT_ID = inserted.DOCUMENT_ID); +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_DOCSTY_I_S_I_TR] ON PIMS_DOCUMENT_STATUS_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PIDSRT_I_S_I_TR] ON PIMS_DATA_SOURCE_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_DOCUMENT_STATUS_TYPE ("DOCUMENT_STATUS_TYPE_CODE", + insert into PIMS_DATA_SOURCE_TYPE ("DATA_SOURCE_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER") - select "DOCUMENT_STATUS_TYPE_CODE", + select "DATA_SOURCE_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", @@ -15547,111 +16133,113 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRPORG_I_S_U_TR] ON PIMS_PROPERTY_ORGANIZATION INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_DOCSTY_I_S_U_TR] ON PIMS_DOCUMENT_STATUS_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_ORGANIZATION_ID = deleted.PROPERTY_ORGANIZATION_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.DOCUMENT_STATUS_TYPE_CODE = deleted.DOCUMENT_STATUS_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_PROPERTY_ORGANIZATION - set "PROPERTY_ORGANIZATION_ID" = inserted."PROPERTY_ORGANIZATION_ID", - "PROPERTY_ID" = inserted."PROPERTY_ID", - "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY", - "IS_DISABLED" = inserted."IS_DISABLED" + update PIMS_DOCUMENT_STATUS_TYPE + set "DOCUMENT_STATUS_TYPE_CODE" = inserted."DOCUMENT_STATUS_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROPERTY_ORGANIZATION + from PIMS_DOCUMENT_STATUS_TYPE inner join inserted - on (PIMS_PROPERTY_ORGANIZATION.PROPERTY_ORGANIZATION_ID = inserted.PROPERTY_ORGANIZATION_ID); + on (PIMS_DOCUMENT_STATUS_TYPE.DOCUMENT_STATUS_TYPE_CODE = inserted.DOCUMENT_STATUS_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_DSTRCT_I_S_I_TR] ON PIMS_DISTRICT INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_DISTRICT ("DISTRICT_CODE", + "REGION_CODE", + "DISTRICT_NAME", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "DISTRICT_CODE", + "REGION_CODE", + "DISTRICT_NAME", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_PIDSRT_I_S_U_TR] ON PIMS_DATA_SOURCE_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_DOCTYP_I_S_U_TR] ON PIMS_DOCUMENT_TYP INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.DATA_SOURCE_TYPE_CODE = deleted.DATA_SOURCE_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.DOCUMENT_TYPE_ID = deleted.DOCUMENT_TYPE_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_DATA_SOURCE_TYPE - set "DATA_SOURCE_TYPE_CODE" = inserted."DATA_SOURCE_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + update PIMS_DOCUMENT_TYP + set "DOCUMENT_TYPE_ID" = inserted."DOCUMENT_TYPE_ID", + "MAYAN_ID" = inserted."MAYAN_ID", + "DOCUMENT_TYPE" = inserted."DOCUMENT_TYPE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_DATA_SOURCE_TYPE + from PIMS_DOCUMENT_TYP inner join inserted - on (PIMS_DATA_SOURCE_TYPE.DATA_SOURCE_TYPE_CODE = inserted.DATA_SOURCE_TYPE_CODE); + on (PIMS_DOCUMENT_TYP.DOCUMENT_TYPE_ID = inserted.DOCUMENT_TYPE_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_DOCTYP_A_S_IUD_TR] ON PIMS_DOCUMENT_TYP FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_DOCMNT_I_S_I_TR] ON PIMS_DOCUMENT INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_DOCUMENT_TYP_HIST set END_DATE_HIST = @curr_date where DOCUMENT_TYPE_ID in (select DOCUMENT_TYPE_ID from deleted) and END_DATE_HIST is null; - - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_DOCUMENT_TYP_HIST ([DOCUMENT_TYPE_ID], [MAYAN_ID], [DOCUMENT_TYPE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _DOCUMENT_TYP_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [DOCUMENT_TYPE_ID], [MAYAN_ID], [DOCUMENT_TYPE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_DOCUMENT_TYP_H_ID_SEQ]) as [_DOCUMENT_TYP_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_DOCTYP_I_S_I_TR] ON PIMS_DOCUMENT_TYP INSTEAD OF INSERT AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) + IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_DOCUMENT_TYP ("DOCUMENT_TYPE_ID", + insert into PIMS_DOCUMENT ("DOCUMENT_ID", + "DOCUMENT_TYPE_ID", + "DOCUMENT_STATUS_TYPE_CODE", + "FILE_NAME", "MAYAN_ID", - "DOCUMENT_TYPE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -15661,48 +16249,11 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "DOCUMENT_TYPE_ID", + select "DOCUMENT_ID", + "DOCUMENT_TYPE_ID", + "DOCUMENT_STATUS_TYPE_CODE", + "FILE_NAME", "MAYAN_ID", - "DOCUMENT_TYPE", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" - from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_PRPSVC_I_S_I_TR] ON PIMS_PROPERTY_SERVICE_FILE INSTEAD OF INSERT AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) - RETURN; - - - insert into PIMS_PROPERTY_SERVICE_FILE ("PROPERTY_SERVICE_FILE_ID", - "PROPERTY_SERVICE_FILE_TYPE_CODE", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY") - select "PROPERTY_SERVICE_FILE_ID", - "PROPERTY_SERVICE_FILE_TYPE_CODE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -15719,59 +16270,84 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_DSTRCT_I_S_U_TR] ON PIMS_DISTRICT INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_FNCTYP_I_S_U_TR] ON PIMS_FENCE_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.DISTRICT_CODE = deleted.DISTRICT_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.FENCE_TYPE_CODE = deleted.FENCE_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_DISTRICT - set "DISTRICT_CODE" = inserted."DISTRICT_CODE", - "REGION_CODE" = inserted."REGION_CODE", - "DISTRICT_NAME" = inserted."DISTRICT_NAME", + update PIMS_FENCE_TYPE + set "FENCE_TYPE_CODE" = inserted."FENCE_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_DISTRICT + from PIMS_FENCE_TYPE inner join inserted - on (PIMS_DISTRICT.DISTRICT_CODE = inserted.DISTRICT_CODE); + on (PIMS_FENCE_TYPE.FENCE_TYPE_CODE = inserted.FENCE_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_DOCSTY_I_S_I_TR] ON PIMS_DOCUMENT_STATUS_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_DOCUMENT_STATUS_TYPE ("DOCUMENT_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "DOCUMENT_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_PRPRSF_I_S_U_TR] ON PIMS_PROPERTY_PROPERTY_SERVICE_FILE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_FINACT_I_S_U_TR] ON PIMS_FINANCIAL_ACTIVITY_CODE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_PROPERTY_SERVICE_FILE_ID = deleted.PROPERTY_PROPERTY_SERVICE_FILE_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_PROPERTY_PROPERTY_SERVICE_FILE - set "PROPERTY_PROPERTY_SERVICE_FILE_ID" = inserted."PROPERTY_PROPERTY_SERVICE_FILE_ID", - "PROPERTY_ID" = inserted."PROPERTY_ID", - "PROPERTY_SERVICE_FILE_ID" = inserted."PROPERTY_SERVICE_FILE_ID", - "IS_DISABLED" = inserted."IS_DISABLED", + update PIMS_FINANCIAL_ACTIVITY_CODE + set "ID" = inserted."ID", + "CODE" = inserted."CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "EFFECTIVE_DATE" = inserted."EFFECTIVE_DATE", + "EXPIRY_DATE" = inserted."EXPIRY_DATE", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", @@ -15779,35 +16355,48 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROPERTY_PROPERTY_SERVICE_FILE + from PIMS_FINANCIAL_ACTIVITY_CODE inner join inserted - on (PIMS_PROPERTY_PROPERTY_SERVICE_FILE.PROPERTY_PROPERTY_SERVICE_FILE_ID = inserted.PROPERTY_PROPERTY_SERVICE_FILE_ID); + on (PIMS_FINANCIAL_ACTIVITY_CODE.ID = inserted.ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_FNCTYP_I_S_I_TR] ON PIMS_FENCE_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_DOCTYP_I_S_I_TR] ON PIMS_DOCUMENT_TYP INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_FENCE_TYPE ("FENCE_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "FENCE_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" + insert into PIMS_DOCUMENT_TYP ("DOCUMENT_TYPE_ID", + "MAYAN_ID", + "DOCUMENT_TYPE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "DOCUMENT_TYPE_ID", + "MAYAN_ID", + "DOCUMENT_TYPE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" from inserted; END TRY @@ -15815,51 +16404,29 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_FINACT_A_S_IUD_TR] ON PIMS_FINANCIAL_ACTIVITY_CODE FOR INSERT, UPDATE, DELETE AS -SET NOCOUNT ON -BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_FINANCIAL_ACTIVITY_CODE_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; - - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_FINANCIAL_ACTIVITY_CODE_HIST ([ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _FINANCIAL_ACTIVITY_CODE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE_H_ID_SEQ]) as [_FINANCIAL_ACTIVITY_CODE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_DOCMNT_I_S_U_TR] ON PIMS_DOCUMENT INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_INSRNC_I_S_U_TR] ON PIMS_INSURANCE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.DOCUMENT_ID = deleted.DOCUMENT_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.INSURANCE_ID = deleted.INSURANCE_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_DOCUMENT - set "DOCUMENT_ID" = inserted."DOCUMENT_ID", - "DOCUMENT_TYPE_ID" = inserted."DOCUMENT_TYPE_ID", - "DOCUMENT_STATUS_TYPE_CODE" = inserted."DOCUMENT_STATUS_TYPE_CODE", - "FILE_NAME" = inserted."FILE_NAME", - "MAYAN_ID" = inserted."MAYAN_ID", + update PIMS_INSURANCE + set "INSURANCE_ID" = inserted."INSURANCE_ID", + "LEASE_ID" = inserted."LEASE_ID", + "INSURANCE_TYPE_CODE" = inserted."INSURANCE_TYPE_CODE", + "OTHER_INSURANCE_TYPE" = inserted."OTHER_INSURANCE_TYPE", + "COVERAGE_DESCRIPTION" = inserted."COVERAGE_DESCRIPTION", + "COVERAGE_LIMIT" = inserted."COVERAGE_LIMIT", + "IS_INSURANCE_IN_PLACE" = inserted."IS_INSURANCE_IN_PLACE", + "EXPIRY_DATE" = inserted."EXPIRY_DATE", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", @@ -15867,31 +16434,30 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_DOCUMENT + from PIMS_INSURANCE inner join inserted - on (PIMS_DOCUMENT.DOCUMENT_ID = inserted.DOCUMENT_ID); + on (PIMS_INSURANCE.INSURANCE_ID = inserted.INSURANCE_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRSVFT_I_S_I_TR] ON PIMS_PROPERTY_SERVICE_FILE_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_FNCTYP_I_S_I_TR] ON PIMS_FENCE_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_PROPERTY_SERVICE_FILE_TYPE ("PROPERTY_SERVICE_FILE_TYPE_CODE", + insert into PIMS_FENCE_TYPE ("FENCE_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER") - select "PROPERTY_SERVICE_FILE_TYPE_CODE", + select "FENCE_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", @@ -15903,7 +16469,37 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_INSPYT_I_S_U_TR] ON PIMS_INSURANCE_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.INSURANCE_TYPE_CODE = deleted.INSURANCE_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_INSURANCE_TYPE + set "INSURANCE_TYPE_CODE" = inserted."INSURANCE_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_INSURANCE_TYPE + inner join inserted + on (PIMS_INSURANCE_TYPE.INSURANCE_TYPE_CODE = inserted.INSURANCE_TYPE_CODE); +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO CREATE TRIGGER [dbo].[PIMS_FINACT_I_S_I_TR] ON PIMS_FINANCIAL_ACTIVITY_CODE INSTEAD OF INSERT AS @@ -15950,105 +16546,37 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRSCRC_I_S_U_TR] ON PIMS_PROPERTY_RESEARCH_FILE INSTEAD OF UPDATE AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_RESEARCH_FILE_ID = deleted.PROPERTY_RESEARCH_FILE_ID) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_PROPERTY_RESEARCH_FILE - set "PROPERTY_RESEARCH_FILE_ID" = inserted."PROPERTY_RESEARCH_FILE_ID", - "PROPERTY_ID" = inserted."PROPERTY_ID", - "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", - "PROPERTY_NAME" = inserted."PROPERTY_NAME", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "IS_DISABLED" = inserted."IS_DISABLED", - "IS_LEGAL_OPINION_REQUIRED" = inserted."IS_LEGAL_OPINION_REQUIRED", - "IS_LEGAL_OPINION_OBTAINED" = inserted."IS_LEGAL_OPINION_OBTAINED", - "DOCUMENT_REFERENCE" = inserted."DOCUMENT_REFERENCE", - "RESEARCH_SUMMARY" = inserted."RESEARCH_SUMMARY", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROPERTY_RESEARCH_FILE - inner join inserted - on (PIMS_PROPERTY_RESEARCH_FILE.PROPERTY_RESEARCH_FILE_ID = inserted.PROPERTY_RESEARCH_FILE_ID); - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_DOCSTY_I_S_U_TR] ON PIMS_DOCUMENT_STATUS_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_LNSRVT_I_S_U_TR] ON PIMS_LAND_SURVEYOR_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.DOCUMENT_STATUS_TYPE_CODE = deleted.DOCUMENT_STATUS_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LAND_SURVEYOR_TYPE_CODE = deleted.LAND_SURVEYOR_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_DOCUMENT_STATUS_TYPE - set "DOCUMENT_STATUS_TYPE_CODE" = inserted."DOCUMENT_STATUS_TYPE_CODE", + update PIMS_LAND_SURVEYOR_TYPE + set "LAND_SURVEYOR_TYPE_CODE" = inserted."LAND_SURVEYOR_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_DOCUMENT_STATUS_TYPE + from PIMS_LAND_SURVEYOR_TYPE inner join inserted - on (PIMS_DOCUMENT_STATUS_TYPE.DOCUMENT_STATUS_TYPE_CODE = inserted.DOCUMENT_STATUS_TYPE_CODE); - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_INSRNC_A_S_IUD_TR] ON PIMS_INSURANCE FOR INSERT, UPDATE, DELETE AS -SET NOCOUNT ON -BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_INSURANCE_HIST set END_DATE_HIST = @curr_date where INSURANCE_ID in (select INSURANCE_ID from deleted) and END_DATE_HIST is null; - - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_INSURANCE_HIST ([INSURANCE_ID], [LEASE_ID], [INSURANCE_TYPE_CODE], [OTHER_INSURANCE_TYPE], [COVERAGE_DESCRIPTION], [COVERAGE_LIMIT], [IS_INSURANCE_IN_PLACE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _INSURANCE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [INSURANCE_ID], [LEASE_ID], [INSURANCE_TYPE_CODE], [OTHER_INSURANCE_TYPE], [COVERAGE_DESCRIPTION], [COVERAGE_LIMIT], [IS_INSURANCE_IN_PLACE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_INSURANCE_H_ID_SEQ]) as [_INSURANCE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + on (PIMS_LAND_SURVEYOR_TYPE.LAND_SURVEYOR_TYPE_CODE = inserted.LAND_SURVEYOR_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO CREATE TRIGGER [dbo].[PIMS_INSRNC_I_S_I_TR] ON PIMS_INSURANCE INSTEAD OF INSERT AS @@ -16099,22 +16627,90 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LEASE_I_S_U_TR] ON PIMS_LEASE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_ID = deleted.LEASE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE + set "LEASE_ID" = inserted."LEASE_ID", + "LEASE_PAY_RVBL_TYPE_CODE" = inserted."LEASE_PAY_RVBL_TYPE_CODE", + "LEASE_LICENSE_TYPE_CODE" = inserted."LEASE_LICENSE_TYPE_CODE", + "LEASE_CATEGORY_TYPE_CODE" = inserted."LEASE_CATEGORY_TYPE_CODE", + "LEASE_PURPOSE_TYPE_CODE" = inserted."LEASE_PURPOSE_TYPE_CODE", + "LEASE_PROGRAM_TYPE_CODE" = inserted."LEASE_PROGRAM_TYPE_CODE", + "LEASE_INITIATOR_TYPE_CODE" = inserted."LEASE_INITIATOR_TYPE_CODE", + "LEASE_RESPONSIBILITY_TYPE_CODE" = inserted."LEASE_RESPONSIBILITY_TYPE_CODE", + "LEASE_STATUS_TYPE_CODE" = inserted."LEASE_STATUS_TYPE_CODE", + "REGION_CODE" = inserted."REGION_CODE", + "L_FILE_NO" = inserted."L_FILE_NO", + "TFA_FILE_NO" = inserted."TFA_FILE_NO", + "TFA_FILE_NUMBER" = inserted."TFA_FILE_NUMBER", + "PS_FILE_NO" = inserted."PS_FILE_NO", + "LEASE_DESCRIPTION" = inserted."LEASE_DESCRIPTION", + "LEASE_CATEGORY_OTHER_DESC" = inserted."LEASE_CATEGORY_OTHER_DESC", + "LEASE_PURPOSE_OTHER_DESC" = inserted."LEASE_PURPOSE_OTHER_DESC", + "LEASE_NOTES" = inserted."LEASE_NOTES", + "MOTI_CONTACT" = inserted."MOTI_CONTACT", + "DOCUMENTATION_REFERENCE" = inserted."DOCUMENTATION_REFERENCE", + "RETURN_NOTES" = inserted."RETURN_NOTES", + "OTHER_LEASE_PROGRAM_TYPE" = inserted."OTHER_LEASE_PROGRAM_TYPE", + "OTHER_LEASE_LICENSE_TYPE" = inserted."OTHER_LEASE_LICENSE_TYPE", + "OTHER_LEASE_PURPOSE_TYPE" = inserted."OTHER_LEASE_PURPOSE_TYPE", + "ORIG_START_DATE" = inserted."ORIG_START_DATE", + "ORIG_EXPIRY_DATE" = inserted."ORIG_EXPIRY_DATE", + "LEASE_AMOUNT" = inserted."LEASE_AMOUNT", + "RESPONSIBILITY_EFFECTIVE_DATE" = inserted."RESPONSIBILITY_EFFECTIVE_DATE", + "INSPECTION_DATE" = inserted."INSPECTION_DATE", + "INSPECTION_NOTES" = inserted."INSPECTION_NOTES", + "IS_SUBJECT_TO_RTA" = inserted."IS_SUBJECT_TO_RTA", + "IS_COMM_BLDG" = inserted."IS_COMM_BLDG", + "IS_OTHER_IMPROVEMENT" = inserted."IS_OTHER_IMPROVEMENT", + "IS_EXPIRED" = inserted."IS_EXPIRED", + "HAS_PHYSICAL_FILE" = inserted."HAS_PHYSICAL_FILE", + "HAS_DIGITAL_FILE" = inserted."HAS_DIGITAL_FILE", + "HAS_PHYSICIAL_LICENSE" = inserted."HAS_PHYSICIAL_LICENSE", + "HAS_DIGITAL_LICENSE" = inserted."HAS_DIGITAL_LICENSE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE + inner join inserted + on (PIMS_LEASE.LEASE_ID = inserted.LEASE_ID); +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_PRPSTS_I_S_I_TR] ON PIMS_PROPERTY_STATUS_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_INSPYT_I_S_I_TR] ON PIMS_INSURANCE_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_PROPERTY_STATUS_TYPE ("PROPERTY_STATUS_TYPE_CODE", + insert into PIMS_INSURANCE_TYPE ("INSURANCE_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER") - select "PROPERTY_STATUS_TYPE_CODE", + select "INSURANCE_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", @@ -16126,25 +16722,24 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_DOCTYP_I_S_U_TR] ON PIMS_DOCUMENT_TYP INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_LSACIN_I_S_U_TR] ON PIMS_LEASE_ACTIVITY_INSTANCE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.DOCUMENT_TYPE_ID = deleted.DOCUMENT_TYPE_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_ACTIVITY_INSTANCE_ID = deleted.LEASE_ACTIVITY_INSTANCE_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_DOCUMENT_TYP - set "DOCUMENT_TYPE_ID" = inserted."DOCUMENT_TYPE_ID", - "MAYAN_ID" = inserted."MAYAN_ID", - "DOCUMENT_TYPE" = inserted."DOCUMENT_TYPE", + update PIMS_LEASE_ACTIVITY_INSTANCE + set "LEASE_ACTIVITY_INSTANCE_ID" = inserted."LEASE_ACTIVITY_INSTANCE_ID", + "ACTIVITY_INSTANCE_ID" = inserted."ACTIVITY_INSTANCE_ID", + "LEASE_ID" = inserted."LEASE_ID", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", @@ -16152,63 +16747,30 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_DOCUMENT_TYP - inner join inserted - on (PIMS_DOCUMENT_TYP.DOCUMENT_TYPE_ID = inserted.DOCUMENT_TYPE_ID); - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_PRROAD_I_S_U_TR] ON PIMS_PROPERTY_ROAD_TYPE INSTEAD OF UPDATE AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_ROAD_TYPE_CODE = deleted.PROPERTY_ROAD_TYPE_CODE) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_PROPERTY_ROAD_TYPE - set "PROPERTY_ROAD_TYPE_CODE" = inserted."PROPERTY_ROAD_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROPERTY_ROAD_TYPE + from PIMS_LEASE_ACTIVITY_INSTANCE inner join inserted - on (PIMS_PROPERTY_ROAD_TYPE.PROPERTY_ROAD_TYPE_CODE = inserted.PROPERTY_ROAD_TYPE_CODE); + on (PIMS_LEASE_ACTIVITY_INSTANCE.LEASE_ACTIVITY_INSTANCE_ID = inserted.LEASE_ACTIVITY_INSTANCE_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_INSPYT_I_S_I_TR] ON PIMS_INSURANCE_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_LNSRVT_I_S_I_TR] ON PIMS_LAND_SURVEYOR_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_INSURANCE_TYPE ("INSURANCE_TYPE_CODE", + insert into PIMS_LAND_SURVEYOR_TYPE ("LAND_SURVEYOR_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER") - select "INSURANCE_TYPE_CODE", + select "LAND_SURVEYOR_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", @@ -16220,240 +16782,40 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_LEASE_A_S_IUD_TR] ON PIMS_LEASE FOR INSERT, UPDATE, DELETE AS -SET NOCOUNT ON -BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_LEASE_HIST set END_DATE_HIST = @curr_date where LEASE_ID in (select LEASE_ID from deleted) and END_DATE_HIST is null; - - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_LEASE_HIST ([LEASE_ID], [LEASE_PAY_RVBL_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_STATUS_TYPE_CODE], [REGION_CODE], [L_FILE_NO], [TFA_FILE_NO], [TFA_FILE_NUMBER], [PS_FILE_NO], [LEASE_CATEGORY_OTHER_DESC], [LEASE_PURPOSE_OTHER_DESC], [MOTI_CONTACT], [DOCUMENTATION_REFERENCE], [OTHER_LEASE_PROGRAM_TYPE], [OTHER_LEASE_LICENSE_TYPE], [OTHER_LEASE_PURPOSE_TYPE], [ORIG_START_DATE], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [RESPONSIBILITY_EFFECTIVE_DATE], [INSPECTION_DATE], [IS_SUBJECT_TO_RTA], [IS_COMM_BLDG], [IS_OTHER_IMPROVEMENT], [IS_EXPIRED], [HAS_PHYSICAL_FILE], [HAS_DIGITAL_FILE], [HAS_PHYSICIAL_LICENSE], [HAS_DIGITAL_LICENSE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _LEASE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [LEASE_ID], [LEASE_PAY_RVBL_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_STATUS_TYPE_CODE], [REGION_CODE], [L_FILE_NO], [TFA_FILE_NO], [TFA_FILE_NUMBER], [PS_FILE_NO], [LEASE_CATEGORY_OTHER_DESC], [LEASE_PURPOSE_OTHER_DESC], [MOTI_CONTACT], [DOCUMENTATION_REFERENCE], [OTHER_LEASE_PROGRAM_TYPE], [OTHER_LEASE_LICENSE_TYPE], [OTHER_LEASE_PURPOSE_TYPE], [ORIG_START_DATE], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [RESPONSIBILITY_EFFECTIVE_DATE], [INSPECTION_DATE], [IS_SUBJECT_TO_RTA], [IS_COMM_BLDG], [IS_OTHER_IMPROVEMENT], [IS_EXPIRED], [HAS_PHYSICAL_FILE], [HAS_DIGITAL_FILE], [HAS_PHYSICIAL_LICENSE], [HAS_DIGITAL_LICENSE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_LEASE_H_ID_SEQ]) as [_LEASE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_FNCTYP_I_S_U_TR] ON PIMS_FENCE_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_LSCATT_I_S_U_TR] ON PIMS_LEASE_CATEGORY_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.FENCE_TYPE_CODE = deleted.FENCE_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_CATEGORY_TYPE_CODE = deleted.LEASE_CATEGORY_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_FENCE_TYPE - set "FENCE_TYPE_CODE" = inserted."FENCE_TYPE_CODE", + update PIMS_LEASE_CATEGORY_TYPE + set "LEASE_CATEGORY_TYPE_CODE" = inserted."LEASE_CATEGORY_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_FENCE_TYPE + from PIMS_LEASE_CATEGORY_TYPE inner join inserted - on (PIMS_FENCE_TYPE.FENCE_TYPE_CODE = inserted.FENCE_TYPE_CODE); + on (PIMS_LEASE_CATEGORY_TYPE.LEASE_CATEGORY_TYPE_CODE = inserted.LEASE_CATEGORY_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRPTAX_I_S_I_TR] ON PIMS_PROPERTY_TAX INSTEAD OF INSERT AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) - RETURN; - - - insert into PIMS_PROPERTY_TAX ("PROPERTY_TAX_ID", - "PROPERTY_ID", - "PROPERTY_TAX_REMIT_TYPE_CODE", - "TAX_FOLIO_NO", - "PAYMENT_AMOUNT", - "LAST_PAYMENT_DATE", - "PAYMENT_NOTES", - "BCTFA_NOTIFICATION_DATE", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY") - select "PROPERTY_TAX_ID", - "PROPERTY_ID", - "PROPERTY_TAX_REMIT_TYPE_CODE", - "TAX_FOLIO_NO", - "PAYMENT_AMOUNT", - "LAST_PAYMENT_DATE", - "PAYMENT_NOTES", - "BCTFA_NOTIFICATION_DATE", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" - from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_LNSRVT_I_S_I_TR] ON PIMS_LAND_SURVEYOR_TYPE INSTEAD OF INSERT AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) - RETURN; - - - insert into PIMS_LAND_SURVEYOR_TYPE ("LAND_SURVEYOR_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "LAND_SURVEYOR_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" - from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_PRPSVC_I_S_U_TR] ON PIMS_PROPERTY_SERVICE_FILE INSTEAD OF UPDATE AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_SERVICE_FILE_ID = deleted.PROPERTY_SERVICE_FILE_ID) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_PROPERTY_SERVICE_FILE - set "PROPERTY_SERVICE_FILE_ID" = inserted."PROPERTY_SERVICE_FILE_ID", - "PROPERTY_SERVICE_FILE_TYPE_CODE" = inserted."PROPERTY_SERVICE_FILE_TYPE_CODE", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROPERTY_SERVICE_FILE - inner join inserted - on (PIMS_PROPERTY_SERVICE_FILE.PROPERTY_SERVICE_FILE_ID = inserted.PROPERTY_SERVICE_FILE_ID); - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_FINACT_I_S_U_TR] ON PIMS_FINANCIAL_ACTIVITY_CODE INSTEAD OF UPDATE AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_FINANCIAL_ACTIVITY_CODE - set "ID" = inserted."ID", - "CODE" = inserted."CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "EFFECTIVE_DATE" = inserted."EFFECTIVE_DATE", - "EXPIRY_DATE" = inserted."EXPIRY_DATE", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_FINANCIAL_ACTIVITY_CODE - inner join inserted - on (PIMS_FINANCIAL_ACTIVITY_CODE.ID = inserted.ID); - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_LSACIN_A_S_IUD_TR] ON PIMS_LEASE_ACTIVITY_INSTANCE FOR INSERT, UPDATE, DELETE AS -SET NOCOUNT ON -BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_LEASE_ACTIVITY_INSTANCE_HIST set END_DATE_HIST = @curr_date where LEASE_ACTIVITY_INSTANCE_ID in (select LEASE_ACTIVITY_INSTANCE_ID from deleted) and END_DATE_HIST is null; - - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_LEASE_ACTIVITY_INSTANCE_HIST ([LEASE_ACTIVITY_INSTANCE_ID], [ACTIVITY_INSTANCE_ID], [LEASE_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _LEASE_ACTIVITY_INSTANCE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [LEASE_ACTIVITY_INSTANCE_ID], [ACTIVITY_INSTANCE_ID], [LEASE_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE_H_ID_SEQ]) as [_LEASE_ACTIVITY_INSTANCE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_LEASE_I_S_I_TR] ON PIMS_LEASE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_LEASE_I_S_I_TR] ON PIMS_LEASE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) @@ -16561,106 +16923,41 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_PTRMTT_I_S_I_TR] ON PIMS_PROPERTY_TAX_REMIT_TYPE INSTEAD OF INSERT AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) - RETURN; - - - insert into PIMS_PROPERTY_TAX_REMIT_TYPE ("PROPERTY_TAX_REMIT_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "PROPERTY_TAX_REMIT_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" - from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_INSRNC_I_S_U_TR] ON PIMS_INSURANCE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_LESCON_I_S_U_TR] ON PIMS_LEASE_CONSULTATION INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.INSURANCE_ID = deleted.INSURANCE_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_CONSULTATION_ID = deleted.LEASE_CONSULTATION_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_INSURANCE - set "INSURANCE_ID" = inserted."INSURANCE_ID", + update PIMS_LEASE_CONSULTATION + set "LEASE_CONSULTATION_ID" = inserted."LEASE_CONSULTATION_ID", "LEASE_ID" = inserted."LEASE_ID", - "INSURANCE_TYPE_CODE" = inserted."INSURANCE_TYPE_CODE", - "OTHER_INSURANCE_TYPE" = inserted."OTHER_INSURANCE_TYPE", - "COVERAGE_DESCRIPTION" = inserted."COVERAGE_DESCRIPTION", - "COVERAGE_LIMIT" = inserted."COVERAGE_LIMIT", - "IS_INSURANCE_IN_PLACE" = inserted."IS_INSURANCE_IN_PLACE", - "EXPIRY_DATE" = inserted."EXPIRY_DATE", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "CONSULTATION_TYPE_CODE" = inserted."CONSULTATION_TYPE_CODE", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY", "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_INSURANCE - inner join inserted - on (PIMS_INSURANCE.INSURANCE_ID = inserted.INSURANCE_ID); - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_PRSVFT_I_S_U_TR] ON PIMS_PROPERTY_SERVICE_FILE_TYPE INSTEAD OF UPDATE AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_SERVICE_FILE_TYPE_CODE = deleted.PROPERTY_SERVICE_FILE_TYPE_CODE) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_PROPERTY_SERVICE_FILE_TYPE - set "PROPERTY_SERVICE_FILE_TYPE_CODE" = inserted."PROPERTY_SERVICE_FILE_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "IS_DISABLED" = inserted."IS_DISABLED" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROPERTY_SERVICE_FILE_TYPE + from PIMS_LEASE_CONSULTATION inner join inserted - on (PIMS_PROPERTY_SERVICE_FILE_TYPE.PROPERTY_SERVICE_FILE_TYPE_CODE = inserted.PROPERTY_SERVICE_FILE_TYPE_CODE); + on (PIMS_LEASE_CONSULTATION.LEASE_CONSULTATION_ID = inserted.LEASE_CONSULTATION_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO CREATE TRIGGER [dbo].[PIMS_LSACIN_I_S_I_TR] ON PIMS_LEASE_ACTIVITY_INSTANCE INSTEAD OF INSERT AS @@ -16701,90 +16998,41 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_LSPYMT_A_S_IUD_TR] ON PIMS_LEASE_PAYMENT FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_LESDOC_I_S_U_TR] ON PIMS_LEASE_DOCUMENT INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_LEASE_PAYMENT_HIST set END_DATE_HIST = @curr_date where LEASE_PAYMENT_ID in (select LEASE_PAYMENT_ID from deleted) and END_DATE_HIST is null; - - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_LEASE_PAYMENT_HIST ([LEASE_PAYMENT_ID], [LEASE_TERM_ID], [LEASE_PAYMENT_METHOD_TYPE_CODE], [LEASE_PAYMENT_STATUS_TYPE_CODE], [PAYMENT_RECEIVED_DATE], [PAYMENT_AMOUNT_PRE_TAX], [PAYMENT_AMOUNT_PST], [PAYMENT_AMOUNT_GST], [PAYMENT_AMOUNT_TOTAL], [NOTE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _LEASE_PAYMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [LEASE_PAYMENT_ID], [LEASE_TERM_ID], [LEASE_PAYMENT_METHOD_TYPE_CODE], [LEASE_PAYMENT_STATUS_TYPE_CODE], [PAYMENT_RECEIVED_DATE], [PAYMENT_AMOUNT_PRE_TAX], [PAYMENT_AMOUNT_PST], [PAYMENT_AMOUNT_GST], [PAYMENT_AMOUNT_TOTAL], [NOTE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_LEASE_PAYMENT_H_ID_SEQ]) as [_LEASE_PAYMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_INSPYT_I_S_U_TR] ON PIMS_INSURANCE_TYPE INSTEAD OF UPDATE AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.INSURANCE_TYPE_CODE = deleted.INSURANCE_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_DOCUMENT_ID = deleted.LEASE_DOCUMENT_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_INSURANCE_TYPE - set "INSURANCE_TYPE_CODE" = inserted."INSURANCE_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", + update PIMS_LEASE_DOCUMENT + set "LEASE_DOCUMENT_ID" = inserted."LEASE_DOCUMENT_ID", + "LEASE_ID" = inserted."LEASE_ID", + "DOCUMENT_ID" = inserted."DOCUMENT_ID", "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_INSURANCE_TYPE + from PIMS_LEASE_DOCUMENT inner join inserted - on (PIMS_INSURANCE_TYPE.INSURANCE_TYPE_CODE = inserted.INSURANCE_TYPE_CODE); - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_PRPTNR_I_S_I_TR] ON PIMS_PROPERTY_TENURE_TYPE INSTEAD OF INSERT AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) - RETURN; - - - insert into PIMS_PROPERTY_TENURE_TYPE ("PROPERTY_TENURE_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "PROPERTY_TENURE_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" - from inserted; + on (PIMS_LEASE_DOCUMENT.LEASE_DOCUMENT_ID = inserted.LEASE_DOCUMENT_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO CREATE TRIGGER [dbo].[PIMS_LSCATT_I_S_I_TR] ON PIMS_LEASE_CATEGORY_TYPE INSTEAD OF INSERT AS @@ -16811,95 +17059,187 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRPSTS_I_S_U_TR] ON PIMS_PROPERTY_STATUS_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_LINITT_I_S_U_TR] ON PIMS_LEASE_INITIATOR_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_STATUS_TYPE_CODE = deleted.PROPERTY_STATUS_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_INITIATOR_TYPE_CODE = deleted.LEASE_INITIATOR_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_PROPERTY_STATUS_TYPE - set "PROPERTY_STATUS_TYPE_CODE" = inserted."PROPERTY_STATUS_TYPE_CODE", + update PIMS_LEASE_INITIATOR_TYPE + set "LEASE_INITIATOR_TYPE_CODE" = inserted."LEASE_INITIATOR_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROPERTY_STATUS_TYPE + from PIMS_LEASE_INITIATOR_TYPE inner join inserted - on (PIMS_PROPERTY_STATUS_TYPE.PROPERTY_STATUS_TYPE_CODE = inserted.PROPERTY_STATUS_TYPE_CODE); + on (PIMS_LEASE_INITIATOR_TYPE.LEASE_INITIATOR_TYPE_CODE = inserted.LEASE_INITIATOR_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LESCON_I_S_I_TR] ON PIMS_LEASE_CONSULTATION INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_CONSULTATION ("LEASE_CONSULTATION_ID", + "LEASE_ID", + "CONSULTATION_TYPE_CODE", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USER_DIRECTORY", + "APP_CREATE_USER_GUID", + "APP_CREATE_USERID", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID", + "CONCURRENCY_CONTROL_NUMBER", + "IS_DISABLED") + select "LEASE_CONSULTATION_ID", + "LEASE_ID", + "CONSULTATION_TYPE_CODE", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USER_DIRECTORY", + "APP_CREATE_USER_GUID", + "APP_CREATE_USERID", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID", + "CONCURRENCY_CONTROL_NUMBER", + "IS_DISABLED" + from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_LNSRVT_I_S_U_TR] ON PIMS_LAND_SURVEYOR_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_LELIST_I_S_U_TR] ON PIMS_LEASE_LICENSE_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LAND_SURVEYOR_TYPE_CODE = deleted.LAND_SURVEYOR_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_LICENSE_TYPE_CODE = deleted.LEASE_LICENSE_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_LAND_SURVEYOR_TYPE - set "LAND_SURVEYOR_TYPE_CODE" = inserted."LAND_SURVEYOR_TYPE_CODE", + update PIMS_LEASE_LICENSE_TYPE + set "LEASE_LICENSE_TYPE_CODE" = inserted."LEASE_LICENSE_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_LAND_SURVEYOR_TYPE + from PIMS_LEASE_LICENSE_TYPE inner join inserted - on (PIMS_LAND_SURVEYOR_TYPE.LAND_SURVEYOR_TYPE_CODE = inserted.LAND_SURVEYOR_TYPE_CODE); + on (PIMS_LEASE_LICENSE_TYPE.LEASE_LICENSE_TYPE_CODE = inserted.LEASE_LICENSE_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_LSTERM_A_S_IUD_TR] ON PIMS_LEASE_TERM FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_LESDOC_I_S_I_TR] ON PIMS_LEASE_DOCUMENT INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM inserted) RETURN; - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_LEASE_TERM_HIST set END_DATE_HIST = @curr_date where LEASE_TERM_ID in (select LEASE_TERM_ID from deleted) and END_DATE_HIST is null; - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_LEASE_TERM_HIST ([LEASE_TERM_ID], [LEASE_ID], [LEASE_TERM_STATUS_TYPE_CODE], [LEASE_PMT_FREQ_TYPE_CODE], [TERM_START_DATE], [TERM_EXPIRY_DATE], [TERM_RENEWAL_DATE], [PAYMENT AMOUNT], [PAYMENT_DUE_DATE], [PAYMENT_NOTE], [IS_GST_ELIGIBLE], [GST_AMOUNT], [IS_TERM_EXERCISED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _LEASE_TERM_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [LEASE_TERM_ID], [LEASE_ID], [LEASE_TERM_STATUS_TYPE_CODE], [LEASE_PMT_FREQ_TYPE_CODE], [TERM_START_DATE], [TERM_EXPIRY_DATE], [TERM_RENEWAL_DATE], [PAYMENT AMOUNT], [PAYMENT_DUE_DATE], [PAYMENT_NOTE], [IS_GST_ELIGIBLE], [GST_AMOUNT], [IS_TERM_EXERCISED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_LEASE_TERM_H_ID_SEQ]) as [_LEASE_TERM_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_LEASE_DOCUMENT ("LEASE_DOCUMENT_ID", + "LEASE_ID", + "DOCUMENT_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "LEASE_DOCUMENT_ID", + "LEASE_ID", + "DOCUMENT_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LESNOT_I_S_U_TR] ON PIMS_LEASE_NOTE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_NOTE_ID = deleted.LEASE_NOTE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_NOTE + set "LEASE_NOTE_ID" = inserted."LEASE_NOTE_ID", + "LEASE_ID" = inserted."LEASE_ID", + "NOTE_ID" = inserted."NOTE_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_NOTE + inner join inserted + on (PIMS_LEASE_NOTE.LEASE_NOTE_ID = inserted.LEASE_NOTE_ID); +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO CREATE TRIGGER [dbo].[PIMS_LINITT_I_S_I_TR] ON PIMS_LEASE_INITIATOR_TYPE INSTEAD OF INSERT AS @@ -16926,22 +17266,52 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSPRTY_I_S_U_TR] ON PIMS_LEASE_PAY_RVBL_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_PAY_RVBL_TYPE_CODE = deleted.LEASE_PAY_RVBL_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_PAY_RVBL_TYPE + set "LEASE_PAY_RVBL_TYPE_CODE" = inserted."LEASE_PAY_RVBL_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_PAY_RVBL_TYPE + inner join inserted + on (PIMS_LEASE_PAY_RVBL_TYPE.LEASE_PAY_RVBL_TYPE_CODE = inserted.LEASE_PAY_RVBL_TYPE_CODE); +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_PRPTYP_I_S_I_TR] ON PIMS_PROPERTY_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_LELIST_I_S_I_TR] ON PIMS_LEASE_LICENSE_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_PROPERTY_TYPE ("PROPERTY_TYPE_CODE", + insert into PIMS_LEASE_LICENSE_TYPE ("LEASE_LICENSE_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER") - select "PROPERTY_TYPE_CODE", + select "LEASE_LICENSE_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", @@ -16953,100 +17323,31 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_LEASE_I_S_U_TR] ON PIMS_LEASE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_LSPYMT_I_S_U_TR] ON PIMS_LEASE_PAYMENT INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_ID = deleted.LEASE_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_PAYMENT_ID = deleted.LEASE_PAYMENT_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_LEASE - set "LEASE_ID" = inserted."LEASE_ID", - "LEASE_PAY_RVBL_TYPE_CODE" = inserted."LEASE_PAY_RVBL_TYPE_CODE", - "LEASE_LICENSE_TYPE_CODE" = inserted."LEASE_LICENSE_TYPE_CODE", - "LEASE_CATEGORY_TYPE_CODE" = inserted."LEASE_CATEGORY_TYPE_CODE", - "LEASE_PURPOSE_TYPE_CODE" = inserted."LEASE_PURPOSE_TYPE_CODE", - "LEASE_PROGRAM_TYPE_CODE" = inserted."LEASE_PROGRAM_TYPE_CODE", - "LEASE_INITIATOR_TYPE_CODE" = inserted."LEASE_INITIATOR_TYPE_CODE", - "LEASE_RESPONSIBILITY_TYPE_CODE" = inserted."LEASE_RESPONSIBILITY_TYPE_CODE", - "LEASE_STATUS_TYPE_CODE" = inserted."LEASE_STATUS_TYPE_CODE", - "REGION_CODE" = inserted."REGION_CODE", - "L_FILE_NO" = inserted."L_FILE_NO", - "TFA_FILE_NO" = inserted."TFA_FILE_NO", - "TFA_FILE_NUMBER" = inserted."TFA_FILE_NUMBER", - "PS_FILE_NO" = inserted."PS_FILE_NO", - "LEASE_DESCRIPTION" = inserted."LEASE_DESCRIPTION", - "LEASE_CATEGORY_OTHER_DESC" = inserted."LEASE_CATEGORY_OTHER_DESC", - "LEASE_PURPOSE_OTHER_DESC" = inserted."LEASE_PURPOSE_OTHER_DESC", - "LEASE_NOTES" = inserted."LEASE_NOTES", - "MOTI_CONTACT" = inserted."MOTI_CONTACT", - "DOCUMENTATION_REFERENCE" = inserted."DOCUMENTATION_REFERENCE", - "RETURN_NOTES" = inserted."RETURN_NOTES", - "OTHER_LEASE_PROGRAM_TYPE" = inserted."OTHER_LEASE_PROGRAM_TYPE", - "OTHER_LEASE_LICENSE_TYPE" = inserted."OTHER_LEASE_LICENSE_TYPE", - "OTHER_LEASE_PURPOSE_TYPE" = inserted."OTHER_LEASE_PURPOSE_TYPE", - "ORIG_START_DATE" = inserted."ORIG_START_DATE", - "ORIG_EXPIRY_DATE" = inserted."ORIG_EXPIRY_DATE", - "LEASE_AMOUNT" = inserted."LEASE_AMOUNT", - "RESPONSIBILITY_EFFECTIVE_DATE" = inserted."RESPONSIBILITY_EFFECTIVE_DATE", - "INSPECTION_DATE" = inserted."INSPECTION_DATE", - "INSPECTION_NOTES" = inserted."INSPECTION_NOTES", - "IS_SUBJECT_TO_RTA" = inserted."IS_SUBJECT_TO_RTA", - "IS_COMM_BLDG" = inserted."IS_COMM_BLDG", - "IS_OTHER_IMPROVEMENT" = inserted."IS_OTHER_IMPROVEMENT", - "IS_EXPIRED" = inserted."IS_EXPIRED", - "HAS_PHYSICAL_FILE" = inserted."HAS_PHYSICAL_FILE", - "HAS_DIGITAL_FILE" = inserted."HAS_DIGITAL_FILE", - "HAS_PHYSICIAL_LICENSE" = inserted."HAS_PHYSICIAL_LICENSE", - "HAS_DIGITAL_LICENSE" = inserted."HAS_DIGITAL_LICENSE", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_LEASE - inner join inserted - on (PIMS_LEASE.LEASE_ID = inserted.LEASE_ID); - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_PRPTAX_I_S_U_TR] ON PIMS_PROPERTY_TAX INSTEAD OF UPDATE AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_TAX_ID = deleted.PROPERTY_TAX_ID) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_PROPERTY_TAX - set "PROPERTY_TAX_ID" = inserted."PROPERTY_TAX_ID", - "PROPERTY_ID" = inserted."PROPERTY_ID", - "PROPERTY_TAX_REMIT_TYPE_CODE" = inserted."PROPERTY_TAX_REMIT_TYPE_CODE", - "TAX_FOLIO_NO" = inserted."TAX_FOLIO_NO", - "PAYMENT_AMOUNT" = inserted."PAYMENT_AMOUNT", - "LAST_PAYMENT_DATE" = inserted."LAST_PAYMENT_DATE", - "PAYMENT_NOTES" = inserted."PAYMENT_NOTES", - "BCTFA_NOTIFICATION_DATE" = inserted."BCTFA_NOTIFICATION_DATE", + update PIMS_LEASE_PAYMENT + set "LEASE_PAYMENT_ID" = inserted."LEASE_PAYMENT_ID", + "LEASE_TERM_ID" = inserted."LEASE_TERM_ID", + "LEASE_PAYMENT_METHOD_TYPE_CODE" = inserted."LEASE_PAYMENT_METHOD_TYPE_CODE", + "LEASE_PAYMENT_STATUS_TYPE_CODE" = inserted."LEASE_PAYMENT_STATUS_TYPE_CODE", + "PAYMENT_RECEIVED_DATE" = inserted."PAYMENT_RECEIVED_DATE", + "PAYMENT_AMOUNT_PRE_TAX" = inserted."PAYMENT_AMOUNT_PRE_TAX", + "PAYMENT_AMOUNT_PST" = inserted."PAYMENT_AMOUNT_PST", + "PAYMENT_AMOUNT_GST" = inserted."PAYMENT_AMOUNT_GST", + "PAYMENT_AMOUNT_TOTAL" = inserted."PAYMENT_AMOUNT_TOTAL", + "NOTE" = inserted."NOTE", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", @@ -17054,35 +17355,50 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROPERTY_TAX + from PIMS_LEASE_PAYMENT inner join inserted - on (PIMS_PROPERTY_TAX.PROPERTY_TAX_ID = inserted.PROPERTY_TAX_ID); + on (PIMS_LEASE_PAYMENT.LEASE_PAYMENT_ID = inserted.LEASE_PAYMENT_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_LELIST_I_S_I_TR] ON PIMS_LEASE_LICENSE_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_LESNOT_I_S_I_TR] ON PIMS_LEASE_NOTE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_LEASE_LICENSE_TYPE ("LEASE_LICENSE_TYPE_CODE", - "DESCRIPTION", + insert into PIMS_LEASE_NOTE ("LEASE_NOTE_ID", + "LEASE_ID", + "NOTE_ID", "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "LEASE_LICENSE_TYPE_CODE", - "DESCRIPTION", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "LEASE_NOTE_ID", + "LEASE_ID", + "NOTE_ID", "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" from inserted; END TRY @@ -17090,97 +17406,37 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_NOTE_A_S_IUD_TR] ON PIMS_NOTE FOR INSERT, UPDATE, DELETE AS -SET NOCOUNT ON -BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_NOTE_HIST set END_DATE_HIST = @curr_date where NOTE_ID in (select NOTE_ID from deleted) and END_DATE_HIST is null; - - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_NOTE_HIST ([NOTE_ID], [NOTE_TXT], [IS_SYSTEM_GENERATED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _NOTE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [NOTE_ID], [NOTE_TXT], [IS_SYSTEM_GENERATED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_NOTE_H_ID_SEQ]) as [_NOTE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_LSACIN_I_S_U_TR] ON PIMS_LEASE_ACTIVITY_INSTANCE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_LSPMMT_I_S_U_TR] ON PIMS_LEASE_PAYMENT_METHOD_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_ACTIVITY_INSTANCE_ID = deleted.LEASE_ACTIVITY_INSTANCE_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_PAYMENT_METHOD_TYPE_CODE = deleted.LEASE_PAYMENT_METHOD_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_LEASE_ACTIVITY_INSTANCE - set "LEASE_ACTIVITY_INSTANCE_ID" = inserted."LEASE_ACTIVITY_INSTANCE_ID", - "ACTIVITY_INSTANCE_ID" = inserted."ACTIVITY_INSTANCE_ID", - "LEASE_ID" = inserted."LEASE_ID", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + update PIMS_LEASE_PAYMENT_METHOD_TYPE + set "LEASE_PAYMENT_METHOD_TYPE_CODE" = inserted."LEASE_PAYMENT_METHOD_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_LEASE_ACTIVITY_INSTANCE + from PIMS_LEASE_PAYMENT_METHOD_TYPE inner join inserted - on (PIMS_LEASE_ACTIVITY_INSTANCE.LEASE_ACTIVITY_INSTANCE_ID = inserted.LEASE_ACTIVITY_INSTANCE_ID); - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_PROVNC_I_S_I_TR] ON PIMS_PROVINCE_STATE INSTEAD OF INSERT AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) - RETURN; - - - insert into PIMS_PROVINCE_STATE ("PROVINCE_STATE_ID", - "COUNTRY_ID", - "PROVINCE_STATE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "PROVINCE_STATE_ID", - "COUNTRY_ID", - "PROVINCE_STATE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" - from inserted; + on (PIMS_LEASE_PAYMENT_METHOD_TYPE.LEASE_PAYMENT_METHOD_TYPE_CODE = inserted.LEASE_PAYMENT_METHOD_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO CREATE TRIGGER [dbo].[PIMS_LSPRTY_I_S_I_TR] ON PIMS_LEASE_PAY_RVBL_TYPE INSTEAD OF INSERT AS @@ -17207,95 +17463,37 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_PTRMTT_I_S_U_TR] ON PIMS_PROPERTY_TAX_REMIT_TYPE INSTEAD OF UPDATE AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_TAX_REMIT_TYPE_CODE = deleted.PROPERTY_TAX_REMIT_TYPE_CODE) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_PROPERTY_TAX_REMIT_TYPE - set "PROPERTY_TAX_REMIT_TYPE_CODE" = inserted."PROPERTY_TAX_REMIT_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROPERTY_TAX_REMIT_TYPE - inner join inserted - on (PIMS_PROPERTY_TAX_REMIT_TYPE.PROPERTY_TAX_REMIT_TYPE_CODE = inserted.PROPERTY_TAX_REMIT_TYPE_CODE); - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_LSCATT_I_S_U_TR] ON PIMS_LEASE_CATEGORY_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_LPSTST_I_S_U_TR] ON PIMS_LEASE_PAYMENT_STATUS_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_CATEGORY_TYPE_CODE = deleted.LEASE_CATEGORY_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_PAYMENT_STATUS_TYPE_CODE = deleted.LEASE_PAYMENT_STATUS_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_LEASE_CATEGORY_TYPE - set "LEASE_CATEGORY_TYPE_CODE" = inserted."LEASE_CATEGORY_TYPE_CODE", + update PIMS_LEASE_PAYMENT_STATUS_TYPE + set "LEASE_PAYMENT_STATUS_TYPE_CODE" = inserted."LEASE_PAYMENT_STATUS_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_LEASE_CATEGORY_TYPE + from PIMS_LEASE_PAYMENT_STATUS_TYPE inner join inserted - on (PIMS_LEASE_CATEGORY_TYPE.LEASE_CATEGORY_TYPE_CODE = inserted.LEASE_CATEGORY_TYPE_CODE); - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_ORG_A_S_IUD_TR] ON PIMS_ORGANIZATION FOR INSERT, UPDATE, DELETE AS -SET NOCOUNT ON -BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_ORGANIZATION_HIST set END_DATE_HIST = @curr_date where ORGANIZATION_ID in (select ORGANIZATION_ID from deleted) and END_DATE_HIST is null; - - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_ORGANIZATION_HIST ([ORGANIZATION_ID], [PRNT_ORGANIZATION_ID], [REGION_CODE], [DISTRICT_CODE], [ORGANIZATION_TYPE_CODE], [ORG_IDENTIFIER_TYPE_CODE], [ORGANIZATION_IDENTIFIER], [ORGANIZATION_NAME], [ORGANIZATION_ALIAS], [INCORPORATION_NUMBER], [WEBSITE], [COMMENT], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ORGANIZATION_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ORGANIZATION_ID], [PRNT_ORGANIZATION_ID], [REGION_CODE], [DISTRICT_CODE], [ORGANIZATION_TYPE_CODE], [ORG_IDENTIFIER_TYPE_CODE], [ORGANIZATION_IDENTIFIER], [ORGANIZATION_NAME], [ORGANIZATION_ALIAS], [INCORPORATION_NUMBER], [WEBSITE], [COMMENT], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ORGANIZATION_H_ID_SEQ]) as [_ORGANIZATION_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + on (PIMS_LEASE_PAYMENT_STATUS_TYPE.LEASE_PAYMENT_STATUS_TYPE_CODE = inserted.LEASE_PAYMENT_STATUS_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO CREATE TRIGGER [dbo].[PIMS_LSPYMT_I_S_I_TR] ON PIMS_LEASE_PAYMENT INSTEAD OF INSERT AS @@ -17350,113 +17548,109 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_REGION_I_S_I_TR] ON PIMS_REGION INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_LSPMTF_I_S_U_TR] ON PIMS_LEASE_PMT_FREQ_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) - RETURN; - - - insert into PIMS_REGION ("REGION_CODE", - "REGION_NAME", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "REGION_CODE", - "REGION_NAME", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" - from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_LINITT_I_S_U_TR] ON PIMS_LEASE_INITIATOR_TYPE INSTEAD OF UPDATE AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_INITIATOR_TYPE_CODE = deleted.LEASE_INITIATOR_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_PMT_FREQ_TYPE_CODE = deleted.LEASE_PMT_FREQ_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_LEASE_INITIATOR_TYPE - set "LEASE_INITIATOR_TYPE_CODE" = inserted."LEASE_INITIATOR_TYPE_CODE", + update PIMS_LEASE_PMT_FREQ_TYPE + set "LEASE_PMT_FREQ_TYPE_CODE" = inserted."LEASE_PMT_FREQ_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_LEASE_INITIATOR_TYPE + from PIMS_LEASE_PMT_FREQ_TYPE inner join inserted - on (PIMS_LEASE_INITIATOR_TYPE.LEASE_INITIATOR_TYPE_CODE = inserted.LEASE_INITIATOR_TYPE_CODE); + on (PIMS_LEASE_PMT_FREQ_TYPE.LEASE_PMT_FREQ_TYPE_CODE = inserted.LEASE_PMT_FREQ_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSPMMT_I_S_I_TR] ON PIMS_LEASE_PAYMENT_METHOD_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_PAYMENT_METHOD_TYPE ("LEASE_PAYMENT_METHOD_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "LEASE_PAYMENT_METHOD_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_PRPTNR_I_S_U_TR] ON PIMS_PROPERTY_TENURE_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_LSPRGT_I_S_U_TR] ON PIMS_LEASE_PROGRAM_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_TENURE_TYPE_CODE = deleted.PROPERTY_TENURE_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_PROGRAM_TYPE_CODE = deleted.LEASE_PROGRAM_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_PROPERTY_TENURE_TYPE - set "PROPERTY_TENURE_TYPE_CODE" = inserted."PROPERTY_TENURE_TYPE_CODE", + update PIMS_LEASE_PROGRAM_TYPE + set "LEASE_PROGRAM_TYPE_CODE" = inserted."LEASE_PROGRAM_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROPERTY_TENURE_TYPE + from PIMS_LEASE_PROGRAM_TYPE inner join inserted - on (PIMS_PROPERTY_TENURE_TYPE.PROPERTY_TENURE_TYPE_CODE = inserted.PROPERTY_TENURE_TYPE_CODE); + on (PIMS_LEASE_PROGRAM_TYPE.LEASE_PROGRAM_TYPE_CODE = inserted.LEASE_PROGRAM_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_LSPMMT_I_S_I_TR] ON PIMS_LEASE_PAYMENT_METHOD_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_LPSTST_I_S_I_TR] ON PIMS_LEASE_PAYMENT_STATUS_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_LEASE_PAYMENT_METHOD_TYPE ("LEASE_PAYMENT_METHOD_TYPE_CODE", + insert into PIMS_LEASE_PAYMENT_STATUS_TYPE ("LEASE_PAYMENT_STATUS_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER") - select "LEASE_PAYMENT_METHOD_TYPE_CODE", + select "LEASE_PAYMENT_STATUS_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", @@ -17468,121 +17662,52 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_ORGADD_A_S_IUD_TR] ON PIMS_ORGANIZATION_ADDRESS FOR INSERT, UPDATE, DELETE AS -SET NOCOUNT ON -BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_ORGANIZATION_ADDRESS_HIST set END_DATE_HIST = @curr_date where ORGANIZATION_ADDRESS_ID in (select ORGANIZATION_ADDRESS_ID from deleted) and END_DATE_HIST is null; - - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_ORGANIZATION_ADDRESS_HIST ([ORGANIZATION_ADDRESS_ID], [ORGANIZATION_ID], [ADDRESS_ID], [ADDRESS_USAGE_TYPE_CODE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ORGANIZATION_ADDRESS_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ORGANIZATION_ADDRESS_ID], [ORGANIZATION_ID], [ADDRESS_ID], [ADDRESS_USAGE_TYPE_CODE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ORGANIZATION_ADDRESS_H_ID_SEQ]) as [_ORGANIZATION_ADDRESS_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_LELIST_I_S_U_TR] ON PIMS_LEASE_LICENSE_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_LPRPTY_I_S_U_TR] ON PIMS_LEASE_PURPOSE_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_LICENSE_TYPE_CODE = deleted.LEASE_LICENSE_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_PURPOSE_TYPE_CODE = deleted.LEASE_PURPOSE_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_LEASE_LICENSE_TYPE - set "LEASE_LICENSE_TYPE_CODE" = inserted."LEASE_LICENSE_TYPE_CODE", + update PIMS_LEASE_PURPOSE_TYPE + set "LEASE_PURPOSE_TYPE_CODE" = inserted."LEASE_PURPOSE_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_LEASE_LICENSE_TYPE + from PIMS_LEASE_PURPOSE_TYPE inner join inserted - on (PIMS_LEASE_LICENSE_TYPE.LEASE_LICENSE_TYPE_CODE = inserted.LEASE_LICENSE_TYPE_CODE); - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_RGNUSR_I_S_I_TR] ON PIMS_REGION_USER INSTEAD OF INSERT AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) - RETURN; - - - insert into PIMS_REGION_USER ("REGION_USER_ID", - "REGION_CODE", - "USER_ID", - "IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY") - select "REGION_USER_ID", - "REGION_CODE", - "USER_ID", - "IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" - from inserted; + on (PIMS_LEASE_PURPOSE_TYPE.LEASE_PURPOSE_TYPE_CODE = inserted.LEASE_PURPOSE_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_LPSTST_I_S_I_TR] ON PIMS_LEASE_PAYMENT_STATUS_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_LSPMTF_I_S_I_TR] ON PIMS_LEASE_PMT_FREQ_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_LEASE_PAYMENT_STATUS_TYPE ("LEASE_PAYMENT_STATUS_TYPE_CODE", + insert into PIMS_LEASE_PMT_FREQ_TYPE ("LEASE_PMT_FREQ_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER") - select "LEASE_PAYMENT_STATUS_TYPE_CODE", + select "LEASE_PMT_FREQ_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", @@ -17594,110 +17719,109 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRPTYP_I_S_U_TR] ON PIMS_PROPERTY_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_LRESPT_I_S_U_TR] ON PIMS_LEASE_RESPONSIBILITY_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_TYPE_CODE = deleted.PROPERTY_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_RESPONSIBILITY_TYPE_CODE = deleted.LEASE_RESPONSIBILITY_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_PROPERTY_TYPE - set "PROPERTY_TYPE_CODE" = inserted."PROPERTY_TYPE_CODE", + update PIMS_LEASE_RESPONSIBILITY_TYPE + set "LEASE_RESPONSIBILITY_TYPE_CODE" = inserted."LEASE_RESPONSIBILITY_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROPERTY_TYPE + from PIMS_LEASE_RESPONSIBILITY_TYPE inner join inserted - on (PIMS_PROPERTY_TYPE.PROPERTY_TYPE_CODE = inserted.PROPERTY_TYPE_CODE); + on (PIMS_LEASE_RESPONSIBILITY_TYPE.LEASE_RESPONSIBILITY_TYPE_CODE = inserted.LEASE_RESPONSIBILITY_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSPRGT_I_S_I_TR] ON PIMS_LEASE_PROGRAM_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_PROGRAM_TYPE ("LEASE_PROGRAM_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "LEASE_PROGRAM_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_LSPRTY_I_S_U_TR] ON PIMS_LEASE_PAY_RVBL_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_LSSTYP_I_S_U_TR] ON PIMS_LEASE_STATUS_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_PAY_RVBL_TYPE_CODE = deleted.LEASE_PAY_RVBL_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_STATUS_TYPE_CODE = deleted.LEASE_STATUS_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_LEASE_PAY_RVBL_TYPE - set "LEASE_PAY_RVBL_TYPE_CODE" = inserted."LEASE_PAY_RVBL_TYPE_CODE", + update PIMS_LEASE_STATUS_TYPE + set "LEASE_STATUS_TYPE_CODE" = inserted."LEASE_STATUS_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_LEASE_PAY_RVBL_TYPE + from PIMS_LEASE_STATUS_TYPE inner join inserted - on (PIMS_LEASE_PAY_RVBL_TYPE.LEASE_PAY_RVBL_TYPE_CODE = inserted.LEASE_PAY_RVBL_TYPE_CODE); - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_PERADD_A_S_IUD_TR] ON PIMS_PERSON_ADDRESS FOR INSERT, UPDATE, DELETE AS -SET NOCOUNT ON -BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_PERSON_ADDRESS_HIST set END_DATE_HIST = @curr_date where PERSON_ADDRESS_ID in (select PERSON_ADDRESS_ID from deleted) and END_DATE_HIST is null; - - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_PERSON_ADDRESS_HIST ([PERSON_ADDRESS_ID], [PERSON_ID], [ADDRESS_ID], [ADDRESS_USAGE_TYPE_CODE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PERSON_ADDRESS_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [PERSON_ADDRESS_ID], [PERSON_ID], [ADDRESS_ID], [ADDRESS_USAGE_TYPE_CODE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PERSON_ADDRESS_H_ID_SEQ]) as [_PERSON_ADDRESS_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + on (PIMS_LEASE_STATUS_TYPE.LEASE_STATUS_TYPE_CODE = inserted.LEASE_STATUS_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_LSPMTF_I_S_I_TR] ON PIMS_LEASE_PMT_FREQ_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_LPRPTY_I_S_I_TR] ON PIMS_LEASE_PURPOSE_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_LEASE_PMT_FREQ_TYPE ("LEASE_PMT_FREQ_TYPE_CODE", + insert into PIMS_LEASE_PURPOSE_TYPE ("LEASE_PURPOSE_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER") - select "LEASE_PMT_FREQ_TYPE_CODE", + select "LEASE_PURPOSE_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", @@ -17709,22 +17833,60 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_RQSRCT_I_S_I_TR] ON PIMS_REQUEST_SOURCE_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_TENANT_I_S_U_TR] ON PIMS_LEASE_TENANT INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) + IF NOT EXISTS(SELECT * FROM deleted) RETURN; - - insert into PIMS_REQUEST_SOURCE_TYPE ("REQUEST_SOURCE_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_TENANT_ID = deleted.LEASE_TENANT_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_TENANT + set "LEASE_TENANT_ID" = inserted."LEASE_TENANT_ID", + "LEASE_ID" = inserted."LEASE_ID", + "PERSON_ID" = inserted."PERSON_ID", + "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", + "PRIMARY_CONTACT_ID" = inserted."PRIMARY_CONTACT_ID", + "LESSOR_TYPE_CODE" = inserted."LESSOR_TYPE_CODE", + "TENANT_TYPE_CODE" = inserted."TENANT_TYPE_CODE", + "NOTE" = inserted."NOTE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_TENANT + inner join inserted + on (PIMS_LEASE_TENANT.LEASE_TENANT_ID = inserted.LEASE_TENANT_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LRESPT_I_S_I_TR] ON PIMS_LEASE_RESPONSIBILITY_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_RESPONSIBILITY_TYPE ("LEASE_RESPONSIBILITY_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER") - select "REQUEST_SOURCE_TYPE_CODE", + select "LEASE_RESPONSIBILITY_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", @@ -17736,32 +17898,34 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_LSPYMT_I_S_U_TR] ON PIMS_LEASE_PAYMENT INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_LSTERM_I_S_U_TR] ON PIMS_LEASE_TERM INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_PAYMENT_ID = deleted.LEASE_PAYMENT_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_TERM_ID = deleted.LEASE_TERM_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_LEASE_PAYMENT - set "LEASE_PAYMENT_ID" = inserted."LEASE_PAYMENT_ID", - "LEASE_TERM_ID" = inserted."LEASE_TERM_ID", - "LEASE_PAYMENT_METHOD_TYPE_CODE" = inserted."LEASE_PAYMENT_METHOD_TYPE_CODE", - "LEASE_PAYMENT_STATUS_TYPE_CODE" = inserted."LEASE_PAYMENT_STATUS_TYPE_CODE", - "PAYMENT_RECEIVED_DATE" = inserted."PAYMENT_RECEIVED_DATE", - "PAYMENT_AMOUNT_PRE_TAX" = inserted."PAYMENT_AMOUNT_PRE_TAX", - "PAYMENT_AMOUNT_PST" = inserted."PAYMENT_AMOUNT_PST", - "PAYMENT_AMOUNT_GST" = inserted."PAYMENT_AMOUNT_GST", - "PAYMENT_AMOUNT_TOTAL" = inserted."PAYMENT_AMOUNT_TOTAL", - "NOTE" = inserted."NOTE", + update PIMS_LEASE_TERM + set "LEASE_TERM_ID" = inserted."LEASE_TERM_ID", + "LEASE_ID" = inserted."LEASE_ID", + "LEASE_TERM_STATUS_TYPE_CODE" = inserted."LEASE_TERM_STATUS_TYPE_CODE", + "LEASE_PMT_FREQ_TYPE_CODE" = inserted."LEASE_PMT_FREQ_TYPE_CODE", + "TERM_START_DATE" = inserted."TERM_START_DATE", + "TERM_EXPIRY_DATE" = inserted."TERM_EXPIRY_DATE", + "TERM_RENEWAL_DATE" = inserted."TERM_RENEWAL_DATE", + "PAYMENT AMOUNT" = inserted."PAYMENT AMOUNT", + "PAYMENT_DUE_DATE" = inserted."PAYMENT_DUE_DATE", + "PAYMENT_NOTE" = inserted."PAYMENT_NOTE", + "IS_GST_ELIGIBLE" = inserted."IS_GST_ELIGIBLE", + "GST_AMOUNT" = inserted."GST_AMOUNT", + "IS_TERM_EXERCISED" = inserted."IS_TERM_EXERCISED", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", @@ -17769,65 +17933,53 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_LEASE_PAYMENT + from PIMS_LEASE_TERM inner join inserted - on (PIMS_LEASE_PAYMENT.LEASE_PAYMENT_ID = inserted.LEASE_PAYMENT_ID); + on (PIMS_LEASE_TERM.LEASE_TERM_ID = inserted.LEASE_TERM_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PROVNC_I_S_U_TR] ON PIMS_PROVINCE_STATE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ACQAIN_A_S_IUD_TR] ON PIMS_ACQUISITION_ACTIVITY_INSTANCE FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) RETURN; - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROVINCE_STATE_ID = deleted.PROVINCE_STATE_ID) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_PROVINCE_STATE - set "PROVINCE_STATE_ID" = inserted."PROVINCE_STATE_ID", - "COUNTRY_ID" = inserted."COUNTRY_ID", - "PROVINCE_STATE_CODE" = inserted."PROVINCE_STATE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROVINCE_STATE - inner join inserted - on (PIMS_PROVINCE_STATE.PROVINCE_STATE_ID = inserted.PROVINCE_STATE_ID); + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACQUISITION_ACTIVITY_INSTANCE_HIST set END_DATE_HIST = @curr_date where ACQUISITION_ACTIVITY_INSTANCE_ID in (select ACQUISITION_ACTIVITY_INSTANCE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACQUISITION_ACTIVITY_INSTANCE_HIST ([ACQUISITION_ACTIVITY_INSTANCE_ID], [ACQUISITION_FILE_ID], [ACTIVITY_INSTANCE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USER_DIRECTORY], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACQUISITION_ACTIVITY_INSTANCE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACQUISITION_ACTIVITY_INSTANCE_ID], [ACQUISITION_FILE_ID], [ACTIVITY_INSTANCE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USER_DIRECTORY], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE_H_ID_SEQ]) as [_ACQUISITION_ACTIVITY_INSTANCE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_LSPRGT_I_S_I_TR] ON PIMS_LEASE_PROGRAM_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_LSSTYP_I_S_I_TR] ON PIMS_LEASE_STATUS_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_LEASE_PROGRAM_TYPE ("LEASE_PROGRAM_TYPE_CODE", + insert into PIMS_LEASE_STATUS_TYPE ("LEASE_STATUS_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER") - select "LEASE_PROGRAM_TYPE_CODE", + select "LEASE_STATUS_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", @@ -17839,76 +17991,77 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_PERORG_A_S_IUD_TR] ON PIMS_PERSON_ORGANIZATION FOR INSERT, UPDATE, DELETE AS -SET NOCOUNT ON -BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_PERSON_ORGANIZATION_HIST set END_DATE_HIST = @curr_date where PERSON_ORGANIZATION_ID in (select PERSON_ORGANIZATION_ID from deleted) and END_DATE_HIST is null; - - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_PERSON_ORGANIZATION_HIST ([PERSON_ORGANIZATION_ID], [PERSON_ID], [ORGANIZATION_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PERSON_ORGANIZATION_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [PERSON_ORGANIZATION_ID], [PERSON_ID], [ORGANIZATION_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PERSON_ORGANIZATION_H_ID_SEQ]) as [_PERSON_ORGANIZATION_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_LSPMMT_I_S_U_TR] ON PIMS_LEASE_PAYMENT_METHOD_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_LTRMST_I_S_U_TR] ON PIMS_LEASE_TERM_STATUS_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_PAYMENT_METHOD_TYPE_CODE = deleted.LEASE_PAYMENT_METHOD_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_TERM_STATUS_TYPE_CODE = deleted.LEASE_TERM_STATUS_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_LEASE_PAYMENT_METHOD_TYPE - set "LEASE_PAYMENT_METHOD_TYPE_CODE" = inserted."LEASE_PAYMENT_METHOD_TYPE_CODE", + update PIMS_LEASE_TERM_STATUS_TYPE + set "LEASE_TERM_STATUS_TYPE_CODE" = inserted."LEASE_TERM_STATUS_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_LEASE_PAYMENT_METHOD_TYPE + from PIMS_LEASE_TERM_STATUS_TYPE inner join inserted - on (PIMS_LEASE_PAYMENT_METHOD_TYPE.LEASE_PAYMENT_METHOD_TYPE_CODE = inserted.LEASE_PAYMENT_METHOD_TYPE_CODE); + on (PIMS_LEASE_TERM_STATUS_TYPE.LEASE_TERM_STATUS_TYPE_CODE = inserted.LEASE_TERM_STATUS_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQDOC_A_S_IUD_TR] ON PIMS_ACQUISITION_FILE_DOCUMENT FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACQUISITION_FILE_DOCUMENT_HIST set END_DATE_HIST = @curr_date where ACQUISITION_FILE_DOCUMENT_ID in (select ACQUISITION_FILE_DOCUMENT_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACQUISITION_FILE_DOCUMENT_HIST ([ACQUISITION_FILE_DOCUMENT_ID], [ACQUISITION_FILE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACQUISITION_FILE_DOCUMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACQUISITION_FILE_DOCUMENT_ID], [ACQUISITION_FILE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT_H_ID_SEQ]) as [_ACQUISITION_FILE_DOCUMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_RSCHAI_I_S_I_TR] ON PIMS_RESEARCH_ACTIVITY_INSTANCE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_TENANT_I_S_I_TR] ON PIMS_LEASE_TENANT INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_RESEARCH_ACTIVITY_INSTANCE ("RESEARCH_ACTIVITY_INSTANCE_ID", - "ACTIVITY_INSTANCE_ID", - "RESEARCH_FILE_ID", - "IS_DISABLED", + insert into PIMS_LEASE_TENANT ("LEASE_TENANT_ID", + "LEASE_ID", + "PERSON_ID", + "ORGANIZATION_ID", + "PRIMARY_CONTACT_ID", + "LESSOR_TYPE_CODE", + "TENANT_TYPE_CODE", + "NOTE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -17918,10 +18071,14 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "RESEARCH_ACTIVITY_INSTANCE_ID", - "ACTIVITY_INSTANCE_ID", - "RESEARCH_FILE_ID", - "IS_DISABLED", + select "LEASE_TENANT_ID", + "LEASE_ID", + "PERSON_ID", + "ORGANIZATION_ID", + "PRIMARY_CONTACT_ID", + "LESSOR_TYPE_CODE", + "TENANT_TYPE_CODE", + "NOTE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -17938,174 +18095,82 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_LPRPTY_I_S_I_TR] ON PIMS_LEASE_PURPOSE_TYPE INSTEAD OF INSERT AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) - RETURN; - - - insert into PIMS_LEASE_PURPOSE_TYPE ("LEASE_PURPOSE_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "LEASE_PURPOSE_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" - from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_REGION_I_S_U_TR] ON PIMS_REGION INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_LSSRTY_I_S_U_TR] ON PIMS_LESSOR_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.REGION_CODE = deleted.REGION_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LESSOR_TYPE_CODE = deleted.LESSOR_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_REGION - set "REGION_CODE" = inserted."REGION_CODE", - "REGION_NAME" = inserted."REGION_NAME", + update PIMS_LESSOR_TYPE + set "LESSOR_TYPE_CODE" = inserted."LESSOR_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_REGION + from PIMS_LESSOR_TYPE inner join inserted - on (PIMS_REGION.REGION_CODE = inserted.REGION_CODE); + on (PIMS_LESSOR_TYPE.LESSOR_TYPE_CODE = inserted.LESSOR_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_LPSTST_I_S_U_TR] ON PIMS_LEASE_PAYMENT_STATUS_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ACQNFL_A_S_IUD_TR] ON PIMS_ACQUISITION_FILE FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_PAYMENT_STATUS_TYPE_CODE = deleted.LEASE_PAYMENT_STATUS_TYPE_CODE) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_LEASE_PAYMENT_STATUS_TYPE - set "LEASE_PAYMENT_STATUS_TYPE_CODE" = inserted."LEASE_PAYMENT_STATUS_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_LEASE_PAYMENT_STATUS_TYPE - inner join inserted - on (PIMS_LEASE_PAYMENT_STATUS_TYPE.LEASE_PAYMENT_STATUS_TYPE_CODE = inserted.LEASE_PAYMENT_STATUS_TYPE_CODE); - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_PERSON_A_S_IUD_TR] ON PIMS_PERSON FOR INSERT, UPDATE, DELETE AS -SET NOCOUNT ON -BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) RETURN; -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_PERSON_HIST set END_DATE_HIST = @curr_date where PERSON_ID in (select PERSON_ID from deleted) and END_DATE_HIST is null; + update PIMS_ACQUISITION_FILE_HIST set END_DATE_HIST = @curr_date where ACQUISITION_FILE_ID in (select ACQUISITION_FILE_ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_PERSON_HIST ([PERSON_ID], [SURNAME], [FIRST_NAME], [MIDDLE_NAMES], [NAME_SUFFIX], [PREFERRED_NAME], [BIRTH_DATE], [COMMENT], [ADDRESS_COMMENT], [USE_ORGANIZATION_ADDRESS], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PERSON_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [PERSON_ID], [SURNAME], [FIRST_NAME], [MIDDLE_NAMES], [NAME_SUFFIX], [PREFERRED_NAME], [BIRTH_DATE], [COMMENT], [ADDRESS_COMMENT], [USE_ORGANIZATION_ADDRESS], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PERSON_H_ID_SEQ]) as [_PERSON_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_LRESPT_I_S_I_TR] ON PIMS_LEASE_RESPONSIBILITY_TYPE INSTEAD OF INSERT AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) - RETURN; - - - insert into PIMS_LEASE_RESPONSIBILITY_TYPE ("LEASE_RESPONSIBILITY_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "LEASE_RESPONSIBILITY_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" - from inserted; + insert into PIMS_ACQUISITION_FILE_HIST ([ACQUISITION_FILE_ID], [PROJECT_ID], [PRODUCT_ID], [ACQUISITION_FILE_STATUS_TYPE_CODE], [ACQUISITION_TYPE_CODE], [ACQUISITION_FUNDING_TYPE_CODE], [ACQ_PHYS_FILE_STATUS_TYPE_CODE], [REGION_CODE], [MINISTRY_PROJECT_NUMBER], [MINISTRY_PROJECT_NAME], [CPS_PRODUCT_CODE], [FILE_NAME], [FILE_NO], [FILE_NUMBER], [LEGACY_FILE_NUMBER], [FUNDING_OTHER], [ASSIGNED_DATE], [DELIVERY_DATE], [PAIMS_ACQUISITION_FILE_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACQUISITION_FILE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACQUISITION_FILE_ID], [PROJECT_ID], [PRODUCT_ID], [ACQUISITION_FILE_STATUS_TYPE_CODE], [ACQUISITION_TYPE_CODE], [ACQUISITION_FUNDING_TYPE_CODE], [ACQ_PHYS_FILE_STATUS_TYPE_CODE], [REGION_CODE], [MINISTRY_PROJECT_NUMBER], [MINISTRY_PROJECT_NAME], [CPS_PRODUCT_CODE], [FILE_NAME], [FILE_NO], [FILE_NUMBER], [LEGACY_FILE_NUMBER], [FUNDING_OTHER], [ASSIGNED_DATE], [DELIVERY_DATE], [PAIMS_ACQUISITION_FILE_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACQUISITION_FILE_H_ID_SEQ]) as [_ACQUISITION_FILE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_RESRCH_I_S_I_TR] ON PIMS_RESEARCH_FILE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_LSTERM_I_S_I_TR] ON PIMS_LEASE_TERM INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_RESEARCH_FILE ("RESEARCH_FILE_ID", - "RESEARCH_FILE_STATUS_TYPE_CODE", - "REQUEST_SOURCE_TYPE_CODE", - "REQUESTOR_NAME", - "REQUESTOR_ORGANIZATION", - "NAME", - "RFILE_NUMBER", - "REQUEST_DATE", - "ROAD_NAME", - "ROAD_ALIAS", - "REQUEST_DESCRIPTION", - "REQUEST_SOURCE_DESCRIPTION", - "RESEARCH_RESULT", - "IS_EXPROPRIATION", - "EXPROPRIATION_NOTES", - "RESEARCH_COMPLETION_DATE", + insert into PIMS_LEASE_TERM ("LEASE_TERM_ID", + "LEASE_ID", + "LEASE_TERM_STATUS_TYPE_CODE", + "LEASE_PMT_FREQ_TYPE_CODE", + "TERM_START_DATE", + "TERM_EXPIRY_DATE", + "TERM_RENEWAL_DATE", + "PAYMENT AMOUNT", + "PAYMENT_DUE_DATE", + "PAYMENT_NOTE", + "IS_GST_ELIGIBLE", + "GST_AMOUNT", + "IS_TERM_EXERCISED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -18115,22 +18180,19 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "RESEARCH_FILE_ID", - "RESEARCH_FILE_STATUS_TYPE_CODE", - "REQUEST_SOURCE_TYPE_CODE", - "REQUESTOR_NAME", - "REQUESTOR_ORGANIZATION", - "NAME", - "RFILE_NUMBER", - "REQUEST_DATE", - "ROAD_NAME", - "ROAD_ALIAS", - "REQUEST_DESCRIPTION", - "REQUEST_SOURCE_DESCRIPTION", - "RESEARCH_RESULT", - "IS_EXPROPRIATION", - "EXPROPRIATION_NOTES", - "RESEARCH_COMPLETION_DATE", + select "LEASE_TERM_ID", + "LEASE_ID", + "LEASE_TERM_STATUS_TYPE_CODE", + "LEASE_PMT_FREQ_TYPE_CODE", + "TERM_START_DATE", + "TERM_EXPIRY_DATE", + "TERM_RENEWAL_DATE", + "PAYMENT AMOUNT", + "PAYMENT_DUE_DATE", + "PAYMENT_NOTE", + "IS_GST_ELIGIBLE", + "GST_AMOUNT", + "IS_TERM_EXERCISED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -18147,90 +18209,75 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_LSPMTF_I_S_U_TR] ON PIMS_LEASE_PMT_FREQ_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_LTRTYP_I_S_U_TR] ON PIMS_LETTER_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_PMT_FREQ_TYPE_CODE = deleted.LEASE_PMT_FREQ_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LETTER_TYPE_CODE = deleted.LETTER_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_LEASE_PMT_FREQ_TYPE - set "LEASE_PMT_FREQ_TYPE_CODE" = inserted."LEASE_PMT_FREQ_TYPE_CODE", + update PIMS_LETTER_TYPE + set "LETTER_TYPE_CODE" = inserted."LETTER_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_LEASE_PMT_FREQ_TYPE + from PIMS_LETTER_TYPE inner join inserted - on (PIMS_LEASE_PMT_FREQ_TYPE.LEASE_PMT_FREQ_TYPE_CODE = inserted.LEASE_PMT_FREQ_TYPE_CODE); + on (PIMS_LETTER_TYPE.LETTER_TYPE_CODE = inserted.LETTER_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_RGNUSR_I_S_U_TR] ON PIMS_REGION_USER INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ACQNOT_A_S_IUD_TR] ON PIMS_ACQUISITION_FILE_NOTE FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) RETURN; - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.REGION_USER_ID = deleted.REGION_USER_ID) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_REGION_USER - set "REGION_USER_ID" = inserted."REGION_USER_ID", - "REGION_CODE" = inserted."REGION_CODE", - "USER_ID" = inserted."USER_ID", - "IS_DISABLED" = inserted."IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_REGION_USER - inner join inserted - on (PIMS_REGION_USER.REGION_USER_ID = inserted.REGION_USER_ID); + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACQUISITION_FILE_NOTE_HIST set END_DATE_HIST = @curr_date where ACQUISITION_FILE_NOTE_ID in (select ACQUISITION_FILE_NOTE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACQUISITION_FILE_NOTE_HIST ([ACQUISITION_FILE_NOTE_ID], [NOTE_ID], [ACQUISITION_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACQUISITION_FILE_NOTE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACQUISITION_FILE_NOTE_ID], [NOTE_ID], [ACQUISITION_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACQUISITION_FILE_NOTE_H_ID_SEQ]) as [_ACQUISITION_FILE_NOTE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_LSSTYP_I_S_I_TR] ON PIMS_LEASE_STATUS_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_LTRMST_I_S_I_TR] ON PIMS_LEASE_TERM_STATUS_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_LEASE_STATUS_TYPE ("LEASE_STATUS_TYPE_CODE", + insert into PIMS_LEASE_TERM_STATUS_TYPE ("LEASE_TERM_STATUS_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER") - select "LEASE_STATUS_TYPE_CODE", + select "LEASE_TERM_STATUS_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", @@ -18242,10 +18289,43 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_NOTE_I_S_U_TR] ON PIMS_NOTE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.NOTE_ID = deleted.NOTE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + -- update statement + update PIMS_NOTE + set "NOTE_ID" = inserted."NOTE_ID", + "NOTE_TXT" = inserted."NOTE_TXT", + "IS_SYSTEM_GENERATED" = inserted."IS_SYSTEM_GENERATED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_NOTE + inner join inserted + on (PIMS_NOTE.NOTE_ID = inserted.NOTE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_PIMPRV_A_S_IUD_TR] ON PIMS_PROPERTY_IMPROVEMENT FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_ACQOWN_A_S_IUD_TR] ON PIMS_ACQUISITION_OWNER FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -18255,85 +18335,116 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_PROPERTY_IMPROVEMENT_HIST set END_DATE_HIST = @curr_date where PROPERTY_IMPROVEMENT_ID in (select PROPERTY_IMPROVEMENT_ID from deleted) and END_DATE_HIST is null; + update PIMS_ACQUISITION_OWNER_HIST set END_DATE_HIST = @curr_date where ACQUISITION_OWNER_ID in (select ACQUISITION_OWNER_ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_PROPERTY_IMPROVEMENT_HIST ([PROPERTY_IMPROVEMENT_ID], [LEASE_ID], [PROPERTY_IMPROVEMENT_TYPE_CODE], [IMPROVEMENT_DESCRIPTION], [STRUCTURE_SIZE], [ADDRESS], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_IMPROVEMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [PROPERTY_IMPROVEMENT_ID], [LEASE_ID], [PROPERTY_IMPROVEMENT_TYPE_CODE], [IMPROVEMENT_DESCRIPTION], [STRUCTURE_SIZE], [ADDRESS], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_IMPROVEMENT_H_ID_SEQ]) as [_PROPERTY_IMPROVEMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_ACQUISITION_OWNER_HIST ([ACQUISITION_OWNER_ID], [ACQUISITION_FILE_ID], [ADDRESS_ID], [LAST_NAME_OR_CORP_NAME_1], [LAST_NAME_OR_CORP_NAME_2], [GIVEN_NAME], [INCORPORATION_NUMBER], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACQUISITION_OWNER_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACQUISITION_OWNER_ID], [ACQUISITION_FILE_ID], [ADDRESS_ID], [LAST_NAME_OR_CORP_NAME_1], [LAST_NAME_OR_CORP_NAME_2], [GIVEN_NAME], [INCORPORATION_NUMBER], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACQUISITION_OWNER_H_ID_SEQ]) as [_ACQUISITION_OWNER_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSSRTY_I_S_I_TR] ON PIMS_LESSOR_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LESSOR_TYPE ("LESSOR_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "LESSOR_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_LSPRGT_I_S_U_TR] ON PIMS_LEASE_PROGRAM_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ORGIDT_I_S_U_TR] ON PIMS_ORG_IDENTIFIER_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_PROGRAM_TYPE_CODE = deleted.LEASE_PROGRAM_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ORG_IDENTIFIER_TYPE_CODE = deleted.ORG_IDENTIFIER_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_LEASE_PROGRAM_TYPE - set "LEASE_PROGRAM_TYPE_CODE" = inserted."LEASE_PROGRAM_TYPE_CODE", + update PIMS_ORG_IDENTIFIER_TYPE + set "ORG_IDENTIFIER_TYPE_CODE" = inserted."ORG_IDENTIFIER_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_LEASE_PROGRAM_TYPE + from PIMS_ORG_IDENTIFIER_TYPE inner join inserted - on (PIMS_LEASE_PROGRAM_TYPE.LEASE_PROGRAM_TYPE_CODE = inserted.LEASE_PROGRAM_TYPE_CODE); + on (PIMS_ORG_IDENTIFIER_TYPE.ORG_IDENTIFIER_TYPE_CODE = inserted.ORG_IDENTIFIER_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQPER_A_S_IUD_TR] ON PIMS_ACQUISITION_FILE_PERSON FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACQUISITION_FILE_PERSON_HIST set END_DATE_HIST = @curr_date where ACQUISITION_FILE_PERSON_ID in (select ACQUISITION_FILE_PERSON_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACQUISITION_FILE_PERSON_HIST ([ACQUISITION_FILE_PERSON_ID], [ACQUISITION_FILE_ID], [PERSON_ID], [ACQ_FL_PERSON_PROFILE_TYPE_CODE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACQUISITION_FILE_PERSON_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACQUISITION_FILE_PERSON_ID], [ACQUISITION_FILE_ID], [PERSON_ID], [ACQ_FL_PERSON_PROFILE_TYPE_CODE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACQUISITION_FILE_PERSON_H_ID_SEQ]) as [_ACQUISITION_FILE_PERSON_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_RSCDOC_I_S_I_TR] ON PIMS_RESEARCH_FILE_DOCUMENT INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_LTRTYP_I_S_I_TR] ON PIMS_LETTER_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_RESEARCH_FILE_DOCUMENT ("RESEARCH_FILE_DOCUMENT_ID", - "RESEARCH_FILE_ID", - "DOCUMENT_ID", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USER_DIRECTORY", - "APP_CREATE_USER_GUID", - "APP_CREATE_USERID", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USER_DIRECTORY", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USERID", - "CONCURRENCY_CONTROL_NUMBER", - "IS_DISABLED") - select "RESEARCH_FILE_DOCUMENT_ID", - "RESEARCH_FILE_ID", - "DOCUMENT_ID", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USER_DIRECTORY", - "APP_CREATE_USER_GUID", - "APP_CREATE_USERID", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USER_DIRECTORY", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USERID", - "CONCURRENCY_CONTROL_NUMBER", - "IS_DISABLED" + insert into PIMS_LETTER_TYPE ("LETTER_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "LETTER_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" from inserted; END TRY @@ -18341,24 +18452,85 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ORG_I_S_U_TR] ON PIMS_ORGANIZATION INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ORGANIZATION_ID = deleted.ORGANIZATION_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ORGANIZATION + set "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", + "PRNT_ORGANIZATION_ID" = inserted."PRNT_ORGANIZATION_ID", + "REGION_CODE" = inserted."REGION_CODE", + "DISTRICT_CODE" = inserted."DISTRICT_CODE", + "ORGANIZATION_TYPE_CODE" = inserted."ORGANIZATION_TYPE_CODE", + "ORG_IDENTIFIER_TYPE_CODE" = inserted."ORG_IDENTIFIER_TYPE_CODE", + "ORGANIZATION_IDENTIFIER" = inserted."ORGANIZATION_IDENTIFIER", + "ORGANIZATION_NAME" = inserted."ORGANIZATION_NAME", + "ORGANIZATION_ALIAS" = inserted."ORGANIZATION_ALIAS", + "INCORPORATION_NUMBER" = inserted."INCORPORATION_NUMBER", + "WEBSITE" = inserted."WEBSITE", + "COMMENT" = inserted."COMMENT", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ORGANIZATION + inner join inserted + on (PIMS_ORGANIZATION.ORGANIZATION_ID = inserted.ORGANIZATION_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACRQOR_A_S_IUD_TR] ON PIMS_ACCESS_REQUEST_ORGANIZATION FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACCESS_REQUEST_ORGANIZATION_HIST set END_DATE_HIST = @curr_date where ACCESS_REQUEST_ORGANIZATION_ID in (select ACCESS_REQUEST_ORGANIZATION_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACCESS_REQUEST_ORGANIZATION_HIST ([ACCESS_REQUEST_ORGANIZATION_ID], [ORGANIZATION_ID], [ACCESS_REQUEST_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACCESS_REQUEST_ORGANIZATION_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACCESS_REQUEST_ORGANIZATION_ID], [ORGANIZATION_ID], [ACCESS_REQUEST_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION_H_ID_SEQ]) as [_ACCESS_REQUEST_ORGANIZATION_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_TENANT_I_S_I_TR] ON PIMS_LEASE_TENANT INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_NOTE_I_S_I_TR] ON PIMS_NOTE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_LEASE_TENANT ("LEASE_TENANT_ID", - "LEASE_ID", - "PERSON_ID", - "ORGANIZATION_ID", - "PRIMARY_CONTACT_ID", - "LESSOR_TYPE_CODE", - "TENANT_TYPE_CODE", - "NOTE", + insert into PIMS_NOTE ("NOTE_ID", + "NOTE_TXT", + "IS_SYSTEM_GENERATED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -18368,14 +18540,9 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "LEASE_TENANT_ID", - "LEASE_ID", - "PERSON_ID", - "ORGANIZATION_ID", - "PRIMARY_CONTACT_ID", - "LESSOR_TYPE_CODE", - "TENANT_TYPE_CODE", - "NOTE", + select "NOTE_ID", + "NOTE_TXT", + "IS_SYSTEM_GENERATED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -18392,74 +18559,125 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_RQSRCT_I_S_U_TR] ON PIMS_REQUEST_SOURCE_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ORGADD_I_S_U_TR] ON PIMS_ORGANIZATION_ADDRESS INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.REQUEST_SOURCE_TYPE_CODE = deleted.REQUEST_SOURCE_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ORGANIZATION_ADDRESS_ID = deleted.ORGANIZATION_ADDRESS_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_REQUEST_SOURCE_TYPE - set "REQUEST_SOURCE_TYPE_CODE" = inserted."REQUEST_SOURCE_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", + update PIMS_ORGANIZATION_ADDRESS + set "ORGANIZATION_ADDRESS_ID" = inserted."ORGANIZATION_ADDRESS_ID", + "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", + "ADDRESS_ID" = inserted."ADDRESS_ID", + "ADDRESS_USAGE_TYPE_CODE" = inserted."ADDRESS_USAGE_TYPE_CODE", "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_REQUEST_SOURCE_TYPE + from PIMS_ORGANIZATION_ADDRESS inner join inserted - on (PIMS_REQUEST_SOURCE_TYPE.REQUEST_SOURCE_TYPE_CODE = inserted.REQUEST_SOURCE_TYPE_CODE); + on (PIMS_ORGANIZATION_ADDRESS.ORGANIZATION_ADDRESS_ID = inserted.ORGANIZATION_ADDRESS_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACRQST_A_S_IUD_TR] ON PIMS_ACCESS_REQUEST FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACCESS_REQUEST_HIST set END_DATE_HIST = @curr_date where ACCESS_REQUEST_ID in (select ACCESS_REQUEST_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACCESS_REQUEST_HIST ([ACCESS_REQUEST_ID], [USER_ID], [ROLE_ID], [ACCESS_REQUEST_STATUS_TYPE_CODE], [REGION_CODE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACCESS_REQUEST_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACCESS_REQUEST_ID], [USER_ID], [ROLE_ID], [ACCESS_REQUEST_STATUS_TYPE_CODE], [REGION_CODE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACCESS_REQUEST_H_ID_SEQ]) as [_ACCESS_REQUEST_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ORGIDT_I_S_I_TR] ON PIMS_ORG_IDENTIFIER_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ORG_IDENTIFIER_TYPE ("ORG_IDENTIFIER_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "ORG_IDENTIFIER_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_LPRPTY_I_S_U_TR] ON PIMS_LEASE_PURPOSE_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ORGTYP_I_S_U_TR] ON PIMS_ORGANIZATION_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_PURPOSE_TYPE_CODE = deleted.LEASE_PURPOSE_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ORGANIZATION_TYPE_CODE = deleted.ORGANIZATION_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_LEASE_PURPOSE_TYPE - set "LEASE_PURPOSE_TYPE_CODE" = inserted."LEASE_PURPOSE_TYPE_CODE", + update PIMS_ORGANIZATION_TYPE + set "ORGANIZATION_TYPE_CODE" = inserted."ORGANIZATION_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_LEASE_PURPOSE_TYPE + from PIMS_ORGANIZATION_TYPE inner join inserted - on (PIMS_LEASE_PURPOSE_TYPE.LEASE_PURPOSE_TYPE_CODE = inserted.LEASE_PURPOSE_TYPE_CODE); + on (PIMS_ORGANIZATION_TYPE.ORGANIZATION_TYPE_CODE = inserted.ORGANIZATION_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRACQF_A_S_IUD_TR] ON PIMS_PROPERTY_ACQUISITION_FILE FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_ACTDOC_A_S_IUD_TR] ON PIMS_ACTIVITY_INSTANCE_DOCUMENT FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -18469,40 +18687,39 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_PROPERTY_ACQUISITION_FILE_HIST set END_DATE_HIST = @curr_date where PROPERTY_ACQUISITION_FILE_ID in (select PROPERTY_ACQUISITION_FILE_ID from deleted) and END_DATE_HIST is null; + update PIMS_ACTIVITY_INSTANCE_DOCUMENT_HIST set END_DATE_HIST = @curr_date where ACTIVITY_INSTANCE_DOCUMENT_ID in (select ACTIVITY_INSTANCE_DOCUMENT_ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_PROPERTY_ACQUISITION_FILE_HIST ([PROPERTY_ACQUISITION_FILE_ID], [ACQUISITION_FILE_ID], [PROPERTY_ID], [PROPERTY_NAME], [DISPLAY_ORDER], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_ACQUISITION_FILE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [PROPERTY_ACQUISITION_FILE_ID], [ACQUISITION_FILE_ID], [PROPERTY_ID], [PROPERTY_NAME], [DISPLAY_ORDER], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_ACQUISITION_FILE_H_ID_SEQ]) as [_PROPERTY_ACQUISITION_FILE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_ACTIVITY_INSTANCE_DOCUMENT_HIST ([ACTIVITY_INSTANCE_DOCUMENT_ID], [ACTIVITY_INSTANCE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACTIVITY_INSTANCE_DOCUMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACTIVITY_INSTANCE_DOCUMENT_ID], [ACTIVITY_INSTANCE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT_H_ID_SEQ]) as [_ACTIVITY_INSTANCE_DOCUMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_LSTERM_I_S_I_TR] ON PIMS_LEASE_TERM INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_ORG_I_S_I_TR] ON PIMS_ORGANIZATION INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_LEASE_TERM ("LEASE_TERM_ID", - "LEASE_ID", - "LEASE_TERM_STATUS_TYPE_CODE", - "LEASE_PMT_FREQ_TYPE_CODE", - "TERM_START_DATE", - "TERM_EXPIRY_DATE", - "TERM_RENEWAL_DATE", - "PAYMENT AMOUNT", - "PAYMENT_DUE_DATE", - "PAYMENT_NOTE", - "IS_GST_ELIGIBLE", - "GST_AMOUNT", - "IS_TERM_EXERCISED", + insert into PIMS_ORGANIZATION ("ORGANIZATION_ID", + "PRNT_ORGANIZATION_ID", + "REGION_CODE", + "DISTRICT_CODE", + "ORGANIZATION_TYPE_CODE", + "ORG_IDENTIFIER_TYPE_CODE", + "ORGANIZATION_IDENTIFIER", + "ORGANIZATION_NAME", + "ORGANIZATION_ALIAS", + "INCORPORATION_NUMBER", + "WEBSITE", + "COMMENT", + "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -18512,19 +18729,19 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "LEASE_TERM_ID", - "LEASE_ID", - "LEASE_TERM_STATUS_TYPE_CODE", - "LEASE_PMT_FREQ_TYPE_CODE", - "TERM_START_DATE", - "TERM_EXPIRY_DATE", - "TERM_RENEWAL_DATE", - "PAYMENT AMOUNT", - "PAYMENT_DUE_DATE", - "PAYMENT_NOTE", - "IS_GST_ELIGIBLE", - "GST_AMOUNT", - "IS_TERM_EXERCISED", + select "ORGANIZATION_ID", + "PRNT_ORGANIZATION_ID", + "REGION_CODE", + "DISTRICT_CODE", + "ORGANIZATION_TYPE_CODE", + "ORG_IDENTIFIER_TYPE_CODE", + "ORGANIZATION_IDENTIFIER", + "ORGANIZATION_NAME", + "ORGANIZATION_ALIAS", + "INCORPORATION_NUMBER", + "WEBSITE", + "COMMENT", + "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -18541,19 +18758,84 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PERSON_I_S_U_TR] ON PIMS_PERSON INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PERSON_ID = deleted.PERSON_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PERSON + set "PERSON_ID" = inserted."PERSON_ID", + "SURNAME" = inserted."SURNAME", + "FIRST_NAME" = inserted."FIRST_NAME", + "MIDDLE_NAMES" = inserted."MIDDLE_NAMES", + "NAME_SUFFIX" = inserted."NAME_SUFFIX", + "PREFERRED_NAME" = inserted."PREFERRED_NAME", + "BIRTH_DATE" = inserted."BIRTH_DATE", + "COMMENT" = inserted."COMMENT", + "ADDRESS_COMMENT" = inserted."ADDRESS_COMMENT", + "USE_ORGANIZATION_ADDRESS" = inserted."USE_ORGANIZATION_ADDRESS", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PERSON + inner join inserted + on (PIMS_PERSON.PERSON_ID = inserted.PERSON_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACTINN_A_S_IUD_TR] ON PIMS_ACTIVITY_INSTANCE_NOTE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACTIVITY_INSTANCE_NOTE_HIST set END_DATE_HIST = @curr_date where PIMS_ACTIVITY_INSTANCE_NOTE_ID in (select PIMS_ACTIVITY_INSTANCE_NOTE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACTIVITY_INSTANCE_NOTE_HIST ([PIMS_ACTIVITY_INSTANCE_NOTE_ID], [ACTIVITY_INSTANCE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACTIVITY_INSTANCE_NOTE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PIMS_ACTIVITY_INSTANCE_NOTE_ID], [ACTIVITY_INSTANCE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE_H_ID_SEQ]) as [_ACTIVITY_INSTANCE_NOTE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_RSCNOT_I_S_I_TR] ON PIMS_RESEARCH_FILE_NOTE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_ORGADD_I_S_I_TR] ON PIMS_ORGANIZATION_ADDRESS INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_RESEARCH_FILE_NOTE ("RESEARCH_FILE_NOTE_ID", - "RESEARCH_FILE_ID", - "NOTE_ID", + insert into PIMS_ORGANIZATION_ADDRESS ("ORGANIZATION_ADDRESS_ID", + "ORGANIZATION_ID", + "ADDRESS_ID", + "ADDRESS_USAGE_TYPE_CODE", "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", @@ -18564,9 +18846,10 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "RESEARCH_FILE_NOTE_ID", - "RESEARCH_FILE_ID", - "NOTE_ID", + select "ORGANIZATION_ADDRESS_ID", + "ORGANIZATION_ID", + "ADDRESS_ID", + "ADDRESS_USAGE_TYPE_CODE", "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", @@ -18584,90 +18867,80 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_LRESPT_I_S_U_TR] ON PIMS_LEASE_RESPONSIBILITY_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PERADD_I_S_U_TR] ON PIMS_PERSON_ADDRESS INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_RESPONSIBILITY_TYPE_CODE = deleted.LEASE_RESPONSIBILITY_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PERSON_ADDRESS_ID = deleted.PERSON_ADDRESS_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_LEASE_RESPONSIBILITY_TYPE - set "LEASE_RESPONSIBILITY_TYPE_CODE" = inserted."LEASE_RESPONSIBILITY_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", + update PIMS_PERSON_ADDRESS + set "PERSON_ADDRESS_ID" = inserted."PERSON_ADDRESS_ID", + "PERSON_ID" = inserted."PERSON_ID", + "ADDRESS_ID" = inserted."ADDRESS_ID", + "ADDRESS_USAGE_TYPE_CODE" = inserted."ADDRESS_USAGE_TYPE_CODE", "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_LEASE_RESPONSIBILITY_TYPE + from PIMS_PERSON_ADDRESS inner join inserted - on (PIMS_LEASE_RESPONSIBILITY_TYPE.LEASE_RESPONSIBILITY_TYPE_CODE = inserted.LEASE_RESPONSIBILITY_TYPE_CODE); + on (PIMS_PERSON_ADDRESS.PERSON_ADDRESS_ID = inserted.PERSON_ADDRESS_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_RSCHAI_I_S_U_TR] ON PIMS_RESEARCH_ACTIVITY_INSTANCE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ACTINS_A_S_IUD_TR] ON PIMS_ACTIVITY_INSTANCE FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) RETURN; - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_ACTIVITY_INSTANCE_ID = deleted.RESEARCH_ACTIVITY_INSTANCE_ID) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_RESEARCH_ACTIVITY_INSTANCE - set "RESEARCH_ACTIVITY_INSTANCE_ID" = inserted."RESEARCH_ACTIVITY_INSTANCE_ID", - "ACTIVITY_INSTANCE_ID" = inserted."ACTIVITY_INSTANCE_ID", - "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", - "IS_DISABLED" = inserted."IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_RESEARCH_ACTIVITY_INSTANCE - inner join inserted - on (PIMS_RESEARCH_ACTIVITY_INSTANCE.RESEARCH_ACTIVITY_INSTANCE_ID = inserted.RESEARCH_ACTIVITY_INSTANCE_ID); + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACTIVITY_INSTANCE_HIST set END_DATE_HIST = @curr_date where ACTIVITY_INSTANCE_ID in (select ACTIVITY_INSTANCE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACTIVITY_INSTANCE_HIST ([ACTIVITY_INSTANCE_ID], [ACTIVITY_TEMPLATE_ID], [ACTIVITY_INSTANCE_STATUS_TYPE_CODE], [DESCRIPTION], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACTIVITY_INSTANCE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACTIVITY_INSTANCE_ID], [ACTIVITY_TEMPLATE_ID], [ACTIVITY_INSTANCE_STATUS_TYPE_CODE], [DESCRIPTION], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACTIVITY_INSTANCE_H_ID_SEQ]) as [_ACTIVITY_INSTANCE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_LTRMST_I_S_I_TR] ON PIMS_LEASE_TERM_STATUS_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_ORGTYP_I_S_I_TR] ON PIMS_ORGANIZATION_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_LEASE_TERM_STATUS_TYPE ("LEASE_TERM_STATUS_TYPE_CODE", + insert into PIMS_ORGANIZATION_TYPE ("ORGANIZATION_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER") - select "LEASE_TERM_STATUS_TYPE_CODE", + select "ORGANIZATION_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", @@ -18679,123 +18952,113 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_PRODCT_A_S_IUD_TR] ON PIMS_PRODUCT FOR INSERT, UPDATE, DELETE AS -SET NOCOUNT ON -BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_PRODUCT_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; - - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_PRODUCT_HIST ([ID], [PARENT_PROJECT_ID], [CODE], [DESCRIPTION], [START_DATE], [COST_ESTIMATE], [COST_ESTIMATE_DATE], [OBJECTIVE], [SCOPE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PRODUCT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ID], [PARENT_PROJECT_ID], [CODE], [DESCRIPTION], [START_DATE], [COST_ESTIMATE], [COST_ESTIMATE_DATE], [OBJECTIVE], [SCOPE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PRODUCT_H_ID_SEQ]) as [_PRODUCT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_LSSTYP_I_S_U_TR] ON PIMS_LEASE_STATUS_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PERORG_I_S_U_TR] ON PIMS_PERSON_ORGANIZATION INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_STATUS_TYPE_CODE = deleted.LEASE_STATUS_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PERSON_ORGANIZATION_ID = deleted.PERSON_ORGANIZATION_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_LEASE_STATUS_TYPE - set "LEASE_STATUS_TYPE_CODE" = inserted."LEASE_STATUS_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", + update PIMS_PERSON_ORGANIZATION + set "PERSON_ORGANIZATION_ID" = inserted."PERSON_ORGANIZATION_ID", + "PERSON_ID" = inserted."PERSON_ID", + "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_LEASE_STATUS_TYPE + from PIMS_PERSON_ORGANIZATION inner join inserted - on (PIMS_LEASE_STATUS_TYPE.LEASE_STATUS_TYPE_CODE = inserted.LEASE_STATUS_TYPE_CODE); + on (PIMS_PERSON_ORGANIZATION.PERSON_ORGANIZATION_ID = inserted.PERSON_ORGANIZATION_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_RSFLPR_I_S_I_TR] ON PIMS_RESEARCH_FILE_PURPOSE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_ACTMDO_A_S_IUD_TR] ON PIMS_ACTIVITY_TEMPLATE_DOCUMENT FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) RETURN; + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACTIVITY_TEMPLATE_DOCUMENT_HIST set END_DATE_HIST = @curr_date where ACTIVITY_TEMPLATE_DOCUMENT_ID in (select ACTIVITY_TEMPLATE_DOCUMENT_ID from deleted) and END_DATE_HIST is null; - insert into PIMS_RESEARCH_FILE_PURPOSE ("RESEARCH_FILE_PURPOSE_ID", - "RESEARCH_FILE_ID", - "RESEARCH_PURPOSE_TYPE_CODE", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY") - select "RESEARCH_FILE_PURPOSE_ID", - "RESEARCH_FILE_ID", - "RESEARCH_PURPOSE_TYPE_CODE", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" - from inserted; + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACTIVITY_TEMPLATE_DOCUMENT_HIST ([ACTIVITY_TEMPLATE_DOCUMENT_ID], [DOCUMENT_ID], [ACTIVITY_TEMPLATE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACTIVITY_TEMPLATE_DOCUMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACTIVITY_TEMPLATE_DOCUMENT_ID], [DOCUMENT_ID], [ACTIVITY_TEMPLATE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT_H_ID_SEQ]) as [_ACTIVITY_TEMPLATE_DOCUMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_LSSRTY_I_S_I_TR] ON PIMS_LESSOR_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PERSON_I_S_I_TR] ON PIMS_PERSON INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_LESSOR_TYPE ("LESSOR_TYPE_CODE", - "DESCRIPTION", + insert into PIMS_PERSON ("PERSON_ID", + "SURNAME", + "FIRST_NAME", + "MIDDLE_NAMES", + "NAME_SUFFIX", + "PREFERRED_NAME", + "BIRTH_DATE", + "COMMENT", + "ADDRESS_COMMENT", + "USE_ORGANIZATION_ADDRESS", "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "LESSOR_TYPE_CODE", - "DESCRIPTION", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "PERSON_ID", + "SURNAME", + "FIRST_NAME", + "MIDDLE_NAMES", + "NAME_SUFFIX", + "PREFERRED_NAME", + "BIRTH_DATE", + "COMMENT", + "ADDRESS_COMMENT", + "USE_ORGANIZATION_ADDRESS", "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" from inserted; END TRY @@ -18803,78 +19066,122 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_RESRCH_I_S_U_TR] ON PIMS_RESEARCH_FILE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PPHSTT_I_S_U_TR] ON PIMS_PPH_STATUS_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_ID = deleted.RESEARCH_FILE_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PPH_STATUS_TYPE_CODE = deleted.PPH_STATUS_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_RESEARCH_FILE - set "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", - "RESEARCH_FILE_STATUS_TYPE_CODE" = inserted."RESEARCH_FILE_STATUS_TYPE_CODE", - "REQUEST_SOURCE_TYPE_CODE" = inserted."REQUEST_SOURCE_TYPE_CODE", - "REQUESTOR_NAME" = inserted."REQUESTOR_NAME", - "REQUESTOR_ORGANIZATION" = inserted."REQUESTOR_ORGANIZATION", - "NAME" = inserted."NAME", - "RFILE_NUMBER" = inserted."RFILE_NUMBER", - "REQUEST_DATE" = inserted."REQUEST_DATE", - "ROAD_NAME" = inserted."ROAD_NAME", - "ROAD_ALIAS" = inserted."ROAD_ALIAS", - "REQUEST_DESCRIPTION" = inserted."REQUEST_DESCRIPTION", - "REQUEST_SOURCE_DESCRIPTION" = inserted."REQUEST_SOURCE_DESCRIPTION", - "RESEARCH_RESULT" = inserted."RESEARCH_RESULT", - "IS_EXPROPRIATION" = inserted."IS_EXPROPRIATION", - "EXPROPRIATION_NOTES" = inserted."EXPROPRIATION_NOTES", - "RESEARCH_COMPLETION_DATE" = inserted."RESEARCH_COMPLETION_DATE", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + update PIMS_PPH_STATUS_TYPE + set "PPH_STATUS_TYPE_CODE" = inserted."PPH_STATUS_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_RESEARCH_FILE + from PIMS_PPH_STATUS_TYPE inner join inserted - on (PIMS_RESEARCH_FILE.RESEARCH_FILE_ID = inserted.RESEARCH_FILE_ID); + on (PIMS_PPH_STATUS_TYPE.PPH_STATUS_TYPE_CODE = inserted.PPH_STATUS_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACTTMP_A_S_IUD_TR] ON PIMS_ACTIVITY_TEMPLATE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACTIVITY_TEMPLATE_HIST set END_DATE_HIST = @curr_date where ACTIVITY_TEMPLATE_ID in (select ACTIVITY_TEMPLATE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACTIVITY_TEMPLATE_HIST ([ACTIVITY_TEMPLATE_ID], [ACTIVITY_TEMPLATE_TYPE_CODE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACTIVITY_TEMPLATE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACTIVITY_TEMPLATE_ID], [ACTIVITY_TEMPLATE_TYPE_CODE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACTIVITY_TEMPLATE_H_ID_SEQ]) as [_ACTIVITY_TEMPLATE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_TENANT_I_S_U_TR] ON PIMS_LEASE_TENANT INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PERADD_I_S_I_TR] ON PIMS_PERSON_ADDRESS INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PERSON_ADDRESS ("PERSON_ADDRESS_ID", + "PERSON_ID", + "ADDRESS_ID", + "ADDRESS_USAGE_TYPE_CODE", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "PERSON_ADDRESS_ID", + "PERSON_ID", + "ADDRESS_ID", + "ADDRESS_USAGE_TYPE_CODE", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRSPRP_I_S_U_TR] ON PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_TENANT_ID = deleted.LEASE_TENANT_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PRF_PROP_RESEARCH_PURPOSE_ID = deleted.PRF_PROP_RESEARCH_PURPOSE_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_LEASE_TENANT - set "LEASE_TENANT_ID" = inserted."LEASE_TENANT_ID", - "LEASE_ID" = inserted."LEASE_ID", - "PERSON_ID" = inserted."PERSON_ID", - "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", - "PRIMARY_CONTACT_ID" = inserted."PRIMARY_CONTACT_ID", - "LESSOR_TYPE_CODE" = inserted."LESSOR_TYPE_CODE", - "TENANT_TYPE_CODE" = inserted."TENANT_TYPE_CODE", - "NOTE" = inserted."NOTE", + update PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE + set "PRF_PROP_RESEARCH_PURPOSE_ID" = inserted."PRF_PROP_RESEARCH_PURPOSE_ID", + "PROPERTY_RESEARCH_FILE_ID" = inserted."PROPERTY_RESEARCH_FILE_ID", + "PROP_RESEARCH_PURPOSE_TYPE_CODE" = inserted."PROP_RESEARCH_PURPOSE_TYPE_CODE", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", @@ -18882,19 +19189,18 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_LEASE_TENANT + from PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE inner join inserted - on (PIMS_LEASE_TENANT.LEASE_TENANT_ID = inserted.LEASE_TENANT_ID); + on (PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE.PRF_PROP_RESEARCH_PURPOSE_ID = inserted.PRF_PROP_RESEARCH_PURPOSE_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PROJCT_A_S_IUD_TR] ON PIMS_PROJECT FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_ADDRSS_A_S_IUD_TR] ON PIMS_ADDRESS FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -18904,37 +19210,52 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_PROJECT_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; + update PIMS_ADDRESS_HIST set END_DATE_HIST = @curr_date where ADDRESS_ID in (select ADDRESS_ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_PROJECT_HIST ([ID], [PROJECT_STATUS_TYPE_CODE], [BUSINESS_FUNCTION_CODE_ID], [COST_TYPE_CODE_ID], [WORK_ACTIVITY_CODE_ID], [REGION_CODE], [CODE], [DESCRIPTION], [NOTE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROJECT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ID], [PROJECT_STATUS_TYPE_CODE], [BUSINESS_FUNCTION_CODE_ID], [COST_TYPE_CODE_ID], [WORK_ACTIVITY_CODE_ID], [REGION_CODE], [CODE], [DESCRIPTION], [NOTE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROJECT_H_ID_SEQ]) as [_PROJECT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_ADDRESS_HIST ([ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROVINCE_STATE_ID], [COUNTRY_ID], [STREET_ADDRESS_1], [STREET_ADDRESS_2], [STREET_ADDRESS_3], [MUNICIPALITY_NAME], [POSTAL_CODE], [OTHER_COUNTRY], [LATITUDE], [LONGITUDE], [COMMENT], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ADDRESS_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROVINCE_STATE_ID], [COUNTRY_ID], [STREET_ADDRESS_1], [STREET_ADDRESS_2], [STREET_ADDRESS_3], [MUNICIPALITY_NAME], [POSTAL_CODE], [OTHER_COUNTRY], [LATITUDE], [LONGITUDE], [COMMENT], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ADDRESS_H_ID_SEQ]) as [_ADDRESS_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_LTRTYP_I_S_I_TR] ON PIMS_LETTER_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PERORG_I_S_I_TR] ON PIMS_PERSON_ORGANIZATION INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_LETTER_TYPE ("LETTER_TYPE_CODE", - "DESCRIPTION", + insert into PIMS_PERSON_ORGANIZATION ("PERSON_ORGANIZATION_ID", + "PERSON_ID", + "ORGANIZATION_ID", "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "LETTER_TYPE_CODE", - "DESCRIPTION", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "PERSON_ORGANIZATION_ID", + "PERSON_ID", + "ORGANIZATION_ID", "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" from inserted; END TRY @@ -18942,62 +19263,119 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_RSRCHS_I_S_I_TR] ON PIMS_RESEARCH_FILE_STATUS_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PRODCT_I_S_U_TR] ON PIMS_PRODUCT INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) + IF NOT EXISTS(SELECT * FROM deleted) RETURN; - - insert into PIMS_RESEARCH_FILE_STATUS_TYPE ("RESEARCH_FILE_STATUS_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "RESEARCH_FILE_STATUS_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" - from inserted; + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) + raiserror('CONCURRENCY FAILURE.',16,1) -END TRY -BEGIN CATCH + + -- update statement + update PIMS_PRODUCT + set "ID" = inserted."ID", + "PARENT_PROJECT_ID" = inserted."PARENT_PROJECT_ID", + "CODE" = inserted."CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "START_DATE" = inserted."START_DATE", + "COST_ESTIMATE" = inserted."COST_ESTIMATE", + "COST_ESTIMATE_DATE" = inserted."COST_ESTIMATE_DATE", + "OBJECTIVE" = inserted."OBJECTIVE", + "SCOPE" = inserted."SCOPE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PRODUCT + inner join inserted + on (PIMS_PRODUCT.ID = inserted.ID); + +END TRY +BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_AIPAFL_A_S_IUD_TR] ON PIMS_ACT_INST_PROP_ACQ_FILE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACT_INST_PROP_ACQ_FILE_HIST set END_DATE_HIST = @curr_date where ACT_INST_PROP_ACQ_FILE_ID in (select ACT_INST_PROP_ACQ_FILE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACT_INST_PROP_ACQ_FILE_HIST ([ACT_INST_PROP_ACQ_FILE_ID], [ACTIVITY_INSTANCE_ID], [PROPERTY_ACQUISITION_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACT_INST_PROP_ACQ_FILE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACT_INST_PROP_ACQ_FILE_ID], [ACTIVITY_INSTANCE_ID], [PROPERTY_ACQUISITION_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE_H_ID_SEQ]) as [_ACT_INST_PROP_ACQ_FILE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_LSTERM_I_S_U_TR] ON PIMS_LEASE_TERM INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PPHSTT_I_S_I_TR] ON PIMS_PPH_STATUS_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PPH_STATUS_TYPE ("PPH_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "PPH_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PROJCT_I_S_U_TR] ON PIMS_PROJECT INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_TERM_ID = deleted.LEASE_TERM_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_LEASE_TERM - set "LEASE_TERM_ID" = inserted."LEASE_TERM_ID", - "LEASE_ID" = inserted."LEASE_ID", - "LEASE_TERM_STATUS_TYPE_CODE" = inserted."LEASE_TERM_STATUS_TYPE_CODE", - "LEASE_PMT_FREQ_TYPE_CODE" = inserted."LEASE_PMT_FREQ_TYPE_CODE", - "TERM_START_DATE" = inserted."TERM_START_DATE", - "TERM_EXPIRY_DATE" = inserted."TERM_EXPIRY_DATE", - "TERM_RENEWAL_DATE" = inserted."TERM_RENEWAL_DATE", - "PAYMENT AMOUNT" = inserted."PAYMENT AMOUNT", - "PAYMENT_DUE_DATE" = inserted."PAYMENT_DUE_DATE", - "PAYMENT_NOTE" = inserted."PAYMENT_NOTE", - "IS_GST_ELIGIBLE" = inserted."IS_GST_ELIGIBLE", - "GST_AMOUNT" = inserted."GST_AMOUNT", - "IS_TERM_EXERCISED" = inserted."IS_TERM_EXERCISED", + update PIMS_PROJECT + set "ID" = inserted."ID", + "PROJECT_STATUS_TYPE_CODE" = inserted."PROJECT_STATUS_TYPE_CODE", + "BUSINESS_FUNCTION_CODE_ID" = inserted."BUSINESS_FUNCTION_CODE_ID", + "COST_TYPE_CODE_ID" = inserted."COST_TYPE_CODE_ID", + "WORK_ACTIVITY_CODE_ID" = inserted."WORK_ACTIVITY_CODE_ID", + "REGION_CODE" = inserted."REGION_CODE", + "CODE" = inserted."CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "NOTE" = inserted."NOTE", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", @@ -19005,64 +19383,50 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_LEASE_TERM + from PIMS_PROJECT inner join inserted - on (PIMS_LEASE_TERM.LEASE_TERM_ID = inserted.LEASE_TERM_ID); + on (PIMS_PROJECT.ID = inserted.ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_RSCDOC_I_S_U_TR] ON PIMS_RESEARCH_FILE_DOCUMENT INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_AIPRFL_A_S_IUD_TR] ON PIMS_ACT_INST_PROP_RSRCH_FILE FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) RETURN; - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_DOCUMENT_ID = deleted.RESEARCH_FILE_DOCUMENT_ID) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_RESEARCH_FILE_DOCUMENT - set "RESEARCH_FILE_DOCUMENT_ID" = inserted."RESEARCH_FILE_DOCUMENT_ID", - "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", - "DOCUMENT_ID" = inserted."DOCUMENT_ID", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "IS_DISABLED" = inserted."IS_DISABLED" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_RESEARCH_FILE_DOCUMENT - inner join inserted - on (PIMS_RESEARCH_FILE_DOCUMENT.RESEARCH_FILE_DOCUMENT_ID = inserted.RESEARCH_FILE_DOCUMENT_ID); + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACT_INST_PROP_RSRCH_FILE_HIST set END_DATE_HIST = @curr_date where ACT_INST_PROP_RSRCH_FILE_ID in (select ACT_INST_PROP_RSRCH_FILE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACT_INST_PROP_RSRCH_FILE_HIST ([ACT_INST_PROP_RSRCH_FILE_ID], [ACTIVITY_INSTANCE_ID], [PROPERTY_RESEARCH_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACT_INST_PROP_RSRCH_FILE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACT_INST_PROP_RSRCH_FILE_ID], [ACTIVITY_INSTANCE_ID], [PROPERTY_RESEARCH_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE_H_ID_SEQ]) as [_ACT_INST_PROP_RSRCH_FILE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_NOTE_I_S_I_TR] ON PIMS_NOTE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PRSPRP_I_S_I_TR] ON PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_NOTE ("NOTE_ID", - "NOTE_TXT", - "IS_SYSTEM_GENERATED", + insert into PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE ("PRF_PROP_RESEARCH_PURPOSE_ID", + "PROPERTY_RESEARCH_FILE_ID", + "PROP_RESEARCH_PURPOSE_TYPE_CODE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -19072,9 +19436,9 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "NOTE_ID", - "NOTE_TXT", - "IS_SYSTEM_GENERATED", + select "PRF_PROP_RESEARCH_PURPOSE_ID", + "PROPERTY_RESEARCH_FILE_ID", + "PROP_RESEARCH_PURPOSE_TYPE_CODE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -19091,188 +19455,149 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_PROPLS_A_S_IUD_TR] ON PIMS_PROPERTY_LEASE FOR INSERT, UPDATE, DELETE AS -SET NOCOUNT ON -BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_PROPERTY_LEASE_HIST set END_DATE_HIST = @curr_date where PROPERTY_LEASE_ID in (select PROPERTY_LEASE_ID from deleted) and END_DATE_HIST is null; - - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_PROPERTY_LEASE_HIST ([PROPERTY_LEASE_ID], [PROPERTY_ID], [LEASE_ID], [AREA_UNIT_TYPE_CODE], [NAME], [LEASE_AREA], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_LEASE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [PROPERTY_LEASE_ID], [PROPERTY_ID], [LEASE_ID], [AREA_UNIT_TYPE_CODE], [NAME], [LEASE_AREA], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_LEASE_H_ID_SEQ]) as [_PROPERTY_LEASE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_LTRMST_I_S_U_TR] ON PIMS_LEASE_TERM_STATUS_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PRJSTY_I_S_U_TR] ON PIMS_PROJECT_STATUS_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_TERM_STATUS_TYPE_CODE = deleted.LEASE_TERM_STATUS_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROJECT_STATUS_TYPE_CODE = deleted.PROJECT_STATUS_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_LEASE_TERM_STATUS_TYPE - set "LEASE_TERM_STATUS_TYPE_CODE" = inserted."LEASE_TERM_STATUS_TYPE_CODE", + update PIMS_PROJECT_STATUS_TYPE + set "PROJECT_STATUS_TYPE_CODE" = inserted."PROJECT_STATUS_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_LEASE_TERM_STATUS_TYPE + from PIMS_PROJECT_STATUS_TYPE inner join inserted - on (PIMS_LEASE_TERM_STATUS_TYPE.LEASE_TERM_STATUS_TYPE_CODE = inserted.LEASE_TERM_STATUS_TYPE_CODE); + on (PIMS_PROJECT_STATUS_TYPE.PROJECT_STATUS_TYPE_CODE = inserted.PROJECT_STATUS_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_RSHPRT_I_S_I_TR] ON PIMS_RESEARCH_PURPOSE_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_BIZFCN_A_S_IUD_TR] ON PIMS_BUSINESS_FUNCTION_CODE FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) RETURN; + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_BUSINESS_FUNCTION_CODE_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; - insert into PIMS_RESEARCH_PURPOSE_TYPE ("RESEARCH_PURPOSE_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "RESEARCH_PURPOSE_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" - from inserted; + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_BUSINESS_FUNCTION_CODE_HIST ([ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _BUSINESS_FUNCTION_CODE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_BUSINESS_FUNCTION_CODE_H_ID_SEQ]) as [_BUSINESS_FUNCTION_CODE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ORGIDT_I_S_I_TR] ON PIMS_ORG_IDENTIFIER_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PRODCT_I_S_I_TR] ON PIMS_PRODUCT INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_ORG_IDENTIFIER_TYPE ("ORG_IDENTIFIER_TYPE_CODE", + insert into PIMS_PRODUCT ("ID", + "PARENT_PROJECT_ID", + "CODE", "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "ORG_IDENTIFIER_TYPE_CODE", + "START_DATE", + "COST_ESTIMATE", + "COST_ESTIMATE_DATE", + "OBJECTIVE", + "SCOPE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ID", + "PARENT_PROJECT_ID", + "CODE", "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" - from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_RSCNOT_I_S_U_TR] ON PIMS_RESEARCH_FILE_NOTE INSTEAD OF UPDATE AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_ID = deleted.RESEARCH_FILE_ID and inserted.RESEARCH_FILE_NOTE_ID = deleted.RESEARCH_FILE_NOTE_ID) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_RESEARCH_FILE_NOTE - set "RESEARCH_FILE_NOTE_ID" = inserted."RESEARCH_FILE_NOTE_ID", - "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", - "NOTE_ID" = inserted."NOTE_ID", - "IS_DISABLED" = inserted."IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_RESEARCH_FILE_NOTE - inner join inserted - on (PIMS_RESEARCH_FILE_NOTE.RESEARCH_FILE_ID = inserted.RESEARCH_FILE_ID and PIMS_RESEARCH_FILE_NOTE.RESEARCH_FILE_NOTE_ID = inserted.RESEARCH_FILE_NOTE_ID); + "START_DATE", + "COST_ESTIMATE", + "COST_ESTIMATE_DATE", + "OBJECTIVE", + "SCOPE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_LSSRTY_I_S_U_TR] ON PIMS_LESSOR_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PRPALT_I_S_U_TR] ON PIMS_PROP_PROP_ADJACENT_LAND_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LESSOR_TYPE_CODE = deleted.LESSOR_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROP_PROP_ADJACENT_LAND_TYPE_ID = deleted.PROP_PROP_ADJACENT_LAND_TYPE_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_LESSOR_TYPE - set "LESSOR_TYPE_CODE" = inserted."LESSOR_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + update PIMS_PROP_PROP_ADJACENT_LAND_TYPE + set "PROP_PROP_ADJACENT_LAND_TYPE_ID" = inserted."PROP_PROP_ADJACENT_LAND_TYPE_ID", + "PROPERTY_ID" = inserted."PROPERTY_ID", + "PROPERTY_ADJACENT_LAND_TYPE_CODE" = inserted."PROPERTY_ADJACENT_LAND_TYPE_CODE", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_LESSOR_TYPE + from PIMS_PROP_PROP_ADJACENT_LAND_TYPE inner join inserted - on (PIMS_LESSOR_TYPE.LESSOR_TYPE_CODE = inserted.LESSOR_TYPE_CODE); + on (PIMS_PROP_PROP_ADJACENT_LAND_TYPE.PROP_PROP_ADJACENT_LAND_TYPE_ID = inserted.PROP_PROP_ADJACENT_LAND_TYPE_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRPEVL_A_S_IUD_TR] ON PIMS_PROPERTY_EVALUATION FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_CHRTAC_A_S_IUD_TR] ON PIMS_CHART_OF_ACCOUNTS_CODE FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -19282,94 +19607,35 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_PROPERTY_EVALUATION_HIST set END_DATE_HIST = @curr_date where PROPERTY_EVALUATION_ID in (select PROPERTY_EVALUATION_ID from deleted) and END_DATE_HIST is null; + update PIMS_CHART_OF_ACCOUNTS_CODE_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_PROPERTY_EVALUATION_HIST ([PROPERTY_EVALUATION_ID], [PROPERTY_ID], [EVALUATION_DATE], [KEY], [VALUE], [NOTE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_EVALUATION_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [PROPERTY_EVALUATION_ID], [PROPERTY_ID], [EVALUATION_DATE], [KEY], [VALUE], [NOTE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_EVALUATION_H_ID_SEQ]) as [_PROPERTY_EVALUATION_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_CHART_OF_ACCOUNTS_CODE_HIST ([ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _CHART_OF_ACCOUNTS_CODE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE_H_ID_SEQ]) as [_CHART_OF_ACCOUNTS_CODE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ORG_I_S_I_TR] ON PIMS_ORGANIZATION INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PROJCT_I_S_I_TR] ON PIMS_PROJECT INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_ORGANIZATION ("ORGANIZATION_ID", - "PRNT_ORGANIZATION_ID", - "REGION_CODE", - "DISTRICT_CODE", - "ORGANIZATION_TYPE_CODE", - "ORG_IDENTIFIER_TYPE_CODE", - "ORGANIZATION_IDENTIFIER", - "ORGANIZATION_NAME", - "ORGANIZATION_ALIAS", - "INCORPORATION_NUMBER", - "WEBSITE", - "COMMENT", - "IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY") - select "ORGANIZATION_ID", - "PRNT_ORGANIZATION_ID", + insert into PIMS_PROJECT ("ID", + "PROJECT_STATUS_TYPE_CODE", + "BUSINESS_FUNCTION_CODE_ID", + "COST_TYPE_CODE_ID", + "WORK_ACTIVITY_CODE_ID", "REGION_CODE", - "DISTRICT_CODE", - "ORGANIZATION_TYPE_CODE", - "ORG_IDENTIFIER_TYPE_CODE", - "ORGANIZATION_IDENTIFIER", - "ORGANIZATION_NAME", - "ORGANIZATION_ALIAS", - "INCORPORATION_NUMBER", - "WEBSITE", - "COMMENT", - "IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" - from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_RESPCD_I_S_I_TR] ON PIMS_RESPONSIBILITY_CODE INSTEAD OF INSERT AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) - RETURN; - - - insert into PIMS_RESPONSIBILITY_CODE ("ID", "CODE", "DESCRIPTION", - "DISPLAY_ORDER", - "EFFECTIVE_DATE", - "EXPIRY_DATE", + "NOTE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -19380,11 +19646,14 @@ BEGIN TRY "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") select "ID", + "PROJECT_STATUS_TYPE_CODE", + "BUSINESS_FUNCTION_CODE_ID", + "COST_TYPE_CODE_ID", + "WORK_ACTIVITY_CODE_ID", + "REGION_CODE", "CODE", "DESCRIPTION", - "DISPLAY_ORDER", - "EFFECTIVE_DATE", - "EXPIRY_DATE", + "NOTE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -19401,111 +19670,82 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_LTRTYP_I_S_U_TR] ON PIMS_LETTER_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PRPRAT_I_S_U_TR] ON PIMS_PROP_PROP_ANOMALY_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LETTER_TYPE_CODE = deleted.LETTER_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROP_PROP_ANOMALY_TYPE_ID = deleted.PROP_PROP_ANOMALY_TYPE_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_LETTER_TYPE - set "LETTER_TYPE_CODE" = inserted."LETTER_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + update PIMS_PROP_PROP_ANOMALY_TYPE + set "PROP_PROP_ANOMALY_TYPE_ID" = inserted."PROP_PROP_ANOMALY_TYPE_ID", + "PROPERTY_ID" = inserted."PROPERTY_ID", + "PROPERTY_ANOMALY_TYPE_CODE" = inserted."PROPERTY_ANOMALY_TYPE_CODE", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_LETTER_TYPE + from PIMS_PROP_PROP_ANOMALY_TYPE inner join inserted - on (PIMS_LETTER_TYPE.LETTER_TYPE_CODE = inserted.LETTER_TYPE_CODE); + on (PIMS_PROP_PROP_ANOMALY_TYPE.PROP_PROP_ANOMALY_TYPE_ID = inserted.PROP_PROP_ANOMALY_TYPE_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_RSFLPR_I_S_U_TR] ON PIMS_RESEARCH_FILE_PURPOSE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_CLMTYP_A_S_IUD_TR] ON PIMS_CLAIM FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) RETURN; - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_PURPOSE_ID = deleted.RESEARCH_FILE_PURPOSE_ID) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_RESEARCH_FILE_PURPOSE - set "RESEARCH_FILE_PURPOSE_ID" = inserted."RESEARCH_FILE_PURPOSE_ID", - "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", - "RESEARCH_PURPOSE_TYPE_CODE" = inserted."RESEARCH_PURPOSE_TYPE_CODE", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_RESEARCH_FILE_PURPOSE - inner join inserted - on (PIMS_RESEARCH_FILE_PURPOSE.RESEARCH_FILE_PURPOSE_ID = inserted.RESEARCH_FILE_PURPOSE_ID); + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_CLAIM_HIST set END_DATE_HIST = @curr_date where CLAIM_ID in (select CLAIM_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_CLAIM_HIST ([CLAIM_ID], [CLAIM_UID], [KEYCLOAK_ROLE_ID], [NAME], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _CLAIM_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [CLAIM_ID], [CLAIM_UID], [KEYCLOAK_ROLE_ID], [NAME], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_CLAIM_H_ID_SEQ]) as [_CLAIM_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ORGADD_I_S_I_TR] ON PIMS_ORGANIZATION_ADDRESS INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PRJSTY_I_S_I_TR] ON PIMS_PROJECT_STATUS_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_ORGANIZATION_ADDRESS ("ORGANIZATION_ADDRESS_ID", - "ORGANIZATION_ID", - "ADDRESS_ID", - "ADDRESS_USAGE_TYPE_CODE", + insert into PIMS_PROJECT_STATUS_TYPE ("PROJECT_STATUS_TYPE_CODE", + "DESCRIPTION", "IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY") - select "ORGANIZATION_ADDRESS_ID", - "ORGANIZATION_ID", - "ADDRESS_ID", - "ADDRESS_USAGE_TYPE_CODE", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "PROJECT_STATUS_TYPE_CODE", + "DESCRIPTION", "IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" from inserted; END TRY @@ -19513,49 +19753,24 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRPORG_A_S_IUD_TR] ON PIMS_PROPERTY_ORGANIZATION FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_PRPRRT_I_S_U_TR] ON PIMS_PROP_PROP_ROAD_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_PROPERTY_ORGANIZATION_HIST set END_DATE_HIST = @curr_date where PROPERTY_ORGANIZATION_ID in (select PROPERTY_ORGANIZATION_ID from deleted) and END_DATE_HIST is null; - - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_PROPERTY_ORGANIZATION_HIST ([PROPERTY_ORGANIZATION_ID], [PROPERTY_ID], [ORGANIZATION_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], [IS_DISABLED], _PROPERTY_ORGANIZATION_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [PROPERTY_ORGANIZATION_ID], [PROPERTY_ID], [ORGANIZATION_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], [IS_DISABLED], (next value for [dbo].[PIMS_PROPERTY_ORGANIZATION_H_ID_SEQ]) as [_PROPERTY_ORGANIZATION_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_NOTE_I_S_U_TR] ON PIMS_NOTE INSTEAD OF UPDATE AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.NOTE_ID = deleted.NOTE_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROP_PROP_ROAD_TYPE_ID = deleted.PROP_PROP_ROAD_TYPE_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_NOTE - set "NOTE_ID" = inserted."NOTE_ID", - "NOTE_TXT" = inserted."NOTE_TXT", - "IS_SYSTEM_GENERATED" = inserted."IS_SYSTEM_GENERATED", + update PIMS_PROP_PROP_ROAD_TYPE + set "PROP_PROP_ROAD_TYPE_ID" = inserted."PROP_PROP_ROAD_TYPE_ID", + "PROPERTY_ID" = inserted."PROPERTY_ID", + "PROPERTY_ROAD_TYPE_CODE" = inserted."PROPERTY_ROAD_TYPE_CODE", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", @@ -19563,85 +19778,70 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_NOTE + from PIMS_PROP_PROP_ROAD_TYPE inner join inserted - on (PIMS_NOTE.NOTE_ID = inserted.NOTE_ID); + on (PIMS_PROP_PROP_ROAD_TYPE.PROP_PROP_ROAD_TYPE_ID = inserted.PROP_PROP_ROAD_TYPE_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ROLE_I_S_I_TR] ON PIMS_ROLE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_CNTMTH_A_S_IUD_TR] ON PIMS_CONTACT_METHOD FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) RETURN; + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_CONTACT_METHOD_HIST set END_DATE_HIST = @curr_date where CONTACT_METHOD_ID in (select CONTACT_METHOD_ID from deleted) and END_DATE_HIST is null; - insert into PIMS_ROLE ("ROLE_ID", - "ROLE_UID", - "KEYCLOAK_GROUP_ID", - "NAME", - "DESCRIPTION", - "IS_PUBLIC", - "IS_DISABLED", - "SORT_ORDER", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY") - select "ROLE_ID", - "ROLE_UID", - "KEYCLOAK_GROUP_ID", - "NAME", - "DESCRIPTION", - "IS_PUBLIC", - "IS_DISABLED", - "SORT_ORDER", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" - from inserted; + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_CONTACT_METHOD_HIST ([CONTACT_METHOD_ID], [CONTACT_METHOD_TYPE_CODE], [PERSON_ID], [ORGANIZATION_ID], [CONTACT_METHOD_VALUE], [IS_PREFERRED_METHOD], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _CONTACT_METHOD_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [CONTACT_METHOD_ID], [CONTACT_METHOD_TYPE_CODE], [PERSON_ID], [ORGANIZATION_ID], [CONTACT_METHOD_VALUE], [IS_PREFERRED_METHOD], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_CONTACT_METHOD_H_ID_SEQ]) as [_CONTACT_METHOD_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ORGTYP_I_S_I_TR] ON PIMS_ORGANIZATION_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PRPALT_I_S_I_TR] ON PIMS_PROP_PROP_ADJACENT_LAND_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_ORGANIZATION_TYPE ("ORGANIZATION_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", + insert into PIMS_PROP_PROP_ADJACENT_LAND_TYPE ("PROP_PROP_ADJACENT_LAND_TYPE_ID", + "PROPERTY_ID", + "PROPERTY_ADJACENT_LAND_TYPE_CODE", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USER_DIRECTORY", + "APP_CREATE_USER_GUID", + "APP_CREATE_USERID", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID", "CONCURRENCY_CONTROL_NUMBER") - select "ORGANIZATION_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", + select "PROP_PROP_ADJACENT_LAND_TYPE_ID", + "PROPERTY_ID", + "PROPERTY_ADJACENT_LAND_TYPE_CODE", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USER_DIRECTORY", + "APP_CREATE_USER_GUID", + "APP_CREATE_USERID", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID", "CONCURRENCY_CONTROL_NUMBER" from inserted; @@ -19650,74 +19850,137 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_RSRCHS_I_S_U_TR] ON PIMS_RESEARCH_FILE_STATUS_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PRPRTT_I_S_U_TR] ON PIMS_PROP_PROP_TENURE_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_STATUS_TYPE_CODE = deleted.RESEARCH_FILE_STATUS_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROP_PROP_TENURE_TYPE_ID = deleted.PROP_PROP_TENURE_TYPE_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_RESEARCH_FILE_STATUS_TYPE - set "RESEARCH_FILE_STATUS_TYPE_CODE" = inserted."RESEARCH_FILE_STATUS_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + update PIMS_PROP_PROP_TENURE_TYPE + set "PROP_PROP_TENURE_TYPE_ID" = inserted."PROP_PROP_TENURE_TYPE_ID", + "PROPERTY_ID" = inserted."PROPERTY_ID", + "PROPERTY_TENURE_TYPE_CODE" = inserted."PROPERTY_TENURE_TYPE_CODE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_RESEARCH_FILE_STATUS_TYPE + from PIMS_PROP_PROP_TENURE_TYPE inner join inserted - on (PIMS_RESEARCH_FILE_STATUS_TYPE.RESEARCH_FILE_STATUS_TYPE_CODE = inserted.RESEARCH_FILE_STATUS_TYPE_CODE); + on (PIMS_PROP_PROP_TENURE_TYPE.PROP_PROP_TENURE_TYPE_ID = inserted.PROP_PROP_TENURE_TYPE_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_COSTYP_A_S_IUD_TR] ON PIMS_COST_TYPE_CODE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_COST_TYPE_CODE_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_COST_TYPE_CODE_HIST ([ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _COST_TYPE_CODE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_COST_TYPE_CODE_H_ID_SEQ]) as [_COST_TYPE_CODE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_ORGIDT_I_S_U_TR] ON PIMS_ORG_IDENTIFIER_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PRPRAT_I_S_I_TR] ON PIMS_PROP_PROP_ANOMALY_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROP_PROP_ANOMALY_TYPE ("PROP_PROP_ANOMALY_TYPE_ID", + "PROPERTY_ID", + "PROPERTY_ANOMALY_TYPE_CODE", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USER_DIRECTORY", + "APP_CREATE_USER_GUID", + "APP_CREATE_USERID", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID", + "CONCURRENCY_CONTROL_NUMBER") + select "PROP_PROP_ANOMALY_TYPE_ID", + "PROPERTY_ID", + "PROPERTY_ANOMALY_TYPE_CODE", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USER_DIRECTORY", + "APP_CREATE_USER_GUID", + "APP_CREATE_USERID", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RRESPT_I_S_U_TR] ON PIMS_PROP_RESEARCH_PURPOSE_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ORG_IDENTIFIER_TYPE_CODE = deleted.ORG_IDENTIFIER_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROP_RESEARCH_PURPOSE_TYPE_CODE = deleted.PROP_RESEARCH_PURPOSE_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_ORG_IDENTIFIER_TYPE - set "ORG_IDENTIFIER_TYPE_CODE" = inserted."ORG_IDENTIFIER_TYPE_CODE", + update PIMS_PROP_RESEARCH_PURPOSE_TYPE + set "PROP_RESEARCH_PURPOSE_TYPE_CODE" = inserted."PROP_RESEARCH_PURPOSE_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ORG_IDENTIFIER_TYPE + from PIMS_PROP_RESEARCH_PURPOSE_TYPE inner join inserted - on (PIMS_ORG_IDENTIFIER_TYPE.ORG_IDENTIFIER_TYPE_CODE = inserted.ORG_IDENTIFIER_TYPE_CODE); + on (PIMS_PROP_RESEARCH_PURPOSE_TYPE.PROP_RESEARCH_PURPOSE_TYPE_CODE = inserted.PROP_RESEARCH_PURPOSE_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRPRSF_A_S_IUD_TR] ON PIMS_PROPERTY_PROPERTY_SERVICE_FILE FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_DOCMNT_A_S_IUD_TR] ON PIMS_DOCUMENT FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -19727,38 +19990,29 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_PROPERTY_PROPERTY_SERVICE_FILE_HIST set END_DATE_HIST = @curr_date where PROPERTY_PROPERTY_SERVICE_FILE_ID in (select PROPERTY_PROPERTY_SERVICE_FILE_ID from deleted) and END_DATE_HIST is null; + update PIMS_DOCUMENT_HIST set END_DATE_HIST = @curr_date where DOCUMENT_ID in (select DOCUMENT_ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_PROPERTY_PROPERTY_SERVICE_FILE_HIST ([PROPERTY_PROPERTY_SERVICE_FILE_ID], [PROPERTY_ID], [PROPERTY_SERVICE_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_PROPERTY_SERVICE_FILE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [PROPERTY_PROPERTY_SERVICE_FILE_ID], [PROPERTY_ID], [PROPERTY_SERVICE_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE_H_ID_SEQ]) as [_PROPERTY_PROPERTY_SERVICE_FILE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_DOCUMENT_HIST ([DOCUMENT_ID], [DOCUMENT_TYPE_ID], [DOCUMENT_STATUS_TYPE_CODE], [FILE_NAME], [MAYAN_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _DOCUMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [DOCUMENT_ID], [DOCUMENT_TYPE_ID], [DOCUMENT_STATUS_TYPE_CODE], [FILE_NAME], [MAYAN_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_DOCUMENT_H_ID_SEQ]) as [_DOCUMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PERSON_I_S_I_TR] ON PIMS_PERSON INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PRPRRT_I_S_I_TR] ON PIMS_PROP_PROP_ROAD_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_PERSON ("PERSON_ID", - "SURNAME", - "FIRST_NAME", - "MIDDLE_NAMES", - "NAME_SUFFIX", - "PREFERRED_NAME", - "BIRTH_DATE", - "COMMENT", - "ADDRESS_COMMENT", - "USE_ORGANIZATION_ADDRESS", - "IS_DISABLED", + insert into PIMS_PROP_PROP_ROAD_TYPE ("PROP_PROP_ROAD_TYPE_ID", + "PROPERTY_ID", + "PROPERTY_ROAD_TYPE_CODE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -19768,17 +20022,9 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "PERSON_ID", - "SURNAME", - "FIRST_NAME", - "MIDDLE_NAMES", - "NAME_SUFFIX", - "PREFERRED_NAME", - "BIRTH_DATE", - "COMMENT", - "ADDRESS_COMMENT", - "USE_ORGANIZATION_ADDRESS", - "IS_DISABLED", + select "PROP_PROP_ROAD_TYPE_ID", + "PROPERTY_ID", + "PROPERTY_ROAD_TYPE_CODE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -19795,78 +20041,66 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ROLCLM_I_S_I_TR] ON PIMS_ROLE_CLAIM INSTEAD OF INSERT AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) - RETURN; - - - insert into PIMS_ROLE_CLAIM ("ROLE_CLAIM_ID", - "ROLE_ID", - "CLAIM_ID", - "IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY") - select "ROLE_CLAIM_ID", - "ROLE_ID", - "CLAIM_ID", - "IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" - from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_ORG_I_S_U_TR] ON PIMS_ORGANIZATION INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PRPRTY_I_S_U_TR] ON PIMS_PROPERTY INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ORGANIZATION_ID = deleted.ORGANIZATION_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_ID = deleted.PROPERTY_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_ORGANIZATION - set "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", - "PRNT_ORGANIZATION_ID" = inserted."PRNT_ORGANIZATION_ID", + update PIMS_PROPERTY + set "PROPERTY_ID" = inserted."PROPERTY_ID", + "PROPERTY_MANAGER_ID" = inserted."PROPERTY_MANAGER_ID", + "PROP_MGMT_ORG_ID" = inserted."PROP_MGMT_ORG_ID", + "PROPERTY_TYPE_CODE" = inserted."PROPERTY_TYPE_CODE", + "PROPERTY_CLASSIFICATION_TYPE_CODE" = inserted."PROPERTY_CLASSIFICATION_TYPE_CODE", + "ADDRESS_ID" = inserted."ADDRESS_ID", "REGION_CODE" = inserted."REGION_CODE", "DISTRICT_CODE" = inserted."DISTRICT_CODE", - "ORGANIZATION_TYPE_CODE" = inserted."ORGANIZATION_TYPE_CODE", - "ORG_IDENTIFIER_TYPE_CODE" = inserted."ORG_IDENTIFIER_TYPE_CODE", - "ORGANIZATION_IDENTIFIER" = inserted."ORGANIZATION_IDENTIFIER", - "ORGANIZATION_NAME" = inserted."ORGANIZATION_NAME", - "ORGANIZATION_ALIAS" = inserted."ORGANIZATION_ALIAS", - "INCORPORATION_NUMBER" = inserted."INCORPORATION_NUMBER", - "WEBSITE" = inserted."WEBSITE", - "COMMENT" = inserted."COMMENT", - "IS_DISABLED" = inserted."IS_DISABLED", + "PROPERTY_AREA_UNIT_TYPE_CODE" = inserted."PROPERTY_AREA_UNIT_TYPE_CODE", + "PROPERTY_DATA_SOURCE_TYPE_CODE" = inserted."PROPERTY_DATA_SOURCE_TYPE_CODE", + "PROPERTY_STATUS_TYPE_CODE" = inserted."PROPERTY_STATUS_TYPE_CODE", + "SURPLUS_DECLARATION_TYPE_CODE" = inserted."SURPLUS_DECLARATION_TYPE_CODE", + "VOLUMETRIC_TYPE_CODE" = inserted."VOLUMETRIC_TYPE_CODE", + "VOLUME_UNIT_TYPE_CODE" = inserted."VOLUME_UNIT_TYPE_CODE", + "PPH_STATUS_TYPE_CODE" = inserted."PPH_STATUS_TYPE_CODE", + "PROPERTY_DATA_SOURCE_EFFECTIVE_DATE" = inserted."PROPERTY_DATA_SOURCE_EFFECTIVE_DATE", + "NAME" = inserted."NAME", + "DESCRIPTION" = inserted."DESCRIPTION", + "PID" = inserted."PID", + "PIN" = inserted."PIN", + "FILE_NUMBER" = inserted."FILE_NUMBER", + "FILE_NUMBER_SUFFIX" = inserted."FILE_NUMBER_SUFFIX", + "LAND_AREA" = inserted."LAND_AREA", + "LAND_LEGAL_DESCRIPTION" = inserted."LAND_LEGAL_DESCRIPTION", + "BOUNDARY" = inserted."BOUNDARY", + "LOCATION" = inserted."LOCATION", + "SURVEY_PLAN_NUMBER" = inserted."SURVEY_PLAN_NUMBER", + "ENCUMBRANCE_REASON" = inserted."ENCUMBRANCE_REASON", + "SURPLUS_DECLARATION_COMMENT" = inserted."SURPLUS_DECLARATION_COMMENT", + "SURPLUS_DECLARATION_DATE" = inserted."SURPLUS_DECLARATION_DATE", + "NOTES" = inserted."NOTES", + "MUNICIPAL_ZONING" = inserted."MUNICIPAL_ZONING", + "IS_VOLUMETRIC_PARCEL" = inserted."IS_VOLUMETRIC_PARCEL", + "VOLUMETRIC_MEASUREMENT" = inserted."VOLUMETRIC_MEASUREMENT", + "IS_OWNED" = inserted."IS_OWNED", + "IS_PROPERTY_OF_INTEREST" = inserted."IS_PROPERTY_OF_INTEREST", + "IS_VISIBLE_TO_OTHER_AGENCIES" = inserted."IS_VISIBLE_TO_OTHER_AGENCIES", + "IS_SENSITIVE" = inserted."IS_SENSITIVE", + "IS_PROVINCIAL_PUBLIC_HWY" = inserted."IS_PROVINCIAL_PUBLIC_HWY", + "PPH_STATUS_UPDATE_USERID" = inserted."PPH_STATUS_UPDATE_USERID", + "PPH_STATUS_UPDATE_TIMESTAMP" = inserted."PPH_STATUS_UPDATE_TIMESTAMP", + "PPH_STATUS_UPDATE_USER_GUID" = inserted."PPH_STATUS_UPDATE_USER_GUID", + "IS_RWY_BELT_DOM_PATENT" = inserted."IS_RWY_BELT_DOM_PATENT", + "ZONING" = inserted."ZONING", + "ZONING_POTENTIAL" = inserted."ZONING_POTENTIAL", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", @@ -19874,62 +20108,50 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ORGANIZATION + from PIMS_PROPERTY inner join inserted - on (PIMS_ORGANIZATION.ORGANIZATION_ID = inserted.ORGANIZATION_ID); + on (PIMS_PROPERTY.PROPERTY_ID = inserted.PROPERTY_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_RSHPRT_I_S_U_TR] ON PIMS_RESEARCH_PURPOSE_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_DOCTYP_A_S_IUD_TR] ON PIMS_DOCUMENT_TYP FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) RETURN; - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_PURPOSE_TYPE_CODE = deleted.RESEARCH_PURPOSE_TYPE_CODE) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_RESEARCH_PURPOSE_TYPE - set "RESEARCH_PURPOSE_TYPE_CODE" = inserted."RESEARCH_PURPOSE_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_RESEARCH_PURPOSE_TYPE - inner join inserted - on (PIMS_RESEARCH_PURPOSE_TYPE.RESEARCH_PURPOSE_TYPE_CODE = inserted.RESEARCH_PURPOSE_TYPE_CODE); + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_DOCUMENT_TYP_HIST set END_DATE_HIST = @curr_date where DOCUMENT_TYPE_ID in (select DOCUMENT_TYPE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_DOCUMENT_TYP_HIST ([DOCUMENT_TYPE_ID], [MAYAN_ID], [DOCUMENT_TYPE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _DOCUMENT_TYP_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [DOCUMENT_TYPE_ID], [MAYAN_ID], [DOCUMENT_TYPE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_DOCUMENT_TYP_H_ID_SEQ]) as [_DOCUMENT_TYP_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PERADD_I_S_I_TR] ON PIMS_PERSON_ADDRESS INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PRPRTT_I_S_I_TR] ON PIMS_PROP_PROP_TENURE_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_PERSON_ADDRESS ("PERSON_ADDRESS_ID", - "PERSON_ID", - "ADDRESS_ID", - "ADDRESS_USAGE_TYPE_CODE", - "IS_DISABLED", + insert into PIMS_PROP_PROP_TENURE_TYPE ("PROP_PROP_TENURE_TYPE_ID", + "PROPERTY_ID", + "PROPERTY_TENURE_TYPE_CODE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -19939,11 +20161,9 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "PERSON_ADDRESS_ID", - "PERSON_ID", - "ADDRESS_ID", - "ADDRESS_USAGE_TYPE_CODE", - "IS_DISABLED", + select "PROP_PROP_TENURE_TYPE_ID", + "PROPERTY_ID", + "PROPERTY_TENURE_TYPE_CODE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -19960,50 +20180,26 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_PRPRTY_A_S_IUD_TR] ON PIMS_PROPERTY FOR INSERT, UPDATE, DELETE AS -SET NOCOUNT ON -BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_PROPERTY_HIST set END_DATE_HIST = @curr_date where PROPERTY_ID in (select PROPERTY_ID from deleted) and END_DATE_HIST is null; - - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_PROPERTY_HIST ([PROPERTY_ID], [PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [VOLUMETRIC_TYPE_CODE], [VOLUME_UNIT_TYPE_CODE], [PPH_STATUS_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [FILE_NUMBER], [FILE_NUMBER_SUFFIX], [LAND_AREA], [SURVEY_PLAN_NUMBER], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [MUNICIPAL_ZONING], [IS_VOLUMETRIC_PARCEL], [VOLUMETRIC_MEASUREMENT], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [IS_PROVINCIAL_PUBLIC_HWY], [PPH_STATUS_UPDATE_USERID], [PPH_STATUS_UPDATE_TIMESTAMP], [PPH_STATUS_UPDATE_USER_GUID], [IS_RWY_BELT_DOM_PATENT], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [PROPERTY_ID], [PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [VOLUMETRIC_TYPE_CODE], [VOLUME_UNIT_TYPE_CODE], [PPH_STATUS_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [FILE_NUMBER], [FILE_NUMBER_SUFFIX], [LAND_AREA], [SURVEY_PLAN_NUMBER], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [MUNICIPAL_ZONING], [IS_VOLUMETRIC_PARCEL], [VOLUMETRIC_MEASUREMENT], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [IS_PROVINCIAL_PUBLIC_HWY], [PPH_STATUS_UPDATE_USERID], [PPH_STATUS_UPDATE_TIMESTAMP], [PPH_STATUS_UPDATE_USER_GUID], [IS_RWY_BELT_DOM_PATENT], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_H_ID_SEQ]) as [_PROPERTY_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ORGADD_I_S_U_TR] ON PIMS_ORGANIZATION_ADDRESS INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PRACQF_I_S_U_TR] ON PIMS_PROPERTY_ACQUISITION_FILE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ORGANIZATION_ADDRESS_ID = deleted.ORGANIZATION_ADDRESS_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_ACQUISITION_FILE_ID = deleted.PROPERTY_ACQUISITION_FILE_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_ORGANIZATION_ADDRESS - set "ORGANIZATION_ADDRESS_ID" = inserted."ORGANIZATION_ADDRESS_ID", - "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", - "ADDRESS_ID" = inserted."ADDRESS_ID", - "ADDRESS_USAGE_TYPE_CODE" = inserted."ADDRESS_USAGE_TYPE_CODE", + update PIMS_PROPERTY_ACQUISITION_FILE + set "PROPERTY_ACQUISITION_FILE_ID" = inserted."PROPERTY_ACQUISITION_FILE_ID", + "ACQUISITION_FILE_ID" = inserted."ACQUISITION_FILE_ID", + "PROPERTY_ID" = inserted."PROPERTY_ID", + "PROPERTY_NAME" = inserted."PROPERTY_NAME", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "IS_DISABLED" = inserted."IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", @@ -20012,100 +20208,57 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ORGANIZATION_ADDRESS + from PIMS_PROPERTY_ACQUISITION_FILE inner join inserted - on (PIMS_ORGANIZATION_ADDRESS.ORGANIZATION_ADDRESS_ID = inserted.ORGANIZATION_ADDRESS_ID); + on (PIMS_PROPERTY_ACQUISITION_FILE.PROPERTY_ACQUISITION_FILE_ID = inserted.PROPERTY_ACQUISITION_FILE_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_SECDEP_I_S_I_TR] ON PIMS_SECURITY_DEPOSIT INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_FINACT_A_S_IUD_TR] ON PIMS_FINANCIAL_ACTIVITY_CODE FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) RETURN; + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_FINANCIAL_ACTIVITY_CODE_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; - insert into PIMS_SECURITY_DEPOSIT ("SECURITY_DEPOSIT_ID", - "LEASE_ID", - "SECURITY_DEPOSIT_TYPE_CODE", - "OTHER_DEPOSIT_TYPE_DESC", - "DESCRIPTION", - "AMOUNT_PAID", - "DEPOSIT_DATE", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY") - select "SECURITY_DEPOSIT_ID", - "LEASE_ID", - "SECURITY_DEPOSIT_TYPE_CODE", - "OTHER_DEPOSIT_TYPE_DESC", - "DESCRIPTION", - "AMOUNT_PAID", - "DEPOSIT_DATE", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" - from inserted; + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_FINANCIAL_ACTIVITY_CODE_HIST ([ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _FINANCIAL_ACTIVITY_CODE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE_H_ID_SEQ]) as [_FINANCIAL_ACTIVITY_CODE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PERORG_I_S_I_TR] ON PIMS_PERSON_ORGANIZATION INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_RRESPT_I_S_I_TR] ON PIMS_PROP_RESEARCH_PURPOSE_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_PERSON_ORGANIZATION ("PERSON_ORGANIZATION_ID", - "PERSON_ID", - "ORGANIZATION_ID", + insert into PIMS_PROP_RESEARCH_PURPOSE_TYPE ("PROP_RESEARCH_PURPOSE_TYPE_CODE", + "DESCRIPTION", "IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY") - select "PERSON_ORGANIZATION_ID", - "PERSON_ID", - "ORGANIZATION_ID", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "PROP_RESEARCH_PURPOSE_TYPE_CODE", + "DESCRIPTION", "IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" from inserted; END TRY @@ -20113,80 +20266,40 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_RESPCD_I_S_U_TR] ON PIMS_RESPONSIBILITY_CODE INSTEAD OF UPDATE AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_RESPONSIBILITY_CODE - set "ID" = inserted."ID", - "CODE" = inserted."CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "EFFECTIVE_DATE" = inserted."EFFECTIVE_DATE", - "EXPIRY_DATE" = inserted."EXPIRY_DATE", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_RESPONSIBILITY_CODE - inner join inserted - on (PIMS_RESPONSIBILITY_CODE.ID = inserted.ID); - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ORGTYP_I_S_U_TR] ON PIMS_ORGANIZATION_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PRADJL_I_S_U_TR] ON PIMS_PROPERTY_ADJACENT_LAND_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ORGANIZATION_TYPE_CODE = deleted.ORGANIZATION_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_ADJACENT_LAND_TYPE_CODE = deleted.PROPERTY_ADJACENT_LAND_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_ORGANIZATION_TYPE - set "ORGANIZATION_TYPE_CODE" = inserted."ORGANIZATION_TYPE_CODE", + update PIMS_PROPERTY_ADJACENT_LAND_TYPE + set "PROPERTY_ADJACENT_LAND_TYPE_CODE" = inserted."PROPERTY_ADJACENT_LAND_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ORGANIZATION_TYPE + from PIMS_PROPERTY_ADJACENT_LAND_TYPE inner join inserted - on (PIMS_ORGANIZATION_TYPE.ORGANIZATION_TYPE_CODE = inserted.ORGANIZATION_TYPE_CODE); + on (PIMS_PROPERTY_ADJACENT_LAND_TYPE.PROPERTY_ADJACENT_LAND_TYPE_CODE = inserted.PROPERTY_ADJACENT_LAND_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_YRFINC_A_S_IUD_TR] ON PIMS_YEARLY_FINANCIAL_CODE FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_INSRNC_A_S_IUD_TR] ON PIMS_INSURANCE FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -20196,109 +20309,210 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_YEARLY_FINANCIAL_CODE_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; + update PIMS_INSURANCE_HIST set END_DATE_HIST = @curr_date where INSURANCE_ID in (select INSURANCE_ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_YEARLY_FINANCIAL_CODE_HIST ([ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _YEARLY_FINANCIAL_CODE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_YEARLY_FINANCIAL_CODE_H_ID_SEQ]) as [_YEARLY_FINANCIAL_CODE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_INSURANCE_HIST ([INSURANCE_ID], [LEASE_ID], [INSURANCE_TYPE_CODE], [OTHER_INSURANCE_TYPE], [COVERAGE_DESCRIPTION], [COVERAGE_LIMIT], [IS_INSURANCE_IN_PLACE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _INSURANCE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [INSURANCE_ID], [LEASE_ID], [INSURANCE_TYPE_CODE], [OTHER_INSURANCE_TYPE], [COVERAGE_DESCRIPTION], [COVERAGE_LIMIT], [IS_INSURANCE_IN_PLACE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_INSURANCE_H_ID_SEQ]) as [_INSURANCE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRPSVC_A_S_IUD_TR] ON PIMS_PROPERTY_SERVICE_FILE FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_PRPRTY_I_S_I_TR] ON PIMS_PROPERTY INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM inserted) RETURN; - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_PROPERTY_SERVICE_FILE_HIST set END_DATE_HIST = @curr_date where PROPERTY_SERVICE_FILE_ID in (select PROPERTY_SERVICE_FILE_ID from deleted) and END_DATE_HIST is null; - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_PROPERTY_SERVICE_FILE_HIST ([PROPERTY_SERVICE_FILE_ID], [PROPERTY_SERVICE_FILE_TYPE_CODE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_SERVICE_FILE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [PROPERTY_SERVICE_FILE_ID], [PROPERTY_SERVICE_FILE_TYPE_CODE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_SERVICE_FILE_H_ID_SEQ]) as [_PROPERTY_SERVICE_FILE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_PROPERTY ("PROPERTY_ID", + "PROPERTY_MANAGER_ID", + "PROP_MGMT_ORG_ID", + "PROPERTY_TYPE_CODE", + "PROPERTY_CLASSIFICATION_TYPE_CODE", + "ADDRESS_ID", + "REGION_CODE", + "DISTRICT_CODE", + "PROPERTY_AREA_UNIT_TYPE_CODE", + "PROPERTY_DATA_SOURCE_TYPE_CODE", + "PROPERTY_STATUS_TYPE_CODE", + "SURPLUS_DECLARATION_TYPE_CODE", + "VOLUMETRIC_TYPE_CODE", + "VOLUME_UNIT_TYPE_CODE", + "PPH_STATUS_TYPE_CODE", + "PROPERTY_DATA_SOURCE_EFFECTIVE_DATE", + "NAME", + "DESCRIPTION", + "PID", + "PIN", + "FILE_NUMBER", + "FILE_NUMBER_SUFFIX", + "LAND_AREA", + "LAND_LEGAL_DESCRIPTION", + "BOUNDARY", + "LOCATION", + "SURVEY_PLAN_NUMBER", + "ENCUMBRANCE_REASON", + "SURPLUS_DECLARATION_COMMENT", + "SURPLUS_DECLARATION_DATE", + "NOTES", + "MUNICIPAL_ZONING", + "IS_VOLUMETRIC_PARCEL", + "VOLUMETRIC_MEASUREMENT", + "IS_OWNED", + "IS_PROPERTY_OF_INTEREST", + "IS_VISIBLE_TO_OTHER_AGENCIES", + "IS_SENSITIVE", + "IS_PROVINCIAL_PUBLIC_HWY", + "PPH_STATUS_UPDATE_USERID", + "PPH_STATUS_UPDATE_TIMESTAMP", + "PPH_STATUS_UPDATE_USER_GUID", + "IS_RWY_BELT_DOM_PATENT", + "ZONING", + "ZONING_POTENTIAL", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "PROPERTY_ID", + "PROPERTY_MANAGER_ID", + "PROP_MGMT_ORG_ID", + "PROPERTY_TYPE_CODE", + "PROPERTY_CLASSIFICATION_TYPE_CODE", + "ADDRESS_ID", + "REGION_CODE", + "DISTRICT_CODE", + "PROPERTY_AREA_UNIT_TYPE_CODE", + "PROPERTY_DATA_SOURCE_TYPE_CODE", + "PROPERTY_STATUS_TYPE_CODE", + "SURPLUS_DECLARATION_TYPE_CODE", + "VOLUMETRIC_TYPE_CODE", + "VOLUME_UNIT_TYPE_CODE", + "PPH_STATUS_TYPE_CODE", + "PROPERTY_DATA_SOURCE_EFFECTIVE_DATE", + "NAME", + "DESCRIPTION", + "PID", + "PIN", + "FILE_NUMBER", + "FILE_NUMBER_SUFFIX", + "LAND_AREA", + "LAND_LEGAL_DESCRIPTION", + "BOUNDARY", + "LOCATION", + "SURVEY_PLAN_NUMBER", + "ENCUMBRANCE_REASON", + "SURPLUS_DECLARATION_COMMENT", + "SURPLUS_DECLARATION_DATE", + "NOTES", + "MUNICIPAL_ZONING", + "IS_VOLUMETRIC_PARCEL", + "VOLUMETRIC_MEASUREMENT", + "IS_OWNED", + "IS_PROPERTY_OF_INTEREST", + "IS_VISIBLE_TO_OTHER_AGENCIES", + "IS_SENSITIVE", + "IS_PROVINCIAL_PUBLIC_HWY", + "PPH_STATUS_UPDATE_USERID", + "PPH_STATUS_UPDATE_TIMESTAMP", + "PPH_STATUS_UPDATE_USER_GUID", + "IS_RWY_BELT_DOM_PATENT", + "ZONING", + "ZONING_POTENTIAL", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PPHSTT_I_S_I_TR] ON PIMS_PPH_STATUS_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PRANOM_I_S_U_TR] ON PIMS_PROPERTY_ANOMALY_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) + IF NOT EXISTS(SELECT * FROM deleted) RETURN; - - insert into PIMS_PPH_STATUS_TYPE ("PPH_STATUS_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "PPH_STATUS_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" - from inserted; + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_ANOMALY_TYPE_CODE = deleted.PROPERTY_ANOMALY_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROPERTY_ANOMALY_TYPE + set "PROPERTY_ANOMALY_TYPE_CODE" = inserted."PROPERTY_ANOMALY_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROPERTY_ANOMALY_TYPE + inner join inserted + on (PIMS_PROPERTY_ANOMALY_TYPE.PROPERTY_ANOMALY_TYPE_CODE = inserted.PROPERTY_ANOMALY_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_AQFPPT_I_S_I_TR] ON PIMS_ACQ_FL_PERSON_PROFILE_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_LEASE_A_S_IUD_TR] ON PIMS_LEASE FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) RETURN; - - insert into PIMS_ACQ_FL_PERSON_PROFILE_TYPE ("ACQ_FL_PERSON_PROFILE_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "ACQ_FL_PERSON_PROFILE_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" - from inserted; + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_LEASE_HIST set END_DATE_HIST = @curr_date where LEASE_ID in (select LEASE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_LEASE_HIST ([LEASE_ID], [LEASE_PAY_RVBL_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_STATUS_TYPE_CODE], [REGION_CODE], [L_FILE_NO], [TFA_FILE_NO], [TFA_FILE_NUMBER], [PS_FILE_NO], [LEASE_CATEGORY_OTHER_DESC], [LEASE_PURPOSE_OTHER_DESC], [MOTI_CONTACT], [DOCUMENTATION_REFERENCE], [OTHER_LEASE_PROGRAM_TYPE], [OTHER_LEASE_LICENSE_TYPE], [OTHER_LEASE_PURPOSE_TYPE], [ORIG_START_DATE], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [RESPONSIBILITY_EFFECTIVE_DATE], [INSPECTION_DATE], [IS_SUBJECT_TO_RTA], [IS_COMM_BLDG], [IS_OTHER_IMPROVEMENT], [IS_EXPIRED], [HAS_PHYSICAL_FILE], [HAS_DIGITAL_FILE], [HAS_PHYSICIAL_LICENSE], [HAS_DIGITAL_LICENSE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _LEASE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [LEASE_ID], [LEASE_PAY_RVBL_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_STATUS_TYPE_CODE], [REGION_CODE], [L_FILE_NO], [TFA_FILE_NO], [TFA_FILE_NUMBER], [PS_FILE_NO], [LEASE_CATEGORY_OTHER_DESC], [LEASE_PURPOSE_OTHER_DESC], [MOTI_CONTACT], [DOCUMENTATION_REFERENCE], [OTHER_LEASE_PROGRAM_TYPE], [OTHER_LEASE_LICENSE_TYPE], [OTHER_LEASE_PURPOSE_TYPE], [ORIG_START_DATE], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [RESPONSIBILITY_EFFECTIVE_DATE], [INSPECTION_DATE], [IS_SUBJECT_TO_RTA], [IS_COMM_BLDG], [IS_OTHER_IMPROVEMENT], [IS_EXPIRED], [HAS_PHYSICAL_FILE], [HAS_DIGITAL_FILE], [HAS_PHYSICIAL_LICENSE], [HAS_DIGITAL_LICENSE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_LEASE_H_ID_SEQ]) as [_LEASE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_SCDPHL_I_S_I_TR] ON PIMS_SECURITY_DEPOSIT_HOLDER INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PRACQF_I_S_I_TR] ON PIMS_PROPERTY_ACQUISITION_FILE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_SECURITY_DEPOSIT_HOLDER ("SECURITY_DEPOSIT_HOLDER_ID", - "SECURITY_DEPOSIT_ID", - "PERSON_ID", - "ORGANIZATION_ID", + insert into PIMS_PROPERTY_ACQUISITION_FILE ("PROPERTY_ACQUISITION_FILE_ID", + "ACQUISITION_FILE_ID", + "PROPERTY_ID", + "PROPERTY_NAME", + "DISPLAY_ORDER", + "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -20308,10 +20522,12 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "SECURITY_DEPOSIT_HOLDER_ID", - "SECURITY_DEPOSIT_ID", - "PERSON_ID", - "ORGANIZATION_ID", + select "PROPERTY_ACQUISITION_FILE_ID", + "ACQUISITION_FILE_ID", + "PROPERTY_ID", + "PROPERTY_NAME", + "DISPLAY_ORDER", + "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -20328,111 +20544,107 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PERSON_I_S_U_TR] ON PIMS_PERSON INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PRPCLT_I_S_U_TR] ON PIMS_PROPERTY_CLASSIFICATION_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PERSON_ID = deleted.PERSON_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_CLASSIFICATION_TYPE_CODE = deleted.PROPERTY_CLASSIFICATION_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_PERSON - set "PERSON_ID" = inserted."PERSON_ID", - "SURNAME" = inserted."SURNAME", - "FIRST_NAME" = inserted."FIRST_NAME", - "MIDDLE_NAMES" = inserted."MIDDLE_NAMES", - "NAME_SUFFIX" = inserted."NAME_SUFFIX", - "PREFERRED_NAME" = inserted."PREFERRED_NAME", - "BIRTH_DATE" = inserted."BIRTH_DATE", - "COMMENT" = inserted."COMMENT", - "ADDRESS_COMMENT" = inserted."ADDRESS_COMMENT", - "USE_ORGANIZATION_ADDRESS" = inserted."USE_ORGANIZATION_ADDRESS", + update PIMS_PROPERTY_CLASSIFICATION_TYPE + set "PROPERTY_CLASSIFICATION_TYPE_CODE" = inserted."PROPERTY_CLASSIFICATION_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PERSON + from PIMS_PROPERTY_CLASSIFICATION_TYPE inner join inserted - on (PIMS_PERSON.PERSON_ID = inserted.PERSON_ID); + on (PIMS_PROPERTY_CLASSIFICATION_TYPE.PROPERTY_CLASSIFICATION_TYPE_CODE = inserted.PROPERTY_CLASSIFICATION_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACRQST_I_S_U_TR] ON PIMS_ACCESS_REQUEST INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_LESCON_A_S_IUD_TR] ON PIMS_LEASE_CONSULTATION FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) RETURN; - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACCESS_REQUEST_ID = deleted.ACCESS_REQUEST_ID) - raiserror('CONCURRENCY FAILURE.',16,1) + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_LEASE_CONSULTATION_HIST set END_DATE_HIST = @curr_date where LEASE_CONSULTATION_ID in (select LEASE_CONSULTATION_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_LEASE_CONSULTATION_HIST ([LEASE_CONSULTATION_ID], [LEASE_ID], [CONSULTATION_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USER_DIRECTORY], [APP_CREATE_USER_GUID], [APP_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USER_DIRECTORY], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USERID], [CONCURRENCY_CONTROL_NUMBER], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], [IS_DISABLED], _LEASE_CONSULTATION_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [LEASE_CONSULTATION_ID], [LEASE_ID], [CONSULTATION_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USER_DIRECTORY], [APP_CREATE_USER_GUID], [APP_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USER_DIRECTORY], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USERID], [CONCURRENCY_CONTROL_NUMBER], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], [IS_DISABLED], (next value for [dbo].[PIMS_LEASE_CONSULTATION_H_ID_SEQ]) as [_LEASE_CONSULTATION_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO - -- update statement - update PIMS_ACCESS_REQUEST - set "ACCESS_REQUEST_ID" = inserted."ACCESS_REQUEST_ID", - "USER_ID" = inserted."USER_ID", - "ROLE_ID" = inserted."ROLE_ID", - "ACCESS_REQUEST_STATUS_TYPE_CODE" = inserted."ACCESS_REQUEST_STATUS_TYPE_CODE", - "REGION_CODE" = inserted."REGION_CODE", - "NOTE" = inserted."NOTE", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ACCESS_REQUEST - inner join inserted - on (PIMS_ACCESS_REQUEST.ACCESS_REQUEST_ID = inserted.ACCESS_REQUEST_ID); +CREATE TRIGGER [dbo].[PIMS_PRADJL_I_S_I_TR] ON PIMS_PROPERTY_ADJACENT_LAND_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROPERTY_ADJACENT_LAND_TYPE ("PROPERTY_ADJACENT_LAND_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "PROPERTY_ADJACENT_LAND_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ROLE_I_S_U_TR] ON PIMS_ROLE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PRPEVL_I_S_U_TR] ON PIMS_PROPERTY_EVALUATION INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ROLE_ID = deleted.ROLE_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_EVALUATION_ID = deleted.PROPERTY_EVALUATION_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_ROLE - set "ROLE_ID" = inserted."ROLE_ID", - "ROLE_UID" = inserted."ROLE_UID", - "KEYCLOAK_GROUP_ID" = inserted."KEYCLOAK_GROUP_ID", - "NAME" = inserted."NAME", - "DESCRIPTION" = inserted."DESCRIPTION", - "IS_PUBLIC" = inserted."IS_PUBLIC", - "IS_DISABLED" = inserted."IS_DISABLED", - "SORT_ORDER" = inserted."SORT_ORDER", + update PIMS_PROPERTY_EVALUATION + set "PROPERTY_EVALUATION_ID" = inserted."PROPERTY_EVALUATION_ID", + "PROPERTY_ID" = inserted."PROPERTY_ID", + "EVALUATION_DATE" = inserted."EVALUATION_DATE", + "KEY" = inserted."KEY", + "VALUE" = inserted."VALUE", + "NOTE" = inserted."NOTE", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", @@ -20440,19 +20652,18 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ROLE + from PIMS_PROPERTY_EVALUATION inner join inserted - on (PIMS_ROLE.ROLE_ID = inserted.ROLE_ID); + on (PIMS_PROPERTY_EVALUATION.PROPERTY_EVALUATION_ID = inserted.PROPERTY_EVALUATION_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACQAIN_A_S_IUD_TR] ON PIMS_ACQUISITION_ACTIVITY_INSTANCE FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_LESDOC_A_S_IUD_TR] ON PIMS_LEASE_DOCUMENT FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -20462,33 +20673,32 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_ACQUISITION_ACTIVITY_INSTANCE_HIST set END_DATE_HIST = @curr_date where ACQUISITION_ACTIVITY_INSTANCE_ID in (select ACQUISITION_ACTIVITY_INSTANCE_ID from deleted) and END_DATE_HIST is null; + update PIMS_LEASE_DOCUMENT_HIST set END_DATE_HIST = @curr_date where LEASE_DOCUMENT_ID in (select LEASE_DOCUMENT_ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_ACQUISITION_ACTIVITY_INSTANCE_HIST ([ACQUISITION_ACTIVITY_INSTANCE_ID], [ACQUISITION_FILE_ID], [ACTIVITY_INSTANCE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USER_DIRECTORY], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACQUISITION_ACTIVITY_INSTANCE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ACQUISITION_ACTIVITY_INSTANCE_ID], [ACQUISITION_FILE_ID], [ACTIVITY_INSTANCE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USER_DIRECTORY], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE_H_ID_SEQ]) as [_ACQUISITION_ACTIVITY_INSTANCE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_LEASE_DOCUMENT_HIST ([LEASE_DOCUMENT_ID], [LEASE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _LEASE_DOCUMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [LEASE_DOCUMENT_ID], [LEASE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_LEASE_DOCUMENT_H_ID_SEQ]) as [_LEASE_DOCUMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACQPFS_I_S_I_TR] ON PIMS_ACQ_PHYS_FILE_STATUS_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PRANOM_I_S_I_TR] ON PIMS_PROPERTY_ANOMALY_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_ACQ_PHYS_FILE_STATUS_TYPE ("ACQ_PHYS_FILE_STATUS_TYPE_CODE", + insert into PIMS_PROPERTY_ANOMALY_TYPE ("PROPERTY_ANOMALY_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER") - select "ACQ_PHYS_FILE_STATUS_TYPE_CODE", + select "PROPERTY_ANOMALY_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", @@ -20500,10 +20710,46 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PIMPRV_I_S_U_TR] ON PIMS_PROPERTY_IMPROVEMENT INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_IMPROVEMENT_ID = deleted.PROPERTY_IMPROVEMENT_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROPERTY_IMPROVEMENT + set "PROPERTY_IMPROVEMENT_ID" = inserted."PROPERTY_IMPROVEMENT_ID", + "LEASE_ID" = inserted."LEASE_ID", + "PROPERTY_IMPROVEMENT_TYPE_CODE" = inserted."PROPERTY_IMPROVEMENT_TYPE_CODE", + "IMPROVEMENT_DESCRIPTION" = inserted."IMPROVEMENT_DESCRIPTION", + "STRUCTURE_SIZE" = inserted."STRUCTURE_SIZE", + "ADDRESS" = inserted."ADDRESS", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROPERTY_IMPROVEMENT + inner join inserted + on (PIMS_PROPERTY_IMPROVEMENT.PROPERTY_IMPROVEMENT_ID = inserted.PROPERTY_IMPROVEMENT_ID); +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_PRPTAX_A_S_IUD_TR] ON PIMS_PROPERTY_TAX FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_LESNOT_A_S_IUD_TR] ON PIMS_LEASE_NOTE FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -20513,51 +20759,36 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_PROPERTY_TAX_HIST set END_DATE_HIST = @curr_date where PROPERTY_TAX_ID in (select PROPERTY_TAX_ID from deleted) and END_DATE_HIST is null; + update PIMS_LEASE_NOTE_HIST set END_DATE_HIST = @curr_date where LEASE_NOTE_ID in (select LEASE_NOTE_ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_PROPERTY_TAX_HIST ([PROPERTY_TAX_ID], [PROPERTY_ID], [PROPERTY_TAX_REMIT_TYPE_CODE], [TAX_FOLIO_NO], [PAYMENT_AMOUNT], [LAST_PAYMENT_DATE], [PAYMENT_NOTES], [BCTFA_NOTIFICATION_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_TAX_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [PROPERTY_TAX_ID], [PROPERTY_ID], [PROPERTY_TAX_REMIT_TYPE_CODE], [TAX_FOLIO_NO], [PAYMENT_AMOUNT], [LAST_PAYMENT_DATE], [PAYMENT_NOTES], [BCTFA_NOTIFICATION_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_TAX_H_ID_SEQ]) as [_PROPERTY_TAX_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_LEASE_NOTE_HIST ([LEASE_NOTE_ID], [LEASE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _LEASE_NOTE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [LEASE_NOTE_ID], [LEASE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_LEASE_NOTE_H_ID_SEQ]) as [_LEASE_NOTE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRSPRP_I_S_I_TR] ON PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PRPCLT_I_S_I_TR] ON PIMS_PROPERTY_CLASSIFICATION_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE ("PRF_PROP_RESEARCH_PURPOSE_ID", - "PROPERTY_RESEARCH_FILE_ID", - "PROP_RESEARCH_PURPOSE_TYPE_CODE", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY") - select "PRF_PROP_RESEARCH_PURPOSE_ID", - "PROPERTY_RESEARCH_FILE_ID", - "PROP_RESEARCH_PURPOSE_TYPE_CODE", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" + insert into PIMS_PROPERTY_CLASSIFICATION_TYPE ("PROPERTY_CLASSIFICATION_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "PROPERTY_CLASSIFICATION_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" from inserted; END TRY @@ -20565,59 +20796,75 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACRQOR_I_S_U_TR] ON PIMS_ACCESS_REQUEST_ORGANIZATION INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PIMPRT_I_S_U_TR] ON PIMS_PROPERTY_IMPROVEMENT_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACCESS_REQUEST_ORGANIZATION_ID = deleted.ACCESS_REQUEST_ORGANIZATION_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_IMPROVEMENT_TYPE_CODE = deleted.PROPERTY_IMPROVEMENT_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_ACCESS_REQUEST_ORGANIZATION - set "ACCESS_REQUEST_ORGANIZATION_ID" = inserted."ACCESS_REQUEST_ORGANIZATION_ID", - "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", - "ACCESS_REQUEST_ID" = inserted."ACCESS_REQUEST_ID", + update PIMS_PROPERTY_IMPROVEMENT_TYPE + set "PROPERTY_IMPROVEMENT_TYPE_CODE" = inserted."PROPERTY_IMPROVEMENT_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ACCESS_REQUEST_ORGANIZATION + from PIMS_PROPERTY_IMPROVEMENT_TYPE inner join inserted - on (PIMS_ACCESS_REQUEST_ORGANIZATION.ACCESS_REQUEST_ORGANIZATION_ID = inserted.ACCESS_REQUEST_ORGANIZATION_ID); + on (PIMS_PROPERTY_IMPROVEMENT_TYPE.PROPERTY_IMPROVEMENT_TYPE_CODE = inserted.PROPERTY_IMPROVEMENT_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSACIN_A_S_IUD_TR] ON PIMS_LEASE_ACTIVITY_INSTANCE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_LEASE_ACTIVITY_INSTANCE_HIST set END_DATE_HIST = @curr_date where LEASE_ACTIVITY_INSTANCE_ID in (select LEASE_ACTIVITY_INSTANCE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_LEASE_ACTIVITY_INSTANCE_HIST ([LEASE_ACTIVITY_INSTANCE_ID], [ACTIVITY_INSTANCE_ID], [LEASE_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _LEASE_ACTIVITY_INSTANCE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [LEASE_ACTIVITY_INSTANCE_ID], [ACTIVITY_INSTANCE_ID], [LEASE_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE_H_ID_SEQ]) as [_LEASE_ACTIVITY_INSTANCE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_SDRTRN_I_S_I_TR] ON PIMS_SECURITY_DEPOSIT_RETURN INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PRPEVL_I_S_I_TR] ON PIMS_PROPERTY_EVALUATION INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_SECURITY_DEPOSIT_RETURN ("SECURITY_DEPOSIT_RETURN_ID", - "SECURITY_DEPOSIT_ID", - "TERMINATION_DATE", - "CLAIMS_AGAINST", - "RETURN_AMOUNT", - "RETURN_DATE", - "INTEREST_PAID", + insert into PIMS_PROPERTY_EVALUATION ("PROPERTY_EVALUATION_ID", + "PROPERTY_ID", + "EVALUATION_DATE", + "KEY", + "VALUE", + "NOTE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -20627,13 +20874,12 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "SECURITY_DEPOSIT_RETURN_ID", - "SECURITY_DEPOSIT_ID", - "TERMINATION_DATE", - "CLAIMS_AGAINST", - "RETURN_AMOUNT", - "RETURN_DATE", - "INTEREST_PAID", + select "PROPERTY_EVALUATION_ID", + "PROPERTY_ID", + "EVALUATION_DATE", + "KEY", + "VALUE", + "NOTE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -20650,27 +20896,27 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PERADD_I_S_U_TR] ON PIMS_PERSON_ADDRESS INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PROPLS_I_S_U_TR] ON PIMS_PROPERTY_LEASE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PERSON_ADDRESS_ID = deleted.PERSON_ADDRESS_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_LEASE_ID = deleted.PROPERTY_LEASE_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_PERSON_ADDRESS - set "PERSON_ADDRESS_ID" = inserted."PERSON_ADDRESS_ID", - "PERSON_ID" = inserted."PERSON_ID", - "ADDRESS_ID" = inserted."ADDRESS_ID", - "ADDRESS_USAGE_TYPE_CODE" = inserted."ADDRESS_USAGE_TYPE_CODE", - "IS_DISABLED" = inserted."IS_DISABLED", + update PIMS_PROPERTY_LEASE + set "PROPERTY_LEASE_ID" = inserted."PROPERTY_LEASE_ID", + "PROPERTY_ID" = inserted."PROPERTY_ID", + "LEASE_ID" = inserted."LEASE_ID", + "AREA_UNIT_TYPE_CODE" = inserted."AREA_UNIT_TYPE_CODE", + "NAME" = inserted."NAME", + "LEASE_AREA" = inserted."LEASE_AREA", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", @@ -20678,47 +20924,73 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PERSON_ADDRESS + from PIMS_PROPERTY_LEASE inner join inserted - on (PIMS_PERSON_ADDRESS.PERSON_ADDRESS_ID = inserted.PERSON_ADDRESS_ID); + on (PIMS_PROPERTY_LEASE.PROPERTY_LEASE_ID = inserted.PROPERTY_LEASE_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSPYMT_A_S_IUD_TR] ON PIMS_LEASE_PAYMENT FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_LEASE_PAYMENT_HIST set END_DATE_HIST = @curr_date where LEASE_PAYMENT_ID in (select LEASE_PAYMENT_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_LEASE_PAYMENT_HIST ([LEASE_PAYMENT_ID], [LEASE_TERM_ID], [LEASE_PAYMENT_METHOD_TYPE_CODE], [LEASE_PAYMENT_STATUS_TYPE_CODE], [PAYMENT_RECEIVED_DATE], [PAYMENT_AMOUNT_PRE_TAX], [PAYMENT_AMOUNT_PST], [PAYMENT_AMOUNT_GST], [PAYMENT_AMOUNT_TOTAL], [NOTE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _LEASE_PAYMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [LEASE_PAYMENT_ID], [LEASE_TERM_ID], [LEASE_PAYMENT_METHOD_TYPE_CODE], [LEASE_PAYMENT_STATUS_TYPE_CODE], [PAYMENT_RECEIVED_DATE], [PAYMENT_AMOUNT_PRE_TAX], [PAYMENT_AMOUNT_PST], [PAYMENT_AMOUNT_GST], [PAYMENT_AMOUNT_TOTAL], [NOTE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_LEASE_PAYMENT_H_ID_SEQ]) as [_LEASE_PAYMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_ACQAIN_I_S_I_TR] ON PIMS_ACQUISITION_ACTIVITY_INSTANCE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PIMPRV_I_S_I_TR] ON PIMS_PROPERTY_IMPROVEMENT INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_ACQUISITION_ACTIVITY_INSTANCE ("ACQUISITION_ACTIVITY_INSTANCE_ID", - "ACQUISITION_FILE_ID", - "ACTIVITY_INSTANCE_ID", - "IS_DISABLED", + insert into PIMS_PROPERTY_IMPROVEMENT ("PROPERTY_IMPROVEMENT_ID", + "LEASE_ID", + "PROPERTY_IMPROVEMENT_TYPE_CODE", + "IMPROVEMENT_DESCRIPTION", + "STRUCTURE_SIZE", + "ADDRESS", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", - "APP_CREATE_USER_DIRECTORY", "APP_CREATE_USERID", "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", "APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "ACQUISITION_ACTIVITY_INSTANCE_ID", - "ACQUISITION_FILE_ID", - "ACTIVITY_INSTANCE_ID", - "IS_DISABLED", + select "PROPERTY_IMPROVEMENT_ID", + "LEASE_ID", + "PROPERTY_IMPROVEMENT_TYPE_CODE", + "IMPROVEMENT_DESCRIPTION", + "STRUCTURE_SIZE", + "ADDRESS", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", - "APP_CREATE_USER_DIRECTORY", "APP_CREATE_USERID", "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", "APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", @@ -20730,46 +21002,44 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ROLCLM_I_S_U_TR] ON PIMS_ROLE_CLAIM INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PRPORG_I_S_U_TR] ON PIMS_PROPERTY_ORGANIZATION INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ROLE_CLAIM_ID = deleted.ROLE_CLAIM_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_ORGANIZATION_ID = deleted.PROPERTY_ORGANIZATION_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_ROLE_CLAIM - set "ROLE_CLAIM_ID" = inserted."ROLE_CLAIM_ID", - "ROLE_ID" = inserted."ROLE_ID", - "CLAIM_ID" = inserted."CLAIM_ID", - "IS_DISABLED" = inserted."IS_DISABLED", + update PIMS_PROPERTY_ORGANIZATION + set "PROPERTY_ORGANIZATION_ID" = inserted."PROPERTY_ORGANIZATION_ID", + "PROPERTY_ID" = inserted."PROPERTY_ID", + "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY", + "IS_DISABLED" = inserted."IS_DISABLED" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ROLE_CLAIM + from PIMS_PROPERTY_ORGANIZATION inner join inserted - on (PIMS_ROLE_CLAIM.ROLE_CLAIM_ID = inserted.ROLE_CLAIM_ID); + on (PIMS_PROPERTY_ORGANIZATION.PROPERTY_ORGANIZATION_ID = inserted.PROPERTY_ORGANIZATION_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACQDOC_A_S_IUD_TR] ON PIMS_ACQUISITION_FILE_DOCUMENT FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_LSTERM_A_S_IUD_TR] ON PIMS_LEASE_TERM FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -20779,234 +21049,139 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_ACQUISITION_FILE_DOCUMENT_HIST set END_DATE_HIST = @curr_date where ACQUISITION_FILE_DOCUMENT_ID in (select ACQUISITION_FILE_DOCUMENT_ID from deleted) and END_DATE_HIST is null; + update PIMS_LEASE_TERM_HIST set END_DATE_HIST = @curr_date where LEASE_TERM_ID in (select LEASE_TERM_ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_ACQUISITION_FILE_DOCUMENT_HIST ([ACQUISITION_FILE_DOCUMENT_ID], [ACQUISITION_FILE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACQUISITION_FILE_DOCUMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ACQUISITION_FILE_DOCUMENT_ID], [ACQUISITION_FILE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT_H_ID_SEQ]) as [_ACQUISITION_FILE_DOCUMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_LEASE_TERM_HIST ([LEASE_TERM_ID], [LEASE_ID], [LEASE_TERM_STATUS_TYPE_CODE], [LEASE_PMT_FREQ_TYPE_CODE], [TERM_START_DATE], [TERM_EXPIRY_DATE], [TERM_RENEWAL_DATE], [PAYMENT AMOUNT], [PAYMENT_DUE_DATE], [PAYMENT_NOTE], [IS_GST_ELIGIBLE], [GST_AMOUNT], [IS_TERM_EXERCISED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _LEASE_TERM_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [LEASE_TERM_ID], [LEASE_ID], [LEASE_TERM_STATUS_TYPE_CODE], [LEASE_PMT_FREQ_TYPE_CODE], [TERM_START_DATE], [TERM_EXPIRY_DATE], [TERM_RENEWAL_DATE], [PAYMENT AMOUNT], [PAYMENT_DUE_DATE], [PAYMENT_NOTE], [IS_GST_ELIGIBLE], [GST_AMOUNT], [IS_TERM_EXERCISED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_LEASE_TERM_H_ID_SEQ]) as [_LEASE_TERM_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ARQSTT_I_S_U_TR] ON PIMS_ACCESS_REQUEST_STATUS_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PIMPRT_I_S_I_TR] ON PIMS_PROPERTY_IMPROVEMENT_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM inserted) RETURN; - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACCESS_REQUEST_STATUS_TYPE_CODE = deleted.ACCESS_REQUEST_STATUS_TYPE_CODE) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_ACCESS_REQUEST_STATUS_TYPE - set "ACCESS_REQUEST_STATUS_TYPE_CODE" = inserted."ACCESS_REQUEST_STATUS_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ACCESS_REQUEST_STATUS_TYPE - inner join inserted - on (PIMS_ACCESS_REQUEST_STATUS_TYPE.ACCESS_REQUEST_STATUS_TYPE_CODE = inserted.ACCESS_REQUEST_STATUS_TYPE_CODE); + + insert into PIMS_PROPERTY_IMPROVEMENT_TYPE ("PROPERTY_IMPROVEMENT_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "PROPERTY_IMPROVEMENT_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRSCRC_A_S_IUD_TR] ON PIMS_PROPERTY_RESEARCH_FILE FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_PRPRSF_I_S_U_TR] ON PIMS_PROPERTY_PROPERTY_SERVICE_FILE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM deleted) RETURN; - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_PROPERTY_RESEARCH_FILE_HIST set END_DATE_HIST = @curr_date where PROPERTY_RESEARCH_FILE_ID in (select PROPERTY_RESEARCH_FILE_ID from deleted) and END_DATE_HIST is null; - - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_PROPERTY_RESEARCH_FILE_HIST ([PROPERTY_RESEARCH_FILE_ID], [PROPERTY_ID], [RESEARCH_FILE_ID], [PROPERTY_NAME], [DISPLAY_ORDER], [IS_DISABLED], [IS_LEGAL_OPINION_REQUIRED], [IS_LEGAL_OPINION_OBTAINED], [DOCUMENT_REFERENCE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_RESEARCH_FILE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [PROPERTY_RESEARCH_FILE_ID], [PROPERTY_ID], [RESEARCH_FILE_ID], [PROPERTY_NAME], [DISPLAY_ORDER], [IS_DISABLED], [IS_LEGAL_OPINION_REQUIRED], [IS_LEGAL_OPINION_OBTAINED], [DOCUMENT_REFERENCE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_RESEARCH_FILE_H_ID_SEQ]) as [_PROPERTY_RESEARCH_FILE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_PROPERTY_SERVICE_FILE_ID = deleted.PROPERTY_PROPERTY_SERVICE_FILE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) -CREATE TRIGGER [dbo].[PIMS_PRODCT_I_S_I_TR] ON PIMS_PRODUCT INSTEAD OF INSERT AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) - RETURN; - - insert into PIMS_PRODUCT ("ID", - "PARENT_PROJECT_ID", - "CODE", - "DESCRIPTION", - "START_DATE", - "COST_ESTIMATE", - "COST_ESTIMATE_DATE", - "OBJECTIVE", - "SCOPE", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY") - select "ID", - "PARENT_PROJECT_ID", - "CODE", - "DESCRIPTION", - "START_DATE", - "COST_ESTIMATE", - "COST_ESTIMATE_DATE", - "OBJECTIVE", - "SCOPE", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" - from inserted; + -- update statement + update PIMS_PROPERTY_PROPERTY_SERVICE_FILE + set "PROPERTY_PROPERTY_SERVICE_FILE_ID" = inserted."PROPERTY_PROPERTY_SERVICE_FILE_ID", + "PROPERTY_ID" = inserted."PROPERTY_ID", + "PROPERTY_SERVICE_FILE_ID" = inserted."PROPERTY_SERVICE_FILE_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROPERTY_PROPERTY_SERVICE_FILE + inner join inserted + on (PIMS_PROPERTY_PROPERTY_SERVICE_FILE.PROPERTY_PROPERTY_SERVICE_FILE_ID = inserted.PROPERTY_PROPERTY_SERVICE_FILE_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACQNFL_I_S_I_TR] ON PIMS_ACQUISITION_FILE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_NOTE_A_S_IUD_TR] ON PIMS_NOTE FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) RETURN; + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_NOTE_HIST set END_DATE_HIST = @curr_date where NOTE_ID in (select NOTE_ID from deleted) and END_DATE_HIST is null; - insert into PIMS_ACQUISITION_FILE ("ACQUISITION_FILE_ID", - "PROJECT_ID", - "PRODUCT_ID", - "ACQUISITION_FILE_STATUS_TYPE_CODE", - "ACQUISITION_TYPE_CODE", - "ACQUISITION_FUNDING_TYPE_CODE", - "ACQ_PHYS_FILE_STATUS_TYPE_CODE", - "REGION_CODE", - "MINISTRY_PROJECT_NUMBER", - "MINISTRY_PROJECT_NAME", - "CPS_PRODUCT_CODE", - "FILE_NAME", - "FILE_NO", - "FILE_NUMBER", - "LEGACY_FILE_NUMBER", - "FUNDING_OTHER", - "ASSIGNED_DATE", - "DELIVERY_DATE", - "PAIMS_ACQUISITION_FILE_ID", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY") - select "ACQUISITION_FILE_ID", - "PROJECT_ID", - "PRODUCT_ID", - "ACQUISITION_FILE_STATUS_TYPE_CODE", - "ACQUISITION_TYPE_CODE", - "ACQUISITION_FUNDING_TYPE_CODE", - "ACQ_PHYS_FILE_STATUS_TYPE_CODE", - "REGION_CODE", - "MINISTRY_PROJECT_NUMBER", - "MINISTRY_PROJECT_NAME", - "CPS_PRODUCT_CODE", - "FILE_NAME", - "FILE_NO", - "FILE_NUMBER", - "LEGACY_FILE_NUMBER", - "FUNDING_OTHER", - "ASSIGNED_DATE", - "DELIVERY_DATE", - "PAIMS_ACQUISITION_FILE_ID", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" - from inserted; + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_NOTE_HIST ([NOTE_ID], [NOTE_TXT], [IS_SYSTEM_GENERATED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _NOTE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [NOTE_ID], [NOTE_TXT], [IS_SYSTEM_GENERATED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_NOTE_H_ID_SEQ]) as [_NOTE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_SCDPRH_I_S_I_TR] ON PIMS_SECURITY_DEPOSIT_RETURN_HOLDER INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PROPLS_I_S_I_TR] ON PIMS_PROPERTY_LEASE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_SECURITY_DEPOSIT_RETURN_HOLDER ("SECURITY_DEPOSIT_RETURN_HOLDER_ID", - "SECURITY_DEPOSIT_RETURN_ID", - "PERSON_ID", - "ORGANIZATION_ID", + insert into PIMS_PROPERTY_LEASE ("PROPERTY_LEASE_ID", + "PROPERTY_ID", + "LEASE_ID", + "AREA_UNIT_TYPE_CODE", + "NAME", + "LEASE_AREA", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", "APP_CREATE_USER_GUID", "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "SECURITY_DEPOSIT_RETURN_HOLDER_ID", - "SECURITY_DEPOSIT_RETURN_ID", - "PERSON_ID", - "ORGANIZATION_ID", + select "PROPERTY_LEASE_ID", + "PROPERTY_ID", + "LEASE_ID", + "AREA_UNIT_TYPE_CODE", + "NAME", + "LEASE_AREA", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", "APP_CREATE_USER_GUID", "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY" from inserted; @@ -21015,26 +21190,31 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PERORG_I_S_U_TR] ON PIMS_PERSON_ORGANIZATION INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PRSCRC_I_S_U_TR] ON PIMS_PROPERTY_RESEARCH_FILE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PERSON_ORGANIZATION_ID = deleted.PERSON_ORGANIZATION_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_RESEARCH_FILE_ID = deleted.PROPERTY_RESEARCH_FILE_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_PERSON_ORGANIZATION - set "PERSON_ORGANIZATION_ID" = inserted."PERSON_ORGANIZATION_ID", - "PERSON_ID" = inserted."PERSON_ID", - "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", + update PIMS_PROPERTY_RESEARCH_FILE + set "PROPERTY_RESEARCH_FILE_ID" = inserted."PROPERTY_RESEARCH_FILE_ID", + "PROPERTY_ID" = inserted."PROPERTY_ID", + "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", + "PROPERTY_NAME" = inserted."PROPERTY_NAME", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "IS_DISABLED" = inserted."IS_DISABLED", + "IS_LEGAL_OPINION_REQUIRED" = inserted."IS_LEGAL_OPINION_REQUIRED", + "IS_LEGAL_OPINION_OBTAINED" = inserted."IS_LEGAL_OPINION_OBTAINED", + "DOCUMENT_REFERENCE" = inserted."DOCUMENT_REFERENCE", + "RESEARCH_SUMMARY" = inserted."RESEARCH_SUMMARY", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", @@ -21042,90 +21222,114 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PERSON_ORGANIZATION + from PIMS_PROPERTY_RESEARCH_FILE inner join inserted - on (PIMS_PERSON_ORGANIZATION.PERSON_ORGANIZATION_ID = inserted.PERSON_ORGANIZATION_ID); + on (PIMS_PROPERTY_RESEARCH_FILE.PROPERTY_RESEARCH_FILE_ID = inserted.PROPERTY_RESEARCH_FILE_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_AQFPPT_I_S_U_TR] ON PIMS_ACQ_FL_PERSON_PROFILE_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ORG_A_S_IUD_TR] ON PIMS_ORGANIZATION FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) RETURN; - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQ_FL_PERSON_PROFILE_TYPE_CODE = deleted.ACQ_FL_PERSON_PROFILE_TYPE_CODE) - raiserror('CONCURRENCY FAILURE.',16,1) + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ORGANIZATION_HIST set END_DATE_HIST = @curr_date where ORGANIZATION_ID in (select ORGANIZATION_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ORGANIZATION_HIST ([ORGANIZATION_ID], [PRNT_ORGANIZATION_ID], [REGION_CODE], [DISTRICT_CODE], [ORGANIZATION_TYPE_CODE], [ORG_IDENTIFIER_TYPE_CODE], [ORGANIZATION_IDENTIFIER], [ORGANIZATION_NAME], [ORGANIZATION_ALIAS], [INCORPORATION_NUMBER], [WEBSITE], [COMMENT], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ORGANIZATION_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ORGANIZATION_ID], [PRNT_ORGANIZATION_ID], [REGION_CODE], [DISTRICT_CODE], [ORGANIZATION_TYPE_CODE], [ORG_IDENTIFIER_TYPE_CODE], [ORGANIZATION_IDENTIFIER], [ORGANIZATION_NAME], [ORGANIZATION_ALIAS], [INCORPORATION_NUMBER], [WEBSITE], [COMMENT], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ORGANIZATION_H_ID_SEQ]) as [_ORGANIZATION_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO - -- update statement - update PIMS_ACQ_FL_PERSON_PROFILE_TYPE - set "ACQ_FL_PERSON_PROFILE_TYPE_CODE" = inserted."ACQ_FL_PERSON_PROFILE_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ACQ_FL_PERSON_PROFILE_TYPE - inner join inserted - on (PIMS_ACQ_FL_PERSON_PROFILE_TYPE.ACQ_FL_PERSON_PROFILE_TYPE_CODE = inserted.ACQ_FL_PERSON_PROFILE_TYPE_CODE); +CREATE TRIGGER [dbo].[PIMS_PRPORG_I_S_I_TR] ON PIMS_PROPERTY_ORGANIZATION INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROPERTY_ORGANIZATION ("PROPERTY_ORGANIZATION_ID", + "PROPERTY_ID", + "ORGANIZATION_ID", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY", + "IS_DISABLED") + select "PROPERTY_ORGANIZATION_ID", + "PROPERTY_ID", + "ORGANIZATION_ID", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY", + "IS_DISABLED" + from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_SECDEP_I_S_U_TR] ON PIMS_SECURITY_DEPOSIT INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PRROAD_I_S_U_TR] ON PIMS_PROPERTY_ROAD_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.SECURITY_DEPOSIT_ID = deleted.SECURITY_DEPOSIT_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_ROAD_TYPE_CODE = deleted.PROPERTY_ROAD_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_SECURITY_DEPOSIT - set "SECURITY_DEPOSIT_ID" = inserted."SECURITY_DEPOSIT_ID", - "LEASE_ID" = inserted."LEASE_ID", - "SECURITY_DEPOSIT_TYPE_CODE" = inserted."SECURITY_DEPOSIT_TYPE_CODE", - "OTHER_DEPOSIT_TYPE_DESC" = inserted."OTHER_DEPOSIT_TYPE_DESC", + update PIMS_PROPERTY_ROAD_TYPE + set "PROPERTY_ROAD_TYPE_CODE" = inserted."PROPERTY_ROAD_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", - "AMOUNT_PAID" = inserted."AMOUNT_PAID", - "DEPOSIT_DATE" = inserted."DEPOSIT_DATE", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_SECURITY_DEPOSIT + from PIMS_PROPERTY_ROAD_TYPE inner join inserted - on (PIMS_SECURITY_DEPOSIT.SECURITY_DEPOSIT_ID = inserted.SECURITY_DEPOSIT_ID); + on (PIMS_PROPERTY_ROAD_TYPE.PROPERTY_ROAD_TYPE_CODE = inserted.PROPERTY_ROAD_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACQNFL_A_S_IUD_TR] ON PIMS_ACQUISITION_FILE FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_ORGADD_A_S_IUD_TR] ON PIMS_ORGANIZATION_ADDRESS FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -21135,30 +21339,29 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_ACQUISITION_FILE_HIST set END_DATE_HIST = @curr_date where ACQUISITION_FILE_ID in (select ACQUISITION_FILE_ID from deleted) and END_DATE_HIST is null; + update PIMS_ORGANIZATION_ADDRESS_HIST set END_DATE_HIST = @curr_date where ORGANIZATION_ADDRESS_ID in (select ORGANIZATION_ADDRESS_ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_ACQUISITION_FILE_HIST ([ACQUISITION_FILE_ID], [PROJECT_ID], [PRODUCT_ID], [ACQUISITION_FILE_STATUS_TYPE_CODE], [ACQUISITION_TYPE_CODE], [ACQUISITION_FUNDING_TYPE_CODE], [ACQ_PHYS_FILE_STATUS_TYPE_CODE], [REGION_CODE], [MINISTRY_PROJECT_NUMBER], [MINISTRY_PROJECT_NAME], [CPS_PRODUCT_CODE], [FILE_NAME], [FILE_NO], [FILE_NUMBER], [LEGACY_FILE_NUMBER], [FUNDING_OTHER], [ASSIGNED_DATE], [DELIVERY_DATE], [PAIMS_ACQUISITION_FILE_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACQUISITION_FILE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ACQUISITION_FILE_ID], [PROJECT_ID], [PRODUCT_ID], [ACQUISITION_FILE_STATUS_TYPE_CODE], [ACQUISITION_TYPE_CODE], [ACQUISITION_FUNDING_TYPE_CODE], [ACQ_PHYS_FILE_STATUS_TYPE_CODE], [REGION_CODE], [MINISTRY_PROJECT_NUMBER], [MINISTRY_PROJECT_NAME], [CPS_PRODUCT_CODE], [FILE_NAME], [FILE_NO], [FILE_NUMBER], [LEGACY_FILE_NUMBER], [FUNDING_OTHER], [ASSIGNED_DATE], [DELIVERY_DATE], [PAIMS_ACQUISITION_FILE_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACQUISITION_FILE_H_ID_SEQ]) as [_ACQUISITION_FILE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_ORGANIZATION_ADDRESS_HIST ([ORGANIZATION_ADDRESS_ID], [ORGANIZATION_ID], [ADDRESS_ID], [ADDRESS_USAGE_TYPE_CODE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ORGANIZATION_ADDRESS_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ORGANIZATION_ADDRESS_ID], [ORGANIZATION_ID], [ADDRESS_ID], [ADDRESS_USAGE_TYPE_CODE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ORGANIZATION_ADDRESS_H_ID_SEQ]) as [_ORGANIZATION_ADDRESS_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACQDOC_I_S_I_TR] ON PIMS_ACQUISITION_FILE_DOCUMENT INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PRPRSF_I_S_I_TR] ON PIMS_PROPERTY_PROPERTY_SERVICE_FILE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_ACQUISITION_FILE_DOCUMENT ("ACQUISITION_FILE_DOCUMENT_ID", - "ACQUISITION_FILE_ID", - "DOCUMENT_ID", + insert into PIMS_PROPERTY_PROPERTY_SERVICE_FILE ("PROPERTY_PROPERTY_SERVICE_FILE_ID", + "PROPERTY_ID", + "PROPERTY_SERVICE_FILE_ID", "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", @@ -21169,9 +21372,9 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "ACQUISITION_FILE_DOCUMENT_ID", - "ACQUISITION_FILE_ID", - "DOCUMENT_ID", + select "PROPERTY_PROPERTY_SERVICE_FILE_ID", + "PROPERTY_ID", + "PROPERTY_SERVICE_FILE_ID", "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", @@ -21189,10 +21392,42 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_RESPCD_A_S_IUD_TR] ON PIMS_RESPONSIBILITY_CODE FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_PRPSVC_I_S_U_TR] ON PIMS_PROPERTY_SERVICE_FILE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_SERVICE_FILE_ID = deleted.PROPERTY_SERVICE_FILE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROPERTY_SERVICE_FILE + set "PROPERTY_SERVICE_FILE_ID" = inserted."PROPERTY_SERVICE_FILE_ID", + "PROPERTY_SERVICE_FILE_TYPE_CODE" = inserted."PROPERTY_SERVICE_FILE_TYPE_CODE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROPERTY_SERVICE_FILE + inner join inserted + on (PIMS_PROPERTY_SERVICE_FILE.PROPERTY_SERVICE_FILE_ID = inserted.PROPERTY_SERVICE_FILE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PERADD_A_S_IUD_TR] ON PIMS_PERSON_ADDRESS FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -21202,36 +21437,36 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_RESPONSIBILITY_CODE_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; + update PIMS_PERSON_ADDRESS_HIST set END_DATE_HIST = @curr_date where PERSON_ADDRESS_ID in (select PERSON_ADDRESS_ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_RESPONSIBILITY_CODE_HIST ([ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESPONSIBILITY_CODE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESPONSIBILITY_CODE_H_ID_SEQ]) as [_RESPONSIBILITY_CODE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_PERSON_ADDRESS_HIST ([PERSON_ADDRESS_ID], [PERSON_ID], [ADDRESS_ID], [ADDRESS_USAGE_TYPE_CODE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PERSON_ADDRESS_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PERSON_ADDRESS_ID], [PERSON_ID], [ADDRESS_ID], [ADDRESS_USAGE_TYPE_CODE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PERSON_ADDRESS_H_ID_SEQ]) as [_PERSON_ADDRESS_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PROJCT_I_S_I_TR] ON PIMS_PROJECT INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PRSCRC_I_S_I_TR] ON PIMS_PROPERTY_RESEARCH_FILE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_PROJECT ("ID", - "PROJECT_STATUS_TYPE_CODE", - "BUSINESS_FUNCTION_CODE_ID", - "COST_TYPE_CODE_ID", - "WORK_ACTIVITY_CODE_ID", - "REGION_CODE", - "CODE", - "DESCRIPTION", - "NOTE", + insert into PIMS_PROPERTY_RESEARCH_FILE ("PROPERTY_RESEARCH_FILE_ID", + "PROPERTY_ID", + "RESEARCH_FILE_ID", + "PROPERTY_NAME", + "DISPLAY_ORDER", + "IS_DISABLED", + "IS_LEGAL_OPINION_REQUIRED", + "IS_LEGAL_OPINION_OBTAINED", + "DOCUMENT_REFERENCE", + "RESEARCH_SUMMARY", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -21241,15 +21476,16 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "ID", - "PROJECT_STATUS_TYPE_CODE", - "BUSINESS_FUNCTION_CODE_ID", - "COST_TYPE_CODE_ID", - "WORK_ACTIVITY_CODE_ID", - "REGION_CODE", - "CODE", - "DESCRIPTION", - "NOTE", + select "PROPERTY_RESEARCH_FILE_ID", + "PROPERTY_ID", + "RESEARCH_FILE_ID", + "PROPERTY_NAME", + "DISPLAY_ORDER", + "IS_DISABLED", + "IS_LEGAL_OPINION_REQUIRED", + "IS_LEGAL_OPINION_OBTAINED", + "DOCUMENT_REFERENCE", + "RESEARCH_SUMMARY", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -21266,54 +21502,75 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACQPFS_I_S_U_TR] ON PIMS_ACQ_PHYS_FILE_STATUS_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PRSVFT_I_S_U_TR] ON PIMS_PROPERTY_SERVICE_FILE_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQ_PHYS_FILE_STATUS_TYPE_CODE = deleted.ACQ_PHYS_FILE_STATUS_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_SERVICE_FILE_TYPE_CODE = deleted.PROPERTY_SERVICE_FILE_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_ACQ_PHYS_FILE_STATUS_TYPE - set "ACQ_PHYS_FILE_STATUS_TYPE_CODE" = inserted."ACQ_PHYS_FILE_STATUS_TYPE_CODE", + update PIMS_PROPERTY_SERVICE_FILE_TYPE + set "PROPERTY_SERVICE_FILE_TYPE_CODE" = inserted."PROPERTY_SERVICE_FILE_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ACQ_PHYS_FILE_STATUS_TYPE + from PIMS_PROPERTY_SERVICE_FILE_TYPE inner join inserted - on (PIMS_ACQ_PHYS_FILE_STATUS_TYPE.ACQ_PHYS_FILE_STATUS_TYPE_CODE = inserted.ACQ_PHYS_FILE_STATUS_TYPE_CODE); + on (PIMS_PROPERTY_SERVICE_FILE_TYPE.PROPERTY_SERVICE_FILE_TYPE_CODE = inserted.PROPERTY_SERVICE_FILE_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PERORG_A_S_IUD_TR] ON PIMS_PERSON_ORGANIZATION FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_PERSON_ORGANIZATION_HIST set END_DATE_HIST = @curr_date where PERSON_ORGANIZATION_ID in (select PERSON_ORGANIZATION_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_PERSON_ORGANIZATION_HIST ([PERSON_ORGANIZATION_ID], [PERSON_ID], [ORGANIZATION_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PERSON_ORGANIZATION_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PERSON_ORGANIZATION_ID], [PERSON_ID], [ORGANIZATION_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PERSON_ORGANIZATION_H_ID_SEQ]) as [_PERSON_ORGANIZATION_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_SECDPT_I_S_I_TR] ON PIMS_SECURITY_DEPOSIT_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PRROAD_I_S_I_TR] ON PIMS_PROPERTY_ROAD_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_SECURITY_DEPOSIT_TYPE ("SECURITY_DEPOSIT_TYPE_CODE", + insert into PIMS_PROPERTY_ROAD_TYPE ("PROPERTY_ROAD_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER") - select "SECURITY_DEPOSIT_TYPE_CODE", + select "PROPERTY_ROAD_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", @@ -21325,52 +21582,71 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PPHSTT_I_S_U_TR] ON PIMS_PPH_STATUS_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PRPSTS_I_S_U_TR] ON PIMS_PROPERTY_STATUS_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PPH_STATUS_TYPE_CODE = deleted.PPH_STATUS_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_STATUS_TYPE_CODE = deleted.PROPERTY_STATUS_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_PPH_STATUS_TYPE - set "PPH_STATUS_TYPE_CODE" = inserted."PPH_STATUS_TYPE_CODE", + update PIMS_PROPERTY_STATUS_TYPE + set "PROPERTY_STATUS_TYPE_CODE" = inserted."PROPERTY_STATUS_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PPH_STATUS_TYPE + from PIMS_PROPERTY_STATUS_TYPE inner join inserted - on (PIMS_PPH_STATUS_TYPE.PPH_STATUS_TYPE_CODE = inserted.PPH_STATUS_TYPE_CODE); + on (PIMS_PROPERTY_STATUS_TYPE.PROPERTY_STATUS_TYPE_CODE = inserted.PROPERTY_STATUS_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PERSON_A_S_IUD_TR] ON PIMS_PERSON FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_PERSON_HIST set END_DATE_HIST = @curr_date where PERSON_ID in (select PERSON_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_PERSON_HIST ([PERSON_ID], [SURNAME], [FIRST_NAME], [MIDDLE_NAMES], [NAME_SUFFIX], [PREFERRED_NAME], [BIRTH_DATE], [COMMENT], [ADDRESS_COMMENT], [USE_ORGANIZATION_ADDRESS], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PERSON_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PERSON_ID], [SURNAME], [FIRST_NAME], [MIDDLE_NAMES], [NAME_SUFFIX], [PREFERRED_NAME], [BIRTH_DATE], [COMMENT], [ADDRESS_COMMENT], [USE_ORGANIZATION_ADDRESS], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PERSON_H_ID_SEQ]) as [_PERSON_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_ACQNOT_I_S_I_TR] ON PIMS_ACQUISITION_FILE_NOTE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PRPSVC_I_S_I_TR] ON PIMS_PROPERTY_SERVICE_FILE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_ACQUISITION_FILE_NOTE ("ACQUISITION_FILE_NOTE_ID", - "NOTE_ID", - "ACQUISITION_FILE_ID", - "IS_DISABLED", + insert into PIMS_PROPERTY_SERVICE_FILE ("PROPERTY_SERVICE_FILE_ID", + "PROPERTY_SERVICE_FILE_TYPE_CODE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -21380,10 +21656,8 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "ACQUISITION_FILE_NOTE_ID", - "NOTE_ID", - "ACQUISITION_FILE_ID", - "IS_DISABLED", + select "PROPERTY_SERVICE_FILE_ID", + "PROPERTY_SERVICE_FILE_TYPE_CODE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -21400,26 +21674,29 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_SCDPHL_I_S_U_TR] ON PIMS_SECURITY_DEPOSIT_HOLDER INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PRPTAX_I_S_U_TR] ON PIMS_PROPERTY_TAX INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.SECURITY_DEPOSIT_HOLDER_ID = deleted.SECURITY_DEPOSIT_HOLDER_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_TAX_ID = deleted.PROPERTY_TAX_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_SECURITY_DEPOSIT_HOLDER - set "SECURITY_DEPOSIT_HOLDER_ID" = inserted."SECURITY_DEPOSIT_HOLDER_ID", - "SECURITY_DEPOSIT_ID" = inserted."SECURITY_DEPOSIT_ID", - "PERSON_ID" = inserted."PERSON_ID", - "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", + update PIMS_PROPERTY_TAX + set "PROPERTY_TAX_ID" = inserted."PROPERTY_TAX_ID", + "PROPERTY_ID" = inserted."PROPERTY_ID", + "PROPERTY_TAX_REMIT_TYPE_CODE" = inserted."PROPERTY_TAX_REMIT_TYPE_CODE", + "TAX_FOLIO_NO" = inserted."TAX_FOLIO_NO", + "PAYMENT_AMOUNT" = inserted."PAYMENT_AMOUNT", + "LAST_PAYMENT_DATE" = inserted."LAST_PAYMENT_DATE", + "PAYMENT_NOTES" = inserted."PAYMENT_NOTES", + "BCTFA_NOTIFICATION_DATE" = inserted."BCTFA_NOTIFICATION_DATE", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", @@ -21427,19 +21704,18 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_SECURITY_DEPOSIT_HOLDER + from PIMS_PROPERTY_TAX inner join inserted - on (PIMS_SECURITY_DEPOSIT_HOLDER.SECURITY_DEPOSIT_HOLDER_ID = inserted.SECURITY_DEPOSIT_HOLDER_ID); + on (PIMS_PROPERTY_TAX.PROPERTY_TAX_ID = inserted.PROPERTY_TAX_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACQNOT_A_S_IUD_TR] ON PIMS_ACQUISITION_FILE_NOTE FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_PIMPRV_A_S_IUD_TR] ON PIMS_PROPERTY_IMPROVEMENT FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -21449,57 +21725,77 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_ACQUISITION_FILE_NOTE_HIST set END_DATE_HIST = @curr_date where ACQUISITION_FILE_NOTE_ID in (select ACQUISITION_FILE_NOTE_ID from deleted) and END_DATE_HIST is null; + update PIMS_PROPERTY_IMPROVEMENT_HIST set END_DATE_HIST = @curr_date where PROPERTY_IMPROVEMENT_ID in (select PROPERTY_IMPROVEMENT_ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_ACQUISITION_FILE_NOTE_HIST ([ACQUISITION_FILE_NOTE_ID], [NOTE_ID], [ACQUISITION_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACQUISITION_FILE_NOTE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ACQUISITION_FILE_NOTE_ID], [NOTE_ID], [ACQUISITION_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACQUISITION_FILE_NOTE_H_ID_SEQ]) as [_ACQUISITION_FILE_NOTE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_PROPERTY_IMPROVEMENT_HIST ([PROPERTY_IMPROVEMENT_ID], [LEASE_ID], [PROPERTY_IMPROVEMENT_TYPE_CODE], [IMPROVEMENT_DESCRIPTION], [STRUCTURE_SIZE], [ADDRESS], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_IMPROVEMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PROPERTY_IMPROVEMENT_ID], [LEASE_ID], [PROPERTY_IMPROVEMENT_TYPE_CODE], [IMPROVEMENT_DESCRIPTION], [STRUCTURE_SIZE], [ADDRESS], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_IMPROVEMENT_H_ID_SEQ]) as [_PROPERTY_IMPROVEMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRSVFT_I_S_I_TR] ON PIMS_PROPERTY_SERVICE_FILE_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROPERTY_SERVICE_FILE_TYPE ("PROPERTY_SERVICE_FILE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "PROPERTY_SERVICE_FILE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_ACQAIN_I_S_U_TR] ON PIMS_ACQUISITION_ACTIVITY_INSTANCE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PTRMTT_I_S_U_TR] ON PIMS_PROPERTY_TAX_REMIT_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_ACTIVITY_INSTANCE_ID = deleted.ACQUISITION_ACTIVITY_INSTANCE_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_TAX_REMIT_TYPE_CODE = deleted.PROPERTY_TAX_REMIT_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_ACQUISITION_ACTIVITY_INSTANCE - set "ACQUISITION_ACTIVITY_INSTANCE_ID" = inserted."ACQUISITION_ACTIVITY_INSTANCE_ID", - "ACQUISITION_FILE_ID" = inserted."ACQUISITION_FILE_ID", - "ACTIVITY_INSTANCE_ID" = inserted."ACTIVITY_INSTANCE_ID", + update PIMS_PROPERTY_TAX_REMIT_TYPE + set "PROPERTY_TAX_REMIT_TYPE_CODE" = inserted."PROPERTY_TAX_REMIT_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ACQUISITION_ACTIVITY_INSTANCE + from PIMS_PROPERTY_TAX_REMIT_TYPE inner join inserted - on (PIMS_ACQUISITION_ACTIVITY_INSTANCE.ACQUISITION_ACTIVITY_INSTANCE_ID = inserted.ACQUISITION_ACTIVITY_INSTANCE_ID); + on (PIMS_PROPERTY_TAX_REMIT_TYPE.PROPERTY_TAX_REMIT_TYPE_CODE = inserted.PROPERTY_TAX_REMIT_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_RESRCH_A_S_IUD_TR] ON PIMS_RESEARCH_FILE FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_PRACQF_A_S_IUD_TR] ON PIMS_PROPERTY_ACQUISITION_FILE FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -21509,33 +21805,32 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_RESEARCH_FILE_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_ID in (select RESEARCH_FILE_ID from deleted) and END_DATE_HIST is null; + update PIMS_PROPERTY_ACQUISITION_FILE_HIST set END_DATE_HIST = @curr_date where PROPERTY_ACQUISITION_FILE_ID in (select PROPERTY_ACQUISITION_FILE_ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_RESEARCH_FILE_HIST ([RESEARCH_FILE_ID], [RESEARCH_FILE_STATUS_TYPE_CODE], [REQUEST_SOURCE_TYPE_CODE], [REQUESTOR_NAME], [REQUESTOR_ORGANIZATION], [NAME], [RFILE_NUMBER], [REQUEST_DATE], [REQUEST_SOURCE_DESCRIPTION], [IS_EXPROPRIATION], [RESEARCH_COMPLETION_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_FILE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [RESEARCH_FILE_ID], [RESEARCH_FILE_STATUS_TYPE_CODE], [REQUEST_SOURCE_TYPE_CODE], [REQUESTOR_NAME], [REQUESTOR_ORGANIZATION], [NAME], [RFILE_NUMBER], [REQUEST_DATE], [REQUEST_SOURCE_DESCRIPTION], [IS_EXPROPRIATION], [RESEARCH_COMPLETION_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_FILE_H_ID_SEQ]) as [_RESEARCH_FILE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_PROPERTY_ACQUISITION_FILE_HIST ([PROPERTY_ACQUISITION_FILE_ID], [ACQUISITION_FILE_ID], [PROPERTY_ID], [PROPERTY_NAME], [DISPLAY_ORDER], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_ACQUISITION_FILE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PROPERTY_ACQUISITION_FILE_ID], [ACQUISITION_FILE_ID], [PROPERTY_ID], [PROPERTY_NAME], [DISPLAY_ORDER], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_ACQUISITION_FILE_H_ID_SEQ]) as [_PROPERTY_ACQUISITION_FILE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRJSTY_I_S_I_TR] ON PIMS_PROJECT_STATUS_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PRPSTS_I_S_I_TR] ON PIMS_PROPERTY_STATUS_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_PROJECT_STATUS_TYPE ("PROJECT_STATUS_TYPE_CODE", + insert into PIMS_PROPERTY_STATUS_TYPE ("PROPERTY_STATUS_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER") - select "PROJECT_STATUS_TYPE_CODE", + select "PROPERTY_STATUS_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", @@ -21547,63 +21842,77 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPTNR_I_S_U_TR] ON PIMS_PROPERTY_TENURE_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_TENURE_TYPE_CODE = deleted.PROPERTY_TENURE_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROPERTY_TENURE_TYPE + set "PROPERTY_TENURE_TYPE_CODE" = inserted."PROPERTY_TENURE_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROPERTY_TENURE_TYPE + inner join inserted + on (PIMS_PROPERTY_TENURE_TYPE.PROPERTY_TENURE_TYPE_CODE = inserted.PROPERTY_TENURE_TYPE_CODE); +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_ACQPER_I_S_I_TR] ON PIMS_ACQUISITION_FILE_PERSON INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PRODCT_A_S_IUD_TR] ON PIMS_PRODUCT FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) RETURN; + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_PRODUCT_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; - insert into PIMS_ACQUISITION_FILE_PERSON ("ACQUISITION_FILE_PERSON_ID", - "ACQUISITION_FILE_ID", - "PERSON_ID", - "ACQ_FL_PERSON_PROFILE_TYPE_CODE", - "IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY") - select "ACQUISITION_FILE_PERSON_ID", - "ACQUISITION_FILE_ID", - "PERSON_ID", - "ACQ_FL_PERSON_PROFILE_TYPE_CODE", - "IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" - from inserted; + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_PRODUCT_HIST ([ID], [PARENT_PROJECT_ID], [CODE], [DESCRIPTION], [START_DATE], [COST_ESTIMATE], [COST_ESTIMATE_DATE], [OBJECTIVE], [SCOPE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PRODUCT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ID], [PARENT_PROJECT_ID], [CODE], [DESCRIPTION], [START_DATE], [COST_ESTIMATE], [COST_ESTIMATE_DATE], [OBJECTIVE], [SCOPE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PRODUCT_H_ID_SEQ]) as [_PRODUCT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_STAVBL_I_S_I_TR] ON PIMS_STATIC_VARIABLE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PRPTAX_I_S_I_TR] ON PIMS_PROPERTY_TAX INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_STATIC_VARIABLE ("STATIC_VARIABLE_NAME", - "STATIC_VARIABLE_VALUE", + insert into PIMS_PROPERTY_TAX ("PROPERTY_TAX_ID", + "PROPERTY_ID", + "PROPERTY_TAX_REMIT_TYPE_CODE", + "TAX_FOLIO_NO", + "PAYMENT_AMOUNT", + "LAST_PAYMENT_DATE", + "PAYMENT_NOTES", + "BCTFA_NOTIFICATION_DATE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -21613,8 +21922,14 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "STATIC_VARIABLE_NAME", - "STATIC_VARIABLE_VALUE", + select "PROPERTY_TAX_ID", + "PROPERTY_ID", + "PROPERTY_TAX_REMIT_TYPE_CODE", + "TAX_FOLIO_NO", + "PAYMENT_AMOUNT", + "LAST_PAYMENT_DATE", + "PAYMENT_NOTES", + "BCTFA_NOTIFICATION_DATE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -21631,135 +21946,40 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_PRSPRP_I_S_U_TR] ON PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE INSTEAD OF UPDATE AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PRF_PROP_RESEARCH_PURPOSE_ID = deleted.PRF_PROP_RESEARCH_PURPOSE_ID) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE - set "PRF_PROP_RESEARCH_PURPOSE_ID" = inserted."PRF_PROP_RESEARCH_PURPOSE_ID", - "PROPERTY_RESEARCH_FILE_ID" = inserted."PROPERTY_RESEARCH_FILE_ID", - "PROP_RESEARCH_PURPOSE_TYPE_CODE" = inserted."PROP_RESEARCH_PURPOSE_TYPE_CODE", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE - inner join inserted - on (PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE.PRF_PROP_RESEARCH_PURPOSE_ID = inserted.PRF_PROP_RESEARCH_PURPOSE_ID); - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_ACQNFL_I_S_U_TR] ON PIMS_ACQUISITION_FILE INSTEAD OF UPDATE AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_FILE_ID = deleted.ACQUISITION_FILE_ID) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_ACQUISITION_FILE - set "ACQUISITION_FILE_ID" = inserted."ACQUISITION_FILE_ID", - "PROJECT_ID" = inserted."PROJECT_ID", - "PRODUCT_ID" = inserted."PRODUCT_ID", - "ACQUISITION_FILE_STATUS_TYPE_CODE" = inserted."ACQUISITION_FILE_STATUS_TYPE_CODE", - "ACQUISITION_TYPE_CODE" = inserted."ACQUISITION_TYPE_CODE", - "ACQUISITION_FUNDING_TYPE_CODE" = inserted."ACQUISITION_FUNDING_TYPE_CODE", - "ACQ_PHYS_FILE_STATUS_TYPE_CODE" = inserted."ACQ_PHYS_FILE_STATUS_TYPE_CODE", - "REGION_CODE" = inserted."REGION_CODE", - "MINISTRY_PROJECT_NUMBER" = inserted."MINISTRY_PROJECT_NUMBER", - "MINISTRY_PROJECT_NAME" = inserted."MINISTRY_PROJECT_NAME", - "CPS_PRODUCT_CODE" = inserted."CPS_PRODUCT_CODE", - "FILE_NAME" = inserted."FILE_NAME", - "FILE_NO" = inserted."FILE_NO", - "FILE_NUMBER" = inserted."FILE_NUMBER", - "LEGACY_FILE_NUMBER" = inserted."LEGACY_FILE_NUMBER", - "FUNDING_OTHER" = inserted."FUNDING_OTHER", - "ASSIGNED_DATE" = inserted."ASSIGNED_DATE", - "DELIVERY_DATE" = inserted."DELIVERY_DATE", - "PAIMS_ACQUISITION_FILE_ID" = inserted."PAIMS_ACQUISITION_FILE_ID", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ACQUISITION_FILE - inner join inserted - on (PIMS_ACQUISITION_FILE.ACQUISITION_FILE_ID = inserted.ACQUISITION_FILE_ID); - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_SDRTRN_I_S_U_TR] ON PIMS_SECURITY_DEPOSIT_RETURN INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PRPTYP_I_S_U_TR] ON PIMS_PROPERTY_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.SECURITY_DEPOSIT_RETURN_ID = deleted.SECURITY_DEPOSIT_RETURN_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_TYPE_CODE = deleted.PROPERTY_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_SECURITY_DEPOSIT_RETURN - set "SECURITY_DEPOSIT_RETURN_ID" = inserted."SECURITY_DEPOSIT_RETURN_ID", - "SECURITY_DEPOSIT_ID" = inserted."SECURITY_DEPOSIT_ID", - "TERMINATION_DATE" = inserted."TERMINATION_DATE", - "CLAIMS_AGAINST" = inserted."CLAIMS_AGAINST", - "RETURN_AMOUNT" = inserted."RETURN_AMOUNT", - "RETURN_DATE" = inserted."RETURN_DATE", - "INTEREST_PAID" = inserted."INTEREST_PAID", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + update PIMS_PROPERTY_TYPE + set "PROPERTY_TYPE_CODE" = inserted."PROPERTY_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_SECURITY_DEPOSIT_RETURN + from PIMS_PROPERTY_TYPE inner join inserted - on (PIMS_SECURITY_DEPOSIT_RETURN.SECURITY_DEPOSIT_RETURN_ID = inserted.SECURITY_DEPOSIT_RETURN_ID); + on (PIMS_PROPERTY_TYPE.PROPERTY_TYPE_CODE = inserted.PROPERTY_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACQOWN_A_S_IUD_TR] ON PIMS_ACQUISITION_OWNER FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_PROJCT_A_S_IUD_TR] ON PIMS_PROJECT FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -21769,33 +21989,32 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_ACQUISITION_OWNER_HIST set END_DATE_HIST = @curr_date where ACQUISITION_OWNER_ID in (select ACQUISITION_OWNER_ID from deleted) and END_DATE_HIST is null; + update PIMS_PROJECT_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_ACQUISITION_OWNER_HIST ([ACQUISITION_OWNER_ID], [ACQUISITION_FILE_ID], [ADDRESS_ID], [LAST_NAME_OR_CORP_NAME_1], [LAST_NAME_OR_CORP_NAME_2], [GIVEN_NAME], [INCORPORATION_NUMBER], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACQUISITION_OWNER_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ACQUISITION_OWNER_ID], [ACQUISITION_FILE_ID], [ADDRESS_ID], [LAST_NAME_OR_CORP_NAME_1], [LAST_NAME_OR_CORP_NAME_2], [GIVEN_NAME], [INCORPORATION_NUMBER], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACQUISITION_OWNER_H_ID_SEQ]) as [_ACQUISITION_OWNER_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_PROJECT_HIST ([ID], [PROJECT_STATUS_TYPE_CODE], [BUSINESS_FUNCTION_CODE_ID], [COST_TYPE_CODE_ID], [WORK_ACTIVITY_CODE_ID], [REGION_CODE], [CODE], [DESCRIPTION], [NOTE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROJECT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ID], [PROJECT_STATUS_TYPE_CODE], [BUSINESS_FUNCTION_CODE_ID], [COST_TYPE_CODE_ID], [WORK_ACTIVITY_CODE_ID], [REGION_CODE], [CODE], [DESCRIPTION], [NOTE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROJECT_H_ID_SEQ]) as [_PROJECT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACQFST_I_S_I_TR] ON PIMS_ACQUISITION_FILE_STATUS_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PTRMTT_I_S_I_TR] ON PIMS_PROPERTY_TAX_REMIT_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_ACQUISITION_FILE_STATUS_TYPE ("ACQUISITION_FILE_STATUS_TYPE_CODE", + insert into PIMS_PROPERTY_TAX_REMIT_TYPE ("PROPERTY_TAX_REMIT_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER") - select "ACQUISITION_FILE_STATUS_TYPE_CODE", + select "PROPERTY_TAX_REMIT_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", @@ -21807,10 +22026,42 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_RGNUSR_A_S_IUD_TR] ON PIMS_REGION_USER FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_PROVNC_I_S_U_TR] ON PIMS_PROVINCE_STATE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROVINCE_STATE_ID = deleted.PROVINCE_STATE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROVINCE_STATE + set "PROVINCE_STATE_ID" = inserted."PROVINCE_STATE_ID", + "COUNTRY_ID" = inserted."COUNTRY_ID", + "PROVINCE_STATE_CODE" = inserted."PROVINCE_STATE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROVINCE_STATE + inner join inserted + on (PIMS_PROVINCE_STATE.PROVINCE_STATE_ID = inserted.PROVINCE_STATE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PROPLS_A_S_IUD_TR] ON PIMS_PROPERTY_LEASE FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -21820,50 +22071,35 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_REGION_USER_HIST set END_DATE_HIST = @curr_date where REGION_USER_ID in (select REGION_USER_ID from deleted) and END_DATE_HIST is null; + update PIMS_PROPERTY_LEASE_HIST set END_DATE_HIST = @curr_date where PROPERTY_LEASE_ID in (select PROPERTY_LEASE_ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_REGION_USER_HIST ([REGION_USER_ID], [REGION_CODE], [USER_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _REGION_USER_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [REGION_USER_ID], [REGION_CODE], [USER_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_REGION_USER_H_ID_SEQ]) as [_REGION_USER_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_PROPERTY_LEASE_HIST ([PROPERTY_LEASE_ID], [PROPERTY_ID], [LEASE_ID], [AREA_UNIT_TYPE_CODE], [NAME], [LEASE_AREA], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_LEASE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PROPERTY_LEASE_ID], [PROPERTY_ID], [LEASE_ID], [AREA_UNIT_TYPE_CODE], [NAME], [LEASE_AREA], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_LEASE_H_ID_SEQ]) as [_PROPERTY_LEASE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRPALT_I_S_I_TR] ON PIMS_PROP_PROP_ADJACENT_LAND_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PRPTNR_I_S_I_TR] ON PIMS_PROPERTY_TENURE_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_PROP_PROP_ADJACENT_LAND_TYPE ("PROP_PROP_ADJACENT_LAND_TYPE_ID", - "PROPERTY_ID", - "PROPERTY_ADJACENT_LAND_TYPE_CODE", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USER_DIRECTORY", - "APP_CREATE_USER_GUID", - "APP_CREATE_USERID", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USER_DIRECTORY", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USERID", + insert into PIMS_PROPERTY_TENURE_TYPE ("PROPERTY_TENURE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER") - select "PROP_PROP_ADJACENT_LAND_TYPE_ID", - "PROPERTY_ID", - "PROPERTY_ADJACENT_LAND_TYPE_CODE", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USER_DIRECTORY", - "APP_CREATE_USER_GUID", - "APP_CREATE_USERID", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USER_DIRECTORY", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USERID", + select "PROPERTY_TENURE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" from inserted; @@ -21872,58 +22108,75 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACQDOC_I_S_U_TR] ON PIMS_ACQUISITION_FILE_DOCUMENT INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_REGION_I_S_U_TR] ON PIMS_REGION INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_FILE_DOCUMENT_ID = deleted.ACQUISITION_FILE_DOCUMENT_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.REGION_CODE = deleted.REGION_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_ACQUISITION_FILE_DOCUMENT - set "ACQUISITION_FILE_DOCUMENT_ID" = inserted."ACQUISITION_FILE_DOCUMENT_ID", - "ACQUISITION_FILE_ID" = inserted."ACQUISITION_FILE_ID", - "DOCUMENT_ID" = inserted."DOCUMENT_ID", + update PIMS_REGION + set "REGION_CODE" = inserted."REGION_CODE", + "REGION_NAME" = inserted."REGION_NAME", "IS_DISABLED" = inserted."IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ACQUISITION_FILE_DOCUMENT + from PIMS_REGION inner join inserted - on (PIMS_ACQUISITION_FILE_DOCUMENT.ACQUISITION_FILE_DOCUMENT_ID = inserted.ACQUISITION_FILE_DOCUMENT_ID); + on (PIMS_REGION.REGION_CODE = inserted.REGION_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPEVL_A_S_IUD_TR] ON PIMS_PROPERTY_EVALUATION FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_PROPERTY_EVALUATION_HIST set END_DATE_HIST = @curr_date where PROPERTY_EVALUATION_ID in (select PROPERTY_EVALUATION_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_PROPERTY_EVALUATION_HIST ([PROPERTY_EVALUATION_ID], [PROPERTY_ID], [EVALUATION_DATE], [KEY], [VALUE], [NOTE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_EVALUATION_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PROPERTY_EVALUATION_ID], [PROPERTY_ID], [EVALUATION_DATE], [KEY], [VALUE], [NOTE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_EVALUATION_H_ID_SEQ]) as [_PROPERTY_EVALUATION_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_SPDCLT_I_S_I_TR] ON PIMS_SURPLUS_DECLARATION_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PRPTYP_I_S_I_TR] ON PIMS_PROPERTY_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_SURPLUS_DECLARATION_TYPE ("SURPLUS_DECLARATION_TYPE_CODE", + insert into PIMS_PROPERTY_TYPE ("PROPERTY_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER") - select "SURPLUS_DECLARATION_TYPE_CODE", + select "PROPERTY_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", @@ -21935,31 +22188,25 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRODCT_I_S_U_TR] ON PIMS_PRODUCT INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_RGNUSR_I_S_U_TR] ON PIMS_REGION_USER INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.REGION_USER_ID = deleted.REGION_USER_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_PRODUCT - set "ID" = inserted."ID", - "PARENT_PROJECT_ID" = inserted."PARENT_PROJECT_ID", - "CODE" = inserted."CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "START_DATE" = inserted."START_DATE", - "COST_ESTIMATE" = inserted."COST_ESTIMATE", - "COST_ESTIMATE_DATE" = inserted."COST_ESTIMATE_DATE", - "OBJECTIVE" = inserted."OBJECTIVE", - "SCOPE" = inserted."SCOPE", + update PIMS_REGION_USER + set "REGION_USER_ID" = inserted."REGION_USER_ID", + "REGION_CODE" = inserted."REGION_CODE", + "USER_ID" = inserted."USER_ID", + "IS_DISABLED" = inserted."IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", @@ -21967,31 +22214,57 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PRODUCT + from PIMS_REGION_USER inner join inserted - on (PIMS_PRODUCT.ID = inserted.ID); + on (PIMS_REGION_USER.REGION_USER_ID = inserted.REGION_USER_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPORG_A_S_IUD_TR] ON PIMS_PROPERTY_ORGANIZATION FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_PROPERTY_ORGANIZATION_HIST set END_DATE_HIST = @curr_date where PROPERTY_ORGANIZATION_ID in (select PROPERTY_ORGANIZATION_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_PROPERTY_ORGANIZATION_HIST ([PROPERTY_ORGANIZATION_ID], [PROPERTY_ID], [ORGANIZATION_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], [IS_DISABLED], _PROPERTY_ORGANIZATION_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PROPERTY_ORGANIZATION_ID], [PROPERTY_ID], [ORGANIZATION_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], [IS_DISABLED], (next value for [dbo].[PIMS_PROPERTY_ORGANIZATION_H_ID_SEQ]) as [_PROPERTY_ORGANIZATION_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_ACQFTY_I_S_I_TR] ON PIMS_ACQUISITION_FUNDING_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PROVNC_I_S_I_TR] ON PIMS_PROVINCE_STATE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_ACQUISITION_FUNDING_TYPE ("ACQUISITION_FUNDING_TYPE_CODE", + insert into PIMS_PROVINCE_STATE ("PROVINCE_STATE_ID", + "COUNTRY_ID", + "PROVINCE_STATE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER") - select "ACQUISITION_FUNDING_TYPE_CODE", + select "PROVINCE_STATE_ID", + "COUNTRY_ID", + "PROVINCE_STATE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", @@ -22003,46 +22276,40 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_SCDPRH_I_S_U_TR] ON PIMS_SECURITY_DEPOSIT_RETURN_HOLDER INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_RQSRCT_I_S_U_TR] ON PIMS_REQUEST_SOURCE_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.SECURITY_DEPOSIT_RETURN_HOLDER_ID = deleted.SECURITY_DEPOSIT_RETURN_HOLDER_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.REQUEST_SOURCE_TYPE_CODE = deleted.REQUEST_SOURCE_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_SECURITY_DEPOSIT_RETURN_HOLDER - set "SECURITY_DEPOSIT_RETURN_HOLDER_ID" = inserted."SECURITY_DEPOSIT_RETURN_HOLDER_ID", - "SECURITY_DEPOSIT_RETURN_ID" = inserted."SECURITY_DEPOSIT_RETURN_ID", - "PERSON_ID" = inserted."PERSON_ID", - "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + update PIMS_REQUEST_SOURCE_TYPE + set "REQUEST_SOURCE_TYPE_CODE" = inserted."REQUEST_SOURCE_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_SECURITY_DEPOSIT_RETURN_HOLDER + from PIMS_REQUEST_SOURCE_TYPE inner join inserted - on (PIMS_SECURITY_DEPOSIT_RETURN_HOLDER.SECURITY_DEPOSIT_RETURN_HOLDER_ID = inserted.SECURITY_DEPOSIT_RETURN_HOLDER_ID); + on (PIMS_REQUEST_SOURCE_TYPE.REQUEST_SOURCE_TYPE_CODE = inserted.REQUEST_SOURCE_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACQPER_A_S_IUD_TR] ON PIMS_ACQUISITION_FILE_PERSON FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_PRPRSF_A_S_IUD_TR] ON PIMS_PROPERTY_PROPERTY_SERVICE_FILE FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -22052,36 +22319,61 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_ACQUISITION_FILE_PERSON_HIST set END_DATE_HIST = @curr_date where ACQUISITION_FILE_PERSON_ID in (select ACQUISITION_FILE_PERSON_ID from deleted) and END_DATE_HIST is null; + update PIMS_PROPERTY_PROPERTY_SERVICE_FILE_HIST set END_DATE_HIST = @curr_date where PROPERTY_PROPERTY_SERVICE_FILE_ID in (select PROPERTY_PROPERTY_SERVICE_FILE_ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_ACQUISITION_FILE_PERSON_HIST ([ACQUISITION_FILE_PERSON_ID], [ACQUISITION_FILE_ID], [PERSON_ID], [ACQ_FL_PERSON_PROFILE_TYPE_CODE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACQUISITION_FILE_PERSON_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ACQUISITION_FILE_PERSON_ID], [ACQUISITION_FILE_ID], [PERSON_ID], [ACQ_FL_PERSON_PROFILE_TYPE_CODE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACQUISITION_FILE_PERSON_H_ID_SEQ]) as [_ACQUISITION_FILE_PERSON_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_PROPERTY_PROPERTY_SERVICE_FILE_HIST ([PROPERTY_PROPERTY_SERVICE_FILE_ID], [PROPERTY_ID], [PROPERTY_SERVICE_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_PROPERTY_SERVICE_FILE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PROPERTY_PROPERTY_SERVICE_FILE_ID], [PROPERTY_ID], [PROPERTY_SERVICE_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE_H_ID_SEQ]) as [_PROPERTY_PROPERTY_SERVICE_FILE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO +CREATE TRIGGER [dbo].[PIMS_REGION_I_S_I_TR] ON PIMS_REGION INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_REGION ("REGION_CODE", + "REGION_NAME", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "REGION_CODE", + "REGION_NAME", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_ACQNOT_I_S_U_TR] ON PIMS_ACQUISITION_FILE_NOTE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_RSCHAI_I_S_U_TR] ON PIMS_RESEARCH_ACTIVITY_INSTANCE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_FILE_NOTE_ID = deleted.ACQUISITION_FILE_NOTE_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_ACTIVITY_INSTANCE_ID = deleted.RESEARCH_ACTIVITY_INSTANCE_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_ACQUISITION_FILE_NOTE - set "ACQUISITION_FILE_NOTE_ID" = inserted."ACQUISITION_FILE_NOTE_ID", - "NOTE_ID" = inserted."NOTE_ID", - "ACQUISITION_FILE_ID" = inserted."ACQUISITION_FILE_ID", + update PIMS_RESEARCH_ACTIVITY_INSTANCE + set "RESEARCH_ACTIVITY_INSTANCE_ID" = inserted."RESEARCH_ACTIVITY_INSTANCE_ID", + "ACTIVITY_INSTANCE_ID" = inserted."ACTIVITY_INSTANCE_ID", + "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", "IS_DISABLED" = inserted."IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", @@ -22090,97 +22382,51 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ACQUISITION_FILE_NOTE - inner join inserted - on (PIMS_ACQUISITION_FILE_NOTE.ACQUISITION_FILE_NOTE_ID = inserted.ACQUISITION_FILE_NOTE_ID); - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_ROLCLM_A_S_IUD_TR] ON PIMS_ROLE_CLAIM FOR INSERT, UPDATE, DELETE AS -SET NOCOUNT ON -BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_ROLE_CLAIM_HIST set END_DATE_HIST = @curr_date where ROLE_CLAIM_ID in (select ROLE_CLAIM_ID from deleted) and END_DATE_HIST is null; - - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_ROLE_CLAIM_HIST ([ROLE_CLAIM_ID], [ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ROLE_CLAIM_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ROLE_CLAIM_ID], [ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ROLE_CLAIM_H_ID_SEQ]) as [_ROLE_CLAIM_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + from PIMS_RESEARCH_ACTIVITY_INSTANCE + inner join inserted + on (PIMS_RESEARCH_ACTIVITY_INSTANCE.RESEARCH_ACTIVITY_INSTANCE_ID = inserted.RESEARCH_ACTIVITY_INSTANCE_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRPRAT_I_S_I_TR] ON PIMS_PROP_PROP_ANOMALY_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PRPRTY_A_S_IUD_TR] ON PIMS_PROPERTY FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) RETURN; + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_PROPERTY_HIST set END_DATE_HIST = @curr_date where PROPERTY_ID in (select PROPERTY_ID from deleted) and END_DATE_HIST is null; - insert into PIMS_PROP_PROP_ANOMALY_TYPE ("PROP_PROP_ANOMALY_TYPE_ID", - "PROPERTY_ID", - "PROPERTY_ANOMALY_TYPE_CODE", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USER_DIRECTORY", - "APP_CREATE_USER_GUID", - "APP_CREATE_USERID", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USER_DIRECTORY", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USERID", - "CONCURRENCY_CONTROL_NUMBER") - select "PROP_PROP_ANOMALY_TYPE_ID", - "PROPERTY_ID", - "PROPERTY_ANOMALY_TYPE_CODE", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USER_DIRECTORY", - "APP_CREATE_USER_GUID", - "APP_CREATE_USERID", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USER_DIRECTORY", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USERID", - "CONCURRENCY_CONTROL_NUMBER" - from inserted; + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_PROPERTY_HIST ([PROPERTY_ID], [PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [VOLUMETRIC_TYPE_CODE], [VOLUME_UNIT_TYPE_CODE], [PPH_STATUS_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [FILE_NUMBER], [FILE_NUMBER_SUFFIX], [LAND_AREA], [SURVEY_PLAN_NUMBER], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [MUNICIPAL_ZONING], [IS_VOLUMETRIC_PARCEL], [VOLUMETRIC_MEASUREMENT], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [IS_PROVINCIAL_PUBLIC_HWY], [PPH_STATUS_UPDATE_USERID], [PPH_STATUS_UPDATE_TIMESTAMP], [PPH_STATUS_UPDATE_USER_GUID], [IS_RWY_BELT_DOM_PATENT], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PROPERTY_ID], [PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [VOLUMETRIC_TYPE_CODE], [VOLUME_UNIT_TYPE_CODE], [PPH_STATUS_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [FILE_NUMBER], [FILE_NUMBER_SUFFIX], [LAND_AREA], [SURVEY_PLAN_NUMBER], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [MUNICIPAL_ZONING], [IS_VOLUMETRIC_PARCEL], [VOLUMETRIC_MEASUREMENT], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [IS_PROVINCIAL_PUBLIC_HWY], [PPH_STATUS_UPDATE_USERID], [PPH_STATUS_UPDATE_TIMESTAMP], [PPH_STATUS_UPDATE_USER_GUID], [IS_RWY_BELT_DOM_PATENT], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_H_ID_SEQ]) as [_PROPERTY_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACQOWN_I_S_I_TR] ON PIMS_ACQUISITION_OWNER INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_RGNUSR_I_S_I_TR] ON PIMS_REGION_USER INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_ACQUISITION_OWNER ("ACQUISITION_OWNER_ID", - "ACQUISITION_FILE_ID", - "ADDRESS_ID", - "LAST_NAME_OR_CORP_NAME_1", - "LAST_NAME_OR_CORP_NAME_2", - "GIVEN_NAME", - "INCORPORATION_NUMBER", + insert into PIMS_REGION_USER ("REGION_USER_ID", + "REGION_CODE", + "USER_ID", + "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -22190,13 +22436,10 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "ACQUISITION_OWNER_ID", - "ACQUISITION_FILE_ID", - "ADDRESS_ID", - "LAST_NAME_OR_CORP_NAME_1", - "LAST_NAME_OR_CORP_NAME_2", - "GIVEN_NAME", - "INCORPORATION_NUMBER", + select "REGION_USER_ID", + "REGION_CODE", + "USER_ID", + "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -22213,22 +22456,91 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RESRCH_I_S_U_TR] ON PIMS_RESEARCH_FILE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_ID = deleted.RESEARCH_FILE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_RESEARCH_FILE + set "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", + "RESEARCH_FILE_STATUS_TYPE_CODE" = inserted."RESEARCH_FILE_STATUS_TYPE_CODE", + "REQUEST_SOURCE_TYPE_CODE" = inserted."REQUEST_SOURCE_TYPE_CODE", + "REQUESTOR_NAME" = inserted."REQUESTOR_NAME", + "REQUESTOR_ORGANIZATION" = inserted."REQUESTOR_ORGANIZATION", + "NAME" = inserted."NAME", + "RFILE_NUMBER" = inserted."RFILE_NUMBER", + "REQUEST_DATE" = inserted."REQUEST_DATE", + "ROAD_NAME" = inserted."ROAD_NAME", + "ROAD_ALIAS" = inserted."ROAD_ALIAS", + "REQUEST_DESCRIPTION" = inserted."REQUEST_DESCRIPTION", + "REQUEST_SOURCE_DESCRIPTION" = inserted."REQUEST_SOURCE_DESCRIPTION", + "RESEARCH_RESULT" = inserted."RESEARCH_RESULT", + "IS_EXPROPRIATION" = inserted."IS_EXPROPRIATION", + "EXPROPRIATION_NOTES" = inserted."EXPROPRIATION_NOTES", + "RESEARCH_COMPLETION_DATE" = inserted."RESEARCH_COMPLETION_DATE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_RESEARCH_FILE + inner join inserted + on (PIMS_RESEARCH_FILE.RESEARCH_FILE_ID = inserted.RESEARCH_FILE_ID); +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_SRVPLT_I_S_I_TR] ON PIMS_SURVEY_PLAN_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PRPSVC_A_S_IUD_TR] ON PIMS_PROPERTY_SERVICE_FILE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_PROPERTY_SERVICE_FILE_HIST set END_DATE_HIST = @curr_date where PROPERTY_SERVICE_FILE_ID in (select PROPERTY_SERVICE_FILE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_PROPERTY_SERVICE_FILE_HIST ([PROPERTY_SERVICE_FILE_ID], [PROPERTY_SERVICE_FILE_TYPE_CODE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_SERVICE_FILE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PROPERTY_SERVICE_FILE_ID], [PROPERTY_SERVICE_FILE_TYPE_CODE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_SERVICE_FILE_H_ID_SEQ]) as [_PROPERTY_SERVICE_FILE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RQSRCT_I_S_I_TR] ON PIMS_REQUEST_SOURCE_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_SURVEY_PLAN_TYPE ("SURVEY_PLAN_TYPE_CODE", + insert into PIMS_REQUEST_SOURCE_TYPE ("REQUEST_SOURCE_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER") - select "SURVEY_PLAN_TYPE_CODE", + select "REQUEST_SOURCE_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", @@ -22240,31 +22552,25 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PROJCT_I_S_U_TR] ON PIMS_PROJECT INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_RFLDOC_I_S_U_TR] ON PIMS_RESEARCH_FILE_DOCUMENT INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_DOCUMENT_ID = deleted.RESEARCH_FILE_DOCUMENT_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_PROJECT - set "ID" = inserted."ID", - "PROJECT_STATUS_TYPE_CODE" = inserted."PROJECT_STATUS_TYPE_CODE", - "BUSINESS_FUNCTION_CODE_ID" = inserted."BUSINESS_FUNCTION_CODE_ID", - "COST_TYPE_CODE_ID" = inserted."COST_TYPE_CODE_ID", - "WORK_ACTIVITY_CODE_ID" = inserted."WORK_ACTIVITY_CODE_ID", - "REGION_CODE" = inserted."REGION_CODE", - "CODE" = inserted."CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "NOTE" = inserted."NOTE", + update PIMS_RESEARCH_FILE_DOCUMENT + set "RESEARCH_FILE_DOCUMENT_ID" = inserted."RESEARCH_FILE_DOCUMENT_ID", + "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", + "DOCUMENT_ID" = inserted."DOCUMENT_ID", + "IS_DISABLED" = inserted."IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", @@ -22272,88 +22578,118 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROJECT + from PIMS_RESEARCH_FILE_DOCUMENT inner join inserted - on (PIMS_PROJECT.ID = inserted.ID); + on (PIMS_RESEARCH_FILE_DOCUMENT.RESEARCH_FILE_DOCUMENT_ID = inserted.RESEARCH_FILE_DOCUMENT_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACQPER_I_S_U_TR] ON PIMS_ACQUISITION_FILE_PERSON INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_PRPTAX_A_S_IUD_TR] ON PIMS_PROPERTY_TAX FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) RETURN; - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_FILE_PERSON_ID = deleted.ACQUISITION_FILE_PERSON_ID) - raiserror('CONCURRENCY FAILURE.',16,1) + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_PROPERTY_TAX_HIST set END_DATE_HIST = @curr_date where PROPERTY_TAX_ID in (select PROPERTY_TAX_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_PROPERTY_TAX_HIST ([PROPERTY_TAX_ID], [PROPERTY_ID], [PROPERTY_TAX_REMIT_TYPE_CODE], [TAX_FOLIO_NO], [PAYMENT_AMOUNT], [LAST_PAYMENT_DATE], [PAYMENT_NOTES], [BCTFA_NOTIFICATION_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_TAX_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PROPERTY_TAX_ID], [PROPERTY_ID], [PROPERTY_TAX_REMIT_TYPE_CODE], [TAX_FOLIO_NO], [PAYMENT_AMOUNT], [LAST_PAYMENT_DATE], [PAYMENT_NOTES], [BCTFA_NOTIFICATION_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_TAX_H_ID_SEQ]) as [_PROPERTY_TAX_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO - -- update statement - update PIMS_ACQUISITION_FILE_PERSON - set "ACQUISITION_FILE_PERSON_ID" = inserted."ACQUISITION_FILE_PERSON_ID", - "ACQUISITION_FILE_ID" = inserted."ACQUISITION_FILE_ID", - "PERSON_ID" = inserted."PERSON_ID", - "ACQ_FL_PERSON_PROFILE_TYPE_CODE" = inserted."ACQ_FL_PERSON_PROFILE_TYPE_CODE", - "IS_DISABLED" = inserted."IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ACQUISITION_FILE_PERSON - inner join inserted - on (PIMS_ACQUISITION_FILE_PERSON.ACQUISITION_FILE_PERSON_ID = inserted.ACQUISITION_FILE_PERSON_ID); +CREATE TRIGGER [dbo].[PIMS_RSCHAI_I_S_I_TR] ON PIMS_RESEARCH_ACTIVITY_INSTANCE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_RESEARCH_ACTIVITY_INSTANCE ("RESEARCH_ACTIVITY_INSTANCE_ID", + "ACTIVITY_INSTANCE_ID", + "RESEARCH_FILE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "RESEARCH_ACTIVITY_INSTANCE_ID", + "ACTIVITY_INSTANCE_ID", + "RESEARCH_FILE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_SECDPT_I_S_U_TR] ON PIMS_SECURITY_DEPOSIT_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_RFLNOT_I_S_U_TR] ON PIMS_RESEARCH_FILE_NOTE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.SECURITY_DEPOSIT_TYPE_CODE = deleted.SECURITY_DEPOSIT_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_ID = deleted.RESEARCH_FILE_ID and inserted.RESEARCH_FILE_NOTE_ID = deleted.RESEARCH_FILE_NOTE_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_SECURITY_DEPOSIT_TYPE - set "SECURITY_DEPOSIT_TYPE_CODE" = inserted."SECURITY_DEPOSIT_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", + update PIMS_RESEARCH_FILE_NOTE + set "RESEARCH_FILE_NOTE_ID" = inserted."RESEARCH_FILE_NOTE_ID", + "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", + "NOTE_ID" = inserted."NOTE_ID", "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_SECURITY_DEPOSIT_TYPE + from PIMS_RESEARCH_FILE_NOTE inner join inserted - on (PIMS_SECURITY_DEPOSIT_TYPE.SECURITY_DEPOSIT_TYPE_CODE = inserted.SECURITY_DEPOSIT_TYPE_CODE); + on (PIMS_RESEARCH_FILE_NOTE.RESEARCH_FILE_ID = inserted.RESEARCH_FILE_ID and PIMS_RESEARCH_FILE_NOTE.RESEARCH_FILE_NOTE_ID = inserted.RESEARCH_FILE_NOTE_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACRQOR_A_S_IUD_TR] ON PIMS_ACCESS_REQUEST_ORGANIZATION FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_PRSCRC_A_S_IUD_TR] ON PIMS_PROPERTY_RESEARCH_FILE FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -22363,37 +22699,76 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_ACCESS_REQUEST_ORGANIZATION_HIST set END_DATE_HIST = @curr_date where ACCESS_REQUEST_ORGANIZATION_ID in (select ACCESS_REQUEST_ORGANIZATION_ID from deleted) and END_DATE_HIST is null; + update PIMS_PROPERTY_RESEARCH_FILE_HIST set END_DATE_HIST = @curr_date where PROPERTY_RESEARCH_FILE_ID in (select PROPERTY_RESEARCH_FILE_ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_ACCESS_REQUEST_ORGANIZATION_HIST ([ACCESS_REQUEST_ORGANIZATION_ID], [ORGANIZATION_ID], [ACCESS_REQUEST_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACCESS_REQUEST_ORGANIZATION_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ACCESS_REQUEST_ORGANIZATION_ID], [ORGANIZATION_ID], [ACCESS_REQUEST_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION_H_ID_SEQ]) as [_ACCESS_REQUEST_ORGANIZATION_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_PROPERTY_RESEARCH_FILE_HIST ([PROPERTY_RESEARCH_FILE_ID], [PROPERTY_ID], [RESEARCH_FILE_ID], [PROPERTY_NAME], [DISPLAY_ORDER], [IS_DISABLED], [IS_LEGAL_OPINION_REQUIRED], [IS_LEGAL_OPINION_OBTAINED], [DOCUMENT_REFERENCE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_RESEARCH_FILE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PROPERTY_RESEARCH_FILE_ID], [PROPERTY_ID], [RESEARCH_FILE_ID], [PROPERTY_NAME], [DISPLAY_ORDER], [IS_DISABLED], [IS_LEGAL_OPINION_REQUIRED], [IS_LEGAL_OPINION_OBTAINED], [DOCUMENT_REFERENCE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_RESEARCH_FILE_H_ID_SEQ]) as [_PROPERTY_RESEARCH_FILE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACQTYP_I_S_I_TR] ON PIMS_ACQUISITION_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_RESRCH_I_S_I_TR] ON PIMS_RESEARCH_FILE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_ACQUISITION_TYPE ("ACQUISITION_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "ACQUISITION_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" + insert into PIMS_RESEARCH_FILE ("RESEARCH_FILE_ID", + "RESEARCH_FILE_STATUS_TYPE_CODE", + "REQUEST_SOURCE_TYPE_CODE", + "REQUESTOR_NAME", + "REQUESTOR_ORGANIZATION", + "NAME", + "RFILE_NUMBER", + "REQUEST_DATE", + "ROAD_NAME", + "ROAD_ALIAS", + "REQUEST_DESCRIPTION", + "REQUEST_SOURCE_DESCRIPTION", + "RESEARCH_RESULT", + "IS_EXPROPRIATION", + "EXPROPRIATION_NOTES", + "RESEARCH_COMPLETION_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "RESEARCH_FILE_ID", + "RESEARCH_FILE_STATUS_TYPE_CODE", + "REQUEST_SOURCE_TYPE_CODE", + "REQUESTOR_NAME", + "REQUESTOR_ORGANIZATION", + "NAME", + "RFILE_NUMBER", + "REQUEST_DATE", + "ROAD_NAME", + "ROAD_ALIAS", + "REQUEST_DESCRIPTION", + "REQUEST_SOURCE_DESCRIPTION", + "RESEARCH_RESULT", + "IS_EXPROPRIATION", + "EXPROPRIATION_NOTES", + "RESEARCH_COMPLETION_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" from inserted; END TRY @@ -22401,10 +22776,78 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +--CREATE TRIGGER PIMS_RFLNOT_I_S_U_TR ON PIMS_RESEARCH_FILE_NOTE INSTEAD OF UPDATE AS +--SET NOCOUNT ON +--BEGIN TRY +-- IF NOT EXISTS(SELECT * FROM deleted) +-- RETURN; +-- +-- -- validate concurrency control +-- if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_ID = deleted.RESEARCH_FILE_ID and inserted.RESEARCH_FILE_NOTE_ID = deleted.RESEARCH_FILE_NOTE_ID) +-- raiserror('CONCURRENCY FAILURE.',16,1) +-- +-- +-- -- update statement +-- update PIMS_RESEARCH_FILE_NOTE +-- set "RESEARCH_FILE_NOTE_ID" = inserted."RESEARCH_FILE_NOTE_ID", +-- "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", +-- "NOTE_ID" = inserted."NOTE_ID", +-- "IS_DISABLED" = inserted."IS_DISABLED", +-- "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", +-- "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", +-- "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", +-- "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", +-- "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" +-- , DB_LAST_UPDATE_TIMESTAMP = getutcdate() +-- , DB_LAST_UPDATE_USERID = user_name() +-- from PIMS_RESEARCH_FILE_NOTE +-- inner join inserted +-- on (PIMS_RESEARCH_FILE_NOTE.RESEARCH_FILE_ID = inserted.RESEARCH_FILE_ID and PIMS_RESEARCH_FILE_NOTE.RESEARCH_FILE_NOTE_ID = inserted.RESEARCH_FILE_NOTE_ID); +-- +--END TRY +--BEGIN CATCH +-- IF @@trancount > 0 ROLLBACK TRANSACTION +-- EXEC pims_error_handling +--END CATCH; +--go +CREATE TRIGGER [dbo].[PIMS_RFLPRJ_I_S_U_TR] ON PIMS_RESEARCH_FILE_PROJECT INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_PROJECT_ID = deleted.RESEARCH_FILE_PROJECT_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_RESEARCH_FILE_PROJECT + set "RESEARCH_FILE_PROJECT_ID" = inserted."RESEARCH_FILE_PROJECT_ID", + "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", + "PROJECT_ID" = inserted."PROJECT_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_RESEARCH_FILE_PROJECT + inner join inserted + on (PIMS_RESEARCH_FILE_PROJECT.RESEARCH_FILE_PROJECT_ID = inserted.RESEARCH_FILE_PROJECT_ID); +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_ROLE_A_S_IUD_TR] ON PIMS_ROLE FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_RESPCD_A_S_IUD_TR] ON PIMS_RESPONSIBILITY_CODE FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -22414,30 +22857,30 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_ROLE_HIST set END_DATE_HIST = @curr_date where ROLE_ID in (select ROLE_ID from deleted) and END_DATE_HIST is null; + update PIMS_RESPONSIBILITY_CODE_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_ROLE_HIST ([ROLE_ID], [ROLE_UID], [KEYCLOAK_GROUP_ID], [NAME], [DESCRIPTION], [IS_PUBLIC], [IS_DISABLED], [SORT_ORDER], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ROLE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ROLE_ID], [ROLE_UID], [KEYCLOAK_GROUP_ID], [NAME], [DESCRIPTION], [IS_PUBLIC], [IS_DISABLED], [SORT_ORDER], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ROLE_H_ID_SEQ]) as [_ROLE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_RESPONSIBILITY_CODE_HIST ([ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESPONSIBILITY_CODE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESPONSIBILITY_CODE_H_ID_SEQ]) as [_RESPONSIBILITY_CODE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRPRRT_I_S_I_TR] ON PIMS_PROP_PROP_ROAD_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_RFLDOC_I_S_I_TR] ON PIMS_RESEARCH_FILE_DOCUMENT INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_PROP_PROP_ROAD_TYPE ("PROP_PROP_ROAD_TYPE_ID", - "PROPERTY_ID", - "PROPERTY_ROAD_TYPE_CODE", + insert into PIMS_RESEARCH_FILE_DOCUMENT ("RESEARCH_FILE_DOCUMENT_ID", + "RESEARCH_FILE_ID", + "DOCUMENT_ID", + "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -22447,9 +22890,10 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "PROP_PROP_ROAD_TYPE_ID", - "PROPERTY_ID", - "PROPERTY_ROAD_TYPE_CODE", + select "RESEARCH_FILE_DOCUMENT_ID", + "RESEARCH_FILE_ID", + "DOCUMENT_ID", + "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -22466,112 +22910,75 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACQFST_I_S_U_TR] ON PIMS_ACQUISITION_FILE_STATUS_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_RSFLPR_I_S_U_TR] ON PIMS_RESEARCH_FILE_PURPOSE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_FILE_STATUS_TYPE_CODE = deleted.ACQUISITION_FILE_STATUS_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_PURPOSE_ID = deleted.RESEARCH_FILE_PURPOSE_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_ACQUISITION_FILE_STATUS_TYPE - set "ACQUISITION_FILE_STATUS_TYPE_CODE" = inserted."ACQUISITION_FILE_STATUS_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + update PIMS_RESEARCH_FILE_PURPOSE + set "RESEARCH_FILE_PURPOSE_ID" = inserted."RESEARCH_FILE_PURPOSE_ID", + "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", + "RESEARCH_PURPOSE_TYPE_CODE" = inserted."RESEARCH_PURPOSE_TYPE_CODE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ACQUISITION_FILE_STATUS_TYPE + from PIMS_RESEARCH_FILE_PURPOSE inner join inserted - on (PIMS_ACQUISITION_FILE_STATUS_TYPE.ACQUISITION_FILE_STATUS_TYPE_CODE = inserted.ACQUISITION_FILE_STATUS_TYPE_CODE); + on (PIMS_RESEARCH_FILE_PURPOSE.RESEARCH_FILE_PURPOSE_ID = inserted.RESEARCH_FILE_PURPOSE_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_TENNTX_I_S_I_TR] ON PIMS_TENANT INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_RESRCH_A_S_IUD_TR] ON PIMS_RESEARCH_FILE FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) RETURN; + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_RESEARCH_FILE_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_ID in (select RESEARCH_FILE_ID from deleted) and END_DATE_HIST is null; - insert into PIMS_TENANT ("TENANT_ID", - "CODE", - "NAME", - "DESCRIPTION", - "SETTINGS", - "CONCURRENCY_CONTROL_NUMBER") - select "TENANT_ID", - "CODE", - "NAME", - "DESCRIPTION", - "SETTINGS", - "CONCURRENCY_CONTROL_NUMBER" - from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_PRJSTY_I_S_U_TR] ON PIMS_PROJECT_STATUS_TYPE INSTEAD OF UPDATE AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROJECT_STATUS_TYPE_CODE = deleted.PROJECT_STATUS_TYPE_CODE) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_PROJECT_STATUS_TYPE - set "PROJECT_STATUS_TYPE_CODE" = inserted."PROJECT_STATUS_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROJECT_STATUS_TYPE - inner join inserted - on (PIMS_PROJECT_STATUS_TYPE.PROJECT_STATUS_TYPE_CODE = inserted.PROJECT_STATUS_TYPE_CODE); + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_RESEARCH_FILE_HIST ([RESEARCH_FILE_ID], [RESEARCH_FILE_STATUS_TYPE_CODE], [REQUEST_SOURCE_TYPE_CODE], [REQUESTOR_NAME], [REQUESTOR_ORGANIZATION], [NAME], [RFILE_NUMBER], [REQUEST_DATE], [REQUEST_SOURCE_DESCRIPTION], [IS_EXPROPRIATION], [RESEARCH_COMPLETION_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_FILE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [RESEARCH_FILE_ID], [RESEARCH_FILE_STATUS_TYPE_CODE], [REQUEST_SOURCE_TYPE_CODE], [REQUESTOR_NAME], [REQUESTOR_ORGANIZATION], [NAME], [RFILE_NUMBER], [REQUEST_DATE], [REQUEST_SOURCE_DESCRIPTION], [IS_EXPROPRIATION], [RESEARCH_COMPLETION_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_FILE_H_ID_SEQ]) as [_RESEARCH_FILE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_AIPAFL_I_S_I_TR] ON PIMS_ACT_INST_PROP_ACQ_FILE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_RFLNOT_I_S_I_TR] ON PIMS_RESEARCH_FILE_NOTE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_ACT_INST_PROP_ACQ_FILE ("ACT_INST_PROP_ACQ_FILE_ID", - "ACTIVITY_INSTANCE_ID", - "PROPERTY_ACQUISITION_FILE_ID", + insert into PIMS_RESEARCH_FILE_NOTE ("RESEARCH_FILE_NOTE_ID", + "RESEARCH_FILE_ID", + "NOTE_ID", "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", @@ -22582,9 +22989,9 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "ACT_INST_PROP_ACQ_FILE_ID", - "ACTIVITY_INSTANCE_ID", - "PROPERTY_ACQUISITION_FILE_ID", + select "RESEARCH_FILE_NOTE_ID", + "RESEARCH_FILE_ID", + "NOTE_ID", "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", @@ -22602,44 +23009,40 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_STAVBL_I_S_U_TR] ON PIMS_STATIC_VARIABLE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_RSRCHS_I_S_U_TR] ON PIMS_RESEARCH_FILE_STATUS_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.STATIC_VARIABLE_NAME = deleted.STATIC_VARIABLE_NAME) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_STATUS_TYPE_CODE = deleted.RESEARCH_FILE_STATUS_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_STATIC_VARIABLE - set "STATIC_VARIABLE_NAME" = inserted."STATIC_VARIABLE_NAME", - "STATIC_VARIABLE_VALUE" = inserted."STATIC_VARIABLE_VALUE", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + update PIMS_RESEARCH_FILE_STATUS_TYPE + set "RESEARCH_FILE_STATUS_TYPE_CODE" = inserted."RESEARCH_FILE_STATUS_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_STATIC_VARIABLE + from PIMS_RESEARCH_FILE_STATUS_TYPE inner join inserted - on (PIMS_STATIC_VARIABLE.STATIC_VARIABLE_NAME = inserted.STATIC_VARIABLE_NAME); + on (PIMS_RESEARCH_FILE_STATUS_TYPE.RESEARCH_FILE_STATUS_TYPE_CODE = inserted.RESEARCH_FILE_STATUS_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACRQST_A_S_IUD_TR] ON PIMS_ACCESS_REQUEST FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_RFLDOC_A_S_IUD_TR] ON PIMS_RESEARCH_FILE_DOCUMENT FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -22647,55 +23050,136 @@ SET @curr_date = getutcdate(); IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) RETURN; - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_ACCESS_REQUEST_HIST set END_DATE_HIST = @curr_date where ACCESS_REQUEST_ID in (select ACCESS_REQUEST_ID from deleted) and END_DATE_HIST is null; + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_RESEARCH_FILE_DOCUMENT_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_DOCUMENT_ID in (select RESEARCH_FILE_DOCUMENT_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_RESEARCH_FILE_DOCUMENT_HIST ([RESEARCH_FILE_DOCUMENT_ID], [RESEARCH_FILE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_FILE_DOCUMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [RESEARCH_FILE_DOCUMENT_ID], [RESEARCH_FILE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_H_ID_SEQ]) as [_RESEARCH_FILE_DOCUMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +--CREATE TRIGGER PIMS_RFLNOT_I_S_I_TR ON PIMS_RESEARCH_FILE_NOTE INSTEAD OF INSERT AS +--SET NOCOUNT ON +--BEGIN TRY +-- IF NOT EXISTS(SELECT * FROM inserted) +-- RETURN; +-- +-- +-- insert into PIMS_RESEARCH_FILE_NOTE ("RESEARCH_FILE_NOTE_ID", +-- "RESEARCH_FILE_ID", +-- "NOTE_ID", +-- "IS_DISABLED", +-- "CONCURRENCY_CONTROL_NUMBER", +-- "APP_CREATE_TIMESTAMP", +-- "APP_CREATE_USERID", +-- "APP_CREATE_USER_GUID", +-- "APP_CREATE_USER_DIRECTORY", +-- "APP_LAST_UPDATE_TIMESTAMP", +-- "APP_LAST_UPDATE_USERID", +-- "APP_LAST_UPDATE_USER_GUID", +-- "APP_LAST_UPDATE_USER_DIRECTORY") +-- select "RESEARCH_FILE_NOTE_ID", +-- "RESEARCH_FILE_ID", +-- "NOTE_ID", +-- "IS_DISABLED", +-- "CONCURRENCY_CONTROL_NUMBER", +-- "APP_CREATE_TIMESTAMP", +-- "APP_CREATE_USERID", +-- "APP_CREATE_USER_GUID", +-- "APP_CREATE_USER_DIRECTORY", +-- "APP_LAST_UPDATE_TIMESTAMP", +-- "APP_LAST_UPDATE_USERID", +-- "APP_LAST_UPDATE_USER_GUID", +-- "APP_LAST_UPDATE_USER_DIRECTORY" +-- from inserted; +-- +--END TRY +--BEGIN CATCH +-- IF @@trancount > 0 ROLLBACK TRANSACTION +-- EXEC pims_error_handling +--END CATCH; +--go +CREATE TRIGGER [dbo].[PIMS_RFLPRJ_I_S_I_TR] ON PIMS_RESEARCH_FILE_PROJECT INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_ACCESS_REQUEST_HIST ([ACCESS_REQUEST_ID], [USER_ID], [ROLE_ID], [ACCESS_REQUEST_STATUS_TYPE_CODE], [REGION_CODE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACCESS_REQUEST_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ACCESS_REQUEST_ID], [USER_ID], [ROLE_ID], [ACCESS_REQUEST_STATUS_TYPE_CODE], [REGION_CODE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACCESS_REQUEST_H_ID_SEQ]) as [_ACCESS_REQUEST_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_RESEARCH_FILE_PROJECT ("RESEARCH_FILE_PROJECT_ID", + "RESEARCH_FILE_ID", + "PROJECT_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "RESEARCH_FILE_PROJECT_ID", + "RESEARCH_FILE_ID", + "PROJECT_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACQFTY_I_S_U_TR] ON PIMS_ACQUISITION_FUNDING_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_RSHPRT_I_S_U_TR] ON PIMS_RESEARCH_PURPOSE_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_FUNDING_TYPE_CODE = deleted.ACQUISITION_FUNDING_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_PURPOSE_TYPE_CODE = deleted.RESEARCH_PURPOSE_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_ACQUISITION_FUNDING_TYPE - set "ACQUISITION_FUNDING_TYPE_CODE" = inserted."ACQUISITION_FUNDING_TYPE_CODE", + update PIMS_RESEARCH_PURPOSE_TYPE + set "RESEARCH_PURPOSE_TYPE_CODE" = inserted."RESEARCH_PURPOSE_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ACQUISITION_FUNDING_TYPE + from PIMS_RESEARCH_PURPOSE_TYPE inner join inserted - on (PIMS_ACQUISITION_FUNDING_TYPE.ACQUISITION_FUNDING_TYPE_CODE = inserted.ACQUISITION_FUNDING_TYPE_CODE); + on (PIMS_RESEARCH_PURPOSE_TYPE.RESEARCH_PURPOSE_TYPE_CODE = inserted.RESEARCH_PURPOSE_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_RSCDOC_A_S_IUD_TR] ON PIMS_RESEARCH_FILE_DOCUMENT FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_RFLNOT_A_S_IUD_TR] ON PIMS_RESEARCH_FILE_NOTE FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -22705,30 +23189,29 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_RESEARCH_FILE_DOCUMENT_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_DOCUMENT_ID in (select RESEARCH_FILE_DOCUMENT_ID from deleted) and END_DATE_HIST is null; + update PIMS_RESEARCH_FILE_NOTE_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_ID in (select RESEARCH_FILE_ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_RESEARCH_FILE_DOCUMENT_HIST ([RESEARCH_FILE_DOCUMENT_ID], [RESEARCH_FILE_ID], [DOCUMENT_ID], [APP_CREATE_TIMESTAMP], [APP_CREATE_USER_DIRECTORY], [APP_CREATE_USER_GUID], [APP_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USER_DIRECTORY], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USERID], [CONCURRENCY_CONTROL_NUMBER], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], [IS_DISABLED], _RESEARCH_FILE_DOCUMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [RESEARCH_FILE_DOCUMENT_ID], [RESEARCH_FILE_ID], [DOCUMENT_ID], [APP_CREATE_TIMESTAMP], [APP_CREATE_USER_DIRECTORY], [APP_CREATE_USER_GUID], [APP_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USER_DIRECTORY], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USERID], [CONCURRENCY_CONTROL_NUMBER], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], [IS_DISABLED], (next value for [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_H_ID_SEQ]) as [_RESEARCH_FILE_DOCUMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_RESEARCH_FILE_NOTE_HIST ([RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_FILE_NOTE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_FILE_NOTE_H_ID_SEQ]) as [_RESEARCH_FILE_NOTE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRPRTT_I_S_I_TR] ON PIMS_PROP_PROP_TENURE_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_RSFLPR_I_S_I_TR] ON PIMS_RESEARCH_FILE_PURPOSE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_PROP_PROP_TENURE_TYPE ("PROP_PROP_TENURE_TYPE_ID", - "PROPERTY_ID", - "PROPERTY_TENURE_TYPE_CODE", + insert into PIMS_RESEARCH_FILE_PURPOSE ("RESEARCH_FILE_PURPOSE_ID", + "RESEARCH_FILE_ID", + "RESEARCH_PURPOSE_TYPE_CODE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -22738,9 +23221,9 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "PROP_PROP_TENURE_TYPE_ID", - "PROPERTY_ID", - "PROPERTY_TENURE_TYPE_CODE", + select "RESEARCH_FILE_PURPOSE_ID", + "RESEARCH_FILE_ID", + "RESEARCH_PURPOSE_TYPE_CODE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -22757,65 +23240,104 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RESPCD_I_S_U_TR] ON PIMS_RESPONSIBILITY_CODE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_RESPONSIBILITY_CODE + set "ID" = inserted."ID", + "CODE" = inserted."CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "EFFECTIVE_DATE" = inserted."EFFECTIVE_DATE", + "EXPIRY_DATE" = inserted."EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_RESPONSIBILITY_CODE + inner join inserted + on (PIMS_RESPONSIBILITY_CODE.ID = inserted.ID); +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_AIPRFL_I_S_I_TR] ON PIMS_ACT_INST_PROP_RSRCH_FILE INSTEAD OF INSERT AS +--CREATE TRIGGER PIMS_RFLNOT_A_S_IUD_TR ON PIMS_RESEARCH_FILE_NOTE FOR INSERT, UPDATE, DELETE AS +--SET NOCOUNT ON +--BEGIN TRY +--DECLARE @curr_date datetime; +--SET @curr_date = getutcdate(); +-- IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) +-- RETURN; +-- +-- -- historical +-- IF EXISTS(SELECT * FROM deleted) +-- update PIMS_RESEARCH_FILE_NOTE_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_NOTE_ID in (select RESEARCH_FILE_NOTE_ID from deleted) and END_DATE_HIST is null; +-- +-- IF EXISTS(SELECT * FROM inserted) +-- insert into PIMS_RESEARCH_FILE_NOTE_HIST ([RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_FILE_NOTE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) +-- select [RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_FILE_NOTE_H_ID_SEQ]) as [_RESEARCH_FILE_NOTE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; +-- +--END TRY +--BEGIN CATCH +-- IF @@trancount > 0 ROLLBACK TRANSACTION +-- EXEC pims_error_handling +--END CATCH; +--go + +CREATE TRIGGER [dbo].[PIMS_RFLPRJ_A_S_IUD_TR] ON PIMS_RESEARCH_FILE_PROJECT FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) RETURN; + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_RESEARCH_FILE_PROJECT_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_PROJECT_ID in (select RESEARCH_FILE_PROJECT_ID from deleted) and END_DATE_HIST is null; - insert into PIMS_ACT_INST_PROP_RSRCH_FILE ("ACT_INST_PROP_RSRCH_FILE_ID", - "ACTIVITY_INSTANCE_ID", - "PROPERTY_RESEARCH_FILE_ID", - "IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY") - select "ACT_INST_PROP_RSRCH_FILE_ID", - "ACTIVITY_INSTANCE_ID", - "PROPERTY_RESEARCH_FILE_ID", - "IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" - from inserted; + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_RESEARCH_FILE_PROJECT_HIST ([RESEARCH_FILE_PROJECT_ID], [RESEARCH_FILE_ID], [PROJECT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_FILE_PROJECT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [RESEARCH_FILE_PROJECT_ID], [RESEARCH_FILE_ID], [PROJECT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_FILE_PROJECT_H_ID_SEQ]) as [_RESEARCH_FILE_PROJECT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_TENTYP_I_S_I_TR] ON PIMS_TENANT_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_RSRCHS_I_S_I_TR] ON PIMS_RESEARCH_FILE_STATUS_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_TENANT_TYPE ("TENANT_TYPE_CODE", + insert into PIMS_RESEARCH_FILE_STATUS_TYPE ("RESEARCH_FILE_STATUS_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER") - select "TENANT_TYPE_CODE", + select "RESEARCH_FILE_STATUS_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", @@ -22827,116 +23349,132 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRPALT_I_S_U_TR] ON PIMS_PROP_PROP_ADJACENT_LAND_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ROLE_I_S_U_TR] ON PIMS_ROLE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROP_PROP_ADJACENT_LAND_TYPE_ID = deleted.PROP_PROP_ADJACENT_LAND_TYPE_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ROLE_ID = deleted.ROLE_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_PROP_PROP_ADJACENT_LAND_TYPE - set "PROP_PROP_ADJACENT_LAND_TYPE_ID" = inserted."PROP_PROP_ADJACENT_LAND_TYPE_ID", - "PROPERTY_ID" = inserted."PROPERTY_ID", - "PROPERTY_ADJACENT_LAND_TYPE_CODE" = inserted."PROPERTY_ADJACENT_LAND_TYPE_CODE", + update PIMS_ROLE + set "ROLE_ID" = inserted."ROLE_ID", + "ROLE_UID" = inserted."ROLE_UID", + "KEYCLOAK_GROUP_ID" = inserted."KEYCLOAK_GROUP_ID", + "NAME" = inserted."NAME", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_PUBLIC" = inserted."IS_PUBLIC", + "IS_DISABLED" = inserted."IS_DISABLED", + "SORT_ORDER" = inserted."SORT_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROP_PROP_ADJACENT_LAND_TYPE + from PIMS_ROLE inner join inserted - on (PIMS_PROP_PROP_ADJACENT_LAND_TYPE.PROP_PROP_ADJACENT_LAND_TYPE_ID = inserted.PROP_PROP_ADJACENT_LAND_TYPE_ID); + on (PIMS_ROLE.ROLE_ID = inserted.ROLE_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACQOWN_I_S_U_TR] ON PIMS_ACQUISITION_OWNER INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_RGNUSR_A_S_IUD_TR] ON PIMS_REGION_USER FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) RETURN; - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_OWNER_ID = deleted.ACQUISITION_OWNER_ID) - raiserror('CONCURRENCY FAILURE.',16,1) + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_REGION_USER_HIST set END_DATE_HIST = @curr_date where REGION_USER_ID in (select REGION_USER_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_REGION_USER_HIST ([REGION_USER_ID], [REGION_CODE], [USER_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _REGION_USER_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [REGION_USER_ID], [REGION_CODE], [USER_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_REGION_USER_H_ID_SEQ]) as [_REGION_USER_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO +CREATE TRIGGER [dbo].[PIMS_RSHPRT_I_S_I_TR] ON PIMS_RESEARCH_PURPOSE_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; - -- update statement - update PIMS_ACQUISITION_OWNER - set "ACQUISITION_OWNER_ID" = inserted."ACQUISITION_OWNER_ID", - "ACQUISITION_FILE_ID" = inserted."ACQUISITION_FILE_ID", - "ADDRESS_ID" = inserted."ADDRESS_ID", - "LAST_NAME_OR_CORP_NAME_1" = inserted."LAST_NAME_OR_CORP_NAME_1", - "LAST_NAME_OR_CORP_NAME_2" = inserted."LAST_NAME_OR_CORP_NAME_2", - "GIVEN_NAME" = inserted."GIVEN_NAME", - "INCORPORATION_NUMBER" = inserted."INCORPORATION_NUMBER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ACQUISITION_OWNER - inner join inserted - on (PIMS_ACQUISITION_OWNER.ACQUISITION_OWNER_ID = inserted.ACQUISITION_OWNER_ID); + + insert into PIMS_RESEARCH_PURPOSE_TYPE ("RESEARCH_PURPOSE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "RESEARCH_PURPOSE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_SPDCLT_I_S_U_TR] ON PIMS_SURPLUS_DECLARATION_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ROLCLM_I_S_U_TR] ON PIMS_ROLE_CLAIM INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.SURPLUS_DECLARATION_TYPE_CODE = deleted.SURPLUS_DECLARATION_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ROLE_CLAIM_ID = deleted.ROLE_CLAIM_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_SURPLUS_DECLARATION_TYPE - set "SURPLUS_DECLARATION_TYPE_CODE" = inserted."SURPLUS_DECLARATION_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", + update PIMS_ROLE_CLAIM + set "ROLE_CLAIM_ID" = inserted."ROLE_CLAIM_ID", + "ROLE_ID" = inserted."ROLE_ID", + "CLAIM_ID" = inserted."CLAIM_ID", "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_SURPLUS_DECLARATION_TYPE + from PIMS_ROLE_CLAIM inner join inserted - on (PIMS_SURPLUS_DECLARATION_TYPE.SURPLUS_DECLARATION_TYPE_CODE = inserted.SURPLUS_DECLARATION_TYPE_CODE); + on (PIMS_ROLE_CLAIM.ROLE_CLAIM_ID = inserted.ROLE_CLAIM_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACTDOC_A_S_IUD_TR] ON PIMS_ACTIVITY_INSTANCE_DOCUMENT FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_ROLCLM_A_S_IUD_TR] ON PIMS_ROLE_CLAIM FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -22946,32 +23484,32 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_ACTIVITY_INSTANCE_DOCUMENT_HIST set END_DATE_HIST = @curr_date where ACTIVITY_INSTANCE_DOCUMENT_ID in (select ACTIVITY_INSTANCE_DOCUMENT_ID from deleted) and END_DATE_HIST is null; + update PIMS_ROLE_CLAIM_HIST set END_DATE_HIST = @curr_date where ROLE_CLAIM_ID in (select ROLE_CLAIM_ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_ACTIVITY_INSTANCE_DOCUMENT_HIST ([ACTIVITY_INSTANCE_DOCUMENT_ID], [ACTIVITY_INSTANCE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACTIVITY_INSTANCE_DOCUMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ACTIVITY_INSTANCE_DOCUMENT_ID], [ACTIVITY_INSTANCE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT_H_ID_SEQ]) as [_ACTIVITY_INSTANCE_DOCUMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_ROLE_CLAIM_HIST ([ROLE_CLAIM_ID], [ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ROLE_CLAIM_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ROLE_CLAIM_ID], [ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ROLE_CLAIM_H_ID_SEQ]) as [_ROLE_CLAIM_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACTINS_I_S_I_TR] ON PIMS_ACTIVITY_INSTANCE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_RESPCD_I_S_I_TR] ON PIMS_RESPONSIBILITY_CODE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_ACTIVITY_INSTANCE ("ACTIVITY_INSTANCE_ID", - "ACTIVITY_TEMPLATE_ID", - "ACTIVITY_INSTANCE_STATUS_TYPE_CODE", + insert into PIMS_RESPONSIBILITY_CODE ("ID", + "CODE", "DESCRIPTION", - "ACTIVITY_DATA_JSON", + "DISPLAY_ORDER", + "EFFECTIVE_DATE", + "EXPIRY_DATE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -22981,11 +23519,12 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "ACTIVITY_INSTANCE_ID", - "ACTIVITY_TEMPLATE_ID", - "ACTIVITY_INSTANCE_STATUS_TYPE_CODE", + select "ID", + "CODE", "DESCRIPTION", - "ACTIVITY_DATA_JSON", + "DISPLAY_ORDER", + "EFFECTIVE_DATE", + "EXPIRY_DATE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -23002,10 +23541,47 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_SECDEP_I_S_U_TR] ON PIMS_SECURITY_DEPOSIT INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.SECURITY_DEPOSIT_ID = deleted.SECURITY_DEPOSIT_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_SECURITY_DEPOSIT + set "SECURITY_DEPOSIT_ID" = inserted."SECURITY_DEPOSIT_ID", + "LEASE_ID" = inserted."LEASE_ID", + "SECURITY_DEPOSIT_TYPE_CODE" = inserted."SECURITY_DEPOSIT_TYPE_CODE", + "OTHER_DEPOSIT_TYPE_DESC" = inserted."OTHER_DEPOSIT_TYPE_DESC", + "DESCRIPTION" = inserted."DESCRIPTION", + "AMOUNT_PAID" = inserted."AMOUNT_PAID", + "DEPOSIT_DATE" = inserted."DEPOSIT_DATE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_SECURITY_DEPOSIT + inner join inserted + on (PIMS_SECURITY_DEPOSIT.SECURITY_DEPOSIT_ID = inserted.SECURITY_DEPOSIT_ID); +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_RSCHAI_A_S_IUD_TR] ON PIMS_RESEARCH_ACTIVITY_INSTANCE FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_ROLE_A_S_IUD_TR] ON PIMS_ROLE FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -23015,37 +23591,60 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_RESEARCH_ACTIVITY_INSTANCE_HIST set END_DATE_HIST = @curr_date where RESEARCH_ACTIVITY_INSTANCE_ID in (select RESEARCH_ACTIVITY_INSTANCE_ID from deleted) and END_DATE_HIST is null; + update PIMS_ROLE_HIST set END_DATE_HIST = @curr_date where ROLE_ID in (select ROLE_ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_RESEARCH_ACTIVITY_INSTANCE_HIST ([RESEARCH_ACTIVITY_INSTANCE_ID], [ACTIVITY_INSTANCE_ID], [RESEARCH_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_ACTIVITY_INSTANCE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [RESEARCH_ACTIVITY_INSTANCE_ID], [ACTIVITY_INSTANCE_ID], [RESEARCH_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE_H_ID_SEQ]) as [_RESEARCH_ACTIVITY_INSTANCE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_ROLE_HIST ([ROLE_ID], [ROLE_UID], [KEYCLOAK_GROUP_ID], [NAME], [DESCRIPTION], [IS_PUBLIC], [IS_DISABLED], [SORT_ORDER], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ROLE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ROLE_ID], [ROLE_UID], [KEYCLOAK_GROUP_ID], [NAME], [DESCRIPTION], [IS_PUBLIC], [IS_DISABLED], [SORT_ORDER], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ROLE_H_ID_SEQ]) as [_ROLE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_RRESPT_I_S_I_TR] ON PIMS_PROP_RESEARCH_PURPOSE_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_ROLE_I_S_I_TR] ON PIMS_ROLE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_PROP_RESEARCH_PURPOSE_TYPE ("PROP_RESEARCH_PURPOSE_TYPE_CODE", + insert into PIMS_ROLE ("ROLE_ID", + "ROLE_UID", + "KEYCLOAK_GROUP_ID", + "NAME", "DESCRIPTION", + "IS_PUBLIC", "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "PROP_RESEARCH_PURPOSE_TYPE_CODE", + "SORT_ORDER", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ROLE_ID", + "ROLE_UID", + "KEYCLOAK_GROUP_ID", + "NAME", "DESCRIPTION", + "IS_PUBLIC", "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" + "SORT_ORDER", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" from inserted; END TRY @@ -23053,58 +23652,76 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACQTYP_I_S_U_TR] ON PIMS_ACQUISITION_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_SCDPHL_I_S_U_TR] ON PIMS_SECURITY_DEPOSIT_HOLDER INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_TYPE_CODE = deleted.ACQUISITION_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.SECURITY_DEPOSIT_HOLDER_ID = deleted.SECURITY_DEPOSIT_HOLDER_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_ACQUISITION_TYPE - set "ACQUISITION_TYPE_CODE" = inserted."ACQUISITION_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + update PIMS_SECURITY_DEPOSIT_HOLDER + set "SECURITY_DEPOSIT_HOLDER_ID" = inserted."SECURITY_DEPOSIT_HOLDER_ID", + "SECURITY_DEPOSIT_ID" = inserted."SECURITY_DEPOSIT_ID", + "PERSON_ID" = inserted."PERSON_ID", + "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ACQUISITION_TYPE + from PIMS_SECURITY_DEPOSIT_HOLDER inner join inserted - on (PIMS_ACQUISITION_TYPE.ACQUISITION_TYPE_CODE = inserted.ACQUISITION_TYPE_CODE); + on (PIMS_SECURITY_DEPOSIT_HOLDER.SECURITY_DEPOSIT_HOLDER_ID = inserted.SECURITY_DEPOSIT_HOLDER_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RSCHAI_A_S_IUD_TR] ON PIMS_RESEARCH_ACTIVITY_INSTANCE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_RESEARCH_ACTIVITY_INSTANCE_HIST set END_DATE_HIST = @curr_date where RESEARCH_ACTIVITY_INSTANCE_ID in (select RESEARCH_ACTIVITY_INSTANCE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_RESEARCH_ACTIVITY_INSTANCE_HIST ([RESEARCH_ACTIVITY_INSTANCE_ID], [ACTIVITY_INSTANCE_ID], [RESEARCH_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_ACTIVITY_INSTANCE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [RESEARCH_ACTIVITY_INSTANCE_ID], [ACTIVITY_INSTANCE_ID], [RESEARCH_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE_H_ID_SEQ]) as [_RESEARCH_ACTIVITY_INSTANCE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_USER_I_S_I_TR] ON PIMS_USER INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_ROLCLM_I_S_I_TR] ON PIMS_ROLE_CLAIM INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_USER ("USER_ID", - "PERSON_ID", - "BUSINESS_IDENTIFIER_VALUE", - "GUID_IDENTIFIER_VALUE", - "POSITION", - "NOTE", - "LAST_LOGIN", - "APPROVED_BY_ID", - "ISSUE_DATE", - "EXPIRY_DATE", + insert into PIMS_ROLE_CLAIM ("ROLE_CLAIM_ID", + "ROLE_ID", + "CLAIM_ID", "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", @@ -23115,16 +23732,9 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "USER_ID", - "PERSON_ID", - "BUSINESS_IDENTIFIER_VALUE", - "GUID_IDENTIFIER_VALUE", - "POSITION", - "NOTE", - "LAST_LOGIN", - "APPROVED_BY_ID", - "ISSUE_DATE", - "EXPIRY_DATE", + select "ROLE_CLAIM_ID", + "ROLE_ID", + "CLAIM_ID", "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", @@ -23142,55 +23752,83 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRPRAT_I_S_U_TR] ON PIMS_PROP_PROP_ANOMALY_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_SDRTRN_I_S_U_TR] ON PIMS_SECURITY_DEPOSIT_RETURN INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROP_PROP_ANOMALY_TYPE_ID = deleted.PROP_PROP_ANOMALY_TYPE_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.SECURITY_DEPOSIT_RETURN_ID = deleted.SECURITY_DEPOSIT_RETURN_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_PROP_PROP_ANOMALY_TYPE - set "PROP_PROP_ANOMALY_TYPE_ID" = inserted."PROP_PROP_ANOMALY_TYPE_ID", - "PROPERTY_ID" = inserted."PROPERTY_ID", - "PROPERTY_ANOMALY_TYPE_CODE" = inserted."PROPERTY_ANOMALY_TYPE_CODE", + update PIMS_SECURITY_DEPOSIT_RETURN + set "SECURITY_DEPOSIT_RETURN_ID" = inserted."SECURITY_DEPOSIT_RETURN_ID", + "SECURITY_DEPOSIT_ID" = inserted."SECURITY_DEPOSIT_ID", + "TERMINATION_DATE" = inserted."TERMINATION_DATE", + "CLAIMS_AGAINST" = inserted."CLAIMS_AGAINST", + "RETURN_AMOUNT" = inserted."RETURN_AMOUNT", + "RETURN_DATE" = inserted."RETURN_DATE", + "INTEREST_PAID" = inserted."INTEREST_PAID", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROP_PROP_ANOMALY_TYPE + from PIMS_SECURITY_DEPOSIT_RETURN inner join inserted - on (PIMS_PROP_PROP_ANOMALY_TYPE.PROP_PROP_ANOMALY_TYPE_ID = inserted.PROP_PROP_ANOMALY_TYPE_ID); + on (PIMS_SECURITY_DEPOSIT_RETURN.SECURITY_DEPOSIT_RETURN_ID = inserted.SECURITY_DEPOSIT_RETURN_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RSFLPR_A_S_IUD_TR] ON PIMS_RESEARCH_FILE_PURPOSE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_RESEARCH_FILE_PURPOSE_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_PURPOSE_ID in (select RESEARCH_FILE_PURPOSE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_RESEARCH_FILE_PURPOSE_HIST ([RESEARCH_FILE_PURPOSE_ID], [RESEARCH_FILE_ID], [RESEARCH_PURPOSE_TYPE_CODE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_FILE_PURPOSE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [RESEARCH_FILE_PURPOSE_ID], [RESEARCH_FILE_ID], [RESEARCH_PURPOSE_TYPE_CODE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_FILE_PURPOSE_H_ID_SEQ]) as [_RESEARCH_FILE_PURPOSE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_ACTDOC_I_S_I_TR] ON PIMS_ACTIVITY_INSTANCE_DOCUMENT INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_SECDEP_I_S_I_TR] ON PIMS_SECURITY_DEPOSIT INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_ACTIVITY_INSTANCE_DOCUMENT ("ACTIVITY_INSTANCE_DOCUMENT_ID", - "ACTIVITY_INSTANCE_ID", - "DOCUMENT_ID", - "IS_DISABLED", + insert into PIMS_SECURITY_DEPOSIT ("SECURITY_DEPOSIT_ID", + "LEASE_ID", + "SECURITY_DEPOSIT_TYPE_CODE", + "OTHER_DEPOSIT_TYPE_DESC", + "DESCRIPTION", + "AMOUNT_PAID", + "DEPOSIT_DATE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -23200,10 +23838,13 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "ACTIVITY_INSTANCE_DOCUMENT_ID", - "ACTIVITY_INSTANCE_ID", - "DOCUMENT_ID", - "IS_DISABLED", + select "SECURITY_DEPOSIT_ID", + "LEASE_ID", + "SECURITY_DEPOSIT_TYPE_CODE", + "OTHER_DEPOSIT_TYPE_DESC", + "DESCRIPTION", + "AMOUNT_PAID", + "DEPOSIT_DATE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -23220,42 +23861,44 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_SRVPLT_I_S_U_TR] ON PIMS_SURVEY_PLAN_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_SCDPRH_I_S_U_TR] ON PIMS_SECURITY_DEPOSIT_RETURN_HOLDER INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.SURVEY_PLAN_TYPE_CODE = deleted.SURVEY_PLAN_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.SECURITY_DEPOSIT_RETURN_HOLDER_ID = deleted.SECURITY_DEPOSIT_RETURN_HOLDER_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_SURVEY_PLAN_TYPE - set "SURVEY_PLAN_TYPE_CODE" = inserted."SURVEY_PLAN_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + update PIMS_SECURITY_DEPOSIT_RETURN_HOLDER + set "SECURITY_DEPOSIT_RETURN_HOLDER_ID" = inserted."SECURITY_DEPOSIT_RETURN_HOLDER_ID", + "SECURITY_DEPOSIT_RETURN_ID" = inserted."SECURITY_DEPOSIT_RETURN_ID", + "PERSON_ID" = inserted."PERSON_ID", + "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_SURVEY_PLAN_TYPE + from PIMS_SECURITY_DEPOSIT_RETURN_HOLDER inner join inserted - on (PIMS_SURVEY_PLAN_TYPE.SURVEY_PLAN_TYPE_CODE = inserted.SURVEY_PLAN_TYPE_CODE); + on (PIMS_SECURITY_DEPOSIT_RETURN_HOLDER.SECURITY_DEPOSIT_RETURN_HOLDER_ID = inserted.SECURITY_DEPOSIT_RETURN_HOLDER_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACTINN_A_S_IUD_TR] ON PIMS_ACTIVITY_INSTANCE_NOTE FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_SCDPHL_A_S_IUD_TR] ON PIMS_SECURITY_DEPOSIT_HOLDER FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -23265,57 +23908,93 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_ACTIVITY_INSTANCE_NOTE_HIST set END_DATE_HIST = @curr_date where PIMS_ACTIVITY_INSTANCE_NOTE_ID in (select PIMS_ACTIVITY_INSTANCE_NOTE_ID from deleted) and END_DATE_HIST is null; + update PIMS_SECURITY_DEPOSIT_HOLDER_HIST set END_DATE_HIST = @curr_date where SECURITY_DEPOSIT_HOLDER_ID in (select SECURITY_DEPOSIT_HOLDER_ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_ACTIVITY_INSTANCE_NOTE_HIST ([PIMS_ACTIVITY_INSTANCE_NOTE_ID], [ACTIVITY_INSTANCE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACTIVITY_INSTANCE_NOTE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [PIMS_ACTIVITY_INSTANCE_NOTE_ID], [ACTIVITY_INSTANCE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE_H_ID_SEQ]) as [_ACTIVITY_INSTANCE_NOTE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_SECURITY_DEPOSIT_HOLDER_HIST ([SECURITY_DEPOSIT_HOLDER_ID], [SECURITY_DEPOSIT_ID], [PERSON_ID], [ORGANIZATION_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _SECURITY_DEPOSIT_HOLDER_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [SECURITY_DEPOSIT_HOLDER_ID], [SECURITY_DEPOSIT_ID], [PERSON_ID], [ORGANIZATION_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER_H_ID_SEQ]) as [_SECURITY_DEPOSIT_HOLDER_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_SCDPHL_I_S_I_TR] ON PIMS_SECURITY_DEPOSIT_HOLDER INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_SECURITY_DEPOSIT_HOLDER ("SECURITY_DEPOSIT_HOLDER_ID", + "SECURITY_DEPOSIT_ID", + "PERSON_ID", + "ORGANIZATION_ID", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "SECURITY_DEPOSIT_HOLDER_ID", + "SECURITY_DEPOSIT_ID", + "PERSON_ID", + "ORGANIZATION_ID", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_AIPAFL_I_S_U_TR] ON PIMS_ACT_INST_PROP_ACQ_FILE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_SECDPT_I_S_U_TR] ON PIMS_SECURITY_DEPOSIT_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACT_INST_PROP_ACQ_FILE_ID = deleted.ACT_INST_PROP_ACQ_FILE_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.SECURITY_DEPOSIT_TYPE_CODE = deleted.SECURITY_DEPOSIT_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_ACT_INST_PROP_ACQ_FILE - set "ACT_INST_PROP_ACQ_FILE_ID" = inserted."ACT_INST_PROP_ACQ_FILE_ID", - "ACTIVITY_INSTANCE_ID" = inserted."ACTIVITY_INSTANCE_ID", - "PROPERTY_ACQUISITION_FILE_ID" = inserted."PROPERTY_ACQUISITION_FILE_ID", + update PIMS_SECURITY_DEPOSIT_TYPE + set "SECURITY_DEPOSIT_TYPE_CODE" = inserted."SECURITY_DEPOSIT_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ACT_INST_PROP_ACQ_FILE + from PIMS_SECURITY_DEPOSIT_TYPE inner join inserted - on (PIMS_ACT_INST_PROP_ACQ_FILE.ACT_INST_PROP_ACQ_FILE_ID = inserted.ACT_INST_PROP_ACQ_FILE_ID); + on (PIMS_SECURITY_DEPOSIT_TYPE.SECURITY_DEPOSIT_TYPE_CODE = inserted.SECURITY_DEPOSIT_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_RSCNOT_A_S_IUD_TR] ON PIMS_RESEARCH_FILE_NOTE FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_SCDPRH_A_S_IUD_TR] ON PIMS_SECURITY_DEPOSIT_RETURN_HOLDER FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -23325,72 +24004,33 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_RESEARCH_FILE_NOTE_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_NOTE_ID in (select RESEARCH_FILE_NOTE_ID from deleted) and END_DATE_HIST is null; + update PIMS_SECURITY_DEPOSIT_RETURN_HOLDER_HIST set END_DATE_HIST = @curr_date where SECURITY_DEPOSIT_RETURN_HOLDER_ID in (select SECURITY_DEPOSIT_RETURN_HOLDER_ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_RESEARCH_FILE_NOTE_HIST ([RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_FILE_NOTE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_FILE_NOTE_H_ID_SEQ]) as [_RESEARCH_FILE_NOTE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_SECURITY_DEPOSIT_RETURN_HOLDER_HIST ([SECURITY_DEPOSIT_RETURN_HOLDER_ID], [SECURITY_DEPOSIT_RETURN_ID], [PERSON_ID], [ORGANIZATION_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _SECURITY_DEPOSIT_RETURN_HOLDER_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [SECURITY_DEPOSIT_RETURN_HOLDER_ID], [SECURITY_DEPOSIT_RETURN_ID], [PERSON_ID], [ORGANIZATION_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER_H_ID_SEQ]) as [_SECURITY_DEPOSIT_RETURN_HOLDER_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRPRTY_I_S_I_TR] ON PIMS_PROPERTY INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_SDRTRN_I_S_I_TR] ON PIMS_SECURITY_DEPOSIT_RETURN INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_PROPERTY ("PROPERTY_ID", - "PROPERTY_MANAGER_ID", - "PROP_MGMT_ORG_ID", - "PROPERTY_TYPE_CODE", - "PROPERTY_CLASSIFICATION_TYPE_CODE", - "ADDRESS_ID", - "REGION_CODE", - "DISTRICT_CODE", - "PROPERTY_AREA_UNIT_TYPE_CODE", - "PROPERTY_DATA_SOURCE_TYPE_CODE", - "PROPERTY_STATUS_TYPE_CODE", - "SURPLUS_DECLARATION_TYPE_CODE", - "VOLUMETRIC_TYPE_CODE", - "VOLUME_UNIT_TYPE_CODE", - "PPH_STATUS_TYPE_CODE", - "PROPERTY_DATA_SOURCE_EFFECTIVE_DATE", - "NAME", - "DESCRIPTION", - "PID", - "PIN", - "FILE_NUMBER", - "FILE_NUMBER_SUFFIX", - "LAND_AREA", - "LAND_LEGAL_DESCRIPTION", - "BOUNDARY", - "LOCATION", - "SURVEY_PLAN_NUMBER", - "ENCUMBRANCE_REASON", - "SURPLUS_DECLARATION_COMMENT", - "SURPLUS_DECLARATION_DATE", - "NOTES", - "MUNICIPAL_ZONING", - "IS_VOLUMETRIC_PARCEL", - "VOLUMETRIC_MEASUREMENT", - "IS_OWNED", - "IS_PROPERTY_OF_INTEREST", - "IS_VISIBLE_TO_OTHER_AGENCIES", - "IS_SENSITIVE", - "IS_PROVINCIAL_PUBLIC_HWY", - "PPH_STATUS_UPDATE_USERID", - "PPH_STATUS_UPDATE_TIMESTAMP", - "PPH_STATUS_UPDATE_USER_GUID", - "IS_RWY_BELT_DOM_PATENT", - "ZONING", - "ZONING_POTENTIAL", + insert into PIMS_SECURITY_DEPOSIT_RETURN ("SECURITY_DEPOSIT_RETURN_ID", + "SECURITY_DEPOSIT_ID", + "TERMINATION_DATE", + "CLAIMS_AGAINST", + "RETURN_AMOUNT", + "RETURN_DATE", + "INTEREST_PAID", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -23400,51 +24040,13 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "PROPERTY_ID", - "PROPERTY_MANAGER_ID", - "PROP_MGMT_ORG_ID", - "PROPERTY_TYPE_CODE", - "PROPERTY_CLASSIFICATION_TYPE_CODE", - "ADDRESS_ID", - "REGION_CODE", - "DISTRICT_CODE", - "PROPERTY_AREA_UNIT_TYPE_CODE", - "PROPERTY_DATA_SOURCE_TYPE_CODE", - "PROPERTY_STATUS_TYPE_CODE", - "SURPLUS_DECLARATION_TYPE_CODE", - "VOLUMETRIC_TYPE_CODE", - "VOLUME_UNIT_TYPE_CODE", - "PPH_STATUS_TYPE_CODE", - "PROPERTY_DATA_SOURCE_EFFECTIVE_DATE", - "NAME", - "DESCRIPTION", - "PID", - "PIN", - "FILE_NUMBER", - "FILE_NUMBER_SUFFIX", - "LAND_AREA", - "LAND_LEGAL_DESCRIPTION", - "BOUNDARY", - "LOCATION", - "SURVEY_PLAN_NUMBER", - "ENCUMBRANCE_REASON", - "SURPLUS_DECLARATION_COMMENT", - "SURPLUS_DECLARATION_DATE", - "NOTES", - "MUNICIPAL_ZONING", - "IS_VOLUMETRIC_PARCEL", - "VOLUMETRIC_MEASUREMENT", - "IS_OWNED", - "IS_PROPERTY_OF_INTEREST", - "IS_VISIBLE_TO_OTHER_AGENCIES", - "IS_SENSITIVE", - "IS_PROVINCIAL_PUBLIC_HWY", - "PPH_STATUS_UPDATE_USERID", - "PPH_STATUS_UPDATE_TIMESTAMP", - "PPH_STATUS_UPDATE_USER_GUID", - "IS_RWY_BELT_DOM_PATENT", - "ZONING", - "ZONING_POTENTIAL", + select "SECURITY_DEPOSIT_RETURN_ID", + "SECURITY_DEPOSIT_ID", + "TERMINATION_DATE", + "CLAIMS_AGAINST", + "RETURN_AMOUNT", + "RETURN_DATE", + "INTEREST_PAID", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -23461,41 +24063,96 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACTINN_I_S_I_TR] ON PIMS_ACTIVITY_INSTANCE_NOTE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_STAVBL_I_S_U_TR] ON PIMS_STATIC_VARIABLE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.STATIC_VARIABLE_NAME = deleted.STATIC_VARIABLE_NAME) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_STATIC_VARIABLE + set "STATIC_VARIABLE_NAME" = inserted."STATIC_VARIABLE_NAME", + "STATIC_VARIABLE_VALUE" = inserted."STATIC_VARIABLE_VALUE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_STATIC_VARIABLE + inner join inserted + on (PIMS_STATIC_VARIABLE.STATIC_VARIABLE_NAME = inserted.STATIC_VARIABLE_NAME); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_SDRTRN_A_S_IUD_TR] ON PIMS_SECURITY_DEPOSIT_RETURN FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_SECURITY_DEPOSIT_RETURN_HIST set END_DATE_HIST = @curr_date where SECURITY_DEPOSIT_RETURN_ID in (select SECURITY_DEPOSIT_RETURN_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_SECURITY_DEPOSIT_RETURN_HIST ([SECURITY_DEPOSIT_RETURN_ID], [SECURITY_DEPOSIT_ID], [TERMINATION_DATE], [CLAIMS_AGAINST], [RETURN_AMOUNT], [RETURN_DATE], [INTEREST_PAID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _SECURITY_DEPOSIT_RETURN_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [SECURITY_DEPOSIT_RETURN_ID], [SECURITY_DEPOSIT_ID], [TERMINATION_DATE], [CLAIMS_AGAINST], [RETURN_AMOUNT], [RETURN_DATE], [INTEREST_PAID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_H_ID_SEQ]) as [_SECURITY_DEPOSIT_RETURN_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_SCDPRH_I_S_I_TR] ON PIMS_SECURITY_DEPOSIT_RETURN_HOLDER INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_ACTIVITY_INSTANCE_NOTE ("PIMS_ACTIVITY_INSTANCE_NOTE_ID", - "ACTIVITY_INSTANCE_ID", - "NOTE_ID", - "IS_DISABLED", + insert into PIMS_SECURITY_DEPOSIT_RETURN_HOLDER ("SECURITY_DEPOSIT_RETURN_HOLDER_ID", + "SECURITY_DEPOSIT_RETURN_ID", + "PERSON_ID", + "ORGANIZATION_ID", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", "APP_CREATE_USER_GUID", "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USER_DIRECTORY") - select "PIMS_ACTIVITY_INSTANCE_NOTE_ID", - "ACTIVITY_INSTANCE_ID", - "NOTE_ID", - "IS_DISABLED", + select "SECURITY_DEPOSIT_RETURN_HOLDER_ID", + "SECURITY_DEPOSIT_RETURN_ID", + "PERSON_ID", + "ORGANIZATION_ID", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", "APP_CREATE_USER_GUID", "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USER_DIRECTORY" from inserted; @@ -23504,21 +24161,151 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_SPDCLT_I_S_U_TR] ON PIMS_SURPLUS_DECLARATION_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.SURPLUS_DECLARATION_TYPE_CODE = deleted.SURPLUS_DECLARATION_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_SURPLUS_DECLARATION_TYPE + set "SURPLUS_DECLARATION_TYPE_CODE" = inserted."SURPLUS_DECLARATION_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_SURPLUS_DECLARATION_TYPE + inner join inserted + on (PIMS_SURPLUS_DECLARATION_TYPE.SURPLUS_DECLARATION_TYPE_CODE = inserted.SURPLUS_DECLARATION_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_SECDEP_A_S_IUD_TR] ON PIMS_SECURITY_DEPOSIT FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_SECURITY_DEPOSIT_HIST set END_DATE_HIST = @curr_date where SECURITY_DEPOSIT_ID in (select SECURITY_DEPOSIT_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_SECURITY_DEPOSIT_HIST ([SECURITY_DEPOSIT_ID], [LEASE_ID], [SECURITY_DEPOSIT_TYPE_CODE], [OTHER_DEPOSIT_TYPE_DESC], [DESCRIPTION], [AMOUNT_PAID], [DEPOSIT_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _SECURITY_DEPOSIT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [SECURITY_DEPOSIT_ID], [LEASE_ID], [SECURITY_DEPOSIT_TYPE_CODE], [OTHER_DEPOSIT_TYPE_DESC], [DESCRIPTION], [AMOUNT_PAID], [DEPOSIT_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_SECURITY_DEPOSIT_H_ID_SEQ]) as [_SECURITY_DEPOSIT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_USRORG_I_S_I_TR] ON PIMS_USER_ORGANIZATION INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_SECDPT_I_S_I_TR] ON PIMS_SECURITY_DEPOSIT_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_USER_ORGANIZATION ("USER_ORGANIZATION_ID", - "ORGANIZATION_ID", - "USER_ID", - "ROLE_ID", + insert into PIMS_SECURITY_DEPOSIT_TYPE ("SECURITY_DEPOSIT_TYPE_CODE", + "DESCRIPTION", "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "SECURITY_DEPOSIT_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_SRVPLT_I_S_U_TR] ON PIMS_SURVEY_PLAN_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.SURVEY_PLAN_TYPE_CODE = deleted.SURVEY_PLAN_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_SURVEY_PLAN_TYPE + set "SURVEY_PLAN_TYPE_CODE" = inserted."SURVEY_PLAN_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_SURVEY_PLAN_TYPE + inner join inserted + on (PIMS_SURVEY_PLAN_TYPE.SURVEY_PLAN_TYPE_CODE = inserted.SURVEY_PLAN_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_STAVBL_A_S_IUD_TR] ON PIMS_STATIC_VARIABLE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_STATIC_VARIABLE_HIST set END_DATE_HIST = @curr_date where STATIC_VARIABLE_NAME in (select STATIC_VARIABLE_NAME from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_STATIC_VARIABLE_HIST ([STATIC_VARIABLE_NAME], [STATIC_VARIABLE_VALUE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _STATIC_VARIABLE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [STATIC_VARIABLE_NAME], [STATIC_VARIABLE_VALUE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_STATIC_VARIABLE_H_ID_SEQ]) as [_STATIC_VARIABLE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_STAVBL_I_S_I_TR] ON PIMS_STATIC_VARIABLE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_STATIC_VARIABLE ("STATIC_VARIABLE_NAME", + "STATIC_VARIABLE_VALUE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -23528,11 +24315,8 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "USER_ORGANIZATION_ID", - "ORGANIZATION_ID", - "USER_ID", - "ROLE_ID", - "IS_DISABLED", + select "STATIC_VARIABLE_NAME", + "STATIC_VARIABLE_VALUE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -23549,114 +24333,121 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRPRRT_I_S_U_TR] ON PIMS_PROP_PROP_ROAD_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_TENNTX_I_S_U_TR] ON PIMS_TENANT INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROP_PROP_ROAD_TYPE_ID = deleted.PROP_PROP_ROAD_TYPE_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.TENANT_ID = deleted.TENANT_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_PROP_PROP_ROAD_TYPE - set "PROP_PROP_ROAD_TYPE_ID" = inserted."PROP_PROP_ROAD_TYPE_ID", - "PROPERTY_ID" = inserted."PROPERTY_ID", - "PROPERTY_ROAD_TYPE_CODE" = inserted."PROPERTY_ROAD_TYPE_CODE", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + update PIMS_TENANT + set "TENANT_ID" = inserted."TENANT_ID", + "CODE" = inserted."CODE", + "NAME" = inserted."NAME", + "DESCRIPTION" = inserted."DESCRIPTION", + "SETTINGS" = inserted."SETTINGS", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROP_PROP_ROAD_TYPE + from PIMS_TENANT inner join inserted - on (PIMS_PROP_PROP_ROAD_TYPE.PROP_PROP_ROAD_TYPE_ID = inserted.PROP_PROP_ROAD_TYPE_ID); + on (PIMS_TENANT.TENANT_ID = inserted.TENANT_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_AIPRFL_I_S_U_TR] ON PIMS_ACT_INST_PROP_RSRCH_FILE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_TENANT_A_S_IUD_TR] ON PIMS_LEASE_TENANT FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) RETURN; - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACT_INST_PROP_RSRCH_FILE_ID = deleted.ACT_INST_PROP_RSRCH_FILE_ID) - raiserror('CONCURRENCY FAILURE.',16,1) + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_LEASE_TENANT_HIST set END_DATE_HIST = @curr_date where LEASE_TENANT_ID in (select LEASE_TENANT_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_LEASE_TENANT_HIST ([LEASE_TENANT_ID], [LEASE_ID], [PERSON_ID], [ORGANIZATION_ID], [PRIMARY_CONTACT_ID], [LESSOR_TYPE_CODE], [TENANT_TYPE_CODE], [NOTE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _LEASE_TENANT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [LEASE_TENANT_ID], [LEASE_ID], [PERSON_ID], [ORGANIZATION_ID], [PRIMARY_CONTACT_ID], [LESSOR_TYPE_CODE], [TENANT_TYPE_CODE], [NOTE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_LEASE_TENANT_H_ID_SEQ]) as [_LEASE_TENANT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO - -- update statement - update PIMS_ACT_INST_PROP_RSRCH_FILE - set "ACT_INST_PROP_RSRCH_FILE_ID" = inserted."ACT_INST_PROP_RSRCH_FILE_ID", - "ACTIVITY_INSTANCE_ID" = inserted."ACTIVITY_INSTANCE_ID", - "PROPERTY_RESEARCH_FILE_ID" = inserted."PROPERTY_RESEARCH_FILE_ID", - "IS_DISABLED" = inserted."IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ACT_INST_PROP_RSRCH_FILE - inner join inserted - on (PIMS_ACT_INST_PROP_RSRCH_FILE.ACT_INST_PROP_RSRCH_FILE_ID = inserted.ACT_INST_PROP_RSRCH_FILE_ID); +CREATE TRIGGER [dbo].[PIMS_SPDCLT_I_S_I_TR] ON PIMS_SURPLUS_DECLARATION_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_SURPLUS_DECLARATION_TYPE ("SURPLUS_DECLARATION_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "SURPLUS_DECLARATION_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_TENNTX_I_S_U_TR] ON PIMS_TENANT INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_TENTYP_I_S_U_TR] ON PIMS_TENANT_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.TENANT_ID = deleted.TENANT_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.TENANT_TYPE_CODE = deleted.TENANT_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_TENANT - set "TENANT_ID" = inserted."TENANT_ID", - "CODE" = inserted."CODE", - "NAME" = inserted."NAME", + update PIMS_TENANT_TYPE + set "TENANT_TYPE_CODE" = inserted."TENANT_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", - "SETTINGS" = inserted."SETTINGS", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_TENANT + from PIMS_TENANT_TYPE inner join inserted - on (PIMS_TENANT.TENANT_ID = inserted.TENANT_ID); + on (PIMS_TENANT_TYPE.TENANT_TYPE_CODE = inserted.TENANT_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACTINS_A_S_IUD_TR] ON PIMS_ACTIVITY_INSTANCE FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_USER_A_S_IUD_TR] ON PIMS_USER FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -23666,33 +24457,32 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_ACTIVITY_INSTANCE_HIST set END_DATE_HIST = @curr_date where ACTIVITY_INSTANCE_ID in (select ACTIVITY_INSTANCE_ID from deleted) and END_DATE_HIST is null; + update PIMS_USER_HIST set END_DATE_HIST = @curr_date where USER_ID in (select USER_ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_ACTIVITY_INSTANCE_HIST ([ACTIVITY_INSTANCE_ID], [ACTIVITY_TEMPLATE_ID], [ACTIVITY_INSTANCE_STATUS_TYPE_CODE], [DESCRIPTION], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACTIVITY_INSTANCE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ACTIVITY_INSTANCE_ID], [ACTIVITY_TEMPLATE_ID], [ACTIVITY_INSTANCE_STATUS_TYPE_CODE], [DESCRIPTION], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACTIVITY_INSTANCE_H_ID_SEQ]) as [_ACTIVITY_INSTANCE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_USER_HIST ([USER_ID], [PERSON_ID], [BUSINESS_IDENTIFIER_VALUE], [GUID_IDENTIFIER_VALUE], [POSITION], [NOTE], [LAST_LOGIN], [APPROVED_BY_ID], [ISSUE_DATE], [EXPIRY_DATE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _USER_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [USER_ID], [PERSON_ID], [BUSINESS_IDENTIFIER_VALUE], [GUID_IDENTIFIER_VALUE], [POSITION], [NOTE], [LAST_LOGIN], [APPROVED_BY_ID], [ISSUE_DATE], [EXPIRY_DATE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_USER_H_ID_SEQ]) as [_USER_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACTIST_I_S_I_TR] ON PIMS_ACTIVITY_INSTANCE_STATUS_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_SRVPLT_I_S_I_TR] ON PIMS_SURVEY_PLAN_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_ACTIVITY_INSTANCE_STATUS_TYPE ("ACTIVITY_INSTANCE_STATUS_TYPE_CODE", + insert into PIMS_SURVEY_PLAN_TYPE ("SURVEY_PLAN_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER") - select "ACTIVITY_INSTANCE_STATUS_TYPE_CODE", + select "SURVEY_PLAN_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", @@ -23704,10 +24494,51 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_USER_I_S_U_TR] ON PIMS_USER INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.USER_ID = deleted.USER_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_USER + set "USER_ID" = inserted."USER_ID", + "PERSON_ID" = inserted."PERSON_ID", + "BUSINESS_IDENTIFIER_VALUE" = inserted."BUSINESS_IDENTIFIER_VALUE", + "GUID_IDENTIFIER_VALUE" = inserted."GUID_IDENTIFIER_VALUE", + "POSITION" = inserted."POSITION", + "NOTE" = inserted."NOTE", + "LAST_LOGIN" = inserted."LAST_LOGIN", + "APPROVED_BY_ID" = inserted."APPROVED_BY_ID", + "ISSUE_DATE" = inserted."ISSUE_DATE", + "EXPIRY_DATE" = inserted."EXPIRY_DATE", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_USER + inner join inserted + on (PIMS_USER.USER_ID = inserted.USER_ID); +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_RSFLPR_A_S_IUD_TR] ON PIMS_RESEARCH_FILE_PURPOSE FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_USERRL_A_S_IUD_TR] ON PIMS_USER_ROLE FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -23717,57 +24548,38 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_RESEARCH_FILE_PURPOSE_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_PURPOSE_ID in (select RESEARCH_FILE_PURPOSE_ID from deleted) and END_DATE_HIST is null; + update PIMS_USER_ROLE_HIST set END_DATE_HIST = @curr_date where USER_ROLE_ID in (select USER_ROLE_ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_RESEARCH_FILE_PURPOSE_HIST ([RESEARCH_FILE_PURPOSE_ID], [RESEARCH_FILE_ID], [RESEARCH_PURPOSE_TYPE_CODE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_FILE_PURPOSE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [RESEARCH_FILE_PURPOSE_ID], [RESEARCH_FILE_ID], [RESEARCH_PURPOSE_TYPE_CODE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_FILE_PURPOSE_H_ID_SEQ]) as [_RESEARCH_FILE_PURPOSE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_USER_ROLE_HIST ([USER_ROLE_ID], [USER_ID], [ROLE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _USER_ROLE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [USER_ROLE_ID], [USER_ID], [ROLE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_USER_ROLE_H_ID_SEQ]) as [_USER_ROLE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRACQF_I_S_I_TR] ON PIMS_PROPERTY_ACQUISITION_FILE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_TENNTX_I_S_I_TR] ON PIMS_TENANT INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_PROPERTY_ACQUISITION_FILE ("PROPERTY_ACQUISITION_FILE_ID", - "ACQUISITION_FILE_ID", - "PROPERTY_ID", - "PROPERTY_NAME", - "DISPLAY_ORDER", - "IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY") - select "PROPERTY_ACQUISITION_FILE_ID", - "ACQUISITION_FILE_ID", - "PROPERTY_ID", - "PROPERTY_NAME", - "DISPLAY_ORDER", - "IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" + insert into PIMS_TENANT ("TENANT_ID", + "CODE", + "NAME", + "DESCRIPTION", + "SETTINGS", + "CONCURRENCY_CONTROL_NUMBER") + select "TENANT_ID", + "CODE", + "NAME", + "DESCRIPTION", + "SETTINGS", + "CONCURRENCY_CONTROL_NUMBER" from inserted; END TRY @@ -23775,27 +24587,26 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACTINS_I_S_U_TR] ON PIMS_ACTIVITY_INSTANCE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_USRORG_I_S_U_TR] ON PIMS_USER_ORGANIZATION INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACTIVITY_INSTANCE_ID = deleted.ACTIVITY_INSTANCE_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.USER_ORGANIZATION_ID = deleted.USER_ORGANIZATION_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_ACTIVITY_INSTANCE - set "ACTIVITY_INSTANCE_ID" = inserted."ACTIVITY_INSTANCE_ID", - "ACTIVITY_TEMPLATE_ID" = inserted."ACTIVITY_TEMPLATE_ID", - "ACTIVITY_INSTANCE_STATUS_TYPE_CODE" = inserted."ACTIVITY_INSTANCE_STATUS_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "ACTIVITY_DATA_JSON" = inserted."ACTIVITY_DATA_JSON", + update PIMS_USER_ORGANIZATION + set "USER_ORGANIZATION_ID" = inserted."USER_ORGANIZATION_ID", + "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", + "USER_ID" = inserted."USER_ID", + "ROLE_ID" = inserted."ROLE_ID", + "IS_DISABLED" = inserted."IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", @@ -23803,51 +24614,57 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ACTIVITY_INSTANCE + from PIMS_USER_ORGANIZATION inner join inserted - on (PIMS_ACTIVITY_INSTANCE.ACTIVITY_INSTANCE_ID = inserted.ACTIVITY_INSTANCE_ID); + on (PIMS_USER_ORGANIZATION.USER_ORGANIZATION_ID = inserted.USER_ORGANIZATION_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_USRORG_A_S_IUD_TR] ON PIMS_USER_ORGANIZATION FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_USER_ORGANIZATION_HIST set END_DATE_HIST = @curr_date where USER_ORGANIZATION_ID in (select USER_ORGANIZATION_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_USER_ORGANIZATION_HIST ([USER_ORGANIZATION_ID], [ORGANIZATION_ID], [USER_ID], [ROLE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _USER_ORGANIZATION_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [USER_ORGANIZATION_ID], [ORGANIZATION_ID], [USER_ID], [ROLE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_USER_ORGANIZATION_H_ID_SEQ]) as [_USER_ORGANIZATION_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_USERRL_I_S_I_TR] ON PIMS_USER_ROLE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_TENTYP_I_S_I_TR] ON PIMS_TENANT_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_USER_ROLE ("USER_ROLE_ID", - "USER_ID", - "ROLE_ID", + insert into PIMS_TENANT_TYPE ("TENANT_TYPE_CODE", + "DESCRIPTION", "IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY") - select "USER_ROLE_ID", - "USER_ID", - "ROLE_ID", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "TENANT_TYPE_CODE", + "DESCRIPTION", "IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER", - "APP_CREATE_TIMESTAMP", - "APP_CREATE_USERID", - "APP_CREATE_USER_GUID", - "APP_CREATE_USER_DIRECTORY", - "APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" from inserted; END TRY @@ -23855,25 +24672,25 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_PRPRTT_I_S_U_TR] ON PIMS_PROP_PROP_TENURE_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_USERRL_I_S_U_TR] ON PIMS_USER_ROLE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROP_PROP_TENURE_TYPE_ID = deleted.PROP_PROP_TENURE_TYPE_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.USER_ROLE_ID = deleted.USER_ROLE_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_PROP_PROP_TENURE_TYPE - set "PROP_PROP_TENURE_TYPE_ID" = inserted."PROP_PROP_TENURE_TYPE_ID", - "PROPERTY_ID" = inserted."PROPERTY_ID", - "PROPERTY_TENURE_TYPE_CODE" = inserted."PROPERTY_TENURE_TYPE_CODE", + update PIMS_USER_ROLE + set "USER_ROLE_ID" = inserted."USER_ROLE_ID", + "USER_ID" = inserted."USER_ID", + "ROLE_ID" = inserted."ROLE_ID", + "IS_DISABLED" = inserted."IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", @@ -23881,28 +24698,57 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROP_PROP_TENURE_TYPE + from PIMS_USER_ROLE inner join inserted - on (PIMS_PROP_PROP_TENURE_TYPE.PROP_PROP_TENURE_TYPE_ID = inserted.PROP_PROP_TENURE_TYPE_ID); + on (PIMS_USER_ROLE.USER_ROLE_ID = inserted.USER_ROLE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_WRKACT_A_S_IUD_TR] ON PIMS_WORK_ACTIVITY_CODE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_WORK_ACTIVITY_CODE_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_WORK_ACTIVITY_CODE_HIST ([ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _WORK_ACTIVITY_CODE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_WORK_ACTIVITY_CODE_H_ID_SEQ]) as [_WORK_ACTIVITY_CODE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACTTMP_I_S_I_TR] ON PIMS_ACTIVITY_TEMPLATE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_USER_I_S_I_TR] ON PIMS_USER INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_ACTIVITY_TEMPLATE ("ACTIVITY_TEMPLATE_ID", - "ACTIVITY_TEMPLATE_TYPE_CODE", - "ACTIVITY_TEMPLATE_JSON", + insert into PIMS_USER ("USER_ID", + "PERSON_ID", + "BUSINESS_IDENTIFIER_VALUE", + "GUID_IDENTIFIER_VALUE", + "POSITION", + "NOTE", + "LAST_LOGIN", + "APPROVED_BY_ID", + "ISSUE_DATE", + "EXPIRY_DATE", "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", @@ -23913,9 +24759,16 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "ACTIVITY_TEMPLATE_ID", - "ACTIVITY_TEMPLATE_TYPE_CODE", - "ACTIVITY_TEMPLATE_JSON", + select "USER_ID", + "PERSON_ID", + "BUSINESS_IDENTIFIER_VALUE", + "GUID_IDENTIFIER_VALUE", + "POSITION", + "NOTE", + "LAST_LOGIN", + "APPROVED_BY_ID", + "ISSUE_DATE", + "EXPIRY_DATE", "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", @@ -23933,102 +24786,40 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_TENTYP_I_S_U_TR] ON PIMS_TENANT_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_VOLUTY_I_S_U_TR] ON PIMS_VOLUME_UNIT_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.TENANT_TYPE_CODE = deleted.TENANT_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.VOLUME_UNIT_TYPE_CODE = deleted.VOLUME_UNIT_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_TENANT_TYPE - set "TENANT_TYPE_CODE" = inserted."TENANT_TYPE_CODE", + update PIMS_VOLUME_UNIT_TYPE + set "VOLUME_UNIT_TYPE_CODE" = inserted."VOLUME_UNIT_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_TENANT_TYPE - inner join inserted - on (PIMS_TENANT_TYPE.TENANT_TYPE_CODE = inserted.TENANT_TYPE_CODE); - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_ACTMDO_A_S_IUD_TR] ON PIMS_ACTIVITY_TEMPLATE_DOCUMENT FOR INSERT, UPDATE, DELETE AS -SET NOCOUNT ON -BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_ACTIVITY_TEMPLATE_DOCUMENT_HIST set END_DATE_HIST = @curr_date where ACTIVITY_TEMPLATE_DOCUMENT_ID in (select ACTIVITY_TEMPLATE_DOCUMENT_ID from deleted) and END_DATE_HIST is null; - - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_ACTIVITY_TEMPLATE_DOCUMENT_HIST ([ACTIVITY_TEMPLATE_DOCUMENT_ID], [DOCUMENT_ID], [ACTIVITY_TEMPLATE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACTIVITY_TEMPLATE_DOCUMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ACTIVITY_TEMPLATE_DOCUMENT_ID], [DOCUMENT_ID], [ACTIVITY_TEMPLATE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT_H_ID_SEQ]) as [_ACTIVITY_TEMPLATE_DOCUMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_ACTDOC_I_S_U_TR] ON PIMS_ACTIVITY_INSTANCE_DOCUMENT INSTEAD OF UPDATE AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACTIVITY_INSTANCE_DOCUMENT_ID = deleted.ACTIVITY_INSTANCE_DOCUMENT_ID) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_ACTIVITY_INSTANCE_DOCUMENT - set "ACTIVITY_INSTANCE_DOCUMENT_ID" = inserted."ACTIVITY_INSTANCE_DOCUMENT_ID", - "ACTIVITY_INSTANCE_ID" = inserted."ACTIVITY_INSTANCE_ID", - "DOCUMENT_ID" = inserted."DOCUMENT_ID", - "IS_DISABLED" = inserted."IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ACTIVITY_INSTANCE_DOCUMENT + from PIMS_VOLUME_UNIT_TYPE inner join inserted - on (PIMS_ACTIVITY_INSTANCE_DOCUMENT.ACTIVITY_INSTANCE_DOCUMENT_ID = inserted.ACTIVITY_INSTANCE_DOCUMENT_ID); + on (PIMS_VOLUME_UNIT_TYPE.VOLUME_UNIT_TYPE_CODE = inserted.VOLUME_UNIT_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_SCDPHL_A_S_IUD_TR] ON PIMS_SECURITY_DEPOSIT_HOLDER FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_YRFINC_A_S_IUD_TR] ON PIMS_YEARLY_FINANCIAL_CODE FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON BEGIN TRY DECLARE @curr_date datetime; @@ -24038,57 +24829,30 @@ SET @curr_date = getutcdate(); -- historical IF EXISTS(SELECT * FROM deleted) - update PIMS_SECURITY_DEPOSIT_HOLDER_HIST set END_DATE_HIST = @curr_date where SECURITY_DEPOSIT_HOLDER_ID in (select SECURITY_DEPOSIT_HOLDER_ID from deleted) and END_DATE_HIST is null; + update PIMS_YEARLY_FINANCIAL_CODE_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; IF EXISTS(SELECT * FROM inserted) - insert into PIMS_SECURITY_DEPOSIT_HOLDER_HIST ([SECURITY_DEPOSIT_HOLDER_ID], [SECURITY_DEPOSIT_ID], [PERSON_ID], [ORGANIZATION_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _SECURITY_DEPOSIT_HOLDER_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [SECURITY_DEPOSIT_HOLDER_ID], [SECURITY_DEPOSIT_ID], [PERSON_ID], [ORGANIZATION_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER_H_ID_SEQ]) as [_SECURITY_DEPOSIT_HOLDER_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_PRADJL_I_S_I_TR] ON PIMS_PROPERTY_ADJACENT_LAND_TYPE INSTEAD OF INSERT AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) - RETURN; - - - insert into PIMS_PROPERTY_ADJACENT_LAND_TYPE ("PROPERTY_ADJACENT_LAND_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "PROPERTY_ADJACENT_LAND_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" - from inserted; + insert into PIMS_YEARLY_FINANCIAL_CODE_HIST ([ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _YEARLY_FINANCIAL_CODE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_YEARLY_FINANCIAL_CODE_H_ID_SEQ]) as [_YEARLY_FINANCIAL_CODE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACTMDO_I_S_I_TR] ON PIMS_ACTIVITY_TEMPLATE_DOCUMENT INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_USRORG_I_S_I_TR] ON PIMS_USER_ORGANIZATION INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_ACTIVITY_TEMPLATE_DOCUMENT ("ACTIVITY_TEMPLATE_DOCUMENT_ID", - "DOCUMENT_ID", - "ACTIVITY_TEMPLATE_ID", + insert into PIMS_USER_ORGANIZATION ("USER_ORGANIZATION_ID", + "ORGANIZATION_ID", + "USER_ID", + "ROLE_ID", "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", @@ -24099,9 +24863,10 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "ACTIVITY_TEMPLATE_DOCUMENT_ID", - "DOCUMENT_ID", - "ACTIVITY_TEMPLATE_ID", + select "USER_ORGANIZATION_ID", + "ORGANIZATION_ID", + "USER_ID", + "ROLE_ID", "IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", @@ -24119,85 +24884,137 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_VOLUTY_I_S_I_TR] ON PIMS_VOLUME_UNIT_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_PRVOLT_I_S_U_TR] ON PIMS_VOLUMETRIC_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) + IF NOT EXISTS(SELECT * FROM deleted) RETURN; - - insert into PIMS_VOLUME_UNIT_TYPE ("VOLUME_UNIT_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "VOLUME_UNIT_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" - from inserted; + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.VOLUMETRIC_TYPE_CODE = deleted.VOLUMETRIC_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_VOLUMETRIC_TYPE + set "VOLUMETRIC_TYPE_CODE" = inserted."VOLUMETRIC_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_VOLUMETRIC_TYPE + inner join inserted + on (PIMS_VOLUMETRIC_TYPE.VOLUMETRIC_TYPE_CODE = inserted.VOLUMETRIC_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_RRESPT_I_S_U_TR] ON PIMS_PROP_RESEARCH_PURPOSE_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ACRQST_I_S_U_TR] ON PIMS_ACCESS_REQUEST INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROP_RESEARCH_PURPOSE_TYPE_CODE = deleted.PROP_RESEARCH_PURPOSE_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACCESS_REQUEST_ID = deleted.ACCESS_REQUEST_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_PROP_RESEARCH_PURPOSE_TYPE - set "PROP_RESEARCH_PURPOSE_TYPE_CODE" = inserted."PROP_RESEARCH_PURPOSE_TYPE_CODE", - "DESCRIPTION" = inserted."DESCRIPTION", - "IS_DISABLED" = inserted."IS_DISABLED", - "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + update PIMS_ACCESS_REQUEST + set "ACCESS_REQUEST_ID" = inserted."ACCESS_REQUEST_ID", + "USER_ID" = inserted."USER_ID", + "ROLE_ID" = inserted."ROLE_ID", + "ACCESS_REQUEST_STATUS_TYPE_CODE" = inserted."ACCESS_REQUEST_STATUS_TYPE_CODE", + "REGION_CODE" = inserted."REGION_CODE", + "NOTE" = inserted."NOTE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROP_RESEARCH_PURPOSE_TYPE + from PIMS_ACCESS_REQUEST inner join inserted - on (PIMS_PROP_RESEARCH_PURPOSE_TYPE.PROP_RESEARCH_PURPOSE_TYPE_CODE = inserted.PROP_RESEARCH_PURPOSE_TYPE_CODE); + on (PIMS_ACCESS_REQUEST.ACCESS_REQUEST_ID = inserted.ACCESS_REQUEST_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_USERRL_I_S_I_TR] ON PIMS_USER_ROLE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_USER_ROLE ("USER_ROLE_ID", + "USER_ID", + "ROLE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "USER_ROLE_ID", + "USER_ID", + "ROLE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACTINN_I_S_U_TR] ON PIMS_ACTIVITY_INSTANCE_NOTE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_WRKACT_I_S_U_TR] ON PIMS_WORK_ACTIVITY_CODE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PIMS_ACTIVITY_INSTANCE_NOTE_ID = deleted.PIMS_ACTIVITY_INSTANCE_NOTE_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_ACTIVITY_INSTANCE_NOTE - set "PIMS_ACTIVITY_INSTANCE_NOTE_ID" = inserted."PIMS_ACTIVITY_INSTANCE_NOTE_ID", - "ACTIVITY_INSTANCE_ID" = inserted."ACTIVITY_INSTANCE_ID", - "NOTE_ID" = inserted."NOTE_ID", - "IS_DISABLED" = inserted."IS_DISABLED", + update PIMS_WORK_ACTIVITY_CODE + set "ID" = inserted."ID", + "CODE" = inserted."CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "EFFECTIVE_DATE" = inserted."EFFECTIVE_DATE", + "EXPIRY_DATE" = inserted."EXPIRY_DATE", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", @@ -24205,41 +25022,33 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ACTIVITY_INSTANCE_NOTE + from PIMS_WORK_ACTIVITY_CODE inner join inserted - on (PIMS_ACTIVITY_INSTANCE_NOTE.PIMS_ACTIVITY_INSTANCE_NOTE_ID = inserted.PIMS_ACTIVITY_INSTANCE_NOTE_ID); + on (PIMS_WORK_ACTIVITY_CODE.ID = inserted.ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_USER_I_S_U_TR] ON PIMS_USER INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ACRQOR_I_S_U_TR] ON PIMS_ACCESS_REQUEST_ORGANIZATION INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.USER_ID = deleted.USER_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACCESS_REQUEST_ORGANIZATION_ID = deleted.ACCESS_REQUEST_ORGANIZATION_ID) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_USER - set "USER_ID" = inserted."USER_ID", - "PERSON_ID" = inserted."PERSON_ID", - "BUSINESS_IDENTIFIER_VALUE" = inserted."BUSINESS_IDENTIFIER_VALUE", - "GUID_IDENTIFIER_VALUE" = inserted."GUID_IDENTIFIER_VALUE", - "POSITION" = inserted."POSITION", - "NOTE" = inserted."NOTE", - "LAST_LOGIN" = inserted."LAST_LOGIN", - "APPROVED_BY_ID" = inserted."APPROVED_BY_ID", - "ISSUE_DATE" = inserted."ISSUE_DATE", - "EXPIRY_DATE" = inserted."EXPIRY_DATE", + update PIMS_ACCESS_REQUEST_ORGANIZATION + set "ACCESS_REQUEST_ORGANIZATION_ID" = inserted."ACCESS_REQUEST_ORGANIZATION_ID", + "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", + "ACCESS_REQUEST_ID" = inserted."ACCESS_REQUEST_ID", "IS_DISABLED" = inserted."IS_DISABLED", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", @@ -24248,55 +25057,30 @@ BEGIN TRY "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_USER + from PIMS_ACCESS_REQUEST_ORGANIZATION inner join inserted - on (PIMS_USER.USER_ID = inserted.USER_ID); - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_ACTTMP_A_S_IUD_TR] ON PIMS_ACTIVITY_TEMPLATE FOR INSERT, UPDATE, DELETE AS -SET NOCOUNT ON -BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_ACTIVITY_TEMPLATE_HIST set END_DATE_HIST = @curr_date where ACTIVITY_TEMPLATE_ID in (select ACTIVITY_TEMPLATE_ID from deleted) and END_DATE_HIST is null; - - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_ACTIVITY_TEMPLATE_HIST ([ACTIVITY_TEMPLATE_ID], [ACTIVITY_TEMPLATE_TYPE_CODE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACTIVITY_TEMPLATE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ACTIVITY_TEMPLATE_ID], [ACTIVITY_TEMPLATE_TYPE_CODE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACTIVITY_TEMPLATE_H_ID_SEQ]) as [_ACTIVITY_TEMPLATE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + on (PIMS_ACCESS_REQUEST_ORGANIZATION.ACCESS_REQUEST_ORGANIZATION_ID = inserted.ACCESS_REQUEST_ORGANIZATION_ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACTTTY_I_S_I_TR] ON PIMS_ACTIVITY_TEMPLATE_TYPE INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_VOLUTY_I_S_I_TR] ON PIMS_VOLUME_UNIT_TYPE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM inserted) RETURN; - insert into PIMS_ACTIVITY_TEMPLATE_TYPE ("ACTIVITY_TEMPLATE_TYPE_CODE", + insert into PIMS_VOLUME_UNIT_TYPE ("VOLUME_UNIT_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER") - select "ACTIVITY_TEMPLATE_TYPE_CODE", + select "VOLUME_UNIT_TYPE_CODE", "DESCRIPTION", "IS_DISABLED", "DISPLAY_ORDER", @@ -24308,90 +25092,74 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_SCDPRH_A_S_IUD_TR] ON PIMS_SECURITY_DEPOSIT_RETURN_HOLDER FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_YRFINC_I_S_U_TR] ON PIMS_YEARLY_FINANCIAL_CODE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM deleted) RETURN; - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_SECURITY_DEPOSIT_RETURN_HOLDER_HIST set END_DATE_HIST = @curr_date where SECURITY_DEPOSIT_RETURN_HOLDER_ID in (select SECURITY_DEPOSIT_RETURN_HOLDER_ID from deleted) and END_DATE_HIST is null; - - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_SECURITY_DEPOSIT_RETURN_HOLDER_HIST ([SECURITY_DEPOSIT_RETURN_HOLDER_ID], [SECURITY_DEPOSIT_RETURN_ID], [PERSON_ID], [ORGANIZATION_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _SECURITY_DEPOSIT_RETURN_HOLDER_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [SECURITY_DEPOSIT_RETURN_HOLDER_ID], [SECURITY_DEPOSIT_RETURN_ID], [PERSON_ID], [ORGANIZATION_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER_H_ID_SEQ]) as [_SECURITY_DEPOSIT_RETURN_HOLDER_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - -GO + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) + raiserror('CONCURRENCY FAILURE.',16,1) -CREATE TRIGGER [dbo].[PIMS_PRANOM_I_S_I_TR] ON PIMS_PROPERTY_ANOMALY_TYPE INSTEAD OF INSERT AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) - RETURN; - - insert into PIMS_PROPERTY_ANOMALY_TYPE ("PROPERTY_ANOMALY_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER") - select "PROPERTY_ANOMALY_TYPE_CODE", - "DESCRIPTION", - "IS_DISABLED", - "DISPLAY_ORDER", - "CONCURRENCY_CONTROL_NUMBER" - from inserted; + -- update statement + update PIMS_YEARLY_FINANCIAL_CODE + set "ID" = inserted."ID", + "CODE" = inserted."CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "EFFECTIVE_DATE" = inserted."EFFECTIVE_DATE", + "EXPIRY_DATE" = inserted."EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_YEARLY_FINANCIAL_CODE + inner join inserted + on (PIMS_YEARLY_FINANCIAL_CODE.ID = inserted.ID); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ACTIST_I_S_U_TR] ON PIMS_ACTIVITY_INSTANCE_STATUS_TYPE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ARQSTT_I_S_U_TR] ON PIMS_ACCESS_REQUEST_STATUS_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACTIVITY_INSTANCE_STATUS_TYPE_CODE = deleted.ACTIVITY_INSTANCE_STATUS_TYPE_CODE) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACCESS_REQUEST_STATUS_TYPE_CODE = deleted.ACCESS_REQUEST_STATUS_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_ACTIVITY_INSTANCE_STATUS_TYPE - set "ACTIVITY_INSTANCE_STATUS_TYPE_CODE" = inserted."ACTIVITY_INSTANCE_STATUS_TYPE_CODE", + update PIMS_ACCESS_REQUEST_STATUS_TYPE + set "ACCESS_REQUEST_STATUS_TYPE_CODE" = inserted."ACCESS_REQUEST_STATUS_TYPE_CODE", "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ACTIVITY_INSTANCE_STATUS_TYPE + from PIMS_ACCESS_REQUEST_STATUS_TYPE inner join inserted - on (PIMS_ACTIVITY_INSTANCE_STATUS_TYPE.ACTIVITY_INSTANCE_STATUS_TYPE_CODE = inserted.ACTIVITY_INSTANCE_STATUS_TYPE_CODE); + on (PIMS_ACCESS_REQUEST_STATUS_TYPE.ACCESS_REQUEST_STATUS_TYPE_CODE = inserted.ACCESS_REQUEST_STATUS_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO CREATE TRIGGER [dbo].[PIMS_PRVOLT_I_S_I_TR] ON PIMS_VOLUMETRIC_TYPE INSTEAD OF INSERT AS @@ -24418,107 +25186,21 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - -GO - -CREATE TRIGGER [dbo].[PIMS_PRPRTY_I_S_U_TR] ON PIMS_PROPERTY INSTEAD OF UPDATE AS -SET NOCOUNT ON -BEGIN TRY - IF NOT EXISTS(SELECT * FROM deleted) - RETURN; - - -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_ID = deleted.PROPERTY_ID) - raiserror('CONCURRENCY FAILURE.',16,1) - - - -- update statement - update PIMS_PROPERTY - set "PROPERTY_ID" = inserted."PROPERTY_ID", - "PROPERTY_MANAGER_ID" = inserted."PROPERTY_MANAGER_ID", - "PROP_MGMT_ORG_ID" = inserted."PROP_MGMT_ORG_ID", - "PROPERTY_TYPE_CODE" = inserted."PROPERTY_TYPE_CODE", - "PROPERTY_CLASSIFICATION_TYPE_CODE" = inserted."PROPERTY_CLASSIFICATION_TYPE_CODE", - "ADDRESS_ID" = inserted."ADDRESS_ID", - "REGION_CODE" = inserted."REGION_CODE", - "DISTRICT_CODE" = inserted."DISTRICT_CODE", - "PROPERTY_AREA_UNIT_TYPE_CODE" = inserted."PROPERTY_AREA_UNIT_TYPE_CODE", - "PROPERTY_DATA_SOURCE_TYPE_CODE" = inserted."PROPERTY_DATA_SOURCE_TYPE_CODE", - "PROPERTY_STATUS_TYPE_CODE" = inserted."PROPERTY_STATUS_TYPE_CODE", - "SURPLUS_DECLARATION_TYPE_CODE" = inserted."SURPLUS_DECLARATION_TYPE_CODE", - "VOLUMETRIC_TYPE_CODE" = inserted."VOLUMETRIC_TYPE_CODE", - "VOLUME_UNIT_TYPE_CODE" = inserted."VOLUME_UNIT_TYPE_CODE", - "PPH_STATUS_TYPE_CODE" = inserted."PPH_STATUS_TYPE_CODE", - "PROPERTY_DATA_SOURCE_EFFECTIVE_DATE" = inserted."PROPERTY_DATA_SOURCE_EFFECTIVE_DATE", - "NAME" = inserted."NAME", - "DESCRIPTION" = inserted."DESCRIPTION", - "PID" = inserted."PID", - "PIN" = inserted."PIN", - "FILE_NUMBER" = inserted."FILE_NUMBER", - "FILE_NUMBER_SUFFIX" = inserted."FILE_NUMBER_SUFFIX", - "LAND_AREA" = inserted."LAND_AREA", - "LAND_LEGAL_DESCRIPTION" = inserted."LAND_LEGAL_DESCRIPTION", - "BOUNDARY" = inserted."BOUNDARY", - "LOCATION" = inserted."LOCATION", - "SURVEY_PLAN_NUMBER" = inserted."SURVEY_PLAN_NUMBER", - "ENCUMBRANCE_REASON" = inserted."ENCUMBRANCE_REASON", - "SURPLUS_DECLARATION_COMMENT" = inserted."SURPLUS_DECLARATION_COMMENT", - "SURPLUS_DECLARATION_DATE" = inserted."SURPLUS_DECLARATION_DATE", - "NOTES" = inserted."NOTES", - "MUNICIPAL_ZONING" = inserted."MUNICIPAL_ZONING", - "IS_VOLUMETRIC_PARCEL" = inserted."IS_VOLUMETRIC_PARCEL", - "VOLUMETRIC_MEASUREMENT" = inserted."VOLUMETRIC_MEASUREMENT", - "IS_OWNED" = inserted."IS_OWNED", - "IS_PROPERTY_OF_INTEREST" = inserted."IS_PROPERTY_OF_INTEREST", - "IS_VISIBLE_TO_OTHER_AGENCIES" = inserted."IS_VISIBLE_TO_OTHER_AGENCIES", - "IS_SENSITIVE" = inserted."IS_SENSITIVE", - "IS_PROVINCIAL_PUBLIC_HWY" = inserted."IS_PROVINCIAL_PUBLIC_HWY", - "PPH_STATUS_UPDATE_USERID" = inserted."PPH_STATUS_UPDATE_USERID", - "PPH_STATUS_UPDATE_TIMESTAMP" = inserted."PPH_STATUS_UPDATE_TIMESTAMP", - "PPH_STATUS_UPDATE_USER_GUID" = inserted."PPH_STATUS_UPDATE_USER_GUID", - "IS_RWY_BELT_DOM_PATENT" = inserted."IS_RWY_BELT_DOM_PATENT", - "ZONING" = inserted."ZONING", - "ZONING_POTENTIAL" = inserted."ZONING_POTENTIAL", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" - , DB_LAST_UPDATE_TIMESTAMP = getutcdate() - , DB_LAST_UPDATE_USERID = user_name() - from PIMS_PROPERTY - inner join inserted - on (PIMS_PROPERTY.PROPERTY_ID = inserted.PROPERTY_ID); - -END TRY -BEGIN CATCH - IF @@trancount > 0 ROLLBACK TRANSACTION - EXEC pims_error_handling -END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ADDRSS_I_S_I_TR] ON PIMS_ADDRESS INSTEAD OF INSERT AS +CREATE TRIGGER [dbo].[PIMS_ACRQST_I_S_I_TR] ON PIMS_ACCESS_REQUEST INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY - IF NOT EXISTS(SELECT * FROM inserted) - RETURN; - - - insert into PIMS_ADDRESS ("ADDRESS_ID", - "REGION_CODE", - "DISTRICT_CODE", - "PROVINCE_STATE_ID", - "COUNTRY_ID", - "STREET_ADDRESS_1", - "STREET_ADDRESS_2", - "STREET_ADDRESS_3", - "MUNICIPALITY_NAME", - "POSTAL_CODE", - "OTHER_COUNTRY", - "LATITUDE", - "LONGITUDE", - "COMMENT", + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ACCESS_REQUEST ("ACCESS_REQUEST_ID", + "USER_ID", + "ROLE_ID", + "ACCESS_REQUEST_STATUS_TYPE_CODE", + "REGION_CODE", + "NOTE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -24528,20 +25210,12 @@ BEGIN TRY "APP_LAST_UPDATE_USERID", "APP_LAST_UPDATE_USER_GUID", "APP_LAST_UPDATE_USER_DIRECTORY") - select "ADDRESS_ID", + select "ACCESS_REQUEST_ID", + "USER_ID", + "ROLE_ID", + "ACCESS_REQUEST_STATUS_TYPE_CODE", "REGION_CODE", - "DISTRICT_CODE", - "PROVINCE_STATE_ID", - "COUNTRY_ID", - "STREET_ADDRESS_1", - "STREET_ADDRESS_2", - "STREET_ADDRESS_3", - "MUNICIPALITY_NAME", - "POSTAL_CODE", - "OTHER_COUNTRY", - "LATITUDE", - "LONGITUDE", - "COMMENT", + "NOTE", "CONCURRENCY_CONTROL_NUMBER", "APP_CREATE_TIMESTAMP", "APP_CREATE_USERID", @@ -24558,104 +25232,156 @@ BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_USRORG_I_S_U_TR] ON PIMS_USER_ORGANIZATION INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_AQFPPT_I_S_U_TR] ON PIMS_ACQ_FL_PERSON_PROFILE_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.USER_ORGANIZATION_ID = deleted.USER_ORGANIZATION_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQ_FL_PERSON_PROFILE_TYPE_CODE = deleted.ACQ_FL_PERSON_PROFILE_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_USER_ORGANIZATION - set "USER_ORGANIZATION_ID" = inserted."USER_ORGANIZATION_ID", - "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", - "USER_ID" = inserted."USER_ID", - "ROLE_ID" = inserted."ROLE_ID", + update PIMS_ACQ_FL_PERSON_PROFILE_TYPE + set "ACQ_FL_PERSON_PROFILE_TYPE_CODE" = inserted."ACQ_FL_PERSON_PROFILE_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_USER_ORGANIZATION + from PIMS_ACQ_FL_PERSON_PROFILE_TYPE inner join inserted - on (PIMS_USER_ORGANIZATION.USER_ORGANIZATION_ID = inserted.USER_ORGANIZATION_ID); + on (PIMS_ACQ_FL_PERSON_PROFILE_TYPE.ACQ_FL_PERSON_PROFILE_TYPE_CODE = inserted.ACQ_FL_PERSON_PROFILE_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO -CREATE TRIGGER [dbo].[PIMS_ADDRSS_A_S_IUD_TR] ON PIMS_ADDRESS FOR INSERT, UPDATE, DELETE AS +CREATE TRIGGER [dbo].[PIMS_WRKACT_I_S_I_TR] ON PIMS_WORK_ACTIVITY_CODE INSTEAD OF INSERT AS SET NOCOUNT ON BEGIN TRY -DECLARE @curr_date datetime; -SET @curr_date = getutcdate(); - IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + IF NOT EXISTS(SELECT * FROM inserted) RETURN; - -- historical - IF EXISTS(SELECT * FROM deleted) - update PIMS_ADDRESS_HIST set END_DATE_HIST = @curr_date where ADDRESS_ID in (select ADDRESS_ID from deleted) and END_DATE_HIST is null; - IF EXISTS(SELECT * FROM inserted) - insert into PIMS_ADDRESS_HIST ([ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROVINCE_STATE_ID], [COUNTRY_ID], [STREET_ADDRESS_1], [STREET_ADDRESS_2], [STREET_ADDRESS_3], [MUNICIPALITY_NAME], [POSTAL_CODE], [OTHER_COUNTRY], [LATITUDE], [LONGITUDE], [COMMENT], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ADDRESS_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) - select [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROVINCE_STATE_ID], [COUNTRY_ID], [STREET_ADDRESS_1], [STREET_ADDRESS_2], [STREET_ADDRESS_3], [MUNICIPALITY_NAME], [POSTAL_CODE], [OTHER_COUNTRY], [LATITUDE], [LONGITUDE], [COMMENT], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ADDRESS_H_ID_SEQ]) as [_ADDRESS_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + insert into PIMS_WORK_ACTIVITY_CODE ("ID", + "CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "EFFECTIVE_DATE", + "EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ID", + "CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "EFFECTIVE_DATE", + "EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACRQOR_I_S_I_TR] ON PIMS_ACCESS_REQUEST_ORGANIZATION INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ACCESS_REQUEST_ORGANIZATION ("ACCESS_REQUEST_ORGANIZATION_ID", + "ORGANIZATION_ID", + "ACCESS_REQUEST_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ACCESS_REQUEST_ORGANIZATION_ID", + "ORGANIZATION_ID", + "ACCESS_REQUEST_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; GO -CREATE TRIGGER [dbo].[PIMS_ACTTMP_I_S_U_TR] ON PIMS_ACTIVITY_TEMPLATE INSTEAD OF UPDATE AS +CREATE TRIGGER [dbo].[PIMS_ACQPFS_I_S_U_TR] ON PIMS_ACQ_PHYS_FILE_STATUS_TYPE INSTEAD OF UPDATE AS SET NOCOUNT ON BEGIN TRY IF NOT EXISTS(SELECT * FROM deleted) RETURN; -- validate concurrency control - if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACTIVITY_TEMPLATE_ID = deleted.ACTIVITY_TEMPLATE_ID) + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQ_PHYS_FILE_STATUS_TYPE_CODE = deleted.ACQ_PHYS_FILE_STATUS_TYPE_CODE) raiserror('CONCURRENCY FAILURE.',16,1) -- update statement - update PIMS_ACTIVITY_TEMPLATE - set "ACTIVITY_TEMPLATE_ID" = inserted."ACTIVITY_TEMPLATE_ID", - "ACTIVITY_TEMPLATE_TYPE_CODE" = inserted."ACTIVITY_TEMPLATE_TYPE_CODE", - "ACTIVITY_TEMPLATE_JSON" = inserted."ACTIVITY_TEMPLATE_JSON", + update PIMS_ACQ_PHYS_FILE_STATUS_TYPE + set "ACQ_PHYS_FILE_STATUS_TYPE_CODE" = inserted."ACQ_PHYS_FILE_STATUS_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", "IS_DISABLED" = inserted."IS_DISABLED", - "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", - "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", - "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", - "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", - "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" , DB_LAST_UPDATE_TIMESTAMP = getutcdate() , DB_LAST_UPDATE_USERID = user_name() - from PIMS_ACTIVITY_TEMPLATE + from PIMS_ACQ_PHYS_FILE_STATUS_TYPE inner join inserted - on (PIMS_ACTIVITY_TEMPLATE.ACTIVITY_TEMPLATE_ID = inserted.ACTIVITY_TEMPLATE_ID); + on (PIMS_ACQ_PHYS_FILE_STATUS_TYPE.ACQ_PHYS_FILE_STATUS_TYPE_CODE = inserted.ACQ_PHYS_FILE_STATUS_TYPE_CODE); END TRY BEGIN CATCH IF @@trancount > 0 ROLLBACK TRANSACTION EXEC pims_error_handling END CATCH; - GO @@ -24691,6 +25417,14 @@ ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION_HIST] ) ON [PRIMARY] GO +ALTER TABLE [dbo].[PIMS_PROJECT] + ADD CONSTRAINT [PROJCT_DESCRIPTION_CODE_TUC] + UNIQUE ([DESCRIPTION], [CODE]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + ALTER TABLE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE] ADD CONSTRAINT [ACQAIN_ACQ_ACTIVITY_TUC] UNIQUE ([ACTIVITY_INSTANCE_ID], [ACQUISITION_FILE_ID]) @@ -24979,6 +25713,38 @@ ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE_HIST] ) ON [PRIMARY] GO +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] + ADD CONSTRAINT [LESCON_LEASE_CONSULTATION_TUC] + UNIQUE ([CONSULTATION_TYPE_CODE], [LEASE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION_HIST] + ADD CONSTRAINT [PIMS_LESCON_H_UK] + UNIQUE ([_LEASE_CONSULTATION_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] + ADD CONSTRAINT [LESDOC_LEASE_DOCUMENT_TUC] + UNIQUE ([DOCUMENT_ID], [LEASE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT_HIST] + ADD CONSTRAINT [PIMS_LESDOC_H_UK] + UNIQUE ([_LEASE_DOCUMENT_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + ALTER TABLE [dbo].[PIMS_LEASE_HIST] ADD CONSTRAINT [PIMS_LEASE_H_UK] UNIQUE ([_LEASE_HIST_ID], [END_DATE_HIST]) @@ -24987,6 +25753,22 @@ ALTER TABLE [dbo].[PIMS_LEASE_HIST] ) ON [PRIMARY] GO +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] + ADD CONSTRAINT [LESNOT_LEASE_NOTE_TUC] + UNIQUE ([NOTE_ID], [LEASE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_LEASE_NOTE_HIST] + ADD CONSTRAINT [PIMS_LESNOT_H_UK] + UNIQUE ([_LEASE_NOTE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT_HIST] ADD CONSTRAINT [PIMS_LSPYMT_H_UK] UNIQUE ([_LEASE_PAYMENT_HIST_ID], [END_DATE_HIST]) @@ -25292,7 +26074,7 @@ ALTER TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE_HIST] GO ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] - ADD CONSTRAINT [RSCDOC_RESEARCH_FILE_DOCUMENT_TUC] + ADD CONSTRAINT [RFLDOC_RESEARCH_FILE_DOCUMENT_TUC] UNIQUE ([DOCUMENT_ID], [RESEARCH_FILE_ID]) WITH ( DATA_COMPRESSION = NONE @@ -25300,7 +26082,7 @@ ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] GO ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_HIST] - ADD CONSTRAINT [PIMS_RSCDOC_H_UK] + ADD CONSTRAINT [PIMS_RFLDOC_H_UK] UNIQUE ([_RESEARCH_FILE_DOCUMENT_HIST_ID], [END_DATE_HIST]) WITH ( DATA_COMPRESSION = NONE @@ -25316,7 +26098,7 @@ ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_HIST] GO ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] - ADD CONSTRAINT [RSCNOT_RSRCH_FILE_NOTE_TUC] + ADD CONSTRAINT [RFLNOT_RSRCH_FILE_NOTE_TUC] UNIQUE ([NOTE_ID], [RESEARCH_FILE_ID]) WITH ( DATA_COMPRESSION = NONE @@ -25324,13 +26106,29 @@ ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] GO ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE_HIST] - ADD CONSTRAINT [PIMS_RSCNOT_H_UK] + ADD CONSTRAINT [PIMS_RFLNOT_H_UK] UNIQUE ([_RESEARCH_FILE_NOTE_HIST_ID], [END_DATE_HIST]) WITH ( DATA_COMPRESSION = NONE ) ON [PRIMARY] GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] + ADD CONSTRAINT [RFLPRJ_RESEARCH_FILE_PROJECT_TUC] + UNIQUE ([PROJECT_ID], [RESEARCH_FILE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT_HIST] + ADD CONSTRAINT [PIMS_RFLPRJ_H_UK] + UNIQUE ([_RESEARCH_FILE_PROJECT_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PURPOSE] ADD CONSTRAINT [RSFLPR_RSRCH_FL_RSRCH_FL_PURP_TUC] UNIQUE ([RESEARCH_PURPOSE_TYPE_CODE], [RESEARCH_FILE_ID]) @@ -26483,6 +27281,14 @@ ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE] ON UPDATE NO ACTION GO +ALTER TABLE [dbo].[PIMS_CONSULTATION_TYPE] + ADD CONSTRAINT [PIM_CONSTY_PIM_CONTYP_FK] + FOREIGN KEY([CONSULTATION_STATUS_TYPE_CODE]) + REFERENCES [dbo].[PIMS_CONSULTATION_STATUS_TYPE]([CONSULTATION_STATUS_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + ALTER TABLE [dbo].[PIMS_CONTACT_METHOD] ADD CONSTRAINT [PIM_PERSON_PIM_CNTMTH_FK] FOREIGN KEY([PERSON_ID]) @@ -26611,6 +27417,54 @@ ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE] ON UPDATE NO ACTION GO +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] + ADD CONSTRAINT [PIM_LEASE_PIM_LESCON_FK] + FOREIGN KEY([LEASE_ID]) + REFERENCES [dbo].[PIMS_LEASE]([LEASE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] + ADD CONSTRAINT [PIM_CONTYP_PIM_LESCON_FK] + FOREIGN KEY([CONSULTATION_TYPE_CODE]) + REFERENCES [dbo].[PIMS_CONSULTATION_TYPE]([CONSULTATION_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] + ADD CONSTRAINT [PIM_LEASE_PIM_LESDOC_FK] + FOREIGN KEY([LEASE_ID]) + REFERENCES [dbo].[PIMS_LEASE]([LEASE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] + ADD CONSTRAINT [PIM_DOCMNT_PIM_LESDOC_FK] + FOREIGN KEY([DOCUMENT_ID]) + REFERENCES [dbo].[PIMS_DOCUMENT]([DOCUMENT_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] + ADD CONSTRAINT [PIM_NOTE_PIM_LESNOT_FK] + FOREIGN KEY([NOTE_ID]) + REFERENCES [dbo].[PIMS_NOTE]([NOTE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] + ADD CONSTRAINT [PIM_LEASE_PIM_LESNOT_FK] + FOREIGN KEY([LEASE_ID]) + REFERENCES [dbo].[PIMS_LEASE]([LEASE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + ALTER TABLE [dbo].[PIMS_LEASE_TERM] ADD CONSTRAINT [PIM_LTRMST_PIM_LSTERM_FK] FOREIGN KEY([LEASE_TERM_STATUS_TYPE_CODE]) @@ -26988,7 +27842,7 @@ ALTER TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE] GO ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] - ADD CONSTRAINT [PIM_RESRCH_PIM_RSCDOC_FK] + ADD CONSTRAINT [PIM_RESRCH_PIM_RFLDOC_FK] FOREIGN KEY([RESEARCH_FILE_ID]) REFERENCES [dbo].[PIMS_RESEARCH_FILE]([RESEARCH_FILE_ID]) ON DELETE NO ACTION @@ -26996,7 +27850,7 @@ ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] GO ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] - ADD CONSTRAINT [PIM_DOCMNT_PIM_RSCDOC_FK] + ADD CONSTRAINT [PIM_DOCMNT_PIM_RFLDOC_FK] FOREIGN KEY([DOCUMENT_ID]) REFERENCES [dbo].[PIMS_DOCUMENT]([DOCUMENT_ID]) ON DELETE NO ACTION @@ -27004,7 +27858,7 @@ ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] GO ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] - ADD CONSTRAINT [PIM_RESRCH_PIM_RSCNOT_FK] + ADD CONSTRAINT [PIM_RESRCH_PIM_RFLNOT_FK] FOREIGN KEY([RESEARCH_FILE_ID]) REFERENCES [dbo].[PIMS_RESEARCH_FILE]([RESEARCH_FILE_ID]) ON DELETE NO ACTION @@ -27012,13 +27866,29 @@ ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] GO ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] - ADD CONSTRAINT [PIM_NOTE_PIM_RSCNOT_FK] + ADD CONSTRAINT [PIM_NOTE_PIM_RFLNOT_FK] FOREIGN KEY([NOTE_ID]) REFERENCES [dbo].[PIMS_NOTE]([NOTE_ID]) ON DELETE NO ACTION ON UPDATE NO ACTION GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] + ADD CONSTRAINT [PIM_RESRCH_PIM_RFLPRJ_FK] + FOREIGN KEY([RESEARCH_FILE_ID]) + REFERENCES [dbo].[PIMS_RESEARCH_FILE]([RESEARCH_FILE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] + ADD CONSTRAINT [PIM_PROJCT_PIM_RFLPRJ_FK] + FOREIGN KEY([PROJECT_ID]) + REFERENCES [dbo].[PIMS_PROJECT]([ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PURPOSE] ADD CONSTRAINT [PIM_RSHPRT_PIM_RSFLPR_FK] FOREIGN KEY([RESEARCH_PURPOSE_TYPE_CODE]) diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/020_DML_PIMS_STATIC_VARIABLE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/020_DML_PIMS_STATIC_VARIABLE.sql index bb265df847..ebc6704a0e 100644 --- a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/020_DML_PIMS_STATIC_VARIABLE.sql +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/020_DML_PIMS_STATIC_VARIABLE.sql @@ -11,7 +11,7 @@ GO INSERT INTO PIMS_STATIC_VARIABLE (STATIC_VARIABLE_NAME, STATIC_VARIABLE_VALUE) VALUES - (N'DBVERSION', N'46.00'), + (N'DBVERSION', N'47.00'), (N'GST', N'5.0'), (N'FYSTART', N'01/04/2020'), (N'FYEND', N'31/03/2021'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/100_DML_PIMS_ACTIVITY_TEMPLATE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/100_DML_PIMS_ACTIVITY_TEMPLATE.sql index a56ffcc5df..fc32e0c01d 100644 --- a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/100_DML_PIMS_ACTIVITY_TEMPLATE.sql +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/100_DML_PIMS_ACTIVITY_TEMPLATE.sql @@ -1,39 +1,26 @@ /* ----------------------------------------------------------------------------- -Insert data into the PIMS_ACTIVITY_TEMPLATE table. +Delete all data from the PIMS_ACTIVITY_TEMPLATE table and repopulate. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Author Date Comment ------------ ----------- ----------------------------------------------------- -Doug Filteau 2022-Sep-30 Initial version -Doug Filteau 2022-Oct-31 Added 'File Document' +Doug Filteau 2021-Aug-24 Initial version ----------------------------------------------------------------------------- */ -BEGIN TRANSACTION; +DELETE FROM PIMS_ACTIVITY_TEMPLATE +GO -DECLARE @CurrCd NVARCHAR(20) -SET @CurrCd = N'GENERAL' - -SELECT ACTIVITY_TEMPLATE_TYPE_CODE -FROM PIMS_ACTIVITY_TEMPLATE -WHERE ACTIVITY_TEMPLATE_TYPE_CODE = @CurrCd; - -IF @@ROWCOUNT = 0 - BEGIN - INSERT INTO PIMS_ACTIVITY_TEMPLATE (ACTIVITY_TEMPLATE_TYPE_CODE, CONCURRENCY_CONTROL_NUMBER) - VALUES - (N'GENERAL', 1); - END - -SET @CurrCd = N'FILEDOC' - -SELECT ACTIVITY_TEMPLATE_TYPE_CODE -FROM PIMS_ACTIVITY_TEMPLATE -WHERE ACTIVITY_TEMPLATE_TYPE_CODE = @CurrCd; - -IF @@ROWCOUNT = 0 - BEGIN - INSERT INTO PIMS_ACTIVITY_TEMPLATE (ACTIVITY_TEMPLATE_TYPE_CODE, CONCURRENCY_CONTROL_NUMBER) - VALUES - (N'FILEDOC', 1); - END - -COMMIT TRANSACTION; +INSERT INTO PIMS_ACTIVITY_TEMPLATE (ACTIVITY_TEMPLATE_TYPE_CODE, IS_DISABLED, CONCURRENCY_CONTROL_NUMBER) +VALUES + (N'GENERAL', CONVERT([bit],(0)), 1), + (N'SURVEY', CONVERT([bit],(1)), 1), + (N'SITEVIS', CONVERT([bit],(0)), 1), + (N'GENLTR', CONVERT([bit],(0)), 1), + (N'FILEDOC', CONVERT([bit],(1)), 1), + (N'NOTENTRY', CONVERT([bit],(0)), 1), + (N'CONDENTRY', CONVERT([bit],(0)), 1), + (N'RECNEGOT', CONVERT([bit],(0)), 1), + (N'CONSULT', CONVERT([bit],(0)), 1), + (N'RECTAKES', CONVERT([bit],(0)), 1), + (N'OFFAGREE', CONVERT([bit],(0)), 1), + (N'COMPREQ', CONVERT([bit],(0)), 1); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/111_DML_PIMS_BUSINESS_FUNCTION_CODE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/111_DML_PIMS_BUSINESS_FUNCTION_CODE.sql new file mode 100644 index 0000000000..3866a75542 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/111_DML_PIMS_BUSINESS_FUNCTION_CODE.sql @@ -0,0 +1,20 @@ +/* ----------------------------------------------------------------------------- +Populate the missing code values in the PIMS_BUSINESS_FUNCTION_CODE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-30 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_BUSINESS_FUNCTION_CODE +GO + +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) +VALUES + (N'MANAGE', N'MANAGE', 110, CONVERT(DATETIME, '1990.01.01', 102)), + (N'ORIO ACQ', N'ORIO ACQUISITION', 111, CONVERT(DATETIME, '1990.01.01', 102)), + (N'PROP AQU', N'PROPERTY ACQUISITION', 112, CONVERT(DATETIME, '1990.01.01', 102)), + (N'PROP MAN', N'PROPERTY MANAGEMENT', 113, CONVERT(DATETIME, '1990.01.01', 102)); +GO + + \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/112_DML_PIMS_COST_TYPE_CODE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/112_DML_PIMS_COST_TYPE_CODE.sql new file mode 100644 index 0000000000..38eb3a0d30 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/112_DML_PIMS_COST_TYPE_CODE.sql @@ -0,0 +1,15 @@ +/* ----------------------------------------------------------------------------- +Populate the missing code values in the PIMS_COST_TYPE_CODE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-30 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_COST_TYPE_CODE +GO + +INSERT INTO PIMS_COST_TYPE_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) +VALUES + (N'WBO', N'WBO', 1000, CONVERT(DATETIME, '1990.01.01', 102)); + \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/113_DML_PIMS_WORK_ACTIVITY_CODE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/113_DML_PIMS_WORK_ACTIVITY_CODE.sql new file mode 100644 index 0000000000..7965dc6f58 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/113_DML_PIMS_WORK_ACTIVITY_CODE.sql @@ -0,0 +1,19 @@ +/* ----------------------------------------------------------------------------- +Populate the missing code values in the PIMS_WORK_ACTIVITY_CODE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-30 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_WORK_ACTIVITY_CODE +GO + +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) +VALUES + (N'PROP MAN', N'PROP MAN', 2000, CONVERT(DATETIME, '1990.01.01', 102)), + (N'SURVEY', N'SURVEY', 2001, CONVERT(DATETIME, '1990.01.01', 102)), + (N'ELEC MAIN', N'ELEC MAIN', 2002, CONVERT(DATETIME, '1990.01.01', 102)), + (N'ACQ PROP', N'ACQ PROP', 2003, CONVERT(DATETIME, '1990.01.01', 102)), + (N'PA GENERAL', N'PA GENERAL', 2004, CONVERT(DATETIME, '1990.01.01', 102)); + \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/114_DML_PIMS_CONSULTATION_STATUS_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/114_DML_PIMS_CONSULTATION_STATUS_TYPE.sql new file mode 100644 index 0000000000..c682f83124 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/114_DML_PIMS_CONSULTATION_STATUS_TYPE.sql @@ -0,0 +1,18 @@ +/* ----------------------------------------------------------------------------- +Populate the missing code values in the PIMS_CONSULTATION_STATUS_TYPE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-30 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_CONSULTATION_STATUS_TYPE +GO + +INSERT INTO PIMS_CONSULTATION_STATUS_TYPE (CONSULTATION_STATUS_TYPE_CODE, DESCRIPTION, DISPLAY_ORDER) +VALUES + (N'UNKNOWN', N'Unknown', 1), + (N'REQNTCOM', N'Required, not completed', 2), + (N'REQCOMP', N'Required, completed', 3), + (N'NOTREQD', N'Not required', 4); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/115_DML_PIMS_CONSULTATION_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/115_DML_PIMS_CONSULTATION_TYPE.sql new file mode 100644 index 0000000000..a86a9094fb --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Build/115_DML_PIMS_CONSULTATION_TYPE.sql @@ -0,0 +1,21 @@ +/* ----------------------------------------------------------------------------- +Populate the missing code values in the PIMS_CONSULTATION_TYPE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-30 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_CONSULTATION_TYPE +GO + +INSERT INTO PIMS_CONSULTATION_TYPE (CONSULTATION_TYPE_CODE, CONSULTATION_STATUS_TYPE_CODE, DESCRIPTION, OTHER_DESCRIPTION, DISPLAY_ORDER) +VALUES + (N'1STNATION', N'UNKNOWN', N'First nation', '', 1), + (N'STRATRE', N'UNKNOWN', N'Strategic Real Estate (SRE)', '', 2), + (N'REGPLANG', N'UNKNOWN', N'Regional planning', '', 3), + (N'REGPRPSVC', N'UNKNOWN', N'Regional property services', '', 4), + (N'DISTRICT', N'UNKNOWN', N'District', '', 5), + (N'HQ', N'UNKNOWN', N'Headquarter (HQ)', '', 6), + (N'OTHER', N'UNKNOWN', N'Other', 'Describe other*', 7); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Drop/01_PSP_PIMS_Drop.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Drop/01_PSP_PIMS_Drop.sql index 673067b6e5..fad950ffc5 100644 --- a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Drop/01_PSP_PIMS_Drop.sql +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Drop/01_PSP_PIMS_Drop.sql @@ -1,11 +1,11 @@ /* ---------------------------------------------------------------------- */ /* Script generated with: DeZign for Databases 13.0.2 */ /* Target DBMS: MS SQL Server 2017 */ -/* Project file: PIMS S46.00.dez */ +/* Project file: PIMS S47.00.dez */ /* Project name: MoTI Property Services Project */ /* Author: Doug Filteau */ /* Script type: Database drop script */ -/* Created on: 2023-01-20 11:57 */ +/* Created on: 2023-02-02 09:45 */ /* ---------------------------------------------------------------------- */ @@ -1573,6 +1573,30 @@ ALTER TABLE [dbo].[PIMS_PROPERTY_RESEARCH_FILE] DROP CONSTRAINT [PIM_RESRCH_PIM_ GO +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] DROP CONSTRAINT [PIM_ACQNFL_PIM_ACQDOC_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] DROP CONSTRAINT [PIM_DOCMNT_PIM_ACQDOC_FK] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT [PIM_NOTE_PIM_RFLNOT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT [PIM_RESRCH_PIM_RFLNOT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT [PIM_DOCMNT_PIM_RFLDOC_FK] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT [PIM_RESRCH_PIM_RFLDOC_FK] +GO + + ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PIM_SPDCLT_PIM_PRPRTY_FK] GO @@ -2125,6 +2149,42 @@ ALTER TABLE [dbo].[PIMS_PRODUCT] DROP CONSTRAINT [PIM_PROJCT_PIM_PRODCT_FK] GO +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] DROP CONSTRAINT [PIM_NOTE_PIM_LESNOT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] DROP CONSTRAINT [PIM_LEASE_PIM_LESNOT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] DROP CONSTRAINT [PIM_LEASE_PIM_LESDOC_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] DROP CONSTRAINT [PIM_DOCMNT_PIM_LESDOC_FK] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] DROP CONSTRAINT [PIM_RESRCH_PIM_RFLPRJ_FK] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] DROP CONSTRAINT [PIM_PROJCT_PIM_RFLPRJ_FK] +GO + + +ALTER TABLE [dbo].[PIMS_CONSULTATION_TYPE] DROP CONSTRAINT [PIM_CONSTY_PIM_CONTYP_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] DROP CONSTRAINT [PIM_LEASE_PIM_LESCON_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] DROP CONSTRAINT [PIM_CONTYP_PIM_LESCON_FK] +GO + + /* ---------------------------------------------------------------------- */ /* Drop table "dbo.PIMS_ACT_INST_PROP_RSRCH_FILE" */ /* ---------------------------------------------------------------------- */ @@ -3307,6 +3367,84 @@ DROP TABLE [dbo].[PIMS_PROPERTY] GO +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_RESEARCH_FILE_PROJECT" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] DROP CONSTRAINT [RFLPRJ_RESEARCH_FILE_PROJECT_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] DROP CONSTRAINT [RFLPRJ_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] DROP CONSTRAINT [RFLPRJ_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] DROP CONSTRAINT [RFLPRJ_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] DROP CONSTRAINT [RFLPRJ_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] DROP CONSTRAINT [RFLPRJ_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] DROP CONSTRAINT [RFLPRJ_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] DROP CONSTRAINT [RFLPRJ_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] DROP CONSTRAINT [RFLPRJ_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] DROP CONSTRAINT [RFLPRJ_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] DROP CONSTRAINT [RFLPRJ_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] DROP CONSTRAINT [RFLPRJ_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] DROP CONSTRAINT [RFLPRJ_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] DROP CONSTRAINT [RFLPRJ_PK] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] DROP CONSTRAINT [RFLPRJ_RESEARCH_FILE_PROJECT_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE_PROJECT', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE_PROJECT', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] +GO + + /* ---------------------------------------------------------------------- */ /* Drop table "dbo.PIMS_LEASE_ACTIVITY_INSTANCE" */ /* ---------------------------------------------------------------------- */ @@ -4094,264 +4232,798 @@ GO /* ---------------------------------------------------------------------- */ -/* Drop table "dbo.PIMS_RESEARCH_FILE" */ +/* Drop table "dbo.PIMS_RESEARCH_FILE_DOCUMENT" */ /* ---------------------------------------------------------------------- */ /* Drop constraints */ -ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_RESEARCH_FILE_ID_DEF] +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT [RFLDOC_RESEARCH_FILE_DOCUMENT_ID_DEF] GO -ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_RESEARCH_FILE_STATUS_TYPE_CODE_DEF] +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT [RFLDOC_IS_DISABLED_DEF] GO -ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_RFILE_NUMBER_DEF] +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT [RFLDOC_CONCURRENCY_CONTROL_NUMBER_DEF] GO -ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_CONCURRENCY_CONTROL_NUMBER_DEF] +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT [RFLDOC_APP_CREATE_TIMESTAMP_DEF] GO -ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_APP_CREATE_TIMESTAMP_DEF] +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT [RFLDOC_APP_CREATE_USERID_DEF] GO -ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_APP_CREATE_USERID_DEF] +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT [RFLDOC_APP_CREATE_USER_DIRECTORY_DEF] GO -ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_APP_CREATE_USER_DIRECTORY_DEF] +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT [RFLDOC_APP_LAST_UPDATE_TIMESTAMP_DEF] GO -ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_APP_LAST_UPDATE_TIMESTAMP_DEF] +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT [RFLDOC_APP_LAST_UPDATE_USERID_DEF] GO -ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_APP_LAST_UPDATE_USERID_DEF] +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT [RFLDOC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] GO -ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT [RFLDOC_DB_CREATE_TIMESTAMP_DEF] GO -ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_DB_CREATE_TIMESTAMP_DEF] +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT [RFLDOC_DB_CREATE_USERID_DEF] GO -ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_DB_CREATE_USERID_DEF] +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT [RFLDOC_DB_LAST_UPDATE_TIMESTAMP_DEF] GO -ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_DB_LAST_UPDATE_TIMESTAMP_DEF] +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT [RFLDOC_DB_LAST_UPDATE_USERID_DEF] GO -ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_DB_LAST_UPDATE_USERID_DEF] +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT [RFLDOC_PK] GO -ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_PK] +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT [RFLDOC_RESEARCH_FILE_DOCUMENT_TUC] GO -EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'REQUESTOR_NAME' +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE_DOCUMENT', 'COLUMN', N'IS_DISABLED' GO -EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'REQUESTOR_ORGANIZATION' +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE_DOCUMENT', NULL, NULL GO -EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'NAME' +DROP TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] GO -EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'RFILE_NUMBER' +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_RESEARCH_FILE_NOTE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT [RFLNOT_RESEARCH_FILE_NOTE_ID_DEF] GO -EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'REQUEST_DATE' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT [RFLNOT_IS_DISABLED_DEF] GO -EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'ROAD_NAME' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT [RFLNOT_CONCURRENCY_CONTROL_NUMBER_DEF] GO -EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'ROAD_ALIAS' +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT [RFLNOT_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT [RFLNOT_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT [RFLNOT_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT [RFLNOT_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT [RFLNOT_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT [RFLNOT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT [RFLNOT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT [RFLNOT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT [RFLNOT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT [RFLNOT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT [RFLNOT_PK] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT [RFLNOT_RSRCH_FILE_NOTE_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE_NOTE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE_NOTE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ACQUISITION_FILE_DOCUMENT" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] DROP CONSTRAINT [ACQDOC_ACQUISITION_FILE_DOCUMENT_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] DROP CONSTRAINT [ACQDOC_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] DROP CONSTRAINT [ACQDOC_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] DROP CONSTRAINT [ACQDOC_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] DROP CONSTRAINT [ACQDOC_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] DROP CONSTRAINT [ACQDOC_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] DROP CONSTRAINT [ACQDOC_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] DROP CONSTRAINT [ACQDOC_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] DROP CONSTRAINT [ACQDOC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] DROP CONSTRAINT [ACQDOC_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] DROP CONSTRAINT [ACQDOC_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] DROP CONSTRAINT [ACQDOC_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] DROP CONSTRAINT [ACQDOC_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] DROP CONSTRAINT [ACQDOC_PK] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] DROP CONSTRAINT [ACQNOT_ACQUISITION_FILE_DOCUMENT_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FILE_DOCUMENT', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FILE_DOCUMENT', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_RESEARCH_FILE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_RESEARCH_FILE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_RESEARCH_FILE_STATUS_TYPE_CODE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_RFILE_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'REQUESTOR_NAME' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'REQUESTOR_ORGANIZATION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'NAME' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'RFILE_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'REQUEST_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'ROAD_NAME' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'ROAD_ALIAS' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'REQUEST_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'RESEARCH_RESULT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'IS_EXPROPRIATION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'EXPROPRIATION_NOTES' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'RESEARCH_COMPLETION_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_RESEARCH_FILE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_SECURITY_DEPOSIT_RETURN_HOLDER" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_SECURITY_DEPOSIT_RETURN_HOLDER_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_PK] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_ONE_HOLDER_ONLY_TCC] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_SECURITY_DEPOSIT_RETURN_ID_TUC] +GO + + +DROP TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_SECURITY_DEPOSIT_HOLDER" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_SECURITY_DEPOSIT_HOLDER_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_PK] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_ONE_HOLDER_ONLY_TCC] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_SECURITY_DEPOSIT_ID_TUC] +GO + + +DROP TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_LEASE_CONSULTATION" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] DROP CONSTRAINT [LESCON_LEASE_CONSULTATION_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] DROP CONSTRAINT [LESCON_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] DROP CONSTRAINT [LESCON_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] DROP CONSTRAINT [LESCON_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] DROP CONSTRAINT [LESCON_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] DROP CONSTRAINT [LESCON_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] DROP CONSTRAINT [LESCON_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] DROP CONSTRAINT [LESCON_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] DROP CONSTRAINT [LESCON_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] DROP CONSTRAINT [LESCON_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] DROP CONSTRAINT [LESCON_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] DROP CONSTRAINT [LESCON_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] DROP CONSTRAINT [LESCON_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] DROP CONSTRAINT [LESCON_PK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] DROP CONSTRAINT [LESCON_LEASE_CONSULTATION_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_CONSULTATION', 'COLUMN', N'IS_DISABLED' +GO + + +DROP TABLE [dbo].[PIMS_LEASE_CONSULTATION] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_CONSULTATION_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_CONSULTATION_TYPE] DROP CONSTRAINT [CONTYP_CONSULTATION_TYPE_CODE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CONSULTATION_TYPE] DROP CONSTRAINT [CONTYP_DESCRIPTION_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CONSULTATION_TYPE] DROP CONSTRAINT [CONTYP_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CONSULTATION_TYPE] DROP CONSTRAINT [CONTYP_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CONSULTATION_TYPE] DROP CONSTRAINT [CONTYP_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CONSULTATION_TYPE] DROP CONSTRAINT [CONTYP_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CONSULTATION_TYPE] DROP CONSTRAINT [CONTYP_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CONSULTATION_TYPE] DROP CONSTRAINT [CONTYP_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CONSULTATION_TYPE] DROP CONSTRAINT [CONTYP_PK] GO -EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'REQUEST_DESCRIPTION' +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_CONSULTATION_TYPE', 'COLUMN', N'CONSULTATION_TYPE_CODE' GO -EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'RESEARCH_RESULT' +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_CONSULTATION_TYPE', 'COLUMN', N'DESCRIPTION' GO -EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'IS_EXPROPRIATION' +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_CONSULTATION_TYPE', 'COLUMN', N'OTHER_DESCRIPTION' GO -EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'EXPROPRIATION_NOTES' +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_CONSULTATION_TYPE', 'COLUMN', N'DISPLAY_ORDER' GO -EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'RESEARCH_COMPLETION_DATE' +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_CONSULTATION_TYPE', 'COLUMN', N'IS_DISABLED' GO -EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', NULL, NULL +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_CONSULTATION_TYPE', NULL, NULL GO -DROP TABLE [dbo].[PIMS_RESEARCH_FILE] +DROP TABLE [dbo].[PIMS_CONSULTATION_TYPE] GO /* ---------------------------------------------------------------------- */ -/* Drop table "dbo.PIMS_SECURITY_DEPOSIT_RETURN_HOLDER" */ +/* Drop table "dbo.PIMS_LEASE_DOCUMENT" */ /* ---------------------------------------------------------------------- */ /* Drop constraints */ -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_SECURITY_DEPOSIT_RETURN_HOLDER_ID_DEF] +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] DROP CONSTRAINT [LESDOC_LEASE_DOCUMENT_ID_DEF] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_CONCURRENCY_CONTROL_NUMBER_DEF] +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] DROP CONSTRAINT [LESDOC_IS_DISABLED_DEF] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_APP_CREATE_TIMESTAMP_DEF] +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] DROP CONSTRAINT [LESDOC_CONCURRENCY_CONTROL_NUMBER_DEF] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_APP_CREATE_USERID_DEF] +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] DROP CONSTRAINT [LESDOC_APP_CREATE_TIMESTAMP_DEF] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_APP_CREATE_USER_DIRECTORY_DEF] +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] DROP CONSTRAINT [LESDOC_APP_CREATE_USERID_DEF] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_APP_LAST_UPDATE_USERID_DEF] +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] DROP CONSTRAINT [LESDOC_APP_CREATE_USER_DIRECTORY_DEF] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_APP_LAST_UPDATE_TIMESTAMP_DEF] +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] DROP CONSTRAINT [LESDOC_APP_LAST_UPDATE_TIMESTAMP_DEF] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] DROP CONSTRAINT [LESDOC_APP_LAST_UPDATE_USERID_DEF] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_DB_CREATE_TIMESTAMP_DEF] +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] DROP CONSTRAINT [LESDOC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_DB_CREATE_USERID_DEF] +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] DROP CONSTRAINT [LESDOC_DB_CREATE_TIMESTAMP_DEF] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_DB_LAST_UPDATE_TIMESTAMP_DEF] +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] DROP CONSTRAINT [LESDOC_DB_CREATE_USERID_DEF] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_DB_LAST_UPDATE_USERID_DEF] +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] DROP CONSTRAINT [LESDOC_DB_LAST_UPDATE_TIMESTAMP_DEF] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_PK] +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] DROP CONSTRAINT [LESDOC_DB_LAST_UPDATE_USERID_DEF] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_ONE_HOLDER_ONLY_TCC] +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] DROP CONSTRAINT [LESDOC_PK] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_SECURITY_DEPOSIT_RETURN_ID_TUC] +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] DROP CONSTRAINT [LESDOC_LEASE_DOCUMENT_TUC] GO -DROP TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_DOCUMENT', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_DOCUMENT', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_LEASE_DOCUMENT] GO /* ---------------------------------------------------------------------- */ -/* Drop table "dbo.PIMS_SECURITY_DEPOSIT_HOLDER" */ +/* Drop table "dbo.PIMS_LEASE_NOTE" */ /* ---------------------------------------------------------------------- */ /* Drop constraints */ -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_SECURITY_DEPOSIT_HOLDER_ID_DEF] +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] DROP CONSTRAINT [LESNOT_LEASE_NOTE_ID_DEF] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_CONCURRENCY_CONTROL_NUMBER_DEF] +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] DROP CONSTRAINT [LESNOT_IS_DISABLED_DEF] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_APP_CREATE_TIMESTAMP_DEF] +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] DROP CONSTRAINT [LESNOT_CONCURRENCY_CONTROL_NUMBER_DEF] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_APP_CREATE_USERID_DEF] +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] DROP CONSTRAINT [LESNOT_APP_CREATE_TIMESTAMP_DEF] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_APP_CREATE_USER_DIRECTORY_DEF] +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] DROP CONSTRAINT [LESNOT_APP_CREATE_USERID_DEF] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_APP_LAST_UPDATE_TIMESTAMP_DEF] +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] DROP CONSTRAINT [LESNOT_APP_CREATE_USER_DIRECTORY_DEF] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_APP_LAST_UPDATE_USERID_DEF] +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] DROP CONSTRAINT [LESNOT_APP_LAST_UPDATE_TIMESTAMP_DEF] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] DROP CONSTRAINT [LESNOT_APP_LAST_UPDATE_USERID_DEF] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_DB_CREATE_TIMESTAMP_DEF] +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] DROP CONSTRAINT [LESNOT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_DB_CREATE_USERID_DEF] +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] DROP CONSTRAINT [LESNOT_DB_CREATE_TIMESTAMP_DEF] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_DB_LAST_UPDATE_TIMESTAMP_DEF] +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] DROP CONSTRAINT [LESNOT_DB_CREATE_USERID_DEF] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_DB_LAST_UPDATE_USERID_DEF] +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] DROP CONSTRAINT [LESNOT_DB_LAST_UPDATE_TIMESTAMP_DEF] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_PK] +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] DROP CONSTRAINT [LESNOT_DB_LAST_UPDATE_USERID_DEF] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_ONE_HOLDER_ONLY_TCC] +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] DROP CONSTRAINT [LESNOT_PK] GO -ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_SECURITY_DEPOSIT_ID_TUC] +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] DROP CONSTRAINT [LESNOT_LEASE_NOTE_TUC] GO -DROP TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_NOTE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_NOTE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_LEASE_NOTE] GO @@ -4425,6 +5097,10 @@ EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N' GO +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FILE_NOTE', NULL, NULL +GO + + DROP TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE] GO @@ -6434,80 +7110,68 @@ GO /* ---------------------------------------------------------------------- */ -/* Drop table "dbo.PIMS_PROJECT_HIST" */ +/* Drop table "dbo.PIMS_CONSULTATION_STATUS_TYPE" */ /* ---------------------------------------------------------------------- */ /* Drop constraints */ -ALTER TABLE [dbo].[PIMS_PROJECT_HIST] DROP CONSTRAINT [DF__PIMS_PROJ___PROJ__25E688F4] +ALTER TABLE [dbo].[PIMS_CONSULTATION_STATUS_TYPE] DROP CONSTRAINT [CONSTY_CONSULTATION_STATUS_TYPE_CODE_DEF] GO -ALTER TABLE [dbo].[PIMS_PROJECT_HIST] DROP CONSTRAINT [DF__PIMS_PROJ__EFFEC__26DAAD2D] +ALTER TABLE [dbo].[PIMS_CONSULTATION_STATUS_TYPE] DROP CONSTRAINT [CONSTY_DESCRIPTION_DEF] GO -ALTER TABLE [dbo].[PIMS_PROJECT_HIST] DROP CONSTRAINT [PIMS_PROJCT_H_PK] +ALTER TABLE [dbo].[PIMS_CONSULTATION_STATUS_TYPE] DROP CONSTRAINT [CONSTY_IS_DISABLED_DEF] GO -ALTER TABLE [dbo].[PIMS_PROJECT_HIST] DROP CONSTRAINT [PIMS_PROJCT_H_UK] +ALTER TABLE [dbo].[PIMS_CONSULTATION_STATUS_TYPE] DROP CONSTRAINT [CONSTY_CONCURRENCY_CONTROL_NUMBER_DEF] GO -DROP TABLE [dbo].[PIMS_PROJECT_HIST] +ALTER TABLE [dbo].[PIMS_CONSULTATION_STATUS_TYPE] DROP CONSTRAINT [CONSTY_DB_CREATE_TIMESTAMP_DEF] GO -/* ---------------------------------------------------------------------- */ -/* Drop table "dbo.PIMS_PRODUCT_HIST" */ -/* ---------------------------------------------------------------------- */ - -/* Drop constraints */ - -ALTER TABLE [dbo].[PIMS_PRODUCT_HIST] DROP CONSTRAINT [DF__PIMS_PROD___PROD__2215F810] +ALTER TABLE [dbo].[PIMS_CONSULTATION_STATUS_TYPE] DROP CONSTRAINT [CONSTY_DB_CREATE_USERID_DEF] GO -ALTER TABLE [dbo].[PIMS_PRODUCT_HIST] DROP CONSTRAINT [DF__PIMS_PROD__EFFEC__230A1C49] +ALTER TABLE [dbo].[PIMS_CONSULTATION_STATUS_TYPE] DROP CONSTRAINT [CONSTY_DB_LAST_UPDATE_TIMESTAMP_DEF] GO -ALTER TABLE [dbo].[PIMS_PRODUCT_HIST] DROP CONSTRAINT [PIMS_PRODCT_H_PK] +ALTER TABLE [dbo].[PIMS_CONSULTATION_STATUS_TYPE] DROP CONSTRAINT [CONSTY_DB_LAST_UPDATE_USERID_DEF] GO -ALTER TABLE [dbo].[PIMS_PRODUCT_HIST] DROP CONSTRAINT [PIMS_PRODCT_H_UK] +ALTER TABLE [dbo].[PIMS_CONSULTATION_STATUS_TYPE] DROP CONSTRAINT [CONSTY_PK] GO -DROP TABLE [dbo].[PIMS_PRODUCT_HIST] +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_CONSULTATION_STATUS_TYPE', 'COLUMN', N'CONSULTATION_STATUS_TYPE_CODE' GO -/* ---------------------------------------------------------------------- */ -/* Drop table "dbo.PIMS_ACQUISITION_FILE_NOTE_HIST" */ -/* ---------------------------------------------------------------------- */ - -/* Drop constraints */ - -ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE_HIST] DROP CONSTRAINT [DF__PIMS_ACQU___ACQU__15FA39EE] +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_CONSULTATION_STATUS_TYPE', 'COLUMN', N'DESCRIPTION' GO -ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE_HIST] DROP CONSTRAINT [DF__PIMS_ACQU__EFFEC__16EE5E27] +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_CONSULTATION_STATUS_TYPE', 'COLUMN', N'DISPLAY_ORDER' GO -ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE_HIST] DROP CONSTRAINT [PIMS_ACQNOT_H_PK] +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_CONSULTATION_STATUS_TYPE', 'COLUMN', N'IS_DISABLED' GO -ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE_HIST] DROP CONSTRAINT [PIMS_ACQNOT_H_UK] +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_CONSULTATION_STATUS_TYPE', NULL, NULL GO -DROP TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE_HIST] +DROP TABLE [dbo].[PIMS_CONSULTATION_STATUS_TYPE] GO @@ -6619,10 +7283,6 @@ ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT [PROJCT_ID_DEF] GO -ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT [PROJCT_PROJECT_STATUS_CODE_DEF] -GO - - ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT [PROJCT_REGION_CODE_DEF] GO @@ -6679,6 +7339,10 @@ ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT [PROJCT_PK] GO +ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT [PROJCT_DESCRIPTION_CODE_TUC] +GO + + EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROJECT', 'COLUMN', N'ID' GO @@ -6827,188 +7491,6 @@ DROP TABLE [dbo].[PIMS_TENANT_TYPE] GO -/* ---------------------------------------------------------------------- */ -/* Drop table "dbo.PIMS_YEARLY_FINANCIAL_CODE_HIST" */ -/* ---------------------------------------------------------------------- */ - -/* Drop constraints */ - -ALTER TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE_HIST] DROP CONSTRAINT [DF__PIMS_YEAR___YEAR__12F3B011] -GO - - -ALTER TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE_HIST] DROP CONSTRAINT [DF__PIMS_YEAR__EFFEC__13E7D44A] -GO - - -ALTER TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE_HIST] DROP CONSTRAINT [PIMS_YRFINC_H_PK] -GO - - -ALTER TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE_HIST] DROP CONSTRAINT [PIMS_YRFINC_H_UK] -GO - - -DROP TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE_HIST] -GO - - -/* ---------------------------------------------------------------------- */ -/* Drop table "dbo.PIMS_WORK_ACTIVITY_CODE_HIST" */ -/* ---------------------------------------------------------------------- */ - -/* Drop constraints */ - -ALTER TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE_HIST] DROP CONSTRAINT [DF__PIMS_WORK___WORK__7FE0DB9D] -GO - - -ALTER TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE_HIST] DROP CONSTRAINT [DF__PIMS_WORK__EFFEC__00D4FFD6] -GO - - -ALTER TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE_HIST] DROP CONSTRAINT [PIMS_WRKACT_H_PK] -GO - - -ALTER TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE_HIST] DROP CONSTRAINT [PIMS_WRKACT_H_UK] -GO - - -DROP TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE_HIST] -GO - - -/* ---------------------------------------------------------------------- */ -/* Drop table "dbo.PIMS_RESPONSIBILITY_CODE_HIST" */ -/* ---------------------------------------------------------------------- */ - -/* Drop constraints */ - -ALTER TABLE [dbo].[PIMS_RESPONSIBILITY_CODE_HIST] DROP CONSTRAINT [DF__PIMS_RESP___RESP__5DC0CDC3] -GO - - -ALTER TABLE [dbo].[PIMS_RESPONSIBILITY_CODE_HIST] DROP CONSTRAINT [DF__PIMS_RESP__EFFEC__5EB4F1FC] -GO - - -ALTER TABLE [dbo].[PIMS_RESPONSIBILITY_CODE_HIST] DROP CONSTRAINT [PIMS_RESPCD_H_PK] -GO - - -ALTER TABLE [dbo].[PIMS_RESPONSIBILITY_CODE_HIST] DROP CONSTRAINT [PIMS_RESPCD_H_UK] -GO - - -DROP TABLE [dbo].[PIMS_RESPONSIBILITY_CODE_HIST] -GO - - -/* ---------------------------------------------------------------------- */ -/* Drop table "dbo.PIMS_FINANCIAL_ACTIVITY_CODE_HIST" */ -/* ---------------------------------------------------------------------- */ - -/* Drop constraints */ - -ALTER TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE_HIST] DROP CONSTRAINT [DF__PIMS_FINA___FINA__5ECA0095] -GO - - -ALTER TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE_HIST] DROP CONSTRAINT [DF__PIMS_FINA__EFFEC__5FBE24CE] -GO - - -ALTER TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE_HIST] DROP CONSTRAINT [PIMS_FINACT_H_PK] -GO - - -ALTER TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE_HIST] DROP CONSTRAINT [PIMS_FINACT_H_UK] -GO - - -DROP TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE_HIST] -GO - - -/* ---------------------------------------------------------------------- */ -/* Drop table "dbo.PIMS_COST_TYPE_CODE_HIST" */ -/* ---------------------------------------------------------------------- */ - -/* Drop constraints */ - -ALTER TABLE [dbo].[PIMS_COST_TYPE_CODE_HIST] DROP CONSTRAINT [DF__PIMS_COST___COST__3C74E891] -GO - - -ALTER TABLE [dbo].[PIMS_COST_TYPE_CODE_HIST] DROP CONSTRAINT [DF__PIMS_COST__EFFEC__3D690CCA] -GO - - -ALTER TABLE [dbo].[PIMS_COST_TYPE_CODE_HIST] DROP CONSTRAINT [PIMS_COSTYP_H_PK] -GO - - -ALTER TABLE [dbo].[PIMS_COST_TYPE_CODE_HIST] DROP CONSTRAINT [PIMS_COSTYP_H_UK] -GO - - -DROP TABLE [dbo].[PIMS_COST_TYPE_CODE_HIST] -GO - - -/* ---------------------------------------------------------------------- */ -/* Drop table "dbo.PIMS_CHART_OF_ACCOUNTS_CODE_HIST" */ -/* ---------------------------------------------------------------------- */ - -/* Drop constraints */ - -ALTER TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE_HIST] DROP CONSTRAINT [DF__PIMS_CHAR___CHAR__1466F737] -GO - - -ALTER TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE_HIST] DROP CONSTRAINT [DF__PIMS_CHAR__EFFEC__155B1B70] -GO - - -ALTER TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE_HIST] DROP CONSTRAINT [PIMS_CHRTAC_H_PK] -GO - - -ALTER TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE_HIST] DROP CONSTRAINT [PIMS_CHRTAC_H_UK] -GO - - -DROP TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE_HIST] -GO - - -/* ---------------------------------------------------------------------- */ -/* Drop table "dbo.PIMS_BUSINESS_FUNCTION_CODE_HIST" */ -/* ---------------------------------------------------------------------- */ - -/* Drop constraints */ - -ALTER TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE_HIST] DROP CONSTRAINT [DF__PIMS_BUSI___BUSI__015422C3] -GO - - -ALTER TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE_HIST] DROP CONSTRAINT [DF__PIMS_BUSI__EFFEC__024846FC] -GO - - -ALTER TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE_HIST] DROP CONSTRAINT [PIMS_BIZFCN_H_PK] -GO - - -ALTER TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE_HIST] DROP CONSTRAINT [PIMS_BIZFCN_H_UK] -GO - - -DROP TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE_HIST] -GO - - /* ---------------------------------------------------------------------- */ /* Drop table "dbo.PIMS_YEARLY_FINANCIAL_CODE" */ /* ---------------------------------------------------------------------- */ @@ -7695,32 +8177,6 @@ DROP TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE] GO -/* ---------------------------------------------------------------------- */ -/* Drop table "dbo.PIMS_LEASE_ACTIVITY_INSTANCE_HIST" */ -/* ---------------------------------------------------------------------- */ - -/* Drop constraints */ - -ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE_HIST] DROP CONSTRAINT [DF__PIMS_LEAS___LEAS__607D3EDD] -GO - - -ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE_HIST] DROP CONSTRAINT [DF__PIMS_LEAS__EFFEC__61716316] -GO - - -ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE_HIST] DROP CONSTRAINT [PIMS_LSACIN_H_PK] -GO - - -ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE_HIST] DROP CONSTRAINT [PIMS_LSACIN_H_UK] -GO - - -DROP TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE_HIST] -GO - - /* ---------------------------------------------------------------------- */ /* Drop table "dbo.PIMS_LETTER_TYPE" */ /* ---------------------------------------------------------------------- */ @@ -13675,10 +14131,6 @@ DROP SEQUENCE [dbo].[PIMS_PROJECT_STATUS_H_ID_SEQ] GO -DROP SEQUENCE [dbo].[PIMS_ACQUISITION_FILE_NOTE_H_ID_SEQ] -GO - - DROP SEQUENCE [dbo].[PIMS_PRODUCT_ID_SEQ] GO @@ -14410,3 +14862,31 @@ GO DROP SEQUENCE [dbo].[PIMS_PROPERTY_SERVICE_FILE_ID_SEQ] GO + +DROP SEQUENCE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_RESEARCH_FILE_NOTE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_LEASE_NOTE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_LEASE_DOCUMENT_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_RESEARCH_FILE_PROJECT_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_LEASE_CONSULTATION_ID_SEQ] +GO + diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/PIMS PDM S46.00.png b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/PIMS PDM S47.00.png similarity index 57% rename from source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/PIMS PDM S46.00.png rename to source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/PIMS PDM S47.00.png index 8b38999aea..064af32ae5 100644 Binary files a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/PIMS PDM S46.00.png and b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/PIMS PDM S47.00.png differ diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/PIMS S46.00 Change Log.txt b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/PIMS S47.00 Change Log.txt similarity index 97% rename from source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/PIMS S46.00 Change Log.txt rename to source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/PIMS S47.00 Change Log.txt index 3c64381047..69c552acf7 100644 --- a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/PIMS S46.00 Change Log.txt +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/PIMS S47.00 Change Log.txt @@ -1,3 +1,33 @@ +PSP_PIMS S47.00 Sprint 47 2023-Feb-03 +- Added tables: + - PIMS_CONSULTATION_STATUS_TYPE + - PIMS_CONSULTATION_TYPE + - PIMS_LEASE_CONSULTATION + - PIMS_LEASE_CONSULTATION_HIST + - PIMS_LEASE_DOCUMENT + - PIMS_LEASE_DOCUMENT_HIST + - PIMS_LEASE_NOTE + - PIMS_LEASE_NOTE_HIST + - PIMS_RESEARCH_FILE_PROJECT + - PIMS_RESEARCH_FILE_PROJECT_HIST +- Altered tables: + - PIMS_PROJECT + - PIMS_RESEARCH_FILE_DOCUMENT + - PIMS_RESEARCH_FILE_DOCUMENT_HIST + - PIMS_RESEARCH_FILE_NOTE + - PIMS_RESEARCH_FILE_NOTE_HIST +- Added seed scripts: + - 111_DML_PIMS_BUSINESS_FUNCTION_CODE.sql + - 112_DML_PIMS_COST_TYPE_CODE.sql + - 113_DML_PIMS_WORK_ACTIVITY_CODE.sql + - 114_DML_PIMS_CONSULTATION_STATUS_TYPE.sql + - 115_DML_PIMS_CONSULTATION_TYPE.sql +- Altered seed scripts: + - 100_DML_PIMS_ACTIVITY_TEMPLATE.sql +- Altered test scripts: + - 24_PIMS_ACTIVITY_TEMPLATE.sql +- Requires additional metadata to meet standards + PSP_PIMS S46.00 Sprint 46 2023-JAN-20 - Added tables: - PIMS_ACQUISITION_FILE_DOCUMENT diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Test Data/24_PIMS_ACTIVITY_TEMPLATE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Test Data/24_PIMS_ACTIVITY_TEMPLATE.sql index 0713d17523..d55bf733e7 100644 --- a/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Test Data/24_PIMS_ACTIVITY_TEMPLATE.sql +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_LATEST/Test Data/24_PIMS_ACTIVITY_TEMPLATE.sql @@ -1,11 +1,18 @@ -DELETE -FROM PIMS_ACTIVITY_TEMPLATE; +DELETE FROM PIMS_ACTIVITY_TEMPLATE GO -INSERT INTO [dbo].[PIMS_ACTIVITY_TEMPLATE] ([ACTIVITY_TEMPLATE_TYPE_CODE], [CONCURRENCY_CONTROL_NUMBER]) +INSERT INTO PIMS_ACTIVITY_TEMPLATE (ACTIVITY_TEMPLATE_TYPE_CODE, IS_DISABLED, CONCURRENCY_CONTROL_NUMBER) VALUES - (N'GENERAL', 1), - (N'SITEVIS', 1), - (N'SURVEY', 1), - (N'FILEDOC', 1); + (N'GENERAL', CONVERT([bit],(0)), 1), + (N'SURVEY', CONVERT([bit],(1)), 1), + (N'SITEVIS', CONVERT([bit],(0)), 1), + (N'GENLTR', CONVERT([bit],(0)), 1), + (N'FILEDOC', CONVERT([bit],(1)), 1), + (N'NOTENTRY', CONVERT([bit],(0)), 1), + (N'CONDENTRY', CONVERT([bit],(0)), 1), + (N'RECNEGOT', CONVERT([bit],(0)), 1), + (N'CONSULT', CONVERT([bit],(0)), 1), + (N'RECTAKES', CONVERT([bit],(0)), 1), + (N'OFFAGREE', CONVERT([bit],(0)), 1), + (N'COMPREQ', CONVERT([bit],(0)), 1); GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Down/01_PSP_PIMS_Alter_Down.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Down/01_PSP_PIMS_Alter_Down.sql new file mode 100644 index 0000000000..5a6fd3b796 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Down/01_PSP_PIMS_Alter_Down.sql @@ -0,0 +1,1456 @@ +-- Script generated by Aqua Data Studio Schema Synchronization for MS SQL Server 2016 on Fri Feb 03 10:41:45 PST 2023 +-- Execute this script on: +-- PSP_PIMS_S47_00/dbo - This database/schema will be modified +-- to synchronize it with MS SQL Server 2016: +-- PSP_PIMS_S46_00/dbo + +-- We recommend backing up the database prior to executing the script. + +SET XACT_ABORT ON +GO +SET TRANSACTION ISOLATION LEVEL SERIALIZABLE +GO +BEGIN TRANSACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_LESCON_I_S_U_TR +PRINT N'Drop trigger dbo.PIMS_LESCON_I_S_U_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_LESCON_I_S_U_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_LESCON_I_S_I_TR +PRINT N'Drop trigger dbo.PIMS_LESCON_I_S_I_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_LESCON_I_S_I_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_LESCON_A_S_IUD_TR +PRINT N'Drop trigger dbo.PIMS_LESCON_A_S_IUD_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_LESCON_A_S_IUD_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop foreign key constraint dbo.PIM_CONTYP_PIM_LESCON_FK +PRINT N'Drop foreign key constraint dbo.PIM_CONTYP_PIM_LESCON_FK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] + DROP CONSTRAINT IF EXISTS [PIM_CONTYP_PIM_LESCON_FK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop foreign key constraint dbo.PIM_LEASE_PIM_LESCON_FK +PRINT N'Drop foreign key constraint dbo.PIM_LEASE_PIM_LESCON_FK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] + DROP CONSTRAINT IF EXISTS [PIM_LEASE_PIM_LESCON_FK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop foreign key constraint dbo.PIM_CONSTY_PIM_CONTYP_FK +PRINT N'Drop foreign key constraint dbo.PIM_CONSTY_PIM_CONTYP_FK' +GO +ALTER TABLE [dbo].[PIMS_CONSULTATION_TYPE] + DROP CONSTRAINT IF EXISTS [PIM_CONSTY_PIM_CONTYP_FK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop foreign key constraint dbo.PIM_DOCMNT_PIM_LESDOC_FK +PRINT N'Drop foreign key constraint dbo.PIM_DOCMNT_PIM_LESDOC_FK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] + DROP CONSTRAINT IF EXISTS [PIM_DOCMNT_PIM_LESDOC_FK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop foreign key constraint dbo.PIM_LEASE_PIM_LESDOC_FK +PRINT N'Drop foreign key constraint dbo.PIM_LEASE_PIM_LESDOC_FK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] + DROP CONSTRAINT IF EXISTS [PIM_LEASE_PIM_LESDOC_FK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop foreign key constraint dbo.PIM_LEASE_PIM_LESNOT_FK +PRINT N'Drop foreign key constraint dbo.PIM_LEASE_PIM_LESNOT_FK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] + DROP CONSTRAINT IF EXISTS [PIM_LEASE_PIM_LESNOT_FK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop foreign key constraint dbo.PIM_NOTE_PIM_LESNOT_FK +PRINT N'Drop foreign key constraint dbo.PIM_NOTE_PIM_LESNOT_FK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] + DROP CONSTRAINT IF EXISTS [PIM_NOTE_PIM_LESNOT_FK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop foreign key constraint dbo.PIM_PROJCT_PIM_RFLPRJ_FK +PRINT N'Drop foreign key constraint dbo.PIM_PROJCT_PIM_RFLPRJ_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] + DROP CONSTRAINT IF EXISTS [PIM_PROJCT_PIM_RFLPRJ_FK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop foreign key constraint dbo.PIM_RESRCH_PIM_RFLPRJ_FK +PRINT N'Drop foreign key constraint dbo.PIM_RESRCH_PIM_RFLPRJ_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] + DROP CONSTRAINT IF EXISTS [PIM_RESRCH_PIM_RFLPRJ_FK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop foreign key constraint dbo.PIM_RESRCH_PIM_RFLDOC_FK +PRINT N'Drop foreign key constraint dbo.PIM_RESRCH_PIM_RFLDOC_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + DROP CONSTRAINT IF EXISTS [PIM_RESRCH_PIM_RFLDOC_FK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop foreign key constraint dbo.PIM_DOCMNT_PIM_RFLDOC_FK +PRINT N'Drop foreign key constraint dbo.PIM_DOCMNT_PIM_RFLDOC_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + DROP CONSTRAINT IF EXISTS [PIM_DOCMNT_PIM_RFLDOC_FK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop foreign key constraint dbo.PIM_RESRCH_PIM_RFLNOT_FK +PRINT N'Drop foreign key constraint dbo.PIM_RESRCH_PIM_RFLNOT_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + DROP CONSTRAINT IF EXISTS [PIM_RESRCH_PIM_RFLNOT_FK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop foreign key constraint dbo.PIM_NOTE_PIM_RFLNOT_FK +PRINT N'Drop foreign key constraint dbo.PIM_NOTE_PIM_RFLNOT_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + DROP CONSTRAINT IF EXISTS [PIM_NOTE_PIM_RFLNOT_FK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop index dbo.LESCON_LEASE_ID_IDX +PRINT N'Drop index dbo.LESCON_LEASE_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_LEASE_CONSULTATION].[LESCON_LEASE_ID_IDX] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop index dbo.LESCON_CONSULTATION_TYPE_CODE_IDX +PRINT N'Drop index dbo.LESCON_CONSULTATION_TYPE_CODE_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_LEASE_CONSULTATION].[LESCON_CONSULTATION_TYPE_CODE_IDX] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_CONTYP_I_S_U_TR +PRINT N'Drop trigger dbo.PIMS_CONTYP_I_S_U_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_CONTYP_I_S_U_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_CONTYP_I_S_I_TR +PRINT N'Drop trigger dbo.PIMS_CONTYP_I_S_I_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_CONTYP_I_S_I_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop index dbo.CONTYP_CONSULTATION_STATUS_TYPE_CODE_IDX +PRINT N'Drop index dbo.CONTYP_CONSULTATION_STATUS_TYPE_CODE_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_CONSULTATION_TYPE].[CONTYP_CONSULTATION_STATUS_TYPE_CODE_IDX] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_CONSTY_I_S_U_TR +PRINT N'Drop trigger dbo.PIMS_CONSTY_I_S_U_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_CONSTY_I_S_U_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_CONSTY_I_S_I_TR +PRINT N'Drop trigger dbo.PIMS_CONSTY_I_S_I_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_CONSTY_I_S_I_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_LESNOT_I_S_U_TR +PRINT N'Drop trigger dbo.PIMS_LESNOT_I_S_U_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_LESNOT_I_S_U_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_LESNOT_I_S_I_TR +PRINT N'Drop trigger dbo.PIMS_LESNOT_I_S_I_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_LESNOT_I_S_I_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_LESDOC_I_S_U_TR +PRINT N'Drop trigger dbo.PIMS_LESDOC_I_S_U_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_LESDOC_I_S_U_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_LESDOC_I_S_I_TR +PRINT N'Drop trigger dbo.PIMS_LESDOC_I_S_I_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_LESDOC_I_S_I_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_LESDOC_A_S_IUD_TR +PRINT N'Drop trigger dbo.PIMS_LESDOC_A_S_IUD_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_LESDOC_A_S_IUD_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop index dbo.LESDOC_LEASE_ID_IDX +PRINT N'Drop index dbo.LESDOC_LEASE_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_LEASE_DOCUMENT].[LESDOC_LEASE_ID_IDX] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop index dbo.LESDOC_DOCUMENT_ID_IDX +PRINT N'Drop index dbo.LESDOC_DOCUMENT_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_LEASE_DOCUMENT].[LESDOC_DOCUMENT_ID_IDX] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_LESNOT_A_S_IUD_TR +PRINT N'Drop trigger dbo.PIMS_LESNOT_A_S_IUD_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_LESNOT_A_S_IUD_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop index dbo.LESNOT_NOTE_ID_IDX +PRINT N'Drop index dbo.LESNOT_NOTE_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_LEASE_NOTE].[LESNOT_NOTE_ID_IDX] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop index dbo.LESNOT_LEASE_ID_IDX +PRINT N'Drop index dbo.LESNOT_LEASE_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_LEASE_NOTE].[LESNOT_LEASE_ID_IDX] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_RFLDOC_I_S_U_TR +PRINT N'Drop trigger dbo.PIMS_RFLDOC_I_S_U_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RFLDOC_I_S_U_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_RFLDOC_I_S_I_TR +PRINT N'Drop trigger dbo.PIMS_RFLDOC_I_S_I_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RFLDOC_I_S_I_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_RFLDOC_A_S_IUD_TR +PRINT N'Drop trigger dbo.PIMS_RFLDOC_A_S_IUD_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RFLDOC_A_S_IUD_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop index dbo.RFLDOC_RESEARCH_FILE_ID_IDX +PRINT N'Drop index dbo.RFLDOC_RESEARCH_FILE_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_RESEARCH_FILE_DOCUMENT].[RFLDOC_RESEARCH_FILE_ID_IDX] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop index dbo.RFLDOC_DOCUMENT_ID_IDX +PRINT N'Drop index dbo.RFLDOC_DOCUMENT_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_RESEARCH_FILE_DOCUMENT].[RFLDOC_DOCUMENT_ID_IDX] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_RFLNOT_I_S_U_TR +PRINT N'Drop trigger dbo.PIMS_RFLNOT_I_S_U_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RFLNOT_I_S_U_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_RFLNOT_I_S_I_TR +PRINT N'Drop trigger dbo.PIMS_RFLNOT_I_S_I_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RFLNOT_I_S_I_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_RFLNOT_A_S_IUD_TR +PRINT N'Drop trigger dbo.PIMS_RFLNOT_A_S_IUD_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RFLNOT_A_S_IUD_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop index dbo.RFLNOT_RESEARCH_FILE_ID_IDX +PRINT N'Drop index dbo.RFLNOT_RESEARCH_FILE_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_RESEARCH_FILE_NOTE].[RFLNOT_RESEARCH_FILE_ID_IDX] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop index dbo.RFLNOT_NOTE_ID_IDX +PRINT N'Drop index dbo.RFLNOT_NOTE_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_RESEARCH_FILE_NOTE].[RFLNOT_NOTE_ID_IDX] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_RFLPRJ_I_S_U_TR +PRINT N'Drop trigger dbo.PIMS_RFLPRJ_I_S_U_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RFLPRJ_I_S_U_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_RFLPRJ_I_S_I_TR +PRINT N'Drop trigger dbo.PIMS_RFLPRJ_I_S_I_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RFLPRJ_I_S_I_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_RFLPRJ_A_S_IUD_TR +PRINT N'Drop trigger dbo.PIMS_RFLPRJ_A_S_IUD_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RFLPRJ_A_S_IUD_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop index dbo.RFLPRJ_RESEARCH_FILE_ID_IDX +PRINT N'Drop index dbo.RFLPRJ_RESEARCH_FILE_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_RESEARCH_FILE_PROJECT].[RFLPRJ_RESEARCH_FILE_ID_IDX] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop index dbo.RFLPRJ_PROJECT_ID_IDX +PRINT N'Drop index dbo.RFLPRJ_PROJECT_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_RESEARCH_FILE_PROJECT].[RFLPRJ_PROJECT_ID_IDX] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.LESCON_LEASE_CONSULTATION_TUC +PRINT N'Drop unique constraint dbo.LESCON_LEASE_CONSULTATION_TUC' +GO +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] + DROP CONSTRAINT IF EXISTS [LESCON_LEASE_CONSULTATION_TUC] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.LESCON_PK +PRINT N'Drop primary key constraint dbo.LESCON_PK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] + DROP CONSTRAINT IF EXISTS [LESCON_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop table dbo.PIMS_LEASE_CONSULTATION +PRINT N'Drop table dbo.PIMS_LEASE_CONSULTATION' +GO +DROP TABLE IF EXISTS [dbo].[PIMS_LEASE_CONSULTATION] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.CONTYP_PK +PRINT N'Drop primary key constraint dbo.CONTYP_PK' +GO +ALTER TABLE [dbo].[PIMS_CONSULTATION_TYPE] + DROP CONSTRAINT IF EXISTS [CONTYP_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.CONSTY_PK +PRINT N'Drop primary key constraint dbo.CONSTY_PK' +GO +ALTER TABLE [dbo].[PIMS_CONSULTATION_STATUS_TYPE] + DROP CONSTRAINT IF EXISTS [CONSTY_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.PIMS_LESCON_H_UK +PRINT N'Drop unique constraint dbo.PIMS_LESCON_H_UK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_LESCON_H_UK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.PIMS_LESCON_H_PK +PRINT N'Drop primary key constraint dbo.PIMS_LESCON_H_PK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_LESCON_H_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.PIMS_LESDOC_H_UK +PRINT N'Drop unique constraint dbo.PIMS_LESDOC_H_UK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_LESDOC_H_UK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.PIMS_LESDOC_H_PK +PRINT N'Drop primary key constraint dbo.PIMS_LESDOC_H_PK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_LESDOC_H_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.LESDOC_LEASE_DOCUMENT_TUC +PRINT N'Drop unique constraint dbo.LESDOC_LEASE_DOCUMENT_TUC' +GO +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] + DROP CONSTRAINT IF EXISTS [LESDOC_LEASE_DOCUMENT_TUC] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.LESDOC_PK +PRINT N'Drop primary key constraint dbo.LESDOC_PK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] + DROP CONSTRAINT IF EXISTS [LESDOC_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop table dbo.PIMS_LEASE_DOCUMENT +PRINT N'Drop table dbo.PIMS_LEASE_DOCUMENT' +GO +DROP TABLE IF EXISTS [dbo].[PIMS_LEASE_DOCUMENT] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.LESNOT_LEASE_NOTE_TUC +PRINT N'Drop unique constraint dbo.LESNOT_LEASE_NOTE_TUC' +GO +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] + DROP CONSTRAINT IF EXISTS [LESNOT_LEASE_NOTE_TUC] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.LESNOT_PK +PRINT N'Drop primary key constraint dbo.LESNOT_PK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] + DROP CONSTRAINT IF EXISTS [LESNOT_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop table dbo.PIMS_LEASE_NOTE +PRINT N'Drop table dbo.PIMS_LEASE_NOTE' +GO +DROP TABLE IF EXISTS [dbo].[PIMS_LEASE_NOTE] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.PIMS_LESNOT_H_UK +PRINT N'Drop unique constraint dbo.PIMS_LESNOT_H_UK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_NOTE_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_LESNOT_H_UK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.PIMS_LESNOT_H_PK +PRINT N'Drop primary key constraint dbo.PIMS_LESNOT_H_PK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_NOTE_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_LESNOT_H_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.PIMS_RFLPRJ_H_UK +PRINT N'Drop unique constraint dbo.PIMS_RFLPRJ_H_UK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_RFLPRJ_H_UK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.PIMS_RFLPRJ_H_PK +PRINT N'Drop primary key constraint dbo.PIMS_RFLPRJ_H_PK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_RFLPRJ_H_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.RFLPRJ_RESEARCH_FILE_PROJECT_TUC +PRINT N'Drop unique constraint dbo.RFLPRJ_RESEARCH_FILE_PROJECT_TUC' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] + DROP CONSTRAINT IF EXISTS [RFLPRJ_RESEARCH_FILE_PROJECT_TUC] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.RFLPRJ_PK +PRINT N'Drop primary key constraint dbo.RFLPRJ_PK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] + DROP CONSTRAINT IF EXISTS [RFLPRJ_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop table dbo.PIMS_RESEARCH_FILE_PROJECT +PRINT N'Drop table dbo.PIMS_RESEARCH_FILE_PROJECT' +GO +DROP TABLE IF EXISTS [dbo].[PIMS_RESEARCH_FILE_PROJECT] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.PROJCT_DESCRIPTION_CODE_TUC +PRINT N'Drop unique constraint dbo.PROJCT_DESCRIPTION_CODE_TUC' +GO +ALTER TABLE [dbo].[PIMS_PROJECT] + DROP CONSTRAINT IF EXISTS [PROJCT_DESCRIPTION_CODE_TUC] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.PIMS_RFLNOT_H_UK +PRINT N'Drop unique constraint dbo.PIMS_RFLNOT_H_UK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_RFLNOT_H_UK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.PIMS_RFLNOT_H_PK +PRINT N'Drop primary key constraint dbo.PIMS_RFLNOT_H_PK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_RFLNOT_H_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.PIMS_RFLDOC_H_UK +PRINT N'Drop unique constraint dbo.PIMS_RFLDOC_H_UK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_RFLDOC_H_UK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.PIMS_RFLDOC_H_PK +PRINT N'Drop primary key constraint dbo.PIMS_RFLDOC_H_PK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_RFLDOC_H_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.RFLDOC_RESEARCH_FILE_DOCUMENT_TUC +PRINT N'Drop unique constraint dbo.RFLDOC_RESEARCH_FILE_DOCUMENT_TUC' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + DROP CONSTRAINT IF EXISTS [RFLDOC_RESEARCH_FILE_DOCUMENT_TUC] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.RFLDOC_PK +PRINT N'Drop primary key constraint dbo.RFLDOC_PK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + DROP CONSTRAINT IF EXISTS [RFLDOC_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.RFLNOT_RSRCH_FILE_NOTE_TUC +PRINT N'Drop unique constraint dbo.RFLNOT_RSRCH_FILE_NOTE_TUC' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + DROP CONSTRAINT IF EXISTS [RFLNOT_RSRCH_FILE_NOTE_TUC] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.RFLNOT_PK +PRINT N'Drop primary key constraint dbo.RFLNOT_PK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + DROP CONSTRAINT IF EXISTS [RFLNOT_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Alter table dbo.PIMS_RESEARCH_FILE_NOTE +PRINT N'Alter table dbo.PIMS_RESEARCH_FILE_NOTE' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RFLNOT_RESEARCH_FILE_NOTE_ID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RSCNOT_RESEARCH_FILE_NOTE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_NOTE_ID_SEQ]) FOR [RESEARCH_FILE_NOTE_ID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RFLNOT_IS_DISABLED_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RSCNOT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))) FOR [IS_DISABLED] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RFLNOT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RSCNOT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)) FOR [CONCURRENCY_CONTROL_NUMBER] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RFLNOT_APP_CREATE_TIMESTAMP_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RSCNOT_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [APP_CREATE_TIMESTAMP] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RFLNOT_APP_CREATE_USERID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RSCNOT_APP_CREATE_USERID_DEF] DEFAULT (user_name()) FOR [APP_CREATE_USERID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RFLNOT_APP_CREATE_USER_DIRECTORY_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RSCNOT_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()) FOR [APP_CREATE_USER_DIRECTORY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RFLNOT_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RSCNOT_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [APP_LAST_UPDATE_TIMESTAMP] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RFLNOT_APP_LAST_UPDATE_USERID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RSCNOT_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) FOR [APP_LAST_UPDATE_USERID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RFLNOT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RSCNOT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()) FOR [APP_LAST_UPDATE_USER_DIRECTORY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RFLNOT_DB_CREATE_TIMESTAMP_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RSCNOT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [DB_CREATE_TIMESTAMP] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RFLNOT_DB_CREATE_USERID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RSCNOT_DB_CREATE_USERID_DEF] DEFAULT (user_name()) FOR [DB_CREATE_USERID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RFLNOT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RSCNOT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [DB_LAST_UPDATE_TIMESTAMP] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RFLNOT_DB_LAST_UPDATE_USERID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RSCNOT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) FOR [DB_LAST_UPDATE_USERID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + ADD CONSTRAINT [RSCNOT_PK] + PRIMARY KEY CLUSTERED ([RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID])-- + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.RSCNOT_RSRCH_FILE_NOTE_TUC +PRINT N'Create unique constraint dbo.RSCNOT_RSRCH_FILE_NOTE_TUC' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + ADD CONSTRAINT [RSCNOT_RSRCH_FILE_NOTE_TUC] + UNIQUE ([NOTE_ID], [RESEARCH_FILE_ID])-- + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Alter table dbo.PIMS_RESEARCH_FILE_DOCUMENT +PRINT N'Alter table dbo.PIMS_RESEARCH_FILE_DOCUMENT' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RFLDOC_RESEARCH_FILE_DOCUMENT_ID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RSCDOC_RESEARCH_FILE_DOCUMENT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_DOCUMENT_ID_SEQ]) FOR [RESEARCH_FILE_DOCUMENT_ID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RFLDOC_IS_DISABLED_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RSCDOC_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))) FOR [IS_DISABLED] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RFLDOC_CONCURRENCY_CONTROL_NUMBER_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RSCDOC_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)) FOR [CONCURRENCY_CONTROL_NUMBER] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RFLDOC_APP_CREATE_TIMESTAMP_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RSCDOC_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [APP_CREATE_TIMESTAMP] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RFLDOC_APP_CREATE_USERID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RSCDOC_APP_CREATE_USERID_DEF] DEFAULT (user_name()) FOR [APP_CREATE_USERID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RFLDOC_APP_CREATE_USER_DIRECTORY_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RSCDOC_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()) FOR [APP_CREATE_USER_DIRECTORY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RFLDOC_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RSCDOC_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [APP_LAST_UPDATE_TIMESTAMP] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RFLDOC_APP_LAST_UPDATE_USERID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RSCDOC_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) FOR [APP_LAST_UPDATE_USERID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RFLDOC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RSCDOC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()) FOR [APP_LAST_UPDATE_USER_DIRECTORY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RFLDOC_DB_CREATE_TIMESTAMP_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RSCDOC_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [DB_CREATE_TIMESTAMP] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RFLDOC_DB_CREATE_USERID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RSCDOC_DB_CREATE_USERID_DEF] DEFAULT (user_name()) FOR [DB_CREATE_USERID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RFLDOC_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RSCDOC_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [DB_LAST_UPDATE_TIMESTAMP] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RFLDOC_DB_LAST_UPDATE_USERID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RSCDOC_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) FOR [DB_LAST_UPDATE_USERID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + ADD CONSTRAINT [RSCDOC_PK] + PRIMARY KEY CLUSTERED ([RESEARCH_FILE_DOCUMENT_ID])-- + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.RSCDOC_RESEARCH_FILE_DOCUMENT_TUC +PRINT N'Create unique constraint dbo.RSCDOC_RESEARCH_FILE_DOCUMENT_TUC' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + ADD CONSTRAINT [RSCDOC_RESEARCH_FILE_DOCUMENT_TUC] + UNIQUE ([DOCUMENT_ID], [RESEARCH_FILE_ID])-- + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Alter table dbo.PIMS_RESEARCH_FILE_DOCUMENT_HIST +PRINT N'Alter table dbo.PIMS_RESEARCH_FILE_DOCUMENT_HIST' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_HIST] + ADD CONSTRAINT [PIMS_RSCDOC_H_PK] + PRIMARY KEY CLUSTERED ([_RESEARCH_FILE_DOCUMENT_HIST_ID])-- + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.PIMS_RSCDOC_H_UK +PRINT N'Create unique constraint dbo.PIMS_RSCDOC_H_UK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_HIST] + ADD CONSTRAINT [PIMS_RSCDOC_H_UK] + UNIQUE ([_RESEARCH_FILE_DOCUMENT_HIST_ID], [END_DATE_HIST])-- + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Alter table dbo.PIMS_RESEARCH_FILE_NOTE_HIST +PRINT N'Alter table dbo.PIMS_RESEARCH_FILE_NOTE_HIST' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE_HIST] + ADD CONSTRAINT [PIMS_RSCNOT_H_PK] + PRIMARY KEY CLUSTERED ([_RESEARCH_FILE_NOTE_HIST_ID])-- + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.PIMS_RSCNOT_H_UK +PRINT N'Create unique constraint dbo.PIMS_RSCNOT_H_UK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE_HIST] + ADD CONSTRAINT [PIMS_RSCNOT_H_UK] + UNIQUE ([_RESEARCH_FILE_NOTE_HIST_ID], [END_DATE_HIST])-- + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.RSCNOT_NOTE_ID_IDX +PRINT N'Create index dbo.RSCNOT_NOTE_ID_IDX' +GO +CREATE NONCLUSTERED INDEX [RSCNOT_NOTE_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_NOTE]([NOTE_ID]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.RSCNOT_RESEARCH_FILE_ID_IDX +PRINT N'Create index dbo.RSCNOT_RESEARCH_FILE_ID_IDX' +GO +CREATE NONCLUSTERED INDEX [RSCNOT_RESEARCH_FILE_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_NOTE]([RESEARCH_FILE_ID]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.RSCDOC_RESEARCH_FILE_ID_IDX +PRINT N'Create index dbo.RSCDOC_RESEARCH_FILE_ID_IDX' +GO +CREATE NONCLUSTERED INDEX [RSCDOC_RESEARCH_FILE_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_DOCUMENT]([RESEARCH_FILE_ID]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.RSCDOC_DOCUMENT_ID_IDX +PRINT N'Create index dbo.RSCDOC_DOCUMENT_ID_IDX' +GO +CREATE NONCLUSTERED INDEX [RSCDOC_DOCUMENT_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_DOCUMENT]([DOCUMENT_ID]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_RSCDOC_A_S_IUD_TR +PRINT N'Create trigger dbo.PIMS_RSCDOC_A_S_IUD_TR' +GO +CREATE TRIGGER [dbo].[PIMS_RSCDOC_A_S_IUD_TR] ON PIMS_RESEARCH_FILE_DOCUMENT FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_RESEARCH_FILE_DOCUMENT_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_DOCUMENT_ID in (select RESEARCH_FILE_DOCUMENT_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_RESEARCH_FILE_DOCUMENT_HIST ([RESEARCH_FILE_DOCUMENT_ID], [RESEARCH_FILE_ID], [DOCUMENT_ID], [APP_CREATE_TIMESTAMP], [APP_CREATE_USER_DIRECTORY], [APP_CREATE_USER_GUID], [APP_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USER_DIRECTORY], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USERID], [CONCURRENCY_CONTROL_NUMBER], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], [IS_DISABLED], _RESEARCH_FILE_DOCUMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [RESEARCH_FILE_DOCUMENT_ID], [RESEARCH_FILE_ID], [DOCUMENT_ID], [APP_CREATE_TIMESTAMP], [APP_CREATE_USER_DIRECTORY], [APP_CREATE_USER_GUID], [APP_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USER_DIRECTORY], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USERID], [CONCURRENCY_CONTROL_NUMBER], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], [IS_DISABLED], (next value for [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_H_ID_SEQ]) as [_RESEARCH_FILE_DOCUMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_RSCDOC_I_S_U_TR +PRINT N'Create trigger dbo.PIMS_RSCDOC_I_S_U_TR' +GO +CREATE TRIGGER [dbo].[PIMS_RSCDOC_I_S_U_TR] ON PIMS_RESEARCH_FILE_DOCUMENT INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_DOCUMENT_ID = deleted.RESEARCH_FILE_DOCUMENT_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_RESEARCH_FILE_DOCUMENT + set "RESEARCH_FILE_DOCUMENT_ID" = inserted."RESEARCH_FILE_DOCUMENT_ID", + "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", + "DOCUMENT_ID" = inserted."DOCUMENT_ID", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "IS_DISABLED" = inserted."IS_DISABLED" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_RESEARCH_FILE_DOCUMENT + inner join inserted + on (PIMS_RESEARCH_FILE_DOCUMENT.RESEARCH_FILE_DOCUMENT_ID = inserted.RESEARCH_FILE_DOCUMENT_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_RSCNOT_I_S_U_TR +PRINT N'Create trigger dbo.PIMS_RSCNOT_I_S_U_TR' +GO +CREATE TRIGGER [dbo].[PIMS_RSCNOT_I_S_U_TR] ON PIMS_RESEARCH_FILE_NOTE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_ID = deleted.RESEARCH_FILE_ID and inserted.RESEARCH_FILE_NOTE_ID = deleted.RESEARCH_FILE_NOTE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_RESEARCH_FILE_NOTE + set "RESEARCH_FILE_NOTE_ID" = inserted."RESEARCH_FILE_NOTE_ID", + "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", + "NOTE_ID" = inserted."NOTE_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_RESEARCH_FILE_NOTE + inner join inserted + on (PIMS_RESEARCH_FILE_NOTE.RESEARCH_FILE_ID = inserted.RESEARCH_FILE_ID and PIMS_RESEARCH_FILE_NOTE.RESEARCH_FILE_NOTE_ID = inserted.RESEARCH_FILE_NOTE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_RSCDOC_I_S_I_TR +PRINT N'Create trigger dbo.PIMS_RSCDOC_I_S_I_TR' +GO +CREATE TRIGGER [dbo].[PIMS_RSCDOC_I_S_I_TR] ON PIMS_RESEARCH_FILE_DOCUMENT INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_RESEARCH_FILE_DOCUMENT ("RESEARCH_FILE_DOCUMENT_ID", + "RESEARCH_FILE_ID", + "DOCUMENT_ID", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USER_DIRECTORY", + "APP_CREATE_USER_GUID", + "APP_CREATE_USERID", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID", + "CONCURRENCY_CONTROL_NUMBER", + "IS_DISABLED") + select "RESEARCH_FILE_DOCUMENT_ID", + "RESEARCH_FILE_ID", + "DOCUMENT_ID", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USER_DIRECTORY", + "APP_CREATE_USER_GUID", + "APP_CREATE_USERID", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID", + "CONCURRENCY_CONTROL_NUMBER", + "IS_DISABLED" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_RSCNOT_A_S_IUD_TR +PRINT N'Create trigger dbo.PIMS_RSCNOT_A_S_IUD_TR' +GO +CREATE TRIGGER [dbo].[PIMS_RSCNOT_A_S_IUD_TR] ON PIMS_RESEARCH_FILE_NOTE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_RESEARCH_FILE_NOTE_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_NOTE_ID in (select RESEARCH_FILE_NOTE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_RESEARCH_FILE_NOTE_HIST ([RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_FILE_NOTE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_FILE_NOTE_H_ID_SEQ]) as [_RESEARCH_FILE_NOTE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_RSCNOT_I_S_I_TR +PRINT N'Create trigger dbo.PIMS_RSCNOT_I_S_I_TR' +GO +CREATE TRIGGER [dbo].[PIMS_RSCNOT_I_S_I_TR] ON PIMS_RESEARCH_FILE_NOTE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_RESEARCH_FILE_NOTE ("RESEARCH_FILE_NOTE_ID", + "RESEARCH_FILE_ID", + "NOTE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "RESEARCH_FILE_NOTE_ID", + "RESEARCH_FILE_ID", + "NOTE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_RESRCH_PIM_RSCNOT_FK +PRINT N'Create foreign key constraint dbo.PIM_RESRCH_PIM_RSCNOT_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + ADD CONSTRAINT [PIM_RESRCH_PIM_RSCNOT_FK] + FOREIGN KEY([RESEARCH_FILE_ID]) + REFERENCES [dbo].[PIMS_RESEARCH_FILE]([RESEARCH_FILE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_NOTE_PIM_RSCNOT_FK +PRINT N'Create foreign key constraint dbo.PIM_NOTE_PIM_RSCNOT_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + ADD CONSTRAINT [PIM_NOTE_PIM_RSCNOT_FK] + FOREIGN KEY([NOTE_ID]) + REFERENCES [dbo].[PIMS_NOTE]([NOTE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_DOCMNT_PIM_RSCDOC_FK +PRINT N'Create foreign key constraint dbo.PIM_DOCMNT_PIM_RSCDOC_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + ADD CONSTRAINT [PIM_DOCMNT_PIM_RSCDOC_FK] + FOREIGN KEY([DOCUMENT_ID]) + REFERENCES [dbo].[PIMS_DOCUMENT]([DOCUMENT_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_RESRCH_PIM_RSCDOC_FK +PRINT N'Create foreign key constraint dbo.PIM_RESRCH_PIM_RSCDOC_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + ADD CONSTRAINT [PIM_RESRCH_PIM_RSCDOC_FK] + FOREIGN KEY([RESEARCH_FILE_ID]) + REFERENCES [dbo].[PIMS_RESEARCH_FILE]([RESEARCH_FILE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop sequence dbo.PIMS_LEASE_CONSULTATION_ID_SEQ +PRINT N'Drop sequence dbo.PIMS_LEASE_CONSULTATION_ID_SEQ' +GO +DROP SEQUENCE IF EXISTS [dbo].[PIMS_LEASE_CONSULTATION_ID_SEQ] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop table dbo.PIMS_CONSULTATION_TYPE +PRINT N'Drop table dbo.PIMS_CONSULTATION_TYPE' +GO +DROP TABLE IF EXISTS [dbo].[PIMS_CONSULTATION_TYPE] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop table dbo.PIMS_CONSULTATION_STATUS_TYPE +PRINT N'Drop table dbo.PIMS_CONSULTATION_STATUS_TYPE' +GO +DROP TABLE IF EXISTS [dbo].[PIMS_CONSULTATION_STATUS_TYPE] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop table dbo.PIMS_LEASE_CONSULTATION_HIST +PRINT N'Drop table dbo.PIMS_LEASE_CONSULTATION_HIST' +GO +DROP TABLE IF EXISTS [dbo].[PIMS_LEASE_CONSULTATION_HIST] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop sequence dbo.PIMS_LEASE_CONSULTATION_H_ID_SEQ +PRINT N'Drop sequence dbo.PIMS_LEASE_CONSULTATION_H_ID_SEQ' +GO +DROP SEQUENCE IF EXISTS [dbo].[PIMS_LEASE_CONSULTATION_H_ID_SEQ] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop table dbo.PIMS_LEASE_DOCUMENT_HIST +PRINT N'Drop table dbo.PIMS_LEASE_DOCUMENT_HIST' +GO +DROP TABLE IF EXISTS [dbo].[PIMS_LEASE_DOCUMENT_HIST] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop sequence dbo.PIMS_LEASE_DOCUMENT_H_ID_SEQ +PRINT N'Drop sequence dbo.PIMS_LEASE_DOCUMENT_H_ID_SEQ' +GO +DROP SEQUENCE IF EXISTS [dbo].[PIMS_LEASE_DOCUMENT_H_ID_SEQ] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop sequence dbo.PIMS_LEASE_DOCUMENT_ID_SEQ +PRINT N'Drop sequence dbo.PIMS_LEASE_DOCUMENT_ID_SEQ' +GO +DROP SEQUENCE IF EXISTS [dbo].[PIMS_LEASE_DOCUMENT_ID_SEQ] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop sequence dbo.PIMS_LEASE_NOTE_ID_SEQ +PRINT N'Drop sequence dbo.PIMS_LEASE_NOTE_ID_SEQ' +GO +DROP SEQUENCE IF EXISTS [dbo].[PIMS_LEASE_NOTE_ID_SEQ] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop table dbo.PIMS_LEASE_NOTE_HIST +PRINT N'Drop table dbo.PIMS_LEASE_NOTE_HIST' +GO +DROP TABLE IF EXISTS [dbo].[PIMS_LEASE_NOTE_HIST] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop sequence dbo.PIMS_LEASE_NOTE_H_ID_SEQ +PRINT N'Drop sequence dbo.PIMS_LEASE_NOTE_H_ID_SEQ' +GO +DROP SEQUENCE IF EXISTS [dbo].[PIMS_LEASE_NOTE_H_ID_SEQ] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop table dbo.PIMS_RESEARCH_FILE_PROJECT_HIST +PRINT N'Drop table dbo.PIMS_RESEARCH_FILE_PROJECT_HIST' +GO +DROP TABLE IF EXISTS [dbo].[PIMS_RESEARCH_FILE_PROJECT_HIST] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop sequence dbo.PIMS_RESEARCH_FILE_PROJECT_H_ID_SEQ +PRINT N'Drop sequence dbo.PIMS_RESEARCH_FILE_PROJECT_H_ID_SEQ' +GO +DROP SEQUENCE IF EXISTS [dbo].[PIMS_RESEARCH_FILE_PROJECT_H_ID_SEQ] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop sequence dbo.PIMS_RESEARCH_FILE_PROJECT_ID_SEQ +PRINT N'Drop sequence dbo.PIMS_RESEARCH_FILE_PROJECT_ID_SEQ' +GO +DROP SEQUENCE IF EXISTS [dbo].[PIMS_RESEARCH_FILE_PROJECT_ID_SEQ] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +COMMIT TRANSACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +DECLARE @Success AS BIT +SET @Success = 1 +SET NOEXEC OFF +IF (@Success = 1) PRINT 'The database update succeeded' +ELSE BEGIN + IF @@TRANCOUNT > 0 ROLLBACK TRANSACTION + PRINT 'The database update failed' +END +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Down/100_DML_PIMS_ACTIVITY_TEMPLATE_Delete.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Down/100_DML_PIMS_ACTIVITY_TEMPLATE_Delete.sql new file mode 100644 index 0000000000..947c524c2a --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Down/100_DML_PIMS_ACTIVITY_TEMPLATE_Delete.sql @@ -0,0 +1,13 @@ +/* ----------------------------------------------------------------------------- +Insert data into the PIMS_ACTIVITY_TEMPLATE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2022-Sep-30 Initial version +Doug Filteau 2022-Oct-31 Added 'File Document' +----------------------------------------------------------------------------- */ + +DELETE +FROM PIMS_ACTIVITY_TEMPLATE +WHERE ACTIVITY_TEMPLATE_TYPE_CODE IN (N'GENLTR', N'NOTENTRY', N'CONDENTRY', N'RECNEGOT', N'CONSULT', N'RECTAKES', N'OFFAGREE', N'COMPREQ'); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Down/10_DML_PIMS_STATIC_VARIABLE_VERSION.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Down/10_DML_PIMS_STATIC_VARIABLE_VERSION.sql new file mode 100644 index 0000000000..6510dbcc4b --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Down/10_DML_PIMS_STATIC_VARIABLE_VERSION.sql @@ -0,0 +1,26 @@ +/* ----------------------------------------------------------------------------- +Update the database version in the PIMS_STATIC_VARIABLE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Nov-24 Initial version +----------------------------------------------------------------------------- */ + +BEGIN TRANSACTION; + +DECLARE @CurrVer NVARCHAR(100) +SET @CurrVer = N'46.00' + +UPDATE PIMS_STATIC_VARIABLE +WITH (UPDLOCK, SERIALIZABLE) +SET STATIC_VARIABLE_VALUE = @CurrVer + , CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1 +WHERE STATIC_VARIABLE_NAME = N'DBVERSION'; + +IF @@ROWCOUNT = 0 + BEGIN + INSERT INTO PIMS_STATIC_VARIABLE (STATIC_VARIABLE_NAME, STATIC_VARIABLE_VALUE) + VALUES (N'DBVERSION', @CurrVer); + END + +COMMIT TRANSACTION; diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Down/111_DML_PIMS_BUSINESS_FUNCTION_CODE_Delete.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Down/111_DML_PIMS_BUSINESS_FUNCTION_CODE_Delete.sql new file mode 100644 index 0000000000..519da3d9fc --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Down/111_DML_PIMS_BUSINESS_FUNCTION_CODE_Delete.sql @@ -0,0 +1,64 @@ +/* ----------------------------------------------------------------------------- +Populate the missing code values in the PIMS_BUSINESS_FUNCTION_CODE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-30 Initial version +----------------------------------------------------------------------------- */ + +BEGIN TRANSACTION; + +DECLARE @CurrCd NVARCHAR(20) +SET @CurrCd = N'MANAGE' + +SELECT CODE +FROM PIMS_BUSINESS_FUNCTION_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 1 + BEGIN + DELETE + FROM PIMS_BUSINESS_FUNCTION_CODE + WHERE CODE = @CurrCd; + END + +SET @CurrCd = N'ORIO ACQ' + +SELECT CODE +FROM PIMS_BUSINESS_FUNCTION_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 1 + BEGIN + DELETE + FROM PIMS_BUSINESS_FUNCTION_CODE + WHERE CODE = @CurrCd; + END + +SET @CurrCd = N'PROP AQU' + +SELECT CODE +FROM PIMS_BUSINESS_FUNCTION_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 1 + BEGIN + DELETE + FROM PIMS_BUSINESS_FUNCTION_CODE + WHERE CODE = @CurrCd; + END + +SET @CurrCd = N'PROP MAN' + +SELECT CODE +FROM PIMS_BUSINESS_FUNCTION_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 1 + BEGIN + DELETE + FROM PIMS_BUSINESS_FUNCTION_CODE + WHERE CODE = @CurrCd; + END + +COMMIT TRANSACTION; diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Down/112_DML_PIMS_COST_TYPE_CODE_Delete.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Down/112_DML_PIMS_COST_TYPE_CODE_Delete.sql new file mode 100644 index 0000000000..c828f2d28d --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Down/112_DML_PIMS_COST_TYPE_CODE_Delete.sql @@ -0,0 +1,25 @@ +/* ----------------------------------------------------------------------------- +Delete the missing code values in the PIMS_COST_TYPE_CODE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-30 Initial version +----------------------------------------------------------------------------- */ + +BEGIN TRANSACTION; + +DECLARE @CurrCd NVARCHAR(20) +SET @CurrCd = N'WBO' + +SELECT CODE +FROM PIMS_COST_TYPE_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 1 + BEGIN + DELETE + FROM PIMS_COST_TYPE_CODE + WHERE CODE = @CurrCd; + END + +COMMIT TRANSACTION; diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Down/113_DML_PIMS_WORK_ACTIVITY_CODE_Delete.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Down/113_DML_PIMS_WORK_ACTIVITY_CODE_Delete.sql new file mode 100644 index 0000000000..dfbc09ce9e --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Down/113_DML_PIMS_WORK_ACTIVITY_CODE_Delete.sql @@ -0,0 +1,77 @@ +/* ----------------------------------------------------------------------------- +Populate the missing code values in the PIMS_WORK_ACTIVITY_CODE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-30 Initial version +----------------------------------------------------------------------------- */ + +BEGIN TRANSACTION; + +DECLARE @CurrCd NVARCHAR(20) +SET @CurrCd = N'PROP MAN' + +SELECT CODE +FROM PIMS_WORK_ACTIVITY_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 1 + BEGIN + DELETE + FROM PIMS_WORK_ACTIVITY_CODE + WHERE CODE = @CurrCd; + END + +SET @CurrCd = N'SURVEY' + +SELECT CODE +FROM PIMS_WORK_ACTIVITY_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 1 + BEGIN + DELETE + FROM PIMS_WORK_ACTIVITY_CODE + WHERE CODE = @CurrCd; + END + +SET @CurrCd = N'ELEC MAIN' + +SELECT CODE +FROM PIMS_WORK_ACTIVITY_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 1 + BEGIN + DELETE + FROM PIMS_WORK_ACTIVITY_CODE + WHERE CODE = @CurrCd; + END + +SET @CurrCd = N'ACQ PROP' + +SELECT CODE +FROM PIMS_WORK_ACTIVITY_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 1 + BEGIN + DELETE + FROM PIMS_WORK_ACTIVITY_CODE + WHERE CODE = @CurrCd; + END + +SET @CurrCd = N'PA GENERAL' + +SELECT CODE +FROM PIMS_WORK_ACTIVITY_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 1 + BEGIN + DELETE + FROM PIMS_WORK_ACTIVITY_CODE + WHERE CODE = @CurrCd; + END + +COMMIT TRANSACTION; diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/000_PSP_PIMS_PMBC_SCHEMA_Build.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/000_PSP_PIMS_PMBC_SCHEMA_Build.sql new file mode 100644 index 0000000000..e6a023c739 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/000_PSP_PIMS_PMBC_SCHEMA_Build.sql @@ -0,0 +1,38 @@ +-- Script generated by Aqua Data Studio Schema Synchronization for MS SQL Server 2016 on Tue Oct 05 16:47:03 PDT 2021 +-- Execute this script on: +-- pmbc schema will be created + +-- We recommend backing up the database prior to executing the script. + +SET XACT_ABORT ON +GO +SET TRANSACTION ISOLATION LEVEL SERIALIZABLE +GO +BEGIN TRANSACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create PMBC schema +IF NOT EXISTS (SELECT * + FROM sys.schemas + WHERE name = N'pmbc') + EXEC('CREATE SCHEMA [pmbc]'); +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + + +COMMIT TRANSACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +DECLARE @Success AS BIT +SET @Success = 1 +SET NOEXEC OFF +IF (@Success = 1) PRINT 'The database update succeeded' +ELSE BEGIN + IF @@TRANCOUNT > 0 ROLLBACK TRANSACTION + PRINT 'The database update failed' +END +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/001_PSP_PIMS_PMBC_Tables_Build.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/001_PSP_PIMS_PMBC_Tables_Build.sql new file mode 100644 index 0000000000..8e449f0e8c --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/001_PSP_PIMS_PMBC_Tables_Build.sql @@ -0,0 +1,111 @@ +-- Script generated by Aqua Data Studio Schema Synchronization for MS SQL Server 2016 on Tue Oct 05 16:47:03 PDT 2021 +-- Execute this script on: +-- PIMS_S09_01/pmbc - This database/schema will be modified +-- to synchronize it with MS SQL Server 2016: +-- PIMS_S09_02/pmbc + +-- We recommend backing up the database prior to executing the script. + +SET XACT_ABORT ON +GO +SET TRANSACTION ISOLATION LEVEL SERIALIZABLE +GO +BEGIN TRANSACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + + +-- Create table pmbc.PMBC_PARCEL_POLYGON_FABRIC if not existing +PRINT N'Create table pmbc.PMBC_PARCEL_POLYGON_FABRIC' +GO +IF NOT EXISTS (SELECT * + FROM information_schema.tables + WHERE table_schema = 'pmbc' + AND table_name = 'PMBC_PARCEL_POLYGON_FABRIC') + BEGIN + CREATE TABLE [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ( + [PARCEL_FABRIC_POLY_ID] INTEGER NOT NULL, + [GLOBAL_UID] NVARCHAR(254), + [PARCEL_NAME] NVARCHAR(50), + [PLAN_ID] INTEGER, + [PLAN_NUMBER] NVARCHAR(128), + [PIN] INTEGER, + [PID] NVARCHAR(9), + [PID_NUMBER] INTEGER, + [SOURCE_PARCEL_ID] NVARCHAR(50), + [PARCEL_STATUS] NVARCHAR(20), + [PARCEL_CLASS] NVARCHAR(50), + [OWNER_TYPE] NVARCHAR(50), + [PARCEL_START_DATE] DATETIME, + [SURVEY_DESIGNATION_1] NVARCHAR(30), + [SURVEY_DESIGNATION_2] NVARCHAR(30), + [SURVEY_DESIGNATION_3] NVARCHAR(30), + [LEGAL_DESCRIPTION] NVARCHAR(2000), + [MUNICIPALITY] NVARCHAR(254), + [REGIONAL_DISTRICT] NVARCHAR(50), + [IS_REMAINDER_IND] NVARCHAR(3), + [GEOMETRY_SOURCE] NVARCHAR(50), + [POSITIONAL_ERROR] BIGINT, + [ERROR_REPORTED_BY] NVARCHAR(50), + [CAPTURE_METHOD] NVARCHAR(50), + [COMPILED_IND] NVARCHAR(5), + [STATED_AREA] NVARCHAR(50), + [WHEN_CREATED] DATETIME, + [WHEN_UPDATED] DATETIME, + [FEATURE_AREA_SQM] BIGINT, + [FEATURE_LENGTH_M] BIGINT, + [SHAPE] GEOMETRY, + [OBJECTID] NUMERIC(38), + [SE_ANNO_CAD_DATA] VARBINARY(max), + CONSTRAINT [PRCPLY_PK] PRIMARY KEY ([PARCEL_FABRIC_POLY_ID]) + ) + EXECUTE sp_addextendedproperty N'MS_Description', N'The ParcelMap BC (PMBC) parcel fabric contains all active titled parcels and surveyed provincial Crown land parcels in BC. For building strata parcels, there is a record, with PID value, for each parcel within the strata parcel; the geometry for those records is the geometry for the overall strata. This dataset is polygonal and contains all parcel attributes.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', NULL, NULL + EXECUTE sp_addextendedproperty N'MS_Description', N'PARCEL_FABRIC_POLY_ID is a system generated unique identification number.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'PARCEL_FABRIC_POLY_ID' + EXECUTE sp_addextendedproperty N'MS_Description', N'GLOBAL_UID is a unique global identifier (GUID) for the parcel.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'GLOBAL_UID' + EXECUTE sp_addextendedproperty N'MS_Description', N'PARCEL_NAME is the same as the PID, if there is one. If there is a PIN but no PID, then PARCEL_NAME is the PIN. If there is no PID nor PIN, then PARCEL_NAME is the parcel class value, e.g., COMMON OWNERSHIP, BUILDING STRATA, AIR SPACE, ROAD, PARK.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'PARCEL_NAME' + EXECUTE sp_addextendedproperty N'MS_Description', N'PLAN_ID is the unique identifier of the land survey plan that corresponds to this parcel.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'PLAN_ID' + EXECUTE sp_addextendedproperty N'MS_Description', N'PLAN_NUMBER is the Land Act, Land Title Act, or Strata Property Act Plan Number for the land survey plan that corresponds to this parcel, e.g., VIP1632, NO_PLAN.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'PLAN_NUMBER' + EXECUTE sp_addextendedproperty N'MS_Description', N'PIN is the Crown Land Registry Parcel Identifier, if applicable.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'PIN' + EXECUTE sp_addextendedproperty N'MS_Description', N'PID is the Land Title Register parcel identifier, a left-zero-padded nine-digit number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'PID' + EXECUTE sp_addextendedproperty N'MS_Description', N'PID_NUMBER is the PID, without leading zeroes. PID is the Land Title Register parcel identifier, a nine-digit number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'PID_NUMBER' + EXECUTE sp_addextendedproperty N'MS_Description', N'SOURCE_PARCEL_ID is the unique parcel identifier supplied by the source data provider. The value is intended to assist local governments by providing traceability back to the source data provider''s parcel ID. It will not be populated during on-going operations, e.g., DATA_NEW, CPG000050, 999, 01762.146.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'SOURCE_PARCEL_ID' + EXECUTE sp_addextendedproperty N'MS_Description', N'PARCEL_STATUS is the status of the parcel, according to the Land Title Register or Crown Land Registry, as appropriate, i.e., ACTIVE, CANCELLED, INACTIVE, PENDING.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'PARCEL_STATUS' + EXECUTE sp_addextendedproperty N'MS_Description', N'PARCEL_CLASS is the Parcel classification for maintenance, mapping, publishing and analysis, i.e., PRIMARY, SUBDIVISION, PART OF PRIMARY, BUILDING STRATA, BARE LAND STRATA, AIR SPACE, ROAD, HIGHWAY, PARK, INTEREST, COMMON OWNERSHIP, ABSOLUTE FEE BOOK, CROWN SUBDIVISION, RETURN TO CROWN.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'PARCEL_CLASS' + EXECUTE sp_addextendedproperty N'MS_Description', N'OWNER_TYPE is the general ownership category, e.g., PRIVATE, CROWN PROVINCIAL, MUNICIPAL.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'OWNER_TYPE' + EXECUTE sp_addextendedproperty N'MS_Description', N'PARCEL_START_DATE is the date of the legal event that created the parcel, i.e., the date the plan was filed.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'PARCEL_START_DATE' + EXECUTE sp_addextendedproperty N'MS_Description', N'SURVEY_DESIGNATION_1 is, typically, the smallest division of lands in a survey. If available, this is generally the Parcel from a Subdivided short legal description or the Quadrant or Block from an Unsubdivided short legal description, e.g., PARCEL A, SW4.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'SURVEY_DESIGNATION_1' + EXECUTE sp_addextendedproperty N'MS_Description', N'SURVEY_DESIGNATION_2 is, typically, the second smallest division of lands in a survey. If available, this is generally the Lot from a Subdivided short legal description or the District Lot, Lot or Section from an Unsubdivided short legal description, e.g., LOT 2.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'SURVEY_DESIGNATION_2' + EXECUTE sp_addextendedproperty N'MS_Description', N'SURVEY_DESIGNATION_3 is, typically, the third smallest division of lands in a survey. If available, this is generally the Block from a Subdivided short legal description or the Range from an Unsubdivided short legal description, e.g., BLOCK H.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'SURVEY_DESIGNATION_3' + EXECUTE sp_addextendedproperty N'MS_Description', N'LEGAL_DESCRIPTION is the full legal description of the parcel and is primarily recorded from the Land Title Register. Where recorded only in the Crown Land Registry, this attribute is to be populated from Tantalis for the fabric compilation, but maintained by PMBC during on-going operations.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'LEGAL_DESCRIPTION' + EXECUTE sp_addextendedproperty N'MS_Description', N'MUNICIPALITY is the municipal area within which the parcel is located. The value is either RURAL (for parcels in unincorporated regions) or the name of a BC municipality.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'MUNICIPALITY' + EXECUTE sp_addextendedproperty N'MS_Description', N'REGIONAL_DISTRICT is the name of the regional district in which the parcel is located, e.g., CAPITAL REGIONAL DISTRICT.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'REGIONAL_DISTRICT' + EXECUTE sp_addextendedproperty N'MS_Description', N'IS_REMAINDER_IND indicates if the parcel is a remainder of the original, i.e., YES, NO.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'IS_REMAINDER_IND' + EXECUTE sp_addextendedproperty N'MS_Description', N'GEOMETRY_SOURCE is the source of the parcel geometry data, e.g., ICIS CADASTRE, ICF, PMBC OPERATIONS.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'GEOMETRY_SOURCE' + EXECUTE sp_addextendedproperty N'MS_Description', N'POSITIONAL_ERROR is the semi-major axis at the 95% confidence level of the least accurate point of the parcel.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'POSITIONAL_ERROR' + EXECUTE sp_addextendedproperty N'MS_Description', N'ERROR_REPORTED_BY is the organization or process reporting the error, i.e., LSA, DATA COMPILATION.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'ERROR_REPORTED_BY' + EXECUTE sp_addextendedproperty N'MS_Description', N'CAPTURE_METHOD is an indicator of relative accuracy, i.e., UNKNOWN, COGO, SURVEY PLAN DATASET.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'CAPTURE_METHOD' + EXECUTE sp_addextendedproperty N'MS_Description', N'COMPILED_IND indicates if the parcel polygon was generated from inverted dimensions, i.e., True, False. "True" means that the parcel geometry was from a previous source cadastre and not precision input based on plan dimensions.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'COMPILED_IND' + EXECUTE sp_addextendedproperty N'MS_Description', N'STATED_AREA is the area of the parcel, in square metres. It is automatically calculated if misclose is small; it can be edited to reflect the recorded plan value.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'STATED_AREA' + EXECUTE sp_addextendedproperty N'MS_Description', N'WHEN_CREATED is the date and time the source record was created (not the time when it was loaded into the BC Geographic Warehouse).', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'WHEN_CREATED' + EXECUTE sp_addextendedproperty N'MS_Description', N'WHEN_UPDATED is the date and time the source record was last modified (not the time when it was loaded into, or modified in, the BC Geographic Warehouse).', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'WHEN_UPDATED' + EXECUTE sp_addextendedproperty N'MS_Description', N'FEATURE_AREA_SQM is the system calculated area of a two-dimensional polygon in square meters.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'FEATURE_AREA_SQM' + EXECUTE sp_addextendedproperty N'MS_Description', N'FEATURE_LENGTH_M is the system calculated length or perimeter of a geometry in meters.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'FEATURE_LENGTH_M' + EXECUTE sp_addextendedproperty N'MS_Description', N'SHAPE is the column used to reference the spatial coordinates defining the feature.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'SHAPE' + EXECUTE sp_addextendedproperty N'MS_Description', N'OBJECTID is a column required by spatial layers that interact with ESRI ArcSDE. It is populated with unique values automatically by SDE.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'OBJECTID' + EXECUTE sp_addextendedproperty N'MS_Description', N'SE_ANNO_CAD_DATA is a binary column used by spatial tools to store annotation, curve features and CAD data when using the SDO_GEOMETRY storage data type.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'SE_ANNO_CAD_DATA' + END + +COMMIT TRANSACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +DECLARE @Success AS BIT +SET @Success = 1 +SET NOEXEC OFF +IF (@Success = 1) PRINT 'The database update succeeded' +ELSE BEGIN + IF @@TRANCOUNT > 0 ROLLBACK TRANSACTION + PRINT 'The database update failed' +END +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/002_PSP_PIMS_Alter_Up.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/002_PSP_PIMS_Alter_Up.sql new file mode 100644 index 0000000000..0e4f055408 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/002_PSP_PIMS_Alter_Up.sql @@ -0,0 +1,2374 @@ +-- Script generated by Aqua Data Studio Schema Synchronization for MS SQL Server 2016 on Fri Feb 03 10:32:58 PST 2023 +-- Execute this script on: +-- PSP_PIMS_S46_00/dbo - This database/schema will be modified +-- to synchronize it with MS SQL Server 2016: +-- PSP_PIMS_S47_00/dbo + +-- We recommend backing up the database prior to executing the script. + +SET XACT_ABORT ON +GO +SET TRANSACTION ISOLATION LEVEL SERIALIZABLE +GO +BEGIN TRANSACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_RSCDOC_I_S_U_TR +PRINT N'Drop trigger dbo.PIMS_RSCDOC_I_S_U_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RSCDOC_I_S_U_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_RSCDOC_I_S_I_TR +PRINT N'Drop trigger dbo.PIMS_RSCDOC_I_S_I_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RSCDOC_I_S_I_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_RSCDOC_A_S_IUD_TR +PRINT N'Drop trigger dbo.PIMS_RSCDOC_A_S_IUD_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RSCDOC_A_S_IUD_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop foreign key constraint dbo.PIM_NOTE_PIM_RSCNOT_FK +PRINT N'Drop foreign key constraint dbo.PIM_NOTE_PIM_RSCNOT_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + DROP CONSTRAINT IF EXISTS [PIM_NOTE_PIM_RSCNOT_FK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop foreign key constraint dbo.PIM_RESRCH_PIM_RSCNOT_FK +PRINT N'Drop foreign key constraint dbo.PIM_RESRCH_PIM_RSCNOT_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + DROP CONSTRAINT IF EXISTS [PIM_RESRCH_PIM_RSCNOT_FK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop foreign key constraint dbo.PIM_RESRCH_PIM_RSCDOC_FK +PRINT N'Drop foreign key constraint dbo.PIM_RESRCH_PIM_RSCDOC_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + DROP CONSTRAINT IF EXISTS [PIM_RESRCH_PIM_RSCDOC_FK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop foreign key constraint dbo.PIM_DOCMNT_PIM_RSCDOC_FK +PRINT N'Drop foreign key constraint dbo.PIM_DOCMNT_PIM_RSCDOC_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + DROP CONSTRAINT IF EXISTS [PIM_DOCMNT_PIM_RSCDOC_FK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop index dbo.RSCDOC_RESEARCH_FILE_ID_IDX +PRINT N'Drop index dbo.RSCDOC_RESEARCH_FILE_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_RESEARCH_FILE_DOCUMENT].[RSCDOC_RESEARCH_FILE_ID_IDX] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop index dbo.RSCDOC_DOCUMENT_ID_IDX +PRINT N'Drop index dbo.RSCDOC_DOCUMENT_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_RESEARCH_FILE_DOCUMENT].[RSCDOC_DOCUMENT_ID_IDX] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_RSCNOT_I_S_U_TR +PRINT N'Drop trigger dbo.PIMS_RSCNOT_I_S_U_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RSCNOT_I_S_U_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_RSCNOT_I_S_I_TR +PRINT N'Drop trigger dbo.PIMS_RSCNOT_I_S_I_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RSCNOT_I_S_I_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop trigger dbo.PIMS_RSCNOT_A_S_IUD_TR +PRINT N'Drop trigger dbo.PIMS_RSCNOT_A_S_IUD_TR' +GO +DROP TRIGGER IF EXISTS [dbo].[PIMS_RSCNOT_A_S_IUD_TR] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop index dbo.RSCNOT_RESEARCH_FILE_ID_IDX +PRINT N'Drop index dbo.RSCNOT_RESEARCH_FILE_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_RESEARCH_FILE_NOTE].[RSCNOT_RESEARCH_FILE_ID_IDX] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop index dbo.RSCNOT_NOTE_ID_IDX +PRINT N'Drop index dbo.RSCNOT_NOTE_ID_IDX' +GO +DROP INDEX IF EXISTS [dbo].[PIMS_RESEARCH_FILE_NOTE].[RSCNOT_NOTE_ID_IDX] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.PIMS_RSCDOC_H_UK +PRINT N'Drop unique constraint dbo.PIMS_RSCDOC_H_UK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_RSCDOC_H_UK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.PIMS_RSCDOC_H_PK +PRINT N'Drop primary key constraint dbo.PIMS_RSCDOC_H_PK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_RSCDOC_H_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.PIMS_RSCNOT_H_UK +PRINT N'Drop unique constraint dbo.PIMS_RSCNOT_H_UK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_RSCNOT_H_UK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.PIMS_RSCNOT_H_PK +PRINT N'Drop primary key constraint dbo.PIMS_RSCNOT_H_PK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE_HIST] + DROP CONSTRAINT IF EXISTS [PIMS_RSCNOT_H_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.RSCNOT_RSRCH_FILE_NOTE_TUC +PRINT N'Drop unique constraint dbo.RSCNOT_RSRCH_FILE_NOTE_TUC' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + DROP CONSTRAINT IF EXISTS [RSCNOT_RSRCH_FILE_NOTE_TUC] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.RSCNOT_PK +PRINT N'Drop primary key constraint dbo.RSCNOT_PK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + DROP CONSTRAINT IF EXISTS [RSCNOT_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop unique constraint dbo.RSCDOC_RESEARCH_FILE_DOCUMENT_TUC +PRINT N'Drop unique constraint dbo.RSCDOC_RESEARCH_FILE_DOCUMENT_TUC' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + DROP CONSTRAINT IF EXISTS [RSCDOC_RESEARCH_FILE_DOCUMENT_TUC] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Drop primary key constraint dbo.RSCDOC_PK +PRINT N'Drop primary key constraint dbo.RSCDOC_PK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + DROP CONSTRAINT IF EXISTS [RSCDOC_PK] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Alter table dbo.PIMS_RESEARCH_FILE_DOCUMENT +PRINT N'Alter table dbo.PIMS_RESEARCH_FILE_DOCUMENT' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RSCDOC_RESEARCH_FILE_DOCUMENT_ID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RFLDOC_RESEARCH_FILE_DOCUMENT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_DOCUMENT_ID_SEQ]) FOR [RESEARCH_FILE_DOCUMENT_ID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RSCDOC_APP_CREATE_TIMESTAMP_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RFLDOC_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [APP_CREATE_TIMESTAMP] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RSCDOC_APP_CREATE_USER_DIRECTORY_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RFLDOC_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()) FOR [APP_CREATE_USER_DIRECTORY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RSCDOC_APP_CREATE_USERID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RFLDOC_APP_CREATE_USERID_DEF] DEFAULT (user_name()) FOR [APP_CREATE_USERID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RSCDOC_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RFLDOC_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [APP_LAST_UPDATE_TIMESTAMP] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RSCDOC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RFLDOC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()) FOR [APP_LAST_UPDATE_USER_DIRECTORY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RSCDOC_APP_LAST_UPDATE_USERID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RFLDOC_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) FOR [APP_LAST_UPDATE_USERID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RSCDOC_CONCURRENCY_CONTROL_NUMBER_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RFLDOC_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)) FOR [CONCURRENCY_CONTROL_NUMBER] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RSCDOC_DB_CREATE_TIMESTAMP_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RFLDOC_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [DB_CREATE_TIMESTAMP] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RSCDOC_DB_CREATE_USERID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RFLDOC_DB_CREATE_USERID_DEF] DEFAULT (user_name()) FOR [DB_CREATE_USERID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RSCDOC_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RFLDOC_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [DB_LAST_UPDATE_TIMESTAMP] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RSCDOC_DB_LAST_UPDATE_USERID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RFLDOC_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) FOR [DB_LAST_UPDATE_USERID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] DROP CONSTRAINT IF EXISTS [RSCDOC_IS_DISABLED_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ADD CONSTRAINT [RFLDOC_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))) FOR [IS_DISABLED] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + ADD CONSTRAINT [RFLDOC_PK] + PRIMARY KEY CLUSTERED ([RESEARCH_FILE_DOCUMENT_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.RFLDOC_RESEARCH_FILE_DOCUMENT_TUC +PRINT N'Create unique constraint dbo.RFLDOC_RESEARCH_FILE_DOCUMENT_TUC' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + ADD CONSTRAINT [RFLDOC_RESEARCH_FILE_DOCUMENT_TUC] + UNIQUE ([DOCUMENT_ID], [RESEARCH_FILE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Alter table dbo.PIMS_RESEARCH_FILE_NOTE +PRINT N'Alter table dbo.PIMS_RESEARCH_FILE_NOTE' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RSCNOT_RESEARCH_FILE_NOTE_ID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RFLNOT_RESEARCH_FILE_NOTE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_NOTE_ID_SEQ]) FOR [RESEARCH_FILE_NOTE_ID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RSCNOT_IS_DISABLED_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RFLNOT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))) FOR [IS_DISABLED] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RSCNOT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RFLNOT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)) FOR [CONCURRENCY_CONTROL_NUMBER] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RSCNOT_APP_CREATE_TIMESTAMP_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RFLNOT_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [APP_CREATE_TIMESTAMP] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RSCNOT_APP_CREATE_USERID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RFLNOT_APP_CREATE_USERID_DEF] DEFAULT (user_name()) FOR [APP_CREATE_USERID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RSCNOT_APP_CREATE_USER_DIRECTORY_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RFLNOT_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()) FOR [APP_CREATE_USER_DIRECTORY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RSCNOT_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RFLNOT_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [APP_LAST_UPDATE_TIMESTAMP] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RSCNOT_APP_LAST_UPDATE_USERID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RFLNOT_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) FOR [APP_LAST_UPDATE_USERID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RSCNOT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RFLNOT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()) FOR [APP_LAST_UPDATE_USER_DIRECTORY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RSCNOT_DB_CREATE_TIMESTAMP_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RFLNOT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [DB_CREATE_TIMESTAMP] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RSCNOT_DB_CREATE_USERID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RFLNOT_DB_CREATE_USERID_DEF] DEFAULT (user_name()) FOR [DB_CREATE_USERID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RSCNOT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RFLNOT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()) FOR [DB_LAST_UPDATE_TIMESTAMP] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] DROP CONSTRAINT IF EXISTS [RSCNOT_DB_LAST_UPDATE_USERID_DEF] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ADD CONSTRAINT [RFLNOT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) FOR [DB_LAST_UPDATE_USERID] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + ADD CONSTRAINT [RFLNOT_PK] + PRIMARY KEY CLUSTERED ([RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.RFLNOT_RSRCH_FILE_NOTE_TUC +PRINT N'Create unique constraint dbo.RFLNOT_RSRCH_FILE_NOTE_TUC' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + ADD CONSTRAINT [RFLNOT_RSRCH_FILE_NOTE_TUC] + UNIQUE ([NOTE_ID], [RESEARCH_FILE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create sequence dbo.PIMS_LEASE_NOTE_ID_SEQ +PRINT N'Create sequence dbo.PIMS_LEASE_NOTE_ID_SEQ' +GO +CREATE SEQUENCE [dbo].[PIMS_LEASE_NOTE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create table dbo.PIMS_LEASE_NOTE +PRINT N'Create table dbo.PIMS_LEASE_NOTE' +GO +CREATE TABLE [dbo].[PIMS_LEASE_NOTE] ( + [LEASE_NOTE_ID] bigint NOT NULL CONSTRAINT [LESNOT_LEASE_NOTE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_LEASE_NOTE_ID_SEQ]), + [LEASE_ID] bigint NOT NULL, + [NOTE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [LESNOT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LESNOT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESNOT_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESNOT_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LESNOT_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESNOT_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESNOT_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LESNOT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESNOT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NULL CONSTRAINT [LESNOT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESNOT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESNOT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LESNOT_PK] PRIMARY KEY CLUSTERED([LEASE_NOTE_ID]) + ON [PRIMARY]) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_NOTE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Defines the relationship betwwen a lease and a note.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_NOTE' +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.LESNOT_LEASE_NOTE_TUC +PRINT N'Create unique constraint dbo.LESNOT_LEASE_NOTE_TUC' +GO +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] + ADD CONSTRAINT [LESNOT_LEASE_NOTE_TUC] + UNIQUE ([NOTE_ID], [LEASE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create table dbo.PIMS_CONSULTATION_STATUS_TYPE +PRINT N'Create table dbo.PIMS_CONSULTATION_STATUS_TYPE' +GO +CREATE TABLE [dbo].[PIMS_CONSULTATION_STATUS_TYPE] ( + [CONSULTATION_STATUS_TYPE_CODE] varchar(20) NOT NULL CONSTRAINT [CONSTY_CONSULTATION_STATUS_TYPE_CODE_DEF] DEFAULT ('OTHER'), + [DESCRIPTION] nvarchar(200) NOT NULL CONSTRAINT [CONSTY_DESCRIPTION_DEF] DEFAULT (''), + [DISPLAY_ORDER] int NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [CONSTY_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [CONSTY_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CONSTY_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CONSTY_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CONSTY_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CONSTY_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [CONSTY_PK] PRIMARY KEY CLUSTERED([CONSULTATION_STATUS_TYPE_CODE]) + ON [PRIMARY]) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value of the consultation status type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_STATUS_TYPE', + @level2type = N'Column', @level2name = N'CONSULTATION_STATUS_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the consultation status type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Onscreen display order of the consultation types.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the consultation status type is active.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_STATUS_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the consultation status type for (currently) a lease or license.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_STATUS_TYPE' +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create table dbo.PIMS_CONSULTATION_TYPE +PRINT N'Create table dbo.PIMS_CONSULTATION_TYPE' +GO +CREATE TABLE [dbo].[PIMS_CONSULTATION_TYPE] ( + [CONSULTATION_TYPE_CODE] varchar(20) NOT NULL CONSTRAINT [CONTYP_CONSULTATION_TYPE_CODE_DEF] DEFAULT ('OTHER'), + [CONSULTATION_STATUS_TYPE_CODE] varchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL CONSTRAINT [CONTYP_DESCRIPTION_DEF] DEFAULT (''), + [OTHER_DESCRIPTION] nvarchar(200) NULL, + [DISPLAY_ORDER] int NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [CONTYP_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [CONTYP_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CONTYP_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CONTYP_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CONTYP_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CONTYP_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [CONTYP_PK] PRIMARY KEY CLUSTERED([CONSULTATION_TYPE_CODE]) + ON [PRIMARY]) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value of the consultation type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_TYPE', + @level2type = N'Column', @level2name = N'CONSULTATION_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the consultation type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Additional descriptive text of the consultation type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_TYPE', + @level2type = N'Column', @level2name = N'OTHER_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Onscreen display order of the consultation types.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the consultation type is active.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the consultation type required for (currently) a lease or license.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_TYPE' +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create sequence dbo.PIMS_LEASE_CONSULTATION_ID_SEQ +PRINT N'Create sequence dbo.PIMS_LEASE_CONSULTATION_ID_SEQ' +GO +CREATE SEQUENCE [dbo].[PIMS_LEASE_CONSULTATION_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create table dbo.PIMS_LEASE_CONSULTATION +PRINT N'Create table dbo.PIMS_LEASE_CONSULTATION' +GO +CREATE TABLE [dbo].[PIMS_LEASE_CONSULTATION] ( + [LEASE_CONSULTATION_ID] bigint NOT NULL CONSTRAINT [LESCON_LEASE_CONSULTATION_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_LEASE_CONSULTATION_ID_SEQ]), + [LEASE_ID] bigint NOT NULL, + [CONSULTATION_TYPE_CODE] varchar(20) NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESCON_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LESCON_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESCON_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESCON_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LESCON_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESCON_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LESCON_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESCON_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NULL CONSTRAINT [LESCON_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESCON_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESCON_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [IS_DISABLED] bit NULL CONSTRAINT [LESCON_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + CONSTRAINT [LESCON_PK] PRIMARY KEY CLUSTERED([LEASE_CONSULTATION_ID]) + ON [PRIMARY]) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_CONSULTATION', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.LESCON_LEASE_CONSULTATION_TUC +PRINT N'Create unique constraint dbo.LESCON_LEASE_CONSULTATION_TUC' +GO +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] + ADD CONSTRAINT [LESCON_LEASE_CONSULTATION_TUC] + UNIQUE ([CONSULTATION_TYPE_CODE], [LEASE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create sequence dbo.PIMS_LEASE_DOCUMENT_ID_SEQ +PRINT N'Create sequence dbo.PIMS_LEASE_DOCUMENT_ID_SEQ' +GO +CREATE SEQUENCE [dbo].[PIMS_LEASE_DOCUMENT_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create table dbo.PIMS_LEASE_DOCUMENT +PRINT N'Create table dbo.PIMS_LEASE_DOCUMENT' +GO +CREATE TABLE [dbo].[PIMS_LEASE_DOCUMENT] ( + [LEASE_DOCUMENT_ID] bigint NOT NULL CONSTRAINT [LESDOC_LEASE_DOCUMENT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_LEASE_DOCUMENT_ID_SEQ]), + [LEASE_ID] bigint NOT NULL, + [DOCUMENT_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [LESDOC_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LESDOC_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESDOC_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESDOC_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LESDOC_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESDOC_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESDOC_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LESDOC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESDOC_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NULL CONSTRAINT [LESDOC_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESDOC_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESDOC_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LESDOC_PK] PRIMARY KEY CLUSTERED([LEASE_DOCUMENT_ID]) + ON [PRIMARY]) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_DOCUMENT', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Defines the relationship betwwen a lease and a document.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_DOCUMENT' +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.LESDOC_LEASE_DOCUMENT_TUC +PRINT N'Create unique constraint dbo.LESDOC_LEASE_DOCUMENT_TUC' +GO +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] + ADD CONSTRAINT [LESDOC_LEASE_DOCUMENT_TUC] + UNIQUE ([DOCUMENT_ID], [LEASE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create sequence dbo.PIMS_RESEARCH_FILE_PROJECT_ID_SEQ +PRINT N'Create sequence dbo.PIMS_RESEARCH_FILE_PROJECT_ID_SEQ' +GO +CREATE SEQUENCE [dbo].[PIMS_RESEARCH_FILE_PROJECT_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.PROJCT_DESCRIPTION_CODE_TUC +PRINT N'Create unique constraint dbo.PROJCT_DESCRIPTION_CODE_TUC' +GO +ALTER TABLE [dbo].[PIMS_PROJECT] + ADD CONSTRAINT [PROJCT_DESCRIPTION_CODE_TUC] + UNIQUE ([DESCRIPTION], [CODE]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create table dbo.PIMS_RESEARCH_FILE_PROJECT +PRINT N'Create table dbo.PIMS_RESEARCH_FILE_PROJECT' +GO +CREATE TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] ( + [RESEARCH_FILE_PROJECT_ID] bigint NOT NULL CONSTRAINT [RFLPRJ_RESEARCH_FILE_PROJECT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_PROJECT_ID_SEQ]), + [RESEARCH_FILE_ID] bigint NOT NULL, + [PROJECT_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [RFLPRJ_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [RFLPRJ_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLPRJ_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RFLPRJ_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RFLPRJ_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLPRJ_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RFLPRJ_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RFLPRJ_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLPRJ_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NULL CONSTRAINT [RFLPRJ_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLPRJ_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RFLPRJ_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [RFLPRJ_PK] PRIMARY KEY CLUSTERED([RESEARCH_FILE_PROJECT_ID]) + ON [PRIMARY]) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE_PROJECT', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Defines the relationship betwwen a research file and a project.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE_PROJECT' +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.RFLPRJ_RESEARCH_FILE_PROJECT_TUC +PRINT N'Create unique constraint dbo.RFLPRJ_RESEARCH_FILE_PROJECT_TUC' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] + ADD CONSTRAINT [RFLPRJ_RESEARCH_FILE_PROJECT_TUC] + UNIQUE ([PROJECT_ID], [RESEARCH_FILE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create sequence dbo.PIMS_LEASE_NOTE_H_ID_SEQ +PRINT N'Create sequence dbo.PIMS_LEASE_NOTE_H_ID_SEQ' +GO +CREATE SEQUENCE [dbo].[PIMS_LEASE_NOTE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create table dbo.PIMS_LEASE_NOTE_HIST +PRINT N'Create table dbo.PIMS_LEASE_NOTE_HIST' +GO +CREATE TABLE [dbo].[PIMS_LEASE_NOTE_HIST] ( + [_LEASE_NOTE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_LEASE_NOTE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [LEASE_NOTE_ID] bigint NOT NULL, + [LEASE_ID] bigint NOT NULL, + [NOTE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_LESNOT_H_PK] PRIMARY KEY CLUSTERED([_LEASE_NOTE_HIST_ID]) + ON [PRIMARY]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.PIMS_LESNOT_H_UK +PRINT N'Create unique constraint dbo.PIMS_LESNOT_H_UK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_NOTE_HIST] + ADD CONSTRAINT [PIMS_LESNOT_H_UK] + UNIQUE ([_LEASE_NOTE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create sequence dbo.PIMS_RESEARCH_FILE_PROJECT_H_ID_SEQ +PRINT N'Create sequence dbo.PIMS_RESEARCH_FILE_PROJECT_H_ID_SEQ' +GO +CREATE SEQUENCE [dbo].[PIMS_RESEARCH_FILE_PROJECT_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create table dbo.PIMS_RESEARCH_FILE_PROJECT_HIST +PRINT N'Create table dbo.PIMS_RESEARCH_FILE_PROJECT_HIST' +GO +CREATE TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT_HIST] ( + [_RESEARCH_FILE_PROJECT_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_PROJECT_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [RESEARCH_FILE_PROJECT_ID] bigint NOT NULL, + [RESEARCH_FILE_ID] bigint NOT NULL, + [PROJECT_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_RFLPRJ_H_PK] PRIMARY KEY CLUSTERED([_RESEARCH_FILE_PROJECT_HIST_ID]) + ON [PRIMARY]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.PIMS_RFLPRJ_H_UK +PRINT N'Create unique constraint dbo.PIMS_RFLPRJ_H_UK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT_HIST] + ADD CONSTRAINT [PIMS_RFLPRJ_H_UK] + UNIQUE ([_RESEARCH_FILE_PROJECT_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create sequence dbo.PIMS_LEASE_CONSULTATION_H_ID_SEQ +PRINT N'Create sequence dbo.PIMS_LEASE_CONSULTATION_H_ID_SEQ' +GO +CREATE SEQUENCE [dbo].[PIMS_LEASE_CONSULTATION_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create table dbo.PIMS_LEASE_CONSULTATION_HIST +PRINT N'Create table dbo.PIMS_LEASE_CONSULTATION_HIST' +GO +CREATE TABLE [dbo].[PIMS_LEASE_CONSULTATION_HIST] ( + [_LEASE_CONSULTATION_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_LEASE_CONSULTATION_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [LEASE_CONSULTATION_ID] bigint NOT NULL, + [LEASE_ID] bigint NOT NULL, + [CONSULTATION_TYPE_CODE] varchar(20) NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [IS_DISABLED] bit NULL, + CONSTRAINT [PIMS_LESCON_H_PK] PRIMARY KEY CLUSTERED([_LEASE_CONSULTATION_HIST_ID]) + ON [PRIMARY]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.PIMS_LESCON_H_UK +PRINT N'Create unique constraint dbo.PIMS_LESCON_H_UK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION_HIST] + ADD CONSTRAINT [PIMS_LESCON_H_UK] + UNIQUE ([_LEASE_CONSULTATION_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Alter table dbo.PIMS_RESEARCH_FILE_NOTE_HIST +PRINT N'Alter table dbo.PIMS_RESEARCH_FILE_NOTE_HIST' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE_HIST] + ADD CONSTRAINT [PIMS_RFLNOT_H_PK] + PRIMARY KEY CLUSTERED ([_RESEARCH_FILE_NOTE_HIST_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.PIMS_RFLNOT_H_UK +PRINT N'Create unique constraint dbo.PIMS_RFLNOT_H_UK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE_HIST] + ADD CONSTRAINT [PIMS_RFLNOT_H_UK] + UNIQUE ([_RESEARCH_FILE_NOTE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Alter table dbo.PIMS_RESEARCH_FILE_DOCUMENT_HIST +PRINT N'Alter table dbo.PIMS_RESEARCH_FILE_DOCUMENT_HIST' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_HIST] + ADD CONSTRAINT [PIMS_RFLDOC_H_PK] + PRIMARY KEY CLUSTERED ([_RESEARCH_FILE_DOCUMENT_HIST_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.PIMS_RFLDOC_H_UK +PRINT N'Create unique constraint dbo.PIMS_RFLDOC_H_UK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_HIST] + ADD CONSTRAINT [PIMS_RFLDOC_H_UK] + UNIQUE ([_RESEARCH_FILE_DOCUMENT_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create sequence dbo.PIMS_LEASE_DOCUMENT_H_ID_SEQ +PRINT N'Create sequence dbo.PIMS_LEASE_DOCUMENT_H_ID_SEQ' +GO +CREATE SEQUENCE [dbo].[PIMS_LEASE_DOCUMENT_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create table dbo.PIMS_LEASE_DOCUMENT_HIST +PRINT N'Create table dbo.PIMS_LEASE_DOCUMENT_HIST' +GO +CREATE TABLE [dbo].[PIMS_LEASE_DOCUMENT_HIST] ( + [_LEASE_DOCUMENT_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_LEASE_DOCUMENT_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [LEASE_DOCUMENT_ID] bigint NOT NULL, + [LEASE_ID] bigint NOT NULL, + [DOCUMENT_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_LESDOC_H_PK] PRIMARY KEY CLUSTERED([_LEASE_DOCUMENT_HIST_ID]) + ON [PRIMARY]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create unique constraint dbo.PIMS_LESDOC_H_UK +PRINT N'Create unique constraint dbo.PIMS_LESDOC_H_UK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT_HIST] + ADD CONSTRAINT [PIMS_LESDOC_H_UK] + UNIQUE ([_LEASE_DOCUMENT_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.RFLDOC_RESEARCH_FILE_ID_IDX +PRINT N'Create index dbo.RFLDOC_RESEARCH_FILE_ID_IDX' +GO +CREATE NONCLUSTERED INDEX [RFLDOC_RESEARCH_FILE_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_DOCUMENT]([RESEARCH_FILE_ID]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.RFLDOC_DOCUMENT_ID_IDX +PRINT N'Create index dbo.RFLDOC_DOCUMENT_ID_IDX' +GO +CREATE NONCLUSTERED INDEX [RFLDOC_DOCUMENT_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_DOCUMENT]([DOCUMENT_ID]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.RFLNOT_RESEARCH_FILE_ID_IDX +PRINT N'Create index dbo.RFLNOT_RESEARCH_FILE_ID_IDX' +GO +CREATE NONCLUSTERED INDEX [RFLNOT_RESEARCH_FILE_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_NOTE]([RESEARCH_FILE_ID]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.LESNOT_NOTE_ID_IDX +PRINT N'Create index dbo.LESNOT_NOTE_ID_IDX' +GO +CREATE NONCLUSTERED INDEX [LESNOT_NOTE_ID_IDX] + ON [dbo].[PIMS_LEASE_NOTE]([NOTE_ID]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.CONTYP_CONSULTATION_STATUS_TYPE_CODE_IDX +PRINT N'Create index dbo.CONTYP_CONSULTATION_STATUS_TYPE_CODE_IDX' +GO +CREATE NONCLUSTERED INDEX [CONTYP_CONSULTATION_STATUS_TYPE_CODE_IDX] + ON [dbo].[PIMS_CONSULTATION_TYPE]([CONSULTATION_STATUS_TYPE_CODE]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.LESCON_LEASE_ID_IDX +PRINT N'Create index dbo.LESCON_LEASE_ID_IDX' +GO +CREATE NONCLUSTERED INDEX [LESCON_LEASE_ID_IDX] + ON [dbo].[PIMS_LEASE_CONSULTATION]([LEASE_ID]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.LESDOC_DOCUMENT_ID_IDX +PRINT N'Create index dbo.LESDOC_DOCUMENT_ID_IDX' +GO +CREATE NONCLUSTERED INDEX [LESDOC_DOCUMENT_ID_IDX] + ON [dbo].[PIMS_LEASE_DOCUMENT]([DOCUMENT_ID]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.RFLNOT_NOTE_ID_IDX +PRINT N'Create index dbo.RFLNOT_NOTE_ID_IDX' +GO +CREATE NONCLUSTERED INDEX [RFLNOT_NOTE_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_NOTE]([NOTE_ID]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.LESNOT_LEASE_ID_IDX +PRINT N'Create index dbo.LESNOT_LEASE_ID_IDX' +GO +CREATE NONCLUSTERED INDEX [LESNOT_LEASE_ID_IDX] + ON [dbo].[PIMS_LEASE_NOTE]([LEASE_ID]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.RFLPRJ_PROJECT_ID_IDX +PRINT N'Create index dbo.RFLPRJ_PROJECT_ID_IDX' +GO +CREATE NONCLUSTERED INDEX [RFLPRJ_PROJECT_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_PROJECT]([PROJECT_ID]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.LESCON_CONSULTATION_TYPE_CODE_IDX +PRINT N'Create index dbo.LESCON_CONSULTATION_TYPE_CODE_IDX' +GO +CREATE NONCLUSTERED INDEX [LESCON_CONSULTATION_TYPE_CODE_IDX] + ON [dbo].[PIMS_LEASE_CONSULTATION]([CONSULTATION_TYPE_CODE]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.RFLPRJ_RESEARCH_FILE_ID_IDX +PRINT N'Create index dbo.RFLPRJ_RESEARCH_FILE_ID_IDX' +GO +CREATE NONCLUSTERED INDEX [RFLPRJ_RESEARCH_FILE_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_PROJECT]([RESEARCH_FILE_ID]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create index dbo.LESDOC_LEASE_ID_IDX +PRINT N'Create index dbo.LESDOC_LEASE_ID_IDX' +GO +CREATE NONCLUSTERED INDEX [LESDOC_LEASE_ID_IDX] + ON [dbo].[PIMS_LEASE_DOCUMENT]([LEASE_ID]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_LESNOT_A_S_IUD_TR +PRINT N'Create trigger dbo.PIMS_LESNOT_A_S_IUD_TR' +GO +CREATE TRIGGER [dbo].[PIMS_LESNOT_A_S_IUD_TR] ON PIMS_LEASE_NOTE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_LEASE_NOTE_HIST set END_DATE_HIST = @curr_date where LEASE_NOTE_ID in (select LEASE_NOTE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_LEASE_NOTE_HIST ([LEASE_NOTE_ID], [LEASE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _LEASE_NOTE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [LEASE_NOTE_ID], [LEASE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_LEASE_NOTE_H_ID_SEQ]) as [_LEASE_NOTE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_RFLPRJ_A_S_IUD_TR +PRINT N'Create trigger dbo.PIMS_RFLPRJ_A_S_IUD_TR' +GO +--CREATE TRIGGER PIMS_RFLNOT_A_S_IUD_TR ON PIMS_RESEARCH_FILE_NOTE FOR INSERT, UPDATE, DELETE AS +--SET NOCOUNT ON +--BEGIN TRY +--DECLARE @curr_date datetime; +--SET @curr_date = getutcdate(); +-- IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) +-- RETURN; +-- +-- -- historical +-- IF EXISTS(SELECT * FROM deleted) +-- update PIMS_RESEARCH_FILE_NOTE_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_NOTE_ID in (select RESEARCH_FILE_NOTE_ID from deleted) and END_DATE_HIST is null; +-- +-- IF EXISTS(SELECT * FROM inserted) +-- insert into PIMS_RESEARCH_FILE_NOTE_HIST ([RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_FILE_NOTE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) +-- select [RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_FILE_NOTE_H_ID_SEQ]) as [_RESEARCH_FILE_NOTE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; +-- +--END TRY +--BEGIN CATCH +-- IF @@trancount > 0 ROLLBACK TRANSACTION +-- EXEC pims_error_handling +--END CATCH; +--go + +CREATE TRIGGER [dbo].[PIMS_RFLPRJ_A_S_IUD_TR] ON PIMS_RESEARCH_FILE_PROJECT FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_RESEARCH_FILE_PROJECT_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_PROJECT_ID in (select RESEARCH_FILE_PROJECT_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_RESEARCH_FILE_PROJECT_HIST ([RESEARCH_FILE_PROJECT_ID], [RESEARCH_FILE_ID], [PROJECT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_FILE_PROJECT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [RESEARCH_FILE_PROJECT_ID], [RESEARCH_FILE_ID], [PROJECT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_FILE_PROJECT_H_ID_SEQ]) as [_RESEARCH_FILE_PROJECT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_CONSTY_I_S_U_TR +PRINT N'Create trigger dbo.PIMS_CONSTY_I_S_U_TR' +GO +CREATE TRIGGER [dbo].[PIMS_CONSTY_I_S_U_TR] ON PIMS_CONSULTATION_STATUS_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.CONSULTATION_STATUS_TYPE_CODE = deleted.CONSULTATION_STATUS_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_CONSULTATION_STATUS_TYPE + set "CONSULTATION_STATUS_TYPE_CODE" = inserted."CONSULTATION_STATUS_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_CONSULTATION_STATUS_TYPE + inner join inserted + on (PIMS_CONSULTATION_STATUS_TYPE.CONSULTATION_STATUS_TYPE_CODE = inserted.CONSULTATION_STATUS_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_LESDOC_I_S_U_TR +PRINT N'Create trigger dbo.PIMS_LESDOC_I_S_U_TR' +GO +CREATE TRIGGER [dbo].[PIMS_LESDOC_I_S_U_TR] ON PIMS_LEASE_DOCUMENT INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_DOCUMENT_ID = deleted.LEASE_DOCUMENT_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_DOCUMENT + set "LEASE_DOCUMENT_ID" = inserted."LEASE_DOCUMENT_ID", + "LEASE_ID" = inserted."LEASE_ID", + "DOCUMENT_ID" = inserted."DOCUMENT_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_DOCUMENT + inner join inserted + on (PIMS_LEASE_DOCUMENT.LEASE_DOCUMENT_ID = inserted.LEASE_DOCUMENT_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_RFLDOC_I_S_I_TR +PRINT N'Create trigger dbo.PIMS_RFLDOC_I_S_I_TR' +GO +CREATE TRIGGER [dbo].[PIMS_RFLDOC_I_S_I_TR] ON PIMS_RESEARCH_FILE_DOCUMENT INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_RESEARCH_FILE_DOCUMENT ("RESEARCH_FILE_DOCUMENT_ID", + "RESEARCH_FILE_ID", + "DOCUMENT_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "RESEARCH_FILE_DOCUMENT_ID", + "RESEARCH_FILE_ID", + "DOCUMENT_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_CONTYP_I_S_U_TR +PRINT N'Create trigger dbo.PIMS_CONTYP_I_S_U_TR' +GO +CREATE TRIGGER [dbo].[PIMS_CONTYP_I_S_U_TR] ON PIMS_CONSULTATION_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.CONSULTATION_TYPE_CODE = deleted.CONSULTATION_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_CONSULTATION_TYPE + set "CONSULTATION_TYPE_CODE" = inserted."CONSULTATION_TYPE_CODE", + "CONSULTATION_STATUS_TYPE_CODE" = inserted."CONSULTATION_STATUS_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "OTHER_DESCRIPTION" = inserted."OTHER_DESCRIPTION", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_CONSULTATION_TYPE + inner join inserted + on (PIMS_CONSULTATION_TYPE.CONSULTATION_TYPE_CODE = inserted.CONSULTATION_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_RFLPRJ_I_S_I_TR +PRINT N'Create trigger dbo.PIMS_RFLPRJ_I_S_I_TR' +GO +--CREATE TRIGGER PIMS_RFLNOT_I_S_I_TR ON PIMS_RESEARCH_FILE_NOTE INSTEAD OF INSERT AS +--SET NOCOUNT ON +--BEGIN TRY +-- IF NOT EXISTS(SELECT * FROM inserted) +-- RETURN; +-- +-- +-- insert into PIMS_RESEARCH_FILE_NOTE ("RESEARCH_FILE_NOTE_ID", +-- "RESEARCH_FILE_ID", +-- "NOTE_ID", +-- "IS_DISABLED", +-- "CONCURRENCY_CONTROL_NUMBER", +-- "APP_CREATE_TIMESTAMP", +-- "APP_CREATE_USERID", +-- "APP_CREATE_USER_GUID", +-- "APP_CREATE_USER_DIRECTORY", +-- "APP_LAST_UPDATE_TIMESTAMP", +-- "APP_LAST_UPDATE_USERID", +-- "APP_LAST_UPDATE_USER_GUID", +-- "APP_LAST_UPDATE_USER_DIRECTORY") +-- select "RESEARCH_FILE_NOTE_ID", +-- "RESEARCH_FILE_ID", +-- "NOTE_ID", +-- "IS_DISABLED", +-- "CONCURRENCY_CONTROL_NUMBER", +-- "APP_CREATE_TIMESTAMP", +-- "APP_CREATE_USERID", +-- "APP_CREATE_USER_GUID", +-- "APP_CREATE_USER_DIRECTORY", +-- "APP_LAST_UPDATE_TIMESTAMP", +-- "APP_LAST_UPDATE_USERID", +-- "APP_LAST_UPDATE_USER_GUID", +-- "APP_LAST_UPDATE_USER_DIRECTORY" +-- from inserted; +-- +--END TRY +--BEGIN CATCH +-- IF @@trancount > 0 ROLLBACK TRANSACTION +-- EXEC pims_error_handling +--END CATCH; +--go +CREATE TRIGGER [dbo].[PIMS_RFLPRJ_I_S_I_TR] ON PIMS_RESEARCH_FILE_PROJECT INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_RESEARCH_FILE_PROJECT ("RESEARCH_FILE_PROJECT_ID", + "RESEARCH_FILE_ID", + "PROJECT_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "RESEARCH_FILE_PROJECT_ID", + "RESEARCH_FILE_ID", + "PROJECT_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_RFLNOT_I_S_U_TR +PRINT N'Create trigger dbo.PIMS_RFLNOT_I_S_U_TR' +GO +CREATE TRIGGER [dbo].[PIMS_RFLNOT_I_S_U_TR] ON PIMS_RESEARCH_FILE_NOTE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_ID = deleted.RESEARCH_FILE_ID and inserted.RESEARCH_FILE_NOTE_ID = deleted.RESEARCH_FILE_NOTE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_RESEARCH_FILE_NOTE + set "RESEARCH_FILE_NOTE_ID" = inserted."RESEARCH_FILE_NOTE_ID", + "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", + "NOTE_ID" = inserted."NOTE_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_RESEARCH_FILE_NOTE + inner join inserted + on (PIMS_RESEARCH_FILE_NOTE.RESEARCH_FILE_ID = inserted.RESEARCH_FILE_ID and PIMS_RESEARCH_FILE_NOTE.RESEARCH_FILE_NOTE_ID = inserted.RESEARCH_FILE_NOTE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_LESCON_A_S_IUD_TR +PRINT N'Create trigger dbo.PIMS_LESCON_A_S_IUD_TR' +GO +CREATE TRIGGER [dbo].[PIMS_LESCON_A_S_IUD_TR] ON PIMS_LEASE_CONSULTATION FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_LEASE_CONSULTATION_HIST set END_DATE_HIST = @curr_date where LEASE_CONSULTATION_ID in (select LEASE_CONSULTATION_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_LEASE_CONSULTATION_HIST ([LEASE_CONSULTATION_ID], [LEASE_ID], [CONSULTATION_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USER_DIRECTORY], [APP_CREATE_USER_GUID], [APP_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USER_DIRECTORY], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USERID], [CONCURRENCY_CONTROL_NUMBER], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], [IS_DISABLED], _LEASE_CONSULTATION_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [LEASE_CONSULTATION_ID], [LEASE_ID], [CONSULTATION_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USER_DIRECTORY], [APP_CREATE_USER_GUID], [APP_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USER_DIRECTORY], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USERID], [CONCURRENCY_CONTROL_NUMBER], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], [IS_DISABLED], (next value for [dbo].[PIMS_LEASE_CONSULTATION_H_ID_SEQ]) as [_LEASE_CONSULTATION_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_RFLNOT_A_S_IUD_TR +PRINT N'Create trigger dbo.PIMS_RFLNOT_A_S_IUD_TR' +GO +CREATE TRIGGER [dbo].[PIMS_RFLNOT_A_S_IUD_TR] ON PIMS_RESEARCH_FILE_NOTE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_RESEARCH_FILE_NOTE_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_ID in (select RESEARCH_FILE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_RESEARCH_FILE_NOTE_HIST ([RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_FILE_NOTE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_FILE_NOTE_H_ID_SEQ]) as [_RESEARCH_FILE_NOTE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_LESCON_I_S_U_TR +PRINT N'Create trigger dbo.PIMS_LESCON_I_S_U_TR' +GO +CREATE TRIGGER [dbo].[PIMS_LESCON_I_S_U_TR] ON PIMS_LEASE_CONSULTATION INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_CONSULTATION_ID = deleted.LEASE_CONSULTATION_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_CONSULTATION + set "LEASE_CONSULTATION_ID" = inserted."LEASE_CONSULTATION_ID", + "LEASE_ID" = inserted."LEASE_ID", + "CONSULTATION_TYPE_CODE" = inserted."CONSULTATION_TYPE_CODE", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "IS_DISABLED" = inserted."IS_DISABLED" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_CONSULTATION + inner join inserted + on (PIMS_LEASE_CONSULTATION.LEASE_CONSULTATION_ID = inserted.LEASE_CONSULTATION_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_LESNOT_I_S_U_TR +PRINT N'Create trigger dbo.PIMS_LESNOT_I_S_U_TR' +GO +CREATE TRIGGER [dbo].[PIMS_LESNOT_I_S_U_TR] ON PIMS_LEASE_NOTE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_NOTE_ID = deleted.LEASE_NOTE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_NOTE + set "LEASE_NOTE_ID" = inserted."LEASE_NOTE_ID", + "LEASE_ID" = inserted."LEASE_ID", + "NOTE_ID" = inserted."NOTE_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_NOTE + inner join inserted + on (PIMS_LEASE_NOTE.LEASE_NOTE_ID = inserted.LEASE_NOTE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_LESCON_I_S_I_TR +PRINT N'Create trigger dbo.PIMS_LESCON_I_S_I_TR' +GO +CREATE TRIGGER [dbo].[PIMS_LESCON_I_S_I_TR] ON PIMS_LEASE_CONSULTATION INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_CONSULTATION ("LEASE_CONSULTATION_ID", + "LEASE_ID", + "CONSULTATION_TYPE_CODE", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USER_DIRECTORY", + "APP_CREATE_USER_GUID", + "APP_CREATE_USERID", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID", + "CONCURRENCY_CONTROL_NUMBER", + "IS_DISABLED") + select "LEASE_CONSULTATION_ID", + "LEASE_ID", + "CONSULTATION_TYPE_CODE", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USER_DIRECTORY", + "APP_CREATE_USER_GUID", + "APP_CREATE_USERID", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID", + "CONCURRENCY_CONTROL_NUMBER", + "IS_DISABLED" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_RFLDOC_A_S_IUD_TR +PRINT N'Create trigger dbo.PIMS_RFLDOC_A_S_IUD_TR' +GO +CREATE TRIGGER [dbo].[PIMS_RFLDOC_A_S_IUD_TR] ON PIMS_RESEARCH_FILE_DOCUMENT FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_RESEARCH_FILE_DOCUMENT_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_DOCUMENT_ID in (select RESEARCH_FILE_DOCUMENT_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_RESEARCH_FILE_DOCUMENT_HIST ([RESEARCH_FILE_DOCUMENT_ID], [RESEARCH_FILE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_FILE_DOCUMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [RESEARCH_FILE_DOCUMENT_ID], [RESEARCH_FILE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_H_ID_SEQ]) as [_RESEARCH_FILE_DOCUMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_LESDOC_I_S_I_TR +PRINT N'Create trigger dbo.PIMS_LESDOC_I_S_I_TR' +GO +CREATE TRIGGER [dbo].[PIMS_LESDOC_I_S_I_TR] ON PIMS_LEASE_DOCUMENT INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_DOCUMENT ("LEASE_DOCUMENT_ID", + "LEASE_ID", + "DOCUMENT_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "LEASE_DOCUMENT_ID", + "LEASE_ID", + "DOCUMENT_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_CONSTY_I_S_I_TR +PRINT N'Create trigger dbo.PIMS_CONSTY_I_S_I_TR' +GO +CREATE TRIGGER [dbo].[PIMS_CONSTY_I_S_I_TR] ON PIMS_CONSULTATION_STATUS_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_CONSULTATION_STATUS_TYPE ("CONSULTATION_STATUS_TYPE_CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER") + select "CONSULTATION_STATUS_TYPE_CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_CONTYP_I_S_I_TR +PRINT N'Create trigger dbo.PIMS_CONTYP_I_S_I_TR' +GO +CREATE TRIGGER [dbo].[PIMS_CONTYP_I_S_I_TR] ON PIMS_CONSULTATION_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_CONSULTATION_TYPE ("CONSULTATION_TYPE_CODE", + "CONSULTATION_STATUS_TYPE_CODE", + "DESCRIPTION", + "OTHER_DESCRIPTION", + "DISPLAY_ORDER", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER") + select "CONSULTATION_TYPE_CODE", + "CONSULTATION_STATUS_TYPE_CODE", + "DESCRIPTION", + "OTHER_DESCRIPTION", + "DISPLAY_ORDER", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_RFLDOC_I_S_U_TR +PRINT N'Create trigger dbo.PIMS_RFLDOC_I_S_U_TR' +GO +CREATE TRIGGER [dbo].[PIMS_RFLDOC_I_S_U_TR] ON PIMS_RESEARCH_FILE_DOCUMENT INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_DOCUMENT_ID = deleted.RESEARCH_FILE_DOCUMENT_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_RESEARCH_FILE_DOCUMENT + set "RESEARCH_FILE_DOCUMENT_ID" = inserted."RESEARCH_FILE_DOCUMENT_ID", + "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", + "DOCUMENT_ID" = inserted."DOCUMENT_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_RESEARCH_FILE_DOCUMENT + inner join inserted + on (PIMS_RESEARCH_FILE_DOCUMENT.RESEARCH_FILE_DOCUMENT_ID = inserted.RESEARCH_FILE_DOCUMENT_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_LESDOC_A_S_IUD_TR +PRINT N'Create trigger dbo.PIMS_LESDOC_A_S_IUD_TR' +GO +CREATE TRIGGER [dbo].[PIMS_LESDOC_A_S_IUD_TR] ON PIMS_LEASE_DOCUMENT FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_LEASE_DOCUMENT_HIST set END_DATE_HIST = @curr_date where LEASE_DOCUMENT_ID in (select LEASE_DOCUMENT_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_LEASE_DOCUMENT_HIST ([LEASE_DOCUMENT_ID], [LEASE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _LEASE_DOCUMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [LEASE_DOCUMENT_ID], [LEASE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_LEASE_DOCUMENT_H_ID_SEQ]) as [_LEASE_DOCUMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_LESNOT_I_S_I_TR +PRINT N'Create trigger dbo.PIMS_LESNOT_I_S_I_TR' +GO +CREATE TRIGGER [dbo].[PIMS_LESNOT_I_S_I_TR] ON PIMS_LEASE_NOTE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_NOTE ("LEASE_NOTE_ID", + "LEASE_ID", + "NOTE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "LEASE_NOTE_ID", + "LEASE_ID", + "NOTE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_RFLNOT_I_S_I_TR +PRINT N'Create trigger dbo.PIMS_RFLNOT_I_S_I_TR' +GO +CREATE TRIGGER [dbo].[PIMS_RFLNOT_I_S_I_TR] ON PIMS_RESEARCH_FILE_NOTE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_RESEARCH_FILE_NOTE ("RESEARCH_FILE_NOTE_ID", + "RESEARCH_FILE_ID", + "NOTE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "RESEARCH_FILE_NOTE_ID", + "RESEARCH_FILE_ID", + "NOTE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create trigger dbo.PIMS_RFLPRJ_I_S_U_TR +PRINT N'Create trigger dbo.PIMS_RFLPRJ_I_S_U_TR' +GO +--CREATE TRIGGER PIMS_RFLNOT_I_S_U_TR ON PIMS_RESEARCH_FILE_NOTE INSTEAD OF UPDATE AS +--SET NOCOUNT ON +--BEGIN TRY +-- IF NOT EXISTS(SELECT * FROM deleted) +-- RETURN; +-- +-- -- validate concurrency control +-- if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_ID = deleted.RESEARCH_FILE_ID and inserted.RESEARCH_FILE_NOTE_ID = deleted.RESEARCH_FILE_NOTE_ID) +-- raiserror('CONCURRENCY FAILURE.',16,1) +-- +-- +-- -- update statement +-- update PIMS_RESEARCH_FILE_NOTE +-- set "RESEARCH_FILE_NOTE_ID" = inserted."RESEARCH_FILE_NOTE_ID", +-- "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", +-- "NOTE_ID" = inserted."NOTE_ID", +-- "IS_DISABLED" = inserted."IS_DISABLED", +-- "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", +-- "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", +-- "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", +-- "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", +-- "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" +-- , DB_LAST_UPDATE_TIMESTAMP = getutcdate() +-- , DB_LAST_UPDATE_USERID = user_name() +-- from PIMS_RESEARCH_FILE_NOTE +-- inner join inserted +-- on (PIMS_RESEARCH_FILE_NOTE.RESEARCH_FILE_ID = inserted.RESEARCH_FILE_ID and PIMS_RESEARCH_FILE_NOTE.RESEARCH_FILE_NOTE_ID = inserted.RESEARCH_FILE_NOTE_ID); +-- +--END TRY +--BEGIN CATCH +-- IF @@trancount > 0 ROLLBACK TRANSACTION +-- EXEC pims_error_handling +--END CATCH; +--go +CREATE TRIGGER [dbo].[PIMS_RFLPRJ_I_S_U_TR] ON PIMS_RESEARCH_FILE_PROJECT INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_PROJECT_ID = deleted.RESEARCH_FILE_PROJECT_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_RESEARCH_FILE_PROJECT + set "RESEARCH_FILE_PROJECT_ID" = inserted."RESEARCH_FILE_PROJECT_ID", + "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", + "PROJECT_ID" = inserted."PROJECT_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_RESEARCH_FILE_PROJECT + inner join inserted + on (PIMS_RESEARCH_FILE_PROJECT.RESEARCH_FILE_PROJECT_ID = inserted.RESEARCH_FILE_PROJECT_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; + +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_DOCMNT_PIM_RFLDOC_FK +PRINT N'Create foreign key constraint dbo.PIM_DOCMNT_PIM_RFLDOC_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + ADD CONSTRAINT [PIM_DOCMNT_PIM_RFLDOC_FK] + FOREIGN KEY([DOCUMENT_ID]) + REFERENCES [dbo].[PIMS_DOCUMENT]([DOCUMENT_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_RESRCH_PIM_RFLDOC_FK +PRINT N'Create foreign key constraint dbo.PIM_RESRCH_PIM_RFLDOC_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + ADD CONSTRAINT [PIM_RESRCH_PIM_RFLDOC_FK] + FOREIGN KEY([RESEARCH_FILE_ID]) + REFERENCES [dbo].[PIMS_RESEARCH_FILE]([RESEARCH_FILE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_NOTE_PIM_RFLNOT_FK +PRINT N'Create foreign key constraint dbo.PIM_NOTE_PIM_RFLNOT_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + ADD CONSTRAINT [PIM_NOTE_PIM_RFLNOT_FK] + FOREIGN KEY([NOTE_ID]) + REFERENCES [dbo].[PIMS_NOTE]([NOTE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_RESRCH_PIM_RFLNOT_FK +PRINT N'Create foreign key constraint dbo.PIM_RESRCH_PIM_RFLNOT_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + ADD CONSTRAINT [PIM_RESRCH_PIM_RFLNOT_FK] + FOREIGN KEY([RESEARCH_FILE_ID]) + REFERENCES [dbo].[PIMS_RESEARCH_FILE]([RESEARCH_FILE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_NOTE_PIM_LESNOT_FK +PRINT N'Create foreign key constraint dbo.PIM_NOTE_PIM_LESNOT_FK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] + ADD CONSTRAINT [PIM_NOTE_PIM_LESNOT_FK] + FOREIGN KEY([NOTE_ID]) + REFERENCES [dbo].[PIMS_NOTE]([NOTE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_LEASE_PIM_LESNOT_FK +PRINT N'Create foreign key constraint dbo.PIM_LEASE_PIM_LESNOT_FK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] + ADD CONSTRAINT [PIM_LEASE_PIM_LESNOT_FK] + FOREIGN KEY([LEASE_ID]) + REFERENCES [dbo].[PIMS_LEASE]([LEASE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_CONSTY_PIM_CONTYP_FK +PRINT N'Create foreign key constraint dbo.PIM_CONSTY_PIM_CONTYP_FK' +GO +ALTER TABLE [dbo].[PIMS_CONSULTATION_TYPE] + ADD CONSTRAINT [PIM_CONSTY_PIM_CONTYP_FK] + FOREIGN KEY([CONSULTATION_STATUS_TYPE_CODE]) + REFERENCES [dbo].[PIMS_CONSULTATION_STATUS_TYPE]([CONSULTATION_STATUS_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_LEASE_PIM_LESCON_FK +PRINT N'Create foreign key constraint dbo.PIM_LEASE_PIM_LESCON_FK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] + ADD CONSTRAINT [PIM_LEASE_PIM_LESCON_FK] + FOREIGN KEY([LEASE_ID]) + REFERENCES [dbo].[PIMS_LEASE]([LEASE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_CONTYP_PIM_LESCON_FK +PRINT N'Create foreign key constraint dbo.PIM_CONTYP_PIM_LESCON_FK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] + ADD CONSTRAINT [PIM_CONTYP_PIM_LESCON_FK] + FOREIGN KEY([CONSULTATION_TYPE_CODE]) + REFERENCES [dbo].[PIMS_CONSULTATION_TYPE]([CONSULTATION_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_LEASE_PIM_LESDOC_FK +PRINT N'Create foreign key constraint dbo.PIM_LEASE_PIM_LESDOC_FK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] + ADD CONSTRAINT [PIM_LEASE_PIM_LESDOC_FK] + FOREIGN KEY([LEASE_ID]) + REFERENCES [dbo].[PIMS_LEASE]([LEASE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_DOCMNT_PIM_LESDOC_FK +PRINT N'Create foreign key constraint dbo.PIM_DOCMNT_PIM_LESDOC_FK' +GO +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] + ADD CONSTRAINT [PIM_DOCMNT_PIM_LESDOC_FK] + FOREIGN KEY([DOCUMENT_ID]) + REFERENCES [dbo].[PIMS_DOCUMENT]([DOCUMENT_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_RESRCH_PIM_RFLPRJ_FK +PRINT N'Create foreign key constraint dbo.PIM_RESRCH_PIM_RFLPRJ_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] + ADD CONSTRAINT [PIM_RESRCH_PIM_RFLPRJ_FK] + FOREIGN KEY([RESEARCH_FILE_ID]) + REFERENCES [dbo].[PIMS_RESEARCH_FILE]([RESEARCH_FILE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create foreign key constraint dbo.PIM_PROJCT_PIM_RFLPRJ_FK +PRINT N'Create foreign key constraint dbo.PIM_PROJCT_PIM_RFLPRJ_FK' +GO +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] + ADD CONSTRAINT [PIM_PROJCT_PIM_RFLPRJ_FK] + FOREIGN KEY([PROJECT_ID]) + REFERENCES [dbo].[PIMS_PROJECT]([ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +COMMIT TRANSACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +DECLARE @Success AS BIT +SET @Success = 1 +SET NOEXEC OFF +IF (@Success = 1) PRINT 'The database update succeeded' +ELSE BEGIN + IF @@TRANCOUNT > 0 ROLLBACK TRANSACTION + PRINT 'The database update failed' +END +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/010_DML_PIMS_STATIC_VARIABLE_VERSION.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/010_DML_PIMS_STATIC_VARIABLE_VERSION.sql new file mode 100644 index 0000000000..5c63f20304 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/010_DML_PIMS_STATIC_VARIABLE_VERSION.sql @@ -0,0 +1,26 @@ +/* ----------------------------------------------------------------------------- +Update the database version in the PIMS_STATIC_VARIABLE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Nov-24 Initial version +----------------------------------------------------------------------------- */ + +BEGIN TRANSACTION; + +DECLARE @CurrVer NVARCHAR(100) +SET @CurrVer = N'47.00' + +UPDATE PIMS_STATIC_VARIABLE +WITH (UPDLOCK, SERIALIZABLE) +SET STATIC_VARIABLE_VALUE = @CurrVer + , CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1 +WHERE STATIC_VARIABLE_NAME = N'DBVERSION'; + +IF @@ROWCOUNT = 0 + BEGIN + INSERT INTO PIMS_STATIC_VARIABLE (STATIC_VARIABLE_NAME, STATIC_VARIABLE_VALUE) + VALUES (N'DBVERSION', @CurrVer); + END + +COMMIT TRANSACTION; diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/100_DML_PIMS_ACTIVITY_TEMPLATE_Update.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/100_DML_PIMS_ACTIVITY_TEMPLATE_Update.sql new file mode 100644 index 0000000000..4df53175ae --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/100_DML_PIMS_ACTIVITY_TEMPLATE_Update.sql @@ -0,0 +1,20 @@ +/* ----------------------------------------------------------------------------- +Insert data into the PIMS_ACTIVITY_TEMPLATE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2022-Sep-30 Initial version +Doug Filteau 2022-Oct-31 Added 'File Document' +----------------------------------------------------------------------------- */ + +INSERT INTO PIMS_ACTIVITY_TEMPLATE (ACTIVITY_TEMPLATE_TYPE_CODE, IS_DISABLED, CONCURRENCY_CONTROL_NUMBER) +VALUES + (N'GENLTR', CONVERT([bit],(0)), 1), + (N'NOTENTRY', CONVERT([bit],(0)), 1), + (N'CONDENTRY', CONVERT([bit],(0)), 1), + (N'RECNEGOT', CONVERT([bit],(0)), 1), + (N'CONSULT', CONVERT([bit],(0)), 1), + (N'RECTAKES', CONVERT([bit],(0)), 1), + (N'OFFAGREE', CONVERT([bit],(0)), 1), + (N'COMPREQ', CONVERT([bit],(0)), 1); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/111_DML_PIMS_BUSINESS_FUNCTION_CODE_Insert.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/111_DML_PIMS_BUSINESS_FUNCTION_CODE_Insert.sql new file mode 100644 index 0000000000..afde21156e --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/111_DML_PIMS_BUSINESS_FUNCTION_CODE_Insert.sql @@ -0,0 +1,64 @@ +/* ----------------------------------------------------------------------------- +Delete the missing code values in the PIMS_BUSINESS_FUNCTION_CODE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-30 Initial version +----------------------------------------------------------------------------- */ + +BEGIN TRANSACTION; + +DECLARE @CurrCd NVARCHAR(20) +SET @CurrCd = N'MANAGE' + +SELECT CODE +FROM PIMS_BUSINESS_FUNCTION_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 0 + BEGIN + INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) + VALUES + (N'MANAGE', N'MANAGE', 110, CONVERT(DATETIME, '1990.01.01', 102)); + END + +SET @CurrCd = N'ORIO ACQ' + +SELECT CODE +FROM PIMS_BUSINESS_FUNCTION_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 0 + BEGIN + INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) + VALUES + (N'ORIO ACQ', N'ORIO ACQ', 111, CONVERT(DATETIME, '1990.01.01', 102)); + END + +SET @CurrCd = N'PROP AQU' + +SELECT CODE +FROM PIMS_BUSINESS_FUNCTION_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 0 + BEGIN + INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) + VALUES + (N'PROP AQU', N'PROP AQU', 112, CONVERT(DATETIME, '1990.01.01', 102)); + END + +SET @CurrCd = N'PROP MAN' + +SELECT CODE +FROM PIMS_BUSINESS_FUNCTION_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 0 + BEGIN + INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) + VALUES + (N'PROP MAN', N'PROP MAN', 113, CONVERT(DATETIME, '1990.01.01', 102)); + END + +COMMIT TRANSACTION; diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/112_DML_PIMS_COST_TYPE_CODE_Insert.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/112_DML_PIMS_COST_TYPE_CODE_Insert.sql new file mode 100644 index 0000000000..4f93716db1 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/112_DML_PIMS_COST_TYPE_CODE_Insert.sql @@ -0,0 +1,25 @@ +/* ----------------------------------------------------------------------------- +Populate the missing code values in the PIMS_COST_TYPE_CODE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-30 Initial version +----------------------------------------------------------------------------- */ + +BEGIN TRANSACTION; + +DECLARE @CurrCd NVARCHAR(20) +SET @CurrCd = N'WBO' + +SELECT CODE +FROM PIMS_COST_TYPE_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 0 + BEGIN + INSERT INTO PIMS_COST_TYPE_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) + VALUES + (N'WBO', N'WBO', 1000, CONVERT(DATETIME, '1990.01.01', 102)); + END + +COMMIT TRANSACTION; diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/113_DML_PIMS_WORK_ACTIVITY_CODE_Insert.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/113_DML_PIMS_WORK_ACTIVITY_CODE_Insert.sql new file mode 100644 index 0000000000..c3f0a8b7d2 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/113_DML_PIMS_WORK_ACTIVITY_CODE_Insert.sql @@ -0,0 +1,77 @@ +/* ----------------------------------------------------------------------------- +Populate the missing code values in the PIMS_WORK_ACTIVITY_CODE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-30 Initial version +----------------------------------------------------------------------------- */ + +BEGIN TRANSACTION; + +DECLARE @CurrCd NVARCHAR(20) +SET @CurrCd = N'PROP MAN' + +SELECT CODE +FROM PIMS_WORK_ACTIVITY_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 0 + BEGIN + INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) + VALUES + (N'PROP MAN', N'PROP MAN', 2000, CONVERT(DATETIME, '1990.01.01', 102)); + END + +SET @CurrCd = N'SURVEY' + +SELECT CODE +FROM PIMS_WORK_ACTIVITY_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 0 + BEGIN + INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) + VALUES + (N'SURVEY', N'SURVEY', 2001, CONVERT(DATETIME, '1990.01.01', 102)); + END + +SET @CurrCd = N'ELEC MAIN' + +SELECT CODE +FROM PIMS_WORK_ACTIVITY_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 0 + BEGIN + INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) + VALUES + (N'ELEC MAIN', N'ELEC MAIN', 2002, CONVERT(DATETIME, '1990.01.01', 102)); + END + +SET @CurrCd = N'ACQ PROP' + +SELECT CODE +FROM PIMS_WORK_ACTIVITY_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 0 + BEGIN + INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) + VALUES + (N'ACQ PROP', N'ACQ PROP', 2003, CONVERT(DATETIME, '1990.01.01', 102)); + END + +SET @CurrCd = N'PA GENERAL' + +SELECT CODE +FROM PIMS_WORK_ACTIVITY_CODE +WHERE CODE = @CurrCd; + +IF @@ROWCOUNT = 0 + BEGIN + INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) + VALUES + (N'PA GENERAL', N'PA GENERALP', 2004, CONVERT(DATETIME, '1990.01.01', 102)); + END + +COMMIT TRANSACTION; diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/114_DML_PIMS_CONSULTATION_STATUS_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/114_DML_PIMS_CONSULTATION_STATUS_TYPE.sql new file mode 100644 index 0000000000..c682f83124 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/114_DML_PIMS_CONSULTATION_STATUS_TYPE.sql @@ -0,0 +1,18 @@ +/* ----------------------------------------------------------------------------- +Populate the missing code values in the PIMS_CONSULTATION_STATUS_TYPE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-30 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_CONSULTATION_STATUS_TYPE +GO + +INSERT INTO PIMS_CONSULTATION_STATUS_TYPE (CONSULTATION_STATUS_TYPE_CODE, DESCRIPTION, DISPLAY_ORDER) +VALUES + (N'UNKNOWN', N'Unknown', 1), + (N'REQNTCOM', N'Required, not completed', 2), + (N'REQCOMP', N'Required, completed', 3), + (N'NOTREQD', N'Not required', 4); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/115_DML_PIMS_CONSULTATION_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/115_DML_PIMS_CONSULTATION_TYPE.sql new file mode 100644 index 0000000000..a86a9094fb --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Alter Up/115_DML_PIMS_CONSULTATION_TYPE.sql @@ -0,0 +1,21 @@ +/* ----------------------------------------------------------------------------- +Populate the missing code values in the PIMS_CONSULTATION_TYPE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-30 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_CONSULTATION_TYPE +GO + +INSERT INTO PIMS_CONSULTATION_TYPE (CONSULTATION_TYPE_CODE, CONSULTATION_STATUS_TYPE_CODE, DESCRIPTION, OTHER_DESCRIPTION, DISPLAY_ORDER) +VALUES + (N'1STNATION', N'UNKNOWN', N'First nation', '', 1), + (N'STRATRE', N'UNKNOWN', N'Strategic Real Estate (SRE)', '', 2), + (N'REGPLANG', N'UNKNOWN', N'Regional planning', '', 3), + (N'REGPRPSVC', N'UNKNOWN', N'Regional property services', '', 4), + (N'DISTRICT', N'UNKNOWN', N'District', '', 5), + (N'HQ', N'UNKNOWN', N'Headquarter (HQ)', '', 6), + (N'OTHER', N'UNKNOWN', N'Other', 'Describe other*', 7); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/000_PSP_PIMS_ETL_SCHEMA_Build.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/000_PSP_PIMS_ETL_SCHEMA_Build.sql new file mode 100644 index 0000000000..af2a3e373b --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/000_PSP_PIMS_ETL_SCHEMA_Build.sql @@ -0,0 +1,38 @@ +-- Script generated by Aqua Data Studio Schema Synchronization for MS SQL Server 2016 on Tue Oct 05 16:47:03 PDT 2021 +-- Execute this script on: +-- etl schema will be created + +-- We recommend backing up the database prior to executing the script. + +SET XACT_ABORT ON +GO +SET TRANSACTION ISOLATION LEVEL SERIALIZABLE +GO +BEGIN TRANSACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create ETL schema +IF NOT EXISTS (SELECT * + FROM sys.schemas + WHERE name = N'etl') + EXEC('CREATE SCHEMA [etl]'); +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + + +COMMIT TRANSACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +DECLARE @Success AS BIT +SET @Success = 1 +SET NOEXEC OFF +IF (@Success = 1) PRINT 'The database update succeeded' +ELSE BEGIN + IF @@TRANCOUNT > 0 ROLLBACK TRANSACTION + PRINT 'The database update failed' +END +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/001_PSP_PIMS_PMBC_SCHEMA_Build.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/001_PSP_PIMS_PMBC_SCHEMA_Build.sql new file mode 100644 index 0000000000..e6a023c739 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/001_PSP_PIMS_PMBC_SCHEMA_Build.sql @@ -0,0 +1,38 @@ +-- Script generated by Aqua Data Studio Schema Synchronization for MS SQL Server 2016 on Tue Oct 05 16:47:03 PDT 2021 +-- Execute this script on: +-- pmbc schema will be created + +-- We recommend backing up the database prior to executing the script. + +SET XACT_ABORT ON +GO +SET TRANSACTION ISOLATION LEVEL SERIALIZABLE +GO +BEGIN TRANSACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create PMBC schema +IF NOT EXISTS (SELECT * + FROM sys.schemas + WHERE name = N'pmbc') + EXEC('CREATE SCHEMA [pmbc]'); +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + + +COMMIT TRANSACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +DECLARE @Success AS BIT +SET @Success = 1 +SET NOEXEC OFF +IF (@Success = 1) PRINT 'The database update succeeded' +ELSE BEGIN + IF @@TRANCOUNT > 0 ROLLBACK TRANSACTION + PRINT 'The database update failed' +END +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/002_PSP_PIMS_Build.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/002_PSP_PIMS_Build.sql new file mode 100644 index 0000000000..e33ef1cfe6 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/002_PSP_PIMS_Build.sql @@ -0,0 +1,28035 @@ +/* +Script generated by Aqua Data Studio 22.2.0 on Feb.-02-2023 10:06:39 a.m. +Database: PSP_PIMS_S47_00 +Schema: dbo +Objects: DATATYPE, DEFAULT, RULE, SEQUENCE, TABLE, VIEW, SYNONYM, PROCEDURE, FUNCTION, INDEX, TRIGGER, DATABASETRIGGER, DATABASE_AUDIT_SPEC +*/ +CREATE SEQUENCE [dbo].[BCA_DATA_ADVICE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[BCA_MINOR_TAXING_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[BCA_OWNER_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACCESS_REQUEST_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACCESS_REQUEST_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACQUISITION_ACTIVITY_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACQUISITION_FILE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACQUISITION_FILE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACQUISITION_FILE_NO_SEQ] + AS int + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACQUISITION_FILE_NOTE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACQUISITION_FILE_NOTE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACQUISITION_FILE_PERSON_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACQUISITION_FILE_PERSON_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACQUISITION_OWNER_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACQUISITION_OWNER_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACTIVITY_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACTIVITY_INSTANCE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACTIVITY_INSTANCE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACTIVITY_MODEL_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACTIVITY_MODEL_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACTIVITY_MODEL_TASK_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACTIVITY_SERVICE_FILE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACTIVITY_TASK_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACTIVITY_TEMPLATE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ACTIVITY_TEMPLATE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ADDRESS_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ADDRESS_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ASSET_EVALUATION_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_BUILDING_CONSTRUCTION_TYPE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_BUILDING_EVALUATION_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_BUILDING_FISCAL_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_BUILDING_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_BUILDING_OCCUPANT_TYPE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_BUILDING_PREDOMINATE_USE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_BUSINESS_FUNCTION_CODE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_BUSINESS_FUNCTION_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_CHART_OF_ACCOUNTS_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_CLAIM_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_CLAIM_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_CONTACT_METHOD_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_CONTACT_METHOD_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_COST_TYPE_CODE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_COST_TYPE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_DOCUMENT_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_DOCUMENT_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_DOCUMENT_TYP_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_DOCUMENT_TYPE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_FINANCIAL_ACTIVITY_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_GL_ACCOUNT_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_INSURANCE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_INSURANCE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_L_FILE_NO_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_LEASE_ACTIVITY_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_LEASE_ACTIVITY_PERIOD_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_LEASE_CONSULTATION_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_LEASE_CONSULTATION_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_LEASE_DOCUMENT_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_LEASE_DOCUMENT_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_LEASE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_LEASE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_LEASE_NOTE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_LEASE_NOTE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_LEASE_PAYMENT_FORECAST_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_LEASE_PAYMENT_FORECAST_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_LEASE_PAYMENT_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_LEASE_PAYMENT_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_LEASE_PAYMENT_PERIOD_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_LEASE_PAYMENT_PERIOD_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_LEASE_TENANT_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_LEASE_TENANT_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_LEASE_TERM_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_LEASE_TERM_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_NOTE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_NOTE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ORGANIZATION_ADDRESS_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ORGANIZATION_ADDRESS_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ORGANIZATION_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ORGANIZATION_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PERSON_ADDRESS_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PERSON_ADDRESS_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PERSON_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PERSON_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PERSON_ORGANIZATION_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PERSON_ORGANIZATION_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PRF_PROP_RESEARCH_PURPOSE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 21474483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PRODUCT_BUSINESS_FUNCTION_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PRODUCT_COST_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PRODUCT_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PRODUCT_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PRODUCT_WORK_ACTIVITY_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROJECT_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROJECT_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROJECT_NOTE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROJECT_NOTE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROJECT_NUMBER_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROJECT_ORGANIZATION_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROJECT_PROPERTY_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROJECT_PROPERTY_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROJECT_STATUS_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROJECT_WORKFLOW_MODEL_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROJECT_WORKFLOW_MODEL_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROP_PROP_ADJACENT_LAND_TYPE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROP_PROP_ANOMALY_TYPE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROP_PROP_ROAD_TYPE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROP_PROP_TENURE_TYPE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROPERTY_ACTIVITY_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROPERTY_ACTIVITY_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROPERTY_EVALUATION_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROPERTY_EVALUATION_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROPERTY_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROPERTY_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROPERTY_IMPROVEMENT_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROPERTY_IMPROVEMENT_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROPERTY_LEASE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROPERTY_LEASE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROPERTY_ORGANIZATION_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROPERTY_ORGANIZATION_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROPERTY_RESEARCH_FILE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROPERTY_RESEARCH_FILE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROPERTY_SERVICE_FILE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROPERTY_SERVICE_FILE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROPERTY_STRUCTURE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROPERTY_TAX_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_PROPERTY_TAX_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_REGION_USER_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_REGION_USER_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_RESEARCH_FILE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_RESEARCH_FILE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_RESEARCH_FILE_NOTE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_RESEARCH_FILE_NOTE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_RESEARCH_FILE_PROJECT_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_RESEARCH_FILE_PROJECT_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_RESEARCH_FILE_PURPOSE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_RESEARCH_FILE_PURPOSE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_RESPONSIBILITY_CENTRE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_RESPONSIBILITY_CODE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_RESPONSIBILITY_CODE_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_RESPONSIBILITY_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_RFILE_NUMBER_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ROLE_CLAIM_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ROLE_CLAIM_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ROLE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_ROLE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_SECURITY_DEPOSIT_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_SECURITY_DEPOSIT_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_STATIC_VARIABLE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_STRUCTURE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_TASK_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_TASK_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_TASK_TEMPLATE_ACTIVITY_MODEL_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_TASK_TEMPLATE_ACTIVITY_MODEL_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_TASK_TEMPLATE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_TASK_TEMPLATE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_TENANT_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_USER_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_USER_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_USER_ORGANIZATION_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_USER_ORGANIZATION_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_USER_ROLE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_USER_ROLE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_USER_TASK_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_WORK_ACTIVITY_CODE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_WORK_ACTIVITY_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_WORKFLOW_MODEL_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_WORKFLOW_MODEL_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_YEARLY_FINANCIAL_CODE_H_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE SEQUENCE [dbo].[PIMS_YEARLY_FINANCIAL_CODE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO + +CREATE TABLE [dbo].[BCA_DATA_ADVICE] ( + [DATA_ADVICE_ID] bigint NOT NULL CONSTRAINT [BCDADV_DATA_ADVICE_ID_DEF] DEFAULT (NEXT VALUE FOR [BCA_DATA_ADVICE_ID_SEQ]), + [ROLL_YEAR] int NOT NULL, + [OWNERSHIP_YEAR] int NOT NULL, + [RUN_TYPE] nvarchar(16) NULL, + [START_DATE] date NOT NULL, + [END_DATE] date NOT NULL, + [TOTAL_FOLIO_COUNT] int NULL, + [TAXABLE_FOLIO_COUNT] int NULL, + [TAX_EXEMPT_FOLIO_COUNT] int NULL, + [TOTAL_GROSS_LAND_VALUE] money NULL, + [TOTAL_GROSS_IMPROVEMENT_VALUE] money NULL, + [TOTAL_TAX_EXEMPT_LAND_VALUE] money NULL, + [TOTAL_TAX_EXEMPT_IMPROVEMENT_VALUE] money NULL, + [TOTAL_NET_LAND_VALUE] money NULL, + [TOTAL_NET_IMPROVEMENT_VALUE] money NULL, + [VERSION] nvarchar(50) NOT NULL, + [REQUEST_ID] nvarchar(32) NOT NULL, + [ORDER_ID] nvarchar(32) NOT NULL, + [RUN_DATE] date NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCDADV_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCDADV_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCDADV_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCDADV_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [BCDADV_PK] PRIMARY KEY CLUSTERED([DATA_ADVICE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Primary key' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE', + @level2type = N'Column', @level2name = N'DATA_ADVICE_ID' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The roll year parameter used to generate the Data Advice XML document.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE', + @level2type = N'Column', @level2name = N'ROLL_YEAR' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The ownership year parameter used to generate the Data Advice XML document.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE', + @level2type = N'Column', @level2name = N'OWNERSHIP_YEAR' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Represents a code indicating the run type that generated the Data Advice XML document.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE', + @level2type = N'Column', @level2name = N'RUN_TYPE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The start date of the reporting period for the Data Advice XML document.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE', + @level2type = N'Column', @level2name = N'START_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The end date of the reporting period for the Data Advice XML document.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE', + @level2type = N'Column', @level2name = N'END_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The total number of folios included in the Data Advice XML document.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE', + @level2type = N'Column', @level2name = N'TOTAL_FOLIO_COUNT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The number of taxable folios included in the Data Advice XML document.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE', + @level2type = N'Column', @level2name = N'TAXABLE_FOLIO_COUNT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The number of exempt folios included in the Data Advice XML document.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_FOLIO_COUNT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The gross sum of all land values reported for the folio group.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE', + @level2type = N'Column', @level2name = N'TOTAL_GROSS_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The gross sum of all improvement(s) values reported for the folio group.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE', + @level2type = N'Column', @level2name = N'TOTAL_GROSS_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exempt sum of all land values reported for the folio group.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE', + @level2type = N'Column', @level2name = N'TOTAL_TAX_EXEMPT_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exempt sum of all improvement(s) values reported for the folio group.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE', + @level2type = N'Column', @level2name = N'TOTAL_TAX_EXEMPT_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The net sum of all land values reported for the folio group.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE', + @level2type = N'Column', @level2name = N'TOTAL_NET_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The net sum of all improvement(s) values reported for the folio group.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE', + @level2type = N'Column', @level2name = N'TOTAL_NET_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Represents a version number of one to four integers separated by periods (e.g. 1.0). Version numbers are assumed to be ordered according to standard conventions. If "x" and "y" are version numbers where "x" precedes "y" in sort order, then "x" shall ide' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE', + @level2type = N'Column', @level2name = N'VERSION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A unique identifier for the request that specified the order parameters. The value is intended for BCA internal purposes only.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE', + @level2type = N'Column', @level2name = N'REQUEST_ID' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A unique identifier for the order that generated the Data Advice XML document. The value is intended for BCA internal purposes only.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE', + @level2type = N'Column', @level2name = N'ORDER_ID' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The date when the order was run to generate the Data Advice XML document.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE', + @level2type = N'Column', @level2name = N'RUN_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Represents an entire Data Advice XML delivery for a single order.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE' +GO + +CREATE TABLE [dbo].[BCA_ASSESSMENT_AREA] ( + [AREA_CODE] nvarchar(16) NOT NULL, + [DATA_ADVICE_ID] bigint NULL, + [DESCRIPTION] nvarchar(255) NULL, + [TOTAL_FOLIO_COUNT] int NULL, + [TAXABLE_FOLIO_COUNT] int NULL, + [TAX_EXEMPT_FOLIO_COUNT] int NULL, + [TOTAL_GROSS_LAND_VALUE] money NULL, + [TOTAL_GROSS_IMPROVEMENT_VALUE] money NULL, + [TOTAL_TAX_EXEMPT_LAND_VALUE] money NULL, + [TOTAL_TAX_EXEMPT_IMPROVEMENT_VALUE] money NULL, + [TOTAL_NET_NET_LAND_VALUE] money NULL, + [TOTAL_NET_IMPROVEMENT_VALUE] money NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCASAR_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCASAR_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCASAR_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCASAR_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [BCASAR_PK] PRIMARY KEY CLUSTERED([AREA_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The BCA code that identifies the assessment area.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_ASSESSMENT_AREA', + @level2type = N'Column', @level2name = N'AREA_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The full name/description of the BCA assessment area.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_ASSESSMENT_AREA', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Represents a folio group for a single BCA assessment area.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_ASSESSMENT_AREA' +GO + +CREATE TABLE [dbo].[BCA_AREA_AMENDMENT] ( + [AREA_CODE] nvarchar(16) NULL, + [AMENDMENT_REASON_CODE] nvarchar(16) NULL, + [AMENDMENT_REASON_DESCRIPTION] nvarchar(255) NULL, + [FOLIO_COUNT] int NOT NULL CONSTRAINT [BCAAMD_FOLIO_COUNT_DEF] DEFAULT ((0)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCAAMD_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCAAMD_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCAAMD_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCAAMD_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the amendment type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_AMENDMENT', + @level2type = N'Column', @level2name = N'AMENDMENT_REASON_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A short description of the amendment reason.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_AMENDMENT', + @level2type = N'Column', @level2name = N'AMENDMENT_REASON_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The folio count for the amendment type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_AMENDMENT', + @level2type = N'Column', @level2name = N'FOLIO_COUNT' +GO + +CREATE TABLE [dbo].[BCA_AREA_BCTRANSIT_VALUE] ( + [AREA_CODE] nvarchar(16) NULL, + [PROPERTY_CLASS_CODE] nvarchar(16) NULL, + [PROPERTY_CLASS_DESCRIPTION] nvarchar(255) NULL, + [PROPERTY_SUBCLASS_CODE] nvarchar(16) NULL, + [PROPERTY_SUBCLASS_DESCRIPTION] nvarchar(255) NULL, + [GROSS_LAND_VALUE] money NULL, + [GROSS_IMPROVEMENT_VALUE] money NULL, + [TAX_EXEMPT_LAND_VALUE] money NULL, + [TAX_EXEMPT_IMPROVEMENT_VALUE] money NULL, + [NET_LAND_VALUE] money NULL, + [NET_IMPROVEMENT_VALUE] money NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCATRV_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCATRV_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCATRV_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCATRV_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the area class.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_CLASS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The area class description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_CLASS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the area sub-class.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_SUBCLASS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The area sub-class description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_SUBCLASS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The gross land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'GROSS_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The gross improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'GROSS_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exempt land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exempt improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The net land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'NET_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The net improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'NET_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Values summarized by property class and sub-class for BC Transit purposes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_BCTRANSIT_VALUE' +GO + +CREATE TABLE [dbo].[BCA_AREA_DELETE] ( + [AREA_CODE] nvarchar(16) NULL, + [DELETE_REASON_CODE] nvarchar(16) NOT NULL CONSTRAINT [BCADEL_DELETE_REASON_CODE_DEF] DEFAULT ('UNKNOWN'), + [DELETE_REASON_DESCRIPTION] nvarchar(255) NULL, + [FOLIO_COUNT] int NOT NULL CONSTRAINT [BCADEL_FOLIO_COUNT_DEF] DEFAULT ((0)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCADEL_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCADEL_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCADEL_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCADEL_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the delete reason.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_DELETE', + @level2type = N'Column', @level2name = N'DELETE_REASON_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A short description of the delete reason.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_DELETE', + @level2type = N'Column', @level2name = N'DELETE_REASON_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The folio count for the delete reason.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_DELETE', + @level2type = N'Column', @level2name = N'FOLIO_COUNT' +GO + +CREATE TABLE [dbo].[BCA_AREA_GENERAL_VALUE] ( + [AREA_CODE] nvarchar(16) NULL, + [PROPERTY_CLASS_CODE] nvarchar(16) NULL, + [PROPERTY_CLASS_DESCRIPTION] nvarchar(255) NULL, + [PROPERTY_SUBCLASS_CODE] nvarchar(16) NULL, + [PROPERTY_SUBCLASS_DESCRIPTION] nvarchar(255) NULL, + [GROSS_LAND_VALUE] money NULL, + [GROSS_IMPROVEMENT_VALUE] money NULL, + [TAX_EXEMPT_LAND_VALUE] money NULL, + [TAX_EXEMPT_IMPROVEMENT_VALUE] money NULL, + [NET_LAND_VALUE] money NULL, + [NET_IMPROVEMENT_VALUE] money NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCAGNV_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCAGNV_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCAGNV_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCAGNV_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the area class.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_CLASS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The area class description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_CLASS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the area sub-class.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_SUBCLASS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The area sub-class description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_SUBCLASS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The gross land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'GROSS_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The gross improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'GROSS_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exempt land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exempt improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The net land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'NET_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The net improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'NET_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Values summarized by property class and sub-class for general purposes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_GENERAL_VALUE' +GO + +CREATE TABLE [dbo].[BCA_AREA_SCHOOL_VALUE] ( + [AREA_CODE] nvarchar(16) NULL, + [PROPERTY_CLASS_CODE] nvarchar(16) NULL, + [PROPERTY_CLASS_DESCRIPTION] nvarchar(255) NULL, + [PROPERTY_SUBCLASS_CODE] nvarchar(16) NULL, + [PROPERTY_SUBCLASS_DESCRIPTION] nvarchar(255) NULL, + [GROSS_LAND_VALUE] money NULL, + [GROSS_IMPROVEMENT_VALUE] money NULL, + [TAX_EXEMPT_LAND_VALUE] money NULL, + [TAX_EXEMPT_IMPROVEMENT_VALUE] money NULL, + [NET_LAND_VALUE] money NULL, + [NET_IMPROVEMENT_VALUE] money NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCASCV_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCASCV_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCASCV_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCASCV_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the area class.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_CLASS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The area class description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_CLASS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the area sub-class.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_SUBCLASS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The area sub-class description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_SUBCLASS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The gross land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'GROSS_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The gross improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'GROSS_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exempt land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exempt improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The net land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'NET_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The net improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'NET_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Values summarized by property class and sub-class for school purposes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_AREA_SCHOOL_VALUE' +GO + +CREATE TABLE [dbo].[BCA_DATA_ADVICE_AMENDMENT] ( + [DATA_ADVICE_ID] bigint NULL, + [AMENDMENT_REASON_CODE] nvarchar(16) NULL, + [AMENDMENT_REASON_DESCRIPTION] nvarchar(255) NULL, + [FOLIO_COUNT] int NOT NULL CONSTRAINT [BCDAMD_FOLIO_COUNT_DEF] DEFAULT ((0)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCDAMD_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCDAMD_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCDAMD_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCDAMD_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the amendment type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_AMENDMENT', + @level2type = N'Column', @level2name = N'AMENDMENT_REASON_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A short description of the amendment reason.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_AMENDMENT', + @level2type = N'Column', @level2name = N'AMENDMENT_REASON_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The folio count for the amendment type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_AMENDMENT', + @level2type = N'Column', @level2name = N'FOLIO_COUNT' +GO + +CREATE TABLE [dbo].[BCA_DATA_ADVICE_BCTRANSIT_VALUE] ( + [DATA_ADVICE_ID] bigint NULL, + [PROPERTY_CLASS_CODE] nvarchar(16) NULL, + [PROPERTY_CLASS_DESCRIPTION] nvarchar(255) NULL, + [PROPERTY_SUBCLASS_CODE] nvarchar(16) NULL, + [PROPERTY_SUBCLASS_DESCRIPTION] nvarchar(255) NULL, + [GROSS_LAND_VALUE] money NULL, + [GROSS_IMPROVEMENT_VALUE] money NULL, + [TAX_EXEMPT_LAND_VALUE] money NULL, + [TAX_EXEMPT_IMPROVEMENT_VALUE] money NULL, + [NET_LAND_VALUE] money NULL, + [NET_IMPROVEMENT_VALUE] money NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCDTRV_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCDTRV_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCDTRV_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCDTRV_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the property class.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_CLASS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The property class description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_CLASS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the property sub-class.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_SUBCLASS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The property sub-class description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_SUBCLASS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The gross land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'GROSS_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The gross improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'GROSS_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exempt land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exempt improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The net land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'NET_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The net improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'NET_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Values summarized by property class and sub-class for BC Transit purposes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_BCTRANSIT_VALUE' +GO + +CREATE TABLE [dbo].[BCA_DATA_ADVICE_DELETE] ( + [DATA_ADVICE_ID] bigint NULL, + [DELETE_REASON_CODE] nvarchar(16) NOT NULL CONSTRAINT [BCDDEL_DELETE_REASON_CODE_DEF] DEFAULT ('UNKNOWN'), + [DELETE_REASON_DESCRIPTION] nvarchar(255) NULL, + [FOLIO_COUNT] int NOT NULL CONSTRAINT [BCDDEL_FOLIO_COUNT_DEF] DEFAULT ((0)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCDDEL_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCDDEL_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCDDEL_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCDDEL_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the delete reason.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_DELETE', + @level2type = N'Column', @level2name = N'DELETE_REASON_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A short description of the delete reason.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_DELETE', + @level2type = N'Column', @level2name = N'DELETE_REASON_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The folio count for the delete reason.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_DELETE', + @level2type = N'Column', @level2name = N'FOLIO_COUNT' +GO + +CREATE TABLE [dbo].[BCA_DATA_ADVICE_GENERAL_VALUE] ( + [DATA_ADVICE_ID] bigint NULL, + [PROPERTY_CLASS_CODE] nvarchar(16) NULL, + [PROPERTY_CLASS_DESCRIPTION] nvarchar(255) NULL, + [PROPERTY_SUBCLASS_CODE] nvarchar(16) NULL, + [PROPERTY_SUBCLASS_DESCRIPTION] nvarchar(255) NULL, + [GROSS_LAND_VALUE] money NULL, + [GROSS_IMPROVEMENT_VALUE] money NULL, + [TAX_EXEMPT_LAND_VALUE] money NULL, + [TAX_EXEMPT_IMPROVEMENT_VALUE] money NULL, + [NET_LAND_VALUE] money NULL, + [NET_IMPROVEMENT_VALUE] money NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCDGNV_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCDGNV_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCDGNV_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCDGNV_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the property class.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_CLASS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The property class description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_CLASS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the property sub-class.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_SUBCLASS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The property sub-class description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_SUBCLASS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The gross land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'GROSS_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The gross improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'GROSS_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exempt land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exempt improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The net land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'NET_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The net improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'NET_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Values summarized by property class and sub-class for general purposes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_GENERAL_VALUE' +GO + +CREATE TABLE [dbo].[BCA_DATA_ADVICE_SCHOOL_VALUE] ( + [DATA_ADVICE_ID] bigint NULL, + [PROPERTY_CLASS_CODE] nvarchar(16) NULL, + [PROPERTY_CLASS_DESCRIPTION] nvarchar(255) NULL, + [PROPERTY_SUBCLASS_CODE] nvarchar(16) NULL, + [PROPERTY_SUBCLASS_DESCRIPTION] nvarchar(255) NULL, + [GROSS_LAND_VALUE] money NULL, + [GROSS_IMPROVEMENT_VALUE] money NULL, + [TAX_EXEMPT_LAND_VALUE] money NULL, + [TAX_EXEMPT_IMPROVEMENT_VALUE] money NULL, + [NET_LAND_VALUE] money NULL, + [NET_IMPROVEMENT_VALUE] money NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCDSCV_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCDSCV_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCDSCV_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCDSCV_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the property class.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_CLASS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The property class description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_CLASS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the property sub-class.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_SUBCLASS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The property sub-class description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_SUBCLASS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The gross land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'GROSS_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The gross improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'GROSS_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exempt land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exempt improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The net land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'NET_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The net improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'NET_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Values summarized by property class and sub-class for school purposes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DATA_ADVICE_SCHOOL_VALUE' +GO + +CREATE TABLE [dbo].[BCA_JURISDICTION] ( + [JURISDICTION_CODE] nvarchar(16) NOT NULL, + [AREA_CODE] nvarchar(16) NULL, + [DESCRIPTION] nvarchar(255) NULL, + [TOTAL_FOLIO_COUNT] int NULL, + [TAXABLE_FOLIO_COUNT] int NULL, + [TAX_EXEMPT_FOLIO_COUNT] int NULL, + [TOTAL_GROSS_LAND_VALUE] money NULL, + [TOTAL_GROSS_IMPROVEMENT_VALUE] money NULL, + [TOTAL_TAX_EXEMPT_LAND_VALUE] money NULL, + [TOTAL_TAX_EXEMPT_IMPROVEMENT_VALUE] money NULL, + [TOTAL_NET_LAND_VALUE] money NULL, + [TOTAL_NET_IMPROVEMENT_VALUE] money NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCAJUR_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCAJUR_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCAJUR_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCAJUR_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [BCAJUR_PK] PRIMARY KEY CLUSTERED([JURISDICTION_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The BCA code that identifies the jurisdiction.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION', + @level2type = N'Column', @level2name = N'JURISDICTION_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The short name/description of the jurisdiction.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO + +CREATE TABLE [dbo].[BCA_FOLIO_RECORD] ( + [ROLL_NUMBER] nvarchar(32) NOT NULL, + [JURISDICTION_CODE] nvarchar(16) NULL, + [FOLIO_STATUS] nvarchar(16) NULL, + [FOLIO_STATUS_DESCRIPTION] nvarchar(255) NULL, + [ACTION] nvarchar(16) NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCAFOR_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCAFOR_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCAFOR_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCAFOR_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [BCAFOR_PK] PRIMARY KEY CLUSTERED([ROLL_NUMBER]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The unique identifier for the specific folio within its jurisdiction.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_RECORD', + @level2type = N'Column', @level2name = N'ROLL_NUMBER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates the status of the folio at the time the Data Advice XML document was generated.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_RECORD', + @level2type = N'Column', @level2name = N'FOLIO_STATUS' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The short name/description of the folio status.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_RECORD', + @level2type = N'Column', @level2name = N'FOLIO_STATUS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Specifies the folio action: Add, Delete.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_RECORD', + @level2type = N'Column', @level2name = N'ACTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Represents a data record for a single folio and its associated attributes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_RECORD' +GO + +CREATE TABLE [dbo].[BCA_MINOR_TAXING] ( + [MINOR_TAXING_ID] bigint NOT NULL CONSTRAINT [BCMNTX_MINOR_TAXING_ID_DEF] DEFAULT (NEXT VALUE FOR [BCA_MINOR_TAXING_ID_SEQ]), + [ROLL_NUMBER] nvarchar(32) NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCMNTX_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCMNTX_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCMNTX_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCMNTX_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [BCMNTX_PK] PRIMARY KEY CLUSTERED([MINOR_TAXING_ID]) +) +GO + +CREATE TABLE [dbo].[BCA_DEFINED] ( + [MINOR_TAXING_ID] bigint NULL, + [MINOR_TAXING_CODE] nvarchar(16) NULL, + [MINOR_TAXING_CODE_SHORT] nvarchar(1) NULL, + [MINOR_TAXING_DESCRIPTION] nvarchar(255) NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCADFN_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCADFN_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCADFN_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCADFN_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code identifying the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DEFINED', + @level2type = N'Column', @level2name = N'MINOR_TAXING_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A one-character code identifying the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DEFINED', + @level2type = N'Column', @level2name = N'MINOR_TAXING_CODE_SHORT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The full name/description of the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DEFINED', + @level2type = N'Column', @level2name = N'MINOR_TAXING_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The Defined minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_DEFINED' +GO + +CREATE TABLE [dbo].[BCA_ELECTORAL_AREA] ( + [MINOR_TAXING_ID] bigint NULL, + [MINOR_TAXING_CODE] nvarchar(16) NULL, + [MINOR_TAXING_CODE_SHORT] nvarchar(1) NULL, + [MINOR_TAXING_DESCRIPTION] nvarchar(255) NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCELCT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCELCT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCELCT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCELCT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code identifying the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_ELECTORAL_AREA', + @level2type = N'Column', @level2name = N'MINOR_TAXING_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A one-character code identifying the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_ELECTORAL_AREA', + @level2type = N'Column', @level2name = N'MINOR_TAXING_CODE_SHORT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The full name/description of the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_ELECTORAL_AREA', + @level2type = N'Column', @level2name = N'MINOR_TAXING_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The Electoral Areas minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_ELECTORAL_AREA' +GO + +CREATE TABLE [dbo].[BCA_FOLIO_ADDRESS] ( + [ROLL_NUMBER] nvarchar(32) NULL, + [ADDRESS_ID] nvarchar(255) NULL, + [PRIMARY_FLAG] bit NULL CONSTRAINT [BCFADR_PRIMARY_FLAG_DEF] DEFAULT (CONVERT([bit],(0))), + [UNIT_NUMBER] nvarchar(255) NULL, + [STREET_NUMBER] nvarchar(255) NULL, + [STREET_DIRECTION_PREFIX] nvarchar(255) NULL, + [STREET_NAME] nvarchar(255) NULL, + [STREET_TYPE] nvarchar(255) NULL, + [STREET_DIRECTION_SUFFIX] nvarchar(255) NULL, + [CITY] nvarchar(255) NULL, + [PROVINCE_STATE] nvarchar(255) NULL, + [POSTAL_ZIP] nvarchar(255) NULL, + [MAP_REFERENCE_NUMBER] nvarchar(255) NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCFADR_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCFADR_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCFADR_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCFADR_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Unique address identifier provided by BC Assessment.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_ADDRESS', + @level2type = N'Column', @level2name = N'ADDRESS_ID' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates whether the address is the primary address associated with the folio.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_ADDRESS', + @level2type = N'Column', @level2name = N'PRIMARY_FLAG' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Apartment or suite or unit number.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_ADDRESS', + @level2type = N'Column', @level2name = N'UNIT_NUMBER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Street number assigned by a local government (municipality).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_ADDRESS', + @level2type = N'Column', @level2name = N'STREET_NUMBER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Further refinement of the street name to facilitate location of the folio (pre-directional).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_ADDRESS', + @level2type = N'Column', @level2name = N'STREET_DIRECTION_PREFIX' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Street identifier assigned by a local government (municipality).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_ADDRESS', + @level2type = N'Column', @level2name = N'STREET_NAME' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Road, Street, Place, etc.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_ADDRESS', + @level2type = N'Column', @level2name = N'STREET_TYPE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Further refinement of the street name to facilitate location of the folio (post-directional).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_ADDRESS', + @level2type = N'Column', @level2name = N'STREET_DIRECTION_SUFFIX' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'City name.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_ADDRESS', + @level2type = N'Column', @level2name = N'CITY' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Province or state.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_ADDRESS', + @level2type = N'Column', @level2name = N'PROVINCE_STATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Postal or zip code.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_ADDRESS', + @level2type = N'Column', @level2name = N'POSTAL_ZIP' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Formerly National Topographic System (NTS) number. A geographic reference.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_ADDRESS', + @level2type = N'Column', @level2name = N'MAP_REFERENCE_NUMBER' +GO + +CREATE TABLE [dbo].[BCA_FOLIO_AMENDMENT] ( + [ROLL_NUMBER] nvarchar(32) NULL, + [AMENDMENT_TYPE] nvarchar(16) NULL, + [AMENDMENT_TYPE_DESCRIPTION] nvarchar(255) NULL, + [AMENDMENT_REASON_CODE] nvarchar(16) NULL, + [AMENDMENT_REASON_DESCRIPTION] nvarchar(255) NULL, + [SUPP_OCCUPANCY_DATE] date NULL, + [SUPP_OCCUPANCY_CODE] nvarchar(16) NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCAFAM_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCAFAM_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCAFAM_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCAFAM_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code identifying the process that resulted in the amendment.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_AMENDMENT', + @level2type = N'Column', @level2name = N'AMENDMENT_TYPE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A short description about the Amendment Type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_AMENDMENT', + @level2type = N'Column', @level2name = N'AMENDMENT_TYPE_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Describes the reason for the amendment.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_AMENDMENT', + @level2type = N'Column', @level2name = N'AMENDMENT_REASON_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A short description about the Amendment Reason.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_AMENDMENT', + @level2type = N'Column', @level2name = N'AMENDMENT_REASON_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Specifies the date when a SUPP occupancy began or ended.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_AMENDMENT', + @level2type = N'Column', @level2name = N'SUPP_OCCUPANCY_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Specifies whether the SUPP occupancy date indicates a begin (B) or end (E) date.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_AMENDMENT', + @level2type = N'Column', @level2name = N'SUPP_OCCUPANCY_CODE' +GO + +CREATE TABLE [dbo].[BCA_FOLIO_BCTRANSIT_VALUE] ( + [ROLL_NUMBER] nvarchar(32) NULL, + [PROPERTY_CLASS_CODE] nvarchar(16) NULL, + [PROPERTY_CLASS_DESCRIPTION] nvarchar(255) NULL, + [PROPERTY_SUBCLASS_CODE] nvarchar(16) NULL, + [PROPERTY_SUBCLASS_DESCRIPTION] nvarchar(255) NULL, + [GROSS_LAND_VALUE] money NULL, + [GROSS_IMPROVEMENT_VALUE] money NULL, + [TAX_EXEMPT_LAND_VALUE] money NULL, + [TAX_EXEMPT_IMPROVEMENT_VALUE] money NULL, + [NET_LAND_VALUE] money NULL, + [NET_IMPROVEMENT_VALUE] money NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCFTRV_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCFTRV_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCFTRV_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCFTRV_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the jurisdiction class.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_CLASS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The jurisdiction class description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_CLASS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the jurisdiction sub-class.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_SUBCLASS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The jurisdiction sub-class description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_SUBCLASS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The gross land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'GROSS_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The gross improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'GROSS_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exempt land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exempt improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The net land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'NET_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The net improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'NET_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Values summarized by property class and sub-class for BC Transit purposes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_BCTRANSIT_VALUE' +GO + +CREATE TABLE [dbo].[BCA_FOLIO_DESCRIPTION] ( + [ROLL_NUMBER] nvarchar(32) NULL, + [NEIGHBOURHOOD_CODE] nvarchar(16) NULL, + [NEIGHBOURHOOD_DESCRIPTION] nvarchar(255) NULL, + [ACTUAL_USE_CODE] nvarchar(16) NULL, + [ACTUAL_USE_DESCRIPTION] nvarchar(255) NULL, + [VACANT_FLAG] bit NULL, + [BCTRANSIT_FLAG] bit NULL, + [POLICE_TAX_FLAG] bit NULL, + [ADD_SCHOOL_TAX_3M_TO_4M_FLAG] bit NULL, + [ADD_SCHOOL_TAX_GREATER_4M_FLAG] bit NULL, + [CANDIDATE_FOR_SPEC_TAX_FLAG] bit NULL, + [ALR_CODE] nvarchar(16) NULL, + [ALR_DESCRIPTION] nvarchar(255) NULL, + [TENURE_CODE] nvarchar(16) NULL, + [TENURE_DESCRIPTION] nvarchar(255) NULL, + [PARKING_AREA] nvarchar(255) NULL, + [LAND_DIMENSION_TYPE] nvarchar(255) NULL, + [LAND_DIMENSION_TYPE_DESCRIPTION] nvarchar(255) NULL, + [LAND_DIMENSION] nvarchar(255) NULL, + [LAND_WIDTH] nvarchar(255) NULL, + [LAND_DEPTH] nvarchar(255) NULL, + [SCHOOL_DISTRICT_CODE] nvarchar(16) NULL, + [SCHOOL_DISTRICT_DESCRIPTION] nvarchar(255) NULL, + [REGIONAL_DISTRICT_CODE] nvarchar(16) NULL, + [REGIONAL_DISTRICT_DESCRIPTION] nvarchar(255) NULL, + [REGIONAL_HOSPITAL_DISTRICT_CODE] nvarchar(16) NULL, + [REGIONAL_HOSPITAL_DISTRICT_DESCRIPTION] nvarchar(255) NULL, + [PREDOMINANT_MANUAL_CLASS_CODE] nvarchar(16) NULL, + [PREDOMINANT_MANUAL_CLASS_DESCRIPTION] nvarchar(255) NULL, + [PREDOMINANT_PERCENT_DEVIATION] decimal(9,3) NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCAFDE_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCAFDE_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCAFDE_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCAFDE_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code identifying the neighbourhood.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'NEIGHBOURHOOD_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The full name/description of the neighbourhood.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'NEIGHBOURHOOD_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Represents the code for an entry in a lookup table.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'ACTUAL_USE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The full name/description of the Actual Use.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'ACTUAL_USE_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates whether the folio is vacant or occupied.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'VACANT_FLAG' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates whether the folio is subject to BC Transit taxation.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'BCTRANSIT_FLAG' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates whether the folio is subject to exemption.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'POLICE_TAX_FLAG' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates whether the folio is a subject to additional school tax (residential portion assessed between $3 and $4 million).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'ADD_SCHOOL_TAX_3M_TO_4M_FLAG' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates whether the folio is a subject to additional school tax (residential portion assessed over $4 million).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'ADD_SCHOOL_TAX_GREATER_4M_FLAG' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates whether the folio is a candidate for speculation tax.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'CANDIDATE_FOR_SPEC_TAX_FLAG' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The Agricultural Land Reserve identifier for the folio.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'ALR_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A short description about the ALR code.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'ALR_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Identifies the type of ownership or occupation on land.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'TENURE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The short name/description of the tenure code.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'TENURE_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Identifies the total value of the parking area (TransLink values only for Roll Years 2005 to 2007).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'PARKING_AREA' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the type of land measurements being used.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'LAND_DIMENSION_TYPE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A short description about the land dimension type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'LAND_DIMENSION_TYPE_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Freeform land measurement.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'LAND_DIMENSION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Land width measurement.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'LAND_WIDTH' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Land depth measurement.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'LAND_DEPTH' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code identifying the special district.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'SCHOOL_DISTRICT_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The full name/description of the special district.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'SCHOOL_DISTRICT_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code identifying the special district.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'REGIONAL_DISTRICT_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The full name/description of the special district.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'REGIONAL_DISTRICT_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code identifying the special district.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'REGIONAL_HOSPITAL_DISTRICT_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The full name/description of the special district.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'REGIONAL_HOSPITAL_DISTRICT_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code identifying the state and condition of improvements and structural components.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'PREDOMINANT_MANUAL_CLASS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A short description about the manual class code.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'PREDOMINANT_MANUAL_CLASS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A percentage deviation from the manual class code.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION', + @level2type = N'Column', @level2name = N'PREDOMINANT_PERCENT_DEVIATION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Describes general characteristics of the folio.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_DESCRIPTION' +GO + +CREATE TABLE [dbo].[BCA_FOLIO_FARM] ( + [ROLL_NUMBER] nvarchar(32) NULL, + [FARM_NUMBER] nvarchar(255) NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCFARM_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCFARM_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCFARM_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCFARM_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A BCA farm identification number' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_FARM', + @level2type = N'Column', @level2name = N'FARM_NUMBER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Farm associated with this folio.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_FARM' +GO + +CREATE TABLE [dbo].[BCA_FOLIO_GENERAL_VALUE] ( + [ROLL_NUMBER] nvarchar(32) NULL, + [PROPERTY_CLASS_CODE] nvarchar(16) NULL, + [PROPERTY_CLASS_DESCRIPTION] nvarchar(255) NULL, + [PROPERTY_SUBCLASS_CODE] nvarchar(16) NULL, + [PROPERTY_SUBCLASS_DESCRIPTION] nvarchar(255) NULL, + [GROSS_LAND_VALUE] money NULL, + [GROSS_IMPROVEMENT_VALUE] money NULL, + [TAX_EXEMPT_LAND_VALUE] money NULL, + [TAX_EXEMPT_IMPROVEMENT_VALUE] money NULL, + [NET_LAND_VALUE] money NULL, + [NET_IMPROVEMENT_VALUE] money NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCFGNV_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCFGNV_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCFGNV_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCFGNV_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the jurisdiction class.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_CLASS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The jurisdiction class description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_CLASS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the jurisdiction sub-class.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_SUBCLASS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The jurisdiction sub-class description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_SUBCLASS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The gross land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'GROSS_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The gross improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'GROSS_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exempt land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exempt improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The net land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'NET_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The net improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'NET_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Values summarized by property class and sub-class for general purposes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_GENERAL_VALUE' +GO + +CREATE TABLE [dbo].[BCA_FOLIO_LAND_CHARACTERISTIC] ( + [ROLL_NUMBER] nvarchar(32) NULL, + [LAND_CHARACTERISTIC_CODE] nvarchar(16) NULL, + [LAND_CHARACTERISTIC_DESCRIPTION] nvarchar(255) NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCLCHR_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCLCHR_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCLCHR_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCLCHR_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating a characteristic of the land.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LAND_CHARACTERISTIC', + @level2type = N'Column', @level2name = N'LAND_CHARACTERISTIC_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A description of the LandCharacteristicCode.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LAND_CHARACTERISTIC', + @level2type = N'Column', @level2name = N'LAND_CHARACTERISTIC_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Represents a land characteristic.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LAND_CHARACTERISTIC' +GO + +CREATE TABLE [dbo].[BCA_FOLIO_LEGAL_DESCRIPTION] ( + [ROLL_NUMBER] nvarchar(32) NULL, + [FORMATTED_LEGAL_DESCRIPTION] nvarchar(1024) NULL, + [PID] nvarchar(255) NULL, + [LOT] nvarchar(255) NULL, + [STRATA_LOT] nvarchar(255) NULL, + [PARCEL] nvarchar(255) NULL, + [BLOCK] nvarchar(255) NULL, + [SUB_BLOCK] nvarchar(255) NULL, + [PLAN_NUMBER] nvarchar(255) NULL, + [SUB_LOT] nvarchar(255) NULL, + [PART_1] nvarchar(255) NULL, + [PART_2] nvarchar(255) NULL, + [PART_3] nvarchar(255) NULL, + [PART_4] nvarchar(255) NULL, + [DISTRICT_LOT] nvarchar(255) NULL, + [LEGAL_SUBDIVISION] nvarchar(255) NULL, + [SECTION] nvarchar(255) NULL, + [TOWNSHIP] nvarchar(255) NULL, + [RANGE] nvarchar(255) NULL, + [MERIDIAN] nvarchar(255) NULL, + [MERIDIAN_SHORT] nvarchar(255) NULL, + [BCA_GROUP] nvarchar(255) NULL, + [LAND_DISTRICT] nvarchar(255) NULL, + [LAND_DISTRICT_DESCRIPTION] nvarchar(255) NULL, + [PORTION] nvarchar(255) NULL, + [EXCEPT_PLAN] nvarchar(255) NULL, + [FIRST_NATION_RESERVE_NUMBER] nvarchar(255) NULL, + [FIRST_NATION_RESERVE_DESCRIPTION] nvarchar(255) NULL, + [LEASE_LICENSE_NUMBER] nvarchar(255) NULL, + [LAND_BRANCH_FILE_NUMBER] nvarchar(255) NULL, + [AIR_SPACE_PARCEL_NUMBER] nvarchar(255) NULL, + [NTS_LOCATION] nvarchar(255) NULL, + [LEGAL_TEXT] nvarchar(1024) NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCAFLD_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCAFLD_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCAFLD_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCAFLD_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A formatted string of all the legal description attributes with appropriate labels.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'FORMATTED_LEGAL_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The PID that uniquely identifies the legal description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'PID' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Lot, part of the legal description of a parcel of land as provided by the Land Title and Survey Authority.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'LOT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Strata Lot, part of the legal description of a parcel of land as provided by the Land Title and Survey Authority.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'STRATA_LOT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Parcel, part of the legal description of a parcel of land as provided by the Land Title and Survey Authority.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'PARCEL' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Block, part of the legal description of a parcel of land as provided by the Land Title and Survey Authority.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'BLOCK' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Sub block, part of the legal description of a parcel of land as provided by the Land Title and Survey Authority.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'SUB_BLOCK' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Plan number, part of the legal description of a parcel of land as provided by the Land Title and Survey Authority.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'PLAN_NUMBER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Suburban lot, part of the legal description of a parcel of land as provided by the Land Title and Survey Authority.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'SUB_LOT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Part 1, part of the legal description of a parcel of land as provided by the Land Title and Survey Authority.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'PART_1' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Part 2, part of the legal description of a parcel of land as provided by the Land Title and Survey Authority.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'PART_2' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Part 3, part of the legal description of a parcel of land as provided by the Land Title and Survey Authority.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'PART_3' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Part 4, part of the legal description of a parcel of land as provided by the Land Title and Survey Authority.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'PART_4' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'District lot, part of the legal description of a parcel of land as provided by the Land Title and Survey Authority.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'DISTRICT_LOT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Legal subdivision, part of the legal description of a parcel of land as provided by the Land Title and Survey Authority.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'LEGAL_SUBDIVISION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Section, part of the legal description of a parcel of land as provided by the Land Title and Survey Authority.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'SECTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Township, part of the legal description of a parcel of land as provided by the Land Title and Survey Authority.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'TOWNSHIP' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Range, part of the legal description of a parcel of land as provided by the Land Title and Survey Authority.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'RANGE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Meridian Code, identifies a line of longitude, part of the legal description of a parcel of land as provided by the Land Title and Survey Authority.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'MERIDIAN' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Meridian Code, identifies a line of longitude, part of the legal description of a parcel of land as provided by the Land Title and Survey Authority.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'MERIDIAN_SHORT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The legal description group as defined by BCA.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'BCA_GROUP' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Land district, part of the legal description of a parcel of land as provided by the Land Title and Survey Authority.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'LAND_DISTRICT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The short name/description of the LandDistrict.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'LAND_DISTRICT_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Portion, part of the legal description of a parcel of land as provided by the Land Title and Survey Authority.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'PORTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Except plan, part of the legal description of a parcel of land as provided by the Land Title and Survey Authority.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'EXCEPT_PLAN' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Identifier assigned to FN reserve properties by BCA.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'FIRST_NATION_RESERVE_NUMBER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The short name/description of the FirstNationReserveNumber.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'FIRST_NATION_RESERVE_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Lease licence number as defined by the Ministry of Forest, Lands, and Natural Resource Operations and other valid sources of leases added to the assessment roll.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'LEASE_LICENSE_NUMBER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Lands Branch File Number as defined by the Ministry of Forest, Lands, and Natural Resource Operations.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'LAND_BRANCH_FILE_NUMBER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A volumetric parcel identifier.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'AIR_SPACE_PARCEL_NUMBER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'National Topographic System Reference Number.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'NTS_LOCATION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Freeform legal text, part of the legal description of a parcel of land as provided by the Land Title and Survey Authority.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_LEGAL_DESCRIPTION', + @level2type = N'Column', @level2name = N'LEGAL_TEXT' +GO + +CREATE TABLE [dbo].[BCA_FOLIO_MANAGED_FOREST] ( + [ROLL_NUMBER] nvarchar(32) NULL, + [FARM_NUMBER] nvarchar(255) NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCMFOR_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCMFOR_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCMFOR_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCMFOR_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A BCA farm identification number' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_MANAGED_FOREST', + @level2type = N'Column', @level2name = N'FARM_NUMBER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Managed forest information associated with this folio.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_MANAGED_FOREST' +GO + +CREATE TABLE [dbo].[BCA_FOLIO_MANUFACTURED_HOME] ( + [ROLL_NUMBER] nvarchar(32) NULL, + [MH_REGISTRY_NUMBER] nvarchar(255) NULL, + [MH_BAY_NUMBER] nvarchar(255) NULL, + [MH_PARK] nvarchar(255) NULL, + [MH_PARK_ROLL_NUMBER] nvarchar(255) NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCMANH_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCMANH_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCMANH_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCMANH_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Registration number for a manufactured home (MH) by the Manufactured Home Registry.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_MANUFACTURED_HOME', + @level2type = N'Column', @level2name = N'MH_REGISTRY_NUMBER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Bay number associated with the manufactured home.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_MANUFACTURED_HOME', + @level2type = N'Column', @level2name = N'MH_BAY_NUMBER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The name or other identification of the park associated with the manufactured home.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_MANUFACTURED_HOME', + @level2type = N'Column', @level2name = N'MH_PARK' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Park roll number associated with the manufactured home.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_MANUFACTURED_HOME', + @level2type = N'Column', @level2name = N'MH_PARK_ROLL_NUMBER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Provides information for a single manufactured home.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_MANUFACTURED_HOME' +GO + +CREATE TABLE [dbo].[BCA_FOLIO_OIL_AND_GAS] ( + [ROLL_NUMBER] nvarchar(32) NULL, + [FARM_NUMBER] nvarchar(255) NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCOILG_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCOILG_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCOILG_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCOILG_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A BCA farm identification number' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_OIL_AND_GAS', + @level2type = N'Column', @level2name = N'FARM_NUMBER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Oil and gas information associated with this folio.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_OIL_AND_GAS' +GO + +CREATE TABLE [dbo].[BCA_FOLIO_SALES] ( + [ROLL_NUMBER] nvarchar(32) NULL, + [DOCUMENT_NUMBER] nvarchar(255) NULL, + [SALE_DATE] date NULL, + [SALE_PRICE] money NULL, + [SALE_STATUS_CODE] nvarchar(16) NULL, + [SALE_STATUS_DESCRIPTION] nvarchar(255) NULL, + [CONVEYANCE_DATE] date NULL, + [CONVEYANCE_PRICE] money NULL, + [CONVEYANCE_TYPE] nvarchar(16) NULL, + [CONVEYANCE_TYPE_DESCRIPTION] nvarchar(255) NULL, + [REJECT_REASON_CODE] nvarchar(16) NULL, + [REJECT_REASON_DESCRIPTION] nvarchar(255) NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCAFSA_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCAFSA_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCAFSA_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCAFSA_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The LTSA Document Number assigned in regard to an Indefeasible State of Title Certificate, which indicates ownership or title.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_SALES', + @level2type = N'Column', @level2name = N'DOCUMENT_NUMBER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The date the LTSA document was received for registration at Land Title and Survey Authority, subject to adjustment by BCA.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_SALES', + @level2type = N'Column', @level2name = N'SALE_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The price provided on the LTSA document as received for registration at Land Title and Survey Authority, subject to adjustment by BCA.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_SALES', + @level2type = N'Column', @level2name = N'SALE_PRICE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The code applied to the sale record by BCA property assessment staff to identify eligibility for inclusion into overall market analysis.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_SALES', + @level2type = N'Column', @level2name = N'SALE_STATUS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A short description about the sale status code.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_SALES', + @level2type = N'Column', @level2name = N'SALE_STATUS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The date associated with this sale.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_SALES', + @level2type = N'Column', @level2name = N'CONVEYANCE_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The amount of money exchanged as part of this sale.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_SALES', + @level2type = N'Column', @level2name = N'CONVEYANCE_PRICE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The conveyance type code identifying the characteristics of the sale.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_SALES', + @level2type = N'Column', @level2name = N'CONVEYANCE_TYPE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A short description about the conveyance type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_SALES', + @level2type = N'Column', @level2name = N'CONVEYANCE_TYPE_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The reject reason code identifying why a sale was rejected.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_SALES', + @level2type = N'Column', @level2name = N'REJECT_REASON_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A short description about the reject reason code.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_SALES', + @level2type = N'Column', @level2name = N'REJECT_REASON_DESCRIPTION' +GO + +CREATE TABLE [dbo].[BCA_FOLIO_SCHOOL_VALUE] ( + [ROLL_NUMBER] nvarchar(32) NULL, + [PROPERTY_CLASS_CODE] nvarchar(16) NULL, + [PROPERTY_CLASS_DESCRIPTION] nvarchar(255) NULL, + [PROPERTY_SUBCLASS_CODE] nvarchar(16) NULL, + [PROPERTY_SUBCLASS_DESCRIPTION] nvarchar(255) NULL, + [GROSS_LAND_VALUE] money NULL, + [GROSS_IMPROVEMENT_VALUE] money NULL, + [TAX_EXEMPT_LAND_VALUE] money NULL, + [TAX_EXEMPT_IMPROVEMENT_VALUE] money NULL, + [NET_LAND_VALUE] money NULL, + [NET_IMPROVEMENT_VALUE] money NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCFSCV_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCFSCV_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCFSCV_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCFSCV_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the jurisdiction class.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_CLASS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The jurisdiction class description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_CLASS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the jurisdiction sub-class.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_SUBCLASS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The jurisdiction sub-class description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_SUBCLASS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The gross land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'GROSS_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The gross improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'GROSS_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exempt land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exempt improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The net land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'NET_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The net improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'NET_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Values summarized by property class and sub-class for school purposes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_SCHOOL_VALUE' +GO + +CREATE TABLE [dbo].[BCA_FOLIO_VALUATION] ( + [ROLL_NUMBER] nvarchar(32) NULL, + [TAX_EXEMPT_CODE] nvarchar(16) NULL, + [TAX_EXEMPT_DESCRIPTION] nvarchar(255) NULL, + [PROPERTY_CLASS_CODE] nvarchar(16) NULL, + [PROPERTY_CLASS_DESCRIPTION] nvarchar(255) NULL, + [LAND_VALUE] money NULL, + [IMPROVEMENT_VALUE] money NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCAVAL_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCAVAL_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCAVAL_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCAVAL_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exemption code.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_VALUATION', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exemption code description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_VALUATION', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the property class.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_VALUATION', + @level2type = N'Column', @level2name = N'PROPERTY_CLASS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The code class description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_VALUATION', + @level2type = N'Column', @level2name = N'PROPERTY_CLASS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_VALUATION', + @level2type = N'Column', @level2name = N'LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The improvement(s) value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_FOLIO_VALUATION', + @level2type = N'Column', @level2name = N'IMPROVEMENT_VALUE' +GO + +CREATE TABLE [dbo].[BCA_GENERAL_SERVICE] ( + [MINOR_TAXING_ID] bigint NULL, + [MINOR_TAXING_CODE] nvarchar(16) NULL, + [MINOR_TAXING_CODE_SHORT] nvarchar(1) NULL, + [MINOR_TAXING_DESCRIPTION] nvarchar(255) NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCGSVC_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCGSVC_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCGSVC_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCGSVC_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code identifying the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_GENERAL_SERVICE', + @level2type = N'Column', @level2name = N'MINOR_TAXING_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A one-character code identifying the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_GENERAL_SERVICE', + @level2type = N'Column', @level2name = N'MINOR_TAXING_CODE_SHORT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The full name/description of the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_GENERAL_SERVICE', + @level2type = N'Column', @level2name = N'MINOR_TAXING_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The General Services minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_GENERAL_SERVICE' +GO + +CREATE TABLE [dbo].[BCA_IMPROVEMENT_DISTRICT] ( + [MINOR_TAXING_ID] bigint NULL, + [MINOR_TAXING_CODE] nvarchar(16) NULL, + [MINOR_TAXING_CODE_SHORT] nvarchar(1) NULL, + [MINOR_TAXING_DESCRIPTION] nvarchar(255) NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCIMPD_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCIMPD_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCIMPD_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCIMPD_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code identifying the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_IMPROVEMENT_DISTRICT', + @level2type = N'Column', @level2name = N'MINOR_TAXING_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A one-character code identifying the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_IMPROVEMENT_DISTRICT', + @level2type = N'Column', @level2name = N'MINOR_TAXING_CODE_SHORT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The full name/description of the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_IMPROVEMENT_DISTRICT', + @level2type = N'Column', @level2name = N'MINOR_TAXING_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The Improvement Districts minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_IMPROVEMENT_DISTRICT' +GO + +CREATE TABLE [dbo].[BCA_ISLANDS_TRUST] ( + [MINOR_TAXING_ID] bigint NULL, + [MINOR_TAXING_CODE] nvarchar(16) NULL, + [MINOR_TAXING_CODE_SHORT] nvarchar(1) NULL, + [MINOR_TAXING_DESCRIPTION] nvarchar(255) NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCISLT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCISLT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCISLT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCISLT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code identifying the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_ISLANDS_TRUST', + @level2type = N'Column', @level2name = N'MINOR_TAXING_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A one-character code identifying the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_ISLANDS_TRUST', + @level2type = N'Column', @level2name = N'MINOR_TAXING_CODE_SHORT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The full name/description of the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_ISLANDS_TRUST', + @level2type = N'Column', @level2name = N'MINOR_TAXING_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The Islands Trusts minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_ISLANDS_TRUST' +GO + +CREATE TABLE [dbo].[BCA_JURISDICTION_AMENDMENT] ( + [JURISDICTION_CODE] nvarchar(16) NULL, + [AMENDMENT_REASON_CODE] nvarchar(16) NULL, + [AMENDMENT_REASON_DESCRIPTION] nvarchar(255) NULL, + [FOLIO_COUNT] int NOT NULL CONSTRAINT [BCJAMD_FOLIO_COUNT_DEF] DEFAULT ((0)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCJAMD_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCJAMD_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCJAMD_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCJAMD_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the amendment type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_AMENDMENT', + @level2type = N'Column', @level2name = N'AMENDMENT_REASON_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A short description of the amendment reason.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_AMENDMENT', + @level2type = N'Column', @level2name = N'AMENDMENT_REASON_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The folio count for the amendment type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_AMENDMENT', + @level2type = N'Column', @level2name = N'FOLIO_COUNT' +GO + +CREATE TABLE [dbo].[BCA_JURISDICTION_BCTRANSIT_VALUE] ( + [JURISDICTION_CODE] nvarchar(16) NULL, + [PROPERTY_CLASS_CODE] nvarchar(16) NULL, + [PROPERTY_CLASS_DESCRIPTION] nvarchar(255) NULL, + [PROPERTY_SUBCLASS_CODE] nvarchar(16) NULL, + [PROPERTY_SUBCLASS_DESCRIPTION] nvarchar(255) NULL, + [GROSS_LAND_VALUE] money NULL, + [GROSS_IMPROVEMENT_VALUE] money NULL, + [TAX_EXEMPT_LAND_VALUE] money NULL, + [TAX_EXEMPT_IMPROVEMENT_VALUE] money NULL, + [NET_LAND_VALUE] money NULL, + [NET_IMPROVEMENT_VALUE] money NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCJTRV_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCJTRV_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCJTRV_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCJTRV_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the jurisdiction class.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_CLASS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The jurisdiction class description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_CLASS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the jurisdiction sub-class.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_SUBCLASS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The jurisdiction sub-class description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_SUBCLASS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The gross land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'GROSS_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The gross improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'GROSS_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exempt land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exempt improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The net land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'NET_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The net improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_BCTRANSIT_VALUE', + @level2type = N'Column', @level2name = N'NET_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Values summarized by property class and sub-class for BC Transit purposes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_BCTRANSIT_VALUE' +GO + +CREATE TABLE [dbo].[BCA_JURISDICTION_DELETE] ( + [JURISDICTION_CODE] nvarchar(16) NULL, + [DELETE_REASON_CODE] nvarchar(16) NOT NULL CONSTRAINT [BCJDEL_DELETE_REASON_CODE_DEF] DEFAULT ('UNKNOWN'), + [DELETE_REASON_DESCRIPTION] nvarchar(255) NULL, + [FOLIO_COUNT] int NOT NULL CONSTRAINT [BCJDEL_FOLIO_COUNT_DEF] DEFAULT ((0)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCJDEL_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCJDEL_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCJDEL_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCJDEL_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the delete reason.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_DELETE', + @level2type = N'Column', @level2name = N'DELETE_REASON_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A short description of the delete reason.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_DELETE', + @level2type = N'Column', @level2name = N'DELETE_REASON_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The folio count for the delete reason.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_DELETE', + @level2type = N'Column', @level2name = N'FOLIO_COUNT' +GO + +CREATE TABLE [dbo].[BCA_JURISDICTION_GENERAL_VALUE] ( + [JURISDICTION_CODE] nvarchar(16) NULL, + [PROPERTY_CLASS_CODE] nvarchar(16) NULL, + [PROPERTY_CLASS_DESCRIPTION] nvarchar(255) NULL, + [PROPERTY_SUBCLASS_CODE] nvarchar(16) NULL, + [PROPERTY_SUBCLASS_DESCRIPTION] nvarchar(255) NULL, + [GROSS_LAND_VALUE] money NULL, + [GROSS_IMPROVEMENT_VALUE] money NULL, + [TAX_EXEMPT_LAND_VALUE] money NULL, + [TAX_EXEMPT_IMPROVEMENT_VALUE] money NULL, + [NET_LAND_VALUE] money NULL, + [NET_IMPROVEMENT_VALUE] money NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCJGNV_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCJGNV_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCJGNV_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCJGNV_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the jurisdiction class.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_CLASS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The jurisdiction class description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_CLASS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the jurisdiction sub-class.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_SUBCLASS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The jurisdiction sub-class description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_SUBCLASS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The gross land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'GROSS_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The gross improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'GROSS_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exempt land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exempt improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The net land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'NET_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The net improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_GENERAL_VALUE', + @level2type = N'Column', @level2name = N'NET_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Values summarized by property class and sub-class for general purposes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_GENERAL_VALUE' +GO + +CREATE TABLE [dbo].[BCA_JURISDICTION_SCHOOL_VALUE] ( + [JURISDICTION_CODE] nvarchar(16) NULL, + [PROPERTY_CLASS_CODE] nvarchar(16) NULL, + [PROPERTY_CLASS_DESCRIPTION] nvarchar(255) NULL, + [PROPERTY_SUBCLASS_CODE] nvarchar(16) NULL, + [PROPERTY_SUBCLASS_DESCRIPTION] nvarchar(255) NULL, + [GROSS_LAND_VALUE] money NULL, + [GROSS_IMPROVEMENT_VALUE] money NULL, + [TAX_EXEMPT_LAND_VALUE] money NULL, + [TAX_EXEMPT_IMPROVEMENT_VALUE] money NULL, + [NET_LAND_VALUE] money NULL, + [NET_IMPROVEMENT_VALUE] money NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCJSCV_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCJSCV_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCJSCV_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCJSCV_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the jurisdiction class.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_CLASS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The jurisdiction class description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_CLASS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code indicating the jurisdiction sub-class.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_SUBCLASS_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The jurisdiction sub-class description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'PROPERTY_SUBCLASS_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The gross land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'GROSS_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The gross improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'GROSS_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exempt land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The tax exempt improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'TAX_EXEMPT_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The net land value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'NET_LAND_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The net improvement value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_SCHOOL_VALUE', + @level2type = N'Column', @level2name = N'NET_IMPROVEMENT_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Values summarized by property class and sub-class for school purposes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_JURISDICTION_SCHOOL_VALUE' +GO + +CREATE TABLE [dbo].[BCA_LOCAL_AREA] ( + [MINOR_TAXING_ID] bigint NULL, + [MINOR_TAXING_CODE] nvarchar(16) NULL, + [MINOR_TAXING_CODE_SHORT] nvarchar(1) NULL, + [MINOR_TAXING_DESCRIPTION] nvarchar(255) NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCLCLA_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCLCLA_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCLCLA_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCLCLA_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code identifying the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_LOCAL_AREA', + @level2type = N'Column', @level2name = N'MINOR_TAXING_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A one-character code identifying the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_LOCAL_AREA', + @level2type = N'Column', @level2name = N'MINOR_TAXING_CODE_SHORT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The full name/description of the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_LOCAL_AREA', + @level2type = N'Column', @level2name = N'MINOR_TAXING_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The Local Areas minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_LOCAL_AREA' +GO + +CREATE TABLE [dbo].[BCA_OWNERSHIP_GROUP] ( + [OWNERSHIP_GROUP_ID] nvarchar(32) NOT NULL, + [ROLL_NUMBER] nvarchar(32) NULL, + [ASSESSMENT_NOTICE_RETURNED] bit NULL CONSTRAINT [BCAOWG_ASSESSMENT_NOTICE_RETURNED_DEF] DEFAULT (CONVERT([bit],(0))), + [ASSESSMENT_NOTICE_SUPPRESSED] bit NULL CONSTRAINT [BCAOWG_ASSESSMENT_NOTICE_SUPPRESSED_DEF] DEFAULT (CONVERT([bit],(0))), + [CHANGE_TYPE] nvarchar(16) NULL, + [CHANGE_TYPE_DESCRIPTION] nvarchar(255) NULL, + [CHANGE_DATE] date NULL, + [FORMATTED_MAILING_ADDR_LINE_1] nvarchar(40) NULL, + [FORMATTED_MAILING_ADDR_LINE_2] nvarchar(40) NULL, + [FORMATTED_MAILING_ADDR_LINE_3] nvarchar(40) NULL, + [FORMATTED_MAILING_ADDR_LINE_4] nvarchar(40) NULL, + [FORMATTED_MAILING_ADDR_LINE_5] nvarchar(40) NULL, + [FORMATTED_MAILING_ADDR_LINE_6] nvarchar(40) NULL, + [MAILING_ADDR_ATTENTION] nvarchar(255) NULL, + [MAILING_ADDR_CARE_OF] nvarchar(255) NULL, + [MAILING_ADDR_FLOOR] nvarchar(255) NULL, + [MAILING_ADDR_UNIT_NUMBER] nvarchar(255) NULL, + [MAILING_ADDR_STREET_DIRECTION_PREFIX] nvarchar(255) NULL, + [MAILING_ADDR_STREET_NUMBER] nvarchar(255) NULL, + [MAILING_ADDR_STREET_NAME] nvarchar(255) NULL, + [MAILING_ADDR_STREET_TYPE] nvarchar(255) NULL, + [MAILING_ADDR_STREET_DIRECTION_SUFFIX] nvarchar(255) NULL, + [MAILING_ADDR_CITY] nvarchar(255) NULL, + [MAILING_ADDR_PROVINCE_STATE] nvarchar(255) NULL, + [MAILING_ADDR_COUNTRY] nvarchar(255) NULL, + [MAILING_ADDR_POSTAL_ZIP] nvarchar(255) NULL, + [MAILING_ADDR_FREE_FORM] nvarchar(255) NULL, + [MAILING_ADDR_COMPARTMENT] nvarchar(255) NULL, + [MAILING_ADDR_DELIVERY_INSTALLATION_TYPE] nvarchar(255) NULL, + [MAILING_ADDR_MODE_OF_DELIVERY] nvarchar(255) NULL, + [MAILING_ADDR_MODE_OF_DELIVERY_VALUE] nvarchar(255) NULL, + [MAILING_ADDR_SITE] nvarchar(255) NULL, + [MAILING_ADDR_BULK_MAIL_CODE] nvarchar(255) NULL, + [CHANGE_SOURCE] nvarchar(16) NULL, + [CHANGE_SOURCE_DESCRIPTION] nvarchar(255) NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCAOWG_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCAOWG_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCAOWG_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCAOWG_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [BCAOWG_PK] PRIMARY KEY CLUSTERED([OWNERSHIP_GROUP_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Identifies the group of property owners.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'OWNERSHIP_GROUP_ID' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates whether the Assessment Notice for the current roll year was returned' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'ASSESSMENT_NOTICE_RETURNED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates whether BCA has not sent out an Assessment Notice to this owner based' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'ASSESSMENT_NOTICE_SUPPRESSED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code identifying the type of the most recent change to the ownership information.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'CHANGE_TYPE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The short name/description of the ChangeType.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'CHANGE_TYPE_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The date of the most recent change to the ownership information.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'CHANGE_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Formatted address line for mailing purposes: Line 1 consists of C/O label and value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'FORMATTED_MAILING_ADDR_LINE_1' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Formatted address line for mailing purposes: Line 2 consists of Attention label and value.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'FORMATTED_MAILING_ADDR_LINE_2' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Formatted address line for mailing purposes: Line 3 consists of value of freeform address field.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'FORMATTED_MAILING_ADDR_LINE_3' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Formatted address line for mailing purposes: Line 4 consists of Unit and Floor Number label and value if there is not enough room on Line 5.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'FORMATTED_MAILING_ADDR_LINE_4' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Formatted address line for mailing purposes: Line 5 consists of street number, name, type and directional data.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'FORMATTED_MAILING_ADDR_LINE_5' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Formatted address line for mailing purposes: Line 6 consists of Site and Compartment label and values' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'FORMATTED_MAILING_ADDR_LINE_6' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Attention, as required for mail to be sent to the owners mailing address.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'MAILING_ADDR_ATTENTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Care Of, as required for mail to be sent to the owners mailing address.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'MAILING_ADDR_CARE_OF' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Floor, as required for mail to be sent to the owners mailing address.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'MAILING_ADDR_FLOOR' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Apartment or Suite or Unit Number, as required for mail to be sent to the owners mailing address.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'MAILING_ADDR_UNIT_NUMBER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Further refinement of the street name to facilitate location of building (pre-directional), as required for mail to be sent to the owners mailing address.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'MAILING_ADDR_STREET_DIRECTION_PREFIX' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Street number assigned by a local government (municipality), as required for mail to be sent to the owners mailing address.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'MAILING_ADDR_STREET_NUMBER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Road name assigned by a local government (municipality), as required for mail to be sent to the owners mailing address.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'MAILING_ADDR_STREET_NAME' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Street type assigned by a local government (municipality), as required for mail to be sent to the owners mailing address.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'MAILING_ADDR_STREET_TYPE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Further refinement of the street name to facilitate location of building (post-directional), as required for mail to be sent to the owners mailing address.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'MAILING_ADDR_STREET_DIRECTION_SUFFIX' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'City, as required for mail to be sent to the owners mailing address.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'MAILING_ADDR_CITY' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Province or state, as required for mail to be sent to the owners mailing address.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'MAILING_ADDR_PROVINCE_STATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Country, as required for mail to be sent to the owners mailing address.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'MAILING_ADDR_COUNTRY' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Postal or zip code, as required for mail to be sent to the owners mailing address.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'MAILING_ADDR_POSTAL_ZIP' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Additional mailing address information not fitting in any of the predefined fields, as required for mail to be sent to the owners mailing address.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'MAILING_ADDR_FREE_FORM' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Compartment, as required for mail to be sent to the owners mailing address.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'MAILING_ADDR_COMPARTMENT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Delivery installation type, as required for mail to be sent to the owners mailing address. E.g. Station, Post Office, Letter Carrier Depot, etc.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'MAILING_ADDR_DELIVERY_INSTALLATION_TYPE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Mode of Delivery, as required for mail to be sent to the owners mailing address. e.g. Rural Route, Post Office Box, General Delivery, etc.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'MAILING_ADDR_MODE_OF_DELIVERY' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Mode of delivery value, as required for mail to be sent to the owners mailing address. e.g. RR 876, PO Box 19, etc.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'MAILING_ADDR_MODE_OF_DELIVERY_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Site value, as required for mail to be sent to the owners mailing address. e.g. Site 10.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'MAILING_ADDR_SITE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Identifies when five or more properties are linked to a name record or when five or more name records with a single mailing address are linked to a folio.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'MAILING_ADDR_BULK_MAIL_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Identifies the source of the most recent change to the ownership information.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'CHANGE_SOURCE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The short name/description of the ChangeSource.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP', + @level2type = N'Column', @level2name = N'CHANGE_SOURCE_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Represents a group of property owners with details in common.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNERSHIP_GROUP' +GO + +CREATE TABLE [dbo].[BCA_OWNER] ( + [OWNER_ID] bigint NOT NULL CONSTRAINT [BCAOWN_OWNER_ID_DEF] DEFAULT (NEXT VALUE FOR [BCA_OWNER_ID_SEQ]), + [OWNERSHIP_GROUP_ID] nvarchar(32) NOT NULL, + [FIRST_NAME] nvarchar(255) NULL, + [MIDDLE_NAME] nvarchar(255) NULL, + [MIDDLE_INITIAL] nvarchar(1) NULL, + [COMPANY_OR_LAST_NAME] nvarchar(255) NULL, + [OWNER_SEQUENCE_ID] nvarchar(32) NULL, + [EQUITY_TYPE] nvarchar(16) NULL, + [EQUITY_TYPE_DESCRIPTION] nvarchar(255) NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCAOWN_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCAOWN_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCAOWN_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCAOWN_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [BCAOWN_PK] PRIMARY KEY CLUSTERED([OWNER_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The first name of an owner.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNER', + @level2type = N'Column', @level2name = N'FIRST_NAME' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The middle name of an owner.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNER', + @level2type = N'Column', @level2name = N'MIDDLE_NAME' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The middle initial of an owner.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNER', + @level2type = N'Column', @level2name = N'MIDDLE_INITIAL' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The company name or last name of an owner.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNER', + @level2type = N'Column', @level2name = N'COMPANY_OR_LAST_NAME' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Identifies the sequence owners should be listed within an ownership group.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNER', + @level2type = N'Column', @level2name = N'OWNER_SEQUENCE_ID' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Identifies the type of relationship an owner/lessee/occupier has to the folio.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNER', + @level2type = N'Column', @level2name = N'EQUITY_TYPE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The short name/description of the equity type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_OWNER', + @level2type = N'Column', @level2name = N'EQUITY_TYPE_DESCRIPTION' +GO + +CREATE TABLE [dbo].[BCA_SERVICE_AREA] ( + [MINOR_TAXING_ID] bigint NULL, + [MINOR_TAXING_CODE] nvarchar(16) NULL, + [MINOR_TAXING_CODE_SHORT] nvarchar(1) NULL, + [MINOR_TAXING_DESCRIPTION] nvarchar(255) NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCSVCA_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCSVCA_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCSVCA_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCSVCA_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code identifying the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_SERVICE_AREA', + @level2type = N'Column', @level2name = N'MINOR_TAXING_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A one-character code identifying the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_SERVICE_AREA', + @level2type = N'Column', @level2name = N'MINOR_TAXING_CODE_SHORT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The full name/description of the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_SERVICE_AREA', + @level2type = N'Column', @level2name = N'MINOR_TAXING_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The Service Areas minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_SERVICE_AREA' +GO + +CREATE TABLE [dbo].[BCA_SPECIFIED_MUNICIPAL] ( + [MINOR_TAXING_ID] bigint NULL, + [MINOR_TAXING_CODE] nvarchar(16) NULL, + [MINOR_TAXING_CODE_SHORT] nvarchar(1) NULL, + [MINOR_TAXING_DESCRIPTION] nvarchar(255) NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCSPMU_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCSPMU_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCSPMU_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCSPMU_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code identifying the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_SPECIFIED_MUNICIPAL', + @level2type = N'Column', @level2name = N'MINOR_TAXING_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A one-character code identifying the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_SPECIFIED_MUNICIPAL', + @level2type = N'Column', @level2name = N'MINOR_TAXING_CODE_SHORT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The full name/description of the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_SPECIFIED_MUNICIPAL', + @level2type = N'Column', @level2name = N'MINOR_TAXING_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The Specified Municipal minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_SPECIFIED_MUNICIPAL' +GO + +CREATE TABLE [dbo].[BCA_SPECIFIED_REGIONAL] ( + [MINOR_TAXING_ID] bigint NULL, + [MINOR_TAXING_CODE] nvarchar(16) NULL, + [MINOR_TAXING_CODE_SHORT] nvarchar(1) NULL, + [MINOR_TAXING_DESCRIPTION] nvarchar(255) NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCSPRG_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCSPRG_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BCSPRG_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BCSPRG_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()) + ) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code identifying the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_SPECIFIED_REGIONAL', + @level2type = N'Column', @level2name = N'MINOR_TAXING_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A one-character code identifying the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_SPECIFIED_REGIONAL', + @level2type = N'Column', @level2name = N'MINOR_TAXING_CODE_SHORT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The full name/description of the minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_SPECIFIED_REGIONAL', + @level2type = N'Column', @level2name = N'MINOR_TAXING_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The Specified Regional minor taxing jurisdiction (MTXJ).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'BCA_SPECIFIED_REGIONAL' +GO + +CREATE TABLE [dbo].[PIMSX_TableDefinitions] ( + [TABLE_NAME] nvarchar(255) NULL, + [TABLE_ALIAS] nvarchar(255) NULL, + [HIST_REQUIRED] nvarchar(1) NULL, + [DESCRIPTION] nvarchar(max) NULL + ) +GO + +CREATE TABLE [dbo].[PIMS_ACCESS_REQUEST_STATUS_TYPE] ( + [ACCESS_REQUEST_STATUS_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [ARQSTT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ARQSTT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ARQSTT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ARQSTT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ARQSTT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ARQSTT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ARQSTT_PK] PRIMARY KEY CLUSTERED([ACCESS_REQUEST_STATUS_TYPE_CODE]) +) +GO + +CREATE TABLE [dbo].[PIMS_REGION] ( + [REGION_CODE] smallint NOT NULL, + [REGION_NAME] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [REGION_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [REGION_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [REGION_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [REGION_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [REGION_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [REGION_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [REGION_PK] PRIMARY KEY CLUSTERED([REGION_CODE]) +) +GO + +CREATE TABLE [dbo].[PIMS_ROLE] ( + [ROLE_ID] bigint NOT NULL CONSTRAINT [ROLE_ROLE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_ROLE_ID_SEQ]), + [ROLE_UID] uniqueidentifier NOT NULL, + [KEYCLOAK_GROUP_ID] uniqueidentifier NULL, + [NAME] nvarchar(100) NOT NULL, + [DESCRIPTION] nvarchar(500) NULL, + [IS_PUBLIC] bit NOT NULL CONSTRAINT [ROLE_IS_PUBLIC_DEF] DEFAULT (CONVERT([bit],(0))), + [IS_DISABLED] bit NOT NULL CONSTRAINT [ROLE_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [SORT_ORDER] int NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ROLE_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ROLE_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ROLE_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ROLE_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ROLE_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ROLE_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ROLE_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ROLE_PK] PRIMARY KEY CLUSTERED([ROLE_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_PERSON] ( + [PERSON_ID] bigint NOT NULL CONSTRAINT [PERSON_PERSON_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_PERSON_ID_SEQ]), + [SURNAME] nvarchar(50) NOT NULL, + [FIRST_NAME] nvarchar(50) NOT NULL, + [MIDDLE_NAMES] nvarchar(200) NULL, + [NAME_SUFFIX] nvarchar(50) NULL, + [PREFERRED_NAME] nvarchar(200) NULL, + [BIRTH_DATE] date NULL, + [COMMENT] nvarchar(2000) NULL, + [ADDRESS_COMMENT] nvarchar(2000) NULL, + [USE_ORGANIZATION_ADDRESS] bit NULL CONSTRAINT [PERSON_USE_ORGANIZATION_ADDRESS_DEF] DEFAULT (CONVERT([bit],(0))), + [IS_DISABLED] bit NOT NULL CONSTRAINT [PERSON_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PERSON_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PERSON_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PERSON_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PERSON_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PERSON_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PERSON_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PERSON_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PERSON_PK] PRIMARY KEY CLUSTERED([PERSON_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_USER] ( + [USER_ID] bigint NOT NULL CONSTRAINT [USER_USER_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_USER_ID_SEQ]), + [PERSON_ID] bigint NOT NULL, + [BUSINESS_IDENTIFIER_VALUE] nvarchar(30) NOT NULL, + [GUID_IDENTIFIER_VALUE] uniqueidentifier NULL, + [POSITION] nvarchar(100) NULL, + [NOTE] nvarchar(1000) NULL, + [LAST_LOGIN] datetime NULL, + [APPROVED_BY_ID] nvarchar(30) NULL, + [ISSUE_DATE] datetime NOT NULL, + [EXPIRY_DATE] datetime NULL, + [IS_DISABLED] bit NULL CONSTRAINT [USER_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [USER_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [USER_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [USER_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [USER_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [USER_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [USER_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [USER_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [USER_PK] PRIMARY KEY CLUSTERED([USER_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Accepted identifier of a user (e.g. IDIR)' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_USER', + @level2type = N'Column', @level2name = N'BUSINESS_IDENTIFIER_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Unique GUID associated with the user.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_USER', + @level2type = N'Column', @level2name = N'GUID_IDENTIFIER_VALUE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Role/position assigned to the user.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_USER', + @level2type = N'Column', @level2name = N'POSITION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Notes associated with this user.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_USER', + @level2type = N'Column', @level2name = N'NOTE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Last date/time the user was logged into PIMS.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_USER', + @level2type = N'Column', @level2name = N'LAST_LOGIN' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Identifier of the person that approved the creation of this PIMS user.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_USER', + @level2type = N'Column', @level2name = N'APPROVED_BY_ID' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date/time that this user was identified as a PIMS user,' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_USER', + @level2type = N'Column', @level2name = N'ISSUE_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Expiry date/time of this user account.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_USER', + @level2type = N'Column', @level2name = N'EXPIRY_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if this user account is disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_USER', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Information associated with an identified PIMS system user.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_USER' +GO + +CREATE TABLE [dbo].[PIMS_ACCESS_REQUEST] ( + [ACCESS_REQUEST_ID] bigint NOT NULL CONSTRAINT [ACRQST_ACCESS_REQUEST_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_ACCESS_REQUEST_ID_SEQ]), + [USER_ID] bigint NOT NULL, + [ROLE_ID] bigint NULL, + [ACCESS_REQUEST_STATUS_TYPE_CODE] nvarchar(20) NOT NULL, + [REGION_CODE] smallint NOT NULL CONSTRAINT [ACRQST_REGION_CODE_DEF] DEFAULT ((4)), + [NOTE] nvarchar(max) NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ACRQST_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACRQST_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACRQST_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACRQST_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACRQST_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACRQST_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACRQST_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ACRQST_PK] PRIMARY KEY CLUSTERED([ACCESS_REQUEST_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Note associated with this access request.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACCESS_REQUEST', + @level2type = N'Column', @level2name = N'NOTE' +GO + +CREATE TABLE [dbo].[PIMS_ACCESS_REQUEST_HIST] ( + [_ACCESS_REQUEST_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_ACCESS_REQUEST_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ACCESS_REQUEST_ID] bigint NOT NULL, + [USER_ID] bigint NOT NULL, + [ROLE_ID] bigint NULL, + [ACCESS_REQUEST_STATUS_TYPE_CODE] nvarchar(20) NOT NULL, + [REGION_CODE] smallint NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_ACRQST_H_PK] PRIMARY KEY CLUSTERED([_ACCESS_REQUEST_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_DISTRICT] ( + [DISTRICT_CODE] smallint NOT NULL, + [REGION_CODE] smallint NOT NULL, + [DISTRICT_NAME] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [DSTRCT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [DSTRCT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [DSTRCT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [DSTRCT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [DSTRCT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [DSTRCT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [DSTRCT_PK] PRIMARY KEY CLUSTERED([DISTRICT_CODE]) +) +GO + +CREATE TABLE [dbo].[PIMS_ORG_IDENTIFIER_TYPE] ( + [ORG_IDENTIFIER_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [ORGIDT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ORGIDT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ORGIDT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ORGIDT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ORGIDT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ORGIDT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ORGIDT_PK] PRIMARY KEY CLUSTERED([ORG_IDENTIFIER_TYPE_CODE]) +) +GO + +CREATE TABLE [dbo].[PIMS_ORGANIZATION_TYPE] ( + [ORGANIZATION_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [ORGTYP_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ORGTYP_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ORGTYP_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ORGTYP_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ORGTYP_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ORGTYP_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ORGTYP_PK] PRIMARY KEY CLUSTERED([ORGANIZATION_TYPE_CODE]) +) +GO + +CREATE TABLE [dbo].[PIMS_ORGANIZATION] ( + [ORGANIZATION_ID] bigint NOT NULL CONSTRAINT [ORG_ORGANIZATION_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_ORGANIZATION_ID_SEQ]), + [PRNT_ORGANIZATION_ID] bigint NULL, + [REGION_CODE] smallint NULL, + [DISTRICT_CODE] smallint NULL, + [ORGANIZATION_TYPE_CODE] nvarchar(20) NULL, + [ORG_IDENTIFIER_TYPE_CODE] nvarchar(20) NULL, + [ORGANIZATION_IDENTIFIER] nvarchar(100) NULL, + [ORGANIZATION_NAME] nvarchar(200) NOT NULL, + [ORGANIZATION_ALIAS] nvarchar(200) NULL, + [INCORPORATION_NUMBER] nvarchar(50) NULL, + [WEBSITE] nvarchar(200) NULL, + [COMMENT] nvarchar(2000) NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [ORG_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ORG_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ORG_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ORG_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ORG_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ORG_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ORG_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ORG_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ORG_PK] PRIMARY KEY CLUSTERED([ORGANIZATION_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Incorporation number of the orgnization' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ORGANIZATION', + @level2type = N'Column', @level2name = N'INCORPORATION_NUMBER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Information related to an organization identified in the PSP system.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ORGANIZATION' +GO + +CREATE TABLE [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION] ( + [ACCESS_REQUEST_ORGANIZATION_ID] bigint NOT NULL CONSTRAINT [ACRQOR_ACCESS_REQUEST_ORGANIZATION_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_ACCESS_REQUEST_ORGANIZATION_ID_SEQ]), + [ORGANIZATION_ID] bigint NULL, + [ACCESS_REQUEST_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [ACRQOR_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ACRQOR_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACRQOR_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACRQOR_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACRQOR_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACRQOR_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACRQOR_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACRQOR_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ACRQOR_PK] PRIMARY KEY CLUSTERED([ACCESS_REQUEST_ORGANIZATION_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION_HIST] ( + [_ACCESS_REQUEST_ORGANIZATION_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_ACCESS_REQUEST_ORGANIZATION_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ACCESS_REQUEST_ORGANIZATION_ID] bigint NOT NULL, + [ORGANIZATION_ID] bigint NULL, + [ACCESS_REQUEST_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_ACRQOR_H_PK] PRIMARY KEY CLUSTERED([_ACCESS_REQUEST_ORGANIZATION_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_ACQ_PHYS_FILE_STATUS_TYPE] ( + [ACQ_PHYS_FILE_STATUS_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [ACQPFS_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ACQPFS_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQPFS_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQPFS_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQPFS_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQPFS_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ACQPFS_PK] PRIMARY KEY CLUSTERED([ACQ_PHYS_FILE_STATUS_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value for the acquistion physical file status type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQ_PHYS_FILE_STATUS_TYPE', + @level2type = N'Column', @level2name = N'ACQ_PHYS_FILE_STATUS_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the acquistion physical file status type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQ_PHYS_FILE_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code value is inactive.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQ_PHYS_FILE_STATUS_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Designates a preferred presentation order of the code descriptions.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQ_PHYS_FILE_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Codified values for the acquistion physical file status type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQ_PHYS_FILE_STATUS_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_ACQUISITION_FILE_STATUS_TYPE] ( + [ACQUISITION_FILE_STATUS_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [ACQFST_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ACQFST_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQFST_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQFST_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQFST_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQFST_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ACQFST_PK] PRIMARY KEY CLUSTERED([ACQUISITION_FILE_STATUS_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value for the acquistion file status.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE_STATUS_TYPE', + @level2type = N'Column', @level2name = N'ACQUISITION_FILE_STATUS_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the acquistion file status.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code value is inactive.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE_STATUS_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Designates a preferred presentation order of the code descriptions.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Codified values for the acquistion file status.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE_STATUS_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_ACQUISITION_FUNDING_TYPE] ( + [ACQUISITION_FUNDING_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [ACQFTY_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ACQFTY_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQFTY_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQFTY_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQFTY_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQFTY_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ACQFTY_PK] PRIMARY KEY CLUSTERED([ACQUISITION_FUNDING_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value for the acquistion funding type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FUNDING_TYPE', + @level2type = N'Column', @level2name = N'ACQUISITION_FUNDING_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the acquistion funding type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FUNDING_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code value is inactive.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FUNDING_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Designates a preferred presentation order of the code descriptions.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FUNDING_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Codified values for the acquistion funding type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FUNDING_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_ACQUISITION_TYPE] ( + [ACQUISITION_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [ACQTYP_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ACQTYP_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQTYP_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQTYP_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQTYP_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQTYP_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ACQTYP_PK] PRIMARY KEY CLUSTERED([ACQUISITION_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value for the acquistion type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_TYPE', + @level2type = N'Column', @level2name = N'ACQUISITION_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the acquistion type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code value is inactive.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Designates a preferred presentation order of the code descriptions.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Codified values for the acquistion type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE] ( + [ID] bigint NOT NULL CONSTRAINT [BIZFCN_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_BUSINESS_FUNCTION_ID_SEQ]), + [CODE] nvarchar(20) NOT NULL CONSTRAINT [BIZFCN_CODE_DEF] DEFAULT (''), + [DESCRIPTION] nvarchar(200) NOT NULL, + [DISPLAY_ORDER] int NULL, + [EFFECTIVE_DATE] datetime NOT NULL CONSTRAINT [BIZFCN_EFFECTIVE_DATE_DEF] DEFAULT (getutcdate()), + [EXPIRY_DATE] datetime NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [BIZFCN_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BIZFCN_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BIZFCN_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [BIZFCN_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BIZFCN_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BIZFCN_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [BIZFCN_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BIZFCN_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BIZFCN_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [BIZFCN_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [BIZFCN_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [BIZFCN_PK] PRIMARY KEY CLUSTERED([ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'System-generated primary key.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_BUSINESS_FUNCTION_CODE', + @level2type = N'Column', @level2name = N'ID' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Name of the code.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_BUSINESS_FUNCTION_CODE', + @level2type = N'Column', @level2name = N'CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Descriptive value of a code within the set.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_BUSINESS_FUNCTION_CODE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Designates a preferred presentation order of the code descriptions.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_BUSINESS_FUNCTION_CODE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date the code became effective.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_BUSINESS_FUNCTION_CODE', + @level2type = N'Column', @level2name = N'EFFECTIVE_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date the code ceased to be in effect.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_BUSINESS_FUNCTION_CODE', + @level2type = N'Column', @level2name = N'EXPIRY_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code and description of the business function codes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_BUSINESS_FUNCTION_CODE' +GO + +CREATE TABLE [dbo].[PIMS_COST_TYPE_CODE] ( + [ID] bigint NOT NULL CONSTRAINT [COSTYP_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_COST_TYPE_ID_SEQ]), + [CODE] nvarchar(20) NOT NULL CONSTRAINT [COSTYP_CODE_DEF] DEFAULT (''), + [DESCRIPTION] nvarchar(200) NOT NULL, + [DISPLAY_ORDER] int NULL, + [EFFECTIVE_DATE] datetime NOT NULL CONSTRAINT [COSTYP_EFFECTIVE_DATE_DEF] DEFAULT (getutcdate()), + [EXPIRY_DATE] datetime NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [COSTYP_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [COSTYP_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [COSTYP_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [COSTYP_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [COSTYP_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [COSTYP_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [COSTYP_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [COSTYP_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [COSTYP_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [COSTYP_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [COSTYP_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [COSTYP_PK] PRIMARY KEY CLUSTERED([ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'System-generated primary key.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_COST_TYPE_CODE', + @level2type = N'Column', @level2name = N'ID' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Name of the code.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_COST_TYPE_CODE', + @level2type = N'Column', @level2name = N'CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Descriptive value of a code within the set.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_COST_TYPE_CODE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Designates a preferred presentation order of the code descriptions.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_COST_TYPE_CODE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date the code became effective.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_COST_TYPE_CODE', + @level2type = N'Column', @level2name = N'EFFECTIVE_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date the code ceased to be in effect.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_COST_TYPE_CODE', + @level2type = N'Column', @level2name = N'EXPIRY_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code and description of the cost type codes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_COST_TYPE_CODE' +GO + +CREATE TABLE [dbo].[PIMS_PROJECT_STATUS_TYPE] ( + [PROJECT_STATUS_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [PRJSTS_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PRJSTS_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRJSTS_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRJSTS_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRJSTS_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRJSTS_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PRJSTY_PK] PRIMARY KEY CLUSTERED([PROJECT_STATUS_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value for the project status.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROJECT_STATUS_TYPE', + @level2type = N'Column', @level2name = N'PROJECT_STATUS_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the project status.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROJECT_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code value is inactive.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROJECT_STATUS_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Designates a preferred presentation order of the code descriptions.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROJECT_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Codified values for the project status.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROJECT_STATUS_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE] ( + [ID] bigint NOT NULL CONSTRAINT [WRKACT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_WORK_ACTIVITY_ID_SEQ]), + [CODE] nvarchar(20) NOT NULL CONSTRAINT [WRKACT_CODE_DEF] DEFAULT (''), + [DESCRIPTION] nvarchar(200) NOT NULL, + [DISPLAY_ORDER] int NULL, + [EFFECTIVE_DATE] datetime NOT NULL CONSTRAINT [WRKACT_EFFECTIVE_DATE_DEF] DEFAULT (getutcdate()), + [EXPIRY_DATE] datetime NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [WRKACT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [WRKACT_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [WRKACT_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [WRKACT_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [WRKACT_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [WRKACT_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [WRKACT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [WRKACT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [WRKACT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [WRKACT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [WRKACT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [WRKACT_PK] PRIMARY KEY CLUSTERED([ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'System-generated primary key.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_WORK_ACTIVITY_CODE', + @level2type = N'Column', @level2name = N'ID' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Name of the code.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_WORK_ACTIVITY_CODE', + @level2type = N'Column', @level2name = N'CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Descriptive value of a code within the set.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_WORK_ACTIVITY_CODE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Designates a preferred presentation order of the code descriptions.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_WORK_ACTIVITY_CODE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date the code became effective.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_WORK_ACTIVITY_CODE', + @level2type = N'Column', @level2name = N'EFFECTIVE_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date the code ceased to be in effect.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_WORK_ACTIVITY_CODE', + @level2type = N'Column', @level2name = N'EXPIRY_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code and description of the work activity codes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_WORK_ACTIVITY_CODE' +GO + +CREATE TABLE [dbo].[PIMS_PROJECT] ( + [ID] bigint NOT NULL CONSTRAINT [PROJCT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_PROJECT_ID_SEQ]), + [PROJECT_STATUS_TYPE_CODE] nvarchar(20) NULL, + [BUSINESS_FUNCTION_CODE_ID] bigint NULL, + [COST_TYPE_CODE_ID] bigint NULL, + [WORK_ACTIVITY_CODE_ID] bigint NULL, + [REGION_CODE] smallint NOT NULL CONSTRAINT [PROJCT_REGION_CODE_DEF] DEFAULT ((4)), + [CODE] nvarchar(20) NULL, + [DESCRIPTION] nvarchar(200) NOT NULL CONSTRAINT [PROJCT_DESCRIPTION_DEF] DEFAULT (''), + [NOTE] nvarchar(2000) NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PROJCT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PROJCT_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PROJCT_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [PROJCT_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PROJCT_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PROJCT_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [PROJCT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PROJCT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PROJCT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PROJCT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PROJCT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PROJCT_PK] PRIMARY KEY CLUSTERED([ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'System-generated primary key.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROJECT', + @level2type = N'Column', @level2name = N'ID' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Project number.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROJECT', + @level2type = N'Column', @level2name = N'CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Project description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROJECT', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Descriptive note relevant to the project.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROJECT', + @level2type = N'Column', @level2name = N'NOTE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code and description of a project.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROJECT' +GO + +CREATE TABLE [dbo].[PIMS_PRODUCT] ( + [ID] bigint NOT NULL CONSTRAINT [PRODCT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_PRODUCT_ID_SEQ]), + [PARENT_PROJECT_ID] bigint NOT NULL, + [CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [START_DATE] datetime NULL, + [COST_ESTIMATE] money NULL, + [COST_ESTIMATE_DATE] datetime NULL, + [OBJECTIVE] nvarchar(2000) NULL, + [SCOPE] nvarchar(2000) NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PRODCT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRODCT_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRODCT_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [PRODCT_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRODCT_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRODCT_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [PRODCT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRODCT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRODCT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRODCT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRODCT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PRODCT_PK] PRIMARY KEY CLUSTERED([ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'System-generated primary key.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PRODUCT', + @level2type = N'Column', @level2name = N'ID' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Product number.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PRODUCT', + @level2type = N'Column', @level2name = N'CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Product description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PRODUCT', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Product start date.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PRODUCT', + @level2type = N'Column', @level2name = N'START_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Estimate cost of the product.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PRODUCT', + @level2type = N'Column', @level2name = N'COST_ESTIMATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date the product cost was estimated.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PRODUCT', + @level2type = N'Column', @level2name = N'COST_ESTIMATE_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Product objective(s).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PRODUCT', + @level2type = N'Column', @level2name = N'OBJECTIVE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Product scope.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PRODUCT', + @level2type = N'Column', @level2name = N'SCOPE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code and description of a project.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PRODUCT' +GO + +CREATE TABLE [dbo].[PIMS_ACQUISITION_FILE] ( + [ACQUISITION_FILE_ID] bigint NOT NULL CONSTRAINT [ACQNFL_ACQUISITION_FILE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_ACQUISITION_FILE_ID_SEQ]), + [PROJECT_ID] bigint NULL, + [PRODUCT_ID] bigint NULL, + [ACQUISITION_FILE_STATUS_TYPE_CODE] nvarchar(20) NOT NULL, + [ACQUISITION_TYPE_CODE] nvarchar(20) NOT NULL, + [ACQUISITION_FUNDING_TYPE_CODE] nvarchar(20) NULL, + [ACQ_PHYS_FILE_STATUS_TYPE_CODE] nvarchar(20) NULL, + [REGION_CODE] smallint NOT NULL CONSTRAINT [ACQNFL_REGION_CODE_DEF] DEFAULT ((-1)), + [MINISTRY_PROJECT_NUMBER] nvarchar(20) NULL, + [MINISTRY_PROJECT_NAME] nvarchar(100) NULL, + [CPS_PRODUCT_CODE] nvarchar(12) NULL, + [FILE_NAME] nvarchar(500) NOT NULL, + [FILE_NO] int NOT NULL CONSTRAINT [ACQNFL_FILE_NO_DEF] DEFAULT (NEXT VALUE FOR [PIMS_ACQUISITION_FILE_NO_SEQ]), + [FILE_NUMBER] nvarchar(18) NOT NULL CONSTRAINT [ACQNFL_FILE_NUMBER_DEF] DEFAULT (''), + [LEGACY_FILE_NUMBER] nvarchar(18) NULL, + [FUNDING_OTHER] nvarchar(200) NULL, + [ASSIGNED_DATE] datetime NULL CONSTRAINT [ACQNFL_ASSIGNED_DATE_DEF] DEFAULT (getutcdate()), + [DELIVERY_DATE] datetime NULL, + [PAIMS_ACQUISITION_FILE_ID] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ACQNFL_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQNFL_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQNFL_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [ACQNFL_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQNFL_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQNFL_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [ACQNFL_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQNFL_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQNFL_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQNFL_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQNFL_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ACQNFL_PK] PRIMARY KEY CLUSTERED([ACQUISITION_FILE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Region responsible for oversight of the acquisition.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE', + @level2type = N'Column', @level2name = N'REGION_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Ministry project number.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE', + @level2type = N'Column', @level2name = N'MINISTRY_PROJECT_NUMBER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Ministry project name.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE', + @level2type = N'Column', @level2name = N'MINISTRY_PROJECT_NAME' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'CPS product code.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE', + @level2type = N'Column', @level2name = N'CPS_PRODUCT_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Descriptive name given to the acquisition file.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE', + @level2type = N'Column', @level2name = N'FILE_NAME' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'File number assigned to the acquisition file.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE', + @level2type = N'Column', @level2name = N'FILE_NO' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Formatted file number assigned to the acquisition file. Format follows YY-XXXXXX-ZZ where YY = MoTI region number, XXXXXX = generated integer sequence number, and ZZ = file suffix number (defaulting to ''01'')' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE', + @level2type = N'Column', @level2name = N'FILE_NUMBER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Legacy formatted file number assigned to the acquisition file. Format follows YY-XXXXXX-ZZ where YY = MoTI region number, XXXXXX = generated integer sequence number, and ZZ = file suffix number (defaulting to ''01''). Required due to some files having t' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE', + @level2type = N'Column', @level2name = N'LEGACY_FILE_NUMBER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of other funding type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE', + @level2type = N'Column', @level2name = N'FUNDING_OTHER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date of file assignment.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE', + @level2type = N'Column', @level2name = N'ASSIGNED_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date of file delivery.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE', + @level2type = N'Column', @level2name = N'DELIVERY_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Legacy Acquisition File ID from the PAIMS system.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE', + @level2type = N'Column', @level2name = N'PAIMS_ACQUISITION_FILE_ID' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Entity containing information regarding an acquisition file.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE' +GO + +CREATE TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_STATUS_TYPE] ( + [ACTIVITY_INSTANCE_STATUS_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [ACTIST_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ACTIST_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACTIST_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACTIST_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACTIST_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACTIST_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ACTIST_PK] PRIMARY KEY CLUSTERED([ACTIVITY_INSTANCE_STATUS_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value for the activity instance status type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACTIVITY_INSTANCE_STATUS_TYPE', + @level2type = N'Column', @level2name = N'ACTIVITY_INSTANCE_STATUS_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the activity instance status type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACTIVITY_INSTANCE_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code value is inactive.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACTIVITY_INSTANCE_STATUS_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Designates a preferred presentation order of the code descriptions.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACTIVITY_INSTANCE_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Codified values for the activity instance status type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACTIVITY_INSTANCE_STATUS_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_TYPE] ( + [ACTIVITY_TEMPLATE_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [ACTTTY_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ACTTTY_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACTTTY_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACTTTY_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACTTTY_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACTTTY_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ACTTTY_PK] PRIMARY KEY CLUSTERED([ACTIVITY_TEMPLATE_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value for the activity type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACTIVITY_TEMPLATE_TYPE', + @level2type = N'Column', @level2name = N'ACTIVITY_TEMPLATE_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the activity type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACTIVITY_TEMPLATE_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code value is inactive.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACTIVITY_TEMPLATE_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Designates a preferred presentation order of the code descriptions.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACTIVITY_TEMPLATE_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Codified values for the activity type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACTIVITY_TEMPLATE_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE] ( + [ACTIVITY_TEMPLATE_ID] bigint NOT NULL CONSTRAINT [ACTTMP_ACTIVITY_TEMPLATE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_ACTIVITY_TEMPLATE_ID_SEQ]), + [ACTIVITY_TEMPLATE_TYPE_CODE] nvarchar(20) NOT NULL CONSTRAINT [ACTTMP_ACTIVITY_TEMPLATE_TYPE_CODE_DEF] DEFAULT ('GENERAL'), + [ACTIVITY_TEMPLATE_JSON] nvarchar(max) NOT NULL CONSTRAINT [ACTTMP_ACTIVITY_TEMPLATE_JSON_DEF] DEFAULT (''), + [IS_DISABLED] bit NOT NULL CONSTRAINT [ACTTMP_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ACTTMP_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACTTMP_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACTTMP_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [ACTTMP_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACTTMP_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACTTMP_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [ACTTMP_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACTTMP_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACTTMP_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACTTMP_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACTTMP_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ACTTMP_PK] PRIMARY KEY CLUSTERED([ACTIVITY_TEMPLATE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'JSON structure desribing how to construct the activity UI.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACTIVITY_TEMPLATE', + @level2type = N'Column', @level2name = N'ACTIVITY_TEMPLATE_JSON' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code value is inactive.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACTIVITY_TEMPLATE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO + +CREATE TABLE [dbo].[PIMS_ACTIVITY_INSTANCE] ( + [ACTIVITY_INSTANCE_ID] bigint NOT NULL CONSTRAINT [ACTINS_ACTIVITY_INSTANCE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_ACTIVITY_INSTANCE_ID_SEQ]), + [ACTIVITY_TEMPLATE_ID] bigint NOT NULL CONSTRAINT [ACTINS_ACTIVITY_TEMPLATE_ID_DEF] DEFAULT ((-1)), + [ACTIVITY_INSTANCE_STATUS_TYPE_CODE] nvarchar(20) NOT NULL CONSTRAINT [ACTINS_ACTIVITY_INSTANCE_STATUS_TYPE_CODE_DEF] DEFAULT ('NOSTART'), + [DESCRIPTION] nvarchar(500) NULL, + [ACTIVITY_DATA_JSON] nvarchar(max) NOT NULL CONSTRAINT [ACTINS_ACTIVITY_DATA_JSON_DEF] DEFAULT (''), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ACTINS_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACTINS_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACTINS_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [ACTINS_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACTINS_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACTINS_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [ACTINS_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACTINS_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACTINS_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACTINS_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACTINS_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ACTINS_PK] PRIMARY KEY CLUSTERED([ACTIVITY_INSTANCE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the activity instance.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACTIVITY_INSTANCE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'JSON structure containing data specific to an activity instance.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACTIVITY_INSTANCE', + @level2type = N'Column', @level2name = N'ACTIVITY_DATA_JSON' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Table to contain all applicable activity instances for the PIMS PSP system.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACTIVITY_INSTANCE' +GO + +CREATE TABLE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE] ( + [ACQUISITION_ACTIVITY_INSTANCE_ID] bigint NOT NULL CONSTRAINT [ACQAIN_ACQUISITION_ACTIVITY_INSTANCE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_ACQUISITION_ACTIVITY_INSTANCE_ID_SEQ]), + [ACQUISITION_FILE_ID] bigint NOT NULL, + [ACTIVITY_INSTANCE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [ACQAIN_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ACQAIN_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQAIN_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [ACQAIN_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQAIN_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQAIN_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQAIN_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [ACQAIN_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQAIN_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQAIN_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQAIN_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQAIN_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ACQAIN_PK] PRIMARY KEY CLUSTERED([ACQUISITION_ACTIVITY_INSTANCE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship is active.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_ACTIVITY_INSTANCE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO + +CREATE TABLE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE_HIST] ( + [_ACQUISITION_ACTIVITY_INSTANCE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_ACQUISITION_ACTIVITY_INSTANCE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ACQUISITION_ACTIVITY_INSTANCE_ID] bigint NOT NULL, + [ACQUISITION_FILE_ID] bigint NOT NULL, + [ACTIVITY_INSTANCE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_ACQAIN_H_PK] PRIMARY KEY CLUSTERED([_ACQUISITION_ACTIVITY_INSTANCE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_DOCUMENT_STATUS_TYPE] ( + [DOCUMENT_STATUS_TYPE_CODE] nvarchar(20) NOT NULL CONSTRAINT [DOCSTY_DOCUMENT_STATUS_TYPE_CODE_DEF] DEFAULT ('NEXT VALUE FOR [PIMS_DOCUMENT_ID_SEQ]'), + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [DOCSTY_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [DOCSTY_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [DOCSTY_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [DOCSTY_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [DOCSTY_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [DOCSTY_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [DOCSTY_PK] PRIMARY KEY CLUSTERED([DOCUMENT_STATUS_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value of the document status type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_DOCUMENT_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DOCUMENT_STATUS_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Descriptive translation of the document status type code.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_DOCUMENT_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code is still in use.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_DOCUMENT_STATUS_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Determines the default display order of the code descriptions.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_DOCUMENT_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Table describing the available document types.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_DOCUMENT_STATUS_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_DOCUMENT_TYP] ( + [DOCUMENT_TYPE_ID] bigint NOT NULL CONSTRAINT [DOCTYP_DOCUMENT_TYPE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_DOCUMENT_TYPE_ID_SEQ]), + [MAYAN_ID] bigint NOT NULL CONSTRAINT [DOCTYP_MAYAN_ID_DEF] DEFAULT ((-1)), + [DOCUMENT_TYPE] nvarchar(200) NOT NULL CONSTRAINT [DOCTYP_DOCUMENT_TYPE_DEF] DEFAULT (''), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [DOCTYP_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [DOCTYP_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [DOCTYP_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [DOCTYP_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [DOCTYP_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [DOCTYP_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [DOCTYP_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [DOCTYP_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [DOCTYP_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [DOCTYP_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [DOCTYP_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [DOCTYP_PK] PRIMARY KEY CLUSTERED([DOCUMENT_TYPE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Mayan-generated document type number used for retrieval from Mayan EDMS.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_DOCUMENT_TYP', + @level2type = N'Column', @level2name = N'MAYAN_ID' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the available document types.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_DOCUMENT_TYP', + @level2type = N'Column', @level2name = N'DOCUMENT_TYPE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Table describing the available document types.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_DOCUMENT_TYP' +GO + +CREATE TABLE [dbo].[PIMS_DOCUMENT] ( + [DOCUMENT_ID] bigint NOT NULL CONSTRAINT [DOCMNT_DOCUMENT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_DOCUMENT_ID_SEQ]), + [DOCUMENT_TYPE_ID] bigint NOT NULL, + [DOCUMENT_STATUS_TYPE_CODE] nvarchar(20) NOT NULL, + [FILE_NAME] nvarchar(500) NOT NULL CONSTRAINT [DOCMNT_FILE_NAME_DEF] DEFAULT (''), + [MAYAN_ID] bigint NOT NULL CONSTRAINT [DOCMNT_MAYAN_ID_DEF] DEFAULT ((-1)), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [DOCMNT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [DOCMNT_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [DOCMNT_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [DOCMNT_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [DOCMNT_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [DOCMNT_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [DOCMNT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [DOCMNT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [DOCMNT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [DOCMNT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [DOCMNT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [DOCMNT_PK] PRIMARY KEY CLUSTERED([DOCUMENT_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Name of the file stored on Mayan EDMS.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_DOCUMENT', + @level2type = N'Column', @level2name = N'FILE_NAME' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Mayan-generated document number used for retrieval from Mayan EDMS.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_DOCUMENT', + @level2type = N'Column', @level2name = N'MAYAN_ID' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Table describing the available document types.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_DOCUMENT' +GO + +CREATE TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] ( + [ACQUISITION_FILE_DOCUMENT_ID] bigint NOT NULL CONSTRAINT [ACQDOC_ACQUISITION_FILE_DOCUMENT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_ACQUISITION_FILE_DOCUMENT_ID_SEQ]), + [ACQUISITION_FILE_ID] bigint NOT NULL, + [DOCUMENT_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [ACQDOC_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ACQDOC_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQDOC_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQDOC_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [ACQDOC_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQDOC_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQDOC_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [ACQDOC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQDOC_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQDOC_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQDOC_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQDOC_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ACQDOC_PK] PRIMARY KEY CLUSTERED([ACQUISITION_FILE_DOCUMENT_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE_DOCUMENT', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Defines the relationship between an acquisition file and a document.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE_DOCUMENT' +GO + +CREATE TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT_HIST] ( + [_ACQUISITION_FILE_DOCUMENT_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_ACQUISITION_FILE_DOCUMENT_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ACQUISITION_FILE_DOCUMENT_ID] bigint NOT NULL, + [ACQUISITION_FILE_ID] bigint NOT NULL, + [DOCUMENT_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_ACQDOC_H_PK] PRIMARY KEY CLUSTERED([_ACQUISITION_FILE_DOCUMENT_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_ACQUISITION_FILE_HIST] ( + [_ACQUISITION_FILE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_ACQUISITION_FILE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ACQUISITION_FILE_ID] bigint NOT NULL, + [PROJECT_ID] bigint NULL, + [PRODUCT_ID] bigint NULL, + [ACQUISITION_FILE_STATUS_TYPE_CODE] nvarchar(20) NOT NULL, + [ACQUISITION_TYPE_CODE] nvarchar(20) NOT NULL, + [ACQUISITION_FUNDING_TYPE_CODE] nvarchar(20) NULL, + [ACQ_PHYS_FILE_STATUS_TYPE_CODE] nvarchar(20) NULL, + [REGION_CODE] smallint NOT NULL, + [MINISTRY_PROJECT_NUMBER] nvarchar(20) NULL, + [MINISTRY_PROJECT_NAME] nvarchar(100) NULL, + [CPS_PRODUCT_CODE] nvarchar(12) NULL, + [FILE_NAME] nvarchar(500) NOT NULL, + [FILE_NO] int NOT NULL, + [FILE_NUMBER] nvarchar(18) NOT NULL, + [LEGACY_FILE_NUMBER] nvarchar(18) NULL, + [FUNDING_OTHER] nvarchar(200) NULL, + [ASSIGNED_DATE] datetime NULL, + [DELIVERY_DATE] datetime NULL, + [PAIMS_ACQUISITION_FILE_ID] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_ACQNFL_H_PK] PRIMARY KEY CLUSTERED([_ACQUISITION_FILE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_NOTE] ( + [NOTE_ID] bigint NOT NULL CONSTRAINT [NOTE_NOTE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_NOTE_ID_SEQ]), + [NOTE_TXT] nvarchar(4000) NOT NULL CONSTRAINT [NOTE_NOTE_TXT_DEF] DEFAULT (''), + [IS_SYSTEM_GENERATED] bit NOT NULL CONSTRAINT [NOTE_IS_SYSTEM_GENERATED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [NOTE_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [NOTE_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [NOTE_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [NOTE_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [NOTE_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [NOTE_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [NOTE_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [NOTE_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [NOTE_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [NOTE_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [NOTE_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [NOTE_PK] PRIMARY KEY CLUSTERED([NOTE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Contents of the note.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_NOTE', + @level2type = N'Column', @level2name = N'NOTE_TXT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicatesd if this note is system-generated.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_NOTE', + @level2type = N'Column', @level2name = N'IS_SYSTEM_GENERATED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Table to contain all applicable notes for the PIMS PSP system.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_NOTE' +GO + +CREATE TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE] ( + [ACQUISITION_FILE_NOTE_ID] bigint NOT NULL CONSTRAINT [ACQNOT_ACQUISITION_FILE_NOTE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_ACQUISITION_FILE_NOTE_ID_SEQ]), + [NOTE_ID] bigint NOT NULL, + [ACQUISITION_FILE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [ACQNOT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ACQNOT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQNOT_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQNOT_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [ACQNOT_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQNOT_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQNOT_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [ACQNOT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQNOT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQNOT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQNOT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQNOT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ACQNOT_PK] PRIMARY KEY CLUSTERED([ACQUISITION_FILE_NOTE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE_NOTE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Defines the relationship between an acquisition file and a note.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE_NOTE' +GO + +CREATE TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE_HIST] ( + [_ACQUISITION_FILE_NOTE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_ACQUISITION_FILE_NOTE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ACQUISITION_FILE_NOTE_ID] bigint NOT NULL, + [NOTE_ID] bigint NOT NULL, + [ACQUISITION_FILE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_ACQNOT_H_PK] PRIMARY KEY CLUSTERED([_ACQUISITION_FILE_NOTE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_ACQ_FL_PERSON_PROFILE_TYPE] ( + [ACQ_FL_PERSON_PROFILE_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [AQFPPT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [AQFPPT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [AQFPPT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [AQFPPT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [AQFPPT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [AQFPPT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [AQFPPT_PK] PRIMARY KEY CLUSTERED([ACQ_FL_PERSON_PROFILE_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value for the acquistion file staff profile (role).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQ_FL_PERSON_PROFILE_TYPE', + @level2type = N'Column', @level2name = N'ACQ_FL_PERSON_PROFILE_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the acquistion file staff profile (role).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQ_FL_PERSON_PROFILE_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code value is inactive.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQ_FL_PERSON_PROFILE_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Designates a preferred presentation order of the code descriptions.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQ_FL_PERSON_PROFILE_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Codified values for the acquistion file staff profile (role).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQ_FL_PERSON_PROFILE_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_ACQUISITION_FILE_PERSON] ( + [ACQUISITION_FILE_PERSON_ID] bigint NOT NULL CONSTRAINT [ACQPER_ACQUISITION_FILE_PERSON_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_ACQUISITION_FILE_PERSON_ID_SEQ]), + [ACQUISITION_FILE_ID] bigint NOT NULL, + [PERSON_ID] bigint NOT NULL, + [ACQ_FL_PERSON_PROFILE_TYPE_CODE] nvarchar(20) NULL, + [IS_DISABLED] bit NULL CONSTRAINT [ACQPER_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ACQPER_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQPER_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQPER_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [ACQPER_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQPER_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQPER_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [ACQPER_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQPER_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQPER_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQPER_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQPER_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ACQPER_PK] PRIMARY KEY CLUSTERED([ACQUISITION_FILE_PERSON_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship is active.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE_PERSON', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Table to associate an acquisition file to a person.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_FILE_PERSON' +GO + +CREATE TABLE [dbo].[PIMS_ACQUISITION_FILE_PERSON_HIST] ( + [_ACQUISITION_FILE_PERSON_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_ACQUISITION_FILE_PERSON_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ACQUISITION_FILE_PERSON_ID] bigint NOT NULL, + [ACQUISITION_FILE_ID] bigint NOT NULL, + [PERSON_ID] bigint NOT NULL, + [ACQ_FL_PERSON_PROFILE_TYPE_CODE] nvarchar(20) NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_ACQPER_H_PK] PRIMARY KEY CLUSTERED([_ACQUISITION_FILE_PERSON_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_COUNTRY] ( + [COUNTRY_ID] smallint NOT NULL, + [COUNTRY_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [CNTRY_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CNTRY_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CNTRY_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CNTRY_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CNTRY_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [CNTRY_PK] PRIMARY KEY CLUSTERED([COUNTRY_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_PROVINCE_STATE] ( + [PROVINCE_STATE_ID] smallint NOT NULL, + [COUNTRY_ID] smallint NOT NULL, + [PROVINCE_STATE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [PROVNC_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PROVNC_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PROVNC_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PROVNC_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PROVNC_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PROVNC_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PROVNC_PK] PRIMARY KEY CLUSTERED([PROVINCE_STATE_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_ADDRESS] ( + [ADDRESS_ID] bigint NOT NULL CONSTRAINT [ADDRSS_ADDRESS_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_ADDRESS_ID_SEQ]), + [REGION_CODE] smallint NULL, + [DISTRICT_CODE] smallint NULL, + [PROVINCE_STATE_ID] smallint NOT NULL, + [COUNTRY_ID] smallint NULL, + [STREET_ADDRESS_1] nvarchar(200) NULL, + [STREET_ADDRESS_2] nvarchar(200) NULL, + [STREET_ADDRESS_3] nvarchar(200) NULL, + [MUNICIPALITY_NAME] nvarchar(200) NULL, + [POSTAL_CODE] nvarchar(20) NULL, + [OTHER_COUNTRY] nvarchar(200) NULL, + [LATITUDE] numeric(8,6) NULL, + [LONGITUDE] numeric(9,6) NULL, + [COMMENT] nvarchar(2000) NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ADDRSS_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ADDRSS_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ADDRSS_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ADDRSS_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ADDRSS_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ADDRSS_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ADDRSS_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ADDRSS_PK] PRIMARY KEY CLUSTERED([ADDRESS_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Other country not listed in drop-down list' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ADDRESS', + @level2type = N'Column', @level2name = N'OTHER_COUNTRY' +GO + +CREATE TABLE [dbo].[PIMS_ACQUISITION_OWNER] ( + [ACQUISITION_OWNER_ID] bigint NOT NULL CONSTRAINT [ACQOWN_ACQUISITION_OWNER_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_ACQUISITION_OWNER_ID_SEQ]), + [ACQUISITION_FILE_ID] bigint NULL, + [ADDRESS_ID] bigint NULL, + [LAST_NAME_OR_CORP_NAME_1] nvarchar(300) NOT NULL CONSTRAINT [ACQOWN_LAST_NAME_OR_CORP_NAME_1_DEF] DEFAULT (''), + [LAST_NAME_OR_CORP_NAME_2] nvarchar(300) NULL, + [GIVEN_NAME] nvarchar(300) NULL, + [INCORPORATION_NUMBER] nvarchar(50) NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ACQOWN_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQOWN_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQOWN_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [ACQOWN_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQOWN_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQOWN_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [ACQOWN_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQOWN_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQOWN_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACQOWN_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACQOWN_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ACQOWN_PK] PRIMARY KEY CLUSTERED([ACQUISITION_OWNER_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Name of the owner (person or organization). If person, surname.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_OWNER', + @level2type = N'Column', @level2name = N'LAST_NAME_OR_CORP_NAME_1' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Optional.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_OWNER', + @level2type = N'Column', @level2name = N'LAST_NAME_OR_CORP_NAME_2' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Given name of the owner (person).' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_OWNER', + @level2type = N'Column', @level2name = N'GIVEN_NAME' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Incorporation number of the organization.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_OWNER', + @level2type = N'Column', @level2name = N'INCORPORATION_NUMBER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Entity containing information regarding an acquisition file.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACQUISITION_OWNER' +GO + +CREATE TABLE [dbo].[PIMS_ACQUISITION_OWNER_HIST] ( + [_ACQUISITION_OWNER_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_ACQUISITION_OWNER_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ACQUISITION_OWNER_ID] bigint NOT NULL, + [ACQUISITION_FILE_ID] bigint NULL, + [ADDRESS_ID] bigint NULL, + [LAST_NAME_OR_CORP_NAME_1] nvarchar(300) NOT NULL, + [LAST_NAME_OR_CORP_NAME_2] nvarchar(300) NULL, + [GIVEN_NAME] nvarchar(300) NULL, + [INCORPORATION_NUMBER] nvarchar(50) NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_ACQOWN_H_PK] PRIMARY KEY CLUSTERED([_ACQUISITION_OWNER_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT] ( + [ACTIVITY_INSTANCE_DOCUMENT_ID] bigint NOT NULL CONSTRAINT [ACTDOC_ACTIVITY_INSTANCE_DOCUMENT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_ACTIVITY_INSTANCE_DOCUMENT_ID_SEQ]), + [ACTIVITY_INSTANCE_ID] bigint NOT NULL, + [DOCUMENT_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [ACTDOC_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ACTDOC_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACTDOC_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACTDOC_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [ACTDOC_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACTDOC_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACTDOC_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [ACTDOC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACTDOC_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACTDOC_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACTDOC_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACTDOC_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ACTDOC_PK] PRIMARY KEY CLUSTERED([ACTIVITY_INSTANCE_DOCUMENT_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACTIVITY_INSTANCE_DOCUMENT', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Relates a document object to an activity instance.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACTIVITY_INSTANCE_DOCUMENT' +GO + +CREATE TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT_HIST] ( + [_ACTIVITY_INSTANCE_DOCUMENT_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_ACTIVITY_INSTANCE_DOCUMENT_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ACTIVITY_INSTANCE_DOCUMENT_ID] bigint NOT NULL, + [ACTIVITY_INSTANCE_ID] bigint NOT NULL, + [DOCUMENT_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_ACTDOC_H_PK] PRIMARY KEY CLUSTERED([_ACTIVITY_INSTANCE_DOCUMENT_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_HIST] ( + [_ACTIVITY_INSTANCE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_ACTIVITY_INSTANCE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ACTIVITY_INSTANCE_ID] bigint NOT NULL, + [ACTIVITY_TEMPLATE_ID] bigint NOT NULL, + [ACTIVITY_INSTANCE_STATUS_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(500) NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_ACTINS_H_PK] PRIMARY KEY CLUSTERED([_ACTIVITY_INSTANCE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE] ( + [PIMS_ACTIVITY_INSTANCE_NOTE_ID] bigint NOT NULL CONSTRAINT [ACTINN_PIMS_ACTIVITY_INSTANCE_NOTE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_ACTIVITY_INSTANCE_NOTE_ID_SEQ]), + [ACTIVITY_INSTANCE_ID] bigint NOT NULL, + [NOTE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [ACTINN_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ACTINN_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACTINN_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACTINN_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [ACTINN_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACTINN_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACTINN_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [ACTINN_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACTINN_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACTINN_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACTINN_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACTINN_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ACTINN_PK] PRIMARY KEY CLUSTERED([PIMS_ACTIVITY_INSTANCE_NOTE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACTIVITY_INSTANCE_NOTE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Relates a note object to an activity instance.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACTIVITY_INSTANCE_NOTE' +GO + +CREATE TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE_HIST] ( + [_ACTIVITY_INSTANCE_NOTE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_ACTIVITY_INSTANCE_NOTE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [PIMS_ACTIVITY_INSTANCE_NOTE_ID] bigint NOT NULL, + [ACTIVITY_INSTANCE_ID] bigint NOT NULL, + [NOTE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_ACTINN_H_PK] PRIMARY KEY CLUSTERED([_ACTIVITY_INSTANCE_NOTE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT] ( + [ACTIVITY_TEMPLATE_DOCUMENT_ID] bigint NOT NULL CONSTRAINT [ACTMDO_ACTIVITY_TEMPLATE_DOCUMENT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_ACTIVITY_TEMPLATE_DOCUMENT_ID_SEQ]), + [DOCUMENT_ID] bigint NOT NULL, + [ACTIVITY_TEMPLATE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [ACTMDO_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ACTMDO_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACTMDO_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACTMDO_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [ACTMDO_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACTMDO_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACTMDO_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [ACTMDO_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACTMDO_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACTMDO_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ACTMDO_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ACTMDO_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ACTMDO_PK] PRIMARY KEY CLUSTERED([ACTIVITY_TEMPLATE_DOCUMENT_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACTIVITY_TEMPLATE_DOCUMENT', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Associative relationship between an activity template and a document. Useful in determining with templates reference a document and conversely, which documents reference an activity template.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACTIVITY_TEMPLATE_DOCUMENT' +GO + +CREATE TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT_HIST] ( + [_ACTIVITY_TEMPLATE_DOCUMENT_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_ACTIVITY_TEMPLATE_DOCUMENT_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ACTIVITY_TEMPLATE_DOCUMENT_ID] bigint NOT NULL, + [DOCUMENT_ID] bigint NOT NULL, + [ACTIVITY_TEMPLATE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_ACTMDO_H_PK] PRIMARY KEY CLUSTERED([_ACTIVITY_TEMPLATE_DOCUMENT_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_HIST] ( + [_ACTIVITY_TEMPLATE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_ACTIVITY_TEMPLATE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ACTIVITY_TEMPLATE_ID] bigint NOT NULL, + [ACTIVITY_TEMPLATE_TYPE_CODE] nvarchar(20) NOT NULL, + [IS_DISABLED] bit NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_ACTTMP_H_PK] PRIMARY KEY CLUSTERED([_ACTIVITY_TEMPLATE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_AREA_UNIT_TYPE] ( + [AREA_UNIT_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [ARUNIT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ARUNIT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ARUNIT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ARUNIT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ARUNIT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ARUNIT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ARUNIT_PK] PRIMARY KEY CLUSTERED([AREA_UNIT_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The area unit used for measuring Properties. The units must be in metric: square metres or hectares.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_AREA_UNIT_TYPE', + @level2type = N'Column', @level2name = N'AREA_UNIT_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Translation of the code value into a description that can be displayed to the user.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_AREA_UNIT_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code value is still active or is now disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_AREA_UNIT_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Order in which to display the code values, if required.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_AREA_UNIT_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The area unit used for measuring Properties. The units must be in metric: square metres or hectares.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_AREA_UNIT_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_DATA_SOURCE_TYPE] ( + [DATA_SOURCE_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [PIDSRT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PIDSRT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PIDSRT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PIDSRT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PIDSRT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PIDSRT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PIDSRT_PK] PRIMARY KEY CLUSTERED([DATA_SOURCE_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value of the source system of the data (PAIMS, LIS, etc.)' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_DATA_SOURCE_TYPE', + @level2type = N'Column', @level2name = N'DATA_SOURCE_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the source system of the data (PAIMS, LIS, etc.)' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_DATA_SOURCE_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code is still in use' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_DATA_SOURCE_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Defines the default display order of the descriptions' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_DATA_SOURCE_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Describes the source system of the data (PAIMS, LIS, etc.)' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_DATA_SOURCE_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_PPH_STATUS_TYPE] ( + [PPH_STATUS_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [PPHSTT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PPHSTT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PPHSTT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PPHSTT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PPHSTT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PPHSTT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PPHSTT_PK] PRIMARY KEY CLUSTERED([PPH_STATUS_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code indicating the Provincial Public Highway status' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PPH_STATUS_TYPE', + @level2type = N'Column', @level2name = N'PPH_STATUS_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the code indicating the purpose of the property research' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PPH_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code is disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PPH_STATUS_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Force the display order of the codes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PPH_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code table to describe the Provincial Public Highway status.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PPH_STATUS_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_CLASSIFICATION_TYPE] ( + [PROPERTY_CLASSIFICATION_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [PRPCLT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PRPCLT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPCLT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPCLT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPCLT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPCLT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PRPCLT_PK] PRIMARY KEY CLUSTERED([PROPERTY_CLASSIFICATION_TYPE_CODE]) +) +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_STATUS_TYPE] ( + [PROPERTY_STATUS_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [PRPSTS_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PRPSTS_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPSTS_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPSTS_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPSTS_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPSTS_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PRPSTS_PK] PRIMARY KEY CLUSTERED([PROPERTY_STATUS_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Property status code.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_STATUS_TYPE', + @level2type = N'Column', @level2name = N'PROPERTY_STATUS_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Property status code description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code is disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_STATUS_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Force the display order of the codes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code table to describe property status.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_STATUS_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_TYPE] ( + [PROPERTY_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [PRPTYP_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PRPTYP_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPTYP_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPTYP_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPTYP_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPTYP_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PRPTYP_PK] PRIMARY KEY CLUSTERED([PROPERTY_TYPE_CODE]) +) +GO + +CREATE TABLE [dbo].[PIMS_SURPLUS_DECLARATION_TYPE] ( + [SURPLUS_DECLARATION_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [SPDCLT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [SPDCLT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [SPDCLT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [SPDCLT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [SPDCLT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [SPDCLT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [SPDCLT_PK] PRIMARY KEY CLUSTERED([SURPLUS_DECLARATION_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value of the surplus property type' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_SURPLUS_DECLARATION_TYPE', + @level2type = N'Column', @level2name = N'SURPLUS_DECLARATION_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code description of the surplus property type' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_SURPLUS_DECLARATION_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates that the code value is disabled' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_SURPLUS_DECLARATION_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the surplus property type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_SURPLUS_DECLARATION_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_VOLUME_UNIT_TYPE] ( + [VOLUME_UNIT_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [VOLUTY_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [VOLUTY_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [VOLUTY_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [VOLUTY_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [VOLUTY_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [VOLUTY_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [VOLUTY_PK] PRIMARY KEY CLUSTERED([VOLUME_UNIT_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The volume unit used for measuring Properties.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_VOLUME_UNIT_TYPE', + @level2type = N'Column', @level2name = N'VOLUME_UNIT_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Translation of the code value into a description that can be displayed to the user.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_VOLUME_UNIT_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code value is still active or is now disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_VOLUME_UNIT_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Order in which to display the code values, if required.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_VOLUME_UNIT_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The volume unit used for measuring Properties.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_VOLUME_UNIT_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_VOLUMETRIC_TYPE] ( + [VOLUMETRIC_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [PRVOLT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PRVOLT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRVOLT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRVOLT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRVOLT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRVOLT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PRVOLT_PK] PRIMARY KEY CLUSTERED([VOLUMETRIC_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Property parcel/property volumetric code.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_VOLUMETRIC_TYPE', + @level2type = N'Column', @level2name = N'VOLUMETRIC_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Property parcel/property volumetric code description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_VOLUMETRIC_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code is disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_VOLUMETRIC_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Force the display order of the codes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_VOLUMETRIC_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code table to describe parcel/property volumetric type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_VOLUMETRIC_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY] ( + [PROPERTY_ID] bigint NOT NULL CONSTRAINT [PRPRTY_PROPERTY_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_PROPERTY_ID_SEQ]), + [PROPERTY_MANAGER_ID] bigint NULL, + [PROP_MGMT_ORG_ID] bigint NULL, + [PROPERTY_TYPE_CODE] nvarchar(20) NOT NULL, + [PROPERTY_CLASSIFICATION_TYPE_CODE] nvarchar(20) NOT NULL, + [ADDRESS_ID] bigint NULL, + [REGION_CODE] smallint NOT NULL, + [DISTRICT_CODE] smallint NOT NULL, + [PROPERTY_AREA_UNIT_TYPE_CODE] nvarchar(20) NULL, + [PROPERTY_DATA_SOURCE_TYPE_CODE] nvarchar(20) NOT NULL, + [PROPERTY_STATUS_TYPE_CODE] nvarchar(20) NOT NULL, + [SURPLUS_DECLARATION_TYPE_CODE] nvarchar(20) NOT NULL, + [VOLUMETRIC_TYPE_CODE] nvarchar(20) NULL, + [VOLUME_UNIT_TYPE_CODE] nvarchar(20) NULL, + [PPH_STATUS_TYPE_CODE] nvarchar(20) NULL, + [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE] date NOT NULL, + [NAME] nvarchar(250) NULL, + [DESCRIPTION] nvarchar(2000) NULL, + [PID] int NULL, + [PIN] int NULL, + [FILE_NUMBER] int NULL, + [FILE_NUMBER_SUFFIX] nvarchar(2) NULL, + [LAND_AREA] real NULL, + [LAND_LEGAL_DESCRIPTION] nvarchar(max) NULL, + [BOUNDARY] [sys].[geometry] NULL, + [LOCATION] [sys].[geometry] NULL, + [SURVEY_PLAN_NUMBER] nvarchar(250) NULL, + [ENCUMBRANCE_REASON] nvarchar(500) NULL, + [SURPLUS_DECLARATION_COMMENT] nvarchar(2000) NULL, + [SURPLUS_DECLARATION_DATE] datetime NULL, + [NOTES] nvarchar(max) NULL, + [MUNICIPAL_ZONING] nvarchar(100) NULL, + [IS_VOLUMETRIC_PARCEL] bit NULL CONSTRAINT [PRPRTY_IS_VOLUMETRIC_PARCEL_DEF] DEFAULT (CONVERT([bit],(0))), + [VOLUMETRIC_MEASUREMENT] real NULL, + [IS_OWNED] bit NOT NULL CONSTRAINT [PRPRTY_IS_OWNED_DEF] DEFAULT (CONVERT([bit],(1))), + [IS_PROPERTY_OF_INTEREST] bit NOT NULL CONSTRAINT [PRPRTY_IS_PROPERTY_OF_INTEREST_DEF] DEFAULT (CONVERT([bit],(0))), + [IS_VISIBLE_TO_OTHER_AGENCIES] bit NOT NULL CONSTRAINT [PRPRTY_IS_VISIBLE_TO_OTHER_AGENCIES_DEF] DEFAULT (CONVERT([bit],(0))), + [IS_SENSITIVE] bit NOT NULL CONSTRAINT [PRPRTY_IS_SENSITIVE_DEF] DEFAULT (CONVERT([bit],(0))), + [IS_PROVINCIAL_PUBLIC_HWY] bit NULL, + [PPH_STATUS_UPDATE_USERID] nvarchar(30) NULL, + [PPH_STATUS_UPDATE_TIMESTAMP] datetime NULL, + [PPH_STATUS_UPDATE_USER_GUID] uniqueidentifier NULL, + [IS_RWY_BELT_DOM_PATENT] bit NULL CONSTRAINT [PRPRTY_IS_RWY_BELT_DOM_PATENT_DEF] DEFAULT (CONVERT([bit],(0))), + [ZONING] nvarchar(50) NULL, + [ZONING_POTENTIAL] nvarchar(50) NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PRPRTY_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPRTY_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPRTY_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPRTY_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPRTY_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPRTY_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPRTY_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PRPRTY_PK] PRIMARY KEY CLUSTERED([PROPERTY_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date the property was officially registered' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'PROPERTY_DATA_SOURCE_EFFECTIVE_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Property name' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'NAME' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Property description' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Property ID' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'PID' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Property number' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'PIN' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'The (ARCS/ORCS) number identifying the Property File.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'FILE_NUMBER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A suffix to distinguish between Property Files with the same number.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'FILE_NUMBER_SUFFIX' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Area occupied by property' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'LAND_AREA' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Legal description of property' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'LAND_LEGAL_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Spatial bundary of land' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'BOUNDARY' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Geospatial location (pin) of property' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'LOCATION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Property/Land Parcel survey plan number' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'SURVEY_PLAN_NUMBER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'reason for property encumbreance' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'ENCUMBRANCE_REASON' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Comment regarding the surplus declaration' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'SURPLUS_DECLARATION_COMMENT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date the property was declared surplus' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'SURPLUS_DECLARATION_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Notes about the property' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'NOTES' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Municipal zoning that applies this property.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'MUNICIPAL_ZONING' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Is there a volumetric measurement for this parcel?' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'IS_VOLUMETRIC_PARCEL' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Volumetric measurement of the parcel.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'VOLUMETRIC_MEASUREMENT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Is the property currently owned?' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'IS_OWNED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Is this a property of interest to the Ministry?' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'IS_PROPERTY_OF_INTEREST' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Is the property visible to other agencies?' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'IS_VISIBLE_TO_OTHER_AGENCIES' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Is this a sensitive property?' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'IS_SENSITIVE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Is this property a provincial public highway?' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'IS_PROVINCIAL_PUBLIC_HWY' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Userid that updated the Provincial Public Highway status.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'PPH_STATUS_UPDATE_USERID' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date / time that the Provincial Public Highway status was updated.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'PPH_STATUS_UPDATE_TIMESTAMP' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'GUID of the user that updated the PPH status.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'PPH_STATUS_UPDATE_USER_GUID' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if this property is original federal vs. provincial ownership.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'IS_RWY_BELT_DOM_PATENT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Current property zoning' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'ZONING' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Potential property zoning' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY', + @level2type = N'Column', @level2name = N'ZONING_POTENTIAL' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Describes the attributes of a property.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY' +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE] ( + [PROPERTY_ACQUISITION_FILE_ID] bigint NOT NULL CONSTRAINT [PRACQF_PROPERTY_ACQUISITION_FILE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_PROPERTY_ACQUISITION_FILE_ID_SEQ]), + [ACQUISITION_FILE_ID] bigint NOT NULL, + [PROPERTY_ID] bigint NOT NULL, + [PROPERTY_NAME] nvarchar(500) NULL, + [DISPLAY_ORDER] int NULL, + [IS_DISABLED] bit NULL CONSTRAINT [PRACQF_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PRACQF_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRACQF_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRACQF_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [PRACQF_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRACQF_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRACQF_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [PRACQF_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRACQF_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRACQF_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRACQF_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRACQF_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PRACQF_PK] PRIMARY KEY CLUSTERED([PROPERTY_ACQUISITION_FILE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Descriptive reference for the property associated with the acquisition file.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_ACQUISITION_FILE', + @level2type = N'Column', @level2name = N'PROPERTY_NAME' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Force the display order of the codes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_ACQUISITION_FILE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship is active.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_ACQUISITION_FILE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Associates a property with an acquisition file.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_ACQUISITION_FILE' +GO + +CREATE TABLE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE] ( + [ACT_INST_PROP_ACQ_FILE_ID] bigint NOT NULL CONSTRAINT [AIPAFL_ACT_INST_PROP_ACQ_FILE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_ACT_INST_PROP_ACQ_FILE_ID_SEQ]), + [ACTIVITY_INSTANCE_ID] bigint NOT NULL, + [PROPERTY_ACQUISITION_FILE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [AIPAFL_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [AIPAFL_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [AIPAFL_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [AIPAFL_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [AIPAFL_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [AIPAFL_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [AIPAFL_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [AIPAFL_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [AIPAFL_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [AIPAFL_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [AIPAFL_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [AIPAFL_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [AIPAFL_PK] PRIMARY KEY CLUSTERED([ACT_INST_PROP_ACQ_FILE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACT_INST_PROP_ACQ_FILE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'File to associate an activity instance with a subset of properties associated with the superset of acquisition file properties.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACT_INST_PROP_ACQ_FILE' +GO + +CREATE TABLE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE_HIST] ( + [_ACT_INST_PROP_ACQ_FILE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_ACT_INST_PROP_ACQ_FILE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ACT_INST_PROP_ACQ_FILE_ID] bigint NOT NULL, + [ACTIVITY_INSTANCE_ID] bigint NOT NULL, + [PROPERTY_ACQUISITION_FILE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_AIPAFL_H_PK] PRIMARY KEY CLUSTERED([_ACT_INST_PROP_ACQ_FILE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_REQUEST_SOURCE_TYPE] ( + [REQUEST_SOURCE_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [RQSRCT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [RQSRCT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RQSRCT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RQSRCT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RQSRCT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RQSRCT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [RQSRCT_PK] PRIMARY KEY CLUSTERED([REQUEST_SOURCE_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code indicating the source of the research request.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_REQUEST_SOURCE_TYPE', + @level2type = N'Column', @level2name = N'REQUEST_SOURCE_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the code indicating the source of the research request.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_REQUEST_SOURCE_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code is disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_REQUEST_SOURCE_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Force the display order of the codes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_REQUEST_SOURCE_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code table to describe source ot the research request' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_REQUEST_SOURCE_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_RESEARCH_FILE_STATUS_TYPE] ( + [RESEARCH_FILE_STATUS_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [RSRCHS_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [RSRCHS_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSRCHS_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSRCHS_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSRCHS_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSRCHS_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [RSRCHS_PK] PRIMARY KEY CLUSTERED([RESEARCH_FILE_STATUS_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code indicating the status of the research file.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE_STATUS_TYPE', + @level2type = N'Column', @level2name = N'RESEARCH_FILE_STATUS_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the code indicating the status of the research file.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code is disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE_STATUS_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Force the display order of the codes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code table to describe property adjacent land type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE_STATUS_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_RESEARCH_FILE] ( + [RESEARCH_FILE_ID] bigint NOT NULL CONSTRAINT [RESRCH_RESEARCH_FILE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_ID_SEQ]), + [RESEARCH_FILE_STATUS_TYPE_CODE] nvarchar(20) NOT NULL CONSTRAINT [RESRCH_RESEARCH_FILE_STATUS_TYPE_CODE_DEF] DEFAULT ('ACTIVE'), + [REQUEST_SOURCE_TYPE_CODE] nvarchar(20) NULL, + [REQUESTOR_NAME] bigint NULL, + [REQUESTOR_ORGANIZATION] bigint NULL, + [NAME] nvarchar(250) NOT NULL, + [RFILE_NUMBER] nvarchar(25) NOT NULL CONSTRAINT [RESRCH_RFILE_NUMBER_DEF] DEFAULT ('RFILE-UNKNOWN'), + [REQUEST_DATE] date NULL, + [ROAD_NAME] nvarchar(max) NULL, + [ROAD_ALIAS] nvarchar(max) NULL, + [REQUEST_DESCRIPTION] nvarchar(max) NULL, + [REQUEST_SOURCE_DESCRIPTION] nvarchar(2000) NULL, + [RESEARCH_RESULT] nvarchar(max) NULL, + [IS_EXPROPRIATION] bit NULL, + [EXPROPRIATION_NOTES] nvarchar(max) NULL, + [RESEARCH_COMPLETION_DATE] date NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [RESRCH_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RESRCH_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RESRCH_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RESRCH_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RESRCH_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RESRCH_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RESRCH_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RESRCH_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RESRCH_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RESRCH_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RESRCH_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [RESRCH_PK] PRIMARY KEY CLUSTERED([RESEARCH_FILE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Name of the research requestor.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE', + @level2type = N'Column', @level2name = N'REQUESTOR_NAME' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Organization associated with the research requestor.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE', + @level2type = N'Column', @level2name = N'REQUESTOR_ORGANIZATION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Name given to the research file.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE', + @level2type = N'Column', @level2name = N'NAME' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'R-File number assigned to the research file, formatted value from PIMS_RFILE_NUMBER_SEQ sequence generator' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE', + @level2type = N'Column', @level2name = N'RFILE_NUMBER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date of the research request.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE', + @level2type = N'Column', @level2name = N'REQUEST_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Name(s) of roads associated with this research request.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE', + @level2type = N'Column', @level2name = N'ROAD_NAME' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Alias(es) of roads associated with this research request.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE', + @level2type = N'Column', @level2name = N'ROAD_ALIAS' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the research request.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE', + @level2type = N'Column', @level2name = N'REQUEST_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Result of the research request.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE', + @level2type = N'Column', @level2name = N'RESEARCH_RESULT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Is this an expropriation?' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE', + @level2type = N'Column', @level2name = N'IS_EXPROPRIATION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Notes associated with an expropriation.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE', + @level2type = N'Column', @level2name = N'EXPROPRIATION_NOTES' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date the research request was completed.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE', + @level2type = N'Column', @level2name = N'RESEARCH_COMPLETION_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Property research file' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE' +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_RESEARCH_FILE] ( + [PROPERTY_RESEARCH_FILE_ID] bigint NOT NULL CONSTRAINT [PRSCRC_PROPERTY_RESEARCH_FILE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_PROPERTY_RESEARCH_FILE_ID_SEQ]), + [PROPERTY_ID] bigint NOT NULL, + [RESEARCH_FILE_ID] bigint NOT NULL, + [PROPERTY_NAME] nvarchar(500) NULL, + [DISPLAY_ORDER] int NULL, + [IS_DISABLED] bit NULL CONSTRAINT [PRSCRC_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [IS_LEGAL_OPINION_REQUIRED] bit NULL, + [IS_LEGAL_OPINION_OBTAINED] bit NULL, + [DOCUMENT_REFERENCE] nvarchar(2000) NULL, + [RESEARCH_SUMMARY] nvarchar(max) NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PRSCRC_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRSCRC_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRSCRC_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [PRSCRC_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRSCRC_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRSCRC_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [PRSCRC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRSCRC_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRSCRC_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRSCRC_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRSCRC_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PRSCRC_PK] PRIMARY KEY CLUSTERED([PROPERTY_RESEARCH_FILE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Descriptive reference for the property being researched.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_RESEARCH_FILE', + @level2type = N'Column', @level2name = N'PROPERTY_NAME' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Force the display order of the codes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_RESEARCH_FILE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code is disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_RESEARCH_FILE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates whether a legal opinion is required (0 = No, 1 = Yes, null = Unknown)' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_RESEARCH_FILE', + @level2type = N'Column', @level2name = N'IS_LEGAL_OPINION_REQUIRED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates whether a legal opinion was obtained (0 = No, 1 = Yes, null = Unknown)' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_RESEARCH_FILE', + @level2type = N'Column', @level2name = N'IS_LEGAL_OPINION_OBTAINED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'URL / reference to a LAN Drive' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_RESEARCH_FILE', + @level2type = N'Column', @level2name = N'DOCUMENT_REFERENCE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Summary of the property research.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_RESEARCH_FILE', + @level2type = N'Column', @level2name = N'RESEARCH_SUMMARY' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Associates a property with a research file.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_RESEARCH_FILE' +GO + +CREATE TABLE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE] ( + [ACT_INST_PROP_RSRCH_FILE_ID] bigint NOT NULL CONSTRAINT [AIPRFL_ACT_INST_PROP_RSRCH_FILE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_ACT_INST_PROP_RSRCH_FILE_ID_SEQ]), + [ACTIVITY_INSTANCE_ID] bigint NOT NULL, + [PROPERTY_RESEARCH_FILE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [AIPRFL_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [AIPRFL_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [AIPRFL_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [AIPRFL_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [AIPRFL_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [AIPRFL_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [AIPRFL_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [AIPRFL_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [AIPRFL_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [AIPRFL_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [AIPRFL_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [AIPRFL_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [AIPRFL_PK] PRIMARY KEY CLUSTERED([ACT_INST_PROP_RSRCH_FILE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACT_INST_PROP_RSRCH_FILE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'File to associate an activity instance with a subset of properties associated with the superset of research file properties.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ACT_INST_PROP_RSRCH_FILE' +GO + +CREATE TABLE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE_HIST] ( + [_ACT_INST_PROP_RSRCH_FILE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_ACT_INST_PROP_RSRCH_FILE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ACT_INST_PROP_RSRCH_FILE_ID] bigint NOT NULL, + [ACTIVITY_INSTANCE_ID] bigint NOT NULL, + [PROPERTY_RESEARCH_FILE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_AIPRFL_H_PK] PRIMARY KEY CLUSTERED([_ACT_INST_PROP_RSRCH_FILE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_ADDRESS_HIST] ( + [_ADDRESS_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_ADDRESS_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ADDRESS_ID] bigint NOT NULL, + [REGION_CODE] smallint NULL, + [DISTRICT_CODE] smallint NULL, + [PROVINCE_STATE_ID] smallint NOT NULL, + [COUNTRY_ID] smallint NULL, + [STREET_ADDRESS_1] nvarchar(200) NULL, + [STREET_ADDRESS_2] nvarchar(200) NULL, + [STREET_ADDRESS_3] nvarchar(200) NULL, + [MUNICIPALITY_NAME] nvarchar(200) NULL, + [POSTAL_CODE] nvarchar(20) NULL, + [OTHER_COUNTRY] nvarchar(200) NULL, + [LATITUDE] numeric(18,0) NULL, + [LONGITUDE] numeric(18,0) NULL, + [COMMENT] nvarchar(2000) NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_ADDRSS_H_PK] PRIMARY KEY CLUSTERED([_ADDRESS_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_ADDRESS_USAGE_TYPE] ( + [ADDRESS_USAGE_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [ADUSGT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ADUSGT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ADUSGT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ADUSGT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ADUSGT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ADUSGT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ADUSGT_PK] PRIMARY KEY CLUSTERED([ADDRESS_USAGE_TYPE_CODE]) +) +GO + +CREATE TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE_HIST] ( + [_BUSINESS_FUNCTION_CODE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_BUSINESS_FUNCTION_CODE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ID] bigint NOT NULL, + [CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [DISPLAY_ORDER] int NULL, + [EFFECTIVE_DATE] datetime NOT NULL, + [EXPIRY_DATE] datetime NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_BIZFCN_H_PK] PRIMARY KEY CLUSTERED([_BUSINESS_FUNCTION_CODE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE] ( + [ID] bigint NOT NULL CONSTRAINT [CHRTAC_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_CHART_OF_ACCOUNTS_ID_SEQ]), + [CODE] nvarchar(20) NOT NULL CONSTRAINT [CHRTAC_CODE_DEF] DEFAULT (''), + [DESCRIPTION] nvarchar(200) NOT NULL, + [DISPLAY_ORDER] int NULL, + [EFFECTIVE_DATE] datetime NOT NULL CONSTRAINT [CHRTAC_EFFECTIVE_DATE_DEF] DEFAULT (getutcdate()), + [EXPIRY_DATE] datetime NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [CHRTAC_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CHRTAC_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CHRTAC_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [CHRTAC_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CHRTAC_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CHRTAC_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [CHRTAC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CHRTAC_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CHRTAC_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CHRTAC_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CHRTAC_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [CHRTAC_PK] PRIMARY KEY CLUSTERED([ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'System-generated primary key.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CHART_OF_ACCOUNTS_CODE', + @level2type = N'Column', @level2name = N'ID' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Name of the code.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CHART_OF_ACCOUNTS_CODE', + @level2type = N'Column', @level2name = N'CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Descriptive value of a code within the set.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CHART_OF_ACCOUNTS_CODE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Designates a preferred presentation order of the code descriptions.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CHART_OF_ACCOUNTS_CODE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date the code became effective.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CHART_OF_ACCOUNTS_CODE', + @level2type = N'Column', @level2name = N'EFFECTIVE_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date the code ceased to be in effect.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CHART_OF_ACCOUNTS_CODE', + @level2type = N'Column', @level2name = N'EXPIRY_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code and description of the chart of accounts codes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CHART_OF_ACCOUNTS_CODE' +GO + +CREATE TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE_HIST] ( + [_CHART_OF_ACCOUNTS_CODE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_CHART_OF_ACCOUNTS_CODE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ID] bigint NOT NULL, + [CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [DISPLAY_ORDER] int NULL, + [EFFECTIVE_DATE] datetime NOT NULL, + [EXPIRY_DATE] datetime NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_CHRTAC_H_PK] PRIMARY KEY CLUSTERED([_CHART_OF_ACCOUNTS_CODE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_CLAIM] ( + [CLAIM_ID] bigint NOT NULL CONSTRAINT [CLMTYP_CLAIM_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_CLAIM_ID_SEQ]), + [CLAIM_UID] uniqueidentifier NOT NULL, + [KEYCLOAK_ROLE_ID] uniqueidentifier NULL, + [NAME] nvarchar(100) NOT NULL, + [DESCRIPTION] nvarchar(500) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [CLMTYP_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [CLMTYP_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CLMTYP_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CLMTYP_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CLMTYP_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CLMTYP_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CLMTYP_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CLMTYP_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [CLMTYP_PK] PRIMARY KEY CLUSTERED([CLAIM_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_CLAIM_HIST] ( + [_CLAIM_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_CLAIM_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [CLAIM_ID] bigint NOT NULL, + [CLAIM_UID] uniqueidentifier NOT NULL, + [KEYCLOAK_ROLE_ID] uniqueidentifier NULL, + [NAME] nvarchar(100) NOT NULL, + [DESCRIPTION] nvarchar(500) NOT NULL, + [IS_DISABLED] bit NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_CLMTYP_H_PK] PRIMARY KEY CLUSTERED([_CLAIM_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_CONSULTATION_STATUS_TYPE] ( + [CONSULTATION_STATUS_TYPE_CODE] varchar(20) NOT NULL CONSTRAINT [CONSTY_CONSULTATION_STATUS_TYPE_CODE_DEF] DEFAULT ('OTHER'), + [DESCRIPTION] nvarchar(200) NOT NULL CONSTRAINT [CONSTY_DESCRIPTION_DEF] DEFAULT (''), + [DISPLAY_ORDER] int NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [CONSTY_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [CONSTY_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CONSTY_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CONSTY_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CONSTY_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CONSTY_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [CONSTY_PK] PRIMARY KEY CLUSTERED([CONSULTATION_STATUS_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value of the consultation status type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_STATUS_TYPE', + @level2type = N'Column', @level2name = N'CONSULTATION_STATUS_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the consultation status type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Onscreen display order of the consultation types.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the consultation status type is active.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_STATUS_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the consultation status type for (currently) a lease or license.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_STATUS_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_CONSULTATION_TYPE] ( + [CONSULTATION_TYPE_CODE] varchar(20) NOT NULL CONSTRAINT [CONTYP_CONSULTATION_TYPE_CODE_DEF] DEFAULT ('OTHER'), + [CONSULTATION_STATUS_TYPE_CODE] varchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL CONSTRAINT [CONTYP_DESCRIPTION_DEF] DEFAULT (''), + [OTHER_DESCRIPTION] nvarchar(200) NULL, + [DISPLAY_ORDER] int NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [CONTYP_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [CONTYP_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CONTYP_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CONTYP_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CONTYP_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CONTYP_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [CONTYP_PK] PRIMARY KEY CLUSTERED([CONSULTATION_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value of the consultation type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_TYPE', + @level2type = N'Column', @level2name = N'CONSULTATION_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the consultation type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Additional descriptive text of the consultation type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_TYPE', + @level2type = N'Column', @level2name = N'OTHER_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Onscreen display order of the consultation types.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the consultation type is active.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the consultation type required for (currently) a lease or license.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_CONSULTATION_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_CONTACT_METHOD_TYPE] ( + [CONTACT_METHOD_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [CNTMTT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [CNTMTT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CNTMTT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CNTMTT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CNTMTT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CNTMTT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [CNTMTT_PK] PRIMARY KEY CLUSTERED([CONTACT_METHOD_TYPE_CODE]) +) +GO + +CREATE TABLE [dbo].[PIMS_CONTACT_METHOD] ( + [CONTACT_METHOD_ID] bigint NOT NULL CONSTRAINT [CNTMTH_CONTACT_METHOD_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_CONTACT_METHOD_ID_SEQ]), + [CONTACT_METHOD_TYPE_CODE] nvarchar(20) NOT NULL, + [PERSON_ID] bigint NULL, + [ORGANIZATION_ID] bigint NULL, + [CONTACT_METHOD_VALUE] nvarchar(200) NOT NULL, + [IS_PREFERRED_METHOD] bit NULL CONSTRAINT [CNTMTH_IS_PREFERRED_METHOD_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [CNTMTH_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CNTMTH_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CNTMTH_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CNTMTH_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CNTMTH_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [CNTMTH_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [CNTMTH_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [CNTMTH_PK] PRIMARY KEY CLUSTERED([CONTACT_METHOD_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_CONTACT_METHOD_HIST] ( + [_CONTACT_METHOD_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_CONTACT_METHOD_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [CONTACT_METHOD_ID] bigint NOT NULL, + [CONTACT_METHOD_TYPE_CODE] nvarchar(20) NOT NULL, + [PERSON_ID] bigint NULL, + [ORGANIZATION_ID] bigint NULL, + [CONTACT_METHOD_VALUE] nvarchar(200) NOT NULL, + [IS_PREFERRED_METHOD] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_CNTMTH_H_PK] PRIMARY KEY CLUSTERED([_CONTACT_METHOD_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_COST_TYPE_CODE_HIST] ( + [_COST_TYPE_CODE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_COST_TYPE_CODE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ID] bigint NOT NULL, + [CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [DISPLAY_ORDER] int NULL, + [EFFECTIVE_DATE] datetime NOT NULL, + [EXPIRY_DATE] datetime NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_COSTYP_H_PK] PRIMARY KEY CLUSTERED([_COST_TYPE_CODE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_DOCUMENT_HIST] ( + [_DOCUMENT_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_DOCUMENT_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [DOCUMENT_ID] bigint NOT NULL, + [DOCUMENT_TYPE_ID] bigint NOT NULL, + [DOCUMENT_STATUS_TYPE_CODE] nvarchar(20) NOT NULL, + [FILE_NAME] nvarchar(500) NOT NULL, + [MAYAN_ID] bigint NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_DOCMNT_H_PK] PRIMARY KEY CLUSTERED([_DOCUMENT_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_DOCUMENT_TYP_HIST] ( + [_DOCUMENT_TYP_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_DOCUMENT_TYP_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [DOCUMENT_TYPE_ID] bigint NOT NULL, + [MAYAN_ID] bigint NOT NULL, + [DOCUMENT_TYPE] nvarchar(200) NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_DOCTYP_H_PK] PRIMARY KEY CLUSTERED([_DOCUMENT_TYP_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_FENCE_TYPE] ( + [FENCE_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [FNCTYP_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [FNCTYP_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [FNCTYP_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [FNCTYP_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [FNCTYP_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [FNCTYP_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [FNCTYP_PK] PRIMARY KEY CLUSTERED([FENCE_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value for the fence type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_FENCE_TYPE', + @level2type = N'Column', @level2name = N'FENCE_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the fence type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_FENCE_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code value is inactive.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_FENCE_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Designates a preferred presentation order of the code descriptions.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_FENCE_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Codified values for the fence type. This is an unassociated table that is used in the UI to populate JSON attributes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_FENCE_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE] ( + [ID] bigint NOT NULL CONSTRAINT [FINACT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_FINANCIAL_ACTIVITY_ID_SEQ]), + [CODE] nvarchar(20) NOT NULL CONSTRAINT [FINACT_CODE_DEF] DEFAULT (''), + [DESCRIPTION] nvarchar(200) NOT NULL, + [DISPLAY_ORDER] int NULL, + [EFFECTIVE_DATE] datetime NOT NULL CONSTRAINT [FINACT_EFFECTIVE_DATE_DEF] DEFAULT (getutcdate()), + [EXPIRY_DATE] datetime NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [FINACT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [FINACT_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [FINACT_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [FINACT_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [FINACT_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [FINACT_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [FINACT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [FINACT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [FINACT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [FINACT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [FINACT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [FINACT_PK] PRIMARY KEY CLUSTERED([ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'System-generated primary key.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_FINANCIAL_ACTIVITY_CODE', + @level2type = N'Column', @level2name = N'ID' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Value of the code.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_FINANCIAL_ACTIVITY_CODE', + @level2type = N'Column', @level2name = N'CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Descriptive value of a code within the set.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_FINANCIAL_ACTIVITY_CODE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Designates a preferred presentation order of the code descriptions.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_FINANCIAL_ACTIVITY_CODE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date the code became effective.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_FINANCIAL_ACTIVITY_CODE', + @level2type = N'Column', @level2name = N'EFFECTIVE_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date the code ceased to be in effect.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_FINANCIAL_ACTIVITY_CODE', + @level2type = N'Column', @level2name = N'EXPIRY_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code and description of the financial activity codes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_FINANCIAL_ACTIVITY_CODE' +GO + +CREATE TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE_HIST] ( + [_FINANCIAL_ACTIVITY_CODE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_FINANCIAL_ACTIVITY_CODE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ID] bigint NOT NULL, + [CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [DISPLAY_ORDER] int NULL, + [EFFECTIVE_DATE] datetime NOT NULL, + [EXPIRY_DATE] datetime NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_FINACT_H_PK] PRIMARY KEY CLUSTERED([_FINANCIAL_ACTIVITY_CODE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_INSURANCE_TYPE] ( + [INSURANCE_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [INSPYT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [INSPYT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [INSPYT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [INSPYT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [INSPYT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [INSPYT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [INSPYT_PK] PRIMARY KEY CLUSTERED([INSURANCE_TYPE_CODE]) +) +GO + +CREATE TABLE [dbo].[PIMS_LEASE_CATEGORY_TYPE] ( + [LEASE_CATEGORY_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [LSCATT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LSCATT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LSCATT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LSCATT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LSCATT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LSCATT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LSCATT_PK] PRIMARY KEY CLUSTERED([LEASE_CATEGORY_TYPE_CODE]) +) +GO + +CREATE TABLE [dbo].[PIMS_LEASE_INITIATOR_TYPE] ( + [LEASE_INITIATOR_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [LINITT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LINITT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LINITT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LINITT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LINITT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LINITT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LINITT_PK] PRIMARY KEY CLUSTERED([LEASE_INITIATOR_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value of the initiator of the lease' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_INITIATOR_TYPE', + @level2type = N'Column', @level2name = N'LEASE_INITIATOR_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the initiator of the lease' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_INITIATOR_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Describes the initiator of the lease' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_INITIATOR_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_LEASE_LICENSE_TYPE] ( + [LEASE_LICENSE_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [LELIST_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LELIST_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LELIST_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LELIST_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LELIST_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LELIST_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LELIST_PK] PRIMARY KEY CLUSTERED([LEASE_LICENSE_TYPE_CODE]) +) +GO + +CREATE TABLE [dbo].[PIMS_LEASE_PAY_RVBL_TYPE] ( + [LEASE_PAY_RVBL_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [LSPRTY_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LSPRTY_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LSPRTY_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LSPRTY_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LSPRTY_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LSPRTY_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LSPRTY_PK] PRIMARY KEY CLUSTERED([LEASE_PAY_RVBL_TYPE_CODE]) +) +GO + +CREATE TABLE [dbo].[PIMS_LEASE_PROGRAM_TYPE] ( + [LEASE_PROGRAM_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [LSPRGT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LSPRGT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LSPRGT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LSPRGT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LSPRGT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LSPRGT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LSPRGT_PK] PRIMARY KEY CLUSTERED([LEASE_PROGRAM_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Describes the program type associated with a lease.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_PROGRAM_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_LEASE_PURPOSE_TYPE] ( + [LEASE_PURPOSE_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [LPRPTY_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LPRPTY_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LPRPTY_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LPRPTY_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LPRPTY_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LPRPTY_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LPRPTY_PK] PRIMARY KEY CLUSTERED([LEASE_PURPOSE_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Describes the purpose type associated with a lease.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_PURPOSE_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_LEASE_RESPONSIBILITY_TYPE] ( + [LEASE_RESPONSIBILITY_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [LRESPT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LRESPT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LRESPT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LRESPT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LRESPT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LRESPT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LRESPT_PK] PRIMARY KEY CLUSTERED([LEASE_RESPONSIBILITY_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value of the organization responsible for this lease' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_RESPONSIBILITY_TYPE', + @level2type = N'Column', @level2name = N'LEASE_RESPONSIBILITY_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the organization responsible for this lease' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_RESPONSIBILITY_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Describes which organization is responsible for this lease' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_RESPONSIBILITY_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_LEASE_STATUS_TYPE] ( + [LEASE_STATUS_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [LSSTYP_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LSSTYP_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LSSTYP_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LSSTYP_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LSSTYP_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LSSTYP_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LSSTYP_PK] PRIMARY KEY CLUSTERED([LEASE_STATUS_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value of the status of the lease' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_STATUS_TYPE', + @level2type = N'Column', @level2name = N'LEASE_STATUS_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the status of the lease' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Describes the status of the lease' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_STATUS_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_LEASE] ( + [LEASE_ID] bigint NOT NULL CONSTRAINT [LEASE_LEASE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_LEASE_ID_SEQ]), + [LEASE_PAY_RVBL_TYPE_CODE] nvarchar(20) NOT NULL, + [LEASE_LICENSE_TYPE_CODE] nvarchar(20) NOT NULL, + [LEASE_CATEGORY_TYPE_CODE] nvarchar(20) NULL, + [LEASE_PURPOSE_TYPE_CODE] nvarchar(20) NOT NULL, + [LEASE_PROGRAM_TYPE_CODE] nvarchar(20) NOT NULL, + [LEASE_INITIATOR_TYPE_CODE] nvarchar(20) NOT NULL, + [LEASE_RESPONSIBILITY_TYPE_CODE] nvarchar(20) NULL, + [LEASE_STATUS_TYPE_CODE] nvarchar(20) NOT NULL, + [REGION_CODE] smallint NULL, + [L_FILE_NO] nvarchar(50) NULL, + [TFA_FILE_NO] int NULL, + [TFA_FILE_NUMBER] nvarchar(50) NULL, + [PS_FILE_NO] nvarchar(50) NULL, + [LEASE_DESCRIPTION] nvarchar(max) NULL, + [LEASE_CATEGORY_OTHER_DESC] nvarchar(200) NULL, + [LEASE_PURPOSE_OTHER_DESC] nvarchar(200) NULL, + [LEASE_NOTES] nvarchar(max) NULL, + [MOTI_CONTACT] nvarchar(200) NULL, + [DOCUMENTATION_REFERENCE] nvarchar(500) NULL, + [RETURN_NOTES] nvarchar(max) NULL, + [OTHER_LEASE_PROGRAM_TYPE] nvarchar(200) NULL, + [OTHER_LEASE_LICENSE_TYPE] nvarchar(200) NULL, + [OTHER_LEASE_PURPOSE_TYPE] nvarchar(200) NULL, + [ORIG_START_DATE] datetime NOT NULL, + [ORIG_EXPIRY_DATE] datetime NULL, + [LEASE_AMOUNT] money NULL, + [RESPONSIBILITY_EFFECTIVE_DATE] datetime NULL, + [INSPECTION_DATE] datetime NULL, + [INSPECTION_NOTES] nvarchar(max) NULL, + [IS_SUBJECT_TO_RTA] bit NULL CONSTRAINT [LEASE_IS_SUBJECT_TO_RTA_DEF] DEFAULT (CONVERT([bit],(0))), + [IS_COMM_BLDG] bit NULL CONSTRAINT [LEASE_IS_COMM_BLDG_DEF] DEFAULT (CONVERT([bit],(0))), + [IS_OTHER_IMPROVEMENT] bit NULL CONSTRAINT [LEASE_IS_OTHER_IMPROVEMENT_DEF] DEFAULT (CONVERT([bit],(0))), + [IS_EXPIRED] bit NOT NULL CONSTRAINT [LEASE_EXPIRED_DEF] DEFAULT (CONVERT([bit],(0))), + [HAS_PHYSICAL_FILE] bit NULL, + [HAS_DIGITAL_FILE] bit NULL, + [HAS_PHYSICIAL_LICENSE] bit NULL, + [HAS_DIGITAL_LICENSE] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LEASE_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LEASE_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LEASE_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LEASE_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LEASE_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LEASE_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LEASE_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LEASE_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LEASE_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LEASE_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LEASE_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LEASE_PK] PRIMARY KEY CLUSTERED([LEASE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'MoTI region associated with the lease' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'REGION_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Generated identifying lease/licence number' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'L_FILE_NO' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Sourced from t_fileMain.TFA_File_Number' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'TFA_FILE_NO' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Sourced from t_fileMain.TFA_File_Number || - || t_fileSub.Subfile_Sequence_Code' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'TFA_FILE_NUMBER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Sourced from t_fileSubOverrideData.PSFile_No' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'PS_FILE_NO' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Manually etered lease description, not the legal description' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'LEASE_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'User-specified lease category description not included in standard set of lease purposes' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'LEASE_CATEGORY_OTHER_DESC' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'User-specified lease purpose description not included in standard set of lease purposes' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'LEASE_PURPOSE_OTHER_DESC' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Notes accompanying lease' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'LEASE_NOTES' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Contact of the MoTI person associated with the lease' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'MOTI_CONTACT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Location of documents pertianing to the lease/license' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'DOCUMENTATION_REFERENCE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Notes accompanying lease' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'RETURN_NOTES' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of a non-standard lease program type' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'OTHER_LEASE_PROGRAM_TYPE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of a non-standard lease/license type' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'OTHER_LEASE_LICENSE_TYPE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of a non-standard lease purpose type' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'OTHER_LEASE_PURPOSE_TYPE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Original start date of the lease/license' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'ORIG_START_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Original expiry date of the lease/license' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'ORIG_EXPIRY_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Lease/licence amount' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'LEASE_AMOUNT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date current responsibility came into effect for this lease' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'RESPONSIBILITY_EFFECTIVE_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Inspection date' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'INSPECTION_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Notes accompanying inspection' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'INSPECTION_NOTES' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Is subject the Residential Tenancy Act' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'IS_SUBJECT_TO_RTA' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Is a commercial building' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'IS_COMM_BLDG' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Is improvement of another description' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'IS_OTHER_IMPROVEMENT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Incidcator that lease/license has expired' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'IS_EXPIRED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicator that phyical file exists' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'HAS_PHYSICAL_FILE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicator that digital file exists' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'HAS_DIGITAL_FILE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicator that physical license exists' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'HAS_PHYSICIAL_LICENSE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicator that digital license exists' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE', + @level2type = N'Column', @level2name = N'HAS_DIGITAL_LICENSE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Details of a lease that is inventoried in PIMS system.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE' +GO + +CREATE TABLE [dbo].[PIMS_INSURANCE] ( + [INSURANCE_ID] bigint NOT NULL CONSTRAINT [INSRNC_INSURANCE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_INSURANCE_ID_SEQ]), + [LEASE_ID] bigint NOT NULL, + [INSURANCE_TYPE_CODE] nvarchar(20) NOT NULL, + [OTHER_INSURANCE_TYPE] nvarchar(200) NULL, + [COVERAGE_DESCRIPTION] nvarchar(2000) NULL, + [COVERAGE_LIMIT] money NULL CONSTRAINT [INSRNC_COVERAGE_LIMIT_DEF] DEFAULT (CONVERT([bit],(0))), + [IS_INSURANCE_IN_PLACE] bit NULL CONSTRAINT [INSRNC_IS_INSURANCE_IN_PLACE_DEF] DEFAULT (CONVERT([bit],(0))), + [EXPIRY_DATE] date NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [INSRNC_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [INSRNC_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [INSRNC_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [INSRNC_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [INSRNC_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [INSRNC_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [INSRNC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [INSRNC_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [INSRNC_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [INSRNC_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [INSRNC_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [INSRNC_PK] PRIMARY KEY CLUSTERED([INSURANCE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the non-standard insurance coverage type' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_INSURANCE', + @level2type = N'Column', @level2name = N'OTHER_INSURANCE_TYPE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the insurance coverage' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_INSURANCE', + @level2type = N'Column', @level2name = N'COVERAGE_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Monetary limit of the insurance coverage' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_INSURANCE', + @level2type = N'Column', @level2name = N'COVERAGE_LIMIT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicator that digital license exists' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_INSURANCE', + @level2type = N'Column', @level2name = N'IS_INSURANCE_IN_PLACE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date the insurance expires' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_INSURANCE', + @level2type = N'Column', @level2name = N'EXPIRY_DATE' +GO + +CREATE TABLE [dbo].[PIMS_INSURANCE_HIST] ( + [_INSURANCE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_INSURANCE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [INSURANCE_ID] bigint NOT NULL, + [LEASE_ID] bigint NOT NULL, + [INSURANCE_TYPE_CODE] nvarchar(20) NOT NULL, + [OTHER_INSURANCE_TYPE] nvarchar(200) NULL, + [COVERAGE_DESCRIPTION] nvarchar(2000) NULL, + [COVERAGE_LIMIT] money NULL, + [IS_INSURANCE_IN_PLACE] bit NULL, + [EXPIRY_DATE] date NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_INSRNC_H_PK] PRIMARY KEY CLUSTERED([_INSURANCE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_LAND_SURVEYOR_TYPE] ( + [LAND_SURVEYOR_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [LNSRVT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LNSRVT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LNSRVT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LNSRVT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LNSRVT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LNSRVT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LNSRVT_PK] PRIMARY KEY CLUSTERED([LAND_SURVEYOR_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value for the land surveyor type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LAND_SURVEYOR_TYPE', + @level2type = N'Column', @level2name = N'LAND_SURVEYOR_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the land surveyor type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LAND_SURVEYOR_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code value is inactive.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LAND_SURVEYOR_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Designates a preferred presentation order of the code descriptions.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LAND_SURVEYOR_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Codified values for the land surveyor type. This is an unassociated table that is used in the UI to populate JSON attributes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LAND_SURVEYOR_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE] ( + [LEASE_ACTIVITY_INSTANCE_ID] bigint NOT NULL CONSTRAINT [LSACIN_LEASE_ACTIVITY_INSTANCE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_LEASE_ACTIVITY_INSTANCE_ID_SEQ]), + [ACTIVITY_INSTANCE_ID] bigint NOT NULL, + [LEASE_ID] bigint NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LSACIN_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LSACIN_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LSACIN_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LSACIN_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LSACIN_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LSACIN_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LSACIN_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LSACIN_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LSACIN_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LSACIN_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LSACIN_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LSACIN_PK] PRIMARY KEY CLUSTERED([LEASE_ACTIVITY_INSTANCE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Associative entity between leases/licenses and activity instances.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_ACTIVITY_INSTANCE' +GO + +CREATE TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE_HIST] ( + [_LEASE_ACTIVITY_INSTANCE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_LEASE_ACTIVITY_INSTANCE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [LEASE_ACTIVITY_INSTANCE_ID] bigint NOT NULL, + [ACTIVITY_INSTANCE_ID] bigint NOT NULL, + [LEASE_ID] bigint NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_LSACIN_H_PK] PRIMARY KEY CLUSTERED([_LEASE_ACTIVITY_INSTANCE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_LEASE_CONSULTATION] ( + [LEASE_CONSULTATION_ID] bigint NOT NULL CONSTRAINT [LESCON_LEASE_CONSULTATION_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_LEASE_CONSULTATION_ID_SEQ]), + [LEASE_ID] bigint NOT NULL, + [CONSULTATION_TYPE_CODE] varchar(20) NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESCON_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LESCON_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESCON_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESCON_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LESCON_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESCON_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LESCON_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESCON_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NULL CONSTRAINT [LESCON_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESCON_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESCON_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [IS_DISABLED] bit NULL CONSTRAINT [LESCON_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + CONSTRAINT [LESCON_PK] PRIMARY KEY CLUSTERED([LEASE_CONSULTATION_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_CONSULTATION', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO + +CREATE TABLE [dbo].[PIMS_LEASE_CONSULTATION_HIST] ( + [_LEASE_CONSULTATION_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_LEASE_CONSULTATION_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [LEASE_CONSULTATION_ID] bigint NOT NULL, + [LEASE_ID] bigint NOT NULL, + [CONSULTATION_TYPE_CODE] varchar(20) NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [IS_DISABLED] bit NULL, + CONSTRAINT [PIMS_LESCON_H_PK] PRIMARY KEY CLUSTERED([_LEASE_CONSULTATION_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_LEASE_DOCUMENT] ( + [LEASE_DOCUMENT_ID] bigint NOT NULL CONSTRAINT [LESDOC_LEASE_DOCUMENT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_LEASE_DOCUMENT_ID_SEQ]), + [LEASE_ID] bigint NOT NULL, + [DOCUMENT_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [LESDOC_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LESDOC_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESDOC_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESDOC_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LESDOC_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESDOC_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESDOC_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LESDOC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESDOC_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NULL CONSTRAINT [LESDOC_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESDOC_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESDOC_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LESDOC_PK] PRIMARY KEY CLUSTERED([LEASE_DOCUMENT_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_DOCUMENT', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Defines the relationship betwwen a lease and a document.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_DOCUMENT' +GO + +CREATE TABLE [dbo].[PIMS_LEASE_DOCUMENT_HIST] ( + [_LEASE_DOCUMENT_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_LEASE_DOCUMENT_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [LEASE_DOCUMENT_ID] bigint NOT NULL, + [LEASE_ID] bigint NOT NULL, + [DOCUMENT_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_LESDOC_H_PK] PRIMARY KEY CLUSTERED([_LEASE_DOCUMENT_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_LEASE_HIST] ( + [_LEASE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_LEASE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [LEASE_ID] bigint NOT NULL, + [LEASE_PAY_RVBL_TYPE_CODE] nvarchar(20) NOT NULL, + [LEASE_LICENSE_TYPE_CODE] nvarchar(20) NOT NULL, + [LEASE_CATEGORY_TYPE_CODE] nvarchar(20) NULL, + [LEASE_PURPOSE_TYPE_CODE] nvarchar(20) NOT NULL, + [LEASE_PROGRAM_TYPE_CODE] nvarchar(20) NOT NULL, + [LEASE_INITIATOR_TYPE_CODE] nvarchar(20) NOT NULL, + [LEASE_RESPONSIBILITY_TYPE_CODE] nvarchar(20) NULL, + [LEASE_STATUS_TYPE_CODE] nvarchar(20) NOT NULL, + [REGION_CODE] smallint NULL, + [L_FILE_NO] nvarchar(50) NULL, + [TFA_FILE_NO] int NULL, + [TFA_FILE_NUMBER] nvarchar(50) NULL, + [PS_FILE_NO] nvarchar(50) NULL, + [LEASE_CATEGORY_OTHER_DESC] nvarchar(200) NULL, + [LEASE_PURPOSE_OTHER_DESC] nvarchar(200) NULL, + [MOTI_CONTACT] nvarchar(200) NULL, + [DOCUMENTATION_REFERENCE] nvarchar(500) NULL, + [OTHER_LEASE_PROGRAM_TYPE] nvarchar(200) NULL, + [OTHER_LEASE_LICENSE_TYPE] nvarchar(200) NULL, + [OTHER_LEASE_PURPOSE_TYPE] nvarchar(200) NULL, + [ORIG_START_DATE] datetime NOT NULL, + [ORIG_EXPIRY_DATE] datetime NULL, + [LEASE_AMOUNT] money NULL, + [RESPONSIBILITY_EFFECTIVE_DATE] datetime NULL, + [INSPECTION_DATE] datetime NULL, + [IS_SUBJECT_TO_RTA] bit NULL, + [IS_COMM_BLDG] bit NULL, + [IS_OTHER_IMPROVEMENT] bit NULL, + [IS_EXPIRED] bit NOT NULL, + [HAS_PHYSICAL_FILE] bit NULL, + [HAS_DIGITAL_FILE] bit NULL, + [HAS_PHYSICIAL_LICENSE] bit NULL, + [HAS_DIGITAL_LICENSE] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_LEASE_H_PK] PRIMARY KEY CLUSTERED([_LEASE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_LEASE_NOTE] ( + [LEASE_NOTE_ID] bigint NOT NULL CONSTRAINT [LESNOT_LEASE_NOTE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_LEASE_NOTE_ID_SEQ]), + [LEASE_ID] bigint NOT NULL, + [NOTE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [LESNOT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LESNOT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESNOT_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESNOT_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LESNOT_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESNOT_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESNOT_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LESNOT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESNOT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NULL CONSTRAINT [LESNOT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LESNOT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LESNOT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LESNOT_PK] PRIMARY KEY CLUSTERED([LEASE_NOTE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_NOTE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Defines the relationship betwwen a lease and a note.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_NOTE' +GO + +CREATE TABLE [dbo].[PIMS_LEASE_NOTE_HIST] ( + [_LEASE_NOTE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_LEASE_NOTE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [LEASE_NOTE_ID] bigint NOT NULL, + [LEASE_ID] bigint NOT NULL, + [NOTE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_LESNOT_H_PK] PRIMARY KEY CLUSTERED([_LEASE_NOTE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_LEASE_PAYMENT_METHOD_TYPE] ( + [LEASE_PAYMENT_METHOD_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [LSPMMT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LSPMMT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LSPMMT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LSPMMT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LSPMMT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LSPMMT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LSPMMT_PK] PRIMARY KEY CLUSTERED([LEASE_PAYMENT_METHOD_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Payment method type code' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_PAYMENT_METHOD_TYPE', + @level2type = N'Column', @level2name = N'LEASE_PAYMENT_METHOD_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Payment method type description' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_PAYMENT_METHOD_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Is this code disabled?' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_PAYMENT_METHOD_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Display order of the descriptions' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_PAYMENT_METHOD_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Describes the type of payment method for a lease.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_PAYMENT_METHOD_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_LEASE_PAYMENT_STATUS_TYPE] ( + [LEASE_PAYMENT_STATUS_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [LPSTST_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LPSTST_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LPSTST_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LPSTST_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LPSTST_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LPSTST_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LPSTST_PK] PRIMARY KEY CLUSTERED([LEASE_PAYMENT_STATUS_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Payment status type code' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_PAYMENT_STATUS_TYPE', + @level2type = N'Column', @level2name = N'LEASE_PAYMENT_STATUS_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Payment status type description' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_PAYMENT_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Is this code disabled?' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_PAYMENT_STATUS_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Display order of the descriptions' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_PAYMENT_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Describes the status of forecast payments' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_PAYMENT_STATUS_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_LEASE_PMT_FREQ_TYPE] ( + [LEASE_PMT_FREQ_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [LSPMTF_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LSPMTF_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LSPMTF_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LSPMTF_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LSPMTF_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LSPMTF_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LSPMTF_PK] PRIMARY KEY CLUSTERED([LEASE_PMT_FREQ_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Payment frequency type code' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_PMT_FREQ_TYPE', + @level2type = N'Column', @level2name = N'LEASE_PMT_FREQ_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Payment frequency type code description' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_PMT_FREQ_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Describes the frequency of payments for a lease.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_PMT_FREQ_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_LEASE_TERM_STATUS_TYPE] ( + [LEASE_TERM_STATUS_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [LTRMST_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LTRMST_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LTRMST_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LTRMST_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LTRMST_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LTRMST_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LTRMST_PK] PRIMARY KEY CLUSTERED([LEASE_TERM_STATUS_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value of the status of the lease term' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_TERM_STATUS_TYPE', + @level2type = N'Column', @level2name = N'LEASE_TERM_STATUS_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the status of the lease term' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_TERM_STATUS_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Describes the status of the lease term' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_TERM_STATUS_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_LEASE_TERM] ( + [LEASE_TERM_ID] bigint NOT NULL CONSTRAINT [LSTERM_LEASE_TERM_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_LEASE_TERM_ID_SEQ]), + [LEASE_ID] bigint NOT NULL, + [LEASE_TERM_STATUS_TYPE_CODE] nvarchar(20) NULL, + [LEASE_PMT_FREQ_TYPE_CODE] nvarchar(20) NULL, + [TERM_START_DATE] datetime NOT NULL, + [TERM_EXPIRY_DATE] datetime NULL, + [TERM_RENEWAL_DATE] datetime NULL, + [PAYMENT AMOUNT] money NULL, + [PAYMENT_DUE_DATE] nvarchar(200) NULL, + [PAYMENT_NOTE] nvarchar(2000) NULL, + [IS_GST_ELIGIBLE] bit NULL, + [GST_AMOUNT] money NULL, + [IS_TERM_EXERCISED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LSTERM_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LSTERM_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LSTERM_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LSTERM_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LSTERM_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LSTERM_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LSTERM_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LSTERM_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LSTERM_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LSTERM_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LSTERM_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LSTERM_PK] PRIMARY KEY CLUSTERED([LEASE_TERM_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Foreign key to payment frequency values' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_TERM', + @level2type = N'Column', @level2name = N'LEASE_PMT_FREQ_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Start date of the current term of the lease/licence' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_TERM', + @level2type = N'Column', @level2name = N'TERM_START_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Expiry date of the current term of the lease/licence' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_TERM', + @level2type = N'Column', @level2name = N'TERM_EXPIRY_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Renewal date of the current term of the lease/licence' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_TERM', + @level2type = N'Column', @level2name = N'TERM_RENEWAL_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Agreed-to payment amount (exclusive of GST)' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_TERM', + @level2type = N'Column', @level2name = N'PAYMENT AMOUNT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Anecdotal description of payment due date (e.g. 1st of month, end of month)' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_TERM', + @level2type = N'Column', @level2name = N'PAYMENT_DUE_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Notes regarding payment status for the lease term' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_TERM', + @level2type = N'Column', @level2name = N'PAYMENT_NOTE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Is the lease subject to GST?' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_TERM', + @level2type = N'Column', @level2name = N'IS_GST_ELIGIBLE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Calculated/entered GST portion of the payment. Can be overridden by the user.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_TERM', + @level2type = N'Column', @level2name = N'GST_AMOUNT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Has the lease term been exercised?' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_TERM', + @level2type = N'Column', @level2name = N'IS_TERM_EXERCISED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Describes a term for the associated lease.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_TERM' +GO + +CREATE TABLE [dbo].[PIMS_LEASE_PAYMENT] ( + [LEASE_PAYMENT_ID] bigint NOT NULL CONSTRAINT [LSPYMT_LEASE_PAYMENT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_LEASE_PAYMENT_ID_SEQ]), + [LEASE_TERM_ID] bigint NOT NULL, + [LEASE_PAYMENT_METHOD_TYPE_CODE] nvarchar(20) NOT NULL, + [LEASE_PAYMENT_STATUS_TYPE_CODE] nvarchar(20) NULL, + [PAYMENT_RECEIVED_DATE] datetime NOT NULL, + [PAYMENT_AMOUNT_PRE_TAX] money NOT NULL, + [PAYMENT_AMOUNT_PST] money NULL, + [PAYMENT_AMOUNT_GST] money NULL, + [PAYMENT_AMOUNT_TOTAL] money NOT NULL, + [NOTE] nvarchar(2000) NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LSPYMT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LSPYMT_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LSPYMT_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LSPYMT_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LSPYMT_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LSPYMT_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [LSPYMT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LSPYMT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LSPYMT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LSPYMT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LSPYMT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LSPYMT_PK] PRIMARY KEY CLUSTERED([LEASE_PAYMENT_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date the payment was received or sent' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_PAYMENT', + @level2type = N'Column', @level2name = N'PAYMENT_RECEIVED_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Principal amount of the payment before applicable taxes' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_PAYMENT', + @level2type = N'Column', @level2name = N'PAYMENT_AMOUNT_PRE_TAX' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'PST owing on payment if applicable' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_PAYMENT', + @level2type = N'Column', @level2name = N'PAYMENT_AMOUNT_PST' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'GST owing on payment if applicable' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_PAYMENT', + @level2type = N'Column', @level2name = N'PAYMENT_AMOUNT_GST' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Total amount of payment including principal plus all applicable taxes' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_PAYMENT', + @level2type = N'Column', @level2name = N'PAYMENT_AMOUNT_TOTAL' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Notes regarding this payment' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_PAYMENT', + @level2type = N'Column', @level2name = N'NOTE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Describes a payment associated with a lease term.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_PAYMENT' +GO + +CREATE TABLE [dbo].[PIMS_LEASE_PAYMENT_HIST] ( + [_LEASE_PAYMENT_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_LEASE_PAYMENT_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [LEASE_PAYMENT_ID] bigint NOT NULL, + [LEASE_TERM_ID] bigint NOT NULL, + [LEASE_PAYMENT_METHOD_TYPE_CODE] nvarchar(20) NOT NULL, + [LEASE_PAYMENT_STATUS_TYPE_CODE] nvarchar(20) NULL, + [PAYMENT_RECEIVED_DATE] datetime NOT NULL, + [PAYMENT_AMOUNT_PRE_TAX] money NOT NULL, + [PAYMENT_AMOUNT_PST] money NULL, + [PAYMENT_AMOUNT_GST] money NULL, + [PAYMENT_AMOUNT_TOTAL] money NOT NULL, + [NOTE] nvarchar(2000) NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_LSPYMT_H_PK] PRIMARY KEY CLUSTERED([_LEASE_PAYMENT_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_LESSOR_TYPE] ( + [LESSOR_TYPE_CODE] nvarchar(20) NOT NULL CONSTRAINT [LSSRTY_LESSOR_TYPE_CODE_DEF] DEFAULT ('UNK'), + [DESCRIPTION] nvarchar(200) NOT NULL CONSTRAINT [LSSRTY_DESCRIPTION_DEF] DEFAULT ('Unknown'), + [IS_DISABLED] bit NOT NULL CONSTRAINT [LSSRTY_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LSSRTY_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LSSRTY_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LSSRTY_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LSSRTY_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LSSRTY_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LSSRTY_PK] PRIMARY KEY CLUSTERED([LESSOR_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code representing the types of lessors on a lease.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LESSOR_TYPE', + @level2type = N'Column', @level2name = N'LESSOR_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the types of lessors on a lease.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LESSOR_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code is currently active.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LESSOR_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Specifies a specific order to visually present the code.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LESSOR_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code table describing the type of lessor on a lease.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LESSOR_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_TENANT_TYPE] ( + [TENANT_TYPE_CODE] nvarchar(20) NOT NULL CONSTRAINT [TENTYP_TENANT_TYPE_CODE_DEF] DEFAULT ('UNK'), + [DESCRIPTION] nvarchar(200) NOT NULL CONSTRAINT [TENTYP_DESCRIPTION_DEF] DEFAULT ('Unknown'), + [IS_DISABLED] bit NOT NULL CONSTRAINT [TENTYP_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [TENTYP_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [TENTYP_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [TENTYP_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [TENTYP_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [TENTYP_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [TENTYP_PK] PRIMARY KEY CLUSTERED([TENANT_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code representing the types of tenants on a lease.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_TENANT_TYPE', + @level2type = N'Column', @level2name = N'TENANT_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the types of tenants on a lease.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_TENANT_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code is currently active.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_TENANT_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Specifies a specific order to visually present the code.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_TENANT_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code table describing the type of tenant on a lease.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_TENANT_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_LEASE_TENANT] ( + [LEASE_TENANT_ID] bigint NOT NULL CONSTRAINT [TENANT_LEASE_TENANT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_LEASE_TENANT_ID_SEQ]), + [LEASE_ID] bigint NOT NULL, + [PERSON_ID] bigint NULL, + [ORGANIZATION_ID] bigint NULL, + [PRIMARY_CONTACT_ID] bigint NULL, + [LESSOR_TYPE_CODE] nvarchar(20) NOT NULL CONSTRAINT [TENANT_LESSOR_TYPE_CODE_DEF] DEFAULT ('UNK'), + [TENANT_TYPE_CODE] nvarchar(20) NOT NULL CONSTRAINT [TENANT_TENANT_TYPE_CODE_DEF] DEFAULT ('UNK'), + [NOTE] nvarchar(2000) NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [TENANT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [TENANT_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [TENANT_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [TENANT_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [TENANT_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [TENANT_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [TENANT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [TENANT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [TENANT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [TENANT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [TENANT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [TENANT_PK] PRIMARY KEY CLUSTERED([LEASE_TENANT_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Notes associated with the lease/tenant relationship.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_TENANT', + @level2type = N'Column', @level2name = N'NOTE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Associates a tenant with a lease' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LEASE_TENANT' +GO + +CREATE TABLE [dbo].[PIMS_LEASE_TENANT_HIST] ( + [_LEASE_TENANT_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_LEASE_TENANT_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [LEASE_TENANT_ID] bigint NOT NULL, + [LEASE_ID] bigint NOT NULL, + [PERSON_ID] bigint NULL, + [ORGANIZATION_ID] bigint NULL, + [PRIMARY_CONTACT_ID] bigint NULL, + [LESSOR_TYPE_CODE] nvarchar(20) NOT NULL, + [TENANT_TYPE_CODE] nvarchar(20) NOT NULL, + [NOTE] nvarchar(2000) NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_TENANT_H_PK] PRIMARY KEY CLUSTERED([_LEASE_TENANT_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_LEASE_TERM_HIST] ( + [_LEASE_TERM_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_LEASE_TERM_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [LEASE_TERM_ID] bigint NOT NULL, + [LEASE_ID] bigint NOT NULL, + [LEASE_TERM_STATUS_TYPE_CODE] nvarchar(20) NULL, + [LEASE_PMT_FREQ_TYPE_CODE] nvarchar(20) NULL, + [TERM_START_DATE] datetime NOT NULL, + [TERM_EXPIRY_DATE] datetime NULL, + [TERM_RENEWAL_DATE] datetime NULL, + [PAYMENT AMOUNT] money NULL, + [PAYMENT_DUE_DATE] nvarchar(200) NULL, + [PAYMENT_NOTE] nvarchar(2000) NULL, + [IS_GST_ELIGIBLE] bit NULL, + [GST_AMOUNT] money NULL, + [IS_TERM_EXERCISED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_LSTERM_H_PK] PRIMARY KEY CLUSTERED([_LEASE_TERM_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_LETTER_TYPE] ( + [LETTER_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [LTRTYP_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [LTRTYP_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LTRTYP_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LTRTYP_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [LTRTYP_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [LTRTYP_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [LTRTYP_PK] PRIMARY KEY CLUSTERED([LETTER_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value for the letter type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LETTER_TYPE', + @level2type = N'Column', @level2name = N'LETTER_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the letter type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LETTER_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code value is inactive.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LETTER_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Designates a preferred presentation order of the code descriptions.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LETTER_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Codified values for the letter type. This is an unassociated table that is used in the UI to populate JSON attributes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_LETTER_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_NOTE_HIST] ( + [_NOTE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_NOTE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [NOTE_ID] bigint NOT NULL, + [NOTE_TXT] nvarchar(4000) NOT NULL, + [IS_SYSTEM_GENERATED] bit NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_NOTE_H_PK] PRIMARY KEY CLUSTERED([_NOTE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_ORGANIZATION_ADDRESS] ( + [ORGANIZATION_ADDRESS_ID] bigint NOT NULL CONSTRAINT [ORGADD_ORGANIZATION_ADDRESS_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_ORGANIZATION_ADDRESS_ID_SEQ]), + [ORGANIZATION_ID] bigint NOT NULL, + [ADDRESS_ID] bigint NOT NULL, + [ADDRESS_USAGE_TYPE_CODE] nvarchar(20) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [ORGADD_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ORGADD_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ORGADD_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ORGADD_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ORGADD_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ORGADD_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ORGADD_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ORGADD_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ORGADD_PK] PRIMARY KEY CLUSTERED([ORGANIZATION_ADDRESS_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'An associative entity to define multiple addresses for a person.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_ORGANIZATION_ADDRESS' +GO + +CREATE TABLE [dbo].[PIMS_ORGANIZATION_ADDRESS_HIST] ( + [_ORGANIZATION_ADDRESS_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_ORGANIZATION_ADDRESS_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ORGANIZATION_ADDRESS_ID] bigint NOT NULL, + [ORGANIZATION_ID] bigint NOT NULL, + [ADDRESS_ID] bigint NOT NULL, + [ADDRESS_USAGE_TYPE_CODE] nvarchar(20) NOT NULL, + [IS_DISABLED] bit NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_ORGADD_H_PK] PRIMARY KEY CLUSTERED([_ORGANIZATION_ADDRESS_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_ORGANIZATION_HIST] ( + [_ORGANIZATION_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_ORGANIZATION_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ORGANIZATION_ID] bigint NOT NULL, + [PRNT_ORGANIZATION_ID] bigint NULL, + [REGION_CODE] smallint NULL, + [DISTRICT_CODE] smallint NULL, + [ORGANIZATION_TYPE_CODE] nvarchar(20) NULL, + [ORG_IDENTIFIER_TYPE_CODE] nvarchar(20) NULL, + [ORGANIZATION_IDENTIFIER] nvarchar(100) NULL, + [ORGANIZATION_NAME] nvarchar(200) NOT NULL, + [ORGANIZATION_ALIAS] nvarchar(200) NULL, + [INCORPORATION_NUMBER] nvarchar(50) NULL, + [WEBSITE] nvarchar(200) NULL, + [COMMENT] nvarchar(2000) NULL, + [IS_DISABLED] bit NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_ORG_H_PK] PRIMARY KEY CLUSTERED([_ORGANIZATION_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_PERSON_ADDRESS] ( + [PERSON_ADDRESS_ID] bigint NOT NULL CONSTRAINT [PERADD_PERSON_ADDRESS_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_PERSON_ADDRESS_ID_SEQ]), + [PERSON_ID] bigint NOT NULL, + [ADDRESS_ID] bigint NOT NULL, + [ADDRESS_USAGE_TYPE_CODE] nvarchar(20) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [PERADD_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PERADD_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PERADD_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PERADD_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PERADD_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PERADD_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PERADD_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PERADD_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PERADD_PK] PRIMARY KEY CLUSTERED([PERSON_ADDRESS_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'An associative entity to define multiple addresses for a person.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PERSON_ADDRESS' +GO + +CREATE TABLE [dbo].[PIMS_PERSON_ADDRESS_HIST] ( + [_PERSON_ADDRESS_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_PERSON_ADDRESS_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [PERSON_ADDRESS_ID] bigint NOT NULL, + [PERSON_ID] bigint NOT NULL, + [ADDRESS_ID] bigint NOT NULL, + [ADDRESS_USAGE_TYPE_CODE] nvarchar(20) NOT NULL, + [IS_DISABLED] bit NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_PERADD_H_PK] PRIMARY KEY CLUSTERED([_PERSON_ADDRESS_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_PERSON_HIST] ( + [_PERSON_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_PERSON_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [PERSON_ID] bigint NOT NULL, + [SURNAME] nvarchar(50) NOT NULL, + [FIRST_NAME] nvarchar(50) NOT NULL, + [MIDDLE_NAMES] nvarchar(200) NULL, + [NAME_SUFFIX] nvarchar(50) NULL, + [PREFERRED_NAME] nvarchar(200) NULL, + [BIRTH_DATE] date NULL, + [COMMENT] nvarchar(2000) NULL, + [ADDRESS_COMMENT] nvarchar(2000) NULL, + [USE_ORGANIZATION_ADDRESS] bit NULL, + [IS_DISABLED] bit NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_PERSON_H_PK] PRIMARY KEY CLUSTERED([_PERSON_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_PERSON_ORGANIZATION] ( + [PERSON_ORGANIZATION_ID] bigint NOT NULL CONSTRAINT [PERORG_PERSON_ORGANIZATION_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_PERSON_ORGANIZATION_ID_SEQ]), + [PERSON_ID] bigint NULL, + [ORGANIZATION_ID] bigint NULL, + [IS_DISABLED] bit NULL CONSTRAINT [PERORG_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PERORG_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PERORG_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PERORG_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PERORG_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PERORG_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PERORG_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PERORG_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PERORG_PK] PRIMARY KEY CLUSTERED([PERSON_ORGANIZATION_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_PERSON_ORGANIZATION_HIST] ( + [_PERSON_ORGANIZATION_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_PERSON_ORGANIZATION_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [PERSON_ORGANIZATION_ID] bigint NOT NULL, + [PERSON_ID] bigint NULL, + [ORGANIZATION_ID] bigint NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_PERORG_H_PK] PRIMARY KEY CLUSTERED([_PERSON_ORGANIZATION_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_PROP_RESEARCH_PURPOSE_TYPE] ( + [PROP_RESEARCH_PURPOSE_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [RRESPT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [RRESPT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RRESPT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RRESPT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RRESPT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RRESPT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [RRESPT_PK] PRIMARY KEY CLUSTERED([PROP_RESEARCH_PURPOSE_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code indicating the purpose of the property research' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROP_RESEARCH_PURPOSE_TYPE', + @level2type = N'Column', @level2name = N'PROP_RESEARCH_PURPOSE_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the code indicating the purpose of the property research' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROP_RESEARCH_PURPOSE_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code is disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROP_RESEARCH_PURPOSE_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Force the display order of the codes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROP_RESEARCH_PURPOSE_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code table to describe the purpose ot the property research' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROP_RESEARCH_PURPOSE_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE] ( + [PRF_PROP_RESEARCH_PURPOSE_ID] bigint NOT NULL CONSTRAINT [PRSPRP_PRF_PROP_RESEARCH_PURPOSE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_PRF_PROP_RESEARCH_PURPOSE_ID_SEQ]), + [PROPERTY_RESEARCH_FILE_ID] bigint NULL, + [PROP_RESEARCH_PURPOSE_TYPE_CODE] nvarchar(20) NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PRSPRP_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRSPRP_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRSPRP_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [PRSPRP_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRSPRP_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRSPRP_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [PRSPRP_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRSPRP_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRSPRP_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRSPRP_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRSPRP_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PRSPRP_PK] PRIMARY KEY CLUSTERED([PRF_PROP_RESEARCH_PURPOSE_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_PRODUCT_HIST] ( + [_PRODUCT_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_PRODUCT_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ID] bigint NOT NULL, + [PARENT_PROJECT_ID] bigint NOT NULL, + [CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [START_DATE] datetime NULL, + [COST_ESTIMATE] money NULL, + [COST_ESTIMATE_DATE] datetime NULL, + [OBJECTIVE] nvarchar(2000) NULL, + [SCOPE] nvarchar(2000) NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_PRODCT_H_PK] PRIMARY KEY CLUSTERED([_PRODUCT_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_PROJECT_HIST] ( + [_PROJECT_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_PROJECT_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ID] bigint NOT NULL, + [PROJECT_STATUS_TYPE_CODE] nvarchar(20) NULL, + [BUSINESS_FUNCTION_CODE_ID] bigint NULL, + [COST_TYPE_CODE_ID] bigint NULL, + [WORK_ACTIVITY_CODE_ID] bigint NULL, + [REGION_CODE] smallint NOT NULL, + [CODE] nvarchar(20) NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [NOTE] nvarchar(2000) NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_PROJCT_H_PK] PRIMARY KEY CLUSTERED([_PROJECT_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE_HIST] ( + [_PROPERTY_ACQUISITION_FILE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_PROPERTY_ACQUISITION_FILE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [PROPERTY_ACQUISITION_FILE_ID] bigint NOT NULL, + [ACQUISITION_FILE_ID] bigint NOT NULL, + [PROPERTY_ID] bigint NOT NULL, + [PROPERTY_NAME] nvarchar(500) NULL, + [DISPLAY_ORDER] int NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_PRACQF_H_PK] PRIMARY KEY CLUSTERED([_PROPERTY_ACQUISITION_FILE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_ADJACENT_LAND_TYPE] ( + [PROPERTY_ADJACENT_LAND_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [PRADJL_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PRADJL_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRADJL_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRADJL_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRADJL_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRADJL_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PRADJL_PK] PRIMARY KEY CLUSTERED([PROPERTY_ADJACENT_LAND_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Property adjacent land code.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_ADJACENT_LAND_TYPE', + @level2type = N'Column', @level2name = N'PROPERTY_ADJACENT_LAND_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Property adjacent land code description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_ADJACENT_LAND_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code is disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_ADJACENT_LAND_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Force the display order of the codes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_ADJACENT_LAND_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code table to describe property adjacent land type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_ADJACENT_LAND_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_ANOMALY_TYPE] ( + [PROPERTY_ANOMALY_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [PRANOM_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PRANOM_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRANOM_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRANOM_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRANOM_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRANOM_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PRANOM_PK] PRIMARY KEY CLUSTERED([PROPERTY_ANOMALY_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Property anomaly code.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_ANOMALY_TYPE', + @level2type = N'Column', @level2name = N'PROPERTY_ANOMALY_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Property anomaly code description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_ANOMALY_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code is disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_ANOMALY_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Force the display order of the codes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_ANOMALY_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code table to describe property anomalies.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_ANOMALY_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_EVALUATION] ( + [PROPERTY_EVALUATION_ID] bigint NOT NULL CONSTRAINT [PRPEVL_PROPERTY_EVALUATION_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_PROPERTY_EVALUATION_ID_SEQ]), + [PROPERTY_ID] bigint NOT NULL, + [EVALUATION_DATE] date NOT NULL, + [KEY] int NOT NULL, + [VALUE] money NOT NULL, + [NOTE] nvarchar(1000) NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PRPEVL_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPEVL_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPEVL_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPEVL_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPEVL_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPEVL_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPEVL_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PRPEVL_PK] PRIMARY KEY CLUSTERED([PROPERTY_EVALUATION_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_EVALUATION_HIST] ( + [_PROPERTY_EVALUATION_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_PROPERTY_EVALUATION_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [PROPERTY_EVALUATION_ID] bigint NOT NULL, + [PROPERTY_ID] bigint NOT NULL, + [EVALUATION_DATE] date NOT NULL, + [KEY] int NOT NULL, + [VALUE] money NOT NULL, + [NOTE] nvarchar(1000) NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_PRPEVL_H_PK] PRIMARY KEY CLUSTERED([_PROPERTY_EVALUATION_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_HIST] ( + [_PROPERTY_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_PROPERTY_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [PROPERTY_ID] bigint NOT NULL, + [PROPERTY_MANAGER_ID] bigint NULL, + [PROP_MGMT_ORG_ID] bigint NULL, + [PROPERTY_TYPE_CODE] nvarchar(20) NOT NULL, + [PROPERTY_CLASSIFICATION_TYPE_CODE] nvarchar(20) NOT NULL, + [ADDRESS_ID] bigint NULL, + [REGION_CODE] smallint NOT NULL, + [DISTRICT_CODE] smallint NOT NULL, + [PROPERTY_AREA_UNIT_TYPE_CODE] nvarchar(20) NULL, + [PROPERTY_DATA_SOURCE_TYPE_CODE] nvarchar(20) NOT NULL, + [PROPERTY_STATUS_TYPE_CODE] nvarchar(20) NOT NULL, + [SURPLUS_DECLARATION_TYPE_CODE] nvarchar(20) NOT NULL, + [VOLUMETRIC_TYPE_CODE] nvarchar(20) NULL, + [VOLUME_UNIT_TYPE_CODE] nvarchar(20) NULL, + [PPH_STATUS_TYPE_CODE] nvarchar(20) NULL, + [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE] date NOT NULL, + [NAME] nvarchar(250) NULL, + [DESCRIPTION] nvarchar(2000) NULL, + [PID] int NULL, + [PIN] int NULL, + [FILE_NUMBER] int NULL, + [FILE_NUMBER_SUFFIX] nvarchar(2) NULL, + [LAND_AREA] real NULL, + [SURVEY_PLAN_NUMBER] nvarchar(250) NULL, + [ENCUMBRANCE_REASON] nvarchar(500) NULL, + [SURPLUS_DECLARATION_COMMENT] nvarchar(2000) NULL, + [SURPLUS_DECLARATION_DATE] datetime NULL, + [MUNICIPAL_ZONING] nvarchar(100) NULL, + [IS_VOLUMETRIC_PARCEL] bit NULL, + [VOLUMETRIC_MEASUREMENT] real NULL, + [IS_OWNED] bit NOT NULL, + [IS_PROPERTY_OF_INTEREST] bit NOT NULL, + [IS_VISIBLE_TO_OTHER_AGENCIES] bit NOT NULL, + [IS_SENSITIVE] bit NOT NULL, + [IS_PROVINCIAL_PUBLIC_HWY] bit NULL, + [PPH_STATUS_UPDATE_USERID] nvarchar(30) NULL, + [PPH_STATUS_UPDATE_TIMESTAMP] datetime NULL, + [PPH_STATUS_UPDATE_USER_GUID] uniqueidentifier NULL, + [IS_RWY_BELT_DOM_PATENT] bit NULL, + [ZONING] nvarchar(50) NULL, + [ZONING_POTENTIAL] nvarchar(50) NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_PRPRTY_H_PK] PRIMARY KEY CLUSTERED([_PROPERTY_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT_TYPE] ( + [PROPERTY_IMPROVEMENT_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [PIMPRT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PIMPRT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PIMPRT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PIMPRT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PIMPRT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PIMPRT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PIMPRT_PK] PRIMARY KEY CLUSTERED([PROPERTY_IMPROVEMENT_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value of the types of improvements made to a property during the lease.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_IMPROVEMENT_TYPE', + @level2type = N'Column', @level2name = N'PROPERTY_IMPROVEMENT_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code description of the types of improvements made to a property during the lease.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_IMPROVEMENT_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code is disabled' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_IMPROVEMENT_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the types of improvements made to a property during the lease.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_IMPROVEMENT_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT] ( + [PROPERTY_IMPROVEMENT_ID] bigint NOT NULL CONSTRAINT [PIMPRV_PROPERTY_IMPROVEMENT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_PROPERTY_IMPROVEMENT_ID_SEQ]), + [LEASE_ID] bigint NOT NULL, + [PROPERTY_IMPROVEMENT_TYPE_CODE] nvarchar(20) NOT NULL, + [IMPROVEMENT_DESCRIPTION] nvarchar(2000) NULL, + [STRUCTURE_SIZE] nvarchar(2000) NULL, + [ADDRESS] nvarchar(2000) NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PIMPRV_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PIMPRV_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PIMPRV_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [PIMPRV_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PIMPRV_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PIMPRV_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [PIMPRV_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PIMPRV_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PIMPRV_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PIMPRV_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PIMPRV_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PIMPRV_PK] PRIMARY KEY CLUSTERED([PROPERTY_IMPROVEMENT_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the improvements' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_IMPROVEMENT', + @level2type = N'Column', @level2name = N'IMPROVEMENT_DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Size of the structure (house, building, bridge, etc,)' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_IMPROVEMENT', + @level2type = N'Column', @level2name = N'STRUCTURE_SIZE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Addresses affected' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_IMPROVEMENT', + @level2type = N'Column', @level2name = N'ADDRESS' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of property improvements associated with the lease.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_IMPROVEMENT' +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT_HIST] ( + [_PROPERTY_IMPROVEMENT_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_PROPERTY_IMPROVEMENT_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [PROPERTY_IMPROVEMENT_ID] bigint NOT NULL, + [LEASE_ID] bigint NOT NULL, + [PROPERTY_IMPROVEMENT_TYPE_CODE] nvarchar(20) NOT NULL, + [IMPROVEMENT_DESCRIPTION] nvarchar(2000) NULL, + [STRUCTURE_SIZE] nvarchar(2000) NULL, + [ADDRESS] nvarchar(2000) NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_PIMPRV_H_PK] PRIMARY KEY CLUSTERED([_PROPERTY_IMPROVEMENT_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_LEASE] ( + [PROPERTY_LEASE_ID] bigint NOT NULL CONSTRAINT [PROPLS_PROPERTY_LEASE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_PROPERTY_LEASE_ID_SEQ]), + [PROPERTY_ID] bigint NOT NULL, + [LEASE_ID] bigint NOT NULL, + [AREA_UNIT_TYPE_CODE] nvarchar(20) NULL, + [NAME] nvarchar(250) NULL, + [LEASE_AREA] real NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PROPLS_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PROPLS_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PROPLS_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [PROPLS_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PROPLS_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PROPLS_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [PROPLS_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PROPLS_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PROPLS_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PROPLS_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PROPLS_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PROPLS_PK] PRIMARY KEY CLUSTERED([PROPERTY_LEASE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Property/lease name' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_LEASE', + @level2type = N'Column', @level2name = N'NAME' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Leased area measurement' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_LEASE', + @level2type = N'Column', @level2name = N'LEASE_AREA' +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_LEASE_HIST] ( + [_PROPERTY_LEASE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_PROPERTY_LEASE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [PROPERTY_LEASE_ID] bigint NOT NULL, + [PROPERTY_ID] bigint NOT NULL, + [LEASE_ID] bigint NOT NULL, + [AREA_UNIT_TYPE_CODE] nvarchar(20) NULL, + [NAME] nvarchar(250) NULL, + [LEASE_AREA] real NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_PROPLS_H_PK] PRIMARY KEY CLUSTERED([_PROPERTY_LEASE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_ORGANIZATION] ( + [PROPERTY_ORGANIZATION_ID] bigint NOT NULL CONSTRAINT [PRPORG_PROPERTY_ORGANIZATION_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_PROPERTY_ORGANIZATION_ID_SEQ]), + [PROPERTY_ID] bigint NOT NULL, + [ORGANIZATION_ID] bigint NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PRPORG_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPORG_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPORG_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPORG_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPORG_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPORG_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPORG_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [IS_DISABLED] bit NULL CONSTRAINT [PRPORG_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + CONSTRAINT [PRPORG_PK] PRIMARY KEY CLUSTERED([PROPERTY_ORGANIZATION_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_ORGANIZATION_HIST] ( + [_PROPERTY_ORGANIZATION_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_PROPERTY_ORGANIZATION_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [PROPERTY_ORGANIZATION_ID] bigint NOT NULL, + [PROPERTY_ID] bigint NOT NULL, + [ORGANIZATION_ID] bigint NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [IS_DISABLED] bit NULL, + CONSTRAINT [PIMS_PRPORG_H_PK] PRIMARY KEY CLUSTERED([_PROPERTY_ORGANIZATION_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_SERVICE_FILE_TYPE] ( + [PROPERTY_SERVICE_FILE_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [PRSVFT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PRSVFT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRSVFT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRSVFT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRSVFT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRSVFT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PRSVFT_PK] PRIMARY KEY CLUSTERED([PROPERTY_SERVICE_FILE_TYPE_CODE]) +) +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_SERVICE_FILE] ( + [PROPERTY_SERVICE_FILE_ID] bigint NOT NULL CONSTRAINT [PRPSVC_PROPERTY_SERVICE_FILE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_PROPERTY_SERVICE_FILE_ID_SEQ]), + [PROPERTY_SERVICE_FILE_TYPE_CODE] nvarchar(20) NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PRPSVC_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPSVC_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPSVC_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPSVC_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPSVC_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPSVC_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPSVC_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PRPSVC_PK] PRIMARY KEY CLUSTERED([PROPERTY_SERVICE_FILE_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE] ( + [PROPERTY_PROPERTY_SERVICE_FILE_ID] bigint NOT NULL CONSTRAINT [PRPRSF_PROPERTY_PROPERTY_SERVICE_FILE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_PROPERTY_PROPERTY_SERVICE_FILE_ID_SEQ]), + [PROPERTY_ID] bigint NOT NULL, + [PROPERTY_SERVICE_FILE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [PRPRSF_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PRPRSF_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPRSF_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPRSF_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPRSF_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPRSF_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPRSF_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPRSF_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PRPRSF_PK] PRIMARY KEY CLUSTERED([PROPERTY_PROPERTY_SERVICE_FILE_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE_HIST] ( + [_PROPERTY_PROPERTY_SERVICE_FILE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_PROPERTY_PROPERTY_SERVICE_FILE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [PROPERTY_PROPERTY_SERVICE_FILE_ID] bigint NOT NULL, + [PROPERTY_ID] bigint NOT NULL, + [PROPERTY_SERVICE_FILE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_PRPRSF_H_PK] PRIMARY KEY CLUSTERED([_PROPERTY_PROPERTY_SERVICE_FILE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_RESEARCH_FILE_HIST] ( + [_PROPERTY_RESEARCH_FILE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_PROPERTY_RESEARCH_FILE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [PROPERTY_RESEARCH_FILE_ID] bigint NOT NULL, + [PROPERTY_ID] bigint NOT NULL, + [RESEARCH_FILE_ID] bigint NOT NULL, + [PROPERTY_NAME] nvarchar(500) NULL, + [DISPLAY_ORDER] int NULL, + [IS_DISABLED] bit NULL, + [IS_LEGAL_OPINION_REQUIRED] bit NULL, + [IS_LEGAL_OPINION_OBTAINED] bit NULL, + [DOCUMENT_REFERENCE] nvarchar(2000) NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_PRSCRC_H_PK] PRIMARY KEY CLUSTERED([_PROPERTY_RESEARCH_FILE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_ROAD_TYPE] ( + [PROPERTY_ROAD_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [PRROAD_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PRROAD_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRROAD_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRROAD_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRROAD_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRROAD_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PRROAD_PK] PRIMARY KEY CLUSTERED([PROPERTY_ROAD_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Property highway/road code.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_ROAD_TYPE', + @level2type = N'Column', @level2name = N'PROPERTY_ROAD_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Property highway/road code description.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_ROAD_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code is disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_ROAD_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Force the display order of the codes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_ROAD_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code table to describe property highway/road type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_ROAD_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_SERVICE_FILE_HIST] ( + [_PROPERTY_SERVICE_FILE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_PROPERTY_SERVICE_FILE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [PROPERTY_SERVICE_FILE_ID] bigint NOT NULL, + [PROPERTY_SERVICE_FILE_TYPE_CODE] nvarchar(20) NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_PRPSVC_H_PK] PRIMARY KEY CLUSTERED([_PROPERTY_SERVICE_FILE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_TAX_REMIT_TYPE] ( + [PROPERTY_TAX_REMIT_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [PTRMTT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PTRMTT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PTRMTT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PTRMTT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PTRMTT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PTRMTT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PTRMTT_PK] PRIMARY KEY CLUSTERED([PROPERTY_TAX_REMIT_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value of property tax remittance types' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_TAX_REMIT_TYPE', + @level2type = N'Column', @level2name = N'PROPERTY_TAX_REMIT_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code description of property tax remittance types' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_TAX_REMIT_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Is this code value disabled?' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_TAX_REMIT_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of property tax remittance types' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_TAX_REMIT_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_TAX] ( + [PROPERTY_TAX_ID] bigint NOT NULL CONSTRAINT [PRPTAX_PROPERTY_TAX_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_PROPERTY_TAX_ID_SEQ]), + [PROPERTY_ID] bigint NOT NULL, + [PROPERTY_TAX_REMIT_TYPE_CODE] nvarchar(20) NOT NULL, + [TAX_FOLIO_NO] nvarchar(50) NOT NULL, + [PAYMENT_AMOUNT] money NOT NULL, + [LAST_PAYMENT_DATE] datetime NULL, + [PAYMENT_NOTES] money NULL, + [BCTFA_NOTIFICATION_DATE] datetime NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PRPTAX_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPTAX_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPTAX_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [PRPTAX_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPTAX_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPTAX_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [PRPTAX_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPTAX_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPTAX_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPTAX_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPTAX_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PRPTAX_PK] PRIMARY KEY CLUSTERED([PROPERTY_TAX_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Property tax folio number' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_TAX', + @level2type = N'Column', @level2name = N'TAX_FOLIO_NO' +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_TAX_HIST] ( + [_PROPERTY_TAX_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_PROPERTY_TAX_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [PROPERTY_TAX_ID] bigint NOT NULL, + [PROPERTY_ID] bigint NOT NULL, + [PROPERTY_TAX_REMIT_TYPE_CODE] nvarchar(20) NOT NULL, + [TAX_FOLIO_NO] nvarchar(50) NOT NULL, + [PAYMENT_AMOUNT] money NOT NULL, + [LAST_PAYMENT_DATE] datetime NULL, + [PAYMENT_NOTES] money NULL, + [BCTFA_NOTIFICATION_DATE] datetime NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_PRPTAX_H_PK] PRIMARY KEY CLUSTERED([_PROPERTY_TAX_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_PROPERTY_TENURE_TYPE] ( + [PROPERTY_TENURE_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [PRPTNR_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PRPTNR_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPTNR_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPTNR_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPTNR_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPTNR_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PRPTNR_PK] PRIMARY KEY CLUSTERED([PROPERTY_TENURE_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'A code table to store property tenure codes. Tenure is defined as : "The act, right, manner or term of holding something(as a landed property)" In this case, tenure is required on Properties to indicate MoTI''s legal tenure on the property. The land parcel' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROPERTY_TENURE_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_PROP_PROP_ADJACENT_LAND_TYPE] ( + [PROP_PROP_ADJACENT_LAND_TYPE_ID] bigint NOT NULL CONSTRAINT [PRPALT_PROP_PROP_ADJACENT_LAND_TYPE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_PROP_PROP_ADJACENT_LAND_TYPE_ID_SEQ]), + [PROPERTY_ID] bigint NOT NULL, + [PROPERTY_ADJACENT_LAND_TYPE_CODE] nvarchar(20) NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPALT_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [PRPALT_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPALT_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPALT_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [PRPALT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPALT_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PRPALT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPALT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPALT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPALT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPALT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PRPALT_PK] PRIMARY KEY CLUSTERED([PROP_PROP_ADJACENT_LAND_TYPE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Resolves many-to-many relationship between PIMS_PROPERTY and PIMS_PROPERTY_ADJACENT_LAND_TYPE' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROP_PROP_ADJACENT_LAND_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_PROP_PROP_ANOMALY_TYPE] ( + [PROP_PROP_ANOMALY_TYPE_ID] bigint NOT NULL CONSTRAINT [PRPRAT_PROP_PROP_ANOMALY_TYPE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_PROP_PROP_ANOMALY_TYPE_ID_SEQ]), + [PROPERTY_ID] bigint NOT NULL, + [PROPERTY_ANOMALY_TYPE_CODE] nvarchar(20) NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPRAT_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [PRPRAT_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPRAT_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPRAT_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [PRPRAT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPRAT_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PRPRAT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPRAT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPRAT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPRAT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPRAT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PRPRAT_PK] PRIMARY KEY CLUSTERED([PROP_PROP_ANOMALY_TYPE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Resolves many-to-many relationship between PIMS_PROPERTY and PIMS_PROPERTY_ANOMALY_TYPE' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROP_PROP_ANOMALY_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_PROP_PROP_ROAD_TYPE] ( + [PROP_PROP_ROAD_TYPE_ID] bigint NOT NULL CONSTRAINT [PRPRRT_PROP_PROP_ROAD_TYPE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_PROP_PROP_ROAD_TYPE_ID_SEQ]), + [PROPERTY_ID] bigint NOT NULL, + [PROPERTY_ROAD_TYPE_CODE] nvarchar(20) NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PRPRRT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPRRT_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPRRT_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [PRPRRT_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPRRT_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPRRT_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [PRPRRT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPRRT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPRRT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPRRT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPRRT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PRPRRT_PK] PRIMARY KEY CLUSTERED([PROP_PROP_ROAD_TYPE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Resolves many-to-many relationship between PIMS_PROPERTY and PIMS_PROPERTY_ROAD_TYPE' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROP_PROP_ROAD_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_PROP_PROP_TENURE_TYPE] ( + [PROP_PROP_TENURE_TYPE_ID] bigint NOT NULL CONSTRAINT [PRPRTT_PROP_PROP_TENURE_TYPE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_PROP_PROP_TENURE_TYPE_ID_SEQ]), + [PROPERTY_ID] bigint NOT NULL, + [PROPERTY_TENURE_TYPE_CODE] nvarchar(20) NOT NULL CONSTRAINT [PRPRTT_PROPERTY_TENURE_TYPE_CODE_DEF] DEFAULT ('UNKNOWN'), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [PRPRTT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPRTT_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPRTT_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [PRPRTT_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPRTT_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPRTT_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [PRPRTT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPRTT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPRTT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [PRPRTT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [PRPRTT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [PRPRTT_PK] PRIMARY KEY CLUSTERED([PROP_PROP_TENURE_TYPE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Resolves many-to-many relationship between PIMS_PROPERTY and PIMS_PROPERTY_TENURE_TYPE' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_PROP_PROP_TENURE_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_REGION_USER] ( + [REGION_USER_ID] bigint NOT NULL CONSTRAINT [RGNUSR_REGION_USER_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_REGION_USER_ID_SEQ]), + [REGION_CODE] smallint NOT NULL CONSTRAINT [RGNUSR_REGION_CODE_DEF] DEFAULT ((4)), + [USER_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [RGNUSR_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [RGNUSR_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RGNUSR_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RGNUSR_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RGNUSR_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RGNUSR_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RGNUSR_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RGNUSR_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RGNUSR_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RGNUSR_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RGNUSR_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RGNUSR_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [RGNUSR_PK] PRIMARY KEY CLUSTERED([REGION_USER_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_REGION_USER_HIST] ( + [_REGION_USER_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_REGION_USER_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [REGION_USER_ID] bigint NOT NULL, + [REGION_CODE] smallint NOT NULL, + [USER_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_RGNUSR_H_PK] PRIMARY KEY CLUSTERED([_REGION_USER_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE] ( + [RESEARCH_ACTIVITY_INSTANCE_ID] bigint NOT NULL CONSTRAINT [RSCHAI_RESEARCH_ACTIVITY_INSTANCE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_ACTIVITY_INSTANCE_ID_SEQ]), + [ACTIVITY_INSTANCE_ID] bigint NOT NULL, + [RESEARCH_FILE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [RSCHAI_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [RSCHAI_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSCHAI_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSCHAI_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RSCHAI_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSCHAI_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSCHAI_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RSCHAI_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSCHAI_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSCHAI_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSCHAI_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSCHAI_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [RSCHAI_PK] PRIMARY KEY CLUSTERED([RESEARCH_ACTIVITY_INSTANCE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_ACTIVITY_INSTANCE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Relates a research file to an activity instance.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_ACTIVITY_INSTANCE' +GO + +CREATE TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE_HIST] ( + [_RESEARCH_ACTIVITY_INSTANCE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_ACTIVITY_INSTANCE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [RESEARCH_ACTIVITY_INSTANCE_ID] bigint NOT NULL, + [ACTIVITY_INSTANCE_ID] bigint NOT NULL, + [RESEARCH_FILE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_RSCHAI_H_PK] PRIMARY KEY CLUSTERED([_RESEARCH_ACTIVITY_INSTANCE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] ( + [RESEARCH_FILE_DOCUMENT_ID] bigint NOT NULL CONSTRAINT [RFLDOC_RESEARCH_FILE_DOCUMENT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_DOCUMENT_ID_SEQ]), + [RESEARCH_FILE_ID] bigint NOT NULL, + [DOCUMENT_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [RFLDOC_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [RFLDOC_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLDOC_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RFLDOC_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RFLDOC_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLDOC_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RFLDOC_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RFLDOC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLDOC_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NULL CONSTRAINT [RFLDOC_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLDOC_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RFLDOC_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [RFLDOC_PK] PRIMARY KEY CLUSTERED([RESEARCH_FILE_DOCUMENT_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE_DOCUMENT', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Defines the relationship betwwen a research file and a document.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE_DOCUMENT' +GO + +CREATE TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_HIST] ( + [_RESEARCH_FILE_DOCUMENT_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_DOCUMENT_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [RESEARCH_FILE_DOCUMENT_ID] bigint NOT NULL, + [RESEARCH_FILE_ID] bigint NOT NULL, + [DOCUMENT_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_RFLDOC_H_PK] PRIMARY KEY CLUSTERED([_RESEARCH_FILE_DOCUMENT_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_RESEARCH_FILE_HIST] ( + [_RESEARCH_FILE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [RESEARCH_FILE_ID] bigint NOT NULL, + [RESEARCH_FILE_STATUS_TYPE_CODE] nvarchar(20) NOT NULL, + [REQUEST_SOURCE_TYPE_CODE] nvarchar(20) NULL, + [REQUESTOR_NAME] bigint NULL, + [REQUESTOR_ORGANIZATION] bigint NULL, + [NAME] nvarchar(250) NOT NULL, + [RFILE_NUMBER] nvarchar(25) NOT NULL, + [REQUEST_DATE] date NULL, + [REQUEST_SOURCE_DESCRIPTION] nvarchar(2000) NULL, + [IS_EXPROPRIATION] bit NULL, + [RESEARCH_COMPLETION_DATE] date NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_RESRCH_H_PK] PRIMARY KEY CLUSTERED([_RESEARCH_FILE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] ( + [RESEARCH_FILE_NOTE_ID] bigint NOT NULL CONSTRAINT [RFLNOT_RESEARCH_FILE_NOTE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_NOTE_ID_SEQ]), + [RESEARCH_FILE_ID] bigint NOT NULL, + [NOTE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [RFLNOT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [RFLNOT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLNOT_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RFLNOT_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RFLNOT_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLNOT_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RFLNOT_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RFLNOT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLNOT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NULL CONSTRAINT [RFLNOT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLNOT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RFLNOT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [RFLNOT_PK] PRIMARY KEY CLUSTERED([RESEARCH_FILE_NOTE_ID],[RESEARCH_FILE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE_NOTE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Defines the relationship betwwen a research file and a note.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE_NOTE' +GO + +CREATE TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE_HIST] ( + [_RESEARCH_FILE_NOTE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_NOTE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [RESEARCH_FILE_NOTE_ID] bigint NOT NULL, + [RESEARCH_FILE_ID] bigint NOT NULL, + [NOTE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_RFLNOT_H_PK] PRIMARY KEY CLUSTERED([_RESEARCH_FILE_NOTE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] ( + [RESEARCH_FILE_PROJECT_ID] bigint NOT NULL CONSTRAINT [RFLPRJ_RESEARCH_FILE_PROJECT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_PROJECT_ID_SEQ]), + [RESEARCH_FILE_ID] bigint NOT NULL, + [PROJECT_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [RFLPRJ_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [RFLPRJ_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLPRJ_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RFLPRJ_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RFLPRJ_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLPRJ_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RFLPRJ_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RFLPRJ_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLPRJ_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NULL CONSTRAINT [RFLPRJ_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RFLPRJ_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RFLPRJ_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [RFLPRJ_PK] PRIMARY KEY CLUSTERED([RESEARCH_FILE_PROJECT_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the relationship has been disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE_PROJECT', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Defines the relationship betwwen a research file and a project.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_FILE_PROJECT' +GO + +CREATE TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT_HIST] ( + [_RESEARCH_FILE_PROJECT_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_PROJECT_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [RESEARCH_FILE_PROJECT_ID] bigint NOT NULL, + [RESEARCH_FILE_ID] bigint NOT NULL, + [PROJECT_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_RFLPRJ_H_PK] PRIMARY KEY CLUSTERED([_RESEARCH_FILE_PROJECT_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_RESEARCH_PURPOSE_TYPE] ( + [RESEARCH_PURPOSE_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [RSHPRT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [RSHPRT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSHPRT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSHPRT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSHPRT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSHPRT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [RSHPRT_PK] PRIMARY KEY CLUSTERED([RESEARCH_PURPOSE_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code indicating the purpose of the research request.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_PURPOSE_TYPE', + @level2type = N'Column', @level2name = N'RESEARCH_PURPOSE_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the code indicating the purpose of the research request.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_PURPOSE_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code is disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_PURPOSE_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Force the display order of the codes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_PURPOSE_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code table to describe the purpose ot the research request' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESEARCH_PURPOSE_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_RESEARCH_FILE_PURPOSE] ( + [RESEARCH_FILE_PURPOSE_ID] bigint NOT NULL CONSTRAINT [RSFLPR_RESEARCH_FILE_PURPOSE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_PURPOSE_ID_SEQ]), + [RESEARCH_FILE_ID] bigint NOT NULL, + [RESEARCH_PURPOSE_TYPE_CODE] nvarchar(20) NOT NULL CONSTRAINT [RSFLPR_RESEARCH_PURPOSE_TYPE_CODE_DEF] DEFAULT ('GENENQ'), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [RSFLPR_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSFLPR_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSFLPR_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RSFLPR_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSFLPR_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSFLPR_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RSFLPR_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSFLPR_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSFLPR_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RSFLPR_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RSFLPR_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [RSFLPR_PK] PRIMARY KEY CLUSTERED([RESEARCH_FILE_PURPOSE_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_RESEARCH_FILE_PURPOSE_HIST] ( + [_RESEARCH_FILE_PURPOSE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_RESEARCH_FILE_PURPOSE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [RESEARCH_FILE_PURPOSE_ID] bigint NOT NULL, + [RESEARCH_FILE_ID] bigint NOT NULL, + [RESEARCH_PURPOSE_TYPE_CODE] nvarchar(20) NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_RSFLPR_H_PK] PRIMARY KEY CLUSTERED([_RESEARCH_FILE_PURPOSE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_RESPONSIBILITY_CODE] ( + [ID] bigint NOT NULL CONSTRAINT [RESPCD_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_RESPONSIBILITY_ID_SEQ]), + [CODE] nvarchar(20) NOT NULL CONSTRAINT [RESPCD_CODE_DEF] DEFAULT (''), + [DESCRIPTION] nvarchar(200) NOT NULL, + [DISPLAY_ORDER] int NULL, + [EFFECTIVE_DATE] datetime NOT NULL CONSTRAINT [RESPCD_EFFECTIVE_DATE_DEF] DEFAULT (getutcdate()), + [EXPIRY_DATE] datetime NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [RESPCD_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RESPCD_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RESPCD_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RESPCD_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RESPCD_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RESPCD_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [RESPCD_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RESPCD_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RESPCD_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [RESPCD_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [RESPCD_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [RESPCD_PK] PRIMARY KEY CLUSTERED([ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'System-generated primary key.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESPONSIBILITY_CODE', + @level2type = N'Column', @level2name = N'ID' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Name of the code.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESPONSIBILITY_CODE', + @level2type = N'Column', @level2name = N'CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Descriptive value of a code within the set.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESPONSIBILITY_CODE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Designates a preferred presentation order of the code descriptions.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESPONSIBILITY_CODE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date the code became effective.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESPONSIBILITY_CODE', + @level2type = N'Column', @level2name = N'EFFECTIVE_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date the code ceased to be in effect.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESPONSIBILITY_CODE', + @level2type = N'Column', @level2name = N'EXPIRY_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code and description of the responsibility codes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_RESPONSIBILITY_CODE' +GO + +CREATE TABLE [dbo].[PIMS_RESPONSIBILITY_CODE_HIST] ( + [_RESPONSIBILITY_CODE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_RESPONSIBILITY_CODE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ID] bigint NOT NULL, + [CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [DISPLAY_ORDER] int NULL, + [EFFECTIVE_DATE] datetime NOT NULL, + [EXPIRY_DATE] datetime NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_RESPCD_H_PK] PRIMARY KEY CLUSTERED([_RESPONSIBILITY_CODE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_ROLE_CLAIM] ( + [ROLE_CLAIM_ID] bigint NOT NULL CONSTRAINT [ROLCLM_ROLE_CLAIM_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_ROLE_CLAIM_ID_SEQ]), + [ROLE_ID] bigint NOT NULL, + [CLAIM_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [ROLCLM_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [ROLCLM_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ROLCLM_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ROLCLM_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ROLCLM_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ROLCLM_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [ROLCLM_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [ROLCLM_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [ROLCLM_PK] PRIMARY KEY CLUSTERED([ROLE_CLAIM_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_ROLE_CLAIM_HIST] ( + [_ROLE_CLAIM_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_ROLE_CLAIM_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ROLE_CLAIM_ID] bigint NOT NULL, + [ROLE_ID] bigint NOT NULL, + [CLAIM_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_ROLCLM_H_PK] PRIMARY KEY CLUSTERED([_ROLE_CLAIM_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_ROLE_HIST] ( + [_ROLE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_ROLE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ROLE_ID] bigint NOT NULL, + [ROLE_UID] uniqueidentifier NOT NULL, + [KEYCLOAK_GROUP_ID] uniqueidentifier NULL, + [NAME] nvarchar(100) NOT NULL, + [DESCRIPTION] nvarchar(500) NULL, + [IS_PUBLIC] bit NOT NULL, + [IS_DISABLED] bit NOT NULL, + [SORT_ORDER] int NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_ROLE_H_PK] PRIMARY KEY CLUSTERED([_ROLE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_SECURITY_DEPOSIT_TYPE] ( + [SECURITY_DEPOSIT_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [SECDPT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [SECDPT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [SECDPT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [SECDPT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [SECDPT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [SECDPT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [SECDPT_PK] PRIMARY KEY CLUSTERED([SECURITY_DEPOSIT_TYPE_CODE]) +) +GO + +CREATE TABLE [dbo].[PIMS_SECURITY_DEPOSIT] ( + [SECURITY_DEPOSIT_ID] bigint NOT NULL CONSTRAINT [SECDEP_SECURITY_DEPOSIT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_SECURITY_DEPOSIT_ID_SEQ]), + [LEASE_ID] bigint NOT NULL, + [SECURITY_DEPOSIT_TYPE_CODE] nvarchar(20) NOT NULL, + [OTHER_DEPOSIT_TYPE_DESC] nvarchar(200) NULL, + [DESCRIPTION] nvarchar(2000) NOT NULL, + [AMOUNT_PAID] money NOT NULL, + [DEPOSIT_DATE] date NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [SECDEP_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [SECDEP_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [SECDEP_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [SECDEP_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [SECDEP_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [SECDEP_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [SECDEP_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [SECDEP_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [SECDEP_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [SECDEP_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [SECDEP_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [SECDEP_PK] PRIMARY KEY CLUSTERED([SECURITY_DEPOSIT_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the deposit type If the SECURITY_DEPOSIT_TYPE_CODE has been chosen for this scurity deposit.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_SECURITY_DEPOSIT', + @level2type = N'Column', @level2name = N'OTHER_DEPOSIT_TYPE_DESC' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Descirption of this security deposit' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_SECURITY_DEPOSIT', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Amount paid of this security deposit' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_SECURITY_DEPOSIT', + @level2type = N'Column', @level2name = N'AMOUNT_PAID' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date of this security deposit' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_SECURITY_DEPOSIT', + @level2type = N'Column', @level2name = N'DEPOSIT_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of a security deposit associated with a lease.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_SECURITY_DEPOSIT' +GO + +CREATE TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HIST] ( + [_SECURITY_DEPOSIT_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_SECURITY_DEPOSIT_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [SECURITY_DEPOSIT_ID] bigint NOT NULL, + [LEASE_ID] bigint NOT NULL, + [SECURITY_DEPOSIT_TYPE_CODE] nvarchar(20) NOT NULL, + [OTHER_DEPOSIT_TYPE_DESC] nvarchar(200) NULL, + [DESCRIPTION] nvarchar(2000) NOT NULL, + [AMOUNT_PAID] money NOT NULL, + [DEPOSIT_DATE] date NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_SECDEP_H_PK] PRIMARY KEY CLUSTERED([_SECURITY_DEPOSIT_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] ( + [SECURITY_DEPOSIT_HOLDER_ID] bigint NOT NULL CONSTRAINT [SCDPHL_SECURITY_DEPOSIT_HOLDER_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_SECURITY_DEPOSIT_HOLDER_ID_SEQ]), + [SECURITY_DEPOSIT_ID] bigint NOT NULL, + [PERSON_ID] bigint NULL, + [ORGANIZATION_ID] bigint NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [SCDPHL_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [SCDPHL_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [SCDPHL_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [SCDPHL_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [SCDPHL_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [SCDPHL_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [SCDPHL_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [SCDPHL_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [SCDPHL_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [SCDPHL_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [SCDPHL_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [SCDPHL_PK] PRIMARY KEY CLUSTERED([SECURITY_DEPOSIT_HOLDER_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER_HIST] ( + [_SECURITY_DEPOSIT_HOLDER_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_SECURITY_DEPOSIT_HOLDER_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [SECURITY_DEPOSIT_HOLDER_ID] bigint NOT NULL, + [SECURITY_DEPOSIT_ID] bigint NOT NULL, + [PERSON_ID] bigint NULL, + [ORGANIZATION_ID] bigint NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_SCDPHL_H_PK] PRIMARY KEY CLUSTERED([_SECURITY_DEPOSIT_HOLDER_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN] ( + [SECURITY_DEPOSIT_RETURN_ID] bigint NOT NULL CONSTRAINT [SDRTRN_SECURITY_DEPOSIT_RETURN_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_SECURITY_DEPOSIT_RETURN_ID_SEQ]), + [SECURITY_DEPOSIT_ID] bigint NOT NULL, + [TERMINATION_DATE] datetime NOT NULL, + [CLAIMS_AGAINST] money NULL, + [RETURN_AMOUNT] money NOT NULL, + [RETURN_DATE] datetime NOT NULL, + [INTEREST_PAID] money NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [SDRTRN_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [SDRTRN_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [SDRTRN_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [SDRTRN_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [SDRTRN_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [SDRTRN_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [SDRTRN_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [SDRTRN_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [SDRTRN_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [SDRTRN_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [SDRTRN_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [SDRTRN_PK] PRIMARY KEY CLUSTERED([SECURITY_DEPOSIT_RETURN_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date the lease/license was terminated or surrendered' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_SECURITY_DEPOSIT_RETURN', + @level2type = N'Column', @level2name = N'TERMINATION_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Amount of claims against the deposit' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_SECURITY_DEPOSIT_RETURN', + @level2type = N'Column', @level2name = N'CLAIMS_AGAINST' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Amount returned minus claims' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_SECURITY_DEPOSIT_RETURN', + @level2type = N'Column', @level2name = N'RETURN_AMOUNT' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date of deposit return' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_SECURITY_DEPOSIT_RETURN', + @level2type = N'Column', @level2name = N'RETURN_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Interest paid on the deposit to the deposit holder' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_SECURITY_DEPOSIT_RETURN', + @level2type = N'Column', @level2name = N'INTEREST_PAID' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Describes the details of the return of a security deposit.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_SECURITY_DEPOSIT_RETURN' +GO + +CREATE TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HIST] ( + [_SECURITY_DEPOSIT_RETURN_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_SECURITY_DEPOSIT_RETURN_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [SECURITY_DEPOSIT_RETURN_ID] bigint NOT NULL, + [SECURITY_DEPOSIT_ID] bigint NOT NULL, + [TERMINATION_DATE] datetime NOT NULL, + [CLAIMS_AGAINST] money NULL, + [RETURN_AMOUNT] money NOT NULL, + [RETURN_DATE] datetime NOT NULL, + [INTEREST_PAID] money NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_SDRTRN_H_PK] PRIMARY KEY CLUSTERED([_SECURITY_DEPOSIT_RETURN_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] ( + [SECURITY_DEPOSIT_RETURN_HOLDER_ID] bigint NOT NULL CONSTRAINT [SCDPRH_SECURITY_DEPOSIT_RETURN_HOLDER_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_SECURITY_DEPOSIT_RETURN_HOLDER_ID_SEQ]), + [SECURITY_DEPOSIT_RETURN_ID] bigint NOT NULL, + [PERSON_ID] bigint NULL, + [ORGANIZATION_ID] bigint NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [SCDPRH_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [SCDPRH_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [SCDPRH_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [SCDPRH_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [SCDPRH_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [SCDPRH_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [SCDPRH_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [SCDPRH_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [SCDPRH_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [SCDPRH_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [SCDPRH_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [SCDPRH_PK] PRIMARY KEY CLUSTERED([SECURITY_DEPOSIT_RETURN_HOLDER_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER_HIST] ( + [_SECURITY_DEPOSIT_RETURN_HOLDER_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_SECURITY_DEPOSIT_RETURN_HOLDER_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [SECURITY_DEPOSIT_RETURN_HOLDER_ID] bigint NOT NULL, + [SECURITY_DEPOSIT_RETURN_ID] bigint NOT NULL, + [PERSON_ID] bigint NULL, + [ORGANIZATION_ID] bigint NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_SCDPRH_H_PK] PRIMARY KEY CLUSTERED([_SECURITY_DEPOSIT_RETURN_HOLDER_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_STATIC_VARIABLE] ( + [STATIC_VARIABLE_NAME] nvarchar(100) NOT NULL, + [STATIC_VARIABLE_VALUE] nvarchar(100) NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [STAVBL_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [STAVBL_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [STAVBL_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [STAVBL_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [STAVBL_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [STAVBL_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [STAVBL_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [STAVBL_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [STAVBL_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [STAVBL_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [STAVBL_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [STAVBL_PK] PRIMARY KEY CLUSTERED([STATIC_VARIABLE_NAME]) +) +GO + +CREATE TABLE [dbo].[PIMS_STATIC_VARIABLE_HIST] ( + [_STATIC_VARIABLE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_STATIC_VARIABLE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [STATIC_VARIABLE_NAME] nvarchar(100) NOT NULL, + [STATIC_VARIABLE_VALUE] nvarchar(100) NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_STAVBL_H_PK] PRIMARY KEY CLUSTERED([_STATIC_VARIABLE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_SURVEY_PLAN_TYPE] ( + [SURVEY_PLAN_TYPE_CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [IS_DISABLED] bit NOT NULL CONSTRAINT [SRVPLT_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [DISPLAY_ORDER] int NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [SRVPLT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [SRVPLT_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [SRVPLT_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [SRVPLT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [SRVPLT_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [SRVPLT_PK] PRIMARY KEY CLUSTERED([SURVEY_PLAN_TYPE_CODE]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value for the survey plan type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_SURVEY_PLAN_TYPE', + @level2type = N'Column', @level2name = N'SURVEY_PLAN_TYPE_CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the survey plan type.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_SURVEY_PLAN_TYPE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if the code value is inactive.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_SURVEY_PLAN_TYPE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Designates a preferred presentation order of the code descriptions.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_SURVEY_PLAN_TYPE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Codified values for the survey plan type. This is an unassociated table that is used in the UI to populate JSON attributes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_SURVEY_PLAN_TYPE' +GO + +CREATE TABLE [dbo].[PIMS_TENANT] ( + [TENANT_ID] bigint NOT NULL CONSTRAINT [TENNTX_TENANT_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_TENANT_ID_SEQ]), + [CODE] nvarchar(6) NOT NULL, + [NAME] nvarchar(150) NOT NULL, + [DESCRIPTION] nvarchar(500) NULL, + [SETTINGS] nvarchar(2000) NOT NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [TENNTX_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [TENNTX_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [TENNTX_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [TENNTX_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [TENNTX_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [TENNTX_PK] PRIMARY KEY CLUSTERED([TENANT_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Auto-sequenced unique key value' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_TENANT', + @level2type = N'Column', @level2name = N'TENANT_ID' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code value for entry' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_TENANT', + @level2type = N'Column', @level2name = N'CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Name of the entry for display purposes' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_TENANT', + @level2type = N'Column', @level2name = N'NAME' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Description of the entry for display purposes' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_TENANT', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Serialized JSON value for the configuration' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_TENANT', + @level2type = N'Column', @level2name = N'SETTINGS' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Deprecated table to support legacy CITZ-PIMS application code. This table will be removed once the code dependency is removed from the system.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_TENANT' +GO + +CREATE TABLE [dbo].[PIMS_USER_HIST] ( + [_USER_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_USER_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [USER_ID] bigint NOT NULL, + [PERSON_ID] bigint NOT NULL, + [BUSINESS_IDENTIFIER_VALUE] nvarchar(30) NOT NULL, + [GUID_IDENTIFIER_VALUE] uniqueidentifier NULL, + [POSITION] nvarchar(100) NULL, + [NOTE] nvarchar(1000) NULL, + [LAST_LOGIN] datetime NULL, + [APPROVED_BY_ID] nvarchar(30) NULL, + [ISSUE_DATE] datetime NOT NULL, + [EXPIRY_DATE] datetime NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_USER_H_PK] PRIMARY KEY CLUSTERED([_USER_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_USER_ORGANIZATION] ( + [USER_ORGANIZATION_ID] bigint NOT NULL CONSTRAINT [USRORG_USER_ORGANIZATION_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_USER_ORGANIZATION_ID_SEQ]), + [ORGANIZATION_ID] bigint NOT NULL, + [USER_ID] bigint NOT NULL, + [ROLE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [USRORG_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [USRORG_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [USRORG_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [USRORG_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [USRORG_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [USRORG_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [USRORG_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [USRORG_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [USRORG_PK] PRIMARY KEY CLUSTERED([USER_ORGANIZATION_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if this association is disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_USER_ORGANIZATION', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Associates a user with an organization.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_USER_ORGANIZATION' +GO + +CREATE TABLE [dbo].[PIMS_USER_ORGANIZATION_HIST] ( + [_USER_ORGANIZATION_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_USER_ORGANIZATION_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [USER_ORGANIZATION_ID] bigint NOT NULL, + [ORGANIZATION_ID] bigint NOT NULL, + [USER_ID] bigint NOT NULL, + [ROLE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_USRORG_H_PK] PRIMARY KEY CLUSTERED([_USER_ORGANIZATION_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_USER_ROLE] ( + [USER_ROLE_ID] bigint NOT NULL CONSTRAINT [USERRL_USER_ROLE_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_USER_ROLE_ID_SEQ]), + [USER_ID] bigint NOT NULL, + [ROLE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL CONSTRAINT [USERRL_IS_DISABLED_DEF] DEFAULT (CONVERT([bit],(0))), + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [USERRL_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [USERRL_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [USERRL_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [USERRL_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [USERRL_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [USERRL_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [USERRL_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [USERRL_PK] PRIMARY KEY CLUSTERED([USER_ROLE_ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Indicates if this association is disabled.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_USER_ROLE', + @level2type = N'Column', @level2name = N'IS_DISABLED' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Associates a user with an role.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_USER_ROLE' +GO + +CREATE TABLE [dbo].[PIMS_USER_ROLE_HIST] ( + [_USER_ROLE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_USER_ROLE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [USER_ROLE_ID] bigint NOT NULL, + [USER_ID] bigint NOT NULL, + [ROLE_ID] bigint NOT NULL, + [IS_DISABLED] bit NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_USERRL_H_PK] PRIMARY KEY CLUSTERED([_USER_ROLE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE_HIST] ( + [_WORK_ACTIVITY_CODE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_WORK_ACTIVITY_CODE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ID] bigint NOT NULL, + [CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [DISPLAY_ORDER] int NULL, + [EFFECTIVE_DATE] datetime NOT NULL, + [EXPIRY_DATE] datetime NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_WRKACT_H_PK] PRIMARY KEY CLUSTERED([_WORK_ACTIVITY_CODE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE] ( + [ID] bigint NOT NULL CONSTRAINT [YRFINC_ID_DEF] DEFAULT (NEXT VALUE FOR [PIMS_YEARLY_FINANCIAL_CODE_ID_SEQ]), + [CODE] nvarchar(20) NOT NULL CONSTRAINT [YRFINC_CODE_DEF] DEFAULT (''), + [DESCRIPTION] nvarchar(200) NOT NULL, + [DISPLAY_ORDER] int NULL, + [EFFECTIVE_DATE] datetime NOT NULL CONSTRAINT [YRFINC_EFFECTIVE_DATE_DEF] DEFAULT (getutcdate()), + [EXPIRY_DATE] datetime NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL CONSTRAINT [YRFINC_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT ((1)), + [APP_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [YRFINC_APP_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [YRFINC_APP_CREATE_USERID_DEF] DEFAULT (user_name()), + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [YRFINC_APP_CREATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [YRFINC_APP_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [YRFINC_APP_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL CONSTRAINT [YRFINC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] DEFAULT (user_name()), + [DB_CREATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [YRFINC_DB_CREATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_CREATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [YRFINC_DB_CREATE_USERID_DEF] DEFAULT (user_name()), + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL CONSTRAINT [YRFINC_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT (getutcdate()), + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL CONSTRAINT [YRFINC_DB_LAST_UPDATE_USERID_DEF] DEFAULT (user_name()), + CONSTRAINT [YRFINC_PK] PRIMARY KEY CLUSTERED([ID]) +) +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'System-generated primary key.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_YEARLY_FINANCIAL_CODE', + @level2type = N'Column', @level2name = N'ID' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Standard Object of Expenditure (STOB) code.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_YEARLY_FINANCIAL_CODE', + @level2type = N'Column', @level2name = N'CODE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Descriptive value of the STOB code.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_YEARLY_FINANCIAL_CODE', + @level2type = N'Column', @level2name = N'DESCRIPTION' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Designates a preferred presentation order of the code descriptions.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_YEARLY_FINANCIAL_CODE', + @level2type = N'Column', @level2name = N'DISPLAY_ORDER' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date the code became effective.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_YEARLY_FINANCIAL_CODE', + @level2type = N'Column', @level2name = N'EFFECTIVE_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Date the code ceased to be in effect.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_YEARLY_FINANCIAL_CODE', + @level2type = N'Column', @level2name = N'EXPIRY_DATE' +GO +EXEC sp_addextendedproperty + @name = N'MS_Description', @value = N'Code and description of the chart of accounts codes.' , + @level0type = N'Schema', @level0name = N'dbo', + @level1type = N'Table', @level1name = N'PIMS_YEARLY_FINANCIAL_CODE' +GO + +CREATE TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE_HIST] ( + [_YEARLY_FINANCIAL_CODE_HIST_ID] bigint NOT NULL DEFAULT (NEXT VALUE FOR [PIMS_YEARLY_FINANCIAL_CODE_H_ID_SEQ]), + [EFFECTIVE_DATE_HIST] datetime NOT NULL DEFAULT (getutcdate()), + [END_DATE_HIST] datetime NULL, + [ID] bigint NOT NULL, + [CODE] nvarchar(20) NOT NULL, + [DESCRIPTION] nvarchar(200) NOT NULL, + [DISPLAY_ORDER] int NULL, + [EFFECTIVE_DATE] datetime NOT NULL, + [EXPIRY_DATE] datetime NULL, + [CONCURRENCY_CONTROL_NUMBER] bigint NOT NULL, + [APP_CREATE_TIMESTAMP] datetime NOT NULL, + [APP_CREATE_USERID] nvarchar(30) NOT NULL, + [APP_CREATE_USER_GUID] uniqueidentifier NULL, + [APP_CREATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [APP_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + [APP_LAST_UPDATE_USER_GUID] uniqueidentifier NULL, + [APP_LAST_UPDATE_USER_DIRECTORY] nvarchar(30) NOT NULL, + [DB_CREATE_TIMESTAMP] datetime NOT NULL, + [DB_CREATE_USERID] nvarchar(30) NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] datetime NOT NULL, + [DB_LAST_UPDATE_USERID] nvarchar(30) NOT NULL, + CONSTRAINT [PIMS_YRFINC_H_PK] PRIMARY KEY CLUSTERED([_YEARLY_FINANCIAL_CODE_HIST_ID]) +) +GO + +CREATE TABLE [dbo].[__EFMigrationsHistory] ( + [MigrationId] nvarchar(150) NOT NULL, + [ProductVersion] nvarchar(32) NULL, + CONSTRAINT [MIGHIS_PK] PRIMARY KEY CLUSTERED([MigrationId]) +) +GO + +CREATE VIEW [dbo].[PIMS_PERSON_CONTACT_VW] AS +SELECT DISTINCT PERSON_ID + , (SELECT TOP 1 CONTACT_METHOD_VALUE + FROM PIMS_CONTACT_METHOD + WHERE CONTACT_METHOD_TYPE_CODE = 'FAX' + AND PERSON_ID = TMP.PERSON_ID + ORDER BY IS_PREFERRED_METHOD DESC + , DB_LAST_UPDATE_TIMESTAMP DESC) AS FAX + , (SELECT TOP 1 CONTACT_METHOD_VALUE + FROM PIMS_CONTACT_METHOD + WHERE CONTACT_METHOD_TYPE_CODE = 'PERSMOBIL' + AND PERSON_ID = TMP.PERSON_ID + ORDER BY IS_PREFERRED_METHOD DESC + , DB_LAST_UPDATE_TIMESTAMP DESC) AS PERSONAL_MOBILE + , (SELECT TOP 1 CONTACT_METHOD_VALUE + FROM PIMS_CONTACT_METHOD + WHERE CONTACT_METHOD_TYPE_CODE = 'PERSPHONE' + AND PERSON_ID = TMP.PERSON_ID + ORDER BY IS_PREFERRED_METHOD DESC + , DB_LAST_UPDATE_TIMESTAMP DESC) AS PERSONAL_PHONE + , (SELECT TOP 1 CONTACT_METHOD_VALUE + FROM PIMS_CONTACT_METHOD + WHERE CONTACT_METHOD_TYPE_CODE = 'WORKMOBIL' + AND PERSON_ID = TMP.PERSON_ID + ORDER BY IS_PREFERRED_METHOD DESC + , DB_LAST_UPDATE_TIMESTAMP DESC) AS WORK_MOBILE + , (SELECT TOP 1 CONTACT_METHOD_VALUE + FROM PIMS_CONTACT_METHOD + WHERE CONTACT_METHOD_TYPE_CODE = 'WORKPHONE' + AND PERSON_ID = TMP.PERSON_ID + ORDER BY IS_PREFERRED_METHOD DESC + , DB_LAST_UPDATE_TIMESTAMP DESC) AS WORK_PHONE + , (SELECT TOP 1 CONTACT_METHOD_VALUE + FROM PIMS_CONTACT_METHOD + WHERE CONTACT_METHOD_TYPE_CODE = 'WORKEMAIL' + AND PERSON_ID = TMP.PERSON_ID + ORDER BY IS_PREFERRED_METHOD DESC + , DB_LAST_UPDATE_TIMESTAMP DESC) AS WORK_EMAIL + , (SELECT TOP 1 CONTACT_METHOD_VALUE + FROM PIMS_CONTACT_METHOD + WHERE CONTACT_METHOD_TYPE_CODE = 'PERSEMAIL' + AND PERSON_ID = TMP.PERSON_ID + ORDER BY IS_PREFERRED_METHOD DESC + , DB_LAST_UPDATE_TIMESTAMP DESC) AS PERSONAL_EMAIL +FROM PIMS_CONTACT_METHOD TMP +WHERE ORGANIZATION_ID IS NULL +GO + +CREATE VIEW [dbo].[PIMS_CONTACT_MGR_VW] AS + SELECT CONCAT('P', PER.PERSON_ID) AS ID + , PER.PERSON_ID + , ORG.ORGANIZATION_ID AS ORGANIZATION_ID + , PER.IS_DISABLED + , TRIM(CONCAT_WS(' ', NULLIF(PER.FIRST_NAME, ''), NULLIF(PER.MIDDLE_NAMES, ''), NULLIF(PER.SURNAME, ''))) AS SUMMARY + , PER.SURNAME + , PER.FIRST_NAME + , PER.MIDDLE_NAMES + , ORG.ORGANIZATION_NAME AS ORGANIZATION_NAME + , PAD.ADDRESS_ID + , ADR.STREET_ADDRESS_1 AS MAILING_ADDRESS + , ADR.MUNICIPALITY_NAME + , PRV.PROVINCE_STATE_CODE AS PROVINCE_STATE + , COALESCE(PVW.WORK_EMAIL, PVW.PERSONAL_EMAIL) AS EMAIL_ADDRESS + FROM PIMS_PERSON PER LEFT JOIN + PIMS_PERSON_ADDRESS PAD ON PAD.PERSON_ID = PER.PERSON_ID + AND PAD.ADDRESS_USAGE_TYPE_CODE = 'MAILING' LEFT JOIN + PIMS_ADDRESS ADR ON ADR.ADDRESS_ID = PAD.ADDRESS_ID LEFT JOIN + PIMS_PROVINCE_STATE PRV ON PRV.PROVINCE_STATE_ID = ADR.PROVINCE_STATE_ID LEFT JOIN + PIMS_PERSON_CONTACT_VW PVW ON PVW.PERSON_ID = PER.PERSON_ID LEFT JOIN + (SELECT PERSON_ID + , MAX(ORGANIZATION_ID) AS ORGANIZATION_ID + FROM PIMS_PERSON_ORGANIZATION + GROUP BY PERSON_ID) POR ON POR.PERSON_ID = PER.PERSON_ID LEFT JOIN + PIMS_ORGANIZATION ORG ON ORG.ORGANIZATION_ID = POR.ORGANIZATION_ID + UNION + SELECT CONCAT('O', ORG.ORGANIZATION_ID) + , NULL + , ORG.ORGANIZATION_ID + , ORG.IS_DISABLED + , ORG.ORGANIZATION_NAME + , NULL + , NULL + , NULL + , ORG.ORGANIZATION_NAME + , OAD.ADDRESS_ID + , ADR.STREET_ADDRESS_1 + , ADR.MUNICIPALITY_NAME + , PRV.PROVINCE_STATE_CODE + , CON.CONTACT_METHOD_VALUE + FROM PIMS_ORGANIZATION ORG LEFT JOIN + PIMS_ORGANIZATION_ADDRESS OAD ON OAD.ORGANIZATION_ID = ORG.ORGANIZATION_ID + AND OAD.ADDRESS_USAGE_TYPE_CODE = 'MAILING' LEFT JOIN + PIMS_ADDRESS ADR ON ADR.ADDRESS_ID = OAD.ADDRESS_ID LEFT JOIN + PIMS_PROVINCE_STATE PRV ON PRV.PROVINCE_STATE_ID = ADR.PROVINCE_STATE_ID LEFT JOIN + PIMS_CONTACT_METHOD CON ON CON.ORGANIZATION_ID = ORG.ORGANIZATION_ID + AND CON.CONTACT_METHOD_TYPE_CODE = 'WORKEMAIL' +GO + +/* ---------------------------------------------------------------------- */ +/* Add views */ +/* ---------------------------------------------------------------------- */ + +CREATE VIEW [dbo].[PIMS_PROPERTY_BOUNDARY_VW] AS +SELECT PROP.PROPERTY_ID + , PROP.PID + , RIGHT('000000000' + CAST(PROP.PID AS VARCHAR(9)), 9) AS PID_PADDED + , PROP.PIN + , PROP.PROPERTY_TYPE_CODE + , PROP.PROPERTY_STATUS_TYPE_CODE + , PROP.PROPERTY_DATA_SOURCE_TYPE_CODE + , PROP.PROPERTY_DATA_SOURCE_EFFECTIVE_DATE + , PROP.PROPERTY_CLASSIFICATION_TYPE_CODE + , (SELECT STRING_AGG(TENURE_DESC, ', ') + FROM (SELECT TNUR.DESCRIPTION AS TENURE_DESC + FROM PIMS_PROPERTY_TENURE_TYPE TNUR INNER JOIN + PIMS_PROP_PROP_TENURE_TYPE TNTY ON TNTY.PROPERTY_TENURE_TYPE_CODE = TNUR.PROPERTY_TENURE_TYPE_CODE + AND TNTY.PROPERTY_ID = PROP.PROPERTY_ID) temp) AS PROPERTY_TENURE_TYPE_CODE + , ADDR.STREET_ADDRESS_1 + , ADDR.STREET_ADDRESS_2 + , ADDR.STREET_ADDRESS_3 + , ADDR.MUNICIPALITY_NAME + , ADDR.POSTAL_CODE + , PROV.PROVINCE_STATE_CODE + , PROV.DESCRIPTION AS PROVINCE_NAME + , CNTY.COUNTRY_CODE + , CNTY.DESCRIPTION AS COUNTRY_NAME + , PROP.NAME + , PROP.DESCRIPTION + , PROP.ADDRESS_ID + , PROP.REGION_CODE + , PROP.DISTRICT_CODE + , PROP.BOUNDARY AS GEOMETRY + , PROP.PROPERTY_AREA_UNIT_TYPE_CODE + , PROP.LAND_AREA + , PROP.LAND_LEGAL_DESCRIPTION + , PROP.ENCUMBRANCE_REASON + , PROP.IS_SENSITIVE + , PROP.IS_OWNED + , PROP.IS_PROPERTY_OF_INTEREST + , PROP.IS_VISIBLE_TO_OTHER_AGENCIES + , PROP.ZONING + , PROP.ZONING_POTENTIAL + , IIF(EXISTS (SELECT 1 + FROM PIMS_PROPERTY_LEASE PRLS JOIN + PIMS_LEASE LEAS ON PRLS.PROPERTY_ID = PROP.PROPERTY_ID + AND PRLS.LEASE_ID = LEAS.LEASE_ID + WHERE LEAS.LEASE_PAY_RVBL_TYPE_CODE IN ('PYBLMOTI', 'PYBLBCTFA')), CONVERT([bit],(1)), CONVERT([bit],(0))) AS IS_PAYABLE_LEASE +FROM PIMS_PROPERTY PROP LEFT OUTER JOIN + PIMS_ADDRESS ADDR ON ADDR.ADDRESS_ID = PROP.ADDRESS_ID LEFT OUTER JOIN + PIMS_PROVINCE_STATE PROV ON PROV.PROVINCE_STATE_ID = ADDR.PROVINCE_STATE_ID LEFT OUTER JOIN + PIMS_COUNTRY CNTY ON CNTY.COUNTRY_ID = ADDR.COUNTRY_ID +WHERE PROP.BOUNDARY IS NOT NULL +GO + +CREATE VIEW [dbo].[PIMS_PROPERTY_LOCATION_VW] AS +SELECT PROP.PROPERTY_ID + , PROP.PID + , RIGHT('000000000' + CAST(PROP.PID AS VARCHAR(9)), 9) AS PID_PADDED + , PROP.PIN + , PROP.PROPERTY_TYPE_CODE + , PROP.PROPERTY_STATUS_TYPE_CODE + , PROP.PROPERTY_DATA_SOURCE_TYPE_CODE + , PROP.PROPERTY_DATA_SOURCE_EFFECTIVE_DATE + , PROP.PROPERTY_CLASSIFICATION_TYPE_CODE + , (SELECT STRING_AGG(TENURE_DESC, ', ') + FROM (SELECT TNUR.DESCRIPTION AS TENURE_DESC + FROM PIMS_PROPERTY_TENURE_TYPE TNUR INNER JOIN + PIMS_PROP_PROP_TENURE_TYPE TNTY ON TNTY.PROPERTY_TENURE_TYPE_CODE = TNUR.PROPERTY_TENURE_TYPE_CODE + AND TNTY.PROPERTY_ID = PROP.PROPERTY_ID) temp) AS PROPERTY_TENURE_TYPE_CODE + , ADDR.STREET_ADDRESS_1 + , ADDR.STREET_ADDRESS_2 + , ADDR.STREET_ADDRESS_3 + , ADDR.MUNICIPALITY_NAME + , ADDR.POSTAL_CODE + , PROV.PROVINCE_STATE_CODE + , PROV.DESCRIPTION AS PROVINCE_NAME + , CNTY.COUNTRY_CODE + , CNTY.DESCRIPTION AS COUNTRY_NAME + , PROP.NAME + , PROP.DESCRIPTION + , PROP.ADDRESS_ID + , PROP.REGION_CODE + , PROP.DISTRICT_CODE + , PROP.LOCATION AS GEOMETRY + , PROP.PROPERTY_AREA_UNIT_TYPE_CODE + , PROP.LAND_AREA + , PROP.LAND_LEGAL_DESCRIPTION + , PROP.ENCUMBRANCE_REASON + , PROP.IS_SENSITIVE + , PROP.IS_OWNED + , PROP.IS_PROPERTY_OF_INTEREST + , PROP.IS_VISIBLE_TO_OTHER_AGENCIES + , PROP.ZONING + , PROP.ZONING_POTENTIAL + , IIF(EXISTS (SELECT 1 + FROM PIMS_PROPERTY_LEASE PRLS JOIN + PIMS_LEASE LEAS ON PRLS.PROPERTY_ID = PROP.PROPERTY_ID + AND PRLS.LEASE_ID = LEAS.LEASE_ID + WHERE LEAS.LEASE_PAY_RVBL_TYPE_CODE IN ('PYBLMOTI', 'PYBLBCTFA')), CONVERT([bit],(1)), CONVERT([bit],(0))) AS IS_PAYABLE_LEASE +FROM PIMS_PROPERTY PROP LEFT OUTER JOIN + PIMS_ADDRESS ADDR ON ADDR.ADDRESS_ID = PROP.ADDRESS_ID LEFT OUTER JOIN + PIMS_PROVINCE_STATE PROV ON PROV.PROVINCE_STATE_ID = ADDR.PROVINCE_STATE_ID LEFT OUTER JOIN + PIMS_COUNTRY CNTY ON CNTY.COUNTRY_ID = ADDR.COUNTRY_ID +WHERE PROP.LOCATION IS NOT NULL +GO + +-- ............................................................................................ + + +-- -------------------------------------------------------------------------------------------- +-- Create procedure pims_error_handling +-- -------------------------------------------------------------------------------------------- +CREATE PROCEDURE [dbo].[pims_error_handling] AS + begin + DECLARE @errmsg nvarchar(2048), + @severity tinyint, + @state tinyint, + @errno int, + @proc sysname, + @lineno int + + SELECT @errmsg = error_message(), @severity = error_severity(), + @state = error_state(), @errno = error_number(), + @proc = error_procedure(), @lineno = error_line() + + IF @errmsg NOT LIKE '***%' + BEGIN + SELECT @errmsg = '*** ' + coalesce(quotename(@proc), '') + + ', Line ' + ltrim(str(@lineno)) + '. Errno ' + + ltrim(str(@errno)) + ': ' + @errmsg + END + + RAISERROR('%s', @severity, @state, @errmsg) + end +GO + +-- -------------------------------------------------------------------------------------------- +-- Create function pims_ColumnExists +-- -------------------------------------------------------------------------------------------- +CREATE FUNCTION [dbo].[pims_ColumnExists](@TableName varchar(100), @ColumnName varchar(100)) +RETURNS nvarchar(1) +AS +BEGIN + DECLARE @Result nvarchar(1); + + IF EXISTS (SELECT * FROM INFORMATION_SCHEMA.Columns WHERE TABLE_NAME = @TableName AND COLUMN_NAME = @ColumnName) + SET @Result = 'Y' + ELSE + SET @Result = 'N' + + IF @TableName LIKE '%HIST' + SET @Result = 'N' + + RETURN @Result; +END +GO + +CREATE NONCLUSTERED INDEX [ACQAIN_ACQUISITION_FILE_ID_IDX] + ON [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE]([ACQUISITION_FILE_ID]) +GO + +CREATE NONCLUSTERED INDEX [ACQAIN_ACTIVITY_INSTANCE_ID_IDX] + ON [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE]([ACTIVITY_INSTANCE_ID]) +GO + +CREATE NONCLUSTERED INDEX [ACQDOC_ACQUISITION_FILE_ID_IDX] + ON [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT]([ACQUISITION_FILE_ID]) +GO + +CREATE NONCLUSTERED INDEX [ACQDOC_DOCUMENT_ID_IDX] + ON [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT]([DOCUMENT_ID]) +GO + +CREATE NONCLUSTERED INDEX [ACQNFL_ACQUISITION_FILE_STATUS_TYPE_CODE_IDX] + ON [dbo].[PIMS_ACQUISITION_FILE]([ACQUISITION_FILE_STATUS_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [ACQNFL_ACQUISITION_FUNDING_TYPE_CODE_IDX] + ON [dbo].[PIMS_ACQUISITION_FILE]([ACQUISITION_FUNDING_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [ACQNFL_ACQUISITION_TYPE_CODE_IDX] + ON [dbo].[PIMS_ACQUISITION_FILE]([ACQUISITION_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [ACQNFL_ACQ_PHYS_FILE_STATUS_TYPE_CODE_IDX] + ON [dbo].[PIMS_ACQUISITION_FILE]([ACQ_PHYS_FILE_STATUS_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [ACQNFL_FILE_NUMBER_IDX] + ON [dbo].[PIMS_ACQUISITION_FILE]([FILE_NUMBER]) +GO + +CREATE NONCLUSTERED INDEX [ACQNFL_LEGACY_FILE_NUMBER_IDX] + ON [dbo].[PIMS_ACQUISITION_FILE]([LEGACY_FILE_NUMBER]) +GO + +CREATE NONCLUSTERED INDEX [ACQNFL_PRODUCT_ID_IDX] + ON [dbo].[PIMS_ACQUISITION_FILE]([PRODUCT_ID]) +GO + +CREATE NONCLUSTERED INDEX [ACQNFL_PROJECT_ID_IDX] + ON [dbo].[PIMS_ACQUISITION_FILE]([PROJECT_ID]) +GO + +CREATE NONCLUSTERED INDEX [ACQNFL_REGION_CODE_IDX] + ON [dbo].[PIMS_ACQUISITION_FILE]([REGION_CODE]) +GO + +CREATE NONCLUSTERED INDEX [ACQNOT_ACQUISITION_FILE_ID_IDX] + ON [dbo].[PIMS_ACQUISITION_FILE_NOTE]([ACQUISITION_FILE_ID]) +GO + +CREATE UNIQUE NONCLUSTERED INDEX [ACQNOT_NOTE_ID_IDX] + ON [dbo].[PIMS_ACQUISITION_FILE_NOTE]([NOTE_ID]) +GO + +CREATE NONCLUSTERED INDEX [ACQOWN_ACQUISITION_FILE_ID_IDX] + ON [dbo].[PIMS_ACQUISITION_OWNER]([ACQUISITION_FILE_ID]) +GO + +CREATE NONCLUSTERED INDEX [ACQOWN_ADDRESS_ID_IDX] + ON [dbo].[PIMS_ACQUISITION_OWNER]([ADDRESS_ID]) +GO + +CREATE NONCLUSTERED INDEX [ACQOWN_LAST_NAME_OR_CORP_NAME_1_IDX] + ON [dbo].[PIMS_ACQUISITION_OWNER]([LAST_NAME_OR_CORP_NAME_1]) +GO + +CREATE NONCLUSTERED INDEX [ACQPER_ACQUISITION_FILE_ID_IDX] + ON [dbo].[PIMS_ACQUISITION_FILE_PERSON]([ACQUISITION_FILE_ID]) +GO + +CREATE NONCLUSTERED INDEX [ACQPER_ACQ_FL_PERSON_PROFILE_TYPE_CODE_IDX] + ON [dbo].[PIMS_ACQUISITION_FILE_PERSON]([ACQ_FL_PERSON_PROFILE_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [ACQPER_PERSON_ID_IDX] + ON [dbo].[PIMS_ACQUISITION_FILE_PERSON]([PERSON_ID]) +GO + +CREATE NONCLUSTERED INDEX [ACRQOR_ACCESS_REQUEST_ID_IDX] + ON [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION]([ACCESS_REQUEST_ID]) +GO + +CREATE NONCLUSTERED INDEX [ACRQOR_ORGANIZATION_ID_IDX] + ON [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION]([ORGANIZATION_ID]) +GO + +CREATE NONCLUSTERED INDEX [ACRQST_ACCESS_REQUEST_STATUS_TYPE_CODE_IDX] + ON [dbo].[PIMS_ACCESS_REQUEST]([ACCESS_REQUEST_STATUS_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [ACRQST_REGION_CODE_IDX] + ON [dbo].[PIMS_ACCESS_REQUEST]([REGION_CODE]) +GO + +CREATE NONCLUSTERED INDEX [ACRQST_ROLE_ID_IDX] + ON [dbo].[PIMS_ACCESS_REQUEST]([ROLE_ID]) +GO + +CREATE NONCLUSTERED INDEX [ACRQST_USER_ID_IDX] + ON [dbo].[PIMS_ACCESS_REQUEST]([USER_ID]) +GO + +CREATE NONCLUSTERED INDEX [ACTDOC_ACTIVITY_INSTANCE_ID_IDX] + ON [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT]([ACTIVITY_INSTANCE_ID]) +GO + +CREATE NONCLUSTERED INDEX [ACTDOC_DOCUMENT_ID_IDX] + ON [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT]([DOCUMENT_ID]) +GO + +CREATE NONCLUSTERED INDEX [ACTINN_ACTIVITY_INSTANCE_ID_IDX] + ON [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE]([ACTIVITY_INSTANCE_ID]) +GO + +CREATE NONCLUSTERED INDEX [ACTINN_NOTE_ID_IDX] + ON [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE]([NOTE_ID]) +GO + +CREATE NONCLUSTERED INDEX [ACTINS_ACTIVITY_INSTANCE_STATUS_TYPE_CODE_IDX] + ON [dbo].[PIMS_ACTIVITY_INSTANCE]([ACTIVITY_INSTANCE_STATUS_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [ACTINS_ACTIVITY_TEMPLATE_ID_IDX] + ON [dbo].[PIMS_ACTIVITY_INSTANCE]([ACTIVITY_TEMPLATE_ID]) +GO + +CREATE NONCLUSTERED INDEX [ACTMDO_ACTIVITY_TEMPLATE_ID_IDX] + ON [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT]([ACTIVITY_TEMPLATE_ID]) +GO + +CREATE NONCLUSTERED INDEX [ACTMDO_DOCUMENT_ID_IDX] + ON [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT]([DOCUMENT_ID]) +GO + +CREATE NONCLUSTERED INDEX [ACTTMP_ACTIVITY_TEMPLATE_TYPE_CODE_IDX] + ON [dbo].[PIMS_ACTIVITY_TEMPLATE]([ACTIVITY_TEMPLATE_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [ADDRSS_COUNTRY_ID_IDX] + ON [dbo].[PIMS_ADDRESS]([COUNTRY_ID]) +GO + +CREATE NONCLUSTERED INDEX [ADDRSS_DISTRICT_CODE_IDX] + ON [dbo].[PIMS_ADDRESS]([DISTRICT_CODE]) +GO + +CREATE NONCLUSTERED INDEX [ADDRSS_PROVINCE_STATE_ID_IDX] + ON [dbo].[PIMS_ADDRESS]([PROVINCE_STATE_ID]) +GO + +CREATE NONCLUSTERED INDEX [ADDRSS_REGION_CODE_IDX] + ON [dbo].[PIMS_ADDRESS]([REGION_CODE]) +GO + +CREATE NONCLUSTERED INDEX [AIPAFL_ACTIVITY_INSTANCE_ID_IDX] + ON [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE]([ACTIVITY_INSTANCE_ID]) +GO + +CREATE NONCLUSTERED INDEX [AIPAFL_PROPERTY_ACQUISITION_FILE_ID_IDX] + ON [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE]([PROPERTY_ACQUISITION_FILE_ID]) +GO + +CREATE NONCLUSTERED INDEX [AIPRFL_ACTIVITY_INSTANCE_ID_IDX] + ON [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE]([ACTIVITY_INSTANCE_ID]) +GO + +CREATE NONCLUSTERED INDEX [AIPRFL_PROPERTY_RESEARCH_FILE_ID_IDX] + ON [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE]([PROPERTY_RESEARCH_FILE_ID]) +GO + +CREATE NONCLUSTERED INDEX [BCAAMD_AREA_CODE_IDX] + ON [dbo].[BCA_AREA_AMENDMENT]([AREA_CODE]) +GO + +CREATE NONCLUSTERED INDEX [BCADEL_AREA_CODE_IDX] + ON [dbo].[BCA_AREA_DELETE]([AREA_CODE]) +GO + +CREATE NONCLUSTERED INDEX [BCADFN_MINOR_TAXING_ID_IDX] + ON [dbo].[BCA_DEFINED]([MINOR_TAXING_ID]) +GO + +CREATE NONCLUSTERED INDEX [BCAFAM_ROLL_NUMBER_IDX] + ON [dbo].[BCA_FOLIO_AMENDMENT]([ROLL_NUMBER]) +GO + +CREATE NONCLUSTERED INDEX [BCAFDE_ROLL_NUMBER_IDX] + ON [dbo].[BCA_FOLIO_DESCRIPTION]([ROLL_NUMBER]) +GO + +CREATE NONCLUSTERED INDEX [BCAFLD_ROLL_NUMBER_IDX] + ON [dbo].[BCA_FOLIO_LEGAL_DESCRIPTION]([ROLL_NUMBER]) +GO + +CREATE NONCLUSTERED INDEX [BCAFOR_JURISDICTION_CODE_IDX] + ON [dbo].[BCA_FOLIO_RECORD]([JURISDICTION_CODE]) +GO + +CREATE NONCLUSTERED INDEX [BCAFSA_ROLL_NUMBER_IDX] + ON [dbo].[BCA_FOLIO_SALES]([ROLL_NUMBER]) +GO + +CREATE NONCLUSTERED INDEX [BCAGNV_AREA_CODE_IDX] + ON [dbo].[BCA_AREA_GENERAL_VALUE]([AREA_CODE]) +GO + +CREATE NONCLUSTERED INDEX [BCAJUR_AREA_CODE_IDX] + ON [dbo].[BCA_JURISDICTION]([AREA_CODE]) +GO + +CREATE NONCLUSTERED INDEX [BCAOWG_ROLL_NUMBER_IDX] + ON [dbo].[BCA_OWNERSHIP_GROUP]([ROLL_NUMBER]) +GO + +CREATE NONCLUSTERED INDEX [BCAOWN_OWNERSHIP_GROUP_ID_IDX] + ON [dbo].[BCA_OWNER]([OWNERSHIP_GROUP_ID]) +GO + +CREATE NONCLUSTERED INDEX [BCASAR_DATA_ADVICE_ID_IDX] + ON [dbo].[BCA_ASSESSMENT_AREA]([DATA_ADVICE_ID]) +GO + +CREATE NONCLUSTERED INDEX [BCASCV_AREA_CODE_IDX] + ON [dbo].[BCA_AREA_SCHOOL_VALUE]([AREA_CODE]) +GO + +CREATE NONCLUSTERED INDEX [BCATRV_AREA_CODE_IDX] + ON [dbo].[BCA_AREA_BCTRANSIT_VALUE]([AREA_CODE]) +GO + +CREATE NONCLUSTERED INDEX [BCAVAL_ROLL_NUMBER_IDX] + ON [dbo].[BCA_FOLIO_VALUATION]([ROLL_NUMBER]) +GO + +CREATE NONCLUSTERED INDEX [BCDAMD_DATA_ADVICE_ID_IDX] + ON [dbo].[BCA_DATA_ADVICE_AMENDMENT]([DATA_ADVICE_ID]) +GO + +CREATE NONCLUSTERED INDEX [BCDDEL_DATA_ADVICE_ID_IDX] + ON [dbo].[BCA_DATA_ADVICE_DELETE]([DATA_ADVICE_ID]) +GO + +CREATE NONCLUSTERED INDEX [BCDGNV_DATA_ADVICE_ID_IDX] + ON [dbo].[BCA_DATA_ADVICE_GENERAL_VALUE]([DATA_ADVICE_ID]) +GO + +CREATE NONCLUSTERED INDEX [BCDSCV_DATA_ADVICE_ID_IDX] + ON [dbo].[BCA_DATA_ADVICE_SCHOOL_VALUE]([DATA_ADVICE_ID]) +GO + +CREATE NONCLUSTERED INDEX [BCDTRV_DATA_ADVICE_ID_IDX] + ON [dbo].[BCA_DATA_ADVICE_BCTRANSIT_VALUE]([DATA_ADVICE_ID]) +GO + +CREATE NONCLUSTERED INDEX [BCELCT_MINOR_TAXING_ID_IDX] + ON [dbo].[BCA_ELECTORAL_AREA]([MINOR_TAXING_ID]) +GO + +CREATE NONCLUSTERED INDEX [BCFADR_ROLL_NUMBER_IDX] + ON [dbo].[BCA_FOLIO_ADDRESS]([ROLL_NUMBER]) +GO + +CREATE NONCLUSTERED INDEX [BCFARM_ROLL_NUMBER_IDX] + ON [dbo].[BCA_FOLIO_FARM]([ROLL_NUMBER]) +GO + +CREATE NONCLUSTERED INDEX [BCFGNV_ROLL_NUMBER_IDX] + ON [dbo].[BCA_FOLIO_GENERAL_VALUE]([ROLL_NUMBER]) +GO + +CREATE NONCLUSTERED INDEX [BCFSCV_ROLL_NUMBER_IDX] + ON [dbo].[BCA_FOLIO_SCHOOL_VALUE]([ROLL_NUMBER]) +GO + +CREATE NONCLUSTERED INDEX [BCFTRV_ROLL_NUMBER_IDX] + ON [dbo].[BCA_FOLIO_BCTRANSIT_VALUE]([ROLL_NUMBER]) +GO + +CREATE NONCLUSTERED INDEX [BCGSVC_MINOR_TAXING_ID_IDX] + ON [dbo].[BCA_GENERAL_SERVICE]([MINOR_TAXING_ID]) +GO + +CREATE NONCLUSTERED INDEX [BCIMPD_MINOR_TAXING_ID_IDX] + ON [dbo].[BCA_IMPROVEMENT_DISTRICT]([MINOR_TAXING_ID]) +GO + +CREATE NONCLUSTERED INDEX [BCISLT_MINOR_TAXING_ID_IDX] + ON [dbo].[BCA_ISLANDS_TRUST]([MINOR_TAXING_ID]) +GO + +CREATE NONCLUSTERED INDEX [BCJAMD_JURISDICTION_CODE_IDX] + ON [dbo].[BCA_JURISDICTION_AMENDMENT]([JURISDICTION_CODE]) +GO + +CREATE NONCLUSTERED INDEX [BCJDEL_JURISDICTION_CODE_IDX] + ON [dbo].[BCA_JURISDICTION_DELETE]([JURISDICTION_CODE]) +GO + +CREATE NONCLUSTERED INDEX [BCJGNV_JURISDICTION_CODE_IDX] + ON [dbo].[BCA_JURISDICTION_GENERAL_VALUE]([JURISDICTION_CODE]) +GO + +CREATE NONCLUSTERED INDEX [BCJSCV_JURISDICTION_CODE_IDX] + ON [dbo].[BCA_JURISDICTION_SCHOOL_VALUE]([JURISDICTION_CODE]) +GO + +CREATE NONCLUSTERED INDEX [BCJTRV_JURISDICTION_CODE_IDX] + ON [dbo].[BCA_JURISDICTION_BCTRANSIT_VALUE]([JURISDICTION_CODE]) +GO + +CREATE NONCLUSTERED INDEX [BCLCHR_ROLL_NUMBER_IDX] + ON [dbo].[BCA_FOLIO_LAND_CHARACTERISTIC]([ROLL_NUMBER]) +GO + +CREATE NONCLUSTERED INDEX [BCLCLA_MINOR_TAXING_ID_IDX] + ON [dbo].[BCA_LOCAL_AREA]([MINOR_TAXING_ID]) +GO + +CREATE NONCLUSTERED INDEX [BCMANH_ROLL_NUMBER_IDX] + ON [dbo].[BCA_FOLIO_MANUFACTURED_HOME]([ROLL_NUMBER]) +GO + +CREATE NONCLUSTERED INDEX [BCMFOR_ROLL_NUMBER_IDX] + ON [dbo].[BCA_FOLIO_MANAGED_FOREST]([ROLL_NUMBER]) +GO + +CREATE NONCLUSTERED INDEX [BCMNTX_ROLL_NUMBER_IDX] + ON [dbo].[BCA_MINOR_TAXING]([ROLL_NUMBER]) +GO + +CREATE NONCLUSTERED INDEX [BCOILG_ROLL_NUMBER_IDX] + ON [dbo].[BCA_FOLIO_OIL_AND_GAS]([ROLL_NUMBER]) +GO + +CREATE NONCLUSTERED INDEX [BCSPMU_MINOR_TAXING_ID_IDX] + ON [dbo].[BCA_SPECIFIED_MUNICIPAL]([MINOR_TAXING_ID]) +GO + +CREATE NONCLUSTERED INDEX [BCSPRG_MINOR_TAXING_ID_IDX] + ON [dbo].[BCA_SPECIFIED_REGIONAL]([MINOR_TAXING_ID]) +GO + +CREATE NONCLUSTERED INDEX [BCSVCA_MINOR_TAXING_ID_IDX] + ON [dbo].[BCA_SERVICE_AREA]([MINOR_TAXING_ID]) +GO + +CREATE NONCLUSTERED INDEX [BIZFCN_CODE_IDX] + ON [dbo].[PIMS_BUSINESS_FUNCTION_CODE]([CODE]) +GO + +CREATE NONCLUSTERED INDEX [CHRTAC_CODE_IDX] + ON [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE]([CODE]) +GO + +CREATE NONCLUSTERED INDEX [CLMTYP_CLAIM_UID_IDX] + ON [dbo].[PIMS_CLAIM]([CLAIM_UID]) +GO + +CREATE NONCLUSTERED INDEX [CLMTYP_KEYCLOAK_ROLE_ID_IDX] + ON [dbo].[PIMS_CLAIM]([KEYCLOAK_ROLE_ID]) +GO + +CREATE NONCLUSTERED INDEX [CNTMTH_CONTACT_METHOD_TYPE_CODE_IDX] + ON [dbo].[PIMS_CONTACT_METHOD]([CONTACT_METHOD_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [CNTMTH_ORGANIZATION_ID_IDX] + ON [dbo].[PIMS_CONTACT_METHOD]([ORGANIZATION_ID]) +GO + +CREATE NONCLUSTERED INDEX [CNTMTH_PERSON_ID_IDX] + ON [dbo].[PIMS_CONTACT_METHOD]([PERSON_ID]) +GO + +CREATE NONCLUSTERED INDEX [CONTYP_CONSULTATION_STATUS_TYPE_CODE_IDX] + ON [dbo].[PIMS_CONSULTATION_TYPE]([CONSULTATION_STATUS_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [COSTYP_CODE_IDX] + ON [dbo].[PIMS_COST_TYPE_CODE]([CODE]) +GO + +CREATE NONCLUSTERED INDEX [DOCMNT_DOCUMENT_ID_IDX] + ON [dbo].[PIMS_DOCUMENT]([DOCUMENT_ID]) +GO + +CREATE NONCLUSTERED INDEX [DOCMNT_DOCUMENT_STATUS_TYPE_CODE_IDX] + ON [dbo].[PIMS_DOCUMENT]([DOCUMENT_STATUS_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [DSTRCT_REGION_CODE_IDX] + ON [dbo].[PIMS_DISTRICT]([REGION_CODE]) +GO + +CREATE NONCLUSTERED INDEX [FINACT_CODE_IDX] + ON [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE]([CODE]) +GO + +CREATE NONCLUSTERED INDEX [INSRNC_INSURANCE_TYPE_CODE_IDX] + ON [dbo].[PIMS_INSURANCE]([INSURANCE_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [INSRNC_LEASE_ID_IDX] + ON [dbo].[PIMS_INSURANCE]([LEASE_ID]) +GO + +CREATE NONCLUSTERED INDEX [LEASE_LEASE_CATEGORY_TYPE_CODE_IDX] + ON [dbo].[PIMS_LEASE]([LEASE_CATEGORY_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [LEASE_LEASE_INITIATOR_TYPE_CODE_IDX] + ON [dbo].[PIMS_LEASE]([LEASE_INITIATOR_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [LEASE_LEASE_LICENSE_TYPE_CODE_IDX] + ON [dbo].[PIMS_LEASE]([LEASE_LICENSE_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [LEASE_LEASE_PAY_RVBL_TYPE_CODE_IDX] + ON [dbo].[PIMS_LEASE]([LEASE_PAY_RVBL_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [LEASE_LEASE_PROGRAM_TYPE_CODE_IDX] + ON [dbo].[PIMS_LEASE]([LEASE_PROGRAM_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [LEASE_LEASE_PURPOSE_TYPE_CODE_IDX] + ON [dbo].[PIMS_LEASE]([LEASE_PURPOSE_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [LEASE_LEASE_RESPONSIBILITY_TYPE_CODE_IDX] + ON [dbo].[PIMS_LEASE]([LEASE_RESPONSIBILITY_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [LEASE_LEASE_STATUS_TYPE_CODE_IDX] + ON [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [LEASE_L_FILE_NO_IDX] + ON [dbo].[PIMS_LEASE]([L_FILE_NO]) +GO + +CREATE NONCLUSTERED INDEX [LEASE_PS_FILE_NO_IDX] + ON [dbo].[PIMS_LEASE]([PS_FILE_NO]) +GO + +CREATE NONCLUSTERED INDEX [LEASE_REGION_CODE_IDX] + ON [dbo].[PIMS_LEASE]([REGION_CODE]) +GO + +CREATE NONCLUSTERED INDEX [LEASE_TFA_FILE_NO_IDX] + ON [dbo].[PIMS_LEASE]([TFA_FILE_NO]) +GO + +CREATE NONCLUSTERED INDEX [LEASE_TFA_FILE_NUMBER_IDX] + ON [dbo].[PIMS_LEASE]([TFA_FILE_NUMBER]) +GO + +CREATE NONCLUSTERED INDEX [LESCON_CONSULTATION_TYPE_CODE_IDX] + ON [dbo].[PIMS_LEASE_CONSULTATION]([CONSULTATION_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [LESCON_LEASE_ID_IDX] + ON [dbo].[PIMS_LEASE_CONSULTATION]([LEASE_ID]) +GO + +CREATE NONCLUSTERED INDEX [LESDOC_DOCUMENT_ID_IDX] + ON [dbo].[PIMS_LEASE_DOCUMENT]([DOCUMENT_ID]) +GO + +CREATE NONCLUSTERED INDEX [LESDOC_LEASE_ID_IDX] + ON [dbo].[PIMS_LEASE_DOCUMENT]([LEASE_ID]) +GO + +CREATE NONCLUSTERED INDEX [LESNOT_LEASE_ID_IDX] + ON [dbo].[PIMS_LEASE_NOTE]([LEASE_ID]) +GO + +CREATE NONCLUSTERED INDEX [LESNOT_NOTE_ID_IDX] + ON [dbo].[PIMS_LEASE_NOTE]([NOTE_ID]) +GO + +CREATE NONCLUSTERED INDEX [LSACIN_ACTIVITY_INSTANCE_ID_IDX] + ON [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE]([ACTIVITY_INSTANCE_ID]) +GO + +CREATE NONCLUSTERED INDEX [LSACIN_LEASE_ID_IDX] + ON [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE]([LEASE_ID]) +GO + +CREATE NONCLUSTERED INDEX [LSPYMT_LEASE_PAYMENT_METHOD_TYPE_CODE_IDX] + ON [dbo].[PIMS_LEASE_PAYMENT]([LEASE_PAYMENT_METHOD_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [LSPYMT_LEASE_TERM_ID_IDX] + ON [dbo].[PIMS_LEASE_PAYMENT]([LEASE_TERM_ID]) +GO + +CREATE NONCLUSTERED INDEX [LSTERM_LEASE_ID_IDX] + ON [dbo].[PIMS_LEASE_TERM]([LEASE_ID]) +GO + +CREATE NONCLUSTERED INDEX [LSTERM_LEASE_PMT_FREQ_TYPE_CODE_IDX] + ON [dbo].[PIMS_LEASE_TERM]([LEASE_PMT_FREQ_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [LSTERM_LEASE_TERM_STATUS_TYPE_CODE_IDX] + ON [dbo].[PIMS_LEASE_TERM]([LEASE_TERM_STATUS_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [ORGADD_ADDRESS_ID_IDX] + ON [dbo].[PIMS_ORGANIZATION_ADDRESS]([ADDRESS_ID]) +GO + +CREATE NONCLUSTERED INDEX [ORGADD_ADDRESS_USAGE_TYPE_CODE_IDX] + ON [dbo].[PIMS_ORGANIZATION_ADDRESS]([ADDRESS_USAGE_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [ORGADD_ORGANIZATION_ID_IDX] + ON [dbo].[PIMS_ORGANIZATION_ADDRESS]([ORGANIZATION_ID]) +GO + +CREATE NONCLUSTERED INDEX [ORG_DISTRICT_CODE_IDX] + ON [dbo].[PIMS_ORGANIZATION]([DISTRICT_CODE]) +GO + +CREATE NONCLUSTERED INDEX [ORG_ORGANIZATION_TYPE_CODE_IDX] + ON [dbo].[PIMS_ORGANIZATION]([ORGANIZATION_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [ORG_ORG_IDENTIFIER_TYPE_CODE_IDX] + ON [dbo].[PIMS_ORGANIZATION]([ORG_IDENTIFIER_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [ORG_PRNT_ORGANIZATION_ID_IDX] + ON [dbo].[PIMS_ORGANIZATION]([PRNT_ORGANIZATION_ID]) +GO + +CREATE NONCLUSTERED INDEX [ORG_REGION_CODE_IDX] + ON [dbo].[PIMS_ORGANIZATION]([REGION_CODE]) +GO + +CREATE NONCLUSTERED INDEX [PERADD_ADDRESS_ID_IDX] + ON [dbo].[PIMS_PERSON_ADDRESS]([ADDRESS_ID]) +GO + +CREATE NONCLUSTERED INDEX [PERADD_ADDRESS_USAGE_TYPE_CODE_IDX] + ON [dbo].[PIMS_PERSON_ADDRESS]([ADDRESS_USAGE_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [PERADD_PERSON_ID_IDX] + ON [dbo].[PIMS_PERSON_ADDRESS]([PERSON_ID]) +GO + +CREATE NONCLUSTERED INDEX [PERORG_ORGANIZATION_ID_IDX] + ON [dbo].[PIMS_PERSON_ORGANIZATION]([ORGANIZATION_ID]) +GO + +CREATE NONCLUSTERED INDEX [PERORG_PERSON_ID_IDX] + ON [dbo].[PIMS_PERSON_ORGANIZATION]([PERSON_ID]) +GO + +CREATE NONCLUSTERED INDEX [PIMPRV_PROPERTY_IMPROVEMENT_TYPE_CODE_IDX] + ON [dbo].[PIMS_PROPERTY_IMPROVEMENT]([PROPERTY_IMPROVEMENT_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [PIMPRV_PROPERTY_LEASE_ID_IDX] + ON [dbo].[PIMS_PROPERTY_IMPROVEMENT]([LEASE_ID]) +GO + +CREATE NONCLUSTERED INDEX [PRACQF_ACQUISITION_FILE_ID_IDX] + ON [dbo].[PIMS_PROPERTY_ACQUISITION_FILE]([ACQUISITION_FILE_ID]) +GO + +CREATE NONCLUSTERED INDEX [PRACQF_PROPERTY_ID_IDX] + ON [dbo].[PIMS_PROPERTY_ACQUISITION_FILE]([PROPERTY_ID]) +GO + +CREATE UNIQUE NONCLUSTERED INDEX [PRODCT_CODE_IDX] + ON [dbo].[PIMS_PRODUCT]([CODE]) +GO + +CREATE NONCLUSTERED INDEX [PRODCT_PARENT_PROJECT_ID_IDX] + ON [dbo].[PIMS_PRODUCT]([PARENT_PROJECT_ID]) +GO + +CREATE NONCLUSTERED INDEX [PROJCT_BUSINESS_FUNCTION_CODE_ID_IDX] + ON [dbo].[PIMS_PROJECT]([BUSINESS_FUNCTION_CODE_ID]) +GO + +CREATE NONCLUSTERED INDEX [PROJCT_CODE_IDX] + ON [dbo].[PIMS_PROJECT]([CODE]) +GO + +CREATE NONCLUSTERED INDEX [PROJCT_COST_TYPE_CODE_ID_IDX] + ON [dbo].[PIMS_PROJECT]([COST_TYPE_CODE_ID]) +GO + +CREATE NONCLUSTERED INDEX [PROJCT_PROJECT_STATUS_CODE_IDX] + ON [dbo].[PIMS_PROJECT]([PROJECT_STATUS_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [PROJCT_REGION_CODE_IDX] + ON [dbo].[PIMS_PROJECT]([REGION_CODE]) +GO + +CREATE NONCLUSTERED INDEX [PROJCT_WORK_ACTIVITY_CODE_ID_IDX] + ON [dbo].[PIMS_PROJECT]([WORK_ACTIVITY_CODE_ID]) +GO + +CREATE NONCLUSTERED INDEX [PROPLS_LEASE_ID_IDX] + ON [dbo].[PIMS_PROPERTY_LEASE]([LEASE_ID]) +GO + +CREATE NONCLUSTERED INDEX [PROPLS_PROPERTY_ID_IDX] + ON [dbo].[PIMS_PROPERTY_LEASE]([PROPERTY_ID]) +GO + +CREATE NONCLUSTERED INDEX [PROVNC_COUNTRY_ID_IDX] + ON [dbo].[PIMS_PROVINCE_STATE]([COUNTRY_ID]) +GO + +CREATE NONCLUSTERED INDEX [PRPALT_PROPERTY_ADJACENT_LAND_TYPE_CODE_IDX] + ON [dbo].[PIMS_PROP_PROP_ADJACENT_LAND_TYPE]([PROPERTY_ADJACENT_LAND_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [PRPALT_PROPERTY_ID_IDX] + ON [dbo].[PIMS_PROP_PROP_ADJACENT_LAND_TYPE]([PROPERTY_ID]) +GO + +CREATE NONCLUSTERED INDEX [PRPEVL_PROPERTY_ID_IDX] + ON [dbo].[PIMS_PROPERTY_EVALUATION]([PROPERTY_ID]) +GO + +CREATE NONCLUSTERED INDEX [PRPORG_ORGANIZATION_ID_IDX] + ON [dbo].[PIMS_PROPERTY_ORGANIZATION]([ORGANIZATION_ID]) +GO + +CREATE NONCLUSTERED INDEX [PRPORG_PROPERTY_ID_IDX] + ON [dbo].[PIMS_PROPERTY_ORGANIZATION]([PROPERTY_ID]) +GO + +CREATE NONCLUSTERED INDEX [PRPRAT_PROPERTY_ANOMALY_TYPE_CODE_IDX] + ON [dbo].[PIMS_PROP_PROP_ANOMALY_TYPE]([PROPERTY_ANOMALY_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [PRPRAT_PROPERTY_ID_IDX] + ON [dbo].[PIMS_PROP_PROP_ANOMALY_TYPE]([PROPERTY_ID]) +GO + +CREATE NONCLUSTERED INDEX [PRPRRT_PROPERTY_ID_IDX] + ON [dbo].[PIMS_PROP_PROP_ROAD_TYPE]([PROPERTY_ID]) +GO + +CREATE NONCLUSTERED INDEX [PRPRRT_PROPERTY_ROAD_TYPE_CODE_IDX] + ON [dbo].[PIMS_PROP_PROP_ROAD_TYPE]([PROPERTY_ROAD_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [PRPRSF_PROPERTY_ID_IDX] + ON [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE]([PROPERTY_ID]) +GO + +CREATE NONCLUSTERED INDEX [PRPRSF_PROPERTY_SERVICE_FILE_ID_IDX] + ON [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE]([PROPERTY_SERVICE_FILE_ID]) +GO + +CREATE NONCLUSTERED INDEX [PRPRTT_PROPERTY_ID_IDX] + ON [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID]) +GO + +CREATE NONCLUSTERED INDEX [PRPRTT_PROPERTY_TENURE_TYPE_CODE_IDX] + ON [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_TENURE_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [PRPRTY_ADDRESS_ID_IDX] + ON [dbo].[PIMS_PROPERTY]([ADDRESS_ID]) +GO + +CREATE NONCLUSTERED INDEX [PRPRTY_DISTRICT_CODE_IDX] + ON [dbo].[PIMS_PROPERTY]([DISTRICT_CODE]) +GO + +CREATE NONCLUSTERED INDEX [PRPRTY_PID_IDX] + ON [dbo].[PIMS_PROPERTY]([PID]) +GO + +CREATE NONCLUSTERED INDEX [PRPRTY_PPH_STATUS_TYPE_CODE_IDX] + ON [dbo].[PIMS_PROPERTY]([PPH_STATUS_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [PRPRTY_PROPERTY_AREA_UNIT_TYPE_CODE_IDX] + ON [dbo].[PIMS_PROPERTY]([PROPERTY_AREA_UNIT_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [PRPRTY_PROPERTY_CLASSIFICATION_TYPE_CODE_IDX] + ON [dbo].[PIMS_PROPERTY]([PROPERTY_CLASSIFICATION_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [PRPRTY_PROPERTY_DATA_SOURCE_TYPE_CODE_IDX] + ON [dbo].[PIMS_PROPERTY]([PROPERTY_DATA_SOURCE_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [PRPRTY_PROPERTY_MANAGER_ID_IDX] + ON [dbo].[PIMS_PROPERTY]([PROPERTY_MANAGER_ID]) +GO + +CREATE NONCLUSTERED INDEX [PRPRTY_PROPERTY_STATUS_TYPE_CODE_IDX] + ON [dbo].[PIMS_PROPERTY]([PROPERTY_STATUS_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [PRPRTY_PROPERTY_TYPE_CODE_IDX] + ON [dbo].[PIMS_PROPERTY]([PROPERTY_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [PRPRTY_PROP_MGMT_ORG_ID_IDX] + ON [dbo].[PIMS_PROPERTY]([PROP_MGMT_ORG_ID]) +GO + +CREATE NONCLUSTERED INDEX [PRPRTY_REGION_CODE_IDX] + ON [dbo].[PIMS_PROPERTY]([REGION_CODE]) +GO + +CREATE NONCLUSTERED INDEX [PRPRTY_SURPLUS_DECLARATION_TYPE_CODE_IDX] + ON [dbo].[PIMS_PROPERTY]([SURPLUS_DECLARATION_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [PRPRTY_VOLUMETRIC_TYPE_CODE_IDX] + ON [dbo].[PIMS_PROPERTY]([VOLUMETRIC_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [PRPRTY_VOLUME_UNIT_TYPE_CODE_IDX] + ON [dbo].[PIMS_PROPERTY]([VOLUME_UNIT_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [PRPSVC_PROPERTY_SERVICE_FILE_TYPE_CODE_IDX] + ON [dbo].[PIMS_PROPERTY_SERVICE_FILE]([PROPERTY_SERVICE_FILE_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [PRPTAX_PROPERTY_ID_IDX] + ON [dbo].[PIMS_PROPERTY_TAX]([PROPERTY_ID]) +GO + +CREATE NONCLUSTERED INDEX [PRPTAX_PROPERTY_TAX_REMIT_TYPE_CODE_IDX] + ON [dbo].[PIMS_PROPERTY_TAX]([PROPERTY_TAX_REMIT_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [PRSCRC_PROPERTY_ID_IDX] + ON [dbo].[PIMS_PROPERTY_RESEARCH_FILE]([PROPERTY_ID]) +GO + +CREATE NONCLUSTERED INDEX [PRSCRC_RESEARCH_FILE_ID_IDX] + ON [dbo].[PIMS_PROPERTY_RESEARCH_FILE]([RESEARCH_FILE_ID]) +GO + +CREATE NONCLUSTERED INDEX [PRSPRP_PROPERTY_RESEARCH_FILE_ID_IDX] + ON [dbo].[PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE]([PROPERTY_RESEARCH_FILE_ID]) +GO + +CREATE NONCLUSTERED INDEX [PRSPRP_PROP_RESEARCH_PURPOSE_TYPE_CODE_IDX] + ON [dbo].[PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE]([PROP_RESEARCH_PURPOSE_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [RESPCD_CODE_IDX] + ON [dbo].[PIMS_RESPONSIBILITY_CODE]([CODE]) +GO + +CREATE NONCLUSTERED INDEX [RESRCH_REQUESTOR_NAME_IDX] + ON [dbo].[PIMS_RESEARCH_FILE]([REQUESTOR_NAME]) +GO + +CREATE NONCLUSTERED INDEX [RESRCH_REQUESTOR_ORGANIZATION_IDX] + ON [dbo].[PIMS_RESEARCH_FILE]([REQUESTOR_ORGANIZATION]) +GO + +CREATE NONCLUSTERED INDEX [RESRCH_REQUEST_SOURCE_TYPE_CODE_IDX] + ON [dbo].[PIMS_RESEARCH_FILE]([REQUEST_SOURCE_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [RESRCH_RESEARCH_FILE_STATUS_TYPE_CODE_IDX] + ON [dbo].[PIMS_RESEARCH_FILE]([RESEARCH_FILE_STATUS_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [RFLDOC_DOCUMENT_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_DOCUMENT]([DOCUMENT_ID]) +GO + +CREATE NONCLUSTERED INDEX [RFLDOC_RESEARCH_FILE_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_DOCUMENT]([RESEARCH_FILE_ID]) +GO + +CREATE NONCLUSTERED INDEX [RFLNOT_NOTE_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_NOTE]([NOTE_ID]) +GO + +CREATE NONCLUSTERED INDEX [RFLNOT_RESEARCH_FILE_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_NOTE]([RESEARCH_FILE_ID]) +GO + +CREATE NONCLUSTERED INDEX [RFLPRJ_PROJECT_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_PROJECT]([PROJECT_ID]) +GO + +CREATE NONCLUSTERED INDEX [RFLPRJ_RESEARCH_FILE_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_PROJECT]([RESEARCH_FILE_ID]) +GO + +CREATE NONCLUSTERED INDEX [RGNUSR_REGION_CODE_IDX] + ON [dbo].[PIMS_REGION_USER]([REGION_CODE]) +GO + +CREATE NONCLUSTERED INDEX [RGNUSR_USER_ID_IDX] + ON [dbo].[PIMS_REGION_USER]([USER_ID]) +GO + +CREATE NONCLUSTERED INDEX [ROLCLM_CLAIM_ID_IDX] + ON [dbo].[PIMS_ROLE_CLAIM]([CLAIM_ID]) +GO + +CREATE NONCLUSTERED INDEX [ROLCLM_ROLE_ID_IDX] + ON [dbo].[PIMS_ROLE_CLAIM]([ROLE_ID]) +GO + +CREATE NONCLUSTERED INDEX [ROLE_KEYCLOAK_GROUP_ID_IDX] + ON [dbo].[PIMS_ROLE]([KEYCLOAK_GROUP_ID]) +GO + +CREATE NONCLUSTERED INDEX [ROLE_ROLE_UID_IDX] + ON [dbo].[PIMS_ROLE]([ROLE_UID]) +GO + +CREATE NONCLUSTERED INDEX [RSCHAI_ACTIVITY_INSTANCE_ID_IDX] + ON [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE]([ACTIVITY_INSTANCE_ID]) +GO + +CREATE NONCLUSTERED INDEX [RSCHAI_RESEARCH_FILE_ID_IDX] + ON [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE]([RESEARCH_FILE_ID]) +GO + +CREATE NONCLUSTERED INDEX [RSFLPR_RESEARCH_FILE_ID_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_PURPOSE]([RESEARCH_FILE_ID]) +GO + +CREATE NONCLUSTERED INDEX [RSFLPR_RESEARCH_PURPOSE_TYPE_CODE_IDX] + ON [dbo].[PIMS_RESEARCH_FILE_PURPOSE]([RESEARCH_PURPOSE_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [SCDPHL_ORGANIZATION_ID_IDX] + ON [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER]([ORGANIZATION_ID]) +GO + +CREATE NONCLUSTERED INDEX [SCDPHL_PERSON_ID_IDX] + ON [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER]([PERSON_ID]) +GO + +CREATE NONCLUSTERED INDEX [SCDPHL_SECURITY_DEPOSIT_ID_IDX] + ON [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER]([SECURITY_DEPOSIT_ID]) +GO + +CREATE NONCLUSTERED INDEX [SCDPRH_ORGANIZATION_ID_IDX] + ON [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER]([ORGANIZATION_ID]) +GO + +CREATE NONCLUSTERED INDEX [SCDPRH_PERSON_ID_IDX] + ON [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER]([PERSON_ID]) +GO + +CREATE NONCLUSTERED INDEX [SCDPRH_SECURITY_DEPOSIT_RETURN_ID_IDX] + ON [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER]([SECURITY_DEPOSIT_RETURN_ID]) +GO + +CREATE NONCLUSTERED INDEX [SDRTRN_SECURITY_DEPOSIT_ID_IDX] + ON [dbo].[PIMS_SECURITY_DEPOSIT_RETURN]([SECURITY_DEPOSIT_ID]) +GO + +CREATE NONCLUSTERED INDEX [SECDEP_LEASE_ID_IDX] + ON [dbo].[PIMS_SECURITY_DEPOSIT]([LEASE_ID]) +GO + +CREATE NONCLUSTERED INDEX [SECDEP_SECURITY_DEPOSIT_TYPE_CODE_IDX] + ON [dbo].[PIMS_SECURITY_DEPOSIT]([SECURITY_DEPOSIT_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [TENANT_LEASE_ID_IDX] + ON [dbo].[PIMS_LEASE_TENANT]([LEASE_ID]) +GO + +CREATE NONCLUSTERED INDEX [TENANT_LESSOR_TYPE_CODE_IDX] + ON [dbo].[PIMS_LEASE_TENANT]([LESSOR_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [TENANT_ORGANIZATION_ID_IDX] + ON [dbo].[PIMS_LEASE_TENANT]([ORGANIZATION_ID]) +GO + +CREATE NONCLUSTERED INDEX [TENANT_PERSON_ID_IDX] + ON [dbo].[PIMS_LEASE_TENANT]([PERSON_ID]) +GO + +CREATE NONCLUSTERED INDEX [TENANT_PRIMARY_CONTACT_ID_IDX] + ON [dbo].[PIMS_LEASE_TENANT]([PRIMARY_CONTACT_ID]) +GO + +CREATE NONCLUSTERED INDEX [TENANT_TENANT_TYPE_CODE_IDX] + ON [dbo].[PIMS_LEASE_TENANT]([TENANT_TYPE_CODE]) +GO + +CREATE NONCLUSTERED INDEX [USERRL_ROLE_ID_IDX] + ON [dbo].[PIMS_USER_ROLE]([ROLE_ID]) +GO + +CREATE NONCLUSTERED INDEX [USERRL_USER_ID_IDX] + ON [dbo].[PIMS_USER_ROLE]([USER_ID]) +GO + +CREATE NONCLUSTERED INDEX [USER_BUSINESS_IDENTIFIER_VALUE_IDX] + ON [dbo].[PIMS_USER]([BUSINESS_IDENTIFIER_VALUE]) +GO + +CREATE NONCLUSTERED INDEX [USER_GUID_IDENTIFIER_VALUE_IDX] + ON [dbo].[PIMS_USER]([GUID_IDENTIFIER_VALUE]) +GO + +CREATE NONCLUSTERED INDEX [USER_PERSON_ID_IDX] + ON [dbo].[PIMS_USER]([PERSON_ID]) +GO + +CREATE NONCLUSTERED INDEX [USRORG_ORGANIZATION_ID_IDX] + ON [dbo].[PIMS_USER_ORGANIZATION]([ORGANIZATION_ID]) +GO + +CREATE NONCLUSTERED INDEX [USRORG_ROLE_ID_IDX] + ON [dbo].[PIMS_USER_ORGANIZATION]([ROLE_ID]) +GO + +CREATE NONCLUSTERED INDEX [USRORG_USER_ID_IDX] + ON [dbo].[PIMS_USER_ORGANIZATION]([USER_ID]) +GO + +CREATE NONCLUSTERED INDEX [WRKACT_CODE_IDX] + ON [dbo].[PIMS_WORK_ACTIVITY_CODE]([CODE]) +GO + +CREATE NONCLUSTERED INDEX [YRFINC_CODE_IDX] + ON [dbo].[PIMS_YEARLY_FINANCIAL_CODE]([CODE]) +GO + +CREATE TRIGGER [dbo].[PIMS_YRFINC_I_S_I_TR] ON PIMS_YEARLY_FINANCIAL_CODE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_YEARLY_FINANCIAL_CODE ("ID", + "CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "EFFECTIVE_DATE", + "EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ID", + "CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "EFFECTIVE_DATE", + "EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ARQSTT_I_S_I_TR] ON PIMS_ACCESS_REQUEST_STATUS_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ACCESS_REQUEST_STATUS_TYPE ("ACCESS_REQUEST_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "ACCESS_REQUEST_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQAIN_I_S_U_TR] ON PIMS_ACQUISITION_ACTIVITY_INSTANCE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_ACTIVITY_INSTANCE_ID = deleted.ACQUISITION_ACTIVITY_INSTANCE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACQUISITION_ACTIVITY_INSTANCE + set "ACQUISITION_ACTIVITY_INSTANCE_ID" = inserted."ACQUISITION_ACTIVITY_INSTANCE_ID", + "ACQUISITION_FILE_ID" = inserted."ACQUISITION_FILE_ID", + "ACTIVITY_INSTANCE_ID" = inserted."ACTIVITY_INSTANCE_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACQUISITION_ACTIVITY_INSTANCE + inner join inserted + on (PIMS_ACQUISITION_ACTIVITY_INSTANCE.ACQUISITION_ACTIVITY_INSTANCE_ID = inserted.ACQUISITION_ACTIVITY_INSTANCE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_AQFPPT_I_S_I_TR] ON PIMS_ACQ_FL_PERSON_PROFILE_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ACQ_FL_PERSON_PROFILE_TYPE ("ACQ_FL_PERSON_PROFILE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "ACQ_FL_PERSON_PROFILE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQNFL_I_S_U_TR] ON PIMS_ACQUISITION_FILE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_FILE_ID = deleted.ACQUISITION_FILE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACQUISITION_FILE + set "ACQUISITION_FILE_ID" = inserted."ACQUISITION_FILE_ID", + "PROJECT_ID" = inserted."PROJECT_ID", + "PRODUCT_ID" = inserted."PRODUCT_ID", + "ACQUISITION_FILE_STATUS_TYPE_CODE" = inserted."ACQUISITION_FILE_STATUS_TYPE_CODE", + "ACQUISITION_TYPE_CODE" = inserted."ACQUISITION_TYPE_CODE", + "ACQUISITION_FUNDING_TYPE_CODE" = inserted."ACQUISITION_FUNDING_TYPE_CODE", + "ACQ_PHYS_FILE_STATUS_TYPE_CODE" = inserted."ACQ_PHYS_FILE_STATUS_TYPE_CODE", + "REGION_CODE" = inserted."REGION_CODE", + "MINISTRY_PROJECT_NUMBER" = inserted."MINISTRY_PROJECT_NUMBER", + "MINISTRY_PROJECT_NAME" = inserted."MINISTRY_PROJECT_NAME", + "CPS_PRODUCT_CODE" = inserted."CPS_PRODUCT_CODE", + "FILE_NAME" = inserted."FILE_NAME", + "FILE_NO" = inserted."FILE_NO", + "FILE_NUMBER" = inserted."FILE_NUMBER", + "LEGACY_FILE_NUMBER" = inserted."LEGACY_FILE_NUMBER", + "FUNDING_OTHER" = inserted."FUNDING_OTHER", + "ASSIGNED_DATE" = inserted."ASSIGNED_DATE", + "DELIVERY_DATE" = inserted."DELIVERY_DATE", + "PAIMS_ACQUISITION_FILE_ID" = inserted."PAIMS_ACQUISITION_FILE_ID", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACQUISITION_FILE + inner join inserted + on (PIMS_ACQUISITION_FILE.ACQUISITION_FILE_ID = inserted.ACQUISITION_FILE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQPFS_I_S_I_TR] ON PIMS_ACQ_PHYS_FILE_STATUS_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ACQ_PHYS_FILE_STATUS_TYPE ("ACQ_PHYS_FILE_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "ACQ_PHYS_FILE_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQDOC_I_S_U_TR] ON PIMS_ACQUISITION_FILE_DOCUMENT INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_FILE_DOCUMENT_ID = deleted.ACQUISITION_FILE_DOCUMENT_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACQUISITION_FILE_DOCUMENT + set "ACQUISITION_FILE_DOCUMENT_ID" = inserted."ACQUISITION_FILE_DOCUMENT_ID", + "ACQUISITION_FILE_ID" = inserted."ACQUISITION_FILE_ID", + "DOCUMENT_ID" = inserted."DOCUMENT_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACQUISITION_FILE_DOCUMENT + inner join inserted + on (PIMS_ACQUISITION_FILE_DOCUMENT.ACQUISITION_FILE_DOCUMENT_ID = inserted.ACQUISITION_FILE_DOCUMENT_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQAIN_I_S_I_TR] ON PIMS_ACQUISITION_ACTIVITY_INSTANCE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ACQUISITION_ACTIVITY_INSTANCE ("ACQUISITION_ACTIVITY_INSTANCE_ID", + "ACQUISITION_FILE_ID", + "ACTIVITY_INSTANCE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USER_DIRECTORY", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ACQUISITION_ACTIVITY_INSTANCE_ID", + "ACQUISITION_FILE_ID", + "ACTIVITY_INSTANCE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USER_DIRECTORY", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQNOT_I_S_U_TR] ON PIMS_ACQUISITION_FILE_NOTE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_FILE_NOTE_ID = deleted.ACQUISITION_FILE_NOTE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACQUISITION_FILE_NOTE + set "ACQUISITION_FILE_NOTE_ID" = inserted."ACQUISITION_FILE_NOTE_ID", + "NOTE_ID" = inserted."NOTE_ID", + "ACQUISITION_FILE_ID" = inserted."ACQUISITION_FILE_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACQUISITION_FILE_NOTE + inner join inserted + on (PIMS_ACQUISITION_FILE_NOTE.ACQUISITION_FILE_NOTE_ID = inserted.ACQUISITION_FILE_NOTE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQNFL_I_S_I_TR] ON PIMS_ACQUISITION_FILE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ACQUISITION_FILE ("ACQUISITION_FILE_ID", + "PROJECT_ID", + "PRODUCT_ID", + "ACQUISITION_FILE_STATUS_TYPE_CODE", + "ACQUISITION_TYPE_CODE", + "ACQUISITION_FUNDING_TYPE_CODE", + "ACQ_PHYS_FILE_STATUS_TYPE_CODE", + "REGION_CODE", + "MINISTRY_PROJECT_NUMBER", + "MINISTRY_PROJECT_NAME", + "CPS_PRODUCT_CODE", + "FILE_NAME", + "FILE_NO", + "FILE_NUMBER", + "LEGACY_FILE_NUMBER", + "FUNDING_OTHER", + "ASSIGNED_DATE", + "DELIVERY_DATE", + "PAIMS_ACQUISITION_FILE_ID", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ACQUISITION_FILE_ID", + "PROJECT_ID", + "PRODUCT_ID", + "ACQUISITION_FILE_STATUS_TYPE_CODE", + "ACQUISITION_TYPE_CODE", + "ACQUISITION_FUNDING_TYPE_CODE", + "ACQ_PHYS_FILE_STATUS_TYPE_CODE", + "REGION_CODE", + "MINISTRY_PROJECT_NUMBER", + "MINISTRY_PROJECT_NAME", + "CPS_PRODUCT_CODE", + "FILE_NAME", + "FILE_NO", + "FILE_NUMBER", + "LEGACY_FILE_NUMBER", + "FUNDING_OTHER", + "ASSIGNED_DATE", + "DELIVERY_DATE", + "PAIMS_ACQUISITION_FILE_ID", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQPER_I_S_U_TR] ON PIMS_ACQUISITION_FILE_PERSON INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_FILE_PERSON_ID = deleted.ACQUISITION_FILE_PERSON_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACQUISITION_FILE_PERSON + set "ACQUISITION_FILE_PERSON_ID" = inserted."ACQUISITION_FILE_PERSON_ID", + "ACQUISITION_FILE_ID" = inserted."ACQUISITION_FILE_ID", + "PERSON_ID" = inserted."PERSON_ID", + "ACQ_FL_PERSON_PROFILE_TYPE_CODE" = inserted."ACQ_FL_PERSON_PROFILE_TYPE_CODE", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACQUISITION_FILE_PERSON + inner join inserted + on (PIMS_ACQUISITION_FILE_PERSON.ACQUISITION_FILE_PERSON_ID = inserted.ACQUISITION_FILE_PERSON_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQDOC_I_S_I_TR] ON PIMS_ACQUISITION_FILE_DOCUMENT INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ACQUISITION_FILE_DOCUMENT ("ACQUISITION_FILE_DOCUMENT_ID", + "ACQUISITION_FILE_ID", + "DOCUMENT_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ACQUISITION_FILE_DOCUMENT_ID", + "ACQUISITION_FILE_ID", + "DOCUMENT_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQFST_I_S_U_TR] ON PIMS_ACQUISITION_FILE_STATUS_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_FILE_STATUS_TYPE_CODE = deleted.ACQUISITION_FILE_STATUS_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACQUISITION_FILE_STATUS_TYPE + set "ACQUISITION_FILE_STATUS_TYPE_CODE" = inserted."ACQUISITION_FILE_STATUS_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACQUISITION_FILE_STATUS_TYPE + inner join inserted + on (PIMS_ACQUISITION_FILE_STATUS_TYPE.ACQUISITION_FILE_STATUS_TYPE_CODE = inserted.ACQUISITION_FILE_STATUS_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQNOT_I_S_I_TR] ON PIMS_ACQUISITION_FILE_NOTE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ACQUISITION_FILE_NOTE ("ACQUISITION_FILE_NOTE_ID", + "NOTE_ID", + "ACQUISITION_FILE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ACQUISITION_FILE_NOTE_ID", + "NOTE_ID", + "ACQUISITION_FILE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQFTY_I_S_U_TR] ON PIMS_ACQUISITION_FUNDING_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_FUNDING_TYPE_CODE = deleted.ACQUISITION_FUNDING_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACQUISITION_FUNDING_TYPE + set "ACQUISITION_FUNDING_TYPE_CODE" = inserted."ACQUISITION_FUNDING_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACQUISITION_FUNDING_TYPE + inner join inserted + on (PIMS_ACQUISITION_FUNDING_TYPE.ACQUISITION_FUNDING_TYPE_CODE = inserted.ACQUISITION_FUNDING_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQPER_I_S_I_TR] ON PIMS_ACQUISITION_FILE_PERSON INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ACQUISITION_FILE_PERSON ("ACQUISITION_FILE_PERSON_ID", + "ACQUISITION_FILE_ID", + "PERSON_ID", + "ACQ_FL_PERSON_PROFILE_TYPE_CODE", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ACQUISITION_FILE_PERSON_ID", + "ACQUISITION_FILE_ID", + "PERSON_ID", + "ACQ_FL_PERSON_PROFILE_TYPE_CODE", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQOWN_I_S_U_TR] ON PIMS_ACQUISITION_OWNER INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_OWNER_ID = deleted.ACQUISITION_OWNER_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACQUISITION_OWNER + set "ACQUISITION_OWNER_ID" = inserted."ACQUISITION_OWNER_ID", + "ACQUISITION_FILE_ID" = inserted."ACQUISITION_FILE_ID", + "ADDRESS_ID" = inserted."ADDRESS_ID", + "LAST_NAME_OR_CORP_NAME_1" = inserted."LAST_NAME_OR_CORP_NAME_1", + "LAST_NAME_OR_CORP_NAME_2" = inserted."LAST_NAME_OR_CORP_NAME_2", + "GIVEN_NAME" = inserted."GIVEN_NAME", + "INCORPORATION_NUMBER" = inserted."INCORPORATION_NUMBER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACQUISITION_OWNER + inner join inserted + on (PIMS_ACQUISITION_OWNER.ACQUISITION_OWNER_ID = inserted.ACQUISITION_OWNER_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQFST_I_S_I_TR] ON PIMS_ACQUISITION_FILE_STATUS_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ACQUISITION_FILE_STATUS_TYPE ("ACQUISITION_FILE_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "ACQUISITION_FILE_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQTYP_I_S_U_TR] ON PIMS_ACQUISITION_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQUISITION_TYPE_CODE = deleted.ACQUISITION_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACQUISITION_TYPE + set "ACQUISITION_TYPE_CODE" = inserted."ACQUISITION_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACQUISITION_TYPE + inner join inserted + on (PIMS_ACQUISITION_TYPE.ACQUISITION_TYPE_CODE = inserted.ACQUISITION_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQFTY_I_S_I_TR] ON PIMS_ACQUISITION_FUNDING_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ACQUISITION_FUNDING_TYPE ("ACQUISITION_FUNDING_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "ACQUISITION_FUNDING_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_AIPAFL_I_S_U_TR] ON PIMS_ACT_INST_PROP_ACQ_FILE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACT_INST_PROP_ACQ_FILE_ID = deleted.ACT_INST_PROP_ACQ_FILE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACT_INST_PROP_ACQ_FILE + set "ACT_INST_PROP_ACQ_FILE_ID" = inserted."ACT_INST_PROP_ACQ_FILE_ID", + "ACTIVITY_INSTANCE_ID" = inserted."ACTIVITY_INSTANCE_ID", + "PROPERTY_ACQUISITION_FILE_ID" = inserted."PROPERTY_ACQUISITION_FILE_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACT_INST_PROP_ACQ_FILE + inner join inserted + on (PIMS_ACT_INST_PROP_ACQ_FILE.ACT_INST_PROP_ACQ_FILE_ID = inserted.ACT_INST_PROP_ACQ_FILE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQOWN_I_S_I_TR] ON PIMS_ACQUISITION_OWNER INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ACQUISITION_OWNER ("ACQUISITION_OWNER_ID", + "ACQUISITION_FILE_ID", + "ADDRESS_ID", + "LAST_NAME_OR_CORP_NAME_1", + "LAST_NAME_OR_CORP_NAME_2", + "GIVEN_NAME", + "INCORPORATION_NUMBER", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ACQUISITION_OWNER_ID", + "ACQUISITION_FILE_ID", + "ADDRESS_ID", + "LAST_NAME_OR_CORP_NAME_1", + "LAST_NAME_OR_CORP_NAME_2", + "GIVEN_NAME", + "INCORPORATION_NUMBER", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_AIPRFL_I_S_U_TR] ON PIMS_ACT_INST_PROP_RSRCH_FILE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACT_INST_PROP_RSRCH_FILE_ID = deleted.ACT_INST_PROP_RSRCH_FILE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACT_INST_PROP_RSRCH_FILE + set "ACT_INST_PROP_RSRCH_FILE_ID" = inserted."ACT_INST_PROP_RSRCH_FILE_ID", + "ACTIVITY_INSTANCE_ID" = inserted."ACTIVITY_INSTANCE_ID", + "PROPERTY_RESEARCH_FILE_ID" = inserted."PROPERTY_RESEARCH_FILE_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACT_INST_PROP_RSRCH_FILE + inner join inserted + on (PIMS_ACT_INST_PROP_RSRCH_FILE.ACT_INST_PROP_RSRCH_FILE_ID = inserted.ACT_INST_PROP_RSRCH_FILE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQTYP_I_S_I_TR] ON PIMS_ACQUISITION_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ACQUISITION_TYPE ("ACQUISITION_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "ACQUISITION_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACTINS_I_S_U_TR] ON PIMS_ACTIVITY_INSTANCE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACTIVITY_INSTANCE_ID = deleted.ACTIVITY_INSTANCE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACTIVITY_INSTANCE + set "ACTIVITY_INSTANCE_ID" = inserted."ACTIVITY_INSTANCE_ID", + "ACTIVITY_TEMPLATE_ID" = inserted."ACTIVITY_TEMPLATE_ID", + "ACTIVITY_INSTANCE_STATUS_TYPE_CODE" = inserted."ACTIVITY_INSTANCE_STATUS_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "ACTIVITY_DATA_JSON" = inserted."ACTIVITY_DATA_JSON", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACTIVITY_INSTANCE + inner join inserted + on (PIMS_ACTIVITY_INSTANCE.ACTIVITY_INSTANCE_ID = inserted.ACTIVITY_INSTANCE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_AIPAFL_I_S_I_TR] ON PIMS_ACT_INST_PROP_ACQ_FILE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ACT_INST_PROP_ACQ_FILE ("ACT_INST_PROP_ACQ_FILE_ID", + "ACTIVITY_INSTANCE_ID", + "PROPERTY_ACQUISITION_FILE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ACT_INST_PROP_ACQ_FILE_ID", + "ACTIVITY_INSTANCE_ID", + "PROPERTY_ACQUISITION_FILE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACTDOC_I_S_U_TR] ON PIMS_ACTIVITY_INSTANCE_DOCUMENT INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACTIVITY_INSTANCE_DOCUMENT_ID = deleted.ACTIVITY_INSTANCE_DOCUMENT_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACTIVITY_INSTANCE_DOCUMENT + set "ACTIVITY_INSTANCE_DOCUMENT_ID" = inserted."ACTIVITY_INSTANCE_DOCUMENT_ID", + "ACTIVITY_INSTANCE_ID" = inserted."ACTIVITY_INSTANCE_ID", + "DOCUMENT_ID" = inserted."DOCUMENT_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACTIVITY_INSTANCE_DOCUMENT + inner join inserted + on (PIMS_ACTIVITY_INSTANCE_DOCUMENT.ACTIVITY_INSTANCE_DOCUMENT_ID = inserted.ACTIVITY_INSTANCE_DOCUMENT_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_AIPRFL_I_S_I_TR] ON PIMS_ACT_INST_PROP_RSRCH_FILE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ACT_INST_PROP_RSRCH_FILE ("ACT_INST_PROP_RSRCH_FILE_ID", + "ACTIVITY_INSTANCE_ID", + "PROPERTY_RESEARCH_FILE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ACT_INST_PROP_RSRCH_FILE_ID", + "ACTIVITY_INSTANCE_ID", + "PROPERTY_RESEARCH_FILE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACTINN_I_S_U_TR] ON PIMS_ACTIVITY_INSTANCE_NOTE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PIMS_ACTIVITY_INSTANCE_NOTE_ID = deleted.PIMS_ACTIVITY_INSTANCE_NOTE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACTIVITY_INSTANCE_NOTE + set "PIMS_ACTIVITY_INSTANCE_NOTE_ID" = inserted."PIMS_ACTIVITY_INSTANCE_NOTE_ID", + "ACTIVITY_INSTANCE_ID" = inserted."ACTIVITY_INSTANCE_ID", + "NOTE_ID" = inserted."NOTE_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACTIVITY_INSTANCE_NOTE + inner join inserted + on (PIMS_ACTIVITY_INSTANCE_NOTE.PIMS_ACTIVITY_INSTANCE_NOTE_ID = inserted.PIMS_ACTIVITY_INSTANCE_NOTE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACTINS_I_S_I_TR] ON PIMS_ACTIVITY_INSTANCE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ACTIVITY_INSTANCE ("ACTIVITY_INSTANCE_ID", + "ACTIVITY_TEMPLATE_ID", + "ACTIVITY_INSTANCE_STATUS_TYPE_CODE", + "DESCRIPTION", + "ACTIVITY_DATA_JSON", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ACTIVITY_INSTANCE_ID", + "ACTIVITY_TEMPLATE_ID", + "ACTIVITY_INSTANCE_STATUS_TYPE_CODE", + "DESCRIPTION", + "ACTIVITY_DATA_JSON", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACTIST_I_S_U_TR] ON PIMS_ACTIVITY_INSTANCE_STATUS_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACTIVITY_INSTANCE_STATUS_TYPE_CODE = deleted.ACTIVITY_INSTANCE_STATUS_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACTIVITY_INSTANCE_STATUS_TYPE + set "ACTIVITY_INSTANCE_STATUS_TYPE_CODE" = inserted."ACTIVITY_INSTANCE_STATUS_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACTIVITY_INSTANCE_STATUS_TYPE + inner join inserted + on (PIMS_ACTIVITY_INSTANCE_STATUS_TYPE.ACTIVITY_INSTANCE_STATUS_TYPE_CODE = inserted.ACTIVITY_INSTANCE_STATUS_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACTDOC_I_S_I_TR] ON PIMS_ACTIVITY_INSTANCE_DOCUMENT INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ACTIVITY_INSTANCE_DOCUMENT ("ACTIVITY_INSTANCE_DOCUMENT_ID", + "ACTIVITY_INSTANCE_ID", + "DOCUMENT_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ACTIVITY_INSTANCE_DOCUMENT_ID", + "ACTIVITY_INSTANCE_ID", + "DOCUMENT_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACTTMP_I_S_U_TR] ON PIMS_ACTIVITY_TEMPLATE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACTIVITY_TEMPLATE_ID = deleted.ACTIVITY_TEMPLATE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACTIVITY_TEMPLATE + set "ACTIVITY_TEMPLATE_ID" = inserted."ACTIVITY_TEMPLATE_ID", + "ACTIVITY_TEMPLATE_TYPE_CODE" = inserted."ACTIVITY_TEMPLATE_TYPE_CODE", + "ACTIVITY_TEMPLATE_JSON" = inserted."ACTIVITY_TEMPLATE_JSON", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACTIVITY_TEMPLATE + inner join inserted + on (PIMS_ACTIVITY_TEMPLATE.ACTIVITY_TEMPLATE_ID = inserted.ACTIVITY_TEMPLATE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACTINN_I_S_I_TR] ON PIMS_ACTIVITY_INSTANCE_NOTE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ACTIVITY_INSTANCE_NOTE ("PIMS_ACTIVITY_INSTANCE_NOTE_ID", + "ACTIVITY_INSTANCE_ID", + "NOTE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "PIMS_ACTIVITY_INSTANCE_NOTE_ID", + "ACTIVITY_INSTANCE_ID", + "NOTE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACTMDO_I_S_U_TR] ON PIMS_ACTIVITY_TEMPLATE_DOCUMENT INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACTIVITY_TEMPLATE_DOCUMENT_ID = deleted.ACTIVITY_TEMPLATE_DOCUMENT_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACTIVITY_TEMPLATE_DOCUMENT + set "ACTIVITY_TEMPLATE_DOCUMENT_ID" = inserted."ACTIVITY_TEMPLATE_DOCUMENT_ID", + "DOCUMENT_ID" = inserted."DOCUMENT_ID", + "ACTIVITY_TEMPLATE_ID" = inserted."ACTIVITY_TEMPLATE_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACTIVITY_TEMPLATE_DOCUMENT + inner join inserted + on (PIMS_ACTIVITY_TEMPLATE_DOCUMENT.ACTIVITY_TEMPLATE_DOCUMENT_ID = inserted.ACTIVITY_TEMPLATE_DOCUMENT_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACTIST_I_S_I_TR] ON PIMS_ACTIVITY_INSTANCE_STATUS_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ACTIVITY_INSTANCE_STATUS_TYPE ("ACTIVITY_INSTANCE_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "ACTIVITY_INSTANCE_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACTTTY_I_S_U_TR] ON PIMS_ACTIVITY_TEMPLATE_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACTIVITY_TEMPLATE_TYPE_CODE = deleted.ACTIVITY_TEMPLATE_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACTIVITY_TEMPLATE_TYPE + set "ACTIVITY_TEMPLATE_TYPE_CODE" = inserted."ACTIVITY_TEMPLATE_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACTIVITY_TEMPLATE_TYPE + inner join inserted + on (PIMS_ACTIVITY_TEMPLATE_TYPE.ACTIVITY_TEMPLATE_TYPE_CODE = inserted.ACTIVITY_TEMPLATE_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACTTMP_I_S_I_TR] ON PIMS_ACTIVITY_TEMPLATE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ACTIVITY_TEMPLATE ("ACTIVITY_TEMPLATE_ID", + "ACTIVITY_TEMPLATE_TYPE_CODE", + "ACTIVITY_TEMPLATE_JSON", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ACTIVITY_TEMPLATE_ID", + "ACTIVITY_TEMPLATE_TYPE_CODE", + "ACTIVITY_TEMPLATE_JSON", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ADDRSS_I_S_U_TR] ON PIMS_ADDRESS INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ADDRESS_ID = deleted.ADDRESS_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ADDRESS + set "ADDRESS_ID" = inserted."ADDRESS_ID", + "REGION_CODE" = inserted."REGION_CODE", + "DISTRICT_CODE" = inserted."DISTRICT_CODE", + "PROVINCE_STATE_ID" = inserted."PROVINCE_STATE_ID", + "COUNTRY_ID" = inserted."COUNTRY_ID", + "STREET_ADDRESS_1" = inserted."STREET_ADDRESS_1", + "STREET_ADDRESS_2" = inserted."STREET_ADDRESS_2", + "STREET_ADDRESS_3" = inserted."STREET_ADDRESS_3", + "MUNICIPALITY_NAME" = inserted."MUNICIPALITY_NAME", + "POSTAL_CODE" = inserted."POSTAL_CODE", + "OTHER_COUNTRY" = inserted."OTHER_COUNTRY", + "LATITUDE" = inserted."LATITUDE", + "LONGITUDE" = inserted."LONGITUDE", + "COMMENT" = inserted."COMMENT", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ADDRESS + inner join inserted + on (PIMS_ADDRESS.ADDRESS_ID = inserted.ADDRESS_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACTMDO_I_S_I_TR] ON PIMS_ACTIVITY_TEMPLATE_DOCUMENT INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ACTIVITY_TEMPLATE_DOCUMENT ("ACTIVITY_TEMPLATE_DOCUMENT_ID", + "DOCUMENT_ID", + "ACTIVITY_TEMPLATE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ACTIVITY_TEMPLATE_DOCUMENT_ID", + "DOCUMENT_ID", + "ACTIVITY_TEMPLATE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ADUSGT_I_S_U_TR] ON PIMS_ADDRESS_USAGE_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ADDRESS_USAGE_TYPE_CODE = deleted.ADDRESS_USAGE_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ADDRESS_USAGE_TYPE + set "ADDRESS_USAGE_TYPE_CODE" = inserted."ADDRESS_USAGE_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ADDRESS_USAGE_TYPE + inner join inserted + on (PIMS_ADDRESS_USAGE_TYPE.ADDRESS_USAGE_TYPE_CODE = inserted.ADDRESS_USAGE_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACTTTY_I_S_I_TR] ON PIMS_ACTIVITY_TEMPLATE_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ACTIVITY_TEMPLATE_TYPE ("ACTIVITY_TEMPLATE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "ACTIVITY_TEMPLATE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ARUNIT_I_S_U_TR] ON PIMS_AREA_UNIT_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.AREA_UNIT_TYPE_CODE = deleted.AREA_UNIT_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_AREA_UNIT_TYPE + set "AREA_UNIT_TYPE_CODE" = inserted."AREA_UNIT_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_AREA_UNIT_TYPE + inner join inserted + on (PIMS_AREA_UNIT_TYPE.AREA_UNIT_TYPE_CODE = inserted.AREA_UNIT_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ADDRSS_I_S_I_TR] ON PIMS_ADDRESS INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ADDRESS ("ADDRESS_ID", + "REGION_CODE", + "DISTRICT_CODE", + "PROVINCE_STATE_ID", + "COUNTRY_ID", + "STREET_ADDRESS_1", + "STREET_ADDRESS_2", + "STREET_ADDRESS_3", + "MUNICIPALITY_NAME", + "POSTAL_CODE", + "OTHER_COUNTRY", + "LATITUDE", + "LONGITUDE", + "COMMENT", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ADDRESS_ID", + "REGION_CODE", + "DISTRICT_CODE", + "PROVINCE_STATE_ID", + "COUNTRY_ID", + "STREET_ADDRESS_1", + "STREET_ADDRESS_2", + "STREET_ADDRESS_3", + "MUNICIPALITY_NAME", + "POSTAL_CODE", + "OTHER_COUNTRY", + "LATITUDE", + "LONGITUDE", + "COMMENT", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_BIZFCN_I_S_U_TR] ON PIMS_BUSINESS_FUNCTION_CODE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_BUSINESS_FUNCTION_CODE + set "ID" = inserted."ID", + "CODE" = inserted."CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "EFFECTIVE_DATE" = inserted."EFFECTIVE_DATE", + "EXPIRY_DATE" = inserted."EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_BUSINESS_FUNCTION_CODE + inner join inserted + on (PIMS_BUSINESS_FUNCTION_CODE.ID = inserted.ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ADUSGT_I_S_I_TR] ON PIMS_ADDRESS_USAGE_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ADDRESS_USAGE_TYPE ("ADDRESS_USAGE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "ADDRESS_USAGE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_CHRTAC_I_S_U_TR] ON PIMS_CHART_OF_ACCOUNTS_CODE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_CHART_OF_ACCOUNTS_CODE + set "ID" = inserted."ID", + "CODE" = inserted."CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "EFFECTIVE_DATE" = inserted."EFFECTIVE_DATE", + "EXPIRY_DATE" = inserted."EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_CHART_OF_ACCOUNTS_CODE + inner join inserted + on (PIMS_CHART_OF_ACCOUNTS_CODE.ID = inserted.ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ARUNIT_I_S_I_TR] ON PIMS_AREA_UNIT_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_AREA_UNIT_TYPE ("AREA_UNIT_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "AREA_UNIT_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_CLMTYP_I_S_U_TR] ON PIMS_CLAIM INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.CLAIM_ID = deleted.CLAIM_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_CLAIM + set "CLAIM_ID" = inserted."CLAIM_ID", + "CLAIM_UID" = inserted."CLAIM_UID", + "KEYCLOAK_ROLE_ID" = inserted."KEYCLOAK_ROLE_ID", + "NAME" = inserted."NAME", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_CLAIM + inner join inserted + on (PIMS_CLAIM.CLAIM_ID = inserted.CLAIM_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_BIZFCN_I_S_I_TR] ON PIMS_BUSINESS_FUNCTION_CODE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_BUSINESS_FUNCTION_CODE ("ID", + "CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "EFFECTIVE_DATE", + "EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ID", + "CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "EFFECTIVE_DATE", + "EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_CONSTY_I_S_U_TR] ON PIMS_CONSULTATION_STATUS_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.CONSULTATION_STATUS_TYPE_CODE = deleted.CONSULTATION_STATUS_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_CONSULTATION_STATUS_TYPE + set "CONSULTATION_STATUS_TYPE_CODE" = inserted."CONSULTATION_STATUS_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_CONSULTATION_STATUS_TYPE + inner join inserted + on (PIMS_CONSULTATION_STATUS_TYPE.CONSULTATION_STATUS_TYPE_CODE = inserted.CONSULTATION_STATUS_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_CHRTAC_I_S_I_TR] ON PIMS_CHART_OF_ACCOUNTS_CODE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_CHART_OF_ACCOUNTS_CODE ("ID", + "CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "EFFECTIVE_DATE", + "EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ID", + "CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "EFFECTIVE_DATE", + "EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_CONTYP_I_S_U_TR] ON PIMS_CONSULTATION_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.CONSULTATION_TYPE_CODE = deleted.CONSULTATION_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_CONSULTATION_TYPE + set "CONSULTATION_TYPE_CODE" = inserted."CONSULTATION_TYPE_CODE", + "CONSULTATION_STATUS_TYPE_CODE" = inserted."CONSULTATION_STATUS_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "OTHER_DESCRIPTION" = inserted."OTHER_DESCRIPTION", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_CONSULTATION_TYPE + inner join inserted + on (PIMS_CONSULTATION_TYPE.CONSULTATION_TYPE_CODE = inserted.CONSULTATION_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_CLMTYP_I_S_I_TR] ON PIMS_CLAIM INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_CLAIM ("CLAIM_ID", + "CLAIM_UID", + "KEYCLOAK_ROLE_ID", + "NAME", + "DESCRIPTION", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "CLAIM_ID", + "CLAIM_UID", + "KEYCLOAK_ROLE_ID", + "NAME", + "DESCRIPTION", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_CNTMTH_I_S_U_TR] ON PIMS_CONTACT_METHOD INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.CONTACT_METHOD_ID = deleted.CONTACT_METHOD_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_CONTACT_METHOD + set "CONTACT_METHOD_ID" = inserted."CONTACT_METHOD_ID", + "CONTACT_METHOD_TYPE_CODE" = inserted."CONTACT_METHOD_TYPE_CODE", + "PERSON_ID" = inserted."PERSON_ID", + "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", + "CONTACT_METHOD_VALUE" = inserted."CONTACT_METHOD_VALUE", + "IS_PREFERRED_METHOD" = inserted."IS_PREFERRED_METHOD", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_CONTACT_METHOD + inner join inserted + on (PIMS_CONTACT_METHOD.CONTACT_METHOD_ID = inserted.CONTACT_METHOD_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_CONSTY_I_S_I_TR] ON PIMS_CONSULTATION_STATUS_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_CONSULTATION_STATUS_TYPE ("CONSULTATION_STATUS_TYPE_CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER") + select "CONSULTATION_STATUS_TYPE_CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_CNTMTT_I_S_U_TR] ON PIMS_CONTACT_METHOD_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.CONTACT_METHOD_TYPE_CODE = deleted.CONTACT_METHOD_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_CONTACT_METHOD_TYPE + set "CONTACT_METHOD_TYPE_CODE" = inserted."CONTACT_METHOD_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_CONTACT_METHOD_TYPE + inner join inserted + on (PIMS_CONTACT_METHOD_TYPE.CONTACT_METHOD_TYPE_CODE = inserted.CONTACT_METHOD_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_CONTYP_I_S_I_TR] ON PIMS_CONSULTATION_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_CONSULTATION_TYPE ("CONSULTATION_TYPE_CODE", + "CONSULTATION_STATUS_TYPE_CODE", + "DESCRIPTION", + "OTHER_DESCRIPTION", + "DISPLAY_ORDER", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER") + select "CONSULTATION_TYPE_CODE", + "CONSULTATION_STATUS_TYPE_CODE", + "DESCRIPTION", + "OTHER_DESCRIPTION", + "DISPLAY_ORDER", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_COSTYP_I_S_U_TR] ON PIMS_COST_TYPE_CODE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_COST_TYPE_CODE + set "ID" = inserted."ID", + "CODE" = inserted."CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "EFFECTIVE_DATE" = inserted."EFFECTIVE_DATE", + "EXPIRY_DATE" = inserted."EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_COST_TYPE_CODE + inner join inserted + on (PIMS_COST_TYPE_CODE.ID = inserted.ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_CNTMTH_I_S_I_TR] ON PIMS_CONTACT_METHOD INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_CONTACT_METHOD ("CONTACT_METHOD_ID", + "CONTACT_METHOD_TYPE_CODE", + "PERSON_ID", + "ORGANIZATION_ID", + "CONTACT_METHOD_VALUE", + "IS_PREFERRED_METHOD", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "CONTACT_METHOD_ID", + "CONTACT_METHOD_TYPE_CODE", + "PERSON_ID", + "ORGANIZATION_ID", + "CONTACT_METHOD_VALUE", + "IS_PREFERRED_METHOD", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_CNTRY_I_S_U_TR] ON PIMS_COUNTRY INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.COUNTRY_ID = deleted.COUNTRY_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_COUNTRY + set "COUNTRY_ID" = inserted."COUNTRY_ID", + "COUNTRY_CODE" = inserted."COUNTRY_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_COUNTRY + inner join inserted + on (PIMS_COUNTRY.COUNTRY_ID = inserted.COUNTRY_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_CNTMTT_I_S_I_TR] ON PIMS_CONTACT_METHOD_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_CONTACT_METHOD_TYPE ("CONTACT_METHOD_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "CONTACT_METHOD_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PIDSRT_I_S_U_TR] ON PIMS_DATA_SOURCE_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.DATA_SOURCE_TYPE_CODE = deleted.DATA_SOURCE_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_DATA_SOURCE_TYPE + set "DATA_SOURCE_TYPE_CODE" = inserted."DATA_SOURCE_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_DATA_SOURCE_TYPE + inner join inserted + on (PIMS_DATA_SOURCE_TYPE.DATA_SOURCE_TYPE_CODE = inserted.DATA_SOURCE_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_COSTYP_I_S_I_TR] ON PIMS_COST_TYPE_CODE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_COST_TYPE_CODE ("ID", + "CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "EFFECTIVE_DATE", + "EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ID", + "CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "EFFECTIVE_DATE", + "EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_DSTRCT_I_S_U_TR] ON PIMS_DISTRICT INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.DISTRICT_CODE = deleted.DISTRICT_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_DISTRICT + set "DISTRICT_CODE" = inserted."DISTRICT_CODE", + "REGION_CODE" = inserted."REGION_CODE", + "DISTRICT_NAME" = inserted."DISTRICT_NAME", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_DISTRICT + inner join inserted + on (PIMS_DISTRICT.DISTRICT_CODE = inserted.DISTRICT_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_CNTRY_I_S_I_TR] ON PIMS_COUNTRY INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_COUNTRY ("COUNTRY_ID", + "COUNTRY_CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "COUNTRY_ID", + "COUNTRY_CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_DOCMNT_I_S_U_TR] ON PIMS_DOCUMENT INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.DOCUMENT_ID = deleted.DOCUMENT_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_DOCUMENT + set "DOCUMENT_ID" = inserted."DOCUMENT_ID", + "DOCUMENT_TYPE_ID" = inserted."DOCUMENT_TYPE_ID", + "DOCUMENT_STATUS_TYPE_CODE" = inserted."DOCUMENT_STATUS_TYPE_CODE", + "FILE_NAME" = inserted."FILE_NAME", + "MAYAN_ID" = inserted."MAYAN_ID", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_DOCUMENT + inner join inserted + on (PIMS_DOCUMENT.DOCUMENT_ID = inserted.DOCUMENT_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PIDSRT_I_S_I_TR] ON PIMS_DATA_SOURCE_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_DATA_SOURCE_TYPE ("DATA_SOURCE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "DATA_SOURCE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_DOCSTY_I_S_U_TR] ON PIMS_DOCUMENT_STATUS_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.DOCUMENT_STATUS_TYPE_CODE = deleted.DOCUMENT_STATUS_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_DOCUMENT_STATUS_TYPE + set "DOCUMENT_STATUS_TYPE_CODE" = inserted."DOCUMENT_STATUS_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_DOCUMENT_STATUS_TYPE + inner join inserted + on (PIMS_DOCUMENT_STATUS_TYPE.DOCUMENT_STATUS_TYPE_CODE = inserted.DOCUMENT_STATUS_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_DSTRCT_I_S_I_TR] ON PIMS_DISTRICT INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_DISTRICT ("DISTRICT_CODE", + "REGION_CODE", + "DISTRICT_NAME", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "DISTRICT_CODE", + "REGION_CODE", + "DISTRICT_NAME", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_DOCTYP_I_S_U_TR] ON PIMS_DOCUMENT_TYP INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.DOCUMENT_TYPE_ID = deleted.DOCUMENT_TYPE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_DOCUMENT_TYP + set "DOCUMENT_TYPE_ID" = inserted."DOCUMENT_TYPE_ID", + "MAYAN_ID" = inserted."MAYAN_ID", + "DOCUMENT_TYPE" = inserted."DOCUMENT_TYPE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_DOCUMENT_TYP + inner join inserted + on (PIMS_DOCUMENT_TYP.DOCUMENT_TYPE_ID = inserted.DOCUMENT_TYPE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_DOCMNT_I_S_I_TR] ON PIMS_DOCUMENT INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_DOCUMENT ("DOCUMENT_ID", + "DOCUMENT_TYPE_ID", + "DOCUMENT_STATUS_TYPE_CODE", + "FILE_NAME", + "MAYAN_ID", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "DOCUMENT_ID", + "DOCUMENT_TYPE_ID", + "DOCUMENT_STATUS_TYPE_CODE", + "FILE_NAME", + "MAYAN_ID", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_FNCTYP_I_S_U_TR] ON PIMS_FENCE_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.FENCE_TYPE_CODE = deleted.FENCE_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_FENCE_TYPE + set "FENCE_TYPE_CODE" = inserted."FENCE_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_FENCE_TYPE + inner join inserted + on (PIMS_FENCE_TYPE.FENCE_TYPE_CODE = inserted.FENCE_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_DOCSTY_I_S_I_TR] ON PIMS_DOCUMENT_STATUS_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_DOCUMENT_STATUS_TYPE ("DOCUMENT_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "DOCUMENT_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_FINACT_I_S_U_TR] ON PIMS_FINANCIAL_ACTIVITY_CODE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_FINANCIAL_ACTIVITY_CODE + set "ID" = inserted."ID", + "CODE" = inserted."CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "EFFECTIVE_DATE" = inserted."EFFECTIVE_DATE", + "EXPIRY_DATE" = inserted."EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_FINANCIAL_ACTIVITY_CODE + inner join inserted + on (PIMS_FINANCIAL_ACTIVITY_CODE.ID = inserted.ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_DOCTYP_I_S_I_TR] ON PIMS_DOCUMENT_TYP INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_DOCUMENT_TYP ("DOCUMENT_TYPE_ID", + "MAYAN_ID", + "DOCUMENT_TYPE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "DOCUMENT_TYPE_ID", + "MAYAN_ID", + "DOCUMENT_TYPE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_INSRNC_I_S_U_TR] ON PIMS_INSURANCE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.INSURANCE_ID = deleted.INSURANCE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_INSURANCE + set "INSURANCE_ID" = inserted."INSURANCE_ID", + "LEASE_ID" = inserted."LEASE_ID", + "INSURANCE_TYPE_CODE" = inserted."INSURANCE_TYPE_CODE", + "OTHER_INSURANCE_TYPE" = inserted."OTHER_INSURANCE_TYPE", + "COVERAGE_DESCRIPTION" = inserted."COVERAGE_DESCRIPTION", + "COVERAGE_LIMIT" = inserted."COVERAGE_LIMIT", + "IS_INSURANCE_IN_PLACE" = inserted."IS_INSURANCE_IN_PLACE", + "EXPIRY_DATE" = inserted."EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_INSURANCE + inner join inserted + on (PIMS_INSURANCE.INSURANCE_ID = inserted.INSURANCE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_FNCTYP_I_S_I_TR] ON PIMS_FENCE_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_FENCE_TYPE ("FENCE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "FENCE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_INSPYT_I_S_U_TR] ON PIMS_INSURANCE_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.INSURANCE_TYPE_CODE = deleted.INSURANCE_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_INSURANCE_TYPE + set "INSURANCE_TYPE_CODE" = inserted."INSURANCE_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_INSURANCE_TYPE + inner join inserted + on (PIMS_INSURANCE_TYPE.INSURANCE_TYPE_CODE = inserted.INSURANCE_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_FINACT_I_S_I_TR] ON PIMS_FINANCIAL_ACTIVITY_CODE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_FINANCIAL_ACTIVITY_CODE ("ID", + "CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "EFFECTIVE_DATE", + "EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ID", + "CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "EFFECTIVE_DATE", + "EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LNSRVT_I_S_U_TR] ON PIMS_LAND_SURVEYOR_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LAND_SURVEYOR_TYPE_CODE = deleted.LAND_SURVEYOR_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LAND_SURVEYOR_TYPE + set "LAND_SURVEYOR_TYPE_CODE" = inserted."LAND_SURVEYOR_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LAND_SURVEYOR_TYPE + inner join inserted + on (PIMS_LAND_SURVEYOR_TYPE.LAND_SURVEYOR_TYPE_CODE = inserted.LAND_SURVEYOR_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_INSRNC_I_S_I_TR] ON PIMS_INSURANCE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_INSURANCE ("INSURANCE_ID", + "LEASE_ID", + "INSURANCE_TYPE_CODE", + "OTHER_INSURANCE_TYPE", + "COVERAGE_DESCRIPTION", + "COVERAGE_LIMIT", + "IS_INSURANCE_IN_PLACE", + "EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "INSURANCE_ID", + "LEASE_ID", + "INSURANCE_TYPE_CODE", + "OTHER_INSURANCE_TYPE", + "COVERAGE_DESCRIPTION", + "COVERAGE_LIMIT", + "IS_INSURANCE_IN_PLACE", + "EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LEASE_I_S_U_TR] ON PIMS_LEASE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_ID = deleted.LEASE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE + set "LEASE_ID" = inserted."LEASE_ID", + "LEASE_PAY_RVBL_TYPE_CODE" = inserted."LEASE_PAY_RVBL_TYPE_CODE", + "LEASE_LICENSE_TYPE_CODE" = inserted."LEASE_LICENSE_TYPE_CODE", + "LEASE_CATEGORY_TYPE_CODE" = inserted."LEASE_CATEGORY_TYPE_CODE", + "LEASE_PURPOSE_TYPE_CODE" = inserted."LEASE_PURPOSE_TYPE_CODE", + "LEASE_PROGRAM_TYPE_CODE" = inserted."LEASE_PROGRAM_TYPE_CODE", + "LEASE_INITIATOR_TYPE_CODE" = inserted."LEASE_INITIATOR_TYPE_CODE", + "LEASE_RESPONSIBILITY_TYPE_CODE" = inserted."LEASE_RESPONSIBILITY_TYPE_CODE", + "LEASE_STATUS_TYPE_CODE" = inserted."LEASE_STATUS_TYPE_CODE", + "REGION_CODE" = inserted."REGION_CODE", + "L_FILE_NO" = inserted."L_FILE_NO", + "TFA_FILE_NO" = inserted."TFA_FILE_NO", + "TFA_FILE_NUMBER" = inserted."TFA_FILE_NUMBER", + "PS_FILE_NO" = inserted."PS_FILE_NO", + "LEASE_DESCRIPTION" = inserted."LEASE_DESCRIPTION", + "LEASE_CATEGORY_OTHER_DESC" = inserted."LEASE_CATEGORY_OTHER_DESC", + "LEASE_PURPOSE_OTHER_DESC" = inserted."LEASE_PURPOSE_OTHER_DESC", + "LEASE_NOTES" = inserted."LEASE_NOTES", + "MOTI_CONTACT" = inserted."MOTI_CONTACT", + "DOCUMENTATION_REFERENCE" = inserted."DOCUMENTATION_REFERENCE", + "RETURN_NOTES" = inserted."RETURN_NOTES", + "OTHER_LEASE_PROGRAM_TYPE" = inserted."OTHER_LEASE_PROGRAM_TYPE", + "OTHER_LEASE_LICENSE_TYPE" = inserted."OTHER_LEASE_LICENSE_TYPE", + "OTHER_LEASE_PURPOSE_TYPE" = inserted."OTHER_LEASE_PURPOSE_TYPE", + "ORIG_START_DATE" = inserted."ORIG_START_DATE", + "ORIG_EXPIRY_DATE" = inserted."ORIG_EXPIRY_DATE", + "LEASE_AMOUNT" = inserted."LEASE_AMOUNT", + "RESPONSIBILITY_EFFECTIVE_DATE" = inserted."RESPONSIBILITY_EFFECTIVE_DATE", + "INSPECTION_DATE" = inserted."INSPECTION_DATE", + "INSPECTION_NOTES" = inserted."INSPECTION_NOTES", + "IS_SUBJECT_TO_RTA" = inserted."IS_SUBJECT_TO_RTA", + "IS_COMM_BLDG" = inserted."IS_COMM_BLDG", + "IS_OTHER_IMPROVEMENT" = inserted."IS_OTHER_IMPROVEMENT", + "IS_EXPIRED" = inserted."IS_EXPIRED", + "HAS_PHYSICAL_FILE" = inserted."HAS_PHYSICAL_FILE", + "HAS_DIGITAL_FILE" = inserted."HAS_DIGITAL_FILE", + "HAS_PHYSICIAL_LICENSE" = inserted."HAS_PHYSICIAL_LICENSE", + "HAS_DIGITAL_LICENSE" = inserted."HAS_DIGITAL_LICENSE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE + inner join inserted + on (PIMS_LEASE.LEASE_ID = inserted.LEASE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_INSPYT_I_S_I_TR] ON PIMS_INSURANCE_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_INSURANCE_TYPE ("INSURANCE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "INSURANCE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSACIN_I_S_U_TR] ON PIMS_LEASE_ACTIVITY_INSTANCE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_ACTIVITY_INSTANCE_ID = deleted.LEASE_ACTIVITY_INSTANCE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_ACTIVITY_INSTANCE + set "LEASE_ACTIVITY_INSTANCE_ID" = inserted."LEASE_ACTIVITY_INSTANCE_ID", + "ACTIVITY_INSTANCE_ID" = inserted."ACTIVITY_INSTANCE_ID", + "LEASE_ID" = inserted."LEASE_ID", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_ACTIVITY_INSTANCE + inner join inserted + on (PIMS_LEASE_ACTIVITY_INSTANCE.LEASE_ACTIVITY_INSTANCE_ID = inserted.LEASE_ACTIVITY_INSTANCE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LNSRVT_I_S_I_TR] ON PIMS_LAND_SURVEYOR_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LAND_SURVEYOR_TYPE ("LAND_SURVEYOR_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "LAND_SURVEYOR_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSCATT_I_S_U_TR] ON PIMS_LEASE_CATEGORY_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_CATEGORY_TYPE_CODE = deleted.LEASE_CATEGORY_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_CATEGORY_TYPE + set "LEASE_CATEGORY_TYPE_CODE" = inserted."LEASE_CATEGORY_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_CATEGORY_TYPE + inner join inserted + on (PIMS_LEASE_CATEGORY_TYPE.LEASE_CATEGORY_TYPE_CODE = inserted.LEASE_CATEGORY_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LEASE_I_S_I_TR] ON PIMS_LEASE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE ("LEASE_ID", + "LEASE_PAY_RVBL_TYPE_CODE", + "LEASE_LICENSE_TYPE_CODE", + "LEASE_CATEGORY_TYPE_CODE", + "LEASE_PURPOSE_TYPE_CODE", + "LEASE_PROGRAM_TYPE_CODE", + "LEASE_INITIATOR_TYPE_CODE", + "LEASE_RESPONSIBILITY_TYPE_CODE", + "LEASE_STATUS_TYPE_CODE", + "REGION_CODE", + "L_FILE_NO", + "TFA_FILE_NO", + "TFA_FILE_NUMBER", + "PS_FILE_NO", + "LEASE_DESCRIPTION", + "LEASE_CATEGORY_OTHER_DESC", + "LEASE_PURPOSE_OTHER_DESC", + "LEASE_NOTES", + "MOTI_CONTACT", + "DOCUMENTATION_REFERENCE", + "RETURN_NOTES", + "OTHER_LEASE_PROGRAM_TYPE", + "OTHER_LEASE_LICENSE_TYPE", + "OTHER_LEASE_PURPOSE_TYPE", + "ORIG_START_DATE", + "ORIG_EXPIRY_DATE", + "LEASE_AMOUNT", + "RESPONSIBILITY_EFFECTIVE_DATE", + "INSPECTION_DATE", + "INSPECTION_NOTES", + "IS_SUBJECT_TO_RTA", + "IS_COMM_BLDG", + "IS_OTHER_IMPROVEMENT", + "IS_EXPIRED", + "HAS_PHYSICAL_FILE", + "HAS_DIGITAL_FILE", + "HAS_PHYSICIAL_LICENSE", + "HAS_DIGITAL_LICENSE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "LEASE_ID", + "LEASE_PAY_RVBL_TYPE_CODE", + "LEASE_LICENSE_TYPE_CODE", + "LEASE_CATEGORY_TYPE_CODE", + "LEASE_PURPOSE_TYPE_CODE", + "LEASE_PROGRAM_TYPE_CODE", + "LEASE_INITIATOR_TYPE_CODE", + "LEASE_RESPONSIBILITY_TYPE_CODE", + "LEASE_STATUS_TYPE_CODE", + "REGION_CODE", + "L_FILE_NO", + "TFA_FILE_NO", + "TFA_FILE_NUMBER", + "PS_FILE_NO", + "LEASE_DESCRIPTION", + "LEASE_CATEGORY_OTHER_DESC", + "LEASE_PURPOSE_OTHER_DESC", + "LEASE_NOTES", + "MOTI_CONTACT", + "DOCUMENTATION_REFERENCE", + "RETURN_NOTES", + "OTHER_LEASE_PROGRAM_TYPE", + "OTHER_LEASE_LICENSE_TYPE", + "OTHER_LEASE_PURPOSE_TYPE", + "ORIG_START_DATE", + "ORIG_EXPIRY_DATE", + "LEASE_AMOUNT", + "RESPONSIBILITY_EFFECTIVE_DATE", + "INSPECTION_DATE", + "INSPECTION_NOTES", + "IS_SUBJECT_TO_RTA", + "IS_COMM_BLDG", + "IS_OTHER_IMPROVEMENT", + "IS_EXPIRED", + "HAS_PHYSICAL_FILE", + "HAS_DIGITAL_FILE", + "HAS_PHYSICIAL_LICENSE", + "HAS_DIGITAL_LICENSE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LESCON_I_S_U_TR] ON PIMS_LEASE_CONSULTATION INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_CONSULTATION_ID = deleted.LEASE_CONSULTATION_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_CONSULTATION + set "LEASE_CONSULTATION_ID" = inserted."LEASE_CONSULTATION_ID", + "LEASE_ID" = inserted."LEASE_ID", + "CONSULTATION_TYPE_CODE" = inserted."CONSULTATION_TYPE_CODE", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "IS_DISABLED" = inserted."IS_DISABLED" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_CONSULTATION + inner join inserted + on (PIMS_LEASE_CONSULTATION.LEASE_CONSULTATION_ID = inserted.LEASE_CONSULTATION_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSACIN_I_S_I_TR] ON PIMS_LEASE_ACTIVITY_INSTANCE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_ACTIVITY_INSTANCE ("LEASE_ACTIVITY_INSTANCE_ID", + "ACTIVITY_INSTANCE_ID", + "LEASE_ID", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "LEASE_ACTIVITY_INSTANCE_ID", + "ACTIVITY_INSTANCE_ID", + "LEASE_ID", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LESDOC_I_S_U_TR] ON PIMS_LEASE_DOCUMENT INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_DOCUMENT_ID = deleted.LEASE_DOCUMENT_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_DOCUMENT + set "LEASE_DOCUMENT_ID" = inserted."LEASE_DOCUMENT_ID", + "LEASE_ID" = inserted."LEASE_ID", + "DOCUMENT_ID" = inserted."DOCUMENT_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_DOCUMENT + inner join inserted + on (PIMS_LEASE_DOCUMENT.LEASE_DOCUMENT_ID = inserted.LEASE_DOCUMENT_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSCATT_I_S_I_TR] ON PIMS_LEASE_CATEGORY_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_CATEGORY_TYPE ("LEASE_CATEGORY_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "LEASE_CATEGORY_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LINITT_I_S_U_TR] ON PIMS_LEASE_INITIATOR_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_INITIATOR_TYPE_CODE = deleted.LEASE_INITIATOR_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_INITIATOR_TYPE + set "LEASE_INITIATOR_TYPE_CODE" = inserted."LEASE_INITIATOR_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_INITIATOR_TYPE + inner join inserted + on (PIMS_LEASE_INITIATOR_TYPE.LEASE_INITIATOR_TYPE_CODE = inserted.LEASE_INITIATOR_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LESCON_I_S_I_TR] ON PIMS_LEASE_CONSULTATION INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_CONSULTATION ("LEASE_CONSULTATION_ID", + "LEASE_ID", + "CONSULTATION_TYPE_CODE", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USER_DIRECTORY", + "APP_CREATE_USER_GUID", + "APP_CREATE_USERID", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID", + "CONCURRENCY_CONTROL_NUMBER", + "IS_DISABLED") + select "LEASE_CONSULTATION_ID", + "LEASE_ID", + "CONSULTATION_TYPE_CODE", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USER_DIRECTORY", + "APP_CREATE_USER_GUID", + "APP_CREATE_USERID", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID", + "CONCURRENCY_CONTROL_NUMBER", + "IS_DISABLED" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LELIST_I_S_U_TR] ON PIMS_LEASE_LICENSE_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_LICENSE_TYPE_CODE = deleted.LEASE_LICENSE_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_LICENSE_TYPE + set "LEASE_LICENSE_TYPE_CODE" = inserted."LEASE_LICENSE_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_LICENSE_TYPE + inner join inserted + on (PIMS_LEASE_LICENSE_TYPE.LEASE_LICENSE_TYPE_CODE = inserted.LEASE_LICENSE_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LESDOC_I_S_I_TR] ON PIMS_LEASE_DOCUMENT INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_DOCUMENT ("LEASE_DOCUMENT_ID", + "LEASE_ID", + "DOCUMENT_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "LEASE_DOCUMENT_ID", + "LEASE_ID", + "DOCUMENT_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LESNOT_I_S_U_TR] ON PIMS_LEASE_NOTE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_NOTE_ID = deleted.LEASE_NOTE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_NOTE + set "LEASE_NOTE_ID" = inserted."LEASE_NOTE_ID", + "LEASE_ID" = inserted."LEASE_ID", + "NOTE_ID" = inserted."NOTE_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_NOTE + inner join inserted + on (PIMS_LEASE_NOTE.LEASE_NOTE_ID = inserted.LEASE_NOTE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LINITT_I_S_I_TR] ON PIMS_LEASE_INITIATOR_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_INITIATOR_TYPE ("LEASE_INITIATOR_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "LEASE_INITIATOR_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSPRTY_I_S_U_TR] ON PIMS_LEASE_PAY_RVBL_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_PAY_RVBL_TYPE_CODE = deleted.LEASE_PAY_RVBL_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_PAY_RVBL_TYPE + set "LEASE_PAY_RVBL_TYPE_CODE" = inserted."LEASE_PAY_RVBL_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_PAY_RVBL_TYPE + inner join inserted + on (PIMS_LEASE_PAY_RVBL_TYPE.LEASE_PAY_RVBL_TYPE_CODE = inserted.LEASE_PAY_RVBL_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LELIST_I_S_I_TR] ON PIMS_LEASE_LICENSE_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_LICENSE_TYPE ("LEASE_LICENSE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "LEASE_LICENSE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSPYMT_I_S_U_TR] ON PIMS_LEASE_PAYMENT INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_PAYMENT_ID = deleted.LEASE_PAYMENT_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_PAYMENT + set "LEASE_PAYMENT_ID" = inserted."LEASE_PAYMENT_ID", + "LEASE_TERM_ID" = inserted."LEASE_TERM_ID", + "LEASE_PAYMENT_METHOD_TYPE_CODE" = inserted."LEASE_PAYMENT_METHOD_TYPE_CODE", + "LEASE_PAYMENT_STATUS_TYPE_CODE" = inserted."LEASE_PAYMENT_STATUS_TYPE_CODE", + "PAYMENT_RECEIVED_DATE" = inserted."PAYMENT_RECEIVED_DATE", + "PAYMENT_AMOUNT_PRE_TAX" = inserted."PAYMENT_AMOUNT_PRE_TAX", + "PAYMENT_AMOUNT_PST" = inserted."PAYMENT_AMOUNT_PST", + "PAYMENT_AMOUNT_GST" = inserted."PAYMENT_AMOUNT_GST", + "PAYMENT_AMOUNT_TOTAL" = inserted."PAYMENT_AMOUNT_TOTAL", + "NOTE" = inserted."NOTE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_PAYMENT + inner join inserted + on (PIMS_LEASE_PAYMENT.LEASE_PAYMENT_ID = inserted.LEASE_PAYMENT_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LESNOT_I_S_I_TR] ON PIMS_LEASE_NOTE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_NOTE ("LEASE_NOTE_ID", + "LEASE_ID", + "NOTE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "LEASE_NOTE_ID", + "LEASE_ID", + "NOTE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSPMMT_I_S_U_TR] ON PIMS_LEASE_PAYMENT_METHOD_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_PAYMENT_METHOD_TYPE_CODE = deleted.LEASE_PAYMENT_METHOD_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_PAYMENT_METHOD_TYPE + set "LEASE_PAYMENT_METHOD_TYPE_CODE" = inserted."LEASE_PAYMENT_METHOD_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_PAYMENT_METHOD_TYPE + inner join inserted + on (PIMS_LEASE_PAYMENT_METHOD_TYPE.LEASE_PAYMENT_METHOD_TYPE_CODE = inserted.LEASE_PAYMENT_METHOD_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSPRTY_I_S_I_TR] ON PIMS_LEASE_PAY_RVBL_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_PAY_RVBL_TYPE ("LEASE_PAY_RVBL_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "LEASE_PAY_RVBL_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LPSTST_I_S_U_TR] ON PIMS_LEASE_PAYMENT_STATUS_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_PAYMENT_STATUS_TYPE_CODE = deleted.LEASE_PAYMENT_STATUS_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_PAYMENT_STATUS_TYPE + set "LEASE_PAYMENT_STATUS_TYPE_CODE" = inserted."LEASE_PAYMENT_STATUS_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_PAYMENT_STATUS_TYPE + inner join inserted + on (PIMS_LEASE_PAYMENT_STATUS_TYPE.LEASE_PAYMENT_STATUS_TYPE_CODE = inserted.LEASE_PAYMENT_STATUS_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSPYMT_I_S_I_TR] ON PIMS_LEASE_PAYMENT INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_PAYMENT ("LEASE_PAYMENT_ID", + "LEASE_TERM_ID", + "LEASE_PAYMENT_METHOD_TYPE_CODE", + "LEASE_PAYMENT_STATUS_TYPE_CODE", + "PAYMENT_RECEIVED_DATE", + "PAYMENT_AMOUNT_PRE_TAX", + "PAYMENT_AMOUNT_PST", + "PAYMENT_AMOUNT_GST", + "PAYMENT_AMOUNT_TOTAL", + "NOTE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "LEASE_PAYMENT_ID", + "LEASE_TERM_ID", + "LEASE_PAYMENT_METHOD_TYPE_CODE", + "LEASE_PAYMENT_STATUS_TYPE_CODE", + "PAYMENT_RECEIVED_DATE", + "PAYMENT_AMOUNT_PRE_TAX", + "PAYMENT_AMOUNT_PST", + "PAYMENT_AMOUNT_GST", + "PAYMENT_AMOUNT_TOTAL", + "NOTE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSPMTF_I_S_U_TR] ON PIMS_LEASE_PMT_FREQ_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_PMT_FREQ_TYPE_CODE = deleted.LEASE_PMT_FREQ_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_PMT_FREQ_TYPE + set "LEASE_PMT_FREQ_TYPE_CODE" = inserted."LEASE_PMT_FREQ_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_PMT_FREQ_TYPE + inner join inserted + on (PIMS_LEASE_PMT_FREQ_TYPE.LEASE_PMT_FREQ_TYPE_CODE = inserted.LEASE_PMT_FREQ_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSPMMT_I_S_I_TR] ON PIMS_LEASE_PAYMENT_METHOD_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_PAYMENT_METHOD_TYPE ("LEASE_PAYMENT_METHOD_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "LEASE_PAYMENT_METHOD_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSPRGT_I_S_U_TR] ON PIMS_LEASE_PROGRAM_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_PROGRAM_TYPE_CODE = deleted.LEASE_PROGRAM_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_PROGRAM_TYPE + set "LEASE_PROGRAM_TYPE_CODE" = inserted."LEASE_PROGRAM_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_PROGRAM_TYPE + inner join inserted + on (PIMS_LEASE_PROGRAM_TYPE.LEASE_PROGRAM_TYPE_CODE = inserted.LEASE_PROGRAM_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LPSTST_I_S_I_TR] ON PIMS_LEASE_PAYMENT_STATUS_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_PAYMENT_STATUS_TYPE ("LEASE_PAYMENT_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "LEASE_PAYMENT_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LPRPTY_I_S_U_TR] ON PIMS_LEASE_PURPOSE_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_PURPOSE_TYPE_CODE = deleted.LEASE_PURPOSE_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_PURPOSE_TYPE + set "LEASE_PURPOSE_TYPE_CODE" = inserted."LEASE_PURPOSE_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_PURPOSE_TYPE + inner join inserted + on (PIMS_LEASE_PURPOSE_TYPE.LEASE_PURPOSE_TYPE_CODE = inserted.LEASE_PURPOSE_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSPMTF_I_S_I_TR] ON PIMS_LEASE_PMT_FREQ_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_PMT_FREQ_TYPE ("LEASE_PMT_FREQ_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "LEASE_PMT_FREQ_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LRESPT_I_S_U_TR] ON PIMS_LEASE_RESPONSIBILITY_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_RESPONSIBILITY_TYPE_CODE = deleted.LEASE_RESPONSIBILITY_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_RESPONSIBILITY_TYPE + set "LEASE_RESPONSIBILITY_TYPE_CODE" = inserted."LEASE_RESPONSIBILITY_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_RESPONSIBILITY_TYPE + inner join inserted + on (PIMS_LEASE_RESPONSIBILITY_TYPE.LEASE_RESPONSIBILITY_TYPE_CODE = inserted.LEASE_RESPONSIBILITY_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSPRGT_I_S_I_TR] ON PIMS_LEASE_PROGRAM_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_PROGRAM_TYPE ("LEASE_PROGRAM_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "LEASE_PROGRAM_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSSTYP_I_S_U_TR] ON PIMS_LEASE_STATUS_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_STATUS_TYPE_CODE = deleted.LEASE_STATUS_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_STATUS_TYPE + set "LEASE_STATUS_TYPE_CODE" = inserted."LEASE_STATUS_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_STATUS_TYPE + inner join inserted + on (PIMS_LEASE_STATUS_TYPE.LEASE_STATUS_TYPE_CODE = inserted.LEASE_STATUS_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LPRPTY_I_S_I_TR] ON PIMS_LEASE_PURPOSE_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_PURPOSE_TYPE ("LEASE_PURPOSE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "LEASE_PURPOSE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_TENANT_I_S_U_TR] ON PIMS_LEASE_TENANT INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_TENANT_ID = deleted.LEASE_TENANT_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_TENANT + set "LEASE_TENANT_ID" = inserted."LEASE_TENANT_ID", + "LEASE_ID" = inserted."LEASE_ID", + "PERSON_ID" = inserted."PERSON_ID", + "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", + "PRIMARY_CONTACT_ID" = inserted."PRIMARY_CONTACT_ID", + "LESSOR_TYPE_CODE" = inserted."LESSOR_TYPE_CODE", + "TENANT_TYPE_CODE" = inserted."TENANT_TYPE_CODE", + "NOTE" = inserted."NOTE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_TENANT + inner join inserted + on (PIMS_LEASE_TENANT.LEASE_TENANT_ID = inserted.LEASE_TENANT_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LRESPT_I_S_I_TR] ON PIMS_LEASE_RESPONSIBILITY_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_RESPONSIBILITY_TYPE ("LEASE_RESPONSIBILITY_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "LEASE_RESPONSIBILITY_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSTERM_I_S_U_TR] ON PIMS_LEASE_TERM INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_TERM_ID = deleted.LEASE_TERM_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_TERM + set "LEASE_TERM_ID" = inserted."LEASE_TERM_ID", + "LEASE_ID" = inserted."LEASE_ID", + "LEASE_TERM_STATUS_TYPE_CODE" = inserted."LEASE_TERM_STATUS_TYPE_CODE", + "LEASE_PMT_FREQ_TYPE_CODE" = inserted."LEASE_PMT_FREQ_TYPE_CODE", + "TERM_START_DATE" = inserted."TERM_START_DATE", + "TERM_EXPIRY_DATE" = inserted."TERM_EXPIRY_DATE", + "TERM_RENEWAL_DATE" = inserted."TERM_RENEWAL_DATE", + "PAYMENT AMOUNT" = inserted."PAYMENT AMOUNT", + "PAYMENT_DUE_DATE" = inserted."PAYMENT_DUE_DATE", + "PAYMENT_NOTE" = inserted."PAYMENT_NOTE", + "IS_GST_ELIGIBLE" = inserted."IS_GST_ELIGIBLE", + "GST_AMOUNT" = inserted."GST_AMOUNT", + "IS_TERM_EXERCISED" = inserted."IS_TERM_EXERCISED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_TERM + inner join inserted + on (PIMS_LEASE_TERM.LEASE_TERM_ID = inserted.LEASE_TERM_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQAIN_A_S_IUD_TR] ON PIMS_ACQUISITION_ACTIVITY_INSTANCE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACQUISITION_ACTIVITY_INSTANCE_HIST set END_DATE_HIST = @curr_date where ACQUISITION_ACTIVITY_INSTANCE_ID in (select ACQUISITION_ACTIVITY_INSTANCE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACQUISITION_ACTIVITY_INSTANCE_HIST ([ACQUISITION_ACTIVITY_INSTANCE_ID], [ACQUISITION_FILE_ID], [ACTIVITY_INSTANCE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USER_DIRECTORY], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACQUISITION_ACTIVITY_INSTANCE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACQUISITION_ACTIVITY_INSTANCE_ID], [ACQUISITION_FILE_ID], [ACTIVITY_INSTANCE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USER_DIRECTORY], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE_H_ID_SEQ]) as [_ACQUISITION_ACTIVITY_INSTANCE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSSTYP_I_S_I_TR] ON PIMS_LEASE_STATUS_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_STATUS_TYPE ("LEASE_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "LEASE_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LTRMST_I_S_U_TR] ON PIMS_LEASE_TERM_STATUS_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LEASE_TERM_STATUS_TYPE_CODE = deleted.LEASE_TERM_STATUS_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LEASE_TERM_STATUS_TYPE + set "LEASE_TERM_STATUS_TYPE_CODE" = inserted."LEASE_TERM_STATUS_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LEASE_TERM_STATUS_TYPE + inner join inserted + on (PIMS_LEASE_TERM_STATUS_TYPE.LEASE_TERM_STATUS_TYPE_CODE = inserted.LEASE_TERM_STATUS_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQDOC_A_S_IUD_TR] ON PIMS_ACQUISITION_FILE_DOCUMENT FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACQUISITION_FILE_DOCUMENT_HIST set END_DATE_HIST = @curr_date where ACQUISITION_FILE_DOCUMENT_ID in (select ACQUISITION_FILE_DOCUMENT_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACQUISITION_FILE_DOCUMENT_HIST ([ACQUISITION_FILE_DOCUMENT_ID], [ACQUISITION_FILE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACQUISITION_FILE_DOCUMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACQUISITION_FILE_DOCUMENT_ID], [ACQUISITION_FILE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT_H_ID_SEQ]) as [_ACQUISITION_FILE_DOCUMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_TENANT_I_S_I_TR] ON PIMS_LEASE_TENANT INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_TENANT ("LEASE_TENANT_ID", + "LEASE_ID", + "PERSON_ID", + "ORGANIZATION_ID", + "PRIMARY_CONTACT_ID", + "LESSOR_TYPE_CODE", + "TENANT_TYPE_CODE", + "NOTE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "LEASE_TENANT_ID", + "LEASE_ID", + "PERSON_ID", + "ORGANIZATION_ID", + "PRIMARY_CONTACT_ID", + "LESSOR_TYPE_CODE", + "TENANT_TYPE_CODE", + "NOTE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSSRTY_I_S_U_TR] ON PIMS_LESSOR_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LESSOR_TYPE_CODE = deleted.LESSOR_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LESSOR_TYPE + set "LESSOR_TYPE_CODE" = inserted."LESSOR_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LESSOR_TYPE + inner join inserted + on (PIMS_LESSOR_TYPE.LESSOR_TYPE_CODE = inserted.LESSOR_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQNFL_A_S_IUD_TR] ON PIMS_ACQUISITION_FILE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACQUISITION_FILE_HIST set END_DATE_HIST = @curr_date where ACQUISITION_FILE_ID in (select ACQUISITION_FILE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACQUISITION_FILE_HIST ([ACQUISITION_FILE_ID], [PROJECT_ID], [PRODUCT_ID], [ACQUISITION_FILE_STATUS_TYPE_CODE], [ACQUISITION_TYPE_CODE], [ACQUISITION_FUNDING_TYPE_CODE], [ACQ_PHYS_FILE_STATUS_TYPE_CODE], [REGION_CODE], [MINISTRY_PROJECT_NUMBER], [MINISTRY_PROJECT_NAME], [CPS_PRODUCT_CODE], [FILE_NAME], [FILE_NO], [FILE_NUMBER], [LEGACY_FILE_NUMBER], [FUNDING_OTHER], [ASSIGNED_DATE], [DELIVERY_DATE], [PAIMS_ACQUISITION_FILE_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACQUISITION_FILE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACQUISITION_FILE_ID], [PROJECT_ID], [PRODUCT_ID], [ACQUISITION_FILE_STATUS_TYPE_CODE], [ACQUISITION_TYPE_CODE], [ACQUISITION_FUNDING_TYPE_CODE], [ACQ_PHYS_FILE_STATUS_TYPE_CODE], [REGION_CODE], [MINISTRY_PROJECT_NUMBER], [MINISTRY_PROJECT_NAME], [CPS_PRODUCT_CODE], [FILE_NAME], [FILE_NO], [FILE_NUMBER], [LEGACY_FILE_NUMBER], [FUNDING_OTHER], [ASSIGNED_DATE], [DELIVERY_DATE], [PAIMS_ACQUISITION_FILE_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACQUISITION_FILE_H_ID_SEQ]) as [_ACQUISITION_FILE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSTERM_I_S_I_TR] ON PIMS_LEASE_TERM INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_TERM ("LEASE_TERM_ID", + "LEASE_ID", + "LEASE_TERM_STATUS_TYPE_CODE", + "LEASE_PMT_FREQ_TYPE_CODE", + "TERM_START_DATE", + "TERM_EXPIRY_DATE", + "TERM_RENEWAL_DATE", + "PAYMENT AMOUNT", + "PAYMENT_DUE_DATE", + "PAYMENT_NOTE", + "IS_GST_ELIGIBLE", + "GST_AMOUNT", + "IS_TERM_EXERCISED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "LEASE_TERM_ID", + "LEASE_ID", + "LEASE_TERM_STATUS_TYPE_CODE", + "LEASE_PMT_FREQ_TYPE_CODE", + "TERM_START_DATE", + "TERM_EXPIRY_DATE", + "TERM_RENEWAL_DATE", + "PAYMENT AMOUNT", + "PAYMENT_DUE_DATE", + "PAYMENT_NOTE", + "IS_GST_ELIGIBLE", + "GST_AMOUNT", + "IS_TERM_EXERCISED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LTRTYP_I_S_U_TR] ON PIMS_LETTER_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.LETTER_TYPE_CODE = deleted.LETTER_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_LETTER_TYPE + set "LETTER_TYPE_CODE" = inserted."LETTER_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_LETTER_TYPE + inner join inserted + on (PIMS_LETTER_TYPE.LETTER_TYPE_CODE = inserted.LETTER_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQNOT_A_S_IUD_TR] ON PIMS_ACQUISITION_FILE_NOTE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACQUISITION_FILE_NOTE_HIST set END_DATE_HIST = @curr_date where ACQUISITION_FILE_NOTE_ID in (select ACQUISITION_FILE_NOTE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACQUISITION_FILE_NOTE_HIST ([ACQUISITION_FILE_NOTE_ID], [NOTE_ID], [ACQUISITION_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACQUISITION_FILE_NOTE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACQUISITION_FILE_NOTE_ID], [NOTE_ID], [ACQUISITION_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACQUISITION_FILE_NOTE_H_ID_SEQ]) as [_ACQUISITION_FILE_NOTE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LTRMST_I_S_I_TR] ON PIMS_LEASE_TERM_STATUS_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LEASE_TERM_STATUS_TYPE ("LEASE_TERM_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "LEASE_TERM_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_NOTE_I_S_U_TR] ON PIMS_NOTE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.NOTE_ID = deleted.NOTE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_NOTE + set "NOTE_ID" = inserted."NOTE_ID", + "NOTE_TXT" = inserted."NOTE_TXT", + "IS_SYSTEM_GENERATED" = inserted."IS_SYSTEM_GENERATED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_NOTE + inner join inserted + on (PIMS_NOTE.NOTE_ID = inserted.NOTE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQOWN_A_S_IUD_TR] ON PIMS_ACQUISITION_OWNER FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACQUISITION_OWNER_HIST set END_DATE_HIST = @curr_date where ACQUISITION_OWNER_ID in (select ACQUISITION_OWNER_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACQUISITION_OWNER_HIST ([ACQUISITION_OWNER_ID], [ACQUISITION_FILE_ID], [ADDRESS_ID], [LAST_NAME_OR_CORP_NAME_1], [LAST_NAME_OR_CORP_NAME_2], [GIVEN_NAME], [INCORPORATION_NUMBER], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACQUISITION_OWNER_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACQUISITION_OWNER_ID], [ACQUISITION_FILE_ID], [ADDRESS_ID], [LAST_NAME_OR_CORP_NAME_1], [LAST_NAME_OR_CORP_NAME_2], [GIVEN_NAME], [INCORPORATION_NUMBER], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACQUISITION_OWNER_H_ID_SEQ]) as [_ACQUISITION_OWNER_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSSRTY_I_S_I_TR] ON PIMS_LESSOR_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LESSOR_TYPE ("LESSOR_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "LESSOR_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ORGIDT_I_S_U_TR] ON PIMS_ORG_IDENTIFIER_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ORG_IDENTIFIER_TYPE_CODE = deleted.ORG_IDENTIFIER_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ORG_IDENTIFIER_TYPE + set "ORG_IDENTIFIER_TYPE_CODE" = inserted."ORG_IDENTIFIER_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ORG_IDENTIFIER_TYPE + inner join inserted + on (PIMS_ORG_IDENTIFIER_TYPE.ORG_IDENTIFIER_TYPE_CODE = inserted.ORG_IDENTIFIER_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQPER_A_S_IUD_TR] ON PIMS_ACQUISITION_FILE_PERSON FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACQUISITION_FILE_PERSON_HIST set END_DATE_HIST = @curr_date where ACQUISITION_FILE_PERSON_ID in (select ACQUISITION_FILE_PERSON_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACQUISITION_FILE_PERSON_HIST ([ACQUISITION_FILE_PERSON_ID], [ACQUISITION_FILE_ID], [PERSON_ID], [ACQ_FL_PERSON_PROFILE_TYPE_CODE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACQUISITION_FILE_PERSON_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACQUISITION_FILE_PERSON_ID], [ACQUISITION_FILE_ID], [PERSON_ID], [ACQ_FL_PERSON_PROFILE_TYPE_CODE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACQUISITION_FILE_PERSON_H_ID_SEQ]) as [_ACQUISITION_FILE_PERSON_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LTRTYP_I_S_I_TR] ON PIMS_LETTER_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_LETTER_TYPE ("LETTER_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "LETTER_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ORG_I_S_U_TR] ON PIMS_ORGANIZATION INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ORGANIZATION_ID = deleted.ORGANIZATION_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ORGANIZATION + set "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", + "PRNT_ORGANIZATION_ID" = inserted."PRNT_ORGANIZATION_ID", + "REGION_CODE" = inserted."REGION_CODE", + "DISTRICT_CODE" = inserted."DISTRICT_CODE", + "ORGANIZATION_TYPE_CODE" = inserted."ORGANIZATION_TYPE_CODE", + "ORG_IDENTIFIER_TYPE_CODE" = inserted."ORG_IDENTIFIER_TYPE_CODE", + "ORGANIZATION_IDENTIFIER" = inserted."ORGANIZATION_IDENTIFIER", + "ORGANIZATION_NAME" = inserted."ORGANIZATION_NAME", + "ORGANIZATION_ALIAS" = inserted."ORGANIZATION_ALIAS", + "INCORPORATION_NUMBER" = inserted."INCORPORATION_NUMBER", + "WEBSITE" = inserted."WEBSITE", + "COMMENT" = inserted."COMMENT", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ORGANIZATION + inner join inserted + on (PIMS_ORGANIZATION.ORGANIZATION_ID = inserted.ORGANIZATION_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACRQOR_A_S_IUD_TR] ON PIMS_ACCESS_REQUEST_ORGANIZATION FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACCESS_REQUEST_ORGANIZATION_HIST set END_DATE_HIST = @curr_date where ACCESS_REQUEST_ORGANIZATION_ID in (select ACCESS_REQUEST_ORGANIZATION_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACCESS_REQUEST_ORGANIZATION_HIST ([ACCESS_REQUEST_ORGANIZATION_ID], [ORGANIZATION_ID], [ACCESS_REQUEST_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACCESS_REQUEST_ORGANIZATION_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACCESS_REQUEST_ORGANIZATION_ID], [ORGANIZATION_ID], [ACCESS_REQUEST_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION_H_ID_SEQ]) as [_ACCESS_REQUEST_ORGANIZATION_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_NOTE_I_S_I_TR] ON PIMS_NOTE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_NOTE ("NOTE_ID", + "NOTE_TXT", + "IS_SYSTEM_GENERATED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "NOTE_ID", + "NOTE_TXT", + "IS_SYSTEM_GENERATED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ORGADD_I_S_U_TR] ON PIMS_ORGANIZATION_ADDRESS INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ORGANIZATION_ADDRESS_ID = deleted.ORGANIZATION_ADDRESS_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ORGANIZATION_ADDRESS + set "ORGANIZATION_ADDRESS_ID" = inserted."ORGANIZATION_ADDRESS_ID", + "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", + "ADDRESS_ID" = inserted."ADDRESS_ID", + "ADDRESS_USAGE_TYPE_CODE" = inserted."ADDRESS_USAGE_TYPE_CODE", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ORGANIZATION_ADDRESS + inner join inserted + on (PIMS_ORGANIZATION_ADDRESS.ORGANIZATION_ADDRESS_ID = inserted.ORGANIZATION_ADDRESS_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACRQST_A_S_IUD_TR] ON PIMS_ACCESS_REQUEST FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACCESS_REQUEST_HIST set END_DATE_HIST = @curr_date where ACCESS_REQUEST_ID in (select ACCESS_REQUEST_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACCESS_REQUEST_HIST ([ACCESS_REQUEST_ID], [USER_ID], [ROLE_ID], [ACCESS_REQUEST_STATUS_TYPE_CODE], [REGION_CODE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACCESS_REQUEST_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACCESS_REQUEST_ID], [USER_ID], [ROLE_ID], [ACCESS_REQUEST_STATUS_TYPE_CODE], [REGION_CODE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACCESS_REQUEST_H_ID_SEQ]) as [_ACCESS_REQUEST_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ORGIDT_I_S_I_TR] ON PIMS_ORG_IDENTIFIER_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ORG_IDENTIFIER_TYPE ("ORG_IDENTIFIER_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "ORG_IDENTIFIER_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ORGTYP_I_S_U_TR] ON PIMS_ORGANIZATION_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ORGANIZATION_TYPE_CODE = deleted.ORGANIZATION_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ORGANIZATION_TYPE + set "ORGANIZATION_TYPE_CODE" = inserted."ORGANIZATION_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ORGANIZATION_TYPE + inner join inserted + on (PIMS_ORGANIZATION_TYPE.ORGANIZATION_TYPE_CODE = inserted.ORGANIZATION_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACTDOC_A_S_IUD_TR] ON PIMS_ACTIVITY_INSTANCE_DOCUMENT FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACTIVITY_INSTANCE_DOCUMENT_HIST set END_DATE_HIST = @curr_date where ACTIVITY_INSTANCE_DOCUMENT_ID in (select ACTIVITY_INSTANCE_DOCUMENT_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACTIVITY_INSTANCE_DOCUMENT_HIST ([ACTIVITY_INSTANCE_DOCUMENT_ID], [ACTIVITY_INSTANCE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACTIVITY_INSTANCE_DOCUMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACTIVITY_INSTANCE_DOCUMENT_ID], [ACTIVITY_INSTANCE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT_H_ID_SEQ]) as [_ACTIVITY_INSTANCE_DOCUMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ORG_I_S_I_TR] ON PIMS_ORGANIZATION INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ORGANIZATION ("ORGANIZATION_ID", + "PRNT_ORGANIZATION_ID", + "REGION_CODE", + "DISTRICT_CODE", + "ORGANIZATION_TYPE_CODE", + "ORG_IDENTIFIER_TYPE_CODE", + "ORGANIZATION_IDENTIFIER", + "ORGANIZATION_NAME", + "ORGANIZATION_ALIAS", + "INCORPORATION_NUMBER", + "WEBSITE", + "COMMENT", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ORGANIZATION_ID", + "PRNT_ORGANIZATION_ID", + "REGION_CODE", + "DISTRICT_CODE", + "ORGANIZATION_TYPE_CODE", + "ORG_IDENTIFIER_TYPE_CODE", + "ORGANIZATION_IDENTIFIER", + "ORGANIZATION_NAME", + "ORGANIZATION_ALIAS", + "INCORPORATION_NUMBER", + "WEBSITE", + "COMMENT", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PERSON_I_S_U_TR] ON PIMS_PERSON INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PERSON_ID = deleted.PERSON_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PERSON + set "PERSON_ID" = inserted."PERSON_ID", + "SURNAME" = inserted."SURNAME", + "FIRST_NAME" = inserted."FIRST_NAME", + "MIDDLE_NAMES" = inserted."MIDDLE_NAMES", + "NAME_SUFFIX" = inserted."NAME_SUFFIX", + "PREFERRED_NAME" = inserted."PREFERRED_NAME", + "BIRTH_DATE" = inserted."BIRTH_DATE", + "COMMENT" = inserted."COMMENT", + "ADDRESS_COMMENT" = inserted."ADDRESS_COMMENT", + "USE_ORGANIZATION_ADDRESS" = inserted."USE_ORGANIZATION_ADDRESS", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PERSON + inner join inserted + on (PIMS_PERSON.PERSON_ID = inserted.PERSON_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACTINN_A_S_IUD_TR] ON PIMS_ACTIVITY_INSTANCE_NOTE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACTIVITY_INSTANCE_NOTE_HIST set END_DATE_HIST = @curr_date where PIMS_ACTIVITY_INSTANCE_NOTE_ID in (select PIMS_ACTIVITY_INSTANCE_NOTE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACTIVITY_INSTANCE_NOTE_HIST ([PIMS_ACTIVITY_INSTANCE_NOTE_ID], [ACTIVITY_INSTANCE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACTIVITY_INSTANCE_NOTE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PIMS_ACTIVITY_INSTANCE_NOTE_ID], [ACTIVITY_INSTANCE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE_H_ID_SEQ]) as [_ACTIVITY_INSTANCE_NOTE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ORGADD_I_S_I_TR] ON PIMS_ORGANIZATION_ADDRESS INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ORGANIZATION_ADDRESS ("ORGANIZATION_ADDRESS_ID", + "ORGANIZATION_ID", + "ADDRESS_ID", + "ADDRESS_USAGE_TYPE_CODE", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ORGANIZATION_ADDRESS_ID", + "ORGANIZATION_ID", + "ADDRESS_ID", + "ADDRESS_USAGE_TYPE_CODE", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PERADD_I_S_U_TR] ON PIMS_PERSON_ADDRESS INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PERSON_ADDRESS_ID = deleted.PERSON_ADDRESS_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PERSON_ADDRESS + set "PERSON_ADDRESS_ID" = inserted."PERSON_ADDRESS_ID", + "PERSON_ID" = inserted."PERSON_ID", + "ADDRESS_ID" = inserted."ADDRESS_ID", + "ADDRESS_USAGE_TYPE_CODE" = inserted."ADDRESS_USAGE_TYPE_CODE", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PERSON_ADDRESS + inner join inserted + on (PIMS_PERSON_ADDRESS.PERSON_ADDRESS_ID = inserted.PERSON_ADDRESS_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACTINS_A_S_IUD_TR] ON PIMS_ACTIVITY_INSTANCE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACTIVITY_INSTANCE_HIST set END_DATE_HIST = @curr_date where ACTIVITY_INSTANCE_ID in (select ACTIVITY_INSTANCE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACTIVITY_INSTANCE_HIST ([ACTIVITY_INSTANCE_ID], [ACTIVITY_TEMPLATE_ID], [ACTIVITY_INSTANCE_STATUS_TYPE_CODE], [DESCRIPTION], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACTIVITY_INSTANCE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACTIVITY_INSTANCE_ID], [ACTIVITY_TEMPLATE_ID], [ACTIVITY_INSTANCE_STATUS_TYPE_CODE], [DESCRIPTION], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACTIVITY_INSTANCE_H_ID_SEQ]) as [_ACTIVITY_INSTANCE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ORGTYP_I_S_I_TR] ON PIMS_ORGANIZATION_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ORGANIZATION_TYPE ("ORGANIZATION_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "ORGANIZATION_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PERORG_I_S_U_TR] ON PIMS_PERSON_ORGANIZATION INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PERSON_ORGANIZATION_ID = deleted.PERSON_ORGANIZATION_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PERSON_ORGANIZATION + set "PERSON_ORGANIZATION_ID" = inserted."PERSON_ORGANIZATION_ID", + "PERSON_ID" = inserted."PERSON_ID", + "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PERSON_ORGANIZATION + inner join inserted + on (PIMS_PERSON_ORGANIZATION.PERSON_ORGANIZATION_ID = inserted.PERSON_ORGANIZATION_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACTMDO_A_S_IUD_TR] ON PIMS_ACTIVITY_TEMPLATE_DOCUMENT FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACTIVITY_TEMPLATE_DOCUMENT_HIST set END_DATE_HIST = @curr_date where ACTIVITY_TEMPLATE_DOCUMENT_ID in (select ACTIVITY_TEMPLATE_DOCUMENT_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACTIVITY_TEMPLATE_DOCUMENT_HIST ([ACTIVITY_TEMPLATE_DOCUMENT_ID], [DOCUMENT_ID], [ACTIVITY_TEMPLATE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACTIVITY_TEMPLATE_DOCUMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACTIVITY_TEMPLATE_DOCUMENT_ID], [DOCUMENT_ID], [ACTIVITY_TEMPLATE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT_H_ID_SEQ]) as [_ACTIVITY_TEMPLATE_DOCUMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PERSON_I_S_I_TR] ON PIMS_PERSON INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PERSON ("PERSON_ID", + "SURNAME", + "FIRST_NAME", + "MIDDLE_NAMES", + "NAME_SUFFIX", + "PREFERRED_NAME", + "BIRTH_DATE", + "COMMENT", + "ADDRESS_COMMENT", + "USE_ORGANIZATION_ADDRESS", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "PERSON_ID", + "SURNAME", + "FIRST_NAME", + "MIDDLE_NAMES", + "NAME_SUFFIX", + "PREFERRED_NAME", + "BIRTH_DATE", + "COMMENT", + "ADDRESS_COMMENT", + "USE_ORGANIZATION_ADDRESS", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PPHSTT_I_S_U_TR] ON PIMS_PPH_STATUS_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PPH_STATUS_TYPE_CODE = deleted.PPH_STATUS_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PPH_STATUS_TYPE + set "PPH_STATUS_TYPE_CODE" = inserted."PPH_STATUS_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PPH_STATUS_TYPE + inner join inserted + on (PIMS_PPH_STATUS_TYPE.PPH_STATUS_TYPE_CODE = inserted.PPH_STATUS_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACTTMP_A_S_IUD_TR] ON PIMS_ACTIVITY_TEMPLATE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACTIVITY_TEMPLATE_HIST set END_DATE_HIST = @curr_date where ACTIVITY_TEMPLATE_ID in (select ACTIVITY_TEMPLATE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACTIVITY_TEMPLATE_HIST ([ACTIVITY_TEMPLATE_ID], [ACTIVITY_TEMPLATE_TYPE_CODE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACTIVITY_TEMPLATE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACTIVITY_TEMPLATE_ID], [ACTIVITY_TEMPLATE_TYPE_CODE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACTIVITY_TEMPLATE_H_ID_SEQ]) as [_ACTIVITY_TEMPLATE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PERADD_I_S_I_TR] ON PIMS_PERSON_ADDRESS INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PERSON_ADDRESS ("PERSON_ADDRESS_ID", + "PERSON_ID", + "ADDRESS_ID", + "ADDRESS_USAGE_TYPE_CODE", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "PERSON_ADDRESS_ID", + "PERSON_ID", + "ADDRESS_ID", + "ADDRESS_USAGE_TYPE_CODE", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRSPRP_I_S_U_TR] ON PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PRF_PROP_RESEARCH_PURPOSE_ID = deleted.PRF_PROP_RESEARCH_PURPOSE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE + set "PRF_PROP_RESEARCH_PURPOSE_ID" = inserted."PRF_PROP_RESEARCH_PURPOSE_ID", + "PROPERTY_RESEARCH_FILE_ID" = inserted."PROPERTY_RESEARCH_FILE_ID", + "PROP_RESEARCH_PURPOSE_TYPE_CODE" = inserted."PROP_RESEARCH_PURPOSE_TYPE_CODE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE + inner join inserted + on (PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE.PRF_PROP_RESEARCH_PURPOSE_ID = inserted.PRF_PROP_RESEARCH_PURPOSE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ADDRSS_A_S_IUD_TR] ON PIMS_ADDRESS FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ADDRESS_HIST set END_DATE_HIST = @curr_date where ADDRESS_ID in (select ADDRESS_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ADDRESS_HIST ([ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROVINCE_STATE_ID], [COUNTRY_ID], [STREET_ADDRESS_1], [STREET_ADDRESS_2], [STREET_ADDRESS_3], [MUNICIPALITY_NAME], [POSTAL_CODE], [OTHER_COUNTRY], [LATITUDE], [LONGITUDE], [COMMENT], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ADDRESS_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROVINCE_STATE_ID], [COUNTRY_ID], [STREET_ADDRESS_1], [STREET_ADDRESS_2], [STREET_ADDRESS_3], [MUNICIPALITY_NAME], [POSTAL_CODE], [OTHER_COUNTRY], [LATITUDE], [LONGITUDE], [COMMENT], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ADDRESS_H_ID_SEQ]) as [_ADDRESS_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PERORG_I_S_I_TR] ON PIMS_PERSON_ORGANIZATION INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PERSON_ORGANIZATION ("PERSON_ORGANIZATION_ID", + "PERSON_ID", + "ORGANIZATION_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "PERSON_ORGANIZATION_ID", + "PERSON_ID", + "ORGANIZATION_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRODCT_I_S_U_TR] ON PIMS_PRODUCT INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PRODUCT + set "ID" = inserted."ID", + "PARENT_PROJECT_ID" = inserted."PARENT_PROJECT_ID", + "CODE" = inserted."CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "START_DATE" = inserted."START_DATE", + "COST_ESTIMATE" = inserted."COST_ESTIMATE", + "COST_ESTIMATE_DATE" = inserted."COST_ESTIMATE_DATE", + "OBJECTIVE" = inserted."OBJECTIVE", + "SCOPE" = inserted."SCOPE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PRODUCT + inner join inserted + on (PIMS_PRODUCT.ID = inserted.ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_AIPAFL_A_S_IUD_TR] ON PIMS_ACT_INST_PROP_ACQ_FILE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACT_INST_PROP_ACQ_FILE_HIST set END_DATE_HIST = @curr_date where ACT_INST_PROP_ACQ_FILE_ID in (select ACT_INST_PROP_ACQ_FILE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACT_INST_PROP_ACQ_FILE_HIST ([ACT_INST_PROP_ACQ_FILE_ID], [ACTIVITY_INSTANCE_ID], [PROPERTY_ACQUISITION_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACT_INST_PROP_ACQ_FILE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACT_INST_PROP_ACQ_FILE_ID], [ACTIVITY_INSTANCE_ID], [PROPERTY_ACQUISITION_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE_H_ID_SEQ]) as [_ACT_INST_PROP_ACQ_FILE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PPHSTT_I_S_I_TR] ON PIMS_PPH_STATUS_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PPH_STATUS_TYPE ("PPH_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "PPH_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PROJCT_I_S_U_TR] ON PIMS_PROJECT INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROJECT + set "ID" = inserted."ID", + "PROJECT_STATUS_TYPE_CODE" = inserted."PROJECT_STATUS_TYPE_CODE", + "BUSINESS_FUNCTION_CODE_ID" = inserted."BUSINESS_FUNCTION_CODE_ID", + "COST_TYPE_CODE_ID" = inserted."COST_TYPE_CODE_ID", + "WORK_ACTIVITY_CODE_ID" = inserted."WORK_ACTIVITY_CODE_ID", + "REGION_CODE" = inserted."REGION_CODE", + "CODE" = inserted."CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "NOTE" = inserted."NOTE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROJECT + inner join inserted + on (PIMS_PROJECT.ID = inserted.ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_AIPRFL_A_S_IUD_TR] ON PIMS_ACT_INST_PROP_RSRCH_FILE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ACT_INST_PROP_RSRCH_FILE_HIST set END_DATE_HIST = @curr_date where ACT_INST_PROP_RSRCH_FILE_ID in (select ACT_INST_PROP_RSRCH_FILE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ACT_INST_PROP_RSRCH_FILE_HIST ([ACT_INST_PROP_RSRCH_FILE_ID], [ACTIVITY_INSTANCE_ID], [PROPERTY_RESEARCH_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ACT_INST_PROP_RSRCH_FILE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ACT_INST_PROP_RSRCH_FILE_ID], [ACTIVITY_INSTANCE_ID], [PROPERTY_RESEARCH_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE_H_ID_SEQ]) as [_ACT_INST_PROP_RSRCH_FILE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRSPRP_I_S_I_TR] ON PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE ("PRF_PROP_RESEARCH_PURPOSE_ID", + "PROPERTY_RESEARCH_FILE_ID", + "PROP_RESEARCH_PURPOSE_TYPE_CODE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "PRF_PROP_RESEARCH_PURPOSE_ID", + "PROPERTY_RESEARCH_FILE_ID", + "PROP_RESEARCH_PURPOSE_TYPE_CODE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRJSTY_I_S_U_TR] ON PIMS_PROJECT_STATUS_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROJECT_STATUS_TYPE_CODE = deleted.PROJECT_STATUS_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROJECT_STATUS_TYPE + set "PROJECT_STATUS_TYPE_CODE" = inserted."PROJECT_STATUS_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROJECT_STATUS_TYPE + inner join inserted + on (PIMS_PROJECT_STATUS_TYPE.PROJECT_STATUS_TYPE_CODE = inserted.PROJECT_STATUS_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_BIZFCN_A_S_IUD_TR] ON PIMS_BUSINESS_FUNCTION_CODE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_BUSINESS_FUNCTION_CODE_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_BUSINESS_FUNCTION_CODE_HIST ([ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _BUSINESS_FUNCTION_CODE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_BUSINESS_FUNCTION_CODE_H_ID_SEQ]) as [_BUSINESS_FUNCTION_CODE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRODCT_I_S_I_TR] ON PIMS_PRODUCT INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PRODUCT ("ID", + "PARENT_PROJECT_ID", + "CODE", + "DESCRIPTION", + "START_DATE", + "COST_ESTIMATE", + "COST_ESTIMATE_DATE", + "OBJECTIVE", + "SCOPE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ID", + "PARENT_PROJECT_ID", + "CODE", + "DESCRIPTION", + "START_DATE", + "COST_ESTIMATE", + "COST_ESTIMATE_DATE", + "OBJECTIVE", + "SCOPE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPALT_I_S_U_TR] ON PIMS_PROP_PROP_ADJACENT_LAND_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROP_PROP_ADJACENT_LAND_TYPE_ID = deleted.PROP_PROP_ADJACENT_LAND_TYPE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROP_PROP_ADJACENT_LAND_TYPE + set "PROP_PROP_ADJACENT_LAND_TYPE_ID" = inserted."PROP_PROP_ADJACENT_LAND_TYPE_ID", + "PROPERTY_ID" = inserted."PROPERTY_ID", + "PROPERTY_ADJACENT_LAND_TYPE_CODE" = inserted."PROPERTY_ADJACENT_LAND_TYPE_CODE", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROP_PROP_ADJACENT_LAND_TYPE + inner join inserted + on (PIMS_PROP_PROP_ADJACENT_LAND_TYPE.PROP_PROP_ADJACENT_LAND_TYPE_ID = inserted.PROP_PROP_ADJACENT_LAND_TYPE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_CHRTAC_A_S_IUD_TR] ON PIMS_CHART_OF_ACCOUNTS_CODE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_CHART_OF_ACCOUNTS_CODE_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_CHART_OF_ACCOUNTS_CODE_HIST ([ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _CHART_OF_ACCOUNTS_CODE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE_H_ID_SEQ]) as [_CHART_OF_ACCOUNTS_CODE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PROJCT_I_S_I_TR] ON PIMS_PROJECT INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROJECT ("ID", + "PROJECT_STATUS_TYPE_CODE", + "BUSINESS_FUNCTION_CODE_ID", + "COST_TYPE_CODE_ID", + "WORK_ACTIVITY_CODE_ID", + "REGION_CODE", + "CODE", + "DESCRIPTION", + "NOTE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ID", + "PROJECT_STATUS_TYPE_CODE", + "BUSINESS_FUNCTION_CODE_ID", + "COST_TYPE_CODE_ID", + "WORK_ACTIVITY_CODE_ID", + "REGION_CODE", + "CODE", + "DESCRIPTION", + "NOTE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPRAT_I_S_U_TR] ON PIMS_PROP_PROP_ANOMALY_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROP_PROP_ANOMALY_TYPE_ID = deleted.PROP_PROP_ANOMALY_TYPE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROP_PROP_ANOMALY_TYPE + set "PROP_PROP_ANOMALY_TYPE_ID" = inserted."PROP_PROP_ANOMALY_TYPE_ID", + "PROPERTY_ID" = inserted."PROPERTY_ID", + "PROPERTY_ANOMALY_TYPE_CODE" = inserted."PROPERTY_ANOMALY_TYPE_CODE", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROP_PROP_ANOMALY_TYPE + inner join inserted + on (PIMS_PROP_PROP_ANOMALY_TYPE.PROP_PROP_ANOMALY_TYPE_ID = inserted.PROP_PROP_ANOMALY_TYPE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_CLMTYP_A_S_IUD_TR] ON PIMS_CLAIM FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_CLAIM_HIST set END_DATE_HIST = @curr_date where CLAIM_ID in (select CLAIM_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_CLAIM_HIST ([CLAIM_ID], [CLAIM_UID], [KEYCLOAK_ROLE_ID], [NAME], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _CLAIM_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [CLAIM_ID], [CLAIM_UID], [KEYCLOAK_ROLE_ID], [NAME], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_CLAIM_H_ID_SEQ]) as [_CLAIM_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRJSTY_I_S_I_TR] ON PIMS_PROJECT_STATUS_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROJECT_STATUS_TYPE ("PROJECT_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "PROJECT_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPRRT_I_S_U_TR] ON PIMS_PROP_PROP_ROAD_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROP_PROP_ROAD_TYPE_ID = deleted.PROP_PROP_ROAD_TYPE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROP_PROP_ROAD_TYPE + set "PROP_PROP_ROAD_TYPE_ID" = inserted."PROP_PROP_ROAD_TYPE_ID", + "PROPERTY_ID" = inserted."PROPERTY_ID", + "PROPERTY_ROAD_TYPE_CODE" = inserted."PROPERTY_ROAD_TYPE_CODE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROP_PROP_ROAD_TYPE + inner join inserted + on (PIMS_PROP_PROP_ROAD_TYPE.PROP_PROP_ROAD_TYPE_ID = inserted.PROP_PROP_ROAD_TYPE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_CNTMTH_A_S_IUD_TR] ON PIMS_CONTACT_METHOD FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_CONTACT_METHOD_HIST set END_DATE_HIST = @curr_date where CONTACT_METHOD_ID in (select CONTACT_METHOD_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_CONTACT_METHOD_HIST ([CONTACT_METHOD_ID], [CONTACT_METHOD_TYPE_CODE], [PERSON_ID], [ORGANIZATION_ID], [CONTACT_METHOD_VALUE], [IS_PREFERRED_METHOD], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _CONTACT_METHOD_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [CONTACT_METHOD_ID], [CONTACT_METHOD_TYPE_CODE], [PERSON_ID], [ORGANIZATION_ID], [CONTACT_METHOD_VALUE], [IS_PREFERRED_METHOD], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_CONTACT_METHOD_H_ID_SEQ]) as [_CONTACT_METHOD_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPALT_I_S_I_TR] ON PIMS_PROP_PROP_ADJACENT_LAND_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROP_PROP_ADJACENT_LAND_TYPE ("PROP_PROP_ADJACENT_LAND_TYPE_ID", + "PROPERTY_ID", + "PROPERTY_ADJACENT_LAND_TYPE_CODE", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USER_DIRECTORY", + "APP_CREATE_USER_GUID", + "APP_CREATE_USERID", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID", + "CONCURRENCY_CONTROL_NUMBER") + select "PROP_PROP_ADJACENT_LAND_TYPE_ID", + "PROPERTY_ID", + "PROPERTY_ADJACENT_LAND_TYPE_CODE", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USER_DIRECTORY", + "APP_CREATE_USER_GUID", + "APP_CREATE_USERID", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPRTT_I_S_U_TR] ON PIMS_PROP_PROP_TENURE_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROP_PROP_TENURE_TYPE_ID = deleted.PROP_PROP_TENURE_TYPE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROP_PROP_TENURE_TYPE + set "PROP_PROP_TENURE_TYPE_ID" = inserted."PROP_PROP_TENURE_TYPE_ID", + "PROPERTY_ID" = inserted."PROPERTY_ID", + "PROPERTY_TENURE_TYPE_CODE" = inserted."PROPERTY_TENURE_TYPE_CODE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROP_PROP_TENURE_TYPE + inner join inserted + on (PIMS_PROP_PROP_TENURE_TYPE.PROP_PROP_TENURE_TYPE_ID = inserted.PROP_PROP_TENURE_TYPE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_COSTYP_A_S_IUD_TR] ON PIMS_COST_TYPE_CODE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_COST_TYPE_CODE_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_COST_TYPE_CODE_HIST ([ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _COST_TYPE_CODE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_COST_TYPE_CODE_H_ID_SEQ]) as [_COST_TYPE_CODE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPRAT_I_S_I_TR] ON PIMS_PROP_PROP_ANOMALY_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROP_PROP_ANOMALY_TYPE ("PROP_PROP_ANOMALY_TYPE_ID", + "PROPERTY_ID", + "PROPERTY_ANOMALY_TYPE_CODE", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USER_DIRECTORY", + "APP_CREATE_USER_GUID", + "APP_CREATE_USERID", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID", + "CONCURRENCY_CONTROL_NUMBER") + select "PROP_PROP_ANOMALY_TYPE_ID", + "PROPERTY_ID", + "PROPERTY_ANOMALY_TYPE_CODE", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USER_DIRECTORY", + "APP_CREATE_USER_GUID", + "APP_CREATE_USERID", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RRESPT_I_S_U_TR] ON PIMS_PROP_RESEARCH_PURPOSE_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROP_RESEARCH_PURPOSE_TYPE_CODE = deleted.PROP_RESEARCH_PURPOSE_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROP_RESEARCH_PURPOSE_TYPE + set "PROP_RESEARCH_PURPOSE_TYPE_CODE" = inserted."PROP_RESEARCH_PURPOSE_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROP_RESEARCH_PURPOSE_TYPE + inner join inserted + on (PIMS_PROP_RESEARCH_PURPOSE_TYPE.PROP_RESEARCH_PURPOSE_TYPE_CODE = inserted.PROP_RESEARCH_PURPOSE_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_DOCMNT_A_S_IUD_TR] ON PIMS_DOCUMENT FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_DOCUMENT_HIST set END_DATE_HIST = @curr_date where DOCUMENT_ID in (select DOCUMENT_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_DOCUMENT_HIST ([DOCUMENT_ID], [DOCUMENT_TYPE_ID], [DOCUMENT_STATUS_TYPE_CODE], [FILE_NAME], [MAYAN_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _DOCUMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [DOCUMENT_ID], [DOCUMENT_TYPE_ID], [DOCUMENT_STATUS_TYPE_CODE], [FILE_NAME], [MAYAN_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_DOCUMENT_H_ID_SEQ]) as [_DOCUMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPRRT_I_S_I_TR] ON PIMS_PROP_PROP_ROAD_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROP_PROP_ROAD_TYPE ("PROP_PROP_ROAD_TYPE_ID", + "PROPERTY_ID", + "PROPERTY_ROAD_TYPE_CODE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "PROP_PROP_ROAD_TYPE_ID", + "PROPERTY_ID", + "PROPERTY_ROAD_TYPE_CODE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPRTY_I_S_U_TR] ON PIMS_PROPERTY INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_ID = deleted.PROPERTY_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROPERTY + set "PROPERTY_ID" = inserted."PROPERTY_ID", + "PROPERTY_MANAGER_ID" = inserted."PROPERTY_MANAGER_ID", + "PROP_MGMT_ORG_ID" = inserted."PROP_MGMT_ORG_ID", + "PROPERTY_TYPE_CODE" = inserted."PROPERTY_TYPE_CODE", + "PROPERTY_CLASSIFICATION_TYPE_CODE" = inserted."PROPERTY_CLASSIFICATION_TYPE_CODE", + "ADDRESS_ID" = inserted."ADDRESS_ID", + "REGION_CODE" = inserted."REGION_CODE", + "DISTRICT_CODE" = inserted."DISTRICT_CODE", + "PROPERTY_AREA_UNIT_TYPE_CODE" = inserted."PROPERTY_AREA_UNIT_TYPE_CODE", + "PROPERTY_DATA_SOURCE_TYPE_CODE" = inserted."PROPERTY_DATA_SOURCE_TYPE_CODE", + "PROPERTY_STATUS_TYPE_CODE" = inserted."PROPERTY_STATUS_TYPE_CODE", + "SURPLUS_DECLARATION_TYPE_CODE" = inserted."SURPLUS_DECLARATION_TYPE_CODE", + "VOLUMETRIC_TYPE_CODE" = inserted."VOLUMETRIC_TYPE_CODE", + "VOLUME_UNIT_TYPE_CODE" = inserted."VOLUME_UNIT_TYPE_CODE", + "PPH_STATUS_TYPE_CODE" = inserted."PPH_STATUS_TYPE_CODE", + "PROPERTY_DATA_SOURCE_EFFECTIVE_DATE" = inserted."PROPERTY_DATA_SOURCE_EFFECTIVE_DATE", + "NAME" = inserted."NAME", + "DESCRIPTION" = inserted."DESCRIPTION", + "PID" = inserted."PID", + "PIN" = inserted."PIN", + "FILE_NUMBER" = inserted."FILE_NUMBER", + "FILE_NUMBER_SUFFIX" = inserted."FILE_NUMBER_SUFFIX", + "LAND_AREA" = inserted."LAND_AREA", + "LAND_LEGAL_DESCRIPTION" = inserted."LAND_LEGAL_DESCRIPTION", + "BOUNDARY" = inserted."BOUNDARY", + "LOCATION" = inserted."LOCATION", + "SURVEY_PLAN_NUMBER" = inserted."SURVEY_PLAN_NUMBER", + "ENCUMBRANCE_REASON" = inserted."ENCUMBRANCE_REASON", + "SURPLUS_DECLARATION_COMMENT" = inserted."SURPLUS_DECLARATION_COMMENT", + "SURPLUS_DECLARATION_DATE" = inserted."SURPLUS_DECLARATION_DATE", + "NOTES" = inserted."NOTES", + "MUNICIPAL_ZONING" = inserted."MUNICIPAL_ZONING", + "IS_VOLUMETRIC_PARCEL" = inserted."IS_VOLUMETRIC_PARCEL", + "VOLUMETRIC_MEASUREMENT" = inserted."VOLUMETRIC_MEASUREMENT", + "IS_OWNED" = inserted."IS_OWNED", + "IS_PROPERTY_OF_INTEREST" = inserted."IS_PROPERTY_OF_INTEREST", + "IS_VISIBLE_TO_OTHER_AGENCIES" = inserted."IS_VISIBLE_TO_OTHER_AGENCIES", + "IS_SENSITIVE" = inserted."IS_SENSITIVE", + "IS_PROVINCIAL_PUBLIC_HWY" = inserted."IS_PROVINCIAL_PUBLIC_HWY", + "PPH_STATUS_UPDATE_USERID" = inserted."PPH_STATUS_UPDATE_USERID", + "PPH_STATUS_UPDATE_TIMESTAMP" = inserted."PPH_STATUS_UPDATE_TIMESTAMP", + "PPH_STATUS_UPDATE_USER_GUID" = inserted."PPH_STATUS_UPDATE_USER_GUID", + "IS_RWY_BELT_DOM_PATENT" = inserted."IS_RWY_BELT_DOM_PATENT", + "ZONING" = inserted."ZONING", + "ZONING_POTENTIAL" = inserted."ZONING_POTENTIAL", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROPERTY + inner join inserted + on (PIMS_PROPERTY.PROPERTY_ID = inserted.PROPERTY_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_DOCTYP_A_S_IUD_TR] ON PIMS_DOCUMENT_TYP FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_DOCUMENT_TYP_HIST set END_DATE_HIST = @curr_date where DOCUMENT_TYPE_ID in (select DOCUMENT_TYPE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_DOCUMENT_TYP_HIST ([DOCUMENT_TYPE_ID], [MAYAN_ID], [DOCUMENT_TYPE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _DOCUMENT_TYP_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [DOCUMENT_TYPE_ID], [MAYAN_ID], [DOCUMENT_TYPE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_DOCUMENT_TYP_H_ID_SEQ]) as [_DOCUMENT_TYP_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPRTT_I_S_I_TR] ON PIMS_PROP_PROP_TENURE_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROP_PROP_TENURE_TYPE ("PROP_PROP_TENURE_TYPE_ID", + "PROPERTY_ID", + "PROPERTY_TENURE_TYPE_CODE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "PROP_PROP_TENURE_TYPE_ID", + "PROPERTY_ID", + "PROPERTY_TENURE_TYPE_CODE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRACQF_I_S_U_TR] ON PIMS_PROPERTY_ACQUISITION_FILE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_ACQUISITION_FILE_ID = deleted.PROPERTY_ACQUISITION_FILE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROPERTY_ACQUISITION_FILE + set "PROPERTY_ACQUISITION_FILE_ID" = inserted."PROPERTY_ACQUISITION_FILE_ID", + "ACQUISITION_FILE_ID" = inserted."ACQUISITION_FILE_ID", + "PROPERTY_ID" = inserted."PROPERTY_ID", + "PROPERTY_NAME" = inserted."PROPERTY_NAME", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROPERTY_ACQUISITION_FILE + inner join inserted + on (PIMS_PROPERTY_ACQUISITION_FILE.PROPERTY_ACQUISITION_FILE_ID = inserted.PROPERTY_ACQUISITION_FILE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_FINACT_A_S_IUD_TR] ON PIMS_FINANCIAL_ACTIVITY_CODE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_FINANCIAL_ACTIVITY_CODE_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_FINANCIAL_ACTIVITY_CODE_HIST ([ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _FINANCIAL_ACTIVITY_CODE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE_H_ID_SEQ]) as [_FINANCIAL_ACTIVITY_CODE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RRESPT_I_S_I_TR] ON PIMS_PROP_RESEARCH_PURPOSE_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROP_RESEARCH_PURPOSE_TYPE ("PROP_RESEARCH_PURPOSE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "PROP_RESEARCH_PURPOSE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRADJL_I_S_U_TR] ON PIMS_PROPERTY_ADJACENT_LAND_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_ADJACENT_LAND_TYPE_CODE = deleted.PROPERTY_ADJACENT_LAND_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROPERTY_ADJACENT_LAND_TYPE + set "PROPERTY_ADJACENT_LAND_TYPE_CODE" = inserted."PROPERTY_ADJACENT_LAND_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROPERTY_ADJACENT_LAND_TYPE + inner join inserted + on (PIMS_PROPERTY_ADJACENT_LAND_TYPE.PROPERTY_ADJACENT_LAND_TYPE_CODE = inserted.PROPERTY_ADJACENT_LAND_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_INSRNC_A_S_IUD_TR] ON PIMS_INSURANCE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_INSURANCE_HIST set END_DATE_HIST = @curr_date where INSURANCE_ID in (select INSURANCE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_INSURANCE_HIST ([INSURANCE_ID], [LEASE_ID], [INSURANCE_TYPE_CODE], [OTHER_INSURANCE_TYPE], [COVERAGE_DESCRIPTION], [COVERAGE_LIMIT], [IS_INSURANCE_IN_PLACE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _INSURANCE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [INSURANCE_ID], [LEASE_ID], [INSURANCE_TYPE_CODE], [OTHER_INSURANCE_TYPE], [COVERAGE_DESCRIPTION], [COVERAGE_LIMIT], [IS_INSURANCE_IN_PLACE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_INSURANCE_H_ID_SEQ]) as [_INSURANCE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPRTY_I_S_I_TR] ON PIMS_PROPERTY INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROPERTY ("PROPERTY_ID", + "PROPERTY_MANAGER_ID", + "PROP_MGMT_ORG_ID", + "PROPERTY_TYPE_CODE", + "PROPERTY_CLASSIFICATION_TYPE_CODE", + "ADDRESS_ID", + "REGION_CODE", + "DISTRICT_CODE", + "PROPERTY_AREA_UNIT_TYPE_CODE", + "PROPERTY_DATA_SOURCE_TYPE_CODE", + "PROPERTY_STATUS_TYPE_CODE", + "SURPLUS_DECLARATION_TYPE_CODE", + "VOLUMETRIC_TYPE_CODE", + "VOLUME_UNIT_TYPE_CODE", + "PPH_STATUS_TYPE_CODE", + "PROPERTY_DATA_SOURCE_EFFECTIVE_DATE", + "NAME", + "DESCRIPTION", + "PID", + "PIN", + "FILE_NUMBER", + "FILE_NUMBER_SUFFIX", + "LAND_AREA", + "LAND_LEGAL_DESCRIPTION", + "BOUNDARY", + "LOCATION", + "SURVEY_PLAN_NUMBER", + "ENCUMBRANCE_REASON", + "SURPLUS_DECLARATION_COMMENT", + "SURPLUS_DECLARATION_DATE", + "NOTES", + "MUNICIPAL_ZONING", + "IS_VOLUMETRIC_PARCEL", + "VOLUMETRIC_MEASUREMENT", + "IS_OWNED", + "IS_PROPERTY_OF_INTEREST", + "IS_VISIBLE_TO_OTHER_AGENCIES", + "IS_SENSITIVE", + "IS_PROVINCIAL_PUBLIC_HWY", + "PPH_STATUS_UPDATE_USERID", + "PPH_STATUS_UPDATE_TIMESTAMP", + "PPH_STATUS_UPDATE_USER_GUID", + "IS_RWY_BELT_DOM_PATENT", + "ZONING", + "ZONING_POTENTIAL", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "PROPERTY_ID", + "PROPERTY_MANAGER_ID", + "PROP_MGMT_ORG_ID", + "PROPERTY_TYPE_CODE", + "PROPERTY_CLASSIFICATION_TYPE_CODE", + "ADDRESS_ID", + "REGION_CODE", + "DISTRICT_CODE", + "PROPERTY_AREA_UNIT_TYPE_CODE", + "PROPERTY_DATA_SOURCE_TYPE_CODE", + "PROPERTY_STATUS_TYPE_CODE", + "SURPLUS_DECLARATION_TYPE_CODE", + "VOLUMETRIC_TYPE_CODE", + "VOLUME_UNIT_TYPE_CODE", + "PPH_STATUS_TYPE_CODE", + "PROPERTY_DATA_SOURCE_EFFECTIVE_DATE", + "NAME", + "DESCRIPTION", + "PID", + "PIN", + "FILE_NUMBER", + "FILE_NUMBER_SUFFIX", + "LAND_AREA", + "LAND_LEGAL_DESCRIPTION", + "BOUNDARY", + "LOCATION", + "SURVEY_PLAN_NUMBER", + "ENCUMBRANCE_REASON", + "SURPLUS_DECLARATION_COMMENT", + "SURPLUS_DECLARATION_DATE", + "NOTES", + "MUNICIPAL_ZONING", + "IS_VOLUMETRIC_PARCEL", + "VOLUMETRIC_MEASUREMENT", + "IS_OWNED", + "IS_PROPERTY_OF_INTEREST", + "IS_VISIBLE_TO_OTHER_AGENCIES", + "IS_SENSITIVE", + "IS_PROVINCIAL_PUBLIC_HWY", + "PPH_STATUS_UPDATE_USERID", + "PPH_STATUS_UPDATE_TIMESTAMP", + "PPH_STATUS_UPDATE_USER_GUID", + "IS_RWY_BELT_DOM_PATENT", + "ZONING", + "ZONING_POTENTIAL", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRANOM_I_S_U_TR] ON PIMS_PROPERTY_ANOMALY_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_ANOMALY_TYPE_CODE = deleted.PROPERTY_ANOMALY_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROPERTY_ANOMALY_TYPE + set "PROPERTY_ANOMALY_TYPE_CODE" = inserted."PROPERTY_ANOMALY_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROPERTY_ANOMALY_TYPE + inner join inserted + on (PIMS_PROPERTY_ANOMALY_TYPE.PROPERTY_ANOMALY_TYPE_CODE = inserted.PROPERTY_ANOMALY_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LEASE_A_S_IUD_TR] ON PIMS_LEASE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_LEASE_HIST set END_DATE_HIST = @curr_date where LEASE_ID in (select LEASE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_LEASE_HIST ([LEASE_ID], [LEASE_PAY_RVBL_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_STATUS_TYPE_CODE], [REGION_CODE], [L_FILE_NO], [TFA_FILE_NO], [TFA_FILE_NUMBER], [PS_FILE_NO], [LEASE_CATEGORY_OTHER_DESC], [LEASE_PURPOSE_OTHER_DESC], [MOTI_CONTACT], [DOCUMENTATION_REFERENCE], [OTHER_LEASE_PROGRAM_TYPE], [OTHER_LEASE_LICENSE_TYPE], [OTHER_LEASE_PURPOSE_TYPE], [ORIG_START_DATE], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [RESPONSIBILITY_EFFECTIVE_DATE], [INSPECTION_DATE], [IS_SUBJECT_TO_RTA], [IS_COMM_BLDG], [IS_OTHER_IMPROVEMENT], [IS_EXPIRED], [HAS_PHYSICAL_FILE], [HAS_DIGITAL_FILE], [HAS_PHYSICIAL_LICENSE], [HAS_DIGITAL_LICENSE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _LEASE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [LEASE_ID], [LEASE_PAY_RVBL_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_STATUS_TYPE_CODE], [REGION_CODE], [L_FILE_NO], [TFA_FILE_NO], [TFA_FILE_NUMBER], [PS_FILE_NO], [LEASE_CATEGORY_OTHER_DESC], [LEASE_PURPOSE_OTHER_DESC], [MOTI_CONTACT], [DOCUMENTATION_REFERENCE], [OTHER_LEASE_PROGRAM_TYPE], [OTHER_LEASE_LICENSE_TYPE], [OTHER_LEASE_PURPOSE_TYPE], [ORIG_START_DATE], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [RESPONSIBILITY_EFFECTIVE_DATE], [INSPECTION_DATE], [IS_SUBJECT_TO_RTA], [IS_COMM_BLDG], [IS_OTHER_IMPROVEMENT], [IS_EXPIRED], [HAS_PHYSICAL_FILE], [HAS_DIGITAL_FILE], [HAS_PHYSICIAL_LICENSE], [HAS_DIGITAL_LICENSE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_LEASE_H_ID_SEQ]) as [_LEASE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRACQF_I_S_I_TR] ON PIMS_PROPERTY_ACQUISITION_FILE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROPERTY_ACQUISITION_FILE ("PROPERTY_ACQUISITION_FILE_ID", + "ACQUISITION_FILE_ID", + "PROPERTY_ID", + "PROPERTY_NAME", + "DISPLAY_ORDER", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "PROPERTY_ACQUISITION_FILE_ID", + "ACQUISITION_FILE_ID", + "PROPERTY_ID", + "PROPERTY_NAME", + "DISPLAY_ORDER", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPCLT_I_S_U_TR] ON PIMS_PROPERTY_CLASSIFICATION_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_CLASSIFICATION_TYPE_CODE = deleted.PROPERTY_CLASSIFICATION_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROPERTY_CLASSIFICATION_TYPE + set "PROPERTY_CLASSIFICATION_TYPE_CODE" = inserted."PROPERTY_CLASSIFICATION_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROPERTY_CLASSIFICATION_TYPE + inner join inserted + on (PIMS_PROPERTY_CLASSIFICATION_TYPE.PROPERTY_CLASSIFICATION_TYPE_CODE = inserted.PROPERTY_CLASSIFICATION_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LESCON_A_S_IUD_TR] ON PIMS_LEASE_CONSULTATION FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_LEASE_CONSULTATION_HIST set END_DATE_HIST = @curr_date where LEASE_CONSULTATION_ID in (select LEASE_CONSULTATION_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_LEASE_CONSULTATION_HIST ([LEASE_CONSULTATION_ID], [LEASE_ID], [CONSULTATION_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USER_DIRECTORY], [APP_CREATE_USER_GUID], [APP_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USER_DIRECTORY], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USERID], [CONCURRENCY_CONTROL_NUMBER], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], [IS_DISABLED], _LEASE_CONSULTATION_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [LEASE_CONSULTATION_ID], [LEASE_ID], [CONSULTATION_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USER_DIRECTORY], [APP_CREATE_USER_GUID], [APP_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USER_DIRECTORY], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USERID], [CONCURRENCY_CONTROL_NUMBER], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], [IS_DISABLED], (next value for [dbo].[PIMS_LEASE_CONSULTATION_H_ID_SEQ]) as [_LEASE_CONSULTATION_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRADJL_I_S_I_TR] ON PIMS_PROPERTY_ADJACENT_LAND_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROPERTY_ADJACENT_LAND_TYPE ("PROPERTY_ADJACENT_LAND_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "PROPERTY_ADJACENT_LAND_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPEVL_I_S_U_TR] ON PIMS_PROPERTY_EVALUATION INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_EVALUATION_ID = deleted.PROPERTY_EVALUATION_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROPERTY_EVALUATION + set "PROPERTY_EVALUATION_ID" = inserted."PROPERTY_EVALUATION_ID", + "PROPERTY_ID" = inserted."PROPERTY_ID", + "EVALUATION_DATE" = inserted."EVALUATION_DATE", + "KEY" = inserted."KEY", + "VALUE" = inserted."VALUE", + "NOTE" = inserted."NOTE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROPERTY_EVALUATION + inner join inserted + on (PIMS_PROPERTY_EVALUATION.PROPERTY_EVALUATION_ID = inserted.PROPERTY_EVALUATION_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LESDOC_A_S_IUD_TR] ON PIMS_LEASE_DOCUMENT FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_LEASE_DOCUMENT_HIST set END_DATE_HIST = @curr_date where LEASE_DOCUMENT_ID in (select LEASE_DOCUMENT_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_LEASE_DOCUMENT_HIST ([LEASE_DOCUMENT_ID], [LEASE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _LEASE_DOCUMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [LEASE_DOCUMENT_ID], [LEASE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_LEASE_DOCUMENT_H_ID_SEQ]) as [_LEASE_DOCUMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRANOM_I_S_I_TR] ON PIMS_PROPERTY_ANOMALY_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROPERTY_ANOMALY_TYPE ("PROPERTY_ANOMALY_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "PROPERTY_ANOMALY_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PIMPRV_I_S_U_TR] ON PIMS_PROPERTY_IMPROVEMENT INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_IMPROVEMENT_ID = deleted.PROPERTY_IMPROVEMENT_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROPERTY_IMPROVEMENT + set "PROPERTY_IMPROVEMENT_ID" = inserted."PROPERTY_IMPROVEMENT_ID", + "LEASE_ID" = inserted."LEASE_ID", + "PROPERTY_IMPROVEMENT_TYPE_CODE" = inserted."PROPERTY_IMPROVEMENT_TYPE_CODE", + "IMPROVEMENT_DESCRIPTION" = inserted."IMPROVEMENT_DESCRIPTION", + "STRUCTURE_SIZE" = inserted."STRUCTURE_SIZE", + "ADDRESS" = inserted."ADDRESS", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROPERTY_IMPROVEMENT + inner join inserted + on (PIMS_PROPERTY_IMPROVEMENT.PROPERTY_IMPROVEMENT_ID = inserted.PROPERTY_IMPROVEMENT_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LESNOT_A_S_IUD_TR] ON PIMS_LEASE_NOTE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_LEASE_NOTE_HIST set END_DATE_HIST = @curr_date where LEASE_NOTE_ID in (select LEASE_NOTE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_LEASE_NOTE_HIST ([LEASE_NOTE_ID], [LEASE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _LEASE_NOTE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [LEASE_NOTE_ID], [LEASE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_LEASE_NOTE_H_ID_SEQ]) as [_LEASE_NOTE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPCLT_I_S_I_TR] ON PIMS_PROPERTY_CLASSIFICATION_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROPERTY_CLASSIFICATION_TYPE ("PROPERTY_CLASSIFICATION_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "PROPERTY_CLASSIFICATION_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PIMPRT_I_S_U_TR] ON PIMS_PROPERTY_IMPROVEMENT_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_IMPROVEMENT_TYPE_CODE = deleted.PROPERTY_IMPROVEMENT_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROPERTY_IMPROVEMENT_TYPE + set "PROPERTY_IMPROVEMENT_TYPE_CODE" = inserted."PROPERTY_IMPROVEMENT_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROPERTY_IMPROVEMENT_TYPE + inner join inserted + on (PIMS_PROPERTY_IMPROVEMENT_TYPE.PROPERTY_IMPROVEMENT_TYPE_CODE = inserted.PROPERTY_IMPROVEMENT_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSACIN_A_S_IUD_TR] ON PIMS_LEASE_ACTIVITY_INSTANCE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_LEASE_ACTIVITY_INSTANCE_HIST set END_DATE_HIST = @curr_date where LEASE_ACTIVITY_INSTANCE_ID in (select LEASE_ACTIVITY_INSTANCE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_LEASE_ACTIVITY_INSTANCE_HIST ([LEASE_ACTIVITY_INSTANCE_ID], [ACTIVITY_INSTANCE_ID], [LEASE_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _LEASE_ACTIVITY_INSTANCE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [LEASE_ACTIVITY_INSTANCE_ID], [ACTIVITY_INSTANCE_ID], [LEASE_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE_H_ID_SEQ]) as [_LEASE_ACTIVITY_INSTANCE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPEVL_I_S_I_TR] ON PIMS_PROPERTY_EVALUATION INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROPERTY_EVALUATION ("PROPERTY_EVALUATION_ID", + "PROPERTY_ID", + "EVALUATION_DATE", + "KEY", + "VALUE", + "NOTE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "PROPERTY_EVALUATION_ID", + "PROPERTY_ID", + "EVALUATION_DATE", + "KEY", + "VALUE", + "NOTE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PROPLS_I_S_U_TR] ON PIMS_PROPERTY_LEASE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_LEASE_ID = deleted.PROPERTY_LEASE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROPERTY_LEASE + set "PROPERTY_LEASE_ID" = inserted."PROPERTY_LEASE_ID", + "PROPERTY_ID" = inserted."PROPERTY_ID", + "LEASE_ID" = inserted."LEASE_ID", + "AREA_UNIT_TYPE_CODE" = inserted."AREA_UNIT_TYPE_CODE", + "NAME" = inserted."NAME", + "LEASE_AREA" = inserted."LEASE_AREA", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROPERTY_LEASE + inner join inserted + on (PIMS_PROPERTY_LEASE.PROPERTY_LEASE_ID = inserted.PROPERTY_LEASE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSPYMT_A_S_IUD_TR] ON PIMS_LEASE_PAYMENT FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_LEASE_PAYMENT_HIST set END_DATE_HIST = @curr_date where LEASE_PAYMENT_ID in (select LEASE_PAYMENT_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_LEASE_PAYMENT_HIST ([LEASE_PAYMENT_ID], [LEASE_TERM_ID], [LEASE_PAYMENT_METHOD_TYPE_CODE], [LEASE_PAYMENT_STATUS_TYPE_CODE], [PAYMENT_RECEIVED_DATE], [PAYMENT_AMOUNT_PRE_TAX], [PAYMENT_AMOUNT_PST], [PAYMENT_AMOUNT_GST], [PAYMENT_AMOUNT_TOTAL], [NOTE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _LEASE_PAYMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [LEASE_PAYMENT_ID], [LEASE_TERM_ID], [LEASE_PAYMENT_METHOD_TYPE_CODE], [LEASE_PAYMENT_STATUS_TYPE_CODE], [PAYMENT_RECEIVED_DATE], [PAYMENT_AMOUNT_PRE_TAX], [PAYMENT_AMOUNT_PST], [PAYMENT_AMOUNT_GST], [PAYMENT_AMOUNT_TOTAL], [NOTE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_LEASE_PAYMENT_H_ID_SEQ]) as [_LEASE_PAYMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PIMPRV_I_S_I_TR] ON PIMS_PROPERTY_IMPROVEMENT INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROPERTY_IMPROVEMENT ("PROPERTY_IMPROVEMENT_ID", + "LEASE_ID", + "PROPERTY_IMPROVEMENT_TYPE_CODE", + "IMPROVEMENT_DESCRIPTION", + "STRUCTURE_SIZE", + "ADDRESS", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "PROPERTY_IMPROVEMENT_ID", + "LEASE_ID", + "PROPERTY_IMPROVEMENT_TYPE_CODE", + "IMPROVEMENT_DESCRIPTION", + "STRUCTURE_SIZE", + "ADDRESS", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPORG_I_S_U_TR] ON PIMS_PROPERTY_ORGANIZATION INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_ORGANIZATION_ID = deleted.PROPERTY_ORGANIZATION_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROPERTY_ORGANIZATION + set "PROPERTY_ORGANIZATION_ID" = inserted."PROPERTY_ORGANIZATION_ID", + "PROPERTY_ID" = inserted."PROPERTY_ID", + "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY", + "IS_DISABLED" = inserted."IS_DISABLED" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROPERTY_ORGANIZATION + inner join inserted + on (PIMS_PROPERTY_ORGANIZATION.PROPERTY_ORGANIZATION_ID = inserted.PROPERTY_ORGANIZATION_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_LSTERM_A_S_IUD_TR] ON PIMS_LEASE_TERM FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_LEASE_TERM_HIST set END_DATE_HIST = @curr_date where LEASE_TERM_ID in (select LEASE_TERM_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_LEASE_TERM_HIST ([LEASE_TERM_ID], [LEASE_ID], [LEASE_TERM_STATUS_TYPE_CODE], [LEASE_PMT_FREQ_TYPE_CODE], [TERM_START_DATE], [TERM_EXPIRY_DATE], [TERM_RENEWAL_DATE], [PAYMENT AMOUNT], [PAYMENT_DUE_DATE], [PAYMENT_NOTE], [IS_GST_ELIGIBLE], [GST_AMOUNT], [IS_TERM_EXERCISED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _LEASE_TERM_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [LEASE_TERM_ID], [LEASE_ID], [LEASE_TERM_STATUS_TYPE_CODE], [LEASE_PMT_FREQ_TYPE_CODE], [TERM_START_DATE], [TERM_EXPIRY_DATE], [TERM_RENEWAL_DATE], [PAYMENT AMOUNT], [PAYMENT_DUE_DATE], [PAYMENT_NOTE], [IS_GST_ELIGIBLE], [GST_AMOUNT], [IS_TERM_EXERCISED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_LEASE_TERM_H_ID_SEQ]) as [_LEASE_TERM_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PIMPRT_I_S_I_TR] ON PIMS_PROPERTY_IMPROVEMENT_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROPERTY_IMPROVEMENT_TYPE ("PROPERTY_IMPROVEMENT_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "PROPERTY_IMPROVEMENT_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPRSF_I_S_U_TR] ON PIMS_PROPERTY_PROPERTY_SERVICE_FILE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_PROPERTY_SERVICE_FILE_ID = deleted.PROPERTY_PROPERTY_SERVICE_FILE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROPERTY_PROPERTY_SERVICE_FILE + set "PROPERTY_PROPERTY_SERVICE_FILE_ID" = inserted."PROPERTY_PROPERTY_SERVICE_FILE_ID", + "PROPERTY_ID" = inserted."PROPERTY_ID", + "PROPERTY_SERVICE_FILE_ID" = inserted."PROPERTY_SERVICE_FILE_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROPERTY_PROPERTY_SERVICE_FILE + inner join inserted + on (PIMS_PROPERTY_PROPERTY_SERVICE_FILE.PROPERTY_PROPERTY_SERVICE_FILE_ID = inserted.PROPERTY_PROPERTY_SERVICE_FILE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_NOTE_A_S_IUD_TR] ON PIMS_NOTE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_NOTE_HIST set END_DATE_HIST = @curr_date where NOTE_ID in (select NOTE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_NOTE_HIST ([NOTE_ID], [NOTE_TXT], [IS_SYSTEM_GENERATED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _NOTE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [NOTE_ID], [NOTE_TXT], [IS_SYSTEM_GENERATED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_NOTE_H_ID_SEQ]) as [_NOTE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PROPLS_I_S_I_TR] ON PIMS_PROPERTY_LEASE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROPERTY_LEASE ("PROPERTY_LEASE_ID", + "PROPERTY_ID", + "LEASE_ID", + "AREA_UNIT_TYPE_CODE", + "NAME", + "LEASE_AREA", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "PROPERTY_LEASE_ID", + "PROPERTY_ID", + "LEASE_ID", + "AREA_UNIT_TYPE_CODE", + "NAME", + "LEASE_AREA", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRSCRC_I_S_U_TR] ON PIMS_PROPERTY_RESEARCH_FILE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_RESEARCH_FILE_ID = deleted.PROPERTY_RESEARCH_FILE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROPERTY_RESEARCH_FILE + set "PROPERTY_RESEARCH_FILE_ID" = inserted."PROPERTY_RESEARCH_FILE_ID", + "PROPERTY_ID" = inserted."PROPERTY_ID", + "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", + "PROPERTY_NAME" = inserted."PROPERTY_NAME", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "IS_DISABLED" = inserted."IS_DISABLED", + "IS_LEGAL_OPINION_REQUIRED" = inserted."IS_LEGAL_OPINION_REQUIRED", + "IS_LEGAL_OPINION_OBTAINED" = inserted."IS_LEGAL_OPINION_OBTAINED", + "DOCUMENT_REFERENCE" = inserted."DOCUMENT_REFERENCE", + "RESEARCH_SUMMARY" = inserted."RESEARCH_SUMMARY", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROPERTY_RESEARCH_FILE + inner join inserted + on (PIMS_PROPERTY_RESEARCH_FILE.PROPERTY_RESEARCH_FILE_ID = inserted.PROPERTY_RESEARCH_FILE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ORG_A_S_IUD_TR] ON PIMS_ORGANIZATION FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ORGANIZATION_HIST set END_DATE_HIST = @curr_date where ORGANIZATION_ID in (select ORGANIZATION_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ORGANIZATION_HIST ([ORGANIZATION_ID], [PRNT_ORGANIZATION_ID], [REGION_CODE], [DISTRICT_CODE], [ORGANIZATION_TYPE_CODE], [ORG_IDENTIFIER_TYPE_CODE], [ORGANIZATION_IDENTIFIER], [ORGANIZATION_NAME], [ORGANIZATION_ALIAS], [INCORPORATION_NUMBER], [WEBSITE], [COMMENT], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ORGANIZATION_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ORGANIZATION_ID], [PRNT_ORGANIZATION_ID], [REGION_CODE], [DISTRICT_CODE], [ORGANIZATION_TYPE_CODE], [ORG_IDENTIFIER_TYPE_CODE], [ORGANIZATION_IDENTIFIER], [ORGANIZATION_NAME], [ORGANIZATION_ALIAS], [INCORPORATION_NUMBER], [WEBSITE], [COMMENT], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ORGANIZATION_H_ID_SEQ]) as [_ORGANIZATION_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPORG_I_S_I_TR] ON PIMS_PROPERTY_ORGANIZATION INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROPERTY_ORGANIZATION ("PROPERTY_ORGANIZATION_ID", + "PROPERTY_ID", + "ORGANIZATION_ID", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY", + "IS_DISABLED") + select "PROPERTY_ORGANIZATION_ID", + "PROPERTY_ID", + "ORGANIZATION_ID", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY", + "IS_DISABLED" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRROAD_I_S_U_TR] ON PIMS_PROPERTY_ROAD_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_ROAD_TYPE_CODE = deleted.PROPERTY_ROAD_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROPERTY_ROAD_TYPE + set "PROPERTY_ROAD_TYPE_CODE" = inserted."PROPERTY_ROAD_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROPERTY_ROAD_TYPE + inner join inserted + on (PIMS_PROPERTY_ROAD_TYPE.PROPERTY_ROAD_TYPE_CODE = inserted.PROPERTY_ROAD_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ORGADD_A_S_IUD_TR] ON PIMS_ORGANIZATION_ADDRESS FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ORGANIZATION_ADDRESS_HIST set END_DATE_HIST = @curr_date where ORGANIZATION_ADDRESS_ID in (select ORGANIZATION_ADDRESS_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ORGANIZATION_ADDRESS_HIST ([ORGANIZATION_ADDRESS_ID], [ORGANIZATION_ID], [ADDRESS_ID], [ADDRESS_USAGE_TYPE_CODE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ORGANIZATION_ADDRESS_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ORGANIZATION_ADDRESS_ID], [ORGANIZATION_ID], [ADDRESS_ID], [ADDRESS_USAGE_TYPE_CODE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ORGANIZATION_ADDRESS_H_ID_SEQ]) as [_ORGANIZATION_ADDRESS_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPRSF_I_S_I_TR] ON PIMS_PROPERTY_PROPERTY_SERVICE_FILE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROPERTY_PROPERTY_SERVICE_FILE ("PROPERTY_PROPERTY_SERVICE_FILE_ID", + "PROPERTY_ID", + "PROPERTY_SERVICE_FILE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "PROPERTY_PROPERTY_SERVICE_FILE_ID", + "PROPERTY_ID", + "PROPERTY_SERVICE_FILE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPSVC_I_S_U_TR] ON PIMS_PROPERTY_SERVICE_FILE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_SERVICE_FILE_ID = deleted.PROPERTY_SERVICE_FILE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROPERTY_SERVICE_FILE + set "PROPERTY_SERVICE_FILE_ID" = inserted."PROPERTY_SERVICE_FILE_ID", + "PROPERTY_SERVICE_FILE_TYPE_CODE" = inserted."PROPERTY_SERVICE_FILE_TYPE_CODE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROPERTY_SERVICE_FILE + inner join inserted + on (PIMS_PROPERTY_SERVICE_FILE.PROPERTY_SERVICE_FILE_ID = inserted.PROPERTY_SERVICE_FILE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PERADD_A_S_IUD_TR] ON PIMS_PERSON_ADDRESS FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_PERSON_ADDRESS_HIST set END_DATE_HIST = @curr_date where PERSON_ADDRESS_ID in (select PERSON_ADDRESS_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_PERSON_ADDRESS_HIST ([PERSON_ADDRESS_ID], [PERSON_ID], [ADDRESS_ID], [ADDRESS_USAGE_TYPE_CODE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PERSON_ADDRESS_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PERSON_ADDRESS_ID], [PERSON_ID], [ADDRESS_ID], [ADDRESS_USAGE_TYPE_CODE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PERSON_ADDRESS_H_ID_SEQ]) as [_PERSON_ADDRESS_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRSCRC_I_S_I_TR] ON PIMS_PROPERTY_RESEARCH_FILE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROPERTY_RESEARCH_FILE ("PROPERTY_RESEARCH_FILE_ID", + "PROPERTY_ID", + "RESEARCH_FILE_ID", + "PROPERTY_NAME", + "DISPLAY_ORDER", + "IS_DISABLED", + "IS_LEGAL_OPINION_REQUIRED", + "IS_LEGAL_OPINION_OBTAINED", + "DOCUMENT_REFERENCE", + "RESEARCH_SUMMARY", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "PROPERTY_RESEARCH_FILE_ID", + "PROPERTY_ID", + "RESEARCH_FILE_ID", + "PROPERTY_NAME", + "DISPLAY_ORDER", + "IS_DISABLED", + "IS_LEGAL_OPINION_REQUIRED", + "IS_LEGAL_OPINION_OBTAINED", + "DOCUMENT_REFERENCE", + "RESEARCH_SUMMARY", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRSVFT_I_S_U_TR] ON PIMS_PROPERTY_SERVICE_FILE_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_SERVICE_FILE_TYPE_CODE = deleted.PROPERTY_SERVICE_FILE_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROPERTY_SERVICE_FILE_TYPE + set "PROPERTY_SERVICE_FILE_TYPE_CODE" = inserted."PROPERTY_SERVICE_FILE_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROPERTY_SERVICE_FILE_TYPE + inner join inserted + on (PIMS_PROPERTY_SERVICE_FILE_TYPE.PROPERTY_SERVICE_FILE_TYPE_CODE = inserted.PROPERTY_SERVICE_FILE_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PERORG_A_S_IUD_TR] ON PIMS_PERSON_ORGANIZATION FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_PERSON_ORGANIZATION_HIST set END_DATE_HIST = @curr_date where PERSON_ORGANIZATION_ID in (select PERSON_ORGANIZATION_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_PERSON_ORGANIZATION_HIST ([PERSON_ORGANIZATION_ID], [PERSON_ID], [ORGANIZATION_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PERSON_ORGANIZATION_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PERSON_ORGANIZATION_ID], [PERSON_ID], [ORGANIZATION_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PERSON_ORGANIZATION_H_ID_SEQ]) as [_PERSON_ORGANIZATION_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRROAD_I_S_I_TR] ON PIMS_PROPERTY_ROAD_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROPERTY_ROAD_TYPE ("PROPERTY_ROAD_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "PROPERTY_ROAD_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPSTS_I_S_U_TR] ON PIMS_PROPERTY_STATUS_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_STATUS_TYPE_CODE = deleted.PROPERTY_STATUS_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROPERTY_STATUS_TYPE + set "PROPERTY_STATUS_TYPE_CODE" = inserted."PROPERTY_STATUS_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROPERTY_STATUS_TYPE + inner join inserted + on (PIMS_PROPERTY_STATUS_TYPE.PROPERTY_STATUS_TYPE_CODE = inserted.PROPERTY_STATUS_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PERSON_A_S_IUD_TR] ON PIMS_PERSON FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_PERSON_HIST set END_DATE_HIST = @curr_date where PERSON_ID in (select PERSON_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_PERSON_HIST ([PERSON_ID], [SURNAME], [FIRST_NAME], [MIDDLE_NAMES], [NAME_SUFFIX], [PREFERRED_NAME], [BIRTH_DATE], [COMMENT], [ADDRESS_COMMENT], [USE_ORGANIZATION_ADDRESS], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PERSON_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PERSON_ID], [SURNAME], [FIRST_NAME], [MIDDLE_NAMES], [NAME_SUFFIX], [PREFERRED_NAME], [BIRTH_DATE], [COMMENT], [ADDRESS_COMMENT], [USE_ORGANIZATION_ADDRESS], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PERSON_H_ID_SEQ]) as [_PERSON_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPSVC_I_S_I_TR] ON PIMS_PROPERTY_SERVICE_FILE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROPERTY_SERVICE_FILE ("PROPERTY_SERVICE_FILE_ID", + "PROPERTY_SERVICE_FILE_TYPE_CODE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "PROPERTY_SERVICE_FILE_ID", + "PROPERTY_SERVICE_FILE_TYPE_CODE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPTAX_I_S_U_TR] ON PIMS_PROPERTY_TAX INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_TAX_ID = deleted.PROPERTY_TAX_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROPERTY_TAX + set "PROPERTY_TAX_ID" = inserted."PROPERTY_TAX_ID", + "PROPERTY_ID" = inserted."PROPERTY_ID", + "PROPERTY_TAX_REMIT_TYPE_CODE" = inserted."PROPERTY_TAX_REMIT_TYPE_CODE", + "TAX_FOLIO_NO" = inserted."TAX_FOLIO_NO", + "PAYMENT_AMOUNT" = inserted."PAYMENT_AMOUNT", + "LAST_PAYMENT_DATE" = inserted."LAST_PAYMENT_DATE", + "PAYMENT_NOTES" = inserted."PAYMENT_NOTES", + "BCTFA_NOTIFICATION_DATE" = inserted."BCTFA_NOTIFICATION_DATE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROPERTY_TAX + inner join inserted + on (PIMS_PROPERTY_TAX.PROPERTY_TAX_ID = inserted.PROPERTY_TAX_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PIMPRV_A_S_IUD_TR] ON PIMS_PROPERTY_IMPROVEMENT FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_PROPERTY_IMPROVEMENT_HIST set END_DATE_HIST = @curr_date where PROPERTY_IMPROVEMENT_ID in (select PROPERTY_IMPROVEMENT_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_PROPERTY_IMPROVEMENT_HIST ([PROPERTY_IMPROVEMENT_ID], [LEASE_ID], [PROPERTY_IMPROVEMENT_TYPE_CODE], [IMPROVEMENT_DESCRIPTION], [STRUCTURE_SIZE], [ADDRESS], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_IMPROVEMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PROPERTY_IMPROVEMENT_ID], [LEASE_ID], [PROPERTY_IMPROVEMENT_TYPE_CODE], [IMPROVEMENT_DESCRIPTION], [STRUCTURE_SIZE], [ADDRESS], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_IMPROVEMENT_H_ID_SEQ]) as [_PROPERTY_IMPROVEMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRSVFT_I_S_I_TR] ON PIMS_PROPERTY_SERVICE_FILE_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROPERTY_SERVICE_FILE_TYPE ("PROPERTY_SERVICE_FILE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "PROPERTY_SERVICE_FILE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PTRMTT_I_S_U_TR] ON PIMS_PROPERTY_TAX_REMIT_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_TAX_REMIT_TYPE_CODE = deleted.PROPERTY_TAX_REMIT_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROPERTY_TAX_REMIT_TYPE + set "PROPERTY_TAX_REMIT_TYPE_CODE" = inserted."PROPERTY_TAX_REMIT_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROPERTY_TAX_REMIT_TYPE + inner join inserted + on (PIMS_PROPERTY_TAX_REMIT_TYPE.PROPERTY_TAX_REMIT_TYPE_CODE = inserted.PROPERTY_TAX_REMIT_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRACQF_A_S_IUD_TR] ON PIMS_PROPERTY_ACQUISITION_FILE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_PROPERTY_ACQUISITION_FILE_HIST set END_DATE_HIST = @curr_date where PROPERTY_ACQUISITION_FILE_ID in (select PROPERTY_ACQUISITION_FILE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_PROPERTY_ACQUISITION_FILE_HIST ([PROPERTY_ACQUISITION_FILE_ID], [ACQUISITION_FILE_ID], [PROPERTY_ID], [PROPERTY_NAME], [DISPLAY_ORDER], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_ACQUISITION_FILE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PROPERTY_ACQUISITION_FILE_ID], [ACQUISITION_FILE_ID], [PROPERTY_ID], [PROPERTY_NAME], [DISPLAY_ORDER], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_ACQUISITION_FILE_H_ID_SEQ]) as [_PROPERTY_ACQUISITION_FILE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPSTS_I_S_I_TR] ON PIMS_PROPERTY_STATUS_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROPERTY_STATUS_TYPE ("PROPERTY_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "PROPERTY_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPTNR_I_S_U_TR] ON PIMS_PROPERTY_TENURE_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_TENURE_TYPE_CODE = deleted.PROPERTY_TENURE_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROPERTY_TENURE_TYPE + set "PROPERTY_TENURE_TYPE_CODE" = inserted."PROPERTY_TENURE_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROPERTY_TENURE_TYPE + inner join inserted + on (PIMS_PROPERTY_TENURE_TYPE.PROPERTY_TENURE_TYPE_CODE = inserted.PROPERTY_TENURE_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRODCT_A_S_IUD_TR] ON PIMS_PRODUCT FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_PRODUCT_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_PRODUCT_HIST ([ID], [PARENT_PROJECT_ID], [CODE], [DESCRIPTION], [START_DATE], [COST_ESTIMATE], [COST_ESTIMATE_DATE], [OBJECTIVE], [SCOPE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PRODUCT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ID], [PARENT_PROJECT_ID], [CODE], [DESCRIPTION], [START_DATE], [COST_ESTIMATE], [COST_ESTIMATE_DATE], [OBJECTIVE], [SCOPE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PRODUCT_H_ID_SEQ]) as [_PRODUCT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPTAX_I_S_I_TR] ON PIMS_PROPERTY_TAX INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROPERTY_TAX ("PROPERTY_TAX_ID", + "PROPERTY_ID", + "PROPERTY_TAX_REMIT_TYPE_CODE", + "TAX_FOLIO_NO", + "PAYMENT_AMOUNT", + "LAST_PAYMENT_DATE", + "PAYMENT_NOTES", + "BCTFA_NOTIFICATION_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "PROPERTY_TAX_ID", + "PROPERTY_ID", + "PROPERTY_TAX_REMIT_TYPE_CODE", + "TAX_FOLIO_NO", + "PAYMENT_AMOUNT", + "LAST_PAYMENT_DATE", + "PAYMENT_NOTES", + "BCTFA_NOTIFICATION_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPTYP_I_S_U_TR] ON PIMS_PROPERTY_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROPERTY_TYPE_CODE = deleted.PROPERTY_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROPERTY_TYPE + set "PROPERTY_TYPE_CODE" = inserted."PROPERTY_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROPERTY_TYPE + inner join inserted + on (PIMS_PROPERTY_TYPE.PROPERTY_TYPE_CODE = inserted.PROPERTY_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PROJCT_A_S_IUD_TR] ON PIMS_PROJECT FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_PROJECT_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_PROJECT_HIST ([ID], [PROJECT_STATUS_TYPE_CODE], [BUSINESS_FUNCTION_CODE_ID], [COST_TYPE_CODE_ID], [WORK_ACTIVITY_CODE_ID], [REGION_CODE], [CODE], [DESCRIPTION], [NOTE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROJECT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ID], [PROJECT_STATUS_TYPE_CODE], [BUSINESS_FUNCTION_CODE_ID], [COST_TYPE_CODE_ID], [WORK_ACTIVITY_CODE_ID], [REGION_CODE], [CODE], [DESCRIPTION], [NOTE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROJECT_H_ID_SEQ]) as [_PROJECT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PTRMTT_I_S_I_TR] ON PIMS_PROPERTY_TAX_REMIT_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROPERTY_TAX_REMIT_TYPE ("PROPERTY_TAX_REMIT_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "PROPERTY_TAX_REMIT_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PROVNC_I_S_U_TR] ON PIMS_PROVINCE_STATE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.PROVINCE_STATE_ID = deleted.PROVINCE_STATE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_PROVINCE_STATE + set "PROVINCE_STATE_ID" = inserted."PROVINCE_STATE_ID", + "COUNTRY_ID" = inserted."COUNTRY_ID", + "PROVINCE_STATE_CODE" = inserted."PROVINCE_STATE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_PROVINCE_STATE + inner join inserted + on (PIMS_PROVINCE_STATE.PROVINCE_STATE_ID = inserted.PROVINCE_STATE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PROPLS_A_S_IUD_TR] ON PIMS_PROPERTY_LEASE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_PROPERTY_LEASE_HIST set END_DATE_HIST = @curr_date where PROPERTY_LEASE_ID in (select PROPERTY_LEASE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_PROPERTY_LEASE_HIST ([PROPERTY_LEASE_ID], [PROPERTY_ID], [LEASE_ID], [AREA_UNIT_TYPE_CODE], [NAME], [LEASE_AREA], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_LEASE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PROPERTY_LEASE_ID], [PROPERTY_ID], [LEASE_ID], [AREA_UNIT_TYPE_CODE], [NAME], [LEASE_AREA], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_LEASE_H_ID_SEQ]) as [_PROPERTY_LEASE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPTNR_I_S_I_TR] ON PIMS_PROPERTY_TENURE_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROPERTY_TENURE_TYPE ("PROPERTY_TENURE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "PROPERTY_TENURE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_REGION_I_S_U_TR] ON PIMS_REGION INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.REGION_CODE = deleted.REGION_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_REGION + set "REGION_CODE" = inserted."REGION_CODE", + "REGION_NAME" = inserted."REGION_NAME", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_REGION + inner join inserted + on (PIMS_REGION.REGION_CODE = inserted.REGION_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPEVL_A_S_IUD_TR] ON PIMS_PROPERTY_EVALUATION FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_PROPERTY_EVALUATION_HIST set END_DATE_HIST = @curr_date where PROPERTY_EVALUATION_ID in (select PROPERTY_EVALUATION_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_PROPERTY_EVALUATION_HIST ([PROPERTY_EVALUATION_ID], [PROPERTY_ID], [EVALUATION_DATE], [KEY], [VALUE], [NOTE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_EVALUATION_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PROPERTY_EVALUATION_ID], [PROPERTY_ID], [EVALUATION_DATE], [KEY], [VALUE], [NOTE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_EVALUATION_H_ID_SEQ]) as [_PROPERTY_EVALUATION_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPTYP_I_S_I_TR] ON PIMS_PROPERTY_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROPERTY_TYPE ("PROPERTY_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "PROPERTY_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RGNUSR_I_S_U_TR] ON PIMS_REGION_USER INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.REGION_USER_ID = deleted.REGION_USER_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_REGION_USER + set "REGION_USER_ID" = inserted."REGION_USER_ID", + "REGION_CODE" = inserted."REGION_CODE", + "USER_ID" = inserted."USER_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_REGION_USER + inner join inserted + on (PIMS_REGION_USER.REGION_USER_ID = inserted.REGION_USER_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPORG_A_S_IUD_TR] ON PIMS_PROPERTY_ORGANIZATION FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_PROPERTY_ORGANIZATION_HIST set END_DATE_HIST = @curr_date where PROPERTY_ORGANIZATION_ID in (select PROPERTY_ORGANIZATION_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_PROPERTY_ORGANIZATION_HIST ([PROPERTY_ORGANIZATION_ID], [PROPERTY_ID], [ORGANIZATION_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], [IS_DISABLED], _PROPERTY_ORGANIZATION_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PROPERTY_ORGANIZATION_ID], [PROPERTY_ID], [ORGANIZATION_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], [IS_DISABLED], (next value for [dbo].[PIMS_PROPERTY_ORGANIZATION_H_ID_SEQ]) as [_PROPERTY_ORGANIZATION_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PROVNC_I_S_I_TR] ON PIMS_PROVINCE_STATE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_PROVINCE_STATE ("PROVINCE_STATE_ID", + "COUNTRY_ID", + "PROVINCE_STATE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "PROVINCE_STATE_ID", + "COUNTRY_ID", + "PROVINCE_STATE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RQSRCT_I_S_U_TR] ON PIMS_REQUEST_SOURCE_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.REQUEST_SOURCE_TYPE_CODE = deleted.REQUEST_SOURCE_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_REQUEST_SOURCE_TYPE + set "REQUEST_SOURCE_TYPE_CODE" = inserted."REQUEST_SOURCE_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_REQUEST_SOURCE_TYPE + inner join inserted + on (PIMS_REQUEST_SOURCE_TYPE.REQUEST_SOURCE_TYPE_CODE = inserted.REQUEST_SOURCE_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPRSF_A_S_IUD_TR] ON PIMS_PROPERTY_PROPERTY_SERVICE_FILE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_PROPERTY_PROPERTY_SERVICE_FILE_HIST set END_DATE_HIST = @curr_date where PROPERTY_PROPERTY_SERVICE_FILE_ID in (select PROPERTY_PROPERTY_SERVICE_FILE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_PROPERTY_PROPERTY_SERVICE_FILE_HIST ([PROPERTY_PROPERTY_SERVICE_FILE_ID], [PROPERTY_ID], [PROPERTY_SERVICE_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_PROPERTY_SERVICE_FILE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PROPERTY_PROPERTY_SERVICE_FILE_ID], [PROPERTY_ID], [PROPERTY_SERVICE_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE_H_ID_SEQ]) as [_PROPERTY_PROPERTY_SERVICE_FILE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_REGION_I_S_I_TR] ON PIMS_REGION INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_REGION ("REGION_CODE", + "REGION_NAME", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "REGION_CODE", + "REGION_NAME", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RSCHAI_I_S_U_TR] ON PIMS_RESEARCH_ACTIVITY_INSTANCE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_ACTIVITY_INSTANCE_ID = deleted.RESEARCH_ACTIVITY_INSTANCE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_RESEARCH_ACTIVITY_INSTANCE + set "RESEARCH_ACTIVITY_INSTANCE_ID" = inserted."RESEARCH_ACTIVITY_INSTANCE_ID", + "ACTIVITY_INSTANCE_ID" = inserted."ACTIVITY_INSTANCE_ID", + "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_RESEARCH_ACTIVITY_INSTANCE + inner join inserted + on (PIMS_RESEARCH_ACTIVITY_INSTANCE.RESEARCH_ACTIVITY_INSTANCE_ID = inserted.RESEARCH_ACTIVITY_INSTANCE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPRTY_A_S_IUD_TR] ON PIMS_PROPERTY FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_PROPERTY_HIST set END_DATE_HIST = @curr_date where PROPERTY_ID in (select PROPERTY_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_PROPERTY_HIST ([PROPERTY_ID], [PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [VOLUMETRIC_TYPE_CODE], [VOLUME_UNIT_TYPE_CODE], [PPH_STATUS_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [FILE_NUMBER], [FILE_NUMBER_SUFFIX], [LAND_AREA], [SURVEY_PLAN_NUMBER], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [MUNICIPAL_ZONING], [IS_VOLUMETRIC_PARCEL], [VOLUMETRIC_MEASUREMENT], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [IS_PROVINCIAL_PUBLIC_HWY], [PPH_STATUS_UPDATE_USERID], [PPH_STATUS_UPDATE_TIMESTAMP], [PPH_STATUS_UPDATE_USER_GUID], [IS_RWY_BELT_DOM_PATENT], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PROPERTY_ID], [PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [VOLUMETRIC_TYPE_CODE], [VOLUME_UNIT_TYPE_CODE], [PPH_STATUS_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [FILE_NUMBER], [FILE_NUMBER_SUFFIX], [LAND_AREA], [SURVEY_PLAN_NUMBER], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [MUNICIPAL_ZONING], [IS_VOLUMETRIC_PARCEL], [VOLUMETRIC_MEASUREMENT], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [IS_PROVINCIAL_PUBLIC_HWY], [PPH_STATUS_UPDATE_USERID], [PPH_STATUS_UPDATE_TIMESTAMP], [PPH_STATUS_UPDATE_USER_GUID], [IS_RWY_BELT_DOM_PATENT], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_H_ID_SEQ]) as [_PROPERTY_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RGNUSR_I_S_I_TR] ON PIMS_REGION_USER INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_REGION_USER ("REGION_USER_ID", + "REGION_CODE", + "USER_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "REGION_USER_ID", + "REGION_CODE", + "USER_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RESRCH_I_S_U_TR] ON PIMS_RESEARCH_FILE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_ID = deleted.RESEARCH_FILE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_RESEARCH_FILE + set "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", + "RESEARCH_FILE_STATUS_TYPE_CODE" = inserted."RESEARCH_FILE_STATUS_TYPE_CODE", + "REQUEST_SOURCE_TYPE_CODE" = inserted."REQUEST_SOURCE_TYPE_CODE", + "REQUESTOR_NAME" = inserted."REQUESTOR_NAME", + "REQUESTOR_ORGANIZATION" = inserted."REQUESTOR_ORGANIZATION", + "NAME" = inserted."NAME", + "RFILE_NUMBER" = inserted."RFILE_NUMBER", + "REQUEST_DATE" = inserted."REQUEST_DATE", + "ROAD_NAME" = inserted."ROAD_NAME", + "ROAD_ALIAS" = inserted."ROAD_ALIAS", + "REQUEST_DESCRIPTION" = inserted."REQUEST_DESCRIPTION", + "REQUEST_SOURCE_DESCRIPTION" = inserted."REQUEST_SOURCE_DESCRIPTION", + "RESEARCH_RESULT" = inserted."RESEARCH_RESULT", + "IS_EXPROPRIATION" = inserted."IS_EXPROPRIATION", + "EXPROPRIATION_NOTES" = inserted."EXPROPRIATION_NOTES", + "RESEARCH_COMPLETION_DATE" = inserted."RESEARCH_COMPLETION_DATE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_RESEARCH_FILE + inner join inserted + on (PIMS_RESEARCH_FILE.RESEARCH_FILE_ID = inserted.RESEARCH_FILE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPSVC_A_S_IUD_TR] ON PIMS_PROPERTY_SERVICE_FILE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_PROPERTY_SERVICE_FILE_HIST set END_DATE_HIST = @curr_date where PROPERTY_SERVICE_FILE_ID in (select PROPERTY_SERVICE_FILE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_PROPERTY_SERVICE_FILE_HIST ([PROPERTY_SERVICE_FILE_ID], [PROPERTY_SERVICE_FILE_TYPE_CODE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_SERVICE_FILE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PROPERTY_SERVICE_FILE_ID], [PROPERTY_SERVICE_FILE_TYPE_CODE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_SERVICE_FILE_H_ID_SEQ]) as [_PROPERTY_SERVICE_FILE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RQSRCT_I_S_I_TR] ON PIMS_REQUEST_SOURCE_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_REQUEST_SOURCE_TYPE ("REQUEST_SOURCE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "REQUEST_SOURCE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RFLDOC_I_S_U_TR] ON PIMS_RESEARCH_FILE_DOCUMENT INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_DOCUMENT_ID = deleted.RESEARCH_FILE_DOCUMENT_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_RESEARCH_FILE_DOCUMENT + set "RESEARCH_FILE_DOCUMENT_ID" = inserted."RESEARCH_FILE_DOCUMENT_ID", + "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", + "DOCUMENT_ID" = inserted."DOCUMENT_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_RESEARCH_FILE_DOCUMENT + inner join inserted + on (PIMS_RESEARCH_FILE_DOCUMENT.RESEARCH_FILE_DOCUMENT_ID = inserted.RESEARCH_FILE_DOCUMENT_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRPTAX_A_S_IUD_TR] ON PIMS_PROPERTY_TAX FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_PROPERTY_TAX_HIST set END_DATE_HIST = @curr_date where PROPERTY_TAX_ID in (select PROPERTY_TAX_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_PROPERTY_TAX_HIST ([PROPERTY_TAX_ID], [PROPERTY_ID], [PROPERTY_TAX_REMIT_TYPE_CODE], [TAX_FOLIO_NO], [PAYMENT_AMOUNT], [LAST_PAYMENT_DATE], [PAYMENT_NOTES], [BCTFA_NOTIFICATION_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_TAX_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PROPERTY_TAX_ID], [PROPERTY_ID], [PROPERTY_TAX_REMIT_TYPE_CODE], [TAX_FOLIO_NO], [PAYMENT_AMOUNT], [LAST_PAYMENT_DATE], [PAYMENT_NOTES], [BCTFA_NOTIFICATION_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_TAX_H_ID_SEQ]) as [_PROPERTY_TAX_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RSCHAI_I_S_I_TR] ON PIMS_RESEARCH_ACTIVITY_INSTANCE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_RESEARCH_ACTIVITY_INSTANCE ("RESEARCH_ACTIVITY_INSTANCE_ID", + "ACTIVITY_INSTANCE_ID", + "RESEARCH_FILE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "RESEARCH_ACTIVITY_INSTANCE_ID", + "ACTIVITY_INSTANCE_ID", + "RESEARCH_FILE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RFLNOT_I_S_U_TR] ON PIMS_RESEARCH_FILE_NOTE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_ID = deleted.RESEARCH_FILE_ID and inserted.RESEARCH_FILE_NOTE_ID = deleted.RESEARCH_FILE_NOTE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_RESEARCH_FILE_NOTE + set "RESEARCH_FILE_NOTE_ID" = inserted."RESEARCH_FILE_NOTE_ID", + "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", + "NOTE_ID" = inserted."NOTE_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_RESEARCH_FILE_NOTE + inner join inserted + on (PIMS_RESEARCH_FILE_NOTE.RESEARCH_FILE_ID = inserted.RESEARCH_FILE_ID and PIMS_RESEARCH_FILE_NOTE.RESEARCH_FILE_NOTE_ID = inserted.RESEARCH_FILE_NOTE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRSCRC_A_S_IUD_TR] ON PIMS_PROPERTY_RESEARCH_FILE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_PROPERTY_RESEARCH_FILE_HIST set END_DATE_HIST = @curr_date where PROPERTY_RESEARCH_FILE_ID in (select PROPERTY_RESEARCH_FILE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_PROPERTY_RESEARCH_FILE_HIST ([PROPERTY_RESEARCH_FILE_ID], [PROPERTY_ID], [RESEARCH_FILE_ID], [PROPERTY_NAME], [DISPLAY_ORDER], [IS_DISABLED], [IS_LEGAL_OPINION_REQUIRED], [IS_LEGAL_OPINION_OBTAINED], [DOCUMENT_REFERENCE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _PROPERTY_RESEARCH_FILE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [PROPERTY_RESEARCH_FILE_ID], [PROPERTY_ID], [RESEARCH_FILE_ID], [PROPERTY_NAME], [DISPLAY_ORDER], [IS_DISABLED], [IS_LEGAL_OPINION_REQUIRED], [IS_LEGAL_OPINION_OBTAINED], [DOCUMENT_REFERENCE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_PROPERTY_RESEARCH_FILE_H_ID_SEQ]) as [_PROPERTY_RESEARCH_FILE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RESRCH_I_S_I_TR] ON PIMS_RESEARCH_FILE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_RESEARCH_FILE ("RESEARCH_FILE_ID", + "RESEARCH_FILE_STATUS_TYPE_CODE", + "REQUEST_SOURCE_TYPE_CODE", + "REQUESTOR_NAME", + "REQUESTOR_ORGANIZATION", + "NAME", + "RFILE_NUMBER", + "REQUEST_DATE", + "ROAD_NAME", + "ROAD_ALIAS", + "REQUEST_DESCRIPTION", + "REQUEST_SOURCE_DESCRIPTION", + "RESEARCH_RESULT", + "IS_EXPROPRIATION", + "EXPROPRIATION_NOTES", + "RESEARCH_COMPLETION_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "RESEARCH_FILE_ID", + "RESEARCH_FILE_STATUS_TYPE_CODE", + "REQUEST_SOURCE_TYPE_CODE", + "REQUESTOR_NAME", + "REQUESTOR_ORGANIZATION", + "NAME", + "RFILE_NUMBER", + "REQUEST_DATE", + "ROAD_NAME", + "ROAD_ALIAS", + "REQUEST_DESCRIPTION", + "REQUEST_SOURCE_DESCRIPTION", + "RESEARCH_RESULT", + "IS_EXPROPRIATION", + "EXPROPRIATION_NOTES", + "RESEARCH_COMPLETION_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +--CREATE TRIGGER PIMS_RFLNOT_I_S_U_TR ON PIMS_RESEARCH_FILE_NOTE INSTEAD OF UPDATE AS +--SET NOCOUNT ON +--BEGIN TRY +-- IF NOT EXISTS(SELECT * FROM deleted) +-- RETURN; +-- +-- -- validate concurrency control +-- if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_ID = deleted.RESEARCH_FILE_ID and inserted.RESEARCH_FILE_NOTE_ID = deleted.RESEARCH_FILE_NOTE_ID) +-- raiserror('CONCURRENCY FAILURE.',16,1) +-- +-- +-- -- update statement +-- update PIMS_RESEARCH_FILE_NOTE +-- set "RESEARCH_FILE_NOTE_ID" = inserted."RESEARCH_FILE_NOTE_ID", +-- "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", +-- "NOTE_ID" = inserted."NOTE_ID", +-- "IS_DISABLED" = inserted."IS_DISABLED", +-- "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", +-- "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", +-- "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", +-- "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", +-- "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" +-- , DB_LAST_UPDATE_TIMESTAMP = getutcdate() +-- , DB_LAST_UPDATE_USERID = user_name() +-- from PIMS_RESEARCH_FILE_NOTE +-- inner join inserted +-- on (PIMS_RESEARCH_FILE_NOTE.RESEARCH_FILE_ID = inserted.RESEARCH_FILE_ID and PIMS_RESEARCH_FILE_NOTE.RESEARCH_FILE_NOTE_ID = inserted.RESEARCH_FILE_NOTE_ID); +-- +--END TRY +--BEGIN CATCH +-- IF @@trancount > 0 ROLLBACK TRANSACTION +-- EXEC pims_error_handling +--END CATCH; +--go +CREATE TRIGGER [dbo].[PIMS_RFLPRJ_I_S_U_TR] ON PIMS_RESEARCH_FILE_PROJECT INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_PROJECT_ID = deleted.RESEARCH_FILE_PROJECT_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_RESEARCH_FILE_PROJECT + set "RESEARCH_FILE_PROJECT_ID" = inserted."RESEARCH_FILE_PROJECT_ID", + "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", + "PROJECT_ID" = inserted."PROJECT_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_RESEARCH_FILE_PROJECT + inner join inserted + on (PIMS_RESEARCH_FILE_PROJECT.RESEARCH_FILE_PROJECT_ID = inserted.RESEARCH_FILE_PROJECT_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RESPCD_A_S_IUD_TR] ON PIMS_RESPONSIBILITY_CODE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_RESPONSIBILITY_CODE_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_RESPONSIBILITY_CODE_HIST ([ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESPONSIBILITY_CODE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESPONSIBILITY_CODE_H_ID_SEQ]) as [_RESPONSIBILITY_CODE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RFLDOC_I_S_I_TR] ON PIMS_RESEARCH_FILE_DOCUMENT INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_RESEARCH_FILE_DOCUMENT ("RESEARCH_FILE_DOCUMENT_ID", + "RESEARCH_FILE_ID", + "DOCUMENT_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "RESEARCH_FILE_DOCUMENT_ID", + "RESEARCH_FILE_ID", + "DOCUMENT_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RSFLPR_I_S_U_TR] ON PIMS_RESEARCH_FILE_PURPOSE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_PURPOSE_ID = deleted.RESEARCH_FILE_PURPOSE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_RESEARCH_FILE_PURPOSE + set "RESEARCH_FILE_PURPOSE_ID" = inserted."RESEARCH_FILE_PURPOSE_ID", + "RESEARCH_FILE_ID" = inserted."RESEARCH_FILE_ID", + "RESEARCH_PURPOSE_TYPE_CODE" = inserted."RESEARCH_PURPOSE_TYPE_CODE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_RESEARCH_FILE_PURPOSE + inner join inserted + on (PIMS_RESEARCH_FILE_PURPOSE.RESEARCH_FILE_PURPOSE_ID = inserted.RESEARCH_FILE_PURPOSE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RESRCH_A_S_IUD_TR] ON PIMS_RESEARCH_FILE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_RESEARCH_FILE_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_ID in (select RESEARCH_FILE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_RESEARCH_FILE_HIST ([RESEARCH_FILE_ID], [RESEARCH_FILE_STATUS_TYPE_CODE], [REQUEST_SOURCE_TYPE_CODE], [REQUESTOR_NAME], [REQUESTOR_ORGANIZATION], [NAME], [RFILE_NUMBER], [REQUEST_DATE], [REQUEST_SOURCE_DESCRIPTION], [IS_EXPROPRIATION], [RESEARCH_COMPLETION_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_FILE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [RESEARCH_FILE_ID], [RESEARCH_FILE_STATUS_TYPE_CODE], [REQUEST_SOURCE_TYPE_CODE], [REQUESTOR_NAME], [REQUESTOR_ORGANIZATION], [NAME], [RFILE_NUMBER], [REQUEST_DATE], [REQUEST_SOURCE_DESCRIPTION], [IS_EXPROPRIATION], [RESEARCH_COMPLETION_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_FILE_H_ID_SEQ]) as [_RESEARCH_FILE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RFLNOT_I_S_I_TR] ON PIMS_RESEARCH_FILE_NOTE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_RESEARCH_FILE_NOTE ("RESEARCH_FILE_NOTE_ID", + "RESEARCH_FILE_ID", + "NOTE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "RESEARCH_FILE_NOTE_ID", + "RESEARCH_FILE_ID", + "NOTE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RSRCHS_I_S_U_TR] ON PIMS_RESEARCH_FILE_STATUS_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_FILE_STATUS_TYPE_CODE = deleted.RESEARCH_FILE_STATUS_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_RESEARCH_FILE_STATUS_TYPE + set "RESEARCH_FILE_STATUS_TYPE_CODE" = inserted."RESEARCH_FILE_STATUS_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_RESEARCH_FILE_STATUS_TYPE + inner join inserted + on (PIMS_RESEARCH_FILE_STATUS_TYPE.RESEARCH_FILE_STATUS_TYPE_CODE = inserted.RESEARCH_FILE_STATUS_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RFLDOC_A_S_IUD_TR] ON PIMS_RESEARCH_FILE_DOCUMENT FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_RESEARCH_FILE_DOCUMENT_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_DOCUMENT_ID in (select RESEARCH_FILE_DOCUMENT_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_RESEARCH_FILE_DOCUMENT_HIST ([RESEARCH_FILE_DOCUMENT_ID], [RESEARCH_FILE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_FILE_DOCUMENT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [RESEARCH_FILE_DOCUMENT_ID], [RESEARCH_FILE_ID], [DOCUMENT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_H_ID_SEQ]) as [_RESEARCH_FILE_DOCUMENT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +--CREATE TRIGGER PIMS_RFLNOT_I_S_I_TR ON PIMS_RESEARCH_FILE_NOTE INSTEAD OF INSERT AS +--SET NOCOUNT ON +--BEGIN TRY +-- IF NOT EXISTS(SELECT * FROM inserted) +-- RETURN; +-- +-- +-- insert into PIMS_RESEARCH_FILE_NOTE ("RESEARCH_FILE_NOTE_ID", +-- "RESEARCH_FILE_ID", +-- "NOTE_ID", +-- "IS_DISABLED", +-- "CONCURRENCY_CONTROL_NUMBER", +-- "APP_CREATE_TIMESTAMP", +-- "APP_CREATE_USERID", +-- "APP_CREATE_USER_GUID", +-- "APP_CREATE_USER_DIRECTORY", +-- "APP_LAST_UPDATE_TIMESTAMP", +-- "APP_LAST_UPDATE_USERID", +-- "APP_LAST_UPDATE_USER_GUID", +-- "APP_LAST_UPDATE_USER_DIRECTORY") +-- select "RESEARCH_FILE_NOTE_ID", +-- "RESEARCH_FILE_ID", +-- "NOTE_ID", +-- "IS_DISABLED", +-- "CONCURRENCY_CONTROL_NUMBER", +-- "APP_CREATE_TIMESTAMP", +-- "APP_CREATE_USERID", +-- "APP_CREATE_USER_GUID", +-- "APP_CREATE_USER_DIRECTORY", +-- "APP_LAST_UPDATE_TIMESTAMP", +-- "APP_LAST_UPDATE_USERID", +-- "APP_LAST_UPDATE_USER_GUID", +-- "APP_LAST_UPDATE_USER_DIRECTORY" +-- from inserted; +-- +--END TRY +--BEGIN CATCH +-- IF @@trancount > 0 ROLLBACK TRANSACTION +-- EXEC pims_error_handling +--END CATCH; +--go +CREATE TRIGGER [dbo].[PIMS_RFLPRJ_I_S_I_TR] ON PIMS_RESEARCH_FILE_PROJECT INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_RESEARCH_FILE_PROJECT ("RESEARCH_FILE_PROJECT_ID", + "RESEARCH_FILE_ID", + "PROJECT_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "RESEARCH_FILE_PROJECT_ID", + "RESEARCH_FILE_ID", + "PROJECT_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RSHPRT_I_S_U_TR] ON PIMS_RESEARCH_PURPOSE_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.RESEARCH_PURPOSE_TYPE_CODE = deleted.RESEARCH_PURPOSE_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_RESEARCH_PURPOSE_TYPE + set "RESEARCH_PURPOSE_TYPE_CODE" = inserted."RESEARCH_PURPOSE_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_RESEARCH_PURPOSE_TYPE + inner join inserted + on (PIMS_RESEARCH_PURPOSE_TYPE.RESEARCH_PURPOSE_TYPE_CODE = inserted.RESEARCH_PURPOSE_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RFLNOT_A_S_IUD_TR] ON PIMS_RESEARCH_FILE_NOTE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_RESEARCH_FILE_NOTE_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_ID in (select RESEARCH_FILE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_RESEARCH_FILE_NOTE_HIST ([RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_FILE_NOTE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_FILE_NOTE_H_ID_SEQ]) as [_RESEARCH_FILE_NOTE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RSFLPR_I_S_I_TR] ON PIMS_RESEARCH_FILE_PURPOSE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_RESEARCH_FILE_PURPOSE ("RESEARCH_FILE_PURPOSE_ID", + "RESEARCH_FILE_ID", + "RESEARCH_PURPOSE_TYPE_CODE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "RESEARCH_FILE_PURPOSE_ID", + "RESEARCH_FILE_ID", + "RESEARCH_PURPOSE_TYPE_CODE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RESPCD_I_S_U_TR] ON PIMS_RESPONSIBILITY_CODE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_RESPONSIBILITY_CODE + set "ID" = inserted."ID", + "CODE" = inserted."CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "EFFECTIVE_DATE" = inserted."EFFECTIVE_DATE", + "EXPIRY_DATE" = inserted."EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_RESPONSIBILITY_CODE + inner join inserted + on (PIMS_RESPONSIBILITY_CODE.ID = inserted.ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +--CREATE TRIGGER PIMS_RFLNOT_A_S_IUD_TR ON PIMS_RESEARCH_FILE_NOTE FOR INSERT, UPDATE, DELETE AS +--SET NOCOUNT ON +--BEGIN TRY +--DECLARE @curr_date datetime; +--SET @curr_date = getutcdate(); +-- IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) +-- RETURN; +-- +-- -- historical +-- IF EXISTS(SELECT * FROM deleted) +-- update PIMS_RESEARCH_FILE_NOTE_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_NOTE_ID in (select RESEARCH_FILE_NOTE_ID from deleted) and END_DATE_HIST is null; +-- +-- IF EXISTS(SELECT * FROM inserted) +-- insert into PIMS_RESEARCH_FILE_NOTE_HIST ([RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_FILE_NOTE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) +-- select [RESEARCH_FILE_NOTE_ID], [RESEARCH_FILE_ID], [NOTE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_FILE_NOTE_H_ID_SEQ]) as [_RESEARCH_FILE_NOTE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; +-- +--END TRY +--BEGIN CATCH +-- IF @@trancount > 0 ROLLBACK TRANSACTION +-- EXEC pims_error_handling +--END CATCH; +--go + +CREATE TRIGGER [dbo].[PIMS_RFLPRJ_A_S_IUD_TR] ON PIMS_RESEARCH_FILE_PROJECT FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_RESEARCH_FILE_PROJECT_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_PROJECT_ID in (select RESEARCH_FILE_PROJECT_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_RESEARCH_FILE_PROJECT_HIST ([RESEARCH_FILE_PROJECT_ID], [RESEARCH_FILE_ID], [PROJECT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_FILE_PROJECT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [RESEARCH_FILE_PROJECT_ID], [RESEARCH_FILE_ID], [PROJECT_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_FILE_PROJECT_H_ID_SEQ]) as [_RESEARCH_FILE_PROJECT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RSRCHS_I_S_I_TR] ON PIMS_RESEARCH_FILE_STATUS_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_RESEARCH_FILE_STATUS_TYPE ("RESEARCH_FILE_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "RESEARCH_FILE_STATUS_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ROLE_I_S_U_TR] ON PIMS_ROLE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ROLE_ID = deleted.ROLE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ROLE + set "ROLE_ID" = inserted."ROLE_ID", + "ROLE_UID" = inserted."ROLE_UID", + "KEYCLOAK_GROUP_ID" = inserted."KEYCLOAK_GROUP_ID", + "NAME" = inserted."NAME", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_PUBLIC" = inserted."IS_PUBLIC", + "IS_DISABLED" = inserted."IS_DISABLED", + "SORT_ORDER" = inserted."SORT_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ROLE + inner join inserted + on (PIMS_ROLE.ROLE_ID = inserted.ROLE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RGNUSR_A_S_IUD_TR] ON PIMS_REGION_USER FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_REGION_USER_HIST set END_DATE_HIST = @curr_date where REGION_USER_ID in (select REGION_USER_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_REGION_USER_HIST ([REGION_USER_ID], [REGION_CODE], [USER_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _REGION_USER_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [REGION_USER_ID], [REGION_CODE], [USER_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_REGION_USER_H_ID_SEQ]) as [_REGION_USER_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RSHPRT_I_S_I_TR] ON PIMS_RESEARCH_PURPOSE_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_RESEARCH_PURPOSE_TYPE ("RESEARCH_PURPOSE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "RESEARCH_PURPOSE_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ROLCLM_I_S_U_TR] ON PIMS_ROLE_CLAIM INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ROLE_CLAIM_ID = deleted.ROLE_CLAIM_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ROLE_CLAIM + set "ROLE_CLAIM_ID" = inserted."ROLE_CLAIM_ID", + "ROLE_ID" = inserted."ROLE_ID", + "CLAIM_ID" = inserted."CLAIM_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ROLE_CLAIM + inner join inserted + on (PIMS_ROLE_CLAIM.ROLE_CLAIM_ID = inserted.ROLE_CLAIM_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ROLCLM_A_S_IUD_TR] ON PIMS_ROLE_CLAIM FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ROLE_CLAIM_HIST set END_DATE_HIST = @curr_date where ROLE_CLAIM_ID in (select ROLE_CLAIM_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ROLE_CLAIM_HIST ([ROLE_CLAIM_ID], [ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ROLE_CLAIM_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ROLE_CLAIM_ID], [ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ROLE_CLAIM_H_ID_SEQ]) as [_ROLE_CLAIM_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RESPCD_I_S_I_TR] ON PIMS_RESPONSIBILITY_CODE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_RESPONSIBILITY_CODE ("ID", + "CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "EFFECTIVE_DATE", + "EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ID", + "CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "EFFECTIVE_DATE", + "EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_SECDEP_I_S_U_TR] ON PIMS_SECURITY_DEPOSIT INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.SECURITY_DEPOSIT_ID = deleted.SECURITY_DEPOSIT_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_SECURITY_DEPOSIT + set "SECURITY_DEPOSIT_ID" = inserted."SECURITY_DEPOSIT_ID", + "LEASE_ID" = inserted."LEASE_ID", + "SECURITY_DEPOSIT_TYPE_CODE" = inserted."SECURITY_DEPOSIT_TYPE_CODE", + "OTHER_DEPOSIT_TYPE_DESC" = inserted."OTHER_DEPOSIT_TYPE_DESC", + "DESCRIPTION" = inserted."DESCRIPTION", + "AMOUNT_PAID" = inserted."AMOUNT_PAID", + "DEPOSIT_DATE" = inserted."DEPOSIT_DATE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_SECURITY_DEPOSIT + inner join inserted + on (PIMS_SECURITY_DEPOSIT.SECURITY_DEPOSIT_ID = inserted.SECURITY_DEPOSIT_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ROLE_A_S_IUD_TR] ON PIMS_ROLE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_ROLE_HIST set END_DATE_HIST = @curr_date where ROLE_ID in (select ROLE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_ROLE_HIST ([ROLE_ID], [ROLE_UID], [KEYCLOAK_GROUP_ID], [NAME], [DESCRIPTION], [IS_PUBLIC], [IS_DISABLED], [SORT_ORDER], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _ROLE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ROLE_ID], [ROLE_UID], [KEYCLOAK_GROUP_ID], [NAME], [DESCRIPTION], [IS_PUBLIC], [IS_DISABLED], [SORT_ORDER], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_ROLE_H_ID_SEQ]) as [_ROLE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ROLE_I_S_I_TR] ON PIMS_ROLE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ROLE ("ROLE_ID", + "ROLE_UID", + "KEYCLOAK_GROUP_ID", + "NAME", + "DESCRIPTION", + "IS_PUBLIC", + "IS_DISABLED", + "SORT_ORDER", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ROLE_ID", + "ROLE_UID", + "KEYCLOAK_GROUP_ID", + "NAME", + "DESCRIPTION", + "IS_PUBLIC", + "IS_DISABLED", + "SORT_ORDER", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_SCDPHL_I_S_U_TR] ON PIMS_SECURITY_DEPOSIT_HOLDER INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.SECURITY_DEPOSIT_HOLDER_ID = deleted.SECURITY_DEPOSIT_HOLDER_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_SECURITY_DEPOSIT_HOLDER + set "SECURITY_DEPOSIT_HOLDER_ID" = inserted."SECURITY_DEPOSIT_HOLDER_ID", + "SECURITY_DEPOSIT_ID" = inserted."SECURITY_DEPOSIT_ID", + "PERSON_ID" = inserted."PERSON_ID", + "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_SECURITY_DEPOSIT_HOLDER + inner join inserted + on (PIMS_SECURITY_DEPOSIT_HOLDER.SECURITY_DEPOSIT_HOLDER_ID = inserted.SECURITY_DEPOSIT_HOLDER_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RSCHAI_A_S_IUD_TR] ON PIMS_RESEARCH_ACTIVITY_INSTANCE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_RESEARCH_ACTIVITY_INSTANCE_HIST set END_DATE_HIST = @curr_date where RESEARCH_ACTIVITY_INSTANCE_ID in (select RESEARCH_ACTIVITY_INSTANCE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_RESEARCH_ACTIVITY_INSTANCE_HIST ([RESEARCH_ACTIVITY_INSTANCE_ID], [ACTIVITY_INSTANCE_ID], [RESEARCH_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_ACTIVITY_INSTANCE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [RESEARCH_ACTIVITY_INSTANCE_ID], [ACTIVITY_INSTANCE_ID], [RESEARCH_FILE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE_H_ID_SEQ]) as [_RESEARCH_ACTIVITY_INSTANCE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ROLCLM_I_S_I_TR] ON PIMS_ROLE_CLAIM INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ROLE_CLAIM ("ROLE_CLAIM_ID", + "ROLE_ID", + "CLAIM_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ROLE_CLAIM_ID", + "ROLE_ID", + "CLAIM_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_SDRTRN_I_S_U_TR] ON PIMS_SECURITY_DEPOSIT_RETURN INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.SECURITY_DEPOSIT_RETURN_ID = deleted.SECURITY_DEPOSIT_RETURN_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_SECURITY_DEPOSIT_RETURN + set "SECURITY_DEPOSIT_RETURN_ID" = inserted."SECURITY_DEPOSIT_RETURN_ID", + "SECURITY_DEPOSIT_ID" = inserted."SECURITY_DEPOSIT_ID", + "TERMINATION_DATE" = inserted."TERMINATION_DATE", + "CLAIMS_AGAINST" = inserted."CLAIMS_AGAINST", + "RETURN_AMOUNT" = inserted."RETURN_AMOUNT", + "RETURN_DATE" = inserted."RETURN_DATE", + "INTEREST_PAID" = inserted."INTEREST_PAID", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_SECURITY_DEPOSIT_RETURN + inner join inserted + on (PIMS_SECURITY_DEPOSIT_RETURN.SECURITY_DEPOSIT_RETURN_ID = inserted.SECURITY_DEPOSIT_RETURN_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_RSFLPR_A_S_IUD_TR] ON PIMS_RESEARCH_FILE_PURPOSE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_RESEARCH_FILE_PURPOSE_HIST set END_DATE_HIST = @curr_date where RESEARCH_FILE_PURPOSE_ID in (select RESEARCH_FILE_PURPOSE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_RESEARCH_FILE_PURPOSE_HIST ([RESEARCH_FILE_PURPOSE_ID], [RESEARCH_FILE_ID], [RESEARCH_PURPOSE_TYPE_CODE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _RESEARCH_FILE_PURPOSE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [RESEARCH_FILE_PURPOSE_ID], [RESEARCH_FILE_ID], [RESEARCH_PURPOSE_TYPE_CODE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_RESEARCH_FILE_PURPOSE_H_ID_SEQ]) as [_RESEARCH_FILE_PURPOSE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_SECDEP_I_S_I_TR] ON PIMS_SECURITY_DEPOSIT INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_SECURITY_DEPOSIT ("SECURITY_DEPOSIT_ID", + "LEASE_ID", + "SECURITY_DEPOSIT_TYPE_CODE", + "OTHER_DEPOSIT_TYPE_DESC", + "DESCRIPTION", + "AMOUNT_PAID", + "DEPOSIT_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "SECURITY_DEPOSIT_ID", + "LEASE_ID", + "SECURITY_DEPOSIT_TYPE_CODE", + "OTHER_DEPOSIT_TYPE_DESC", + "DESCRIPTION", + "AMOUNT_PAID", + "DEPOSIT_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_SCDPRH_I_S_U_TR] ON PIMS_SECURITY_DEPOSIT_RETURN_HOLDER INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.SECURITY_DEPOSIT_RETURN_HOLDER_ID = deleted.SECURITY_DEPOSIT_RETURN_HOLDER_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_SECURITY_DEPOSIT_RETURN_HOLDER + set "SECURITY_DEPOSIT_RETURN_HOLDER_ID" = inserted."SECURITY_DEPOSIT_RETURN_HOLDER_ID", + "SECURITY_DEPOSIT_RETURN_ID" = inserted."SECURITY_DEPOSIT_RETURN_ID", + "PERSON_ID" = inserted."PERSON_ID", + "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_SECURITY_DEPOSIT_RETURN_HOLDER + inner join inserted + on (PIMS_SECURITY_DEPOSIT_RETURN_HOLDER.SECURITY_DEPOSIT_RETURN_HOLDER_ID = inserted.SECURITY_DEPOSIT_RETURN_HOLDER_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_SCDPHL_A_S_IUD_TR] ON PIMS_SECURITY_DEPOSIT_HOLDER FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_SECURITY_DEPOSIT_HOLDER_HIST set END_DATE_HIST = @curr_date where SECURITY_DEPOSIT_HOLDER_ID in (select SECURITY_DEPOSIT_HOLDER_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_SECURITY_DEPOSIT_HOLDER_HIST ([SECURITY_DEPOSIT_HOLDER_ID], [SECURITY_DEPOSIT_ID], [PERSON_ID], [ORGANIZATION_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _SECURITY_DEPOSIT_HOLDER_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [SECURITY_DEPOSIT_HOLDER_ID], [SECURITY_DEPOSIT_ID], [PERSON_ID], [ORGANIZATION_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER_H_ID_SEQ]) as [_SECURITY_DEPOSIT_HOLDER_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_SCDPHL_I_S_I_TR] ON PIMS_SECURITY_DEPOSIT_HOLDER INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_SECURITY_DEPOSIT_HOLDER ("SECURITY_DEPOSIT_HOLDER_ID", + "SECURITY_DEPOSIT_ID", + "PERSON_ID", + "ORGANIZATION_ID", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "SECURITY_DEPOSIT_HOLDER_ID", + "SECURITY_DEPOSIT_ID", + "PERSON_ID", + "ORGANIZATION_ID", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_SECDPT_I_S_U_TR] ON PIMS_SECURITY_DEPOSIT_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.SECURITY_DEPOSIT_TYPE_CODE = deleted.SECURITY_DEPOSIT_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_SECURITY_DEPOSIT_TYPE + set "SECURITY_DEPOSIT_TYPE_CODE" = inserted."SECURITY_DEPOSIT_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_SECURITY_DEPOSIT_TYPE + inner join inserted + on (PIMS_SECURITY_DEPOSIT_TYPE.SECURITY_DEPOSIT_TYPE_CODE = inserted.SECURITY_DEPOSIT_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_SCDPRH_A_S_IUD_TR] ON PIMS_SECURITY_DEPOSIT_RETURN_HOLDER FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_SECURITY_DEPOSIT_RETURN_HOLDER_HIST set END_DATE_HIST = @curr_date where SECURITY_DEPOSIT_RETURN_HOLDER_ID in (select SECURITY_DEPOSIT_RETURN_HOLDER_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_SECURITY_DEPOSIT_RETURN_HOLDER_HIST ([SECURITY_DEPOSIT_RETURN_HOLDER_ID], [SECURITY_DEPOSIT_RETURN_ID], [PERSON_ID], [ORGANIZATION_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _SECURITY_DEPOSIT_RETURN_HOLDER_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [SECURITY_DEPOSIT_RETURN_HOLDER_ID], [SECURITY_DEPOSIT_RETURN_ID], [PERSON_ID], [ORGANIZATION_ID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER_H_ID_SEQ]) as [_SECURITY_DEPOSIT_RETURN_HOLDER_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_SDRTRN_I_S_I_TR] ON PIMS_SECURITY_DEPOSIT_RETURN INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_SECURITY_DEPOSIT_RETURN ("SECURITY_DEPOSIT_RETURN_ID", + "SECURITY_DEPOSIT_ID", + "TERMINATION_DATE", + "CLAIMS_AGAINST", + "RETURN_AMOUNT", + "RETURN_DATE", + "INTEREST_PAID", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "SECURITY_DEPOSIT_RETURN_ID", + "SECURITY_DEPOSIT_ID", + "TERMINATION_DATE", + "CLAIMS_AGAINST", + "RETURN_AMOUNT", + "RETURN_DATE", + "INTEREST_PAID", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_STAVBL_I_S_U_TR] ON PIMS_STATIC_VARIABLE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.STATIC_VARIABLE_NAME = deleted.STATIC_VARIABLE_NAME) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_STATIC_VARIABLE + set "STATIC_VARIABLE_NAME" = inserted."STATIC_VARIABLE_NAME", + "STATIC_VARIABLE_VALUE" = inserted."STATIC_VARIABLE_VALUE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_STATIC_VARIABLE + inner join inserted + on (PIMS_STATIC_VARIABLE.STATIC_VARIABLE_NAME = inserted.STATIC_VARIABLE_NAME); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_SDRTRN_A_S_IUD_TR] ON PIMS_SECURITY_DEPOSIT_RETURN FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_SECURITY_DEPOSIT_RETURN_HIST set END_DATE_HIST = @curr_date where SECURITY_DEPOSIT_RETURN_ID in (select SECURITY_DEPOSIT_RETURN_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_SECURITY_DEPOSIT_RETURN_HIST ([SECURITY_DEPOSIT_RETURN_ID], [SECURITY_DEPOSIT_ID], [TERMINATION_DATE], [CLAIMS_AGAINST], [RETURN_AMOUNT], [RETURN_DATE], [INTEREST_PAID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _SECURITY_DEPOSIT_RETURN_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [SECURITY_DEPOSIT_RETURN_ID], [SECURITY_DEPOSIT_ID], [TERMINATION_DATE], [CLAIMS_AGAINST], [RETURN_AMOUNT], [RETURN_DATE], [INTEREST_PAID], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_H_ID_SEQ]) as [_SECURITY_DEPOSIT_RETURN_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_SCDPRH_I_S_I_TR] ON PIMS_SECURITY_DEPOSIT_RETURN_HOLDER INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_SECURITY_DEPOSIT_RETURN_HOLDER ("SECURITY_DEPOSIT_RETURN_HOLDER_ID", + "SECURITY_DEPOSIT_RETURN_ID", + "PERSON_ID", + "ORGANIZATION_ID", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "SECURITY_DEPOSIT_RETURN_HOLDER_ID", + "SECURITY_DEPOSIT_RETURN_ID", + "PERSON_ID", + "ORGANIZATION_ID", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_SPDCLT_I_S_U_TR] ON PIMS_SURPLUS_DECLARATION_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.SURPLUS_DECLARATION_TYPE_CODE = deleted.SURPLUS_DECLARATION_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_SURPLUS_DECLARATION_TYPE + set "SURPLUS_DECLARATION_TYPE_CODE" = inserted."SURPLUS_DECLARATION_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_SURPLUS_DECLARATION_TYPE + inner join inserted + on (PIMS_SURPLUS_DECLARATION_TYPE.SURPLUS_DECLARATION_TYPE_CODE = inserted.SURPLUS_DECLARATION_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_SECDEP_A_S_IUD_TR] ON PIMS_SECURITY_DEPOSIT FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_SECURITY_DEPOSIT_HIST set END_DATE_HIST = @curr_date where SECURITY_DEPOSIT_ID in (select SECURITY_DEPOSIT_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_SECURITY_DEPOSIT_HIST ([SECURITY_DEPOSIT_ID], [LEASE_ID], [SECURITY_DEPOSIT_TYPE_CODE], [OTHER_DEPOSIT_TYPE_DESC], [DESCRIPTION], [AMOUNT_PAID], [DEPOSIT_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _SECURITY_DEPOSIT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [SECURITY_DEPOSIT_ID], [LEASE_ID], [SECURITY_DEPOSIT_TYPE_CODE], [OTHER_DEPOSIT_TYPE_DESC], [DESCRIPTION], [AMOUNT_PAID], [DEPOSIT_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_SECURITY_DEPOSIT_H_ID_SEQ]) as [_SECURITY_DEPOSIT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_SECDPT_I_S_I_TR] ON PIMS_SECURITY_DEPOSIT_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_SECURITY_DEPOSIT_TYPE ("SECURITY_DEPOSIT_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "SECURITY_DEPOSIT_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_SRVPLT_I_S_U_TR] ON PIMS_SURVEY_PLAN_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.SURVEY_PLAN_TYPE_CODE = deleted.SURVEY_PLAN_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_SURVEY_PLAN_TYPE + set "SURVEY_PLAN_TYPE_CODE" = inserted."SURVEY_PLAN_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_SURVEY_PLAN_TYPE + inner join inserted + on (PIMS_SURVEY_PLAN_TYPE.SURVEY_PLAN_TYPE_CODE = inserted.SURVEY_PLAN_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_STAVBL_A_S_IUD_TR] ON PIMS_STATIC_VARIABLE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_STATIC_VARIABLE_HIST set END_DATE_HIST = @curr_date where STATIC_VARIABLE_NAME in (select STATIC_VARIABLE_NAME from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_STATIC_VARIABLE_HIST ([STATIC_VARIABLE_NAME], [STATIC_VARIABLE_VALUE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _STATIC_VARIABLE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [STATIC_VARIABLE_NAME], [STATIC_VARIABLE_VALUE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_STATIC_VARIABLE_H_ID_SEQ]) as [_STATIC_VARIABLE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_STAVBL_I_S_I_TR] ON PIMS_STATIC_VARIABLE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_STATIC_VARIABLE ("STATIC_VARIABLE_NAME", + "STATIC_VARIABLE_VALUE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "STATIC_VARIABLE_NAME", + "STATIC_VARIABLE_VALUE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_TENNTX_I_S_U_TR] ON PIMS_TENANT INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.TENANT_ID = deleted.TENANT_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_TENANT + set "TENANT_ID" = inserted."TENANT_ID", + "CODE" = inserted."CODE", + "NAME" = inserted."NAME", + "DESCRIPTION" = inserted."DESCRIPTION", + "SETTINGS" = inserted."SETTINGS", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_TENANT + inner join inserted + on (PIMS_TENANT.TENANT_ID = inserted.TENANT_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_TENANT_A_S_IUD_TR] ON PIMS_LEASE_TENANT FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_LEASE_TENANT_HIST set END_DATE_HIST = @curr_date where LEASE_TENANT_ID in (select LEASE_TENANT_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_LEASE_TENANT_HIST ([LEASE_TENANT_ID], [LEASE_ID], [PERSON_ID], [ORGANIZATION_ID], [PRIMARY_CONTACT_ID], [LESSOR_TYPE_CODE], [TENANT_TYPE_CODE], [NOTE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _LEASE_TENANT_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [LEASE_TENANT_ID], [LEASE_ID], [PERSON_ID], [ORGANIZATION_ID], [PRIMARY_CONTACT_ID], [LESSOR_TYPE_CODE], [TENANT_TYPE_CODE], [NOTE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_LEASE_TENANT_H_ID_SEQ]) as [_LEASE_TENANT_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_SPDCLT_I_S_I_TR] ON PIMS_SURPLUS_DECLARATION_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_SURPLUS_DECLARATION_TYPE ("SURPLUS_DECLARATION_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "SURPLUS_DECLARATION_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_TENTYP_I_S_U_TR] ON PIMS_TENANT_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.TENANT_TYPE_CODE = deleted.TENANT_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_TENANT_TYPE + set "TENANT_TYPE_CODE" = inserted."TENANT_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_TENANT_TYPE + inner join inserted + on (PIMS_TENANT_TYPE.TENANT_TYPE_CODE = inserted.TENANT_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_USER_A_S_IUD_TR] ON PIMS_USER FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_USER_HIST set END_DATE_HIST = @curr_date where USER_ID in (select USER_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_USER_HIST ([USER_ID], [PERSON_ID], [BUSINESS_IDENTIFIER_VALUE], [GUID_IDENTIFIER_VALUE], [POSITION], [NOTE], [LAST_LOGIN], [APPROVED_BY_ID], [ISSUE_DATE], [EXPIRY_DATE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _USER_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [USER_ID], [PERSON_ID], [BUSINESS_IDENTIFIER_VALUE], [GUID_IDENTIFIER_VALUE], [POSITION], [NOTE], [LAST_LOGIN], [APPROVED_BY_ID], [ISSUE_DATE], [EXPIRY_DATE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_USER_H_ID_SEQ]) as [_USER_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_SRVPLT_I_S_I_TR] ON PIMS_SURVEY_PLAN_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_SURVEY_PLAN_TYPE ("SURVEY_PLAN_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "SURVEY_PLAN_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_USER_I_S_U_TR] ON PIMS_USER INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.USER_ID = deleted.USER_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_USER + set "USER_ID" = inserted."USER_ID", + "PERSON_ID" = inserted."PERSON_ID", + "BUSINESS_IDENTIFIER_VALUE" = inserted."BUSINESS_IDENTIFIER_VALUE", + "GUID_IDENTIFIER_VALUE" = inserted."GUID_IDENTIFIER_VALUE", + "POSITION" = inserted."POSITION", + "NOTE" = inserted."NOTE", + "LAST_LOGIN" = inserted."LAST_LOGIN", + "APPROVED_BY_ID" = inserted."APPROVED_BY_ID", + "ISSUE_DATE" = inserted."ISSUE_DATE", + "EXPIRY_DATE" = inserted."EXPIRY_DATE", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_USER + inner join inserted + on (PIMS_USER.USER_ID = inserted.USER_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_USERRL_A_S_IUD_TR] ON PIMS_USER_ROLE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_USER_ROLE_HIST set END_DATE_HIST = @curr_date where USER_ROLE_ID in (select USER_ROLE_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_USER_ROLE_HIST ([USER_ROLE_ID], [USER_ID], [ROLE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _USER_ROLE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [USER_ROLE_ID], [USER_ID], [ROLE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_USER_ROLE_H_ID_SEQ]) as [_USER_ROLE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_TENNTX_I_S_I_TR] ON PIMS_TENANT INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_TENANT ("TENANT_ID", + "CODE", + "NAME", + "DESCRIPTION", + "SETTINGS", + "CONCURRENCY_CONTROL_NUMBER") + select "TENANT_ID", + "CODE", + "NAME", + "DESCRIPTION", + "SETTINGS", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_USRORG_I_S_U_TR] ON PIMS_USER_ORGANIZATION INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.USER_ORGANIZATION_ID = deleted.USER_ORGANIZATION_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_USER_ORGANIZATION + set "USER_ORGANIZATION_ID" = inserted."USER_ORGANIZATION_ID", + "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", + "USER_ID" = inserted."USER_ID", + "ROLE_ID" = inserted."ROLE_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_USER_ORGANIZATION + inner join inserted + on (PIMS_USER_ORGANIZATION.USER_ORGANIZATION_ID = inserted.USER_ORGANIZATION_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_USRORG_A_S_IUD_TR] ON PIMS_USER_ORGANIZATION FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_USER_ORGANIZATION_HIST set END_DATE_HIST = @curr_date where USER_ORGANIZATION_ID in (select USER_ORGANIZATION_ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_USER_ORGANIZATION_HIST ([USER_ORGANIZATION_ID], [ORGANIZATION_ID], [USER_ID], [ROLE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _USER_ORGANIZATION_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [USER_ORGANIZATION_ID], [ORGANIZATION_ID], [USER_ID], [ROLE_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_USER_ORGANIZATION_H_ID_SEQ]) as [_USER_ORGANIZATION_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_TENTYP_I_S_I_TR] ON PIMS_TENANT_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_TENANT_TYPE ("TENANT_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "TENANT_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_USERRL_I_S_U_TR] ON PIMS_USER_ROLE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.USER_ROLE_ID = deleted.USER_ROLE_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_USER_ROLE + set "USER_ROLE_ID" = inserted."USER_ROLE_ID", + "USER_ID" = inserted."USER_ID", + "ROLE_ID" = inserted."ROLE_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_USER_ROLE + inner join inserted + on (PIMS_USER_ROLE.USER_ROLE_ID = inserted.USER_ROLE_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_WRKACT_A_S_IUD_TR] ON PIMS_WORK_ACTIVITY_CODE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_WORK_ACTIVITY_CODE_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_WORK_ACTIVITY_CODE_HIST ([ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _WORK_ACTIVITY_CODE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_WORK_ACTIVITY_CODE_H_ID_SEQ]) as [_WORK_ACTIVITY_CODE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_USER_I_S_I_TR] ON PIMS_USER INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_USER ("USER_ID", + "PERSON_ID", + "BUSINESS_IDENTIFIER_VALUE", + "GUID_IDENTIFIER_VALUE", + "POSITION", + "NOTE", + "LAST_LOGIN", + "APPROVED_BY_ID", + "ISSUE_DATE", + "EXPIRY_DATE", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "USER_ID", + "PERSON_ID", + "BUSINESS_IDENTIFIER_VALUE", + "GUID_IDENTIFIER_VALUE", + "POSITION", + "NOTE", + "LAST_LOGIN", + "APPROVED_BY_ID", + "ISSUE_DATE", + "EXPIRY_DATE", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_VOLUTY_I_S_U_TR] ON PIMS_VOLUME_UNIT_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.VOLUME_UNIT_TYPE_CODE = deleted.VOLUME_UNIT_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_VOLUME_UNIT_TYPE + set "VOLUME_UNIT_TYPE_CODE" = inserted."VOLUME_UNIT_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_VOLUME_UNIT_TYPE + inner join inserted + on (PIMS_VOLUME_UNIT_TYPE.VOLUME_UNIT_TYPE_CODE = inserted.VOLUME_UNIT_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_YRFINC_A_S_IUD_TR] ON PIMS_YEARLY_FINANCIAL_CODE FOR INSERT, UPDATE, DELETE AS +SET NOCOUNT ON +BEGIN TRY +DECLARE @curr_date datetime; +SET @curr_date = getutcdate(); + IF NOT EXISTS(SELECT * FROM inserted) AND NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- historical + IF EXISTS(SELECT * FROM deleted) + update PIMS_YEARLY_FINANCIAL_CODE_HIST set END_DATE_HIST = @curr_date where ID in (select ID from deleted) and END_DATE_HIST is null; + + IF EXISTS(SELECT * FROM inserted) + insert into PIMS_YEARLY_FINANCIAL_CODE_HIST ([ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], _YEARLY_FINANCIAL_CODE_HIST_ID, END_DATE_HIST, EFFECTIVE_DATE_HIST) + select [ID], [CODE], [DESCRIPTION], [DISPLAY_ORDER], [EFFECTIVE_DATE], [EXPIRY_DATE], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID], (next value for [dbo].[PIMS_YEARLY_FINANCIAL_CODE_H_ID_SEQ]) as [_YEARLY_FINANCIAL_CODE_HIST_ID], null as [END_DATE_HIST], @curr_date as [EFFECTIVE_DATE_HIST] from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_USRORG_I_S_I_TR] ON PIMS_USER_ORGANIZATION INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_USER_ORGANIZATION ("USER_ORGANIZATION_ID", + "ORGANIZATION_ID", + "USER_ID", + "ROLE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "USER_ORGANIZATION_ID", + "ORGANIZATION_ID", + "USER_ID", + "ROLE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRVOLT_I_S_U_TR] ON PIMS_VOLUMETRIC_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.VOLUMETRIC_TYPE_CODE = deleted.VOLUMETRIC_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_VOLUMETRIC_TYPE + set "VOLUMETRIC_TYPE_CODE" = inserted."VOLUMETRIC_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_VOLUMETRIC_TYPE + inner join inserted + on (PIMS_VOLUMETRIC_TYPE.VOLUMETRIC_TYPE_CODE = inserted.VOLUMETRIC_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACRQST_I_S_U_TR] ON PIMS_ACCESS_REQUEST INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACCESS_REQUEST_ID = deleted.ACCESS_REQUEST_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACCESS_REQUEST + set "ACCESS_REQUEST_ID" = inserted."ACCESS_REQUEST_ID", + "USER_ID" = inserted."USER_ID", + "ROLE_ID" = inserted."ROLE_ID", + "ACCESS_REQUEST_STATUS_TYPE_CODE" = inserted."ACCESS_REQUEST_STATUS_TYPE_CODE", + "REGION_CODE" = inserted."REGION_CODE", + "NOTE" = inserted."NOTE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACCESS_REQUEST + inner join inserted + on (PIMS_ACCESS_REQUEST.ACCESS_REQUEST_ID = inserted.ACCESS_REQUEST_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_USERRL_I_S_I_TR] ON PIMS_USER_ROLE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_USER_ROLE ("USER_ROLE_ID", + "USER_ID", + "ROLE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "USER_ROLE_ID", + "USER_ID", + "ROLE_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_WRKACT_I_S_U_TR] ON PIMS_WORK_ACTIVITY_CODE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_WORK_ACTIVITY_CODE + set "ID" = inserted."ID", + "CODE" = inserted."CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "EFFECTIVE_DATE" = inserted."EFFECTIVE_DATE", + "EXPIRY_DATE" = inserted."EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_WORK_ACTIVITY_CODE + inner join inserted + on (PIMS_WORK_ACTIVITY_CODE.ID = inserted.ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACRQOR_I_S_U_TR] ON PIMS_ACCESS_REQUEST_ORGANIZATION INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACCESS_REQUEST_ORGANIZATION_ID = deleted.ACCESS_REQUEST_ORGANIZATION_ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACCESS_REQUEST_ORGANIZATION + set "ACCESS_REQUEST_ORGANIZATION_ID" = inserted."ACCESS_REQUEST_ORGANIZATION_ID", + "ORGANIZATION_ID" = inserted."ORGANIZATION_ID", + "ACCESS_REQUEST_ID" = inserted."ACCESS_REQUEST_ID", + "IS_DISABLED" = inserted."IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACCESS_REQUEST_ORGANIZATION + inner join inserted + on (PIMS_ACCESS_REQUEST_ORGANIZATION.ACCESS_REQUEST_ORGANIZATION_ID = inserted.ACCESS_REQUEST_ORGANIZATION_ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_VOLUTY_I_S_I_TR] ON PIMS_VOLUME_UNIT_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_VOLUME_UNIT_TYPE ("VOLUME_UNIT_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "VOLUME_UNIT_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_YRFINC_I_S_U_TR] ON PIMS_YEARLY_FINANCIAL_CODE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ID = deleted.ID) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_YEARLY_FINANCIAL_CODE + set "ID" = inserted."ID", + "CODE" = inserted."CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "EFFECTIVE_DATE" = inserted."EFFECTIVE_DATE", + "EXPIRY_DATE" = inserted."EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER", + "APP_LAST_UPDATE_TIMESTAMP" = inserted."APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID" = inserted."APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID" = inserted."APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" = inserted."APP_LAST_UPDATE_USER_DIRECTORY" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_YEARLY_FINANCIAL_CODE + inner join inserted + on (PIMS_YEARLY_FINANCIAL_CODE.ID = inserted.ID); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ARQSTT_I_S_U_TR] ON PIMS_ACCESS_REQUEST_STATUS_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACCESS_REQUEST_STATUS_TYPE_CODE = deleted.ACCESS_REQUEST_STATUS_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACCESS_REQUEST_STATUS_TYPE + set "ACCESS_REQUEST_STATUS_TYPE_CODE" = inserted."ACCESS_REQUEST_STATUS_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACCESS_REQUEST_STATUS_TYPE + inner join inserted + on (PIMS_ACCESS_REQUEST_STATUS_TYPE.ACCESS_REQUEST_STATUS_TYPE_CODE = inserted.ACCESS_REQUEST_STATUS_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_PRVOLT_I_S_I_TR] ON PIMS_VOLUMETRIC_TYPE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_VOLUMETRIC_TYPE ("VOLUMETRIC_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER") + select "VOLUMETRIC_TYPE_CODE", + "DESCRIPTION", + "IS_DISABLED", + "DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACRQST_I_S_I_TR] ON PIMS_ACCESS_REQUEST INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ACCESS_REQUEST ("ACCESS_REQUEST_ID", + "USER_ID", + "ROLE_ID", + "ACCESS_REQUEST_STATUS_TYPE_CODE", + "REGION_CODE", + "NOTE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ACCESS_REQUEST_ID", + "USER_ID", + "ROLE_ID", + "ACCESS_REQUEST_STATUS_TYPE_CODE", + "REGION_CODE", + "NOTE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_AQFPPT_I_S_U_TR] ON PIMS_ACQ_FL_PERSON_PROFILE_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQ_FL_PERSON_PROFILE_TYPE_CODE = deleted.ACQ_FL_PERSON_PROFILE_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACQ_FL_PERSON_PROFILE_TYPE + set "ACQ_FL_PERSON_PROFILE_TYPE_CODE" = inserted."ACQ_FL_PERSON_PROFILE_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACQ_FL_PERSON_PROFILE_TYPE + inner join inserted + on (PIMS_ACQ_FL_PERSON_PROFILE_TYPE.ACQ_FL_PERSON_PROFILE_TYPE_CODE = inserted.ACQ_FL_PERSON_PROFILE_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_WRKACT_I_S_I_TR] ON PIMS_WORK_ACTIVITY_CODE INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_WORK_ACTIVITY_CODE ("ID", + "CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "EFFECTIVE_DATE", + "EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ID", + "CODE", + "DESCRIPTION", + "DISPLAY_ORDER", + "EFFECTIVE_DATE", + "EXPIRY_DATE", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACRQOR_I_S_I_TR] ON PIMS_ACCESS_REQUEST_ORGANIZATION INSTEAD OF INSERT AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM inserted) + RETURN; + + + insert into PIMS_ACCESS_REQUEST_ORGANIZATION ("ACCESS_REQUEST_ORGANIZATION_ID", + "ORGANIZATION_ID", + "ACCESS_REQUEST_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY") + select "ACCESS_REQUEST_ORGANIZATION_ID", + "ORGANIZATION_ID", + "ACCESS_REQUEST_ID", + "IS_DISABLED", + "CONCURRENCY_CONTROL_NUMBER", + "APP_CREATE_TIMESTAMP", + "APP_CREATE_USERID", + "APP_CREATE_USER_GUID", + "APP_CREATE_USER_DIRECTORY", + "APP_LAST_UPDATE_TIMESTAMP", + "APP_LAST_UPDATE_USERID", + "APP_LAST_UPDATE_USER_GUID", + "APP_LAST_UPDATE_USER_DIRECTORY" + from inserted; + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + +CREATE TRIGGER [dbo].[PIMS_ACQPFS_I_S_U_TR] ON PIMS_ACQ_PHYS_FILE_STATUS_TYPE INSTEAD OF UPDATE AS +SET NOCOUNT ON +BEGIN TRY + IF NOT EXISTS(SELECT * FROM deleted) + RETURN; + + -- validate concurrency control + if exists (select 1 from inserted, deleted where inserted.CONCURRENCY_CONTROL_NUMBER != deleted.CONCURRENCY_CONTROL_NUMBER+1 AND inserted.ACQ_PHYS_FILE_STATUS_TYPE_CODE = deleted.ACQ_PHYS_FILE_STATUS_TYPE_CODE) + raiserror('CONCURRENCY FAILURE.',16,1) + + + -- update statement + update PIMS_ACQ_PHYS_FILE_STATUS_TYPE + set "ACQ_PHYS_FILE_STATUS_TYPE_CODE" = inserted."ACQ_PHYS_FILE_STATUS_TYPE_CODE", + "DESCRIPTION" = inserted."DESCRIPTION", + "IS_DISABLED" = inserted."IS_DISABLED", + "DISPLAY_ORDER" = inserted."DISPLAY_ORDER", + "CONCURRENCY_CONTROL_NUMBER" = inserted."CONCURRENCY_CONTROL_NUMBER" + , DB_LAST_UPDATE_TIMESTAMP = getutcdate() + , DB_LAST_UPDATE_USERID = user_name() + from PIMS_ACQ_PHYS_FILE_STATUS_TYPE + inner join inserted + on (PIMS_ACQ_PHYS_FILE_STATUS_TYPE.ACQ_PHYS_FILE_STATUS_TYPE_CODE = inserted.ACQ_PHYS_FILE_STATUS_TYPE_CODE); + +END TRY +BEGIN CATCH + IF @@trancount > 0 ROLLBACK TRANSACTION + EXEC pims_error_handling +END CATCH; +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST] + ADD CONSTRAINT [ACRQST_USER_ROLE_REGION_TUC] + UNIQUE ([REGION_CODE], [ROLE_ID], [USER_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST_HIST] + ADD CONSTRAINT [PIMS_ACRQST_H_UK] + UNIQUE ([_ACCESS_REQUEST_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION] + ADD CONSTRAINT [ACRQOR_ORGANIZATION_ACCESS_REQUEST_TUC] + UNIQUE ([ORGANIZATION_ID], [ACCESS_REQUEST_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION_HIST] + ADD CONSTRAINT [PIMS_ACRQOR_H_UK] + UNIQUE ([_ACCESS_REQUEST_ORGANIZATION_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PROJECT] + ADD CONSTRAINT [PROJCT_DESCRIPTION_CODE_TUC] + UNIQUE ([DESCRIPTION], [CODE]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE] + ADD CONSTRAINT [ACQAIN_ACQ_ACTIVITY_TUC] + UNIQUE ([ACTIVITY_INSTANCE_ID], [ACQUISITION_FILE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE_HIST] + ADD CONSTRAINT [PIMS_ACQAIN_H_UK] + UNIQUE ([_ACQUISITION_ACTIVITY_INSTANCE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] + ADD CONSTRAINT [ACQNOT_ACQUISITION_FILE_DOCUMENT_TUC] + UNIQUE ([DOCUMENT_ID], [ACQUISITION_FILE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT_HIST] + ADD CONSTRAINT [PIMS_ACQDOC_H_UK] + UNIQUE ([_ACQUISITION_FILE_DOCUMENT_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_HIST] + ADD CONSTRAINT [PIMS_ACQNFL_H_UK] + UNIQUE ([_ACQUISITION_FILE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE] + ADD CONSTRAINT [ACQNOT_ACQUISITION_FILE_NOTE_TUC] + UNIQUE ([ACQUISITION_FILE_ID], [NOTE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE_HIST] + ADD CONSTRAINT [PIMS_ACQNOT_H_UK] + UNIQUE ([_ACQUISITION_FILE_NOTE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_PERSON] + ADD CONSTRAINT [ACQPER_PERSON_PROFILE_TUC] + UNIQUE ([ACQ_FL_PERSON_PROFILE_TYPE_CODE], [PERSON_ID], [ACQUISITION_FILE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_PERSON_HIST] + ADD CONSTRAINT [PIMS_ACQPER_H_UK] + UNIQUE ([_ACQUISITION_FILE_PERSON_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_OWNER_HIST] + ADD CONSTRAINT [PIMS_ACQOWN_H_UK] + UNIQUE ([_ACQUISITION_OWNER_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT] + ADD CONSTRAINT [ACTDOC_ACTIVITY_DOCUMENT_TUC] + UNIQUE ([DOCUMENT_ID], [ACTIVITY_INSTANCE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT_HIST] + ADD CONSTRAINT [PIMS_ACTDOC_H_UK] + UNIQUE ([_ACTIVITY_INSTANCE_DOCUMENT_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_HIST] + ADD CONSTRAINT [PIMS_ACTINS_H_UK] + UNIQUE ([_ACTIVITY_INSTANCE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE] + ADD CONSTRAINT [ACTINN_ACTIVITY_NOTE_TUC] + UNIQUE ([NOTE_ID], [ACTIVITY_INSTANCE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE_HIST] + ADD CONSTRAINT [PIMS_ACTINN_H_UK] + UNIQUE ([_ACTIVITY_INSTANCE_NOTE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT] + ADD CONSTRAINT [ACTMDO_ACT_TMP_DOC_TUC] + UNIQUE ([ACTIVITY_TEMPLATE_ID], [DOCUMENT_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT_HIST] + ADD CONSTRAINT [PIMS_ACTMDO_H_UK] + UNIQUE ([_ACTIVITY_TEMPLATE_DOCUMENT_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_HIST] + ADD CONSTRAINT [PIMS_ACTTMP_H_UK] + UNIQUE ([_ACTIVITY_TEMPLATE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE] + ADD CONSTRAINT [PRACQF_PROP_ACQ_TUC] + UNIQUE ([PROPERTY_ID], [ACQUISITION_FILE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE] + ADD CONSTRAINT [AIPAFL_ACT_INST_PROP_ACQ_FL_TUC] + UNIQUE ([PROPERTY_ACQUISITION_FILE_ID], [ACTIVITY_INSTANCE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE_HIST] + ADD CONSTRAINT [PIMS_AIPAFL_H_UK] + UNIQUE ([_ACT_INST_PROP_ACQ_FILE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_RESEARCH_FILE] + ADD CONSTRAINT [PRSCRC_RSRCH_FILE_PROP_TUC] + UNIQUE ([RESEARCH_FILE_ID], [PROPERTY_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE] + ADD CONSTRAINT [AIPRFL_ACT_INST_PROP_RSRCH_FL_TUC] + UNIQUE ([PROPERTY_RESEARCH_FILE_ID], [ACTIVITY_INSTANCE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE_HIST] + ADD CONSTRAINT [PIMS_AIPRFL_H_UK] + UNIQUE ([_ACT_INST_PROP_RSRCH_FILE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ADDRESS_HIST] + ADD CONSTRAINT [PIMS_ADDRSS_H_UK] + UNIQUE ([_ADDRESS_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE_HIST] + ADD CONSTRAINT [PIMS_BIZFCN_H_UK] + UNIQUE ([_BUSINESS_FUNCTION_CODE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE_HIST] + ADD CONSTRAINT [PIMS_CHRTAC_H_UK] + UNIQUE ([_CHART_OF_ACCOUNTS_CODE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_CLAIM_HIST] + ADD CONSTRAINT [PIMS_CLMTYP_H_UK] + UNIQUE ([_CLAIM_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_CONTACT_METHOD_HIST] + ADD CONSTRAINT [PIMS_CNTMTH_H_UK] + UNIQUE ([_CONTACT_METHOD_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_COST_TYPE_CODE_HIST] + ADD CONSTRAINT [PIMS_COSTYP_H_UK] + UNIQUE ([_COST_TYPE_CODE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_DOCUMENT_HIST] + ADD CONSTRAINT [PIMS_DOCMNT_H_UK] + UNIQUE ([_DOCUMENT_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_DOCUMENT_TYP_HIST] + ADD CONSTRAINT [PIMS_DOCTYP_H_UK] + UNIQUE ([_DOCUMENT_TYP_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE_HIST] + ADD CONSTRAINT [PIMS_FINACT_H_UK] + UNIQUE ([_FINANCIAL_ACTIVITY_CODE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_INSURANCE_HIST] + ADD CONSTRAINT [PIMS_INSRNC_H_UK] + UNIQUE ([_INSURANCE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE] + ADD CONSTRAINT [LSACIN_LEASE_ACTIVITY_INSTANCE_TUC] + UNIQUE ([LEASE_ID], [ACTIVITY_INSTANCE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE_HIST] + ADD CONSTRAINT [PIMS_LSACIN_H_UK] + UNIQUE ([_LEASE_ACTIVITY_INSTANCE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] + ADD CONSTRAINT [LESCON_LEASE_CONSULTATION_TUC] + UNIQUE ([CONSULTATION_TYPE_CODE], [LEASE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION_HIST] + ADD CONSTRAINT [PIMS_LESCON_H_UK] + UNIQUE ([_LEASE_CONSULTATION_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] + ADD CONSTRAINT [LESDOC_LEASE_DOCUMENT_TUC] + UNIQUE ([DOCUMENT_ID], [LEASE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT_HIST] + ADD CONSTRAINT [PIMS_LESDOC_H_UK] + UNIQUE ([_LEASE_DOCUMENT_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_LEASE_HIST] + ADD CONSTRAINT [PIMS_LEASE_H_UK] + UNIQUE ([_LEASE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] + ADD CONSTRAINT [LESNOT_LEASE_NOTE_TUC] + UNIQUE ([NOTE_ID], [LEASE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_LEASE_NOTE_HIST] + ADD CONSTRAINT [PIMS_LESNOT_H_UK] + UNIQUE ([_LEASE_NOTE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT_HIST] + ADD CONSTRAINT [PIMS_LSPYMT_H_UK] + UNIQUE ([_LEASE_PAYMENT_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] + ADD CONSTRAINT [TENANT_LEASE_PERSON_ORG_TUC] + UNIQUE ([ORGANIZATION_ID], [PERSON_ID], [LEASE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT_HIST] + ADD CONSTRAINT [PIMS_TENANT_H_UK] + UNIQUE ([_LEASE_TENANT_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_LEASE_TERM_HIST] + ADD CONSTRAINT [PIMS_LSTERM_H_UK] + UNIQUE ([_LEASE_TERM_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_NOTE_HIST] + ADD CONSTRAINT [PIMS_NOTE_H_UK] + UNIQUE ([_NOTE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_ADDRESS] + ADD CONSTRAINT [ORGADD_UNQ_ADDR_TYPE_TUC] + UNIQUE ([ORGANIZATION_ID], [ADDRESS_ID], [ADDRESS_USAGE_TYPE_CODE]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_ADDRESS_HIST] + ADD CONSTRAINT [PIMS_ORGADD_H_UK] + UNIQUE ([_ORGANIZATION_ADDRESS_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_HIST] + ADD CONSTRAINT [PIMS_ORG_H_UK] + UNIQUE ([_ORGANIZATION_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PERSON_ADDRESS] + ADD CONSTRAINT [PERADD_UNQ_ADDR_TYPE_TUC] + UNIQUE ([PERSON_ID], [ADDRESS_ID], [ADDRESS_USAGE_TYPE_CODE]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PERSON_ADDRESS_HIST] + ADD CONSTRAINT [PIMS_PERADD_H_UK] + UNIQUE ([_PERSON_ADDRESS_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PERSON_HIST] + ADD CONSTRAINT [PIMS_PERSON_H_UK] + UNIQUE ([_PERSON_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PERSON_ORGANIZATION] + ADD CONSTRAINT [PERORG_PERSON_ORGANIZATION_TUC] + UNIQUE ([ORGANIZATION_ID], [PERSON_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PERSON_ORGANIZATION_HIST] + ADD CONSTRAINT [PIMS_PERORG_H_UK] + UNIQUE ([_PERSON_ORGANIZATION_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE] + ADD CONSTRAINT [PRSPRP_PROP_PURPOSE_TUC] + UNIQUE ([PROP_RESEARCH_PURPOSE_TYPE_CODE], [PROPERTY_RESEARCH_FILE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PRODUCT_HIST] + ADD CONSTRAINT [PIMS_PRODCT_H_UK] + UNIQUE ([_PRODUCT_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PROJECT_HIST] + ADD CONSTRAINT [PIMS_PROJCT_H_UK] + UNIQUE ([_PROJECT_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE_HIST] + ADD CONSTRAINT [PIMS_PRACQF_H_UK] + UNIQUE ([_PROPERTY_ACQUISITION_FILE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_EVALUATION_HIST] + ADD CONSTRAINT [PIMS_PRPEVL_H_UK] + UNIQUE ([_PROPERTY_EVALUATION_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_HIST] + ADD CONSTRAINT [PIMS_PRPRTY_H_UK] + UNIQUE ([_PROPERTY_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT] + ADD CONSTRAINT [PIMPRV_LEASE_IMPROVEMENT_TUC] + UNIQUE ([LEASE_ID], [PROPERTY_IMPROVEMENT_TYPE_CODE]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT_HIST] + ADD CONSTRAINT [PIMS_PIMPRV_H_UK] + UNIQUE ([_PROPERTY_IMPROVEMENT_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_LEASE] + ADD CONSTRAINT [PROPLS_PROPERTY_LEASE_TUC] + UNIQUE ([LEASE_ID], [PROPERTY_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_LEASE_HIST] + ADD CONSTRAINT [PIMS_PROPLS_H_UK] + UNIQUE ([_PROPERTY_LEASE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_ORGANIZATION] + ADD CONSTRAINT [PRPORG_PROPERTY_ORGANIZATION_TUC] + UNIQUE ([PROPERTY_ID], [ORGANIZATION_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_ORGANIZATION_HIST] + ADD CONSTRAINT [PIMS_PRPORG_H_UK] + UNIQUE ([_PROPERTY_ORGANIZATION_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE] + ADD CONSTRAINT [PRPRSF_PROPERTY_SERVICE_FILE_TUC] + UNIQUE ([PROPERTY_ID], [PROPERTY_SERVICE_FILE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE_HIST] + ADD CONSTRAINT [PIMS_PRPRSF_H_UK] + UNIQUE ([_PROPERTY_PROPERTY_SERVICE_FILE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_RESEARCH_FILE_HIST] + ADD CONSTRAINT [PIMS_PRSCRC_H_UK] + UNIQUE ([_PROPERTY_RESEARCH_FILE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_SERVICE_FILE_HIST] + ADD CONSTRAINT [PIMS_PRPSVC_H_UK] + UNIQUE ([_PROPERTY_SERVICE_FILE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_TAX_HIST] + ADD CONSTRAINT [PIMS_PRPTAX_H_UK] + UNIQUE ([_PROPERTY_TAX_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ADJACENT_LAND_TYPE] + ADD CONSTRAINT [PRPALT_PROP_ADJACENT_LAND_TYPE_TUC] + UNIQUE ([PROPERTY_ADJACENT_LAND_TYPE_CODE], [PROPERTY_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ANOMALY_TYPE] + ADD CONSTRAINT [PRPRAT_PROP_ANOMALY_TYPE_TUC] + UNIQUE ([PROPERTY_ANOMALY_TYPE_CODE], [PROPERTY_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ROAD_TYPE] + ADD CONSTRAINT [PRPRRT_PROP_ROAD_TYPE_TUC] + UNIQUE ([PROPERTY_ROAD_TYPE_CODE], [PROPERTY_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_PROP_PROP_TENURE_TYPE] + ADD CONSTRAINT [PRPRTT_PROP_PROP_TENURE_TUC] + UNIQUE ([PROPERTY_TENURE_TYPE_CODE], [PROPERTY_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_REGION_USER] + ADD CONSTRAINT [RGNUSR_REGION_USER_TUC] + UNIQUE ([USER_ID], [REGION_CODE]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_REGION_USER_HIST] + ADD CONSTRAINT [PIMS_RGNUSR_H_UK] + UNIQUE ([_REGION_USER_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE] + ADD CONSTRAINT [RSCHAI_RSRCH_FILE_ACTIVITY_TUC] + UNIQUE ([RESEARCH_FILE_ID], [ACTIVITY_INSTANCE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE_HIST] + ADD CONSTRAINT [PIMS_RSCHAI_H_UK] + UNIQUE ([_RESEARCH_ACTIVITY_INSTANCE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + ADD CONSTRAINT [RFLDOC_RESEARCH_FILE_DOCUMENT_TUC] + UNIQUE ([DOCUMENT_ID], [RESEARCH_FILE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT_HIST] + ADD CONSTRAINT [PIMS_RFLDOC_H_UK] + UNIQUE ([_RESEARCH_FILE_DOCUMENT_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_HIST] + ADD CONSTRAINT [PIMS_RESRCH_H_UK] + UNIQUE ([_RESEARCH_FILE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + ADD CONSTRAINT [RFLNOT_RSRCH_FILE_NOTE_TUC] + UNIQUE ([NOTE_ID], [RESEARCH_FILE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE_HIST] + ADD CONSTRAINT [PIMS_RFLNOT_H_UK] + UNIQUE ([_RESEARCH_FILE_NOTE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] + ADD CONSTRAINT [RFLPRJ_RESEARCH_FILE_PROJECT_TUC] + UNIQUE ([PROJECT_ID], [RESEARCH_FILE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT_HIST] + ADD CONSTRAINT [PIMS_RFLPRJ_H_UK] + UNIQUE ([_RESEARCH_FILE_PROJECT_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PURPOSE] + ADD CONSTRAINT [RSFLPR_RSRCH_FL_RSRCH_FL_PURP_TUC] + UNIQUE ([RESEARCH_PURPOSE_TYPE_CODE], [RESEARCH_FILE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PURPOSE_HIST] + ADD CONSTRAINT [PIMS_RSFLPR_H_UK] + UNIQUE ([_RESEARCH_FILE_PURPOSE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_RESPONSIBILITY_CODE_HIST] + ADD CONSTRAINT [PIMS_RESPCD_H_UK] + UNIQUE ([_RESPONSIBILITY_CODE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ROLE_CLAIM] + ADD CONSTRAINT [ROLCLM_ROLE_CLAIM_TUC] + UNIQUE ([ROLE_ID], [CLAIM_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ROLE_CLAIM_HIST] + ADD CONSTRAINT [PIMS_ROLCLM_H_UK] + UNIQUE ([_ROLE_CLAIM_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_ROLE_HIST] + ADD CONSTRAINT [PIMS_ROLE_H_UK] + UNIQUE ([_ROLE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HIST] + ADD CONSTRAINT [PIMS_SECDEP_H_UK] + UNIQUE ([_SECURITY_DEPOSIT_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] + ADD CONSTRAINT [SCDPHL_SECURITY_DEPOSIT_ID_TUC] + UNIQUE ([SECURITY_DEPOSIT_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER_HIST] + ADD CONSTRAINT [PIMS_SCDPHL_H_UK] + UNIQUE ([_SECURITY_DEPOSIT_HOLDER_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HIST] + ADD CONSTRAINT [PIMS_SDRTRN_H_UK] + UNIQUE ([_SECURITY_DEPOSIT_RETURN_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] + ADD CONSTRAINT [SCDPRH_SECURITY_DEPOSIT_RETURN_ID_TUC] + UNIQUE ([SECURITY_DEPOSIT_RETURN_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER_HIST] + ADD CONSTRAINT [PIMS_SCDPRH_H_UK] + UNIQUE ([_SECURITY_DEPOSIT_RETURN_HOLDER_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_STATIC_VARIABLE_HIST] + ADD CONSTRAINT [PIMS_STAVBL_H_UK] + UNIQUE ([_STATIC_VARIABLE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_USER_HIST] + ADD CONSTRAINT [PIMS_USER_H_UK] + UNIQUE ([_USER_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_USER_ORGANIZATION] + ADD CONSTRAINT [USRORG_USER_ROLE_ORGANIZATION_TUC] + UNIQUE ([ORGANIZATION_ID], [USER_ID], [ROLE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_USER_ORGANIZATION_HIST] + ADD CONSTRAINT [PIMS_USRORG_H_UK] + UNIQUE ([_USER_ORGANIZATION_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_USER_ROLE] + ADD CONSTRAINT [USERRL_USER_ROLE_TUC] + UNIQUE ([USER_ID], [ROLE_ID]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_USER_ROLE_HIST] + ADD CONSTRAINT [PIMS_USERRL_H_UK] + UNIQUE ([_USER_ROLE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE_HIST] + ADD CONSTRAINT [PIMS_WRKACT_H_UK] + UNIQUE ([_WORK_ACTIVITY_CODE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE_HIST] + ADD CONSTRAINT [PIMS_YRFINC_H_UK] + UNIQUE ([_YEARLY_FINANCIAL_CODE_HIST_ID], [END_DATE_HIST]) + WITH ( + DATA_COMPRESSION = NONE + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] + ADD CONSTRAINT [SCDPHL_ONE_HOLDER_ONLY_TCC] CHECK ([PERSON_ID] IS NULL AND [ORGANIZATION_ID] IS NOT NULL OR [PERSON_ID] IS NOT NULL AND [ORGANIZATION_ID] IS NULL) +GO + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] + ADD CONSTRAINT [SCDPRH_ONE_HOLDER_ONLY_TCC] CHECK ([PERSON_ID] IS NULL AND [ORGANIZATION_ID] IS NOT NULL OR [PERSON_ID] IS NOT NULL AND [ORGANIZATION_ID] IS NULL) +GO + +ALTER TABLE [dbo].[BCA_ASSESSMENT_AREA] + ADD CONSTRAINT [PIM_BCDADV_PIM_BCASAR_FK] + FOREIGN KEY([DATA_ADVICE_ID]) + REFERENCES [dbo].[BCA_DATA_ADVICE]([DATA_ADVICE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_AREA_AMENDMENT] + ADD CONSTRAINT [PIM_BCASAR_PIM_BCAAMD_FK] + FOREIGN KEY([AREA_CODE]) + REFERENCES [dbo].[BCA_ASSESSMENT_AREA]([AREA_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_AREA_BCTRANSIT_VALUE] + ADD CONSTRAINT [PIM_BCASAR_PIM_BCATRV_FK] + FOREIGN KEY([AREA_CODE]) + REFERENCES [dbo].[BCA_ASSESSMENT_AREA]([AREA_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_AREA_DELETE] + ADD CONSTRAINT [PIM_BCASAR_PIM_BCADEL_FK] + FOREIGN KEY([AREA_CODE]) + REFERENCES [dbo].[BCA_ASSESSMENT_AREA]([AREA_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_AREA_GENERAL_VALUE] + ADD CONSTRAINT [PIM_BCASAR_PIM_BCAGNV_FK] + FOREIGN KEY([AREA_CODE]) + REFERENCES [dbo].[BCA_ASSESSMENT_AREA]([AREA_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_AREA_SCHOOL_VALUE] + ADD CONSTRAINT [PIM_BCASAR_PIM_BCASCV_FK] + FOREIGN KEY([AREA_CODE]) + REFERENCES [dbo].[BCA_ASSESSMENT_AREA]([AREA_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_AMENDMENT] + ADD CONSTRAINT [PIM_BCDADV_PIM_BCDAMD_FK] + FOREIGN KEY([DATA_ADVICE_ID]) + REFERENCES [dbo].[BCA_DATA_ADVICE]([DATA_ADVICE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_BCTRANSIT_VALUE] + ADD CONSTRAINT [PIM_BCDADV_PIM_BCDTRV_FK] + FOREIGN KEY([DATA_ADVICE_ID]) + REFERENCES [dbo].[BCA_DATA_ADVICE]([DATA_ADVICE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_DELETE] + ADD CONSTRAINT [PIM_BCDADV_PIM_BCDDEL_FK] + FOREIGN KEY([DATA_ADVICE_ID]) + REFERENCES [dbo].[BCA_DATA_ADVICE]([DATA_ADVICE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_GENERAL_VALUE] + ADD CONSTRAINT [PIM_BCDADV_PIM_BCDGNV_FK] + FOREIGN KEY([DATA_ADVICE_ID]) + REFERENCES [dbo].[BCA_DATA_ADVICE]([DATA_ADVICE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_SCHOOL_VALUE] + ADD CONSTRAINT [PIM_BCDADV_PIM_BCDSCV_FK] + FOREIGN KEY([DATA_ADVICE_ID]) + REFERENCES [dbo].[BCA_DATA_ADVICE]([DATA_ADVICE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_JURISDICTION] + ADD CONSTRAINT [PIM_BCASAR_PIM_BCAJUR_FK] + FOREIGN KEY([AREA_CODE]) + REFERENCES [dbo].[BCA_ASSESSMENT_AREA]([AREA_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_FOLIO_RECORD] + ADD CONSTRAINT [PIM_BCAJUR_PIM_BCAFOR_FK] + FOREIGN KEY([JURISDICTION_CODE]) + REFERENCES [dbo].[BCA_JURISDICTION]([JURISDICTION_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_MINOR_TAXING] + ADD CONSTRAINT [PIM_BCAFOR_PIM_BCMNTX_FK] + FOREIGN KEY([ROLL_NUMBER]) + REFERENCES [dbo].[BCA_FOLIO_RECORD]([ROLL_NUMBER]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_DEFINED] + ADD CONSTRAINT [PIM_BCMNTX_PIM_BCADFN_FK] + FOREIGN KEY([MINOR_TAXING_ID]) + REFERENCES [dbo].[BCA_MINOR_TAXING]([MINOR_TAXING_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_ELECTORAL_AREA] + ADD CONSTRAINT [PIM_BCMNTX_PIM_BCELCT_FK] + FOREIGN KEY([MINOR_TAXING_ID]) + REFERENCES [dbo].[BCA_MINOR_TAXING]([MINOR_TAXING_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_FOLIO_ADDRESS] + ADD CONSTRAINT [PIM_BCAFOR_PIM_BCFADR_FK] + FOREIGN KEY([ROLL_NUMBER]) + REFERENCES [dbo].[BCA_FOLIO_RECORD]([ROLL_NUMBER]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_FOLIO_AMENDMENT] + ADD CONSTRAINT [PIM_BCAFOR_PIM_BCAFAM_FK] + FOREIGN KEY([ROLL_NUMBER]) + REFERENCES [dbo].[BCA_FOLIO_RECORD]([ROLL_NUMBER]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_FOLIO_BCTRANSIT_VALUE] + ADD CONSTRAINT [PIM_BCAFOR_PIM_BCFTRV_FK] + FOREIGN KEY([ROLL_NUMBER]) + REFERENCES [dbo].[BCA_FOLIO_RECORD]([ROLL_NUMBER]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_FOLIO_DESCRIPTION] + ADD CONSTRAINT [PIM_BCAFOR_PIM_BCAFDE_FK] + FOREIGN KEY([ROLL_NUMBER]) + REFERENCES [dbo].[BCA_FOLIO_RECORD]([ROLL_NUMBER]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_FOLIO_FARM] + ADD CONSTRAINT [PIM_BCAFOR_PIM_BCFARM_FK] + FOREIGN KEY([ROLL_NUMBER]) + REFERENCES [dbo].[BCA_FOLIO_RECORD]([ROLL_NUMBER]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_FOLIO_GENERAL_VALUE] + ADD CONSTRAINT [PIM_BCAFOR_PIM_BCFGNV_FK] + FOREIGN KEY([ROLL_NUMBER]) + REFERENCES [dbo].[BCA_FOLIO_RECORD]([ROLL_NUMBER]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_FOLIO_LAND_CHARACTERISTIC] + ADD CONSTRAINT [PIM_BCAFOR_PIM_BCLCHR_FK] + FOREIGN KEY([ROLL_NUMBER]) + REFERENCES [dbo].[BCA_FOLIO_RECORD]([ROLL_NUMBER]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_FOLIO_LEGAL_DESCRIPTION] + ADD CONSTRAINT [PIM_BCAFOR_PIM_BCAFLD_FK] + FOREIGN KEY([ROLL_NUMBER]) + REFERENCES [dbo].[BCA_FOLIO_RECORD]([ROLL_NUMBER]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_FOLIO_MANAGED_FOREST] + ADD CONSTRAINT [PIM_BCAFOR_PIM_BCMFOR_FK] + FOREIGN KEY([ROLL_NUMBER]) + REFERENCES [dbo].[BCA_FOLIO_RECORD]([ROLL_NUMBER]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_FOLIO_MANUFACTURED_HOME] + ADD CONSTRAINT [PIM_BCAFOR_PIM_BCMANH_FK] + FOREIGN KEY([ROLL_NUMBER]) + REFERENCES [dbo].[BCA_FOLIO_RECORD]([ROLL_NUMBER]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_FOLIO_OIL_AND_GAS] + ADD CONSTRAINT [PIM_BCAFOR_PIM_BCOILG_FK] + FOREIGN KEY([ROLL_NUMBER]) + REFERENCES [dbo].[BCA_FOLIO_RECORD]([ROLL_NUMBER]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_FOLIO_SALES] + ADD CONSTRAINT [PIM_BCAFOR_PIM_BCAFSA_FK] + FOREIGN KEY([ROLL_NUMBER]) + REFERENCES [dbo].[BCA_FOLIO_RECORD]([ROLL_NUMBER]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_FOLIO_SCHOOL_VALUE] + ADD CONSTRAINT [PIM_BCAFOR_PIM_BCFSCV_FK] + FOREIGN KEY([ROLL_NUMBER]) + REFERENCES [dbo].[BCA_FOLIO_RECORD]([ROLL_NUMBER]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_FOLIO_VALUATION] + ADD CONSTRAINT [PIM_BCAFOR_PIM_BCAVAL_FK] + FOREIGN KEY([ROLL_NUMBER]) + REFERENCES [dbo].[BCA_FOLIO_RECORD]([ROLL_NUMBER]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_GENERAL_SERVICE] + ADD CONSTRAINT [PIM_BCMNTX_PIM_BCGSVC_FK] + FOREIGN KEY([MINOR_TAXING_ID]) + REFERENCES [dbo].[BCA_MINOR_TAXING]([MINOR_TAXING_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_IMPROVEMENT_DISTRICT] + ADD CONSTRAINT [PIM_BCMNTX_PIM_BCIMPD_FK] + FOREIGN KEY([MINOR_TAXING_ID]) + REFERENCES [dbo].[BCA_MINOR_TAXING]([MINOR_TAXING_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_ISLANDS_TRUST] + ADD CONSTRAINT [PIM_BCMNTX_PIM_BCISLT_FK] + FOREIGN KEY([MINOR_TAXING_ID]) + REFERENCES [dbo].[BCA_MINOR_TAXING]([MINOR_TAXING_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_JURISDICTION_AMENDMENT] + ADD CONSTRAINT [PIM_BCAJUR_PIM_BCJAMD_FK] + FOREIGN KEY([JURISDICTION_CODE]) + REFERENCES [dbo].[BCA_JURISDICTION]([JURISDICTION_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_JURISDICTION_BCTRANSIT_VALUE] + ADD CONSTRAINT [PIM_BCAJUR_PIM_BCJTRV_FK] + FOREIGN KEY([JURISDICTION_CODE]) + REFERENCES [dbo].[BCA_JURISDICTION]([JURISDICTION_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_JURISDICTION_DELETE] + ADD CONSTRAINT [PIM_BCAJUR_PIM_BCJDEL_FK] + FOREIGN KEY([JURISDICTION_CODE]) + REFERENCES [dbo].[BCA_JURISDICTION]([JURISDICTION_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_JURISDICTION_GENERAL_VALUE] + ADD CONSTRAINT [PIM_BCAJUR_PIM_BCJGNV_FK] + FOREIGN KEY([JURISDICTION_CODE]) + REFERENCES [dbo].[BCA_JURISDICTION]([JURISDICTION_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_JURISDICTION_SCHOOL_VALUE] + ADD CONSTRAINT [PIM_BCAJUR_PIM_BCJSCV_FK] + FOREIGN KEY([JURISDICTION_CODE]) + REFERENCES [dbo].[BCA_JURISDICTION]([JURISDICTION_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_LOCAL_AREA] + ADD CONSTRAINT [PIM_BCMNTX_PIM_BCLCLA_FK] + FOREIGN KEY([MINOR_TAXING_ID]) + REFERENCES [dbo].[BCA_MINOR_TAXING]([MINOR_TAXING_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_OWNERSHIP_GROUP] + ADD CONSTRAINT [PIM_BCAFOR_PIM_BCAOWG_FK] + FOREIGN KEY([ROLL_NUMBER]) + REFERENCES [dbo].[BCA_FOLIO_RECORD]([ROLL_NUMBER]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_OWNER] + ADD CONSTRAINT [PIM_BCAOWG_PIM_BCAOWN_FK] + FOREIGN KEY([OWNERSHIP_GROUP_ID]) + REFERENCES [dbo].[BCA_OWNERSHIP_GROUP]([OWNERSHIP_GROUP_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_SERVICE_AREA] + ADD CONSTRAINT [PIM_BCMNTX_PIM_BCSVCA_FK] + FOREIGN KEY([MINOR_TAXING_ID]) + REFERENCES [dbo].[BCA_MINOR_TAXING]([MINOR_TAXING_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_SPECIFIED_MUNICIPAL] + ADD CONSTRAINT [PIM_BCMNTX_PIM_BCSPMU_FK] + FOREIGN KEY([MINOR_TAXING_ID]) + REFERENCES [dbo].[BCA_MINOR_TAXING]([MINOR_TAXING_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[BCA_SPECIFIED_REGIONAL] + ADD CONSTRAINT [PIM_BCMNTX_PIM_BCSPRG_FK] + FOREIGN KEY([MINOR_TAXING_ID]) + REFERENCES [dbo].[BCA_MINOR_TAXING]([MINOR_TAXING_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_USER] + ADD CONSTRAINT [PIM_PERSON_PIM_USER_FK] + FOREIGN KEY([PERSON_ID]) + REFERENCES [dbo].[PIMS_PERSON]([PERSON_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST] + ADD CONSTRAINT [PIM_USER_PIM_ACRQST_FK] + FOREIGN KEY([USER_ID]) + REFERENCES [dbo].[PIMS_USER]([USER_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST] + ADD CONSTRAINT [PIM_ROLE_PIM_ACRQST_FK] + FOREIGN KEY([ROLE_ID]) + REFERENCES [dbo].[PIMS_ROLE]([ROLE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST] + ADD CONSTRAINT [PIM_REGION_PIM_ACRQST_FK] + FOREIGN KEY([REGION_CODE]) + REFERENCES [dbo].[PIMS_REGION]([REGION_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST] + ADD CONSTRAINT [PIM_ARQSTT_PIM_ACRQST_FK] + FOREIGN KEY([ACCESS_REQUEST_STATUS_TYPE_CODE]) + REFERENCES [dbo].[PIMS_ACCESS_REQUEST_STATUS_TYPE]([ACCESS_REQUEST_STATUS_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_DISTRICT] + ADD CONSTRAINT [PIM_REGION_PIM_DSTRCT_FK] + FOREIGN KEY([REGION_CODE]) + REFERENCES [dbo].[PIMS_REGION]([REGION_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ORGANIZATION] + ADD CONSTRAINT [PIM_REGION_PIM_ORG_FK] + FOREIGN KEY([REGION_CODE]) + REFERENCES [dbo].[PIMS_REGION]([REGION_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ORGANIZATION] + ADD CONSTRAINT [PIM_ORGTYP_PIM_ORG_FK] + FOREIGN KEY([ORGANIZATION_TYPE_CODE]) + REFERENCES [dbo].[PIMS_ORGANIZATION_TYPE]([ORGANIZATION_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ORGANIZATION] + ADD CONSTRAINT [PIM_ORGIDT_PIM_ORG_FK] + FOREIGN KEY([ORG_IDENTIFIER_TYPE_CODE]) + REFERENCES [dbo].[PIMS_ORG_IDENTIFIER_TYPE]([ORG_IDENTIFIER_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ORGANIZATION] + ADD CONSTRAINT [PIM_ORG_PIM_PRNT_ORG_FK] + FOREIGN KEY([PRNT_ORGANIZATION_ID]) + REFERENCES [dbo].[PIMS_ORGANIZATION]([ORGANIZATION_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ORGANIZATION] + ADD CONSTRAINT [PIM_DSTRCT_PIM_ORG_FK] + FOREIGN KEY([DISTRICT_CODE]) + REFERENCES [dbo].[PIMS_DISTRICT]([DISTRICT_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION] + ADD CONSTRAINT [PIM_ORG_PIM_ACRQOR_FK] + FOREIGN KEY([ORGANIZATION_ID]) + REFERENCES [dbo].[PIMS_ORGANIZATION]([ORGANIZATION_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION] + ADD CONSTRAINT [PIM_ACRQST_PIM_ACRQOR_FK] + FOREIGN KEY([ACCESS_REQUEST_ID]) + REFERENCES [dbo].[PIMS_ACCESS_REQUEST]([ACCESS_REQUEST_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROJECT] + ADD CONSTRAINT [PIM_WRKACT_PIM_PROJCT_FK] + FOREIGN KEY([WORK_ACTIVITY_CODE_ID]) + REFERENCES [dbo].[PIMS_WORK_ACTIVITY_CODE]([ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROJECT] + ADD CONSTRAINT [PIM_REGION_PIM_PROJCT_FK] + FOREIGN KEY([REGION_CODE]) + REFERENCES [dbo].[PIMS_REGION]([REGION_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROJECT] + ADD CONSTRAINT [PIM_PRJSTS_PIM_PROJCT_FK] + FOREIGN KEY([PROJECT_STATUS_TYPE_CODE]) + REFERENCES [dbo].[PIMS_PROJECT_STATUS_TYPE]([PROJECT_STATUS_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROJECT] + ADD CONSTRAINT [PIM_COSTYP_PIM_PROJCT_FK] + FOREIGN KEY([COST_TYPE_CODE_ID]) + REFERENCES [dbo].[PIMS_COST_TYPE_CODE]([ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROJECT] + ADD CONSTRAINT [PIM_BIZFCN_PIM_PROJCT_FK] + FOREIGN KEY([BUSINESS_FUNCTION_CODE_ID]) + REFERENCES [dbo].[PIMS_BUSINESS_FUNCTION_CODE]([ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PRODUCT] + ADD CONSTRAINT [PIM_PROJCT_PIM_PRODCT_FK] + FOREIGN KEY([PARENT_PROJECT_ID]) + REFERENCES [dbo].[PIMS_PROJECT]([ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] + ADD CONSTRAINT [PIM_REGION_PIM_ACQNFL_FK] + FOREIGN KEY([REGION_CODE]) + REFERENCES [dbo].[PIMS_REGION]([REGION_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] + ADD CONSTRAINT [PIM_PROJCT_PIM_ACQNFL_FK] + FOREIGN KEY([PROJECT_ID]) + REFERENCES [dbo].[PIMS_PROJECT]([ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] + ADD CONSTRAINT [PIM_PRODCT_PIM_ACQNFL_FK] + FOREIGN KEY([PRODUCT_ID]) + REFERENCES [dbo].[PIMS_PRODUCT]([ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] + ADD CONSTRAINT [PIM_ACQTYP_PIM_ACQNFL_FK] + FOREIGN KEY([ACQUISITION_TYPE_CODE]) + REFERENCES [dbo].[PIMS_ACQUISITION_TYPE]([ACQUISITION_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] + ADD CONSTRAINT [PIM_ACQPFS_PIM_ACQNFL_FK] + FOREIGN KEY([ACQ_PHYS_FILE_STATUS_TYPE_CODE]) + REFERENCES [dbo].[PIMS_ACQ_PHYS_FILE_STATUS_TYPE]([ACQ_PHYS_FILE_STATUS_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] + ADD CONSTRAINT [PIM_ACQFTY_PIM_ACQNFL_FK] + FOREIGN KEY([ACQUISITION_FUNDING_TYPE_CODE]) + REFERENCES [dbo].[PIMS_ACQUISITION_FUNDING_TYPE]([ACQUISITION_FUNDING_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] + ADD CONSTRAINT [PIM_ACQFST_PIM_ACQNFL_FK] + FOREIGN KEY([ACQUISITION_FILE_STATUS_TYPE_CODE]) + REFERENCES [dbo].[PIMS_ACQUISITION_FILE_STATUS_TYPE]([ACQUISITION_FILE_STATUS_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE] + ADD CONSTRAINT [PIM_ACTTTY_PIM_ACTTMP_FK] + FOREIGN KEY([ACTIVITY_TEMPLATE_TYPE_CODE]) + REFERENCES [dbo].[PIMS_ACTIVITY_TEMPLATE_TYPE]([ACTIVITY_TEMPLATE_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE] + ADD CONSTRAINT [PIM_ACTTMP_PIM_ACTINS_FK] + FOREIGN KEY([ACTIVITY_TEMPLATE_ID]) + REFERENCES [dbo].[PIMS_ACTIVITY_TEMPLATE]([ACTIVITY_TEMPLATE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE] + ADD CONSTRAINT [PIM_ACTIST_PIM_ACTINS_FK] + FOREIGN KEY([ACTIVITY_INSTANCE_STATUS_TYPE_CODE]) + REFERENCES [dbo].[PIMS_ACTIVITY_INSTANCE_STATUS_TYPE]([ACTIVITY_INSTANCE_STATUS_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE] + ADD CONSTRAINT [PIM_ACTINS_PIM_ACQAIN_FK] + FOREIGN KEY([ACTIVITY_INSTANCE_ID]) + REFERENCES [dbo].[PIMS_ACTIVITY_INSTANCE]([ACTIVITY_INSTANCE_ID]) + ON DELETE CASCADE + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE] + ADD CONSTRAINT [PIM_ACQNFL_PIM_ACQAIN_FK] + FOREIGN KEY([ACQUISITION_FILE_ID]) + REFERENCES [dbo].[PIMS_ACQUISITION_FILE]([ACQUISITION_FILE_ID]) + ON DELETE CASCADE + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_DOCUMENT] + ADD CONSTRAINT [PIM_DOCTYP_PIM_DOCMNT_FK] + FOREIGN KEY([DOCUMENT_TYPE_ID]) + REFERENCES [dbo].[PIMS_DOCUMENT_TYP]([DOCUMENT_TYPE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_DOCUMENT] + ADD CONSTRAINT [PIM_DOCSTY_PIM_DOCMNT_FK] + FOREIGN KEY([DOCUMENT_STATUS_TYPE_CODE]) + REFERENCES [dbo].[PIMS_DOCUMENT_STATUS_TYPE]([DOCUMENT_STATUS_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] + ADD CONSTRAINT [PIM_DOCMNT_PIM_ACQDOC_FK] + FOREIGN KEY([DOCUMENT_ID]) + REFERENCES [dbo].[PIMS_DOCUMENT]([DOCUMENT_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_DOCUMENT] + ADD CONSTRAINT [PIM_ACQNFL_PIM_ACQDOC_FK] + FOREIGN KEY([ACQUISITION_FILE_ID]) + REFERENCES [dbo].[PIMS_ACQUISITION_FILE]([ACQUISITION_FILE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE] + ADD CONSTRAINT [PIM_NOTE_PIM_ACQNOT_FK] + FOREIGN KEY([NOTE_ID]) + REFERENCES [dbo].[PIMS_NOTE]([NOTE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE] + ADD CONSTRAINT [PIM_ACQNFL_PIM_ACQNOT_FK] + FOREIGN KEY([ACQUISITION_FILE_ID]) + REFERENCES [dbo].[PIMS_ACQUISITION_FILE]([ACQUISITION_FILE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_PERSON] + ADD CONSTRAINT [PIM_PERSON_PIM_ACQPER_FK] + FOREIGN KEY([PERSON_ID]) + REFERENCES [dbo].[PIMS_PERSON]([PERSON_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_PERSON] + ADD CONSTRAINT [PIM_AQFPPT_PIM_ACQPER_FK] + FOREIGN KEY([ACQ_FL_PERSON_PROFILE_TYPE_CODE]) + REFERENCES [dbo].[PIMS_ACQ_FL_PERSON_PROFILE_TYPE]([ACQ_FL_PERSON_PROFILE_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_PERSON] + ADD CONSTRAINT [PIM_ACQNFL_PIM_ACQPER_FK] + FOREIGN KEY([ACQUISITION_FILE_ID]) + REFERENCES [dbo].[PIMS_ACQUISITION_FILE]([ACQUISITION_FILE_ID]) + ON DELETE CASCADE + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROVINCE_STATE] + ADD CONSTRAINT [PIM_CNTRY_PIM_PROVNC_FK] + FOREIGN KEY([COUNTRY_ID]) + REFERENCES [dbo].[PIMS_COUNTRY]([COUNTRY_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ADDRESS] + ADD CONSTRAINT [PIM_REGION_PIM_ADDRSS_FK] + FOREIGN KEY([REGION_CODE]) + REFERENCES [dbo].[PIMS_REGION]([REGION_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ADDRESS] + ADD CONSTRAINT [PIM_PROVNC_PIM_ADDRSS_FK] + FOREIGN KEY([PROVINCE_STATE_ID]) + REFERENCES [dbo].[PIMS_PROVINCE_STATE]([PROVINCE_STATE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ADDRESS] + ADD CONSTRAINT [PIM_DSTRCT_PIM_ADDRSS_FK] + FOREIGN KEY([DISTRICT_CODE]) + REFERENCES [dbo].[PIMS_DISTRICT]([DISTRICT_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ADDRESS] + ADD CONSTRAINT [PIM_CNTRY_PIM_ADDRSS_FK] + FOREIGN KEY([COUNTRY_ID]) + REFERENCES [dbo].[PIMS_COUNTRY]([COUNTRY_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_OWNER] + ADD CONSTRAINT [PIM_ADDRSS_PIM_ACQOWN_FK] + FOREIGN KEY([ADDRESS_ID]) + REFERENCES [dbo].[PIMS_ADDRESS]([ADDRESS_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACQUISITION_OWNER] + ADD CONSTRAINT [PIM_ACQNFL_PIM_ACQOWN_FK] + FOREIGN KEY([ACQUISITION_FILE_ID]) + REFERENCES [dbo].[PIMS_ACQUISITION_FILE]([ACQUISITION_FILE_ID]) + ON DELETE CASCADE + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT] + ADD CONSTRAINT [PIM_DOCMNT_PIM_ACTDOC_FK] + FOREIGN KEY([DOCUMENT_ID]) + REFERENCES [dbo].[PIMS_DOCUMENT]([DOCUMENT_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT] + ADD CONSTRAINT [PIM_ACTINS_PIM_ACTDOC_FK] + FOREIGN KEY([ACTIVITY_INSTANCE_ID]) + REFERENCES [dbo].[PIMS_ACTIVITY_INSTANCE]([ACTIVITY_INSTANCE_ID]) + ON DELETE CASCADE + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE] + ADD CONSTRAINT [PIM_NOTE_PIM_ACTINN_FK] + FOREIGN KEY([NOTE_ID]) + REFERENCES [dbo].[PIMS_NOTE]([NOTE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE] + ADD CONSTRAINT [PIM_ACTINS_PIM_ACTINN_FK] + FOREIGN KEY([ACTIVITY_INSTANCE_ID]) + REFERENCES [dbo].[PIMS_ACTIVITY_INSTANCE]([ACTIVITY_INSTANCE_ID]) + ON DELETE CASCADE + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT] + ADD CONSTRAINT [PIM_DOCMNT_PIM_ACTMDO_FK] + FOREIGN KEY([DOCUMENT_ID]) + REFERENCES [dbo].[PIMS_DOCUMENT]([DOCUMENT_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT] + ADD CONSTRAINT [PIM_ACTTMP_PIM_ACTMDO_FK] + FOREIGN KEY([ACTIVITY_TEMPLATE_ID]) + REFERENCES [dbo].[PIMS_ACTIVITY_TEMPLATE]([ACTIVITY_TEMPLATE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY] + ADD CONSTRAINT [PIM_VOLUTY_PIM_PRPRTY_FK] + FOREIGN KEY([VOLUME_UNIT_TYPE_CODE]) + REFERENCES [dbo].[PIMS_VOLUME_UNIT_TYPE]([VOLUME_UNIT_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY] + ADD CONSTRAINT [PIM_SPDCLT_PIM_PRPRTY_FK] + FOREIGN KEY([SURPLUS_DECLARATION_TYPE_CODE]) + REFERENCES [dbo].[PIMS_SURPLUS_DECLARATION_TYPE]([SURPLUS_DECLARATION_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY] + ADD CONSTRAINT [PIM_REGION_PIM_PRPRTY_FK] + FOREIGN KEY([REGION_CODE]) + REFERENCES [dbo].[PIMS_REGION]([REGION_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY] + ADD CONSTRAINT [PIM_PRVOLT_PIM_PRPRTY_FK] + FOREIGN KEY([VOLUMETRIC_TYPE_CODE]) + REFERENCES [dbo].[PIMS_VOLUMETRIC_TYPE]([VOLUMETRIC_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY] + ADD CONSTRAINT [PIM_PRPTYP_PIM_PRPRTY_FK] + FOREIGN KEY([PROPERTY_TYPE_CODE]) + REFERENCES [dbo].[PIMS_PROPERTY_TYPE]([PROPERTY_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY] + ADD CONSTRAINT [PIM_PRPSTS_PIM_PRPRTY_FK] + FOREIGN KEY([PROPERTY_STATUS_TYPE_CODE]) + REFERENCES [dbo].[PIMS_PROPERTY_STATUS_TYPE]([PROPERTY_STATUS_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY] + ADD CONSTRAINT [PIM_PRPCLT_PIM_PRPRTY_FK] + FOREIGN KEY([PROPERTY_CLASSIFICATION_TYPE_CODE]) + REFERENCES [dbo].[PIMS_PROPERTY_CLASSIFICATION_TYPE]([PROPERTY_CLASSIFICATION_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY] + ADD CONSTRAINT [PIM_PPHSTT_PIM_PRPRTY_FK] + FOREIGN KEY([PPH_STATUS_TYPE_CODE]) + REFERENCES [dbo].[PIMS_PPH_STATUS_TYPE]([PPH_STATUS_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY] + ADD CONSTRAINT [PIM_PIDSRT_PIM_PRPRTY_FK] + FOREIGN KEY([PROPERTY_DATA_SOURCE_TYPE_CODE]) + REFERENCES [dbo].[PIMS_DATA_SOURCE_TYPE]([DATA_SOURCE_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY] + ADD CONSTRAINT [PIM_PERSON_PIM_PRPRTY_FK] + FOREIGN KEY([PROPERTY_MANAGER_ID]) + REFERENCES [dbo].[PIMS_PERSON]([PERSON_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY] + ADD CONSTRAINT [PIM_ORG_PIM_PRPRTY_FK] + FOREIGN KEY([PROP_MGMT_ORG_ID]) + REFERENCES [dbo].[PIMS_ORGANIZATION]([ORGANIZATION_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY] + ADD CONSTRAINT [PIM_DSTRCT_PIM_PRPRTY_FK] + FOREIGN KEY([DISTRICT_CODE]) + REFERENCES [dbo].[PIMS_DISTRICT]([DISTRICT_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY] + ADD CONSTRAINT [PIM_ARUNIT_PIM_PRPRTY_FK] + FOREIGN KEY([PROPERTY_AREA_UNIT_TYPE_CODE]) + REFERENCES [dbo].[PIMS_AREA_UNIT_TYPE]([AREA_UNIT_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY] + ADD CONSTRAINT [PIM_ADDRSS_PIM_PRPRTY_FK] + FOREIGN KEY([ADDRESS_ID]) + REFERENCES [dbo].[PIMS_ADDRESS]([ADDRESS_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE] + ADD CONSTRAINT [PIM_PRPRTY_PIM_PRACQF_FK] + FOREIGN KEY([PROPERTY_ID]) + REFERENCES [dbo].[PIMS_PROPERTY]([PROPERTY_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE] + ADD CONSTRAINT [PIM_ACQNFL_PIM_PRACQF_FK] + FOREIGN KEY([ACQUISITION_FILE_ID]) + REFERENCES [dbo].[PIMS_ACQUISITION_FILE]([ACQUISITION_FILE_ID]) + ON DELETE CASCADE + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE] + ADD CONSTRAINT [PIM_PRACQF_PIM_AIPAFL_FK] + FOREIGN KEY([PROPERTY_ACQUISITION_FILE_ID]) + REFERENCES [dbo].[PIMS_PROPERTY_ACQUISITION_FILE]([PROPERTY_ACQUISITION_FILE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE] + ADD CONSTRAINT [PIM_ACTINS_PIM_AIPAFL_FK] + FOREIGN KEY([ACTIVITY_INSTANCE_ID]) + REFERENCES [dbo].[PIMS_ACTIVITY_INSTANCE]([ACTIVITY_INSTANCE_ID]) + ON DELETE CASCADE + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] + ADD CONSTRAINT [PIM_RSRCHS_PIM_RESRCH_FK] + FOREIGN KEY([RESEARCH_FILE_STATUS_TYPE_CODE]) + REFERENCES [dbo].[PIMS_RESEARCH_FILE_STATUS_TYPE]([RESEARCH_FILE_STATUS_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] + ADD CONSTRAINT [PIM_RQSRCT_PIM_RESRCH_FK] + FOREIGN KEY([REQUEST_SOURCE_TYPE_CODE]) + REFERENCES [dbo].[PIMS_REQUEST_SOURCE_TYPE]([REQUEST_SOURCE_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] + ADD CONSTRAINT [PIM_PERSON_PIM_RESRCH_FK] + FOREIGN KEY([REQUESTOR_NAME]) + REFERENCES [dbo].[PIMS_PERSON]([PERSON_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] + ADD CONSTRAINT [PIM_ORG_PIM_RESRCH_FK] + FOREIGN KEY([REQUESTOR_ORGANIZATION]) + REFERENCES [dbo].[PIMS_ORGANIZATION]([ORGANIZATION_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_RESEARCH_FILE] + ADD CONSTRAINT [PIM_RESRCH_PIM_PRSCRC_FK] + FOREIGN KEY([RESEARCH_FILE_ID]) + REFERENCES [dbo].[PIMS_RESEARCH_FILE]([RESEARCH_FILE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_RESEARCH_FILE] + ADD CONSTRAINT [PIM_PRPRTY_PIM_PRSCRC_FK] + FOREIGN KEY([PROPERTY_ID]) + REFERENCES [dbo].[PIMS_PROPERTY]([PROPERTY_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE] + ADD CONSTRAINT [PIM_PRSCRC_PIM_AIPRFL_FK] + FOREIGN KEY([PROPERTY_RESEARCH_FILE_ID]) + REFERENCES [dbo].[PIMS_PROPERTY_RESEARCH_FILE]([PROPERTY_RESEARCH_FILE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE] + ADD CONSTRAINT [PIM_ACTINS_PIM_AIPRFL_FK] + FOREIGN KEY([ACTIVITY_INSTANCE_ID]) + REFERENCES [dbo].[PIMS_ACTIVITY_INSTANCE]([ACTIVITY_INSTANCE_ID]) + ON DELETE CASCADE + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_CONSULTATION_TYPE] + ADD CONSTRAINT [PIM_CONSTY_PIM_CONTYP_FK] + FOREIGN KEY([CONSULTATION_STATUS_TYPE_CODE]) + REFERENCES [dbo].[PIMS_CONSULTATION_STATUS_TYPE]([CONSULTATION_STATUS_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_CONTACT_METHOD] + ADD CONSTRAINT [PIM_PERSON_PIM_CNTMTH_FK] + FOREIGN KEY([PERSON_ID]) + REFERENCES [dbo].[PIMS_PERSON]([PERSON_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_CONTACT_METHOD] + ADD CONSTRAINT [PIM_ORG_PIM_CNTMTH_FK] + FOREIGN KEY([ORGANIZATION_ID]) + REFERENCES [dbo].[PIMS_ORGANIZATION]([ORGANIZATION_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_CONTACT_METHOD] + ADD CONSTRAINT [PIM_CNTMTT_PIM_CNTMTH_FK] + FOREIGN KEY([CONTACT_METHOD_TYPE_CODE]) + REFERENCES [dbo].[PIMS_CONTACT_METHOD_TYPE]([CONTACT_METHOD_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE] + ADD CONSTRAINT [PIM_REGION_PIM_LEASE_FK] + FOREIGN KEY([REGION_CODE]) + REFERENCES [dbo].[PIMS_REGION]([REGION_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE] + ADD CONSTRAINT [PIM_LSSTYP_PIM_LEASE_FK] + FOREIGN KEY([LEASE_STATUS_TYPE_CODE]) + REFERENCES [dbo].[PIMS_LEASE_STATUS_TYPE]([LEASE_STATUS_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE] + ADD CONSTRAINT [PIM_LSPRTY_PIM_LEASE_FK] + FOREIGN KEY([LEASE_PAY_RVBL_TYPE_CODE]) + REFERENCES [dbo].[PIMS_LEASE_PAY_RVBL_TYPE]([LEASE_PAY_RVBL_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE] + ADD CONSTRAINT [PIM_LSPRGT_PIM_LEASE_FK] + FOREIGN KEY([LEASE_PROGRAM_TYPE_CODE]) + REFERENCES [dbo].[PIMS_LEASE_PROGRAM_TYPE]([LEASE_PROGRAM_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE] + ADD CONSTRAINT [PIM_LSCATT_PIM_LEASE_FK] + FOREIGN KEY([LEASE_CATEGORY_TYPE_CODE]) + REFERENCES [dbo].[PIMS_LEASE_CATEGORY_TYPE]([LEASE_CATEGORY_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE] + ADD CONSTRAINT [PIM_LRESPT_PIM_LEASE_FK] + FOREIGN KEY([LEASE_RESPONSIBILITY_TYPE_CODE]) + REFERENCES [dbo].[PIMS_LEASE_RESPONSIBILITY_TYPE]([LEASE_RESPONSIBILITY_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE] + ADD CONSTRAINT [PIM_LPRPTY_PIM_LEASE_FK] + FOREIGN KEY([LEASE_PURPOSE_TYPE_CODE]) + REFERENCES [dbo].[PIMS_LEASE_PURPOSE_TYPE]([LEASE_PURPOSE_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE] + ADD CONSTRAINT [PIM_LINITT_PIM_LEASE_FK] + FOREIGN KEY([LEASE_INITIATOR_TYPE_CODE]) + REFERENCES [dbo].[PIMS_LEASE_INITIATOR_TYPE]([LEASE_INITIATOR_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE] + ADD CONSTRAINT [PIM_LELIST_PIM_LEASE_FK] + FOREIGN KEY([LEASE_LICENSE_TYPE_CODE]) + REFERENCES [dbo].[PIMS_LEASE_LICENSE_TYPE]([LEASE_LICENSE_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_INSURANCE] + ADD CONSTRAINT [PIM_LEASE_PIM_INSRNC_FK] + FOREIGN KEY([LEASE_ID]) + REFERENCES [dbo].[PIMS_LEASE]([LEASE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_INSURANCE] + ADD CONSTRAINT [PIM_INSPYT_PIM_INSRNC_FK] + FOREIGN KEY([INSURANCE_TYPE_CODE]) + REFERENCES [dbo].[PIMS_INSURANCE_TYPE]([INSURANCE_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE] + ADD CONSTRAINT [PIM_LEASE_PIM_LSACIN_FK] + FOREIGN KEY([LEASE_ID]) + REFERENCES [dbo].[PIMS_LEASE]([LEASE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE] + ADD CONSTRAINT [PIM_ACTINS_PIM_LSACIN_FK] + FOREIGN KEY([ACTIVITY_INSTANCE_ID]) + REFERENCES [dbo].[PIMS_ACTIVITY_INSTANCE]([ACTIVITY_INSTANCE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] + ADD CONSTRAINT [PIM_LEASE_PIM_LESCON_FK] + FOREIGN KEY([LEASE_ID]) + REFERENCES [dbo].[PIMS_LEASE]([LEASE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE_CONSULTATION] + ADD CONSTRAINT [PIM_CONTYP_PIM_LESCON_FK] + FOREIGN KEY([CONSULTATION_TYPE_CODE]) + REFERENCES [dbo].[PIMS_CONSULTATION_TYPE]([CONSULTATION_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] + ADD CONSTRAINT [PIM_LEASE_PIM_LESDOC_FK] + FOREIGN KEY([LEASE_ID]) + REFERENCES [dbo].[PIMS_LEASE]([LEASE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE_DOCUMENT] + ADD CONSTRAINT [PIM_DOCMNT_PIM_LESDOC_FK] + FOREIGN KEY([DOCUMENT_ID]) + REFERENCES [dbo].[PIMS_DOCUMENT]([DOCUMENT_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] + ADD CONSTRAINT [PIM_NOTE_PIM_LESNOT_FK] + FOREIGN KEY([NOTE_ID]) + REFERENCES [dbo].[PIMS_NOTE]([NOTE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE_NOTE] + ADD CONSTRAINT [PIM_LEASE_PIM_LESNOT_FK] + FOREIGN KEY([LEASE_ID]) + REFERENCES [dbo].[PIMS_LEASE]([LEASE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE_TERM] + ADD CONSTRAINT [PIM_LTRMST_PIM_LSTERM_FK] + FOREIGN KEY([LEASE_TERM_STATUS_TYPE_CODE]) + REFERENCES [dbo].[PIMS_LEASE_TERM_STATUS_TYPE]([LEASE_TERM_STATUS_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE_TERM] + ADD CONSTRAINT [PIM_LSPMTF_PIM_LSTERM_FK] + FOREIGN KEY([LEASE_PMT_FREQ_TYPE_CODE]) + REFERENCES [dbo].[PIMS_LEASE_PMT_FREQ_TYPE]([LEASE_PMT_FREQ_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE_TERM] + ADD CONSTRAINT [PIM_LEASE_PIM_LSTERM_FK] + FOREIGN KEY([LEASE_ID]) + REFERENCES [dbo].[PIMS_LEASE]([LEASE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT] + ADD CONSTRAINT [PIM_LSTERM_PIM_LSPYMT_FK] + FOREIGN KEY([LEASE_TERM_ID]) + REFERENCES [dbo].[PIMS_LEASE_TERM]([LEASE_TERM_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT] + ADD CONSTRAINT [PIM_LSPMMT_PIM_LSPYMT_FK] + FOREIGN KEY([LEASE_PAYMENT_METHOD_TYPE_CODE]) + REFERENCES [dbo].[PIMS_LEASE_PAYMENT_METHOD_TYPE]([LEASE_PAYMENT_METHOD_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT] + ADD CONSTRAINT [PIM_LPSTST_PIM_LSPYMT_FK] + FOREIGN KEY([LEASE_PAYMENT_STATUS_TYPE_CODE]) + REFERENCES [dbo].[PIMS_LEASE_PAYMENT_STATUS_TYPE]([LEASE_PAYMENT_STATUS_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] + ADD CONSTRAINT [PIM_TENTYP_PIM_TENANT_FK] + FOREIGN KEY([TENANT_TYPE_CODE]) + REFERENCES [dbo].[PIMS_TENANT_TYPE]([TENANT_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] + ADD CONSTRAINT [PIM_PERSON_PIM_TENANT_FK] + FOREIGN KEY([PERSON_ID]) + REFERENCES [dbo].[PIMS_PERSON]([PERSON_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] + ADD CONSTRAINT [PIM_PERSON_PIM_PRIMARY_CONTACT_FK] + FOREIGN KEY([PRIMARY_CONTACT_ID]) + REFERENCES [dbo].[PIMS_PERSON]([PERSON_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] + ADD CONSTRAINT [PIM_ORG_PIM_TENANT_FK] + FOREIGN KEY([ORGANIZATION_ID]) + REFERENCES [dbo].[PIMS_ORGANIZATION]([ORGANIZATION_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] + ADD CONSTRAINT [PIM_LSSRTY_PIM_TENANT_FK] + FOREIGN KEY([LESSOR_TYPE_CODE]) + REFERENCES [dbo].[PIMS_LESSOR_TYPE]([LESSOR_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] + ADD CONSTRAINT [PIM_LEASE_PIM_TENANT_FK] + FOREIGN KEY([LEASE_ID]) + REFERENCES [dbo].[PIMS_LEASE]([LEASE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_ADDRESS] + ADD CONSTRAINT [PIM_ORG_PIM_ORGADD_FK] + FOREIGN KEY([ORGANIZATION_ID]) + REFERENCES [dbo].[PIMS_ORGANIZATION]([ORGANIZATION_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_ADDRESS] + ADD CONSTRAINT [PIM_ADUSGT_PIM_ORGADD_FK] + FOREIGN KEY([ADDRESS_USAGE_TYPE_CODE]) + REFERENCES [dbo].[PIMS_ADDRESS_USAGE_TYPE]([ADDRESS_USAGE_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_ADDRESS] + ADD CONSTRAINT [PIM_ADDRSS_PIM_ORGADD_FK] + FOREIGN KEY([ADDRESS_ID]) + REFERENCES [dbo].[PIMS_ADDRESS]([ADDRESS_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PERSON_ADDRESS] + ADD CONSTRAINT [PIM_PERSON_PIM_PERADD_FK] + FOREIGN KEY([PERSON_ID]) + REFERENCES [dbo].[PIMS_PERSON]([PERSON_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PERSON_ADDRESS] + ADD CONSTRAINT [PIM_ADUSGT_PIM_PERADD_FK] + FOREIGN KEY([ADDRESS_USAGE_TYPE_CODE]) + REFERENCES [dbo].[PIMS_ADDRESS_USAGE_TYPE]([ADDRESS_USAGE_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PERSON_ADDRESS] + ADD CONSTRAINT [PIM_ADDRSS_PIM_PERADD_FK] + FOREIGN KEY([ADDRESS_ID]) + REFERENCES [dbo].[PIMS_ADDRESS]([ADDRESS_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PERSON_ORGANIZATION] + ADD CONSTRAINT [PIM_PERSON_PIM_PERORG_FK] + FOREIGN KEY([PERSON_ID]) + REFERENCES [dbo].[PIMS_PERSON]([PERSON_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PERSON_ORGANIZATION] + ADD CONSTRAINT [PIM_ORG_PIM_PERORG_FK] + FOREIGN KEY([ORGANIZATION_ID]) + REFERENCES [dbo].[PIMS_ORGANIZATION]([ORGANIZATION_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE] + ADD CONSTRAINT [PIM_RRESPT_PIM_PRSPRP_FK] + FOREIGN KEY([PROP_RESEARCH_PURPOSE_TYPE_CODE]) + REFERENCES [dbo].[PIMS_PROP_RESEARCH_PURPOSE_TYPE]([PROP_RESEARCH_PURPOSE_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE] + ADD CONSTRAINT [PIM_PRSCRC_PIM_PRSPRP_FK] + FOREIGN KEY([PROPERTY_RESEARCH_FILE_ID]) + REFERENCES [dbo].[PIMS_PROPERTY_RESEARCH_FILE]([PROPERTY_RESEARCH_FILE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_EVALUATION] + ADD CONSTRAINT [PIM_PRPRTY_PIM_PRPEVL_FK] + FOREIGN KEY([PROPERTY_ID]) + REFERENCES [dbo].[PIMS_PROPERTY]([PROPERTY_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT] + ADD CONSTRAINT [PIM_PIMPRT_PIM_PIMPRV_FK] + FOREIGN KEY([PROPERTY_IMPROVEMENT_TYPE_CODE]) + REFERENCES [dbo].[PIMS_PROPERTY_IMPROVEMENT_TYPE]([PROPERTY_IMPROVEMENT_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT] + ADD CONSTRAINT [PIM_LEASE_PIM_PIMPRV_FK] + FOREIGN KEY([LEASE_ID]) + REFERENCES [dbo].[PIMS_LEASE]([LEASE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_LEASE] + ADD CONSTRAINT [PIM_PRPRTY_PIM_PROPLS_FK] + FOREIGN KEY([PROPERTY_ID]) + REFERENCES [dbo].[PIMS_PROPERTY]([PROPERTY_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_LEASE] + ADD CONSTRAINT [PIM_LEASE_PIM_PROPLS_FK] + FOREIGN KEY([LEASE_ID]) + REFERENCES [dbo].[PIMS_LEASE]([LEASE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_LEASE] + ADD CONSTRAINT [PIM_ARUNIT_PIM_PROPLS_FK] + FOREIGN KEY([AREA_UNIT_TYPE_CODE]) + REFERENCES [dbo].[PIMS_AREA_UNIT_TYPE]([AREA_UNIT_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_ORGANIZATION] + ADD CONSTRAINT [PIM_PRPRTY_PIM_PRPORG_FK] + FOREIGN KEY([PROPERTY_ID]) + REFERENCES [dbo].[PIMS_PROPERTY]([PROPERTY_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_ORGANIZATION] + ADD CONSTRAINT [PIM_ORG_PIM_PRPORG_FK] + FOREIGN KEY([ORGANIZATION_ID]) + REFERENCES [dbo].[PIMS_ORGANIZATION]([ORGANIZATION_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_SERVICE_FILE] + ADD CONSTRAINT [PIM_PRSVFT_PIM_PRPSVC_FK] + FOREIGN KEY([PROPERTY_SERVICE_FILE_TYPE_CODE]) + REFERENCES [dbo].[PIMS_PROPERTY_SERVICE_FILE_TYPE]([PROPERTY_SERVICE_FILE_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE] + ADD CONSTRAINT [PIM_PRPSVC_PIM_PRPRSF_FK] + FOREIGN KEY([PROPERTY_SERVICE_FILE_ID]) + REFERENCES [dbo].[PIMS_PROPERTY_SERVICE_FILE]([PROPERTY_SERVICE_FILE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE] + ADD CONSTRAINT [PIM_PRPRTY_PIM_PRPRSF_FK] + FOREIGN KEY([PROPERTY_ID]) + REFERENCES [dbo].[PIMS_PROPERTY]([PROPERTY_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_TAX] + ADD CONSTRAINT [PIM_PTRMTT_PIM_PRPTAX_FK] + FOREIGN KEY([PROPERTY_TAX_REMIT_TYPE_CODE]) + REFERENCES [dbo].[PIMS_PROPERTY_TAX_REMIT_TYPE]([PROPERTY_TAX_REMIT_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROPERTY_TAX] + ADD CONSTRAINT [PIM_PRPRTY_PIM_PRPTAX_FK] + FOREIGN KEY([PROPERTY_ID]) + REFERENCES [dbo].[PIMS_PROPERTY]([PROPERTY_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ADJACENT_LAND_TYPE] + ADD CONSTRAINT [PIM_PRPRTY_PIM_PRPALT_FK] + FOREIGN KEY([PROPERTY_ID]) + REFERENCES [dbo].[PIMS_PROPERTY]([PROPERTY_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ADJACENT_LAND_TYPE] + ADD CONSTRAINT [PIM_PRADJL_PIM_PRPALT_FK] + FOREIGN KEY([PROPERTY_ADJACENT_LAND_TYPE_CODE]) + REFERENCES [dbo].[PIMS_PROPERTY_ADJACENT_LAND_TYPE]([PROPERTY_ADJACENT_LAND_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ANOMALY_TYPE] + ADD CONSTRAINT [PIM_PRPRTY_PIM_PRPRAT_FK] + FOREIGN KEY([PROPERTY_ID]) + REFERENCES [dbo].[PIMS_PROPERTY]([PROPERTY_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ANOMALY_TYPE] + ADD CONSTRAINT [PIM_PRANOM_PIM_PRPRAT_FK] + FOREIGN KEY([PROPERTY_ANOMALY_TYPE_CODE]) + REFERENCES [dbo].[PIMS_PROPERTY_ANOMALY_TYPE]([PROPERTY_ANOMALY_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ROAD_TYPE] + ADD CONSTRAINT [PIM_PRROAD_PIM_PRPRRT_FK] + FOREIGN KEY([PROPERTY_ROAD_TYPE_CODE]) + REFERENCES [dbo].[PIMS_PROPERTY_ROAD_TYPE]([PROPERTY_ROAD_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ROAD_TYPE] + ADD CONSTRAINT [PIM_PRPRTY_PIM_PRPRRT_FK] + FOREIGN KEY([PROPERTY_ID]) + REFERENCES [dbo].[PIMS_PROPERTY]([PROPERTY_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROP_PROP_TENURE_TYPE] + ADD CONSTRAINT [PIM_PRPTNR_PIM_PRPRTT_FK] + FOREIGN KEY([PROPERTY_TENURE_TYPE_CODE]) + REFERENCES [dbo].[PIMS_PROPERTY_TENURE_TYPE]([PROPERTY_TENURE_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_PROP_PROP_TENURE_TYPE] + ADD CONSTRAINT [PIM_PRPRTY_PIM_PRPRTT_FK] + FOREIGN KEY([PROPERTY_ID]) + REFERENCES [dbo].[PIMS_PROPERTY]([PROPERTY_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_REGION_USER] + ADD CONSTRAINT [PIM_USER_PIM_RGNUSR_FK] + FOREIGN KEY([USER_ID]) + REFERENCES [dbo].[PIMS_USER]([USER_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_REGION_USER] + ADD CONSTRAINT [PIM_REGION_PIM_RGNUSR_FK] + FOREIGN KEY([REGION_CODE]) + REFERENCES [dbo].[PIMS_REGION]([REGION_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE] + ADD CONSTRAINT [PIM_RESRCH_PIM_RSCHAI_FK] + FOREIGN KEY([RESEARCH_FILE_ID]) + REFERENCES [dbo].[PIMS_RESEARCH_FILE]([RESEARCH_FILE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE] + ADD CONSTRAINT [PIM_ACTINS_PIM_RSCHAI_FK] + FOREIGN KEY([ACTIVITY_INSTANCE_ID]) + REFERENCES [dbo].[PIMS_ACTIVITY_INSTANCE]([ACTIVITY_INSTANCE_ID]) + ON DELETE CASCADE + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + ADD CONSTRAINT [PIM_RESRCH_PIM_RFLDOC_FK] + FOREIGN KEY([RESEARCH_FILE_ID]) + REFERENCES [dbo].[PIMS_RESEARCH_FILE]([RESEARCH_FILE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_DOCUMENT] + ADD CONSTRAINT [PIM_DOCMNT_PIM_RFLDOC_FK] + FOREIGN KEY([DOCUMENT_ID]) + REFERENCES [dbo].[PIMS_DOCUMENT]([DOCUMENT_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + ADD CONSTRAINT [PIM_RESRCH_PIM_RFLNOT_FK] + FOREIGN KEY([RESEARCH_FILE_ID]) + REFERENCES [dbo].[PIMS_RESEARCH_FILE]([RESEARCH_FILE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_NOTE] + ADD CONSTRAINT [PIM_NOTE_PIM_RFLNOT_FK] + FOREIGN KEY([NOTE_ID]) + REFERENCES [dbo].[PIMS_NOTE]([NOTE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] + ADD CONSTRAINT [PIM_RESRCH_PIM_RFLPRJ_FK] + FOREIGN KEY([RESEARCH_FILE_ID]) + REFERENCES [dbo].[PIMS_RESEARCH_FILE]([RESEARCH_FILE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PROJECT] + ADD CONSTRAINT [PIM_PROJCT_PIM_RFLPRJ_FK] + FOREIGN KEY([PROJECT_ID]) + REFERENCES [dbo].[PIMS_PROJECT]([ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PURPOSE] + ADD CONSTRAINT [PIM_RSHPRT_PIM_RSFLPR_FK] + FOREIGN KEY([RESEARCH_PURPOSE_TYPE_CODE]) + REFERENCES [dbo].[PIMS_RESEARCH_PURPOSE_TYPE]([RESEARCH_PURPOSE_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PURPOSE] + ADD CONSTRAINT [PIM_RESRCH_PIM_RSFLPR_FK] + FOREIGN KEY([RESEARCH_FILE_ID]) + REFERENCES [dbo].[PIMS_RESEARCH_FILE]([RESEARCH_FILE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ROLE_CLAIM] + ADD CONSTRAINT [PIM_ROLE_PIM_ROLCLM_FK] + FOREIGN KEY([ROLE_ID]) + REFERENCES [dbo].[PIMS_ROLE]([ROLE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_ROLE_CLAIM] + ADD CONSTRAINT [PIM_CLMTYP_PIM_ROLCLM_FK] + FOREIGN KEY([CLAIM_ID]) + REFERENCES [dbo].[PIMS_CLAIM]([CLAIM_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT] + ADD CONSTRAINT [PIM_SECDPT_PIM_SECDEP_FK] + FOREIGN KEY([SECURITY_DEPOSIT_TYPE_CODE]) + REFERENCES [dbo].[PIMS_SECURITY_DEPOSIT_TYPE]([SECURITY_DEPOSIT_TYPE_CODE]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT] + ADD CONSTRAINT [PIM_LEASE_PIM_SECDEP_FK] + FOREIGN KEY([LEASE_ID]) + REFERENCES [dbo].[PIMS_LEASE]([LEASE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] + ADD CONSTRAINT [PIM_SECDEP_PIM_SCDPHL_FK] + FOREIGN KEY([SECURITY_DEPOSIT_ID]) + REFERENCES [dbo].[PIMS_SECURITY_DEPOSIT]([SECURITY_DEPOSIT_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] + ADD CONSTRAINT [PIM_PERSON_PIM_SCDPHL_FK] + FOREIGN KEY([PERSON_ID]) + REFERENCES [dbo].[PIMS_PERSON]([PERSON_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] + ADD CONSTRAINT [PIM_ORG_PIM_SCDPHL_FK] + FOREIGN KEY([ORGANIZATION_ID]) + REFERENCES [dbo].[PIMS_ORGANIZATION]([ORGANIZATION_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN] + ADD CONSTRAINT [PIM_SECDEP_PIM_SDRTRN_FK] + FOREIGN KEY([SECURITY_DEPOSIT_ID]) + REFERENCES [dbo].[PIMS_SECURITY_DEPOSIT]([SECURITY_DEPOSIT_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] + ADD CONSTRAINT [PIM_SDRTRN_PIM_SCDPRH_FK] + FOREIGN KEY([SECURITY_DEPOSIT_RETURN_ID]) + REFERENCES [dbo].[PIMS_SECURITY_DEPOSIT_RETURN]([SECURITY_DEPOSIT_RETURN_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] + ADD CONSTRAINT [PIM_PERSON_PIM_SCDPRH_FK] + FOREIGN KEY([PERSON_ID]) + REFERENCES [dbo].[PIMS_PERSON]([PERSON_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] + ADD CONSTRAINT [PIM_ORG_PIM_SCDPRH_FK] + FOREIGN KEY([ORGANIZATION_ID]) + REFERENCES [dbo].[PIMS_ORGANIZATION]([ORGANIZATION_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_USER_ORGANIZATION] + ADD CONSTRAINT [PIM_USER_PIM_USRORG_FK] + FOREIGN KEY([USER_ID]) + REFERENCES [dbo].[PIMS_USER]([USER_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_USER_ORGANIZATION] + ADD CONSTRAINT [PIM_ROLE_PIM_USRORG_FK] + FOREIGN KEY([ROLE_ID]) + REFERENCES [dbo].[PIMS_ROLE]([ROLE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_USER_ORGANIZATION] + ADD CONSTRAINT [PIM_ORG_PIM_USRORG_FK] + FOREIGN KEY([ORGANIZATION_ID]) + REFERENCES [dbo].[PIMS_ORGANIZATION]([ORGANIZATION_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_USER_ROLE] + ADD CONSTRAINT [PIM_USER_PIM_USERRL_FK] + FOREIGN KEY([USER_ID]) + REFERENCES [dbo].[PIMS_USER]([USER_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + +ALTER TABLE [dbo].[PIMS_USER_ROLE] + ADD CONSTRAINT [PIM_ROLE_PIM_USERRL_FK] + FOREIGN KEY([ROLE_ID]) + REFERENCES [dbo].[PIMS_ROLE]([ROLE_ID]) + ON DELETE NO ACTION + ON UPDATE NO ACTION +GO + diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/003_PSP_PIMS_ETL_Tables_Build.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/003_PSP_PIMS_ETL_Tables_Build.sql new file mode 100644 index 0000000000..f112cb8359 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/003_PSP_PIMS_ETL_Tables_Build.sql @@ -0,0 +1,322 @@ +-- **************************************************************************** +-- Script to build the required tables for the ETL error logs. +-- **************************************************************************** + +SET XACT_ABORT ON +GO +SET TRANSACTION ISOLATION LEVEL SERIALIZABLE +GO +BEGIN TRANSACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create ETL schema +IF NOT EXISTS (SELECT * + FROM sys.schemas + WHERE name = N'etl') + EXEC('CREATE SCHEMA [etl]'); +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + + +-- If there's no dbo.PIMS_DATA SOURCE_TYPE table, create the table and populate +-- from the existing dbo.PIMS_PROPERTY_DATA_SOURCE_TYPE table. +PRINT N'Create PIMS_DATA_SOURCE_TABLE' +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +IF NOT EXISTS (SELECT * + FROM information_schema.tables + where table_schema = 'dbo' + and table_name = 'PIMS_DATA_SOURCE_TYPE') + BEGIN + CREATE TABLE [dbo].[PIMS_DATA_SOURCE_TYPE] ( + [DATA_SOURCE_TYPE_CODE] NVARCHAR(20) NOT NULL, + [DESCRIPTION] NVARCHAR(200) NOT NULL, + [IS_DISABLED] BIT CONSTRAINT [PIDSRT_IS_DISABLED_DEF] DEFAULT CONVERT([bit],(0)) NOT NULL, + [DISPLAY_ORDER] INTEGER, + [CONCURRENCY_CONTROL_NUMBER] BIGINT CONSTRAINT [PIDSRT_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT 1 NOT NULL, + [DB_CREATE_TIMESTAMP] DATETIME CONSTRAINT [PIDSRT_DB_CREATE_TIMESTAMP_DEF] DEFAULT getutcdate() NOT NULL, + [DB_CREATE_USERID] NVARCHAR(30) CONSTRAINT [PIDSRT_DB_CREATE_USERID_DEF] DEFAULT user_name() NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] DATETIME CONSTRAINT [PIDSRT_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT getutcdate() NOT NULL, + [DB_LAST_UPDATE_USERID] NVARCHAR(30) CONSTRAINT [PIDSRT_DB_LAST_UPDATE_USERID_DEF] DEFAULT user_name() NOT NULL, + CONSTRAINT [PIDSRT_PK] PRIMARY KEY CLUSTERED ([DATA_SOURCE_TYPE_CODE]) + ) + END +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +IF NOT EXISTS (SELECT NULL FROM SYS.EXTENDED_PROPERTIES WHERE [major_id] = OBJECT_ID('PIMS_DATA_SOURCE_TYPE') AND [name] = N'MS_Description' AND [minor_id] = 0) + EXECUTE sp_addextendedproperty N'MS_Description', N'Describes the source system of the data (PAIMS, LIS, etc.)', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_DATA_SOURCE_TYPE', NULL, NULL +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +IF NOT EXISTS (SELECT NULL FROM SYS.EXTENDED_PROPERTIES WHERE [major_id] = OBJECT_ID('PIMS_DATA_SOURCE_TYPE') AND [name] = N'MS_Description' AND [minor_id] = (SELECT [column_id] FROM SYS.COLUMNS WHERE [name] = 'DATA_SOURCE_TYPE_CODE' AND [object_id] = OBJECT_ID('PIMS_DATA_SOURCE_TYPE'))) + EXECUTE sp_addextendedproperty N'MS_Description', N'Code value of the source system of the data (PAIMS, LIS, etc.)', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_DATA_SOURCE_TYPE', 'COLUMN', N'DATA_SOURCE_TYPE_CODE' +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +IF NOT EXISTS (SELECT NULL FROM SYS.EXTENDED_PROPERTIES WHERE [major_id] = OBJECT_ID('PIMS_DATA_SOURCE_TYPE') AND [name] = N'MS_Description' AND [minor_id] = (SELECT [column_id] FROM SYS.COLUMNS WHERE [name] = 'DESCRIPTION' AND [object_id] = OBJECT_ID('PIMS_DATA_SOURCE_TYPE'))) + EXECUTE sp_addextendedproperty N'MS_Description', N'Description of the source system of the data (PAIMS, LIS, etc.)', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_DATA_SOURCE_TYPE', 'COLUMN', N'DESCRIPTION' +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +IF NOT EXISTS (SELECT NULL FROM SYS.EXTENDED_PROPERTIES WHERE [major_id] = OBJECT_ID('PIMS_DATA_SOURCE_TYPE') AND [name] = N'MS_Description' AND [minor_id] = (SELECT [column_id] FROM SYS.COLUMNS WHERE [name] = 'IS_DISABLED' AND [object_id] = OBJECT_ID('PIMS_DATA_SOURCE_TYPE'))) + EXECUTE sp_addextendedproperty N'MS_Description', N'Indicates if the code is still in use', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_DATA_SOURCE_TYPE', 'COLUMN', N'IS_DISABLED' +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +IF NOT EXISTS (SELECT NULL FROM SYS.EXTENDED_PROPERTIES WHERE [major_id] = OBJECT_ID('PIMS_DATA_SOURCE_TYPE') AND [name] = N'MS_Description' AND [minor_id] = (SELECT [column_id] FROM SYS.COLUMNS WHERE [name] = 'DISPLAY_ORDER' AND [object_id] = OBJECT_ID('PIMS_DATA_SOURCE_TYPE'))) + EXECUTE sp_addextendedproperty N'MS_Description', N'Defines the default display order of the descriptions', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_DATA_SOURCE_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +DECLARE @RowCount INT +SET @RowCount = (SELECT COUNT(*) FROM [dbo].[PIMS_DATA_SOURCE_TYPE]) +IF @RowCount = 0 + BEGIN + INSERT INTO [dbo].[PIMS_DATA_SOURCE_TYPE] (DATA_SOURCE_TYPE_CODE, DESCRIPTION) + VALUES + (N'OPSS', N'Operational Spreadsheet'), + (N'LIS', N'Lease Information System (LIS)'), + (N'PAIMS', N'Property Acquisition and Inventory Management System (PAIMS)'), + (N'GAZ', N'BC Gazette') + END +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + + +-- Copy the contents of PIMS_PROPERTY_DATA_SOURCE_TYPE to PIMS_DATA_SOURCE_TYPE +PRINT N'Copy the contents of PIMS_PROPERTY_DATA_SOURCE_TYPE to PIMS_DATA_SOURCE_TYPE' +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +IF EXISTS (SELECT * + FROM information_schema.tables + where table_schema = 'dbo' + and table_name = 'PIMS_PROPERTY_DATA SOURCE_TYPE') + BEGIN + INSERT INTO [dbo].[PIMS_DATA_SOURCE_TYPE] (DATA_SOURCE_TYPE_CODE, DESCRIPTION, IS_DISABLED, DISPLAY_ORDER) + SELECT PROPERTY_DATA_SOURCE_TYPE_CODE + , DESCRIPTION + , IS_DISABLED + , DISPLAY_ORDER + FROM [dbo].[PIMS_PROPERTY_DATA_SOURCE_TYPE] + END +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + + +-- Drop table etl.ETL_ERROR_LOG +PRINT N'Drop table etl.ETL_ERROR_LOG' +GO +DROP TABLE IF EXISTS [etl].[ETL_ERROR_LOG] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create table etl.ETL_ERROR_LOG +PRINT N'Create table etl.ETL_ERROR_LOG' +GO +CREATE TABLE [etl].[ETL_ERROR_LOG] ( + [ERROR_TIME] DATETIME, + [ERROR_OPERATION_NAME] NVARCHAR(100), + [ERROR_TASK_NAME] NVARCHAR(100), + [ERROR_ETL_NAME] NVARCHAR(100), + [ERROR_ROW] NVARCHAR(max), + [ERROR_CODE] INTEGER, + [ERROR_COLUMN] INTEGER +) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + + +-- Drop table etl.ETL_OPERATIONAL_SS_LOAD +PRINT N'Drop table etl.ETL_OPERATIONAL_SS_LOAD' +GO +DROP TABLE IF EXISTS [etl].[ETL_OPERATIONAL_SS_LOAD] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create table etl.ETL_OPERATIONAL_SS_LOAD +PRINT N'Create table etl.ETL_OPERATIONAL_SS_LOAD' +GO +CREATE TABLE [etl].[ETL_OPERATIONAL_SS_LOAD] ( + [SS_TAB_NAME] NVARCHAR(500), + [LIS_FILE_NO] NVARCHAR(500), + [PS_FILE_NO] NVARCHAR(500), + [DISTRICT_NAME] NVARCHAR(500), + [PROGRAM_NAME] NVARCHAR(500), + [TENANT_NAME] NVARCHAR(500), + [CONTACT_NAME] NVARCHAR(500), + [CONTACT_PHONE_NO_EMAIL] NVARCHAR(500), + [PHYSICAL_FILE_EXISTS] NVARCHAR(500), + [DIGITAL_FILE_EXISTS] NVARCHAR(500), + [COMMENTS] NVARCHAR(max), + [PHYSICAL_LICENSE_COPY_EXISTS] NVARCHAR(500), + [DIGITAL_LICENSE_COPY_EXISTS] NVARCHAR(500), + [FOLIO_NO] NVARCHAR(500), + [PID] NVARCHAR(500), + [PROPERTY_LOCN_LEGAL_DESC] NVARCHAR(500), + [EXPECTED_ANNUAL_PMT_PRE_GST] NVARCHAR(500), + [PAYMENT_APR] NVARCHAR(500), + [PAYMENT_MAY] NVARCHAR(500), + [PAYMENT_JUN] NVARCHAR(500), + [PAYMENT_JUL] NVARCHAR(500), + [PAYMENT_AUG] NVARCHAR(500), + [PAYMENT_SEP] NVARCHAR(500), + [PAYMENT_OCT] NVARCHAR(500), + [PAYMENT_NOV] NVARCHAR(500), + [PAYMENT_DEC] NVARCHAR(500), + [PAYMENT_JAN] NVARCHAR(500), + [PAYMENT_FEB] NVARCHAR(500), + [PAYMENT_MAR] NVARCHAR(500), + [START_DATE] DATE, + [EXPIRY_DATE] DATE, + [NOTES] NVARCHAR(max), + [BONDING_AMOUNT_HELD] NVARCHAR(500), + [IS_INSURANCE_IN_PLACE] NVARCHAR(500), + [INSURANCE_EXPIRY_DATE] DATE, + [HAS_CHECKED_FOR_EXPIRY] NVARCHAR(500), + [ErrorCode] INTEGER, + [ErrorColumn] INTEGER +) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + + +-- Create sequence if not exists etl.ETL_DATA_SOURCE_TRACE_ID_SEQ +PRINT N'Create sequence if not exists etl.ETL_DATA_SOURCE_TRACE_ID_SEQ' +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +IF NOT EXISTS (SELECT * + FROM sys.objects + WHERE object_id = OBJECT_ID(N'[etl].[ETL_DATA_SOURCE_TRACE_ID_SEQ]') + AND type = 'SO') + CREATE SEQUENCE [etl].[ETL_DATA_SOURCE_TRACE_ID_SEQ] + AS bigint + START WITH 1 + INCREMENT BY 1 + MINVALUE 1 + MAXVALUE 2147483647 + NO CYCLE + CACHE 50 +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + + +-- Drop table etl.ETL_DATA_SOURCE_TRACE +PRINT N'Drop table etl.ETL_DATA_SOURCE_TRACE' +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +DROP TABLE IF EXISTS [etl].[ETL_DATA_SOURCE_TRACE] +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +-- Create table etl.ETL_DATA_SOURCE_TRACE +PRINT N'Create table etl.ETL_DATA_SOURCE_TRACE' +GO +CREATE TABLE [etl].[ETL_DATA_SOURCE_TRACE] ( + [DATA_SOURCE_TRACE_ID] BIGINT CONSTRAINT [SRCTRC_DATA_SOURCE_TRACE_ID_DEF] DEFAULT NEXT VALUE FOR [etl].[ETL_DATA_SOURCE_TRACE_ID_SEQ] NOT NULL, + [DATA_SOURCE_TYPE_CODE] NVARCHAR(20) NOT NULL, + [DEST_TABLE_NAME] NVARCHAR(100) NOT NULL, + [DEST_COLUMN_NAME] NVARCHAR(100) NOT NULL, + [DEST_COLUMN_VALUE] NVARCHAR(500) NOT NULL, + [SRC_TABLE_NAME] NVARCHAR(100) NOT NULL, + [SRC_COLUMN_NAME] NVARCHAR(100) NOT NULL, + [SRC_COLUMN_VALUE] NVARCHAR(500) NOT NULL, + [ErrorCode] INTEGER, + [ErrorColumn] INTEGER, + [CONCURRENCY_CONTROL_NUMBER] BIGINT CONSTRAINT [SRCTRC_CONCURRENCY_CONTROL_NUMBER_DEF] DEFAULT 1 NOT NULL, + [DB_CREATE_TIMESTAMP] DATETIME CONSTRAINT [SRCTRC_DB_CREATE_TIMESTAMP_DEF] DEFAULT getutcdate() NOT NULL, + [DB_CREATE_USERID] NVARCHAR(30) CONSTRAINT [SRCTRC_DB_CREATE_USERID_DEF] DEFAULT user_name() NOT NULL, + [DB_LAST_UPDATE_TIMESTAMP] DATETIME CONSTRAINT [SRCTRC_DB_LAST_UPDATE_TIMESTAMP_DEF] DEFAULT getutcdate() NOT NULL, + [DB_LAST_UPDATE_USERID] NVARCHAR(30) CONSTRAINT [SRCTRC_DB_LAST_UPDATE_USERID_DEF] DEFAULT user_name() NOT NULL, + CONSTRAINT [PK__ETL_DATA__BD9DF3486EC62F1C] PRIMARY KEY CLUSTERED ([DATA_SOURCE_TRACE_ID]) +) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +ALTER TABLE [etl].[ETL_DATA_SOURCE_TRACE] ADD CONSTRAINT [PIM_PIDSRT_PIM_SRCTRC_FK] + FOREIGN KEY ([DATA_SOURCE_TYPE_CODE]) REFERENCES [dbo].[PIMS_DATA_SOURCE_TYPE] ([DATA_SOURCE_TYPE_CODE]) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +CREATE NONCLUSTERED INDEX [SRCTRC_DATA_SOURCE_TYPE_CODE_IDX] ON [etl].[ETL_DATA_SOURCE_TRACE] ([DATA_SOURCE_TYPE_CODE] ASC) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +CREATE UNIQUE NONCLUSTERED INDEX [SRCTRC_DATA_SOURCE_UK] ON [etl].[ETL_DATA_SOURCE_TRACE] ([DATA_SOURCE_TYPE_CODE] ASC,[DEST_TABLE_NAME] ASC,[DEST_COLUMN_NAME] ASC,[DEST_COLUMN_VALUE] ASC) +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +EXECUTE sp_addextendedproperty N'MS_Description', N'Persistent table to trace the source of ETL data to assist in data matching.', 'SCHEMA', N'etl', 'TABLE', N'ETL_DATA_SOURCE_TRACE', NULL, NULL +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +EXECUTE sp_addextendedproperty N'MS_Description', N'The PIMS destination table name', 'SCHEMA', N'etl', 'TABLE', N'ETL_DATA_SOURCE_TRACE', 'COLUMN', N'DEST_TABLE_NAME' +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +EXECUTE sp_addextendedproperty N'MS_Description', N'The PIMS destination column name', 'SCHEMA', N'etl', 'TABLE', N'ETL_DATA_SOURCE_TRACE', 'COLUMN', N'DEST_COLUMN_NAME' +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +EXECUTE sp_addextendedproperty N'MS_Description', N'The PIMS destination column value', 'SCHEMA', N'etl', 'TABLE', N'ETL_DATA_SOURCE_TRACE', 'COLUMN', N'DEST_COLUMN_VALUE' +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +EXECUTE sp_addextendedproperty N'MS_Description', N'The data source table name', 'SCHEMA', N'etl', 'TABLE', N'ETL_DATA_SOURCE_TRACE', 'COLUMN', N'SRC_TABLE_NAME' +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +EXECUTE sp_addextendedproperty N'MS_Description', N'The data source column name', 'SCHEMA', N'etl', 'TABLE', N'ETL_DATA_SOURCE_TRACE', 'COLUMN', N'SRC_COLUMN_NAME' +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + +EXECUTE sp_addextendedproperty N'MS_Description', N'The data source column value', 'SCHEMA', N'etl', 'TABLE', N'ETL_DATA_SOURCE_TRACE', 'COLUMN', N'SRC_COLUMN_VALUE' +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + + +COMMIT TRANSACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +DECLARE @Success AS BIT +SET @Success = 1 +SET NOEXEC OFF +IF (@Success = 1) PRINT 'The database update succeeded' +ELSE BEGIN + IF @@TRANCOUNT > 0 ROLLBACK TRANSACTION + PRINT 'The database update failed' +END +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/004_PSP_PIMS_PMBC_Tables_Build.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/004_PSP_PIMS_PMBC_Tables_Build.sql new file mode 100644 index 0000000000..8e449f0e8c --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/004_PSP_PIMS_PMBC_Tables_Build.sql @@ -0,0 +1,111 @@ +-- Script generated by Aqua Data Studio Schema Synchronization for MS SQL Server 2016 on Tue Oct 05 16:47:03 PDT 2021 +-- Execute this script on: +-- PIMS_S09_01/pmbc - This database/schema will be modified +-- to synchronize it with MS SQL Server 2016: +-- PIMS_S09_02/pmbc + +-- We recommend backing up the database prior to executing the script. + +SET XACT_ABORT ON +GO +SET TRANSACTION ISOLATION LEVEL SERIALIZABLE +GO +BEGIN TRANSACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO + + +-- Create table pmbc.PMBC_PARCEL_POLYGON_FABRIC if not existing +PRINT N'Create table pmbc.PMBC_PARCEL_POLYGON_FABRIC' +GO +IF NOT EXISTS (SELECT * + FROM information_schema.tables + WHERE table_schema = 'pmbc' + AND table_name = 'PMBC_PARCEL_POLYGON_FABRIC') + BEGIN + CREATE TABLE [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ( + [PARCEL_FABRIC_POLY_ID] INTEGER NOT NULL, + [GLOBAL_UID] NVARCHAR(254), + [PARCEL_NAME] NVARCHAR(50), + [PLAN_ID] INTEGER, + [PLAN_NUMBER] NVARCHAR(128), + [PIN] INTEGER, + [PID] NVARCHAR(9), + [PID_NUMBER] INTEGER, + [SOURCE_PARCEL_ID] NVARCHAR(50), + [PARCEL_STATUS] NVARCHAR(20), + [PARCEL_CLASS] NVARCHAR(50), + [OWNER_TYPE] NVARCHAR(50), + [PARCEL_START_DATE] DATETIME, + [SURVEY_DESIGNATION_1] NVARCHAR(30), + [SURVEY_DESIGNATION_2] NVARCHAR(30), + [SURVEY_DESIGNATION_3] NVARCHAR(30), + [LEGAL_DESCRIPTION] NVARCHAR(2000), + [MUNICIPALITY] NVARCHAR(254), + [REGIONAL_DISTRICT] NVARCHAR(50), + [IS_REMAINDER_IND] NVARCHAR(3), + [GEOMETRY_SOURCE] NVARCHAR(50), + [POSITIONAL_ERROR] BIGINT, + [ERROR_REPORTED_BY] NVARCHAR(50), + [CAPTURE_METHOD] NVARCHAR(50), + [COMPILED_IND] NVARCHAR(5), + [STATED_AREA] NVARCHAR(50), + [WHEN_CREATED] DATETIME, + [WHEN_UPDATED] DATETIME, + [FEATURE_AREA_SQM] BIGINT, + [FEATURE_LENGTH_M] BIGINT, + [SHAPE] GEOMETRY, + [OBJECTID] NUMERIC(38), + [SE_ANNO_CAD_DATA] VARBINARY(max), + CONSTRAINT [PRCPLY_PK] PRIMARY KEY ([PARCEL_FABRIC_POLY_ID]) + ) + EXECUTE sp_addextendedproperty N'MS_Description', N'The ParcelMap BC (PMBC) parcel fabric contains all active titled parcels and surveyed provincial Crown land parcels in BC. For building strata parcels, there is a record, with PID value, for each parcel within the strata parcel; the geometry for those records is the geometry for the overall strata. This dataset is polygonal and contains all parcel attributes.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', NULL, NULL + EXECUTE sp_addextendedproperty N'MS_Description', N'PARCEL_FABRIC_POLY_ID is a system generated unique identification number.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'PARCEL_FABRIC_POLY_ID' + EXECUTE sp_addextendedproperty N'MS_Description', N'GLOBAL_UID is a unique global identifier (GUID) for the parcel.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'GLOBAL_UID' + EXECUTE sp_addextendedproperty N'MS_Description', N'PARCEL_NAME is the same as the PID, if there is one. If there is a PIN but no PID, then PARCEL_NAME is the PIN. If there is no PID nor PIN, then PARCEL_NAME is the parcel class value, e.g., COMMON OWNERSHIP, BUILDING STRATA, AIR SPACE, ROAD, PARK.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'PARCEL_NAME' + EXECUTE sp_addextendedproperty N'MS_Description', N'PLAN_ID is the unique identifier of the land survey plan that corresponds to this parcel.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'PLAN_ID' + EXECUTE sp_addextendedproperty N'MS_Description', N'PLAN_NUMBER is the Land Act, Land Title Act, or Strata Property Act Plan Number for the land survey plan that corresponds to this parcel, e.g., VIP1632, NO_PLAN.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'PLAN_NUMBER' + EXECUTE sp_addextendedproperty N'MS_Description', N'PIN is the Crown Land Registry Parcel Identifier, if applicable.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'PIN' + EXECUTE sp_addextendedproperty N'MS_Description', N'PID is the Land Title Register parcel identifier, a left-zero-padded nine-digit number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'PID' + EXECUTE sp_addextendedproperty N'MS_Description', N'PID_NUMBER is the PID, without leading zeroes. PID is the Land Title Register parcel identifier, a nine-digit number that uniquely identifies a parcel in the land title register of in British Columbia. The registrar assigns PID numbers to parcels for which a title is being entered as a registered title. The Land Title Act refers to the PID as the permanent parcel identifier.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'PID_NUMBER' + EXECUTE sp_addextendedproperty N'MS_Description', N'SOURCE_PARCEL_ID is the unique parcel identifier supplied by the source data provider. The value is intended to assist local governments by providing traceability back to the source data provider''s parcel ID. It will not be populated during on-going operations, e.g., DATA_NEW, CPG000050, 999, 01762.146.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'SOURCE_PARCEL_ID' + EXECUTE sp_addextendedproperty N'MS_Description', N'PARCEL_STATUS is the status of the parcel, according to the Land Title Register or Crown Land Registry, as appropriate, i.e., ACTIVE, CANCELLED, INACTIVE, PENDING.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'PARCEL_STATUS' + EXECUTE sp_addextendedproperty N'MS_Description', N'PARCEL_CLASS is the Parcel classification for maintenance, mapping, publishing and analysis, i.e., PRIMARY, SUBDIVISION, PART OF PRIMARY, BUILDING STRATA, BARE LAND STRATA, AIR SPACE, ROAD, HIGHWAY, PARK, INTEREST, COMMON OWNERSHIP, ABSOLUTE FEE BOOK, CROWN SUBDIVISION, RETURN TO CROWN.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'PARCEL_CLASS' + EXECUTE sp_addextendedproperty N'MS_Description', N'OWNER_TYPE is the general ownership category, e.g., PRIVATE, CROWN PROVINCIAL, MUNICIPAL.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'OWNER_TYPE' + EXECUTE sp_addextendedproperty N'MS_Description', N'PARCEL_START_DATE is the date of the legal event that created the parcel, i.e., the date the plan was filed.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'PARCEL_START_DATE' + EXECUTE sp_addextendedproperty N'MS_Description', N'SURVEY_DESIGNATION_1 is, typically, the smallest division of lands in a survey. If available, this is generally the Parcel from a Subdivided short legal description or the Quadrant or Block from an Unsubdivided short legal description, e.g., PARCEL A, SW4.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'SURVEY_DESIGNATION_1' + EXECUTE sp_addextendedproperty N'MS_Description', N'SURVEY_DESIGNATION_2 is, typically, the second smallest division of lands in a survey. If available, this is generally the Lot from a Subdivided short legal description or the District Lot, Lot or Section from an Unsubdivided short legal description, e.g., LOT 2.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'SURVEY_DESIGNATION_2' + EXECUTE sp_addextendedproperty N'MS_Description', N'SURVEY_DESIGNATION_3 is, typically, the third smallest division of lands in a survey. If available, this is generally the Block from a Subdivided short legal description or the Range from an Unsubdivided short legal description, e.g., BLOCK H.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'SURVEY_DESIGNATION_3' + EXECUTE sp_addextendedproperty N'MS_Description', N'LEGAL_DESCRIPTION is the full legal description of the parcel and is primarily recorded from the Land Title Register. Where recorded only in the Crown Land Registry, this attribute is to be populated from Tantalis for the fabric compilation, but maintained by PMBC during on-going operations.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'LEGAL_DESCRIPTION' + EXECUTE sp_addextendedproperty N'MS_Description', N'MUNICIPALITY is the municipal area within which the parcel is located. The value is either RURAL (for parcels in unincorporated regions) or the name of a BC municipality.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'MUNICIPALITY' + EXECUTE sp_addextendedproperty N'MS_Description', N'REGIONAL_DISTRICT is the name of the regional district in which the parcel is located, e.g., CAPITAL REGIONAL DISTRICT.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'REGIONAL_DISTRICT' + EXECUTE sp_addextendedproperty N'MS_Description', N'IS_REMAINDER_IND indicates if the parcel is a remainder of the original, i.e., YES, NO.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'IS_REMAINDER_IND' + EXECUTE sp_addextendedproperty N'MS_Description', N'GEOMETRY_SOURCE is the source of the parcel geometry data, e.g., ICIS CADASTRE, ICF, PMBC OPERATIONS.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'GEOMETRY_SOURCE' + EXECUTE sp_addextendedproperty N'MS_Description', N'POSITIONAL_ERROR is the semi-major axis at the 95% confidence level of the least accurate point of the parcel.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'POSITIONAL_ERROR' + EXECUTE sp_addextendedproperty N'MS_Description', N'ERROR_REPORTED_BY is the organization or process reporting the error, i.e., LSA, DATA COMPILATION.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'ERROR_REPORTED_BY' + EXECUTE sp_addextendedproperty N'MS_Description', N'CAPTURE_METHOD is an indicator of relative accuracy, i.e., UNKNOWN, COGO, SURVEY PLAN DATASET.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'CAPTURE_METHOD' + EXECUTE sp_addextendedproperty N'MS_Description', N'COMPILED_IND indicates if the parcel polygon was generated from inverted dimensions, i.e., True, False. "True" means that the parcel geometry was from a previous source cadastre and not precision input based on plan dimensions.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'COMPILED_IND' + EXECUTE sp_addextendedproperty N'MS_Description', N'STATED_AREA is the area of the parcel, in square metres. It is automatically calculated if misclose is small; it can be edited to reflect the recorded plan value.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'STATED_AREA' + EXECUTE sp_addextendedproperty N'MS_Description', N'WHEN_CREATED is the date and time the source record was created (not the time when it was loaded into the BC Geographic Warehouse).', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'WHEN_CREATED' + EXECUTE sp_addextendedproperty N'MS_Description', N'WHEN_UPDATED is the date and time the source record was last modified (not the time when it was loaded into, or modified in, the BC Geographic Warehouse).', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'WHEN_UPDATED' + EXECUTE sp_addextendedproperty N'MS_Description', N'FEATURE_AREA_SQM is the system calculated area of a two-dimensional polygon in square meters.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'FEATURE_AREA_SQM' + EXECUTE sp_addextendedproperty N'MS_Description', N'FEATURE_LENGTH_M is the system calculated length or perimeter of a geometry in meters.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'FEATURE_LENGTH_M' + EXECUTE sp_addextendedproperty N'MS_Description', N'SHAPE is the column used to reference the spatial coordinates defining the feature.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'SHAPE' + EXECUTE sp_addextendedproperty N'MS_Description', N'OBJECTID is a column required by spatial layers that interact with ESRI ArcSDE. It is populated with unique values automatically by SDE.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'OBJECTID' + EXECUTE sp_addextendedproperty N'MS_Description', N'SE_ANNO_CAD_DATA is a binary column used by spatial tools to store annotation, curve features and CAD data when using the SDO_GEOMETRY storage data type.', 'SCHEMA', N'pmbc', 'TABLE', N'PMBC_PARCEL_POLYGON_FABRIC', 'COLUMN', N'SE_ANNO_CAD_DATA' + END + +COMMIT TRANSACTION +GO +IF @@ERROR <> 0 SET NOEXEC ON +GO +DECLARE @Success AS BIT +SET @Success = 1 +SET NOEXEC OFF +IF (@Success = 1) PRINT 'The database update succeeded' +ELSE BEGIN + IF @@TRANCOUNT > 0 ROLLBACK TRANSACTION + PRINT 'The database update failed' +END +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/005_PSP_PIMS_PROPERTY_SPATIAL_IDX.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/005_PSP_PIMS_PROPERTY_SPATIAL_IDX.sql new file mode 100644 index 0000000000..b40eb07237 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/005_PSP_PIMS_PROPERTY_SPATIAL_IDX.sql @@ -0,0 +1,9 @@ +CREATE SPATIAL INDEX [PRPRTY_BOUNDARY_IDX] ON [dbo].[PIMS_PROPERTY] (BOUNDARY) + USING GEOMETRY_AUTO_GRID + WITH (BOUNDING_BOX =( XMIN =200000, YMIN =300000, XMAX =1900000, YMAX =1800000 )) +GO + +CREATE SPATIAL INDEX [PRPRTY_LOCATION_IDX] ON [dbo].[PIMS_PROPERTY] (LOCATION) + USING GEOMETRY_AUTO_GRID + WITH (BOUNDING_BOX =( XMIN =200000, YMIN =300000, XMAX =1900000, YMAX =1800000 )) +GO \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/006_PSP_PIMS_PMBC_INDICES.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/006_PSP_PIMS_PMBC_INDICES.sql new file mode 100644 index 0000000000..1cc9e315ed --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/006_PSP_PIMS_PMBC_INDICES.sql @@ -0,0 +1,10 @@ +CREATE NONCLUSTERED INDEX [PLYFAB_PID_NUMBER_IDX] ON [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PID_NUMBER] ASC) +GO + +CREATE NONCLUSTERED INDEX [PLYFAB_PLAN_NUMBER_IDX] ON [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PLAN_NUMBER] ASC) +GO + +CREATE SPATIAL INDEX [PLYFAB_SHAPE_IDX] ON [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] (SHAPE) + USING GEOMETRY_AUTO_GRID + WITH (BOUNDING_BOX =( XMIN =200000, YMIN =300000, XMAX =1900000, YMAX =1800000 )) +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/020_DML_PIMS_STATIC_VARIABLE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/020_DML_PIMS_STATIC_VARIABLE.sql new file mode 100644 index 0000000000..ebc6704a0e --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/020_DML_PIMS_STATIC_VARIABLE.sql @@ -0,0 +1,17 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_STATIC_VARIABLE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_STATIC_VARIABLE +GO + +INSERT INTO PIMS_STATIC_VARIABLE (STATIC_VARIABLE_NAME, STATIC_VARIABLE_VALUE) +VALUES + (N'DBVERSION', N'47.00'), + (N'GST', N'5.0'), + (N'FYSTART', N'01/04/2020'), + (N'FYEND', N'31/03/2021'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/030_DML_PIMS_ADDRESS_USAGE_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/030_DML_PIMS_ADDRESS_USAGE_TYPE.sql new file mode 100644 index 0000000000..a5c8d74162 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/030_DML_PIMS_ADDRESS_USAGE_TYPE.sql @@ -0,0 +1,29 @@ +/* ----------------------------------------------------------------------------- +Disable all existing data on the PIMS_ADDRESS_USAGE_TYPE table and insert new +usage type codes. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Jul-09 Initial version +----------------------------------------------------------------------------- */ + +-- Set all current address usage type codes to disabled. +UPDATE PIMS_ADDRESS_USAGE_TYPE +SET IS_DISABLED = CONVERT([bit],(1)) + , CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1 +WHERE ADDRESS_USAGE_TYPE_CODE <> 'UNKNOWN'; +GO + +-- Insert the new address usage type codes into the table. +INSERT INTO PIMS_ADDRESS_USAGE_TYPE (ADDRESS_USAGE_TYPE_CODE, DESCRIPTION, IS_DISABLED) +VALUES + (N'MAILADDR', N'Mailing address', CONVERT([bit],(1))), + (N'INSURE', N'Proof of insurance address', CONVERT([bit],(1))), + (N'RENTAL', N'Rental payment address', CONVERT([bit],(1))), + (N'PROPNOTIFY', N'Property notification address', CONVERT([bit],(1))), + (N'PHYSADDR', N'Physical address', CONVERT([bit],(1))), + (N'MAILING', N'Mailing address', CONVERT([bit],(0))), + (N'BILLING', N'Billing address', CONVERT([bit],(0))), + (N'RESIDNT', N'Property address', CONVERT([bit],(0))), + (N'ETLUNKN ', N'ETL unknown address', CONVERT([bit],(0))), + (N'UNKNOWN', N'Unknown address type', CONVERT([bit],(0))); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/031_DML_PIMS_AREA_UNIT_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/031_DML_PIMS_AREA_UNIT_TYPE.sql new file mode 100644 index 0000000000..e6bf1acf0b --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/031_DML_PIMS_AREA_UNIT_TYPE.sql @@ -0,0 +1,17 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_AREA_UNIT_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Jul-09 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_AREA_UNIT_TYPE +GO + +INSERT INTO PIMS_AREA_UNIT_TYPE (AREA_UNIT_TYPE_CODE, DESCRIPTION) +VALUES + (N'HA', N'Hectares'), + (N'ACRE', N'Acres'), + (N'M2', N'Meters sq'), + (N'FEET2', N'Feet sq'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/032_DML_PIMS_PROPERTY_TENURE_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/032_DML_PIMS_PROPERTY_TENURE_TYPE.sql new file mode 100644 index 0000000000..851bb254d8 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/032_DML_PIMS_PROPERTY_TENURE_TYPE.sql @@ -0,0 +1,24 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_PROPERTY_TENURE_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Jul-09 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_PROPERTY_TENURE_TYPE +GO + +INSERT INTO PIMS_PROPERTY_TENURE_TYPE (PROPERTY_TENURE_TYPE_CODE, DESCRIPTION, IS_DISABLED) +VALUES + (N'PL', N'Payable Contract', CONVERT([bit],(1))), + (N'TM', N'Titled Land - MoTI', CONVERT([bit],(1))), + (N'CL', N'Crown Land Reserve', CONVERT([bit],(1))), + (N'TT', N'Titled Land - TFA', CONVERT([bit],(1))), + (N'RW', N'Right of Way', CONVERT([bit],(1))), + (N'CR', N'Closed Road', CONVERT([bit],(1))), + (N'HWYROAD', N'Highway/Road', CONVERT([bit],(0))), + (N'ADJLAND', N'Adjacent Land', CONVERT([bit],(0))), + (N'CLOSEDRD', N'Closed Road', CONVERT([bit],(0))), + (N'UNKNOWN', N'Unknown', CONVERT([bit],(0))); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/033_DML_PIMS_PROPERTY_SERVICE_FILE_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/033_DML_PIMS_PROPERTY_SERVICE_FILE_TYPE.sql new file mode 100644 index 0000000000..61ee122fa0 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/033_DML_PIMS_PROPERTY_SERVICE_FILE_TYPE.sql @@ -0,0 +1,24 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_PROPERTY_SERVICE_FILE_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Jul-16 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_PROPERTY_SERVICE_FILE_TYPE +GO + +INSERT INTO PIMS_PROPERTY_SERVICE_FILE_TYPE (PROPERTY_SERVICE_FILE_TYPE_CODE, DESCRIPTION) +VALUES + (N'WATERTEST', N'Test Water'), + (N'MUNGARBAGE', N'Municipal Garbage'), + (N'ACCESS', N'Access'), + (N'NOACCESS', N'No Access'), + (N'MUNWATER', N'Municipal Water'), + (N'ELECTRIC', N'Electricity'), + (N'MUNSEWER', N'Municipal Sewer'), + (N'PHONE', N'Phone'), + (N'GAS', N'Gas'), + (N'SEPTIC', N'Septic'), + (N'WELL', N'Well'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/040_DML_PIMS_CONTACT_METHOD_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/040_DML_PIMS_CONTACT_METHOD_TYPE.sql new file mode 100644 index 0000000000..8b38572e91 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/040_DML_PIMS_CONTACT_METHOD_TYPE.sql @@ -0,0 +1,20 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_CONTACT_METHOD_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Jul-16 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_CONTACT_METHOD_TYPE +GO + +INSERT INTO PIMS_CONTACT_METHOD_TYPE (CONTACT_METHOD_TYPE_CODE, DESCRIPTION) +VALUES + (N'FAX', N'Facsimile machine'), + (N'PERSMOBIL', N'Personal mobile phone'), + (N'PERSPHONE', N'Personal phone'), + (N'WORKMOBIL', N'Work mobile phone'), + (N'WORKPHONE', N'Work phone'), + (N'PERSEMAIL', N'Personal email'), + (N'WORKEMAIL', N'Work email'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/041_DML_PIMS_ORGANIZATION_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/041_DML_PIMS_ORGANIZATION_TYPE.sql new file mode 100644 index 0000000000..0eb1e966c3 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/041_DML_PIMS_ORGANIZATION_TYPE.sql @@ -0,0 +1,22 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_ORGANIZATION_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Jul-16 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_ORGANIZATION_TYPE +GO + +INSERT INTO PIMS_ORGANIZATION_TYPE (ORGANIZATION_TYPE_CODE, DESCRIPTION) +VALUES + (N'FIRSTNAT', N'First Nations'), + (N'REALTOR', N'Real estate corporation'), + (N'PRIVATE', N'Private owner'), + (N'RAILWAY', N'Railway corporation'), + (N'OTHER', N'Other'), + (N'BCMIN', N'BC Ministry'), + (N'BCREG', N'BC Regional Office'), + (N'BCDIST', N'BC District Office'), + (N'PARTNER', N'Partnership'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/042_DML_PIMS_ACCESS_REQUEST_STATUS_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/042_DML_PIMS_ACCESS_REQUEST_STATUS_TYPE.sql new file mode 100644 index 0000000000..7e638bca75 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/042_DML_PIMS_ACCESS_REQUEST_STATUS_TYPE.sql @@ -0,0 +1,20 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_ACCESS_REQUEST_STATUS_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Jul-16 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_ACCESS_REQUEST_STATUS_TYPE +GO + +INSERT INTO PIMS_ACCESS_REQUEST_STATUS_TYPE (ACCESS_REQUEST_STATUS_TYPE_CODE, DESCRIPTION) +VALUES + (N'INITIATED', N'Access Request initiated but receipt not acknowedged'), + (N'RECEIVED', N'Access Request confirmed received'), + (N'UNDERREVIEW', N'Access Request under review'), + (N'REVIEWCOMPLETE', N'Access Request review compleeted'), + (N'MOREINFO', N'Access Request requires additional information'), + (N'APPROVED', N'Access Request approved'), + (N'DENIED', N'Access Request denied'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/043_DML_PIMS_PROPERTY_CLASSIFICATION_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/043_DML_PIMS_PROPERTY_CLASSIFICATION_TYPE.sql new file mode 100644 index 0000000000..da12e50aa6 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/043_DML_PIMS_PROPERTY_CLASSIFICATION_TYPE.sql @@ -0,0 +1,21 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_PROPERTY_CLASSIFICATION_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Jul-16 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_PROPERTY_CLASSIFICATION_TYPE +GO + +INSERT INTO PIMS_PROPERTY_CLASSIFICATION_TYPE (PROPERTY_CLASSIFICATION_TYPE_CODE, DESCRIPTION, DISPLAY_ORDER) +VALUES + (N'COREOPER', N'Core Operational', 1), + (N'CORESTRAT', N'Core Strategic', 2), + (N'SURPACTIVE', N'Surplus Active', 3), + (N'SURPENCUM', N'Surplus Encumbered', 4), + (N'DISPOSED', N'Disposed', 5), + (N'DEMOLISHED', N'Demolished', 6), + (N'SUBDIVIDED', N'Subdivided', 7), + (N'UNKNOWN', N'Unknown', 8); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/044_DML_PIMS_PROPERTY_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/044_DML_PIMS_PROPERTY_TYPE.sql new file mode 100644 index 0000000000..1bc36dc45e --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/044_DML_PIMS_PROPERTY_TYPE.sql @@ -0,0 +1,26 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_PROPERTY_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2022-Mar-09 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_PROPERTY_TYPE +GO + +INSERT INTO PIMS_PROPERTY_TYPE (PROPERTY_TYPE_CODE, DESCRIPTION, IS_DISABLED) +VALUES + (N'LAND', N'Land', CONVERT([bit],(1))), + (N'BUILD', N'Buiding', CONVERT([bit],(1))), + (N'SUBDIV', N'Subdivison', CONVERT([bit],(1))), + (N'TITLED', N'Titled', CONVERT([bit],(0))), + (N'HWYROAD', N'Hwy / Road', CONVERT([bit],(0))), + (N'STRATACP', N'Strata Common Property', CONVERT([bit],(0))), + (N'CROWNPSRVD', N'Crown - Provincial - Surveyed', CONVERT([bit],(0))), + (N'CROWNPUSRVD', N'Crown - Provincial - Unsurveyed', CONVERT([bit],(0))), + (N'CROWNFSRVD', N'Crown - Federal - Surveyed', CONVERT([bit],(0))), + (N'CROWNFUSRVD', N'Crown - Federal - Unsurveyed', CONVERT([bit],(0))), + (N'RESERVE', N'Reserve (IR)', CONVERT([bit],(0))), + (N'PARKS', N'Parks', CONVERT([bit],(0))), + (N'UNKNOWN', N'Unknown', CONVERT([bit],(0))); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/045_DML_PIMS_COUNTRY.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/045_DML_PIMS_COUNTRY.sql new file mode 100644 index 0000000000..83e54ae1ad --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/045_DML_PIMS_COUNTRY.sql @@ -0,0 +1,20 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_COUNTRY table and repopulate. + +*** NOTE *** +The PIMS_PROVINCE_STATE table must be empty due to a foreign key dependency. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Jul-09 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_COUNTRY +GO + +INSERT INTO PIMS_COUNTRY (COUNTRY_ID, COUNTRY_CODE, DESCRIPTION, DISPLAY_ORDER) +VALUES + (1, N'CA', N'Canada', 1), + (2, N'US', N'United States of America', 2), + (3, N'MX', N'Mexico', 3), + (4, N'OTHER', N'Other', 99); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/046_DML_PIMS_PROVINCE_STATE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/046_DML_PIMS_PROVINCE_STATE.sql new file mode 100644 index 0000000000..82f7b44dc8 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/046_DML_PIMS_PROVINCE_STATE.sql @@ -0,0 +1,81 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_PROVINCE_STATE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Jul-09 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_PROVINCE_STATE +GO + +INSERT INTO PIMS_PROVINCE_STATE (PROVINCE_STATE_ID, PROVINCE_STATE_CODE, DESCRIPTION, COUNTRY_ID, DISPLAY_ORDER) +VALUES + (1, N'BC', N'British Columbia', 1, 10), + (2, N'AB', N'Alberta', 1, 20), + (3, N'MB', N'Manitoba', 1, 30), + (4, N'NL', N'Newfoundland', 1, 40), + (5, N'NB', N'New Brunswick', 1, 50), + (6, N'NS', N'Nova Scotia', 1, 60), + (7, N'NT', N'North West Territories', 1, 70), + (8, N'NU', N'Nunavut', 1, 80), + (9, N'ON', N'Ontario', 1, 90), + (10, N'PE', N'Prince Edward Island', 1, 100), + (11, N'QC', N'Quebec', 1, 110), + (12, N'SK', N'Saskatchewan', 1, 120), + (13, N'YT', N'Yukon Territory', 1, 130), + (14, N'AK', N'Alaska', 2, 140), + (15, N'AL', N'Alabama', 2, 150), + (16, N'AR', N'Arkansas', 2, 160), + (17, N'AZ', N'Arizona', 2, 170), + (18, N'CA', N'California', 2, 180), + (19, N'CO', N'Colorado', 2, 190), + (20, N'CT', N'Connecticut', 2, 200), + (21, N'DC', N'District Of Columbia', 2, 210), + (22, N'DE', N'Delaware', 2, 220), + (23, N'FL', N'Florida', 2, 230), + (24, N'GA', N'Georgia', 2, 240), + (25, N'HI', N'Hawaii', 2, 250), + (26, N'IA', N'Iowa', 2, 260), + (27, N'ID', N'Idaho', 2, 270), + (28, N'IL', N'Illinois', 2, 280), + (29, N'IN', N'Indiana', 2, 290), + (30, N'KS', N'Kansas', 2, 300), + (31, N'KY', N'Kentucky', 2, 310), + (32, N'LA', N'Louisiana', 2, 320), + (33, N'MA', N'Massachusetts', 2, 330), + (34, N'MD', N'Maryland', 2, 340), + (35, N'ME', N'Maine', 2, 350), + (36, N'MI', N'Michigan', 2, 360), + (37, N'MN', N'Minnesota', 2, 370), + (38, N'MO', N'Missouri', 2, 380), + (39, N'MS', N'Mississippi', 2, 390), + (40, N'MT', N'Montana', 2, 400), + (41, N'NC', N'North Carolina', 2, 410), + (42, N'ND', N'North Dakota', 2, 420), + (43, N'NE', N'Nebraska', 2, 430), + (44, N'NH', N'New Hampshire', 2, 440), + (45, N'NJ', N'New Jersey', 2, 450), + (46, N'NM', N'New Mexico', 2, 460), + (47, N'NV', N'Nevada', 2, 470), + (48, N'NY', N'New York', 2, 480), + (49, N'OH', N'Ohio', 2, 490), + (50, N'OK', N'Oklahoma', 2, 500), + (51, N'OR', N'Oregon', 2, 510), + (52, N'PA', N'Pennsylvania', 2, 520), + (53, N'RI', N'Rhode Island', 2, 530), + (54, N'SC', N'South Carolina', 2, 540), + (55, N'SD', N'South Dakota', 2, 550), + (56, N'TN', N'Tennessee', 2, 560), + (57, N'TX', N'Texas', 2, 570), + (58, N'UT', N'Utah', 2, 580), + (59, N'VA', N'Virginia', 2, 590), + (60, N'VT', N'Vermont', 2, 600), + (61, N'WA', N'Washington', 2, 610), + (62, N'WI', N'Wisconsin', 2, 620), + (63, N'WV', N'West Virginia', 2, 630), + (64, N'WY', N'Wyoming', 2, 640), + (65, N'MX', N'Mexico', 3, 900), + (78, N'OTHER', N'Other', 4, 99995), + (79, N'XX', N'Unknown', 4, 99999); +GO \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/047_DML_PIMS_REGION.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/047_DML_PIMS_REGION.sql new file mode 100644 index 0000000000..4962206920 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/047_DML_PIMS_REGION.sql @@ -0,0 +1,21 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_REGION table and repopulate. + +*** NOTE *** +The PIMS_DISTRICT table must be empty due to a foreign key dependency. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Jul-09 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_REGION; +GO + +INSERT INTO PIMS_REGION (REGION_CODE, REGION_NAME) +VALUES + (1, N'South Coast Region'), + (2, N'Southern Interior Region'), + (3, N'Northern Region'), + (4, N'Cannot determine'); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/048_DML_PIMS_DISTRICT.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/048_DML_PIMS_DISTRICT.sql new file mode 100644 index 0000000000..0ee182dd50 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/048_DML_PIMS_DISTRICT.sql @@ -0,0 +1,26 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_DISTRICT table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Jul-09 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_DISTRICT; +GO + +INSERT INTO PIMS_DISTRICT (DISTRICT_CODE, REGION_CODE, DISTRICT_NAME) +VALUES + (1, 1, N'Lower Mainland District'), + (2, 1, N'Vancouver Island District'), + (3, 2, N'Rocky Mountain District'), + (4, 2, N'West Kootenay District'), + (5, 2, N'Okanagan-Shuswap District'), + (6, 2, N'Thompson-Nicola District'), + (7, 2, N'Cariboo District'), + (8, 3, N'Peace District'), + (9, 3, N'Fort George District'), + (10, 3, N'Bulkley-Stikine District'), + (11, 3, N'Skeena District'), + (12, 4, N'Cannot determine'); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/049_DML_PIMS_PROPERTY_DATA_SOURCE_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/049_DML_PIMS_PROPERTY_DATA_SOURCE_TYPE.sql new file mode 100644 index 0000000000..6d4d688286 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/049_DML_PIMS_PROPERTY_DATA_SOURCE_TYPE.sql @@ -0,0 +1,18 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_DATA_SOURCE_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Jul-16 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_DATA_SOURCE_TYPE +GO + +INSERT INTO PIMS_DATA_SOURCE_TYPE (DATA_SOURCE_TYPE_CODE, DESCRIPTION) +VALUES + (N'OPSS', N'Operational Spreadsheet'), + (N'LIS', N'Lease Information System (LIS)'), + (N'PAIMS', N'Property Acquisition and Inventory Management System (PAIMS)'), + (N'GAZ', N'BC Gazette'), + (N'PMBC', N'ParcelMap BC'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/050_DML_PIMS_ORG_IDENTIFIER_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/050_DML_PIMS_ORG_IDENTIFIER_TYPE.sql new file mode 100644 index 0000000000..21f8b9af38 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/050_DML_PIMS_ORG_IDENTIFIER_TYPE.sql @@ -0,0 +1,17 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_ORG_IDENTIFIER_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Jul-16 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_ORG_IDENTIFIER_TYPE +GO + +INSERT INTO PIMS_ORG_IDENTIFIER_TYPE (ORG_IDENTIFIER_TYPE_CODE, DESCRIPTION) +VALUES + (N'BCeIDBUSINESS', N'A BC electronic identifier that allows businesses to connect to the BC Government to manage a variety of company information'), + (N'GUID', N'A global unique identifier for an Organization that is a user of the Property Information Management System'), + (N'GOV', N'A Government organization identifier'), + (N'OTHINCORPNO', N'Other form of identifier for an Organization'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/051_DML_PIMS_ROLE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/051_DML_PIMS_ROLE.sql new file mode 100644 index 0000000000..b2d7141df6 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/051_DML_PIMS_ROLE.sql @@ -0,0 +1,14 @@ +DELETE FROM PIMS_ROLE +GO + +INSERT INTO PIMS_ROLE (ROLE_UID, NAME, DESCRIPTION, IS_PUBLIC, IS_DISABLED, SORT_ORDER, APP_CREATE_TIMESTAMP, APP_CREATE_USERID, APP_CREATE_USER_DIRECTORY, APP_LAST_UPDATE_TIMESTAMP, APP_LAST_UPDATE_USERID, APP_LAST_UPDATE_USER_DIRECTORY) +VALUES + (NEWID(), N'System Administrator', N'System Administrator of the PIMS solution.', CONVERT([bit],(0)), CONVERT([bit],(0)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (NEWID(), N'Organization Administrator', N'Administrator of the user''s organization.', CONVERT([bit],(0)), CONVERT([bit],(1)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (NEWID(), N'Undetermined', N'The user has an undetermined role with their organization.', CONVERT([bit],(0)), CONVERT([bit],(1)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (NEWID(), N'Real Estate Manager', N'Real Estate Manager can manage properties within their agency.', CONVERT([bit],(1)), CONVERT([bit],(1)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (NEWID(), N'Real Estate Analyst', N'Real Estate Analyst can manage properties within their organization.', CONVERT([bit],(1)), CONVERT([bit],(1)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (NEWID(), N'Finance', N'Finance team members.', CONVERT([bit],(1)), CONVERT([bit],(0)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (NEWID(), N'Functional', N'PLMB staff (includes team members from HQ, regions and districts).', CONVERT([bit],(1)), CONVERT([bit],(0)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (NEWID(), N'Functional (Restricted)', N'Contractors, Internal ministry staff.', CONVERT([bit],(1)), CONVERT([bit],(0)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (NEWID(), N'Read Only', N'Other ministries (e.g. Attorney General).', CONVERT([bit],(1)), CONVERT([bit],(0)), 0, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/052_DML_PIMS_PROPERTY_STATUS_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/052_DML_PIMS_PROPERTY_STATUS_TYPE.sql new file mode 100644 index 0000000000..196825d344 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/052_DML_PIMS_PROPERTY_STATUS_TYPE.sql @@ -0,0 +1,20 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_PROPERTY_STATUS_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_PROPERTY_STATUS_TYPE +GO + +INSERT INTO PIMS_PROPERTY_STATUS_TYPE (PROPERTY_STATUS_TYPE_CODE, DESCRIPTION) +VALUES + (N'ARTHWY', N'Arterial highway'), + (N'FEESIMP', N'Fee simple'), + (N'CROWNLND', N'Crown land'), + (N'MOTIADMIN', N'Under MoTI administration'), + (N'UNSURVYED', N'Unsurveyed travelled road (i.e. Section42)'), + (N'UNDERSCRUT', N'Properties under scrutiny'), + (N'UNKNOWN', N'Unknown'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/053_DML_PIMS_LEASE_PAY_RVBL_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/053_DML_PIMS_LEASE_PAY_RVBL_TYPE.sql new file mode 100644 index 0000000000..f327db9235 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/053_DML_PIMS_LEASE_PAY_RVBL_TYPE.sql @@ -0,0 +1,16 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_LEASE_PAY_RVBL_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_LEASE_PAY_RVBL_TYPE +GO + +INSERT INTO PIMS_LEASE_PAY_RVBL_TYPE (LEASE_PAY_RVBL_TYPE_CODE, DESCRIPTION) +VALUES + (N'RCVBL', N'Receivable'), + (N'PYBLMOTI', N'Payable (MOTI as tenant)'), + (N'PYBLBCTFA', N'Payable (BCTFA as tenant)'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/054_DML_PIMS_LEASE_LICENSE_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/054_DML_PIMS_LEASE_LICENSE_TYPE.sql new file mode 100644 index 0000000000..bc2976bb34 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/054_DML_PIMS_LEASE_LICENSE_TYPE.sql @@ -0,0 +1,27 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_LEASE_LICENSE_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_LEASE_LICENSE_TYPE +GO + +INSERT INTO PIMS_LEASE_LICENSE_TYPE (LEASE_LICENSE_TYPE_CODE, DESCRIPTION) +VALUES + (N'LSREG', N'Lease - Registered'), + (N'LSUNREG', N'Lease - Unregistered'), + (N'LSGRND', N'Ground Lease'), + (N'LIOCCTTLD', N'License of Occupation (titled)'), + (N'LIOCCUSE', N'License of Occupation (use)'), + (N'LIOCCACCS', N'License of Occupation (access)'), + (N'LIOCCUTIL', N'License of Occupation (utilities)'), + (N'LICONSTRC', N'License to Construct'), + (N'LIPPUBHWY', N'License of Prov Public Highway'), + (N'RESLNDTEN', N'Residential Tenancy Act'), + (N'LIMOTIPRJ', N'MOTI Project Use License'), + (N'MANUFHOME', N'Manufactured Home Act'), + (N'ROADXING', N'Road Crossing'), + (N'OTHER', N'Other'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/055_DML_PIMS_LEASE_CATEGORY_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/055_DML_PIMS_LEASE_CATEGORY_TYPE.sql new file mode 100644 index 0000000000..84c120f8af --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/055_DML_PIMS_LEASE_CATEGORY_TYPE.sql @@ -0,0 +1,19 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_LEASE_CATEGORY_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_LEASE_CATEGORY_TYPE +GO + +INSERT INTO PIMS_LEASE_CATEGORY_TYPE (LEASE_CATEGORY_TYPE_CODE, DESCRIPTION) +VALUES + (N'RESID', N'Residential'), + (N'COMM', N'Commercial'), + (N'INDUS', N'Industrial'), + (N'AGRIC', N'Agricultural'), + (N'OTHER', N'Other'), + (N'GOVGOV', N'Gov''t to Gov''t'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/056_DML_PIMS_LEASE_PURPOSE_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/056_DML_PIMS_LEASE_PURPOSE_TYPE.sql new file mode 100644 index 0000000000..2b92249fd9 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/056_DML_PIMS_LEASE_PURPOSE_TYPE.sql @@ -0,0 +1,52 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_LEASE_PURPOSE_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_LEASE_PURPOSE_TYPE +GO + +INSERT INTO PIMS_LEASE_PURPOSE_TYPE (LEASE_PURPOSE_TYPE_CODE, DESCRIPTION) +VALUES + (N'ACCRES', N'Access (Residential)'), + (N'ACCCCOM', N'Access (Industrial/Commercial)'), + (N'AGRIC', N'Agricultural'), + (N'COMMBLDG', N'Commercial Building'), + (N'CAMPING', N'Camping'), + (N'XING', N'Crossing'), + (N'ENCROACH', N'Encroachment'), + (N'FENCEGATE', N'Fencing/Gate'), + (N'MARINEFAC', N'Marine Facility'), + (N'EMERGSVCS', N'Emergency Services'), + (N'BCFERRIES', N'BC Ferries'), + (N'GARDENING', N'Gardening'), + (N'GRAVEL', N'Gravel'), + (N'GRAZING', N'Grazing'), + (N'SIDEWALK', N'Sidewalks/Landscaping'), + (N'LOGGING', N'Logging/Timber Harvest'), + (N'MTCYARD', N'Maintenance Yard'), + (N'MOBILEHM', N'Mobile Home Pad'), + (N'OTHER', N'Other*'), + (N'PARK', N'Park'), + (N'PARKNRID', N'Park and Ride'), + (N'PARKING', N'Parking'), + (N'PIPELINE', N'Pipeline'), + (N'PRVTRANS', N'Private transportation'), + (N'PRELOAD', N'Preload'), + (N'RAILWAY', N'Railway'), + (N'RESTAREA', N'Rest Area/Pullout'), + (N'SIGNAGE', N'Signage'), + (N'SPCLEVNT', N'Special Event'), + (N'STGNGAREA', N'Staging Area'), + (N'STKPILING', N'Stockpiling'), + (N'STORAGE', N'Storage'), + (N'TOURINFO', N'Tourist Info'), + (N'TRAIL', N'Trail'), + (N'UTILINFRA', N'Utilities-infrastructure'), + (N'UTILOHDXG', N'Utilities-overhead xing'), + (N'UTILUGDXG', N'Utilities-underground xing'), + (N'WATERRES', N'Water Reservoir'), + (N'WEIGHSCL', N'Weigh Scale'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/057_DML_PIMS_LEASE_PROGRAM_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/057_DML_PIMS_LEASE_PROGRAM_TYPE.sql new file mode 100644 index 0000000000..00dbe15bff --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/057_DML_PIMS_LEASE_PROGRAM_TYPE.sql @@ -0,0 +1,24 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_LEASE_PROGRAM_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_LEASE_PROGRAM_TYPE +GO + +INSERT INTO PIMS_LEASE_PROGRAM_TYPE (LEASE_PROGRAM_TYPE_CODE, DESCRIPTION) +VALUES + (N'BCFERRIES', N'BC Ferries'), + (N'BCTRANSIT', N'BC Transit'), + (N'BELLETERM', N'Belleville Terminal'), + (N'COMMBLDG', N'Commercial Buildings'), + (N'LCLGOVT', N'Local Government/RCMP'), + (N'OTHER', N'Other Licencing'), + (N'RAILTRAIL', N'Rail Trails'), + (N'RESRENTAL', N'Residential Rentals'), + (N'TMEP', N'TMEP'), + (N'TRANSLINK', N'TransLink'), + (N'UTILITY', N'Utilities'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/058_DML_PIMS_LEASE_PMT_FREQ_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/058_DML_PIMS_LEASE_PMT_FREQ_TYPE.sql new file mode 100644 index 0000000000..87e016d9cd --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/058_DML_PIMS_LEASE_PMT_FREQ_TYPE.sql @@ -0,0 +1,23 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_LEASE_PMT_FREQ_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_LEASE_PMT_FREQ_TYPE +GO + +INSERT INTO PIMS_LEASE_PMT_FREQ_TYPE (LEASE_PMT_FREQ_TYPE_CODE, DESCRIPTION) +VALUES + (N'ANNUAL', N'Annually'), + (N'SEMIANN', N'Semi Annually'), + (N'QUARTER', N'Quarterly'), + (N'BIMONTH', N'Bi-Monthly'), + (N'MONTHLY', N'Monthly'), + (N'BIWEEK', N'Bi-Weekly'), + (N'WEEKLY', N'Weekly'), + (N'DAILY', N'Daily'), + (N'PREPAID', N'Prepaid / One Time'), + (N'NOMINAL', N'Nominal ($1)'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/059_DML_PIMS_PROPERTY_TAX_REMIT_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/059_DML_PIMS_PROPERTY_TAX_REMIT_TYPE.sql new file mode 100644 index 0000000000..e47eb6902e --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/059_DML_PIMS_PROPERTY_TAX_REMIT_TYPE.sql @@ -0,0 +1,18 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_PROPERTY_TAX_REMIT_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_PROPERTY_TAX_REMIT_TYPE +GO + +INSERT INTO PIMS_PROPERTY_TAX_REMIT_TYPE (PROPERTY_TAX_REMIT_TYPE_CODE, DESCRIPTION) +VALUES + (N'LESSEE', N'Lessee'), + (N'LICENSEE', N'Licensee'), + (N'PERMITEE', N'Permitee'), + (N'BCTFA', N'BCTFA'), + (N'OTHER', N'Other'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/061_DML_PIMS_SURPLUS_DECLARATION_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/061_DML_PIMS_SURPLUS_DECLARATION_TYPE.sql new file mode 100644 index 0000000000..ca21bdfee2 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/061_DML_PIMS_SURPLUS_DECLARATION_TYPE.sql @@ -0,0 +1,17 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_SURPLUS_DECLARATION_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_SURPLUS_DECLARATION_TYPE +GO + +INSERT INTO PIMS_SURPLUS_DECLARATION_TYPE (SURPLUS_DECLARATION_TYPE_CODE, DESCRIPTION) +VALUES + (N'YES', N'Yes'), + (N'NO', N'No'), + (N'EXPIRED', N'Expired'), + (N'UNKNOWN', N'Unknown'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/062_DML_PIMS_PROPERTY_IMPROVEMENT_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/062_DML_PIMS_PROPERTY_IMPROVEMENT_TYPE.sql new file mode 100644 index 0000000000..3b29a7551f --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/062_DML_PIMS_PROPERTY_IMPROVEMENT_TYPE.sql @@ -0,0 +1,16 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_PROPERTY_IMPROVEMENT_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_PROPERTY_IMPROVEMENT_TYPE +GO + +INSERT INTO PIMS_PROPERTY_IMPROVEMENT_TYPE (PROPERTY_IMPROVEMENT_TYPE_CODE, DESCRIPTION, DISPLAY_ORDER) +VALUES + (N'RTA', N'Residential Tenancy Act', 2), + (N'COMMBLDG', N'Commercial Building', 1), + (N'OTHER', N'Other', 99); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/064_DML_PIMS_SECURITY_DEPOSIT_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/064_DML_PIMS_SECURITY_DEPOSIT_TYPE.sql new file mode 100644 index 0000000000..e658766533 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/064_DML_PIMS_SECURITY_DEPOSIT_TYPE.sql @@ -0,0 +1,16 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_SECURITY_DEPOSIT_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_SECURITY_DEPOSIT_TYPE +GO + +INSERT INTO PIMS_SECURITY_DEPOSIT_TYPE (SECURITY_DEPOSIT_TYPE_CODE, DESCRIPTION) +VALUES + (N'SECURITY', N'Security deposit'), + (N'PET', N'Pet deposit'), + (N'OTHER', N'Other deposit'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/065_DML_PIMS_LESSOR_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/065_DML_PIMS_LESSOR_TYPE.sql new file mode 100644 index 0000000000..e5ebd5505f --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/065_DML_PIMS_LESSOR_TYPE.sql @@ -0,0 +1,16 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_LESSOR_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_LESSOR_TYPE +GO + +INSERT INTO PIMS_LESSOR_TYPE (LESSOR_TYPE_CODE, DESCRIPTION) +VALUES + (N'PER', N'Person'), + (N'ORG', N'Organization'), + (N'UNK', N'Unknown'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/066_DML_PIMS_LEASE_INITIATOR_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/066_DML_PIMS_LEASE_INITIATOR_TYPE.sql new file mode 100644 index 0000000000..ea30bd2d8f --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/066_DML_PIMS_LEASE_INITIATOR_TYPE.sql @@ -0,0 +1,16 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_LEASE_INITIATOR_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_LEASE_INITIATOR_TYPE +GO + +INSERT INTO PIMS_LEASE_INITIATOR_TYPE (LEASE_INITIATOR_TYPE_CODE, DESCRIPTION) +VALUES + (N'PROJECT', N'Project'), + (N'REGION', N'Region'), + (N'HQ', N'Headquarters'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/067_DML_PIMS_LEASE_RESPONSIBILITY_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/067_DML_PIMS_LEASE_RESPONSIBILITY_TYPE.sql new file mode 100644 index 0000000000..9093166577 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/067_DML_PIMS_LEASE_RESPONSIBILITY_TYPE.sql @@ -0,0 +1,16 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_LEASE_RESPONSIBILITY_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_LEASE_RESPONSIBILITY_TYPE +GO + +INSERT INTO PIMS_LEASE_RESPONSIBILITY_TYPE (LEASE_RESPONSIBILITY_TYPE_CODE, DESCRIPTION) +VALUES + (N'PROJECT', N'Project'), + (N'REGION', N'Region'), + (N'HQ', N'Headquarters'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/068_DML_PIMS_LEASE_TERM_STATUS_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/068_DML_PIMS_LEASE_TERM_STATUS_TYPE.sql new file mode 100644 index 0000000000..6e5c042fe9 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/068_DML_PIMS_LEASE_TERM_STATUS_TYPE.sql @@ -0,0 +1,15 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_LEASE_TERM_STATUS_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_LEASE_TERM_STATUS_TYPE +GO + +INSERT INTO PIMS_LEASE_TERM_STATUS_TYPE (LEASE_TERM_STATUS_TYPE_CODE, DESCRIPTION) +VALUES + (N'EXER', N'Exercised'), + (N'NEXER', N'Not Exercised'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/070_DML_PIMS_LEASE_PAYMENT_STATUS_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/070_DML_PIMS_LEASE_PAYMENT_STATUS_TYPE.sql new file mode 100644 index 0000000000..59f6f451a7 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/070_DML_PIMS_LEASE_PAYMENT_STATUS_TYPE.sql @@ -0,0 +1,17 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_LEASE_PAYMENT_STATUS_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_LEASE_PAYMENT_STATUS_TYPE +GO + +INSERT INTO PIMS_LEASE_PAYMENT_STATUS_TYPE (LEASE_PAYMENT_STATUS_TYPE_CODE, DESCRIPTION) +VALUES + (N'PAID', N'Paid'), + (N'UNPAID', N'Unpaid'), + (N'PARTIAL', N'Partial'), + (N'OVERPAID', N'Overpayment'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/071_DML_PIMS_LEASE_PAYMENT_METHOD_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/071_DML_PIMS_LEASE_PAYMENT_METHOD_TYPE.sql new file mode 100644 index 0000000000..d4797f63d7 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/071_DML_PIMS_LEASE_PAYMENT_METHOD_TYPE.sql @@ -0,0 +1,20 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_LEASE_PAYMENT_METHOD_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE +GO + +INSERT INTO PIMS_LEASE_PAYMENT_METHOD_TYPE (LEASE_PAYMENT_METHOD_TYPE_CODE, DESCRIPTION) +VALUES + (N'CASH', N'Cash'), + (N'CHEQ', N'Cheque'), + (N'POST', N'Post-dated cheque'), + (N'CRDR', N'Credit / Debit'), + (N'EFT', N'EFT'), + (N'OTHR', N'Other'), + (N'H120', N'H120'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/072_DML_PIMS_INSURANCE_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/072_DML_PIMS_INSURANCE_TYPE.sql new file mode 100644 index 0000000000..f7552d6856 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/072_DML_PIMS_INSURANCE_TYPE.sql @@ -0,0 +1,19 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_INSURANCE_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_INSURANCE_TYPE +GO + +INSERT INTO PIMS_INSURANCE_TYPE (INSURANCE_TYPE_CODE, DESCRIPTION, DISPLAY_ORDER) +VALUES + (N'GENERAL', N'Commercial General Liability (CGL)', 2), + (N'VEHICLE', N'Vehicle Liability Coverage', 4), + (N'AIRCRAFT', N'Aircraft Liability Coverage', 1), + (N'MARINE', N'Marine Liability Coverage', 3), + (N'OTHER', N'Other Insurance Coverage', 99); + \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/073_DML_PIMS_LEASE_STATUS_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/073_DML_PIMS_LEASE_STATUS_TYPE.sql new file mode 100644 index 0000000000..560a886078 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/073_DML_PIMS_LEASE_STATUS_TYPE.sql @@ -0,0 +1,19 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_LEASE_STATUS_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_LEASE_STATUS_TYPE +GO + +INSERT INTO PIMS_LEASE_STATUS_TYPE (LEASE_STATUS_TYPE_CODE, DESCRIPTION, IS_DISABLED) +VALUES + (N'ACTIVE', N'Active', CONVERT([bit],(0))), + (N'EXPIRED', N'Expired', CONVERT([bit],(1))), + (N'TERMINATED', N'Terminated', CONVERT([bit],(0))), + (N'DRAFT', N'Draft', CONVERT([bit],(0))), + (N'DISCARD', N'Discarded', CONVERT([bit],(0))), + (N'INACTIVE', N'Inactive', CONVERT([bit],(0))); diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/074_DML_PIMS_CLAIM.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/074_DML_PIMS_CLAIM.sql new file mode 100644 index 0000000000..04276de74c --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/074_DML_PIMS_CLAIM.sql @@ -0,0 +1,260 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_CLAIM table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Devin Smith 2021-Nov-18 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_CLAIM +GO + +DECLARE @dbUserId nvarchar(30) = 'system'; +DECLARE @dbUserGuid uniqueidentifier = null; +DECLARE @appUserId nvarchar(30) = N'SEED'; +DECLARE @appUserGuid uniqueidentifier = '1b93f614-91da-4b32-b36e-bd2c6ebd12e2'; +DECLARE @appUserDirectory nvarchar(30) = N''; +DECLARE @seedTime DateTime = CAST(N'2021-11-10T02:17:49.920' AS DateTime); + + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (1, N'a9be4883-9c67-4a0e-9ce2-cbab2fb0ee87', N'system-administrator', N'a9be4883-9c67-4a0e-9ce2-cbab2fb0ee87', N'Ability to administrate system.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (2, N'f8a38d52-e535-4054-ba8d-fb88af416abc', N'organization-administrator', N'f8a38d52-e535-4054-ba8d-fb88af416abc', N'Ability to administrate organizations.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (3, N'a0263138-1d2b-4a34-8331-e9df181802d0', N'admin-users', N'a0263138-1d2b-4a34-8331-e9df181802d0', N'Ability to administrate users.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (4, N'df915c23-84de-4d04-b2f6-c3ab6d1e215b', N'admin-roles', N'df915c23-84de-4d04-b2f6-c3ab6d1e215b', N'Ability to administrate roles.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (5, N'865a322e-c80f-4ed3-8a35-58d634091e63', N'admin-properties', N'865a322e-c80f-4ed3-8a35-58d634091e63', N'Ability to administrate properties.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (6, N'3ab44a68-1404-4d71-9b41-da4aa257a430', N'admin-organizations', N'3ab44a68-1404-4d71-9b41-da4aa257a430', N'Ability to administrate organizations.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (7, N'2e28bc73-d77e-434b-8b6f-effd5019e55f', N'admin-projects', N'2e28bc73-d77e-434b-8b6f-effd5019e55f', N'Ability to administrate projects.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (8, N'9070efd2-b63c-4d17-9753-e64c8ac2b9cb', N'property-view', N'9070efd2-b63c-4d17-9753-e64c8ac2b9cb', N'Ability to view properties.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (9, N'4e765676-4c44-4006-86f4-3ba22754ac30', N'property-add', N'4e765676-4c44-4006-86f4-3ba22754ac30', N'Ability to add properties.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (10, N'e21770e4-a689-4524-97a1-498715683a71', N'property-edit', N'e21770e4-a689-4524-97a1-498715683a71', N'Ability to edit properties.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (11, N'227c85d3-42fe-4b77-ad34-13df07a3b6ad', N'property-delete', N'227c85d3-42fe-4b77-ad34-13df07a3b6ad', N'Ability to delete properties.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (12, N'ba44955c-6903-4202-a6d6-c0b5c65156ec', N'sensitive-view', N'ba44955c-6903-4202-a6d6-c0b5c65156ec', N'Ability to view sensitive properties.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (13, N'671b9624-b576-4379-8b29-e4fea2697974', N'contact-view', N'671b9624-b576-4379-8b29-e4fea2697974', N'Ability view existing contacts.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (14, N'4a1a9150-7cde-4d58-a1b0-9f8fe48570a0', N'contact-add', N'4a1a9150-7cde-4d58-a1b0-9f8fe48570a0', N'Ability to add new contacts.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (15, N'606f1744-6f2c-4ca5-97d6-aa0f6e151343', N'contact-edit', N'606f1744-6f2c-4ca5-97d6-aa0f6e151343', N'Ability to edit existing contacts.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (16, N'386ccfb2-0b3c-47f8-98cb-86bf97c79bd1', N'contact-delete', N'386ccfb2-0b3c-47f8-98cb-86bf97c79bd1', N'Ability to delete contacts.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (17, N'd4953f15-c011-4fed-9146-4f54eeab6029', N'lease-view', N'd4953f15-c011-4fed-9146-4f54eeab6029', N'Ability view existing leases.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (18, N'6a3f0a3f-2448-4b5f-97ab-0b361d122e65', N'lease-add', N'6a3f0a3f-2448-4b5f-97ab-0b361d122e65', N'Ability to add new leases.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (19, N'20fa0b55-598a-41d3-898b-be5958558f8e', N'lease-edit', N'20fa0b55-598a-41d3-898b-be5958558f8e', N'Ability to edit existing leases.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (20, N'95791d9a-986f-48ae-a3b3-1eebb54282cc', N'lease-delete', N'95791d9a-986f-48ae-a3b3-1eebb54282cc', N'Ability to delete leases.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (21, N'a9b9075b-2ea5-43b6-91df-2cc075453428', N'ROLE_PIMS_R', N'a9b9075b-2ea5-43b6-91df-2cc075453428', N'Read access to Property-related map layers', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (22, N'e3dc1c05-aae5-46b8-9b80-65a492a72a0a', N'researchfile-view', N'e3dc1c05-aae5-46b8-9b80-65a492a72a0a', N'Ability view existing research files.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (23, N'2e0eefb5-30ac-4d02-8439-fac5c4554dbb', N'researchfile-add', N'2e0eefb5-30ac-4d02-8439-fac5c4554dbb', N'Ability to add new research files.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (24, N'38028c27-0a87-4875-a5d4-40879d13cfd6', N'researchfile-edit', N'38028c27-0a87-4875-a5d4-40879d13cfd6', N'Ability to edit existing research files.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (25, N'6f147aed-e377-40b7-93c4-5ab736378bc6', N'researchfile-delete', N'6f147aed-e377-40b7-93c4-5ab736378bc6', N'Ability to delete research files.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (26, N'53e43047-200a-4315-9f15-e0d3887c05f2', N'acquisitionfile-view', N'53e43047-200a-4315-9f15-e0d3887c05f2', N'Ability view existing acquisition files.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (27, N'81537f39-b520-4692-a7b4-40b0a2500bd8', N'acquisitionfile-add', N'81537f39-b520-4692-a7b4-40b0a2500bd8', N'Ability to add new acquisition files.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (28, N'8f996eb9-4f1b-4eb0-a40e-d08b453ee804', N'acquisitionfile-edit', N'8f996eb9-4f1b-4eb0-a40e-d08b453ee804', N'Ability to edit existing acquisition files.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (29, N'a2916c02-7f0d-42cf-a7aa-5b47379a1e00', N'acquisitionfile-delete', N'a2916c02-7f0d-42cf-a7aa-5b47379a1e00', N'Ability to delete acquisition files.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (30, N'595372a3-7a65-4893-84b1-1378dc697e81', N'note-view', N'595372a3-7a65-4893-84b1-1378dc697e81', N'Ability view existing notes.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (31, N'bf123896-dbd7-43bc-b9cd-44b844544b3c', N'note-add', N'bf123896-dbd7-43bc-b9cd-44b844544b3c', N'Ability to add new notes.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (32, N'363035c7-9ec0-4239-acd9-49aec29d5815', N'note-edit', N'363035c7-9ec0-4239-acd9-49aec29d5815', N'Ability to edit existing notes.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (33, N'ec671269-8c45-4702-9883-0fff1c6f98ce', N'note-delete', N'ec671269-8c45-4702-9883-0fff1c6f98ce', N'Ability to delete notes.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + + +-- Document management claims +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (34, N'8734f95d-b13d-46d0-99a6-4fb3fd086a56', N'document-view', N'8734f95d-b13d-46d0-99a6-4fb3fd086a56', N'Ability view existing documents.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (35, N'f4c0e1bf-9ac9-4765-a306-d92e4e64858b', N'document-add', N'f4c0e1bf-9ac9-4765-a306-d92e4e64858b', N'Ability to add new documents.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (36, N'7de91273-7fad-47ea-8cd1-f2f663a3e06d', N'document-edit', N'7de91273-7fad-47ea-8cd1-f2f663a3e06d', N'Ability to edit existing documents.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (37, N'e83cbf3d-a4df-4aee-9d90-ecf04e4069fd', N'document-delete', N'e83cbf3d-a4df-4aee-9d90-ecf04e4069fd', N'Ability to delete documents.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (38, N'646f7053-96dc-4f13-8da6-06a32e264a16', N'document-admin', N'646f7053-96dc-4f13-8da6-06a32e264a16', N'Ability to perform administrative actions on documents.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + + +-- Activity claims +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (39, N'196e8946-6b41-4ca1-a2c9-7b1ae93cbf96', N'activity-view', N'196e8946-6b41-4ca1-a2c9-7b1ae93cbf96', N'Ability view activities.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (40, N'0db3f117-3da9-40bc-b5db-df676f40cc06', N'activity-add', N'0db3f117-3da9-40bc-b5db-df676f40cc06', N'Ability to add activities.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (41, N'7ebcb98d-f2fb-4826-a8e3-14729b95cc95', N'activity-edit', N'7ebcb98d-f2fb-4826-a8e3-14729b95cc95', N'Ability to edit activities.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (42, N'04f3a5e1-0423-4489-ab39-96c8f7801c29', N'activity-delete', N'04f3a5e1-0423-4489-ab39-96c8f7801c29', N'Ability to delete activities.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +-- Project claims +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (44, N'4aa67f3f-6fbd-4453-9ba2-04a73accac99', N'project-view', N'4aa67f3f-6fbd-4453-9ba2-04a73accac99', N'Ability to view projects.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (45, N'6aefc796-b507-4a70-87a3-422db758eeac', N'project-add', N'6aefc796-b507-4a70-87a3-422db758eeac', N'Ability to add new projects.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (46, N'3273927f-2510-43ac-9547-015b48f43de4', N'project-edit', N'3273927f-2510-43ac-9547-015b48f43de4', N'Ability to edit existing projects.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_CLAIM] + ([CLAIM_ID], [CLAIM_UID], [NAME], [KEYCLOAK_ROLE_ID], [DESCRIPTION], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (47, N'9fff88bf-61e8-4b47-a0a0-a464c303a0c7', N'project-delete', N'9fff88bf-61e8-4b47-a0a0-a464c303a0c7', N'Ability to delete projects.', 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +GO \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/075_DML_PIMS_ROLE_CLAIM.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/075_DML_PIMS_ROLE_CLAIM.sql new file mode 100644 index 0000000000..88f60fbc06 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/075_DML_PIMS_ROLE_CLAIM.sql @@ -0,0 +1,715 @@ +DECLARE @dbUserId nvarchar(30) = 'system'; +DECLARE @dbUserGuid uniqueidentifier = null; +DECLARE @appUserId nvarchar(30) = N'SEED'; +DECLARE @appUserGuid uniqueidentifier = '1b93f614-91da-4b32-b36e-bd2c6ebd12e2'; +DECLARE @appUserDirectory nvarchar(30) = N''; +DECLARE @seedTime DateTime = CAST(N'2021-11-10T02:17:49.920' AS DateTime) + +DECLARE @finance BIGINT; +DECLARE @functional BIGINT; +DECLARE @restricted BIGINT; +DECLARE @readOnly BIGINT; +DECLARE @admin BIGINT; +SELECT @finance = ROLE_ID FROM PIMS_ROLE WHERE NAME = 'Finance'; +SELECT @functional = ROLE_ID FROM PIMS_ROLE WHERE NAME = 'Functional'; +SELECT @restricted = ROLE_ID FROM PIMS_ROLE WHERE NAME = 'Functional (Restricted)'; +SELECT @readOnly = ROLE_ID FROM PIMS_ROLE WHERE NAME = 'Read Only'; +SELECT @admin = ROLE_ID FROM PIMS_ROLE WHERE NAME = 'System Administrator'; + +DECLARE @leaseView BIGINT; +DECLARE @leaseAdd BIGINT; +DECLARE @leaseEdit BIGINT; +DECLARE @leaseDelete BIGINT; +select @leaseView = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'lease-view'; +select @leaseAdd = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'lease-add'; +select @leaseEdit = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'lease-edit'; +select @leaseDelete = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'lease-delete'; + +DECLARE @researchView BIGINT; +DECLARE @researchAdd BIGINT; +DECLARE @researchEdit BIGINT; +DECLARE @researchDelete BIGINT; +select @researchView = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'researchfile-view'; +select @researchAdd = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'researchfile-add'; +select @researchEdit = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'researchfile-edit'; +select @researchDelete = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'researchfile-delete'; + +DECLARE @propertyView BIGINT; +DECLARE @propertyAdd BIGINT; +DECLARE @propertyEdit BIGINT; +DECLARE @propertyDelete BIGINT; +select @propertyView = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'property-view'; +select @propertyAdd = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'property-add'; +select @propertyEdit = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'property-edit'; +select @propertyDelete = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'property-delete'; + +DECLARE @contactView BIGINT; +DECLARE @contactAdd BIGINT; +DECLARE @contactEdit BIGINT; +DECLARE @contactDelete BIGINT; +select @contactView = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'contact-view'; +select @contactAdd = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'contact-add'; +select @contactEdit = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'contact-edit'; +select @contactDelete = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'contact-delete'; + +DECLARE @rolePimsR BIGINT; +select @rolePimsR = CLAIM_ID FROM PIMS_CLAIM where NAME = 'ROLE_PIMS_R'; + +DECLARE @adminUsers BIGINT; +DECLARE @adminProjects BIGINT; +DECLARE @adminProperties BIGINT; +DECLARE @systemAdministrator BIGINT; +select @adminUsers = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'admin-users'; +select @adminProjects = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'admin-projects'; +select @adminProperties = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'admin-properties'; +select @systemAdministrator = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'system-administrator'; + +DECLARE @acquisitionView BIGINT; +DECLARE @acquisitionAdd BIGINT; +DECLARE @acquisitionEdit BIGINT; +DECLARE @acquisitionDelete BIGINT; +select @acquisitionView = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'acquisitionfile-view'; +select @acquisitionAdd = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'acquisitionfile-add'; +select @acquisitionEdit = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'acquisitionfile-edit'; +select @acquisitionDelete = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'acquisitionfile-delete'; + +DECLARE @noteView BIGINT; +DECLARE @noteAdd BIGINT; +DECLARE @noteEdit BIGINT; +DECLARE @noteDelete BIGINT; +SELECT @noteView = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'note-view'; +SELECT @noteAdd = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'note-add'; +SELECT @noteEdit = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'note-edit'; +SELECT @noteDelete = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'note-delete'; + +DECLARE @documentView BIGINT; +DECLARE @documentAdd BIGINT; +DECLARE @documentEdit BIGINT; +DECLARE @documentDelete BIGINT; +DECLARE @documentAdmin BIGINT; +SELECT @documentView = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'document-view'; +SELECT @documentAdd = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'document-add'; +SELECT @documentEdit = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'document-edit'; +SELECT @documentDelete = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'document-delete'; +SELECT @documentAdmin = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'document-admin'; + +DECLARE @activityView BIGINT; +DECLARE @activityAdd BIGINT; +DECLARE @activityEdit BIGINT; +DECLARE @activityDelete BIGINT; +SELECT @activityView = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'activity-view'; +SELECT @activityAdd = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'activity-add'; +SELECT @activityEdit = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'activity-edit'; +SELECT @activityDelete = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'activity-delete'; + +DECLARE @projectView BIGINT; +DECLARE @projectAdd BIGINT; +DECLARE @projectEdit BIGINT; +DECLARE @projectDelete BIGINT; +SELECT @projectView = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'project-view'; +SELECT @projectAdd = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'project-add'; +SELECT @projectEdit = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'project-edit'; +SELECT @projectDelete = CLAIM_ID FROM PIMS_CLAIM WHERE NAME = 'project-delete'; + +/* Finance */ +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@finance, @leaseView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@finance, @projectView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +/* Administrator */ +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @adminUsers, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @adminProjects, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @adminProperties, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @systemAdministrator, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @leaseView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @leaseEdit, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @leaseAdd, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @leaseDelete, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @researchView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @researchEdit, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @researchAdd, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @researchDelete, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @propertyView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @propertyEdit, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @propertyAdd, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @propertyDelete, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @rolePimsR, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @contactView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @contactEdit, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @contactDelete, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @contactAdd, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @acquisitionView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @acquisitionEdit, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @acquisitionAdd, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @acquisitionDelete, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @noteView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @noteEdit, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @noteAdd, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @noteDelete, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @documentView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @documentEdit, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @documentAdd, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @documentDelete, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @documentAdmin, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @activityView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @activityEdit, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @activityAdd, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@admin, @activityDelete, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@systemAdministrator, @projectView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@systemAdministrator, @projectEdit, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@systemAdministrator, @projectAdd, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@systemAdministrator, @projectDelete, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + + +/* Functional */ +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @leaseView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @leaseEdit, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @leaseAdd, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @leaseDelete, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @researchView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @researchEdit, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @researchAdd, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @propertyView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @propertyEdit, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @propertyAdd, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @rolePimsR, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @contactView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @contactEdit, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @contactDelete, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @contactAdd, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @acquisitionView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @acquisitionEdit, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @acquisitionAdd, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @noteView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @noteEdit, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @noteAdd, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @documentView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @documentEdit, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @documentAdd, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @documentDelete, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @activityView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @activityEdit, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @activityAdd, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @activityDelete, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @projectView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @projectEdit, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @projectAdd, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@functional, @projectDelete, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + + +/* Functional Restricted */ +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@restricted, @leaseView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@restricted, @leaseEdit, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@restricted, @leaseAdd, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@restricted, @researchView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@restricted, @researchEdit, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@restricted, @propertyView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@restricted, @propertyEdit, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@restricted, @propertyAdd, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@restricted, @rolePimsR, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@restricted, @contactView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@restricted, @contactEdit, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@restricted, @contactDelete, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@restricted, @contactAdd, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@restricted, @acquisitionView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@restricted, @acquisitionEdit, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@restricted, @acquisitionAdd, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@restricted, @noteView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@restricted, @noteEdit, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@restricted, @noteAdd, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@restricted, @documentView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@restricted, @documentEdit, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@restricted, @documentAdd, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@restricted, @activityView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@restricted, @activityEdit, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@restricted, @activityAdd, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@restricted, @projectView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + + + +/* Read Only */ +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@readOnly, @leaseView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@readOnly, @researchView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@readOnly, @propertyView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@readOnly, @rolePimsR, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@readOnly, @contactView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@readOnly, @acquisitionView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@readOnly, @noteView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@readOnly, @documentView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@readOnly, @activityView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId) + +INSERT [dbo].[PIMS_ROLE_CLAIM] + ([ROLE_ID], [CLAIM_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) +VALUES + (@readOnly, @projectView, 0, 1, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId, @seedTime, @appUserId, @appUserGuid, @appUserDirectory, @seedTime, @dbUserId); + +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/076_DML_PIMS_ORGANIZATION.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/076_DML_PIMS_ORGANIZATION.sql new file mode 100644 index 0000000000..6b8bd60adc --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/076_DML_PIMS_ORGANIZATION.sql @@ -0,0 +1,36 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_ORGANIZATION table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_ORGANIZATION +GO + +INSERT INTO PIMS_ORGANIZATION ( + ORGANIZATION_IDENTIFIER + , ORGANIZATION_NAME + , ORGANIZATION_TYPE_CODE + , ORG_IDENTIFIER_TYPE_CODE + , IS_DISABLED + , APP_CREATE_TIMESTAMP + , APP_CREATE_USERID + , APP_CREATE_USER_DIRECTORY + , APP_LAST_UPDATE_TIMESTAMP + , APP_LAST_UPDATE_USERID + , APP_LAST_UPDATE_USER_DIRECTORY) +VALUES ( + N'MOTI2' + , N'Ministry of Transportation and Infrastructure' + , N'BCMIN' + , N'GOV' + , 0 + , CURRENT_TIMESTAMP + , N'Seed Data' + , N'Seed Data' + , CURRENT_TIMESTAMP + , N'Seed Data' + , N'Seed Data'); + diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/077_DML_PIMS_TENANT.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/077_DML_PIMS_TENANT.sql new file mode 100644 index 0000000000..9ee87be48b --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/077_DML_PIMS_TENANT.sql @@ -0,0 +1,13 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_TENANT table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_TENANT +GO + +INSERT INTO dbo.PIMS_TENANT (CODE, NAME, SETTINGS) +VALUES (N'MOTI', N'Ministry of Transportation & Infrastructure', N'{ "HelpDeskEmail": "pims@gov.bc.ca" }'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/078_DML_PIMS_PROPERTY_ANOMALY_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/078_DML_PIMS_PROPERTY_ANOMALY_TYPE.sql new file mode 100644 index 0000000000..6e5a16ec02 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/078_DML_PIMS_PROPERTY_ANOMALY_TYPE.sql @@ -0,0 +1,27 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_LEASE_STATUS_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_PROPERTY_ANOMALY_TYPE +GO + +INSERT INTO PIMS_PROPERTY_ANOMALY_TYPE (PROPERTY_ANOMALY_TYPE_CODE, DESCRIPTION, IS_DISABLED) +VALUES + (N'ACCESS', N'Access', CONVERT([bit],(0))), + (N'BIZLOSS', N'Potential for business loss claims', CONVERT([bit],(0))), + (N'EFCLAUSE', N'E&F clause', CONVERT([bit],(0))), + (N'BLDGLIENS', N'Building liens', CONVERT([bit],(0))), + (N'DISTURB', N'Disturbance', CONVERT([bit],(0))), + (N'DUPTITLE', N'Duplicate title', CONVERT([bit],(0))), + (N'ASSGNRENT', N'Assignment of rent', CONVERT([bit],(0))), + (N'MORTSECINT', N'Mortgage/security interests', CONVERT([bit],(0))), + (N'CHRGCROWN', N'Charge to the Crown', CONVERT([bit],(0))), + (N'CERTPNDLIT', N'Certification of pending litigation', CONVERT([bit],(0))), + (N'CHGHOLDGEN', N'Charge holders in general', CONVERT([bit],(0))), + (N'LGLNOT', N'Legal notations', CONVERT([bit],(0))), + (N'OTHER', N'Other', CONVERT([bit],(0))); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/079_DML_PIMS_PROPERTY_ROAD_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/079_DML_PIMS_PROPERTY_ROAD_TYPE.sql new file mode 100644 index 0000000000..8d7856cb67 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/079_DML_PIMS_PROPERTY_ROAD_TYPE.sql @@ -0,0 +1,33 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_PROPERTY_ROAD_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_PROPERTY_ROAD_TYPE +GO + +INSERT INTO PIMS_PROPERTY_ROAD_TYPE (PROPERTY_ROAD_TYPE_CODE, DESCRIPTION) +VALUES + (N'GAZSURVD', N'Gazetted (Surveyed)'), + (N'GAZUNSURVD', N'Gazetted (Unsurveyed)'), + (N'GAZMOTI', N'Gazetted (MoTI Plan)'), + (N'CRWNDEL', N'Crown grant deletion'), + (N'SUBDIV', N'Subdivision'), + (N'107REF', N'107 Reference Plan'), + (N'107EXP', N'107 Explanatory Plan'), + (N'S42', N'S.42 (Court declared)'), + (N'S56', N'S.56 (2) Highway'), + (N'SRWPLAN', N'SRW plan (with no gazette)'), + (N'UNTEN', N'Untenured (no dedicated highway)'), + (N'MUNI', N'Municipal'), + (N'FSR', N'Forest Service Road'), + (N'PUBRD', N'Public Road (FLNRORD Juridiction)'), + (N'OIC', N'Order in Council (OIC)'), + (N'CTRLACC', N'Controlled Access'), + (N'ARTERIAL', N'Arterial'), + (N'FEDERAL', N'Federal'), + (N'OTHER', N'Other'); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/080_DML_PIMS_PROPERTY_ADJACENT_LAND_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/080_DML_PIMS_PROPERTY_ADJACENT_LAND_TYPE.sql new file mode 100644 index 0000000000..96ce036bed --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/080_DML_PIMS_PROPERTY_ADJACENT_LAND_TYPE.sql @@ -0,0 +1,24 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_PROPERTY_ADJACENT_LAND_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_PROPERTY_ADJACENT_LAND_TYPE +GO + +INSERT INTO PIMS_PROPERTY_ADJACENT_LAND_TYPE (PROPERTY_ADJACENT_LAND_TYPE_CODE, DESCRIPTION) +VALUES + (N'MOLBCTFA', N'Ministry owned and leased - BCTFA'), + (N'MOLHMQ', N'Ministry owned and leased - HMQ'), + (N'MONLBCTFA', N'Ministry owned not leases - BCTFA'), + (N'MONLHMQ', N'Ministry owned not leases - HMQ'), + (N'LANDACTR', N'Land Act Reserve (Section 16/17/12/14)'), + (N'INDIANR', N'Indian Reserve (IR)'), + (N'PRIVATE', N'Private (Fee Simple)'), + (N'STATROW', N'Statutory Right of Way (SRW)'), + (N'SPECUSE', N'Special Use Permit (SUP)'), + (N'CROWN', N'Crown'); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/081_DML_PIMS_VOLUMETRIC_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/081_DML_PIMS_VOLUMETRIC_TYPE.sql new file mode 100644 index 0000000000..d68edd45df --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/081_DML_PIMS_VOLUMETRIC_TYPE.sql @@ -0,0 +1,16 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_VOLUMETRIC_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_VOLUMETRIC_TYPE +GO + +INSERT INTO PIMS_VOLUMETRIC_TYPE (VOLUMETRIC_TYPE_CODE, DESCRIPTION) +VALUES + (N'AIRSPACE', N'Airspace'), + (N'SUBSURF', N'Sub-surface'); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/082_DML_PIMS_VOLUME_UNIT_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/082_DML_PIMS_VOLUME_UNIT_TYPE.sql new file mode 100644 index 0000000000..1bc456bae9 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/082_DML_PIMS_VOLUME_UNIT_TYPE.sql @@ -0,0 +1,16 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_VOLUME_UNIT_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_VOLUME_UNIT_TYPE +GO + +INSERT INTO PIMS_VOLUME_UNIT_TYPE (VOLUME_UNIT_TYPE_CODE, DESCRIPTION) +VALUES + (N'M3', N'Cubic Meters'), + (N'F3', N'Cubic Feet'); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/083_DML_PIMS_RESEARCH_FILE_STATUS_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/083_DML_PIMS_RESEARCH_FILE_STATUS_TYPE.sql new file mode 100644 index 0000000000..e896d4047a --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/083_DML_PIMS_RESEARCH_FILE_STATUS_TYPE.sql @@ -0,0 +1,18 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_RESEARCH_FILE_STATUS_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_RESEARCH_FILE_STATUS_TYPE +GO + +INSERT INTO PIMS_RESEARCH_FILE_STATUS_TYPE (RESEARCH_FILE_STATUS_TYPE_CODE, DESCRIPTION) +VALUES + (N'ACTIVE', N'Active'), + (N'INACTIVE', N'Inactive'), + (N'CLOSED', N'Closed'), + (N'ARCHIVED', N'Archived'); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/084_DML_PIMS_REQUEST_SOURCE_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/084_DML_PIMS_REQUEST_SOURCE_TYPE.sql new file mode 100644 index 0000000000..3a5739ae4f --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/084_DML_PIMS_REQUEST_SOURCE_TYPE.sql @@ -0,0 +1,24 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_REQUEST_SOURCE_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_REQUEST_SOURCE_TYPE +GO + +INSERT INTO PIMS_REQUEST_SOURCE_TYPE (REQUEST_SOURCE_TYPE_CODE, DESCRIPTION) +VALUES + (N'PROJECT', N'Project'), + (N'NONFOI', N'Public Enquiry (non-FOI)'), + (N'FOI', N'Freedom Of Information (FOI)'), + (N'DISTRICT', N'District'), + (N'REGION', N'Region'), + (N'HQ', N'Headquarters (HQ)'), + (N'OTHERMIN', N'Other Ministry'), + (N'EXTRQST', N'External Request'), + (N'SURVEYOR', N'Surveyor'), + (N'INTLGL', N'Legal Counsel (Internal)'); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/085_DML_PIMS_RESEARCH_PURPOSE_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/085_DML_PIMS_RESEARCH_PURPOSE_TYPE.sql new file mode 100644 index 0000000000..b1313a2163 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/085_DML_PIMS_RESEARCH_PURPOSE_TYPE.sql @@ -0,0 +1,19 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_RESEARCH_PURPOSE_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_RESEARCH_PURPOSE_TYPE +GO + +INSERT INTO PIMS_RESEARCH_PURPOSE_TYPE (RESEARCH_PURPOSE_TYPE_CODE, DESCRIPTION) +VALUES + (N'ACQUIRE', N'Acquisition'), + (N'TENCLEAN', N'Tenure Clean-Up'), + (N'MGMT', N'Management'), + (N'DISPOSE', N'Disposition'), + (N'GENENQ', N'General Enquiry'); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/086_DML_PIMS_PROP_RESEARCH_PURPOSE_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/086_DML_PIMS_PROP_RESEARCH_PURPOSE_TYPE.sql new file mode 100644 index 0000000000..d6d194e0a0 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/086_DML_PIMS_PROP_RESEARCH_PURPOSE_TYPE.sql @@ -0,0 +1,36 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_PROP_RESEARCH_PURPOSE_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_PROP_RESEARCH_PURPOSE_TYPE +GO + +INSERT INTO PIMS_PROP_RESEARCH_PURPOSE_TYPE (PROP_RESEARCH_PURPOSE_TYPE_CODE, DESCRIPTION) +VALUES + (N'RDCLOSE', N'Road Closure'), + (N'ACQUIRE', N'Acquisition'), + (N'DISPOSE', N'Disposition'), + (N'LICLEASE', N'License/Lease'), + (N'FNTREATY', N'FN/Treaty'), + (N'LNDXCHG', N'Land Exchange'), + (N'INQUIRY', N'Inquiry'), + (N'FORM12', N'Form 12'), + (N'FOI', N'FOI'), + (N'RESEARCH', N'Research'), + (N'DOTHER', N'District Other'), + (N'OTHER', N'Other'), + (N'ISSUE', N'Issue'), + (N'CLASS', N'Classification'), + (N'LEGAL', N'Legal'), + (N'LISSUE', N'Land Issue'), + (N'TAC', N'TAC'), + (N'REGINT', N'Registered Interest'), + (N'UNREGINT', N'Unregistered Interest'), + (N'MOTIOWND', N'MoTI Owned'), + (N'HWY', N'Highway'), + (N'UNKNOWN', N'Unknown'); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/087_DML_PIMS_PPH_STATUS_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/087_DML_PIMS_PPH_STATUS_TYPE.sql new file mode 100644 index 0000000000..576623f41f --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/087_DML_PIMS_PPH_STATUS_TYPE.sql @@ -0,0 +1,18 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_PPH_STATUS_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_PPH_STATUS_TYPE +GO + +INSERT INTO PIMS_PPH_STATUS_TYPE (PPH_STATUS_TYPE_CODE, DESCRIPTION) +VALUES + (N'PPH', N'Provincial Public Highway (PPH)'), + (N'NONPPH', N'Non-Provincial Public Highway (Non-PPH)'), + (N'COMBO', N'Combination (PPH & Non-PPH)'), + (N'UNKNOWN', N'Unknown'); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/088_DML_PIMS_DOCUMENT_STATUS_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/088_DML_PIMS_DOCUMENT_STATUS_TYPE.sql new file mode 100644 index 0000000000..cb56d4606f --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/088_DML_PIMS_DOCUMENT_STATUS_TYPE.sql @@ -0,0 +1,24 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_DOCUMENT_STATUS_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_DOCUMENT_STATUS_TYPE +GO + +INSERT INTO PIMS_DOCUMENT_STATUS_TYPE (DOCUMENT_STATUS_TYPE_CODE, DESCRIPTION) +VALUES + (N'NONE', N'None'), + (N'DRAFT', N'Draft'), + (N'APPROVD', N'Approved'), + (N'SENT', N'Sent'), + (N'SIGND', N'Signed'), + (N'AMENDD', N'Amended'), + (N'FINAL', N'Final'), + (N'RGSTRD', N'Registered'), + (N'UNREGD', N'Unregistered'), + (N'CNCLD', N'Cancelled'); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/089_DML_PIMS_ACQUISITION_FILE_STATUS_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/089_DML_PIMS_ACQUISITION_FILE_STATUS_TYPE.sql new file mode 100644 index 0000000000..00b3ce819b --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/089_DML_PIMS_ACQUISITION_FILE_STATUS_TYPE.sql @@ -0,0 +1,20 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_ACQUISITION_FILE_STATUS_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_ACQUISITION_FILE_STATUS_TYPE +GO + +INSERT INTO PIMS_ACQUISITION_FILE_STATUS_TYPE (ACQUISITION_FILE_STATUS_TYPE_CODE, DESCRIPTION) +VALUES + (N'ACTIVE', N'Active'), + (N'CANCEL', N'Cancelled'), + (N'CLOSED', N'Closed'), + (N'ARCHIV', N'Archived'), + (N'DRAFT', N'Draft'), + (N'HOLD', N'Hold'); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/090_DML_PIMS_ACQUISITION_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/090_DML_PIMS_ACQUISITION_TYPE.sql new file mode 100644 index 0000000000..0da500bfe6 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/090_DML_PIMS_ACQUISITION_TYPE.sql @@ -0,0 +1,17 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_ACQUISITION_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_ACQUISITION_TYPE +GO + +INSERT INTO PIMS_ACQUISITION_TYPE (ACQUISITION_TYPE_CODE, DESCRIPTION) +VALUES + (N'CONSEN', N'Consensual Agreement'), + (N'SECTN3', N'Section 3 Agreement'), + (N'SECTN6', N'Section 6 Expropriation'); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/091_DML_PIMS_ACQUISITION_FUNDING_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/091_DML_PIMS_ACQUISITION_FUNDING_TYPE.sql new file mode 100644 index 0000000000..feb1cb4f34 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/091_DML_PIMS_ACQUISITION_FUNDING_TYPE.sql @@ -0,0 +1,25 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_ACQUISITION_FUNDING_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_ACQUISITION_FUNDING_TYPE; +GO + +INSERT INTO PIMS_ACQUISITION_FUNDING_TYPE (ACQUISITION_FUNDING_TYPE_CODE, DESCRIPTION) +VALUES + (N'MOTIDST', N'MoTI District'), + (N'MOTIREG', N'MoTI Region'), + (N'DFAA', N'DFAA (Disaster Financial Assistance Arrangement)'), + (N'REHAB', N'Rehab & Maintenance'), + (N'CAPITAL', N'Capital Program'), + (N'BCTFA', N'BCTFA'), + (N'TICORP', N'TI Corp'), + (N'MAJORPR', N'Major Projects'), + (N'FEDERAL', N'Federal'), + (N'EVERGRN', N'Evergreen'), + (N'OTHER', N'Other'); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/092_DML_PIMS_ACQ_PHYS_FILE_STATUS_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/092_DML_PIMS_ACQ_PHYS_FILE_STATUS_TYPE.sql new file mode 100644 index 0000000000..b559cd24c9 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/092_DML_PIMS_ACQ_PHYS_FILE_STATUS_TYPE.sql @@ -0,0 +1,17 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_ACQ_PHYS_FILE_STATUS_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_ACQ_PHYS_FILE_STATUS_TYPE +GO + +INSERT INTO PIMS_ACQ_PHYS_FILE_STATUS_TYPE (ACQ_PHYS_FILE_STATUS_TYPE_CODE, DESCRIPTION) +VALUES + (N'ACTIVE', N'Active'), + (N'PENDING', N'Pending Litigation'), + (N'ARCHIVE', N'Archive - Offsite'); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/093_DML_PIMS_ACQ_FL_PERSON_PROFILE_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/093_DML_PIMS_ACQ_FL_PERSON_PROFILE_TYPE.sql new file mode 100644 index 0000000000..352ed5195f --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/093_DML_PIMS_ACQ_FL_PERSON_PROFILE_TYPE.sql @@ -0,0 +1,19 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_ACQ_FL_PERSON_PROFILE_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_ACQ_FL_PERSON_PROFILE_TYPE +GO + +INSERT INTO PIMS_ACQ_FL_PERSON_PROFILE_TYPE (ACQ_FL_PERSON_PROFILE_TYPE_CODE, DESCRIPTION) +VALUES + (N'NEGOTAGENT', N'Negotiation agent'), + (N'PROPCOORD', N'Property coordinator'), + (N'EXPRAGENT', N'Expropriation agent'), + (N'PROPAGENT', N'Property agent'), + (N'PROPANLYS', N'Property analyst'); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/094_DML_PIMS_ACTIVITY_TEMPLATE_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/094_DML_PIMS_ACTIVITY_TEMPLATE_TYPE.sql new file mode 100644 index 0000000000..6319a1ea46 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/094_DML_PIMS_ACTIVITY_TEMPLATE_TYPE.sql @@ -0,0 +1,26 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_ACTIVITY_TEMPLATE_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_ACTIVITY_TEMPLATE_TYPE +GO + +INSERT INTO PIMS_ACTIVITY_TEMPLATE_TYPE (ACTIVITY_TEMPLATE_TYPE_CODE, DESCRIPTION, IS_DISABLED) +VALUES + (N'GENERAL', N'General', CONVERT([bit],(0))), + (N'SURVEY', N'Survey', CONVERT([bit],(1))), + (N'SITEVIS', N'Site Visit', CONVERT([bit],(0))), + (N'GENLTR', N'Generate Letter', CONVERT([bit],(0))), + (N'FILEDOC', N'File Document', CONVERT([bit],(1))), + (N'NOTENTRY', N'Notice of possible entry (H0224)', CONVERT([bit],(0))), + (N'CONDENTRY', N'Condition of entry (H0443)', CONVERT([bit],(0))), + (N'RECNEGOT', N'Record of negotiation', CONVERT([bit],(0))), + (N'CONSULT', N'Consultation', CONVERT([bit],(0))), + (N'RECTAKES', N'Record takes', CONVERT([bit],(0))), + (N'OFFAGREE', N'Offer agreement (H179x)', CONVERT([bit],(0))), + (N'COMPREQ', N'Compensation requisition (H120)', CONVERT([bit],(0))); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/095_DML_PIMS_SURVEY_PLAN_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/095_DML_PIMS_SURVEY_PLAN_TYPE.sql new file mode 100644 index 0000000000..72a0b89855 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/095_DML_PIMS_SURVEY_PLAN_TYPE.sql @@ -0,0 +1,44 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_SURVEY_PLAN_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_SURVEY_PLAN_TYPE +GO + +INSERT INTO PIMS_SURVEY_PLAN_TYPE (SURVEY_PLAN_TYPE_CODE, DESCRIPTION) +VALUES + (N'S107REFART', N'S.107 Reference – arterial'), + (N'S107EXPLNART', N'S.107 Explanatory – arterial'), + (N'S107REFNART', N'S.107 Reference – not arterial'), + (N'S107EXPLNNART', N'S.107 Explanatory – not arterial'), + (N'S113REFHWYX', N'S.113 Reference SRW – Highway closure'), + (N'S113REFFRM12', N'S.113 Reference SRW – Form 12'), + (N'S113REFSRW', N'S.113 Reference SRW – SRW'), + (N'S99EXPLNTRY', N'S.99(1)(e) Explanatory – SRW'), + (N'S99SUB4TRAN', N'S.99(1)(h)(i) Reference – Subdivision for tran purpose'), + (N'S107S27TFAX', N'S.107LTA/s.27(3)(b) TA/s.6 EA ref – BCTFA Expropriation'), + (N'S107S10MOTX', N'S.107 LTA/ s.10 TA/ s.6 EA ref – MoTI Expropriation'), + (N'S113S10MOTX', N'S.113 LTA/ s.10 TA/s.6 EA ref – MoTI Expropriation SRW'), + (N'S113S27TFAX', N'S.113 LTA/s.27(3)(b) TA/s.6 EA ref – BCTFA expropriation SRW'), + (N'LNDACTPLCRW', N'Land Act Plan – Crown grant'), + (N'SKETCHSITEP', N'Sketch/site plan'), + (N'S1001BLTACP', N'S.100(1)(b) LTA – Consolidation plan'), + (N'S109REFHWYX', N'S.109 reference plan-hwy closure'), + (N'S109SUBHWYX', N'S.109 subdivision plan – hwy closure'), + (N'S219LTARCOV', N'S.219 LTA reference – Covenant'), + (N'S219LTAXCOV', N'S.219 LTA explanatory – Covenant'), + (N'S991EESMNT', N'S.99(1)(e) – easement'), + (N'S67LTASUBD', N'S.67LTA – subdivision'), + (N'BLKOTLNPST', N'Block Outline reference'), + (N'S69LTABLKO', N'S.69LTA – Block Outline Posting'), + (N'S68POSTING', N'S.68 – Posting'), + (N'AIRSPACE', N'Airspace'), + (N'S1001AREF', N'S.100(1)(a) reference'), + (N'S16MAPRSRV', N'S.16 Map Reserve'), + (N'S17MAPRSRV', N'S.17 Map Reserve'), + (N'OTHER', N'Other'); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/096_DML_PIMS_LAND_SURVEYOR_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/096_DML_PIMS_LAND_SURVEYOR_TYPE.sql new file mode 100644 index 0000000000..93b98fbe4b --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/096_DML_PIMS_LAND_SURVEYOR_TYPE.sql @@ -0,0 +1,17 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_LAND_SURVEYOR_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_LAND_SURVEYOR_TYPE +GO + +INSERT INTO PIMS_LAND_SURVEYOR_TYPE (LAND_SURVEYOR_TYPE_CODE, DESCRIPTION) +VALUES + (N'CLS', N'CLS (Canada Land Surveyor)'), + (N'BCLS', N'BCLS (BC Land Surveyor)'), + (N'OTHER', N'Other'); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/097_DML_PIMS_ACTIVITY_INSTANCE_STATUS_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/097_DML_PIMS_ACTIVITY_INSTANCE_STATUS_TYPE.sql new file mode 100644 index 0000000000..1913389f70 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/097_DML_PIMS_ACTIVITY_INSTANCE_STATUS_TYPE.sql @@ -0,0 +1,18 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_ACTIVITY_INSTANCE_STATUS_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_ACTIVITY_INSTANCE_STATUS_TYPE +GO + +INSERT INTO PIMS_ACTIVITY_INSTANCE_STATUS_TYPE (ACTIVITY_INSTANCE_STATUS_TYPE_CODE, DESCRIPTION, DISPLAY_ORDER) +VALUES + (N'NOSTART', N'Not Started', 1), + (N'INPROG', N'In Progress', 2), + (N'COMPLETE', N'Completed', 3), + (N'CANCELLED', N'Cancelled', 4); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/098_DML_PIMS_FENCE_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/098_DML_PIMS_FENCE_TYPE.sql new file mode 100644 index 0000000000..76edddbfb2 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/098_DML_PIMS_FENCE_TYPE.sql @@ -0,0 +1,21 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_FENCE_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_FENCE_TYPE +GO + +INSERT INTO PIMS_FENCE_TYPE (FENCE_TYPE_CODE, DESCRIPTION) +VALUES + (N'ALUMBARB', N'Aluminum, Barbwire (Type C)'), + (N'CHAINLNK', N'Chain Link (Type D)'), + (N'CONCRETE', N'Concrete'), + (N'ELECTRIC', N'Electric'), + (N'IRON', N'Iron'), + (N'WIREWOOD', N'Page Wire, Wood'), + (N'OTHER', N'Other'); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/099_DML_PIMS_LETTER_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/099_DML_PIMS_LETTER_TYPE.sql new file mode 100644 index 0000000000..c534a93990 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/099_DML_PIMS_LETTER_TYPE.sql @@ -0,0 +1,15 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_LETTER_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_LETTER_TYPE +GO + +INSERT INTO PIMS_LETTER_TYPE (LETTER_TYPE_CODE, DESCRIPTION) +VALUES + (N'OWNER', N'Owner Letter'); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/100_DML_PIMS_ACTIVITY_TEMPLATE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/100_DML_PIMS_ACTIVITY_TEMPLATE.sql new file mode 100644 index 0000000000..fc32e0c01d --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/100_DML_PIMS_ACTIVITY_TEMPLATE.sql @@ -0,0 +1,26 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_ACTIVITY_TEMPLATE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_ACTIVITY_TEMPLATE +GO + +INSERT INTO PIMS_ACTIVITY_TEMPLATE (ACTIVITY_TEMPLATE_TYPE_CODE, IS_DISABLED, CONCURRENCY_CONTROL_NUMBER) +VALUES + (N'GENERAL', CONVERT([bit],(0)), 1), + (N'SURVEY', CONVERT([bit],(1)), 1), + (N'SITEVIS', CONVERT([bit],(0)), 1), + (N'GENLTR', CONVERT([bit],(0)), 1), + (N'FILEDOC', CONVERT([bit],(1)), 1), + (N'NOTENTRY', CONVERT([bit],(0)), 1), + (N'CONDENTRY', CONVERT([bit],(0)), 1), + (N'RECNEGOT', CONVERT([bit],(0)), 1), + (N'CONSULT', CONVERT([bit],(0)), 1), + (N'RECTAKES', CONVERT([bit],(0)), 1), + (N'OFFAGREE', CONVERT([bit],(0)), 1), + (N'COMPREQ', CONVERT([bit],(0)), 1); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/101_DML_PIMS_COST_TYPE_CODE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/101_DML_PIMS_COST_TYPE_CODE.sql new file mode 100644 index 0000000000..593bcc2eeb --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/101_DML_PIMS_COST_TYPE_CODE.sql @@ -0,0 +1,810 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_COST_TYPE_CODE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_COST_TYPE_CODE +GO + +INSERT INTO PIMS_COST_TYPE_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) +VALUES + ('TRIM', 'TRIM (TRACKING RECORDS INFORMATION MANAGEMENT)', '20050802 09:42:50.0'), + ('PBC FEE', 'PARTNERSHIPS BC SUCCESS FEE', '20050802 15:47:04.0'), + ('IR24', 'INDIAN RESERVE 24', '20050831 10:25:31.0'), + ('WXCELL', 'WEATHER STATION - CELLULAR LINK', '20050909 13:16:36.0'), + ('WXGSTR', 'WEATHER STATION - SATELLITE LINK', '20050909 13:16:36.0'), + ('INELIGBL', 'INELIGIBLE EXPENDITURE FOR FEDERAL RECOVERY', '20050920 14:39:53.0'), + ('KC POOL', 'FIELD SERVICES CAICE SERVICES', '20050928 16:09:29.0'), + ('MAN RESV', 'MANAGEMENT RESERVE', '20051018 13:48:36.0'), + ('PROV SUM', 'PROVISIONAL SUM', '20051020 14:09:16.0'), + ('AVALANCH', 'AVALANCHE', '20060228 14:08:58.0'), + ('INT AUD', 'INTERNAL AUDIT (AUDITOR GENERAL)', '20051026 10:43:23.0'), + ('AUDIT', 'AUDITING', '20051216 15:56:24.0'), + ('STUMPAGE', 'STUMPAGE', '20060320 08:59:04.0'), + ('PROV CHG', 'PROVINCE CHANGES', '20060614 10:32:41.0'), + ('OFF EXP', 'OFFICE EXPENSES', '20060808 15:20:19.0'), + ('TOWING', 'VEHICLE TOWING', '20060816 15:31:07.0'), + ('RAWSBASE', 'RAWSBASE - SAWS OPERATING', '20060905 11:53:38.0'), + ('ACC RTN', 'ACCRUAL RETURN', '20061117 14:32:44.0'), + ('WTS', 'WORKPLACE TECHNOLOGY SERVICES', '20061120 09:58:22.0'), + ('SFTY CON', 'SAFETY CONSULTANT', '20061208 09:07:17.0'), + ('WELLNESS', 'WORKPLACE HEALTH & WELLNESS', '20070228 12:00:11.0'), + ('ELEC VI', 'TRAFFIC DATA PROGRAM VANCOUVER ISLAND', '20070417 09:49:15.0'), + ('ELEC SC', 'TRAFFIC DATA PROGRAM SOUTH COAST', '20070417 09:50:03.0'), + ('ELEC NR', 'TRAFFIC DATA PROGRAM NORTHERN REGION', '20070417 09:50:03.0'), + ('ELEC SI', 'TRAFFIC DATA PROGRAM SOUTHERN REGION', '20070417 09:50:22.0'), + ('ELEC CO', 'TRAFFIC DATA PROGRAM COBRA', '20070417 09:50:55.0'), + ('BCPSA', 'BC PUBLIC SERVICE AGENCY', '20070417 09:54:34.0'), + ('ARES', 'RECURRING ARES OCCUPANCY CHARGES', '20070417 09:54:34.0'), + ('MC-CL', 'CLEARING ? PURCHASING CARD', '20070417 10:14:40.0'), + ('MAT TEST', 'MATERIAL TESTING', '20070417 15:39:16.0'), + ('IMB', 'INFORMATION MANAGEMENT BRANCH', '20070424 08:55:37.0'), + ('RECOV1', 'RECOVERY 1', '20070424 08:56:17.0'), + ('RECOV2', 'RECOVERY 2', '20070424 08:56:17.0'), + ('SAL LIAB', 'SALARY LEAVE LIABILITY', '20070424 14:39:31.0'), + ('SAL LUMP', 'SALARY LUMP SUM', '20070424 14:39:31.0'), + ('EMP RECR', 'EMPLYEE RECRUITMENT COSTS', '20070425 11:35:10.0'), + ('EXPLOS', 'EXPLOSIVES', '20070425 13:38:52.0'), + ('FIRSTAID', 'FIRST AID', '20070427 10:15:38.0'), + ('CONS SUP', 'CONSTRUCTION SUPERVISION', '20070515 11:43:31.0'), + ('BRID SUP', 'BRIDGE SUPERVISION', '20070515 11:43:31.0'), + ('PAVE SUP', 'PAVE SUPERVISION', '20070515 11:43:31.0'), + ('RHB PROG', 'REHAB PROGRAM', '20070515 11:43:31.0'), + ('TRAF ENF', 'TRAFFIC ENFORCEMENT', '20070515 12:05:49.0'), + ('ENG SRV', 'ENGEINEERING SERVICES', '20070515 12:05:49.0'), + ('PAVEPREP', 'PAVEMENT PREP WORK', '20070515 12:05:49.0'), + ('ACT NOW', 'ACT NOW', '20070621 15:46:03.0'), + ('FENCE', 'NON-WILDLIFE FENCING', '20071120 15:58:22.0'), + ('PAVING', 'PAVING', '20070911 08:55:56.0'), + ('EMR ADJ', 'EMR ADJUSTMENT', '20071105 12:11:33.0'), + ('SEISMIC', 'SEISMIC', '20080331 08:53:53.0'), + ('BRIDGE', 'BRIDGE STRUCTURE', '20080507 13:49:14.0'), + ('ROW', 'RIGHT OF WAY', '20080507 13:49:14.0'), + ('RWIS', 'AVALANCHE RWIS EXPANSION - CAPITAL', '20080513 11:19:13.0'), + ('GRANTTFA', 'GRANT TO BCTFA', '20080509 14:03:18.0'), + ('GRANTBCT', 'GRANT TO BC TRANSIT', '20080509 14:25:40.0'), + ('PROV', 'PROVINCIAL AVALANCHE CONTROL - CAPITAL', '20080513 11:19:13.0'), + ('3VG', 'AVALANCHE CONTROL - 3 VALLEY GAP - CAPITAL', '20080513 11:19:13.0'), + ('DRAFT', 'DRAFTING', '20080520 10:52:10.0'), + ('EXPLORA', 'EXPLORATION', '20080520 10:53:46.0'), + ('LAB', 'LABORATORY', '20080604 14:28:28.0'), + ('GATEWAY', 'GATEWAY', '20080626 13:20:56.0'), + ('FEDERAL', 'FEDERAL', '20080626 13:20:56.0'), + ('CAR FORW', 'CARRY FORWARD', '20080626 13:20:56.0'), + ('PRELOAD', 'PRELOAD', '20080702 11:49:48.0'), + ('SAFETY', 'SAFETY', '20080812 15:38:41.0'), + ('LANDFILL', 'LANDFILL', '20080725 09:34:51.0'), + ('GEOT MON', 'GEOTECHNICAL MONITORING', '20080730 11:51:59.0'), + ('STUDY', 'STUDY', '20080923 08:25:16.0'), + ('ESTIMATE', 'ESTIMATE', '20080923 08:25:43.0'), + ('DRAINAGE', 'DRAINAGE', '20080929 15:58:40.0'), + ('PIPE', 'PIPE', '20080929 15:58:53.0'), + ('ADJUST', 'ADJUSTMENT', '20080930 09:11:56.0'), + ('DISTRICT', 'DISTRICT SUPPORT FOR PROJECTS', '20081015 14:57:42.0'), + ('ENVIRON', 'ENVIRONMENT', '20081022 15:47:03.0'), + ('WEB CAM', 'WEB CAM', '20081124 14:38:26.0'), + ('SALVAGE', 'SALVAGE', '20090115 13:19:02.0'), + ('CEAA', 'CANADIAN ENVIRONMENTAL ACT APPROVAL', '20090219 15:53:45.0'), + ('EOR', 'ENGINEER OF RECORD', '20090226 09:13:57.0'), + ('ARCHITEC', 'ARCHITECTURE', '20090309 09:19:44.0'), + ('ACCRUAL', 'ACCRUAL', '20090323 15:49:36.0'), + ('OTHBCPSA', 'OTHER - BC PUBLIC SERVICE AGENCY', '20090522 15:04:49.0'), + ('INVPLANT', 'INVASIVE PLANT', '20090602 14:15:32.0'), + ('TRANSIT', 'TRANSIT', '20090720 13:24:39.0'), + ('SYSTEMS', 'SYSTEMS STRUCTURES', '20090731 09:52:57.0'), + ('OPENHSE', 'OPENHOUSE', '20090731 09:49:16.0'), + ('GUIDEWAY', 'GUIDEWAY CONSTRUCTION', '20090731 09:52:57.0'), + ('TEST COM', 'TESTING & COMMISSIONING', '20090731 09:52:57.0'), + ('LOA', 'LETTER OF AGREEMENT', '20091019 09:39:14.0'), + ('ARB&MED', 'ARBITRATORS & MEDIATORS', '20100113 14:10:42.0'), + ('CUSTM', 'CUSTOM BUSES', '20100121 14:05:34.0'), + ('CONVEN', 'CONVENTIONAL BUSES', '20100121 14:05:57.0'), + ('COMM', 'COMMUNITY BUSES', '20100121 14:06:25.0'), + ('EXT SRV', 'EXTRA SERVICE', '20100209 13:46:06.0'), + ('DAMAGES', 'PAYMENTS FOR PROPERTY DAMAGES', '20100520 17:09:00.0'), + ('CFS EXP', 'CFS EXPENDITURES', '20100603 10:55:38.0'), + ('OFF REL', 'RELOCATION OF TRAILERS OR OFFICES', '20100603 10:57:08.0'), + ('SSBCREC', 'SHARED SERVICES BC RECOVERIES', '20100607 11:15:24.0'), + ('POC', 'PRIMARY OPERATIONS CENTRE', '20101019 08:53:37.0'), + ('SOC', 'SECONDARY OPERATIONS CENTRE', '20101019 08:53:37.0'), + ('BIKEPATH', 'BIKEPATH', '20101025 15:32:10.0'), + ('SEC 3/6', 'SECTION 3/6', '20101108 10:50:50.0'), + ('FLD SRVS', 'FIELD SERVICES', '20101117 11:50:59.0'), + ('GEOTECH', 'GEOTECH', '20101117 11:52:34.0'), + ('ELECTRCL', 'ELECTRICAL', '20101117 11:54:21.0'), + ('EXT PRES', 'EXTERNAL PRESSURE', '20101203 09:14:48.0'), + ('CHAIN UP', 'CHAIN UP AREA, SIGNAGE & MAINTENANCE', '20101215 12:00:33.0'), + ('WALL', 'WALLS & RETAINING STRUCTURES', '20110311 14:51:29.0'), + ('INVTORY', 'INVENTORY', '20110525 10:47:24.0'), + ('AUGER', 'AUGERING', '20120124 11:21:10.0'), + ('COMM REV', 'COMMISSIONER REVIEW', '20110726 13:56:56.0'), + ('P3MGMT', 'P3 CONCESSION MANAGEMENT', '20120117 14:21:05.0'), + ('COV SCRV', 'CITY OF VANCOUVER - S CURVE TO HARBOUR CENTRE', '20120605 11:03:05.0'), + ('COV TEMP', 'CITY OF VANCOUVER - TEMPORARY FIBRE', '20120605 11:03:05.0'), + ('COV CAMB', 'CITY OF VANCOUVER - CAMBIE CORRIDOR', '20120605 11:03:05.0'), + ('TLK KENT', 'TRANSLINK - KENT AVENUE', '20120605 11:03:05.0'), + ('RMD TMC', 'CITY OF RICHMOND - TMC CONNECTION', '20120605 11:03:05.0'), + ('SFPR', 'SOUTH FRASER PERIMETER ROAD', '20120605 11:03:05.0'), + ('COS TMC', 'CITY OF SURREY - TMC CONNECTION', '20120605 11:03:05.0'), + ('TLK GEG', 'TRANSLINK - GOLDEN EARS BRIDGE', '20120605 11:03:05.0'), + ('PMV TEMP', 'PORT METRO VANCOUVER - TEMPORARY FIBRE', '20120605 11:03:05.0'), + ('M SYSINT', 'MATERIALS - SYSTEM INTEGRATOR', '20120605 11:03:05.0'), + ('C SYSINT', 'CONSULTANT - SYSTEM INTEGRATOR', '20120605 11:03:05.0'), + ('MISC', 'MISCELLANEOUS MATERIALS', '20120612 14:43:19.0'), + ('BENEFITS', 'BENEFITS', '20120622 09:16:10.0'), + ('OVERTIME', 'OVERTIME', '20120622 09:16:31.0'), + ('DRIVEBC', 'DRIVEBC', '20120717 10:45:03.0'), + ('11G CONV', '11G CONVERSION', '20121029 14:58:27.0'), + ('ADD SERV', 'ADDITIONAL SERVICES', '20121101 09:30:40.0'), + ('FN CONS', 'FIRST NATION CONSULT', '20121123 15:34:27.0'), + ('BONUS', 'BONUS', '20130103 20:28:05.0'), + ('PARKING', 'PARKING', '20130318 11:27:50.0'), + ('BCGEU', 'BCGEU', '20130404 10:55:19.0'), + ('RECOV50', 'RECOVERY STOB 50', '20130411 08:40:47.0'), + ('RECOV51', 'RECOVERY STOB 51', '20130411 08:41:02.0'), + ('RECOV52', 'RECOVERY STOB 52', '20130411 08:41:23.0'), + ('RECOV57', 'RECOVERY STOB 57', '20130411 08:41:23.0'), + ('RECOV59', 'RECOVERY STOB 59', '20130411 08:42:33.0'), + ('RECOV60', 'RECOVERY STOB 60', '20130411 08:42:33.0'), + ('RECOV61', 'RECOVERY STOB 61', '20130411 08:42:33.0'), + ('RECOV63', 'RECOVERY STOB 63', '20130411 08:42:33.0'), + ('RECOV65', 'RECOVERY STOB 65', '20130411 08:42:33.0'), + ('RECOV68', 'RECOVERY STOB 68', '20130411 08:42:33.0'), + ('RECOV69', 'RECOVERY STOB 69', '20130411 08:42:33.0'), + ('RECOV70', 'RECOVERY STOB 70', '20130411 08:43:30.0'), + ('RECOV73', 'RECOVERY STOB 73', '20130411 08:43:30.0'), + ('RECOV75', 'RECOVERY STOB 75', '20130411 08:43:30.0'), + ('RECOV85', 'RECOVERY STOB 85', '20130411 08:43:30.0'), + ('RECOV89', 'RECOVERY STOB 89', '20130411 08:43:30.0'), + ('RECOV90', 'RECOVERY STOB 90', '20130411 08:43:30.0'), + ('RTMC B/U', 'REGIONAL TRANSPORTATION MANAGEMENT CENTRE BACKUP', '20140521 11:56:49.0'), + ('VAMP', 'VIRTUALIZATION AND MIGRATION PROJECT', '20140527 14:55:51.0'), + ('ALEX/PAT', 'ALEX FRASER/PATULLO BRIDGE', '20140521 11:55:21.0'), + ('NVAN/CAP', 'NORTH VANCOUVER/CAPILANO ROAD', '20140521 11:55:22.0'), + ('BETTER', 'BETTERMENTS', '20140618 14:33:49.0'), + ('ROOM BRD', 'ROOM & BOARD', '20140625 09:11:34.0'), + ('RFP', 'REQUEST FOR PROPOSALS', '20140627 11:07:57.0'), + ('ADD WORK', 'ADDITIONAL WORK', '20141023 14:52:40.0'), + ('PED CYC', 'PEDESTRIAN AND CYCLIST DISRUPTION PAYMENTS', '20141030 14:21:29.0'), + ('WEB SITE', 'WEB SITE', '20141204 09:35:12.0'), + ('TESTLJG', 'TEST FOR CAS R12', '20141209 15:00:05.0'), + ('TESTLJG2', 'TEST FOR CAS R12', '20141210 15:00:35.0'), + ('STAF APP', 'STAFF APPRECIATION', '20150210 11:09:22.0'), + ('STNPLAZA', 'STATION PLAZAS', '20150508 13:38:45.0'), + ('OFF FUR', 'OFFICE FURNITURE', '20150824 14:26:43.0'), + ('TEST CGI', 'TEST CGI KEY CHANGE - JAN 5.2016', '20160105 13:27:44.0'), + ('TEST', 'TEST CAS UPLOAD - NOV 19.2015', '20151119 09:56:42.0'), + ('FN OTHER', 'FIRST NATIONS - OTHER', '20160104 12:55:37.0'), + ('ESCALATE', 'ESCALATION', '20160108 14:43:46.0'), + ('HYDRO', 'HYDRO BILLINGS', '20160606 10:15:59.0'), + ('CGIFEED', 'MAY 10 2017 CONFIRM CGI FEEDER', '20170510 15:21:14.0'), + ('REL BLDG', 'RELATION BUILDING', '20160727 12:40:12.0'), + ('IMP STRA', 'IMPLEMENTATION STRATEGY', '20160926 16:30:04.0'), + ('HYDROTEC', 'HYDROTECHNICAL', '20180328 09:40:32.0'), + ('OFF RENT', 'OFFICE RENT', '20180531 10:29:36.0'), + ('IT CHRGS', 'IT CHARGES', '20180531 10:32:39.0'), + ('CONPAR1', 'CONSULTANT PARSON', '20180816 17:49:59.0'), + ('CONSTE3', 'CONSULTANT STEADMAN', '20180816 17:49:59.0'), + ('CONHAT4', 'CONSULTANT HATFIELD', '20180816 17:49:59.0'), + ('CONKIR5', 'CONSULTANT KIIRK & CO', '20180816 17:49:59.0'), + ('CONSCO7', 'CONSULTANT SCOBLT', '20180816 17:49:59.0'), + ('CONINF8', 'CONSULTANT INFRAY-LINK', '20180816 17:49:59.0'), + ('CONBIN10', 'CONSULTANT BINDU', '20180816 17:49:59.0'), + ('CONCHA11', 'CONSULTANT CHARTER', '20180816 17:49:59.0'), + ('CONCOO9', 'CONSULTANT TJ COOPER', '20180816 17:49:59.0'), + ('CONGOL2', 'CONSULTANT GOLDER', '20180816 17:49:59.0'), + ('CHA', 'CULTURAL HERITAGE ASSESSMENT', '20190624 11:35:01.0'), + ('ACCOMM', 'ACCOMMODATION', '20190624 15:01:57.0'), + ('TLK BSP', 'TRANSLINK - BROADWAY SUBWAY PROJECT', '20191030 15:27:12.0'), + ('INVEST', 'INVESTIGATIONS', '20190912 14:40:02.0'), + ('BEN AGRE', 'BENEFIT AGREEMENTS', '20190912 14:40:02.0'), + ('CAP FUND', 'CAPACITY FUNDING', '20190912 14:40:02.0'), + ('SURREY', 'CITY OF SURREY', '20190912 14:40:02.0'), + ('NEW WEST', 'CITY OF NEW WESTMINSTER', '20190912 14:40:02.0'), + ('STIPEND', 'STIPEND', '20190912 14:40:02.0'), + ('BCIB', 'BCIB ADMINISTRATIVE COSTS', '20190912 14:42:03.0'), + ('TI BOARD', 'TI CORP BOARD COSTS', '20191030 15:25:48.0'), + ('TEST2020', 'TEST CGI KEY CHANGE JAN 10 2020', '20200110 14:55:49.0'), + ('TELUS', 'TELUS', '20200116 12:23:08.0'), + ('FORTIS', 'FORTIS', '20200116 12:23:08.0'), + ('BC HYDRO', 'BC HYDRO', '20200116 12:23:08.0'), + ('TROLLEY', 'TROLLEY OH RELOCATION', '20200116 12:23:08.0'), + ('SIGN/WEB', 'SIGNAGE AND WEB CAMS', '20200116 12:24:32.0'), + ('MONITOR', 'MONITORING', '20200129 10:42:26.0'), + ('FINANCE', 'FINANCE', '20200306 09:27:38.0'), + ('PM', 'PROJECT MANAGEMENT AND SPECIAL PURPOSE VEHICLE', '20200306 09:27:38.0'), + ('DES MAN', 'DESIGN MANAGMENT', '20200306 09:27:38.0'), + ('DES INTM', 'INTERIM DESIGN', '20200306 09:27:38.0'), + ('DES FNAL', 'FINAL DESIGN', '20200306 09:27:38.0'), + ('PILES', 'PILES', '20200306 09:27:38.0'), + ('PILE CAP', 'PILE CAPS', '20200306 09:27:38.0'), + ('COLUMNS', 'COLUMNS AND ABUTMENTS', '20200306 09:27:38.0'), + ('BEAMS', 'BEAMS OR CROSS-HEADS', '20200306 09:27:39.0'), + ('DECK FAB', 'DECK FABRICATION', '20200306 09:27:39.0'), + ('DECK ERC', 'DECK ERECTION', '20200306 09:27:39.0'), + ('DECK SLB', 'DECK SLAB', '20200306 09:27:39.0'), + ('OVERLAY', 'OVERLAY', '20200306 09:27:39.0'), + ('DECK JNT', 'DECK JOINTS', '20200306 09:27:39.0'), + ('PILE FW', 'PILE CAP FORMWORK', '20200306 09:27:39.0'), + ('TOWER', 'TOWER', '20200306 09:27:39.0'), + ('ROAD', 'ROAD', '20200306 09:27:39.0'), + ('AIRCRAFT', 'AIRCRAFT', '20200306 09:27:39.0'), + ('NAVIGAT', 'NAVIGATION', '20200306 09:27:39.0'), + ('MAINT', 'MAINTENANCE', '20200306 09:27:39.0'), + ('ICE REM', 'ICE REMOVAL', '20200306 09:27:39.0'), + ('GANTRIES', 'GANTRIES', '20200306 09:27:39.0'), + ('COURSE', 'COURSE', '20200306 09:27:39.0'), + ('MUP', 'MULTI-USE PATH', '20200306 09:27:39.0'), + ('OVERPASS', 'OVERPASS', '20200306 09:27:39.0'), + ('RAMP', 'RAMP', '20200306 09:27:39.0'), + ('INTERCHG', 'INTERCHANGE', '20200306 09:27:39.0'), + ('DECK SUP', 'DECK SUPPORT', '20200309 10:13:07.0'), + ('BUDGET', 'BUDGET', '20200401 12:55:30.0'), + ('COVID19', 'COVID19', '20200423 11:24:32.0'), + ('MET VAN', 'METRO VANCOUVER', '20200722 14:13:46.0'), + ('CITY VAN', 'CITY OF VANCOUVER', '20200722 14:18:14.0'), + ('DES BLD', 'DESIGN BUILD', '20200723 12:56:54.0'), + ('RADIO OP', 'RADIO OPERATIONS', '20200810 12:01:38.0'), + ('RESTAREA', 'REST AREA', '20200810 12:04:53.0'), + ('CLEAN', 'CLEANING & SWEEPING', '20200810 12:06:53.0'), + ('PAINT', 'PAINTING', '20200810 12:09:41.0'), + ('JRE', 'JAVA RUNTIME ENVIRONMENT', '20200812 13:36:48.0'), + ('RAILROAD', 'RAILROAD', '20200820 08:54:46.0'), + ('MOBILIZ', 'MOBILIZATION', '20200901 13:45:31.0'), + ('BORE', 'BORED TUNNEL', '20200901 13:47:01.0'), + ('EXCAVATE', 'EXCAVATE', '20200901 13:47:32.0'), + ('STN STRU', 'STATION STRUCTURE', '20200901 13:49:45.0'), + ('STN FIT', 'STATION FIT OUT', '20200901 13:49:45.0'), + ('TUNNEL 1', 'TUNNEL 1', '20200901 13:53:52.0'), + ('TUNNEL 2', 'TUNNEL 2', '20200901 13:53:52.0'), + ('CROSS', 'CROSSOVER', '20200901 13:56:03.0'), + ('STRUCTUR', 'STRUCTURE', '20200901 13:58:51.0'), + ('TRAFFIC', 'TRAFFIC', '20200901 14:00:10.0'), + ('PASSAGES', 'PASSAGES', '20200901 14:02:00.0'), + ('WALKWAYS', 'WALKWAYS', '20200901 14:02:37.0'), + ('GNW', 'GREAT NORTHERN WAY', '20200901 14:04:36.0'), + ('MT PLSNT', 'MOUNT PLEASANT', '20200901 14:04:36.0'), + ('FAIRVIEW', 'FAIRVIEW-VGH', '20200901 14:07:11.0'), + ('GRANVILL', 'GRANVILLE', '20200901 14:07:11.0'), + ('ARBUTUS', 'ARBUTUS STREET', '20200901 14:07:11.0'), + ('FOUNDTN', 'FOUNDATION', '20200901 14:08:17.0'), + ('REINSTAT', 'REINSTATEMENT', '20200901 14:09:18.0'), + ('PLANS', 'PLANS', '20200901 14:12:54.0'), + ('MILEST1', 'MILESTONE 1', '20200901 14:21:39.0'), + ('MILEST2', 'MILESTONE 2', '20200901 14:21:39.0'), + ('MILEST3', 'MILESTONE 3', '20200901 14:21:39.0'), + ('PROCEDUR', 'PROCEDURES', '20200901 14:24:59.0'), + ('COMPLET', 'COMPLETION', '20200901 14:27:09.0'), + ('GRAV-INT', 'GRAVEL RECOVERIES INTERNAL TO GOVERNMENT', '20130411 15:40:21.0'), + ('GRAV-EXT', 'GRAVEL RECOVERIES EXTERNAL TO GOVERNMENT', '20130411 15:40:21.0'), + ('CON 60', 'CONTRACT COSTS STOB 60', '20130522 13:56:55.0'), + ('CON 61', 'CONTRACT COSTS STOB 61', '20130522 13:56:55.0'), + ('CON 63', 'CONTRACT COSTS STOB 63', '20130522 13:56:55.0'), + ('CON 69', 'CONTRACT COSTS STOB 69', '20130522 13:57:17.0'), + ('SALARY97', 'SALARY FOR STOB 97', '20130524 10:34:23.0'), + ('FTG', 'FRASER TRANSPORTATION GROUP', '20130531 08:45:06.0'), + ('DFAA', 'DISASTER FINANCIAL ASSISTANCE AGREEMENTS', '20130531 09:44:39.0'), + ('REC5097', 'INTER-DEPARTMENT RECOVERIES', '20130618 11:58:03.0'), + ('VIDEO', 'VIDEO', '20130903 10:26:24.0'), + ('REC5297', 'INTER-DEPARTMENT RECOVERIES', '20130618 11:58:03.0'), + ('PENNASK', 'PENNASK', '20130725 12:01:25.0'), + ('PROV ESC', 'PROVISION OF DOWN ESCALATOR', '20130903 16:59:32.0'), + ('INST ESC', 'INSTALL DOWN ESCALATOR', '20130903 17:00:10.0'), + ('PBLC ART', 'PUBLIC ART', '20130918 13:47:33.0'), + ('MUNICIP', 'MUNICIPALITIES', '20130920 10:40:42.0'), + ('BUS LOOP', 'BUS LOOP', '20131016 15:35:36.0'), + ('HWY PLAN', 'HIGHWAY PLANNING', '19991122 18:22:17.0'), + ('HWY ENG', 'HIGHWAY ENGINEERING', '19991122 18:22:18.0'), + ('GEOT ENG', 'GEOTECH ENGINEERING', '19991122 18:22:18.0'), + ('BRID ENG', 'BRIDGE ENGINEERING', '19991122 18:22:18.0'), + ('ELEC ENG', 'ELECTRICAL ENGINEERING', '19991122 18:22:18.0'), + ('STR ENG', 'STRUCTURAL ENGINEEING', '19991122 18:22:18.0'), + ('VAL ENG', 'VALUE ENGINEERING', '19991122 18:22:18.0'), + ('OTH ENG', 'OTHER ENGINEERING', '19991122 18:22:18.0'), + ('LABOUR', 'LABOUR', '19991122 18:22:18.0'), + ('MATERIAL', 'MATERIAL', '19991122 18:22:18.0'), + ('EQUIP', 'EQUIPMENT', '19991122 18:22:18.0'), + ('SUPERVN', 'SUPERVISION', '19991122 18:22:18.0'), + ('WK BY OT', 'WORK BY OTHERS', '19991122 18:22:18.0'), + ('ADVERT', 'ADVERTISING', '19991122 18:22:18.0'), + ('SALARY', 'SALARY', '19991122 18:22:19.0'), + ('TRAVEL', 'TRAVEL', '19991122 18:22:19.0'), + ('LEGAL', 'LEGAL', '19991122 18:22:19.0'), + ('APPRAIS', 'APPRAISAL', '19991122 18:22:19.0'), + ('ABORIG', 'ABORIGINAL INITIATIVES', '19991122 18:22:19.0'), + ('ISB', 'ISB/SYSTEMS COSTS', '19991122 18:22:19.0'), + ('ADMIN', 'ADMINISTRATION', '19991122 18:22:19.0'), + ('TFA', 'TFA SUPPORT', '19991122 18:22:19.0'), + ('CLAIMS', 'CLAIMS', '19991122 18:22:19.0'), + ('VEHICLES', 'VEHICLES', '19991122 18:22:19.0'), + ('HYD ENG', 'HYDRAULIC ENGINEERING', '19991122 18:22:19.0'), + ('VAL ANA', 'VALUE ANALYSIS', '19991122 18:22:19.0'), + ('UTIL', 'UTILITIES', '19991122 18:22:20.0'), + ('OWN REP', 'OWNERS REP', '19991122 18:22:20.0'), + ('WAT MON', 'WATER QUALITY MONITORING', '19991122 18:22:20.0'), + ('FISH', 'FISHERIES', '19991122 18:22:20.0'), + ('ARCH', 'ARCHEOLOGY', '19991122 18:22:20.0'), + ('AGRIC', 'AGRICULTURAL', '19991122 18:22:20.0'), + ('FORESTRY', 'FORESTRY', '19991122 18:22:20.0'), + ('OUT COST', 'OUTSIDE AGENCY COSTS', '19991122 18:22:20.0'), + ('OFF OVH', 'OFFICE OVERHEAD', '19991122 18:22:20.0'), + ('PUB DOC', 'PUBLICATIONS AND DOCUMENTARIES', '19991122 18:22:21.0'), + ('EVENTS', 'EVENTS AND COMMUNITY RELATIONS', '19991122 18:22:21.0'), + ('MARKET', 'MARKET APPROACH (TOTAL PROPERTY)', '19991122 18:22:21.0'), + ('SEV VAL', 'SEVERANCE VALUE', '19991122 18:22:21.0'), + ('SRW', 'EASEMENT/SRW', '19991122 18:22:21.0'), + ('TIMBER', 'TIMBER', '19991122 18:22:21.0'), + ('INJ AFF', 'INJURIOUS AFFECTION', '19991122 18:22:21.0'), + ('DED BEN', 'DEDUCT/BENEFITS', '19991122 18:22:21.0'), + ('TENANT', 'TENANT ALLOWANCE', '19991122 18:22:21.0'), + ('REL COST', 'RELOCATION COSTS', '19991122 18:22:22.0'), + ('PROP TAX', 'PROPERTY TAX', '19991122 18:22:22.0'), + ('DISTURB', 'DISTURBANCE', '19991122 18:22:22.0'), + ('PROP TRN', 'PROPERTY TRANSFER TAX', '19991122 18:22:22.0'), + ('5PRC OWN', '5% OWNER ALLOWANCE', '19991122 18:22:22.0'), + ('CONVEY', 'CONVEYANCE ALLOWANCE', '19991122 18:22:22.0'), + ('PRO ALL', 'PROFESSIONAL FEES ALLOWANCE', '19991122 18:22:22.0'), + ('LICENSE', 'LICENSE', '19991122 18:22:22.0'), + ('OWN EXE', 'OWNERS EXECUTIVE TIME', '19991122 18:22:22.0'), + ('PRO FEE', 'PROFESSIONAL FEES (PROPERTY)', '19991122 18:22:23.0'), + ('DEMOLIT', 'DEMOLITION', '19991122 18:22:23.0'), + ('PROP MAN', 'PROPERTY MANAGEMENT', '19991122 18:22:23.0'), + ('SECURITY', 'SECURITY', '19991122 18:22:23.0'), + ('NEGOT', 'NEGOTIATION', '19991122 18:22:23.0'), + ('EX AGENT', 'EXPROPRIATION AGENT', '19991122 18:22:23.0'), + ('CVY COST', 'CONVEYANCING COSTS', '19991122 18:22:23.0'), + ('EXP WIT', 'EXPERT WITNESS', '19991122 18:22:23.0'), + ('SURVEY', 'SURVEY', '19991122 18:22:23.0'), + ('S4 SURV', 'S. 4 ROAD SURVEY', '19991122 18:22:23.0'), + ('CONV COM', 'CONVERSION (COMMUNICATIONS)', '19991123 07:49:45.0'), + ('CONV ENG', 'CONVERSION (ENGINEERING)', '19991123 07:49:45.0'), + ('CONV ENV', 'CONVERSION (ENVIRONMENT)', '19991123 07:49:45.0'), + ('CONV LAN', 'CONVERSION (LAND)', '19991123 07:49:45.0'), + ('CONV PM', 'CONVERSION (PROJECT MANAGEMENT)', '19991123 07:49:46.0'), + ('CON CONT', 'CONSTRUCTION CONTRACT', '19991123 07:52:40.0'), + ('HIRE EQP', 'HIRED EQUIPMENT', '19991123 07:55:57.0'), + ('TELECOMM', 'TELECOMMUNICATIONS', '19991123 07:55:57.0'), + ('BLDG OCC', 'BUILDING OCCUPANCY', '19991123 07:55:57.0'), + ('REPRO', 'REPRODUCTION', '19991123 07:55:58.0'), + ('BUS EXP', 'BUSINESS EXPENSE APPROVALS', '19991122 18:22:19.0'), + ('OTH SERV', 'OTHER SERVICES (PROPERTY)', '19991123 07:55:58.0'), + ('P SERV M', 'PROFESSIONAL SERVICES - MOTH', '19991123 09:09:46.0'), + ('ACO ENG', 'ACOUSTICAL ENGINEERING', '19991122 18:22:20.0'), + ('HCL COST', 'HCL ADMINISTRATION COSTS', '19991122 18:22:20.0'), + ('WILDLIFE', 'WILDLIFE', '19991122 18:22:20.0'), + ('BIO STAB', 'BIOENGINEERING AND SLOPE STABILIZATION', '19991122 18:22:20.0'), + ('MAN CON', 'MANAGEMENT CONSULTANTS', '19991122 18:22:20.0'), + ('LAND', 'LAND', '19991122 18:22:21.0'), + ('IMP VAL', 'IMPROVEMENT VALUE', '19991122 18:22:21.0'), + ('GRAVEL', 'GRAVEL', '19991122 18:22:21.0'), + ('LAND MTH', 'LAND LEASED BY MOTH', '19991122 18:22:21.0'), + ('MOR PEN', 'MORTGAGE PENALTY', '19991122 18:22:21.0'), + ('BUS LOSS', 'BUSINESS LOSS', '19991122 18:22:22.0'), + ('INTEREST', 'INTEREST', '19991122 18:22:22.0'), + ('CON PROP', 'CONSTRUCTION COSTS J.V. PROPERTY USE', '19991122 18:22:22.0'), + ('OTH PROP', 'OTHER PROPERTY REPORTS', '19991122 18:22:22.0'), + ('OBSOLETE', 'OBSOLETE', '19991127 16:07:51.0'), + ('CONV CON', 'CONVERSION (CONSTRUCTION)', '19991130 06:59:46.0'), + ('OWN COST', 'OWNER COST (TO BE PHASED OUT)', '19991208 17:24:29.0'), + ('CONV PRO', 'CONVERSION (PROPERTIES)', '19991130 07:04:13.0'), + ('DISPLAYS', 'DISPLAYS', '19991216 08:08:44.0'), + ('INSUR', 'PROJECT INSURANCE PREMIUMS', '19991214 12:46:33.0'), + ('OFF EQUI', 'OFFICE EQUIPMENT', '20000112 13:19:41.0'), + ('DAY LABR', 'DAY LABOUR', '20000125 16:39:31.0'), + ('ENV MON', 'ENVIRONMENTAL MONITORING', '20000205 14:27:29.0'), + ('WAT QUAL', 'WATER QUALITY', '20000205 14:27:49.0'), + ('HERITAGE', 'HERITAGE & CULTURAL', '20000205 14:28:29.0'), + ('AGRCULTR', 'AGRICULTURAL & FORESTRY', '20000205 14:29:54.0'), + ('IS LEASE', 'INFO. SYSTEMS - LEASED COMPUTER EQUIP.', '20000317 15:28:08.0'), + ('SOCIO CO', 'SOCIO COMMUNITY', '20000205 14:31:25.0'), + ('VEGETATN', 'VEGETATION', '20000205 15:35:56.0'), + ('INT ADMN', 'INTERNAL/ADMIN (PROPERTY)', '20000216 10:58:07.0'), + ('IS - MMI', 'INFO. SYSTEMS - HARDWARE & SOFTWARE', '20000317 15:26:31.0'), + ('LANDSCAP', 'LANDSCAPING', '20000509 15:00:31.0'), + ('TRAF ENG', 'TRAFFIC ENGINEERING', '20000515 14:34:02.0'), + ('HYD SEED', 'HYDRO SEED', '20010608 16:16:02.0'), + ('COST SHR', 'COST SHARE', '20010608 16:14:18.0'), + ('DRILLING', 'DRILLING', '20010608 16:14:18.0'), + ('AGGREG', 'AGGREGATE', '20010608 16:15:39.0'), + ('INSPECT', 'INSPECTIONS', '20010608 16:15:17.0'), + ('LIGHTING', 'LIGHTING', '20010608 16:14:18.0'), + ('PAVE ENG', 'PAVEMENT ENGINEERING', '20010608 16:14:18.0'), + ('PIT PREP', 'PIT PREP / CLEAN-UP', '20010608 16:14:18.0'), + ('QUAL ASR', 'QUALITY ASSURANCE / CONTROL', '20010608 16:14:18.0'), + ('REFLCTR', 'RELFECTORS', '20010608 16:14:18.0'), + ('SFTY AUD', 'SAFETY AUDIT', '20010608 16:14:18.0'), + ('SIGNALS', 'SIGNALS', '20010608 16:14:18.0'), + ('SIGNS', 'SIGNS', '20010608 16:14:19.0'), + ('TRAF CTR', 'TRAFFIC CONTROL', '20010608 16:14:19.0'), + ('IRRIGATE', 'IRRIGATION', '20010608 16:14:59.0'), + ('SFTY EQP', 'SAFETY EQUIPMENT & SUPPLIES', '20020521 14:55:32.0'), + ('DESIGN', 'DESIGN', '20020521 14:55:32.0'), + ('CONSULT', 'CONSULTANT', '20020521 14:55:32.0'), + ('SFTY WKS', 'SAFETY WORKS', '20020521 14:55:32.0'), + ('CULVERT', 'CULVERT/DRAINAGE (REMOVAL, INSTALLATION, REPAIR)', '20020521 14:55:32.0'), + ('R&B MAIN', 'ROAD AND BRIDGE MAINTENANCE', '20020521 14:55:32.0'), + ('CATL GRD', 'CATTLE GUARDS', '20020521 14:55:32.0'), + ('GUARDRL', 'GUARDRAIL', '20020521 14:55:32.0'), + ('PEP RECV', 'PEP RECOVERIES', '20020521 14:55:32.0'), + ('PEP EXP', 'PEP EXPENDITURES', '20020521 14:55:32.0'), + ('RAIL NAV', 'RAIL / NAVIGABLE WATERS', '20020521 14:55:32.0'), + ('BRID INS', 'BRIDGE PLANT INSPECTION', '20020521 14:55:32.0'), + ('INS/BOND', 'CONTRACT INSURANCE AND BONDS', '20020521 14:55:32.0'), + ('WEED CON', 'WEED CONTROL (NOXIOUS)', '20020521 14:55:32.0'), + ('TRAINING', 'TRAINING', '20020524 09:03:16.0'), + ('PVM MARK', 'PAVEMENT MARKINGS', '20020523 08:41:56.0'), + ('HELICOPT', 'HELICOPTERS', '20020523 15:11:42.0'), + ('LUBE/SOL', 'LUBRICANTS AND SOLVENTS', '20020523 12:56:12.0'), + ('FUEL', 'FUEL (FERRIES)', '20020523 15:05:57.0'), + ('RESEARCH', 'RESEARCH DATA', '20020621 15:14:02.0'), + ('VENUES', 'VENUES', '20020621 15:19:14.0'), + ('AMORT', 'AMORTIZATION EXPENSES', '20020627 14:05:31.0'), + ('PROP SAL', 'PROPERTY SALES', '20020715 16:13:55.0'), + ('BR MGMT', 'BRANCH MANAGEMENT', '20020716 11:28:24.0'), + ('RECOVERY', 'RECOVERY', '20020802 09:36:30.0'), + ('DEFAULT', 'CAS DOWNLOAD NULL VALUE', '20020815 17:10:43.0'), + ('CLEARING', 'CLEARING AND GRUBBING', '20021001 09:06:31.0'), + ('MISC.', 'MISCELLANEOUS MATERIALS', '20021001 09:08:16.0'), + ('VISA-CL', 'VISA CLEARING PURCHASING CARD (STOB 8530 ONLY)', '20021017 10:06:24.0'), + ('TUNNEL', 'TUNNEL', '20030221 13:36:43.0'), + ('BEN OTHR', 'BENEFITS, OTHER', '20030311 09:36:54.0'), + ('BEN PRDM', 'BENEFITS, PER DIEM', '20030311 09:36:55.0'), + ('BEN PSRC', 'BENEFITS, PSERC PLAN', '20030311 09:36:55.0'), + ('BEN RELO', 'BENEFITS, RELOCATION', '20030311 09:36:55.0'), + ('BLDGBCBC', 'BLDG BCBC RENTAL', '20030311 09:36:55.0'), + ('COMP LSE', 'COMPUTER LEASE', '20030311 09:36:55.0'), + ('DATALINE', 'DATA LINES & COMMUNICATION', '20030311 09:36:55.0'), + ('RADIOS', 'RADIO PROVIDER SYSTEM', '20030311 09:36:55.0'), + ('REG ADM', 'REG ADMIN SUPPORT', '20030311 09:36:55.0'), + ('SHPCONST', 'SHIP CONSTRUCTION', '20030328 08:10:00.0'), + ('SAL OVTM', 'SALARIES, OVERTIME', '20030311 09:36:55.0'), + ('VEH PH&H', 'VEHICLE PHH', '20030311 09:38:31.0'), + ('ROBOTICS', 'ROBOTICS SUPPORT', '20030311 09:38:31.0'), + ('CAICE', 'CAICE MTNCE AND LEASE', '20030311 09:38:31.0'), + ('NUC DENS', 'NUC DENSOMETER', '20030311 09:38:31.0'), + ('TRV ADM', 'TRAVEL, ADMINISTRATIVE', '20030311 09:38:31.0'), + ('TRV PRJ', 'TRAVEL, PROJECT RELATED', '20030311 09:38:31.0'), + ('CON PROF', 'CONTRACTS, PROFESSIONAL SERVICES', '20030311 09:38:31.0'), + ('SAL OTHR', 'SALARIES, OTHER', '20030311 10:31:44.0'), + ('SAL BASE', 'BASE SALARIES', '20030320 13:24:09.0'), + ('SHPPROVX', 'SHIP PROVINCIAL EXPENDITURES', '20030328 08:10:00.0'), + ('SHPLPROP', 'SHIP LAND PROPERTIES & OTHER NON-ELIGIBLES', '20030328 08:10:00.0'), + ('SHPDESIG', 'SHIP DESIGN', '20030328 08:10:00.0'), + ('FREIGHT', 'FREIGHT', '20030417 15:30:19.0'), + ('LMWSC', 'LOCAL MINOR WORKS / SERVICES CONTRACT', '20030401 10:24:44.0'), + ('FLAGGING', 'FLAGGING & TRAFFIC CONTROL', '20030417 15:30:19.0'), + ('CREW', 'EM0PLOYEE CHARGES', '20030417 15:30:36.0'), + ('TRANSFER', 'TRANSFERS UNDER SHARED COST AGREEMENTS', '20030516 14:45:01.0'), + ('INFO TEC', 'INFORMATION TECHNOLOGY', '20030618 15:04:51.0'), + ('LEGL EXT', 'LEGAL EXTERNAL', '20030618 16:25:41.0'), + ('ICBC', 'INSURANCE CORP OF B.C.', '20030619 16:20:43.0'), + ('RENTALS', 'EQUIPMENT RENTALS', '20030624 08:32:18.0'), + ('FUEL VEH', 'FUEL FOR LEASE VEHICLES', '20030624 11:55:30.0'), + ('SUBSIDY', 'SUBSIDY', '20030626 16:07:24.0'), + ('CONTING', 'CONTINGENCY', '20030813 10:45:40.0'), + ('MISCPROP', 'MISCELLANEOUS PROPERTIES', '20030814 14:28:19.0'), + ('VAL ADD', 'VALUE ADDED ITEMS', '20030828 15:19:45.0'), + ('CITS', 'COMMON INFORMATION TECHNOLOGY SERVICES', '20031009 14:50:58.0'), + ('OWN ENG', 'OWNERS ENGINEER', '20031112 08:39:51.0'), + ('AQUA RES', 'AQUATIC RESOURCES', '20031210 09:52:45.0'), + ('CONTRIB', 'CONTRIBUTIONS', '20040128 09:51:40.0'), + ('REC', 'RECREATION', '20031210 13:22:29.0'), + ('AIR QUAL', 'AIR QUALITY', '20031210 13:22:46.0'), + ('MAPPING', 'MAPPING', '20031210 13:31:12.0'), + ('LIFTSPAN', 'LIFTSPAN', '20031211 09:25:42.0'), + ('SERV FEE', 'SERVICE FEES', '20040128 13:57:34.0'), + ('REPAIRS', 'REPAIRS', '20040205 10:19:50.0'), + ('MOU', 'MEMORANDUM OF UNDERSTANDING', '20040302 08:18:44.0'), + ('ENV PROP', 'ENVIRONMENTAL PROPERTY ACQUISITION', '20040302 14:05:27.0'), + ('TECH ADV', 'TECHNICAL ADVISOR', '20040422 11:39:53.0'), + ('SCHD MGR', 'SCHEDULE MANAGER', '20040422 11:41:18.0'), + ('PM ADVIS', 'PROJECT MANAGEMENT ADVISOR', '20040422 11:41:44.0'), + ('EXEC ADM', 'EXECUTIVE ADMINISTRATION', '20040422 11:42:09.0'), + ('PROG DEV', 'PROGRAM DEVELOPEMENT', '20040422 11:42:31.0'), + ('ADM SUPP', 'ADMINISTRATION SUPPORT', '20040422 11:43:31.0'), + ('ECON BEN', 'INDUCED ECONOMIC BENEFITS STUDY', '20040422 11:43:56.0'), + ('PM SUPP', 'PROJECT MANAGEMENT SUPPORT', '20040422 11:44:34.0'), + ('CONS SVS', 'CONSULTATION SERVICES', '20040422 11:45:00.0'), + ('EA COORD', 'ENVIRONMENTAL ASSESSMENT COORDINATION', '20040422 11:48:05.0'), + ('EA DOC', 'ENVIRONMENTAL ASSESSMENT DOCUMENTATION', '20040422 11:48:31.0'), + ('FIELD WK', 'FIELD WORK', '20040422 11:48:55.0'), + ('PUB CONS', 'PUBLIC CONSULTATION', '20040422 11:49:22.0'), + ('IMP ASSM', 'IMPACT ASSESSMENT', '20040422 11:59:05.0'), + ('REG LIAS', 'REGULATORY LIASON', '20040422 11:59:59.0'), + ('BUS PLAN', 'BUSINESS PLAN', '20040422 12:04:27.0'), + ('BUS MODL', 'BUSINESS MODEL', '20040422 12:04:27.0'), + ('RISK MGT', 'RISK MANAGEMENT', '20040422 12:05:06.0'), + ('PROC PRO', 'PROCUREMENT PROCESS', '20040422 12:05:50.0'), + ('TOLLING', 'TOLLING', '20040422 12:06:23.0'), + ('DUE DLGN', 'DUE DILIGENCE', '20040422 12:06:53.0'), + ('REL REV', 'RELATIONSHIP REVIEW', '20040422 12:07:21.0'), + ('GEN ADV', 'GENERAL ADVISORY', '20040422 12:07:47.0'), + ('FIN CONT', 'FINANCIAL CONTROLLER', '20040422 12:11:53.0'), + ('FIN CLK', 'FINANCIAL SERVICES CLERICAL WORK', '20040422 12:13:27.0'), + ('EA CERT', 'ENVIRONMENTAL ASSESSMENT CERTIFICATE APPLICATION', '20040422 12:13:53.0'), + ('CPS SUPP', 'CPS SUPPORT', '20040422 12:14:17.0'), + ('PHONE', 'PHONE COST', '20040422 12:14:51.0'), + ('OFF LEAS', 'OFFICE LEASE', '20040422 12:15:17.0'), + ('ASSESS', 'ASSESSMENT COSTS', '20040422 12:15:46.0'), + ('COM MGMT', 'COMMUNCIATIONS MANAGEMENT/PLANNING', '20040422 12:17:57.0'), + ('CAPTCOST', 'CAPITAL COST', '20040422 12:18:59.0'), + ('MISC GEN', 'MISCELLANEOUS GENERAL', '20040422 12:20:41.0'), + ('MEDIA', 'MEDIA RELATIONS/MONITORING/ISSUES MANAGEMENT', '20040422 12:21:43.0'), + ('REPORTNG', 'REPORTING', '20040422 12:22:08.0'), + ('INFO MAT', 'INFORMATION MATERIALS', '20040422 12:22:33.0'), + ('HYDROGEO', 'HYDROGEOLOGY', '20040422 12:23:00.0'), + ('AQUATIC', 'AQUATIC', '20040422 12:23:29.0'), + ('GOV BRFG', 'COUNCIL/GOVERNMENT BRIEFING', '20040422 12:24:33.0'), + ('TERESTRL', 'TERRESTRIAL', '20040422 12:24:57.0'), + ('NOISE', 'NOISE', '20040422 12:25:24.0'), + ('ENV INPT', 'ENVIRONMENTAL INPUT TO DOCUMENTATIONS', '20040422 12:25:54.0'), + ('ACQ COOR', 'ACQUISITION COORDINATOR', '20040426 16:14:58.0'), + ('DOC DEV', 'DOCUMENT DEVELOPMENT', '20040426 16:15:29.0'), + ('FAIR AUD', 'FAIRNESS AUDITOR', '20040426 16:15:55.0'), + ('FSTN ADV', 'FIRST NATIONS ADVISOR', '20040426 16:24:20.0'), + ('INDP REV', 'INDEPENDENT REVIEW', '20040426 16:24:46.0'), + ('LIASON', 'REGULATORY LIAISON', '20040426 16:25:17.0'), + ('NOISASMT', 'NOISE IMPACT ASSESSMENT', '20040426 16:25:59.0'), + ('PLTRFENG', 'PLANNING AND TRAFFIC ENGINEERING', '20040426 16:26:31.0'), + ('SCHEDULE', 'SCHEDULE', '20040426 16:26:58.0'), + ('STATNARY', 'STATIONARY AND OFFICE SUPPLIES', '20040426 16:27:32.0'), + ('STKH REL', 'STAKEHOLDERS/COMMUNITY RELATIONS', '20040426 16:28:03.0'), + ('TECCONSL', 'TECHNOLOGY CONSULTANT', '20040426 16:28:55.0'), + ('STATNRY', 'STATIONERY', '20040428 14:05:37.0'), + ('POSTAL', 'POSTAL CHARGES', '20040428 14:06:19.0'), + ('COURIER', 'COURIER CHARGES', '20040428 14:06:58.0'), + ('TRAIN BE', 'TRAINING - BUSINESS EXPENSE', '20040428 14:08:13.0'), + ('EMPL REC', 'EMPLOYEE RECOGNITION', '20040428 14:08:47.0'), + ('STOR REC', 'STORAGE OF RECORDS', '20040428 14:09:11.0'), + ('RECLAIM', 'PIT RECLAMATION', '20040428 14:52:26.0'), + ('TRAF MAN', 'TRAFFIC MANAGEMENT', '20040511 10:03:33.0'), + ('MODEL', 'MODEL', '20040521 08:38:05.0'), + ('CONSTRUC', 'CONSTRUCTION', '20040526 15:42:39.0'), + ('FRAN LK', 'FRANCOIS LAKE', '20040531 08:44:19.0'), + ('RECFOI', 'FOI RECOVERIES (IPR)', '20040531 10:58:42.0'), + ('RECMAFF', 'MAFF RECOVERIES (IPR)', '20040531 10:58:42.0'), + ('RES MDL', 'RESEARCH MODELING', '20040531 15:39:04.0'), + ('SAL RECO', 'SALARY RECOVERY', '20040604 08:44:28.0'), + ('UNIFORM', 'UNIFORM / CLOTHING', '20040623 11:51:47.0'), + ('DAS', 'DEVELOPMENT APPROVAL SYSTEM', '20040623 14:13:31.0'), + ('WEB', 'WEB BASED SYSTEM FOR SUBDIVISION APPROVAL PROCESS', '20040623 14:15:24.0'), + ('TRAF PLA', 'TRAFFIC PLANNING AND STUDIES', '20040625 13:18:59.0'), + ('ENV ENG', 'ENVIRONMENTAL INPUT TO ENGINEERING', '20040625 13:19:30.0'), + ('ITS', 'INTELLIGNET TRANSPORTATION SYSTEMS', '20040625 13:20:15.0'), + ('INC MAN', 'INCIDENT MANAGEMENT', '20040625 13:20:36.0'), + ('BARRIER', 'CONCRETE ROADSIDE BARRIER', '20040706 14:03:54.0'), + ('RADIO EQ', 'RADIO EQUIPMENT', '20040730 13:38:47.0'), + ('TOOLS', 'TOOLS', '20040730 13:39:09.0'), + ('PENALTY', 'PENALTIES', '20040805 12:16:37.0'), + ('INCR SER', 'INCREMENTAL SERVICE FEE', '20040805 12:25:18.0'), + ('FUEL INC', 'FUEL PRICE INCREASE', '20040806 08:45:16.0'), + ('WEB COST', 'WEB SITE COSTS / CHARGES', '20040809 16:03:05.0'), + ('DATAROOM', 'DATA ROOM COSTS', '20040809 16:03:18.0'), + ('BUS PROC', 'BUSINESS PROCESS', '20040812 14:45:04.0'), + ('POL&PRO', 'POLICY AND PROCEDURES', '20040812 14:45:25.0'), + ('HEAVY EQ', 'HEAVY EQUIPMENT', '20040818 08:39:56.0'), + ('PROC SER', 'PROCUREMENT SERVICES', '20040818 16:05:25.0'), + ('MITIGATE', 'PROPERTY MITIGATION', '20040827 12:31:16.0'), + ('BUD TRAN', 'BUDGET TRANSFER', '20040827 12:31:33.0'), + ('EXT-CPB', 'EXTERNAL CAPITAL PROGRAM BOARD MEMBERS', '20040909 09:55:18.0'), + ('PERMCOUN', 'PERM COUNTER', '20041021 15:54:54.0'), + ('CTM SITE', 'CONTAMINATED SITE WORK', '20041118 11:40:50.0'), + ('SEVERENC', 'SEVERENCE PAY', '20040826 09:14:29.0'), + ('MOT ADMN', 'MINISTRY ADMINISTRATION COSTS', '20041124 13:27:35.0'), + ('EA SUPP', 'ENVIRONMENTAL ASSESSMENT SUPPORT', '20041126 09:17:32.0'), + ('BANK CHG', 'BANK CHARGES (FINANCING COSTS)', '20041203 13:49:47.0'), + ('VDP', 'VOLUNTARY DEPARTURE PROGRAM (VDP)', '20050120 10:20:33.0'), + ('ROYALTY', 'MOT AGGREGATE ROYALTY', '20050127 15:13:30.0'), + ('AGG LEVY', 'AGGREGATE LEVY - EXTERNAL', '20050127 15:13:30.0'), + ('EMRG SER', 'EMERGENCY SERVICES', '20050201 11:44:21.0'), + ('PR YR CT', 'PRIOR YEAR COSTS (EXPENDITURES)', '20050225 09:05:45.0'), + ('TECH SUP', 'TECHNICAL SUPPORT', '20050504 17:41:49.0'), + ('PAYROLL', 'PAYROLL', '20050505 15:52:09.0'), + ('CIPP', 'CYCLING INFRASTRUCTURE PARTNERSHIPS PROGRAM', '20050510 16:03:32.0'), + ('GRANTS', 'GRANTS FOR AIRPORTS, PORTS AND CYCLYING INFRASTRUCTURE', '20050520 11:06:54.0'), + ('LOADREST', 'SEASONAL STRENGTH LOSS ON ROADS', '20050524 14:52:29.0'), + ('PHP', 'PROVINICIAL HIGHWAY PLAN', '20050602 09:33:54.0'), + ('FRAMEWRK', 'PLANNING FRAMEWORK', '20050602 09:34:45.0'), + ('CORAGREE', 'CORRIDOR AGREEMENTS', '20050602 09:40:47.0'), + ('TESTPILE', 'TEST PILE', '20050608 11:20:22.0'), + ('FUEL SUR', 'FUEL SURCHARGE', '20050628 13:38:49.0'), + ('CRUSHING', 'CRUSHING', '20050705 15:50:14.0'), + ('TEN IMPR', 'TENANT IMPROVEMENTS', '20050719 14:08:51.0'), + ('BUS MGR', 'BUSINESS / CONTRACT MANAGER', '20050727 15:37:07.0'), + ('COMPNSTN', 'COMPENSATION', '20050727 15:37:07.0'), + ('CORRIDOR', 'SEA TO SKY CORRIDOR COSTS', '20050727 15:37:07.0'), + ('DESN AUD', 'DESIGN AUDIT', '20050727 15:37:07.0'), + ('DIRECTOR', 'DIRECTOR', '20050727 15:37:07.0'), + ('ENV AUD', 'ENVIRONMENTAL AUDIT', '20050727 15:37:07.0'), + ('IND CERT', 'INDEPENDENT CERTIFIER', '20050727 15:37:07.0'), + ('OVERHEAD', 'OVERHEAD', '20050727 15:37:07.0'), + ('PBC COST', 'PBC COSTS', '20050727 15:37:07.0'), + ('QUAL AUD', 'QUALITY AUDITORS', '20050727 15:37:07.0'), + ('QUAL MGR', 'QUALITY ASSURANCE MANAGER', '20050727 15:37:07.0'), + ('REC CLK', 'RECORDS CLERK', '20050727 15:37:44.0'), + ('REC MGR', 'RECORDS MANAGER', '20050727 15:37:44.0'), + ('RECEPTN', 'RECEPTIONIST', '20050727 15:38:10.0'), + ('TRANSPRT', 'TRANSPORT', '20050727 15:38:10.0'), + ('OSRPRD1', 'ORACLE SERVER REPLACEMENT PRODUCTION 1', '20201021 12:17:50.0'), + ('OSRPRD2', 'ORACLE SERVER REPLACEMENT PRODUCTION 2', '20201021 12:17:50.0'), + ('HANDOVER', 'HANDOVER', '20210305 15:32:06.0'), + ('CO001', 'CHANGE ORDER 1', '20220602 11:34:41.0'), + ('CO002', 'CHANGE ORDER 2', '20220602 11:34:41.0'), + ('CO003', 'CHANGE ORDER 3', '20220602 11:34:41.0'), + ('CO004', 'CHANGE ORDER 4', '20220602 11:34:41.0'), + ('CO005', 'CHANGE ORDER 5', '20220602 11:34:41.0'), + ('CO006', 'CHANGE ORDER 6', '20220602 11:34:41.0'), + ('CO007', 'CHANGE ORDER 7', '20220602 11:34:41.0'), + ('CO008', 'CHANGE ORDER 8', '20220602 11:34:41.0'), + ('CO009', 'CHANGE ORDER 9', '20220602 11:34:41.0'), + ('CO010', 'CHANGE ORDER 10', '20220602 11:34:41.0'), + ('MW001', 'MINOR WORKS 1', '20220602 11:47:12.0'), + ('MW002', 'MINOR WORKS 2', '20220602 11:47:12.0'), + ('MW003', 'MINOR WORKS 3', '20220602 11:47:12.0'), + ('MW004', 'MINOR WORKS 4', '20220602 11:47:12.0'), + ('MW005', 'MINOR WORKS 5', '20220602 11:47:12.0'), + ('MW006', 'MINOR WORKS 6', '20220602 11:47:12.0'), + ('MW007', 'MINOR WORKS 7', '20220602 11:47:12.0'), + ('MW008', 'MINOR WORKS 8', '20220602 11:47:12.0'), + ('MW009', 'MINOR WORKS 9', '20220602 11:47:12.0'), + ('MW010', 'MINOR WORKS 10', '20220602 11:47:12.0'), + ('MW011', 'MINOR WORKS 11', '20220602 11:47:12.0'), + ('MW012', 'MINOR WORKS 12', '20220602 11:47:12.0'), + ('MW013', 'MINOR WORKS 13', '20220602 11:47:12.0'), + ('MW014', 'MINOR WORKS 14', '20220602 11:47:12.0'), + ('MW015', 'MINOR WORKS 15', '20220602 11:47:12.0'), + ('MW016', 'MINOR WORKS 16', '20220602 11:47:12.0'), + ('MW017', 'MINOR WORKS 17', '20220602 11:47:12.0'), + ('MW018', 'MINOR WORKS 18', '20220602 11:47:12.0'), + ('MW019', 'MINOR WORKS 19', '20220602 11:47:12.0'), + ('MW020', 'MINOR WORKS 20', '20220602 11:47:12.0'), + ('MW021', 'MINOR WORKS 21', '20220602 11:47:12.0'), + ('MW022', 'MINOR WORKS 22', '20220602 11:47:12.0'), + ('MW023', 'MINOR WORKS 23', '20220602 11:47:12.0'), + ('MW024', 'MINOR WORKS 24', '20220602 11:47:12.0'), + ('MW025', 'MINOR WORKS 25', '20220602 11:47:12.0'), + ('MW026', 'MINOR WORKS 26', '20220602 11:47:12.0'), + ('MW027', 'MINOR WORKS 27', '20220602 11:47:12.0'), + ('MW028', 'MINOR WORKS 28', '20220602 11:47:12.0'), + ('MW029', 'MINOR WORKS 29', '20220602 11:47:12.0'), + ('MW030', 'MINOR WORKS 30', '20220602 11:47:12.0'), + ('MW031', 'MINOR WORKS 31', '20220602 11:47:12.0'), + ('MW032', 'MINOR WORKS 32', '20220602 11:47:12.0'), + ('MW033', 'MINOR WORKS 33', '20220602 11:47:12.0'), + ('MW034', 'MINOR WORKS 34', '20220602 11:47:12.0'), + ('MW035', 'MINOR WORKS 35', '20220602 11:47:12.0'), + ('MW036', 'MINOR WORKS 36', '20220602 11:47:12.0'), + ('MW037', 'MINOR WORKS 37', '20220602 11:47:12.0'), + ('MW038', 'MINOR WORKS 38', '20220602 11:47:12.0'), + ('MW039', 'MINOR WORKS 39', '20220602 11:47:12.0'), + ('MW040', 'MINOR WORKS 40', '20220602 11:47:12.0'), + ('PC001', 'PROVINCE CHANGE 1', '20220602 12:00:57.0'), + ('PC002', 'PROVINCE CHANGE 2', '20220602 12:00:57.0'), + ('PC003', 'PROVINCE CHANGE 3', '20220602 12:00:57.0'), + ('PC004', 'PROVINCE CHANGE 4', '20220602 12:00:57.0'), + ('PC005', 'PROVINCE CHANGE 5', '20220602 12:00:57.0'), + ('PC006', 'PROVINCE CHANGE 6', '20220602 12:00:57.0'), + ('PC007', 'PROVINCE CHANGE 7', '20220602 12:00:57.0'), + ('PC008', 'PROVINCE CHANGE 8', '20220602 12:00:57.0'), + ('PC009', 'PROVINCE CHANGE 9', '20220602 12:00:57.0'), + ('PC010', 'PROVINCE CHANGE 10', '20220602 12:00:57.0'), + ('PC011', 'PROVINCE CHANGE 11', '20220602 12:00:57.0'), + ('PC012', 'PROVINCE CHANGE 12', '20220602 12:00:57.0'), + ('PC013', 'PROVINCE CHANGE 13', '20220602 12:00:57.0'), + ('PC014', 'PROVINCE CHANGE 14', '20220602 12:00:57.0'), + ('PC015', 'PROVINCE CHANGE 15', '20220602 12:00:57.0'), + ('PC016', 'PROVINCE CHANGE 16', '20220602 12:00:57.0'), + ('PC017', 'PROVINCE CHANGE 17', '20220602 12:00:57.0'), + ('PC018', 'PROVINCE CHANGE 18', '20220602 12:00:57.0'), + ('PC019', 'PROVINCE CHANGE 19', '20220602 12:00:57.0'), + ('PC020', 'PROVINCE CHANGE 20', '20220602 12:00:57.0'), + ('INDP ENG', 'INDEPENDENT ENGINEER', '20210322 09:41:59.0'), + ('FUNDING', 'ACCOMMODATION FUNDING', '20220207 10:30:06.0'), + ('HABITAT', 'HABITAT', '20220207 10:35:05.0'), + ('CAMBIE', 'BROADWAY-CITY HALL', '20200902 11:38:15.0'), + ('PREP-1', 'SITE PREPARATION', '20200902 12:32:55.0'), + ('BORE-1', 'BORED TUNNEL CONSTRUCTION', '20200902 12:32:55.0'), + ('PREP-2', 'SITE PREPARATION', '20200902 12:32:55.0'), + ('BORE-2', 'BORED TUNNEL CONSTRUCTION', '20200902 12:32:55.0'), + ('CONNECT', 'CONNECTION', '20200902 12:32:55.0'), + ('SCDR', 'SYSTEMS CONCEPT DESIGN REVIEW', '20200902 12:32:55.0'), + ('SPDR', 'SYSTEMS PRELIMINARY DESIGN REVIEW', '20200902 12:32:55.0'), + ('SFDR', 'SYSTEMS FINAL DESIGN REVIEW', '20200902 12:32:55.0'), + ('BOOK/SUB', 'BOOKS & SUBSCRIPTIONS', '20210401 11:19:14.0'), + ('RICHMOND', 'CITY OF RICHMOND', '20210506 15:17:44.0'), + ('DELTA', 'CITY OF DELTA', '20210506 15:17:44.0'), + ('INSTALL', 'INSTALLATION', '20200901 14:29:42.0'), + ('RAIL SUP', 'RAIL SUPPLY', '20200901 15:33:13.0'), + ('RAIL INT', 'RAIL INSTALL', '20200901 15:33:13.0'), + ('CABLE', 'CABLE', '20200901 15:36:23.0'), + ('SCADA', 'SUPERVISORY CONTROL AND DATA ACQUISITION', '20200901 15:38:50.0'), + ('DEMO', 'DEMONSTRATION', '20200901 15:44:20.0'), + ('HAZARD', 'HAZARD', '20200901 15:44:20.0'), + ('TESTING', 'TESTING', '20200901 15:51:59.0'), + ('TRIAL', 'TRIAL', '20200901 15:53:20.0'), + ('TMP ACC', 'TEMPORARY ACCESS', '20201120 18:47:18.0'), + ('PILE DEL', 'PILES DELIVERY', '20201120 18:52:12.0'), + ('STAFF', 'STAFF', '20201215 16:41:13.0'), + ('CAMERA', 'CAMERA', '20201215 16:41:13.0'), + ('VED', 'VANCOUVER ELECTRICAL DUCTS', '20201215 16:41:13.0'), + ('SEWER', 'SEWER', '20201215 16:41:13.0'), + ('FIBRE', 'FIBRE', '20201215 16:41:13.0'), + ('901GNW', '901 GREAT NORTHERN WAY', '20201215 16:41:13.0'), + ('PCIGNW', 'PCI GREAT NORTHERN WAY', '20201215 16:41:13.0'), + ('PCISGR', 'PCI SOUTH GRANVILLE', '20201215 16:41:13.0'), + ('COMMRCL', 'COMMERCIAL SUPPORT', '20201215 16:55:45.0'), + ('INTEGRAT', 'INFRASTRUCTURE INTEGRATION SUPPORT', '20201215 16:55:45.0'), + ('READINES', 'OPERATIONAL READINESS SUPPORT', '20201215 16:55:45.0'), + ('FACILITS', 'CYCLING AND PEDESTRIAN FACILITIES', '20210901 10:49:56.0'), + ('TEST2201', 'TEST FOR RELEASE 22.01', '20211013 12:56:55.0'), + ('TEST2202', 'TEST FOR RELEASE 22.02', '20211013 12:56:55.0'), + ('EDGE', 'EDGE', '20220512 13:59:42.0'), + ('INS PAY', 'INSURANCE PAYMENTS', '20201120 18:38:20.0'), + ('BND PAY', 'BONDING PAYMENTS', '20201120 18:38:20.0'), + ('STRIPP', 'REMOVAL ORG MATERIAL', '20201120 18:38:20.0'), + ('RWK EXCA', 'ROCK EXCAVATION', '20201120 18:38:20.0'), + ('RWK STBL', 'ROCK STABILIZATION', '20201120 18:38:20.0'), + ('PAV BASE', 'PAVING BASE LIFT', '20201120 18:38:20.0'), + ('PAV TOP', 'PAVING TOP LIFT', '20201120 18:38:20.0'), + ('STL SUB', 'STEEL SUBSTRUCTURES', '20201120 18:38:20.0'), + ('STL COMP', 'STEEL COMPONENTS', '20201120 18:38:20.0'), + ('CONC SUB', 'CONCRETE SUBSTRUCTURES', '20201120 18:38:20.0'), + ('GIRDER', 'GIRDER', '20201120 18:38:20.0'), + ('DEB PROT', 'DEBRIS FLOW PROTECTION', '20201120 18:38:20.0'), + ('LANDSLID', 'LANDSLIDE PROTECTION', '20201120 18:38:20.0'), + ('PART 1', 'PURSUANT TO PART 1', '20201120 18:38:20.0'), + ('PART 2', 'PURSUANT TO PART 2', '20201120 18:38:20.0'), + ('HFLNRORD', 'HERITAGE - MIN FORESTS LANDS & NATURAL RSRC OPS & RURAL DEV', '20210803 11:54:30.0'), + ('WFLNRORD', 'WATER - MIN FORESTS LANDS & NATURAL RSRC OPS & RURAL DEV', '20210803 11:54:30.0'), + ('DFLNRORD', 'DIKE MAINTENANCE ACT APPROVAL - MIN FORESTS LANDS & RO & RD', '20211020 16:51:43.0'), + ('REC6397', 'INTER-DEPARTMENT RECOVERIES', '20211126 14:08:00.0'), + ('REC6597', 'INTER-DEPARTMENT RECOVERIES', '20211126 14:08:00.0'), + ('REC7097', 'INTER-DEPARTMENT RECOVERIES', '20211126 14:08:00.0'), + ('FN ENV', 'FIRST NATION - ENVIRONMENTAL', '20220224 17:08:49.0'), + ('FND ASSE', 'FUNDING - ASSESSMENTS', '20220224 17:08:49.0'), + ('LA', 'LETTER OF AGREEMENT', '20220510 14:43:44.0'), + ('FND AUDT', 'FUNDING - AUDIT', '20220224 17:08:49.0'), + ('FND CONS', 'FUNDING - CONSTRUCTION', '20220224 17:09:53.0'), + ('FN PROP', 'FIRST NATION - PROPERTY', '20220224 17:12:42.0'), + ('OSRPRD3', 'ORACLE SERVER REPLACEMENT PRODUCTION 3', '20201022 11:07:30.0'), + ('RECOV88', 'RECOVERY STOB 88', '20201125 15:01:53.0'), + ('IPD', 'INITIAL PROJECT DESCRIPTION', '20210730 11:01:33.0'), + ('DEV IPD', 'DEVELOP INITIAL PROJECT DESCRIPTION', '20210730 11:01:33.0'), + ('FLOOD 1', 'FLOOD 1', '20220120 16:17:07.0'), + ('OPENHSE1', 'PUBLIC OPEN HOUSE 1', '20210730 11:01:33.0'), + ('SOIL STY', 'SOIL STUDY', '20210730 11:01:33.0'), + ('WATR STY', 'WATER STUDY', '20210730 11:01:33.0'), + ('DEV DPD', 'DEVELOP DETAILED PROJECT DESCRIPTION', '20210730 11:04:06.0'), + ('DFO FISH', 'DEPARTMENT OF FISHERIES AND OCEANS CANADA', '20210730 11:01:33.0'), + ('ECCC', 'ENVIRONMENT & CLIMATE CHANGE CANADA', '20210730 11:01:33.0'), + ('ALC', 'AGRICULTURAL LAND COMMISSION', '20210730 11:01:33.0'), + ('CON DSG', 'CONCEPT DESIGN', '20220120 16:18:31.0'), + ('VFPA', 'VANCOUVER FRASER PORT AUTHORITY', '20210730 11:01:33.0'), + ('DFO HABT', 'DEPARTMENT OF FISHERIES AND OCEANS CANADA', '20210730 11:01:33.0'), + ('TC', 'TRANSPORT CANADA', '20210730 11:02:40.0'), + ('FLOOD 2', 'FLOOD 2', '20220120 16:17:07.0'), + ('CON PLAN', 'CONCEPT PLAN', '20220120 16:18:31.0'), + ('ABUTMENT', 'ABUTMENTS', '20220315 13:37:32.0'), + ('BEARING', 'BEARING', '20220315 13:41:00.0'), + ('SLAB', 'SLAB', '20220315 13:42:20.0'), + ('WATRPROF', 'WATERPROOFING', '20220315 13:43:44.0'), + ('FLOW', 'FLOW SPLIT ASSESSMENT', '20220325 16:39:38.0'), + ('SCOUR', 'SCOUR SEDIMENTATION', '20220325 16:39:38.0'), + ('SALT', 'SALT WEDGE', '20220325 16:39:38.0'), + ('IMP CAP', 'SERVICE IMPACTS DURING CONSTRUCTION - CAPITAL', '20201216 12:28:20.0'), + ('IMP OPR', 'SERVICE IMPACTS DURING CONSTRUCTION - OPERATIONAL', '20201216 12:28:20.0'), + ('TRAINS', 'TRAINS', '20201216 12:28:20.0'), + ('PID', 'PRODUCT IDENTIFICATION', '20201216 12:28:20.0'), + ('IN TRANS', 'IN TRANSIT BC', '20201216 12:28:20.0'), + ('MRKTING', 'MARKETING', '20201216 12:28:20.0'), + ('POLICE', 'POLICE', '20201216 12:28:20.0'), + ('RFID', 'RADIO-FREQUENCY IDENTIFICATION', '20201216 12:28:20.0'), + ('WAYFIND', 'SYSTEMWIDE WAYFINDING', '20201216 12:28:20.0'), + ('FIRMWARE', 'FIRMWARE', '20201216 12:28:20.0'), + ('RFQ', 'REQUEST FOR QUOTES', '20210504 14:42:57.0'), + ('FAIRNESS', 'FAIRNESS AUDITOR', '20210504 14:42:57.0'), + ('WATER', 'WATER SUSTAINABILITY ACT AMENDMENT', '20210504 14:45:48.0'); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/102_DML_PIMS_CHART_OF_ACCOUNTS_CODE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/102_DML_PIMS_CHART_OF_ACCOUNTS_CODE.sql new file mode 100644 index 0000000000..a07f477566 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/102_DML_PIMS_CHART_OF_ACCOUNTS_CODE.sql @@ -0,0 +1,814 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_CHART_OF_ACCOUNTS_CODE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_CHART_OF_ACCOUNTS_CODE +GO + +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('12772', 'H9 Shoulder Enhancements & Ashpalt Resurfacing', '20170401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('49010', 'RAPID TRANSIT PROJECT - RTP 2000', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('55053', 'Port Mann Highway 1', '20100401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60400', 'MINISTER''S OFFICE - BUDGET', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60410', 'MINISTER''S OFFICE', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60450', 'CORPORATE SERVICES - BUDGET', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60453', 'CORPORATE SERVICES - FROZEN FUNDS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60460', 'DEPUTY MINISTER AND EXECUTIVE OFFICE', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60465', 'COMMUNICATIONS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60480', 'ADM OFFICE', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60485', 'EFO � & FINANCE AND ADMINISTRATIVE SERVICES', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60490', 'MINISTRY PROGRAM MANAGEMENT - (NON-EXPENDITURE ONLY)', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60492', 'COQUIHALLA TOLL ADMINISTRATION - BUDGET', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60495', 'COQUIHALLA TOLL ADMINISTRATION', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60515', 'INFORMATION SYSTEMS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60520', 'INFORMATION PRIVACY AND RECORDS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60522', 'WRITING SERVICES', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60525', 'HUMAN RESOURCES', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60650', 'TRANSPORTATION POLICY AND LEGISLATION - BUDGET', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60653', 'TRANSPORTATION POLICY AND LEGISLATION - FROZEN FUNDS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60655', 'TRANSPORTATION POLICY AND LEGISLATION', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60703', 'PLANNING, ENGINEERING & CONSTRUCTION - FROZEN FUNDS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60710', 'PLANNING, ENGINEERING & CONSTRUCTION - BUDGET', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60720', 'PLANNING, ENGINEERING & CONSTRUCTION - TPP DEPT', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60760', 'VOTED EXTERNAL AGREEMENTS - PLANNING, ENG & CONSTR', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60762', 'VOTED EXTERNAL AGREEMENTS - PLANNING, ENG & CONSTR - OTHER', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60800', 'PARTNERSHIPS - BUDGET', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60803', 'PARTNERSHIPS - FROZEN FUNDS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60810', 'PARTNERSHIPS - OPERATING', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60812', 'PARTNERSHIPS - CAPITAL', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60814', 'Partnerships - Roberts Bank Rail Corridor', '20090401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60818', 'BCTFA PARTNERSHIPS PROGRAM RECOVERIES', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60820', 'VOTED EXTERNAL AGREEMENTS - PARTNERSHIPS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60822', 'VOTED EXTERNAL AGREEMENTS - PARTNERSHIPS - OTHER', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60920', 'PLANNING, ENGINEERING & CONSTRUCTION - HWYS DEPT', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60925', 'FIELD SERVICES', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60930', 'REHABILITATION PROGRAM RECOVERIES - PEC', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60932', 'CAPITAL PROGRAM RECOVERIES - PEC', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60934', 'OTHER PROGRAM RECOVERIES - PEC', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('60950', 'MAINTENANCE, ASSET PRESERVATION & TRAFFIC OPERATIONS - BUDGET', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61003', 'MAINTENANCE, ASSET PRESERVATION & TRAFFIC OPERATIONS - FROZEN FUNDS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61050', 'MAPT OPERATIONS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61130', 'HIGHWAY REHAB PROGRAM RECOVERIES- MAPT', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61160', 'CAPITAL EXPANSION RECOVERIES - MAPT', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61190', 'OTHER PROGRAM RECOVERIES - MAPT', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61220', 'SIGN SHOP SERVICES', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61250', 'VOTED EXTERNAL AGREEMENTS - MAPT', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61252', 'VOTED EXTERNAL AGREEMENTS - MAPT - OTHER', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61500', 'ROAD AND BRIDGE MAINTENANCE CONTRACTS BUDGET', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61510', 'REGULAR ROAD AND BRIDGE MAINTENANCE CONTRACT WORK', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61520', 'ADDITIONAL WORK FOR ROAD AND BRIDGE CONTRACTORS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61530', 'EMERGENCY ROAD AND BRIDGE MAINTENANCE', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61580', 'VOTED EXTERNAL AGREEMENTS - ROAD & BRIDGE', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61610', 'OTHER MAINTENANCE ACTIVITIES', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61640', 'AVALANCHE OPERATIONS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61650', 'PAVEMENT MARKING OPERATIONS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61680', 'ELECTRICAL MATERIALS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61690', 'ELECTRICAL MAINTENANCE', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61720', 'MACHINERY MAINTENANCE AND OPERATIONS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61730', 'HYDRO BILLING AND COST SHARING', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61750', 'DEVELOPMENT APPROVALS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61760', 'AGGREGATE PRODUCTION', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61770', 'RADIO SYSTEM', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61810', 'ROAD UPGRADING', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61815', 'GRAVELLING', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61820', 'ENVIRONMENTAL CLEAN UP', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61830', 'FENCING', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61840', 'ROCK STABILIZATION', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61850', 'ROADSIDE DEVELOPMENT & REST AREA UPGRADES', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61860', 'ELECTRICAL INSTALLATIONS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61870', 'ELECTRICAL UPGRADES', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61880', 'BETTERMENTS - EMERGENCY CONTINGENCIES', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61890', 'BETTERMENTS - OVERHEAD', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61920', 'PROVINCIAL EMERGENCY PROGRAM', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('61940', 'BRIDGE BETTERMENTS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62100', 'RECOVERABLE HIGHWAY EXPANSION - BUDGET', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62120', 'Highway Expansion - Highways and Roads', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62125', 'CARIBOO CONNECTOR', '20050401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62140', 'HIGHWAY EXPANSION - BRIDGES AND TUNNELS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62141', 'PACIFIC GATEWAY INITIATIVE', '20100401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62145', 'PRE-PROJECT DEVELOPMENT FUND', '20190523 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62155', 'NORTHERN AND HEARTLAND ROADS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62160', 'HIGHWAY EXPANSION - INFRASTRUCTURE WORKS PROGRAM (IWP)�', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62163', 'Road Re-Surfacing - Side Roads', '20200401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62166', 'TRUCKING INVESTMENT PROGRAM', '20170401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62167', 'COMMUNITY TRANSPORTATION INFRASTRUCTURE', '20170918 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62169', 'ROAD MINOR BETTERMENTS - SIDE ROADS', '20150401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62170', 'OIL AND GAS 2 PROGRAM', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62172', 'OIL AND GAS 2 PROGRAM -OTHER', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62177', 'Road Upgrading - Heartlands Program', '20070401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62178', 'Pine Beetle - Heartlands Program', '20070401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62180', 'LAND CLAIMS (ABORIGINAL)', '20140101 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62181', 'Heartland Slides and Washouts', '20110401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62185', 'Land Claims (non-aboriginal)', '20070101 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62220', 'TFA HIGHWAY EXPANSION PROGRAM RECOVERIES', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62240', 'SHIP EXPANSION RECOVERIES', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62242', 'Strategic Highway Infastructure Program', '20051001 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62290', 'VOTED EXTERNAL AGREEMENTS - RECOVERABLE HIGHWAY EXPANSION', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62292', 'VOTED EXTERNAL AGREEMENTS - RECOVERABLE HWY EXPANSION- OTHER', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62310', 'FRASER RIVER CROSSING AND CONNECTORS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62315', 'PORT MANN BRIDGE', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62316', 'Patullo Bridge Replacement', '20190401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62320', 'SOUTH FRASER PERIMETER RD.', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62330', 'TRANS CANADA HIGHWAY - LOWER MAINLAND SECTION', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62335', 'TRANS CANADA HIGHWAY - CACHE CREEK TO THE ROCKIES', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62340', 'OKANAGAN LAKE BRIDGE', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62344', 'Kicking Horse Canyon', '20060401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62346', 'George Massey Tunnel Replacement', '20140401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62350', 'VANCOUVER ISLAND HIGHWAY', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62360', 'BORDER INFRASTRUCTURE FUND', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62368', 'Okanagan Valley Corridor', '20051001 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62380', 'Gateway Program', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62385', 'HWY1 Kamloops to Golden', '20100401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62500', 'RECOVERABLE HIGHWAY REHABILITATION PROGRAM BUDGET', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62510', 'RECOVERABLE HIGHWAY REHABILITATION PROGRAM CONTINGENCY', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62520', 'SAFETY IMPROVEMENTS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62530', 'GUARDRAIL AND MEDIAN BARRIER INSTALLATION', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62535', 'ROAD RE-SURFACING HIGHWAYS', '20150401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62540', 'MINOR CAPITAL IMPROVEMENT PROGRAM', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62545', 'ROAD MINOR BETTERMENTS HIGHWAYS', '20170401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62550', 'ROAD RE-SURFACING', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62560', 'BRIDGE RE-SURFACING', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62570', 'FIRST TIME HARD SURFACING', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62572', 'BC TRANSPORTATION FINANCING', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62580', 'RURAL AND NORTHERN ROADS PROGRAM', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62590', 'Heartlands Oil and Gas Road Rehabilitation Strategy', '20040401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62610', 'BRIDGE REPLACEMENTS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62620', 'BRIDGE SEISMIC RETROFIT', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62630', 'BRIDGE REHABILITATION', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62640', 'SHIP REHAB RECOVERIES', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62680', 'TFA REHAB PROGRAM RECOVERIES', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62690', 'VOTED EXTERNAL AGREEMENTS - RECOVERABLE HWY REHAB', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62692', 'VOTED EXTERNAL AGREEMENTS - RECOVERABLE HWY REHAB- OTHER', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62800', 'FERRIES - BUDGET', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62803', 'FERRIES - FROZEN FUNDS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62805', 'MAINTENANCE AND OPERATIONS - FERRIES', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62810', 'VOTED EXTERNAL AGREEMENTS - FERRIES', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62840', 'REACTION FERRIES MAINTENANCE & OPERATIONS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62860', 'WEIGH SCALES', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62950', 'MOTOR CARRIER COMMISSION - BUDGET', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62953', 'MOTOR CARRIER COMMISSION - FROZEN FUNDS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62960', 'MOTOR CARRIER COMMISSION', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62965', 'MOTOR CARRIER DEPARTMENT', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('62970', 'BC FERRY AUTHORITY GRANT', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('63400', 'DRIVER TRAINING SCHOOL TRUST', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('63410', 'TRUST - CONTRACTOR�S GUARANTEE DEPOSIT - CASH', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('63430', 'FAA S17 WRITE OFFS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('63435', 'FAA S17 VALUATION ALLOWANCE (OPD)', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('63440', 'MOTOR VEHICLE IMPOUNDMENT REFUNDS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('63450', 'PAYMENTS BASED ON CONTRIBUTION (S25s)', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('63500', 'ICBC MISCELLANEOUS REVENUE', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('63505', 'MOTOR VEHICLE ACT LICENSES, PERMITS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('63510', 'COMMERCIAL TRANSPORT ACT LICENSES, PERMITS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('63515', 'ALL TERRAIN ACT (MV) PERMITS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('63520', 'MOTOR CARRIER ACT LICENSES, PERMITS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('63525', 'OFFENCE ACT VIOLATION FINES, PENALTIES', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('63530', 'ICBC PROGRAM MANAGEMENT', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('63540', 'CONTRACT DOCUMENT SALES', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('63545', 'STREETLIGHTING', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('63550', 'SUBDIVISION FEE COLLECTION', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('64500', 'BC TRANSIT', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('64555', 'BCTFA Transit Capital', '20080401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('64565', 'Rapid Bus Transit Pullouts', '20140218 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('90070', 'EXIT COSTS - TRANSPORTATION', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('99800', 'COMMISSIONS ON COLLECTION OF PUBLIC FUNDS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('99801', 'ALLOWANCE FOR DOUBTFUL ACCOUNTS', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('99802', 'MINISTRY GENERAL CLEARING', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('99803', 'EX-GRATIA & ONE TIME PAYMENTS FOR CONTINGENCIES', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('99970', 'RESTRUCTURING COSTS - TRANSPORTATION', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('0', 'GST', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('1', 'Ministers Office', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('100', 'Ministers Office - Budget Reserve', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10100', 'Road Upgrading - Budget Reserve', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10105', 'Road Upgrading', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10107', 'Property Purchases - Corridor Protection', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10110', 'Resurfacing and Sealcoating', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10115', 'Safety Projects', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10117', 'Environmental Clean Up', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10120', 'Fencing', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10125', 'Guardrail and Median Barrier Stabilization', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10130', 'Rock Stabilization', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10135', 'Roadside Development', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10140', 'Electrical Rehabilitation', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10142', 'Electrical Upgrades', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10145', 'Emergency Contingencies', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10150', 'Overhead Rehabilitation', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10152', 'District Annual Plan Activities', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10155', 'Road Rehabilitation - Recoveries', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10157', 'S.H.I.P - Road Recoveries', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10160', 'P.E.P. - Expeditures', '19970401 00:00:00.0', '19970401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10165', 'P. E. P. - Recoveries', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10300', 'Bridge Rehabilitation - Budget Reserve', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10305', 'Bridge Rehabilitation', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10310', 'Bridge Seismic Refit', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10315', 'Bridge and Ferry Rehabilitation - Recoveries', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10317', 'S.H.I.P - Bridge Recoveries', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10350', 'Ferry Rehabilitation', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10355', 'Road Sense ICBC Recovery', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10395', 'Highway Rehabilitation - Recoveries', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('10999', 'Highway Maintenance Frozen Funds', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('12100', 'Capital Construction Projects - Budget Reserve', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('12110', 'Capital Construction Projects - General', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('12115', 'Capital Construction Projects - Strategic Planning Fund', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('12120', 'Capital Construction Projects - General', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('12130', 'Capital Construction Projects - General', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('12140', 'Capital Construction Projects - Infrastructure Works Program (IWP)', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('12190', 'Capital Construction Projects - General', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('12192', 'Yellowhwad Improvements', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('12199', 'Capital Construction Projects - Frozen Funds', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('12205', 'Capital Construction Overhead', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('12560', 'Minor Capital Improvement Program', '19980201 00:00:00.0', '19980201 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('12980', 'Recoveries from the T.F.A.', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('12985', 'Recoveries from the Federal Gov. for S.H.I.P. Capital Construction Projects', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('12986', 'Recoveries from Municipalities for I.W.P.', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('12987', 'Recoveries from the Federal Government for I.W.P.', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('12988', 'Recoveries from the T.F.A. for I.W.P.', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('12990', 'Recoveries from Municipalities for Urban Renewal Projects', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('12995', 'Miscellaneous Capital Recoveries from External Sources', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('14000', 'Major Projects - Budget Reserve', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('14105', 'Fraser River Crossing', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('14135', 'Port Mann Bridge', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('14215', 'Lions Gate Bridge', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('14305', 'Vancouver Island Highway', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('14335', 'Duke Point Access Road', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('14605', 'Trans-Canada Highway/Lower Mainland', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('14665', 'Trans-Canada Highway/Cache Creek to the Rockies', '19980817 00:00:00.0', '19980817 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('14705', 'Okanagan-Highway #97', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('14805', 'Barnet/Hastings Corridor', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('15100', 'Recoverable Highway Rehabilitation - Budget', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('15105', 'Safety Improvements', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('15110', 'Road Sense - ICBC Program Expenditures', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('15115', 'Road Sense - ICBC Recovery', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('15120', 'Guardrail and Median Barrier Installation', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('15125', 'Program Contingency', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('15130', 'Minor Capital Improvement Program', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('15140', 'Road Re-surfacing', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('15142', 'Bridge Re-surfacing', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('15144', 'First Time Hard Surfacing', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('15160', 'Bridge Replacements', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('15165', 'Bridge Seismic Retrofit', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('15990', 'Recoveries from the TFA', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('15995', 'Rehabilitation Recoveries from External Sources', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('16100', 'Non-Recoverable Highway Capital Construction - Budget', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('16105', 'Non-Recoverable Highway Capital Construction Projects', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('16170', 'Non-Recoverable Highway Capital - Aboriginal Payments', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('16199', 'Highway Capital Construction - Frozen Funds', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('18100', 'Motor Vehicle Branch - Budget Reserve', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('18201', 'Motor Vehicle Branch - Administration', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('18220', 'Driver Operations', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('18230', 'National Safety Code', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('18232', 'Dangerous Goods', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('18234', 'Motor Carrier Department', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('18239', 'Aircare Program', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('18300', 'Superintendent of Motor Vehicles - Budget', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('18301', 'Superintendent of Motor Vehicles - Administration and Operating Programs', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('18399', 'Superintendent of Motor Vehicles - Frozen Funds', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('18501', 'MVB/ICBC Program Expenditures', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('18519', 'MVB/ICBC Recovery', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('20000', 'Motor Carrier Commission - Budget', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('20005', 'Motor Carrier Commission', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('20099', 'Motor Carrier Commission - Frozen Funds', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('2100', 'Administration & Support Services - Budget Reserve', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('2105', 'Administration & Support Services - Headquarters', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('2111', 'Corporate Services - Retirees - Clearing', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('2125', 'Corporate Services - Video Conferencing Expenditures', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('2130', 'Corporate Services - Video Conferencing Recoveries', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('2140', 'Corporate Services - Sale of Min Publications Recoveries', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('2150', 'Corporate Services - Freedom of Information Recoveries', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('2160', 'Print Shop Expenditures', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('2165', 'Print Shop Recoveries', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('2180', 'Graphics Services - Expenditure', '19980817 00:00:00.0', '19980817 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('2185', 'Graphics Services - Recovery', '19980811 00:00:00.0', '19980811 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('2199', 'Corporate Services Frozen Funds', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40520', 'FAA S25 TFA - L Sielecki - Expenditures', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40521', 'FAA S25 TFA - L Sielecki - Recoveries', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40540', 'FAA S25 C Hutchinson Temp Appointment - Expenditures', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40541', 'FAA S25 C Hutchinson Temp Appointment - Recoveries', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40546', 'FAA S25 - Intersection Signal, Sidney - Expenditures', '19980526 00:00:00.0', '19980526 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40547', 'FAA S25 - Intersection Signal, Sidney - Recoveries', '19980526 00:00:00.0', '19980526 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40548', 'FAA S25 - Installation of count stations - Expenditure', '19980527 00:00:00.0', '19980527 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40549', 'FAA S25 - Installation of count stations - Recovery', '19980527 00:00:00.0', '19980527 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40550', 'FAA S25 - Sonic Pre-emption Hwy 19 and 26th St - Expenditure', '19980602 00:00:00.0', '19980602 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40551', 'FAA S25 - Sonic Pre-emption Hwy 19 and 26th St - Recovery', '19980602 00:00:00.0', '19980602 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40552', 'FAA S25 - Rip Rapping/Scully Creek - Expenditure', '19980605 00:00:00.0', '19980605 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40553', 'FAA S25 - Rip Rapping/Scully Creek - Recovery', '19980605 00:00:00.0', '19980605 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40554', 'FAA S25 - Jackson Pit Project - Expenditure', '19980610 00:00:00.0', '19980610 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40555', 'FAA S25 - Jackson Pit Project - Recovery', '19980610 00:00:00.0', '19980610 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40556', 'FAA S25 - Intersection Pemberton, BC Rail - Expenditure', '19980610 00:00:00.0', '19980610 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40557', 'FAA S25 - Intersection Pemberton, BC Rail - Recovery', '19980610 00:00:00.0', '19980610 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40558', 'FAA S25 - Secondment M.P., BCTFA/Moth - Expenditure', '19980611 00:00:00.0', '19980611 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40559', 'FAA S25 - Secondment M.P., BCTFA/Moth - Recovery', '19980611 00:00:00.0', '19980611 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40560', 'FAA S25 - Westside Road - Expenditure', '19980612 00:00:00.0', '19980612 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40561', 'FAA S25 - Westside Road - Recovery', '19980612 00:00:00.0', '19980612 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40562', 'FAA S25 - Hwy 11 Signal Controller - Expenditure', '19980619 00:00:00.0', '19980619 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40563', 'FAA S25 - Hwy 11 Signal Controller - Recovery', '19980619 00:00:00.0', '19980619 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40564', 'FAA S25 - Reflectorized Backboard Study - Expenditure', '19980623 00:00:00.0', '19980623 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40565', 'FAA S25 - Reflectorized Backboard Study - Recovery', '19980623 00:00:00.0', '19980623 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40566', 'FAA S25 - Lion''s Gate/Aboriginal Rel - Expenditure', '19980623 00:00:00.0', '19980623 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40567', 'FAA S25 - Lion''s Gate/Aboriginal Rel - Recovery', '19980623 00:00:00.0', '19980623 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40568', 'FAA S25 - 21 St @ Hwy 1 Realignment - Expenditure', '19980706 00:00:00.0', '19980706 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40569', 'FAA S25 - 21 St @ Hwy 1 Realignment - Recovery', '19980706 00:00:00.0', '19980706 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40570', 'FAA S25 - Lion''s Gate, BCTFA - Expenditure', '19980706 00:00:00.0', '19980706 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40571', 'FAA S25 - Lion''s Gate, BCTFA - Recovery', '19980706 00:00:00.0', '19980706 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40572', 'FAA S25 - Airshow Traffic Control- Expenditure', '19980706 00:00:00.0', '19980706 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40573', 'FAA S25 - Airshow Traffic Control- Recovery', '19980706 00:00:00.0', '19980706 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40574', 'FAA S25 - Left Turn Slot Dougan- Expenditure', '19980707 00:00:00.0', '19980707 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40575', 'FAA S25 - Left Turn Slot Dougan- Recovery', '19980707 00:00:00.0', '19980707 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40576', 'FAA S25 - Lion''s gate, design - Expenditure', '19980710 00:00:00.0', '19980710 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40577', 'FAA S25 - Lion''s gate, design - Recovery', '19980710 00:00:00.0', '19980710 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40578', 'FAA S25 - Lion''s gate, bridge - Expenditure', '19980710 00:00:00.0', '19980710 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40579', 'FAA S25 - Lion''s gate, bridge - Recovery', '19980710 00:00:00.0', '19980710 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40580', 'FAA S25 - Lion''s gate, traffic - Expenditure', '19980710 00:00:00.0', '19980710 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40581', 'FAA S25 - Lion''s gate, traffic - Recovery', '19980710 00:00:00.0', '19980710 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40582', 'FAA S25 - Lion''s gate, environmental - Expenditure', '19980710 00:00:00.0', '19980710 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40583', 'FAA S25 - Lion''s gate, environmental - Recovery', '19980710 00:00:00.0', '19980710 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40584', 'FAA S25 - Hwy 7-1st Ave - Expenditure', '19980805 00:00:00.0', '19980805 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40585', 'FAA S25 - Hwy 7-1st Ave - Recovery', '19980805 00:00:00.0', '19980805 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40586', 'FAA S25 - Lion''s Gate, Design, BCTFA - Expenditure', '19980807 00:00:00.0', '19980807 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40587', 'FAA S25 - Lion''s Gate, Design, BCTFA - Recovery', '19980807 00:00:00.0', '19980807 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40588', 'FAA S25 - Capilano Rd at Hwy 1 - Expenditure', '19980807 00:00:00.0', '19980807 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40589', 'FAA S25 - Capilano Rd at Hwy 1 - Recovery', '19980807 00:00:00.0', '19980807 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40590', 'FAA S25 - Lecture and ITS tour - Expenditure', '19980807 00:00:00.0', '19980807 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40591', 'FAA S25 - Lecture and ITS tour - Recovery', '19980807 00:00:00.0', '19980807 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40592', 'FAA S25 - Rvr Bank Restore - Expenditure', '19980807 00:00:00.0', '19980807 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40593', 'FAA S25 - Rvr Bank Restore - Recovery', '19980807 00:00:00.0', '19980807 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40594', 'FAA S25 - Paving, Big Eddy Rd - Expenditure', '19980807 00:00:00.0', '19980807 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40595', 'FAA S25 - Paving, Big Eddy Rd - Recovery', '19980807 00:00:00.0', '19980807 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40596', 'FAA S25 - Move Lamps, Penticton - Expenditure', '19980807 00:00:00.0', '19980807 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40597', 'FAA S25 - Move Lamps, Penticton - Recovery', '19980807 00:00:00.0', '19980807 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40598', 'FAA S25 - Wright St, Revelstoke - Expenditure', '19980807 00:00:00.0', '19980807 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40599', 'FAA S25 - Wright St, Revelstoke - Recovery', '19980807 00:00:00.0', '19980807 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40600', 'FAA S25 - Lion''s Gate, Contr Adm - Expenditure', '19980811 00:00:00.0', '19980811 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40601', 'FAA S25 - Lion''s Gate, Contr Adm - Recovery', '19980811 00:00:00.0', '19980811 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40602', 'FAA S25 - Drainage Imp, Ryan/Tunner - Expenditure', '19980824 00:00:00.0', '19980824 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40603', 'FAA S25 - Drainage Imp, Ryan/Tunner - Recovery', '19980824 00:00:00.0', '19980824 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40604', 'FAA S25 - Paving Insp, Cariboo - Expenditure', '19980903 00:00:00.0', '19980903 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40605', 'FAA S25 - Paving Insp, Cariboo - Recovery', '19980903 00:00:00.0', '19980903 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40606', 'FAA S25 - Reg Elec Crew - Expenditure', '19980903 00:00:00.0', '19980903 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40607', 'FAA S25 - Reg Elec Crew - Recovery', '19980903 00:00:00.0', '19980903 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40608', 'FAA S25 - Chasm Intersctn, Hwy 97 - Expenditure', '19980903 00:00:00.0', '19980903 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40609', 'FAA S25 - Chasm Intersctn, Hwy 97 - Recovery', '19980903 00:00:00.0', '19980903 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40610', 'FAA S25 - Lion''s Gate, Dir, Ab Rel - Expenditure', '19980903 00:00:00.0', '19980903 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40611', 'FAA S25 - Lion''s Gate, Dir, Ab Rel - Recovery', '19980903 00:00:00.0', '19980903 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40612', 'FAA S25 - Railway St. Drainage - Expenditure', '19980903 00:00:00.0', '19980903 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40613', 'FAA S25 - Railway St. Drainage - Recovery', '19980903 00:00:00.0', '19980903 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40614', 'FAA S25 - Lion''s Gate, Proj Delivery - Expenditure', '19980915 00:00:00.0', '19980915 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40615', 'FAA S25 - Lion''s Gate, Proj Delivery - Recovery', '19980915 00:00:00.0', '19980915 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40616', 'FAA S25 - Lion''s Gate, Proj Technician - Expenditure', '19980915 00:00:00.0', '19980915 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40617', 'FAA S25 - Lion''s Gate, Proj Technician - Recovery', '19980915 00:00:00.0', '19980915 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40618', 'FAA S25 - Lion''s Gate, Mgr. Traffic and Rev - Expenditure', '19980915 00:00:00.0', '19980915 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40619', 'FAA S25 - Lion''s Gate, Mgr. Traffic and Rev - Recovery', '19980915 00:00:00.0', '19980915 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40620', 'FAA S25 - Proj Delivery Svcs, Mission I/C - Expenditure', '19980916 00:00:00.0', '19980916 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40621', 'FAA S25 - Proj Delivery Svcs, Mission I/C - Recovery', '19980916 00:00:00.0', '19980916 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40622', 'FAA S25 - L Turn Lane, Hwy 97 - Expenditure', '19980915 00:00:00.0', '19980915 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40623', 'FAA S25 - L Turn Lane, Hwy 97 - Recovery', '19980915 00:00:00.0', '19980915 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40624', 'FAA S25 - Control Comps to Municipalities - Expenditure', '19980916 00:00:00.0', '19980916 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40625', 'FAA S25 - Control Comps to Municipalities - Recovery', '19980916 00:00:00.0', '19980916 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40626', 'FAA S25 - ICBC/Funding Wildlife Fencing - Expenditure', '19980928 00:00:00.0', '19980928 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40627', 'FAA S25 - ICBC/Funding Wildlife Fencing - Recovery', '19980928 00:00:00.0', '19980928 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40628', 'FAA S25 - Mission I/C - Proj Director - Expenditure', '19980928 00:00:00.0', '19980928 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40629', 'FAA S25 - Mission I/C - Proj Director - Recovery', '19980928 00:00:00.0', '19980928 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40630', 'FAA S25 - Lion''s Gate - Prop Acq Svcs - Expenditure', '19980928 00:00:00.0', '19980928 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40631', 'FAA S25 - Lion''s Gate - Prop Acq Svcs - Recovery', '19980928 00:00:00.0', '19980928 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40632', 'FAA S25 - Elec Upgrade, traffic lts - Expenditure', '19980928 00:00:00.0', '19980928 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40633', 'FAA S25 - Elec Upgrade, traffic lts - Recovery', '19980928 00:00:00.0', '19980928 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40634', 'FAA S25 - Lion''s Gate - Bridge Eng Svcs, S. Coast - Expenditure', '19980928 00:00:00.0', '19980928 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40635', 'FAA S25 - Lion''s Gate - Bridge Eng Svcs, S. Coast - Recovery', '19980928 00:00:00.0', '19980928 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40636', 'FAA S25 - Lion''s Gate, Design/Support Sys Review - Expenditure', '19980928 00:00:00.0', '19980928 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40637', 'FAA S25 - Lion''s Gate, Design/Support Sys Review - Recovery', '19980928 00:00:00.0', '19980928 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40638', 'FAA S25 - Hwy 99, Pemberton, Paving - Expenditure', '19980928 00:00:00.0', '19980928 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40639', 'FAA S25 - Hwy 99, Pemberton, Paving - Recovery', '19980928 00:00:00.0', '19980928 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40640', 'FAA S25 - L. Gate - Geotech Eng - Expenditure', '19981022 00:00:00.0', '19981022 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40641', 'FAA S25 - L. Gate - Geotech Eng - Recovery', '19981022 00:00:00.0', '19981022 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40642', 'FAA S25 - Highway 99/Pemberton Meadows Rd I/S Improvements - Expenditure', '19981016 00:00:00.0', '19981016 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40643', 'FAA S25 - Highway 99/Pemberton Meadows Rd I/S Improvements - Recovery', '19981016 00:00:00.0', '19981016 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40644', 'FAA S25 - Whistler Pipeline - Design - Expenditure', '19981027 00:00:00.0', '19981027 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40645', 'FAA S25 - Whistler Pipeline - Design - Recovery', '19981027 00:00:00.0', '19981027 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40646', 'FAA S25 - Barrier Flares/Urdal Rd - Expenditure', '19981027 00:00:00.0', '19981027 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40647', 'FAA S25 - Barrier Flares/Urdal Rd - Recovery', '19981027 00:00:00.0', '19981027 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40648', 'FAA S25 - Prop Acq Svcs, WLC - Expenditure', '19981028 00:00:00.0', '19981028 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40649', 'FAA S25 - Prop Acq Svcs, WLC - Recovery', '19981028 00:00:00.0', '19981028 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40650', 'FAA S25 - Adv Warn Signal - Expenditure', '19981106 00:00:00.0', '19981106 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40651', 'FAA S25 - Adv Warn Signal - Recovery', '19981106 00:00:00.0', '19981106 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40652', 'FAA S25 - Resurfacing-Ft St. James - Expenditure', '19981202 00:00:00.0', '19981202 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40653', 'FAA S25 - Resurfacing-Ft St. James - Recovery', '19981202 00:00:00.0', '19981202 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40654', 'FAA S25 - Lt Lane@Hwy 14/Wiffen Spit Rd - Expenditure', '19981202 00:00:00.0', '19981202 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40655', 'FAA S25 - Lt Lane@Hwy 14/Wiffen Spit Rd - Recovery', '19981202 00:00:00.0', '19981202 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40656', 'FAA S25 - TFA -Land Disp/Ab Rel Br - Expenditure', '19981202 00:00:00.0', '19981202 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40657', 'FAA S25 - TFA -Land Disp/Ab Rel Br - Recovery', '19981202 00:00:00.0', '19981202 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40658', 'FAA S25 - OVTP-Alternate Route Study - Expenditure', '19981202 00:00:00.0', '19981202 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40659', 'FAA S25 - OVTP-Alternate Route Study - Recovery', '19981202 00:00:00.0', '19981202 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40730', 'FAA S25 - FISHERIES RENEWAL BC - Expenditure', '19990915 00:00:00.0', '19990915 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40731', 'FAA S25 - FISHERIES RENEWAL BC - Capital Asset Acquisition', '19990915 00:00:00.0', '19990915 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('40732', 'FAA S25 - FISHERIES RENEWAL BC - Recovery', '19990915 00:00:00.0', '19990915 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('4100', 'Planning, Policy, Municipal Programs and Major Projects - Budget Reserve', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('4105', 'Planning, Policy, Municipal Programs and Major Projects - Administration (HQ)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('4157', 'SHIP Planning Recoveries', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('4195', 'Major Capital Program Recoveries', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('43010', 'FAA S14 Write-Offs/Bad Depts', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('43012', 'FAA S14 Valuation Allowance (OPD)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('4320', 'Secondary Highways - Capital', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('4330', 'Secondary Highways - Maintenace', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('4340', 'Municipal Contributions - Incorporation Grants - Capital', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('4350', 'Municipal Contributions - Incorporation Grants - Maintenance', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('4360', 'Municipal Contributions - Bridge Assistance', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('4399', 'Highway Planning and Major Projects Frozen Funds', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('44010', 'Motor Vehicle Impoundment Refunds', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('45105', 'Tangible Capital Asset Acquisitions Transferred to Assets', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('45185', 'OSMV - Tangible Capital Asset Acquisition Transferred to Assets', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('45205', 'Tangible Capital Asset Acquisitions Transferred to Work-in-Progress', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('45285', 'OSMV - Tangible Cap Asset Acquisition Tsfrd to WIP)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('45305', 'Amortization Expense', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('45385', 'OSMV - Amortization', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('50050', 'Social Services Tax Remittances (Walt Chamberlain/Valerie Clarke)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('51200', 'Motor Vehicle Act Licence/Permits (Valerie Clarke) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('51202', 'Commercial Transport Act Licence/Permits (Valerie Clarke)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('51204', 'All Terrain Act - Permits (Valerie Clarke)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('51206', 'Motor Carrier Act Licence/Permits (Valerie Clarke)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('51210', 'Interest on Accounts Receivable (Valerie Clarke)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('51600', 'Coquihalla Highway. Toll Revenue (Cdn $ deposit)(Del Mecham)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('51602', 'Coquihalla Highway. Toll Revenue (Cdn $ Equiv. U.S.$ Deposit)(Del Mecham)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('52660', 'Miscellaneous Sales - All Departments (Walt Chamberlain/Valerie Clarke)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('52665', 'Board and Meal Tickets - All Departments (Walt Chamberlain)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('52734', 'Fees, Permits and Licences (Walt Chamberlain)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('52740', 'Contract Document Sales (Walt Chamberlain)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('52765', 'Rentals All Departments - Sundry Licences and Permits (Walt Chamberlain)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('52792', 'Freedom of Information Revenue (Peter Smith)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('52800', 'Vehicle Emission Tests (Valerie Clarke)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('52930', 'Commissions Paid to Appointed Agents - MV Act (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('52931', 'Commissions Paid to ICBC - MV Act (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('52932', 'Commissions Paid to Appointed Agensts - Comm Trans Act (Valerie Clark)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('52933', 'Commissions Paid to Collection Agencies - Violation Tickets (Valerie Clark)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('52934', 'Commissions Paid to ICBC - Comm Trans Act (Valerie Clark)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('52935', 'Commissions Paid to Envirotest - Vehicle Emissions (Valerie clark)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('53010', 'Valuation Adjustment - Bad Debts', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('55009', 'Foreign Exchange Gain/Loss (Walt Chamberlain/Valerie Clarke)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('55306', 'Revenue-Offence Act violation Fines/Penalties (Valerie Clarke)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('56105', 'Insurance and Claims Payment - Miscellaneous Revenue (Walt Chamberlain)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('56125', 'Road, Bridge Construction - Municipal Share of Joint Services Programs ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('56180', 'Clearing - Ministry Coding Errors G.A.Revenue - Miscellaneous Revenue', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('56228', 'Miscellaneous Revenue Appointed Agents Commission Recoveries ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('56262', 'Dishonoured Cheques Service Fee - Miscellaneous Revenue ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('56314', 'Miscellaneous Receipts Highways - Miscellaneous Revenue ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('56315', 'Service and Attraction Signs Revenue (Walt Chamberlain)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('56318', 'Street Lighting - Miscellaneous Revenue (Walt Chamberlain) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('56386', 'Miscellaneous Receipts - MV/ICBC', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('56390', 'Salary Recoveries (Walt Chamberlain) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('56550', 'Recovery of Prior Years Expenditure (Walt Chamberlain) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('60083', 'Mechanical Cheques Issues and Outstanding (Marie Stebbing)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('60400', 'Minister''s Office - Budget', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('60407', 'U.S. Victoria In Lieu Account (Walt Chamberlain) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('60408', 'Clearing of Cancelled and Re-Issued Cheques (Walt Chamberlain)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('60410', 'Minister''s Office', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('60450', 'Corporate Services - Budget', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('60453', 'Corporate Services - Frozen Funds', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('60460', 'Deputy Minister and Executive Office', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('60465', 'Communications', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('60470', 'Graphic Services', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('60475', 'Corporate Policy/Legislation', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('60480', 'EFO, ADM Office', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('60485', 'Finance and Administrative Services', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('60490', 'Ministry Program Management (Non-expenditure Only)', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('60495', 'Coquihalla Toll Plaza', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('60500', 'Library Services', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('60505', 'Video Conferencing Services', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('60510', 'Print Shop Services', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('60515', 'Information Systems', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('60520', 'Information Management', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('60525', 'Human Resources', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('60700', 'Hwy Planning and Major Projects - Budget', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('60703', 'Hwy Planning and Major Projects Frozen Funds', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('60720', 'Hwy Planning and Major Projects', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('60760', 'Voted External Agreements -Hwy Planning and Major Projects', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('60991', 'Accountable Advances - Cash Clearing (Walt Chamberlain)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('6100', 'Highway Operations - Budget Reserve', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61000', 'Hwy Ops - Budget', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61003', 'Hwy Ops - Frozen Funds', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61020', 'Headquarters Highway Operations', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61040', 'Regional Insurance and Claims', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61060', 'Regional Operations', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('6110', 'Highway Operations - Headquarters', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61110', 'Hwy Ops - Hwy Ops Program Recoveries', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('6112', 'Highway Operations - External to Government Recoveries', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61120', 'Hwy Ops - Maintenance Program Recoveries', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61130', 'Hwy Ops - Rehab Program Recoveries', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61140', 'Hwy Ops - Recoverable Hwy Expansion (Excluding Major Projects) Program Recoveries', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('6115', 'Regional Insurance & Claims', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61150', 'Hwy Ops - Major Hwys Capital Project, Non Dept Program and Interim Recoveries', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('6120', 'Regional Operations', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61220', 'Sign Shop Services', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61250', 'Voted External Agreements - Hwy Ops', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61252', 'Voted External Agreements - Hwy Ops - Other', '20010501 00:00:00.0', '20010501 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('6130', 'Unissued Material Account - Regional', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61360', 'Cash Held in General Fund - Special Funds (Marie Stebbing) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61361', 'Cash Held in General Fund - Special Funds - Contra (Marie Stebbing) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61363', 'Cash Held in General Fund - Special Account - Contra (Marie Stebbing) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61364', 'Cash Held in General Fund - Trust Funds (Marie Stebbing) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61390', 'Cash Transfer (Close Inter-Ministry Accounts)(Marie Stebbing) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61440', 'Clearing - Canadian Cash - Motor Vehicles (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61441', 'Clearing - US Cash Motor Vehicles', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61442', 'Clearing - Manual Cash - Motor Vehicles (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('6146', 'Highway Operations - Highway Operations Program Recoveries', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61464', 'Clearing - ICBC Collections (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61465', 'Clearing OCG Offset Account (Marie Stebbing) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61466', 'Clearing - Mail Log (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61469', 'Clearing - AirCare (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('6147', 'Highway Operations - Highway Maintenance Program Recoveries', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('6148', 'Highway Operations - Highway Rehabilitation Program Recoveries', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61480', 'Clearing - Mastercard (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61485', 'Clearing - Visa (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('6149', 'Highway Operations - Minor Highway Capital Program Recoveries', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('6150', 'Highway Operations - Recoveries', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61500', 'Road and Bridge Maintenance Contracts - Budget', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61510', 'Regular Road and Bridge Maintenance Contract Work', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61520', 'Additional Work for Road and Bridge Contractors', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('6153', 'Sign Shop - Expenditures', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61530', 'Emergency Road and Bridge Maintenance ', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('6155', 'Sign Shop - R and B Maintenance Contract Recoveries', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('6156', 'Sign Shop - Other Contract Recoveries', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('6157', 'Sign Shop - M.O.T.H. Project Recoveries', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('6158', 'Sign Shop - Other Ministries Recoveries', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61580', 'Voted External Agreements - Road and Bridge', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('6159', 'Sign Shop - Recoveries General', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61600', 'Other Maintenance - Budget', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61603', 'Other Maintenance - Frozen Funds', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61620', 'District Operations', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61630', 'District Insurance and Claims', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61660', 'Road and Bridge Maintenance - Headquarters and Provincial Operations', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61670', 'Maintenance Recoveries', '20000701 00:00:00.0', '20000701 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61680', 'Electrical Materials', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('6170', 'Aboriginal Payments - Highway Operations Program', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61710', 'Regional Maintenance Activities', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61720', 'Machinery Maintenance and Operations', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61740', 'Ferry Maintenance and Operations', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61760', 'Aggregate Production', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61780', 'Voted External Agreements - Other Maintenance', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61800', 'Betterments - Budget', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61803', 'Betterments - Frozen Funds', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61808', 'Transport Canada S.H.I.P Receivables (Walt Chamberlain)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61809', 'Canada/BC IWP Program Receivable ', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61810', 'Road Upgrading', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61820', 'Environmental Clean Up', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61830', 'Fencing', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61840', 'Rock Stabilization', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61850', 'Roadside Development and Rest Area Upgrades', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61860', 'Electrical Installations', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61870', 'Electrical Upgrades', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61880', 'Betterments - Emergency Contingencies', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61890', 'Betterments - Overhead', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61920', 'Provincial Emergency Program', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61940', 'Bridge Betterments', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61960', 'Ferry Betterments', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('61980', 'Voted External Agreements - Betterments', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('6199', 'Highway Operations - Frozen Funds', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62100', 'Recoverable Highway Expansion - Budget', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62103', 'Recoverable Highway Expansion - Frozen Funds', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62110', 'Highway Expansion - TFA Program Support', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62120', 'HIGHWAY EXPANSION - HIGHWAYS AND ROADS', '20000315 00:00:00.0', '20000315 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62140', 'Highway Expansion - Bridges and Tunnels', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62150', 'Oil and Gas 2 Northern Roads Program', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62160', 'Highway Expansion - Infrastructure Works Program (IWP)', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62166', 'Weigh Scales Upgrade Program', '20051001 00:00:00.0', '20051001 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62220', 'TFA Highway Expansion Program Recoveries', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62240', 'S.H.I.P. Recoveries', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62260', 'I.W.P. Recoveries', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62290', 'Voted External Agreements - Recoverable Highway Expansion', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62292', 'Voted External Agreements - Recoverable Highway Expansion - Other', '20000610 00:00:00.0', '20000610 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62310', 'Fraser River Crossing', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62315', 'Port Mann Bridge', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62320', 'South Fraser Perimeter Rd.', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62325', 'Barnet/Hastings Corridor', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62330', 'Trans-Canada Highway/Lower Mainland', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62335', 'Trans-Canada Highway/Cache Creek to the Rockies', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62340', 'Okanagan Lake Bridge', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62350', 'Vancouver Island Hwy', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62355', 'Duke Point Access Road', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62390', 'Voted External Agreements - Major Projects', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62392', 'Voted External Agreements - Major Projects - Other', '20000610 00:00:00.0', '20000610 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62500', 'Recoverable Highways Rehabilitation - Budget', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62510', 'Recoverable Highway Rehab Program Contingency', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62520', 'Safety Improvements', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62530', 'Guardrail and Median Barrier Installation', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62540', 'Minor Capital Improvement Program', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62550', 'Road Re-surfacing', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62560', 'Bridge Re-surfacing', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62570', 'First Time Hard Surfacing', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62580', 'Working Capital Advance (Walt Chamberlain) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62581', 'Salary Advances (Walt Chamberlain) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62582', 'Standing Travel Advances (Walt Chamberlain) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62583', 'Temporary Travel Advances (Walt Chamberlain) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62589', 'Travel Advances - Seasonal Operations (Walt Chamberlain) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62596', 'Non-Employee Travel Advances (Walt Chamberlain)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62610', 'Bridge Replacements', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62620', 'Bridge Seismic Retrofit', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62630', 'Bridge Rehabilitation', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62680', 'TFA Rehab Program Recoveries', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62690', 'Voted External Recoveries - Recoverable Highway Rehabilitation', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62692', 'Voted External Agreements - Recoverable Highway Rehab - Other', '20000610 00:00:00.0', '20000610 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62700', 'Non-Recoverable Highway Capital Construction - Budget', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62703', 'Highway Capital Construction - Frozen Funds', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62720', 'Non-Recoverable Highway Capital Construction Projects', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62720', 'Returned Cheques (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62750', 'Grant to the BCTFA Budget', '20010401 00:00:00.0', '20010401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62752', 'Grant to the BCTFA', '20010401 00:00:00.0', '20010401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62800', 'Inland Ferries - Budget', '20010401 00:00:00.0', '20010401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62805', 'Maintenance and Operations - Inland Ferries', '20010401 00:00:00.0', '20010401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62810', 'Voted External Agreements - Inland Ferries', '20010401 00:00:00.0', '20010401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62824', 'FAA Section 22 Receivables (Grant Davies) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62860', 'Receivables - Ministry A/R-General (Walt Chamberlain)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62866', 'Accounts Receivable - Salary Overpayment Recoveries (Walt Chamberlain) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62867', 'GST Recoveries (Walt Chamberlain) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62868', 'Accounts Receivable - Service and Attraction Sign (Walt Chamberlain)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62869', 'Accounts Receivable - NSF Cheques (Walt Chamberlain) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62870', 'Accounts Receivable - Recoveries of Vote Expense (Walt Chamberlain) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62872', 'Accounts Receivable - Street Lighting (Walt Chamberlain)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62873', 'Sign Shop Receivable (Dave Smith)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62879', 'Motor Vehicles Accounts Receivable - Fines (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62880', 'Motor Vehicles Accounts Receivable - Weigh Scales (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62900', 'OSMV - Budget', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62903', 'OSMV - Frozen Funds', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62910', 'OSMV - Administration and Operating Programs', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62920', 'Voted External Agreements - OSMV', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62940', 'Provision for Doubtful Accounts - General (Walt Chamberlain) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62943', 'Provision for Doubtful Accounts - Motor Vehicles Weigh Scales (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62944', 'Provision for Doubtful Accounts - Motor Vehicles Fines (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62950', 'Motor Carrier Commission - Budget', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62953', 'Motor Carrier Commission - Frozen Funds', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('62960', 'Motor Carrier Commission', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63300', 'Asset Management - Corporate Services', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63302', 'Asset Management - Minister''s Office', '20000610 00:00:00.0', '20000610 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63305', 'Asset Management - Hwy Planning and Major Projects', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63310', 'Asset Management - Hwy Operations', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63315', 'Asset Management - Other Maintenance ', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63320', 'Asset Management - Betterments', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63325', 'Asset Management - Non-Recoverable Highway Capital', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63328', 'Asset Management - Inland Ferries', '20010401 00:00:00.0', '20010401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63330', 'Asset Management - OSMV', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63335', 'Asset Management - MCC', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63400', 'Driver Training School Trust', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63410', 'Trust - Contractor''s Guarantee Deposit - Cash', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63415', 'Commercial Transport Weigh Scales Trust Liabilities', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63430', 'FAA S17 Write-Offs/Bad Debts', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63435', 'FAA S17 Valuation Allowance (OPD)', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63440', 'Motor Vehicle Impoundment Refunds (Section 104 of the MVA)', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63450', 'Payments Based on Contribution (S25s)', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63500', 'ICBC Miscellaneous Revenue', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63505', 'Motor Vehicle Act Licences, Permits', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63510', 'Commercial Transport Act Licences, Permits', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63515', 'All Terrain Act (MV) Permits', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63520', 'Motor Carrier Act Licences, Permits', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63525', 'Offence Act Violation Fines, Penalties', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63530', 'ICBC Program Management', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63540', 'Contract Document Sales', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63545', 'Streetlighting', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('63550', 'Subdivision Fee Collections', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('64500', 'Inter-Ministry - Numeric Ministries (Marie Stebbing)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('64501', 'Inter-Ministry - Special Accounts (Marie Stebbing) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('64502', 'Inter-Ministry - Special Funds (Marie Stebbing)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('64503', 'Inter-Ministry - Trusts (Marie Stebbing)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('64505', 'Inter Ministry Account for Allocations', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('64506', 'Inter Ministry Account for On-Line Journal Vouchers (Margaret Baldwin)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('64514', 'Inter Ministry Account for Suspense ACK ', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('64521', 'Inter Ministry Account for Mechanical Cheques ', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('64522', 'Inter Ministry Account - General Manual ', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('64523', 'Inter Ministry Account for General FTEs ', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('64524', 'Inter Ministry Account for US Dollars ', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('64527', 'Inter Ministry Account for Government Agent''s Cheques ', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('64528', 'Inter Ministry Account for Payment Diversion', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('64529', 'Inter-Ministry Account for EDI/Bank of Montreal', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('64555', 'BCTFA Transit Capital (Includes Evergreen Line)', '20171213 00:00:00.0', '20171213 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('66014', 'BCTFA Recoverable Rehabilitation Receivables ', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('66015', 'Transportation Financing Authority - Receivables (Walt Chamberlain)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('66016', 'BCTFA IWP Program Receivable ', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('67805', 'Prepaid Expenses - General (Walt Chamberlain)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('69506', 'Transportation Land ', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('69551', 'Special Purpose Buildings (Margaret Baldwin)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('69552', 'Warehouse Buildings (Margaret Baldwin)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('69555', 'Residential Buildings (Margaret Baldwin)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('69556', 'Parks and Recreational (Margaret Baldwin)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('69570', 'Heavy Equipment ', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('69575', 'Operating Equipment ', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('69600', 'Main frame Computer Hardware (Margaret Baldwin)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('69601', 'Mini Computer Hardware (Margaret Baldwin)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('69602', 'Personal Computer Hardware (Margaret Baldwin)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('69603', 'Peripheral Computer Hardware (Margaret Baldwin)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('69610', 'Mainframe Computer Software (Margaret Baldwin)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('69611', 'Mini Computer Software (Margaret Baldwin)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('69612', 'Personal Computer Software (Margaret Baldwin)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('69735', 'Fresh Water Ferries ', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('69740', 'Fresh Water ferry Terminals ', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('69825', 'Work In Progress - Computer Software (Margaret Baldwin)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70002', 'Income Tax - Services ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70003', 'Social Service Tax Collection (Dave Smith)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70008', 'Clearing - Non Resident Tax - Services ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70046', 'Clearing - Relocation Recovery ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70057', 'Clearing - Miscellaneous Cash Deposits ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70125', 'Clearing - Forms "M" ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70130', 'Clearing - Government Agents Edits ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70135', 'Clearing - Manual Cheques Edits ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70170', 'Clearing Payroll ', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70200', 'Payables - General (Accruals) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70210', 'Payable - General (TFA Costs) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70211', 'Payables - General (TFA Rehab Costs) ', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70212', 'Expropriation/Construction Claims Payable (Accruals) (Walt Chamberlain)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70214', 'Clearing Oracle Inventory', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70215', 'Accounts Payable Liability (Margaret Baldwin)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70216', 'Outstanding Accounts Payable Liability - Oracle', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70217', 'Discount Taken', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70218', 'Clearing Encumbrances - CAS', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70219', 'Rounding', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70220', 'Clearing Projects - CAS', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70230', 'Exp/Construction Claims Payable (Accruals) TFA Funded Projects (Walt Chamberlain)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70232', 'Accounts Payable - Employee Leave Liability ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70235', 'Outstanding Accounts Payable - DBS System ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70300', 'G.S.T. Liability ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70400', 'Accrued Payroll ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70500', 'Interrim Accrual - Accounts Payable - General ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('70670', 'FAA Section 25 Accrued Liability (Gerry Gutensohn)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('71425', 'Suspense - Highways ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('71430', 'Suspense - Returned Cheques ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('71435', 'Suspense - Insurance and Claims ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('71440', 'Suspense - Transfers between 34, FM, TU', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('71630', 'Suspense - Right of Way ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('71865', 'MV/ICBC Accounts Receivable ', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('71877', 'MVB - Motor Carrier Collections ( Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('71879', 'MVB - ICBC Premiums Collections (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('71880', 'MVB - Lien Searches Collections (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('71881', 'MVB - Motor Fuel Taxes Collections (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('71882', 'MVB - Social Services Tax Collections (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('71883', 'Dishonoured Cheques (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('71884', 'Fines Paid - Motor Vehicles - Field Locations (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('71885', 'Suspense - Motor Vehicles Collections of A/G Revenue (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('71886', 'MVB - A/G General Collections of Motor Vehicles Revenue (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('71887', 'MVB - Mail Log (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('71888', 'Suspense - Motor Vehicles Batches Overage/Underage (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('72150', 'Payables - Unclaimed Monies ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('74580', 'Payables - Contract Retention - Highways ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('74581', 'Payables - Contract Retention - Highways Cash ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('74582', 'Contract Holdback Account (MoTH)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('74583', 'TFA Contract Holdbacks (Diane Marson)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('74584', 'Contra Account - Contract Retention - Highways ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('74585', 'TFA Capital Builders Lien Act Holdbacks ', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('74586', 'TFA Rehab Contract Holdbacks ', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('74587', 'TFA Rehab Builders Lien Act Holdbacks ', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('74681', 'Contingent Liabilities ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('74700', 'Payables - B.C.Assessment Authority (Accruals) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('74701', 'Payables - B.C.Building Corporation (Accruals) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('74704', 'Payables - B.C.Ferry Corporation (Accruals) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('74708', 'Payables - B.C.Hydro and Power Authority (TFA Costs) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('74709', 'Payables - B.C.Hydro and Power Authority (Accruals) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('74711', 'Payables BC Hydro (TFA Recoverable Rehab Costs)', '19990430 00:00:00.0', '19990430 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('74717', 'Payables - B.C.Systems Corporation (Accruals) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('74718', 'Payables - B.C.Transit (Accruals) ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('74837', 'Deferred Revenue - Government Agent Prepaid Account (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('74845', 'Gains on Capitalization of Existing Tangible Capital Assets - Def Rev - (M Baldwin)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('74848', 'Deferred Motor Vehicle Revenue ', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('74849', 'Deferred Revenue Motor Vehicle Search Fees (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('74873', 'Deferred Revenue, Road and Bridge Maintenance Recoveries', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('79000', 'Equity ', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('79035', 'Equity-Prior Period Adjustments', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8100', 'Road & Bridge Maintenance - Budget Reserve', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8105', 'Road & Bridge Maintenance - Headquarters', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8120', 'Aggregate Production', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8125', 'Intra-Ministry Materials Use Credit', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8130', 'Aggregate Recoveries from Private Contractors', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8135', 'Unissued Materials Account - Districts', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8140', 'P.E.P. Expenditures', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8145', 'P.E.P. Recoveries', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8150', 'Regional Maintenance Activities', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8166', 'Regular Payments to Road and Bridge Maintenance Contractors', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8177', 'Additional Maintenance Payments to Contractors', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8188', 'Emergency Maintenance Payments', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8200', 'Maintenance Operations - Budget', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8205', 'District Operations', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8207', 'District Insurance and Claims', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8209', 'Maintenance Recoveries', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8210', 'Payroll Suspence', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8215', 'District Maintenance Contract Payments', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8220', 'Additional Maintenance Payments', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8225', 'Emergency Maintenance Payments', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8230', 'Road And Bridge Maintenance - Headquarters and Provincial Operations', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8255', 'Unissued Materials Account - Districts', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8260', 'Regional Maintenance Activities', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8305', 'Machinery Maintenance and Operations', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8310', 'Intra Ministry Equipment Rental Credit', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8330', 'Radio Lease, Repairs and Recoveries from Private Contractors', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8600', 'Ferry Maintenance and Operations - Budget Reserve', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8605', 'Ferry Maintenance and Operations', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8650', 'Aggregate Production', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8655', 'Intra-Ministry Materials Use Credit', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8660', 'Aggregate Recoveries from Private Contractors', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('8699', 'Frozen Funds', '19990401 00:00:00.0', '19990401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('96535', 'Driver Training School Cash Trust Liabilities - Fund Equity (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('96536', 'Driver Training School Trust Liabilities - Fund Equity (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('96537', 'Driver Training School Temporary Investments (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('96910', 'Contractors - Guarantee Deposits (Walt Chamberlain)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('97480', 'Commercial Transport - Weigh Scales Trust Liabilities - Fund Equity (Valerie Clarke)', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('99800', 'Commission on Collection of Public Funds', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('99801', 'Allowance for Doubtful Accounts', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('99802', 'Ministry General Clearing', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('99803', 'Ex-gratia and one time payments for contingencies', '20010601 00:00:00.0', '20010601 00:00:00.0'); +INSERT INTO PIMS_CHART_OF_ACCOUNTS_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('99999', 'FMIS Suspense (Walt Chamberlain)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +GO \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/103_DML_PIMS_BUSINESS_FUNCTION_CODE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/103_DML_PIMS_BUSINESS_FUNCTION_CODE.sql new file mode 100644 index 0000000000..0bf3296452 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/103_DML_PIMS_BUSINESS_FUNCTION_CODE.sql @@ -0,0 +1,53 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_BUSINESS_FUNCTION_CODE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_BUSINESS_FUNCTION_CODE +GO + +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('PROJ MAN', 'PROJECT MANAGEMENT', '19991122 18:22:24.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('ENGINEER', 'ENGINEERING', '19991122 18:22:24.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('CONSTRUC', 'CONSTRUCTION', '19991122 18:22:24.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('PROP ACQ', 'PROPERTY ACQUISITION', '19991122 18:22:24.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('ENVIRON', 'ENVIRONMENT', '19991122 18:22:24.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('COMMUN', 'COMMUNICATION', '19991122 18:22:24.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('PLANNING', 'PLANNING', '20010330 16:06:17.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('IDC', 'INTEREST DURING CONSTRUCTION', '20020422 15:25:01.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('CORP SER', 'CORPORATE SERVICES', '20020422 15:26:59.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('MAINTNCE', 'MAINTENANCE', '20020521 13:20:09.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('EC INVES', 'ECONOMIC INVESTIGATION', '20020423 08:44:08.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('PROC DEV', 'PROCESS DEVELOPMENT', '20020423 09:48:49.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('LEGAL', 'LEGAL', '20020423 09:59:41.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('PROP SAL', 'PROPERTY SALES', '20020423 10:31:16.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('STAKEHLD', 'STAKEHOLDER CONSULT & LIASON', '20020621 15:11:57.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('FERRIES', 'FERRY SERVICES', '20020522 11:44:54.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('DEFAULT', 'CAS DOWNLOAD NULL VALUE', '20020815 17:10:43.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('CONTING', 'CONTINGENCY', '20030813 10:44:55.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('PLANTRAF', 'PLANNING AND TRAFFIC', '20040422 12:32:53.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('CONSULT', 'CONSULTATION', '20040426 15:45:39.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('FIN ADMN', 'FINANCE AND ADMINISTRATION', '20040426 15:52:53.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('PROCURE', 'PROCUREMENT', '20040426 16:04:36.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('TOLLING', 'TOLLING', '20040526 11:35:08.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('DATAROOM', 'DATAROOM', '20050412 11:23:40.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('PROG DEV', 'PROGRAM DEVELOPMENT', '20050412 11:26:34.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('TDM', 'TRAFFIC DEMAND MANAGEMENT', '20050412 11:27:35.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('CON ADMN', 'CONTRACT ADMINISTRATION', '20050727 15:32:36.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('O&M RISK', 'O & M RISKS', '20050727 15:33:34.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('OLYMPIC', 'OLYMPIC OPERATIONS & MAINTNCE', '20050727 15:34:22.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('DBFO', 'DESIGN BUILD FINANCE OPERATING', '20051007 09:37:19.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('CVSE', 'COMMERCIAL VEHICLE SAF & ENFOR', '20051118 10:57:32.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('TRST ACQ', 'TRANSIT ACQUISITION', '20090817 09:40:29.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('TRNSLINK', 'TRANSLINK', '20090817 09:41:38.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('FEDGOVT', 'FEDERAL GOVERNMENT RECOVERIES', '20090731 10:55:16.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('BCTRAN', 'BC TRANSIT RECOVERIES', '20090817 09:42:18.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('FRST NTN', 'FIRST NATION', '20151201 10:47:59.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('EMBC', 'EMERGENCY MANAGEMENT BC', '20160311 11:14:29.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('DIR WRKS', 'DIRECT WORKS', '20200116 12:15:44.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('COVID19', 'COVID19', '20200408 14:36:56.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('MUNIGOVT', 'MUNICIPAL GOVERNMENT', '20170223 16:47:12.0'); +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('PCRMS', 'PROC,CONTRT,RISK MGMT SERV', '20191126 14:45:46.0'); +GO \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/104_DML_PIMS_YEARLY_FINANCIAL_CODE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/104_DML_PIMS_YEARLY_FINANCIAL_CODE.sql new file mode 100644 index 0000000000..4a56f2643b --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/104_DML_PIMS_YEARLY_FINANCIAL_CODE.sql @@ -0,0 +1,87 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_YEARLY_FINANCIAL_CODE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_YEARLY_FINANCIAL_CODE +GO + +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7024', 'Lease/Rental Land', '20140401 10:06:08.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7221', 'Land/Right of Way', '20140401 10:06:08.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7222', 'Highway Infrastructure', '20140401 10:06:08.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7024', 'Lease/Rental Land', '20210401 08:03:41.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7222', 'Highway Infrastructure', '20210401 08:03:41.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7221', 'Land/Right of Way', '20210401 08:03:41.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('1024', 'Lease/Rental Land', '20220331 08:25:38.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7222', 'Highway Infrastructure', '20220331 08:25:38.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7221', 'Land/Right of Way', '20220331 08:25:38.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7024', 'Lease/Rental Land', '20170405 06:14:35.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7221', 'Land/Right of Way', '20170405 06:15:15.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7222', 'Highway Infrastructure', '20170405 06:15:48.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7221', 'Land/Right of Way', '20190401 11:22:25.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7222', 'Highway Infrastructure', '20190401 11:22:25.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7024', 'Lease/Rental Land', '20190401 11:22:25.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('L105', 'Ministry Operations', '19960328 15:00:08.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('L105', 'Ministry Operations', '19970415 14:15:25.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('L105', 'Ministry Operations', '19960328 08:19:25.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('L105', 'Ministry Operations', '19980407 11:19:49.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('L105', 'Ministry Operations', '19990408 10:02:29.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7105', 'Ministry Operations', '20000410 10:45:13.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7071', 'ROW Min. Funded Programs', '20000410 10:36:52.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7015', 'Land for Gravel Pits Min.', '20000410 10:36:52.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('5087', 'Land Rentals Outside Supp', '20000410 10:45:13.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('5670', 'Land/ROW - TFA Funded', '20000410 10:36:52.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7024', 'Lease/Rental - Land', '20000410 09:46:13.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7221', 'Land/ROW - TFA funded', '20000410 09:56:55.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('2011', 'Misc Land -Additions (HC)', '20000410 09:46:13.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7222', 'Highway Proj. (Moth TFA)', '20000615 09:25:58.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('2011', 'Misc. Land', '20010405 11:36:06.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7024', 'Lease Rental - Land', '20010405 11:36:53.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7221', 'Land-ROW-Cap Proj TFA', '20010405 11:49:10.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7222', 'Highway Project', '20010405 11:47:45.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7221', 'Land/Right of Way/TFA', '20020502 13:46:09.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7222', 'Hwy Infrastructure', '20020530 09:51:02.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7024', 'Lease/Rental Land', '20020502 13:46:09.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('2021', 'Land-Additions(Hist cost)', '20020502 13:46:10.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7221', 'Land/Right of Way', '20030411 15:55:21.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7024', 'Lease/Rental Land', '20040421 13:58:12.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7221', 'Land/Right of Way', '20040401 09:32:15.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7221', 'Land/Right of Way', '20050407 09:16:55.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7024', 'Lease/Rental Land', '20050411 17:12:38.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7024', 'Lease/Rental Land', '20060328 15:08:58.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7221', 'Land/Right of Way', '20060328 15:09:44.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7024', 'Lease/Rental Land', '20070326 08:04:23.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7221', 'Land/Right of Way', '20070326 08:04:23.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7221', 'Land/Right of Way', '20080415 11:10:37.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7024', 'Lease/Rental Land', '20080415 11:11:02.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7024', 'Lease/Rental Land', '20090415 10:06:27.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7221', 'Land/Right of Way', '20090415 10:06:41.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7222', 'Highway Infrastructure', '20100122 14:10:02.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7221', 'Land/Right of Way', '20100408 15:30:13.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7024', 'Lease/Rental Land', '20100408 15:30:45.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7222', 'Highway Infrastructure', '20100408 15:32:32.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7024', 'Lease/Rental Land', '20110413 12:09:13.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7221', 'Land/Right of Way', '20110413 12:10:00.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7222', 'Highway Infrastructure', '20110413 12:10:35.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7221', 'Land/Right of Way', '20120402 13:40:44.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7222', 'Highway Infrastructure', '20120402 13:40:44.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7024', 'Lease/Rental Land', '20120402 13:40:44.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7024', 'Lease/Rental Land', '20130410 08:43:24.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7221', 'Land/Right of Way', '20130410 08:44:04.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7222', 'Highway Infrastructure', '20130410 08:44:44.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7222', 'Highway Infrastructure', '20150506 08:39:30.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7024', 'Lease/Rental Land', '20160407 15:42:41.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7221', 'Land/Right of Way', '20160407 15:43:13.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7222', 'Highway Infrastructure', '20160407 15:43:51.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7221', 'Land/Right of Way', '20180403 15:12:24.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7222', 'Highway Infrastructure', '20180403 15:12:53.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7024', 'Lease/Rental Land', '20180403 15:13:13.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7024', 'Lease/Rental Land', '20150401 08:20:55.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7221', 'Land/Right of Way', '20150401 08:21:29.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7024', 'Lease/Rental Land', '20200415 11:00:31.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7222', 'Highway Infrastructure', '20200415 11:00:31.0'); +INSERT INTO PIMS_YEARLY_FINANCIAL_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('7221', 'Land/Right of Way', '20200415 11:00:31.0'); +GO \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/105_DML_PIMS_RESPONSIBILITY_CODE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/105_DML_PIMS_RESPONSIBILITY_CODE.sql new file mode 100644 index 0000000000..5b969a3122 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/105_DML_PIMS_RESPONSIBILITY_CODE.sql @@ -0,0 +1,286 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_RESPONSIBILITY_CODE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_RESPONSIBILITY_CODE +GO + +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('001', 'Minister', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('009', 'Director, Planning Projects', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('020', 'Executive Director, Finance and Administration', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('021', 'Coquihalla Toll Plaza', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('022', 'Corporate Services Asset Management', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('023', 'British Columbia Buildings Corporation', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('024', 'Environmental Remediation', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('025', 'Director, Financial Accounting', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('029', 'Fisheries Renewal BC', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('030', 'BC Transit ¿¿', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('031', 'Director, Information Systems Branch', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('032', 'Rapid Transit Project 2000', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('033', 'Director, Information, Privacy and Records', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('034', 'Writing Services', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('038', 'Director, Marine Branch', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('039', 'Evergreen Line Rapid Tranist', '20080401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('041', 'Roberts Bank Rail Corridor', '20100401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('042', 'ADM Partnerships', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('043', 'Director, Partnerships Development', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('044', 'Director, Project Development', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('045', 'Properties and Land Management Branch', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('046', 'Director, Stakeholder Relations & Liaison', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('047', 'Coquihalla Concession', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('048', 'Gateway Program', '20000401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('049', 'Director, Procurement Strategy', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('050', 'Payroll Clearing', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('051', 'Director, Operations Transitions', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('053', 'Port Mann Highway 1', '20100401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('055', 'Budget', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('056', 'Revenue Budget', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('060', 'Deputy Minister''s Office', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('064', 'Assistant Deputy Minister, Transportation Planning and Policy', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('065', 'Director, Communications Branch', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('066', 'Director, Human Resources', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('067', 'Director, Transportation Policy', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('068', 'Pacific Gateway Infrastructure', '20170401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('070', 'Director, Highway Planning', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('071', 'Executive Director, Pacific Gateway Strategy', '20100401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('072', 'Senior Manager, Finance and Project Services', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('075', 'Director, Project Management and Support Services', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('076', 'Executive Director, Project Development and Monitoring', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('078', 'Capital Project Delivery', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('080', 'Okanagan Lake Bridge - Major Projects', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('082', 'Director, Vancouver Island Highway - Major Projects', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('083', 'Surrey Langley Skytrain', '20220401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('084', 'Director, Fraser River Crossing and Connectors - Major Projects', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('085', 'Broadway Subway Project', '20190601 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('086', 'George Massey Crossing', '20210401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('087', 'Pattullo Bridge Replacement', '20180401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('089', 'HWY 91 TO 17 & DELTAPORT WAY', '20180101 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('090', 'Director, TCH - Cache Creek to the Rockies - Major Projects', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('091', 'Director, Port Mann Bridge - Major Projects', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('092', 'Border Infrastructure Fund', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('097', 'Cariboo Connector', '20050801 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('099', 'Vancouver / Whistler Corridor', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('101', 'South Island Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('102', 'Central Island Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('103', 'North Island Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('104', 'Howe Sound Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('105', 'Sunshine Coast Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('106', 'Lower Mainland Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('107', 'Fraser Valley Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('131', 'Lower Mainland District¿¿ (Chilliwack)', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('132', 'Vancouver Island District', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('150', 'South Coast, Regional Director and Support Services', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('151', 'South Coast, Regional Manager, Finance and Administration', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('152', 'South Coast, Regional Human Resources', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('153', 'South Coast, Regional Manager, Planning & Partnerships', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('155', 'South Coast, Regional Manager, Operations', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('156', 'South Coast, Regional Manager, Engineering and Project Mgmt', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('157', 'Electrical Maintenance', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('159', 'George Massey Tunnel Replacement', '20140401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('161', 'SCR 2021 Flood Event', '20220401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('208', 'South Okanagan Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('209', 'Kootenay Boundary Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('210', 'Central Kootenay Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('211', 'East Kootenay Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('212', 'Selkirk Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('213', 'Okanagan-Shuswap Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('214', 'Nicola Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('215', 'Thompson Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('216', 'South Cariboo Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('217', 'Central Cariboo Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('218', 'North Cariboo Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('231', 'Rocky Mountain District¿ (Cranbrook)', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('232', 'West Kootenay District¿ (Nelson)', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('233', 'Okanagan-Shuswap District (Kelowna)', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('234', 'Thompson-Nicola District¿ (Kamloops)', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('235', 'Cariboo District¿ (Williams Lake)', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('245', 'Sign Shop', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('250', 'Southern Interior, Regional Director & Support Services', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('251', 'Southern Interior, Regional Manager, Finance & Administration', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('252', 'Southern Interior, Regional Manger, Human Resources', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('253', 'Southern Interior, Regional Manager, Planning and Partnerships', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('254', 'Southern Interior, Senior Project Manger', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('255', 'Southern Interior, Regional Manager, Operations', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('256', 'Southern Interior, Regional Manager, Engineering', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('257', 'Southern Interior, Project Director, Provincial Field Services', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('258', 'Southern Interior, Sealcoating', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('260', 'Kicking Horse Canyon', '20060401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('262', 'Cariboo Program', '20210501 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('264', 'SIR 2021 Flood Event', '20211116 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('319', 'Fort George Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('320', 'Robson Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('321', 'South Peace Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('322', 'North Peace Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('323', 'Nechako Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('324', 'Lakes Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('325', 'Bulkley-Lakes Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('326', 'Skeena Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('327', 'North Coast Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('328', 'Stikine Contract Area', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('331', 'Peace District¿ (Fort St. John)', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('332', 'Fort George District¿ (Prince George)', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('333', 'Bulkley-Stikine District¿ (Smithers)', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('334', 'Skeena District¿ (Terrace)', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('350', 'Northern, Regional Director & Support Services', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('351', 'Northern, Regional Manager, Finance & Administration', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('352', 'Northern, Regional Manager, Human Resources', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('353', 'Northern, Regional Manager, Planning & Partnerships', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('354', 'Northern, Senior Project Manager', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('355', 'Northern, Regional Manager, Operations', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('356', 'Northern, Regional Manager, Engineering', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('701', 'Assistant Deputy Minister, Highways Department', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('702', 'Manager, Finance and Admin, Highways Department', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('703', 'Highways Dept.-Capital Acquisitions and Amortization', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('705', 'Aboriginal Relations', '20140101 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('706', 'Executive Director, Properties and Business Management Branch', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('710', 'Director, Construction & Maintenance Branch', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('711', 'Sr Rehabilitation & Construction & Pavement Project Manager', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('712', 'Manager, Snow Avalanche and Radio Communications', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('713', 'Revolving Machinery Account', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('714', 'Manager, Maintenance Programs', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('715', 'Sr. Manager, Risk Management', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('720', 'Chief Engineer, Engineering Branch', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('721', 'Head, Traffic, Electrical & Geometric Standards', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('722', 'Chief Bridge Engineer', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('723', 'Chief ? Environmental Officer', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('724', 'Chief¿ Geotechnical and Pavement Engineer', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('725', 'Director, Engineering Systems', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('750', 'MVB/ICBC Phase II Decline', '19980416 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('990', 'Statutory Accounts', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('001', 'Minister', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('002', 'Director, Internal Audit', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('003', 'Director, Construction and Maintenance Branch', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('004', 'Senior Traffic Engineer', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('005', 'Chief, Bridge Engineering', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('006', 'Construction Engineer', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('007', 'Director, Aboriginal Relations Branch', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('008', 'Senior Environmental Manager', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('009', 'Director, Planning Projects', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('010', 'Rehabilitation Engineer', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('011', 'Manager, Snow Avalanche', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('012', 'Chief, Geotechnical, Materials and Pavement Engineering', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('013', 'Director, Properties and Business Management Branch', '20010401 00:00:00.0', '20010401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('014', 'Senior Safety Engineer', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('015', 'Materials and Equipment', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('016', 'Manager, Maintenance Programs', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('018', 'Director, Properties', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('019', 'Radio and Electronics Engineer', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('020', 'Director, Finance and Administration', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('021', 'Coquihalla Toll Plaza', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('022', 'Senior Manager Financial Planning and Reporting', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('023', 'British Columbia Buildings Corporation', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('024', 'Environmental Remediation', '20010201 00:00:00.0', '20010201 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('025', 'Accounts Payable Employee Costs', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('026', 'Senior Manager, Corporate Services', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('027', 'Senior Manager, Disbursement and Accounting Services', '20000701 00:00:00.0', '20000701 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('028', 'Senior Manager, Financial Operations', '20010401 00:00:00.0', '20010401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('029', 'Fisheries Renewal', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('030', 'BC Transit', '20010801 00:00:00.0', '20010801 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('031', 'Director, Information Systems', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('032', 'Rapid Transit Project 2000', '20010901 00:00:00.0', '20010901 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('033', 'Director, Information, Privacy and Records', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('035', 'Senior Highway Engineer', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('038', 'Director, Marine Branch', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('040', 'Year-End ccruals', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('041', 'Electrical Engineering', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('041', 'Pacific Gateway Partnerships', '20080401 00:00:00.0', '20080401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('044', 'Geotechnical and Materials Engineering - Rockwork', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('047', 'Bridge Resurfacing', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('048', 'Centreline Marking', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('050', 'Payroll Operations - Clearing', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('052', 'ORCA Clearing', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('055', 'Budget', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('060', 'Deputy Minister''s Office', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('061', 'Motor Carrier Initiative', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('062', 'Assistant Deputy Minister, Management Services and Motor Vehicles', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('063', 'Assistant Deputy Minister, Highway Operations Department', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('064', 'Assistant Deputy Minister, Planning and Major Projects Department', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('065', 'Director, Communications Branch', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('066', 'Director, Human Resources', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('067', 'Corporate Policy and Planning', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('068', 'Manager, Employee Planning and Staff Development', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('069', 'Director, Corporate Improvement and Accountability Branch', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('070', 'Director, Systems Planning and Policy', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('071', 'Director, Planning Services', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('072', 'Manager, Finance and Administration, Planning and Major Projects', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('073', 'Chief, Engineering Branch', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('074', 'Employment Equity and Women''s Programs', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('075', 'Director, Quality Management', '20010401 00:00:00.0', '20010401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('076', 'Investment Strategies', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('077', 'Manager, Quality Management', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('078', 'Major Projects', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('080', 'Okanagan Lake Bridge - Major Projects', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('081', 'Director, Cassiar Connector - Major Projects', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('082', 'Director, Vancouver Island Highway - Major Projects', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('083', 'Director, South Fraser Perimeter Road Project', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('083', 'Director, South Fraser Perimeter Road Project', '20030401 00:00:00.0', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('084', 'Director, Fraser River Crossing and Connectors - Major Projects', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('086', 'Director, TCH - Lower Mainland Freeway Section - Major Projects', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('086', 'Director, TCH - Lower Mainland Freeway Section - Major Projects', '20030401 00:00:00.0', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('087', 'Barnet/Hastings Corridor', '20030401 00:00:00.0', '20030401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('087', 'Director, Barnet/Hastings Corridor - Major Projects', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('089', 'Lions Gate Bridge - Major Projects', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('090', 'Director, TCH - Cache Creek to the Rockies - Major Projects', '19980817 00:00:00.0', '19980817 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('091', 'Director, Port Mann Bridge - Major Projects', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('101', 'Lower Mainland-Howe Sound District', '20000401 00:00:00.0', '20000401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('104', 'Howe Sound Contract Area', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('105', 'Sunshine Coast Contract Area', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('106', 'Lower Mainland Contract Area', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('107', 'Fraser Valley District', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('108', 'Electrical Maintenance (Region 1)', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('140', 'South Coast, Regional Director and Manager, Finance & Administration', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('141', 'South Coast, Manager, Programming and Project Management', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('142', 'South Coast, Manager, Traffic Operations', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('144', 'South Coast, Manager, Engineering', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('208', 'South Okanagan District', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('213', 'Okanagan-Shuswap District', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('214', 'Nicola District', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('215', 'Thompson District', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('216', 'South Cariboo Contract Area', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('217', 'Cariboo District', '19970401 00:00:00.0', '19970401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('240', 'Thompson/Okanagan, Regional Director and Manager, Finance & Administation', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('241', 'Thompson/Okanagan, Manager, Professional Services', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('242', 'Thompson/Okanagan, Manager, Rehabilitation and Maintenance Services', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('243', 'Thompson/Okanagan, Manager, Planning', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('245', 'Sign Shop', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('309', 'Kootenay Boundary District', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('310', 'Central Kootenay District', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('311', 'East Kootenay District', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('312', 'Selkirk District', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('340', 'Kootenays, Regional Director and Manager, Finance and Administration', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('341', 'Kootenays, Manager, Professional Services', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('342', 'Kootenays, Manager, Rehabilitation and Maintenance Services', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('417', 'Central Cariboo District', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('418', 'North Cariboo District', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('419', 'Fort George District', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('420', 'Robson District', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('421', 'Peace District', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('422', 'North Peace Contract Area', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('423', 'Nechako Contract Area', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('424', 'Lakes Contract Area', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('425', 'Bulkley-Lakes District', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('426', 'Skeena District', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('427', 'North Coast Contract Area', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('428', 'Stikine District', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('440', 'Central North East, Regional Director and Manager, Finance & Administration', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('441', 'Central North East, Manager, Professional Services', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('442', 'Central North East, Manager, Rehabilitation and Maintenance Services', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('540', 'North West, Regional Director and Manager, Finance and Administation', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('541', 'North West, Regional Manager, Professional Services', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('542', 'North West, Manager, Rehabilitation and Maintenance Services', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('543', 'North West, Manager, Planning', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('601', 'South Island District', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('602', 'Central Island District', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('603', 'North Island District', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('640', 'Vancouver Island, Regional Director and Manager, Finance and Administation', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('641', 'Vancouver Island, Manager, Professional Services', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('642', 'Vancouver Island, Manager, Rehabilitation and Maintenance Services', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('643', 'Vancouver Island, Manager, Planning', '19960401 00:00:00.0', '19960401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('720', 'Executive Director, Legislation', '19980401 00:00:00.0', '19980401 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('750', 'CSEP - Community Safety Enhancement Program', '20170127 00:00:00.0', '20170127 00:00:00.0'); +INSERT INTO PIMS_RESPONSIBILITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE, EXPIRY_DATE) VALUES('990', 'Statutory Accounts', '19960401 00:00:00.0', '19960401 00:00:00.0'); +GO \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/106_DML_SET_PIMS_RESPONSIBILITY_CODE_SEQ.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/106_DML_SET_PIMS_RESPONSIBILITY_CODE_SEQ.sql new file mode 100644 index 0000000000..23ab0b91a7 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/106_DML_SET_PIMS_RESPONSIBILITY_CODE_SEQ.sql @@ -0,0 +1,18 @@ +/* ----------------------------------------------------------------------------- +Set the PIMS_RESPONSIBILITY_CODE_SEQ sequence to +1 over the current maximum +CODE value. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Nov-08 Initial version +----------------------------------------------------------------------------- */ + +DECLARE @StartVlu bigint; +DECLARE @Qry nvarchar(max); + +SET @StartVlu = (SELECT MAX(CODE) + 1 FROM PIMS_RESPONSIBILITY_CODE) +SET @Qry = 'ALTER SEQUENCE PIMS_RESPONSIBILITY_CODE_SEQ RESTART WITH ' + CAST(@StartVlu AS NVARCHAR(20)) + ';' + +EXEC SP_EXECUTESQL @Qry; + +GO \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/107_DML_PIMS_FINANCIAL_ACTIVITY_CODE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/107_DML_PIMS_FINANCIAL_ACTIVITY_CODE.sql new file mode 100644 index 0000000000..f45fe32d0e --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/107_DML_PIMS_FINANCIAL_ACTIVITY_CODE.sql @@ -0,0 +1,43 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_FINANCIAL_ACTIVITY_CODE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_FINANCIAL_ACTIVITY_CODE +GO + +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4000', 'Land', '20070129 11:52:31.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4010', 'Market', '20070129 11:52:31.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4011', 'Land', '20070129 11:52:31.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4023', 'Relocation Costs (REL COST)', '20070129 11:53:21.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4013', 'Improvement Value (IMP VAL)', '20070129 11:52:31.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4014', 'SRW', '20070129 11:52:31.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4015', 'Timber', '20070129 11:52:31.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4012', 'Severance Value (SEV VAL)', '20070129 11:52:31.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4020', 'Owners Entitlements', '20200729 11:01:40.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4021', 'Tenants Allowance (TENANT)', '20070129 11:53:21.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4022', 'Mortgage Penalty (MOR PEN)', '20070129 11:53:21.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4024', 'Property Tax (PROP TAX)', '20220830 14:10:34.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4025', 'Business Loss (BUS LOSS)', '20070129 11:53:21.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4026', 'Disturbance (DISTURB)', '20070129 11:53:21.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4028', 'Owner Property Transfer Tax (PROP TRN)', '20220830 14:10:34.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4029', 'Property Tax (neg)', '20201207 11:16:01.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4030', 'Owner Costs (OWN COST)', '20070129 11:54:07.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4031', 'Appraisal (APPRAIS)', '20070129 11:54:07.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4032', 'Other Reports (OTH PROP)', '20070220 08:45:45.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4033', 'Legal', '20070129 11:54:07.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4034', 'Interest', '20070129 11:54:07.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4017', 'Injurious Affection (INJ AFF)', '20070129 11:52:31.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4018', 'Land Leased by MOTH (LAND MOT)', '20070129 11:52:31.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4019', 'Deductions/Special Benefits (DED BEN)', '20070129 11:52:31.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4035', 'Professional Fees (PRO FEE)', '20070129 11:54:07.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4036', '5% Owner Occupier Allowance (5PRC OWN)', '20070129 11:54:07.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4037', 'Other Services (Property) (OTH SERV)', '20070129 11:54:07.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4038', 'Survey', '20070129 11:54:18.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4054', 'MoT Property Transfer Tax (PROP TRN)', '20070620 09:01:25.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4027', 'Crop Loss (VEGETATN)', '20091127 10:46:53.0'); +INSERT INTO PIMS_FINANCIAL_ACTIVITY_CODE (CODE, DESCRIPTION, EFFECTIVE_DATE) VALUES('4016', 'License', '20210318 10:06:18.0'); +GO \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/108_DML_PIMS_WORK_ACTIVITY_CODE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/108_DML_PIMS_WORK_ACTIVITY_CODE.sql new file mode 100644 index 0000000000..c09f064a6d --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/108_DML_PIMS_WORK_ACTIVITY_CODE.sql @@ -0,0 +1,351 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_WORK_ACTIVITY_CODE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_WORK_ACTIVITY_CODE +GO + +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('DW-DESIGN', 'DW - DESIGN', 5700, '20200116 12:15:44.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('DW-CONST', 'DW - CONSTRUCTION', 5701, '20200116 12:15:44.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('DW-FIBRE', 'DW - FIBRE INSTALLATION', 5702, '20200116 12:15:44.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('COVID19', 'COVID19', 1001, '20200408 14:36:56.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('TRAF QUAL', 'TRAFFIC QUALITY MANAGEMENT', 155, '20200501 14:25:46.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ENV QUAL', 'ENVIRONMENTAL QUALITY MANAGEMENT PLAN', 456, '20200501 14:30:33.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ASSET', 'ASSET INVENTORY', 662, '20200501 14:36:47.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CP RAIL', 'CANADIAN PACIFIC RAILWAY', 94, '20200810 12:23:53.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('BC HYDRO', 'BC HYDRO', 95, '20200810 12:23:53.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('GOLDEN', 'TOWN OF GOLDEN', 96, '20200810 12:25:19.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('HWY 95/93', 'HIGHWAY 95/93', 97, '20200810 12:27:19.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('MOBILIZ', 'PRE COMMENCE ACTIVITIES', 672, '20201120 19:17:08.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('RAIL CP', 'RAILWAY MEASURES ON CP LANDS', 673, '20201120 19:17:08.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('RAIL PROJ', 'RAILWAY MEASURES ON PROJECT SITE', 674, '20201120 19:17:08.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('APP.A SCH4', 'APPENDIX A TO SCHEDULE 4', 675, '20201120 19:17:08.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('SOIL NAIL', 'SOIL NAIL', 197, '20201204 15:23:42.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('DW-GEN', 'DW - GENERAL', 5703, '20201215 15:57:11.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('DW-DEMO', 'DW - DEMOLITION', 5704, '20201215 15:57:11.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ROADWRK', 'ROADWORKS', 885, '20201215 15:51:53.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('TUNNELVENT', 'TUNNEL VENTILATION', 886, '20201215 15:51:53.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('VMA', 'VANCOUVER MUNICIPAL AGREEMENT', 98, '20201215 15:53:13.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('DW-CONT', 'DW - CONTINGENCY', 5705, '20201215 15:57:11.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('BCRTC', 'BC RAPID TRANSIT COMPANY LTD', 852, '20201215 16:12:09.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CMBC', 'COAST MOUNTAIN BC', 853, '20201215 16:12:09.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('TRNLNK OTH', 'TRANSLINK OTHER SUPPORT', 854, '20201215 16:12:09.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('LIGHT STDY', 'LIGHT STUDY', 887, '20210125 10:33:47.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('TUNL CON', 'TUNNEL CONSULTANT', 889, '20210308 13:43:24.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CBA', 'COMMUNITY BENEFITS AGREEMENT', 677, '20210312 09:17:05.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('RCMP', 'RCMP', 99, '20210504 14:46:41.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ARCH MGMT', 'ARCHAEOLOGY MANAGEMENT', 923, '20210622 15:00:53.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('HWY&CIVIL', 'HIGHWAYS & CIVIL ENGINEERING', 890, '20211213 12:05:16.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('RIVER HYD', 'RIVER HYDRAULICS', 891, '20211213 12:05:16.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('MN ADVISOR', 'MARINE NAVIGATION ADVISOR', 892, '20211213 12:05:16.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('MC ADVISOR', 'MARINE CONSTRUCTION ADVISOR', 893, '20211213 12:05:16.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('HYDROTECH', 'PHYSICAL HYDROTECHNICAL MODELLING', 894, '20211213 12:05:16.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('NAVIGATION', 'NAVIGATION SIMULATION', 895, '20211213 12:05:16.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('TESTDREDGE', 'TEST DREDGE', 896, '20211213 12:05:16.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FN ACCOMM', 'FIRST NATION - ACCOMMODATION', 659, '20220207 10:12:37.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('STRUCTURAL', 'STRUCTURAL ENGINEERING', 873, '20190528 10:54:36.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('TRAF MGMT', 'TRAFFIC MANAGEMENT', 915, '20191031 09:29:08.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FOUNDATION', 'FOUNDATION', 588, '20200306 09:41:32.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('SUB STRUCT', 'SUBSTRUCTURE', 590, '20200306 09:41:32.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('SUP STRUCT', 'SUPERSTRUCTURE', 591, '20200306 09:41:32.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('SPAN FOUND', 'SPAN FOUNDATIONS', 592, '20200306 09:41:32.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('STRC FOUND', 'STRUCTURE FOUNDATIONS', 593, '20200306 09:41:32.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('MAN STRUCT', 'MAIN STRUCTURE', 594, '20200306 09:41:32.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('STH STRUCT', 'SOUTH STRUCTURE', 595, '20200306 09:41:32.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('BARRIERS', 'BARRIERS', 596, '20200306 09:41:32.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('EQUIPMENT', 'EQUIPMENT', 598, '20200306 09:41:32.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('DRAINAGE', 'DRAINAGE', 597, '20200306 09:41:32.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ROADWORKS', 'ROADWORKS', 599, '20200306 09:41:32.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ENG MGMT', 'ENGINEER MANAGEMENT', 921, '20200812 12:19:23.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('RAILROAD', 'RAILROAD', 663, '20200820 08:52:28.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('TRANS BOX', 'TRANSITION BOX', 664, '20200901 13:16:56.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CROSS BOX', 'CROSSOVER BOX', 665, '20200901 13:17:27.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('TERM BOX', 'TERMINUS BOX', 666, '20200901 13:18:10.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('TRAIN CTRL', 'TRAIN CONTROL', 667, '20200901 13:23:16.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('SYS PLAN', 'SYSTEMS PLAN', 668, '20200901 13:38:29.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('SYS QUAL', 'SYSTEMS ASSURANCE PLAN', 669, '20200901 13:38:29.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('SYS MANAGE', 'SYSTEMS MANAGEMENT PLAN', 670, '20200901 13:38:29.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('SYS RISK', 'SYSTEMS RISK MANAGEMENT PLAN', 671, '20200901 13:38:29.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('WORKPLACE', 'WORKPLACE', 678, '20220315 13:47:08.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('MANAGE', 'MANAGEMENT', 21, '19991122 18:22:24.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('SYS MGMT', 'SYSTEMS MANAGEMENT', 22, '19991122 18:22:24.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CONS MGMT', 'CONSTRUCTION MANAGEMENT', 23, '19991122 18:22:24.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('MAT MGMT', 'MATERIALS MANAGEMENT', 24, '19991122 18:22:24.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PROP MGMT', 'PROPERTY MANAGEMENT', 25, '19991122 18:22:25.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PLANNING', 'PLANNING', 141, '19991122 18:22:25.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PRE DESIGN', 'PRELIMINARY DESIGN', 142, '19991122 18:22:25.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('DET DESIGN', 'DETAIL DESIGN', 143, '19991122 18:22:25.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('SUR MAP', 'SURVEY AND MAPPING', 144, '19991122 18:22:25.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('DESIGN SRV', 'DESIGN SERVICES DURING CONSTRUCTION', 145, '19991122 18:22:25.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ACQ MAN', 'ACQUISITION MANAGEMENT', 184, '19991122 18:22:25.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ACQ PROC', 'ACQUISITION PROCESS', 183, '19991122 18:22:25.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('OWNER COMP', 'OWNER COMPENSATION', 181, '19991122 18:22:25.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('OWNER COST', 'OWNER COSTS', 182, '19991122 18:22:25.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('GRADING', 'GRADING', 201, '19991122 18:22:26.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PAVING', 'PAVING', 202, '19991122 18:22:26.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('STRUCTURE', 'STRUCTURE', 203, '19991122 18:22:26.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('OTHER CONS', 'OTHER CONSTRUCTION', 204, '19991122 18:22:26.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('BRIDGE', 'BRIDGE', 205, '19991122 18:22:26.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('LANDSCAP', 'LANDSCAPING', 206, '19991122 18:22:26.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PRE STUDY', 'PRECONSTRUCTION ASSESSMENT STUDIES', 421, '19991122 18:22:26.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('POST STUDY', 'POST CONSTRUCTION ASSESSMENT STUDIES', 422, '19991122 18:22:26.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ENV MON', 'ENVIRONMENTAL MONITORING DURING CONSTRUCTION', 423, '19991122 18:22:26.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ENV REM', 'ENVIRONMENTAL REMEDIATION AND MITIGATION', 424, '19991122 18:22:26.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('IMP ASMT', 'IMPACT ASSESSMENTS', 425, '19991122 18:22:26.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ENV OPS', 'ENVIRONMENTAL OPERATIONS', 426, '19991122 18:22:26.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('OTH ENV', 'OTHER ENVIRONMENTAL', 427, '19991122 18:22:27.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CROSS GOV', 'CROSS GOVERNMENT PROMOTIONS', 461, '19991122 18:22:27.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PROJ PROM', 'PROJECT PROMOTIONS', 462, '19991122 18:22:27.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PUB CONS', 'PUBLIC CONSULTATION AND REPORTING', 463, '19991122 18:22:27.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CON/TM ADV', 'CONSTRUCTION ACTIVITY / TRAFFIC MANAGEMENT ADVERTISING', 464, '19991122 18:22:27.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('COMM OPS', 'COMMUNICATION OPERATIONS', 465, '19991122 18:22:27.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('OBSOLETE', 'OBSOLETE', 185, '19991127 16:08:09.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ENV CONST', 'ENVIRONMENTAL ACTIVITIES DURING CONSTRUCTION', 428, '20000205 14:32:48.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ELECTRICAL', 'ELECTRICAL', 207, '20000515 14:32:33.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CRUSHING', 'CRUSHING', 208, '20000515 14:32:33.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('WILDLF FEN', 'WILDLIFE FENCING', 209, '20000515 14:32:33.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PROJECT ID', 'PROJECT IDENTIFICATION', 41, '20010330 16:06:17.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('TRANS PLAN', 'TRANSPORTATION PLANNING STUDY', 42, '20010330 16:06:17.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FUNCT PLAN', 'FUNCTIONAL PLANNING STUDY', 43, '20010330 16:08:01.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CORDR STDY', 'CORRIDOR STUDY', 44, '20010330 16:08:01.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('BRIDGE RHB', 'BRIDGE REHABILITATION', 210, '20010608 15:43:09.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('BRIDGE RSF', 'BRIDGE RESURFACING', 211, '20010608 15:43:09.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FERRY&DOCK', 'FERRIES AND DOCKS', 212, '20010608 15:43:09.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FENCING', 'FENCING', 213, '20010608 15:43:09.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('GUARDRAIL', 'GUARDRAIL', 214, '20010608 15:43:09.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('HOT IN PLC', 'HOT-IN-PLACE RECYCLING', 215, '20010608 15:43:10.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PVMNT MARK', 'PAVEMENT MARKINGS', 216, '20010608 15:43:10.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('SEALCOAT', 'SEALCOATING', 217, '20010608 15:43:10.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FINAN MGMT', 'FINANCIAL MANAGEMENT', 26, '20010618 15:07:31.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ROUTE STDY', 'ROUTE STUDY', 45, '20010618 15:06:58.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CN-C&EVAL', 'CRITERIA & EVALUATION - CONSTRUCTION', 218, '20020423 08:54:58.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CN-Q.AUDIT', 'QUALITY AUDIT - CONSTRUCTION', 219, '20020423 08:56:13.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('EN-C&EVAL', 'CRITERIA & EVALUATION - ENVIRONMENT', 429, '20020423 09:02:47.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CO-C&EVAL', 'CRITERIA & EVALUATION - COMMUNICATION', 466, '20020423 09:05:34.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CO-Q.AUDIT', 'QUALITY AUDIT - COMMUNICATION', 467, '20020423 09:06:13.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PA-C&EVAL', 'CRITERIA & EVALUATION - PROPERTY ACQUISITION', 186, '20020423 09:10:27.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PA-Q.AUDIT', 'QUALITY AUDIT - PROPERTY ACQUISITION', 187, '20020423 09:11:01.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('GOAL ANLYS', 'MULTI-GOAL ANALYSIS - ECONOMIC INVESTIGATION', 81, '20020423 09:15:20.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FIN ANLYS', 'FINANCIAL ANALYSIS - ECONOMIC INVESTIGATION', 82, '20020423 09:15:20.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('RISK ANLYS', 'RISK ANALYSIS - ECONOMIC INVESTIGATION', 83, '20020423 09:15:57.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('EI-C&EVAL', 'CRITERIA & EVALUATION - ECONOMIC INVESTIGATION', 84, '20020423 09:18:57.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('EI-Q.AUDIT', 'QUALITY AUDIT - ECONOMIC INVESTIGATION', 85, '20020423 09:18:57.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('EG-C&EVAL', 'CRITERIA & EVALUATION - ENGINEERING', 146, '20020423 09:22:18.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('EG-Q.AUDIT', 'QUALITY AUDIT - ENGINEERING', 147, '20020423 09:23:01.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('MGMT SERV', 'MANAGEMENT SERVICES - CORPORATE SERVICES', 61, '20020423 09:26:28.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ADMIN SERV', 'ADMINISTRATION SERVICES - CORPORATE SERVICES', 62, '20020423 09:27:14.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PL-Q.AUDIT', 'QUALITY AUDIT - PLANNING', 47, '20020423 09:34:36.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PM-C&EVAL', 'CRITERIA & EVALUATION - PROJECT MANAGEMENT', 27, '20020423 09:37:50.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PL-C&EVAL', 'CRITERIA & EVALUATION - PLANNING', 46, '20020423 09:34:02.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PM-Q.AUDIT', 'QUALITY AUDIT - PROJECT MANAGEMENT', 28, '20020423 09:38:27.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PM-Q.MGMT', 'QUALITY MANAGEMENT - PROJECT MANAGEMENT', 29, '20020423 09:39:28.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PD-RESRCH', 'RESEARCH - PROCESS DEVELOPMENT', 101, '20020423 09:50:05.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('RISK EVAL', 'RISK EVALUATION - PROCESS DEVELOPMENT', 102, '20020423 09:53:54.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PROCURE', 'PROCUREMENT STRATEGY - PROCESS DEVELOPMENT', 103, '20020423 09:54:32.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('DEAL STRCT', 'DEAL STRUCTURE - PROCESS DEVELOPMENT', 104, '20020423 09:55:30.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('POST IMPLM', 'POST IMPLEMENTATION STRATEGY - PROCESS DEVELOPMENT', 105, '20020423 09:56:37.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PD-C&EVAL', 'CRITERIA & EVALUATION - PROCESS DEVELOPMENT', 106, '20020423 09:57:22.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PD-Q.AUDIT', 'QUALITY AUDIT - PROCESS DEVELOPMENT', 107, '20020423 09:57:55.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('EN-Q.AUDIT', 'QUALITY AUDIT - ENVIRONMENT', 430, '20020423 11:14:05.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('BUS MAN', 'BUSINESS MANAGEMENT - CORPORATE SERVICES', 64, '20020716 11:23:57.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ENV ISSUES', 'ENVIRONMENTAL ISSUES - LEGAL', 123, '20020423 10:01:14.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('LG-C&EVAL', 'CRITERIA & EVALUATION - LEGAL', 124, '20020423 10:01:44.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('LG-Q.AUDIT', 'QUALITY AUDIT - LEGAL', 125, '20020423 10:02:16.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('MAT PROD', 'MATERIALS PRODUCTION', 383, '20020621 15:12:23.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CONTACT', 'CONTACT SESSIONS', 385, '20020621 15:12:23.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('LG-RESRCH', 'RESEARCH LEGAL', 121, '20020423 11:09:07.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('SAFETY', 'SAFETY', 220, '20020521 13:06:45.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('MIN BETTER', 'MINOR BETTERMENTS', 221, '20020521 13:06:45.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('DISTRICT', 'DISTRICT WORKS', 222, '20020521 13:06:45.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('GEOTECH', 'GEOTECH', 223, '20020521 13:06:45.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('DESIGN', 'DESIGN COST FOR FERRIES', 1, '20020523 12:58:37.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('GRAVL MGMT', 'GRAVEL MANAGEMENT', 225, '20020521 13:07:25.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('UTILITIES', 'UTILITIES', 226, '20020521 13:09:29.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('AVALANCH', 'AVALANCHE OPERATIONS', 403, '20020524 08:59:25.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PEP', 'PROVINCIAL EMERGENCY PROGRAM', 228, '20020521 13:09:50.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('OPERATION', 'HQ & DISTRICT OPERATIONS', 400, '20020521 13:20:09.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('R&B MAINT', 'R & B MAINTENANCE', 401, '20020521 13:44:05.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('OTHR MAINT', 'OTHER MAINTENANCE', 402, '20020521 13:44:05.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('DEV APRVL', 'DEVELOPMENT APPROVALS', 405, '20020524 08:59:38.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ELEC MAINT', 'ELECTRICAL MAINTENANCE', 404, '20020521 13:44:05.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('LG-ABORIG', 'ABORIGINAL - LEGAL', 122, '20020711 11:59:20.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CONSTRUCT', 'CONSTRUCTION COSTS - FERRIES (NEW AND REFIT)', 2, '20020523 13:02:24.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ROAD RSF', 'ROAD RESURFACING', 224, '20020523 08:43:17.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('RD.DEV SER', 'ROADSIDE DEVELOPMENT SERVICES', 227, '20020524 08:58:49.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CONSUME', 'CONSUMABLES COSTS FOR FERRIES (FUEL, OIL ETC.)', 4, '20020523 13:03:12.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FIN SERV', 'FINANCIAL SERVICES - CORPORATE SERVICES', 63, '20020524 08:58:11.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CON PLAN', 'CONSULTATION PLANNING & RESEARCH', 381, '20020621 15:11:57.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('EN-ABORIG', 'ABORIGINAL REVIEWS/STUDIES- ENVIRONMENT', 431, '20020711 12:00:55.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PROP SAL', 'PROPERTY SALES', 160, '20020715 16:13:18.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('EG-STND&PO', 'STANDARDS AND POLICY - ENGINEERING', 148, '20020716 11:25:37.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CN-STND&PO', 'STANDARDS AND POLICY - CONSTRUCTION', 229, '20020716 11:27:24.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('SCL OPS', 'STAKEHOLDER CONSULTATION & LIASON OPERATIONS', 387, '20020807 09:03:24.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('DEFAULT', 'CAS DOWNLOAD NULL VALUE', 888, '20020815 17:10:43.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CONCPT DES', 'CONCEPTUAL DESIGN', 149, '20030221 13:41:04.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FUNCT DES', 'FUNCTIONAL DESIGN', 150, '20030221 13:41:49.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('RWK STABIL', 'ROCK STABILIZATION', 230, '20030506 10:55:01.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('IDC', 'INTEREST DURING CONSTRUCTION', 481, '20030527 08:49:59.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CON ENG', 'CONSTRUCTION ENGINEERING', 231, '20030717 10:32:43.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('MGMT CONST', 'MANAGEMENT OF CONSTRUCTION', 232, '20030717 10:32:59.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ENV COMP', 'ENVIRONMENTAL COMPENSATION', 432, '20030717 10:35:23.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ISS MGMT', 'ISSUES MANAGEMENT', 388, '20030725 14:48:17.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('EN-PUB CNS', 'ENVIRONMENTAL PUBLIC CONSULTATION', 433, '20030728 09:14:51.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FERRY CONS', 'CONSTRUCTION COSTS-FERRIES (NEW AND REFIT)', 5, '20030807 12:31:39.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('LG-ADVICE', 'LEGAL ADVICE', 126, '20030807 15:04:13.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('INVEST STR', 'INVESTMENT STRATEGY - PLANNING', 48, '20030807 15:06:11.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CONTING', 'CONTINGENCY', 900, '20030813 10:44:55.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FERRYTRAN', 'FERRY TRANSPORTATION FEE (DESIGNATED FERRY ROUTES)', 6, '20030930 14:35:26.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FERRYSOCL', 'SOCIAL PROGRAM REIMBURSEMENT (DESIGNATED FERRY ROUTES)', 7, '20030930 14:35:26.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FERRYUNREG', 'SERVICE FEE FOR UNREGULATED ROUTES', 8, '20030930 14:35:26.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FERRYPTT', 'FERRY PROPERTY TRANSFER TAX', 9, '20031016 16:54:29.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('OP CONTR', 'OPERATING CONTRACTS', 10, '20040128 13:54:51.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FERRY MNT', 'REPAIRS AND MAINTENANCE', 11, '20040205 10:16:54.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FIELD SERV', 'FIELD SERVICES', 233, '20040220 15:34:11.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FINANCING', 'FINANCING AGREEMENTS', 12, '20040302 08:18:10.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ENV ENHANC', 'ENVIRONMENTAL ENHANCEMENTS', 434, '20040302 14:04:09.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ENG CONTIN', 'ENGINEERING CONTINGENCY', 151, '20040303 09:12:19.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PROP CONT', 'PROPERTY ACQUISITION CONTINGENCY', 188, '20040303 09:16:04.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CNST CONT', 'CONSTRUCTION CONTINGENCY', 234, '20040303 09:16:35.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CN-GENERAL', 'GENERAL - CONSTRUCTION', 235, '20040316 15:49:28.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PA-GENERAL', 'GENERAL - PROPERTIES', 189, '20040316 15:52:57.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('EN-GENERAL', 'GENERAL -ENVIRONMENTAL', 435, '20040316 15:52:04.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ADMIN MGMT', 'ADMINISTRATION MANAGEMENT', 30, '20040422 11:22:48.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('TECH ADVIS', 'TECHNICAL ADVISOR', 31, '20040422 11:24:33.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PLANTRAF', 'PLANNING AND TRAFFIC', 261, '20040422 12:32:53.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PLANTRFENG', 'PLANNING AND TRAFFIC ENGINEERING', 262, '20040422 12:32:53.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CONSLT OPS', 'CONSULTATION OPERATIONS', 471, '20040426 15:45:39.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('AIR QUALTY', 'AIR QUALITY', 440, '20040426 15:47:42.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ENV MGNT', 'ENVIRONMENTAL MANAGEMENT', 442, '20040426 15:49:04.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('NOISE', 'NOISE IMPACT ASSESSMENT', 437, '20040426 15:50:01.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('SOCIO COMM', 'SOCIO COMMUNITY CONSULTING', 436, '20040426 15:50:34.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('WILDLIFE', 'WILDLIFE', 438, '20040426 15:50:59.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('F/ADM SERV', 'FINANCE AND ADMNISTRATION SERVICES', 50, '20040426 15:52:53.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('DOC CNTRL', 'DOCUMENT CONTROL', 51, '20040426 15:52:53.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('IT COST', 'INFORMATION TECHNOLOGY COST', 52, '20040426 15:53:55.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('OFFICE EXP', 'OFFICE EXPENSES', 53, '20040426 15:54:15.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('LG-CONTRCT', 'CONTRACT DRAFTING - LEGAL', 127, '20040426 16:02:12.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('LG-GOVERNC', 'LEGISLATION AND GOVERNANCE - LEGAL', 128, '20040426 16:02:12.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('LG-PROCURE', 'PROCUREMENT - LEGAL', 129, '20040426 16:02:12.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('LG-PROPRTY', 'PROPERTY ISSUES - LEGAL', 130, '20040426 16:02:12.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('LG-ENVIRON', 'ENVIRONMENTAL ISSUES - LEGAL', 131, '20040426 16:02:12.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('BUS ADVISE', 'BUSINESS ADVISORS', 281, '20040426 16:06:27.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ECON ADVIS', 'ECONOMIC ADVISORS', 282, '20040426 16:06:27.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PROC DOC', 'PROCUREMENT DOCUMENTATION', 283, '20040426 16:06:27.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PROC MGMT', 'PROCUREMENT MANAGEMENT', 284, '20040426 16:06:27.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PROC ADVSR', 'PROCUREMENT ADVISOR', 285, '20040426 16:06:27.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('DOC REVIEW', 'PROCUREMENT DOCUMENTATION REVIEW', 286, '20040426 16:06:27.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PROCES REV', 'PROCURMENT PROCESS REVIEW', 287, '20040426 16:06:27.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('SYS MAN', 'SYSTEMS MANAGEMENT - CORPORATE SERVICES', 65, '20040428 11:20:02.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('GEOTEC-ENG', 'GEOTECHNICAL ENGINEERING', 152, '20040510 15:26:17.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('DESIGN BLD', 'DESIGN BUILD', 153, '20040510 15:27:44.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CON SITE', 'CONTAMINATED SITE ASSESSMENT', 443, '20040514 10:39:37.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('TOLL TECH', 'TOLLING TECHNOLOGY', 271, '20040526 11:35:54.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('TOLL SUPPT', 'TOLLING SUPPORT', 272, '20040526 11:43:46.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('DATA ROOM', 'DATA ROOM', 288, '20040526 13:19:34.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FISHERIES', 'FISHERIES', 444, '20040531 08:24:45.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FERRY PRCH', 'FERRY PURCHASE', 13, '20040531 08:42:31.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('AGRICULTRL', 'AGRICULTURAL ACTIVITIES', 445, '20040601 13:33:49.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PRE-PROJ', 'PRE-PROJECT DEVELOPMENT FUND', 49, '20040817 14:05:26.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('TRAF FRCST', 'TRAFFIC AND REVENUE ADVISORY AND FORECAST', 263, '20040827 12:27:07.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CNSLT RSCH', 'CONSULTATION RESEARCH', 472, '20040827 12:24:37.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PA-CONSITE', 'CONTAMINATED SITE INVESTIGATION - PROPERTY ACQUISITION', 190, '20040827 12:29:27.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ENG SRV', 'ENGINEERING SERVICES DURING CONSTRUCTION', 154, '20041122 13:27:33.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('DAY LABOUR', 'DAY LABOUR - FERRIES', 14, '20041124 17:58:18.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('SUPERVSN', 'SUPERVISION - FERRIES', 15, '20041124 17:58:18.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FERRY MGMT', 'MANAGEMENT', 16, '20050106 09:42:10.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('DATAROOM', 'DATAROOM', 600, '20050412 11:23:40.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PROG DEV', 'PROGRAM DEVELOPMENT', 640, '20050412 11:26:34.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('TDM', 'TRAFFIC DEMAND MANAGEMENT', 680, '20050412 11:27:35.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ELECTRIC', 'ELECTRICAL', 864, '20050525 16:06:21.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('BRIDGE ENG', 'BRIDGE ENGINEERING', 687, '20050526 12:06:32.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FACIL R&M', 'FACILITIES REPAIR & MAINTENANCE', 17, '20050624 14:04:18.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CON ADMN', 'CONTRACT ADMINISTRATION', 71, '20050727 15:32:36.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('O&M RISK', 'O & M RISKS', 91, '20050727 15:33:34.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('OLYMPIC', 'OLYMPIC OPERATIONS & MAINTENANCE', 111, '20050727 15:34:22.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FST NATION', 'FIRST NATIONS COMMUNICATIONS', 468, '20050803 11:01:21.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('EG-GENERAL', 'GENERAL ENGINEERING', 689, '20050922 14:19:39.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('GRAVL PROD', 'GRAVEL PRODUCTION', 237, '20050923 15:39:47.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('TRAFFIC', 'TRAFFIC ENGINEERING', 681, '20050928 16:21:57.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('AVAIL PMNT', 'AVAILABILITY PAYMENTS', 690, '20051007 09:37:19.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('VEHCL PMNT', 'VEHICLE USAGE PAYMENTS', 691, '20051007 09:37:19.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('SAFTY PMNT', 'SAFETY PERFORMANCE PAYMENTS', 692, '20051007 09:37:19.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('TRAFF PMNT', 'TRAFFIC MANAGMENT PAYMENTS', 693, '20051007 09:37:19.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FSTN PMNT', 'FIRST NATIONS BONUS PAYMENTS', 694, '20051007 09:37:19.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('MISC PMNT', 'MISCELLANEOUS DBFO PAYMENTS', 695, '20051011 13:20:02.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CVSE', 'COMMERCIAL VEHICLE SAFETY & ENFORCEMENT', 3101, '20051118 10:57:32.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PROV CHNG', 'PROVINCE CHANGES', 696, '20060224 11:31:10.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ACCT ADJ', 'ACCOUNTING ADJUSTMENTS - CORPORATE SERVICES', 66, '20060704 09:58:47.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FERRYFED', 'FEDERAL FUNDING FOR FERRY SERVICES', 3, '20060925 13:20:01.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('DAY LABR', 'DAY LABOUR', 236, '20070515 12:03:39.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('AS-BUILT', 'AS-BUILT DRAWINGS', 163, '20081218 11:48:50.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FERRY RAMP', 'FERRY RAMP', 583, '20071022 13:27:06.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ENVIRON', 'ENVIRONMENTAL ENGINEERING', 867, '20080507 15:33:39.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FERRY NR', 'FERRY NORTHERN ROUTES', 19, '20080604 14:29:39.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PRELOAD', 'PRELOAD', 243, '20080702 11:51:56.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('BUS ACQ', 'BUS AQUISITION', 810, '20090817 09:40:29.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ALRT ACQ', 'ALRT ROLLING STOCK ACQUISITION', 811, '20090817 09:40:29.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('SEABUS ACQ', 'SEABUS ACQUISITION', 812, '20090817 09:40:29.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('TRST-GEN', 'TRANSIT GENERAL', 813, '20090817 09:40:29.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('BCTRAN', 'BC TRANSIT RECOVERIES', 951, '20090817 09:42:18.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('TRNSLINK', 'TRANSLINK RECOVERIES', 851, '20090817 09:41:38.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FACILITY', 'FACILITY', 585, '20100121 14:03:56.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('TUNNEL', 'TUNNEL', 253, '20090731 09:57:03.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('BUS STN', 'BUS STATION', 255, '20090731 10:00:24.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ALRT STN', 'ALRT STATION', 257, '20090731 10:00:24.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('OPREAD STN', 'OPERATIONAL READINESS', 259, '20090731 10:00:24.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('TSP', 'TRANSIT SIGNAL PRIORITY', 587, '20100122 11:09:08.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FEDGOVT', 'FEDERAL GOVERNMENT RECOVERIES', 901, '20090731 10:55:16.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('EXCHANGE', 'TRANSIT EXCHANGE', 589, '20100122 11:09:34.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FAREGATES', 'INSTALL FAREGATES', 815, '20100122 11:10:50.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('SMARTCDS', 'SMARTCARD IMPLEMENTATION', 817, '20100122 11:10:50.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('OTHER', 'MISCELLANEOUS REQUIREMENTS', 469, '20100204 13:53:17.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('LINE SETTL', 'LINE SETTLEMENT', 193, '20101108 10:53:54.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('LAND SETTL', 'LAND SETTLEMENT', 195, '20101201 15:20:54.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FN SETT', 'FIRST NATION SETTLEMENTS', 447, '20101203 09:12:58.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('RAILCARS', 'RAILCARS', 819, '20110308 09:34:22.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('STATION', 'STATION', 265, '20110308 12:04:01.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FACIL MGMT', 'FACILITIES MANAGEMENT', 20, '20110526 09:52:07.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FACIL MNT', 'FACILITIES REPAIRS AND MAINTENANCE', 18, '20110526 09:54:49.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('DFAA', 'DISASTER FINANCIAL ASSISTANCE AGREEMENTS', 661, '20130531 09:46:19.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PROJ DEV', 'PROJECT DEVELOPMENT', 79, '20140730 11:04:44.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ENGINEER', 'ENGINEERING SERVICES', 869, '20150319 09:47:55.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FRST NTN', 'FIRST NATION', 55, '20151201 10:47:59.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FN ENVIRON', 'FIRST NATION - ENVIRONMENT', 56, '20160104 12:53:24.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FN CONSULT', 'FIRST NATION - CONSULT', 57, '20160104 12:53:24.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FN CONSTRC', 'FIRST NATION - CONSTRUCTION', 58, '20160104 12:53:24.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FN PROPACQ', 'FIRST NATION - PROPERTY ACQUISITION', 59, '20160104 12:53:24.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('EMBC', 'EMERGENCY MANAGEMENT BC', 70, '20160311 11:14:29.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('MUNIGOVT', 'MUNICIPAL GOVERNMENT', 93, '20170223 16:47:12.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ESTIMATE', 'ESTIMATING', 871, '20180912 13:33:38.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('TI CORP', 'TI CORP', 33, '20190912 14:27:16.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ENV MGMT', 'ENVIRONMENTAL MANAGEMENT', 35, '20190912 14:27:16.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FN MGMT', 'FIRST NATION MANAGEMENT', 37, '20190912 14:27:16.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('COMM MGMT', 'COMMUNICATIONS MANAGEMENT', 39, '20190912 14:27:16.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('BCIB ADMIN', 'BCIB ADMINISTRATIVE', 75, '20190912 14:27:16.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FIELD WRK', 'FIELD WORK', 77, '20190912 14:27:16.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('UTILITY', 'UTILITIES', 875, '20190912 14:29:20.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('TECH HYDRA', 'TECHNICAL HYDRAULICS', 877, '20190912 14:29:20.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PERMIT', 'PERMITTING', 449, '20190912 14:32:13.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('LANDSCAPE', 'LANDSCAPING', 451, '20190912 14:32:13.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ARCH RES', 'ARCHEOLOGY RESTRICTED AREA', 453, '20190912 14:32:13.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ARCH N RES', 'ARCHEOLOGY NO RESTRICTED AREA', 455, '20190912 14:32:13.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ARCH WORK', 'ARCHEOLOGY WORK', 457, '20190912 14:32:13.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FN PRE ENV', 'FIRST NATION - PRE ENVIRONMENT', 653, '20190912 14:52:36.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('CLTRL ADVY', 'CULTURAL ADVISORY', 879, '20190920 14:28:20.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FN AGREE', 'FIRST NATION - AGREEMENTS', 655, '20190912 14:34:55.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FN COMMTY', 'FIRST NATION - COMMUNITY', 657, '20190912 14:34:55.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('STIPEND', 'STIPEND', 289, '20190912 14:35:39.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('FN CULTURL', 'FIRST NATION - CULTURAL', 651, '20190912 14:51:27.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('HLTH & SAF', 'HEALTH & SAFETY', 913, '20190920 14:24:43.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ARCHITEC', 'ARCHITECTURAL ENGINEERING', 881, '20191101 16:29:55.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('SAFE', 'SAFETY', 882, '20191101 16:29:55.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('MECHANICAL', 'MECHANICAL ENGINEERING', 883, '20191101 16:29:55.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('ALIGNMENT', 'ALIGNMENT', 884, '20191101 16:29:55.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('QS LEAD', 'QUANTITY SURVEYOR LEAD', 917, '20191113 14:29:35.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('DOCU CNTRL', 'DOCUMENT CONTROL', 919, '20191113 14:32:38.0'); +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) VALUES('PCRMS', 'PROCUREMENT, CONTRACTS, RISK MANAGEMENT SERVICES', 175, '20191126 14:45:46.0'); +GO \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/109_DML_PIMS_TENANT_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/109_DML_PIMS_TENANT_TYPE.sql new file mode 100644 index 0000000000..2cc7cfcbbf --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/109_DML_PIMS_TENANT_TYPE.sql @@ -0,0 +1,18 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_TENANT_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-24 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_TENANT_TYPE +GO + +INSERT INTO PIMS_TENANT_TYPE (TENANT_TYPE_CODE, DESCRIPTION) +VALUES + (N'TEN', N'Tenant'), + (N'REP', N'Representative'), + (N'PMGR', N'Property manager'), + (N'UNK', N'Unknown'); + \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/110_DML_PIMS_PROJECT_STATUS_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/110_DML_PIMS_PROJECT_STATUS_TYPE.sql new file mode 100644 index 0000000000..611f532291 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/110_DML_PIMS_PROJECT_STATUS_TYPE.sql @@ -0,0 +1,20 @@ +/* ----------------------------------------------------------------------------- +Delete all data from the PIMS_PROJECT_STATUS_TYPE table and repopulate. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-09 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_PROJECT_STATUS_TYPE +GO + +INSERT INTO PIMS_PROJECT_STATUS_TYPE (PROJECT_STATUS_TYPE_CODE, DESCRIPTION) +VALUES + (N'AC', N'Active (AC)'), + (N'CA', N'Cancelled (CA)'), + (N'CNCN', N'Consolidated (CNCN)'), + (N'CO', N'Completed (CO)'), + (N'HO', N'On Hold (HO)'), + (N'PL', N'Planning (PL)'); + \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/111_DML_PIMS_BUSINESS_FUNCTION_CODE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/111_DML_PIMS_BUSINESS_FUNCTION_CODE.sql new file mode 100644 index 0000000000..3866a75542 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/111_DML_PIMS_BUSINESS_FUNCTION_CODE.sql @@ -0,0 +1,20 @@ +/* ----------------------------------------------------------------------------- +Populate the missing code values in the PIMS_BUSINESS_FUNCTION_CODE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-30 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_BUSINESS_FUNCTION_CODE +GO + +INSERT INTO PIMS_BUSINESS_FUNCTION_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) +VALUES + (N'MANAGE', N'MANAGE', 110, CONVERT(DATETIME, '1990.01.01', 102)), + (N'ORIO ACQ', N'ORIO ACQUISITION', 111, CONVERT(DATETIME, '1990.01.01', 102)), + (N'PROP AQU', N'PROPERTY ACQUISITION', 112, CONVERT(DATETIME, '1990.01.01', 102)), + (N'PROP MAN', N'PROPERTY MANAGEMENT', 113, CONVERT(DATETIME, '1990.01.01', 102)); +GO + + \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/112_DML_PIMS_COST_TYPE_CODE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/112_DML_PIMS_COST_TYPE_CODE.sql new file mode 100644 index 0000000000..38eb3a0d30 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/112_DML_PIMS_COST_TYPE_CODE.sql @@ -0,0 +1,15 @@ +/* ----------------------------------------------------------------------------- +Populate the missing code values in the PIMS_COST_TYPE_CODE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-30 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_COST_TYPE_CODE +GO + +INSERT INTO PIMS_COST_TYPE_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) +VALUES + (N'WBO', N'WBO', 1000, CONVERT(DATETIME, '1990.01.01', 102)); + \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/113_DML_PIMS_WORK_ACTIVITY_CODE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/113_DML_PIMS_WORK_ACTIVITY_CODE.sql new file mode 100644 index 0000000000..7965dc6f58 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/113_DML_PIMS_WORK_ACTIVITY_CODE.sql @@ -0,0 +1,19 @@ +/* ----------------------------------------------------------------------------- +Populate the missing code values in the PIMS_WORK_ACTIVITY_CODE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-30 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_WORK_ACTIVITY_CODE +GO + +INSERT INTO PIMS_WORK_ACTIVITY_CODE (CODE, DESCRIPTION, DISPLAY_ORDER, EFFECTIVE_DATE) +VALUES + (N'PROP MAN', N'PROP MAN', 2000, CONVERT(DATETIME, '1990.01.01', 102)), + (N'SURVEY', N'SURVEY', 2001, CONVERT(DATETIME, '1990.01.01', 102)), + (N'ELEC MAIN', N'ELEC MAIN', 2002, CONVERT(DATETIME, '1990.01.01', 102)), + (N'ACQ PROP', N'ACQ PROP', 2003, CONVERT(DATETIME, '1990.01.01', 102)), + (N'PA GENERAL', N'PA GENERAL', 2004, CONVERT(DATETIME, '1990.01.01', 102)); + \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/114_DML_PIMS_CONSULTATION_STATUS_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/114_DML_PIMS_CONSULTATION_STATUS_TYPE.sql new file mode 100644 index 0000000000..c682f83124 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/114_DML_PIMS_CONSULTATION_STATUS_TYPE.sql @@ -0,0 +1,18 @@ +/* ----------------------------------------------------------------------------- +Populate the missing code values in the PIMS_CONSULTATION_STATUS_TYPE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-30 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_CONSULTATION_STATUS_TYPE +GO + +INSERT INTO PIMS_CONSULTATION_STATUS_TYPE (CONSULTATION_STATUS_TYPE_CODE, DESCRIPTION, DISPLAY_ORDER) +VALUES + (N'UNKNOWN', N'Unknown', 1), + (N'REQNTCOM', N'Required, not completed', 2), + (N'REQCOMP', N'Required, completed', 3), + (N'NOTREQD', N'Not required', 4); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/115_DML_PIMS_CONSULTATION_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/115_DML_PIMS_CONSULTATION_TYPE.sql new file mode 100644 index 0000000000..a86a9094fb --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Build/115_DML_PIMS_CONSULTATION_TYPE.sql @@ -0,0 +1,21 @@ +/* ----------------------------------------------------------------------------- +Populate the missing code values in the PIMS_CONSULTATION_TYPE table. +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2023-Jan-30 Initial version +----------------------------------------------------------------------------- */ + +DELETE FROM PIMS_CONSULTATION_TYPE +GO + +INSERT INTO PIMS_CONSULTATION_TYPE (CONSULTATION_TYPE_CODE, CONSULTATION_STATUS_TYPE_CODE, DESCRIPTION, OTHER_DESCRIPTION, DISPLAY_ORDER) +VALUES + (N'1STNATION', N'UNKNOWN', N'First nation', '', 1), + (N'STRATRE', N'UNKNOWN', N'Strategic Real Estate (SRE)', '', 2), + (N'REGPLANG', N'UNKNOWN', N'Regional planning', '', 3), + (N'REGPRPSVC', N'UNKNOWN', N'Regional property services', '', 4), + (N'DISTRICT', N'UNKNOWN', N'District', '', 5), + (N'HQ', N'UNKNOWN', N'Headquarter (HQ)', '', 6), + (N'OTHER', N'UNKNOWN', N'Other', 'Describe other*', 7); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Drop/01_PSP_PIMS_Drop.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Drop/01_PSP_PIMS_Drop.sql new file mode 100644 index 0000000000..673067b6e5 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Drop/01_PSP_PIMS_Drop.sql @@ -0,0 +1,14412 @@ +/* ---------------------------------------------------------------------- */ +/* Script generated with: DeZign for Databases 13.0.2 */ +/* Target DBMS: MS SQL Server 2017 */ +/* Project file: PIMS S46.00.dez */ +/* Project name: MoTI Property Services Project */ +/* Author: Doug Filteau */ +/* Script type: Database drop script */ +/* Created on: 2023-01-20 11:57 */ +/* ---------------------------------------------------------------------- */ + + +/* ---------------------------------------------------------------------- */ +/* Drop triggers */ +/* ---------------------------------------------------------------------- */ + +DROP TRIGGER [dbo].[PIMS_SCDPHL_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_SCDPHL_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_SCDPHL_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_SCDPRH_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_SCDPRH_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_SCDPRH_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRANOM_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRANOM_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPSTS_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPSTS_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRROAD_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRROAD_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRADJL_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRADJL_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRVOLT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRVOLT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPRRT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPRRT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPRAT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPRAT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPALT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPALT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_VOLUTY_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_VOLUTY_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPRTT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPRTT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_RESRCH_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_RESRCH_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_RESRCH_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_RSRCHS_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_RSRCHS_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRSCRC_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRSCRC_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRSCRC_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPRTY_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPRTY_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPRTY_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPSVC_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPSVC_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPSVC_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_USER_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_USER_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_USER_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPTYP_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPTYP_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ADDRSS_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ADDRSS_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ADDRSS_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_DSTRCT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_DSTRCT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_REGION_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_REGION_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PROVNC_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PROVNC_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_CNTRY_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_CNTRY_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ADUSGT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ADUSGT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ORG_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ORG_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ORG_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_USRORG_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_USRORG_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_USRORG_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_CLMTYP_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_CLMTYP_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_CLMTYP_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ROLCLM_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ROLCLM_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ROLCLM_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PERSON_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PERSON_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PERSON_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PERORG_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PERORG_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PERORG_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ORGTYP_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ORGTYP_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACRQST_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACRQST_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACRQST_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACRQOR_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACRQOR_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACRQOR_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ARQSTT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ARQSTT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRSVFT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRSVFT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ROLE_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ROLE_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ROLE_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_USERRL_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_USERRL_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_USERRL_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPRSF_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPRSF_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPRSF_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPCLT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPCLT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_CNTMTH_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_CNTMTH_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_CNTMTH_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_CNTMTT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_CNTMTT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPORG_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPORG_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPORG_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPTNR_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPTNR_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ARUNIT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ARUNIT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPEVL_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPEVL_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPEVL_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PIDSRT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PIDSRT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ORGIDT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ORGIDT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LEASE_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LEASE_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LEASE_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LSCATT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LSCATT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PROPLS_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PROPLS_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PROPLS_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LSPMTF_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LSPMTF_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LSPRGT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LSPRGT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_TENANT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_TENANT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_TENANT_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LSSRTY_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LSSRTY_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LSPRTY_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LSPRTY_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LELIST_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LELIST_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_INSRNC_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_INSRNC_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_INSRNC_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_INSPYT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_INSPYT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_SECDEP_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_SECDEP_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_SECDEP_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_SECDPT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_SECDPT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LPRPTY_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LPRPTY_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPTAX_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPTAX_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRPTAX_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PTRMTT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PTRMTT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_SPDCLT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_SPDCLT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PIMPRV_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PIMPRV_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PIMPRV_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PIMPRT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PIMPRT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_SDRTRN_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_SDRTRN_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_SDRTRN_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LINITT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LINITT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LRESPT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LRESPT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LSTERM_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LSTERM_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LSTERM_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LTRMST_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LTRMST_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LSPMMT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LSPMMT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LSPYMT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LSPYMT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LSPYMT_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LPSTST_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LPSTST_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_STAVBL_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_STAVBL_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_STAVBL_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PERADD_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PERADD_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PERADD_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ORGADD_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ORGADD_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ORGADD_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LSSTYP_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LSSTYP_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_TENNTX_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_TENNTX_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_RQSRCT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_RQSRCT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_RSHPRT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_RSHPRT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_RSFLPR_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_RSFLPR_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_RSFLPR_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_RRESPT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_RRESPT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRSPRP_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRSPRP_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PPHSTT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PPHSTT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_RGNUSR_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_RGNUSR_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_RGNUSR_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_NOTE_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_NOTE_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_NOTE_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_DOCTYP_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_DOCTYP_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_DOCTYP_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_DOCMNT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_DOCMNT_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_DOCMNT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_DOCSTY_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_DOCSTY_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACTINS_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACTINS_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACTINS_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACTINN_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACTINN_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACTINN_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACTDOC_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACTDOC_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACTDOC_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACQNFL_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACQNFL_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACQNFL_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRACQF_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRACQF_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRACQF_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACQOWN_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACQOWN_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACQOWN_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACQFST_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACQFST_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACQTYP_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACQTYP_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACQFTY_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACQFTY_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACQPFS_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACQPFS_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACQPER_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACQPER_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACQPER_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_AQFPPT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_AQFPPT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACTTMP_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACTTMP_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACTTMP_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACTTTY_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACTTTY_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACQAIN_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACQAIN_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACQAIN_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_SRVPLT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_SRVPLT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LNSRVT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LNSRVT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_RSCHAI_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_RSCHAI_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_RSCHAI_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACTIST_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACTIST_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_FNCTYP_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_FNCTYP_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LTRTYP_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LTRTYP_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_AIPRFL_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_AIPRFL_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_AIPRFL_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_AIPAFL_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_AIPAFL_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_AIPAFL_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACTMDO_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACTMDO_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACTMDO_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LSACIN_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LSACIN_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_LSACIN_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_WRKACT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_WRKACT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_WRKACT_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_BIZFCN_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_BIZFCN_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_BIZFCN_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_FINACT_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_FINACT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_FINACT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_CHRTAC_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_CHRTAC_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_CHRTAC_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_COSTYP_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_COSTYP_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_COSTYP_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_RESPCD_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_RESPCD_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_RESPCD_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_YRFINC_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_YRFINC_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_YRFINC_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_TENTYP_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_TENTYP_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACQNOT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACQNOT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_ACQNOT_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRJSTY_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRJSTY_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PROJCT_A_S_IUD_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PROJCT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PROJCT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRODCT_I_S_U_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRODCT_I_S_I_TR] +GO + + +DROP TRIGGER [dbo].[PIMS_PRODCT_A_S_IUD_TR] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop views */ +/* ---------------------------------------------------------------------- */ + +DROP VIEW [dbo].[PIMS_PROPERTY_BOUNDARY_VW] +GO + + +DROP VIEW [dbo].[PIMS_PERSON_CONTACT_VW] +GO + + +DROP VIEW [dbo].[PIMS_CONTACT_MGR_VW] +GO + + +DROP VIEW [dbo].[PIMS_PROPERTY_LOCATION_VW] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop foreign key constraints */ +/* ---------------------------------------------------------------------- */ + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [PIM_SECDEP_PIM_SCDPHL_FK] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [PIM_ORG_PIM_SCDPHL_FK] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [PIM_PERSON_PIM_SCDPHL_FK] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [PIM_SDRTRN_PIM_SCDPRH_FK] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [PIM_PERSON_PIM_SCDPRH_FK] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [PIM_ORG_PIM_SCDPRH_FK] +GO + + +ALTER TABLE [dbo].[BCA_ASSESSMENT_AREA] DROP CONSTRAINT [PIM_BCDADV_PIM_BCASAR_FK] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION] DROP CONSTRAINT [PIM_BCASAR_PIM_BCAJUR_FK] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_RECORD] DROP CONSTRAINT [PIM_BCAJUR_PIM_BCAFOR_FK] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_ADDRESS] DROP CONSTRAINT [PIM_BCAFOR_PIM_BCFADR_FK] +GO + + +ALTER TABLE [dbo].[BCA_OWNERSHIP_GROUP] DROP CONSTRAINT [PIM_BCAFOR_PIM_BCAOWG_FK] +GO + + +ALTER TABLE [dbo].[BCA_OWNER] DROP CONSTRAINT [PIM_BCAOWG_PIM_BCAOWN_FK] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_GENERAL_VALUE] DROP CONSTRAINT [PIM_BCDADV_PIM_BCDGNV_FK] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_BCTRANSIT_VALUE] DROP CONSTRAINT [PIM_BCDADV_PIM_BCDTRV_FK] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_SCHOOL_VALUE] DROP CONSTRAINT [PIM_BCDADV_PIM_BCDSCV_FK] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION_AMENDMENT] DROP CONSTRAINT [PIM_BCAJUR_PIM_BCJAMD_FK] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION_DELETE] DROP CONSTRAINT [PIM_BCAJUR_PIM_BCJDEL_FK] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_LEGAL_DESCRIPTION] DROP CONSTRAINT [PIM_BCAFOR_PIM_BCAFLD_FK] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_DELETE] DROP CONSTRAINT [PIM_BCDADV_PIM_BCDDEL_FK] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_AMENDMENT] DROP CONSTRAINT [PIM_BCDADV_PIM_BCDAMD_FK] +GO + + +ALTER TABLE [dbo].[BCA_AREA_DELETE] DROP CONSTRAINT [PIM_BCASAR_PIM_BCADEL_FK] +GO + + +ALTER TABLE [dbo].[BCA_AREA_AMENDMENT] DROP CONSTRAINT [PIM_BCASAR_PIM_BCAAMD_FK] +GO + + +ALTER TABLE [dbo].[BCA_AREA_GENERAL_VALUE] DROP CONSTRAINT [PIM_BCASAR_PIM_BCAGNV_FK] +GO + + +ALTER TABLE [dbo].[BCA_AREA_BCTRANSIT_VALUE] DROP CONSTRAINT [PIM_BCASAR_PIM_BCATRV_FK] +GO + + +ALTER TABLE [dbo].[BCA_AREA_SCHOOL_VALUE] DROP CONSTRAINT [PIM_BCASAR_PIM_BCASCV_FK] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION_GENERAL_VALUE] DROP CONSTRAINT [PIM_BCAJUR_PIM_BCJGNV_FK] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION_SCHOOL_VALUE] DROP CONSTRAINT [PIM_BCAJUR_PIM_BCJSCV_FK] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION_BCTRANSIT_VALUE] DROP CONSTRAINT [PIM_BCAJUR_PIM_BCJTRV_FK] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_DESCRIPTION] DROP CONSTRAINT [PIM_BCAFOR_PIM_BCAFDE_FK] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_SALES] DROP CONSTRAINT [PIM_BCAFOR_PIM_BCAFSA_FK] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_GENERAL_VALUE] DROP CONSTRAINT [PIM_BCAFOR_PIM_BCFGNV_FK] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_BCTRANSIT_VALUE] DROP CONSTRAINT [PIM_BCAFOR_PIM_BCFTRV_FK] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_SCHOOL_VALUE] DROP CONSTRAINT [PIM_BCAFOR_PIM_BCFSCV_FK] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_VALUATION] DROP CONSTRAINT [PIM_BCAFOR_PIM_BCAVAL_FK] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_AMENDMENT] DROP CONSTRAINT [PIM_BCAFOR_PIM_BCAFAM_FK] +GO + + +ALTER TABLE [dbo].[BCA_MINOR_TAXING] DROP CONSTRAINT [PIM_BCAFOR_PIM_BCMNTX_FK] +GO + + +ALTER TABLE [dbo].[BCA_ELECTORAL_AREA] DROP CONSTRAINT [PIM_BCMNTX_PIM_BCELCT_FK] +GO + + +ALTER TABLE [dbo].[BCA_SERVICE_AREA] DROP CONSTRAINT [PIM_BCMNTX_PIM_BCSVCA_FK] +GO + + +ALTER TABLE [dbo].[BCA_DEFINED] DROP CONSTRAINT [PIM_BCMNTX_PIM_BCADFN_FK] +GO + + +ALTER TABLE [dbo].[BCA_SPECIFIED_REGIONAL] DROP CONSTRAINT [PIM_BCMNTX_PIM_BCSPRG_FK] +GO + + +ALTER TABLE [dbo].[BCA_SPECIFIED_MUNICIPAL] DROP CONSTRAINT [PIM_BCMNTX_PIM_BCSPMU_FK] +GO + + +ALTER TABLE [dbo].[BCA_LOCAL_AREA] DROP CONSTRAINT [PIM_BCMNTX_PIM_BCLCLA_FK] +GO + + +ALTER TABLE [dbo].[BCA_GENERAL_SERVICE] DROP CONSTRAINT [PIM_BCMNTX_PIM_BCGSVC_FK] +GO + + +ALTER TABLE [dbo].[BCA_IMPROVEMENT_DISTRICT] DROP CONSTRAINT [PIM_BCMNTX_PIM_BCIMPD_FK] +GO + + +ALTER TABLE [dbo].[BCA_ISLANDS_TRUST] DROP CONSTRAINT [PIM_BCMNTX_PIM_BCISLT_FK] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_FARM] DROP CONSTRAINT [PIM_BCAFOR_PIM_BCFARM_FK] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_MANUFACTURED_HOME] DROP CONSTRAINT [PIM_BCAFOR_PIM_BCMANH_FK] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_MANAGED_FOREST] DROP CONSTRAINT [PIM_BCAFOR_PIM_BCMFOR_FK] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_OIL_AND_GAS] DROP CONSTRAINT [PIM_BCAFOR_PIM_BCOILG_FK] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_LAND_CHARACTERISTIC] DROP CONSTRAINT [PIM_BCAFOR_PIM_BCLCHR_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ROAD_TYPE] DROP CONSTRAINT [PIM_PRPRTY_PIM_PRPRRT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ROAD_TYPE] DROP CONSTRAINT [PIM_PRROAD_PIM_PRPRRT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ANOMALY_TYPE] DROP CONSTRAINT [PIM_PRPRTY_PIM_PRPRAT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ANOMALY_TYPE] DROP CONSTRAINT [PIM_PRANOM_PIM_PRPRAT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ADJACENT_LAND_TYPE] DROP CONSTRAINT [PIM_PRPRTY_PIM_PRPALT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ADJACENT_LAND_TYPE] DROP CONSTRAINT [PIM_PRADJL_PIM_PRPALT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_TENURE_TYPE] DROP CONSTRAINT [PIM_PRPRTY_PIM_PRPRTT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_TENURE_TYPE] DROP CONSTRAINT [PIM_PRPTNR_PIM_PRPRTT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [PIM_RSRCHS_PIM_RESRCH_FK] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [PIM_RQSRCT_PIM_RESRCH_FK] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [PIM_PERSON_PIM_RESRCH_FK] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [PIM_ORG_PIM_RESRCH_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_RESEARCH_FILE] DROP CONSTRAINT [PIM_PRPRTY_PIM_PRSCRC_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_RESEARCH_FILE] DROP CONSTRAINT [PIM_RESRCH_PIM_PRSCRC_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PIM_SPDCLT_PIM_PRPRTY_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PIM_PRPSTS_PIM_PRPRTY_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PIM_VOLUTY_PIM_PRPRTY_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PIM_PRVOLT_PIM_PRPRTY_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PIM_PRPTYP_PIM_PRPRTY_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PIM_ADDRSS_PIM_PRPRTY_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PIM_REGION_PIM_PRPRTY_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PIM_DSTRCT_PIM_PRPRTY_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PIM_PRPCLT_PIM_PRPRTY_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PIM_ARUNIT_PIM_PRPRTY_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PIM_PIDSRT_PIM_PRPRTY_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PIM_PERSON_PIM_PRPRTY_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PIM_ORG_PIM_PRPRTY_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PIM_PPHSTT_PIM_PRPRTY_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_SERVICE_FILE] DROP CONSTRAINT [PIM_PRSVFT_PIM_PRPSVC_FK] +GO + + +ALTER TABLE [dbo].[PIMS_USER] DROP CONSTRAINT [PIM_PERSON_PIM_USER_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ADDRESS] DROP CONSTRAINT [PIM_DSTRCT_PIM_ADDRSS_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ADDRESS] DROP CONSTRAINT [PIM_REGION_PIM_ADDRSS_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ADDRESS] DROP CONSTRAINT [PIM_PROVNC_PIM_ADDRSS_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ADDRESS] DROP CONSTRAINT [PIM_CNTRY_PIM_ADDRSS_FK] +GO + + +ALTER TABLE [dbo].[PIMS_DISTRICT] DROP CONSTRAINT [PIM_REGION_PIM_DSTRCT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROVINCE_STATE] DROP CONSTRAINT [PIM_CNTRY_PIM_PROVNC_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION] DROP CONSTRAINT [PIM_ORGTYP_PIM_ORG_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION] DROP CONSTRAINT [PIM_ORG_PIM_PRNT_ORG_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION] DROP CONSTRAINT [PIM_DSTRCT_PIM_ORG_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION] DROP CONSTRAINT [PIM_REGION_PIM_ORG_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION] DROP CONSTRAINT [PIM_ORGIDT_PIM_ORG_FK] +GO + + +ALTER TABLE [dbo].[PIMS_USER_ORGANIZATION] DROP CONSTRAINT [PIM_USER_PIM_USRORG_FK] +GO + + +ALTER TABLE [dbo].[PIMS_USER_ORGANIZATION] DROP CONSTRAINT [PIM_ORG_PIM_USRORG_FK] +GO + + +ALTER TABLE [dbo].[PIMS_USER_ORGANIZATION] DROP CONSTRAINT [PIM_ROLE_PIM_USRORG_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ROLE_CLAIM] DROP CONSTRAINT [PIM_CLMTYP_PIM_ROLCLM_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ROLE_CLAIM] DROP CONSTRAINT [PIM_ROLE_PIM_ROLCLM_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON_ORGANIZATION] DROP CONSTRAINT [PIM_PERSON_PIM_PERORG_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON_ORGANIZATION] DROP CONSTRAINT [PIM_ORG_PIM_PERORG_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST] DROP CONSTRAINT [PIM_USER_PIM_ACRQST_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST] DROP CONSTRAINT [PIM_ARQSTT_PIM_ACRQST_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST] DROP CONSTRAINT [PIM_ROLE_PIM_ACRQST_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST] DROP CONSTRAINT [PIM_REGION_PIM_ACRQST_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION] DROP CONSTRAINT [PIM_ORG_PIM_ACRQOR_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION] DROP CONSTRAINT [PIM_ACRQST_PIM_ACRQOR_FK] +GO + + +ALTER TABLE [dbo].[PIMS_USER_ROLE] DROP CONSTRAINT [PIM_USER_PIM_USERRL_FK] +GO + + +ALTER TABLE [dbo].[PIMS_USER_ROLE] DROP CONSTRAINT [PIM_ROLE_PIM_USERRL_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE] DROP CONSTRAINT [PIM_PRPRTY_PIM_PRPRSF_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE] DROP CONSTRAINT [PIM_PRPSVC_PIM_PRPRSF_FK] +GO + + +ALTER TABLE [dbo].[PIMS_CONTACT_METHOD] DROP CONSTRAINT [PIM_CNTMTT_PIM_CNTMTH_FK] +GO + + +ALTER TABLE [dbo].[PIMS_CONTACT_METHOD] DROP CONSTRAINT [PIM_PERSON_PIM_CNTMTH_FK] +GO + + +ALTER TABLE [dbo].[PIMS_CONTACT_METHOD] DROP CONSTRAINT [PIM_ORG_PIM_CNTMTH_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ORGANIZATION] DROP CONSTRAINT [PIM_PRPRTY_PIM_PRPORG_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ORGANIZATION] DROP CONSTRAINT [PIM_ORG_PIM_PRPORG_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_EVALUATION] DROP CONSTRAINT [PIM_PRPRTY_PIM_PRPEVL_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE] DROP CONSTRAINT [PIM_REGION_PIM_LEASE_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE] DROP CONSTRAINT [PIM_LSPRGT_PIM_LEASE_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE] DROP CONSTRAINT [PIM_LELIST_PIM_LEASE_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE] DROP CONSTRAINT [PIM_LSPRTY_PIM_LEASE_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE] DROP CONSTRAINT [PIM_LSCATT_PIM_LEASE_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE] DROP CONSTRAINT [PIM_LPRPTY_PIM_LEASE_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE] DROP CONSTRAINT [PIM_LINITT_PIM_LEASE_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE] DROP CONSTRAINT [PIM_LRESPT_PIM_LEASE_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE] DROP CONSTRAINT [PIM_LSSTYP_PIM_LEASE_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_LEASE] DROP CONSTRAINT [PIM_PRPRTY_PIM_PROPLS_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_LEASE] DROP CONSTRAINT [PIM_LEASE_PIM_PROPLS_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_LEASE] DROP CONSTRAINT [PIM_ARUNIT_PIM_PROPLS_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] DROP CONSTRAINT [PIM_LEASE_PIM_TENANT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] DROP CONSTRAINT [PIM_ORG_PIM_TENANT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] DROP CONSTRAINT [PIM_PERSON_PIM_TENANT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] DROP CONSTRAINT [PIM_PERSON_PIM_PRIMARY_CONTACT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] DROP CONSTRAINT [PIM_LSSRTY_PIM_TENANT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] DROP CONSTRAINT [PIM_TENTYP_PIM_TENANT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_INSURANCE] DROP CONSTRAINT [PIM_LEASE_PIM_INSRNC_FK] +GO + + +ALTER TABLE [dbo].[PIMS_INSURANCE] DROP CONSTRAINT [PIM_INSPYT_PIM_INSRNC_FK] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT] DROP CONSTRAINT [PIM_LEASE_PIM_SECDEP_FK] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT] DROP CONSTRAINT [PIM_SECDPT_PIM_SECDEP_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TAX] DROP CONSTRAINT [PIM_PTRMTT_PIM_PRPTAX_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TAX] DROP CONSTRAINT [PIM_PRPRTY_PIM_PRPTAX_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT] DROP CONSTRAINT [PIM_PIMPRT_PIM_PIMPRV_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT] DROP CONSTRAINT [PIM_LEASE_PIM_PIMPRV_FK] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN] DROP CONSTRAINT [PIM_SECDEP_PIM_SDRTRN_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TERM] DROP CONSTRAINT [PIM_LSPMTF_PIM_LSTERM_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TERM] DROP CONSTRAINT [PIM_LEASE_PIM_LSTERM_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TERM] DROP CONSTRAINT [PIM_LTRMST_PIM_LSTERM_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT] DROP CONSTRAINT [PIM_LPSTST_PIM_LSPYMT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT] DROP CONSTRAINT [PIM_LSTERM_PIM_LSPYMT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT] DROP CONSTRAINT [PIM_LSPMMT_PIM_LSPYMT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON_ADDRESS] DROP CONSTRAINT [PIM_ADUSGT_PIM_PERADD_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON_ADDRESS] DROP CONSTRAINT [PIM_PERSON_PIM_PERADD_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON_ADDRESS] DROP CONSTRAINT [PIM_ADDRSS_PIM_PERADD_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_ADDRESS] DROP CONSTRAINT [PIM_ADUSGT_PIM_ORGADD_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_ADDRESS] DROP CONSTRAINT [PIM_ORG_PIM_ORGADD_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_ADDRESS] DROP CONSTRAINT [PIM_ADDRSS_PIM_ORGADD_FK] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PURPOSE] DROP CONSTRAINT [PIM_RESRCH_PIM_RSFLPR_FK] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PURPOSE] DROP CONSTRAINT [PIM_RSHPRT_PIM_RSFLPR_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [PIM_RRESPT_PIM_PRSPRP_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [PIM_PRSCRC_PIM_PRSPRP_FK] +GO + + +ALTER TABLE [dbo].[PIMS_REGION_USER] DROP CONSTRAINT [PIM_REGION_PIM_RGNUSR_FK] +GO + + +ALTER TABLE [dbo].[PIMS_REGION_USER] DROP CONSTRAINT [PIM_USER_PIM_RGNUSR_FK] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT] DROP CONSTRAINT [PIM_DOCTYP_PIM_DOCMNT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT] DROP CONSTRAINT [PIM_DOCSTY_PIM_DOCMNT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE] DROP CONSTRAINT [PIM_ACTTMP_PIM_ACTINS_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE] DROP CONSTRAINT [PIM_ACTIST_PIM_ACTINS_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE] DROP CONSTRAINT [PIM_NOTE_PIM_ACTINN_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE] DROP CONSTRAINT [PIM_ACTINS_PIM_ACTINN_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT] DROP CONSTRAINT [PIM_DOCMNT_PIM_ACTDOC_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT] DROP CONSTRAINT [PIM_ACTINS_PIM_ACTDOC_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] DROP CONSTRAINT [PIM_ACQFST_PIM_ACQNFL_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] DROP CONSTRAINT [PIM_ACQTYP_PIM_ACQNFL_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] DROP CONSTRAINT [PIM_ACQFTY_PIM_ACQNFL_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] DROP CONSTRAINT [PIM_ACQPFS_PIM_ACQNFL_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] DROP CONSTRAINT [PIM_REGION_PIM_ACQNFL_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] DROP CONSTRAINT [PIM_PRODCT_PIM_ACQNFL_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] DROP CONSTRAINT [PIM_PROJCT_PIM_ACQNFL_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE] DROP CONSTRAINT [PIM_ACQNFL_PIM_PRACQF_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE] DROP CONSTRAINT [PIM_PRPRTY_PIM_PRACQF_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_OWNER] DROP CONSTRAINT [PIM_ADDRSS_PIM_ACQOWN_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_OWNER] DROP CONSTRAINT [PIM_ACQNFL_PIM_ACQOWN_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_PERSON] DROP CONSTRAINT [PIM_ACQNFL_PIM_ACQPER_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_PERSON] DROP CONSTRAINT [PIM_PERSON_PIM_ACQPER_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_PERSON] DROP CONSTRAINT [PIM_AQFPPT_PIM_ACQPER_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE] DROP CONSTRAINT [PIM_ACTTTY_PIM_ACTTMP_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE] DROP CONSTRAINT [PIM_ACQNFL_PIM_ACQAIN_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE] DROP CONSTRAINT [PIM_ACTINS_PIM_ACQAIN_FK] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE] DROP CONSTRAINT [PIM_RESRCH_PIM_RSCHAI_FK] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE] DROP CONSTRAINT [PIM_ACTINS_PIM_RSCHAI_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE] DROP CONSTRAINT [PIM_ACTINS_PIM_AIPRFL_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE] DROP CONSTRAINT [PIM_PRSCRC_PIM_AIPRFL_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE] DROP CONSTRAINT [PIM_ACTINS_PIM_AIPAFL_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE] DROP CONSTRAINT [PIM_PRACQF_PIM_AIPAFL_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT] DROP CONSTRAINT [PIM_DOCMNT_PIM_ACTMDO_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT] DROP CONSTRAINT [PIM_ACTTMP_PIM_ACTMDO_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE] DROP CONSTRAINT [PIM_ACTINS_PIM_LSACIN_FK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE] DROP CONSTRAINT [PIM_LEASE_PIM_LSACIN_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE] DROP CONSTRAINT [PIM_NOTE_PIM_ACQNOT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE] DROP CONSTRAINT [PIM_ACQNFL_PIM_ACQNOT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT [PIM_BIZFCN_PIM_PROJCT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT [PIM_COSTYP_PIM_PROJCT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT [PIM_WRKACT_PIM_PROJCT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT [PIM_PRJSTS_PIM_PROJCT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT [PIM_REGION_PIM_PROJCT_FK] +GO + + +ALTER TABLE [dbo].[PIMS_PRODUCT] DROP CONSTRAINT [PIM_PROJCT_PIM_PRODCT_FK] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ACT_INST_PROP_RSRCH_FILE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE] DROP CONSTRAINT [AIPRFL_ACT_INST_PROP_RSRCH_FILE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE] DROP CONSTRAINT [AIPRFL_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE] DROP CONSTRAINT [AIPRFL_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE] DROP CONSTRAINT [AIPRFL_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE] DROP CONSTRAINT [AIPRFL_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE] DROP CONSTRAINT [AIPRFL_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE] DROP CONSTRAINT [AIPRFL_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE] DROP CONSTRAINT [AIPRFL_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE] DROP CONSTRAINT [AIPRFL_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE] DROP CONSTRAINT [AIPRFL_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE] DROP CONSTRAINT [AIPRFL_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE] DROP CONSTRAINT [AIPRFL_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE] DROP CONSTRAINT [AIPRFL_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE] DROP CONSTRAINT [AIPRFL_PK] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE] DROP CONSTRAINT [AIPRFL_ACT_INST_PROP_RSRCH_FL_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACT_INST_PROP_RSRCH_FILE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACT_INST_PROP_RSRCH_FILE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [PRSPRP_PRF_PROP_RESEARCH_PURPOSE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [PRSPRP_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [PRSPRP_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [PRSPRP_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [PRSPRP_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [PRSPRP_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [PRSPRP_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [PRSPRP_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [PRSPRP_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [PRSPRP_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [PRSPRP_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [PRSPRP_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [PRSPRP_PK] +GO + + +ALTER TABLE [dbo].[PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [PRSPRP_PROP_PURPOSE_TUC] +GO + + +DROP TABLE [dbo].[PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROPERTY_RESEARCH_FILE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROPERTY_RESEARCH_FILE] DROP CONSTRAINT [PRSCRC_PROPERTY_RESEARCH_FILE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_RESEARCH_FILE] DROP CONSTRAINT [PRSCRC_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_RESEARCH_FILE] DROP CONSTRAINT [PRSCRC_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_RESEARCH_FILE] DROP CONSTRAINT [PRSCRC_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_RESEARCH_FILE] DROP CONSTRAINT [PRSCRC_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_RESEARCH_FILE] DROP CONSTRAINT [PRSCRC_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_RESEARCH_FILE] DROP CONSTRAINT [PRSCRC_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_RESEARCH_FILE] DROP CONSTRAINT [PRSCRC_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_RESEARCH_FILE] DROP CONSTRAINT [PRSCRC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_RESEARCH_FILE] DROP CONSTRAINT [PRSCRC_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_RESEARCH_FILE] DROP CONSTRAINT [PRSCRC_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_RESEARCH_FILE] DROP CONSTRAINT [PRSCRC_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_RESEARCH_FILE] DROP CONSTRAINT [PRSCRC_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_RESEARCH_FILE] DROP CONSTRAINT [PRSCRC_PK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_RESEARCH_FILE] DROP CONSTRAINT [PRSCRC_RSRCH_FILE_PROP_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_RESEARCH_FILE', 'COLUMN', N'PROPERTY_NAME' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_RESEARCH_FILE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_RESEARCH_FILE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_RESEARCH_FILE', 'COLUMN', N'IS_LEGAL_OPINION_REQUIRED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_RESEARCH_FILE', 'COLUMN', N'IS_LEGAL_OPINION_OBTAINED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_RESEARCH_FILE', 'COLUMN', N'DOCUMENT_REFERENCE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_RESEARCH_FILE', 'COLUMN', N'RESEARCH_SUMMARY' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_RESEARCH_FILE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_PROPERTY_RESEARCH_FILE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROP_PROP_TENURE_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROP_PROP_TENURE_TYPE] DROP CONSTRAINT [PRPRTT_PROP_PROP_TENURE_TYPE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_TENURE_TYPE] DROP CONSTRAINT [PRPRTT_PROPERTY_TENURE_TYPE_CODE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_TENURE_TYPE] DROP CONSTRAINT [PRPRTT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_TENURE_TYPE] DROP CONSTRAINT [PRPRTT_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_TENURE_TYPE] DROP CONSTRAINT [PRPRTT_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_TENURE_TYPE] DROP CONSTRAINT [PRPRTT_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_TENURE_TYPE] DROP CONSTRAINT [PRPRTT_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_TENURE_TYPE] DROP CONSTRAINT [PRPRTT_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_TENURE_TYPE] DROP CONSTRAINT [PRPRTT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_TENURE_TYPE] DROP CONSTRAINT [PRPRTT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_TENURE_TYPE] DROP CONSTRAINT [PRPRTT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_TENURE_TYPE] DROP CONSTRAINT [PRPRTT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_TENURE_TYPE] DROP CONSTRAINT [PRPRTT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_TENURE_TYPE] DROP CONSTRAINT [PRPRTT_PK] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_TENURE_TYPE] DROP CONSTRAINT [PRPRTT_PROP_PROP_TENURE_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROP_PROP_TENURE_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_PROP_PROP_TENURE_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROP_PROP_ADJACENT_LAND_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ADJACENT_LAND_TYPE] DROP CONSTRAINT [PRPALT_PROP_PROP_ADJACENT_LAND_TYPE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ADJACENT_LAND_TYPE] DROP CONSTRAINT [PRPALT_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ADJACENT_LAND_TYPE] DROP CONSTRAINT [PRPALT_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ADJACENT_LAND_TYPE] DROP CONSTRAINT [PRPALT_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ADJACENT_LAND_TYPE] DROP CONSTRAINT [PRPALT_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ADJACENT_LAND_TYPE] DROP CONSTRAINT [PRPALT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ADJACENT_LAND_TYPE] DROP CONSTRAINT [PRPALT_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ADJACENT_LAND_TYPE] DROP CONSTRAINT [PRPALT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ADJACENT_LAND_TYPE] DROP CONSTRAINT [PRPALT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ADJACENT_LAND_TYPE] DROP CONSTRAINT [PRPALT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ADJACENT_LAND_TYPE] DROP CONSTRAINT [PRPALT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ADJACENT_LAND_TYPE] DROP CONSTRAINT [PRPALT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ADJACENT_LAND_TYPE] DROP CONSTRAINT [PRPALT_PK] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ADJACENT_LAND_TYPE] DROP CONSTRAINT [PRPALT_PROP_ADJACENT_LAND_TYPE_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROP_PROP_ADJACENT_LAND_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_PROP_PROP_ADJACENT_LAND_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROP_PROP_ANOMALY_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ANOMALY_TYPE] DROP CONSTRAINT [PRPRAT_PROP_PROP_ANOMALY_TYPE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ANOMALY_TYPE] DROP CONSTRAINT [PRPRAT_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ANOMALY_TYPE] DROP CONSTRAINT [PRPRAT_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ANOMALY_TYPE] DROP CONSTRAINT [PRPRAT_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ANOMALY_TYPE] DROP CONSTRAINT [PRPRAT_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ANOMALY_TYPE] DROP CONSTRAINT [PRPRAT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ANOMALY_TYPE] DROP CONSTRAINT [PRPRAT_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ANOMALY_TYPE] DROP CONSTRAINT [PRPRAT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ANOMALY_TYPE] DROP CONSTRAINT [PRPRAT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ANOMALY_TYPE] DROP CONSTRAINT [PRPRAT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ANOMALY_TYPE] DROP CONSTRAINT [PRPRAT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ANOMALY_TYPE] DROP CONSTRAINT [PRPRAT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ANOMALY_TYPE] DROP CONSTRAINT [PRPRAT_PK] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ANOMALY_TYPE] DROP CONSTRAINT [PRPRAT_PROP_ANOMALY_TYPE_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROP_PROP_ANOMALY_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_PROP_PROP_ANOMALY_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROP_PROP_ROAD_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ROAD_TYPE] DROP CONSTRAINT [PRPRRT_PROP_PROP_ROAD_TYPE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ROAD_TYPE] DROP CONSTRAINT [PRPRRT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ROAD_TYPE] DROP CONSTRAINT [PRPRRT_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ROAD_TYPE] DROP CONSTRAINT [PRPRRT_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ROAD_TYPE] DROP CONSTRAINT [PRPRRT_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ROAD_TYPE] DROP CONSTRAINT [PRPRRT_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ROAD_TYPE] DROP CONSTRAINT [PRPRRT_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ROAD_TYPE] DROP CONSTRAINT [PRPRRT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ROAD_TYPE] DROP CONSTRAINT [PRPRRT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ROAD_TYPE] DROP CONSTRAINT [PRPRRT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ROAD_TYPE] DROP CONSTRAINT [PRPRRT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ROAD_TYPE] DROP CONSTRAINT [PRPRRT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ROAD_TYPE] DROP CONSTRAINT [PRPRRT_PK] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_PROP_ROAD_TYPE] DROP CONSTRAINT [PRPRRT_PROP_ROAD_TYPE_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROP_PROP_ROAD_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_PROP_PROP_ROAD_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ACT_INST_PROP_ACQ_FILE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE] DROP CONSTRAINT [AIPAFL_ACT_INST_PROP_ACQ_FILE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE] DROP CONSTRAINT [AIPAFL_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE] DROP CONSTRAINT [AIPAFL_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE] DROP CONSTRAINT [AIPAFL_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE] DROP CONSTRAINT [AIPAFL_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE] DROP CONSTRAINT [AIPAFL_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE] DROP CONSTRAINT [AIPAFL_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE] DROP CONSTRAINT [AIPAFL_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE] DROP CONSTRAINT [AIPAFL_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE] DROP CONSTRAINT [AIPAFL_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE] DROP CONSTRAINT [AIPAFL_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE] DROP CONSTRAINT [AIPAFL_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE] DROP CONSTRAINT [AIPAFL_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE] DROP CONSTRAINT [AIPAFL_PK] +GO + + +ALTER TABLE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE] DROP CONSTRAINT [AIPAFL_ACT_INST_PROP_ACQ_FL_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACT_INST_PROP_ACQ_FILE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACT_INST_PROP_ACQ_FILE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROPERTY_ACQUISITION_FILE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE] DROP CONSTRAINT [PRACQF_PROPERTY_ACQUISITION_FILE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE] DROP CONSTRAINT [PRACQF_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE] DROP CONSTRAINT [PRACQF_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE] DROP CONSTRAINT [PRACQF_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE] DROP CONSTRAINT [PRACQF_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE] DROP CONSTRAINT [PRACQF_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE] DROP CONSTRAINT [PRACQF_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE] DROP CONSTRAINT [PRACQF_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE] DROP CONSTRAINT [PRACQF_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE] DROP CONSTRAINT [PRACQF_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE] DROP CONSTRAINT [PRACQF_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE] DROP CONSTRAINT [PRACQF_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE] DROP CONSTRAINT [PRACQF_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE] DROP CONSTRAINT [PRACQF_PK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE] DROP CONSTRAINT [PRACQF_PROP_ACQ_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_ACQUISITION_FILE', 'COLUMN', N'PROPERTY_NAME' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_ACQUISITION_FILE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_ACQUISITION_FILE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_ACQUISITION_FILE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROPERTY_TAX" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROPERTY_TAX] DROP CONSTRAINT [PRPTAX_PROPERTY_TAX_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TAX] DROP CONSTRAINT [PRPTAX_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TAX] DROP CONSTRAINT [PRPTAX_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TAX] DROP CONSTRAINT [PRPTAX_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TAX] DROP CONSTRAINT [PRPTAX_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TAX] DROP CONSTRAINT [PRPTAX_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TAX] DROP CONSTRAINT [PRPTAX_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TAX] DROP CONSTRAINT [PRPTAX_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TAX] DROP CONSTRAINT [PRPTAX_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TAX] DROP CONSTRAINT [PRPTAX_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TAX] DROP CONSTRAINT [PRPTAX_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TAX] DROP CONSTRAINT [PRPTAX_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TAX] DROP CONSTRAINT [PRPTAX_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_TAX', 'COLUMN', N'TAX_FOLIO_NO' +GO + + +DROP TABLE [dbo].[PIMS_PROPERTY_TAX] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROPERTY_LEASE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROPERTY_LEASE] DROP CONSTRAINT [PROPLS_PROPERTY_LEASE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_LEASE] DROP CONSTRAINT [PROPLS_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_LEASE] DROP CONSTRAINT [PROPLS_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_LEASE] DROP CONSTRAINT [PROPLS_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_LEASE] DROP CONSTRAINT [PROPLS_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_LEASE] DROP CONSTRAINT [PROPLS_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_LEASE] DROP CONSTRAINT [PROPLS_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_LEASE] DROP CONSTRAINT [PROPLS_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_LEASE] DROP CONSTRAINT [PROPLS_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_LEASE] DROP CONSTRAINT [PROPLS_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_LEASE] DROP CONSTRAINT [PROPLS_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_LEASE] DROP CONSTRAINT [PROPLS_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_LEASE] DROP CONSTRAINT [PROPLS_PK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_LEASE] DROP CONSTRAINT [PROPLS_PROPERTY_LEASE_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_LEASE', 'COLUMN', N'NAME' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_LEASE', 'COLUMN', N'LEASE_AREA' +GO + + +DROP TABLE [dbo].[PIMS_PROPERTY_LEASE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROPERTY_EVALUATION" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROPERTY_EVALUATION] DROP CONSTRAINT [PRPEVL_PROPERTY_EVALUATION_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_EVALUATION] DROP CONSTRAINT [PRPEVL_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_EVALUATION] DROP CONSTRAINT [PRPEVL_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_EVALUATION] DROP CONSTRAINT [PRPEVL_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_EVALUATION] DROP CONSTRAINT [PRPEVL_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_EVALUATION] DROP CONSTRAINT [PRPEVL_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_EVALUATION] DROP CONSTRAINT [PRPEVL_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_EVALUATION] DROP CONSTRAINT [PRPEVL_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_EVALUATION] DROP CONSTRAINT [PRPEVL_PK] +GO + + +DROP TABLE [dbo].[PIMS_PROPERTY_EVALUATION] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROPERTY_ORGANIZATION" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROPERTY_ORGANIZATION] DROP CONSTRAINT [PRPORG_PROPERTY_ORGANIZATION_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ORGANIZATION] DROP CONSTRAINT [PRPORG_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ORGANIZATION] DROP CONSTRAINT [PRPORG_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ORGANIZATION] DROP CONSTRAINT [PRPORG_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ORGANIZATION] DROP CONSTRAINT [PRPORG_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ORGANIZATION] DROP CONSTRAINT [PRPORG_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ORGANIZATION] DROP CONSTRAINT [PRPORG_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ORGANIZATION] DROP CONSTRAINT [PRPORG_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ORGANIZATION] DROP CONSTRAINT [PRPORG_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ORGANIZATION] DROP CONSTRAINT [PRPORG_PK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ORGANIZATION] DROP CONSTRAINT [PRPORG_PROPERTY_ORGANIZATION_TUC] +GO + + +DROP TABLE [dbo].[PIMS_PROPERTY_ORGANIZATION] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROPERTY_PROPERTY_SERVICE_FILE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE] DROP CONSTRAINT [PRPRSF_PROPERTY_PROPERTY_SERVICE_FILE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE] DROP CONSTRAINT [PRPRSF_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE] DROP CONSTRAINT [PRPRSF_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE] DROP CONSTRAINT [PRPRSF_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE] DROP CONSTRAINT [PRPRSF_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE] DROP CONSTRAINT [PRPRSF_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE] DROP CONSTRAINT [PRPRSF_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE] DROP CONSTRAINT [PRPRSF_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE] DROP CONSTRAINT [PRPRSF_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE] DROP CONSTRAINT [PRPRSF_PK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE] DROP CONSTRAINT [PRPRSF_PROPERTY_SERVICE_FILE_TUC] +GO + + +DROP TABLE [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROPERTY" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PRPRTY_PROPERTY_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PRPRTY_IS_VOLUMETRIC_PARCEL_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PRPRTY_IS_OWNED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PRPRTY_IS_PROPERTY_OF_INTEREST_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PRPRTY_IS_VISIBLE_TO_OTHER_AGENCIES_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PRPRTY_IS_SENSITIVE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PRPRTY_IS_RWY_BELT_DOM_PATENT_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PRPRTY_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PRPRTY_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PRPRTY_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PRPRTY_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PRPRTY_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PRPRTY_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PRPRTY_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY] DROP CONSTRAINT [PRPRTY_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'PROPERTY_DATA_SOURCE_EFFECTIVE_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'NAME' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'PID' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'PIN' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'FILE_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'FILE_NUMBER_SUFFIX' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'LAND_AREA' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'LAND_LEGAL_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'BOUNDARY' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'LOCATION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'SURVEY_PLAN_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'ENCUMBRANCE_REASON' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'SURPLUS_DECLARATION_COMMENT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'SURPLUS_DECLARATION_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'NOTES' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'MUNICIPAL_ZONING' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'IS_VOLUMETRIC_PARCEL' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'VOLUMETRIC_MEASUREMENT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'IS_OWNED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'IS_PROPERTY_OF_INTEREST' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'IS_VISIBLE_TO_OTHER_AGENCIES' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'IS_SENSITIVE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'IS_PROVINCIAL_PUBLIC_HWY' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'PPH_STATUS_UPDATE_USERID' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'PPH_STATUS_UPDATE_TIMESTAMP' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'PPH_STATUS_UPDATE_USER_GUID' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'IS_RWY_BELT_DOM_PATENT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'ZONING' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', 'COLUMN', N'ZONING_POTENTIAL' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_PROPERTY] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_LEASE_ACTIVITY_INSTANCE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE] DROP CONSTRAINT [LSACIN_LEASE_ACTIVITY_INSTANCE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE] DROP CONSTRAINT [LSACIN_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE] DROP CONSTRAINT [LSACIN_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE] DROP CONSTRAINT [LSACIN_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE] DROP CONSTRAINT [LSACIN_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE] DROP CONSTRAINT [LSACIN_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE] DROP CONSTRAINT [LSACIN_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE] DROP CONSTRAINT [LSACIN_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE] DROP CONSTRAINT [LSACIN_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE] DROP CONSTRAINT [LSACIN_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE] DROP CONSTRAINT [LSACIN_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE] DROP CONSTRAINT [LSACIN_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE] DROP CONSTRAINT [LSACIN_PK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE] DROP CONSTRAINT [LSACIN_LEASE_ACTIVITY_INSTANCE_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_ACTIVITY_INSTANCE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_RESEARCH_ACTIVITY_INSTANCE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE] DROP CONSTRAINT [RSCHAI_RESEARCH_ACTIVITY_INSTANCE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE] DROP CONSTRAINT [RSCHAI_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE] DROP CONSTRAINT [RSCHAI_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE] DROP CONSTRAINT [RSCHAI_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE] DROP CONSTRAINT [RSCHAI_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE] DROP CONSTRAINT [RSCHAI_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE] DROP CONSTRAINT [RSCHAI_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE] DROP CONSTRAINT [RSCHAI_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE] DROP CONSTRAINT [RSCHAI_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE] DROP CONSTRAINT [RSCHAI_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE] DROP CONSTRAINT [RSCHAI_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE] DROP CONSTRAINT [RSCHAI_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE] DROP CONSTRAINT [RSCHAI_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE] DROP CONSTRAINT [RSCHAI_PK] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE] DROP CONSTRAINT [RSCHAI_RSRCH_FILE_ACTIVITY_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_ACTIVITY_INSTANCE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_ACTIVITY_INSTANCE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ACQUISITION_ACTIVITY_INSTANCE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACQAIN_ACQUISITION_ACTIVITY_INSTANCE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACQAIN_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACQAIN_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACQAIN_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACQAIN_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACQAIN_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACQAIN_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACQAIN_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACQAIN_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACQAIN_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACQAIN_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACQAIN_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACQAIN_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACQAIN_PK] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACQAIN_ACQ_ACTIVITY_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_ACTIVITY_INSTANCE', 'COLUMN', N'IS_DISABLED' +GO + + +DROP TABLE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ACQUISITION_OWNER" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ACQUISITION_OWNER] DROP CONSTRAINT [ACQOWN_ACQUISITION_OWNER_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_OWNER] DROP CONSTRAINT [ACQOWN_LAST_NAME_OR_CORP_NAME_1_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_OWNER] DROP CONSTRAINT [ACQOWN_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_OWNER] DROP CONSTRAINT [ACQOWN_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_OWNER] DROP CONSTRAINT [ACQOWN_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_OWNER] DROP CONSTRAINT [ACQOWN_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_OWNER] DROP CONSTRAINT [ACQOWN_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_OWNER] DROP CONSTRAINT [ACQOWN_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_OWNER] DROP CONSTRAINT [ACQOWN_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_OWNER] DROP CONSTRAINT [ACQOWN_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_OWNER] DROP CONSTRAINT [ACQOWN_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_OWNER] DROP CONSTRAINT [ACQOWN_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_OWNER] DROP CONSTRAINT [ACQOWN_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_OWNER] DROP CONSTRAINT [ACQOWN_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_OWNER', 'COLUMN', N'LAST_NAME_OR_CORP_NAME_1' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_OWNER', 'COLUMN', N'LAST_NAME_OR_CORP_NAME_2' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_OWNER', 'COLUMN', N'GIVEN_NAME' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_OWNER', 'COLUMN', N'INCORPORATION_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_OWNER', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_ACQUISITION_OWNER] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ACTIVITY_INSTANCE_DOCUMENT" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT] DROP CONSTRAINT [ACTDOC_ACTIVITY_INSTANCE_DOCUMENT_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT] DROP CONSTRAINT [ACTDOC_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT] DROP CONSTRAINT [ACTDOC_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT] DROP CONSTRAINT [ACTDOC_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT] DROP CONSTRAINT [ACTDOC_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT] DROP CONSTRAINT [ACTDOC_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT] DROP CONSTRAINT [ACTDOC_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT] DROP CONSTRAINT [ACTDOC_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT] DROP CONSTRAINT [ACTDOC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT] DROP CONSTRAINT [ACTDOC_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT] DROP CONSTRAINT [ACTDOC_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT] DROP CONSTRAINT [ACTDOC_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT] DROP CONSTRAINT [ACTDOC_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT] DROP CONSTRAINT [ACTDOC_PK] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT] DROP CONSTRAINT [ACTDOC_ACTIVITY_DOCUMENT_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACTIVITY_INSTANCE_DOCUMENT', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACTIVITY_INSTANCE_DOCUMENT', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ACTIVITY_INSTANCE_NOTE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE] DROP CONSTRAINT [ACTINN_PIMS_ACTIVITY_INSTANCE_NOTE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE] DROP CONSTRAINT [ACTINN_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE] DROP CONSTRAINT [ACTINN_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE] DROP CONSTRAINT [ACTINN_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE] DROP CONSTRAINT [ACTINN_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE] DROP CONSTRAINT [ACTINN_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE] DROP CONSTRAINT [ACTINN_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE] DROP CONSTRAINT [ACTINN_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE] DROP CONSTRAINT [ACTINN_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE] DROP CONSTRAINT [ACTINN_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE] DROP CONSTRAINT [ACTINN_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE] DROP CONSTRAINT [ACTINN_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE] DROP CONSTRAINT [ACTINN_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE] DROP CONSTRAINT [ACTINN_PK] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE] DROP CONSTRAINT [ACTINN_ACTIVITY_NOTE_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACTIVITY_INSTANCE_NOTE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACTIVITY_INSTANCE_NOTE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ACTIVITY_INSTANCE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACTINS_ACTIVITY_INSTANCE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACTINS_ACTIVITY_TEMPLATE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACTINS_ACTIVITY_INSTANCE_STATUS_TYPE_CODE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACTINS_ACTIVITY_DATA_JSON_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACTINS_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACTINS_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACTINS_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACTINS_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACTINS_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACTINS_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACTINS_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACTINS_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACTINS_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACTINS_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACTINS_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE] DROP CONSTRAINT [ACTINS_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACTIVITY_INSTANCE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACTIVITY_INSTANCE', 'COLUMN', N'ACTIVITY_DATA_JSON' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACTIVITY_INSTANCE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_ACTIVITY_INSTANCE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_RESEARCH_FILE_PURPOSE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PURPOSE] DROP CONSTRAINT [RSFLPR_RESEARCH_FILE_PURPOSE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PURPOSE] DROP CONSTRAINT [RSFLPR_RESEARCH_PURPOSE_TYPE_CODE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PURPOSE] DROP CONSTRAINT [RSFLPR_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PURPOSE] DROP CONSTRAINT [RSFLPR_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PURPOSE] DROP CONSTRAINT [RSFLPR_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PURPOSE] DROP CONSTRAINT [RSFLPR_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PURPOSE] DROP CONSTRAINT [RSFLPR_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PURPOSE] DROP CONSTRAINT [RSFLPR_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PURPOSE] DROP CONSTRAINT [RSFLPR_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PURPOSE] DROP CONSTRAINT [RSFLPR_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PURPOSE] DROP CONSTRAINT [RSFLPR_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PURPOSE] DROP CONSTRAINT [RSFLPR_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PURPOSE] DROP CONSTRAINT [RSFLPR_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PURPOSE] DROP CONSTRAINT [RSFLPR_PK] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_PURPOSE] DROP CONSTRAINT [RSFLPR_RSRCH_FL_RSRCH_FL_PURP_TUC] +GO + + +DROP TABLE [dbo].[PIMS_RESEARCH_FILE_PURPOSE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ORGANIZATION_ADDRESS" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_ADDRESS] DROP CONSTRAINT [ORGADD_ORGANIZATION_ADDRESS_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_ADDRESS] DROP CONSTRAINT [ORGADD_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_ADDRESS] DROP CONSTRAINT [ORGADD_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_ADDRESS] DROP CONSTRAINT [ORGADD_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_ADDRESS] DROP CONSTRAINT [ORGADD_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_ADDRESS] DROP CONSTRAINT [ORGADD_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_ADDRESS] DROP CONSTRAINT [ORGADD_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_ADDRESS] DROP CONSTRAINT [ORGADD_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_ADDRESS] DROP CONSTRAINT [ORGADD_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_ADDRESS] DROP CONSTRAINT [ORGADD_PK] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_ADDRESS] DROP CONSTRAINT [ORGADD_UNQ_ADDR_TYPE_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ORGANIZATION_ADDRESS', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_ORGANIZATION_ADDRESS] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PERSON_ADDRESS" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PERSON_ADDRESS] DROP CONSTRAINT [PERADD_PERSON_ADDRESS_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON_ADDRESS] DROP CONSTRAINT [PERADD_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON_ADDRESS] DROP CONSTRAINT [PERADD_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON_ADDRESS] DROP CONSTRAINT [PERADD_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON_ADDRESS] DROP CONSTRAINT [PERADD_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON_ADDRESS] DROP CONSTRAINT [PERADD_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON_ADDRESS] DROP CONSTRAINT [PERADD_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON_ADDRESS] DROP CONSTRAINT [PERADD_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON_ADDRESS] DROP CONSTRAINT [PERADD_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON_ADDRESS] DROP CONSTRAINT [PERADD_PK] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON_ADDRESS] DROP CONSTRAINT [PERADD_UNQ_ADDR_TYPE_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PERSON_ADDRESS', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_PERSON_ADDRESS] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ADDRESS" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ADDRESS] DROP CONSTRAINT [ADDRSS_ADDRESS_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ADDRESS] DROP CONSTRAINT [ADDRSS_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ADDRESS] DROP CONSTRAINT [ADDRSS_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ADDRESS] DROP CONSTRAINT [ADDRSS_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ADDRESS] DROP CONSTRAINT [ADDRSS_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ADDRESS] DROP CONSTRAINT [ADDRSS_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ADDRESS] DROP CONSTRAINT [ADDRSS_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ADDRESS] DROP CONSTRAINT [ADDRSS_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ADDRESS] DROP CONSTRAINT [ADDRSS_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ADDRESS', 'COLUMN', N'OTHER_COUNTRY' +GO + + +DROP TABLE [dbo].[PIMS_ADDRESS] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_RESEARCH_FILE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_RESEARCH_FILE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_RESEARCH_FILE_STATUS_TYPE_CODE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_RFILE_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE] DROP CONSTRAINT [RESRCH_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'REQUESTOR_NAME' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'REQUESTOR_ORGANIZATION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'NAME' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'RFILE_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'REQUEST_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'ROAD_NAME' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'ROAD_ALIAS' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'REQUEST_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'RESEARCH_RESULT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'IS_EXPROPRIATION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'EXPROPRIATION_NOTES' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', 'COLUMN', N'RESEARCH_COMPLETION_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_RESEARCH_FILE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_SECURITY_DEPOSIT_RETURN_HOLDER" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_SECURITY_DEPOSIT_RETURN_HOLDER_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_PK] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_ONE_HOLDER_ONLY_TCC] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] DROP CONSTRAINT [SCDPRH_SECURITY_DEPOSIT_RETURN_ID_TUC] +GO + + +DROP TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_SECURITY_DEPOSIT_HOLDER" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_SECURITY_DEPOSIT_HOLDER_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_PK] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_ONE_HOLDER_ONLY_TCC] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] DROP CONSTRAINT [SCDPHL_SECURITY_DEPOSIT_ID_TUC] +GO + + +DROP TABLE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ACQUISITION_FILE_NOTE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE] DROP CONSTRAINT [ACQNOT_ACQUISITION_FILE_NOTE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE] DROP CONSTRAINT [ACQNOT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE] DROP CONSTRAINT [ACQNOT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE] DROP CONSTRAINT [ACQNOT_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE] DROP CONSTRAINT [ACQNOT_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE] DROP CONSTRAINT [ACQNOT_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE] DROP CONSTRAINT [ACQNOT_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE] DROP CONSTRAINT [ACQNOT_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE] DROP CONSTRAINT [ACQNOT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE] DROP CONSTRAINT [ACQNOT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE] DROP CONSTRAINT [ACQNOT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE] DROP CONSTRAINT [ACQNOT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE] DROP CONSTRAINT [ACQNOT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE] DROP CONSTRAINT [ACQNOT_PK] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE] DROP CONSTRAINT [ACQNOT_ACQUISITION_FILE_NOTE_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FILE_NOTE', 'COLUMN', N'IS_DISABLED' +GO + + +DROP TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ACTIVITY_TEMPLATE_DOCUMENT" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT] DROP CONSTRAINT [ACTMDO_ACTIVITY_TEMPLATE_DOCUMENT_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT] DROP CONSTRAINT [ACTMDO_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT] DROP CONSTRAINT [ACTMDO_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT] DROP CONSTRAINT [ACTMDO_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT] DROP CONSTRAINT [ACTMDO_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT] DROP CONSTRAINT [ACTMDO_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT] DROP CONSTRAINT [ACTMDO_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT] DROP CONSTRAINT [ACTMDO_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT] DROP CONSTRAINT [ACTMDO_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT] DROP CONSTRAINT [ACTMDO_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT] DROP CONSTRAINT [ACTMDO_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT] DROP CONSTRAINT [ACTMDO_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT] DROP CONSTRAINT [ACTMDO_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT] DROP CONSTRAINT [ACTMDO_PK] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT] DROP CONSTRAINT [ACTMDO_ACT_TMP_DOC_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACTIVITY_TEMPLATE_DOCUMENT', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACTIVITY_TEMPLATE_DOCUMENT', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ACTIVITY_TEMPLATE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE] DROP CONSTRAINT [ACTTMP_ACTIVITY_TEMPLATE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE] DROP CONSTRAINT [ACTTMP_ACTIVITY_TEMPLATE_TYPE_CODE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE] DROP CONSTRAINT [ACTTMP_ACTIVITY_TEMPLATE_JSON_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE] DROP CONSTRAINT [ACTTMP_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE] DROP CONSTRAINT [ACTTMP_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE] DROP CONSTRAINT [ACTTMP_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE] DROP CONSTRAINT [ACTTMP_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE] DROP CONSTRAINT [ACTTMP_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE] DROP CONSTRAINT [ACTTMP_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE] DROP CONSTRAINT [ACTTMP_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE] DROP CONSTRAINT [ACTTMP_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE] DROP CONSTRAINT [ACTTMP_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE] DROP CONSTRAINT [ACTTMP_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE] DROP CONSTRAINT [ACTTMP_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE] DROP CONSTRAINT [ACTTMP_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE] DROP CONSTRAINT [ACTTMP_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACTIVITY_TEMPLATE', 'COLUMN', N'ACTIVITY_TEMPLATE_JSON' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACTIVITY_TEMPLATE', 'COLUMN', N'IS_DISABLED' +GO + + +DROP TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ACQUISITION_FILE_PERSON" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_PERSON] DROP CONSTRAINT [ACQPER_ACQUISITION_FILE_PERSON_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_PERSON] DROP CONSTRAINT [ACQPER_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_PERSON] DROP CONSTRAINT [ACQPER_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_PERSON] DROP CONSTRAINT [ACQPER_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_PERSON] DROP CONSTRAINT [ACQPER_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_PERSON] DROP CONSTRAINT [ACQPER_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_PERSON] DROP CONSTRAINT [ACQPER_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_PERSON] DROP CONSTRAINT [ACQPER_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_PERSON] DROP CONSTRAINT [ACQPER_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_PERSON] DROP CONSTRAINT [ACQPER_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_PERSON] DROP CONSTRAINT [ACQPER_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_PERSON] DROP CONSTRAINT [ACQPER_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_PERSON] DROP CONSTRAINT [ACQPER_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_PERSON] DROP CONSTRAINT [ACQPER_PK] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_PERSON] DROP CONSTRAINT [ACQPER_PERSON_PROFILE_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FILE_PERSON', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FILE_PERSON', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_ACQUISITION_FILE_PERSON] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ACQUISITION_FILE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] DROP CONSTRAINT [ACQNFL_ACQUISITION_FILE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] DROP CONSTRAINT [ACQNFL_REGION_CODE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] DROP CONSTRAINT [ACQNFL_FILE_NO_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] DROP CONSTRAINT [ACQNFL_FILE_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] DROP CONSTRAINT [ACQNFL_ASSIGNED_DATE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] DROP CONSTRAINT [ACQNFL_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] DROP CONSTRAINT [ACQNFL_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] DROP CONSTRAINT [ACQNFL_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] DROP CONSTRAINT [ACQNFL_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] DROP CONSTRAINT [ACQNFL_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] DROP CONSTRAINT [ACQNFL_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] DROP CONSTRAINT [ACQNFL_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] DROP CONSTRAINT [ACQNFL_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] DROP CONSTRAINT [ACQNFL_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] DROP CONSTRAINT [ACQNFL_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] DROP CONSTRAINT [ACQNFL_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE] DROP CONSTRAINT [ACQNFL_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FILE', 'COLUMN', N'REGION_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FILE', 'COLUMN', N'MINISTRY_PROJECT_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FILE', 'COLUMN', N'MINISTRY_PROJECT_NAME' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FILE', 'COLUMN', N'CPS_PRODUCT_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FILE', 'COLUMN', N'FILE_NAME' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FILE', 'COLUMN', N'FILE_NO' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FILE', 'COLUMN', N'FILE_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FILE', 'COLUMN', N'LEGACY_FILE_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FILE', 'COLUMN', N'FUNDING_OTHER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FILE', 'COLUMN', N'ASSIGNED_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FILE', 'COLUMN', N'DELIVERY_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FILE', 'COLUMN', N'PAIMS_ACQUISITION_FILE_ID' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FILE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_ACQUISITION_FILE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_DOCUMENT" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_DOCUMENT] DROP CONSTRAINT [DOCMNT_DOCUMENT_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT] DROP CONSTRAINT [DOCMNT_FILE_NAME_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT] DROP CONSTRAINT [DOCMNT_MAYAN_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT] DROP CONSTRAINT [DOCMNT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT] DROP CONSTRAINT [DOCMNT_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT] DROP CONSTRAINT [DOCMNT_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT] DROP CONSTRAINT [DOCMNT_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT] DROP CONSTRAINT [DOCMNT_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT] DROP CONSTRAINT [DOCMNT_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT] DROP CONSTRAINT [DOCMNT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT] DROP CONSTRAINT [DOCMNT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT] DROP CONSTRAINT [DOCMNT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT] DROP CONSTRAINT [DOCMNT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT] DROP CONSTRAINT [DOCMNT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT] DROP CONSTRAINT [DOCMNT_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_DOCUMENT', 'COLUMN', N'FILE_NAME' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_DOCUMENT', 'COLUMN', N'MAYAN_ID' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_DOCUMENT', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_DOCUMENT] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_REGION_USER" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_REGION_USER] DROP CONSTRAINT [RGNUSR_REGION_USER_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_REGION_USER] DROP CONSTRAINT [RGNUSR_REGION_CODE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_REGION_USER] DROP CONSTRAINT [RGNUSR_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_REGION_USER] DROP CONSTRAINT [RGNUSR_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_REGION_USER] DROP CONSTRAINT [RGNUSR_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_REGION_USER] DROP CONSTRAINT [RGNUSR_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_REGION_USER] DROP CONSTRAINT [RGNUSR_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_REGION_USER] DROP CONSTRAINT [RGNUSR_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_REGION_USER] DROP CONSTRAINT [RGNUSR_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_REGION_USER] DROP CONSTRAINT [RGNUSR_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_REGION_USER] DROP CONSTRAINT [RGNUSR_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_REGION_USER] DROP CONSTRAINT [RGNUSR_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_REGION_USER] DROP CONSTRAINT [RGNUSR_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_REGION_USER] DROP CONSTRAINT [RGNUSR_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_REGION_USER] DROP CONSTRAINT [RGNUSR_PK] +GO + + +ALTER TABLE [dbo].[PIMS_REGION_USER] DROP CONSTRAINT [RGNUSR_REGION_USER_TUC] +GO + + +DROP TABLE [dbo].[PIMS_REGION_USER] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_LEASE_PAYMENT" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT] DROP CONSTRAINT [LSPYMT_LEASE_PAYMENT_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT] DROP CONSTRAINT [LSPYMT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT] DROP CONSTRAINT [LSPYMT_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT] DROP CONSTRAINT [LSPYMT_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT] DROP CONSTRAINT [LSPYMT_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT] DROP CONSTRAINT [LSPYMT_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT] DROP CONSTRAINT [LSPYMT_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT] DROP CONSTRAINT [LSPYMT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT] DROP CONSTRAINT [LSPYMT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT] DROP CONSTRAINT [LSPYMT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT] DROP CONSTRAINT [LSPYMT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT] DROP CONSTRAINT [LSPYMT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT] DROP CONSTRAINT [LSPYMT_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_PAYMENT', 'COLUMN', N'PAYMENT_RECEIVED_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_PAYMENT', 'COLUMN', N'PAYMENT_AMOUNT_PRE_TAX' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_PAYMENT', 'COLUMN', N'PAYMENT_AMOUNT_PST' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_PAYMENT', 'COLUMN', N'PAYMENT_AMOUNT_GST' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_PAYMENT', 'COLUMN', N'PAYMENT_AMOUNT_TOTAL' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_PAYMENT', 'COLUMN', N'NOTE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_PAYMENT', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_LEASE_PAYMENT] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_LEASE_TERM" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_LEASE_TERM] DROP CONSTRAINT [LSTERM_LEASE_TERM_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TERM] DROP CONSTRAINT [LSTERM_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TERM] DROP CONSTRAINT [LSTERM_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TERM] DROP CONSTRAINT [LSTERM_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TERM] DROP CONSTRAINT [LSTERM_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TERM] DROP CONSTRAINT [LSTERM_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TERM] DROP CONSTRAINT [LSTERM_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TERM] DROP CONSTRAINT [LSTERM_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TERM] DROP CONSTRAINT [LSTERM_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TERM] DROP CONSTRAINT [LSTERM_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TERM] DROP CONSTRAINT [LSTERM_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TERM] DROP CONSTRAINT [LSTERM_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TERM] DROP CONSTRAINT [LSTERM_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_TERM', 'COLUMN', N'LEASE_PMT_FREQ_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_TERM', 'COLUMN', N'TERM_START_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_TERM', 'COLUMN', N'TERM_EXPIRY_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_TERM', 'COLUMN', N'TERM_RENEWAL_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_TERM', 'COLUMN', N'PAYMENT AMOUNT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_TERM', 'COLUMN', N'PAYMENT_DUE_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_TERM', 'COLUMN', N'PAYMENT_NOTE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_TERM', 'COLUMN', N'IS_GST_ELIGIBLE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_TERM', 'COLUMN', N'GST_AMOUNT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_TERM', 'COLUMN', N'IS_TERM_EXERCISED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_TERM', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_LEASE_TERM] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_SECURITY_DEPOSIT_RETURN" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN] DROP CONSTRAINT [SDRTRN_SECURITY_DEPOSIT_RETURN_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN] DROP CONSTRAINT [SDRTRN_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN] DROP CONSTRAINT [SDRTRN_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN] DROP CONSTRAINT [SDRTRN_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN] DROP CONSTRAINT [SDRTRN_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN] DROP CONSTRAINT [SDRTRN_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN] DROP CONSTRAINT [SDRTRN_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN] DROP CONSTRAINT [SDRTRN_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN] DROP CONSTRAINT [SDRTRN_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN] DROP CONSTRAINT [SDRTRN_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN] DROP CONSTRAINT [SDRTRN_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN] DROP CONSTRAINT [SDRTRN_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN] DROP CONSTRAINT [SDRTRN_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_SECURITY_DEPOSIT_RETURN', 'COLUMN', N'TERMINATION_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_SECURITY_DEPOSIT_RETURN', 'COLUMN', N'CLAIMS_AGAINST' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_SECURITY_DEPOSIT_RETURN', 'COLUMN', N'RETURN_AMOUNT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_SECURITY_DEPOSIT_RETURN', 'COLUMN', N'RETURN_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_SECURITY_DEPOSIT_RETURN', 'COLUMN', N'INTEREST_PAID' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_SECURITY_DEPOSIT_RETURN', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROPERTY_IMPROVEMENT" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT] DROP CONSTRAINT [PIMPRV_PROPERTY_IMPROVEMENT_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT] DROP CONSTRAINT [PIMPRV_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT] DROP CONSTRAINT [PIMPRV_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT] DROP CONSTRAINT [PIMPRV_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT] DROP CONSTRAINT [PIMPRV_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT] DROP CONSTRAINT [PIMPRV_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT] DROP CONSTRAINT [PIMPRV_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT] DROP CONSTRAINT [PIMPRV_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT] DROP CONSTRAINT [PIMPRV_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT] DROP CONSTRAINT [PIMPRV_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT] DROP CONSTRAINT [PIMPRV_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT] DROP CONSTRAINT [PIMPRV_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT] DROP CONSTRAINT [PIMPRV_PK] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT] DROP CONSTRAINT [PIMPRV_LEASE_IMPROVEMENT_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_IMPROVEMENT', 'COLUMN', N'IMPROVEMENT_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_IMPROVEMENT', 'COLUMN', N'STRUCTURE_SIZE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_IMPROVEMENT', 'COLUMN', N'ADDRESS' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_IMPROVEMENT', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_SECURITY_DEPOSIT" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT] DROP CONSTRAINT [SECDEP_SECURITY_DEPOSIT_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT] DROP CONSTRAINT [SECDEP_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT] DROP CONSTRAINT [SECDEP_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT] DROP CONSTRAINT [SECDEP_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT] DROP CONSTRAINT [SECDEP_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT] DROP CONSTRAINT [SECDEP_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT] DROP CONSTRAINT [SECDEP_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT] DROP CONSTRAINT [SECDEP_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT] DROP CONSTRAINT [SECDEP_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT] DROP CONSTRAINT [SECDEP_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT] DROP CONSTRAINT [SECDEP_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT] DROP CONSTRAINT [SECDEP_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT] DROP CONSTRAINT [SECDEP_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_SECURITY_DEPOSIT', 'COLUMN', N'OTHER_DEPOSIT_TYPE_DESC' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_SECURITY_DEPOSIT', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_SECURITY_DEPOSIT', 'COLUMN', N'AMOUNT_PAID' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_SECURITY_DEPOSIT', 'COLUMN', N'DEPOSIT_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_SECURITY_DEPOSIT', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_SECURITY_DEPOSIT] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_INSURANCE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_INSURANCE] DROP CONSTRAINT [INSRNC_INSURANCE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_INSURANCE] DROP CONSTRAINT [INSRNC_COVERAGE_LIMIT_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_INSURANCE] DROP CONSTRAINT [INSRNC_IS_INSURANCE_IN_PLACE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_INSURANCE] DROP CONSTRAINT [INSRNC_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_INSURANCE] DROP CONSTRAINT [INSRNC_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_INSURANCE] DROP CONSTRAINT [INSRNC_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_INSURANCE] DROP CONSTRAINT [INSRNC_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_INSURANCE] DROP CONSTRAINT [INSRNC_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_INSURANCE] DROP CONSTRAINT [INSRNC_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_INSURANCE] DROP CONSTRAINT [INSRNC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_INSURANCE] DROP CONSTRAINT [INSRNC_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_INSURANCE] DROP CONSTRAINT [INSRNC_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_INSURANCE] DROP CONSTRAINT [INSRNC_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_INSURANCE] DROP CONSTRAINT [INSRNC_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_INSURANCE] DROP CONSTRAINT [INSRNC_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_INSURANCE', 'COLUMN', N'OTHER_INSURANCE_TYPE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_INSURANCE', 'COLUMN', N'COVERAGE_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_INSURANCE', 'COLUMN', N'COVERAGE_LIMIT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_INSURANCE', 'COLUMN', N'IS_INSURANCE_IN_PLACE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_INSURANCE', 'COLUMN', N'EXPIRY_DATE' +GO + + +DROP TABLE [dbo].[PIMS_INSURANCE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_LEASE_TENANT" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] DROP CONSTRAINT [TENANT_LEASE_TENANT_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] DROP CONSTRAINT [TENANT_LESSOR_TYPE_CODE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] DROP CONSTRAINT [TENANT_TENANT_TYPE_CODE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] DROP CONSTRAINT [TENANT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] DROP CONSTRAINT [TENANT_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] DROP CONSTRAINT [TENANT_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] DROP CONSTRAINT [TENANT_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] DROP CONSTRAINT [TENANT_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] DROP CONSTRAINT [TENANT_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] DROP CONSTRAINT [TENANT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] DROP CONSTRAINT [TENANT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] DROP CONSTRAINT [TENANT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] DROP CONSTRAINT [TENANT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] DROP CONSTRAINT [TENANT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] DROP CONSTRAINT [TENANT_PK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TENANT] DROP CONSTRAINT [TENANT_LEASE_PERSON_ORG_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_TENANT', 'COLUMN', N'NOTE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_TENANT', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_LEASE_TENANT] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_LEASE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_LEASE] DROP CONSTRAINT [LEASE_LEASE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE] DROP CONSTRAINT [LEASE_IS_SUBJECT_TO_RTA_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE] DROP CONSTRAINT [LEASE_IS_COMM_BLDG_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE] DROP CONSTRAINT [LEASE_IS_OTHER_IMPROVEMENT_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE] DROP CONSTRAINT [LEASE_EXPIRED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE] DROP CONSTRAINT [LEASE_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE] DROP CONSTRAINT [LEASE_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE] DROP CONSTRAINT [LEASE_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE] DROP CONSTRAINT [LEASE_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE] DROP CONSTRAINT [LEASE_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE] DROP CONSTRAINT [LEASE_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE] DROP CONSTRAINT [LEASE_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE] DROP CONSTRAINT [LEASE_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE] DROP CONSTRAINT [LEASE_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE] DROP CONSTRAINT [LEASE_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE] DROP CONSTRAINT [LEASE_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE] DROP CONSTRAINT [LEASE_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'REGION_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'L_FILE_NO' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'TFA_FILE_NO' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'TFA_FILE_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'PS_FILE_NO' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'LEASE_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'LEASE_CATEGORY_OTHER_DESC' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'LEASE_PURPOSE_OTHER_DESC' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'LEASE_NOTES' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'MOTI_CONTACT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'DOCUMENTATION_REFERENCE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'RETURN_NOTES' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'OTHER_LEASE_PROGRAM_TYPE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'OTHER_LEASE_LICENSE_TYPE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'OTHER_LEASE_PURPOSE_TYPE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'ORIG_START_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'ORIG_EXPIRY_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'LEASE_AMOUNT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'RESPONSIBILITY_EFFECTIVE_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'INSPECTION_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'INSPECTION_NOTES' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'IS_SUBJECT_TO_RTA' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'IS_COMM_BLDG' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'IS_OTHER_IMPROVEMENT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'IS_EXPIRED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'HAS_PHYSICAL_FILE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'HAS_DIGITAL_FILE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'HAS_PHYSICIAL_LICENSE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', 'COLUMN', N'HAS_DIGITAL_LICENSE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_LEASE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_CONTACT_METHOD" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_CONTACT_METHOD] DROP CONSTRAINT [CNTMTH_CONTACT_METHOD_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CONTACT_METHOD] DROP CONSTRAINT [CNTMTH_IS_PREFERRED_METHOD_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CONTACT_METHOD] DROP CONSTRAINT [CNTMTH_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CONTACT_METHOD] DROP CONSTRAINT [CNTMTH_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CONTACT_METHOD] DROP CONSTRAINT [CNTMTH_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CONTACT_METHOD] DROP CONSTRAINT [CNTMTH_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CONTACT_METHOD] DROP CONSTRAINT [CNTMTH_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CONTACT_METHOD] DROP CONSTRAINT [CNTMTH_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CONTACT_METHOD] DROP CONSTRAINT [CNTMTH_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CONTACT_METHOD] DROP CONSTRAINT [CNTMTH_PK] +GO + + +DROP TABLE [dbo].[PIMS_CONTACT_METHOD] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_USER_ROLE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_USER_ROLE] DROP CONSTRAINT [USERRL_USER_ROLE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER_ROLE] DROP CONSTRAINT [USERRL_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER_ROLE] DROP CONSTRAINT [USERRL_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER_ROLE] DROP CONSTRAINT [USERRL_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER_ROLE] DROP CONSTRAINT [USERRL_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER_ROLE] DROP CONSTRAINT [USERRL_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER_ROLE] DROP CONSTRAINT [USERRL_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER_ROLE] DROP CONSTRAINT [USERRL_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER_ROLE] DROP CONSTRAINT [USERRL_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER_ROLE] DROP CONSTRAINT [USERRL_PK] +GO + + +ALTER TABLE [dbo].[PIMS_USER_ROLE] DROP CONSTRAINT [USERRL_USER_ROLE_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_USER_ROLE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_USER_ROLE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_USER_ROLE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ACCESS_REQUEST_ORGANIZATION" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION] DROP CONSTRAINT [ACRQOR_ACCESS_REQUEST_ORGANIZATION_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION] DROP CONSTRAINT [ACRQOR_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION] DROP CONSTRAINT [ACRQOR_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION] DROP CONSTRAINT [ACRQOR_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION] DROP CONSTRAINT [ACRQOR_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION] DROP CONSTRAINT [ACRQOR_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION] DROP CONSTRAINT [ACRQOR_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION] DROP CONSTRAINT [ACRQOR_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION] DROP CONSTRAINT [ACRQOR_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION] DROP CONSTRAINT [ACRQOR_PK] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION] DROP CONSTRAINT [ACRQOR_ORGANIZATION_ACCESS_REQUEST_TUC] +GO + + +DROP TABLE [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ACCESS_REQUEST" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST] DROP CONSTRAINT [ACRQST_ACCESS_REQUEST_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST] DROP CONSTRAINT [ACRQST_REGION_CODE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST] DROP CONSTRAINT [ACRQST_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST] DROP CONSTRAINT [ACRQST_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST] DROP CONSTRAINT [ACRQST_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST] DROP CONSTRAINT [ACRQST_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST] DROP CONSTRAINT [ACRQST_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST] DROP CONSTRAINT [ACRQST_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST] DROP CONSTRAINT [ACRQST_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST] DROP CONSTRAINT [ACRQST_PK] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST] DROP CONSTRAINT [ACRQST_USER_ROLE_REGION_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACCESS_REQUEST', 'COLUMN', N'NOTE' +GO + + +DROP TABLE [dbo].[PIMS_ACCESS_REQUEST] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PERSON_ORGANIZATION" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PERSON_ORGANIZATION] DROP CONSTRAINT [PERORG_PERSON_ORGANIZATION_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON_ORGANIZATION] DROP CONSTRAINT [PERORG_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON_ORGANIZATION] DROP CONSTRAINT [PERORG_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON_ORGANIZATION] DROP CONSTRAINT [PERORG_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON_ORGANIZATION] DROP CONSTRAINT [PERORG_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON_ORGANIZATION] DROP CONSTRAINT [PERORG_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON_ORGANIZATION] DROP CONSTRAINT [PERORG_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON_ORGANIZATION] DROP CONSTRAINT [PERORG_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON_ORGANIZATION] DROP CONSTRAINT [PERORG_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON_ORGANIZATION] DROP CONSTRAINT [PERORG_PK] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON_ORGANIZATION] DROP CONSTRAINT [PERORG_PERSON_ORGANIZATION_TUC] +GO + + +DROP TABLE [dbo].[PIMS_PERSON_ORGANIZATION] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ROLE_CLAIM" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ROLE_CLAIM] DROP CONSTRAINT [ROLCLM_ROLE_CLAIM_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ROLE_CLAIM] DROP CONSTRAINT [ROLCLM_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ROLE_CLAIM] DROP CONSTRAINT [ROLCLM_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ROLE_CLAIM] DROP CONSTRAINT [ROLCLM_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ROLE_CLAIM] DROP CONSTRAINT [ROLCLM_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ROLE_CLAIM] DROP CONSTRAINT [ROLCLM_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ROLE_CLAIM] DROP CONSTRAINT [ROLCLM_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ROLE_CLAIM] DROP CONSTRAINT [ROLCLM_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ROLE_CLAIM] DROP CONSTRAINT [ROLCLM_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ROLE_CLAIM] DROP CONSTRAINT [ROLCLM_PK] +GO + + +ALTER TABLE [dbo].[PIMS_ROLE_CLAIM] DROP CONSTRAINT [ROLCLM_ROLE_CLAIM_TUC] +GO + + +DROP TABLE [dbo].[PIMS_ROLE_CLAIM] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_USER_ORGANIZATION" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_USER_ORGANIZATION] DROP CONSTRAINT [USRORG_USER_ORGANIZATION_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER_ORGANIZATION] DROP CONSTRAINT [USRORG_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER_ORGANIZATION] DROP CONSTRAINT [USRORG_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER_ORGANIZATION] DROP CONSTRAINT [USRORG_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER_ORGANIZATION] DROP CONSTRAINT [USRORG_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER_ORGANIZATION] DROP CONSTRAINT [USRORG_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER_ORGANIZATION] DROP CONSTRAINT [USRORG_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER_ORGANIZATION] DROP CONSTRAINT [USRORG_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER_ORGANIZATION] DROP CONSTRAINT [USRORG_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER_ORGANIZATION] DROP CONSTRAINT [USRORG_PK] +GO + + +ALTER TABLE [dbo].[PIMS_USER_ORGANIZATION] DROP CONSTRAINT [USRORG_USER_ROLE_ORGANIZATION_TUC] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_USER_ORGANIZATION', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_USER_ORGANIZATION', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_USER_ORGANIZATION] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ORGANIZATION" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ORGANIZATION] DROP CONSTRAINT [ORG_ORGANIZATION_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION] DROP CONSTRAINT [ORG_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION] DROP CONSTRAINT [ORG_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION] DROP CONSTRAINT [ORG_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION] DROP CONSTRAINT [ORG_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION] DROP CONSTRAINT [ORG_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION] DROP CONSTRAINT [ORG_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION] DROP CONSTRAINT [ORG_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION] DROP CONSTRAINT [ORG_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION] DROP CONSTRAINT [ORG_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ORGANIZATION', 'COLUMN', N'INCORPORATION_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ORGANIZATION', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_ORGANIZATION] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROVINCE_STATE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROVINCE_STATE] DROP CONSTRAINT [PROVNC_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROVINCE_STATE] DROP CONSTRAINT [PROVNC_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROVINCE_STATE] DROP CONSTRAINT [PROVNC_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROVINCE_STATE] DROP CONSTRAINT [PROVNC_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROVINCE_STATE] DROP CONSTRAINT [PROVNC_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROVINCE_STATE] DROP CONSTRAINT [PROVNC_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROVINCE_STATE] DROP CONSTRAINT [PROVNC_PK] +GO + + +DROP TABLE [dbo].[PIMS_PROVINCE_STATE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_DISTRICT" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_DISTRICT] DROP CONSTRAINT [DSTRCT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DISTRICT] DROP CONSTRAINT [DSTRCT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DISTRICT] DROP CONSTRAINT [DSTRCT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DISTRICT] DROP CONSTRAINT [DSTRCT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DISTRICT] DROP CONSTRAINT [DSTRCT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DISTRICT] DROP CONSTRAINT [DSTRCT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DISTRICT] DROP CONSTRAINT [DSTRCT_PK] +GO + + +DROP TABLE [dbo].[PIMS_DISTRICT] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_USER" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_USER] DROP CONSTRAINT [USER_USER_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER] DROP CONSTRAINT [USER_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER] DROP CONSTRAINT [USER_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER] DROP CONSTRAINT [USER_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER] DROP CONSTRAINT [USER_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER] DROP CONSTRAINT [USER_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER] DROP CONSTRAINT [USER_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER] DROP CONSTRAINT [USER_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER] DROP CONSTRAINT [USER_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_USER] DROP CONSTRAINT [USER_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_USER', 'COLUMN', N'BUSINESS_IDENTIFIER_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_USER', 'COLUMN', N'GUID_IDENTIFIER_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_USER', 'COLUMN', N'POSITION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_USER', 'COLUMN', N'NOTE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_USER', 'COLUMN', N'LAST_LOGIN' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_USER', 'COLUMN', N'APPROVED_BY_ID' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_USER', 'COLUMN', N'ISSUE_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_USER', 'COLUMN', N'EXPIRY_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_USER', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_USER', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_USER] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROPERTY_SERVICE_FILE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROPERTY_SERVICE_FILE] DROP CONSTRAINT [PRPSVC_PROPERTY_SERVICE_FILE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_SERVICE_FILE] DROP CONSTRAINT [PRPSVC_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_SERVICE_FILE] DROP CONSTRAINT [PRPSVC_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_SERVICE_FILE] DROP CONSTRAINT [PRPSVC_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_SERVICE_FILE] DROP CONSTRAINT [PRPSVC_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_SERVICE_FILE] DROP CONSTRAINT [PRPSVC_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_SERVICE_FILE] DROP CONSTRAINT [PRPSVC_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_SERVICE_FILE] DROP CONSTRAINT [PRPSVC_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_SERVICE_FILE] DROP CONSTRAINT [PRPSVC_PK] +GO + + +DROP TABLE [dbo].[PIMS_PROPERTY_SERVICE_FILE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROJECT_HIST" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROJECT_HIST] DROP CONSTRAINT [DF__PIMS_PROJ___PROJ__25E688F4] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT_HIST] DROP CONSTRAINT [DF__PIMS_PROJ__EFFEC__26DAAD2D] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT_HIST] DROP CONSTRAINT [PIMS_PROJCT_H_PK] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT_HIST] DROP CONSTRAINT [PIMS_PROJCT_H_UK] +GO + + +DROP TABLE [dbo].[PIMS_PROJECT_HIST] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PRODUCT_HIST" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PRODUCT_HIST] DROP CONSTRAINT [DF__PIMS_PROD___PROD__2215F810] +GO + + +ALTER TABLE [dbo].[PIMS_PRODUCT_HIST] DROP CONSTRAINT [DF__PIMS_PROD__EFFEC__230A1C49] +GO + + +ALTER TABLE [dbo].[PIMS_PRODUCT_HIST] DROP CONSTRAINT [PIMS_PRODCT_H_PK] +GO + + +ALTER TABLE [dbo].[PIMS_PRODUCT_HIST] DROP CONSTRAINT [PIMS_PRODCT_H_UK] +GO + + +DROP TABLE [dbo].[PIMS_PRODUCT_HIST] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ACQUISITION_FILE_NOTE_HIST" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE_HIST] DROP CONSTRAINT [DF__PIMS_ACQU___ACQU__15FA39EE] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE_HIST] DROP CONSTRAINT [DF__PIMS_ACQU__EFFEC__16EE5E27] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE_HIST] DROP CONSTRAINT [PIMS_ACQNOT_H_PK] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE_HIST] DROP CONSTRAINT [PIMS_ACQNOT_H_UK] +GO + + +DROP TABLE [dbo].[PIMS_ACQUISITION_FILE_NOTE_HIST] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PRODUCT" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PRODUCT] DROP CONSTRAINT [PRODCT_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PRODUCT] DROP CONSTRAINT [PRODCT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PRODUCT] DROP CONSTRAINT [PRODCT_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PRODUCT] DROP CONSTRAINT [PRODCT_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PRODUCT] DROP CONSTRAINT [PRODCT_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PRODUCT] DROP CONSTRAINT [PRODCT_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PRODUCT] DROP CONSTRAINT [PRODCT_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PRODUCT] DROP CONSTRAINT [PRODCT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PRODUCT] DROP CONSTRAINT [PRODCT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PRODUCT] DROP CONSTRAINT [PRODCT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PRODUCT] DROP CONSTRAINT [PRODCT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PRODUCT] DROP CONSTRAINT [PRODCT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PRODUCT] DROP CONSTRAINT [PRODCT_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PRODUCT', 'COLUMN', N'ID' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PRODUCT', 'COLUMN', N'CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PRODUCT', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PRODUCT', 'COLUMN', N'START_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PRODUCT', 'COLUMN', N'COST_ESTIMATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PRODUCT', 'COLUMN', N'COST_ESTIMATE_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PRODUCT', 'COLUMN', N'OBJECTIVE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PRODUCT', 'COLUMN', N'SCOPE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PRODUCT', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_PRODUCT] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROJECT" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT [PROJCT_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT [PROJCT_PROJECT_STATUS_CODE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT [PROJCT_REGION_CODE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT [PROJCT_DESCRIPTION_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT [PROJCT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT [PROJCT_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT [PROJCT_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT [PROJCT_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT [PROJCT_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT [PROJCT_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT [PROJCT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT [PROJCT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT [PROJCT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT [PROJCT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT [PROJCT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT] DROP CONSTRAINT [PROJCT_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROJECT', 'COLUMN', N'ID' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROJECT', 'COLUMN', N'CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROJECT', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROJECT', 'COLUMN', N'NOTE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROJECT', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_PROJECT] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROJECT_STATUS_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROJECT_STATUS_TYPE] DROP CONSTRAINT [PRJSTS_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT_STATUS_TYPE] DROP CONSTRAINT [PRJSTS_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT_STATUS_TYPE] DROP CONSTRAINT [PRJSTS_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT_STATUS_TYPE] DROP CONSTRAINT [PRJSTS_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT_STATUS_TYPE] DROP CONSTRAINT [PRJSTS_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT_STATUS_TYPE] DROP CONSTRAINT [PRJSTS_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROJECT_STATUS_TYPE] DROP CONSTRAINT [PRJSTY_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROJECT_STATUS_TYPE', 'COLUMN', N'PROJECT_STATUS_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROJECT_STATUS_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROJECT_STATUS_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROJECT_STATUS_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROJECT_STATUS_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_PROJECT_STATUS_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_TENANT_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_TENANT_TYPE] DROP CONSTRAINT [TENTYP_TENANT_TYPE_CODE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_TENANT_TYPE] DROP CONSTRAINT [TENTYP_DESCRIPTION_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_TENANT_TYPE] DROP CONSTRAINT [TENTYP_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_TENANT_TYPE] DROP CONSTRAINT [TENTYP_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_TENANT_TYPE] DROP CONSTRAINT [TENTYP_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_TENANT_TYPE] DROP CONSTRAINT [TENTYP_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_TENANT_TYPE] DROP CONSTRAINT [TENTYP_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_TENANT_TYPE] DROP CONSTRAINT [TENTYP_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_TENANT_TYPE] DROP CONSTRAINT [TENTYP_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_TENANT_TYPE', 'COLUMN', N'TENANT_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_TENANT_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_TENANT_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_TENANT_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_TENANT_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_TENANT_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_YEARLY_FINANCIAL_CODE_HIST" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE_HIST] DROP CONSTRAINT [DF__PIMS_YEAR___YEAR__12F3B011] +GO + + +ALTER TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE_HIST] DROP CONSTRAINT [DF__PIMS_YEAR__EFFEC__13E7D44A] +GO + + +ALTER TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE_HIST] DROP CONSTRAINT [PIMS_YRFINC_H_PK] +GO + + +ALTER TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE_HIST] DROP CONSTRAINT [PIMS_YRFINC_H_UK] +GO + + +DROP TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE_HIST] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_WORK_ACTIVITY_CODE_HIST" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE_HIST] DROP CONSTRAINT [DF__PIMS_WORK___WORK__7FE0DB9D] +GO + + +ALTER TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE_HIST] DROP CONSTRAINT [DF__PIMS_WORK__EFFEC__00D4FFD6] +GO + + +ALTER TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE_HIST] DROP CONSTRAINT [PIMS_WRKACT_H_PK] +GO + + +ALTER TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE_HIST] DROP CONSTRAINT [PIMS_WRKACT_H_UK] +GO + + +DROP TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE_HIST] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_RESPONSIBILITY_CODE_HIST" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_RESPONSIBILITY_CODE_HIST] DROP CONSTRAINT [DF__PIMS_RESP___RESP__5DC0CDC3] +GO + + +ALTER TABLE [dbo].[PIMS_RESPONSIBILITY_CODE_HIST] DROP CONSTRAINT [DF__PIMS_RESP__EFFEC__5EB4F1FC] +GO + + +ALTER TABLE [dbo].[PIMS_RESPONSIBILITY_CODE_HIST] DROP CONSTRAINT [PIMS_RESPCD_H_PK] +GO + + +ALTER TABLE [dbo].[PIMS_RESPONSIBILITY_CODE_HIST] DROP CONSTRAINT [PIMS_RESPCD_H_UK] +GO + + +DROP TABLE [dbo].[PIMS_RESPONSIBILITY_CODE_HIST] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_FINANCIAL_ACTIVITY_CODE_HIST" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE_HIST] DROP CONSTRAINT [DF__PIMS_FINA___FINA__5ECA0095] +GO + + +ALTER TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE_HIST] DROP CONSTRAINT [DF__PIMS_FINA__EFFEC__5FBE24CE] +GO + + +ALTER TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE_HIST] DROP CONSTRAINT [PIMS_FINACT_H_PK] +GO + + +ALTER TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE_HIST] DROP CONSTRAINT [PIMS_FINACT_H_UK] +GO + + +DROP TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE_HIST] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_COST_TYPE_CODE_HIST" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_COST_TYPE_CODE_HIST] DROP CONSTRAINT [DF__PIMS_COST___COST__3C74E891] +GO + + +ALTER TABLE [dbo].[PIMS_COST_TYPE_CODE_HIST] DROP CONSTRAINT [DF__PIMS_COST__EFFEC__3D690CCA] +GO + + +ALTER TABLE [dbo].[PIMS_COST_TYPE_CODE_HIST] DROP CONSTRAINT [PIMS_COSTYP_H_PK] +GO + + +ALTER TABLE [dbo].[PIMS_COST_TYPE_CODE_HIST] DROP CONSTRAINT [PIMS_COSTYP_H_UK] +GO + + +DROP TABLE [dbo].[PIMS_COST_TYPE_CODE_HIST] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_CHART_OF_ACCOUNTS_CODE_HIST" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE_HIST] DROP CONSTRAINT [DF__PIMS_CHAR___CHAR__1466F737] +GO + + +ALTER TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE_HIST] DROP CONSTRAINT [DF__PIMS_CHAR__EFFEC__155B1B70] +GO + + +ALTER TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE_HIST] DROP CONSTRAINT [PIMS_CHRTAC_H_PK] +GO + + +ALTER TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE_HIST] DROP CONSTRAINT [PIMS_CHRTAC_H_UK] +GO + + +DROP TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE_HIST] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_BUSINESS_FUNCTION_CODE_HIST" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE_HIST] DROP CONSTRAINT [DF__PIMS_BUSI___BUSI__015422C3] +GO + + +ALTER TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE_HIST] DROP CONSTRAINT [DF__PIMS_BUSI__EFFEC__024846FC] +GO + + +ALTER TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE_HIST] DROP CONSTRAINT [PIMS_BIZFCN_H_PK] +GO + + +ALTER TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE_HIST] DROP CONSTRAINT [PIMS_BIZFCN_H_UK] +GO + + +DROP TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE_HIST] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_YEARLY_FINANCIAL_CODE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE] DROP CONSTRAINT [YRFINC_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE] DROP CONSTRAINT [YRFINC_CODE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE] DROP CONSTRAINT [YRFINC_EFFECTIVE_DATE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE] DROP CONSTRAINT [YRFINC_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE] DROP CONSTRAINT [YRFINC_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE] DROP CONSTRAINT [YRFINC_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE] DROP CONSTRAINT [YRFINC_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE] DROP CONSTRAINT [YRFINC_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE] DROP CONSTRAINT [YRFINC_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE] DROP CONSTRAINT [YRFINC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE] DROP CONSTRAINT [YRFINC_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE] DROP CONSTRAINT [YRFINC_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE] DROP CONSTRAINT [YRFINC_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE] DROP CONSTRAINT [YRFINC_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE] DROP CONSTRAINT [YRFINC_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_YEARLY_FINANCIAL_CODE', 'COLUMN', N'ID' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_YEARLY_FINANCIAL_CODE', 'COLUMN', N'CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_YEARLY_FINANCIAL_CODE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_YEARLY_FINANCIAL_CODE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_YEARLY_FINANCIAL_CODE', 'COLUMN', N'EFFECTIVE_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_YEARLY_FINANCIAL_CODE', 'COLUMN', N'EXPIRY_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_YEARLY_FINANCIAL_CODE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_YEARLY_FINANCIAL_CODE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_RESPONSIBILITY_CODE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_RESPONSIBILITY_CODE] DROP CONSTRAINT [RESPCD_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESPONSIBILITY_CODE] DROP CONSTRAINT [RESPCD_CODE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESPONSIBILITY_CODE] DROP CONSTRAINT [RESPCD_EFFECTIVE_DATE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESPONSIBILITY_CODE] DROP CONSTRAINT [RESPCD_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESPONSIBILITY_CODE] DROP CONSTRAINT [RESPCD_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESPONSIBILITY_CODE] DROP CONSTRAINT [RESPCD_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESPONSIBILITY_CODE] DROP CONSTRAINT [RESPCD_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESPONSIBILITY_CODE] DROP CONSTRAINT [RESPCD_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESPONSIBILITY_CODE] DROP CONSTRAINT [RESPCD_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESPONSIBILITY_CODE] DROP CONSTRAINT [RESPCD_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESPONSIBILITY_CODE] DROP CONSTRAINT [RESPCD_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESPONSIBILITY_CODE] DROP CONSTRAINT [RESPCD_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESPONSIBILITY_CODE] DROP CONSTRAINT [RESPCD_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESPONSIBILITY_CODE] DROP CONSTRAINT [RESPCD_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESPONSIBILITY_CODE] DROP CONSTRAINT [RESPCD_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESPONSIBILITY_CODE', 'COLUMN', N'ID' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESPONSIBILITY_CODE', 'COLUMN', N'CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESPONSIBILITY_CODE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESPONSIBILITY_CODE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESPONSIBILITY_CODE', 'COLUMN', N'EFFECTIVE_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESPONSIBILITY_CODE', 'COLUMN', N'EXPIRY_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESPONSIBILITY_CODE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_RESPONSIBILITY_CODE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_COST_TYPE_CODE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_COST_TYPE_CODE] DROP CONSTRAINT [COSTYP_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_COST_TYPE_CODE] DROP CONSTRAINT [COSTYP_CODE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_COST_TYPE_CODE] DROP CONSTRAINT [COSTYP_EFFECTIVE_DATE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_COST_TYPE_CODE] DROP CONSTRAINT [COSTYP_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_COST_TYPE_CODE] DROP CONSTRAINT [COSTYP_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_COST_TYPE_CODE] DROP CONSTRAINT [COSTYP_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_COST_TYPE_CODE] DROP CONSTRAINT [COSTYP_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_COST_TYPE_CODE] DROP CONSTRAINT [COSTYP_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_COST_TYPE_CODE] DROP CONSTRAINT [COSTYP_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_COST_TYPE_CODE] DROP CONSTRAINT [COSTYP_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_COST_TYPE_CODE] DROP CONSTRAINT [COSTYP_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_COST_TYPE_CODE] DROP CONSTRAINT [COSTYP_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_COST_TYPE_CODE] DROP CONSTRAINT [COSTYP_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_COST_TYPE_CODE] DROP CONSTRAINT [COSTYP_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_COST_TYPE_CODE] DROP CONSTRAINT [COSTYP_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_COST_TYPE_CODE', 'COLUMN', N'ID' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_COST_TYPE_CODE', 'COLUMN', N'CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_COST_TYPE_CODE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_COST_TYPE_CODE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_COST_TYPE_CODE', 'COLUMN', N'EFFECTIVE_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_COST_TYPE_CODE', 'COLUMN', N'EXPIRY_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_COST_TYPE_CODE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_COST_TYPE_CODE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_CHART_OF_ACCOUNTS_CODE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE] DROP CONSTRAINT [CHRTAC_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE] DROP CONSTRAINT [CHRTAC_CODE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE] DROP CONSTRAINT [CHRTAC_EFFECTIVE_DATE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE] DROP CONSTRAINT [CHRTAC_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE] DROP CONSTRAINT [CHRTAC_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE] DROP CONSTRAINT [CHRTAC_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE] DROP CONSTRAINT [CHRTAC_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE] DROP CONSTRAINT [CHRTAC_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE] DROP CONSTRAINT [CHRTAC_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE] DROP CONSTRAINT [CHRTAC_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE] DROP CONSTRAINT [CHRTAC_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE] DROP CONSTRAINT [CHRTAC_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE] DROP CONSTRAINT [CHRTAC_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE] DROP CONSTRAINT [CHRTAC_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE] DROP CONSTRAINT [CHRTAC_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_CHART_OF_ACCOUNTS_CODE', 'COLUMN', N'ID' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_CHART_OF_ACCOUNTS_CODE', 'COLUMN', N'CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_CHART_OF_ACCOUNTS_CODE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_CHART_OF_ACCOUNTS_CODE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_CHART_OF_ACCOUNTS_CODE', 'COLUMN', N'EFFECTIVE_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_CHART_OF_ACCOUNTS_CODE', 'COLUMN', N'EXPIRY_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_CHART_OF_ACCOUNTS_CODE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_FINANCIAL_ACTIVITY_CODE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE] DROP CONSTRAINT [FINACT_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE] DROP CONSTRAINT [FINACT_CODE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE] DROP CONSTRAINT [FINACT_EFFECTIVE_DATE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE] DROP CONSTRAINT [FINACT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE] DROP CONSTRAINT [FINACT_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE] DROP CONSTRAINT [FINACT_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE] DROP CONSTRAINT [FINACT_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE] DROP CONSTRAINT [FINACT_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE] DROP CONSTRAINT [FINACT_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE] DROP CONSTRAINT [FINACT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE] DROP CONSTRAINT [FINACT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE] DROP CONSTRAINT [FINACT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE] DROP CONSTRAINT [FINACT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE] DROP CONSTRAINT [FINACT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE] DROP CONSTRAINT [FINACT_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_FINANCIAL_ACTIVITY_CODE', 'COLUMN', N'ID' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_FINANCIAL_ACTIVITY_CODE', 'COLUMN', N'CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_FINANCIAL_ACTIVITY_CODE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_FINANCIAL_ACTIVITY_CODE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_FINANCIAL_ACTIVITY_CODE', 'COLUMN', N'EFFECTIVE_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_FINANCIAL_ACTIVITY_CODE', 'COLUMN', N'EXPIRY_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_FINANCIAL_ACTIVITY_CODE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_BUSINESS_FUNCTION_CODE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE] DROP CONSTRAINT [BIZFCN_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE] DROP CONSTRAINT [BIZFCN_CODE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE] DROP CONSTRAINT [BIZFCN_EFFECTIVE_DATE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE] DROP CONSTRAINT [BIZFCN_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE] DROP CONSTRAINT [BIZFCN_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE] DROP CONSTRAINT [BIZFCN_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE] DROP CONSTRAINT [BIZFCN_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE] DROP CONSTRAINT [BIZFCN_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE] DROP CONSTRAINT [BIZFCN_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE] DROP CONSTRAINT [BIZFCN_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE] DROP CONSTRAINT [BIZFCN_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE] DROP CONSTRAINT [BIZFCN_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE] DROP CONSTRAINT [BIZFCN_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE] DROP CONSTRAINT [BIZFCN_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE] DROP CONSTRAINT [BIZFCN_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_BUSINESS_FUNCTION_CODE', 'COLUMN', N'ID' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_BUSINESS_FUNCTION_CODE', 'COLUMN', N'CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_BUSINESS_FUNCTION_CODE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_BUSINESS_FUNCTION_CODE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_BUSINESS_FUNCTION_CODE', 'COLUMN', N'EFFECTIVE_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_BUSINESS_FUNCTION_CODE', 'COLUMN', N'EXPIRY_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_BUSINESS_FUNCTION_CODE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_BUSINESS_FUNCTION_CODE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_WORK_ACTIVITY_CODE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE] DROP CONSTRAINT [WRKACT_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE] DROP CONSTRAINT [WRKACT_CODE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE] DROP CONSTRAINT [WRKACT_EFFECTIVE_DATE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE] DROP CONSTRAINT [WRKACT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE] DROP CONSTRAINT [WRKACT_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE] DROP CONSTRAINT [WRKACT_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE] DROP CONSTRAINT [WRKACT_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE] DROP CONSTRAINT [WRKACT_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE] DROP CONSTRAINT [WRKACT_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE] DROP CONSTRAINT [WRKACT_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE] DROP CONSTRAINT [WRKACT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE] DROP CONSTRAINT [WRKACT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE] DROP CONSTRAINT [WRKACT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE] DROP CONSTRAINT [WRKACT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE] DROP CONSTRAINT [WRKACT_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_WORK_ACTIVITY_CODE', 'COLUMN', N'ID' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_WORK_ACTIVITY_CODE', 'COLUMN', N'CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_WORK_ACTIVITY_CODE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_WORK_ACTIVITY_CODE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_WORK_ACTIVITY_CODE', 'COLUMN', N'EFFECTIVE_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_WORK_ACTIVITY_CODE', 'COLUMN', N'EXPIRY_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_WORK_ACTIVITY_CODE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_WORK_ACTIVITY_CODE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_LEASE_ACTIVITY_INSTANCE_HIST" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE_HIST] DROP CONSTRAINT [DF__PIMS_LEAS___LEAS__607D3EDD] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE_HIST] DROP CONSTRAINT [DF__PIMS_LEAS__EFFEC__61716316] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE_HIST] DROP CONSTRAINT [PIMS_LSACIN_H_PK] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE_HIST] DROP CONSTRAINT [PIMS_LSACIN_H_UK] +GO + + +DROP TABLE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE_HIST] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_LETTER_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_LETTER_TYPE] DROP CONSTRAINT [LTRTYP_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LETTER_TYPE] DROP CONSTRAINT [LTRTYP_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LETTER_TYPE] DROP CONSTRAINT [LTRTYP_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LETTER_TYPE] DROP CONSTRAINT [LTRTYP_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LETTER_TYPE] DROP CONSTRAINT [LTRTYP_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LETTER_TYPE] DROP CONSTRAINT [LTRTYP_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LETTER_TYPE] DROP CONSTRAINT [LTRTYP_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LETTER_TYPE', 'COLUMN', N'LETTER_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LETTER_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LETTER_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LETTER_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LETTER_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_LETTER_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_FENCE_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_FENCE_TYPE] DROP CONSTRAINT [FNCTYP_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_FENCE_TYPE] DROP CONSTRAINT [FNCTYP_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_FENCE_TYPE] DROP CONSTRAINT [FNCTYP_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_FENCE_TYPE] DROP CONSTRAINT [FNCTYP_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_FENCE_TYPE] DROP CONSTRAINT [FNCTYP_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_FENCE_TYPE] DROP CONSTRAINT [FNCTYP_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_FENCE_TYPE] DROP CONSTRAINT [FNCTYP_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_FENCE_TYPE', 'COLUMN', N'FENCE_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_FENCE_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_FENCE_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_FENCE_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_FENCE_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_FENCE_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ACTIVITY_INSTANCE_STATUS_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_STATUS_TYPE] DROP CONSTRAINT [ACTIST_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_STATUS_TYPE] DROP CONSTRAINT [ACTIST_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_STATUS_TYPE] DROP CONSTRAINT [ACTIST_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_STATUS_TYPE] DROP CONSTRAINT [ACTIST_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_STATUS_TYPE] DROP CONSTRAINT [ACTIST_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_STATUS_TYPE] DROP CONSTRAINT [ACTIST_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_STATUS_TYPE] DROP CONSTRAINT [ACTIST_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACTIVITY_INSTANCE_STATUS_TYPE', 'COLUMN', N'ACTIVITY_INSTANCE_STATUS_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACTIVITY_INSTANCE_STATUS_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACTIVITY_INSTANCE_STATUS_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACTIVITY_INSTANCE_STATUS_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACTIVITY_INSTANCE_STATUS_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_ACTIVITY_INSTANCE_STATUS_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_LAND_SURVEYOR_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_LAND_SURVEYOR_TYPE] DROP CONSTRAINT [LNSRVT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LAND_SURVEYOR_TYPE] DROP CONSTRAINT [LNSRVT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LAND_SURVEYOR_TYPE] DROP CONSTRAINT [LNSRVT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LAND_SURVEYOR_TYPE] DROP CONSTRAINT [LNSRVT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LAND_SURVEYOR_TYPE] DROP CONSTRAINT [LNSRVT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LAND_SURVEYOR_TYPE] DROP CONSTRAINT [LNSRVT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LAND_SURVEYOR_TYPE] DROP CONSTRAINT [LNSRVT_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LAND_SURVEYOR_TYPE', 'COLUMN', N'LAND_SURVEYOR_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LAND_SURVEYOR_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LAND_SURVEYOR_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LAND_SURVEYOR_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LAND_SURVEYOR_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_LAND_SURVEYOR_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_SURVEY_PLAN_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_SURVEY_PLAN_TYPE] DROP CONSTRAINT [SRVPLT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SURVEY_PLAN_TYPE] DROP CONSTRAINT [SRVPLT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SURVEY_PLAN_TYPE] DROP CONSTRAINT [SRVPLT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SURVEY_PLAN_TYPE] DROP CONSTRAINT [SRVPLT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SURVEY_PLAN_TYPE] DROP CONSTRAINT [SRVPLT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SURVEY_PLAN_TYPE] DROP CONSTRAINT [SRVPLT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SURVEY_PLAN_TYPE] DROP CONSTRAINT [SRVPLT_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_SURVEY_PLAN_TYPE', 'COLUMN', N'SURVEY_PLAN_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_SURVEY_PLAN_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_SURVEY_PLAN_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_SURVEY_PLAN_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_SURVEY_PLAN_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_SURVEY_PLAN_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ACTIVITY_TEMPLATE_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_TYPE] DROP CONSTRAINT [ACTTTY_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_TYPE] DROP CONSTRAINT [ACTTTY_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_TYPE] DROP CONSTRAINT [ACTTTY_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_TYPE] DROP CONSTRAINT [ACTTTY_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_TYPE] DROP CONSTRAINT [ACTTTY_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_TYPE] DROP CONSTRAINT [ACTTTY_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_TYPE] DROP CONSTRAINT [ACTTTY_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACTIVITY_TEMPLATE_TYPE', 'COLUMN', N'ACTIVITY_TEMPLATE_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACTIVITY_TEMPLATE_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACTIVITY_TEMPLATE_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACTIVITY_TEMPLATE_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACTIVITY_TEMPLATE_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_ACTIVITY_TEMPLATE_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ACQ_FL_PERSON_PROFILE_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ACQ_FL_PERSON_PROFILE_TYPE] DROP CONSTRAINT [AQFPPT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQ_FL_PERSON_PROFILE_TYPE] DROP CONSTRAINT [AQFPPT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQ_FL_PERSON_PROFILE_TYPE] DROP CONSTRAINT [AQFPPT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQ_FL_PERSON_PROFILE_TYPE] DROP CONSTRAINT [AQFPPT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQ_FL_PERSON_PROFILE_TYPE] DROP CONSTRAINT [AQFPPT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQ_FL_PERSON_PROFILE_TYPE] DROP CONSTRAINT [AQFPPT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQ_FL_PERSON_PROFILE_TYPE] DROP CONSTRAINT [AQFPPT_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQ_FL_PERSON_PROFILE_TYPE', 'COLUMN', N'ACQ_FL_PERSON_PROFILE_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQ_FL_PERSON_PROFILE_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQ_FL_PERSON_PROFILE_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQ_FL_PERSON_PROFILE_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQ_FL_PERSON_PROFILE_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_ACQ_FL_PERSON_PROFILE_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ACQ_PHYS_FILE_STATUS_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ACQ_PHYS_FILE_STATUS_TYPE] DROP CONSTRAINT [ACQPFS_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQ_PHYS_FILE_STATUS_TYPE] DROP CONSTRAINT [ACQPFS_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQ_PHYS_FILE_STATUS_TYPE] DROP CONSTRAINT [ACQPFS_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQ_PHYS_FILE_STATUS_TYPE] DROP CONSTRAINT [ACQPFS_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQ_PHYS_FILE_STATUS_TYPE] DROP CONSTRAINT [ACQPFS_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQ_PHYS_FILE_STATUS_TYPE] DROP CONSTRAINT [ACQPFS_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQ_PHYS_FILE_STATUS_TYPE] DROP CONSTRAINT [ACQPFS_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQ_PHYS_FILE_STATUS_TYPE', 'COLUMN', N'ACQ_PHYS_FILE_STATUS_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQ_PHYS_FILE_STATUS_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQ_PHYS_FILE_STATUS_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQ_PHYS_FILE_STATUS_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQ_PHYS_FILE_STATUS_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_ACQ_PHYS_FILE_STATUS_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ACQUISITION_FUNDING_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FUNDING_TYPE] DROP CONSTRAINT [ACQFTY_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FUNDING_TYPE] DROP CONSTRAINT [ACQFTY_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FUNDING_TYPE] DROP CONSTRAINT [ACQFTY_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FUNDING_TYPE] DROP CONSTRAINT [ACQFTY_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FUNDING_TYPE] DROP CONSTRAINT [ACQFTY_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FUNDING_TYPE] DROP CONSTRAINT [ACQFTY_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FUNDING_TYPE] DROP CONSTRAINT [ACQFTY_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FUNDING_TYPE', 'COLUMN', N'ACQUISITION_FUNDING_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FUNDING_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FUNDING_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FUNDING_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FUNDING_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_ACQUISITION_FUNDING_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ACQUISITION_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ACQUISITION_TYPE] DROP CONSTRAINT [ACQTYP_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_TYPE] DROP CONSTRAINT [ACQTYP_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_TYPE] DROP CONSTRAINT [ACQTYP_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_TYPE] DROP CONSTRAINT [ACQTYP_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_TYPE] DROP CONSTRAINT [ACQTYP_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_TYPE] DROP CONSTRAINT [ACQTYP_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_TYPE] DROP CONSTRAINT [ACQTYP_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_TYPE', 'COLUMN', N'ACQUISITION_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_ACQUISITION_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ACQUISITION_FILE_STATUS_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_STATUS_TYPE] DROP CONSTRAINT [ACQFST_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_STATUS_TYPE] DROP CONSTRAINT [ACQFST_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_STATUS_TYPE] DROP CONSTRAINT [ACQFST_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_STATUS_TYPE] DROP CONSTRAINT [ACQFST_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_STATUS_TYPE] DROP CONSTRAINT [ACQFST_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_STATUS_TYPE] DROP CONSTRAINT [ACQFST_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACQUISITION_FILE_STATUS_TYPE] DROP CONSTRAINT [ACQFST_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FILE_STATUS_TYPE', 'COLUMN', N'ACQUISITION_FILE_STATUS_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FILE_STATUS_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FILE_STATUS_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FILE_STATUS_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_ACQUISITION_FILE_STATUS_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_ACQUISITION_FILE_STATUS_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_DOCUMENT_STATUS_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_DOCUMENT_STATUS_TYPE] DROP CONSTRAINT [DOCSTY_DOCUMENT_STATUS_TYPE_CODE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT_STATUS_TYPE] DROP CONSTRAINT [DOCSTY_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT_STATUS_TYPE] DROP CONSTRAINT [DOCSTY_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT_STATUS_TYPE] DROP CONSTRAINT [DOCSTY_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT_STATUS_TYPE] DROP CONSTRAINT [DOCSTY_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT_STATUS_TYPE] DROP CONSTRAINT [DOCSTY_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT_STATUS_TYPE] DROP CONSTRAINT [DOCSTY_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT_STATUS_TYPE] DROP CONSTRAINT [DOCSTY_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_DOCUMENT_STATUS_TYPE', 'COLUMN', N'DOCUMENT_STATUS_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_DOCUMENT_STATUS_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_DOCUMENT_STATUS_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_DOCUMENT_STATUS_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_DOCUMENT_STATUS_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_DOCUMENT_STATUS_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_DOCUMENT_TYP" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_DOCUMENT_TYP] DROP CONSTRAINT [DOCTYP_DOCUMENT_TYPE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT_TYP] DROP CONSTRAINT [DOCTYP_MAYAN_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT_TYP] DROP CONSTRAINT [DOCTYP_DOCUMENT_TYPE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT_TYP] DROP CONSTRAINT [DOCTYP_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT_TYP] DROP CONSTRAINT [DOCTYP_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT_TYP] DROP CONSTRAINT [DOCTYP_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT_TYP] DROP CONSTRAINT [DOCTYP_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT_TYP] DROP CONSTRAINT [DOCTYP_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT_TYP] DROP CONSTRAINT [DOCTYP_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT_TYP] DROP CONSTRAINT [DOCTYP_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT_TYP] DROP CONSTRAINT [DOCTYP_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT_TYP] DROP CONSTRAINT [DOCTYP_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT_TYP] DROP CONSTRAINT [DOCTYP_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT_TYP] DROP CONSTRAINT [DOCTYP_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DOCUMENT_TYP] DROP CONSTRAINT [DOCTYP_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_DOCUMENT_TYP', 'COLUMN', N'MAYAN_ID' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_DOCUMENT_TYP', 'COLUMN', N'DOCUMENT_TYPE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_DOCUMENT_TYP', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_DOCUMENT_TYP] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_NOTE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_NOTE] DROP CONSTRAINT [NOTE_NOTE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_NOTE] DROP CONSTRAINT [NOTE_NOTE_TXT_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_NOTE] DROP CONSTRAINT [NOTE_IS_SYSTEM_GENERATED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_NOTE] DROP CONSTRAINT [NOTE_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_NOTE] DROP CONSTRAINT [NOTE_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_NOTE] DROP CONSTRAINT [NOTE_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_NOTE] DROP CONSTRAINT [NOTE_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_NOTE] DROP CONSTRAINT [NOTE_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_NOTE] DROP CONSTRAINT [NOTE_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_NOTE] DROP CONSTRAINT [NOTE_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_NOTE] DROP CONSTRAINT [NOTE_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_NOTE] DROP CONSTRAINT [NOTE_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_NOTE] DROP CONSTRAINT [NOTE_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_NOTE] DROP CONSTRAINT [NOTE_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_NOTE] DROP CONSTRAINT [NOTE_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_NOTE', 'COLUMN', N'NOTE_TXT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_NOTE', 'COLUMN', N'IS_SYSTEM_GENERATED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_NOTE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_NOTE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PPH_STATUS_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PPH_STATUS_TYPE] DROP CONSTRAINT [PPHSTT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PPH_STATUS_TYPE] DROP CONSTRAINT [PPHSTT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PPH_STATUS_TYPE] DROP CONSTRAINT [PPHSTT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PPH_STATUS_TYPE] DROP CONSTRAINT [PPHSTT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PPH_STATUS_TYPE] DROP CONSTRAINT [PPHSTT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PPH_STATUS_TYPE] DROP CONSTRAINT [PPHSTT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PPH_STATUS_TYPE] DROP CONSTRAINT [PPHSTT_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PPH_STATUS_TYPE', 'COLUMN', N'PPH_STATUS_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PPH_STATUS_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PPH_STATUS_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PPH_STATUS_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PPH_STATUS_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_PPH_STATUS_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROP_RESEARCH_PURPOSE_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROP_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [RRESPT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [RRESPT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [RRESPT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [RRESPT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [RRESPT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [RRESPT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROP_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [RRESPT_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROP_RESEARCH_PURPOSE_TYPE', 'COLUMN', N'PROP_RESEARCH_PURPOSE_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROP_RESEARCH_PURPOSE_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROP_RESEARCH_PURPOSE_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROP_RESEARCH_PURPOSE_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROP_RESEARCH_PURPOSE_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_PROP_RESEARCH_PURPOSE_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_RESEARCH_PURPOSE_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [RSHPRT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [RSHPRT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [RSHPRT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [RSHPRT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [RSHPRT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [RSHPRT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_PURPOSE_TYPE] DROP CONSTRAINT [RSHPRT_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_PURPOSE_TYPE', 'COLUMN', N'RESEARCH_PURPOSE_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_PURPOSE_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_PURPOSE_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_PURPOSE_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_PURPOSE_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_RESEARCH_PURPOSE_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_REQUEST_SOURCE_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_REQUEST_SOURCE_TYPE] DROP CONSTRAINT [RQSRCT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_REQUEST_SOURCE_TYPE] DROP CONSTRAINT [RQSRCT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_REQUEST_SOURCE_TYPE] DROP CONSTRAINT [RQSRCT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_REQUEST_SOURCE_TYPE] DROP CONSTRAINT [RQSRCT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_REQUEST_SOURCE_TYPE] DROP CONSTRAINT [RQSRCT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_REQUEST_SOURCE_TYPE] DROP CONSTRAINT [RQSRCT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_REQUEST_SOURCE_TYPE] DROP CONSTRAINT [RQSRCT_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_REQUEST_SOURCE_TYPE', 'COLUMN', N'REQUEST_SOURCE_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_REQUEST_SOURCE_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_REQUEST_SOURCE_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_REQUEST_SOURCE_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_REQUEST_SOURCE_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_REQUEST_SOURCE_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_TENANT" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_TENANT] DROP CONSTRAINT [TENNTX_TENANT_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_TENANT] DROP CONSTRAINT [TENNTX_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_TENANT] DROP CONSTRAINT [TENNTX_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_TENANT] DROP CONSTRAINT [TENNTX_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_TENANT] DROP CONSTRAINT [TENNTX_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_TENANT] DROP CONSTRAINT [TENNTX_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_TENANT] DROP CONSTRAINT [TENNTX_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_TENANT', 'COLUMN', N'TENANT_ID' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_TENANT', 'COLUMN', N'CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_TENANT', 'COLUMN', N'NAME' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_TENANT', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_TENANT', 'COLUMN', N'SETTINGS' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_TENANT', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_TENANT] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_LEASE_STATUS_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_LEASE_STATUS_TYPE] DROP CONSTRAINT [LSSTYP_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_STATUS_TYPE] DROP CONSTRAINT [LSSTYP_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_STATUS_TYPE] DROP CONSTRAINT [LSSTYP_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_STATUS_TYPE] DROP CONSTRAINT [LSSTYP_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_STATUS_TYPE] DROP CONSTRAINT [LSSTYP_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_STATUS_TYPE] DROP CONSTRAINT [LSSTYP_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_STATUS_TYPE] DROP CONSTRAINT [LSSTYP_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_STATUS_TYPE', 'COLUMN', N'LEASE_STATUS_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_STATUS_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_STATUS_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_LEASE_STATUS_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_STATIC_VARIABLE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_STATIC_VARIABLE] DROP CONSTRAINT [STAVBL_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_STATIC_VARIABLE] DROP CONSTRAINT [STAVBL_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_STATIC_VARIABLE] DROP CONSTRAINT [STAVBL_APP_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_STATIC_VARIABLE] DROP CONSTRAINT [STAVBL_APP_CREATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_STATIC_VARIABLE] DROP CONSTRAINT [STAVBL_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_STATIC_VARIABLE] DROP CONSTRAINT [STAVBL_APP_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_STATIC_VARIABLE] DROP CONSTRAINT [STAVBL_APP_LAST_UPDATE_USER_DIRECTORY_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_STATIC_VARIABLE] DROP CONSTRAINT [STAVBL_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_STATIC_VARIABLE] DROP CONSTRAINT [STAVBL_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_STATIC_VARIABLE] DROP CONSTRAINT [STAVBL_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_STATIC_VARIABLE] DROP CONSTRAINT [STAVBL_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_STATIC_VARIABLE] DROP CONSTRAINT [STAVBL_PK] +GO + + +DROP TABLE [dbo].[PIMS_STATIC_VARIABLE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_LEASE_PAYMENT_STATUS_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT_STATUS_TYPE] DROP CONSTRAINT [LPSTST_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT_STATUS_TYPE] DROP CONSTRAINT [LPSTST_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT_STATUS_TYPE] DROP CONSTRAINT [LPSTST_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT_STATUS_TYPE] DROP CONSTRAINT [LPSTST_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT_STATUS_TYPE] DROP CONSTRAINT [LPSTST_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT_STATUS_TYPE] DROP CONSTRAINT [LPSTST_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT_STATUS_TYPE] DROP CONSTRAINT [LPSTST_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_PAYMENT_STATUS_TYPE', 'COLUMN', N'LEASE_PAYMENT_STATUS_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_PAYMENT_STATUS_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_PAYMENT_STATUS_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_PAYMENT_STATUS_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_PAYMENT_STATUS_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_LEASE_PAYMENT_STATUS_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_LEASE_PAYMENT_METHOD_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT_METHOD_TYPE] DROP CONSTRAINT [LSPMMT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT_METHOD_TYPE] DROP CONSTRAINT [LSPMMT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT_METHOD_TYPE] DROP CONSTRAINT [LSPMMT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT_METHOD_TYPE] DROP CONSTRAINT [LSPMMT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT_METHOD_TYPE] DROP CONSTRAINT [LSPMMT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT_METHOD_TYPE] DROP CONSTRAINT [LSPMMT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAYMENT_METHOD_TYPE] DROP CONSTRAINT [LSPMMT_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_PAYMENT_METHOD_TYPE', 'COLUMN', N'LEASE_PAYMENT_METHOD_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_PAYMENT_METHOD_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_PAYMENT_METHOD_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_PAYMENT_METHOD_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_PAYMENT_METHOD_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_LEASE_PAYMENT_METHOD_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_LEASE_TERM_STATUS_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_LEASE_TERM_STATUS_TYPE] DROP CONSTRAINT [LTRMST_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TERM_STATUS_TYPE] DROP CONSTRAINT [LTRMST_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TERM_STATUS_TYPE] DROP CONSTRAINT [LTRMST_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TERM_STATUS_TYPE] DROP CONSTRAINT [LTRMST_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TERM_STATUS_TYPE] DROP CONSTRAINT [LTRMST_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TERM_STATUS_TYPE] DROP CONSTRAINT [LTRMST_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_TERM_STATUS_TYPE] DROP CONSTRAINT [LTRMST_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_TERM_STATUS_TYPE', 'COLUMN', N'LEASE_TERM_STATUS_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_TERM_STATUS_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_TERM_STATUS_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_LEASE_TERM_STATUS_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_LEASE_RESPONSIBILITY_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_LEASE_RESPONSIBILITY_TYPE] DROP CONSTRAINT [LRESPT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_RESPONSIBILITY_TYPE] DROP CONSTRAINT [LRESPT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_RESPONSIBILITY_TYPE] DROP CONSTRAINT [LRESPT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_RESPONSIBILITY_TYPE] DROP CONSTRAINT [LRESPT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_RESPONSIBILITY_TYPE] DROP CONSTRAINT [LRESPT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_RESPONSIBILITY_TYPE] DROP CONSTRAINT [LRESPT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_RESPONSIBILITY_TYPE] DROP CONSTRAINT [LRESPT_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_RESPONSIBILITY_TYPE', 'COLUMN', N'LEASE_RESPONSIBILITY_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_RESPONSIBILITY_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_RESPONSIBILITY_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_LEASE_RESPONSIBILITY_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_LEASE_INITIATOR_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_LEASE_INITIATOR_TYPE] DROP CONSTRAINT [LINITT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_INITIATOR_TYPE] DROP CONSTRAINT [LINITT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_INITIATOR_TYPE] DROP CONSTRAINT [LINITT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_INITIATOR_TYPE] DROP CONSTRAINT [LINITT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_INITIATOR_TYPE] DROP CONSTRAINT [LINITT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_INITIATOR_TYPE] DROP CONSTRAINT [LINITT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_INITIATOR_TYPE] DROP CONSTRAINT [LINITT_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_INITIATOR_TYPE', 'COLUMN', N'LEASE_INITIATOR_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_INITIATOR_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_INITIATOR_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_LEASE_INITIATOR_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROPERTY_IMPROVEMENT_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT_TYPE] DROP CONSTRAINT [PIMPRT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT_TYPE] DROP CONSTRAINT [PIMPRT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT_TYPE] DROP CONSTRAINT [PIMPRT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT_TYPE] DROP CONSTRAINT [PIMPRT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT_TYPE] DROP CONSTRAINT [PIMPRT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT_TYPE] DROP CONSTRAINT [PIMPRT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT_TYPE] DROP CONSTRAINT [PIMPRT_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_IMPROVEMENT_TYPE', 'COLUMN', N'PROPERTY_IMPROVEMENT_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_IMPROVEMENT_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_IMPROVEMENT_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_IMPROVEMENT_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_PROPERTY_IMPROVEMENT_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_SURPLUS_DECLARATION_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_SURPLUS_DECLARATION_TYPE] DROP CONSTRAINT [SPDCLT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SURPLUS_DECLARATION_TYPE] DROP CONSTRAINT [SPDCLT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SURPLUS_DECLARATION_TYPE] DROP CONSTRAINT [SPDCLT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SURPLUS_DECLARATION_TYPE] DROP CONSTRAINT [SPDCLT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SURPLUS_DECLARATION_TYPE] DROP CONSTRAINT [SPDCLT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SURPLUS_DECLARATION_TYPE] DROP CONSTRAINT [SPDCLT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SURPLUS_DECLARATION_TYPE] DROP CONSTRAINT [SPDCLT_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_SURPLUS_DECLARATION_TYPE', 'COLUMN', N'SURPLUS_DECLARATION_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_SURPLUS_DECLARATION_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_SURPLUS_DECLARATION_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_SURPLUS_DECLARATION_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_SURPLUS_DECLARATION_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROPERTY_TAX_REMIT_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROPERTY_TAX_REMIT_TYPE] DROP CONSTRAINT [PTRMTT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TAX_REMIT_TYPE] DROP CONSTRAINT [PTRMTT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TAX_REMIT_TYPE] DROP CONSTRAINT [PTRMTT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TAX_REMIT_TYPE] DROP CONSTRAINT [PTRMTT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TAX_REMIT_TYPE] DROP CONSTRAINT [PTRMTT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TAX_REMIT_TYPE] DROP CONSTRAINT [PTRMTT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TAX_REMIT_TYPE] DROP CONSTRAINT [PTRMTT_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_TAX_REMIT_TYPE', 'COLUMN', N'PROPERTY_TAX_REMIT_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_TAX_REMIT_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_TAX_REMIT_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_TAX_REMIT_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_PROPERTY_TAX_REMIT_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_LEASE_PURPOSE_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_LEASE_PURPOSE_TYPE] DROP CONSTRAINT [LPRPTY_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PURPOSE_TYPE] DROP CONSTRAINT [LPRPTY_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PURPOSE_TYPE] DROP CONSTRAINT [LPRPTY_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PURPOSE_TYPE] DROP CONSTRAINT [LPRPTY_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PURPOSE_TYPE] DROP CONSTRAINT [LPRPTY_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PURPOSE_TYPE] DROP CONSTRAINT [LPRPTY_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PURPOSE_TYPE] DROP CONSTRAINT [LPRPTY_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_PURPOSE_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_LEASE_PURPOSE_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_SECURITY_DEPOSIT_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_TYPE] DROP CONSTRAINT [SECDPT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_TYPE] DROP CONSTRAINT [SECDPT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_TYPE] DROP CONSTRAINT [SECDPT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_TYPE] DROP CONSTRAINT [SECDPT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_TYPE] DROP CONSTRAINT [SECDPT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_TYPE] DROP CONSTRAINT [SECDPT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_SECURITY_DEPOSIT_TYPE] DROP CONSTRAINT [SECDPT_PK] +GO + + +DROP TABLE [dbo].[PIMS_SECURITY_DEPOSIT_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_INSURANCE_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_INSURANCE_TYPE] DROP CONSTRAINT [INSPYT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_INSURANCE_TYPE] DROP CONSTRAINT [INSPYT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_INSURANCE_TYPE] DROP CONSTRAINT [INSPYT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_INSURANCE_TYPE] DROP CONSTRAINT [INSPYT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_INSURANCE_TYPE] DROP CONSTRAINT [INSPYT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_INSURANCE_TYPE] DROP CONSTRAINT [INSPYT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_INSURANCE_TYPE] DROP CONSTRAINT [INSPYT_PK] +GO + + +DROP TABLE [dbo].[PIMS_INSURANCE_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_LEASE_LICENSE_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_LEASE_LICENSE_TYPE] DROP CONSTRAINT [LELIST_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_LICENSE_TYPE] DROP CONSTRAINT [LELIST_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_LICENSE_TYPE] DROP CONSTRAINT [LELIST_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_LICENSE_TYPE] DROP CONSTRAINT [LELIST_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_LICENSE_TYPE] DROP CONSTRAINT [LELIST_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_LICENSE_TYPE] DROP CONSTRAINT [LELIST_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_LICENSE_TYPE] DROP CONSTRAINT [LELIST_PK] +GO + + +DROP TABLE [dbo].[PIMS_LEASE_LICENSE_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_LEASE_PAY_RVBL_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_LEASE_PAY_RVBL_TYPE] DROP CONSTRAINT [LSPRTY_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAY_RVBL_TYPE] DROP CONSTRAINT [LSPRTY_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAY_RVBL_TYPE] DROP CONSTRAINT [LSPRTY_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAY_RVBL_TYPE] DROP CONSTRAINT [LSPRTY_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAY_RVBL_TYPE] DROP CONSTRAINT [LSPRTY_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAY_RVBL_TYPE] DROP CONSTRAINT [LSPRTY_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PAY_RVBL_TYPE] DROP CONSTRAINT [LSPRTY_PK] +GO + + +DROP TABLE [dbo].[PIMS_LEASE_PAY_RVBL_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_LESSOR_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_LESSOR_TYPE] DROP CONSTRAINT [LSSRTY_LESSOR_TYPE_CODE_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LESSOR_TYPE] DROP CONSTRAINT [LSSRTY_DESCRIPTION_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LESSOR_TYPE] DROP CONSTRAINT [LSSRTY_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LESSOR_TYPE] DROP CONSTRAINT [LSSRTY_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LESSOR_TYPE] DROP CONSTRAINT [LSSRTY_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LESSOR_TYPE] DROP CONSTRAINT [LSSRTY_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LESSOR_TYPE] DROP CONSTRAINT [LSSRTY_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LESSOR_TYPE] DROP CONSTRAINT [LSSRTY_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LESSOR_TYPE] DROP CONSTRAINT [LSSRTY_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LESSOR_TYPE', 'COLUMN', N'LESSOR_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LESSOR_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LESSOR_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LESSOR_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LESSOR_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_LESSOR_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_LEASE_PROGRAM_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_LEASE_PROGRAM_TYPE] DROP CONSTRAINT [LSPRGT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PROGRAM_TYPE] DROP CONSTRAINT [LSPRGT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PROGRAM_TYPE] DROP CONSTRAINT [LSPRGT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PROGRAM_TYPE] DROP CONSTRAINT [LSPRGT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PROGRAM_TYPE] DROP CONSTRAINT [LSPRGT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PROGRAM_TYPE] DROP CONSTRAINT [LSPRGT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PROGRAM_TYPE] DROP CONSTRAINT [LSPRGT_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_PROGRAM_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_LEASE_PROGRAM_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_LEASE_PMT_FREQ_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_LEASE_PMT_FREQ_TYPE] DROP CONSTRAINT [LSPMTF_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PMT_FREQ_TYPE] DROP CONSTRAINT [LSPMTF_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PMT_FREQ_TYPE] DROP CONSTRAINT [LSPMTF_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PMT_FREQ_TYPE] DROP CONSTRAINT [LSPMTF_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PMT_FREQ_TYPE] DROP CONSTRAINT [LSPMTF_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PMT_FREQ_TYPE] DROP CONSTRAINT [LSPMTF_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_PMT_FREQ_TYPE] DROP CONSTRAINT [LSPMTF_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_PMT_FREQ_TYPE', 'COLUMN', N'LEASE_PMT_FREQ_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_PMT_FREQ_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_LEASE_PMT_FREQ_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_LEASE_PMT_FREQ_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_LEASE_CATEGORY_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_LEASE_CATEGORY_TYPE] DROP CONSTRAINT [LSCATT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_CATEGORY_TYPE] DROP CONSTRAINT [LSCATT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_CATEGORY_TYPE] DROP CONSTRAINT [LSCATT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_CATEGORY_TYPE] DROP CONSTRAINT [LSCATT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_CATEGORY_TYPE] DROP CONSTRAINT [LSCATT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_CATEGORY_TYPE] DROP CONSTRAINT [LSCATT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_LEASE_CATEGORY_TYPE] DROP CONSTRAINT [LSCATT_PK] +GO + + +DROP TABLE [dbo].[PIMS_LEASE_CATEGORY_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMSX_TableDefinitions" */ +/* ---------------------------------------------------------------------- */ + +DROP TABLE [dbo].[PIMSX_TableDefinitions] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ORG_IDENTIFIER_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ORG_IDENTIFIER_TYPE] DROP CONSTRAINT [ORGIDT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORG_IDENTIFIER_TYPE] DROP CONSTRAINT [ORGIDT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORG_IDENTIFIER_TYPE] DROP CONSTRAINT [ORGIDT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORG_IDENTIFIER_TYPE] DROP CONSTRAINT [ORGIDT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORG_IDENTIFIER_TYPE] DROP CONSTRAINT [ORGIDT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORG_IDENTIFIER_TYPE] DROP CONSTRAINT [ORGIDT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORG_IDENTIFIER_TYPE] DROP CONSTRAINT [ORGIDT_PK] +GO + + +DROP TABLE [dbo].[PIMS_ORG_IDENTIFIER_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_DATA_SOURCE_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_DATA_SOURCE_TYPE] DROP CONSTRAINT [PIDSRT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DATA_SOURCE_TYPE] DROP CONSTRAINT [PIDSRT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DATA_SOURCE_TYPE] DROP CONSTRAINT [PIDSRT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DATA_SOURCE_TYPE] DROP CONSTRAINT [PIDSRT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DATA_SOURCE_TYPE] DROP CONSTRAINT [PIDSRT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DATA_SOURCE_TYPE] DROP CONSTRAINT [PIDSRT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_DATA_SOURCE_TYPE] DROP CONSTRAINT [PIDSRT_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_DATA_SOURCE_TYPE', 'COLUMN', N'DATA_SOURCE_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_DATA_SOURCE_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_DATA_SOURCE_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_DATA_SOURCE_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_DATA_SOURCE_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_DATA_SOURCE_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.__EFMigrationsHistory" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[__EFMigrationsHistory] DROP CONSTRAINT [MIGHIS_PK] +GO + + +DROP TABLE [dbo].[__EFMigrationsHistory] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_AREA_UNIT_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_AREA_UNIT_TYPE] DROP CONSTRAINT [ARUNIT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_AREA_UNIT_TYPE] DROP CONSTRAINT [ARUNIT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_AREA_UNIT_TYPE] DROP CONSTRAINT [ARUNIT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_AREA_UNIT_TYPE] DROP CONSTRAINT [ARUNIT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_AREA_UNIT_TYPE] DROP CONSTRAINT [ARUNIT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_AREA_UNIT_TYPE] DROP CONSTRAINT [ARUNIT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_AREA_UNIT_TYPE] DROP CONSTRAINT [ARUNIT_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_AREA_UNIT_TYPE', 'COLUMN', N'AREA_UNIT_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_AREA_UNIT_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_AREA_UNIT_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_AREA_UNIT_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_AREA_UNIT_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_AREA_UNIT_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROPERTY_TENURE_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROPERTY_TENURE_TYPE] DROP CONSTRAINT [PRPTNR_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TENURE_TYPE] DROP CONSTRAINT [PRPTNR_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TENURE_TYPE] DROP CONSTRAINT [PRPTNR_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TENURE_TYPE] DROP CONSTRAINT [PRPTNR_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TENURE_TYPE] DROP CONSTRAINT [PRPTNR_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TENURE_TYPE] DROP CONSTRAINT [PRPTNR_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TENURE_TYPE] DROP CONSTRAINT [PRPTNR_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_TENURE_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_PROPERTY_TENURE_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_CONTACT_METHOD_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_CONTACT_METHOD_TYPE] DROP CONSTRAINT [CNTMTT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CONTACT_METHOD_TYPE] DROP CONSTRAINT [CNTMTT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CONTACT_METHOD_TYPE] DROP CONSTRAINT [CNTMTT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CONTACT_METHOD_TYPE] DROP CONSTRAINT [CNTMTT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CONTACT_METHOD_TYPE] DROP CONSTRAINT [CNTMTT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CONTACT_METHOD_TYPE] DROP CONSTRAINT [CNTMTT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CONTACT_METHOD_TYPE] DROP CONSTRAINT [CNTMTT_PK] +GO + + +DROP TABLE [dbo].[PIMS_CONTACT_METHOD_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROPERTY_CLASSIFICATION_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROPERTY_CLASSIFICATION_TYPE] DROP CONSTRAINT [PRPCLT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_CLASSIFICATION_TYPE] DROP CONSTRAINT [PRPCLT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_CLASSIFICATION_TYPE] DROP CONSTRAINT [PRPCLT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_CLASSIFICATION_TYPE] DROP CONSTRAINT [PRPCLT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_CLASSIFICATION_TYPE] DROP CONSTRAINT [PRPCLT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_CLASSIFICATION_TYPE] DROP CONSTRAINT [PRPCLT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_CLASSIFICATION_TYPE] DROP CONSTRAINT [PRPCLT_PK] +GO + + +DROP TABLE [dbo].[PIMS_PROPERTY_CLASSIFICATION_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ROLE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ROLE] DROP CONSTRAINT [ROLE_ROLE_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ROLE] DROP CONSTRAINT [ROLE_IS_PUBLIC_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ROLE] DROP CONSTRAINT [ROLE_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ROLE] DROP CONSTRAINT [ROLE_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ROLE] DROP CONSTRAINT [ROLE_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ROLE] DROP CONSTRAINT [ROLE_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ROLE] DROP CONSTRAINT [ROLE_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ROLE] DROP CONSTRAINT [ROLE_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ROLE] DROP CONSTRAINT [ROLE_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ROLE] DROP CONSTRAINT [ROLE_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ROLE] DROP CONSTRAINT [ROLE_PK] +GO + + +DROP TABLE [dbo].[PIMS_ROLE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROPERTY_SERVICE_FILE_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROPERTY_SERVICE_FILE_TYPE] DROP CONSTRAINT [PRSVFT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_SERVICE_FILE_TYPE] DROP CONSTRAINT [PRSVFT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_SERVICE_FILE_TYPE] DROP CONSTRAINT [PRSVFT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_SERVICE_FILE_TYPE] DROP CONSTRAINT [PRSVFT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_SERVICE_FILE_TYPE] DROP CONSTRAINT [PRSVFT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_SERVICE_FILE_TYPE] DROP CONSTRAINT [PRSVFT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_SERVICE_FILE_TYPE] DROP CONSTRAINT [PRSVFT_PK] +GO + + +DROP TABLE [dbo].[PIMS_PROPERTY_SERVICE_FILE_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ACCESS_REQUEST_STATUS_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST_STATUS_TYPE] DROP CONSTRAINT [ARQSTT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST_STATUS_TYPE] DROP CONSTRAINT [ARQSTT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST_STATUS_TYPE] DROP CONSTRAINT [ARQSTT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST_STATUS_TYPE] DROP CONSTRAINT [ARQSTT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST_STATUS_TYPE] DROP CONSTRAINT [ARQSTT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST_STATUS_TYPE] DROP CONSTRAINT [ARQSTT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ACCESS_REQUEST_STATUS_TYPE] DROP CONSTRAINT [ARQSTT_PK] +GO + + +DROP TABLE [dbo].[PIMS_ACCESS_REQUEST_STATUS_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ORGANIZATION_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_TYPE] DROP CONSTRAINT [ORGTYP_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_TYPE] DROP CONSTRAINT [ORGTYP_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_TYPE] DROP CONSTRAINT [ORGTYP_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_TYPE] DROP CONSTRAINT [ORGTYP_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_TYPE] DROP CONSTRAINT [ORGTYP_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_TYPE] DROP CONSTRAINT [ORGTYP_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ORGANIZATION_TYPE] DROP CONSTRAINT [ORGTYP_PK] +GO + + +DROP TABLE [dbo].[PIMS_ORGANIZATION_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PERSON" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PERSON] DROP CONSTRAINT [PERSON_PERSON_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON] DROP CONSTRAINT [PERSON_USE_ORGANIZATION_ADDRESS_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON] DROP CONSTRAINT [PERSON_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON] DROP CONSTRAINT [PERSON_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON] DROP CONSTRAINT [PERSON_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON] DROP CONSTRAINT [PERSON_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON] DROP CONSTRAINT [PERSON_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON] DROP CONSTRAINT [PERSON_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON] DROP CONSTRAINT [PERSON_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON] DROP CONSTRAINT [PERSON_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PERSON] DROP CONSTRAINT [PERSON_PK] +GO + + +DROP TABLE [dbo].[PIMS_PERSON] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_CLAIM" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_CLAIM] DROP CONSTRAINT [CLMTYP_CLAIM_ID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CLAIM] DROP CONSTRAINT [CLMTYP_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CLAIM] DROP CONSTRAINT [CLMTYP_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CLAIM] DROP CONSTRAINT [CLMTYP_APP_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CLAIM] DROP CONSTRAINT [CLMTYP_APP_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CLAIM] DROP CONSTRAINT [CLMTYP_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CLAIM] DROP CONSTRAINT [CLMTYP_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CLAIM] DROP CONSTRAINT [CLMTYP_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CLAIM] DROP CONSTRAINT [CLMTYP_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_CLAIM] DROP CONSTRAINT [CLMTYP_PK] +GO + + +DROP TABLE [dbo].[PIMS_CLAIM] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_ADDRESS_USAGE_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_ADDRESS_USAGE_TYPE] DROP CONSTRAINT [ADUSGT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ADDRESS_USAGE_TYPE] DROP CONSTRAINT [ADUSGT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ADDRESS_USAGE_TYPE] DROP CONSTRAINT [ADUSGT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ADDRESS_USAGE_TYPE] DROP CONSTRAINT [ADUSGT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ADDRESS_USAGE_TYPE] DROP CONSTRAINT [ADUSGT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ADDRESS_USAGE_TYPE] DROP CONSTRAINT [ADUSGT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_ADDRESS_USAGE_TYPE] DROP CONSTRAINT [ADUSGT_PK] +GO + + +DROP TABLE [dbo].[PIMS_ADDRESS_USAGE_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_COUNTRY" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_COUNTRY] DROP CONSTRAINT [CNTRY_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_COUNTRY] DROP CONSTRAINT [CNTRY_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_COUNTRY] DROP CONSTRAINT [CNTRY_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_COUNTRY] DROP CONSTRAINT [CNTRY_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_COUNTRY] DROP CONSTRAINT [CNTRY_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_COUNTRY] DROP CONSTRAINT [CNTRY_PK] +GO + + +DROP TABLE [dbo].[PIMS_COUNTRY] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_REGION" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_REGION] DROP CONSTRAINT [REGION_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_REGION] DROP CONSTRAINT [REGION_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_REGION] DROP CONSTRAINT [REGION_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_REGION] DROP CONSTRAINT [REGION_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_REGION] DROP CONSTRAINT [REGION_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_REGION] DROP CONSTRAINT [REGION_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_REGION] DROP CONSTRAINT [REGION_PK] +GO + + +DROP TABLE [dbo].[PIMS_REGION] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROPERTY_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROPERTY_TYPE] DROP CONSTRAINT [PRPTYP_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TYPE] DROP CONSTRAINT [PRPTYP_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TYPE] DROP CONSTRAINT [PRPTYP_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TYPE] DROP CONSTRAINT [PRPTYP_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TYPE] DROP CONSTRAINT [PRPTYP_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TYPE] DROP CONSTRAINT [PRPTYP_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_TYPE] DROP CONSTRAINT [PRPTYP_PK] +GO + + +DROP TABLE [dbo].[PIMS_PROPERTY_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_RESEARCH_FILE_STATUS_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_STATUS_TYPE] DROP CONSTRAINT [RSRCHS_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_STATUS_TYPE] DROP CONSTRAINT [RSRCHS_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_STATUS_TYPE] DROP CONSTRAINT [RSRCHS_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_STATUS_TYPE] DROP CONSTRAINT [RSRCHS_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_STATUS_TYPE] DROP CONSTRAINT [RSRCHS_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_STATUS_TYPE] DROP CONSTRAINT [RSRCHS_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_RESEARCH_FILE_STATUS_TYPE] DROP CONSTRAINT [RSRCHS_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE_STATUS_TYPE', 'COLUMN', N'RESEARCH_FILE_STATUS_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE_STATUS_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE_STATUS_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE_STATUS_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_RESEARCH_FILE_STATUS_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_RESEARCH_FILE_STATUS_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_VOLUME_UNIT_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_VOLUME_UNIT_TYPE] DROP CONSTRAINT [VOLUTY_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_VOLUME_UNIT_TYPE] DROP CONSTRAINT [VOLUTY_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_VOLUME_UNIT_TYPE] DROP CONSTRAINT [VOLUTY_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_VOLUME_UNIT_TYPE] DROP CONSTRAINT [VOLUTY_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_VOLUME_UNIT_TYPE] DROP CONSTRAINT [VOLUTY_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_VOLUME_UNIT_TYPE] DROP CONSTRAINT [VOLUTY_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_VOLUME_UNIT_TYPE] DROP CONSTRAINT [VOLUTY_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_VOLUME_UNIT_TYPE', 'COLUMN', N'VOLUME_UNIT_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_VOLUME_UNIT_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_VOLUME_UNIT_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_VOLUME_UNIT_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_VOLUME_UNIT_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_VOLUME_UNIT_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_VOLUMETRIC_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_VOLUMETRIC_TYPE] DROP CONSTRAINT [PRVOLT_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_VOLUMETRIC_TYPE] DROP CONSTRAINT [PRVOLT_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_VOLUMETRIC_TYPE] DROP CONSTRAINT [PRVOLT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_VOLUMETRIC_TYPE] DROP CONSTRAINT [PRVOLT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_VOLUMETRIC_TYPE] DROP CONSTRAINT [PRVOLT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_VOLUMETRIC_TYPE] DROP CONSTRAINT [PRVOLT_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_VOLUMETRIC_TYPE] DROP CONSTRAINT [PRVOLT_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_VOLUMETRIC_TYPE', 'COLUMN', N'VOLUMETRIC_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_VOLUMETRIC_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_VOLUMETRIC_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_VOLUMETRIC_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_VOLUMETRIC_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_VOLUMETRIC_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROPERTY_ADJACENT_LAND_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROPERTY_ADJACENT_LAND_TYPE] DROP CONSTRAINT [PRADJL_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ADJACENT_LAND_TYPE] DROP CONSTRAINT [PRADJL_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ADJACENT_LAND_TYPE] DROP CONSTRAINT [PRADJL_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ADJACENT_LAND_TYPE] DROP CONSTRAINT [PRADJL_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ADJACENT_LAND_TYPE] DROP CONSTRAINT [PRADJL_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ADJACENT_LAND_TYPE] DROP CONSTRAINT [PRADJL_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ADJACENT_LAND_TYPE] DROP CONSTRAINT [PRADJL_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_ADJACENT_LAND_TYPE', 'COLUMN', N'PROPERTY_ADJACENT_LAND_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_ADJACENT_LAND_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_ADJACENT_LAND_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_ADJACENT_LAND_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_ADJACENT_LAND_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_PROPERTY_ADJACENT_LAND_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROPERTY_ROAD_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROPERTY_ROAD_TYPE] DROP CONSTRAINT [PRROAD_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ROAD_TYPE] DROP CONSTRAINT [PRROAD_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ROAD_TYPE] DROP CONSTRAINT [PRROAD_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ROAD_TYPE] DROP CONSTRAINT [PRROAD_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ROAD_TYPE] DROP CONSTRAINT [PRROAD_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ROAD_TYPE] DROP CONSTRAINT [PRROAD_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ROAD_TYPE] DROP CONSTRAINT [PRROAD_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_ROAD_TYPE', 'COLUMN', N'PROPERTY_ROAD_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_ROAD_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_ROAD_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_ROAD_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_ROAD_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_PROPERTY_ROAD_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROPERTY_STATUS_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROPERTY_STATUS_TYPE] DROP CONSTRAINT [PRPSTS_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_STATUS_TYPE] DROP CONSTRAINT [PRPSTS_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_STATUS_TYPE] DROP CONSTRAINT [PRPSTS_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_STATUS_TYPE] DROP CONSTRAINT [PRPSTS_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_STATUS_TYPE] DROP CONSTRAINT [PRPSTS_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_STATUS_TYPE] DROP CONSTRAINT [PRPSTS_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_STATUS_TYPE] DROP CONSTRAINT [PRPSTS_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_STATUS_TYPE', 'COLUMN', N'PROPERTY_STATUS_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_STATUS_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_STATUS_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_STATUS_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_STATUS_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_PROPERTY_STATUS_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.PIMS_PROPERTY_ANOMALY_TYPE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[PIMS_PROPERTY_ANOMALY_TYPE] DROP CONSTRAINT [PRANOM_IS_DISABLED_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ANOMALY_TYPE] DROP CONSTRAINT [PRANOM_CONCURRENCY_CONTROL_NUMBER_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ANOMALY_TYPE] DROP CONSTRAINT [PRANOM_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ANOMALY_TYPE] DROP CONSTRAINT [PRANOM_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ANOMALY_TYPE] DROP CONSTRAINT [PRANOM_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ANOMALY_TYPE] DROP CONSTRAINT [PRANOM_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[PIMS_PROPERTY_ANOMALY_TYPE] DROP CONSTRAINT [PRANOM_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_ANOMALY_TYPE', 'COLUMN', N'PROPERTY_ANOMALY_TYPE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_ANOMALY_TYPE', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_ANOMALY_TYPE', 'COLUMN', N'IS_DISABLED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_ANOMALY_TYPE', 'COLUMN', N'DISPLAY_ORDER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'PIMS_PROPERTY_ANOMALY_TYPE', NULL, NULL +GO + + +DROP TABLE [dbo].[PIMS_PROPERTY_ANOMALY_TYPE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_FOLIO_LAND_CHARACTERISTIC" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_FOLIO_LAND_CHARACTERISTIC] DROP CONSTRAINT [BCLCHR_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_LAND_CHARACTERISTIC] DROP CONSTRAINT [BCLCHR_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_LAND_CHARACTERISTIC] DROP CONSTRAINT [BCLCHR_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_LAND_CHARACTERISTIC] DROP CONSTRAINT [BCLCHR_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LAND_CHARACTERISTIC', 'COLUMN', N'LAND_CHARACTERISTIC_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LAND_CHARACTERISTIC', 'COLUMN', N'LAND_CHARACTERISTIC_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LAND_CHARACTERISTIC', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_FOLIO_LAND_CHARACTERISTIC] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_FOLIO_OIL_AND_GAS" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_FOLIO_OIL_AND_GAS] DROP CONSTRAINT [BCOILG_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_OIL_AND_GAS] DROP CONSTRAINT [BCOILG_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_OIL_AND_GAS] DROP CONSTRAINT [BCOILG_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_OIL_AND_GAS] DROP CONSTRAINT [BCOILG_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_OIL_AND_GAS', 'COLUMN', N'FARM_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_OIL_AND_GAS', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_FOLIO_OIL_AND_GAS] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_FOLIO_MANAGED_FOREST" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_FOLIO_MANAGED_FOREST] DROP CONSTRAINT [BCMFOR_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_MANAGED_FOREST] DROP CONSTRAINT [BCMFOR_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_MANAGED_FOREST] DROP CONSTRAINT [BCMFOR_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_MANAGED_FOREST] DROP CONSTRAINT [BCMFOR_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_MANAGED_FOREST', 'COLUMN', N'FARM_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_MANAGED_FOREST', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_FOLIO_MANAGED_FOREST] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_FOLIO_MANUFACTURED_HOME" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_FOLIO_MANUFACTURED_HOME] DROP CONSTRAINT [BCMANH_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_MANUFACTURED_HOME] DROP CONSTRAINT [BCMANH_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_MANUFACTURED_HOME] DROP CONSTRAINT [BCMANH_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_MANUFACTURED_HOME] DROP CONSTRAINT [BCMANH_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_MANUFACTURED_HOME', 'COLUMN', N'MH_REGISTRY_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_MANUFACTURED_HOME', 'COLUMN', N'MH_BAY_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_MANUFACTURED_HOME', 'COLUMN', N'MH_PARK' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_MANUFACTURED_HOME', 'COLUMN', N'MH_PARK_ROLL_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_MANUFACTURED_HOME', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_FOLIO_MANUFACTURED_HOME] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_FOLIO_FARM" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_FOLIO_FARM] DROP CONSTRAINT [BCFARM_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_FARM] DROP CONSTRAINT [BCFARM_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_FARM] DROP CONSTRAINT [BCFARM_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_FARM] DROP CONSTRAINT [BCFARM_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_FARM', 'COLUMN', N'FARM_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_FARM', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_FOLIO_FARM] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_ISLANDS_TRUST" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_ISLANDS_TRUST] DROP CONSTRAINT [BCISLT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_ISLANDS_TRUST] DROP CONSTRAINT [BCISLT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_ISLANDS_TRUST] DROP CONSTRAINT [BCISLT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_ISLANDS_TRUST] DROP CONSTRAINT [BCISLT_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_ISLANDS_TRUST', 'COLUMN', N'MINOR_TAXING_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_ISLANDS_TRUST', 'COLUMN', N'MINOR_TAXING_CODE_SHORT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_ISLANDS_TRUST', 'COLUMN', N'MINOR_TAXING_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_ISLANDS_TRUST', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_ISLANDS_TRUST] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_IMPROVEMENT_DISTRICT" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_IMPROVEMENT_DISTRICT] DROP CONSTRAINT [BCIMPD_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_IMPROVEMENT_DISTRICT] DROP CONSTRAINT [BCIMPD_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_IMPROVEMENT_DISTRICT] DROP CONSTRAINT [BCIMPD_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_IMPROVEMENT_DISTRICT] DROP CONSTRAINT [BCIMPD_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_IMPROVEMENT_DISTRICT', 'COLUMN', N'MINOR_TAXING_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_IMPROVEMENT_DISTRICT', 'COLUMN', N'MINOR_TAXING_CODE_SHORT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_IMPROVEMENT_DISTRICT', 'COLUMN', N'MINOR_TAXING_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_IMPROVEMENT_DISTRICT', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_IMPROVEMENT_DISTRICT] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_GENERAL_SERVICE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_GENERAL_SERVICE] DROP CONSTRAINT [BCGSVC_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_GENERAL_SERVICE] DROP CONSTRAINT [BCGSVC_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_GENERAL_SERVICE] DROP CONSTRAINT [BCGSVC_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_GENERAL_SERVICE] DROP CONSTRAINT [BCGSVC_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_GENERAL_SERVICE', 'COLUMN', N'MINOR_TAXING_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_GENERAL_SERVICE', 'COLUMN', N'MINOR_TAXING_CODE_SHORT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_GENERAL_SERVICE', 'COLUMN', N'MINOR_TAXING_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_GENERAL_SERVICE', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_GENERAL_SERVICE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_LOCAL_AREA" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_LOCAL_AREA] DROP CONSTRAINT [BCLCLA_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_LOCAL_AREA] DROP CONSTRAINT [BCLCLA_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_LOCAL_AREA] DROP CONSTRAINT [BCLCLA_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_LOCAL_AREA] DROP CONSTRAINT [BCLCLA_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_LOCAL_AREA', 'COLUMN', N'MINOR_TAXING_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_LOCAL_AREA', 'COLUMN', N'MINOR_TAXING_CODE_SHORT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_LOCAL_AREA', 'COLUMN', N'MINOR_TAXING_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_LOCAL_AREA', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_LOCAL_AREA] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_SPECIFIED_MUNICIPAL" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_SPECIFIED_MUNICIPAL] DROP CONSTRAINT [BCSPMU_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_SPECIFIED_MUNICIPAL] DROP CONSTRAINT [BCSPMU_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_SPECIFIED_MUNICIPAL] DROP CONSTRAINT [BCSPMU_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_SPECIFIED_MUNICIPAL] DROP CONSTRAINT [BCSPMU_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_SPECIFIED_MUNICIPAL', 'COLUMN', N'MINOR_TAXING_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_SPECIFIED_MUNICIPAL', 'COLUMN', N'MINOR_TAXING_CODE_SHORT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_SPECIFIED_MUNICIPAL', 'COLUMN', N'MINOR_TAXING_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_SPECIFIED_MUNICIPAL', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_SPECIFIED_MUNICIPAL] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_SPECIFIED_REGIONAL" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_SPECIFIED_REGIONAL] DROP CONSTRAINT [BCSPRG_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_SPECIFIED_REGIONAL] DROP CONSTRAINT [BCSPRG_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_SPECIFIED_REGIONAL] DROP CONSTRAINT [BCSPRG_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_SPECIFIED_REGIONAL] DROP CONSTRAINT [BCSPRG_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_SPECIFIED_REGIONAL', 'COLUMN', N'MINOR_TAXING_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_SPECIFIED_REGIONAL', 'COLUMN', N'MINOR_TAXING_CODE_SHORT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_SPECIFIED_REGIONAL', 'COLUMN', N'MINOR_TAXING_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_SPECIFIED_REGIONAL', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_SPECIFIED_REGIONAL] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_DEFINED" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_DEFINED] DROP CONSTRAINT [BCADFN_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_DEFINED] DROP CONSTRAINT [BCADFN_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_DEFINED] DROP CONSTRAINT [BCADFN_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_DEFINED] DROP CONSTRAINT [BCADFN_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DEFINED', 'COLUMN', N'MINOR_TAXING_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DEFINED', 'COLUMN', N'MINOR_TAXING_CODE_SHORT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DEFINED', 'COLUMN', N'MINOR_TAXING_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DEFINED', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_DEFINED] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_SERVICE_AREA" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_SERVICE_AREA] DROP CONSTRAINT [BCSVCA_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_SERVICE_AREA] DROP CONSTRAINT [BCSVCA_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_SERVICE_AREA] DROP CONSTRAINT [BCSVCA_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_SERVICE_AREA] DROP CONSTRAINT [BCSVCA_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_SERVICE_AREA', 'COLUMN', N'MINOR_TAXING_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_SERVICE_AREA', 'COLUMN', N'MINOR_TAXING_CODE_SHORT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_SERVICE_AREA', 'COLUMN', N'MINOR_TAXING_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_SERVICE_AREA', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_SERVICE_AREA] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_ELECTORAL_AREA" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_ELECTORAL_AREA] DROP CONSTRAINT [BCELCT_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_ELECTORAL_AREA] DROP CONSTRAINT [BCELCT_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_ELECTORAL_AREA] DROP CONSTRAINT [BCELCT_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_ELECTORAL_AREA] DROP CONSTRAINT [BCELCT_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_ELECTORAL_AREA', 'COLUMN', N'MINOR_TAXING_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_ELECTORAL_AREA', 'COLUMN', N'MINOR_TAXING_CODE_SHORT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_ELECTORAL_AREA', 'COLUMN', N'MINOR_TAXING_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_ELECTORAL_AREA', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_ELECTORAL_AREA] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_MINOR_TAXING" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_MINOR_TAXING] DROP CONSTRAINT [BCMNTX_MINOR_TAXING_ID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_MINOR_TAXING] DROP CONSTRAINT [BCMNTX_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_MINOR_TAXING] DROP CONSTRAINT [BCMNTX_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_MINOR_TAXING] DROP CONSTRAINT [BCMNTX_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_MINOR_TAXING] DROP CONSTRAINT [BCMNTX_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_MINOR_TAXING] DROP CONSTRAINT [BCMNTX_PK] +GO + + +DROP TABLE [dbo].[BCA_MINOR_TAXING] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_FOLIO_AMENDMENT" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_FOLIO_AMENDMENT] DROP CONSTRAINT [BCAFAM_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_AMENDMENT] DROP CONSTRAINT [BCAFAM_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_AMENDMENT] DROP CONSTRAINT [BCAFAM_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_AMENDMENT] DROP CONSTRAINT [BCAFAM_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_AMENDMENT', 'COLUMN', N'AMENDMENT_TYPE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_AMENDMENT', 'COLUMN', N'AMENDMENT_TYPE_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_AMENDMENT', 'COLUMN', N'AMENDMENT_REASON_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_AMENDMENT', 'COLUMN', N'AMENDMENT_REASON_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_AMENDMENT', 'COLUMN', N'SUPP_OCCUPANCY_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_AMENDMENT', 'COLUMN', N'SUPP_OCCUPANCY_CODE' +GO + + +DROP TABLE [dbo].[BCA_FOLIO_AMENDMENT] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_FOLIO_VALUATION" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_FOLIO_VALUATION] DROP CONSTRAINT [BCAVAL_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_VALUATION] DROP CONSTRAINT [BCAVAL_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_VALUATION] DROP CONSTRAINT [BCAVAL_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_VALUATION] DROP CONSTRAINT [BCAVAL_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_VALUATION', 'COLUMN', N'TAX_EXEMPT_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_VALUATION', 'COLUMN', N'TAX_EXEMPT_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_VALUATION', 'COLUMN', N'PROPERTY_CLASS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_VALUATION', 'COLUMN', N'PROPERTY_CLASS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_VALUATION', 'COLUMN', N'LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_VALUATION', 'COLUMN', N'IMPROVEMENT_VALUE' +GO + + +DROP TABLE [dbo].[BCA_FOLIO_VALUATION] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_FOLIO_SCHOOL_VALUE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_FOLIO_SCHOOL_VALUE] DROP CONSTRAINT [BCFSCV_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_SCHOOL_VALUE] DROP CONSTRAINT [BCFSCV_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_SCHOOL_VALUE] DROP CONSTRAINT [BCFSCV_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_SCHOOL_VALUE] DROP CONSTRAINT [BCFSCV_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_SCHOOL_VALUE', 'COLUMN', N'PROPERTY_CLASS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_SCHOOL_VALUE', 'COLUMN', N'PROPERTY_CLASS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_SCHOOL_VALUE', 'COLUMN', N'PROPERTY_SUBCLASS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_SCHOOL_VALUE', 'COLUMN', N'PROPERTY_SUBCLASS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_SCHOOL_VALUE', 'COLUMN', N'GROSS_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_SCHOOL_VALUE', 'COLUMN', N'GROSS_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_SCHOOL_VALUE', 'COLUMN', N'TAX_EXEMPT_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_SCHOOL_VALUE', 'COLUMN', N'TAX_EXEMPT_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_SCHOOL_VALUE', 'COLUMN', N'NET_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_SCHOOL_VALUE', 'COLUMN', N'NET_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_SCHOOL_VALUE', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_FOLIO_SCHOOL_VALUE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_FOLIO_BCTRANSIT_VALUE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_FOLIO_BCTRANSIT_VALUE] DROP CONSTRAINT [BCFTRV_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_BCTRANSIT_VALUE] DROP CONSTRAINT [BCFTRV_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_BCTRANSIT_VALUE] DROP CONSTRAINT [BCFTRV_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_BCTRANSIT_VALUE] DROP CONSTRAINT [BCFTRV_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_BCTRANSIT_VALUE', 'COLUMN', N'PROPERTY_CLASS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_BCTRANSIT_VALUE', 'COLUMN', N'PROPERTY_CLASS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_BCTRANSIT_VALUE', 'COLUMN', N'PROPERTY_SUBCLASS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_BCTRANSIT_VALUE', 'COLUMN', N'PROPERTY_SUBCLASS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_BCTRANSIT_VALUE', 'COLUMN', N'GROSS_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_BCTRANSIT_VALUE', 'COLUMN', N'GROSS_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_BCTRANSIT_VALUE', 'COLUMN', N'TAX_EXEMPT_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_BCTRANSIT_VALUE', 'COLUMN', N'TAX_EXEMPT_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_BCTRANSIT_VALUE', 'COLUMN', N'NET_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_BCTRANSIT_VALUE', 'COLUMN', N'NET_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_BCTRANSIT_VALUE', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_FOLIO_BCTRANSIT_VALUE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_FOLIO_GENERAL_VALUE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_FOLIO_GENERAL_VALUE] DROP CONSTRAINT [BCFGNV_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_GENERAL_VALUE] DROP CONSTRAINT [BCFGNV_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_GENERAL_VALUE] DROP CONSTRAINT [BCFGNV_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_GENERAL_VALUE] DROP CONSTRAINT [BCFGNV_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_GENERAL_VALUE', 'COLUMN', N'PROPERTY_CLASS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_GENERAL_VALUE', 'COLUMN', N'PROPERTY_CLASS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_GENERAL_VALUE', 'COLUMN', N'PROPERTY_SUBCLASS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_GENERAL_VALUE', 'COLUMN', N'PROPERTY_SUBCLASS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_GENERAL_VALUE', 'COLUMN', N'GROSS_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_GENERAL_VALUE', 'COLUMN', N'GROSS_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_GENERAL_VALUE', 'COLUMN', N'TAX_EXEMPT_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_GENERAL_VALUE', 'COLUMN', N'TAX_EXEMPT_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_GENERAL_VALUE', 'COLUMN', N'NET_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_GENERAL_VALUE', 'COLUMN', N'NET_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_GENERAL_VALUE', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_FOLIO_GENERAL_VALUE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_FOLIO_SALES" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_FOLIO_SALES] DROP CONSTRAINT [BCAFSA_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_SALES] DROP CONSTRAINT [BCAFSA_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_SALES] DROP CONSTRAINT [BCAFSA_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_SALES] DROP CONSTRAINT [BCAFSA_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_SALES', 'COLUMN', N'DOCUMENT_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_SALES', 'COLUMN', N'SALE_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_SALES', 'COLUMN', N'SALE_PRICE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_SALES', 'COLUMN', N'SALE_STATUS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_SALES', 'COLUMN', N'SALE_STATUS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_SALES', 'COLUMN', N'CONVEYANCE_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_SALES', 'COLUMN', N'CONVEYANCE_PRICE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_SALES', 'COLUMN', N'CONVEYANCE_TYPE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_SALES', 'COLUMN', N'CONVEYANCE_TYPE_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_SALES', 'COLUMN', N'REJECT_REASON_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_SALES', 'COLUMN', N'REJECT_REASON_DESCRIPTION' +GO + + +DROP TABLE [dbo].[BCA_FOLIO_SALES] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_FOLIO_DESCRIPTION" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_FOLIO_DESCRIPTION] DROP CONSTRAINT [BCAFDE_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_DESCRIPTION] DROP CONSTRAINT [BCAFDE_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_DESCRIPTION] DROP CONSTRAINT [BCAFDE_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_DESCRIPTION] DROP CONSTRAINT [BCAFDE_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'NEIGHBOURHOOD_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'NEIGHBOURHOOD_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'ACTUAL_USE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'ACTUAL_USE_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'VACANT_FLAG' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'BCTRANSIT_FLAG' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'POLICE_TAX_FLAG' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'ADD_SCHOOL_TAX_3M_TO_4M_FLAG' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'ADD_SCHOOL_TAX_GREATER_4M_FLAG' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'CANDIDATE_FOR_SPEC_TAX_FLAG' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'ALR_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'ALR_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'TENURE_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'TENURE_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'PARKING_AREA' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'LAND_DIMENSION_TYPE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'LAND_DIMENSION_TYPE_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'LAND_DIMENSION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'LAND_WIDTH' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'LAND_DEPTH' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'SCHOOL_DISTRICT_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'SCHOOL_DISTRICT_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'REGIONAL_DISTRICT_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'REGIONAL_DISTRICT_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'REGIONAL_HOSPITAL_DISTRICT_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'REGIONAL_HOSPITAL_DISTRICT_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'PREDOMINANT_MANUAL_CLASS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'PREDOMINANT_MANUAL_CLASS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', 'COLUMN', N'PREDOMINANT_PERCENT_DEVIATION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_DESCRIPTION', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_FOLIO_DESCRIPTION] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_JURISDICTION_BCTRANSIT_VALUE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_JURISDICTION_BCTRANSIT_VALUE] DROP CONSTRAINT [BCJTRV_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION_BCTRANSIT_VALUE] DROP CONSTRAINT [BCJTRV_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION_BCTRANSIT_VALUE] DROP CONSTRAINT [BCJTRV_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION_BCTRANSIT_VALUE] DROP CONSTRAINT [BCJTRV_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_BCTRANSIT_VALUE', 'COLUMN', N'PROPERTY_CLASS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_BCTRANSIT_VALUE', 'COLUMN', N'PROPERTY_CLASS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_BCTRANSIT_VALUE', 'COLUMN', N'PROPERTY_SUBCLASS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_BCTRANSIT_VALUE', 'COLUMN', N'PROPERTY_SUBCLASS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_BCTRANSIT_VALUE', 'COLUMN', N'GROSS_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_BCTRANSIT_VALUE', 'COLUMN', N'GROSS_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_BCTRANSIT_VALUE', 'COLUMN', N'TAX_EXEMPT_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_BCTRANSIT_VALUE', 'COLUMN', N'TAX_EXEMPT_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_BCTRANSIT_VALUE', 'COLUMN', N'NET_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_BCTRANSIT_VALUE', 'COLUMN', N'NET_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_BCTRANSIT_VALUE', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_JURISDICTION_BCTRANSIT_VALUE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_JURISDICTION_SCHOOL_VALUE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_JURISDICTION_SCHOOL_VALUE] DROP CONSTRAINT [BCJSCV_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION_SCHOOL_VALUE] DROP CONSTRAINT [BCJSCV_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION_SCHOOL_VALUE] DROP CONSTRAINT [BCJSCV_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION_SCHOOL_VALUE] DROP CONSTRAINT [BCJSCV_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_SCHOOL_VALUE', 'COLUMN', N'PROPERTY_CLASS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_SCHOOL_VALUE', 'COLUMN', N'PROPERTY_CLASS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_SCHOOL_VALUE', 'COLUMN', N'PROPERTY_SUBCLASS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_SCHOOL_VALUE', 'COLUMN', N'PROPERTY_SUBCLASS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_SCHOOL_VALUE', 'COLUMN', N'GROSS_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_SCHOOL_VALUE', 'COLUMN', N'GROSS_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_SCHOOL_VALUE', 'COLUMN', N'TAX_EXEMPT_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_SCHOOL_VALUE', 'COLUMN', N'TAX_EXEMPT_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_SCHOOL_VALUE', 'COLUMN', N'NET_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_SCHOOL_VALUE', 'COLUMN', N'NET_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_SCHOOL_VALUE', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_JURISDICTION_SCHOOL_VALUE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_JURISDICTION_GENERAL_VALUE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_JURISDICTION_GENERAL_VALUE] DROP CONSTRAINT [BCJGNV_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION_GENERAL_VALUE] DROP CONSTRAINT [BCJGNV_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION_GENERAL_VALUE] DROP CONSTRAINT [BCJGNV_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION_GENERAL_VALUE] DROP CONSTRAINT [BCJGNV_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_GENERAL_VALUE', 'COLUMN', N'PROPERTY_CLASS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_GENERAL_VALUE', 'COLUMN', N'PROPERTY_CLASS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_GENERAL_VALUE', 'COLUMN', N'PROPERTY_SUBCLASS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_GENERAL_VALUE', 'COLUMN', N'PROPERTY_SUBCLASS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_GENERAL_VALUE', 'COLUMN', N'GROSS_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_GENERAL_VALUE', 'COLUMN', N'GROSS_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_GENERAL_VALUE', 'COLUMN', N'TAX_EXEMPT_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_GENERAL_VALUE', 'COLUMN', N'TAX_EXEMPT_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_GENERAL_VALUE', 'COLUMN', N'NET_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_GENERAL_VALUE', 'COLUMN', N'NET_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_GENERAL_VALUE', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_JURISDICTION_GENERAL_VALUE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_AREA_SCHOOL_VALUE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_AREA_SCHOOL_VALUE] DROP CONSTRAINT [BCASCV_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_AREA_SCHOOL_VALUE] DROP CONSTRAINT [BCASCV_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_AREA_SCHOOL_VALUE] DROP CONSTRAINT [BCASCV_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_AREA_SCHOOL_VALUE] DROP CONSTRAINT [BCASCV_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_SCHOOL_VALUE', 'COLUMN', N'PROPERTY_CLASS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_SCHOOL_VALUE', 'COLUMN', N'PROPERTY_CLASS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_SCHOOL_VALUE', 'COLUMN', N'PROPERTY_SUBCLASS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_SCHOOL_VALUE', 'COLUMN', N'PROPERTY_SUBCLASS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_SCHOOL_VALUE', 'COLUMN', N'GROSS_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_SCHOOL_VALUE', 'COLUMN', N'GROSS_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_SCHOOL_VALUE', 'COLUMN', N'TAX_EXEMPT_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_SCHOOL_VALUE', 'COLUMN', N'TAX_EXEMPT_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_SCHOOL_VALUE', 'COLUMN', N'NET_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_SCHOOL_VALUE', 'COLUMN', N'NET_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_SCHOOL_VALUE', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_AREA_SCHOOL_VALUE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_AREA_BCTRANSIT_VALUE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_AREA_BCTRANSIT_VALUE] DROP CONSTRAINT [BCATRV_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_AREA_BCTRANSIT_VALUE] DROP CONSTRAINT [BCATRV_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_AREA_BCTRANSIT_VALUE] DROP CONSTRAINT [BCATRV_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_AREA_BCTRANSIT_VALUE] DROP CONSTRAINT [BCATRV_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_BCTRANSIT_VALUE', 'COLUMN', N'PROPERTY_CLASS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_BCTRANSIT_VALUE', 'COLUMN', N'PROPERTY_CLASS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_BCTRANSIT_VALUE', 'COLUMN', N'PROPERTY_SUBCLASS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_BCTRANSIT_VALUE', 'COLUMN', N'PROPERTY_SUBCLASS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_BCTRANSIT_VALUE', 'COLUMN', N'GROSS_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_BCTRANSIT_VALUE', 'COLUMN', N'GROSS_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_BCTRANSIT_VALUE', 'COLUMN', N'TAX_EXEMPT_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_BCTRANSIT_VALUE', 'COLUMN', N'TAX_EXEMPT_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_BCTRANSIT_VALUE', 'COLUMN', N'NET_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_BCTRANSIT_VALUE', 'COLUMN', N'NET_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_BCTRANSIT_VALUE', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_AREA_BCTRANSIT_VALUE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_AREA_GENERAL_VALUE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_AREA_GENERAL_VALUE] DROP CONSTRAINT [BCAGNV_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_AREA_GENERAL_VALUE] DROP CONSTRAINT [BCAGNV_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_AREA_GENERAL_VALUE] DROP CONSTRAINT [BCAGNV_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_AREA_GENERAL_VALUE] DROP CONSTRAINT [BCAGNV_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_GENERAL_VALUE', 'COLUMN', N'PROPERTY_CLASS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_GENERAL_VALUE', 'COLUMN', N'PROPERTY_CLASS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_GENERAL_VALUE', 'COLUMN', N'PROPERTY_SUBCLASS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_GENERAL_VALUE', 'COLUMN', N'PROPERTY_SUBCLASS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_GENERAL_VALUE', 'COLUMN', N'GROSS_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_GENERAL_VALUE', 'COLUMN', N'GROSS_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_GENERAL_VALUE', 'COLUMN', N'TAX_EXEMPT_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_GENERAL_VALUE', 'COLUMN', N'TAX_EXEMPT_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_GENERAL_VALUE', 'COLUMN', N'NET_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_GENERAL_VALUE', 'COLUMN', N'NET_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_GENERAL_VALUE', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_AREA_GENERAL_VALUE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_AREA_AMENDMENT" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_AREA_AMENDMENT] DROP CONSTRAINT [BCAAMD_FOLIO_COUNT_DEF] +GO + + +ALTER TABLE [dbo].[BCA_AREA_AMENDMENT] DROP CONSTRAINT [BCAAMD_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_AREA_AMENDMENT] DROP CONSTRAINT [BCAAMD_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_AREA_AMENDMENT] DROP CONSTRAINT [BCAAMD_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_AREA_AMENDMENT] DROP CONSTRAINT [BCAAMD_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_AMENDMENT', 'COLUMN', N'AMENDMENT_REASON_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_AMENDMENT', 'COLUMN', N'AMENDMENT_REASON_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_AMENDMENT', 'COLUMN', N'FOLIO_COUNT' +GO + + +DROP TABLE [dbo].[BCA_AREA_AMENDMENT] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_AREA_DELETE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_AREA_DELETE] DROP CONSTRAINT [BCADEL_DELETE_REASON_CODE_DEF] +GO + + +ALTER TABLE [dbo].[BCA_AREA_DELETE] DROP CONSTRAINT [BCADEL_FOLIO_COUNT_DEF] +GO + + +ALTER TABLE [dbo].[BCA_AREA_DELETE] DROP CONSTRAINT [BCADEL_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_AREA_DELETE] DROP CONSTRAINT [BCADEL_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_AREA_DELETE] DROP CONSTRAINT [BCADEL_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_AREA_DELETE] DROP CONSTRAINT [BCADEL_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_DELETE', 'COLUMN', N'DELETE_REASON_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_DELETE', 'COLUMN', N'DELETE_REASON_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_AREA_DELETE', 'COLUMN', N'FOLIO_COUNT' +GO + + +DROP TABLE [dbo].[BCA_AREA_DELETE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_DATA_ADVICE_AMENDMENT" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_AMENDMENT] DROP CONSTRAINT [BCDAMD_FOLIO_COUNT_DEF] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_AMENDMENT] DROP CONSTRAINT [BCDAMD_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_AMENDMENT] DROP CONSTRAINT [BCDAMD_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_AMENDMENT] DROP CONSTRAINT [BCDAMD_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_AMENDMENT] DROP CONSTRAINT [BCDAMD_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_AMENDMENT', 'COLUMN', N'AMENDMENT_REASON_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_AMENDMENT', 'COLUMN', N'AMENDMENT_REASON_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_AMENDMENT', 'COLUMN', N'FOLIO_COUNT' +GO + + +DROP TABLE [dbo].[BCA_DATA_ADVICE_AMENDMENT] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_DATA_ADVICE_DELETE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_DELETE] DROP CONSTRAINT [BCDDEL_DELETE_REASON_CODE_DEF] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_DELETE] DROP CONSTRAINT [BCDDEL_FOLIO_COUNT_DEF] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_DELETE] DROP CONSTRAINT [BCDDEL_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_DELETE] DROP CONSTRAINT [BCDDEL_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_DELETE] DROP CONSTRAINT [BCDDEL_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_DELETE] DROP CONSTRAINT [BCDDEL_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_DELETE', 'COLUMN', N'DELETE_REASON_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_DELETE', 'COLUMN', N'DELETE_REASON_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_DELETE', 'COLUMN', N'FOLIO_COUNT' +GO + + +DROP TABLE [dbo].[BCA_DATA_ADVICE_DELETE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_FOLIO_LEGAL_DESCRIPTION" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_FOLIO_LEGAL_DESCRIPTION] DROP CONSTRAINT [BCAFLD_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_LEGAL_DESCRIPTION] DROP CONSTRAINT [BCAFLD_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_LEGAL_DESCRIPTION] DROP CONSTRAINT [BCAFLD_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_LEGAL_DESCRIPTION] DROP CONSTRAINT [BCAFLD_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'FORMATTED_LEGAL_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'PID' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'LOT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'STRATA_LOT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'PARCEL' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'BLOCK' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'SUB_BLOCK' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'PLAN_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'SUB_LOT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'PART_1' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'PART_2' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'PART_3' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'PART_4' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'DISTRICT_LOT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'LEGAL_SUBDIVISION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'SECTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'TOWNSHIP' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'RANGE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'MERIDIAN' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'MERIDIAN_SHORT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'BCA_GROUP' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'LAND_DISTRICT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'LAND_DISTRICT_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'PORTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'EXCEPT_PLAN' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'FIRST_NATION_RESERVE_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'FIRST_NATION_RESERVE_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'LEASE_LICENSE_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'LAND_BRANCH_FILE_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'AIR_SPACE_PARCEL_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'NTS_LOCATION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_LEGAL_DESCRIPTION', 'COLUMN', N'LEGAL_TEXT' +GO + + +DROP TABLE [dbo].[BCA_FOLIO_LEGAL_DESCRIPTION] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_JURISDICTION_DELETE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_JURISDICTION_DELETE] DROP CONSTRAINT [BCJDEL_DELETE_REASON_CODE_DEF] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION_DELETE] DROP CONSTRAINT [BCJDEL_FOLIO_COUNT_DEF] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION_DELETE] DROP CONSTRAINT [BCJDEL_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION_DELETE] DROP CONSTRAINT [BCJDEL_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION_DELETE] DROP CONSTRAINT [BCJDEL_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION_DELETE] DROP CONSTRAINT [BCJDEL_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_DELETE', 'COLUMN', N'DELETE_REASON_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_DELETE', 'COLUMN', N'DELETE_REASON_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_DELETE', 'COLUMN', N'FOLIO_COUNT' +GO + + +DROP TABLE [dbo].[BCA_JURISDICTION_DELETE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_JURISDICTION_AMENDMENT" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_JURISDICTION_AMENDMENT] DROP CONSTRAINT [BCJAMD_FOLIO_COUNT_DEF] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION_AMENDMENT] DROP CONSTRAINT [BCJAMD_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION_AMENDMENT] DROP CONSTRAINT [BCJAMD_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION_AMENDMENT] DROP CONSTRAINT [BCJAMD_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION_AMENDMENT] DROP CONSTRAINT [BCJAMD_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_AMENDMENT', 'COLUMN', N'AMENDMENT_REASON_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_AMENDMENT', 'COLUMN', N'AMENDMENT_REASON_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION_AMENDMENT', 'COLUMN', N'FOLIO_COUNT' +GO + + +DROP TABLE [dbo].[BCA_JURISDICTION_AMENDMENT] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_DATA_ADVICE_SCHOOL_VALUE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_SCHOOL_VALUE] DROP CONSTRAINT [BCDSCV_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_SCHOOL_VALUE] DROP CONSTRAINT [BCDSCV_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_SCHOOL_VALUE] DROP CONSTRAINT [BCDSCV_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_SCHOOL_VALUE] DROP CONSTRAINT [BCDSCV_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_SCHOOL_VALUE', 'COLUMN', N'PROPERTY_CLASS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_SCHOOL_VALUE', 'COLUMN', N'PROPERTY_CLASS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_SCHOOL_VALUE', 'COLUMN', N'PROPERTY_SUBCLASS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_SCHOOL_VALUE', 'COLUMN', N'PROPERTY_SUBCLASS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_SCHOOL_VALUE', 'COLUMN', N'GROSS_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_SCHOOL_VALUE', 'COLUMN', N'GROSS_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_SCHOOL_VALUE', 'COLUMN', N'TAX_EXEMPT_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_SCHOOL_VALUE', 'COLUMN', N'TAX_EXEMPT_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_SCHOOL_VALUE', 'COLUMN', N'NET_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_SCHOOL_VALUE', 'COLUMN', N'NET_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_SCHOOL_VALUE', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_DATA_ADVICE_SCHOOL_VALUE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_DATA_ADVICE_BCTRANSIT_VALUE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_BCTRANSIT_VALUE] DROP CONSTRAINT [BCDTRV_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_BCTRANSIT_VALUE] DROP CONSTRAINT [BCDTRV_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_BCTRANSIT_VALUE] DROP CONSTRAINT [BCDTRV_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_BCTRANSIT_VALUE] DROP CONSTRAINT [BCDTRV_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_BCTRANSIT_VALUE', 'COLUMN', N'PROPERTY_CLASS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_BCTRANSIT_VALUE', 'COLUMN', N'PROPERTY_CLASS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_BCTRANSIT_VALUE', 'COLUMN', N'PROPERTY_SUBCLASS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_BCTRANSIT_VALUE', 'COLUMN', N'PROPERTY_SUBCLASS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_BCTRANSIT_VALUE', 'COLUMN', N'GROSS_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_BCTRANSIT_VALUE', 'COLUMN', N'GROSS_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_BCTRANSIT_VALUE', 'COLUMN', N'TAX_EXEMPT_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_BCTRANSIT_VALUE', 'COLUMN', N'TAX_EXEMPT_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_BCTRANSIT_VALUE', 'COLUMN', N'NET_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_BCTRANSIT_VALUE', 'COLUMN', N'NET_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_BCTRANSIT_VALUE', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_DATA_ADVICE_BCTRANSIT_VALUE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_DATA_ADVICE_GENERAL_VALUE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_GENERAL_VALUE] DROP CONSTRAINT [BCDGNV_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_GENERAL_VALUE] DROP CONSTRAINT [BCDGNV_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_GENERAL_VALUE] DROP CONSTRAINT [BCDGNV_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE_GENERAL_VALUE] DROP CONSTRAINT [BCDGNV_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_GENERAL_VALUE', 'COLUMN', N'PROPERTY_CLASS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_GENERAL_VALUE', 'COLUMN', N'PROPERTY_CLASS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_GENERAL_VALUE', 'COLUMN', N'PROPERTY_SUBCLASS_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_GENERAL_VALUE', 'COLUMN', N'PROPERTY_SUBCLASS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_GENERAL_VALUE', 'COLUMN', N'GROSS_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_GENERAL_VALUE', 'COLUMN', N'GROSS_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_GENERAL_VALUE', 'COLUMN', N'TAX_EXEMPT_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_GENERAL_VALUE', 'COLUMN', N'TAX_EXEMPT_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_GENERAL_VALUE', 'COLUMN', N'NET_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_GENERAL_VALUE', 'COLUMN', N'NET_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE_GENERAL_VALUE', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_DATA_ADVICE_GENERAL_VALUE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_OWNER" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_OWNER] DROP CONSTRAINT [BCAOWN_OWNER_ID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_OWNER] DROP CONSTRAINT [BCAOWN_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_OWNER] DROP CONSTRAINT [BCAOWN_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_OWNER] DROP CONSTRAINT [BCAOWN_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_OWNER] DROP CONSTRAINT [BCAOWN_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_OWNER] DROP CONSTRAINT [BCAOWN_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNER', 'COLUMN', N'FIRST_NAME' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNER', 'COLUMN', N'MIDDLE_NAME' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNER', 'COLUMN', N'MIDDLE_INITIAL' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNER', 'COLUMN', N'COMPANY_OR_LAST_NAME' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNER', 'COLUMN', N'OWNER_SEQUENCE_ID' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNER', 'COLUMN', N'EQUITY_TYPE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNER', 'COLUMN', N'EQUITY_TYPE_DESCRIPTION' +GO + + +DROP TABLE [dbo].[BCA_OWNER] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_OWNERSHIP_GROUP" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_OWNERSHIP_GROUP] DROP CONSTRAINT [BCAOWG_ASSESSMENT_NOTICE_RETURNED_DEF] +GO + + +ALTER TABLE [dbo].[BCA_OWNERSHIP_GROUP] DROP CONSTRAINT [BCAOWG_ASSESSMENT_NOTICE_SUPPRESSED_DEF] +GO + + +ALTER TABLE [dbo].[BCA_OWNERSHIP_GROUP] DROP CONSTRAINT [BCAOWG_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_OWNERSHIP_GROUP] DROP CONSTRAINT [BCAOWG_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_OWNERSHIP_GROUP] DROP CONSTRAINT [BCAOWG_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_OWNERSHIP_GROUP] DROP CONSTRAINT [BCAOWG_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_OWNERSHIP_GROUP] DROP CONSTRAINT [BCAOWG_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'OWNERSHIP_GROUP_ID' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'ASSESSMENT_NOTICE_RETURNED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'ASSESSMENT_NOTICE_SUPPRESSED' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'CHANGE_TYPE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'CHANGE_TYPE_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'CHANGE_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'FORMATTED_MAILING_ADDR_LINE_1' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'FORMATTED_MAILING_ADDR_LINE_2' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'FORMATTED_MAILING_ADDR_LINE_3' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'FORMATTED_MAILING_ADDR_LINE_4' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'FORMATTED_MAILING_ADDR_LINE_5' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'FORMATTED_MAILING_ADDR_LINE_6' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'MAILING_ADDR_ATTENTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'MAILING_ADDR_CARE_OF' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'MAILING_ADDR_FLOOR' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'MAILING_ADDR_UNIT_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'MAILING_ADDR_STREET_DIRECTION_PREFIX' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'MAILING_ADDR_STREET_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'MAILING_ADDR_STREET_NAME' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'MAILING_ADDR_STREET_TYPE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'MAILING_ADDR_STREET_DIRECTION_SUFFIX' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'MAILING_ADDR_CITY' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'MAILING_ADDR_PROVINCE_STATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'MAILING_ADDR_COUNTRY' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'MAILING_ADDR_POSTAL_ZIP' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'MAILING_ADDR_FREE_FORM' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'MAILING_ADDR_COMPARTMENT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'MAILING_ADDR_DELIVERY_INSTALLATION_TYPE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'MAILING_ADDR_MODE_OF_DELIVERY' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'MAILING_ADDR_MODE_OF_DELIVERY_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'MAILING_ADDR_SITE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'MAILING_ADDR_BULK_MAIL_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'CHANGE_SOURCE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', 'COLUMN', N'CHANGE_SOURCE_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_OWNERSHIP_GROUP', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_OWNERSHIP_GROUP] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_FOLIO_ADDRESS" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_FOLIO_ADDRESS] DROP CONSTRAINT [BCFADR_PRIMARY_FLAG_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_ADDRESS] DROP CONSTRAINT [BCFADR_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_ADDRESS] DROP CONSTRAINT [BCFADR_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_ADDRESS] DROP CONSTRAINT [BCFADR_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_ADDRESS] DROP CONSTRAINT [BCFADR_DB_LAST_UPDATE_USERID_DEF] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_ADDRESS', 'COLUMN', N'ADDRESS_ID' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_ADDRESS', 'COLUMN', N'PRIMARY_FLAG' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_ADDRESS', 'COLUMN', N'UNIT_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_ADDRESS', 'COLUMN', N'STREET_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_ADDRESS', 'COLUMN', N'STREET_DIRECTION_PREFIX' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_ADDRESS', 'COLUMN', N'STREET_NAME' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_ADDRESS', 'COLUMN', N'STREET_TYPE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_ADDRESS', 'COLUMN', N'STREET_DIRECTION_SUFFIX' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_ADDRESS', 'COLUMN', N'CITY' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_ADDRESS', 'COLUMN', N'PROVINCE_STATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_ADDRESS', 'COLUMN', N'POSTAL_ZIP' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_ADDRESS', 'COLUMN', N'MAP_REFERENCE_NUMBER' +GO + + +DROP TABLE [dbo].[BCA_FOLIO_ADDRESS] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_FOLIO_RECORD" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_FOLIO_RECORD] DROP CONSTRAINT [BCAFOR_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_RECORD] DROP CONSTRAINT [BCAFOR_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_RECORD] DROP CONSTRAINT [BCAFOR_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_RECORD] DROP CONSTRAINT [BCAFOR_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_FOLIO_RECORD] DROP CONSTRAINT [BCAFOR_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_RECORD', 'COLUMN', N'ROLL_NUMBER' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_RECORD', 'COLUMN', N'FOLIO_STATUS' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_RECORD', 'COLUMN', N'FOLIO_STATUS_DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_RECORD', 'COLUMN', N'ACTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_FOLIO_RECORD', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_FOLIO_RECORD] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_JURISDICTION" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_JURISDICTION] DROP CONSTRAINT [BCAJUR_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION] DROP CONSTRAINT [BCAJUR_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION] DROP CONSTRAINT [BCAJUR_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION] DROP CONSTRAINT [BCAJUR_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_JURISDICTION] DROP CONSTRAINT [BCAJUR_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION', 'COLUMN', N'JURISDICTION_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_JURISDICTION', 'COLUMN', N'DESCRIPTION' +GO + + +DROP TABLE [dbo].[BCA_JURISDICTION] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_ASSESSMENT_AREA" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_ASSESSMENT_AREA] DROP CONSTRAINT [BCASAR_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_ASSESSMENT_AREA] DROP CONSTRAINT [BCASAR_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_ASSESSMENT_AREA] DROP CONSTRAINT [BCASAR_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_ASSESSMENT_AREA] DROP CONSTRAINT [BCASAR_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_ASSESSMENT_AREA] DROP CONSTRAINT [BCASAR_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_ASSESSMENT_AREA', 'COLUMN', N'AREA_CODE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_ASSESSMENT_AREA', 'COLUMN', N'DESCRIPTION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_ASSESSMENT_AREA', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_ASSESSMENT_AREA] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop table "dbo.BCA_DATA_ADVICE" */ +/* ---------------------------------------------------------------------- */ + +/* Drop constraints */ + +ALTER TABLE [dbo].[BCA_DATA_ADVICE] DROP CONSTRAINT [BCDADV_DATA_ADVICE_ID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE] DROP CONSTRAINT [BCDADV_DB_CREATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE] DROP CONSTRAINT [BCDADV_DB_CREATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE] DROP CONSTRAINT [BCDADV_DB_LAST_UPDATE_TIMESTAMP_DEF] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE] DROP CONSTRAINT [BCDADV_DB_LAST_UPDATE_USERID_DEF] +GO + + +ALTER TABLE [dbo].[BCA_DATA_ADVICE] DROP CONSTRAINT [BCDADV_PK] +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE', 'COLUMN', N'DATA_ADVICE_ID' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE', 'COLUMN', N'ROLL_YEAR' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE', 'COLUMN', N'OWNERSHIP_YEAR' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE', 'COLUMN', N'RUN_TYPE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE', 'COLUMN', N'START_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE', 'COLUMN', N'END_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE', 'COLUMN', N'TOTAL_FOLIO_COUNT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE', 'COLUMN', N'TAXABLE_FOLIO_COUNT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE', 'COLUMN', N'TAX_EXEMPT_FOLIO_COUNT' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE', 'COLUMN', N'TOTAL_GROSS_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE', 'COLUMN', N'TOTAL_GROSS_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE', 'COLUMN', N'TOTAL_TAX_EXEMPT_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE', 'COLUMN', N'TOTAL_TAX_EXEMPT_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE', 'COLUMN', N'TOTAL_NET_LAND_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE', 'COLUMN', N'TOTAL_NET_IMPROVEMENT_VALUE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE', 'COLUMN', N'VERSION' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE', 'COLUMN', N'REQUEST_ID' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE', 'COLUMN', N'ORDER_ID' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE', 'COLUMN', N'RUN_DATE' +GO + + +EXECUTE sp_dropextendedproperty N'MS_Description', 'SCHEMA', N'dbo', 'TABLE', N'BCA_DATA_ADVICE', NULL, NULL +GO + + +DROP TABLE [dbo].[BCA_DATA_ADVICE] +GO + + +/* ---------------------------------------------------------------------- */ +/* Drop sequences */ +/* ---------------------------------------------------------------------- */ + +DROP SEQUENCE [dbo].[PIMS_ACQUISITION_FILE_NOTE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PRODUCT_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROJECT_STATUS_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACQUISITION_FILE_NOTE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PRODUCT_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PRODUCT_WORK_ACTIVITY_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PRODUCT_BUSINESS_FUNCTION_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PRODUCT_COST_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_FINANCIAL_ACTIVITY_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_WORK_ACTIVITY_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_CHART_OF_ACCOUNTS_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_COST_TYPE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_RESPONSIBILITY_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_BUSINESS_FUNCTION_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_RESPONSIBILITY_CODE_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_RESPONSIBILITY_CODE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_WORK_ACTIVITY_CODE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_YEARLY_FINANCIAL_CODE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_BUSINESS_FUNCTION_CODE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_COST_TYPE_CODE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_LEASE_ACTIVITY_INSTANCE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_GL_ACCOUNT_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_YEARLY_FINANCIAL_CODE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_RESPONSIBILITY_CENTRE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACQUISITION_FILE_NO_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACTIVITY_TEMPLATE_DOCUMENT_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACT_INST_PROP_ACQ_FILE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACT_INST_PROP_RSRCH_FILE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACQUISITION_FILE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACQUISITION_OWNER_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACQUISITION_FILE_PERSON_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACTIVITY_TEMPLATE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACQUISITION_ACTIVITY_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACQUISITION_FILE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACQUISITION_FILE_PERSON_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACQUISITION_OWNER_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACTIVITY_TEMPLATE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROPERTY_ACQUISITION_FILE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACTIVITY_INSTANCE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_NOTE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_DOCUMENT_TYPE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_DOCUMENT_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_DOCUMENT_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_NOTE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_DOCUMENT_TYP_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[BCA_DATA_ADVICE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_REGION_USER_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_REGION_USER_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[BCA_OWNER_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[BCA_MINOR_TAXING_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROP_PROP_ROAD_TYPE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROP_PROP_ANOMALY_TYPE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROP_PROP_ADJACENT_LAND_TYPE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROP_PROP_TENURE_TYPE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_RESEARCH_FILE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROPERTY_RESEARCH_FILE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_RFILE_NUMBER_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_RESEARCH_FILE_PURPOSE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PRF_PROP_RESEARCH_PURPOSE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROPERTY_RESEARCH_FILE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_RESEARCH_FILE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_RESEARCH_FILE_PURPOSE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_SECURITY_DEPOSIT_HOLDER_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_STATIC_VARIABLE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_TENANT_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ORGANIZATION_ADDRESS_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PERSON_ADDRESS_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PERSON_ADDRESS_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ORGANIZATION_ADDRESS_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_LEASE_TERM_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_LEASE_PAYMENT_FORECAST_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_LEASE_PAYMENT_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_LEASE_PAYMENT_PERIOD_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_LEASE_TERM_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_LEASE_TENANT_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_LEASE_PAYMENT_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_LEASE_PAYMENT_PERIOD_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_INSURANCE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_SECURITY_DEPOSIT_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROPERTY_TAX_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROPERTY_IMPROVEMENT_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROPERTY_TAX_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_SECURITY_DEPOSIT_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_INSURANCE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_LEASE_TENANT_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROPERTY_IMPROVEMENT_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_TASK_TEMPLATE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACTIVITY_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_USER_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACTIVITY_MODEL_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_USER_ORGANIZATION_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ADDRESS_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_USER_ROLE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_CLAIM_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_WORKFLOW_MODEL_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_CONTACT_METHOD_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ORGANIZATION_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PERSON_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PERSON_ORGANIZATION_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROJECT_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROJECT_NOTE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROJECT_PROPERTY_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROJECT_WORKFLOW_MODEL_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROPERTY_ACTIVITY_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROPERTY_EVALUATION_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROPERTY_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROPERTY_ORGANIZATION_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROPERTY_SERVICE_FILE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ROLE_CLAIM_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ROLE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_TASK_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACCESS_REQUEST_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_TASK_TEMPLATE_ACTIVITY_MODEL_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_LEASE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_LEASE_PAYMENT_FORECAST_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_LEASE_ACTIVITY_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_LEASE_ACTIVITY_PERIOD_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROPERTY_LEASE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_L_FILE_NO_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_LEASE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROPERTY_LEASE_H_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROJECT_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROPERTY_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACTIVITY_INSTANCE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROJECT_WORKFLOW_MODEL_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_TASK_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACTIVITY_MODEL_TASK_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_TASK_TEMPLATE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACTIVITY_SERVICE_FILE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACTIVITY_TASK_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_USER_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROJECT_PROPERTY_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_WORKFLOW_MODEL_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROPERTY_ACTIVITY_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_USER_TASK_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ORGANIZATION_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PERSON_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PERSON_ORGANIZATION_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACCESS_REQUEST_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACCESS_REQUEST_ORGANIZATION_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROJECT_NOTE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ACTIVITY_MODEL_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ADDRESS_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_USER_ORGANIZATION_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ROLE_CLAIM_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ROLE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_USER_ROLE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_CLAIM_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROJECT_NUMBER_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_TASK_TEMPLATE_ACTIVITY_MODEL_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_CONTACT_METHOD_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROJECT_ORGANIZATION_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROPERTY_PROPERTY_SERVICE_FILE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROPERTY_ORGANIZATION_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_STRUCTURE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_ASSET_EVALUATION_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROPERTY_EVALUATION_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROPERTY_STRUCTURE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_BUILDING_CONSTRUCTION_TYPE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_BUILDING_OCCUPANT_TYPE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_BUILDING_PREDOMINATE_USE_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_BUILDING_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_BUILDING_EVALUATION_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_BUILDING_FISCAL_ID_SEQ] +GO + + +DROP SEQUENCE [dbo].[PIMS_PROPERTY_SERVICE_FILE_ID_SEQ] +GO + diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/PIMS S47.00 Change Log.txt b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/PIMS S47.00 Change Log.txt new file mode 100644 index 0000000000..69c552acf7 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/PIMS S47.00 Change Log.txt @@ -0,0 +1,1007 @@ +PSP_PIMS S47.00 Sprint 47 2023-Feb-03 +- Added tables: + - PIMS_CONSULTATION_STATUS_TYPE + - PIMS_CONSULTATION_TYPE + - PIMS_LEASE_CONSULTATION + - PIMS_LEASE_CONSULTATION_HIST + - PIMS_LEASE_DOCUMENT + - PIMS_LEASE_DOCUMENT_HIST + - PIMS_LEASE_NOTE + - PIMS_LEASE_NOTE_HIST + - PIMS_RESEARCH_FILE_PROJECT + - PIMS_RESEARCH_FILE_PROJECT_HIST +- Altered tables: + - PIMS_PROJECT + - PIMS_RESEARCH_FILE_DOCUMENT + - PIMS_RESEARCH_FILE_DOCUMENT_HIST + - PIMS_RESEARCH_FILE_NOTE + - PIMS_RESEARCH_FILE_NOTE_HIST +- Added seed scripts: + - 111_DML_PIMS_BUSINESS_FUNCTION_CODE.sql + - 112_DML_PIMS_COST_TYPE_CODE.sql + - 113_DML_PIMS_WORK_ACTIVITY_CODE.sql + - 114_DML_PIMS_CONSULTATION_STATUS_TYPE.sql + - 115_DML_PIMS_CONSULTATION_TYPE.sql +- Altered seed scripts: + - 100_DML_PIMS_ACTIVITY_TEMPLATE.sql +- Altered test scripts: + - 24_PIMS_ACTIVITY_TEMPLATE.sql +- Requires additional metadata to meet standards + +PSP_PIMS S46.00 Sprint 46 2023-JAN-20 +- Added tables: + - PIMS_ACQUISITION_FILE_DOCUMENT + - PIMS_ACQUISITION_FILE_DOCUMENT_HIST + - PIMS_RESEARCH_FILE_DOCUMENT + - PIMS_RESEARCH_FILE_DOCUMENT_HIST + - PIMS_RESEARCH_FILE_NOTE + - PIMS_RESEARCH_FILE_NOTE_HIST +- Altered tables: + - PIMS_PROJECT + - PIMS_PROJECT_HIST +- Added test scripts: + - 39_PIMS_PROJECT.sql + - 41_PIMS_LEASE_TERM.sql + - 42_PIMS_LEASE_PAYMENT.sql +- Requires additional metadata to meet standards + +PSP_PIMS S45.01 Sprint 45 2023-JAN-12 +- Altered tables: + - PIMS_ACQUISITION_FILE_NOTE + - PIMS_BUSINESS_FUNCTION_CODE + - PIMS_COST_TYPE_CODE + - PIMS_CHART_OF_ACCOUNTS_CODE + - PIMS_CHART_OF_ACCOUNTS_CODE_HIST + - PIMS_FINANCIAL_ACTIVITY_CODE + - PIMS_FINANCIAL_ACTIVITY_CODE_HIST + - PIMS_PROJECT + - PIMS_PRODUCT + - PIMS_RESPONSIBILITY_CODE + - PIMS_RESPONSIBILITY_CODE_HIST + - PIMS_WORK_ACTIVITY_CODE + - PIMS_YEARLY_FINANCIAL_CODE +- Added seed scripts: + - 094_DML_PIMS_ACTIVITY_TEMPLATE_TYPE_Alter_Up.sql + - 094_DML_PIMS_ACTIVITY_TEMPLATE_TYPE_Alter_Down.sql +- Altered seed scripts: + - 094_DML_PIMS_ACTIVITY_TEMPLATE_TYPE.sql +- Added test scripts: + - 39_PIMS_PROJECT.sql + - 40_PIMS_PRODUCT.sql +- Requires additional metadata to meet standards + +PSP_PIMS S45.00 Sprint 45 2023-JAN-05 +- Added tables: + - PIMS_ACQUISITION_FILE_NOTE + - PIMS_ACQUISITION_FILE_NOTE_HIST + - PIMS_PRODUCT + - PIMS_PRODUCT_HIST + - PIMS_PROJECT + - PIMS_PROJECT_HIST + - PIMS_PROJECT_STATUS +- Altered tables: + - Added IS_DISABLED column + - PIMS_ACTIVITY_TEMPLATE + - PIMS_ACTIVITY_TEMPLATE_HIST +- Requires additional metadata to meet standards + +PSP_PIMS S44.00 Sprint 43 2022-DEC-20 +- Altered tables: + - Added LEGA​CY_FILE_​NUMBER column + - PIMS_ACQUISITION_FILE + - PIMS_ACQUISITION_FILE_HIST + - Changed FILE​_NUMBER_​SUFFIX from VARCHAR(2) to NVARCHAR(2) + - PIMS_PROPERTY + - PIMS_PROPERTY_HIST + - Changed FILE​_NUMBER_​SUFFIX from NVARCHAR(2) to VARCHAR(2) + - PIMS_PROPERTY + - PIMS_PROPERTY_HIST + - 002_PSP_PIMS_Build.sql in the following builds: + - IS-40.00 + - IS-41.00 + - IS-42.00 + - IS-43.00 +- Altered views: + - Added additional qualifier to IS_PAYABLE_LEASE column logic + - PIMS_PROPERTY_BOUNDARY_VW + - PIMS_PROPERTY_LOCATION_VW +- Requires additional metadata to meet standards + +PSP_PIMS S43.00 Sprint 42 2022-DEC-07 +- Altered tables: + - Added NAME column + - PIMS_PROPERTY_LEASE + - PIMS_PROPERTY_LEASE_HIST +- Altered views: + - Added IS_PAYABLE_LEASE column + - PIMS_PROPERTY_BOUNDARY_VW + - PIMS_PROPERTY_LOCATION_VW +- Requires additional metadata to meet standards + +PSP_PIMS S42.00 Sprint 42 2022-DEC-01 +- Added tables: + - PIMS_TENANT_TYPE +- Altered tables: + - Indices added: + - PIMS_PROPERTY + - PMBC_PARCEL_POLYGON_FABRIC +- Added seed scripts: + - PIMS_PROPERTY_BOUNDARY_VW + - Added IS_PAYABLE_LEASE + - PIMS_PROPERTY_LOCATION_VW + - Added IS_PAYABLE_LEASE +- Requires additional metadata to meet standards + +PSP_PIMS S41.00_B Sprint 43 2022-Nov-29 +*** ******************************************************************* *** +*** THIS RELEASE REPLACES THE DEPRECATED S41.00 AND THE S41.01 RELEASES *** +*** ******************************************************************* *** +- Altered tables: + - PIMS_ACTIVITY_INSTANCE + - Set ACTIVITY_TEMPLATE_ID to NOT NULL + - PIMS_ACTIVITY_TEMPLATE + - Set ACTIVITY_TEMPLATE_TYPE_CODE to NOT NULL + - PIMS_PROPERTY + - Added index to PID +- Added tables: + - PIMS_BUSINESS_FUNCTION_CODE + - PIMS_BUSINESS_FUNCTION_CODE_HIST + - PIMS_CHART_OF_ACCOUNTS_CODE + - PIMS_CHART_OF_ACCOUNTS_CODE_HIST + - PIMS_COST_TYPE_CODE + - PIMS_COST_TYPE_CODE_HIST + - PIMS_FINANCIAL_ACTIVITY_CODE + - PIMS_FINANCIAL_ACTIVITY_CODE_HIST + - PIMS_RESPONSIBILITY_CODE + - PIMS_RESPONSIBILITY_CODE_HIST + - PIMS_WORK_ACTIVITY_CODE + - PIMS_WORK_ACTIVITY_CODE_HIST + - PIMS_YEARLY_FINANCIAL_CODE + - PIMS_YEARLY_FINANCIAL_CODE_HIST +- Added seed scripts: + - 094_DML_PIMS_ACTIVITY_TEMPLATE_TYPE_Insert.sql + - 094_DML_PIMS_ACTIVITY_TEMPLATE_TYPE_Delete.sql + - 100_DML_PIMS_ACTIVITY_TEMPLATE_Insert.sql + - 100_DML_PIMS_ACTIVITY_TEMPLATE_Delete.sql + - 101_DML_PIMS_COST_TYPE_CODE.sql + - 102_DML_PIMS_CHART_OF_ACCOUNTS_CODE.sql + - 103_DML_PIMS_BUSINESS_FUNCTION_CODE.sql + - 104_DML_PIMS_YEARLY_FINANCIAL_CODE.sql + - 105_DML_PIMS_RESPONSIBILITY_CODE.sql + - 106_DML_SET_PIMS_RESPONSIBILITY_CODE_SEQ.sql + - 107_DML_PIMS_FINANCIAL_ACTIVITY_CODE.sql + - 108_DML_PIMS_WORK_ACTIVITY_CODE.sql +- Altered seed script: + - 094_DML_PIMS_ACTIVITY_TEMPLATE_TYPE.sql + - Added 'File Document' + - 100_DML_PIMS_ACTIVITY_TEMPLATE.sql + - Added 'File Document' +- Requires additional metadata to meet standards + +PSP_PIMS S41.01 Sprint 43 2022-Nov-25 +*** ********** *** +*** DEPRECATED *** +*** ********** *** +- Altered tables: + - Added named default contrants to the following: + - PIMS_ACTIVITY_INSTANCE.ACTIVITY_TEMPLATE_ID + - PIMS_ACTIVITY_TEMPLATE.ACTIVITY_TEMPLATE_TYPE_CODE +- Requires additional metadata to meet standards + +PSP_PIMS S41.00 Sprint 40 2022-Oct-31 +*** ********** *** +*** DEPRECATED *** +*** ********** *** +- Altered tables: + - PIMS_ACTIVITY_INSTANCE + - Set ACTIVITY_TEMPLATE_ID to NOT NULL + - PIMS_ACTIVITY_TEMPLATE + - Set ACTIVITY_TEMPLATE_TYPE_CODE to NOT NULL + - PIMS_PROPERTY + - Added index to PID +- Added tables: + - PIMS_BUSINESS_FUNCTION_CODE + - PIMS_BUSINESS_FUNCTION_CODE_HIST + - PIMS_CHART_OF_ACCOUNTS_CODE + - PIMS_CHART_OF_ACCOUNTS_CODE_HIST + - PIMS_COST_TYPE_CODE + - PIMS_COST_TYPE_CODE_HIST + - PIMS_FINANCIAL_ACTIVITY_CODE + - PIMS_FINANCIAL_ACTIVITY_CODE_HIST + - PIMS_RESPONSIBILITY_CODE + - PIMS_RESPONSIBILITY_CODE_HIST + - PIMS_WORK_ACTIVITY_CODE + - PIMS_WORK_ACTIVITY_CODE_HIST + - PIMS_YEARLY_FINANCIAL_CODE + - PIMS_YEARLY_FINANCIAL_CODE_HIST +- Added seed scripts: + - 094_DML_PIMS_ACTIVITY_TEMPLATE_TYPE_Insert.sql + - 094_DML_PIMS_ACTIVITY_TEMPLATE_TYPE_Delete.sql + - 100_DML_PIMS_ACTIVITY_TEMPLATE_Insert.sql + - 100_DML_PIMS_ACTIVITY_TEMPLATE_Delete.sql + - 101_DML_PIMS_COST_TYPE_CODE.sql + - 102_DML_PIMS_CHART_OF_ACCOUNTS_CODE.sql + - 103_DML_PIMS_BUSINESS_FUNCTION_CODE.sql + - 104_DML_PIMS_YEARLY_FINANCIAL_CODE.sql + - 105_DML_PIMS_RESPONSIBILITY_CODE.sql + - 106_DML_SET_PIMS_RESPONSIBILITY_CODE_SEQ.sql + - 107_DML_PIMS_FINANCIAL_ACTIVITY_CODE.sql + - 108_DML_PIMS_WORK_ACTIVITY_CODE.sql +- Altered seed script: + - 094_DML_PIMS_ACTIVITY_TEMPLATE_TYPE.sql + - Added 'File Document' + - 100_DML_PIMS_ACTIVITY_TEMPLATE.sql + - Added 'File Document' +- Requires additional metadata to meet standards + +PSP_PIMS S40.00 Sprint 39 2022-Oct-25 +- Added table: + - PIMS_LEASE_ACTIVITY_INSTANCE + - PIMS_LEASE_ACTIVITY_INSTANCE_HIST +- Requires additional metadata to meet standards + +PSP_PIMS S39.01 Sprint 38 2022-Oct-05 +- Altered tables: + - PIMS_ACTIVITY_INSTANCE: Altered child relationships to ON DELETE CASCADE + - PIM_ACTINS_PIM_AIPAFL_FK + - PIM_ACTINS_PIM_ACTINN_FK + - PIM_ACTINS_PIM_ACTDOC_FK + - PIM_ACTINS_PIM_AIPRFL_FK + - PIM_ACTINS_PIM_RSCHAI_FK + - PIM_ACTINS_PIM_ACQAIN_FK + - PIMS_ACQUISITION_FILE: Altered child relationships to ON DELETE CASCADE + - PIM_ACQNFL_PIM_PRACQF_FK + - PIM_ACQNFL_PIM_ACQOWN_FK + - PIM_ACQNFL_PIM_ACQAIN_FK + - PIM_ACQNFL_PIM_ACQPER_FK + - PIMS_LEASE + - Added column TFA_FILE_NUMBER + - PIMS_ACQUISITION_OWNER + - Added PIM_ADDRSS_PIM_ACQOWN_FK to PIMS_ADDRESS + - Dropped columns: + - OWNER_NAME + - OWNER_COMMENT + - Added columns: + - LAST_NAME_OR_CORP_NAME_1 + - LAST_NAME_OR_CORP_NAME_2 + - GIVEN_NAME + - INCORPORATION_NUMBER + - Altered seed table data: + - 093_DML_PIMS_ACQ_FL_PERSON_PROFILE_TYPE.sql + - Requires additional metadata to meet standards + +PSP_PIMS S38.01 Sprint 38 2022-Sep-27 +- Altered table: + - PIMS_ACQUISITION_FILE + - Added column PAIMS_ACQUISITION_FILE_ID +- Altered seed script: + - 83_DML_PIMS_RESEARCH_FILE_STATUS_TYPE.sql + - Dropped 'Any status' +- Requires additional metadata to meet standards + +PSP_PIMS S38.00 Sprint 38 2022-Sep-22 +- Added table: + - PIMS_ACTIVITY_TEMPLATE_DOCUMENT +- Altered table: + - PIMS_ACQUISITION_OWNER +- Requires additional metadata to meet standards + +PSP_PIMS S37.01 Sprint 37 2022-Sep-20 +- Altered seed script: + - 97_DML_PIMS_ACTIVITY_INSTANCE_STATUS_TYPE.sql +- Requires additional metadata to meet standards + +PSP_PIMS S37.00 Sprint 36 2022-Sep-14 +- Altered tables: + - PIMS_ACQUISITION_FILE + - PIMS_ACQUISITION_FILE_HIST + - PIMS_NOTE_HIST +- Requires additional metadata to meet standards + +PSP_PIMS S36.02 Sprint 36 2022-Sep-08 +- Added seed scripts: + - 89_DML_PIMS_ACQUISITION_FILE_STATUS_TYPE.sql +- Added test data scripts: + - 21_PIMS_PROPERTY_RESEARCH_FILE.sql + - 22_PIMS_RESEARCH_FILE_PURPOSE.sql + - 29_PIMS_ACTIVITY_INSTANCE_NOTE.sql + - 30_PIMS_ACTIVITY_INSTANCE_DOCUMENT.sql + - 32_PIMS_ACQUISITION_OWNER.sql + - 33_PIMS_PROPERTY_ACQUISITION_FILE.sql + - 34_PIMS_PROPERTY_ACQUISITION_FILE_PERSON.sql + - 36_PIMS_RESEARCH_ACTIVITY_INSTANCE.sql + - 35_PIMS_ACQUISITION_ACTIVITY_INSTANCE.sql +- Requires additional metadata to meet standards + +PSP_PIMS S36.01 Sprint 36 2022-Sep-02 +- Added tables: + - PIMS_ACT_INST_PROP_ACQ_FILE + - PIMS_ACT_INST_PROP_RSRCH_FILE +- Altered tables: + - PIMS_RESEARCH_ACTIVITY_INSTANCE +- Requires additional metadata to meet standards + +PSP_PIMS S36.00 Sprint 36 2022-Aug-29 +- Added tables: + - PIMS_FENCE_TYPE + - PIMS_LETTER_TYPE +- Altered tables: + - PIMS_ACTIVITY_INSTANCE_DOCUMENT + - PIMS_ACTIVITY_INSTANCE_NOTE + - PIMS_ACQUISITION_ACTIVITY_INSTANCE + - PIMS_NOTE + - PIMS_PROPERTY + - PIMS_PROPERTY_ACQUISITION_FILE + - PIMS_PROPERTY_RESEARCH_FILE + - PIMS_RESEARCH_ACTIVITY_INSTANCE +- Requires additional metadata to meet standards + +PSP_PIMS S35.01 Sprint 35 2022-Aug-22 +- Altered tables: + - PIMS_ACTIVITY_INSTANCE +- Requires additional metadata to meet standards + +PSP_PIMS S35.00 Sprint 34 2022-Aug-17 +- Added tables: + - PIMS_ACTIVITY_INSTANCE_STATUS_TYPE + - PIMS_RESEARCH_ACTIVITY_INSTANCE + - PIMS_RESEARCH_ACTIVITY_INSTANCE_HIST +- Altered tables: + - PIMS_ACTIVITY_INSTANCE +- Requires additional metadata to meet standards + +PSP_PIMS S33.00 Sprint 33 2022-Jul-26 +- Altered tables: + - PIMS_ACQUISITION_FILE + - PIMS_ACQUISITION_FILE_HIST +- Requires additional metadata to meet standards + +PSP_PIMS S32.00 Sprint 32 2022-Jul-07 +- Added tables: + - PIMS_ACQUISITION_ACTIVITY_INSTANCE + - PIMS_ACQUISITION_ACTIVITY_INSTANCE_HIST + - PIMS_ACQUISITION_FILE + - PIMS_ACQUISITION_FILE_HIST + - PIMS_ACQUISITION_FILE_PERSON + - PIMS_ACQUISITION_FILE_PERSON_HIST + - PIMS_ACQUISITION_OWNER + - PIMS_ACQUISITION_OWNER_HIST + - PIMS_ACQUISITION_FILE_STATUS_TYPE + - PIMS_ACQUISITION_FUNDING_TYPE + - PIMS_ACQUISITION_TYPE + - PIMS_ACQ_FL_PERSON_PROFILE_TYPE + - PIMS_ACQ_PHYS_FILE_STATUS_TYPE + - PIMS_ACTIVITY_TEMPLATE + - PIMS_ACTIVITY_TEMPLATE_HIST + - PIMS_ACTIVITY_TEMPLATE_TYPE + - PIMS_LAND_SURVEYOR_TYPE + - PIMS_PROPERTY_ACQUISITION_FILE + - PIMS_PROPERTY_ACQUISITION_FILE_HIST + - PIMS_SURVEY_PLAN_TYPE +- Added seed scripts: + - 88_DML_PIMS_DOCUMENT_STATUS_TYPE.sql + - 90_DML_PIMS_ACQUISITION_TYPE.sql + - 91_DML_PIMS_ACQUISITION_FUNDING_TYPE.sql + - 92_DML_PIMS_ACQ_PHYS_FILE_STATUS_TYPE.sql + - 93_DML_PIMS_ACQ_FL_PERSON_PROFILE_TYPE.sql + - 94_DML_PIMS_ACTIVITY_TEMPLATE_TYPE.sql + - 95_DML_PIMS_SURVEY_PLAN_TYPE.sql + - 96_DML_PIMS_LAND_SURVEYOR_TYPE.sql +- Requires additional metadata to meet standards + +PSP_PIMS S31.01 Sprint 31 2022-Jun-27 +- Added tables: + - PIMS_ACTIVITY_INSTANCE + - PIMS_ACTIVITY_INSTANCE_DOCUMENT + - PIMS_ACTIVITY_INSTANCE_NOTE +- Dropped tables: + - PIMS_PROJECT + - PIMS_PROJECT_WORKFLOW_MODEL_HIST + - PIMS_PROJECT_STATUS_TYPE + - PIMS_PROJECT_TIER_TYPE + - PIMS_ACTIVITY + - PIMS_ACTIVITY + - PIMS_ACTIVITY_HIST + - PIMS_PROJECT_NOTE + - PIMS_WORKFLOW_MODEL + - PIMS_PROJECT_PROPERTY + - PIMS_PROJECT_TYPE + - PIMS_PROJECT_PROPERTY_HIST + - PIMS_WORKFLOW_MODEL_TYPE + - PIMS_WORKFLOW_MODEL_HIST + - PIMS_PROJECT_HIST + - PIMS_TASK + - PIMS_TASK_TEMPLATE_ACTIVITY_MODEL + - PIMS_TASK_TEMPLATE + - PIMS_PROJECT_WORKFLOW_MODEL + - PIMS_PROJECT_RISK_TYPE + - PIMS_ACTIVITY_MODEL + - PIMS_TASK_HIST + - PIMS_PROPERTY_ACTIVITY_HIST + - PIMS_TASK_TEMPLATE_ACTIVITY_MODEL_HIST + - PIMS_ACTIVITY_MODEL_HIST + - PIMS_PROPERTY_ACTIVITY + - PIMS_TASK_TEMPLATE_TYPE + - PIMS_TASK_TEMPLATE_HIST +- Requires additional metadata to meet standards + +PSP_PIMS S31.00 Sprint 30 2022-Jun-21 +- Added tables: + - PIMS_NOTE + - PIMS_DOCUMENT + - PIMS_DOCUMENT_STATUS_TYPE + - PIMS_DOCUMENT_TYP +- Altered tables: + - PIMS_PROPERTY + - Added column FILE_NUMBER + - Added column FILE_NUMBER_SUFFIX +- Added seed scripts: + - 88_DML_PIMS_DOCUMENT_STATUS_TYPE.sql +- Requires additional metadata to meet standards + +PSP_PIMS S30.00 Sprint 29 2022-Jun-06 +- Altered tables: + - PIMS_PROPERTY + - Added column PPH_STATUS_UPDATE_USER_GUID +- Added script: + - 00_PSP_PIMS_PMBC_Build.sql added to Alter Up and Build + - PMBC schema and table was added to support ParcelMapBC property data integration into PIMS. +- Requires additional metadata to meet standards + +PSP_PIMS S29.01 Sprint 29 2022-Jun-06 +- Altered tables: + - PIMS_INSURANCE + - Dropped unique constraint INSRNC_LEASE_INSURANCE_TYPE_TUC +- Requires additional metadata to meet standards + +PSP_PIMS S28.00 Sprint 28 2022-May-12 +- Seed data table changes: + - PIMS_REGION + - Added 4: Cannot determine + - PIMS_DISTRICT + - Added 12: Cannot determine +- Requires additional metadata to meet standards + +PSP_PIMS S29.00 Sprint 28 2022-May-17 +- Altered tables: + - PIMS_ACCESS_REQUEST + - Added column REGION_CODE +- Added tables: + - PIMS_REGION_USER +- Requires additional metadata to meet standards + +PSP_PIMS S28.00 Sprint 28 2022-May-12 +- Seed data table changes: + - PIMS_REGION + - Added 4: Cannot determine + - PIMS_DISTRICT + - Added 12: Cannot determine +- Requires additional metadata to meet standards + +PSP_PIMS S27.00 Sprint 26 2022-Apr-25 +- Altered tables: + - PIMS_LEASE + - PIMS_LEASE_HIST + - PIMS_LEASE_TENANT + - PIMS_LEASE_TENANT_HIST + - PIMS_SECURITY_DEPOSIT_RETURN + - PIMS_SECURITY_DEPOSIT_RETURN_HIST + - PIMS_RESEARCH_FILE_PURPOSE + - PIMS_RESEARCH_FILE_PURPOSE_HIST +- Requires additional metadata to meet standards + +PSP_PIMS S26.00 Sprint 26 2022-Apr-13 +- Added tables + - PIMS_PROP_RESEARCH_PURPOSE_TYPE + - PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE + - PIMS_PPH_STATUS_TYPE +- Altered tables: + - PIMS_PROPERTY + - PIMS_PROPERTY_HIST + - PIMS_PROPERTY_RESEARCH_FILE + - PIMS_PROPERTY_RESEARCH_FILE_HIST +- Seed data table changes: + - PIMS_PROPERTY_CLASSIFICATION_TYPE + - Added 'UNKNOWN' + - PIMS_DATA_SOURCE_TYPE + - Added 'PMBC' +- Requires additional metadata to meet standards + +PSP_PIMS S25.01 Sprint 25 2022-Apr-04 +- Altered tables: + - PIMS_PROPERTY + - Set ADDRESS_ID to nullable +- Requires additional metadata to meet standards + +PSP_PIMS S25.00 Sprint 25 2022-Mar-31 +- Added tables + - PIMS_REQUEST_SOURCE_TYPE + - PIMS_RESEARCH_PURPOSE_TYPE + - PIMS_RESEARCH_FILE_PURPOSE + - PIMS_RESEARCH_FILE_PURPOSE_HIST +- Altered tables: + - PIMS_RESEARCH_FILE + - PIMS_PROPERTY_RESEARCH_FILE +- Requires additional metadata to meet standards + +PSP_PIMS S24.00 Sprint 24 2022-Mar-17 +- Added tables: + - PIMS_PROP_PROP_ADJACENT_LAND_TYPE + - PIMS_PROP_PROP_ANOMALY_TYPE + - PIMS_PROP_PROP_ROAD_TYPE + - PIMS_PROP_PROP_TENURE_TYPE + - PIMS_VOLUME_UNIT_TYPE + - PIMS_RESEARCH_FILE + - PIMS_RESEARCH_FILE_STATUS_TYPE + - PIMS_PROPERTY_RESEARCH_FILE +- Altered tables: + - PIMS_PROPERTY + - Set PROPERTY_AREA_UNIT_TYPE_CODE to nullable + - BCA_FOLIO_ADDRESS + - Add column ADDRESS_ID + - BCA*VALUE tables + - DESCRIPTION columns increased from 16 to 255 bytes +- Altered views: + - PIMS_CONTACT_MGR_VW + - Added the subquery to the PERSON portion of the view +- Requires additional metadata to meet standards + +PSP_PIMS S23.01 Sprint 23 2022-Mar-10 +- Added tables: + - BCA_AREA_AMENDMENT + - BCA_AREA_BCTRANSIT_VALUE + - BCA_AREA_DELETE + - BCA_AREA_GENERAL_VALUE + - BCA_AREA_SCHOOL_VALUE + - BCA_ASSESSMENT_AREA + - BCA_DATA_ADVICE + - BCA_DATA_ADVICE_AMENDMENT + - BCA_DATA_ADVICE_BCTRANSIT_VALUE + - BCA_DATA_ADVICE_DELETE + - BCA_DATA_ADVICE_GENERAL_VALUE + - BCA_DATA_ADVICE_SCHOOL_VALUE + - BCA_DEFINED + - BCA_ELECTORAL_AREA + - BCA_FOLIO_ADDRESS + - BCA_FOLIO_AMENDMENT + - BCA_FOLIO_BCTRANSIT_VALUE + - BCA_FOLIO_DESCRIPTION + - BCA_FOLIO_FARM + - BCA_FOLIO_GENERAL_VALUE + - BCA_FOLIO_LAND_CHARACTERISTIC + - BCA_FOLIO_LEGAL_DESCRIPTION + - BCA_FOLIO_MANAGED_FOREST + - BCA_FOLIO_MANUFACTURED_HOME + - BCA_FOLIO_OIL_AND_GAS + - BCA_FOLIO_RECORD + - BCA_FOLIO_SALES + - BCA_FOLIO_SCHOOL_VALUE + - BCA_FOLIO_VALUATION + - BCA_GENERAL_SERVICE + - BCA_IMPROVEMENT_DISTRICT + - BCA_ISLANDS_TRUST + - BCA_JURISDICTION + - BCA_JURISDICTION_AMENDMENT + - BCA_JURISDICTION_BCTRANSIT_VALUE + - BCA_JURISDICTION_DELETE + - BCA_JURISDICTION_GENERAL_VALUE + - BCA_JURISDICTION_SCHOOL_VALUE + - BCA_LOCAL_AREA + - BCA_MINOR_TAXING + - BCA_OWNER + - BCA_OWNERSHIP_GROUP + - BCA_SERVICE_AREA + - BCA_SPECIFIED_MUNICIPAL + - BCA_SPECIFIED_REGIONAL +- Requires additional metadata to meet standards + +PSP_PIMS S21.00 Sprint 21 2022-Feb-11 +- Altered tables: + - PIMS_SECURITY_DEPOSIT_HOLDER + - Add constraint to restrict security deposit holder to single person OR organization + - Add constraint to restrict holder as person OR organization (exclusively) + - PIMS_SECURITY_DEPOSIT_RETURN_HOLDER + - Add constraint to restrict security deposit holder to single person OR organization + - Add constraint to restrict holder as person OR organization (exclusively) + - PIMS_SECURITY_DEPOSIT_RETURN + - Delete PAYEE_NAME + - Delete PAYEE_ADDRESS + - Delete FK to PIMS_LEASE.LEASE_ID + - Delete FK to PIMS_SECURITY_DEPOSIT_TYPE + - PIMS_ORGANIZATION + - Alter ORGANIZATION_TYPE_CODE to nullable + - Alter ORG_IDENTIFIER_TYPE_CODE to nullable + - PIMS_PERSON + - Add USE_ORGANIZATION_ADDRESS +- Altered views: + - PIMS_PERSON_CONTACT_VW + - Top contact method for each contact method type returned is ordered by the following: + - PIMS_PERSON_CONTACT_VW (Descending order) + - DB_LAST_UPDATE_TIMESTAMP (Descending order) + - PIMS_CONTACT_MGR_VW + - Altered to show organization name and ID if a person has an associated organization. +- Modified seed script contents: + - PIMS_LEASE_STATUS_TYPE + - Set EXPIRED code type to disabled. + - Ensure DISCARD code is present and enabled. +- Requires additional metadata to meet standards + +PSP_PIMS S20.00 Sprint 20 2022-Jan-28 +- Added table: + - PIMS_STATIC_VARIABLE_HIST +- Altered table: + - PIMS_STATIC_VARIABLE +- Added view: + - PIMS_PERSON_CONTACT_VW +- Altered view: + - PIMS_CONTACT_MANAGER_VW +- Modified seed script contents + - 70_DML_PIMS_LEASE_PAYMENT_STATUS_TYPE.sql +- Requires additional metadata to meet standards + +PSP_PIMS S19.00 Sprint 19 2022-Jan-11 +- Added tables: + - PIMS_SECURITY_DEPOSIT_HOLDER + - PIMS_SECURITY_DEPOSIT_RETURN_HOLDER +- Altered tables: + - PIMS_LEASE + - PIMS_LEASE_TERM + - PIMS_LEASE_PAYMENT + - PIMS_SECURITY_DEPOSIT + - PIMS_SECURITY_DEPOSIT_RETURN +- Dropped tables: + - PIMS_LEASE_PAYMENT_FORECAST + - PIMS_LEASE_PAYMENT_PERIOD + - PIMS_SEC_DEP_HOLDER_TYPE +- Modified seed script contents + - 64_DML_PIMS_SECURITY_DEPOSIT_TYPE.sql + - 73_DML_PIMS_LEASE_STATUS_TYPE.sql + - 74_DML_PIMS_CLAIM.sql + - 75_DML_PIMS_ROLE_CLAIM.sql +- Requires additional metadata to meet standards + +PSP_PIMS S17.00 Sprint 17 2021-Dec-06 +- Altered tables: + - PIMS_LEASE + - Added ADDRESS_COMMENT + - PIMS_PERSON + - LEASE_CATEGORY_TYPE_CODE made nullable + - LEASE_RESPONSIBILITY_TYPE_CODE made nullable + - LEASE_PMT_FREQ_TYPE_CODE made nullable + - PIMS_PROPERTY + - PID made nullable + - PIN made nullable + - PIMS_INSURANCE + - Added IS_INSURANCE_IN_PLACE + - Dropped FK INSURER_ORG_ID + - Dropped FK INSURER_CONTACT_ID + - Dropped FK MOTI_RISK_MGMT_CONTACT_ID + - Dropped FK BCTFA_RISK_MGMT_CONTACT_ID + - Dropped FK INSURANCE_PAYEE_TYPE_CODE + - Dropped INSURED_VALUE + - Dropped START_DATE + - Dropped RISK ASSESSMENT_COMPLETED_DATE + - PIMS_LEASE_PAYMENT + - PAYMENT_AMOUNT_PST made nullable + - PIMS_LEASE_PAYMENT_FORECAST + - FORECAST_PAYMENT_PST made nullable + - PIMS_PROPERTY_IMPROVEMENT + - IMPROVEMENT_DESCRIPTION made nullable + - ADDRESS renamed to UNIT +- Dropped tables: + - PIMS_INSURANCE_PAYEE_TYPE +- Requires additional metadata to meet standards + +PSP_PIMS S16.01 Sprint 16 2021-Dec-03 +- Added tables: + - PIMS_TENANT +- Added seed data tables: + - 51_DML_PIMS_ROLE.sql + - 73_DML_PIMS_LEASE_STATUS_TYPE.sql + - 74_DML_PIMS_CLAIM.sql + - 75_DML_PIMS_ROLE_CLAIM.sql + - 76_DML_PIMS_ORGANIZATION.sql + - 77_DML_PIMS_TENANT.sql +- Requires additional metadata to meet standards + +PSP_PIMS S16.00 Sprint 16 2021-Nov-23 +- ETL schema objects are now removed from the PSP build scripts. ETL entities will be managed by a separate script. +- Added views: + - PIMS_CONTACT_MGR_VW +- Added tables: + - PIMS_LEASE_STATUS_TYPE +- Altered tables: + - PIMS_LEASE (PIMS_PROPERTY_IMPROVEMENT now directly referenced from PIMS_LEASE) + - Added column PIMS_PROPERTY_LEASE.AREA_UNIT_TYPE_CODE (FK) + - Added column PIMS_PROPERTY_LEASE.LEASE_AREA + - Added column PIMS_ADDRESS.OTHER_COUNTRY + - Added column PIMS_ORGANIZATION.INCORPORATION_NUMBER + - Added column PIMS_LEASE.LEASE_PURPOSE_OTHER_DESC + - Added column PIMS_LEASE.DOCUMENTATION_REFERENCE + - Added column PIMS_LEASE.OTHER_LEASE_PURPOSE_TYPE + - Added column PIMS_LEASE.LEASE_STATUS_TYPE_CODE + - Moved column PIMS_SECURITY_DEPOSIT_RETURN.TERMINATION_NOTE to PIMS_LEASE.RETURN_NOTES + - Dropped column PIMS_LEASE.IS_ORIG_EXPIRY_REQUIRED + - Dropped column PIMS_LEASE.INCLUDED_RENEWALS + - Dropped column PIMS_LEASE.RENEWAL_COUNT + - Dropped column PIMS_LEASE.RENEWAL_TERM_MONTHS + - Altered column PIMS_LEASE.LEASE_DESCRIPTION to NVARCHAR(max) + - Altered column PIMS_LEASE.LEASE_NOTES to NVARCHAR(max) + - Altered column PIMS_LEASE.RETURN_NOTES To NVARCHAR(max) + - Altered column PIMS_LEASE.INSPECTION_NOTES To NVARCHAR(max) + - Added sequence etl.ETL_DATA_SOURCE_TRACE_ID_SEQ +- Requires additional metadata to meet standards + +PSP_PIMS S15.00 Sprint 15 2021-Nov-12 +- Added tables: + - PIMS_ORGANIZATION_ADDRESS + - PIMS_PERSON_ADDRESS + - ETL_OPERATIONAL_SS_LOAD +- Altered tables: + - PIMS_ADDRESS +- Altered views to exclude properties with null geometry values: + - PIMS_PROPERTY_BOUNDARY_VW + - PIMS_PROPERTY_LOCATION_VW +- Added seed data tables: + - 72_DML_PIMS_INSURANCE_TYPE.sql +- Requires additional metadata to meet standards + +PSP_PIMS S13.00 Sprint 13 2021-Oct-22 +- Altered tables: + - ETL_CONTACT_METHOD_LOG + - ETL_INTEREST_HOLDER_PERSON_ORG_LOG + - PIMS_ADDRESS + - PIMS_ADDRESS_HIST + - PIMS_LEASE_TENANT + - PIMS_LEASE_TENANT_HIST + - PIMS_PROPERTY_IMPROVEMENT + - PIMS_PROPERTY_IMPROVEMENT_HIST + - PIMS_LEASE + - PIMS_LEASE_HIST + - PIMS_PROJECT + - PIMS_PERSON + - PIMS_PERSON_HIST + - PIMS_ORGANIZATION + - PIMS_ORGANIZATION_HIST +- Added tables: + - ETL_ERROR_LOG + - ETL_PROPERTY_ERROR_LOG + - PMBC_PARCEL_POLYGON_FABRIC + - PIMS_LEASE_PAYMENT_PERIOD + - PIMS_LEASE_PAYMENT_PERIOD_HIST + - PIMS_LEASE_TERM + - PIMS_LEASE_TERM_HIST + - PIMS_STATIC_VARIABLE + - PIMS_LEASE_INITIATOR_TYPE + - PIMS_LEASE_RESPONSIBILITY_TYPE + - PIMS_LEASE_PAYMENT_METHOD_TYPE + - PIMS_LEASE_PAYMENT_STATUS_TYPE + - PIMS_LEASE_TERM_STATUS_TYPE + - PIMS_LEASE_PAYMENT_FORECAST + - PIMS_LEASE_PAYMENT_FORECAST_HIST + - PIMS_LEASE_PAYMENT + - PIMS_LEASE_PAYMENT_HIST +- Dropped tables: + - PIMS_PROPERTY_IMPROVEMENT_UOM_TYPE +- Added seed data tables: + - 67_DML_PIMS_LEASE_INITIATOR_TYPE.sql + - 68_DML_PIMS_LEASE_RESPONSIBILITY_TYPE.sql + - 69_DML_PIMS_LEASE_TERM_STATUS_TYPE.sql + - 69_DML_PIMS_STATIC_VARIABLE.sql + - 70_DML_PIMS_LEASE_PAYMENT_STATUS_TYPE.sql + - 71_DML_PIMS_LEASE_PAYMENT_METHOD_TYPE.sql +- Dropped seed data tables: + - 63_DML_PIMS_PROPERTY_IMPROVEMENT_UOM_TYPE.sql +- Requires additional metadata to meet standards + +PSP_PIMS S11.01 Sprint 12 2021-Oct-05 +- Added tables: + - ETL_INTEREST_HOLDER_PERSON_ORG_LOG +- Added 66_DML_PIMS_LESSOR_TYPE.sql to populate the PIMS_LESSOR_TYPE table +- Requires additional metadata to meet standards + +PSP_PIMS S11.00 Sprint 11 2021-Sep-29 +- Dropped tables: + - PIMS_LEASE_SUBTYPE + - PIMS_LEASE_ACTIVITY_HIST + - PIMS_LEASE_ACTIVITY_PERIOD_HIST + - PIMS_LEASE_ACTIVITY_PERIOD + - PIMS_EXPECTED_AMOUNT_HIST + - PIMS_LEASE_STATUS_TYPE + - PIMS_EXPECTED_AMOUNT + - PIMS_LEASE_ACTIVITY + - PIMS_LEASE_TYPE + - PIMS_LEASE_PURPOSE_SUBTYPE +- Altered tables: + - PIMS_CLAIM + - PIMS_TASK_TEMPLATE + - PIMS_LEASE_PROGRAM_TYPE + - PIMS_ROLE + - PIMS_USER + - PIMS_PROPERTY_HIST + - PIMS_LEASE + - PIMS_LEASE_HIST + - PIMS_LEASE_PURPOSE_TYPE + - PIMS_PROPERTY + - PIMS_TASK_TEMPLATE_TYPE + - PIMS_TASK_TEMPLATE_HIST + - PIMS_LEASE_PMT_FREQ_TYPE +- Added tables: + - PIMS_PROPERTY_TAX_REMIT_TYPE + - PIMS_PROPERTY_TAX + - PIMS_PROPERTY_IMPROVEMENT + - PIMS_INSURANCE_PAYEE_TYPE + - PIMS_SECURITY_DEPOSIT_TYPE + - PIMS_SECURITY_DEPOSIT_HIST + - PIMS_INSURANCE + - PIMS_LEASE_LICENSE_TYPE + - PIMS_LEASE_TENANT + - PIMS_LEASE_TENANT_HIST + - PIMS_INSURANCE_HIST + - PIMS_SECURITY_DEPOSIT_RETURN_HIST + - PIMS_INSURANCE_TYPE + - PIMS_SECURITY_DEPOSIT + - PIMS_PROPERTY_IMPROVEMENT_HIST + - PIMS_PROPERTY_IMPROVEMENT_TYPE + - PIMS_LEASE_PAY_RVBL_TYPE + - PIMS_PROPERTY_IMPROVEMENT_UOM_TYPE + - PIMS_SURPLUS_DECLARATION_TYPE + - PIMS_LEASE_CATEGORY_TYPE + - PIMS_LESSOR_TYPE + - PIMS_SECURITY_DEPOSIT_RETURN + - PIMS_SEC_DEP_HOLDER_TYPE + - PIMS_PROPERTY_TAX_HIST +- Added DML Files + - 53_DML_PIMS_LEASE_PAY_RVBL_TYPE.sql + - 54_DML_PIMS_LEASE_LICENSE_TYPE.sql + - 55_DML_PIMS_LEASE_CATEGORY_TYPE.sql + - 56_DML_PIMS_LEASE_PURPOSE_TYPE.sql + - 57_DML_PIMS_LEASE_PROGRAM_TYPE.sql + - 58_DML_PIMS_LEASE_PMT_FREQ_TYPE.sql + - 59_DML_PIMS_PROPERTY_TAX_REMIT_TYPE.sql + - 60_DML_PIMS_INSURANCE_PAYEE_TYPE.sql + - 61_DML_PIMS_SURPLUS_DECLARATION_TYPE.sql + - 62_DML_PIMS_PROPERTY_IMPROVEMENT_TYPE.sql + - 63_DML_PIMS_PROPERTY_IMPROVEMENT_UOM_TYPE.sql + - 64_DML_PIMS_SECURITY_DEPOSIT_TYPE.sql + - 65_DML_PIMS_SEC_DEP_HOLDER_TYPE.sql +- Deleted DML Files + - 53_DML_PIMS_LEASE_PMT_FREQ_TYPE.sql + - 54_DML_PIMS_LEASE_PURPOSE_TYPE.sql + - 55_DML_PIMS_LEASE_PURPOSE_SUBTYPE.sql + - 56_DML_PIMS_LEASE_STATUS_TYPE.sql + - 57_DML_PIMS_LEASE_TYPE.sql + - 58_DML_PIMS_LEASE_SUBTYPE.sql + - 59_DML_PIMS_LEASE_PROGRAM_TYPE.sql +- Requires additional metadata to meet standards + +PSP_PIMS S10.02 Sprint 10 2021-Sep-22 +- Changed '//' comments in all scripts to '--' +- Requires additional metadata to meet standards + +PSP_PIMS S10.01 Sprint 10 2021-Sep-17 +- Moved test data insertion SQL to "Test Data" folder +- Requires additional metadata to meet standards + +PSP_PIMS S10.00 Sprint 10 2021-Sep-02 +- Added tables: + - PIMS_LEASE + - PIMS_LEASE_ACTIVITIES + - PIMS_LEASE_ACTIVITY_PERIOD + - PIMS_LEASE_PMT_FREQ_TYPE + - PIMS_LEASE_PURPOSE_SUBTYPE + - PIMS_LEASE_PURPOSE_TYPE + - PIMS_LEASE_STATUS_TYPE + - PIMS_LEASE_SUBTYPE + - PIMS_LEASE_TYPE + - PIMS_EXPECTED_AMOUNT + - PIMS_PROPERTY_LEASE + - PIMS_LEASE_PROGRAM_TYPE +- Requires additional metadata to meet standards + +PSP_PIMS S09.01 Sprint 9 2021-Sep-01 +- Added views: + - PIMS_PROPERTY_BOUNDARY_VW + - PIMS_PROPERTY_LOCATION_VW +- Requires additional metadata to meet standards + +PSP_PIMS S09.00 Sprint 9 2021-Aug-19 +- Altered PIMS_PROPERTY + - BOUNDARY altered from GEOGRAPHY to GEOMETRY + - LOCATION altered from GEOGRAPHY to GEOMETRY + - LOCATION altered from NOT NULL to NULL +- Altered PIMS_ACCESS_REQUEST + - Added NOTE column +- Altered PIMS_USER + - Added POSITION column + - Added NOTE column + - Added LAST_LOGIN column +- Added 52_DML_PIMS_PROPERTY_STATUS_TYPE build script +- Requires additional metadata to meet standards + +PSP_PIMS S08.01 Sprint 8 2021-Aug-17 +- Added PIMSX_TableDefinitions table +- Added generated triggers +- Added generated history tables +- Requires additional metadata to meet standards + +PSP_PIMS S08.00 Sprint 8 2021-Aug-17 +- Altered PIMS_ADDRESS + - Column MUNICIPALITY_NAME length increased from 20 to 200 bytes + _ Partial metadata addedd to the following tables: + - PIMS_AREA_UNIT_TYPE + - PIMS_PROPERTY_TENURE_TYPE +- Requires additional metadata to meet standards +- Triggers remain to be generated +- History tables remain to be generated + +PSP_PIMS S07.00 Sprint 7 2021-Aug-04 +- Added numerous indices to enforce uniqueness and support foreign keys +- Altered PIMS_ADDRESS + - Column STREET_ADDRESS renamed to STREET_ADDRESS_1 + - Column UNIT_NUMBER renamed to STREET_ADDRESS_2 + - Column STREET_ADDRESS_3 added +- Altered PIMS_PROPERTY + - Column PROPERTY_STATUS_TYPE_CODE added + - Column PROPERTY_DATA_SOURCE_TYPE_CODE added + - Column PROPERTY_DATA_SOURCE_EFFECTIVE_DATE added + - Column IS_PROPERTY_OF_INTEREST added +- Altered PIMS_ORGANIZATION + - Column ORG_IDENTIFIER_TYPE_CODE added + - Column ORGANIZATION_IDENTIFIER added +- Added the following tables + - __EFMigrationsHistory + - PIMS_PROPERTY_DATA_SOURCE_TYPE + - PIMS_PROPERTY_STATUS_TYPE + - PIMS_ORG_IDENTIFIER_TYPE + - PIMS_PROPERTY_EVALUATION +- Requires additional metadata to meet standards +- Triggers remain to be generated +- History tables remain to be generated + +PSP_PIMS V02.01 Sprint 6 2021-Jul-21 +- Model was refactored to meet MoTI business requirements. + - Model now conforms to the PSP Conceptual Data Model +- Triggers remain to be generated +- History tables remain to be generated +- Added the following tables: + - PIMS_PROPERTY_ORGANIZATION + - PIMS_AREA_UNIT_TYPE + - PIMS_PROPERTY_TENURE_TYPE +- Altered the following tables: + - PIMS_REGION + - REGION_CODE now SMALLINT + - PIMS_DISTRICT + - DISTRICT_CODE now SMALLINT + - REGION_CODE now SMALLINT + - PIMS_ADDRESS + - DISTRICT_CODE now SMALLINT + - REGION_CODE now SMALLINT + - PROVINCE_STATE_ID now SMALLINT + - COUNTRY_ID now SMALLINT + - PIMS_COUNTRY + - COUNTRY_ID now SMALLINT + - PIMS_PROVINCE_STATE + - PROVINCE_STATE_ID now SMALLINT + - COUNTRY_ID now SMALLINT + - PIMS_ORGANIZATION + - DISTRICT_CODE now SMALLINT + - REGION_CODE now SMALLINT + - PIMS_PROPERTY + - DISTRICT_CODE now SMALLINT + - REGION_CODE now SMALLINT + - PIMS_PROJECT_STATUS_TYPE + - Added column CODE_GROUP + - Added column TEXT + - Added column IS_MILESTONE + - Added column IS_TERMINAL +- Requires additional metadata to meet standards + +PSP_PIMS V01.00 (Pre-Release) Sprint 4 2021-Jun-15 +- Initial release +- Compliant with MoTI standards +- Requires additional metadata to meet standards + +PSP_PIMS 0.1 (Pre-Release) Sprint F 2021-Apr-08 +- Initial release +- Requires additional metadata to meet standards diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/03_DML_LEASE_TESTING.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/03_DML_LEASE_TESTING.sql new file mode 100644 index 0000000000..f371968867 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/03_DML_LEASE_TESTING.sql @@ -0,0 +1,72 @@ +/* ----------------------------------------------------------------------------- +Insert lease data for testing +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-19 Initial version +----------------------------------------------------------------------------- */ + +-- Insert addresses +INSERT INTO PIMS_ADDRESS (STREET_ADDRESS_1, STREET_ADDRESS_2, STREET_ADDRESS_3, MUNICIPALITY_NAME, POSTAL_CODE, PROVINCE_STATE_ID, COUNTRY_ID, APP_CREATE_TIMESTAMP, APP_CREATE_USERID, APP_CREATE_USER_DIRECTORY, APP_LAST_UPDATE_TIMESTAMP, APP_LAST_UPDATE_USERID, APP_LAST_UPDATE_USER_DIRECTORY) +VALUES + (N'45 - 904 Hollywood Crescent', N'Living in a van', N'Down by the River', N'Hollywood North', N'M4T F0L', 1, 1, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (N'PO Box 2', N'Stealth Camping', N'Walmart Parking Lot', N'South Podunk', N'H1I B0B', 1, 1, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (N'123 Main Street', N'PO Box 123', N'Next to the Dairy Queen', N'East Podunk', N'I4M B0B', 1, 1, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (N'456 Souris Street', N'PO Box 250', N'A Hoot and a holler from the A&W', N'North Podunk', N'IH8 B0B', 1, 1, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'); + +-- Insert organizations +INSERT INTO PIMS_ORGANIZATION (ORGANIZATION_IDENTIFIER, ORGANIZATION_NAME, ORGANIZATION_TYPE_CODE, ORG_IDENTIFIER_TYPE_CODE, APP_CREATE_TIMESTAMP, APP_CREATE_USERID, APP_CREATE_USER_DIRECTORY, APP_LAST_UPDATE_TIMESTAMP, APP_LAST_UPDATE_USERID, APP_LAST_UPDATE_USER_DIRECTORY) +VALUES + (N'LILMOUSE', N'French Mouse Property Management', N'REALTOR', N'OTHINCORPNO', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'), + (N'DQ4EVA', N'Dairy Queen Forever! Property Management', N'REALTOR', N'OTHINCORPNO', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'), + (N'DAKATZ', N'Pussycat Property Management', N'REALTOR', N'OTHINCORPNO', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'), + (N'BOB123', N'Bob''s Property Management', N'REALTOR', N'OTHINCORPNO', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'); + +-- Insert organization addresses +INSERT INTO PIMS_ORGANIZATION_ADDRESS(ADDRESS_ID, ORGANIZATION_ID, ADDRESS_USAGE_TYPE_CODE, APP_CREATE_TIMESTAMP, APP_CREATE_USERID, APP_CREATE_USER_DIRECTORY, APP_LAST_UPDATE_TIMESTAMP, APP_LAST_UPDATE_USERID, APP_LAST_UPDATE_USER_DIRECTORY) +VALUES + ((SELECT ADDRESS_ID FROM PIMS_ADDRESS WHERE STREET_ADDRESS_1 LIKE '%Hollywood%'), (SELECT ORGANIZATION_ID FROM PIMS_ORGANIZATION WHERE ORGANIZATION_IDENTIFIER LIKE '%LILMOUSE%'), 'MAILADDR', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'), + ((SELECT ADDRESS_ID FROM PIMS_ADDRESS WHERE STREET_ADDRESS_1 LIKE 'PO Box%'), (SELECT ORGANIZATION_ID FROM PIMS_ORGANIZATION WHERE ORGANIZATION_IDENTIFIER LIKE 'DQ4EVA%'),'MAILADDR', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'), + ((SELECT ADDRESS_ID FROM PIMS_ADDRESS WHERE STREET_ADDRESS_1 LIKE '123 Main%'), (SELECT ORGANIZATION_ID FROM PIMS_ORGANIZATION WHERE ORGANIZATION_IDENTIFIER LIKE 'DAKATZ%'),'MAILADDR', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'), + ((SELECT ADDRESS_ID FROM PIMS_ADDRESS WHERE STREET_ADDRESS_1 LIKE '%Souris%'), (SELECT ORGANIZATION_ID FROM PIMS_ORGANIZATION WHERE ORGANIZATION_IDENTIFIER LIKE 'BOB123%'),'MAILADDR', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'); + +-- Insert people +INSERT INTO PIMS_PERSON (SURNAME, FIRST_NAME, MIDDLE_NAMES, APP_CREATE_TIMESTAMP, APP_CREATE_USERID, APP_CREATE_USER_DIRECTORY, APP_LAST_UPDATE_TIMESTAMP, APP_LAST_UPDATE_USERID, APP_LAST_UPDATE_USER_DIRECTORY) +VALUES + (N'Smith', N'Bob', N'Billy', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'), + (N'Wilson', N'Volley', N'Ball', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'), + (N'Cheese', N'Stinky', N'', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'), + (N'Mouse', N'Minnie', N'Nacho Cheese', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'); + +--Insert person addresses +INSERT INTO PIMS_PERSON_ADDRESS(ADDRESS_ID, PERSON_ID, ADDRESS_USAGE_TYPE_CODE, APP_CREATE_TIMESTAMP, APP_CREATE_USERID, APP_CREATE_USER_DIRECTORY, APP_LAST_UPDATE_TIMESTAMP, APP_LAST_UPDATE_USERID, APP_LAST_UPDATE_USER_DIRECTORY) +VALUES + ((SELECT ADDRESS_ID FROM PIMS_ADDRESS WHERE STREET_ADDRESS_1 LIKE '%Hollywood%'), (SELECT PERSON_ID FROM PIMS_PERSON WHERE SURNAME LIKE '%Smith%'), 'MAILADDR', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'), + ((SELECT ADDRESS_ID FROM PIMS_ADDRESS WHERE STREET_ADDRESS_1 LIKE 'PO Box%'), (SELECT PERSON_ID FROM PIMS_PERSON WHERE SURNAME LIKE 'Wilson%'), 'MAILADDR', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'), + ((SELECT ADDRESS_ID FROM PIMS_ADDRESS WHERE STREET_ADDRESS_1 LIKE '123 Main%'), (SELECT PERSON_ID FROM PIMS_PERSON WHERE SURNAME LIKE 'Cheese%'), 'MAILADDR', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'), + ((SELECT ADDRESS_ID FROM PIMS_ADDRESS WHERE STREET_ADDRESS_1 LIKE '%Souris%'), (SELECT PERSON_ID FROM PIMS_PERSON WHERE SURNAME LIKE 'Mouse%'), 'MAILADDR', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'); + + +-- Insert contact information for people +INSERT INTO PIMS_CONTACT_METHOD (PERSON_ID, CONTACT_METHOD_TYPE_CODE, CONTACT_METHOD_VALUE, APP_CREATE_TIMESTAMP, APP_CREATE_USERID, APP_CREATE_USER_DIRECTORY, APP_LAST_UPDATE_TIMESTAMP, APP_LAST_UPDATE_USERID, APP_LAST_UPDATE_USER_DIRECTORY) +VALUES + ((SELECT PERSON_ID FROM PIMS_PERSON WHERE SURNAME = 'Smith'), N'PERSPHONE', N'6049934251', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'), + ((SELECT PERSON_ID FROM PIMS_PERSON WHERE SURNAME = 'Wilson'), N'PERSPHONE', N'2509977251', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'), + ((SELECT PERSON_ID FROM PIMS_PERSON WHERE SURNAME = 'Cheese'), N'PERSPHONE', N'6049983251', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'), + ((SELECT PERSON_ID FROM PIMS_PERSON WHERE SURNAME = 'Mouse'), N'PERSPHONE', N'7785761234', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'); + +-- Insert contact information for organizations +INSERT INTO PIMS_CONTACT_METHOD (ORGANIZATION_ID, CONTACT_METHOD_TYPE_CODE, CONTACT_METHOD_VALUE, APP_CREATE_TIMESTAMP, APP_CREATE_USERID, APP_CREATE_USER_DIRECTORY, APP_LAST_UPDATE_TIMESTAMP, APP_LAST_UPDATE_USERID, APP_LAST_UPDATE_USER_DIRECTORY) +VALUES + ((SELECT ORGANIZATION_ID FROM PIMS_ORGANIZATION WHERE ORGANIZATION_IDENTIFIER = 'BOB123'), N'WORKPHONE', N'6049934251', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'), + ((SELECT ORGANIZATION_ID FROM PIMS_ORGANIZATION WHERE ORGANIZATION_IDENTIFIER = 'DAKATZ'), N'WORKPHONE', N'2509977251', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'), + ((SELECT ORGANIZATION_ID FROM PIMS_ORGANIZATION WHERE ORGANIZATION_IDENTIFIER = 'DQ4EVA'), N'WORKPHONE', N'6049983251', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'), + ((SELECT ORGANIZATION_ID FROM PIMS_ORGANIZATION WHERE ORGANIZATION_IDENTIFIER = 'LILMOUSE'), N'WORKPHONE', N'7785761234', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'); + +-- Associate person with organization +INSERT INTO PIMS_PERSON_ORGANIZATION (PERSON_ID, ORGANIZATION_ID, APP_CREATE_TIMESTAMP, APP_CREATE_USERID, APP_CREATE_USER_DIRECTORY, APP_LAST_UPDATE_TIMESTAMP, APP_LAST_UPDATE_USERID, APP_LAST_UPDATE_USER_DIRECTORY) +VALUES + ((SELECT PERSON_ID FROM PIMS_PERSON WHERE SURNAME = 'Smith'), (SELECT ORGANIZATION_ID FROM PIMS_ORGANIZATION WHERE ORGANIZATION_IDENTIFIER = 'BOB123'), CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'), + ((SELECT PERSON_ID FROM PIMS_PERSON WHERE SURNAME = 'Wilson'), (SELECT ORGANIZATION_ID FROM PIMS_ORGANIZATION WHERE ORGANIZATION_IDENTIFIER = 'DAKATZ'), CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'), + ((SELECT PERSON_ID FROM PIMS_PERSON WHERE SURNAME = 'Cheese'), (SELECT ORGANIZATION_ID FROM PIMS_ORGANIZATION WHERE ORGANIZATION_IDENTIFIER = 'DQ4EVA'), CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'), + ((SELECT PERSON_ID FROM PIMS_PERSON WHERE SURNAME = 'Mouse'), (SELECT ORGANIZATION_ID FROM PIMS_ORGANIZATION WHERE ORGANIZATION_IDENTIFIER = 'LILMOUSE'), CURRENT_TIMESTAMP, N'Lease Seed Data', N'Leasse Seed Data', CURRENT_TIMESTAMP, N'Leasse Seed Data', N'Leasse Seed Data'); diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/04_DML_LEASE_LOAD.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/04_DML_LEASE_LOAD.sql new file mode 100644 index 0000000000..2e2cb63d82 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/04_DML_LEASE_LOAD.sql @@ -0,0 +1,196 @@ +/* -----------------------------------------------------------------------------'LSREG', 'COMM' +Insert leases for testing +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +Author Date Comment +------------ ----------- ----------------------------------------------------- +Doug Filteau 2021-Aug-19 Initial version +----------------------------------------------------------------------------- */ + +-- Insert the lease data + +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',390, NULL, NULL, NULL, '', '', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',390, NULL, NULL, NULL, NULL, NULL, NULL, CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',418, '7129', '20060401 00:00:00.0', 0.00, '', 'SEE SUB FILE 000', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',503, NULL, NULL, 1.00, '', 'Lease Rental Payment Due Date: 01/10/2001', NULL, CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',390, NULL, '20230201 00:00:00.0', NULL, '', 'TFA to approve access plans and specifications. +Access for 1 residential site only +CRD Parks Use Permit required. +Assignment from Tchvdjian in February 2005', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',277, '1684B', NULL, 1200.00, '', 'Extension put in place August 2005 therefore increase in rent retroactive. + +April 2006, Creditor Waiver in place - Notify creditor when license is terminated or in default.', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',495, '9447', '20020330 00:00:00.0', 1.00, '', 'Lease Rental Payment Due Date: 01/04/2002Tenant contact- Paul Usher (604) 592-0029', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',183, NULL, '20030401 00:00:00.0', 1800.00, '', 'Notice Given as of July 31, 2005 - vacant possession November 30/05. Design will try to provide alternate site for sign. Property vacant lease expired Finning International no longer leases the property. ', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',1312, '101043', '20130901 00:00:00.0', 750.00, ' ', ' LUMP SUM PAYMENT RECEIVED of $1500 +$75 for GST). FOR THE TERM SEPT/13 TO AUG 31/2023.', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',1083, '103101', '20130718 00:00:00.0', NULL, '', 'lICENCE REQUIRED TO ENTER UPON THE PROPERTY FOR THE PURPOSE OF A LICENCED PATIO.', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',1368, '60234', NULL, NULL, '', 'ANNUAL PAYMENT BROKEN DOWN AS FOLLOWS: ALP $350.00 + 24.50 GST = 374.50', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',504, NULL, NULL, NULL, '', 'MSA vacated site March 31, 2006. GCL is the road construction firm contracted by the City of Abbotsford to construct the Mt Lehman I/C Project. The Ministry and the City share project costs (60/40 respectively) therefore assessing a rental fee is not cost effective. +I have authorized MSA, the former occupier, to return to the site after GCL completes their occupancy requirements to salvage and remove select fixtures. +There is no insurance on the buildings because the buildings are slated for demolition +I will be updating Martin Mosley (Urban Systems) so that he can proceed with his site servicing plan. +Phil and Jim Switzer are aware of the interim occupancy agreement to ensure this does not interfere with property development. +Site inspection photos are posted in LIS 504', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',222, '40769-12 S1791', NULL, NULL, '', 'Issued for $500 one-time payment in 1983.', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',1312, '701749', '20080918 00:00:00.0', NULL, '', 'R/W LICENSED FOR SPORT FIELD/SCHOOL GROUND FOR THE ADJACENT PROPERTY OWNED BY SCHOOL DISTRICT NO. 27. ', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',1296, '60229', '20121101 00:00:00.0', NULL, '', 'PAYMENT AMOUNT $356.68+ 5% GST $17.83= $374.51 RECEIVED. ', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',544, 'PS100008', '20051201 00:00:00.0', 1860.00, ' ', 'A portion (143.4 sqm) of the Wheaton leased property was required by the City of Coquitlam for widening of King Edward Street at Woolridge Street, xref 544-001. +Lease terminated Jun 1, 2007 +Craig to ammend lease and negotiate a let down for curb access on Woolridge Street.', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',599, NULL, NULL, NULL, '', 'Permit No. 01-003-22940, issued by Courtenay Area Office.', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',1368, '25432 (L2)', '20120501 00:00:00.0', NULL, '', 'THAT PART OF ROAD ALLOWANCE LYING SOUTH EAST OF LOT 3 PLAN 7835; COMPRISED OF .83 ACRES +/-. ALP $1,400 INCLUDES TAX IMPOSED. YEAR 2010/11 INCLUDES PART GST AND HST. FOLLOWING YEARS HST ONLY.', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',1312, NULL, NULL, NULL, '', '', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',390, '6730', NULL, NULL, '', 'Security Deposit, $10,000', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',1315, NULL, NULL, NULL, '', 'MONTHLY LEASE PAYMENT $2,500., FOR PAYMENTS RECEIVED APR 1, 2005 TO AUG 1, 2007 SEE SUB FILE 1315-000 EXPIRED LEASE.', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',1368, '60234', '20111101 00:00:00.0', NULL, '', 'Annual Licence Payment $356.67 + (5% GST) 17.83 = $374.50. Licence renewed payment $374.50 + 12% HST = $419.44.', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',662, NULL, NULL, NULL, '', 'Blanket sewer Statutory Right of Way provided for 156th Street/Hwy 1 Underpass project.', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',521, NULL, NULL, NULL, '', 'xref: 521-002 +Transportation Investment Corporation (TI Corp) grants permission to KFGP for stockpiling purposes. Contact John Peebles, (DR Coles), 250-882-9003 or Gary Webster, TIC representative for information regarding use, terms, and extension. ', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',521, NULL, NULL, NULL, '', 'xref: 521-001 +Transportation Investment Corporation (TI Corp) grants permission to KFGP for stockpiling purposes. Contact John Peebles, (DR Coles), 250-882-9003 or Gary Webster, TIC representative for information regarding use, terms, and extension. ', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',1312, '701571', NULL, NULL, '', 'See Assignment and Assumption Agreement on file. See Licence File No. 701571(A).', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',390, NULL, NULL, NULL, '', 'BC Hydro distribution line to serve Tom White, 2753 Sooke River Road, Section 49, ', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',1192, NULL, NULL, NULL, '', 'FEE: $1,500. plus 12% HST for the Term.', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',529, '13191', NULL, NULL, '', 'For tourism info center', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',1312, '701298', NULL, NULL, '', 'LUMP SUM PAYMENT $1,500. PLUS 5% GST. 10YR LICENCE. ', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',498, NULL, NULL, NULL, NULL, NULL, NULL, CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM','BCFERRIES','RCVBL',446, NULL, NULL, 0.00, '', '', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',390, NULL, NULL, 0.00, '', 'CRD water main located here under license. Expires 3001', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',390, '6730', NULL, NULL, '', 'CRD sublease to Metchosin Farmers Institute', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',90, NULL, NULL, 0.00, '', '', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',90, NULL, '20020601 00:00:00.0', 150.00, '', 'Lease Rental Payment Due Date: 01/09/2002', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',446, NULL, NULL, 0.00, '', 'CSRD phoned on Aug 16, 2008 (Beth Rees) to indicate that they are interested in maintaining this area for public use and will be in contact with us near the expiry of the lease in April, 2008.', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',503, NULL, NULL, 1.00, '', 'Lease Rental Payment Due Date: 01/10/2001', NULL, CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL', 126, NULL, NULL, 500.00, '', 'NOTE +May 12, 2005 - Glenn Callander in consultation with Border Infrastructure Program recommend 5 year term with 1 year early termination clause. + +DATE: MAY 9 2004 SEE BELOW +R/W TO CITY OF ABBOTSFORD FOR SAN SEWER. OVER PORTION OF 1661 SUMAS WAY. NEW LICENCE AGREEMENT BETWEEN BCTFA AND CITY OF ABBOTSFORD; COMMENCING AUG 1, 2006. FULL PAYMENT RECEIVED FOR THE TWO YEAR TERM. 2 X $500. +Invoice 95.019 July 3, 2014-$525.00 received for Aug 2014- July 2015 rent from City of Abbotsford', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',399, NULL, NULL, 0.00, '', 'Lease Rental Payment Due Date: 02/11/2001. New Licence Agreement dated Oct 4th, 2004. For Consideration see Sub File 002.', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',286, NULL, NULL, 0.00, '', ' LEASE AMOUNT $125 - SEE SUB FILE 286-000', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',230, NULL, NULL, 150.00, '', 'Lease Rental Payment Due Date: 01/08/2002', NULL, CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',504, NULL, NULL, 1.00, '', 'Extended to June 28/05 +Extended to March 31/06. CHEQUE IN THE AMOUNT OF $2945. 67 RECEIVED JULY 13, 2006 FOR THEIR PORTION OF THE 2006 PROPERTY TAXES RE: 3 MONTHS.', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',185, NULL, '20060404 00:00:00.0', 730.00, '', 'Lease Rental Payment Due Date: 01/03/2001', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',1312, '26859', NULL, NULL, '', 'ANNUAL AMOUNT $5,000. + GST 6% $300. = $5,300.', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',399, NULL, NULL, 0.00, '', 'Lease Rental Payment Due Date: 02/11/2001. New Licence Agreement dated Oct 4th, 2004. For Consideration see Sub File 002.', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',399, NULL, '20131101 00:00:00.0', 0.00, '', 'Lease Rental Payment Due Date: 02/11/200. New Licence Agreement dated Oct 4th, 2004. For Consideration see Sub File 002. LICENCE RENEWAL COMMENCING NOV 1, 2007 $150. ANNUALLY. Licence Renewed Nov.2013 -2017 $154 +GST annually.', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',223, '40769-08 ', '20070601 00:00:00.0', 2550.00, ' ', ' 4.25 ACRES', NULL, CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',223, '40769-04 S03503 ', '20060701 00:00:00.0', 2150.00, ' ', '84-18-W6M SW 14', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',223, '40769-05 S03334 ', '20030331 00:00:00.0', 3600.00, ' ', ' 084-18-W6M S13, S14', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',223, '40769-06 S03138 ', '20040320 00:00:00.0', 3500.00, ' ', ' 12.30 ACRES for wellsite & access road. Lease also includes part of LIS 1421under LTO document #X35801', '$3,500', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',223, '40769-07 S03618 ', '20090331 00:00:00.0', 400.00, ' ', ' 25 YRS 7.8 ACRES', NULL, CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',223, '40769-08 S01176 ', '20101201 00:00:00.0', 2850.00, ' ', ' ', NULL, CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',223, '40769-09 S03151 ', '20220731 00:00:00.0', 2480.00, ' ', ' 5/17 ACRES - 84-18-W6M S13', NULL, CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO +INSERT INTO [dbo].[PIMS_LEASE]([LEASE_STATUS_TYPE_CODE], [LEASE_PURPOSE_TYPE_CODE], [ORIG_START_DATE], [MOTI_CONTACT], [LEASE_RESPONSIBILITY_TYPE_CODE], [LEASE_INITIATOR_TYPE_CODE], [LEASE_LICENSE_TYPE_CODE], [LEASE_CATEGORY_TYPE_CODE], [LEASE_PROGRAM_TYPE_CODE], [LEASE_PAY_RVBL_TYPE_CODE], [TFA_FILE_NO], [PS_FILE_NO], [ORIG_EXPIRY_DATE], [LEASE_AMOUNT], [INSPECTION_DATE], [INSPECTION_NOTES], [LEASE_NOTES], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES('ACTIVE', 'other','20060930 00:00:00.0',1, 'HQ', 'HQ', 'LSREG', 'COMM', 'BCFERRIES','RCVBL',1312, NULL, '20090115 00:00:00.0', NULL, '', 'April 2012 licence payment $374.50 plus 12% HST. +Cheque received March 17, 2014 in the amount of $812.67 represeting rent for the term January 15, 2013 to January 14, 2015', '', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data', CURRENT_TIMESTAMP, N'Lease Seed Data', N'Lease Seed Data') +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/05_DML_LEASE_PROPERTY.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/05_DML_LEASE_PROPERTY.sql new file mode 100644 index 0000000000..ed2a219980 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/05_DML_LEASE_PROPERTY.sql @@ -0,0 +1,882 @@ +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 7723385, 90069930, 1, NULL, 0xBD0B00000104090000000AF241CF02332C41D8CEF773539D30418A1F63EEFB322C4148AA60F4509D30410CF2414FFF322C4130189594A69D3041A1CDAACFFF322C41082AA973B19D3041FA3A704E11332C4198051294A59D3041E0718A4E5A332C41E0CEF773749D304113F241CF46332C41F0D781136D9D3041961F63AE0F332C41A433A254589D30410AF241CF02332C41D8CEF773539D304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C790AB1A91C332C416CCBFCE97C9D3041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.333' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.333' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'UNKNOWN', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 11041404, 90072652, 1, NULL, 0xBD0B000001040E000000E23D79582D642941E885C9541C3C3041A1CDAA4FD7632941BC9DEF47243C3041E2718A0EAD6329413C1AC0FB293C3041C27493D865642941A0F1D20D233C3041B4EC9E3C646429410C68226C183C3041E23D79582D642941E885C9541C3C30414ABF7D1DBD63294130E4831E1C3C3041ECC03923D763294198EFA7261E3C3041520C026B2B64294154BF7D5D163C3041B830996A63642941CC12F261123C3041A045B63362642941044D848D043C3041EA73B5D5A4632941841D38A70B3C30411E97FF90A96329410CAC1CBA153C30414ABF7D1DBD63294130E4831E1C3C3041020000000200000000020600000003000000FFFFFFFF0000000006000000000000000003000000000100000003, 0xBD0B0000010C5F7AEC1E0B642941496C9B54153C3041, NULL, N'Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Vestibulum tempus iaculis ex eget semper. Etiam eget sollicitudin mauris. Mauris nec ligula eu massa faucibus ullamcorper in a dui. Donec ut arcu lacinia libero vehicula convallis vel tempus orci. Integer erat turpis, rhoncus et auctor rhoncus, blandit at elit. In elit lectus, finibus non interdum ut, sodales nec leo. In orci odio, finibus in mi et, rhoncus blandit ligula.', CAST(N'2022-03-04T13:10:39.860' AS DateTime), 0, 0, 0, 0, NULL, NULL, 4, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.370' AS DateTime), N'dbo', CAST(N'2022-03-04T21:10:39.860' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'NO', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14083736, 14745541, 1, NULL, 0xBD0B00000104050000009B89B0A19B6E2B41D43B4EF18F64314101098A9F876E2B41806ABC149064314109F2418F886E2B41B468008FB4643141D476BE9F9C6E2B41589FAB6DB46431419B89B0A19B6E2B41D43B4EF18F64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C9C1F371C926E2B416119D842A2643141, NULL, N'Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Vestibulum tempus iaculis ex eget semper. Etiam eget sollicitudin mauris. Mauris nec ligula eu massa faucibus ullamcorper in a dui. Donec ut arcu lacinia libero vehicula convallis vel tempus orci. Integer erat turpis, rhoncus et auctor rhoncus, blandit at elit. In elit lectus, finibus non interdum ut, sodales nec leo. In orci odio, finibus in mi et, rhoncus blandit ligula.', CAST(N'2022-03-04T13:10:39.890' AS DateTime), 0, 0, 0, 0, NULL, NULL, 4, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.380' AS DateTime), N'dbo', CAST(N'2022-03-04T21:10:39.890' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 4082664, NULL, 1, NULL, 0xBD0B0000010405000000AFB662DF59CC334130CD3B4EE9971C4150840DEF32CD3341C0D32BE51C981C41E8D9ACDACCCC33414054522745971C41A145B6935ECC334180923A0181961C41AFB662DF59CC334130CD3B4EE9971C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C300D1E8DA5CC3341BD2ED2E47F971C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.407' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.407' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 15937437, NULL, 1, NULL, 0xBD0B00000104050000000CAC1CDA128332419889B061994A2E4160984C1513833241803F355E8F4A2E4158C1A84409833241C832C4B1854A2E4156302A0909833241403411B68F4A2E410CAC1CDA128332419889B061994A2E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C10FA370F0E8332412E55DE898F4A2E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.417' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.417' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10459189, 17743571, 1, NULL, 0xBD0B0000010405000000000000809582324130B072A8AB4A2E41BA270F8B9782324138BA490C4A4A2E41418B6CC78C82324170E7FB693F4A2E415939B4888A82324150355EBAAA4A2E41000000809582324130B072A8AB4A2E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C6FEBD9009182324134CF56EA774A2E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.427' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.427' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13821202, NULL, 1, NULL, 0xBD0B00000104130000002E90A0D82B86334100AAF1D2F8DC1B413A4ED1112C863341B0B88D06DEDC1B4123F46C162C863341B05296E1B6DC1B41DC1B7C812B863341000456CE8FDC1B41D5D781532A863341307C61F268DC1B41A211A58D288633411033337342DC1B417BE09C3126863341C0C5DC751CDC1B419E89B04123863341A0BFEC1EF7DB1B4189B0E14906863341509D80A6ABDA1B41BB96908FDF853341D07EFB3AA3DA1B41896CE7BBE385334160A301BC3DDB1B41489D8026E48533417036ABBE59DB1B4191B96BE9E3853341F0CBEEC975DB1B41BED32B05E385334190F6069F91DB1B41341AC07BE185334120C9E5FFACDB1B419BBB9650DF853341604469AFC7DB1B4144598688DC853341F0A0F871E1DB1B41AA79C729D98533419096210EFADB1B412E90A0D82B86334100AAF1D2F8DC1B4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C04E465B202863341F4C844DBB9DB1B41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.440' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.440' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 18414885, NULL, 1, NULL, 0xBD0B000001040800000021EBE276919A394180204171B0C71F4138D6C5AD9C9A394190AACFD57AC71F41C74B37499D9A39418069DEF16EC71F4134DF4F6DA29A3941E03F355E0AC71F41F20DBE50A19A3941809A771C06C71F41DAACFABC889A39414076E01C5AC71F41C84B3789799A3941D0F97EEA82C71F4121EBE276919A394180204171B0C71F4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C76EFCF87919A39419621BBDA67C71F41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.450' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.450' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8750858, NULL, 1, NULL, 0xBD0B000001040A000000FB7E6A3C9E92304150D0445898DA1C41B32E6E739B9230418095434BADDA1C416719E2B898923041609A775CC2DA1C41D0CCCC0C9692304120CC5D8BD7DA1C41840D4F6F9392304170AB3ED7ECDA1C41FE4C84EDA4923041C0F75363EBDA1C41FA5C6DE5A192304130E4831E89DA1C41D4D781B3A0923041F0703D4A8EDA1C4132431C7B9F923041002DB25D93DA1C41FB7E6A3C9E92304150D0445898DA1C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CD58A06DF9D9230419BE793F2C8DA1C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.463' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.463' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13995570, 29845241, 1, NULL, 0xBD0B00000104050000003F355E7A50772B41F831E60EC0643141201FF46C3C772B41F40FE937C0643141509D80263D772B414CE3A53BDD6431414C6B9A3751772B41440E2D12DD6431413F355E7A50772B41F831E60EC064314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C45DC57D146772B413AAF9AA5CE643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 4, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.473' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.473' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14083663, NULL, 1, NULL, 0xBD0B00000104050000009C2C435C4C6E2B4168711B0DB06431410EFBCB6E606E2B41E4D24DC2B4643141CDDEE08B5F6E2B4158EA045490643141F2FDD4784B6E2B410460766F906431419C2C435C4C6E2B4168711B0DB064314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C7D2B9C30566E2B4197E10F67A1643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.487' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.487' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14413001, NULL, 1, NULL, 0xBD0B0000010405000000EEB050EBB68A32415079582847EB1B4190A982B1B78A3241100BB526FEEA1B411C0DE0CDA08A3241003480B7FAEA1B410C12147F9E8A324110DBF97E43EB1B41EEB050EBB68A32415079582847EB1B4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C25524B78AB8A3241C222304621EB1B41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.497' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.497' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 2833913, NULL, 1, NULL, 0xBD0B000001040500000014D0441830B932415074931873B01C41DAE76AEB14B93241102428FEE2AF1C41FE088A7FF5B83241001C7CE13AB01C41F05A42FE0DB93241300EBE30D4B01C4114D0441830B932415074931873B01C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C6051814B12B932417DC6E06E5AB01C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.510' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.510' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14116111, NULL, 1, NULL, 0xBD0B0000010408000000CC073DFB7CEF3241907F483F2F851C41194850FC9CEF3241E0FC8774EF841C41F4A7C64BB7EF32418054C1A8CF841C41095F982CFAEF3241E04F8D97BF841C4170787A65C7EF324170DE710AB6841C41E5D9ACFA95EF3241B0A52CC3AC841C4166DE71CA7BEF3241208104C5A7841C41CC073DFB7CEF3241907F483F2F851C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C1A32FF1F9DEF3241BC9C4D85D4841C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.523' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.523' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 11893613, NULL, 1, NULL, 0xBD0B000001040400000084B0E1498561334160976E923B5B1C41745F070E856133411020D26F505B1C41C27D1D188D613341200000003D5B1C4184B0E1498561334160976E923B5B1C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C3E2F02D087613341303DC000435B1C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.540' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.540' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 5764068, NULL, 1, NULL, 0xBD0B00000104080000003B3CBDB2842F3241606E120394941741CAC342CD8A2F3241F06F5F0783941741184850DC902F32414083C0CA71941741F9DBD7E1882F3241300AD72307941741DD9C1105702F3241100BB5A6249417410BC58F717A2F324150DC4603B0941741221FF48C7E2F3241B011A5BDA49417413B3CBDB2842F3241606E12039494174101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CC945F589802F3241BE973C8554941741, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.553' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.553' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8270333, NULL, 1, NULL, 0xBD0B000001040A000000F185C9F484B03241D0749318F9771C41A43C2C3484B0324140E7FBA9F9771C41621058B95BB03241E04B370918781C41348941E048B032418070CE8826781C41A43E575B45B032411075021A29781C41812F4C0659B032416027A08992781C41F697DD736CB0324100840DCF83781C4106AC1C1A68B03241C04B378927781C41E573B51586B0324180B96B0911781C41F185C9F484B03241D0749318F9771C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CE1F9A0EC60B03241711BED0243781C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.567' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.567' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 7487983, NULL, 1, NULL, 0xBD0B00000104050000002DBB27AFA97E30413090A07804051D41A33C2C94A97E3041D0BE0E9C16051D4125A08910C97E3041D0E1E99506051D411D6C783AC97E3041A0B43778EA041D412DBB27AFA97E30413090A07804051D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C77B9A185BA7E304176D24E4702051D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.583' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.583' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 2833948, NULL, 1, NULL, 0xBD0B00000104050000000CF9A0474BB93241907CD03303B11C4114D0441830B932415074931873B01C41F05A42FE0DB93241300EBE30D4B01C41FF9908DB26B9324130F2B0D06EB11C410CF9A0474BB93241907CD03303B11C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C5C831C2D2CB93241A9507E71EFB01C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.597' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.597' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8988374, NULL, 1, NULL, 0xBD0B00000104060000008C976EB2DED6324140840DCF7FA61C414E05A31216D73241F096218EE4A51C4102D5786917D73241009F3CAC78A51C41A7605412E2D63241F004341171A51C41A957CAD2E0D6324130E17A14C9A51C418C976EB2DED6324140840DCF7FA61C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CEEA0B79EF7D63241841D30DAD8A51C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.607' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.607' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8829381, 36481921, 1, NULL, 0xBD0B000001040B000000FDFFFFBFE4B23341A0B96B89F4141D416C3D0A97E2B23341B07BF270ED141D41383CBD62E0B23341F03B4E91E6141D41B02E6E23DEB23341801E85EBDF141D4146B6F33DADB23341C021FDF699151D41A7F1D20DBBB23341D0A59BC4C4151D417958A8B5E9B23341302EFFA10E151D41E8263188E8B23341F09E3CEC07151D418EE4F24FE7B233413006815501151D41ED8C280DE6B233417088D2DEFA141D41FDFFFFBFE4B23341A0B96B89F4141D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CAE8F9F02CCB233413A8F5A2A53151D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.623' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.623' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 25542371, NULL, 1, NULL, 0xBD0B0000010417000000EE7C3F95B8AA3241F044D8F0E74A1C41DE5817E7C1AA3241D06E8184DD4A1C41FC088A4FCBAA324180B3EA73D44A1C41927571CBD4AA324180B740C2CC4A1C41526B9A57DEAA3241F0D71272C64A1C41F6A06743E5AA32419067B32AC14A1C41A93E570BECAA324130136183B94A1C4193976EA2F2AA324150BADA8AAF4A1C41B915FBFBF8AA3241003D2C54A34A1C415EC3D30BFFAA324140EBE2F6944A1C41FC4A59C604AB3241903A708E844A1C41DE2D90200AAB324130355E3A724A1C41735F074E25AB3241A0D712720D4A1C4196BB963026AB324160DAACFAB9491C414AC8079D26AB3241C04DF30E92491C41B369DEB15AAA324170B20C716F491C41EDFDD4385AAA3241D087855A97491C418541600556AA3241E03FA4DFF94A1C41638FC25564AA3241F03311B6414B1C412FE6AE4565AA32412066F764464B1C41BC64AA406AAA3241203945475F4B1C41D909686292AA324150E5D0A2154B1C41EE7C3F95B8AA3241F044D8F0E74A1C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C743617AEAFAA32416D92C56C384A1C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.633' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.633' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 12572039, 13415961, 1, NULL, 0xBD0B0000010405000000BA7D1D382420224160E9267114FA2D41FE088A1F1E202241083B704EC8F92D41704F1ED6FF1F2241C06B09B9CAF92D41C8B12EEE05202241802BF6D716FA2D41BA7D1D382420224160E9267114FA2D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C01521E0712202241713B2E94EFF92D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.647' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.647' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10204610, 4462301, 1, NULL, 0xBD0B0000010407000000C6DCB5E48581324158BB274FB3492E413C575B31848132419826C246F7492E41EC1648D097813241E0B12E2EF9492E41F8A9F1729881324160D3BCA3E3492E4165B3EA3399813241F02A8716CA492E41D4CEF7B397813241E0361A00B5492E41C6DCB5E48581324158BB274FB3492E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C12342AC48E8132411F303297D6492E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.660' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.660' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 11756896, 90069993, 1, NULL, 0xBD0B000001040C0000009DE61DA766632941FCCBEEE9D83A3041DD5F764F1664294144F6971DD33A3041A82C431C14642941BC25E443C23A3041D6CCCC0CD8632941EC096862BA3A304143F1630CA2632941B8DA8AFDAA3A3041B4EA737587632941F05A423E9F3A30412E1AC09B70632941F43845A7913A3041EA285C4F6463294164226C38883A3041C41726D359632941CCB6623F7E3A3041666666265C632941243333B3813A3041EE7C3F35626329418C6CE77BB93A30419DE61DA766632941FCCBEEE9D83A304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C4D0DA4E5A36329417F1874B1BD3A3041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.673' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.673' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 23915803, NULL, 1, NULL, 0xBD0B00000104060000001CC05B8090AB324160333333EF631C4124E483DE98AB3241D0B88D86CF631C41153FC65C88AB3241602D211F75631C41B4FC877473AB3241C0B0E1E9C3631C410C5F986C83AB3241E00E9CB320641C411CC05B8090AB324160333333EF631C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C5549780F86AB32418E6BCC89CA631C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.683' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.683' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13997998, 23688351, 1, NULL, 0xBD0B000001040500000066D5E7EA82792B41140DE08DD8643141FE907EFB96792B4154CA3264D86431411CF46C1696792B412C3CBD72BE643141DE141D0982792B41FC87F49BBE64314166D5E7EA82792B41140DE08DD864314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C910E78818C792B4185098C80CB643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.697' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.697' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14083698, 14745381, 1, NULL, 0xBD0B00000104060000000EFBCB6E606E2B41E4D24DC2B4643141B2D85FB6606E2B4150FC18D3B464314197ED7C7F746E2B4184E09CB1B46431418A635D9C736E2B4134AB3E3790643141CDDEE08B5F6E2B4158EA0454906431410EFBCB6E606E2B41E4D24DC2B464314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CCFC687056A6E2B41E7080A84A2643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.707' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.707' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 5868530, NULL, 1, NULL, 0xBD0B0000010404000000BED32B658E283241406744E9229617415127A089A52832411019735732961741199E5E09A2283241703480B70D961741BED32B658E283241406744E92296174101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C0D330EA89C283241EBE667FD20961741, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.720' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.720' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10459294, 5676141, 1, NULL, 0xBD0B000001040500000013C7BA98CF82324140BF7D1DAA492E4112143F26D3823241B02E6EA3BE492E4104F9A007FA823241F0915C7EC2492E414650FC98FA82324100C364EAAD492E4113C7BA98CF82324140BF7D1DAA492E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C02977FE7E5823241D8B6B51FB6492E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.733' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.733' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 11097710, NULL, 1, NULL, 0xBD0B0000010407000000C732C4917166354110AAF15216AE2341CF6F5F4772663541E044D830F6AD23414BD8F0345E663541701D38A700AE2341BEF528FC5C66354158AF94E529AE23414C696F106766354100E17A5437AE2341C454C1887066354168C8073D45AE2341C732C4917166354110AAF15216AE234101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CCCA8628A68663541EAB1B8E019AE2341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.747' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.747' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 15494772, NULL, 1, NULL, 0xBD0B00000104570000003CCF6695EE27394138E6AE65D0D620414CBF7D1DF127394140E17A54D7D62041580E2D82F227394198AF0347DAD620417A711BDDF3273941C01E854BDDD62041BAD1002EF5273941B8529661E0D620410E4FAF74F627394160029A88E3D620412C5305D3F6273941305EBA89E7D62041A0D6346FF72739410068226CEBD620411DEBE246F8273941D0240621EFD62041A4CFD556F9273941E8E2369AF2D6204172CE8812FA27394178348017F9D6204133014D14FB273941A8DFBE6EFFD62041A2703D5AFC273941903C2C9405D72041482EFFE1FD273941007F6A7C0BD7204186C0CA81FF273941A0A3703DF1D620415F29CB5011283941A8FD6577D1D52041EEFDD438FC273941782F4C6650D520415DC3D3EBF327394120D26F9F1DD5204129D49AE6A627394130780B644ED52041907571FBA2273941A0ADD89F50D520414B9D80869C273941785F074E54D52041666666C69F27394160BF7D1D63D5204136F8C224A1273941203108EC6AD5204144696F40A1273941084D846D71D520418C3A010DA1273941F8CCCCEC77D52041B147E18AA0273941B010C75A7ED5204136234ABB9F273941F81DA7A884D52041BA847C90A1273941681058198CD520413A894140A3273941D88C28AD93D52041413EE8C9A4273941504013619BD52041AD03E72CA6273941500E2D32A3D5204102780B04A727394198923A41B3D52041E66A2BF6A627394150E6AE65BBD520415E29CB30A6273941C8293AD2C3D52041AC9DEF07A727394118AE47E1D3D520416EA3011CA827394198BDC157D7D5204199D40918A9273941F0C264EADAD52041EFB050FBA9273941F061A196DED52041C0D32BC5AA2739416807CE59E2D520410E9C33E2AC27394158302A69E9D52041AE946528AF2739410055C1E8F8D5204165226C98AF27394188613255FCD5204188F4DBF7AF27394188B96BC9FFD520416C469446B027394188CA324403D620418E537484B027394130014DC406D62041915CFE33B127394100B37BD20CD62041E3BE0E3CB2273941609FABAD12D6204170F90F99B3273941586EA34118D62041F54A5946B527394140234A7B1DD62041201FF4BCB6273941986E126320D620416D787A25B827394128DD246623D620416844697FB92739419865888326D620411A8C4ACABA27394188900FBA29D62041842F4CA6BB273941B86054722DD620416EE7FB99BC273941904E401331D62041826ABCA4BD273941A8506B9A34D62041F253E3C5BE27394100CBA10538D62041FEFFFFEFBE273941E08F31173CD62041107A365BBF27394160C6DC1540D6204146C6DC05C027394170A982F143D6204158A835EDC0273941B0506B9A47D62041BAD100CEC1273941283CBD524BD6204156F5B9BAC2273941B8B662FF4ED62041E8C039B3C32739414892CB9F52D6204113E258B7C427394128A1673356D62041D6CEF7F3C6273941C830998A5AD62041ECAE2524C92739419010C7FA5ED6204109F9A047CB273941204A7B8363D620410624285ECD273941E8AE252468D6204170B5155BCF273941C839234A6FD62041C2E3147DD1273941587DAE367FD62041B27BF270D2273941B015FB4B84D620419FEFA756D3273941083A926B89D620414E96212ED4273941E885C9948ED6204134992AA8D5273941087C617291D6204164CC5D2BD727394150D1913C94D62041703480B7D8273941608EE4F296D62041D2D5564CDA273941E8BCE39499D620416D348077DB273941303CBDF29BD62041E9C039B3DC273941E07A142E9ED62041B5C876FEDD27394168810445A0D620419FB43758DF27394128FDF635A2D620414F499DA0E1273941506744E9A8D62041B6847C90E427394140014D84B8D62041DE718A8EE62739419067B3AABFD62041F085C9B4EB273941D0F97E2ACCD620413CCF6695EE27394138E6AE65D0D6204101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C0E7A8D5DDE2739412546D8F5E6D52041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.760' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.760' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 12648337, NULL, 1, NULL, 0xBD0B00000104070000000634113611FF2541C837F8C2CFCE2F41004D84CD3DFE254118B072A879CF2F415A07CED96EFE2541B015FB8BA0CF2F41B4CFD51620FF25412818951412CF2F41742D211FAAFF2541E85F76CF32CF2F41D40968E2080026415011367C0ACF2F410634113611FF2541C837F8C2CFCE2F4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CB5A913DC0DFF2541DEA96CFD24CF2F41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.773' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.773' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 5484022, NULL, 1, NULL, 0xBD0B0000010470000000AB35CDFBCAAD3241B067B3EAC3E51C41DAA3707DD0AD324120EA95B2C3E51C415DFE43FAD5AD324100D34DE2C1E51C41D7F0F46ADBAD3241F0907E7BBEE51C410BF016C8E0AD3241C06E1283B9E51C4141575B71E1AD324120A7E8C8B8E51C41C2172693FAAD3241C0081B1EF9E51C41AD1C5AE402AE324110B684FC31E61C4121166A8D0BAE3241F0019A086AE61C4178711B8D14AE324170105839A1E61C41BA490CE21DAE32414094F686D7E61C417D9ECD8A27AE3241B08BDBE80CE71C41676FF08531AE3241703D0A5741E71C4190A0F8D13BAE324150F085C974E71C41C7C3426D46AE3241C034EF38A7E71C41CCA1455651AE3241B0E3149DD8E71C415ECC5D8B5CAE3241406900EF08E81C417E9ECD0A68AE32415054522738E81C4131772D2168AE32413025068138E81C41E6AE25848AAE324150F38ED3D4E81C4184B0E129EAAE3241B0FC87F42AEA1C412ACB10678FAF3241E0B0506B7AEC1C412A0F0B15FCAF324180635D5C30EE1C416207CE1913B0324140DE02091FEE1C414A50FCB837B03241800E2D3281ED1C412EFF21DD4BB0324170B81E052AED1C413BF8C24426B0324100917EFBA2EC1C41C7293A32C3AF3241506132D593EB1C41F73A702E64AF3241500D4FAF3FEA1C418DED7C3F35AF3241D061A1D697E91C41F30DBED034AF32414083C04A96E91C413E1361C334AF3241602CD41A96E91C4166666646F3AE3241A07FD9BDABE81C41ABE8486EACAE324180105839AEE71C415ACA328458AE324140D8F0F481E61C410F363C5D4CAE324120FF217D3EE61C4150F38E131EAE3241E0073D1B9DE51C41B2506BBA21AE3241F0B6627F8CE51C41B6DA8ABDFEAD3241202497FF12E51C41EC38454713AE3241A09CA223B6E41C41F25A425E11AE324120158CCAA7E41C41B41E852B11AE324160A7574AA6E41C4158423EA80BAE3241805EBAC97AE41C416F567DEE06AE3241103D9B5552E41C4115AE478106AE3241E02A87964EE41C41F60FE9B701AE3241105AD3BC21E41C4138234ABB00AE3241806891ED17E41C4179C7291AFDAD3241C0E61D27F1E31C41EFEBC0D9F9AD3241308716D9C9E31C41A53E57FBF6AD3241002A3A12A2E31C4191E4F27FF4AD324170F7E4E179E31C4100E78C68F2AD32414019735751E31C418E1804B6F0AD324180B7408228E31C413470CE68EFAD3241A0D71272FFE21C41C37493B8F0AD3241A0D556ECE3E21C41D49AE6DDF3AD3241F078E926A8E21C41F2384567F7AD3241707EFBBA6CE21C4172CE8852FBAD324170A757CA31E21C411071ACEBFEAD3241F0839E4D01E21C41CA54C18803AE3241305A643BC8E11C412ACB108708AE3241403108AC8FE11C41E29387E50DAE3241A079C7A957E11C41CDF753A313AE32412080483F20E11C41C87F48BF19AE3241F06A2B76E9E01C41F5065F3820AE3241803E7958B3E01C41B2FA5C0D27AE324180FB3AF07DE01C41A15E298B2EAE3241C0A59B4447E01C41E61DA7C810AE3241205AD33CDCDF1C4183C0CA61D8AD3241E0D100DED6E01C4138894120B3AD324140355E3A7CE11C41DCE995D2B5AD32412000000026E21C41CCE53FE4B6AD3241401058396AE21C4158A835CDB6AD324150A835CD97E21C413308AC1CB7AD3241B01A2F5DC5E21C41E3E995D2B7AD324150D122DBF2E21C41C0A8A4EEB8AD3241A0EB513820E31C4196BB9670BAAD3241F041CF664DE31C41F90FE957BCAD3241406210587AE31C41945CFEA3BEAD3241002428FEA6E31C419F3C2C54C1AD3241D0F0F44AD3E31C412CC28667C4AD3241F09F8930FFE31C412CFF21DDC7AD324190772DA12AE41C4167B3EAB3CBAD3241604DF38E55E41C41F31FD28FCEAD324190B662FF72E41C41FB75E0BCCEAD32418066666674E41C41E10B93A9D3AD32411003090AA3E41C419E3C2CF4D8AD32413070CE08D1E41C4157EC2F9BDEAD324120AB3E57FEE41C4134AB3EF7DEAD32419075711B01E51C41EC1648F0D6AD3241D0270F8B1EE51C41A9DFBEAECCAD324160E4F21F24E51C412EC4B1DEC7AD3241A02A181523E51C418FED7C1FC3AD3241C05A42BE1FE51C41DFE99582BEAD32410030BB271AE51C4101DE0219BAAD324150C1176612E51C41F5A9F1F2B5AD3241A0E1E99508E51C415B5BB11FB2AD3241403E57DBFCE41C410A5F986C41AD324150C5FE3275E31C41FA6C56BD2CAD324100E25817D1E31C41B2FA5CEDE6AC3241A00F7AB6E0E21C41E573B535E1AC324100000080FAE21C41DBCEF7D397AD3241C042AD6975E51C411648503C9CAD324150C1A8A483E51C419F8026E2A0AD324160E2C79890E51C415B5BB1BFA5AD3241207D3F359CE51C412FC4B1CEAAAD324100B1506BA6E51C41E41DA708B0AD3241007B142EAFE51C41DA78E966B5AD3241D0B27B72B6E51C4195779CE2BAAD324150C4B12EBCE51C41ED85C974C0AD32410088F45BC0E51C41CCA14516C6AD324150D8F0F4C2E51C41AB35CDFBCAAD3241B067B3EAC3E51C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CA9147BA0AAAE3241ADE64124B7E71C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.787' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.787' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 2518911, NULL, 1, NULL, 0xBD0B0000010408000000DE02096A76AE324170F4DB5755701C410B560E6DA5AE324100575B31E0701C4153A60AE6E5AE3241C07A142ED86F1C41B91E854BCAAE3241506DC5FEB46F1C41EFF44A39C2AE3241B0D71272AA6F1C410D61C3739FAE3241D045B6F337701C414F27A0A989AE324100651962FA6F1C41DE02096A76AE324170F4DB5755701C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C3E905219ADAE32414CFC3F103F701C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.800' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.800' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13601709, NULL, 1, NULL, 0xBD0B00000104050000005AEC2F9BF38E3241408C4A6AB2261D4109B5A6B9FD8E3241703F35DEB3261D417458A8D5FE8E3241D0DEE00B31261D41BBAF03C7F48E324180BE9F9A2F261D415AEC2F9BF38E3241408C4A6AB2261D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CCB263B3CF98E324160C5D9CC71261D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.813' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.813' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 15937551, NULL, 1, NULL, 0xBD0B00000104090000009DB437783A833241F8EEC983B04A2E41D6ACFA1C3A83324110E02D10C04A2E41ABF1D2ED43833241B023B9BCC94A2E41E826316844833241608B6CA7B44A2E4161E5D0624583324120B29D6F894A2E416ABC74933B83324150EE5AC27F4A2E41C30E9C933A83324180BC74D3AB4A2E4197779CC23B833241903A010DB14A2E419DB437783A833241F8EEC983B04A2E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CCE064FC63F833241B350E0B3A44A2E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.823' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.823' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 15937534, NULL, 1, NULL, 0xBD0B000001040A0000009DB437783A833241F8EEC983B04A2E41EF2FBB873083324180F7E461AC4A2E412731084C30833241A0416065B64A2E41D6ACFA1C3A83324110E02D10C04A2E419DB437783A833241F8EEC983B04A2E41AED85F7631833241F82A8796834A2E41C30E9C933A83324180BC74D3AB4A2E416ABC74933B83324150EE5AC27F4A2E4139014DC43183324198180416764A2E41AED85F7631833241F82A8796834A2E41020000000200000000020500000003000000FFFFFFFF0000000006000000000000000003000000000100000003, 0xBD0B0000010CB243B3BA368332414ADD1450984A2E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.847' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.847' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'YES', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 4735153, NULL, 1, NULL, 0xBD0B0000010408000000EE8E53D476533141B0E53F2476D01C41CE22DBF97E53314100D7A37050D01C4173E7FB699053314130234A7B4BD01C41C87F489F9053314130B072E826D01C4122F46CF69053314140F90FE9EACF1C41CE19517A77533141B0ADD85FDFCF1C41D4ACFA5C77533141008AB0E1FBCF1C41EE8E53D476533141B0E53F2476D01C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C9D44C51683533141024749691DD01C41, NULL, NULL, CAST(N'2022-03-04T13:10:39.667' AS DateTime), 0, 0, 0, 0, NULL, NULL, 4, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.860' AS DateTime), N'dbo', CAST(N'2022-03-04T21:10:39.783' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 4300017, NULL, 1, NULL, 0xBD0B0000010405000000A157CA7293822C4148EE5AC287E8224128ED0DFE79822C41E86C563DDCE8224195416065AE822C41186C783ADCE82241146A4D73D1822C41284A7BC35FE82241A157CA7293822C4148EE5AC287E8224101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C08479015A5822C418982D2AEA7E82241, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.873' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.873' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13908332, NULL, 1, NULL, 0xBD0B000001040800000075E7FBE937512B41305305A3FD6031410EE02D5040512B4110E9B7AF036131412B3A928B40512B41581058D903613141EBDBD7C13F512B41403108ACE7603141BC8F31B72B512B4130DD24C6E760314176B5153B2C512B41DCE76ACBF46031417FC729BA2F512B41B02E6E83F760314175E7FBE937512B41305305A3FD60314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C1BFA254C37512B419597DE84F2603141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.887' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.887' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13869591, NULL, 1, NULL, 0xBD0B0000010408000000B31C5A2492A23241E0E76AAB53F01C41C5293A12CBA232414075029AE6F01C41177C61D2CFA23241101AC0DBF2F01C41780B2488D7A23241601283C006F11C41306EA30148A332410076E09C98F01C419F8026A248A3324150B4C8F660F01C4172F085A99BA23241D0ACFA5C54F01C41B31C5A2492A23241E0E76AAB53F01C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C27E66FFDEFA2324186535D8B97F01C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.897' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.897' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 9659790, 3246951, 1, NULL, 0xBD0B00000104060000005BC1A824D2813541D822DBB9AA682541BE172653F3813541F085C95491682541BD42ADA9F9813541C017265381682541DCC798BBF4813541906ABCB46868254159C1A8A4CB8135412863EE5A8A6825415BC1A824D2813541D822DBB9AA68254101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C69F7BE1DE381354157953A0B8A682541, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.907' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.907' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 7482876, NULL, 1, NULL, 0xBD0B00000104050000004382E287497D304130F46C56ED021D4161FE431A337D3041405DDC46CB021D41124FAFD44B7D30418048BFFD46031D418538D6454C7D3041A098BB16FB021D414382E287497D304130F46C56ED021D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C77659AA8437D3041D9EE767501031D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.920' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.920' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13226291, 90073096, 1, NULL, 0xBD0B000001040A000000DF68006F622E2C41DCD781D374A1304130BB274F182E2C41D00E9C5375A130416C9A775C182E2C41901C5A8478A13041A201BC051D2E2C4124EBE2C679A13041240456CE212E2C4154158CEA7AA130412D3333B3262E2C419CFF90EE7BA13041AA7BF2B02B2E2C41CC293AD27CA13041EE8E53F45B2E2C41183FC67C7CA1304112B7D180622E2C4120E9B70F79A13041DF68006F622E2C41DCD781D374A1304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CCD31FA033F2E2C4174CCDDA278A13041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.930' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.930' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 16264436, NULL, 1, NULL, 0xBD0B00000104040000008048BFBD7CBC32416082E2C74F461D41192653A582BC324170F2B0D021461D414872F94F7ABC3241602041F147461D418048BFBD7CBC32416082E2C74F461D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CF64A59E67DBC3241BB319CD83D461D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.940' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.940' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 12912727, NULL, 1, NULL, 0xBD0B000001040A00000023C05BA0F8F726415491EDFC19B03241E6CEF7D313F826419C6E12C318B03241A211A5FD0EF8264124FDF6D5FDAF32417A16D94ED0F726414C27A0A900B03241DDFBA9F1BAF72641D06D34A001B032417636AB3EC8F72641442CD4DA05B032413590A018D5F72641E0F0F46A0AB032416F3D0A77E1F726417068914D0FB0324100C58F51EDF726418CB6627F14B0324123C05BA0F8F726415491EDFC19B0324101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CA022AFD4F3F726416AC3453C0AB03241, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.970' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.970' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13997971, 23688191, 1, NULL, 0xBD0B0000010405000000849ECD2ABE792B41B4ADD81FBE643141E1AE2524AA792B4194F08549BE6431412D4CA60AAB792B410863EE3AD864314166AA6014BF792B413C575B11D8643141849ECD2ABE792B41B4ADD81FBE64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CDA9F839BB4792B414AD2BE2DCB643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.987' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.987' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 5608481, NULL, 1, NULL, 0xBD0B000001040600000072CE8892E6EB324130E258174CA82A41C98F31F7DCEB324138BD52D69CA92A41172FDD84CDEC32410062A156B3A92A419D5E292BCFEC32412038678479A92A41C554C128D7EC3241B069DE7161A82A4172CE8892E6EB324130E258174CA82A4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C50834B1F5AEC324189E31C6FFFA82A41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:13.997' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:13.997' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13843389, 90073173, 1, NULL, 0xBD0B00000104060000006C9CA2A36C512B41CCC64B57206131412BF6975D6D512B41FC2FBBC720613141BD6B09F976512B41E4D9AC5A266131411DFDF6757D512B4118F697FD29613141026F81047D512B41A0779C42206131416C9CA2A36C512B41CCC64B572061314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CD24719AE77512B41780A318C23613141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.010' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.010' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 12917320, 1050611, 1, NULL, 0xBD0B000001040E00000025E4831E9AE02641C0506B5A579E3241043B704E9BE02641F8B27BF2569E3241606DC5BEA9E02641B8490C02529E324100DE02C9BAE0264134D6C52D4C9E324146EC2FBBCDE026417405A3B2459E3241F6088A5FC2E02641ACFD65573D9E324101B37B72B0E0264134FF217D439E3241811F63AEA2E026417458A835489E32411483C00A90E0264170F085A94E9E3241CADEE04B8DE02641B8270F8B4F9E32418EC2F5E890E026411085EB51519E32415FDC464394E026416C226C38539E32411BF46C5697E0264158DA1B3C559E324125E4831E9AE02641C0506B5A579E324101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CDB33CF13AEE0264144539C644A9E3241, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.030' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.030' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14083612, NULL, 1, NULL, 0xBD0B00000104050000007E3F351EF16E2B41E034EF588F6431419A11A5BDEB6E2B4158EE5A628F64314163E5D0E2EC6E2B41500C02EBB36431416CB5153B016F2B411CFAEDCBB36431417E3F351EF16E2B41E034EF588F64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C670DB594F36E2B4116FE7226A5643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.060' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.060' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13226231, 35711721, 1, NULL, 0xBD0B0000010405000000C09F1AEF172E2C41CC0E9C1366A130416D4DF30E622E2C41C00E9C7365A130410032E6EE612E2C4170BC74D35DA130412ABB27CF172E2C41D4D781735EA13041C09F1AEF172E2C41CC0E9C1366A1304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CF8C211EF3C2E2C4133CE8BF361A13041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.090' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.090' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 12648302, NULL, 1, NULL, 0xBD0B000001040C000000611058F9D9FE2541105305638BCF2F41742D211FAAFF2541E85F76CF32CF2F41B4CFD51620FF25412818951412CF2F415A07CED96EFE2541B015FB8BA0CF2F4133A2B43778FE2541504772F9A7CF2F411E7C61F274FE25415827A0C9C2CF2F41EBCD19D178FE2541603BDFCFC4CF2F4118D26FFF8AFE254128D8F054B7CF2F41DCD022DB9DFE2541A8B20CD1AACF2F41E0581757B1FE2541B003E74C9FCF2F417E38D665C5FE254148696FD094CF2F41611058F9D9FE2541105305638BCF2F4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CEBA97AD202FF254128162C735BCF2F41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.117' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.117' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 11929090, NULL, 1, NULL, 0xBD0B000001040A000000D266D5A74AB13241A0B6627F2B7E1C41B8B88DE644B1324180C5FEB2597D1C413C2CD41A51B13241A096210E637C1C4194B20CD149B13241401B9E5E717C1C411E5A643B1AB1324150F38ED3CE7C1C41205A649B24B13241B0DA8AFD127D1C4100780BA42EB13241406B9AF7577D1C41EE8E535438B13241D0D9ACBA9D7D1C41CA073DAB41B13241A024973FE47D1C41D266D5A74AB13241A0B6627F2B7E1C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CF9695C1C3AB13241DAD3DFCD127D1C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.130' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.130' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 11471409, NULL, 1, NULL, 0xBD0B000001040500000001917EFBCBBA3241203B70CE9A4C1D41AF506B3AE0BA3241907D1D38924C1D41A4DFBEAEE1BA32418044FA6D0D4C1D417E6ABC14CDBA3241F022DB79364C1D4101917EFBCBBA3241203B70CE9A4C1D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C9172AE37D7BA3241054D20A85B4C1D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.140' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.140' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10012044, NULL, 1, NULL, 0xBD0B000001042C00000006A392FA0E683541B096908F5F1F1F41078195832F683541108A1F631F1F1F41588638964C6835414050FC18E61E1F41FE2A87565668354110E17A94CD1E1F4106F9A00761683541505530AAB91E1F4162C3D3EB64683541900A4625AD1E1F41AE7268316568354150DA1BFCA01E1F41DC3D791869683541E09387050F1E1F4150F38EC360683541503BDF0F201E1F41AB72688158683541E0B0E1A9311E1F419A779C5250683541906054D2431E1F41AABDC13748683541604BC887561E1F4192976ED2E1673541B0A9F1D2401F1F4187855A83D86735417088D29E541F1F41750B24E8CE6735418036ABFE651F1F41432CD40AC5673541108941E0741F1F415C8FC2F5BA673541A0EA0434811F1F41996588B3B067354120E8D9EC8A1F1F4141A4DF4EA667354110B7D100921F1F41CB20B0D29B67354140795868961F1F416FE7FB4991673541A088D21E981F1F413792CBBF86673541E0408222971F1F4130BB273F7C673541F08E5374931F1F41926E12D37167354170075F188D1F1F414B9D808667673541B0F3FD14841F1F410E5839645D673541E0B3EA73781F1F41625DDC7653673541E05B20416A1F1F413470CEC8496735412071AC8B591F1F4164E5D02228673541B011A5BD211F1F41D834EF985765354120E17A94B21B1F417F9ECD4A6465354170A4DF3E511C1F41976588A32D66354110C7BAB8CA1D1F41C09F1AEF3F663541E0B27BF2EC1D1F411CC05BE03C673541D0043411C71F1F41F8285C7F42673541C0C3422DD11F1F41EBF21F3248673541C0F21F92DA1F1F414F7424F74D673541006D563DE31F1F41201FF4CC53673541607AA52CEB1F1F41D344D8906D673541A0BB9690FC1F1F41BD9F1A6F8E67354130E3A51B0A201F41016F8144A5673541E052052306201F41C88F31B7CF67354130423EE8D61F1F41D16F5F87F1673541300C712CA01F1F4106A392FA0E683541B096908F5F1F1F4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CF5E9AD7BE16635414DD76850571E1F41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.150' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.150' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14215225, NULL, 1, NULL, 0xBD0B00000104160000004E4013612C5E35415807CED9CB1A244104F9A0072E5E3541B8E4F25FE81A2441DC7A146E2F5E3541A07CD0F3041B244146D8F094305E35411873D792211B24416EA3017C315E354158EC2F3B3E1B2441B937F822325E3541500C02EB5A1B24414F8D97AE325E354198976ED28E1B24419B802662335E354198DE71CA991C244188D2DEA04C5E3541A01726D39D1C24412F4CA68A725E3541B064AAE0A31C2441624BC847935E3541409B551F7C192441B28BDB682B5E3541983B4E916B192441910F7A56045E35419019E2586519244138DF4F4D165E354100F775A0EA192441480C02EB195E354150302A69061A244184A7574A1D5E35417817B751221A24414403786B205E3541F061A1563E1A2441C6BAB84D235E35413022FD765A1A2441B27268F1255E354198C420B0761A2441CDAACF55285E3541385BB1FF921A244137234A7B2A5E354158D3BC63AF1A24414E4013612C5E35415807CED9CB1A244101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CB16C14D5545E354139C786E6CF1A2441, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.163' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.163' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 15885844, NULL, 1, NULL, 0xBD0B0000010415000000B2B6625F099E3841D80DBE30220E20418A855A33E99D3841805E29CB1F0E204136B4C836CD9D384198703D0A200E20414E6B9AD7BC9D3841804AEA44230E204100F775A0AC9D384190A1D674290E204138234A1BA29D384160CD3BCE330E2041FA6C56DD9C9D3841407958283E0E204166AA60F48E9D384180F4DBD7600E2041BE9F1AAF8A9D3841D0847C50730E204170CE88B2829D3841186A4D33AC0E2041923177CD7E9D3841E0FBA9B1CA0E20416819E2787C9D3841D00434D1E90E2041905374247B9D384188E61D672D0F2041204A7BE3829D384170F90F69720F2041FF87F4BB869D3841401361C3880F2041CC6D34008C9D3841C07F48BFBA0F2041FC65F704629E384178226CF8F00F20410B560E6D619E3841C878E966E00F20414E05A3D2509E3841B8D2DEA00D0F2041ABCFD536269E3841F8F44AD9220E2041B2B6625F099E3841D80DBE30220E204101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C6F7BE9BAEA9D3841E51E0B8F0A0F2041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.177' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.177' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14508567, NULL, 1, NULL, 0xBD0B0000010405000000BD7D1DF88D2E334150D5E7EA0F951C413408AC3CA42E334190B12E6E25951C41AB825189AB2E3341E0907EFBBC941C41A8C64B57952E3341E07CD0B3A8941C41BD7D1DF88D2E334150D5E7EA0F951C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CB35A49C99C2E334147C7B0D5E6941C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.190' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.190' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 12190616, 90052919, 1, NULL, 0xBD0B000001040A0000005296216E6FE83241B06B09B9505B2A41CE3B4E116CE83241086C783A8C5B2A41068A1F036BE83241F81EF42CAD5B2A412B6519C262E83241184ED191415C2A415205A3B2F9E8324180567D2E465C2A4162DC46C3E8E83241A8D32B656E5B2A41C6C3422DE7E8324178992AD85E5B2A41F64A592676E8324108D04418DA5A2A41885AD37C72E8324178D5E7EA1A5B2A415296216E6FE83241B06B09B9505B2A4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C871B86F7A8E83241804B0935B45B2A41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.200' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.200' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13978063, 23695671, 1, NULL, 0xBD0B000001040500000092B0E1A9A8792B41A442AD8992643141964160E5A7792B41384ED1517B643141463EE8D993792B41906CE77B7B6431410E1B9E9E94792B418C8EE4B29264314192B0E1A9A8792B41A442AD899264314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C1FE101429E792B4188BC8C0287643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.213' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.213' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13769634, NULL, 1, NULL, 0xBD0B00000104040000004FAF94C5D42C3341308B6C6737131C41B71E85CBD32C3341A08D06F0A1131C412A1895140C2D3341F029A9133E131C414FAF94C5D42C3341308B6C6737131C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C65F7E4E1E62C33414016B4235D131C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.230' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.230' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 9680411, NULL, 1, NULL, 0xBD0B000001040600000084DB68407BA53241E054C12807881C412D992A587AA53241F086A7D75D881C41E258171793A53241B06D3480A2881C415D764FDE93A5324180FC87744B881C41E2E995528AA5324100FED4F830881C4184DB68407BA53241E054C12807881C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C5D216D2387A53241FB8811C754881C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.243' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.243' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 15302113, NULL, 1, NULL, 0xBD0B0000010407000000EA8C284D58CC3641384ED1110E7F2441A33C2CF455CC364110B37B723D7F2441FD2A87F653CC36410064CC9D657F2441EE16485063CC364168B29DAF687F24416A6FF08566CC3641C8AE2524287F2441FEF6756067CC364110CCEEC9167F2441EA8C284D58CC3641384ED1110E7F244101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CEE63FCA75DCC3641C7760DC13C7F2441, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.260' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.260' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 7487991, NULL, 1, NULL, 0xBD0B000001040500000075711BCDE67E3041D04F8D17D2041D411D6C783AC97E3041A0B43778EA041D4125A08910C97E3041D0E1E99506051D41F07C3F95E67E30413072F98FF7041D4175711BCDE67E3041D04F8D17D2041D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CF2AD239FD87E3041DEC68735EE041D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.270' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.270' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13226151, 90073093, 1, NULL, 0xBD0B000001040500000014E9B7EF602E2C41A445B6B337A13041E368002F312E2C4164F38E1338A13041604469AF252E2C412CF38ED33FA13041BA9F1A2F612E2C41D8D781533FA1304114E9B7EF602E2C41A445B6B337A1304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C5E069420462E2C41512179DF3BA13041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.293' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.293' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977920, 23708861, 1, NULL, 0xBD0B00000104050000006EF90F693A772B4124A91350806431412F08AC5C26772B4148477279806431418BA0F8F126772B41985CFEA391643141865AD3FC3A772B4188BE9F7A916431416EF90F693A772B4124A913508064314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C7EBD20AD30772B41C3F5ECF988643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.320' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.320' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 6205861, NULL, 1, NULL, 0xBD0B00000104070000003B8941C082413141D0ADD85FFCE61C41ECD9ACDA3F413141F009682205E71C416819E2583C41314150CD3B4E05E71C41109C3322414131411096438B39E71C41D088D25E4B413141C09F1A2F76E71C418026C2E682413141E07A832F63E71C413B8941C082413141D0ADD85FFCE61C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CA336890762413141B88FEF1C35E71C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.340' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.340' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 1342177, NULL, 1, NULL, 0xBD0B0000010405000000F64A59866EBC3241B045B673BE461D41BA490CA275BC3241A09AE61D87461D41AD9DEF4770BC324150F46CD675461D418EE4F23F66BC324150EC2FBBA3461D41F64A59866EBC3241B045B673BE461D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C3EECA25D6EBC3241B8371D9899461D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.350' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.350' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13602039, NULL, 1, NULL, 0xBD0B00000104050000000E363CDDE08E3241E06A2BF617261D4157A835EDEA8E3241C0C2D3AB19261D41647FD95DEC8E32418095430B92251D411C0DE04DE28E3241003D9B5590251D410E363CDDE08E3241E06A2BF617261D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CB8DA8A9DE68E32410780B700D5251D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.360' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.360' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 5649293, 761811, 1, NULL, 0xBD0B00000104070000000E83C04AB0D1314190FEB2FBD8F01941E9FBA91194D1314190AC8BDBA5F019414ED1919C90D1314110BADA0A6BF21941826132558FD13141C0779CA212F31941E595B20CB0D13141E05B8F4217F31941D488D21EB0D1314150B20C716FF219410E83C04AB0D1314190FEB2FBD8F0194101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CA73345B1A0D1314161D607FDF0F11941, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.370' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.370' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13226134, 90073092, 1, NULL, 0xBD0B000001040600000014E9B7EF602E2C41A445B6B337A130410BF241CF602E2C41E0E00BF331A13041DE68006F3B2E2C41DCD7813332A13041DC6800AF392E2C4168BC743332A13041E368002F312E2C4164F38E1338A1304114E9B7EF602E2C41A445B6B337A1304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C4A61BC0C4B2E2C41BD4CB21435A13041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.380' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.380' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14083523, 14745671, 1, NULL, 0xBD0B000001040500000014E9B7AFB06E2B413CFAED4BB4643141161DC9A5AF6E2B410C4D84CD8F6431419B89B0A19B6E2B41D43B4EF18F643141D476BE9F9C6E2B41589FAB6DB464314114E9B7AFB06E2B413CFAED4BB464314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C9EB7E125A66E2B41F0FEE51FA2643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.407' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.407' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14083701, 14745411, 1, NULL, 0xBD0B000001040500000009F2418F886E2B41B468008FB464314101098A9F876E2B41806ABC14906431418A635D9C736E2B4134AB3E379064314197ED7C7F746E2B4184E09CB1B464314109F2418F886E2B41B468008FB464314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CB998B5127E6E2B41EF470F65A2643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.420' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.420' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14297744, NULL, 1, NULL, 0xBD0B000001040600000008C58FD19A913241B01E85EB5E0D1D41DF0B93A97F913241308B6CE75B0D1D41BC5B20217E9132415010E937F00D1D419E923A41889132414061C353F10D1D41E24603F899913241F0BFEC1EAF0D1D4108C58FD19A913241B01E85EB5E0D1D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CD847953A8B913241283383C19E0D1D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.430' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.430' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14346036, NULL, 1, NULL, 0xBD0B0000010419000000569FABAD78BC3541F8285C0FD2A72341733D0A9788BC354140014D04DCA72341C1EC9E1C8DBC354188AEB6A2E0A7234169AA60549DBC3541B0DCB504F2A72341E0581717A4BC3541B89999D9FAA7234156302AA9BEBC3541000681551DA82341F575E05CC5BC354168F7E4A124A823416DAC8BBBDCBC354168CC5DCB38A82341E29C11E5DFBC3541383333333BA8234172128320E8BC3541E82553456DA72341DFA59B04E6BC354120ADFA1C6CA72341FA6C56FDE5BC354108BE30196CA72341C37D1D3847BC354120AC1C1A14A723413CF8C2E4DDBB354168DE71CA01A723416A2BF637DBBB3541F0BE0E5C37A72341B2B662DFEFBB3541507424174BA723418B8EE4B2FABB35413041F16354A7234108F016481FBC354180EE5A0270A7234146696F1027BC354198A223F975A723411E4A7B2345BC35419857CA7291A723411A1DC9C54CBC3541F865F7E497A7234156D3BCE367BC354100D578A9B6A7234188B0E1A96CBC35411073D752BBA72341AE1C5AC474BC354100CAC342CBA72341569FABAD78BC3541F8285C0FD2A7234101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C2C388C8179BC35411A74A23981A72341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.440' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.440' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 7482965, NULL, 1, NULL, 0xBD0B000001040E000000CB6D3440A47D3041A0749398C4041D414260E550A47D3041C08BDBE899041D41E651B8BE9C7D3041B0559FEB7F041D41B0B6628F957D304110C8983B64041D41FDDD02C98E7D304150C420F046041D41D03B4E71887D3041C09B332228041D414F499D40807D3041C02FBB27FF031D41D98173C67A7D304140D122DB31041D41F3FDD4D8807D304120C8983B50041D4147D8F094877D304170499D0070041D41B22E6EC38E7D304140C3642A8E041D41C5B12E5E967D3041509B559FAA041D41EB51B85E9E7D3041E0CA1047C5041D41CB6D3440A47D3041A0749398C4041D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C2D92549A8F7D304191E0E5976A041D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.463' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.463' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 5090083, 35720151, 1, NULL, 0xBD0B0000010409000000704DF34E362E2C410C61C3B3EFA0304151840D0F032E2C4100A16793DCA0304135BB270FFB2D2C41887CD093D9A03041BE9F1AEFF12D2C41B0D781B3DFA0304110F241CFFA2D2C411461C313E3A030418616D90E062E2C41E8D78133E7A0304133BB270F2F2E2C41C40E9C73F6A030419B5E29CB332E2C4180B0E1C9EFA03041704DF34E362E2C410C61C3B3EFA0304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CD4362E0E142E2C41E85341B6E7A03041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.473' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.473' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13998056, 23688771, 1, NULL, 0xBD0B000001040500000047E8D9AC32792B411C583934D964314174A301BC46792B4144158C0AD9643141FEF675E045792B4190C64B17BF643141332AA9D331792B41E4361A40BF64314147E8D9AC32792B411C583934D964314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C45CC32473C792B4139C2CC25CC643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.483' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.483' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14083582, 14745961, 1, NULL, 0xBD0B000001040500000063E5D0E2EC6E2B41500C02EBB36431419A11A5BDEB6E2B4158EE5A628F643141CE56ECAFD76E2B41100BB5868F643141AC7268D1D86E2B41C030990AB464314163E5D0E2EC6E2B41500C02EBB364314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C1109AF48E26E2B4194D333B8A1643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.500' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.500' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 17839149, 90056931, 1, NULL, 0xBD0B00000104050000008FF6065F4BF22641A43C2C54B2AD32418D3A014DB8F22641204FAF14ADAD324111F2418FB6F226411CB4C816A4AD32412CCB108744F226413C0AD7438FAD32418FF6065F4BF22641A43C2C54B2AD324101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C3C2DD8B174F226419E2024ECA3AD3241, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.513' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.513' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 9325611, NULL, 1, NULL, 0xBD0B000001040700000013F241EF413A324160BC05922B841741F1164870403A3241C0CFD5562A8417418D0F7A363F3A324130C954C1358417416C226C583C3A3241A0B7408250841741D8F97E8A273A324110151D491285174198DD9307293A3241A09318841385174113F241EF413A324160BC05922B84174101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CB4236ABE343A324191E104DD9E841741, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.530' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.530' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 7894678, NULL, 1, NULL, 0xBD0B0000010405000000B61E850BD61C3041302FDD64084021413FC6DC95D51C304120431CEBA740214186DB68C0071D3041805149DDA74021411B7C6112081D3041A02C431C08402141B61E850BD61C3041302FDD640840214101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C9D698FDEEE1C304183F3E31B58402141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.543' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.543' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 5090199, 35721061, 1, NULL, 0xBD0B0000010405000000840D4FAFA92D2C41D4D781B310A13041E46800AFA02D2C41ECA067D316A13041FF3A70CEDD2D2C41F0A067932DA130410AF241CFE62D2C414CF38E7327A13041840D4FAFA92D2C41D4D781B310A1304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C24C814BFC32D2C4101577E231FA13041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.557' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.557' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8442827, NULL, 1, NULL, 0xBD0B000001040500000065CC5D0BC6522B41B03E571B14522341CA22DB79C8522B4100D578E956522341702BF6D7E6522B41A822DBB955522341A479C769E4522B41D0D781F31252234165CC5D0BC6522B41B03E571B1452234101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C4F1B7271D6522B418D0D8DEC34522341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.570' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.570' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13995561, 29843841, 1, NULL, 0xBD0B0000010405000000F126314865772B41307958E8DC64314114022B8764772B41706FF0E5BF6431413F355E7A50772B41F831E60EC06431414C6B9A3751772B41440E2D12DD643141F126314865772B41307958E8DC64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C88D64BE05A772B4151B74C7CCE643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.583' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.583' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8779074, NULL, 1, NULL, 0xBD0B000001040900000078E09C718C17334150DA1B7C16A21C4194D409C883173341F043FA6D19A21C41FEB27B927C17334180F90FE932A21C41E80434B17817334120F2B0507DA21C4144AD695E9B173341001FF4EC83A21C41769318C49C173341508FC27510A21C41FB770B5497173341F0D0B39912A21C41343333E3911733412051DA9B14A21C4178E09C718C17334150DA1B7C16A21C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CA393AF548C17334160947D554DA21C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.593' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.593' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13602047, NULL, 1, NULL, 0xBD0B00000104050000000E363CDDE08E3241E06A2BF617261D411C0DE04DE28E3241003D9B5590251D415F7FD93DD88E324160E4F29F8E251D4156A835CDD68E32418012834016261D410E363CDDE08E3241E06A2BF617261D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CB7DA8A8DDC8E3241AA270F4BD3251D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.607' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.607' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 9126279, NULL, 1, NULL, 0xBD0B000001040900000004AC1C3A92393241E065F7E40F8A1741E461A1369539324140AF25E4028A174148D8F02498393241E0C420B0F5891741172FDD049B393241905EBA49E889174131A2B4178C3932417019E2D8DA891741DA8173A6813932419069DE71D18917410946253577393241704CA60AC8891741BF1726937239324160F8C264F389174104AC1C3A92393241E065F7E40F8A174101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C6BED8BDA8539324198AF0181EC891741, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.630' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.630' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 886874, NULL, 1, NULL, 0xBD0B00000104100000005F5DDCE638B03241508941E0E5771C41A43E575B45B032411075021A29781C41348941E048B032418070CE8826781C41621058B95BB03241E04B370918781C41B372687159B032412090A078C5771C416EF0852957B0324190D409E872771C41779CA2A355B03241E0ADD8DF3B771C4153499D3054B032415060E5D046771C4111D0443852B03241C0D1005E50771C419ED634CF4FB032410053052358771C4132C4B10E4DB0324170A8A4CE5D771C414CF38E134AB03241A00A462561771C4149C807FD46B032418093180462771C41470378EB43B0324170F7E46160771C413E13610347B03241504BC807D0771C415F5DDCE638B03241508941E0E5771C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CC69A95B04DB0324126B57B7FC6771C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.640' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.640' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 6914781, NULL, 1, NULL, 0xBD0B000001041700000030B29D4FCE6D31418075711BA3F719419231776DA96D3141B0BCE39499F719412085EB91F66D3141106A4DF31BF819418CEB5138006E3141005C8F422CF81941E4141DC9006E3141105EBA49B5F7194130B29D4FCE6D31418075711BA3F719413BCD3B2EA06D3141C07D1DB83FF81941B815FBAB976D3141203945C734F8194123FDF6D5916D314160D0B35941F81941D188D25E916D3141E0D7123244F819410E7A36FB906D3141E046033847F81941361136AC906D3141208A1F634AF81941CA20B072906D3141E03099AA4DF81941B99690EF8F6D3141F0891F63A7F819416FA3019CE26D314180703D0AC4F81941FF9908DBD26D314190E4F29F9FF81941D222DB99CB6D314180D0B3D98FF81941536B9A57C46D3141C0EBC0B980F8194122F46C16BD6D31418082514972F819412EA2B4D7B56D314130295C8F64F81941C0F5289CAE6D3141804DF38E57F81941B125E463A76D3141D0CB7F484BF819413BCD3B2EA06D3141C07D1DB83FF81941020000000200000000020600000003000000FFFFFFFF0000000006000000000000000003000000000100000003, 0xBD0B0000010C120E506BC76D31411A62A6DD2FF81941, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.653' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.653' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10318658, NULL, 1, NULL, 0xBD0B00000104050000007A0B240886F233417C5E29EB3291334106C58FB146F23341E44603782E913341A2703D4A39F2334148158C4AED91334185DB68A078F23341B811A5BDF19133417A0B240886F233417C5E29EB3291334101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CF43918A95FF23341F702BD1A90913341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.663' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.663' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 12787540, NULL, 1, NULL, 0xBD0B00000104070000003BAB3ED725B13241409FAB2D267C1C413DBD529608B132410042CF66D97B1C4130FF21FDEEB0324150158C4ACE7B1C411E5A643B1AB1324150F38ED3CE7C1C4194B20CD149B13241401B9E5E717C1C41C29F1A2F4FB1324130B9FC07067C1C413BAB3ED725B13241409FAB2D267C1C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C4A5EC03321B1324180FC3A4B497C1C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.673' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.673' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 3780899, NULL, 1, NULL, 0xBD0B0000010405000000E4F97E2AB2822C41785305E347E82241A2C420F0C6822C4120287E8CFEE72241CCC56D3492822C416005A392EFE72241840D4F6F7D822C41E01DA7E838E82241E4F97E2AB2822C41785305E347E8224101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C9554A32FA2822C4182FAABBA1BE82241, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.687' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.687' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977580, 29839701, 1, NULL, 0xBD0B0000010405000000849ECDAAAF7A2B41D012F221D66431419F01BCC5AE7A2B41C0847C30BC643141D222DBB99A7A2B4198900F5ABC643141752D219F9B7A2B41CC1E854BD6643141849ECDAAAF7A2B41D012F221D664314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C29436132A57A2B41AF2AFB3DC9643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.697' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.697' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977865, 23695411, 1, NULL, 0xBD0B000001040500000070348037857A2B4154E3A5BB9064314145136143997A2B41F8FBA991906431410E83C08A987A2B41345A645B79643141DFB5847C847A2B41F05C6D857964314170348037857A2B4154E3A5BB9064314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CEF6488E08E7A2B41DA334E0B85643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.710' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.710' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 11212527, NULL, 1, NULL, 0xBD0B0000010405000000ECB0504B95AB324100E78CA897641C4187A757EAA5AB3241908CB9EB58641C415340136194AB32410087A75702641C413980B76086AB3241C051B81E37641C41ECB0504B95AB324100E78CA897641C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C679E1CB995AB3241A61D8BD24B641C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.720' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.720' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 11472031, NULL, 1, NULL, 0xBD0B0000010405000000871F632E52BC324120287E8CFF461D417E2F4C2648BC324170D712722D471D41FD87F49B52BC324120E9B72F4F471D41303333F35CBC324140166A4D22471D41871F632E52BC324120287E8CFF461D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CEF6C497F52BC3241672E658227471D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.733' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.733' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14083566, 14745831, 1, NULL, 0xBD0B0000010405000000118C4AAAC36E2B41B442ADA98F6431416A1283C0C46E2B4130431C2BB4643141AC7268D1D86E2B41C030990AB4643141CE56ECAFD76E2B41100BB5868F643141118C4AAAC36E2B41B442ADA98F64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CC872333BCE6E2B41D87638DBA1643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.743' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.743' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13873695, NULL, 1, NULL, 0xBD0B00000104060000003889410062F23241809A771CAF831C41F9A0677363F23241F0CFB3D93C831C41F3065FB864F2324130516B9AD9821C4160C3D30B53F23241502CD41AD6821C41E10209CAD1F13241F05AD33C94831C413889410062F23241809A771CAF831C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CF2DE7D4932F23241EF7A0F0857831C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.753' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.753' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 5056144, NULL, 1, NULL, 0xBD0B0000010409000000E04F8D578E523141D07E6ABC60D21C419406F0F69A5231419074931843D21C41E8D9ACDAA252314100AF946531D21C414A94F6E6B4523141F0EB2FBB08D21C4177931804B7523141608FC2F503D21C4152621058B752314110EEEB4003D21C4156B1BF0CCA52314100759318D6D11C416BF7E4C182523141B03767C422D21C41E04F8D578E523141D07E6ABC60D21C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C513205B59E5231410326D47F1DD21C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.773' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.773' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14042231, NULL, 1, NULL, 0xBD0B0000010410000000F4C9C302EA993341E0DF2D10F24F1C41986E1203E1993341A0C64BB7D64F1C415EEE5A22D8993341E01114BFBA4F1C4133772D61CF993341B079C7299E4F1C4100F775C0C6993341604772F9804F1C41BB64AA40BE99334120C52030634F1C41285C8FE2B599334190F2B0D0444F1C41F241CFA6AD993341808863DD254F1C41FF43FA8DA5993341D03D7958064F1C410EC7BA989D993341905CFE43E64E1C415C4BC8C795993341A02E6EA3C54E1C41B21C5A448C993341F061A1569C4E1C4163A1D6D4C699334100780BA48B501C41A52C435CFC993341E0D022DB26501C413A80B720F3993341E0A679C70C501C41F4C9C302EA993341E0DF2D10F24F1C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C26216C62C5993341A94C750BD04F1C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.783' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.783' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8803277, NULL, 1, NULL, 0xBD0B00000104060000007C734634AA8C3141806DC5FECD4D1C41FA97DD13968C314100014D04D04D1C41F8CBEE69918C3141F0DE4F8D364E1C41848EE452908C3141006F81844E4E1C41CE915CDEA48C3141708EE472424E1C417C734634AA8C3141806DC5FECD4D1C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CFABCA63A9D8C31413498D7C50B4E1C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.810' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.810' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 3862747, NULL, 1, NULL, 0xBD0B0000010410000000FCC2646AA3AD3241D0891F63206E1C410E9C33E2A5AD324180734694156E1C41792497FFA6AD324130EA95B2106E1C41FAA067D3A8AD324160A0F8B1086E1C41703480F7C0AD324120917EFB9E6D1C4194FF905EBBAD3241502FDD24826D1C416B88637DA8AD324160F38ED3D46D1C41A5ADD81F96AD3241200BB5A6936D1C41BCD100BE92AD324180AEB662A26D1C412AED0DDE8CAD3241B047E1FABB6D1C41FEFFFFBF8BAD3241608716D9C06D1C419CDD934789AD3241709A779CCB6D1C41140DE0BD8FAD324160795828E16D1C4129A0894096AD324150226C78F66D1C41674469CF9CAD3241804C158C0B6E1C41FCC2646AA3AD3241D0891F63206E1C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CF262DC4FA3AD324168DD5BF4D06D1C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.833' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.833' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14413027, NULL, 1, NULL, 0xBD0B0000010405000000C5293A729B8A324130302A298CEB1B4185416065988A324180855AD3D4EB1B41E6482E5FB58A324180C3D32BD9EB1B4150B81E25B68A324110E7FB2990EB1B41C5293A729B8A324130302A298CEB1B4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CF8D2A5D3A78A324172FBAE13B3EB1B41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.847' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.847' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13772341, NULL, 1, NULL, 0xBD0B00000104050000006D8A8E84BBBA324160FE437AD9EB1C41EA043431AABA3241F0156ACD0EEC1C4138D6C50DBCBA324130AB3ED736EC1C41CA073D7BC5BA324150CDAACFEFEB1C416D8A8E84BBBA324160FE437AD9EB1C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C2294B12DB9BA3241777EACAC06EC1C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.857' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.857' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 2344700, NULL, 1, NULL, 0xBD0B00000104050000001DF46C365CBC3241E05452A7D1461D41871F632E52BC324120287E8CFF461D41303333F35CBC324140166A4D22471D419D703D4A67BC3241F067226CF5461D411DF46C365CBC3241E05452A7D1461D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C96E1B1AE5CBC32415B5D951FFA461D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.863' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.863' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 6934510, 4034261, 1, NULL, 0xBD0B00000104080000000A8195A31F4B3441D02A1815057A1F41FC3A706EED4A3441206519E23F791F4121F46C969C4A344130E63F24EF7A1F413290A0F8A04A344180029A08037B1F41B147E1DAE74A3441A0E09C91407C1F4104E78CA8134B344140CC5D4B2F7B1F41EF8E53143A4B34412075029A3F7A1F410A8195A31F4B3441D02A1815057A1F4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C7CA25022EA4A3441DA7ECBBAB67A1F41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.873' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.873' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 3842894, NULL, 1, NULL, 0xBD0B0000010410000000B68D06101D51354148C807BDA99A2341A43C2C1436513541D0EEC903B39A23411504569E2A51354150C6DCF5AC9A234143CF66051F513541F0B19D0FA89A23416129CB501351354140211F54A49A234198D40988075135415838D6C5A19A2341CB20B0B2FB503541E04A5966A09A234188EB51D8EF503541C0469436A09A234197BB9600E4503541E861A136A19A2341E0E00B33D85035417038D665A39A2341F0384577CC503541A000DEC2A69A234162A1D6D4C05035416003784BAB9A2341C620B0F2BC50354138FF21FDAD9A2341226C783AAC503541D041CFA6B79A2341B059F599B6503541181B9EDEBC9A2341B68D06101D51354148C807BDA99A234101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C5C525603E45035414A17E6AAAC9A2341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.890' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.890' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13252984, 35753961, 1, NULL, 0xBD0B0000010405000000F14A5946CF2E2C41E87A148EE0A03041AFF3FD54CF2E2C4118FBCBCED8A03041CA2B6519932E2C4158C8071DD9A0304180D93D39872E2C410C2428DEE0A03041F14A5946CF2E2C41E87A148EE0A0304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CED61752DAE2E2C4179E99CF3DCA03041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.900' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.900' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10319310, 4876801, 1, NULL, 0xBD0B000001040A000000A7F1D2ADF1B83241C0ADD85F22592B41BDD32B05ECB8324108EBE2366B582B41D9D781B3EAB83241F865F7A431582B415C17B73192B8324190D6346F44582B4182D0B319A0B83241704694F6595A2B41FC21FD16A2B8324180C954415A5A2B41E1C7985BC6B83241B07346945F5A2B41E293878500B93241D87F48FF8A5A2B41B1726831F5B83241F03D791894592B41A7F1D2ADF1B83241C0ADD85F22592B4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C4AD8C2A2C7B83241A95B2D2C56592B41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.913' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.913' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 12909599, 1050901, 1, NULL, 0xBD0B00000104090000009A18045639E12641F08AFDA5B49E32413EBD52D666E1264118197337A59E3241328716995BE12641DCD022DB9C9E3241FB5C6D4533E1264144795888AA9E3241FE5C6D0532E12641ACFC87F4AA9E324197923A6134E1264134CF6645AD9E3241AA1C5A6436E126418C9ECDAAAF9E32410E31080C38E12641E01B7C21B29E32419A18045639E12641F08AFDA5B49E324101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CA08F87B84BE12641E89F376BA89E3241, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.923' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.923' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13995588, 29846571, 1, NULL, 0xBD0B0000010405000000201FF46C3C772B41F40FE937C06431413689416028772B4120F77560C064314126F46C1629772B41D8A59B64DD643141509D80263D772B414CE3A53BDD643141201FF46C3C772B41F40FE937C064314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C77C085C232772B4136C590CECE643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.933' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.933' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 9742522, NULL, 1, NULL, 0xBD0B00000104070000002A1895F41EF83241C0DCB584E2DD1C41DE7A14CE50F8324110EE7C3FECDD1C4175029AE84FF8324180F1D2CDDFDD1C41E44F8D7748F832416082E2477EDD1C41FCA9F1D247F83241901A2FDD75DD1C41CDD5568C1CF8324150401361D2DD1C412A1895F41EF83241C0DCB584E2DD1C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C02A00BD43AF832418DBD2D5DC0DD1C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.947' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.947' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14116103, NULL, 1, NULL, 0xBD0B0000010406000000C20E9CD3BBEE3241E06C56FD6D861C41EE1FD2EF14EF3241F07D1DB8F1851C415B204151CFEE3241F0073D9BE3851C41D066D50773EE324120B150EBD0851C41482EFFC16FEE324140A91350EB861C41C20E9CD3BBEE3241E06C56FD6D861C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C845366F7A6EE32418DFF34F237861C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.967' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.967' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13601717, NULL, 1, NULL, 0xBD0B000001040600000009B5A6B9FD8E3241703F35DEB3261D41A73E57DB078F3241B0550E2DB5261D418D5374E4088F32411024287E32261D4121EBE296048F3241506519E231261D417458A8D5FE8E3241D0DEE00B31261D4109B5A6B9FD8E3241703F35DEB3261D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C10385C53038F3241E451EF3973261D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:14.980' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:14.980' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 12457701, NULL, 1, NULL, 0xBD0B0000010409000000E62631083B2C3641C80E9CF3E2D1204160EE5A82442C3641709318A4EDD12041802F4C164E2C3641D05817F7F7D1204153FC18C3572C36411871ACEB01D220414082E287612C364150B7D1800BD22041E2361AA07B2C3641D0FBA9F1DFD12041B3EA73D5612C3641582EFF61A2D120418F4AEAC4612C364140355E3AA2D12041E62631083B2C3641C80E9CF3E2D1204101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C3C52B2575D2C3641B8E9E2AEDAD12041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.000' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.000' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 12916421, 90084130, 1, NULL, 0xBD0B00000104040000009128ED8D4BFD2E41E0E995F2C7442F4106F7756045FD2E411841F163C3442F41B90E9CF348FD2E411024287EC9442F419128ED8D4BFD2E41E0E995F2C7442F4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CC564AAA048FD2E4103C58FF1C6442F41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.010' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.010' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 9987088, 90054577, 1, NULL, 0xBD0B000001040D000000199E5E6985F63041E80B93E992EE2F41EA51B8BE68F63041D066D5A790EE2F41D3F7538364F6304120136183EBEF2F41A6A44E8064F6304110363C7DECEF2F416E3480D763F63041E882518922F02F41F041CF0673F63041B8F3FDD444F02F41F56C56CD76F6304130FBCBEE1AF02F410E363C0D7AF6304110C898DBF0EF2F41D78AFDC57CF63041B0490CA2C6EF2F414F7424F77EF63041F8DD02499CEF2F41D14D62A080F6304190C64BD771EF2F41FBE461C181F63041202AA95347EF2F41199E5E6985F63041E80B93E992EE2F4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C4F18085173F63041C043071D55EF2F41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.020' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.020' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10475915, 4691881, 1, NULL, 0xBD0B0000010405000000F575E05C9AD43241101AC05B6B0F2B41D15D4B0898D4324120B5A679C10F2B416B19E29849D5324108E02D90D20F2B41C0F5289C5CD5324160F5B9DA7B0F2B41F575E05C9AD43241101AC05B6B0F2B4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CD33FEF99F6D43241025CCC359E0F2B41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.047' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.047' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 3314448, NULL, 1, NULL, 0xBD0B00000104050000000DE02DD0EABC3241E0FBA9718CC41C412C08AC5CECBC3241904ED111F8C31C414AB6F33DD8BC324140C4B1AEF4C31C4186B0E1E9D6BC324160B20CF173C41C410DE02DD0EABC3241E0FBA9718CC41C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CE8DC92D6E1BC3241C50B63763BC41C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.063' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.063' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10806121, NULL, 1, NULL, 0xBD0B0000010407000000738A8E44D57C32415005A3120C7D1C418F180456D47C3241C08251C9727D1C4106F9A067D37C3241E06A2B76D97D1C4194976ED23B7D3241D0E76AAB517C1C41B3BFEC9E3C7D324130DBF97EFA7B1C4199B20C71D87C324140C4B12EAE7B1C41738A8E44D57C32415005A3120C7D1C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CD76D20A6FC7C3241B194E71A887C1C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.087' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.087' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10465677, 36303491, 1, NULL, 0xBD0B000001049A000000A82C437C036B34415807CE79D4C73241CBB12E4E026B3441F4DBD751D8C732412B0F0B25016B344160CC5D2BDCC7324188D2DE00006B34416C666606E0C73241880D4F8FFE6A3441240AD723E5C73241DAA3709DFD6A3441CCDEE07BE7C732416B006FD1FC6A3441F8DBD7E1E9C732414CDA1B2CFC6A34411C6A4D53ECC73241E17A14AEFB6A3441200DE0CDEEC7324108F9A017FC6A3441144FAFC4F2C732410DF2418FFC6A344104CCEEB9F6C732414AD8F014FD6A34415C8863ADFAC732415A39B4A8FD6A3441B4BFEC9EFEC73241CE2B6559FF6A34411085EB3109C83241E7263188016B3441C4BAB8AD13C83241F997DD33046B3441B80C710C1EC83241D7F0F45A076B34419CEB514828C832411071ACFB0A6B34411C3A925B32C83241D9CEF7130F6B3441E42D90403CC83241C84B3739116B344138E6AE5541C832417468914D136B344170C0CA7146C83241AE7BF250156B3441144FAF944BC83241E7C03943176B34410C2428BE50C832410022FD76186B34414482E2E753C83241A033A294226B3441780E2DB254C832416791EDFCE86B34417CD7123264C83241A7A44ED0EA6B34417017B7015BC83241AE2E6E93EC6B3441783F35CE51C8324142BD5246EE6B3441FCF8A09748C8324190C2F5E8EF6B34419C081B5E3FC83241AE9465E8F26B344178E09C1125C832418151497DF56B3441CC22DBB90AC83241703480A7F76B3441E03D7958F0C73241A5CFD566F96B3441EC482EEFD5C73241CE073DBBFA6B3441C43FA47FBBC732414F621068FB6B3441B442AD79ADC73241D6F97EFAFB6B3441BC4082729FC73241265C8F72FC6B3441ECC2646A91C7324185FB3AD0FC6B3441BC1B7C6183C73241457B830FFD6B3441102FDD546DC7324126C286C7FC6B34414079584857C732418AEB51F8FB6B344124BB273F41C73241B6490CA2FA6B34414CD1913C2BC7324182FB3A10FA6B3441C4DCB5E421C732412AC28687F96B34411448508C18C73241B09DEF07F96B3441F4A067330FC7324126C286C7F86B34415CA60AE609C7324131A2B4D7F56B3441701283C001C73241895AD30CF36B344128ED0D8EF9C63241E2581767F06B3441840D4F4FF1C632410E0BB5E6ED6B3441984AEA04E9C632414872F96FEB6B3441ECFDD468E1C63241A1A22389E86B3441D8DCB5F4D9C63241104FAF34E56B3441704DF3AED2C6324128068175E16B3441587FD99DCBC63241CC073D2BDE6B344140840DBFC6C632417ABE9FAADA6B344138B4C806C2C63241894160F5D66B3441D46F5F77BDC63241AEFA5C0DD36B3441D0172613B9C632418A416065CA6B3441A8ADD80FB0C6324136234A6BC16B34411C04565EA7C632412C651922B86B3441C01B7C019FC632411C1FF48CAE6B344160DA1BFC96C6324154840DAFA46B3441907BF2508FC63241E995B2EC976B3441AC1A2F8D85C632416ABC74E38A6B344128A7E8287CC63241073411967D6B3441704F1E2673C63241418B6C07706B34417826C2866AC632414CC8079D656B3441EC53E37564C632416A91EDEC5A6B3441F8A067E35EC6324130FF21FD4F6B344194976ED259C6324156D3BCD3446B3441C8AACF4555C63241FE21FD76396B344144A9134051C63241805149ED2D6B3441F8D781C34DC63241C2E3143D226B3441F4BB05D24AC632417F51496D186B3441E4B050EB48C632416B6666860E6B34415432559047C6324112E02D90046B3441E0F21FC246C63241FBB27B92FA6A3441A8C9548146C632418AA7571AF66A344164BA49BC46C63241E6839EADF16A3441F80FE96747C63241CE6F5F57ED6A344174CE888248C6324146257522E96A3441109E5E094AC6324160EE5A82E36A3441F07C3FA54CC632410CA5BD21DE6A3441441AC0BB4FC6324171B5150BD96A34416494F64653C63241E9263148D46A344198E4F23F57C63241D14D6270CE6A344158BC74035DC6324152621008C96A34410800003063C63241BBB88D16C46A344160A835BD69C6324197779CA2BF6A3441A08026A270C63241E80434A1BC6A3441D87E6A1C76C63241FA065F38BA6A34415C5227E07BC632410812146FB86A344134E8D9DC81C63241F6C2644AB76A34417CC9540188C63241E7839ECDB66A344140FAED3B8EC632417AC729FAB66A3441C810C77A94C63241784F1EC6B76A34414C17B7319CC63241CCDCB5F4B86A3441A415FBDBA3C632413BEF3885BA6A3441E0A59B74ABC63241E961A176BC6A3441C498BBF6B2C63241A367B32ABD6A344120C05B90B5C632415EEE5AE2BD6A344100DE0229B8C6324127F6979DBE6A3441C864AAC0BAC63241B8AF0307C06A3441EC3FA4FFBEC63241676666C6C16A34415896211EC3C632411FA7E8D8C36A344194416015C7C632416CB5153BC66A3441DC88D2DECAC632414FA60A76C86A34414CC28647CEC632418E3A01ADCA6A34411C73D7B2D1C632418EE4F2DFCC6A34416880B720D5C632416C666666CF6A34411041F173D9C63241E5C03993D16A3441C0CFD5F6DDC63241F8A9F162D36A3441540E2DA2E2C632415005A3D2D46A3441043B706EE7C632413A234A0BD66A3441A01E855BECC6324158A8352DD76A3441745F074EF1C632413E795838D86A3441FC938745F6C63241085F982CD96A3441206EA341FBC63241432CD42ADA6A34414003782B00C73241E61DA758DB6A34411083C00A05C73241C4CAA1B5DC6A34417C11A5DD09C7324118AE4741DE6A3441C00968A20EC7324197C42020E06A3441C832C43113C732413FAD696EE26A3441C003E78C17C73241BAB88D26E56A3441BC4B37A91BC732416CF7E441E86A34419C23B97C1FC73241BFD32BA5EA6A344188FB3A2022C7324100B37B12ED6A344158158CBA24C73241BF42AD89EF6A34415003784B27C73241314CA60AF26A3441708EE4D229C7324126C286E7F56A3441242653C52DC732419206F076F96A3441509621FE31C732412241F1B3FC6A3441B06F5F7736C73241B059F599FF6A3441889ECD2A3BC73241F4EBC049046B34414CE3A59B43C73241E76A2B86086B3441ACABAD484CC7324178832F4C0C6B34410871AC2B55C73241A0A223990F6B3441B8915C3E5EC73241D956EC5F116B3441BC47E1EA64C7324100B37BA2126B3441047D3FB56BC73241F831E65E136B34413433339372C73241C2051294136B3441C0506B7A79C732412EDD2456136B3441D4C3428D81C73241686666C6126B34412431089C89C73241BCF3FDE4116B3441D0D781A391C73241A86054B2106B344184DB68A099C732412363EE9A0F6B3441B476BE4FA0C73241FDD478790E6B34411C166AFDA6C732416D5F074E0D6B34411C9E5EA9ADC7324195E61D670B6B3441BCB6627FB7C7324116AE4721096B344128772D41C1C73241FB6C567D066B34419C5E29EBCAC73241A82C437C036B34415807CE79D4C7324101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C9009376D6A6B3441AC1DD65A56C73241, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.097' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.097' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977890, 906671, 1, NULL, 0xBD0B000001040500000070C5FE329F772B41CCF97EAA90643141852F4CA69E772B41BC9BC4807F6431419487859A8A772B414C158CAA7F6431417F7AA52C8B772B410498DDD39064314170C5FE329F772B41CCF97EAA9064314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C8C5923E894772B41C8D8072A88643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.107' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.107' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14411784, NULL, 1, NULL, 0xBD0B0000010408000000FC770B448E273441F0B359752F001E41B2E1E99585273441F0B35975CAFF1D4138234ADB7B2734416020417159FF1D415B8638D64D27344130F2414F19FE1D41E324060142273441A0B4377820FE1D41C0D32BA531273441805AD33C52FE1D414CD191DC7B273441C054C1A8CFFF1D41FC770B448E273441F0B359752F001E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C955FD8945D2734413C23E53BE9FE1D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.113' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.113' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10459171, 17743441, 1, NULL, 0xBD0B0000010405000000000000809582324130B072A8AB4A2E4137674429A0823241803BDF8FAC4A2E4181C0CA01A2823241B01C5A64544A2E41BA270F8B9782324138BA490C4A4A2E41000000809582324130B072A8AB4A2E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C098DA1B69B8232411913029E7D4A2E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.123' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.123' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 5246881, 35362191, 1, NULL, 0xBD0B000001040E000000663BDF0F4A0E2E411C7E8C59A31430411963EEFA300E2E41F40DBE80A51430413B2575C2170E2E41E0051234A71430418616D96EFE0D2E414C1CEB72A814304197CB7F08E50D2E416091ED3CA914304177BC7453CD0D2E4138E17A54AB1430413D60E5D0B30D2E416CA1D694AD14304142B6F37D3A0D2E41B83E571BAE143041C20E9C73900C2E4138F697DDBC1430417DC954C11D0C2E41B425E44399143041AB946548220C2E41DC56ECAF4A153041F1B9DACA3A0D2E41FC94D46949153041244A7B434A0E2E41BCE8482E48153041663BDF0F4A0E2E411C7E8C59A314304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CC601E9F9360D2E41DD32DB83FB143041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.133' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.133' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13226177, 90073094, 1, NULL, 0xBD0B0000010405000000604469AF252E2C412CF38ED33FA1304155840D4F1A2E2C418C855A7347A130412DBB274F612E2C41302AA9F346A13041BA9F1A2F612E2C41D8D781533FA13041604469AF252E2C412CF38ED33FA1304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C367B539A402E2C415B953B8043A13041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.143' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.143' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977776, 23694761, 1, NULL, 0xBD0B0000010405000000E5ACFA1CF8792B417C9ECDAA7A643141DF1B7CE1F8792B4180B740E291643141ABFA5CED0C7A2B4128D9CEB7916431417D9ECD2A0C7A2B41AC9BC4807A643141E5ACFA1CF8792B417C9ECDAA7A64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CB4EF9E85027A2B4192CC383186643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.153' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.153' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977954, 23708441, 1, NULL, 0xBD0B00000104050000000BA5BD8162772B41805149FD7F6431413CE17A1463772B41BCAF0327916431410FAE472177772B4104363CFD906431414C840D8F76772B41D8D781D37F6431410BA5BD8162772B41805149FD7F64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CCC03A3D16C772B412E6B397D88643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.167' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.167' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 3175944, NULL, 1, NULL, 0xBD0B00000104130000004060E57033B13241E0C039A339F21C41714694560AB1324140D26F5F58F21C4171CE8812CAB0324190779CA288F21C4181B740E2A6B03241B0FCF6F5A2F21C41F0F44AD9A6B03241B023B9FCA2F21C41B0B6623FACB03241806891EDD3F21C41BFCAA145ACB0324180B0E1E9D3F21C415A0E2D72C9B03241C0263188C3F21C410444FA0DCAB0324130333333C3F21C418E3A01AD1CB13241203B70CE94F21C41516B9A5720B13241809FABAD92F21C41477B83EF28B13241B0ABADD88EF21C41B9847C9031B132418075719B8CF21C417D58A8353AB13241A021FDF68BF21C41AC506BDA42B1324150FAEDEB8CF21C41A9ADD85F4BB13241C069DE718FF21C4193976EF24AB13241908C4AEA8DF21C414CF38E733EB132415092CBFF60F21C414060E57033B13241E0C039A339F21C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C6BB41C37FAB032416114FC6888F21C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.177' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.177' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14297701, NULL, 1, NULL, 0xBD0B0000010406000000ABDFBE4E5B91324100CE1951990E1D4189F4DBB768913241C032C431670E1D4154E3A5BB69913241C019515A060E1D4166F7E4A1559132414055302A040E1D41497B830F54913241B0270F8B980E1D41ABDFBE4E5B91324100CE1951990E1D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CDFBD3A415E91324131737D3F480E1D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.187' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.187' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 2135469, NULL, 1, NULL, 0xBD0B000001040900000029F6977D77A2334180787AE5FE7B23413CCD3BCEDCA2334158F2B0D01D7C2341CABAB88DD9A23341F031E62EEC7B2341F1D24D42D6A23341E08C28EDB97B2341EEA7C60BA4A23341A801BC05AB7B234149EA04349EA233415096214EAF7B2341B025E4637EA233410868222CA57B23412FBB276F79A23341D88C28ADE57B234129F6977D77A2334180787AE5FE7B234101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CA94CB1F7AAA23341A99BE10FE07B2341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.197' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.197' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14194589, NULL, 1, NULL, 0xBD0B000001040400000088D2DEA04C5E3541A01726D39D1C244101000080665E354148166A4DCC1D24412F4CA68A725E3541B064AAE0A31C244188D2DEA04C5E3541A01726D39D1C244101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C3D0AD7E3615E3541338613AB041D2441, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.207' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.207' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10418563, 16707721, 1, NULL, 0xBD0B0000010405000000590E2DD252823241007D3FB5304A2E4137894120528232415839B4484F4A2E4155643B3F7882324100295C8F524A2E4176E926F178823241C847E1FA334A2E41590E2DD252823241007D3FB5304A2E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C6365CF886582324128050FA2414A2E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.217' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.217' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14880598, NULL, 1, NULL, 0xBD0B0000010407000000CEAACFF5682B38418889B02109C3224198559F4B732B384188F6061F08C32241B8627F39842B384190C2F52894C22241A023B99C5D2B3841E8F97EEA89C22241BCF528BC4F2B3841A067B36AE3C222410E583914552B3841A81726D3F7C22241CEAACFF5682B38418889B02109C3224101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C5BD70024692B3841250FB17DC7C22241, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.227' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.227' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 5726981, NULL, 1, NULL, 0xBD0B0000010404000000E00B93C936363241C06054D27FCD1741D16F5F4736363241A08CB9EB8FCD1741FA31E60E383632417026538582CD1741E00B93C936363241C06054D27FCD174101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C398F9D0A3736324145B1751686CD1741, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.243' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.243' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10459227, 17743281, 1, NULL, 0xBD0B0000010405000000F9285CEFB68232412885EB11694A2E412D90A078AC823241B047E1BA5E4A2E41CC20B0D2AA82324130B4C876AD4A2E41C0F5287CB5823241983F355EAE4A2E41F9285CEFB68232412885EB11694A2E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CD73FFAD0B0823241832E43D9884A2E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.257' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.257' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 3940934, NULL, 1, NULL, 0xBD0B0000010405000000C810C79A5DC3354100B5A6B9A8A923413680B7C040C33541D088D25E5AA92341ED1FD20F30C33541003D9BD5A3A92341C2A8A48E33C3354140378901AEA92341C810C79A5DC3354100B5A6B9A8A9234101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C3EA2BE4C44C33541524B0B3090A92341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.267' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.267' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 5090121, 35720571, 1, NULL, 0xBD0B00000104050000002EBB27CFCD2D2C41A445B633F8A03041C49F1AEF0A2E2C410861C3F30EA1304115FBCBEE132E2C414CBC74D308A130410FE9B7EFD62D2C4150F38E13F2A030412EBB27CFCD2D2C41A445B633F8A0304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C303F74E0F02D2C411A5B638100A13041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.280' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.280' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977636, 29846601, 1, NULL, 0xBD0B00000104050000001A95D4894A7A2B4198E4F2FFBC643141B5C8767E367A2B417CF08529BD64314167E5D062377A2B4114A3921AD7643141C5B12E6E4B7A2B41AC7268F1D66431411A95D4894A7A2B4198E4F2FFBC64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CBB7959F6407A2B4141895C0DCA643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.300' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.300' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8452792, NULL, 1, NULL, 0xBD0B0000010406000000D60968028EBB324160DA1B7CF6B51C41B940822295BB3241A0211FF4DCB51C41F42FBB0797BB3241F01114BFBAB51C41C217261369BB3241001058B9B2B51C41A7BDC17768BB324130F8C2E4EFB51C41D60968028EBB324160DA1B7CF6B51C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C19FF6F867EBB32411A97272CD4B51C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.310' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.310' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 12572021, 13415831, 1, NULL, 0xBD0B0000010405000000788104854220224110849E0D12FA2D41FCE68C683C202241905374E4C5F92D41FE088A1F1E202241083B704EC8F92D41BA7D1D382420224160E9267114FA2D41788104854220224110849E0D12FA2D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C78A6955130202241B5C6192DEDF92D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.323' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.323' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 1179217, NULL, 1, NULL, 0xBD0B0000010405000000421CEB027FAB3241804D629055631C41964C150C6FAB32413009F920FE621C41F28E53345EAB32414039B4483E631C419A081BDE6CAB32418069DEF199631C41421CEB027FAB3241804D629055631C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CC9FE11616EAB324171EA5B7A4B631C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.333' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.333' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8803293, NULL, 1, NULL, 0xBD0B0000010405000000764F1E76D28C31412046B6F3C94D1C41FB5C6D65C88C3141A0D85FF6CA4D1C41287E8CF9C38C3141E0C876BE2A4E1C4129287E8CCE8C3141A0BB96101F4E1C41764F1E76D28C31412046B6F3C94D1C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CEC514D3ECB8C3141EF1D8FC1F74D1C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.347' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.347' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10912185, NULL, 1, NULL, 0xBD0B0000010449000000C7A14516E6E23241704ED111FDF22A41683BDFCFE1E2324100508DD708F32A41B447E17ADDE23241B064AA6014F32A41E04F8D17D9E23241106822AC1FF32A416B6666A6D4E23241A8A223B92AF32A4198DD9327D0E232413894F68635F32A4174AC8B9BCBE23241004FAF1440F32A4199779C02C7E23241F0E461614AF32A4130FF215DC2E23241A80C716C54F32A41480378ABBDE2324140A1D6345EF32A416F5F07EEB8E2324198C729BA67F32A41C0D32B25B4E2324168EC2FFB70F32A41EB043451AFE2324130A2B4F779F32A4172CE8872AAE2324148C4B1AE82F32A41E20B9389A5E23241E83FA41F8BF32A415A7DAE96A0E23241405EBA4993F32A4160FE439A9BE23241A00C712C9BF32A41A033A29496E2324118CB10C7A2F32A4111143F8691E23241F0BD3019AAF32A4116C05BA089E23241988BDBE8B5F32A41684469AF81E23241E0BE0E5CC1F32A41F997DDB379E23241580E2D72CCF32A410144FAAD71E23241B8F97E2AD7F32A414B2EFF8168E2324160A0F831E3F32A41ED1648505CE23241604469AF11F42A41FE21FDB65DE23241C0FEB27B8FF42A4175832F4C0BE33241E0718A4EB8F22A41DA12F2010FE33241F847503CAEF22A41153FC6FC10E33241C05B20016DF22A41BA15FB6B0DE3324150C0CA217BF22A415A302AC909E3324110CE191189F22A412918951406E33241C84C84CD96F22A41C2A8A44E02E3324158863856A4F22A41516B9A77FEE2324180B0E1A9B1F22A412DB29D8FFAE23241484BC8C7BEF22A41C58F3197F6E2324118FBCBAECBF22A4171567D8EF2E23241E863CC5DD8F22A41AFE1E975EEE23241F00512D4E4F22A41C9BAB84DEAE23241F8164810F1F22A41C7A14516E6E23241704ED111FDF22A41A879C7E9F6E13241D8E3839EC4F42A4184FD6517BEE13241F8065F5844F52A417B36AB9EA2E1324180F4DB1782F52A41365EBA69A2E13241C0A8A48E82F52A4132DD2466A2E13241F805819582F52A41733D0A9700E2324148014D448CF52A412A75025A4AE232410871AC0BC4F42A41A067B3CA47E23241F823283EDEF32A418D4AEAB440E23241001973F7E9F32A4110143F9639E2324170B5159BF5F32A41A4DFBE6E32E2324108DE022901F42A41BBC8763E2BE23241504013A10CF42A41AC72682129E23241C81726D30FF42A413B80B72027E23241E8B0504B13F42A4131C4B13E25E2324148E6AE0517F42A41D7A3707D23E2324118ED0DFE1AF42A4198C420D035E232411011C7FA4FF42A411573D79233E23241008195E353F42A41A9C64B4731E23241489ECDAA57F42A416F5F07EE2EE2324120B29D4F5BF42A4125C286872CE23241C83B4ED15EF42A41384ED1A120E232417009F98072F42A413789412015E23241D82B651987F42A41645452070AE232413005A3929CF42A41C4073D5BFFE13241C01C5AE4B2F42A41A857CA72FBE1324148197317BBF42A41A879C7E9F6E13241D8E3839EC4F42A41F97E6A9C0BE33241F841CF261EF32A41A48251C962E23241F81DA768E8F42A41F3A7C60B25E23241485BB1FF8FF52A4162984CF5F7E232412832E6AEA5F52A413889412009E3324120EF380570F32A41F97E6A9C0BE33241F841CF261EF32A410300000002000000000228000000024300000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, 0xBD0B0000010C193657748AE232419622DD51B0F42A41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.357' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.357' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 9911413, 11272431, 1, NULL, 0xBD0B0000010409000000CF5D4B4824713641A0C42070B62C234140355E7A19713641C834EF780D2D2341E44F8D575B713641E88C28AD192D2341546210385D7136415814AE07D92C234185A7570A57713641C86F5F87F72B234154F5B99A49713641405EBAC9A72B23416A19E2B82A71364160613215A22B23416F810445257136419887855A8C2C2341CF5D4B4824713641A0C42070B62C234101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C3F8F72F93E7136414416FC196E2C2341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.367' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.367' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8451940, NULL, 1, NULL, 0xBD0B00000104060000008616D9CEEE522B41F8C186A730532341798CB96BD0522B4188F831E631532341C698BBD6D4522B41C0E3145DAB5323416C2D211FE1522B418806F0D6AA532341EFEBC039F3522B411897FF10AA5323418616D9CEEE522B41F8C186A73053234101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CAD937DD2E1522B416ECF1CFF6D532341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.377' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.377' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14291002, 90073250, 1, NULL, 0xBD0B0000010405000000CDE76A6BB02B224130894120E37F2C4172006F41922B2241905374E4E67F2C412095D409992B224178E2C7581D802C417C7CD033B72B2241302AA99319802C41CDE76A6BB02B224130894120E37F2C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CE38F95BAA42B2241C16B4F3C00802C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.387' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.387' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13843095, NULL, 1, NULL, 0xBD0B0000010404000000C76D3400D1502B41ACCDAA4FE360314115FBCBEEC6502B415C204151D7603141549FAB2DC7502B41C4F5285CE3603141C76D3400D1502B41ACCDAA4FE360314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CBB02E45ECA502B41EF4B5C54DF603141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.400' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.400' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13998005, 23688481, 1, NULL, 0xBD0B000001040500000066D5E7EA82792B41140DE08DD8643141DE141D0982792B41FC87F49BBE643141164850FC6D792B41A813D0C4BE6431412D1AC0DB6E792B41586B9AB7D864314166D5E7EA82792B41140DE08DD864314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C9A83F97278792B41E4AED1A9CB643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.417' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.417' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 9680276, NULL, 1, NULL, 0xBD0B000001040600000084DB68407BA53241E054C12807881C41E2E995528AA5324100FED4F830881C41809543CB94A5324110AAF1D2F4871C41226C785A95A53241903D0AD7C9871C41AB3E577B96A53241C0AACF556A871C4184DB68407BA53241E054C12807881C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C5515AABA8BA53241E1E86315DF871C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.427' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.427' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10459316, 5676271, 1, NULL, 0xBD0B000001040700000013C7BA98CF82324140BF7D1DAA492E414650FC98FA82324100C364EAAD492E410E022BE7FA823241B07268D1A2492E41A5605412F7823241A026C2869D492E4123386724F582324170226C7898492E41DCF0F40ACC823241E0065F9895492E4113C7BA98CF82324140BF7D1DAA492E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C896689B4E3823241053B86AEA1492E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.437' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.437' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 16622537, NULL, 1, NULL, 0xBD0B000001040F00000038DF4FED41D43641903480B74AA82441832F4C663BD43641187502DA30A8244117AE47A12AD436414068916D16A82441C56D3480ADD33641985374A404A82441AAF1D26DAAD336414811367C42A82441F63A70EEA5D3364148A1D6F49EA824414DD191BCA0D33641587958680BA924412F4CA68A9CD3364110D578E960A92441FFFFFF1F9AD33641F82553C592A9244160764F1E63D4364100AF25E4BAA92441F08E53346FD4364148B81E0501A924410F022B6765D4364108E63FE4E3A82441517424F75CD43641386C783AC5A82441E53FA47F58D4364130B07228B2A8244138DF4FED41D43641903480B74AA8244101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C114DFAD300D43641C333692FE9A82441, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.447' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.447' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 11016906, NULL, 1, NULL, 0xBD0B00000104060000001648507C8DA532412051DA1B9C341D411AAE4701A6A5324120EA043440341D41443789C1ACA5324190B662FF29341D41B2BFECDEAEA53241A0F1414F39331D41550E2DF290A5324100E561A134331D411648507C8DA532412051DA1B9C341D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CAD02097F9DA53241C5D5436FCE331D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.457' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.457' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 9805699, NULL, 1, NULL, 0xBD0B000001041D000000E3A59B4497863541A8BAB8CDE7062741B68D061090863541F8A2923ADB0627417CE09C1199863541F0A9F112240727410EA5BDE1E586354198F5B9DAC807274123B072C8ED863541E861A1960A082741ED7C3F55F186354160643B1F28082741907EFBBA3287354180A7578A7A0827410FA5BDA140873541D8285C0F8C08274176A52C033A87354148D6C56D7C082741B29DEF8733873541080534916C0827418A0D4F2F2D873541487FD97D5C08274163FE43FA2687354188A0F8314C0827415A39B4E820873541482041B13B0827411F5A64FB1A8735411011C7FA2A082741728A8E04F0863541A02A1895AF072741C7FEB27BEA86354138B4C8F69F072741EC0434D1E4863541A05E298B90072741F853E305DF8635414872F94F81072741403EE819D986354160CB7F4872072741AEFA5C0DD3863541787CD07363072741346EA3E1CC86354190E1E9D55407274120FDF695C686354170B1BF6C46072741767AA52CC086354148EC2F3B380727415AC1A8A4B9863541D05B20412A07274144B6F3FDB2863541C06D34801C07274155F5B93AAC8635411023DBF90E0727412675025AA5863541408D97AE010727417D51495D9E863541E03FA49FF4062741E3A59B4497863541A8BAB8CDE706274101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C2C3DC155E28635414779AF38B6072741, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.470' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.470' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 15102882, NULL, 1, NULL, 0xBD0B000001042C000000C1B359F5231629413CFF215D338430417CD93D7924162941F0B9DA8A35843041DD164870251629412CC4B1AE378430412BA2B4D726162941F8C9C3C2398430417C8CB9AB28162941FCAD47C13B84304184F4DB172C1629416C3255703F843041BC42ADA92F162941646666164384304184D2DE603316294150FC18B3468430417A832FCC3416294110BE30F948843041F0550E2D361629413460E5404B843041244A7B8337162941CC39238A4D843041928EE47237162941B8CFD5964F8430419406F03637162941183CBDA2518430418004C5CF36162941301FF4AC5384304186A52CC33B162941B0D6346F92843041AA4082A252172941EC2D90008D84304172226C7837172941D48173C6F9823041AD847C101E162941206A4D1304833041A64E40D3291629418073469454833041C498BBD6C5152941C000DE8256833041260F0B35C91529412897FF106B833041138C4A2ADA15294108560E6D7B833041C44B3789DF1529415C984C7586833041BFB359F5E7152941D0BCE3749B833041E1A59B84E9152941802D215FAE833041702BF697F315294174C1A8A4BC833041E36A2BF6F415294184613255CD8330417438D645F8152941401CEBA2DA833041D5F97E2AFE1529411CE25857EC833041061214FF0A16294168F90FA90784304192FF90FE191629412C08AC3C14843041D6B359B51C1629415CA4DF1E1D843041666666A61E162941B069DEB11E8430410F4FAFD41F162941CC33A2A42084304116FDF6B520162941E01B7CA12284304103DE024921162941A4EA73A524843041B103E78C21162941084D84AD26843041230F0B3521162941081895842884304126287E0C21162941C8C3425D2A843041A24E401321162941D04A59362C84304198B96B492116294150C4B10E2E8430414FB81E4522162941FCF675D02F84304156302A29231629419041609531843041C1B359F5231629413CFF215D3384304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C27C5F0AEA7162941592163C1C4833041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.480' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.480' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 5090130, 35720601, 1, NULL, 0xBD0B00000104050000007D16D9CEC42D2C41CC172653FEA030415A4469EF012E2C41CC0E9C1315A13041C49F1AEF0A2E2C410861C3F30EA130412EBB27CFCD2D2C41A445B633F8A030417D16D9CEC42D2C41CC172653FEA0304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CA89C37DFE72D2C4171E699A306A13041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.497' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.497' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977903, 23708601, 1, NULL, 0xBD0B000001040500000052AF94E512772B41100DE0CD91643141F616485012772B41D800DEA2806431418B5CFE43FE762B41F49E3CCC80643141ECF44AD9FE762B41C886A7F79164314152AF94E512772B41100DE0CD9164314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CC254BF9408772B411EE3284D89643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.510' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.510' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8450919, NULL, 1, NULL, 0xBD0B0000010405000000C217261369BB3241001058B9B2B51C41F42FBB0797BB3241F01114BFBAB51C416A91ED3C99BB3241B0AF03E792B51C4110BE307969BB3241F0DF2D908AB51C41C217261369BB3241001058B9B2B51C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C17A44CB580BB32413C89F39AA2B51C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.520' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.520' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 23730307, NULL, 1, NULL, 0xBD0B000001040B000000297E8CD9FDF0324140BF7D1DE6851C41251895D410F1324110FCA97106861C4136234A1B23F13241505452A72C861C4103BC059234F13241D096FF9058861C412AE4831EF9F032410081954338851C4123FDF655CBF0324110A913D047851C4108560E4DA8F0324190AB3ED769851C41669A773CD7F0324170F2B0D072851C4184C0CA41D6F03241104B5906B8851C41D45D4B48EAF0324100D6C5EDCB851C41297E8CD9FDF0324140BF7D1DE6851C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C2AB9C751F4F03241F47656AB9E851C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.530' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.530' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 23730307, NULL, 1, NULL, 0xBD0B000001040B000000297E8CD9FDF0324140BF7D1DE6851C41251895D410F1324110FCA97106861C4136234A1B23F13241505452A72C861C4103BC059234F13241D096FF9058861C412AE4831EF9F032410081954338851C4123FDF655CBF0324110A913D047851C4108560E4DA8F0324190AB3ED769851C41669A773CD7F0324170F2B0D072851C4184C0CA41D6F03241104B5906B8851C41D45D4B48EAF0324100D6C5EDCB851C41297E8CD9FDF0324140BF7D1DE6851C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C2AB9C751F4F03241F47656AB9E851C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.540' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.540' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14341239, NULL, 1, NULL, 0xBD0B00000104160000006CD7127286793241704DF38EE3911C410724283E7A793241E075E09CE1911C41C01726133179324180DA1BFCD5911C41DAF0F40A2A793241F03FA4DFD4911C41E30B936928793241505452A797921C41614BC8C7EA793241E0B88D86B6921C41191DC985F379324190B1BFECB7921C41B025E4C3FE793241F0EA73B5B9921C4111143F863B7A3241601AC05BC3921C411CDBF95E3D7A32418051499D00921C412B7E8CF9247A3241301361C3FC911C4138B4C8960C7A3241C03FA4DFF8911C41B737F862007A324120711B0DF7911C4130BB272FF479324140A3923AF5911C416DA301FCE7793241C012F241F3911C4191C2F5C8DB79324130151D49F1911C41B66B0999CF793241F0809543EF911C4156302A69C3793241C0EC0D3EED911C412DA2B437B779324130F46C56EB911C410E143F06AB793241708A8E64E9911C411D4A7BA392793241F0240681E5911C416CD7127286793241704DF38EE3911C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C95984ED3B27932416C4199214C921C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.567' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.567' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13829726, NULL, 1, NULL, 0xBD0B00000104050000005B643B1FA9B832418047E1FAB6F01C41D6CEF7D3A9B83241400AD7A366F01C41E761A1F6A3B83241901D38E765F01C4134DF4F4D8DB83241B024977FB3F01C415B643B1FA9B832418047E1FAB6F01C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C8049DAC89FB83241F26A635596F01C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.580' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.580' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 9680331, NULL, 1, NULL, 0xBD0B00000104050000002D992A587AA53241F086A7D75D881C41B696906F79A5324120948785B4881C41C97F48DF91A53241B03B4E51F8881C41E258171793A53241B06D3480A2881C412D992A587AA53241F086A7D75D881C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C18D7C92F86A532411D857434AB881C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.590' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.590' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977709, 29852981, 1, NULL, 0xBD0B00000104050000001524283EFB792B419006F096D76431410FAC1C5AFA792B41D09C11A5BD6431414470CE48E6792B41C4E848CEBD643141B269DE31E7792B41DC2D90C0D76431411524283EFB792B419006F096D764314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C4A34B0C4F0792B4184B52CB2CA643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.600' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.600' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 26934426, NULL, 1, NULL, 0xBD0B000001041B00000089B0E1C9DD393241B02C439C147D1741A2ABAD78D839324100E56121107D174174A52C239D393241E0C03923DE7C1741811D38A7CD393241402041714B7D17410AD7A3D0DB393241601CEB626E7D1741A435CD3BE9393241C00F7AB6957D17411773D7D2F5393241C00C022BC17D1741BBAF03A7F639324180643BDFC17D1741F31FD20F083A3241504082E2CF7D174162CC5DEB173A3241608863DDDD7D17417ED0B3E9153A324160931844D47D1741A7A44EE0133A3241804AEAC4CA7D17410DF241CF113A3241F0F67560C17D174171F90FF90E3A3241E0C56DF4B47D17416F787A150C3A3241B0C729BAA87D1741C4DCB524093A3241F0E995B29C7D1741469D8026063A324100FDF6F5907D17414DE3A51B033A324100D6C56D857D17411E386704003A3241F02BD41A7A7D1741B09465A8FE39324150257582757D17418DE4F29FFB393241505C8F426B7D1741DAD781B3F53932418011A53D577D1741C7BAB84DF1393241B04E40134A7D1741265C8F82ED393241603480B73E7D1741B837F8E2EA393241503FC6DC367D1741669A779CDF3932414074B515197D174189B0E1C9DD393241B02C439C147D174101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C1EFE57A1E239324141FFCFC35B7D1741, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.610' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.610' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 2911230, NULL, 1, NULL, 0xBD0B0000010409000000C520B0324D3932415007CE19048B174169BC74934F393241D0E76A2BEB8A1741FB31E62E3D39324120E17A14DB8A17410A560EAD36393241A01C5A64D58A17411DB0724832393241D07B61B2EF8A174196438B4C2B393241602BF617158B1741674DF3CE26393241B09F1AAF2A8B174182C0CA61273932412051DA1B328B1741C520B0324D3932415007CE19048B174101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CDC283F2D3B393241C0671814008B1741, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.620' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.620' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8992703, NULL, 1, NULL, 0xBD0B0000010409000000F67E6ADCC8353041983E571BA5352041C239239AC3353041C8E53F24B43520417ABE9F3ABE353041809CA203C3352041EF5A42BEB8353041C87493B8D135204115265325B335304190B74042E0352041772D21DF62353041B09F1A6FAD362041EEFDD458DB343041283D9B55BE382041BDF528BCD9343041B06054524A392041F67E6ADCC8353041983E571BA535204101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CFFB897DA39353041B51F807396372041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.630' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.630' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 15937500, NULL, 1, NULL, 0xBD0B0000010409000000AED85F7631833241F82A8796834A2E4139014DC43183324198180416764A2E41C8B12E6E2D83324170840DCF714A2E41AED85F7631833241F82A8796834A2E41EF2FBB873083324180F7E461AC4A2E411BE258B726833241C8A145B6A24A2E4152E3A57B26833241F0EBC0B9AC4A2E412731084C30833241A0416065B64A2E41EF2FBB873083324180F7E461AC4A2E41020000000200000000020400000003000000FFFFFFFF0000000006000000000000000003000000000100000003, 0xBD0B0000010CFCF57A962C833241289BB8C3A04A2E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.640' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.640' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 11726768, NULL, 1, NULL, 0xBD0B0000010404000000632041711CF42E41A869DE311C582F4153A60A461CF42E4190627F19BA572F41ECC9C382E0F32E4120A7E88812582F41632041711CF42E41A869DE311C582F4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CE1DAAF6808F42E417326C246F8572F41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.650' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.650' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13226258, 35711851, 1, NULL, 0xBD0B0000010405000000C09F1AEF172E2C41CC0E9C1366A13041C59F1A2F182E2C4178BC74B36DA13041FA31E62E622E2C41382AA9136DA130416D4DF30E622E2C41C00E9C7365A13041C09F1AEF172E2C41CC0E9C1366A1304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CC662F4163D2E2C41553A4F9369A13041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.660' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.660' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977938, 23708991, 1, NULL, 0xBD0B00000104050000006EF90F693A772B4124A9135080643141865AD3FC3A772B4188BE9F7A91643141DB141D094F772B41D044D8509164314141C6DC754E772B41B8EFA726806431416EF90F693A772B4124A913508064314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C50F52DB944772B41A1D883D088643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.670' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.670' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 4786068, NULL, 1, NULL, 0xBD0B0000010407000000433EE879012D324150A60A4604BE1841DD141DA9032D3241C02C431C2DBD18415BD3BC03F72C3241B02D211F2BBD1841C0A8A4EEF92C3241702BF69773BD184195C42010FD2C3241801FF4ECBBBD1841760B2468002D3241E099081B04BE1841433EE879012D324150A60A4604BE184101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C6AD8BB91FE2C32410ECAB5627ABD1841, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.680' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.680' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13843354, 90073170, 1, NULL, 0xBD0B00000104070000001C63EE1AA5512B41900D4F0F20613141A5CDAA0F91512B412CA7E828206131419FB437B891512B41F40968E2346131411A1FF4EC94512B418004C58F36613141AEA679479F512B41B09465C83B6131412DA2B4F7A5512B4118C3640A3F6131411C63EE1AA5512B41900D4F0F2061314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CE5BD21219C512B41E0BD56392D613141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.690' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.690' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13998099, 23689001, 1, NULL, 0xBD0B00000104050000009E1A2F9D1E792B41A4DA8A5DD9643141EB3845C71D792B41089E5E69BF643141B059F5B909792B41344ED191BF643141034D848D0A792B41F4384587D96431419E1A2F9D1E792B41A4DA8A5DD964314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CE8D3E82A14792B41E94D4278CC643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.700' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.700' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14341221, NULL, 1, NULL, 0xBD0B0000010426000000F4A9F152317B3241A0DB688020921C41A4BDC137317B3241304A7B8320921C414E4013E1187B3241802F4C2623921C410A1B9E7E177B324190847C5023921C41A11A2F7D007B324110E78CA81F921C4141355E1AE87A3241C013D0C41B921C41250F0BB5CF7A324130F775E017921C41B059F599CF7A32411088F4DB17921C419E89B081C37A324180B0E1E915921C411804564EB77A324180FC18F313921C417DF2B0F09E7A324160C3422D10921C416A8863BD927A3241A03311360E921C41E002098A867A324160A4DF3E0C921C416D8A8E246E7A32410066F76408921C410EA5BDC1557A32411025068104921C419CEFA7A6557A324190B6847C04921C411CDBF95E3D7A32418051499D00921C4111143F863B7A3241601AC05BC3921C41621058B99C7A3241A017B7D1D2921C416D8104C5C97A324120D9CEF7D9921C41E3361AE0C97A324170DA1BFCD9921C41AC35CDBBDA7A3241C07A14AEDC921C4121EBE2D6DA7A3241F0E995B2DC921C41A835CDFBDA7A3241F05886B8DC921C41F1FDD4B8777B324150772DA1F5921C41D8CEF7D3777B3241A00A46A5F5921C4168B3EAF3CB7B32411026E40303931C4152B81EA5CE7B3241209E5EA90F921C416AF7E481AB7B324140D6C56D13921C41C520B012937B324130B81E0516921C41DF4F8DF7927B3241C026310816921C4181D0B3D9867B3241E087F45B17921C411AB7D1A07A7B3241809CA2A318921C41BCCAA1857A7B3241200BB5A618921C418FA98231627B3241205C8F421B921C41AFD85F16627B3241D0CAA1451B921C410D9C33C2497B3241808BDBE81D921C41F4A9F152317B3241A0DB688020921C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C8F4A22530C7B3241DE927DE47C921C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.710' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.710' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 4682807, NULL, 1, NULL, 0xBD0B00000104050000002E772D610C433541503CBDD2C7A02341243A92ABCC423541F0839E0D10A023414694F626B442354130E258170CA023416591ED3CAD42354188D409E8B7A023412E772D610C433541503CBDD2C7A0234101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C40198A68D14235414FFA137378A02341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.723' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.723' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14612429, 11706571, 1, NULL, 0xBD0B0000010405000000B9D1007E2F2F3441848EE4323DE33341905CFE63992D3441BC64AAC01EE333412A287E8C7B2D3441A479C7C9A8E43341EC95B26C132F344114B6F35DC7E43341B9D1007E2F2F3441848EE4323DE3334101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C765218F4552E344132E4782BF3E33341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.733' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.733' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13843371, 90073171, 1, NULL, 0xBD0B00000104070000001DFDF6757D512B4118F697FD2961314150B81EC580512B411CD9CED72B6131413080B7C08A512B410C12143F316131419FB437B891512B41F40968E234613141A5CDAA0F91512B412CA7E82820613141026F81047D512B41A0779C42206131411DFDF6757D512B4118F697FD2961314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CA16BF08688512B41EB06ED2B28613141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.743' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.743' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 11236892, NULL, 1, NULL, 0xBD0B000001040500000014E2583749BF324100A8C6CB41C71C4136234A7B56BF3241A026C28661C71C4106A3921A5ABF324140D9CEF7FCC51C419B559F8B4CBF3241F076BE9FFAC51C4114E2583749BF324100A8C6CB41C71C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C19DEC3AE51BF3241A75FDADCA6C61C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.753' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.753' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13601679, NULL, 1, NULL, 0xBD0B0000010405000000A1D6346FD58E3241D006F016AE261D41D79AE67DDF8E3241F0263188AF261D41355EBAA9E08E3241305986B82C261D41FF99089BD68E3241B0A679472B261D41A1D6346FD58E3241D006F016AE261D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C23EF770CDB8E3241CDD9C8676D261D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.763' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.763' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 3842878, NULL, 1, NULL, 0xBD0B000001040F000000E9C039A339503541F002090A0A9B2341E27A148E34503541F897DD930D9B23410893A96222503541401E16EA1A9B234112BE30591650354148871659249B23411C2FDD640A50354118211F342E9B2341F2384587FE4F354118B5A679389B23416509F9C0F24F354128B07228439B2341CC20B012E74F354148499D404E9B234124ED0D7EDB4F3541503789C1599B234172C5FE32DE4F3541400C022B5A9B234199BB96F0EC4F3541D8779CA24A9B2341ACADD8DF6C503541384547B2F09A2341777AA54C70503541E80DBE30E19A23411E5A64BB3E50354180CE8892069B2341E9C039A339503541F002090A0A9B234101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C40A6EB0235503541308F3A05139B2341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.773' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.773' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 7488921, NULL, 1, NULL, 0xBD0B0000010412000000AAADD87FDA7D3041F0C876BE0E051D414C72F94FBE7D304170B7AF0312051D41081B9E5EC07D3041A074939819051D41AEE1E915CA7D304190EB51B82A051D41C64B3709D47D304170DE028939051D41CA76BE2FDE7D3041C0A370FD45051D4128A08980E87D3041304CA60A50051D4172CE88F2F27D3041A02FBBA757051D41E0B5847CFD7D3041109621CE5C051D4182613215087E304180A223795F051D412F3333B3127E3041F09C80A65F051D411B2653C5127E3041B0AF03E72E051D41EF0DBE40097E304130E483DE2E051D41575227C0FF7D304150696FB02C051D413A234A4BF67D3041F01A9E5E28051D4188B0E1E9EC7D3041C0438BEC21051D414EF38EA3E37D304100098A5F19051D41AAADD87FDA7D3041F0C876BE0E051D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C97FD26CBED7D3041BF33875C37051D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.783' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.783' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 6227481, NULL, 1, NULL, 0xBD0B0000010429000000ECC9C34216182941ACEA7335B78A30419E8026022B18294120CB10E7D78A30414292CBFF30182941703D0AF7068B304101098ADF3018294190D6340F1D8B3041C81726931A18294144287ECC5F8B3041FB088A5F1818294170567DEE748B30411E41F1E31D18294150A52CE3868B30416DF90FA92B182941881804569B8B304101CE19D160182941E0839E4D998B3041FA2A875661182941285C8F428D8B3041B4A44E40691829416407CE59D68A3041AE5B2081FC172941BC2C437C678A30411EE4831EA2172941C0AACF550B8A30417C51491DA4162941A0D6348F148A3041031214FFA6162941403EE8392A8A3041B2ADD81FD6162941D4EBC0793A8A3041EE0434510B17294148302A69498A30415B1058F968172941E4770B845E8A3041907EFB3AC7172941F8891FA37A8A304106C58FF1D71729417CE09C51838A30415E2041F1061829417019E278A78A3041ECC9C34216182941ACEA7335B78A304104CE1911E019294198DD93A78A8B3041920F7AF6A01929412CDD24C6F8893041C4DA8AFD8A18294120D26FDF028A3041643BDF0FA61829419CF831465B8A304145CF6695B41829410466F7D4628A3041B9EC9E1CC2182941782F4CD66A8A30416A348097CE18294164F7E441738A30414E19E2F8D9182941584DF30E7C8A30419A2A1835E418294138014D34858A30417BC95441ED1829411CB072A88E8A304170006F41F5182941489D80C6988A3041DAD022FBFB182941CC7F481FA38A30410EF9A0670119294188CB7FA8AD8A3041366EA38105192941F02FBB57B88A30415E81044508192941A4605422C38A304150840DAF0919294128F697FDCD8A3041CE915CBE09192941D451B8DED88A3041949999193319294130386744918B304104CE1911E019294198DD93A78A8B3041020000000200000000021600000003000000FFFFFFFF0000000006000000000000000003000000000100000003, 0xBD0B0000010C9ACBF675D318294197D365F1AA8A3041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.793' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.793' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13908341, 90073178, 1, NULL, 0xBD0B0000010407000000EBDBD7C13F512B41403108ACE76031412B3A928B40512B41581058D903613141E4F97EEA48512B4170F90FA909613141F0E236DA4C512B4134FAED4B0C613141B394658854512B412C6519420C613141C4BAB8CD53512B411873D792E7603141EBDBD7C13F512B41403108ACE760314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C9509AEA14A512B4169D80BC0F8603141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.803' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.803' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10783237, NULL, 1, NULL, 0xBD0B00000104050000006C66662626AE3241701F63EE696F1C419F1A2FDD3BAE3241704160E5A96F1C41644DF3EE56AE32414041F1E31C6F1C4160764FDE3CAE32419088D25EFA6E1C416C66662626AE3241701F63EE696F1C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CAD9178CB3DAE32417364651D4C6F1C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.813' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.813' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14297710, NULL, 1, NULL, 0xBD0B0000010406000000858EE4B27D9132415019E2D8180E1D414CFC18B37D913241705DDCC6180E1D41041214DF7D9132413003788B080E1D4154E3A5BB69913241C019515A060E1D4189F4DBB768913241C032C431670E1D41858EE4B27D9132415019E2D8180E1D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CFA79E81071913241B3107A40280E1D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.827' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.827' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14339544, NULL, 1, NULL, 0xBD0B000001040700000044D8F05442B13241703255B032FA1C412FFF219D0BB132415029CB90A2F91C417A2D215F04B132419051499DCFF91C41F1D24D4228B13241100F0B352EFA1C41E795B2AC48B132411030BBA783FA1C41F163CCBD4FB13241C003E70C56FA1C4144D8F05442B13241703255B032FA1C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C50FD1D1C2AB132416C20740013FA1C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.837' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.837' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 11844990, 90054879, 1, NULL, 0xBD0B00000104050000001FC9E53FCB453341A0E61D270F77284188855AF32846334120E4835E19772841024D846D1C46334128D1919CCB76284127287E2CCC453341184BC8C7C27628411FC9E53FCB453341A0E61D270F77284101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C31AB5544F74533411DAE90B8EE762841, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.850' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.850' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 11844990, 90054879, 1, NULL, 0xBD0B00000104050000001FC9E53FCB453341A0E61D270F77284188855AF32846334120E4835E19772841024D846D1C46334128D1919CCB76284127287E2CCC453341184BC8C7C27628411FC9E53FCB453341A0E61D270F77284101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C31AB5544F74533411DAE90B8EE762841, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.860' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.860' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8534683, NULL, 1, NULL, 0xBD0B000001040800000036014D441F3B3241C0F1D24D778917418E06F0761F3B324140014D046C8917415C17B7A11F3B324130C7BAB86089174159C1A8C41F3B3241D01E856B558917415A8638661E3B32415054E3A55C8917419C01BC051D3B3241307502DA638917417AA52CA31B3B3241504BC8076B89174136014D441F3B3241C0F1D24D7789174101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C27C3523D1E3B3241E5A05AEC67891741, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.870' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.870' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13862944, NULL, 1, NULL, 0xBD0B00000104050000009F8026E2DF283341B0469476EA8F1C414D1E164AB428334120621058D08F1C41413EE819B12833411054E3A5D6901C412C97FF30DC283341A04B378915911C419F8026E2DF283341B0469476EA8F1C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C8D9C2CD7C828334194C8BB346A901C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.880' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.880' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13602021, NULL, 1, NULL, 0xBD0B000001040600000057A835EDEA8E3241C0C2D3AB19261D4112363CFDF48E3241D0AD47611B261D41F45C6D05F58E3241703FC65C18261D41160DE06DF68E32414080B7C093251D41647FD95DEC8E32418095430B92251D4157A835EDEA8E3241C0C2D3AB19261D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C583F8AADF08E324119CB42B6D6251D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.890' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.890' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10459251, 17743021, 1, NULL, 0xBD0B000001040500000095900FFAC8823241602497FFE14A2E4190ED7C9FC98232414805A352A94A2E4110363C3DC1823241F0B9DA0AAF4A2E414D96210EC082324198D1911CE14A2E4195900FFAC8823241602497FFE14A2E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CFBB23B0FC58232410339F12DC74A2E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.900' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.900' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 3094294, 6393951, 1, NULL, 0xBD0B0000010404000000CF5D4BC8379B3341F05205A306541C41204A7BC3519B3341F002098A72531C414A3789E1049B3341D079C729C2521C41CF5D4BC8379B3341F05205A306541C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C684AC5792F9B3341E5EFF11C69531C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.907' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.907' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14612119, 11706441, 1, NULL, 0xBD0B000001042200000028287E6C162C344178F90F093DE433413C8941A01C2C34416061321542E43341819543EB222C3441D893870547E43341304CA64A292C3441C4627FD94BE433414DDA1BBC2F2C3441846ABC9450E433416F1B0D40362C344124363C3D55E43341283108EC3C2C3441C02631A859E43341C9A145D6432C34417CC954A15DE433418E4160E54A2C3441E0A2925A61E4334135F8C204522C344194900FFA64E43341E8043431592C344194C9548168E4334157302A69602C3441A86054F26BE43341138C4AAA672C3441E84D62506FE433417AE09CF16E2C34415C7FD99D72E43341CE00DE42762C34418404C5CF75E433410FF241AF7D2C3441F8B9DACA78E43341974C152C852C344160D3BCA37BE43341F2B050AB8C2C3441240F0B757EE43341E12D9020942C3441586B9A5781E4334126E4837E9B2C344140D49A6684E43341C07493B8A22C3441E0C798BB87E43341575227A0A92C3441A4559FAB8BE43341E98C282DB02C3441E09C114590E43341749CA2A3B62C3441641E160A95E4334172F08549BD2C344110ED0D7E99E433417F613255BF2C3441C0BAB8AD9AE433412A287E8C7B2D3441A479C7C9A8E43341905CFE63992D3441BC64AAC01EE3334153840D4F172C344144575BD101E333413AEF38E5002C3441F89D5EC929E43341B837F882042C3441648638162DE433415ECA32640A2C344148A52C8332E43341B4EA7355102C344168A301DC37E4334128287E6C162C344178F90F093DE4334101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C454664DAD12C344120C789CDCBE33341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.917' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.917' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 7487967, NULL, 1, NULL, 0xBD0B00000104060000002DBB27AFA97E30413090A07804051D4158C1A8649A7E30414011363CED041D4109F9A0678B7E3041D0ACFADCF4041D41823F351E8B7E30413008AC1C26051D41A33C2C94A97E3041D0BE0E9C16051D412DBB27AFA97E30413090A07804051D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C6456108D987E304149989E7009051D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.930' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.930' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977792, 23694921, 1, NULL, 0xBD0B00000104050000006C6FF045347A2B41184D842D7A643141A0A22339207A2B41547424577A643141474772F9207A2B41E0FA5C8D916431417D38D605357A2B41D8F75363916431416C6FF045347A2B41184D842D7A64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CF6378F9F2A7A2B418EB34CDD85643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.940' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.940' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977598, 29841151, 1, NULL, 0xBD0B000001040500000084855A93877A2B419833A274D6643141752D219F9B7A2B41CC1E854BD6643141D222DBB99A7A2B4198900F5ABC643141569FABAD867A2B41689CA283BC64314184855A93877A2B419833A274D664314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C9DBF8726917A2B41C8916A67C9643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.950' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.950' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 19171269, NULL, 1, NULL, 0xBD0B000001040D00000031211F1469C6324120304C2650E01C41E05817F774C6324120E9B72F62E01C410BB5A6F980C632415025758277E01C41DA8AFD658CC63241702041F18EE01C41D934EF7897C6324100D34DE2A8E01C41C07D1D58A3C6324110BC0592C8E01C41FEDD02C9AEC6324160197357EBE01C41D48AFD65CCC63241D012F2414BE11C41C5BAB86DCCC6324110C3642A49E11C41B4AF03A7CCC6324140083D9B39E11C41BB490CC2CCC63241F0B359F531E11C41E29C1105CEC6324160711B8DD6E01C4131211F1469C6324120304C2650E01C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C0C8364B1B3C632413940A961D8E01C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.967' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.967' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 18285121, NULL, 1, NULL, 0xBD0B000001040D0000005A2041311EE232418013F241C4091D4101B37B32FFE13241203199AAF0081D41CC8F3177F2E13241E0907E7BB4081D411695D429E5E1324170B662FFD3081D417EFB3A10EEE132410089D2DEFE081D41190DE02D35E23241904F1E16560A1D41DCBE0E3C39E23241A0764F9E690A1D41F29E3CAC3EE23241B0B0E1E95C0A1D41C976BEFF35E23241A0AEB6E21D0A1D412865198239E23241F0C64B37160A1D41196A4DB331E23241C0F75363DF091D4182AEB6222DE23241803BDFCFC9091D415A2041311EE232418013F241C4091D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C106FF9BD11E23241E528412783091D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.977' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.977' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13602012, NULL, 1, NULL, 0xBD0B000001040700000074832F2C1D8F324130F8C26420261D41381AC03B278F32418007CE9921261D418F4AEA44278F324100295C8F1E261D41C710C79A278F3241103A92CBF0251D4182C0CA41288F324170218EF599251D4179F2B0301E8F3241A036ABBE98251D4174832F2C1D8F324130F8C26420261D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CAC860FB7228F3241DDE62C2EDD251D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:15.993' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:15.993' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 9956727, 5498101, 1, NULL, 0xBD0B000001040A000000102DB2DD15773541F831E66EB23E2C419AB43778F3763541C0CB7F48D4412C41B07BF270DA763541B847E1BA1B442C41F94A592651773541F89F897035442C41D868008F047835416096214E78432C41A86054923B783541E8EC9EFCA0422C417FE2C7F848783541801B0DA021422C41F54A59266B783541E0537464ED3E2C41E2E00BD32977354128FF21FDB53E2C41102DB2DD15773541F831E66EB23E2C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CD21A382C9C773541C4DD533455412C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.003' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.003' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10464824, 90054791, 1, NULL, 0xBD0B0000010404000000FFF67560A22033410876E0BCB6CE32416B006FE168203341B0AF0347B3CE324189A757EA8F2033412CA7E8C8D4CE3241FFF67560A22033410876E0BCB6CE324101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CA6DFBE0E89203341A1999999BFCE3241, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.017' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.017' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 7487959, NULL, 1, NULL, 0xBD0B0000010405000000823F351E8B7E30413008AC1C26051D4109F9A0678B7E3041D0ACFADCF4041D415517B7F16C7E304100F6975D04051D41D05D4BA86C7E304110BF7D9D35051D41823F351E8B7E30413008AC1C26051D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CA775F3077C7E30411371303D15051D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.027' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.027' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 3780929, NULL, 1, NULL, 0xBD0B0000010406000000714DF38EDA822C41E085C9D43CE822412ACB104719832C41F83A708E14E82241A2C420F0C6822C4120287E8CFEE72241E4F97E2AB2822C41785305E347E8224185A52C03AD822C4140AA60145AE82241714DF38EDA822C41E085C9D43CE8224101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CA2212ABED9822C410E70056524E82241, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.037' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.037' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13995553, 29842481, 1, NULL, 0xBD0B00000104050000005EAA609478772B41E4B584BCBF64314114022B8764772B41706FF0E5BF643141F126314865772B41307958E8DC643141F5065F5879772B41249B55BFDC6431415EAA609478772B41E4B584BCBF64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CDFBE0FEF6E772B41A508E452CE643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.057' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.057' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977997, 23695961, 1, NULL, 0xBD0B0000010405000000B97493981B792B41BCB359757C643141B2F1D28D07792B419CFF909E7C64314182A7574A08792B418C06F0D693643141DD61A1561C792B4140E8D9AC93643141B97493981B792B41BCB359757C64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CE24AC9F111792B41D5EA132688643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.070' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.070' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977962, 23708571, 1, NULL, 0xBD0B00000104050000009487859A8A772B414C158CAA7F6431414C840D8F76772B41D8D781D37F6431410FAE472177772B4104363CFD906431417F7AA52C8B772B410498DDD3906431419487859A8A772B414C158CAA7F64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C1BC6D5DD80772B41CE64C85388643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.080' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.080' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14412985, NULL, 1, NULL, 0xBD0B0000010405000000EEB0506BA58A324160E7FB2969EA1B41A223B91CA38A3241702041F1B1EA1B41C086A777B88A3241E09C1125B5EA1B4126F6973DB98A3241902E6E236CEA1B41EEB0506BA58A324160E7FB2969EA1B4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CF289DC8CAE8A32413303C78C8FEA1B41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.103' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.103' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13876236, NULL, 1, NULL, 0xBD0B0000010408000000ACFA5CEDF9CB32411067D567D7F31C41C29F1ACF34CC32413041F1632AF41C41CA8F315775CB32415003788BB6F11C416FA301BC6FCB3241D0D9ACFA64F31C418F5CFEE375CB3241A0A3703D63F31C41F4FDD43880CB324150855A5369F31C413611369CBDCB3241E08CB9EB96F31C41ACFA5CEDF9CB32411067D567D7F31C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CA3A4A2C9B0CB32413BBA245A08F31C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.113' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.113' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13852558, NULL, 1, NULL, 0xBD0B00000104160000004F499D6004183341C0726891B49E1C41A4C64B370C183341705DDC46A89E1C416991EDBC12183341E05205A3759E1C419DABAD981F18334150006F015E9E1C410B8195431C18334100E561A12F9E1C41A73E577BAA173341E0D022DB199F1C41C410C77AA8173341F0C42030C49F1C41CDF753637E173341801804D61AA01C412A0F0BD57D17334140D49AE6A4A01C41EE8E53F4B4173341802DB29D96A01C4172F90F49B417334120DD240661A01C41428B6CE7BC173341C022DB7936A01C41752D217FBF173341A087855A04A01C41827346D4C917334130FAED6BA89F1C414EAF9485CB173341E0EC9E3C7A9F1C418A38D6C5D1173341100000006B9F1C41FD4C840DDF173341608FC2F5229F1C411573D792E9173341E061A156349F1C4160105859F0173341506DC57E599F1C41B269DE91FE17334140A3013C2B9F1C410E7A366B0218334190E61D27EC9E1C414F499D6004183341C0726891B49E1C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C370C54ABC317334189C50ED1819F1C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.133' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.133' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14767953, NULL, 1, NULL, 0xBD0B000001040800000078711BED91583441E02FBBA7B0311E413E7958684B583441801B7C6115321E412AA089B012583441F0891FE38A321E4143F1632C9557344140FC18F310331E41285C8FC28B5734416095438B85351E4124ED0D3E6E583441A0A982D1F0321E41286519A297583441B0855A53FB311E4178711BED91583441E02FBBA7B0311E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C9B684E88FA57344183C1F3316C331E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.160' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.160' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 17454981, NULL, 1, NULL, 0xBD0B000001046C000000298716D91C413141E05D4BC8FBBE2E4128CB10A71B413141D00B932906BF2E41DD361A601A413141A8A44E8010BF2E41388941001941314158A835CD1ABF2E41A0703D8A174131414003780B25BF2E4160764FFE15413141C8907E3B2FBF2E41206C785A14413141303EE85939BF2E41DB12F2A112413141F0F97E6A43BF2E415B0E2DD21041314198438B6C4DBF2E41D2DEE0EB0E413141D03E575B57BF2E4145696FF00C41314168226C3861BF2E417B36ABDE0A41314160006F016BBF2E418BF4DBB70841314188FD65B774BF2E41E8D9AC7A06413141E019515A7EBF2E41CB54C128044131410879E9E687BF2E415DEE5AC2014131418051495D91BF2E4186416045FF403141301136BC9ABF2E41EE85C9B4FC403141A04AEA04A4BF2E41684DF30EFA40314168EA0434ADBF2E41B2E1E955F74031419815FB4BB6BF2E4176931884F4403141581CEB62BFBF2E41A011A59DF140314140C05B60C8BF2E41430AD7A3EE403141485C8F42D1BF2E41B3D85F96EB403141C8825109DABF2E41784F1E76E8403141283333B3E2BF2E41452EFF41E540314100DCD741EBBF2E41174850FCE1403141B80E9CB3F3BF2E41EED24DA2DE403141785DDC06FCBF2E41C07D1D38DB40314180A3013C04C02E4176BE9FBAD740314130A913500CC02E410F71AC2BD4403141E881734614C02E41B51E858BD04031410888F41B1CC02E4105B5A6D9CC403141A8A8A4CE23C02E411BE25817C9403141B02D90602BC02E41AD1C5A44C54031415817B7D132C02E41A79BC460C1403141B0BFEC1E3AC02E411A0DE06DBD40314120B9FC4741C02E41839ECD6AB94031416096214E48C02E41FA0FE957B5403141D031772D4FC02E410222FD36B1403141106744E955C02E4129CB1007AD40314138FF217D5CC02E41E1141DC9A8403141108C4AEA62C02E4151DA1B7CA4403141200E2D3269C02E412E6EA321A040314198976E526FC02E41E9D9ACBA9B403141A84C154C75C02E416D81044597403141103FC61C7BC02E41905374C492403141A8CAA1C580C02E41567DAE368E403141D0EEC94386C02E41D8ACFA9C8940314188D0B3998BC02E41BF86A7F78440314100B98DC690C02E41B094654880403141E0718ACE95C02E410EE9B78F7B403141603255B09AC02E41EEB050CB76403141C078E9669FC02E4198FF90FE71403141088E06F0A3C02E41C64B37496D40314158666626A8C02E41ABF1D22D68403141D0EEC983ACC02E4136AB3E376340314150287E8CB0C02E41F2EBC0395E403141D878E966B4C02E41FCA067335940314118E25817B8C02E41696666265440314188F4DB97BBC02E417AE09C114F403141E88C28EDBEC02E41C498BBF649403141F0F21F12C2C02E41F4A067D34440314118948705C5C02E4169DE71AA3F40314108151DC9C7C02E4153D1917C3A403141E03FA45FCAC02E4171F90F49354031414082E2C7CCC02E4198BB96103040314148378901CFC02E417E7346D42A403141585F070ED1C02E416AAA609425403141F8D478E9D2C02E4129A9135020403141F898BB96D4C02E41F5CBEE091B40314128068115D6C02E41000000C01540314150416065D7C02E41ABE8486E1040314130B6F37DD8C02E41CE22DB190B403141F8E68C68D9C02E41191DC9C505403141481CEB22DAC02E413C575B7100403141F056ECAFDAC02E419E1A2F1DFB3F31412871AC0BDBC02E417A14AEC7F53F3141E0C7983BDBC02E41D6C56D74F03F3141205A643BDBC02E410693A922EB3F314150840D0FDBC02E419DEFA7C6033E3141F80DBE30BFC02E41881F638EE73D314100C364AABDC02E415F6DC59ED33D3141082B8796BCC02E41F5065FD8723D3141C8F5285CB7C02E411F166AED593D3141E8809503B6C02E41B9408202413D3141480C02ABB4C02E41DE4F8D17283D314108615452B3C02E41757AA52C0F3D314138B5A6F9B1C02E41467B834FF63C314118D578A9B0C02E41FE87F43BC33C3141509FABEDADC02E41799318A4A83C3141B0923A81ACC02E41081B9EDEDF3A31415083C0CA93C02E4107C58FD1DF3A3141C015FB0B98C02E41A0D6348FDF3A314100CAC342ACC02E41E093874525413141307FD97D04C12E410122FD763E413141706666E6B4BA2E4152DA1B5C33413141004E6250B4BA2E4129287EEC23413141E088D21E8ABE2E410612147F2341314130C6DCB59CBE2E418DED7C1F2341314138D26F5FA7BE2E415939B4A82241314128B81E05B2BE2E417ED0B3192241314178787AA5BCBE2E41DACEF77321413141F87E6A3CC7BE2E41012B87B62041314140BB27CFD1BE2E41D812F2E11F413141701AC05BDCBE2E418F1804F61E413141B8F528DCE6BE2E416ECE88F21D413141D886A757F1BE2E41298716D91C413141E05D4BC8FBBE2E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C1CB5C177BE3F314159C18EF213C02E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.170' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.170' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13369792, NULL, 1, NULL, 0xBD0B000001044D00000036F8C2E435BA334158E3A51B2AD8234134CD3BAE36BA334158D191DC2ED82341E4D0227B37BA334180E2C79833D82341CEDEE04B38BA3341F0A9F15238D8234123C9E51F39BA3341E8B9DA0A3DD82341ACBDC1F739BA334150499DC041D82341F9A9F1D23ABA334100A1677346D82341FC65F7843BBA3341B8FC87344AD823410CBE30393CBA3341303333F34DD82341D856ECEF3CBA334110A089B051D82341E61DA7A83DBA334178559F6B55D82341C7EEC9633EBA3341E89C112559D82341C25B20213FBA3341605149DD5CD82341C264AAE03FBA3341C8E00B9360D82341482575A240BA3341B0A6794764D82341D881736641BA3341307E8CF967D823411F1FF42C42BA3341308C4AAA6BD823415D984CF542BA3341C87493586FD823413A8941C043BA3341C013D00473D8234178711B8D44BA3341900D4FAF76D82341FA7E6A5C45BA3341C07493587AD82341599FAB2D46BA3341B8B662FF7DD8234167006F0147BA334100780BA481D823414C7424D747BA3341E84A594685D82341F6285CAF48BA3341881D38E788D82341FFD4788949BA3341A801BC858CD823418538D6654ABA3341902EFF2190D8234156C1A8444BBA3341785AD3BC93D8234172787A254CBA334168984C5597D8234155423E084DBA3341C01E85EB9AD823418F3177ED4DBA3341C8B6627F9ED82341124FAFD44EBA33410097FF10A2D82341D4915CBE4FBA334110C05BA0A5D8234171E7FBA950BA334190B12E2EA9D82341E24F8D9751BA334108FED4B8ACD8234106F9A08752BA3341D8802642B0D8234106B5A67953BA3341D8141DC9B3D823419228ED6D54BA3341A803E74CB7D8234158CA326455BA3341280456CEBAD82341C1EC9E5C56BA33410004564EBED823410222FD5657BA33418015FBCBC1D823416BB3EA5358BA3341B801BC45C5D8234172CE885259BA334138B6F3BDC8D82341162FDD645ABA3341805AD33CCCD823410D363C7D8EBA334198DFBE8E2FD9234152B81EE5D7BA334140E17AD476D923418EA98291E2BA33415096210E1AD82341283A928BAFBA3341A0F7536313D82341EDF44A193FBA3341B0141D4903D823416229CB903BBA3341D8703DCA02D8234128ED0DBE2FBA334140C1A82401D8234100917E1B30BA3341E83A70CE03D8234121B9FCC730BA334108098A9F08D82341DE46037831BA334180567D6E0DD82341CFDEE02B32BA3341105A643B12D823412A5305E332BA334128A60A0617D823412BED0D9E33BA3341B09690CF1BD8234151D1915C34BA33419018049620D8234197F6061F35BA3341081A515A25D8234136F8C2E435BA334158E3A51B2AD823413208AC7CEBB93341D80968A2F7D72341DCF0F40AD1B93341A833A2F4F3D72341897CD05390B93341402AA953ECD723415639B46853B93341885374E4E5D723411E4A7BE34DB93341C8B9DA4AA9D823413F60E51048B93341209A775C77D9234134AB3EF73FB93341D8CDAA0F96DA2341C78F31973AB9334118287E4C54DB2341A23C2C946DB93341180F0BB558DB23417E1D38276DBA3341D01C5AE46FDB2341A813D0246FBA3341D88BDB686ADB2341B6D1005E85BA33414890A0382DDB2341B86B09F99EBA3341E022DBB9E6DA234173F0852958BA3341D8C264EA2CDA2341246519A22FBA3341106F818490D9234198FF903EFBB9334198BE0E5CC6D823413208AC7CEBB93341D80968A2F7D72341020000000200000000023C00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, 0xBD0B0000010C6AB114F4EAB9334118AED225B4D92341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.180' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.180' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 12909611, 1050161, 1, NULL, 0xBD0B000001040A0000004C9FAB2DE4E02641183A924B569E32412FBB270FCBE0264110E6AEE55E9E32415AD3BC23BEE0264108B37B52639E324111AC1C9AB2E02641D48AFD45679E324130F8C2E4A7E02641D444D8F06A9E3241DF61A1D6B3E02641A089B021739E3241D0E53FA4BDE02641B437F8C26F9E32414AFC18B3C6E02641606FF0A56C9E32411E386784EFE026410C5B429E5E9E32414C9FAB2DE4E02641183A924B569E324101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C79863FD1CBE02641F3D430C0649E3241, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.190' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.190' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 12072877, 889181, 1, NULL, 0xBD0B0000010405000000913A010DC8622B41642BF6170E6C31416B931844C7622B41848CB98BF36B31414A5BB13F64622B41781F63CE0E6C3141B5B662FFC7622B41586210180E6C3141913A010DC8622B41642BF6170E6C314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CDD109985A6622B41C80D5C7B056C3141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.200' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.200' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8926042, 31243481, 1, NULL, 0xBD0B0000010405000000B2946528A5EC3241305EBA4962891C41B359F579DCEC3241407C613216891C41238E7511B8EC3241E03B4ED111891C419DF83126A6EC3241F0C342AD0F891C41B2946528A5EC3241305EBA4962891C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C39D8B4EDB7EC3241EEF750622D891C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.210' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.210' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13676687, 20622141, 1, NULL, 0xBD0B00000104040000003880B7A0626133415096218EC3541C412597FF30756133411022FD76DF541C4166006FE1676133416027A089AD541C413880B7A0626133415096218EC3541C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C96B20C916A613341954AEA84C5541C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.220' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.220' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10496653, 36339931, 1, NULL, 0xBD0B00000104060000001AC05BA09327344170416045A84233414AEA04F49627344170C5FE927A423341723D0AB78427344100D5788979423341C130996A84273441A025E48379423341CE88D21E812734413CAD693EA74233411AC05BA09327344170416045A842334101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CD48C55078C273441671139E590423341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.230' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.230' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977563, 29838341, 1, NULL, 0xBD0B00000104050000003B0378CBC27A2B41B8AF0307BC6431419F01BCC5AE7A2B41C0847C30BC643141849ECDAAAF7A2B41D012F221D6643141753480B7C37A2B41F4065FF8D56431413B0378CBC27A2B41B8AF0307BC64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C6970E63CB97A2B4161B83415C9643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.240' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.240' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10418547, 16707301, 1, NULL, 0xBD0B0000010405000000E07A146E51823241F007ACDC6D4A2E41866CE7BB50823241100EBE708C4A2E412163EEDA76823241A8C64BB78F4A2E4109560E8D77823241D8F75323714A2E41E07A146E51823241F007ACDC6D4A2E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C824D7B24648232416C0C03CA7E4A2E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.250' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.250' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 9126210, NULL, 1, NULL, 0xBD0B00000104080000006E567DAEAD39324140EA953285891741BDEC9EBCAF393241F07936AB7889174111E9B7BFB1393241F06F5F076C8917417514AEB7B339324100A779475F8917411E3867A4B539324190D5566C528917416DE7FB099D393241808104453C8917412241F1639739324190E4F21F718917416E567DAEAD39324140EA95328589174101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CA022FC06A63932415838FDDB60891741, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.260' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.260' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 15127125, NULL, 1, NULL, 0xBD0B0000010408000000E83FA4DF33A1384170E4F21F9FD21D41E8D9AC3A20A13841201DC9E565D21D417824977F0FA13841D0C56DB4C1D41D41CC4D62B009A1384160F54AD996D51D4154F38E93FAA03841B00968A215D81D4164BC74537FA1384160D5E7EA53D81D41E8C039831CA13841A0E2589778D51D41E83FA4DF33A1384170E4F21F9FD21D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C616284472AA13841EA02A39F74D61D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.277' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.277' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13852752, NULL, 1, NULL, 0xBD0B00000104040000006F4694366BBA3241005C8FC29EF11C410FD0445876BA3241A02C431C4AF11C41F17C3FF55CBA3241B0D5566C81F11C416F4694366BBA3241005C8FC29EF11C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C2531082C6ABA3241C574B8C378F11C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.287' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.287' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 4682742, NULL, 1, NULL, 0xBD0B000001040E00000014022BA71C433541B07D1DF8F6A02341C876BE3F1B43354108B4C8B6F2A0234124D26F9FAB423541B802090AE0A0234144696F90A7423541E8C039E344A123418EED7C5FA7423541909BC4E049A12341AA4E40F3A5423541A05E290B6FA12341B047E1DAA4423541D0CEF7538AA1234161DC46E3E7423541486B9AB768A123416E4DF36E36433541702A185541A123415FDC46C32F433541B0CFD5162EA123411748503C2B43354120B9FC0721A12341E0E99592244335413872F9CF0DA12341A6E8488E24433541B825E4C30DA1234114022BA71C433541B07D1DF8F6A0234101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C9B5194A2E1423541E440FE672CA12341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.297' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.297' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 15357473, NULL, 1, NULL, 0xBD0B0000010407000000BD9F1A2FC68B3241E00C712C55011C41A25E294BB88B3241F0770B2453011C415BA8358D0B8B3241401AC0DB39011C41B42E6E43248B3241E0D7817348021C41DAACFA7C698B3241E0E76AABF3011C41FF088A1F988B324140D6C5EDA3011C41BD9F1A2FC68B3241E00C712C55011C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CFC3934D7538B324147539BCDA0011C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.307' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.307' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8395080, NULL, 1, NULL, 0xBD0B00000104130000009C923AE11B843041B01726D347FA1C4155522760E8833041D0E8482E2AFB1C41760B2408F9833041D0915C7E29FB1C41283108EC248430412054E3A568FA1C41BA847CF02D843041F0FD657789FA1C410DE02D403584304170B4C87667FA1C4116FBCB0E3C84304170855AD343FA1C414A9D80564284304150FAEDAB1EFA1C41AF69DE114884304100522720F8F91C41B715FB3B4D843041A0043451D0F91C4144696FD05184304140AE4761A7F91C4103917E5B46843041F0D781F395F91C41FCDD020939843041C072681195F91C41204A7B33358430417086C954B5F91C41BB847CF030843041601058B9D4F91C41C21726432C843041B0D40928F3F91C416A4DF32E27843041B039238A10FA1C4106F9A0B721843041C03923CA2CFA1C419C923AE11B843041B01726D347FA1C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C7593242626843041F88562FB49FA1C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.317' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.317' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10449213, 17746331, 1, NULL, 0xBD0B000001040500000012022B47CD8232412031082C524A2E4110363C3DD782324158B81E055C4A2E417B9CA2A3D882324170E5D022194A2E41A41A2F7DCE82324198EFA746184A2E4112022B47CD8232412031082C524A2E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C85D13608D3823241576FFDF6374A2E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.330' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.330' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 7489293, NULL, 1, NULL, 0xBD0B000001040E0000002F3333B3127E3041F09C80A65F051D417CD93DD9167E3041A003E70C5F051D4195081BFE1A7E30411085EB115E051D4115AE47211F7E3041B058A8B55C051D419F802642237E304190B437F85A051D41FA7E6ABC2F7E3041E0E3839E54051D41161DC905307E3041D0643B5F23051D418F5CFE43277E3041E0CEF7D327051D4102D578C9217E3041D0BDC1972A051D41DBF0F40A1E7E304110C3642A2C051D416ADE714A1A7E3041F01DA7682D051D41B2946588167E3041A0293A522E051D411B2653C5127E3041B0AF03E72E051D412F3333B3127E3041F09C80A65F051D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CAC8F4D54217E3041F0268EA542051D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.350' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.350' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13997980, 23688221, 1, NULL, 0xBD0B00000104050000001CF46C1696792B412C3CBD72BE643141FE907EFB96792B4154CA3264D86431412D4CA60AAB792B410863EE3AD8643141E1AE2524AA792B4194F08549BE6431411CF46C1696792B412C3CBD72BE64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C3F972E90A0792B41EAB00057CB643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.360' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.360' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 12043087, NULL, 1, NULL, 0xBD0B00000104040000004EB81E45496E334170AC8B5B697E1B41C11726734A6E33415008AC9C697E1B41A3923A414B6E334180FDF675307E1B414EB81E45496E334170AC8B5B697E1B4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C3B762A534A6E3341C0900F7A567E1B41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.370' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.370' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13786121, NULL, 1, NULL, 0xBD0B000001040500000065006F4110A632414047727930A51C41649A777CFEA53241A06588E323A51C4170AC8BFBF1A53241B0BDC1975AA51C411873D752FDA5324120F1634C83A51C4165006F4110A632414047727930A51C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CB4C1110200A632411579AF784DA51C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.383' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.383' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 11062274, 90069991, 1, NULL, 0xBD0B000001040600000080ED7C7F1A7F294130F9A007492B304140DF4F0D707F2941C419511A552B30419328ED0D6F7F2941801F632E422B3041FDDF2D106C7F2941F4285C0F052B3041FE3C9B15177F2941B4726811062B304180ED7C7F1A7F294130F9A007492B304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C1521B0AC447F29416E8247632A2B3041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.400' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.400' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 2172232, NULL, 1, NULL, 0xBD0B00000104050000004313618325AE3241E0D6A370DB6E1C4121B0724812AE3241F0AF72682F6F1C416C66662626AE3241701F63EE696F1C4160764FDE3CAE32419088D25EFA6E1C414313618325AE3241E0D6A370DB6E1C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C2B32F50227AE3241481B5F571D6F1C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.413' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.413' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10919473, NULL, 1, NULL, 0xBD0B0000010407000000DA9AE6FDE24834417046943691AC2341DBACFABCDF4834419058A87577AC2341959999B9CE483441D063CC1DEFAB2341152653C5AC483441A0C8767EFDAB2341DF0B9329BE48344140EA04F4ADAC23410AF016E8E0483441784DF3CE92AC2341DA9AE6FDE24834417046943691AC234101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C51AAED21C74834414974BCBA4CAC2341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.423' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.423' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 2848406, NULL, 1, NULL, 0xBD0B000001041C000000E86A2BD60A523541681B0D2026CC2341BC408292095235411071ACEB33CC2341E70434B108523541588FC2D541CC2341421CEB320852354178855AD34FCC23414E62101808523541D02B65D95DCC2341669A775C16523541E8FBA97158CC2341BCC117E617523541A82C43DC57CC2341663BDF6F19523541084B594657CC2341E4B584DC2652354180FB3A3052CC234141FAED4B3552354188B0E1E961CC2341B6627FB95252354170EB51F881CC23416A6666C66252354160EA047493CC2341F4A067D372523541E80DBEF0A4CC2341DC2D90E082523541C0FA5C6DB6CC23415B9FABED9252354158302AE9C7CC2341CE22DBB9B3523541400AD7A3EBCC234133E6AE05B9523541009A081BD9CC23415AA8352DE952354128F6979D0DCD23418B855A53FB523541004D840DCECC23418B5AD3DCFF52354120B07228BECC234110E9B72FFD523541C8915C3EBBCC2341B4F3FD341E523541A04AEA84C8CB2341AB6054F219523541486B9AB7D8CB23412CA089001652354190B0E169E7CB2341394ED18112523541784DF38EF6CB2341199E5E790F5235413090A01806CC2341DC0209EA0C523541D07493F815CC2341E86A2BD60A523541681B0D2026CC234101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C36D2DA6F7C523541FD71D2A26ECC2341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.437' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.437' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 2848392, NULL, 1, NULL, 0xBD0B000001041C000000E86A2BD60A523541681B0D2026CC2341BC408292095235411071ACEB33CC2341E70434B108523541588FC2D541CC2341421CEB320852354178855AD34FCC23414E62101808523541D02B65D95DCC2341669A775C16523541E8FBA97158CC2341BCC117E617523541A82C43DC57CC2341663BDF6F19523541084B594657CC2341E4B584DC2652354180FB3A3052CC234141FAED4B3552354188B0E1E961CC2341B6627FB95252354170EB51F881CC23416A6666C66252354160EA047493CC2341F4A067D372523541E80DBEF0A4CC2341DC2D90E082523541C0FA5C6DB6CC23415B9FABED9252354158302AE9C7CC2341CE22DBB9B3523541400AD7A3EBCC234133E6AE05B9523541009A081BD9CC23415AA8352DE952354128F6979D0DCD23418B855A53FB523541004D840DCECC23418B5AD3DCFF52354120B07228BECC234110E9B72FFD523541C8915C3EBBCC2341B4F3FD341E523541A04AEA84C8CB2341AB6054F219523541486B9AB7D8CB23412CA089001652354190B0E169E7CB2341394ED18112523541784DF38EF6CB2341199E5E790F5235413090A01806CC2341DC0209EA0C523541D07493F815CC2341E86A2BD60A523541681B0D2026CC234101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C36D2DA6F7C523541FD71D2A26ECC2341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.450' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.450' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 15392317, NULL, 1, NULL, 0xBD0B000001040E00000081B74042CBA72D41E0E76A8BE12330416DC5FE72CBA72D41BC9DEF07F22330412EEF388591AA2D41D4BCE374E6233041870D4F2F8FAA2D41F4012B876B233041A3EFA7068FAA2D410C1973B763233041E49C11258DAA2D41580E2D526B233041E99E3C6C81AA2D41103FC61C6A2330410632E62E40A82D4100CE19D12D233041E2E995F23EA82D4198D634CF30233041C1D32B25C9A72D4140772D8124233041C3CAA145CAA72D41600E2D727A2330412D992A58CBA72D41E032C411CC2330417409F960CBA72D4198ABADB8CE23304181B74042CBA72D41E0E76A8BE123304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CC36892A40FA92D416659865F98233041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.463' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.463' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 5090105, NULL, 1, NULL, 0xBD0B0000010405000000E06800EF252E2C41EC60C393FCA03041A1D634EFFC2D2C41382AA953EDA03041624469EFF32D2C4164F38E73F3A03041A3D634EF1C2E2C4150EA04B402A13041E06800EF252E2C41EC60C393FCA0304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C065654EF0C2E2C414F7FCD03F8A03041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.473' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.473' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 5090164, 35720861, 1, NULL, 0xBD0B00000104050000000CF241CFF82D2C41286A4D331BA1304132BB27CFBB2D2C4170BC747304A13041DC6800AFB22D2C41B80E9C930AA13041704DF3CEEF2D2C412C2AA95321A130410CF241CFF82D2C41286A4D331BA1304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C485097C0D52D2C4178B05AE112A13041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.490' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.490' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10128239, 35362221, 1, NULL, 0xBD0B000001041200000074A3017CBC272C411873D7F29BAE30411D0681D5DF262C41BCF1D2CD9CAE30418CA0F831E4262C4188B0E1E970AF3041CDE53FA4ED262C41F01648B06CAF304101A3923AF7262C41F4B0508B68AF3041CBC56DF400272C411C5A647B64AF30416329CBD00A272C4184D2DE8060AF304132BB27CF14272C411C51DA9B5CAF30412FC4B1EE1E272C413CE8D9CC58AF304129C4B12E29272C41E0CEF71355AF3041FE3A708E33272C417CE09C7151AF30418B3A010D3E272C41706FF0E54DAF30419E79C7A948272C41C03B4E714AAF30412641F16353272C41887CD01347AF3041D110C73A5E272C41A8F1D2CD43AF30416991ED3CBF272C415420411127AF3041EFD24D22BF272C4170F2B0D021AF304174A3017CBC272C411873D7F29BAE304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C1D33B55E48272C417D92B600F4AE3041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.513' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.513' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977652, 29850321, 1, NULL, 0xBD0B00000104050000002395D4490F7A2B4144D6C56DD7643141DF61A156237A2B41E0AE2544D76431419E57CA72227A2B41D020B052BD6431415E5452670E7A2B414048507CBD6431412395D4490F7A2B4144D6C56DD764314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C0718A6DE187A2B41CAB85F60CA643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.530' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.530' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 9939679, NULL, 1, NULL, 0xBD0B0000010405000000767AA5EC3DE53241384BC887AA2F2B4124166A8D3CE5324108AC1C9AE02F2B414CEA041459E5324140E09C91CA2F2B4159B1BFEC59E5324148BA494CAD2F2B41767AA5EC3DE53241384BC887AA2F2B4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CA9DD4DF749E5324145DB3336C12F2B41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.540' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.540' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10596518, 1559831, 1, NULL, 0xBD0B00000104070000000244FA2D0C5329411855306AC5B82E41722F4CA6E353294100C28627CFB82E41E4BE0E5CD4532941585BB13FB1B82E41E268002FE6532941B8A67907AFB72E41A423B9BCE1522941084D840D6BB72E4139D8F0745B522941C09387855CB82E410244FA2D0C5329411855306AC5B82E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CA3B23EC138532941DD0DD77F27B82E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.550' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.550' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13843125, 29721481, 1, NULL, 0xBD0B000001040600000013B7D1408A502B4144F8C204BF6031413DA4DFFE8A502B41E49387A5E36031415196210E9F502B41FC8C288DE3603141BC96904F9E502B41243A92EBBE6031418A1804968D502B410CF77500BF60314113B7D1408A502B4144F8C204BF60314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C53D361A794502B410A38CD48D1603141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.563' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.563' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977628, 29845371, 1, NULL, 0xBD0B000001040500000043355E7A5F7A2B41604BC8C7D6643141FF2A87965E7A2B413CB4C8D6BC6431411A95D4894A7A2B4198E4F2FFBC643141C5B12E6E4B7A2B41AC7268F1D664314143355E7A5F7A2B41604BC8C7D664314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CA7073202557A2B412774EDE3C9643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.577' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.577' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977857, 23695381, 1, NULL, 0xBD0B0000010405000000819ECD2A717A2B4120EF38E59064314170348037857A2B4154E3A5BB90643141DFB5847C847A2B41F05C6D857964314199D6346F707A2B41684469AF79643141819ECD2A717A2B4120EF38E59064314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C35CF88D37A7A2B4184D05D3585643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.587' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.587' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 3576825, NULL, 1, NULL, 0xBD0B000001040400000082AEB6222DE23241803BDFCFC9091D4101B37B32FFE13241203199AAF0081D415A2041311EE232418013F241C4091D4182AEB6222DE23241803BDFCFC9091D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CF4D57BD718E232410B8023947F091D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.620' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.620' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14612445, 11706601, 1, NULL, 0xBD0B0000010405000000EC95B26C132F344114B6F35DC7E43341536B9AF7A2303441088E7551E5E433416429CB90BC30344138D6C5ED5AE33341B9D1007E2F2F3441848EE4323DE33341EC95B26C132F344114B6F35DC7E4334101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CFCA7FF99E82F3441F3C5456811E43341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.640' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.640' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 1827391, 34861341, 1, NULL, 0xBD0B000001041800000008F9A00765273441B0D1005E213126416688636D6927344178BC74932531264198B20CE16D27344150B1BF8C29312641F8DBD7617227344160302A492D312641FB31E6EE7627344100B9FCC730312641B19465883F2834415839B448C43126415BC1A8D44528344108917E1BC9312641C064AA104C28344118000040CE3126411E5A643B5228344128CF66B5D3312641887CD05358283441B810C77AD9312641B159F5B981283441D0E76A6B9D3126418738D6E58528344128143F068C302641C432C4D171283441285A64BB8D30264132B29DCF2B273441688FC275A9302641BC6B09592C273441F061A116BB302641EAD0220B3127344170401381C930264181B740323627344100B9FC47D7302641AD8BDBC83B273441D0B5845CE430264191C2F5C84127344100D7A3B0F0302641E4BE0E2C48273441D8581737FC302641F2B050EB4E273441A82E6EE306312641DA5F76FF55273441B0703DAA1031264188D2DE605D27344108EEEB801931264108F9A00765273441B0D1005E2131264101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C4E15A5B2FC273441C3C496BE10312641, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.650' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.650' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13601695, NULL, 1, NULL, 0xBD0B000001040500000099438B8CE98E324180D93DF9B0261D415AEC2F9BF38E3241408C4A6AB2261D41BBAF03C7F48E324180BE9F9A2F261D41F8065FB8EA8E3241D00B93292E261D4199438B8CE98E324180D93DF9B0261D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CAA79C729EF8E324102CCEE4970261D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.660' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.660' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13508466, NULL, 1, NULL, 0xBD0B000001040F000000A56054D2C9A43441F04A59C63D89274176F2B010F0A43441D0E00B53438927412141F183EEA43441A087855A2689274185635DDCEFA434418095434BE888274102098A1FEFA43441F0E99532DC882741E9F21F72E8A43441185839749F8827416C09F900E8A43441B830996A6B882741FFFFFF1FB9A43441A8F3FD9464882741A6ADD8BFBFA4344170CDAA4F3C892741A56054D2C9A43441F04A59C63D89274141CF661594A43441B0847C505F88274186855AB3E8A3344178855A5346882741066822CCE0A33441D032C4F11B892741F11FD22F98A43441E86800AF3689274141CF661594A43441B0847C505F882741020000000200000000020A00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, 0xBD0B0000010CE9D0F0B15DA43441839E9BECC3882741, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.670' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.670' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13226193, 90073095, 1, NULL, 0xBD0B000001040600000032B29D6F172E2C41C8D781334FA130416F4DF38E612E2C4168BC74934EA130412DBB274F612E2C41302AA9F346A1304155840D4F1A2E2C418C855A7347A130410EF2414F172E2C410C61C39349A1304132B29D6F172E2C41C8D781334FA1304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C557E01833C2E2C41142964114BA13041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.680' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.680' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 12648388, NULL, 1, NULL, 0xBD0B0000010407000000735F074ECBFC25410898DD930FD22F417AC95421C7FC2541909ECD0A09D22F41FAEF16A8C2FC2541004625B502D22F4126F8C2E4BDFC254188D85F96FCD12F411C7502DAB8FC254178A0F8B1F6D12F412CD49AE6B7FC254140F38E93F6D12F41735F074ECBFC25410898DD930FD22F4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CE9BB5BBAC0FC254100FBF53801D22F41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.693' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.693' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977822, 23695121, 1, NULL, 0xBD0B0000010405000000DAF21F12497A2B417019E23891643141B5BFEC1E5D7A2B4104F2410F91643141E11B7C615C7A2B414C4772D9796431410861C353487A2B41FC497B037A643141DAF21F12497A2B417019E2389164314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CC0B799B9527A2B41C3442D8985643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.703' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.703' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 6091407, NULL, 1, NULL, 0xBD0B000001040700000079711B2DA98F3141404CA68A04351C41BC0E9CB3AC8F3141A089B0E1B5341C416A88637DAB8F3141D0BCE394B5341C412E3333F3A48F314120FDF6F5B3341C41EA61A176A28F314100DCD78154351C41334CA6EAA78F3141101AC0DB55351C4179711B2DA98F3141404CA68A04351C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C3BD147D7A68F314146CFCFEAFF341C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.713' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.713' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14073676, NULL, 1, NULL, 0xBD0B0000010419000000DF4F8D77FE29344160D6C5ED460A1E414A477219F7293441C0DF2D903E0C1E411C7C61B2892A3441707DAEB6100E1E41C94B37698F2A3441F0187357F30D1E412DC4B10E9B2A344170128340B60D1E41EA61A1B6A12A3441603EE8D9960D1E418ADB6840A52A344130FDF6F5820D1E41489D8006A92A344110C139A3690D1E41867CD053AB2A3441C03D79D8540D1E411AFBCBEEAC2A3441D01726533D0D1E4108F016E8AE2A3441C00C712C260D1E415327A0C9AE2A3441B0BDC1170D0D1E41F341CFA6AD2A3441B09F1AAFF40C1E41B2BFEC1EAA2A3441E0B5157BD00C1E418AC95421A72A3441C0EA7335B00C1E412F08ACFCA42A344110B5A6F9970C1E410C5F98CCA22A3441C0240681870C1E41FF6E81E4822A344150BF7D1D0C0C1E41462EFF01672A344130D7A370770B1E4192A982E1522A3441E01E85EB330B1E41BA96905F3E2A344170B74042F20A1E413FA4DF7E292A3441A011A57DB20A1E4137454742142A3441B0C117A6740A1E41085F98ACFE293441D05CFEC3380A1E41DF4F8D77FE29344160D6C5ED460A1E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C70E909984C2A3441243CC32E3C0C1E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.727' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.727' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 24777188, NULL, 1, NULL, 0xBD0B000001040500000021D26F7FC83932418038D645928517412D90A0F8BF393241301136BC8A8517417D6ABC34BB39324190C729BABB8517412D55302AC3393241D0012B87C285174121D26F7FC83932418038D6459285174101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CB4E4A9BCC1393241C4F9C685A6851741, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.737' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.737' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8192294, NULL, 1, NULL, 0xBD0B00000104070000005427A0696839324150EF38C5198A17418541602564393241E0D6A3F0158A1741B2506BDA62393241E09F1A2F238A17418395438B5639324190CCCC4CA18A1741D088D27E5F393241300F0B35A98A174191CB7F6860393241706B9A77A78A17415427A0696839324150EF38C5198A174101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C18B80D2360393241446458DF678A1741, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.747' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.747' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14083647, NULL, 1, NULL, 0xBD0B00000104050000008626C246386E2B414C3EE859AB6431419C2C435C4C6E2B4168711B0DB0643141F2FDD4784B6E2B410460766F906431418E416065376E2B41D8F97E8A906431418626C246386E2B414C3EE859AB64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C9198E026426E2B413BAE0C1C9F643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.757' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.757' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13978055, 23696581, 1, NULL, 0xBD0B0000010405000000463EE8D993792B41906CE77B7B6431414C840DCF7F792B4148B81EA57B643141BB293A9280792B414CD191DC926431410E1B9E9E94792B418C8EE4B292643141463EE8D993792B41906CE77B7B64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C5D836C368A792B410C83452C87643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.767' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.767' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13998111, 23689131, 1, NULL, 0xBD0B0000010405000000B059F5B909792B41344ED191BF643141EA9E3CACF5782B4184BE9FBABF643141CAA3707DF6782B412497FFB0D9643141034D848D0A792B41F4384587D9643141B059F5B909792B41344ED191BF64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CC0EF3C1C00792B413F676FA1CC643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.777' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.777' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13978012, 23696161, 1, NULL, 0xBD0B0000010405000000CA09686230792B41E4C0398393643141A5E8486E44792B412C7E8C5993643141891F63AE43792B41482EFF217C6431418F6588A32F792B418895434B7C643141CA09686230792B41E4C039839364314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C668DA0083A792B4185EF9BD287643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.787' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.787' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 9096426, 90072570, 1, NULL, 0xBD0B0000010405000000B4FEB27BE8F226418C0D4F0FC9AD32419FF831A6CBF22641287A364BB2AD324115F241CFD2F22641F8088A5FD7AD3241DCA59B04EBF2264180734634D6AD3241B4FEB27BE8F226418C0D4F0FC9AD324101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C4F493362DAF226418675EB5FC9AD3241, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.797' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.797' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 15937461, NULL, 1, NULL, 0xBD0B00000104050000001BE258B726833241C8A145B6A24A2E41D58173E61C83324120DE0209994A2E41460C02AB1C83324120DF4F0DA34A2E4152E3A57B26833241F0EBC0B9AC4A2E411BE258B726833241C8A145B6A24A2E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C92A111B121833241B80C85E1A24A2E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.823' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.823' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13253000, 35754031, 1, NULL, 0xBD0B0000010406000000B6D85F76CD2E2C413895D409D1A03041D422DBB99E2E2C41649A775CD1A03041CA2B6519932E2C4158C8071DD9A03041AFF3FD54CF2E2C4118FBCBCED8A03041F0482E3FCF2E2C41D402090AD1A03041B6D85F76CD2E2C413895D409D1A0304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C1C27C10DB42E2C4154229937D5A03041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.860' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.860' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13226223, 35711691, 1, NULL, 0xBD0B0000010405000000E06800AF612E2C41B40E9C3356A130412CBB278F172E2C41282AA9D356A130412ABB27CF172E2C41D4D781735EA130410032E6EE612E2C4170BC74D35DA13041E06800AF612E2C41B40E9C3356A1304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CA0540DBF3C2E2C4129BA8E535AA13041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.873' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.873' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 18289886, 90056932, 1, NULL, 0xBD0B000001040C0100004D7DAE762CFD2941245F980CF60331412187161921FD2941A8EFA786EC0331417C0B242817FD2941109C33E2E4033141411CEBE20EFD294188764FFEDC033141F5482E7F08FD29419401BC65D7033141061214BF04FD2941D0DCB504D3033141B9BAB8CD01FD2941E4E00B33CE03314166D3BC6301FD2941186A4D53C903314140136183FFFC294150AF9425C2033141928785DAFEFC2941904C156CB5033141BE8F31B7FCFC29414C4DF32EA603314162545267FBFC2941502041B1A003314187AEB6A2FBFC294164621078990331417CA7570AFBFC2941303EE879920331410AF241CFF9FC2941B81726F388033141535986B8F8FC2941607FD91D81033141733D0A17F8FC2941FCA067B379033141D412F2C1F9FC29418C9999796F033141E79C1125FBFC2941807346F4660331414E9D8026FBFC2941F80FE917580331412E1AC01BFBFC29419CCFD5B6430331412DCB1087FAFC2941647FD9BD36033141C7B12EAEF9FC2941C854C1482D03314189438B2CF6FC2941744F1E3620033141626DC53EEFFC2941248716591103314141674469E2FC294178EE5A22FD0231412A6EA301D5FC2941703BDF6FEC02314107E78CA8C6FC294140795808E00231410AC7BA78BDFC294184C0CA61D502314114B5A6F9B5FC2941789ECDAACC02314180FB3A70AEFC2941FCDD0209C60231411A41F1E39AFC2941AC7BF270B702314197A0F8F18AFC294140454732AA0231412D7E8C3963FC2941709A777C93023141A0EFA7C64BFC2941F861A1B687023141C066D5E734FC29419C28ED0D7B02314194A982112AFC2941349FAB0D7402314171787AE51DFC2941E064AAC06C02314184FD65B703FC29413C70CE885D023141120F0BB5E9FB294108075FD84F02314146575BF1D3FB2941B0923A6143023141142428BECCFB2941D402092A3E02314195DFBE4EBAFB29411826536532023141A03C2CD4ABFB2941DC10C71A2A02314185832FCC9EFB2941F83A70EE220231413055306A8CFB2941B0CFD5561A02314105917E3B86FB2941FC9908DB16023141566B9AB77BFB29418831770D11023141322AA91377FB294180C954C10D023141F71648D063FB2941580E2D1205023141BB5B20C152FB29411071ACABFC013141EA41CFA643FB2941443EE839F4013141F616481027FB2941D010C7DAE301314162BA490C18FB29415C1B0DE0D9013141549D80A60CFB2941085A64FBD30131419CE848EE05FB2941DCBAB84DCF013141D0E53FA4FBFA29418875719BC90131415505A352F4FA294140E4831EC80131415DB1BF6CF0FA2941A415FB6BC801314101000080EBFA29419C9999F9C901314176A301FCE6FA2941F0361AD0CB013141F3C48FF1E2FA29411CC7BAE8CD01314116E9B76FDFFA294150E3A53BD0013141A9AF0367E0FA294148696FF0D3013141FDAB1C1AE0FA2941F0EDEBA0DA01314120166A8DDEFA2941D0073D7BDF0131412AFF213DDEFA2941A8CDAA0FE6013141ECA7C68BDDFA294148840D4FED01314180B740C2DCFA29412C2CD4FAF5013141C73B4E51DCFA294118D6C52D00023141B003E70CDBFA2941047A36CB05023141DA0B9369DCFA29416CD712920B023141628FC275DCFA294194537444110231413D72F90FDCFA2941C8ACFADC16023141DAD781F3DCFA2941C0FEB2BB1E02314172F90F29DBFA2941AC1C5AE4250231410E3FC6DCD9FA294144FC18B32D0231418A635DDCD9FA294198081B5E35023141A0EFA746DBFA294120C7BA78430231413F6210D8DAFA294148E17A344B0231412BAB3E97DAFA2941BCDEE0EB4F023141D27F48FFD8FA2941685DDC865E02314185C7293AD7FA2941684BC8E765023141D2BCE394D6FA294168CE88B26D023141B1DCB504D6FA2941888EE45271023141083D9BD5D5FA294138E9B76F79023141D5B359F5D1FA2941F4E461418402314165EE5A82D0FA29419C2A18D58C02314154FE433ACFFA29414070CE4892023141C5E3141DCEFA294194DB68209702314193CB7F48CCFA29411490A0389B023141C7293AD2CCFA29419CC42090A10231416F029AC8C9FA294124B9FC67A902314123D26FDFCAFA29410432E6AEB302314104363CBDCBFA2941A09BC400C3023141D0073D9BCBFA2941DCAE2524C9023141E41B7CE1CCFA294134D6C54DCB0231416C2BF657CBFA294118D26FBFCD0231413CFC18B3CBFA29415C9FAB0DD70231412095D449CAFA2941F49E3C8CDD023141D49AE6DDCAFA2941A4900F7AE90231412DC4B1EEC8FA2941A0081B5EEC02314140CF6655C9FA294154621038F6023141CC54C128C9FA29410CD7A370FE02314180A7570ACAFA29419C01BCA5150331410624287EC8FA29419C779CC223033141A433A2B4C9FA29417816D94E2A0331410FB5A679C8FA2941F487F45B300331414CD1911CC7FA2941B003E78C3C0331411E31082CC5FA29410463EE7A440331414594F646C6FA294130E4837E510331410EBE3099C6FA2941F01873D7570331417B832FCCC2FA2941D44B37896303314186B20C71C1FA2941EC2FBBC76F0331412ADD2406C1FA294124B072287503314194CB7F88BFFA2941C03B4ED17F0331411FA08930C0FA294190900F1A8A03314124287E4CBFFA2941F8065FB89603314151EA04F4BDFA29412863EEFA9D0331412C3A928BBDFA2941D4B584FCA5033141626DC5BEBEFA294188711B6DAC0331411A75029ABEFA2941207E8CF9B4033141FCD47829BFFA294190A7572ABE03314164643BDFC0FA2941FC065F78C50331411E431CABC2FA2941487958E8D2033141766FF085C4FA29419475717BDE033141FF3A70CEC5FA2941308B6CE7E503314146D6C5EDC3FA29411C6A4D73E90331413E0C026BC2FA2941082428BEEE033141F5EBC079C3FA2941740D4F0FF6033141C35B2041C6FA294154643B1FFD033141ED73B555CAFA294198711BAD060431415E764FDECDFA2941004D84ED0E0431417E1D38A7D1FA294158E3A5FB140431410710E9B7D4FA29419CC2F5481A043141510C02ABD9FA2941106822AC1E043141E0AE2564DDFA2941A0B20C7121043141128C4A2AE1FA29413C5305632704314198FD6537E7FA294150BF7D7D2E043141FE11147FECFA2941C49F1A2F340431415B19E298F3FA29414CFC18D33A043141E0938705FDFA2941B8847CB0450431415EA1D6B402FB294144F1630C4B0431418CFF90BE0CFB29416C4F1E76550431413CE17A5413FB2941E02D90205B043141DA2406411CFB294174FD65B7620431414DC1A86427FB2941C8F21FB26A0431411C85EB9133FB29412CF775A074043141C48173863CFB2941E4B9DA8A7C043141DF2D902048FB294110AB3ED784043141D466D5274FFB2941E4C7989B8A04314193635D1C5AFB2941181FF48C950431413DD6C5ED6AFB294158A835EDA7043141B08251C97DFB2941A4DD9307B304314135696FF08FFB29417CF08509BE043141124850BCA3FB2941F0285C6FCA0431410288F41BB3FB29418C1D3887D3043141746891ADC4FB2941904C15CCDC04314109E9B72FD4FB294154B81E65E5043141943A018DE3FB294194C95461EE04314198E8482E01FC29413C1CEBA2FD0431410E0BB56612FC2941A864AA6005053141208E75F12FFC29416C2BF697130531417109F9A04DFC2941184850FC200531412A89416062FC2941C87D1DB82B053141D06F5FC795FC2941FCB27BF2420531418F438B2CB3FC2941E04603784F05314119D26FDFC6FC2941ECAE252458053141C26B0939DBFC29410C4D84CD600531412E3333B3E6FC294154B1BF0C6505314175810445F9FC2941848638766A053141F2FDD47805FD294100BC05926F05314136CB108716FD2941C486A7577505314188AEB6222FFD2941180EBED07C053141F2C039E345FD29414070CE888505314180FB3AB04EFD294180976E128905314168006F415DFD2941E48C28CD8D053141568D976E63FD2941780B24A88E0531416B5F078E69FD2941BCFEB27B9105314142DF4F4D73FD2941F8EDEBE095053141BAE53F8475FD29410075023A97053141E0065F1878FD2941A0CFD56698053141E1BE0EFC7AFD294170E926619905314190E4F21F7EFD2941E0EEC9239A053141496B9A3782FD2941D40968229C0531419B4E40D393FD29415CCC5D0BA30531415ABA490CA0FD294124D26F5FA80531413E92CB3FB9FD2941BC6054B2B10531413FE8D9ACC6FD2941244CA6CAB505314130575BB1CFFD294188855A53B90531415C19E218E3FD29412C772D21C105314168469476F3FD294190506B7AC6053141B237F84205FE2941C0FC8754CD05314187E2C75818FE2941C89690EFD30531417AD0B3592CFE2941C81E85CBDA053141112DB25D41FE2941D45D4B08E105314137575BF158FE294120F2412FE9053141432CD49A6FFE2941704469CFF0053141A457CA7283FE2941CCB35915F60531414060E5908EFE2941DC293AB2F8053141948EE43294FE294120189554FA053141ADEA737596FE294198CDAA8FF60531412F55306A9BFE294198438B4CF0053141FB5E984CA2FE294130D26FDFE7053141828CB9EBA9FE2941E0946528DE0531410FE9B72FB2FE2941F40FE917D2053141FE331136B8FE2941ACA22379C9053141CDA3703DBDFE29411CF2410FC40531413008AC7CBFFE2941E48E5384C1053141FC3A70CEC1FE294134F697FDBE053141E0E99532C4FE2941F4D0227BBC0531419228ED0DC4FE29412808ACECBA0531415B423EC8C3FE2941C07F485FB90531419A89B061C3FE2941A045B6D3B7053141F8E461A1BFFE294168FC1873B3053141239E5EA9B8FE2941EC8E53F4AB0531418EFF90BEB1FE2941F4FDD418A50531410A9C3322A4FE2941685452079A053141FDE68C289AFE2941242B87F6910531414172F98F8DFE29413C0AD7E388053141145305E384FE29410CD04438810531413B7958E879FE2941204A7B43770531413208AC9C6EFE294118F46C966E0531413D696FF060FE2941C86F5FC762053141C781738643FE294124B7D1A04B0531413767442939FE294104E483FE43053141536B9AF731FE29410022FDD63E053141B5A679072AFE2941F8E461E135053141D8E9957226FE29418426C2862E053141FFEDEB8025FE29415093186428053141E08C28ED24FE294170A3019C210531411EF8C26422FE29412CB29DAF1705314164FE43BA21FE2941C87D1DD80F053141B47BF2B020FE29410C8A1F430B053141C00512940EFE294140AF9405F9043141E102098A03FE2941B0B43718ED043141ECD24D62E7FD29417C4F1EF6D204314124B9FC07E3FD2941CC66D5E7CD04314143014D84D8FD2941BCF3FD94C50431418AD2DE20CEFD2941445EBA29BC0431414BEC2F3BC8FD29410071ACEBB604314160D3BC63C5FD29413CB6F33DB4043141C9B359B5B8FD29415CA835EDA60431410B71AC8BAEFD29412048509C9D043141A913D004A3FD294108E9B74F9104314180F2B01091FD294190B96B697E04314190A9821182FD2941408941806F04314156EC2F3B80FD2941D044D8D06B043141DFF97EEA7AFD2941D46800AF6504314105098A1F71FD29417CF4DB975B0431419CF831666BFD2941F095B2CC55043141B213D0C465FD2941F8A9F1F24B0431417EE9267160FD2941B8F3FDB445043141CCBCE3145CFD294158158C8A400431411EC2866755FD2941580B24C839043141E62631C853FD294108E25817360431419E67B3AA52FD294114D26F5F340431412E211FD451FD294118F6979D320431410E1DC94551FD2941F0A59BD4300431414D499D0051FD29415C8B6C072F04314112D044D84CFD29419CFF901E27043141F2065F5849FD2941040DE04D1F043141A3703DCA44FD294118D9CED717043141BC0E9C3340FD2941F0E99592120431415650FC183DFD2941886ABCD40C043141C332C4713BFD294150840D2F060431416A2BF6D738FD2941A8BAB8ADFE0331414D7DAE762CFD2941245F980CF603314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C7F89C28E4AFC2941E7B1DE8BF2033141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.883' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.883' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 2590956, NULL, 1, NULL, 0xBD0B0000010405000000C4A8A4EE803C31415015FBCBD5EB1C41B1B6629F763C314100780B246CEB1C415BC1A8244A3C3141E0D5E7EAD1EB1C4101098A3F493C3141809A771C2CEC1C41C4A8A4EE803C31415015FBCBD5EB1C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CA564163D643C3141418522E0CEEB1C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.897' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.897' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 832570, NULL, 1, NULL, 0xBD0B00000104060000001751DABB64AB324170992A9899621C41CE2B65D94FAB3241F0AB1CDAE9621C41F28E53345EAB32414039B4483E631C41964C150C6FAB32413009F920FE621C418E0F7AB674AB324130DFE08BE8621C411751DABB64AB324170992A9899621C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CFFF47AF961AB3241993D8904EB621C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.903' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.903' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 832570, NULL, 1, NULL, 0xBD0B00000104060000001751DABB64AB324170992A9899621C41CE2B65D94FAB3241F0AB1CDAE9621C41F28E53345EAB32414039B4483E631C41964C150C6FAB32413009F920FE621C418E0F7AB674AB324130DFE08BE8621C411751DABB64AB324170992A9899621C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CFFF47AF961AB3241993D8904EB621C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.913' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.913' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 832570, NULL, 1, NULL, 0xBD0B00000104060000001751DABB64AB324170992A9899621C41CE2B65D94FAB3241F0AB1CDAE9621C41F28E53345EAB32414039B4483E631C41964C150C6FAB32413009F920FE621C418E0F7AB674AB324130DFE08BE8621C411751DABB64AB324170992A9899621C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CFFF47AF961AB3241993D8904EB621C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.930' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.930' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 832570, NULL, 1, NULL, 0xBD0B00000104060000001751DABB64AB324170992A9899621C41CE2B65D94FAB3241F0AB1CDAE9621C41F28E53345EAB32414039B4483E631C41964C150C6FAB32413009F920FE621C418E0F7AB674AB324130DFE08BE8621C411751DABB64AB324170992A9899621C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CFFF47AF961AB3241993D8904EB621C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.940' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.940' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 23844361, NULL, 1, NULL, 0xBD0B0000010409000000CEAACF550A79324170855AD3CF911C41FD088ADFDB783241D0D9AC7AC8911C41BA270F6BC3783241B0A44E40FE911C41ACDFBECE02793241801A2FDD09921C41032B87A604793241E056ECAF09921C41D43D797806793241F0A59B8408921C419B4C153C08793241A09BC46006921C41E1141DE909793241003B704E03921C41CEAACF550A79324170855AD3CF911C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CE5C43867EC783241DD64743DEA911C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.953' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.953' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8487464, NULL, 1, NULL, 0xBD0B0000010410000000E4AE25E4123D3641C8EC9E3C5A6B274188635DBCB73D3641F8EDEBC0116D27413F2CD49AC43D3641D0CCCC0C006D274196779C82613E364170348037286C27416307CE996E3E3641C8B35935166C27417DC0CA01B53D364160764F9EEB692741C1F5285C6F3D3641A8D78173496A27411451DA1B083D3641A8832F0CD86A2741CFB359B5F43C3641481136BCF26A274143BD5256EC3C3641B0361A40FE6A2741C20E9CB3EB3C364190E4F21FFF6A2741B7B88D46E53C3641287DAEF6076B274154B1BF4CE33C3641480DE0AD0A6B27412CFF213DF73C3641305C8F022C6B2741FD87F49B003D3641C8FA5CAD3B6B2741E4AE25E4123D3641C8EC9E3C5A6B274101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C6F47B237B03D3641401B70427F6B2741, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.963' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.963' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 4978994, NULL, 1, NULL, 0xBD0B0000010408000000940F7A167A3630419023B9FCA27920416CAC8BFB5A363041104D840DA1792041A211A53D5436304100A16773E1792041497B83CF523630417836AB3EEF7920414260E55063363041B03C2C94177A2041769CA2C369363041A8506B1A287A2041BC1726337C36304158302AA9077A2041940F7A167A3630419023B9FCA279204101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C3298DE4C693630412E7B2563DD792041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.973' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.973' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10308610, 4916441, 1, NULL, 0xBD0B0000010405000000DB1B7C410AF33241683BDF8F5C99294176A52C6315F33241683789412199294110F241AFA7F23241089F3C6C1499294132E6AE05A6F232418857CA7251992941DB1B7C410AF33241683BDF8F5C99294101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C6E5A484BDBF232414A21D17438992941, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.983' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.983' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 15848591, 1780841, 1, NULL, 0xBD0B0000010405000000DF361AA0BA3D3141282CD4DAC6D32E413FBD52364D3F314160BA494CDBD32E41A3EFA7A6573F3141A0BFEC5EB5D02E4100098A5FC53D3141E0AE25E4A0D02E41DF361AA0BA3D3141282CD4DAC6D32E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C68656D36893E31412703B1273ED22E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:16.993' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:16.993' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 12640204, NULL, 1, NULL, 0xBD0B000001040B000000EC8E537474BA2C4120E483FE635C3041817346D475BA2C4144AD697E825C304141E17A1477BA2C41A8C8765E9D5C30419C33A234C0BA2C41BCC876BE9C5C30410E4FAF54BFBA2C41B8BFEC5E8E5C30419B3C2C94BEBA2C418036AB7E815C3041CBC56D34BDBA2C41E051B87E625C30411AE25817BCBA2C4124B7D1404A5C304159D5E72ABBBA2C41942C43DC365C3041F28E53B471BA2C41081B9E9E265C3041EC8E537474BA2C4120E483FE635C304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CBF28570998BA2C41F3832DD5655C3041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.003' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.003' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14083531, 14745701, 1, NULL, 0xBD0B000001040500000014E9B7AFB06E2B413CFAED4BB46431416A1283C0C46E2B4130431C2BB4643141118C4AAAC36E2B41B442ADA98F643141161DC9A5AF6E2B410C4D84CD8F64314114E9B7AFB06E2B413CFAED4BB464314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C2BCD4530BA6E2B41FF9C68FDA1643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.017' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.017' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 12572063, 13416291, 1, NULL, 0xBD0B0000010405000000ECB7AF43C31F224178711B8DCFF92D41B23E575BC91F2241B0E61DA71BFA2D410266F7A4E71F2241685BB13F19FA2D415A711B8DE11F2241008A1F23CDF92D41ECB7AF43C31F224178711B8DCFF92D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C2B2F5C74D51F2241EAD2C065F4F92D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.027' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.027' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977971, 23695541, 1, NULL, 0xBD0B000001040500000053EA0474DF782B4100CE19F17C6431417F7AA52CE0782B417495432B946431411CDBF93EF4782B41484013019464314160EE5A82F3782B41C866D5C77C64314153EA0474DF782B4100CE19F17C64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CB38772D8E9782B414BF4B47988643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.037' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.037' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10418555, 16707561, 1, NULL, 0xBD0B000001040500000037894120528232415839B4484F4A2E41E07A146E51823241F007ACDC6D4A2E4109560E8D77823241D8F75323714A2E4155643B3F7882324100295C8F524A2E4137894120528232415839B4484F4A2E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CA4EFA7D66482324189180436604A2E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.057' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.057' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14342197, NULL, 1, NULL, 0xBD0B000001043100000070348077D4B8354148B5A6F938A6234178BE9F3ACAB83541688716193CA62341905374A4C1B8354110022B073FA6234151AF94E5BFB83541D076BEDF65A62341A879C7A9C9B835418016D90E63A62341621058D9D0B83541402AA95360A6234157EC2F9BEEB835418879C76958A62341A267B36AF7B83541E8285C4F59A62341893177AD0DB9354138F31F1260A62341F4C9C3A214B93541488B6C2762A623419CCDAA0F1BB9354158C1A8A464A623413FAD69DE41B935419026C2466EA62341E72631084AB93541E8718A4E6FA62341EC1DA74869B93541C0D9ACFA75A62341EB2631E873B9354188A52C4379A62341AB0A46659AB93541E8C798BB89A623411EF46C16A3B935413855302A8DA623416B810485ACB9354150DBF93E91A62341745F072ED2B93541A8946548A0A623412DB29DAFDAB93541F08E53F4A4A62341A3F831E6E6B9354100F01608A9A62341F95C6DE5F1B93541B0802642ACA623413CF8C2E4DDBB354168DE71CA01A72341D2B359D5DFBB3541405839F4DAA62341984C15CCBFBB35417088637DCAA623419B4C159C9FBB3541E82D9040BBA6234189EB51487FBB3541402D213FADA623413E0AD7D35EBB3541F8506B7AA0A62341E6FBA9413EBB354188F38EF394A6234160A1D6941DBB3541708CB9AB8AA623418CDB68D0FCBA3541C8EEC9A381A62341011973F7DBBA35416008ACDC79A62341CB20B072C2B93541C822DBF93BA6234179832F0C57B9354108D9CE7725A62341CD44D8C050B93541D8C3422D24A62341789CA2734AB93541A84B370923A62341A813D02444B93541303A920B22A62341531E162A43B9354140EC2F3B2EA6234126F697BD3BB93541B0703D8A2DA623412A53056331B93541A8DFBE0E2DA623410AF0160827B93541584469EF2CA623418E3A01AD1CB93541E08C282D2DA6234151FC185312B93541103945C72DA6234154F5B9FA07B93541707FD9BD2EA62341904AEAA4FDB83541F004341130A62341363CBD52F3B8354180C954C131A623416E8A8E04E9B8354120166ACD33A6234171B515BBDEB83541588FC23536A6234170348077D4B8354148B5A6F938A6234101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CD28080D457BA35410406EBC58CA62341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:58.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.090' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.090' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14342197, NULL, 1, NULL, 0xBD0B000001043100000070348077D4B8354148B5A6F938A6234178BE9F3ACAB83541688716193CA62341905374A4C1B8354110022B073FA6234151AF94E5BFB83541D076BEDF65A62341A879C7A9C9B835418016D90E63A62341621058D9D0B83541402AA95360A6234157EC2F9BEEB835418879C76958A62341A267B36AF7B83541E8285C4F59A62341893177AD0DB9354138F31F1260A62341F4C9C3A214B93541488B6C2762A623419CCDAA0F1BB9354158C1A8A464A623413FAD69DE41B935419026C2466EA62341E72631084AB93541E8718A4E6FA62341EC1DA74869B93541C0D9ACFA75A62341EB2631E873B9354188A52C4379A62341AB0A46659AB93541E8C798BB89A623411EF46C16A3B935413855302A8DA623416B810485ACB9354150DBF93E91A62341745F072ED2B93541A8946548A0A623412DB29DAFDAB93541F08E53F4A4A62341A3F831E6E6B9354100F01608A9A62341F95C6DE5F1B93541B0802642ACA623413CF8C2E4DDBB354168DE71CA01A72341D2B359D5DFBB3541405839F4DAA62341984C15CCBFBB35417088637DCAA623419B4C159C9FBB3541E82D9040BBA6234189EB51487FBB3541402D213FADA623413E0AD7D35EBB3541F8506B7AA0A62341E6FBA9413EBB354188F38EF394A6234160A1D6941DBB3541708CB9AB8AA623418CDB68D0FCBA3541C8EEC9A381A62341011973F7DBBA35416008ACDC79A62341CB20B072C2B93541C822DBF93BA6234179832F0C57B9354108D9CE7725A62341CD44D8C050B93541D8C3422D24A62341789CA2734AB93541A84B370923A62341A813D02444B93541303A920B22A62341531E162A43B9354140EC2F3B2EA6234126F697BD3BB93541B0703D8A2DA623412A53056331B93541A8DFBE0E2DA623410AF0160827B93541584469EF2CA623418E3A01AD1CB93541E08C282D2DA6234151FC185312B93541103945C72DA6234154F5B9FA07B93541707FD9BD2EA62341904AEAA4FDB83541F004341130A62341363CBD52F3B8354180C954C131A623416E8A8E04E9B8354120166ACD33A6234171B515BBDEB83541588FC23536A6234170348077D4B8354148B5A6F938A6234101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CD28080D457BA35410406EBC58CA62341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.103' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.103' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10456481, 7803551, 1, NULL, 0xBD0B000001040F000000F041CF66A6F13441C4FEB2FB58A03241BBD100BE98F13441B0EA73D557A03241D0BCE3B478F134414413612355A0324140E8D90C83F03441643EE87940A03241438B6C2761F034411CB9FC47D2A13241F8E461413FF03441184FAF1464A332417A58A8F5D0F13441E088D2DE85A33241DDE995B262F33441AC8251A9A7A332413CCD3B6E72F33441D0817306EEA232417A58A87577F33441FCA7C64BB2A23241592041B184F33441EC51B8DE15A23241EA0434B1A6F334412873D71284A03241608FC2359AF23441E4A3707D6DA03241BEF528DC14F23441FC4A594662A03241F041CF66A6F13441C4FEB2FB58A0324101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C3EE853EDF2F134414585D50EF4A13241, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.113' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.113' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13226274, 35711981, 1, NULL, 0xBD0B0000010405000000C59F1A2F182E2C4178BC74B36DA1304130BB274F182E2C41D00E9C5375A13041DF68006F622E2C41DCD781D374A13041FA31E62E622E2C41382AA9136DA13041C59F1A2F182E2C4178BC74B36DA1304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C3970AE603D2E2C412F5FA23B71A13041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.127' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.127' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 4969847, NULL, 1, NULL, 0xBD0B000001044F0000009C627FD92817294150F38E732491304118DBF9BEE216294138F163CC259130419028EDCDE01629419C01BC65289130416207CED9E016294114E4837E4091304112143F86E31629419CF4DB7748913041FC550EADF016294198FF903E56913041DE938745F11629411C8A1F435D913041CE7F483FED16294110D7A37074913041A8EFA7C6E7162941008F53947A913041A62C43DCE7162941187D3F957B91304108CCEE89D51629411468220C8F913041D9839E8DBE162941C8C56D949A913041445227A09C162941DC9C1165B2913041DC839ECD7B1629415C9A773CD7913041063D9B157B1629412CA91350E691304162FE437A40162941200DE0CD24923041FE1873172F1629414C158C4A43923041BE0968222A162941C020B0724F923041F87E6A3C18162941647AA5EC67923041C586A757D41529410C5D6DA5AE923041D678E9E6B815294190EB5158BF9230410AF016883A162941289A08DBBC923041119C33625D162941B0E1E915869230417DD93DF97E162941A8D85FB67F9230412B333313841629410493A922769230416A68914D8A16294174E7FBB96C92304181AEB6A291162941AC13D084639230419A4C150C9A162941DCE76A8B5A92304128651982A316294198E1E9D551923041301136FCAD16294144DA1B6C49923041B07BF270B9162941083D9B5541923041FC3311D6C5162941C842AD99399230411AC05B20D3162941800D4F3F32923041AD25E443E116294168711B4D2B923041F151B8DE55172941B0FA5CCD879130418628ED0D541729417CCE88227B91304133CD3B6E53172941583255706E913041741B0D0054172941A8D100BE619130418C6E12C355172941FC92A91255913041C5A145B658172941D493877548913041DC4603D85C172941589FABED3B913041F453E32562172941500E2D822F913041E2ACFA9C6817294100AC1C3A239130419C627FD92817294150F38E73249130414CEC2F7BA7162941B425E4C3A4923041624DF34E9A16294134014D04BB9230412D136183A91829412C014DE4B09230415ABA49CCA7182941FCFFFF5F9A923041DA1DA7E88A182941A401BCA51D913041A6CDAA0FB8172941D4E00BB321913041AB825109A8172941B009680222913041E65817B7A0172941E81B7C012E913041EF2FBBA79A172941C8C3422D3A913041F8088ADF95172941CCC3427D46913041EEDBD761921729416819E2E85291304196B20C3190172941743480675F913041B9A8A44E8F172941D04D62F06B913041A23E57BB8F172941809ECD7A789130413DB4C87691172941BCD100FE8491304152A60AC69A1729410495D449B99130410D2428DE9A17294150742487C3913041B5F3FD9499172941489B55BFCD913041A04C15EC96172941B40F7AE6D7913041BC8173E6921729414829CBF0E1913041B18BDB888D172941DCE995D2EB913041357E8CD98617294158325580F5913041BE6D34E07E172941DC88D2EEFE9130419DF831A675172941A06E121308923041668638366B172941D00968E210923041EE7E6A9C5F1729415405A35219923041842F4CE652172941503EE85921923041A3779C22451729413CA4DFEE28923041EFE4616136172941F054C10830923041FBFFFF3F0B17294164787AC540923041B469DEB1F6162941EC907E3B4B923041B447E17AE4162941D0ACFABC569230416C711B0DCB1629415CE5D0C26C923041C5F75323BA1629415CD3BCC3849230414CEC2F7BA7162941B425E4C3A4923041020000000200000000022C00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, 0xBD0B0000010C109EAD228E172941C7F2B4A403923041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.137' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.137' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13978039, 23696321, 1, NULL, 0xBD0B0000010405000000BEDCB5C46B792B4130C4B1CE7B643141CF22DBB957792B417CE2C7F87B64314193900F7A58792B41D85F762F93643141CA8173866C792B419CF8310693643141BEDCB5C46B792B4130C4B1CE7B64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C3B8BD51F62792B4149A86D7F87643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.147' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.147' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 9679651, NULL, 1, NULL, 0xBD0B00000104040000005D764FDE93A5324180FC87744B881C41809543CB94A5324110AAF1D2F4871C41E2E995528AA5324100FED4F830881C415D764FDE93A5324180FC87744B881C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CEA51B8FE90A53241DB361AC025881C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.157' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.157' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14567920, NULL, 1, NULL, 0xBD0B000001042500000023F46C56E34F3441A857CA7281AD2241B7B88D26CA4F344170AC8B9B5CAD2241DDA59B84C54F3441386210D855AD2241D4E76A2BC14F3441C08251894FAD2241A2CDAACFBC4F344108EEEB4049AD224178E09C71B84F3441F0FFFFFF42AD22412797FF10B44F3441B001BCC53CAD22410044FAADAF4F344188855A9336AD224122B07248AB4F3441288B6C6730AD224186DB68E0A64F3441D000DE422AAD2241AEE1E975A24F344128D49A2624AD22416CF90F099E4F344190F2B0101EAD2241F3EBC099994F3441F012F20118AD22413C11365C9B4F3441B8BCE3D412AD2241234A7BA3904F3441C0065F3804AD2241A8CFD5D6854F34419806F0D6F5AC224133D49AF67A4F344198B20CB1E7AC2241078A1F03704F344138CB10C7D9AC22410D2DB21D6D4F3441803480373AAD2241585227006C4F344168A1D6B458AD22413E8B6CD7884F34410040A49F64AD22417F734694A54F3441601B0D8071AD22419C33A234C24F3441C02A18557FAD2241920F7AB6DE4F34410064CC1D8EAD224123F46C56E34F3441A857CA7281AD2241AE25E403DE4F344120265305E8AD2241AC2C435CB34F344168C954C1D1AD2241F9285C6F744F34412854E325B5AD224124CB10A76A4F3441201DC925B1AD2241D98AFD85684F344198DFBE0EF1AD22417ED0B379614F344148BA498CC4AE2241AC79C729474F3441A88BDBA8D8B12241529621CE0F50344198FF90FEF3B12241C064AA402B503441004850FCB1AE2241E88C284D30503441784E40D319AE2241F831E66E2650344158D3BC6313AE2241AE25E403DE4F344120265305E8AD2241020000000200000000021900000003000000FFFFFFFF0000000006000000000000000003000000000100000003, 0xBD0B0000010CB9648CE8B94F34414AF0C234C9AF2241, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.167' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.167' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10418512, 16707981, 1, NULL, 0xBD0B0000010405000000250681952B823241182DB29D6A4A2E41B125E4E32A823241D8FBA931894A2E41866CE7BB50823241100EBE708C4A2E41E07A146E51823241F007ACDC6D4A2E41250681952B823241182DB29D6A4A2E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CAF75DC283E823241CE4028877B4A2E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.177' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.177' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 4682726, NULL, 1, NULL, 0xBD0B00000104090000004803782B0643354178E7FB698DA123414E6B9AF71A433541A819511A8AA1234186A757CA2F433541B8CAA18587A12341490C02EB4D433541F8A9F11285A12341F39E3CAC42433541C02E6EA364A12341CCB359151D43354120C9E57F77A123414CE3A57BE3423541801D386794A12341B4A67967F142354130211F7491A123414803782B0643354178E7FB698DA1234101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C82D4FBFD2743354130B982367EA12341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.183' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.183' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13843117, 29721351, 1, NULL, 0xBD0B0000010405000000B0ADD85FB2502B41047C61D2BE603141BC96904F9E502B41243A92EBBE6031415196210E9F502B41FC8C288DE36031410E1B9E1EB3502B41D8C56D74E3603141B0ADD85FB2502B41047C61D2BE60314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C47CA0FB7A8502B410118EA2FD1603141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.197' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.197' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 12917354, 30292971, 1, NULL, 0xBD0B000001040A000000CAB3597586E0264158DC46A3459E3241DFD24DA2A2E026416C07CEF93B9E3241E0BE0E9CA9E0264138CF6695399E324143014D04B7E0264190635DFC349E3241CD00DEC2ACE0264150F2B0702D9E3241CCCCCC0CA9E026418C8CB98B2D9E3241A45E298BA3E02641E07A146E2F9E3241EA75E01C7EE02641D0ACFA3C3C9E3241DAD781F382E026413072F9AF419E3241CAB3597586E0264158DC46A3459E324101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C942E07D099E02641EFB995F5389E3241, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.210' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.210' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13978004, 23696031, 1, NULL, 0xBD0B00000104050000008F6588A32F792B418895434B7C643141B97493981B792B41BCB359757C643141DD61A1561C792B4140E8D9AC93643141CA09686230792B41E4C03983936431418F6588A32F792B418895434B7C64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C0E9052FD25792B41180A40FC87643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.220' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.220' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13601652, NULL, 1, NULL, 0xBD0B0000010405000000DC2D9060CB8E3241F053E3A5AC261D41A1D6346FD58E3241D006F016AE261D41FF99089BD68E3241B0A679472B261D4141F1638CCC8E324130F46CD629261D41DC2D9060CB8E3241F053E3A5AC261D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CF063CCFDD08E3241717DAEF66B261D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.233' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.233' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10465120, 5676011, 1, NULL, 0xBD0B000001040500000009B5A659D4823241507B83EFD2492E412B871679F9823241B0E1E995D6492E4104F9A007FA823241F0915C7EC2492E4112143F26D3823241B02E6EA3BE492E4109B5A659D4823241507B83EFD2492E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C765690BEE68232419F5FC295CA492E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.243' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.243' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 2746778, NULL, 1, NULL, 0xBD0B00000104050000000968224CBBAB32418023B97CC2641C419006F0D6A7AB324140FAED6B62641C4146BF7DFD96AB324150265305A2641C41F731E6CEA8AB3241901D386708651C410968224CBBAB32418023B97CC2641C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CD8C9CBE0A8AB3241BCF15C9CB4641C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.263' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.263' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13226215, 35711561, 1, NULL, 0xBD0B0000010405000000E06800AF612E2C41B40E9C3356A130416F4DF38E612E2C4168BC74934EA1304132B29D6F172E2C41C8D781334FA130412CBB278F172E2C41282AA9D356A13041E06800AF612E2C41B40E9C3356A1304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CC3322F8F3C2E2C41F41090B352A13041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.273' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.273' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 11981075, NULL, 1, NULL, 0xBD0B0000010408000000C639230A0E882941AC67B3AA81313041C096908FF6872941081EA7E8A531304170DE710A7E88294190AA6094DE313041F6FDD4388288294150F5B97ACE3130411AC9E53F768829410CE78CA8BA313041507424D747882941D0A59BA48E313041CCC56DB41D882941845AD37C69313041C639230A0E882941AC67B3AA8131304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C16C946B23A8829410ED5769FA6313041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.280' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.280' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 6205976, NULL, 1, NULL, 0xBD0B0000010405000000D9A3701DA9423141B0A7C64BFEE61C41536B9A77BB423141D074029AE8E61C41DEC7981BB6423141302B8796C3E61C41B0BFECFEA5423141203A924BE7E61C41D9A3701DA9423141B0A7C64BFEE61C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C00E1F8DCB0423141A3A8B654E3E61C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.290' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.290' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13676709, NULL, 1, NULL, 0xBD0B000001040500000092ED7CDF87613341E003E78CFB541C419D67B32A6D61334170D2DE6097541C4166006FE1676133416027A089AD541C412597FF30756133411022FD76DF541C4192ED7CDF87613341E003E78CFB541C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C69F54F3275613341F654E925C8541C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.303' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.303' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 29171628, NULL, 1, NULL, 0xBD0B00000104050000000E363C7D5EC3324140363CBDC4C41C41E8F21F725DC3324140DFE08B3CC51C41CC6F5FC7A5C332419058A8B546C51C41278716D9A6C3324130D409E8CEC41C410E363C7D5EC3324140363CBDC4C41C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C9C5AF52382C33241B546CAB805C51C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.313' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.313' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 5437440, NULL, 1, NULL, 0xBD0B000001046D0000004C05A3320D473441A0E53F244E2F1E41C2E3147D11473441A0581737582F1E41FE21FD5617473441A0A223B9622F1E41F0FDD4381D473441F04525756B2F1E412ED49A2623473441B0B88D86712F1E4100E78C482E473441104D158C742F1E411C2FDDE4334734410041F163732F1E4130BB270F39473441002DB21D722F1E414A50FC183F473441A04603F8712F1E41D41B7CC144473441600AD7236E2F1E41C620B0924A47344190D634EF6D2F1E41B359F5F94F47344150AA60D46B2F1E4193B96B6955473441702041F1672F1E419C45B6935A473441809ECDAA662F1E41637FD9DD5E473441E0A370BD702F1E41D7D781335F47344130674469842F1E41952A18D55B47344150302AA9922F1E41448B6CC757473441D0BFEC9EA12F1E41DC78E9865847344100C58F31B72F1E41F01648905C47344110B5A6F9C22F1E418DC2F56861473441F021FDF6C62F1E4168DE714A67473441807CD033C32F1E417836ABFE6B473441F02FBB27B62F1E418E4AEAE46D473441806891EDA22F1E41696FF0456E473441A0E1E9958C2F1E41168C4A0A6D473441206D567D782F1E41D2915C7E6C473441F09F1AAF632F1E41AD69DEF170473441D0F5285C582F1E41C09F1AEF75473441A087855A542F1E41361AC09B7B473441709CA2A34F2F1E41AE1C5A6480473441D07A14AE4A2F1E41DAACFAFC864734413044FA6D442F1E413992CB3F8C47344190CDAACF3D2F1E41FED4782992473441C05CFE43382F1E413E355EFA96473441104B5986312F1E41D2DEE0ABA0473441A047E17A202F1E4126A91350A547344150006F01172F1E41D25D4B08AA473441D0043411092F1E41DF718A4EAE473441D0923A01FB2E1E41EA1DA768B34734410013F2C1F02E1E41846ABCD4B947344190CAA1C5E72E1E4189B0E1C9BE4734413003788BE52E1E41040000E0C347344110A08930DC2E1E41497B834FC947344130CD3B4ED82E1E4134B4C8B6CE47344120A16733D62E1E411648509CD44734413003788BD12E1E41ED63CC7DDA473441103945C7CD2E1E4165DE712AE0473441E04D6210C92E1E417F613275E547344180E7FBA9C02E1E41C9293A32EB47344120651962B82E1E410044FAADF0473441E0CEF7D3B12E1E41447B83AFF5473441D08D97EEAC2E1E4101E78C68FB473441404CA68AA52E1E41FC31E68E01483441600C022B9F2E1E415B8638D606483441E09DEFA7972E1E418C0F7A560C48344140EA0434902E1E415952270011483441A06054D2852E1E41EA26312816483441A089B0E1782E1E410C71AC2B1A483441A0423E686D2E1E41BE5B20C11F4834414091ED7C612E1E41146A4D73244834419060E550552E1E41000000C028483441D0A9F152462E1E41ED5A425E2C48344150B9FC07382E1E41F11FD2EF3048344140431C6B262E1E41DA3D79383548344150AAF152182E1E4124A0897039483441101748D00D2E1E4122166ACD3E48344160AA60D4012E1E41E258177743483441A020B072F72D1E41B0EA735548483441706FF005EE2D1E4105F016684D48344150DF4F8DE52D1E41C2F5287C5748344100A08930D82D1E419E8026425D48344130E4831ECE2D1E419DF6067F66483441E0C6BAB8B62D1E4100917E7B2448344140DA1B7C482A1E41BA96900F26483441B0460378CB291E417C6132F5B4473441106B2BF624291E41265C8FC2B9473441F0F0634CA9271E418BFD65576546344190FA5C6D45271E4111363C3D73463441E03BBD52012A1E41A213D0A47D463441E0DC4683842E1E416E8104A58046344150E3A51B8A2E1E413480B7008146344150F46CD68A2E1E41102DB23D8B46344160764F1E9E2E1E4159302A098D463441508EE472A12E1E412CA913D08E463441906891EDA42E1E41C6293A92904634413096218EA82E1E41FF6E814492463441D02CB21DAA2E1E414DD191EC93463441C0923A41AC2E1E415C5452879546344120FD87F4AE2E1E41E9FBA9119746344170E99532B22E1E41BD9F1A8F9D463441C02E6E23C12E1E41BEE3141DA746344110265305D22E1E41BFD32B65AC46344190DD9307D72E1E41DE4F8DF7B2463441E0DF2D10DF2E1E4198218ED5B7463441004ED191E52E1E413F795808B8463441B0F2B0D0E52E1E410022FDB6BD463441C0AF03E7EA2E1E41904AEA44C846344110F241CFF52E1E4170787A25D346344160FC18F3072F1E41235A64FBD7463441D0F3FDD40C2F1E41FCA067F3E3463441300B24A8132F1E41C9C3428DEE4634410066F7E41B2F1E41D7F97E0AF446344180D0B3D9212F1E410A93A942F946344180423E682A2F1E4192CB7F08FE463441B0F4DBD7322F1E4140CF66950247344100EC51383B2F1E41C6FEB23B0847344160F085C9442F1E4138D6C54D0A473441803255B0482F1E414C05A3320D473441A0E53F244E2F1E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CC9D215F2484734419242FB2E7A2B1E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.323' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.323' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13998145, 23689261, 1, NULL, 0xBD0B00000104050000004C50FC98E1782B41184A7BE3BF6431411C0F0B75E2782B416407CED9D9643141CAA3707DF6782B412497FFB0D9643141EA9E3CACF5782B4184BE9FBABF6431414C50FC98E1782B41184A7BE3BF64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C50E6E20DEC782B41976A0EC9CC643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.330' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.330' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13908316, 90073177, 1, NULL, 0xBD0B0000010406000000D312F2C127512B41584ED151F160314176B5153B2C512B41DCE76ACBF4603141BC8F31B72B512B4130DD24C6E76031410632E62E1C512B41443EE8D9E7603141C36D340020512B41E07A140EEB603141D312F2C127512B41584ED151F160314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C8BAEECAB26512B410A60352CEC603141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.340' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.340' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977601, 29842511, 1, NULL, 0xBD0B0000010405000000569FABAD867A2B41689CA283BC643141D00968A2727A2B4168A835ADBC643141BEB88D86737A2B417C3F359ED664314184855A93877A2B419833A274D6643141569FABAD867A2B41689CA283BC64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C6EA4801A7D7A2B419D511691C9643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.350' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.350' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977873, 23694501, 1, NULL, 0xBD0B000001040500000045136143997A2B41F8FBA991906431418404C54FAD7A2B415C0B24689064314130992A98AC7A2B41C832C431796431410E83C08A987A2B41345A645B7964314145136143997A2B41F8FBA9919064314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CA93F85EDA27A2B41C444A4E184643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.363' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.363' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 3057011, NULL, 1, NULL, 0xBD0B0000010406000000459D80E644A5324120E4839EE9A31C416CB5153B21A5324120BC059286A41C410266F7843DA53241D01E85EBEDA41C41575227E05BA5324110FED4F867A41C4188DB682063A53241B0FE43FA47A41C41459D80E644A5324120E4839EE9A31C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C7E722DD241A53241880B4CFF69A41C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.373' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.373' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 5984149, NULL, 1, NULL, 0xBD0B000001044000000094180416A49F31419047E17A8FAC1B4110A5BD91A39F314190FBA97181AC1B41B3726871A29F3141A011A5FD73AC1B41B6D100BEA09F314170DE718A67AC1B41054625859E9F3141B0C7987B5CAC1B4175029AD89B9F3141D0D4782953AC1B41C7BAB8CD989F3141F01A9EDE4BAC1B412DFF215D7E9F3141C02A1815ACAC1B4164AA60147D9F314140984CD5B9AC1B418D7EFBEA7B9F314140A5BDC1C7AC1B4186C954E17A9F3141704F1ED6D5AC1B41A5BDC1F7799F3141B028ED0DE4AC1B419D11A59D6C9F3141304AEA04CAAD1B41BD172673A89F3141B0ED7C3FCEAD1B4194180416A49F31419047E17A8FAC1B41B169DE31509F3141701283403EAC1B41F9DBD781509F314110D34D6236AC1B419AE61DC7509F3141207A36AB2EAC1B4146477219519F3141C089B0E126AC1B41D344D8B0519F3141B0218E7517AC1B413A234AFB519F3141F07F48BF0FAC1B4158D3BCE3549F3141505EBAC9BBAB1B41846ABCD4279F314160B81E05B8AB1B41806ABC94D19E3141D0FBA9F1A4AD1B41A1EFA7E6439F3141C06054D2AFAD1B418DED7CCF459F3141C0CCCCCC6AAD1B413C355EEA479F314140E483DE25AD1B410C022B374A9F3141B095D409E1AC1B4142C6DCB54C9F31416060E5509CAC1B4180D93DF94C9F3141A0F5285C94AC1B419DEFA7464D9F3141006D567D8CAC1B410B5F988C4D9F314110DE028984AC1B4117E258D74D9F314150EA04B47CAC1B41B4490C224E9F3141C0F606DF74AC1B41CECCCC6C4E9F314110713D0A6DAC1B41152FDD044F9F3141F064AA605DAC1B41D5F97E4A4F9F3141F0B9DA8A55AC1B415EFE439A4F9F3141205C20C14DAC1B41428B6CE74F9F314130B4C8F645AC1B41B169DE31509F3141701283403EAC1B41611058D9C99F3141E047E17AB4AB1B41B3BFECFEBD9F3141801C5A64F1AB1B41536B9AB7C09F3141C0506B5A0AAC1B4112E9B7EFC29F31416050FC1824AC1B412F2AA9A3C49F3141C07DAE763EAC1B41ED0DBED0C59F3141904B374959AC1B412A0F0B75C69F314180787A6574AC1B41B796908FC69F314190E4F29F8FAC1B41E3361A20C69F3141803A01CDAAAC1B41D26F5F27C59F3141F0EDEBC0C5AC1B41263A926BBE9F3141C07A14AE54AD1B415C325540BE9F314100BE301965AD1B41D91B7CC1BE9F314190D4096875AD1B41B51E85EBBF9F3141A055302A85AD1B411EF46CB6C19F3141203333F393AD1B4140C6DC15C49F3141A01A2F5DA1AD1B41B9627FF9C69F3141E0A7C60BADAD1B416A88634DCA9F3141701F63AEB6AD1B412F4CA6FACD9F3141F092A902BEAD1B41AE9DEFE7D19F3141308638D6C2AD1B4140AD69BEE39F3141F0D6A370D2AD1B41CD915CDE67A03141A0CB7FC8DBAD1B413C1CEBE26CA0314160371A40C4AB1B41611058D9C99F3141E047E17AB4AB1B41030000000200000000020F000000022800000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, 0xBD0B0000010C9241796CC49F31410DEEE1B9D6AC1B41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.380' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.380' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 6646964, NULL, 1, NULL, 0xBD0B000001040C000000CE915CFE3F1E3041F01B7C61210C2141B3FA5C8D271E3041C04B3749C60C21416EC5FEA2281E3041A89BC4A0C60C214110BE30B9291E304170B20CF1C60C21416A3BDFCF2A1E304180900F3AC70C2141905CFE43361E30412880B740CA0C2141D0AACFD5451E3041B8B88D86B50C2141C20E9C93481E3041B09387C5B00C21419A999919591E304130666626930C2141B1506BBA601E30410888F45B840C21419A6588036D1E3041A8946548340C2141CE915CFE3F1E3041F01B7C61210C214101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CE91D7664491E3041BE17E118710C2141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.393' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.393' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10448985, 4709941, 1, NULL, 0xBD0B000001040D000000365EBA49237D3241D84D625066682E411EB072A8207D324128DBF9BE05692E41A879C7894F7D324150499D802D692E41F9A067F3507D3241C0FD65B72E692E41C3F528FC507D3241E83311362C692E41789318E4527D32414060E5D07F682E4137894180517D3241C06E12C37E682E411D5A641B427D324178C2F5E874682E413E0AD783337D3241302FDD246C682E41B39DEFA7297D3241A047E17A67682E4186FD6587277D324180A9823167682E413B82E267257D32414844FACD66682E41365EBA49237D3241D84D625066682E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C9F9E36473A7D3241C4D7B942C6682E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.410' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.410' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 24235563, NULL, 1, NULL, 0xBD0B00000104090000004559863888B83241D0DCB584A4A21C41226C782A88B83241D0AD691E8DA21C41C5293A8287B832416064CCDD75A21C4106C58F4186B83241B0490C025FA21C413EFAED6B84B83241605EBAC948A21C417D2F4C0682B83241A0B20C7133A21C41306EA3C165B8324150703D0A5DA11C41FF770B0455B83241405986388EA11C414559863888B83241D0DCB584A4A21C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CB679F3736FB83241383FE8F4E9A11C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.420' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.420' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 5090172, 35720991, 1, NULL, 0xBD0B0000010405000000840D4FAFA92D2C41D4D781B310A130410AF241CFE62D2C414CF38E7327A13041704DF3CEEF2D2C412C2AA95321A13041DC6800AFB22D2C41B80E9C930AA13041840D4FAFA92D2C41D4D781B310A1304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C7C2D21BFCC2D2C410381950319A13041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.433' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.433' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977644, 29847931, 1, NULL, 0xBD0B0000010405000000B5C8767E367A2B417CF08529BD6431419E57CA72227A2B41D020B052BD643141DF61A156237A2B41E0AE2544D764314167E5D062377A2B4114A3921AD7643141B5C8767E367A2B417CF08529BD64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CE1AAA6EA2C7A2B41942BCA36CA643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.443' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.443' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13978047, 23696451, 1, NULL, 0xBD0B00000104050000004C840DCF7F792B4148B81EA57B643141BEDCB5C46B792B4130C4B1CE7B643141CA8173866C792B419CF8310693643141BB293A9280792B414CD191DC926431414C840DCF7F792B4148B81EA57B64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C94B11C2B76792B414F88C85587643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.453' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.453' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13769651, NULL, 1, NULL, 0xBD0B000001040600000040575B91C92B3341C0C117A653131C41D05D4B883B2C334140CD3B4E2D141C41E25817973E2C3341D0FFFFFF24131C4133C4B16EAC2B3341108F53F410131C4139674449BA2B3341E019515A36131C4140575B91C92B3341C0C117A653131C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C081FCA490B2C3341B71DE6A176131C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.463' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.463' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10545182, NULL, 1, NULL, 0xBD0B000001040500000073E7FBA9D16C3241C03FA4DFA1901D417D6ABCB4D06C3241E03923CA10911D4158EC2F3BE96C324150C2F52803911D41DAF0F40AEA6C324170559F2BA5901D4173E7FBA9D16C3241C03FA4DFA1901D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CABDB0813DD6C324133B5D1D1D6901D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.473' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.473' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977717, 23694471, 1, NULL, 0xBD0B00000104050000002BCD3BCEE4792B41CCD5560C92643141DF1B7CE1F8792B4180B740E291643141E5ACFA1CF8792B417C9ECDAA7A643141F9187317E4792B415CAA60D47A6431412BCD3BCEE4792B41CCD5560C9264314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CAEE00C79EE792B41ECD5C45C86643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.497' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.497' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13978071, 23695701, 1, NULL, 0xBD0B0000010405000000434772F9BB792B410CF016287B643141964160E5A7792B41384ED1517B64314192B0E1A9A8792B41A442AD8992643141F00DBEB0BC792B41701B0D6092643141434772F9BB792B410CF016287B64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C4E0E524EB2792B41D15CA2D786643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.503' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.503' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13601687, NULL, 1, NULL, 0xBD0B000001040500000099438B8CE98E324180D93DF9B0261D41F8065FB8EA8E3241D00B93292E261D41355EBAA9E08E3241305986B82C261D41D79AE67DDF8E3241F0263188AF261D4199438B8CE98E324180D93DF9B0261D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CE7D0221BE58E32415B19E2D86E261D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.513' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.513' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8803269, NULL, 1, NULL, 0xBD0B0000010405000000CE915CDEA48C3141708EE472424E1C4118D9CE77B98C314100F54A59364E1C41B7F3FD54BE8C314180D93DF9CB4D1C417C734634AA8C3141806DC5FECD4D1C41CE915CDEA48C3141708EE472424E1C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C28288590B18C314154BEE3BF044E1C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.523' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.523' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8803251, NULL, 1, NULL, 0xBD0B0000010405000000FB5C6D65C88C3141A0D85FF6CA4D1C41B7F3FD54BE8C314180D93DF9CB4D1C4118D9CE77B98C314100F54A59364E1C41287E8CF9C38C3141E0C876BE2A4E1C41FB5C6D65C88C3141A0D85FF6CA4D1C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CD19852F4C08C3141DFF67E06FE4D1C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.533' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.533' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 7482922, NULL, 1, NULL, 0xBD0B00000104050000008538D6454C7D3041A098BB16FB021D41124FAFD44B7D30418048BFFD46031D4176BE9FDA637D3041B0E8482EBF031D41E19C1185667D3041D01DA7687E031D418538D6454C7D3041A098BB16FB021D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C55DE74A1587D3041A1F0F0655F031D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.547' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.547' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 5090113, 35720441, 1, NULL, 0xBD0B00000104060000000FE9B7EFD62D2C4150F38E13F2A0304115FBCBEE132E2C414CBC74D308A13041A3D634EF1C2E2C4150EA04B402A13041624469EFF32D2C4164F38E73F3A03041DC6800EFDF2D2C41282AA9F3EBA030410FE9B7EFD62D2C4150F38E13F2A0304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C6417A3EEF92D2C413674FD65FAA03041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.557' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.557' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977911, 23708731, 1, NULL, 0xBD0B00000104050000008BA0F8F126772B41985CFEA3916431412F08AC5C26772B414847727980643141F616485012772B41D800DEA28064314152AF94E512772B41100DE0CD916431418BA0F8F126772B41985CFEA39164314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C18E414A11C772B417A0D8C2389643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.573' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.573' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 1887726, NULL, 1, NULL, 0xBD0B00000104110000001A3FC69C1D4B3141F020B072BED51C41BE0E9C93284B3141F0B7AF03A9D51C4176F2B0702A4B3141808026428BD41C41DB12F2C13B4B314130992A988FD41C41DD361A40394B31417096210E8BD41C419E1A2FFD364B3141002731C884D41C410868220C354B3141907EFBFA7CD41C418251497D334B314180D409E873D41C41122DB25D324B3141907571DB69D41C4137B4C8B6314B3141F00B93295FD41C41725F078E314B3141E09E3C2C54D41C412EA2B4D7ED4A3141D0C7983B4ED41C4176BE9F9AE94A3141401AC0DBCDD51C41684DF34EFD4A3141F0F44A59B5D51C414BEA04F4034B314150A1D634B7D51C41A513D0241B4B314160CCCCCCBDD51C411A3FC69C1D4B3141F020B072BED51C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C8043964A0B4B31410BBF7A8103D51C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.600' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.600' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 9680306, NULL, 1, NULL, 0xBD0B0000010405000000AB3E577B96A53241C0AACF556A871C418E06F0D696A53241002B871648871C414450FCF87DA532418099991903871C4184DB68407BA53241E054C12807881C41AB3E577B96A53241C0AACF556A871C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CB5032D4E86A53241531983C974871C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.617' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.617' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13667335, NULL, 1, NULL, 0xBD0B000001040B0000001DD26F3F86A9324140257502C7471D41F7285C8F86A9324100A392BA88471D4146E17AB486A93241907F48BF6C471D4134AB3E3787A932417080B7400A471D41FB97DDB388A9324140C6DC35F2451D41711B0DC055A932410048E1FAED451D41CEDEE04B54A9324180D7817301471D4148BF7DBD53A93241B0F085496F471D41D85F760F53A932419004C58FB0471D41BA627F397BA93241C06C567DC7471D411DD26F3F86A9324140257502C7471D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C954458306EA9324151EFAE71D7461D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.630' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.630' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8928436, NULL, 1, NULL, 0xBD0B0000010406000000FA31E6CE9963334140189554705C1C412385EBF1C463334160B3EAF3A95C1C41E5D9ACDACC63334100BF0E1C335C1C413A80B700A5633341207D3FB5D25B1C417468912D9B633341D06F5F075D5C1C41FA31E6CE9963334140189554705C1C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C698CA225B363334168FCCF53465C1C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.637' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.637' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 7013167, 164901, 1, NULL, 0xBD0B0000010405000000C88F31B7ECE4314170E7FBA9E77B19413E1CEB62A7E43141F0E2369AE07B19415C07CE99A3E4314180CE8852ED7C19419E23B9BCF5E4314190984C95E87B1941C88F31B7ECE4314170E7FBA9E77B194101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C644FD23DC0E43141F88BFED53C7C1941, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.647' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.647' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 7482931, NULL, 1, NULL, 0xBD0B000001040500000076BE9FDA637D3041B0E8482EBF031D41D98173C67A7D304140D122DB31041D414F499D40807D3041C02FBB27FF031D41E19C1185667D3041D01DA7687E031D4176BE9FDA637D3041B0E8482EBF031D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CC360B163717D3041C892E917DB031D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.657' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.657' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 4358988, NULL, 1, NULL, 0xBD0B0000010406000000262FDDE4F74D2F41C02B655989342F4174DE718A014F2F410032E6AE8A342F417B0D4FAF134F2F4150643B5F7C342F41FBA9F1123C4F2F41A813D0845C342F4104A16733A24E2F41306519E2FE332F41262FDDE4F74D2F41C02B655989342F4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CDB9C93A1A44E2F41418BC0D857342F41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.663' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.663' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13226304, 90073097, 1, NULL, 0xBD0B0000010409000000EE8E53F45B2E2C41183FC67C7CA13041AA7BF2B02B2E2C41CC293AD27CA13041BB86A797332E2C41549FABED7DA13041131DC9A53B2E2C41648FC2B57EA13041569FABCD432E2C4108BE30297FA1304168006F014C2E2C41F0012B477FA130417F26C2C6562E2C411C6A4D337FA130416E787A25582E2C4104917E7B7EA13041EE8E53F45B2E2C41183FC67C7CA1304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C88BBAC31472E2C41E1551DC47DA13041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.673' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.673' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977814, 23695091, 1, NULL, 0xBD0B0000010405000000DAF21F12497A2B417019E238916431410861C353487A2B41FC497B037A6431416C6FF045347A2B41184D842D7A6431417D38D605357A2B41D8F7536391643141DAF21F12497A2B417019E2389164314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CB88161AC3E7A2B415BE227B385643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.683' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.683' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 3592723, NULL, 1, NULL, 0xBD0B0000010405000000E0C798DBCABC3341D07493184D7F1C4154302AA9FFBC3341908EE472527F1C41874160A500BD33410014D0C4037F1C418104C5EFCBBC3341A09F1AAFF67E1C41E0C798DBCABC3341D07493184D7F1C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CE46B105DE5BC33418EE9526D267F1C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.693' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.693' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 5090091, NULL, 1, NULL, 0xBD0B0000010405000000E06800EF252E2C41EC60C393FCA0304133BB270F2F2E2C41C40E9C73F6A030418616D90E062E2C41E8D78133E7A03041A1D634EFFC2D2C41382AA953EDA03041E06800EF252E2C41EC60C393FCA0304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C369420FF152E2C41D011A8E3F1A03041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.703' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.703' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977946, 23709061, 1, NULL, 0xBD0B00000104050000000BA5BD8162772B41805149FD7F64314141C6DC754E772B41B8EFA72680643141DB141D094F772B41D044D850916431413CE17A1463772B41BCAF0327916431410BA5BD8162772B41805149FD7F64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CF5B540C558772B41F153EAA688643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.717' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.717' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10002332, NULL, 1, NULL, 0xBD0B0000010405000000674DF36EEFBA3241708104C58B4C1D41E24603B808BB32411071AC0B814C1D418EC2F5E809BB324100FDF675144C1D41EF0DBEB0F0BA324130DF4F0D104C1D41674DF36EEFBA3241708104C58B4C1D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CBF8C056AFCBA3241BD0792544C4C1D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.727' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.727' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 9615601, 90000496, 1, NULL, 0xBD0B0000010405000000ED38458778A53241E0EA73350B891C4177A52C8375A5324170BDC1172B8A1C41C6E53F2490A5324120C807BD8E891C41AB9BC4E090A53241401361C34E891C41ED38458778A53241E0EA73350B891C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CECBC5F0F81A53241EEB1B69989891C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.737' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.737' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10408517, NULL, 1, NULL, 0xBD0B000001040600000066AA60940958354130B5A679C5181F41F86C56DD1658354190A8A4CE53181F410A2428FEE357354120EE5AC29A181F415FDC46A3E057354160C3D32BBA181F419A658803E657354100E6AE25F3181F4166AA60940958354130B5A679C5181F4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CA7F193F4F9573541F0C3AFD3A7181F41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.747' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.747' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 6938167, NULL, 1, NULL, 0xBD0B00000104040000000AC7BAB809002F4160621018CE442F4102CCEE8966002F4188635D5CE1442F41CE22DB7923002F4190D100DEAC442F410AC7BAB809002F4160621018CE442F4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C49E7D63E31002F41D387CF70C9442F41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.757' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.757' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14073854, NULL, 1, NULL, 0xBD0B0000010422000000CC6F5FA73B2A3441609FABAD9C091E414EAF94853B2A34417006F01688091E41396744893B2A3441501D38675B091E411E85EB313B2A3441D0D100DE45091E411E63EE1A3B2A3441C0E3A59B2E091E41E2BE0E9C3A2A3441F004349114091E41EC1FD2EF3A2A3441400E2D32FF081E41394ED1113B2A344160B6F3FDE7081E417EE2C7D83A2A3441A0E53F24BC081E411461C3F33A2A344110EBE2B6A6081E414EA60A663B2A3441F0012B077B081E414FFC18F33B2A3441307DAEB665081E418A16D92E3D2A344180559FAB4F081E41D22B65B9402A3441A0DD938726081E41F263CCDD442A3441F024060102081E41E8B7AF634C2A344110AAF152CD071E417E613255552A3441202EFFA193071E41721283E0572A3441F0A067B37F071E41AB13D0645A2A34418095438B6D071E41E39387C55E2A3441F031E62E48071E41C439236A632A344120EA043420071E419C218E95672A3441D08AFDE5F9061E419E33A254682A3441F0F97E6AE6061E4124B072A8682A34410071AC0BD1061E41D3BCE354682A344180BFEC9EBA061E41E6482E1F682A3441A020B07295061E4182AEB6425A2A3441C003568E92061E415917B7510A2A3441D0F675E081061E41F141CFE6002A3441C06722ECDF081E41C4BAB8EDFD29344180711B8D9F091E41890D4F4F3F2A344130583934380A1E417ABE9F9A3D2A3441A0855A53F8091E4154D3BCE33B2A3441900AD7A3C7091E41CC6F5FA73B2A3441609FABAD9C091E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CADD64B91292A3441EE0A4CB810081E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.770' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.770' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 1623699, NULL, 1, NULL, 0xBD0B000001042A000000BB490CC2C10B3241601283C0E03D174196B20C31BF0B324120151DC9B83D1741828CB94BAE0B32412093A902B03C1741881F63EEAB0B3241804772F9893C17411D386784A90B3241E07936AB623C1741C15B2041A70B32415088635D3D3C1741A35E290BA50B32418092CBFF173C17418CA982D19D0B324110E02D909B3B174127A913F09B0B32419067B36A7A3B1741E851B8DE990B324170E2C718563B1741E8D9AC3A960B32414054E325163B1741802F4CC6940B3241C0749398FC3A17411FA7E868920B3241504DF30ED33A174101E78CA88D0B3241002C65997F3A1741C798BB968A0B3241E031E6AE493A174125F6979D870B3241C08FC275153A1741905374A4840B3241705AD33CE1391741F0B050AB810B324170B8AF03AD39174155A835ED7E0B3241803D0AD77C39174182D93D797B0B3241803255304039174195900FDA610B3241201895D464391741CE5D4BC8750B324130D3BC63CB3A1741EF85C9D4790B32410051DA9B123B1741088A1FE3820B3241C0AF03E7B13B17418E976E32860B324100FF213DEB3B1741CD88D28E890B324130CB1087243C17410FD044F88C0B3241D0A59BC45D3C1741F1F44AF9900B3241F0718A4E9F3C1741679A770C950B3241808173C6E03C1741CC32C431990B3241F09E3C2C223D1741BE0512149C0B32415095430B4F3D1741E3B584BCA10B3241C0726811A73D17410266F764A70B3241A0BDC117FF3D1741A0EFA7E6B20B32410051DA1BB23E17419106F096B50B3241304469EFDB3E17418638D6C5B50B3241F0A9F152DD3E174194ED7CFFBA0B324140AF94652D3F1741F9065F58C10B3241300C02AB8E3F174191180416DB0B324190B5157B6A3F17416E1B0DE0C60B3241F056ECAF303E1741EE164850C40B32418035CDBB083E1741BB490CC2C10B3241601283C0E03D174101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C48D636FA9C0B3241C38D9866693C1741, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.780' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.780' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 11097655, NULL, 1, NULL, 0xBD0B0000010405000000C54B376951663541E8FDD4781AAE2341BEF528FC5C66354158AF94E529AE23414BD8F0345E663541701D38A700AE234118E258D75266354168BC749306AE2341C54B376951663541E8FDD4781AAE234101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C3855D880586635413066E16A13AE2341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.790' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.790' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 12917389, 30293041, 1, NULL, 0xBD0B0000010409000000CCCCCC0CA9E026418C8CB98B2D9E3241B24082E2A0E02641805452C72D9E3241AE15FB0B70E0264184559F2B2F9E3241C556ECAF72E02641E43FA49F319E32419E15FB8B77E02641D8F75323369E3241A97268D17DE0264134B4C8F63B9E3241EA75E01C7EE02641D0ACFA3C3C9E3241A45E298BA3E02641E07A146E2F9E3241CCCCCC0CA9E026418C8CB98B2D9E324101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C669D8ABC87E0264183131CFC329E3241, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.800' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.800' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 11157674, NULL, 1, NULL, 0xBD0B000001040800000077E09C51A3AE3241304CA60A826F1C41B0506BFA9EAE3241B03A014D7C6F1C4182FB3A7086AE32411067D567EF6F1C4188635D1C79AE324160E09C11C06F1C41546210D863AE324120C7BAB81F701C41DE02096A76AE324170F4DB5755701C414F27A0A989AE324100651962FA6F1C4177E09C51A3AE3241304CA60A826F1C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C4CDCBFBB7CAE3241DBCDEC35FC6F1C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.810' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.810' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14073871, NULL, 1, NULL, 0xBD0B000001042600000051FC1893C12934410076E09C600E1E417C26C206C729344100492EFF690E1E41CA20B052CC29344120D26FDF6E0E1E41C0529641D129344140F1634C6E0E1E416CF08569D6293441108273C66D0E1E413992CBFFDA2934418054C128750E1E4190976E52DF2934417054C1287F0E1E41C4051254E5293441A0DD9387810E1E41B86B09D9EA29344160218E75860E1E41FE907E9BEB29344190D044D8870E1E414F499D20F0293441007A362B1B0E1E41FEB27B3281293441A06ABCF4CF0C1E41484772397B2934412076E01C530E1E414EF38E337C2934416064CC5D510E1E4159B1BF2C8129344190081B1E4E0E1E41D1B3593587293441C07C3FB54E0E1E41F8285C8F8C29344160B81E05500E1E4120DBF99E9129344170A301BC550E1E41EAB7AF239629344160E09C91610E1E41D05D4B689A29344130C0CA216F0E1E41C3CAA1459F293441C0490C02730E1E416DAC8B3BA4293441C02F4CA6700E1E4114143F06A929344100560EAD6A0E1E41AF7268F1AD2934419023B9FC6A0E1E4189635DFCB2293441F039234A630E1E41250F0B95B729344180B5157B5B0E1E41885AD3FCBC293441205A643B590E1E4151FC1893C12934410076E09C600E1E414A477219F7293441C0DF2D903E0C1E41DF4F8D77FE29344160D6C5ED460A1E411071AC7BEC293441F0277E0C170A1E41EE41CF46DA293441A0029A88E8091E41324CA6DAC7293441709D8066BB091E41F2FDD438B5293441605530AA8F091E41AA4E40538F293441601361433C091E41224A7B238B293441D02AF6974B0A1E4180E2C778B129344120ADFA5C690B1E414A477219F7293441C0DF2D903E0C1E41020000000200000000021C00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, 0xBD0B0000010C15C09CCBBD293441E8C343C8CA0B1E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.860' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.860' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14666405, NULL, 1, NULL, 0xBD0B0000010408000000806ABC94E44E3441108C4A6A8F2F1E4160C3D34BF04E3441E02CB29DB32F1E41857CD0D3244F344160734694B22F1E415F5DDC26434F344130F38E53B4301E41E8D9ACFA914F3441E0BCE39498311E41628FC2759D4F3441907A142EC2311E4169AA6014A54F344100197357BF2F1E41806ABC94E44E3441108C4A6A8F2F1E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C525D32B26C4F3441C23127DB66301E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.870' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.870' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13601113, NULL, 1, NULL, 0xBD0B00000104050000001271ACCBC68E324160643BDFED281D41DFC798DBD08E32413033A234EF281D419DCDAAEFD18E3241C08D06F06C281D41CB76BEDFC78E324110BE9F9A6B281D411271ACCBC68E324160643BDFED281D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C559FAB5DCC8E3241D0F8A067AD281D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.880' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.880' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 11325976, NULL, 1, NULL, 0xBD0B000001040500000049C807FDB3B132412004560E57811C41F3164850B8B13241B04F1E1651811C41FC4A5906D2B13241C0361A40EA801C41285C8FA2A4B1324150F08549E2801C4149C807FDB3B132412004560E57811C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C51986B3BB9B13241360CE9D40D811C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.890' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.890' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8913595, 90053152, 1, NULL, 0xBD0B000001041200000073D7129263A53441C0073D5BDEA1274153B81E8568A53441606210D8CFA127415AB1BF0C68A53441F80AB5A6CEA127410924281E52A5344170832F8CBEA12741628FC2B52DA53441E86A2BB685A127419CB437981DA53441E0BDC1975FA12741024D840D1CA53441708026823EA127416DF90F891BA53441F0C48FB136A127411271AC4B1BA53441D88C28ED33A12741E24F8D9710A5344160CA32C456A1274188855A9312A53441F82A871678A12741492EFFA118A5344110728ACEDDA127412EA2B45738A53441D054C1A800A22741AC9BC44042A5344150A8358D0BA2274122B072484FA53441C0088ADF19A2274144A4DF1E5BA5344190D32B25F7A127414C72F9CF62A53441E873B595E0A1274173D7129263A53441C0073D5BDEA1274101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C6B85903335A53441152EF9C0BEA12741, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.900' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.900' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10459235, 17743311, 1, NULL, 0xBD0B000001040500000081C0CA01A2823241B01C5A64544A2E4137674429A0823241803BDF8FAC4A2E41CC20B0D2AA82324130B4C876AD4A2E412D90A078AC823241B047E1BA5E4A2E4181C0CA01A2823241B01C5A64544A2E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C99081D44A6823241B623ED3B834A2E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.910' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.910' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 5090156, 35720731, 1, NULL, 0xBD0B00000104050000007D16D9CEC42D2C41CC172653FEA0304132BB27CFBB2D2C4170BC747304A130410CF241CFF82D2C41286A4D331BA130415A4469EF012E2C41CC0E9C1315A130417D16D9CEC42D2C41CC172653FEA0304101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CD20995DDDE2D2C4137717DC50CA13041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.920' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.920' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8446032, NULL, 1, NULL, 0xBD0B000001040500000028B9FCC7DD522B413808AC9C5C5123412331086CBF522B416058A8B55D512341277502DAC1522B41B8EEC983A05123417F58A835E0522B41709CA2639F51234128B9FCC7DD522B413808AC9C5C51234101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C0D54A6D0CF522B416398708E7E512341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.940' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.940' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13602055, NULL, 1, NULL, 0xBD0B000001040500000012363CBDCC8E324140280F8B14261D4156A835CDD68E32418012834016261D415F7FD93DD88E324160E4F29F8E251D411B0DE02DCE8E3241E0F97EEA8C251D4112363CBDCC8E324140280F8B14261D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CB8DA8A7DD28E32413F068195D1251D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.950' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.950' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 5727022, NULL, 1, NULL, 0xBD0B000001040B0000000BAC1C7A37363241405839346CCD1741183FC63C3736324150C807BD72CD1741D712F2013736324130CB104779CD1741E00B93C936363241C06054D27FCD1741FA31E60E383632417026538582CD17419BE61DC743363241605BB13F2ACD174136EF38C5493632417051491DFDCC17416ADE71EA3D36324160984C15E4CC1741BE86A7773B3632415010583911CD1741590E2D5239363241E0BE0E9C3ECD17410BAC1C7A37363241405839346CCD174101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CEF3C801A3F36324181F696F925CD1741, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.960' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.960' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 12909581, 1050581, 1, NULL, 0xBD0B0000010409000000A6A2233946E12641D82406A1BE9E3241366EA3C147E126411C3FC6ACC09E32419531770D49E12641641CEBC2C29E324169AC8B1B4AE12641DCFBA9E1C49E3241480C02EB4AE12641EC384507C79E324101E02D507DE12641C08D06F0B59E3241FCA9F11272E126410461C393AD9E324114F9A02744E12641A0EFA726BD9E3241A6A2233946E12641D82406A1BE9E324101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C83D9DE0360E12641E059CCE3B99E3241, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.973' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.973' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14009722, 914221, 1, NULL, 0xBD0B000001040500000089E4F21F87702B41D866D567D86431418BF6069F6B702B41E46A2B96D964314125A7E8C86B702B4170A3011CEA643141FACD1991A6702B41D85F768FE964314189E4F21F87702B41D866D567D864314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C8737267582702B416C9BCB63E2643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.983' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.983' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14612381, 11706311, 1, NULL, 0xBD0B000001041D000000CEDEE0EB142D3441C0C3424DBFE43341371AC07B1C2D34418C5AD3DCC1E433416D1B0D00242D34410C7C6192C4E43341E9D9AC7A2B2D3441684BC867C7E43341EE3845E7322D3441F8088A5FCAE4334166F7E4413A2D3441DCC7987BCDE43341CA6D3480412D3441B069DED1D0E433416C44698F482D3441CC5F768FD4E4334100DE02894F2D3441CCF5287CD8E43341A679C789562D34418C348057DCE4334107C58F915D2D3441348A1F23E0E43341E2460398642D344174E09CF1E3E433414750FC986B2D3441D40B93C9E7E4334147E17A94722D34417C7AA5ACEBE43341B4FC8754762D34418C635DBCEDE433412A287E8C7B2D3441A479C7C9A8E433417F613255BF2C3441C0BAB8AD9AE43341C720B032C42C34413CA4DF7E9DE433417D51493DCB2C344104F01648A1E43341E2581757D22C3441648FC2F5A4E433418E31776DD92C34415C39B4A8A8E43341CE88D27EE02C344150840D6FACE4334142355E9AE72C344198FF901EB0E43341FA285CCFEE2C3441C8BAB88DB3E4334137D6C52DF62C3441C84D6290B6E43341B8490CC2FD2C3441DC809503B9E4334106B5A679052D3441186C781ABBE43341CA073D3B0D2D34410088F41BBDE43341CEDEE0EB142D3441C0C3424DBFE4334101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C29AA0C1E392D34413C35A39EB9E43341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:17.993' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:17.993' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 1622579, NULL, 1, NULL, 0xBD0B0000010405000000E8F21F12C1B13241309D80A6BA811C41BE0E9CF3C7B1324170545227EE811C41BD529661E0B13241005917B7A8811C41D0BCE354C1B1324120A91350A3811C41E8F21F12C1B13241309D80A6BA811C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C704C8526CDB13241BA25AB7BBE811C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.003' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.003' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13978021, 23696291, 1, NULL, 0xBD0B0000010405000000CF22DBB957792B417CE2C7F87B643141891F63AE43792B41482EFF217C643141A5E8486E44792B412C7E8C599364314193900F7A58792B41D85F762F93643141CF22DBB957792B417CE2C7F87B64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CC3F715144E792B4148E5FAA887643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.013' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.013' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 2734079, NULL, 1, NULL, 0xBD0B00000104080000000F7A36AB7E6C314130FBCBEEC7B61C4123166A0DA76C314150FE43FA16B61C41AF8BDBA89D6C3141E0938705F3B51C410F7A36AB7E6C314130FBCBEEC7B61C41472EFF618C6C314100D49A66AAB51C41801D38A7616C3141A02D90A03AB61C413208AC3C6F6C314100C58FB17CB61C41472EFF618C6C314100D49A66AAB51C41020000000200000000020400000003000000FFFFFFFF0000000006000000000000000003000000000100000003, 0xBD0B0000010C3C93F2D8816C31414A2038532FB61C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.023' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.023' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 2113716, NULL, 1, NULL, 0xBD0B00000104050000006A2BF6373FFA324190E5D0A261721C410D363CFD37FA3241A0A52C4369751C415BEC2F5B6AFA3241209A089B71751C41B369DE9171FA324100A4DF3E6A721C416A2BF6373FFA324190E5D0A261721C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C007E26C854FA32412AD047B4E9731C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.033' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.033' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977881, 23694631, 1, NULL, 0xBD0B000001040500000030992A98AC7A2B41C832C431796431418404C54FAD7A2B415C0B24689064314126068155C17A2B410424283E90643141426744A9C07A2B41540B24087964314130992A98AC7A2B41C832C4317964314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C8B8E9CF9B67A2B413FB6F4B684643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.053' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.053' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10319581, 4449381, 1, NULL, 0xBD0B0000010405000000E3A59B84B17932417095430BA3642E41288716F98D79324118355EFA9F642E41DC78E9A68D793241B8096822AF642E41580E2D32B17932418820B032B2642E41E3A59B84B17932417095430BA3642E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C21A594959F793241E27EA916A9642E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.063' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.063' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10449183, 17746201, 1, NULL, 0xBD0B000001040500000012022B47CD8232412031082C524A2E41A41A2F7DCE82324198EFA746184A2E412F333353C382324158E17A54174A2E415A0E2D52C282324138BE3059474A2E4112022B47CD8232412031082C524A2E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CC8DC7186C8823241148B765F324A2E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.070' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.070' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10459286, 17743151, 1, NULL, 0xBD0B0000010405000000F9285CEFB68232412885EB11694A2E41C0F5287CB5823241983F355EAE4A2E418A416025C0823241E8CAA145AF4A2E4133DD2466C182324190C2F568734A2E41F9285CEFB68232412885EB11694A2E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CDE82D65CBB823241AC6518768E4A2E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.083' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.083' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 9679391, 90000497, 1, NULL, 0xBD0B0000010408000000ECF44A197FA5324100948705A5861C419E3C2C1488A5324150C3D3ABBE861C41DA56EC0F8BA5324110A5BDC1AD861C415417B7D1A7A53241300F0BB50A861C41AE47E1BAA2A5324100B8AF83FC851C417758A8D58DA53241C011A53DC2851C4128E483BE81A5324140F8C2E4A0851C41ECF44A197FA5324100948705A5861C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C54F2DCF68DA5324138A68E272D861C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.113' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.113' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977695, 29851651, 1, NULL, 0xBD0B00000104050000001524283EFB792B419006F096D76431412395D4490F7A2B4144D6C56DD76431415E5452670E7A2B414048507CBD6431410FAC1C5AFA792B41D09C11A5BD6431411524283EFB792B419006F096D764314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C888A52D2047A2B415AFD5B89CA643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.123' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.123' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977784, 23694891, 1, NULL, 0xBD0B0000010405000000A0A22339207A2B41547424577A6431417D9ECD2A0C7A2B41AC9BC4807A643141ABFA5CED0C7A2B4128D9CEB791643141474772F9207A2B41E0FA5C8D91643141A0A22339207A2B41547424577A64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C3DE89E92167A2B4162620E0786643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.157' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.157' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13769626, NULL, 1, NULL, 0xBD0B00000104070000004FAF94C5D42C3341308B6C6737131C41E25817973E2C3341D0FFFFFF24131C41D05D4B883B2C334140CD3B4E2D141C41F575E0BC502C3341F08AFD654A141C4114E258977F2C3341F0F1D24D3A141C41B71E85CBD32C3341A08D06F0A1131C414FAF94C5D42C3341308B6C6737131C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CEDB1F4377E2C3341898CA4BFA6131C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.167' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.167' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 12572047, 13416031, 1, NULL, 0xBD0B0000010405000000704F1ED6FF1F2241C06B09B9CAF92D415A711B8DE11F2241008A1F23CDF92D410266F7A4E71F2241685BB13F19FA2D41C8B12EEE05202241802BF6D716FA2D41704F1ED6FF1F2241C06B09B9CAF92D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C8108ACBDF31F22415965F3FCF1F92D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.177' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.177' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 9148043, NULL, 1, NULL, 0xBD0B0000010405000000AD7268518D8B3141F0C8E5BFAC631C417A14AE87988B3141D0F1D2CD88631C4197D409E8878B3141B069DE7163631C4173AC8BBB878B3141D0B9DA8AAC631C41AD7268518D8B3141F0C8E5BFAC631C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CA00B95A58D8B3141C8E934BF8B631C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.193' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.193' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 12877425, NULL, 1, NULL, 0xBD0B000001040C0000002FBB27EF9A2B3341E081E2C7C3911C41CF22DB99992B334120423EE81A921C41F13845E7AB2B3341C02A181521921C41DA56EC4FB22B334150C0CAA1A4911C41CEB35915AF2B3341E0240601A2911C41AD506BDAAB2B334130D49A669F911C41E7482E9FA82B3341B06054D29C911C41EAB7AF63A52B3341303867449A911C41CC66D527A22B3341805AD3BC97911C410E71ACEB9E2B3341F0C7983B95911C419ED634AF9B2B3341801283C092911C412FBB27EF9A2B3341E081E2C7C3911C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C6ED5DAD6A42B334125CE4045DA911C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.203' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.203' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 17533538, NULL, 1, NULL, 0xBD0B0000010405000000D3CCCC0CF9583341605839B496B01B418E976E1217593341707CD0B394B01B414F401341175933416009F9A04BB01B41B169DE51FD583341201AC05B4DB01B41D3CCCC0CF9583341605839B496B01B4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C4C509C250959334163B15EFD71B01B41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.210' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.210' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 9038884, NULL, 1, NULL, 0xBD0B000001040500000062105819AFBC324160D5E7EA42C41C41BF5B2001C3BC3241B0FA5C6D5BC41C413108AC1CC4BC3241F0CC5D4BF1C31C41B8D100FEAFBC3241F0D409E8EDC31C4162105819AFBC324160D5E7EA42C41C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C17BA9CEBB9BC32415E5E58A51FC41C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.220' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.220' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8387052, NULL, 1, NULL, 0xBD0B0000010405000000C97F487F2A963041A0711B0D760A1D41ABADD8BF2E963041C0CCCC4CED0A1D41036F81442F963041F0F21F52760A1D4183D0B3392F96304180CE8852760A1D41C97F487F2A963041A0711B0D760A1D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C04DB35812D96304179C359E49D0A1D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.230' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.230' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13998013, 23688511, 1, NULL, 0xBD0B0000010405000000B415FBCB5A792B410CAE47E1D86431412D1AC0DB6E792B41586B9AB7D8643141164850FC6D792B41A813D0C4BE643141C69F1AEF59792B41F43A70EEBE643141B415FBCB5A792B410CAE47E1D864314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CAB62CB6464792B415C4A4FD3CB643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.240' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.240' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 6311237, NULL, 1, NULL, 0xBD0B00000104050000001C95D469BC5F3141B0C876BED4D31C4100BC0552BC5F3141E046037862D41C419C923AE1D95F314130A7E8C862D41C411ED26FFFD95F314180635DDCAED31C411C95D469BC5F3141B0C876BED4D31C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CDE5BF9BCCB5F314180FCC3D711D41C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.250' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.250' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 3000991, NULL, 1, NULL, 0xBD0B0000010408000000B78D06F03BA5324190832FCC9EA31C413545477239A53241206744E979A31C41C0D32BA530A53241B0D16F5F5EA31C41058195A318A53241A0BFEC1EC5A31C41D83D79F804A5324120029A081FA41C4196BB96F012A532412041F16352A41C41F0EBC07917A532417025E4833DA41C41B78D06F03BA5324190832FCC9EA31C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C58318F9021A53241BEC5EB25D8A31C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.263' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.263' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 18550061, NULL, 1, NULL, 0xBD0B0000010411000000E4718A8EE1DA3141F060C3D35CF01841F31648D0C4DA314130ED0DBE41F01841BC7D1D58ADDA31413083C0CA2DF0184117FBCB9EADDA3141B0B437B83BF0184157423ED8ADDA3141E00B93A949F0184192537404AEDA3141B09AE69D57F0184140136123AEDA3141B0E17A9465F01841D434EFB8ADDA3141E0D781B391F018410DD044C8ACDA314100C58FB1BDF0184169F7E451ABDA314150D8F074E9F01841A3EFA756A9DA3141105374E414F11841A4BDC1D7A6DA3141D041CFE63FF118416E4694D6A3DA3141008A1F636AF11841829ECD0ADEDA314180DD2486B2F01841FAC264CAEEDA3141101B2F5D79F0184156204171E8DA3141B04E401363F01841E4718A8EE1DA3141F060C3D35CF0184101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C01B122E9C2DA31419D854DC5AAF01841, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.273' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.273' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8394962, NULL, 1, NULL, 0xBD0B000001040A000000C676BE5F3F833041902A189550FE1C41770B24A84083304120ED0D3E54FE1C418051497D6483304150EEC9C352FE1C41CC4B37A97B833041700F7A36D1FD1C419118043674833041706B9AF7BBFD1C4176A52C83A1833041E0E848AEBEFC1C41884160659283304190F1D24DBFFC1C416C8104456A833041D09C11A59FFD1C418CA0F8D16283304140D49A668AFD1C41C676BE5F3F833041902A189550FE1C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CD6B232FD6C833041ABD68DE6B5FD1C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.283' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.283' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 7319142, NULL, 1, NULL, 0xBD0B00000104060000005FFE435AF5803641504013A1DD1F214101BC0592EF803641D0D5566CDA1F2141499D80469D803641903D0AD7AC1F2141B17BF270968036413063EE1AE21F2141B203E74CEC803641D06800EF172021415FFE435AF5803641504013A1DD1F214101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CF220361DC6803641E8815580E11F2141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.293' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.293' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977610, 29843971, 1, NULL, 0xBD0B0000010405000000D00968A2727A2B4168A835ADBC643141FF2A87965E7A2B413CB4C8D6BC64314143355E7A5F7A2B41604BC8C7D6643141BEB88D86737A2B417C3F359ED6643141D00968A2727A2B4168A835ADBC64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CB61D770E697A2B41357487BAC9643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.303' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.303' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10497986, NULL, 1, NULL, 0xBD0B0000010430000000C6DCB58406DA3341545DDCE6205932416891EDDC96DB334168B3EAD33B593241C532C4F1ADDB33411044FAADE45732416F3D0A77B6DB3341D447E1DA65573241A289B0C1C3DB3341C44B3709A0563241E4361AA0C5DB33417CFD6537845632417D3F35DE7BDB3341101748D044573241E93FA41F7ADB3341DC53E3054A57324198559F4B78DB3341B057CA324F573241DC12F26176DB3341E485C95454573241A89BC46074DB3341B87BF270595732414E1E164A72DB3341BC25E4835E5732419F23B91C70DB334138F1638C63573241277502DA6DDB33416C832F8C68573241472EFF816BDB33413892CB7F6D573241F28E531469DB334158B1BF6C72573241C317269366DB3341E0D478497757324173C729FA63DB3341C0ADD81F7C5732415AB1BF4C61DB334104F016E88057324176711B8D5EDB334158A60AA6855732419206F0B65BDB334198BDC1578A573241AFFA5CCD58DB3341E83FA4FF8E57324194C420D055DB3341340681959357324158643BBF52DB33412492CB1F985732417ED93D994FDB3341245A649B9C5732411DC9E55F4CDB334178CC5D0BA1573241DBC56D1449DB3341904C156CA557324142BD52B645DB3341589A77BCA957324138F8C24442DB3341E43FA4FFAD573241336EA3C13EDB3341F885C934B2573241BA1E852B3BDB334180E2C758B65732413CEF388537DB3341E48C286DBA5732415ECC5DCB33DB3341F4FBA971BE5732414D40130130DB3341D00A4665C257324130D49A262CDB33414827A049C6573241009A083B28DB3341C4EC9E1CCA5732413FAD693E24DB3341903F35DECD573241FBBB053220DB334180B1BF8CD15732410D3411161CDB3341B402092AD557324132431CEB17DB33411CF46CB6D857324184E2C71815DB3341702F4C06DB573241A589B04112DB334188A44E50DD573241F653E3650FDB3341D0C56D94DF573241B6F3FD5494DA3341A09CA263695832416D12838071DA3341A4438B8C80583241F13845E73CDA3341DCF75383A35832414CC807FDDCD93341C4CEF7131E593241C6DCB58406DA3341545DDCE62059324101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C92AD90E614DB3341B989504B6F583241, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.313' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.313' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 16861825, NULL, 1, NULL, 0xBD0B000001040500000054F38E93FAA03841B00968A215D81D41CC4D62B009A1384160F54AD996D51D4160CC5D0BA6A03841D060545244D61D419C438B8CEA9F384190DFBE0E8BD71D4154F38E93FAA03841B00968A215D81D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CB33AD8EEA4A038414CB93A7C12D71D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.323' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.323' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13862782, NULL, 1, NULL, 0xBD0B00000104090000009C2A1835F527334130C9E53F90901C4179C7299A14283341E0BFEC1EA5901C4123B0720818283341F096908F998F1C41EA95B2CC0928334130A1D6349B8F1C411F41F193FB273341F0CBEE099E8F1C41C576BE5FED27334100728A0EA28F1C415617B731DF273341A0802642A78F1C417F613215DD27334120FE43FA57901C419C2A1835F527334130C9E53F90901C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CD76B67EDFB2733413D95614B15901C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.333' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.333' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 6257232, NULL, 1, NULL, 0xBD0B0000010405000000172FDD64108D3141F0830DCF5FA41B419006F0F62C8D3141C08A8E645EA41B41EEB0506BEB8C3141800B242866A31B417ED93DD9CE8C31413005A39267A31B41172FDD64108D3141F0830DCF5FA41B4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C01F016E8FD8C3141C6C798FBE2A31B41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.343' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.343' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13785648, NULL, 1, NULL, 0xBD0B00000104050000007F51491DD76A3341C03E57DBC9D41B41AE59F559C56A334140FBCBEE40D41B411B48507CC26A3341A03FA45FDDD41B4157643BFFBF6A33417011363C65D51B417F51491DD76A3341C03E57DBC9D41B4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C5DCCD07CC96A3341B12E2002D0D41B41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.353' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.353' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10318810, 8024161, 1, NULL, 0xBD0B00000104EB020000A6BDC1F78FF8344174AA60344B56324147EA043497F83441348716F94E563241676FF0059EF83441D04F8D174C56324159302A49A4F8344184F08549465632415A204131A9F83441541058D93F563241428B6C67ACF834417C2F4C6638563241C8DCB524ADF83441A006F09630563241BADA8ABDACF834412CDD2486285632417E48BFDDABF83441484CA66A205632417CC0CA01ABF83441B4DFBE6E185632414EFC18F3A9F83441682BF6771056324152742497A8F8344104FBCB8E085632416F4694D6A6F83441CC6D34C000563241A5CFD596A4F83441E8FBA911F95532417C7AA50CA2F83441E485C974F1553241DE4603389FF83441889318E4E85532415D764FBE9EF83441F04F8DD7DB5532416A09F9A09EF8344124A7E8C8CE553241000000E09EF834415CF5B9BAC1553241215A647B9FF83441B89690AFB455324116B7D1C09FF83441A0F4DBB7B15532418E180426A0F83441A445B6C3AE5532410D83C0AAA0F8344150E17AD4AB5532418916D94EA1F83441440378EBA855324111583954A2F83441887AA59CA65532411E63EE6AA3F83441141DC955A45532413A3CBD92A4F83441488B6C17A25532415CCC5DCBA5F83441D4490CE29F553241B069DED1A7F8344100EBE2A69A55324150AF94A5A9F83441C8A22359955532418738D645ABF834410C83C0FA8F5532416ED712B2ACF83441649FAB8D8A5532416ABC7473ADF83441A06E1243865532417E613295ADF8344110F016E8815532412DD49A16ADF83441907CD0937D553241178C4AFAABF83441E48C285D795532412EDD2446AAF834411C6C785A7555324188F4DB97A6F83441DC0434C16E553241DDC7986BA2F83441AC33A2746855324197DD93C79DF834416096217E62553241C720B0B298F8344134D49AE65C553241B51E85AB85F834418048BF3D485532414E499D0080F83441F00FE9E7415532411E6C787A7AF834412485EB713B5532415E07CE1975F83441C0EC9EDC34553241C67F48DF6FF83441AC8BDB282E553241A43E57AB6DF834410C295C6F2B553241B696905F6BF834415807CEC928553241767AA5FC68F834417CF90F3926553241D0F7538366F83441D49AE6BD235532417E48BF4D62F83441CC6F5F771F553241334547725EF834412832E6DE1A5532414C7424F75AF834419C6CE7FB1555324161F7E4E157F83441848638D6105532419D45B65355F8344110F9A0870C5532410A2428FE52F834416410581908553241A657CAE250F83441045B428E03553241B837F8024FF83441009E5EE9FE5432418A7CD0D34DF83441A0923A01FB543241A067B30A38F83441BC172613FD553241A1A2233937F8344120B9FCC706563241A56054D23DF83441E4141DA90B563241073D9B3544F8344138C6DC7510563241828CB98B4AF834417458A85515563241F8A9F1D250F834414839B4481A5632419D45B6F356F83441AC8251691F563241495986D85CF8344148E17AD424563241A223B9BC62F8344194DB68402A563241DF0209EA68F83441385EBA492F56324106F9A0A76FF834415C05A39233563241E9AE258476F83441FCB27BB237563241C74B37C97CF8344114363C9D3C563241FA97DDB382F83441A49BC400425632418241602589F8344144E483BE46563241A6BDC1F78FF8344174AA60344B56324143C6DC5574FA34415C96218E8F5532417046945676FA3441D43B4E118C553241F7CBEEE977FA3441785F075E8855324161FE430A79FA3441DCFBA98184553241D7D781B379FA3441541E168A805532415F764F8E79FA3441802F4C867D553241615DDC4679FA344150D8F0847A5532413DDF4FDD78FA34415834808777553241AC69DE5178FA3441587B838F74553241AEB662FF77FA3441004D848D6E553241669A77BC77FA34410C83C08A685532412887168977FA3441D46F5F8762553241AA0A466577FA3441F48095835C5532410166F71477FA3441BC7BF2805555324169226CE876FA344104560E7D4E553241585BB1DF76FA3441E01DA7784755324156F5B9FA76FA3441E4C56D74405532413D60E50077FA3441C49BC4703A553241E0718ADE76FA34418C31776D34553241E9B7AF9376FA3441E4C7986B2E55324118C05B2076FA3441F89E3C6C28553241782D21FF75FA3441ECEBC069235532417858A8F575FA344120EBE2661E553241945CFE0376FA3441A405126419553241521E162A76FA34411CA5BD6114553241CED5565C76FA3441ECD9AC5A0B553241EF9E3C5C76FA3441946E125302553241F2EBC02976FA344164A3014CF95432418E4AEAC475FA34413CD49A46F054324117E258B775FA344184DB6840EC543241506B9AC775FA34418C703D3AE8543241E773B5F575FA3441BCF3FD34E4543241C252964176FA34418CA98231E05432413E355ECA76FA34416C832F3CDC543241E9B7AFC377FA344194438B5CD8543241FCC2642A79FA3441C468009FD4543241AD59F5F97AFA344130B29D0FD1543241303333A37EFA3441789ECD0ACB543241C9E53FC482FA344130AF9455C55432416766665687FA3441386744F9BF543241C7293A528CFA34418CFF90FEBA54324109F9A00791FA34418C779C32B75432410F83C0EA95FA344188B740A2B3543241EA1DA7F89AFA34419CCDAA4FB0543241A9E8482EA0FA3441885AD33CAD543241E8FBA9D1A3FA344100B37BB2AB5432417A9CA293A7FA344174C7297AAA54324146C8076DABFA34413CDD2496A954324122F46C56AFFA3441DC263108A95432414803785BB3FA3441E09AE6ADA8543241C420B062B7FA34411CA5BD71A8543241C9073D6BBBFA34412861C353A854324111583974BFFA344148EA0454A854324163325570C2FA3441A4ABAD78A854324101DE0269C5FA34410095D4C9A85432414EE3A55BC8FA3441801D3847A95432412EE6AE45CBFA344144696FF0A9543241DDA59B34CFFA3441D476BEAFAA5432414FDA1B2CD3FA3441146C783AAB543241FED47829D7FA3441EC164890AB54324184B0E129DBFA34414460E5B0AB54324116C05B20E2FA3441ECD0221BAC543241604BC807E9FA34415027A019AD543241857CD0D3EFFA344120A392AAAE543241F7065F78F6FA3441107A36CBB054324182B74042FAFA34410C6F8114B25432413E2CD40AFEFA344180E09C61B35432416ED712D201FB34416CCE88B2B454324129CB10C703FB3441D84F8D47B5543241784F1EB605FB344110F241EFB554324199FF909E07FB34415C1058A9B6543241565BB17F09FB3441043D9B75B7543241B0FA5CBD0BFB344140B6F35DB954324123EBE2C60DFB34419811A57DBB54324122EBE2960FFB344134BB27CFBD5432415639B42811FB3441B00C714CC0543241CF22DB4914FB3441F8E76A7BC55432419D923A5117FB34415827A0B9CA543241DF718A3E1AFB3441B0B88D06D05432418EA982111DFB34419489B061D5543241E19387551EFB3441683BDF1FD85432417FD0B3591FFB3441C07D1DF8DA543241B615FB1B20FB34419833A2E4DD5432413E2CD49A20FB34418CED7CDFE054324106D7A35020FB344140A4DFDEE3543241FD7E6AAC1FFB34417CC420D0E6543241BB847CB01EFB3441BC54C1A8E954324116C05B601DFB3441BCFF905EEC543241BF7D1D8819FB3441D4817366F35432417736AB3E15FB344190559F2BFA5432414A59868810FB34410822FDA600553241BB30996A0BFB34417817B7D10655324102780BE404FB34419C11A56D0E5532418C635DACFEFA34418087854A16553241BFC117C6F8FA3441B0D32B651E553241BD0E9C33F3FA3441DC1951BA26553241B07BF2B0F1FA3441BCA1456629553241BFA8A43EF0FA3441CC073D1B2C5532411D1FF4DCEEFA3441F4FDD4D82E5532412731088CEDFA3441181B9E9E31553241CAFEB2CBECFA3441C442AD79335532413AF8C224ECFA344140CD3B5E355532417614AE97EBFA34412C63EE4A37553241122FDD24EBFA34416CAD693E395532413ACD3B0EEBFA3441B059F5F93C5532417A711BBDEBFA34413C82E2E73E5532417A832F8CECFA344104BE30C94055324103A3927AEDFA34410CA8C69B425532417F1D3887EEFA34419C11A55D44553241C532C481F1FA3441407958684A553241FA31E66EF4FA3441147E8C79505532414E8D974EF7FA344100053491565532416BF90F79F8FA344150F6974D595532418F87855AF9FA344138F8C2245C55324108D7A3F0F9FA344158BB270F5F5532416207CE39FAFA34410866F70462553241199E5E59FAFA344198BB96106A5532419B4C15DCFAFA344188EB511872553241E9FBA9C1FBFA34411CE258177A553241DE0B9309FDFA344184C2F50882553241B78D06D0FDFA34418436ABEE84553241D0AACFB5FEFA344134234ACB87553241908785BAFFFA34414CBF7D9D8A5532410E2DB2DD00FB34411C41F1638D553241B1E1E9F503FB3441886CE7CB9455324189F4DB0707FB3441940F7A369C553241DBD781130AFB34414C9CA2A3A3553241726891BD0AFB3441A0ABAD88A5553241D266D5570BFB3441DCA9F172A7553241570E2DE20BFB344194A0F861A9553241FA7E6A5C0CFB34417C613255AB553241190DE07D0DFB3441C0490C02B05532419A218E050FFB344168006F91B455324198BB96F010FB34418CBE9FFAB85532417C95433B13FB344154EF3835BD553241A2923AE115FB3441A0A22339C15532416E8A8E6417FB3441BCF1D26DC35532419E3C2CF418FB34413C3EE899C5553241683BDF8F1AFB3441C8E314BDC75532418816D97E1CFB3441EC8E5304CA55324192E4F2AF1EFB34411848500CCC5532416FB5151B21FB344124F697CDCD553241021973B723FB34410CA5BD41CF55324142AD697E27FB3441DCB7AFA3D0553241D04D62402BFB3441F8A9F112D25532419E1A2FFD2EFB3441D05F768FD3553241FF65F7A432FB344170A3012CD55532418FA0F82136FB3441003B701ED75532411948506C39FB34410C7C6162D9553241C0EC9E7C3CFB3441CC20B0F2DB553241EE85C9E43EFB3441E05817B7DD553241A73E576B41FB344144A4DF4EDF5532410A560E0D44FB3441A4D409B8E0553241B6B88DC646FB34415829CBF0E1553241AFBFEC5E4CFB344140795838E4553241876CE7EB51FB344158EC2F9BE6553241AF03E76C57FB344178F90F19E9553241D81B7CE15CFB3441C032C4B1EB553241A0ABAD9877FB34410444FA0DAD543241FE1873D7E9F93441B80E9CF38B543241ECC9C3025AF834412C0DE0AD6A543241EA8C28AD54F83441F453E3E5A95432412E08AC5C54F8344194ABAD98AD543241C7FEB24B57F834412C3333A3B2543241D8E76AFB59F8344128A089D0B75432413255306A5CF83441E0839E1DBD543241724694965EF834416C1D3887C2543241E66A2BB65FF834411C1DC945C5543241462EFFA160F83441D06F5F17C85432413C70CE5861F8344128992AF8CA54324109B5A6D961F8344134014DE4CD5432413C4ED1E161F83441D09E3CECCF543241FAC264DA61F834415CCA32F4D1543241F7A067C361F834411871ACFBD3543241875AD39C61F8344184B74002D6543241B203E75C61F834411011360CDA54324132B4C88661F83441C8C64B17DE543241E202091A62F834416439B418E2543241962A181563F83441A801BC05E654324182B740F263F83441E4A59BE4E8543241F29E3C0C65F83441140456AEEB54324109CE196166F834419028ED5DEE543241FA3A70EE67F8344170567DEEF0543241938785CA6AF834412C772DC1F3543241EDF44AE96DF83441189E5E49F6543241E8C0394371F834417C09F980F854324180FB3AD074F83441285C8F62FA543241C876BE8F78F834419006F0E6FB543241DBA59B547CF834417C7FD95DFD5432410B1B9E1E80F834416C1D38C7FE543241D0AACFD582F8344194E61DE7FF543241C88F316785F8344180613255015532412A7502CA87F83441A0438B0C03553241E96A2BF689F83441D06F5F0705553241ACFA5C6D8DF83441845F07FE09553241604BC80791F834416CCC5DDB0E553241104FAFC494F83441741F639E13553241CCF753A398F8344144DD2446185532411573D7429BF8344130014D441B553241DC12F2219EF83441E073B5051E553241A05E293BA1F83441300F0B852055324104E78C88A4F8344108F697BD22553241C2529621A7F83441D0B7AF432455324186C954B1A9F83441A4A223D925553241B6A67937ACF83441EC63CC7D27553241BC0E9CB3AEF83441B872683129553241915CFE13B2F83441A433A2542B553241FFDD0249B5F834415494F6B62D5532415296214EB8F834410466F754305532411CDBF91EBBF8344170D5E72A3355324135EF38A5BDF834416C6FF045365532418CA98211C0F83441944160753955324131333363C2F8344100075FB83C5532410AB5A699C4F83441E47A140E40553241160DE04DC8F834416CB515AB45553241FBDBD711CCF8344198DA8A3D4B5532416D787AE5CFF83441182653C550553241129C33F2D1F834410C6C782A5455324186F4DB97D3F834418C1804C6575532416609F9D0D4F83441F8A7C68B5B55324164105899D5F8344144840D6F5F5532418448BF2DD6F83441E8065F88645532410993A9B2D6F8344184855AA369553241C07D1D28D7F83441F81FD2BF6E553241E27A148ED7F834412CF697DD73553241A635CD9BD7F83441188A1F237755324136D6C5BDD7F8344104F016687A553241905CFEF3D7F8344164A301AC7D5532413FAD693ED8F834411C0456EE8055324100B37B82D8F83441B8A8A47E825532419A559FFBD8F834410C9C330284553241BE86A7A7D9F8344100BC0572855532411E4A7B83DAF834413C8B6CC78655324192A0F8F1DDF83441148E7531865532417E2F4C66E2F83441486EA3E1835532411BE25847E4F83441F4F44AF982553241636DC51EE6F8344144B6F3FD81553241A935CDEBE7F83441741B0DF080553241C6BAB8ADE9F834414472F9CF7F553241302AA923EEF834418CC420107E55324127E483BEF2F83441C0E314BD7C553241B025E473F7F834417807CED97B5532413A674439FCF8344188EB51687B553241AC25E40301F934415827A0697B553241D2BCE30407F934417451494D7B55324196BB96000DF9344108A392CA7A5532415B5227F012F93441B4490CE27955324141E8D9CC18F93441806ABC947855324192B96B391EF9344110C7BA3877553241F9285C7F23F93441B80C715C755532411E73D79228F93441ACCEF7037355324194CB7F682DF9344158C1A83470553241B2EA73F531F93441846ABCF46C553241EC6A2B5636F934412C08ACCC6955324188635DBC3AF93441A82C43AC6655324120B9FC273FF9344170F38E9363553241042B874642F934416C1F631E61553241674DF30E45F9344158302A495E5532418438D67547F93441CC96901F5B5532419E923A7149F93441101B9EAE575532414750FCF84AF93441086F8104545532414794F6F64CF9344148DF4F4D4E55324168226CC84EF93441CC6F5F8748553241B003E76C50F93441B45CFEB34255324100780BE451F93441281895D43C5532414E840D9F53F9344134E2580736553241F9A067A355F93441F83A704E2F553241CA6D34F057F93441141FF4AC28553241AE1C5A845AF93441686FF02522553241BEA8A44E5CF93441F4A067631C5532410B8A1FE35DF93441F0043491165532415B2041415FF93441D03B4EB1105532417B029A6860F934412CE6AEC50A553241B0FA5CFD61F93441142DB2BD03553241EE1FD21F64F9344174AC8BDBFC5432416A9A77CC66F9344180A7572AF6543241D46800FF69F93441944AEAB4EF543241374547B26DF93441A401BC85E95432412F55305A71F9344198DFBEBEE3543241E3E9951275F93441ECD24D02DE543241225A64DB78F9344118D7A350D85432414E6B9A177AF934411C5839D4D65432413880B7807BF9344194802682D5543241C25B20117DF93441345BB15FD454324196779CC27EF9344150575B71D3543241D22B65A981F93441481CEBD2D25432413911369C84F93441CC31E67ED2543241769CA29387F9344130DD2476D2543241EA2631888AF934410CC7BAB8D25432419E779C9290F93441B4B35945D3543241DDF97E9A96F9344158AC8BEBD354324122D26F9F9CF934418C9543ABD45432416809F9A0A2F9344170537484D5543241E76A2BA6A5F93441C4DCB5A4D554324197559FABA8F934413C03788BD554324108560EADABF934418C19E238D554324113143FA6AEF93441B0FA5CADD454324108A3929AB1F93441649A770CD454324110143F96B4F9344158FC1893D3543241C88F3197B7F9344138378941D3543241A63E579BBAF9344150621018D35432411283C07ABDF93441A49F1A7FD35432415CF5B94AC0F9344168810435D45432415EE5D002C3F934417814AE37D5543241AE47E19AC5F93441FC770B84D6543241F5EDEB40CAF934414C136153D954324188855AE3CEF93441A4ABAD28DC543241A0802682D3F934419825E403DF543241FA5C6D15D7F934416C438BCCE05432412FB29DAFDAF93441943D0A87E25432416F128350DEF934418C855A33E454324186F4DBF7E1F93441D03B4ED1E554324136014D24E9F93441B88BDB58E95432419A218E35F0F934417858A815ED543241C039232AF7F93441605DDC06F1543241FEF67500FEF93441A8559F2BF55432411F85EB6102FA344124265335F854324140E8D97C06FA3441BC15FB9BFB5432419B9999490AFA344110BE3059FF543241E22406C10DFA344120FDF665035532413008ACDC10FA3441C410C7BA07553241C898BB9613FA3441E45F764F0C5532418195431B16FA34414803780B11553241A8DFBE8E18FA344190DB68D0155532419AB20CF11AFA3441A4D1009E1A553241CD5D4B481DFA3441C0F5280C1F5532414672F9AF1FFA3441288E757123553241652BF62722FA3441182DB2CD2755324192C420B024FA344170499D202C5532413F82E2272AFA34410CE561B135553241FEDD02492FFA3441E8FBA9713F553241AD69DE1134FA344148AD695E495532416609F98038FA3441C8FC8774535532411F166A1D3CFA3441408E75815B553241DEA59B1440FA3441A84E406363553241B8FC876444FA34414CC6DC156B553241FE99080B49FA3441F45C6D95725532419E01BC054EFA3441042428DE79553241F875E0FC51FA3441846132E57E55324136B4C85656FA34416C4BC89783553241B30C710C5BFA3441681F63EE87553241C6A1451660FA344184A0F8E18B55324179832F6C65FA3441F09E3C6C8F553241DA9AE63D67FA34419811A55D9055324151F38E2369FA3441985CFE2391553241DE141D196BFA3441EC839EBD915532418D87851A6DFA3441AC825129925532411183C0EA70FA3441006F81049255324143C6DC5574FA34415C96218E8F5532414B257522DFF8344138BB278FD3553241203867C4DDF8344188A0F871DB553241D668006FDDF83441C0C3426DE355324177A52CA3DDF834418C33A274EB55324120FDF6D5DDF83441B0C8767EF3553241B1FA5C8DDDF8344194D2DE80FB553241E3B584DCDCF834415C764F7E035632414C598618DCF83441707EFB7A0B56324104000080DBF83441341AC07B13563241E595B2ECDAF834418CE4F27F1B5632410F0BB586DAF83441D000DE8223563241CED556ACDAF8344184DB68802B563241A31A2FFDDBF8344144204171335632411CFDF615DCF83441EC56EC6F3B5632410A8195C3DBF83441703D0A77435632418C28ED2DDBF83441089A087B4B563241B0E1E955DAF83441580E2D7253563241D6E76A8BD8F83441904160455B5632415A17B751D6F83441840F7A166356324192559F4BD4F83441A49318446B56324166226C58D1F8344154FAED8B725632418AA7578ACBF8344168E5D0027756324193ED7C1FC3F83441B496906F7856324172C5FE32BBF83441E81114FF78563241B203E72CB3F83441D8BE0EDC785632412397FF30ABF834418CCE889278563241B3E1E935A3F83441C0EC9E3C78563241E0B5843C9BF83441E49C11C577563241139E5E4993F834411C76E01C77563241DC4603588BF834410CA3923A7656324157CA326483F83441D4073DFB74563241AA0A46C57BF83441A013D0C4725632412CE4837E74F83441AC1C5A846F5632414C7424776DF83441BC2A18956B563241F7A067D366F834414862101867563241361AC09B60F8344168894120625632414794F6A65AF83441904AEAC45C563241750B24E854F834416C82E22757563241394ED1514FF834416CA7576A515632410244FA8D4AF83441049A08FB4A5632413E8B6CA745F83441287E8CB9445632419CF831863FF83441B8A679A73F563241E5D9AC1A39F834417436ABDE3A56324179F2B03033F83441F43A708E365632417A36AB1E16F83441F8B9DAEA8E5732410088F41BA5F93441F0AE2564B05732419C11A51D34FB34411C3FC6DCD1573241EF1FD2CF55FB3441ACBFECFE3F563241AD0C71EC59FB3441444547F20E563241A023B91C54FB34415829CB500D56324113D0444851FB34417C029A580C56324152D1917C4EFB34417C0B24480B5632416ADE71BA4BFB34417404C51F0A56324182AEB60249FB34413C92CBDF0856324190A9827144FB34417CAC8BDB0656324169BC74D33FFB3441B4EA73F504563241A98251293BFB34410064CC2D035632416BB3EA7336FB34418C4AEA84015632411CB7D10030FB3441F42EDDD4FE553241838CB9CB29FB3441A4CDAA9FFB553241FB285CDF23FB3441A447E1EAF7553241666FF0451EFB34410076E0BCF355324154423ED81BFB3441AC976EF2F155324104B5A65919FB3441B4ADD83FF055324170B515CB16FB3441A001BCA5EE5532418B31772D14FB344170C1A824ED55324190C2F59811FB34414CFC18A3EB5532415C5DDC160FFB344124819503EA553241475986A80CFB3441C8AF0347E8553241860D4F4F0AFB3441ACE8486EE6553241CCE53FF408FB344180B0E1F9E4553241E7839EBD07FB344134D49A66E3553241529621AE06FB3441E04603B8E1553241E82631C805FB3441C869DEF1DF5532410AD7A3B001FB344150BD52C6D655324155F5B9FAFDFA3441C8529671CD553241C17D1DA8FAFA3441F82FBBF7C3553241EAE236BAF7FA34410876E05CBA55324142C6DCF5F6FA3441946E1273B75532411071AC4BF6FA34418C8EE482B4553241D4DEE0BBF5FA3441901A2F8DB15532419EEFA746F5FA344100AAF192AE55324110583934F4FA3441F0907EABA85532414C840D8FF2FA3441B4F831E6A2553241A25E295BF0FA344114AE47519D553241BAD1009EEDFA3441146C78FA97553241110BB556EBFA344164EE5A8293553241A233A244E9FA34419CBB96F08E55324190C2F568E7FA344130A2B4478A5532415BC1A8C4E5FA34413055308A855532418AC95421E4FA34414C72F9CF80553241FA2A8736E2FA34411CEEEB307C55324192180406E0FA344118AE47B177553241CA32C491DDFA34410846255573553241587DAE86DBFA344190A0F8E16F55324115E9B79FD9FA344120355E5A6C553241112DB2DDD7FA3441FC1FD2BF685532418AC95441D6FA3441847CD0136555324135014DA4D4FA34416007CE59615532411A3FC6ACD2FA344160BA49CC5D55324102098A5FD0FA3441500AD7735A553241286519C2CDFA3441DC3D795857553241AC9BC480CCFA344194A44ED05555324118FBCB5ECBFA344160696F3054553241190DE05DCAFA34415CCC5D7B525532417824977FC9FA34418445B6B350553241F3065FF8C8FA3441507502CA4D55324188855AC3C8FA3441F08AFDD54A55324176E926E1C8FA34413C80B7E047553241AA726851C9FA3441503333F3445532412CBB27FFC9FA3441101973E740553241B259F599CAFA34419CABADD83C55324182C0CA21CBFA3441D43845C738553241420AD793CBFA34417006F0D63655324152621038CCFA3441C8BCE3F4345532419C23B90CCDFA3441EC6A2B26335532412FB29D0FCEFA344124B29D6F31553241924AEA64D0FA3441A89999292E55324148EA04D4D2FA3441704694F62A5532411548505CD5FA344118E258D727553241A41A2FFDD7FA3441CC95B2CC24553241925CFEE3DBFA3441D0F0F43A2055324149C8078DDFFA344114022B771B553241D5AACFF5E2FA3441CCA59B841655324176A3011CE6FA344184EFA76611553241E67A14DEE8FA344104CB10B70C553241F30DBEB0EBFA3441A872681108553241F597DD93EEFA3441B4E1E97503553241409B559FF0FA3441B01C5A1400553241053D9B55F2FA3441104FAF84FC5432415305A3B2F3FA344140643BCFF8543241313333B3F4FA3441043FC6FCF454324180D93DB9F4FA34417C4694F6F15432412C333373F4FA3441E4D781F3EE543241CA32C4E1F3FA3441B0270FFBEB543241F44A5906F3FA344144189514E95432411E1FF4CCF1FA3441382AA923E5543241D85F769FF0FA3441782D212FE154324148B6F37DEFFA3441E8581737DD543241C632C4A1EEFA34413CF6974DDA543241DE581787EDFA3441BC627F79D7543241D956EC2FECFA3441B48D06C0D45432415F6DC59EEAFA3441A0F83126D25432416C4DF34EE9FA3441701804C6D0543241DD9387D5E7FA3441808EE492CF5432411EB07238E6FA3441386EA391CE5432415E764F7EE4FA3441746666C6CD543241875AD39CDEFA344120DBF90ECC543241D1B359A5D8FA34412C0378ABCA5432414FD1919CD2FA3441B03A019DC95432410E022B87CCFA3441CC1C5AE4C85432412AA089F0C6FA34413CD1912CC954324130A2B467C1FA344100295CFFC95432416DE7FBF9BBFA3441F8D9AC5ACB5432412A1895B4B6FA344134234A3BCD54324159CA32A4B1FA3441C8EC9E9CCF5432415E07CE39AEFA344198BB96C0D1543241283A920BABFA344130158C3AD45432411E85EB21A8FA3441F497DD03D75432416F8A8E84A5FA3441F47C3F15DA5432419EABAD08A4FA3441200DE0BDDC543241714694D6A2FA34419067B38ADF543241E8FBA9F1A1FA3441C4EEC973E2543241DFB5845CA1FA3441E044D870E55432419FA223E9A0FA3441D4847C70EA543241527424E7A0FA344150984C75EF543241BAB88D56A1FA344158984C75F4543241FF2A8736A2FA3441D8817366F9543241BCF5283CA3FA34411C1DC9E5FB543241528D972EA4FA34417C7AA56CFE543241E4839E0DA5FA3441346C78FA00553241D04D6220A5FA3441B8C117F602553241235A64FBA4FA34417CF2B0F004553241C29F1A9FA4FA344160CA32E406553241767AA50CA4FA3441C43099CA08553241E9AE2574A3FA3441F80DBEC00B553241039A080BA3FA3441F431E6BE0E5532419E89B0D1A2FA3441246519C211553241427958C8A2FA3441D86F5FC714553241FE4C84BDA2FA3441E40209CA1A553241FA5C6D65A2FA3441ECE236CA20553241AAA44EC0A1FA344144EA04C4265532414F8D97CEA0FA3441E40E9CB32C553241DB1B7CE19FFA3441A05E299B30553241F8A067E39EFA3441E0718A7E34553241D6C56DD49DFA3441D4A3705D385532419E33A2B49CFA3441506B9A373C5532412A6519A29AFA3441CC7D1DF843553241DD361AD098FA3441E454C1C84B553241772D213F97FA3441508B6CA753553241B69690EF95FA344100BC05925B553241666666C694FA34419C89B081635532416691EDAC93FA3441BC0E9C736B5532417CA52CA392FA3441E8F8A067735532413770CEF891FA3441E821FD667855324127E4836E91FA3441ECE2366A7D5532412138670491FA3441C4847C70825532418E8785BA90FA3441B06B097987553241CD3B4E5190FA3441F051B86E8B553241CE66D5878FFA3441E473B5558F5532414772F95F8EFA344148D8F02493553241FB7E6ADC8CFA3441D4D781D396553241D0BCE3B489FA3441AC9690BF9C5532418F976E2286FA3441D0839E6DA2553241AA79C72982FA3441E46A2BD6A755324111E02DD07DFA34413C2EFFF1AC553241D6E76A1B79FA344130355EBAB15532415917B71174FA34412CA7E828B6553241D968008F71FA34413C60E5F0B755324140E8D9DC6EFA3441C8C3426DB95532412E211F046CFA3441A4A22399BA5532414C96210E69FA34417CF2B070BB553241322AA92366FA344108000080BB553241163FC63C63FA3441F05C6D35BB553241C6E53F6460FA3441B8490C92BA55324157C1A8A45DFA34419CB43798B9553241A3A44EE059FA3441E43B4E01B8553241AA57CA2256FA3441344CA65AB65532415FBA496C52FA3441B01C5AA4B455324130FF21BD4EFA344128E483DEB25532415DE5D0124DFA3441E87A14CEB1553241187C61924BFA34417C613285B05532412D3333434AFA3441E8E2360AAF553241F0A7C62B49FA34418C537464AD55324132772D4148FA34413870CE98AB553241E293876547FA344140C6DCC5A9553241BB6B099946FA3441D4BE0EECA75532418D6CE7DB45FA34412CFAED0BA65532412806815544FA3441E82D9050A2553241FA4A59C642FA3441F0FDD4989E553241F53A702E41FA3441A813D0E49A553241A9C64B3740FA3441F0384507985532411A9E5E793FFA34416C19E21895553241161DC9F53EFA344190081B1E9255324138DF4FAD3EFA34418875711B8F553241841D38573EFA34419C3C2C248B5532410A68228C3DFA3441082DB23D87553241CD88D24E3CFA3441005D6D7583553241DAD781A33AFA3441F8AF72D87F5532414A72F98F38FA3441D41726737C5532412653050334FA34419C89B0D1755532413A4547522FFA34411C9E5E496F553241ED5A427E2AFA3441F4F0F4DA685532412CC2868725FA344110022B87625532414650FC7822FA3441583255905E55324156A8358D1FFA344138B29D7F5A553241E29C11C51CFA3441A4F8315656553241FAE461211AFA34415C984C15525532412038676414FA3441203108DC4955324166BC74430EFA3441D0F528EC415532410E9C33C207FA344168DE714A3A553241006F81E400FA3441987571FB325532415E8FC2F5FDF93441347C615230553241403EE8C9FAF9344170BC74F32D55324111D04468F7F93441809318E42B553241C17493D8F3F9344150F90F292A553241FDF67520F0F934417C44699F2855324198559F7BECF93441287502EA265532414DDA1BECE8F93441D079C70925553241F797DD73E5F93441C876BEFF225532415C5DDC46E2F93441CCDA8A7D2055324105462525DFF93441905149ED1D553241D968000FDCF9344130BB274F1B553241885AD3CCD8F934411098DD13195532411E6C784AD5F934411841F14317553241EA73B595D1F934414C9D80E615553241BEE314BDCDF93441A8D2DE0015553241C698BBC6C5F93441D815FBEB13553241098195C3BDF9344110E02D50135532417F9ECDBAB5F9344148B6F32D13553241C40E9CB3ADF934416C787A851355324132772DB1A7F934415820415114553241E651B8BEA1F9344154B6F37D15553241A86054E29BF9344104C3640A17553241B6490C2296F93441B8F3FDF418553241A89BC49092F934414CBF7D9D1A553241841D38478FF934411CB4C8C61C553241B5A679578CF934410066F7641F55324178E09CD189F93441405EBA692255324126A0898086F93441949CA28327553241657FD99D83F9344100DBF9DE2C553241E0718A2E81F93441B4408272325532411DEBE2367FF9344148E17A343855324121B9FC477EF93441BC00DE123B55324178A52C437DF9344118ECC0E93D5532415539B4287CF93441B0CB7FB840553241F4FDD4F87AF93441B0C8767E4355324146C8078D79F9344194BB9620465532417B9CA2F377F9344198D409A8485532410A1B9E2E76F93441BC32C4114B553241DE361A4074F93441C010C75A4D5532413A5EBA3970F93441E48173D651553241E91DA7286CF93441B0946548565532416891ED0C68F9344110A089B05A553241A2EFA7E663F93441ACDFBE0E5F55324124E483EE60F93441E810C71A6355324110022B275EF93441AC34EF48675532419E8026925BF934415C5DDC966B5532413E60E53059F9344180B7400270553241189E5EC955F9344104A5BDC1755532410BF016E851F934412485EB317B5532410F5839944DF9344178E2C748805532415E8FC2D548F93441E475E0FC8455324172787AB543F934419C218E4589553241865AD33C3EF93441B447E11A8D553241FA065F2839F93441201DC9459055324127E483FE33F934418C51494D93553241C86D34C02EF93441F444D83096553241FA3A706E29F93441DC56ECEF98553241624BC86721F93441606666069D5532412E4CA64A19F93441B49690EFA05532415062101811F93441B047E1AAA45532412997FFD008F934411010E937A855324118AE472104F93441D8839EEDA955324173E7FB59FFF83441D0D5565CAB553241CC7F487FFAF83441E0C9C382AC5532412C068195F5F8344120C9E55FAD553241726891CDEBF8344154EC2F5BAF553241A7CFD516E6F8344174E7FB09B4553241B7490C02E4F834414497FFF0BB55324199658883E2F83441548638D6C355324180D93DF9E0F8344180ABADB8CB5532414B257522DFF8344138BB278FD3553241030000000200000000024B00000002A801000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, 0xBD0B0000010C57551CF8CBF934414E26086935563241, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.387' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.387' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 3587398, 90054401, 1, NULL, 0xBD0B000001040700000058522720875034418CBB96F0361033416844696F57503441EC0FE9D7441033415E4BC88746503441D44D6290FD103341BA15FBEBD8513441E0D781131A11334157643BDFE75134415C9621EE501033412E4CA64AA15034411C88F4DB3810334158522720875034418CBB96F03610334101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C687BEEC218513441A8CC82B2A7103341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.413' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.413' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13843109, NULL, 1, NULL, 0xBD0B0000010405000000549FAB2DC7502B41C4F5285CE360314115FBCBEEC6502B415C204151D7603141B0ADD85FB2502B41047C61D2BE6031410E1B9E1EB3502B41D8C56D74E3603141549FAB2DC7502B41C4F5285CE360314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CCFEEF930BB502B4125011936D6603141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.423' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.423' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14371430, NULL, 1, NULL, 0xBD0B0000010405000000E46A2B7653BA3241B039234AA9F01C4183C0CA6157BA3241D0AACF55B1F01C41D55F76EF7ABA3241B03C2C5451F01C41624BC80765BA32419033A23424F01C41E46A2B7653BA3241B039234AA9F01C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C361D46C965BA324176510BBD66F01C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.433' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.433' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 15494501, NULL, 1, NULL, 0xBD0B000001044C0000008F635DDC21283941701A2F5D87D7204150B81EF521283941C00C716C8AD720410E022B372228394108BC05728DD720410BA5BDA1222839411826536590D72041342AA93323283941587FD93D93D720418CD2DEC025283941B00512D499D7204102098A2F272839412095D4C99CD7204144CF668528283941D895B2EC9FD7204194B20CC12928394168105839A3D72041A3923AE12A283941B80C71ACA6D72041B696907F2C283941A0627FB9A8D720418048BFFD2D28394190DB6820ABD720418B06F0562F283941E02B65D9ADD720410E0BB5863028394158E3A5DBB0D72041C698BB763128394178180416B8D720419EA2239931283941488FC275BAD720419AFF90CE31283941B08D06D0BCD72041A8CFD5163228394110D34D22BFD720417AE09C7132283941C0C2646AC1D720415CFE433A3328394100EEEB80C4D7204186855A1370283941E88E53746FD720413C1CEBE26A2839415072F98F60D72041BAB88DC665283941382EFF6151D7204180AEB6C260283941880B24E841D720419FABADD85B283941A8F7532332D7204122B0720857283941E085C91422D72041560E2D525228394148A4DFBE11D72041002B87B64D28394190C0CA2101D720413EC6DC3549283941A0FF903EF0D62041B68D06D044283941A0BDC117DFD620417D2F4C8640283941606891ADCDD62041506210583C28394150378901BCD620419CF8314638283941D0BCE314AAD620414160E55034283941289E5EE997D6204110D044783028394160499D8085D62041885AD3BC2C283941302CD4DA72D62041E751B81E2928394120917EFB5FD62041EE5A429E252839419889B0E14CD6204152AF94E523283941685452E742D62041E661A13622283941F087F4DB38D620415F29CB5011283941A8FD6577D1D5204186C0CA81FF273941A0A3703DF1D62041482EFFE1FD273941007F6A7C0BD72041452EFFD1FE27394190976E720ED72041B61C5AD4FF2739410872F94F11D720416B226CE800283941A817261314D720417268910D0228394148355EBA16D72041F01FD28F03283941B8EA737519D72041B0E1E9F504283941C039236A1CD72041CABAB83D0628394158B3EA931FD72041AB0A466507283941180DE0ED22D7204179832FFC07283941A8D85FD626D720418173466408283941880F7AD62AD72041055F989C08283941085D6DE52ED72041CADCB5A40828394168355EFA32D72041D8ACFA5C09283941F06A2BD636D720418F1804460A2839415082E2873AD7204142BF7D5D0B2839412854E3053ED720416E1283A00C28394130CB104741D72041048A1F830D283941B0A44E6044D720419AB437780E28394190DC466347D720419DD6347F0F28394130CD3B4E4AD72041E04F8D971028394100098A1F4DD72041B269DEB11128394100BE305953D72041FB53E3351328394130AB3E3759D72041B00C711C15283941607FD99D5ED72041669A775C17283941B84E407363D720417B9543EB19283941F82D90A067D720418CC954711B283941C8B359556AD72041AB7268D11C28394160AB3E576DD72041A8BDC1071E283941507FD99D70D720412797FF101F2839415089412074D720417C2F4C062028394188E09C5179D72041464772092128394168226C787ED72041D019511A22283941D005129483D720418F635DDC21283941701A2F5D87D7204101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C09FE98BF2B2839418A32FB6AFDD62041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.443' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.443' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8969612, 31215701, 1, NULL, 0xBD0B0000010412000000039A08FBBB85334190984C1577D81B419E67B38AC7853341F0F141CFC8D81B414E158C6ACC853341F01A9E9EEDD81B41F44A59C6D0853341106A4D7313D91B4159F5B99AD485334160B29D2F3AD91B41104FAFE4D7853341D0EA73B561D91B41336EA3A1DA8533410054E3E589D91B41D45F76CFDC853341E01B7CA1B2D91B41B40C716CDE853341909465C8DBD91B411AE25877DF853341306C783A05DA1B418A0D4FEFDF85334100AB3ED72EDA1B41F21648F0DF85334180BDC1D745DA1B41EC8E53C4DF853341F03C9BD55CDA1B416DAC8B6BDF85334160CC5DCB73DA1B41DA8AFDE5DE853341B00E9CB38ADA1B41A411A51D0486334100CCEEC992DA1B41CC20B072DC85334110D3BCE3CCD81B41039A08FBBB85334190984C1577D81B4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CC6F59D7BE485334130B46BD2B3D91B41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.467' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.467' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8969612, 31215701, 1, NULL, 0xBD0B0000010412000000039A08FBBB85334190984C1577D81B419E67B38AC7853341F0F141CFC8D81B414E158C6ACC853341F01A9E9EEDD81B41F44A59C6D0853341106A4D7313D91B4159F5B99AD485334160B29D2F3AD91B41104FAFE4D7853341D0EA73B561D91B41336EA3A1DA8533410054E3E589D91B41D45F76CFDC853341E01B7CA1B2D91B41B40C716CDE853341909465C8DBD91B411AE25877DF853341306C783A05DA1B418A0D4FEFDF85334100AB3ED72EDA1B41F21648F0DF85334180BDC1D745DA1B41EC8E53C4DF853341F03C9BD55CDA1B416DAC8B6BDF85334160CC5DCB73DA1B41DA8AFDE5DE853341B00E9CB38ADA1B41A411A51D0486334100CCEEC992DA1B41CC20B072DC85334110D3BCE3CCD81B41039A08FBBB85334190984C1577D81B4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CC6F59D7BE485334130B46BD2B3D91B41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.477' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.477' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10358820, 90091426, 1, NULL, 0xBD0B000001040500000071F90F499066354130DF4F8DE6AD2341F797DD1390663541F82FBBA7E6AD2341A435CDDB8B663541809CA26318AE23416BBC74739866354118AE476119AE234171F90F499066354130DF4F8DE6AD234101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C9323167D91663541C882A6D807AE2341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.503' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.503' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 5649307, 761941, 1, NULL, 0xBD0B00000104070000000E83C04AB0D1314190FEB2FBD8F01941C8BAB84DB0D131417057CAB2BBF01941A9CFD536ACD13141B08173467EF019415E07CE79A6D13141400C022B5FF01941287502DA94D131413083C04A3FF01941E9FBA91194D1314190AC8BDBA5F019410E83C04AB0D1314190FEB2FBD8F0194101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CEB061C4CA1D13141EE3BEDFB8CF01941, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.513' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.513' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14612364, 11706281, 1, NULL, 0xBD0B00000104400000000022FD96792D344168666686EFE43341FF088A9F802D344148621058F3E43341489D80A6872D3441F8B0502BF7E43341A201BCA58E2D34418095430BFBE433410A341196952D344140257502FFE4334110E9B76F9C2D344180BE9F1A03E53341CED5562CA32D3441F051B85E07E5334196A982B1A92D3441EC4EAFF40BE5334101F77500B02D3441D8B584DC10E5334196C42030B62D344138E17AF415E533419A218E55BC2D3441D03D79181BE533411C95D489C22D3441C46F5F2720E533418E7EFBBAC82D3441A0BDC13725E5334191E4F2DFCE2D3441001973572AE5334162E5D002D52D3441B847E17A2FE53341467B832FDB2D344148575B9134E53341787AA56CE12D3441E0718A8E39E53341624BC8C7E72D3441E4B7AF633EE53341C854C148EE2D3441182FDD0443E5334120166AEDF42D34412418957447E53341EA8C28ADFB2D3441448941C04BE53341FF907E7B022E34418C2A18F54FE533416A3BDF4F092E344134AD691E54E53341F02FBB27102E3441041B9E3E58E5334163325510172E34419C923A415CE533413D1361031E2E3441BC0E9C3360E533412EA2B4F7242E3441AC2E6E2364E533413F1361E32B2E3441BC490C2268E53341EC51B8BE322E3441D4B5843C6CE53341DBF0F48A392E3441C844D87070E53341BA8D0650402E344130A089B074E533419B2A1815472E3441E01FD2EF78E533419F89B0E14D2E3441E800DE227DE53341D3915CBE542E3441146C783A81E53341A6A44EC05B2E344130A2B41785E533413E355EDA622E3441F81FD2CF88E53341467B83EF692E3441008D288D8CE5334162E5D0E2702E3441B047E17A90E53341C98F3197772E344108780BC494E5334138B4C8D67D2E34410CB37BB299E5334189635DBC832E34410C93A9229FE533416E469496892E344138F8C2A4A4E53341F07C3FB58F2E34414C7958C8A9E533415EFE433A962E3441E488D25EAEE533416CC5FEF29C2E3441C48D06B0B2E53341F041CFC6A32E3441183FC6DCB6E5334148BF7D9DAA2E3441E89C1105BBE533413C80B760B12E344190703D4ABFE533411C7C6112B82E3441C878E9A6C3E53341F2D24DC2BE2E344178029A08C8E53341903A016DC52E344170E92671CCE5334131333313CC2E3441CC64AAE0D0E53341E6F21FB2D22E34414C477259D5E5334152A60A46D92E3441F09C11E5D9E5334170E7FBC9DF2E344128D49A86DEE53341460C024BE62E34417C832F2CE3E53341C00E9CD3EC2E34417814AEC7E7E533418E3A016DF32E34417C029A48ECE533418AFD6517FA2E344160E09CB1F0E5334170D71212FE2E3441D0DCB544F3E53341EC95B26C132F344114B6F35DC7E433412A287E8C7B2D3441A479C7C9A8E43341B4FC8754762D34418C635DBCEDE433410022FD96792D344168666686EFE4334101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C86BE7C766A2E3441B36D4A6E23E53341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.533' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.533' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977849, 23695251, 1, NULL, 0xBD0B0000010405000000B5BFEC1E5D7A2B4104F2410F91643141819ECD2A717A2B4120EF38E59064314199D6346F707A2B41684469AF79643141E11B7C615C7A2B414C4772D979643141B5BFEC1E5D7A2B4104F2410F9164314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C5B1B99C6667A2B41E119285F85643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.540' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.540' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 4572602, NULL, 1, NULL, 0xBD0B00000104060000006ECE88D20A453141D00512142FE21C41198C4ACA0045314120E3361AA2E11C41547DAEF6C74431415087A7D7CEE11C41E58C28EDCF44314190C2F5A864E21C41A089B001DE443141303255B059E21C416ECE88D20A453141D00512142FE21C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C5D899BAEE844314164B8B75902E21C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.553' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.553' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 2213877, NULL, 1, NULL, 0xBD0B000001040600000090180476E7E73241D0EA7335306D1B4199900F5AE8E73241C0726891DF6C1B41D9096802E9E73241104A7B03A46C1B41CA073D1B8EE732416058A8B5916C1B41D69AE69D94E73241A0F753631F6D1B4190180476E7E73241D0EA7335306D1B4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C754B6AC9BCE7324179DFDE3DE06C1B41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.567' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.567' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 9680373, NULL, 1, NULL, 0xBD0B0000010405000000ED38458778A53241E0EA73350B891C41AB9BC4E090A53241401361C34E891C41C97F48DF91A53241B03B4E51F8881C41B696906F79A5324120948785B4881C41ED38458778A53241E0EA73350B891C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C7509CA2D85A53241C4FD54AD01891C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.577' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.577' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 12728390, 90070070, 1, NULL, 0xBD0B00000104070000000D1DC925DF00274138E8D96C42BC32414DDA1B7CC50027414C50FC984FBC32413290A038DB002741AC8251495ABC32416E09F9A0F3002741C0490CC24DBC3241D3C7983BF100274134014D644CBC3241E897DD13E20027410CAE470144BC32410D1DC925DF00274138E8D96C42BC324101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C57229FCCDC002741E50E5D764EBC3241, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.587' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.587' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13998072, 23688801, 1, NULL, 0xBD0B00000104050000009E1A2F9D1E792B41A4DA8A5DD964314147E8D9AC32792B411C583934D9643141332AA9D331792B41E4361A40BF643141EB3845C71D792B41089E5E69BF6431419E1A2F9D1E792B41A4DA8A5DD964314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C3960403928792B41FABF294FCC643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.603' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.603' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 9212434, NULL, 1, NULL, 0xBD0B000001040B000000E4263128D789324130EF38C570051C41F84A59267F873241D03D79D8D1081C41BF30996A878732414068226C0F091C419306F0D6FC873241204ED191D70B1C41770B24A827883241F037F8C27E0C1C41B4726851A5883241B0187357450A1C416F810445D38832419048BFFD75091C4162984C950E89324100197357B2081C411DB9FCA7D5893241D088D25EA2061C41D41B7C41EA893241D0FEB2FB43061C41E4263128D789324130EF38C570051C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CD22CCA7E938832414C44B06FC1081C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.623' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.623' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13872401, NULL, 1, NULL, 0xBD0B0000010405000000C2D32BE580B73241400C022B65F41C41DAC56DF487B7324130D7A3F065F41C41BBA679E785B7324190D100DE29F41C410912141F7EB732419006F09644F41C41C2D32BE580B73241400C022B65F41C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C442D817C83B7324132FD7ACD4CF41C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.633' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.633' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 4600711, 90075891, 1, NULL, 0xBD0B000001040B000000C732C471C1F13141F0D5C5EDF3D91841E37A14EEF5F1314140795828F5D918413008AC7CFCF13141107DD033F5D91841D512F22124F23141504CA60AF6D91841CD2B653924F23141D06F5F07A4D9184184C0CA4124F23141A0E461A18CD9184162C3D30BF7F131417089B0E19AD91841186A4D33C9F13141F0F0F44AA9D918411CB9FCE7AEF13141D0B4C876C4D918417A36ABDE9CF1314150795828F3D91841C732C471C1F13141F0D5C5EDF3D9184101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CEC4EA67EECF1314175943DE2CAD91841, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.647' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.647' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 5896835, NULL, 1, NULL, 0xBD0B0000010406000000AB3E57BBEB353241201895D457D7174102000020E7353241D07D1D3823D71741F3FDD478C3353241F07BF2B02DD71741F953E3A5B9353241C0B0E16973D7174173AC8BBBBD3532412087165993D71741AB3E57BBEB353241201895D457D7174101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CE2BB9B64D1353241563D3FF053D71741, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.657' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.657' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 3352552, NULL, 1, NULL, 0xBD0B0000010407000000B159F519E342314160DA1BFC38E61C41042B8756EF42314190AEB6E238E61C4188855AD3F54231410044FA6D1AE61C41826ABC740243314170B515FBDCE51C413FF1638C02433141D0E3141DD1E51C418E976E3200433141809B551FC6E51C41B159F519E342314160DA1BFC38E61C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C860BD361F44231413D24344908E61C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.663' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.663' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14342413, NULL, 1, NULL, 0xBD0B000001040A000000D2B359D5DFBB3541405839F4DAA623413CF8C2E4DDBB354168DE71CA01A72341C37D1D3847BC354120AC1C1A14A72341D4ACFA7C46BC3541F8B27BB213A723417AF2B0D0FFBB354120022B87ECA6234121EBE2F6EEBB354168B29D2FE3A62341A58251C9EABB354100D34DE2E0A623418C7EFB9AE6BB3541803EE899DEA623412C068155E3BB3541004FAFD4DCA62341D2B359D5DFBB3541405839F4DAA6234101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C5FB272A901BC3541085624E9FAA62341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.673' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.673' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 7488009, NULL, 1, NULL, 0xBD0B0000010405000000E63FA45F047F304120EBE2B6B9041D4175711BCDE67E3041D04F8D17D2041D41F07C3F95E67E30413072F98FF7041D41324CA6CA037F3041D0E995B2E8041D41E63FA45F047F304120EBE2B6B9041D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C2DBCC2EDF57E30413613559FDA041D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.683' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.683' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 24047945, NULL, 1, NULL, 0xBD0B000001040A0000004382E247963B3341E0088A9FF0F51B4199999939963B3341104ED191FEF51B41754F1EF6923B334150DC460332F91B417DB740A20C3C3341F03A70CE43F91B415AA8354DD63C334130CDCC4C61F91B41F5A06713423D3341F0DF2D1071F91B41AC69DED1503D334170D5E76A38F31B414A5986B8513D3341E0051214D7F21B41F4E46121533D3341703789C13FF21B414382E247963B3341E0088A9FF0F51B4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C3BFA26F68A3C3341A1CE02CB97F61B41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.697' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.697' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13995596, 29847801, 1, NULL, 0xBD0B00000104050000009A01BC0515772B41E47A148EDD64314126F46C1629772B41D8A59B64DD6431413689416028772B4120F77560C064314190976E5214772B4104DE0289C06431419A01BC0515772B41E47A148EDD64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CB530ABB31E772B41098163F7CE643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.717' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.717' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13998030, 23688641, 1, NULL, 0xBD0B0000010405000000FEF675E045792B4190C64B17BF64314174A301BC46792B4144158C0AD9643141B415FBCB5A792B410CAE47E1D8643141C69F1AEF59792B41F43A70EEBE643141FEF675E045792B4190C64B17BF64314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CF7FADD5550792B41BA1889FCCB643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.727' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.727' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14413019, NULL, 1, NULL, 0xBD0B00000104050000000C12147F9E8A324110DBF97E43EB1B41C5293A729B8A324130302A298CEB1B4150B81E25B68A324110E7FB2990EB1B41EEB050EBB68A32415079582847EB1B410C12147F9E8A324110DBF97E43EB1B4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C0232CEBCA98A324126ABF9486AEB1B41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.737' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.737' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 4940164, NULL, 1, NULL, 0xBD0B0000010407000000BDC11706AC253341F0D6A3F018921C41CE88D2BEB2253341605452A769921C416319E298E62533417085EBD1EB911C4123EBE206D825334180CE8892F8911C412EA2B467C925334130075F5804921C41F97E6ABCBA25334180AEB6220F921C41BDC11706AC253341F0D6A3F018921C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C238EC88EC125334111B478D525921C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.763' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.763' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 15937445, NULL, 1, NULL, 0xBD0B00000104050000000CAC1CDA128332419889B061994A2E41460C02AB1C83324120DF4F0DA34A2E41D58173E61C83324120DE0209994A2E4160984C1513833241803F355E8F4A2E410CAC1CDA128332419889B061994A2E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CA2B94DE017833241F8A89E35994A2E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.773' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.773' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10465103, 5675941, 1, NULL, 0xBD0B000001040500000009B5A659D4823241507B83EFD2492E41FC3A708ED5823241A859F539E7492E41B6AF03C7F8823241687FD97DEA492E412B871679F9823241B0E1E995D6492E4109B5A659D4823241507B83EFD2492E4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C3F44F501E7823241BBE20CB8DE492E41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.787' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.787' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 3771482, NULL, 1, NULL, 0xBD0B0000010407000000F4FDD45808A53141602AA913F0661B41FCCBEE491CA53141309B559FA4661B41B08BDB4826A5314110651962A5661B41EB6A2B7626A53141E020B07289661B41A860549227A5314140E561A1D5651B414F40138108A531414019E2D8D8651B41F4FDD45808A53141602AA913F0661B4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C4541AECD16A53141A42EC0164B661B41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.797' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.797' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8048801, NULL, 1, NULL, 0xBD0B0000010405000000C15B20C1F212304140BD5256EAFC2041711B0DC0F2123041B0051254E1FC2041F575E03CCE1230418875715BE0FC2041AB9BC440CE123041783F355EEAFC2041C15B20C1F212304140BD5256EAFC204101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CAE06A82DE01230414923E697E5FC2041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.807' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.807' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13873717, NULL, 1, NULL, 0xBD0B00000104040000006909F920A6F13241B0627F5978821C411951DA9B3DF23241D04672F9AD811C41C98F31F7A8F1324100FDF6758E811C416909F920A6F13241B0627F5978821C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CC4F85691D9F132412BE2A2EDE6811C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.817' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.817' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13829734, NULL, 1, NULL, 0xBD0B000001040400000079931804AAB83241E0C3422D51F01C41E761A1F6A3B83241901D38E765F01C41D6CEF7D3A9B83241400AD7A366F01C4179931804AAB83241E0C3422D51F01C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CBD9690EFA7B83241E5A3703D5FF01C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.830' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.830' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 181544, NULL, 1, NULL, 0xBD0B000001040E0000008C6CE7FBFB0A3241E021FD76316118418D0F7A36FD0A3241408863DD5660184163CC5DCBFD0A3241D0CDAA4FF05F18412385EB71040B3241B0B662FFE95F1841B4408272050B3241203A924BAD5F18416E787A05070B324120F085C9705F1841168C4A2A090B324130F2418F345F1841585227E00B0B3241308EE4B2F85E1841C1C117260F0B3241F039234ABD5E1841B047E1FA120B3241C067B36A825E18412CFF215D170B324150E7FB29485E184159EC2F5B370A324160B20C71335E18411E41F1A3320A3241E0DA8A7D106118418C6CE7FBFB0A3241E021FD763161184101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C823F76989D0A324175FCA25DA85F1841, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.843' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.843' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10694242, NULL, 1, NULL, 0xBD0B0000010405000000032B87F6F1503641386EA3C12E332041E9F21FF2D75036412090A038283320411D4A7BC3D4503641B89690CF483320411704566EEB503641C0B359F55D332041032B87F6F1503641386EA3C12E33204101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CBA4EF255E35036419057C3AE3F332041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.853' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.853' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 3592791, NULL, 1, NULL, 0xBD0B0000010405000000D3C56D1485BC334130EA9532E57E1C411495D40984BC3341E03B4E513A7F1C417E26C286B8BC3341305B423E4B7F1C41BE749398B9BC3341B0938785F57E1C41D3C56D1485BC334130EA9532E57E1C4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C96A261D79EBC3341B71EBA13187F1C41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.863' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.863' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 14611945, 8013461, 1, NULL, 0xBD0B000001043600000092976E32062B3441A423B91C01E333419AE61DA70A2B3441F4770BC407E3334100098ADF0E2B344168C5FE920EE33341A713D0E4122B3441E8AE258415E333415A9FAB8D162B3441B02E6EA31CE33341EC51B8BE192B3441E82A87F623E333412B6519A21C2B3441C8B12E6E2BE333417524975F1F2B34416C2BF6F732E3334112363C1D222B3441A88026823AE33341D8096802252B3441C410C7FA41E3334170CE8812282B3441F041CF6649E333419D01BC252B2B34418C5149DD50E33341C220B0722E2B34413061C33358E333418B7CD033322B3441B810C73A5FE33341411361C3362B3441D044D8B065E33341383CBD523C2B3441DC0E9C736BE33341224A7B23422B3441ACD6340F71E33341130BB566472B3441C8AACF1577E3334120DBF9DE4B2B3441CC47E1BA7DE33341607FD9FD4F2B344140B9FCA784E33341FCC2642A542B344114B072888BE333417A0B24C8582B344154AF940592E33341BE86A7175E2B3441180DE0ED97E3334126287ECC632B3441BCC8767E9DE33341D200DEC2692B3441347424D7A2E33341C4F528DC6F2B3441503BDF0FA8E3334171A301FC752B344128530543ADE33341492575027C2B34414C1E168AB2E33341838CB90B822B3441A88251C9B7E33341B02E6E23882B34414C5986F8BCE3334132BB272F8E2B344144E17A34C2E33341083D9B15942B3441D8460398C7E3334158C1A8C4992B34416C348037CDE33341EB95B24C9F2B344150522700D3E3334176A52CC3A42B3441B86B09D9D8E333412F772D21AA2B34419CDD93C7DEE33341984C156CAF2B34414C158CCAE4E3334147BF7DBDB42B34410C5D6DC5EAE3334104BC0532BA2B3441E46C569DF0E33341708104E5BF2B34414C742437F6E33341F6EDEBE0C52B34418CB0E189FBE3334140CF6615CC2B3441A418049600E43341F1A7C68BD22B3441BCCAA14505E4334136B4C836D92B3441ECE995B209E43341C832C4D1DF2B3441240F0B350EE43341F6C2642AE62B3441980D4F0F13E4334132772D61EC2B34410834111618E433417C36ABFEED2B3441EC0DBE7019E433415327A049032C34410C5F984C00E333413FAD69DEFE2B34416C226CF8FFE2334171C5FED2F72A34418C416045ECE233417A7AA5ECFC2A34417C2F4C06F4E23341BF9F1A8F012B344190B20C91FAE2334192976E32062B3441A423B91C01E3334101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CCB9C670D9B2B344197229C065FE33341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.877' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.877' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 7488882, NULL, 1, NULL, 0xBD0B00000104070000004260E550A47D3041C08BDBE899041D41CB6D3440A47D3041A0749398C4041D416A006F81B27D304190B20CF1C2041D418A635DDCAE7D3041F0907E3BB9041D416F348047AB7D3041B0E61D27AF041D41234A7BC3A77D30415058A8B5A4041D414260E550A47D3041C08BDBE899041D4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CF91B39F2A87D304149F1930DB6041D41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.887' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.887' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 4786050, NULL, 1, NULL, 0xBD0B000001040400000021DBF93EB82C324130363CBDF8BD184164BA498CC42C324100E8D9ACFABD1841F0EBC079B92C3241F0F2B0D07BBD184121DBF93EB82C324130363CBDF8BD184101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C272BACC1BC2C32410B5B42BECFBD1841, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.897' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.897' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 8969604, 31216901, 1, NULL, 0xBD0B000001040E000000E4B5845C6C8533410081044597D81B41DB68006F6385334170499D006CD91B41F09E3C6C8E853341A06E12831CDA1B41497B83AF96853341A0FB3A703EDA1B413208ACAC96853341B0900FBA33DA1B41423EE89996853341C013D00429DA1B4136AB3E7796853341E0F21F521EDA1B413E8B6C9795853341A02A18D5FBD91B41A660541294853341208F53B4D9D91B412E5530EA91853341E0AD4721B8D91B41256519228F85334140287E4C97D91B4195081BBE8B853341D0787A6577D91B41058A1FC38785334190BE9F9A58D91B41E4B5845C6C8533410081044597D81B4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CAF3CC6A07B853341463BBD9970D91B41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.907' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.907' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 12457698, NULL, 1, NULL, 0xBD0B000001040A000000A045B6D3F52B364188779CE284D120414C27A019032C3641D83B4E5199D12041EEB050AB102C3641100F0BF5ACD1204130E6AE851E2C3641F0D478C9BFD12041E773B5A52C2C364188A757CAD1D12041E62631083B2C3641C80E9CF3E2D120418F4AEAC4612C364140355E3AA2D120413F1361432E2C364148992A9826D12041D5CEF793292C364160DA1B7C2ED12041A045B6D3F52B364188779CE284D1204101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CD8B411FE2D2C36411FD7D18589D12041, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.917' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.917' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 13977989, 23695831, 1, NULL, 0xBD0B00000104050000001CDBF93EF4782B41484013019464314182A7574A08792B418C06F0D693643141B2F1D28D07792B419CFF909E7C64314160EE5A82F3782B41C866D5C77C6431411CDBF93EF4782B41484013019464314101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CA7BF4FE6FD782B4197B3984F88643141, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.927' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.927' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 4956478, NULL, 1, NULL, 0xBD0B000001041E000000188C4ACACDA53141C03EE8D96A661B41E8263108C3A53141A094658831661B416CF90FE9B3A5314180BC7493DD651B417B4F1EF6B0A5314100B45935CF651B41EFF44A89ADA53141C02EDDA4C2651B41D6CEF7B3A9A53141009C3322B8651B41EDEBC089A5A5314170AEB6E2AF651B41A7ADD81FA1A5314190F2B010AA651B415AB1BF8C9CA531416027A0C9A6651B4119D9CEE797A5314150764F1EA6651B41E61DA74893A53141F0BB0512A8651B415D5DDCC68EA53141209A089BAC651B4135234ABB89A531417014AE07B3651B41FD2A87E684A53141800E2DB2BB651B4167226C5880A53141407FD97DC6651B4191E4F21F7CA53141E0A67947D3651B41D5F0F44A78A53141E0F7C2E4E1651B414DA60AE674A531412054E325F2651B4187635DFC71A53141C0CE66D503661B416F3480976FA53141E0D93DB916661B41CA7F48BF6DA5314190855A932A661B415E07CE796CA53141C00968223F661B41020000A064A5314160B3EA73C4661B41F7C2646A68A53141B066D5E7D6661B41B51E856B6BA53141403333B3D6661B41D9E76A6BDCA53141A02CB29DCB661B415F3255D0DEA53141600B24A8BC661B41F05A42FED8A53141F0EDEBC0A1661B419BB20C51D3A5314190D9AC7A86661B41188C4ACACDA53141C03EE8D96A661B4101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C5A9A88019BA531413DFF623557661B41, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.940' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.940' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 1, N'HA', N'MOTIADMIN', N'Yes', N'PAIMS', CAST(N'2021-08-31' AS Date), NULL, NULL, 10265554, NULL, 1, NULL, 0xBD0B000001040F000000E83FA49F33C6354100C1392308A92341225A649B3FC635418058A8F552A9234132431C2B46C63541C8BFEC5E79A92341A657CA1251C63541E8BE0E9C72A92341CEAACFC55BC63541B898BB3668A923416766662666C63541508FC2955CA923419475712B70C63541401361C34FA923417A832FCC79C63541809ECDCA41A92341C76D340083C6354120D044B832A92341D55F76BF8BC63541C834EF9822A923413645470294C635412063EE7A11A923416A006FC19BC6354160A8356DFFA8234132DD24F6A2C635415824977FECA8234109AC1C9AA9C635411893A9C2D8A82341E83FA49F33C6354100C1392308A9234101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010C93EC833166C63541E4619B2F22A92341, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, 3, CAST(N'2021-08-31T16:55:57.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2021-08-31T23:55:59.000' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', CAST(N'2022-03-04T21:09:18.950' AS DateTime), N'dbo', CAST(N'2022-03-04T21:09:18.950' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 4, N'HA', N'FEESIMP', N'YES', N'PAIMS', CAST(N'2021-10-08' AS Date), NULL, NULL, 25196375, NULL, 1865, N'Strictly speaking, an extrapolation of the stra', 0xBD0B0000010411000000F953E385643633415CF7E481359234416FC5FED25F363341188C4A8A3292344162BA498C57363341280681153F92344157F5B91A5C363341080681F541923441F063CC3D7136334150B1BF4C4F923441BDD32B8576363341F8EDEBA05292344121B9FC8791363341409FAB0D5692344161C3D32BCB363341D4B5845C5D9234411E6C789AD03633418CA982515792344187D2DEE043373341DC6A2B16D7913441D1F753433E3733414C9D8026D2913441FE99089B383733418016D92ECD913441653BDF6FC5363341EC41CF664D923441BEA8A48E9D36334128287E6C489234415817B7B17B363341A489B0214492344199438BAC79363341305A64DB42923441F953E385643633415CF7E4813592344101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CE41444E3D5363341675A550F2A923441, NULL, NULL, NULL, 0, 0, 0, 0, NULL, N'Firming up the g', 13, CAST(N'2021-10-08T20:26:14.683' AS DateTime), N'ETL', NULL, N'place_holder', CAST(N'2021-10-08T20:26:14.683' AS DateTime), N'ETL', NULL, N'place_holder', CAST(N'2022-03-04T21:10:01.010' AS DateTime), N'dbo', CAST(N'2022-03-04T21:10:01.010' AS DateTime), N'dbo') +GO +INSERT [dbo].[PIMS_PROPERTY] ([PROPERTY_MANAGER_ID], [PROP_MGMT_ORG_ID], [PROPERTY_TYPE_CODE], [PROPERTY_CLASSIFICATION_TYPE_CODE], [ADDRESS_ID], [REGION_CODE], [DISTRICT_CODE], [PROPERTY_AREA_UNIT_TYPE_CODE], [PROPERTY_STATUS_TYPE_CODE], [SURPLUS_DECLARATION_TYPE_CODE], [PROPERTY_DATA_SOURCE_TYPE_CODE], [PROPERTY_DATA_SOURCE_EFFECTIVE_DATE], [NAME], [DESCRIPTION], [PID], [PIN], [LAND_AREA], [LAND_LEGAL_DESCRIPTION], [BOUNDARY], [LOCATION], [ENCUMBRANCE_REASON], [SURPLUS_DECLARATION_COMMENT], [SURPLUS_DECLARATION_DATE], [IS_OWNED], [IS_PROPERTY_OF_INTEREST], [IS_VISIBLE_TO_OTHER_AGENCIES], [IS_SENSITIVE], [ZONING], [ZONING_POTENTIAL], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY], [DB_CREATE_TIMESTAMP], [DB_CREATE_USERID], [DB_LAST_UPDATE_TIMESTAMP], [DB_LAST_UPDATE_USERID]) VALUES ( NULL, NULL, N'LAND', N'COREOPER', 1, 1, 4, N'HA', N'FEESIMP', N'YES', N'PAIMS', CAST(N'2021-10-27' AS Date), NULL, NULL, 25196375, NULL, 1865, N'Strictly speaking, an extrapolation of the stra', 0xBD0B0000010411000000F953E385643633415CF7E481359234416FC5FED25F363341188C4A8A3292344162BA498C57363341280681153F92344157F5B91A5C363341080681F541923441F063CC3D7136334150B1BF4C4F923441BDD32B8576363341F8EDEBA05292344121B9FC8791363341409FAB0D5692344161C3D32BCB363341D4B5845C5D9234411E6C789AD03633418CA982515792344187D2DEE043373341DC6A2B16D7913441D1F753433E3733414C9D8026D2913441FE99089B383733418016D92ECD913441653BDF6FC5363341EC41CF664D923441BEA8A48E9D36334128287E6C489234415817B7B17B363341A489B0214492344199438BAC79363341305A64DB42923441F953E385643633415CF7E4813592344101000000020000000001000000FFFFFFFF0000000003, 0xBD0B0000010CE41444E3D5363341675A550F2A923441, NULL, NULL, NULL, 0, 0, 0, 0, NULL, N'Firming up the g', 5, CAST(N'2021-10-27T17:40:25.273' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'place_holder', CAST(N'2021-10-27T17:40:25.273' AS DateTime), N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'place_holder', CAST(N'2022-03-04T21:10:18.683' AS DateTime), N'dbo', CAST(N'2022-03-04T21:10:18.683' AS DateTime), N'dbo') +GO \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/06_DML_LEASE_PROPERTY_TENURE_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/06_DML_LEASE_PROPERTY_TENURE_TYPE.sql new file mode 100644 index 0000000000..06824ccb97 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/06_DML_LEASE_PROPERTY_TENURE_TYPE.sql @@ -0,0 +1,1296 @@ +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 7723385), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 11041404), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14083736), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 4082664), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 15937437), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10459189), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13821202), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 18414885), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8750858), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13995570), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14083663), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14413001), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 2833913), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14116111), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 11893613), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 5764068), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8270333), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 7487983), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 2833948), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8988374), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8829381), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 25542371), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 12572039), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10204610), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 11756896), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 23915803), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13997998), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14083698), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 5868530), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10459294), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 11097710), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 15494772), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 12648337), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 5484022), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 2518911), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13601709), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 15937551), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 15937534), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 4735153), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 4300017), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13908332), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13869591), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 9659790), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 7482876), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13226291), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 16264436), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 12912727), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13997971), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 5608481), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13843389), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 12917320), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14083612), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13226231), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 12648302), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 11929090), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 11471409), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10012044), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14215225), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 15885844), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14508567), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 12190616), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13978063), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13769634), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 9680411), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 15302113), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 7487991), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13226151), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977920), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 6205861), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 1342177), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13602039), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 5649293), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13226134), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14083523), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14083701), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14297744), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14346036), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 7482965), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 5090083), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13998056), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14083582), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 17839149), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 9325611), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 7894678), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 5090199), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8442827), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13995561), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8779074), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13602047), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 9126279), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 886874), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 6914781), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10318658), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 12787540), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 3780899), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977580), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977865), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 11212527), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 11472031), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14083566), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13873695), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 5056144), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14042231), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8803277), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 3862747), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14413027), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13772341), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 2344700), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 6934510), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 3842894), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13252984), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10319310), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 12909599), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13995588), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 9742522), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14116103), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13601717), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 12457701), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 12916421), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 9987088), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10475915), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 3314448), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10806121), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10465677), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977890), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14411784), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10459171), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 5246881), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13226177), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977776), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977954), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 3175944), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14297701), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 2135469), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14194589), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10418563), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14880598), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 5726981), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10459227), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 3940934), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 5090121), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977636), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8452792), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 12572021), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 1179217), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8803293), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10912185), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 9911413), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8451940), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14291002), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13843095), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13998005), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 9680276), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10459316), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 16622537), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 11016906), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 9805699), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 15102882), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 5090130), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977903), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8450919), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 23730307), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14341239), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13829726), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 9680331), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977709), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 26934426), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 2911230), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8992703), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 15937500), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 11726768), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13226258), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977938), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 4786068), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13843354), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13998099), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14341221), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 4682807), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14612429), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13843371), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 11236892), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13601679), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 3842878), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 7488921), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 6227481), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13908341), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10783237), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14297710), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14339544), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 11844990), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8534683), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13862944), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13602021), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10459251), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 3094294), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14612119), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 7487967), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977792), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977598), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 19171269), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 18285121), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13602012), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 9956727), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10464824), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 7487959), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 3780929), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13995553), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977997), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977962), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14412985), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13876236), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13852558), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14767953), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 17454981), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13369792), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 12909611), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 12072877), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8926042), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13676687), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10496653), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977563), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10418547), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 9126210), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 15127125), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13852752), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 4682742), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 15357473), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8395080), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10449213), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 7489293), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13997980), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 12043087), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13786121), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 11062274), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 2172232), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10919473), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 2848406), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 2848392), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 15392317), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 5090105), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 5090164), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10128239), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977652), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 9939679), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10596518), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13843125), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977628), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977857), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 3576825), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14612445), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 1827391), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13601695), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13508466), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13226193), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 12648388), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977822), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 6091407), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14073676), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 24777188), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8192294), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14083647), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13978055), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13998111), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13978012), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 9096426), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 15937461), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13253000), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13226223), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 18289886), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 2590956), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 832570), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 23844361), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8487464), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 4978994), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10308610), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 15848591), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 12640204), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14083531), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 12572063), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977971), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10418555), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14342197), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:58.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10456481), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13226274), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 4969847), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13978039), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 9679651), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14567920), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10418512), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 4682726), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13843117), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 12917354), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13978004), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13601652), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10465120), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 2746778), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13226215), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 11981075), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 6205976), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13676709), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 29171628), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 5437440), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13998145), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13908316), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977601), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977873), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 3057011), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 5984149), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 6646964), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10448985), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 24235563), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 5090172), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977644), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13978047), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13769651), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10545182), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977717), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13978071), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13601687), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8803269), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8803251), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 7482922), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 5090113), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977911), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 1887726), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 9680306), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13667335), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8928436), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 7013167), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 7482931), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 4358988), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13226304), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977814), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 3592723), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 5090091), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977946), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10002332), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 9615601), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10408517), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 6938167), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14073854), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 1623699), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 11097655), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 12917389), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 11157674), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14073871), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14666405), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13601113), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 11325976), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8913595), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10459235), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 5090156), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8446032), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13602055), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 5727022), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 12909581), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14009722), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14612381), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 1622579), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13978021), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 2734079), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 2113716), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977881), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10319581), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10449183), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10459286), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 9679391), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977695), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977784), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13769626), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 12572047), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 9148043), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 12877425), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 17533538), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 9038884), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8387052), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13998013), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 6311237), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 3000991), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 18550061), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8394962), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 7319142), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977610), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10497986), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 16861825), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13862782), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 6257232), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13785648), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10318810), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 3587398), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13843109), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14371430), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 15494501), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8969612), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10358820), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 5649307), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14612364), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977849), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 4572602), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 2213877), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 9680373), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 12728390), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13998072), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 9212434), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13872401), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 4600711), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 5896835), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 3352552), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14342413), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 7488009), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 24047945), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13995596), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13998030), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14413019), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 4940164), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 15937445), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10465103), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 3771482), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8048801), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13873717), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13829734), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 181544), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10694242), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 3592791), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 14611945), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 7488882), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 4786050), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 8969604), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 12457698), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 13977989), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 4956478), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO +INSERT INTO [dbo].[PIMS_PROP_PROP_TENURE_TYPE]([PROPERTY_ID], [PROPERTY_TENURE_TYPE_CODE], [APP_CREATE_TIMESTAMP], [APP_CREATE_USERID], [APP_CREATE_USER_GUID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_TIMESTAMP], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_GUID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES( (SELECT TOP 1 PROPERTY_ID FROM PIMS_PROPERTY WHERE PID = 10265554), N'TM', '20210831 16:55:57.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A', '20210831 23:55:59.0', N'APP_PIMS_PROXY_ETL_EDIT', NULL, N'N/A') +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/07_DML_PROPERTY_LEASE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/07_DML_PROPERTY_LEASE.sql new file mode 100644 index 0000000000..d6cdc5e990 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/07_DML_PROPERTY_LEASE.sql @@ -0,0 +1,331 @@ +INSERT INTO [dbo].[PIMS_PROPERTY_LEASE] (PROPERTY_ID, LEASE_ID, APP_CREATE_TIMESTAMP, APP_CREATE_USERID, APP_CREATE_USER_DIRECTORY, APP_LAST_UPDATE_TIMESTAMP, APP_LAST_UPDATE_USERID, APP_LAST_UPDATE_USER_DIRECTORY) +VALUES + (153, 17, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (433, 26, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (401, 24, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (110, 23, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (164, 43, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (224, 19, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (346, 11, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (260, 21, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (198, 39, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (409, 8, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (19, 10, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (23, 24, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (231, 27, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (193, 11, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (435, 13, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (318, 53, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (208, 55, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (2, 29, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (295, 39, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (307, 4, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (119, 12, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (201, 23, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (229, 51, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (425, 41, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (220, 30, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (289, 38, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (362, 29, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (91, 30, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (227, 22, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (309, 32, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (124, 12, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (350, 9, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (71, 42, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (405, 33, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (408, 21, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (374, 34, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (221, 24, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (420, 16, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (88, 14, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (408, 14, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (168, 34, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (253, 24, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (43, 46, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (148, 5, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (232, 54, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (297, 35, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (172, 26, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (376, 13, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (389, 50, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (28, 22, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (332, 45, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (83, 31, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (352, 38, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (111, 44, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (325, 33, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (179, 4, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (46, 17, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (144, 42, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (123, 7, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (14, 23, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (60, 33, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (164, 25, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (51, 32, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (227, 16, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (129, 51, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (181, 36, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (353, 2, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (20, 23, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (209, 35, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (392, 37, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (177, 2, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (415, 13, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (132, 13, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (183, 22, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (65, 40, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (80, 9, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (321, 7, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (93, 51, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (373, 23, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (275, 6, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (82, 4, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (133, 22, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (212, 24, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (170, 55, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (50, 35, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (265, 35, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (187, 32, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (181, 5, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (275, 4, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (173, 15, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (38, 53, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (44, 33, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (62, 5, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (373, 32, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (400, 19, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (173, 24, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (323, 25, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (228, 10, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (170, 46, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (98, 22, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (104, 15, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (48, 51, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (249, 6, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (56, 37, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (148, 37, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (282, 17, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (342, 22, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (395, 5, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (220, 50, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (83, 44, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (138, 24, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (165, 20, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (148, 20, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (127, 42, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (254, 55, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (355, 29, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (339, 12, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (63, 21, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (215, 23, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (212, 7, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (68, 48, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (347, 9, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (106, 24, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (68, 42, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (83, 52, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (376, 7, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (368, 9, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (120, 7, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (221, 35, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (59, 47, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (315, 37, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (166, 52, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (138, 27, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (353, 12, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (120, 26, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (362, 43, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (218, 42, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (318, 54, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (264, 39, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (319, 14, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (423, 5, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (72, 16, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (69, 14, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (23, 15, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (285, 11, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (228, 17, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (258, 34, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (105, 52, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (14, 16, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (426, 49, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (291, 8, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (341, 42, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (307, 30, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (36, 21, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (76, 19, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (348, 15, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (290, 37, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (284, 46, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (4, 6, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (300, 3, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (382, 45, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (222, 40, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (54, 42, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (278, 12, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (281, 16, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (164, 9, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (18, 34, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (384, 8, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (140, 7, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (3, 20, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (84, 10, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (403, 34, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (127, 34, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (281, 34, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (280, 43, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (410, 25, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (96, 29, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (400, 46, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (159, 23, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (424, 14, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (420, 52, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (353, 7, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (160, 24, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (96, 7, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (358, 31, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (218, 28, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (246, 17, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (37, 36, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (20, 34, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (207, 47, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (46, 32, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (148, 11, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (435, 53, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (76, 52, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (369, 37, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (381, 2, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (335, 35, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (289, 51, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (186, 23, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (188, 15, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (82, 8, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (355, 21, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (312, 46, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (182, 10, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (406, 19, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (45, 42, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (228, 29, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (95, 24, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (224, 8, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (319, 28, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (359, 6, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (322, 34, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (269, 41, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (42, 15, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (335, 46, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (115, 2, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (256, 16, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (308, 50, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (396, 9, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (12, 9, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (438, 34, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (132, 12, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (41, 33, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (46, 1, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (386, 41, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (421, 8, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (389, 3, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (398, 9, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (411, 27, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (178, 23, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (90, 13, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (185, 52, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (25, 46, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (170, 37, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (319, 17, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (281, 49, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (103, 5, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (411, 44, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (136, 19, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (91, 46, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (404, 45, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (4, 3, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (4, 47, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (224, 38, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (10, 54, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (165, 21, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (406, 28, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (333, 6, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (412, 1, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (230, 40, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (361, 20, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (196, 6, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (89, 37, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (223, 42, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (408, 35, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (81, 35, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (127, 6, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (90, 30, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (51, 52, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (57, 44, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (393, 28, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (366, 51, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (151, 10, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (277, 40, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (247, 9, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (213, 20, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (115, 24, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (206, 39, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (369, 17, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (384, 41, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (249, 34, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (77, 53, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (173, 6, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (184, 2, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (23, 34, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (94, 27, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (291, 21, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (8, 35, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (134, 5, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (192, 12, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (259, 49, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (267, 37, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (282, 42, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (71, 47, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (294, 52, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (211, 23, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (42, 26, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (368, 40, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (47, 31, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (6, 26, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (383, 8, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (214, 40, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (6, 5, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (104, 18, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (91, 54, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (304, 5, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (141, 28, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (47, 34, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (331, 4, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (57, 31, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (190, 8, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (230, 48, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (317, 7, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (312, 38, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (36, 48, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (110, 12, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (326, 34, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (312, 9, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (78, 48, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (276, 4, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (376, 37, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (223, 16, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (398, 55, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (258, 25, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (187, 1, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (4, 5, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (324, 42, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (409, 20, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (169, 35, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (154, 5, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (121, 54, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (320, 18, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (60, 30, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (407, 14, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (65, 32, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (149, 2, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (209, 54, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (139, 21, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'), + (222, 31, CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data', CURRENT_TIMESTAMP, N'Seed Data', N'Seed Data'); diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/08_CONTACTS_ORGANIZATION_TEST_DATA.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/08_CONTACTS_ORGANIZATION_TEST_DATA.sql new file mode 100644 index 0000000000..cc00a6952c --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/08_CONTACTS_ORGANIZATION_TEST_DATA.sql @@ -0,0 +1,27 @@ +-- Add more fields to seed data for read view of contact organization +UPDATE [PIMS_ORGANIZATION] + SET [ORGANIZATION_ALIAS] = 'MOTI', [COMMENT] = 'This is a test comment', [INCORPORATION_NUMBER] = 1234, [CONCURRENCY_CONTROL_NUMBER] = [CONCURRENCY_CONTROL_NUMBER] + 1 + WHERE [ORGANIZATION_ID] = 1 + +INSERT INTO [PIMS_ORGANIZATION_ADDRESS] ([ORGANIZATION_ID], [ADDRESS_ID], [ADDRESS_USAGE_TYPE_CODE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES (1, 1, 'BILLING', 0, 1, 'Test Data', 'Test Data', 'Test Data', 'Test Data'), (1, 2, 'MAILING', 0, 1, 'Test Data', 'Test Data', 'Test Data', 'Test Data') + +INSERT INTO [PIMS_PERSON_ORGANIZATION] ([PERSON_ID], [ORGANIZATION_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES (2, 1, 0, 1, 'Test Data', 'Test Data', 'Test Data', 'Test Data'), (1, 1, 0, 1, 'Test Data', 'Test Data', 'Test Data', 'Test Data') + +INSERT INTO [PIMS_CONTACT_METHOD] ([CONTACT_METHOD_TYPE_CODE], [ORGANIZATION_ID], [CONTACT_METHOD_VALUE], [IS_PREFERRED_METHOD], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES ('WORKEMAIL', 1, 'tester@test.com', 0, 1, 'Test Data', 'Test Data', 'Test Data', 'Test Data'), ('WORKPHONE', 1, '2501234567', 0, 1, 'Test Data', 'Test Data', 'Test Data', 'Test Data') + +-- Add data for individual contact view +INSERT INTO [PIMS_CONTACT_METHOD] ([CONTACT_METHOD_TYPE_CODE], [PERSON_ID], [CONTACT_METHOD_VALUE], [IS_PREFERRED_METHOD], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES ('WORKEMAIL', 1, 'tester@test.com', 0, 1, 'Test Data', 'Test Data', 'Test Data', 'Test Data'), ('WORKPHONE', 1, '2501234567', 0, 1, 'Test Data', 'Test Data', 'Test Data', 'Test Data') + +INSERT INTO [PIMS_PERSON_ADDRESS] ([PERSON_ID], [ADDRESS_ID], [ADDRESS_USAGE_TYPE_CODE], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES (1, 1, 'BILLING', 0, 1, 'Test Data', 'Test Data', 'Test Data', 'Test Data'), (1, 2, 'MAILING', 0, 1, 'Test Data', 'Test Data', 'Test Data', 'Test Data') + +UPDATE [PIMS_PERSON] + SET [PREFERRED_NAME] = 'Tester McTest', [COMMENT] = 'This is a test comment.', [CONCURRENCY_CONTROL_NUMBER] = [CONCURRENCY_CONTROL_NUMBER] + 1 + WHERE [PERSON_ID] = 1 + +INSERT INTO [PIMS_PERSON_ORGANIZATION] ([PERSON_ID], [ORGANIZATION_ID], [IS_DISABLED], [CONCURRENCY_CONTROL_NUMBER], [APP_CREATE_USERID], [APP_CREATE_USER_DIRECTORY], [APP_LAST_UPDATE_USERID], [APP_LAST_UPDATE_USER_DIRECTORY]) + VALUES (1, 2, 0, 1, 'Test Data', 'Test Data', 'Test Data', 'Test Data') diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/09_CONTACTS_TEST_DATA.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/09_CONTACTS_TEST_DATA.sql new file mode 100644 index 0000000000..17c6e49487 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/09_CONTACTS_TEST_DATA.sql @@ -0,0 +1,8 @@ +-- Change to inactive organization +UPDATE + [dbo].[PIMS_ORGANIZATION] +SET + [IS_DISABLED] = 1, + [CONCURRENCY_CONTROL_NUMBER] = [CONCURRENCY_CONTROL_NUMBER] + 1 +WHERE + [ORGANIZATION_ID] = 5 diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/10_INSURANCE_TEST_DATA.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/10_INSURANCE_TEST_DATA.sql new file mode 100644 index 0000000000..a9a1f8a095 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/10_INSURANCE_TEST_DATA.sql @@ -0,0 +1,35 @@ +-- Insert test data for insurance related to lease id = 2 +INSERT INTO [dbo].[PIMS_INSURANCE] + ( + [LEASE_ID] + ,[INSURANCE_TYPE_CODE] + ,[COVERAGE_DESCRIPTION] + ,[COVERAGE_LIMIT] + ,[EXPIRY_DATE] + ,[CONCURRENCY_CONTROL_NUMBER] + ) +VALUES + ( + 2 + , 'GENERAL' + , 'This is a description provided for insurance in order to test. Insurance type code is general.' + , 100000 + , '2022-12-23' + , 1 +), + ( + 2 + , 'MARINE' + , 'This is a description provided for insurance in order to test. This is of type marine.' + , 100000 + , '2022-12-23' + , 1 +), + ( + 2 + , 'VEHICLE' + , 'This is a description provided for insurance in order to test. This is of type vehicle.' + , 100000 + , '2022-12-23' + , 1 +) diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/11_LEASE_TEST_DATA.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/11_LEASE_TEST_DATA.sql new file mode 100644 index 0000000000..cf2cad795f --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/11_LEASE_TEST_DATA.sql @@ -0,0 +1,155 @@ +-- Add pids for lease and license header +UPDATE + [dbo].[PIMS_PROPERTY_LEASE] +SET + [LEASE_ID] = 2, + [CONCURRENCY_CONTROL_NUMBER] = [CONCURRENCY_CONTROL_NUMBER] + 1 +WHERE + [LEASE_ID] = 45 + +-- Add improvements for lease +INSERT INTO + dbo.[PIMS_PROPERTY_IMPROVEMENT] + ( + [LEASE_ID], + [PROPERTY_IMPROVEMENT_TYPE_CODE], + [IMPROVEMENT_DESCRIPTION], + [STRUCTURE_SIZE], + [CONCURRENCY_CONTROL_NUMBER] + ) +VALUES + ( + 2, + 'COMMBLDG', + 'This is a test description for the purpose of testing things and ensuring they are testable. ', + '1234 sq ft.', + 1 + ), + ( + 2, + 'OTHER', + 'This is a test description for the purpose of testing things and ensuring they are testable. ', + '111 sq ft.', + 1 + ), + ( + 2, + 'RTA', + 'This is a test description for the purpose of testing things and ensuring they are testable. ', + '222 sq ft.', + 1 + ) +-- Associate property with lease +UPDATE + [dbo].[PIMS_PROPERTY_LEASE] +SET + [LEASE_ID] = 2, + [CONCURRENCY_CONTROL_NUMBER] = [CONCURRENCY_CONTROL_NUMBER] + 1 +WHERE + [LEASE_ID] = 17 + +-- Populate random l file number for leases +UPDATE + [dbo].[PIMS_LEASE] +SET + [L_FILE_NO] = CAST( + LEFT( + CAST( + ABS(CAST(CAST(NEWID() as BINARY(10)) as int)) as varchar(max) + ) + '00000000', + 9 + ) as int + ), + [CONCURRENCY_CONTROL_NUMBER] = [CONCURRENCY_CONTROL_NUMBER] + 1 +WHERE + [L_FILE_NO] IS NULL + +-- Populate tenant name for leases +UPDATE + [dbo].[PIMS_LEASE_TENANT] +SET + [PERSON_ID] = 4, + [CONCURRENCY_CONTROL_NUMBER] = [CONCURRENCY_CONTROL_NUMBER] + 1 +WHERE + [PERSON_ID] IS NULL + +-- Populate different tenant name on even id's for varience +UPDATE + [dbo].[PIMS_LEASE_TENANT] +SET + [PERSON_ID] = 1, + [CONCURRENCY_CONTROL_NUMBER] = [CONCURRENCY_CONTROL_NUMBER] + 1 +WHERE + [LEASE_TENANT_ID] % 2 = 0 +UPDATE + [dbo].[PIMS_LEASE_TENANT] +SET + [PERSON_ID] = 2, + [CONCURRENCY_CONTROL_NUMBER] = [CONCURRENCY_CONTROL_NUMBER] + 1 +WHERE + [PERSON_ID] IS NULL + +-- Make sure every lease has property associated to it (331 seed property leases, and 110 leases) +INSERT INTO + [dbo].[PIMS_PROPERTY_LEASE] + ( + [PROPERTY_ID], + [LEASE_ID], + [CONCURRENCY_CONTROL_NUMBER] + ) +VALUES + (1, 1, 1), + (2, 2, 1), + (3, 3, 1), + (4, 4, 1), + (5, 5, 1), + (6, 6, 1), + (7, 7, 1), + (8, 8, 1), + (9, 9, 1), + (10, 10, 1), + (11, 11, 1), + (12, 12, 1), + (13, 13, 1), + (14, 14, 1), + (15, 15, 1), + (16, 16, 1), + (17, 17, 1), + (18, 18, 1), + (19, 19, 1), + (20, 20, 1), + (21, 21, 1), + (22, 22, 1), + (23, 23, 1), + (24, 24, 1), + (25, 25, 1), + (26, 26, 1), + (27, 27, 1), + (28, 28, 1), + (29, 29, 1), + (30, 30, 1), + (31, 31, 1), + (32, 32, 1), + (33, 33, 1), + (34, 34, 1), + (35, 35, 1), + (36, 36, 1), + (37, 37, 1), + (38, 38, 1), + (39, 39, 1), + (40, 40, 1), + (41, 41, 1), + (42, 42, 1), + (43, 43, 1), + (44, 44, 1), + (45, 45, 1), + (46, 46, 1), + (47, 47, 1), + (48, 48, 1), + (49, 49, 1), + (50, 50, 1), + (51, 51, 1), + (52, 52, 1), + (53, 53, 1), + (54, 54, 1), + (55, 55, 1) diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/12_SECURITY_DEPOSIT_TEST_DATA.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/12_SECURITY_DEPOSIT_TEST_DATA.sql new file mode 100644 index 0000000000..29805eaf5f --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/12_SECURITY_DEPOSIT_TEST_DATA.sql @@ -0,0 +1,28 @@ +-- Insert security deposit data of the three different SEC_DEP_HOLDER_TYPE_CODE +INSERT INTO [dbo].[PIMS_SECURITY_DEPOSIT] + ([LEASE_ID], [SECURITY_DEPOSIT_TYPE_CODE], [DESCRIPTION], [AMOUNT_PAID], [DEPOSIT_DATE], [CONCURRENCY_CONTROL_NUMBER]) +VALUES + ( + 2 + , 'PET' + , 'This is a test description' + , 1111 + , GETDATE() + , 1 + ), + ( + 3 + , 'SECURITY' + , 'This is a test description.' + , 10000 + , GETDATE() + , 1 + ), + ( + 4 + , 'PET' + , 'This is a test description.' + , 5000 + , GETDATE() + , 1 + ) diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/13_SECURITY_DEPOSIT_RETURN_TEST_DATA.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/13_SECURITY_DEPOSIT_RETURN_TEST_DATA.sql new file mode 100644 index 0000000000..19ce19a365 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/13_SECURITY_DEPOSIT_RETURN_TEST_DATA.sql @@ -0,0 +1,26 @@ +INSERT INTO [dbo].[PIMS_SECURITY_DEPOSIT_RETURN] + ( + [SECURITY_DEPOSIT_ID] + ,[TERMINATION_DATE] + ,[CLAIMS_AGAINST] + ,[RETURN_AMOUNT] + ,[RETURN_DATE] + ,[CONCURRENCY_CONTROL_NUMBER] + ) +VALUES + ( + 1 + , GETDATE() + , 500 + , 250 + , GETDATE() + , 1 + ), + ( + 2 + , GETDATE() + , 500 + , 270 + , GETDATE() + , 1 + ) diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/14_SECURITY_DEPOSIT_RETURN_HOLDER_TEST_DATA.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/14_SECURITY_DEPOSIT_RETURN_HOLDER_TEST_DATA.sql new file mode 100644 index 0000000000..43c0c0a899 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/14_SECURITY_DEPOSIT_RETURN_HOLDER_TEST_DATA.sql @@ -0,0 +1,17 @@ +INSERT INTO [dbo].[PIMS_SECURITY_DEPOSIT_RETURN_HOLDER] + ( + [SECURITY_DEPOSIT_RETURN_ID] + ,[PERSON_ID] + ,[CONCURRENCY_CONTROL_NUMBER] + ) +VALUES + ( + (SELECT TOP 1 SECURITY_DEPOSIT_RETURN_ID FROM PIMS_SECURITY_DEPOSIT_RETURN WHERE SECURITY_DEPOSIT_ID = 1) + , (SELECT TOP 1 PERSON_ID FROM PIMS_PERSON WHERE SURNAME = 'Wilson') + , 1 + ), + ( + (SELECT TOP 1 SECURITY_DEPOSIT_RETURN_ID FROM PIMS_SECURITY_DEPOSIT_RETURN WHERE SECURITY_DEPOSIT_ID = 2) + , (SELECT TOP 1 PERSON_ID FROM PIMS_PERSON WHERE SURNAME = 'Mouse') + , 1 + ) diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/15_SURPLUS_DECLERATION_TEST_DATA.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/15_SURPLUS_DECLERATION_TEST_DATA.sql new file mode 100644 index 0000000000..bd18739adf --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/15_SURPLUS_DECLERATION_TEST_DATA.sql @@ -0,0 +1,18 @@ +-- Creating test data for surplus declerations +INSERT INTO PIMS_PROPERTY_LEASE + (PROPERTY_ID, LEASE_ID, CONCURRENCY_CONTROL_NUMBER) +VALUES + (2, 45, 1) +INSERT INTO PIMS_PROPERTY_LEASE + (PROPERTY_ID, LEASE_ID, CONCURRENCY_CONTROL_NUMBER) +VALUES + (3, 45, 1) + +UPDATE PIMS_PROPERTY SET SURPLUS_DECLARATION_TYPE_CODE = 'YES', SURPLUS_DECLARATION_DATE = CURRENT_TIMESTAMP, CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1 + WHERE PROPERTY_ID = 39 + +UPDATE PIMS_PROPERTY SET SURPLUS_DECLARATION_TYPE_CODE = 'UNKNOWN', SURPLUS_DECLARATION_DATE = CURRENT_TIMESTAMP, SURPLUS_DECLARATION_COMMENT = 'Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Vestibulum tempus iaculis ex eget semper. Etiam eget sollicitudin mauris. Mauris nec ligula eu massa faucibus ullamcorper in a dui. Donec ut arcu lacinia libero vehicula convallis vel tempus orci. Integer erat turpis, rhoncus et auctor rhoncus, blandit at elit. In elit lectus, finibus non interdum ut, sodales nec leo. In orci odio, finibus in mi et, rhoncus blandit ligula.',CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1 + WHERE PROPERTY_ID = 2 + +UPDATE PIMS_PROPERTY SET SURPLUS_DECLARATION_TYPE_CODE = 'NO', SURPLUS_DECLARATION_DATE = CURRENT_TIMESTAMP, SURPLUS_DECLARATION_COMMENT = 'Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Vestibulum tempus iaculis ex eget semper. Etiam eget sollicitudin mauris. Mauris nec ligula eu massa faucibus ullamcorper in a dui. Donec ut arcu lacinia libero vehicula convallis vel tempus orci. Integer erat turpis, rhoncus et auctor rhoncus, blandit at elit. In elit lectus, finibus non interdum ut, sodales nec leo. In orci odio, finibus in mi et, rhoncus blandit ligula.',CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1 + WHERE PROPERTY_ID = 3 diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/16_TENANT_TEST_DATA.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/16_TENANT_TEST_DATA.sql new file mode 100644 index 0000000000..7915247bae --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/16_TENANT_TEST_DATA.sql @@ -0,0 +1,113 @@ +-- Populate lease tenant data +INSERT INTO + [dbo].[PIMS_LEASE_TENANT] + ( + LEASE_ID, + ORGANIZATION_ID, + LESSOR_TYPE_CODE + ) +VALUES + (45, 2, 'ORG'); + +-- Insert contact methods +INSERT INTO + PIMS_CONTACT_METHOD + ( + CONTACT_METHOD_TYPE_CODE, + PERSON_ID, + CONTACT_METHOD_VALUE, + APP_CREATE_USERID, + APP_CREATE_USER_DIRECTORY, + APP_LAST_UPDATE_USERID, + APP_LAST_UPDATE_USER_DIRECTORY + ) +VALUES + ( + 'WORKMOBIL', + 1, + '1111111111', + 'Test Data', + 'Test Data', + 'Test Data', + 'Test Data' + ); +INSERT INTO + PIMS_CONTACT_METHOD + ( + CONTACT_METHOD_TYPE_CODE, + PERSON_ID, + CONTACT_METHOD_VALUE, + APP_CREATE_USERID, + APP_CREATE_USER_DIRECTORY, + APP_LAST_UPDATE_USERID, + APP_LAST_UPDATE_USER_DIRECTORY + ) +VALUES + ( + 'WORKPHONE', + 2, + '2222222222', + 'Test Data', + 'Test Data', + 'Test Data', + 'Test Data' + ); +INSERT INTO + PIMS_CONTACT_METHOD + ( + CONTACT_METHOD_TYPE_CODE, + PERSON_ID, + CONTACT_METHOD_VALUE, + APP_CREATE_USERID, + APP_CREATE_USER_DIRECTORY, + APP_LAST_UPDATE_USERID, + APP_LAST_UPDATE_USER_DIRECTORY + ) +VALUES + ( + 'PERSMOBIL', + 2, + '3333333333', + 'Test Data', + 'Test Data', + 'Test Data', + 'Test Data' + ); + +INSERT INTO + PIMS_PERSON_ORGANIZATION + ( + PERSON_ID, + ORGANIZATION_ID, + APP_CREATE_USERID, + APP_CREATE_USER_DIRECTORY, + APP_LAST_UPDATE_USERID, + APP_LAST_UPDATE_USER_DIRECTORY + ) +VALUES + ( + 2, + 2, + 'Test Data', + 'Test Data', + 'Test Data', + 'Test Data' + ); + +-- Update postal code +UPDATE + PIMS_ADDRESS +SET + POSTAL_CODE = 'V6Z 5G7', + CONCURRENCY_CONTROL_NUMBER = [CONCURRENCY_CONTROL_NUMBER] + 1 +WHERE + ADDRESS_ID = 1; + +-- Add notes for lease tenant +UPDATE + [dbo].[PIMS_LEASE_TENANT] +SET + [NOTE] = 'These are notes for the organization record', + [CONCURRENCY_CONTROL_NUMBER] = [CONCURRENCY_CONTROL_NUMBER] + 1 +WHERE + [LEASE_TENANT_ID] = 1; diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/17_PIMS_USER_TEST_DATA.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/17_PIMS_USER_TEST_DATA.sql new file mode 100644 index 0000000000..54e78d07a8 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/17_PIMS_USER_TEST_DATA.sql @@ -0,0 +1,6 @@ +INSERT INTO PIMS_USER (PERSON_ID, BUSINESS_IDENTIFIER_VALUE, ISSUE_DATE, CONCURRENCY_CONTROL_NUMBER, APP_CREATE_TIMESTAMP, APP_CREATE_USERID, APP_CREATE_USER_DIRECTORY, APP_LAST_UPDATE_TIMESTAMP, APP_LAST_UPDATE_USERID, APP_LAST_UPDATE_USER_DIRECTORY) +VALUES + (1, 'BSMITH', GETUTCDATE(), 1, GETUTCDATE(), 'seed_data', 'seed_data', GETUTCDATE(), 'seed_data', 'seed_data'), + (2, 'VBALL', GETUTCDATE(), 1, GETUTCDATE(), 'seed_data', 'seed_data', GETUTCDATE(), 'seed_data', 'seed_data'), + (3, 'STINKY', GETUTCDATE(), 1, GETUTCDATE(), 'seed_data', 'seed_data', GETUTCDATE(), 'seed_data', 'seed_data'), + (4, 'NACHO', GETUTCDATE(), 1, GETUTCDATE(), 'seed_data', 'seed_data', GETUTCDATE(), 'seed_data', 'seed_data'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/18_PIMS_ACCESS_REQUEST_TEST_DATA.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/18_PIMS_ACCESS_REQUEST_TEST_DATA.sql new file mode 100644 index 0000000000..ed37076673 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/18_PIMS_ACCESS_REQUEST_TEST_DATA.sql @@ -0,0 +1,6 @@ +INSERT INTO PIMS_ACCESS_REQUEST (USER_ID, ROLE_ID, ACCESS_REQUEST_STATUS_TYPE_CODE, REGION_CODE, CONCURRENCY_CONTROL_NUMBER, APP_CREATE_TIMESTAMP, APP_CREATE_USERID, APP_CREATE_USER_DIRECTORY, APP_LAST_UPDATE_TIMESTAMP, APP_LAST_UPDATE_USERID, APP_LAST_UPDATE_USER_DIRECTORY) +VALUES + (1, 1, 'RECEIVED', 1, 1, GETUTCDATE(), 'seed_data', 'seed_data', GETUTCDATE(), 'seed_data', 'seed_data'), + (2, 2, 'INITIATED', 1, 1, GETUTCDATE(), 'seed_data', 'seed_data', GETUTCDATE(), 'seed_data', 'seed_data'), + (3, 3, 'APPROVED', 1, 1, GETUTCDATE(), 'seed_data', 'seed_data', GETUTCDATE(), 'seed_data', 'seed_data'), + (4, 4, 'DENIED', 1, 1, GETUTCDATE(), 'seed_data', 'seed_data', GETUTCDATE(), 'seed_data', 'seed_data'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/19_PMBC_TEST_DATA.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/19_PMBC_TEST_DATA.sql new file mode 100644 index 0000000000..d22c64ebe5 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/19_PMBC_TEST_DATA.sql @@ -0,0 +1,2308 @@ +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (551, N'{4C4D758A-1261-44C1-8835-0FEB93150495}', N'009727493', 3, N'NO_PLAN', NULL, N'9727493', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART 13', N'SOUTH SALT SPRING,1', N'', N'THAT PART OF SECTION 13, RANGE 1, SOUTH SALT SPRING ISLAND, COWICHAN DISTRICT, IN PLAN 1463R', N'0163', N'0005', N'NO', N'MODIFIED-ICIS', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:44:42.000' AS DateTime), CAST(N'2019-01-05T10:21:32.000' AS DateTime), 29217, 702, 0xBD0B000001040900000010363C9DA81C3241808104C556A419419FEFA7469F1C3241C0004D04F4A3194152DA1B1C631C324160EEEBC077A119419ECDAAAF011C3241A0EBC0B925A119415F325590E31B3241B040826211A41941D712F2819B1C3241F0187357ADA41941E71DA708A01C3241E0A7C64BB1A41941638FC235A01C3241F0B19D6FAFA4194110363C9DA81C3241808104C556A4194101000000020000000001000000FFFFFFFF0000000003, CAST(551 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (631, N'{06704C67-7654-4E46-ADBC-D01BCA32D747}', N'017503744', 7935637, N'KAP45951', NULL, N'17503744', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1991-10-22T00:00:00.000' AS DateTime), N'Lot 4', N'', N'', N'THAT PART OF LOT 4 SECTION 6 TOWNSHIP 26 OSOYOOS DIVISION YALE DISTRICT PLAN 8758 SHOWN ON PLAN KAP45951', N'0057', N'0016', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'90.27', CAST(N'2020-11-26T14:45:01.000' AS DateTime), CAST(N'2020-11-26T14:59:14.000' AS DateTime), 60, 46, 0xBD0B0000010405000000BCF5289CBC653641B0ABAD18B9042141CADCB5C4BA653641A02C439C91042141277E8CB9B7653641D84E401392042141A033A294B96536413885EB91B9042141BCF5289CBC653641B0ABAD18B904214101000000020000000001000000FFFFFFFF0000000003, CAST(631 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (704, N'{795AA416-5196-4578-B03C-A357BFF4767D}', N'023412119', 464444, N'NEP23023', NULL, N'23412119', NULL, N'7864754110', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'1996-05-06T00:00:00.000' AS DateTime), N'REM Lot A', N'', N'', N'LOT A DISTRICT LOT 4595 KOOTENAY DISTRICT PLAN NEP23023 EXCEPT PLAN NEP72353', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:26.000' AS DateTime), 17051, 603, 0xBD0B00000104170000006A88633DA74939416007CE199230214189B0E189A0493941E82D90207D302141255305039B49394168E2C7D866302141E1A59BC496493941A0BFEC9E4F302141BCCAA1C59349394130FF217D37302141ECD9AC1A9249394190BDC1D71E302141580E2DB28B493941087E1DF87E2F2141041B9E5E8A49394198DB68406D2F21417A4F1ED68749394118E02D105C2F2141C4D32B2584493941907EFBBA4B2F21412EFF215D7F49394188BB96903C2F2141DEC798DB6149394110F775E0E72E21413A8941C032493941B0AF03A7DD2E214108C7BAB82F493941585A64FBDC2E2141FA75E0BC0E493941201136FCFB2E2141506B9AD74249394118FCA931D92F214180FB3A104A49394148499D00FF2F21413492CB7F504939412885EBD1243021410868224C57493941A01804965C302141F6A067735A49394140E3A5DB7D302141D909684264493941A0627F99803021412897FFB0A749394190999959933021416A88633DA74939416007CE199230214101000000020000000001000000FFFFFFFF0000000003, CAST(704 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1550, N'{359F2681-46B2-49BD-9377-097A7FABA1BF}', N'015920984', 489711, N'NEP1214', NULL, N'15920984', NULL, N'7102547100', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 4', N'', N'', N'LOT 4 DISTRICT LOT 7892 KOOTENAY DISTRICT PLAN 1214 EXCEPT PART INCLUDED IN SRW PLAN 626 AND 8062', N'0163', N'0004', N'NO', N'MODIFIED-ICF', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:34:26.000' AS DateTime), 41036, 1456, 0xBD0B000001041A000000809543AB4CDF3741B8B12E6E637A2141AB13D0844DDF374140D8F034FD792141F2CBEE0953DF37415885EB51987921411A3FC63C01DF37416826C28685792141142FDD04F6DE3741104C37894D7A2141809543AB4CDF3741B8B12E6E637A21414D158C8A68DF3741C03099AA3B7A214178A52C2368DF3741B004C58F477A214180B7400268DF3741F8012B874B7A21413ADF4F4D67DF37410062A196687A2141BC7D1D78C6DF374160DC46437F7A2141B96B09F910E03741C06B09F9C3792141CD6F5F0770DF3741C035CDFB9E792141F8BB05526FDF3741F8AF03A7AB792141943A016D6CDF37411804568EE07921411848509C6BDF3741C864AA60F0792141F4E461016BDF37418836AB3EFC79214121FDF65569DF3741D8F528DC237A21414D158C8A68DF3741C03099AA3B7A2141166A4D73F7E0374100FED478027A2141270681F5F7E03741B8749358F97921418CF4DB9758E03741D0938785D4792141615452070EE03741387E8C798F7A2141ECAE25C4ECE03741A842ADE9C17A21417B711B8DEDE03741500C02EBB37A2141166A4D73F7E0374100FED478027A21410300000002000000000206000000021300000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(1550 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1687, N'{40AFE5CB-6F5A-4E94-B5EC-EF9D215155D6}', N'011257032', 288892, N'PGP17872', 36592391, N'11257032', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 8633 CARIBOO DISTRICT PLAN 17872 EXCEPT PLAN 32696', N'0163', N'0002', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2019-01-11T18:31:23.000' AS DateTime), 4770, 328, 0xBD0B00000104040000002BCB1007B1C1324148FC187359572B41305530CA4CC13241D8B584FC33572B41BB37F8C296C13241A0B437F80D582B412BCB1007B1C1324148FC187359572B4101000000020000000001000000FFFFFFFF0000000003, CAST(1687 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (2843, N'{C20A2497-24B3-415F-BBAB-8103F83E4AF8}', N'014136121', 3, N'NO_PLAN', NULL, N'14136121', NULL, N'72411317028', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'SE4', N'31', N'21,12', N'LEGAL SUBDIVISION 7 OF SECTION 31 TOWNSHIP 21 RANGE 12 WEST OF 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT', N'0163', N'0028', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:44.000' AS DateTime), 136437, 1515, 0xBD0B000001041D0000002041F123B91036415850FC983C542441E7F46A5ACA103641A890CBAC475424417B910EAFDB103641D821CAFD515424415AEEB41FED10364140EDAF8A5B542441186833AAFE103641F0384D526454244176255C4C10113641E8CC8A536C542441935CFE032211364128166A8D735424414E05A3924B113641105D6D85835424416A6666464911364130363C7D9B542441AABDC1F7B4113641582D21DFC4542441C6F29B25C71136410015719BCC542441D959A229D911364130EDA6BED5542441CC46EAFCEA113641E0A04045E05424412EC49B98FC11364148AA332BEC5424412E34F4F50D123641289EEE6BF9542441A5E8480E1F12364168EE5A0208552441DE3C2DA2251236410041A3EC0D552441304A03272C123641F8D42E1814552441DF33299C32123641287664841A552441A9A2FE0039123641D0ABA4302155244152D4E4543F12364120C6491C2855244136AB3E974512364198EFA7462F5524411B41F1C34812364128F77560E95424411CFDF6754A1236416072F90FC45424415217B75168123641681361C332522441F10DBEB0D410364188FF907EE95124417CFB3A70BE103641F80B9329CA532441EB6A2BB6BC103641E87C3F75EF5324412041F123B91036415850FC983C54244101000000020000000001000000FFFFFFFF0000000003, CAST(2843 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (4735, N'{914ED27A-5F41-44CB-B189-EEFCE22FCE79}', N'010385207', 851285, N'KAP5072', NULL, N'10385207', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 3753 OSOYOOS DIVISION YALE DISTRICT PLAN 5072 EXCEPT PLAN H10662', N'0163', N'0016', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-06T13:32:27.000' AS DateTime), 1564, 197, 0xBD0B0000010407000000F831E6CE69BF364170635D9C372C2141B0B662BF54BF3641B8D85FF6282C21417DD93D3952BF36415005A3D26A2C2141C976BEBF9EBF3641A89BC4607A2C214161764FDE9EBF36410032E62E702C2141D6CEF73393BF364148A4DFBE632C2141F831E6CE69BF364170635D9C372C214101000000020000000001000000FFFFFFFF0000000003, CAST(4735 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (4820, N'{7A84362D-7B91-4B4D-AFCB-7EE89CEBA2FF}', N'007319134', 848501, N'KAP21746', NULL, N'7319134', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 20', N'', N'', N'LOT 20 SECTION 14 TOWNSHIP 26 OSOYOOS DIVISION YALE DISTRICT PLAN 21746', N'0057', N'0016', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-06T13:31:58.000' AS DateTime), 2702, 237, 0xBD0B000001040D000000570E2D32DF803641302DB25D552021410BCB4C30E0803641A0B00FFB53202141E1DB291EE1803641483EDD6D52202141F55EFDF9E1803641186C12B950202141EAF022C2E28036419888F2DF4E202141B5D01B75E3803641685D06E64C202141B5BB9111E4803641E86C15CF4A2021411E7C5996E480364110B81E9F4820214146257502E5803641D019515A46202141B203E74CEC803641D06800EF17202141B17BF270968036413063EE1AE21F2141FF87F49B8F80364168E5D02217202141570E2D32DF803641302DB25D5520214101000000020000000001000000FFFFFFFF0000000003, CAST(4820 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (5659, N'{BA7EA210-8B5A-4BCA-B79D-B84A76BAF932}', N'014496623', 463994, N'NEP5291', NULL, N'14496623', NULL, N'7044914100', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 4596 KOOTENAY DISTRICT PLAN 5291', N'0163', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:18:30.000' AS DateTime), 31353, 805, 0xBD0B000001040A000000F90FE957E7143A41089A089BADE023419A438BAC2C153A41305EBA899DDE234134AB3E97E4143A4150DF4F8DF3DE2341D6E76AEBD4143A41D00968A20BDF23412C431C6BD2143A41E8A3703D09DF23413DF1636C91143A41889543CB56DF23418226C22650143A4170567D2EBEDF2341BA270F2B57143A41989999190BE023413033339338143A41284CA6CA51E02341F90FE957E7143A41089A089BADE0234101000000020000000001000000FFFFFFFF0000000003, CAST(5659 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (5701, N'{F51F9DB7-8E04-44EF-87F2-3BFCC22E4AB0}', N'016327951', 472091, N'NEP32X', NULL, N'16327951', NULL, N'7044860000', N'ACTIVE', N'SUBDIVISION', N'UNKNOWN', NULL, N'REM Lot 20', N'', N'', N'SUBLOT 20 DISTRICT LOT 4596 KOOTENAY DISTRICT PLAN X32, EXCEPT PARTS INCLUDED IN PLANS R282, R309, 4956, NEP21324 AND NEP66363', N'0163', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:17:47.000' AS DateTime), 13395531, 43264, 0xBD0B000001044E000000469D804639673A416809F9A017D32241740B24A83E673A4110A3923AE3D222414B40138179683A4148C2866727C722416CF7E44194693A4160643BDF9DBC2241105839B403693A41285C8F4261BC2241381AC07BFB683A41B852966172B9224134D6C54DDF693A4128C286E7D1B922411283C0EA056B3A41801D3827D0AE22412C08ACBC106B3A41C80E9CB364AE2241B6FC87B41A6B3A41E8E76AEBF8AD224194A0F8D1236B3A4108F46CD68CAD22418B7CD0132C6B3A419047E17A20AD22412C5305C3B96B3A41B0C64B3775A52241BE42AD49556C3A4118E9B72F0A9D224143575B51716C3A41F88E53B4829B2241A01A2F5D2E6B3A41F0043491239B2241982A18757F6A3A414803780B7DA422411B6C787AF1683A4178302AA907A422415496214E91673A41D04A59C6AFB622415586385603663A41200BB5663AB62241E88C282DA3643A41806666A6E2C82241ABBDC13715633A41B84B37496DC822419665888314633A41B00512146DC8224150F38ED3A8623A413011363C58CE2241B32E6EA3E1633A41107A36EB3BCF22416FF085893F643A4180CC5DCB14D0224190976EF276643A41A833A23448D22241469D804639673A416809F9A017D32241D7F0F42AB5683A4138FBCB6E40C72241E4E00B537A673A41E8DBD741FCD22241F6EDEB00D7663A4138FF217D12D9224150A60A66CE663A4170A3013C61D92241C47F481FC5663A41F08C28ADAFD922419131772DBB663A4100CCEEC9FDD922415A204191B0663A417803E78C4BDA2241147A364BA5663A41A88D06F098DA2241B003E72C9B663A41C8FA5CADDADA22410AD7A3F0666A3A41408B6C67F6DB2241F4A7C62BF86A3A41D8718A8E2ED422413770CEE8A2683A4140C4B16E7FD32241CD1951DAC6693A4110FBCBEEF0C32241E4718A8EE36C3A4148E3A55BDBC4224124A7E888A06F3A41D01648D0A09F2241AD2E6E4315703A417009F9A068992241AA35CD3B876E3A41C067B3EAF39822417C58A8F5FB6E3A4140B6F3BDBB922241C39F1AEFE46F3A41688CB9AB498622419228ED8D9F6C3A41D0F5281C5585224192CB7F282B6D3A4168D712B26F8C22414F158CCA336D3A4160D712F2E68C22410D022B673B6D3A4110C7BA785E8D2241F163CCFD416D3A411824283ED68D22415696218E476D3A4170B437384E8E2241E14F8D174C6D3A41E051B85EC68E22413E3EE8994F6D3A41E01DA7A83E8F2241EE85C914526D3A41C0CCCC0CB78F224156423E88536D3A4168B740822F9022410E61C3F3536D3A414892CBFFA7902241E24F8D57536D3A410848507C20912241847CD0B3516D3A41D09F1AEF9891224119FBCB8E566D3A41887AA5ECD6912241AA4E4033546D3A4178D7123233922241C2E3143D516D3A4178787A658F92224141355EDA486D3A41F063CCDDCB9222410CE9B7EF436D3A4170AA60143C9322413892CB1F3E6D3A4170F6061FAC9322410E83C06A376D3A4148EBE2F61B9422410ACE19D12F6D3A41F097DD938B9422413A1AC09B916C3A4170B740C21B9D2241784F1E16F66B3A41C0D85FB686A52241AF9DEF67686B3A41E8E68CE831AD22413B80B700606B3A41788CB92BA0AD22413E355EBA566B3A4120C286270EAE2241083D9B954C6B3A4128E17AD47BAE2241F6A9F192416B3A41808CB92BE9AE2241FA21FDF61A6A3A4180E8D9ECEAB92241D3F0F4EACF693A41B80A46E5B6BC2241D7F0F42AB5683A4138FBCB6E40C72241020000000200000000021C00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(5701 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (6346, N'{882B2E80-B0F0-49E9-8E8B-9BB9087D0C7E}', N'011065877', 3, N'NO_PLAN', NULL, N'11065877', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', NULL, N'PART 15', N'', N'', N'SECTION 15, OTTER DISTRICT EXCEPT PARCEL A (DD 37924I) AND PARCEL B (DD 46454I) THEREOF, AND EXCEPT PART IN PLAN VIP89029', N'0163', N'0005', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:00:45.000' AS DateTime), CAST(N'2020-06-19T11:33:36.000' AS DateTime), 9763, 1025, 0xBD0B000001040C0000002AE4839EEFC73141F06891EDCB1117418D976EF2EEC73141703867C4DA111741B437F862FAC7314140E6AE25EB11174131DD246600C8314170A5BDC1F311174184E2C7F821C83141F0CEF7D323121741D78173A6B1C9314140C8073D67141741190DE08DC3C93141C01C5A64351417414C59861886C93141C0AF03E7D81317415BCA328413C83141C098BB16AB111741DC46031805C83141D075E09CA5111741BBAF03470EC83141F0293A92CE1117412AE4839EEFC73141F06891EDCB11174101000000020000000001000000FFFFFFFF0000000003, CAST(6346 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (7528, N'{C9D55229-0C27-4220-9AF1-46513C5AEAE3}', N'010464956', 631552, N'PGP15896', 7700991, N'10464956', NULL, N'760-006780.500', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot A', N'', N'', N'LOT A SECTION 29 TOWNSHIP 82 RANGE 17 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT PLAN 15896', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:29:35.000' AS DateTime), 60411, 1067, 0xBD0B00000104350000007958A835EC55344168F2B0D03916334186F4DB37F955344124A913B08E15334106D7A370E15534410022FD16951533416AEBE197D6553441DCA1D4709815334119C8B3C3CB55344108D059D99B153341344A2DF4C0553441186C86509F15334145466229B65534417C1A54D6A21533412A886663AB5534410C65BC6AA6153341F0D24DA2A0553441CCBAB80DAA1533414B75438B96553441C8FA925AAD1533413F5446628C5534416C6E706EB01533413A41982882553441709AEF48B31533413E1E7DDF77553441C41CB6E9B5153341FEB53A886D5534414CB77050B815334177931824635534418C5AD37CBA153341566EB29D5A5534416C0B55C3BB153341A25EB40E525534414C840ECABC153341097EFB7849553441248FC690BD153341475D66DE4055344190E65117BE153341129CD44038553441643E935DBE153341A18026A22F553441244A7B63BE153341428B6FF12655344100CF774FBE153341AD59A5401E553441A4A15447BE153341B026D88F1555344168D1114BBE153341372D18DF0C5534414457AF5ABE15334109A8752E045534414C162D76BE153341B4D1007EFB543441C4DA8A9DBE153341265C7082F5543441044F77E1BE153341F2B22E89EF5434418C30874DBF15334123154993E95434419C78A7E1BF153341632ACCA1E35434419812BE9DC01533417ED3C3B5DD5434415CE1A981C11533417EFB3AD0D7543441C8C3428DC21533418C7CC03CD35434419053EF6BC3153341E4DA5BA7CE54344170FA4940C41533415B5C2410CA54344198824E0AC515334136503177C554344170E9F8C9C5153341500E9ADCC0543441A462457FC615334101F77540BC5434412855302AC7153341368E6AF1BA5434411CCAE65BC71533412AA5CC9FB9543441C8DC1F77C71533417E421E4DB8543441806CBC7BC715334159A4E2FAB6543441B833B769C7153341AC859CAAB5543441D8CC2441C7153341F463CC5DB4543441009C3302C7153341AAADD8BFAF543441881D3807C61533415CF5B99AAC543441DC5C6D45EF15334197C42010A954344190855AB31D1633415105A392A8543441246EA321241633418E180416A0543441F85C6D65931633412E90A0F8F0543441F465F7C49916334124C286678F5534413855304A4A1633417958A835EC55344168F2B0D03916334101000000020000000001000000FFFFFFFF0000000003, CAST(7528 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (8138, N'{B4DDE75F-982A-474C-836E-81CCE25AD34A}', N'017707927', 488047, N'NEP19701', NULL, N'17707927', NULL, N'7077749200', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 2', N'', N'', N'LOT 2 DISTRICT LOT 4780 KOOTENAY DISTRICT PLAN NEP19701 EXCEPT PLAN NEP62019', N'0163', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:09.000' AS DateTime), 32146, 904, 0xBD0B000001044E0000007EAEB6E231E7384100DCD741E498204181D93D1930E7384168BE9F1A3199204154423E6831E73841986588E3299920411E6A4D3332E7384110D8F0741D9920415B0F5D5B32E73841E0C38B441B992041E29BB99732E738410081791B1999204109FD10E832E738415810AAFC16992041AEF5F54B33E73841D07EFFEA14992041AEB2E0C233E7384158FA49E91299204175832F4C34E7384158FE43FA109920416F93622D35E73841D83550B90D992041269F950F36E73841980E72790A9920410651C8F236E73841E0C2AA3A079920412353FAD637E73841088DFBFC03992041284F2BBC38E7384140A765C00099204160EE5AA239E73841904AEA84FD9820417A73D3C83AE73841F872ADD1FA982041F85F9FF03BE738417036B520F8982041A595BD193DE73841A02F0472F59820410FF52C443EE73841B0F69CC5F2982041765DEC6F3FE738413022821BF0982041DAACFA9C40E73841A845B673ED982041EA5F1FE540E7384160D42E26EC9820411EAECB3B41E738415069CAE6EA982041CD2150A041E7384120970FB8E9982041A23EE11142E738418834639CE89820417B1D998F42E73841B8850396E7982041D83D791843E73841A8AF03A7E6982041EE36597643E73841C8126C77E598204198DBC9C443E73841487AC936E49820411A37070344E7384118E63CE8E298204160CD753044E7384158180A8FE1982041661FA44C44E73841F86C8F2EE0982041A6C64B5744E73841D8703DCADE98204145A4DF7E45E73841104CA64ADC98204132772D0130E73841805149DDBE98204164561AB230E738418094E8FEC4982041F084B43C31E7384168FCDC2FCB9820416846A8A031E7384130FF686CD19820411F38B9DD31E738413011C8B0D79820418775C2F331E73841C0EC30F9DD9820417EAEB6E231E7384100DCD741E4982041D22B657926E7384168B3EA73AF992041D9ACFA3C2BE73841B0EC9E3CAB992041FA72B6B829E73841D846C187A4992041406E174B28E7384138971DBF9D992041FBFF5DF426E73841D8A9E5E3969920417C81C6B425E7384130904EF78F9920413F39898C24E73841B06A90FA889920411851DA7B23E738410832E6EE819920414AB6052721E73841B82F6A886F992041E0A1694D1FE7384108A641EA5C99204170D44DF01DE73841C0E94E214A99204112E6A3101DE7384100EB913A37992041FA9E06AF1CE7384130381F43249920417F8CB9CB1CE73841E8EF164811992041E9B7AFE31DE7384160D3BC63E29820411B5A64DB22E73841A83A018DE39820412ADAE1DF22E73841D0E5ABBAD9982041CC5F316822E73841B83ABEF3CF982041C4807E7521E738418019B150C6982041B4B7280A20E73841B895A3E9BC982041F273BD291EE7384150951ED6B3982041D834EFD81BE7384130E8D92CAB982041F69D2BE11AE7384118CF583AA89820415FA42DDE19E7384148341457A59820413C3431D018E73841E022B783A2982041EEC474B717E73841E0F7E8C09F9820416E4A399416E73841883B4D0F9D9820418426C26615E73841307B836F9A982041A445B653E4E6384198DA8A3D57982041A411A5DDD2E63841980F7A3689982041646FF005C5E63841E012F24176982041C554C1A88AE638418004C54F1D9920410C2428FE97E63841408A8EA4969920414CFC18D393E6384138E6AEA55A9A2041516B9AB74AE73841202575021A9A2041D22B657926E7384168B3EA73AF992041020000000200000000022A00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(8138 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (8437, N'{6EE35E7A-594E-4EA0-B981-8EAE153F6CB7}', N'007723385', 246097, N'PRP4238', 90069930, N'7723385', NULL, N'0856-050', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot I', N'', N'', N'LOT I DISTRICT LOT 865 RANGE 5 COAST DISTRICT PLAN 4238', N'0132', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 2244, 232, 0xBD0B00000104090000000AF241CF02332C41D8CEF773539D30418A1F63EEFB322C4148AA60F4509D30410CF2414FFF322C4130189594A69D3041A1CDAACFFF322C41082AA973B19D3041FA3A704E11332C4198051294A59D3041E0718A4E5A332C41E0CEF773749D304113F241CF46332C41F0D781136D9D3041961F63AE0F332C41A433A254589D30410AF241CF02332C41D8CEF773539D304101000000020000000001000000FFFFFFFF0000000003, CAST(8437 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (10837, N'{ACCBDA03-617A-4287-814A-CAA7E28679FE}', N'011041404', 298093, N'PRP4784', 90072652, N'11041404', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 19', N'', N'', N'LOT 19 DISTRICT LOT 982 RANGE 5 COAST DISTRICT PLAN 4784, EXCEPT PLAN PRP14302', N'0163', N'0011', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:13:34.000' AS DateTime), 2160, 412, 0xBD0B000001040E0000004ABF7D1DBD63294130E4831E1C3C3041ECC03923D763294198EFA7261E3C3041520C026B2B64294154BF7D5D163C3041B830996A63642941CC12F261123C3041A045B63362642941044D848D043C3041EA73B5D5A4632941841D38A70B3C30411E97FF90A96329410CAC1CBA153C30414ABF7D1DBD63294130E4831E1C3C3041E23D79582D642941E885C9541C3C3041A1CDAA4FD7632941BC9DEF47243C3041E2718A0EAD6329413C1AC0FB293C3041C27493D865642941A0F1D20D233C3041B4EC9E3C646429410C68226C183C3041E23D79582D642941E885C9541C3C3041020000000200000000020800000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(10837 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (11016, N'{FD8BE1BA-A1BE-4C74-8FA1-D24CE84DA9B0}', N'014083736', 295389, N'PRP968', 14745541, N'14083736', NULL, N'00582.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'Block 41', N'Section 1', N'LOT 5 BLOCK 41 SECTION 1 DISTRICT LOT 863 CASSIAR DISTRICT PLAN 968', N'0087', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:22.000' AS DateTime), 366, 93, 0xBD0B00000104050000009B89B0A19B6E2B41D43B4EF18F64314101098A9F876E2B41806ABC149064314109F2418F886E2B41B468008FB4643141D476BE9F9C6E2B41589FAB6DB46431419B89B0A19B6E2B41D43B4EF18F64314101000000020000000001000000FFFFFFFF0000000003, CAST(11016 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (12207, N'{77540EA4-B5C4-4E33-AC17-13950F6B2ECE}', N'008823774', 1180743, N'NWP25810', NULL, N'8823774', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2014-08-13T00:00:00.000' AS DateTime), N'REM Lot W', N'', N'', N'PARCEL W SECTION 14 TOWNSHIP 1 NEW WESTMINSTER DISTRICT PLAN 25810 EXCEPT PLANS LMP53223 AND BCP49286', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T09:13:04.000' AS DateTime), 6071, 389, 0xBD0B000001040B000000FFF6758076DA3241305F98CCA2A01B41C20E9C73D3DA3241B09CA2A3B1A01B418BF4DBF7D5DA32413082E247D99F1B414803786BD6DA3241D0DA8AFDBB9F1B4116265305D7DA324170B5157BA19F1B417F6ABCD4D7DA3241C00FE937869F1B41B39DEFE7D8DA324110394547699F1B41A1A223F9D9DA3241A0E7FB29519F1B41C6BAB84DDBDA3241802C431C379F1B41C87F48FFDCDA324130E8D92CA49E1B41FFF6758076DA3241305F98CCA2A01B4101000000020000000001000000FFFFFFFF0000000003, CAST(12207 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (13938, N'{67C63BCC-10A4-4FA1-8E53-4AC0ECE388A7}', N'000481068', 1298225, N'NWP571', NULL, N'481068', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', CAST(N'2003-03-04T00:00:00.000' AS DateTime), N'REM Lot 5', N'', N'', N'EAST 66 FEET OF THE WEST 251 FEET OF LOT 5 EXCEPT: PART ON STATUTORY RIGHT OF WAY PLAN 73193; SECTION 36 BLOCK 5 NORTH RANGE 4 WEST NEW WESTMINSTER DISTRICT PLAN 571', N'0120', N'0010', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T10:50:01.000' AS DateTime), 1402, 183, 0xBD0B00000104050000003570CE88EFA43241C00512148D8B1C4176BE9F5AF2A43241A0EEC9435D8A1C41412CD43ADEA4324150C3D32B5A8A1C413F0AD7E3DBA43241603EE8D9568B1C413570CE88EFA43241C00512148D8B1C4101000000020000000001000000FFFFFFFF0000000003, CAST(13938 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (15490, N'{66DD31AB-355D-43CB-A317-0B0EE406D1F2}', N'002810352', 1480907, N'NWP1034', NULL, N'2810352', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-02T00:00:00.000' AS DateTime), N'REM Lot 20', N'Block 10', N'', N'LOT 20 EXCEPT: FIRSTLY: THE SOUTHERLY 134 FEET THEREOF HAVING A FRONTAGE OF 134 FEET ON THE WEST BOUNDARY OF SAID LOT 20 BY FULL WIDTH OF LOT AND ADJOINING TRAPP AVENUE, AND LOT 19; SECONDLY: PART ON STATUTORY RIGHT OF WAY PLAN 71501; BLOCK 10 DISTRICT LOT 173 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 1034', N'0010', N'0010', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', N'85.35', CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:36:45.000' AS DateTime), 86, 43, 0xBD0B000001040900000057C1A8C49CA43241F0CB7F485FA21C412C6FA9CD99A43241C0617F885EA21C41C94972D596A43241A0E14F335EA21C417BC3F3DC93A43241403E0C495EA21C411C651EE590A432412096ADC95EA21C411B82E2EE8DA43241703A0BB55FA21C415BEC2FFB8AA43241F0B9DA0A61A21C414060E59094A4324100BC051284A21C4157C1A8C49CA43241F0CB7F485FA21C4101000000020000000001000000FFFFFFFF0000000003, CAST(15490 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (17679, N'{FAEA1FEC-9246-4BB2-9F9F-2A1EF3F30D8F}', N'004380941', 240, N'VIP14275', NULL, N'4380941', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1975-12-11T00:00:00.000' AS DateTime), N'Lot 48', N'', N'', N'LOT 48, DISTRICT LOT 78, NANOOSE DISTRICT, PLAN 14275', N'0163', N'0021', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'880.4', CAST(N'2020-05-05T13:35:13.000' AS DateTime), CAST(N'2020-08-12T17:08:18.000' AS DateTime), 884, 121, 0xBD0B000001040B000000910F7A36AC4D3141F085C954D9161D412431086CC64D3141E09F89B038171D413A701F73C84D31415096F45229171D41ACE97197CA4D314130DF59351A171D41F69281D8CC4D3141D0F9325B0B171D4162C6C935CF4D314180E2E9C7FC161D418D61BFAED14D3141A04CD87EEE161D415EE5D042D44D314140DC4683E0161D411A2FDD84C04D3141B0E4F29F85161D41A4D6348FBB4D31411044FAED98161D41910F7A36AC4D3141F085C954D9161D4101000000020000000001000000FFFFFFFF0000000003, CAST(17679 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (18451, N'{09041135-7119-47C3-969C-0831EE8765ED}', N'016700937', 859001, N'KAP44059', NULL, N'16700937', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot A', N'', N'', N'LOT A DISTRICT LOT 2710 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 44059', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-07-08T16:03:58.000' AS DateTime), 5672, 379, 0xBD0B0000010408000000EE8E53B423653641903177ADF1821E4174E09CD12065364100CAC34292841E419E1A2FFD1D65364150BF7D1D18851E41A90A4645336536414072F98F9E841E41B403E7AC7665364170C7293A0C831E411D41F12373653641800A68220B831E415EC3D36B60653641D0627F5905831E41EE8E53B423653641903177ADF1821E4101000000020000000001000000FFFFFFFF0000000003, CAST(18451 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (20927, N'{51D72FD3-DB4F-481D-AD9A-3EEDAC8126E8}', N'001673459', 3, N'NO_PLAN', NULL, N'1673459', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 90', NULL, NULL, N'THAT PART OF LOT 90, MALAHAT DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 31050I EXCEPT THAT PART THEREOF SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 12768F', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 8, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T19:15:31.000' AS DateTime), CAST(N'2020-03-19T16:14:45.000' AS DateTime), 16767, 1128, 0xBD0B0000010415000000BB490CC2A0EA3141B0293A92FD4A18418B4160E59FEA314120560E2D784B1841B4E1E91567EB314130AB3ED7504B184108E1F5938FEB314140F928AA484B18418C30F916B8EB3141E0C76D1F4F4B184119A1804AE0EB3141E0B89629644B184142B4BEDA07EC3141D0EDC79C874B1841D44D3A752EEC314160741B2FB94B1841BD9F7AC953EC3141C0533B79F84B1841EFE9AE8977EC314170F438F7444C1841EEB0506B99EC31417027A0099E4C184113E9B70FABEC3141B0CB7F48374C184128B9A1D386EC3141E0D69A2DD84B1841BF3D1E9C60EC3141D0C4726C864B18410CD6AAB738EC3141B0DEEFAC424B1841A4D435780FEC3141903A367A0D4B18417E3A7632E5EB3141A0F88741E74A184139BA3D3DBAEB3141D0DD6451D04A1841E068C6F08EEB3141001BE9D8C84A1841D58AFDA563EB3141608B6CE7D04A1841BB490CC2A0EA3141B0293A92FD4A184101000000020000000001000000FFFFFFFF0000000003, CAST(20927 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (22090, N'{F29518F6-2D16-4703-AACA-0B477CD51F60}', N'016108167', 472072, N'NEP740', NULL, N'16108167', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 24', N'Block 10', N'', N'LOT 24 BLOCK 10 DISTRICT LOT 267 KOOTENAY DISTRICT PLAN 740 EXCEPT PART INCLUDED IN SRW PLAN 16533', N'0053', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-05-30T20:15:30.000' AS DateTime), 203, 61, 0xBD0B00000104050000006CF90F491D033A41580C022B2F2A24416C91EDDC24033A4100B9FCC7132A2441AAE848AE1E033A4190218EB5FD292441E28C28ED13033A41B00D4FEF242A24416CF90F491D033A41580C022B2F2A244101000000020000000001000000FFFFFFFF0000000003, CAST(22090 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (22357, N'{8680EE70-6EDC-427F-B2B2-B29C9F03775C}', N'000122700', 5460395, N'VIP39125', NULL, N'122700', NULL, N'201612', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'', N'', N'LOT 5, SECTION 11, RANGE 8, MOUNTAIN DISTRICT, PLAN 39125, EXCEPT PART IN PLAN VIP61416', N'0084', N'0021', NULL, N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', N'484.1', CAST(N'2019-04-04T08:45:35.000' AS DateTime), CAST(N'2021-05-31T16:31:56.000' AS DateTime), 484, 93, 0xBD0B0000010405000000A289B0E175813141308C4A6A52481C4196900F7A75813141009D112593481C41BBC117669081314160CAC3C297481C41D41951BA96813141E004341158481C41A289B0E175813141308C4A6A52481C4101000000020000000001000000FFFFFFFF0000000003, CAST(22357 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (22916, N'{80C23A67-D75C-47A3-86F9-6A3CEB2735BA}', N'013247883', 468095, N'NEP1786', NULL, N'13247883', NULL, N'7864538000', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot L', NULL, NULL, N'LOT L DISTRICT LOT 4592 KOOTENAY DISTRICT PLAN 1786 EXCEPT (1) PART INCLUDED IN PLAN 10821, (2) PART INCLUDED IN SRW PLAN 15644, (3) PART INCLUDED IN PLAN R357 AND (4) PART INCLUDED IN SRW PLAN 18788 (5) PLAN NEP86874', N'0163', N'0004', N'NO', N'MODIFIED-ICF', 8, N'DATACOMPILATION', N'COGO IN SOURCE', N'0', NULL, CAST(N'2021-06-24T13:08:17.000' AS DateTime), CAST(N'2021-06-24T14:13:09.000' AS DateTime), 234320, 5045, 0xBD0B00000104C8000000C64B3749CEE13941A04C158C42C11E4134B4C8D6A9E13941708FC2757AC01E41E9FBA991A5E13941D0FCF6F5FCBF1E4180FB3A5031E13941701E166AABC01E41EC26310814E13941F01CC965ADC01E41A21A2F3D2AE1394130DF4F8D55C11E41CCCCCCACD8E13941705D6D4569C61E415E5DDCA6F5E13941802F4C2663C61E417A711BAD00E2394120B29D6F87C51E4156D3BCE3FAE1394130C4B12EE1C31E414850FC38F9E13941E0DEE08B67C31E41C64B3749CEE13941A04C158C42C11E415EA1D654EAE03941C02631884BC01E418ACE46A9E8E039412036E2FB4CC01E4138EDFBFBE6E03941C0AB274E4EC01E4158C81F4DE5E039415099E07E4FC01E41CA51DC9CE3E039416054EF8D50C01E41999E5BEBE1E03941C079397B51C01E417EE2C738E0E03941A0EFA74652C01E414672F9CFD7E03941505EBA4954C01E41522A2E14D6E03941A0BFAE8354C01E4193D94558D4E03941C0787DAD54C01E414EE6499CD2E03941B0A625C754C01E4160B743E0D0E0394180BEA6D054C01E41B8B33C24CFE03941908B00CA54C01E4157423E68CDE03941503333B354C01E41A11A2F3DC2E03941E0E4612151C01E41287E8C59BFE0394150BF7D1D53C01E41EA51B81EBCE039412048507C57C01E41378941A0B2E0394190F90FE96DC01E41DD2D9060AEE03941E05F76CF75C01E414F6B9AD7AAE039417028ED8D7BC01E411FD26FBFA4E03941B0490C0285C01E41EF9C6C5DA3E0394100C762BD86C01E418803B6FCA1E039416086FE8888C01E41C6FC579DA0E0394120F2CF648AC01E41D6735E3F9FE0394100E6C6508CC01E41DA47D5E29DE0394120B1D24C8EC01E41604BC8879CE039415019E25890C01E41289B5C199AE03941B0BD56FF96C01E4128C1A1C497E03941F0FF1B339EC01E41E16D988B95E0394190C501EEA5C01E41DA86297093E0394120DB6329AEC01E416482247491E0394110AA2FDEB6C01E4182D93D998FE03941A04AEA04C0C01E4142C6DC758BE0394180CFD556D7C01E41CC293A3289E03941304469EFE4C01E41B4D1007E88E03941002DB21DFDC01E4124ED0DFE87E03941B058A8B50BC11E413B2AF3FF86E039415000503310C11E4110F9FA0786E03941709834C614C11E4184BE411685E03941D00DD06D19C11E413928E32A84E03941A0EE99291EC11E41B629FA4583E03941207907F922C11E4102F9A06782E03941D0AC8BDB27C11E4112F241AF81E03941505E294B35C11E419C438BAC83E0394140B1BF6C4DC11E4149696FB081E03941D0CFD5D661C11E41096EFFA781E03941D05DD3C565C11E41F68E6BA481E0394130A647B569C11E415F23B4A581E039416099D2A46DC11E41F00BD9AB81E03941D027149471C11E41AEB2D9B681E039411046AC8275C11E410D0BB5C681E0394180FB3A7079C11E41D0CCCC4C80E0394130AC8BDB82C11E41402DBC997EE03941F03F94A087C11E41A7CD46F47CE03941F062B8AF8CC11E41C081365D7BE03941F0DE8B0692C11E4189384ED579E03941402980A297C11E410A9F495D78E03941A09BE5809DC11E4144C6DCF576E0394170BFEC9EA3C11E414FE3A55B70E0394130B072E8C6C11E4118D9CE176DE039410070CE88D7C11E41FC55D2C26BE0394190190AE7DCC11E41BF7B27616AE03941806EFF10E2C11E41F26C4EF368E03941807BCF04E7C11E41E3B5CB7967E0394120ECAEC0EBC11E41AC1C28F565E0394120AEE642F0C11E41646FF06564E039412095D489F4C11E41EC57F94463E03941D039F33DF6C11E41623B982062E03941D00000CCF7C11E411B531DF960E0394160B18D33F9C11E4143B2D9CE5FE0394160A53974FAC11E417E2F1FA25EE03941C0DEAB8DFBC11E41A64E40735DE039416024977FFCC11E41787AA50C53E03941B05CFEC30BC21E41EEA7C6CB4EE03941A04E401310C21E4193C420304BE0394100A4703D14C21E4146696F3043E03941107F6ABC20C21E41E43CE35341E03941902167A924C21E413C7B98783FE03941D0B3DB9F28C21E41ED26929E3DE0394190C8C19F2CC21E417240D3C53BE0394170E412A930C21E4138C65EEE39E03941107CC8BB34C21E419EB4371838E0394180F4DBD738C21E413F13610332E03941D0703D0A4DC21E41E47A14CE2EE03941C06D348054C21E4171F085492BE0394100363CBD59C21E41E43FA4DF24E03941D0F6065F5DC21E41BD15FB6B1FE0394190293A1263C21E412085EBF117E03941403FC65C6FC21E41211FF48C0EE0394110EF38C582C21E41B4B6623F0AE03941900C712C8CC21E4172AC8BBB03E03941D0CAA1C59BC21E41C3A8A40EFDDF3941F056ECAFA5C21E41FA53E385E9DF3941A033A2B4A6C21E413892CBDFE2DF3941C0EA73B5A9C21E41DBF97E6ADDDF3941D061A1D6ABC21E41480C026BDADF3941C0F4DBD7B0C21E416C1B0DC0D6DF394100BE3099BAC21E4151DA1BBCD0DF3941E0A7C6CBCCC21E410A583914CCDF39410006A312D9C21E4129287E2CC9DF3941E030992ADFC21E41BA270FEBC5DF3941E02D9020E8C21E415AA8354DC0DF3941602D219FFDC21E41AA9F614EBFDF394190A76BFA02C31E4155E80B5BBEDF39418089B77608C31E413EDA7873BDDF3941606A7A120EC31E41987FE997BCDF3941800A21CC13C31E41C7829BC8BBDF3941B0C50FA219C31E41161DC905BBDF39418005A3921FC31E413090A0D8B5DF3941503F355E37C31E4121D26F1FB0DF3941E09F89305AC31E41428B6CA7ADDF3941E00968A26EC31E41C0CAA145A9DF394160A4DF3E8DC31E4131211FB4A4DF39415047E17AABC31E41AAC95110A4DF3941A00E6DC2B0C31E41A4EB6175A3DF3941F065981AB6C31E417D7E6AE3A2DF3941702D7582BBC31E4101EA845AA2DF3941C08812F9C0C31E41CA01C9DAA1DF3941500B7D7DC6C31E4138014D64A1DF3941B0DFBE0ECCC31E419EB5D75AA1DF39410094CFF8D1C31E41B4EED941A1DF394160CA0BE0D7C31E41A0765E19A1DF3941E00EE7C1DDC31E41AEC776E1A0DF3941603FD79BE3C31E41BC043B9AA0DF394180A5556BE9C31E41CCEEC943A0DF3941200DE02DEFC31E41F07C3F159FDF3941B03E575BF3C31E4125287E4CA3DF3941C0B88D86F5C31E413C3CBD3270E03941306666E65EC41E4117FBCB2E24E1394130462575BBC41E411C166A2D14E13941A0EE5AC227C71E41A623B9BC3FE1394160946588BCC61E410BAC1C3A58E1394170423E689BC61E41845AD35C71E1394120BEC117A3C61E41B8C876DE9CE13941D066D5E775C61E41D88AFD45D5E13941106D56FD69C61E418F5CFE8327E13941F0A9F1525BC11E416307CEF902E13941609CA2A346C01E41066FB14801E13941000AEDAE46C01E411435E697FFE03941F0D49C6B46C01E41467B50E8FDE03941B078D5D945C01E414AC0D33AFCE0394130CDE3F944C01E41BE675290FAE0394110DD3DCC43C01E41BB42ADE9F8E03941A0A9825142C01E41A8BDC1D7F5E03941205839B445C01E41BAA67987F2E039412063EE5A48C01E4150158C8AF0E0394140CC5DCB48C01E415EA1D654EAE03941C02631884BC01E41AAE848AE9EE13941006F8184C4C61E41B68D0630D2E13941F0065F1898C61E415D5DDCE6CBE139413017B7D19AC61E41187C6172C1E13941B087855A9FC61E4158A8350D9EE13941C07EFBBAAEC61E41762497BF6FE13941506DC57EDFC61E41E34F8D5757E13941100DE02DCEC61E413055300A44E13941206FF085DEC61E410122FD3613E1394120CB104772C71E41F0FDD47833E13941E0073D9B58C71E41255305C35EE13941C0AF03E700C71E41B147E1BA60E1394180FAED6BF0C61E41F85C6D2570E1394150FEB27BE5C61E41AAE848AE9EE13941006F8184C4C61E4122287E6C9AE13941F0A679C71BCB1E41C3F5287C9CE03941C07D1DB8A4CA1E413267448999E13941500C93A937CB1E4122287E6C9AE13941F0A679C71BCB1E41B4A679871BE23941F01F63EE77CB1E41EA51B89E44E23941107F6A3C8CCB1E4168DE71AAF3E23941B0F3FDD4E2CB1E41FEFFFFDFA0E23941A00C022B64CA1E412897FF3063E23941D02CB29D8BC91E41B8490C2225E23941C003E70C07C91E41777AA5CCFFE1394150DE710ACFC71E417C7AA52CE3E1394110C58FB19FC71E41663BDFAFBDE13941D026C20691C71E415E8FC2959EE13941A01C5A645CC71E4198B20CD18BE13941208AB0E155C71E41548638166AE13941F0C876BE79C71E41A311A5FD41E1394190D2DEE09CC71E419EA223793AE13941B0B43778A3C71E416E8104A50BE13941402CD49AF6C71E4110A5BD01FEE0394190B4C8762AC81E415C204131E4E03941A0ED7C3FF6C81E4127871619C0E03941E02FBBA78BC91E41D71B7CE19EE0394190AEB6E25BCA1E41E5F21F329CE13941301DC9E5E8CA1E4186EB51180BE23941109C33A226CB1E41B4A679871BE23941F01F63EE77CB1E41050000000200000000020C00000002A000000002AE00000002B200000006000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003000000000300000003000000000400000003, CAST(22916 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (23228, N'{4FA379D3-DF4F-49C6-B626-03EF4B76565D}', N'011412381', 3, N'NO_PLAN', NULL, N'11412381', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 110', NULL, NULL, N'THAT PART DISTRICT LOT 110 SIMILKAMEEN DIVISION YALE DISTRICT SHOWN RED ON PLAN ATTACHED TO DD 678', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 14, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-07-21T09:00:05.000' AS DateTime), 32700, 2236, 0xBD0B00000104100000002B6519425327364180FB3AF0729A1D41ED5A429EC6263641C05A423E4C9A1D41226C78FA3926364170BA498C259A1D41C898BB56AD25364130F5B9DAFE991D416FC5FEB220253641409E5E29D8991D419C923A411F2536410052B89E509A1D41CC1951DAF5253641809E5EA98B9A1D41AE9DEFE7D8263641C0529621CA9A1D4192976E12B527364180EA73B5069B1D414E158C6A92283641F075E09C439B1D41EEFDD4380A29364170734694649B1D416666668663293641D0E61D277D9B1D41F897DDF350293641E09F1A2FFF9A1D41375EBA896C28364180613255C09A1D41F753E3E5DF27364160779CA2999A1D412B6519425327364180FB3AF0729A1D4101000000020000000001000000FFFFFFFF0000000003, CAST(23228 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (23526, N'{1F9A24D2-1944-45C0-A0B0-9EB30A420CB6}', N'004082664', 1078034, N'NWP9464', NULL, N'4082664', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Parcel A', N'REM Lot 4', NULL, N'PARCEL "A" (534367E) LOT 4, EXCEPT: PART ON SRW PLAN 40740 SECTION 29 TOWNSHIP 26 NEW WESTMINSTER DISTRICT PLAN 9464', N'0019', N'0009', N'NO', N'ICIS CADASTRE', 6, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2021-08-10T13:35:00.000' AS DateTime), 10277, 544, 0xBD0B0000010405000000AFB662DF59CC334130CD3B4EE9971C4150840DEF32CD3341C0D32BE51C981C41E8D9ACDACCCC33414054522745971C41A145B6935ECC334180923A0181961C41AFB662DF59CC334130CD3B4EE9971C4101000000020000000001000000FFFFFFFF0000000003, CAST(23526 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (24491, N'{7728E782-91EF-4E66-B8F9-78E18A29A7F6}', N'009480048', 1309770, N'NWP112', NULL, N'9480048', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'REM Lot 36', N'Block A', N'', N'LOT 36 EXCEPT: PART IN PLAN LMP21853 BLOCK "A" DISTRICT LOT 268 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 112', N'0109', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2021-10-13T10:10:45.000' AS DateTime), 469, 88, 0xBD0B000001040500000020DBF97E42BA3241E095438B514B1D41C0E3145D56BA324180923A816C4B1D4131772D8157BA32418033A2B4034B1D412965196243BA324100E86A2B004B1D4120DBF97E42BA3241E095438B514B1D4101000000020000000001000000FFFFFFFF0000000003, CAST(24491 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (25416, N'{F55522F5-137F-495C-BFD8-98E7AA466CEC}', N'006646964', 9439291, N'VIP2601RW', NULL, N'6646964', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 18', NULL, NULL, N'THAT PART OF LOT 18, DISTRICT LOT 8, QUADRA ISLAND, SAYWARD DISTRICT, PLAN 2122, LYING TO THE SOUTH WEST OF A BOUNDARY PARALLEL TO AND PERPENDICULARLY DISTANT 149.4 FEET FROM THE SOUTH WESTERLY BOUNDARY OF SAID LOT 18, EXCEPT PART IN PLAN 2601 RW', N'0163', N'0027', N'NO', N'MODIFIED-ICIS', 3, N'LSA', N'UNKNOWN', N'0', N'2970', CAST(N'2021-12-06T14:19:07.000' AS DateTime), CAST(N'2021-12-07T12:26:01.000' AS DateTime), 2969, 294, 0xBD0B000001041C0000001BC05B60451E3041B8CDAA8FA20C21411EEBE216441E3041F0E68C289F0C2141810F74D7491E3041D048F519960C21417FBE176A4F1E30416085389B8C0C214138B7ABCC541E30418854F9AF820C2141E51F20FD591E3041E0F9035C780C2141CF4F78F95E1E3041B0D14CA36D0C21413792CBBF631E304128CCEE89620C2141A423B91C6B1E3041B0E1E915310C2141271895743E1E304188900FFA1D0C214186416065251E304178B96B49C60C21418538D685281E304188E4F29FC70C21418004C52F331E3041F8C48FF1BA0C2141C2B23450361E3041D0ADE82BB70C2141737E4967391E3041789DE547B30C214120B8B9743C1E3041085AE345AF0C214143963C783F1E304120754126AB0C2141113C8A71421E3041E04162E9A60C21411BC05B60451E3041B8CDAA8FA20C2141A69BC4A0561E3041983099AABA0C2141ABC603D2531E3041C0D6171EBF0C21417E59B7F9501E304140C01479C30C2141D5CC14184E1E3041F80F3EBBC70C2141E548522D4B1E304190BC43E4CB0C214163A1A639481E3041F893D7F3CF0C21417F51493D451E3041B842ADE9D30C2141E1E00B13521E3041E82FBB67D90C2141A69BC4A0561E3041983099AABA0C2141020000000200000000021300000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(25416 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (25956, N'{221B40CD-1D9B-460C-9AC1-684D9EDE766A}', N'004300017', 656401, N'VIP18430', NULL, N'4300017', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 9', NULL, NULL, N'THAT PART OF LOT 9, SECTION 53, CORMORANT ISLAND, RUPERT DISTRICT, PLAN 18430, LYING TO THE WEST OF A LINE DISTANT 150 FEET FROM THE NORTH WEST CORNER OF SAID LOT, EXCEPT PART IN PLAN 3271 RW', N'0003', N'0020', N'NO', N'ICF', 3, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2022-01-14T16:24:12.000' AS DateTime), 1344, 172, 0xBD0B00000104050000002BCB1087B0822C41B0D2DEA0E1E82241E53D7998D3822C4138C2F52865E822417B04C58F95822C4170B0E1298DE82241A52A18157C822C41E89C11A5E1E822412BCB1087B0822C41B0D2DEA0E1E8224101000000020000000001000000FFFFFFFF0000000003, CAST(25956 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (26669, N'{AB4FC519-CD97-4B63-91FE-CB736C1DA738}', N'005583276', 1167819, N'NWP57386', NULL, N'5583276', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2011-10-15T00:00:00.000' AS DateTime), N'REM Lot 190', N'', N'', N'LOT 190 DISTRICT LOT 23 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 57386 EXCEPT: PLANS EPP9358 AND EPP9359', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:37:14.000' AS DateTime), 2901, 235, 0xBD0B0000010409000000EAF21FF206B2324110197357A6831C410724285E05B23241404013E1A8831C4199BB969019B232418001BC0528841C4177832F6C36B23241D009F9A02D841C41F1EBC0F951B23241F01951DA81831C41324CA64A5DB23241E09C80A66F831C4182FB3A5055B23241A05AD33C2A831C4183B7406224B23241C0923A0177831C41EAF21FF206B2324110197357A6831C4101000000020000000001000000FFFFFFFF0000000003, CAST(26669 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (26883, N'{1E121381-1B2B-4822-94CE-CBB6B00D297C}', N'007428201', 118430, N'VIP1397', NULL, N'7428201', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block 3', N'', N'LOT 3, BLOCK 3, SECTION 33, VICTORIA DISTRICT, PLAN 1397, LYING WITHIN THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:51:43.000' AS DateTime), CAST(N'2019-01-05T10:21:47.000' AS DateTime), 34, 44, 0xBD0B0000010407000000718A8E84183B324130F697DD3B951741B09DEF47153B32410071AC8B2E951741A6DFBEAE203B3241A0506B9A7195174161BA496C233B324140575BB16A951741EE0DBED01F3B3241B0FEB2FB5A9517414D96212E1C3B3241C03FA45F4B951741718A8E84183B324130F697DD3B95174101000000020000000001000000FFFFFFFF0000000003, CAST(26883 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (27290, N'{6E5823C8-CA4E-435A-88B7-F1F78D6BC230}', N'003144828', 133666, N'VIP5787', NULL, N'3144828', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Parcel A', N'REM Lot 5', N'', N'PARCEL A (DD 45680W) OF LOT 5, SECTION 4, RANGE 3, SOUTH SALT SPRING ISLAND, COWICHAN DISTRICT, PLAN 5787 EXCEPT PART IN PLAN 23071 AND VIP69572', N'0163', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:39:52.000' AS DateTime), CAST(N'2019-01-05T10:23:27.000' AS DateTime), 8786, 531, 0xBD0B0000010407000000088A1FE3C7113241B0506B1AE0D11941733D0A374D113241C0285C8F99D21941104FAFB40F1132417028ED8DF6D219417D51497DF2103241007DAEB622D319415DFE431A0211324110BE3099B0D319416A91EDFCD41132414054522772D21941088A1FE3C7113241B0506B1AE0D1194101000000020000000001000000FFFFFFFF0000000003, CAST(27290 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (27989, N'{E69363DC-2129-4123-B3F4-50882B1C690C}', N'013552376', 290631, N'PGP6408', NULL, N'13552376', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Parcel A', N'REM Lot 7', N'', N'PARCEL A (O19803) OF LOT 7 DISTRICT LOT 6171 CARIBOO DISTRICT PLAN 6408 EXCEPT PLAN 32696', N'0163', N'0002', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2019-01-11T18:31:18.000' AS DateTime), 2992, 235, 0xBD0B0000010406000000A957CAF2E7C33241707CD0F34B572B417E6ABC14E8C33241888F31F74B572B41BBD100FE0CC432410097FF904E572B4152B81EC510C432418867B36AB1562B411F41F143EBC33241F0043411A9562B41A957CAF2E7C33241707CD0F34B572B4101000000020000000001000000FFFFFFFF0000000003, CAST(27989 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (28433, N'{36A0880B-9593-4615-BE30-B0DC3EEC9BDF}', N'009411615', 128541, N'VIP180', NULL, N'9411615', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 16', N'', N'', N'THAT PART OF LOT 16, SECTION 64, VICTORIA DISTRICT, PLAN 180, DESCRIBED AS THE CANADIAN NORTHERN PACIFIC RAILWAY RIGHT OF WAY AS SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:44:14.000' AS DateTime), CAST(N'2019-01-05T10:53:47.000' AS DateTime), 3393, 291, 0xBD0B000001040A000000277E8C79933C324180999919049C1741CF19515A573C324190605452CA9B1741D6F97E2A833C324190AEB662999C1741322AA973893C324180C7293AB79C174127A089D0A03C324170C1A824269D1741B8A67947A83C3241204FAF94499D1741F363CC9DAA3C324150371AC0419D174193ED7C1FAD3C324110E3369A4D9D17412D4CA6EAB63C32411051DA1BAC9C1741277E8C79933C324180999919049C174101000000020000000001000000FFFFFFFF0000000003, CAST(28433 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (28822, N'{767D1A50-B035-4CC5-8FD4-0035E050961B}', N'001151363', 137026, N'VIP31631', NULL, N'1151363', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'', N'', N'LOT 3, SECTION 78, SOUTH SALT SPRING ISLAND, COWICHAN DISTRICT, PLAN 31631', N'0163', N'0005', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:08:48.000' AS DateTime), CAST(N'2019-01-05T10:54:56.000' AS DateTime), 164, 62, 0xBD0B0000010404000000CF66D547951632413075029AB3D9194143AD69DE95163241B01F63EE67D91941A84E409384163241A033113665D91941CF66D547951632413075029AB3D9194101000000020000000001000000FFFFFFFF0000000003, CAST(28822 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (28937, N'{0B9370E0-C807-4B3B-B2A1-857A64D8DE1D}', N'006440771', 128441, N'VIP111', NULL, N'6440771', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 19', N'', N'', N'THAT PART OF LOT 19 (INCLUDING PART ON PLAN 14 RW), SECTION 4, VICTORIA DISTRICT, PLAN 111, SHOWN ON PLAN 1209 OS', N'0153', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:10:19.000' AS DateTime), CAST(N'2019-01-05T10:54:57.000' AS DateTime), 1653, 200, 0xBD0B000001040800000081D0B33906393241F0BE0E1CFE781741100BB5C60639324180B0E1692D791741521E162A113932416088635D6B79174151D1915C1B39324100363C3D50791741198C4A8A17393241C0DE710A087817411E41F1E301393241809BC4A0417817419306F0160439324180DB6880FE78174181D0B33906393241F0BE0E1CFE78174101000000020000000001000000FFFFFFFF0000000003, CAST(28937 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (29078, N'{E9B328B5-E934-4AEB-8423-C3CC270E46D2}', N'015937437', 252487, N'PGP727', NULL, N'15937437', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'Block 32', N'', N'THAT PART OF LOT 1 BLOCK 32 DISTRICT LOT 933 CARIBOO DISTRICT PLAN 727 AS SHOWN IN RED ON PLAN 26804', N'0112', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:41:06.000' AS DateTime), 50, 32, 0xBD0B00000104050000000CAC1CDA128332419889B061994A2E4160984C1513833241803F355E8F4A2E4158C1A84409833241C832C4B1854A2E4156302A0909833241403411B68F4A2E410CAC1CDA128332419889B061994A2E4101000000020000000001000000FFFFFFFF0000000003, CAST(29078 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (29119, N'{D22A0298-D6C9-43EA-92C0-00F937CE2E4D}', N'013675931', 1092653, N'NWP594', NULL, N'13675931', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'Block 55', NULL, N'LOT 2 EXCEPT PART ON SRW PLAN 43417 BLOCK 55 DISTRICT LOT 411 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 594', N'0081', N'0009', N'NO', N'MODIFIED-ICIS', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2021-03-09T11:44:07.000' AS DateTime), 106, 44, 0xBD0B000001040500000056643BDFED613341D0096822A5571C41A11A2F7DE461334160C4B1AECC571C4138DF4FCDE9613341F03FA45FE0571C417168918DF461334120053411B3571C4156643BDFED613341D0096822A5571C4101000000020000000001000000FFFFFFFF0000000003, CAST(29119 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (29174, N'{7E6A2F22-137B-4568-9804-3DBCDC304433}', N'001624091', 3, N'NO_PLAN', NULL, N'1624091', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 81', N'', N'', N'THAT PART OF SECTION 81, METCHOSIN DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 21699F AND CONTAINING 1.52 ACRES MORE OR LESS', N'0065', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:20:50.000' AS DateTime), CAST(N'2019-01-05T10:55:33.000' AS DateTime), 6087, 497, 0xBD0B0000010416000000364ED191290B324190900FFAA13317413208AC3C280B3241609B559F8A3317417E95430B220B324110BE30191E331741029A08FB130B324100AE47E13133174120A7E848080B3241F0172653423317414DFC18F30E0B3241B0CB7F48BE33174175A52C431C0B3241B0E00B93A7341741353CBD321C0B324190C2F5A8A7341741942A18351C0B324190CE88D2A7341741DDC798BB200B3241B0051294F7341741C2749338360B3241C05F074E723617411E1FF48C380B3241F00434919B36174158D3BC23450B3241E043FA6D8E36174100DE02C9530B3241C00A46257F3617415E984C95500B324180F90F694E3617410F83C06A410B3241600C02AB443517418026C2E63A0B3241A0DB6880D23417415A7DAE76360B324120B150EB83341741F4F44A19300B324170AEB662143417412CCB10872F0B3241804013610A3417411DF46C362D0B3241903BDFCFE1331741364ED191290B324190900FFAA133174101000000020000000001000000FFFFFFFF0000000003, CAST(29174 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (29341, N'{C94F5BDE-D0DE-4BCC-B1B0-AAE66EDB5E17}', N'009386980', 3, N'NO_PLAN', 246811, N'9386980', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 890', N'', N'', N'LOT 890, VICTORIA CITY', N'0153', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:35:14.000' AS DateTime), CAST(N'2019-01-05T10:56:17.000' AS DateTime), 677, 110, 0xBD0B0000010405000000FF4C840DC73B324160F163CCEC4F17416AF7E4C1BB3B3241101B9EDE604F17416E469436AA3B32411040A45F784F1741D478E9A6B53B3241404BC80704501741FF4C840DC73B324160F163CCEC4F174101000000020000000001000000FFFFFFFF0000000003, CAST(29341 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (29602, N'{DFE27885-1FE9-4B27-AA20-932413E4B0DD}', N'013821202', 1070388, N'NWP5112', NULL, N'13821202', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', N'', N'', N'LOT 3 DISTRICT LOT 223 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 5112 EXCEPT PART (3.258 ACRES) SHOWN OUTLINED RED ON PLAN 27124', N'0002', N'0009', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-01-31T18:42:27.000' AS DateTime), 6847, 384, 0xBD0B00000104140000002E90A0D82B86334100AAF1D2F8DC1B413A4ED1112C863341B0B88D06DEDC1B414AE46F162C863341D0FA95E1B6DC1B413AC67A812B863341A08B54CE8FDC1B41F35F81532A863341A0E968F268DC1B41D571A68D28863341204B3D7342DC1B41CEF89E3126863341A099E2751CDC1B419E89B04123863341A0BFEC1EF7DB1B4189B0E14906863341509D80A6ABDA1B41BB96908FDF853341D07EFB3AA3DA1B41896CE7BBE385334160A301BC3DDB1B41405D5A22E4853341F0C39F3C56DB1B416A766A08E485334100E9C1C96EDB1B41F40F446EE385334120B66E3987DB1B419AB4EE54E2853341C02BDF619FDB1B418A5F4BBEE0853341E013C619B7DB1B41D14511ADDE853341209F9638CEDB1B412232C924DC853341B0B8C996E4DB1B41AA79C729D98533419096210EFADB1B412E90A0D82B86334100AAF1D2F8DC1B4101000000020000000001000000FFFFFFFF0000000003, CAST(29602 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (31614, N'{5A04F8B5-ABD2-4940-A069-91EDF0556FA8}', N'001686364', 1184161, N'NWP52468', NULL, N'1686364', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2011-05-11T00:00:00.000' AS DateTime), N'REM Lot 1416', N'', N'', N'LOT 1416 EXCEPT: PART ON STATUTORY RIGHT OF WAY PLAN 79636, DISTRICT LOT 440 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 52468', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:36:59.000' AS DateTime), 1291, 152, 0xBD0B0000010408000000D8096862DDAF324110AAF1D2E0661C419FA223F9CAAF3241903C2CD4A5661C41E8B7AF83C8AF3241B0B7AF83E2661C418CCB7F88C5AF324180BC74132C671C4197438BECC3AF3241705F07CE53671C4141CF6695EEAF324160DE02095B671C41B8270F8BF1AF32411051DA1B12671C41D8096862DDAF324110AAF1D2E0661C4101000000020000000001000000FFFFFFFF0000000003, CAST(31614 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (31977, N'{BF22E04F-8912-4581-A761-4D5D824552CF}', N'010423354', 3, N'NO_PLAN', NULL, N'10423354', NULL, N'759-000835.023', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'SE4', N'26', N'', N'THE SOUTH EAST 1/4 OF SECTION 26 TOWNSHIP 25 PEACE RIVER DISTRICT, EXCEPT PLAN 24116', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2018-01-09T12:12:01.000' AS DateTime), 640582, 3690, 0xBD0B00000104480000007693186495F83441BC3B4E91023B32416E34805796F83441286C789AFB3A3241924AEA8410F83441706FF065F03A3241674469AF19F8344190FF905E0D3B324163C770AC1BF8344100340FBB123B3241A1BF8F221EF83441E84B58E4173B32411BF4B00C21F8344194C6C3CF1C3B3241CF9BCF6424F8344164E42873213B324188CB032428F83441A4A1F3C4253B3241CAB890422CF83441387E38BC293B32410EB4F4B730F83441D4E8C6502D3B3241F1B9FA7A35F83441B4283A7B303B32416E76CD813AF834417CA10835333B32413A930BC23FF8344148549178353B32414B27DD3045F83441E07E2741373B32412B1B0AC34AF8344100431C8B383B32410E54116D50F83441C841C653393B32416475402356F83441FC198799393B32417508CCD95BF83441C0C0CE5B393B3241A4D7E78461F834414CAA1C9B383B3241444BDF1867F83441F0C2FE58373B3241A2952D8A6CF83441CC390E98353B3241847C95CD71F834416C22EA5B333B32419A8E38D876F83441B8FA2FA9303B32416E95AD9F7BF83441602372852D3B32413215161A80F834418C5D2CF7293B3241DCAD323E84F834418468B605263B32410234760388F834411CD734B9213B32419A5917628BF83441F83E881A1D3B32410EC220538EF8344144E43A33183B3241F6607FD090F83441C8056D0D133B324149050FD592F83441B0F3BFB30D3B32414FF7A45C94F83441881C4031083B32417693186495F83441BC3B4E91023B3241F67E6ABCC3F6344170A8358DD43A3241CE915C1E80F63441D81B7CC1013E324191E4F2BFA0F93441DC4603D83D3E3241215A647BE1F93441DCF0F44A173B324165BC7413BEF83441DC8173E6FE3A3241A7CFD5D6BCF8344184855AF3073B3241E95FF72ABBF83441E49E8C1A113B3241E30287AEB8F83441C487E3111A3B32415CB5A766B5F83441B8B3D8C6223B3241BDC7205AB1F8344128BE6E272B3B3241A8DC4F91ACF83441D0955622333B3241FA9F1716A7F83441244013A73A3B3241025ACBF3A0F834416CEA1BA6413B3241178917379AF83441E802FC10483B324108B2E7ED92F83441F01571DA4D3B32412A9D49278BF83441683486F6523B3241D13B4EF382F83441ECA7AC5A573B32417476E8627AF8344160C2D1FD5A3B32419127CA8771F83441089E71D85D3B3241678C3F7468F834418CA3A6E45F3B32417B76093B5FF83441E0B9351E613B3241588C36EF55F83441CC039782613B324168E9FBA34CF83441941AFB10613B3241826E8D6C43F8344140BA4CCA5F3B3241DA14F65B3AF83441E8DC2EB15D3B32417395F08431F834411448F7C95A3B324185B6C0F928F83441A097A51A573B3241878E0DCC20F83441D0D8D6AA523B3241070BBD0C19F8344174CFB5834D3B32418E06D1CB11F834414C05E8AF473B3241D53546180BF834412CCA773B413B32417630F5FF04F834419053BB333A3B324139D5758FFFF734418C2E39A7323B3241114505D2FAF73441603C8AA52A3B324174AA6ED1F6F734418078393F223B32411EFDF695F3F73441B8CAA185193B32412831086CE5F73441688A8EC4EC3A3241F67E6ABCC3F6344170A8358DD43A3241020000000200000000022200000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(31977 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (32205, N'{F0FA9047-09E2-4E96-BD33-8C4577C19B6B}', N'005294151', 294573, N'PGP30704', 90054407, N'5294151', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 9', N'', N'', N'LOT 9 DISTRICT LOTS 4383 AND 6195 CARIBOO DISTRICT PLAN 30704', N'0163', N'0002', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2019-01-11T18:31:49.000' AS DateTime), 4772, 344, 0xBD0B000001040A00000015D9CEF71FE332415839B48895962B412285EBF120E33241A0C420F06A962B4142C6DC550CE3324138D044187F962B41ABE8484E0AE3324120530523D8962B41EAD9ACDA60E33241E03D7998EB962B414EE3A55B7CE33241C85D4BC8F1962B41316EA34184E33241B0A44E80A3962B41C13923AA62E3324180F5B99A9B962B4133E6AE4534E33241C809686297962B4115D9CEF71FE332415839B48895962B4101000000020000000001000000FFFFFFFF0000000003, CAST(32205 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (32400, N'{BB806FF5-D6D2-4B92-89F8-FD1AC61FDD2F}', N'009409220', 463543, N'NEP15993', 90054544, N'9409220', NULL, N'02398.900', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'', N'', N'LOT A DISTRICT LOT 4588 KOOTENAY DISTRICT PLAN 15993', N'0135', N'0018', N'NO', N'ICF', 4, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:31:33.000' AS DateTime), 18952, 591, 0xBD0B000001040B00000068BC74535EA63B41D87F483F2FB2214122F46C1675A63B411824287EA9B1214112143F867FA63B41905B20819BB1214119AE47A17DA63B4120FDF6359AB12141823F359E45A63B41888CB9EB73B121417E613215B6A53B4130F8C26419B12141623255109FA53B4100075F18A9B12141A63E573BD5A53B4110EBE2B60DB2214162FE433A09A63B4118AB3E172EB22141CB98BBD62BA63B4158A1D6B40CB2214168BC74535EA63B41D87F483F2FB2214101000000020000000001000000FFFFFFFF0000000003, CAST(32400 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (33162, N'{B539524C-B989-4DCC-973D-5A4E6A0F8CE6}', N'011256648', 480274, N'KAP2081', 3066771, N'11256648', NULL, N'cnhp0100', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot D', N'', N'', N'LOT D SECTION 10 TOWNSHIP 22 RANGE 11 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 2081', N'0163', N'0006', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:22:34.000' AS DateTime), 483, 106, 0xBD0B00000104050000004494F686B34B3641D012F2C1B7732441FD7E6AFCA34B364190ADD85FC773244122B9FCA7B64B3641D0B27BF2117424414650FCB8B94B364100DCD781D07324414494F686B34B3641D012F2C1B773244101000000020000000001000000FFFFFFFF0000000003, CAST(33162 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (33345, N'{A039EB68-93DA-4D6F-AAE6-37F2B96CECBB}', N'010978712', 472377, N'NEP2350', NULL, N'10978712', NULL, N'7862722000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PARCEL A', N'LOT 1', N'', N'PARCEL A (SEE 181204I) LOT 1 DISTRICT LOT 812 KOOTENAY DISTRICT PLAN 2350', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:42.000' AS DateTime), 11010, 543, 0xBD0B000001041600000064A1D6F4A3E1394130CF66D57A871E410A3D9B95AAE13941902497FF62871E41A201BC85B1E1394190FF90FE4B871E41F875E09CB8E13941F03D795836871E41316EA381BFE139419045B6F322871E41FA31E6AEE7E1394130C58FB1B6861E4150158C8AE5E13941C089B0E16F861E4156423E8804E23941D07F48BF17861E4198FF909E14E2394120A392BAFF851E41F85C6DC580E13941E0C9C3C2AE851E41585227A080E1394100AF25E4B2851E41A2D6340F77E139415068916DCA861E4184C0CAE175E1394100C66DB4EC861E41742497BF75E13941407D3FB5F0861E4184A7574A6CE13941E0E1E91505881E413E7958A86EE1394140E4839EF5871E411BC9E55F75E13941909A771CCE871E413E575BB17CE139413083C04AA7871E41D1915C7E84E13941C0218EF581871E411E51DABB8CE13941A0361A405E871E4171CE885295E13941006F81843C871E4164A1D6F4A3E1394130CF66D57A871E4101000000020000000001000000FFFFFFFF0000000003, CAST(33345 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (34021, N'{5C2A3408-8B6A-4907-861B-2C571F057E86}', N'018414885', 468300, N'NEP20751', NULL, N'18414885', NULL, N'7863451100', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot A', N'', N'', N'LOT A DISTRICT LOT 883 KOOTENAY DISTRICT PLAN NEP20751 EXCEPT PLAN NEP81374', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:37.000' AS DateTime), 717, 125, 0xBD0B000001040800000021EBE276919A394180204171B0C71F4138D6C5AD9C9A394190AACFD57AC71F41C74B37499D9A39418069DEF16EC71F4134DF4F6DA29A3941E03F355E0AC71F41F20DBE50A19A3941809A771C06C71F41DAACFABC889A39414076E01C5AC71F41C84B3789799A3941D0F97EEA82C71F4121EBE276919A394180204171B0C71F4101000000020000000001000000FFFFFFFF0000000003, CAST(34021 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (34204, N'{DAF41DD5-5FA3-4F47-AE1A-0F528AAF8B5E}', N'012750301', 3, N'NO_PLAN', NULL, N'12750301', NULL, N'10200.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'949', N'5', N'', N'DISTRICT LOT 949 RANGE 5 COAST DISTRICT EXCEPT PLAN PRP13942', N'0163', N'0001', N'NO', N'ICF', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:18:28.000' AS DateTime), 173339, 3329, 0xBD0B00000104810000008C7EFB7AA0E52E41C0915C7E90B62E4183D0B3D987E52E41904BC8C77DB62E4106F775607AE52E41A857CAF274B62E41270F0B355CE52E41B07BF2706EB62E4173226CF845E52E41C8E3145D6AB62E41C074939828E52E41709A77DC63B62E41113FC61C17E52E4148158CCA63B62E411BE4839E01E52E4108CCEE496DB62E410BB5A6B9E9E42E41F8012BC77AB62E417B5AD3BCCAE42E411888F4DB79B62E4130F8C2E4B2E42E415029CB907AB62E41FDFFFF7F95E42E41484DF30E78B62E4150302AE978E42E41F07C3FF573B62E411AC2862759E42E41483EE8D96BB62E4173A301FC3AE42E414087165965B62E41F051B89E1DE42E41E841CFA65BB62E41702D21DFFDE32E4150A4DFBE52B62E41DCF21F52E1E32E41D81951DA45B62E41141B9E1ECFE32E413063EE9A32B62E41E5141D89C2E32E4158DF4FCD11B62E414AC1A824B9E32E4170840DCFEDB52E41E74F8D17AEE32E416006F096DAB52E41A4C420B0A0E32E417888635DBFB52E4189E4F29FA1E32E41E8B0506B9BB52E410ED04458A3E32E41703480777BB52E410A1DC9A5A2E32E410833C4B162B52E41AEF3FD54A8E32E414079582845B52E410A93A9C2AEE32E41A0C2F56834B52E4152302A29BDE32E41E00B93E91EB52E4112A5BDC1CEE32E4148EC2F3B06B52E41E39387C5E2E32E419088D25EE6B42E41C4B12E2EF1E32E41E0718A0ED0B42E419D3C2CD4FAE32E418804C54FB7B42E414B9FABAD03E42E4170BE9F5A9FB42E41E1F21F920CE42E4148158CCA7DB42E417668916D0DE42E4100780B646FB42E416F8104850DE42E4100DE02C959B42E4146DF4F0D0CE42E41A8FD65F73CB42E4159DC46830AE42E41C866D52730B42E41F4DBD70111E42E41702497BF11B42E414CC8073D1CE42E41581B9E5EFBB32E41E2718A0E35E42E41B0A22339D8B32E412DFF213D44E42E41886E1243C8B32E415DA835CD59E42E41088D97EEB5B32E41A00A462570E42E416072F9CFA6B32E418026C2468BE42E41F8CD195195B32E416A68912DA7E42E412041F1A388B32E41E6718A4EBEE42E41686DC5BE7CB32E41FE99089BD8E42E4138A60A4673B32E416D029A48F9E42E415833337367B32E4169226CF811E52E41503945C762B32E41A94082A22AE52E41887AA5EC62B32E415B984C1540E52E41B85B20416AB32E4112D0449849E52E416013618371B32E417A832F0C5BE52E41E04A59067CB32E41EB285C0F72E52E41A0C2F52888B32E4172D712B28AE52E4150BE9F1A8DB32E41234A7BC3A1E52E411095D4098EB32E411D1FF46CBEE52E4118F9A06789B32E41E12D9020D7E52E4128287E8C81B32E41CA78E9A6E8E52E41507502DA7CB32E41CB915C7EF8E52E4188DE718A8AB32E4130F6975DFCE52E41A8DFBE8E9EB32E4169A301FCE5E52E419038D605B4B32E414F1E166AD4E52E41D8DCB584C1B32E412AD49A66C0E52E41602497FFDAB32E41DEB5843CC0E52E414870CEC8FBB32E41EAB7AF43BFE52E4120C6DCF51EB42E41AB0C712CB3E52E41C09BC4E03EB42E41613255F0A3E52E413006819557B42E4112F9A0E78FE52E41285530AA76B42E419EA2237981E52E41382AA9938EB42E4133AB3ED773E52E4170A0F8B1A5B42E41BADA8AFD62E52E4168F085C9C4B42E417C48BFBD53E52E4140BA494CE2B42E41BD8F31B74BE52E4178E92671F1B42E414A9FABAD3FE52E41B072689108B52E410E3FC6DC32E52E41D856ECAF1BB52E41D37F487F20E52E41602041312DB52E413D4772B913E52E4140855A5338B52E411A41F12302E52E41106C783A4CB52E41B7847C50F5E42E41C8F0F48A62B52E41B547E1FAF5E42E4148A5BD817EB52E410FBE3099FEE42E4168787AE598B52E416C226CB8F1E42E41A8D6342FBBB52E411AEBE2B6E5E42E4168EA04B4CCB52E415F4BC847DBE42E41106F8104E3B52E41C7270F0BD0E42E4140FAEDEBFAB52E414282E287D1E42E41F8B8FC4711B62E4122C9E5FFDAE42E41403255B01FB62E41A379C769ECE42E41501058B92FB62E414ADA1BFC04E52E41406DC5FE3EB62E41D54D629021E52E4180CC5D4B46B62E415A44692F3AE52E41A03C2C9449B62E41B4F1D2CD52E52E4110B150AB4DB62E41EC7C3F7567E52E4170E2C7584FB62E41054D844D7BE52E41F892A90255B62E41537B83AF94E52E41D882514960B62E41DC02098AA4E52E41B8E848EE69B62E4100AAF192B3E52E41900B242879B62E41318941A0C7E52E41805CFE8390B62E41EA1FD22F66E62E41F016481092B62E4134211FB465E62E4170ABADD804B22E414EFC183364E62E416809F9E0FDB12E41D29169BF41E62E4150F47EB7F1B12E41881D6A671EE62E41604C0A76E8B12E41FE07C069FAE52E4148E3022DE2B12E41F55D3606D6E52E4188B18CE7DEB12E41B2BD4C7DB1E52E41581A74ABDEB12E417C04C50F8DE52E4190A22379E1B12E4160DC4643FFE42E4188529661F2B12E415F99622BE1E42E41186E7503F5B12E41EAA83FF8C2E42E4128AAB3BAF5B12E4142EF14C9A4E42E4160A09386F4B12E41563615BD86E42E4140CB5368F1B12E4191EE4EF368E42E41383C2D63ECB12E4155158C8A4BE42E410048507CE5B12E41A83CA83E33E42E41A0B5A580DFB12E41F43F44B61AE42E4108A0CD93DAB12E41356029FD01E42E4150C425B8D6B12E41C845381FE9E32E41C0A188EFD3B12E41804B6328D0E32E41F0924C3BD2B12E4151C1A824B7E32E41882C439CD1B12E412F3A92CB3DE32E41004B5946D1B12E4132D49AA63DE32E4168A1D6B448B22E414CAF94A53DE32E41086744294CB22E41BACAA1453DE32E41B08BDBA877B32E41D93D79D83AE32E41D8915C3E90B62E418C7EFB7AA0E52E41C0915C7E90B62E4101000000020000000001000000FFFFFFFF0000000003, CAST(34204 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (34764, N'{8C8F3226-A773-4DF9-BCC4-CA5D07F0DE36}', N'012231088', 495467, N'NEP9500', 14227781, N'12231088', NULL, N'219528030', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 21', N'Block 44', N'', N'LOT 21 BLOCK 44 DISTRICT LOT 95 KOOTENAY DISTRICT PLAN 9500', N'0085', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:21:36.000' AS DateTime), 278, 88, 0xBD0B0000010405000000D42B6559D9DD384128B6F33D565820410AF9A047D3DD38411804560E4D582041F95C6D45BDDD384178C7293A8758204134AB3E57C3DD3841A8C2F56890582041D42B6559D9DD384128B6F33D5658204101000000020000000001000000FFFFFFFF0000000003, CAST(34764 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (35279, N'{CAA7C208-A436-448F-9B91-E759C9DE9336}', N'000017655', 645957, N'VIP1279', NULL, N'17655', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 28', N'Block 3', N'', N'LOT 28, BLOCK 3, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:54.000' AS DateTime), 383, 96, 0xBD0B0000010409000000F3B0500B939D3041C020B072A8BB1C417B9CA203939D3041F0B27B72A8BB1C4174029AC8899D3041806DC57EA7BB1C41EAC03983899D304140C4B1AECFBB1C419AF606BF949D304120F46CD6D0BB1C41A0EFA7C6949D3041B086A7D7D0BB1C414DAF94A5AF9D3041009A089BD3BB1C41D6F0F4EAAF9D3041A0B0506BABBB1C41F3B0500B939D3041C020B072A8BB1C4101000000020000000001000000FFFFFFFF0000000003, CAST(35279 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (35312, N'{FAC5553A-B16D-44EA-B66E-40DA532B65EC}', N'000016063', 646724, N'VIP2024', NULL, N'16063', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'Block D', N'', N'THAT PART OF LOT 5, BLOCK D, DISTRICT LOT 258, ALBERNI AND NEWCASTLE DISTRICTS PLAN 2024, SHOWN OUTLINED IN RED ON PLAN 139 R', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:38.000' AS DateTime), 3256, 570, 0xBD0B000001041D000000CB76BE1F016D3041509B559FACB31D41F7B9DA8A0B6D30414096210E85B31D41CFD556CC156D304130A913D05CB31D4160DC46E31F6D3041C01DA7E833B31D41684DF3CE296D304100AC1C5A0AB31D41DCACFADC526D30413070CE885BB21D41B7AF03A7676D30414025750203B21D4158C1A884886D304190BB961077B11D413E9B55FF886D3041303867C42DB11D4131211FF4496D3041107CD0333AB21D41F84A59E6206D304170014D04E9B21D417D48BF1D176D30413092CBFF11B31D419E67B32A0D6D3041103D9B553AB31D4135D6C50D036D3041804AEA0462B31D41B7A679C7F86C30413095D40989B31D413390A058EE6C304150D2DE60AFB31D41B9490CC2E36C30419070CE08D5B31D419CE61D67E36C3041005DDC46D6B31D41BB8D0610D16C3041B08D067016B41D4184D0B3B9CE6C3041509A779C1EB41D410D61C3B3C36C3041E0C3422D45B41D412A3A922BC86C30410063EEDA45B41D41A0A223F9D06C3041105C204147B41D41A111A5FDD06C3041207C613247B41D413DCF6675D56C3041A01B0DE047B41D419F45B673EB6C30417043FAEDFAB31D4130C4B1CEEB6C304100E9B7AFF9B31D41F2B0508BF66C304170B7D180D3B31D41CB76BE1F016D3041509B559FACB31D4101000000020000000001000000FFFFFFFF0000000003, CAST(35312 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (35377, N'{36B82C5D-0C0D-4546-BB1F-20A5431E3598}', N'008750858', 650914, N'VIP618', NULL, N'8750858', NULL, N'22201', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 15', N'', N'', N'LOT 15, DISTRICT LOT 11, ALBERNI DISTRICT, PLAN 618, EXCEPT PARTS IN PLANS 8444 AND 2806 RW', N'0102', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:07.000' AS DateTime), 235, 71, 0xBD0B000001040F000000FB7E6A3C9E92304150D0445898DA1C417956805F9C923041A097304CA6DA1C4148F6FA889A923041D0FDA64DB4DA1C412285E0B898923041E022795CC2DA1C41661437EF9692304100F97778D0DA1C41D09F042C95923041504874A1DEDA1C41840D4F6F9392304170AB3ED7ECDA1C41FE4C84EDA4923041C0F75363EBDA1C41FA5C6DE5A192304130E4831E89DA1C4141D3464DA192304140D964B78BDA1C41A3BA7FB3A0923041207B414A8EDA1C41AFE11B18A0923041307A09D790DA1C4123211F7B9F92304170ADAC5D93DA1C41E95B8DDC9E923041B0131BDE95DA1C41FB7E6A3C9E92304150D0445898DA1C4101000000020000000001000000FFFFFFFF0000000003, CAST(35377 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (35804, N'{6A2DC97D-A63A-4E33-A5AD-5BE51759506F}', N'011411449', 493068, N'NEP12922', NULL, N'11411449', NULL, N'7079543525', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 9327 KOOTENAY DISTRICT PLAN 12922 EXCEPT PLAN NEP62072', N'0163', N'0004', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:21:04.000' AS DateTime), 12383, 545, 0xBD0B0000010408000000A9825109AC91384108D9CE370E2F20411FF46CD62A913841804F1E96F12E20411471AC4B16913841E08C286D643020416B09F9E03191384110D9CEB731302041D678E9E646913841F84C840D0B302041C3E3141D8591384128C3D3AB5D2F204188A757AA8F913841403789813D2F2041A9825109AC91384108D9CE370E2F204101000000020000000001000000FFFFFFFF0000000003, CAST(35804 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (37046, N'{F250FC91-FFBF-4D3D-897E-36A83213E48B}', N'013995570', 295389, N'PRP968', 29845241, N'13995570', NULL, N'01244.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 17', N'Block 103', N'Section 2', N'LOT 17 BLOCK 103 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:37.000' AS DateTime), 291, 78, 0xBD0B00000104050000003F355E7A50772B41F831E60EC0643141201FF46C3C772B41F40FE937C0643141509D80263D772B414CE3A53BDD6431414C6B9A3751772B41440E2D12DD6431413F355E7A50772B41F831E60EC064314101000000020000000001000000FFFFFFFF0000000003, CAST(37046 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (37050, N'{CBCB90F5-1E4D-4EA3-8A26-100386CA8E85}', N'014083663', 295389, N'PRP968', NULL, N'14083663', NULL, N'00582.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'Block 41', N'Section 1', N'LOT 2 BLOCK 41 SECTION 1 DISTRICT LOT 863 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7733', N'0087', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:33.000' AS DateTime), 340, 89, 0xBD0B00000104050000009C2C435C4C6E2B4168711B0DB06431410EFBCB6E606E2B41E4D24DC2B4643141CDDEE08B5F6E2B4158EA045490643141F2FDD4784B6E2B410460766F906431419C2C435C4C6E2B4168711B0DB064314101000000020000000001000000FFFFFFFF0000000003, CAST(37050 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (38126, N'{9064EB10-0C9D-43DA-9EB5-73DFBCE3BCD4}', N'014413001', 1185278, N'NWP19544', NULL, N'14413001', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-02T00:00:00.000' AS DateTime), N'REM Lot 7', N'Block H', N'', N'LOT 7, EXCEPT; PART ON SRW PLAN 45999A BLOCK "H" DISTRICT LOT 139 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 19544', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:35:45.000' AS DateTime), 432, 84, 0xBD0B0000010405000000EEB050EBB68A32415079582847EB1B4190A982B1B78A3241100BB526FEEA1B411C0DE0CDA08A3241003480B7FAEA1B410C12147F9E8A324110DBF97E43EB1B41EEB050EBB68A32415079582847EB1B4101000000020000000001000000FFFFFFFF0000000003, CAST(38126 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (38729, N'{CC9C768D-5028-4B9F-8953-EC82FDC702B1}', N'002833913', 1167846, N'NWP61643', NULL, N'2833913', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2012-08-24T00:00:00.000' AS DateTime), N'REM Parcel 3', N'REM Lot 3', N'', N'PARCEL 3 DISTRICT LOT 3 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 61643 EXCEPT PLANS LMP30778 AND EPP329', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T09:11:09.000' AS DateTime), 1815, 171, 0xBD0B000001040500000014D0441830B932415074931873B01C41DAE76AEB14B93241102428FEE2AF1C41FE088A7FF5B83241001C7CE13AB01C41F05A42FE0DB93241300EBE30D4B01C4114D0441830B932415074931873B01C4101000000020000000001000000FFFFFFFF0000000003, CAST(38729 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (39331, N'{9B191BD5-304B-409E-B801-546A8E1394D0}', N'014116111', 1166376, N'NWP1460', NULL, N'14116111', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2007-04-16T00:00:00.000' AS DateTime), N'REM Lot 18', N'', N'', N'LOT 18 EXCEPT: FIRSTLY: WEST 200 FEET, SECONDLY: PART ON SRW PLAN 27770 THIRDLY: PART DEDICATED ROAD ON PLAN BCP29299, SECTION 33 TOWNSHIP 8 NEW WESTMINSTER DISTRICT PLAN 1460', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T09:48:02.000' AS DateTime), 1371, 291, 0xBD0B0000010408000000CC073DFB7CEF3241907F483F2F851C41194850FC9CEF3241E0FC8774EF841C41F4A7C64BB7EF32418054C1A8CF841C41095F982CFAEF3241E04F8D97BF841C4170787A65C7EF324170DE710AB6841C41E5D9ACFA95EF3241B0A52CC3AC841C4166DE71CA7BEF3241208104C5A7841C41CC073DFB7CEF3241907F483F2F851C4101000000020000000001000000FFFFFFFF0000000003, CAST(39331 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (41386, N'{26F53B39-E18D-4815-8147-3AFAA720E32E}', N'006445110', 140382, N'VIP2214', NULL, N'6445110', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 33', NULL, NULL, N'THAT PART OF LOT 33, SECTION 4, VICTORIA DISTRICT, PLAN 2214, SHOWN ON PLAN 1209 OS, EXCEPT PART IN PLAN 5062', N'0153', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:25:47.000' AS DateTime), CAST(N'2021-05-11T10:53:47.000' AS DateTime), 537, 132, 0xBD0B00000104180000006644690F3239324170D3BC63267B1741469D80462E3932412092CB7F087B1741D11951DA2A39324190438BECE97A1741EB8C28CD2739324170EC2FBBCA7A17416844698F16393241B04F8D97F87A174188FD78CC1639324160F1C43CFB7A1741C032590C1739324110F0D1DDFD7A17412C58054F173932410064847A007B174103AF789417393241F0B5AC12037B1741DD45AEDC1739324130A01BA6057B17410BF9A027183932418033A234087B1741BA847C501B393241F0164850247B17413EFAED0B1C393241B060C3D32A7B174124EBE2961C393241104625F52E7B17410ACE195121393241601FF4EC527B17418616D90E2A393241A00C71AC3B7B17416644690F3239324170D3BC63267B174142A4DF5E4D393241B0A8A4CE9B7B174123D26F1F4939324180900F7A897B1741E504341145393241C0D8CE77767B17412A6519C244393241D06A2B76777B1741880D4FEF4E39324190DFBE0EB57B1741CBBAB8CD5139324180FA5C6DAD7B174142A4DF5E4D393241B0A8A4CE9B7B1741020000000200000000021100000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(41386 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (41724, N'{CC33492A-B231-4807-8C96-F65B65EB9195}', N'014414384', 1479034, N'NWP1866', NULL, N'14414384', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', CAST(N'2011-07-08T00:00:00.000' AS DateTime), N'REM Lot 60', N'', N'', N'LOT 60, EXCEPT: PART ON SRW PLAN 26009 DISTRICT LOT 85 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 1866', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:39:37.000' AS DateTime), 349, 82, 0xBD0B000001040500000087B0E1C9DBA4324110779C22C7EE1C41664DF3AECBA4324170E3A59B8CEE1C414D9621EEBAA43241F0E3141DD6EE1C41F975E09CBFA4324130226CF8E6EE1C4187B0E1C9DBA4324110779C22C7EE1C4101000000020000000001000000FFFFFFFF0000000003, CAST(41724 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (43260, N'{E9EC982A-05A3-40D5-9DC2-EE671913BADB}', N'011893613', 1092546, N'NWP664', NULL, N'11893613', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 20', N'Block 64', NULL, N'LOT 20 EXCEPT: PART ON STATUTORY RIGHT OF WAY PLAN 47783, BLOCK 64 DISTRICT LOT 411 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 664', N'0081', N'0009', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-02-15T14:57:21.000' AS DateTime), 20, 22, 0xBD0B000001040400000084B0E1498561334160976E923B5B1C41745F070E856133411020D26F505B1C41C27D1D188D613341200000003D5B1C4184B0E1498561334160976E923B5B1C4101000000020000000001000000FFFFFFFF0000000003, CAST(43260 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (47214, N'{29C4D817-92E5-4FE8-9C38-C479DE9B8A8B}', N'008121621', 12849, N'VIP1002', NULL, N'8121621', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 6', NULL, NULL, N'THAT PART OF LOT 6, DISTRICT LOT 101, MALAHAT DISTRICT, PLAN 1002, LYING TO THE WEST OF THE ISLAND HIGHWAY AS SAID HIGHWAY IS SHOWN ON PLAN 570 RW EXCEPT THAT PART IN PLAN VIP64830', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T18:06:08.000' AS DateTime), CAST(N'2021-02-25T09:38:33.000' AS DateTime), 2198, 308, 0xBD0B0000010407000000CF00DE22250432413026530530C218413355308AA403324100F1634C1DC21841B7847CF0A3033241401058B95BC21841B6490CA221043241C037F84270C21841526210F82B043241A06ABCF471C2184161984C5530043241705452A731C21841CF00DE22250432413026530530C2184101000000020000000001000000FFFFFFFF0000000003, CAST(47214 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (47548, N'{BC9FBDDD-35AE-40ED-A45C-0B061D725BDC}', N'006441572', 12823, N'VIP2231', NULL, N'6441572', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'THAT PART OF LOT 1, SECTION 9, RANGES 1 AND 2, QUAMICHAN DISTRICT, PLAN 2231, SHOWN ON PLAN 1027 O.S., AND CONTAINING 2.2 ACRES, MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 42, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T19:37:37.000' AS DateTime), CAST(N'2021-04-19T10:13:51.000' AS DateTime), 9057, 772, 0xBD0B0000010431000000DFC7983B76C43141C0847CD0467D19414B03782B61C43141507B83AF3B7D1941F22FBB874FC43141301B9EDE317D1941FE18735719C43141C057CA32AC7D1941243D130429C4314120BFB9E3A77D1941DD8337B938C4314140445286A67D1941514E086E48C431415096581BA87D19418E2CAE1958C43141F0B5E8A1AC7D1941D5D756B367C4314100727617B47D1941C5293A3277C4314120D9CE77BE7D1941DFC7983B76C43141C0847CD0467D194199999999C5C4314160D191DCB57B1941799CA223A2C43141001A51DA417C194160087EE7A1C4314130F7D1B67B7C194176A51110A3C43141D0CAB365B57C1941A8659C9AA5C43141A01DD55DEE7C1941AEBE1381A9C4314180EDC617267D19416F0632BAAEC4314150A70E0F5C7D1941247E8C39B5C43141701361C38F7D19417E8AD3A5AEC4314110D3D9AF837D19413BF483F1A7C431418061BDC9787D19417793FC1FA1C43141F06B86166F7D1941AEF0AA349AC43141D056159B667D1941858B093393C43141E0C8AD5B5F7D19410A1B9E1E8CC431410088F45B597D19417C3F353E8CC431414060E5D0D27D1941E782EE1199C43141208030E3E17D194196B287BCA5C4314140B2C6FEF27D1941104CD538B2C431415060AC1C067E194129B2BE81BEC43141400814351B7E1941A0414092CAC43141706A613F327E1941F75C6D65D6C43141500E2D324B7E1941DF02090A11C531419011A5BD4C7E1941B4281B4606C5314170D218E7347E1941E465C50DFCC431413049F87D197E19417ADAF373F2C43141609E03B5FA7D194186286D8AE9C43141B05A3AC5D87D19419A8AB161E1C4314100DD71EDB37D1941C846DC08DAC431419006E1718C7D194158B6878DD3C4314140ECA19B627D19413216B4FBCDC43141C07E2AB8367D1941A84EB15DC9C43141F021BD18097D1941C6DB0BBCC5C431413035D211DA7C194142F97C1DC3C43141E0AF7BFAA97C1941B62FDE86C1C4314100ECC32B797C1941CF5920FBC0C43141C0CA0800487C19419D32467BC1C43141906354D2167C19414B766206C3C431418075B4FDE57B194199999999C5C4314160D191DCB57B1941020000000200000000020B00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(47548 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (47673, N'{6D307518-96BF-498C-A63D-92DF0FFBC986}', N'014210509', 469475, N'NEP6075', 36309721, N'14210509', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 SECTION 17 TOWNSHIP 26 RANGE 21 WEST OF THE 5TH MERIDIAN KOOTENAY DISTRICT PLAN 6075', N'0163', N'0006', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-05-10T15:30:42.000' AS DateTime), 88065, 1312, 0xBD0B000001040E0000001671ACAB56EE3841B0D781B3A648264130431CAB55EE3841B8726811A848264160FE43DAECED3841186A4DB3304926417614AE87D3ED3841B00C712CB249264126A91310CFED384190A0F871AF4926416D5F070EBEED38412851DA9B014A2641B203E7ECBFED3841C0E1E9D54C4A2641DEB584BC2EEE3841383A920B6A4A2641206C783A68EE3841302CD49A904A26411A73D73241EF38413809F9E01A4926415296216E99EF3841586210D884482641A25E290BBCEF3841B81E85EB494826410C7A364B0FEF3841F895B2CCB24726411671ACAB56EE3841B0D781B3A648264101000000020000000001000000FFFFFFFF0000000003, CAST(47673 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (47876, N'{7FD043E0-E26D-4736-ABA7-0D1CCE26E605}', N'001624261', 3, N'NO_PLAN', NULL, N'1624261', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 107', N'', N'', N'THAT PART OF SECTION 107, METCHOSIN DISTRICT SHOWN COLOURED GREEN ON PLAN DEPOSITED UNDER DD 14283F AND CONTAINING 2.8 ACRES MORE OR LESS', N'0079', N'0005', N'NO', N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:57:42.000' AS DateTime), CAST(N'2021-05-30T19:21:23.000' AS DateTime), 11362, 888, 0xBD0B0000010466000000354547B21B093241C015FBCBDB2C1741FA7E6ADC2109324130A08930EF2C1741A2A2231928093241F0A59BC4012D1741D06F5F672F09324110BE3099162D174120A7E8C83609324180DB68802A2D17416A91ED3C3E093241A0B437783D2D17418495438B5A093241F0839E4D002D174137EDC6C45109324140E0B651EC2C17415F538A2949093241B0CA3A31D72C1741343EEFBB40093241305D02F2C02C17419C844A7E38093241F002359AA92C174104B9E37230093241C0C44730912C1741FF87F49B28093241A07EFBBA772C1741FE1873B7240932417068916D6A2C1741473789E120093241C0ACFADC5C2C1741B1506B1A1D093241D0270F0B4F2C17415DEE5A6219093241C0D93DF9402C1741433EE8B9150932410030BBA7322C1741BC64AA2012093241D02BF617242C17416F3480970E093241003A924B152C17417636AB1E0B093241205C8F42062C1741E96A2BB60709324130DBF9FEF62B174198081B5E0409324190DB6880E72B17411CEBE21601093241805EBAC9D72B1741F4EDEBE0FD083241E03E57DBC72B1741381136BCFA083241607DAEB6B72B17413A6744A9F7083241103FC65CA72B174108F016A8F408324130166ACD962B17416919E2B8F10832419003E70C862B1741C8FEB2DBEE083241E0BD3019752B174155204111EC083241F0B359F5632B17415E105859E9083241F0E5D0A2522B1741837346B4E6083241E09B3322412B17417DB74022E4083241A06ABC742F2B1741AD2E6EA3E1083241509A089B1D2B17414E621038DF08324180BDC1970B2B17415A5227E0DC08324160FAED6BF92A1741BFF5289CDA08324100075F18E72A17415CC3D36BD8083241409BE69DD42A17412FB29D4FD608324160B662FFC12A1741B39DEF47D408324120363C3DAF2A1741EF7C3FD5D1083241B0051294972A17412085EB31D00832412092CBFF862A17418F7EFB7ACF08324180CA32C47F2A17414850FC38CD08324140F241CF672A174130BB270FCB08324110EBE2B64F2A1741052428FEC80832411048507C372A17419406F0F6C70832412075711B2B2A174132772DA1C308324100FA7EEAF629174133C4B16EBE083241003E7958B8291741838CB9EBBB0832417027A0099A291741D59AE6BDB8083241C037F8C273291741CA073DBBB80832413054E3A5732917415A39B4A89D08324190A982D12D281741D9F0F4AA90083241D0C9C3428F27174196D4092878083241A00B24A8C4271741AB3E57DB99083241E0AE25E45B2917412ACB1047A0083241A047E17AA92917416F810485A9083241A0795828192A1741112DB23DAB08324180218EF52D2A1741E6D0229BB508324180C8073DA72A174109CE19F1BA083241C07CD0B3D92A1741F6DBD721BD083241109BE69DED2A17416C006F61BF083241103A924B012B1741BB9690AFC108324180EC2FBB142B1741F19E3C0CC408324150D5E7EA272B1741E3581777C6083241603EE8D93A2B174196C420F0C8083241204B59864D2B1741DD581777CB083241704469EF5F2B17417D8CB90BCE083241E072D712722B17411B0DE0ADD0083241D08D06F0832B1741D7A3705DD308324110265385952B17419C900F1AD6083241803B4ED1A62B1741799CA2E3D8083241103CBDD2B72B1741B059F5B9DB083241C06FCE88C82B1741A323B99CDE083241702041F1D82B1741E6B3048BE0083241E06EF894E32B17413F7EBB80E2083241E059E522EE2B17413F24CE7DE4083241F01BB59AF82B1741D70D2D82E6083241C09E15FC022C1741BC69C88DE8083241C07BB5460D2C1741DF2D90A0EA08324170FE437A172C1741E7FBA9B1EE083241F0B4A6F92A2C174104D7A3D0F208324190E09C113E2C174178832FECF508324110B5A6F94B2C1741805149FDF6083241705BB1BF502C1741A9C64B37FB083241204A7B03632C1741CD915C7EFF083241701AC0DB742C1741550E2DD20309324190EFA746862C174170CE88320809324160136143972C17419BF6069F0C0932415060E5D0A72C17410219731711093241D0B12EEEB72C1741AAC934C6110932417047D12ABA2C17418BEF4A7312093241F000836FBC2C17417398AF1E13093241C0EB2FBCBE2C17410EE15CC81309324110CEC310C12C174110F54C7014093241102A2A6DC32C1741920F7A1615093241C03B4ED1C52C17418F75711B15093241708A8EE4C52C1741BE64AA8015093241605AD33CC72C174104917E9B150932411050FC98C72C1741354547B21B093241C015FBCBDB2C174101000000020000000001000000FFFFFFFF0000000003, CAST(47876 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (48968, N'{73C0D1AA-1EBE-41E0-95BF-544C1FEB58AC}', N'012952940', 7588432, N'KAP634A', NULL, N'12952940', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'B', N'517', NULL, N'PARCEL B (PLAN A634) OF DISTRICT LOT 517 KAMLOOPS DIVISION YALE DISTRICT', N'0017', N'0028', N'NO', N'ICF', 4, N'LSA', N'UNKNOWN', N'1', N'4865', CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-07-13T14:15:30.000' AS DateTime), 4886, 543, 0xBD0B000001040C0000000B560E0D71063641B08BDBE84A462441EDEBC019B10636417814AE072748244194438B8CD2063641D0C3422D08482441D668004FCE06364110363CBDFC472441666FF045C7063641687DAE36E84724414594F6C6C00636419058A8F5D24724414D7424D7BA06364118A7E808BD47244113583934B706364130992A18AE4724416A9A773CB20636419831772D97472441A62C437CAB063641B87A14EE72472441E002092A81063641989ECD6A424624410B560E0D71063641B08BDBE84A46244101000000020000000001000000FFFFFFFF0000000003, CAST(48968 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (52431, N'{CCA64A32-0456-45DD-A706-B41CF8AF12A6}', N'007870892', 486205, N'KAP17794', 12471351, N'7870892', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot E', NULL, NULL, N'LOT E DISTRICT LOT 1025 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 17794', N'0163', N'0019', N'NO', N'ICF', 9, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-04-24T11:14:22.000' AS DateTime), 38880, 955, 0xBD0B000001040C000000BC42ADC90A953741507B14AEB1D91C413E3EE859AC953741D0EC9EBCF3D91C41C8B12E6EE0953741708104452ED41C41D2F70B74D79537416028AB5546D41C41BBDAE1C4CE953741C024CC0F60D41C4132AE9B65C6953741C0B4D4647BD41C41D284F75ABE953741C052494598D41C41568083A9B6953741F07CCEA0B6D41C410A3D9B55AF95374120F83166D6D41C416AAA60748A95374180DFBE0E88D51C413CEF38055095374180FBA9F1E1D61C41BC42ADC90A953741507B14AEB1D91C4101000000020000000001000000FFFFFFFF0000000003, CAST(52431 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (52468, N'{8DB0ACAD-C6C6-491C-BF88-C91F532CD976}', N'009690531', 475492, N'KAP9488', NULL, N'9690531', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1 SECTION 19 TOWNSHIP 20 RANGE 9 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 9488 EXCEPT PLANS KAP47290 AND KAP48256', N'0124', N'0006', N'NO', N'MODIFIED-ICF', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-04-28T13:21:06.000' AS DateTime), 2300, 246, 0xBD0B000001040C0000002C8716D97B8A3641A896908F50022441E6C7981B988A3641A04D62105602244184D93D599D8A364110894160F90124416D8863DD9D8A3641303BDF0FED0124417B2EA1439E8A3641285020EEDA012441EF5D76579E8A364100470CC8C801244130B2DC189E8A3641F0CF7CA3B60124412259E8879D8A3641A01D4B86A4012441DE0CC8A49C8A3641B8024E76920124418004C56F9B8A364158105879800124412A1895B47F8A36416819E298F60124412C8716D97B8A3641A896908F5002244101000000020000000001000000FFFFFFFF0000000003, CAST(52468 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (52828, N'{E7C0DD93-A35D-4D9F-A04D-2F101E237977}', N'014788799', 488792, N'NEP934', NULL, N'14788799', NULL, N'7073600700', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 7', N'', N'', N'LOT 7 DISTRICT LOT 789 KOOTENAY DISTRICT PLAN 934 EXCEPT PLANS 2095, 3082, 18767 AND NEP64643', N'0163', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:16.000' AS DateTime), 68006, 1782, 0xBD0B000001040B000000743D0AD70E0C394130F697DD45D6204100D578C95B0C3941304547F2FFD020411A73D792490C3941F8E236DAF8D020415ABA492CF60B39417037890104D12041FB75E0DCB10B3941D8B359F5B2D52041743D0AD70E0C394130F697DD45D6204154863816AE0B3941681FF4ECF5D520410488F49BA70B3941208716D968D62041428B6C670B0C3941502CD4DA82D620410A4625150C0C394168F085C976D6204154863816AE0B3941681FF4ECF5D52041020000000200000000020600000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(52828 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (52840, N'{E778BDCE-10DD-4824-86AD-2358C2389501}', N'007576323', 468835, N'NEP796', NULL, N'7576323', NULL, N'7864156000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 5', N'', N'', N'LOT 5 DISTRICT LOT 2155 KOOTENAY DISTRICT PLAN 796 EXCEPT PARCEL A (SEE 143569I) EXCEPT PLAN R127, NEP61200 AND NEP61345', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:16.000' AS DateTime), 11306, 464, 0xBD0B000001041100000000780B8495493941E05817B748192141CA5D4B289C49394110F1F48A4A192141C1E3141D82493941D0E76AEBA718214105F0160864493941302AA95397182141B8847CF051493941D020B0B27018214172C5FE52364939416823B97C97182141BC6B09990D49394148499D40BF182141577DAE56F6483941505530EAB918214112363C1DF4483941401361C3B61821413A6744E9FD483941B044D8F025192141866CE73B1C49394130772DE12C192141223867642B49394138D044583019214138CD3B8E3A493941409621CE3319214131772DE15849394118FDF6B53A1921413355300A68493941200F0B353E192141DAE00B337749394170FDF6B54119214100780B8495493941E05817B74819214101000000020000000001000000FFFFFFFF0000000003, CAST(52840 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (52891, N'{A59828B4-ECAF-4428-9F21-DDBE423D83B8}', N'009126236', 128644, N'VIP335', NULL, N'9126236', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 4', N'', N'', N'LOT 4, SECTION 7, VICTORIA DISTRICT, PLAN 335 EXCEPT PART IN PLAN 775 RW', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:09:41.000' AS DateTime), CAST(N'2019-01-05T10:22:25.000' AS DateTime), 301, 72, 0xBD0B00000104070000002CA089D0A4393241C030992AB7891741AF47E1DAA739324100C9E5BFA6891741B89690CFAA39324170742417968917416E567DAEAD39324140EA9532858917412241F1639739324190E4F21F718917410F2DB2BD9139324130B6F3FDA58917412CA089D0A4393241C030992AB789174101000000020000000001000000FFFFFFFF0000000003, CAST(52891 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (52929, N'{0F670FE6-52E8-48CB-BF71-7D13FD37350F}', N'001623672', 3, N'NO_PLAN', NULL, N'1623672', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 79', N'', N'', N'THAT PART OF SECTION 79, METCHOSIN DISTRICT, SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 27589 AND CONTAINING 1.38 ACRES MORE OR LESS', N'0065', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:14:08.000' AS DateTime), CAST(N'2019-01-05T10:22:30.000' AS DateTime), 5586, 462, 0xBD0B0000010408000000F9065F58C10B3241300C02AB8E3F17415E545267F30B3241208A1F63A0421741C676BEFF0D0C3241F0B9DA8A83421741409B557F060C324140C7BAB80D421741760B2428FA0B324120B072E84C411741B5AF03C7E90B324130DF4F8D4E40174191180416DB0B324190B5157B6A3F1741F9065F58C10B3241300C02AB8E3F174101000000020000000001000000FFFFFFFF0000000003, CAST(52929 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (53417, N'{7274B218-E75F-46A0-B803-FE3C7D26D2AB}', N'008259682', 117903, N'VIP877', NULL, N'8259682', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 31', N'Block 9', N'', N'LOT 31, BLOCK 9, SECTIONS 9 AND 24, VICTORIA DISTRICT, PLAN 877 EXCEPT THAT PART IN 1 RW', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:08:46.000' AS DateTime), CAST(N'2019-01-05T10:24:36.000' AS DateTime), 425, 92, 0xBD0B0000010408000000A333A2F43E39324120BD5216648C17412D08AC7C41393241F06800EF848C17411CE25817503932414055302A738C1741245C8F0246393241503FC65CF08B1741621058393F39324120E4839EF88B1741E751B8BE3E393241401E166A1C8C1741CC66D5A73E39324170EE5A42408C1741A333A2F43E39324120BD5216648C174101000000020000000001000000FFFFFFFF0000000003, CAST(53417 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (53552, N'{8828FC07-7DB8-46F5-8EE1-737C0A545A0E}', N'014836688', 487670, N'NEP18558', NULL, N'14836688', NULL, N'7102770200', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'', N'', N'LOT A DISTRICT LOT 8153 KOOTENAY DISTRICT PLAN 18558', N'0163', N'0004', N'NO', N'ICF', 13, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:34:42.000' AS DateTime), 60789, 1096, 0xBD0B000001042B000000A60A466516313841E8240641358022412AB4E17C133138418059553B3D8022415296445210313841381C2ECE448022416C5704E90C3138417091FDF04B8022414786FD4409313841F8B1AF9B52802241153B4F6A053138415070B8C658802241F96C565D0131384118431C6B5E802241CE3B4E519F3038417024977FF0802241E6AE25249B30384178787AA5F68022410A2428FE9630384180128300FD802241595BB1DF9230384190BB9690038122415939B4C88E303841D8BCE3540A8122410AB5A6B98A303841B0839E4D118122411A73D7B286303841B06B0979188122419E33A2B482303841686210D81F812241CB7F48BF7E30384148F90F6927812241C21726D37A303841D09E3C2C2F81224110E02DF076303841E82D9020378122411BE2581773303841F05C6D453F812241AE9465486F3038412075029A47812241C6EEC9836B30384168E4831E50812241345EBAC9673038413097FFD058812241C610C71A6430384108FCA9B16181224138B4C87660303841781283C06A812241F05A42DE5C30384148234AFB738122411B8E755159303841B8779C627D81224147696FD05530384148D8F0F48681224174A3015C52303841F0B27BB290812241A445B6F34E303841F0F44A999A812241BB37F8A22A3038414852272004822241829ECD0A48303841304772F9F2822241263A922BCC303841C0A98211D18222415EB1BF4C0331384190490C02F88222411ED26F1F29313841A8CDAA0F7D812241B225E46329313841402D215F7A8122413390A0583A31384168CC5D0B4C8022410AE9B76F28313841D05CFE83E27F2241C76546872631384190270F28F17F22414483B92A24313841B8DCC887FF7F224168B66D5C213138417854CC940D802241682E311F1E313841A81A0D411B802241D70641761A3138417879DF7E28802241A60A466516313841E82406413580224101000000020000000001000000FFFFFFFF0000000003, CAST(53552 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (53643, N'{673F3A12-F2A6-44A0-9BF4-3D1ACBDE8BDF}', N'005622794', 248101, N'PGP29457', 90054416, N'5622794', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 7', N'', N'', N'LOT 7 DISTRICT LOT 6006 CARIBOO DISTRICT PLAN 29457', N'0163', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:17:47.000' AS DateTime), 18875, 678, 0xBD0B0000010405000000B5F3FDD48BF13541883F355EEFAF2B41E8F21FB299F13541B8946588CFAD2B41FDD478895DF13541D8C56DF4D4AD2B414AD8F0F43AF1354180CB7F88E0AF2B41B5F3FDD48BF13541883F355EEFAF2B4101000000020000000001000000FFFFFFFF0000000003, CAST(53643 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (54265, N'{19331A49-3033-46B7-95D6-C403B02AED71}', N'005764068', 124187, N'VIP7185', NULL, N'5764068', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1, SECTION 79, VICTORIA DISTRICT, PLAN 7185 EXCEPT PARTS IN PLANS 3836 RW AND 776RW', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:45:54.000' AS DateTime), CAST(N'2019-01-05T10:53:48.000' AS DateTime), 834, 117, 0xBD0B00000104080000003B3CBDB2842F3241606E120394941741CAC342CD8A2F3241F06F5F0783941741184850DC902F32414083C0CA71941741F9DBD7E1882F3241300AD72307941741DD9C1105702F3241100BB5A6249417410BC58F717A2F324150DC4603B0941741221FF48C7E2F3241B011A5BDA49417413B3CBDB2842F3241606E12039494174101000000020000000001000000FFFFFFFF0000000003, CAST(54265 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (54525, N'{434D5929-BF9C-4CE0-9A6E-EB9BC2E54493}', N'008270333', 1184033, N'NWP25572', NULL, N'8270333', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2013-04-12T00:00:00.000' AS DateTime), N'REM Lot 44', N'', N'', N'LOT 44 DISTRICT LOT 15 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 25572 EXCEPT PLAN EPP24679', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:37:09.000' AS DateTime), 984, 177, 0xBD0B000001040A000000F185C9F484B03241D0749318F9771C41A43C2C3484B0324140E7FBA9F9771C41621058B95BB03241E04B370918781C41348941E048B032418070CE8826781C41A43E575B45B032411075021A29781C41812F4C0659B032416027A08992781C41F697DD736CB0324100840DCF83781C4106AC1C1A68B03241C04B378927781C41E573B51586B0324180B96B0911781C41F185C9F484B03241D0749318F9771C4101000000020000000001000000FFFFFFFF0000000003, CAST(54525 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (55052, N'{CA50863C-3150-4592-9330-2528DB288A36}', N'001623869', 3, N'NO_PLAN', NULL, N'1623869', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 81', N'', N'', N'THAT PART OF SECTION 81, METCHOSIN DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 27589 AND CONTAINING 1.23 ACRES MORE OR LESS', N'0065', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:30:33.000' AS DateTime), CAST(N'2019-01-05T10:56:01.000' AS DateTime), 4950, 419, 0xBD0B000001040E0000001E1FF48C380B3241F00434919B3617418BD2DE604A0B3241C08251C9C83717418E976ED24D0B3241B05CFE430538174195900FDA610B3241201895D46439174182D93D797B0B32418032553040391741BE3099CA770B324150DC4683FF381741D8A3703D760B324180A52C43E4381741EE0DBE70730B3241E098BB16B3381741186A4D13670B32412042CFE6D9371741A99BC4205E0B3241F0F597DD3C371741C07493385D0B3241C044D8F02C37174100DE02C9530B3241C00A46257F36174158D3BC23450B3241E043FA6D8E3617411E1FF48C380B3241F00434919B36174101000000020000000001000000FFFFFFFF0000000003, CAST(55052 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (56315, N'{4763C3DB-2B31-4071-A178-93AA39A92156}', N'012955264', 3, N'NO_PLAN', NULL, N'12955264', NULL, N'P12323', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART 235', N'', N'', N'THAT PART DISTRICT LOT 235 SHOWN ON PLAN A514 KAMLOOPS DIVISION YALE DISTRICT AS SHOWN OUTLINED IN GREEN ON PLAN H9877', N'0055', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:31:33.000' AS DateTime), 15216, 1610, 0xBD0B000001047B00000097B20C51F8663541700B242847AF234184B0E109F4663541C0C876BE3DAF2341B3FA5CADEF66354148A3017C34AF2341DEB5843CEB6635418009F9602BAF2341FD1873B7E6663541B8B12E6E22AF234196FF901EE266354160D3BCA319AF2341868EE472DD6635411093A90211AF2341D5D781B3D86635411083C08A08AF23418BC954E1D3663541E8B5F33D00AF23413408ACFCCE663541F051B81EF8AE2341469D8006CA66354150302A29F0AE2341E7482EFFC4663541109C3362E8AE23418838D6E5BF663541B0A679C7E0AE23412731082CB9663541801E162AD7AE2341AEFA5CEDB36635410823DBF9CFAE2341D3915C9EAE663541781058F9C8AE234139894140A9663541C88BDB28C2AE2341C21726D3A366354118273188BBAE2341BE86A7579E663541F8065F18B5AE23415127A08997663541E06A2B76ADAE234116FBCBEE91663541C033A274A7AE2341408B6C478C663541C88AFDA5A1AE2341E0E995928666354118BADA0A9CAE23415417B7D180663541B0F7E4A196AE23417D7346347A663541A84694B690AE234173B5155B746635416891EDBC8BAE2341EB61A1766E663541E04603F886AE23410CF9A08768663541800B246882AE2341A7E8488E6266354158A8350D7EAE2341B51E858B5C663541780B24E879AE23418BDB68805666354170EB51F875AE23419A438B6C5066354180ED7C3F72AE234113E02D504A663541A811A5BD6EAE2341CED5562C4466354138696F706BAE2341266519023E663541F8ACFA5C68AE23416029CBD03766354118C9E57F65AE2341F1FDD4983166354100AC1CDA62AE2341381AC05B2B663541888CB96B60AE2341A2A2231925663541708FC2355EAE2341FEBB05D21E663541B87D1D385CAE2341B8B88D8618663541580E2D725AAE2341DD460338126635410866F7E458AE23413BEF38E50B66354110E02D9057AE2341BC847C9005663541C0D7817356AE2341A0A22339FF653541E816489055AE23413A8941E0F8653541B0F831E654AE2341646FF085F265354190EA047454AE23414D0C022BEC653541707EFB3A54AE23419FABADF8E565354170E7FB2954AE2341A8DFBE0EEE65354158B3EAF355AE23411BB7D120F66535415893180458AE2341F3A7C66BFC653541D84F8DD759AE234190A0F8B102663541B01C5AE45BAE2341A245B6F308663541C854C1285EAE2341B9847C300F66354180787AA560AE23410BF9A067156635415019E25863AE23416D3480971B66354158CA324466AE234164006FC1216635410079E96669AE2341AE2E6EE3276635411080B7C06CAE2341D1915CFE2D6635414817B75170AE23416129CB1034663541A099991974AE23412363EE1A3A663541A02A181578AE2341C9073D1B40663541282731487CAE2341AA6054124666354150575BB180AE2341CA76BEFF4B663541C8A8A44E85AE23410DA5BDE151663541C05296218AAE2341F2EBC0B957663541D80B93298FAE2341F95C6D855D6635419053746494AE23411426534563663541E84E40D399AE2341CF2B65F96866354150D8F0749FAE2341C66D34A06E663541A8A7574AA5AE23413D3EE839746635418817B751ABAE23411B1DC9C579663541F0B9DA8AB1AE2341078195437F66354150C6DCF5B7AE234186855AB3846635413897FF90BEAE2341C40E9C138A6635413008AC5CC5AE2341904AEA648F663541D83D7958CCAE2341D48173A694663541D813D084D3AE2341FC21FDD69966354180764FDEDAAE234132992AF89E663541F053E365E2AE23410C022B07A4663541E8BE0E1CEAAE23413AEF3805A9663541B0C876FEF1AE23418CA0F8F1AD663541A8F1D20DFAAE2341EDA7C6CBB2663541F026314802AF23418C8EE492B7663541208D97AE0AAF2341B41C5AC4BC663541A00A462514AF23417D5149DDC2663541200DE0AD1FAF2341649A77DCC8663541E88C286D2BAF234186C954C1CE663541E8D24D6237AF23417D95438BD466354188DE718A43AF234160105839DA663541182FDDE44FAF2341D0DEE0CBDF66354160A1D6745CAF234171CE88F2E7663541486666A66FAF2341F32FBBA7EC663541E8CBEE097BAF2341C486A737876735414072F90FF1B023412EDD24069467354160E7FB690FB12341145839549F67354158218E3529B123415BEC2FDBAA6735419887859A42B123413F355E9AB6673541583D0A975BB1234192A98291C267354100D5782974B1234161764FBECE673541C0847C508CB1234150401321DB6735418839B408A4B12341001973B7E76735412897FF50BBB12341BA490C82F4673541F0E68C28D2B1234126E4837E0168354118287E8CE8B12341AF03E7AC0E683541A835CD7BFEB12341CB8F31D719683541E0D4786910B22341D9E76A0B1C68354160C5FEF213B223412A7E8C9929683541C820B0F228B22341B2EA735537683541E8FDD4783DB223418B5AD33C3B6835414850FC1843B223417634801736683541D880954339B2234101917E7B3168354188559F2B30B223411D85EB112D683541E0FDD43827B22341EEA7C68B28683541E8141DC91DB223415F984C9524683541F095B24C15B22341D756EC2F20683541F0E461A10BB22341A333A2F41B683541A028ED0D02B22341EF1648500D68354188E926F1DEB1234195081B7E93673541C07D1DB8BAB02341D5ACFA9C8B6735414872F9CFA7B023416EBC747300673541907F48FF59AF234197B20C51F8663541700B242847AF234101000000020000000001000000FFFFFFFF0000000003, CAST(56315 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (58513, N'{C5575CD3-9486-4ECC-A1BD-8A106AD840CC}', N'009759875', 3, N'NO_PLAN', NULL, N'9759875', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'', N'', N'', N'THAT PART OF SKUTZ INDIAN RESERVE NUMBER 8, COWICHAN LAKE DISTRICT, CONTAINING WITHIN THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY COMPANY CONTAINING 3.07 ACRES, MORE OR LESS, AS SHOWN COLOURED RED ON PLAN DEPOSITED UNDER 231 RW', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', N'11474', CAST(N'2015-11-24T21:29:24.000' AS DateTime), CAST(N'2019-01-07T18:33:31.000' AS DateTime), 12033, 938, 0xBD0B000001041D0000000E83C0CAB98E3141E079362B3CAF19411873D732B48E314110F853E343AF19412ABBD17AA18E3141A071687059AF194128DC4D628E8E314120DE76D068AF1941CC1BD7097B8E314180324BE971AF1941E7BB6592678E3141C08364AB74AF194114CA261D548E3141D0720F1271AF19417C9543CB408E3141102F6E2367AF1941E5E236FAE58D3141D06DA38118AF1941D61B7CE1E08D3141F0CAA145A6AF19414894F646258E3141C0749398AEAF194168DE712A8D8E3141B0A3703DBBAF19417D95438BC18E314120BF7D9DC1AF19417E6ABC14CF8E31413005A392A6AF194198FF907EE58E314120A8C6CB78AF19418FC2F568328F314130CE19D1C6AE1941459D80A66F8F3141E078E9A61FAE1941E2E00B73708F314190C3D3ABB0AD1941996588C3708F3141506DC5FE84AD19412CC28687338F3141F00CE02D2AAE194109F01608338F3141203CBD522AAE1941BE0E9C73318F314130C05B2018AE19413E82E247F18E314180226CF8C9AE19416FABA094E88E314100919DF9E0AE1941BDF35DA3DF8E3141A0243F71F6AE194123507278D68E3141507AE3540AAF194151B75118CD8E3141806DE19A1CAF19411BF88987C38E314120C2583A2DAF19410E83C0CAB98E3141E079362B3CAF194101000000020000000001000000FFFFFFFF0000000003, CAST(58513 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (58748, N'{30192EF9-FCE0-41A6-A7D4-E7D2ECA46EA7}', N'008552461', 12816, N'VIP703A', 29182591, N'8552461', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', NULL, N'REM Lot 3', N'Block 4', N'', N'LOT 3, BLOCK 4, DISTRICT LOT 24, OYSTER DISTRICT, PLAN 703A EXCEPT PART IN PLAN 1176RW.', N'0062', N'0007', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T16:46:10.000' AS DateTime), CAST(N'2019-01-07T18:31:39.000' AS DateTime), 228, 62, 0xBD0B0000010406000000F2EBC05997B1314110FBCBEE60261B41506B9AB79DB1314160BC749355261B417736AB1EA3B1314180B5157B4B261B419D45B6B394B13141B0C039A30F261B4134431CEB8BB13141506C787A31261B41F2EBC05997B1314110FBCBEE60261B4101000000020000000001000000FFFFFFFF0000000003, CAST(58748 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (58846, N'{3C1FFF64-4067-4366-BD9A-B11E8EFF3C07}', N'016563590', 3, N'NO_PLAN', NULL, N'16563590', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 18', N'23,3', N'', N'THAT PART OF THE SOUTH HALF OF FRACTIONAL LEGAL SUBDIVISION 1 OF SECTION 18 TOWNSHIP 23 RANGE 3 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISON YALE DISTRICT, LYING WEST OF THE RIGHT-OF-WAY OF THE CANADIAN PACIFIC RAILWAY AS SHOWN ON PLAN 1879', N'0163', N'0006', N'NO', N'MODIFIED-ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:23:39.000' AS DateTime), 54721, 1095, 0xBD0B00000104280000007FB740C26E6137419811A53D690325412EFF215D64613741D8FD657767032541FE770B2460613741084B59C666032541146A4D332C613741A0DD93C75C032541B6D1009EDC60374120AE47E14D03254124068115D96037410098DD5390032541C29F1A2FC7603741187F6AFCE0042541A023B9BC83613741C852966103052541E68C282DB761374100B8AFC30C052541472EFFC10662374140F016481B05254124B9FC2728623741D076BE5F210525410F2DB2DD5962374180E926712A0525412EFF215D5B62374168CE88521C052541BE7493F85C62374150FAED2B0D05254125C9E59F2462374108A7E8C8C8042541BE9F1AEF1E623741C02F4C66C20425417E9543CB1362374128D7A3F0B4042541DEA370DD0862374158567DAEA604254188DB68600862374168ED0DFEA5042541D83D7938FE613741B02F4CA697042541DAF0F44AFB6137419816D94E9304254112C7BAD8F3613741609318448804254155F5B9BAE961374198E848AE77042541E63FA4DFE0613741183B700E680425417436ABDEDF613741E04B3749660425415839B428DF613741C034EFF864042541F2B0504BD661374138BD529654042541E961A196D1613741608E75314B042541C264AA80C86137418858A83538042541F8065FB8BF613741B069DEF124042541E9E2367AB7613741A86588E310042541D75F76EFB561374150D8F0F40C04254176F2B050AF61374180B74002FC03254111363C9DA7613741E812F2C1E60325413E9B555FA0613741705F074ED1032541BF64AAC09A61374138D6C52DBF03254133431C8B86613741B0F831E67E032541516B9A778261374140006FC17103254156A8358D8061374138992AD86B0325417FB740C26E6137419811A53D6903254101000000020000000001000000FFFFFFFF0000000003, CAST(58846 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (59872, N'{FDBC233C-4D8C-4DFF-AD30-36F01ED3F966}', N'007487983', 4652349, N'VIP379RW', NULL, N'7487983', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 54', N'', N'', N'THAT PART OF LOT 54, DISTRICT LOT 140, ALBERNI DISTRICT, PLAN 1414, BEING THE LOGGING RAILWAY SHOWN ON PLAN 379 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2019-01-10T15:02:26.000' AS DateTime), 182, 76, 0xBD0B00000104050000002DBB27AFA97E30413090A07804051D41A33C2C94A97E3041D0BE0E9C16051D4125A08910C97E3041D0E1E99506051D411D6C783AC97E3041A0B43778EA041D412DBB27AFA97E30413090A07804051D4101000000020000000001000000FFFFFFFF0000000003, CAST(59872 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (61627, N'{09BDC142-C52F-4538-B418-8B17DE2548F3}', N'014631938', 3191250, N'PRP923', 23917211, N'14631938', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block 20', N'Section 5', N'LOT 3 BLOCK 20 SECTION 5 DISTRICT LOT 251 RANGE 5 COAST DISTRICT PLAN 923', N'0113', N'0026', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-11-26T18:19:22.000' AS DateTime), 232, 76, 0xBD0B00000104050000008E6E12039DF82541D0FC87B4E5D42F41F21FD22FA8F8254178E09C11F0D42F41E6D24D62D1F82541808A8E24C3D42F410B462535C6F82541B09465C8B8D42F418E6E12039DF82541D0FC87B4E5D42F4101000000020000000001000000FFFFFFFF0000000003, CAST(61627 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (62120, N'{AAF85288-62C6-4CE8-AE60-E24CA067A383}', N'006775675', 494173, N'NEP16895', NULL, N'6775675', NULL, N'004515.200', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 2', N'', N'', N'LOT 2 DISTRICT LOT 4598 KOOTENAY DISTRICT PLAN 16895 EXCEPT PLAN NEP64127', N'0146', N'0019', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:37:46.000' AS DateTime), 6626, 355, 0xBD0B000001040800000052B81E85DC92384170537424B2D11D41BA6B09D9D9923841F0482EFF90D11D41C09F1A0FA792384140522720D2D11D417858A895AB92384110CCEE490AD21D418C7CD073CD92384160742497AED31D4160545227F8923841505EBA4971D31D41E83FA49FFF9238410094188465D31D4152B81E85DC92384170537424B2D11D4101000000020000000001000000FFFFFFFF0000000003, CAST(62120 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (64709, N'{2D9DBCCB-44E3-4CC0-BCF1-1F9E6EF877A5}', N'007760388', 140656, N'VIP1375', NULL, N'7760388', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'Block 1', N'', N'THAT PART OF LOT 4, BLOCK 1, SECTION 33, VICTORIA DISTRICT, PLAN 1375 BEING THE RIGHT OF WAY OF CANADIAN NORTHERN PACIFIC RAILWAY COMPANY SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:16:08.000' AS DateTime), CAST(N'2021-01-15T10:33:29.000' AS DateTime), 82, 72, 0xBD0B0000010406000000B1506B3A123A3241B01648505692174127C286A7113A3241E0FE21FD5292174179A52C83003A3241C0BFEC9EE4911741FFDD0249FE393241D0D9ACFAE9911741F575E03C103A3241403A924B5B921741B1506B3A123A3241B01648505692174101000000020000000001000000FFFFFFFF0000000003, CAST(64709 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (64721, N'{86575EDF-7508-426C-B4BE-DC7C18D794D7}', N'002833948', 1167846, N'NWP61643', NULL, N'2833948', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2012-08-24T00:00:00.000' AS DateTime), N'REM Parcel 4', N'REM Lot 3', N'', N'PARCEL 4 DISTRICT LOT 3 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 61643 EXCEPT PLANS LMP30778 AND EPP329', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T09:11:09.000' AS DateTime), 1983, 178, 0xBD0B00000104050000000CF9A0474BB93241907CD03303B11C4114D0441830B932415074931873B01C41F05A42FE0DB93241300EBE30D4B01C41FF9908DB26B9324130F2B0D06EB11C410CF9A0474BB93241907CD03303B11C4101000000020000000001000000FFFFFFFF0000000003, CAST(64721 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (64960, N'{E0D68A45-F602-4742-9623-CCEBD638DCB8}', N'008988374', 1168810, N'NWP28411', NULL, N'8988374', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-24T00:00:00.000' AS DateTime), N'Lot E', N'', N'', N'LOT E SECTION 22 BLOCK 5 NORTH RANGE 1 WEST NEW WESTMINSTER DISTRICT PLAN 28411', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T09:45:24.000' AS DateTime), 2534, 216, 0xBD0B00000104060000008C976EB2DED6324140840DCF7FA61C414E05A31216D73241F096218EE4A51C4102D5786917D73241009F3CAC78A51C41A7605412E2D63241F004341171A51C41A957CAD2E0D6324130E17A14C9A51C418C976EB2DED6324140840DCF7FA61C4101000000020000000001000000FFFFFFFF0000000003, CAST(64960 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (68335, N'{AF210DA3-8FDE-4992-8967-EED9597D14C9}', N'010477381', 863247, N'KAP4683', NULL, N'10477381', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 174 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 4683', N'0059', N'0022', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:30.000' AS DateTime), 4610, 340, 0xBD0B0000010409000000D42B651937203641D00968A203991D4164764F5E35203641E0C5DCB575991D4166AA6094BF203641E0285C0F98991D4181B740A2BF20364190976E1298991D41634BC8C7C120364130158CCA0F991D41BADA8ABDC120364180CB7FC80F991D41403EE8F96A203641C0C64B37FA981D415CEC2FDB51203641B0529621FB981D41D42B651937203641D00968A203991D4101000000020000000001000000FFFFFFFF0000000003, CAST(68335 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (69362, N'{9E1690D7-C63E-4535-A071-37F6FE3F7BE4}', N'001598414', 3, N'NO_PLAN', NULL, N'1598414', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 105', N'', N'', N'THOSE PARTS OF SECTION 105, ESQUIMALT DISTRICT, SHOWN COLOURED RED ON PLANS DEPOSITED UNDER DD 31022I AND CONTAINING 0.74 OF AN ACRE MORE OR LESS AND 1.6 ACRES MORE OR LESS RESPECTIVELY', N'0065', N'0005', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:52:28.000' AS DateTime), CAST(N'2019-02-22T10:30:20.000' AS DateTime), 9568, 870, 0xBD0B000001044D000000676FF005DF1D3241B0A1D634507B17411EDBF91EEB1D324160AF9465717B1741FD65F764F71D324160287E8C917B1741CA98BB36FC1D3241B0B6627F9D7B1741931804F6011E32415096218EAA7B174150158CAA031E3241402D211FAE7B17410E0BB5C6071E3241603480B7B67B1741ECAE25A40D1E3241E0285C0FC27B1741BE39238A131E3241007A36ABCC7B17414AD8F074191E324150E4F29FD67B174105A392BA3C1E3241201895540B7C1741713480B7401E324180BE9F9A107C17413490A0D8551E3241C0DEE08B2C7C174176A52CC3621E3241009CC4A03D7C1741EF5A42BE731E3241B096908FE07B1741EAAE25C4421E32416073D712987B174151499DA01D1E3241A0180456627B1741A8667D0D131E324140C63BD3527B1741356F29DC081E3241F0E17BA73F7B17419C4DDA20FF1D3241506ACDF8287B174118C6DEEEF51D324160D930F40E7B1741FB277558ED1D324130DD44CDF17A1741EE1BA76EE51D324110ECDFBDD17A174142D62741DE1D324120879D05AF7A1741E2F034DED71D3241300460E9897A17415F2A7A52D21D324170E7C7B2627A17416842F8A8CD1D3241E0CBA1AF397A17415F25EFEAC91D3241900A4C310F7A17413C92CB1FC71D3241D04C158CE3791741A879C729C51D3241109B559FE2791741623255D0BF1D3241D012F2C1E779174197B20C31BA1D324190EB5138F17917418FE4F23FB51D32416004560EF97917413BB4C876B01D3241D0C3422D067A17416DFB456BB01D3241A0BBA14D0A7A17413F578A6EB01D324170C6EC6E0E7A1741622A9380B01D324170CDD58D127A1741490652A1B01D3241A0A210A7167A1741A4B6ACD0B01D3241D0A355B71A7A17416D567D0EB11D3241005A64BB1E7A17413C9A3297B51D3241A09F0D23587A1741825BC574BB1D3241608E1B948F7A17414619DC99C21D3241107D5F90C47A174113EA33F6CA1D3241C0D8419FF67A1741617EC576D41D3241009ED44E257B1741676FF005DF1D3241B0A1D634507B17418CB96BC9B31E324190C7293AC47F1741DE9C11A5AE1E324170014D84E77F1741431361C3A91E3241402653050980174105A392DAA41E3241603480B72A80174187855A13A01E324180B740824B80174179832F4C9B1E324170A8354D6C8017419D802682961E324140C3D32B8D801741D53D7938941E324110D26FDF9C8017419AE61D47911E3241E02EDDA4B18017415E6DC57E8E1E3241B044D870C6801741EA61A1D68B1E324100492E7FDB801741895AD3FC881E32413075029AF3801741CBC3424D861E324140006F010C81174147E17A14841E324140C3D3AB218117414BC807FD811E324170DE718A378117415F8FC2F57F1E3241E065F7644E8117411873D7127E1E324110696F706581174178A52C637C1E3241408F53F47B811741250681557C1E3241E0C264AA7C811741B325E4437A1E32419001BC859B811741FA75E01C791E3241A0438B6CAF811741AD25E403791E32412019E258B18117419DABAD18781E3241F0FBA971C3811741FB0FE937771E3241D0293A92D78117411DB07248771E324100A3923AD78117418A16D9EEBD1E324140CD3B4E598017419A4C15CCCF1E3241A08251C9F87F1741D68AFD85BC1E324170A52C43887F1741F931E64EBC1E3241607FD9BD897F1741160456EEB71E3241A0CB7FC8A77F17418CB96BC9B31E324190C7293AC47F1741020000000200000000022E00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(69362 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (70707, N'{96E29AA5-AE1D-4AF5-975B-001C6D57670F}', N'016056566', 495806, N'NEP1042', NULL, N'16056566', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Parcel A', N'Lot Y', N'', N'THAT PART OF PARCEL A (REFERENCE PLAN 40500D) OF LOT Y DISTRICT LOT 6450 KOOTENAY DISTRICT PLAN 1042 SHOWN OUTLINED RED ON PLAN R205', N'0163', N'0004', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-07-31T12:20:28.000' AS DateTime), 75, 35, 0xBD0B0000010407000000F10DBEB01F943841486ABCB4EF22204125CB10671694384190C64BF7ED222041285C8F421694384178128340FD2220412DBB276F2094384180ED7C3FFF22204172C5FE52209438419845B6F3FC22204172F085C91F943841B047E1BAF1222041F10DBEB01F943841486ABCB4EF22204101000000020000000001000000FFFFFFFF0000000003, CAST(70707 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (72007, N'{BD96123C-7119-4210-8437-CCFE5CE426BE}', N'009247041', 1071775, N'NWP22730', NULL, N'9247041', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', NULL, NULL, N'LOT 2 EXCEPT PART IN STATUTORY RIGHT OF WAY PLAN 50736 SECTION 5 TOWNSHIP 3 RANGE 28 WEST OF THE SIXTH MERIDIAN NEW WESTMINSTER DISTRICT PLAN 22730', N'0163', N'0009', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-12-12T14:03:26.000' AS DateTime), 883, 145, 0xBD0B0000010406000000CC4D62D01F00344130AC1CDA41E51C419F11A55D2F003441202FDDA445E51C41585BB15F4400344100FF217D4AE51C41E0C7983B3E00344160371AC025E51C41266519C22200344140D5E76A81E41C41CC4D62D01F00344130AC1CDA41E51C4101000000020000000001000000FFFFFFFF0000000003, CAST(72007 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (72584, N'{6CBD9324-B826-4C66-BC19-6FA667E90418}', N'008829381', 1085677, N'NWP25956', 36481921, N'8829381', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 14', NULL, NULL, N'LOT 14 SECTION 22 TOWNSHIP 24 NEW WESTMINSTER DISTRICT PLAN 25956', N'0163', N'0009', N'NO', N'ICIS CADASTRE', 5, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2020-02-20T14:59:21.000' AS DateTime), 1128, 167, 0xBD0B0000010410000000FDFFFFBFE4B23341A0B96B89F4141D411A34F7ACE3B23341D0292BF6F0141D4198FA0B97E2B233418032F770ED141D41D5CE497EE1B23341C00FF5F9E9141D411C4ABC62E0B2334150674991E6141D4170236F44DFB23341F0441837E3141D41B02E6E23DEB23341801E85EBDF141D4146B6F33DADB23341C021FDF699151D41A7F1D20DBBB23341D0A59BC4C4151D417958A8B5E9B23341302EFFA10E151D41CDBEE2EDE8B23341006867250A151D41BCC14C21E8B23341C03973B605151D418246F54FE7B233412045755501151D41198BEB79E6B233413029BF02FD141D41FE243F9FE5B233411079A1BEF8141D41FDFFFFBFE4B23341A0B96B89F4141D4101000000020000000001000000FFFFFFFF0000000003, CAST(72584 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (73224, N'{0BDD95E1-1BB7-4DA3-BF2F-A4046C54B822}', N'025542371', 1182490, N'NWP73156', NULL, N'25542371', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2015-02-24T00:00:00.000' AS DateTime), N'REM Parcel A', N'', N'', N'PARCEL A (REFERENCE PLAN BCP2178) DISTRICT LOT 437 GROUP 2 NEW WESTMINSTER DISTRICT, EXCEPT PLAN 73156 AND PLAN EPP47508', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2021-03-07T19:16:23.000' AS DateTime), 17797, 575, 0xBD0B0000010418000000EE7C3F95B8AA3241F044D8F0E74A1C41650322C9BEAA3241F02873D7E04A1C4152F68907C5AA324120DA2758DA4A1C41FE16884FCBAA3241B04DEF73D44A1C4172B72BA0D1AA3241C042AB2BCF4A1C4158DE82F8D7AA324160202680CA4A1C41526B9A57DEAA3241F0D71272C64A1C418D6C9367E6AA3241E0AD030EC04A1C418FF3C443EEAA3241507B9871B64A1C41033DA9D7F5AA3241D050E9B5A94A1C417E4C770FFDAA3241901935FC994A1C41099556D803AB3241A0CA8A6D874A1C41DE2D90200AAB324130355E3A724A1C41735F074E25AB3241A0D712720D4A1C4196BB963026AB324160DAACFAB9491C414AC8079D26AB3241C04DF30E92491C41B369DEB15AAA324170B20C716F491C41EDFDD4385AAA3241D087855A97491C418541600556AA3241E03FA4DFF94A1C41638FC25564AA3241F03311B6414B1C412FE6AE4565AA32412066F764464B1C41BC64AA406AAA3241203945475F4B1C41D909686292AA324150E5D0A2154B1C41EE7C3F95B8AA3241F044D8F0E74A1C4101000000020000000001000000FFFFFFFF0000000003, CAST(73224 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (73359, N'{CE86D0A3-19C7-4EC5-8E93-6CDACDDE0638}', N'007428260', 118430, N'VIP1397', NULL, N'7428260', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 29', N'Block 1', NULL, N'LOT 29, BLOCK 1, SECTION 33, VICTORIA DISTRICT, PLAN 1397, LYING WITHIN THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:08:46.000' AS DateTime), CAST(N'2021-03-23T07:29:13.000' AS DateTime), 359, 77, 0xBD0B00000104090000000F022B073D3A324110E258971E93174161764F7E383A3241A00F7A360E931741A03C2C14343A324140172653FD921741B4FA5C0D233A3241105EBAC928931741012B8756273A324170A223B939931741557DAEB62B3A3241C039234A4A93174136DF4F2D303A324100DAAC7A5A9317415C9FABAD413A3241108E75712E9317410F022B073D3A324110E258971E93174101000000020000000001000000FFFFFFFF0000000003, CAST(73359 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (73986, N'{C8D3D4B1-36EF-4480-B853-AEB4DD6A751F}', N'012572039', 299184, N'PRP1079', 13415961, N'12572039', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'Block 21', N'', N'LOT 2 BLOCK 21 DISTRICT LOT 746 QUEEN CHARLOTTE DISTRICT PLAN 1079', N'0104', N'0026', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-05-30T19:55:34.000' AS DateTime), 580, 107, 0xBD0B0000010405000000BA7D1D382420224160E9267114FA2D41FE088A1F1E202241083B704EC8F92D41704F1ED6FF1F2241C06B09B9CAF92D41C8B12EEE05202241802BF6D716FA2D41BA7D1D382420224160E9267114FA2D4101000000020000000001000000FFFFFFFF0000000003, CAST(73986 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (73998, N'{3352C33D-9582-4D63-8C9A-4161C33D5E7C}', N'013841530', 3, N'NO_PLAN', NULL, N'13841530', NULL, N'348-01278.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-14T00:00:00.000' AS DateTime), N'NW4', N'36', N'21,8', N'PARCEL A (DD 173072F) OF LEGAL SUBDIVISION 13 OF SECTION 36 TOWNSHIP 21 RANGE 8 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT', N'0128', N'0006', N'NO', N'MODIFIED-ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'0', N'2867', CAST(N'2020-05-04T11:57:29.000' AS DateTime), CAST(N'2021-05-30T20:00:17.000' AS DateTime), 2868, 287, 0xBD0B0000010413000000DC09682242C5364158423EE80D7B2441C94E52CB48C53641381675B0007B24410EC837EA4EC5364120CE8977F27A24410DBE6E7554C536416077F053E37A2441AC9F366459C5364150A08F5DD37A2441BCD3C5AE5DC53641F0989AADC27A24411404564E61C5364140AD695EB17A2441815149DD62C53641B064AAE0A97A24413DCF66F55AC5364140BD5256A87A2441B49465683DC53641C8E461E1DB7A2441A782518939C53641088F53F4D27A244109F0162827C536410088F49BF27A244112022B6701C5364170BE9F1A267B2441AFFA5C6DFFC436415868916D4E7B2441FC53E34519C5364108DD2486477B244147696FB035C5364138DE718A307B24419A779C6235C53641C0AF0367207B24412C4CA64A41C5364118D7A3701A7B2441DC09682242C5364158423EE80D7B244101000000020000000001000000FFFFFFFF0000000003, CAST(73998 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (74781, N'{B20C2F0D-9A95-4EE6-BE47-2D0CCC86A11B}', N'001657631', 3, N'NO_PLAN', NULL, N'1657631', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 22', N'', N'', N'THAT PART OF SECTION 22, OTTER DISTRICT SHOWN COLOURED RED ON PLAN 97 RW AND CONTAINING 4.29 ACRES MORE OR LESS', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:26:48.000' AS DateTime), CAST(N'2021-06-23T16:27:36.000' AS DateTime), 18691, 884, 0xBD0B000001044A000000FE088A1F26D931419094F6062F4E1741BEA8A44E35D93141104CA60A364E17419426DEB134D93141801B6F6F504E17419CE9D34534D9314120507BE36A4E17412DE99C0A34D9314170652B61854E17418DBB450034D93141B0C7DDE29F4E17417193D02634D93141900BF062BA4E17417F3F357E34D93141401AC0DBD44E17415C3255F034D93141C0D9AC7ADB4E1741266519A234D9314150158CCADC4E174139CCA1D934D93141E0CB9D55E74E1741AAE6CA1835D93141003300DEF14E174101A3925F35D9314160FF5A63FC4E1741E9AFF6AD35D93141B0FE55E5064F17414C7CF40336D93141401D9963114F17414937896136D931415064CCDD1B4F17411F3867243CD93141905AD3BC1C4F174104F0162865D93141B020B0F2224F17416BD3653463D931417096A544F14E17414094791B62D93141503EA22BBF4E1741D96CA3DE61D93141D09CC9E38C4E1741E6642C7E62D93141206E77A95A4E1741B0F954F963D931411033F7B8284E17411904564E66D9314140CD3B4EF74D17419A2A18756BD9314140CAA1C59C4D1741BDDCD4E76ED93141D0731F71514D1741CD04D1D070D93141305CD63D054D1741C58FD42C71D93141F0A531ACB84C17412D6C44FB6FD9314190753B3D6C4C1741218F233E6DD931413080C371204C174197900FFA68D9314180F085C9D54B17414CBF7D9D42D9314170226CF8A4491741002DD04942D93141E04A618798491741A54638F041D9314130C5E9188C4917417650B79041D93141C09232AD7F4917413BA44E2B41D9314140A7684473491741F5B0FFBF40D9314180EEB8DE664917411CFBCB4E40D931414048507C5A491741A3923A210FD93141902A18954949174159AE929910D93141A0CF35926049174182E379F711D93141002E5FA9774917414365D33A13D9314150BAADD88E4917412C96846314D93141D0EB381EA6491741900A757115D9314140651678BD4917416E8A8E6416D93141001D5AE4D44917414D499DC03CD9314140EA04B4054C17416A8BC0083ED9314140D3B888194C17416EF4972E3FD9314130D5ED7E2D4C17416AF5EC3140D93141701BEF92414C1741AD678F1241D93141F04802C1554C1741BE9555D041D93141102968056A4C174132431C6B42D9314180635D5C7E4C17419E11A53D43D93141A0A8A44EA54C1741AAA5F65F43D93141C03FF190AF4C1741017BB97643D93141D01440D5B94C1741C6C3EB8143D93141B0D7C01AC44C1741CC9C8C8143D93141C020A360CE4C1741AD0D9C7543D93141807F16A6D84C174198081B5E43D93141208C4AEAE24C17417F1D38C736D931419088635DDF4C174146BF7D1D34D93141B051499DDE4C1741890A48DE33D93141F056B087F54C174143E95B6F33D93141F012C0660C4D17413176D7D032D9314160774334234D1741BBB6E50232D9314150390AEA394D17417D8FBE0531D931413080EA81504D174108B5A6D92FD93141308FC2F5664D174174F90FA92AD9314190C5FE32C24D1741B620ECB029D93141704A1C2FD44D1741E50E81CE28D93141103D1A3DE64D1741A153E30128D93141C0E3545BF84D1741BA83254B27D93141600A27880A4E17416D3758AA26D93141A02BEAC11C4E1741FE088A1F26D931419094F6062F4E174101000000020000000001000000FFFFFFFF0000000003, CAST(74781 AS Numeric(38, 0)), NULL) +GO +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (74794, N'{ECE8B51D-4024-4A46-9D72-B0BC4772A5F4}', N'016632893', 3, N'NO_PLAN', NULL, N'16632893', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'3', N'28,22', NULL, N'FRACTIONAL LEGAL SUBDIVISION 13 SECTION 3 TOWNHIP 28 RANGE 22 WEST OF THE 5TH MERIDIAN KOOTENAY DISTRICT EXCEPT RW PLAN 633B', N'0163', N'0006', N'NO', N'ICF', 23, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-06-23T16:21:09.000' AS DateTime), 93744, 1992, 0xBD0B000001047800000096081B5EEEC13841A8FEB23B3DC22641A3F831A6F5C13841A80F7A3630C226419C23B97CFAC1384180567DAE25C2264141AD69BE02C238412868226C15C226410AD7A330F1C1384120E9B7EF0CC2264196081B5EEEC13841A8FEB23B3DC22641460C02AB4CC23841C0081B1E41C5264122166A2D59C2384130E8D96C24C52641890D4F6F61C23841F85A423E12C526415005A3B266C238416096214E09C526419E923A616FC2384128C286E7FCC42641FAF6756074C23841984BC807F4C42641395EBA0980C2384190A7570AD6C426413F0AD72382C23841F0D478A9CBC42641803F35FE84C2384108A5BD81C0C42641B81E858B86C238417857CA32B7C42641AB35CD7B87C23841A0779C62ACC426415CD3BC6387C2384198C42070A1C426419187857A85C2384168302A2997C42641DA78E92683C23841584F1E568CC426416AD712527FC2384178C1A8A484C426412797FFD07AC23841D0A679477EC42641E2E9951271C2384130BB27CF70C42641EC7C3F556CC2384178E5D0226CC42641846ABC9461C23841C074935864C426415227A0295CC23841E83FA41F61C426412AF697DD55C2384130C4B16E5FC426416966660650C23841909543CB5EC42641F0FDD49849C23841283CBD125DC42641845AD3FC37C23841585C8F8259C426413D79588830C2384148B9FC8757C426416419E25828C23841B0DB68C055C42641D5ACFA3C23C23841286C78FA55C42641C3EC9E5C1CC2384150D8F03455C4264188A757EA15C2384158CC5DCB52C42641F08E53340FC23841308941604FC426417B26C2A609C238415824283E4CC42641E02D906003C23841582D211F48C426410812147FFDC13841B87D1DF843C426418938D685F8C13841B867B3EA3FC4264158F5B9FAF3C13841D8141D493BC42641083D9BB5E8C13841500C026B32C426419CEFA726E4C13841305EBA092EC426413108ACDCDFC13841502CD49A27C42641585BB1FFDBC13841A857CA321FC426411261C353D5C138417019E2980EC42641110BB566D2C13841203FC65C05C42641B59690CFBCC13841D094650827C52641A2CDAA6FBCC13841A0A223792CC52641C46D34C044C23841400F0BB551C52641204A7BE347C23841F8D478A94BC52641460C02AB4CC23841C0081B1E41C52641186A4D3372C33841B072689170C226416ADE716A55C238413811363C27C226416B88633D52C23841E05A427E31C22641F0D24D824AC23841C0EBC0B941C2264143AD695E2AC2384128F6975D7DC226412E4CA62A26C2384100098A1F87C22641D7A370FD22C23841E897DD138FC22641676FF0A519C2384160C807FDA2C2264178A52C230DC23841588716D9C1C2264188855A9309C23841788FC2B5C9C22641567DAE9605C23841085D6D45D5C226411E4A7B2301C23841F8D8CEF7E2C2264136014D24FEC1384160621058EEC226417C7346B4FBC13841C059F539FBC22641A4EFA7C6F9C13841F81A9E5E08C326419C779CC2F8C138410851DA5B12C326412C3108ECF7C13841709318C41FC32641DB718ACEF6C1384148992A9848C326411A0DE0EDF6C1384100F2414F57C32641D85F764FF7C13841487958E861C32641F431E60EF8C1384158CB10076FC32641F6CBEEE9F8C138411051DA5B79C32641900F7A96FAC1384188E9267186C32641002B8736FDC13841689A779C91C32641BE9F1AAF00C2384118E78CE89BC3264140F163CC04C23841D002094AA5C326411FA7E8680EC23841C0C876FEB7C3264143F1632C17C238417024977FC7C32641E2718AEE1AC23841F86C563DCEC326417E95436B20C238411863EE9AD6C32641B49DEF272BC2384158810445E4C326412CA089B030C23841C8DCB544E8C3264192A9823137C23841D0E00BD3EAC326415C643BBF3DC23841084FAF94ECC32641EEFDD4B849C2384108FBCB6EEFC326411361C31356C2384188C42070F3C326412A5305235BC23841B0CEF713F5C32641F0A7C62B61C23841089C33E2F8C32641506B9A3768C2384158EE5A42FEC326412EE6AE2573C23841E858177709C426411C5A643B7AC238414867446911C42641FEC264EA7FC2384160C954C118C42641DA12F2418AC238414837890125C4264178029A2890C238411075021A2DC4264146D8F0149AC23841983A010D3FC42641C7EEC9E39DC23841582CD41A47C426416619E2B8A1C238410076E0DC4FC42641EA1FD2AFA9C23841A8AEB6E263C42641A123B91CADC2384180C729FA6EC42641569FAB6DAFC2384110A392FA78C42641D51B7C21B1C2384150CA328485C426414A696FB0B1C238417893188491C426412ACB1067B0C23841E0073D1BA8C42641AE8BDB08AEC2384140D6C56DC0C42641CA54C188AAC23841B8BAB80DD6C42641DA096842A8C23841087A366BE2C4264152DA1B1CA4C23841A011A5BDF5C42641DC0209EAA1C23841B8923AC1FEC42641F6285C0F9FC23841C854C1E809C5264186EB51F89BC23841203CBD9212C526413F3EE81993C23841D810C73A28C5264176A52C838FC23841E0A59B8430C526414AEA04B484C23841304ED1114BC526417A0B24C87FC238418006F0D655C52641905374047CC23841283A924B5DC52641B6D1003E8FC23841F81873175FC526410C1B9EFE8FC238418887859A5CC52641186A4D3372C33841B072689170C226410300000002000000000206000000023400000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(74794 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (75682, N'{CE0D2005-455A-40A5-953D-19C3A737BEE5}', N'023404647', 3190460, N'VIP1066', NULL, N'23404647', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1996-04-30T00:00:00.000' AS DateTime), N'REM Parcel A', N'Block 1', N'', N'THAT PART OF PARCEL A (DD 137075I) BLOCK 1 SECTION 100 ESQUIMALT DISTRICT PLAN 1066 EXCEPT PART IN PLAN 43365 AND VIP62917 SHOWN ON PLAN VIP62916', N'0154', N'0005', N'NO', N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'COGO', N'0', NULL, CAST(N'2016-01-06T21:00:37.000' AS DateTime), CAST(N'2021-08-27T09:27:16.000' AS DateTime), 2743, 267, 0xBD0B0000010409000000E1141D891E293241D0DEE08B20991741AF7BF2903C293241E0D24DE2529917412C7502DA6E293241D0DD02098C991741D809680288293241F032C4B1D1991741D266D5678E293241E002098AA59917415FE5D0A284293241E007AC1C41991741149E5E294F2932417073D792F39817419B081B9E3D29324180143F46D8981741E1141D891E293241D0DEE08B2099174101000000020000000001000000FFFFFFFF0000000003, CAST(75682 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (76688, N'{8597A1C5-5A11-4DDF-9070-D3F1680C076F}', N'016201922', 3191432, N'NEP647', 22521761, N'16201922', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block 10', NULL, N'LOT 3 BLOCK 10 DISTRICT LOT 2375 KOOTENAY DISTRICT PLAN 647', N'0163', N'0018', N'NO', N'PMBC-OPERATIONS', 1, N'LSA', N'COGO', N'0', N'334.4', CAST(N'2021-05-17T09:36:33.000' AS DateTime), CAST(N'2021-10-28T14:15:24.000' AS DateTime), 334, 91, 0xBD0B0000010405000000E0B584FC52843A4128431CAB8D1D2041AAF1D2CD2E843A4120DD24C6821D2041C932C4712D843A418006F0D6941D20411AB7D1A051843A4180A301BC9F1D2041E0B584FC52843A4128431CAB8D1D204101000000020000000001000000FFFFFFFF0000000003, CAST(76688 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (77009, N'{3330A112-50BA-4CBC-8F0D-28B8333C3A69}', N'005665451', 491208, N'NEP7018', NULL, N'5665451', NULL, N'7079007010', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1 DISTRICT LOT 7623 KOOTENAY DISTRICT PLAN 7018 EXCEPT PART INCLUDED IN PLAN 17299', N'0163', N'0004', N'NO', N'ICF', 2, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-11-18T13:46:21.000' AS DateTime), 142996, 1594, 0xBD0B0000010412000000C21726F3AD2F3941D0AACF15DCEB20419C8026428C313941E0D0229B5AEC2041B525E48393313941B09F1AAFDDEB2041C2CAA1C59A31394180A52CC360EB2041CB6F5F07A2313941C03D0AD7E3EA20417A9CA2C3A731394158E3A51B81EA20417A36AB3ECA313941E0915CBE3CEA2041EA95B2CCCC31394110B9FC4720EA204193438B8CCD313941F8A8A40E15EA2041F45A423EBB313941E8C8E5BF10EA2041E7482E1F69313941181FF46CFDE920417E04C52F5F313941F82A8716FBE9204187C0CAE14B313941D870AC8BF6E92041C6B12EEE97303941702F4CE6C8E92041A0D6348F4230394138CA3284B4E92041C0A8A44E01303941000EBEF0A4E9204146696FD0CF2F394110E4831E99E92041C21726F3AD2F3941D0AACF15DCEB204101000000020000000001000000FFFFFFFF0000000003, CAST(77009 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (77043, N'{A99696DF-1C5D-4767-99F1-C0E3C95BCCC2}', N'005473853', 7849, N'VIP8843', NULL, N'5473853', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', NULL, NULL, N'LOT 2, SECTION 17, RANGE 1, CEDAR DISTRICT, PLAN 8843, EXCEPT PART IN, PLAN VIP65750', N'0163', N'0021', NULL, N'ICIS CADASTRE', 6, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2021-11-19T16:20:41.000' AS DateTime), 742, 113, 0xBD0B00000104050000004759861828A43141D01F63EE94F61B4181D93D3908A4314110B8AF0393F61B418304C56F16A43141B0C186A70DF71B418FB96B4927A43141E059F5B90EF71B414759861828A43141D01F63EE94F61B4101000000020000000001000000FFFFFFFF0000000003, CAST(77043 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (77926, N'{EC11A65D-126C-4EF3-B479-40CB0EFC38BA}', N'003780821', 656401, N'VIP18430', NULL, N'3780821', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1, SECTION 53, CORMORANT ISLAND, RUPERT DISTRICT, PLAN 18430 EXCEPT PART IN PLAN 3271 RW', N'0003', N'0020', N'NO', N'ICF', 3, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2022-01-14T16:24:12.000' AS DateTime), 513, 90, 0xBD0B000001040600000056A60A46B4822C41F08C286D4DE82241092653857F822C4178E926713EE822417936ABBE76822C4128098A5F5DE82241CE56EC2F8D822C41F8E4616175E822414A522720AF822C416019E2985FE8224156A60A46B4822C41F08C286D4DE8224101000000020000000001000000FFFFFFFF0000000003, CAST(77926 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (78055, N'{0DF9CE33-0FA9-49EC-B41C-FAA5B813FF30}', N'008473731', 3, N'NO_PLAN', NULL, N'8473731', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', CAST(N'2005-04-11T00:00:00.000' AS DateTime), N'PART 6N', N'16', N'1E', N'PARCEL "A" (REFERENCE PLAN 3141) SECTION 16 BLOCK 6 NORTH RANGE 1 EAST EXCEPT: FIRSTLY: PART ON REFERENCE PLAN 2357 SECONDLY: PARCEL "ONE" (REFERENCE PLAN 17385) THIRDLY: PORTIONS SHOWN ON HIGHWAY PLAN 28515, FOURTHLY: PART SHOWN ON HIGHWAY PLAN 57033 NEW WESTMINSTER DISTRICT', N'0101', N'0010', N'NO', N'ICIS CADASTRE', 11, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2022-01-21T13:33:08.000' AS DateTime), 22260, 715, 0xBD0B000001040E0000009A081B9EB9E53241900A462575081D41B6847C50C7E5324190BDC197D3081D41644BC8A7E0E53241B0BDC11727091D41226C783AFAE53241C020B0F266091D4132E6AE652FE63241A0A22339C6091D41B09DEF8745E632411029CB90120A1D415EC3D3CB68E6324100D34D62610A1D41BC0E9CB388E6324110E56121B60A1D41856CE7DBC3E63241608104C5B6091D4172AC8B1B3CE63241301361C3B0081D41F10DBEF01AE632413061C3D388071D419ADD93070AE63241706744E954071D41AB03E76CB5E53241B0E6AEA534081D419A081B9EB9E53241900A462575081D4101000000020000000001000000FFFFFFFF0000000003, CAST(78055 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (78159, N'{4C5786E6-06D4-4CE9-B463-2BF1216F8A41}', N'008226431', 117903, N'VIP877', NULL, N'8226431', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'Block 9', N'', N'LOT 2, BLOCK 9, SECTIONS 9 AND 24, VICTORIA DISTRICT, PLAN 877 EXCEPT PART IN PLAN 775 RW', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:33:44.000' AS DateTime), CAST(N'2022-01-26T10:50:27.000' AS DateTime), 283, 68, 0xBD0B0000010405000000F90FE93763393241E0855AD3CC8B1741BAC876BE5D393241C064AAE0858B1741AA0A46254F393241A09CA2A3978B17417E51499D5439324140992A98DE8B1741F90FE93763393241E0855AD3CC8B174101000000020000000001000000FFFFFFFF0000000003, CAST(78159 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (78160, N'{37135157-A6D5-4F35-A510-0D971B82CC65}', N'008226458', 117903, N'VIP877', NULL, N'8226458', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', N'Block 9', N'', N'THAT PART OF LOT 3, BLOCK 9, SECTION 24, VICTORIA DISTRICT, PLAN 877, LYING TO THE EAST OF THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY COMPANY AS SHOWN ON PLAN 1 RW, EXCEPT PART IN PLAN 775 RW', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:57:42.000' AS DateTime), CAST(N'2022-01-26T10:50:27.000' AS DateTime), 282, 67, 0xBD0B00000104060000006D1B0DC041393241D01FD2EFA78B17413F79584841393241104B5906B38B1741245C8F0246393241503FC65CF08B17417E51499D5439324140992A98DE8B1741AA0A46254F393241A09CA2A3978B17416D1B0DC041393241D01FD2EFA78B174101000000020000000001000000FFFFFFFF0000000003, CAST(78160 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (78405, N'{35C2D455-FDE2-4853-84CF-95EEB7D10104}', N'018523358', 466191, N'NEP20909', NULL, N'18523358', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 11891 KOOTENAY DISTRICT PLAN NEP20909', N'0163', N'0018', N'NO', N'MODIFIED-ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-15T18:05:11.000' AS DateTime), 12441, 895, 0xBD0B00000104050000001AFBCB4E665A3A4190B35975E03B1F41E5C03903745A3A4150F54AD970421F4168006FE19A5A3A41B0B7AF03FB3C1F4154840DCFA15A3A411063EEDA013C1F411AFBCB4E665A3A4190B35975E03B1F4101000000020000000001000000FFFFFFFF0000000003, CAST(78405 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (78900, N'{ABC76455-A759-4D5F-9677-5703B9701E8B}', N'017503728', 7935637, N'KAP45951', NULL, N'17503728', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1991-10-22T00:00:00.000' AS DateTime), N'Lot 2', N'', N'', N'THAT PART OF LOT 2 SECTION 6 TOWNSHIP 26 OSOYOOS DIVISION YALE DISTRICT PLAN 8758 SHOWN ON PLAN KAP45951', N'0057', N'0016', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'90.27', CAST(N'2020-11-26T14:42:57.000' AS DateTime), CAST(N'2020-11-26T14:59:14.000' AS DateTime), 90, 66, 0xBD0B000001040500000023DBF93EC1653641D0D32BE51B052141FAA9F172BE6536411861C393E0042141CA32C471BB653641B0832F0CE104214167AA6034BE65364160BF7D5D1C05214123DBF93EC1653641D0D32BE51B05214101000000020000000001000000FFFFFFFF0000000003, CAST(78900 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (78919, N'{7A757AF8-391C-4E2A-8C67-0F7A09B5F5FC}', N'015433323', 3, N'NO_PLAN', NULL, N'15433323', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 395', N'', N'', N'THAT PART OF DISTRICT LOT 395 KOOTENAY DISTRICT OUTLINED IN GREEN ON EXPLANATORY PLAN 74219I EXCEPT PART INCLUDED IN SRW PLAN 17452', N'0163', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:34:54.000' AS DateTime), 65343, 1596, 0xBD0B00000104380000005205A392E99C3841C821FD76BE312141C064AA40E99C3841C83B4E51C631214170128360F89C384130B29DEFC531214125F697DDC29D3841488D972E94312141004D848DC39D384108BE30D98F31214190180436AE9D3841E8AE25A48A3121416491ED7CEA9C3841686891ED5A312141102DB2FDEA9C3841D8CAA1C564312141A7BDC1B7EB9C384180029A8877312141F3FDD438EB9C3841D888D25E80312141BD64AA20EA9C384160984C959E3121415C204191EA9C3841801804D6A93121414BF38EB3E99C384158454772BC3121415205A392E99C3841C821FD76BE312141BD30996AE59C38418816D94E09332141A4D6344FE49C3841B8CFD59610332141A03C2C54E39C384148B6F3FD20332141E60B93E9E29C3841708EE4B2423321412A333373E29C3841E86054126133214125ED0DBEE19C38414861C353823321414C03782BE09C384180D0B319A8332141BB37F8A2DF9C38418011A57DB8332141FEBB05B2DE9C3841106F8144BE332141A01A2F3DDE9C384140F9A067C83321415A302AA9DD9C38413851DA9BE6332141B9C8765EDD9C3841F0DAF93EF43321411F6C783ADC9C384130C05B2000342141E1581757DC9C384128D6C56D06342141EAD022BBDC9C384108098A5F0F34214195438BECDB9C3841F075E01C273421419D3C2CD4D99C384108D7A3F04434214118FBCBEED89C3841C87268114E342141511E168AD99C3841E8D32BA55A342141D644D810D99C3841B05F760F6134214128C28607D89C384158D1915C7D342141B637F802D69C3841C8BAB80D9A34214156C1A8A4D69C3841D812F241A1342141A0D6340FD79C3841F054C1E8B7342141400AD743DA9C384170795868CC342141A067B34A3C9D3841A8BDC117E534214172E7FB29BC9D3841D8452575BE3121411DB07248FD9C384120B07268ED312141EB73B5F5E99C384120810405F03121414A1E162AE99C3841B0128340023221413EA4DFFEE79C384158787AA523322141C97F487FE79C3841388941A0413221419E23B9FCE69C384148143FC65C3221417E2F4C06E89C384130D7A3B072322141FADBD761E79C3841405BB1BF7B322141418B6C27E59C3841182428BE9C322141CBB35935E59C38414851DA1BC032214136EF38A5E59C384140871659CA3221416B91ED1CE59C38417814AEC7E1322141C07493F8E49C3841D0BE0E1CF63221417636AB9EE59C384110CCEE0901332141BD30996AE59C38418816D94E09332141020000000200000000020E00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(78919 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (79193, N'{45E4BB91-B925-44FC-9EA6-15A98C922EEB}', N'007247427', 135077, N'VIP1499', NULL, N'7247427', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'THAT PART OF LOT 1, SECTION 7, VICTORIA DISTRICT, PLAN 1499, BEING THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON 6 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:22:42.000' AS DateTime), CAST(N'2019-01-05T10:22:51.000' AS DateTime), 41, 32, 0xBD0B00000104050000004DDA1BDC433A3241F0891F63C17F1741F73A700E443A3241502AA993C17F17410F2DB25D4A3A3241F0051214C77F1741C998BBD6483A3241408104C5927F17414DDA1BDC433A3241F0891F63C17F174101000000020000000001000000FFFFFFFF0000000003, CAST(79193 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (79883, N'{52F6D2B3-3281-450B-B48A-4AF4C3EE0146}', N'006270433', 248042, N'PGP27802', 90054462, N'6270433', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'', N'', N'LOT 2 DISTRICT LOT 6006 CARIBOO DISTRICT PLAN 27802', N'0163', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:17:47.000' AS DateTime), 19866, 695, 0xBD0B000001040500000064DE71EA32EF354150CD3B0EBAAB2B4132FF213DF2EE354150984C95FAAB2B414794F66673EF354138A3923AE1AD2B41D4E76ACBB3EF35410830BBA7A0AD2B4164DE71EA32EF354150CD3B0EBAAB2B4101000000020000000001000000FFFFFFFF0000000003, CAST(79883 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (79884, N'{56B3A0E5-552C-451B-908B-ABF09C531E66}', N'004400216', 248042, N'PGP27802', 90054403, N'4400216', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 6006 CARIBOO DISTRICT PLAN 27802', N'0163', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:17:47.000' AS DateTime), 23761, 722, 0xBD0B000001040600000032FF213DF2EE354150984C95FAAB2B41B2FA5C8DECEE354170006F4100AC2B416ABC7453DAEE354148E17A14FBAD2B41B3EA735502EF3541D09AE69D52AE2B414794F66673EF354138A3923AE1AD2B4132FF213DF2EE354150984C95FAAB2B4101000000020000000001000000FFFFFFFF0000000003, CAST(79884 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (80344, N'{80567D20-B1D3-492B-806E-A00EA3161942}', N'001704371', 12592, N'VIP218B', NULL, N'1704371', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'Block 45', NULL, N'THAT PART OF LOT 1, BLOCK 45, SHAWNIGAN LAKE SUBURBAN LOTS, MALAHAT DISTRICT, PLAN 218B SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 16626F AND CONTAINING 0.44 OF AN ACRE MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T17:42:32.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 1767, 207, 0xBD0B00000104100000004EFC18B3B0E9314190D634EFD4951841F2C66687B5E931415009FFCCB3951841700B382EBAE9314140EA4A4392951841023C02A7BEE93141A06FFF5570951841EA2540F1C2E9314180260F094E951841D000720CC7E9314180BC77602B951841BF7D1DF8CAE9314140894160089518418FE4F25FA0E9314120E17A9407951841250681D5A0E93141C073B5153C95184172F085A99EE9314120E4831E37961841FC8AA3C8A1E93141C0BB721927961841F57614DCA4E93141E03F68F016961841A6CBBEE3A7E93141908FECA3069618419B0389DFAAE9314150F38834F69518415FFD59CFADE93141F0DAC7A2E59518414EFC18B3B0E9314190D634EFD495184101000000020000000001000000FFFFFFFF0000000003, CAST(80344 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (80659, N'{7CA0001A-EEE9-4DEB-BFCF-72378B3124BF}', N'007428324', 118430, N'VIP1397', NULL, N'7428324', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'Block 2', N'', N'LOT 1, BLOCK 2, SECTION 33, VICTORIA DISTRICT, PLAN 1397, EXCEPT PART LYING TO THE SOUTH EAST OF THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:59:13.000' AS DateTime), CAST(N'2019-01-05T10:54:25.000' AS DateTime), 416, 87, 0xBD0B000001040D00000026F6975DD83A3241405DDC4670941741B9B61321D73A3241005581596D941741F75FDCE3D53A324170D0E5706A9417419915F3A5D43A3241C07C0C8D679417410CFC5867D33A32418002F8AD649417414F380F28D23A32416004ABD3619417410AF016E8D03A3241602428FE5E94174101098ABFCA3A32419003E78C5194174193C2F548C63A324130F38E5348941741A5ADD8FFBB3A3241B066D5676394174178BE9FBAB23A3241D0CDAACF7B94174186635D1CC63A324180180456A094174126F6975DD83A3241405DDC467094174101000000020000000001000000FFFFFFFF0000000003, CAST(80659 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (80986, N'{3FAC5051-7019-4EC7-836A-0E66E3309B4B}', N'010204610', 252247, N'PGP20156', 4462301, N'10204610', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 1426 CARIBOO DISTRICT PLAN 20156', N'0112', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:41:05.000' AS DateTime), 663, 106, 0xBD0B0000010407000000C6DCB5E48581324158BB274FB3492E413C575B31848132419826C246F7492E41EC1648D097813241E0B12E2EF9492E41F8A9F1729881324160D3BCA3E3492E4165B3EA3399813241F02A8716CA492E41D4CEF7B397813241E0361A00B5492E41C6DCB5E48581324158BB274FB3492E4101000000020000000001000000FFFFFFFF0000000003, CAST(80986 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (81255, N'{5E8DCC3F-0884-404C-BD57-4DC327D027D8}', N'008468788', 136659, N'VIP863', NULL, N'8468788', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 20', N'', N'', N'LOT 20, SECTION 7, VICTORIA DISTRICT, PLAN 863 EXCEPT THAT PART LYING TO THE NORTH WEST OF THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY COMPANY AS SHOWN ON 6 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:20:50.000' AS DateTime), CAST(N'2019-01-05T10:55:30.000' AS DateTime), 119, 48, 0xBD0B00000104070000002D2AA9130D3A3241801B0D602A7E1741D36F5F27103A324140CD3BCEF07D174130A2B437043A3241E04EAF94E67D1741848EE432033A3241A0613255FA7D174174469496063A3241F06F5F070A7E17412D6EA3E1093A3241E0DEE00B1A7E17412D2AA9130D3A3241801B0D602A7E174101000000020000000001000000FFFFFFFF0000000003, CAST(81255 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (81366, N'{34A879D2-E34F-4421-82B0-BE1FE1CA9F64}', N'001593439', 141191, N'VIP1291', NULL, N'1593439', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 9', N'Block 3', N'', N'THAT PART OF LOT 9, BLOCK 3, SECTION 9, ESQUIMALT DISTRICT, PLAN 1291 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0154', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:25:44.000' AS DateTime), CAST(N'2019-01-05T10:55:46.000' AS DateTime), 338, 78, 0xBD0B0000010415000000A13C2C14122B3241D056ECAF7E9A1741BC13753F112B324110188C4F7C9A17416CA0AE6B102B324120F8F1E9799A174186F0DA980F2B324180EA237F779A1741A00FFCC60E2B3241C0EF270F759A1741ED0614F60D2B32411016049A729A174131DD24260D2B3241C076BE1F709A1741877876BD0B2B324100E110BD6B9A17412B2F3C570A2B3241506FE34D679A174149EF7CF3082B324140174CD2629A1741D09A3F92072B3241E00C614A5E9A17413B078B33062B324150C138B6599A17418AFD65D7042B324100E2E915559A1741D98AFDA5FF2A324160FDF6F5AC9A17411C63D2D3012B3241602752A9B39A174136460D08042B3241B013DC3ABA9A17419C678D42062B3241500233AAC09A1741829D3183082B3241D030F7F6C69A1741BD62D8C90A2B3241F0DECA20CD9A1741B2D85F160D2B324170545227D39A1741A13C2C14122B3241D056ECAF7E9A174101000000020000000001000000FFFFFFFF0000000003, CAST(81366 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (81733, N'{D3B65746-0F21-40B0-993E-014D7A0FFEBB}', N'013821172', 1070388, N'NWP5112', NULL, N'13821172', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1 EXCEPT: FIRSTLY; PARCEL A (REFERENCE PLAN 8056), SECONDLY; PART DEDICATED ROAD ON PLAN LMP1561, THIRDLY: PART ON PLAN 27124 DISTRICT LOT 223 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 5112', N'0002', N'0009', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-01-31T18:42:28.000' AS DateTime), 10427, 513, 0xBD0B0000010407000000C130998A03863341A057CA3240E01B414C2575021586334170C1A8245BE01B41E80434F117863341F06A2BF6F3DE1B4194A982D18C853341D02B651954DD1B41EBC039038D853341F02FBBA711DE1B41021973B7F0853341B0DA8A7DE7DF1B41C130998A03863341A057CA3240E01B4101000000020000000001000000FFFFFFFF0000000003, CAST(81733 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (81921, N'{6D637AE2-EF92-4B66-BA24-07C6509B18F0}', N'016416040', 3, N'NO_PLAN', 9296880, N'16416040', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'3948', N'', N'', N'DISTRICT LOT 3948 KOOTENAY DISTRICT', N'0163', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-01-04T09:25:18.000' AS DateTime), 1295087, 4830, 0xBD0B0000010409000000DCA59B847F8A3941389C336224522541861F638E6287394100197317515125414C2EFFA12D87394160BC74936F5425415FA1D6B4F8863941B0847C108E57254157EC2FDB8E86394120287E0CCB5D25414E840DCFAB893941D83C9B559E5E2541F87E6ABCE089394190BDC1D77F5B2541A9C64B974A8A394140AD69DE42552541DCA59B847F8A3941389C33622452254101000000020000000001000000FFFFFFFF0000000003, CAST(81921 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (81966, N'{63C503CE-8ECD-4BD6-AAEB-8E7B2355F668}', N'011756896', 297940, N'PRP12125', 90069993, N'11756896', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', NULL, NULL, N'LOT A, DISTRICT LOT 982, RANGE 5 COAST DISTRICT, PLAN 12125', N'0163', N'0011', N'NO', N'ICF', 2, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-01-04T09:36:31.000' AS DateTime), 3615, 316, 0xBD0B000001040C0000009DE61DA766632941FCCBEEE9D83A3041DD5F764F1664294144F6971DD33A3041A82C431C14642941BC25E443C23A3041D6CCCC0CD8632941EC096862BA3A304143F1630CA2632941B8DA8AFDAA3A3041B4EA737587632941F05A423E9F3A30412E1AC09B70632941F43845A7913A3041EA285C4F6463294164226C38883A3041C41726D359632941CCB6623F7E3A3041666666265C632941243333B3813A3041EE7C3F35626329418C6CE77BB93A30419DE61DA766632941FCCBEEE9D83A304101000000020000000001000000FFFFFFFF0000000003, CAST(81966 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (84510, N'{2A8A1AEF-1F80-4923-B51A-38299A3C3887}', N'009749357', 3, N'NO_PLAN', NULL, N'9749357', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART SW4', N'87', N'', N'THAT PART OF THE SOUTH WEST 1/4 OF SECTION 87, SOUTH SALT SPRING ISLAND, COWICHAN DISTRICT, IN PLAN 1530R', N'0163', N'0005', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:09:41.000' AS DateTime), CAST(N'2018-01-09T12:26:07.000' AS DateTime), 8519, 423, 0xBD0B000001040800000028068195881D324120832FCC31F31941703480B76A1D3241603480379BF31941DFBE0E9C5A1D324120265385CBF31941AF0C716C031D3241408941E0A5F41941F4B9DA2A211D324100E63FA45FF51941437958A8241D3241D044D87075F51941D4B35975861D3241604DF30E7CF4194128068195881D324120832FCC31F3194101000000020000000001000000FFFFFFFF0000000003, CAST(84510 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (86066, N'{4EB677DB-D49F-4790-9610-1909E41B1D6F}', N'009827340', 3191875, N'VIP1215OS', NULL, N'9827340', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART SW4', N'7', N'3', N'THAT PART OF SECTION 7, RANGE 3, SAHTLAM DISTRICT, SHOWN COLOURED RED ON PLAN 1215 OS AND CONTAINING 1.70 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:06:18.000' AS DateTime), CAST(N'2019-01-10T15:02:29.000' AS DateTime), 7224, 516, 0xBD0B000001041D0000001EFDF6956BA7314180226CF8068E1941F8285C0F45A73141A05296A1038E1941D612F26141A7314100E78C281A8E19417AB878603AA73141107E96143F8E194107D2029032A731410030CC4E618E1941AE4910012AA73141D0D5E88E808E1941AE3EB3C520A73141106DF0929C8E194186DD69F116A73141B06DBB1FB58E19413937F5980CA7314190AF7301CA8E1941056F2DD201A73141F0DC010CDB8E1941C49AD3B3F6A63141308D6A1BE88E194140B76155EBA63141103D1A14F18E19418516D9CEDFA63141008A1FE3F58E1941D79AE61D96A63141A08C28ED068F1941D23B4EF195A6314170C05B20868F1941F01648B0E2A6314140CC5D4B748F19418289F945F0A63141B077B4C66E8F194181EAE8B1FDA631415017C7BA648F1941725CFADB0AA731410089A139568F1941665288AC17A73141509F515D438F1941C1098E0C24A73141B04BB8472C8F194155E3D0E52FA7314100CA4C22118F19413E5108233BA731418022D21DF28E1941D41104B045A731416092FF71CF8E19417373D0794FA73141E0771C5DA98E1941465FD86E58A7314190749023808E19418CEE047F60A73141A08B680F548E19411651DA9B67A731410020D26F258E19411EFDF6956BA7314180226CF8068E194101000000020000000001000000FFFFFFFF0000000003, CAST(86066 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (86081, N'{B8422382-8CFF-438D-BA11-5264A0DD2E0B}', N'016701526', 472116, N'NEP40X', NULL, N'16701526', NULL, N'7861514000', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Parcel 11', N'REM Lot 362', N'', N'THAT PART OF SUBLOT 11 DISTRICT LOT 362 KOOTENAY DISTRICT PLAN X-40 SHOWN OUTLINED IN RED ON REFERENCE PLAN 83301I EXCEPT PART INCLUDED IN PLANS 4585(ROAD ONLY), 10442(ROAD ONLY) AND 9117 (ROAD ONLY)', N'0163', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:41.000' AS DateTime), 5702, 521, 0xBD0B000001042A000000EAD9AC9AEE1B3A41E05E984CEB011F418816D94EF41B3A4180CC5D4BDF011F41F64A5906FA1B3A4110651962D3011F41C87F48BFFF1B3A41F0B9DA8AC7011F41659A777C051C3A4140158CCABB011F41A535CD3B0B1C3A4160764F1EB0011F4146B6F3FD101C3A414095D489A4011F41EDC9C3C2161C3A411095D40999011F41BE42AD891C1C3A41E09AE69D8D011F41E873B5551E1C3A415075021A8A011F413C60E570F41B3A41800E2DB2D0001F41900F7A16EC1B3A4110A392BAAB001F41647FD91DD51B3A41B0DFBE8EE9001F41042428DEBF1B3A4100E78CA851021F418048BF5DC11B3A41601283404E021F41E8D9ACFAC61B3A41102BF69741021F41E6C7989BCC1B3A41B0DC240635021F417B36AB3ED21B3A4170029A8828021F4136EF38E5D71B3A4110098A1F1C021F41AAE8488EDD1B3A41E0141DC90F021F41EEF44A39E31B3A41E002098A03021F4120A7E8E8E81B3A4120F77560F7011F41EAD9AC9AEE1B3A41E05E984CEB011F414A696F906E1B3A4170EC2FBB15031F4158522700741B3A41801B0DE007031F411A7C6172791B3A41B0BDC117FA021F411EB9FCE77E1B3A41E08AFD65EC021F412C772D61841B3A4140A7E8C8DE021F41C1E314DD891B3A41A0C8763ED1021F410288F45B8F1B3A41E038B4C8C3021F4190C420B0941B3A4120ACADD8B6021F4148BF7D9D351B3A41D010C7BA42031F410912145F431B3A41D0EBC03982031F4158CA3224441B3A413082E2C785031F414C2EFFE1481B3A41808AFDE578031F413F355E3A4E1B3A4160923A816A031F4128068195531B3A41E0550E2D5C031F41EC85C9F4581B3A41F0D556EC4D031F41021973575E1B3A41A05CFEC33F031F4150DA1BBC631B3A41103108AC31031F41CCDCB524691B3A41300C02AB23031F414A696F906E1B3A4170EC2FBB15031F41020000000200000000021700000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(86081 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (86100, N'{3B9EB22D-7F36-4FA0-8657-2501E2540898}', N'014433419', 469134, N'NEP5347', NULL, N'14433419', NULL, N'7861510500', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot A', N'', N'', N'LOT A DISTRICT LOT 362 KOOTENAY DISTRICT PLAN 5347 EXCEPT THAT PART IN PLAN 9117', N'0163', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:42.000' AS DateTime), 114868, 1583, 0xBD0B00000104610000003EF8C2A4F71E3A41701DA7E8BC021F416C787AE5F91E3A4100D88173C9021F41DEC7987BFD1E3A41608863DDDB021F4168226C18021F3A41C0BDC117F9021F41D244D8B0041F3A4110D7A3700A031F41B49690AF0B1F3A41C05D4B4834031F41163FC65C0F1F3A41001A515A4B031F41AB9BC420131F3A41A024068163031F41298716D9151F3A413086C95471031F41915CFE03191F3A41D03E575B7D031F417CD93D79201F3A41E054C1289A031F413ADF4F8D231F3A4110C58FB1A8031F4192C2F5C8291F3A4180B20CF1CA031F41D2CCCC4C2B1F3A4120DF4F8DD6031F41021214DF2E1F3A41407E1D38F4031F417E26C2E62F1F3A41F09B33A202041F4152E3A5DB301F3A4180976E1229041F4152C1A824311F3A41B06CE7FB48041F410768228C311F3A41E0270F0B57041F41B08BDB08331F3A4120E86A2B79041F41D1F75363351F3A41E0EBC0B998041F412E06FEFF351F3A41605E07C99F041F417ECB52C4361F3A41E0B13899A6041F414ACCC1AE371F3A41900C6F1CAD041F4162D46CBD381F3A4110996145B3041F41D5C52BEE391F3A4140A57F07B9041F4194FF903E3B1F3A41903D0A57BE041F4194779C42411F3A41A0ABADD8DB041F416C6FF0A5461F3A41D0C3422D00051F41ACDFBEEE471F3A41B00B93290B051F4132A2B497491F3A4190D409E819051F41E695B26C4C1F3A41309D11A53A051F414672F98FBC1F3A41E019515ACA041F41B225E4A37F1F3A41F0F8A0676F011F41A2703D8A21203A41B053E3A5C9001F4140C6DCD5DE1F3A41C054C1A893FC1E416709F900401F3A41A08026C28CFD1E41EA61A1F6AE1E3A41D0EDEB4070FE1E41CAC9E599AF1E3A4150FFA88777FE1E41F2E3052EB01E3A41302E8AE27EFE1E41F209DAB2B01E3A41B077974F86FE1E4188AD3E28B11E3A4100FED3CC8DFE1E414062148EB11E3A41708B3E5895FE1E41CBE53FE4B11E3A41F01FD2EF9CFE1E4176088DE5B11E3A41100BEC0CA1FE1E418AEFF1F1B11E3A41405ADE28A5FE1E4107F86809B21E3A41B0A9CA41A9FE1E413076E72BB21E3A4190F5D355ADFE1E4134BA5D59B21E3A4180721F63B1FE1E415A17B791B21E3A41A066D567B5FE1E4130211FF4B41E3A41C0A59BC4CCFE1E4191180476B71E3A41B0BB969008FF1E41C6EEC9C3B71E3A41100534912BFF1E410202A8B8B71E3A4180066D833AFF1E41A240FCBFB71E3A41009ECB7549FF1E41E6F7C5D9B71E3A4160F6E26658FF1E4142B20206B81E3A41605B465567FF1E41F737AE44B81E3A41B05A893F76FF1E415F8FC295B81E3A4130E63F2485FF1E418CC2F5E8BA1E3A41A0FD65F7C5FF1E4190A98231BB1E3A41F09AE61DDBFF1E418026C286BB1E3A41C0506B9AE7FF1E41866CE75BBC1E3A41604469EFF7FF1E416ECE88F2BD1E3A4120D26FDF0F001F41AA0A46E5BE1E3A4150CD3BCE20001F41DA68008FC01E3A4150B0E1E93D001F41187C6192C11E3A41B05AD33C49001F41243A92EBC51E3A419006F09671001F41BE051234C71E3A41B028ED8D7C001F41D8F0F4EACA1E3A4140BC7493BA001F41D4F0F48ACF1E3A4110C28627E6001F414EDA1B1CD11E3A41401973D7F3001F413AA4DF9ED31E3A41308273460B011F41DA6800CFD41E3A41301283C018011F41CCBCE3F4D91E3A41C039234A4B011F4134FF21FDDA1E3A41309B551F56011F412A651922DE1E3A41603D0AD77F011F411E5A64FBDE1E3A41807424178C011F41E10C4474DF1E3A4190C75BF297011F41FF4312DADF1E3A4110E4BED8A3011F415E9ABE2CE01E3A41603163C8AF011F419ABF3B6CE01E3A4100995CBFBB011F414A7A7F98E01E3A4110D7BDBBC7011F418AA982B1E01E3A4140C898BBD3011F414850FCF8E01E3A41D022DB79EC011F41AC2E6E43E21E3A41A0F6065F09021F411B1DC9E5E41E3A41C046037824021F41A01A2F9DE61E3A4190A223B931021F41454772D9EA1E3A4160B0E1E955021F416C6F429DEB1E3A41C0D402715D021F41D8FC6765EC1E3A41000B01F164021F414AC6DE31ED1E3A41A069B4696C021F41A58BA202EE1E3A41E02DF5DA73021F41E0F5AED7EE1E3A4140BA9B447B021F412597FFB0EF1E3A41309D80A682021F41E4F21F12F21E3A41301E166A96021F413EF8C2A4F71E3A41701DA7E8BC021F4101000000020000000001000000FFFFFFFF0000000003, CAST(86100 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (87416, N'{D30E7678-61F3-49CE-9478-5631F0CFD693}', N'000017469', 645953, N'VIP883A', NULL, N'17469', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 33', N'Block 1', N'', N'LOT 33, BLOCK 1, DISTRICT LOT 132, ALBERNI DISTRICT, PLAN 883-A', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:43.000' AS DateTime), 646, 149, 0xBD0B00000104070000008FC2F5A8149D3041C0C8763E19AC1C410388F47B149D3041B0BE0E1C38AC1C4131C4B12E1A9D30414026C20637AC1C41992A1815559D304130CFF7D32BAC1C41CA4B37E9549D3041E0E995B203AC1C41FF2A87B6149D304170FBCBEE0FAC1C418FC2F5A8149D3041C0C8763E19AC1C4101000000020000000001000000FFFFFFFF0000000003, CAST(87416 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (88314, N'{287B1C46-2349-454F-A23F-DEFC88020B10}', N'015505936', 495456, N'NEP1262', NULL, N'15505936', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 25', N'Block 9', N'', N'LOT 25 BLOCK 9 DISTRICT LOT 2919 KOOTENAY DISTRICT PLAN 1262', N'0146', N'0019', N'NO', N'MODIFIED-ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:37:35.000' AS DateTime), 436, 90, 0xBD0B0000010405000000F2384567157E384120DD93877DDB1D419CD409A82E7E3841D00C71ACC2DB1D41D1F75303377E3841A0DEE00B99DB1D418E7571FB1E7E3841E04603F84DDB1D41F2384567157E384120DD93877DDB1D4101000000020000000001000000FFFFFFFF0000000003, CAST(88314 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (89258, N'{CA994CA2-0A8C-4239-9E7C-709A5B847850}', N'013997998', 295389, N'PRP968', 23688351, N'13997998', NULL, N'01250.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 14', N'Block 105', N'Section 2', N'LOT 14 BLOCK 105 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:42.000' AS DateTime), 260, 72, 0xBD0B000001040500000066D5E7EA82792B41140DE08DD8643141FE907EFB96792B4154CA3264D86431411CF46C1696792B412C3CBD72BE643141DE141D0982792B41FC87F49BBE64314166D5E7EA82792B41140DE08DD864314101000000020000000001000000FFFFFFFF0000000003, CAST(89258 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (89290, N'{001EB6C1-79BF-4055-ADAD-BBB56B86539D}', N'014083698', 295389, N'PRP968', 14745381, N'14083698', NULL, N'00582.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block 41', N'Section 1', N'LOT 3 BLOCK 41 SECTION 1 DISTRICT LOT 863 CASSIAR DISTRICT PLAN 968', N'0087', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:27.000' AS DateTime), 366, 93, 0xBD0B00000104060000000EFBCB6E606E2B41E4D24DC2B4643141B2D85FB6606E2B4150FC18D3B464314197ED7C7F746E2B4184E09CB1B46431418A635D9C736E2B4134AB3E3790643141CDDEE08B5F6E2B4158EA0454906431410EFBCB6E606E2B41E4D24DC2B464314101000000020000000001000000FFFFFFFF0000000003, CAST(89290 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (94819, N'{4EE39ECD-34C6-4961-B7E3-E81C7B387EB4}', N'002936143', 860943, N'KAP34698', NULL, N'2936143', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Parcel A', N'', N'', N'PARCEL A DISTRICT LOT 1707 KAMLOOPS DIVISION YALE DISTRICT PLAN 34698', N'0163', N'0028', N'NO', N'ICF', 7, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:44.000' AS DateTime), 780, 193, 0xBD0B000001040500000004917EDB2AE7354108363CBD2BF626412AED0D9E2DE7354140CB10C7E4F52641C6293A9218E73541905CFE4371F5264153AF94A51BE7354198DB6840D8F5264104917EDB2AE7354108363CBD2BF6264101000000020000000001000000FFFFFFFF0000000003, CAST(94819 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (95798, N'{A8647D8F-A9DD-45F1-BC95-AE4EABCE7643}', N'014707942', 488145, N'NEP4922', NULL, N'14707942', NULL, N'7102136100', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot A', NULL, NULL, N'LOT A DISTRICT LOT 4877 KOOTENAY DISTRICT PLAN 4922', N'0163', N'0004', N'NO', N'ICF', 9, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-08-06T16:05:45.000' AS DateTime), 38185, 874, 0xBD0B000001040800000070E7FBE915A23841183CBD92CA2522410FA5BD8121A23841D84A59C610262241F76C56DD19A23841580C02AB3526224148E17A3473A2384140386704EC26224187416065E2A2384140ED0DBE1C25224126B9FCC7F0A23841E011147F2F2422419018041633A23841E0B050AB2825224170E7FBE915A23841183CBD92CA25224101000000020000000001000000FFFFFFFF0000000003, CAST(95798 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (96353, N'{FC53D8D0-BF2C-494D-835E-5E8868CA6522}', N'001718801', 127186, N'VIP748', NULL, N'1718801', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1998-01-28T00:00:00.000' AS DateTime), N'REM Lot 6', N'', N'', N'THAT PART OF LOT 6, SECTION 98, ESQUIMALT DISTRICT, PLAN 748, SHOWN COLOURED RED ON PLAN 1205 OS, EXCEPT PART IN RED ON PLAN 660RW AND PART IN PLAN VIP78674', N'0154', N'0005', N'YES', N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'6186', CAST(N'2017-10-03T10:17:13.000' AS DateTime), CAST(N'2019-05-21T09:54:59.000' AS DateTime), 6332, 609, 0xBD0B000001042000000036B4C836161F3241502575023988174106560E4DFA1E32412050FC18538817413196B3FF001F3241B0D5E01C81881741F89951DE071F3241D04297B8AE881741DB1F83E80E1F324150577FE9DB881741FA63E01D161F324190F8FEAC088917413026FF7D1D1F324170588200358917411FB07208251F3241C01B7CE160891741B09DEFA7601F324190A14536B68A174160BD894F641F3241306009C9CA8A1741C8BFB00B681F324120446A20DF8A1741F25728DC6B1F324180E51F3BF38A1741F9F0B2C06F1F324100B0E517078B1741DBB111B9731F324170F57AB51A8B1741708104C5771F32415005A3122E8B1741EFD24D3E7F1F3241E01A0DFA4F8B17413224B306871F324170F8D7BF708B1741B786771B8F1F3241F00E7C58908B1741F72DC379971F324190C3DBB8AE8B1741536FA41EA01F3241F05347D6CB8B174128CB1007A91F3241509D80A6E78B1741086822CCAF1F3241B0BE0E1CB48B1741FC99085BA51F3241D09FABAD4B8B1741B8D100BE871F324160C42030D28A174138EF38E53D1F324110B7D1809E891741E1718A2E351F3241B03A70CE0489174173535C972F1F3241C01D86EAE3881741627D622B2A1F32412035AB93C2881741609530EB241F324130686BCDA0881741E59855D71F1F324120785E9B7E881741E4CD5BF01A1F3241709D27015C88174136B4C836161F3241502575023988174101000000020000000001000000FFFFFFFF0000000003, CAST(96353 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (96789, N'{83DDF0C4-9337-454B-9A45-D98F6BBD7F24}', N'012711624', 254003, N'PRP1461', 90054641, N'12711624', NULL, N'00094.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 6', N'Block C', N'', N'LOT 6 BLOCK C DISTRICT LOTS 110 AND 111 RANGE 5 COAST DISTRICT PLAN 1461 EXCEPT PLAN 6304', N'0037', N'0001', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2020-09-17T10:01:51.000' AS DateTime), 1345, 159, 0xBD0B0000010405000000CF88D21E18F930418438D6E5A4083041B3B6627FE3F830419CF606DFAA08304141C6DC15E3F83041C464AA00C0083041904AEA041BF930410022FD36C1083041CF88D21E18F930418438D6E5A408304101000000020000000001000000FFFFFFFF0000000003, CAST(96789 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (97030, N'{63795E8B-C7D8-4F44-80F8-976FB2EE7C45}', N'012765058', 254785, N'PGP10590', 90054644, N'12765058', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1 DISTRICT LOT 2424 CARIBOO DISTRICT PLAN 10590 EXCEPT PLAN 29887', N'0112', N'0008', N'NO', N'ICF', 3, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-08-01T15:49:44.000' AS DateTime), 1874, 257, 0xBD0B00000104110000000FBE3039F4723241683255F054A92E419BFF901E8E723241F0F44A594AA92E41A6ADD81FB872324158CA3204B7A92E411751DA5BBF723241E044D83089A92E419D913720C072324180EBC70285A92E414A820111C1723241C8EBA6F980A92E419AE3802CC272324120E9D11C7DA92E41188DB070C372324128B9547379A92E41F21C41DBC4723241B087DD0376A92E41A62E9D69C672324190A8B0D472A92E41A711EE18C872324160279DEB6FA92E41D2F620E6C97232417830F24D6DA92E41E78BECCDCB723241806075006BA92E4126FAD6CCCD723241F00F5A0769A92E41AF3D3CDFCF72324100AA396667A92E4185C95401D2723241681B0D2066A92E410FBE3039F4723241683255F054A92E4101000000020000000001000000FFFFFFFF0000000003, CAST(97030 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (97752, N'{24C56094-B8E9-4CC2-8E96-EB73A6407CB9}', N'001706063', 12929, N'VIP218A', NULL, N'1706063', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 8', N'Block 23', NULL, N'LOT 8, BLOCK 23, SHAWNIGAN LAKE SUBURBAN LOTS, MALAHAT DISTRICT, PLAN 218A', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'0', N'10074', CAST(N'2021-02-10T11:57:09.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 10026, 401, 0xBD0B0000010406000000F05A42BEB9E7314180029A8870B91841595227601CE83141D095B28C80B91841BA627F391FE83141B09A779CE8B71841B369DE91BDE73141308D286DD8B71841C832C491BBE7314140A4DFBEABB81841F05A42BEB9E7314180029A8870B9184101000000020000000001000000FFFFFFFF0000000003, CAST(97752 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (99490, N'{F2A3EC82-4B77-472E-A32C-E8E04211D75D}', N'015039706', 493279, N'NEP2936', 21294781, N'15039706', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 23', NULL, NULL, N'LOT 23 DISTRICT LOT 1236 KOOTENAY DISTRICT PLAN 2936', N'0163', N'0019', N'NO', N'ICF', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-02-11T15:48:16.000' AS DateTime), 5995, 327, 0xBD0B00000104050000002BDD24868FAF384150CAC3C23D141E41365EBAC9D7AF384100F9A067FC141E41C37D1D78E5AF38414080B74025131E410C61C313A3AF384120F775607A131E412BDD24868FAF384150CAC3C23D141E4101000000020000000001000000FFFFFFFF0000000003, CAST(99490 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (102504, N'{E129FF59-BCA2-4EA4-B1B2-7EF55BB7DDEC}', N'001641107', 121125, N'VIP76RW', NULL, N'1641107', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 115', N'', N'', N'THAT PART OF SECTION 115, SOOKE DISTRICT SHOWN COLOURED RED ON PLAN 76 RW AND CONTAINING 0.91 OF AN ACRE MORE OR LESS', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:51:07.000' AS DateTime), CAST(N'2021-09-24T15:12:22.000' AS DateTime), 3633, 332, 0xBD0B00000104140000005CD3BCA3BFEF31417020B0725B01174138AB3EB7C0EF31418051499D69011741774F1EB6DBEF3141109E5E29A702174163984C95FDEF3141304ED191E3021741A9C64BF7D9EF31411064CCDD41011741FD43FAEDD5EF3141A0EC0D3E0D0117415BB2F76FD5EF3141D0A3382604011741E84411F0D4EF314180B80910FB0017412054476ED4EF3141F07387FBF1001741C8399AEAD3EF3141501FB8E8E8001741FE500A65D3EF31417000A2D7DF00174127F697DDD2EF3141F05D4BC8D6001741462EFF61D2EF314170F3FD54C90017415CA835EDB6EF3141801951DAC4001741E6C4CBD1B7EF314170750F6ADE001741BF7C33F0B8EF314100AE4CD5F700174123BE1048BAEF3141F0E7DC1311011741A0FEF4D8BBEF3141C0A5A21D2A011741BC5E5FA2BDEF3141206091EA420117415CD3BCA3BFEF31417020B0725B01174101000000020000000001000000FFFFFFFF0000000003, CAST(102504 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (104208, N'{159B2199-1639-4392-8836-20DD77AD8A9F}', N'007386583', 853467, N'KAP21581', NULL, N'7386583', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', NULL, NULL, N'LOT 3 DISTRICT LOT 490 OSOYOOS DIVISION YALE DISTRICT PLAN 21581', N'0098', N'0016', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2022-01-11T16:54:38.000' AS DateTime), 928, 143, 0xBD0B000001040A00000072F90F0920223641F8D9AC7A7FBB204166B62A891E2236415894F8C178BB204152BCD6FB1C223641D0E6811572BB204185032D611B223641B02FB4756BBB2041D85A47B9192236415001FAE264BB20410366400418223641F01BBD5D5EBB2041139C334216223641606666E657BB20418C416085E42136418075711B50BB2041AEEA73B5F02136411052B81E78BB204172F90F0920223641F8D9AC7A7FBB204101000000020000000001000000FFFFFFFF0000000003, CAST(104208 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (105218, N'{9FAF1F2A-A4A6-4A3C-8A6B-89244890CBF1}', N'005700825', 495877, N'NEP595', 90054446, N'5700825', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 26', N'Block 18', N'', N'LOT 26 BLOCK 18 DISTRICT LOT 208 KOOTENAY DISTRICT PLAN 595', N'0056', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:42.000' AS DateTime), 256, 74, 0xBD0B000001040A00000094FF90FE882F394168A8354D06DF214190AB1B95882F3941206D295E03DF2141913C8024882F394148E2467300DF2141C033C9AC872F394130B4D38CFDDE2141FCBB012E872F3941F82415ABFADE2141D5A835A8862F3941F00650CEF7DE21419075711B862F394130B4C8F6F4DE21412A3A926B6B2F3941502BF69704DF2141748104056E2F39410875021A16DF214194FF90FE882F394168A8354D06DF214101000000020000000001000000FFFFFFFF0000000003, CAST(105218 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (105220, N'{BF416CC4-53E1-4091-89CE-5A2D746C1166}', N'005868530', 122743, N'VIP6517', NULL, N'5868530', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1, SECTION 93, ESQUIMALT DISTRICT, PLAN 6517 EXCEPT PART IN PLAN 3768 RW', N'0154', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:56:08.000' AS DateTime), CAST(N'2019-01-05T10:21:54.000' AS DateTime), 99, 54, 0xBD0B0000010404000000BED32B658E283241406744E9229617415127A089A52832411019735732961741199E5E09A2283241703480B70D961741BED32B658E283241406744E92296174101000000020000000001000000FFFFFFFF0000000003, CAST(105220 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (105680, N'{E33290AE-E8B9-471F-8788-449EE270897D}', N'002911116', 117903, N'VIP877', NULL, N'2911116', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 7', N'Block 10', N'', N'THAT PART OF LOT 7, BLOCK 10, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:46:03.000' AS DateTime), CAST(N'2019-01-05T10:23:39.000' AS DateTime), 306, 71, 0xBD0B00000104050000006B006FC10E38324100857C506B8D1741C498BBD6083832413003788B1E8D1741792D213FFA373241905F984C308D17414C27A02900383241F0293A127D8D17416B006FC10E38324100857C506B8D174101000000020000000001000000FFFFFFFF0000000003, CAST(105680 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (105793, N'{02C97BDA-EFC7-4ECA-9883-03BD3D910E01}', N'001592556', 3, N'NO_PLAN', NULL, N'1592556', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 93', N'', N'', N'THAT PART OF SECTION 93, ESQUIMALT DISTRICT INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW AND CONTAINING 4.52 ACRES MORE OR LESS EXCEPT THOSE PARTS IN PLANS VIP64220 AND VIP64223', N'0154', N'0005', N'NO', N'PMBC-COMPILATION', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:55:56.000' AS DateTime), CAST(N'2019-01-05T10:24:04.000' AS DateTime), 14392, 1218, 0xBD0B00000104500000003C8B6C07A9263241C0847C50C1971741E2E995D2BC263241707AA5AC97971741AB8BDB68D1263241A004568E54971741D0D5560CCC263241F0FE21FD5697174141E8D90C36263241D0F67560A097174181D93D7944263241D02F4CA6079817413D0AD723A326324110F46C56D99717413C8B6C07A9263241C0847C50C19717412D2AA99360273241708E75F11E9817413A4547927C273241A0550E2D47981741AA13D0648527324100D122DB53981741527A90C395273241A062B093699817414AA40085A6273241803D88EE799817418A9A088DB7273241206E3ED0849817418E091ABFC8273241603E94268A981741692260FED927324170C996E889981741F5F1EF2DEB27324110FFAD16849817411BDDF830FC27324160F59BBA78981741D7F0F4EA0C283241508B6CE767981741FFE68C481F28324150DE718A53981741E2A59BA45828324150FBCBEE13981741E9D9ACBA6E283241B0D634EFFB971741F63A70AE84283241702A1815E4971741FC6E81645A28324170FC1873A097174188A7574A05283241E01A2FDDFC9717414772F9AFFF273241300DE0AD029817418D3A010DFA273241A08E53F407981741F4D24D62F4273241A0C420B00C9817415AF5B99AEE2732411064CCDD10981741B5270FCBE827324160825149149817412C0F0BF5E227324160FC18F316981741127A366BDC27324110D26F5F19981741C732C431D1273241000BB5261D9817411ECE4FE1C5273241701349C41B981741F8B64D9BBA27324180A43DAF17981741DA4B066AAF27324170F14BEB10981741FC02AF57A4273241B0B59F7E07981741781A616E992732410093D171FB9717414D6210B88E273241503BDFCFEC971741E19387E585273241209C3322E097174196081B5E4F273241A0CA32C491971741EEB9AEB24E27324130D0A9C890971741B3077E064E2732416016A8D58F971741A2BB8F594D273241103237EB8E97174119A7EAAB4C273241706160098E97174183A295FD4B273241308B2C308D971741518D974E4B2732414040A45F8C9717412C26C4AA3F273241C0F2CD117D971741887489DE33273241A02EF7D66F971741A79FD0EF2727324110C7C0B564971741C81694E41B2732413035BEB35B9717415192DCC20F273241F0CB72D554971741EF0DBE900327324150764F1E5097174142E5E7CD01273241A06E40B54F971741714AEB0A0027324190AC11574F9717412A70CC47FE2632416010C4034F97174170898F84FC263241906058BB4E9717417EC938C1FA263241F049CF7D4E971741F063CCFDF8263241C05E294B4E97174117C05BA0F5263241E08173C662971741731B0D00F22632419027A0897697174121D26F1FEE2632414094F686899717414482E207EA26324170984C959B971741558638B6E5263241F03845C7AC971741C5C3422DE126324190E09C11BD971741B7373D3BEA26324100F9A450BB971741C787CF4BF3263241501F2EF1BA971741936F9B5BFC263241E0CB5BF3BB9717417BF4426705273241E00FCE56BE971741D4A5696B0E273241A0B8A11AC2971741CBDCB56417273241C0A3703DC7971741F09E3CEC2927324120FE43FAD6971741AB59CE032F27324170DC9729DC9717416834FA1434273241E09BAEB9E1971741C2464D1F39273241B0160AAAE7971741A84355223E273241709F23FAED9717417A83A01D43273241300C6CA9F4971741EE0DBE104827324180C64BB7FB9717418A7CD07359273241D0C56DB4149817412D2AA99360273241708E75F11E981741020000000200000000020800000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(105793 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (106382, N'{92C965DE-F441-44C0-8062-EBC274808433}', N'001653334', 126053, N'VIP1227', NULL, N'1653334', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'', N'', N'THAT PART OF LOT 3, SECTION 48, SOOKE DISTRICT, PLAN 1227 SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 31255I', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:00:45.000' AS DateTime), CAST(N'2020-05-10T21:05:55.000' AS DateTime), 1461, 155, 0xBD0B00000104060000002B7E8C5997DB3141503BDF4F1B2917411F41F16381DB3141108F5374AD2917410E022B079FDB31418070CE88DC291741FF770B64B7DB31415060E5D03D291741AB0A46E59EDB314160742417172917412B7E8C5997DB3141503BDF4F1B29174101000000020000000001000000FFFFFFFF0000000003, CAST(106382 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (107265, N'{D4A1FCAD-F422-406E-8358-18C676C7A02A}', N'001567411', 117903, N'VIP877', NULL, N'1567411', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'Block 12', N'', N'THAT PART OF LOT 6, BLOCK 12, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:10:19.000' AS DateTime), CAST(N'2019-01-05T10:54:58.000' AS DateTime), 307, 71, 0xBD0B000001040500000041BD52365836324130D8F0F42D8F1741AFBFEC1E5E36324100ED9EBC7A8F1741CE2B65B96C363241C0218EF5688F17416329CBD066363241607A142E1C8F174141BD52365836324130D8F0F42D8F174101000000020000000001000000FFFFFFFF0000000003, CAST(107265 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (107386, N'{F80E2E5F-BDC5-4826-B1A6-4A35EBDF74C5}', N'010459294', 252487, N'PGP727', 5676141, N'10459294', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 15', N'Block 31', N'', N'LOT 15 BLOCK 31 DISTRICT LOT 933 CARIBOO DISTRICT PLAN 727', N'0112', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:41:06.000' AS DateTime), 418, 103, 0xBD0B000001040500000013C7BA98CF82324140BF7D1DAA492E4112143F26D3823241B02E6EA3BE492E4104F9A007FA823241F0915C7EC2492E414650FC98FA82324100C364EAAD492E4113C7BA98CF82324140BF7D1DAA492E4101000000020000000001000000FFFFFFFF0000000003, CAST(107386 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (108776, N'{A2B00943-D41F-4753-94DB-21A524654651}', N'004127587', 869882, N'KAP29937', NULL, N'4127587', NULL, N'P6057', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot A', N'', N'', N'LOT A DISTRICT LOTS 263 AND 264 KAMLOOPS DIVISION YALE DISTRICT PLAN 29937 EXCEPT PLANS KAP56827 AND KAP59477', N'0055', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:32:00.000' AS DateTime), 528174, 3981, 0xBD0B000001042C00000032DD24C6B0A73541A0D6342F5BA72341C5DCB564CAA7354160D3BCA32FA72341BEC1174606A83541C0B12E6E39A72341A835CD9B18A83541683BDF8F46A72341AF506B5ACEA8354120A5BD81FAA6234167BC7433D5A8354170567D2E3CA72341BA1E856B4BA9354138C6DCB50AA723412DFF219D5AA93541C864AAA004A723410388F4DB69A93541B03C2C14FFA6234134DD242679A9354130A91310FAA62341FD99087B88A93541A82A1895F5A62341D22B65D997A93541F0891FA3F1A62341D4AACFF5AEA9354140EC2FBBECA623414D696F30F5A93541F80CE0ADDFA62341D69AE6DDA8AA354198BB9610BEA6234140C6DC75A7AA3541C020B0B29FA623411CB7D180EAAA354130A1D63493A623418DC2F5E8EBAA3541383CBD92B1A62341A32C43DCD3AB3541C83E575B86A6234198BB96F0E8AB3541D8FBA9B182A623414C1E160AFEAB3541D039238A7FA62341181DC9E5FCAB3541F0F21F125EA62341760B24481BAC3541801D38E759A6234138B4C8D63AAC35416891EDBC57A6234117E258D759AC3541E88D753156A623410BAC1CDA78AC3541B835CDBB55A62341EAC0396398AC3541605452A756A623411A04566EB1AC354128A089B057A62341085F98ECCAAC354150499DC059A62341DE9C1145CAAC354160D5E72A75A62341860D4F0F02AD354190B515BB7AA62341C305127421AD354140992A587DA62341A0EFA7862FAD3541F08E53F4E7A42341DA3D791806AC3541587B832FAEA4234128A9131006AC354148D6C52DAEA423419075717B0DAA354158FB3A304CA42341F897DDD3D8A83541403789C10FA423416B12830043A735416080B780BFA323413F3EE8F9ECA63541607FD97DAEA32341DE7A142ECFA63541B01E85EBACA62341376744C9CBA6354138D8F03404A72341AAE848AEEEA63541409D80260EA72341605DDC8614A73541F8EF168842A7234132DD24C6B0A73541A0D6342F5BA7234101000000020000000001000000FFFFFFFF0000000003, CAST(108776 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (108860, N'{58BE0658-5905-4598-A3B7-60EDC5436563}', N'011097710', 869379, N'KAP2637', NULL, N'11097710', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 4', N'', N'', N'LOT 4 DISTRICT LOT 235 KAMLOOPS DIVISION YALE DISTRICT PLAN 2637 EXCEPT PLANS A1006 AND H10733', N'0055', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:31:33.000' AS DateTime), 599, 105, 0xBD0B0000010407000000C732C4917166354110AAF15216AE2341CF6F5F4772663541E044D830F6AD23414BD8F0345E663541701D38A700AE2341BEF528FC5C66354158AF94E529AE23414C696F106766354100E17A5437AE2341C454C1887066354168C8073D45AE2341C732C4917166354110AAF15216AE234101000000020000000001000000FFFFFFFF0000000003, CAST(108860 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (110380, N'{E2AAC3AB-DFC5-4A18-8F15-88E8F813A817}', N'016421078', 3, N'NO_PLAN', NULL, N'16421078', NULL, N'00796.220', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'4', N'301A', N'', N'PARCEL A (SEE 127943I) OF PARCEL 4 (SEE 44769I) OF DISTRICT LOT 301A KOOTENAY DISTRICT', N'0015', N'0004', N'NO', N'ICF', 3, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-01-09T12:14:26.000' AS DateTime), 10456, 755, 0xBD0B000001044F000000AD7BF270687A38418079C7A9AE6B1F415396214E6A7A384190F753E3B76B1F41DA9C11656D7A3841906DC57E9F6B1F41BCB88D06707A3841F0AB1C5A866B1F414CDA1B5C737A3841709FABAD696B1F41205A641B207A3841003B704E196A1F41AAF29C19127A3841B00C2FF6E4691F417E1A67FD027A3841E03CFBC7B5691F41443F1FE5F279384110A2A1228C691F41784B1CF1E1793841902DD05968691F4145AB6E43D079384140C96DB54A691F41B7DA9BFFBD79384180DC097133691F410806574AAB79384120A164BB22691F41CC4B374998793841F03311B618691F416A66668645793841C0A14536FA681F4168AA60F43B79384110F31FD245691F4166B3EA934D793841C0AC8B5B4D691F41BE42ADC95B793841A05227A05B691F4176BE9FDA6879384160EC2F3B65691F4120B072C871793841901804D66F691F41B2506BDA7F793841B053742483691F4199BB96908B793841D0C117268F691F411061C3139A79384130355EBAA4691F41AEFA5CEDA579384140D42BE5B4691F414EDA1B5CB1793841F05C6DC5C1691F41567DAE56BC79384110F77560CC691F41D40968A2C579384160F1634CDC691F41D44D62F0CD793841603177ADEA691F41EDB0500BD6793841F0E76AABFC691F41D71B7C21DD79384160D3BC630C6A1F410188F4FBE0793841A00A46251C6A1F4154EC2F9BE27938416039B4C8226A1F41E2141D09E4793841A0EB5138276A1F4104CE19F1E7793841E0490C02376A1F4128E483BEEE79384150A757CA446A1F41A0923A41F379384170B740825A6A1F41E9F21F52F87938418069DE716E6A1F413CEF3825007A384130F085C9846A1F4164F7E401097A3841109BE69D9A6A1F41BE64AAA0127A3841C0CFD5D6B06A1F4140CF66751D7A3841C0C56DB4C96A1F41489D80C6257A3841001DC9E5CE6A1F4140E8D90C2D7A38419005A392D46A1F41BCF6D2282E7A3841B0E9A83BD76A1F4166EDA3392F7A384100591D2ADA6A1F412C8D3D3E307A38414031165BDD6A1F4158BC9C35317A3841002C67CBE06A1F413688CB1E327A38415009A577E46A1F416A19E2F8327A3841A0F5285CE86A1F415EA61E92337A384170F04587EB6A1F41AC2D0038347A384100AB8F89EE6A1F411E1CD9E9347A38414020E05FF16A1F41D258EFA6357A384140503F07F46A1F4156087D6E367A38416057E67CF66A1F41545BB13F377A3841005B42BEF86A1F41206C78DA387A384110C3642AF86A1F41FD6C56DD3B7A3841905D4BC8066B1F413C36357E3C7A3841D09D04500A6B1F41B6413D323D7A3841D07AF09B0D6B1F41F7AA0CF83D7A3841400994A5106B1F41CF9A1ECE3E7A384140A9F666136B1F41A643CEB23F7A384160C3ADDA156B1F41AE1C5AA4407A3841806CE7FB176B1F41CA19517A447A3841B0A913D0216B1F41FC41678D457A3841D0EAEA04246B1F413677E59A467A3841B07A5E63266B1F41991067A2477A3841B0D48BEA286B1F41F1A189A3487A3841A03D81992B6B1F410520ED9D497A3841B01F3E6F2E6B1F41EB0434914A7A3841C067B36A316B1F41A9A44E404C7A384170B4C8F6306B1F41A111A57D537A3841A01A2FDD406B1F4132A2B4B7597A384140EE5A42506B1F41D878E9E65E7A3841E0C3422D606B1F4122F46C56667A384100EBE236726B1F41B47BF2506A7A38412090A0787F6B1F41B025E4836B7A38410061C3538B6B1F410DF2418F697A384140EBE2B6996B1F41AD7BF270687A38418079C7A9AE6B1F4101000000020000000001000000FFFFFFFF0000000003, CAST(110380 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (111038, N'{B2BAE382-58BB-4EC5-88D2-8FA230D6AF2A}', N'016449207', 3, N'NO_PLAN', NULL, N'16449207', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART 8897', N'', N'', N'DISTRICT LOT 8897 KOOTENAY DISTRICT, EXCEPT PART INCLUDED IN PLANS 1594, 12207, 12857, NEP63197 AND NEP64642', N'0163', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:30:20.000' AS DateTime), 280593, 4311, 0xBD0B0000010443000000DE0B9349EB863A41404D840D3D1921412E333353E8863A4160423E286C1921414ABF7D1DD9863A41A84E4013631A2141E07A14CEEF863A41F875E01CCE192141469D80A6F1863A413895D409C1192141DE9C11C5F2863A4150DC4643B7192141B915FB2BF3863A41E85A42FEAB1921415E423EE8F3863A41C09E3CEC99192141C142ADC9F2863A4120CD3B4E80192141DE0B9349EB863A41404D840D3D19214152FC1853A0873A41803F355ECB1A2141104FAF74E9873A41885CFEC39A1B2141EF8E537451883A41404772B9711C2141875AD3FC74883A4178FE43FA4A1A2141E88C28CDA9883A41F8A59B0411172141EFEBC059B6883A413892CB7F4F1621412C97FF509A873A41E0C9C3C2FB152141224A7B4385873A4128BB274F46172141C07D1DB86C873A4130D26F1F40172141A6BDC1576A873A41587DAE36F31721410D68228C8B873A4170AEB66246182141AEFA5CAD8D873A41600AD7A3811821414694F6A68C873A41683480F729192141A089B04191873A4120F9A0E7BE1921410A61C353A7873A41287F6A3C5F1A21414E6B9AD7A7873A4140DF4F0D851A214152FC1853A0873A41803F355ECB1A214102DE026916873A41C8A8A40E73172141FE21FD7615873A4178BC74938B172141FC4C84CD14873A41A0ED7CBF9C172141AA4E40930E873A4180F085493E182141F0B050CB15873A41C80A46E5721821419475711B14873A41C8073DDBE21821412363EE1A0C873A415072F9CF7D1921415C20413107873A41F8EF1608B0192141F475E09C05873A4138575B71C419214126D26F9F02873A4158F6061FDA192141F675E09CED863A4128D7A3B0641A214134F8C224E3863A416096214E011B2141989999F9E5863A410842CFA61C1B21413C795868EC863A41502428BE341B214164226C38EF863A4190B0E1A93D1B2141427958A812873A4178F2B050AD1B214153840DAF50873A41506B9A777D1C21415CC3D36B5D873A41F0907EBBB71C21413EA4DFFE66873A4150B07228F61C2141C086A7176B873A41009E5E291F1D21413280B7E06A873A41504CA68A221D21419406F0D66B873A412808AC9C481D2141D568004F40883A411851DA9B821D21416CB3EA534D883A41A03FA4DFBF1C2141B9D100FE4B883A41D83D7918BD1C2141878EE472D5873A41D00209CAC01B21411E63EEFABB873A4170211F348D1B214161EE5A22A4873A41C0F44A994A1B21417DE09CD193873A4100C7BAF8171B2141E573B55586873A41C0ED7C7FE31A2141CABAB8AD80873A4170C5FEB2E71A21416AB3EA936F873A4170711B0D951A2141565BB1FF57873A4108341176131A21413ED6C54D4B873A4148CC5DCB851921411CD26FDF49873A41C0EC9E3C2F1921412DDD24A644873A41A880260236172141B21C5A041C873A41C86B09B92B172141D7D781531A873A414803784B2B1721417A6ABCB40C873A4190E2C7D82717214102DE026916873A41C8A8A40E73172141030000000200000000020A000000021B00000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(111038 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (111464, N'{97F78A07-5FB3-4A21-90FF-3B64A02C3F68}', N'004627709', 473992, N'KAP28147', 34813241, N'4627709', NULL, N'cnhp0090', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'', N'', N'LOT A SECTION 10 TOWNSHIP 22 RANGE 11 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 28147', N'0163', N'0006', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:22:35.000' AS DateTime), 17150, 1066, 0xBD0B00000104320000000E2DB2DD774B364138AB3E178E732441F7285C6F4D4B36415027A0C9B8732441EF5A423ECD4A3641205EBAC93974244185DB6800C44A3641906588E342742441A8DFBEAEBA4A364130431CAB4B7424414D1E164AB14A3641781B0D205474244173C5FED2A74A3641B85B20415C7424414C158C4A9E4A3641003B700E64742441D23B4EB1944A36415894F6866B742441614BC8078B4A3641285530AA72742441D468004F814A3641A0C64B777974244190DD9387774A364110B22EEE7F742441A66054B26D4A3641E0F1D20D867424418004C5CF634A3641883D0AD78B742441F5EDEBE0594A3641704BC847917424419CEFA7E64F4A364108F77560967424419C923AE1454A36410065AA209B74244190A0F8D13B4A364128B9FC879F742441CC2B65B9314A3641F073B595A374244114D04498274A364180DE714AA77424419FD6346F1D4A36410866F7A4AA742441B269DE51F44936411048507CB77424416ED71292E049364120C286A7BD742441AA3E579BE7493641B01C5A6418752441CA10C73A244A3641089C336205752441931804762C4A364150575BB1027524415BB1BFAC344A36413827A0C9FF742441171DC965324A364178D0B3D9E67424412B6519C23C4A364140F697DDE274244199218E15474A3641C8DD0289DE742441C97F485F514A36412076E0DCD9742441ADBFEC9E5B4A364118D044D8D47424411A6A4DD3654A3641B8EC9E7CCF742441BEF528FC6F4A3641F0CBEEC9C974244164226C187A4A3641E8A44EC0C374244160545227844A3641E82D9060BD74244102E78C288E4A3641E0E76AABB6742441009A081B984A364178D2DEA0AF7424415E764FFEA14A364160006F41A87424411D8E75D1AB4A3641C8BAB88DA07424410C61C393B54A364118143F86987424415CC1A844BF4A3641C8E76A2B90742441234A7BE3C84A3641B8C8767E87742441B796906FD24A3641D87F487F7E7424415B423EE8DB4A3641B0D6342F75742441429B55FF1C4B3641B82E6EE333742441DF2406215C4B364158522760F473244143575B11AE4B3641808EE4F2A1732441F01648309F4B364138931884667324410E2DB2DD774B364138AB3E178E73244101000000020000000001000000FFFFFFFF0000000003, CAST(111464 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (111545, N'{22D5C688-9DF8-4E5C-A0F4-78655B89A747}', N'012123188', 480207, N'KAP690', NULL, N'12123188', NULL, N'csrp0309', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 25', N'', N'', N'THAT PART LOT 25 ON PLAN B1199 SECTION 16 TOWNSHIP 22 RANGE 11 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 690 EXCEPT: (1) PART PLAN ATTACHED TO DD 26884 (2) PART DESCRIBED IN DD 179383F (3) PLAN H698', N'0163', N'0006', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:21:53.000' AS DateTime), 973, 179, 0xBD0B000001040C000000A82C435C5D403641E802090AA68624417E1D38E75C403641A8EA73F5AF8624416EF90F49A240364138014D04598624413BF8C2A498403641081973575C8624411AB9FC078F403641E86D3400608624419E45B67385403641707FD9FD638624413270CEE87B403641F8847C506886244127C2866772403641C08F31F76C8624413D60E5F068403641384547F2718624419D01BC855F403641A0923A4177862441B6847C505E40364188AEB66291862441A82C435C5D403641E802090AA686244101000000020000000001000000FFFFFFFF0000000003, CAST(111545 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (112334, N'{9A561AD2-E1A4-4ABE-9872-046CF74204A3}', N'015494772', 490058, N'NEP942', NULL, N'15494772', NULL, N'7072120000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Block A', N'LOT 12', N'', N'BLOCK A SUBLOT 12 DISTRICT LOT 306 KOOTENAY DISTRICT PLAN 942', N'0163', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:11.000' AS DateTime), 16357, 593, 0xBD0B00000104780000003CCF6695EE27394138E6AE65D0D620414CBF7D1DF127394140E17A54D7D62041AC155C0CF2273941E8A07549D9D62041AEBBEAF6F227394120A88546DBD62041863018DDF327394128FA844BDDD620411B47D3BEF427394188024D58DFD6204142270B9CF52739412899B66CE1D620410E4FAF74F627394160029A88E3D62041EDA09EACF62739419801AC36E6D62041589A4F00F7273941E08F59D9E8D6204189D6336FF727394160C5266CEBD6204158A98EF8F727394170BCB2EAEDD620413060769BF82739417006BF50F0D62041A4CFD556F9273941E8E2369AF2D620418ABF1ACCF927394188395BF1F6D62041D8DEBF60FA273941F8C26039FBD62041103E4A14FB273941D80ABD6EFFD62041646025E6FB273941C00AF58D03D7204188B6A3D5FC273941900DA09307D72041482EFFE1FD273941007F6A7C0BD7204186C0CA81FF273941A0A3703DF1D620415F29CB5011283941A8FD6577D1D52041EEFDD438FC273941782F4C6650D520415DC3D3EBF327394120D26F9F1DD5204129D49AE6A627394130780B644ED52041907571FBA2273941A0ADD89F50D520414B9D80869C273941785F074E54D52041666666C69F27394160BF7D1D63D5204136F8C224A1273941203108EC6AD5204198540240A1273941A025E1416FD52041C78E1338A12739412866F39873D52041EACBFE0CA1273941B82DCAEC77D520417647F0BEA02739415009F4387CD520411426384EA02739411867077980D5204136234ABB9F273941F81DA7A884D52041363F36F8A0273941E095689A89D520418C1C9924A2273941A82D319C8ED5204159E63E40A3273941D0B923AD93D520413CABF64AA4273941287160CC98D52041A4659244A5273941D81205F99DD52041AD03E72CA6273941500E2D32A3D5204102780B04A727394198923A41B3D52041E66A2BF6A627394150E6AE65BBD520415E29CB30A6273941C8293AD2C3D52041AC9DEF07A727394118AE47E1D3D5204151A89EC2A727394108C7FD2CD6D520413AB3BA72A8273941689C9D85D8D520413CA50A18A9273941307264EADAD520414EE558B2A9273941B09B8B5ADDD52041066C7341AA27394108BC48D5DFD52041C0D32BC5AA2739416807CE59E2D520410E9C33E2AC27394158302A69E9D52041AE946528AF2739410055C1E8F8D520419292EA74AF273941F03A1A30FBD5204114DA15BAAF273941D8161C7BFDD52041C13EDCF7AF273941581568C9FFD52041F4C5332EB0273941B8DA9E1A02D6204166A8135DB02739413893606E04D620418E537484B027394130014DC406D62041D84B82EFB027394178606CD20AD6204183775582B12739417871E8CC0ED620410E480D3CB22739413884ABAD12D6204122B38D1BB3273941D03FC76E16D62041EFE4801FB427394130B47D0A1AD62041F54A5946B527394140234A7B1DD62041FABD9F41B627394110F20A681FD620411628B736B727394110B6196121D620417CFC7825B827394120FF266623D620415EADBF0DB92739411879E17625D62041F0B166EFB927394190FAF59227D620411A8C4ACABA27394188900FBA29D6204160B34B5ABB273941D0C561372CD62041AC62EAF4BB2739416020ADAA2ED620413FFDF999BC273941D8A13C1331D6204117E34A49BD27394118655E7033D62041C47EAA02BE273941F8D063C135D62041F253E3C5BE27394100CBA10538D620418210ABDABE273941803646BD3AD62041F0C38F0CBF27394180C6F96E3DD620410656375BBF273941D00DDF1540D62041FEBE13C6BF273941A8232CAD42D620413408644CC0273941F045333045D6204158A835EDC0273941B0506B9A47D620414106BC81C127394170528C164AD62041BEAD951BC22739416817988D4CD62041E07DB7BAC227394190F960FF4ED62041D6F3155FC327394108B5B96B51D62041DF2BA508C4273941F06975D253D6204113E258B7C427394128A1673356D620417C647436C6273941E0C65F1559D6204168D014B0C7273941C8D98E025CD62041FA232524C9273941082CCBFA5ED620416DAC9092CA2739413873EAFD61D62041660743FBCB273941E0C8C10B65D620410624285ECD273941E8AE252468D6204170B5155BCF273941C839234A6FD62041C2E3147DD1273941587DAE367FD62041B804C5F8D1273941784506C081D62041C0F8EF70D2273941888A014C84D62041D62592E5D227394148C18CDA86D62041FD0CA856D3273941404C946B89D62041A24A2EC4D3273941907904FF8BD620414E96212ED4273941E885C9948ED62041A8581D29D5273941403CFF7F90D620413B913728D6273941B00DA56292D62041248F5D2BD7273941009D973C94D620419A557C32D8273941A830B40D96D620414E9D803DD927394180B4D8D597D62041D2D5564CDA273941E8BCE39499D62041A022E711DB273941C8548C2C9BD62041C2ABF5DEDB273941F07620B59CD62041A4D338B3DC273941E033132E9ED620419C66648EDD2739418838DD969FD6204102B62970DE27394118FFFCEEA0D620419FB43758DF27394128FDF635A2D620414F499DA0E1273941506744E9A8D62041B6847C90E427394140014D84B8D62041DE718A8EE62739419067B3AABFD62041F085C9B4EB273941D0F97E2ACCD620413CCF6695EE27394138E6AE65D0D6204101000000020000000001000000FFFFFFFF0000000003, CAST(112334 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (113670, N'{2626579B-EE18-4EBB-9375-BFF1688865A5}', N'000017680', 645957, N'VIP1279', NULL, N'17680', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 31', N'Block 3', N'', N'LOT 31, BLOCK 3, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:49.000' AS DateTime), 383, 96, 0xBD0B000001040D00000011C7BAF8999D3041B0DCB5044ABC1C41911804D6AE9D3041A079C7294CBC1C4170B5151BAF9D30418022DBF923BC1C416588633D989D3041C0E4F29F21BC1C4126068135989D30411052B89E21BC1C417B711BCD8B9D3041A03D795820BC1C41F85C6DC58B9D304120AB3E5720BC1C410FC7BAF8889D304160DF4F0D20BC1C41C30E9CB3889D3041F0353C3D48BC1C41AB9BC4808D9D30419035CDBB48BC1C418FCB7F888D9D3041401136BC48BC1C416429CBF0999D304150DC46034ABC1C4111C7BAF8999D3041B0DCB5044ABC1C4101000000020000000001000000FFFFFFFF0000000003, CAST(113670 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (114045, N'{9DAB2E8B-2DD9-446B-BCBF-127332C6C39E}', N'014631903', 3191250, N'PRP923', 23917181, N'14631903', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'Block 20', N'Section 5', N'LOT 2 BLOCK 20 SECTION 5 DISTRICT LOT 251 RANGE 5 COAST DISTRICT PLAN 923', N'0113', N'0026', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-11-26T18:19:26.000' AS DateTime), 232, 76, 0xBD0B000001040500000032A91390DCF8254158378981CDD42F41E6D24D62D1F82541808A8E24C3D42F41F21FD22FA8F8254178E09C11F0D42F4133F6975DB3F8254170567D6EFAD42F4132A91390DCF8254158378981CDD42F4101000000020000000001000000FFFFFFFF0000000003, CAST(114045 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (114047, N'{A217E8E2-BCF0-4531-A877-3FE34F412021}', N'012648337', 296841, N'PRP1605', NULL, N'12648337', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot A', N'', N'', N'LOT A DISTRICT LOT 251 RANGE 5 COAST DISTRICT PLAN 1605 EXCEPT PLAN 6006', N'0113', N'0026', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-11-26T18:19:21.000' AS DateTime), 6831, 530, 0xBD0B00000104070000000634113611FF2541C837F8C2CFCE2F41004D84CD3DFE254118B072A879CF2F415A07CED96EFE2541B015FB8BA0CF2F41B4CFD51620FF25412818951412CF2F41742D211FAAFF2541E85F76CF32CF2F41D40968E2080026415011367C0ACF2F410634113611FF2541C837F8C2CFCE2F4101000000020000000001000000FFFFFFFF0000000003, CAST(114047 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (114377, N'{B2113EBA-62A5-4706-9F3E-B7D0E2503620}', N'008013926', 289684, N'KAP19502', NULL, N'8013926', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'THAT PART LOT 1 ON PLAN E13468 DISTRICT LOT 4176 LILLOOET DISTRICT PLAN 19502 NOW ROAD SEE N14421F', N'0163', N'0002', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2019-01-11T18:14:55.000' AS DateTime), 3684, 436, 0xBD0B00000104060000000222FDF6324A3441B0F1D28D44E72641CC5D4B28254A344108CFF793DEE826419375711B394A3441C8A370BDE1E82641D978E9E63D4A3441E0907EBB50E82641B41E854B444A344108B37BB2A0E726410222FDF6324A3441B0F1D28D44E7264101000000020000000001000000FFFFFFFF0000000003, CAST(114377 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (114465, N'{356F3195-7E31-4F2A-B2E3-F5FC05518126}', N'010564331', 485995, N'KAP4257', NULL, N'10564331', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 491 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 4257 EXCEPT: (1) PARCEL A ON PLAN B6718 (2) PLANS 6369 AND 9555', N'0163', N'0019', N'NO', N'ICF', 32, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:35:42.000' AS DateTime), 9200, 555, 0xBD0B000001040F0000002FDD24C626E536419033A2349EBC1C41811D384736E53641004D848DB4BC1C4168AA603445E53641B0DFBE0ECABC1C41DA12F28153E53641807AA5ACDEBC1C41C5FEB2DB69E53641208A1FE3FEBC1C41B2DA8A5D7DE5364180DBF9FE1ABD1C41AB4E40D394E53641305F07CE3CBD1C41A38026A29BE5364150764F9E46BD1C4190B96BA99CE53641C08785DA1DBD1C414A72F9AF9FE53641F085C9D4A5BC1C417836AB7EC4E43641E00C71AC6FBB1C41443EE8B9B5E4364130F5B95AFCBB1C419287853AEFE436418082E2C74EBC1C412597FF9019E53641907AA52C8BBC1C412FDD24C626E536419033A2349EBC1C4101000000020000000001000000FFFFFFFF0000000003, CAST(114465 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (114868, N'{F0218469-ECA9-4539-A0F2-0DDEE24426DC}', N'009499610', 863172, N'KAP11324', NULL, N'9499610', NULL, N'72400675080', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot A', N'', N'', N'LOT A DISTRICT LOT 512 KAMLOOPS DIVISION YALE DISTRICT PLAN 11324 EXCEPT PLAN 21615', N'0163', N'0028', N'NO', N'PMBC-OPERATIONS', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-01-15T14:35:09.000' AS DateTime), 90726, 1626, 0xBD0B0000010407000000F9A0679381F23541C8E00B93AAE82341240681158BF2354130C05B20A9E8234156C1A8A4C4F23541D8E00B937AE3234152158CAAF2F1354190779C625BE32341D3DEE04B4FF23541B047E13AB2E8234186FD651764F23541F8164810AFE82341F9A0679381F23541C8E00B93AAE8234101000000020000000001000000FFFFFFFF0000000003, CAST(114868 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (120063, N'{F1140D3E-F8AC-4367-A8BB-8B954F69656C}', N'005484022', 1473700, N'NWP67883', NULL, N'5484022', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-02T00:00:00.000' AS DateTime), N'Lot 114', N'Parcel ONE', N'', N'PARCEL "ONE" (REFERENCE PLAN 73155) OF PARCEL "114" DISTRICT LOTS 11, 25, AND 88 GROUP 1 NEW WESTMINSTER DISTRICT REFERENCE PLAN 67883', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:39:32.000' AS DateTime), 88979, 3063, 0xBD0B0000010472000000AB35CDFBCAAD3241B067B3EAC3E51C41DAA3707DD0AD324120EA95B2C3E51C415DFE43FAD5AD324100D34DE2C1E51C41D7F0F46ADBAD3241F0907E7BBEE51C410BF016C8E0AD3241C06E1283B9E51C4141575B71E1AD324120A7E8C8B8E51C41C2172693FAAD3241C0081B1EF9E51C41AD1C5AE402AE324110B684FC31E61C4121166A8D0BAE3241F0019A086AE61C4178711B8D14AE324170105839A1E61C41BA490CE21DAE32414094F686D7E61C417D9ECD8A27AE3241B08BDBE80CE71C41676FF08531AE3241703D0A5741E71C4190A0F8D13BAE324150F085C974E71C41C7C3426D46AE3241C034EF38A7E71C41CCA1455651AE3241B0E3149DD8E71C415ECC5D8B5CAE3241406900EF08E81C417E9ECD0A68AE32415054522738E81C4131772D2168AE32413025068138E81C41E6AE25848AAE324150F38ED3D4E81C4184B0E129EAAE3241B0FC87F42AEA1C412ACB10678FAF3241E0B0506B7AEC1C412A0F0B15FCAF324180635D5C30EE1C416207CE1913B0324140DE02091FEE1C414A50FCB837B03241800E2D3281ED1C412EFF21DD4BB0324170B81E052AED1C413BF8C24426B0324100917EFBA2EC1C41C7293A32C3AF3241506132D593EB1C41F73A702E64AF3241500D4FAF3FEA1C418DED7C3F35AF3241D061A1D697E91C41F30DBED034AF32414083C04A96E91C413E1361C334AF3241602CD41A96E91C4166666646F3AE3241A07FD9BDABE81C41ABE8486EACAE324180105839AEE71C415ACA328458AE324140D8F0F481E61C410F363C5D4CAE324120FF217D3EE61C4150F38E131EAE3241E0073D1B9DE51C41B2506BBA21AE3241F0B6627F8CE51C41B6DA8ABDFEAD3241202497FF12E51C41EC38454713AE3241A09CA223B6E41C41F25A425E11AE324120158CCAA7E41C41B41E852B11AE324160A7574AA6E41C4158423EA80BAE3241805EBAC97AE41C416F567DEE06AE3241103D9B5552E41C4115AE478106AE3241E02A87964EE41C41F60FE9B701AE3241105AD3BC21E41C4138234ABB00AE3241806891ED17E41C4179C7291AFDAD3241C0E61D27F1E31C41EFEBC0D9F9AD3241308716D9C9E31C41A53E57FBF6AD3241002A3A12A2E31C4191E4F27FF4AD324170F7E4E179E31C4100E78C68F2AD32414019735751E31C418E1804B6F0AD324180B7408228E31C413470CE68EFAD3241A0D71272FFE21C41C37493B8F0AD3241A0D556ECE3E21C41D49AE6DDF3AD3241F078E926A8E21C41F2384567F7AD3241707EFBBA6CE21C4172CE8852FBAD324170A757CA31E21C411071ACEBFEAD3241F0839E4D01E21C41CA54C18803AE3241305A643BC8E11C412ACB108708AE3241403108AC8FE11C41E29387E50DAE3241A079C7A957E11C41CDF753A313AE32412080483F20E11C41C87F48BF19AE3241F06A2B76E9E01C41F5065F3820AE3241803E7958B3E01C41B2FA5C0D27AE324180FB3AF07DE01C41A15E298B2EAE3241C0A59B4447E01C41E61DA7C810AE3241205AD33CDCDF1C4183C0CA61D8AD3241E0D100DED6E01C4138894120B3AD324140355E3A7CE11C41DCE995D2B5AD32412000000026E21C41CCE53FE4B6AD3241401058396AE21C4158A835CDB6AD324150A835CD97E21C413308AC1CB7AD3241B01A2F5DC5E21C41E3E995D2B7AD324150D122DBF2E21C41C0A8A4EEB8AD3241A0EB513820E31C4196BB9670BAAD3241F041CF664DE31C41F90FE957BCAD3241406210587AE31C41945CFEA3BEAD3241002428FEA6E31C419F3C2C54C1AD3241D0F0F44AD3E31C412CC28667C4AD3241F09F8930FFE31C412CFF21DDC7AD324190772DA12AE41C4167B3EAB3CBAD3241604DF38E55E41C41F31FD28FCEAD324190B662FF72E41C41FB75E0BCCEAD32418066666674E41C41E10B93A9D3AD32411003090AA3E41C419E3C2CF4D8AD32413070CE08D1E41C4157EC2F9BDEAD324120AB3E57FEE41C4134AB3EF7DEAD32419075711B01E51C41EC1648F0D6AD3241D0270F8B1EE51C41A9DFBEAECCAD324160E4F21F24E51C41D972D111C9AD32417035328F23E51C413191E27BC5AD3241304C8EB221E51C4187C85FF4C1AD3241808AE28D1EE51C4141C69882BEAD324130DFB1271AE51C413032B02DBBAD32415042198914E51C4153E68CFCB7AD324110D7BCBD0DE51C41D4A2CBF5B4AD324170CEAFD305E51C415B5BB11FB2AD3241403E57DBFCE41C410A5F986C41AD324150C5FE3275E31C41FA6C56BD2CAD324100E25817D1E31C41B2FA5CEDE6AC3241A00F7AB6E0E21C41E573B535E1AC324100000080FAE21C41DBCEF7D397AD3241C042AD6975E51C411648503C9CAD324150C1A8A483E51C419F8026E2A0AD324160E2C79890E51C415B5BB1BFA5AD3241207D3F359CE51C412FC4B1CEAAAD324100B1506BA6E51C41E41DA708B0AD3241007B142EAFE51C41DA78E966B5AD3241D0B27B72B6E51C4195779CE2BAAD324150C4B12EBCE51C41ED85C974C0AD32410088F45BC0E51C41CCA14516C6AD324150D8F0F4C2E51C41AB35CDFBCAAD3241B067B3EAC3E51C4101000000020000000001000000FFFFFFFF0000000003, CAST(120063 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (122435, N'{A12C7A9E-4A7B-4273-A803-7A53A2B89A18}', N'014925133', 3, N'NO_PLAN', NULL, N'14925133', NULL, N'760-043330.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'2831', NULL, NULL, N'DISTRICT LOT 2831 PEACE RIVER DISTRICT EXCEPT THE SOUTH 80 FEET', N'0163', N'0015', N'NO', N'MODIFIED-ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'0', N'2501495', CAST(N'2019-05-15T09:42:41.000' AS DateTime), CAST(N'2019-05-15T10:07:01.000' AS DateTime), 2500926, 11146, 0xBD0B0000010418000000E8E236FA4D3F3441DC19515A812134419CABAD9892443441B0605432CA21344168AA60B4804334411C363C9D9E1F344194779C229A423441B433A2548D1F34412DFF21DD14403441280F0B955C1F3441511E164A793F344144E17AD4501F344179F2B0F06C3F3441308B6CA7F01F3441E8E236FA4D3F3441DC19515A81213441F241CFA6A44334418416D94EA11F3441A167B3EA73453441844F1EF64E2334418E5CFE637C453441D89AE6DDDD2234416EA3011C7D453441F4DBD741D4223441C1E3147DB7453441F0FDD418C91F3441F241CFA6A44334418416D94EA11F3441326EA301A14434419C081B5EED2134415FA1D6944B3F3441BC59F559A0213441BFA8A40E3D3F3441E0B359555C22344130DD2466FD3E34410054E345942534416519E298CC403441A448BFFDB6253441986588631E423441F0718A4ED0253441A979C7492442344158643BBFD0253441E9482E5F3F4534416CAA60540C263441B12E6E036F45344134F8C26490233441326EA301A14434419C081B5EED2134410300000002000000000208000000020E00000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(122435 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (123000, N'{5C43BA32-850E-4BB3-A7D2-3E11F932DD4E}', N'001566512', 117903, N'VIP877', NULL, N'1566512', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 9', N'Block 11', NULL, N'THAT PART OF LOT 9, BLOCK 11, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:20:34.000' AS DateTime), CAST(N'2020-09-22T09:16:54.000' AS DateTime), 306, 71, 0xBD0B0000010405000000A8BDC1D73737324120D26F5F1D8E1741A5A44E4029373241C0E8482E2F8E17415BA8352D2F373241208E75F17B8E1741AC1C5AC43D37324150E5D0226A8E1741A8BDC1D73737324120D26F5F1D8E174101000000020000000001000000FFFFFFFF0000000003, CAST(123000 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (123386, N'{E3414B0F-B09A-4772-820A-28E2C70506C9}', N'001710940', 12869, N'VIP218D', 90000330, N'1710940', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'Block 63', NULL, N'LOT 4, BLOCK 63, SHAWNIGAN LAKE SUBURBAN LOTS, SHAWNIGAN DISTRICT, PLAN 218D', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T18:06:08.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 6615, 333, 0xBD0B000001040A000000F5A9F11222E2314150674469E6D518418A4160A524E2314180DC46836ED51841CF3B4EF127E23141504DF30E96D418412418955406E23141201B9E5E8AD41841CC19519AE4E13141704772797ED418419C67B32AE3E13141604013E173D51841150456AEE2E1314140643BDFEAD518419CEFA746E2E131419006F09614D618414B3789E120E23141B06722EC28D61841F5A9F11222E2314150674469E6D5184101000000020000000001000000FFFFFFFF0000000003, CAST(123386 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (125790, N'{BC31B837-9D7F-4385-B6E1-63D005908BDD}', N'011334720', 7306027, N'KAP1272A', NULL, N'11334720', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Parcel B', N'Lot 313', N'', N'PARCEL B (PLAN A1272) OF LOT 313 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 1790', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-03-25T14:57:17.000' AS DateTime), 7493, 328, 0xBD0B0000010414000000B0BFECBEDC6A3641A0C3D3AB12291D41976588E3EC6A3641507BF2B01E291D416007CE59FE6A3641A04E401353291D412CFF21FD126B3641B0FB3AF07D291D41C398BB36296B364110DB8AFD90291D41AEB6623F3E6B36416006F09677291D4187DB6860476B36417073D71253291D411A48505C496B3641A0A835CD29291D4166F7E4C1496B364170E4F21FE7281D411895D4C9456B3641808EE472A4281D4178711BAD3A6B364170DA1B7C53281D413E1361632C6B364160DC46831D281D41E2AE25C4156B364110B1E169F7271D41F55C6DA5FF6A3641A0E53F2408281D4135B2D24CFA6A364160A2BC8535281D41CC107AC3F46A364180DC558962281D41D17CCA09EF6A36419004C62B8F281D41DC7D2E20E96A36414099CE69BB281D4128171407E36A3641C0673840E7281D41B0BFECBEDC6A3641A0C3D3AB12291D4101000000020000000001000000FFFFFFFF0000000003, CAST(125790 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (125796, N'{00059711-2BD0-4A88-BDD2-DDC25376A09D}', N'013120573', 495823, N'NEP34X', NULL, N'13120573', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 12', N'', N'', N'THAT PART OF SUBLOT 12 INCLUDED IN REFERENCE PLAN 4665I DISTRICT LOT 4598 KOOTENAY DISTRICT PLAN X34 SHOWN GREEN ON PLAN 8744', N'0163', N'0004', N'NO', N'ICF', 3, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-03-26T14:39:11.000' AS DateTime), 19726, 957, 0xBD0B0000010422000000DA5F76AF26813841A03C2CD4D8D01E419206F09656813841E054302AEFD01E414182E247288138417074249777CD1E411A6C783A278138416095D48962CD1E417A93184426813841908CB96B4DCD1E4150CA326425813841105BD33C38CD1E4102917E9B24813841706D340023CD1E4190B96BE92381384190A145B60DCD1E41C2A8A44E23813841701B7C61F8CC1E411483C0CA2281384140257502E3CC1E4129ED0D5E22813841C075E09CCDCC1E413870CE0822813841707B832FB8CC1E412F5530CA21813841405B42BEA2CC1E41B637F8A221813841405EBA498DCC1E414EFC189321813841E0F21FD277CC1E4174C7299A218138417063EE5A62CC1E419EB437B821813841904160E54CCC1E419933A21422813841B0696F7037CC1E412238672422813841F01CC9E52CCC1E4160984C552281384100BC051217CC1E41B49DEF872281384120E8D9AC04CC1E4190A98291228138418036AB3E01CC1E41BCDA8ABD23813841A086A7579ECB1E41799CA2E3278138414054522740CA1E41521E166A098138417089B0613ACA1E41C4BAB82DFA80384100925C7E37CA1E41D5F0F4CAF780384120B29DEF00CB1E41164850DCF480384110DC6880F8CB1E4188FD6537F480384120ED0DBE2ECC1E4154C1A8E4F380384120E78CA88CCC1E41BE5B2001F580384140FF217DE9CC1E4167DE718AF78038418045B67344CD1E416EB5157BFB803841C08251C99CCD1E41DA5F76AF26813841A03C2CD4D8D01E4101000000020000000001000000FFFFFFFF0000000003, CAST(125796 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (127180, N'{7FCFC310-1581-4A23-B663-B2C89D062091}', N'001646389', 126053, N'VIP1227', NULL, N'1646389', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'', N'', N'THAT PART OF LOT 4, SECTION 48, SOOKE DISTRICT, PLAN 1227 SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 31255I', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:14:32.000' AS DateTime), CAST(N'2021-06-24T14:49:42.000' AS DateTime), 642, 176, 0xBD0B000001040E000000605DDC26CFDB314100B74082AC2817416E469496D1DB3141C0C2F5289F281741CAE53F84B5DB3141E0D6A370722817415312D01DB3DB314160318DD37F281741C5C06BBBB0DB3141206902428D281741D569165DAEDB314100F0EFBB9A2817414A80D302ACDB3141C0264241A82817410771A6ACA9DB3141405EE5D1B52817410CA3925AA7DB3141C0D5C56DC3281741605DDC26CFDB314100B74082AC281741AB0A46E59EDB31416074241717291741FF770B64B7DB31415060E5D03D291741C732C431C0DB3141E06A2B7604291741AB0A46E59EDB31416074241717291741020000000200000000020A00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(127180 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (127271, N'{13D5B980-414E-42CB-92D8-9001FA23F135}', N'002909421', 117903, N'VIP877', NULL, N'2909421', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'Block 8', N'', N'THAT PART OF LOT 2, BLOCK 8, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:33:14.000' AS DateTime), CAST(N'2021-06-29T16:46:32.000' AS DateTime), 395, 87, 0xBD0B00000104080000005F10583924393241304CA68A8B8D174138CD3BAE253932416038D6C5898D1741646FF0051D393241405D6D45198D1741A1923A6117393241E010C73A0C8D17415296210E0D39324190CBEEC9188D174178711B6D1239324180A52CC35D8D174148BF7D5D18393241E00968A26B8D17415F10583924393241304CA68A8B8D174101000000020000000001000000FFFFFFFF0000000003, CAST(127271 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (127273, N'{440FA66D-F007-4E72-9BC1-A7D96DD2E044}', N'009820612', 8838457, N'VIP2BL', NULL, N'9820612', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 33', N'', N'', N'THAT PART OF SECTION 33, VICTORIA DISTRICT BEING PART OF LAKE ROAD SHOWN OUTLINED IN RED ON PLAN 2 BL', N'0122', N'0005', N'NO', N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'COGO', N'0', N'52.44', CAST(N'2016-01-06T20:57:07.000' AS DateTime), CAST(N'2021-06-30T09:02:01.000' AS DateTime), 52, 35, 0xBD0B0000010405000000E402094A6C393241C0A7C6CBD48E1741A223B9FC6139324180CD3B4ECB8E174112BE30F961393241305E294BCB8E17419228ED6D69393241A01A2FDDFA8E1741E402094A6C393241C0A7C6CBD48E174101000000020000000001000000FFFFFFFF0000000003, CAST(127273 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (128195, N'{D4FF6C15-0006-4986-8FF5-3356D6841500}', N'011209348', 3, N'NO_PLAN', NULL, N'11209348', NULL, N'7098432000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART 7163', N'', N'', N'DISTRICT LOT 7163 KOOTENAY DISTRICT EXCEPT (1) PART INCLUDED IN PLAN RW 12 AND (2) PARTS INCLUDED IN PLANS 5647, 5701, 6422, 11926 AND 14528', N'0163', N'0004', N'NO', N'ICF', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', N'5717.7', CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-09-03T10:38:42.000' AS DateTime), 326455, 3563, 0xBD0B0000010431000000480378ABAF7E38410088F45B0ABC1E4160764F9E8E7E3841507C613276B91E416EB5153B817E3841C0DD028954B81E417B711BED7B7E3841A09DEFA7E1B71E41E0E00B936B7E3841A0EBC03947B81E417458A8555D7E3841204625F5EAB81E412EBB27CF6D7E38417091EDFC2CBA1E41D000DE82667E384190C0CAA163BA1E41480378ABAF7E38410088F45B0ABC1E41480378ABAF7E38410088F45B0ABC1E4109AC1C1ADF7E3841A0D6346F1CBD1E41C23099AAFD7E3841F01EF46CFBBD1E412C4CA66AFF7E3841C05CFEC306BE1E41646DC53E0C7F3841E03FA4DF59BE1E417736ABBE1D7F38419036AB3ECBBE1E417E7346942A7F3841C04160651EBF1E41B7FC87542C7F38416011A5BD29BF1E419C23B9FC4F7F384150363CBD10C01E4161984C75637F3841404A7B83E0BF1E4162FE437A447F3841A03E57DB13BF1E41460C02AB417F3841A0F1D24D01BF1E415E6DC5FE397F3841805BB1BFBFBE1E4190C2F5882C7F38419035CDBB4CBE1E4185F4DBD7267F384160E3A51B1CBE1E4159C1A8E41E7F384120D8F0F4F9BD1E41480378ABAF7E38410088F45B0ABC1E4172E7FB49357D3841401A2FDDF5BA1E41B21C5A04F87C38415031772D2EBB1E41E0A59B849E7C3841B07EFB3AEEBC1E41CD3B4E919B7C38418095430B54BD1E41107A36CB967C3841E015FBCBF8BD1E4174AC8B3B2B7C3841A0B12EEEC6BD1E41769CA2E3107C3841A0C729BAC0C11E41885AD39CAD7D384140FAEDEB94C21E41F8C264AA5B7E3841F0BCE314E8C21E41FB5C6D053B7F384150F38ED352C31E4139AB3ED7EF7E3841B04694763DBF1E418CFD6557EF7E384150DCB58436BF1E413A70CE08EF7E384140363C3D32BF1E41D0915CBEC47E384120C1A8A41EBE1E4101F77500C37E3841005F984C13BE1E417D9ECDCAB27E384130CCEEC990BD1E414EE17AF4237E3841908C28ED56BA1E412A90A098007E384180A2B4B778BA1E4193976EB2CC7D384100D044D856BA1E41624BC827BA7D3841B09F89B04ABA1E411A2653A5937D384170900FFA71BA1E418CE4F2FF487D3841504A7B837DBA1E4172E7FB49357D3841401A2FDDF5BA1E410300000002000000000209000000021A00000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(128195 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (129428, N'{21ADDCB6-2A85-4A3D-BC91-877D910C1D05}', N'015197051', 3, N'NO_PLAN', NULL, N'15197051', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART NE4', N'7180', N'', N'PARCEL A (PLAN 22323) OF THE NORTH EAST 1/4 OF DISTRICT LOT 7180 CARIBOO DISTRICT EXCEPT: PART ON PLAN BCP30093', N'0163', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2021-11-22T15:01:44.000' AS DateTime), 8396, 534, 0xBD0B000001040A0000006588631D528A35416809F9A0BF2A2C4105F016E8498A35419811A57DA62A2C41024D84ED628A3541680F7A76852A2C4129189554738A354140567DAEB72A2C412A068135D48A3541E08AFDA5372A2C41AB57CA32D88A3541D0A3703DDA292C41FA7E6A5C2B8A3541904C15CC7E2A2C417E51497D458A354100B8AF43F42A2C41F20DBE505A8A35419848BFBDD82A2C416588631D528A35416809F9A0BF2A2C4101000000020000000001000000FFFFFFFF0000000003, CAST(129428 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (129709, N'{59A095C8-5117-4CDC-9718-012B07523887}', N'011192216', 7795639, N'KAP126H', NULL, N'11192216', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1952-01-25T00:00:00.000' AS DateTime), NULL, NULL, NULL, N'LOT 459 ON PLAN H126 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 1949', N'0163', N'0022', NULL, N'PMBC-OPERATIONS', 10, N'LSA', N'UNKNOWN', N'0', N'1701', CAST(N'2020-10-27T14:26:52.000' AS DateTime), CAST(N'2021-12-08T09:10:03.000' AS DateTime), 1690, 589, 0xBD0B0000010411000000D61B7CC1C48236415093A982F0B81C4129491016BE8236417003FF83D4B81C410EB117D2B682364140C40101BBB81C41848A4E04AF823641805B6F2DA4B81C41458D88BCA68236419028933790B81C4138D8900B9E8236418080E8477FB81C41BEE20703958236419090C88071B81C418ABC3FB58B82364120BA24FE66B81C410FE6163582823641D0E24DD55FB81C417B0BD29578823641F03AC9145CB81C41D5F0F4EA6E823641A0CA32C45BB81C41E6D022FBA881364180D93DF97EB81C4150DA1B1CC7813641601A2F5D92B81C4191A0F8517E82364100CB10C771B81C412163EE5AA5823641B0F831E6A7B81C41BE172633C4823641B0CDAA4FF8B81C41D61B7CC1C48236415093A982F0B81C4101000000020000000001000000FFFFFFFF0000000003, CAST(129709 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (130531, N'{65102686-F37A-4BA2-B139-CF7AD656B1E4}', N'008263850', 117903, N'VIP877', NULL, N'8263850', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 25', N'Block 8', NULL, N'THAT PART OF LOT 25, BLOCK 8, SECTION 24, VICTORIA DISTRICT, PLAN 877 LYING WITHIN THE CANADIAN NORTHERN RAILWAY''S RIGHT OF WAY AS SHOWN ON PLAN 8 RW AND SHOWN IN RED ON PLAN ATTACHED TO 16820I', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'0', NULL, CAST(N'2022-01-26T11:13:15.000' AS DateTime), CAST(N'2022-01-26T11:14:23.000' AS DateTime), 167, 54, 0xBD0B000001040C000000F05A42DE42393241D0E53FA4D88C174147E17AD438393241B026C286E38C1741170456CE383932419096218EE38C1741F8065FD83D393241904469EF248D17411A8C4A8A4639324120AC1C5A1A8D1741648FC2F546393241B05CFEC3198D1741CDF9C32F4639324160A9CD010F8D17417C5C177345393241B03F2A35048D17415C88C5BF44393241F04D955EF98C17415EDED615443932415078907EEE8C1741354F53754339324160D59D95E38C1741F05A42DE42393241D0E53FA4D88C174101000000020000000001000000FFFFFFFF0000000003, CAST(130531 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (131052, N'{08A57BC6-8C79-4C54-A233-31FE1057B771}', N'001586246', 128454, N'VIP1425', NULL, N'1586246', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 12', N'Block 2', N'', N'LOT 12, BLOCK 2, SECTION 16, VICTORIA DISTRICT, PLAN 1425', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:51:43.000' AS DateTime), CAST(N'2019-01-05T10:21:48.000' AS DateTime), 563, 102, 0xBD0B0000010406000000293A920B242E324150C8073D3C991741AACFD536202E324110CE19D14599174171C5FE92072E32410068226C83991741828CB9AB0C2E324120355EBAC599174131D49A26292E3241E09387857E991741293A920B242E324150C8073D3C99174101000000020000000001000000FFFFFFFF0000000003, CAST(131052 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (131124, N'{008C9A1E-C7E1-4496-BF81-EE512E27DF35}', N'006040624', 18622, N'VIP5097', NULL, N'6040624', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 3', NULL, NULL, N'LOT 3, SECTION 18, RANGE 4, QUAMICHAN DISTRICT, PLAN 5097', N'0089', N'0007', N'NO', N'ICIS CADASTRE', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T17:42:32.000' AS DateTime), CAST(N'2021-02-16T16:38:20.000' AS DateTime), 3044, 223, 0xBD0B0000010407000000B0FA5C6D26CE3141A0E61D2794B6194185D2DE004ACE314150F606DF14B71941D61B7CA174CE314190FD65F757B6194173A3019C72CE314190C954C150B61941BD7D1DB861CE3141F0B6D18014B619419E3C2CD450CE3141D0361A40D8B51941B0FA5C6D26CE3141A0E61D2794B6194101000000020000000001000000FFFFFFFF0000000003, CAST(131124 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (131504, N'{77F29A8A-2C67-4F50-B6FB-603DCD235860}', N'008378053', 136659, N'VIP863', NULL, N'8378053', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 18', N'', N'', N'LOT 18, SECTION 7, VICTORIA DISTRICT, PLAN 863 INCLUDED IN PLAN 6 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:18:11.000' AS DateTime), CAST(N'2019-01-05T10:22:41.000' AS DateTime), 347, 90, 0xBD0B000001040E000000CE2B65991D3A324130F1634CFC7D17417B7AA50C1C3A324180226CF8FA7D17414A50FC98163A3241C0361AC0607E174186C954A1163A324120B37BF2607E1741887CD0D3193A32411071AC8B757E1741358941E01C3A3241C0DAF97E8A7E17412FDD24C61F3A32416039B4C89F7E1741903A01ED253A3241603EE8592B7E174173027095243A324160AD9F61237E1741B0412639233A324120F42F761B7E1741D9A72BD8213A3241E0CFC597137E174100FF8772203A324190B48DC60B7E17417A2B43081F3A324100CBB302047E1741CE2B65991D3A324130F1634CFC7D174101000000020000000001000000FFFFFFFF0000000003, CAST(131504 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (132001, N'{B71C5B81-5C7E-4D89-8CE1-DF04E66DE979}', N'024869571', 129313, N'VIP71459', NULL, N'24869571', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2000-10-17T00:00:00.000' AS DateTime), N'Lot 1', N'', N'', N'LOT 1 SECTION 11 RANGE 1E SOUTH SAANICH DISTRICT PLAN VIP71459', N'0016', N'0005', N'NO', N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:10:46.000' AS DateTime), CAST(N'2019-01-05T10:24:41.000' AS DateTime), 1184, 144, 0xBD0B0000010407000000A3EFA7A6C8243241601283C021541841FBA06753B6243241A0180456965418412C333313E8243241801D38679D54184121FDF615EB2432417028ED8D605418418F5374E4E5243241E01D16EA43541841833F357EE6243241D098BB1630541841A3EFA7A6C8243241601283C02154184101000000020000000001000000FFFFFFFF0000000003, CAST(132001 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (132180, N'{C8095371-1253-4E3B-A79E-39C923810DC9}', N'006273718', 248042, N'PGP27802', 90054479, N'6273718', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 9', N'', N'', N'LOT 9 DISTRICT LOT 6006 CARIBOO DISTRICT PLAN 27802', N'0163', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:17:48.000' AS DateTime), 19791, 693, 0xBD0B0000010405000000A267B38A76F1354110E561A1DCAB2B4129CB10A7F7F035410876E05CF6A92B41257502FAB6F03541709CA2E336AA2B41822F4C2636F13541886ABC341DAC2B41A267B38A76F1354110E561A1DCAB2B4101000000020000000001000000FFFFFFFF0000000003, CAST(132180 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (132738, N'{6A4ABAB8-1364-4F67-B4E7-5BCEC650B606}', N'002911019', 117903, N'VIP877', NULL, N'2911019', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'Block 10', N'', N'THAT PART OF LOT 5, BLOCK 10, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:45:54.000' AS DateTime), CAST(N'2019-01-05T10:53:47.000' AS DateTime), 306, 71, 0xBD0B000001040500000076E926F12B383241A03A01CD478D1741F553E30526383241F0263108FB8C174134CD3B6E1738324160CCEEC90C8D17415E1058591D38324110E0BE8E598D174176E926F12B383241A03A01CD478D174101000000020000000001000000FFFFFFFF0000000003, CAST(132738 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (133906, N'{4AD4C134-A33C-4AFE-8727-E59FB034A142}', N'014370077', 1077189, N'NWP16402', NULL, N'14370077', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot A', N'', N'', N'LOT A, EXCEPT PART ROAD ON PLAN LMP4186, SECTIONS 1 AND 12 TOWNSHIP 20 NEW WESTMINSTER DISTRICT PLAN 16402', N'0002', N'0009', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-01-31T18:43:28.000' AS DateTime), 15093, 648, 0xBD0B0000010405000000839ECDCAD797334100C7BAB863321C417AA52CA3A3973341001B2F5D522E1C41205A643B51973341D0DFBE8EA42E1C41B66B09B9BB97334140643B5F7F321C41839ECDCAD797334100C7BAB863321C4101000000020000000001000000FFFFFFFF0000000003, CAST(133906 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (134606, N'{6A7A1BB6-FD01-47F5-BF80-8C174B57CA3E}', N'011157071', 3, N'NO_PLAN', NULL, N'11157071', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART NE4', N'3', N'', N'THAT PART NORTH EAST 1/4 SECTION 3 LYING SOUTH OF PLAN 37177 TOWNSHIP 91 KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLAN KAP45255', N'0163', N'0028', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:11:09.000' AS DateTime), 46037, 1131, 0xBD0B000001040A000000D3CCCCAC65F73441200681951D95214192C2F5A832F8344170D712F2139621417CBE9F7A98F83441A0408222B4962141E3718A0EE9F83441208A1FE3189721411CB9FCE7F9F83441886ABCF42D972141048195A30BF9344188E09CD16F952141B4BFEC5E8CF83441A0F3FD1457952141A1F8316602F8344140EE5A423C9521419AD4098881F73441486B9AF722952141D3CCCCAC65F73441200681951D95214101000000020000000001000000FFFFFFFF0000000003, CAST(134606 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (136558, N'{D04124F8-B558-4CE4-B97A-EFB4175CDA79}', N'016475780', 3, N'NO_PLAN', NULL, N'16475780', NULL, N'70710124000', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART A', N'12832', N'', N'PARCEL A (REFERENCE PLAN 114081I) DISTRICT LOT 12832 KOOTENAY DISTRICT, EXCEPT PART INCLUDED IN PLAN 9207', N'0163', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-01-09T12:19:05.000' AS DateTime), 140981, 1506, 0xBD0B000001040A00000088D2DEE0633C394110780BE49A212141A089B081F03C3941C0923A41BF212141D4A370DD1D3D394120B8AF43081F2141BDCAA1E5E73C39414803784BFD1E21415227A0C9903C394108143FC6E31E2141CECCCC0C8E3B3941C8B5843CA21E2141B1FA5CCD743B3941B84E40D328202141FA285C2F613B3941184850FC572121416AB3EA933F3C3941C0361A809121214188D2DEE0633C394110780BE49A21214101000000020000000001000000FFFFFFFF0000000003, CAST(136558 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (136688, N'{444A8DC7-BC41-45C6-A5DA-9FA7FFA4799C}', N'015384390', 3, N'NO_PLAN', NULL, N'15384390', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'NW4', N'8074', N'', N'THE FRACTIONAL NORTH WEST 1/4 OF DISTRICT LOT 8074 CARIBOO DISTRICT EXCEPT PLANS A195 AND 18106', N'0163', N'0008', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2018-01-09T12:24:53.000' AS DateTime), 206668, 2093, 0xBD0B0000010407000000D166D5674E963441A89DEFE7818A2D413133339339933441D01E852B058A2D417636ABBE36933441C85B20014B8A2D41662BF6B72393344120F2418F208C2D41A089B0C152943441607B83AF518C2D41605DDCE63A963441007958A85E8C2D41D166D5674E963441A89DEFE7818A2D4101000000020000000001000000FFFFFFFF0000000003, CAST(136688 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (136762, N'{935305A7-C723-4320-AE12-8B2D04D1B582}', N'014825261', 3, N'NO_PLAN', NULL, N'14825261', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'A', N'719', N'', N'PARCEL A (DD 139510F AND PLAN B6542) OF DISTRICT LOT 719 SIMILKAMEEN DIVISION YALE DISTRICT', N'0163', N'0019', N'NO', N'ICF', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-01-09T12:27:19.000' AS DateTime), 76943, 1692, 0xBD0B000001040E0000007C9ECD6A53E13741C07BF23010F01C41C05B20E1EEE03741F0E904B47CEF1C411B0DE04D8AE03741809CA223EAEE1C41E82631885BE0374110B7D10019F11C418E3A01CD99E03741A0923A01DFF11C415227A009FBE1374120FBCB6E0EF31C41D63D791881E23741800B2428C8F11C41189E5E891CE23741E0482E7F35F11C415EFE43FAB7E13741201973D7A2F01C417C9ECD6A53E13741C07BF23010F01C41E6E236BAB0E13741B0263188C6F31C41457B83AFFBE0374190CFD5D626F31C41933A01CD63E13741C04EAF9483F41C41E6E236BAB0E13741B0263188C6F31C41020000000200000000020A00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(136762 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (137634, N'{E4627D98-C9F9-483C-BD92-BB599B162B6C}', N'012979244', 3, N'NO_PLAN', NULL, N'12979244', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'NE4', N'11', N'24,19', N'NORTHEAST 1/4 SECTION 11 TOWNSHIP 24 RANGE 19 WEST OF THE 5TH MERIDIAN KOOTENAY DISTRICT, EXCEPT PLANS 14357, NEP62561 AND NEP67043', N'0163', N'0006', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', N'490881', CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:28:32.000' AS DateTime), 489097, 3911, 0xBD0B000001042901000092CB7FE87E573941E8F44A199CC0254106F016085F573941F0DBD78194C02541562041B14D573941B896908F90C02541AC9BC4C05F573941A0F831A6A3C025418859851E6157394108CF7B6EA5C025413291427B625739415887DD39A7C025417482FAD66357394188D25408A9C025415B6EAB3165573941305FDFD9AAC025415497538B6657394128D67AAEACC025412641F1E367573941F0DC2486AEC02541FCE29AB36C57394120FEBCC7B2C02541627C8EAF71573941581AB325B6C02541F2E84DCD765739411897F098B8C025418BDE13027C573941F8FB4C1CBAC02541D799EA4281573941E8CE98ACBAC02541E4F0C28486573941904AA448BAC02541789B8BBC8B573941A8DB41F1B8C02541CA7F48DF90573941006744A9B6C025414A94F66695573941E80AB5A6B3C025410E022BE7A8573941B0CFD5D6A5C0254192CB7FE87E573941E8F44A199CC02541672BF617EB563941508D97EEF0C0254184C4FD96EB563941D829963BEEC025412E57720FEC563941404CE383EBC02541A8CC4881EC56394198FFBEC7E8C0254148AA76ECEC56394130B76907E6C025411712F250ED563941704A2443E3C025412EC4B1AEED56394160EC2F7BE0C02541D3411EDFEC563941B05D81F9DCC0254143B3D91CEC563941D890FC6BD9C02541F23C0F68EB56394188826BD3D5C025413405E7C0EA56394140A29A30D2C025413E2B8627EA563941E8A65884CEC02541E0BE0E9CE9563941E85F76CFCAC02541AB5E219AE9563941D0B0E6F5C6C025410547719CE9563941E8DA571CC3C02541B86CFEA2E9563941388ADC42BFC02541F2AFC8ADE9563941D86A8769BBC0254161DCCFBCE9563941C8276B90B7C0254124A913D0E9563941506B9AB7B3C025410B93A856E956394140E15F56B1C02541608AC5D3E856394110220AFDAEC025415C598B47E856394198D32FACACC0254154211DB2E7563941D87A6564AAC02541B451A013E756394188593D26A8C02541F29E3C6CE6563941484547F2A5C02541348E28EDE556394108B7A1BAA4C02541EE6D717BE5563941C832FA6EA3C0254160E1DF17E5563941F8E29911A2C02541DE9523C3E4563941E836E9A4A0C02541F80CD27DE4563941E8A26B2B9FC02541AE946548E4563941F02FBBA79DC025412CCBFE53E456394148848F3B9BC025417E306072E4563941E01CF0D198C02541BD246DA3E4563941A0E6226D96C02541A670F7E6E45639416044690F94C025413371BF3CE556394178EEFDBA91C02541925374A4E556394170D712728FC02541E03FF61BE6563941D0CEC3AD8BC0254186EA8E8BE656394170F0ABE587C025416AAA36F3E656394100B10D1A84C02541F261E652E756394158C32B4B80C02541A27F97AAE7563941E01249797CC0254166FE43FAE756394130C1A8A478C02541E7FBA911E2563941807AA52C77C02541825C0CB2E156394178445E407AC0254166D1D730E15639410072AD407DC025417081028FE0563941E049DB2780C0254186BCC0CDDF56394190F35FF082C0254118B082EEDE5639416000EE9485C02541F0A9F1F2DD563941E8847C1088C02541C08DC1CEDC563941C0EDE1458AC02541089A5792DB563941F8AB77448CC02541567B4340DA56394118B61B088EC02541FEC241DBD85639410828268D8FC02541523B3666D7563941D0D570D090C02541D6EA25E4D556394148D25DCF91C0254123D23058D456394178DBDC8792C0254162728BC5D2563941B8A06FF892C02541C828782FD156394140DC2C2093C02541DE6D4099CF563941B834C2FE92C02541AD052E06CE56394110E9749492C02541662F8479CC563941384121E291C02541A8E278F6CA563941F8C338E990C0254140282E80C9563941B03BBFAB8FC02541019CAB19C85639417887462C8EC02541C425D8C5C6563941D048E96D8CC02541D4F57387C5563941D07444748AC02541B6D11261C4563941A0D76F4388C0254115BD1655C3563941D898F5DF85C025417E09AB65C256394168D3C84E83C02541D4D7BF94C156394148543B9580C02541231406E4C0563941F893F2B87DC0254192F4EB54C0563941C003DCBF7AC0254176029AE8BF56394188C420B077C025412C7E8C79BC563941F016489071C02541DEB584DCB3563941F00FE9F77CC02541AE370D6DB2563941580896157FC025410FDA8616B1563941B0561D7181C0254142D989DBAF563941D898EC0584C02541380B79BEAE563941305802CF86C02541063F7DC1AD56394138BEF7C689C02541BB0C81E6AC563941500E0BE88CC025412A1E2D2FAC563941A0CF2A2C90C025413AF7E49CAB563941C091018D93C02541AA44C430AB5639418834020497C02541BEB59CEBAA563941009E748A9AC02541D665F4CDAA56394158BF82199EC025412ED804D8AA56394110D945AAA1C025417C88BA09AB56394148DCD335A5C025419C10B562AB563941C8D34CB5A8C02541B8E347E2AB5639412037E821ACC02541C29C7B87AC56394180140275AFC0254126DE0F51AD56394188F027A8B2C0254145BF7D3DAE563941084625B5B5C0254152840D0FC9563941D056EC2F0CC12541395294ADCA5639415857DD8810C12541BABC1E77CC563941E8BA389C14C125410433C468CE56394140A15C6318C125416AE05A7FD0563941183123D81BC125416DD27CB7D2563941C099ECF41EC1254134808D0DD5563941C03AA8B421C1254140ABBF7DD756394198E0DC1224C12541178F1B04DA563941B80DB00B26C125413456859CDC563941183FEC9B27C12541EFC9C342DF563941F82406C128C12541149C3342E5563941E00B93A929C125416C2BF637E55639415059863820C12541BAACA5E8E5563941E8C808091EC125414AE8AC92E6563941104F5AD11BC12541A593F335E75639411806CC9119C125415C5B62D2E75639410027B04A17C1254146E6E267E8563941A8FF59FC14C12541AFD85FF6E8563941A8E61DA712C12541AA40131AE95639412885F9F610C12541C83E2F44E9563941408625490FC12541E24AAA74E95639411835039E0DC125419F6B79ABE95639415841F3F50BC12541EA3890E8E956394148A855510AC12541D1DEE02BEA56394120A089B008C12541672BF617EB563941508D97EEF0C02541DE240661F2563941380AD7E3F2C025415C74C8A0F2563941A869FD84F7C0254122DE63DEF2563941D84F9826FCC02541FD2CD819F356394180BCA3C800C12541982D2553F3563941E0AE1B6B05C1254166AE4A8AF35639411826FC0D0AC12541CE7F48BFF3563941382041B10EC1254192B7A71EF3563941A0FA2D4110C12541DE5EB173F2563941F88A95BF11C125419D90DFBEF156394148B2662B13C125410C72B300F1563941C8979D8314C125418AD6B439F0563941806244C715C125416ADE716AEF563941C0EA73F516C12541C8E53FE4E856394108F016C829C12541662BF677F2563941A0ABAD182CC1254197AF7DF1F3563941289E850B2CC125413A2A0769F5563941D09BF1BC2BC12541366BBEDBF6563941682C892D2BC125418C8ED846F8563941A8DB605E2AC12541CE5E99A7F95639414026085129C12541A69B58FBFA563941D874860728C125417219873FFC5639419033578426C12541D6B0B371FD563941580865CA24C1254122F48F8FFE563941703404DD22C1254118A2F496FF563941F825ECBF20C12541D6CCE58500573941085030771EC1254148AD965A01573941B84D38071CC12541EE1B6D1302573941D062B77419C1254198A704AF02573941C86BA3C416C12541D644312C03573941184E2BFC13C12541A690018A0357394150F7AC2011C12541E0A1C0C703573941B005AB370EC125410266F7E4035739417826C2460BC125416129CB900257394160B7408291C02541DE7C9B6E02573941E0D14A6C8EC0254176ECED690257394140FF6E538BC02541B21EC982025739414861143C88C025417CBD09B90257394120F89F2A85C02541B4A8620C03573941E85F6E2382C025418A635D7C03573941309ECD2A7FC02541FCCBEE89EF56394128F6971D7AC025411D1925B8EF563941689B233E7CC025413848DCD5EF563941F00044637EC0254192AEF8E2EF563941F8E1F98A80C025411E176EDFEF563941489243B382C02541FCCD3FCBEF563941F0DA1EDA84C02541499D80A6EF563941C0DA8AFD86C02541A2C6918EEF563941488E8C8C89C02541D0C89665EF56394168022B188CC025419631AC2BEF563941C031A09E8EC02541675BFAE0EE563941C0AF291E91C02541A451B585EE56394108E2099593C0254107AC1C1AEE5639412837890196C02541781DFBEEED563941A845541798C0254166CB8CD8ED563941A8EB2E329AC0254151E0F3D6ED563941A866E44E9CC0254114CB32EAED563941D81F3D6A9EC025412B3B2C12EE56394128940381A0C02541664DA34EEE563941E0360990A2C02541A7E83B9FEE563941884A2B94A4C02541224A7B03EF56394188A7578AA6C02541A19A214BEF56394198659BBAA8C02541AB1D1A9FEF563941D811FCE3AAC02541A4BE3AFFEF563941B85A6405ADC025414851536BF056394130EEC21DAFC02541F7A92DE3F056394110010B2CB1C02541B9B88D66F1563941A0D6342FB3C02541068CEF2BF156394100222044B7C02541C996BFECF05639414891FA57BBC025412216FFA8F0563941E0ADAF6ABFC02541035EAF60F056394110082B7CC3C025415ED9D113F0563941C834588CC7C02541D60968C2EF563941D8D0229BCBC025418C501069F056394150656878CFC02541E2BE9227F1563941D8C64D44D3C0254149F97BFDF1563941887486FCD6C02541B8784AEAF256394198D7D19EDAC02541F2D86EEDF356394110A0FC28DEC02541842F4C06F55639413819E298E1C02541EEC6ADC7F456394138028F95E4C025417C9B9374F4563941D00B638AE7C02541E8523B0DF456394170C62C75EAC025416797F191F3563941C833C253EDC0254166DE1103F356394140640224F0C02541DE240661F2563941380AD7E3F2C025411161C3B39E57394120A08970D3C12541D48173A6B1573941D866D5E7D3C02541421CEB62B2573941A0DB68C0CAC02541C23099AA9C573941388B6CA7D9C0254155839D9F9657394158E8B516DEC02541955A1D689057394120431D6DE1C02541C67ED1108A573941C030CEA3E3C02541C6C8B3A683573941F80941B6E4C02541A494E4367D573941E02F44A2E4C02541E3E48FCE7657394178890068E3C02541516ED27A70573941982FF909E1C02541E2C29E486A573941A049068DDDC02541E8D2A2446457394180224BF8D8C02541BEFA2D7B5E573941708E2755D3C02541F8D117F85857394108BC24AFCCC02541A0EFA7C653573941F097DD13C5C02541F4EBC0F92A57394148559FAB88C02541DC4603F81B5739412083C04A85C025418616D90E1957394168226C7884C025415ED0E672185739410017152586C02541B6C5CFEC17573941E0095DEE87C02541FB6CE17D1757394190C9D2CF89C02541C0A42F27175739413804C9C48BC02541BE0592E91657394108E861C88DC02541BFCAA1C516573941003D9BD58FC025416B09F94018573941D073B55508C1254168CF3D4618573941484665590EC1254122EAC00A1857394180D0835814C12541783BEE8E17573941D01B31481AC125417F51A6D3165739412032A91D20C1254158CF3CDA15573941B0A457CE25C12541240576A414573941E0BCEA4F2BC12541ECBB8334135739412030669830C12541923A018D11573941703F359E35C12541627966B10F573941B82167783AC12541260B26A40D5739412079D6FF3EC1254195C4D5680B5739414843992C43C1254177F75B0309573941B0EF63F746C125416CA2E87706573941D01E96594AC12541841FEECA03573941F836464D4DC12541305F19010157394100B94BCD4FC12541ADBC491FFE563941504348D551C125414C7A882AFB563941A834AF6153C12541D0F4FF27F856394170DFCB6F54C125416E9CF21CF5563941A044C6FD54C1254131C4B10EF2563941384CA60A55C125411471AC2BDD563941F89908DB50C12541FBEA7FDCD756394178F677CE4EC12541E086A4ADD256394170F38DB94BC12541EF55ECABCD56394108FFE9A347C12541BCC2B9E3C8563941D08EA69742C125411AEFE060C4563941502240A13CC12541E4718A2EC0563941D85F76CF35C12541E024AB96BE56394158749ACA32C1254118375513BD563941A861949C2FC12541F23192A5BB563941E03392472CC1254170D45C4EBA56394138B3DCCD28C12541C667A00EB956394198CED53125C12541841D38E7B756394110FDF67521C12541C0D32B458A563941482EFFA190C02541930F7A765B56394108917EBBBEC22541D222DB3993553941E81FD2AF8CC225419A438B4C5B55394190C2F568F6C525410C143F4678583941C8923AC1D1C625414672F96FAE583941F063CC1DAEC32541C8293AD2C958394130BB27CF17C22541507424D75F583941207C6172FFC125411D5A64DB50583941100000C0FBC125414E840D4F4358394128F697DDF8C1254128E4833E2F58394190613255F4C125411161C3B39E57394120A08970D3C125410400000002000000000215000000028D00000002E200000005000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003000000000300000003, CAST(137634 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (138397, N'{B9A1F236-2CF1-42E1-B2D8-0B0631D4A2F0}', N'015466698', 469593, N'NEP2185', NULL, N'15466698', NULL, N'7865197000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 6', N'', N'', N'THAT PART OF LOT 6 DISTRICT LOT 4595 KOOTENAY DISTRICT PLAN 2185, LYING WEST OF THE PUBLIC ROAD SHOWN OF THE SAID PLAN', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:37.000' AS DateTime), 27076, 735, 0xBD0B000001040800000070C5FEB291C23941201AC05B58221F4138014D24A7C33941E09B33A2EB221F416AD5E70AA8C33941F02D90A0AE221F41F10DBEF0A5C33941A0613255D5211F41E2E2361A8EC3394120EB73B548211F4104DE0229CAC239411055302AE2201F410AF9A0279DC2394160E4F29FCA201F4170C5FEB291C23941201AC05B58221F4101000000020000000001000000FFFFFFFF0000000003, CAST(138397 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (140928, N'{1093F163-D92A-4BD4-B274-5EAF6AF1B425}', N'006732186', 1081578, N'KAP22893', NULL, N'6732186', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot A', N'', N'', N'LOT A DISTRICT LOT 5073 LILLOOET DISTRICT PLAN 22893 EXCEPT PLAN 34217', N'0163', N'0025', N'NO', N'ICIS CADASTRE', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2018-12-14T18:17:23.000' AS DateTime), 135056, 1649, 0xBD0B000001042D000000388941002BD3334150006F81EA222441E4B5847C24D3334130E17A54F1222441FEE68C081ED33341A09BC460F8222441708A8EA417D33341781D38A7FF2224412A97FF5011D33341802F4C260723244173567D0E0BD33341D09AE6DD0E232441A01A2FDD04D3334160DF4FCD162324415F7FD9BDFED23341A87CD0F31E232441D544D8B0F8D2334158847C5027232441C68F31B7F2D23341886588E32F23244148696FD0ECD2334110431CAB3823244128F697FDE6D23341785452A74123244194F6063FE1D23341E84F8DD74A23244149D8F094DBD23341F010C73A54232441DC2D9000D6D23341D84D62D05D23244116AE4781D0D2334128E25897672324419EB43718CBD2334148840D8F71232441C2CAA1C5C5D23341583480B77B2324411851DA7BC5D23341F82631487C2324413DF1634CB8D2334150E5D0E22D25244158204151B8D23341D0F753E32D2524411DA7E808BED2334188E2C7982E25244132D49AA6D3D2334178006F41312524412A0681756AD33341882D21DF432524417F2F4CE635D433418895434B5D252441477B832F55D43341D8A6E8487021244120FDF63555D43341A813D0846F212441A54E40F356D4334190F831A637212441611058F956D43341F863CCDD362124414D6B9A5757D43341A0EFA7062B212441D9A3709D47D4334130696FB0572124417E95434B1CD43341E05817B7D2212441894583670FD43341181E2904F4212441C3C7A01101D43341B0D1DEDC122224419A066167F1D33341F8122A012F2224412FBA4B89E0D3334138619A3648222441E6DA679ACED33341E877D6485E22244192E4F2BFBBD33341F002090A71222441FD088A5FB5D3334120A167737622244128C286674CD33341889A77DCCB2224413CAD699E45D3334140EF3885D122244183B740E23ED3334190F97E6AD722244169BC743338D33341E015FB8BDD2224411B7C619231D33341486744E9E3222441388941002BD3334150006F81EA22244101000000020000000001000000FFFFFFFF0000000003, CAST(140928 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (141620, N'{4FCFFDD1-014A-4114-BB9D-31A7AB879BBB}', N'024741949', 486737, N'NEP66430', NULL, N'24741949', NULL, N'01410.100', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2000-03-31T00:00:00.000' AS DateTime), N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 7173 KOOTENAY DISTRICT PLAN NEP66430', N'0015', N'0004', N'NO', N'ICF', 3, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:20:37.000' AS DateTime), 11790, 409, 0xBD0B000001043200000030DD2446FE81384130068195A8391F41732983F501823841D02C80D0A4391F4196853C8C05823841C037F8C59F391F41A1684F03098238414087C07F99391F412013F8530C82384100C5180A92391F4121C4BD770F82384160FA907389391F415C5B7F6812823841F01FEDCC7F391F4176507F20158238410067042975391F41EEE76E9A17823841F06E9C9C69391F418B8F78D11982384100B8403E5D391F41504E49C11B823841D0A1162650391F41B73519661D823841A046AE6D42391F41FFC2B2BC1E823841E095D02F34391F41472379C21F823841D0044B8825391F41C84C6D75208238412051B99316391F4102E531D420823841309D4D6F07391F4154EA0DDE20823841A0799738F8381F415A1DEE922082384140284A0DE9381F41662665F31F823841A0A8020BDA381F415C77AA001F82384100E20D4FCB381F4180EB97BC1D823841E0732FF6BC381F41862AA6291C823841408D691CAF381F4167D5E74A1A823841F03EC6DCA1381F416E810485E3813841608104C5ED371F41160135C3E1813841B0B8F897E8371F4180BB3CE6DF813841507FC70CE4371F414EF2BCF1DD813841F0054B2CE0371F4192BE84E9DB81384140E910FEDC371F41ECA489D1D9813841907A4B88DA371F41E8DEDFADD7813841B0ADC5CFD8371F41B068B282D5813841B0C2D9D7D7371F414BE23A54D381384110BC6AA2D7371F414654B926D1813841C0B4E02FD8371F41F9E76BFECE8138412012287FD9371F4160A386DFCC813841E09FB38DDB371F41D4382BCECA81384140868157DE371F4148FA60CEC8813841201A23D7E1371F411D000DE4C68138414071C705E6371F417B92EA12C5813841C0A948DBEA371F4123E4835EC3813841A0CD3B4EF0371F41C0EC9E7CB581384190E848AE20381F4142355E3A8A813841A0FF90FE1E391F415A302A49A2813841401E166A6A391F4143FAED0BAA813841B045B67375391F41A8B9EFB1B7813841F0136B1986391F418F48F38FC58138415068C98B93391F415D50F999D3813841E00C2FBF9D391F410667DCC3E181384140B9C8AAA4391F4164915B01F081384100B69948A8391F4130DD2446FE81384130068195A8391F4101000000020000000001000000FFFFFFFF0000000003, CAST(141620 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (142504, N'{BDDF00BE-8ACD-4F09-9657-8B676DAE48E6}', N'002518911', 1183231, N'NWP60467', NULL, N'2518911', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2013-04-15T00:00:00.000' AS DateTime), N'REM Lot 121', N'', N'', N'LOT 121 DISTRICT LOT 16 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 60467 EXCEPT PLAN EPP26120', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:36:58.000' AS DateTime), 3663, 294, 0xBD0B0000010408000000DE02096A76AE324170F4DB5755701C410B560E6DA5AE324100575B31E0701C4153A60AE6E5AE3241C07A142ED86F1C41B91E854BCAAE3241506DC5FEB46F1C41EFF44A39C2AE3241B0D71272AA6F1C410D61C3739FAE3241D045B6F337701C414F27A0A989AE324100651962FA6F1C41DE02096A76AE324170F4DB5755701C4101000000020000000001000000FFFFFFFF0000000003, CAST(142504 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (143910, N'{4E6F8540-5873-45D4-8C44-6381FE2F34AB}', N'011958219', 1181286, N'NWP2020', NULL, N'11958219', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2015-07-06T00:00:00.000' AS DateTime), N'REM Lot 34', N'', N'', N'LOT 34 DISTRICT L0T 308 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 2020 EXCEPT: THE WEST 2.862 CHAINS; PARCEL "F" PLAN 44441; AND PLANS 29755 AND BCP40460', N'0066', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T10:00:51.000' AS DateTime), 2381, 205, 0xBD0B00000104060000007E04C50F5CFF324100560E2D06251C41F7DBD7816CFF324130A9135007251C41E7E236BA91FF3241408CB96B96241C41364ED11192FF3241C0D16F5F6A241C415E6DC53E5EFF324140F8C264ED231C417E04C50F5CFF324100560E2D06251C4101000000020000000001000000FFFFFFFF0000000003, CAST(143910 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (146691, N'{100D55C8-ED6C-43C8-BC31-D24674CF5A43}', N'013656872', 1476193, N'NWP2151', NULL, N'13656872', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-24T00:00:00.000' AS DateTime), N'REM Lot 11', N'', N'', N'LOT 11, EXCEPT; PART ON SRW PLAN 26541 DISTRICT LOT 79 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 2151', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T13:20:27.000' AS DateTime), 64, 40, 0xBD0B0000010404000000A59BC4C0CEA032418096210E81F61C4123C9E55FD8A03241E0BD301949F61C41DBF97E6ACFA0324120772DA147F61C41A59BC4C0CEA032418096210E81F61C4101000000020000000001000000FFFFFFFF0000000003, CAST(146691 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (146956, N'{08927D5B-9BC1-4303-935A-03975D213485}', N'010342257', 849020, N'KAP5269', NULL, N'10342257', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 31', N'', N'', N'THAT PART OF LOT 31 SHOWN ON PLAN H12945; SECTION 10 TOWNSHIP 52 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 5269', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:31.000' AS DateTime), 5274, 800, 0xBD0B00000104070000005AD3BCA36237364120DBF97E65701D41818CB94B4D373641D0A7C64BFA701D4135014D0459373641D0D6A3F023711D41F4EBC09967373641F0058115BC701D41E51DA7A86B38364150A9135029741D41FD21FD7674383641B0F3FD54FF731D415AD3BCA36237364120DBF97E65701D4101000000020000000001000000FFFFFFFF0000000003, CAST(146956 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (147158, N'{E47BBB06-F71F-4028-ACB3-238C3D4BF8BF}', N'016700961', 859001, N'KAP44059', NULL, N'16700961', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot C', N'', N'', N'LOT C DISTRICT LOT 2710 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 44059', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:31:37.000' AS DateTime), 5778, 369, 0xBD0B0000010409000000AC25E443DD66364120EBE2B6687B1E4110D044181A673641501058B96A7A1E4166D5E7EA48673641F0C5FE32BF791E4199DD93873E67364190B7400263791E41129C33E2E466364180B1BF6CE9791E41E2E995B2E066364120B9FC07BC7A1E419EA22379E0663641F0A98251C77A1E411A1DC9A5DD663641C06B0979557B1E41AC25E443DD66364120EBE2B6687B1E4101000000020000000001000000FFFFFFFF0000000003, CAST(147158 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (148497, N'{2AB94820-0BB1-41FA-8D90-E069CBBEA012}', N'003719090', 8526, N'VIP19232', NULL, N'3719090', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 3', N'', N'', N'LOT 3, SECTION 16, RANGE 8, CRANBERRY DISTRICT, PLAN 19232, EXCEPT PART , IN PLAN VIP62063', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2019-04-04T15:44:24.000' AS DateTime), 5885, 321, 0xBD0B0000010407000000A74E40F38FA03141B01A2F5DC2EF1B418F87855AADA0314140E4831EF9F01B415F8FC255BFA03141907EFB3A12F11B4124A08950EFA031410083514917F11B41EEB0508BD9A0314150FD65F730F01B41306EA321C8A031411037894176EF1B41A74E40F38FA03141B01A2F5DC2EF1B4101000000020000000001000000FFFFFFFF0000000003, CAST(148497 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (151176, N'{F084A906-5E81-4B59-9161-B5D663B8E595}', N'016750462', 299180, N'PRP948', NULL, N'16750462', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 17', N'Block 2', N'', N'LOT 17 BLOCK 2 DISTRICT LOT 3 QUEEN CHARLOTTE DISTRICT PLAN 948 EXCEPT PLAN 6937', N'0116', N'0026', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2020-02-08T21:10:38.000' AS DateTime), 34, 53, 0xBD0B0000010405000000FA3A700EA04F224150D3BCA335752C41A0999959A54F2241D8CEF71367752C413C94F6C6AA4F22418039B48866752C412C674429A54F2241A8559FEB4C752C41FA3A700EA04F224150D3BCA335752C4101000000020000000001000000FFFFFFFF0000000003, CAST(151176 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (151902, N'{65BE1F2E-C192-422E-9DDE-7AFF9E1CF164}', N'012759813', 868179, N'KAP55', NULL, N'12759813', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot B', N'Block 19', NULL, N'PARCEL B (DD 129907F AND PLAN B6144) OF LOT 18 BLOCK 19 DISTRICT LOT 706 YALE(FORMERLY OSOYOOS) DIVISION YALE DISTRICT PLAN 55 EXCEPT:(1) PART EAST OF PLAN H831(2) PLAN H831', N'0114', N'0022', N'NO', N'MODIFIED-ICIS', 1, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-02-24T13:11:00.000' AS DateTime), 98, 42, 0xBD0B0000010407000000E2718A4EDA55354170A91350F5131F41B1D85FF6D9553541C03C2CD4ED131F417CF2B070D0553541D0550E2D14141F41E2B5845CD7553541A04F1E962F141F4158F5B9BADB553541601895541E141F41D8096862DB553541B0F1D2CD0E141F41E2718A4EDA55354170A91350F5131F4101000000020000000001000000FFFFFFFF0000000003, CAST(151902 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (151952, N'{6EAAD211-E8EA-4C1A-AB48-F159B38CC94D}', N'010315195', 3, N'NO_PLAN', NULL, N'10315195', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, NULL, NULL, NULL, N'THAT PART OF THE COWICHAN INDIAN RESERVE #1, COWICHAN AND QUAMICHAN DISTRICTS SHOWN ON PLAN 157 RW EXCEPT PARTS IN SECTION 11 RANGES 7 AND 8, QUAMICHAN DISTRICT AND SECTIONS 11 AND 12, RANGE 1, COWICHAN DISTRICT.', N'0163', N'0007', N'NO', N'MODIFIED-NRCAN', 15, N'DATACOMPILATION', N'UNKNOWN', N'0', N'49928', CAST(N'2019-01-30T14:54:26.000' AS DateTime), CAST(N'2021-03-08T17:48:15.000' AS DateTime), 49938, 3464, 0xBD0B0000010433000000344CA66AF4D2314190703D8AD3901941394547D218D33141B0A98251219119415EFE43BA3FD43141606B9AF72B901941F4C2642A41D4314120D7A370AE8F194141355EBAEFD23141B0A8A44EC8901941ABADD8DFF0D23141205E4B48CB9019411895D409F2D2314170E6AE25CE9019412D992A38F3D2314130D49AE6D0901941344CA66AF4D2314190703D8AD3901941595227E0EAD2314180A7574A1A9119417003943EE7D2314170E0400212911941233D2FBBE3D23141D09633F3089119417AACA158E0D2314110E40A24FF901941BC237B19DDD23141C043339CF49019411EAA3000DAD2314190F8A463E9901941BF9F1A0FD7D231410001DE82DD901941D85F762FBBD2314120D9CE77F5901941DDA788569FD23141E0A647AA0A911941E93DD32583D23141C0879C93169119410B72CACE66D23141F006E81E199119416CD025834AD23141C091B347129119416EE988742ED23141F04EFF1902911941A23C2CD412D23141900E2DB2E890194133211F74C2CE31416060E5D0878D1941656BC908ACCE3141B07C23316F8D1941F68B531396CE314190826AA4508D194167DFC4AC80CE314120888C4D2C8D194192E081ED6BCE31414000F555028D19412C5B30ED57CE3141007F79EDD28C194194779CC244CE3141D039234A9E8C1941B3D85F3639CE314160CC5D4B7D8C19413FAD691E2DCE314150C9E5BF5A8C1941146A4D1317CE3141D05D4BC81B8C1941A2D6342FDFCD314170855AD3118C1941088195632BCE3141D0263188EB8C1941215A64FB32CE3141F0A2923A018D194178ADF5B747CE3141E0F264103A8D1941A4B60C5A5DCE314110D41A466D8D19415F5948C973CE3141C061FEA19A8D1941284A60EC8ACE314160ADF1F0C18D1941348C41A9A2CE3141E057A806E38D1941BFD32BE5BACE3141607FD9BDFD8D1941894160450BD23141B09B559F5E9119410A81CD3229D2314140D00A017A9119414D156D9647D2314190EADF718B9119415C84813B66D23141B03A90D392911941F2BADBEC84D2314150374C199091194129593775A3D23141A0B5CF47839119417B24979FC1D23141F0B359756C9119419A559F6BFAD2314110E561A13B911941595227E0EAD2314180A7574A1A911941020000000200000000020900000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(151952 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (152122, N'{23547721-743F-4C89-BB96-A2147158BE21}', N'000422011', 18630, N'VIP36725', 90056212, N'422011', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', NULL, NULL, N'LOT 1, BLOCK 488, COWICHAN LAKE DISTRICT, PLAN 36725', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 9, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', N'38228', CAST(N'2015-11-24T16:36:22.000' AS DateTime), CAST(N'2021-03-30T10:55:13.000' AS DateTime), 38142, 898, 0xBD0B000001040E000000E42631C819663141B075711B6E031A414F6B9AD7236631414058A8B5BB031A41617FD99D42663141607CD0B37C031A41E4D9ACDA046731418036ABBEF5011A41BCDA8A5D06673141202EFF21EB011A4160EE5A22016731411052B81EDB001A41FB31E68EF96631413060E55051FF1941411361A3F8663141F0285C0F27FF1941DCE99512F7663141C0073D1BFDFE19414AB6F3DDF46631415008AC9CD3FE19419ADD9307F2663141F0C798BBAAFE19419D89B0E1F0663141C0F753639BFE194101D5780901663141F0EA73B5BC021A41E42631C819663141B075711B6E031A4101000000020000000001000000FFFFFFFF0000000003, CAST(152122 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (152472, N'{DAB49EC9-7676-45D0-9D93-1E44A0DC1F47}', N'001712284', 3, N'NO_PLAN', NULL, N'1712284', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1985-04-24T00:00:00.000' AS DateTime), N'PART 15', N'', N'', N'THAT PART OF LOT 15, HELMCKEN DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 30952I AND CONTAINING 7.37 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 15, N'DATACOMPILATION', N'UNKNOWN', N'0', N'30433', CAST(N'2017-10-16T13:56:01.000' AS DateTime), CAST(N'2021-05-18T14:32:43.000' AS DateTime), 32246, 2032, 0xBD0B0000010497000000DD5817775ADC3141C00E9CB39AD91841851F630E60DC314100E561A19BD918414B9D80A665DC314150C3D32B9CD9184121DBF93E6BDC3141C0F21F529CD9184185FD65D770DC3141802A18159CD91841F5285C6F76DC314100211F749BD91841F94A59067CDC3141F0B19D6F9AD91841DDBE0E9C81DC3141604BC80799D91841EC1FD22F87DC3141507F6A3C97D9184166006FC18CDC3141004D840D95D9184149696F5092DC314170DA1B7C92D91841371136DC97DC314100705F878FD91841016F81649DDC3141C056EC2F8CD91841B28BDBE8A2DC3141F0D85F7688D918413D70CE68A8DC31412087855A84D918413E0AD7E3ADDC3141F0ACFADC7FD918417ED0B359B3DC314160B6F3FD7AD9184187B0E1C9B8DC3141307FD9BD75D918414BEA0434BEDC31418076E01C70D91841FE187397C3DC3141E0BE0E1C6AD91841BD0512F4C8DC314170EC2FBB63D91841A7825149CEDC314180B515FB5CD9184136B4C896D3DC314100D191DC55D9184173A301DCD8DC314180D26F5F4ED91841C4BAB80DDBDC31414083C0CA4BD9184121DBF9DEE3DC3141401136BC40D918418C06F01694DD3141503480B758D818418F1804F695DD314100FCA971D8D71841233867A4C0DC3141A0ACFA5CD1D81841E1746DF8BADC314140381678D8D81841B8C7C147B5DC314180EC1C56DFD818413F4D8D92AFDC3141802BDDF6E5D81841CE42F9D8A9DC31418012275AECD8184164052F1BA4DC3141907ACC7FF2D81841611058599EDC314140F9A067F8D818410AB95D318EDC3141008B63A906D9184174600EDA7DDC31417048000311D91841600B84626DDC3141408CE66A17D91841BE87F6D95CDC314180D02ADB19D918415A5CAD4F4CDC3141502B8C5118D91841FAA9F1D23BDC3141D05F76CF12D91841B39B68EB35DC31411018CD0710D91841EC67D30530DC314140ECA8000DD9184125B65C222ADC314190C41FBA09D91841941E2F4124DC31415052493406D91841DB2875621EDC3141A0103F6F02D91841FA4A598618DC314110431C6BFED81841B54082620DDC3141004D848DF6D8184115C6651605DC314140ADE2FFF0D8184131F106C4FCDB3141C0A8F710ECD81841617C236CF4DB314100B933C1E7D81841B89F790FECDB3141D028F910E4D818412400C8AEE3DB314100129C00E1D818417E9ECD4ADBDB3141004E6290DED81841FEFC7717CDDB3141B03A849CDCD81841FEC045E3BEDB3141A0854F1FDED8184153D3B7BBB0DB3141E0745417E3D81841051843AEA2DB314100BDD97FEBD818416AA343C894DB314150F8E050F7D818418F06F01687DB3141C0482E7F06D918414A5017147FDB3141507140B710D918412C6DC91D77DB314110A7B8871BD91841FF8ABB346FDB3141D0D5A0EF26D9184102AAA15967DB31417073F5ED32D91841F38C2E8D5FDB31417095A5813FD918412BA913D057DB3141000C93A94CD91841816ABC3421DB314110AAF152ADD918417EAEB6C2FADA31419011A5BDF0D9184152DA1B9CEEDA3141A033A23408DA184175778B60E9DA314110A7F95911DA1841773E3230E4DA3141C0666AE31ADA1841ACD9870BDFDA3141E08118D024DA1841FCE502F3D9DA314180171F1F2FDA18412EE818E7D4DA3141606A90CF39DA184156423EE8CFDA314100F775E044DA1841335330AFCEDA3141503249A947DA184162ED3777CDDA314120F7AC794ADA18419BFD5740CCDA3141F0849A514DDA1841EE6D930ACBDA314150080B3150DA1841C125EDD5C9DA3141F09CF71753DA1841DC0968A2C8DA3141004B590656DA18417C832FACBEDA3141208B6CE76FDA18417268910DB5DA314180CA32C48BDA18410A560ECDABDA31410095D489A9DA184174F2B0F0A2DA3141202FDD24C9DA1841F25A427E9ADA314190499D80EADA18419175717B92DA31419026C2860DDB184120166AED8ADA3141102E902032DB1841B640820284DA3141808A8E6456DB1841C0E3147D7DDA3141303B70CE7BDB18415552276077DA3141903A014DA2DB1841DDA59B2476DA3141308E7571A9DB18415E07CE1975DA314180711B0DB1DB1841A813D0E46EDA314110A8C64BD9DB184105C58F116CDA3141C051499DEBDB1841AE8BDB883ADA3141908251C92CDD18418E87859A2BDA3141C0711B8D85DD1841F5EDEB404EDA3141E04FFC188CDD18417AF2B0D084DA314100840D4F29DC1841CBB12E6E89DA314100FCA9710FDC1841FA065F1890DA3141D0D022DBEADB184176A52C2393DA3141A050FC98DADB1841E0361A4096DA3141B0BAB88DCADB1841D568006F99DA3141C010C7BABADB1841DB5F76AF9CDA31416009F920ABDB18419C923A01A0DA314110A5BDC19BDB1841E6AE2564A3DA3141B0081B9E8CDB1841662BF6D7A6DA3141A0A2B4B77DDB1841A62C435CAADA3141E0BA270F6FDB18413D60E5F0ADDA3141A0C117A660DB18412A068195B1DA3141A091ED7C52DB184189B0E149B5DA3141E073B59544DB1841C4BAB80DB9DA31410045D8F036DB18413880B7E0BCDA314170295C8F29DB1841275C8FC2C0DA31416020B0721CDB1841848EE4B2C4DA314180E3A59B0FDB18418EA982B1C8DA31412003780B03DB1841B6D100BECCDA314100CAC3C2F6DA18419FB437D8D0DA314190C9C3C2EADA1841595BB1FFD4DA314190BA490CDFDA184132211F34D9DA3141505227A0D3DA18410B462575DDDA3141A024977FC8DA1841B94082C2E1DA3141907936ABBDDA1841866CE71BE6DA3141400AD723B3DA1841F5EDEB80EADA3141608C4AEAA8DA1841E40434F1EEDA3141A0B662FF9EDA184128287E6CF3DA314100AF256495DA1841AB6054F2F7DA3141A0E2C7188CDA18415CEE5A82FCDA31410052B81E83DA18418C635D1C01DB3141B06A2B767ADA1841526B9A172ADB3141D0F3FDD430DA1841D6A3701D32DB314140014D0424DA184138DF4FCD56DB3141604AEA04E5D918412B6519A271DB314100A69BC4B4D918413430288586DB314110E4CA6A94D91841CFC617FF9BDB3141202DA4FA7AD9184139855EEBB1DB314130A26E9F68D91841A040B024C8DB3141300665785DD918417FBB3D85DEDB314140A0809859D91841EAF8F4E6F4DB314150F158065DD918415001C2230BDC3141D07F18BC67D91841CCAACF1521DC314120C286A779D9184130C4B14E27DC3141108716D97FD918416744698F33DC31412062105889D9184163A1D61439DC314150234AFB8CD918412BED0D9E3EDC31413011363C90D918411283C02A44DC3141D0E2361A93D91841206C78BA49DC31412006819595D91841787AA54C4FDC3141309FABAD97D91841504013E154DC3141F0D24D6299D91841DD5817775ADC3141C00E9CB39AD9184101000000020000000001000000FFFFFFFF0000000003, CAST(152472 AS Numeric(38, 0)), NULL) +GO +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (152546, N'{5D713FF3-2A32-48F5-ADCE-3535727309C8}', N'016052293', 495463, N'NEP748', NULL, N'16052293', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 135', NULL, NULL, N'LOT 135 DISTRICT LOT 1073 KOOTENAY DISTRICT PLAN 748', N'0146', N'0019', N'NO', N'ICF', 3, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-05-25T14:37:07.000' AS DateTime), 173, 61, 0xBD0B00000104050000006C2BF6F786783841B06B09796DD81D413A014D049B7838414062105840D81D41F7EDEB809A783841D0779C2231D81D412C7E8C598578384170FE437A3CD81D416C2BF6F786783841B06B09796DD81D4101000000020000000001000000FFFFFFFF0000000003, CAST(152546 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (152548, N'{2A3FF413-F1BF-42B4-9C61-F6968912DE07}', N'015870286', 490661, N'NEP1291', NULL, N'15870286', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-04-06T00:00:00.000' AS DateTime), NULL, NULL, NULL, N'THAT PART OF LOT 6 DISTRICT LOT 1073 KOOTENAY DISTRICT PLAN 1291 WHICH LIES TO THE SOUTH OF THE LANE CROSSING THE SAID LOT AS SHOWN ON SAID PLAN, EXCEPT PARCEL A (SEE 44859I)', N'0146', N'0019', N'NO', N'PMBC-OPERATIONS', 4, N'LSA', N'UNKNOWN', N'0', N'239.3', CAST(N'2020-10-19T15:25:36.000' AS DateTime), CAST(N'2021-05-25T14:37:06.000' AS DateTime), 348, 75, 0xBD0B00000104050000004A2EFF8189773841F00FE937D9D91D410CAC1C5A867738418003E70C25DA1D413A4ED1F196773841F06DA38138DA1D41D0B359B59A773841104547F2E5D91D414A2EFF8189773841F00FE937D9D91D4101000000020000000001000000FFFFFFFF0000000003, CAST(152548 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (153974, N'{B477B585-AD71-4E9D-8D14-3A1C11E737C7}', N'013601709', 1485783, N'VAP2588', NULL, N'13601709', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'2000-03-14T00:00:00.000' AS DateTime), N'REM Lot 5', N'Block 6', N'', N'LOT 5, EXCEPT THE SOUTH 2.5 FEET NOW LANE, BLOCK 6 SOUTH EAST 1/4 OF SECTION 26 TOWN OF HASTINGS SUBURBAN LANDS PLAN 2588', N'0150', N'0010', N'NO', N'ICIS CADASTRE', NULL, NULL, N'UNKNOWN', N'0', N'330', CAST(N'2021-01-12T14:58:29.000' AS DateTime), CAST(N'2021-07-29T09:24:26.000' AS DateTime), 330, 86, 0xBD0B00000104050000005AEC2F9BF38E3241408C4A6AB2261D4109B5A6B9FD8E3241703F35DEB3261D417458A8D5FE8E3241D0DEE00B31261D41BBAF03C7F48E324180BE9F9A2F261D415AEC2F9BF38E3241408C4A6AB2261D4101000000020000000001000000FFFFFFFF0000000003, CAST(153974 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (154482, N'{FDA49C77-8493-4467-8B6C-66ABA5CEC5B3}', N'006159915', 651401, N'VIP3434', NULL, N'6159915', NULL, N'04160.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', NULL, NULL, N'LOT 3, BLOCK 29, COMOX DISTRICT, PLAN 3434, EXCEPT PART IN PLAN 4819', N'0163', N'0017', N'NO', N'MODIFIED-ICF', 5, N'LSA', N'COGO IN SOURCE', N'0', NULL, CAST(N'2020-10-20T13:44:05.000' AS DateTime), CAST(N'2021-09-01T15:16:34.000' AS DateTime), 75125, 1122, 0xBD0B000001042500000048477219D237304120772D21F3762041F10DBE70BF373041D8A14576D676204197438B8CBA373041E00B93E9C2762041548D97CEB6373041108716D985762041534013C1B337304150A4DF3E69762041560E2D92B0373041E8C7983B53762041A99BC4A0AB37304198855AD331762041E9C03943AA37304198E61D671376204184C0CA61A637304120EBE2F6F37520413F9B55DFAC373041804F1E56F3752041C0CAA165A237304170469476C475204196081B7E91373041609FAB6D81752041283108EC88373041E09C11655F7520410A560EAD7F373041C85374244C7520419A4C152C78373041F841CF264075204168226CF86B37304120FC183330752041888EE4525B373041201FF46C1D7520410E9C3362503730413870CE0810752041AA4E403343373041989999D904752041E2141D2939373041008195C3FE7420417D2F4C262E373041905E294BFA74204175C729DA26373041C886A717F874204150F38E131A3730413888F4DBF77420415F54520710373041006D56FDF87420417F6ABC940A373041B81A2F9D1F7520417F48BF7DEA363041781804563775204127C286E77C363041A882518988752041D319519A6F363041C8BAB80D507620415BCA3284C436304180D409E81377204138674489F736304188B96BC9177720418EA0F8F120373041500C02EB1B772041BBFC87B449373041584BC8C72A7720413EF1632C92373041084E62105B772041D93D7998AF373041081214FF69772041E02D90A0BC373041408638168A772041528D97CEE2373041A82E6E630D77204148477219D237304120772D21F376204101000000020000000001000000FFFFFFFF0000000003, CAST(154482 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (154493, N'{8807C596-74B2-4489-941B-A83C65265067}', N'016062272', 495463, N'NEP748', NULL, N'16062272', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 89', NULL, NULL, N'LOT 89 DISTRICT LOT 1073 KOOTENAY DISTRICT PLAN 748', N'0146', N'0019', N'NO', N'ICF', 3, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-09-02T13:49:55.000' AS DateTime), 202, 65, 0xBD0B0000010405000000BEF5281C6B78384120A167B3AED81D4104D7A37070783841803D0A57A2D81D4194DD93876D783841E04E40134AD81D414EAF9465627838417051DA1B50D81D41BEF5281C6B78384120A167B3AED81D4101000000020000000001000000FFFFFFFF0000000003, CAST(154493 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (156800, N'{E6A7F716-73D9-42D4-B9D7-7526DEB2646E}', N'012950688', 3, N'NO_PLAN', NULL, N'12950688', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 174', NULL, NULL, N'THAT PART OF DISTRICT LOT 174 SHOWN ON PLAN B294; KAMLOOPS DIVISION YALE DISTRICT', N'0078', N'0028', N'NO', N'ICF', 4, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2022-01-24T10:36:10.000' AS DateTime), 1087, 205, 0xBD0B000001042500000049696F9084EC344150EE5A823CB52141AF0C716C80EC3441A0CB7F8835B5214101E78CE87CEC344100D578A92EB521417958A8B579EC3441003D9BD527B52141FFBB05B275EC3441F0073DDB1FB52141D734EFB85CEC3441A076BE1F35B52141DA1B7CC175EC3441B820B0724DB52141156A4DF38AEC3441E069DE3161B52141386A379C91EC344140AAC80967B5214172B4546498EC3441803F854A6CB5214114D44B489FEC344190017CF170B521410C93B544A6EC3441C0BA60FC74B5214142A81E56ADEC3441984A346978B52141B46B0979B4EC3441D0A145367BB521414C0378ABB4EC344170E926F16CB5214130211FB4B4EC344148499D806AB52141B12D416DB3EC34416068AAE769B52141CFD9F928B2EC3441884A123A69B5214194949CE7B0EC34418899017868B52141180D7CA9AFEC3441F843AAA167B52141421DEA6EAEEC3441986F43B766B521419FB43738ADEC3441C86B09B965B521410CA86E36ABEC3441C8577D8A64B52141B88DFA35A9EC344140D4095363B52141CA45E536A7EC344108E2B41262B52141AAA93839A5EC344160AD84C960B52141CA8BFE3CA3EC3441708E7F775FB521417DB74042A1EC34414808AC1C5EB5214157F5B93A9BEC344170D0B39959B52141CC32C4F196EC3441E02D90E055B5214105C8019294EC34414074C92753B5214152B0693C92EC344150A3AF4C50B5214140F477F18FEC3441207ADA4F4DB521419A66A6B18DEC344110B7E8314AB52141F38A6C7D8BEC344108F87FF346B52141EE7C3F5589EC3441A0984C9543B5214149696F9084EC344150EE5A823CB5214101000000020000000001000000FFFFFFFF0000000003, CAST(156800 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (156846, N'{FFC0275C-B233-407C-9BDD-A2666D3FE754}', N'009689168', 477658, N'NEP14862', 90091274, N'9689168', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', NULL, NULL, N'LOT A SECTIONS 29, 32 AND 33 TOWNSHIP 23 RANGE 2 WEST OF THE 6TH MERIDIAN KOOTENAY DISTRICT PLAN 14862', N'0119', N'0006', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2022-01-24T14:46:52.000' AS DateTime), 45911, 2723, 0xBD0B000001043F0000009CE61D47C18B374188ABAD18083425419E23B9FC938B37413018951493332541924AEAA4788B37412095D44936332541B6506B9A5E8B3741A839238AC3322541E2B5843CF88A374148A835CD81302541F141CF86E88A3741A8B20CF13730254154C1A8E4CF8A3741D0E1E955DF2F25416A91EDFCB18A3741A0C117A6952F2541297E8CF96A8A3741E085C914262F2541FE2A87366F8A3741A08BDBA8452F254118D936FA708A3741D0F97275522F2541EEFF66D4728A374150904C355F2F254178A200C5748A3741E013CAE76B2F254176ADEBCB768A3741F8EE4D8C782F2541A6F80EE9788A3741403A3B22852F25411848501C7B8A374188C2F5A8912F2541C16386EA7D8A374118BE9CE4A02F2541D6CB70D9808A3741B86D8B07B02F25414A14D9E8838A3741F0FBA810BF2F254139768618878A3741A872DEFECD2F25410AD43D688A8A374190CE16D1DC2F2541A8BDC1D78D8A374100143F86EB2F25410A363CBD9B8A3741C8537464DF2F2541FBE461A1A38A3741A8EFA786FF2F254128F697BDCC8A3741685CFEC3AB3025412C6E55F8D28A37417002C374C6302541370C21F7D88A3741A0FE385CE130254115D282B9DE8A3741F0D64578FC3025419A7A073FE48A374170F6CAC617312541E8824087E98A374118D4A54533312541C432C491EE8A3741C820B0F24E312541FED478C92E8B3741D0C56D34B9322541004D84CD358B3741382731C8E03225410CE7F89B3F8B3741B06EBE8512332541C09711244B8B374190C690C242332541AA372E57588B374120227A41713325419E099124678B3741480082C79D3325414AF67379778B37418837301CC8332541BC5B2041898B37413095D409F03325412C8490448F8B3741B816E057FC3325418046486B958B374188F75F5F0834254191CA78B49B8B3741B0B6BF1E1434254106B14E1FA28B3741E84C74941F3425411C2FF2AAA88B37411860FCBE2A342541FE2A8756AF8B3741E875E09C353425417E2F4CA69E8B37411010E9B75F342541753D0A771C8C3741D83311367A352541806ABCF4218C374170AB3E171635254164CC5DCB928C3741980B9369C8352541FD97DD93038D374108E6AEA57A3625419A4C152C0F8D3741205986F88C362541B2D85F762A8D374108BE3019B836254151B81E452C8D3741589621CEB33625413C6C409E358D374110636628C336254186FC642E3F8D3741E023B9F8D136254136AF8FF3488D374118CC053CE0362541ADC5B8EB528D3741C09D55EFED36254185E8CD145D8D374108C6CF0FFB362541E795B26C678D374168F5B99A0737254194CB7F88308D3741F8550E6DA83625418E7EFBFA948C3741B813D0C49A352541DE938725F38B374138B6F3BD813425419CE61D47C18B374188ABAD180834254101000000020000000001000000FFFFFFFF0000000003, CAST(156846 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (157303, N'{5CF79024-D8FC-4F58-9FF3-AB41B5E266C1}', N'013862511', 3, N'NO_PLAN', NULL, N'13862511', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'SE4', N'19', N'20,9', N'BLOCK A OF LEGAL SUBDIVISION 1 SHOWN ON PLAN B2045; SECTION 19 TOWNSHIP 20 RANGE 9 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLANS H10964 AND KAP47780', N'0124', N'0006', N'NO', N'ICF', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-04-28T13:21:06.000' AS DateTime), 2572, 200, 0xBD0B000001040900000072AC8B5B678A3641905E290B370024410E022B476A8A3641E81B7CA137002441CE915C5E748A3641C806F0963900244194779C62978A364188B5157B4000244121166A2D9B8A3641E83099EAE9FF2341D712F241928A364150EA04F4D4FF23414A03784B798A3641B059F5F9CBFF23412A31082C6C8A3641E8718A4EC7FF234172AC8B5B678A3641905E290B3700244101000000020000000001000000FFFFFFFF0000000003, CAST(157303 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (157316, N'{784244BE-080C-4535-8E07-36E66E3C577B}', N'014841690', 464607, N'NEP4548', NULL, N'14841690', NULL, N'7041681050', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2016-11-22T00:00:00.000' AS DateTime), N'REM Lot 1', NULL, NULL, N'LOT 1 DISTRICT LOT 775 KOOTENAY DISTRICT PLAN 4548 EXCEPT: PLANS 15173, PLAN EPP47302, AND EPP58876', N'0163', N'0018', N'NO', N'MODIFIED-ICF', 13, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'0', NULL, CAST(N'2020-04-27T10:48:50.000' AS DateTime), CAST(N'2020-04-27T11:18:46.000' AS DateTime), 98446, 2059, 0xBD0B00000104250000000E022B27E0153A4120C05BE0B807244174C7297AE3153A41E822DB398A07244125EBE236E6153A413804C5CF630724412041F14361153A4160029A883D072441CE00DEA2C4143A41F0CCCC4C10072441DE9387E5C7143A4170E7FBA923072441C86D346037153A4140355E3A590724414EF38E336B153A41B8CDAA0F5A072441AA66CA2A72153A41D80D49CA5A07244127A9211379153A411050A6BA5C0724413AF427DF7F153A4110E5FDDC5F072441D089A78186153A410072382B640724419760BBED8C153A41B0C7F79C69072441AC33E81693153A418825A7277007244184C434F198153A4198CA8FBE77072441582041719E153A41F8A9F152800724410E022B27E0153A4120C05BE0B8072441C898BB96DC153A41082FDDE4EA072441243A928BD4153A4168499D80DA07244154840D8F93153A414070CE88A20724410284E44F8F153A41083AF2499B072441D4D74CBF8A153A41004408DD94072441C94F60E785153A41185A48508F072441B892D6D280153A419042FAAF8A0724415C67ED8C7B153A41C8915A06870724415CD44F2176153A41B804845B84072441E54EFC9B70153A41988F5DB58207244158302A096B153A4100508D17820724418A3A01ED34153A4128C7BA388107244136454792C0143A4120174850490724411A73D75297143A41C8BAB84D8E092441745F074E20153A4180A52CC348092441346EA3A12D153A41E81FD26F98092441F70FE917F6143A4198A223B9C50924415CB1BFACED143A41706132953C0A24415AC1A864AE153A41A87A142E730A2441C898BB96DC153A41082FDDE4EA072441020000000200000000021100000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(157316 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (158095, N'{66FD52C6-F4FF-45E5-9E2D-DBB5239BC1C9}', N'001591223', 141191, N'VIP1291', NULL, N'1591223', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 18', N'Block 3', N'', N'THAT PART OF LOT 18, BLOCK 3, SECTION 9, ESQUIMALT DISTRICT, PLAN 1291 INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0154', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:46:03.000' AS DateTime), CAST(N'2019-01-05T10:23:38.000' AS DateTime), 12, 20, 0xBD0B0000010409000000BC9F1A0F3A2B3241C0506B1AD29A1741F65BD9DD382B324190578E5FD09A1741748273AD372B3241202E5A9BCE9A1741ECA5ED7D362B3241F09FD5CDCC9A1741A6554C4F352B3241E09B07F7CA9A1741811D9421342B32411034F716C99A1741F385C9F4322B3241309FAB2DC79A1741E4141D49392B3241E056EC2FDF9A1741BC9F1A0F3A2B3241C0506B1AD29A174101000000020000000001000000FFFFFFFF0000000003, CAST(158095 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (159856, N'{3B9CB379-BA2A-4A4E-8891-07F87BFFAC07}', N'015937551', 252487, N'PGP727', NULL, N'15937551', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'Block 32', N'', N'THAT PART OF LOT 6 BLOCK 32 DISTRICT LOT 933 CARIBOO DISTRICT PLAN 727 AS SHOWN IN RED ON PLAN 26804', N'0112', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:41:06.000' AS DateTime), 321, 88, 0xBD0B00000104090000009DB437783A833241F8EEC983B04A2E41D6ACFA1C3A83324110E02D10C04A2E41ABF1D2ED43833241B023B9BCC94A2E41E826316844833241608B6CA7B44A2E4161E5D0624583324120B29D6F894A2E416ABC74933B83324150EE5AC27F4A2E41C30E9C933A83324180BC74D3AB4A2E4197779CC23B833241903A010DB14A2E419DB437783A833241F8EEC983B04A2E4101000000020000000001000000FFFFFFFF0000000003, CAST(159856 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (159861, N'{28ECC328-E610-4407-A958-161FB05C760A}', N'015937534', 252487, N'PGP727', NULL, N'15937534', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'Block 32', N'', N'THAT PART OF LOT 5 BLOCK 32 DISTRICT LOT 933 CARIBOO DISTRICT PLAN 727 AS SHOWN IN RED ON PLAN 26804', N'0112', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:41:06.000' AS DateTime), 208, 96, 0xBD0B000001040A000000AED85F7631833241F82A8796834A2E41C30E9C933A83324180BC74D3AB4A2E416ABC74933B83324150EE5AC27F4A2E4139014DC43183324198180416764A2E41AED85F7631833241F82A8796834A2E419DB437783A833241F8EEC983B04A2E41EF2FBB873083324180F7E461AC4A2E412731084C30833241A0416065B64A2E41D6ACFA1C3A83324110E02D10C04A2E419DB437783A833241F8EEC983B04A2E41020000000200000000020500000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(159861 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (160252, N'{4A597538-5833-424C-B4AA-0DF1C69A5CAC}', N'004735153', 3726, N'VIP13216', NULL, N'4735153', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot A', N'', N'', N'THAT PART OF LOT A, DISTRICT LOT 92, NANOOSE DISTRICT, PLAN 13216 LYING TO, THE SOUTH OF THE 30 FOOT ROAD DEDICATED BY PLAN 13216 ,EXCEPT THAT PART IN, PLAN 40252', N'0068', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2019-01-05T08:38:18.000' AS DateTime), 710, 117, 0xBD0B0000010408000000EE8E53D476533141B0E53F2476D01C41CE22DBF97E53314100D7A37050D01C4173E7FB699053314130234A7B4BD01C41C87F489F9053314130B072E826D01C4122F46CF69053314140F90FE9EACF1C41CE19517A77533141B0ADD85FDFCF1C41D4ACFA5C77533141008AB0E1FBCF1C41EE8E53D476533141B0E53F2476D01C4101000000020000000001000000FFFFFFFF0000000003, CAST(160252 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (160787, N'{74096830-7113-4EC1-9FAC-75B57BCAF261}', N'001592947', 141191, N'VIP1291', NULL, N'1592947', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'Block 3', N'', N'THAT PART OF LOT 2, BLOCK 3, SECTION 9, ESQUIMALT DISTRICT, PLAN 1291 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0154', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:49:50.000' AS DateTime), CAST(N'2019-01-05T11:04:04.000' AS DateTime), 113, 48, 0xBD0B000001040B0000009A081B7EB62A3241C013D0444999174184416045B42A3241302653054499174179387C94B32A3241A08E856B42991741033D32E3B22A324190397BD440991741F0FF8231B22A324100BC35403F99174150326F7FB12A324120AAB6AE3D991741B885F7CCB02A32415093FF1F3C99174107AC1C1AB02A3241100612943A99174179711BCDAC2A324150C6DCB5769917418A416085B22A3241104772798C9917419A081B7EB62A3241C013D0444999174101000000020000000001000000FFFFFFFF0000000003, CAST(160787 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (163763, N'{4D8AC3FE-08F0-4D68-85F4-883D6457C553}', N'001713680', 3, N'NO_PLAN', NULL, N'1713680', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 157', N'', N'', N'THAT PART OF LOT 157 "KOKSILAH" MINERAL CLAIM, HELMCKEN DISTRICT, SHOWN COLOURED RED ON PLAN 1201 OS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 15, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T16:28:35.000' AS DateTime), CAST(N'2019-01-07T18:31:28.000' AS DateTime), 14635, 1027, 0xBD0B0000010420000000B86B09D9E0D73141C082C0CA00FF18410D71AC2BBCD73141704DF38EA0001941F8B9DA0ABCD73141604160E5A00019411948503CBBD7314120598638AB001941BEA8A4EEB3D731416005A3920201194134333333ADD73141F00AB5A65A011941B8270F0BA7D7314110AF9465B30119412063EE9AA1D7314100B9FC070A02194136AB3EB79CD731412032E62E6102194115B7D16098D73141F05E98CCB8021941C4EC9E9C95D73141E06722ECF60219418FED7C1F93D7314150EC2F3B35031941092428FE91D73141C030992A540319416DB5151B7AD7314130D26F5F0106194167006FA178D73141206A4DF325061941AE25E4C376D73141B05A423E4A0619410AB5A6597CD73141F0CBEEC949061941F66C561D96D73141909F89B047061941E4BE0E5C98D73141709DEF27120619417C2D213FB0D73141206A4DF3640319419BC42010B3D731415075711B1A0319419E5E294BB6D73141704BC887CF02194141FAEDCBB9D73141D059F5398002194171787A45BCD73141C01CEBE24D021941F5065F58C2D7314100C898BBEB011941FE6E8124C9D7314180F46C568A011941B09465A8D0D731413039B4C829011941DC0968E2D8D73141800B2428CA0019418D06F0F6DFD73141008BFDE579001941E5D9ACFA01D8314190174850F8FE18415C7FD9FDFFD73141E0CE88D2F8FE1841B86B09D9E0D73141C082C0CA00FF184101000000020000000001000000FFFFFFFF0000000003, CAST(163763 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (163949, N'{0768F2FC-3C42-4960-AE8F-8290F4142699}', N'014267918', 3, N'NO_PLAN', NULL, N'14267918', NULL, N'ccrp0056', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART SE4', N'4', N'22,10', N'THAT PART LEGAL SUBDIVISION 7 LYING SOUTH AND WEST OF THE HIGHWAY SHOWN ON PLAN H716 SECTION 4 TOWNSHIP 22 RANGE 10 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLAN KAP66074', N'0163', N'0006', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:22:56.000' AS DateTime), 21446, 653, 0xBD0B00000104070000000C5839F498683641A823B93C837024414B4772F9B7683641E8D9AC3A517024413255308AEF683641A8D85F761E702441CA20B0F23D693641304A7B43176F2441864160654769364198AF0327EA6E244100917E9BAD683641A8FB3A70CC6E24410C5839F498683641A823B93C8370244101000000020000000001000000FFFFFFFF0000000003, CAST(163949 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (164594, N'{F41A0134-9B11-4128-821F-222EFF92AD5A}', N'010874275', 3, N'NO_PLAN', 90054797, N'10874275', NULL, N'760-008674.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'S2', N'13', N'84,18', N'PARCEL A (98052M) OF THE SOUTH 1/2 OF SECTION 13 TOWNSHIP 84 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT, EXCEPT PLAN 21956', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:30:08.000' AS DateTime), 644590, 4228, 0xBD0B000001045D0000006D2BF63765403441C4718A6ED85133415B9FAB6D6040344178635D5CDA513341BFEC9E9C514034418C900F5AE051334107560ECD42403441E0A3705DE651334148378901344034415027A069EC51334108A3923A25403441D83FA47FF25133412C90A07816403441DC0968A2F8513341C2E314BD074034411861C3D3FE513341D8F0F40AF93F344128871619055233412AA08990EA3F3441386744E90B523341DBACFA3CDC3F34416C34801713523341BADA8ADDCD3F3441146C781A1A523341381AC03BBF3F34413CCB10672052334189D2DEC0AF3F34415003784B245233411FFDF635A03F3441A433A214285233412E90A038913F3441804F1E962D5233410B24285E823F344148AF94853352334109CE1971733F344130772D4139523341AB825149643F3441C89F1A4F3E523341E1240601553F3441F81114FF42523341AE8BDBA8453F344194658883475233415A204151363F34416C6FF0054C523341A2825109273F344158C4B1AE50523341AC9BC4E0173F3441F4F8A0A75552334142CF66B5093F3441E02631485D5233410A93A9C2FA3E34415C9FAB2D625233418A16D90EEB3E344160643BBF64523341A7E8482EDB3E3441BCADD8BF665233419187853ACB3E34415CFE437A68523341034D844DBB3E3441403EE8396A5233415E29CB70AB3E34417C1D38276C52334142575B919B3E34413C7958086E5233418D3A01AD8B3E344140DF4FAD6F523341C7E53FC47B3E3441844AEAE4705233418C28EDCD6B3E344160499D6071523341532041D15B3E34413441F10371523341A18026E24B3E3441589A77FC6F5233418304C5EF3B3E3441CCE236DA6E5233413008ACFC2B3E3441188716996D523341B17BF2101C3E3441080681156C5233410422FD360C3E3441648CB92B6A523341CA8F3177FC3D3441D434EFB86752334181D0B3D9EC3D3441C454C188645233416C2BF657DD3D3441EC3311B6605233419E01BCE5CD3D34412431088C5C5233417458A875BE3D3441F4AACF5558523341E6E236FAAE3D3441C088D25E545233418FCB7F489F3D3441AC7D1D98515233418EA0F8718F3D34419CCDAACF4F523341605DDC26803D344198CDAA4F4B523341B21C5AE4703D3441C4CAA1A546523341AF9465A8613D3441C02B65D94152334190A0F871523D344154F38EF33C523341585BB13F433D344154EC2FFB3752334194BB9610343D344178226CF832523341D3F753E3243D3441A84E40F32D5233413EC6DCB5153D34412C3333F328523341161DC985063D344134B4C8F623523341832F4C66F73C3441885374C41E5233415A5BB17FE83C3441EC285C0F19523341E10209AADD3C3441588FC2F5125233411895D489DA3C344160BA49CC3C5233412E97FF70D83C3441005C8FE25852334170128340D53C344134333393835233419CEFA706D53C3441F0073D9B865233418F0F7A76D33C3441844160859B5233410AC58F51CE3C34418CFF905EE0523341117A36ABCC3C3441A0A14576F652334176F08569CC3C34417C3E57DBF9523341E2B5843CC03C34412C6C78DA9C533341FE187377693F3441D0172633D1533341DA78E926D43F3441BCD32B65D9533341A3EFA766E83F3441AC0E9CF3DA53334177F2B070FE423441802F4CA617543341D50968C216433441C0490C02DA523341FDD47889244334419028ED0D265233412F90A0186C41344108363CBD7F5233416EE773C55A413441DC22606D825233410679BE4749413441404DADA083523341C47C24C037413441D03AE65483523341CCA05C4F264134411855988A81523341B8FCF215154134412CE41A457E52334175540C340441344110D0888A79523341F81B2AC9F3403441FC3DB5637352334174ABEFF3E3403441D8171BDC6B5233417212E9D1D4403441D49EC70163523341D2F3537FC6403441503340E558523341F8D1EA16B9403441D47F63994D523341682DB3B1AC403441C84146334152334110D3CE66A140344164F20BCA33523341EBB0504B97403441DC98BB76255233415CFE435A8940344104780B04105233416D2BF63765403441C4718A6ED851334101000000020000000001000000FFFFFFFF0000000003, CAST(164594 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (164887, N'{0C7B67CE-F545-4AC3-BDAC-A344E8330D13}', N'015497551', 469593, N'NEP2185', NULL, N'15497551', NULL, N'7865199000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 7', N'', N'', N'LOT 7 DISTRICT LOT 4595 KOOTENAY DISTRICT PLAN 2185 LYING WEST OF THE PUBLIC ROAD THROUGH THE SAID LOT', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:37.000' AS DateTime), 20078, 634, 0xBD0B0000010406000000FAC2640AA8C239411079E9A6391F1F410AF9A0279DC2394160E4F29FCA201F4104DE0229CAC239411055302AE2201F41E2E2361A8EC3394120EB73B548211F41FE65F7A442C339414072F98F8B1F1F41FAC2640AA8C239411079E9A6391F1F4101000000020000000001000000FFFFFFFF0000000003, CAST(164887 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (166309, N'{40097B14-0AA9-441F-9517-2DA613B4F423}', N'000839043', 648722, N'VIP1080', NULL, N'839043', NULL, N'24584', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 4', N'', N'', N'THAT PART OF LOT 4, DISTRICT LOT 10, ALBERNI DISTRICT, PLAN 1080 EXCEPT PART LYING NORTHEAST OF PLAN 2530 RW AND EXCEPT PART IN PLAN 2530 RW', N'0102', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:06.000' AS DateTime), 10, 28, 0xBD0B0000010407000000AF7268F1688F3041208E75F1B3D41C418BD2DE80758F304160F085C9A0D41C41A089B001738F30415055302AA2D41C41F65C6D856D8F3041D07A142EAAD41C41257E8CF9698F304120431C6BACD41C4125CB1087688F3041D07BF2B0AED41C41AF7268F1688F3041208E75F1B3D41C4101000000020000000001000000FFFFFFFF0000000003, CAST(166309 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (167489, N'{AD7237BA-DA4B-4EFB-9778-1D347ED0409E}', N'000758175', 3191773, N'VIP552G', NULL, N'758175', NULL, N'05769.005', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Section 17', N'', N'', N'THE SOUTH EAST 1/4 OF THE NORTH WEST 1/4 OF SECTION 17, TOWNSHIP 9, COMOX DISTRICT, PLAN 552-G, EXCEPT THE SOUTHERLY 301.752 METERS THEREOF', N'0163', N'0017', N'NO', N'ICF', 5, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-12-17T18:22:22.000' AS DateTime), 41085, 1012, 0xBD0B00000104050000002B3A92EB703D304140B6F3FD0FC01F4135D6C52D053F3041D0156A4D24C01F41ADE1E9F5063F304100075F188EBE1F41A879C7A9723D304190ADD85F79BE1F412B3A92EB703D304140B6F3FD0FC01F4101000000020000000001000000FFFFFFFF0000000003, CAST(167489 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (167967, N'{6AD45E7B-17EF-4DFC-A607-EB2EA6C3603D}', N'013908332', 295346, N'PRP974B', NULL, N'13908332', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', N'Block 53', N'', N'LOT 3 BLOCK 53 DISTRICT LOT 851 CASSIAR DISTRICT PLAN 974B EXCEPT PLAN 7772', N'0163', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:19:36.000' AS DateTime), 207, 69, 0xBD0B000001040800000075E7FBE937512B41305305A3FD6031410EE02D5040512B4110E9B7AF036131412B3A928B40512B41581058D903613141EBDBD7C13F512B41403108ACE7603141BC8F31B72B512B4130DD24C6E760314176B5153B2C512B41DCE76ACBF46031417FC729BA2F512B41B02E6E83F760314175E7FBE937512B41305305A3FD60314101000000020000000001000000FFFFFFFF0000000003, CAST(167967 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (168607, N'{F9B27131-BD5C-480F-A60B-84FA8730B33E}', N'000254843', 9036, N'VIP33670', NULL, N'254843', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 3', N'', N'', N'LOT 3, BLOCK 347, NEWCASTLE AND ALBERNI DISTRICTS, PLAN 33670, EXCEPT PART IN PLAN VIP66989', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2019-01-05T08:35:24.000' AS DateTime), 132681, 1659, 0xBD0B000001040A0000003108ACFC42C830418027A089A78A1D414DE3A5FBD2C53041C01726538E8A1D418D87851AD3C5304160D93D79F48A1D41664DF34ED4C53041C032C431DC8D1D41547DAEB62AC83041505BB13FF48D1D417B93180432C83041D04F8D17DD8D1D4140F1634C3FC83041D0A8A4CEED8C1D4152A60AE655C83041702041F1B38B1D41604BC8E755C8304130583934108B1D413108ACFC42C830418027A089A78A1D4101000000020000000001000000FFFFFFFF0000000003, CAST(168607 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (169342, N'{58788F3C-382D-486B-A1BA-EED7C2BE5437}', N'023068078', 1175783, N'LMP23121', NULL, N'23068078', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-06-08T00:00:00.000' AS DateTime), N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOTS 159 AND 160 GROUP 2 NEW WESTMINSTER DISTRICT PLAN LMP23121', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T09:13:31.000' AS DateTime), 64501, 1483, 0xBD0B00000104070000009A4C15ECD2CA3241F046037820E31B41C4D32BA562CB32418095438B41E31B41E695B20C07CD3241D05F764F9EDC1B418538D665D4CC3241F05374A493DC1B4133E6AEA576CC3241801283C07FDC1B41FD907E9BB1CB3241E00A46259CDF1B419A4C15ECD2CA3241F046037820E31B4101000000020000000001000000FFFFFFFF0000000003, CAST(169342 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (172568, N'{6591654A-9CBC-4BD8-A62B-FDB469C1E42A}', N'013869591', 1479069, N'NWP3304', NULL, N'13869591', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-29T00:00:00.000' AS DateTime), N'REM Lot 5', N'', N'', N'LOT 5, EXCEPT: PART SHOWN AS 1.31 ACRES ON SRW PLAN 26009 DISTRICT LOTS 79 AND 85 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 3304', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:39:37.000' AS DateTime), 4744, 395, 0xBD0B0000010408000000B31C5A2492A23241E0E76AAB53F01C41C5293A12CBA232414075029AE6F01C41177C61D2CFA23241101AC0DBF2F01C41780B2488D7A23241601283C006F11C41306EA30148A332410076E09C98F01C419F8026A248A3324150B4C8F660F01C4172F085A99BA23241D0ACFA5C54F01C41B31C5A2492A23241E0E76AAB53F01C4101000000020000000001000000FFFFFFFF0000000003, CAST(172568 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (173242, N'{760B788F-D9B4-4DEC-B088-0A40F3CDE9CD}', N'010327355', 849755, N'KAP2362', NULL, N'10327355', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Parcel 14', N'Lot 724', N'', N'PARCEL 14 (PLAN A1273) OF LOT 724 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 2362', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:30:03.000' AS DateTime), 12353, 551, 0xBD0B000001041F000000625DDC26B9703641D0DA8A7DEC6C1D414DF38E73C370364160416065D26C1D416C19E258C8703641B059F5B9CA6C1D415FBA496CD2703641D0240681C86C1D418C38D6E5DA70364150787A25D36C1D41718A8EC4E3703641907CD033D16C1D412BDD2466EB703641C0787A25CD6C1D4194BB9690E670364140DB8AFDA26C1D416E3480D7CE70364180E3A51BD46B1D41E4E99572BD703641C0460378C16B1D4189C954A1AD703641109C3322BB6B1D418A855AF3A1703641E05DBAC9A96B1D41BE6B09999B703641702D9020A06B1D4159CA32449270364160FDF6F5736B1D41EE8E531485703641B0B20C714C6B1D41AC506B3A7A70364150AF94E5016B1D41EC839E6D76703641D0201FF4B56A1D41569FAB6D6F70364180976E92A86A1D4141355E9A6370364100C58F31956A1D4165226C98547036418044696F826A1D41A53E57BB45703641007D3F35836A1D41866CE7DB3B703641503333B38C6A1D41341AC03B54703641A058A8355B6B1D41374547B2547036418026C2065F6B1D41033411B654703641905452275F6B1D4162C3D30B79703641C03B4ED1916C1D4122FDF6558E703641C03C2C54466D1D41F8285C6F95703641104D848D296D1D41A6C64B97A37036412054E3A5FD6C1D41EA73B595AB7036418088635DF96C1D41625DDC26B9703641D0DA8A7DEC6C1D4101000000020000000001000000FFFFFFFF0000000003, CAST(173242 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (173423, N'{CE7A2DE1-87A4-46C8-8F39-E15835C7A56E}', N'013174118', 3, N'NO_PLAN', NULL, N'13174118', NULL, N'72606566500', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'2048', N'', N'', N'DISTRICT LOT 2048 KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLAN H861', N'0163', N'0028', N'NO', N'ICF', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:28.000' AS DateTime), 542210, 6079, 0xBD0B00000104BC000000666666E6046A3541B8825189FD842641B7F3FDD40E6A35419850FCD8F08426415EE5D062276A3541908CB9EBD684264191C2F5A8346A3541D870AC0BCA8426416F787A25456A3541787AA56CB3842641917EFB9A4E6A3541307C61329E8426419C779CA24F6A35416809F9A09A842641E1E00B33026A3541F88F31F78D842641666666E6046A3541B8825189FD8426418F5CFE03C5693541F0EF1608848426419F23B97CC1693541688FC27583842641D8F0F46A6C693541688A8EA475842641DEB5849C6B6935413825758275842641A8DFBE0E69693541606DC5FEB3842641A713D0646869354150499D40C484264178711BCD64693541C8C039231C852641431361A33B693541782D215F0B892641DF02092A39693541009D11E54789264169D5E78A29693541781D3827C68A26413E2CD4DA8B69354178355E3AD68A264110F2410F8F69354110B7D1C0D68A264114363C5DC169354180900FFADE8A26418D976E92EC69354198A7570AE68A26419DD6346FEC69354138742457E08A26418F5CFE03C5693541F0EF160884842641F25A429E296A35413094F646EA8A2641F6DBD7C1296A3541A05E290BF08A26414AE17A14F26A3541304CA6CA108B2641C21726D3B46B3541F01B7CA1308B26415EA1D674B16B35417869DEF1048B2641560E2DF2AE6B3541E08C28ADEE8A26410C9C33C2A66B3541B8ADD8DFC98A26411ED26FBF9D6B3541F84750FC9C8A2641E9FBA9319B6B354178FD65B7888A26419E89B041986B3541F8065F58588A2641D3BCE3D4966B3541E0AF72283E8A26413770CE68946B354168E5D0E2238A2641EF2FBB07926B3541E03EC69C078A2641FE99081B8A6B3541784DF3CED6892641D4E76AEB806B3541B8C3D3EBB189264192976ED2776B35415082E20789892641AFFA5C6D6A6B354160A835CD6D892641809ECD0A596B354120477239528926418C855A53516B35416038D68545892641E6C039E3436B3541F0A7C64B2C8926419E45B6B33A6B3541B08BDB6807892641666666A6306B354118C4B16EDC88264182D93D99266B3541A833A274B188264145598618216B354190438BEC9A8826414C598618146B3541504469AF6D88264154A8358D0D6B3541D83B4E115988264101000040FE6A3541C042ADA939882641BAEC9EBCEB6A354100A54E0024882641682BF617D86A354108DCD74114882641083D9B35CD6A3541F015FB4B0F882641B17BF290B96A35410896B28CFF8726414750FCF8A36A354158C0CAA1ED872641DCF97E4A8E6A3541D86A2BB6DF872641D26F5F67846A35417006F0D6DA87264171E7FB89716A3541B856EC2FD5872641AD506B9A696A354100363C7DD287264158EC2F9B686A3541E841CF66D2872641A7A44EA0606A3541C8FC87B4D187264166AA60744D6A354118295C0FDA8726413155306A3A6A3541A81DA768DC87264196218E952B6A3541D019511AD5872641E3361A40176A354118DC4643B78726411DE258B7156A3541F0E8B72FB48726414B257542166A354118AE47A1CA872641F25A429E296A35413094F646EA8A2641CE915CBE246A3541C0AACF157D8526415E3255301E6A3541383CBD92968526413CC6DC95196A354158C8073DB2852641B66B09D9156A3541A8C876FED385264189FD65D7136A3541F843FAED01862641A63E575B146A3541E04A590618862641B159F599176A3541C0AE25643A862641C09F1AEF1A6A3541C06D34C058862641FE770B441E6A3541D0E3141D77862641F02FBB27236A3541307958A8A986264105F9A047216A354160AB3E97D186264112143F461F6A3541706FF085FF86264179711B6D246A354150A913102687264186FD65D7296A35416019E2984087264175832F0C3C6A3541186F81446487264109B5A699506A35411075021A78872641AF0C716C626A3541680C02AB7F87264107A3923A7B6A3541F03D79D887872641B2506B1A8A6A3541185452278D87264102780BE4986A354170EA737596872641BE5296A1A86A3541B03E57DBA18726411CC9E55FB76A354188E7FB29AD872641DAA3701DC76A35414072F98FB88726410BCE19D1D46A35417039B4C8C58726418C537484E26A354180B74002D387264149257522EF6A3541C8416025E4872641829ECDCAFC6A3541201B9E5EF387264192CB7F68096B3541F0DBD78104882641DDE995D2206B3541F0D0229B1E882641DCC56D94296B354150C1A864298826414EF38E33346B3541301AC05B3A882641A4F83106356B3541D8E99572428826410593A9623E6B354150AA60545F8826411EA7E868416B354150FC18B38B88264150AF94A5476B3541D0A9F152AE882641A7E848AE586B3541B88BDBE8D988264187EB51F86C6B354190ED7CBFF98826414A477299746B354160EA04740A89264168BC7473886B354170711B4D3E8926413EBD5296936B35410076E05C65892641ABE8488E9B6B354150D5E72A948926413A2CD49AA66B35412011C73ABF892641D0915CBEB06B354130EA0434E6892641BE490C62B46B3541A85F768FF68926418916D9CEB56B3541A8FF90BE108A26416991EDBCBB6B354128894160418A2641E561A156BD6B354150840D8F538A26412897FF70C46B354140DD24467C8A2641E402090AC76B35411083C08A8E8A2641748A8E04CB6B3541505BB1FFBC8A2641822F4C66CC6B3541600D4F2FD98A26417E14AEC7CD6B3541B03FA45FF58A26415839B428D06B3541F053E3A5118B264193A0F891D46B3541E8BB05D2358B26414F8D970E496C3541508863DD488B2641A011A5BD4A6C3541400AD723498B264181D93D194C6C35414070CE883E8B2641B1B6629F4D6C3541E887F49B268B2641BDDA8A5D4F6C354130567DAE048B264152A60A26526C3541404F1ED6E08A2641BA9690EF536C3541800B24E8BC8A2641288716B9556C354170C729FA988A264138AB3E77576C35410096B20C778A2641B2EA7335596C354160764F1E558A26418A8EE4F25B6C3541D86F5F47338A2641E7D9AC9A5D6C35411075025A158A2641D0DEE02B5F6C354158B1BF6CFB8926419E45B6D3606C3541B0B6627FDD89264108CE1991636C3541F0AF72A8BB892641FA285C4F656C354198900FBA9989264124F46CF6676C3541B8C039E37B892641750B24A86B6C3541C80968225C892641EBC9C342706C354188226C7840892641F02FBBE7756C3541C0E53FE4228926412E772D817C6C354188666666078926416229CB30836C3541387958E8E7882641C364AAE0896C3541D80B9369C888264152E3A59B906C354120431CEBA6882641E761A156976C354188438B6C85882641711B0D609E6C3541780C71EC55882641E80434F19F6C3541100000003C882641C0C117C6A16C354168A98211168826415AF5B99AA36C3541E0891F23F0872641840D4F6FA56C3541C8EA7335CA872641789CA223A56C354160AC8B1BAA8726411E3867E4A26C3541184FAFD48787264179E09CB19E6C354120772D616387264157302A69996C354110E258D742872641CCB35915946C3541D8F1D24D24872641BD7D1D38856C3541D8E53FE4F0862641979999B97C6C354158BE3019DA8626416A9A779C686C354108EEEB40B2862641D23B4EF15E6C3541E8F67560A38626410EF2416F4A6C3541D8F0F48A8D86264144F163EC366C3541889543CB77862641D7ACFA5C256C354188B43738648626419CABADD8136C354170AF94A54E8626411B48503C056C3541B0F3FD543D8626413870CE48036C3541507958283B8626417E26C286FA6B354118D26F5F3086264195DD93E7EF6B354190D409681F8626415296212EEB6B3541D08F31F7128626415DEE5A22DF6B35415829CBD0E7852641994C152CD46B35413080B7C0B8852641BC490CC2CE6B3541506B9A379E852641FF2A8756CB6B354160AC8BDB83852641FF21FDF6C66B354140674469678526419A4C150CBC6B3541606210583685264146257522AF6B354180BE9F1A05852641EFFDD438A26B3541805149DDD3842641CC19511ACC6A354140A392FAAE842641A6A44EA0896A3541E8BE0E1CA48426417E1D38C77F6A3541D05F768FC2842641FD770BE4716A3541788EE472EB84264154A60A265E6A354170847CD00D85264123D26F7F496A3541C098BB162C852641994C15CC366A354178A7578A4C852641CE915CBE246A3541C0AACF157D85264104000000020000000002090000000219000000024600000005000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003000000000300000003, CAST(173423 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (175389, N'{C5B2DBF9-A793-455C-A184-7F6E9394DD95}', N'001566318', 117903, N'VIP877', NULL, N'1566318', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'Block 11', NULL, N'THAT PART OF LOT 6, BLOCK 11, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:51:00.000' AS DateTime), CAST(N'2020-09-22T09:16:54.000' AS DateTime), 306, 71, 0xBD0B0000010405000000383CBDF25A37324180938785468E174185B0E1896937324130EBE2B6348E1741BAD1009E63373241B020B0F2E78D1741A0EFA7065537324190C954C1F98D1741383CBDF25A37324180938785468E174101000000020000000001000000FFFFFFFF0000000003, CAST(175389 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (175612, N'{2091B1C7-9C14-4959-8515-156201A76895}', N'001620762', 3, N'NO_PLAN', NULL, N'1620762', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2019-12-19T00:00:00.000' AS DateTime), N'PART 83', NULL, NULL, N'THAT PART OF SECTION 83, ESQUIMALT DISTRICT, SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 27319 AND CONTAINING 1.6 ACRES MORE OR LESS, EXCEPT PLAN EPP91789', N'0065', N'0005', N'YES', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'0', NULL, CAST(N'2020-01-20T09:59:33.000' AS DateTime), CAST(N'2020-09-29T10:31:43.000' AS DateTime), 6268, 518, 0xBD0B00000104160000005B17B7D1F60F324160F4DB57356117419CABAD98E70F3241E0240681216117412FFF21BDE40F32414014AEC71D611741166A4D93840F3241F0452575A0601741FEDD02C9290F3241E02E6E232A6017412319DCD4280F3241803B6C9F316017417157E0BC270F3241000153CB386017418363B182260F324190F66E9C3F6017417D102428250F3241B00E940846601741637E3DAF230F324100E52C064C6017419016301A220F3241600A498C516017415644586B200F3241F05AAA925660174137EF38A51E0F3241204ED1115B6017410D022BE7200F324150C66D34756017418516D9AE230F3241C040826295601741C3A8A42E480F3241406A4DF3C4601741927EFB9A6C0F324140D5E76AF4601741C632C411910F3241B0D85FF623611741DD938765B50F3241503E575B5361174108B5A6D9FD0F3241B089B0E1B161174144EA04F402103241404CA68AB86117415B17B7D1F60F324160F4DB573561174101000000020000000001000000FFFFFFFF0000000003, CAST(175612 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (176249, N'{037C62DA-2FB8-41F4-9897-028B73DBEE12}', N'001706292', 12929, N'VIP218A', NULL, N'1706292', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'Block 24', NULL, N'THAT PART OF LOT 5, BLOCK 24, SHAWNIGAN LAKE SUBURBAN LOTS, MALAHAT DISTRICT, PLAN 218A SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 31051I AND CONTAINING 1.556 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 6, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T18:16:47.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 6848, 336, 0xBD0B000001040C000000DCA370BDADE7314140302A29EBBC184166DE712AF6E731419088F45BF7BC18411E0BAD3EF6E7314140EACDBFD5BC184174066726F6E73141701FD223B4BC18415179A2E1F5E7314190F1AF8B92BC1841C5EC6670F5E7314150C115FB70BC18412BC9C0D2F4E731411018B1754FBC1841CB54C108F4E73141E0482EFF2DBC1841B7627F79F0E73141C019515A62BB1841F953E305EAE7314130EEEBC061BB1841647FD9BDB1E73141C0B88D865CBB1841DCA370BDADE7314140302A29EBBC184101000000020000000001000000FFFFFFFF0000000003, CAST(176249 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (176335, N'{3495202A-D2E3-404E-BC5A-2177F55A406E}', N'007564821', 871407, N'KAP21179', 3350501, N'7564821', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot A', NULL, NULL, N'LOT A DISTRICT LOT 1324 KAMLOOPS DIVISION YALE DISTRICT PLAN 21179', N'0163', N'0028', N'NO', N'MODIFIED-ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', N'60213', CAST(N'2019-07-24T09:49:10.000' AS DateTime), CAST(N'2019-11-04T14:52:04.000' AS DateTime), 59379, 1065, 0xBD0B0000010410000000D0BCE354FDE5344140A4DF7E049022416C8A8E84F3E5344180E2C7D886902241ACE8488E3AE634412017B7519491224148B1D75D41E63441D86C0391B0912241DC11E2FB46E63441901055D8CD9122410E4A855E4BE63441184B25F4EB91224150AA097E4EE63441F06E77AF0A922241C028F05450E63441781836D429922241410DFCDF50E63441C85B922B4992224109A4381E50E63441003A647E689222412AECFA104EE6344188B18B9587922241953FDFBB4AE6344160C1513AA692224138F8C22446E6344150B4C836C492224159F5B93AE1E63441D82406C19E92224149EA04D4CBE63441303108EC12902241D0BCE354FDE5344140A4DF7E0490224101000000020000000001000000FFFFFFFF0000000003, CAST(176335 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (176515, N'{37488343-BB46-43CB-B60A-E4E8F15E46E3}', N'011271426', 849332, N'KAP1946', NULL, N'11271426', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot B', NULL, NULL, N'LOT B DISTRICT LOT 3063 KAMLOOPS DIVISION YALE DISTRICT PLAN 1946 EXCEPT: (1) THAT PART THEREOF LYING TO THE EAST OF THE RIGHT OF WAY OF THE CANADIAN NATIONAL RAILWAY (2) PART LYING EAST OF THE EAST BOUNDARY OF PLAN H952 EXCEPT THAT PART THEREOF LYING TO THE EAST OF THE RIGHT OF WAY OF THE CANADIAN NATIONAL RAILWAY AS SHOWN ON PLAN C.G. 171', N'0163', N'0028', N'NO', N'MODIFIED-ICF', 7, NULL, N'UNKNOWN', N'0', N'23712', CAST(N'2019-11-19T09:21:29.000' AS DateTime), CAST(N'2019-11-19T09:21:30.000' AS DateTime), 23719, 941, 0xBD0B000001040C000000302AA953BE433641B04082E2A79A27418BF4DB77EE43364198A982111A9A27418E3A014D9C433641801058F9099A274112A5BD61B3423641C8B88DC6DE9927414C7424B7AC4236414055302A769A27410EF2418F9243364108F1F4CAA09A2741302AA953BE433641B04082E2A79A274182FB3AD0E2433641D8BCE394819A2741A9E8488ED6433641B047E13AA19A2741678863DDFB433641A04DF30EA89A27412606819507443641A85AD3FC1E9A274182FB3AD0E2433641D8BCE394819A2741020000000200000000020700000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(176515 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (177750, N'{CF80E1ED-6691-4AAA-949C-2949E997EF87}', N'011592991', 868192, N'KAP1459', NULL, N'11592991', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'Block 9', NULL, N'LOT 2 BLOCK 9 DISTRICT LOT 706 YALE (FORMERLY OSOYOOS) DIVISION YALE DISTRICT PLAN 1459', N'0114', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-03-25T13:21:59.000' AS DateTime), 1103, 176, 0xBD0B00000104050000003008AC1C8C523541F0A982D112081F410CA5BD218A52354190B7408221081F413F8B6C27D5523541F0AD476133081F41A7ADD87F9952354150075F98AF071F413008AC1C8C523541F0A982D112081F4101000000020000000001000000FFFFFFFF0000000003, CAST(177750 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (179364, N'{28DC1C42-DDE8-4BA1-9349-40DABCFB7E2B}', N'009148264', 5461780, N'VIP366', NULL, N'9148264', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', NULL, NULL, N'LOT 2, BLOCK 114, NEWCASTLE TOWNSITE, SECTION 1, NANAIMO DISTRICT, PLAN 366, EXCEPT PART LYING NORTH OF BRECHIN ROAD INCLUDED IN PLAN 3892', N'0084', N'0021', NULL, N'PMBC-COMPILATION', 0, NULL, N'COGO IN SOURCE', N'0', N'11.99', CAST(N'2021-06-08T10:37:50.000' AS DateTime), CAST(N'2021-06-08T10:44:07.000' AS DateTime), 12, 17, 0xBD0B00000104040000000ACE19B1878B3141D010C7BABD631C41AD7268518D8B3141F0C8E5BFAC631C4173AC8BBB878B3141D0B9DA8AAC631C410ACE19B1878B3141D010C7BABD631C4101000000020000000001000000FFFFFFFF0000000003, CAST(179364 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (179534, N'{F9D22B3A-B6D0-4819-9CB2-734CD3171E03}', N'007381964', 3, N'NO_PLAN', NULL, N'7381964', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 90', NULL, NULL, N'THAT PART OF LOT 5, DISTRICT LOT 90, ALBERNI DISTRICT, PLAN 1486, AND THE ABANDONED ROAD ADJOINING, BEING THE UNCOLOURED PORTIONS AND THE PORTIONS COLOURED GREEN INCLUDED WITHIN THE AREA SHOWN OUTLINED IN RED ON PLAN 387 RW', N'0163', N'0029', N'NO', N'ICF', 4, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2021-06-22T12:58:44.000' AS DateTime), 2422, 428, 0xBD0B000001042A00000068B3EA7338823041507B142EA0011D412B31741F3A82304120C68C049D011D41A4F31FCD3B82304160734DED99011D419978E17C3D823041D08B6DE896011D41482EAC2E3F823041308F03F693011D41C07373E2408230416074251691011D412E992A984282304100A7E8488E011D4185656E0644823041E07AF4248C011D4140DEDF754582304160EDC50D8A011D4123E377E6468230410060670388011D41544E2F5848823041D0F3E20586011D415BF4FECA49823041408A421584011D413DA4DF3E4B82304100C58F3182011D41EE384587B6823041703A014DF4001D41EDDB80F5B7823041C029995FF2001D4154A5BC62B982304150597A66F0001D419296F2CEBA823041F013AD61EE001D4157B51C3ABC823041F0D43951EC001D41BA0B35A4BD823041F0482935EA001D4158A8350DBF823041104D840DE8001D4158093D8FC7823041E02BBFDDD9001D415B0154E0CF82304140C10FF8C9001D41B9E5FAFAD7823041F0C1F866B8001D41C609D6D9DF82304150791736A5001D41BA49B177E782304140181C7290001D41497B83CFEE823041A054C1287A001D4128CB10C7EF82304110AC1CDA36001D4109CAEFB9E6823041708CD5B055001D4161E6EC27DD82304120712DE971001D415A17211DD3823041C055785F8B001D4113023EA6C882304160B386F3A1001D41E7ED7DD0BD8230411032CE88B5001D41E00B93A9B282304190B88D06C6001D4141C6DC35A082304120D9CE77DE001D418B5AD35C47823041D01951DA53011D41714D1DEA448230416042F92D57011D416254747A428230414020BEA45A011D417DE8F70D4082304180F2723E5E011D41EB59C7A43D823041F035E9FA61011D4157CE013F3B823041F0A5F0D965011D41183FC6DC38823041D03E57DB69011D4168B3EA7338823041507B142EA0011D4101000000020000000001000000FFFFFFFF0000000003, CAST(179534 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (179637, N'{A6989AEE-65E9-4FC7-93DF-D9B451A888F7}', N'002910942', 117903, N'VIP877', NULL, N'2910942', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 17', N'Block 9', N'', N'THAT PART OF LOT 17, BLOCK 9, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:57:39.000' AS DateTime), CAST(N'2021-06-29T16:56:39.000' AS DateTime), 306, 71, 0xBD0B0000010406000000F1FDD4987938324140F38E53E98C17417E8CB92B883832419029CB90D78C1741104FAF348238324130F697DD8A8C174161BA49AC73383241104E62909C8C17412FFF21FD7838324100454772E18C1741F1FDD4987938324140F38E53E98C174101000000020000000001000000FFFFFFFF0000000003, CAST(179637 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (179842, N'{737190AE-E8D0-4485-9F55-4B6F86302B01}', N'011412437', 3, N'NO_PLAN', NULL, N'11412437', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 174', N'', N'', N'THAT PART DISTRICT LOT 174 SIMILKAMEEN DIVISION YALE DISTRICT SHOWN RED ON PLAN ATTACHED TO DD 678 EXCEPT PLANS B6291, 4683, 7004 AND 18428', N'0059', N'0022', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-07-21T09:00:05.000' AS DateTime), 60643, 3629, 0xBD0B00000104690000000693A942131C364120499D80DC971D41E8C039632A1C364180855A53E2971D4135CD3BCE411C364170C7293AE8971D41B6627F39591C36415009F920EE971D41171DC9A5701C3641E0DD0209F4971D414482E2C7721C3641B0DA8AFD77971D4185FD6557451C3641B088D2DE6A971D4149696FD0151C36417031082C5D971D410693A942131C364120499D80DC971D41EBC039830F1D364110D26FDFA4971D41B637F8C2FA1C36416030BBA79E971D4174810405E61C3641F00B93A998971D41F241CF46D11C3641500C02AB92971D4159A8356DC91C36419066666690971D41AD8BDB88BC1C364150C3D3AB8C971D417724977F7C1C364160B5A6F979971D41D2BCE3347A1C3641E07F48BFF6971D411AFBCB0EB81C3641E0D781F306981D41FC21FD56CD1C3641E0F0F4CA0C981D41AABDC1B70D1D3641F0F7C2641D981D41EBC039830F1D364110D26FDFA4971D4178BE9FBACF1D3641707FD93DD7971D415539B4E8BF1D364140D26F5FD3971D41AD47E11AB01D3641C0490C82CF971D41D3F0F48AAB1D364150CFF753CE971D41AFBFEC3E961D3641D02FBB27C9971D41BB15FBCB801D3641108F53F4C3971D411451DABB611D3641A0B0E169BC971D41071B9E5E181D364140CF6655A9971D41E17A14CE151D3641000612141A981D41EE9E3CCC831D36410086C9D438981D4152FC18D3831D3641E061A1D638981D41B8F3FD94A91D3641501895D443981D41925CFE83B21D3641C01F636E46981D41AE7BF2F0C41D36412075029A4B981D4112E02D30D71D3641A0FF907E50981D416544696FE91D3641401B0D6055981D41C3A8A4AEFB1D3641F08095435A981D41E4839E0D171E364180E2C79861981D41E68C284D291E36412048507C66981D410A68228C3B1E364190ADD85F6B981D419CEFA7863D1E36417006F016F2971D41EF85C9D41E1E3641E073B595EA971D41966E12030F1E364110C74BB7E6971D413C60E530FF1D36417019E2D8E2971D41EB51B85EEF1D3641106C78FADE971D41D2CCCC8CDF1D3641902C431CDB971D4178BE9FBACF1D3641707FD93DD7971D410EE02D70811E3641705530AA06981D4144136163811E3641B0E61DA706981D411CB7D1404F1E3641A0051294F9971D418BA7574A4D1E36414094F60672981D4198D40968561E3641B0D32B6574981D419B01BC855F1E364120A779C776981D412041F1A3681E3641F09DEF2779981D418E28EDAD681E364170E7FB2979981D41BE5B20C1711E3641C04B37897B981D413F9B55DF7A1E3641A042ADE97D981D4146C807FD831E364150A7E84880981D41957EFB1A8D1E3641F09D5EA982981D414750FC38961E3641504CA60A85981D4121F46C569F1E3641F067226C87981D4166AA6074A81E364190CC5DCB89981D416DD71292B11E3641407AA52C8C981D41BB8D06B0BA1E364170711B8D8E981D41FD43FACDC31E364100B150EB90981D4164CC5DEBCC1E36413016D94E93981D41B459F5F9CC1E36410085EB5193981D41E4141D29D61E3641A0A145B695981D41409B551FD81E3641F03845471D981D41EE0DBE50BA1E3641E0FF907E15981D41D756ECAF931E364120B1BF6C0B981D410EE02D70811E3641705530AA06981D4138014D44EA1E3641D0627F591E991D41536210F81D1F3641002C65192C991D411171AC2B201F36412048BFFDA5981D4132772D81201F364170E6AEA591981D41F453E345B31F364170BC7493B8981D417E95434BB31F3641D04EAF94B8981D41B547E15A1220364150F0F4CAD1981D41D4F97EAA132036417081954380981D41C8BAB84D751F364190832FCC54981D4159204131EE1E3641D05886B82F981D4138014D44EA1E3641D0627F591E991D4198BB96B0FA213641E012614316991D414DE3A5FBF82136416073469475991D4178F2B0F05C223641002C659990991D41C57F48FF5C22364130E4839E90991D41283108AC61223641205C8FC216991D4198BB96B0FA213641E012614316991D4134B4C89627203641803480B799981D41376744092620364120F8C26409991D41D42B651937203641D00968A203991D415CEC2FDB51203641B0529621FB981D41403EE8F96A203641C0C64B37FA981D41BADA8ABDC120364180CB7FC80F991D41634BC8C7C120364130158CCA0F991D419C89B0C128213641308A1F6329991D4189635D9C26213641500C02ABB1991D41D68173A6E3213641F0D78173E5991D41816ABC74E5213641C08AFD656E991D417EB740C2E6213641304772F90E991D4150D1917CE82136413045477290981D4198BB965029203641A09465881C981D4134B4C89627203641803480B799981D4107000000020000000002090000000215000000023000000002490000000254000000025A00000008000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003000000000300000003000000000400000003000000000500000003000000000600000003, CAST(179842 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (181122, N'{14FD5E82-356F-4A53-8875-53FB97F17016}', N'014038234', 495656, N'NEP245A', NULL, N'14038234', NULL, N'78631000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'Block D', NULL, N'LOT 4 BLOCK D SECTION 5 TOWNSHIP 1 KOOTENAY DISTRICT PLAN 245A', N'0163', N'0004', N'NO', N'ICF', 1, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-10-13T15:50:16.000' AS DateTime), 246, 80, 0xBD0B000001040500000070D71292C83B394138C9E5BFC9472141109C3382BF3B394130BB27CF06482141A513D0C4C63B394100F9A0270B482141B4A67927D03B3941F8B9DA0ACD47214170D71292C83B394138C9E5BFC947214101000000020000000001000000FFFFFFFF0000000003, CAST(181122 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (181160, N'{67B378D5-8559-4AA6-807D-DEDB75A30284}', N'005371627', 472072, N'NEP740', 11332071, N'5371627', NULL, N'5320353005', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'Block 3', NULL, N'LOT 6 BLOCK 3 DISTRICT LOT 267 KOOTENAY DISTRICT PLAN 740', N'0053', N'0018', N'NO', N'ICF', 1, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-10-15T10:48:56.000' AS DateTime), 358, 88, 0xBD0B000001040500000046696F704B043A41303A92CBBB2B244142FAED4B46043A41B8DFBE8ECE2B24414A0C02AB63043A4100C58FF1EE2B2441AF7268D168043A41284CA64ADC2B244146696F704B043A41303A92CBBB2B244101000000020000000001000000FFFFFFFF0000000003, CAST(181160 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (181732, N'{E7B0EA50-E2A1-4F10-9C13-9FDFE9A41DF4}', N'000659240', 1168354, N'NWP16920', 33058451, N'659240', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', CAST(N'2001-04-11T00:00:00.000' AS DateTime), N'Lot D', NULL, NULL, N'LOT "D" SECTION 25 BLOCK 5 NORTH RANGE 3 WEST NEW WESTMINSTER DISTRICT PLAN 16920', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2021-11-22T13:49:10.000' AS DateTime), 1620, 189, 0xBD0B0000010405000000A8605492F9B73241B016D94E3D941C410B560E4D06B8324170EEC9C3E2931C41381AC0DBBAB73241D00DBE30D4931C41EF7C3FF5B9B73241C046947631941C41A8605492F9B73241B016D94E3D941C4101000000020000000001000000FFFFFFFF0000000003, CAST(181732 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (182966, N'{6754B0AF-59DC-4B80-83C9-20EF9D18D97C}', N'015904181', 489711, N'NEP1214', NULL, N'15904181', NULL, N'7102546200', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', N'', N'', N'LOT 3 DISTRICT LOT 7892 KOOTENAY DISTRICT PLAN 1214 EXCEPT PART INCLUDED IN PLAN 8062', N'0163', N'0004', N'NO', N'ICF', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:23:59.000' AS DateTime), 47958, 1355, 0xBD0B000001040E000000F2CBEE0953DF37415885EB51987921413670CEE85DDF374158378981D1782141F20DBE700CDF3741985E298BBD7821411A3FC63C01DF37416826C28685792141F2CBEE0953DF37415885EB5198792141BAD1003E7BDF3741306EA301D7782141CD6F5F0770DF3741C035CDFB9E792141B96B09F910E03741C06B09F9C37921418CF4DB9758E03741D0938785D4792141270681F5F7E03741B8749358F9792141721B0D2003E1374170DE710A3179214104CE19F1F8E03741C0FC87B42E7921415B7DAE9693DF3741A0BDC197DC782141BAD1003E7BDF3741306EA301D7782141020000000200000000020500000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(182966 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (183156, N'{9F68E56A-B5CF-4F91-B0B7-C86C4598CB8E}', N'011561360', 853153, N'KAP1467', NULL, N'11561360', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 6', NULL, NULL, N'THAT PART OF LOT 6 DISTRICT LOT 517 KAMLOOPS DIVISION YALE DISTRICT PLAN 1467 LYING TO THE SOUTH AND EAST OF THE TRANS CANADA HIGHWAY AS SHOWN ON PLAN H843 EXCEPT PLANS 7084, 10673 AND H15272', N'0017', N'0028', N'NO', N'ICF', 8, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-12-18T15:08:02.000' AS DateTime), 51090, 1063, 0xBD0B0000010411000000976588C3210B364198E8486EBA4B2441470C02AB610B3641A0B96B09164C2441CD88D2BE710B3641489621CEA44A2441B3E1E9757D0B3641E02406C197492441BF5296E1D30A3641D07C3FF5784924413E8B6C47B90A364108F7752074492441DD4F8DF7790A364198FF90FE3E4A24412ACB10E79D0A3641C89F1AEF6A4A2441CD22DBF9A50A364178234ABB5B4A244198658843BB0A3641F866D5A7334A2441208E7531BF0A36413844FA2D474A24417D2F4CC6D70A3641384ED151C14A244104F9A027C10A364168A1D6B4D34A244137DF4F4DCE0A364170D93D39154B24413DCF6655DF0A36419014AE871D4B24410FA5BD61F30A3641F885C9948D4B2441976588C3210B364198E8486EBA4B244101000000020000000001000000FFFFFFFF0000000003, CAST(183156 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (183628, N'{64555EC8-D5F5-426C-B737-CE97564C4CD3}', N'016846885', 490000, N'NEP768', NULL, N'16846885', NULL, N'7078387050', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'', N'', N'THAT PART OF LOT 4 DISTRICT LOT 7069 KOOTENAY DISTRICT PLAN 768 INCLUDED IN REFERENCE PLAN 88697I', N'0163', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:11.000' AS DateTime), 20211, 591, 0xBD0B0000010408000000567DAE76DF183941A0C954815DDB2041231FF44C4A193941884AEA047DDB2041ECC03963531939416819E2D8E7DA20416007CE1961193941B0F3FD9405DA2041A2D634AF3019394130B29D2FF9D92041CD073D3B2419394118C9E5FFF5D920416E8A8E04F7183941A0E8486EEAD92041567DAE76DF183941A0C954815DDB204101000000020000000001000000FFFFFFFF0000000003, CAST(183628 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (183644, N'{6DA23638-BCE5-4254-B996-CEB6867C4C84}', N'008168555', 136474, N'VIP283', NULL, N'8168555', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 11', N'Block 5', N'', N'LOT 11, BLOCK 5, SECTION 4, VICTORIA CITY, PLAN 283', N'0153', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:05:01.000' AS DateTime), CAST(N'2019-01-05T10:22:15.000' AS DateTime), 675, 110, 0xBD0B0000010407000000EFFDD4D86639324120C286A77E7C174165AA60D474393241A0923A81597C174124F6973D6039324120CE19D1DE7B174152499D0051393241B0D0B359077C1741AEBFECBE6339324190703D0A777C17410CBE30B964393241908863DD7C7C1741EFFDD4D86639324120C286A77E7C174101000000020000000001000000FFFFFFFF0000000003, CAST(183644 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (183685, N'{180B85E3-11A8-45CB-991A-EB6FC1FA19F9}', N'001660063', 3, N'NO_PLAN', NULL, N'1660063', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 28', N'', N'', N'THOSE PARTS OF SECTION 28, ESQUIMALT DISTRICT INCLUDED WITHIN THE AREAS SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 15377I', N'0154', N'0005', N'NO', N'MODIFIED-TANTALIS', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:09:41.000' AS DateTime), CAST(N'2019-01-05T10:22:24.000' AS DateTime), 7696, 623, 0xBD0B000001042B000000293A920B6324324120E561A1FE951741A64D1DF762243241E0866CD6FD95174190FCCADD62243241D0377114FD9517414C71D9BF62243241A0324C5DFC951741252F929D62243241C019BFB2FB951741C35D497762243241D0A26C16FB951741B2FA5C4D622432411095D489FA951741AA0E5CE44C24324130B47AEADA951741B23A04CD3724324170A12808B8951741B0CD470F23243241600903F091951741DF53F7B20E243241503C64B068951741B2A4BEBFFA23324180C5D6583C95174131FF213DE7233241E0900FFA0C95174175CE5C7ADB2332416014432AEA941741EDF53FBCCF233241807A5741C79417412FD0CE02C423324170BB563FA494174176B60C4EB823324180D74A2481941741AA00FD9DAC23324160D43DF05D9417415005A3F2A023324110C139A33A941741AEBFEC7E8D233241003333B3F8931741F1F44A598D233241501B0DE0F8931741D6767BC78B23324140876C08FB93174101DF033A8A233241C059F960FD931741DF9340B18823324180F627E9FF931741F6E38C2D87233241E0AE61A00294174186F042AF85233241A0E3048605941741C698BB3684233241C02B6599089417418C52248F81233241C067FDB20E941741DB6C24E77E2332419042BCC914941741A018BC3E7C233241804CA1DD1A941741DA86EB9579233241B015ACEE2094174184E8B2EC76233241602EDCFC269417419A6E124374233241202731082D9417419C48902A9723324140132AE5AA94174170D24F5BBC233241F0CF3FCE1D9517414A0D769EE3233241E07EF4198595174193A419BA0C24324170F7EB2FE0951741F458987137243241107CCC892E961741666FF0856324324130EA04B46F961741213867E47324324180BC741384961741D400DE6273243241002FDDA4809617413692CBDF7624324170DE020985961741293A920B6324324120E561A1FE95174101000000020000000001000000FFFFFFFF0000000003, CAST(183685 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (183824, N'{B6451375-2CEF-42ED-8C4B-954509A99C36}', N'002911108', 117903, N'VIP877', NULL, N'2911108', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'Block 10', N'', N'THAT PART OF LOT 6, BLOCK 10, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:29:32.000' AS DateTime), CAST(N'2019-01-05T10:23:06.000' AS DateTime), 306, 71, 0xBD0B00000104050000006B006FC10E38324100857C506B8D17415E1058591D38324110E0BE8E598D174134CD3B6E1738324160CCEEC90C8D1741C498BBD6083832413003788B1E8D17416B006FC10E38324100857C506B8D174101000000020000000001000000FFFFFFFF0000000003, CAST(183824 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (184450, N'{0082351D-2A26-4D5D-8685-8CDC2935452E}', N'006270531', 248042, N'PGP27802', 90054465, N'6270531', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'', N'', N'LOT 6 DISTRICT LOT 6006 CARIBOO DISTRICT PLAN 27802', N'0163', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:17:47.000' AS DateTime), 19823, 694, 0xBD0B0000010405000000E5F21FF2F4EF35413890A078F8AA2B416A19E2F874F03541409FABEDDEAC2B4110363C5DB5F03541402CD45A9EAC2B4121D26F9F35F03541F8C48FF1B7AA2B41E5F21FF2F4EF35413890A078F8AA2B4101000000020000000001000000FFFFFFFF0000000003, CAST(184450 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (184633, N'{371B2E12-2644-4533-95E5-8EF115A0ED87}', N'014263360', 299180, N'PRP948', NULL, N'14263360', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 13', N'Block 4', NULL, N'LOT 13 BLOCK 4 DISTRICT LOT 3 QUEEN CHARLOTTE DISTRICT PLAN 948 EXCEPT PLAN 6937', N'0116', N'0026', N'NO', N'ICF', 10, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-02-18T09:49:47.000' AS DateTime), 0, 2, 0xBD0B00000104040000000E8A1F6399512241A89465880D762C4118BE30599A512241509B555F0C762C415E598638995122417063EE9A0B762C410E8A1F6399512241A89465880D762C4101000000020000000001000000FFFFFFFF0000000003, CAST(184633 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (184655, N'{8071039E-0F01-45BE-8B7E-4269211338EC}', N'001646206', 131396, N'VIP2553', NULL, N'1646206', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'', N'', N'THAT PART OF LOT 2, SECTION 47, SOOKE DISTRICT, PLAN 2553 SHOWN OUTLINED IN RED ON PLAN 88 RW AND CONTAINING 0.14 OF AN ACRE MORE OR LESS', N'0133', N'0005', N'NO', N'MODIFIED-ICIS', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:03:02.000' AS DateTime), CAST(N'2020-05-09T21:08:08.000' AS DateTime), 569, 105, 0xBD0B0000010405000000AF03E7EC48DD314180D3BCE38F2217416B6FF02524DD314120C898BB5D2217419CFF907E21DD314120F163CC75221741F2D24D4234DD3141608104C5DB221741AF03E7EC48DD314180D3BCE38F22174101000000020000000001000000FFFFFFFF0000000003, CAST(184655 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (184905, N'{75C65AC6-03B0-49B7-9B11-A408C1013224}', N'002911094', 117903, N'VIP877', NULL, N'2911094', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'Block 10', N'', N'THAT PART OF LOT 4, BLOCK 10, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:28:21.000' AS DateTime), CAST(N'2019-01-05T10:52:59.000' AS DateTime), 306, 71, 0xBD0B0000010405000000BADA8A9D34383241B05DDC46E98C1741F553E30526383241F0263108FB8C174176E926F12B383241A03A01CD478D1741FFDD02893A38324120280F0B368D1741BADA8A9D34383241B05DDC46E98C174101000000020000000001000000FFFFFFFF0000000003, CAST(184905 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (185468, N'{439D4A4A-316C-4AAC-AAAA-1A7A097283EC}', N'007576382', 128602, N'VIP1347', NULL, N'7576382', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'Block 1', N'', N'LOT 2, BLOCK 1, SECTION 33, VICTORIA DISTRICT, PLAN 1347, EXCEPT PART IN PARCEL A (DD 329871-I)', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:07:10.000' AS DateTime), CAST(N'2019-01-05T10:54:47.000' AS DateTime), 168, 61, 0xBD0B0000010409000000D5817386423C324150D3BCE30E9B1741A60A46E5423C3241603FC65CEF9A1741D5A370FD423C324100189554E79A174130BB27EF423C324170CE8852E79A1741D878E9263C3C32413039B448E69A1741F5C2646A313C3241300AD7A3E49A1741410AD763413C3241607A362B309B1741E47A142E423C32419039234A309B1741D5817386423C324150D3BCE30E9B174101000000020000000001000000FFFFFFFF0000000003, CAST(185468 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (185849, N'{BC81229E-5BF4-466D-98AA-D87943B302BD}', N'009885242', 871298, N'KAP8158', NULL, N'9885242', NULL, N'72402140010', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot A', N'', N'', N'LOT A DISTRICT LOT 2032 KAMLOOPS DIVISION YALE DISTRICT PLAN 8158 EXCEPT PLANS H17911 AND KAP63121', N'0163', N'0028', N'NO', N'ICF', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:22.000' AS DateTime), 23023, 961, 0xBD0B000001040E00000087C95401BE5D3541384A7B8363562641AD69DE31765D3541B0438B6C58562641F241CFC6655D3541F8D47869FB57264106D7A3B0795D354190180416D7572641CD66D567C15D3541204850FC95572641580E2D12E35D3541682BF6972A57264169D5E7EAE45D3541E076BE9FBA562641557DAE76E85D354118CE19116A56264187C95401BE5D3541384A7B8363562641D9ACFAFC835D3541485EBA09F6572641DB12F261635D3541E0FBA9F1365826416C226C385B5D354100B37BF2015926411C85EB31AF5D354150431CABCE572641D9ACFAFC835D3541485EBA09F6572641020000000200000000020900000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(185849 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (186136, N'{7D0582CA-47B6-4508-B535-E56AC049D2F0}', N'009659790', 873738, N'KAP9804', 3246951, N'9659790', NULL, N'72401245520', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', NULL, NULL, N'LOT 1 DISTRICT LOT 1634 KAMLOOPS DIVISION YALE DISTRICT PLAN 9804', N'0007', N'0028', N'NO', N'ICF', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-12-21T14:05:57.000' AS DateTime), 774, 121, 0xBD0B00000104060000005BC1A824D2813541D822DBB9AA682541BE172653F3813541F085C95491682541BD42ADA9F9813541C017265381682541DCC798BBF4813541906ABCB46868254159C1A8A4CB8135412863EE5A8A6825415BC1A824D2813541D822DBB9AA68254101000000020000000001000000FFFFFFFF0000000003, CAST(186136 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (186193, N'{B0AE5A41-C85F-4028-979E-2A860E207957}', N'001637169', 3, N'NO_PLAN', NULL, N'1637169', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 5', NULL, NULL, N'THAT PART OF SECTION 5, METCHOSIN DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 17210F AND CONTAINING 4.15 ACRES MORE OR LESS, EXCEPT PART IN PLAN 46650', N'0079', N'0005', N'NO', N'PMBC-COMPILATION', 3, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', N'16115', CAST(N'2016-01-06T19:59:13.000' AS DateTime), CAST(N'2020-12-22T10:18:31.000' AS DateTime), 15952, 1291, 0xBD0B000001047F0000000DE9B70F15093241B0423E68FCE8164196559F4B15093241B0E848AE4AE91641098A1FA315093241A0DFBE0EBDE9164110143FE615093241D0770BA414EA1641BF5B206116093241E061A156B5EA164126E4833E31093241E04E40136FEA164100DE0249300932415051DA9BF9E8164128BE8B2A30093241A0254498DAE81641418140F62F09324150048096BBE81641D3C522AC2F093241E0BC83979CE8164184D7344C2F0932416008459C7DE81641BEAE79D62E0932416082B9A55EE81641D6F0F44A2E09324170A1D6B43FE816418C7AD6E32C093241601E2EBA05E81641E806A8E72A093241D0155E05CCE716410B6E3C5728093241D0C457AE92E716413F09A43325093241207EE5CC59E71641D9412C7E21093241A0CCA07821E71641F5065F381D09324140A7E8C8E9E616411E5A64DB1E093241407DAEB6E6E61641DF9C11C51E093241B0B437F8E5E61641645DDCA616093241D0770BA4A0E61641DAF6D34D1409324160790C1689E616416E2672D91109324120CDD3B471E616418A42EC490F093241807B5D825AE6164185EF799F0C0932416095A18043E61641A31A55DA09093241000894B12CE616415CF5B9FA060932414074241716E6164104DE02890609324140B7D10017E616417F2F4CC602093241C04082E2F6E51641073411D6EA083241C09465082BE61641EA3FA4FFEE083241D00AB5264AE61641A4CC7E21F60832413063CA9C84E61641FF2BED8BFC083241F0B12663C0E616418EC6133B02093241B0ACD855FDE616415CA1872B0709324160733A503BE716412A6C505A0B0932419096072D7AE716418F4AEAC40E093241E08173C6B9E71641F105C5BC0F093241A06CD846CFE71641102E319E10093241B0DEA5D6E4E716417B781F6911093241806D6574FAE716415821821D1209324110BC9F1E10E8164149EC4CBB12093241D095DCD325E816414925754213093241A005A3923BE81641B2EA73551309324100FED4F83EE81641C99F2A5F13093241705CF1BF40E81641319BBA681309324180D91A8742E81641B6DB2372130932411041514E44E816415960667B13093241405E941546E81641FB27828413093241E0FBE3DC47E816419131778D13093241C0E53FA449E81641A89BC42014093241E0F21FD26CE816414EA60A861409324190CB7F4890E8164108F9A0C7140932412003780BB4E816410AB5A6D914093241C04B3789C3E81641E8FBA9F11409324110BF0E1CD8E816410DE9B70F15093241B0423E68FCE8164152FC18F319093241906E12037EEC1641265C8FA21A093241205986B893EC16410D9C33621B09324140D04458A9EC1641AE69DE311C093241F064AAE0BEEC164105C58F111D093241E0164850D4EC1641C05B20011E093241B00A46A5E9EC1641DE2D90001F09324140D100DEFEEC16417E04C50F20093241A0D93DF913ED164133C4B12E2109324140D8F0F428ED16410E363C5D2209324150CDAACF3DED1641C7073D9B2309324110B9FC8752ED16415739B4E8240932412051DA1B67ED164150AF94452609324130DE718A7BED16418EA982B127093241E0A982D18FED1641E895B22C290932410020D2EFA3ED164137B4C8B62A09324160D3BCE3B7ED1641F21FD24F2C09324170C3D3ABCBED164195559F2B2E093241B098BB16E2ED1641C98F311730093241503BDF4FF8ED164190976E1232093241608638560EEE1641A01A2F1D34093241C09DEF2724EE164139AB3E3736093241C01261C339EE164151499D60380932411030BB274FEE16414C50FC983A093241A0A9F15264EE1641A3A44EE03C093241F0CA324479EE1641B2D85F363F093241B04772F98DEE16410488F43B4109324160F8C2649FEE1641A25E294B43093241E00AB5A6B0EE1641C0F5287C5809324180B1BFEC5FEF1641A53E579B700932417035CD3B2FEF16413F0AD70371093241C0423E682EEF164185DB686071093241B0C342AD2DEF16419C11A5DD7009324160B3EA7329EF16411B1DC98570093241A0F3FD542AEF1641723480175C093241707BF23081EE1641A40A46C559093241305F98CC6DEE1641BC5B208157093241407A362B5AEE16414A03784B55093241C0F1414F46EE1641769318245309324190A2233932EE16414603780B51093241F0F97EEA1DEE1641BD5296014F0932410066F76409EE1641A2EFA7064D093241505530AAF4ED1641402CD41A4B09324190EC2FBBDFED164195081B3E4909324170999999CAED16416129CB7047093241B0A67947B5ED1641848EE4B24509324120EF38C59FED1641E2A59B0444093241F0BCE3148AED164151A60A664209324190EB513874ED16416FE55E673E093241303AB46838ED16417D6720F73A09324170A0210CFCEC1641052E84163809324110ADCA37BFEC16417BCE8CC63509324100FA090182EC16417A170A083409324190AD5C7D44EC1641DDC798DB3209324170EE5AC206EC16416D3480973209324110166ACDF2EB164180C0CA6132093241801648D0DEEB16411E6C783A3209324110A8C6CBCAEB1641C0529621320932416012F2C1B6EB164169F7E4813109324110A2B437CDEA1641DC141DA91609324100B22E6E13EB164155423E281709324160BA498CB9EB1641711B0DC01609324140984C15CEEB1641C7C342ED1609324190C7983BE4EB16417E9ECD2A1709324150D0B359FAEB16417FE2C7781709324130D6C56D10EC16414D7424D717093241A046947626EC164131E6AE4518093241F0D712723CEC16416C8A8EC4180932410040355E52EC16419E45B65319093241E0EBC03968EC164152FC18F319093241906E12037EEC1641020000000200000000023900000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(186193 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (186361, N'{C7F16D44-FF49-422F-8DAD-E8847187D5E5}', N'003799611', 138798, N'VIP18921', NULL, N'3799611', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot A', N'', N'', N'LOT A, SECTION 36, VICTORIA DISTRICT, PLAN 18921', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:55:42.000' AS DateTime), CAST(N'2020-12-22T11:22:31.000' AS DateTime), 3529, 293, 0xBD0B000001040A0000003AEF38A514463241E0C798BBB18B17410AA3921A1446324110FDF6F5FE8B1741DA56EC8F134632410057EC2F4C8C1741864160051346324190B0E169998C1741A613D08412463241B0A223B9E68C17419C438B0C3146324100917E7BE98C1741DA9AE6FD3346324130F9A0E7198B1741E1C798BB15463241702C439C168B1741F41FD22F15463241106EA381648B17413AEF38A514463241E0C798BBB18B174101000000020000000001000000FFFFFFFF0000000003, CAST(186361 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (187208, N'{6BCBC15E-C03C-4F78-B367-83109ADD87F8}', N'009777342', 477783, N'KAP39202', 34861181, N'9777342', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', NULL, NULL, N'LOT 1 SECTIONS 15 AND 22 TOWNSHIP 19 RANGE 9 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 39202', N'0163', N'0012', N'NO', N'ICF', 6, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-05-26T16:47:52.000' AS DateTime), 67256, 1547, 0xBD0B00000104180000008004C50FBC9C364148E258D70DB7234185F4DBD7BD9C364160C3D36BE8B62341A2ABAD985D9D36414054522706B7234107CE19115F9D3641181214BFE1B62341F0A7C6CB709D3641088C4A2AE5B62341BCFC87D47B9D3641F8AF72E8D8B6234141C6DC55959D3641200F0BF557B6234131431CCBA09D364138F08549C9B52341FA5C6D859C9D364168B4C876BDB523419206F056949C3641A025E4036DB52341917571DB819C364180CFD596DAB62341A1A223F9609C3641E8164810D4B62341DC2406015F9C3641A8779CE2FBB62341DA6800EF809C3641D097DD9302B723418004C50FBC9C364148E258D70DB72341361AC0FBB59D3641F05E984CD3B523413ECF66D5A99D36416809F9E062B623419106F036879D3641602EFF210EB72341B7F3FD14179E3641B054C16829B7234186EB51D8199E3641283333F329B72341DAACFADC269E3641E0141DC931B62341E873B595289E3641305EBAC916B62341B78D0690BB9D364158787AA5CCB52341361AC0FBB59D3641F05E984CD3B52341020000000200000000020F00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(187208 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (188898, N'{243B7154-E92D-48D4-9647-88C24CF1958F}', N'009057960', 3, N'NO_PLAN', NULL, N'9057960', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'A', N'4', N'', N'PARCEL "A" (STATUTORY RIGHT OF WAY PLAN 22160) SECTION 4 TOWNSHIP 8 NEW WESTMINSTER DISTRICT', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2018-01-09T12:23:28.000' AS DateTime), 45530, 3191, 0xBD0B000001041E000000FCDD02C9FDEF3241206D567D52041C41032B87B614F032418016D9CE59041C4129ED0D9E2BF03241D041CF6662041C41A201BC65E0F2324130D8F0F476051C41EF1FD2EFE0F23241C0F21FD239051C41DD9C1165E2F23241A0A8A44EFD041C4152B81EA52EF03241700A4625E9031C41403EE81917F03241203FC65CE0031C4150A60A86FFEF3241C08785DAD8031C412DC4B1EEE7EF3241E0088A9FD2031C415005A352E1EF3241602BF617D1031C41C9A145B6DAEF3241402FDDA4CF031C4198999919D4EF3241B0847C50CE031C41EA8C28ED91ED3241607346145F031C418304C58F91ED324170DB68807D031C41B4BFECDE59ED324120EBE2B672031C4183E2C79829ED324150992A986E031C419E33A254F9EC3241B0B662FF74031C41DB34EF38C9EC324180FC18F385031C415E984C75C8EC324170976E12D6031C41215A647BF8EC32413003788BC4031C41EC0434B128ED3241B0CAA1C5BD031C41D35D4BE858ED324170A52CC3C1031C410FBE309990ED32410096B28CCC031C41A657CA7290ED324100ECC0B9D8031C4101780BA4D2EF3241F005121448041C417924975FD9EF32416065886349041C419EB43718E0EF324190CD19D14A041C41C21726D3E6EF32414061C3534C041C41FCDD02C9FDEF3241206D567D52041C4101000000020000000001000000FFFFFFFF0000000003, CAST(188898 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (189057, N'{6D54640C-0195-4294-8C76-B9F2BFBC6CC2}', N'016079531', 472045, N'NEP902', NULL, N'16079531', NULL, N'03499.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', N'Block 125', N'', N'LOT 3 BLOCK 125 DISTRICT LOT 4588 KOOTENAY DISTRICT PLAN 902 EXCEPT PART INCLUDED IN PLANS 8271 AND NEP20067', N'0036', N'0018', N'NO', N'ICF', 4, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:31:10.000' AS DateTime), 150, 57, 0xBD0B00000104050000002BE4839EAA4E3B41385227A0431E2141B6AF0327AE4E3B4100174850181E214175931824A14E3B4118AC1C1A241E2141160456AEA84E3B4188B0E169451E21412BE4839EAA4E3B41385227A0431E214101000000020000000001000000FFFFFFFF0000000003, CAST(189057 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (189662, N'{3AC3772C-DBBA-4A4A-AC04-E6D3618BB0C8}', N'013831071', 3, N'NO_PLAN', NULL, N'13831071', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'NW4', N'17', N'21,8', N'THE NORTH 1/2 OF THE NORTH 1/2 OF LEGAL SUBDIVISION 11 OF SECTION 17 TOWNSHIP 21 RANGE 8 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLANS H608 AND KAP65473', N'0163', N'0006', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:23:06.000' AS DateTime), 37872, 971, 0xBD0B000001040A000000EBFDD41822B03641987CD0F313502441BC490CA224B0364130499D40E34F244139CD3B2E11B03641501D3827AC4F2441511E16CA01B03641700D4FEFA34F2441B6270F6BE9AF3641F065F7246A4F2441AC47E19AD8AF3641D078E9E6374F2441F25A42BE63AF364140BD52961E4F2441092428FE97AE3641F8B359B5F64E244111D044388FAE3641886ABCF4BF4F2441EBFDD41822B03641987CD0F31350244101000000020000000001000000FFFFFFFF0000000003, CAST(189662 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (190373, N'{82256D82-A50A-4CD0-A6DA-CECA99A80788}', N'012429651', 629004, N'PGP12116', NULL, N'12429651', NULL, N'005488.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 24', N'Block 22', N'', N'LOT 24 BLOCK 22 SECTION 32 TOWNSHIP 83 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT PLAN 12116', N'0038', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:29:45.000' AS DateTime), 684, 121, 0xBD0B000001040500000049B6F37DEA2A3441B07D1DF8B53C334101F77500BD2A3441F00AB5A6B23C3341314CA6EABB2A3441C0DA8A9DC13C334176029A68E92A3441E031E6EEC43C334149B6F37DEA2A3441B07D1DF8B53C334101000000020000000001000000FFFFFFFF0000000003, CAST(190373 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (190560, N'{15DA85F1-C468-4ECD-BF01-EB240CC05FEA}', N'009846514', 3191875, N'VIP1215OS', NULL, N'9846514', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-01-10T00:00:00.000' AS DateTime), N'PART 5', N'6', N'', N'THAT PART OF SECTION 5, RANGE 6, SAHTLAM DISTRICT, SHOWN COLOURED RED ON PLAN 1215 OS AND CONTAINING 4.09 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'16371', CAST(N'2018-11-13T10:14:10.000' AS DateTime), CAST(N'2019-01-10T15:08:30.000' AS DateTime), 16476, 1170, 0xBD0B000001040A0000000B5F982C61B33141C01B7CE1E1801941CEF753C362B33141708CB9EB5D80194178E09C912BB23141708CB96B2D8119412E2AA9F3F7B13141600AD7236A811941376744E93AB13141E0D3BCE38E8219414F74249789B13141402EFFA19A8219411A9E5EC9B6B13141406DC5FE5A8219413E7958E8FFB1314140B9FC07E0811941D0CCCC8C3BB2314110B072689B8119410B5F982C61B33141C01B7CE1E180194101000000020000000001000000FFFFFFFF0000000003, CAST(190560 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (190561, N'{F8436FF3-6E70-401D-AE79-D6CB032A689D}', N'007482876', 4652349, N'VIP379RW', NULL, N'7482876', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 30', N'', N'', N'THAT PART OF LOT 30, DISTRICT LOT 140, ALBERNI DISTRICT, PLAN 1414, BEING THE LOGGING RAILWAY SHOWN ON PLAN 379 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2019-01-10T15:03:48.000' AS DateTime), 268, 87, 0xBD0B00000104050000004382E287497D304130F46C56ED021D4161FE431A337D3041405DDC46CB021D41124FAFD44B7D30418048BFFD46031D418538D6454C7D3041A098BB16FB021D414382E287497D304130F46C56ED021D4101000000020000000001000000FFFFFFFF0000000003, CAST(190561 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (191243, N'{0B97703D-E88C-45E2-A17B-D0C43404859F}', N'013226291', 246698, N'PRP1076', 90073096, N'13226291', NULL, N'03542.930', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 20', N'Block 34', N'', N'LOT 20 BLOCK 34 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076 EXCEPT PLAN PRP14256', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 257, 84, 0xBD0B000001040C000000DF68006F622E2C41DCD781D374A1304130BB274F182E2C41D00E9C5375A130416C9A775C182E2C41901C5A8478A13041DB4253741B2E2C41F881C65E79A130416CE2999A1E2E2C41E0A5962B7AA1304194035CCE212E2C4110B48DEA7AA13041A62FA60E252E2C41A0F5729B7BA130414A37815A282E2C41CCE0113E7CA13041AA7BF2B02B2E2C41CC293AD27CA13041EE8E53F45B2E2C41183FC67C7CA1304112B7D180622E2C4120E9B70F79A13041DF68006F622E2C41DCD781D374A1304101000000020000000001000000FFFFFFFF0000000003, CAST(191243 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (192863, N'{51AAB55C-DFC0-4CD9-AD9B-31608E0CCA90}', N'008762911', 493989, N'NEP17654', NULL, N'8762911', NULL, N'004515.700', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot C', N'', N'', N'LOT C DISTRICT LOT 4598 KOOTENAY DISTRICT PLAN 17654 EXCEPT PLAN NEP64639', N'0146', N'0019', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:37:41.000' AS DateTime), 11693, 425, 0xBD0B000001040D000000D288D2BE38923841D09C1125D9D21D41DAF0F46A5C923841E0E76AAB1ED41D41CC66D5876A92384120FED47814D41D41DC34EF98789238417061325509D41D41F063CC9D86923841705B2041FDD31D419A2A189594923841F0C7073DF0D31D41ED63CC7DA29238412083C04AE2D31D41068A1FC3B092384100F0164888D31D4142CF663595923841602BF69732D21D41F085C9D48F923841D042ADE9EFD11D4139EF38C544923841607AA52C50D21D41A345B6132E923841405E29CB77D21D41D288D2BE38923841D09C1125D9D21D4101000000020000000001000000FFFFFFFF0000000003, CAST(192863 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (194061, N'{10C3C7CC-0F7E-47B7-8714-50B147125994}', N'010013300', 480147, N'KAP7176', 3108551, N'10013300', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', N'', N'', N'LOT 1 SECTION 32 TOWNSHIP 19 RANGE 8 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 7176', N'0163', N'0012', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-19T18:27:34.000' AS DateTime), 33116, 771, 0xBD0B0000010411000000D8ACFABCB1B63641B8559F6B38DD23415C984CB5C4B63641C09DEF273FDD2341306EA361D0B63641C0559FEB24DD2341EDD24D22F6B63641B8A8A4CEFEDC23414A72F98F17B736417005A312E2DC2341552041913CB73641C01E85EBE0DC234146E17A745DB73641B0ADD89FD4DC2341F285C9746AB73641701058F9A4DC2341662BF63779B73641601AC09B87DC2341E6AE25A481B73641C022DB39E0DB234196900FDA86B63641789ECD2AB0DB234130ABF6B290B6364130DF7F3CF0DB234195556D7A99B63641505A6CEC30DC23418938FA2DA1B63641186F582872DC234189BD71CBA7B636411009E2DDB3DC23416AABF650ADB6364198CD84FAF5DC2341D8ACFABCB1B63641B8559F6B38DD234101000000020000000001000000FFFFFFFF0000000003, CAST(194061 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (197170, N'{8A5CCC9D-DBE5-4D7F-9A77-B0E9BCA507E7}', N'016264436', 1308956, N'NWP84', NULL, N'16264436', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'REM Lot B', N'Block 30', N'', N'LOT "B" (AD148398), EXCEPT PART IN PLAN LMP18430 DISTRICT LOT 203 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 84', N'0109', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:21:03.000' AS DateTime), 20, 29, 0xBD0B00000104040000008048BFBD7CBC32416082E2C74F461D41192653A582BC324170F2B0D021461D414872F94F7ABC3241602041F147461D418048BFBD7CBC32416082E2C74F461D4101000000020000000001000000FFFFFFFF0000000003, CAST(197170 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (199105, N'{FF4B95A9-F916-439E-B924-99651FDFC016}', N'003308677', 3, N'NO_PLAN', NULL, N'3308677', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'1199', N'', N'', N'DISTRICT LOT 1199 KAMLOOPS DIVISION YALE DISTRICT EXCEPT: (1) PARCEL A (DD N27696F) (2) PLANS E15671 AND 36371', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:15.000' AS DateTime), 698056, 4013, 0xBD0B000001043700000065006F21302F3541E066D5A7C0372041A289B0C1252F3541E0141DC9D1372041A089B0A11A2F3541E0141DC9DA372041F8EDEB40052F3541804160E5E637204169006F41012F3541E0938785E637204180B74042EC2E354170C2F5A8E8372041C76D3420E92E3541B078E966EA37204115AE4721E22E35416039B4C8E937204136894100CA2E3541A04160A5F1372041AA9BC4A0B42E3541584BC8C7FF37204148378981AC2E354110143F06073820418AC95441A92E3541103945C70C3820416C128340A12E354108CCEE093A3820414A378901A12E35419838D605463820417CC0CAE19F2E3541605DDC064C382041F0D24D829E2E354148AF94E55F38204114AE47419C2E3541B842ADA967382041BB490C82932E3541406744E98C38204182B740428D2E3541000BB566963820412A5C8F428C2E3541706FF04596382041DD2D90E0782E3541686FF085A43820412B6519C2622E354168B0E1A9A6382041DC2D90C05D2E354148795828A63820419A779CE24D2E3541B83923CAA23820412F6EA301492E3541608104459A382041C05B2021482E3541F893874598382041482575E2382E3541C0D32BE57238204153499D40372E3541F054C1A862382041129C3382372E354168423EA85638204130772DA1362E3541E02FBBA750382041109C3322352E3541C8A679873C382041F3C9C302312E3541C054C128143820410FA5BD01302E35418838D605E8372041D51B7C212D2E3541909465C8E1372041472EFF41262E3541B0C11726DB372041B6490C62242E354148D49AE6D43720416E1283C0222E354128A7E8C8C23720418CC95401222E3541209D80A6B8372041B6490CA2222E3541F8CBEEC99C3720417EC0CAC11F2E35413882E287963720411AAE47E11A2E354128A7E80892372041A0A22339112E354100F31F52823720410E83C00A772D3541D8293A126C372041DFBE0E5C362D3541608D97EE9F3D2041F80FE917FC313541E89387C5533E20413A6744091A313541F070ACCB2F3D2041C554C14818313541F8EF16882D3D20419D8026428F3035410071AC8B7C3C204129F6979DCF3035419058A8B5523B20413880B7400731354140355E3A513A204134D6C50D0A31354180931844443A20415F984C552C30354158643B1FD03720414B7B83CF3A2F354110386744AD37204169F7E461332F3541F041CFE6BA37204165006F21302F3541E066D5A7C037204101000000020000000001000000FFFFFFFF0000000003, CAST(199105 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (200207, N'{285CF278-599E-448B-89CE-3624C3445CD8}', N'008770883', 3, N'NO_PLAN', NULL, N'8770883', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART 106', N'', N'', N'DISTRICT LOT 106 ALBENRI DISTRICT EXCEPT PARTS IN PLANS 277 RW VIP57991 AND VIP65072', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2020-07-31T11:07:47.000' AS DateTime), 566303, 3766, 0xBD0B000001042100000041A4DF7E79903041B09F1A2F54291D41F138454775903041C0BE9F9A2F2D1D41D5A3707DA08F3041400AD723212D1D419F45B6F37E8F304170E3149D8C2C1D4183E2C7187E8F3041B0BFEC9EEB2C1D41E04F8D77778F304130E17A9406321D4192A0F8D15A923041D0BDC11723321D418266F22A6692304170E56CBE05321D41BC5DD9047192304110F2F187E5311D41219A21547B92304150D79796C2311D414DB0D20D8592304120318D0F9D311D41416293278E92304150B4C01A75311D4130A2B4979692304180AEB6E24A311D41B3BFEC5E9D923041B0EC9E3C25311D41F1D24D62A2923041C064AA6009311D41CE5D4B08A7923041504E4013C1251D41836132B505913041300C022B85251D412EB29D8F988F3041B0C9C3C28A251D41C854C1C88E8F304180CDAA4F8A251D4188B0E1698E8F3041900E2D32C6251D41063D9B158E8F3041E0B35975FC251D41FF907E5B1590304130FC18734D291D4141A4DF7E79903041B09F1A2F54291D415B0E2D32A2923041400C02AB78311D41FEFFFF3FA2923041A00D4F2F5D311D41547263199B92304190560EA082311D4180057C7493923041303EE078A6311D412779F5568B923041A0D92C9FC8311D41E708D5C682923041C0999EF9E8311D41ECF474CA799230412015357007321D418CCB7F6870923041A0D556EC23321D415AEC2FDBA1923041506132D525321D415B0E2D32A2923041400C02AB78311D41020000000200000000021700000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(200207 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (201439, N'{37849B8B-8485-4934-8647-2481A6880D21}', N'001566369', 117903, N'VIP877', NULL, N'1566369', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 8', N'Block 11', NULL, N'THAT PART OF LOT 8, BLOCK 11, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:35:46.000' AS DateTime), CAST(N'2020-09-22T09:16:54.000' AS DateTime), 306, 71, 0xBD0B0000010405000000A2D6346F46373241E04D62900B8E1741A8BDC1D73737324120D26F5F1D8E1741AC1C5AC43D37324150E5D0226A8E17416CAC8B5B4C373241B03C2C54588E1741A2D6346F46373241E04D62900B8E174101000000020000000001000000FFFFFFFF0000000003, CAST(201439 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (201849, N'{7A92D184-2BCF-4D35-87BD-C09E55922D20}', N'019146426', 472116, N'NEP40X', NULL, N'19146426', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Parcel 7', N'REM Lot 320', N'', N'THAT PART OF SUBLOT 7 DISTRICT LOT 320 KOOTENAY DISTRICT PLAN X40 EXCEPT PLANS 6562 AND 12652', N'0163', N'0018', N'NO', N'ICF', 19, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-09-04T11:39:44.000' AS DateTime), 552618, 4926, 0xBD0B0000010423000000DB718ACE5B3D3B4180A1D674C14D2041B22E6E83353E3B4110D26F9FA74C20412241F183C03D3B4118D9CE37104B204108C58FB1A93D3B4160F1638CBA4A204132431C6B8F3D3B41381E16EA684A2041EC5A42DE713D3B4140D26FDF1B4A2041104FAF34573D3B4108ECC039E0492041E2581737B43C3B41C08173064F482041DBE76A2B523C3B419837F842384D2041A8BDC137483C3B41D078E9E6B74D2041D25D4BC8EE3C3B41100F0B75EB4D2041EA2631E8563D3B4130068195094E20414872F92F723D3B4148C3D3EB114E20413190A038743D3B419003E78C124E2041DB718ACE5B3D3B4180A1D674C14D20419387857AA73E3B41407E8C79344E20419F923AE1813E3B41C0AACF15654E2041E8D0225BBA3E3B4140D8F034764E20419387857AA73E3B41407E8C79344E20416988635D063F3B4150C3D3EB8D4E204118AE47E14B3F3B4168D3BCE3A24E20417A711B2D633F3B4188832F0CAA4E20415A423EE8633F3B4118158C4AAA4E20416A19E218713F3B41506666A6034E2041D488D2DEA93F3B4198825149364B2041A045B6B3AD3F3B41586210D8054B204180D0B399E23F3B41D02B65996948204154AF94E5C43C3B4178D0B3197947204100780BA4C03C3B41508D97AEAF47204124A089B0823D3B4140F1638C8D492041D0B35995A43D3B41C0DCB544DA49204112E9B74FC33D3B41E841CFE62B4A204192ED7CBFDE3D3B41402AA913824A20412B7E8CB9F63D3B41E0938745DC4A20416988635D063F3B4150C3D3EB8D4E2041030000000200000000020F000000021300000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(201849 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (203462, N'{66AEBBAB-5D58-4D2C-AA74-8EE08C0FBE78}', N'011537698', 853340, N'KAP1005', NULL, N'11537698', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'Block 2', NULL, N'LOT 1 BLOCK 2 DISTRICT LOT 473 OSOYOOS DIVISION YALE DISTRICT PLAN 1005', N'0138', N'0022', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-02-20T10:00:18.000' AS DateTime), 3597, 242, 0xBD0B0000010407000000CC6F5F27163A3641F0EBC039083120417A2497FF4A3A364100AAF19211312041344CA66A513A3641603D0A578A302041E7482EBF1C3A3641D0AACF1581302041AEEA73B51C3A3641C04082E28130204191B96B69183A3641D0CEF793D9302041CC6F5F27163A3641F0EBC0390831204101000000020000000001000000FFFFFFFF0000000003, CAST(203462 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (204071, N'{4E6DE633-D1B3-4FE8-A22C-6B07396A9D89}', N'001716077', 3, N'NO_PLAN', NULL, N'1716077', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART N2', N'2', N'4', N'THAT PART OF THE NORTH 1/2 OF SECTION 2, RANGE 4, QUAMICHAN DISTRICT SHOWN COLOURED RED ON PLAN 193 RW AND CONTAINING 2.19 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 15, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T16:28:35.000' AS DateTime), CAST(N'2021-02-25T16:29:36.000' AS DateTime), 8942, 695, 0xBD0B0000010416000000C5E53F241ACD314180FC18733553194165D5E72A47CD314170F90FE94053194196B20CB175CD3141E0482EFFBE5219411DD26FFFA8CD314120A913D031521941056822CCB9CD3141205B423E02521941ED384567CACD3141D09DEFA7D151194190B96BC9DACD3141B044D8F09F5119410F83C0EAEACD314180FF21FD6C511941779318C4FACD31415057CAB238511941DC68004F0ACE3141204850FC0251194153A60A8619CE314170F085C9CB5019414C6B9A5733CE314140E02D906950194122F46C1637CE314170EEEBC05A5019412DFF21BD08CE314170423EE863501941F9CBEE89FECD314150772D218B501941C7C3420DEDCD3141C09DEF27C7501941BB847CB0DBCD314130D49AE601511941D61B7C01CACD3141502D211F3B5119415F4BC807B8CD3141A042ADE972511941BA1E85CBA5CD3141B0F7E461A9511941536B9A3774CD314180635DDC34521941C5E53F241ACD314180FC18733553194101000000020000000001000000FFFFFFFF0000000003, CAST(204071 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (204223, N'{BA70E51A-DE1B-46D6-B019-6D1208309F97}', N'007158629', 13503, N'VIP45012', NULL, N'7158629', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 2', NULL, NULL, N'LOT 2, SECTION 12, RANGE 7, SHAWNIGAN DISTRICT, PLAN 45012 EXCEPT PART IN PLAN VIP69330', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:48:21.000' AS DateTime), CAST(N'2021-03-19T13:18:45.000' AS DateTime), 19565, 861, 0xBD0B0000010409000000E461A11655F93141E04603F8AE131941910F7AB620F9314140D5E7EAA6131941D5F97E6A15F9314100E5F29F96191941DEB5845C48F93141E03C9BD593191941C410C73A4BF93141F03845C73F181941B069DE314EF931410036CD3BE016194132D49A0651F93141A0E3149D901519411B3FC67C51F93141508941E059151941E461A11655F93141E04603F8AE13194101000000020000000001000000FFFFFFFF0000000003, CAST(204223 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (204570, N'{D1A1B136-3876-45D9-A3D1-C686B372A9A0}', N'012751057', 868179, N'KAP55', NULL, N'12751057', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 19', N'Block 13', NULL, N'LOT 19 BLOCK 13 DISTRICT LOT 706 YALE (FORMERLY OSOYOOS) DIVISION YALE DISTRICT PLAN 55 EXCEPT PLAN H831', N'0114', N'0022', N'NO', N'ICIS CADASTRE', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-04-29T15:17:59.000' AS DateTime), 234, 74, 0xBD0B0000010405000000332AA9D3CB55354120C807BDC5151F41F7A06733D7553541406B2BF697151F4193E61D27DA553541D07CD03354151F4199081B9EC455354180E5D0A2A8151F41332AA9D3CB55354120C807BDC5151F4101000000020000000001000000FFFFFFFF0000000003, CAST(204570 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (204797, N'{DBB6B46F-35C6-4786-987F-D4A9C37289A0}', N'001641344', 121125, N'VIP76RW', 10962721, N'1641344', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 47', N'', N'', N'THAT PART OF SECTION 47, METCHOSIN DISTRICT SHOWN COLOURED RED ON PLAN 76 RW AND CONTAINING 2.67 ACRES MORE OR LESS', N'0079', N'0005', N'NO', N'ICF', 4, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-01-06T20:13:25.000' AS DateTime), CAST(N'2021-05-30T19:21:29.000' AS DateTime), 10773, 849, 0xBD0B000001044D00000099FF903EB5FC31414072F90FE4DD16418DE4F2BFB2FC3141D0051214F6DD1641ABE8484EB0FC31410019735708DE1641E30209EAADFC3141A086A7D71ADE16412D333393ABFC31411098DD932DDE16416EE7FB49A9FC314150DE718A40DE1641DF718A0EA7FC314110355EBA53DE16414D4013E1A4FC3141302EFF2167DE164181C0CAC1A2FC314150ED7CBF7ADE16416229CBB0A0FC3141404ED1918EDE16413CCD3BAE9EFC314180742497A2DE1641D41951BA9CFC314170CD3BCEB6DE1641942A18D59AFC3141B0EA7335CBDE1641D288D2FE98FC314160CC5DCBDFDE1641E14F8D3797FC314150BAB88DF4DE164193ED7C7F95FC314140DA1B7C09DF16413AB4C8D693FC3141A07346941EDF1641822F4C8692FC31412094F68633DF164138F8C24491FC3141702BF69748DF1641560E2D1290FC314170CAA1C55DDF16411E1FF42C8FFC3141D0923A816EDF164196559F2B8FFC3141A09999996EDF1641F95C6D85AFFC3141E0D24D622CDF1641408B6C87AFFC314100A7E8482CDF16419E23B9FCAFFC3141808FC27526DF164157A8358DB1FC3141B0D4786913DF1641B41E852BB3FC3141704AEA8400DF1641FCA9BF8CB4FC314130966B0AF1DE164169795BF8B5FC3141E0E9F99EE1DE1641C64A4E6EB7FC314130A40443D2DE164133918DEEB8FC314150B4FAF6C2DE164174750E79BAFC314190954ABBB3DE164135D6C50DBCFC3141F04D6290A4DE1641D806239BC2FC3141307086CA69DE1641D4D371EAC9FC3141B0182C7730DE1641549B99F6D1FC314160984ABEF8DD16417C12FEB9DAFC3141B013BBC6C2DD1641C62E832EE4FC3141D06D1DB68EDD16416F68914DEEFC3141F00DBEB05CDD1641003285DEF6FC314150461FFA36DD16417F91350100FD3141A01F337713DD1641FDC998AC09FD314150881B4BF2DC1641F5E01DD713FD314150FEA996D3DC16414B15B6761EFD314110173F78B7DC16418AD2DE8029FD31410071AC0B9EDC164153DA1BBC31FD3141D0361A408ADC1641AD25E4033AFD31411012143F77DC1641506B9A5742FD31411003090A65DC164138B4C8B64AFD3141A05296A153DC1641AB9BC42053FD3141B0DD930743DC16419A2A18955BFD3141F0EC9E3C33DC16417E26C2A6B9FD3141E08AFDE587DB1641D9F0F46AACFD3141802CD49A27DB16415E5DDC665DFD3141D0B88D86B7DB16415CC1A82450FD3141707AA5ACCFDB164108560E2D47FD3141601FF46CE0DB1641AAA44E403EFD314170B96B09F2DB164195F6065F35FD3141B06D348004DC1641F4CBEE892CFD3141C0847CD017DC1641DA1B7CC123FD314140FED4F82BDC1641676666061BFD3141F04603F840DC1641A865942D12FD3141A0FA8ABB54DC16418D303D9309FD3141307AA8266ADC16412160533C01FD3141205A0A2D81DC16412AC6A22DF9FC314180A972C199DC1641F6AACD6BF1FC3141208DBED5B3DC164137234AFBE9FC3141C062EE5ACFDC1641EED5071EE2FC314170F7A110EFDC164109FB0C91DAFC31418002C2F80FDD164116334357D3FC3141D0FE9C0632DD164162077473CCFC3141701A102D55DD1641FED647E8C5FC314140468C5E79DD164113D044B8BFFC314190711B8D9EDD16410C022B07BDFC3141F0DD0289AFDD1641DA096862BAFC314100151DC9C0DD1641C23923CAB7FC3141C0A7C64BD2DD164199FF903EB5FC31414072F90FE4DD164101000000020000000001000000FFFFFFFF0000000003, CAST(204797 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (204855, N'{87448C94-A6B8-4147-8C74-899F1BD854C5}', N'012620611', 472153, N'NEP740A', NULL, N'12620611', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 21', N'Block 15', N'', N'LOT 21 BLOCK 15 DISTRICT LOT 267 KOOTENAY DISTRICT PLAN 740A EXCEPT (1) PART INCLUDED IN RW PLAN 1203 AND (2) PART INCLUDED IN SRW PLAN 16533', N'0053', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-05-30T19:55:46.000' AS DateTime), 285, 84, 0xBD0B00000104050000005BD3BCC365023A41780F7A7666292441764F1EF66D023A4160E8D96C6F29244198B20C917C023A41C03099EA32292441DE5817D775023A4158F2418F2B2924415BD3BCC365023A41780F7A766629244101000000020000000001000000FFFFFFFF0000000003, CAST(204855 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (204858, N'{45D211D0-5635-43AE-A7F0-6528B6DE8F77}', N'012912727', 296395, N'PRP1283', NULL, N'12912727', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1C', N'', N'', N'LOT 1C DISTRICT LOT 866 CASSIAR DISTRICT PLAN 1283 EXCEPT PLAN PRP14066', N'0137', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-05-30T19:56:38.000' AS DateTime), 722, 122, 0xBD0B000001040B00000023C05BA0F8F726415491EDFC19B03241E6CEF7D313F826419C6E12C318B03241A211A5FD0EF8264124FDF6D5FDAF32417A16D94ED0F726414C27A0A900B03241DDFBA9F1BAF72641D06D34A001B032419356E60EC6F72641B8765D2005B03241503148DDD0F72641248241DC08B03241025BCC57DBF72641BC2B25D20CB0324153899679E5F726413C28320011B03241CA99F33DEFF72641201F786415B0324123C05BA0F8F726415491EDFC19B0324101000000020000000001000000FFFFFFFF0000000003, CAST(204858 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (205433, N'{4E660BE0-7C97-42B7-8AEF-E62D599C2C95}', N'008899401', 466936, N'NEP7046', NULL, N'8899401', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', NULL, NULL, N'THAT PART OF LOT A SECTION 13 TOWNSHIP 27 RANGE 22 WEST OF THE 5TH MERIDIAN KOOTENAY DISTRICT PLAN 7046 INCLUDED IN SRW PLAN 16743', N'0043', N'0006', N'NO', N'ICF', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-06-03T16:32:53.000' AS DateTime), 6574, 377, 0xBD0B0000010406000000009A083B9CD33841C020B0B20B8D26413BCD3B0EE6D3384150CA3204748D2641C7BAB8ED21D43841407B836FF28C264166F7E40115D43841E83C9B55DA8C26418E06F0F682D33841003E7998DC8C2641009A083B9CD33841C020B0B20B8D264101000000020000000001000000FFFFFFFF0000000003, CAST(205433 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (205524, N'{3957131A-EB3F-456F-A8E4-26B33B7F23B0}', N'013997971', 295389, N'PRP968', 23688191, N'13997971', NULL, N'01250.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 12', N'Block 105', N'Section 2', N'LOT 12 BLOCK 105 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-06-10T13:40:11.000' AS DateTime), 260, 72, 0xBD0B0000010405000000849ECD2ABE792B41B4ADD81FBE643141E1AE2524AA792B4194F08549BE6431412D4CA60AAB792B410863EE3AD864314166AA6014BF792B413C575B11D8643141849ECD2ABE792B41B4ADD81FBE64314101000000020000000001000000FFFFFFFF0000000003, CAST(205524 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (205805, N'{57D906A4-9F96-4F08-BB78-B5CFD58DEF77}', N'002909456', 117903, N'VIP877', NULL, N'2909456', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block 8', N'', N'THAT PART OF LOT 3, BLOCK 8, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:49:50.000' AS DateTime), CAST(N'2021-06-29T16:46:32.000' AS DateTime), 156, 58, 0xBD0B00000104060000006C88633DFF383241F0C2642A358D17411A2653050C39324170A835CD4E8D174178711B6D1239324180A52CC35D8D17415296210E0D39324190CBEEC9188D1741711B0D60FE383241A00A46A52A8D17416C88633DFF383241F0C2642A358D174101000000020000000001000000FFFFFFFF0000000003, CAST(205805 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (206056, N'{FAF27900-19BD-4501-8E7D-79B5168BB500}', N'011412445', 3, N'NO_PLAN', NULL, N'11412445', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 323', NULL, NULL, N'THAT PART DISTRICT LOT 323 SIMILKAMEEN DIVISION YALE DISTRICT SHOWN RED ON PLAN ATTACHED TO DD 678', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 10, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-07-21T09:00:05.000' AS DateTime), 21011, 1454, 0xBD0B000001040800000032C4B10E1525364180F2B0D04D9A1D418CCB7FA817253641807AA5ACD5991D41167C619246243641A0E61D279C991D41BA37F8A271233641F0E00B9361991D41283108AC61223641205C8FC216991D41C57F48FF5C22364130E4839E90991D41B48D06D08A22364150FBCBEE9A991D4132C4B10E1525364180F2B0D04D9A1D4101000000020000000001000000FFFFFFFF0000000003, CAST(206056 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (207248, N'{B9E8B4F5-DC92-45D5-B400-4D08CA143341}', N'013320882', 291081, N'PGP7984', NULL, N'13320882', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'', N'', N'LOT 4 DISTRICT LOT 222 CARIBOO DISTRICT PLAN 7984', N'0163', N'0002', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-10-07T13:20:11.000' AS DateTime), 630, 105, 0xBD0B0000010405000000D3B35935D3DB324140CF66D50E242B41D044D870C2DB3241A8847C9024242B41D388D27EDBDB3241D87D1DB850242B4108819523EBDB32410861C3D337242B41D3B35935D3DB324140CF66D50E242B4101000000020000000001000000FFFFFFFF0000000003, CAST(207248 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (209843, N'{26E8B635-4BDA-40EA-9099-E620EE952DB5}', N'001636634', 126670, N'VIP846', NULL, N'1636634', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 7', N'', N'', N'THAT PART OF LOT 7, SECTION 2, METCHOSIN DISTRICT, PLAN 846 SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 31091I AND CONTAINING 0.018 OF AN ACRE MORE OR LESS', N'0079', N'0005', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-01-06T18:03:02.000' AS DateTime), CAST(N'2019-01-05T10:22:09.000' AS DateTime), 0, 1, 0xBD0B00000104040000001161C353460A3241D0CCCCCC63F7164163C3D32B460A3241609A771C64F7164133B29D4F460A3241600C022B65F716411161C353460A3241D0CCCCCC63F7164101000000020000000001000000FFFFFFFF0000000003, CAST(209843 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (209929, N'{680FC5FC-5588-4F67-B87F-AACBE0C13EC3}', N'001585592', 128536, N'VIP1597', NULL, N'1585592', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'', N'', N'THAT PART OF LOT 6, SECTION 16, VICTORIA DISTRICT, PLAN 1597 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:11:43.000' AS DateTime), CAST(N'2019-01-05T10:22:30.000' AS DateTime), 339, 76, 0xBD0B000001040B00000008A3923AD02D3241806DC5FE439A174170A70C7CD22D3241202918F4409A1741043E8CBBD42D324120A553D23D9A1741F8A002F9D62D324150758C993A9A1741FF176134D92D3241C0C6D749379A174178F8986DDB2D3241005B4BE3339A1741E1A59BA4DD2D3241C08AFD65309A17412997FF70D62D3241F0C8763ED5991741D4F97E4ACB2D3241A0DB6800E6991741ECFDD438C92D32417005A392E899174108A3923AD02D3241806DC5FE439A174101000000020000000001000000FFFFFFFF0000000003, CAST(209929 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (210606, N'{79B8F042-C720-4430-9E3D-6F4E4E3E8F5F}', N'015091538', 489994, N'NEP2795', NULL, N'15091538', NULL, N'7101873000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 9', N'', N'', N'LOT 9 DISTRICT LOT 864 KOOTENAY DISTRICT PLAN 2795 EXCEPT PLAN 7686', N'0163', N'0004', N'NO', N'ICF', 3, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:34:25.000' AS DateTime), 567, 101, 0xBD0B000001040500000025189594D2E83741809ECD2AEE6F2141C2749338D4E83741F84C848DD16F21411941F1E3AFE83741D8923A41C96F2141E91DA748B9E8374120378941F66F214125189594D2E83741809ECD2AEE6F214101000000020000000001000000FFFFFFFF0000000003, CAST(210606 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (210650, N'{A1878236-2DEF-4104-95A9-B36393B6782F}', N'013503332', 3, N'NO_PLAN', NULL, N'13503332', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'8455', N'', N'', N'BLOCK D OF DISTRICT LOT 8455 LILLOOET DISTRICT', N'0163', N'0002', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2019-01-11T18:30:14.000' AS DateTime), 37334, 981, 0xBD0B00000104060000009F33A21466A93441903A014D1AA72741122DB2FDC4A73441003B700EDEA627416F128340D3A734417004C54F01A72741E451B8FE19A83441F06800AFB3A727410AA392DA5EA93441603D0A97E2A727419F33A21466A93441903A014D1AA7274101000000020000000001000000FFFFFFFF0000000003, CAST(210650 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (210958, N'{6169B4BB-57AA-4922-A9C5-12E0DDC643B3}', N'001588087', 128536, N'VIP1597', NULL, N'1588087', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'', N'', N'THAT PART OF LOT 2, SECTION 16, VICTORIA DISTRICT, PLAN 1597 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:16:11.000' AS DateTime), CAST(N'2019-01-05T10:52:32.000' AS DateTime), 145, 50, 0xBD0B000001040B00000060FE435AA82D324150840D4F699A17418785F165AA2D324130B8091B689A1741C103F070AC2D3241B01DF7D4669A1741A182357BAE2D324170EADB7C659A17412A0FB884B02D324120ADBE12649A174132BA6D8DB22D3241104BA696629A17415F984C95B42D324180029A08619A1741FC75E01CB22D324130A1D6B4409A1741D6ACFAFCA22D3241D0A6E8483D9A1741C4BAB86DA62D3241203B704E6A9A174160FE435AA82D324150840D4F699A174101000000020000000001000000FFFFFFFF0000000003, CAST(210958 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (211470, N'{E3008E6F-4A14-498B-89FE-4050E2AE503D}', N'001592408', 141191, N'VIP1291', NULL, N'1592408', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 7', N'Block 8', NULL, N'THAT PART OF LOT 7, BLOCK 8, SECTION 9, ESQUIMALT DISTRICT, PLAN 1291 INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0154', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:42:13.000' AS DateTime), CAST(N'2020-05-13T16:42:44.000' AS DateTime), 313, 82, 0xBD0B00000104110000008C06F0569F2B3241605F07CE329B17411C85EB51962B3241B0DD9387109B174168F7E421902B32417025E403F99A1741839543AB8D2B324150C286A7EF9A17411EBC4B038B2B324110ED4E5EF19A1741E65EA059882B324130B099E8F29A17414A1070AE852B3241601B4C46F49A1741307DE901832B3241F04A4E77F59A17410A6A3B54802B324180678B7BF69A174152AF94A57D2B3241C0A9F152F79A17411E85EB91902B3241F0C039233F9B1741A72F650C932B3241C00B776B3D9B1741E25A4E85952B3241B0FC00913B9B1741ABA988FC972B32414057EE93399B17418CD3F5719A2B324190875774379B174118A677E59C2B324160A15632359B17418C06F0569F2B3241605F07CE329B174101000000020000000001000000FFFFFFFF0000000003, CAST(211470 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (211658, N'{BED0AA4D-C0C7-4604-905D-DE514EF3D4D1}', N'002911086', 117903, N'VIP877', NULL, N'2911086', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block 10', N'', N'THAT PART OF LOT 3, BLOCK 10, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:05:33.000' AS DateTime), CAST(N'2019-01-05T10:54:46.000' AS DateTime), 306, 71, 0xBD0B0000010405000000FFDD02893A38324120280F0B368D1741FBEDEB204938324160F08549248D1741972A183543383241E0255385D78C1741BADA8A9D34383241B05DDC46E98C1741FFDD02893A38324120280F0B368D174101000000020000000001000000FFFFFFFF0000000003, CAST(211658 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (212056, N'{95B723AF-1A2E-4D12-AFC3-35B27B495B8B}', N'007760647', 140656, N'VIP1375', NULL, N'7760647', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 32', N'Block 1', N'', N'LOT 32, BLOCK 1, SECTION 33, VICTORIA DISTRICT, PLAN 1375', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:20:50.000' AS DateTime), CAST(N'2019-01-05T10:55:29.000' AS DateTime), 515, 97, 0xBD0B0000010409000000F575E03C103A3241403A924B5B921741D6F97EEA023A3241F02E6EA37C921741E1A59B04053A3241C066D5E7899217414A9D80C60A3A3241B0A3DF3EAE921741C5B12E4E0F3A324110F46CD6CA92174154499DE0133A3241600E2DB2E7921741F6065F78143A3241B015FBCBEA9217414D6B9AD7213A324140F90F69CA921741F575E03C103A3241403A924B5B92174101000000020000000001000000FFFFFFFF0000000003, CAST(212056 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (212758, N'{D233E0CE-17D6-4B22-964D-92BF1652A326}', N'014633345', 3, N'NO_PLAN', NULL, N'14633345', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART SE4', N'14', N'11,26', N'THAT PART OF THE SOUTH EAST 1/4 OF SECTION 14 WHICH LIES TO THE EAST OF THE LEFT BANK OF THE FRASER RIVER AND TO THE SOUTH OF THE SOUTHERN LIMIT OF BOSTON BAR INDIAN RESERVE NO. 4 (BUCTUM) AND TO THE WEST OF THE TRANS CANADA HIGHWAY AS SHOWN ON PLAN H670; TOWNSHIP 11 RANGE 26 WEST OF THE 6TH MERIDIAN YALE DIVISION YALE DISTRICT EXCEPT THAT PART COLOURED RED ON PLAN A259 AND PLAN H670', N'0163', N'0009', N'NO', N'MODIFIED-ICIS', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-01-31T18:53:38.000' AS DateTime), 103080, 2069, 0xBD0B00000104730000004950FC180B3F344198703D0AABE820415FDC46E3193F3441C8923A81B6E8204110143F46763F3441900E9CF351E7204148D8F0B46C3F3441505227A050E720410DA3927AE03E34419069DE313DE72041643BDFEFDF3E344108D5786947E72041B2D85F96DE3E34419820B0F25BE7204138DF4FEDDD3E34417851495D68E72041D40968E2DC3E3441000EBEF072E72041FC088ADFDB3E3441E82D90A07CE720419F89B0C1D93E344158D5E7AA92E720414B499D20D93E3441C0A0F8319EE7204172348077D83E34413808AC9CAAE72041FAA06713D83E3441E022DBB9B5E7204185416045D73E3441A86588E3BFE7204182E2C7B8D53E3441180BB5E6EBE72041BBF3FD74D43E344160D71272F6E720417DFB3AF0D23E3441308716D901E82041A78251E9D13E3441F8A292FA0BE82041034D84ADD03E3441D80968A215E82041946588E3CF3E3441F8E2365A1FE82041EDC9C362CE3E344120295C4F2AE82041D0DEE04BCD3E344188B4373836E82041D59AE67DCC3E3441B089B06140E820414594F666CB3E3441484CA64A4CE82041BC051254CA3E3441586EA3C157E8204154302A49C93E3441A0F3FD5462E8204188DB68C0C73E344158D6C52D6EE82041F1C9C302C63E3441E8CCCC8C79E8204134AB3ED7C33E344188B0E16984E8204128E4835EC23E3441F8907E7B8EE8204182AEB622C13E3441F8C0392398E8204120FDF695BF3E3441180DE06DA4E82041BBC8765EBD3E344128F775A0B0E82041B437F842BB3E3441B8D85FB6B9E82041569FABADB83E3441D8ADD89FC3E82041F27C3F55B63E344108098A1FCDE82041D768008FB33E34416888631DD6E820417E48BFFDB03E3441B82A1895DFE82041E6E236DAAE3E3441A8718A8EE9E8204132A2B4F7AC3E3441A80C71ACF2E8204193180436AB3E344108363C7DFEE82041B6A67947A93E344118D7A3F008E920416844690FA63E344148AD69DE11E92041452575A2A23E344160CE88521AE920419031772D9F3E3441701E16AA23E920410A8195839B3E34414882E2872CE920418EED7C3F983E3441C05E29CB36E920419B6E12E3953E34419823B9BC40E92041E4C798BB933E344178D409284BE92041ED5A421E913E3441204625F555E92041526210588E3E344178C5FEF25EE9204103780B248B3E3441E068006F67E92041692BF6F7873E3441C86F5F076FE920416ED71252843E344110A1677377E9204131DD2426803E3441909999D984E920417C2F4CC6953E3441307E8C7988E920415ECC5DEBC13E344108492E3F8DE92041F8A9F1F2DC3E3441C8FD657740E920413CC6DC35C93E3441B8703D4A1FE92041EA043431C93E344118BC05121DE920418E3A016DCA3E34412055306A13E92041D044D8B0CB3E3441D888D2DE08E920412CA2B4B7CC3E344118363CBDFEE82041E1460378CD3E344170666666E9E82041897CD0B3CE3E344190FF90BEDFE82041D434EF78D23E3441E8C9C382CDE82041A635CD7BD33E344128AAF1D2C3E820418FE4F2DFD33E3441588FC2B5B8E82041B22E6E03D63E3441501136BCAEE82041F5A06793D63E3441E895B28CACE820413390A0D8FD3E3441B8550E6DD9E820414950FC180B3F344198703D0AABE820417658A8F55D403441007D3F7524E9204182FB3A7060403441584160A510E920415C423EA86240344100C6DCB5FCE8204112363C9D6440344100C364AAE8E820418A16D94E6640344190B88D86D4E82041895AD3BC67403441D0BAB84DC0E82041D978E9E66840344150136103ACE820413EE8D9CC69403441D8B050AB97E82041508D976E6A403441F8141D4983E8204142FAEDCB6A403441701B0DE06EE82041A813D0E46A40344170EA04745AE82041621058B96A403441A894650846E82041159E5E496A403441A8D2DEA031E820412C0F0B9569403441C8EDEB401DE82041E1B5849C68403441C09E3CEC08E8204193E4F25F67403441506666A6F4E72041C9BAB80D5D403441C82D90E0F5E7204180C0CA815B40344198A223F9DEE7204174711B4D59403441784DF34EC3E72041866CE7BB56403441D8A59BC4A7E72041C0A8A4CE53403441482D215F8CE720410D9C33624F403441A001BC856BE720417AE926713C40344180C0CA2169E72041860D4F6FAA3F3441184625B556E7204194559FAB4F3F344110B8AF03B2E82041F73A70EE4A3F344180EB51B8C4E82041009A081B413F3441880D4FAFE9E82041085F98CC363F344150643B1F0EE92041FE65F7042C3F3441C012F20132E920414EA60AC6203F3441E096FF5055E920415617B711153F3441104B590678E920411BC05BA00A3F3441304DF34E95E92041A4923A61C63F3441708CB9EBA9E92041393CBD524240344130394587B7E92041F47E6A7C4540344110AAF192AAE92041E9D9ACBA49403441F8482EFF97E9204162FE43BA4D4034410858393485E920418D87857A51403441F07C3F3572E92041CC10C7FA54403441A0CAA1055FE92041B2506B3A58403441B88BDBA84BE920416C19E2385B403441E0D24D2238E920417658A8F55D403441007D3F7524E92041020000000200000000024900000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(212758 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (212988, N'{EE27125A-C08E-4E5F-93D1-F722318AB1A5}', N'001585410', 126723, N'VIP851', NULL, N'1585410', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 8', N'Block C', N'', N'THAT PART OF LOT 8, BLOCK C, SECTION 16, VICTORIA DISTRICT, PLAN 851 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:48:26.000' AS DateTime), CAST(N'2019-01-05T11:03:59.000' AS DateTime), 772, 127, 0xBD0B000001040800000001BC0592242D324140499D801B9A1741D1F753032F2D324100D34D622B9A17418938D685332D3241904F1E16329A1741CF3B4E912C2D3241505986B8D1991741AE2E6E63082D324160C5FEB29A991741F263CCDD0F2D324150014D04FC991741923A016D122D3241C01DA7E8FF99174101BC0592242D324140499D801B9A174101000000020000000001000000FFFFFFFF0000000003, CAST(212988 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (214602, N'{86627903-C916-4058-AF8B-5AB2B9F546A4}', N'008596964', 127843, N'VIP721', NULL, N'8596964', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'', N'', N'', N'THOSE PARTS OF LOTS 9 AND 10, SECTION 32, VICTORIA DISTRICT, PLAN 721, MORE PARTICULARLY DESCRIBED AS FOLLOWS:- COMMENCING AT A POINT ON THE W''LY BDY OF SAID LOT 9 DISTANT 26.2 FEET FROM THE NW CORNER OF SAID LOT; THENCE N''LY ALONG THE WESTERLY BOUNDARY OF SAID LOTS 9 AND 10 TO THE NW CORNER OF SAID LOT 10; THENCE E''LY ALONG THE N''LY BOUNDARY OF SAID LOT 10 A DISTANCE OF 201.8 FEET; THENCE SOUTH 21 DEG. 39 MIN. WEST FOR A DISTANCE OF 362.5 FEET MORE OR LESS TO THE POINT OF COMMENCEMENT, WHICH SAID PIECE OF LAND CONTAINS 0.66 OF AN ACRE MORE OR LESS, AND IS MORE PARTIC- ULARLY SHOWN ON THE PLAN ANNEXED TO A CERTAIN AGREEMENT FOR SALE FROM GEORGE NEWPORT SUTTON TO GEORGE PLAYER, DATED 24/04/1913, AND DEPOSITED IN THE LAND TITLE OFFICE UNDER NO. 22976G; EXCEPT THAT PART OF LOT 10 DESCRIBED ON CERTIFICATE OF TITLE NO. 249026I.', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:03:01.000' AS DateTime), CAST(N'2017-12-04T12:19:38.000' AS DateTime), 1757, 235, 0xBD0B0000010408000000287E8CD93A3D3241E0270F0BE59F1741C8FEB2BB393D3241401AC0DBD89F17412575029A383D3241B032C4B1CC9F17417F6ABC74373D3241D04C848DC09F174181B740E22E3D3241B06666E64DA01741518D970E453D32411086C9D443A11741A52C437C5C3D32419075711B5AA11741287E8CD93A3D3241E0270F0BE59F174101000000020000000001000000FFFFFFFF0000000003, CAST(214602 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (214957, N'{0E02DA4F-4EA1-47C2-8E01-D8308BF89951}', N'005608481', 3, N'NO_PLAN', NULL, N'5608481', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'SW4NE4', N'5050', N'', N'PARCEL A (PLAN B7163) OF THE SOUTH WEST 1/4 OF THE NORTH EAST 1/4 OF DISTRICT LOT 5050 CARIBOO DISTRICT', N'0163', N'0002', N'NO', N'ICF', 5, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-01-09T12:14:16.000' AS DateTime), 40680, 820, 0xBD0B000001040600000072CE8892E6EB324130E258174CA82A41C98F31F7DCEB324138BD52D69CA92A41172FDD84CDEC32410062A156B3A92A419D5E292BCFEC32412038678479A92A41C554C128D7EC3241B069DE7161A82A4172CE8892E6EB324130E258174CA82A4101000000020000000001000000FFFFFFFF0000000003, CAST(214957 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (215392, N'{BF6CEAA6-75CD-4BCB-AEB5-D5748A03E19D}', N'015433676', 3, N'NO_PLAN', NULL, N'15433676', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART A', N'4833', N'', N'PARCEL 1 (REFERENCE PLAN 108588I) OF PARCEL A (SEE 21862I) DISTRICT LOT 4833 KOOTENAY DISTRICT EXCEPT PART INCLUDED IN PLAN 12655', N'0163', N'0018', N'NO', N'ICF', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-01-09T12:28:55.000' AS DateTime), 12380, 487, 0xBD0B00000104060000007824973FAF5A3B41A05E290B927120417A029A08BB5A3B4178711BCDD870204170567DAE2C5A3B41780C022B4E71204134CD3BEE205A3B41606B9A77FA712041809ECD4A295A3B41A8F1D20DFD7120417824973FAF5A3B41A05E290B9271204101000000020000000001000000FFFFFFFF0000000003, CAST(215392 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (215962, N'{9FC984E7-29AC-410F-860F-D5367240378D}', N'013830708', 3, N'NO_PLAN', NULL, N'13830708', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART NE4', N'17', N'21,8', N'THAT PART OF THE NORTH 1/2 OF LEGAL SUBDIVISION 15 OF SECTION 17 EXCEPT THAT PART COVERED BY THE WATERS OF THE SALMON ARM OF SHUSWAP LAKE; TOWNSHIP 21 RANGE 8 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLANS H608 AND KAP65474', N'0163', N'0006', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:23:11.000' AS DateTime), 57240, 1634, 0xBD0B00000104340000004F1E162A9BB13641F061A1568552244148477259A2B1364120499D40F351244170A3011C79B13641E863CCDDEC512441F163CC9D81B136414003780B0A52244146E17AD486B1364168B3EA731E52244151DA1BBC8BB13641686E120333522441986E124390B136419057CAB2475224419B779C6294B13641E0D556EC5C5224416329CB3098B1364148014D44725224414F1E162A9BB13641F061A156855224415B5DDCE606B03641903789416452244108560E4D0FB0364180EFA78676522441C25296C115B0364118AC1C5A865224415AB1BF0C22B03641A0923A81A0522441ED7C3F5525B0364120CD3B8EA8522441053D9B5529B0364130257582B15224416029CBD032B03641C87D1DB8CE522441B8D1007E36B0364198F83126D9522441344CA64A3AB03641205EBA09E1522441F3FDD4B84EB03641C04B370900532441E5D9ACDA53B0364100F853A30653244133FF219D65B0364170029A082B532441C07493186AB03641B898BB9634532441AEE1E9F56DB03641384625353B5324416888639D72B03641C8EA733541532441EA51B83E77B03641A09DEF2745532441FAA067D37BB03641883177AD4C532441FC97DD937FB0364170787AA553532441ADE1E915AFB036414894F6C65D5324415EA1D654A8B0364108F54A5952532441FA7E6A5CA1B036414860E510475324417EAEB6A206B03641D025E403545224415B5DDCE606B036419037894164522441250681F509B036417816D94E0A522441887CD0332AB03641309B55DF3C522441C35B20E157B03641305530EA86522441982A18F586B0364138333373CF52244151B81EE5C2B03641202653C52F532441D2AACF95C9B036414082E2073B532441818CB92BD3B0364158BA494C4C532441F4A9F152D9B03641F0A3707D58532441D65F76CFDFB03641C03099EA655324410F363CBD7AB13641C0605412865324419F5E294B77B13641D84B374910532441D13B4E1167B136413070CEC8AB522441CE66D56754B13641E8770BE47C522441C4BAB80D42B13641681058B93A522441DE2406013BB13641F899085B17522441CCB359B521B13641088D28ADDC5124417C4F1EB61FB13641A0A8A44EDC512441291895940EB0364170643BDFA9512441250681F509B036417816D94E0A522441030000000200000000020A000000022100000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(215962 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (216212, N'{74663F5F-15AE-40EF-8BB8-A3EC5136BCD6}', N'009307699', 128441, N'VIP111', NULL, N'9307699', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 10', NULL, NULL, N'THAT PART OF LOT 10, SECTION 4, VICTORIA DISTRICT, PLAN 111 SHOWN ON PLAN 1209 OS', N'0153', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:45:33.000' AS DateTime), CAST(N'2021-05-11T11:23:16.000' AS DateTime), 1568, 196, 0xBD0B0000010410000000453789A12239324180734694877A1741767AA52C1F39324140EA04B4427A1741FE1873771D393241A015FBCBFC791741FEFFFF7F1C393241000EBEB0AA791741C6E53F241A393241B00A46A59C7917412EB29DAF08393241A04A5906CB79174143CF663509393241D00E9C33F7791741DEA59BA409393241C0F21F52137A174157423E480A393241B0D2DE602F7A174118C05B200B393241303EE8594B7A174191ED7C1F0D393241402EFFA17A7A174161E5D0E20F393241505F984CA97A17415D5452671339324170E61D27D77A17416844698F16393241B04F8D97F87A1741EB8C28CD2739324170EC2FBBCA7A1741453789A12239324180734694877A174101000000020000000001000000FFFFFFFF0000000003, CAST(216212 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (216904, N'{BA297DB5-9036-45C8-918D-FEB29645E42E}', N'013235532', 467312, N'NEP8752', NULL, N'13235532', NULL, N'7864527000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'', N'', N'LOT A DISTRICT LOT 4592 KOOTENAY DISTRICT PLAN 8752', N'0163', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:42.000' AS DateTime), 74818, 1183, 0xBD0B00000104F700000033234A3BE9E33941D0F7E46167CB1E416E8A8EA4EBE339411032E62E70CB1E41644DF30EEEE33941B0211FF478CB1E4145355E7AF0E339418033A2B481CB1E41D8C56D54F5E33941D09DEF2793CB1E41BC4082C2F7E33941C0F528DC9BCB1E41393CBD32FAE33941A0DD0289A4CB1E417EB740A2FCE33941F07CD033ADCB1E41124FAF14FFE3394150D022DBB5CB1E41245A64FB03E43941A0E1E915C7CB1E413BEF38E508E43941605BB13FD8CB1E419C23B95C0BE43941905F98CCE0CB1E4160984CD50DE43941E0F3FD54E9CB1E41EC3845C712E439410086C954FACB1E41886CE73B1AE4394140C6DCB513CC1E41A2ABAD381FE43941D002098A24CC1E4176F2B0D022E43941B0BAB88D30CC1E414AC807BD26E43941C0E4F29F3DCC1E4152CA32C42BE4394150CAC3424ECC1E415227A0492EE4394180DEE08B56CC1E41D73D79F83FE43941C08EE47290CC1E41A28026A21AE53941D06C56FD02CD1E410AFE5AED1AE53941403B0D60F3CC1E414CD2E2171BE5394130F512BBE3CC1E412A60B2211BE53941F04BAD12D4CC1E41BBF9C60A1BE5394130DF226BC4CC1E415AE126D31AE53941B014BAC8B4CC1E41B147E17A1AE53941D0E8B72FA5CC1E410B68220C1AE53941105B423E8DCC1E412507A5EE19E5394150780A9986CC1E410DBEE6D219E5394160455AF37FCC1E4156ABE7B819E53941301A394D79CC1E41C8EBA7A019E53941F04EAEA672CC1E41209A278A19E53941503DC1FF6BCC1E413ECF667519E53941403E795865CC1E41BCA8A42E19E53941F03FA45F4DCC1E416F6C5BF518E53941E0D0350D38CC1E412EBF63DA18E53941404809B722CC1E41A908C1DD18E53941D057D05F0DCC1E411EDC72FF18E5394190D33C0AF8CB1E4165F8743F19E53941105900B9E2CB1E417E48BF9D19E5394150FBCB6ECDCB1E415A9E97D019E53941D0666C2AC4CB1E41C29B1E141AE53941B0EFB7ECBACB1E41448A46681AE5394160FB8EB7B1CB1E411A53FECC1AE539419031D08CA8CB1E41568231421BE53941B01F586E9FCB1E415E4BC8C71BE53941C0D1005E96CB1E410E8E03531DE539414089A55483CB1E41560987E81EE539410015D35870CB1E4118534B8820E53941B050E26A5DCB1E4152D1483222E53941D0D52B8B4ACB1E4106BA77E623E5394150FD07BA37CB1E41A813D0A425E5394100D9CEF724CB1E41D655B49126E5394120190AF91ACB1E41A5177F8927E53941B0B5D70A11CB1E4172CF1D8C28E5394180DEF52D07CB1E4140247D9929E5394140772163FDCA1E4118EF88B12AE53941C00916ABF3CA1E419C3C2CD42BE5394120B98D06EACA1E414A4772792EE5394110D93D79D4CA1E41EE1DD4CA2FE53941A0AE499AC9CA1E4135F35F0A31E539412078DA99BECA1E416EAAE03732E539415055C479B3CA1E418726245333E53941A0A8E03BA8CA1E41A852FB5B34E5394130C90DE29CCA1E41C7293A5235E53941C0B12E6E91CA1E419945A89735E5394100F0D49E89CA1E415CD701C135E53941A09E12C381CA1E4111B225CE35E5394150D335E179CA1E41B74A09BF35E53941208C91FF71CA1E411CC1B89335E53941309878246ACA1E41CFD5564C35E53941A086385662CA1E4118472BB034E53941C05DC7CA53CA1E41ADF4D71B34E53941C046353A45CA1E41F88F5F8F33E5394130F3C5A436CA1E41DCA5C40A33E53941102BBD0A28CA1E41A09E098E32E53941E0CD5E6C19CA1E4112BE301932E5394110CCEEC90ACA1E4122DBF97E31E53941E0891FE3F2C91E417C504B4B31E53941301040F0EAC91E417E3C121231E53941304BC0FFE2C91E41975C50D330E539419008DE11DBC91E414A99078F30E539414001D726D3C91E412C063A4530E53941C0D8E83ECBC91E41ACE1E9F52FE53941D019515AC3C91E413880B7E02EE5394150B9FC87ABC91E412055D5B02EE53941A00FA17FA7C91E418E3CD17D2EE5394110B6AC79A3C91E412824AD472EE53941209A46769FC91E41DE176B0E2EE53941809295759BC91E41B2410DD22DE53941505AC07797C91E41E2E995922DE539416091ED7C93C91E41A10916142DE53941801A0CD58BC91E41707562662CE53941B003E36784C91E412C80238B2BE53941908696477DC91E41B4BE70842AE53941F0178F8576C91E4166EBCB5429E5394140E44E3270C91E41B5C61AFF27E53941707B495D6AC91E41E902A08626E539410011BE1465C91E41684DF3EE24E5394130AF946560C91E416C9D35CD23E53941A0877E5A5DC91E41B59E8AAA22E5394130C0F3545AC91E41DE03F48621E5394100DEF85457C91E41D880736220E53941105D925A54C91E41EACA0A3D1FE5394160B1C46551C91E41C998BB161EE53941704694764EC91E4144B3ADBF19E5394130781E5F44C91E41DC08E65B15E53941D0CD47A13AC91E416240D8EB10E5394150EF103E31C91E412544F96F0CE53941202D713628C91E41C435BFE807E53941806D568B1FC91E41E861A15603E539418011A53D17C91E41F864828001E5394140FCE31F14C91E41579E0CA4FFE43941C08BC44011C91E413A84C5C1FDE4394160AA14A10EC91E41FC2D34DAFBE43941007E90410CC91E414F2EE1EDF9E439412032E2220AC91E41FB6C56FDF7E43941C0CAA14508C91E41FC35C176F1E43941E0D22C7802C91E41C0D1E5D8EAE4394130EA97A7FEC81E41ECB8702DE4E4394120DC76D9FCC81E418246227EDDE43941204E6D10FDC81E411F76C0D4D6E43941D0E42A4CFFC81E41029A083BD0E4394190B96B8903C91E41EA3A369CCCE4394100EA4F3F06C91E418E68B8FAC8E4394170797FB908C91E41F5ABCC56C5E43941806BD0F70AC91E4153B7B0B0C1E4394180BA1CFA0CC91E410062A208BEE43941405A42C00EC91E413EA4DF5EBAE43941A039234A10C91E41068A1F63B4E439416039B4C812C91E411C5B8B69AEE4394180032C3015C91E41445CEF76A8E4394120CC338018C91E412219818DA2E43941D09690B71CC91E41A0B472AF9CE43941207BB1D421C91E411818F2DE96E439418038B0D527C91E410C24281E91E4394160EB51B82EC91E410CC5FC988DE4394100251EEF32C91E4105EBE70D8AE43941F06D7DD336C91E419831627D86E43941304AEB643AC91E41B0EDE4E782E439416046EEA23DC91E412B1DEA4D7FE439411006188D40C91E41DA56ECAF7BE439413053052343C91E41FB4A59C673E439416003788B48C91E4134ED66D36FE439419039C12E4BC91E41F68260E96BE43941C0AAEF8C4EC91E4101916E0A68E4394180EC27A452C91E41DB7FB33864E439416090287257C91E41D26E4A7660E43941305C4BF45CC91E41AB0A46C55CE4394100C2862763C91E4142F8112E58E43941D030A7336BC91E417E18B57553E43941A028C8F171C91E41F00A1CA24EE439416031735977C91E41F69D55B949E4394170A3DF637BC91E4150348BC144E43941E02FFB0B7EC91E416709F9C03FE43941203B704E7FC91E4112DA316A3EE43941008430C07FC91E419A0F75123DE43941B0AA30F17FC91E41B84186BA3BE4394120CB54E17FC91E415E2429633AE4394100EDA5907FC91E41CE18210D39E4394160F851FF7EC91E410EBE30B937E43941709FAB2D7EC91E413A65046B36E4394190A83A1B7DC91E4196594B1935E43941E0A8765A7CC91E41ACB344C533E4394160C115EC7BC91E41DAB8317032E43941103E80D07BC91E4128AC541B31E43941C02DD0077CC91E41B29DEFC72FE43941504ED1917CC91E412067817E2EE43941D0EB6ADC7DC91E41BE925E382DE43941803FB2577FC91E41562CFAF52BE43941D07F210381C91E4182EDC5B72AE43941F0E321DE82C91E41C815327E29E4394100DE0BE884C91E41BE42AD4928E439416052272087C91E41046EFEEC24E4394140EAD3638DC91E4131277A7B21E439419065DDE692C91E41D4A8D1F71DE43941F084F4A497C91E417E5CC4641AE43941B007649A9BC91E41F3B41DC516E43941D08E13C49EC91E41C8FEB21B13E43941B0088A1FA1C91E41ACD704CB10E4394110EEE82EA1C91E415420967B0EE43941D07E6394A0C91E41900971300CE43941100BC5509FC91E41EC1F9AEC09E439416063B7659DC91E4154530CB307E43941C0A3C0D59AC91E41120BB58605E43941E0E53FA497C91E41EF56E80F02E4394180142C9792C91E410CF59C86FEE3394140AEA66A8EC91E4192B45FEEFAE33941805EE0228BC91E417C65CC4AF7E33941402E24C388C91E4108398A9FF3E33941B035D44D87C91E41F41648F0EFE33941103867C486C91E41A25EFD97ECE33941C0B2A78886C91E41EA734940E9E33941402E47FC85C91E4186CBA5E9E5E339419097591F85C91E418DB38B94E2E33941004BFEF183C91E4139427441DFE33941E00D607482C91E41D144D8F0DBE33941100BB5A680C91E41270C11A2D8E3394160B9D1E67EC91E41744C6959D5E3394190AFE8897CC91E41BAA4B218D2E3394150F9489179C91E41D24DBAE1CEE33941E0E097FE75C91E410E1B48B6CBE339414009D0D371C91E41C47D1D98C8E33941804E40136DC91E4162753BC6C6E339410089697468C91E414374B3F9C4E33941C0EB80B463C91E412608AB32C3E33941D09DE9D35EC91E41124C4771C1E33941706F09D359C91E4136E5ACB5BFE33941E0D348B254C91E41FCFFFFFFBDE3394180D712724FC91E413E3EE8F9B8E33941A0A6794742C91E418095B1DCB7E3394120517E573FC91E41188C73C0B6E3394160A1A6613CC91E41600F30A5B5E3394110B9F76539C91E41DE0AE98AB4E3394150C6766436C91E418068A071B3E339415000295D33C91E4160105859B2E3394110A9135030C91E410C363C7DABE33941C0D409E81CC91E41CED556EC7EE33941106D56FDBFC91E411C8E75518CE3394170BC0512F9C91E41871F638E8EE339419004349102CA1E419E5E290B93E33941704AEA8415CA1E4130431C4B95E33941F06A2BF61ECA1E41065F988C97E33941D0F7536328CA1E4179E09C119CE33941E07B61323BCA1E410E363C9DA0E3394130FBCBEE4DCA1E41EAB7AFE3A2E33941D013D04457CA1E41942A1875A7E33941D067B3EA69CA1E41081B9EBEA9E3394160C5FE3273CA1E418AEB5158AEE33941805AD3BC85CA1E41DE9C11A5B0E3394130FD65F78ECA1E418E537444B5E33941A01D3867A1CA1E4112022BE7B9E33941B011A5BDB3CA1E419287853ABCE33941704160E5BCCA1E41C09F1A8FBEE33941F0DD0209C6CA1E4152E3A53BC3E3394150128340D8CA1E41E2E00B93C5E3394160AA6054E1CA1E41A1F83146CAE33941E068006FF3CA1E4129F697FDCEE33941C06B097905CB1E411F6C785AD1E33941E04603780ECB1E4181D93DB9D3E3394190B20C7117CB1E41F0F44A79D8E3394190855A5329CB1E4147BF7D3DDDE33941E00AB5263BCB1E41822F4C06E2E33941506666E64CCB1E41C820B0D2E6E3394180E09C915ECB1E4133234A3BE9E33941D0F7E46167CB1E4101000000020000000001000000FFFFFFFF0000000003, CAST(216904 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (218273, N'{F6C79079-01E3-418A-855F-6835C7EFFDB9}', N'000017761', 645957, N'VIP1279', NULL, N'17761', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 23', N'Block 14', N'', N'LOT 23, BLOCK 14, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:49.000' AS DateTime), 383, 96, 0xBD0B000001040D000000AD2E6EC3A29D304160CA3244E1BD1C415ECC5DCBA29D304130386744E1BD1C41AF59F519AC9D3041505DDC46E2BD1C4127F6975DAC9D304190946508BBBD1C4125ED0D5EAC9D304180E848AEBABD1C4197F6065FAC9D3041C0E3141DBABD1C41570E2D52AC9D304140BF0E1CBABD1C41E002094AAC9D304180BE9F1ABABD1C4135014D649F9D304140C6DCB5B8BD1C418C635D5C9F9D304100C66DB4B8BD1C419F1A2F3D869D3041F0DA8AFDB5BD1C41F50FE9F7859D3041700A4625DEBD1C41AD2E6EC3A29D304160CA3244E1BD1C4101000000020000000001000000FFFFFFFF0000000003, CAST(218273 AS Numeric(38, 0)), NULL) +GO +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (218285, N'{AE595C5F-FBD4-4CBB-AAC0-4544C62A514F}', N'000017388', 645953, N'VIP883A', NULL, N'17388', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block 1', N'', N'LOT 3, BLOCK 1, DISTRICT LOT 132, ALBERNI DISTRICT, PLAN 883-A', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:44.000' AS DateTime), 647, 149, 0xBD0B000001040900000061C3D30BCE9C3041F0490C8245AC1C41A1CDAA6FCD9C3041F00FE9B76DAC1C41C239232A0E9D304110FB3A7061AC1C41518D974E0E9D30411000008048AC1C41F831E64E0E9D3041F0EFA74648AC1C41C7DCB5640E9D30410081044539AC1C41250F0B950B9D304170839ECD39AC1C4172E7FB890B9D3041203BDFCF39AC1C4161C3D30BCE9C3041F0490C8245AC1C4101000000020000000001000000FFFFFFFF0000000003, CAST(218285 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (218292, N'{F4D3B1B4-F3A9-4501-95FD-3408B66FF338}', N'000017426', 645953, N'VIP883A', NULL, N'17426', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 7', N'Block 1', N'', N'LOT 7, BLOCK 1, DISTRICT LOT 132, ALBERNI DISTRICT, PLAN 883-A', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:44.000' AS DateTime), 632, 146, 0xBD0B000001040D000000C20E9C33E29C3041705AD33CA1AB1C41D6096822E29C3041B0A44E40A1AB1C414FDA1B7CD09C304150C1A8A4A4AB1C418DE4F2DFCF9C3041901AC0DBCCAB1C41851F632EEF9C3041A087F4DBC6AB1C41142DB23DEF9C304110F54AD9C6AB1C411EA7E8E8009D3041208FC275C3AB1C41608FC2F5009D304130B3EA73C3AB1C416BAA60140F9D304110A4DFBEC0AB1C41F731E64E0F9D304190976E9298AB1C414E840DCFF59C3041E06B09799DAB1C41BF64AAC0F59C3041906CE77B9DAB1C41C20E9C33E29C3041705AD33CA1AB1C4101000000020000000001000000FFFFFFFF0000000003, CAST(218292 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (218300, N'{841D55D7-757F-4885-832D-CD2DE7E85F2F}', N'000017361', 645953, N'VIP883A', NULL, N'17361', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'Block 1', N'', N'LOT 1, BLOCK 1, DISTRICT LOT 132, ALBERNI DISTRICT, PLAN 883-A', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:39.000' AS DateTime), 641, 150, 0xBD0B0000010405000000C9A145B60D9D3041206EA301B1AC1C41B79690EF0D9D304170E3A59B89AC1C41186A4DD3CC9C3041006822EC95AC1C41AE59F539CC9C3041B0136143BDAC1C41C9A145B60D9D3041206EA301B1AC1C4101000000020000000001000000FFFFFFFF0000000003, CAST(218300 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (218332, N'{1137ED17-CEBE-453E-AF3E-EF731C2AD95B}', N'003687929', 647879, N'VIP3468', NULL, N'3687929', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 6', N'', N'', N'LOT 6, DISTRICT LOT 107, ALBERNI DISTRICT, PLAN 3468 EXCEPT THAT PART IN PLAN VIP64792', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:23.000' AS DateTime), 39039, 1127, 0xBD0B0000010407000000B8490CC2A78A304160DA1B7C601D1D418451491D758A304130C05B205B1D1D4110143FE6688A304110C7BA38F5241D41982A1815B98A3041608026C2FF241D41235A64BBC08A3041E004349168201D41DA78E986C58A3041D0BCE394871D1D41B8490CC2A78A304160DA1B7C601D1D4101000000020000000001000000FFFFFFFF0000000003, CAST(218332 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (218782, N'{A1B59603-7AFE-412B-8005-59B9A5FC6C62}', N'014291100', 299189, N'PRP934', 90073254, N'14291100', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 21', N'Block 12', N'', N'LOT 21 BLOCK 12 DISTRICT LOT 16A QUEEN CHARLOTTE DISTRICT PLAN 934 EXCEPT PLAN 6937', N'0116', N'0026', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-11-26T18:18:38.000' AS DateTime), 417, 85, 0xBD0B00000104050000000AAC1C9A192B22410810E9F7F57F2C41A489B061202B2241F0E76A6B2C802C419C4C158C3E2B2241B878E9A628802C41078195C3372B2241C020B032F27F2C410AAC1C9A192B22410810E9F7F57F2C4101000000020000000001000000FFFFFFFF0000000003, CAST(218782 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (219021, N'{E71A80C7-2CB1-4BFA-9E2E-3C213A4306AD}', N'012857475', 494353, N'NEP11212', 90054659, N'12857475', NULL, N'7099412020', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 8649 KOOTENAY DISTRICT PLAN 11212', N'0163', N'0004', N'NO', N'ICF', 7, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:20:57.000' AS DateTime), 23191, 605, 0xBD0B000001041400000043355EBA767C3841B8051214E2022041D678E9C6787C384190F6069FE20220414650FCF80D7D38417844692F0A032041AB2C433C1F7D3841C0E2365AEE0120417A14AE477B7C384120E483DEC20120413CDF4FAD757C3841D8FBA9B1270220411EDBF9FE747C3841B8EA73F53402204118FBCB6E747C3841506DC53E42022041AF2C43FC737C384108F1638C4F022041604BC8A7737C3841F0F675E05C0220416229CB70737C3841B0D85F366A022041A6C64B57737C3841685F078E77022041CCFEB25B737C3841D878E9E684022041132DB27D737C384120DBF93E92022041B8D100BE737C3841F873B5959F022041A83E571B747C3841688CB9EBAC0220411EEBE296747C38418091ED3CBA0220410CE9B72F757C38412895D489C70220419F01BCE5757C38414860E5D0D402204143355EBA767C3841B8051214E202204101000000020000000001000000FFFFFFFF0000000003, CAST(219021 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (219589, N'{F4C38DBA-F6D2-469A-AC02-5F1C834EC4A9}', N'003849155', 653874, N'VIP17960', NULL, N'3849155', NULL, N'05669.100', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot A', N'', N'', N'LOT A, SECTIONS 27 AND 28, TOWNSHIP 6, COMOX DISTRICT, PLAN 17960', N'0163', N'0017', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-12-17T18:22:50.000' AS DateTime), 8410, 499, 0xBD0B0000010410000000256519A21848304110BB278FD7412041E0141D694C483041A0EFA746774120418EA0F8B112483041788A8E247341204150FC1893AF473041F0C6BAF848422041A4CDAACFF7473041E8B9DA0AC7422041098A1FE3F7473041D88173866D4220417BF31640F8473041F8B4FBB65C422041A2CAC84CF9473041804E27054C422041DDE06707FB47304128D29D8D3B4220413C81FC6CFD47304108B7A26C2B422041808869790048304158E4E4BD1B422041B074732704483041782C4F9C0C4220414560C97008483041381BDA21FE41204134D90F4E0D48304138615F67F0412041CA81EDB612483041682D6F84E3412041256519A21848304110BB278FD741204101000000020000000001000000FFFFFFFF0000000003, CAST(219589 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (220011, N'{51C791C8-9A43-4E49-9F5B-1E4721F39447}', N'013843389', 295346, N'PRP974B', 90073173, N'13843389', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 23', N'Block 54', N'', N'LOT 23 BLOCK 54 DISTRICT LOT 851 CASSIAR DISTRICT PLAN 974B EXCEPT PLAN 7772', N'0163', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:19:35.000' AS DateTime), 40, 31, 0xBD0B00000104060000006C9CA2A36C512B41CCC64B57206131412BF6975D6D512B41FC2FBBC720613141BD6B09F976512B41E4D9AC5A266131411DFDF6757D512B4118F697FD29613141026F81047D512B41A0779C42206131416C9CA2A36C512B41CCC64B572061314101000000020000000001000000FFFFFFFF0000000003, CAST(220011 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (220043, N'{0D258460-7D61-42D9-8FE5-6E96AF7A5F44}', N'012917320', 296598, N'PRP1251', 1050611, N'12917320', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 43', N'Block 6', N'', N'LOT 43 BLOCK 6 DISTRICT LOT 4044 CASSIAR DISTRICT PLAN 1251', N'0137', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', N'319.5', CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:19:14.000' AS DateTime), 317, 84, 0xBD0B000001041000000025E4831E9AE02641C0506B5A579E3241043B704E9BE02641F8B27BF2569E3241606DC5BEA9E02641B8490C02529E324100DE02C9BAE0264134D6C52D4C9E324146EC2FBBCDE026417405A3B2459E3241F6088A5FC2E02641ACFD65573D9E324101B37B72B0E0264134FF217D439E3241811F63AEA2E026417458A835489E32411483C00A90E0264170F085A94E9E3241CADEE04B8DE02641B8270F8B4F9E32418DC3D0BB8FE02641C490AAB6509E32419EA4B90E92E02641AC05B0F0519E3241B7E6464394E026416CBC6B38539E3241F14F355896E026415811228D549E324110C1534C98E0264108F30FEE559E324125E4831E9AE02641C0506B5A579E324101000000020000000001000000FFFFFFFF0000000003, CAST(220043 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (220081, N'{16264A50-82C6-47C8-895F-57B3DB2DC2B5}', N'014083612', 295389, N'PRP968', NULL, N'14083612', NULL, N'00583.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 10', N'Block 41', N'Section 1', N'LOT 10 BLOCK 41 SECTION 1 DISTRICT LOT 863 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7733', N'0087', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:33.000' AS DateTime), 235, 87, 0xBD0B00000104050000007E3F351EF16E2B41E034EF588F6431419A11A5BDEB6E2B4158EE5A628F64314163E5D0E2EC6E2B41500C02EBB36431416CB5153B016F2B411CFAEDCBB36431417E3F351EF16E2B41E034EF588F64314101000000020000000001000000FFFFFFFF0000000003, CAST(220081 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (222504, N'{AA023073-7DBE-4F89-A9D8-A08AA9E5525D}', N'014340054', 1165847, N'NWP12428', NULL, N'14340054', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2011-04-26T00:00:00.000' AS DateTime), N'REM Lot F', N'', N'', N'LOT F DISTRICT LOT 316 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 12428 EXCEPT PLANS 28237 AND EPP11569', N'0067', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T10:01:50.000' AS DateTime), 11189, 807, 0xBD0B000001040E0000004EDA1B3C57103341004625F52C501C410D71ACEBE40F3341F02FBBA71B501C41022B87B6E00F3341304ED1115F511C414EDA1B3C57103341004625F52C501C41167C61F20D10334190226CF8B2521C41A8605492DB0F334130355E3A19531C4126F6971DDB0F3341C0293A1269531C41EDF21FD20B103341608AFD6571531C41167C61F20D10334190226CF8B2521C41BD30996A72103341305D6D45ED511C4183FB3A906E1033419006F0967D531C41E86A2B16A010334180C954C183531C4114FBCB4EA3103341909ECDAAF8511C41BD30996A72103341305D6D45ED511C410300000002000000000204000000020900000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(222504 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (225221, N'{26F03294-7AB5-432F-BE0F-3737A63C7802}', N'011693894', 3, N'NO_PLAN', NULL, N'11693894', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'68', N'', N'', N'DISTRICT LOT 68 YALE DIVISION YALE DISTRICT EXCEPT PLAN ATTACHED TO DD 673D', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:10.000' AS DateTime), 1255497, 8114, 0xBD0B000001041A000000ECB0502B4200354110B459355E2D204199779CE243003541505986785E2D2041C4A145B6E3023541E012F241C52D20418AA7574ABA023541902A18152B2C20418D1804768F023541303CBD12922A20410E61C3737D02354118E25817E6292041F93A70CE66023541E061A1D60D292041A0CDAA6FD80135412011363CBE232041A2F1D24D8B013541B0711B8DF5202041549FABEDBC003541F810C7FAD5202041984C15AC8A003541382CD49A85252041421361838600354150158C0AF4252041857CD0F37000354198EA73753028204172AC8B5B6F00354190F085C95A282041ECB0502B4200354110B459355E2D204118AE47C1AA0135410076E05CFA202041FDD478C9F4013541E8C56DF4D823204122D26FDF140235411075025A0B252041159E5E8922023541703D0AD78D25204190A982117E023541E80DBEF0F7282041C0E314DDD402354170CE88D2342C20412085EB1106033541985CFE83CA2D204152840DEF64033541D0817306D92D204107560E8DDF0335416039B4C850212041C2E3145D8002354118287E0C1B21204118AE47C1AA0135410076E05CFA202041020000000200000000020F00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(225221 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (225267, N'{9A35BFCE-7C18-4CBC-84CE-E4DF8A8CD84B}', N'012793159', 3, N'NO_PLAN', NULL, N'12793159', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 2450S', N'', N'', N'THAT PORTION OF CLOSED ROAD IN DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT CONTAINING 1.40 ACRES MORE OF LESS AND SHOWN OUTLINED GREEN ON PLAN A1057', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:34.000' AS DateTime), 5902, 641, 0xBD0B0000010437000000170DE0AD07793641E0BAB88D9DD51C4136234A3B2479364140A8C6CB38D51C41E1A59BA43F793641A006F016CFD41C4115AE47E14479364160832FCCB9D41C416ED712124A793641E0172653A4D41C419206F0364F793641009F3CAC8ED41C414BB81E454F7936411069006F8ED41C41B9AF03A75979364190DFBE8E61D41C412A0681D56379364100D881F333D41C418104C5CF6D793641F009F9A005D41C412B0F0B9577793641F099089BD6D31C419053742481793641904160E5A6D31C418151497D8A793641F0B7AF8376D31C41260681758B79364100AF256471D31C41E56A2B7687793641F05C6D4566D31C417A36ABFE76793641706132D538D31C41137A364B7279364130F7E46155D31C41F875E07C6D793641502F4CA671D31C41F597DD936879364130772DA18DD31C412BA08990637936415060E550A9D31C4152FC18735E793641700E9CB3C4D31C411A51DA3B59793641C05D4BC8DFD31C418E1804564D793641B0FEB27B1AD41C41BE86A7574979364160992A182DD41C41A2CDAAEF4079364160C807BD53D41C416229CB103C793641B0BDC11769D41C4199D409083479364170DD93878BD41C41EC51B89E2D79364170FEB2FBA5D41C41A489B041297936419073B595B7D41C41208E75512179364190B0E169D6D41C4110363C7D1D793641702A1815E5D41C416029CB701C793641501E16EAE8D41C411361C3731179364180976E1211D51C4123B072080979364190ABAD582ED51C41F0F44A7900793641604694F64AD51C410E022BC7F7783641F0B0E1E966D51C41898EE4F2EE783641F0E8B72F82D51C41805149FDE5783641205D6DC59CD51C4116022BE7DC783641A0E68CA8B6D51C41C48F3197D7783641C00B2428D2D51C4156CA3284D2783641C063CC5DEED51C418004C5AFCD783641A05B20410BD61C41E4C7981BC97836414082E2C728D61C41C654C1C8C4783641A0F97EEA46D61C41C07493B8C078364110C05BA065D61C419A6E12E3B47836414070CE88DFD61C413BDF4F6DB8783641D0C48FB1D1D61C41035F98ECDA783641201748D04AD61C4178A433B0DC783641B0188FCB3BD61C41963C6CC7DE78364160E18A762DD61C414F5D062EE178364180F840EE1FD61C41B27E25DFE37836418056184E13D61C411D3356D5E678364170E6A1AF07D61C41C030990AEA78364180C2642AFDD51C41170DE0AD07793641E0BAB88D9DD51C4101000000020000000001000000FFFFFFFF0000000003, CAST(225267 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (225301, N'{CE4B5FC0-3D22-437C-844B-49013009183A}', N'011369035', 850279, N'KAP1728', NULL, N'11369035', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Parcel 7', N'Lot 112', N'', N'PARCEL 7 (PLAN A1273) OF LOT 112 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 1728', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:58.000' AS DateTime), 2748, 276, 0xBD0B00000104170000001C51DA3BDC71364100D49AE6B3761D418BED7C3FDE71364170BF7D9D93761D4198F6065FE1713641906588E36F761D413E0AD703E3713641F0F8A0675B761D4170CE8852DC713641C0F7536351761D413EA4DF1ED67136414037894162761D41C7E53FC4D17136413003780B78761D41DB817346D071364180A52C4381761D4198779C62CC713641003B704E99761D41366EA321C47136413024977F96761D4172B5157BAC7136412061C35375761D41CE6F5F87A67136418058A8B553761D41189E5E499E713641208C4AEA58761D41260F0B35A2713641901B0DE080761D41A3ABAD98A971364150234A7BD1761D4107F9A087B071364140A301BC22771D4185D2DE00B771364140E2589774771D41888EE452BC713641D00F7A36BE771D41D43B4E51CD713641C0EC9E3C50771D418C537404D1713641200000800F771D412EBB27CFD671364150B29D6FF6761D41F2F44AD9D7713641D09F1AAFE9761D411C51DA3BDC71364100D49AE6B3761D4101000000020000000001000000FFFFFFFF0000000003, CAST(225301 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (226251, N'{D5FA4777-2AA4-4E2B-8C77-61260782E7BD}', N'006830145', 8198847, N'KAP37841', NULL, N'6830145', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1987-03-26T00:00:00.000' AS DateTime), N'Lot A', N'', N'', N'THAT PART LOT A PLAN 22726 SHOWN AS ROAD ON PLAN 37841 SECTION 19 TOWNSHIP 26 OSOYOOS DIVISION YALE DISTRICT', N'0057', N'0016', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'89.28', CAST(N'2021-01-29T11:22:53.000' AS DateTime), CAST(N'2021-01-29T11:24:58.000' AS DateTime), 80, 102, 0xBD0B0000010416000000F2C9C3E261673641D8FEB2BBBD2221410044FAAD6A673641A04C154CBF2221413A3CBDB26E67364148A1D6F4652221413689416068673641B8FC8734B32221416EA6864A6867364180517037B42221413E48E0296867364128C1B735B5222141BEDF8AFE676736411092872DB622214138A5D6C8676736418003151DB7222141A703278967673641A09EA402B822214191E0F13F67673641E06B8DDCB8222141D4C1BEED6667364100063CA9B9222141D0D225936667364188833567BA222141A0CACE306667364178351A15BB222141B5B56FC765673641E831A8B1BB222141BFA4CB576567364190A7BD3BBC2221419643B1E26467364130F75AB2BC222141B45AF96864673641088CA414BD222141CA3D85EB636736417072E461BD222141BB2A3D6B6367364128A98B99BD2221418B9B0EE962673641682933BBBD222141E48EEA656267364130A69CC6BD222141F2C9C3E261673641D8FEB2BBBD22214101000000020000000001000000FFFFFFFF0000000003, CAST(226251 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (226983, N'{DF449E9B-62D8-4EB9-A1FE-71C6C57ADCBC}', N'009796304', 3, N'NO_PLAN', NULL, N'9796304', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART 5', N'7', NULL, N'THAT PART OF THE NORTH 13.80 CHAINS OF SECTION 5, RANGE 7, CRANBERRY DISTRICT, LYING TO THE EAST OF THE ISLAND HIGHWAY, CONTAINING 6.5 ACRES, MORE OR LESS,, IN PLAN 273R, EXCEPT PARTS IN PLANS 3087RW, 3590RW AND 1140RW', N'0163', N'0021', NULL, N'ICIS CADASTRE', 7, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2020-08-25T16:02:23.000' AS DateTime), 2045, 336, 0xBD0B0000010406000000DDE995D2AA9F314160855A535BA71B411383C08A929F31413013F2414AA91B410E022BE78C9F3141A02A1895C2A91B41C242AD69A59F3141304ED111BBA91B4166BC7413AD9F3141E08173C65BA71B41DDE995D2AA9F314160855A535BA71B4101000000020000000001000000FFFFFFFF0000000003, CAST(226983 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (227539, N'{C98C4B14-510B-4928-8D09-53C78100CD56}', N'001565664', 117903, N'VIP877', NULL, N'1565664', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'Block 11', NULL, N'THAT PART OF LOT 1, BLOCK 11, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:28:21.000' AS DateTime), CAST(N'2020-09-22T09:16:54.000' AS DateTime), 306, 71, 0xBD0B0000010405000000C6C342EDA3373241F0E995B2ED8D1741F341CF86B2373241F04A5906DC8D1741DCC7989BAC3732415035EF388F8D17410A93A9029E3732416027A009A18D1741C6C342EDA3373241F0E995B2ED8D174101000000020000000001000000FFFFFFFF0000000003, CAST(227539 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (228918, N'{3F971F9B-6308-47CC-8816-32E6C419F3A6}', N'001706357', 12929, N'VIP218A', NULL, N'1706357', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'Block 24', NULL, N'THAT PART OF LOT 6, BLOCK 24, SHAWNIGAN LAKE SUBURBAN LOTS, MALAHAT DISTRICT, PLAN 218A SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 31051I AND CONTAINING 1.553 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 6, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:48:21.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 7047, 339, 0xBD0B000001040A000000DCA370BDADE7314140302A29EBBC1841DA34EF98A9E73141E004349187BE1841E0361AA0E4E7314130F6975D90BE1841A701EEABE9E7314180FCBBF24DBE1841D09F6FE1EDE7314110649B9A0ABE184194F2EB3DF1E73141201E6880C6BD1841E80D3BBFF3E73141B096D0CF81BD1841A49AC163F5E73141B0B2E3B43CBD184166DE712AF6E731419088F45BF7BC1841DCA370BDADE7314140302A29EBBC184101000000020000000001000000FFFFFFFF0000000003, CAST(228918 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (228958, N'{2501357A-DC26-4E4B-84BE-210FF8168D1D}', N'012386774', 7807237, N'KAP11H', NULL, N'12386774', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1988-02-23T00:00:00.000' AS DateTime), N'', N'', N'', N'THE NORTH 20.3 FEET LOT 61 SHOWN RED ON PLAN H11 DISTRICT LOT 323 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 301', N'0163', N'0022', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'1355', CAST(N'2020-10-28T16:37:39.000' AS DateTime), CAST(N'2020-10-28T16:41:28.000' AS DateTime), 2502, 834, 0xBD0B0000010406000000AE69DEB15E22364120F7E4E1FD9B1D41D4E76A2B5E2236411054E325169C1D41322AA973F72336414072F90FA59C1D410AAC1CFAF7233641E0A7C6CB8C9C1D41D300DEE27E223641F0088A1F099C1D41AE69DEB15E22364120F7E4E1FD9B1D4101000000020000000001000000FFFFFFFF0000000003, CAST(228958 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (229626, N'{F778BC63-9B70-4FEE-86AA-48420CB54D4C}', N'023963859', 4236065, N'KAP59864', NULL, N'23963859', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-04-05T00:00:00.000' AS DateTime), N'PART 4898', NULL, NULL, N'THAT PART OF DISTRICT LOT 4898 OSOYOOS DIVISION YALE DISTRICT SHOWN ON PLAN KAP59864 SAID TO CONTAIN 1.80 HECTARES MORE OR LESS', N'0163', N'0022', N'NO', N'SRW-COMPILATION', NULL, NULL, N'COGO', N'0', NULL, CAST(N'2018-07-04T13:55:14.000' AS DateTime), CAST(N'2020-03-03T11:44:27.000' AS DateTime), 22934, 789, 0xBD0B00000104190000001F6C789AD9473641D0915CBEF5012041BDA8A48E2C48364198567DEE5A0220414497B82835483641189F99FF43022041099EC99B3C483641D8CA53812B022041A8ACDED54248364110C2C3AE110220410AD1F1C747483641206C36C6F6012041467614664B48364168609708DB0120410D2E8CA74D4836411046D4B8BE012041C6BFE7864E48364188593B1BA2012041BB490C024E48364150A1D674850120413A7E18664C4836417830CA8B6C01204117FEABBC494836419831D3FF5301204179D8B40A46483641401F68FE3B01204125110B574148364120DBFEB32401204198F363AA3B4836413053BA4B0E01204110F2410F35483641C89F1AEFF8002041D6ACFA3C44483641581AC05BE400204174CE88F21C4836410883C08A7000204141B04B1E1348364138E1CB9D50002041E46545BA0A483641D037D9162F0020419D8606D70348364110D418380C002041130A2882FE473641407CC38CD0FF1F41367030C6FA47364130A2531187FF1F41D9F97EAAF8473641604DF38E3CFF1F411F6C789AD9473641D0915CBEF501204101000000020000000001000000FFFFFFFF0000000003, CAST(229626 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (229970, N'{62AEF748-CD89-407E-AF98-4E9128A62B78}', N'009729909', 871492, N'KAP9184', NULL, N'9729909', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot A', N'', N'', N'LOT A DISTRICT LOT 378 YALE DIVISION YALE DISTRICT PLAN 9184', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-04-15T12:24:44.000' AS DateTime), 8068, 406, 0xBD0B00000104120000005C39B488BA203541F053E325D75F1F41A1F83126C020354110B6847CA95E1F41B4D1007EBE20354110EBE236AD5E1F41911E448CB8203541E0076E55B65E1F413D4B2887B220354190FCEE9EBE5E1F4169618A70AC2035416017D510C65E1F4110D64C4AA62035418064D2A8CC5E1F414DF45616A02035415062DC64D25E1F416E4694D69920354160A52C43D75E1F41BAD1007E8C203541404BC807DC5E1F414F7424177F203541F0E46121DC5E1F412263EEBA71203541E04F1E16D75E1F4103DE0289642035412064CC5DCE5E1F419FA2233957203541A030992ABF5E1F41A5CFD53652203541206A4D73B95E1F4112A5BD0140203541505AD3BC9B5E1F41A4A223D93A20354150545227B15F1F415C39B488BA203541F053E325D75F1F4101000000020000000001000000FFFFFFFF0000000003, CAST(229970 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (230760, N'{3DF9FF7D-9C0A-49BB-8648-B72170D33425}', N'001606573', 134182, N'VIP1118', NULL, N'1606573', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot B', N'', N'', N'THAT PART OF LOT B, SECTION 70, ESQUIMALT DISTRICT, PLAN 1118 SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 27589 AND CONTAINING 0.68 OF AN ACRE MORE OR LESS', N'0023', N'0005', N'NO', N'MODIFIED-ICIS', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:37:52.000' AS DateTime), CAST(N'2021-05-30T19:21:20.000' AS DateTime), 2864, 284, 0xBD0B0000010409000000A2ABAD58D6173241806588E3756B174173787A258C17324170E7FBA9146B17418E3177AD5C17324120CB10C7DA6A1741DB56EC6F67173241E0F7C2E4566B174192B96BA98217324180CC5D4B7A6B17419F5E29CB9C173241108273469C6B1741B9FC8774B2173241B0B20C71B86B1741DF7A14CED81732416039B4C8836B1741A2ABAD58D6173241806588E3756B174101000000020000000001000000FFFFFFFF0000000003, CAST(230760 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (230804, N'{59B01280-659E-42B6-8086-404639A18A93}', N'010986065', 472153, N'NEP740A', NULL, N'10986065', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 4', N'Block 16', N'', N'LOT 4 BLOCK 16 DISTRICT LOT 267 KOOTENAY DISTRICT PLAN 740A EXCEPT PART INCLUDED IN SRW PLAN 16533', N'0053', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-05-30T19:48:41.000' AS DateTime), 90, 44, 0xBD0B0000010405000000026F8144FB023A4178F2B0D0E82824416AF7E4A1FE023A4160DA1B7CEC282441A935CDDB02033A4188E926F1DC2824418C855A73F4023A4198B6623FCD282441026F8144FB023A4178F2B0D0E828244101000000020000000001000000FFFFFFFF0000000003, CAST(230804 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (234045, N'{66FB01B1-0256-4F5D-BD4E-ADB5C879F6F9}', N'006257232', 7919639, N'VIP450RW', NULL, N'6257232', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1945-05-17T00:00:00.000' AS DateTime), N'Lot 1', N'', N'', N'THAT PART OF LOT 1, SECTION 5, RANGE 3, CRANBERRY DISTRICT, PLAN 3317 AS SHOWN OUTLINED IN RED ON PLAN 450 RW AND CONTAINING 0.45 OF AN ACRE MORE OR LESS', N'0163', N'0021', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'1795', CAST(N'2020-11-24T14:32:40.000' AS DateTime), CAST(N'2021-12-03T11:59:14.000' AS DateTime), 1813, 238, 0xBD0B0000010405000000A2CDAA6F0F8D3141E08173C663A41B41A18026022C8D3141104CA60A63A41B417E8CB96BEB8C3141803D0AD766A31B417ED93DD9CE8C31413005A39267A31B41A2CDAA6F0F8D3141E08173C663A41B4101000000020000000001000000FFFFFFFF0000000003, CAST(234045 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (234380, N'{979B775E-F087-4700-8F71-43AD3D5F6EB4}', N'018583890', 125184, N'VIP57957', NULL, N'18583890', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 1', N'', N'', N'LOT 1, SECTIONS 31, 44, 45, 71, AND 72, VICTORIA DISTRICT, PLAN VIP57957', N'0094', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:26:48.000' AS DateTime), CAST(N'2021-12-29T08:56:32.000' AS DateTime), 1380323, 8327, 0xBD0B000001040F010000A68251295A4C3241807CD0B3D2A517418DE4F2BF654C3241A059F539C5A51741E7C03903714C3241E0B050EBB3A51741626DC5DE7B4C3241E041CFE69EA51741ADBFEC3E864C3241203CBD5286A51741B6847C10904C324130D0B3596AA517415DDC4623CD4C3241706DC57EACA4174126A089501D4D32410013F241B3A317411D63EE1A2D4D324170DE718A7EA31741AA79C7E93B4D3241F0B4A67945A317413B5EBAA9494D3241B087855A08A317414F158CEAA14D3241203A924B62A1174186F4DB97BF4D3241B0529621DEA01741BA96908FDF4D3241601136BC62A01741EB2631A8014E3241507FD9BDF09F17418B416045CC4E32411020D26F7A9D17419228EDADDA4E3241F075E09C4D9D174148893847DB4E32411068F12D519D1741ED578EEBDB4E3241F07ABF9F549D174179C3889ADC4E3241D05828F0579D1741E562BB53DD4E3241D05C1E1D5B9D17414278B316DE4E324110D8A9245E9D1741B537F8E2DE4E3241404AEA04619D174106321258DF4E32418072BA10629D1741285D95D2DF4E3241F0BA83F2629D17419DFA9051E04E3241D0738AA8639D1741FC820BD4E04E3241A0EC6831649D174149900459E14E32416030128C649D1741D9D576DFE14E3241C017D4B7649D1741BF215A66E24E324110A658B4649D1741D763A5ECE24E3241E0B3A681649D1741EFB65071E34E3241C0DD2120649D1741016757F3E34E3241C0C68990639D1741BBF1B971E44E3241109AF8D3629D174191FC7FEBE44E324120E3E0EB619D17419B3CBA5FE54E324180B60ADA609D1741FE4C84CDE54E3241F02D90A05F9D1741C8293A52284F3241B0FF90FE909C174156863896224F3241C01E85EBE19B17413D795868214F3241B05D4BC8BD9B174195E61DA71A4F3241A06588E3809B1741E651B8BE154F324130787AA5549B1741DE581777094F3241D0FEB2FB0D9B17419AF606BFFD4E3241B04C158CCA9A1741C286A7D70B4F32410060E5509E9A1741E9B7AF03004F324190D8CEF76B9A1741D5F97EEA134F324150234A7B2F9A17413DC6DCD5164F32412048507C3E9A17418EED7C5F204F3241805452A7209A1741C40E9C93334F3241904F1E96E4991741B99690EF404F324140234AFB289A174100DE02296A4F324160B12EEEA99917415517B7B1644F3241C023B97C9B99174122FDF6B55E4F3241807B83AF9799174116265345654F324120287E8CEF981741D8283DB3654F324130352F16E7981741EADB764C664F3241A07F61CADE981741D3CB0010674F3241F0BFE9B6D6981741F5F994FC674F324100C33EE9CE98174139FCA810694F324140F6626EC7981741628E704A6A4F3241E0B9CE52C09817419A91E0A76B4F3241A0955BA2B99817416874B2266D4F3241D0763068B398174109FE67C46E4F32419018AFAEAD9817415F764F7E704F3241A0B6627FA8981741A223B9FC764F3241704AEA04979817412CA2B437384F3241203867C46C97174184635D7CCB4E3241B072F90FBB98174111583954AD4E3241B026310820981741DAF97EAA7C4E3241A0D022DB219817417368916D3D4E3241C00DBE30E0981741E0BE0E7C164E3241A01D386755991741277E8C19B44D3241404547F2549717410EC7BAF89B4D3241A0779CA29F971741B003E78CE34C324140A4DFBEE9931741F185C9D4C84C3241F076BE1F60931741F6D6AF2EC34C3241A0CDA93A459317415E18DAFFBC4C3241006FEA482C931741B0AF0453B64C3241A069D0751593174163CAC633AF4C3241908FFDE800931741C63D7EAEA74C324190A520C6EE921741E10D3AD09F4C3241306DB72CDF921741C9C0A3A6974C3241A0F6D737D292174192A5E73F8F4C3241509801FEC792174128389CAA864C3241E0DEF590C0921741EECCA8F57D4C324150B899FDBB921741D8AF2B30754C3241F010DF4BBA92174125E45F696C4C32411007B77EBB9217413AB282B0634C324110CD0C94BF9217417331B9145B4C3241904DC984C692174138FCF5A4524C3241C070DF44D09217416A3BDF6F4A4C3241501361C3DC921741160DE06D744B3241708863DD479417415D764FBE404B3241B0900F7A9E94174101917EBBFD493241F06C567DC5961741B9847C30F5493241A01C5AE4D59617411648501CF549324150DF4F0DD69617412CA913F0F4493241408E7571D69617410D71AC0BED493241A0ED7C3FE9961741884160E5EC49324150098A9FE9961741DD7A14CEEC493241E03FA4DFE996174198C42030E549324100D7A3F0FF961741CE6F5F27E5493241A0270F0B00971741B837F822E54932416007CE1900971741626DC5FEDD49324140D8F0F418971741A46054F2DD493241E0096822199717419DCDAA6FD7493241D0A3703D34971741290F0B55D749324160C58FB134971741742D213FD7493241B099991935971741946E1263D1493241A0ADD85F529717416891ED5CD149324120000080529717411FF46C56D149324160787AA55297174188635D1CCC493241A00C022B72971741B4D85F16CC4932410060E55072971741E1C7989BC7493241C0F97E6A93971741EF9E3C8CC7493241C04082E2939717413B1AC07BC7493241E020B07294971741A4703DCAC3493241B086A7D7B69717415F4BC8C7C3493241A0FB3AF0B6971741B5490CC2C349324110A08930B79717413A4547D2C04932412008AC1CDB9717417AF2B0D0C04932415032C431DB971741858EE4B2BE493241B06800EFFF971741E78C28ADBE493241901A2F5D009817412F6EA361BD493241809CA22326981741FEFFFF5FBD4932418024977F26981741BA847CF0BC493241607FD93D4C981741F597DD13BC493241D03923CA4CA217416AAA6094BC493241D07A14AE79A2174119E25897BC493241B0E1E9157AA2174174C7291ABE493241E0F0F4CAA5A217415F764F1EBE493241000E2D32A6A217416C567DAEC0493241304625F5D1A21741449B553FC4493241A0BDC197FCA21741A8825149C449324140226CF8FCA217415C7FD9BDC84932410064CC5D25A31741FDDD02C9C8493241C0EC9EBC25A3174117AE4741CE49324170DE710A4DA317419AFB7FDECE493241C0658FE750A3174129CBC37DCF49324100516DBF54A31741214F101FD0493241904FFA9158A31741C5B062C2D04932418027255F5CA317412410B867D149324120B8DC2660A3174150840D0FD249324190F90FE963A3174111143F46EC49324140F1634CF9A31741A167B32AF1493241004625F517A41741048A1F63F5493241000C932938A41741F43845E7F849324130C4B1AE59A4174194BB96B0FB493241B038D6457CA4174106AC1CBAFD49324150C4B1AE9FA4174133422EDFFD493241B0C67E2DA2A41741B06E7E11FE493241004FA29DA4A41741C4B1B250FE493241A0B8B9FAA6A41741D55B599CFE493241D0A08440A9A41741EA59EAF3FE493241408EEC6AABA41741522AC856FF49324180490C76ADA417410AF840C4FF493241A0DF365EAFA4174197DA8F3B004A3241903EFE1FB1A417413238DEBB004A3241506139B8B2A41741BB474544014A3241D0FD0924B4A41741F9AFCFD3014A324160AEE160B5A41741CB407B69024A3241F089866CB6A417419BC33A04034A3241A0271745B7A417419EDFF7A2034A324110FD0DE9B7A417416D0E9544044A3241801E4457B8A41741B19DEFE7044A3241C04DF38EB8A41741D16F5FA72D4A3241C030992AC0A41741EE63CC5D564A324130674469CAA41741780B24087F4A324150A60A46D7A41741CF22DBD9264B3241900D4F2F33A5174150D191BC524B3241F092A9024CA517412A5305837E4B32411082E2C767A51741E202092AAA4B3241308FC27586A51741741283401E4C3241E0361A40DAA51741E661A1362A4C3241F0CCCCCCE0A51741BFD32B45364C324150182653E3A51741B1D85F56424C324120CD3BCEE1A51741817346544E4C3241D0A44E40DCA51741A68251295A4C3241807CD0B3D2A51741FD907EFBC14A324180F90FE9C3A5174130BB27AFD24A324170DE718A96A5174149696F90974A324180770B247EA5174133D49A465C4A324180832FCC6AA51741A0A223D9204A3241004D848D5CA51741467B83AF304A3241202A3A12B7A517418304C54F3C4A3241C0DCB584F9A51741B425E483484A3241B03767443FA61741823F35BE544A32417054522785A61741F897DDF3604A3241F08D06F0CAA61741FD907EFBC14A324180F90FE9C3A51741CB4B3729F54E3241D03B4E51C5A4174121166ACD174E324190E8482E46A017410D583974144E32417096218E50A0174171810405F44D324120917EFBBCA01741C2F5289CD54D3241A087855A32A1174151401361B94D3241A0BB9610B0A1174161FE435A874D3241705CFE439FA217413E1CEB427F4D3241D095B20C1DA317419B923A81B64D3241D00B24A83CA417414DE3A57B3E4E3241E0718A0E01A71741CB4B3729F54E3241D03B4E51C5A417410B3D9B952A4B32411099BB9617A81741BDD32B25364B3241F0891F6359A81741104FAFB4414B3241407B832F9BA817415BCA32444D4B324160DA1BFCDCA81741BC5B20E1584B3241902A18151FA91741EA482E5FD64B3241F0A3703DC5A71741D022DB790C4C3241E08173C6FAA81741B3B662FF1D4C32415038D645C9A8174131BB278F2E4C3241C0FEB27B9AA817416E567D0E434C3241008C4AEA81A8174185635D5C564C324100CB10C76AA817413A80B760584C3241A0F5285C68A81741831D3827674C3241F0EBC0393BA8174195976EF2754C3241C0762D210EA817419F11A5BD844C32413070CE08E1A7174193C2F588934C324170FB3AF0B3A71741FB4A5946AF4C3241F01B7C615FA71741FB285C2FB24C324190B7408256A7174146BF7D1DC74C324100A5BD41CCA717419C779CE2D14C32411086C9D408A817417714AEA7DC4C324190D4096845A81741CFCCCC6CE74C324100234AFB81A81741907EFB1AEB4C32412032E6AE96A817410D9C33C21B4D324150AA605402A81741487B83CF4C4D324180A52CC36CA71741477B834FC04D3241300681950CA61741858EE452B34D3241506744E9C8A517416A6FF045D54D32417041606561A517418ECB7F48C34D32413018955403A51741728104656F4D3241F0AE25644EA3174186DB68E03A4D3241E08173C6F1A317410CBE30F9DF4C32415061C3530CA51741BF0E9CF3A24C3241109A081BCAA517413055300A974C3241702AA913ECA51741156A4D738A4C3241B0FA5CED09A61741449D80467D4C324170211F7423A61741E1C7989B6F4C3241A022DB7938A61741D6E76A8B614C324160F4DBD748A61741F8285C2F534C32415020417154A61741C15296A1444C3241003255305BA61741669A77FC354C3241F027A0095DA61741226C785A274C32411090A0F859A61741578638D6184C324190DCB50452A617411B48505CF74B32411062A1D639A6174106A392BAA44B3241A0711B0DFEA51741297502BA674B3241B00B2428D4A51741DB0968822A4B3241604DF38EAFA517418C1F630EED4A3241C03E575B90A51741006F81642B4B3241E0BFEC1EF3A6174198B20CF1424B32412092CBFFB2A61741FBFEFEE2434B324110D1EA9CB4A61741788D6ACB444B32413032D789B6A617415425ABA8454B3241A07E15C3B8A6174105BF3079464B32414081A044BBA617414A57823B474B3241A04DF009BEA61741EE9840EE474B3241206F020EC1A61741DD572890484B324130FA624BC4A6174189D91420494B3241906536BCC7A617413AE6019D494B32412023445ACBA61741609F0D064A4B324120DF011FCFA6174119187A5A4A4B3241F0539F03D3A617418DACAE994A4B324150991201D7A61741D11539C34A4B324140E02410DBA617419938CED64A4B3241707E7F29DFA6174117AD4AD44A4B32415032B945E3A61741C7FEB2BB4A4B3241D088635DE7A617415F29CB50434B3241B035CDBBFBA617415DC3D38B454B3241F0CCCCCC08A71741B30C712C134B3241C018735792A717410B3D9B952A4B32411099BB9617A8174104000000020000000002B300000002BE00000002C900000005000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003000000000300000003, CAST(234380 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (234634, N'{2141263B-6EE4-4B88-BC7D-F99324970931}', N'013689461', 3, N'NO_PLAN', 5682670, N'13689461', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'12265', NULL, NULL, N'DISTRICT LOT 12265 CARIBOO DISTRICT', N'0163', N'0002', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2022-01-13T13:33:34.000' AS DateTime), 2698, 508, 0xBD0B00000104120000005D7FD9DD6BD7324108462535A7032B41E0E995F264D73241584BC887A6032B4121B9FC0761D7324130C28627A6032B4166006F6165D7324100CE19519C032B41260F0BF583D7324188FB3A3057032B4142AD695E86D73241C030996A57032B4139014D4409D83241C06B09F963032B414AD8F0B409D83241489D80A651032B41F8C2640A80D7324110FCA97144032B41898EE4B27FD73241E0FDD43845032B4106C58F917FD73241B05CFE8345032B415362107868D73241E032C4F17A032B41868EE45255D7324138EF3805A5032B41BD7D1D784DD7324128B7D140A4032B41A92C43FC4BD7324168621058E1032B4184635D3C65D73241A09543CBE3032B417EB740626AD7324158CC5D4BE4032B415D7FD9DD6BD7324108462535A7032B4101000000020000000001000000FFFFFFFF0000000003, CAST(234634 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (234703, N'{69874238-D6FF-4628-A7DA-83C5603E4681}', N'014615380', 8183663, N'KAP41585', NULL, N'14615380', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1989-08-23T00:00:00.000' AS DateTime), N'Parcel B', N'', N'', N'PARCEL B DISTRICT LOT 134 OSOYOOS DIVISION YALE DISTRICT PLAN 41585', N'0057', N'0016', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'5146', CAST(N'2021-01-26T14:58:12.000' AS DateTime), CAST(N'2022-01-18T10:45:45.000' AS DateTime), 5171, 864, 0xBD0B0000010480000000D5A3705DB8673641A83E57DBA40C2141BAC30086B767364170A9F5CF9A0C21411531ABE2B6673641083446B5900C21410928B473B6673641787D818F860C214100044A39B667364188C6E4627C0C21414D2C8533B6673641F82AB033720C2141D7096862B667364138DD2406680C214164519F5AB6673641D810E0AA670C2141605DE752B6673641D892954F670C2141F52E404BB6673641D06E45F4660C21410EC7A943B667364188B1EF98660C2141C626243CB66736411867943D660C21410C4FAF34B6673641209C33E2650C2141A8DFBEAEA2673641880B24685B0C21415BEA119CA267364158871D7A5C0C2141F01C2A7DA2673641D887A0875D0C2141EC6F4752A267364188317F8E5E0C214107A8C21BA26736415867998C5F0C2141269E0CDAA16736413033E17F600C21411A56AD8DA167364168045F66610C2141CDE44237A167364190C3353E620C21414E2980D7A067364170ADA605630C21415E5A2B6FA067364120F014BB630C21413A6C1CFF9F673641E000095D640C2141A2513B889F673641D0A533EA640C2141C61B7E0B9F67364148AC7061650C2141C8FCE6899E673641D044C9C1650C2141883182049E6736411802760A660C21412ED6637C9D673641B876E03A660C2141D1AAA5F29C673641706BA452660C21413BCC64689C67364140AF9051660C2141B665BFDE9B673641C87CA737660C2141C760D2569B673641E0751E05660C21415817B7D19A67364138355EBA650C2141D188D27E8F673641186C783A5E0C2141A33C2CF488673641C0CAA105840C2141AA4E40F393673641A028ED4D8B0C2141E83FA45F9F673641F01A9EDE920C21418CE3D2E49F673641F8C66345930C2141A889AE64A067364138225CC4930C214154891EDEA0673641E876705A940C2141BF511850A167364148555706950C214120B3A1B9A1673641106697C6950C2141F003D319A267364110A88A99960C2141741DD96FA2673641480D627D970C2141402BF7BAA267364100742970980C2141B14988FAA267364138F0CB6F990C2141DFEF002EA3673641285E187A9A0C2141DC21F054A3673641A831C68C9B0C2141DC68006FA367364160787AA59C0C2141CEDEE0ABA4673641C01951DAAB0C2141FA31E64EA667364128B072E8BA0C2141703D0A57A8673641508104C5C90C21412C6EA341A9673641C8D1009ECF0C2141FA4A5946B1673641C820B0F2000D214198FF909EB9673641084CA64A340D2141734694F6C1673641B82D90A0670D2141F5285C4FCA673641C035CDFB9A0D21414A94F6A6D267364178A98251CE0D21413E0AD7C3D967364108CE1911FA0D214199C752E7D967364158E62913FB0D2141064A76FFD9673641709A6A1AFC0D214197D5120CDA673641C83EDE24FD0D2141A9FF0F0DDA673641C8F48030FE0D214117DE6B02DA67364140944C3BFF0D2141FE0A3BECD9673641A8943C43000E2141BA7CA8CAD9673641B0F65146010E2141EA32F59DD967364148209742020E214165B87766D9673641C0A82336030E2141DD7B9B24D96736414009201F040E2141BEFFDFD8D8673641982EC9FB040E214152E3D783D8673641D0E273CA050E2141FCC62726D867364160079089060E2141680D85C0D7673641E89BAB37070E2141607CB453D7673641808B75D3070E2141E0BF88E0D66736412038C05B080E214133D2E067D667364160C383CF080E21412E4CA6EAD5673641300DE02D090E2141735F078EC967364168EC2F3B110E21416C68910DBB673641201FF4AC1A0E2141DA78E966AB673641D0BFECDE240E2141A4EFA7E69C673641C03B4E512E0E2141CC19519A9B67364190B0E1292F0E2141F931E62E966736418816D98E320E2141B259F5B990673641D0FC87B4350E21413811363C8B67364198F5B99A380E2141E695B2AC84673641E834EFB83B0E2141898EE4127E6736413811367C3E0E214111E02D707767364108AF25E4400E21414C03784B6267364170D2DE20460E21414F6B9A9754673641F0F36C96470E2141E651B8DE4667364158158C8A470E21411D5A647B3E67364108197397460E214150FC18B33B673641889ECDAA560E2141276673753B673641282C804D580E214146EEBF493B673641702822F9590E2141FAEA4E303B6736416871A1AA5B0E21415B214F293B673641581DE15E5D0E2141426FCD343B6736415034BF125F0E2141DBB3B4523B673641B8701AC3600E21411CF6CD823B673641E801D86C620E214137CAC0C43B673641F840E90C640E2141DEF313183C673641E04E51A0650E21414C452E7C3C67364138932A24670E2141C3B857F03C673641600FAC95680E2141ECC2BA733D673641587C2EF2690E214160DB65053E673641982D31376B0E2141A3384DA43E67364158A85E626C0E214174BC4C4F3F67364130F090716D0E2141E00C2A05406736410078D5626E0E2141FCD596C44067364118B870346F0E2141B030338C41673641F05CE1E46F0E21417C29905A42673641480BE372700E21411363322E4367364138B570DD700E2141DDCF9405446736414879C623710E2141077D2BDF44673641800A6345710E2141746A66B945673641589F0842710E21411F6AB492466736417861BD19710E21418501866947673641F863CBCC700E21411748503C48673641501AC05B700E2141FC6C569DE867364160E7FBE9070E2141E7C03903E7673641F04C840DFE0D2141952A18B5B9673641F8E99532E70C21418416D94EC1673641988EE432E20C2141B6AF0347BC67364178EE5A42C30C21415FDC46C3BA673641D8B5843CB90C21417C613275B967364198ABAD18AF0C2141D5A3705DB8673641A83E57DBA40C214101000000020000000001000000FFFFFFFF0000000003, CAST(234703 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (235533, N'{09A9017C-82C8-49CF-BB36-F01771059F99}', N'015030172', 469211, N'NEP2993', NULL, N'15030172', NULL, N'7861287000', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 196 KOOTENAY DISTRICT PLAN 2993', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:59.000' AS DateTime), 23068, 723, 0xBD0B00000104070000001A51DA5BFE5A39413880B700421B21411E386784F5593941B0CAA1050A1B214138CD3BEEEC5939411883C00A2D1B2141E0A59BA4E359394158E5D0E2AB1B214121FDF6F5325A3941201DC9A5BC1B214154499D40035B3941B8B12EAEE81B21411A51DA5BFE5A39413880B700421B214101000000020000000001000000FFFFFFFF0000000003, CAST(235533 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (235638, N'{9A12784A-5562-4A82-8E2A-2D8C48B67BA8}', N'007576251', 128602, N'VIP1347', NULL, N'7576251', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 6', N'Block 1', N'', N'LOT 6, BLOCK 1, SECTION 33, VICTORIA DISTRICT, PLAN 1347, EXCEPT PART LYING SOUTH EASTERLY OF THE SOUTH EASTERLY LIMIT OF THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOW ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:56:08.000' AS DateTime), CAST(N'2019-01-05T10:21:58.000' AS DateTime), 386, 88, 0xBD0B0000010406000000F7EDEBC0653C3241F0BD3019A69B1741E5B7AF03783C32419054E3A5B79B17412041F183783C3241E0043491849B1741B4F3FD94713C3241E0A59BC4639B1741AD7BF2F0663C3241608D976E319B1741F7EDEBC0653C3241F0BD3019A69B174101000000020000000001000000FFFFFFFF0000000003, CAST(235638 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (235651, N'{E482CB80-9735-4277-858B-096E165E9A98}', N'012956449', 493152, N'NEP7082', 9161331, N'12956449', NULL, N'7863037500', N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 819 KOOTENAY DISTRICT PLAN 7082', N'0056', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:32.000' AS DateTime), 653874, 4008, 0xBD0B0000010412000000208E75115C2C3941101DC925D5D82141BA627F995D2C3941801B0DE0BBD8214108A392DA822C394190832FCC56D6214120F46C768B27394178BC74D314D521416EF085A90A27394130BB278FF7D421412AA913705F26394170A67987CFD42141BA96904F2C263941D854C1E80AD82141AA57CA32292739413827A00947D82141F5C2644A29273941700C02AB45D82141EB1DA748382B3941100BB5E641D9214140BD52F63D2B394178302AE939D92141780B24E8682B394110D6C52D23D92141EE63CC7D8D2B3941C0779C6223D92141A211A5BDAD2B394150FC183332D92141FF21FDD6D52B3941400DE0ED55D92141F57E6A5CDE2B3941501895146AD92141BED1005E512C3941D045257588D92141208E75115C2C3941101DC925D5D8214101000000020000000001000000FFFFFFFF0000000003, CAST(235651 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (236303, N'{5BB97EB8-20E4-45DF-ADBA-84EC6FEB573E}', N'013525620', 3, N'NO_PLAN', NULL, N'13525620', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 11', N'4', N'', N'THAT PART OF SECTION 11, RANGE 4, QUAMICHAN DISTRICT BEING A PARCEL 3.57 ACRES MORE OR LESS INCLUDED IN PLAN 1027 OS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 15, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:58:51.000' AS DateTime), CAST(N'2019-01-30T16:34:07.000' AS DateTime), 13589, 1030, 0xBD0B000001043800000069B3EAB3E2CD3141608FC2F5AB8B19414A1050F4DFCD3141C0A32101A58B19414082BC2FDDCD3141B0C2552C9E8B1941DA134766DACD3141F0C99777978B19413FF80698D7CD3141308D1FE3908B19418C8A13C5D4CD314120D2236F8A8B1941024D84EDD1CD31414051DA1B848B19412ACB1047C9CD314160FC18F3718B19418916D9CEBCCD3141408BFD655A8B194171F30FF2AFCD3141F0F7EA23458B1941F1A472D6A2CD31416088196F328B19419350198495CD314110681653228B194186E83D0388CD3141F03BD4D9148B19413317375C7ACD314150FDA40B0A8B1941031973976CCD3141B0D634EF018B194107AC1CDA64CD3141606C787AFE8A19417F04C50F1CCD314180B6627FDF8A19411F3867C413CD3141C03099AADB8A1941BCD1007E0BCD3141C0EEC943D78A19413090A078FFCC3141D0F3FDD4CF8A194190A98211EFCC3141F00C71ACC38A19416FF085E9E6CC314120C9E5BFBC8A1941315530CADECC314160A52C43B58A194147EA04B4D6CC3141D0C64B37AD8A19410BF9A0A7CECC31410076E09CA48A194132B29DCFC0CC314140AF9465948A1941D04D62F038CC314170EC2F3BEB89194144FAED0B37CC31414003E78C618A1941544013E1B7CC314190AF03E7058B1941789CA2E3C3CC314180AC8B5B148B1941431CEB02CBCC3141907C3F351C8B1941127A362BD2CC3141A0BB9690238B19410288F45BD9CC314180FA5C6D2A8B1941114FAF94E0CC3141C05E29CB308B19417D6ABCD4E7CC314180C2F5A8368B194174AC8B1BEFCC3141C0012B073C8B194156EC2FBBFDCC31413013F241458B1941430AD7A307CD314160D044584A8B1941F1FDD4F86CCD314140F8C264798B194167807D1A71CD314120DE86757B8B1941420FC23975CD3141B064DDCD7D8B1941542D555679CD314130779A6D808B19413190E96F7DCD314140C18C54838B19419F25328681CD314160B67D82868B19416719E29885CD3141A08F31F7898B1941C4B12EAE8DCD3141501058B9918B19415C0104ED9ACD31413014ECFCA08B194183B927EDA7CD3141E0254B50B38B19418CC749A3B4CD314130F282A3C88B1941F07E5A04C1CD314130FB04E4E08B19413F399405CDCD314150C0B6FCFB8B1941E0B5849CD8CD3141A01804D6198C1941A2D6342FDFCD314170855AD3118C1941146A4D1317CE3141D05D4BC81B8C1941D556EC0FE8CD314120BD5216BA8B194169B3EAB3E2CD3141608FC2F5AB8B194101000000020000000001000000FFFFFFFF0000000003, CAST(236303 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (236687, N'{8127253C-3994-4D7F-8F53-7A005AE4DD77}', N'009931449', 290354, N'PGP20506', 90054962, N'9931449', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot A', N'', N'', N'LOT A DISTRICT LOT 4534 CARIBOO DISTRICT PLAN 20506', N'0163', N'0002', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2019-01-11T18:31:27.000' AS DateTime), 14517, 484, 0xBD0B0000010406000000E995B24C20F53241F87936EB6DAF2A41501E164A97F5324190559F2B77AF2A4122DBF91E9CF53241383EE8D9BCAE2A414703784B4FF53241E8F0F4CA67AE2A418B38D66526F53241D05D4B8852AE2A41E995B24C20F53241F87936EB6DAF2A4101000000020000000001000000FFFFFFFF0000000003, CAST(236687 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (236927, N'{64CD3A89-E9F3-4C14-9881-E4913A927EE2}', N'001568809', 141241, N'VIP1637', NULL, N'1568809', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'Block 24', N'', N'THAT PART OF LOT 5, BLOCK 24, SECTION 14, VICTORIA DISTRICT, PLAN 1637 INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:28:21.000' AS DateTime), CAST(N'2019-01-05T10:53:04.000' AS DateTime), 364, 76, 0xBD0B0000010405000000FA285C2FC13532418075719B39901741F9A06793D235324170C954412490174153621098CC353241D01E85EBD78F174105D7A330BB353241F0073D1BED8F1741FA285C2FC13532418075719B3990174101000000020000000001000000FFFFFFFF0000000003, CAST(236927 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (237189, N'{66CB566F-2A81-458E-B769-51D3FBBEA83D}', N'001585347', 126723, N'VIP851', NULL, N'1585347', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 7', N'Block C', N'', N'THAT PART OF LOT 7, BLOCK C, SECTION 16, VICTORIA DISTRICT, PLAN 851 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:55:57.000' AS DateTime), CAST(N'2019-01-05T10:54:18.000' AS DateTime), 778, 128, 0xBD0B0000010406000000A0EFA706E82C3241F0907E7B69991741CC073D3BE42C3241F04603F863991741A2B43798EB2C324170F5B9DAC4991741F263CCDD0F2D324150014D04FC991741AE2E6E63082D324160C5FEB29A991741A0EFA706E82C3241F0907E7B6999174101000000020000000001000000FFFFFFFF0000000003, CAST(237189 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (237780, N'{8C16E46B-AC4D-4A1D-8629-34D358DFD628}', N'014269058', 1088430, N'NWP20990', NULL, N'14269058', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot A', NULL, NULL, N'LOT "A", EXCEPT: PART ON SRW PLAN 47783 DISTRICT LOT 411 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 20990', N'0081', N'0009', N'NO', N'ICIS CADASTRE', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2021-03-09T11:44:28.000' AS DateTime), 723, 106, 0xBD0B0000010417000000F8A9F1326361334110DFE08B81581C4146EBB9E561613341A08E9D9587581C41A22661BB60613341F0826A0D8E581C412A292AB65F613341E06FBBE694581C4174B60FD85E61334150D946149C581C4178B1C0225E61334130DC1F88A3581C41AAD89C975D6133413031D133AB581C41901BB2375D613341F0397908B3581C41078FBA035D61334120DFE6F6BA581C4158041BFC5C613341C00AB7EFC2581C418045E2205D613341608072E3CA581C41B2F8C8715D61334180DFABC2D2581C418C2A32EE5D61334140901D7EDA581C41C27E2C955E6133418065C706E2581C413B0474655F613341B0B60B4EE9581C4198A9745D6061334140B8CB45F0581C411A4D4D7B6161334160E482E0F6581C410462D3BC6261334150326111FD581C417424971F6461334140F163CC02591C41E8FBA95169613341E01B7C6116591C4116E258777C61334170469476C4581C416591ED9C66613341F0EBC03973581C41F8A9F1326361334110DFE08B81581C4101000000020000000001000000FFFFFFFF0000000003, CAST(237780 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (237855, N'{67C9D87C-64B1-4233-A773-1A5900CF3E3F}', N'006117015', 118430, N'VIP1397', NULL, N'6117015', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'Block 3', N'', N'THAT PART OF LOT 1, BLOCK 3, SECTION 33, VICTORIA DISTRICT, PLAN 1397, INCLUDED IN PLAN 1 R.W.', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:28:59.000' AS DateTime), CAST(N'2019-01-05T10:55:56.000' AS DateTime), 176, 84, 0xBD0B000001040B000000F2C9C322123B3241B082514996951741F797DDD3123B324160DE718A9495174107F9A007133B324110B9FC079495174110C7BA78FF3A3241A038D6451995174108560EADF73A3241A026C2862D95174138CD3BEEFD3A3241C0718A0E44951741E8AE2504043B3241F03A704E5B951741C6BAB8ED093B32412013F241739517413ADF4FAD0C3B3241301CEBE27E951741C242AD690F3B3241C04D62908A951741F2C9C322123B3241B08251499695174101000000020000000001000000FFFFFFFF0000000003, CAST(237855 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (237877, N'{CF908178-0AAA-4247-9989-8519A1D69762}', N'025438514', 291349, N'PGP20296', NULL, N'25438514', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2002-07-15T00:00:00.000' AS DateTime), N'Parcel A', N'', N'', N'PARCEL A (CLOSED ROAD PLAN PGP48144) DISTRICT LOT 7045 CARIBOO DISTRICT PLAN PGP20296', N'0161', N'0002', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2019-01-11T18:30:34.000' AS DateTime), 2266, 188, 0xBD0B000001041D000000A089B021D64B3341702A18D5755928411AFBCB6EC24B3341E8A44EC019592841ACE1E955C24B3341D84C154C1959284165DE710ABD4B3341188E75B100592841F6A9F1B2A14B3341D8E1E99524592841ECA7C66BA34B3341081214BF585928413AD35C85A44B3341F02EA1E05F592841288450F1A54B3341603FF8C666592841258093ACA74B334130EE44636D5928416D176DB3A94B3341280852A773592841A8248201AC4B33419805A88579592841AE69DE91AE4B3341D0FBA9F17E5928412B036BC3AF4B3341E0E48C0A81592841F806340AB14B33410062D6EE825928417D9AF763B24B334100162E9B84592841C55352CEB34B3341D8909E0C865928419372C346B54B3341008B9A4087592841824DB1CAB64B3341586901358859284114EB6D57B84B334128FE22E888592841B4BE3BEAB94B3341C087C258895928413E815280BB4B334188DF188689592841921CE416BD4B3341C0D9D56F8959284146A121ABBE4B334140D42016895928410B3E403AC04B33411870987988592841A52F7EC1C14B33410879519B87592841EDA0273EC34B334190FCD47C8659284119729BADC44B334178921D208559284135DF4F0DC64B334198DD938783592841A089B021D64B3341702A18D57559284101000000020000000001000000FFFFFFFF0000000003, CAST(237877 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (238989, N'{93577016-8035-44A1-9AB9-5BA3190A0BA3}', N'014341361', 3, N'NO_PLAN', NULL, N'14341361', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART SW4', N'35', N'19,15', N'THAT PART OF THE SOUTHWEST 1/4 SECTION 35 WHICH LIES BETWEEN TWO LINES PARALLEL WITH AND EACH SAID LINE 49 1/2 FEET PERPENDICULARLY DISTANT ON OPPOSITE SIDES FROM THE CENTRE OF THE MAIN LINE OF THE CANADIAN PACIFIC RAILWAY AS SHOWN ON PLAN 31 TOWNSHIP 19 RANGE 15 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT', N'0163', N'0028', N'NO', N'MODIFIED-ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:31:55.000' AS DateTime), 2517, 362, 0xBD0B000001040600000072128320E8BC3541E82553456DA72341F5A9F192EABC3541A0DFBE0E30A72341C37D1D3847BC354120AC1C1A14A72341FA6C56FDE5BC354108BE30196CA72341DFA59B04E6BC354120ADFA1C6CA7234172128320E8BC3541E82553456DA7234101000000020000000001000000FFFFFFFF0000000003, CAST(238989 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (240359, N'{6E68AC01-38DE-4BE6-94E5-CB5B374274FC}', N'013307363', 3, N'NO_PLAN', NULL, N'13307363', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, NULL, NULL, NULL, N'THAT PART OF THE NORTH 1/2 OF DISTRICT LOT 1589 LILLOOET DISTRICT LYING TO THE WEST OF THE PACIFIC GREAT EASTERN RAILWAY RIGHT-OF-WAY AS SHOWN ON PLANS A632 AND A747 EXCEPT PLANS A45 AND A18695', N'0163', N'0025', N'NO', N'MODIFIED-ICIS', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2018-01-09T12:29:36.000' AS DateTime), 121877, 2362, 0xBD0B00000104560000005F7FD9FD28B83341D0A0F83113E023413155306A29B83341A8FB3A7029E02341441CEB622AB833410061C3933EE023415C5BB1FF2BB8334158D0B39954E02341B0D85F362EB83341106744696AE023411AB7D1E030B8334160A1D6F47EE02341DE361A4034B83341D89F1A2F94E023412263EEFA37B83341506588E3A7E0234132992AD845B8334130992A589BE023414CA60A6649B83341B0A679C7ABE02341FAA067D34CB83341609A775CBAE02341484772B95EB8334188DFBE0E01E123416888637D62B8334108560EED0FE1234163B3EAB368B83341104703F829E12341D8C56DD46CB8334178711B0D3DE123414CDA1B9C70B83341986E12C350E12341C77F48FF73B83341A0C117A665E12341A813D0C474B83341303A92CB6BE123413EE8D90C75B83341D002090A6EE12341989999F991B83341B0DB680007E1234185416085A5B83341D076BE5FC1E023416AF7E401ABB833413090A038A7E0234116B7D1E0B9B8334160976E5260E02341684DF36ED7B8334118B07268D3DF2341B88D06F0EAB83341B079C729A1DF2341B437F8C2EEB83341B84082228FDF23419BB20CB1F3B833419011A57D79DF23413D8B6CE7F8B83341B89AE61D64DF2341A80A4665FEB83341E09387054FDF23414282E2E703B93341D876BE1F3BDF2341BA37F8A20CB9334120E02DD01DDF2341F5CBEEE915B9334140C4B12E01DF23410CD7A3B020B93341902C439CE2DE234112363CDD2BB9334140C286E7C4DE2341B46B09194AB933418834807776DE2341FDEDEB8099B8334120E5D0A266DE2341DA56ECAF5CB8334118F46C56FEDE2341EA8C28ED51B8334160567D6E1ADF23410BF016884AB83341D0270F8B2FDF2341B6490CE244B83341789ECDAA41DF2341D712F2813FB8334198567D2E55DF2341006F81E43AB8334118A8C64B68DF2341B7627F9936B8334138F38ED37CDF234194E4F2DF32B83341C8CCCCCC91DF23417E5149DD2FB83341D0F8A027A6DF23416FF90F492DB8334128CD3BCEBBDF2341004D844D2BB8334198218EB5D1DF23416207CEF929B83341C89387C5E6DF2341569FAB2D29B83341401058F9FCDF23415F7FD9FD28B83341D0A0F83113E023410D022BE71BB83341782041B1BFE02341F1FDD47817B8334198825149A8E0234108B5A69913B8334188B0E1E98FE0234130E6AE8510B83341F80DBE3078E023418F8785FA0DB83341889BC4205FE0234188DB68200CB8334118F31FD245E02341504013010BB833414055306A2DE023415BC1A8840AB833413063EEDA13E02341FE87F4BB0AB8334110F01648FADF234115143FA60BB8334110B81EC5E0DF2341E1718A2E0DB8334180C5FE72C8DF2341063D9B750FB833415882E247AFDF234140F1636C12B83341B0AF036796DF23412FDD24E615B83341A0F831E67EDF2341A9F1D22D1AB8334130F163CC66DF2341895AD31C1FB8334140D8F0344FDF2341D244D87024B8334150C1A82439DF2341DEBE0E9C2AB8334138B6F3BD22DF23411CC05B2031B83341403D0AD70DDF234111363C5D39B83341F0043451F6DE2341CC22DBB944B833410879E9A6D8DE23419E703DCA73B83341905B204163DE23410968222C8BB7334110C286674EDE2341B81E85EB71B73341D87BF230E5E023415E4BC8876DB73341B8D4096858E123411C166AED6CB7334128B7D18070E12341C064AA2039B83341200EBEB085E12341189E5E2937B833410817489079E12341F3C2646A34B83341C036AB3E6BE123415D6DC53E31B83341904F1E965CE12341D9CEF7D32BB83341109C33E245E123417F9ECD4A18B83341A0C64BB7F8E02341AEEA731516B8334108000000F0E02341B1BFECDE11B8334178F38E13DEE02341BA847CF00DB83341A0F831E6CBE023410D022BE71BB83341782041B1BFE02341020000000200000000023200000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(240359 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (240999, N'{57EF5CFA-391B-4439-AAEC-5577E9568FE7}', N'013525239', 3, N'NO_PLAN', NULL, N'13525239', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART J', N'10', N'2', N'THAT PART OF PARCEL J (DD 42554I) AND OF A PARCEL 2.56 ACRES MORE OR LESS REGISTERED UNDER DD 1970F AND 17711F OF SECTION 10, RANGE 2, QUAMICHAN DISTRICT BEING A PARCEL .90 ACRES MORE OR LESS INCLUDED IN PLAN 1027 OS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 42, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T20:18:33.000' AS DateTime), CAST(N'2018-01-09T12:26:37.000' AS DateTime), 3749, 315, 0xBD0B000001040600000059423EA815C63141004E629051811941F6E461C116C63141B0180456C7801941B12E6E23E2C53141F0D6A3F045801941EE384567AEC53141007A362BC77F19410D5839F4ACC5314160696F705580194159423EA815C63141004E62905181194101000000020000000001000000FFFFFFFF0000000003, CAST(240999 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (241617, N'{D27A2E58-DC78-4E16-928D-62D28B0A4F97}', N'013831470', 3, N'NO_PLAN', NULL, N'13831470', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'NW4', N'17', N'21,8', N'THE SOUTH 1/2 OF THE NORTHWEST 1/4 OF LEGAL SUBDIVISION 11 OF SECTION 17 TOWNSHIP 21 RANGE 8 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLANS H608 AND KAP65473', N'0163', N'0006', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:23:07.000' AS DateTime), 15314, 573, 0xBD0B000001040B000000C44B37891DAF3641585227E0944E24411DB9FC2720AF3641B89DEF67724E244138CD3B0EC1AE3641400C02EB494E24412E772D61C0AE3641B0A8A40E514E24416A4DF38E9FAE364140BB27CF424E2441DE7A14AE99AE364138C58F31CD4E2441092428FE97AE3641F8B359B5F64E2441F25A42BE63AF364140BD52961E4F24415239B46867AF3641D84C154CBB4E244100D578A94CAF3641B859F539AA4E2441C44B37891DAF3641585227E0944E244101000000020000000001000000FFFFFFFF0000000003, CAST(241617 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (243031, N'{CC3DCB86-A42C-407B-81B7-72CDEA92BC4C}', N'014958074', 3, N'NO_PLAN', 35107881, N'14958074', NULL, N'01003.600', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART 177', N'5', N'', N'THAT PART OF DISTRICT LOT 177 RANGE 5 COAST DISTRICT LYING TO THE NORTH AND EAST OF THE BULKLEY RIVER', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:25:37.000' AS DateTime), 304823, 2335, 0xBD0B0000010410000000EB9E3CACA1D62C417432551095443041D7DEE00B59D62C411CE02D10B344304184832F0C1AD62C41F456EC2FCA4430412531086C07D62C41643BDF2FD2443041B015FB8B09D62C41F41FD28F28453041AE0C71EC09D62C41E056EC0F3A4530411E287E0C16D62C41608D97CE3547304140E8D9EC37D92C4128FBCB0E30473041EAA7C6CB29D92C41000EBE90E44430415FC3D3AB24D92C414060E5100B443041B19DEF2738D72C4194923A810E443041F0A7C6CB0BD72C411CA089D00E44304182832FCC11D72C411CA089702D443041EE95B28CF7D62C41B0847C7055443041CDDEE04BD0D62C41CC4D62B078443041EB9E3CACA1D62C41743255109544304101000000020000000001000000FFFFFFFF0000000003, CAST(243031 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (243159, N'{6B208986-308F-44DC-91A4-5D2CD064610F}', N'013226231', 246698, N'PRP1076', 35711721, N'13226231', NULL, N'03542.920', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 17', N'Block 34', N'', N'LOT 17 BLOCK 34 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 283, 89, 0xBD0B0000010405000000C09F1AEF172E2C41CC0E9C1366A130416D4DF30E622E2C41C00E9C7365A130410032E6EE612E2C4170BC74D35DA130412ABB27CF172E2C41D4D781735EA13041C09F1AEF172E2C41CC0E9C1366A1304101000000020000000001000000FFFFFFFF0000000003, CAST(243159 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (243774, N'{7E4FB06E-4CCF-4B2F-9CEF-E71607B7604C}', N'000017779', 645957, N'VIP1279', NULL, N'17779', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 24', N'Block 14', N'', N'LOT 24, BLOCK 14, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:55.000' AS DateTime), 383, 96, 0xBD0B0000010409000000AD2E6EC3A29D304160CA3244E1BD1C41F50FE9F7859D3041700A4625DEBD1C415405A3B2859D3041205EBA4906BE1C416EC5FEB2A69D3041901B0DE009BE1C418F7EFBBAA69D304170AE47E109BE1C41A333A2D4AB9D3041601F636E0ABE1C41AF59F519AC9D3041505DDC46E2BD1C415ECC5DCBA29D304130386744E1BD1C41AD2E6EC3A29D304160CA3244E1BD1C4101000000020000000001000000FFFFFFFF0000000003, CAST(243774 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (243788, N'{5B6F912F-E924-4D19-8ABE-488B7FAEAD94}', N'000017612', 645957, N'VIP1279', NULL, N'17612', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 24', N'Block 3', N'', N'LOT 24, BLOCK 3, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:54.000' AS DateTime), 383, 96, 0xBD0B00000104090000004850FCD88D9D3041C0EEC9432FBB1C4177BE9FBAB09D3041B03D79D832BB1C41FEFFFFFFB09D3041D079C7A90ABB1C41DB9AE61D8C9D304120AE47E106BB1C41930F7A168C9D3041B0ADD8DF06BB1C415D7FD9DD8A9D3041301283C006BB1C414B5986988A9D3041A01F63EE2EBB1C417AE09CD18D9D3041301361432FBB1C414850FCD88D9D3041C0EEC9432FBB1C4101000000020000000001000000FFFFFFFF0000000003, CAST(243788 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (243814, N'{69047662-8259-4251-B3A1-0951665A4F46}', N'000016900', 3, N'NO_PLAN', NULL, N'16900', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 26', N'', N'', N'THAT PART OF DISTRICT LOT 26, ALBERNI DISTRICT, INCLUDED IN PLAN 284 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:39.000' AS DateTime), 7550, 1296, 0xBD0B000001042A000000F9B9DAAA1B8D3041F0D16FDFAB3F1D41C4B12ECE7A8C304190F2B0D0E2401D416403A88F788C304190FF372FE7401D412FBC5E53768C3041B044F89FEB401D41B11B5C19748C3041D062DF22F0401D411958A9E1718C3041F0B0DAB7F4401D41049E4FAC6F8C3041C039D75EF9401D41621058796D8C304100BDC117FE401D41F4FDD418698C304170A835CD07411D41805CB5A65D8C30415054940823411D41C64A3C84528C304150C3AD4140411D41F699F3B6478C304170E2F8695F411D41C0BB3A443D8C3041E04DF67180411D4158164431338C3041600A3849A3411D419B6E1283298C304170AD69DEC7411D413108AC5CC08B30414017B7D15F431D418D7FB47DBB8B3041D01B98F671431D41B5E67C84B68B3041D05419A883431D4169FFAF71B18B3041D047DBE394431D41DAF9FB45AC8B3041F0468EA7A5431D411F5D1202A78B3041D0BDF2F0B5431D41A2EFA7A6A18B3041707FD9BDC5431D411E3867447C8B30414061C35332441D4154EC2F7B118B3041006E348068451D411595D409258B304150AA60546B451D4126287EEC7B8B30419024977F6E441D41214A7BE3A88B3041E02FBBA7EB431D419CFD3376AE8B30419036E533DB431D41A7FF75F0B38B304120B7983ECA431D41A6638551B98B3041707E1BCAB8431D41819DA998BE8B30418065C4D8A6431D41559A2DC5C38B30414000FB6C94431D41B0D85FD6C88B3041E04B378981431D41A4923A01328C3041A0BAB88DE9411D41680FFBAD3D8C3041E0782AE7BD411D412E424FF0498C3041F0A534E594411D41EACDA7BE568C3041E0E1D1A76E411D410625080F648C3041903BD44C4B411D411A530ED7718C304100F0CDEF2A411D41BB15FB0B808C304160E7FBA90D411D419B2A18951B8D3041002B8716E13F1D41F9B9DAAA1B8D3041F0D16FDFAB3F1D4101000000020000000001000000FFFFFFFF0000000003, CAST(243814 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (244175, N'{C0AD58B5-4775-4D89-9874-DDDC569E0E1C}', N'012648302', 296841, N'PRP1605', NULL, N'12648302', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot C', N'', N'', N'LOT C DISTRICT LOT 251 RANGE 5 COAST DISTRICT PLAN 1605 EXCEPT PLAN 6006', N'0113', N'0026', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-11-26T18:19:25.000' AS DateTime), 4242, 376, 0xBD0B000001040D000000611058F9D9FE2541105305638BCF2F41742D211FAAFF2541E85F76CF32CF2F41B4CFD51620FF25412818951412CF2F415A07CED96EFE2541B015FB8BA0CF2F4133A2B43778FE2541504772F9A7CF2F411E7C61F274FE25415827A0C9C2CF2F41EBCD19D178FE2541603BDFCFC4CF2F41500351EB87FE2541B8523283B9CF2F4130A46C7F97FE2541B8BA07E1AECF2F41EFFAE885A7FE2541908480EEA4CF2F4136260BF7B7FE2541980969B09BCF2F41F2D2E4CAC8FE25411899362B93CF2F41611058F9D9FE2541105305638BCF2F4101000000020000000001000000FFFFFFFF0000000003, CAST(244175 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (246605, N'{F3A07100-3B86-43F1-94B1-B942950BED77}', N'011929090', 1171760, N'NWP850', NULL, N'11929090', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2012-09-27T00:00:00.000' AS DateTime), N'REM Parcel A', N'REM Lot 2', N'', N'PARCEL "A" (REFERENCE PLAN 3317) LOT 2 DISTRICT LOT 15 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 850, EXCEPT PARCEL "F" (REFERENCE PLAN 11554) AND PLAN EPP4457', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:37:09.000' AS DateTime), 2464, 277, 0xBD0B000001040B000000D266D5A74AB13241A0B6627F2B7E1C41B8B88DE644B1324180C5FEB2597D1C413C2CD41A51B13241A096210E637C1C4194B20CD149B13241401B9E5E717C1C411E5A643B1AB1324150F38ED3CE7C1C411DE4C4E622B1324160D39C92077D1C41C89599552BB1324170EBEBE2407D1C41C55D4A8733B13241F0B772C07A7D1C415E79437B3BB1324170C21D27B57D1C41A47EF53043B1324150ECCF12F07D1C41D266D5A74AB13241A0B6627F2B7E1C4101000000020000000001000000FFFFFFFF0000000003, CAST(246605 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (249033, N'{1329731B-5BC2-4043-886C-A4174804ECB3}', N'014116979', 1308622, N'NWP1531', NULL, N'14116979', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-24T00:00:00.000' AS DateTime), N'REM Lot 13', N'Block 4', N'', N'LOT 13, EXCEPT: PART ON SRW PLAN 8027 BLOCK 4 DISTRICT LOT 16 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 1531', N'0025', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:20:41.000' AS DateTime), 163, 53, 0xBD0B0000010405000000EF7C3F9513BD3241F0EDEBC06FED1C4146C8075D09BD32410054E3A57AED1C4164226C9808BD3241D0627FD9B4ED1C41DCA59BA412BD324190FB3AF0B6ED1C41EF7C3F9513BD3241F0EDEBC06FED1C4101000000020000000001000000FFFFFFFF0000000003, CAST(249033 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (249098, N'{4A901710-412A-43C0-932C-D658841DAAB4}', N'011471409', 1308956, N'NWP84', NULL, N'11471409', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'REM Lot 27', N'Block 1', N'', N'LOT 27 EXCEPT: FIRSTLY; PART ON STATUTORY RIGHT OF WAY PLAN 190 SECONDLY; PART IN PLAN LMP21853 BLOCK 1 DISTRICT LOT 203 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 84', N'0109', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:21:08.000' AS DateTime), 587, 102, 0xBD0B000001040500000001917EFBCBBA3241203B70CE9A4C1D41AF506B3AE0BA3241907D1D38924C1D41A4DFBEAEE1BA32418044FA6D0D4C1D417E6ABC14CDBA3241F022DB79364C1D4101917EFBCBBA3241203B70CE9A4C1D4101000000020000000001000000FFFFFFFF0000000003, CAST(249098 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (251223, N'{065C8B63-4367-4B2E-8DE3-E7F9E8B163B1}', N'010012044', 3, N'NO_PLAN', NULL, N'10012044', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-31T00:00:00.000' AS DateTime), N'PART 3528', N'', N'', N'THAT PART OF DISTRICT LOT 3528 SHOWN ON PLAN DD 1523 SIMILKAMEEN DIVISION YALE DISTRICT', N'0163', N'0022', N'NO', N'SRW-COMPILATION', NULL, NULL, N'COGO', N'0', NULL, CAST(N'2018-06-22T11:09:22.000' AS DateTime), CAST(N'2019-01-14T18:34:23.000' AS DateTime), 25120, 1785, 0xBD0B000001042D00000006A392FA0E683541B096908F5F1F1F41078195832F683541108A1F631F1F1F41588638964C6835414050FC18E61E1F41FE2A87565668354110E17A94CD1E1F4106F9A00761683541505530AAB91E1F4162C3D3EB64683541900A4625AD1E1F41AE7268316568354150DA1BFCA01E1F41DC3D791869683541E09387050F1E1F41E5527B886368354140B4BD511A1E1F4172B5BB005E6835414075FEDD251E1F41277A688158683541709DE9A9311E1F416E6FAF0A53683541C0E21CB53D1E1F410F1CBE9C4D68354170E933FF491E1F41AABDC13748683541604BC887561E1F4192976ED2E1673541B0A9F1D2401F1F4162F74D23D6673541A032B331591F1F41ED981801CA67354120954FC06D1F1F41D482AD7FBD673541D0421C5D7E1F1F4196A887B3B0673541E06FE4EC8A1F1F41F85F9CB1A367354120A4155B931F1F41690E398F966735419067E199971F1F41F045E06189673541F0E253A2971F1F41068B263F7C673541D0415F74931F1F412FFD8E3C6F67354150C6DB168B1F1F41FF1B686F6267354100977C977E1F1F412AE2A8EC55673541504DB90A6E1F1F413470CEC8496735412071AC8B591F1F4164E5D02228673541B011A5BD211F1F41D834EF985765354120E17A94B21B1F417F9ECD4A6465354170A4DF3E511C1F41976588A32D66354110C7BAB8CA1D1F41C09F1AEF3F663541E0B27BF2EC1D1F411CC05BE03C673541D0043411C71F1F41B4B36F9D40673541F04DD1E2CD1F1F41C2A67F6344673541F0785D63D41F1F4184BF1D3248673541C03F1B92DA1F1F41402BDB084C67354130A8566EE01F1F41C42A48E74F673541A01C65F7E51F1F41201FF4CC53673541607AA52CEB1F1F41D344D8906D673541A0BB9690FC1F1F41BD9F1A6F8E67354130E3A51B0A201F41016F8144A5673541E052052306201F41C88F31B7CF67354130423EE8D61F1F41D16F5F87F1673541300C712CA01F1F4106A392FA0E683541B096908F5F1F1F4101000000020000000001000000FFFFFFFF0000000003, CAST(251223 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (251278, N'{B7D9A44E-18BA-42DE-BF46-E59940FB178F}', N'014215225', 3, N'NO_PLAN', NULL, N'14215225', NULL, N'P32327', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART SW4', N'21', N'21,17', N'ALL THAT PART OF THE WEST 1/2 OF LEGAL SUBDIVISION 5 OF SECTION 21 TOWNSHIP 21 RANGE 17 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT LYING TO THE EAST OF THE NORTH THOMPSON HIGHWAY AS SHOWN ON PLAN H68 EXCEPT PARCEL "U" PLAN H68 AND 41850', N'0055', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:00.000' AS DateTime), 36987, 1027, 0xBD0B00000104160000004E4013612C5E35415807CED9CB1A244104F9A0072E5E3541B8E4F25FE81A2441DC7A146E2F5E3541A07CD0F3041B244146D8F094305E35411873D792211B24416EA3017C315E354158EC2F3B3E1B2441B937F822325E3541500C02EB5A1B24414F8D97AE325E354198976ED28E1B24419B802662335E354198DE71CA991C244188D2DEA04C5E3541A01726D39D1C24412F4CA68A725E3541B064AAE0A31C2441624BC847935E3541409B551F7C192441B28BDB682B5E3541983B4E916B192441910F7A56045E35419019E2586519244138DF4F4D165E354100F775A0EA192441480C02EB195E354150302A69061A244184A7574A1D5E35417817B751221A24414403786B205E3541F061A1563E1A2441C6BAB84D235E35413022FD765A1A2441B27268F1255E354198C420B0761A2441CDAACF55285E3541385BB1FF921A244137234A7B2A5E354158D3BC63AF1A24414E4013612C5E35415807CED9CB1A244101000000020000000001000000FFFFFFFF0000000003, CAST(251278 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (252492, N'{899ED9A3-092A-4ED4-A1BE-F09F0EA34017}', N'000078484', 682, N'VIP40229', NULL, N'78484', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 1', N'', N'', N'LOT 1, SECTION 17, RANGE 8, CRANBERRY DISTRICT, PLAN 40229, EXCEPT, PART IN PLANS VIP62525 AND VIP70245', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2019-04-05T16:36:42.000' AS DateTime), 19278, 553, 0xBD0B000001040C000000D8096882FEA2314130A69B4437F51B41536B9A57E6A2314120D044D802F51B410AC58F71ABA23141B0D78173FCF41B415205A3B2A8A23141F02FBB27FCF41B41F2FDD478A2A2314140976E1257F61B417A832F0CA7A23141F08E53F467F61B416EF085899BA2314140E02D1089F71B41E995B2AC11A33141E05296A195F71B411EF46C761DA33141206519E296F71B416E3D0A3720A33141F021FD769CF61B41EB95B2AC22A33141E075E09CBCF51B41D8096882FEA2314130A69B4437F51B4101000000020000000001000000FFFFFFFF0000000003, CAST(252492 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (252611, N'{2EEAC74D-3C92-49D2-B4B6-11B7780A34D1}', N'015885844', 487045, N'NEP1318', NULL, N'15885844', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', NULL, NULL, N'LOT 3 DISTRICT LOT 302A KOOTENAY DISTRICT PLAN 1318, EXCEPT PART INCLUDED IN PLAN 12613', N'0163', N'0004', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'0', N'42311', CAST(N'2019-04-24T12:50:36.000' AS DateTime), CAST(N'2019-04-24T12:50:51.000' AS DateTime), 42305, 797, 0xBD0B0000010415000000B2B6625F099E3841D80DBE30220E20418A855A33E99D3841805E29CB1F0E204136B4C836CD9D384198703D0A200E20414E6B9AD7BC9D3841804AEA44230E204100F775A0AC9D384190A1D674290E204138234A1BA29D384160CD3BCE330E2041FA6C56DD9C9D3841407958283E0E204166AA60F48E9D384180F4DBD7600E2041BE9F1AAF8A9D3841D0847C50730E204170CE88B2829D3841186A4D33AC0E2041923177CD7E9D3841E0FBA9B1CA0E20416819E2787C9D3841D00434D1E90E2041905374247B9D384188E61D672D0F2041204A7BE3829D384170F90F69720F2041FF87F4BB869D3841401361C3880F2041CC6D34008C9D3841C07F48BFBA0F2041FC65F704629E384178226CF8F00F20410B560E6D619E3841C878E966E00F20414E05A3D2509E3841B8D2DEA00D0F2041ABCFD536269E3841F8F44AD9220E2041B2B6625F099E3841D80DBE30220E204101000000020000000001000000FFFFFFFF0000000003, CAST(252611 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (252933, N'{EE9F15C0-2E29-419F-8C81-CE5D6DAD29CA}', N'003049787', 648241, N'VIP23151', NULL, N'3049787', NULL, N'23154', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 4', NULL, NULL, N'LOT 4, DISTRICT LOT 6, NEWCASTLE DISTRICT, PLAN 23151 EXCEPT THAT PART IN PLAN VIP66641', N'0163', N'0017', N'NO', N'ICF', 0, NULL, N'COGO IN SOURCE', N'0', NULL, CAST(N'2020-09-08T15:00:28.000' AS DateTime), CAST(N'2020-09-08T15:00:38.000' AS DateTime), 1602, 177, 0xBD0B00000104070000003A894180299730410093A902D4381E41673BDFAF2F97304170CB10C7BC381E419C67B3AA2F973041A02C431C73381E41EE7C3F95EB963041A09BC42073381E41ED85C9D4E896304150CFF7538B381E4142E8D94CF3963041C0F831E6D4381E413A894180299730410093A902D4381E4101000000020000000001000000FFFFFFFF0000000003, CAST(252933 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (253524, N'{1A252CC4-4DEF-461A-BAFE-1098091518F2}', N'001708147', 12929, N'VIP218A', NULL, N'1708147', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'Block 26', NULL, N'THAT PART OF LOT 5, BLOCK 26, SHAWNIGAN LAKE SUBURBAN LOTS, MALAHAT DISTRICT, PLAN 218A SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 20771F AND CONTAINING 0.27 OF AN ACRE MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 7, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:48:21.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 1571, 205, 0xBD0B00000104090000009D80262226E7314160C342AD44C21841684DF30ED4E6314180B5157B37C21841E3C7985BD2E63141905452A7BEC21841B6C08CD9E0E63141A09272BDB0C218415181412BEFE6314180FF9835A0C2184176432849FDE63141F0307F188DC21841A998CD2B0BE7314180C03B7077C21841CB58DDCB18E73141D0F63C485FC218419D80262226E7314160C342AD44C2184101000000020000000001000000FFFFFFFF0000000003, CAST(253524 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (254325, N'{28D13E50-F519-4DA7-9748-55C8F28BA742}', N'009294040', 1078403, N'NWP22912', 32651171, N'9294040', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot B', N'', N'', N'LOT "B" SECTION 23 TOWNSHOP 13 NEW WESTMINSTER DISTRICT PLAN 22912', N'0002', N'0009', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-11-19T15:25:05.000' AS DateTime), 49968, 972, 0xBD0B000001040C000000621058D9F34B334180F085C9ADD01B41245A643BEF4B3341204850FCACD01B418E1804D6C84B3341403CBD52A6D01B416644692FAF4B3341A03F35DEA1D01B41C9B12E6E984A3341B042ADE970D01B4134431C6B934A3341E0550EAD0AD21B41FE65F7048F4A334160FC187372D31B41CC32C431E04A334110D044D87FD31B4139454772194B3341B0F0F44A89D31B41BBA67947954B3341B01B7C6182D21B4171F08569D34B3341B0E3149DFED01B41621058D9F34B334180F085C9ADD01B4101000000020000000001000000FFFFFFFF0000000003, CAST(254325 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (254598, N'{4B68C96F-9D78-40DB-8F34-19792005F1DA}', N'001710711', 12869, N'VIP218D', NULL, N'1710711', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'Block 60', NULL, N'THAT PART OF LOT 5, BLOCK 60, SHAWNIGAN LAKE SUBURBAN LOTS, SHAWNIGAN DISTRICT, PLAN 218D SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 49889I AND CONTAINING 0.052 OF AN ACRE MORE OR LESS', N'0163', N'0007', N'NO', N'MODIFIED-ICF', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T17:31:12.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 140, 66, 0xBD0B00000104050000008F4AEA640CE43141504ED19195D01841CB32C4710AE43141A0353C3D00D11841E761A19612E4314130764F9EBCD0184139EF38A516E4314150D191DC98D018418F4AEA640CE43141504ED19195D0184101000000020000000001000000FFFFFFFF0000000003, CAST(254598 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (256381, N'{866C6DDD-25B9-4082-B2EB-7FCCDAD2A65B}', N'015691608', 495897, N'NEP1684', NULL, N'15691608', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'2000-04-06T00:00:00.000' AS DateTime), N'', N'Block 7', NULL, N'BLOCK 7 DISTRICT LOT 4598 KOOTENAY DISTRICT PLAN 1684', N'0146', N'0019', N'NO', N'PMBC-OPERATIONS', NULL, NULL, N'COGO', N'0', N'4047', CAST(N'2021-05-14T09:58:46.000' AS DateTime), CAST(N'2021-05-17T16:12:18.000' AS DateTime), 4028, 268, 0xBD0B0000010406000000D43D79F83B823841900D4FAF31DF1D41D6E76A0B5682384170984C1583E01D416E4694765E82384120B150EB77E01D41F497DDB381823841D02D211F4DE01D41FA4A59A667823841C06D3400FCDE1D41D43D79F83B823841900D4FAF31DF1D4101000000020000000001000000FFFFFFFF0000000003, CAST(256381 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (256424, N'{EB6E3E95-821B-44EB-8E38-8D0F44EAF5D2}', N'014825040', 3, N'NO_PLAN', 90054684, N'14825040', NULL, N'759-041385.100', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'SE4', N'1142', N'', N'BLOCK A OF THE FRACTIONAL SOUTH EAST 1/4 OF DISTRICT LOT 1142 PEACE RIVER DISTRICT, EXCEPT PLANS 16965 AND EPP39927', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2021-05-20T15:38:04.000' AS DateTime), 103556, 1437, 0xBD0B000001044200000092ED7C3FD1F03241DCBE0EBC3726324175711B2DD0F03241786891AD37263241E10B9349CFF03241E89387E53726324139454732CAF0324130A089103926324126068115C5F032414CB81E253A263241A445B6F3BFF0324160AEB6223B2632418716D9CEBAF03241E0141D093C263241BECAA1A5B5F03241CC1951DA3C2632415E105879B0F032414CAA60943D2632413A674449ABF03241783480373E2632410222FD16A6F03241A01C5AC43E263241078A1FE3A0F03241B09999393F263241AEFA5CAD9BF032414850FC983F2632418F18047696F0324194E4F2DF3F263241163FC63C91F0324130A089104026324156CA32048CF03241440C022B402632417D9ECDCA86F03241104D842D402632412185EB9181F032417C07CE1940263241F1FDD4587CF03241C8B12EEE3F263241E324062177F03241283108AC3F2632412A3A92EB71F032419845B6533F263241280681B56CF03241945CFEE33E2632410B8A1F8367F03241E8B5845C3E2632414DF38E5362F03241C864AAC03D2632414A9D80265DF0324174832F0C3D263241C6FEB2FB57F03241B4A44E403C2632417858A8D552F03241C8BFEC5E3B2632416EC5FEB24DF032418026C2663A2632418161329548F03241C87D1D58392632416BAA60D444F03241A001BC0538263241C25B202119F0324178B740E22D2632419CC420B083EF3241DCAE25E4252632411A6A4DF37CEF3241D8B9DAAACC263241F3B0504B7CEF324170F90FE9DC263241F6E461017BEF32413473D7D2FC263241684469CF79EF32410424285E1A273241B3FA5C6D3EF13241A81A2F3DFF263241DBE76A0B3FF13241480E2D32FF263241F897DDB33FF132417019E278FC2632418248BF7D41F13241EC5C6DA5F42632415839B44843F13241683255D0EC263241B915FB2B45F13241A014AE07E52632415952274047F132412C55304ADD263241BDC1178649F1324190900F9AD5263241E71DA7E84BF13241689FABEDCD26324141F1636C4EF1324138D6C54DC6263241D319511A51F13241F05A42BEBE2632413F3EE8F953F13241386EA341B72632418716D90E57F1324178F606DFAF263241497B834F5AF13241303A928BA826324140CF66B55DF13241CC5D4B48A12632417A2D213F61F13241B84E40139A26324152A60AE664F13241A81F63EE922632418E4AEAA468F13241D08F31D78B26324128F6977D6CF132414072F9CF8426324162EE5A8270F132411C9C33E27D263241CFCCCCAC74F1324158158C0A7726324175832FEC78F1324120C9E53F70263241901804367DF132416C6210786926324143CF667581F132414C1E16AA62263241C8073D9B85F1324138B29DCF5B263241AEEA739589F13241F0ACFADC5426324179C7293A8DF132416C19E2B84D263241BD86A79790F1324138CD3B6E46263241D868008F92F132415CF38E134226324192ED7C3FD1F03241DCBE0EBC3726324101000000020000000001000000FFFFFFFF0000000003, CAST(256424 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (256525, N'{5402BBE5-0781-4F98-8559-5F66E143F17E}', N'004515064', 3, N'NO_PLAN', NULL, N'4515064', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'SE4', N'32', N'17,22', N'SOUTH EAST 1/4 SECTION 32 TOWNSHIP 17 RANGE 22 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLAN KAP65071', N'0071', N'0028', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-05-30T19:25:39.000' AS DateTime), 610557, 4790, 0xBD0B0000010450000000F47E6AFC2EAD344160AA601434E8224192ED7C1F38AD3441D0C56D343AE822415D29CB5041AD3441A811A5FD3FE82241654DF38E4AAD3441D832C47145E822415E1058D953AD34419016D98E4AE82241BC96902F5DAD3441902A18554FE822410EE02D9066AD3441A04AEAC453E82241EBD9ACFA6FAD344148D191DC57E82241DE718A6E79AD3441D8F5289C5BE822411383C0EA82AD3441381361035FE82241E17A146E8CAD344118AAF11262E8224162984C95EEAD3441C8270FCB7FE8224143575BB105AE3441C017261386E82241986E12E31CAE344130211FF48AE8224151B81E2534AE34412068226C8EE822417AE09C714BAE3441206C787A90E82241976588C362AE344110AD691E91E8224162984C157AAE34416819E25890E822412E772D6191AE3441780B24288EE82241D612F2A1A8AE3441804DF38E8AE82241560E2DD2BFAE344110166A8D85E822410B6822ECD6AE3441B82E6E237FE822414E158CEAEDAE34411061C35377E8224159423EC804AF3441605227206EE82241693BDF4FA8AF3441387958A825E822412C2AA973ACAF3441D086A797B0E72241CAE53F24B6AF3441E897DD939EE62241C77F48DFBCAF344150EE5A42E0E522414A598658C0AF3441E0DCB5047EE5224198900FFAC0AF3441188D972E6CE52241638FC235C4AF3441C89387C510E52241322AA993C1AF34410866F76410E522414D1E160A04AF344130DBF9BEF7E422414972F9AF98AC3441F8B35935A7E422413B6744897EAC344188DB68C08AE72241EF1FD26F7DAC344130AC8BDBA9E72241472575E21CAD3441987493D826E822417814AEE725AD3441E0F675A02DE82241F47E6AFC2EAD344160AA601434E82241C6E53F84FEAD344198832F4CFDE82241907EFB9AE5AD344160A60A86F6E82241BF05127483AD3441785F07CED8E82241193FC6DC78AD3441E041CF66D5E82241E7839E4D6EAD3441E0BE0E9CD1E8224108F016C863AD3441F01FD26FCDE8224142F1634C59AD344118AE47E1C8E822416DA301DC4EAD344190575BF1C3E82241FF18737744AD3441584013A1BEE822417824971F3AAD34410032E6EEB8E82241EA73B5D52FAD344150BF7DDDB2E8224107AC1C9A25AD34411831086CACE82241DF7A146E1BAD344198AC8B9BA5E82241590E2D5211AD3441E8D5566C9EE82241F02FBB4707AD3441982D21DF96E8224132BB27EF78AC3441E89AE6DD28E8224117FBCB6E62AC3441D841CFE69FEA22417524973F5FAC3441D86A2B36F9EA22419665886364AC3441A8C2F5E8F9EA2241F0A7C66B0AAE3441383A924B33EB22414F6210D8E7AE3441308B6C6751EB2241C520B0D28AAF34415029CB9067EB2241A979C72991AF3441A8DCB544B4EA22410946257596AF344100F2418F1EEA224185DB68E09EAF3441482575C260E92241E2361A809EAF3441288941203BE92241283108EC9FAF344160AF94E512E922414D8D97EEA2AF344150840DCFBDE82241EEFDD4D8A3AF3441480E2DF2A3E8224172AC8B7B11AF3441D010C77AE3E82241083D9BD5F8AE3441389D8066EDE82241AE0C710CE0AE34411885EBD1F5E82241A301BC25C7AE344168EC2FBBFCE8224196E61D27AEAE3441F8E4612102E9224123F46C1695AE3441C8490C0206E92241F2EBC0F97BAE3441C09AE65D08E92241ACCFD5D662AE34413033333309E9224165B3EAB349AE34419880268208E9224124F46C9630AE344148158C4A06E922416C8A8E8417AE344140CD3B8E02E92241C6E53F84FEAD344198832F4CFDE82241020000000200000000022700000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(256525 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (256888, N'{935B524E-2376-4CFB-88F5-1BAA8FCFAF32}', N'005846609', 5460125, N'VIP6334', NULL, N'5846609', NULL, N'205824', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'', N'', N'LOT 2, SECTION 14, RANGE 7, MOUNTAIN DISTRICT, PLAN 6334 EXCEPT PART IN PLANS VIP63462 AND VIP79497', N'0084', N'0021', NULL, N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', N'71.84', CAST(N'2019-04-04T08:45:35.000' AS DateTime), CAST(N'2021-05-31T16:31:39.000' AS DateTime), 72, 65, 0xBD0B000001040900000093A982F10180314100FBCBEE795C1C412AC28627FF7F314160014D04045C1C41BA8920ACFE7F3141F0756D86185C1C416827524CFE7F3141404FC3112D5C1C41ED6C2608FE7F3141509BFCA3415C1C41360DA5DFFD7F314160A2C63A565C1C41359BD2D2FD7F3141D028CED36A5C1C41A489B0E1FD7F314140B1BF6C7F5C1C4193A982F10180314100FBCBEE795C1C4101000000020000000001000000FFFFFFFF0000000003, CAST(256888 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (257195, N'{DF4B05FB-2D13-4D62-8B7C-A80C096F5371}', N'016363361', 472108, N'NEP9503', NULL, N'16363361', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 18', N'Block 6', NULL, N'LOT 18 BLOCK 6 SECTION 12 TOWNSHIP 27 RANGE 22 WEST OF THE 5TH MERIDIAN KOOTENAY DISTRICT PLAN 9503 EXCEPT PART INCLUDED IN SRW PLAN 13446', N'0043', N'0006', N'NO', N'ICF', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-06-08T09:34:24.000' AS DateTime), 4, 11, 0xBD0B00000104040000004C742437DDD23841005D6D057684264129BB27CFDDD23841584625F56C84264126F6977DDBD23841B0051294758426414C742437DDD23841005D6D057684264101000000020000000001000000FFFFFFFF0000000003, CAST(257195 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (257397, N'{77FFD3A8-8548-43BC-B02C-761D30D32C54}', N'001656937', 3, N'NO_PLAN', NULL, N'1656937', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART A', N'3', N'', N'THAT PART OF PARCEL A (DD 34814I), SECTION 3, OTTER DISTRICT SHOWN OUTLINED IN RED AND MARKED "A" ON PLAN 1067 RW AND CONTAINING 0.41 OF AN ACRE MORE OR LESS', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:06:48.000' AS DateTime), CAST(N'2021-06-24T09:53:23.000' AS DateTime), 1976, 419, 0xBD0B000001041B000000558638F61EDB31412094870556381741A69BC46017DB3141E04A59864138174109633A9F0DDB3141702F06517538174188E8E4CA02DB3141A0681193A53817410AF526F8F6DA3141B011A3F1D1381741C03A423DEADA314190353519FA3817415B6F2DB2DCDA3141C00831BE1D391741D72F6770CEDA314110337D9D3C3917417102C692BFDA3141A021FC7C5639174134D14535B0DA3141606AF92B6B3917413B3CD374A0DA3141F07D85837A391741EB26156F90DA314190F0BE668439174160E6344280DA3141B0DA08C388391741777AA50C70DA314110E02D9087391741E651B81E6FDA3141408D976EB0391741C8E74F3580DA3141009206CAB1391741B5D8F54291DA31411052EE36AD3917411A23C826A2DA314110F420BEA2391741686C35C0B2DA314100B1CF73923917414BCD3BEFC2DA314160E463777C3917418489A694D2DA3141607E42F360391741103C4A92E1DA3141A03F7A1C40391741CA033FCBEFDA3141C06C5D321A39174104401824FDDA314160B7077EEF3817410172198309DB3141C041D151C03817412DDD67D014DB3141C0D9AF088D381741558638F61EDB3141209487055638174101000000020000000001000000FFFFFFFF0000000003, CAST(257397 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (257492, N'{77E239B2-00F9-4C56-B166-553DA95E6855}', N'002909251', 117903, N'VIP877', NULL, N'2909251', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 21', N'Block 9', N'', N'THAT PART OF LOT 21, BLOCK 9, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:49:17.000' AS DateTime), CAST(N'2021-06-29T16:46:32.000' AS DateTime), 233, 63, 0xBD0B0000010406000000F041CF06A938324150F90F69E38C17417E04C5AFB43832415091ED7CE58C174145EA0474B938324160B81E05E88C17417BA52C03B438324110530523A28C1741E4E99552A53832414095D409B48C1741F041CF06A938324150F90F69E38C174101000000020000000001000000FFFFFFFF0000000003, CAST(257492 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (257493, N'{C77F8FFF-13CF-4AEB-8EA0-B74D7889008F}', N'002909243', 117903, N'VIP877', NULL, N'2909243', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 20', N'Block 9', N'', N'THAT PART OF LOT 20, BLOCK 9, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:25:44.000' AS DateTime), CAST(N'2021-06-29T16:46:32.000' AS DateTime), 151, 51, 0xBD0B0000010406000000E4E99552A53832414095D409B48C17411AAE47C1963832415083C0CAC58C174143355E1A99383241801A9E5EE38C174174348017A1383241C0482EFFE18C1741F041CF06A938324150F90F69E38C1741E4E99552A53832414095D409B48C174101000000020000000001000000FFFFFFFF0000000003, CAST(257493 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (257627, N'{995D45C3-3264-4EEE-926D-80419EE4E1AD}', N'013868039', 3, N'NO_PLAN', 3829221, N'13868039', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2020-11-24T00:00:00.000' AS DateTime), N'PART NW4', N'12', N'8,23', N'THAT PART OF THE EAST 1/2 OF LEGAL SUBDIVISION 13 OF SECTION 12 AS SHOWN ON PLAN OF SAID TOWNSHIP DATED THE 29TH DAY OF DECEMBER 1917, WHICH LIES TO THE WEST OF THE RIGHT-OF-WAY OF THE KETTLE VALLEY RAILWAY COMPANY AS SHOWN ON PLAN A246; TOWNSHIP 8 RANGE 23 WEST OF THE 6TH MERIDIAN YALE DIVISION YALE DISTRICT, EXCEPT PLANS 37786 AND EPP105874', N'0163', N'0009', N'YES', N'MODIFIED-TANTALIS', 7, N'DATACOMPILATION', N'UNKNOWN', N'0', NULL, CAST(N'2021-01-22T09:43:54.000' AS DateTime), CAST(N'2021-07-14T11:18:12.000' AS DateTime), 25207, 896, 0xBD0B000001040C000000CA32C47196C33441603D0A1744132041DCF97EAA52C33441D0A7C64BC3112041BD9F1A6F49C33441681058B9C9122041F0B0506B48C3344150E3A59BE6122041D5CEF7F336C33441F0938785D81420412C992A7889C33441C0FA5C2DE41420418004C56F8DC334417891EDBCE41420418B3A01ED90C33441800C02ABC8142041E76A2BF68FC334411842CF26401420410E143F868FC3344140234A3B02142041E3718AAE96C3344180C0CA21C7132041CA32C47196C33441603D0A174413204101000000020000000001000000FFFFFFFF0000000003, CAST(257627 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (258727, N'{8BF90669-D7B6-4F21-94A6-47BFD0452429}', N'001640976', 121125, N'VIP76RW', NULL, N'1640976', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 77', N'', N'', N'THAT PART OF SECTION 77, SOOKE DISTRICT SHOWN COLOURED RED ON PLAN 76 RW AND CONTAINING 5.35 ACRES MORE OR LESS', N'0133', N'0005', N'NO', N'MODIFIED-ICIS', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:18:02.000' AS DateTime), CAST(N'2021-09-24T15:07:28.000' AS DateTime), 21588, 1506, 0xBD0B00000104B60000009FABADB8A3F031416005A312EBFA1641F4065FB8AAF03141405A643BF4FA16412FA2B417A9F0314160FC18F3FFFA164125BB1DB2A7F03141901254FF0AFB1641FB0AC93DA6F03141C027F5EC15FB1641B672E0BAA4F03141E08FC1BA20FB164138778F29A3F03141303482672BFB1641243C038AA1F03141D0B203F235FB1641FC7E6ADC9FF031412087165940FB1641A86149999EF03141E07BF5C548FB164114F212499DF03141A0D5971251FB1641209EFAEB9BF031410095B83D59FB164121CC35829AF0314130DB174661FB1641C1D2FB0B99F03141B0197B2A69FB16416FF0858997F03141C042ADE970FB1641D7EACF3496F03141900DE34079FB1641E9A8A0CA94F03141F0ACC65E81FB1641C241924B93F03141D019E43F89FB1641A3AD47B891F031418027E1E090FB1641BF806C1190F03141B0F17E3E98FB164134A2B4578EF03141E03C9B559FFB16410771B7938DF031412090A7B3A3FB1641F044B5C98CF0314110506D00A8FB16411879C6F98BF0314110C4673BACFB1641791F04248BF03141B05A1464B0FB164105FE87488AF0314130B3F279B4FB1641408B6C6789F03141F0B5847CB8FB1641946E120386F031410067D5E7C7FB16415886383673F03141E09FABAD16FC16414DE3A59B72F03141A0EA733519FC164152840D6F72F0314170696FF019FC164146E17A54E7EF3141E0F0F4CA60FE1641E2581737E3EF3141302B871674FE16411EB37FBDE1EF3141307D3FEA7AFE164180843C4CE0EF3141408337DA81FE16419E9B6FE3DEEF314110A5CCE588FE1641A2003A83DDEF3141C0C3590C90FE164182F2BB2BDCEF3141E046374D97FE1641C2E314DDDAEF3141802FBBA79EFE16411AD06619DAEF314120E2D83BA2FE164145FC2B60D9EF3141308F16F2A5FE16415D81C3B1D8EF3141005B8CC8A9FE164134EA860ED8EF3141D0DE41BDADFE16415A05CA76D7EF3141002D2FCEB1FE1641FBB9DAEAD6EF314160D93DF9B5FE164164C10310D5EF314140C6740EC1FE16417A718640D3EF314180298B41CCFE164169DA807CD1EF3141200BC791D7FE1641FE4D10C4CFEF3141908F6CFEE2FE1641A65D5117CEEF31416003BE86EEFE1641AFD85F76CCEF314160E7FB29FAFE164173CEFCABCAEF3141105E69EC07FF16410C00ABF0C8EF3141D0D68FCD15FF1641C75C8B44C7EF3141005A67CC23FF1641E9B2BDA7C5EF314170BBE5E731FF164157AD601AC4EF314120AEFE1E40FF16414FD1919CC2EF314150D7A3704EFF16414944AE7FBDEF3141C0C6608E8AFF1641EDFF4FA0B9EF3141602E3723C8FF16416A5F0B05B7EF3141104186C606001741D4164EB2B5EF314170A6E10D46001741B2AC57AAB5EF3141204EC68D850017415CA835EDB6EF3141801951DAC4001741462EFF61D2EF314170F3FD54C900174191D0678FD1EF3141D07CEAB1B0001741418280F8D0EF314100DA87F397001741895C809DD0EF314160E2DE227F0017416B99887ED0EF3141A018FF48660017417F87A49BD0EF3141B05CFB6E4D001741F285C9F4D0EF3141F09AE69D34001741311971D5D1EF314150B2C816120017414DBCC129D3EF314130F401CBEFFF1641A252CBF0D4EF31417004C5D2CDFF164104CE4C29D7EF3141F0950946ACFF16415411B5D1D9EF3141C0827B3C8BFF16417A0B24E8DCEF314140166ACD6AFF164167C5D600DEEF314100F7551A60FF16412F63B027DFEF3141B097267F55FF16410060905CE0EF3141806C07FD4AFF164115AB549FE1EF31410026219540FF164183ABD9EFE2EF31414091994836FF16410344FA4DE4EF3141D07493182CFF16410A8A1F23E7EF314130BD529618FF1641FC6A75A6E8EF3141903AFEA80EFF16410485EE31EAEF314120B6CBCF04FF16417C1A7AC5EBEF3141A0E9250BFBFE16414B160761EDEF3141F0AF765BF1FE16418C0C8404EFEF3141100127C1E7FE1641673BDFAFF0EF3141E0EC9E3CDEFE1641D189159FF1EF314170D9BDE2D9FE16419DD02A89F2EF3141A0D78F77D5FE1641DE0B0B6EF3EF3141C0A075FBD0FE164190A9A24DF4EF31416060D16ECCFE16415C8BDE27F5EF3141C0AA06D2C7FE16412F08ACFCF5EF314180787A25C3FE16413B3CBDD2F7EF3141708FC275BBFE1641E551B8FEFAEF314100250601ACFE1641F80FE9B799F0314110C05B200FFC16413D1CEB829DF03141F0133FC6FFFB164151B100639EF03141005E7070FBFB16418BA9EB479FF03141106D872AF7FB164122FA9931A0F031419079DAF4F2FB16414238F91FA1F03141D071BECFEEFB1641639AF612A2F0314190F886BBEAFB1641D8F97E0AA3F03141205986B8E6FB164128D7D45EA4F031412070785AE0FB16412D38D5B0A5F03141C020AAF4D9FB1641CB497D00A7F03141701A2987D3FB1641E43DCA4DA8F03141901D0312CDFB16414C4BB998A9F0314160FC4595C6FB164116AE47E1AAF031411097FF10C0FB16418C474F63ADF031416058A792B2FB1641BBEF91D5AFF03141C0FC4BE6A4FB164121E7DA37B2F031418056140D97FB1641A9C6F689B4F0314170012B0889FB16410684B3CBB6F031418045BED87AFB1641F975E0FCB8F03141100000806CFB164190F65F71BAF03141809864F362FB16412F7A61DCBBF03141806C0B5059FB164152CBCE3DBDF0314180708B964FFB1641834A9295BEF0314170F37CC745FB1641B5EF96E3BFF03141F09679E33BFB1641604BC827C1F0314100431CEB31FB164133DD2406C3F03141005B423E24FB1641635DDC86CBF03141500B24A829FB16416BF17397D0F03141D027A505F3FA16411F57BC77D4F0314120B544DABAFA164116E96920D7F03141D025BB8F81FA164155807B8CD8F03141E069DD9147FA16416CDF43B9D8F0314190F6D14D0DFA164181BC6EA6D7F0314160584331D3F91641C95F0156D5F0314100C991A999F91641CCD556CCD1F031418053052361F916416B4DF38EC7F0314190438B6C65F916419131770DC1F03141C0F8316624F91641BC9F1AAFBBF03141E0BAB88DEFF81641CC4D6210B6F0314170E7FBA9BCF81641896CE73BB0F0314120A470BD89F81641841D3827AAF0314170A60AC656F8164170F085E9A3F031413082E2C723F81641C1F5285C9DF031419035CDBBF2F716416BD5E7AA96F03141D079C7A9C1F716419E3C2C1495F0314110B07268B7F71641CDCCCC8C93F03141E00B9329ADF71641B6490CA290F03141B0A0F8B198F71641FAE461418FF0314140FE437A8CF71641AF6BDA1C8EF03141505AEDB883F7164183D618088DF03141A0C3C3D77AF716419D7C54038CF03141B0C58DD871F716419682C10E8BF0314150EE17BD68F7164138D0902A8AF03141B06F34875FF716419306F05689F0314140C7BA3856F7164139DF4FED6AF03141E022DB794BF716416E774D2B6CF03141D0A4BE165BF716417042E6796DF03141801FE29D6AF71641167702D96EF0314190FE2A0E7AF71641BD1F894870F03141904B806689F71641ED1B60C871F03141C0C4CAA598F7164169226C5873F03141E0F0F4CAA7F716418EEF875675F0314100120A43B9F7164169C7C86B77F03141A080B68FCAF716417898F39779F03141D0AC0FAFDBF7164167C7CADA7BF03141700A309FECF71641FC350E347EF03141F049375EFDF71641224A7BA380F03141108C4AEA0DF816414B2EFF6192F03141605AD3BC9EF81641703480F7A3F0314170DD02892FF916416CF7E4E19DF03141906E128338F916418C13D0FA9EF03141C0763ED345F916415F2C6505A0F031410054CA3553F91641EE0A9101A1F03141600BBFA960F91641298241EFA1F031414061242E6EF91641367065CEA2F0314190E900C27BF91641B4BFEC9EA3F03141901C5A6489F91641490C020BA5F0314190BE9F9AA3F91641D961ED0DA7F0314150DB678BD5F916415FFD1B45A8F03141A01813E507FA1641C1244DAFA8F03141706BBC733AFA16410865134CA8F03141702D48036DFA16410A03D51BA7F0314110CD995F9FFA16413A92CB1FA5F031412086C954D1FA16419FABADB8A3F031416005A312EBFA164101000000020000000001000000FFFFFFFF0000000003, CAST(258727 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (259634, N'{18AE24C0-A961-423B-A3E2-04E9902F4F14}', N'008427011', 3191000, N'VIP775', NULL, N'8427011', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Block 27', N'', N'', N'THAT PART OF BLOCK 27, COWICHAN LAKE DISTRICT, PLAN 775, BEING THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY, AS SHOWN IN RED ON PLAN MARKED "I" ANNEXED TO DD 25837I', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T19:02:59.000' AS DateTime), CAST(N'2021-11-24T12:04:18.000' AS DateTime), 1994, 427, 0xBD0B000001040400000005CE1991477D314190FA5C6D75D3194140575BF1C37D3141F012F2C19BD2194174E7FBE9FB7D31418004C58FB9D1194105CE1991477D314190FA5C6D75D3194101000000020000000001000000FFFFFFFF0000000003, CAST(259634 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (259828, N'{3BE3E8B5-E8F7-434D-B5D5-1B3C409ACF0D}', N'010552383', 854294, N'KAP4440', NULL, N'10552383', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot B', NULL, NULL, N'LOT B SECTION 3 TOWNSHIP 20 OSOYOOS DIVISION YALE DISTRICT PLAN 4440', N'0063', N'0016', N'NO', N'ICIS CADASTRE', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-12-03T11:29:47.000' AS DateTime), 11942, 482, 0xBD0B00000104090000001171AC8B3E743641C0BAB8CD59A221410E61C3F37874364168499D800BA22141CD915C5E97743641307C6132C6A12141FE6E810482743641C8CAA145C2A121418348BF1D2974364158423E28B2A12141FEDBD7C1F073364180E1E9D5A7A12141F27C3FD5E5733641F80FE9377DA221412B772DA1F873364190029AC878A221411171AC8B3E743641C0BAB8CD59A2214101000000020000000001000000FFFFFFFF0000000003, CAST(259828 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (261214, N'{CE45D9FB-A5A8-4F25-B381-7889606B7C4F}', N'014508567', 3, N'NO_PLAN', NULL, N'14508567', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'U', N'433', NULL, N'PARCEL "U" (REFERENCE PLAN 22098) DISTRICT LOT 433 GROUP 1 NEW WESTMINSTER DISTRICT', N'0075', N'0010', N'NO', N'ICIS CADASTRE', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2020-11-24T08:05:49.000' AS DateTime), 615, 100, 0xBD0B0000010405000000BD7D1DF88D2E334150D5E7EA0F951C413408AC3CA42E334190B12E6E25951C41AB825189AB2E3341E0907EFBBC941C41A8C64B57952E3341E07CD0B3A8941C41BD7D1DF88D2E334150D5E7EA0F951C4101000000020000000001000000FFFFFFFF0000000003, CAST(261214 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (261454, N'{8B2DBA1C-ABB2-4087-9E97-BBCEB2FDA02E}', N'016053133', 490089, N'NEP1040', NULL, N'16053133', NULL, N'7076070000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot E', N'', N'', N'LOT E DISTRICT LOT 1313 KOOTENAY DISTRICT PLAN 1040, EXCEPT PARCEL 1 (SEE 32/45/19848A) PLANS NEP64349 AND NEP65135', N'0163', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:15.000' AS DateTime), 25078, 1110, 0xBD0B0000010411000000AC1C5AC47E1D39411098DDD3FAD62041A7BDC1176F1D394198658863B6D72041C8FEB23BBF1D394170D3BCE3E5D7204190B96BA9CB1D3941C078E9A616D72041AC1C5AC47E1D39411098DDD3FAD620419A6588236A1D394180B12EEE05D82041C410C7FA661D39414803784B84D82041C21726F3B41D39417807CE5991D820419AE61D87BA1D3941A099995934D820419A6588236A1D394180B12EEE05D82041A8F1D28DB21D3941D8CCCC4CB9D820419A2A1895641D3941A810C73AACD820411EA7E8C85B1D3941B86588A323D9204157423E88511D394190051214E7D92041170DE04D9F1D3941C826C246FAD92041100BB586A81D39415037898160D92041A8F1D28DB21D3941D8CCCC4CB9D820410300000002000000000205000000020A00000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(261454 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (261573, N'{66F633D6-ADD9-45C0-931A-1160502547AD}', N'001591096', 141191, N'VIP1291', NULL, N'1591096', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 16', N'Block 3', N'', N'THAT PART OF LOT 16, BLOCK 3, SECTION 9, ESQUIMALT DISTRICT, PLAN 1291 INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0154', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:18:11.000' AS DateTime), CAST(N'2019-01-05T10:22:40.000' AS DateTime), 167, 66, 0xBD0B000001040B00000057D3BCE35D2B3241D0BCE314F49A17414AE3AF1B5A2B324150C0070FF29A17416635E056562B324170621BB0EF9A17418DE0D095522B3241001A71F8EC9A1741197904D94E2B3241706B67E8E99A174139FFFC204B2B3241A0DE6880E69A17413BCD3B6E472B324100EEEBC0E29A17416B91ED7C4B2B3241102FDD24F29A1741FEE68CA84B2B324190A757CAF29A1741F25A42DE5B2B3241F0384547309B174157D3BCE35D2B3241D0BCE314F49A174101000000020000000001000000FFFFFFFF0000000003, CAST(261573 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (262443, N'{6DB33D37-C60F-4D95-A5F8-18DB52EE71FA}', N'012190616', 290433, N'PGP14008', 90052919, N'12190616', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 9119 CARIBOO DISTRICT PLAN 14008 EXCEPT PLAN 21284', N'0163', N'0002', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2019-01-11T18:31:27.000' AS DateTime), 19543, 580, 0xBD0B000001040A0000005296216E6FE83241B06B09B9505B2A41CE3B4E116CE83241086C783A8C5B2A41068A1F036BE83241F81EF42CAD5B2A412B6519C262E83241184ED191415C2A415205A3B2F9E8324180567D2E465C2A4162DC46C3E8E83241A8D32B656E5B2A41C6C3422DE7E8324178992AD85E5B2A41F64A592676E8324108D04418DA5A2A41885AD37C72E8324178D5E7EA1A5B2A415296216E6FE83241B06B09B9505B2A4101000000020000000001000000FFFFFFFF0000000003, CAST(262443 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (262520, N'{38A87A7A-BF33-4A6E-9892-B1D8ACFA6666}', N'006144187', 12768, N'VIP3749', NULL, N'6144187', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 16', NULL, NULL, N'THAT PART OF LOT 16, DISTRICT LOT 47, MALAHAT DISTRICT, PLAN 3749 LYING NORTHERLY AND WESTERLY OF THE NORTHERLY AND WESTERLY LIMITS OF PLAN 1064 RW AND WESTERLY OF THE WESTERLY LIMIT OF PLAN 570 RW EXCEPT THAT PART IN PLAN VIP64830', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T19:02:59.000' AS DateTime), CAST(N'2021-02-25T09:38:33.000' AS DateTime), 488, 110, 0xBD0B0000010404000000AE25E443E5033241B0E8D9ACACC31841769CA2A3E30332415059173746C41841B615FBABFE033241E03845C7B0C31841AE25E443E5033241B0E8D9ACACC3184101000000020000000001000000FFFFFFFF0000000003, CAST(262520 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (265375, N'{81FE4A80-0239-47CD-8BCC-4F11E8F9ACB5}', N'007635753', 3, N'NO_PLAN', NULL, N'7635753', NULL, N'73117002210', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 202', N'', N'', N'THAT PART OF DISTRICT LOT 202 KAMLOOPS DIVISION YALE DISTRICT AS SHOWN IN RED ON PLAN ATTACHED TO DD 4332 EXCEPT PLANS KAP56364 AND KAP57259', N'0163', N'0028', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:29:35.000' AS DateTime), 5035, 492, 0xBD0B000001043A000000B58D06F0810F354198D6346F6BDF21416ABC74B3720F3541C045B6B385DF21419C01BCE5770F354178B6F37D91DF2141B247E19A7D0F3541701D38279DDF214188855A93810F3541E0CFD596A4DF2141A613D0C4870F354140EBE236AFDF214197438B0C8C0F354170567DEEB5DF2141FA3A70AE920F3541E068006FBFDF2141539FAB8D990F3541E0900F3AC8DF2141A08026429E0F3541287B83AFCDDF21416891ED7CA50F3541E8FFFF3FD5DF2141C042AD69AA0F354138F697DDD9DF2141D4F97E6AAF0F354110C13923DEDF21413BDF4F0DB70F3541B089B0E1E3DF21412E90A038BC0F3541885CFE43E7DF2141BB051214C40F354140C286A7EBDF214182A7570ACC0F3541C8C64B37EFDF214111F2410FD30F3541E8891FA3F1DF2141F0F44AF9D60F3541D097DDD3F5DF2141A0D634AFDC0F35417875719BFCDF214196218E35E20F35412890A0F803E0214192CB7F88E70F3541E0F8A0E70BE02141026F81A4EC0F354190779C6214E0214132DD2486F10F3541F8770B641DE0214192B96B29F60F3541688A8EE426E0214198559F8BFA0F354130E483DE30E02141FFD478A9FE0F354140158C4A3BE02141407958A8FF0F3541D019511A3EE021417F2F4C6600103541508D97AE39E02141E3BE0E3C02103541689A775C2FE02141C654C1280410354178F5B91A25E02141D1D5562C0610354158E7FBE91AE02141D781734608103541B803E7CC10E021411DEBE2760A103541603789C106E02141CF4D62700B103541B8C8767E02E02141CC915CBE0C103541E8A7C6CBFCDF214129287EAC131035415065192203E0214130D49A861B103541C0A679C7E0DF2141FA75E0BC2D103541E03D791891DF2141AE7BF2902610354128BB27CF9CDF21419C876A251F103541F85D17BAA7DF2141A833A3471710354170575650B1DF21418475D8060F10354178AB537FB9DF2141A003067306103541681D3637C0DF2141DF60C89CFD0F354188E2FA6AC5DF214166B13C95F40F354168D38E10C9DF21417C95DF6DEB0F354198EFE120CBDF2141384C6B38E20F3541C80AF597CBDF21418E5EB506D90F3541D889E174CADF214152158CEACF0F3541D822DBB9C7DF2141655EB0B1C40F354168C5A24FC2DF2141647B13BEB90F354148327102BBDF2141C8C7F723AF0F35419033C8DFB1DF2141430CFAF6A40F3541B0098EF8A6DF21410137ED499B0F35410826EE609ADF21411B89B72E920F354140DD33308CDF2141F57931B6890F3541204F9F807CDF2141B58D06F0810F354198D6346F6BDF214101000000020000000001000000FFFFFFFF0000000003, CAST(265375 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (265624, N'{69610F5A-3E58-43DD-B904-BC5EFCCBC77F}', N'006156339', 3, N'NO_PLAN', NULL, N'6156339', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'NE4', N'8083', N'', N'THE FRACTIONAL NORTH EAST 1/4 OF DISTRICT LOT 8083 CARIBOO DISTRICT EXCEPT PLANS A195 AND 32025', N'0163', N'0008', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2020-05-29T16:36:33.000' AS DateTime), 634302, 3403, 0xBD0B000001042F000000EEFDD458F58F344170DE718A5C902D4150742417F58F3441E0847C9068902D413F9B55BFF48F3441782BF69778902D414482E267F48F3441F8D16F9F88902D41B47BF210F38F3441C8CD199198902D415027A0C9F28F344188CFD596A5902D4138AB3E170090344148D1919CA7902D419EB437D82C903441108C4A6AAE902D4180AEB6A2DC903441600AD723C9902D416E4694566E913441D0FA5C2D2C902D4176711BCD77923441186A4D330E8F2D415AB1BF2C8B923441D0B584BCF98E2D41C7FEB25B9F92344140742457E58E2D41CCE53F64B392344160C729FAD18E2D41162FDD44C7923441A8F5289CBF8E2D413C9B559FDB923441687958A8AD8E2D4172128320F0923441C867B36A9C8E2D417CD0B3990193344100FCA9718E8E2D414E9621CE0A933441A8AF0367878E2D41662BF6B72393344120F2418F208C2D417636ABBE36933441C85B20014B8A2D413133339339933441D01E852B058A2D41DA5F766F1A9034414863EEDA88892D41CE88D2BE17903441E0D781B3D3892D410B819583069034413855302AB38B2D410AD04438F68F344108835189788D2D41B9B88D66DA8F344148D044987E902D413D9B55BFDB8F3441006D567D7A902D41F9C2640ADE8F344168F7E4A16C902D417B95436BE08F3441D813D0C45A902D410A6822CCE28F3441C878E9E648902D415ECC5D2BE78F344178218E3537902D4103098A7FEB8F34413038678427902D4126CB10A7F08F344148E8D9EC1F902D41F93A708EF38F344118E9B72F24902D41DB02096AF78F34419039B4882A902D41B2946528F78F3441A8DFBE8E36902D41B8A679E7F58F344128DBF97E42902D41CB10C79AF58F34411026538550902D41EEFDD458F58F344170DE718A5C902D413CCF66750B92344120D7A330EA902D41C27493D817923441789ECD2AD7902D41B7AF03071D923441303A920BB3902D41B396906FE39134412862A116F1902D419FA223B904923441D053E325F6902D415EDC464306923441C04B37C9F3902D413CCF66750B92344120D7A330EA902D41020000000200000000022800000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(265624 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (266292, N'{54AB2400-8F43-44CE-BB3D-2AD3DF66200B}', N'015424456', 3, N'NO_PLAN', NULL, N'15424456', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART E2', N'7987', N'', N'THAT PART OF THE EAST HALF OF DISTRICT LOT 7987 KOOTENAY DISTRICT INCLUDED IN EXPLANATORY PLAN 94528I EXCEPT PART INCLUDED IN SRW PLAN 14540', N'0163', N'0018', N'NO', N'ICF', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-01-09T12:31:03.000' AS DateTime), 24874, 738, 0xBD0B00000104050000001C95D4499C643B41286EA3817046224156EC2F7B6C643B4168F7E461984822413811365CC3643B412086C954B64822410A12145FF4643B41585BB17F8D4622411C95D4499C643B41286EA3817046224101000000020000000001000000FFFFFFFF0000000003, CAST(266292 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (267009, N'{F19A0C56-A276-49DE-8EF7-9C9C895EC624}', N'005848695', 12362, N'VIP6495', NULL, N'5848695', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 7', N'', N'', N' LOT 7 SECTION 8 RANGE 1 COWICHAN DISTRICT PLAN 6495 EXCEPT PART IN PLAN VIP73527', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 15, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:58:51.000' AS DateTime), CAST(N'2019-01-07T18:33:43.000' AS DateTime), 748, 133, 0xBD0B0000010406000000D8D781F396E23141203B704E5D751941A35E29ABA4E23141902C431C9D751941F775E0FCAEE23141F075711BCD7519410388F45BB3E23141C0E4F29FBE751941F05A425ECEE231410022FDF665751941D8D781F396E23141203B704E5D75194101000000020000000001000000FFFFFFFF0000000003, CAST(267009 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (267226, N'{27F638F8-70EC-4111-BAA0-B5DFBFB5C43E}', N'010297375', 3, N'NO_PLAN', NULL, N'10297375', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 6', N'6', N'', N'THAT PART OF SECTION 6, RANGE 6, SAHTLAM DISTRICT LYING SOUTH OF THE CENTRE LINE OF THE CANADIAN NORTHERN PACIFIC RAILWAY COMPANY''S RIGHT OF WAY AND A STRIP OF LAND 50 FEET WIDE LYING NORTH OF AND ADJACENT TO THE CENTRE LINE, AND BOUNDED ON THE WEST BY THE WEST BOUNDARY OF SAID SECTION AND ON THE EAST BY THE SOUTH BOUNDARY OF SAID SECTION, CONTAINING 4.75 ACRES MORE OR LESS AS SHOWN AND COLOURED RED ON PLAN DEPOSITED UNDER 31014I', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T15:56:09.000' AS DateTime), CAST(N'2019-01-07T18:31:06.000' AS DateTime), 22863, 816, 0xBD0B000001040E0000004F74249789B13141402EFFA19A821941376744E93AB13141E0D3BCE38E8219412E992A3824B031415007CE1967821941142FDD8422B03141305305232F83194176F2B07021B0314120D26F5FAC831941D5D781B343B03141C0EEC943D1831941A3F831464BB0314130D26FDFD8831941F0735F0D62B03141A0759984E98319418C01E62179B03141D0E88CF5F0831941FB4D6B4890B031411068271FEF8319411FBF6645A7B03141E09F2206E4831941C48CBADDBDB03141608108C7CF831941A8C64BD7D3B0314140E1E995B28319414F74249789B13141402EFFA19A82194101000000020000000001000000FFFFFFFF0000000003, CAST(267226 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (267993, N'{9F10ED08-C2C0-45EB-B49F-6FEB9F799845}', N'009827625', 3, N'NO_PLAN', NULL, N'9827625', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART S2', N'7', N'1', N'THAT PART OF THE SOUTH 1/2 OF SECTION 7, RANGE 1, SAHTLAM DISTRICT, SHOWN COLOURED RED ON PLAN 672 RW AND CONTAINING 6.27 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T16:06:03.000' AS DateTime), CAST(N'2018-05-22T14:32:38.000' AS DateTime), 24161, 1705, 0xBD0B000001044A00000059EC2FBB3EA3314130A7E8484F90194130DD24464AA33141C0CCCC4C4A9019416F4694D655A33141109C332246901941706891AD64A33141B0B12EEE41901941CFB359F579A33141B0D85FF63C90194128E4831E7AA33141D0E8B72FC68F1941A245B6D359A33141306EA301CF8F19418B0D4F6F4BA33141900E9CB3D38F194156B1BFEC41A33141C053E3A5D78F1941B58D067038A33141D037F842DC8F19415B07CEF92EA331419095D489E18F1941F4B9DA8A25A33141406C787AE78F1941BB15FBEB18A33141604E4093F08F1941F553E3C512A33141D086A757F58F19413A11369C05A331415078E9A60090194112BE30798EA23141D0BFEC1E6A901941E52631E842A2314140C442ADB69019418AFD651731A23141B0BB9690C99019410EBE303923A2314180469476D9901941CABAB86D15A2314140189554EA90194142C6DCB507A2314160E7FB29FC901941F4EDEB20F7A131416054522713911941A2B43798E9A1314170BE9F1A2791194198081BDED5A1314150696F7046911941A401BC65C8A13141C03B4ED15C9119414A3789A1B8A131415075719B7891194106D7A35045A13141E01873D71D9219414160E55039A131419067B36A2E921941689A773C2DA13141B09C11253E921941EF8E531421A13141704B59064D921941621058D914A131411096B20C5B921941797AA58C08A13141E03380376892194130BB272FFCA0314160B81E857492194113A5BDC1EFA03141004625F57F92194131E6AE45E3A03141A0B88D868A921941AA35CDBBD6A031412059863894921941C0D32B25CAA0314160DE710A9D921941401CEB82BDA0314180FEB2FBA492194182C0CA61A4A031415051DA1BB2921941BB0512945FA0314170B29D6FD1921941A59BC4005FA03141806DC5FE4F931941B9A679A790A031419039234A3993194145E17A54A7A03141F0C798BB2D9319419ED634AFB6A031417096218E249319411951DAFBC5A03141503BDF4F1A931941A3A22339D5A03141B0006F010F9319412FE6AE65E4A03141F02E6EA302931941C86D3480F3A0314110EBE236F592194105F9A08702A1314110C807BDE6921941BCE3147D11A1314120341136D792194169F7E46120A13141109C33A2C692194176F2B0302FA1314160931804B59219413AEF38E53DA13141A03F355EA2921941183FC67C4CA13141C0A0F8B18E921941AA0A4605E8A13141C09AE69DAC9119418716D94EEDA13141D0DCB584A39119414C3789C1F4A13141009C3322979119412FDD24A6FFA131416014AEC785911941051B9EFE10A23141C0D85FF66B9119410712141F15A2314120ED0D3E669119418B5AD35C20A23141E02497FF5691194126287EAC2BA23141604D848D48911941923A010D37A23141301E16EA3A9119410E2DB27D42A2314110BD52162E911941F66C56FD4DA23141202AA913229119418C7CD03366A23141803BDFCF0B9119411F5A64DBEEA23141B01A2FDD88901941C3D32B25FAA2314160A913507E901941CE19517A05A3314140D7127274901941402CD4DA10A33141408A1F636B9019419F01BC451CA33141A09CA2236390194104AC1CBA27A33141C033A2B45B90194123EBE23633A3314140BD52165590194159EC2FBB3EA3314130A7E8484F90194101000000020000000001000000FFFFFFFF0000000003, CAST(267993 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (268113, N'{B548F6A7-1253-4420-ADC6-8A227A654EA2}', N'010874411', 3, N'NO_PLAN', 90054800, N'10874411', NULL, N'760-008723.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'W2', N'23', N'84,18', N'PARCEL D (98052M) OF THE WEST 1/2 OF SECTION 23 TOWNSHIP 84 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:30:07.000' AS DateTime), 722279, 4018, 0xBD0B00000104D20000002AA913D009373441B0EA73D554593341405A9B0B0737344180617F285F59334170C69D81043734418C43878A6959334124EB6B3202373441BC5E40FA7359334172724F1E00373441E0CB5D767E593341AEA98A45FE363441E01891FD88593341407958A8FC363441E4718A8E93593341BDD16226FA3634416CF68C6AA35933411A4D31EFF73634410CBEAD51B35933418C05F502F636344150588C42C35933410298D861F4363441947CC73BD35933419A20000CF3363441D428FD3BE359334146378901F236344184C0CA41F35933419AE508C9F1363441CCD45AE9F75933416ED4F4B1F1363441CC7E0892FC5933416EA851BCF1363441CCCAE33A015A3341D64B1DE8F1363441D8BBFCE2055A33410CEF4E35F2363441FC7B63890A5A3341400AD7A3F2363441F88C282D0F5A334126C9C79BF3363441BC594F7E165A33412C49ADAAF4363441B49147CC1D5A33417A1B7DD0F53634411C30C916255A33413EEF2B0DF736344110528C5D2C5A33412092AD60F8363441083A49A0335A3341D7F0F4CAF93634410052B8DE3A5A334135CA07E5FA363441E0C607703F5A33418FB1630FFC36344128B44AFD435A33412EC9F949FD363441B4094786485A33415864BA94FE363441FCEEC20A4D5A33411B0895EFFF36344134C4848A515A3341226C785A0137344118265305565A3341D8810BDD02373441A87AE11F5B5A3341FEA51F2504373441547F564A605A3341E69B0E3205373441BC1D1482655A3341DC1E500306373441188475C46A5A33414D277A9806373441307DD00E705A33415B2041F106373441B8C8765E755A33414424AA140737344110661CB3785A3341944FBF2D07373441BCC71F087C5A33413AB17F3C07373441E4E7605D7F5A33416FBBEA4007373441E0BEBFB2825A3341C343003B0737344198431C08865A33411183C02A07373441086D565D895A3341C54D76CD063734411C201652925A33416516967706373441B4FA1F479B5A3341C41720290637344170D96D3CA45A3341A88714E2053734413899F931AD5A3341BE9673A2053734416016BD27B65A33419E703D6A05373441182DB21DBF5A33414DB1615605373441780FDF1DC15A33416EC4865505373441D0476E1EC35A33410EF7AC67053734412066AB1EC55A33419CE5CD8C053734416017E21DC75A33410C7EDCC4053734410C655E1BC95A33417F04C50F0637344124F46C16CB5A334174CA404007373441046A7C0DD15A33410E03ED6E083734418004E804D75A33415892C99B09373441F036AFFCDC5A3341B85CD6C60A3734413074D1F4E25A33418A4613F00B373441E82F4EEDE85A33416F3480170D37344150DD24E6EE5A334115934E530E373441DCA0B6C9F45A3341A3B983C80F373441D0A11BA0FA5A334192FA93761137344124942467005B3341F460DE5C13373441C0EBA71C065B3341B5ECAC7A1537344130AB82BE0B5B33419CD634CF17373441C830994A115B3341247400171A3734411C413CAD155B33410ADBBC761C373441B44018031A5B3341BE7C22EE1E373441DC81AA4B1E5B33416401E77C2137344118E77186225B3341CA50BD222437344128F3EEB2265B3341449B55DF2637344108D7A3D02A5B33419C78C3B22D373441740B06B6345B3341809520AC34373441B861D1803E5B33413F6305CB3B3734415C727430485B3341E925080F43373441B4695FC4515B334162FABC774A373441C80F043C5B5B3341C9DCB50452373441A4CFD596645B33416C60A59959373441D04B18F76D5B3341F908E60F613734419C4ED86F775B3341F6BC2867683734410871B100815B334177AB1F9F6F3734413C4C3EA98A5B3341504F7EB7763734413C7E1869945B33414872F9AF7D373441A0ADD83F9E5B334102ADF31280373441D80592DDA15B3341249E2346823734414C2E1F99A55B3341245B154884373441CC200970A95B33413A7E75178637344100C5C65FAD5B3341AD0612B387373441B09DBE65B15B3341CC22DB1989373441D07F487FB55B3341EC8FE2768A373441181521A2B95B33413CC08BF78B37344128B98EB8BD5B334192E6659B8D3734413C8F5EC1C15B33410BE4F5618F373441F8B761BBC55B3341D86BB64A91373441DCAB6DA5C95B33419A2A185593373441C0915C7ECD5B3341EB046D0E9D37344118C37FFDDE5B3341FE522349A737344198D33E32F05B3341E6730203B23734412850DD18015C3341302AB639BD37344148BDAFAD115C3341501DCFEAC83734416C611CED215C33411061C313D5373441AC0E9CD3315C3341EC3FA47F0F383441BC20B0927B5C33416C680B461738344150218241885C33418845FF1F1F383441B84843E4945C3341D21D6D0D27383441B474D57AA15C33419409420E2F3834411CA01A05AE5C3341BAF26A223738344120E3F482BA5C33411795D4493F383441887346F4C65C33415CA835CD5C383441243A922BC95C3341EAE236FAB4383441305530CACF5C334133D49AC6D338344114A3921AD25C334116B7D140D9383441C87F481F895C3341A5ADD8BFDD383441847DAE364D5C33412ACB10E7E4383441AC32C4F1ED5B3341C64B3769E9383441088D28EDB15B33411E6C785AF9383441EC2FBB87DD5A334144CF6615FA38344128696F10D75A334125F6971DFF38344168B5151B8E5A334120D26F3F03393441B01E852B525A3341A211A59D09393441DC0FE9D7F559334142C6DCB50E393441F88E53F4AB5933414F499DA01239344188FD65D76E593341A13C2CD43A393441D4F753A3FB56334147B6F3DD42393441982A181587563341F1C9C3C29B37344100CE19B16756334172CE8832913734410CE78CE86656334174B5157B8837344174A52C436656334158D3BC23513734418C14AE276256334118FBCBCE4F373441A0DFBE0E625633418E3177ED4F3734410C12145F64563341341E000550373441403957606656334142064B1B50373441D092A8616856334127E1573050373441C05907636A563341D5A6264450373441C0C872646C563341B34FB75650373441F41AEA656E56334197D4096850373441348B6C6770563341DC77FC9750373441BCD0B01779563341BEE33DE4503734415CB82AC7815633418BEECA4C51373441A0087E758A56334118429FD1513734415C944E2293563341F55BB57252373441483E40CD9B563341BA8D06305337344108FDF675A45633411AC4F6B4543734411860F1B4AF5633417267BE5956373441309170EFBA5633416445501E5837344174691A25C65633414F2C9E025A373441D0E89455D1563341CFEB98065C373441D0388680DC5633413155302A5E37344150AF94A5E7563341D6E3AD6461373441804EB90BF856334184C09E8E643734413857177508573341EEB2FFA767373441E0159EE118573341AF93CDB06A373441CCD33C5129573341404C05A96D37344130D7E2C3395733410AD7A39070373441B4627F394A573341DBB86D9772373441BC48A06B555733418B1EA8347437344178E5DDAE60573341996FC467753734416C4855FF6B5733410CB258307637344148F01E5977573341BAAE1F8E76373441E82450B8825733416909F980763734413850FC188E573341DC07A9367637344134FA9B6E9557334107948BA175373441DCF1C6BF9C573341CD62DDC17437344170A08209A45733414E84F997733734410876D748AB573341E43E592472373441881ED27AB25733419CDD936770373441E0B5849CB9573341E0CB0F136E3734413C0A1401C25733415DC3DB9E6B3734412081965CCA5733412CE41A0B693734415C7994AED25733412412F257663734410CDA96F6DA573341A0F2878563373441EC182734E35733414AEA049460373441FC41CF66EB573341F443787E5F373441CCFAB28EEE573341EA649E5A5E373441207088B1F157334150DC8E285D37344140D30ECFF4573341DD5E62E85B3734414CC305E7F7573341F8C4329A5A37344174522DF9FA5733419B081B3E59373441A40A4605FE5733413801333D55373441203FEA7B06583341C4551E7151373441EC0BC40A0F5833414D4B6FDA4D3734416CC889B017583341F81DB0794A373441EC58EE6B2058334145EC624F473734415861A13B295833416CA3015C4437344160764F1E32583341B19688E642373441E0124890365833414CEE09864137344170B2EC083B5833416C26A43A40373441A456DA873F58334110E873043F373441CC76AD0C44583341A40694E33D3734410407029748583341C27D1DD83C373441DC8173264D5833414660ECC939373441EC0D8E345C5833415A21C2CF363734417C3FAB466B5833413B04A4E9333734415872B05C7A583341B828971731373441D0FB827689583341358BA0592E3734417C2A0894985833418204C5AF2B3734410C4625B5A7583341C478C57F28373441D4079E26BA583341678EE44525373441F4EA5E96CC583341893223022237344150A46204DF583341115582B41E37344154E9A370F1583341CAE8025D1B373441EC6F1DDB0359334151E3A5FB17373441C4EEC943165933419608F00916373441507D69C820593341234947ED13373441A0C4BD442B593341FFF6CEA511373441186817B8355933413030AD330F373441D0A0C7214059334120DC0A970C373441DC4920814A5933412AA913D009373441B0EA73D55459334101000000020000000001000000FFFFFFFF0000000003, CAST(268113 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (268170, N'{4D86596D-0D77-4BD9-8D77-01652CC59158}', N'007633408', 629004, N'PGP12116', NULL, N'7633408', NULL, N'005471.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 7', N'Block 22', N'', N'LOT 7 BLOCK 22 SECTION 32 TOWNSHIP 83 RANGE 18 WEST OF THE SIXTH MERIDIAN PEACE RIVER DISTRICT PLAN 12116', N'0038', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:29:46.000' AS DateTime), 684, 121, 0xBD0B00000104050000009006F096272B3441C0FEB23B603C33410AB5A619FA2A344174BE9FDA5C3C334174931804F92A3441000534D16B3C3341F6E46181262B34410CB37B326F3C33419006F096272B3441C0FEB23B603C334101000000020000000001000000FFFFFFFF0000000003, CAST(268170 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (269725, N'{565BF4D8-9688-48DF-82B1-1B0A21529E50}', N'000017736', 645957, N'VIP1279', NULL, N'17736', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 20', N'Block 14', N'', N'LOT 20, BLOCK 14, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:49.000' AS DateTime), 383, 96, 0xBD0B000001040D000000B2726891A49D3041403333B340BD1C4159302A89A49D304100C5FEB240BD1C41225A641B989D304130D1915C3FBD1C4130333313989D3041A0F5285C3FBD1C413FE8D90C879D3041E06F5F873DBD1C4128C286C7869D3041B09F1AAF65BD1C41A679C7099A9D304160C954C167BD1C4193A0F8119A9D3041405C8FC267BD1C4147BF7D9DA69D3041F0BE0E1C69BD1C4133E6AEA5A69D30416051491D69BD1C414D27A0E9AC9D304180F085C969BD1C4132C4B12EAD9D30416009F9A041BD1C41B2726891A49D3041403333B340BD1C4101000000020000000001000000FFFFFFFF0000000003, CAST(269725 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (269933, N'{D555A38B-8E99-459F-BEE8-A65339D125CB}', N'000016390', 646724, N'VIP2024', NULL, N'16390', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-01-04T00:00:00.000' AS DateTime), N'Lot 5', N'Block G', N'', N'THAT PART OF LOT 5, BLOCK G, DISTRICT LOT 257 ALBERNI DISTRICT, PLAN 2024, SHOWN COLOURED RED ON PLAN 148 RW', N'0163', N'0029', N'NO', N'SRW-COMPILATION', NULL, NULL, N'COGO', N'0', NULL, CAST(N'2018-06-19T10:47:41.000' AS DateTime), CAST(N'2018-11-23T18:39:31.000' AS DateTime), 8, 15, 0xBD0B00000104090000004E499D80BC803041306DC57E3D5C1D41BF487676BD80304120CAB8AC3B5C1D410A968F6BBE803041A07367D4395C1D4196A2E65FBF8030416057D6F5375C1D41CCE17853C080304190730A11365C1D4122C94346C180304110D70826345C1D4110D04438C280304170A1D634325C1D4100098A7FBC80304110DCD701325C1D414E499D80BC803041306DC57E3D5C1D4101000000020000000001000000FFFFFFFF0000000003, CAST(269933 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (270253, N'{65633B18-7079-41BF-8E82-B46501467DCF}', N'014292866', 299180, N'PRP948', NULL, N'14292866', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 17', N'Block 4', N'', N'LOT 17 BLOCK 4 DISTRICT LOT 3 QUEEN CHARLOTTE DISTRICT PLAN 948 EXCEPT PLAN 6937', N'0116', N'0026', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-11-26T18:18:37.000' AS DateTime), 248, 72, 0xBD0B00000104050000008BF6065FEF51224140014D444C762C41AD605452035222418014AE474A762C41CCA3707DFE51224120DBF93E12762C41EBE995B2EB512241686744A921762C418BF6065FEF51224140014D444C762C4101000000020000000001000000FFFFFFFF0000000003, CAST(270253 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (271582, N'{103441CF-9BE9-4902-97BD-7387EAD9D13D}', N'013978063', 295389, N'PRP968', 23695671, N'13978063', NULL, N'01259.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 10', N'Block 112', N'Section 2', N'LOT 10 BLOCK 112 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:42.000' AS DateTime), 233, 66, 0xBD0B000001040500000092B0E1A9A8792B41A442AD8992643141964160E5A7792B41384ED1517B643141463EE8D993792B41906CE77B7B6431410E1B9E9E94792B418C8EE4B29264314192B0E1A9A8792B41A442AD899264314101000000020000000001000000FFFFFFFF0000000003, CAST(271582 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (271910, N'{8439D088-B604-4134-AFEB-B62E845FFB25}', N'012177601', 480215, N'KAP592', 21092811, N'12177601', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 27', N'Block 1', N'', N'LOT 27 BLOCK 1 DISTRICT LOT 526 KAMLOOPS DIVISION YALE DISTRICT PLAN 592', N'0163', N'0012', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-19T18:25:24.000' AS DateTime), 457, 91, 0xBD0B000001040600000020D26F3F12AA36418061321511BD23418ECB7FA805AA36418007CE591BBD23415D3255500BAA3641D07A146E37BD2341CF88D23E27AA3641709D80A620BD2341CEB3599521AA364178BC749304BD234120D26F3F12AA36418061321511BD234101000000020000000001000000FFFFFFFF0000000003, CAST(271910 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (274095, N'{85993131-0ACD-4305-A1CD-ACD0292E338D}', N'013769634', 1179666, N'NWP2553', NULL, N'13769634', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-24T00:00:00.000' AS DateTime), N'Lot 10', N'', N'', N'PART LOT 10 SECTION 6 TOWNSHIP 14 NEW WESTMINSTER DISTRICT PLAN 2553 LYING TO THE SOUTH WEST OF PARTS ON PLAN 23336', N'0067', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T10:02:10.000' AS DateTime), 737, 144, 0xBD0B00000104040000004FAF94C5D42C3341308B6C6737131C41B71E85CBD32C3341A08D06F0A1131C412A1895140C2D3341F029A9133E131C414FAF94C5D42C3341308B6C6737131C4101000000020000000001000000FFFFFFFF0000000003, CAST(274095 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (274978, N'{9A009173-ECC1-4157-BBF0-A223DF09805C}', N'002344602', 1308956, N'NWP84', NULL, N'2344602', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'REM Lot 26', N'Block 1', N'', N'LOT 26 EXCEPT: FIRSTLY: PART ON PLAN 190 SECONDLY: PART IN PLAN LMP21853 BLOCK 1 DISTRICT LOT 203 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 84', N'0109', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:21:08.000' AS DateTime), 424, 85, 0xBD0B00000104060000009F23B9BCB7BA3241E0855A53A34C1D41E3B584BCB7BA324140F8C264A34C1D4101917EFBCBBA3241203B70CE9A4C1D417E6ABC14CDBA3241F022DB79364C1D4157F5B97AB8BA3241A001BC855F4C1D419F23B9BCB7BA3241E0855A53A34C1D4101000000020000000001000000FFFFFFFF0000000003, CAST(274978 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (275743, N'{1887FD53-2D28-4A24-B430-8B7E43609CAC}', N'023329297', 1492116, N'LMP24630', NULL, N'23329297', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', CAST(N'1996-02-06T00:00:00.000' AS DateTime), N'Parcel 5', N'Lot 4', N'', N'PARCEL 5 (PLAN LMP24631) OF LOT 4 DISTRICT LOT 319 GROUP 1 NEW WESTMINSTER DISTRICT PLAN LMP24630', N'0150', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:06:50.000' AS DateTime), 876, 136, 0xBD0B00000104060000007658A8F5F7733241D040F16378A91C41682BF6B7F9733241904F1E96D3A91C4108F9A0A71774324130EBE23628A91C41D4F97EEA04743241C0D100DEF3A81C415A8638F6F6733241E0A8A4CE43A91C417658A8F5F7733241D040F16378A91C4101000000020000000001000000FFFFFFFF0000000003, CAST(275743 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (276144, N'{EFD7A3D9-A3F4-459C-8E16-571FF6FCB2DA}', N'017995345', 1497101, N'LMP7506', NULL, N'17995345', NULL, NULL, N'ACTIVE', N'AIR SPACE', N'CROWN AGENCY', CAST(N'2000-03-24T00:00:00.000' AS DateTime), N'Parcel 1', N'', N'', N'AIRSPACE PARCEL 1 DISTRICT LOT 171 GROUP 1 NEW WESTMINSTER DISTRICT AIRSPACE PLAN LMP7506', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:38:50.000' AS DateTime), 239, 155, 0xBD0B0000010405000000B8FC873491A43241708941608BBB1C41E4D9AC1A8EA43241308B6CE784BB1C41E86A2BB66AA43241C033A2B48EBC1C412F5530EA73A4324170E3A51B67BC1C41B8FC873491A43241708941608BBB1C4101000000020000000001000000FFFFFFFF0000000003, CAST(276144 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (281046, N'{C2B987F5-2E25-43B2-84A4-58B8FCD11E15}', N'003518132', 849074, N'KAP32115', NULL, N'3518132', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 18', NULL, NULL, N'LOT 18 DISTRICT LOT 473 OSOYOOS DIVISION YALE DISTRICT PLAN 32115 EXCEPT PLAN KAP44591', N'0138', N'0022', N'NO', N'MODIFIED-ICIS', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-02-20T10:00:18.000' AS DateTime), 839, 139, 0xBD0B0000010405000000CEF753C3413B36418014AEC746302041BD3099AA543B36419057CAB2193020410C560E8D183B3641A859F5B925302041BC42AD29313B3641C89F1AAF4E302041CEF753C3413B36418014AEC74630204101000000020000000001000000FFFFFFFF0000000003, CAST(281046 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (281407, N'{885E2673-FD28-43A7-9FCF-B6250F6693B0}', N'002085950', 3, N'NO_PLAN', NULL, N'2085950', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1899-12-30T00:00:00.000' AS DateTime), N'100', NULL, NULL, N'DISTRICT LOT 100 LILLOOET DISTRICT EXCEPT (1) PLAN A10 (2) PLANS 2047, 4968 AND 35852', N'0163', N'0025', N'NO', N'MODIFIED-ICIS', 7, N'DATACOMPILATION', N'UNKNOWN', N'0', N'536436', CAST(N'2020-03-27T15:26:35.000' AS DateTime), CAST(N'2020-03-27T15:26:35.000' AS DateTime), 536373, 4343, 0xBD0B000001047400000023D26F5F250F33412873D752DFF5224102E78CA8F40E334188C8077D07F6224143CF6635970F3341C8DD02895FF72241549621AEAD0F3341F88616198FF72241BA847CB0CD0F3341E826314875F722416EE7FB89E2103341C8915CFE95F6224124B07228CC1033417826C2462FF62241DDC798FBC610334140E17A9417F622411751DAFB7C10334118022B07C4F42241F12FBB473910334118BD52D6FBF42241DD5817D72F103341F051B89E03F52241CDDEE00B1A103341803D0A9715F522412241F18313103341484772F91AF52241EF9E3CCC0E1033412076E0DC1EF52241CA4B37E9B60F334188855A5367F52241849ECD4A650F3341E051B89EAAF52241AC8BDBE8390F33412841F163CEF5224123D26F5F250F33412873D752DFF5224195218ED56F103341F87C3FB5A0FA2241639A775C9010334168FF213D16FB2241C64811459110334130C9F1411BFB22413D51B04B9210334190B4662F20FB22415141BF6F9310334120E9B20225FB224126E697B094103341D87117B929FB224116AB830D96103341F8CBE54F2EFB2241A401BC8597103341006F81C432FB224170C884FD99103341287AF6C73AFB2241322FFA499C103341B87E54FE42FB2241121A166A9E103341400FF3634BFB22414A2EE65CA010334120B214F553FB2241FB3D8C21A2103341708CE8AD5CFB22413AAB3EB7A310334168158C8A65FB2241351136FCA910334170438B6C6FFB2241FA97DD93A410334180D2DEE044FB2241CA98BB369F103341782D215F2CFB2241437B830F9E103341C06CE73B19FB2241E53FA4FF991033415017B7D1F8FA22412FD49AA691103341B8825109D7FA22419E11A53D8710334100BC0512B2FA2241D512F2617D103341387C61329FFA22414FE3A55B7B103341D8A59B449AFA224195218ED56F103341F87C3FB5A0FA224132992A38820D33419006F09672FC224171787A25820D334170D5E7AA7BFC2241FC1873978F0D3341283B70CE7CFC22415A9FAB0D950D3341A04AEA447DFC22412EFF21DDCB0D3341E0B050EB81FC224166226CD8DA0D3341D87BF23083FC2241E34F8D37400E3341F882C0CA8BFC2241393CBDF2460E3341789A775C8CFC22418D5CFE83880E334158B1BFEC91FC22413670CE089B0E3341E8482E7F93FC224140FAED2B520F3341E0141D09A3FC224134B4C8B6630F3341C8CAA185A4FC224195DD9387CC0F33412055306AADFC2241C5FEB21BB0103341E8FDD4B8C0FC22413E2CD41AB510334160666626C1FC2241D288D2DEB5103341A00F7A36C1FC2241CC66D5C7B5103341F8E68CA8BBFC2241C2749378B5103341C0855A13AFFC224159A8350DB5103341A0802682A2FC224132DD2486B4103341205839F495FC2241789CA2E3B3103341107A366B89FC2241DE938725B3103341C042ADE97CFC2241EE9E3C4CB2103341100DE06D70FC224136B4C856B110334148355EFA63FC2241B6B88D46B0103341F0DF2D9057FC2241E6E2361AAF103341C09F1A2F4BFC22411A6A4DD3AD1033413007CED93EFC2241D23B4E71AC1033411060768F32FC224130211FF4AA10334168CE885226FC2241867CD073A9103341C8AACFD51AFC22411A51DA5BA910334120D34D221AFC22413670CEA8A710334180923A010EFC22418E7571DBA5103341584469EF01FC22414EFC18F3A3103341188D97EEF5FB22414160E5F0A110334198A4DFFEE9FB22414BE17AD49F1033419864AA20DEFB224125F6979D9D10334188863856D2FB2241024D844D9B103341489B559FC6FB2241E6C039E39810334198FF90FEBAFB224144A4DF5E96103341280E2D72AFFB2241F7DBD7C193103341805AD3FCA3FB224140FAED0B91103341001B9E9E98FB22413408AC3C8E103341088716598DFB224166AA60548B103341F08C282D82FB2241312AA95388103341189A081B77FB22412DB29D0F5610334128B4C876C1FA22416E471D2650103341D0BB1BF8ABFA2241EB29D24F4A1033412054796496FA224194ECCE8C44103341E02526BC80FA2241F7E425DD3E103341001B67FF6AFA2241202BE94039103341405F812E55FA224133992AB833103341405EBA493FFA22417D26C2062B10334100E3369A1CFA224146E17A94F40F3341709D806652FA2241A3D634AFAA0F334188C64B772AF92241CD056E189F0F3341F0D770EDFEF82241F688DB75920F3341E022AC91D4F822410E2529CF840F3341101DB57DABF822414B8CA02C760F3341D0357CCA83F82241DE552497660F334190B61B905DF8224133992A18560F3341F81CC9E538F82241942A1835960E334188B740C2A2F622413A4547127C0E334140696F706BF62241E8B7AFE37B0E33415896210E6BF62241B4A679077B0E3341E000DEC26BF62241E02D9000D40D3341608A8E64F5F622417B2D21FFBE0D3341205839B406F72241F86C569D970D33415854522727F72241F19E3CAC950D334110EEEBC028F72241280F0B55950D334128BB27CF57F72241FF088ABF940D3341C015FBCBA8F7224184D0B379940D3341800B24E8BAF7224140FAED4B8E0D334138D1919C53F9224132992A38820D33419006F09672FC22410300000002000000000212000000022A00000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(281407 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (284312, N'{E369F628-34F3-4819-8948-F225DE42347C}', N'009115960', 463716, N'NEP7590', NULL, N'9115960', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOTS 4588 AND 4589 KOOTENAY DISTRICT PLAN 7590, EXCEPT PLANS 9262, 10797, 11205, 14030, 14643, 15615, 15081, 17773, 18084, 18351, 12403, NEP22563, NEP59847, NEP60990,NEP61045, NEP61240, NEP61298, NEP62835, NEP66365, NEP68373, NEP73532, NEP89673, EPP1729 EPP1730, EPP1731, EPP1732, EPP1733 AND EPP21193', N'0135', N'0018', N'NO', N'ICF', 4, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', N'55362625', CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-09-13T08:10:57.000' AS DateTime), 55339230, 72774, 0xBD0B00000104290E00009218047609933B41E0E00B13E9BC214118FBCB0E05933B41C85B2081F5BC2141F1EBC0F9F9923B4188976ED2E5BC2141343333731A933B4158EE5A421FBD214130431C6B26933B41C82E6E6319BD21412171F3EE21933B41A08ABC8D10BD21418ED2164E1D933B41C8F4120508BD214126FED08918933B4170F8D2CBFFBC21410A6C76A313933B41B0F847E4F7BC21418016659C0E933B41788CA650F0BC21419218047609933B41E0E00B13E9BC2141AFBFEC5E36923B41A8D1001EE7BB2141D70968222A923B41E8E2365AEABB2141F216483018923B41A8AF03E7E8BB214114E9B72F0D923B41A09DEFA7EBBB2141FEE68C88FE913B415860E510EFBB214110D044D8F2913B41B839230AF0BB214168787A85E9913B41182E90A0F1BB2141EB2631E8E2913B4118D9CEB7F4BB21410A8A1F43D6913B41186EA341FEBB2141EE384567CB913B414833333305BC2141BECAA1C5C3913B4160E17AD406BC214110F2410FBE913B41C81A2F5D0BBC21412E90A0F8B6913B4130287E8C12BC214173B5155BB2913B41086519621DBC2141B86B0919B0913B41F0AE25A42DBC21412D772D61AD913B414092CBFF44BC2141C832C451AB913B41108A1F2360BC2141EDEBC039A9913B41D07D1D3869BC2141F241CFE6A6913B416007CED975BC21418448BFDDA5913B41B01726D385BC214176F2B050A4913B41D86A2B7694BC21418CED7CDFA0913B41D042AD69A4BC2141FA53E3C59C913B4150CF6695B0BC2141B6627F399A913B41B8E1E915BDBC214188C954E195913B41E887F49BCEBC21417C6ABCD493913B41286C78BAE0BC214145696FF092913B4148DA1B7CEEBC214194C420D092913B41E0E848EE06BD2141BCD32B8593913B41604A7B831BBD214164A1D61492913B41C8B359352DBD21412E55300A92913B41388716D93FBD214154840D2F92913B41502D219F4FBD2141961804D690913B41883099EA68BD21417CFB3A908E913B41287E8C797EBD214142E8D94C8D913B41387DAEF691BD214131431C6B89913B41D899085BA5BD2141F653E3A585913B41E8384507B7BD21417DC0CAC180913B41D0A3707DCCBD21410A3D9B357D913B4190D93DB9DABD214154AF94057B913B41F8B4A679EABD2141A4BDC1177A913B41609621CEF8BD21411C9E5E497A913B41A0B3597503BE2141C6E53F249C913B4100BE3019ECBD21417ED0B339B9913B412894F686D8BD2141D8C56D74D6913B41D02B65D9C5BD2141E4E00BD3F3913B416029CB10B4BD21410E61C35311923B41608D972EA3BD2141D6C56DF42E923B41B045B63393BD2141867CD0B34C923B41A8C0CA2184BD21412DE6AEC501933B41B04F1E562BBD21410DE9B74F62923B41B0A9825111BC21415AEC2FDB6C923B41C8E46161F1BB2141402757C26B923B41F8D77CC9EDBB21414D267BAC6A923B41D0A4F82DEABB2141BEE69E9969923B41603ADF8EE6BB21416E5DC58968923B41B8913AECE2BB21410577F17C67923B41A0AD1446DFBB2141C017267366923B41809A779CDBBB21411AAE474160923B41B05B20C1DDBB2141ECF21F3259923B416047E1BAE1BB21419AE61DC74E923B41307424D7E7BB214198C420D048923B4168992A18E7BB21412CFF217D3C923B4110000080E5BB2141AFBFEC5E36923B41A8D1001EE7BB2141E8C0398378913B4198B0E1E9E1BE214144B6F35D7F913B41B07EFB3AF8BE21415AC1A84481913B4120C4B1AE0BBF2141A4E8484E82913B41988CB92B1ABF21419865880386913B41C81C5A242ABF2141E4141D6986913B4170E7FB693CBF214130FF21FD88913B41802D219F51BF2141487B83CF89913B4170CB7F8869BF214189FD65378D913B4100C3642A7EBF2141960F7A3691913B4140158CCA8FBF2141B159F51996913B41485BB1BF99BF21414282E20798913B416017B791A0BF2141C252968198913B4130C4B16EA5BF2141B437F8E296913B4170643B1FACBF214172F90F0993913B4178E61DA7B0BF21414CC4AFB792913B41503EB4A8B2BF21416B92C77892913B41F0C590B4B4BF21410CF2A84C92913B4128550CC8B6BF214106168D3392913B4168E275E0B8BF2141BA8B942D92913B41000016FBBABF2141C610C73A92913B4178613215BDBF2141B4BFEC1E90913B41F0EBC039C5BF21418C0F7A968E913B41C0FA5CADD0BF21419E8026A291913B41282AA993D8BF2141DE49AB2893913B419007CAD7D8BF214120566EB094913B41780C33F3D8BF2141741D603896913B419039D1E5D8BF2141B4F770BF97913B4110D5ADAFD8BF214169D8914499913B412065EE50D8BF2141180BB5C69A913B41F094D4C9D7BF2141BCFC87749F913B4120C4B1AED2BF2141EE3FA4FFA4913B4158A7578AD2BF21413AB4C8B6A9913B4188D93DF9D2BF2141447B830FAC913B4188A52C43CDBF214192B96BE9AF913B4148234ABBC8BF214137431CCBB5913B41186B9A77C9BF2141A979C789BB913B4128A2B437C6BF2141F40DBE30C3913B4118FBCBEEBDBF214120B072C8C7913B4180BB9610B4BF2141D4F753C3CB913B4118871659A1BF21415AA60AA6CD913B4180B3597590BF2141EA95B22CD0913B414070CEC87BBF21411DEBE216D3913B41C8A1453667BF2141606DC59ED2913B4150D191DC49BF214128E4839ED1913B41D80B93E940BF2141E14F8D77D0913B417095434B3ABF214184F4DB77D3913B41F0FEB27B2ABF214104DE0289D7913B41A8A679871CBF2141AADFBE8ED9913B41B0ADD89F0FBF214193B20CF1DE913B41D8E53FA4FFBE21415FC3D30BE6913B41C030996AE7BE2141DC3D79B8EF913B4170900F3AD2BE2141E0718A0EF9913B41B88BDB28BCBE2141BB0E9CF3FD913B4140AE47A1ADBE2141A589B0E101923B41E00DBEB09BBE21411E1FF4AC06923B410822FDB68EBE2141ECF21F520F923B41B0EA73357DBE21415BDC468317923B411833C4B172BE2141400AD76322923B41A0ABAD5863BE21413CAB3ED729923B41D0E76A2B5EBE2141ACA44E0038923B4168E61D2759BE214150A60AA642923B413803788B59BE2141BB8D069048923B4118F9A0A75BBE2141B3EA739551923B4110166ACD63BE21417346943653923B41185A643B67BE2141C25B206154923B41A857CA7268BE2141D868004F5A923B4118A2B4776EBE2141E42D902062923B4140A4DF7E70BE2141EAB7AFA368923B41B0847CD073BE2141275305436D923B41B0ADD81F7BBE2141DC9387E570923B41F854C1A87BBE2141A08026E274923B41E0FDD47870BE214187EB51587C923B41D01951DA5EBE2141F4285CCF86923B41808A8EA444BE21417A832F4C8E923B4108098A9F32BE21410ABE30F999923B41903480772BBE21410E4FAF14A4923B41A8B20CF12ABE214152B81E65AF923B419896900F28BE21414603788BB9923B4180B96B491FBE2141664469EFC1923B41F0361A8018BE21418AB0E1A9CC923B41E82FBBA703BE2141EED24DA2D5923B41F8353CBDECBD2141FE285CEFDF923B41802A1815DABD21412E2AA933E8923B41C8B35935D4BD214170787AA5F4923B41500C02EBD0BD21417C0B24E8FC923B4168AEB622CCBD2141459B55DF02933B4148764FDEC1BD21415BE5D00208933B41D8999959BFBD2141A82C435C0C933B41D832C4B1B2BD2141B41E850B0F933B41602CD49AA7BD2141C8BAB80D11933B41A001BC859EBD21410982F3C911933B413810D1339DBD214188559A7C12933B41D85EB4CD9BBD214177BF222513933B4110797B549ABD21416A210AC313933B41A0BB4AC998BD2141171AD65514933B41F86E542D97BD2141BCE314DD14933B41F0DBD78195BD21411E4A7B2319933B4198CDAACF8DBD2141D40968A21D933B41183411F685BD2141A18026E220933B4190D32B2581BD214170A3017C27933B41D8141D097EBD21414D1E16EA2E933B41A846947679BD2141D65F76EF34933B41A04E409375BD2141F6847EE735933B4138D431DE74BD21414FBDD0DF36933B41E849BB2A74BD214118616CD837933B41A828DD7873BD214178C850D138933B4180E897C872BD21413B4B7DCA39933B416001EC1972BD21412341F1C33A933B4148E8D96C71BD21414E9621CE43933B41D0DCB5846EBD2141AD3A75BB42933B4100C820D169BD21413AE02B9641933B4160203E2F65BD214187678E5E40933B41509134A060BD2141D83EEA143F933B41701826255CBD21414C4F91B93D933B4110BC2FBF57BD21413DE8D94C3C933B415844696F53BD214106AC1C9A3A933B41500E2D324EBD21419FB437F853923B41A015FB4BBFBD2141E595B2AC36923B4150D3BC23CEBD2141762D217F19923B41705227E0DDBD2141E8043471FC913B4178499D80EEBD2141172FDD84DF913B4158CA320400BE2141A835CDBBC2913B4170F90F6912BE214172348017A6913B41800D4FAF25BE2141A5E8486E7B913B41B8BFEC1E43BE2141C4A145967B913B4188EB51B844BE2141779CA2A37D913B41201973D755BE2141874160057D913B41A847E17A65BE214142F1636C7B913B41F04A590678BE2141F35A42DE77913B41C052966190BE214146E17A9475913B41D0B5847CA7BE2141E4141DA975913B41F04750BCC4BE2141E8C0398378913B4198B0E1E9E1BE21418C16D9AE468F3B4150AA6054A9C12141E40B93693F8F3B4128ED0D7EB6C121417EB74042388F3B4158423EE8C3C121416419E238318F3B412085EB91D1C12141FC3A704E2A8F3B4178D93D79DFC121419A6E1283238F3B41D09AE69DEDC12141A8BDC1D71C8F3B41B8C876FEFBC1214197081B5E188F3B4160D5E76A06C221410F363CFD208F3B41407C6172F8C121413255306A2B8F3B4128A2B477E6C12141CA10C75A358F3B41E8C798FBDBC1214182B740C23E8F3B413051DA5BD1C12141365530EA4C8F3B41F03A700EC9C12141DEB5841C528F3B41508B6C67CAC121416A9A777C558F3B41A0A67947CBC12141F57E6A7C648F3B41C8E76A2BCFC12141501E16AA6E8F3B4108F241CFD1C1214111C7BAF8828F3B4158A1D674CFC12141FA285C8F998F3B41F86E8184CBC121414AD8F0F4A88F3B4178FB3AB0D1C1214132DD2446C28F3B41E097DD13D6C1214134D49A06D68F3B41D002094ADCC121412FC4B12EEE8F3B4150B1BF2CEAC12141AC6054F207903B4178C7297AF8C12141CA1951FA1C903B41C8923AC1FBC12141B5847CD02E903B41606DC57EF5C12141643255703E903B41B06D34C0EFC12141FC65F7444D903B41A0D71272E5C12141811D38675F903B4120333333D2C1214130BB278F6D903B41101DC9E5C9C12141E4A59B6483903B417048BFFDAFC121410E4FAF1490903B41E81B7C21A5C12141881F63CE96903B41483BDFCF99C12141E20B9329A1903B41485452E788C12141DFBE0EBCAF903B41C0FA5C2D7AC121416988637DBB903B41181DC9E56CC1214112022B27CB903B4130A4DFBE55C1214131211F54D9903B41106D56BD44C121413108AC5CE2903B4110D26F9F35C12141CF44D8F0E8903B41D0DBD78131C121413AF8C224F4903B4190900FFA21C121413F0AD70304913B41604F1ED60DC12141C05B208115913B4118583934F7C02141A83E571B29913B41407C6172D6C02141B525E44334913B41C0ACFA1CC0C021414A37892140913B4140992AD8ADC021412265190249913B41C811A5BD9CC0214100B37BF251913B4110FBCBAE8AC021411D38676458913B4188D4092872C021417E1D380759913B4118D122DB60C02141063D9BB557913B41206EA34148C02141E88C284D57913B41383EE81929C02141226C787A55913B413060E5D001C0214110E02D3051913B41A8ADD89FE2BF214116AE478151913B41C88173C6BFBF21415E643B5F50913B41F8A81350A4BF214172F085E94E913B4108AE476195BF214125D26F1F4D913B41D861A1167EBF214172567D6E4C913B4100371A4072BF214185F824684C913B41A04416966FBF2141599F645E4C913B41607C3BEC6CBF2141BA8A3C514C913B41B0499B426ABF2141AA10AD404C913B41A016479967BF2141849DB62C4C913B41984A50F064BF2141CDB359154C913B41584BC84762BF2141C030992A4C913B41E853E36557BF21418E7146164C913B4150FB90A252BF2141AC0BB3114C913B4120099ADE4DBF214104C7DF1C4C913B4180B6CE1A49BF214152BBCA374C913B417835FF5744BF21416A506F624C913B41E88CFB963FBF21411D3FC69C4C913B41A87493D83ABF214190EF3E9A4C913B4188765F7E36BF214144E3AD9D4C913B4118F32D2432BF2141690013A74C913B4140941FCA2DBF214180006EB64C913B418804557029BF21414470BECB4C913B4160EBEE1625BF2141B5AF03E74C913B4140ED0DBE20BF2141EC67EBA34C913B41B8908CF51CBF2141EFA3D97F4C913B41E0E1742619BF21416CFFF37A4C913B41F08FBF5415BF214186953F954C913B412004688411BF21417EFBA0CE4C913B41183C68B90DBF2141625DDC264D913B4138A2B4F709BF2141E12D90004E913B41B0FEB23BFFBE2141EEB0508B4F913B41904013A1F4BE2141FA99081B51913B4110E56121E6BE2141ECB0508B53913B41B047E17AD8BE21419C900F9A54913B41886ABCF4CCBE2141FF2A871655913B4118D578A9C0BE214196F6061F55913B41103867C4B1BE2141A2C64B9752913B414085EB11A4BE2141DC8173064F913B41583480F797BE21419CE61D474E913B41A0293A5290BE21410E71AC8B4C913B41C8FBA9B184BE21412E6EA3E14A913B41B89690CF7CBE214174E09CB14D913B41F8C798FB72BE2141A813D0A44E913B4180855A5364BE2141053411D64E913B41F0AE25E461BE21415CB1BF6C3C913B41D8CF44986EBE2141A4558C9828913B41604CFA017EBE21412B513C6A15913B4128B1276990BE2141733D9EFE02913B41D87729B2A5BE2141524C5C71F1903B41A8FB07BDBDBE2141A0BBD2DCE0903B41587DA765D8BE2141403EE859D1903B41985CFE83F5BE21419CA223B994903B4158EA047470BF21419A081BFE7E903B41C85D4BC89BBF214196E61DE768903B41D02D9060C6BF214160984C7552903B41A0900F3AF0BF21419C703DAA3B903B410005345119C021419CD4098824903B4148D3BCA341C02141EE1FD20F0D903B41981F632E69C02141E7B7AF43F58F3B41B8E848EE8FC02141A4703D2A5D8F3B41C8D24D6283C121418404C58F558F3B41102653C58FC121414060E5104E8F3B411031086C9CC121418C16D9AE468F3B4150AA6054A9C12141C252962129913B41B0293A92E7C121416ACE88722D913B4198E5D022E2C12141BC86A7B731913B412804568EDCC1214110E02DF035913B41301895D4D6C121414FD1911C3A913B41E05817F7D0C12141AA35CD3B3E913B41E86A2BF6CAC121414E96214E42913B41A8A982D1C4C12141888EE45246913B41385EBA89BEC12141F6CBEE494A913B4120D26F1FB8C12141BE1726334E913B41602AA993B1C121416F5F070E52913B41101DC9E5AAC12141E3E236DA55913B41883D0A17A4C121416D34809759913B41900B24289DC12141161DC9455D913B417019E21896C121416E8A8EE460913B41F88B4AEA8EC12141867CD07364913B41C0635D9C87C12141F8A9F1F267913B41D856EC2F80C12141A48026626B913B41C8C117A678C121413F80B7C06E913B4168FF90FE70C12141DA2406617D913B4190C5FE324FC12141EF5A421EA6913B4198A98211F1C02141CE44D810AB913B4188855AD3E5C02141205A641BB0913B41B0ED7CBFDAC021412EFF213DB5913B418006F0D6CFC021417A4F1E76BA913B418887851AC5C0214154AF94C5BF913B4138158C8ABAC02141948785BAC4913B4110B7D100B1C02141B8270F2BC5913B41780B2428B0C021419EEFA7A6CA913B41A045B6F3A5C02141A7BDC137D0913B41D87A14EE9BC02141F063CCDDD5913B4110D0441892C02141A1ABAD98DB913B41D020B07288C02141EF2FBB67E1913B418848BFFD7EC021419F67B34AE7913B41D847E1BA75C021412F772D41ED913B4190B0E1A96CC02141BC30994AF3913B41E8A7C6CB63C021415F5DDC66F9913B41F81B7C215BC0214106462595FF913B41D0E76AAB52C02141E6361AC00B923B41382BF69742C02141CED5560C18923B41B08CB9EB32C021419EA2237924923B41505452A723C02141F553E30531923B41F8A7C6CB14C02141EB0434B13D923B41E019515A06C021419287857A4A923B4158F38E53F8BF2141DF24066157923B412890A0B8EABF21410E81956364923B4110158C8ADDBF2141FAE4618171923B41A8703DCAD0BF21419075717B87923B41B888D2DEBBBF21416788633DF2923B41C0B6623F56BF214116C5EE6C00933B41C8367E0A47BF2141A93F72DF0D933B41382C6B5A35BF21410E173B791A933B411081985321BF21413CD5542026933B41F86B461F0BBF21413EE5BEBC30933B41D87831EBF2BE21410C049E383A933B41905334E9D8BE21417445698042933B412817E14EBDBE21411051128349933B4190F51255A0BE2141188428324F933B41D81A793782BE214194AFF68153933B4138BE1B3463BE214123369B6956933B41B859DC8A43BE21410E571AE357933B417817F27C23BE214138816AEB57933B41407D634C03BE214129957A8256933B41206A7E3BE3BD2141E30732AB53933B41C8864F8CC3BD2141D4E76A6B4F933B4110371A80A4BD21413A70CEE84D933B41106822ECA4BD2141AEBFEC7E45933B4120B150ABA6BD2141E29387E53A933B41C0F0F48AB2BD21415A8638762F933B41F85B8F82BFBD21416B09F96023933B414096210ECEBD2141F53A702E1D933B41803A010DD6BD214118C05BC00E933B41D0CBEEC9E8BD2141E0D0221B06933B41D84160E5F4BD214152643BFFF6923B41A84DF30E0BBE21412675021AE4923B411075021A22BE214188B0E189D7923B41F87F48BF2DBE21416B8104C5CC923B41406C787A3ABE2141E461A196BE923B41A8B0E1E94BBE21413F8B6C87B2923B41183D9B9554BE21415B423EC8A7923B4170AEB66257BE214136CD3B4E9C923B41982C43DC5BBE214144BF7D1D93923B41F00B936963BE2141E20434F189923B417839B44874BE21419E45B63386923B41D061A1D682BE21410E61C31382923B41E0141D8992BE214139CD3B4E7C923B41580C02ABA3BE2141E24F8D1776923B4170A3013CADBE2141951804F671923B4150787AA5AEBE21416C4469EF6C923B41C0AE25E4A5BE21418C855A3367923B410032E6AE9EBE21419306F07665923B4190DB68809CBE2141273A922B5F923B41D84D629097BE2141F5285C2F5D923B4110A5BD0196BE21410824283E5C923B4140FAED6B95BE2141BA847C5056923B415848BFBD91BE21412CBB270F4F923B41F09AE69D8EBE2141E873B5F54C923B41D00E9C738DBE21414450FC9842923B4198635D1C8FBE214111022BA737923B41B08F31F794BE2141C030990A30923B41102B875697BE2141E4839E4D2B923B41B035CD7B91BE214119166A6D25923B413896B2CC8BBE2141E63FA43F21923B41C017261394BE21415C29CB9024923B4140D0441899BE21412A5305A325923B41200BB5A6A0BE2141C57F485F23923B4160499D80ABBE214179F2B0701F923B41C8A44E00B8BE2141AC35CD3B17923B41A87BF230BEBE2141E6482E7F0E923B4100174890CCBE21417ABE9F3A07923B41C8073D5BDCBE2141E2141DC900923B41F0907E7BEFBE2141721283A0F8913B4140B4C8F6FCBE214161A1D6F4EF913B41F8DF2D500ABF2141BC64AA00EA913B416008ACDC15BF2141DE718A8EE6913B41109E5EE922BF214196081B1EE3913B41987571DB37BF2141759CA263E0913B41A8081BDE49BF2141480C026BE0913B41B06B097959BF214102197317E1913B41E0F97E2A67BF21414E742437E3913B41506210987EBF21410CA5BDC1E1913B4180F4DB1795BF2141F00DBE50E1913B41E056EC2F98BF2141122653E5DE913B41E0C11726A9BF2141CB00DE02DB913B41683255F0BCBF2141AE946548D8913B41908EE4F2CEBF2141944AEA64D1913B41C0E76AEBE0BF2141E78C28EDCB913B4170810405EDBF21419CBB9630C3913B41D8AE2564FBBF2141848EE412BA913B41B0E1E99507C02141D88AFD05B3913B4130A4DFFE0BC021417A832F8CAB913B41F8DD020909C02141ACE1E9F5A2913B41A08EE4F20AC021410A560E8D97913B41B82E6E6312C02141A0B437588F913B41903C2C9418C0214192A9825187913B41985CFE0324C021414A94F6067F913B41A8F0F48A33C0214186EB51187B913B4140158C0A40C02141A023B9FC77913B4100098ADF4FC02141A6A44EC077913B41304ED19163C021414E4013E179913B4160643BDF79C0214120FDF61577913B41A0C8767E8EC021416029CBD072913B41B07BF2F09BC02141043D9B156F913B41A8DFBE8EA8C02141D04D62D06A913B41A85B2001B6C02141FF088A7F68913B41D8361AC0CAC02141FE87F49B63913B41F06C56BDE1C02141B4F3FDF460913B4190D712B2ECC02141DE361AA05B913B41683A920BF4C021419BFF901E53913B41D0D5566CFFC02141AE47E15A4C913B41E041CF6606C121416ACE88B245913B4118DAAC3A13C1214168DE71EA3E913B41E05817F721C121417A0B24A837913B41F097DD9330C1214158EC2F1B2F913B41C078E92635C121410B3411D629913B41B015FB8B3BC121418F3A016D23913B417016D98E44C12141B5FC87D41B913B4110AE476149C121413A92CB7F15913B41489FABAD49C1214126B9FCA70D913B41A83B4E5152C1214170006F6104913B4190AACF955AC12141B19DEFA7F8903B41A88D063063C12141C086A757F3903B41180F0B3579C12141245A64BBEA903B41D0AE256488C12141BF7493B8DF903B412087169992C1214160FE431AD3903B41982E6E639CC1214138CD3B4ECB903B4138D6C56DA7C12141920F7AB6C1903B41C896908FACC121413A1AC03BB5903B41608FC235B4C1214181734694AF903B41103B70CEBFC121416844696FA7903B41006A4D33D0C1214196438B2CA0903B4110AE4761DBC121419CD634CF91903B411866F7E4E6C12141142653C582903B4178302A69F4C121413033339379903B415005A3D2FBC1214170A301FC70903B41C0BAB84D02C22141C6DCB5246C903B41286EA3C109C22141D78AFD6565903B41E8A679C71DC2214196F606BF60903B41601058B92AC22141B225E46356903B4168F7E4A13BC22141CEBCE3B44B903B4120A0893049C22141F775E01C3C903B41F09387455FC22141E2361A002B903B4118D578296BC221418E1804D618903B4108F31F126EC2214188C954A10A903B41D0DA8ABD6EC221412CA2B49701903B417816D94E6BC221419AB20C71FB8F3B41401AC05B65C2214152742437F28F3B41C868006F5CC221410FC7BAF8E98F3B41A0CDAA8F5DC22141D7096802E48F3B41D8506B1A5DC22141A635CDDBDD8F3B41901D382757C22141DB68004FD68F3B41A04E40934DC221412C772DC1CC8F3B41C8CCCC4C41C2214158423E88C58F3B4198CE88123BC221416ECE8812B98F3B41E0A59B043AC221419C11A57DAB8F3B4110166A0D31C22141C2F5287C998F3B41C09AE61D29C221418C38D6058C8F3B41307DAEB626C22141CD66D567858F3B419028ED8D1FC2214160DC46837F8F3B4198EFA7061EC2214191A982F1778F3B41200BB5261DC22141F8B9DACA718F3B41D00E9C3317C221415B4BC8C76B8F3B41C0635D1C0FC2214156C1A8445E8F3B41B817261305C221417EB74022518F3B41A801BC0506C221418FB96B89458F3B410846257508C22141E473B5153D8F3B41E0DEE0CB0CC221410A819523308F3B41B0EC9E3C13C221410E93A9C2298F3B41487CD03319C22141BA1E854B248F3B4178DE714A2AC2214128E483FE218F3B4160AA609434C22141C454C1681C8F3B41089A081B3FC22141676FF025158F3B41E8141D494AC221417B0B2408118F3B41081B9E5E57C2214160CC5DEB0E8F3B41389D802667C2214168006F210B8F3B41C0AACF9577C2214102197357078F3B4140B81E0588C22141B4270F6B058F3B41E0F0F44A9DC221419FF83106018F3B41D854C1A8AEC221417E6ABCF4FB8E3B4130CB1007C2C22141D834EF18F88E3B4180CB7F88D3C221414803782BF48E3B413051DA1BE6C22141E4C03903EF8E3B417012834003C32141ADE1E975EA8E3B41604694761FC32141D75F76CFE68E3B4118A5BDC12DC321418B635D7CE28E3B4128166A0D3EC32141D35D4B28DC8E3B41180BB5A64BC321412D431CABD48E3B41001214BF62C321414F96218ECC8E3B4180C7297A83C32141CE66D587C48E3B41E868006F9AC321416A006FE1C08E3B41A0900FBAA8C32141BED32BC5BF8E3B41E8073DDBB9C3214120A7E8A8BE8E3B41004850FCCAC3214145C807FDB98E3B41F04082A2E0C32141837346D4B38E3B41200DE06DFCC321410E3411D6B18E3B415038D6C512C421418004C54FB18E3B4188438BAC2BC42141AA2C431CAF8E3B41D010C73A45C42141B6C876BEAE8E3B41B84B374953C421412A530563AD8E3B4108A7E80879C4214101780BE4AB8E3B41807AA5ECA0C421416FD71232A58E3B4160E17A94BCC421410F83C0AAA28E3B4120A7E8C8D2C4214122DBF91EA18E3B41504CA60AF3C421414AEA04549B8E3B410883C0CA0EC5214134E6AE05978E3B41F0550E6D23C52141AF9465288D8E3B41D8915C7E41C521414D158C0A898E3B410034113653C5214122FDF6F57F8E3B41C020B07274C52141A413D0647C8E3B419817B75185C52141E8F21F32748E3B41D8FBA9F198C52141AB2C439C6C8E3B41000000C0AAC521418CC2F528678E3B41282FDD24BAC52141A6E8486E628E3B410844FAADCDC521413B014D045B8E3B4198A22379E4C52141132FDD44558E3B41F0E00BD3F0C521413880B7604F8E3B41E84A590607C6214186D0B3D94C8E3B41309ECD2A0DC621415A302AE9528E3B412031082C03C621411A2FDD64588E3B411068226CFAC5214186DB6800598E3B4158B3EA73F9C521415AB1BF2C5F8E3B4180A0F8F1EFC52141C4BAB86D658E3B41F078E9A6E6C521417CA52CC36B8E3B4198172693DDC52141AE0C712C728E3B41406B9AB7D4C5214170F90FA9788E3B41104FAF14CCC521418AEB51387F8E3B4178C3D3ABC3C5214197900FDA858E3B41D0A3707DBBC52141C3BAB88D8C8E3B41C8825189B3C5214107F016C8C08E3B41904AEAC476C521416164A4D7CA8E3B41E8800F786AC521417FD8D0A1D48E3B41E84BB7525DC521410E6C1022DE8E3B41408CFC5A4FC521415B93F953E78E3B4128D75B9740C5214120244733F08E3B41D872B00E31C521411C51DABBF88E3B41D82631C820C52141E2C7983B0E8F3B4148D8F0F4F5C421412C7502DA088F3B41A0E76A2BEBC42141759CA243A38F3B41D0293A92B7C321411DDBF99EBD8F3B41F804341183C3214174AC8B7B02903B41A81C5AE4F9C22141DA718AAE04903B4100849E8DF5C22141D978E9E606903B41D8490C42F1C22141B60C712C0C903B41E8A4BD41FCC22141B5490C0210903B41B839230AF5C22141F23845E713903B41D8C56DF4EDC221414EDA1BDC17903B4178C95401E7C221411EC9E5DF1B903B4180B20C31E0C22141383CBDF21F903B41B8DCB584D9C2214149EA041424903B4168A301FCD2C221414013614328903B4190ABAD98CCC221416909F9802C903B41C82B6559C6C221410C6822CC30903B41B0A44E40C0C2214134014D2435903B4170711B4DBAC22141BE42AD8939903B4170128380B4C221416AAC8BFB3D903B4198F5B9DAAEC221410AB5A67942903B41401AC05BA9C221410781950347903B4168810405A4C22141CB2B65994B903B41182B87D69EC2214162FE433A50903B4128A913D099C2214130DD24E654903B41F8E995F294C221411A48509C59903B41C0C8763E90C22141D7ACFA5C5E903B41108F53B48BC22141831D382763903B41B8CEF75387C2214159EC2FFB67903B41C863CC1D83C22141E24603D86C903B41C8293A127FC221419F11A5BD71903B41E8FBA9317BC2214198559FAB76903B4158DA1B7C77C2214151DA1B9CA1903B41085D6D0558C221410B93A922E1903B41B06B097929C221412631082CF2903B41086D56FD1CC22141AC6054F2F6903B41A0F8316619C22141AE7BF2B0FB903B41F853E3A515C221412CCB106700913B4100363CBD11C22141B2FC871405913B41F01E85AB0DC22141D634EFB809913B41A069DE7109C22141EC8E53540E913B4130A9131005C221418738D6E512913B41D8EFA78600C22141024D846D17913B41D061A1D6FBC12141FCB9DAEA1B913B4158FF90FEF6C1214145BF7D5D20913B4108B7D100F2C12141C1D32BC524913B41689A77DCECC12141C252962129913B41B0293A92E7C1214199FF90BE4A8D3B41881D38E741C821419C5E290B508D3B4160E3A55B3AC82141A2EFA746558D3B4100E561A132C82141EC0DBE705A8D3B41A0B437B82AC8214124A7E8885F8D3B419089B0A122C821415AD3BCC3578D3B41689318042EC82141FED478894A8D3B413071AC4B41C82141B8847C50428D3B41001748504DC8214168006F61458D3B4198A52C4349C8214199FF90BE4A8D3B41881D38E741C821416EF7E4410F8B3B4198EEC9C3E7C72141A11A2FDDF18A3B4140643BDFE8C72141C8FEB27BD48A3B41C059F5F9EAC7214192E4F21FB78A3B41202AA913EEC72141046822CC998A3B4168B1BF2CF2C721414C2575827C8A3B41E06E8144F7C7214138F8C2445F8A3B41F0AB1C5AFDC7214190218E15428A3B4178D6C56D04C82141C420B09288883B41C0F5281C77C8214187FD65F77C883B4108CFF7537AC821419565886371883B41D844D8F07DC8214186EB51D865883B4160211FF481C82141961804565A883B41001AC05B86C82141BAD100DE4E883B41D81DA7288BC821419BB20C7143883B41C02B655990C82141DB56EC0F38883B4138C4B1EE95C8214104917EBB2C883B4100C286E79BC8214145E17A7421883B41F0B7AF43A2C8214144D8F03419883B41F86B0939A7C82141D200DEA21D883B4188E92631A6C82141826ABC7428883B41A834EFF8A1C82141829ECDCA32883B41B8C420309FC821412D5530AA3E883B4130166ACD9CC821419228ED8D4B883B4120022BC796C8214154FC185356883B41904E405393C82141B2270FAB65883B4108075F988BC82141F263CC1D6D883B41B0D6342F8BC82141782497FF74883B41D8D0221B8AC82141156A4DF37E883B41D034EF3887C821411B95D42986883B41C054C16884C82141A62C43DC8D883B4178C2F52880C82141EEFDD4B893883B4138AD691E80C82141FD87F47B99883B410076E09C81C82141C1A8A4EEA0883B4148B3EA3381C82141B0946588A9883B410019731781C82141B28BDB28AF883B41081DC9A57EC821411B1FF46CB7883B4148431CAB7DC821416ABC7413C0883B41D00209CA7CC82141EAFBA9F1C7883B41A045B6F381C82141D24D6210D1883B4190D2DEE085C82141E22D9000DB883B41F87E6A3C89C82141E7FBA911E3883B41E8CEF7538BC821416B8863BDED883B413067446989C82141AB946588F4883B41004B590681C8214156B1BFECF9883B416868912D7CC82141AE726811FF883B41F81E852B7BC82141F8CBEEA903893B41C03E579B82C82141663BDF0F0B893B4148B4C8F682C82141BDCAA1A515893B4128E258577CC821410E83C00A1C893B4178E2C7187AC82141585BB13F21893B4168AA601472C821418F28ED6D29893B412066F7646CC82141E2C7989B31893B41305A64BB64C82141CF5D4B2844893B414027A0495CC8214174A52C8350893B41F08E53B45BC82141CCF7532361893B41204625B553C8214154158C8A69893B413872F94F4EC8214162EE5A0277893B418068912D4BC82141964AEA2488893B418844D8F049C82141D0BCE3549A893B417861321547C821416CB3EA13AB893B41581058393DC8214177931804BE893B41200BB5663DC82141787AA54CD1893B41603BDF8F3FC821413E0AD703F1893B41C8F753A338C8214110143FA60B8A3B4130DD240637C82141CCF75303378A3B41A0F6061F33C82141C0A8A46E5D8A3B41E83D79182BC82141D2D556AC7B8A3B41D096904F2CC82141A679C769A38A3B41B8C117262DC8214119D9CE37D08A3B41C07F483F30C821412E992AD8EB8A3B4118FCA9F12DC821416EE7FB69018B3B411085EB112AC8214150499DE0098B3B41C8C876BE23C821419D33A2F4148B3B4120E9B7EF20C821413EEF38251F8B3B41B081738624C82141046F81042B8B3B41C8E53F642BC82141E6839E4D368B3B41485BB1FF33C82141278716793D8B3B41E0A59B0433C82141A0C42050428B3B41D8FACB6E31C82141836ABC34488B3B4180C7293A2EC821416EF90FA94F8B3B4178F90F2930C8214114B7D100588B3B41584547B22BC821415E984CB5608B3B41904160A521C821413EAB3E976F8B3B4188F1D24D17C82141F6285C2F848B3B41D0CCCC8C0CC821413E136163948B3B41E0293A120BC8214197900F3AAC8B3B4108C898BB08C821419E89B061C08B3B412097FF100CC821413FE8D90CDA8B3B41B099995919C82141F8DBD721F38B3B416052276028C821415C8FC2550C8C3B41E802098A35C8214127A089B0218C3B4120BE309943C82141C8915C7E2E8C3B4190A1D6B44AC821419DEFA7C63F8C3B41B8F2B0D055C82141AAA44E004B8C3B4178BE9F5A5FC8214132431C6B588C3B41300DE0ED72C82141241FF4EC658C3B41C000DE4279C82141A3B43778688C3B41188E757178C82141E863CC5D6E8C3B4188EC2F7B76C82141D968006F748C3B4130BB278F74C82141D4915CDE7A8C3B4190779C6272C8214114C7BAB8808C3B41D8BE0E1C71C82141EA95B2AC898C3B41B8CFD5D66DC82141BF0E9C13938C3B41104850BC6BC82141E274FB8E938C3B41084CBB996BC821412675710B948C3B41B098E98E6BC821410CD0D987948C3B41F894F49B6BC8214102661003958C3B4168A1BDC06BC82141A6E5F37B958C3B41B05CEEFC6BC82141AE7268F1958C3B414872F94F6CC821417CF2B0309A8C3B41483D0AD769C82141286519A29F8C3B4150423EA866C82141F453E325A48C3B414892CBFF63C82141933A016DAA8C3B4100A5BDC15FC82141B6B88D86B48C3B4108B37BB259C821417B029AC8BE8C3B4180FF90BE4DC82141F17C3FD5CC8C3B41289A081B47C8214188635D3CD68C3B41E0E995723DC821410D819543DF8C3B41D00AB5E634C821415FA1D6D4E68C3B410834113630C821413EF1634CF18C3B41285A647B2DC82141432CD43AF98C3B41C8EEC9832CC821413CAD691E058D3B41C8B88D8626C821418BF4DB170B8D3B41081DC9651EC82141423EE8D9138D3B41889318041AC8214112E9B70F1D8D3B4190BCE35413C82141B003E7CC268D3B41C09DEF2709C821418EC2F548378D3B41C8FC87F4EAC72141526210F84B8D3B41F897DD53BFC7214130D49A066B8D3B4150CF661589C7214137D6C56D768D3B412024283E73C721416229CBB0838D3B4128EF38C554C72141AA8251698D8D3B4138DF4F8D40C72141EAAE2524968D3B41084850FC33C721416529CBB09C8D3B41702F4CE622C72141CCC3422DA08D3B41C066D5E71AC72141EEFDD438A68D3B411887169911C721417CE09C11AA8D3B4158B1BFAC0BC7214140C6DCF5AC8D3B4120D04498FDC621416A09F9E0AE8D3B4198A52C43EFC621413CCD3BAEB28D3B4188D40968E2C621416CF90F69BB8D3B41587424D7D5C621416C91ED1CCB8D3B4190825149B9C621415E984CB5DE8D3B4138ED0DBE9DC62141CE915C9EEC8D3B41182AA9938DC62141FB53E3E5F58D3B41481E162A80C621411FB07208FE8D3B41986E12836DC62141A0EFA7460C8E3B4160AA609450C62141EF164890228E3B4120AE472113C62141B4726811368E3B41185986B8E9C5214174A52CE3498E3B4140333373BBC52141B9F3FDB4548E3B41D802098AA5C521418216D90E598E3B4160F46CD697C5214169AC8B9B5C8E3B41A8F606DF8EC52141221FF44C608E3B4140CD3B0E7CC521417A14AE07658E3B4148B81E8568C52141267E8CD96C8E3B41E010C7BA5AC5214186C954617E8E3B41286C78FA21C52141CE2B6519898E3B4120FDF675E7C42141868EE4728E8E3B41A0E3145DCBC4214107341136948E3B41E802094AADC42141C8A14516978E3B4168234ABB91C42141F4285CEF958E3B41A86CE77B79C42141CA073DDB968E3B410076E0DC62C42141B5B88D66978E3B41F0DBD74141C42141F5065F38978E3B41305D6D051AC42141E6D0229B978E3B4118CAC34203C42141B637F8229B8E3B4100F9A067EEC32141BE64AA209C8E3B41980F7AB6D6C321411C73D7D29D8E3B41F899085BCDC32141C07493D8A48E3B41A83A010DB5C32141480C02CBA88E3B41102653C599C32141129C3382B58E3B41D0A1457664C3214198999939BD8E3B41E0D7817341C32141B3946528C98E3B4100098A9F20C321412EA2B457D28E3B41A8559F2B00C321416AF7E421DC8E3B41D0141DC9DEC22141489D80C6E18E3B4188C11726BAC2214122651982E28E3B4100151D099EC22141A0F831A6E38E3B41B894658890C22141A233A2144A8D3B4140B4C8F66BC7214186FA07A83E8D3B41883B1A5D8BC72141FCB57ED3318D3B412089AC82A8C7214182864DB3238D3B41C8494227C3C721411A859666148D3B41E8E62210DBC721412025120F048D3B41F0F19B08F0C721414EE2C4D0F28C3B41204A75E201C82141DFDEAFD1E08C3B4178F9567610C8214168207D39CE8C3B4138EC1FA41BC8214171242831BB8C3B4158C02C5323C82141188DA3E2A78C3B4120148E7227C8214134AD7C78948C3B4148D72DF927C8214146BF7D1D818C3B410054E3E524C821411CAE4721188C3B41B0FA5C6D0AC82141068195E3F98B3B4150BA49CC02C8214109D7A3B0DC8B3B41D88D06F0FBC721418004C56FBF8B3B4188A98211F6C72141CCF75323A28B3B41F8FBA931F1C72141B0FA5CCD848B3B41A8847C50EDC721419AC42070678B3B41A8E8486EEAC7214137D6C50D4A8B3B4188CC5D8BE8C72141C95D4BA82C8B3B4140F9A0A7E7C721416EF7E4410F8B3B4198EEC9C3E7C721416C4469CF968C3B41384ED1519AC8214110022B47938C3B41A0A679C799C82141DEBE0E5C918C3B4150423E689AC821412AED0D5E8C8C3B41601A2F1D9CC82141964C15CC868C3B41A815FB0B9EC82141986E12C3808C3B41E0BE0E5CA1C821417C832F0C7C8C3B414003784BA3C8214109F01688798C3B41087C61B2A4C82141B3E1E9D5728C3B4170B3EA33A8C8214196081B3E6B8C3B417809F960A9C8214196B20C91658C3B41E0D9ACFAAAC82141531E16EA608C3B419802094AACC82141DC68006F5A8C3B41E80AB526AFC821414E27A009548C3B41B0E8486EB3C8214134431CEB4D8C3B41D0AACFD5B8C82141644BC8074A8C3B41B81B7C21BAC8214122A7E868438C3B4160F90FE9BDC82141428B6C873B8C3B4188FF90BEBFC82141A8ADD8BF368C3B4110651962C2C8214186EB5118318C3B41A02A1815C4C821418148BFDD678C3B4160EA04F4C7C8214120DBF95E6E8C3B41E05E984CC8C821414B499DE0748C3B4138431C6BC8C82141D90968627B8C3B41A0CDAA4FC8C8214134B29DEF7E8C3B41809BC420C8C82141048195E3818C3B41D822DBF9C7C82141CCEEC963888C3B41C8F97E6AC7C8214198779CE28E8C3B416009F9A0C6C82141429B555F958C3B41C0E3149DC5C82141F0F44AD99B8C3B41C076BE5FC4C821412AA08950A28C3B41487958E8C2C82141FE770BC4A88C3B4128A2B437C1C82141D8D78133AF8C3B4150A8354DBFC821417636AB9EB58C3B4100D57829BDC82141708A8E04BC8C3B4110287ECCBAC82141E69C1165C28C3B41600F7A36B8C8214122D26FBFC88C3B41F0F8A067B5C82141C2172613CF8C3B4138894160B2C82141CD6D3460D58C3B41C82D9020AFC82141DE9387A5DB8C3B4100E78CA8ABC82141D100DEE2E18C3B4170226CF8A7C82141BF86A717E88C3B41C83B4E11A4C8214108819543EE8C3B41988EE4F29FC82141DB8AFD65F48C3B41981A2F9D9BC82141B8C8767EFA8C3B416829CB1097C82141AC0C718C008D3B41F8A8A44E92C821417D04C58F068D3B41E861A1568DC821419EDD93870C8D3B4158C2F52888C82141C00E9C73128D3B41A001BCC582C82141A64E4053188D3B4108FBCB2E7DC82141822F4C261E8D3B41D852056377C8214174832FEC238D3B4110F8536371C82141B61C5AA4298D3B4110A089306BC82141FFBB05722D8D3B41107C61B266C821413EF163EC1F8D3B41F87E6A3C74C821411351DADB138D3B41204E62507AC8214107D7A3100A8D3B41C8B88D867EC82141F16C561D008D3B41F878E92685C821415ECC5D6BF48C3B41A88026028FC821410AAC1C9AE98C3B411071ACCB94C82141F5A9F1F2DB8C3B4160696FB09BC821418AEB51D8CF8C3B4198F6065FA2C82141AF506B7AC38C3B41C888D25EA8C821411EC9E53FBA8C3B41C886A757ADC82141403EE8F9B58C3B41E0EDEBC0ABC8214133014D84A78C3B41B0ABAD58A0C821413E1CEB22A28C3B41505452A79CC821416ABC74539C8C3B41505227209CC821416C4469CF968C3B41384ED1519AC8214103E78CC8D5873B41800B2428DCC82141580E2D72E7873B4188CB7FC8CEC82141751283E0F9873B4118E3A59BC1C82141DBCEF71309883B4140FF217DB1C821412A7E8CF9FF873B41782F4CA6B7C821418DA982F1F4873B4100CCEE89BFC821411E63EEFAE9873B41589621CEC7C82141FC21FD16DF873B41B0A0F871D0C821410C0BB546D4873B4120462575D9C82141046F81A4CA873B41C064AAE0E1C8214103E78CC8D5873B41800B2428DCC8214168BC7433168C3B41881B0D20B4C82141CE66D5870C8C3B4198D40968A8C82141341AC09B038C3B4108D34DA297C821411EDBF97EF98B3B41A0270F8B8BC82141D4CEF753EB8B3B41F06800EF74C8214162FE433AE58B3B41484772B96CC8214148696F90DB8B3B41E8E00B5368C82141004D842DD38B3B41682F4C2666C821418BE4F23FC38B3B4108B8AFC354C82141FBC264EABB8B3B41D84603F850C821419A658883B58B3B413055306A4DC8214116B7D1E0AD8B3B41F84A59464EC82141F0482E1FA68B3B41907F48FF50C82141CAC3422D9F8B3B412073D7D255C82141A9BDC1D7978B3B410039450752C8214140EF38A58E8B3B41E8C8E5BF4DC82141AA79C7A9848B3B41A84E409355C821417A9CA2237C8B3B41A8F3FDD45CC8214126ED0D3E718B3B4180E2C7D85CC82141693BDF6F628B3B4188C420B05EC8214132D49A065B8B3B41508A8E6463C82141D8ACFA1C528B3B41E838450762C8214168F7E401458B3B41482AA9935FC821411FA7E8A8378B3B41D8F44AD960C821416D68918D288B3B41E83D795867C82141608FC2151B8B3B41887EFB7A6AC82141F07C3F150E8B3B41084850BC6DC82141F2A7C6CB008B3B410861C3136EC82141CDAACFD5FB8A3B4128143F8671C8214134B4C836F08A3B41B8D85FB67CC82141E44F8DD7E38A3B4148BF7DDD84C82141FE6E81C4D28A3B41908CB92B85C8214168B3EA93C88A3B41F0BCE39481C82141C976BEDFC18A3B41E86800AF82C821416F006FC1B98A3B41D02328FE8AC8214153AF9405AD8A3B41205A64BB98C821410188F43B948A3B41A0F83166A2C821418DA0F8F1798A3B4160DBF9FEA5C821411661C3B3638A3B41D83C9B559EC82141D0B359B54C8A3B41F8C039A393C821417A14AE873B8A3B41F07E6A3C8EC821416691EDBC328A3B4150EE5A028BC82141B2D85F96238A3B41A8D100DE8AC82141B147E11A1A8A3B41587AA5AC83C82141648FC2F5118A3B41D88173C67DC82141AEB6627F0B8A3B41B8AF03277BC82141B2B6623F018A3B41A8FF907E78C8214191A98271F4893B41188A1F6371C821416E810445E8893B41E88C282D6FC8214117265385DF893B41F061A19672C82141DA361A20D6893B4118D656AC78C8214105D7A3B0C6893B41D09AE69D75C82141EEEBC079BD893B41687958E878C82141D312F221B5893B41802D215F7DC821413AEF3885AA893B41783A014D80C821418E38D685A2893B41C07F48BF86C82141ED9E3CEC9B893B41F0718A8E8DC821413680B78093893B41089487859AC82141743480178C893B4178C7293A9FC82141FA4A59267F893B4158A8358DA1C82141E02D90A078893B41B0F528DC9FC82141E0141DA96C893B4178F2B010A9C821415CFE437A5F893B41B01A2F1DAFC82141EEFDD47858893B41A0643BDFB4C821411651DA3B4C893B415888631DBAC8214130C4B12E42893B4178029A88BEC82141140BB5263A893B41088C4AEAC1C821417ED0B39931893B4190B74042C1C82141FC4C840D2A893B41C8FC8734C3C82141045F982C23893B4198AEB6E2C6C821411CFDF6F51B893B41A88EE4B2C9C821412A6519E214893B4120333373D0C821416E787A050F893B41507FD97DD0C82141EC61A1B60B893B41284CA64ACDC82141B2D85F9607893B4180F90FA9CAC8214151A60A8600893B4198559F2BCBC8214106B37BB2F3883B4110E9B72FCAC8214151FC18D3E7883B41B0605492CCC821410C583934DD883B41505986B8CDC8214135431C0BD0883B4130AD69DECBC8214135014DA4C7883B4188C2F5E8C8C82141260F0BB5BE883B4128C28627C8C82141C0C342CDB3883B41880C02ABC7C8214158C1A844AC883B4118D26F5FC3C821413880B720A1883B41986CE77BC0C82141D0F7538391883B41402B8756C0C821417BA52CA384883B4190F6061FC0C821411C5A645B75883B41D086A7D7C0C8214130D49A0663883B41305A647BCCC8214173567D0E58883B41A8923A01D3C82141E795B22C50883B4130CF6615D4C8214160E5D00249883B4168401321D6C82141487B83CF3E883B41403EE8D9DCC82141440C028B33883B41887EFBFAE7C82141B915FB0B23883B41389E5E69EFC82141AE2C431C17883B41C03A70CEF8C821419B4C15EC09883B4190C4207003C92141B025E46300883B41F865F7E40BC921414AEA0454F7873B4170423E2819C92141AEEA7315EF873B414807CED925C92141049A081BE8873B41D80434112BC921417EE2C7F8DE873B4190C0CA612DC92141B8408282D7873B416039B40834C92141176A4DD3CC873B41682041313CC9214106819543C5873B4110AE476144C92141268716F9B6873B4100FCA9F14DC921410C9C3362A8873B4168F6971D5CC9214119AE47219D873B4108B7D10061C921410E022BE795873B41C016D90E6AC921415A17B7718F873B41683BDF4F73C92141905CFE8388873B41F892A9C277C921419C01BC657D873B41984F1E9680C92141381AC05B70873B41305530EA88C92141C47F48BF68873B41201B9EDE91C9214116AE47C161873B41302AA9539DC92141182FDDC455873B41E06C567DA7C9214155C1A8A44C873B41F0C9C3C2BBC92141DA68006F41873B4188734614D8C92141E851B8BE39873B414870CE48EEC921416F787A4536873B41B8180416FDC921414ED1913C39873B41C087851AF9C921419F89B0013B873B41B0847CD0F6C92141DA8AFD2546873B4128F9A067E8C92141FA97DD3353873B4128F9A027D8C921411426536560873B41C0F5285CC8C92141EEF44AB96D873B417038D605B9C92141F631E62E7B873B4160666626AAC9214136F8C2C488873B418036ABBE9BC92141CC19517A96873B418004C5CF8DC92141C8B12E4EA4873B41C03E575B80C9214158643B3FB2873B41D852966173C92141B40C714CC0873B41088A1FE366C921410A462575CE873B41A0779CE25AC9214185F4DBB7DC873B4120098A5F4FC921418048BF1DE2873B4150EC2F3B4BC92141FCA06713EB873B41089A085B44C92141DC78E986F9873B419898BBD639C921417AE9261108883B41B0F21FD22FC92141E60434B116883B4150840D4F26C9214130E6AE6525883B414896214E1DC92141C5BAB82D34883B41A0CDAACF14C92141D666D50743883B41D097DDD30CC9214168BC74F351883B4148D1915C05C92141AADFBEEE60883B4108D57869FEC82141DB34EFF86F883B41B8FEB2FBF7C8214157302A4975883B41881D38E7F5C821417AF2B0107F883B4100AAF112F2C82141806132358E883B4180FB3AB0ECC82141C0D32B659D883B41D8CEF7D3E7C8214154643B9FAC883B41B8FF907EE3C821410C9C33E2BB883B41587B83AFDFC8214134DF4F2DCB883B4150795868DCC82141B6BFEC7EDA883B4170C2F5A8D9C82141901804D6E9883B41F00DBE70D7C8214179E09C31F9883B4108B7D1C0D5C82141EF16489008893B4138871699D4C821413EAD69DE85893B41B0ABAD58CDC82141D7F0F42AE1893B4110E02D10C8C82141CE1951FA0D8B3B41307958A8B6C82141FFE68C482A8B3B41285A647BB5C821416B226C98468B3B41C8FEB23BB5C8214152F38E53478B3B41C86D3440B5C821417914AEE7628B3B41B88BDBE8B5C8214193ED7CDF6F8B3B4148C1A8A4B6C82141ED85C9347F8B3B41E000DE82B7C8214166D5E7AA288C3B41C8EC9E7CC3C821415AA835ED238C3B41F09C11E5C0C8214168BC7433168C3B41881B0D20B4C82141C59F1AEFB6863B41F8FFFF7FA8CA2141E2141DA9B0863B4190438BECB4CA21417A029A48AE863B417836AB7EC2CA2141C0E314FDE7863B411093A9C26DCA2141C25B2041E7863B41102428FE6DCA2141E00209CADE863B41F0F0F40A72CA2141CDCCCC2CD6863B418841606578CA214147E17A14CE863B4188B96BC982CA2141235A64BBC1863B4190F2B09098CA2141C59F1AEFB6863B41F8FFFF7FA8CA21417D04C50F85863B413890A0F8ADCA2141C3A8A40E80863B4198B0E169B3CA2141296519027B863B41F831E6AEB8CA21414B1E16EA75863B4198CB10C7BDCA21414894F6C670863B4158FC18B3C2CA2141D22B65996B863B41D8FBA971C7CA21418AC9546166863B41305C8F02CCCA21413992CB1F61863B41181DC965D0CA2141104FAFD45B863B417887859AD4CA214118C05B8056863B41584013A1D8CA214158D3BC2351863B4188226C78DCCA2141CE88D2BE4B863B4190D2DE20E0CA2141AE69DE5146863B41483EE899E3CA21411DFDF6559D853B41C82B65994CCB21417A53B4A68B853B417869196B59CB21411E83ABA27A853B41A8756F7469CB214104423A6F6A853B41482130927CCB21419436F42F5B853B4158E6609A92CB214144D754064D853B41B017A05CABCB21412FE4751140853B41301F8FA2C6CB21411A1BCB6D34853B4140E34930E4CB2141CFBCE3342A853B41B84AEAC403CC2141641028932B853B41A034D11003CC2141885250F52C853B41686D477E02CC2141DBD88E5A2E853B41E00EA20D02CC2141502E14C22F853B41308322BF01CC21414E8B0F2B31853B41D05FF69201CC2141124FAF9432853B41B84B378901CC2141DC7A388633853B4138FA6A3300CC21414641596C34853B41702E77BFFECB2141CA16214635853B4180B2E02EFDCB2141D457AC1236853B41D03E4A83FBCB2141CF3625D136853B4100C572BEF9CB2141A79BC48037853B41209C33E2F7CB21414E6210B838853B41A00C712CF1CB21415EEE5A223A853B41B81C5A64E7CB2141CD88D25E3D853B41F865F7A4DFCB21419B438BEC3F853B4158545267DCCB214184FD653745853B4110197317D9CB21417C3F353E49853B41A8802642DDCB2141A067B32A4C853B41601AC05BE0CB2141FCFFFF1F51853B410044FA2DDCCB214112022B2758853B41580E2D32D6CB214118AE47615F853B41F8AE2524CDCB2141869ECDCA66853B41106EA341C7CB2141FAC264CA6F853B413080B700C1CB2141FDA067F375853B41F899085BBCCB214187FD65F77F853B41B8D85F76B2CB21417636ABDE8C853B4178D71232A6CB21412C87163998853B41B8CAA1C59FCB2141C4FEB25BA4853B41003B704E93CB2141A48251A9AF853B41689D80A68DCB2141D144D870B6853B41A0923A818BCB21412BED0D1EBC853B4190270F4B88CB2141B915FB2BC0853B4178C729FA7FCB2141900F7AB6C5853B41F060C3D378CB21413E82E2E7CA853B41A83A010D77CB214176F2B090CF853B41286C787A77CB2141A03C2C54D8853B41A0976ED26ECB21418E1804D6E7853B41C84C158C5ECB21415817B7B1F8853B4138C9E57F4BCB2141A2B4379804863B41D81B7CA13CCB21413FA4DF5E0A863B41F0D24DE237CB2141C86D340011863B41584CA60A38CB2141646DC57E17863B41A037F84234CB21412A0F0BF51E863B41E0BE0E9C2DCB2141F475E0BC28863B413017485021CB2141FADBD7E130863B411030BB2716CB21415EEE5AE23A863B4118EEEB8012CB21410044FA8D45863B416886389610CB2141C6CCCC8C4D863B41C0B515BB07CB2141C064AAA054863B41D010C7FA00CB214125287E6C5C863B41B869DE31FBCA2141760B240863863B4120C139A3EFCA214196D409C870863B411885EB51D6CA21411C63EEFA7C863B41F0065FD8C2CA21413E60E5B084863B4158F5B95AB8CA21411E0456CE8E863B41D8550EEDACCA214155AF94C598863B41783A01CDA3CA214138B4C8B69F863B4140D1911C99CA21411448501CA9863B41B0FD65B78CCA2141F4F44A99B9863B41E0CEF75373CA214162CC5D2BC9863B41605E290B5CCA2141114FAFB4D6863B412095D4094CCA2141C430990AE6863B41183EE85932CA21417858A815FC863B41C86054920BCA214134C4B18E0E873B41106822ACEBC921416D9A77BC18873B4130DA1B3CD9C921417658A85528873B411010E977B5C9214130C4B14E33873B4140014D049BC921416AF7E4012B873B41E02CB29DA8C92141AA79C7A9B8863B4178C9544167CA2141B8490C42B4863B4118C7BA786ECA21411483C0CAAF863B415027A08975CA2141AC25E443AB863B41206A4D737CCA2141CCB12EAEA6863B419033A23483CA21415027A009A2863B41A8F1D2CD89CA2141723D0A579D863B41607FD93D90CA2141FC2A879698863B4168B81E8596CA21415D423EC893863B4150F7E4A19CCA214156B1BFEC8E863B41A03C2C94A2CA2141965374048A863B4150635D5CA8CA21417D04C50F85863B413890A0F8ADCA21416E5F076EF9853B4160D191DC99CB2141638FC255EB853B41803E571BA8CB2141628FC2F5DD853B41D8AD4761B3CB2141624BC807CF853B4118C9E53FBECB214185C95401C1853B4168AC8B9BC6CB214198218EF5B8853B41A84E4093CACB2141EE85C994AF853B417804C50FCFCB2141862F4C26A7853B41E0907EFBD8CB2141C86D34209D853B41D0C9C3C2E0CB2141521E16EA94853B4168DD9347E7CB21419AD409C88B853B41A886A757F5CB2141400AD78383853B41F8A145B6FCCB2141A167B38A7D853B41C0BCE31402CC21411648509C71853B41B89DEFE705CC2141A1F831C665853B41E0FBA9F10ECC2141A367B34A59853B4148A60A461BCC2141E2A59BA44B853B41C0293A9225CC21416E226CD83E853B416806F01630CC21418F5374C435853B4160DF4F4D3DCC21410AC58F312C853B41F0B0502B52CC2141F3D24D0226853B4160984CD56ECC214186B0E1491F853B41002B87168DCC21416609F9E01C853B41C8749398ABCC214174567DAE1B853B4188537464B7CC2141C442ADC915853B4150D3BCE3C8CC21413F9B55BF12853B41E04A59C6E3CC2141BAC8763E11853B41B0E61DA701CD2141DA34EF3811853B41B8ADD85F23CD2141EC38456711853B41D89F1A2F31CD21417E5149DD12853B41E0DCB5C42ACD2141D809682215853B41587FD93D21CD21418B635D7C17853B41300378CB17CD21416AD5E7EA19853B4138D6C56D0ECD214137CD3B6E1C853B4138D49A2605CD21418A38D6051F853B41F07C3FF5FBCC21417CE09CB121853B4158AC8BDBF2CC214194A9827124853B415807CED9E9CC21417481044527853B4180FB3AF0E0CC2141D0D5562C2A853B4138C05B20D8CC214130D49A262D853B41601E166ACFCC2141F68E533430853B41D03A70CEC6CC21417C6ABC5433853B41A828ED4DBECC21411EB9FC8736853B41D00B93E9B5CC2141FE4C84CD39853B41D05296A1ADCC214132EF38253D853B41E08F3177A5CC2141A6DFBE8E40853B41681E166A9DCC2141C339230A44853B4108917E7B95CC21416E46949647853B41209F3CAC8DCC2141D4C56D344B853B41401136FC85CC2141275305E34E853B41C80C716C7ECC2141B6490CA252853B41006D56FD76CC214108C58F7156853B41F81FD2AF6FCC21417BF2B0505A853B41C025E48368CC214122C9E53F5E853B41F0A2927A61CC21410C24283E62853B41B80512945ACC21411171AC4B66853B41D0CD19D153CC214120B9FC676A853B41D869DE314DCC21411273D7926E853B41983480B746CC21411171ACCB72853B41B089B06140CC2141A660541277853B41F0FBA9313ACC2141489D80667B853B4110F9A02734CC2141B39DEFC77F853B4138CA32442ECC21417A4F1E3684853B4100022B8728CC214176F2B0B088853B41088E75F122CC214162764F5E8D853B41587424571DCC2141F4C264CA91853B4148B6F33D18CC2141C4E314DD50863B41E05E984C40CB21413A355E7A4E863B418091EDBC41CB2141E2C7981B42863B4168711BCD4BCB2141AABDC19739863B4140AD699E50CB2141F29E3C8C31863B41587FD93D5ACB214174E09C1129863B41B094658864CB2141DE2D90801A863B419096210E73CB2141120DE04D0B863B410805341182CB21416E5F076EF9853B4160D191DC99CB2141752D217FE9843B41306519E2FBCD2141344547F2ED843B4190CB7FC8FECD2141E6482E1FF9843B4180006F41BACD214178C7295AF4843B4108CCEEC9C8CD214128530543ED843B4180DB6880E5CD2141752D217FE9843B41306519E2FBCD21415A522780E0843B417838D6851ECE2141A5F83146E5843B415816D9CE02CE21418A5AD39CE1843B41183867440ECE214186EB5178E0843B4170211FB416CE21415A522780E0843B417838D6851ECE2141D6E76A8BE0843B41A02A18158FCD21419AF6069FC2843B41B8C1176638CE21410A1B9EFEC6843B4148158C4A2CCE214168BC74F3CC843B415037890111CE214156423EE8D2843B41485986B8F5CD214184B740A2D9843B41303A928BCECD2141ECEBC0B9DC843B41D064AA60B4CD2141EE9E3C2CE0843B41E0FDD4B894CD2141D6E76A8BE0843B41A02A18158FCD21417014AE2753843B416860E5D01DD02141F7EDEBE053843B41D8DEE00B1CD021419AB20CF15C843B415886381605D02141A4E848CE65843B414885EBD1EDCF21412EA2B4776E843B41F0361A40D6CF2141AF03E7EC76843B41C0F75363BECF214108560E2D7F843B41D0B5843CA6CF214130A2B43787843B41083B70CE8DCF21415EBA490C8F843B4108AC1C1A75CF2141315530AA96843B41182EFF215CCF214107D7A3109E843B41801D38E742CF2141782D213FA5843B41880C716C29CF21417C613235AC843B41B845B6B30FCF2141F2DBD721B0843B415806819500CF21415E7FD91DAC843B4190976E9207CF2141D91B7C01A3843B41284013A11CCF2141D32B65799A843B4180A52C0335CF2141C30512F493843B41C020B0F249CF214144BD52368B843B41A09BC4A068CF2141F1C9C38280843B4118B5A6F989CF2141F2A7C64B77843B41B8F831E6ACCF214184C954E172843B41802497FFBFCF2141DB3D79186A843B41D8141D49DCCF21419187857A58843B41684F1E5609D02141EE9E3C4C54843B41602497BF15D021417014AE2753843B416860E5D01DD02141668863DD02843B41E02406816BD021414894F6A611843B41A868006F53D021418E53748423843B418810583939D02141F3FDD4D834843B41483255F01BD021410FD0447842843B4148302A29FFCF2141F85C6D054F843B41A047E13ADCCF2141BEFC875457843B4130EC2FBBB6CF2141DF141D295C843B41D0AE25E4A4CF2141FA4C846D67843B4150A089708ACF2141278716F96E843B41C84D625074CF2141AA79C7496B843B4128234AFB7BCF2141365EBA8967843B41E893878583CF2141B86B09B963843B41586891ED8ACF2141682BF6D75F843B41787CD03392CF2141EA41CFE65B843B412019735799CF2141FA53E3E557843B4160742457A0CF21417C58A8D553843B41787CD033A7CF2141C6A145B64F843B41C81E85EBADCF2141627FD91D14843B41E086A7970ED021417573AE5C0F843B41A877E86D1BD02141C23F4FDD0A843B4150EBACA128D02141622B87A106843B4168B4B02D36D021415C8706AB02843B4140728C0C44D02141070262FBFE833B4170B8B73852D02141C0051294FB833B4178438BAC60D0214192976E92F7833B41408941A072D02141668863DD02843B41E02406816BD02141356744A9FC833B41A8A223F9BBD02141954AEA84F5833B4180B96B09C5D02141CEAACF95EC833B41F065F7A4CCD021415CA1D694E5833B41F8384547D1D02141152FDD84E2833B41B0EA73F5D0D0214172787A65DF833B41F0694DF3DED02141A6F831C6DC833B41E0FACB6EF6D0214196D409A8F3833B4140D8F034CED021417AE09CD1F9833B41A8D85FB6DBD02141782D219FFE833B41D8A8A4CED2D021419A559F8B04843B41503CBDD2C7D02141F3F44A190F843B41F0043491B3D021411CFBCB6E19843B41184ED1D19ED02141FE907EFB16843B41B007CED9A1D0214164F7E4810C843B4128C9E53FAAD0214102DE028902843B41F09C1125B7D02141356744A9FC833B41A8A223F9BBD02141E6B7AFA3A5833B41986588A3A2D02141E0C7981BB8833B41A8F1D2CD95D0214129E4839EC0833B41888EE4328FD02141565BB1FFCC833B4110D7A3F090D021418438D605DA833B41C8FC87748BD0214143575B71E5833B41E87C3F3552D02141819ECDEAC9833B41B0EFA7862FD021410EBE3079B0833B41682D219FE3CF214197081BBE00833B4160D3BCE3CED02141E2B5841C13833B4170FD65B705D121411AF46C1626833B4138022B87F8D021410C9C336234833B41401CEB22EDD0214198F606FF3F833B41684469EFDED02141848EE4B25B833B4150C4B1AECBD021415C5DDC0677833B4148D8F034BED02141D788D23E83833B4120621018B7D021410DC7BA1891833B4150D9CE77ADD02141E6B7AFA3A5833B41986588A3A2D02141B00C716C91833B41786CE7FBDBD0214126287E0C8B833B4148DA1B7CE0D021410B5F98CC84833B41381AC0DBE4D02141B00C71EC7E833B4168DA1B7CF1D02141B00C712C7A833B411048503CFCD0214142F1632C74833B4168A301BCFAD0214140F1632C6E833B4138DA1B3CF9D0214199438BEC66833B41A8BE0E5CFDD02141CCD5568C60833B4188A301BC01D121412C287E6C5A833B411848503C04D1214140F163CC52833B4168A3013C0CD1214122287E8C4C833B41204850BC0ED12141AE0C710C46833B413051DA1B15D1214127287ECC3F833B4158A3017C19D12141AE0C716C37833B41F0BE0E5C1DD1214142F1630C31833B41301136BC23D1214142F1638C29833B4188A301FC29D12141B10C71EC21833B41004850FC31D12141EE9E3C4C1B833B411851DA5B3AD1214126287E0C13833B4158A3013C3ED1214140F163CC0C833B41401136BC40D12141AC0C710C04833B4150E3A59B4AD12141B00C710CFF823B414011363C4BD12141B00C71ACF6823B4128E3A51B4FD121415CBA494CEF823B4180A3013C53D12141B20C710CE9823B4158DA1BBC55D12141D0D556ACE3823B4148AC8B5B5CD12141AB0C710CDC823B41B06CE77B64D12141ED9E3C8CD5823B41F8BE0EDC6CD12141AE0C710CCE823B419835CDFB72D12141AC0C718CC6823B4168E3A51B79D121415EBA490CBF823B4160A3013C81D1214164BA494CB7823B41281AC05B8BD121415BBA49ACAF823B4170DA1B7C93D1214144F1630CA9823B4150E3A5DB9BD1214160BA496CA2823B4170AC8B5BC4D12141EE9E3CECA1823B41B075715BCCD121415EBA490C9D823B41906CE77BF7D1214176832F4C9B823B41381AC05B23D22141D4D556EC99823B41986CE7FB28D22141954C158C96823B41A0AC8B5B3CD22141964C150C93823B41381AC09B53D22141994C158C8F823B41A83E57DB6AD221415EBA490C8C823B412011363C82D221417A832F8C88823B41A8FEB27B97D221412831082C85823B41986CE7BBACD221419C4C15AC81823B4168AC8B1BC4D221412231084C7D823B41B075711BD9D22141076822CC78823B417075711BF0D221412C31080C74823B4138E3A51B09D32141EF9E3C8C6F823B4150E3A51B22D3214179832FEC6A823B419075711B3BD321417B832F0C65823B41907571DB57D32141B615FB4B5E823B41F8D0225B70D321419A4C15AC57823B41907571DB88D3214145FAED2B52823B4160AC8B9B9FD32141253108CC4C823B41E0D0225BB4D321410A68226C46823B4180AC8BDBC8D321413FFAED0B40823B41886CE77BDDD32141086822AC39823B41C8C798FBF1D321412B31080C32823B41D0C7983B0AD42141BD15FB6B2A823B41E8907E7B22D42141B815FBCB21823B41C8073D5B3AD421419A4C150C19823B417875715B54D4214140FAED0B10823B4110917E3B72D421415EC3D38B08823B4118917E7B8AD42141D6DEE00B02823B41783E571BA1D42141CADEE0ABFA813B41A875715BB3D42141F6A7C68BF3813B41683E579BC5D42141D0DEE00BEA813B41E8073D5BD9D4214142FAEDABDF813B41807571DBEED42141F5A7C60BD6813B41983E579B06D52141CEDEE0ABCC813B41C03E575B1AD52141D3DEE08BC5813B41A03E579B2AD52141D2DEE08BBC813B4138234A7B38D52141D0DEE0ABB1813B4160EC2FBB45D5214160C3D3CBA7813B41005A643B51D521413EFAED0B9D813B41A875719B5CD5214161C3D32B91813B41189A089B67D52141828CB98B88813B41D0C7987B6FD5214166C3D30B82813B41A0073DDB77D52141D5DEE06B7B813B4128234A3B80D52141808CB90B73813B41F862EE1A86D52141808CB96B69813B4140EC2FBB8DD52141CFDEE0AB5F813B41105A643B97D521415DC3D30B55813B41D03E579BA0D52141EEA7C60B4A813B4110083DDBADD5214197559F0B40813B4100917E7BBBD52141E8A7C6CB3C813B41389A089BC0D52141838CB94B38813B41D8073D9BC7D52141868CB98B30813B41D899089BD1D52141F4A7C60B2C813B41302CD49AD8D5214199559F8B28813B4158234ABBDFD52141808CB98B20813B4140EC2FBBEFD52141B61E856B18813B41105A64BBFFD52141828CB90B10813B41C8073DDB11D621412A3A920B08813B41009A08DB21D6214199559FABFF803B41302CD4DA35D62141283A928BF8803B41302CD41A46D6214197559FCBF2803B4140EC2FBB50D621411571ACABEB803B41202CD41A61D621410C71ACEBE4803B41887EFB7A6DD6214194559F0BDB803B4168EC2FFB78D62141B41E850BD0803B4150EC2F3B88D62141253A920BC6803B412063EEDA95D621411071ACCBBC803B41502CD49AA7D62141283A926BB5803B411863EEDABBD621414803782BAE803B413063EE1ACED62141263A920BA7803B4170B5157BE0D621419A559F8B9E803B4148234A7BF4D6214197559F2B97803B41B847E1BA08D721410C71ACEB8E803B4150EC2FBB1CD721411071AC8B87803B4168EC2FFB30D7214199559FEB7F803B4140EC2F3B49D721410F71AC6B76803B4158EC2FFB5ED721411271ACEB6C803B4178B515BB74D72141283A926B64803B41B047E1BA8AD721410E71ACEB5C803B41B047E1FAA0D72141243A928B55803B41987EFB3AB7D72141B41E850B4E803B41907EFB7ACBD721412C3A92AB46803B41186C78BADFD721412C3A928B40803B41A847E13AF2D721410F71AC2B3A803B41D8E236DA04D8214192559F0B35803B41E0506B9A17D821410E71AC8B2F803B4160BE9F5A2CD82141808CB92B2A803B41D010C73A41D82141828CB90B25803B4100A392FA53D82141B91E858B1F803B41F8A292BA68D821411371AC4B1B803B4178BE9FDA7BD821410E71ACEB16803B41888785DA90D821414103788B11803B4140AC1C9AA5D82141BA1E850B0E803B41306C78FABCD821417E8CB98B09803B4138355EFAD1D821417C8CB92B05803B4148355EFAE6D82141828CB98B00803B4150355EFAFFD821411471ACEBFB7F3B4140FE43FA18D92141223A926BF77F3B4118E3361A30D921419A559FCBF17F3B4150FE43BA48D921419B559F6BED7F3B41C81951DA5DD921412C3A920BE97F3B41C01951DA72D921410E71AC8BE37F3B41703EE89987D921414A03782BDE7F3B4188900F7A9CD921412C3A92EBD87F3B4158FE433AB1D921419B559F8BD37F3B4110A392FAC5D921410D71AC0BCD7F3B4138355E7ADCD921415003784BC77F3B41E86B783AF5D92141B71E850BC37F3B413075025A0ADA2141B81E858BBE7F3B41483EE8591FDA21414403782BBA7F3B41583EE85934DA21414603788BB67F3B4110AC1C9A4BDA2141283A926BB37F3B41F022DBF95EDA21410D71AC0BB17F3B411875029A74DA2141263A928BAD7F3B415807CED989DA2141D8E76A4BA97F3B41A8D0B3D99CDA21414C03782BA57F3B4140FE43FAADDA2141B71E85EB9E7F3B41C8C7297AC0DA214196559F8B967F3B41D859F579D4DA2141D5E76A2B8E7F3B4178D0B399E8DA2141470378AB847F3B41E0EBC039FEDA2141B61E856B7C7F3B4180900F3A12DB21414603782B727F3B418007CED923DB21411171AC0B687F3B41A899995935DB21412A3A92AB5C7F3B41B8627F9946DB2141283A928B517F3B41C82B65D957DB2141F2A7C62B487F3B4190627F996BDB214198559F0B407F3B4108BE30997BDB21419A559F4B3B7F3B41287E8C7986DB21417A8CB96B357F3B41C0627F1995DB21412C3A924B2D7F3B41E8F44A19A5DB2141263A924B287F3B41387E8CF9B3DB21410E71AC0B237F3B41D0EBC0B9C4DB21411071AC0B1E7F3B41D82B6599D3DB21410A71AC0B187F3B41E02B6519E4DB21410F71ACEB107F3B41287E8C79F4DB2141B21E858B077F3B41707E8C3908DC214160C3D34BFF7E3B41601058391ADC214198559F2BF87E3B416850FC982ADC21419E559F0BF17E3B41D0BD30D93ADC2141F4A7C66BEB7E3B4168A2237945DC2141ECA7C60BE47E3B41601058B959DC21410E71AC0BDD7E3B419019E21868DC21410F71ACEBD37E3B415050FCD877DC21410B71ACABCA7E3B417050FC9889DC2141EEA7C68BC17E3B41588716599BDC2141CFDEE00BB97E3B415819E258AFDC21415EC3D3EBB07E3B4150105879C1DC21415EC3D3ABA87E3B4190A22379D3DC2141F4A7C68B9F7E3B41A8A22339E3DC2141CEDEE08B967E3B4190E2C718F1DC2141828CB96B8D7E3B41A0E2C7D802DD21411271AC2B857E3B41D07493D814DD21417D8CB92B7F7E3B41B8A2237923DD21415DC3D30B787E3B4118C7BAB833DD2141F2A7C60B717E3B41D03D791842DD214140FAEDEB697E3B4198ABAD5854DD2141EDA7C6CB617E3B41003E795864DD2141CDDEE08B587E3B41C874931876DD214163C3D36B4F7E3B413090A0F885DD2141848CB94B467E3B413890A0B895DD214165C3D34B3C7E3B4140226C38A5DD21415FC3D32B337E3B41C83D7918B5DD214166C3D30B297E3B41F0CF4498C4DD2141273108EC1E7E3B4150621018D6DD21412631088C147E3B41E8065F98E9DD2141BC15FB2B087E3B4128621098FCDD214142FAEDABFC7D3B41602BF6D711DE2141B815FB6BF27D3B4118D0445825DE2141964C150CE77D3B4118D0449838DE2141B415FBCBDC7D3B41486210184ADE21419C4C15CCD27D3B4158F4DB9759DE2141D2DEE08BC97D3B41782BF6576BDE214140FAED4BC07D3B41782BF6177DDE21412831080CB77D3B41486210D88EDE2141D4DEE00BAC7D3B4188B437389EDE2141944C15CCA17D3B410810E9B7AFDE21419C4C158C977D3B4170EB5138C3DE214144FAED0B8B7D3B4168F4DB17D8DE2141B815FB6B807D3B41D086A797EFDE2141994C15AC757D3B4110E2581709DF21410768222C6C7D3B41D04F8DD71EDF2141BA15FB8B637D3B4110D9CEB736DF21412F31086C5B7D3B4110AB3ED748DF2141EE9E3C0C527D3B4128E258975CDF2141994C15CC477D3B41E086A7176EDF21410768226C3D7D3B410019739781DF2141944C150C337D3B415874241797DF2141984C156C287D3B4178348077AEDF21410C68220C1E7D3B4180FD65F7C1DF214174832FCC147D3B41101973D7D3DF21419B4C154C0A7D3B41B08F3137E9DF2141EF9E3CECFF7C3B41883480B7FEDF21419A4C156CF37C3B4198C64BB713E0214178832F0CE87C3B41D08F31F726E021410F6822ACDE7C3B4158FD65B73AE0214161BA498CD57C3B410022FD764CE0214174832F6CCD7C3B41C006F0965CE02141ED9E3C4CC67C3B410062A1D66CE02141EE9E3C4CBE7C3B41603D0AD77AE021410468222CB67C3B4128EBE2F68AE02141F19E3C0CAE7C3B4120EBE2F69AE0214177832F0CA67C3B41D098BB16ABE0214177832F2CA07C3B419098BB96B7E02141D2D5562C997C3B410022FDF6C5E0214162BA492C927C3B41707DAE36D4E02141D0D5560C8B7C3B4108F46C96E4E0214142F1630C867C3B41587DAE76F3E0214174832F2C827C3B4180B4C87600E1214162BA492C7C7C3B41C098BB160FE1214179832F0C747C3B41E861A1161FE1214144F1630C6B7C3B4118EBE2F62EE12141F09E3CAC607C3B41487DAE7642E1214161BA498C567C3B41880F7AF651E12141F49E3C8C4C7C3B41A8D85F765FE12141D2D556AC437C3B4120F46C566DE1214141F1632C3C7C3B41900F7A7673E121413CF1638C357C3B41788638D67DE12141AF0C716C2B7C3B41684F1E568DE1214128287E0C207C3B41504F1E96A2E1214162BA49CC187C3B41608638D6B2E12141D0D5560C127C3B41A00F7A36BFE12141D4D556EC0B7C3B41F83311B6CFE121415EBA498C057C3B41684F1E56E4E121416FE7FBA9FB7B3B41706FF00504E221414E1E164AF67B3B414892CBFF14E22141DDA59B24ED7B3B41A89DEF672BE221419AD40908E47B3B41C059F5F93DE22141F2CBEE69D97B3B41A8DB680054E2214140136143CF7B3B4158C6DCB56CE221412163EE5AC87B3B41B0CDAA8F81E22141B69690EFBC7B3B41E8BE0E5C9DE221414A2EFF01B37B3B4168B515FBB7E221414BBF7DBDBB7B3B4150302AE9B1E22141BA1E85EBC37B3B413870CE48AAE221414D158CCAC77B3B416839B488A8E22141BC42AD89CD7B3B41288716D9A5E221414A696F10D77B3B41E0F21F929EE221411FB9FC47DE7B3B413004564E95E2214184B740C2E27B3B41903C2C548BE22141AA2C43DCE87B3B4178E7FB2983E22141D956EC6FEF7B3B41E0141D0979E22141A40A4625F27B3B410864CCDD74E22141ECF44A19F77B3B41A8438BEC68E22141C4529641FD7B3B41E8C9C3825AE221418F28ED4D057C3B4160A835CD49E22141DD7A14CE0B7C3B4148355E7A3BE22141923A014D137C3B410095D48928E22141D14D62D0197C3B4158AF94A514E2214126A089F01F7C3B41181A515A01E22141C1F5283C257C3B41C06D3480F5E12141A0A223B92B7C3B419811A5BDECE121411E95D489317C3B418823B93CDEE121415E8FC235357C3B41D8F21F92D0E12141C064AAE0397C3B410083C04ABEE12141CAA14576417C3B41F0C798FBA9E121417658A875467C3B41009A085B9DE12141E6043491497C3B41786FF00593E1214142E8D96C4B7C3B41B0627FD98BE12141FC1873974F7C3B41385530AA86E1214132ED0DBE547C3B41401F636E82E121412D90A0B85C7C3B417027A0897DE121414E27A069667C3B41783D0A1779E121415ECC5D2B6E7C3B41D088D29E77E12141AB9BC440777C3B41B87BF23077E1214154C1A8247F7C3B41800C02AB73E12141A42C435C867C3B4138D49A666AE12141A813D0E48C7C3B4150D8F0F460E1214104A3923A917C3B41888CB92B59E1214132431CAB987C3B4138234A7B4CE12141EEF44A39A17C3B41E844D8B03EE1214120DBF9BEA57C3B41A8A6790734E121416F5F078EA87C3B4198438BEC28E12141DCBE0E5CAC7C3B412058393419E12141E202092AB07C3B41A835CD7B09E12141A957CAD2B37C3B414865196201E12141F4CBEE49B87C3B4100FED4F8FCE021412E333373BF7C3B41C0FC87F4F9E02141734F1E16C77C3B41584772F9F4E021415E423EA8D07C3B41F0497B03EDE0214134333333D97C3B41205EBAC9E4E021412F068135E67C3B41502F4C26D8E021416988639DEF7C3B41F0ACFA5CCDE0214113E25897FC7C3B4118D044D8BBE02141861F63EE077D3B41D8CEF713AEE02141B4490C820E7D3B41383333F3A3E02141A067B3AA1A7D3B41E83A704E94E0214193E4F23F247D3B4100F016C886E0214178711BAD2B7D3B4108B072A87FE02141FC088A9F337D3B41C04082E275E021413E0AD7C33A7D3B41D89E3C6C68E02141E002090A427D3B4188D409E858E02141D3D5566C477D3B41780D4FAF4BE02141D85F76AF487D3B4100FDF6F542E02141D61B7C414C7D3B41A87EFB3A3CE0214110E02D50527D3B41681283C034E0214134454772587D3B411810E97731E0214184AEB6025F7D3B41889DEFE72CE02141D0DEE00B677D3B4178A52CC321E02141923A012D6E7D3B41F863CCDD19E0214111143F66787D3B4130211F340DE0214122D26F9F827D3B4178A7578A00E0214156A8356D8E7D3B41E076BE5FF6DF214124F6979D967D3B41F83FA49FF3DF21413EF1632C9A7D3B41E0EA7375F2DF2141A2BDC1D7997D3B41B028EDCDECDF2141BBEC9EDC9C7D3B41607424D7E3DF21414603788BA27D3B4120F8C264D7DF21416429CB50A87D3B41E0E00B93C9DF2141764F1E16AE7D3B4108A5BDC1BBDF2141FAB9DA2AB47D3B41487DAE76ADDF2141CCDEE02BBC7D3B41603255709DDF21414C257502C47D3B41E061A1968ADF214118C05B80CC7D3B414870CE0873DF214152AF9425D37D3B41307424175DDF2141817346B4D97D3B4118014D8448DF2141E573B575DE7D3B4128F697DD34DF2141F1065F38E27D3B414086C9D425DF2141DE718A0EE67D3B41102428FE1ADF21415BD3BC43EB7D3B4150EE5A8210DF2141E8B7AFC3F17D3B41F068002F02DF21418C855A93F87D3B41F0043411EFDE2141E695B26CFC7D3B41F80B93A9DEDE2141CA32C451FE7D3B41384CA6CAC6DE21418EB96B69007E3B41C064AAA0B6DE2141BCAF0347037E3B419801BC45A5DE214192ED7CDF067E3B41D854C16893DE21414E742497087E3B418826C2467EDE2141B41C5AE40A7E3B4160006F4170DE21413A1AC0BB0D7E3B41E82631086ADE2141D8E76ACB127E3B41C830992A67DE214186D2DE801B7E3B41C0DCB5C461DE21417E04C50F257E3B4108098A5F5FDE2141203867442C7E3B41206822AC5BDE21411A95D489317E3B41403333F35ADE21419AFF907E3D7E3B4128D6C52D59DE214142A4DF3E487E3B4118F775E059DE2141BE0E9C33547E3B41C0506B1A58DE2141DA56EC8F5F7E3B417839B4C854DE2141582041316A7E3B4110C7BAF851DE21413A5EBA49797E3B41C87F48BF4ADE2141FDB27B92847E3B4108917E3B43DE2141B68D06F08C7E3B41085B42BE3DDE2141684DF3CE947E3B41D08173C62FDE2141F3FDD4989F7E3B41685DDCC61FDE214141795888A57E3B41B88251C914DE214122166A4DAD7E3B41601283C00DDE2141C8B12E0EB67E3B41400C02AB07DE2141E9B7AFC3BE7E3B41E0A59B4402DE21411E41F1A3C47E3B41F89C11E501DE2141DB718AEE7E7F3B41101748108EDC214112022BC7F67F3B41807CD0B3A9DB2141A73E57BBFB7F3B41383EE819A0DB21413F355E9A00803B41084FAF5496DB214158D3BC6305803B41F053E3658CDB2141E05817170A803B4178A8354D82DB2141B9FC87B40E803B4178BA490C78DB21415AEC2F3B13803B41081CEBA26DDB214166D5E7AA17803B4188976E1263DB21411A4A7B031C803B413888F45B58DB2141E9AE254420803B41F8FFFF7F4DDB2141B2FA5C6D24803B41686DC57E42DB21419C081B7E28803B416807CE5937DB214122F46C762C803B41C0293A122CDB214124FDF65530803B41B82FBBA720DB21413E11361C34803B4178635D1C15DB2141CA4B37C937803B4190FB3A7009DB21411751DAFB9E813B41C8B12EEE7FD62141C29F1A0FA1813B4198FF907E82D621410C5F986CC3813B41A8BFEC5E13D62141F0C9C342CC813B41D84F8D57F7D52141EB6A2B56D5813B4180F6069FDBD521414C9D80A6DE813B4118D9CE37C0D52141FAA9F132E8813B41902E6E23A5D52141CD10C7FAF1813B41705374648AD521419EB437D80B823B41A03177ED44D5214168AA60F412823B4168A3017C31D521411D2653E519823B4118287ECC1DD52141314CA6AA20823B41889BC4E009D52141925CFE4327823B4190C729BAF5D4214128A089B02D823B412075025AE1D42141F20DBED08C823B4150F38ED3ADD321419A2A18359D823B41D058173774D32141C698BB1690823B41703480F763D321419AF6063F76823B41A8EA73F543D3214159C1A8E4A4823B4130F8C224ACD22141AA2C43BCAC823B41802D219F92D221418C3177ADC5823B41500E2D7241D221411973D792CD823B41882497BF27D221411873D752D5823B41F0E2365A31D22141AC57CA52F4823B41704BC8C757D22141D668002F17833B41E00209CA3AD221411671AC2B8F833B413819E2187BD1214101BC05B28C833B4150302AE974D12141A36B4D649A833B418078F8185DD12141A734DE13A7833B41B88E352443D121411A6454ABB2833B41C022A53627D12141FA8E2417BD833B41B80A5E7F09D12141A786BC45C6833B4108DB7A30EAD0214108F9A027CE833B41586DC57EC9D0214128287E2CCA833B412048507CC8D0214140F1630CC3833B41B0F5289CC8D0214129287E2CBC833B41C8BE0EDCC6D0214142F163CCB3833B4170A301BCCAD0214195438B8CAE833B41D0BE0E5CCDD021410A5F988CAC833B41F087F4DBCED02141AC0C714CA6833B41F0BE0E5CD1D02141095F98CC9D833B4198F5281CD7D02141065F98CC98833B41E0BE0EDCD7D02141B00C716C91833B41786CE7FBDBD02141F8EDEB40137B3B4190B20CF1EDE321410CB5A6B9047B3B41D032C4310BE42141D388D2BEF37A3B4140029AC828E42141FEE68CA8E97A3B41A0900F7A3DE4214128A08970DB7A3B41005839F455E4214195779CC2CD7A3B41B09999996DE4214145696FD0C37A3B41983F359E78E4214152D1919CBB7A3B4108917E3B7FE42141E86A2B96B17A3B4170EB51F892E421419AE61D67A57A3B4198CB7F08AAE4214152FC1873927A3B41B8BCE314C8E42141BE3923AA7E7A3B4128FED4F8E3E4214156CA32846D7A3B41406744A9FCE42141168C4A0A617A3B41201136BC10E5214111363C1D4D7A3B41903A014D36E521415C984CD53E7A3B41C035CDBB4FE52141917EFB9A337A3B4160CC5D0B67E52141807346D4247A3B41783F351E88E521413EB4C816117A3B4168A982D1AAE521415C105839037A3B4138189554C5E5214138D6C58DF2793B4138F8C224DEE52141D0CCCC2CE6793B41787CD0F3F0E52141A0A22339D9793B4118A5BDC112E62141BE9F1AAFCF793B41D0073D1B29E6214142E8D96CBF793B41E8D24D224DE6214155EC2FBBB5793B4130BB270F60E621411C386764A9793B4138BB270F76E62141469D8006A3793B41600E2D3281E621419006F0B69E793B419806F0D683E62141FEDD02699A793B41B822DB7983E62141BE42AD2996793B41A05374A487E62141CD88D2DE90793B41806FF00592E621418616D90E8B793B41E0E995F29DE62141628FC21585793B4110BE3059ACE621413670CE4881793B41E8D24DA2B9E6214138EF38E57C793B41D06D3400D0E62141BD847CB090793B41C8C7983BB5E621414EB81E059E793B41C0EC9EFC9CE6214111BE3019A7793B41C05D4B088CE621419EABADB8B5793B41783F351E74E62141E37A146EC4793B4138AC8B5B5BE62141F653E385D6793B410086C9543CE621413E2CD49AE3793B41F8B9DA4A2AE62141845AD33CF2793B4190B3EAB312E621413DE8D96CFB793B419875719B05E6214130E6AE05017A3B41F09387C5F8E52141D4F753830A7A3B4128ED0DFEE6E52141962A18D5127A3B41A88BDBE8D4E521418438D6C51A7A3B41A8567DAEC8E52141E6482E9F247A3B41E8043491BAE52141E80434912F7A3B41B8FA5CEDADE521416C787AE53D7A3B41105D6D059BE52141105839144F7A3B41E8A7C60B8AE5214187F4DBF75A7A3B4110FED43881E52141A101BCE5687A3B4110A089B07DE52141832F4C26787A3B4128E4831E78E5214125871679847A3B41E80209CA71E52141DDBE0E1C8C7A3B4190FF903E6AE5214137B4C876937A3B41805149DD5DE52141CE22DBF99C7A3B4100CE199142E521417CA52CE3A77A3B4120F2410F24E521417CE09CD1B37A3B419857CA3208E52141C4EC9E5CC37A3B41704DF38EE2E42141B41E85EBD07A3B4100ECC0F9BFE42141B5D85FD6DD7A3B4120C1A8E494E421418FE4F2BFE77A3B4138C7BA386AE42141A3EFA726F27A3B41905374644AE42141A089B001FE7A3B41A845B6B32FE4214150FC1893117B3B41C8DEE04B0CE421413C82E287217B3B41407A36ABF2E32141B8627FB92C7B3B41B0B662FFD8E3214132C4B1CE387B3B41280378CBBAE32141C966D5E7427B3B41D8F831A69FE32141AC4E40B34C7B3B4118E9B72F89E3214176A301BC3A7B3B4138158C8AA8E321418EED7C5F317B3B415827A089B9E32141F775E0BC227B3B4128B29DEFD0E32141F8EDEB40137B3B4190B20CF1EDE3214103F775C0D9783B41D8EEC9032EE82141C820B032D0783B41C89465083CE82141B6F3FDD4BF783B41E03845475EE821417E3F351EA9783B41C0DCB58487E82141D5C56D548D783B41D0096822B6E82141DC02090A92783B41E076BEDFBBE8214120386744A7783B41781CEBA2BEE821418E75715BAC783B4168BA494CBFE82141F6DBD701BD783B4130EBE276C1E82141D8D781D3EA783B41D86B09B99FE82141E48C288D03793B41985CFE838DE82141FF088A5F06793B41B05296E1B3E821412DCB10A717793B41C0D5566CA7E821414A72F9CF14793B41B0F1D2CD80E82141DFE00B532D793B4110B7D1C06EE82141038195032D793B41D8C64B3763E82141DA56ECCF28793B413075025A3CE821418AEB519824793B41A057CA321CE821417A14AE671E793B41C0293A9200E8214198900F3A1A793B419828ED4DE6E72141255C8FC219793B41F0088ADFDEE7214128C286C718793B41E0809543CFE7214131A2B45718793B4138BB278FC2E72141BC4082C21B793B41C0915CBEA7E72141D2D5566C17793B41E8A7C60BAFE72141D03B4EB10E793B4160B6F37DBCE721418838D6E505793B41A811A5FDD0E72141F2D24D4200793B4158C8073DDFE7214126EBE256FD783B4120423EE8E7E7214134894140F8783B41487958A8EDE721415AD3BC63F2783B41080F0B35F3E721414B1E166AEC783B41B02A189500E82141BEF528FCE7783B4158E3A55B0EE82141AB57CA92E1783B41F82FBB671CE821419A900F3ADF783B418051495D28E8214103F775C0D9783B41D8EEC9032EE8214160105899AD923B418816D94E28B92141569FAB4DB5923B41A01D382712B921415E545207BB923B41183FC61C01B921412C211FD4BC923B4180C954C1FBB821413DF1632CC4923B41F851B81EE5B821415C863856CB923B41E0FFFF3FCEB821417AF2B050D2923B41D866D527B7B82141205A641BD9923B41D898BBD69FB82141C8A145B6DF923B41D85F764F88B8214108C58FD1E4923B4108D5786975B8214104CE19B1E9923B4138C4B12E63B82141F20DBE90EA923B41404ED1D15FB821414C27A049EB923B41F82406015DB821417CB74002EC923B4130C4B12E5AB82141E7E236BAEC923B41F887F45B57B82141384ED171ED923B4178029A8854B8214136992AD8F9923B414010587923B82141EA6A2B56FC923B41A02A18D519B821416ADE71EAFE923B41E8141D4910B821415FA1D69401933B41686132D506B821419A2A185504933B41E8D9AC7AFDB72141B4270F2B07933B41487E8C39F4B7214128287E0C14933B4198976E5204B82141BA9690CF31933B41909ECD6AB5B721413A355EFA55933B4178158C0A72B72141048195435B933B41D09F1A2F6BB72141176A4D737F933B410024283E3CB721418AEB51F8AC933B4120C286A715B72141D678E926DD933B41D0FC8774FFB62141B5D100BEE4933B4170029A88FDB62141EA482EBF04943B41F0043451F6B62141C576BE1F20943B41202FDD24F0B621419B01BC253D943B41E06F5F47E5B621413F3CBD1259943B4128D1911CD2B62141D85F764F73943B41A83A010DB7B62141160DE04D8B943B41305530AA94B62141B615FB8BA0943B41E06800AF6BB62141ACDFBE6EAF943B417095438B45B62141B69690CFB2943B4198F8316639B62141D43B4E91BE943B4158F7E4210FB6214185E2C778BF943B4100C286E709B6214122ED0DBEC8943B41E8270F4BD4B52141F041CFA6CD943B41081748D096B52141C4F5283CCD943B41981E85EB63B52141585BB19FCC943B41E0C56D3453B5214103917E3BC7943B41587B836F1BB521413D3EE819BC943B417882E247E1B421418EA982B1AF943B41201DC9E5B7B42141CAA14516AC943B41F851B8DEABB421415A0E2D5299943B4198F6061F78B42141A69BC4A08F943B41D8E53F645DB42141DF718A6E89943B41B037F8C24BB42141585BB17F83943B41888104C539B42141B1E1E9D57D943B4108A0897027B4214173E09C7178943B41685DDCC614B42141AEEA735573943B419816D9CE01B421418E19817072943B4158E1A157FEB32141B00BE08D71943B41F0B409DEFAB32141225692AD70943B41D8C51662F7B321419D8999CF6F943B41184ECFE3F3B32141BA32F7F36E943B41708B3963F0B32141EAD9AC1A6E943B4130C05BE0ECB32141AC9DEFA769943B4160764F9ED9B321419C11A57D65943B41402DB21DC6B32141A223B99C61943B41D03FA45FB2B321411E1DC9055E943B417867B36A9EB321411D8E75315B943B41481B9E1E8DB321416207CEB95A943B419837F8428AB32141C89F1A8F55943B415816D90E64B32141BF0512B452943B4160FE433A46B32141744694D651943B4178B20C313DB3214146D8F0944F943B4120AE47E115B32141B0FA5CCD4E943B4128AB3E57EEB22141316EA3814F943B41C0270FCBC6B221419C2A187555943B417087851A24B2214102BC051256943B410819735713B22141923A012D56943B412003788B06B22141AC7BF2B056943B41009D11E5C7B121416AD5E70A53943B41E00209CA7CB12141D8CCCC2C4B943B41F0FE21FD32B121417CFB3A303F943B412844FA6DEBB021410AA3927A38943B419079C7A9CEB02141E4BE0E3C2F943B413082E207A7B02141000000202B943B4160DA1BBC97B021418A855AF302943B41D8B3593502B0214177E09C91F5933B4120A9139010B02141C0A8A4AEE9933B4118BC0552E4AF214111E02D10E7933B41383CBD92DAAF21417AF2B010DA933B41A069DE31AAAF2141EED24D22A9933B4178CE8812F4AE21412E211F94A2933B41B8D556ACDBAE214118AE47819F933B4118F241CFD0AE2141A045B6339C933B4128C7BA38C6AE21412A3A92AB98933B41883177EDBBAE21414A0378EB94933B41A045B6F3B1AE2141806ABCF490933B4100F2414FA8AE214120DBF93E94933B41480C02ABA2AE21418BB0E16998933B41182653859BAE21418C75717B9C933B41C8270F8B94AE2141B215FB6B94933B41E852962183AE2141A523B9BC8B933B41D04603F872AE2141B8627F7982933B41202FDD2464AE2141D25F76AF78933B41207F6ABC56AE21411B1FF46C6E933B4110F31FD24AAE2141AF9DEFA74C933B41702F4CE626AE2141FE65F74431933B41503EE89904AE2141C3C117662A933B41D8482EFFFBAD2141860D4F6F25933B4140D49AE6F4AD21417A029AC81A933B41181FF4ACE5AD2141BE86A7F719933B4180B74082E4AD214197081B5E07933B41C0096862C9AD2141E0E00BF3FB923B41385530EAB0AD2141C9DCB584E5923B41883F355E65AD2141EC1FD26FDD923B414808AC1C3BAD21413EEF3805DA923B41A07F483F29AD2141F2FDD418D5923B4138D8F0F4D3AC2141C2A8A44ED6923B41A07EFBFAA8AC21415A302AE9D6923B41383A928B93AC2141044D846DDC923B4168A52CC360AC214178C729FAD9923B41D8BCE3545FAC2141E7043431D0923B41181B9E9E59AC21417D48BFDDCD923B41C837F84258AC21411A95D469D1923B412087165942AC2141CDAACF95D5923B41B0ADD8DF2CAC214161764F5EDA923B4108431CEB17AC2141762D21BFDF923B4190832F8C03AC2141BE0E9CB3E5923B41C80512D4EFAB21411EA7E868EC923B4188FF90FEDAAB2141DCE00BB30A933B41E80C71EC7CAB2141A0ABADD812933B411883C04A5FAB2141F9CBEE4919933B41689A77DC47AB2141B4847C1024933B4150A60A460FAB2141E0E00BD32A933B4108EEEB40D4AA2141850D4F6F2D933B4158E8D9EC97AA214183E2C7D82B933B41104625755BAA21411083C02A25933B41F86800AF08AA21416419E2581B933B4188F6061FB7A92141A6CFD5760E933B4118098A5F67A9214142575B1101933B4130A2B4F725A9214190A0F891FE923B41886FF0C519A921416C8A8EC4EB923B4128CE19D1CEA82141752D213F79923B41B0F90FA92EA72141DA8AFD6568923B41C82631C8ECA62141F085C9B45D923B41705DDC46BCA62141D6CEF7D3238E3B41A898BBD667A52141FEB9DA0A3D8B3B41F09F89707EA421410C68226C24883B41F02A875685A32141802F4CC63D853B4168211FF49BA221412B31080C24853B4160764FDE93A22141188C4A8A3D823B4150DE718AAAA121416F46945623823B41C0A8A44EA2A1214182FB3AD03C7F3B41C035CDFBB8A02141E0C7987B0C7F3B41A04C15CCA9A02141A62C43FC987D3B41684ED11135A02141DE4F8D97B27A3B41D89690CF4B9F2141F2A7C68B957A3B4100FBCBAE429F2141857CD0F3BA773B41703D0A175D9E21410E4FAF54EA763B4178711B8D1B9E2141DE361A00CF713B41386744E9809C2141187C61527A723B41D00968E2DFAC2141F0D24D42D8713B41C815FB0BCAAD21412BA0895001723B41E00B932973AE2141D868000F04723B410880B78070AE2141F65C6D0549723B41C81726938CAF2141BD0E9CD361723B41F0D1001E75AF2141DA5F766F72723B4198CB7F88B9AF2141E52406E176723B4108A4DF3ECCAF21418A855A537B723B4140E17AD4DFAF21412A7E8C997F723B4110166A8DF3AF2141F48E53B483723B41008C4A6A07B02141ECAE25A487723B41201FF46C1BB021415A5452678B723B419816D98E2FB02141BAC876FE8E723B41D8293AD243B02141FBA9F17290723B41C8DBD7814CB02141686FF04576723B41F0C9C3025DB021410EF2414F78723B41F8C2642A69B02141CA54C1687B723B41E0A59BC47CB02141C98F31577E723B4198A2237990B021412275021A81723B41D8B88D46A4B021411A8E75B183723B41989ECD2AB8B0214154D1911C86723B41C0D32B25CCB02141689A775C88723B41F88E5334E0B02141F41FD26F8A723B4180613255F4B021418CFD65578C723B41B082518908B1214170CE88128E723B4140DF4FCD1CB12141C464AAA08F723B4158764F1E31B121419E779C0291723B41D0C7987B45B121417334803792723B41A0C117E659B12141E53FA43F93723B412075025A6EB1214174B5151B94723B41E80581D582B12141CE4B37C994723B4148F4DB5797B12141F9B9DA4A95723B41E851B8DEABB12141F863CC9D95723B417089B021C0B121410366F7449A723B41286519E24CB3214188855AF39A723B41A02A18D577B32141CB073DFB9B723B41F0D9AC7AA2B321412EFF215D9D723B4118068115CDB32141ECF44A199F723B41205305A3F7B321417E04C52FA1723B41A89BC42022B42141E0361AA0A3723B41A815FB8B4CB421416EE7FB69A6723B4198E4F2DF76B42141705F078EA9723B41282CD41AA1B42141D6F0F40AAD723B4188C7293ACBB4214167006FE1B0723B41186C783AF5B4214162325510B5723B41B0627F191FB5214182F4DB97B9723B4180F38ED348B521413F82E287BE723B410032E6EE72B521418C7571FBDD723B41A03C2C1475B62141809543EBE4723B41C09F1A2FB0B6214112C7BA58EB723B41A0DCB584EBB621419C6E1243F1723B41A0BB961027B721411795D4A9F6723B41F03A70CE62B7214129287E8CFB723B41207E8CB99EB7214164D5E7EAFF723B4180A835CDDAB72141A913D0C403733B41E0A59B0417B8214180D0B31907733B4168635D5C53B82141C442ADE909733B41F03A70CE8FB8214168B3EA330C733B41A886A757CCB8214183E2C7F80D733B4180A0F8F108B9214116D9CE370F733B4120AC1C9A45B92141562041F10F733B4178DE714A82B9214156C1A82410733B41606DC5FEBEB92141AC6054D20F733B4140FC18B3FBB9214196900FFA0E733B4108E5616138BA214100E78CE80E733B419868916D3BBA21410A58397412733B41B83A014D89BA2141E7C039A300733B4160D3BCA320BC2141B6627FF9F5723B41A8847CD0C0BC21414E27A029D7723B41800D4F6F6EBD214136F8C204D4723B41D8CAA1C587BD21411A48505CCF723B41B86D34C0AABD214105F9A067CA723B41C04D6290CDBD2141F0384527C5723B41A833A234F0BD21419075719BBF723B41100C93A912BE2141A613D0C4B9723B4100560EED34BE21413F1361A3B3723B41281136FC56BE2141E4460338AD723B4130AA60D478BE2141275C8F62A8723B41E09E3CAC91BE2141539FAB4D79723B4170423EA883BF2141CE22DB5956723B41E0CCCC4C37C0214110F2418F43723B4168F0850998C021419EF831E665723B41E0AACF15A3C02141C4F528BC83723B41A0D634AFACC02141B8490C029A733B41B07D1D3806C12141C6C3424DFB723B4168006F81BBC82141C9293A925C723B4180AEB6A273D021418E31776D40723B41E0384507D1D12141FE6E810434723B41C04F8D176BD221418A16D90E12723B4198438BAC10D4214187635DFC8E713B41D8D5562C6FDA214192B96B496A713B41D81B7C6137DC2141C798BB1665713B41687FD9FD77DC2141D256EC4F60713B4148C05B60B3DC2141AFFA5CEDD4713B4118DBF93E09DF21411ED26F5F44733B4108E25897FEE3214198F6069F73713B41782F4CA617E62141CA98BBF687713B4110FF217D8AE62141402CD47A4E713B41D8E76A2BB3E621411704566E41713B41D8A59B8469E621410E4FAFF4E9703B4190C2F5E889E62141D0F753E31B713B4198A0F8315AE72141020000E03D713B4128E8D9EC4FE72141FF6E81E45A713B41D80434513CE72141CF66D527FD713B41004850FC60E721412C7E8C39FB713B41506B9A373AE721410C61C333E4713B4150AD691EAAE62141FE770B04D0713B41F8E461E187E62141659A77FCD7713B4170F0858960E62141E8D9ACBAFF713B4170CE88D262E6214182FB3A307B723B41B878E9268DE72141A267B38AB4723B416835CD7BA6E72141B437F8E222733B4190EB5138D7E721417214AE277B733B41A058A8F58BE721419B2A181561743B41D0F44AD9DBE721418451491D0C753B41A881734617E8214121EBE2D63D753B411874249722E92141ECD0227BC3753B4180E1E9D5C3E82141A40A46E5C1753B41A8F831E6BAE821419C438B4C6C763B41F86E810447E821415E764F1EA3763B4168567D2E34E8214189635DDCA5763B4140C6DC3533E8214134B29D4FAE763B41904AEA8430E82141EA1DA7C8B6763B41A8ADD81F2EE82141B5B88D46BF763B41A838D6052CE82141AE8BDBC8C7763B4118D9CE372AE8214152840D4FD0763B41A058A8B528E8214188EB51D8D8763B416824977F27E8214108819563E1763B4198E1E99526E821414260E5F0E9763B41C07D1DF825E821415A643B7FF2763B41100BB5A625E82141A4F1D20DFB763B41E81B7CA125E82141DCBE0E9C03773B41D854C1E825E821416EF085290C773B41205A647B26E8214142CF66B514773B419075715B27E821413FA4DF3E1D773B415894F68628E821414FAF94C525773B41C0915CFE29E8214174029A482E773B41E8490CC22BE821417C1D38C736773B4190A982D12DE821411DAE47413F773B41C0D5562C30E8214162984CB547773B41E0E00BD332E82141204A7B2350773B41884AEAC435E82141D2F97E8A58773B418037890139E82141531E16EA60773B41C8141D893CE8214112A5BD4169773B412863EE5A40E8214198C4209071773B41C0C64B7744E82141074625D579773B41B01A2FDD48E82141EE16481082773B41F095B28C4DE8214188DB68408A773B41085D6D8552E8214154B81E6592773B4118CB10C757E8214146B6F37D9A773B415860E5505DE82141E002098AA2773B4160E5D02263E82141C954C188AA773B413811363C69E821416607CE79B2773B41D875E09C6FE8214175A3015CBA773B413013614376E82141840D4F2FC2773B4138696F307DE821417E48BFDDD8773B41083411B691E8214164FE43DADB773B41009C33E292E82141A78251C91D783B41F0361AC0ACE82141B269DE9150783B418875715BB3E821410AB5A63967783B41B8F1D24DB6E82141939999796C783B41306C78FAA8E821414EFC18B371783B412898DD139CE8214112F2412F77783B4120AE47A193E82141E573B5757C783B41207A366B8EE82141BFF528BC81783B4168D8F03489E821415E07CE398B783B41F87E6ABC75E8214140FAED0B95783B41480AD7A365E821418FA0F8D19B783B41A023B93C5AE821416C3D0A37AB783B4110F54AD937E821413008AC7CB3783B41A8923A4126E82141109E5EC9BE783B41387F6ABC18E821413008AC1CC2783B4148BD529615E82141943A010DC7783B41304547720BE8214108560ECDCC783B41C8293AD200E8214106560E8DD3783B41287C6172F6E7214108560E6DD9783B41584547F2E9E7214109560E0DE0783B412085EB91DFE721413EE8D9CCE8783B41500E2DB2D5E72141B203E78CEF783B41A0605452CBE72141D1CCCC6CF6783B41E0F21F12BFE72141903A014DFD783B41207C61B2B2E721413CE8D94C03793B41D0293A12A4E7214108560E0D09793B4100F31F9297E72141923A01ED0D793B41C06054928CE721411E1FF48C12793B41A86054D281E72141D2CCCC8C19793B41D820B07275E721413DE8D92C1D793B4168CE88526AE7214143E8D98C27793B419820B0B246E72141221FF4CC29793B41A857CA3243E72141201FF4AC2F793B41303CBD9236E72141D0CCCCAC35793B415805A31228E721418F3A016D3A793B41B857CA321DE721413BE8D94C3F793B41C0976E5210E72141D2CCCCEC44793B419857CAB207E72141D2CCCCEC4B793B4160C5FE72F9E62141AE03E78C51793B4108AAF1D2EEE62141B003E74C56793B4150FC18F3E3E62141943A010D59793B4148CE8892D8E62141221FF42C5F793B4148FC18F3C7E621411E1FF48C65793B4148FC1873B3E6214158B1BFCC6C793B4138333333A1E62141D1CCCCCC73793B41F8A9F1D292E62141903A018D78793B4150FC18F387E621411E1FF48C7D793B41A84E401379E621418D3A014D81793B4158FC18F36DE621413DE8D9CC83793B41B817269366E6214141E8D92C85793B4100A167F360E621418F3A010D8B793B412873D75252E62141221FF4EC8F793B41E8D7817347E6214158B1BFAC94793B41E01726933AE6214141E8D9AC9A793B41D0E00B132CE6214140E8D98C9F793B41A84E401321E62141D4CCCC4CA5793B41A817269314E6214156B1BF0CAA793B41483333B309E621411E1FF4CCAE793B4178BC74D3FEE52141AA03E72CB6793B41F0172693EAE52141D2CCCC0CBD793B41206A4D33DEE521413AE8D9ECC1793B41B8BC7453D1E5214144E8D98CC8793B416845B6F3C6E52141D4CCCC6CCE793B4198172653BCE52141D4CCCC2CD6793B41102AA953B0E521413CE8D98CE2793B4188855A539DE52141D2CCCC6CE8793B419845B6B390E521411C1FF48CEF793B4160EA047480E521413EE8D98CF5793B4178BC74D371E52141E695B24CFC793B4128211F7465E52141EA95B22C027A3B4160EA04F458E52141B003E7EC067A3B412861C3134EE521415AB1BFEC0C7A3B41085839743FE52141D4CCCCCC127A3B41302AA9D332E52141AE03E78C197A3B41E897DD9326E52141B203E78C1F7A3B41E88E53F419E52141AF03E70C257A3B41202AA95311E52141AE03E76C317A3B410098DD53FEE421413EE8D90C377A3B41008F53B4F5E42141D0CCCCEC407A3B4108CFF713EAE421415BB1BF6C497A3B41883C2C54E2E42141CCCCCC2C4D7A3B41D0051214D7E42141E895B2EC517A3B41A03C2C54CCE42141E395B2CC577A3B4150211FB4BFE42141787AA58C5C7A3B4160AA60D4B4E42141085F98CC647A3B41887346D4A2E42141777AA5AC6B7A3B41C8FC877494E42141757AA5CC747A3B41F88E53B484E42141AE03E78C797A3B41B00512D479E42141797AA54C807A3B41E85739746FE421417F7AA50C877A3B410018951465E421413EE8D9AC8E7A3B41D8FC87F45AE42141EA95B28C957A3B418073469450E42141CDCCCC0C9C7A3B4150E17A5448E42141CCCCCC8CA27A3B41907346D441E42141095F980CA97A3B4168AA609439E42141E895B2CCAF7A3B41A033A2342FE42141D4CCCC8CB87A3B4140E17A5425E4214197438B4CBF7A3B41786ABCF41AE42141EA95B2ACC67A3B41E885C9D414E421410D5F98ECD27A3B4128AA60D403E42141797AA5ECD67A3B4170A1D6B4F4E32141D5CCCC4CE27A3B41686ABC74E1E32141095F982CEB7A3B41080F0BB5D3E32141005F980CF17A3B41E8F3FD14C7E321410A5F98CCF87A3B4148D8F0F4BCE32141757AA58C017B3B41D0B35935B3E32141FCCBEE69037B3B419067B3EAAFE32141F3EBC079057B3B41E0187317A3E321414750FCD80D7B3B412095D40992E321410AF9A0E7167B3B415016D94E80E32141EC839EAD217B3B418031772D6BE32141FC065FB82A7B3B41F038454760E32141F01FD2EF317B3B419858A8755AE32141DCA59B243D7B3B41D82B65D94BE32141B637F8E24A7B3B41583BDF0F37E32141F8DBD7615C7B3B4120BE30D919E32141033D9B95697B3B4150C7BA3800E321415D4BC847757B3B41405F980CEAE22141149E5E097A7B3B412085EB51DFE22141F76C563D7D7B3B4180226C78D5E22141FA3A708E837B3B41D0E99572C6E2214100098ADF897B3B41887AA56CB7E22141A9ADD8FF8F7B3B41D84F8D57ABE221419ADD93C7957B3B41003B704EA1E22141865AD3BC987B3B418891ED3C9BE22141E29387059A7B3B41A872685191E22141B8847C109C7B3B4118C05BE088E22141AE03E7EC9F7B3B4138EF38C57EE2214183FB3A70AB7B3B4118D26F1F68E2214196438B6CBD7B3B416006819548E22141D4D5562CC37B3B4128FDF6F53DE221412C287EECC87B3B418818045633E221419A438BCCCE7B3B4128FDF6B526E2214142F163ACD47B3B4148C6DC3518E2214121287EACDB7B3B41203D9BD509E2214140F163CCE27B3B4190180496F9E121412A287EECEA7B3B41F0331176E9E1214192438B2CF27B3B41E8A14536D7E12141CCD5564CF87B3B41D0AACF95C6E1214143F1636CFE7B3B41D0AACF15B6E121413CF1638C047C3B41D8AACF95A5E121412B287E8C0A7C3B41C0D85FF696E12141B10C716C117C3B41704F1E968AE121413CF1632C177C3B41704694F67DE12141B10C71EC1D7C3B41D0A145B673E1214142F163CC247C3B419818045667E12141B20C718C2C7C3B41587DAE365BE121419A438B8C337C3B41900F7AF64CE1214144F1638C397C3B4118F46C563EE12141EF9E3CEC407C3B41604F1E162CE12141B10C71CC487C3B4138B4C8F61DE12141CED556CC4E7C3B4150B4C8760FE121413DF163EC547C3B41708638D6FEE021415EBA49CC5B7C3B41980F7A76F2E02141F09E3C8C637C3B4178469476E8E0214161BA492C6A7C3B4148BD5216DEE02141EB9E3CEC717C3B4130EBE2F6D3E02141CED556CC797C3B41082B87D6C7E02141D0D556CC817C3B41F061A1D6B9E02141D4D5560C8A7C3B41B898BBD6A7E02141F09E3C0C917C3B4128EBE27697E021413EF1634C977C3B414022FDF684E021413EF163AC9E7C3B4130B4C8B670E02141F49E3CECA57C3B41082B87565EE021413EF1630CAD7C3B418806F0164EE021415DBA492CB27C3B41E88F31373DE02141EE9E3C2CB77C3B41C0C64B772EE02141EC9E3C0CBD7C3B41B0CFD5D621E02141EE9E3CECC27C3B4180C64B3715E02141D2D556ECC97C3B41C88F31F706E02141F29E3CCCD27C3B419006F016F9DF2141EC9E3CACDB7C3B41C0CFD556EDDF2141ED9E3C8CE47C3B41C08F3177E1DF21410668228CED7C3B41F85817B7D3DF21415EBA496CF67C3B41A006F0D6C5DF214161BA498CFF7C3B4118E25817B6DF21415EBA498C087D3B4138AB3E57A6DF214178832FCC117D3B4130A2B47794DF21410E68220C1B7D3B41303480B782DF21410468222C247D3B41D0FD65F772DF21417A832F4C2D7D3B4198FD653763DF21417C832F6C347D3B41507424D752DF21410968222C3A7D3B41686B9A3746DF214175832F0C3F7D3B410010E97739DF21412931080C457D3B4108E258D72CDF2141F09E3C6C4E7D3B4138E2581717DF21415EBA496C557D3B41606B9AB708DF214174832F2C587D3B41B8BDC157FDDE21412A3108EC5D7D3B4128A2B4B7F2DE21419A4C15EC647D3B41D0460378E4DE2141F39E3CEC6B7D3B4118E25817D6DE2141EA9E3CCC727D3B41D886A7D7C7DE2141EE9E3CCC7A7D3B4118D9CEB7B9DE2141076822AC817D3B41D07D1D78ADDE214178832F8C887D3B41782BF6179FDE2141984C158C907D3B41C84603F892DE21412C31082C987D3B41D04603F888DE2141954C150C9E7D3B41D84F8D577CDE2141046822CCA47D3B412810E9F771DE21412831088CAA7D3B4190F4DB5767DE21410468228CB07D3B410810E9B758DE21412B31082CB67D3B41582BF6174EDE21410B6822ACC07D3B41A8B437B838DE2141B615FBEBCA7D3B4170226C3827DE21419A4C15ACD07D3B4190F4DB971CDE21410468228CD67D3B4178226CF80FDE21419A4C156CDD7D3B4110D0449803DE21412B31080CE57D3B41F0065F98F9DD2141B315FBCBEC7D3B41A0226C78EFDD2141984C158CF47D3B4148621058E3DD21412831088CFB7D3B4170EB51F8D6DD2141B415FB2B037E3B4178226CF8CCDD2141D4DEE00B0B7E3B41386210D8C0DD2141944C15EC117E3B4190EB5178B4DD214141FAED0B1A7E3B4150598678A4DD2141D2DEE00B217E3B4110D0441894DD2141BE15FB0B287E3B41106210D885DD2141263108EC2F7E3B4100FED4B879DD2141263108EC377E3B41D834EFB86BDD2141B815FBEB407E3B4108075FD85DDD2141F4A7C6AB487E3B41A8065FD851DD214137FAEDAB517E3B4148FED4F843DD214140FAEDAB597E3B41D834EFF835DD2141D0DEE0AB5F7E3B41E83D795827DD21413EFAED8B667E3B4178E2C71819DD21415CC3D38B6C7E3B41E8FDD4780ADD2141D4DEE0AB727E3B41E03D79D8F9DC214139FAEDAB797E3B419819E298EBDC2141EEA7C6AB807E3B41F06B0939DDDC21417C8CB9CB877E3B41E034EFF8CCDC214164C3D3CB8E7E3B4188E2C798BEDC2141D1DEE08B967E3B415819E298B2DC2141F0A7C68B9E7E3B41C06B0979A6DC2141828CB94BA57E3B4178E2C7189ADC2141EEA7C60BAC7E3B4190D93DB98FDC2141CADEE0CBB27E3B41E06B097985DC2141D2DEE08BB87E3B41308716D978DC2141F3A7C68BBE7E3B41D06B09396ADC21411071ACABC57E3B41404772F959DC2141D1DEE00BCD7E3B416019E29847DC21415CC3D30BD47E3B4120BE305937DC2141F4A7C64BDA7E3B4100BE30D924DC21415EC3D36BE07E3B416010583914DC2141D2DEE08BE67E3B41404772B903DC2141F2A7C6ABEB7E3B41408716D9F2DB2141D1DEE08BF07E3B41501058F9E5DB2141F6A7C6CBF97E3B4118477239D4DB214196559F8B007F3B4108BE30D9C9DB2141818CB98B087F3B41F8F44AD9B9DB2141D3DEE02B0D7F3B41387E8CF9B0DB2141F4A7C62B137F3B4120871659A2DB21411371AC0B167F3B41581058F996DB21415EC3D3CB1C7F3B41F8EBC0B98ADB214194559FCB247F3B4110BE30997CDB2141858CB9EB2C7F3B41A8627F996CDB214194559F0B357F3B4110B5A6795CDB21417E8CB90B3D7F3B4108ECC0794CDB2141838CB92B447F3B4168D0B3193CDB2141253A926B4B7F3B41A8627FD929DB21411471AC6B527F3B41C02B65991BDB2141F2A7C6AB597F3B41D8EBC03909DB21410E71ACCB617F3B41B059F539F9DA2141263A92EB697F3B4138B5A639E9DA21411071ACCB707F3B41B8627FD9DADA2141828CB9CB777F3B41403EE899CCDA21412B3A92CB7E7F3B41F0EBC039BEDA2141BA1E85AB827F3B4168D0B319B1DA2141B81E85AB877F3B41B059F539A2DA2141A0559FAB8B7F3B417059F53993DA21412A3A92CB8F7F3B41303EE81982DA21410E71ACCB937F3B41C859F5F972DA21412A3A92EB987F3B4178C7293A62DA2141B61E850B9C7F3B41483EE8D952DA214194559F2BA07F3B41603EE8D93FDA2141808CB98BA47F3B419059F5B92CDA21412D3A92ABA87F3B41C022DBB919DA2141EEA7C60BAD7F3B414875029A06DA2141828CB92BB27F3B416007CED9F3D92141B51E858BB77F3B4198900FFAE0D921410C71AC0BBC7F3B4188900FFAC9D92141243A926BC17F3B4148355E3AB5D92141808CB9ABC57F3B41503EE819A2D92141253A922BCA7F3B411875021A8BD921410C71AC8BCD7F3B41E8E236DA75D921411071AC0BD27F3B4100E336DA60D92141263A922BD57F3B41186C787A4DD9214198559F6BD97F3B41206C787A3CD921410E71AC8BDC7F3B41E8E2361A2BD921417D8CB9ABDF7F3B41386C78BA19D921412A3A920BE37F3B4188C7297A04D921417E8CB96BE87F3B412875029AEFD821411271ACCBED7F3B41D81951DADAD8214198559F2BF27F3B41C81951DAC5D82141808CB9ABF77F3B41C8E2361AAFD82141EEA7C62BFD7F3B410875025A98D821410C71ACAB01803B4110A3923A81D82141848CB96B06803B41E8D9AC3A68D82141EEA7C6EB0B803B4118A3927A51D821417C8CB96B12803B41E010C7FA3AD821415CC3D3EB17803B4130A3923A24D821415DC3D34B1C803B4100A3923A0FD8214195559FCB21803B41286C787AF8D721411271AC0B27803B4100E3369AE5D72141F2A7C64B2E803B4170F5B95AD3D721411271AC8B35803B417087851AC1D7214164C3D3CB3C803B41F8A292BAAED72141828CB9EB43803B41907EFB7A9ED7214192559F0B4B803B41E810C73A8CD721419B559F2B52803B4160F5B9DA7BD721411371AC8B59803B4150F5B99A67D72141ECA7C6CB60803B4178BE9F5A55D72141B81E852B68803B419087851A41D721411371AC6B6F803B41807EFBBA2ED7214191559F6B75803B4198B5153B20D721411671AC8B7B803B4140F5B99A0FD72141828CB96B81803B41382CD41A03D7214199559F6B87803B41C047E17AF4D62141B81E850B8D803B41C89908DBE9D62141243A92AB92803B41B07EFB3AE1D62141BB1E858B96803B41089A081BD4D6214196559F6B9A803B4168B515FBC8D62141B81E852B9F803B41702CD41ABCD62141B81E858BA9803B4178F5B99AA8D62141B61E854BAE803B41C047E1BA9DD62141BA1E858BB6803B4150EC2FBB8BD621410F71AC4BBA803B4150F5B99A80D621414903780BBE803B4140EC2F7B75D62141480378EBC4803B41F899081B69D621412A3A92EBCB803B411863EEDA5AD62141838CB9ABD3803B4168B515BB4ED6214192559F4BDB803B4178F5B99A46D62141BA1E850BE4803B41D0D022DB3CD6214196559FABEA803B4158B5157B32D62141263A92ABF0803B41E0D022DB23D62141283A92ABF6803B4168F5B95A15D6214198559F8BFC803B41485A64BB08D621411071AC6B02813B411063EE1AFCD5214160C3D36B09813B41105A64BBEDD5214195559F6B11813B41A87EFBBADFD52141283A92AB18813B4100917E7BCBD521411071ACAB26813B4108917EFBBED521410E71ACCB28813B4160B5157BBDD52141808CB96B2E813B41F0D022DBB4D521410C71AC6B37813B41E0073D1BA7D521415EC3D34B41813B4118917E7B99D52141F0A7C60B4B813B4188EC2FFB8DD521410C71AC0B54813B41F0073D1B82D52141D0DEE0CB5D813B411863EE9A76D52141CCDEE06B67813B4180234AFB6ED52141EEA7C6CB6F813B41D0D0221B69D5214164C3D36B78813B41D0C7983B61D52141D2DEE00B81813B41089A085B59D521413EFAED8B89813B41D8C7987B51D521415EC3D32B91813B41F0D0225B49D5214140FAEDEB97813B41D0C798FB3ED52141F4A7C68B9E813B41B03E579B34D52141ECA7C6ABA5813B41C03E575B24D52141EBA7C6CBAC813B41E0073D1B14D52141EDA7C62BB5813B41009A081B00D5214142FAED6BBF813B417075719BEED42141CBDEE08BC7813B41E8C7987BDED4214140FAED8BCF813B41205A647BD0D4214160C3D3ABD6813B41C0073D1BBED42141283108CCDE813B41089A081BAED42141F2A7C62BE6813B41987571DB99D42141B615FB6BED813B417875719B87D42141CFDEE0EBF4813B41B875715B71D42141B915FB4BFC813B41F05964FB5CD421412A31088C02823B41E0C7987B48D421412631080C08823B41F8C798BB33D42141B815FB6B0D823B41305A64FB1ED42141D0DEE00B14823B41D0C7987B06D42141D0DEE08B1A823B41D835CDFBEFD32141086822EC1F823B41C0073D1BDBD32141BA15FB6B25823B4158E3A55BC4D32141D4DEE0CB2A823B4170AC8B9BAFD32141984C152C31823B41E0073D1B9BD32141B715FB8B36823B41D8C7983B86D32141046822EC3C823B41B835CDBB71D32141B515FB4B43823B41F8907E3B5DD32141984C15CC48823B4160A3017C46D321419B4C154C4D823B41B0C7987B2FD32141B815FBCB4F823B4170AC8BDB19D321412631080C52823B4158AC8B5B06D32141984C156C53823B41A835CD7BF0D2214160BA490C55823B4108C898BBD8D22141984C154C57823B4168AC8B1BC5D221410A68228C59823B419075719BB1D2214165BA49AC5B823B4160A301FC9FD221410468220C5F823B41B835CDBB8AD221415BBA498C62823B41381AC05B75D221419A4C15EC66823B41281AC05B60D221417C832F4C6A823B4140AC8B1B4BD22141F49E3C8C6C823B4160A3017C37D221419A4C15AC6F823B41301AC01B26D221417A832FCC72823B4160AC8BDB14D22141076822CC75823B419835CD7B05D22141EE9E3C8C79823B411851DA5BFAD12141964C154C7C823B4138DA1BFCEED12141D4D5560C7F823B411051DA9BE3D1214160BA498C85823B4168AC8B1BCFD121410868222C8B823B4140DA1B7CC4D1214164BA490C8F823B41101AC05BB9D12141F49E3C8C95823B4150A301FCB0D121417A832F4C97823B419035CD3B95D12141CED5562C99823B41281AC09B87D121415EBA490C9A823B41806CE7BB79D12141EE9E3CEC9C823B4140E3A55B6ED12141D2D5568CA3823B4170A301FC63D121413EF1630CAB823B41201AC0DB5DD121413EF163ACB3823B41501136FC55D1214146F1630CBA823B4150AC8B9B51D12141EE9E3C8CC1823B412811367C49D1214178832FECC7823B4168AC8B1B45D12141F49E3C6CCF823B41281AC0DB3ED121415EBA49CCD5823B413811367C38D12141172FDD44D9823B4170006F0134D121419106F0B6D4823B4158302A6926D12141A813D004D3823B4188D0B35921D1214112BE3019CE823B41009F3CAC12D12141A4F831E6C2823B4158931844F1D02141FB065F38DC823B4130F6975DCFD0214164BC7473D6823B4160B07228BED02141BECAA1C5EF823B41305C8F429CD02141E202098AF5823B41A0B43778ADD02141805149FDB5833B41C83B4ED1ABCF2141245305A3DA833B4160C1A82419D021414AE17A14FD833B4180029A08EBCF2141C2C11766FB833B419006F0D6E6CF2141D566D5A73C843B4128AD695E7ECF2141AE7746D14F843B41C0127AA45CCF21416B75DD5661843B419809FE8437CF214125523A1271843B41E07F43510FCF21417494E8E07E843B4170BF5661E4CE21416ACDAAA48A843B4198994113B7CE214156D3BC4394843B41B0703DCA87CE2141A8F1D2CDBF843B415832557091CD21410C93A9C2AC843B41D0B584FC83CD2141E00B9369EA843B41F0E53F2427CC2141F9EDEB401A853B4138C05BA0C4CB21413CE745EB25853B41D87EE60EA6CB2141381D55CD32853B41A05D388389CB21418CEEBFD040853B41C012D72E6FCB2141F0BB36DD4F853B414026703F57CB214132159ED85F853B4138B489DE41CB21411A043CA770853B4130623A312FCB21413726E82B82853B418008E9571FCB214159423E4894853B41E07A146E12CB2141AE1C5A443D863B41F068006FA9CA214164DE710A42863B41E81B7C61A6CA2141F9CBEEC946863B41808CB92BA3CA21410E9C33824B863B4190711BCD9FCA21413033333350863B4138CB10479CCA21419F23B9DC54863B41B0627F9998CA21417F3F357E59863B41709318C494CA214116E258175E863B414082E2C790CA2141AD9DEFA762863B41202FDDA48CCA21416444692F67863B4170F5B95A88CA2141CABAB8AD6B863B41A03099EA83CA21415EEE5A2270863B41A0F3FD547FCA21410F560E8D74863B41F88616997ACA2141CCBAB8ED78863B41E04603B875CA21415BCC5DCB80863B4160EC2F7B49CA214162EE5A22A5863B416810587938CA21413A355E7A17873B41C8CFD5D679C92141B27268F120873B41E0BCE3546AC92141F4C2648A2A873B41489D80265BC92141C8E53F4434873B4190711B4D4CC921415E764F1E3E873B4188B96BC93DC92141C27D1D1848873B41D0E3149D2FC92141CC4D623052873B4110F016C821C92141F341CF665C873B41C0CCCC4C14C9214109A392BA66873B41E8B0502B07C921419C67B32A71873B41A0416065FAC8214122F46CB67B873B4148EC2FFBEDC821410D363C5D86873B41D8B12EEEE1C821414AB6F31D91873B4180FF903ED6C82141506210F89B873B41781F63EECAC82141F8C264EAA6873B418848BFFDBFC821414AE17AF4B1873B41C08C286DB5C8214143CF6615BD873B41E05A423EABC8214144F1634CC8873B41B8C48F71A1C82141F6065F98D3873B4118022B0798C8214182E2C7F8DE873B41701283008FC82141F29E3C6CEA873B41F063CC5D86C8214174CE88F2F5873B4170ADD81F7EC8214166DE718A01883B419814AE4776C821411B6A4D330D883B4120CF66D56EC821413BFAEDEB18883B414095D4C967C82141C40E9CB324883B41D09C112561C821416EF0858930883B41D866D5E75AC8214194438B6C3C883B41D017261355C82141C0F5285C48883B41F841CFA64FC82141703D0A5754883B41108A1FA34AC82141A323B95C60883B4120A7E80846C821412B31086C6C883B41F03D79D841C82141915CFE8378883B412085EB113EC8214158D3BCA384883B416058A8B53AC82141A4EFA7263E8A3B41C8270F0BC8C72141979999D95B8A3B4110E258D7C0C721415BF5B99A798A3B41589D80A6BAC7214178029A68978A3B4190EB5178B5C721413980B740B58A3B4198CCCC4CB1C72141BC64AA20D38A3B41202FDD24AEC721416C666606F18A3B41B8240601ACC721410EE9B7EF0E8B3B41A09BC4E0AAC721410AA392DA2C8B3B41F86E81C4AAC72141758A8EC44A8B3B41086822ACABC7214160CC5DAB688B3B4168621098ADC72141241FF48C868B3B41C06F5F87B0C7214198E61D67A48B3B41C859F579B4C72141526B9A37C28B3B4188FB3A70B9C72141A82C43FCDF8B3B4188C2F568BFC72141383CBDB2FD8B3B41B01C5A64C6C7214142F163EC848C3B41B8C8767EE8C72141A0CA7AF8928C3B41B87414ECEAC72141F8DDE011A18C3B4118990121EBC72141B8692322AF8C3B41F0F1E91CE9C721414439DE12BD8C3B41C03303E3E4C72141824BDFCDCA8C3B4158EE077ADEC7214195294A3DD88C3B41A0D82CECD5C721414EB5BA4BE58C3B41B88E1047CBC72141203867E4F18C3B4148E3A59BBEC72141D65F766F098D3B4148EC2FBB8EC72141C86D34A0308D3B41706DC57E4AC72141E4839E8DB88E3B41E80968A2A4C221418BA757EABD8E3B41482BF69751C22141049A081BDB8E3B4158AA60D42CC221418CB96B09E58E3B4150780BA4ACC121414D6210F8218F3B4128EBE2369AC121414672F96F288F3B41C8EC9EFC8DC12141B1BFECFE2E8F3B41886ABCF481C121413AF8C2A4358F3B41101B9E1E76C1214187C954613C8F3B417091ED7C6AC121412E211F34438F3B414804560E5FC12141E2B5841C4A8F3B41D8BCE3D453C12141E973B535E28F3B41781B0D6060C02141E6B5849CF98F3B41584AEA443AC02141D44D62B010903B41381CEB6213C021410FE02D7027903B4168A301BCEBBF2141443EE8D93D903B41C8CEF753C3BF214161BA49EC53903B41C00C712C9ABF2141182653A569903B416827A04970BF2141068195037F903B41300DE0AD45BF2141E0A59BA4BB903B4158B6F3BDCABE2141E9BE0E5CBF903B4118984C55C3BE21411E4A7B23C3903B41184D840DBCBE21418D8785FAC6903B41D078E9E6B4BE2141A0923AE1CA903B41F09B33E2ADBE2141733D0AD7CE903B412892CBFFA6BE2141856CE7DBD2903B4128C9E53FA0BE21416A4DF3EED6903B41789CA2A399BE21416029CB10DB903B41D030992A93BE214133894140DF903B4150BD52D68CBE21416488637DE3903B41706666A686BE214192D409C8E7903B41E0F5289C80BE21417E24971FEC903B41B08F31B77ABE2141420AD783F0903B4188EB51F874BE2141281895F4F4903B41408941606FBE2141D43B4E71F9903B410832E6EE69BE2141413EE8F9FD903B4160C1A8A464BE2141E6839E8D02913B41582575825FBE2141E595B22C07913B41B09465885ABE2141901804D60B913B4120B4C8B655BE21413255308A10913B41F04C840D51BE21419ED4094815913B41485F078E4CBE214131B29D0F1A913B411810E93748BE21418CDB68E01E913B41905E290B44BE214163FE43BA23913B41B04B370940BE21411C3FC69C28913B41582041313CBE2141D06F5F872D913B417893188438BE2141EFEBC07932913B4178B7400235BE2141B30C71CC4E913B41D058177721BE2141D06F5FC74E913B4140D8F0B416BE2141CD88D29E4F913B41403A920B03BE214177A52CC350913B41E899081BF8BD2141D3F0F44A53913B41F00968E2E5BD21412C6EA30154913B4128DBF9BEE0BD2141769CA20356913B41282DB21DCFBD2141B247E1BA55913B4160DA1B7CBFBD2141604BC8A755913B410886C954BEBD2141666666A654913B41B89465C8AEBD2141324ED17153913B410045D8B0A6BD2141871F630E4E913B41287F6ABC95BD2141A6E8484E4B913B41102653C576BD2141280F0BD54A913B413010E9B75CBD214106560EED4C913B4170D5E76A3CBD2141B4847CB04E913B419834803721BD2141383CBDD251913B4198DFBE8E0BBD2141C1F5289C52913B41E8482EBFF8BC21410C83C0CA58913B41C02B6519DCBC2141868EE49263913B418095438BB4BC2141F31FD24F66913B4180A3017CA7BC2141C398BB566C913B41B823B9BC8ABC2141D6CEF7D370913B4190DD938781BC21414850FC187A913B41D88E53F463BC214113E258377D913B41B033A23455BC214158B1BFCC80913B41C064AAA04CBC21411773D7B284913B41D0F528DC45BC214130B29D0F87913B415807CE193CBC2141D288D29E8A913B4148DF4F8D26BC21415A39B4888D913B41F0F0F44A14BC2141808CB9CB94913B417019E25808BC2141758104259E913B4148C1A8E4F6BB2141B637F8E2A4913B41F02D90A0E5BB214112F241AFAD913B41E89E3CACDCBB2141C00E9C53BB913B4180F7E461D2BB2141D734EF78C7913B4160302A29CBBB21410C83C0AAD8913B41D8ACFA1CC6BB2141B7A67967E7913B417851499DC5BB21417D832F4CF1913B418845B673C6BB21419E8026C2FD913B41B0DE710AC1BB2141DA6800AF09923B4198B43738BDBB2141C710C73A11923B410867D5E7C0BB2141FE088ADF22923B41C854C1A8BEBB2141652BF61739923B41F0065F18B9BB214170F0856943923B41B8270F0BBABB21413A4ED1314C923B4118C9E5FFB7BB21414A74249752923B41F8C876BEB2BB2141D434EF185B923B4100A167F3B4BB214185DB68205D923B4110143FC6B5BB2141A9CFDB8455923B41F0279A778EBB21417564F4A54F923B4160BB81FC65BB21414448128F4B923B41B8F562A33CBB214179AE214849923B41602259BC12BB2141DEF58BD548923B4148809298E8BA2141AF1C2F384A923B41C0F9B289BEBA21419C125C6D4D923B41D0F935E194BA2141D9EBDB6E52923B41D890D0EF6BBA214141EBFB3259923B41B016D50444BA2141664CA0AC61923B41007F996D1DBA2141DCA85DCB6B923B411885E174F8B92141E1C7987B77923B41F8D24D62D5B9214110022B87A4923B4180EB51F85AB92141B27BF2F0AA923B41084CA68A49B92141C876BE9FAF923B4168E926B13CB921413CA4DF3EB4923B41603789C12FB9214160105899AD923B418816D94E28B921419C80264220793B417044696F1CE9214160A1D6F41C793B4148A7E888EFE82141CC6F5F4714793B41F84603B8F4E821419D89B0610C793B41B03C2C9405E9214182D93D990D793B4108C1392316E921415B8638960E793B418073469423E92141E1361A2016793B41205C8FC25DE92141AA57CA1217793B41180DE02D59E92141152FDD8418793B414045473252E92141933A01ED1F793B417036ABBE1EE921419C80264220793B417044696F1CE921415C302AE9E8753B4180A52CC378EA214176711B4DDF753B41885149DD80EA2141A4F831C6D5753B414094F6868DEA21412697FF70CB753B4180A757CAA0EA214182D0B339C2753B41602BF657B4EA214148E17AD4B8753B412073D7D2C4EA2141B86B09D9AE753B41D00512D4CCEA2141589FABEDA3753B41D89AE69DD7EA2141267E8CD999753B41982C431CE1EA2141F8B0504B92753B41D8D8CEB7E6EA214198D409888B753B41F84A59C6EBEA2141D01B7C6189753B41686EA3C1EFEA2141E27A146E88753B419806F096F8EA2141F653E32589753B419089B0E104EB2141FEF6758086753B4148F5B95A16EB2141E3718AEE82753B4198CDAA8F24EB2141301895347D753B417882518937EB2141BBC876BE88753B415886385628EB214123DBF97E97753B41D822DBF916EB21414B4772D9A2753B4190DA8A7D05EB214166D5E70AB3753B4170EE5A42F5EA21416EA301BCBD753B41D0E53F24E8EA2141DC1B7C21C6753B4110FF213DE1EA214115265345D3753B41E8051214DDEA21416F68910DDF753B41D02B6559DCEA21415AC1A8A4E6753B41B015FB0BDCEA2141F4285C6FEB753B41403A920BDEEA21418E976E72F2753B41D09E3CACE6EA2141D8817306F9753B41201214FFF5EA214184D93D3901763B41306FF08509EB21416B4469AF06763B419016D98E18EB2141462575C20C763B4118D9CEF723EB214160FE43FA16763B41580E2DB22FEB2141861F632E22763B41A04160E537EB2141BE5B20212E763B41C839234A40EB21412A8716F93C763B4150C1A8E444EB2141151DC9254A763B41F8CBEE0946EB2141CA1951FA55763B4198F2B09044EB214140575BD15A763B41584ED1D145EB2141B3B88D4666763B4148C9E53F44EB2141EA839E8D72763B41604BC80736EB21418048BF9D7E763B4118FBCB6E1FEB2141F7065FB889763B41184A7B4300EB2141CF4D62B090763B41A0E8482EF2EA2141374ED1319A763B4190B0E129DAEA2141B837F802A0763B41D8B5847CC6EA2141EF1648F0A5763B4118948745ABEA214186EB51B8A9763B41A8E1E9957CEA2141280F0B35AA763B41A0B20CB15DEA21411CAE4701AB763B4110E9B7AF45EA2141F09E3C8CAC763B41701B0DE02DEA2141D22B65D9AD763B416839B4C819EA214192C2F588B3763B41B0703D4A02EA2141AC0C710CBA763B41C8CCCC8CEFE92141206C78BAC0763B4130C4B1EEE5E921416E469456CA763B41104FAFD4DDE921419FCDAA8FD7763B4148234A3BDEE921418AFD6597E4763B412051DA9BE1E9214138674409F0763B41C098BB16E6E921412DFF215DFA763B41B8A67947EAE92141D05D4B6807773B41A875719BE7E92141110BB5C610773B418859F539E3E921413C3EE87918773B4168E5D062DBE9214167E5D08223773B41004CA60AD2E92141666FF02531773B41E03D79D8C7E9214139CD3BEE45773B41F053E365B9E921413C8B6CC73A773B41108A1FA3B4E92141AC35CD5B31773B4178EB51F8B0E9214106F9A04726773B4128D26FDFACE9214164DC462319773B4150105839ACE921412D4CA6EA0D773B41687B83AFACE92141B47268F101773B41C88F31B7AFE92141C45B2001F2763B41E08C282DB6E9214167226C98E5763B4178734694C0E9214162105899DC763B41F03A700EC5E92141A001BC45D1763B41088E7571CAE9214130431CABC9763B41500378CBD0E921410A93A902C0763B411841F1A3D9E92141E651B89EB9763B41905E29CBDEE921413C355E9AAF763B41E8915C7EE1E921414A257562A8763B41A85374E4E1E921411083C04A9F763B4150E3A5DBE7E92141E25817F793763B416836AB3EEDE92141A957CA1288763B41C037F882F5E92141AA3E571B79763B4198FF907EFEE92141B0D85F3662763B4148C807FD0CEA2141FEEDEB0054763B4130BF7D1D10EA2141E88C28ED45763B41804DF30E17EA21410BD7A39039763B41D86A2B361CEA21414F96216E32763B41A882514929EA2141F263CC1D27763B4118143F4640EA2141B08D06901D763B4130F1F44A4EEA2141EC1FD2CF11763B41308195435BEA2141AC9465E801763B41884BC80767EA2141FE43FAADF1753B4180A1D6F471EA21415C302AE9E8753B4180A52CC378EA2141EC164870DE743B41E0A14536C0EA2141C37493D8DB743B41487B83AFC8EA214116B7D1A0D8743B4138477239DDEA214103E78CA8D4743B4198DB6840F1EA2141285C8F62CF743B4138D49A6608EB2141ECC9C3C2CA743B4110098A5F1AEB2141D1DEE0CBC6743B4150D3BCE32BEB2141243108CCC1743B41B86B093941EB214110E9B70FBE743B41605F070E54EB214173810465BA743B41D8C342AD6AEB2141861F63CEB8743B41285305A374EB21410466F744B6743B4188B0E1A97EEB214121C9E5FFB2743B4110098ADF87EB21415E29CB90BE743B4158E5D0E27EEB214156D3BC03C5743B417850FC9877EB214150401381C9743B4180711BCD6FEB214152D191DCCB743B4120B5A67962EB21415D8FC2F5CB743B41382AA99351EB2141501E164ACA743B41F0FEB23B3DEB2141AC825149CF743B4148F5B99A2DEB214120D26F9FE2743B419806F0D600EB2141D6B359B5F0743B41B088D29EE7EA21415A423E28FB743B41C854C168D8EA214133C4B12E04753B4160BA49CCCFEA21411E4A7BC30C753B41B839230ACEEA2141117C615217753B4188AA60D4C4EA214130211F7421753B4100819583BAEA2141463789A12B753B4140D6C52DB7EA21413F1361C331753B41C04B37C9B4EA2141575BB1FF39753B41B8FEB2FBA8EA21419CDD936743753B41C87F487F9AEA2141C27493584D753B4138AD691E93EA2141236C785A5A753B419095438B8AEA2141D81B7C616A753B41004CA6CA79EA2141BEE3143D79753B4170D93DB96BEA2141B0BFEC3E86753B41F08AFD2563EA21413290A09894753B41D842ADE95CEA21414A3789C1A2753B418051499D59EA214198B20CF1B1753B41B803E78C5DEA21413ADF4FCDBB753B41A02C431C5FEA214149575B31C4753B4150703D4A60EA214104E78C68C9753B4148E7FBA95CEA2141180DE04DCF753B41486C783A56EA214127C28627D5753B41B004C5CF48EA2141859ECD0AD6753B4140F5B91A3BEA2141733D0A97D8753B4130AB3ED72AEA2141CEDEE08BDF753B4168EB51B81BEA2141188C4A2AEB753B4178855AD309EA214136EF3805F7753B41404772F9FBE9214124A089D001763B418816D9CEF6E921410C71AC8B0C763B41B8BFEC9EF2E921416107CEB919763B4180A98211EFE921413C1AC0BB22763B41C030996AEEE92141B325E4032B763B4130992A98E9E921411FFDF61538763B4178DE710AE0E921419B438BCC46763B4148D3BCE3DBE9214146E17AB458763B41D8AACF95D4E9214168D5E78A64763B41D8C48FB1CEE921415E07CE196F763B41886CE77BC5E9214165DE71CA7F763B419889B0E1B9E92141C6A145B68A763B41E8DBD7C1B2E92141D6C56D1495763B4158DA1B7CACE92141ADE1E9F5A1763B4170764FDEA5E921419D923AC1AC763B41B045B6B3A0E921411CAE4741B9763B417058A8F59FE921418FED7C9FC3763B41C056ECAF99E9214102BC05D2D0763B4140E8D92C8EE921416E469456DD763B417810587985E92141F6C264AAE9763B4198218EB57FE92141A2B43738F5763B41A0B0E12974E9214156D3BCA300773B4198923A416DE92141A8DFBEAE08773B4190B0E1A967E9214113A5BD810F773B4158FC18F363E92141114FAF5416773B41F847503C60E92141CCB359D51F773B4140FF21FD65E921417AC0CA4128773B4100A245766BE92141B89690CF2F773B41E01E856B6DE921414A9D800636773B41E09C11A56AE92141AE7BF2B03A773B41A8F6065F66E921413A5EBA893E773B41B8CAA14566E92141A2D6342F43773B41A05CFEC36AE92141DFA59B044B773B4188F90F6968E921417ED93D1955773B41186F81C45CE921414279586861773B41A83E579B50E9214155AF94A56D773B4108DD248645E921416CF7E4217E773B41A02E6EA33CE92141B4C876DE8D773B4140BE30D936E921416E3480B79C773B41C096904F36E92141B89F1A6FAC773B416095D44939E921419C67B38ABB773B41F08E53343DE92141E6D9ACDAC4773B4148E8D96C3DE921417C8CB9EBD4773B412093A9023BE9214128A08990E7773B41704469AF32E921418416D98EFA773B41703480F724E92141F4285CAF0F783B41C830996A1EE92141B4DA8A1DEA763B41F86A2BF676E821410688F47BAA763B41285986B883E82141DEA59B44CF753B41B025E44306E921414160E5B0CD753B41909BC460FDE82141D2F7532345743B4120D7A3B013EA214108D7A3B03D753B41D0E76A2B21EA214127A089B040753B41B8F3FD5421EA2141AF7268B1E4743B418036AB3E96EA214196C420B0F6743B414859863897EA214163E5D022F3743B41F80FE9B79CEA2141E402096AEE743B41606DC57EA6EA2141A9BDC1D7E6743B41F06C56FDB2EA214184F4DB77E1743B41F8D85FB6BAEA2141EC164870DE743B41E0A14536C0EA21418C4AEA245B713B41F824060197ED214110E9B74F64713B419826C24693ED2141B4D100BE6C713B4100DE02C988ED2141999999D976713B41C03923CA7DED214134D49A2681713B41504ED11177ED2141B2B662DF89713B412022FDB66BED214170D5E72A93713B41E852056362ED2141AEBFEC3E9E713B41386744A94FED21412631086CA9713B41B815FBCB37ED2141FCA9F192B5713B413880B70023ED2141B8A67987BC713B415827A08919ED214160CC5DEBC6713B4120C4B16E11ED2141E4B584DCD0713B412880B74010ED21415A7DAED6DB713B4188EB513811ED21417D2F4C66E3713B41A0976E9211ED214162CC5D4BEB713B4128A089F011ED2141A23C2C34F6713B4148CF669517ED21414647725902723B41A00A46E51FED2141A857CAB20C723B4128BB278F2AED2141B025E4E317723B414862101833ED2141663BDF8F20723B41E0EEC9C33AED21411283C08A26723B4110FBCBEE3AED2141192FDDA42F723B4158AF942539ED214144BF7D5D37723B41C0A679C733ED2141F57C3FF540723B4100B5A6F92DED21413BE8D94C49723B4118D7A3B029ED21413A0AD7A350723B4148FDF6352AED2141A43E57DB58723B4108B1506B2BED21410BD7A3705D723B41D051B85E2FED21413667444963723B4118EBE2B638ED2141F0C9C3A26D723B41E01FD2AF43ED214132E6AEC576723B41E0B9DA0A4CED2141DE5817177F723B41D0BAB8CD52ED2141240F0BD587723B41B0779C225AED2141817346548E723B41F850DA1B64ED214122F697BD95723B41D0779CA26AED2141B86B09D99E723B4100C58F7173ED2141BE172613A9723B41189C33A275ED2141F20DBE70B3723B41307FD93D79ED214160325590BC723B41980D4FAF7AED214195779C62C8723B41A887859A79ED214162764F5ED9723B414019E21877ED214116E25857E8723B412851DA9B73ED2141EEFDD498F6723B4190AA601474ED2141D2F753E3FF723B41705AD37C76ED2141EE9E3CAC07733B417816D9CE7AED2141BCAF03870D733B415059867880ED2141847346B414733B41C088D29E8AED2141EAF21FF224733B41E851B81E97ED214145F1634C26733B41684C158C98ED21410C71ACAB31733B41D0CCCC8CA4ED214174029A283C733B4120D7A3F0B0ED21419C01BCA542733B41A8ABAD98BEED2141BA9690AF49733B41A03C2C54C7ED2141287502DA52733B4178B5153BCFED214122F46C365A733B4168B515FBD2ED214172CE883263733B4118A5BD01D3ED2141241895D46A733B4198ED7CFFCEED21411AE2589774733B41C054C128CAED2141EC85C9547A733B41D0073D5BC3ED21413AB4C8B680733B41102DB2DDC0ED2141CA32C4F187733B4168931884BFED2141ACB6627F8F733B410069002FB9ED2141CA2B651995733B4170B4C8F6B0ED2141C810C7BA9E733B41F04A5906A7ED21413EBD5296A4733B41386744699EED214122166A0DAC733B41A8C4207099ED2141FF285C6FB2733B41F87B61F296ED2141801D38E7B7733B41505452E797ED2141247E8C19BC733B41C8C1172697ED2141B2E1E935C1733B41E8B27BF292ED2141FAB9DA4AC6733B41C020B0328FED21413A4ED111CD733B4140B515BB8DED2141F3B0502BD5733B41A8A44EC090ED2141E2A59B04DC733B41A002094A95ED214173C5FEB2E2733B41D8E314DD98ED214124A91330EC733B4178029AC89BED2141E73FA4BFF4733B4130FF213D9BED2141F0B0508BFD733B41D0BB051297ED2141E8B5845C05743B41F89D5EA98CED214198218ED50F743B4148B81E4579ED2141BCA8A42E19743B41E078E9E661ED21413EFAEDAB23743B41C0D32B2547ED214194B20CD12D743B4120AF25242EED2141391AC03B39743B41D82B65D916ED21419F01BC8543743B41C83E57DB09ED2141B01C5A444F743B41281FF42CF8EC2141F60FE99759743B4148F1630CE7EC214146E17A3464743B4120E10B13D5EC21413ADF4F0D6B743B4140ED0DBEC0EC2141E261A1D66F743B41C0AF03A7A8EC21411C48505C74743B41886588A394EC214196B20CD177743B41C0C876BE7BEC2141EBD0229B7A743B41083D9B9569EC214150FC18F37D743B4110D044185DEC2141C042AD6983743B41F845257553EC214199E61D8785743B410054E3A54FEC214130E6AEC570743B41C86D344054EC2141EA9E3C0CC7733B41A08A8EE479EC214170567D2E18713B419823B93C12ED214154CA324426713B4188B81E453CED21410EF9A06724713B419059F5B95EED2141CC4D62B01F713B41B8802602B6ED2141F63A70AE25713B41E0460338B6ED2141078A1F6333713B41E0BB0552B1ED2141841D380740713B41B0EC9EBCAAED214197DD936749713B413894F6C6A3ED21415639B48853713B4100AAF1129CED21418C4AEA245B713B41F824060197ED214112022B676E6F3B41E89D5E69ACED21410A8A1F43676F3B414872F90FAFED21412FE6AEA55E6F3B4190DB6800B2ED214122871639556F3B41909A779CB3ED2141C6B12E8E4A6F3B412890A0B8B6ED214158EC2FBB3E6F3B4190999999B9ED214143795888376F3B41800B2468BDED21410FA5BD21306F3B411868226CBFED2141E673B5D5276F3B41181973D7C1ED21412C2AA9D31F6F3B4188E09C51C4ED2141D33B4E11176F3B41C096904FC4ED214144A4DFFE0B6F3B41D061A1D6C3ED21417C9CA2E3026F3B41686891EDC4ED21415ECC5D6BFA6E3B4160355EFAC4ED21418D3A018DF46E3B41B003E78CC5ED21412A068195ED6E3B41401136BCC4ED21419AFF90BEE76E3B41B047E1BAC4ED21411AFBCB8EE16E3B4150CE88D2C5ED2141F8CBEEE9D86E3B4198CFD556C9ED214178C7297ACE6E3B41B079C7A9CDED214178C729BAC26E3B416006F016CCED214166D5E76AB36E3B41588B6C67D7ED214194A982D1A46E3B41C022DB39DDED2141B515FBCB966E3B41088C4A2AE3ED2141F441CF06926E3B41601B0D20E5ED214192E4F27F8E6E3B41E83C9B95E5ED2141113FC6DC886E3B41D0BFEC5EE7ED21416A19E258866E3B41206A4DF3EAED2141201059E8856E3B41F8060F9EECED2141B538C48B856E3B413067955BEEED21413C99E943856E3B41E0992728F0ED21414AE26211856E3B41B07FECFFF1ED214127269CF4846E3B417005F3DEF3ED2141A6F1D2ED846E3B4198923AC1F5ED2141ADB0B097856E3B4198FAB4E3F7ED21410C3FFA5A866E3B4170DB15E3F9ED2141CEC0E235876E3B41A067A6BAFBED2141C69B6526886E3B41C8C60D66FDED2141C63A4B2A896E3B41C8565BE1FEED2141EB482E3F8A6E3B4128F90F2900EE2141F041CFE6936E3B416007CE9905EE2141870D4FAFA36E3B41602CD41A0BEE214160984CD5B76E3B41F841CFE610EE2141F6C2644ACC6E3B4108492EBF0DEE21418806F036E06E3B419866666610EE2141D7096842EB6E3B41D01E852B11EE21419ED634EFF86E3B4158D1911C10EE2141FFBB0572006F3B4140234ABB13EE21414C742497076F3B41486F81C419EE2141DCC56D54126F3B4118A7E8C818EE2141F6C2640A1D6F3B4130A2B4F718EE2141C2051234216F3B4198B4377817EE2141396744E9276F3B4130A913D011EE2141C9C3420D2F6F3B41406744290FEE21413CF1630C366F3B414072F98F09EE2141142FDD243E6F3B41985CFE83FFED214157423E48466F3B4110FBCB2EEEED21413F575BB1506F3B41A06588E3DEED2141C7C342AD5A6F3B41F043FA2DD6ED2141C09F1A4F646F3B41685452A7D2ED21412CC286076C6F3B41107C6172C4ED21415C1058F9706F3B41F868002FB9ED2141109C3342736F3B41400AD763B4ED2141A49BC4E0746F3B4170469436B1ED2141767AA5EC736F3B4118E9B7EFACED214112022B676E6F3B41E89D5E69ACED2141B6627F99F5733B41B02E6E63F7ED2141EE1FD24FFE733B4120E9B72F0AEE214194976EF205743B41683D0AD720EE2141E0A59B8412743B4168D712F237EE2141C78F31771C743B41D8E9957244EE214106E78CE824743B4180D1001E49EE2141E07A14CE2D743B41F0D5566C4BEE214190A0F8D137743B41F8FFFF7F50EE21417112834043743B4190DB684059EE2141448B6CC74D743B41C0A8A4CE5CEE2141B294652860743B41D064AA205AEE2141C4E3149D73743B4198BDC19753EE2141E40434B17F743B41E834EFF84BEE214172CE88128C743B41103D9B1546EE2141927EFB5A95743B41D00B93E93CEE21416229CB909C743B41401E166A2DEE2141905CFEC3A2743B4170E2C7581AEE2141F9C2646AA8743B41B0A44E0003EE2141B269DE11AD743B4138477279E1ED214160C3D34BAE743B41A866D527C8ED2141C19F1AAFAD743B41700C02ABB1ED2141AB57CAF2AE743B41E08AFD259EED2141F261A156B2743B4198AE252490ED2141FD3A702EB3743B41B064AA2083ED21411C6C787AB2743B4130F9A0A767ED214132D6C52DB4743B4178CA320447ED2141205A645BB4743B41903C2C5424ED2141FC87F45BB6743B411831086C05ED2141B4A679C7BA743B41A823B9BCDAEC2141D368002FBE743B4180764F1EC6EC2141FDB27B52C0743B4128EBE236AAEC2141EED022DBC0743B41C0361A40A3EC214178931804C3743B41608B6CE781EC2141624BC887C5743B41A059F57961EC21416029CB70C6743B416027A0094DEC2141A63E57DBC5743B41D81B7C6141EC21413208AC7C97743B41305530AA4BEC2141FB065FF894743B41486891AD56EC2141F9A9F11290743B41F8E461A16FEC2141484772B987743B41786ABCB493EC21413EAD697E81743B4188E926F1A7EC21412241F1037D743B41E0E99572BAEC21415A39B4687A743B419016D9CED1EC2141FD088A3F74743B41A0EB51F8E4EC21411848507C6E743B41A0559F6BFAEC2141829ECDAA67743B41C0073DDB06ED2141D60968A25F743B41080C932915ED2141022B879658743B4198DFBE8E2DED214108A392DA4E743B4178006F4145ED2141CA32C4B132743B41B835CD3B7CED2141F24A59061D743B4138D57869A3ED2141589FABAD06743B4180D0B399CCED214145E8D9ECEC733B41509CA263EAED2141B6627F99F5733B41B02E6E63F7ED21412C3333D36B723B41708638D679EE2141A50A460561723B41303A924B68EE21415496210E51723B41480E2DF25FEE21416691EDBC46723B412885EB915CEE214134211F943D723B41D02406015DEE214178832F0C3A723B4100F775E057EE2141DA09680234723B41905B208153EE2141A111A55D2C723B4130B5A63952EE2141F0A7C64B23723B41E838454751EE21416ABC74D31E723B4198F831A65AEE2141C476BE9F1A723B41F064AAE05FEE21417A93180417723B41584AEA8456EE2141567DAE3611723B41A82A181549EE214152C1A8E410723B412088F41B67EE2141962A18F50D723B41985E290B8EEE2141265305030A723B4118E78C68B1EE2141019A083B09723B4160C0CAA1D0EE21413D79588802723B411851DA9BDEEE21418A635D5CFF713B4130CB1007E8EE2141A96054F2FE713B4110DCD741E9EE21417E8CB9EBFE713B4150BF7D1DECEE2141DE56ECCFFE713B41201AC01BF8EE2141B29DEF47FF713B41B80C716C0AEF214112F2416FFB713B41E80434511AEF2141C4293A32FA713B41A8D6346F1FEF214190B96BE9F6713B4160F2B0D02BEF214180AEB642F7713B4110E4835E46EF2141CEBCE3B4FA713B41200F0B3564EF21416C006F0100723B41103EE89978EF214130431C6B0C723B4150AF942592EF2141645452C718723B41206EA381ACEF2141463789A123723B41D8FC8734BEEF2141F64A59A62A723B41A8DE710AC6EF2141248716592B723B41F0F21FD2C6EF21419A779CE236723B4180D712F2CDEF2141F2F44A393E723B414850FCD8CFEF2141AABDC11743723B41E0BE0E1CD1EF21415CDC466351723B41805AD3FCD3EF214160764FBE5C723B41C8E53F24D1EF21416A2BF6D764723B41887CD073CDEF2141FAE461416E723B41B8847C10CFEF2141241895F478723B41E03B4E91C9EF214198779C6280723B41B0CFD5D6C9EF21412E211F1488723B4188CC5D0BC6EF2141C4BAB80D8E723B41E04F8DD7BCEF21417E6ABC1494723B4158BC74D3B2EF2141579FAB8D9A723B410022FDB6AEEF2141AAD6348FA4723B4180DCB5C4A0EF214194900FFAAD723B41786DC5BE88EF21411851DABBB7723B4128B7D14078EF21411261C3B3BA723B413880B7C070EF214170F90FA9BC723B4138C4B1AE65EF214180D0B3F9BD723B418806F09658EF21411FF46C16B7723B411006815561EF21419CCDAA8FB1723B41E078E9E65FEF2141B96B0959AC723B41285305A359EF2141F2EBC039A3723B41C035CD3B49EF2141A50A4625A1723B41005F988C38EF21417836AB3E93723B419006F09620EF21417AA52C4387723B41105839B400EF2141D6CEF7D37C723B414094F606E4EE2141051B9E3E79723B41D8FBA971CFEE21416CDE716A79723B4100DE0289BCEE2141184850FC78723B4110CE1911A8EE214138D6C5AD74723B4190C0CA618EEE21412C3333D36B723B41708638D679EE2141FDE461E11C713B41A03C2C1437EE2141AA13D04412713B4130E8D9EC32EE21412875023A0D713B413018959430EE2141CCFEB29BEB703B41E8E9953242EE214170567D0ECC703B4198ED7C7F2EEF2141FBDBD721B0703B413082E24713F02141E0581757B4703B41504BC8C715F02141701283C0BD703B418853746417F0214152621078C5703B41A0490C0220F02141BAF3FD34D0703B41F05F764F20F02141A2F83126D8703B41D05F760F1FF0214108CE19B1E3703B41D0CCCC8C0CF0214143B6F33DF3703B41D04082E2E8EF214136894180F6703B41989999D9D7EF2141E07A148EFD703B4110A7E808C3EF2141C3EC9EFC06713B41A8F83166A4EF2141D65F76EF0F713B41C096900F7AEF21413A82E24718713B41C08026424CEF2141F3EBC0D91F713B41A85E290B24EF21411495D4C926713B41D0CFD59605EF214100E78C882B713B41804C150CE9EE2141828CB90B34713B41F897DDD3CBEE2141EAFBA9D137713B41E8EEC983B1EE2141164850BC3B713B41D876BE5F9BEE214144E17AB43F713B41D01E856B84EE2141A65E29EB44713B41008E75317AEE214186C954C14C713B412092CB3F60EE21411B7C611245713B4148302AA95FEE2141CAB12E0E3D713B41E076BE5F59EE214168EE5A6235713B41A0C3422D53EE2141FCF675802D713B413085EBD14AEE2141D4D556CC25713B41085839B43FEE2141FDE461E11C713B41A03C2C1437EE214154F5B9DA1C703B418858A875E1ED214157EE5A020F703B411862A116D5ED2141C6BAB86DFF6F3B4108197357C5ED2141888EE452ED6F3B41F8770BE4B6ED21417614AEA7DD6F3B4120917E3BAAED21411C95D4C9D46F3B41003108ACACED2141381CEB02CC6F3B4110508D97B6ED2141422CD41AC46F3B41708104C5C2ED2141D4DEE06BB96F3B411831086CDAED2141A25E298BAE6F3B4168CE8812F5ED2141E6D0223BA56F3B41103FC61C0FEE2141A0CDAA6F9D6F3B41E0F97E6A21EE21419206F0F6926F3B4158D712F22DEE2141B1B6621F876F3B416086381638EE2141897CD053756F3B41085F98CC47EE214196E61DE7696F3B41A869DE315BEE21416EAC8B1B576F3B410854E3A56AEE21419B4C156C486F3B4120E4839E89EE21418004C58F386F3B41C03D79589CEE2141D7CEF7532A6F3B416829CB90ACEE21417EC0CA411D6F3B41A8AF0367B8EE2141A233A2F4146F3B4178C5FE72BEEE21417EE2C798096F3B41384547F2C1EE214121C9E5BFFE6E3B4108E02D10C2EE21414E0C026BF56E3B41D041CF66C1EE2141D4ACFA1CEE6E3B41184FAF94BCEE2141341AC07BE16E3B415027A009B4EE2141361AC03BD76E3B4118D7A3F0AAEE2141F4D24DA2CD6E3B41703D0AD7A0EE2141865AD31CC56E3B41E044D83098EE21411895D409BB6E3B41A00A46E590EE214116B7D160B76E3B419803E78C8FEE2141FC285CCFB16E3B418075711B8EEE2141B4726871AC6E3B4100B5A6398EEE21411848503CA76E3B41205839B491EE21410E2DB23DA26E3B41B065886395EE21419A4C15AC9E6E3B4188D2DEE096EE2141A2CDAAEF9A6E3B4198BB969096EE21412D08ACFC9E6E3B410810E977A3EE2141D612F221A46E3B41D878E926B4EE214154CA3224A96E3B41A8128300C5EE2141B737F802AE6E3B41D837F802D6EE21415E7FD9BDB26E3B416868912DE7EE2141CEBCE354B76E3B417024977FF8EE21410DF9A0C7BB6E3B41985817F709EF214141CF6615C06E3B4108AAF1921BEF214198FF903EC46E3B41E0F21F522DEF2141A6802642C86E3B41900E9C333FEF214184DB6820CC6E3B41086B2B3651EF21417CE2C7D8CF6E3B4128D0445863EF2141460C026BD36E3B4170E2C79875EF2141C58F31D7D66E3B41900F7AF687EF2141A835CD7BEE6E3B418887851A0AF02141E44603B8F46E3B4130E8D96C2CF021414450FCF8FB6E3B41C03099AA24F02141C900DEC2026F3B41A0B1BFAC1BF021411873D7F20C6F3B41988EE4B217F02141F43A70CE176F3B41C037F8C20FF021415E7FD9BD236F3B41C07D1DF803F021411C4A7BA32F6F3B41082E9060F2EF21413AD6C5ED3C6F3B41D0CCCC0CD8EF2141253108AC476F3B41B0FD65B7BEEF214131C4B1AE506F3B4130BD5296A6EF21418A4160855A6F3B41A8DFBE0E88EF214138EF38C5626F3B4120C286E76EEF2141F67E6ABC686F3B4140D6C5AD52EF214133992AF86D6F3B41F88E533428EF214160FE439A6F6F3B417048BFFD0EEF2141142FDD84736F3B41D09999D9F8EE2141A44E4073776F3B4188E2C718DCEE2141326EA3617B6F3B4138621058BFEE2141880D4FEF7C6F3B414070CEC8ACEE21410868220C7E6F3B41F8E3839EA5EE2141EAB7AFA3816F3B41F860C3D391EE2141156A4D938E6F3B41184FAF9476EE2141EA73B595966F3B41A89DEFE76DEE21412E3333D3A06F3B41D89AE61D69EE214136674449AC6F3B41302FDDA464EE2141B8270F4BB96F3B41E81B7CA16EEE21411E9E5E09C66F3B4170D634AF7CEE2141109C33E2CE6F3B41A85296A180EE21412E211F54E06F3B4110A392FA85EE21416A469416F86F3B41F89DEFA789EE21417AE9265111703B41F0FBA93190EE2141C6D32BA527703B415816D9CE96EE2141D4915C3E3A703B41001DC9E5A3EE2141EF2FBB6749703B41089F3C2CA6EE21419C2A181557703B41C020B032ACEE21419253744466703B41B04082E2BAEE21415E8FC2D574703B41D84603B8CCEE21418AEB515884703B4168BA498CE9EE214157A8350D94703B41E0B584BC09EF21419E23B91C99703B41681CEB621AEF21418CED7CDF9A703B41200DE02D20EF214141E17AF49C703B4100705F8739EF2141FB065F989C703B41706DC53E52EF21412EC4B10E9A703B41886E124366EF2141C0EC9EBC9A703B41B8E00B5375EF2141D4BCE3F49A703B414062101885EF2141A0CDAA0F95703B41386744A994EF214190CB7FA890703B41C8BCE354A4EF214178E9267190703B4198226C38C1EF2141F67E6A7C92703B41102653C5D4EF214181D0B39992703B41689ECD2AE6EF2141004D844D95703B4140CD3BCEF1EF214102F775E0AE703B41A04AEA4420EF214171567D6EC7703B4198E61D272FEE214183734614CC703B4180C9548101EE2141B815FB0BC7703B41D0B35975FEED2141905CFEA3BE703B41D8CAA1C5F8ED2141841F636EB4703B41D054C168EEED214138014D04A8703B4140E17A94E5ED2141BE1726939E703B41801B0DA0DFED2141698863DD94703B41E8285CCFDDED2141192653058B703B4190F2B010DEED214194779CE27F703B41A02A1895DCED2141F297DD5374703B414882E2C7D6ED214108C58FD161703B4150EE5A02D8ED2141F5A067F34C703B41E0AE2524E5ED2141D2915CDE3E703B41E8FDD4F8EBED21416AAA60D42D703B417891EDBCEAED214154F5B9DA1C703B418858A875E1ED21415C0E2D727E6E3B4158029A88BAEF2141BE1726B37F6E3B415039B448DAEF2141E27A14AE7F6E3B41F0263188FAEF214109560E8D816E3B41B840822217F02141E31DA768846E3B41A04160E52AF0214190537404876E3B412008AC1C3CF021410A1214DF8B6E3B41E874029A4AF02141460C02EB926E3B4150D6C52D57F02141628FC2359C6E3B4180DD930761F0214196E61D47A66E3B41E8F0F44A65F021416E348057B26E3B417870CE4864F021413B0AD7E3BF6E3B41D8B88D865FF021419A2A1835CB6E3B41E0E461E156F0214135AB3E77D36E3B41E8361AC050F0214108F9A027D46E3B4180E61DE74FF02141109C33A2D16E3B41F84A590642F0214102917E9BCB6E3B41E0073DDB20F02141C2529661B46E3B41204A7B03A1EF2141DAF0F42AB16E3B41609318C48FEF2141D04D62D0AD6E3B41881B0DA07EEF21412485EB51AA6E3B41C83D79986DEF214180FB3AB0A66E3B4118FBCBAE5CEF214168D5E7EAA26E3B4160D3BCE34BEF2141BA37F8029F6E3B41287E8C393BEF214130992AF89A6E3B4130B29DAF2AEF2141829ECDCA966E3B4170029A481AEF21414EE3A57B926E3B41E8A59B040AEF21411C8C4A0A8E6E3B41081DC9E5F9EE21411AE25877896E3B41283108ECE9EE2141431361C3846E3B41A8627F19DAEE214148EA0454836E3B4130454772D5EE2141C57F481F826E3B41E03FA49FFBEE214134D6C52D826E3B41E846037827EF2141A69BC4A0836E3B41A8DFBE8E5DEF21413E9B555F816E3B4168855A9380EF21419C703D4A806E3B413897FF109EEF21415C0E2D727E6E3B4158029A88BAEF2141220000000200000000020B000000024B00000002D0000000024601000002880200000292020000025D03000002A203000002AD0300000255040000025F04000002C604000002110500000217050000021C0500000225050000023F050000025A050000026B050000027D050000023D070000028B07000002AF070000026A0B000002750B000002D50B000002420C000002AF0C000002F10C000002270D000002690D0000028A0D000002040E000023000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003000000000300000003000000000400000003000000000500000003000000000600000003000000000700000003000000000800000003000000000900000003000000000A00000003000000000B00000003000000000C00000003000000000D00000003000000000E00000003000000000F00000003000000001000000003000000001100000003000000001200000003000000001300000003000000001400000003000000001500000003000000001600000003000000001700000003000000001800000003000000001900000003000000001A00000003000000001B00000003000000001C00000003000000001D00000003000000001E00000003000000001F00000003000000002000000003000000002100000003, CAST(284312 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (285812, N'{31CA0985-31AD-4C80-B015-6EEB1315DD3A}', N'004572602', 1660, N'VIP13444', NULL, N'4572602', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1, DISTRICT LOT 79, NANOOSE DISTRICT, PLAN 13444, EXCEPT PART IN PLAN, 41577 (ROAD ONLY)', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2021-12-08T14:51:18.000' AS DateTime), 2229, 193, 0xBD0B00000104060000003B4ED1B1DD4431418047E1FA59E21C41C30512940A4531410062A1562FE21C41198C4ACA0045314120E3361AA2E11C41547DAEF6C74431415087A7D7CEE11C41381AC09BCF443141808EE4F264E21C413B4ED1B1DD4431418047E1FA59E21C4101000000020000000001000000FFFFFFFF0000000003, CAST(285812 AS Numeric(38, 0)), NULL) +GO +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (286043, N'{59C90DA2-7ED0-47B1-A509-DC2F06C887D1}', N'011371234', 3, N'NO_PLAN', NULL, N'11371234', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'A', N'2537', NULL, N'PARCEL A (DD 154994F AND PLAN B7082) OF DISTRICT LOT 2537 OSOYOOS DIVISION YALE DISTRICT EXCEPT PLANS H621, KAP77074 AND KAP77636', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-12-22T09:41:14.000' AS DateTime), 14507, 726, 0xBD0B000001040B000000745F07EE4D223641B022DB79D97E204185A7572A14223641F0FDD4F8337F20415E1058D90622364180FD6537547F204192CB7FA836223641E0BE0E1CA37F20414F6210D84B223641D832C471167F2041C45296E16A22364180AEB622657F204176E09CB10B233641E002098A267E2041E3361A00F4223641E82406C1137E2041AAA44EA0832236418087855A857E2041DACEF7F360223641B80C71ACBB7E2041745F07EE4D223641B022DB79D97E204101000000020000000001000000FFFFFFFF0000000003, CAST(286043 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (287019, N'{2A606112-F4F4-486F-A1A7-B2940CE4D9E3}', N'001593145', 141191, N'VIP1291', NULL, N'1593145', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'Block 3', N'', N'THAT PART OF LOT 4, BLOCK 3, SECTION 9, ESQUIMALT DISTRICT, PLAN 1291 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0154', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:54:05.000' AS DateTime), CAST(N'2019-01-05T10:21:49.000' AS DateTime), 332, 78, 0xBD0B000001040A000000226C785AD12A3241E0FBA9F195991741D5430433CF2A3241A09881CD8E9917419BF39A05CD2A3241E04D7DC687991741861E55D2CA2A324140A0ECDC80991741FDA94B99C82A3241E0C51D117A991741ACBC975AC62A324120A55D637399174142BD5216C42A324100CFF7D36C991741B2E1E955BF2A3241F0C7983BBD991741D8817326CC2A324130B6F3FDED991741226C785AD12A3241E0FBA9F19599174101000000020000000001000000FFFFFFFF0000000003, CAST(287019 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (287651, N'{73CADDF7-3787-404D-8897-7E1791A28318}', N'006201181', 134105, N'VIP3513', NULL, N'6201181', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1, SECTION 15, RANGE 4 EAST, SOUTH SAANICH DISTRICT, PLAN 3513 EXCEPT PARTS IN PLANS 773 RW AND 2418 RW', N'0016', N'0005', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:36:04.000' AS DateTime), CAST(N'2019-01-05T10:23:22.000' AS DateTime), 5318, 456, 0xBD0B0000010422000000A979C769E13232418038D645B33F18412D772D01DF323241201DC9E5CC3F18413ADF4F8DDC32324150D8F074E63F184138CD3B0EDA3232411021B0F2FF3F1841AC25E483D7323241B0F6065F19401841FA3A70EED4323241F0A223B93240184138D6C54DD2323241D0923A014C401841BB490CA2CF323241307DAE36654018410D7A36EBCC32324120F54A597E401841A5825129CA323241908BDB6897401841E0B5845CC73232412066F764B0401841DCA59B84C432324100166A4DC94018417DC0CAA1C132324170C0CA21E24018414AEA04B4BE3232414089B0E1FA4018411E5A64BBBB32324100DF4F8D13411841682BF6B7B8323241B02E6E232C411841C042ADA9B532324140C1A8A44441184109D7A390B2323241004E62105D41184142E8D96CAF32324190F831667541184140AD693EAC323241C0C117A68D411841AA0A4605A9323241F05F76CFA5411841336EA3C1A532324100D34DE2BD411841A44E4073A2323241B0D100DED54118413EE8D98C9E323241D06DA301F141184185855A13ED323241406210D894401841CD6F5F071833324100B37BF2AA3F1841915CFEA31E33324130F241CF7F3F1841C09F1AEFEE32324100C58F31183F1841A167B3CAEC323241A07BF230323F18412163EE9AEA323241905296214C3F1841E73FA45FE8323241E092A902663F1841BA6B0919E63232412061C3D37F3F184124CB10C7E3323241F02A1895993F1841A979C769E13232418038D645B33F184101000000020000000001000000FFFFFFFF0000000003, CAST(287651 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (288218, N'{E53F56AD-12BC-45ED-AA30-A618D21B71B9}', N'005622808', 248101, N'PGP29457', 90054415, N'5622808', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'', N'', N'LOT 6 DISTRICT LOT 6006 CARIBOO DISTRICT PLAN 29457', N'0163', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:17:48.000' AS DateTime), 24466, 760, 0xBD0B0000010406000000B5F3FDD48BF13541883F355EEFAF2B416BB3EAD3D7F13541C0BAB84DFDAF2B41CE2B65F9F2F135416050FCD8AFAD2B4139F1632C9AF135416863EE1A9CAD2B41E8F21FB299F13541B8946588CFAD2B41B5F3FDD48BF13541883F355EEFAF2B4101000000020000000001000000FFFFFFFF0000000003, CAST(288218 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (289017, N'{7A3B6DEF-BA89-464A-A465-6E735CCCEF94}', N'001592041', 141191, N'VIP1291', NULL, N'1592041', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'Block 8', NULL, N'THAT PART OF LOT 6, BLOCK 8, SECTION 9, ESQUIMALT DISTRICT, PLAN 1291 INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0154', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:03:01.000' AS DateTime), CAST(N'2020-05-13T16:42:44.000' AS DateTime), 375, 83, 0xBD0B0000010412000000946588C37C2B324120B8AF03489B17411342FF947F2B3241C02C0947479B174112FEA765822B324170C94B5E469B1741417E5735852B3241707A8549459B174143B6E203882B3241F0CCC608449B17411EAB1ED18A2B324110F2229C429B1741F475E09C8D2B324140B8AF03419B1741AB6054328F2B324100DE0209409B17411E85EB91902B3241F0C039233F9B174152AF94A57D2B3241C0A9F152F79A1741839A89B87B2B3241C0B0F7D2F79A17413D2A27CB792B32416073DE3BF89A1741F0B77EDD772B32411042A28DF89A1741549FA1EF752B3241903C40C8F89A17412B3EA101742B32417053B6EBF89A174151F38E13722B3241904603F8F89A1741A189B0E1702B3241106822EC1A9B1741946588C37C2B324120B8AF03489B174101000000020000000001000000FFFFFFFF0000000003, CAST(289017 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (289353, N'{1704E73E-ECBF-49E4-9D23-959972A58993}', N'001568418', 117903, N'VIP877', NULL, N'1568418', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'Block 12', N'', N'THAT PART OF LOT 1, BLOCK 12, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:10:19.000' AS DateTime), CAST(N'2019-01-05T10:55:01.000' AS DateTime), 307, 71, 0xBD0B00000104050000003E2CD43AA1363241C0293A12D58E1741B02E6E23A7363241D0AB1CDA218F1741D59AE6BDB5363241B04E4013108F174162984CD5AF363241605E294BC38E17413E2CD43AA1363241C0293A12D58E174101000000020000000001000000FFFFFFFF0000000003, CAST(289353 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (289967, N'{49B20C94-0777-44A3-A33F-3286BA2C0FAF}', N'013828410', 1075220, N'NWP5418', NULL, N'13828410', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot D', N'', N'', N'LOT "D" EXCEPT: FIRSTLY: PART LYING NORTH OF HIGHWAY PLAN 21335; SECONDLY: PART ON STATUTORY RIGHT OF WAY PLAN 21335; SECTION 18 TOWNSHIP 23 NEW WESTMINSTER DISTRICT PLAN 5418', N'0019', N'0009', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-01-31T18:43:33.000' AS DateTime), 22210, 682, 0xBD0B00000104090000008FE4F29F75A03341B0627FD9E9621C410912143FAEA0334180C05BA007641C41AD3E577BC0A033416079C7A963641C41C732C451CFA03341E01DA7E8D1601C413D3EE899A1A0334140BC741374601C41024D84AD5DA03341B0559FABE85F1C41BE7D1D985BA03341F07A14AE68601C417B711BED53A033416013D0C43F621C418FE4F29F75A03341B0627FD9E9621C4101000000020000000001000000FFFFFFFF0000000003, CAST(289967 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (291980, N'{CE6F7C50-F621-4CCC-B99E-E183758D1E96}', N'002932270', 871964, N'KAP34728', NULL, N'2932270', NULL, N'72404980030', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Parcel B', N'', N'', N'PARCEL B DISTRICT LOT 4360 KAMLOOPS DIVISION YALE DISTRICT PLAN 34728', N'0163', N'0028', N'NO', N'ICF', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:17.000' AS DateTime), 31, 41, 0xBD0B0000010406000000D022DB9941683541B8915C3E230025418B16D96E42683541B08D06B0200025413EE8D98C4D683541C8EA737507002541CFD5562C3F68354130C286271E002541314CA64A41683541F0361A4024002541D022DB9941683541B8915C3E2300254101000000020000000001000000FFFFFFFF0000000003, CAST(291980 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (292838, N'{74360D77-3F82-415A-AE9B-1C90B4A245AE}', N'015440559', 3, N'NO_PLAN', NULL, N'15440559', NULL, N'7101947050', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART A', N'1392', N'', N'PARCEL A (EXPLANATORY PLAN 118664I) DISTRICT LOT 1392 KOOTENAY DISTRICT EXCEPT PART INCLUDED IN PLANS 8604 AND NEP63192', N'0163', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-01-09T12:27:55.000' AS DateTime), 20407, 1013, 0xBD0B0000010415000000EDC9C32221B43841489FAB6D97DE21412FC4B14E40B4384110F9A0A7D1DE2141DB0968626BB4384188E4F29F77DF21410AC58F3175B43841208E7571DEDF2141CCB359358CB438417809F92069DE21414603786B14B43841F861A1964BDE2141686FF0A50EB43841B8581737A9DE2141BC8A4E4011B43841E030E490A8DE21417E8020D013B43841987D1770A7DE21416AE8C54F16B43841408D2BD7A5DE21414BE0C1B918B438412882A2C9A3DE2141B619C7081BB43841789DFE4BA1DE2141EC7EC3371DB43841C059B8639EDE21412956EB411FB43841D06532179BDE2141EDC9C32221B43841489FAB6D97DE214136CD3B8E0EB4384160B4C8B6AADE2141E0718ACEFBB338410886C9D4DADF21418AA757EA62B4384180B74042F4DF21414C27A04958B43841D8F528DC84DF2141D4A3701D30B43841184FAF14EADE214136CD3B8E0EB4384160B4C8B6AADE2141020000000200000000020F00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(292838 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (293064, N'{B98E42F2-EE29-4E33-BF04-656EB5477789}', N'003401049', 16032, N'VIP21467', NULL, N'3401049', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', N'', N'', N'LOT 1, DISTRICT LOTS 11 AND 12, THETIS ISLAND, COWICHAN DISTRICT, PLAN 21467', N'0163', N'0007', N'NO', N'ICIS CADASTRE', NULL, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T19:48:18.000' AS DateTime), CAST(N'2019-01-07T18:32:49.000' AS DateTime), 10041, 547, 0xBD0B0000010409000000BE5B2021DDDE31410057EC2F101C1B41A6BDC197DCDE314110D26FDFCA1B1B41BD5B20E1BEDE3141A0D85FF67B1B1B414CFC1833ABDE3141E03845C7171B1B41BD1726F39DDE3141C0CAA1459C1A1B4192B96BA993DE3141C0749398211A1B41EC8E53548BDE3141A0A301BC161A1B4114B7D14086DE314100BDE394E01D1B41BE5B2021DDDE31410057EC2F101C1B4101000000020000000001000000FFFFFFFF0000000003, CAST(293064 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (293539, N'{FE60D0FC-BB2E-4919-A124-EF54BF42C764}', N'015302113', 484116, N'NEP2328', NULL, N'15302113', NULL, N'348-00488.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'', N'', N'LOT 2 SECTION 6 TOWNSHIP 22 RANGE 7 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 2328 EXCEPT PART ON PLAN R258', N'0128', N'0006', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:23:17.000' AS DateTime), 657, 116, 0xBD0B0000010407000000EA8C284D58CC3641384ED1110E7F2441A33C2CF455CC364110B37B723D7F2441FD2A87F653CC36410064CC9D657F2441EE16485063CC364168B29DAF687F24416A6FF08566CC3641C8AE2524287F2441FEF6756067CC364110CCEEC9167F2441EA8C284D58CC3641384ED1110E7F244101000000020000000001000000FFFFFFFF0000000003, CAST(293539 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (294412, N'{60C342A6-47DE-4156-8A70-5DE83919FFB4}', N'009763457', 3191875, N'VIP1215OS', NULL, N'9763457', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'', N'', N'', N'THAT PART OF THE UNNUMBERED PORTION OF COWICHAN LAKE DISTRICT, SHOWN COLOURED RED ON PLAN 1215 OS, LYING BETWEEN THE WESTERLY BOUNDARY OF THE SKUTZ INDIAN RESERVE AND THE EASTERLY BOUNDARY OF DISTRICT LOT 49, AND CONTAINING 3.19 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T22:09:35.000' AS DateTime), CAST(N'2019-01-10T15:02:44.000' AS DateTime), 13022, 897, 0xBD0B000001041F000000E5E236FAE58D3141D06DA38118AF1941B247E15ACD8D31412040A4DF06AF19419ECDAA0F3A8D3141E0D32B659DAE1941BD7D1D98338D3141606FF08599AE1941932E97A6208D314150F22D0793AE19412A838FA30D8D3141A05C49D793AE194158BE07BCFA8C3141100D56F49BAE1941160AC01CE88C3141F0351F4BABAE19413F88CDF1D58C3141805455B7C1AE1941A1F83166C48C3141C025E403DFAE194149E17A34BE8C31414082E247EBAE19419EF83126BB8C3141301136BCF1AE19415F5DDCC65B8C31413080B740BEAF19412731088C5A8C314100295C8F49B0194164BC74F3858C31411045D870ECAF19410044FA6DD18C314130FDF6F54AAF194110595EA6DB8C314160BADCC938AF194186B24A30E68C3141B09292CE29AF19412044D6FBF08C3141A0A7B61A1EAF1941B3EFB4F8FB8C314150CFF3BF15AF194127205016078D3141B0ECE6CA10AF19412ED4DF43128D314120E10B430FAF194146F483701D8D31418041B22A11AF19415ECC5D8B288D314130DBF97E16AF1941A13C2C747D8D3141B03A014D53AF1941034D84CD7E8D314160CA324454AF1941CC22DBD9C38D3141C07DAEB685AF19410166F704D18D3141202FDD248FAF1941158C4A6AD78D3141A0B4377898AF1941D61B7CE1E08D3141F0CAA145A6AF1941E5E236FAE58D3141D06DA38118AF194101000000020000000001000000FFFFFFFF0000000003, CAST(294412 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (294413, N'{CDE073A6-0D0B-4E05-8B3E-D8A117B0FBEE}', N'007487991', 4652349, N'VIP379RW', NULL, N'7487991', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 55', N'', N'', N'THAT PART OF LOT 55, DISTRICT LOT 140, ALBERNI DISTRICT, PLAN 1414, BEING THE LOGGING RAILWAY SHOWN ON PLAN 379 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2019-01-10T15:02:08.000' AS DateTime), 241, 76, 0xBD0B000001040500000075711BCDE67E3041D04F8D17D2041D411D6C783AC97E3041A0B43778EA041D4125A08910C97E3041D0E1E99506051D41F07C3F95E67E30413072F98FF7041D4175711BCDE67E3041D04F8D17D2041D4101000000020000000001000000FFFFFFFF0000000003, CAST(294413 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (295111, N'{CDFCFF0E-F987-43D3-9700-35D3517EC81B}', N'013226151', 246698, N'PRP1076', 90073093, N'13226151', NULL, N'03542.910', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 12', N'Block 34', N'', N'LOT 12 BLOCK 34 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076 EXCEPT PLAN PRP14257', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 205, 71, 0xBD0B000001040500000014E9B7EF602E2C41A445B6B337A13041E368002F312E2C4164F38E1338A13041604469AF252E2C412CF38ED33FA13041BA9F1A2F612E2C41D8D781533FA1304114E9B7EF602E2C41A445B6B337A1304101000000020000000001000000FFFFFFFF0000000003, CAST(295111 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (295113, N'{D59D07CE-10CE-4A22-812F-CB782D4DE7CE}', N'007722567', 246698, N'PRP1076', 35722421, N'7722567', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 47', N'Block 2', N'', N'LOT 47 BLOCK 2 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 290, 91, 0xBD0B000001040500000031BB274F342D2C41A045B65360A1304150840D4F2B2D2C41CC0E9C7366A130410532E66E682D2C4154F38E337DA13041E368006F712D2C41342AA91377A1304131BB274F342D2C41A045B65360A1304101000000020000000001000000FFFFFFFF0000000003, CAST(295113 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (295781, N'{C515B28E-A8D0-4ACE-9FFF-D623347C7774}', N'000017787', 651699, N'VIP4254', NULL, N'17787', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'', N'', N'THAT PART OF LOT A, DISTRICT LOT 245, ALBERNI DISTRICT, PLAN 4254, INCLUDED IN PLAN 277 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:38:00.000' AS DateTime), 1530, 273, 0xBD0B000001040A0000007958A8152A9D3041D0B27BF22E141D41D7A3707D2D9D304110DE710A25141D41E673B555619D3041F07A14AE8D131D412D992AB88F9D30411081954306131D412C3A92EB8F9D3041A03E575BE6121D41731283A0859D304120E56121E6121D41BCD1009E619D3041A0081B1E4F131D41C1E3145D2A9D3041300F0B35F0131D41C386A7172A9D3041A03333332D141D417958A8152A9D3041D0B27BF22E141D4101000000020000000001000000FFFFFFFF0000000003, CAST(295781 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (295806, N'{7EEE5239-A2DB-4601-A4D6-301F4AD96F04}', N'000017671', 645957, N'VIP1279', NULL, N'17671', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 30', N'Block 3', N'', N'LOT 30, BLOCK 3, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:50.000' AS DateTime), 383, 96, 0xBD0B000001040D0000006588633D989D3041C0E4F29F21BC1C4170B5151BAF9D30418022DBF923BC1C41FFF67560AF9D3041E0F0F4CAFBBB1C41B6490C82969D304170EC2F3BF9BB1C4198900F7A969D304160EC2F3BF9BB1C41CC32C4118A9D304170B3EAF3F7BB1C41E402090A8A9D3041B0D781F3F7BB1C4196081B3E899D3041001B9EDEF7BB1C410FC7BAF8889D304160DF4F0D20BC1C41F85C6DC58B9D304120AB3E5720BC1C417B711BCD8B9D3041A03D795820BC1C4126068135989D30411052B89E21BC1C416588633D989D3041C0E4F29F21BC1C4101000000020000000001000000FFFFFFFF0000000003, CAST(295806 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (297613, N'{9A7FA5E4-4457-46BC-9C5B-C50FED93345F}', N'013977920', 295389, N'PRP968', 23708861, N'13977920', NULL, N'01263.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 7', N'Block 114', N'Section 2', N'LOT 7 BLOCK 114 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:27.000' AS DateTime), 172, 54, 0xBD0B00000104050000006EF90F693A772B4124A91350806431412F08AC5C26772B4148477279806431418BA0F8F126772B41985CFEA391643141865AD3FC3A772B4188BE9F7A916431416EF90F693A772B4124A913508064314101000000020000000001000000FFFFFFFF0000000003, CAST(297613 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (301015, N'{890EB643-C406-4B08-979F-37E11EC7672B}', N'001342177', 1308956, N'NWP84', NULL, N'1342177', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'REM Lot 6', N'Block 30', N'', N'LOT 6, EXCEPT PART IN PLAN LMP18430 BLOCK 30 DISTRICT LOT 203 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 84', N'0109', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:21:07.000' AS DateTime), 133, 48, 0xBD0B0000010405000000F64A59866EBC3241B045B673BE461D41BA490CA275BC3241A09AE61D87461D41AD9DEF4770BC324150F46CD675461D418EE4F23F66BC324150EC2FBBA3461D41F64A59866EBC3241B045B673BE461D4101000000020000000001000000FFFFFFFF0000000003, CAST(301015 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (302284, N'{D57539FF-E674-4352-9923-003BE0F4A622}', N'013798073', 1478075, N'NWP3837', NULL, N'13798073', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', CAST(N'2011-07-07T00:00:00.000' AS DateTime), N'REM Lot A', N'', N'', N'LOT "A", EXCEPT: PART ON SRW PLAN 26009 DISTRICT LOT 88 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 3837', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:39:37.000' AS DateTime), 743, 134, 0xBD0B0000010409000000BC490C2268AB3241F0770BA49EE91C41CB98BB767BAB3241700AD7A39EE91C419ABB965091AB324120378941A0E91C41E5D9AC7A9FAB3241103E0A57A2E91C41580E2DD29FAB32411041F163A2E91C410AD7A3D09DAB3241E0703D8A9BE91C41848CB9CB7FAB324130A4DFBE33E91C41190456AE6AAB324170D85FF692E91C41BC490C2268AB3241F0770BA49EE91C4101000000020000000001000000FFFFFFFF0000000003, CAST(302284 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (302943, N'{366CA0B6-565F-44A1-B579-B31C3359E3C6}', N'011191961', 3192070, N'KAP1949', NULL, N'11191961', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 447', N'', N'', N'PART LOT 447 SHOWN RED ON PLAN A1057 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 1949', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:34.000' AS DateTime), 3509, 432, 0xBD0B0000010435000000AF59F5D9587A3641A0081B1EA7CC1C41E1240641507A3641308C4A6AC7CC1C41C642AD29487A3641A05A42BEE9CC1C41C6FEB29B407A3641404772F90DCD1C410924289E397A3641D022DBF933CD1C4130A2B437337A3641102CD49A5BCD1C416D567D6E2D7A3641603480B784CD1C414082E247287A3641A0302A29AFCD1C41C854C1C8237A3641A0EFA7C6DACD1C4130085A67237A364180140D26E3CD1C413E54BA3B237A3641F0D691A1EBCD1C41C1F95046237A3641E018AD23F4CD1C41F0160387237A3641D000C596FCCD1C415A6B2CFD237A364100D465E504CE1C4107F9A0A7247A3641A06C78FA0CCE1C41FDD62F52257A36412062475413CE1C41C648F80B267A364160322B9319CE1C41A57AB6D4267A3641B021DCB41FCE1C41C62221AC277A3641101C1DB725CE1C41C69BE991287A36418089BC972BCE1C419D01BC85297A36413018955431CE1C41A04542EB297A364110B3889D34CE1C414AF1A5482A7A364140DF6FF537CE1C41BCDCC39D2A7A36415068085B3BCE1C4142FD7BEA2A7A364110F60ACD3ECE1C417A71B12E2B7A3641007F2B4A42CE1C411B8C4A6A2B7A3641E0CD19D145CE1C41F731E62E337A36412022FD7601CE1C41CC4D62D0397A3641A05AD3BCCDCD1C41EDFDD4F8407A36411054E3259BCD1C414994F686487A364130302AA96CCD1C4122FDF6B5507A364160423EE83FCD1C413D9B557F597A3641606FF00515CD1C4189635DDC627A3641E0C03923ECCC1C419F01BCC56C7A364140894160C5CC1C41847CD033777A3641A08785DAA0CC1C4140AD691E827A36411032E6AE7ECC1C41A01A2F7D8D7A3641706B9AF75ECC1C417C1D3847997A364140166ACD41CC1C41FCA06773A57A3641A0EFA74627CC1C419EB437F8B17A364140226C780FCC1C41C0114D42B27A3641B0B1D9030ECC1C41AE2F0694B27A3641E094C7A90CCC1C413F03CCECB27A3641F069B56C0BCC1C41CE79FA4BB37A3641E036ED4E0ACC1C4157A8E1B0B37A3641202D7F5209CC1C41C410C71AB47A3641F0D93D7908CC1C41420AD703977A3641F0E46121F6CB1C418BA7570A867A3641C0923A0124CC1C418E75715B757A3641604DF38E53CC1C41B48D06706B7A3641B02A18156DCC1C4196438BEC617A3641D04603F888CC1C41AF59F5D9587A3641A0081B1EA7CC1C4101000000020000000001000000FFFFFFFF0000000003, CAST(302943 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (302968, N'{C4BB48CA-F2C5-4424-891B-C22309A445B3}', N'011370581', 850279, N'KAP1728', NULL, N'11370581', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Parcel 11', N'Lot 114', N'', N'PARCEL 11 (PLAN A1273) OF LOT 114 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 1728', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:59.000' AS DateTime), 2225, 205, 0xBD0B000001040E0000007624979F3D713641D004341166711D412A287E0C3C71364180567D2E43711D4100098ADF35713641303CBDD23B711D4175E7FB892C713641204AEA042A711D413DF163EC2471364180B96B8926711D418404C5CF15713641C05A42BE2B711D41B51E854B0171364110D8F0F412711D419D80260219713641A0E926B1DB711D4137EF38052071364120355E3A17721D412618955439713641609A779CD8711D41159E5E493D7136416017B7D1CE711D418F7EFBDA3D71364190C4B1AECD711D4195B20CF137713641309E5E298B711D417624979F3D713641D004341166711D4101000000020000000001000000FFFFFFFF0000000003, CAST(302968 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (304892, N'{A8347B3F-7B63-4281-B0DB-D41081558003}', N'017550149', 3, N'NO_PLAN', 4516821, N'17550149', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'6888', NULL, NULL, N'BLOCK A DISTRICT LOT 6888 CARIBOO DISTRICT', N'0163', N'0008', N'NO', N'ICF', 5, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-06-24T15:51:44.000' AS DateTime), 6558, 344, 0xBD0B000001040B000000C8EEC9C38551324138234AFB97672E4160C3D3AB7F51324130257582B1672E419B900F1A7D51324100DCD741B6672E419C9999997651324158984CD5C5672E41E951B87E6F513241A0FF90BED7672E41D9D781136B513241384469AF0B682E41EB51B81EED513241501E16AA0C682E419206F056D8513241705452E791672E41083D9B1592513241004B594695672E4101E78CE88551324168BF7DDD95672E41C8EEC9C38551324138234AFB97672E4101000000020000000001000000FFFFFFFF0000000003, CAST(304892 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (305093, N'{4469F16C-1C18-4F7D-A95D-1CC5ED9E5706}', N'002315840', 1170767, N'NWP2620', NULL, N'2315840', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2007-09-07T00:00:00.000' AS DateTime), N'Lot W2', N'Block 31', NULL, N'LOT 52 OF THE WEST HALF BLOCK 31 DISTRICT LOTS 757 AND 758 GROUP 1 PLAN 2620', N'0088', N'0010', N'NO', N'ICIS CADASTRE', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-07-15T13:21:14.000' AS DateTime), 647, 115, 0xBD0B0000010405000000C54B376975A7324160FDF675E1911C414A0378AB6CA73241A070AC8B13921C41AE03E76C8FA73241F018E25874921C41F4B9DA2A98A732417081954342921C41C54B376975A7324160FDF675E1911C4101000000020000000001000000FFFFFFFF0000000003, CAST(305093 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (305643, N'{DEA91435-E14C-40CC-8613-030F4821C1D1}', N'008765944', 5461754, N'VIP584', NULL, N'8765944', NULL, N'106540', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 18', N'Block D', N'', N'LOT 18, BLOCK D, SECTION 1, NANAIMO DISTRICT, PLAN 584, EXCEPT PART IN PLAN VIP56621', N'0084', N'0021', NULL, N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', N'600.4', CAST(N'2019-04-04T08:45:35.000' AS DateTime), CAST(N'2019-09-11T16:01:55.000' AS DateTime), 600, 178, 0xBD0B000001042A00000052621058F28F3141B0490C82E82D1C4193180476CC8F3141D09C1125DF2D1C41AE6DD58BCC8F3141C01C9677E22D1C4182C9D6B4CC8F31417068B0BEE52D1C41ACB5B1F0CC8F3141503277F3E82D1C41A9FCE73ECD8F314140CF270FEC2D1C4130B4D49ECD8F3141107C340BEF2D1C41A598AD0FCE8F3141A02A52E1F12D1C41D0B78490CE8F314120CA858BF42D1C4182664A20CF8F314140E23004F72D1C41577DCFBDCF8F3141F06C1D46F92D1C4116D8C767D08F314190D2884CFB2D1C41F111CD1CD18F3141D0F22D13FD2D1C41267961DBD18F314160274E96FE2D1C410634F3A1D28F31419028B9D2FF2D1C411390DF6ED38F314130C5D3C5002E1C4104757640D48F314180639D6D012E1C41B6F3FD14D58F31415039B4C8012E1C41CA8F31D7F18F314180226CF8082E1C4152621058F28F3141B0490C82E82D1C41BF9F1A4FF18F3141003867442B2E1C4157F5B99AD48F3141602BF617242E1C41094DFED4D38F3141E058D206242E1C416917990FD38F3141B0621A38242E1C41B8B0EE4BD28F3141E05075AB242E1C41BE55608BD18F314140E31260252E1C4130A649CFD08F31411008AD54262E1C411A31FE18D08F3141C0298A87272E1C41C70FC769CF8F3141804D80F6282E1C41C093E0C2CE8F314120F7F89E2A2E1C41AC0B7825CE8F3141A0D9F57D2C2E1C4161A3A992CD8F3141903B16902E2E1C41CB627E0BCD8F314130129DD1302E1C41A04FEA90CC8F314130BF773E332E1C41B8B4CA23CC8F3141706D45D2352E1C418C92E4C4CB8F3141A0F55E88382E1C41A23BE374CB8F31410047DF5B3B2E1C41261F5734CB8F3141A03BAC473E2E1C4148C4B403CB8F3141F0D07F46412E1C41CDF753E3CA8F314130AAF152442E1C41FC4A59C6F08F3141601058B94D2E1C41BF9F1A4FF18F3141003867442B2E1C41020000000200000000021400000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(305643 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (306401, N'{9283A994-61C4-4D27-8D68-40AEAB97D6B9}', N'007774958', 848253, N'KAP20608', NULL, N'7774958', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2019-10-29T00:00:00.000' AS DateTime), N'REM Lot 24', N'', N'', N'LOT 24 DISTRICT LOT 2922 OSOYOOS DIVISION YALE DISTRICT PLAN 20608 EXCEPT PLAN EPP94860', N'0163', N'0016', N'YES', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'0', NULL, CAST(N'2019-11-15T09:17:27.000' AS DateTime), CAST(N'2019-11-28T12:06:04.000' AS DateTime), 1382, 162, 0xBD0B000001040C000000EA482E5FF9503641688FC2F5B40C2241E2718AEEF8503641E8CEF7D3B50C22417A0B24882B5136417801BCC5E90C22413A3CBD523A51364188E61DE7AD0C2241482EFFC1215136410861C393950C22418FF9FEDB1D5136413025E142990C22417BF522ED19513641E08D8CCB9C0C2241D6E9C9F5155136416071702DA00C2241F86A53F611513641F84D3B68A30C2241DAD01FEF0D513641584E9F7BA60C2241E32D90E00951364160545267A90C2241EA482E5FF9503641688FC2F5B40C224101000000020000000001000000FFFFFFFF0000000003, CAST(306401 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (307819, N'{15C5906E-2319-4EA2-BDD4-391ABC2F2FE3}', N'001711326', 12869, N'VIP218D', NULL, N'1711326', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'Block 62', NULL, N'THAT PART OF LOT 4, BLOCK 62, SHAWNIGAN LAKE SUBURBAN LOTS, SHAWNIGAN DISTRICT, PLAN 218D SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 30765I AND CONTAINING 0.68 OF AN ACRE MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 2, N'LSA', N'UNKNOWN', N'1', N'2638', CAST(N'2015-11-24T15:52:50.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 2636, 253, 0xBD0B00000104230000006AF7E44101E3314140E86A2BF4D418410144FA8DCCE23141C022DBF9DDD418419B93A184C4E23141707B71BCEAD4184102020E6FBCE23141C08CFD00F7D418410419BB4DB4E2314140DFC3C602D51841E3152521ACE23141B08C100D0ED5184104E2C8E9A3E23141604A37D318D51841740B24A89BE23141D074931823D51841FD43FAED98E231418024977FA1D51841250BF0049EE2314140A52D6E9CD51841FEB4FE18A3E231410093FB2E97D518413C840C2AA8E2314110861BC291D51841DFCAFF37ADE2314190FDA8278CD518418EEABE42B2E23141D05FC05F86D518412C55304AB7E2314100FA7E6A80D51841C13923EAB7E23141D00512947FD51841C0777784BDE23141901356EE77D51841F915DF19C3E2314100F5CC0F70D51841241736AAC8E231418063A9F867D518417C9E5835CEE2314130831FA95FD51841E3F022BBD3E23141D0E6642157D518419275713BD9E231418089B0614ED518412D784027DDE23141D0F8090648D51841D8C92610E1E23141B042F98D41D51841118C17F6E4E23141A0B393F93AD518411DEA05D9E8E2314120F3EE4834D518412E19E5B8ECE23141D005217C2DD518417658A895F0E23141A04E409326D5184156B4FC4DF3E23141D01BBDA121D518411B93B904F6E23141502D4EA21CD51841D380DAB9F8E23141A0B6FB9417D51841390C5B6DFBE231415001CE7912D51841BCC6361FFEE23141F06DCD500DD51841684469CF00E331414075021A08D518416AF7E44101E3314140E86A2BF4D4184101000000020000000001000000FFFFFFFF0000000003, CAST(307819 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (307975, N'{871AA4E5-7493-4029-AA2C-B07A49615518}', N'007158599', 13503, N'VIP45012', NULL, N'7158599', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1, SECTION 12, RANGE 7, SHAWNIGAN DISTRICT, PLAN 45012 EXCEPT PART IN PLAN VIP69019', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T20:30:29.000' AS DateTime), CAST(N'2021-03-19T13:11:24.000' AS DateTime), 24130, 882, 0xBD0B0000010408000000A88251A9D3F8314110A167338F191941D5F97E6A15F9314100E5F29F96191941910F7AB620F9314140D5E7EAA61319411BFBCBAEEDF8314170F241CF9B131941148C4A4AE7F83141C011A5BDB0131941FE43FA4DE6F83141E020B0F28D1419414C03786BDDF831418024977F1F151941A88251A9D3F8314110A167338F19194101000000020000000001000000FFFFFFFF0000000003, CAST(307975 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (308473, N'{194AC25D-A805-4C42-ACEA-E53A90D7EAA2}', N'015871223', 490661, N'NEP1291', NULL, N'15871223', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-04-06T00:00:00.000' AS DateTime), NULL, NULL, NULL, N'THAT PART OF LOT 2 DISTRICT LOT 1073 KOOTENAY DISTRICT PLAN 1291 LYING WEST OF A LINE PARALLEL TO AND 9 FEET DISTANT FROM THE EASTERLY BOUNDARY THEREOF', N'0146', N'0019', N'NO', N'PMBC-OPERATIONS', 4, N'LSA', N'UNKNOWN', N'0', N'239.3', CAST(N'2020-10-19T16:34:27.000' AS DateTime), CAST(N'2021-05-25T14:37:06.000' AS DateTime), 320, 77, 0xBD0B00000104060000001848505C69773841306EA381C1D91D41C57F48BF51773841C0D8F0F4AFD91D41E8C039C35677384100F775E0E3D91D41483789A164773841C005129410DA1D41880D4F0F66773841005F984C10DA1D411848505C69773841306EA381C1D91D4101000000020000000001000000FFFFFFFF0000000003, CAST(308473 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (308546, N'{30B88357-9DC2-4ABD-BF13-6DBC48DFC3BA}', N'001604872', 134182, N'VIP1118', NULL, N'1604872', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot C', N'', N'', N'THAT PART OF LOT C, SECTION 70, ESQUIMALT DISTRICT, PLAN 1118 SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 12279F AND CONTAINING 0.001 OF AN ACRE MORE OR LESS', N'0023', N'0005', N'NO', N'MODIFIED-ICIS', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:51:00.000' AS DateTime), CAST(N'2021-05-30T19:21:20.000' AS DateTime), 5, 11, 0xBD0B0000010404000000A2ABAD58D6173241806588E3756B1741DF7A14CED81732416039B4C8836B1741245C8F42DA173241D098BB167B6B1741A2ABAD58D6173241806588E3756B174101000000020000000001000000FFFFFFFF0000000003, CAST(308546 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (308610, N'{CB5EE625-08DE-4331-A0A1-05EFBC96B38B}', N'010986057', 472153, N'NEP740A', NULL, N'10986057', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', N'Block 16', N'', N'LOT 3 BLOCK 16 DISTRICT LOT 267 KOOTENAY DISTRICT PLAN 740A EXCEPT PART INCLUDED IN SRW PLAN 16533', N'0053', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-05-30T19:48:41.000' AS DateTime), 5, 11, 0xBD0B0000010404000000026F8144FB023A4178F2B0D0E8282441D93D7958FD023A41F80FE937F12824416AF7E4A1FE023A4160DA1B7CEC282441026F8144FB023A4178F2B0D0E828244101000000020000000001000000FFFFFFFF0000000003, CAST(308610 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (309511, N'{2A48061D-4E93-47DD-9E6F-629BE082C9DE}', N'008263795', 117903, N'VIP877', NULL, N'8263795', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 26', N'Block 8', N'', N'THAT PART OF LOT 26, BLOCK 8, SECTION 24, VICTORIA DISTRICT, PLAN 877 SHOWN OUTLINED IN RED ON PLAN ATTACHED TO DD 16820I AND LYING WITHIN THE RIGHT OF WAY OF THE C.N.P. RAILWAY AS SHOWN ON PLANS 1 RW AND 8 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:35:46.000' AS DateTime), CAST(N'2021-06-29T16:46:32.000' AS DateTime), 402, 107, 0xBD0B000001040B000000676666C63839324140F2B050728D17413108ACDC4239324180029A08668D1741F8065FD83D393241904469EF248D1741170456CE383932419096218EE38C17414B50FC382F393241105AF539EF8C1741634BC8673139324180B3EAF3148D17410288F4FB33393241805F074E3A8D17415C984CF536393241603255305F8D17416B4DF30E31393241208716D94D8D1741BE39234A3439324170A835CD778D1741676666C63839324140F2B050728D174101000000020000000001000000FFFFFFFF0000000003, CAST(309511 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (309887, N'{A3083D5B-C84F-479D-8796-32ED0C4BB78A}', N'013602039', 1485783, N'VAP2588', NULL, N'13602039', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'2000-03-14T00:00:00.000' AS DateTime), N'Lot 30', N'Block 6', NULL, N'LOT 30 BLOCK 6 SOUTH EAST 1/4 OF SECTION 26 TOWN OF HASTINGS SUBURBAN LANDS PLAN 2588', N'0150', N'0010', N'NO', N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'342', CAST(N'2021-01-12T15:53:23.000' AS DateTime), CAST(N'2021-07-29T09:25:45.000' AS DateTime), 342, 88, 0xBD0B00000104050000000E363CDDE08E3241E06A2BF617261D4157A835EDEA8E3241C0C2D3AB19261D41647FD95DEC8E32418095430B92251D411C0DE04DE28E3241003D9B5590251D410E363CDDE08E3241E06A2BF617261D4101000000020000000001000000FFFFFFFF0000000003, CAST(309887 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (310440, N'{B869D5D1-82D5-4E95-AA0E-3336BF7D08A5}', N'004978994', 646000, N'VIP12174', NULL, N'4978994', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 12', N'Block 1', NULL, N'LOT 12, BLOCK 1, OF BLOCK 29, COMOX DISTRICT, PLAN 12174 EXCEPT PART IN PLAN 1600RW.', N'0163', N'0027', N'NO', N'MODIFIED-ICIS', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2021-09-01T15:16:34.000' AS DateTime), 2086, 183, 0xBD0B0000010408000000940F7A167A3630419023B9FCA27920416CAC8BFB5A363041104D840DA1792041A211A53D5436304100A16773E1792041497B83CF523630417836AB3EEF7920414260E55063363041B03C2C94177A2041769CA2C369363041A8506B1A287A2041BC1726337C36304158302AA9077A2041940F7A167A3630419023B9FCA279204101000000020000000001000000FFFFFFFF0000000003, CAST(310440 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (311422, N'{748FA60A-F635-40AA-AAF3-80D412DD547A}', N'002912422', 481920, N'KAP28647', 90053121, N'2912422', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', NULL, NULL, N'LOT 1 SECTIONS 28 AND 33 TOWNSHIP 43 OSOYOOS DIVISION YALE DISTRICT PLAN 28647', N'0163', N'0012', N'NO', N'MODIFIED-ICF', 32, N'DATACOMPILATION', N'UNKNOWN', N'0', NULL, CAST(N'2021-11-01T15:34:21.000' AS DateTime), CAST(N'2021-11-01T15:34:33.000' AS DateTime), 79409, 1787, 0xBD0B0000010427000000C339234A1F193741A0BDC197D626234124166A6D1219374158EE5A42CA262341C88F31D7F7183741D8EEC9C3B0262341723D0A77D7183741C0A59B0468262341BCEC9E7CA8183741986CE7BB742623418E06F076A7183741F8C9C30275262341A34D2AC0A8183741307E016677262341FD98610EAA183741E00952BE7926234115B47E61AB18374120BE8B0B7C2623414F136AB9AC18374198B2854D7E262341CAD50B16AE183741F8C4178480262341AAC64B77AF183741A89F1AAF82262341DCE9959224193741A0F2B09037272341C339234A1F193741A0BDC197D6262341547424F737193741D03D7998C5262341F1C9C3423A193741E8EAE276D82623414482E2673F19374190779CA20D2723419B703DCA4A193741F8141D4983272341D21B7C814B193741F044D8F084272341FE43FA8D6219374148355E3ABA2723417EE2C7F87F1937418091ED3CFE27234133E6AE25AA193741F01FD2AFC32823413DC6DC15C019374120B29DEF0129234140F1634CCF193741F8F44AD915292341F2FDD418F2193741E0E68CA8902623411E85EB113F1A3741C03099EAA02623410A4625B5511A3741105EBA8919252341957EFB9AFD1937419003E70C60252341CF3B4E71B9193741908EE43299252341821D382783193741708F31B7C62523410524287E3C193741D0EA73F50126234174A3013C331937413090A0B809262341EAD9AC1AE6183741688D97AE482623418AD2DE60EB183741881804D6532623415E105899F2183741707CD073642623416107CEF904193741C0DA8ABD8E26234196081B3E0E193741C0EA73B598262341224A7B632A193741C8EC9EFCB6262341547424F737193741D03D7998C5262341020000000200000000020E00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(311422 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (312784, N'{A764D373-6340-44DF-A99E-F84473A3865B}', N'009484949', 474605, N'KAP11897', 90055563, N'9484949', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', NULL, NULL, N'LOT 1 DISTRICT LOT 37 OSOYOOS DIVISION YALE DISTRICT PLAN 11897', N'0134', N'0012', N'NO', N'ICF', 25, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2022-01-26T15:05:29.000' AS DateTime), 11477, 542, 0xBD0B00000104080000009A779C42C986364128FF217DC5DE224121D26FDFCC86364110F241CF78DE2241ED1FD2AF0586364140EEEBC049DE224160A1D6F4FA853641087958E871DE22412E871619E985364178EC9EBCB4DE2241F05A421EBC863641C8D78173DDDE2241F64A59A6C7863641380C02ABE7DE22419A779C42C986364128FF217DC5DE224101000000020000000001000000FFFFFFFF0000000003, CAST(312784 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (313740, N'{09FAB90C-B032-4292-B4DC-FBED3C444A1C}', N'009117270', 126673, N'VIP386', NULL, N'9117270', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 7', N'', N'', N'LOT 7, SECTION 7, VICTORIA DISTRICT, PLAN 386 EXCEPT THAT PART IN PLAN 10779', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:20:34.000' AS DateTime), CAST(N'2019-01-05T10:22:46.000' AS DateTime), 259, 72, 0xBD0B0000010405000000B38BDB08C939324190E61DA72C8517415AB1BF8CD2393241B0270F0B35851741AB7BF2B0DC393241601DC965D48417414B696F70D239324120D9CEF7CB841741B38BDB08C939324190E61DA72C85174101000000020000000001000000FFFFFFFF0000000003, CAST(313740 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (314360, N'{1A110D2C-688F-4C18-B929-791F76BDE36F}', N'006270450', 248042, N'PGP27802', 90054463, N'6270450', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'', N'', N'LOT 3 DISTRICT LOT 6006 CARIBOO DISTRICT PLAN 27802', N'0163', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:17:47.000' AS DateTime), 19856, 695, 0xBD0B00000104050000007E04C52FF4EF354140E17A1460AD2B41A4BDC19773EF3541E8EFA78679AB2B4164DE71EA32EF354150CD3B0EBAAB2B41D4E76ACBB3EF35410830BBA7A0AD2B417E04C52FF4EF354140E17A1460AD2B4101000000020000000001000000FFFFFFFF0000000003, CAST(314360 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (314976, N'{FC47C25B-E69C-47D2-928A-736453708CBA}', N'016169328', 472080, N'NEP639', 90092452, N'16169328', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 13', N'Block 52', NULL, N'LOT 13 BLOCK 52 DISTRICT LOT 1901 KOOTENAY DISTRICT PLAN 639', N'0163', N'0018', N'NO', N'MODIFIED-ICF', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-05-11T15:31:48.000' AS DateTime), 319, 82, 0xBD0B00000104050000006D8104C5C4ED3A41482EFF21BDA820410C560E2DC6ED3A4108E4835EA8A82041447B830FA8ED3A41704F1E969FA820412BCB10A7A6ED3A416807CE59B4A820416D8104C5C4ED3A41482EFF21BDA8204101000000020000000001000000FFFFFFFF0000000003, CAST(314976 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (317379, N'{A764491C-0D48-4625-A07F-3E83923BA2B7}', N'013000551', 3, N'NO_PLAN', 3782560, N'13000551', NULL, N'73105450000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'676', N'', N'', N'DISTRICT LOT 676 KAMLOOPS DIVISION YALE DISTRICT', N'0163', N'0028', N'NO', N'ICF', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:29:36.000' AS DateTime), 1971255, 6923, 0xBD0B000001041600000078E09C31088E3541E861A1D6E80E22414650FC3827913541F873B5D5690F224198B20C310D923541D0DEE0CB920F2241094625557D923541B0802682A50F22418EA0F85138933541D06A2BB6C40F224195E61DC739953541D8C039631A102241855AD3DC6095354100F775A0700C2241A333A2146A953541C08F3177930B224197E61D0797943541085839346C0B22410EC7BAD802933541F8A4BDC1280B2241C386A79748923541509FABAD090B2241045F982C6192354100CFF7D3BB082241443789E17492354100492EFFE2062241A7DFBE8E6892354140696FF0E00622410C0BB5A6EF91354138871699C90622411EA7E828998F3541D8E00B535C022241664DF34E788F3541D82B65191E0222411AB7D1C0FD8E354170C64BF735012241ABADD8FF9C8E354120D8F0B47E002241A011A53D698E354108FED43882052241EC61A116208E3541F0263148980C224178E09C31088E3541E861A1D6E80E224101000000020000000001000000FFFFFFFF0000000003, CAST(317379 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (318156, N'{780E5CC1-7293-4635-A8F5-50A6A3B31DEF}', N'024209376', 3, N'NO_PLAN', NULL, N'24209376', NULL, N'72412346045', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1998-07-28T00:00:00.000' AS DateTime), N'PART SE4', N'27', N'22,17', N'PARCEL A (PLAN KAP62250) OF THAT PART OF LEGAL SUBDIVISION 8 OF SECTION 27 LYING WEST OF THE RIGHT BANK OF THE NORTH THOMPSON RIVER; TOWNSHIP 22 RANGE 17 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT', N'0163', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:06.000' AS DateTime), 702, 214, 0xBD0B000001040C000000CA20B0527D653541E8C798BB3376244132211F548465354168F7E4A1F8752441A44E40B37D65354110F77560DA752441903A01AD7B653541C8D85F362C762441CA20B0527D653541E8C798BB3376244153D3BCC397653541902BF65751762441D2D5566C92653541580E2DF2387624413E355EBA916535415094F6C635762441A8A44EC08A653541F0B584FC70762441FB2A873696653541D013D044A5762441E68C28AD9B65354158696F30A676244153D3BCC397653541902BF65751762441020000000200000000020500000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(318156 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (319106, N'{36BCAE9E-6358-46E5-8230-2331D9E55CB0}', N'007940955', 19444, N'VIP1004', NULL, N'7940955', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'', N'', N'THAT PART OF LOT 5, DISTRICT LOT 49, COWICHAN LAKE DISTRICT, PLAN 1004 BEING THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 100 RW', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:38:20.000' AS DateTime), CAST(N'2019-01-07T18:33:37.000' AS DateTime), 2594, 240, 0xBD0B0000010405000000607FD9BDA98A3141A0E995B2CDB319417A832F2CAB8A3141F06E810440B3194144CF6615608A314150D191DCDCB3194113D044D85E8A3141808EE47269B41941607FD9BDA98A3141A0E995B2CDB3194101000000020000000001000000FFFFFFFF0000000003, CAST(319106 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (319356, N'{355F3863-C907-49B7-89A9-0E7E51E7B253}', N'005649293', 18837, N'VIP7710', 761811, N'5649293', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1, SECTIONS 7 AND 8, RANGE 5, SOMENOS DISTRICT, PLAN 7710 EXCEPT PART IN PLAN 3426 RW', N'0089', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T16:46:10.000' AS DateTime), CAST(N'2019-01-07T18:31:38.000' AS DateTime), 4569, 363, 0xBD0B00000104070000000E83C04AB0D1314190FEB2FBD8F01941E9FBA91194D1314190AC8BDBA5F019414ED1919C90D1314110BADA0A6BF21941826132558FD13141C0779CA212F31941E595B20CB0D13141E05B8F4217F31941D488D21EB0D1314150B20C716FF219410E83C04AB0D1314190FEB2FBD8F0194101000000020000000001000000FFFFFFFF0000000003, CAST(319356 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (319475, N'{1232D97F-B757-4AF7-9562-6702B6CB16AA}', N'015433366', 3, N'NO_PLAN', 33395541, N'15433366', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'NE4', N'8', N'22,1', N'THE NORTHEAST QUARTER OF LEGAL SUBDIVISION 16 SECTION 8 TOWNSHIP 22 RANGE 1 WEST OF THE 6TH MERIDIAN KOOTENAY DISTRICT', N'0163', N'0006', N'NO', N'MODIFIED-ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:23:28.000' AS DateTime), 41220, 812, 0xBD0B000001040C0000007A7AA50CD6B83741E8F97EEA87C82441211FF40C9BB83741E04D62D07AC82441EE61A15684B83741D8133F460ECA244174787A8595B83741D046033812CA2441E15817979EB8374108295CCF13CA24418AEB51F8A6B8374118A089B015CA244174A3013CBBB8374128A2B4371ACA2441401CEB424EB93741687346143BCA2441974C15EC64B93741D0EEC9C3A7C824414082E2E7FDB8374178BA49CC90C824411E1FF42CF4B83741201C7CA18EC824417A7AA50CD6B83741E8F97EEA87C8244101000000020000000001000000FFFFFFFF0000000003, CAST(319475 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (320849, N'{221517E7-9B09-4920-979B-F6A1688ADEF2}', N'013178644', 467900, N'NEP8107', NULL, N'13178644', NULL, N'786172000', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot A', N'', N'', N'LOT A SECTION 12 TOWNSHIP 7 KOOTENAY DISTRICT PLAN 8107', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:09.000' AS DateTime), 7477, 383, 0xBD0B00000104160000000C68226C49D63941F03F1361F2F71D419CABAD3844D63941F0D781730CF81D41429B555F3FD63941E02B659927F81D412E772DE13AD63941D0C876BE43F81D41A5C64B1738D63941504B590657F81D41CA073D3B34D63941405530AA74F81D411DF46CF62FD6394150E5D022A2F81D41F31648B02DD63941C00E9C33B2F81D4136AB3ED72BD63941105305A3C7F81D413A014D4421D6394150D8F07449F91D41F09E3C0C3DD63941D013D0C459F91D410C83C0AA73D63941C02A181586F91D418A7CD09379D6394100F1F4CA56F71D41143FC69C79D63941F06B09F952F71D4196B20CD173D639419011363C63F71D41EC2FBBA76CD63941E0FB3A7076F71D410B560ECD65D63941E096900F89F71D41C620B0325FD6394110C286279DF71D41BEEC9EDC58D63941909DEFA7B2F71D41B47BF2D052D6394150B74082C9F71D4103B37B124DD6394120E4839EE1F71D410C68226C49D63941F03F1361F2F71D4101000000020000000001000000FFFFFFFF0000000003, CAST(320849 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (321141, N'{C7598726-E056-427B-B848-80D80F3421A0}', N'013226134', 246698, N'PRP1076', 90073092, N'13226134', NULL, N'03542.910', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 11', N'Block 34', N'', N'LOT 11 BLOCK 34 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076 EXCEPT PLAN PRP14257', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 126, 56, 0xBD0B000001040600000014E9B7EF602E2C41A445B6B337A130410BF241CF602E2C41E0E00BF331A13041DE68006F3B2E2C41DCD7813332A13041DC6800AF392E2C4168BC743332A13041E368002F312E2C4164F38E1338A1304114E9B7EF602E2C41A445B6B337A1304101000000020000000001000000FFFFFFFF0000000003, CAST(321141 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (322713, N'{C6006BEA-C891-4E93-95E2-4581EEBE58A5}', N'015508595', 488966, N'NEP1899', NULL, N'15508595', NULL, N'002349.500', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 21', N'Block F', N'', N'LOT 21 BLOCK F DISTRICT LOT 2919 KOOTENAY DISTRICT PLAN 1899 EXCEPT PLAN 6054', N'0146', N'0019', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:37:36.000' AS DateTime), 35, 29, 0xBD0B00000104040000001283C00A017F3841A09F1A2F95DD1D419E1A2FFDF87E3841206666E67BDD1D41A1A223B9F47E384180B4377891DD1D411283C00A017F3841A09F1A2F95DD1D4101000000020000000001000000FFFFFFFF0000000003, CAST(322713 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (323637, N'{6299D569-44BB-42B9-A1E9-4D29A714392F}', N'014083523', 295389, N'PRP968', 14745671, N'14083523', NULL, N'00583.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'Block 41', N'Section 1', N'LOT 6 BLOCK 41 SECTION 1 DISTRICT LOT 863 CASSIAR DISTRICT PLAN 968', N'0087', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:37.000' AS DateTime), 366, 93, 0xBD0B000001040500000014E9B7AFB06E2B413CFAED4BB4643141161DC9A5AF6E2B410C4D84CD8F6431419B89B0A19B6E2B41D43B4EF18F643141D476BE9F9C6E2B41589FAB6DB464314114E9B7AFB06E2B413CFAED4BB464314101000000020000000001000000FFFFFFFF0000000003, CAST(323637 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (323661, N'{6F7A713E-8FE3-40AC-884E-0568CA708776}', N'014083701', 295389, N'PRP968', 14745411, N'14083701', NULL, N'00582.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'Block 41', N'Section 1', N'LOT 4 BLOCK 41 SECTION 1 DISTRICT LOT 863 CASSIAR DISTRICT PLAN 968', N'0087', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:27.000' AS DateTime), 366, 93, 0xBD0B000001040500000009F2418F886E2B41B468008FB464314101098A9F876E2B41806ABC14906431418A635D9C736E2B4134AB3E379064314197ED7C7F746E2B4184E09CB1B464314109F2418F886E2B41B468008FB464314101000000020000000001000000FFFFFFFF0000000003, CAST(323661 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (324172, N'{751D7DB9-25B1-46F5-A0CB-87F5D82DD4D4}', N'017794269', 1037, N'VIP54327', NULL, N'17794269', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot A', N'', N'', N'LOT A, BLOCK 360, ALBERNI DISTRICT, PLAN VIP54327 EXCEPT PART IN PLAN, VIP66989 AND VIP85728', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2019-01-05T08:37:22.000' AS DateTime), 12970, 784, 0xBD0B0000010422000000F0C9C3A233C63041C07D1DB835861D4171A3013CD1C53041501361432E861D41D58AFD85D1C53041D0BDC117EB861D41E10B934935C7304130AA60D4F7861D4102F775A015C73041A0AC8BDB87861D413B3CBD32F2C63041A068006F40861D41B1325450E6C630411019AC693A861D41440AB158DAC6304120993B4438861D415B360160CEC63041604B4D023A861D4147EF737AC2C630415017F1A03F861D41232A18BCB6C63041B05DAD1649861D4112C7BA38ABC6304130F38E5356861D4163579374A6C63041C026939B5D861D411B8E90B5A1C63041E01E971865861D415440D7FB9CC6304120BE60CA6C861D41F9198C4798C63041E04EB4B074861D41FD9CD39893C63041808254CB7C861D41F01FD2EF8EC630413075021A85861D417FBCF59E88C63041C0825D9C8E861D413B730C1E82C63041F03D19D195861D4102E57E7A7BC63041D0475AA99A861D41C31EFDC174C63041B087231B9D861D412C6162026EC63041C0C66A219D861D41058F984967C63041601423BC9A861D41847D7BA560C6304170DD3CF095861D417861BC235AC63041D0C09BC78E861D41A894C5D153C63041602A025185861D41C0EC9EBC4DC63041B0E4F29F79861D41A9E62F5249C6304170BA54B76E861D414ACE56EE44C63041A0C980A463861D4137DB2C9140C6304160ACB66758861D41961ECB3A3CC6304170F136014D861D4193824AEB37C63041B013437141861D41F0C9C3A233C63041C07D1DB835861D4101000000020000000001000000FFFFFFFF0000000003, CAST(324172 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (328512, N'{AFCB4839-7389-4446-9B36-47563B85D309}', N'014297744', 1479024, N'NWP1558', NULL, N'14297744', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-02T00:00:00.000' AS DateTime), N'REM Lot 8', N'Block 14', N'', N'LOT 8 EXCEPT PART ON SRW PLAN 26625, BLOCK 14 DISTRICT LOT 69 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 1558', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T13:09:03.000' AS DateTime), 862, 119, 0xBD0B000001040600000008C58FD19A913241B01E85EB5E0D1D41DF0B93A97F913241308B6CE75B0D1D41BC5B20217E9132415010E937F00D1D419E923A41889132414061C353F10D1D41E24603F899913241F0BFEC1EAF0D1D4108C58FD19A913241B01E85EB5E0D1D4101000000020000000001000000FFFFFFFF0000000003, CAST(328512 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (328869, N'{D4398965-B131-4D28-9F9E-CE5FF5468B2A}', N'010477390', 863247, N'KAP4683', NULL, N'10477390', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'', N'', N'LOT 2 DISTRICT LOT 174 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 4683', N'0059', N'0022', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:30.000' AS DateTime), 462, 89, 0xBD0B0000010405000000376744092620364120F8C26409991D4160CC5D8B24203641A04BA68A71991D4164764F5E35203641E0C5DCB575991D41D42B651937203641D00968A203991D41376744092620364120F8C26409991D4101000000020000000001000000FFFFFFFF0000000003, CAST(328869 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (329143, N'{90BC0EC3-E666-4125-B3FF-8466442CAC39}', N'009363980', 3, N'NO_PLAN', NULL, N'9363980', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 144', NULL, NULL, N'THAT PART OF DISTRICT LOT 144, MALAHAT DISTRICT, LYING TO THE SOUTH OF A BOUNDARY PARALLEL TO THE NORTHERLY BOUNDARY OF SAID LOT AND EXTENDING FROM A POINT ON THE WESTERLY BOUNDARY OF SAID LOT DISTANT 605 FEET FROM THE NORTH WESTERLY CORNER OF SAID LOT, EXCEPT PART IN PLAN 591 RW AND EXCEPT PART IN PLAN VIP60798', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 6, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T20:52:35.000' AS DateTime), CAST(N'2020-07-27T08:38:40.000' AS DateTime), 58458, 992, 0xBD0B000001040B00000033A2B437490B32410072F90FAC5C18410B819503790B3241309B551FFC5A1841698863DD3C0A324110B7D180C75A184159EC2F5B370A324160B20C71335E18412CFF215D170B324150E7FB29485E184124825F9B1D0B3241900098CCFF5D184170BD0EB3240B324150ED98B2B85D184143891DA02C0B32418026CE04735D18415645FF5D350B3241901936EB2E5D18415775AFE73E0B32416033E78CEC5C184133A2B437490B32410072F90FAC5C184101000000020000000001000000FFFFFFFF0000000003, CAST(329143 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (330654, N'{79F5B5A2-7A89-45DE-9AC6-85735F9CA1E6}', N'005414342', 927, N'VIP8671', 47121, N'5414342', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', NULL, NULL, N'LOT 1, DISTRICT LOT 15, BRIGHT DISTRICT, PLAN 8671', N'0163', N'0021', NULL, N'ICIS CADASTRE', 9, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2020-08-25T16:02:23.000' AS DateTime), 81599, 1174, 0xBD0B000001040C000000D75F768FD2A2314160AC8BDB6D6D1B41DC0209EA88A23141B0051294C4701B414FDA1B5C5FA2314120EA04B4A5721B41B48D0610FCA23141F099089B97731B41BA15FB8BBAA33141007A362BDF6F1B41741AFD74BFA3314140413F1DB66F1B416237B16FC4A33141F02870318D6F1B410E93087CC9A33141A03A4368646F1B416C1FF499CEA33141801732C23B6F1B41FF9964C9D3A33141E0F8B53F136F1B41198C4A0AD9A3314120AE47E1EA6E1B41D75F768FD2A2314160AC8BDB6D6D1B4101000000020000000001000000FFFFFFFF0000000003, CAST(330654 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (330813, N'{80FEB1F7-8BDC-4372-80EE-F38553834CC5}', N'010747737', 1485961, N'VAP7029', NULL, N'10747737', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2003-01-29T00:00:00.000' AS DateTime), N'REM Lot 8', N'', N'', N'LOT 8, EXCEPT: PART ON HIGHWAY PLAN 116 BLOCK F DISTRICT LOT 327 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 7029', N'0150', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2020-09-08T11:06:28.000' AS DateTime), CAST(N'2020-09-08T11:09:43.000' AS DateTime), 1117, 150, 0xBD0B000001040600000049D8F0D46A8232412045D8F028B41C41682BF6975582324100F9A0671AB41C418CA9821154823241800AD723ECB41C41F6EDEBE0538232410020D2EF06B51C414803788B6982324170EB51B8DEB41C4149D8F0D46A8232412045D8F028B41C4101000000020000000001000000FFFFFFFF0000000003, CAST(330813 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (331168, N'{B9903170-798C-4B99-90CC-8302ECDBECC6}', N'001565931', 117903, N'VIP877', NULL, N'1565931', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block 11', NULL, N'THAT PART OF LOT 3, BLOCK 11, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:39:57.000' AS DateTime), CAST(N'2020-09-22T09:16:54.000' AS DateTime), 307, 71, 0xBD0B000001040500000042E8D9CC803732417086C954C48D1741F0FDD4B886373241D0E46121118E17410DE9B74F9537324170840D4FFF8D17411A1DC9658F37324170931884B28D174142E8D9CC803732417086C954C48D174101000000020000000001000000FFFFFFFF0000000003, CAST(331168 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (334295, N'{242E3BA7-ADF7-403B-840D-567DEC1C13E1}', N'000730599', 133660, N'VIP4179', NULL, N'730599', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', NULL, N'REM Lot 14', N'', N'', N'LOT 14 SECTION 9 RANGE 3 EAST NORTH SAANICH DISTRICT PLAN 4179 EXCEPT THOSE PARTS IN PLANS 10288, 11846, 16816, 41666 AND 1321RW', N'0129', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:34:01.000' AS DateTime), CAST(N'2021-05-13T12:07:48.000' AS DateTime), 3553, 327, 0xBD0B0000010408000000601058F9E22D3241F0C264AADECD184123F46C76E22D3241A0AACF5517CE1841AF69DEB1E12D3241107C61B26CCE184110C7BA38DE2D324110A91350E5CF1841CE00DE620B2E324170A60A46ECCF18411C2653E5EA2D3241206EA301CECD18413E1CEB22E32D324160A1D6B4CCCD1841601058F9E22D3241F0C264AADECD184101000000020000000001000000FFFFFFFF0000000003, CAST(334295 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (334330, N'{FBC8B7AA-C9A5-40D3-91CA-F5B9B48F36C8}', N'015744906', 495897, N'NEP1684', NULL, N'15744906', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'2000-03-29T00:00:00.000' AS DateTime), N'Lot 9', N'Block 11', NULL, N'LOT 9 BLOCK 11 DISTRICT LOT 4598 KOOTENAY DISTRICT PLAN 1684', N'0146', N'0019', N'NO', N'PMBC-OPERATIONS', NULL, NULL, N'COGO', N'0', N'483.5', CAST(N'2021-05-14T14:58:11.000' AS DateTime), CAST(N'2021-05-17T16:12:18.000' AS DateTime), 486, 94, 0xBD0B0000010405000000627FD97D12833841E0FE21FDADDE1D41D26800AF2F83384120910F7A89DE1D419E89B0A12F833841C0B1BFEC46DE1D4129A08970128338411020D26F6BDE1D41627FD97D12833841E0FE21FDADDE1D4101000000020000000001000000FFFFFFFF0000000003, CAST(334330 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (335423, N'{0A931921-DFCE-4E74-9E1D-22EC5BD50EA9}', N'007919816', 3190736, N'VIP1206', NULL, N'7919816', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', NULL, NULL, N'THAT PART OF LOT 1, SECTIONS 9 AND 33, VICTORIA DISTRICT, PLAN 1206, CONTAINING 0.04 OF ACRE AS SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'COGO', N'0', N'219.0', CAST(N'2016-01-06T20:57:07.000' AS DateTime), CAST(N'2021-06-30T09:39:34.000' AS DateTime), 219, 99, 0xBD0B000001041100000038EF38A57C3932414070CE08768E17413E136163763932414088635D4E8E1741E402094A6C393241C0A7C6CBD48E17419228ED6D69393241A01A2FDDFA8E174170787AA56A39324160917E7B028F17419492296B6B393241D0BCE04CFB8E174188A20F346C393241D050D823F48E174159222A006D393241A0527C00ED8E1741CA8176CF6D393241F0B5E3E2E58E17416126F2A16E393241105B25CBDE8E1741526B9A776F393241501058B9D78E1741518C677E71393241608BE615C78E17410072CB9673393241C09A7595B68E1741ED56A0C075393241E0B72E39A68E1741383BBFFB7739324140D03802968E174175E7FF477A3932419030B8F1858E174138EF38A57C3932414070CE08768E174101000000020000000001000000FFFFFFFF0000000003, CAST(335423 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (336281, N'{0DEA279C-3915-4B89-9B58-9CDB397516EA}', N'Statutory RoW', 4486118, N'KAP901CG', 90020947, N'12656348', NULL, NULL, N'ACTIVE', N'INTEREST', N'CROWN PROVINCIAL', CAST(N'1989-01-04T00:00:00.000' AS DateTime), NULL, NULL, NULL, N'THAT PART OF THE WEST 1/2 OF DISTRICT LOT 1122 PEACE RIVER DISTRICT AS SHOWN ON PLAN CG 901, EXCEPT THAT PART LYING SOUTH OF PLAN CG 571 AND EXCEPT BLOCK A OF THE SOUTH WEST 1/4 THEREOF', N'0163', N'0015', N'NO', N'MODIFIED-TANTALIS', NULL, NULL, N'UNKNOWN', N'1', N'27.05', CAST(N'2019-03-12T11:56:52.000' AS DateTime), CAST(N'2021-09-01T12:31:16.000' AS DateTime), 27, 27, 0xBD0B0000010405000000499D8066CF2E334134014D840F1D3241625DDC66D22E334144FC18130D1D324140AD697ED22E33411495D4690B1D324156D3BCC3C62E3341306EA3010B1D3241499D8066CF2E334134014D840F1D324101000000020000000001000000FFFFFFFF0000000003, CAST(336281 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (337433, N'{61891D2D-30F7-4870-A0D2-89B2D099C8AD}', N'003710823', 3, N'NO_PLAN', NULL, N'3710823', NULL, N'73105979000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2001-06-27T00:00:00.000' AS DateTime), N'1328', NULL, NULL, N'DISTRICT LOT 1328 KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLANS H918, 36529 AND KAP69187', N'0163', N'0028', N'NO', N'MODIFIED-ICF', 9, N'DATACOMPILATION', N'UNKNOWN', N'0', N'1028411', CAST(N'2019-01-02T13:21:36.000' AS DateTime), CAST(N'2021-11-15T10:09:57.000' AS DateTime), 1023872, 6166, 0xBD0B000001042900000031211F544E26354148401361D3292141E98C286D5925354160FC18F3AC292141A2703D2A2E25354190CE88D2112E2141DEA59B642E25354168BA49CC192E214132C4B10E47253541B82CB25D7D2E21412FBB27EF5125354138E5D022A12E2141054AC46557253541E88DEF1FB12E2141A94DDA8A5D25354188095817C02E21411C683C526425354170AF61EBCD2E2141079C7BAE6B253541083FA580DA2E214196EB019173253541F02C33BEE52E214150402FEA7B253541680EC58DEF2E2141D16178A984253541E8BCE9DBF72E2141BEBE87BD8D25354150DD2B98FE2E2141B0C65F1497253541C87E32B5032F214100917E9BA0253541B08BDB28072F21419C67B30ABE253541C0218EB5E02E214196B20C51FE253541B0BDC197862D21416509F9A0D4263541A844696FBB2C21415F5DDC8625273541305BB1BF6E2C21413A5EBA29F6273541202CD4DAA82C2141F75C6D253F283541586B9AF7DA2C214100B37B9258283541108D286DEC2C214187A7572A66283541C85296A1822B2141D6F97EAA67283541C8B359B55A2B21414B9D80E670283541C8EC9EFC642A21417958A81573283541E073B5D52A2A214131211F544E26354148401361D3292141A023B9FC0F263541689CA2A3EA2E2141402CD4DAFF25354150A60A06C92F21411904560ED825354110F31F9294312141D222DBB9BB25354158A301FC72332141460378ABA3253541A00F7A3660352141BC0512149825354120F46C56693621417C0B2408FA273541F821FDF6C6362141A6DFBE4E522835414851495DF42D214180AEB6C2F227354130431CEBC72D21417C8CB9CBAC2735414860E5505F2D2141833F353EA0263541504013A1602D21412B1895B45926354130A52CC3DD2D2141A023B9FC0F263541689CA2A3EA2E2141020000000200000000021C00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(337433 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (338259, N'{68C2C65D-3CA4-4DFB-B747-1DB745EC35FE}', N'008908541', 873366, N'KAP15053', NULL, N'8908541', NULL, N'P21404', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 15', NULL, NULL, N'LOT 15 DISTRICT LOT 257 KAMLOOPS DIVISION YALE DISTRICT PLAN 15053 EXCEPT PART IN PLAN 35668', N'0055', N'0028', N'NO', N'ICF', 0, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2022-01-07T13:09:55.000' AS DateTime), 149, 55, 0xBD0B00000104060000007C9ECDAA2F54354110D044588ACC23415205A3B22E543541000EBE308ACC2341B8FC87F41B543541703F351E87CC2341D96800AF1A543541385839B48FCC23415CB1BF8C2C543541E83FA45F9FCC23417C9ECDAA2F54354110D044588ACC234101000000020000000001000000FFFFFFFF0000000003, CAST(338259 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (338876, N'{A189C4A6-1FE9-4B5B-BDA3-4A284DBA073B}', N'014781638', 3, N'NO_PLAN', NULL, N'14781638', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 534', NULL, NULL, N'THAT PART OF THAT PART OF DISTRICT LOT 534 COLOURED RED ON PLAN ATTACHED TO ABSOLUTE FEES PARCELS BOOK VOLUME 4 FOLIO 411 NO. 5084A SHOWN AS ROAD ON PLAN M18427; SIMILKAMEEN DIVISION YALE DISTRICT', N'0044', N'0019', N'NO', N'MODIFIED-ICIS', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-04-23T15:08:06.000' AS DateTime), 830, 211, 0xBD0B0000010405000000CC98BB3608B43741A09C112576FC1C41B18BDB8814B4374140C7BA38F7FA1C41E83FA4FF0BB43741608FC2F5F3FA1C41042B8796FFB33741708A8E6475FC1C41CC98BB3608B43741A09C112576FC1C4101000000020000000001000000FFFFFFFF0000000003, CAST(338876 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (339301, N'{63394D21-8D70-4F9D-8955-885A8C36901B}', N'005700515', 496129, N'NEP546', 90054455, N'5700515', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 14', N'Block C', N'', N'LOT 14 BLOCK C DISTRICT LOT 208 KOOTENAY DISTRICT PLAN 546', N'0056', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:42.000' AS DateTime), 245, 80, 0xBD0B00000104050000008B0D4FAF472F3941882C435C94DE214108819583452F3941908026C285DE214159A8352D282F394190B20CF196DE2141D419513A272F3941F863CC5DA7DE21418B0D4FAF472F3941882C435C94DE214101000000020000000001000000FFFFFFFF0000000003, CAST(339301 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (339457, N'{F05AE1A3-E8B4-4DA6-B721-393851AA2B9D}', N'007576455', 128602, N'VIP1347', NULL, N'7576455', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'Block 2', N'', N'LOT 2, BLOCK 2, SECTION 33, VICTORIA DISTRICT, PLAN 1347, EXCEPT PART IN PLAN 23075', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:00:21.000' AS DateTime), CAST(N'2019-01-05T10:22:05.000' AS DateTime), 63, 39, 0xBD0B00000104040000005BA8350D123C3241C0ABADD8D2991741FEFFFF5F123C3241E0F528DC039A17410388F4BB1C3C3241D089B061059A17415BA8350D123C3241C0ABADD8D299174101000000020000000001000000FFFFFFFF0000000003, CAST(339457 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (339659, N'{00A8F3D5-D205-4A70-9D48-581AAC2E29C6}', N'009411585', 128541, N'VIP180', NULL, N'9411585', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'THAT PART OF LOT 1, SECTION 64, VICTORIA DISTRICT, PLAN 180, DESCRIBED AS THE CANADIAN NORTHERN PACIFIC RAILWAY RIGHT OF WAY AS SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:25:11.000' AS DateTime), CAST(N'2019-01-05T10:22:56.000' AS DateTime), 3811, 339, 0xBD0B000001041200000052B81EE5E23C324110D26FDF4B9E1741C676BE1FE63C32412061C3535B9E17413F60E550E93C32412042CFE66A9E1741A3ABAD78EC3C3241C07493987A9E1741C0A8A46EF43C324150B6847C819E1741BEA8A44E113D3241A0FE437A9A9E17415CA8354D033D3241F0B4A6F94A9E1741A679C769073D32415019E2583E9E1741E773B515033D324170ADD85F289E1741F831E6AEFE3C3241F09B33A2129E1741E673B535FA3C324120C05B20FD9D1741B303E7ECC13C324190C4B12EF39C174193779C42C43C32410087A757EB9C1741A211A51DBF3C324190B4A6F9D29C17412D4CA6EAB63C32411051DA1BAC9C174193ED7C1FAD3C324110E3369A4D9D17410088F4BBB13C3241C01DA768639D174152B81EE5E23C324110D26FDF4B9E174101000000020000000001000000FFFFFFFF0000000003, CAST(339659 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (342534, N'{CF7F0C58-8FF7-49C2-BBA3-D13563D40A1D}', N'007576242', 128602, N'VIP1347', NULL, N'7576242', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 4', N'Block 1', N'', N'LOT 4, BLOCK 1, SECTION 33, VICTORIA DISTRICT, PLAN 1347, EXCEPT PART IN PARCEL A (DD 329871-I)', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:51:07.000' AS DateTime), CAST(N'2019-01-05T11:04:09.000' AS DateTime), 515, 93, 0xBD0B000001040C0000001E3867A4413C3241C086A757649B1741462575E2493C324190F2B0508B9B174194081B7E533C324130287E8C949B17412C5305C3543C324120C7BAB8199B1741D5817386423C324150D3BCE30E9B1741E47A142E423C32419039234A309B174173810425423C3241207F6ABC339B1741043D9B35423C32417095430B349B17419B658823423C324110F01648349B1741ADD85F16423C3241F0C8E53F399B1741095F980C423C3241E0FBA9F13C9B17411E3867A4413C3241C086A757649B174101000000020000000001000000FFFFFFFF0000000003, CAST(342534 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (342882, N'{EC2A50C8-6B65-4528-87DB-F395F1F1978E}', N'014346036', 3, N'NO_PLAN', NULL, N'14346036', NULL, N'72411912010', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART SW4', N'35', N'19,15', N'ALL THAT PART OF THE SOUTHWEST 1/4 SECTION 35 WHICH LIES TO THE SOUTH OF THE THOMPSON RIVER AND TO THE WEST OF THE WESTERN LIMIT OF DISTRICT LOT 292 KAMLOOPS DIVISION YALE DISTRICT, TOWNSHIP 19 RANGE 15 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT SAID TO CONTAIN 2.60 ACRES MORE OR LESS EXCEPT PLAN 31', N'0163', N'0028', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:31:55.000' AS DateTime), 18358, 696, 0xBD0B0000010419000000569FABAD78BC3541F8285C0FD2A72341733D0A9788BC354140014D04DCA72341C1EC9E1C8DBC354188AEB6A2E0A7234169AA60549DBC3541B0DCB504F2A72341E0581717A4BC3541B89999D9FAA7234156302AA9BEBC3541000681551DA82341F575E05CC5BC354168F7E4A124A823416DAC8BBBDCBC354168CC5DCB38A82341E29C11E5DFBC3541383333333BA8234172128320E8BC3541E82553456DA72341DFA59B04E6BC354120ADFA1C6CA72341FA6C56FDE5BC354108BE30196CA72341C37D1D3847BC354120AC1C1A14A723413CF8C2E4DDBB354168DE71CA01A723416A2BF637DBBB3541F0BE0E5C37A72341B2B662DFEFBB3541507424174BA723418B8EE4B2FABB35413041F16354A7234108F016481FBC354180EE5A0270A7234146696F1027BC354198A223F975A723411E4A7B2345BC35419857CA7291A723411A1DC9C54CBC3541F865F7E497A7234156D3BCE367BC354100D578A9B6A7234188B0E1A96CBC35411073D752BBA72341AE1C5AC474BC354100CAC342CBA72341569FABAD78BC3541F8285C0FD2A7234101000000020000000001000000FFFFFFFF0000000003, CAST(342882 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (344374, N'{E9331F6A-04A5-412B-A1EF-2820EE65013C}', N'010492119', 3, N'NO_PLAN', 4695131, N'10492119', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'W2', N'8946', N'', N'THE FRACTIONAL WEST 1/2 OF DISTRICT LOT 8946 CARIBOO DISTRICT', N'0163', N'0008', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2018-01-09T12:11:21.000' AS DateTime), 193836, 1756, 0xBD0B0000010412000000365EBA09C319354110B37B32B5A32C41B8FC8734B41935410086C95416A52C41DE2D90A0B819354130C807BD5DA52C410F83C08AAC193541C87BF230D5A52C41A6E8480E9619354138F1638C4BA62C41BF7493388819354168EB5138A3A62C4141C6DCD59219354190B5157B0EA72C41DC9C11A5A319354190900F7A2AA72C41C7C342CDAC19354130355EBA39A72C41A42C43FCCA193541A0B20C7147A72C41684469EFE0193541C064AAA05FA72C41C27D1D780C1A354148A1D67467A72C415DA1D634521A3541F06A2BF696A72C415D17B7B1551A3541C885C914A4A72C410AA3927A291B354160EA04B4C7A72C41412CD41A361B3541E8D0229B9BA62C411071AC8B521B354180734694F7A32C41365EBA09C319354110B37B32B5A32C4101000000020000000001000000FFFFFFFF0000000003, CAST(344374 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (344617, N'{88271DC1-884E-442F-A1F7-053370B2EB06}', N'010939717', 469686, N'NEP1696', 8998371, N'10939717', NULL, N'02606.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 8', N'Block 1', N'', N'LOT 8 BLOCK 1 DISTRICT LOT 1358 KOOTENAY DISTRICT PLAN 1696', N'0060', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:17:35.000' AS DateTime), 39, 28, 0xBD0B000001040A00000040355E9AC6423A4160B3EA3304632141AF252494C5423A4178E4E72904632141E2BA008EC4423A41504ECF3A0463214196A4A488C3423A41908C956604632141460CC084C2423A41201D1DAD046321412D1E0283C1423A41D076360E0563214176931884C0423A416827A0890563214177F2B070BB423A41809A775C08632141B5A67947C3423A4138772D211263214140355E9AC6423A4160B3EA330463214101000000020000000001000000FFFFFFFF0000000003, CAST(344617 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (344953, N'{B0BDCAFB-FD46-4E1F-AAD0-A490FF72E55E}', N'017213541', 3, N'NO_PLAN', NULL, N'17213541', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2010-11-17T00:00:00.000' AS DateTime), N'E', N'301', N'', N'PARCEL E (REFERENCE PLAN 8856) OF DISTRICT LOT 301 GROUP 2 NEW WESTMINSTER DISTRICT EXCEPT PLANS 28237 AND BCP46649', N'0067', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2018-01-09T12:28:05.000' AS DateTime), 7139, 405, 0xBD0B000001040C00000034431C2BE6103341A04C150C2A4D1C4185855A139C103341F051B81E1F4D1C41AD9DEF879610334100840D4F814F1C41B7B88D86B710334160D0B3D9314F1C4133772D41C1103341E03D7958EF4E1C41EEEBC039C410334150772DA1C74E1C4188635D9CC6103341E02FBB279B4E1C4108B5A679CC103341503F355E214E1C41322AA933D0103341C0BE0E9CE44D1C41CCC342ADD510334110BC0512A34D1C4115FBCB0EDD103341D03E57DB614D1C4134431C2BE6103341A04C150C2A4D1C4101000000020000000001000000FFFFFFFF0000000003, CAST(344953 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (345625, N'{A93BF8E9-1450-45A8-9136-8647BA935F6E}', N'011152532', 3, N'NO_PLAN', NULL, N'11152532', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART SW4', N'5', N'23,6', N'THE SOUTH-WEST 1/4 SECTION 5 TOWNSHIP 23 RANGE 6 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION OF YALE DISTRICT EXCEPT PARTS INCLUDED IN PLANS 1893, 4340 AND RW PLAN 633A-9', N'0163', N'0006', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:23:28.000' AS DateTime), 439953, 4410, 0xBD0B00000104280000006CF0854976F4364168D3BC63B0D724417714AE6783F43641B069DEB1D7D72441D044D8509EF4364190F4DBD7C4D52441EC839E2DBFF436413094F6C647D32441954AEAA436F33641B0A14536F2D22441C8EEC903DDF2364188E7FBE9E6D2244132772D410DF43641702A18D576D6244151E3A5FB29F4364190DFBECECCD624416CF0854976F4364168D3BC63B0D72441CB2B65B974F43641A028EDCDD1D82441102DB2FD7EF43641C8F1D28D35D824418204C58F71F43641A001BC450DD824416CB3EA9305F4364130742497CAD624417F95438BEDF336410026538582D624412FFF21FDC3F23641783F359E06D324416FB515DBBEF23641E04D6210F7D22441BD42AD498FF23641B0F1D2CDECD224417DF2B0D016F2364148BE9F1AD3D22441504013210EF23641305EBA495BD32441A6ADD8DF0DF23641481E162AFED324418916D96E19F2364188C64BF770D4244109560EAD51F23641A804C50FEED42441C654C1C845F23641F802094AD3D524419A4C15AC59F23641F021FDF621D624419AB20CB158F23641C8847CD035D62441DA8AFD0556F23641C044D8B06BD62441A767B38A33F23641D01A9E9E1ED92441B61E852B69F236416003788B28D92441A23C2C746CF2364178AF032729D924412EE6AE85D3F2364148355E3A3CD924419006F03610F3364130FDF67547D924414C696F503FF33641686FF04550D92441B896900F5AF33641584ED15155D92441D13B4E515DF3364138226C3856D92441DBF97E2A4FF3364168976E12FDD82441F1EBC09954F3364168FA5CAD97D8244116B7D16055F33641684DF3CE97D82441F80FE9578FF3364118E25897A3D824417C3F35BE69F4364148E6AEE5CFD82441CB2B65B974F43641A028EDCDD1D82441020000000200000000020900000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(345625 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (346553, N'{06CC32ED-6CCB-43B7-879B-6AB5BE032CFF}', N'007482965', 4652349, N'VIP379RW', NULL, N'7482965', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 33', N'', N'', N'THAT PART OF LOT 33, DISTRICT LOT 140, ALBERNI DISTRICT, PLAN 1414, BEING THE LOGGING RAILWAY SHOWN ON PLAN 379 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2019-01-10T15:02:25.000' AS DateTime), 668, 135, 0xBD0B0000010412000000CB6D3440A47D3041A0749398C4041D414260E550A47D3041C08BDBE899041D41881D193A9F7D30416047CDC688041D417B254F4E9A7D3041E07020E076041D41CCF1618F957D30410001933B64041D41AD161BFF907D3041F0742AE050041D417096329F8C7D3041702A31D53C041D41D03B4E71887D3041C09B332228041D414F499D40807D3041C02FBB27FF031D41D98173C67A7D304140D122DB31041D41F3FDD4D8807D304120C8983B50041D41E7BB3D49857D3041903BFE9565041D41D4B45CED897D3041E0518B3D7A041D4182F56FC38E7D3041709C6D2A8E041D41D49FA2C9937D3041305D1955A1041D41289C0DFE987D3041C0634CB6B3041D41EB51B85E9E7D3041E0CA1047C5041D41CB6D3440A47D3041A0749398C4041D4101000000020000000001000000FFFFFFFF0000000003, CAST(346553 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (346559, N'{AFB0F215-D67B-4433-8A27-6A731E88A0E2}', N'001714121', 3191875, N'VIP1215OS', NULL, N'1714121', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'', N'', N'', N'THAT PART OF THE UNNUMBERED PORTION OF HELMCKEN DISTRICT SHOWN COLOURED RED ON PLAN 1215 OS LYING BETWEEN THE PRODUCTIONS OF THE NORTHERLY BOUNDARY OF BLOCK 167 OF SAID DISTRICT AND THE SOUTH WESTERLY BOUNDARY OF LOT 201 OF SAID DISTRICT AND CONTAINING 10.15 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 15, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T20:05:39.000' AS DateTime), CAST(N'2019-01-10T15:02:41.000' AS DateTime), 40838, 2800, 0xBD0B0000010474000000CCD5562CB5D2314120D1915C2716194120D26FDFB2D23141000C93A9FA151941231A9462B0D23141B02D9648B015194118002982AFD2314160CEEE526515194157A7D93FB0D2314190D748571A151941CC053D9AB2D23141E09B5BE4CF1419410793D88CB6D231413034DA87861419415DCE2810BCD2314100CE65CD3E1419411E8CAF19C3D2314160E7833DF913194114EE079CCBD23141A0789A5CB6131941BFE1FF86D5D2314170F4F3A9761319418DF3B6C7E0D231419003CD9E3A131941B43CC248EDD23141B0C16DAD021319419E2655F2FAD23141C03B5040CF12194140B76EAA09D3314140C655B9A01219412B0F0B5519D3314140B20C71771219414CB81EE518D4314150C5FEB200101941453789E129D43141C00D4FAFD30F1941A779C729CCD43141F0E00B13420E194169F7E461DDD43141C0E07A94160E19419F89B001EAD43141A07EFB3AF50D19413C1AC07BF6D43141B06DA301D30D19411AFBCBCE02D53141E01E85EBAF0D194196900FFA0ED5314190B515FB8B0D1941699A77FC1AD53141D00E9C33670D19414113618332D53141A00B93291B0D1941557DAE7646D531418012F241D60C1941839543AB51D53141A00A46A5AD0C1941D88AFD25BBD5314100FED4782C0B1941FDFFFF3FC1D53141A0FDD4F8160B194191A0F871C7D53141506666E6010B194156EC2FBBCDD53141D037F842ED0A1941235A641BD4D53141B04D6210D90A194194A0F891DAD53141E0164850C50A19412AE4831EE1D53141C0B7AF03B20A194117C05BC0E7D5314110E8D92C9F0A194152742477EED53141F0CCCCCC8C0A19419D802642F5D53141A0D32BE57A0A194151401321FCD53141A08F3177690A19412C33331303D6314140014D84580A1941BC7D1D180AD6314120BBB80D480A1941A0D6342F11D63141004FAF14380A1941FB0FE95718D6314190BE9F9A280A19415617B7911FD631414009F9A0190A194154DA1BDC26D63141A00B24280B0A1941B0D85F362ED63141600E2D32FD0919418DE4F29F35D63141A0ED7CBFEF091941D83D79183DD6314160A982D1E20919410812149F44D6314190F90F69D6091941156A4D334CD631415094F686CA0919414482E2C754D6314160A835CDBD091941EA0434D172D63141505F074E91091941907EFB5A9AD6314100AAF152D1081941449D800642D6314110197357560919414D158CCA2ED631410013F2C1750919411AE2587727D6314180839ECD82091941C017263320D6314180AC8B5B90091941D3915CFE18D6314190F97E6A9E091941EDEBC0D911D63141B06B09F9AC091941BECAA1C50AD63141004B5906BC0919410493A9C203D6314110053491CB091941AE7268D1FCD53141502BF697DB09194102B37BF2F5D5314100E3361AEC091941842F4C26EFD53141704F1E16FD091941AFFA5C6DE8D53141B0703D8A0E0A1941D25D4BC8E1D53141C0218E75200A19414F6B9A37DBD53141D061A1D6320A19413C1AC0BBD4D5314110C3D3AB450A1941D2B35955CED531418045B6F3580A19413CF8C204C8D53141D0550EAD6C0A19416ADE71CAC1D53141701804D6800A1941B8AF03A7BBD53141001FF46C950A19418E7EFB9AB5D5314110D7A370AA0A1941120BB5A6AFD5314150643BDFBF0A19419D67B3CAA9D53141105917B7D50A1941AEB662DF3DD53141C0C3D3AB590C194154A8356D32D53141B0C6DCB5820C1941AEFA5CCD26D5314160B37BF2AA0C1941E52406011BD53141F0AC695ED20C19417FFB3A1004D531410079E9261B0D1941ACEA7355EBD4314110EFC943640D19416CAC8BBBDED4314110265385870D19417CBE9FFAD1D43141E065F7E4A90D194125A08990BCD43141E0CAA1C5E00D19411AAE47C129D4314140EF38C5400F1941B2506BBA14D43141C09F1AAF7C0F1941122DB2DDCAD33141608104C530101941C5A145765CD331414020B0F23D1119419B779C0205D33141100C022B13121941BBAF03C7FED2314100DA1B7C2312194123632E32FBD2314180CB9D5E2D12194130094DA8F7D23141707C787F37121941CE75A329F4D2314130C9E9DD41121941EBA574B6F0D2314110F12A794C12194174BA024FEDD2314170A670505712194151F38EF3E9D23141301CEB62621219417E04C52FE0D23141B025750285121941B3D85F96D5D2314170E09C11AF121941B6659003C8D2314160A78D38ED121941CB57C2C6BBD231415059D4A92F13194177EE8FF5B0D2314180FC26F075131941918B11A3A7D23141E0C7778FBF131941B5FDBBDF9FD23141001ED0050C141941AC7343B999D23141B0FA35CC5A1419416A4B833A95D23141E0379A57AB141941D4E76A6B92D231417007CE19FD1419410AF9A08791D23141C04EAF1431151941FEB27B5291D23141B0ED7CBF64151941B96F8C7391D231418031D6E67B151941F0B9D4B691D2314100A18C09931519411A614B1C92D2314150467724AA1519416E89E2A392D23141B03D6E34C1151941D8AD874D93D2314120214B36D81519419EA2231994D23141E078E926EF15194183B7406296D23141F08E537422161941CCD5562CB5D2314120D1915C2716194101000000020000000001000000FFFFFFFF0000000003, CAST(346559 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (346970, N'{A5CADB9E-0414-43F9-9FAA-358662C52C0C}', N'015551652', 495430, N'NEP284B', NULL, N'15551652', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Parcel B', N'REM Lot 2', N'Block 1', N'PARCEL B (SEE 11951I) OF LOT 2 BLOCK 1 DISTRICT LOT 96 KOOTENAY DISTRICT PLAN 284B EXCEPT THAT PART IN PLAN 13190', N'0085', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:21:58.000' AS DateTime), 39, 27, 0xBD0B0000010405000000E2B7AFE36FDF384170F6979DF8622041A1CDAAEF78DF384190416065FB6220415CE5D08279DF3841884013E1F2622041784F1E7670DF3841F8D32B25F0622041E2B7AFE36FDF384170F6979DF862204101000000020000000001000000FFFFFFFF0000000003, CAST(346970 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (347218, N'{404B9F79-25F2-4452-9142-A3C197B07B9D}', N'005090083', 246698, N'PRP1076', 35720151, N'5090083', NULL, N'03512.500', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 25', N'Block 2', N'', N'LOT 25 BLOCK 2 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 282, 91, 0xBD0B0000010409000000704DF34E362E2C410C61C3B3EFA0304151840D0F032E2C4100A16793DCA0304135BB270FFB2D2C41887CD093D9A03041BE9F1AEFF12D2C41B0D781B3DFA0304110F241CFFA2D2C411461C313E3A030418616D90E062E2C41E8D78133E7A0304133BB270F2F2E2C41C40E9C73F6A030419B5E29CB332E2C4180B0E1C9EFA03041704DF34E362E2C410C61C3B3EFA0304101000000020000000001000000FFFFFFFF0000000003, CAST(347218 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (347956, N'{4A50D3EC-D1B3-4B04-8BC4-08BA717CAD30}', N'000016977', 3, N'NO_PLAN', NULL, N'16977', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 129', N'', N'', N'THAT PART OF DISTRICT LOT 129, ALBERNI DISTRICT, INCLUDED IN PLAN 78 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:39.000' AS DateTime), 6904, 970, 0xBD0B000001045300000065F7E4018B80304160EE5AC2275C1D4150BF15EB8980304160A2E563295C1D419AECE9D488803041D00A320C2B5C1D41EF1D64BF8780304170283CBB2C5C1D4170F086AA86803041F0EBFF702E5C1D419AFF549685803041E035792D305C1D4160E5D0828480304120D7A3F0315C1D417C7AA54C9F8030419022DBF9315C1D41ABDFBEEEAF803041706DC5FE315C1D41FFE924FFBC80304100AD70A21A5C1D41B1A6807BC980304140EC08ABFE5B1D41E201E849D580304160999952DE5B1D4124F3D951E0803041F0D544DCB95B1D414B59717CEA8030418024B893915B1D41167F94B4F3803041A0548FCC655B1D41C8E620E7FB80304180FDA6E1365B1D41BC0013030381304150E45F34055B1D41977BA9F90881304140E3D42BD15A1D4127E483BE0D813041D0EA04349B5A1D417BC7299A168130413055302A265A1D4132D2CD631C81304190268CC3E1591D418C59EF3F23813041C03BC2F79E591D4188717E272B813041B0A9960B5E591D4192DD57123481304170C4DF411F591D4131714DF73D813041704B41DBE2581D4176832FCC48813041C0E1E915A9581D41AA35CDBB8C81304130984C1556571D41C0D9D2B890813041201F0AA342571D41811715D194813041C088308C2F571D416508110499813041B01122D31C571D418A6F40519D8130413042357A0A571D4179CA19B8A181304130A1B483F8561D4150621038A6813041B069DEF1E6561D4163105839A6813041D0EFA7C6D9561D41876CE73BA681304130508D17BD561D41782D213FA6813041D072681199561D411FD26F3FA681304150696F7094561D41AB4E4053A4813041609A771C9B561D410812147FA0813041D063CCDDA8561D415F07CEB99C813041108A1FE3B6561D413B014D0499813041E0C2642AC5561D415E6DC55E958130412057ECAFD3561D41C954C1C89181304170FD6577E2561D410A8195438E81304130B6F37DF1561D41A1D634CF8A813041301283C000571D411471AC6B87813041D05A423E10571D41BC627F1984813041C08F31F71F571D418248BFDD80813041B06054D22F571D41A2A223D93C8130413036CD3B83581D413970CEA8398130418068006F93581D4151AF94853681304120D712F2A3581D4148D8F07433813041A0567DAEB4581D4137B4C8763081304140772DA1C5581D41F4A7C68B2D81304130CB10C7D6581D412FFF21BD2A813041B0F831E6E7581D410EF241EF27813041403199AAF9581D4124ED0D3E25813041901D38670B591D411B9E5EA922813041707424171D591D4132A2B4172081304130423E682F591D41088A1FA31D813041607AA5AC41591D41A18026421B8130416075711B54591D4120FDF6F518813041207D3FB566591D41B2BFECBE16813041B0218E7579591D41C4EC9E9C1481304180F5B95A8C591D41F7285C8F12813041F01DA7689F591D415274249710813041E0E15897B2591D415FA1D6B40E813041206744E9C5591D41EF2FBBE70C81304120D1915CD9591D41CE4D62300B813041401FF4ECEC591D41A8DFBE8E098130415008AC9C005A1D41DF93870508813041D0141D49145A1D415227A029FF80304120CFF753895A1D41464F09BCFA80304150735F55BB5A1D41AFED312CF580304190D42A7EEB5A1D4131633B86EE80304150065165195B1D41E8A4A5D8E680304140F1B4A6445B1D41709C2F34DE80304170ADFFE36C5B1D416EA2B2ABD4803041C0416EC5915B1D416962F953CA803041A00D91FAB25B1D412F829243BF803041F035FB3AD05B1D41566F9F92B3803041309AE046E95B1D417ABE9F5AA780304100F9A0E7FD5B1D4165F7E4018B80304160EE5AC2275C1D4101000000020000000001000000FFFFFFFF0000000003, CAST(347956 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (348812, N'{9E0B5ADE-69AE-462B-99C2-381E51B4F0EC}', N'012519448', 495942, N'KAP62', NULL, N'12519448', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 17', N'Block 7', N'', N'LOT 17 BLOCK 7 DISTRICT LOT 818 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 62 EXCEPT PLANS H875 AND KAP52658', N'0163', N'0019', N'NO', N'ICF', 13, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:35:57.000' AS DateTime), 227, 64, 0xBD0B000001040700000092ED7C7F0669374100A1D6B4ED731D41EEC9C302FF68374130BF7D9DE9731D41923A016DFD6837419003E70C1A741D41F2B050EB04693741D0B050EB1D741D41ED2FBBA713693741F00E0B3526741D4152A60AA60D69374150234A7BF1731D4192ED7C7F0669374100A1D6B4ED731D4101000000020000000001000000FFFFFFFF0000000003, CAST(348812 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (348887, N'{7DC7C55C-D679-4CE9-B4A4-60D833C0B6F4}', N'010425080', 490212, N'KAP4809', 3647351, N'10425080', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 315 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 4809 EXCEPT PLAN 25167', N'0163', N'0019', N'NO', N'ICF', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:36:51.000' AS DateTime), 10081, 405, 0xBD0B000001040500000072A3013C73F23741700C71AC002B1D41806ABCF465F2374170847CD05D291D412EC4B16E10F23741306210D835291D4155CA32E403F23741B032C4B1C62A1D4172A3013C73F23741700C71AC002B1D4101000000020000000001000000FFFFFFFF0000000003, CAST(348887 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (349212, N'{079FD4F6-8248-48CF-AF92-9A32A5D2A054}', N'010751904', 3, N'NO_PLAN', NULL, N'10751904', NULL, N'00526.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 32', N'', N'', N'THAT PART OF THE WESTERLY 6 FEET OF SECTION 32, COMOX DISTRICT LYING NORTH OF HEADQUARTERS ROAD, AND CONTAINING 0.455 OF AN ACRE MORE OR LESS', N'0163', N'0017', N'NO', N'MODIFIED-ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-12-17T18:22:40.000' AS DateTime), 1836, 2018, 0xBD0B000001041600000031BB27EF2A523041F81A9E1E080720415D5DDCC62A523041C82B65D907072041223867642952304110C7BA7805072041E90434F123523041D875E01CFC062041CC4B37491F523041A0081B1EF4062041E14F8D171E523041281B9EDEF6062041FAB9DA6A6A52304198D634EF790720412A8716591A553041206EA341170C2041FBE461811B553041D044D870140C2041D91B7C8119553041F0DBD701110C2041649A77FC125530419004C5CF050C20417D1D38E70F55304120386784000C204172348017AA543041E831E6AE510B2041E046033891543041585986F8260B20415327A0E9D153304158A1D674DE09204112F2418FC253304120197317C40920416509F9400E53304180EB51788E08204156F5B9FAFB523041B0CFD5166F082041197C61129B523041C8B12EAEC8072041AC47E19A6B523041A0C3D32B77072041B8AF03A748523041200BB5263B07204131BB27EF2A523041F81A9E1E0807204101000000020000000001000000FFFFFFFF0000000003, CAST(349212 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (349729, N'{6277D69E-0396-4ABB-816D-7A22DFF64092}', N'013998056', 295389, N'PRP968', 23688771, N'13998056', NULL, N'01250.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 18', N'Block 105', N'Section 2', N'LOT 18 BLOCK 105 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:32.000' AS DateTime), 260, 72, 0xBD0B000001040500000047E8D9AC32792B411C583934D964314174A301BC46792B4144158C0AD9643141FEF675E045792B4190C64B17BF643141332AA9D331792B41E4361A40BF64314147E8D9AC32792B411C583934D964314101000000020000000001000000FFFFFFFF0000000003, CAST(349729 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (349740, N'{DF04EEAC-B152-414C-A43A-3079E14D8C96}', N'014083582', 295389, N'PRP968', 14745961, N'14083582', NULL, N'00583.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 9', N'Block 41', N'Section 1', N'LOT 9 BLOCK 41 SECTION 1 DISTRICT LOT 863 CASSIAR DISTRICT PLAN 968', N'0087', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:32.000' AS DateTime), 366, 93, 0xBD0B000001040500000063E5D0E2EC6E2B41500C02EBB36431419A11A5BDEB6E2B4158EE5A628F643141CE56ECAFD76E2B41100BB5868F643141AC7268D1D86E2B41C030990AB464314163E5D0E2EC6E2B41500C02EBB364314101000000020000000001000000FFFFFFFF0000000003, CAST(349740 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (350213, N'{6230F1ED-0159-442D-A49B-0B45C3C5388C}', N'009636471', 3, N'NO_PLAN', NULL, N'9636471', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 184', N'', N'', N'DISTRICT LOT 184, NANOOSE DISTRICT EXCEPT THAT PART IN PLAN 40252', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2019-01-05T08:38:02.000' AS DateTime), 3416, 299, 0xBD0B000001040700000052FC18F386493141808638D616D71C41093D9BD56A493141B0C1172670D71C41E573B5154149314100143FC6F4D71C41F775E03C23493141107DAEB67CD81C41DA12F2E1844931417093188413D81C41085F98AC86493141506EA38138D71C4152FC18F386493141808638D616D71C4101000000020000000001000000FFFFFFFF0000000003, CAST(350213 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (357356, N'{01ED0B19-FCB5-4B50-81A1-E868BD97AA8D}', N'012765091', 254785, N'PGP10590', 90052947, N'12765091', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', NULL, NULL, N'LOT 2 DISTRICT LOT 2424 CARIBOO DISTRICT PLAN 10590 EXCEPT PLAN 29887', N'0112', N'0008', N'NO', N'ICF', 3, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-08-01T15:49:44.000' AS DateTime), 2054, 202, 0xBD0B00000104080000000EBE3019A4723241101214FFE4A92E41D100DEE2B272324138D191DCCEA92E41A6ADD81FB872324158CA3204B7A92E419BFF901E8E723241F0F44A594AA92E41BAD1007E85723241F8353C7D49A92E4120B9FCC78472324150840D4F7AA92E4127A089B07E72324178D409E883A92E410EBE3019A4723241101214FFE4A92E4101000000020000000001000000FFFFFFFF0000000003, CAST(357356 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (357492, N'{8FF85D6C-77D9-47EB-A024-566EA3865E3B}', N'001620622', 3, N'NO_PLAN', NULL, N'1620622', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'', N'', N'', N'THAT PART OF SECTIONS 82 AND 83, ESQUIMALT DISTRICT, SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 11031F AND CONTAINING 0.74 OF AN ACRE MORE OR LESS', N'0065', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:39:57.000' AS DateTime), CAST(N'2020-09-29T10:31:43.000' AS DateTime), 2196, 219, 0xBD0B000001040B0000005B17B7D1F60F324160F4DB573561174144EA04F402103241404CA68AB8611741437958882310324110DFE00BE361174131D49AA63D103241F0BFEC1E05621741BF5B20014B10324110D34DE2E96117414C158CCA4C10324130D34D62A5611741B9847CD043103241407B83AF99611741716891ED2810324140787AA576611741B025E4030510324190F4DBD7476117419FD6344FFB0F3241C032C4313B6117415B17B7D1F60F324160F4DB573561174101000000020000000001000000FFFFFFFF0000000003, CAST(357492 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (358129, N'{E56495A9-1C2E-47ED-9DAD-CAFB807BBC6E}', N'004361024', 13514, N'VIP14242', NULL, N'4361024', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', NULL, NULL, N'LOT 1, SECTION 4, RANGE 8, SHAWNIGAN DISTRICT, PLAN 14242', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 4, N'LSA', N'UNKNOWN', N'0', N'1540', CAST(N'2021-02-22T15:13:24.000' AS DateTime), CAST(N'2021-02-25T09:41:45.000' AS DateTime), 1540, 164, 0xBD0B0000010405000000393CBD324A013241D08F31F76FE318414F1E16EA310132412024287E68E31841D022DB992F013241A0643B5F3BE41841913A016D5201324130C4B12E3FE41841393CBD324A013241D08F31F76FE3184101000000020000000001000000FFFFFFFF0000000003, CAST(358129 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (360009, N'{FD3F322F-FE2B-437E-B1D3-278FEA813B19}', N'017839149', 297330, N'PRP13324', 90056931, N'17839149', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', NULL, NULL, N'LOT A DISTRICT LOT 336 CASSIAR DISTRICT PLAN PRP13324', N'0137', N'0011', N'NO', N'ICF', 0, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-03-22T08:21:48.000' AS DateTime), 1211, 160, 0xBD0B00000104050000008FF6065F4BF22641A43C2C54B2AD32418D3A014DB8F22641204FAF14ADAD324111F2418FB6F226411CB4C816A4AD32412CCB108744F226413C0AD7438FAD32418FF6065F4BF22641A43C2C54B2AD324101000000020000000001000000FFFFFFFF0000000003, CAST(360009 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (360216, N'{85A17078-770A-43F1-B02D-E27BE54ADBD3}', N'015360229', 496099, N'NEP2305', NULL, N'15360229', NULL, N'7071984000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 48', N'', N'', N'LOT 48 DISTRICT LOT 304 KOOTENAY DISTRICT PLAN 2305 EXCEPT PLAN R124', N'0163', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-04-15T15:28:10.000' AS DateTime), 1857, 181, 0xBD0B0000010408000000DCC56DF487DF384110C05BE0F74C2041CECCCCAC78DF384188E8D96CE24C2041B4F3FD546EDF384198B20C31184D20419A081B1E87DF384128166ACD704D2041E751B89E88DF384178BE9F5A6C4D20410DE02DB095DF3841A0C2F5A8454D2041FA187317A3DF3841D0A223F91D4D2041DCC56DF487DF384110C05BE0F74C204101000000020000000001000000FFFFFFFF0000000003, CAST(360216 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (361703, N'{7454948B-93B5-41B3-B16A-615827FDCDC8}', N'001794728', 8887255, N'VIP227RW', NULL, N'1794728', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 98', N'', N'', N'THAT PART OF SECTION 98, ESQUIMALT DISTRICT SHOWN COLOURED GREEN ON PLAN 227 RW AND CONTAINING 0.249 OF AN ACRE MORE OR LESS BEING THE CLOSED PORTION OF ATKINS ROAD ADJOINING LOT 6, PLAN 748', N'0154', N'0005', N'NO', N'MODIFIED-ICIS', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:35:36.000' AS DateTime), CAST(N'2021-07-14T08:27:27.000' AS DateTime), 1084, 288, 0xBD0B0000010404000000B8D100BE871F324160C42030D28A1741E1718A2E351F3241B03A70CE0489174138EF38E53D1F324110B7D1809E891741B8D100BE871F324160C42030D28A174101000000020000000001000000FFFFFFFF0000000003, CAST(361703 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (361817, N'{527F8A8B-24A2-4A6F-9CF3-EFEB2D38BA6D}', N'009309209', 1084689, N'NWP23134', NULL, N'9309209', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2021-03-24T00:00:00.000' AS DateTime), N'REM Lot 4', N'', N'', N'LOT 4 EXCEPT: PART ON STATUTORY RIGHT OF WAY PLAN 44982, SECTION 29 TOWNSHIP 3 RANGE 28 WEST OF THE SIXTH MERIDIAN NEW WESTMINSTER DISTRICT PLAN 23134 AND EPP106913', N'0058', N'0009', N'YES', N'MODIFIED-ICIS', 2, N'PMBC-OPERATIONS', N'UNKNOWN', N'0', NULL, CAST(N'2021-04-07T09:22:30.000' AS DateTime), CAST(N'2021-07-22T12:13:09.000' AS DateTime), 31512, 1192, 0xBD0B000001041B000000C576BE9F09FD3341602CD49AE7301D417A4F1E76F5FC334150B20CF1DF301D414CA60AA6F3FC3341A0E926B171311D417CC0CAE108FD3341703480B79B311D414294F68627FD3341F04DF30E5D321D41FFD478A950FD334100DCD70150331D41BFC117064EFD334180C954416D331D41091B9E5E4DFD334120FF21FD72331D4126F697BD67FD334120ECC0B9D5331D41B91E85EB8FFD334120B9FC87DF331D41EC608DD286FD334150B8222399331D410240CE347DFD3341E01AEBDA53331D41A7C4731473FD3341A0F3FBBE0F331D41BB77C77368FD33418083B7DECC321D41C8DD2F555DFD3341B0BD38498B321D4158EC2FBB51FD334150DF4F0D4B321D41C576BE9F09FD3341602CD49AE7301D4127CB106755FD334160696F702D311D41B1EA7355A6FD334180F83166B6321D4151E3A53BC9FD334120F697DD7D331D41D6A3707DD6FD3341408251C9F2331D410CE9B7EF13FE33418046947601341D413D1361831DFE3341C055302A69311D41AAE8482E0FFE3341D0141DC928311D41140DE04D60FD3341C0C876BEFE301D4191ED7C1F60FD3341A01726530B311D4127CB106755FD334160696F702D311D41020000000200000000021100000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(361817 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (363539, N'{17613FC3-0DDD-46B1-A13B-608616E45D57}', N'005136954', 9335277, N'KAP12664M', NULL, N'5136954', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1986-11-07T00:00:00.000' AS DateTime), N'', N'', N'', N'THAT PART OF LOT 11 OUTLINED RED ON PLAN M12664; SECTION 26 TOWNSHIP 18 RANGE 8 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 26444', N'0034', N'0012', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'150.4', CAST(N'2021-11-08T11:00:01.000' AS DateTime), CAST(N'2021-11-08T11:03:54.000' AS DateTime), 150, 68, 0xBD0B00000104040000003E575B3151A73641D076BE1F707F23415E10587944A73641E0331136737F23417C7346B440A7364158D6C56DA37F23413E575B3151A73641D076BE1F707F234101000000020000000001000000FFFFFFFF0000000003, CAST(363539 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (365098, N'{7C10E352-8677-481C-A50E-FA57F3AC39B0}', N'005948983', 492062, N'KAP24508', NULL, N'5948983', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', NULL, NULL, N'LOT 2 DISTRICT LOT 1025 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 24508 EXCEPT PLAN H12297', N'0163', N'0019', N'NO', N'ICF', 10, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-04-23T15:08:06.000' AS DateTime), 19212, 714, 0xBD0B000001040E0000003E11363CD195374100006F015BD21C41009A089BBA953741303A01CD51D21C413333335362953741E08E53F431D21C41C3A43D835C953741C0B6C04F69D21C4138858B0B579537412036563AA1D21C4196F6F8EC5195374160C448ABD9D21C41A51654284D95374170F7B79912D31C418EDE5CBE48953741F0A8AFFC4BD31C418404C5AF44953741905E29CB85D31C41E6839E2D23953741708F53745DD61C413870CE883D953741E08173C66DD61C41E7043451979537414090A078CCD31C4110143FC6BD953741C096900FADD21C413E11363CD195374100006F015BD21C4101000000020000000001000000FFFFFFFF0000000003, CAST(365098 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (365111, N'{CE84150D-97E0-46C7-804D-9B15F98F61A9}', N'014782146', 3, N'NO_PLAN', NULL, N'14782146', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'A', N'519', NULL, N'PARCEL A (DD 24455F) OF DISTRICT LOT 519 SIMILKAMEEN DIVISION YALE DISTRICT EXCEPT PLAN KAP64076', N'0163', N'0019', N'NO', N'ICF', 5, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-04-23T15:08:06.000' AS DateTime), 39463, 985, 0xBD0B000001040500000040AD69FE8FB2374130BE301958E51C41457B834FF4B23741E09DEFA782E51C414CD1911C1EB33741D032C4316CDF1C413E0AD723BAB2374100A323B941DF1C4140AD69FE8FB2374130BE301958E51C4101000000020000000001000000FFFFFFFF0000000003, CAST(365111 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (366185, N'{B5A3EC02-28BA-48AB-8E8F-3FCFE9DCFDB4}', N'009325611', 137263, N'VIP51', NULL, N'9325611', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 39', N'', N'', N'THAT PART OF LOT 39, SECTION 7, VICTORIA DISTRICT, PLAN 51, LYING TO THE EAST OF A BOUNDARY PARALLEL TO THE WESTERLY BOUNDARY OF SAID LOT AND EXTENDING FROM A POINT ON THE SOUTHERLY BOUNDARY OF SAID LOT DISTANT 75 FEET FROM THE SOUTH WEST CORNER OF SAID LOT, EXCEPT THE SOUTHERLY 10 LINKS THEREOF, AND EXCEPT PART IN PLAN 9217', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:57:42.000' AS DateTime), CAST(N'2019-01-05T10:24:10.000' AS DateTime), 94, 129, 0xBD0B000001040700000013F241EF413A324160BC05922B841741F1164870403A3241C0CFD5562A8417418D0F7A363F3A324130C954C1358417416C226C583C3A3241A0B7408250841741D8F97E8A273A324110151D491285174198DD9307293A3241A09318841385174113F241EF413A324160BC05922B84174101000000020000000001000000FFFFFFFF0000000003, CAST(366185 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (367061, N'{54199529-9444-46A0-929A-598569FAB450}', N'001591151', 141191, N'VIP1291', NULL, N'1591151', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 17', N'Block 3', N'', N'THAT PART OF LOT 17, BLOCK 3, SECTION 9, ESQUIMALT DISTRICT, PLAN 1291 INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0154', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:44:14.000' AS DateTime), CAST(N'2019-01-05T10:53:43.000' AS DateTime), 90, 43, 0xBD0B000001040A000000832F4CE6462B3241B056EC2FE29A174131A9C9BC442B324130141FCCDF9A1741B3A96695422B324160A4604ADD9A17410B1B3D70402B3241502FCFAADA9A174181CC664D3E2B324160468AEDD79A17416371FD2C3C2B324130DEB212D59A1741BC9F1A0F3A2B3241C0506B1AD29A1741E4141D49392B3241E056EC2FDF9A1741CFDEE08B442B3241B0AF03E7099B1741832F4CE6462B3241B056EC2FE29A174101000000020000000001000000FFFFFFFF0000000003, CAST(367061 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (367253, N'{9ADC0E60-D716-47F3-9B81-1DF8CDCB4172}', N'008377260', 136659, N'VIP863', NULL, N'8377260', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 19', N'', N'', N'LOT 19, SECTION 7, VICTORIA DISTRICT, PLAN 863 EXCEPT THAT PART LYING TO THE NORTH WEST OF THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 6 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:57:39.000' AS DateTime), CAST(N'2019-01-05T10:54:24.000' AS DateTime), 246, 70, 0xBD0B000001040700000097BB9690133A32413044FA6D4E7E17414A50FC98163A3241C0361AC0607E17417B7AA50C1C3A324180226CF8FA7D1741D36F5F27103A324140CD3BCEF07D17412D2AA9130D3A3241801B0D602A7E174151401361103A3241F07E6A3C3C7E174197BB9690133A32413044FA6D4E7E174101000000020000000001000000FFFFFFFF0000000003, CAST(367253 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (368961, N'{E00E874C-3A64-431D-97D3-55D9BEB3255B}', N'001598368', 127186, N'VIP748', NULL, N'1598368', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1998-01-28T00:00:00.000' AS DateTime), N'Lot 10', N'', N'', N'THAT PART OF LOT 10, SECTION 98, ESQUIMALT DISTRICT, PLAN 748 SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 13914F AND CONTAINING 1.26 ACRES MORE OR LESS', N'0154', N'0005', N'YES', N'MODIFIED-ICIS', 1, N'DATACOMPILATION', N'UNKNOWN', N'0', N'4847', CAST(N'2017-10-03T09:56:27.000' AS DateTime), CAST(N'2019-01-05T11:06:58.000' AS DateTime), 4848, 523, 0xBD0B000001044E000000081214BFB31E324150C4B12E9F8017415C204131B71E32413095438B878017418A16D9EEBD1E324140CD3B4E598017411DB07248771E324100A3923AD781174104F3FF22761E324190B5B93DF9811741C2F90C5D751E3241F077E36B1B82174171C6FAF6741E324160C04FB43D821741AA5EFBF0741E3241B084310660821741D3B2114B751E3241D019B75082821741E19C1105761E3241806E1283A482174115197913771E3241E07B74D7C78217415AB0E672781E3241C08F29FFEA821741F953E6227A1E3241A08F95EE0D831741AF59E9227C1E3241C0F72E9A30831741B0AA46727E1E324120A982F6528317417DFB3A10811E3241C0B437F8748317418DCB7F688A1E3241A0A223B9E6831741D5CEF7B3971E3241605C8F42DA83174102E78C28A51E324130E6AEA5CD831741613255309B1E3241802041F152831741588638969A1E3241E02406814B831741E94C2C019A1E3241A0E0F613448317416ACC5470991E3241A0CDB5A13C8317413CEAB4E3981E32419008692A358317412E764F5B981E324170C836AE2D8317415E2A27D7971E3241A05D452D2683174135AB3E57971E3241E02FBBA71E8317415E3255B09B1E3241100C93291A831741A5E535EF9A1E3241701831390E8317413E6303399A1E3241306A183E02831741862BC78D991E324120F3E838F6821741792C8AED981E3241A02B432AEA82174141C15458981E3241400AC812DE821741C4B12ECE971E3241A0FC18F3D18217415FB92E65971E3241B0FAE8F0C7821741A5E3B703971E3241D094F6E9BD821741F5A2CDA9961E324110929CDEB382174158257357961E3241B0E135CFA98217415B54AB0C961E324170961DBC9F82174100D578C9951E3241C0E6AEA595821741ECA4C385951E324120E4E54A8A821741C3AF4D4D951E3241D09945EC7E821741A76A1A20951E32419043808A73821741269A2CFE941E3241F04E4826688217412D5286E7941E3241104F50C05C821741C0F528DC941E324110F54A59518217412AED0D5E901E324100B07268518217412F07BB65901E3241304323DA428217415A255982901E324190A6754D34821741A193E4B3901E3241D0D94BC425821741B7E856FA901E32419065874017821741DE06A755911E3241302109C408821741171DC9C5911E3241A0F2B050FA8117416E004B48921E324140968C41EC811741135483DE921E3241008ABA3EDE81174130935F88931E324140FCF449D081174111CDCA45941E3241705EF464C2811741D2A7AD16951E324170316F91B48117412363EEFA951E3241E0CD19D1A68117410E4545D5961E324130E2EF9F9A81174123A4CFBA971E3241B099A87B8E811741DC5781AB981E32419097E8648281174148A04DA7991E3241C0C9535C768117411A2727AE9A1E3241B05C8D626A811741040000C09B1E324190B437785E811741BBBC4CB59D1E32412002FBFC49811741B7E91BCB9F1E3241E04B57B5358117419FA61801A21E3241B00986A4218117417CF5E856A41E324180FEB7CD0D811741B5C82DCCA61E3241C0B21434FA80174170128360A91E3241B0F5B9DAE6801741D951B4D1A91E3241A073A3A7E3801741242FBF43AA1E3241B07A7076E08017412529A3B6AA1E324170A72447DD801741E0BD5F2AAB1E32411095C319DA801741456AF49EAB1E324150DC50EED680174166AA6014AC1E3241B013D0C4D3801741081214BFB31E324150C4B12E9F80174101000000020000000001000000FFFFFFFF0000000003, CAST(368961 AS Numeric(38, 0)), NULL) +GO +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (370369, N'{ADA416E7-5372-4EC4-87DB-0BA3F1FEB54F}', N'007894678', 646844, N'VIP1109', NULL, N'7894678', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 27', NULL, NULL, N'LOT 27, DISTRICT LOT 216, SAYWARD DISTRICT, PLAN 1109', N'0163', N'0027', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'0', N'3995', CAST(N'2020-11-05T15:06:38.000' AS DateTime), CAST(N'2021-05-14T11:02:41.000' AS DateTime), 3999, 260, 0xBD0B0000010405000000B61E850BD61C3041302FDD64084021413FC6DC95D51C304120431CEBA740214186DB68C0071D3041805149DDA74021411B7C6112081D3041A02C431C08402141B61E850BD61C3041302FDD640840214101000000020000000001000000FFFFFFFF0000000003, CAST(370369 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (371195, N'{14BF0C37-71A3-4D67-9453-F081332EBBFF}', N'006914756', 12870, N'VIP1750', NULL, N'6914756', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 14', N'Block 12', N'', N'LOT 14, BLOCK 12, SECTION 5, RENFREW DISTRICT (SITUATE IN COWICHAN LAKE DISTRICT), PLAN 1750, EXCEPT PART IN PLAN 2762RW', N'0064', N'0007', N'NO', N'ICIS CADASTRE', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T19:15:31.000' AS DateTime), CAST(N'2019-01-07T18:32:38.000' AS DateTime), 3041, 282, 0xBD0B000001040B00000071D71272C76E3141B0E53F24D4FA194131A2B4F7F26E3141A08BDBE8B2FA19417FFB3A10C26E3141D0F0F4CACBF9194163A1D6B4906E314150DD2486D6F91941633255F0966E31417088635DF1F919416B4DF3AEBC6E3141308C4A6A94FA194171D71272C76E3141B0E53F24D4FA19412D431C6B936E31418026C206FDFA1941F5285CAF8A6E314120772D21E2FA1941B2D85F96896E314190C117A601FB19412D431C6B936E31418026C206FDFA1941020000000200000000020700000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(371195 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (372436, N'{7DF652B6-4DF7-44AA-AFD0-D4E8E7DB0F61}', N'012429619', 629004, N'PGP12116', NULL, N'12429619', NULL, N'005486.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 22', N'Block 22', N'', N'LOT 22 BLOCK 22 SECTION 32 TOWNSHIP 83 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT PLAN 12116', N'0038', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:29:40.000' AS DateTime), 684, 121, 0xBD0B0000010405000000867CD093EB2A344140378901A73C33415027A0A9EC2A3441540C020B983C3341CEDEE02BBF2A3441889999B9943C33413EBD5216BE2A3441CC4D62B0A33C3341867CD093EB2A344140378901A73C334101000000020000000001000000FFFFFFFF0000000003, CAST(372436 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (372466, N'{9D81F2BE-2ED6-4836-B721-980D700AD59E}', N'009336125', 3, N'NO_PLAN', NULL, N'9336125', NULL, N'760-010736.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART SW4', N'26', N'85,19', N'THE SOUTH WEST 1/4 OF SECTION 26 TOWNSHIP 85 RANGE 19 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT, EXCEPT: FIRSTLY; PLAN 18794, SECONDLY; PART DEDICATED ROAD ON PLAN BCP20844', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:29:20.000' AS DateTime), 560349, 4058, 0xBD0B000001041100000076931884DC0C3441B825E4A3D380334122EBE276840D3441DC95B2CCDE803341DEA59B04EB0D3441240456CE32803341AA6054D2150E344124C286874C8033419028EDAD4F0E344198B74082EB7F33416A8104053F0E3441CC67B34AEA7F33414E401361EF0C34413882E2C7D17F334176931884DC0C3441B825E4A3D38033419AF606BF710E3441EC482EFFED7F334176F2B070B70C3441E41DA708CF82334165DE71AAB40C34410CAAF1B2F4823341E12D90E0710F344114B9FC47278333417FAEB602D30F34416839B4482E8333412B3108ACD90F344130CB1087D2823341E2361A400D103441903A010D0C803341C7293A7208103441503CBDB20B8033419AF606BF710E3441EC482EFFED7F3341020000000200000000020800000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(372466 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (373191, N'{C899AAE9-8676-42FC-BE01-340373BE2F5D}', N'012233455', 495467, N'NEP9500', 14227101, N'12233455', NULL, N'219528010', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 19', N'Block 44', N'', N'LOT 19 BLOCK 44 DISTRICT LOT 95 KOOTENAY DISTRICT PLAN 9500', N'0085', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:21:37.000' AS DateTime), 277, 88, 0xBD0B0000010405000000EC8E5334B7DD384130DF4F0D7E582041B2E1E935CDDD3841206519E243582041BDD32B25C7DD3841D00E9CB33A5820413C136123B1DD3841D0D100DE74582041EC8E5334B7DD384130DF4F0D7E58204101000000020000000001000000FFFFFFFF0000000003, CAST(373191 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (373299, N'{DD059389-0281-4442-9EF7-093FA42746F5}', N'007722346', 246698, N'PRP1076', 35721641, N'7722346', NULL, N'03512.900', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 39', N'Block 2', N'', N'LOT 39 BLOCK 2 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:44.000' AS DateTime), 290, 91, 0xBD0B00000104050000002CBB278F732D2C41E0D7817335A13041E16800AFB02D2C41D0D781334CA13041A5D634AFB92D2C41C00E9C1346A130418716D98E7C2D2C41CC0E9C532FA130412CBB278F732D2C41E0D7817335A1304101000000020000000001000000FFFFFFFF0000000003, CAST(373299 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (373304, N'{0FF8699A-007C-4DE6-AA88-ABD61AD2E9E9}', N'005090199', 246698, N'PRP1076', 35721061, N'5090199', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 34', N'Block 2', N'', N'LOT 34 BLOCK 2 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 290, 91, 0xBD0B0000010405000000840D4FAFA92D2C41D4D781B310A13041E46800AFA02D2C41ECA067D316A13041FF3A70CEDD2D2C41F0A067932DA130410AF241CFE62D2C414CF38E7327A13041840D4FAFA92D2C41D4D781B310A1304101000000020000000001000000FFFFFFFF0000000003, CAST(373304 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (373305, N'{13FA0D48-31B9-4B73-9E9B-1021297431C4}', N'007722281', 246698, N'PRP1076', 35721511, N'7722281', NULL, N'03512.900', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 38', N'Block 2', N'', N'LOT 38 BLOCK 2 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 290, 91, 0xBD0B0000010405000000DC6800AFC22D2C419C45B6F33FA130414A840D8F852D2C419C45B63329A130418716D98E7C2D2C41CC0E9C532FA13041A5D634AFB92D2C41C00E9C1346A13041DC6800AFC22D2C419C45B6F33FA1304101000000020000000001000000FFFFFFFF0000000003, CAST(373305 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (373595, N'{AFD2EAC0-5976-472E-BDA7-1823F5F03A2C}', N'008442827', 656230, N'VIP810', NULL, N'8442827', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 20', N'Block 24', N'', N'LOT 20, BLOCK 24, SECTION 30, TOWNSHIP 6, RUPERT DISTRICT, PLAN 810', N'0107', N'0020', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-22T18:13:52.000' AS DateTime), 508, 97, 0xBD0B000001040500000065CC5D0BC6522B41B03E571B14522341CA22DB79C8522B4100D578E956522341702BF6D7E6522B41A822DBB955522341A479C769E4522B41D0D781F31252234165CC5D0BC6522B41B03E571B1452234101000000020000000001000000FFFFFFFF0000000003, CAST(373595 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (373938, N'{E1A1211F-05D3-4588-9710-641300F0E070}', N'000017485', 645953, N'VIP883A', NULL, N'17485', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 35', N'Block 1', N'', N'LOT 35, BLOCK 1, DISTRICT LOT 132, ALBERNI DISTRICT, PLAN 883-A', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:44.000' AS DateTime), 654, 151, 0xBD0B00000104090000008CA0F831149D304170D2DEE06AAC1C41F341CF06149D3041706ABC7488AC1C413CF1638C189D30416007CE9987AC1C4194FF901E269D3041C026310885AC1C413FF1636C559D3041B0BDC1177CAC1C413480B740559D3041A0D85FF653AC1C41394ED191209D3041306A4DF35DAC1C41F7E46141149D304180CB7F4860AC1C418CA0F831149D304170D2DEE06AAC1C4101000000020000000001000000FFFFFFFF0000000003, CAST(373938 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (373950, N'{45788368-5314-4B51-A613-F63B4A524248}', N'000016101', 646724, N'VIP2024', NULL, N'16101', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 10', N'Block D', N'', N'THAT PART OF LOT 10, BLOCK D, DISTRICT LOT 258 ALBERNI DISTRICT, PLAN 2024, INCLUDED IN PLAN 283 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:38.000' AS DateTime), 8560, 642, 0xBD0B000001041B00000086F4DB57647230411023DBF987A01D41E09387E5D17130412008AC1C8AA21D4198B20CB1CD713041A052962199A21D413880B780C971304100BF0E9CA8A21D4125651962C5713041B0ACFA5CB8A21D41D0B35955C171304180F77560C8A21D419B900F5ABD713041405530AAD8A21D41B98D0670B9713041F0A22339E9A21D41EEF44A99B571304100DFE00BFAA21D417C58A8D5B1713041A02C431C0BA31D414FB81E25AE713041C0B12E6E1CA31D4194A0F891AA713041D0CBEEC92DA31D41673BDF4F86713041B0B81E05E1A31D41FB4A5926AD713041F0B050EBE2A31D416D348037C2713041E03845C77AA31D414603788BC5713041A051B89E6AA31D41F94A59E6C8713041504013E15AA31D41A6605452CC713041A0D1005E4BA31D41FB31E6CECF713041C0BC52163CA31D41153FC65CD37130416071AC0B2DA31D41937571FBD67130414011363C1EA31D411183C0AADA713041F09ECDAA0FA31D41A679C769DE7130410019735701A31D41C3749338E271304130A60A46F3A21D41986E1223E6713041B0EF8549E5A21D416DD712926372304180B0E1E92CA11D4186F4DB57647230411023DBF987A01D4101000000020000000001000000FFFFFFFF0000000003, CAST(373950 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (375840, N'{AE10035C-102F-4D13-A716-923DC1A0D4CE}', N'013995561', 295389, N'PRP968', 29843841, N'13995561', NULL, N'01244.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 16', N'Block 103', N'Section 2', N'LOT 16 BLOCK 103 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:27.000' AS DateTime), 291, 78, 0xBD0B0000010405000000F126314865772B41307958E8DC64314114022B8764772B41706FF0E5BF6431413F355E7A50772B41F831E60EC06431414C6B9A3751772B41440E2D12DD643141F126314865772B41307958E8DC64314101000000020000000001000000FFFFFFFF0000000003, CAST(375840 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (379658, N'{330E0311-93F7-4E67-990C-05C06D0F57B4}', N'008779074', 1315828, N'NWP25341', NULL, N'8779074', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2005-07-05T00:00:00.000' AS DateTime), N'REM Lot 6', N'', N'', N'LOT 6 EXCEPT: FIRSTLY: PART ON STATUTORY RIGHT OF WAY PLAN 71204; SECONDLY: PART DEDICATED ROAD ON PLAN BCP18355; DISTRICT LOT 407 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 25341', N'0075', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:43:54.000' AS DateTime), 855, 117, 0xBD0B000001040C00000078E09C718C17334150DA1B7C16A21C4194D409C883173341F043FA6D19A21C41FEB27B927C17334180F90FE932A21C41E80434B17817334120F2B0507DA21C4144AD695E9B173341001FF4EC83A21C41769318C49C173341508FC27510A21C41562A2E0C9A173341703EF28B11A21C41FE8C0E5497173341C03BAF9912A21C41845FBB9B9417334190E5F89E13A21C41094636E391173341A09DCE9B14A21C41DFE4802A8F17334180CA2F9015A21C4178E09C718C17334150DA1B7C16A21C4101000000020000000001000000FFFFFFFF0000000003, CAST(379658 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (380899, N'{1EA0A299-9318-46CE-AD8B-B07563FBCA3B}', N'006310982', 1477100, N'NWP73667A', 21024421, N'6310982', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', CAST(N'2003-03-20T00:00:00.000' AS DateTime), N'Parcel 1', N'', N'', N'PARCEL 1 DISTRICT LOT 79 GROUP 1 NEW WESTMINSTER DISTRICT REFERENCE PLAN 73667A', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T13:20:27.000' AS DateTime), 4828, 311, 0xBD0B0000010407000000C58F31376CA0324120EBE236E5F51C412B75021A70A03241604772F967F41C41A1D6340F52A03241001F856BDAF41C4124CB102734A0324160B3EAF322F51C4179BE9F3A19A03241308BFDE575F51C4157D3BC831BA0324180C5FEB2D7F51C41C58F31376CA0324120EBE236E5F51C4101000000020000000001000000FFFFFFFF0000000003, CAST(380899 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (381151, N'{FBFCB4EA-945B-46BD-8DAF-A47D3808B2A0}', N'015236358', 847821, N'KAP1957', NULL, N'15236358', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 657', N'', N'', N'THAT PART OF LOT 657 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 1957 SHOWN 0.24 ACRES COLORED RED ON PLAN A1057', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:31.000' AS DateTime), 954, 182, 0xBD0B000001040600000094CB7F68F2773641608251C952D71C419B658803F2773641A067B36A53D71C41777AA5ACF3773641D06F5F8759D71C41388941C04478364170CFD5D636D71C41B837F86236783641405E4B48E6D61C4194CB7F68F2773641608251C952D71C4101000000020000000001000000FFFFFFFF0000000003, CAST(381151 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (381353, N'{E2437B64-2C3A-4CC5-8F0F-44C51A7237F1}', N'023963824', 4236065, N'KAP59864', NULL, N'23963824', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-04-05T00:00:00.000' AS DateTime), N'PART 2496', N'', N'', N'THAT PART OF DISTRICT LOT 2496 OSOYOOS DIVISION YALE DISTRICT SHOWN ON PLAN KAP59864 SAID TO CONTAIN 0.625 HECTARES MORE OR LESS', N'0163', N'0022', N'NO', N'SRW-COMPILATION', NULL, NULL, N'COGO', N'0', NULL, CAST(N'2018-07-04T13:50:03.000' AS DateTime), CAST(N'2019-01-14T18:34:25.000' AS DateTime), 5553, 346, 0xBD0B0000010411000000DE3D79983549364150C342AD70F81F4189A757EA4349364120A91350B1F81F4114D044982F493641D02D902010F91F4100D578A94E493641B0C64BB7DAF81F41669A775C4D49364190DCB504CCF81F4184EB234E5A4936410058ECF5B6F81F415CF456AE6649364100678D019DF81F41B065825F72493641302A95657EF81F41F2F1B9457D49364150861D6B5BF81F41EEFCF546874936414097AF6534F81F41CFC5514B90493641002B7CB209F81F414177443D9849364170347DB7DBF71F411995D4099F493641B04082E2AAF71F4140FAEDCB9249364130D578697DF71F41F87E6A7C6849364190A0F8B17AF71F41B4DA8ADD5149364120A323B99BF71F41DE3D79983549364150C342AD70F81F4101000000020000000001000000FFFFFFFF0000000003, CAST(381353 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (382169, N'{B5599C08-8337-4E42-86C7-506EAF217C20}', N'013700308', 255301, N'PGP3363', NULL, N'13700308', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Block 4', N'', N'', N'BLOCK 4 DISTRICT LOTS 7935 7936 AND 7241 CARIBOO DISTRICT PLAN 3363', N'0163', N'0008', N'NO', N'ICF', 4, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-03-07T14:25:08.000' AS DateTime), 57065, 1001, 0xBD0B000001040D00000036674429BFE03241B85E294BC7EF2E4161325570B5E0324130265385DCEF2E41C1CAA1C568E132410051DADB30F12E410EC7BA189DE13241606B9AF7BEF02E4171D712D2E7E13241C06054521CF02E414E840D2FFFE13241D0460378E9EF2E4124ED0D9EA6E13241B88BDB2845EF2E41AE8BDB284EE1324108166A0DA1EE2E419EA223D919E1324110BE30591CEF2E411995D4C9FCE03241C04B3789E6EE2E41F6A06773B9E03241D05F768F79EF2E418E28EDCDCFE03241C0C56DF4A2EF2E4136674429BFE03241B85E294BC7EF2E4101000000020000000001000000FFFFFFFF0000000003, CAST(382169 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (382452, N'{96E0BE0E-A240-44C7-A12C-54285A781515}', N'016176430', 472298, N'NEP624', NULL, N'16176430', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-04-06T00:00:00.000' AS DateTime), N'Lot 10', N'Block 6', N'', N'LOT 10 BLOCK 6 DISTRICT LOT 51 KOOTENAY DISTRICT PLAN 624', N'0163', N'0018', N'NO', N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'303.5', CAST(N'2019-11-22T11:56:21.000' AS DateTime), CAST(N'2020-08-12T17:07:23.000' AS DateTime), 304, 80, 0xBD0B000001040500000005D578090AA83A41C854C1E8DD4221413280B760F2A73A41280BB566B84221411ED26F1FECA73A4188D40928C842214154423EC803A83A41505530AAED42214105D578090AA83A41C854C1E8DD42214101000000020000000001000000FFFFFFFF0000000003, CAST(382452 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (383168, N'{43C1095C-26EC-4C85-ACE3-DA3032893D91}', N'010874330', 3, N'NO_PLAN', 90054798, N'10874330', NULL, N'760-008677.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'S2', N'14', N'84,18', N'PARCEL B (98052M) OF THE SOUTH 1/2 OF SECTION 14 TOWNSHIP 84 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-07-02T14:33:58.000' AS DateTime), 574771, 3447, 0xBD0B00000104D300000012E9B72F493834418838D605455333412FC4B1AE6A3834416CB5159B47533341B425E463B73834419CC8767E4D5333412FA2B497D338344190C2F5A84F5333411C04564E10393441588EE45254533341AA13D0C47A393441C85B20815C5333414AC8073D8F39344158EA04145E53334138AB3E37AC3C3441304ED1519B533341EC3FA43FB83C344108772D41FA523341689A777CB83C3441D8EBC019F75233414A0C02EBC03C3441AC506B3A86523341767AA54CC13C3441604013218152334133FF21DDC43C3441800D4F6F51523341D68AFD25C73C3441D459F5D932523341D32B6539CA3C3441B8847CB009523341C7FEB25BBD3C34412C6EA36104523341F431E68EAE3C34414892CB5FFE513341C410C7BA9F3C3441789FAB6DF8513341A289B0E1903C3441005D6D85F2513341DB817306823C3441986E12A3EC513341B8270F2B733C34411CD26FBFE651334190976E52643C344138F46CD6E05133415E6DC57E553C3441E02D90E0DA513341A557CAB2463C34417CC729DAD4513341F01648F0373C34416CD191BCCE5133418D7EFB3A293C344160D3BC83C8513341E7D0229B1A3C344194D93D19C2513341C0E3141D0C3C3441D0A3705DBB513341588638B6FD3B344158158C6AB4513341C2F5285CEF3B344178635D5CAD51334166F7E401E13B3441CC56EC4FA65133412F08AC9CD23B3441FC2406619F513341C164AA20C43B344148C3D3AB985133414E742457B53B3441884160A5925133414BD8F0D4A53B344198C420B08E51334181FB3A10963B3441CC141D498C51334153401321863B3441B07BF2D08A513341D868002F763B3441C45D4BE88951334109341136663B3441E82631488951334181D93D39563B3441C88D06D0885133411951DA3B463B3441B880266288513341789CA243363B3441D088D2DE875133411A73D752263B34413C79582887513341D868006F163B344190ED7C1F86513341F37C3F15073B3441D851B8DE815133418F06F076F73A344114D044D87E5133418A7CD093E73A344138AB3E377D513341EA3FA49FD73A3441F453E3057C51334158A835ADC73A34410824281E7B5133415F8FC2B5B73A34418806F0F67A513341E2C798BBA73A34410CFBCB0E7B513341C25B2021673A344150C1A8A47A51334152F166FA643A344140FCAC7C7A513341A8716ED2623A3441444EB36D7A513341C96D59AA603A3441209AC3777A513341D2854A835E3A34413493D89A7A513341C8CF635E5C3A3441DCC1DFD67A5133411A3FC63C5A3A3441808CB92B7B51334199658843583A3441B4E3147D7B513341107A364B563A344140CD3BCE7B513341DEE00B53543A3441B8B6621F7C5133418D87855A523A344198BB96707C513341F1D24D62503A344108A5BDC17C5133413155306A4E3A3441788EE4127D51334194A982714C3A3441D0AE25647D513341F0F44A794A3A344174984CB57D51334116B7D180483A3441689D80067E513341E8C03983473A3441640D4F2F7E51334128068195293A344164499D0083513341578638F6283A344160FE431A83513341F96C56FD263A3441B81E856B8351334156C1A804253A34419023B9BC83513341818CB90B233A34416C5F070E8451334152FC1813213A3441CC7F485F8451334104AC1C1A1F3A34412CA089B084513341F8E461211D3A344198C0CA01855133415B39B4281B3A344158C5FE528551334146696F501A3A3441CCAACF758551334142BD5236F23934411C8C4AEA8B5133410E4ABB0EE63934413833EEDF8D51334101A2CBE3D939344138585DC08F513341A0C3A8B5CD393441D846928B915133411AB77784C1393441888A874193513341038E5D50B5393441D8EF37E294513341B9627F19A9393441E8839E6D96513341FB406ED79C393441A4EFA39A97513341E883E6949039344170BCCAC298513341A71AEA5184393441D0BB12E69951334197F47A0E78393441B4BF7B049B51334112019BCA6B393441C49A051E9C513341842F4C865F393441C020B0329D5133417E35C8E856393441FCAC56089E51334156EA6F504E39344194E7EC0D9F51334181FE4DBE45393441401C5343A0513341CE616C333D393441C0CA63A8A15133410A23D4B03439344108ACF33CA3513341DE4F8D372C3934410CB7D100A55133415AFC846326393441248CAD65A651334116F3D99B20393441B48EC2FAA751334145181BE21A393441D88AA3BFA9513341388FD33715393441506AD6B3AB513341F24F8A9E0F393441B054D4D6AD513341A6BDC1170A393441A8D40928B0513341AA8ABFC604393441F0630622B251334123A29164FF3834411C762DEBB3513341F26AF8F2F93834412C4EEA82B55133415050B973F43834414843B8E8B6513341382E9EE8EE38344170EA221CB851334169BC7453E93834410C3FC61CB951334172ED2FBDE338344100C3620FBA513341FE76932CDE383441FCE14421BB513341FF5C4EA2D838344190F64A52BC5133411BDC0E1FD338344194874FA2BD513341065482A3CD383441684D2911BF5133415F325530C83834417C36AB9EC0513341D2E21A9EC238344158C5D4C1C2513341EF28A022BD383441205EF41CC5513341F2DF16C0B7383441308E18AFC7513341EEE6A678B2383441B4DB3977CA513341AD436D4EAD38344144303B74CD5133411F4A7B43A8383441904AEAA4D0513341BAFC8035A33834414C46B7ECD351334159A4521C9E3834418838FF22D75133418FF92CF898383441C8DF9B47DA51334177374DC99338344194CD675ADD513341F818F18F8E383441EC663E5BE0513341D2D5564C8938344164E7FB49E35133413FFDC1B2853834413CBBD405E55133413B6742108238344104A1AAAEE6513341FC763C657E38344180C34F44E8513341437B15B27A383441BC5E98C6E951334147A333F7763834416CC65A35EB513341B4F3FD347338344158696F90EC51334182717CC46A383441CC883EAFEF513341DFFFF47362383441FC7FB91FF351334179A57D465A383441F48199E0F65133416D651F3F5238344194EB79F0FA513341E61ED5604A38344140C6D84DFF513341DF718AAE42383441E85817F7035233417CB9AC3E3F383441A0EB5A0206523341242980DE3B3834412CAD2527085233415E4EC28E38383441883DFF640A5233410F1C2D503538344180BD69BB0C52334183C17623323834418CEAE1290F523341A68251092F383441543BDFAF115233413F9B553F2238344198D409481B52334175FC936420383441E8BD3BA81C523341C048DA881E38344198461E071E5233410D6D29AC1C383441C4BFB0641F523341C15682CE1A383441BC7BF2C020523341C1F3E5EF18383441D4CCE21B22523341613255101738344104068175235233414131919D1138344184962A4E2752334156652C470C383441F8FCD54D2B52334185FE3D0E07383441C010B2732F5233419627D7F30138344120DBE5BE3352334168CE02F9FC37344110C4902E385233415A6DC51EF8373441A4C0CAC13C523341307EB1FCF53734418C71ABE03E523341150FC7D7F33734411C83ADFC405233414CFC09B0F13734412429CD154352334134277E85EF373441709C062C455233412C762758ED373441401B563F475233419AD40928EB3734411CE9B74F495233412E9DEA7CE8373441CCBF13D04B523341BCA9D9AEE5373441B058FD284E52334170441DC0E2373441F4698D58505233417A3516B3DF373441A031FE5C525233415DD53D8ADC373441FCE5AC3454523341740B2448D9373441A0081BDE55523341FE70CFFFD53734419C9E0887575233414F4BF0C6D2373441B8263E4D5952334197B18B9ECF37344194DC2B305B523341C883A187CC37344168E4382F5D5233417F192C83C93734410C7CC3495F523341EEF21F92C6373441542D217F6152334104DD0C0AC3373441ACE66E04645233416E222EA3BF3734418842E4B5665233418C4BAB5FBC373441249CCC9169523341207C9541B9373441F46C58966C5233410124E64AB6373441E4719EC16F5233414CBF7D7DB337344158E09C1173523341CA38C493B0373441D8308FB476523341745257B3AD373441EC1CE15E7A523341EAB549DCAA37344188DD7A107E52334110D0AD0EA8373441EC7B44C98152334181D0954AA537344150D225898552334128A91390A2373441B48D065089523341AE9465685D373441C41726B3EB523341424107C45A3734412C60CC95EE5233417065A21758373441A4A10471F152334198E54B6355373441048AB844F45233412DE418A7523734418801D210F752334116C11EE34F373441142C3BD5F9523341001973174D373441CC69DE91FC523341F6C432B6493734416016D8DBFF523341E44E776046373441103F7F3103533341B00E691643373441C48CAB9206533341E3CE2FD83F373441641D34FF0953334115CBF2A53C373441F884EF760D533341AAADD87F3937344184D0B3F91053334160D330533637344128FEF0BC14533341C8E991553337344114FAF8A518533341DC34BD8830373441D05C80B21C533341585757EE2D37344124EA26E020533341E55BE7872B373441FCF6782C25533341A8CFD5562937344144D8F094295333416E1283202737344138234ABB2E533341DA34EF182A373441A01804F62E5333413D1AC0BB203834410C5EBAE94153334112E9B72F493834418838D6054553334101000000020000000001000000FFFFFFFF0000000003, CAST(383168 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (383391, N'{45B40CBF-590D-4308-B377-448DB5B6EF57}', N'001566351', 117903, N'VIP877', NULL, N'1566351', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 7', N'Block 11', NULL, N'THAT PART OF LOT 7, BLOCK 11, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:37:46.000' AS DateTime), CAST(N'2020-09-22T09:16:54.000' AS DateTime), 306, 71, 0xBD0B0000010405000000A2D6346F46373241E04D62900B8E17416CAC8B5B4C373241B03C2C54588E1741383CBDF25A37324180938785468E1741A0EFA7065537324190C954C1F98D1741A2D6346F46373241E04D62900B8E174101000000020000000001000000FFFFFFFF0000000003, CAST(383391 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (386587, N'{03282A99-B2A8-4BFC-A238-F7ED16283FAD}', N'015506941', 495897, N'NEP1684', NULL, N'15506941', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'2000-04-06T00:00:00.000' AS DateTime), N'Lot 3', N'Block 10', NULL, N'LOT 3 BLOCK 10 DISTRICT LOT 4598 KOOTENAY DISTRICT PLAN 1684 EXCEPT PART INCLUDED IN PLAN 6293', N'0146', N'0019', N'YES', N'PMBC-OPERATIONS', NULL, NULL, N'COGO', N'0', N'304.8', CAST(N'2021-05-14T10:29:49.000' AS DateTime), CAST(N'2021-05-17T16:12:18.000' AS DateTime), 311, 73, 0xBD0B000001040500000078A52C63C6823841C0CAA1C5E3DE1D417E48BF7DD3823841F0088A9FD3DE1D411AD9CE97CC8238418051499D7DDE1D416BD5E74ABF823841A0BCE3948EDE1D4178A52C63C6823841C0CAA1C5E3DE1D4101000000020000000001000000FFFFFFFF0000000003, CAST(386587 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (386814, N'{55B16737-F623-4636-95EB-9C1E0D8DE5BE}', N'012299227', 249816, N'PRP3285', NULL, N'12299227', NULL, N'03530.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot A', N'', N'', N'LOT A SECTION 16 TOWNSHIP 11 RANGE 5 COAST DISTRICT PLAN 3285 EXCEPT PLAN PRP12867', N'0151', N'0001', N'NO', N'ICF', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2021-05-30T19:54:32.000' AS DateTime), 1906, 198, 0xBD0B00000104050000007F8CB96BAC3E3141103B704EDFA72E41D4A3707DB13E314160B072A8C4A72E4152499DC0713E3141E87A146EC3A72E41BFEC9E5C703E3141502EFFA127A82E417F8CB96BAC3E3141103B704EDFA72E4101000000020000000001000000FFFFFFFF0000000003, CAST(386814 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (386847, N'{D1C67795-F64A-4119-8B2A-2A24172C168F}', N'016083075', 472153, N'NEP740A', NULL, N'16083075', NULL, N'5320424000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 24', N'Block 16', N'', N'LOT 24 BLOCK 16 DISTRICT LOT 267 KOOTENAY DISTRICT PLAN 740A, EXCEPT PART INCLUDED IN RIGHT OF WAY PLAN 1203 AND 16533', N'0053', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-05-30T20:15:05.000' AS DateTime), 114, 46, 0xBD0B0000010405000000DE4F8D77BE023A419029CB90D3282441156A4D13B9023A41F07D1DF8C3282441124FAFF4B1023A41A815FB8BE12824414894F6A6B8023A41F851B8DEE8282441DE4F8D77BE023A419029CB90D328244101000000020000000001000000FFFFFFFF0000000003, CAST(386847 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (387299, N'{EF0C34CE-D31B-4A3A-A9DA-9AAEFAEDA9A1}', N'013602047', 1485783, N'VAP2588', NULL, N'13602047', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-14T00:00:00.000' AS DateTime), N'Lot 31', N'Block 6', NULL, N'LOT 31 BLOCK 6 SOUTH EAST 1/4 OF SECTION 26 TOWN OF HASTINGS SUBURBAN LANDS PLAN 2588', N'0150', N'0010', N'NO', N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'342', CAST(N'2021-01-12T15:53:23.000' AS DateTime), CAST(N'2021-05-31T16:33:05.000' AS DateTime), 342, 88, 0xBD0B00000104050000000E363CDDE08E3241E06A2BF617261D411C0DE04DE28E3241003D9B5590251D415F7FD93DD88E324160E4F29F8E251D4156A835CDD68E32418012834016261D410E363CDDE08E3241E06A2BF617261D4101000000020000000001000000FFFFFFFF0000000003, CAST(387299 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (387431, N'{0475C322-EEBC-43DF-9B85-4EBA75F3AB2C}', N'009148604', 5461780, N'VIP366', NULL, N'9148604', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', NULL, NULL, N'THAT PART OF LOT 1, BLOCK 114, NEWCASTLE TOWNSITE, SECTION 1, NANAIMO DISTRICT, PLAN 366, LYING SOUTH OF BRECHIN ROAD', N'0084', N'0021', NULL, N'PMBC-COMPILATION', 0, NULL, N'COGO IN SOURCE', N'0', N'212.9', CAST(N'2021-06-08T10:37:32.000' AS DateTime), CAST(N'2021-06-08T10:44:07.000' AS DateTime), 213, 65, 0xBD0B000001040700000034772D41758B314120840DCFF7631C410ACE19B1878B3141D010C7BABD631C4173AC8BBB878B3141D0B9DA8AAC631C41D46F5F67778B31410020D2EFAB631C411504566E758B3141801A2FDDAB631C41E81DA768758B314180900F7AB5631C4134772D41758B314120840DCFF7631C4101000000020000000001000000FFFFFFFF0000000003, CAST(387431 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (387609, N'{94F73BD5-0FA0-4741-8A17-E725C2021AAB}', N'001646770', 126053, N'VIP1227', NULL, N'1646770', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 7', N'', N'', N'THAT PART OF LOT 7, SECTION 48, SOOKE DISTRICT, PLAN 1227 SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 31255I', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:08:46.000' AS DateTime), CAST(N'2021-06-24T14:49:42.000' AS DateTime), 1560, 170, 0xBD0B000001040E00000088DB68E0F2DB3141900F7A36462717415D6DC59E10DC314130F8C2647527174155D3BC6317DC3141A0559F2B5A2717412E08AC9C20DC314120363CBD35271741DCF0F40A2ADC314100D044580F2717418326C2E633DC3141E0DCB504ED2617419253746436DC314160302A29E42617414CDA1BDC16DC3141E0F21FD2B2261741E3FF6DB610DC31416045E4CACA261741AED9E89F0ADC314180223F01E3261741F2F7B29804DC3141002C9774FB261741E589F2A0FEDB3141E07F512414271741ED5CCDB8F8DB314160BFD10F2D27174188DB68E0F2DB3141900F7A364627174101000000020000000001000000FFFFFFFF0000000003, CAST(387609 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (387627, N'{F1B9D095-BD68-4E71-9CDF-371EF3D12AF8}', N'006447287', 140454, N'VIP2434', NULL, N'6447287', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'Block 6', NULL, N'THAT PART OF LOT 1, BLOCK 6, SECTION 7, SOOKE DISTRICT, PLAN 2434, SHOWN OUTLINED IN RED ON PLAN 461 RW', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 8, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:25:44.000' AS DateTime), CAST(N'2021-06-25T15:01:12.000' AS DateTime), 643, 263, 0xBD0B0000010406000000075F980C83DF3141807CD0333F091741935CFEE3A2DF3141305D6D4579091741FCA06733A2DF3141404013615C091741AE0C710C01E031418068916D5D09174184FD6517B8DF31419013D0C43F091741075F980C83DF3141807CD0333F09174101000000020000000001000000FFFFFFFF0000000003, CAST(387627 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (390669, N'{1E9425B7-CEA8-4D12-8349-E189F62D2164}', N'012942421', 289791, N'PGP9245', NULL, N'12942421', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', NULL, NULL, N'LOT 2 DISTRICT LOT 3948 CARIBOO DISTRICT PLAN 9245 EXCEPT PLANS H697 AND 30571', N'0117', N'0002', N'NO', N'ICF', 0, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2022-01-11T09:49:41.000' AS DateTime), 16287, 552, 0xBD0B000001041C000000E861A17640E43241681B0D6088342B41BF0512F436E4324150EC2FBB8E342B41EE8E53D42BE43241E054C16896342B41501E168A22E43241F82FBBE79E342B413692CBDF17E43241A0C420F0A9342B41A211A59D0FE43241D88095C3B6342B4152E3A53B0AE43241B001BC05C5342B41C4EEC903FCE3324118D57869D2342B41EB61A116F1E3324150158C4ADD342B41E8AE2564E0E33241B8946588DC342B4103BC05F2DBE3324140E3A51BE1342B4122C9E57FD8E332419823B9BCE3342B41191DC9A5DAE332411851DA9BEB342B414894F6E6DDE33241B8825189F7342B415839B4A806E4324188E61DE78C352B411F166AAD0BE43241A0BDC1179F352B417B04C5CF6EE43241B851495D55352B419DEFA7A665E43241785F074E20352B412CE6AE6589E4324130BE3099FA342B41C8DCB5E49CE43241A0C9C302FD342B41E951B89E85E4324168B4C83688342B413EAD695E84E43241B04E401382342B41B00C714C82E43241D0A145F682342B416F1283A079E432411821B0F283342B41DFE00B7362E432417844696F83342B4112F2418F51E43241882A189585342B41D0DEE00B48E43241807CD0B385342B41E861A17640E43241681B0D6088342B4101000000020000000001000000FFFFFFFF0000000003, CAST(390669 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (390764, N'{CF38950C-FBD3-4223-9BCB-73CF16B92808}', N'003780929', 656401, N'VIP18430', NULL, N'3780929', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 8', NULL, NULL, N'LOT 8, SECTION 53, CORMORANT ISLAND, RUPERT DISTRICT, PLAN 18430', N'0003', N'0020', N'NO', N'ICF', 2, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2022-01-14T16:24:12.000' AS DateTime), 1012, 154, 0xBD0B00000104060000008151495D1B832C4170AC8B1B1AE822419DBB9610C9822C41A8D1001E04E8224156A60A46B4822C41F08C286D4DE822414A522720AF822C416019E2985FE82241D0C342ADDC822C419006F05642E822418151495D1B832C4170AC8B1B1AE8224101000000020000000001000000FFFFFFFF0000000003, CAST(390764 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (391537, N'{7F2A6050-2A55-43F9-AC86-2CF8E51945EA}', N'009126279', 128644, N'VIP335', NULL, N'9126279', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 6', N'', N'', N'LOT 6, SECTION 7, VICTORIA DISTRICT, PLAN 335 EXCEPT PART IN PLAN 775 RW', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:37:46.000' AS DateTime), CAST(N'2019-01-05T10:21:16.000' AS DateTime), 402, 94, 0xBD0B000001040C00000004AC1C3A92393241E065F7E40F8A17417A9921BA9339324130070B6B098A1741EA06A13695393241C0EB2DE4028A174157FA93AF9639324120B77E50FC891741658AF32498393241D0471CB0F58917418DDEB8969939324110B82503EF891741172FDD049B393241905EBA49E889174131A2B4178C3932417019E2D8DA891741DA8173A6813932419069DE71D18917410946253577393241704CA60AC8891741BF1726937239324160F8C264F389174104AC1C3A92393241E065F7E40F8A174101000000020000000001000000FFFFFFFF0000000003, CAST(391537 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (391624, N'{C438227C-3B7B-4485-B984-936F9CDFAD84}', N'000886874', 1182538, N'NWP51712', NULL, N'886874', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2013-03-28T00:00:00.000' AS DateTime), N'REM Lot 201', N'', N'', N'LOT 201 DISTRICT LOT 15 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 51712 EXCEPT PLAN EPP24680', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:37:09.000' AS DateTime), 1125, 164, 0xBD0B00000104190000005F5DDCE638B03241508941E0E5771C41A43E575B45B032411075021A29781C41348941E048B032418070CE8826781C41621058B95BB03241E04B370918781C41B372687159B032412090A078C5771C416EF0852957B0324190D409E872771C41779CA2A355B03241E0ADD8DF3B771C4188A4D51255B03241204011CE40771C419E93A96654B0324130E70B8445771C41A2A478A053B0324100784FF849771C412265D1C152B0324170EDE6214E771C41F29373CC51B03241D06D73F851771C41A99C4CC250B03241501C3D7455771C418AB773A54FB0324150A1428E58771C41FEB425784EB03241004047405B771C41EB7DC03C4DB03241D05FDF845D771C411E51BEF54BB0324190747B575F771C41D2C7B0A54AB03241802971B460771C4165AB3B4F49B0324120C1029961771C4142A60FF547B032415097640362771C4118DBE49946B03241E0BDC0F261771C41F56C754045B0324160AB386761771C41470378EB43B0324170F7E46160771C413E13610347B03241504BC807D0771C415F5DDCE638B03241508941E0E5771C4101000000020000000001000000FFFFFFFF0000000003, CAST(391624 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (392346, N'{AE2E285A-8C48-48AE-AE06-0AA39698039F}', N'001593293', 141191, N'VIP1291', NULL, N'1593293', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'Block 3', N'', N'THAT PART OF LOT 5, BLOCK 3, SECTION 9, ESQUIMALT DISTRICT, PLAN 1291 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0154', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:01:24.000' AS DateTime), CAST(N'2019-01-05T10:24:16.000' AS DateTime), 352, 81, 0xBD0B000001040A0000002697FF50DE2A3241000EBE30C4991741DC3D5035DC2A3241D09B5040BC991741C6A22E14DA2A3241E0234767B49917410BFEAAEDD72A3241806DDDA5AC991741E6B0D5C1D52A3241A08A4EFCA49917410545BF90D32A324130D8D46A9D991741226C785AD12A3241E0FBA9F195991741D8817326CC2A324130B6F3FDED9917419306F0F6D82A3241C0A44EC01E9A17412697FF50DE2A3241000EBE30C499174101000000020000000001000000FFFFFFFF0000000003, CAST(392346 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (393384, N'{4BF6AAE4-3100-4F61-BE91-8E83F3213103}', N'001590537', 3, N'NO_PLAN', NULL, N'1590537', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 9', N'', N'', N'THAT PART OF THE PORTION OF SECTION 9, EDQUIMALT DISTRICT, LYING TO THE EAST OF THE EASTERLY BOUNDARY OF PLAN 1430, TO THE SOUTH OF BURNSIDE ROAD AND TO THE WEST OF A LINE PARALLEL TO THE EASTERLY BOUNDARY OF SAID SECTION AND EXTENDING FROM A POINT ON THE SOUTHERLY BOUNDARY OF SAID BURNSIDE ROAD DISTANT ALONG SAID SOUTHERLY BOUNDARY 93.1 FEET FROM THE INTERSECTION OF THE SAID SOUTHERLY BOUNDARY AND THE SAID EASTERLY BOUNDARY OF SAID SECTION, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0154', N'0005', N'NO', N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:22:42.000' AS DateTime), CAST(N'2020-05-13T13:00:42.000' AS DateTime), 533, 94, 0xBD0B0000010408000000A72C43BC162C3241B06A2BF6389A1741B3506B1A122C3241F01DA768FE991741518D97AEFA2B3241E0DCB5842F9A17414F8D978EFE2B3241B0A679475D9A17411BB9FC47012C3241F08EE4727D9A17411AFBCB4E182C3241B0DA8AFD4C9A17412EDD24E6162C32410071AC0B3B9A1741A72C43BC162C3241B06A2BF6389A174101000000020000000001000000FFFFFFFF0000000003, CAST(393384 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (395627, N'{12166662-8F11-4FE9-932C-47242CE7E63D}', N'004251822', 3, N'NO_PLAN', NULL, N'4251822', NULL, N'73105449000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'672', N'', N'', N'DISTRICT LOT 672 KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLANS B979 AND KAP49132', N'0163', N'0028', N'NO', N'ICF', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:29:36.000' AS DateTime), 1174629, 7109, 0xBD0B000001049400000041136183A769354180F4DB97D91822410E9C332289693541A0180456E01822418F7EFBDADF68354180AEB6A2D0172241081B9E1EE7683541006F8184BE172241DD240681B4683541604BC8476D172241DF7A14EEB3683541103411767B1722417C58A8D58668354110E9B7EFD91B2241297502FAC76A354150BA490C371C2241B5D1003EFE6A3541300456CE3F1C2241D44D62D0FA6A354110143FC6341C22417EF92946F06A3541D8E6601D0E1C2241DC151E67E76A354120FA73D0E51B2241688A7143E06A354198E30E29BC1B2241C2A62DE8DA6A354190DF4073911B2241FA541A5FD76A354150ED06FD651B2241463DACAED56A3541C068BD153A1B22416AFCF8D9D56A354180208F0D0E1B2241B981B1E0D76A354108F3E234E21A2241AD9F22BFDB6A354160FFC8DBB61A224138CD3B6EE16A3541C07268518C1A22419AE61D87F76A354160DE718A001A22412B5305C3F26A3541E84A5986FD19224174D71252FD6A3541E8187317BA192241BD86904AFE6A3541B8BCE9F1B2192241D2B66F2FFF6A354120BA2AC2AB192241749B9500006B3541C87A0D89A419224191B7E9BD006B354140806A479D19224134E05567016B3541E04B1BFE95192241193FC6FC016B35410844FAAD8E1922418FA3F1E9026B3541B8ED4746791922411CFDB1EA026B354118BF17CA631922412BDF05FF016B3541284423624E192241A200AC28006B354190AEFD36391922411AED1F6BFD6A3541B0EDC67024192241F86A93CBF96A3541209FDF3610192241E0A2E450F56A3541386C9EAFFC182241261B9103F06A3541185D0700EA182241E29FA5EDE96A354118B0854BD81822414236AB1AE36A354160B6A8B3C71822410C3F9197DB6A3541E036E457B818224101F29472D36A354168D15455AA1822417A6026BBCA6A354100CF88C69D1822410E32CB81C16A354160CC4DC3921822418E53FFD7B76A3541E89B836089182241D3D213D0AD6A354100B4F4AF81182241C3260C7DA36A3541987534C07B18224106257AF2986A3541008D839C77182241F0E958448E6A3541E89BBA4C75182241EBF8E686836A3541485B3BD57418224111DD7FCE786A3541484CE83676182241B792752F6E6A3541080C236F791822410D03EABD636A35411849D1777E1822412ADBA88D596A3541E0546847851822410C0602B24F6A3541C83AFFD08D1822419C11A53D466A354130386704981822417C3F355E466A3541D044D87098182241A467B3EA1F6A354130014DC4C5182241FABED46C1C6A3541B0E103D7C918224171C84FE1186A3541C02073B9CD1822415C5ECB48156A354180E9E36AD1182241E7BEF0A3116A3541C868A8EAD4182241CA6C6BF30D6A3541E0EC1B38D8182241FA0FE9370A6A35415005A352DB182241C4FEB25B086A354160499D00D21822414CB3D1B4FC69354140AFA42FDA182241B5168ABFF06935412055CA5AE0182241E7EE1E92E4693541808B9276E418224145833B43D8693541285C577BE61822419B69C9E9CB69354188C75665E6182241F1DEC59CBF693541B0C2B934E4182241C2FB1673B369354118EC93EDDF18224141136183A769354180F4DB97D9182241601058F9DC6E35419867B3AADF1C224120DBF9BE126F3541B8C9C3C2C8162241CF88D25E146F3541C8550EAD991622411DB9FCC7106F3541D074931899162241153FC63CFC6A354150A8358DF01522419CBB9670DE6A354130A4DFBEEB152241F675E01CCC6A354188621018661722412EB29DAF566A3541200BB52653172241A857CA123A6A354190029A884E172241A289B0E16369354160EC2FFB2B1722410BB5A61947693541708638562717224179F2B0103069354160643B9F2317224119C05B40B868354118F1F44A10172241F08E53F4B7683541189E5EA917172241731B0DE0B6683541D8D5566C32172241374ED171B6683541D819511A3D172241E00209AAC0683541A8923A814D172241428B6CE7F3683541505BB1BF9F17224174F90F29FA683541989C1125901722416C1283603F693541D8A3703DFF17224177F2B0B06469354120AE47213B18224157CA32E4B06935415044696FB51822418A3CA7CABA6935415879AC12BA182241D009CAD8C469354138087418BD182241ED3AC5FDCE6935413860B07BBE18224170989C28D9693541D8B80E3ABE182241151B4A48E3693541B0F5FC53BC182241AE6CDA4BED69354110EEA8CCB81822417A498922F7693541101CFBA9B31822410493DDBB006A3541B8B58CF4AC182241CCE4C4070A6A3541504999B7A41822415A7DAEF6126A354118EEEB009B182241F5285C6F396A3541E0F21F126D18224147365A3C456A35417074CC6360182241A6C23D8E516A354148E212DE551822416978D14B5E6A354148017B964D18224129A9035B6B6A354120D4F59D4718224141A51BA1786A3541F8EFBA0044182241E868F002866A3541587E2FC642182241FA2E2065936A3541481AD7F043182241227848ACA06A3541F0AB4E7E4718224168133EBDAD6A3541604B51674D18224178B5447DBA6A3541C81EC79F551822412EAD45D2C66A3541301BDE1660182241304505A3D26A3541186D2CB76C1822416F6556D7DD6A3541904BDC667B182241050B4C58E86A354158D2E0078C18224113316810F26A3541888033789E182241C8CAC7EBFA6A354118D71992B218224144744BD8026B3541408B722CC8182241B587BCC5096B3541F0AF091BDF182241164AEEA50F6B35415026F32EF71822410AECDA6C146B3541C0A2EA3610192241B223BC10186B35415078B8FF29192241AC2C1F8A1A6B3541D0689A54441922417B05F4D31B6B35410896AFFF5E1922418FCB97EB1B6B354188C066CA791922410E20DAD01A6B3541C8EFED7D94192241DB8AFD85186B3541709CA2E3AE1922413008AC3C156B3541385A643BC91922419FEFA7A6F46A354108ABCF55971A2241974DCEE6EE6A354168088FD1C21A2241C53CDE34EB6A3541286F762FEF1A224175E21999E96A3541C0415D0C1C1B224181881917EA6A3541180DFF03491B22415394C3ADEC6A3541E0A0DBB1751B22418AFC4E57F16A354190AB17B2A11B2241C6365009F86A3541C0E95BA2CC1B2241C581D0B4006B354118EFB022F61B2241D9566F460B6B354170A255D61D1C2241B5B88DA6176B3541688A8E64431C2241F40DBEB01B6B3541A8EC9E7C3D1C2241A4ADD87F1E6B35411893A902451C224175C729BA396B3541B0AF0367491C2241D1B35915D06E3541D8AACF95DD1C2241601058F9DC6E35419867B3AADF1C2241020000000200000000024800000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(395627 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (396162, N'{E803D647-8036-4C88-B2CA-EB0042E75618}', N'008979715', 1184342, N'NWP27328', 12078841, N'8979715', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2015-04-15T00:00:00.000' AS DateTime), N'Lot 41', N'', N'', N'LOT 41 DISTRICT LOT 51 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 27328', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:37:41.000' AS DateTime), 56628, 966, 0xBD0B000001040B0000000A3D9B95B6C03241D0A4BD4150F51B41D088D27EDCC032411076E09C1CF51B41780B24C8E9C03241606132D510F11B414E74249786C032417086385624F11B41ABE8484E13C0324150DA1BFC3AF11B41AD7BF2700BC03241A0703D8A9FF31B417ED93D991FC0324170CA32C49FF31B4146EA049419C03241301DC9E576F51B41F77E6A1C69C03241409B559FA1F51B4138B4C81690C03241B0770BA47CF51B410A3D9B95B6C03241D0A4BD4150F51B4101000000020000000001000000FFFFFFFF0000000003, CAST(396162 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (397402, N'{73F689A3-F282-46BE-8B2A-EAD10987C194}', N'003708306', 13352, N'VIP19251', 90075812, N'3708306', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', N'', N'', N'LOT 1, SECTION 11, RANGE 4, QUAMICHAN DISTRICT, PLAN 19251', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 15, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T20:05:39.000' AS DateTime), CAST(N'2019-01-07T18:32:59.000' AS DateTime), 12343, 445, 0xBD0B0000010405000000AAE8482E3ED03141F079C7295B861941E0361A40D3CF3141900A46A552861941DC581717CDCF3141D0E53F2418881941A6ADD89F39D03141906CE7FB28881941AAE8482E3ED03141F079C7295B86194101000000020000000001000000FFFFFFFF0000000003, CAST(397402 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (397457, N'{0DE4C70D-1F7A-4DF7-80F0-AAB7147456F9}', N'013919750', 470457, N'NEP7448', NULL, N'13919750', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 4', N'', N'', N'LOT 4 DISTRICT LOT 2594 KOOTENAY DISTRICT PLAN 7448 EXCEPT PLANS 13372 AND NEP63434', N'0163', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:30:27.000' AS DateTime), 21419, 1050, 0xBD0B0000010444000000EA1DA788D6873A41F05A42FE860F2141149C33C2D9873A41C0293A927C0F2141036F8104D2873A4150AA60D4720F2141462EFF81D5873A4120A2B4F7670F2141A8C64B17D9873A41D022DB395D0F21413A014DC4DC873A4150D1919C520F2141B48BDB88E0873A4150522720480F214156CA3264E4873A41185D6DC53D0F2141547DAE56E8873A4188711B8D330F2141B1B6625FEC873A4168226C78290F214198081B7EF0873A41C86F5F871F0F2141FCA9F1B2F4873A41C8907EBB150F2141A41A2FFDF8873A41E04EAF140C0F2141143FC65CFD873A41A8734694020F2141E80434D101883A41205A643BF90E214179C7295A06883A4108CCEE09F00E214133AB3EF70A883A4168499D00E70E2141770B24A80F883A4188401321DE0E214196438B6C14883A41A067B36AD50E214158CA324419883A4108098ADFCC0E21416E567D2E1E883A4138A4DF7EC40E21411B4A7B431A883A4170423E28BB0E2141F1EBC0B91E883A41085F98CCB30E2141D4915C3E23883A41D897DD93AC0E21413D60E5D027883A41D8FF907EA50E2141E60434712C883A4150DF4F8D9E0E214140A4DF1E31883A41F0361AC0970E2141A123B93C96883A4128E25817070E2141E76A2B7694883A4188AEB622020E2141FEFFFFDF98883A41D0FC87B4FB0D214138234A3B9D883A4168E4F21FF50D214124B9FC87A1883A41C89C1165EE0D2141172653C5A5883A4158931884E70D214169BC74F3A9883A419848BF7DE00D2141C832C411AE883A4188855A53D90D214138894120B2883A4118CA3204D20D214124ED0D1EB6883A411885EB91CA0D2141233A920BBA883A41287F6AFCC20D2141AE9DEFE7BD883A4170931844BB0D21414FFC18B3C1883A41108C4A6AB30D214152B1BF6CC5883A41B8D6346FAB0D214168AA6014C9883A4150F38E53A30D2141BD3923AACC883A41782BF6179B0D2141CDC3422DD0883A419023B9BC920D2141B9D1009ED3883A41302575428A0D2141361AC0FBD6883A41F0F97EAA810D2141D2817346DA883A41E8B359F5780D2141B9DA8A7DDD883A4178E5D022700D2141E42406A1E0883A41786ABC34670D21417A029AA891883A41702D211F330D214143FAED8B90883A4148FAED2B3B0D2141F597DD5383883A41D89AE65D760D2141324CA64A74883A41982A1815960D214195B20CD143883A4190B96BC9D70D21414E74245741883A4180D0B359230E2141880D4F6F31883A41789543CB760E214116E258F7F6873A41D8A14576CE0E214195900FDABB873A41F00434D1FB0E2141D21B7CE19C873A4198C7293A1D0F214194976E327D873A41F887F4DB780F21417681046575873A41A0ACFA1CA40F21411258397478873A4108CAC302A50F2141595227C0C7873A41C0C117A6BC0F2141489D8086CA873A412090A0B8B10F2141718A8E64CD873A41500AD7E3A60F21419E999959D0873A4170D409289C0F214130E6AE65D3873A41986FF085910F2141EA1DA788D6873A41F05A42FE860F214101000000020000000001000000FFFFFFFF0000000003, CAST(397457 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (397561, N'{A7F81FF7-0BFA-43AA-9292-7268DF7D3498}', N'006914781', 12870, N'VIP1750', NULL, N'6914781', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 5', N'Block 12', N'', N'LOT 5, BLOCK 12, SECTION 5, RENFREW DISTRICT, (SITUATE IN COWICHAN LAKE DISTRICT), PLAN 1750, EXCEPT PARTS IN PLANS 14238 AND 2762 RW', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:06:18.000' AS DateTime), CAST(N'2019-01-07T18:33:20.000' AS DateTime), 2750, 410, 0xBD0B000001041900000030B29D4FCE6D31418075711BA3F719419231776DA96D3141B0BCE39499F719412085EB91F66D3141106A4DF31BF819418CEB5138006E3141005C8F422CF81941E4141DC9006E3141105EBA49B5F7194130B29D4FCE6D31418075711BA3F719413BCD3B2EA06D3141C07D1DB83FF81941B815FBAB976D3141203945C734F8194123FDF6D5916D314160D0B35941F8194134856C84916D31415047D93943F8194158D3633B916D3141A0136D2F45F8194131A536FB906D3141C0E4063847F819412FD633C4906D3141C009275149F81941A6FE9E96906D3141408439784BF81941CA20B072906D3141E03099AA4DF81941B99690EF8F6D3141F0891F63A7F819416FA3019CE26D314180703D0AC4F81941FF9908DBD26D314190E4F29F9FF81941D222DB99CB6D314180D0B3D98FF81941536B9A57C46D3141C0EBC0B980F8194122F46C16BD6D31418082514972F819412EA2B4D7B56D314130295C8F64F81941C0F5289CAE6D3141804DF38E57F81941B125E463A76D3141D0CB7F484BF819413BCD3B2EA06D3141C07D1DB83FF81941020000000200000000020600000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(397561 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (397700, N'{8CD4EF85-AD6C-4607-8B1B-9BD5FCCF9F6F}', N'008552517', 12816, N'VIP703A', 29182751, N'8552517', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', NULL, N'REM Lot 5', N'Block 4', N'', N'LOT 5, BLOCK 4, DISTRICT LOT 24, OYSTER DISTRICT, PLAN 703A EXCEPT PART IN PLAN 1176RW.', N'0062', N'0007', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T18:16:47.000' AS DateTime), CAST(N'2019-01-07T18:32:15.000' AS DateTime), 116, 44, 0xBD0B0000010405000000109C332283B13141D017265353261B41F0F44A597AB1314120C3642A75261B41BB86A7577FB131419066F7E489261B410BB5A6598BB1314150FA5C6D75261B41109C332283B13141D017265353261B4101000000020000000001000000FFFFFFFF0000000003, CAST(397700 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (397822, N'{6D33ADBC-B084-473C-8813-C7823D8D3185}', N'009749462', 473415, N'NEP14832', 36617931, N'9749462', NULL, N'parc90', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 SECTION 10 TOWNSHIP 24 RANGE 2 WEST OF THE 6TH MERIDIAN KOOTENAY DISTRICT PLAN 14832', N'0119', N'0006', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:23:54.000' AS DateTime), 35338, 1157, 0xBD0B000001040D000000B07BF2B07791374178ABAD9820592541D06F5FC7B891374150D8F0B4ED5925413211361CBB9137411031996AE7592541472575821E92374170325530DB582541488B6C6764913741F07858E8B1582541B07BF2B07791374178ABAD9820592541EAB7AFA36C91374100D044582B592541669A77FC5691374120C4B1EEAE5825415427A0690F913741D8F1410F9F58254158B1BFECFC90374168EE5A42ED592541120456AEAA913741A02575C2135A25414BD8F0F4B09137411885EBD1025A2541EAB7AFA36C91374100D044582B592541020000000200000000020600000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(397822 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (398116, N'{B7D095A4-4339-4053-9B22-ACC6D0E05D54}', N'014667690', 467413, N'NEP4403', NULL, N'14667690', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', N'', N'', N'LOT 3 SECTION 30 TOWNSHIP 26 RANGE 21 WEST OF THE 5TH MERIDIAN KOOTENAY DISTRICT PLAN 4403 EXCEPT PART INCLUDED IN PLAN 4596', N'0163', N'0006', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:28:27.000' AS DateTime), 3002, 286, 0xBD0B0000010406000000E9D9AC1A9EE73841408B6C675F6326414C8D970E9DE738412052B81E6163264120166A8D59E738411873D7122B642641C9073DBB70E7384168E5D0622D64264164BC745391E73841F853E36534642641E9D9AC1A9EE73841408B6C675F63264101000000020000000001000000FFFFFFFF0000000003, CAST(398116 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (398704, N'{48BA07CE-2217-41CD-8D78-2F049E4EC6BF}', N'010318658', 3, N'NO_PLAN', NULL, N'10318658', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'SW4', N'7', N'86,19', N'PARCEL A (48443M) OF THE SOUTH WEST 1/4 SECTION 7 TOWNSHIP 86 RANGE 19 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:29:24.000' AS DateTime), 12146, 510, 0xBD0B00000104050000007A0B240886F233417C5E29EB3291334106C58FB146F23341E44603782E913341A2703D4A39F2334148158C4AED91334185DB68A078F23341B811A5BDF19133417A0B240886F233417C5E29EB3291334101000000020000000001000000FFFFFFFF0000000003, CAST(398704 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (398787, N'{475A63E4-1DF0-41F7-B021-ED2B20F84CB5}', N'012787540', 1184767, N'NWP80084', NULL, N'12787540', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2012-11-02T00:00:00.000' AS DateTime), N'REM Lot 2', N'', N'', N'LOT 2 DISTRICT LOT 15 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 80084 EXCEPT: PLAN 80085 AND PLAN EPP20170', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:37:09.000' AS DateTime), 2890, 261, 0xBD0B00000104070000003BAB3ED725B13241409FAB2D267C1C413DBD529608B132410042CF66D97B1C4130FF21FDEEB0324150158C4ACE7B1C411E5A643B1AB1324150F38ED3CE7C1C4194B20CD149B13241401B9E5E717C1C41C29F1A2F4FB1324130B9FC07067C1C413BAB3ED725B13241409FAB2D267C1C4101000000020000000001000000FFFFFFFF0000000003, CAST(398787 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (399644, N'{35799FFE-6E35-4778-8ADB-0703CE310E5D}', N'015157199', 486493, N'NEP2807', NULL, N'15157199', NULL, N'7075836050', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot B', N'', N'', N'LOT B DISTRICT LOT 1239 KOOTENAY DISTRICT PLAN 2807 EXCEPT PARTS INCLUDED IN PLANS 8773 AND 15645', N'0163', N'0004', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:21:25.000' AS DateTime), 76508, 2123, 0xBD0B0000010425000000C66D340081F23841A0FBA97186F21F41FE2A875697F2384100FCA9713FF41F411AFBCBAE9DF2384160423E68C9F31F412687167904F33841A02C431C22F41F4108627D3B07F33841D01A8B36E2F31F41C014299408F33841A081EC97A1F31F41734B708008F3384190FE23C060F31F4153027A0007F33841502F5F2F20F31F4188383D1704F33841D0513F65E0F21F41F4137BCAFFF2384110F7DCDFA1F21F410E81B322FAF2384190C2CE1A65F21F41B865142BF3F23841801B358E2AF21F41D88763F1EAF2384180B8CCADF2F11F41F653E385E1F2384180D409E8BDF11F41EC63CC3D52F23841800E2DB2EBEE1F41C66D340081F23841A0FBA97186F21F416FBC74135CF2384190550EAD82F71F417DC7295A69F23841808F31F796F71F416C81044574F2384150F163CCCBF61F41C117267350F238419068916D9FF21F4120A7E8E81BF23841E0438B6C92EE1F417EE2C75810F23841204013E1B3EE1F41487B832FFBF13841809ECD2AF1EE1F41AA25E423DAF13841608C4A6A1FF11F410EFA95BAD8F138415055BC5633F11F41B443AAE6D6F13841D01593B646F11F41AF7B7CABD4F13841F09C386659F11F41BFC4250DD2F13841305C5A436BF11F417D647510CFF138415070282D7CF11F41BFEDE7BACBF1384140E991048CF11F41B82C9D12C8F13841F0D27DAC9AF11F4108E74C1EC4F13841C0B0000AA8F11F4142853AE5BFF1384160E88D04B4F11F412CBB276FBBF1384140DD2486BEF11F41D9A3701D3CF23841703A01CD11F71F4162984C3543F2384120D9CEF75CF71F416FBC74135CF2384190550EAD82F71F41020000000200000000021000000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(399644 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (400255, N'{682FA91C-3B59-45EE-96A8-4C5221D314B0}', N'000017728', 645957, N'VIP1279', NULL, N'17728', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 19', N'Block 14', N'', N'LOT 19, BLOCK 14, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:50.000' AS DateTime), 429, 99, 0xBD0B000001040D000000D9D78193A29D304180FBA97113BD1C41C130992A969D3041902CD41A12BD1C4196779C22969D3041E006CE1912BD1C41E8E2365A879D304150499D8010BD1C413FE8D90C879D3041E06F5F873DBD1C4130333313989D3041A0F5285C3FBD1C41225A641B989D304130D1915C3FBD1C4159302A89A49D304100C5FEB240BD1C41B2726891A49D3041403333B340BD1C4132C4B12EAD9D30416009F9A041BD1C41A52C437CAD9D304110C05BA014BD1C419175719BA29D304160FC187313BD1C41D9D78193A29D304180FBA97113BD1C4101000000020000000001000000FFFFFFFF0000000003, CAST(400255 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (400283, N'{246FD013-F31D-4D66-B324-9E584182218E}', N'000017493', 645953, N'VIP883A', NULL, N'17493', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 36', N'Block 1', N'', N'LOT 36, BLOCK 1, DISTRICT LOT 132, ALBERNI DISTRICT, PLAN 883-A', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:43.000' AS DateTime), 647, 151, 0xBD0B00000104090000003CF1638C189D30416007CE9987AC1C41F341CF06149D3041706ABC7488AC1C41C5C342CD139D3041E063CCDDAFAC1C41FA53E3A51D9D30417026C206AEAC1C41E6D9ACDA2A9D3041B096218EABAC1C4102197397559D3041C071F98FA3AC1C413FF1636C559D3041B0BDC1177CAC1C4194FF901E269D3041C026310885AC1C413CF1638C189D30416007CE9987AC1C4101000000020000000001000000FFFFFFFF0000000003, CAST(400283 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (401486, N'{7DC2CAE5-9305-40F4-B8C7-568555FA76BB}', N'003823881', 651161, N'VIP17828', NULL, N'3823881', NULL, N'17437', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot A', N'', N'', N'LOT A, SECTIONS 25 AND 36, TOWNSHIP 10, COMOX DISTRICT, PLAN 17828 EXCEPT PART IN PLAN VIP69394', N'0163', N'0017', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-12-17T18:22:12.000' AS DateTime), 24549, 1262, 0xBD0B000001040B00000055F5B9DA3E5B30418003E78C81601F4137F8C2243C5B3041F0718A0E3F631F41C339236A3A5B30419066D5E7FB641F4102D578293A5B304140F8C2E43C651F41743D0A57385B304180787AA511671F4112A5BD41355B3041B04082E22A6A1F413C9B551F555B304110B29D6FA3691F412AC28627755B3041A00F7AB642631F41A3F831A6565B304150B81E052B611F4198081BDE3E5B30416008AC1C7E601F4155F5B9DA3E5B30418003E78C81601F4101000000020000000001000000FFFFFFFF0000000003, CAST(401486 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (401632, N'{50E4BBD6-94E6-4F84-B992-79EAB9AA59FB}', N'001718037', 3191875, N'VIP1215OS', NULL, N'1718037', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 3', N'3', N'', N'THAT PART OF SECTION 3, RANGE 3, QUAMICHAN DISTRICT SHOWN COLOURED RED ON PLAN 1215 OS AND CONTAINING 4.05 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 15, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:29:24.000' AS DateTime), CAST(N'2021-02-25T16:29:36.000' AS DateTime), 17436, 1222, 0xBD0B000001040E000000D712F2012CCB3141400000005F5919412F211F9425CB314180BFEC1E785919415005A37222CB3141508FC2F584591941896CE75B1CCB314140567D2E9F591941AFFA5CAD2FCB314190AA60D49C5919417F2F4CE635CB31417005A3129C591941244A7B8349CB31410022FDF6995919416709F900D7CC31413072F90F9154194111F2414FECCC31415010583952541941D756EC0FEDCC3141F0CEF7D3B453194159D3BCC3D6CC3141200F0B35F5531941DF7A140E36CB314130A5BDC13A59194137D6C54D2FCB3141A07D8CB952591941D712F2012CCB3141400000005F59194101000000020000000001000000FFFFFFFF0000000003, CAST(401632 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (402024, N'{BC478F51-E463-4D58-86A8-EE951550183B}', N'013977580', 295389, N'PRP968', 29839701, N'13977580', NULL, N'01251.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 13', N'Block 106', N'Section 2', N'LOT 13 BLOCK 106 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:38.000' AS DateTime), 260, 72, 0xBD0B0000010405000000849ECDAAAF7A2B41D012F221D66431419F01BCC5AE7A2B41C0847C30BC643141D222DBB99A7A2B4198900F5ABC643141752D219F9B7A2B41CC1E854BD6643141849ECDAAAF7A2B41D012F221D664314101000000020000000001000000FFFFFFFF0000000003, CAST(402024 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (402043, N'{415B496A-6761-48B5-A91F-3C3668EEC99C}', N'013977865', 295389, N'PRP968', 23695411, N'13977865', NULL, N'01257.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 9', N'Block 111', N'Section 2', N'LOT 9 BLOCK 111 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:37.000' AS DateTime), 233, 66, 0xBD0B000001040500000070348037857A2B4154E3A5BB9064314145136143997A2B41F8FBA991906431410E83C08A987A2B41345A645B79643141DFB5847C847A2B41F05C6D857964314170348037857A2B4154E3A5BB9064314101000000020000000001000000FFFFFFFF0000000003, CAST(402043 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (402938, N'{1CEF4BC7-F5BB-42BC-B6C8-2F9ACF01CC36}', N'014412268', 1072362, N'NWP17762', NULL, N'14412268', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1, EXCEPT: FIRSTLY; PART ON PLAN 22373, SECONDLY; PART DEDICATED ROAD ON PLAN LMP51122, THIRDLY; PART INCLUDED WITHIN PARCEL A PLAN BCP22966 SECTION 14 TOWNSHIP 16 NEW WESTMISNTER DISTRICT PLAN 17762', N'0002', N'0009', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-01-05T09:21:04.000' AS DateTime), 59015, 1522, 0xBD0B00000104310000007AC7291AA46D33413083C0CAA2AB1B41BCB88DA60B6D334110075F1886AB1B411A51DADBE76C3341D0B7AF837FAB1B418CC2F528E76C33411075029ABCAB1B410C5839B4C96C334190EB51382AAC1B4124386764AE6C3341F087F4DB8FAC1B41C6B12E4E946C33414073D712BFAC1B4192A0F851666C33415004568EB6AC1B41053411B6516C334130C807BDB2AC1B412C992A983B6C334130FF217DEBAD1B410793A982886D3341701804D62DAE1B41EAB828BB906D334180284901C3AD1B416696F284986D3341601628A857AD1B41D10082DF9F6D3341705ECCD1EBAC1B41563B59CAA66D334140DA69857FAC1B4150FF0145AD6D334190453CCA12AC1B4150840D4FB36D334100C286A7A5AB1B417AC7291AA46D33413083C0CAA2AB1B41A401BCC5246D3341A03D795826B11B41B9F3FD743B6D3341A023B9FC35B11B415EA1D634426D3341805DDCC626B11B4104D578A9446D3341B0E3149D0DB11B4134EF38A5326D3341B065886338B01B419154A7F12F6D3341A08BB6351CB01B416D1A59B12C6D3341107EC9F900B01B41FB548AE9286D3341709B9ADBE6AF1B41CE4351A0246D3341A02E3705CEAF1B41EC8494DC1F6D334190BA9C9EB6AF1B416CF8FFA51A6D3341D09B78CDA0AF1B416666F804156D33414058EBB48CAF1B4157FB8D020F6D3341D01450757AAF1B4157B06DA8086D3341607A082C6AAF1B411BB7D100026D3341706A4DF35BAF1B4104F9A0E76B6C334120A7794720AF1B4162E5D0826D6C33417058A83528AF1B410DA5BD81A86C3341D0718A8E03B01B4193436A11AF6C3341009E2A131BB01B413C4F33D7B56C334120D8249D31B01B4152B0C2D0BC6C3341A0B1B22447B01B41B672B0FBC36C334140E266A25BB01B41A19A8355CB6C334100D52F0F6FB01B41C7FEB2DBD26C3341E01C5A6481B01B416D567D8E066D334140A5BD41FAB01B4130AB72490B6D33415098D99404B11B41081EC929106D3341B0974BC10DB11B412EC3062B156D3341E0DCA7BE15B11B41A07A93481A6D334160DA98851CB11B41F027BD7D1F6D3341B0F5E50F22B11B41A401BCC5246D3341A03D795826B11B41020000000200000000021200000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(402938 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (402955, N'{E730D582-200A-42C7-83AB-25ABA76EF880}', N'011212527', 1183348, N'NWP7307', NULL, N'11212527', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2013-01-17T00:00:00.000' AS DateTime), N'REM Lot 3', N'', N'', N'LOT 3 DISTRICT LOT 18 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 7307 EXCEPT: PLAN EPP7864', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:36:54.000' AS DateTime), 585, 98, 0xBD0B0000010405000000ECB0504B95AB324100E78CA897641C4187A757EAA5AB3241908CB9EB58641C415340136194AB32410087A75702641C413980B76086AB3241C051B81E37641C41ECB0504B95AB324100E78CA897641C4101000000020000000001000000FFFFFFFF0000000003, CAST(402955 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (405444, N'{C7378F69-EA51-485B-AEA1-39280A9B3602}', N'011472031', 1308956, N'NWP84', NULL, N'11472031', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'REM Lot 3', N'Block 30', N'', N'LOT 3, EXCEPT PART IN PLAN LMP18430 BLOCK 30 DISTRICT LOT 203 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 84', N'0109', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:21:03.000' AS DateTime), 208, 58, 0xBD0B0000010405000000871F632E52BC324120287E8CFF461D417E2F4C2648BC324170D712722D471D41FD87F49B52BC324120E9B72F4F471D41303333F35CBC324140166A4D22471D41871F632E52BC324120287E8CFF461D4101000000020000000001000000FFFFFFFF0000000003, CAST(405444 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (406584, N'{29C070C3-4F9D-448A-8EA4-0423A5767CFE}', N'017995370', 1497054, N'LMP7505', NULL, N'17995370', NULL, NULL, N'ACTIVE', N'AIR SPACE', N'CROWN AGENCY', CAST(N'2000-03-24T00:00:00.000' AS DateTime), N'Parcel 1', N'', N'', N'AIRSPACE PARCEL 1 DISTRICT LOT 53 GROUP 1 NEW WESTMINSTER DISTRICT AIRSPACE PLAN LMP7505', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:38:50.000' AS DateTime), 2, 11, 0xBD0B000001040400000096F606FF3AA53241203A92CB50BD1C4160CC5DAB3BA53241A0CFD5D64DBD1C41F6A067D339A53241F0A067333DBD1C4196F606FF3AA53241203A92CB50BD1C4101000000020000000001000000FFFFFFFF0000000003, CAST(406584 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (407240, N'{B01B29B1-312B-4E2A-9F04-800E16D52D4E}', N'011412194', 3, N'NO_PLAN', NULL, N'11412194', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 468', N'', N'', N'THAT PART DISTRICT LOT 468 SIMILKAMEEN DIVISION YALE DISTRICT AS SHOWN RED ON PLAN ATTACHED TO DD 1316', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:25.000' AS DateTime), 42551, 2666, 0xBD0B0000010442000000646FF085F341364160B9FC8748E91C417D734634FD4136417044696FE5E81C412F33337306423641E056ECAF81E81C41F0D24D420F423641B0A8A44E1DE81C41FEF675A0174236419085EB51B8E71C4105CE199122423641D0B0506B2AE71C41CF915CDE2942364130C0CA21C4E61C414A50FCB830423641203EE8595DE61C411BC05B20374236411008AC1CF6E51C41C10512143D42364110B29D6F8EE51C4174C5FE9242423641A0F5285C26E51C414BBF7D9D47423641B01E85EBBDE41C41F4A9F1324C423641300AD72355E41C41C820B05250423641B096900FECE31C412D08ACFC53423641C0EA73B582E31C419BBB9630574236410076E01C19E31C41AAE848EE59423641203BDF4FAFE21C410B4625355C4236418061325545E21C41E29387055E423641900F7A36DBE11C413FA4DF5E5F42364160DA1BFC70E11C416B006F4160423641403108AC06E11C41767AA5AC60423641D0CD19519CE01C41BF5B20A160423641B069DEF131E01C41A2D634AF5F4236417024060192DF1C412EE6AE255E423641A0FBCBEE51DE1C4100D57889664236415009F920DFD51C4197F606BF4942364150863856F8D51C41F60FE9373D423641B078E9A6B2DE1C41D93D79F83D423641302FDD2455DF1C410D71AC0B3F4236415066666616E01C41C6073D1B3F42364130E17A942BE01C419187851A3F423641B0CAA1C539E01C4121F46C163F423641102FDDA481E01C41AABDC1973E42364160643BDFECE01C410ED044983D42364150BA490C58E11C415BD3BC833D423641302B879660E11C4168DE712A3C423641200AD723C3E11C41F39E3C0C3C423641003108ACCBE11C41B31C5A443A423641302DB21D2EE21C412E08AC1C3A423641809CA2A336E21C41625DDCE637423641A0FBA9F198E21C41EE7C3FB537423641B06ABC74A1E21C41E6FBA91135423641E02A879603E31C413CB4C8D63442364110BD52160CE31C418441608531423641D06E128376E31C41F8065FB82D423641F0550EADE0E31C41BAFC87742942364110BB278F4AE41C41226C78BA24423641B0E5D022B4E41C418AA7578A1F423641B0D0225B1DE51C41036F81E4194236411033333386E51C415027A0C91342364190E5D0A2EEE51C4199900F3A0D42364180C0CAA156E61C415986383606423641E00AB526BEE61C41E851B8BEFE41364150E7FB2925E71C41135839D4F6413641C0C0A8A48BE71C4117E25877EE4136416096218EF1E71C41C354C1A8E541364100F706DF56E81C413670CE68DC4136416096218EBBE81C419CABADB8D2413641C04E40931FE91C414750FC98C841364160423EE882E91C41D1DEE0EBBE41364160FE43FAF5E91C4122A7E8E8BE41364180E2C718F6E91C41B20C71CCDF413641307EFBBA00EA1C41623255D0DF413641F075E09C00EA1C4171F90F69E9413641A01F63EEAAE91C41646FF085F341364160B9FC8748E91C4101000000020000000001000000FFFFFFFF0000000003, CAST(407240 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (407294, N'{2DD356E1-3CC1-4339-AB7D-D02962459DE2}', N'011412241', 3, N'NO_PLAN', NULL, N'11412241', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 171', N'', N'', N'THAT PART DISTRICT LOT 171 SIMILKAMEEN DIVISION YALE DISTRICT AS SHOWN RED ON PLAN ATTACHED TO DD 678 EXCEPT PLAN H942', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:29.000' AS DateTime), 9517, 861, 0xBD0B0000010409000000B0D85FB6B9393641D0779C22C6551D413090A058D4393641708FC2F5D8551D419C6E1203EF39364140E5D022A0541D415A0E2D12043A364160703D8A60531D4120D26F1F0E3A3641C0749398B3521D411E6C787A1F3A3641508B6CE7764F1D419006F0761C3A36417068916DA94F1D419CF83186D73936419008AC1C2D541D41B0D85FB6B9393641D0779C22C6551D4101000000020000000001000000FFFFFFFF0000000003, CAST(407294 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (409434, N'{51C7CDAA-43F2-4BB3-A16C-87F6DC80A70A}', N'012476561', 3, N'NO_PLAN', NULL, N'12476561', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, NULL, NULL, NULL, N'PARCEL A (DD R72864F) OF BLOCK 224 DISTRICT LOT 372 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 397', N'0100', N'0022', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'4920', CAST(N'2019-07-09T15:44:58.000' AS DateTime), CAST(N'2019-07-10T15:23:08.000' AS DateTime), 4926, 514, 0xBD0B0000010405000000224A7B63B35636416031772D886A1F412B651982C7563641A03C2C54426A1F41088195A3B9563641406DC5FEC7661F4106D7A350A4563641B03A014DC0661F41224A7B63B35636416031772D886A1F4101000000020000000001000000FFFFFFFF0000000003, CAST(409434 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (409539, N'{D5BFF045-0D84-4AA8-B172-A283560B2304}', N'001565788', 117903, N'VIP877', NULL, N'1565788', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'Block 11', NULL, N'THAT PART OF LOT 2, BLOCK 11, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:35:46.000' AS DateTime), CAST(N'2020-09-22T09:16:54.000' AS DateTime), 306, 71, 0xBD0B00000104050000000A93A9029E3732416027A009A18D17411A1DC9658F37324170931884B28D17410DE9B74F9537324170840D4FFF8D1741C6C342EDA3373241F0E995B2ED8D17410A93A9029E3732416027A009A18D174101000000020000000001000000FFFFFFFF0000000003, CAST(409539 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (411799, N'{B09F7D9F-4A26-4BFF-A094-554714A1006A}', N'016563841', 3, N'NO_PLAN', 8222781, N'16563841', NULL, N'760-011875.010', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART NE4', N'32', N'83,21', N'THAT PART OF THE FRACTIONAL NORTH EAST 1/4 OF SECTION 32 TOWNSHIP 83 RANGE 21 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT LYING NORTH OF THE PEACE RIVER', N'0163', N'0015', N'NO', N'ICF', 11, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2020-03-20T14:56:51.000' AS DateTime), 112263, 1638, 0xBD0B0000010499000000E873B595C6B6334100C3642A93393341E7AE2564C3B63341AC4C15EC8F393341D5E76A8BBFB633413C3EE8F989393341634BC8E7B9B6334138C4B14E84393341EED24D42B4B633410C4625957E393341A9CFD596AEB63341507DAED678393341A38026E2A8B6334130FF211D7339334100000020A3B6334194F2B0706D393341004D844D9DB633416C9A77DC67393341C5DCB56497B63341B4946568623933415FE5D06291B633410412141F5D39334139F8C2448BB6334118A7E8085839334130211FF484B63341EC0B93495339334186EB51787DB63341EC65F7445039334146EA045475B6334170E7FB494E39334142355E9A6DB63341406210D84B3933410422FD5667B63341F823287E473933418248BF7D62B6334180029A6841393341E3A59B645EB6334138431C6B3A393341C0F5287C5AB63341401CEB2233393341C520B03256B6334130431C2B2C393341E46A2B1651B633413465190226393341B3E1E9B54BB633413C7DAE1620393341ABA44E4046B6334110AC1C3A1A39334118E258B740B6334198559F6B14393341C0F5281C3BB63341C45E29AB0E393341B6847C7035B6334154FE43FA08393341A133A2B42FB633414850FC58033933419F67B3EA29B6334194EFA7C6FD3833413033331324B633411C386744F83833416944692F1EB6334190A0F8D1F2383341F8E4614118B6334194C42070ED383341A211A53D12B63341D8D5562CE8383341735F07EE0BB6334140378941E33833411A2FDD6405B63341C819519ADE38334117B7D1C0FEB53341DCD78113DA38334157643B1FF8B53341E8141D89D5383341D9ACFA9CF1B533414CAB3ED7D0383341CC22DB59EBB53341C047E1DACB38334160764F5EE7B53341187C6152C83833411EEBE256E5B533418C38D685C6383341162FDD84DFB533411CF46CF6C0383341E6FBA9D1D9B53341F463CC3DBB383341BE9F1A2FD4B533410CE02D70B5383341FC3A708ECEB533410C6519A2AF383341DF2D90E0C8B53341F82631E8A93833418D06F016C3B53341E8AACF55A4383341E8B7AF23BDB5334198ED7CFF9E383341BF86A7F7B6B53341247E8CF999383341A613D084B0B53341C834EF5895383341A64E40D3A9B53341EC8C280D913833415FBA490CA3B533415CE3A5DB8C383341F8A9F1329CB53341E02D90C088383341D978E94695B533412C1AC0BB843833414C03784B8EB53341E06722CC8038334118AE474187B533419C7268F17C383341B194652880B533419C79C7297938334138014D0479B533411858397475383341D7CEF7B374B533418441604573383341FA285C2F74B53341C8EEC9237B3833417636AB9E73B53341101B9EBE833833411F4A7B435AB5334128A089F0173A3341F8B9DAEA34B73341C8A8A40E383A33419F722AB634B73341AC38F9B9363A33415C978D7D34B73341A416EF65353A33416015064134B73341F8D49112343A3341F8FB950034B73341D0FFECBF323A3341837C3FBC33B73341241D0C6E313A33414AEA047433B73341ECACFA1C303A3341B2E8921E32B733415C549AF52C3A33419DCFB4B830B7334168C55ED5293A33419EDB90422FB733417C809DBC263A334164064FBC2DB73341EC39ABAB233A3341800219262CB7334134CFDBA2203A3341DE361A802AB73341D84082A21D3A3341D4D30BAC28B73341800AD5681B3A33414A5244A326B73341EC63EA5E193A334134D79C6A24B73341A8279E89173A334187A0600722B7334154C94EED153A33415367407F1FB73341E4EBD28D143A33410FD044D81CB73341003B706E133A334125821DCE1AB73341EC6813EE123A3341832F2EC318B73341FC2DEF70123A33415EEE7BB716B73341BCC104F7113A3341C2D60BAB14B73341A0535580113A3341A202E39D12B73341380BE20C113A3341B68D069010B733414808AC9C103A334138F41C300EB7334134DF0203103A334122A76CE10BB7334190CAA3300F3A3341B6AF3CA909B73341C8F46F270E3A334112A0A08C07B73341B4F1C5E90C3A3341ACF66C9005B73341AC527C7A0B3A334163122CB903B733413829DBDC093A3341AECF130B02B7334134859414083A334172E7FB8900B73341A401BC25063A33411EC76A9EFEB633414C531F59033A3341BA7530C0FCB6334174608A83003A3341E6D676EFFAB6334164B73CA5FD393341849F662CF9B6334100AA76BEFA3933411B522777F7B63341F44779CFF7393341673BDFCFF5B633414C5986D8F43933419A9383BBF4B63341B00C2C22F3393341DF78CD9BF3B6334188982F73F1393341A628EF70F2B63341103FDCCBEF39334121D31C3BF1B6334120EC7B2CEE39334132928CFAEFB63341CC275795EC393341DA5F76AFEEB63341040BB506EB393341DAE9B9C6E6B63341283E65FEE1393341163744CEDEB63341C865F203D9393341F9932DC6D6B633418CE07717D0393341A47C8EAECEB63341D0E21039C7393341809C7F87C6B633413076D868BE39334108CE1951BEB63341D878E9A6B5393341B21C5A44B7B63341440C02EBAD39334102BC0552ABB63341ECC7981BA6393341A1272103AAB633418CCC1521A5393341EC2AF5C8A8B63341D82A080DA4393341172F73A5A7B63341F4F124E1A23933416FBB689AA6B63341B8ED469FA1393341789A7CA9A5B6334124B66B49A03933419D3C2CD4A4B633419C89B0E19E39334100C0A125A3B633419CB228F19B3933419BAAA0ACA1B63341046B6EE498393341FD15FF6AA0B6334104374FBF95393341C00F4E629FB633413C06B7859239334184A5D7939EB63341984EAB3B8F39334150499D009EB63341A80A46E58B393341B28BDBC89EB633415872F98F8739334121A0C7419FB63341F4D3BF2687393341B70AD3B39FB63341245C1BB686393341D388891EA0B63341A4DF7E3E863933415D517E81A0B63341004E64C08539334172834CDCA0B6334174344C3C85393341508D972EA1B63341503CBDB2843933411A68ADCFA1B633415C2947B184393341826CAF70A2B63341E0B17BB684393341C4015711A3B633412C8D58C284393341C1B65DB1A3B63341F087D8D484393341E6607D50A4B633419485F3ED84393341FC3A70EEA4B63341C0839E0D853933418B6E30EBA9B6334130F1292687393341929DBACBAEB6334108566E7D893933416B8AFA8CB3B63341B85CF1118C39334190B8EF2BB8B633410C0512E28E393341BD51AFA5BCB633419CAB09EC913933418AFD65F7C0B63341A428ED2D9539334139A3A902C2B63341188A8E6495393341779F9610C3B63341A8BCFC8B9539334112D44F20C4B63341547317A495393341BFA9F630C5B63341F4EECAAC953933419CC6AB41C6B63341F80E10A69539334106C58F51C7B63341EC56EC8F95393341E873B595C6B6334100C3642A9339334101000000020000000001000000FFFFFFFF0000000003, CAST(411799 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (412094, N'{07D5C3B7-6196-4076-84A7-DB466A06C213}', N'006040616', 18622, N'VIP5097', NULL, N'6040616', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 2', NULL, NULL, N'LOT 2, SECTION 18, RANGE 4, QUAMICHAN DISTRICT, PLAN 5097', N'0089', N'0007', N'NO', N'ICIS CADASTRE', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T16:36:22.000' AS DateTime), CAST(N'2021-02-16T16:38:20.000' AS DateTime), 1989, 189, 0xBD0B0000010406000000B0FA5C6D26CE3141A0E61D2794B619410244FACD17CE3141D07F483F5FB61941D41B7CC105CE3141B045B673ADB61941240F0BF526CE3141C0635D5C5FB7194185D2DE004ACE314150F606DF14B71941B0FA5C6D26CE3141A0E61D2794B6194101000000020000000001000000FFFFFFFF0000000003, CAST(412094 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (414781, N'{15476A4B-8077-45FA-B6C7-CD9DAFCED584}', N'010905995', 469143, N'NEP7835', NULL, N'10905995', NULL, N'03051.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 3', N'', N'', N'LOT 3 DISTRICT LOT 4589 KOOTENAY DISTRICT PLAN 7835', N'0135', N'0018', N'NO', N'ICF', 4, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-09-07T14:38:16.000' AS DateTime), 16519, 702, 0xBD0B000001040D000000E47A144E47703B41F8550E2D5AE521412AF6977D40703B41C000DEC21EE52141381AC09B3A703B41208F537421E52141157C619237703B41506210D822E5214135AB3E3705703B41180534D1E2E42141C8B12EAE1D703B4100FCA931C9E621410219739706703B4188A982D122E72141664DF3EE08703B41C81E85AB28E72141617FD9DD1A703B4190C117E652E721414160E59050703B4178F08549D8E6214190A982F15C703B41E0B35975A2E62141E2BE0EFC53703B41E0718A8E1AE62141E47A144E47703B41F8550E2D5AE5214101000000020000000001000000FFFFFFFF0000000003, CAST(414781 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (415122, N'{E41E9956-DC6C-456D-BC0A-811D814AE265}', N'016019067', 3, N'NO_PLAN', 90092770, N'16019067', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', CAST(N'1923-06-01T00:00:00.000' AS DateTime), NULL, NULL, NULL, N'STANLEY PARK', N'0150', N'0010', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'0', N'3746198', CAST(N'2021-09-29T08:48:53.000' AS DateTime), CAST(N'2021-09-29T08:52:35.000' AS DateTime), 3745817, 11547, 0xBD0B00000104750200006ED712B204743241900D4F2FF4461D4137234A9B04743241603BDFCFF8461D416154528701743241E0073D1B75471D41733480F7FE733241E00968A2CF471D41D1F75363FA73324170EA043456481D412A2F72D3FA73324180A419905F481D41035CAB5DFB73324130D842D668481D41EBB3BB01FC733241F020F40172481D4119C052BFFC733241F015AE0E7B481D41E7841396FD733241707E00F883481D4150AF9485FE733241107E8CB98C481D41A7BDC157FD73324150DB6800DC481D41762D213FFC7332415050FC980E491D41933A014DFA733241906054D255491D41D978E9E6F973324130E63FA467491D4165B3EAD3F973324120F8C26473491D410A5F982CFA733241106900EFCD491D41D78173E6FA733241108195C3114A1D418DB47EF5FA733241B047BB1C144A1D411F93A80DFB733241100B1A71164A1D410D2DDA2EFB733241E0A27BBE184A1D4123FFF358FB733241B086B0021B4A1D418311CE8BFB73324190E5913B1D4A1D417E1D38C7FB733241C0AF03671F4A1D414603780BFE733241903C2CD4264A1D416E6891CD07743241D0172653354A1D41BBF3FD540E743241B04082622B4A1D413FA4DF5E10743241C0B88D86214A1D41DFC798BB10743241D073B5951D4A1D41F7CBEE2911743241A0A292BA084A1D41E5AE25E411743241D0D781F3D5491D41364547F21274324180A7574A80491D41C2E314FD12743241D0A7C64B7C491D41B637F84213743241B0643B5F64491D410EE02DF01374324160A2B43727491D41188C4A4A147432416039B4C808491D418EA0F8B114743241F051B81EE9481D41E302090A1574324120CF6655DF481D41C186A7B716743241D05A423EC6481D41A60EF72717743241A009896EC2481D4171FAADA41774324170E138B7BE481D41D9AF772D187432418039D71ABB481D410264F7C1187432410024D79BB7481D411E5AC8611974324130C5973CB4481D4127287E0C1A743241A0B662FFB0481D41822450031D74324170886BE1B0481D41D3542AFA1F74324190EC78D6B0481D41C61805F122743241A0FF8ADEB0481D4124D0D8E72574324140ACA1F9B0481D41AFDA9DDE2874324160ADBC27B1481D4160984CD52B743241708BDB68B1481D419FB437383B74324120AA6054AD481D4100BC05724A74324130068195A3481D411CB7D1C054743241A0506B9A99481D413580B7E05E74324190DD93078D481D4103F775006074324130696FF08B481D419D01BC65607432412048507C8B481D413C9B559F67743241C0703D8A79481D41268716597774324140F46C5644481D4133431C8B9474324180DA1BFC22481D41F9A06753A97432413055302A00481D41F731E6AEAB74324130CD3B4ED5471D41E53FA45FA0743241205F98CC8C471D4134DD24C693743241503BDF4F3D471D41905CFE038D743241F0285C0F00471D414959865887743241605CFEC381461D41749318248274324100F46C5647461D41552041117874324190711B0D19461D4172A3017C6C743241E02D90A0E4451D41D400DEC26B743241A0FEB2FBE0451D41C7DCB5646A743241101B9EDED9451D4115022B676674324190E8B72FC5451D4127A913305974324110EE7CBF6D451D41674469EF4A74324180643BDF37451D41BEF528BC3874324180F0F44A0D451D41B5D1007E2474324130FBCBEEEC441D41DEBE0EDCF7733241201E166ADA441D4170CE88F2EE733241706CE77B02451D41271895D4F07332412060E5D024451D415C302A89F6733241F0065F9847451D41EDFBA951FE73324110D85FF659451D4192C2F5C805743241C0B5F3FD6B451D4123FDF69509743241906ABC7495451D4184C9544105743241A036ABBEC8451D4198B20CF104743241F092A982F6451D41FF770BE404743241206744E902461D414CB81E0505743241E0529621B8461D416ED712B204743241900D4F2FF4461D417168916DE2733241F0A3703D284B1D4164666666E2733241903F35DE2A4B1D41D1F753E3D3733241508D976E584B1D41AA9BC4C0BD73324160E926B1604B1D41813F35BEA3733241E0CCCC4C5C4B1D419EEFA7C68A733241A0976E12544B1D4176BE9FFA77733241C0D24DE23C4B1D41F4285C4F6573324120A245B6194B1D41D122DBB9557332418004560EEF4A1D41FA285C2F48733241601283C0C04A1D412FB29DAF397332417014AE478E4A1D4198C420302E733241A060E5505C4A1D4178E926D122733241801A2F5D1E4A1D41B29DEF8719733241F0A59BC4D8491D41D6CEF7331073324140E7FB2997491D41638FC2F50873324120B072E84D491D41065F98ACFF7232412016D94E08491D417A931884F7723241706666E6B6481D4133B29D0FEE723241A0EFA74681481D41B147E19AE27232412085EB514B481D41AF47E1BADD7232417091ED7C3E481D417BBE9FFAD07232415085EB5124481D411B04562EBC7232412083C0CA0C481D41C4A145F6A57232417095430B1D481D41E926316897723241B0BE9F9A4E481D4175BE9FDA89723241B0F3FD5480481D4117E258577C723241C0726811AE481D41E851B8BE6E7232415083C0CAE3481D4153E3A51B64723241909318041E491D417268916D59723241207F6A3C5C491D41A2703DAA507232416039B4C8A2491D41DA78E9E647723241D0F3FD54E9491D41D1F753233F72324120AE47E12F4A1D4100000060367232417068916D764A1D41418B6CA72B723241202FDDA4B84A1D418B16D92E1D723241E0C64B37E24A1D415DBA490C08723241202FDDA4EA4A1D4129068135F271324100D7A3F0D64A1D4191ED7C7FE0713241F0B19DEFB74A1D41C976BEFFD271324180C0CAA1854A1D41440C028BC6713241204A0C824F4A1D41B51E850BBA71324160643B5F1D4A1D412731088CAC713241C0726811EB491D415EBA490C9F713241D08095C3B8491D4198438B8C91713241608FC27586491D41B61E85CB7E71324180EFA7466B491D4146B6F37D6A71324110D122DB83491D41E6D0223B577132416008AC9C98491D417468910D40713241400E2DB2A4491D41470C020B26713241D0A7C64BA0491D4110D04498ED70324140E6AEA5BA491D415AC1A844CB70324150575B31DF491D417736ABDEB5703241605BB1BFF0491D419D923A61A2703241E0734694FB491D411283C04A8C703241903099AA0F4A1D417F1D38E76A70324180D26F5F074A1D41EB8C28AD52703241800B24A8294A1D4158B1BFCC4470324130325530644A1D4150E3A59B32703241C0F2B0509F4A1D4118AE47211A70324150401361D94A1D415EDC4603F76F3241C00C712CF74A1D41E66A2BB6CD6F3241704160E5EA4A1D418BA98211AD6F3241B05EBAC9DA4A1D41560E2DD2916F32416029CB90A24A1D41518D97EE7D6F3241808BDB68834A1D416C226C58656F324120A913504A4A1D4140E8D96C526F3241F0C56D340E4A1D41521E16AA426F3241501FF46CC1491D41A90A4665286F324170E926B18A491D4122C9E57F1A6F3241C086A75788491D416C68918D006F324190A0893091491D4125E4839EE36E324130508D177B491D4173810485C56E32412023DB7936491D41CB8F3117AA6E3241A068916D0F491D4173810485976E32412083C04AB2481D4139EF3865856E32419089B0E12A481D4193ED7CFF686E32419028ED8DD7471D4130A2B497416E32418018045695471D410612141F176E3241F0839E4D7A471D4195BB96F0006E3241208941E077471D41E6B7AFE3F46D32417005A31283471D41A53E57DBD96D324120C8073D75471D41E39C1105CE6D3241D0D022DB4C471D4186635D3CC36D3241F0749398FF461D41BEF5281CB76D3241F032C431D3461D411DB9FCE7A56D32419005A312B0461D41EDFDD418A26D3241E0DFBE8E81461D41DBA3703DA46D3241E02B659953461D4146696FB0AD6D324190ADD85F3D461D41291895F4C86D32413073D79228461D41F8C2648AEA6D3241F0DCB50418461D414D05A352086E324160FB3AF0F6451D419087857A146E324100022B8796451D415227A0092D6E324150A835CD54451D4154AF9445456E324100DF4F8DE6441D4154A835ED5E6E3241C0B1BF6C88441D41D8CEF7337A6E3241A0D32B6527441D410CBE30799B6E324140BD52169E431D4127F697DDC66E324120287E8C29431D418738D685E76E3241404CA68A25431D41182FDD44FC6E3241002653851F431D414DA60AE6136F3241F0EC9E3CFE421D4196D40948F96E3241900DBEB088421D41D1915CBEDA6E324120B29DEF02421D415DFE43FABF6E324110B459758C411D4173A3013CB96E32413051DA9B6E411D41ABC64B779E6E32410052B81EF8401D41BDE3141D916E3241F0CBEE49BC401D41FD4C844D766E32419066D5E745401D41E27A148E6F6E324150B3EAF327401D41E751B8BE546E32417073D792B13F1D41D388D23E476E3241703F35DE753F1D415C423E882C6E3241F066D5E7FF3E1D4198D409C8256E3241A00B2428E23E1D41C8293A120B6E32414092CBFF6B3E1D41C832C491FD6D3241E023287E303E1D41D60968C2E26D32418051491DBA3D1D41F3C9C342D56D3241E01DA7687E3D1D41E7482EFFAD6D3241501AC0DBD03C1D4130ADDE82AC6D3241D0E5F7D4D33C1D41D29AED07AB6D324130F508D9D63C1D417005608EA96D32419031E9E7D93C1D41F1DB3A16A86D3241E05F8E01DD3C1D418908839FA66D32416021EE25E03C1D41A0703D2AA56D324150F4FD54E33C1D41C0CAA1459E6D3241400C02ABF33C1D41A8F1D26D9B6D324190931804FB3C1D418416D96E876D324150621058E23C1D41152FDD047B6D324130355E3AA83C1D413F0AD743696D3241B0C64B378D3C1D41701283A05C6D324180BE9F1AC73C1D4124B9FCA75A6D32417016D9CE223D1D41B01C5AC4536D324110560EAD753D1D41012B87164A6D3241C04D6210B43D1D41F8A9F152406D324140FCA971FA3D1D413E355E9A366D3241F0CEF7D33C3E1D414B3789E12B6D3241B0703D0A7F3E1D41A445B633216D3241005C8F42BD3E1D41ECD0229B146D3241E078E926F33E1D4136DF4FED086D324110583934313F1D41E502094AFD6C324160C9C3426B3F1D419EEFA7A6F06C3241F053E325A53F1D411904560EE46C3241A0703D0ADB3F1D4139894180D56C324170E3A59B0C401D4191976EF2C76C3241501804563E401D41D022DB59BC6C32416041606574401D413AB4C8B6B06C32417045B673AE401D4190C2F508A56C3241E0240681EC401D41AC47E15A996C324190DF4F8D2A411D41EDD24DA28F6C324100D7A3F06C411D41145839D4866C32414047E17AB7411D41235A64DB836C3241B06E120313421D41F0D24DC2826C324160643BDF7A421D4170E7FBC9846C324140128340D7421D41BDF528BC846C32417039B4483B431D419C6E12A3836C3241F02EDD24A3431D41B8F3FDB47F6C324140931884FA431D41FC7E6ADC796C32410004568E49441D411C04560E736C3241E0D6A37094441D414C0C022B6D6C3241C022DB79E7441D416491ED5C646C324160B81E0532451D41AD1C5AC4596C32418012834068451D417FC0CA61486C324140AAF15289451D41EC51B8DE3A6C3241004E6210B7451D414060E5502C6C3241B076BE9FE8451D41DE7A14EE1B6C3241001B2FDD09461D415F8FC2950A6C3241F020B0F226461D4146E17AD4F66B3241B09999990B461D4159643B3FE86B3241102DB21DE1451D41B09DEF47D36B324190976E92D9451D4150B81EE5C36B32418091EDFCFA451D41A8C64B57B66B324180EB51B82C461D410F583994AD6B3241F080954373461D4174F2B0B0A76B3241F0F1D24DC6461D4134B29D6FA56B3241606891EDDD461D41516210D8A16B32414062105815471D41E002090A9B6B324100355E3A60471D41BFF5283C936B324100D7A3F0AA471D411C04566E8C6B32411060E5D0F5471D41450C02AB856B3241505839B43C481D41C720B0F27B6B3241C0BDC1177F481D41CF22DB39726B32416023DB79C1481D4136B4C896666B3241C04B3789FB481D41A145B6F35A6B3241202B879635491D41BCCAA1454F6B3241500AD7A373491D413ADF4FAD436B3241005839B4A9491D41826ABC14376B324180999999DF491D41AE9DEF07226B32418095430BE0491D41E9FBA951106B3241E04B3709C1491D416B6666A6FD6A3241703F35DE9D491D4199C420F0EC6A3241F0012B077F491D41182FDD44DA6A324170F528DC5B491D41410AD783C66A3241E06E128340491D41723D0A97AF6A324160C0CAA134491D413C5EBA69996A3241704160E540491D41D478E906886A324170B4C8F661491D413D0AD7A3776A3241D0A1453683491D41DF240641666A3241405EBA49A4491D4168BC74D3566A3241800E2DB2C9491D41D14D6250486A3241005C8F42F7491D414C6210B83B6A324170C2F5282D4A1D41806ABCF4336A3241508941E0734A1D41B07268312B6A3241E0438B6CBA4A1D4104819563236A324170E5D022054B1D41240681951C6A324100941804504B1D41A31A2FBD166A3241F0285C0F9F4B1D41F6285CCF146A324190CAA1C5F64B1D419A438BEC146A324110AAF1D24A4C1D4192976E52196A324190C0CAA1E34C1D41C2CAA1A51A6A324120D34DE2234D1D413E0AD7031B6A324140FED4F85F4D1D4196438B6C1A6A3241904160E5974D1D41270681F5196A3241901804D6C34D1D4137674469186A324110508D97F74D1D41666666A6136A32417060E5D03E4E1D41EDFDD4F80D6A3241B0F753E37D4E1D4163984C15076A3241601283C0D04E1D4122B07288026A324190490C02044F1D41410AD783F3693241B06E1283614F1D41EFA7C6EBEA69324100E17A14984F1D41D7CEF733EA693241706CE7FBDB4F1D4168BC74F3EC693241808FC275F44F1D4148B6F3BDF16932417014AE4709501D4168BC7493F869324120D7A3701A501D41F5A9F112056A3241B0BC74934C501D41DACEF7B31A6A3241C0ED7C3F74501D41826ABC542F6A324190C876BE9B501D4129068115416A3241E0C9C3C2B6501D41721283E0496A324120378941CC501D413A5EBAE95A6A32412031082C2B511D41135839B45E6A32412085EBD13F511D415B0E2DF2646A324140B072E888511D41DB78E9A6676A324160643B5FA5511D417C9318C4696A3241108195C3F9511D41285C8F42696A3241A03333B329521D419D703D6A676A3241A01E856B79521D4124B072C8676A3241A06E1283B5521D4153E3A51B696A3241405C8FC2F5521D41ECFDD4186B6A324150E5D02256531D41F4D24DC26B6A32410081954376531D41450C020B6D6A3241C0240681BA531D41833F355E6D6A3241E04F8D97FA531D41B147E15A6E6A3241D0A7C6CB5A541D41160456AE706A324130EB51389B541D41721283A0716A3241901E856BFF541D4168BC74D3736A32412085EBD14B551D4104D7A3F0746A3241B095430BA0551D412A8716197B6A3241E051B81EF1551D41D0CCCC6C7E6A3241107D3FB531561D41653BDF8F7E6A3241C0A145B677561D41836ABC947E6A3241D0CAA1C581561D41A8C64B777F6A324120508D97C4561D412085EBB17F6A324170B6F3FDD5561D418616D9AE806A32410033333336571D41D0CCCC0C816A3241505EBA4972571D41D4F97E4A816A3241A01A2F5DBA571D418F976E72816A3241A067B36A0A581D41E6043411816A3241A03F355E2E581D41400AD723846A3241C06891ED86581D416F3D0A57866A324180180456D3581D41105839548C6A324140AE476134591D41B4D100FE8E6A324120AC1CDA54591D41B27268718F6A3241A020B0F288591D41BCCAA1E5916A324110D34D62BD591D41EDD24DE2926A3241904F8D971D5A1D4104000020936A324150E7FBA9655A1D416491ED3C936A324100C74BB7B95A1D414EB81E65936A324190EFA7C6095B1D419B438B6C926A32411054E3A5655B1D41260681F5916A324110508D97915B1D41560E2DF28F6A324100A8C64BF15B1D4107AC1C1A8F6A3241D09F1A2F415C1D41EED24D42916A324130E17A94915C1D415C8FC295956A3241C03D0A57D25C1D41BBF3FD349B6A32414016D94EF75C1D41C776BEFFA06A324170A8C64B0C5D1D41A49BC4C0B46A3241F053E3A5275D1D41EEA7C62BCA6A3241C05DBA49635D1D4115AE47E1D76A3241002DB29D815D1D41BC490C82ED6A3241305EBA49A95D1D41E24F8D37F96A32418014AE47C75D1D4106560EAD0B6B324190438B6CFE5D1D419A438B6C106B3241107F6A3C175E1D41490C028B1E6B324150C2F5A86D5E1D41B8F3FDD42E6B3241F0D6A370B45E1D41C576BE5F3F6B324140378941E35E1D41F47C3F35476B3241E02A8796F45E1D418EED7CDF4E6B3241804160E5155F1D41CB76BE3F676B324160BA490C565F1D419C703DCA766B324170E926B1845F1D4120DBF95E7F6B3241A09DEF27AE5F1D41AC9DEFA7826B3241E0C876BEF25F1D41B1726831856B324160E926311F601D41CD22DB79856B324110A69B4463601D41F2A7C68B836B3241E047E1FABA601D418FED7CFF826B3241308B6CE7EE601D41AE9DEF47846B32411079E92633611D41BCF528DC876B3241C0EFA7C65B611D4132B29DEF926B3241C09F1AAFB5611D411A04560EA46B3241F02CB29D0C621D413BDF4F2DB86B32412004560E64621D419C438BACC26B3241008716D995621D41453789E1D96B32417016D9CEE5621D41703D0A57EE6B3241405EBA491D631D416E3D0AB7046C3241C09999195D631D413AB4C836136C3241407268918F631D41753D0AB7266C324150F753E3C2631D4161BA496C306C3241A095438BE0631D411AAE47013B6C3241D06110580A641D41283108AC476C3241500000802C641D41CDCCCC6C596C3241806E128347641D4198999959706C32417041606553641D4142355E5A7A6C3241002B871655641D418B6CE75B8A6C32413083C0CA57641D417714AE479C6C32413085EBD162641D412D333313AC6C3241B024068179641D4146E17AD4C06C324170B81E0595641D41F07C3F75D76C3241B01A2FDDBC641D41A99BC420EB6C324120583934E0641D4181C0CAC1016D324150BA490C08651D4154621098126D3241504160E51A651D41BFA8A46E266D3241403789412E651D4142355E5A356D32416039B4C838651D414060E5104C6D3241200AD7A358651D413108ACFC596D324130B6F3FD62651D416891ED7C706D32418060E5D096651D41B29DEF67766D3241E0CEF7D39F651D410E2DB2DD8A6D32417016D94ED7651D41EA2631689C6D32412083C04A06661D41FED47829B36D3241302FDD2422661D41FFFFFFDFCA6D32410031082C42661D41DE2406A1DD6D324100AC1C5A5D661D41A6C64B77ED6D3241004C370970661D41976E1263FA6D3241501058397A661D418516D94E0C6E32417037894185661D41C2CAA1451D6E3241809BC4208C661D41AF726831296E3241202FDD2496661D417714AE073B6E3241700C022BA9661D416ABC74D34E6E3241C0012B87C0661D41BCF3FD94666E3241E003568EDC661D4139894180716E324110F9A067E6661D41CECCCC6C876E3241502DB21DF2661D411B04566E986E32417091EDFCF4661D41BE9F1A6FA26E3241F0550EADF6661D4179BE9F7AA86E3241600E2DB2F3661D4177E926B1AE6E3241C0C876BEE0661D41C776BE9FB76E324130C64B378A661D4118D9CE57BC6E3241506CE7FB46661D418A16D9CEBE6E324110AE47611B661D41BCCAA125C36E3241209A9919FC651D41BCF5285CC76E324100F2D2CDE8651D4123B072A8CE6E3241E0263108CE651D41378941E0DE6E3241205C8FC2BC651D41EFA7C6EBE76E32412083C04ABA651D41273108ECED6E3241D0CCCC4CBB651D41A6C64BF7EE6E3241A047E17AB7651D41E47A140EFF6E324190E92631B2651D4198C420500B6F3241205C8F429C651D4104D578091D6F3241501058395B651D41E44F8DB7286F3241E0550E2D1D651D41896CE79B366F3241506CE77BCB641D419F1A2FDD3B6F3241903F355EB4641D41F5A7C6CB456F324150490C025E641D416D68912D4B6F3241804160E53A641D41D322DB994D6F32412083C04A13641D4193976E52556F324140726891D0631D41460C022B5D6F3241C01A2FDD81631D412A8716F9666F32416091ED7C37631D4190C2F508786F324190F3FD54D6621D4109560EAD8A6F3241A045B6739D621D4192976EB2A16F32418016D94E41621D419F45B6F3A66F3241D09F1A2F2A621D41FEFFFF3FAE6F3241208B6C670F621D41976E12E3B96F324100871659D5611D416B666686C56F32410083C04A9B611D41E202094AD06F324130E17A1455611D41EFD24D02D76F3241F0C4203012611D41205A64DBE36F3241B0CEF753C4601D413A5EBA89F06F3241D0D6A37086601D41D422DB9903703241D076BE9F25601D413133337313703241D0A59B44D85F1D41368941001A70324170D1225BA55F1D419C6E12A31F7032411014AE476A5F1D416B666686247032416005A312175F1D410F5839542A70324150B81E05CC5E1D41040000A02C70324110416065B05E1D415FE5D0423370324130DBF97E755E1D41EAFBA9313F7032411023DB791F5E1D41040000004A703241D0A59B44D55D1D41516210985170324110022B879E5D1D4130DD246659703241A060E5D0535D1D416CBC74135F703241601283C0145D1D4188C954E16370324100022B87C95C1D410AAC1CDA6670324150B6F3FD6D5C1D418D976EB26770324180BE9F1A1E5C1D416D1283C068703241D0A3703DBA5B1D41749318C46A703241B0703D8A5A5B1D41874160256B703241202B8796365B1D4177E926716C703241D0A7C6CB1A5B1D4192976EB26F703241B0F3FD54035B1D416DE7FB2979703241E01E85EBD85A1D4105560EAD8870324110DD2486AB5A1D41058195C390703241804082E2A45A1D416791ED3CA9703241002506017D5A1D41DAF97EAAB8703241B0999999575A1D4127871639D070324130295C8F275A1D41C4F5289CE3703241F0A9F1D2065A1D41CB4B37E9F170324140355E3AED591D419A438B6C04713241C0180456C0591D41D222DBD91171324170508D979A591D41BCF5283C1971324100CFF7D377591D412A31082C33713241707B142E24591D413F60E5104571324140E7FB29D3581D4116AE47215A713241D0C420B072581D41A9C64B575E713241D01C5A645F581D41088195A36171324120B29DEF43581D41142FDDE466713241903BDFCF2C581D41FA7E6A3C7071324130AE47610E581D41D5CEF7937D713241909BC4A0F0571D41B61E850B86713241A0703D0AC6571D41D4CCCC4C8971324150E17A94AE571D4153B81E258A713241409F1AAF5E571D41896CE79B8A713241B0ED7CBF32571D41C476BE9F90713241901058B9D3561D415FE5D042987132419091EDFC98561D41E8D022DBA47132417099991963561D41DC0209AAB27132414066666619561D418D1804F6B6713241C02CB21DFE551D414C621078BB713241C0D022DBCE551D4131DD2466C0713241F078E9A677551D416A91EDBCC1713241603F35DE57551D41803F35FEC571324140BC749340551D41A1703D4ACB713241A0B4C87625551D41C9A14576D3713241701804D616551D41996E1283E87132418066666616551D4196999999EF713241A02A87960F551D41D44D62D0F9713241703BDF4FFD541D41701283C01172324120AAF152A9541D4152B81E8525723241C0C0CAA164541D419E703D8A38723241703BDFCF07541D41BA1E85CB3D723241F0E926B1F0531D41F4FDD4184D723241E0809543D7531D4133DD244664723241E0550E2DCB531D413208AC5C6D723241D0A145B6C4531D41DDF97EAA8372324190FDD478AC531D41DF4F8DD796723241B0A145B69F531D4142355EFAAF723241506ABCF497531D41F97E6AFCC6723241008716D99B531D41E8263108CE723241B04B370999531D4146E17AD4E4723241308B6CE7B0531D41D7F97EAAF4723241002B8796C3531D418495434B07733241201283C0EA531D418E1804360E733241308D97EEF3531D413AB4C8361473324180FBA9F1F4531D4116D9CE571C7332411060E550EA531D410B81958320733241D06E1203DB531D41D478E9462A73324190C0CAA194531D41145839B43573324150BA498C6E531D41AE1C5AC449733241408B6CE70D531D416ABC74B35673324150DF4F0DB8521D415E8FC2355F733241F0FDD47889521D41CECCCC6C65733241B06E128376521D41C37493B868733241D04D62105B521D41A01A2F7D7E733241B0C64BB716521D41EED24D6293733241E07C3F35C6511D41F0FDD4989873324110068115B3511D412E333353B1733241207F6A3C73511D410D83C0CABB73324150B6F3FD48511D4197999959D0733241C020B07218511D41D8CEF733E9733241002DB29DCC501D4160E5D0C20074324150E17A949C501D41E8D9AC1A0D7432414079E9A67E501D41FDD478A926743241706ABCF44E501D41D0F7534340743241008195431B501D419EEFA7A654743241303333B3FA4F1D416EE7FB2968743241B047E1FACD4F1D4184EB51987D743241D04F8D97A94F1D41BFF528FC94743241D0263188894F1D416791ED1C9D743241508B6CE77E4F1D4169BC7433A3743241C0438BEC774F1D41CAA14576B9743241E07A14AE634F1D410AAC1CBAD5743241B045B673504F1D41C620B0F2ED7432416095438B404F1D4192ED7C1F01753241C0EFA7C6334F1D41F4D24D421975324150D022DB2B4F1D4151B81E4533753241205C8F42304F1D41856CE71B487532411083C0CA434F1D41A0EFA7C6577532418045B673664F1D4130DD244664753241E04F8D97984F1D4134DD24266775324170BC7413A54F1D41F6285C2F797532413031082C04501D41789318C481753241300AD7A32D501D41D4CCCCEC8D753241A05964BB7F501D41463789A190753241607C61329C501D41C9A145169B7532416091EDFCD1501D41FCFFFF5FAF753241A045B67319511D41F0B0502BBB753241D045B6732F511D4150621018D475324100560EAD3B511D4104819523DA753241600E2DB238511D41F7285C4FE0753241007F6ABC29511D4192C2F508F1753241F0263188E8501D41C776BE5FF6753241701E856BC9501D41E47A142EFE75324160A145B67E501D4198999979FF753241A01E85EB62501D41D478E946FE75324100C520B016501D414AE17A34FB753241A09BC420BE4F1D41BBF3FD54FA753241F022DBF9B14F1D41C6A145D6F7753241F0263188814F1D41170456AEF6753241C0F1D24D314F1D41235A645BF7753241A01C5A64F14E1D41E751B83EF975324140560EAD9D4E1D415EE5D062FA753241B0CEF7D3314E1D41E5D0225BF875324110D7A370D54D1D41B8C8765EF8753241508B6C67754D1D416E3D0A57F675324120DD2406194D1D418516D92EF1753241B051B81EC84C1D41AF47E1DAE8753241E09F1AAF864C1D4174E92671DC753241D0285C8F4C4C1D41696666E6CE753241601283401E4C1D41215A643BBC75324140E17A14FB4B1D415E105859A575324140583934EB4B1D416C3D0A578C7532412023DBF9E64B1D414BE17A5472753241B0976E92E24B1D41D478E9465875324190E7FB29E24B1D4107D7A3904175324100295C8FDA4B1D418F976EF23175324170490C82F14B1D418B16D90E22753241B022DBF9214C1D41B8490CE20B753241B09DEF27474C1D416A666626F7743241305A643B5D4C1D41CB20B012E074324100D7A3705E4C1D41C74B3709BB743241F0285C0F534C1D41F2A7C6ABA574324180C0CAA12B4C1D41D122DB999B74324140E17A941A4C1D41FFFFFF5F9A74324120378941154C1D41813F35FE82743241F0CEF753BA4B1D41283108AC6C743241C04B3709744B1D41AD7268B15C743241D0FBA9F1334B1D41002B87363E74324110AAF1521A4B1D41F9A9F11226743241D0F753E3064B1D414AE17A94F17332419076BE1F034B1D417168916DE2733241F0A3703D284B1D41020000000200000000025800000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(415122 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (415612, N'{FAEA42E2-34DA-430F-8D00-8E421BF0D2DF}', N'016201981', 3191432, N'NEP647', NULL, N'16201981', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', CAST(N'1990-07-23T00:00:00.000' AS DateTime), N'Lot 9', N'Block 10', NULL, N'LOT 9 BLOCK 10 DISTRICT LOT 2375 KOOTENAY DISTRICT PLAN 647', N'0163', N'0018', N'NO', N'PMBC-OPERATIONS', 1, N'LSA', N'COGO', N'0', N'403.3', CAST(N'2021-05-17T09:44:57.000' AS DateTime), CAST(N'2021-10-28T14:15:24.000' AS DateTime), 402, 90, 0xBD0B00000104060000007012832048843A4188F6061F1E1E2041DCBE0E7C49843A4108BC05120C1E2041507424D74A843A41A84AEA04FA1D2041D6A370BD2A843A41F0065F58F01D2041548638B63C843A41A01F63AE1A1E20417012832048843A4188F6061F1E1E204101000000020000000001000000FFFFFFFF0000000003, CAST(415612 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (415909, N'{85562A2F-5548-4F42-AE62-E83092A8B4C3}', N'012694991', 847623, N'KAP157', NULL, N'12694991', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Block 59A', NULL, NULL, N'BLOCK 59A DISTRICT LOT 455 OSOYOOS DIVISION YALE DISTRICT PLAN 157 EXCEPT PLANS B1648 AND H577', N'0138', N'0022', N'NO', N'ICIS CADASTRE', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-11-15T14:10:26.000' AS DateTime), 58, 32, 0xBD0B00000104050000000FE9B72FA540364160F5B95A8E29204180E2C7F8AB403641C830996A922920417E3F357EAE403641A0CDAA0F7F292041575BB1FFA3403641488B6CA7862920410FE9B72FA540364160F5B95A8E29204101000000020000000001000000FFFFFFFF0000000003, CAST(415909 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (416108, N'{D415AD70-6D79-4D3E-9AE8-924FD6DBA448}', N'023098643', 857880, N'KAP54932', NULL, N'23098643', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot A', NULL, NULL, N'LOT A DISTRICT LOT 266 SIMILKAMEEN DIVISION YALE DISTRICT PLAN KAP54932', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-11-25T13:58:10.000' AS DateTime), 2088, 199, 0xBD0B0000010409000000B8D1001E27563641B0D32BA51F29204140E8D96C2956364178226C382C292041230681B53756364170CC5D0B7A2920410724287E5356364178E5D0A286292041A50A46A56556364110BC05D2892920410A3411566C563641481361C37E292041183FC6DC6D563641701804565F2920412CC286072C56364150984C951B292041B8D1001E27563641B0D32BA51F29204101000000020000000001000000FFFFFFFF0000000003, CAST(416108 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (416181, N'{24FA6B78-5A72-42DE-9EDA-17763F2F5FC8}', N'009680331', 1170767, N'NWP2620', NULL, N'9680331', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-16T00:00:00.000' AS DateTime), N'Lot 40', N'Block D', N'Lot 758', N'ALL THAT PORTION OF LOT 40 BLOCK D DISTRICT LOT 758 GROUP 1 PLAN 2620 SHOWN ON STATUTORY RIGHT OF WAY PLAN 10087', N'0088', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2021-11-30T15:02:48.000' AS DateTime), 548, 103, 0xBD0B0000010405000000C97F48DF91A53241B03B4E51F8881C41E258171793A53241B06D3480A2881C412D992A587AA53241F086A7D75D881C41B696906F79A5324120948785B4881C41C97F48DF91A53241B03B4E51F8881C4101000000020000000001000000FFFFFFFF0000000003, CAST(416181 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (416349, N'{94B8EBF2-CA1E-4113-91C4-6C7DE69668B4}', N'006205861', 2554, N'VIP2859', NULL, N'6205861', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', NULL, NULL, N'LOT 3, DISTRICT LOT 35, NANOOSE DISTRICT, PLAN 2859, EXCEPT PARTS IN PLANS, 9076 AND 36637', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2021-12-08T13:26:26.000' AS DateTime), 1728, 182, 0xBD0B00000104070000002085EB1180413141E0732417FEE61C41701283003E41314130560E2D04E71C413580B7803A413141E0A3703D04E71C41C8BAB82D3F4131412000008038E71C41F241CF4649413141F0F1414F75E71C4109F9A0A77F413141701D38E765E71C412085EB1180413141E0732417FEE61C4101000000020000000001000000FFFFFFFF0000000003, CAST(416349 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (416763, N'{F1A5E720-CD29-4BC1-851B-855A81231841}', N'012623881', 288173, N'PGP16819', 90052933, N'12623881', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1 DISTRICT LOT 6681 CARIBOO DISTRICT PLAN 16819, EXCEPT PLAN PGP38037', N'0117', N'0002', N'NO', N'ICF', 0, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2022-01-11T10:05:02.000' AS DateTime), 13075, 575, 0xBD0B0000010409000000FADBD7C1B7E03241E87D1DB8A0382B4198779C82B5E0324160302AA90B382B4191ED7CDFD2E03241C82B65198E372B41D266D5877AE03241D0E1E91541372B41D322DBF965E03241904AEAC445382B41E102092A8AE0324170984C1560382B41B837F8C286E032413008AC5C94382B41C6FEB2FB7EE03241C800DE020C392B41FADBD7C1B7E03241E87D1DB8A0382B4101000000020000000001000000FFFFFFFF0000000003, CAST(416763 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (417726, N'{92515272-D071-4D81-8139-7A00BD62C4F4}', N'001588206', 126723, N'VIP851', NULL, N'1588206', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 10', N'Block C', N'', N'THAT PART OF LOT 10, BLOCK C, SECTION 16, VICTORIA DISTRICT, PLAN 851 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:42:31.000' AS DateTime), CAST(N'2019-01-05T10:21:27.000' AS DateTime), 813, 122, 0xBD0B000001040A000000D266D5C74E2D3241C06D3480F19917419B6588A3562D324130211F745B9A174132431CAB612D324150529621649A174150158CCA6C2D3241F053E3A56A9A1741FD9908FB772D3241B06CE7FB6E9A1741565BB19F702D3241A06DA3010C9A17413CAB3EF7672D32411075711B089A174173F08529552D324180FBA971F8991741419B55FF502D324160006F01F4991741D266D5C74E2D3241C06D3480F199174101000000020000000001000000FFFFFFFF0000000003, CAST(417726 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (419010, N'{BCFBC94C-D09B-4EFD-AFF2-E23408E3978E}', N'001643801', 140454, N'VIP2434', 10412771, N'1643801', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Block 20', N'', N'', N'THOSE PARTS OF AMENDED BLOCK 20 (DD 93434I), SECTION 63, SOOKE DISTRICT, PLAN 2434 SHOWN OUTLINED IN BLUE AND PURPLE RESPECTIVELY ON PLAN 712R', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:32:01.000' AS DateTime), CAST(N'2020-05-10T21:06:13.000' AS DateTime), 527, 169, 0xBD0B0000010412000000F9A9F132BEEA314120B98D86151417418A0D4FCFC3EA3141708A8E646C1417418CFD65B7C4EA3141F0907E7BC0141741B915FBABC3EA314130128340F814174180734634CAEA3141B0658863F9141741DC920909CBEA314190D93A34D8141741F2E5D350CBEA3141E0453CDFB61417414AE6540BCBEA314190E6EF89951417418287DA38CAEA3141104EB9597414174115E050DAC8EA3141B076D273531417415C2041F1C6EA314100FF21FD3214174114022B27C4EA314120992A9800141741E2BE0E5CC1EA31419075711BCE1317419EABAD58C0EA314180643BDFC31317413B92CBBFBAEA314120D26F5FC9131741CD915C5EB9EA314120C7BAB8CA131741FC53E305BBEA314120197357E4131741F9A9F132BEEA314120B98D861514174101000000020000000001000000FFFFFFFF0000000003, CAST(419010 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (419799, N'{B7D2BDA5-524F-4A39-82A7-03AA49702B91}', N'009727515', 3, N'NO_PLAN', NULL, N'9727515', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART 14', N'SOUTH SALT SPRING,1', N'', N'THAT PART OF SECTION 14, RANGE 1, SOUTH SALT SPRING ISLAND, COWICHAN DISTRICT, IN PLAN 1463R', N'0163', N'0005', N'NO', N'MODIFIED-ICIS', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:08:48.000' AS DateTime), CAST(N'2019-01-05T10:54:52.000' AS DateTime), 10613, 482, 0xBD0B000001040700000010363C9DA81C3241808104C556A41941752D219FA91C3241F0E53F244CA419414EAF94A5D51C3241608104C57AA21941CC22DB39D61C324150780BA4D8A1194152DA1B1C631C324160EEEBC077A119419FEFA7469F1C3241C0004D04F4A3194110363C9DA81C3241808104C556A4194101000000020000000001000000FFFFFFFF0000000003, CAST(419799 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (419854, N'{E12FC5FD-9DF0-4A03-A983-14FC996728F6}', N'007428103', 118430, N'VIP1397', NULL, N'7428103', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 18', N'Block 3', N'', N'LOT 18, BLOCK 3, SECTION 33, VICTORIA DISTRICT, PLAN 1397, LYING WITHIN THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:10:19.000' AS DateTime), CAST(N'2019-01-05T10:55:01.000' AS DateTime), 209, 82, 0xBD0B0000010406000000DE361AC0F63A3241E0270F8BC2941741E8E2361AED3A324110234AFBA594174110C7BA78FF3A3241A038D6451995174104D57829093B324110075F1800951741C5FEB21B003B3241A0E2C798E0941741DE361AC0F63A3241E0270F8BC294174101000000020000000001000000FFFFFFFF0000000003, CAST(419854 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (420090, N'{3FA45893-1028-41A4-A2F8-07B89D0CCEC2}', N'012482030', 495453, N'KAP364', NULL, N'12482030', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 12', N'Block 74', NULL, N'LOT 12 BLOCK 74 DISTRICT LOT 710 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 364 EXCEPT PLAN H875', N'0046', N'0019', N'NO', N'MODIFIED-ICF', 3, NULL, N'UNKNOWN', N'0', N'51.20', CAST(N'2020-05-15T10:26:38.000' AS DateTime), CAST(N'2020-05-15T10:27:04.000' AS DateTime), 51, 38, 0xBD0B0000010405000000A045B6538D6937411093A9028F6D1D41737AA5CC86693741E0D5566C8B6D1D41C6EEC9038569374180B072E8C76D1D415E54522785693741606CE7FBC76D1D41A045B6538D6937411093A9028F6D1D4101000000020000000001000000FFFFFFFF0000000003, CAST(420090 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (420151, N'{6A5DB419-2F5E-4D84-950F-1A6CEAD18A20}', N'001567993', 117903, N'VIP877', NULL, N'1567993', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 14', N'Block 12', N'', N'THAT PART OF LOT 14, BLOCK 12, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:30:33.000' AS DateTime), CAST(N'2019-01-05T10:55:56.000' AS DateTime), 406, 81, 0xBD0B0000010405000000F775E0FCF1353241E08AFD65AA8F1741263108ECDD35324150F38ED3C28F17416609F920E5353241602D219F0D901741F55C6DE5F735324140E8D92CF78F1741F775E0FCF1353241E08AFD65AA8F174101000000020000000001000000FFFFFFFF0000000003, CAST(420151 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (420963, N'{A52443B7-A24F-472D-90C3-0DA8C327EC0E}', N'008118302', 126956, N'VIP997', NULL, N'8118302', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 17', N'', N'', N'THAT PART OF LOT 17, SECTION 4, VICTORIA DISTRICT, PLAN 997, BEING THE RIGHT OF WAY OF THE C.N.P. RAILWAY AS SHOWN ON PLAN 1209 OS', N'0153', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:49:50.000' AS DateTime), CAST(N'2019-01-05T11:04:04.000' AS DateTime), 105, 52, 0xBD0B0000010404000000521E162A113932416088635D6B791741100BB5C60639324180B0E1692D791741C242ADC90739324140CD3B4E84791741521E162A113932416088635D6B79174101000000020000000001000000FFFFFFFF0000000003, CAST(420963 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (423335, N'{F6C721AF-B9A2-43D3-84FE-C15FD20EC241}', N'010226494', 3, N'NO_PLAN', 3683131, N'10226494', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'A', N'542', N'', N'PARCEL A (DD 123963F AND PLAN B5945) OF DISTRICT LOT 542 SIMILKAMEEN DIVISION YALE DISTRICT', N'0163', N'0019', N'NO', N'ICF', 13, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-01-09T12:31:22.000' AS DateTime), 18492, 662, 0xBD0B000001040B000000342AA993335E374170BA490CF5E41C412E431C4B4A5E3741C033113668E51C41A01A2F5D725E374140A089B0DDE41C419E67B34A475E3741101748505FE31C414F158CCA2F5E3741F0DBD781F4E21C4154302AA90F5E3741F054C1A860E21C41424772D90B5E3741904ED19156E21C4137014D64BC5D374170ED7C3F92E11C419CDD93679C5D3741808CB9EBF8E11C41CCB359552A5E374140FDF675C6E41C41342AA993335E374170BA490CF5E41C4101000000020000000001000000FFFFFFFF0000000003, CAST(423335 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (423355, N'{921F338B-E4F6-48EE-BA5B-A13F58D6A776}', N'009744410', 3, N'NO_PLAN', NULL, N'9744410', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART D', N'', N'', N'PARCEL D (DD 56083I) OF SECTIONS 70 AND 78, SOUTH SALT SPRING ISLAND, COWICHAN DISTRICT, EXCEPT THAT PART CONTAINING 0.308 ACRES MORE OR LESS, AS SHOWN RED ON PLAN DD 85242I AND EXCEPT PARTS IN PLANS 1464R AND 30498', N'0163', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:52:28.000' AS DateTime), CAST(N'2018-01-09T12:26:27.000' AS DateTime), 20233, 957, 0xBD0B000001040F0000004A4772F95916324140984C155ED91941F653E305381632417025E40379D81941D0BCE3947115324150E17A145CD819419F5E29CBE4143241D096908F47D81941D5F0F44AE21432419075719B1CD919414A4772F95916324140984C155ED91941ED1648F06F163241B079C72981D81941D90968C28516324150A301BCE7D81941A03C2C948B163241306744E9DDD8194174D712129116324100B37B72D1D8194172F90F299616324140DC4683C2D819419BE61DC79A163241E0CDAA4FB1D81941361136DC9E163241900512149ED8194196900F5AA2163241602AA91389D81941ED1648F06F163241B079C72981D81941020000000200000000020600000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(423355 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (423546, N'{1B58CF68-AB77-4B08-99A0-FA1E4124B483}', N'006914713', 12870, N'VIP1750', NULL, N'6914713', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 4', N'Block 12', N'', N'LOT 4, BLOCK 12, SECTION 5, RENFREW DISTRICT (SITUATE IN COWICHAN LAKE DISTRICT), PLAN 1750, EXCEPT PART IN PLAN 2762RW', N'0064', N'0007', N'NO', N'ICIS CADASTRE', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T19:02:59.000' AS DateTime), CAST(N'2019-01-07T18:32:37.000' AS DateTime), 6503, 368, 0xBD0B000001040E000000AEFA5CED916E314190FC8774EAF8194170469416516E3141F06DA301C6F719414AE17A542E6E3141008195C3BFF719412D431C8B106E3141E01D166ABAF71941E4141DC9006E3141105EBA49B5F719418CEB5138006E3141005C8F422CF8194135454712096E314170CC5D4B3CF8194111A5BDE1136E314180D2DEE04FF81941921804F61D6E3141D061A1D669F81941F27C3FD5276E3141D0133FC683F81941B9FC8774316E3141006EA3819DF81941CF6F5FC73A6E314110CF66D5B6F81941D9CEF7F34E6E3141D07D1D38F0F81941AEFA5CED916E314190FC8774EAF8194101000000020000000001000000FFFFFFFF0000000003, CAST(423546 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (426219, N'{55A7FECF-4989-4C21-AE8B-4FE2A540C3FC}', N'000017418', 645953, N'VIP883A', NULL, N'17418', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'Block 1', N'', N'LOT 6, BLOCK 1, DISTRICT LOT 132, ALBERNI DISTRICT, PLAN 883-A', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:39.000' AS DateTime), 636, 147, 0xBD0B000001040D000000608FC2F5009D304130B3EA73C3AB1C411EA7E8E8009D3041208FC275C3AB1C41142DB23DEF9C304110F54AD9C6AB1C41851F632EEF9C3041A087F4DBC6AB1C418DE4F2DFCF9C3041901AC0DBCCAB1C4103780B44CF9C30417098DD13F5AB1C41A4ADD81FFA9C3041A089B0E1ECAB1C41C8BAB82DFA9C30411040A4DFECAB1C4139014D840A9D3041705BB1BFE9AB1C4196C420900A9D3041B0A370BDE9AB1C415E07CED90E9D3041006822ECE8AB1C416BAA60140F9D304110A4DFBEC0AB1C41608FC2F5009D304130B3EA73C3AB1C4101000000020000000001000000FFFFFFFF0000000003, CAST(426219 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (426226, N'{178D2239-9643-4588-B360-BA79EFAA7F9A}', N'000016161', 646724, N'VIP2024', NULL, N'16161', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 14', N'Block D', N'', N'THAT PART OF LOT 14, BLOCK D, DISTRICT LOT 258 ALBERNI DISTRICT, PLAN 2024, INCLUDED IN PLAN 283 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:38.000' AS DateTime), 16154, 1138, 0xBD0B000001042F000000EE2FBBA791743041B010C7BA6F961D41996588439174304140FC187372961D41F185C9548974304130A60AC6A4961D415027A06986743041106519E2B6961D41857CD07383743041B075029AC8961D41E4839E6D80743041502BF617DA961D41A8CFD5567D743041C086A757EB961D41F19E3C2C7A743041F0686F70FC961D41F7B9DA2AF2733041B08D0670C6991D41C0749398D173304170F8C264739A1D41D756ECAFB17330410040A45F229B1D41E3B584DC9173304120363CBDD39B1D41152653A58C733041D0810445F09B1D41FE907E5B877330415010E9370C9C1D4169BC74F38173304130F46CD6279C1D4137D6C56D7C73304190081B1E439C1D411183C0CA7673304110DFE00B5E9C1D419E5E290B7173304120E4F29F789C1D41D468002F6B7330412062A1D6929C1D410119733765733041D0E848AEAC9C1D41AA13D0245F733041B0779C22C69C1D41744694F65873304170A0F831DF9C1D41FADBD7A152733041E0270F0BF89C1D410AC58F915073304120265305009D1D41B9B88D864E73304180B0E1E9079D1D417E04C52F7973304150E3A59B099D1D41601058797B733041506FF005009D1D41CE6F5FC78173304150C7BAB8E49C1D41F50FE9F787733041A026C206C99C1D41FAC2640A8E73304130D8F0F4AC9C1D413D9B55FF93733041C0B6D180909C1D412A0681D59973304130C364AA739C1D412931088C9F73304170B5157B569C1D4140136123A5733041C0438BEC389C1D419D33A294AA733041300BB5261B9C1D41829ECD6ACA733041B07EFBBA699B1D41E851B81EEA733041D04082E2BB9A1D41E73FA47F0A743041F0B27BF20F9A1D41C30512949274304170BB278F45971D412C5305039674304110DDB50433971D4158D3BC639974304160C2F52820971D4192976EB29C74304180029A080D971D4138CD3BEE9F74304180C3D3ABF9961D4175E92611A3743041607DAE36E6961D41D812F221AB743041F0DEE00BB3961D41A9BDC157B574304100B5A6F970961D41EE2FBBA791743041B010C7BA6F961D4101000000020000000001000000FFFFFFFF0000000003, CAST(426226 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (426230, N'{DBB300A2-78F8-457F-A9D2-16E0BEC04EBE}', N'000016012', 646724, N'VIP2024', NULL, N'16012', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Parcel A', N'REM Lot 3', N'Block D', N'THAT PART OF PARCEL A (DD 16368N) OF LOT 3, BLOCK D, DISTRICT LOT 258, NEWCASTLE DISTRICT, PLAN 2024, SHOWN ON PLAN 159R, EXCEPT PART IN PLAN 148 RW', N'0163', N'0029', N'NO', N'MODIFIED-ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:38.000' AS DateTime), 283, 115, 0xBD0B0000010409000000A713D004ED6B30413096210E69B71D4170B8C77FF56B304180C02C2159B71D4150EA44C3FD6B3041B0589C7947B71D418612A5C9056C304180567A2334B71D41F1466F8D0D6C3041704FF62B1FB71D4168055809156C3041A0775CA108B71D410ED044381C6C3041C0E00B93F0B61D41B37BF2D00F6C304180742417EEB61D41A713D004ED6B30413096210E69B71D4101000000020000000001000000FFFFFFFF0000000003, CAST(426230 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (428006, N'{7380022E-A2B2-4D26-BF78-1FEDEA72B509}', N'014083566', 295389, N'PRP968', 14745831, N'14083566', NULL, N'00583.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 8', N'Block 41', N'Section 1', N'LOT 8 BLOCK 41 SECTION 1 DISTRICT LOT 863 CASSIAR DISTRICT PLAN 968', N'0087', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:31.000' AS DateTime), 366, 93, 0xBD0B0000010405000000118C4AAAC36E2B41B442ADA98F6431416A1283C0C46E2B4130431C2BB4643141AC7268D1D86E2B41C030990AB4643141CE56ECAFD76E2B41100BB5868F643141118C4AAAC36E2B41B442ADA98F64314101000000020000000001000000FFFFFFFF0000000003, CAST(428006 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (429068, N'{F0829403-1777-49DD-A576-4BE76732EE73}', N'014149478', 1185278, N'NWP19544', NULL, N'14149478', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2014-12-11T00:00:00.000' AS DateTime), N'REM Lot 11', N'Block H', N'', N'LOT 11 EXCEPT: FIRSTLY: PART TAKEN BY HIGHWAY STATUTORY RIGHT OF WAY PLAN 65101, SECONDLY: PART ON SRW PLAN 45999A BLOCK "H" DISTRICT LOT 139 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 19544', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:35:44.000' AS DateTime), 463, 87, 0xBD0B00000104050000004A50FC98B48A3241D0C3422D22EC1B41B29DEF679C8A32419003E78C1EEC1B416CB5155B998A32414059173767EC1B41A857CAD2B38A3241F031E62E6BEC1B414A50FC98B48A3241D0C3422D22EC1B4101000000020000000001000000FFFFFFFF0000000003, CAST(429068 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (430284, N'{BCBE15FF-8F2C-4B51-AE29-98F830A61879}', N'013873695', 1171039, N'NWP7844', NULL, N'13873695', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'REM Lot 1', N'', N'', N'LOT 1, EXCEPT: PART ON SRW PLAN 27770 SECTION 34 TOWNSHIP 8 NEW WESTMINSTER DISTRICT PLAN 7844', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T09:47:58.000' AS DateTime), 4334, 353, 0xBD0B00000104060000003889410062F23241809A771CAF831C41F9A0677363F23241F0CFB3D93C831C41F3065FB864F2324130516B9AD9821C4160C3D30B53F23241502CD41AD6821C41E10209CAD1F13241F05AD33C94831C413889410062F23241809A771CAF831C4101000000020000000001000000FFFFFFFF0000000003, CAST(430284 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (433331, N'{40A51AC8-D5A8-4EFB-8836-CC2F98478FD1}', N'010327231', 849755, N'KAP2362', NULL, N'10327231', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Parcel 6', N'Lot 724', N'', N'PARCEL 6 (PLAN A1273) OF LOT 724 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 2362', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:58.000' AS DateTime), 8182, 455, 0xBD0B0000010420000000C8293A32D0713641608C4A6A1A791D41C87F483FD171364190A6794732791D411E6C785AD5713641E05B8FC299791D4172E7FB09D67136414013F2C1AE791D41C0E3145DDD71364160218EF5A4791D4171F90FE9ED713641D0559FAB88791D41AA6054D2F47136413031082C6F791D410F363C5DF9713641C06D348047791D410F7A364BF971364100560E2D05791D410F4FAF54FA713641E06A2BF6D7781D411648509CFE713641B04547F2B0781D4198DD9327087236415005A3928C781D41459D80E60C723641406519E284781D41A7CFD53612723641E08173467C781D41B88D06701972364160CD3BCE67781D41986588630672364190DE718A15771D4158A8354D0672364150C0CA2114771D413BC6DC95FF713641905839B4A4761D41A2ABAD78FF713641A0613255A3761D41BD0512B4FD7136419013D0448E761D41F953E385F571364120F163CCD3761D4140AD695EF3713641D05C6D4507771D4126287E4CF07136418067B36A3D771D4164545247EA71364190F6756077771D41EAAE2564E3713641C0EC9EBCA2771D419CF6069FDA713641F06E8184CC771D41927571FBD07136410099BB1600781D41E7D022DBCB713641F0A292BA29781D414C9621EEC671364150D191DC65781D41C8C342CDC971364150CF66D598781D415FBA496CCD71364190F08549DF781D41C8293A32D0713641608C4A6A1A791D4101000000020000000001000000FFFFFFFF0000000003, CAST(433331 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (433543, N'{C67D94A5-5AFC-4A33-BF6D-F428FBE78C1C}', N'012684821', 3, N'NO_PLAN', NULL, N'12684821', NULL, N'72606706000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART 2570', N'', N'', N'DISTRICT LOT 2570 KAMLOOPS DIVISION YALE DISTRICT EXCEPT: (1) PART OUTLINED RED ON PLAN B3417 (2) PLANS 5994, 8040, 10473, 19552 & 23958 (3) PARCEL A (DD C26119F) (4) PARCEL B (DD C26120F) (5) PLAN KAP63221', N'0163', N'0028', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:37.000' AS DateTime), 97205, 1823, 0xBD0B0000010445000000247502DA02DF3541F05817B7E9D8264163CC5D4BACDE354180EB51F892D926412A3A924BC3DE354170226CF8C0D92641B51E85ABF7DE354110D04418A8D9264162CC5D8B11DF3541C846033809DA264164CC5D0B1ADF3541C83D7918FED92641D5E76A4B1DDF35410810E937FED9264162CC5D8B28DF3541E84603F8FDD926414503782B30DF354180F4DB17F8D92641B41E850B3CDF3541585986B8F5D92641263A928B44DF3541585986F8FAD9264160CC5DAB48DF354130075FD8FCD92641BA1E85EB54DF3541A8BDC157FCD92641BA1E850B5EDF3541F0065F18FDD92641253A924B65DF3541782BF697FED926414703788B71DF354130A2B477FAD92641D4E76A6B7ADF354148992A18FCD92641B81E858B82DF3541B07D1D78FCD92641B61E858B8BDF3541B0F4DB1701DA2641480378EB95DF354160EB51F804DA26414503786BA1DF35413862105809DA264160CC5D8BA9DF354140A2B47710DA2641253A92ABB1DF354198BDC1D712DA2641D8E76A6BBBDF354188F4DB9713DA26412B3A92ABC8DF354178EB517815DA2641D8E76ACBD5DF354170226CB81ADA2641460378CBE2DF3541705986F820DA2641440378ABEEDF354190EB513828DA2641B41E85ABF3DF354148A2B4B731DA264160CC5D4BF8DF3541B886A7973BDA2641B51E85EBFEDF3541485986F840DA2641F0B0506B05E0354160992A1843DA2641D6E76A4B0CE0354128A2B4B74ADA2641B91E858B18E0354180226CF851DA2641D4E76A6B20E0354190F4DB575EDA2641273A920B28E0354190EB517860DA2641DBE76A6B2DE0354148EB513864DA26415ECC5D8B32E03541D87D1DF867DA26415FCC5DCB2FE0354160226CF86ADA26414C0378CB35E0354180F4DB577CDA2641D4E76A0B3CE03541886210987DDA26414B03782B42E03541A07D1DB887DA26414503786B47E0354198BDC11790DA26415ACC5DCB51E03541B8F4DB9797DA2641D8E76ACB5AE03541A87D1D789EDA2641450378CB61E0354198BDC197A6DA2641D7E76ACB67E03541284703F8B5DA2641B81E856B6FE0354150621018C4DA2641F0B0502B82E03541F0D8CEB7D6DA2641480378EB91E0354110D04498E4DA26414A03788BA4E03541983D7958F6DA26414203786BA7E0354120075FD8F9DA2641490378ABB5E0354120075FD80CDB2641460378CBB7E03541E83D795810DB2641BA1E852BC2E0354128D044D82ADB26415ECC5DABC1E03541B8B4377840DB26415ECC5D6BE0E03541F0D8CEF703DB2641D6E76A8BFDE03541A0B4373809DB2641B41E856B14E13541E07D1D3824DB2641058A1FA338E135419823B9FC7ADB2641EB51B8DE46E13541584BC8475DDB26419CB20C7134E13541E873B5D539DB2641A03C2C5459E13541C88C28EDECDA264171B5153B7AE13541B8E1E9552CDB2641BEE314FD83E13541A0A301FC17DB264117B7D100FCE03541881F63AEF8D926412B1895F4E1E03541101DC9A5C1D92641D4F0F40A99E0354110F54A9927D92641247502DA02DF3541F05817B7E9D8264101000000020000000001000000FFFFFFFF0000000003, CAST(433543 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (435756, N'{AA2AD376-A01C-4202-ABF1-1E09BF82A168}', N'015505260', 495562, N'NEP683', 9839291, N'15505260', NULL, N'26632', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 8', N'Block 1', NULL, N'LOT 8 BLOCK 1 DISTRICT LOT 537 KOOTENAY DISTRICT PLAN 683', N'0121', N'0019', N'NO', N'ICF', 0, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-08-12T15:42:10.000' AS DateTime), 282, 79, 0xBD0B00000104060000003E8B6CE722623841C0293A12DFAD1D412C08AC3C246238410045D87065AD1D41972A18151B62384160F7E46164AD1D41FC53E3851962384160204171DDAD1D41688863DD2162384120211FF4DEAD1D413E8B6CE722623841C0293A12DFAD1D4101000000020000000001000000FFFFFFFF0000000003, CAST(435756 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (436961, N'{3660C00F-4D39-43A6-B725-EF5472BFDAB9}', N'001675508', 12592, N'VIP218B', NULL, N'1675508', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block 47', NULL, N'THAT PART OF LOT 3, BLOCK 47, SHAWNIGAN LAKE SUBURBAN LOTS, MALAHAT DISTRICT, PLAN 218B SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 14183I AND CONTAINING 1.49 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T15:52:50.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 6186, 327, 0xBD0B00000104060000006ADE718ADEE9314130355EBA7590184111E02D50D6E9314150764F9EB38F1841F631E60EA3E9314130E56121AF8F18411B1DC9E5A1E9314110DDB5044991184130D49AA6E7E9314130F016C84C9118416ADE718ADEE9314130355EBA7590184101000000020000000001000000FFFFFFFF0000000003, CAST(436961 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (437004, N'{DC4F88AA-2D63-4C34-A6AA-8624C22DD808}', N'006816177', 18079, N'VIP1829', NULL, N'6816177', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', CAST(N'2000-02-22T00:00:00.000' AS DateTime), NULL, NULL, NULL, N'LOT 18, SHAWNIGAN LAKE SUBURBAN LOTS, MALAHAT DISTRICT,PLAN 1829', N'0163', N'0007', NULL, N'PMBC-OPERATIONS', 3, N'LSA', N'UNKNOWN', N'0', N'401.8', CAST(N'2019-12-03T16:47:37.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 405, 90, 0xBD0B0000010405000000140DE0ED0FE931417029CB10DCB11841A88251690FE93141A04E40930DB21841F4A9F1D22FE9314120B7D18015B2184198BB969030E93141900A46A5E3B11841140DE0ED0FE931417029CB10DCB1184101000000020000000001000000FFFFFFFF0000000003, CAST(437004 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (438518, N'{114A7567-CE03-4E7C-AD9C-754AC0FCBDDD}', N'001582411', 8505248, N'VIP8RW', NULL, N'1582411', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 9', N'', N'', N'THAT PART OF LOT 9, SECTION 79, VICTORIA DISTRICT, PLAN 1772 INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:07:28.000' AS DateTime), CAST(N'2021-04-16T11:15:09.000' AS DateTime), 321, 73, 0xBD0B000001040700000086855A335A2F32417074241727961741D2F75323522F3241E095B20CEE951741B837F882452F324100C976BE109617410C8195E34C2F324110FB3AF0449617414E27A0E94F2F32412061C3535A9617412C90A0785C2F324120C286273796174186855A335A2F3241707424172796174101000000020000000001000000FFFFFFFF0000000003, CAST(438518 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (438530, N'{EAB54D7E-51DF-4DBB-80A4-2DC1B0BD72BC}', N'009713701', 3, N'NO_PLAN', NULL, N'9713701', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 10', N'1', NULL, N'THAT PART OF SECTION 10, RANGE 1, QUAMICHAN DISTRICT, SHOWN COLOURED RED ON PLAN ATTACHED TO DD 14175I, AND CONTAINING 6.77 ACRES, MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 42, NULL, N'UNKNOWN', N'0', N'27464', CAST(N'2021-04-19T10:04:15.000' AS DateTime), CAST(N'2021-04-19T10:04:22.000' AS DateTime), 27465, 1897, 0xBD0B0000010406000000B0FA5C8D09C33141B05B20415F7E194102BC0592F0BF3141A01058396E821941B0BFECBEEFBF3141B0923A01ED821941FC87F4BB8CC03141E0051214228219417C711B2D69C3314130ED7CBF687E1941B0FA5C8D09C33141B05B20415F7E194101000000020000000001000000FFFFFFFF0000000003, CAST(438530 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (438630, N'{9EE1112A-AA38-4AF9-8B6D-DF9E2949418C}', N'011335653', 3191934, N'KAP1790', NULL, N'11335653', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Parcel 31', N'REM Lot 318', N'', N'PARCEL 31 (PLAN A1273) OF LOT 318 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 1790 EXCEPT PARCEL X (DD M29545F)', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-04-30T14:45:43.000' AS DateTime), 13289, 493, 0xBD0B000001041F0000007434803765693641C0361AC04D421D4126287EAC70693641107B83AF5E421D41B2D85FD66D693641D0AACFD532421D419B438B8C6869364100C13923DA411D41A6CFD5B6636936415094F60681411D411695D4E95E693641C0AF94651E411D41BC270FAB5A693641D087F45BBB401D41648863FD5769364140C4422D73401D414D840DEF4C6936410098DD9359401D41F41648F045693641804AEA842C401D418BB96B494169364130F9A0E7FF3F1D416CAA60143269364140696F7009401D414B7B832F1B693641C0A679C71D401D411A0456CEFA683641A0A1453624401D415CCA3204FC683641A01726D35F401D4186416045FC683641A04160656C401D41C20E9C13FE6836416095D409A2401D413D2CD43A0169364160BB278FFF401D4119FBCB2E05693641D015FBCB74411D41423EE81909693641E0FBA9F1E8411D41C9EEC94309693641C01951DAED411D414BA60A8612693641F0627FD98F421D41DCC56DF41469364180F4DBD795421D41376744292569364130BB278F70421D418438D6A52B69364160355E3A5B421D41ABF1D26D33693641006CE77B53421D4140BD52564169364100ECC03941421D416F8A8E844A69364180E2C71843421D41CDAACF954E693641D07BF23042421D41A679C74958693641E063CC5D4B421D417434803765693641C0361AC04D421D4101000000020000000001000000FFFFFFFF0000000003, CAST(438630 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (438783, N'{358DB1F6-2A4D-436F-BAE0-3A110DFBF52E}', N'012869821', 4752615, N'KAP1OL', NULL, N'12869821', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', NULL, N'Block A', N'', N'', N'BLOCK A DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT TOWNSITE OF OLIVER EXCEPT PLAN KAP90396', N'0095', N'0022', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-05-20T11:37:22.000' AS DateTime), 9181, 1222, 0xBD0B00000104840000004D840DCF046E364110C58F31FB981D414F840DEF096E3641404ED191E7981D414D840DAF0D6E364190D71272D8981D4118FBCB6E116E3641404ED111C9981D4118FBCB0E156E3641F044D870B9981D41A7BDC1371A6E3641203411B6AD981D414F840D0F1C6E3641E044D87099981D414D840D8F1F6E364180E09C1189981D41D86800EF226E3641F0FBA97178981D41D668002F266E3641B072689167981D414E840D6F296E3641B072689156981D41D768008F2C6E36412085EB5145981D41D76800AF2F6E36411085EBD133981D41DA68008F326E3641C004341122981D41D768008F356E36419072681110981D41D968004F386E364160696FF0FD971D41D968000F3B6E3641107CF2B0EB971D41DC6800CF3D6E364180A0F831D9971D41D868004F406E3641F08D7571C6971D416A4DF3EE426E3641D0043491B3971D41634DF34E456E364160053491A0971D41FAB9DAAA496E364170718A8E94971D41694DF3EE496E36411097FF107A971D41664DF30E4C6E36417020417166971D41A2D6342F4E6E3641A0847CD052971D41F631E62E506E36415097FF103F971D41FE187317566E36419014AEC722971D415C5BB1BF6A6E3641B0D8CEF74E961D417FC0CA41696E3641D0482E7F4E961D41B5DA8ADD5A6E3641204547F249961D41412CD43A586E3641A006F0164E961D41477B836F4C6E3641208C4AEADD961D41E22406E1476E3641C02E6EA30C971D4133BB276F3F6E3641E07BF2B041971D41F631E66E3D6E3641A0A9825154971D416A4DF34E3B6E36413017B7D166971D41F631E6EE3B6E364170029A087A971D416A4DF3EE366E364170F2B0508B971D41654DF38E346E3641308E75719D971D4131C4B12E326E36414060E550AF971D4168BC7493326E3641705F98CCC0971D41664DF30E2D6E364120736891D2971D416A4DF36E2A6E36414085EBD1E3971D41DA6800CF276E3641C0726811F5971D41DA6800EF246E3641C020B0F205981D41D568000F226E3641A0E926B116981D41D568002F1F6E3641E0F21F5227981D41DC68002F1C6E364140575BB137981D41D868000F196E3641E0F21FD247981D41D96800EF156E3641207C61B257981D4150840DAF126E3641F044D87067981D414E840D6F0F6E364170D712F276981D41635452E70E6E3641D0627FD984981D4152840DAF086E364110C58F3195981D414D840D2F056E3641D0D712F2A3981D41D568008F016E364180D71272B2981D414D840DEFFD6D3641B06054D2C0981D4119FBCB4EFA6D3641803B4ED1CE981D41C09F1A2FDF6D36411045477234991D4153840DEFD96D3641C0293A9248991D41C19F1A4FD66D3641408E757157991D41BF9F1AAFD26D364140B37B7266991D41BD9F1A0FCF6D364160C5FEB275991D41C29F1AAFCB6D3641A0A0F83185991D41BE9F1A2FC86D364110B37BF294991D41BE9F1AAFC46D364110AAF1D2A5991D41C022FB45BC6D3641F0DC2D34D2991D41CE40DA8CB46D3641502D398A009A1D41F2AAFA8AAD6D3641402384A9309A1D412FCBF246A76D3641906CD164629A1D410993A6C6A16D36411062608D959A1D4110F2410F9D6D364170FC18F3C99A1D410FF241AF9A6D3641C0E99532E99A1D410FF2414F996D364190E99532FD9A1D4110F241EF976D364120615452119B1D418A0D4FAF966D3641004ED191259B1D4114F2418F956D364160FC18F3399B1D4133BB27EF866D3641004E4013409C1D41BE96904F796D3641F03233B36C9D1D41BA96902F776D3641402AA913A29D1D41B696900F756D364180B3EA73D49D1D412CB29DAF726D3641903C2CD4F79D1D41A1CDAAEF6C6D3641202AA9934E9E1D419DCDAA2F6A6D364120211F74779E1D41A3CDAA4F7A6D3641E0C56DB4869E1D41A2CDAA2F7C6D3641C01726D36E9E1D41684469CF7E6D3641802AA9134B9E1D419ECDAA6F826D3641E0C56D341C9E1D412FB29D4F856D364130333333E39D1D4130B29DAF886D3641303333339F9D1D41B696900F8A6D3641B04E4013739D1D414B7B830F8D6D364100D881F30A9D1D41694469EF956D36418057CA324D9C1D41B696906FA46D36410073D712479B1D4104CE1E27A56D3641309A8C353A9B1D41D19C78E8A56D364150C63C612D9B1D41C9FC96B3A66D3641F04A5F96209B1D419A8C7288A76D3641A0256BD5139B1D4162900367A86D364150F6D61E079B1D4114F2414FA96D364150FC1873FA9A1D4114F2418FAB6D3641A0E995B2DC9A1D41FC5CD4FCAC6D364110602F00CC9A1D4131C8C37EAE6D3641E0CA856ABB9A1D41EC15EC14B06D3641407B26F3AA9A1D41DD4327BFB16D3641B0EB9B9B9A9A1D41DF6E4D7DB36D3641009E6D658A9A1D419ED6344FB56D3641E0F21F527A9A1D41A2D634EFB76D3641E07B6132649A1D419ED6344FB86D3641B020B0F2619A1D41A7D6348FB86D3641D004A3925F9A1D41A9F91DFBB96D364180D648AF549A1D4125164E71BB6D3641201BCAE1499A1D41292CB0F1BC6D3641E006C22A3F9A1D4168A92E7CBE6D3641508ACA8A349A1D414C6AB310C06D3641304A7C022A9A1D4134BB27AFC16D364130976E921F9A1D41A2D6340FC56D3641B0976E920A9A1D412EBB278FC86D36418020B072F6991D41CA7D5A57CA6D3641903DA97FEC991D41442D3829CC6D364170E3C9A8E2991D41CFFDA404CE6D3641005CA8EED8991D41849184E9CF6D3641403BD951CF991D4139FAB9D7D16D3641D054EFD2C5991D4133BB27CFD36D364120B37B72BC991D41BE9F1A6FD86D3641D0293A92A7991D41A84C802DDB6D3641403B67479B991D4145BDA3F9DD6D364110C9872E8F991D41E91D4CD3E06D36411092914883991D4158883FBAE36D3641F047769677991D412B0843AEE66D3641A08323196C991D41C49F1AAFE96D364190A982D160991D414D840DCF046E364110C58F31FB981D4101000000020000000001000000FFFFFFFF0000000003, CAST(438783 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (438886, N'{C25F8311-2740-4FA8-80FB-76B655E21983}', N'001624181', 3, N'NO_PLAN', NULL, N'1624181', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'', N'', N'', N'THAT PART OF SECTIONS 82 AND 112, METCHOSIN DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 31666I AND CONTAINING 4.55 ACRES MORE OR LESS', N'0079', N'0005', N'NO', N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:09:41.000' AS DateTime), CAST(N'2021-05-30T19:21:22.000' AS DateTime), 18376, 1400, 0xBD0B00000104720000007E95430B220B324110BE30191E331741344547721A0B324150AD69DE98321741BE5B20E1130B324120EBE2B625321741D2F753630F0B324140D8F0F4D6311741925CFE23070B32412062A156463117416DAC8BBB010B3241E0004D84E7301741599AA8B1FF0A3241103C3E11C6301741AE818B6BFD0A324130D787DCA4301741E92BABE9FA0A3241807CF0EC8330174175948A2CF80A324130BD304963301741FFCDB834F50A324100AFF1F74230174160E5D002F20A32410092CBFF2230174122FDF695EF0A32415095D4090F30174127720794EA0A3241403BDF00E82F1741BEB53D36E50A3241001E25BDC12F1741218D7E7EDF0A3241A0DF264C9C2F1741087CCE6ED90A324190C51ABB772F1741600E5109D30A3241700FE816542F1741EC164850CC0A32416068226C312F1741023014F9C20A32417015DD2F062F1741D0B762EBB80A3241F0641597DD2E17417C241933AE0A32412028D5D1B72E174192C9E6DCA20A3241F008CE0C952E17416BD535F6960A3241B0A62471752E174176711B8D8A0A3241D0E53F24592E17419AC420F0850A3241106519624F2E17412D55300A810A3241202B8796452E1741CE19511A7C0A3241D0A679473C2E174117B7D120770A3241E06A2B76332E174144A4DF1E720A324110787A252B2E17414AD8F0146D0A3241D0F3FD54232E174170787A25660A3241203C2C54192E17418C1F632E5F0A32419025E403102E174171567D2E580A3241F0D24D62072E1741A1F83126510A3241F0D6A370FF2D1741754F1E164A0A3241607B832FF82D17419BF606FF420A3241D09BC4A0F12D1741E6839E0D3C0A324170F90FE9EB2D174126C286873B0A3241F0B6D180EB2D1741B00C71ECCB093241F082C0CA942D1741652BF617C4093241C0F1D2CD8D2D1741CCEEC9639B093241B022DB79692D1741943177ED94093241304A7B03622D1741FC6C563D8E093241C0051294592D1741F3A067938709324180FDF675502D17419BC420F080093241209E5EA9462D17412C211F547A0932417032E62E3C2D1741FF088ABF73093241204B5906312D17414EFC18336D09324140575B31252D1741C19F1AAF66093241307B83AF182D174146EA043460093241306EA3810B2D17418495438B5A093241F0839E4D002D17416A91ED3C3E093241A0B437783D2D17414FF38E333E09324190BA498C3D2D174111F2416F4C09324140226C785D2D17413EE8D96C530932411024287E6C2D17414D7424775A0932419016D9CE7A2D1741FC4C848D61093241B0B0E169882D17414C7B83AF6809324130A8354D952D1741C0EC9EDC6F09324120226C78A12D17419F3C2C1477093241306744E9AC2D17417B58A8557E09324180098A9FB72D174186DB68A085093241F074029AC12D17414BEA04F48C09324130AB3ED7CA2D17416F5F078E9409324130E4839ED32D1741FE2A8716BE093241F0E8B7AFF82D1741645DDC46C609324160FF90FEFF2D17414472F94FC6093241B026C206002E1741D266D547360A3241006F8104572E17418838D6A5360A324130166A4D572E1741E3C7981B3D0A324100098A9F5C2E17419A438B8C430A3241404FAF94622E17410CD044F8490A324100560E2D692E174127E4835E500A3241508B6C67702E1741B7C876BE560A324100EFC943782E1741F80FE9175D0A324180C954C1802E174168DE716A630A3241501B0DE0892E1741BD1C02E5670A3241D0DE54DB902E1741FF9F0A556C0A32411092243F982E174143F3F2B9700A324190537E0AA02E1741EF1F2413750A3241805B563CA82E1741E3C10860790A3241502293D3B02E17416D1B0DA07D0A3241B0840DCFB92E1741ADCB75E9830A32412087859FC72E17412A174A0E8A0A324150332E6ED62E1741EEFB070C900A3241B03CFC34E62E1741776C3DE0950A3241800E7FEDF62E1741474F89889B0A32416068E390082F174194779C02A10A3241602BF6171B2F174190E0BCBAA70A324100426202342F1741B8EE1629AE0A3241D0430D1D4E2F17417C794E4AB40A324180BE535A692F174121A52F1BBA0A3241B069FAAB852F1741258FB098BF0A324140983503A32F174190E4F2BFC40A324190F2B050C12F1741C2588C74C80A324140F50231D82F1741C26AD105CC0A3241809D826AEF2F174131083C73CF0A3241B018C7F90630174135624BBCD20A324190FC5ADB1E3017413A0084E0D50A3241F0C9BC0B3730174121D26FDFD80A3241B06F5F874F301741F2D983BADB0A32414079A9476C3017412084E861DE0A3241A0F9C35689301741041416D5E00A3241F0ABE0AEA63017419B3B8F13E30A324190B5224AC43017418734E11CE50A3241C0D09F22E230174106D7A3F0E60A3241107C61320031174172CE8852EC0A3241304ED1915E311741AC69DE91F40A3241C0C42030EF3117419DCDAA0FF90A324170D712F23D32174193CB7FA8FF0A3241409B559FB132174120A7E848080B3241F017265342331741029A08FB130B324100AE47E1313317417E95430B220B324110BE30191E33174101000000020000000001000000FFFFFFFF0000000003, CAST(438886 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (438902, N'{221AD3A4-7B27-476B-8C4C-62479C702FB9}', N'005056144', 1956, N'VIP11539', NULL, N'5056144', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'', N'', N'LOT 2, DISTRICT LOT 92, AND BLOCK 681, NANOOSE DISTRICT, PLAN 11539 EXCEPT, PARTS IN PLANS 22856 AND 40252', N'0068', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2021-05-30T19:27:01.000' AS DateTime), 672, 162, 0xBD0B0000010409000000E04F8D578E523141D07E6ABC60D21C419406F0F69A5231419074931843D21C41E8D9ACDAA252314100AF946531D21C414A94F6E6B4523141F0EB2FBB08D21C4177931804B7523141608FC2F503D21C4152621058B752314110EEEB4003D21C4156B1BF0CCA52314100759318D6D11C416BF7E4C182523141B03767C422D21C41E04F8D578E523141D07E6ABC60D21C4101000000020000000001000000FFFFFFFF0000000003, CAST(438902 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (439156, N'{593D76E2-4E02-4391-8C27-48A8A4BCDBC9}', N'002611392', 860971, N'KAP4079', NULL, N'2611392', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', NULL, NULL, N'LOT 1 DISTRICT LOT 488 OSOYOOS DIVISION YALE DISTRICT PLAN 4079', N'0138', N'0022', N'NO', N'ICIS CADASTRE', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-05-31T13:07:25.000' AS DateTime), 487, 88, 0xBD0B0000010406000000B415FBAB43483641200BB5264614204152AF94252B483641781058B942142041F28E539429483641F09E3C2C6C1420419F01BCA534483641D0EEC9C36D1420410244FA2D42483641604DF30E69142041B415FBAB43483641200BB5264614204101000000020000000001000000FFFFFFFF0000000003, CAST(439156 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (439623, N'{80AECE8F-2C7C-4268-A3F4-06A93FD47B35}', N'006225268', 132129, N'VIP2873', 28094591, N'6225268', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', NULL, NULL, N'LOT 6, SECTION 4, VICTORIA DISTRICT, PLAN 2873', N'0153', N'0005', N'NO', N'ICIS CADASTRE', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:44:20.000' AS DateTime), CAST(N'2021-06-15T13:42:40.000' AS DateTime), 354, 104, 0xBD0B000001040B0000008DE4F29FFB393241505C8F426B7D1741B09465A8FE39324150257582757D17411E386704003A3241F02BD41A7A7D174172F08589073A324100A7E8C8377D174189B0E1C9DD393241B02C439C147D1741669A779CDF3932414074B515197D1741B837F8E2EA393241503FC6DC367D1741265C8F82ED393241603480B73E7D1741C7BAB84DF1393241B04E40134A7D1741DAD781B3F53932418011A53D577D17418DE4F29FFB393241505C8F426B7D174101000000020000000001000000FFFFFFFF0000000003, CAST(439623 AS Numeric(38, 0)), NULL) +GO +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (439873, N'{1E756EF5-8C86-4E81-9806-BD0CEF9DE5BD}', N'009820591', 8838457, N'VIP2BL', NULL, N'9820591', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 9', N'', N'', N'THAT PART OF SECTION 9, VICTORIA DISTRICT BEING PART OF LAKE ROAD SHOWN OUTLINED IN RED ON PLAN 2 BL', N'0122', N'0005', N'NO', N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'COGO', N'0', N'829.7', CAST(N'2016-01-06T20:57:07.000' AS DateTime), CAST(N'2021-06-30T09:04:00.000' AS DateTime), 830, 129, 0xBD0B00000104070000003E136163763932414088635D4E8E1741C7B12E4E6839324120A7E8C8F58D17411161C3B35B393241D05D4B48A38E174112BE30F961393241305E294BCB8E1741A223B9FC6139324180CD3B4ECB8E1741E402094A6C393241C0A7C6CBD48E17413E136163763932414088635D4E8E174101000000020000000001000000FFFFFFFF0000000003, CAST(439873 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (440837, N'{73F9AC9C-A253-4BF9-8CE6-0B5F92E980BD}', N'012123421', 480207, N'KAP690', NULL, N'12123421', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 33', N'', N'', N'THAT PART LOT 33 LYING TO THE NORTH OF THE NORTH BOUNDARY OF THE RIGHT OF WAY OF THE TRANS CANADA HIGHWAY SHOWN ON PLAN H698 SECTION 17 TOWNSHIP 22 RANGE 11 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 690 EXCEPT PLAN EPP13897', N'0163', N'0006', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-09-10T14:40:43.000' AS DateTime), 15219, 536, 0xBD0B000001040B000000F063CCFD8A3B3641C04B37093A892441D93D79F8B93B3641D85F760FAF892441A001BCC5F23B364168A3017CF5892441150DE08D0A3C3641D802094A028A24417C9CA223253C364190C876FEFE8924418FA0F891383C3641080A68620A8A24412E08AC1C4D3C3641E85A423E4F892441B6BFEC3E513C3641100E2DB21A89244176931864513C3641E0E53F2418892441063D9B95353C3641E822DBB921892441F063CCFD8A3B3641C04B37093A89244101000000020000000001000000FFFFFFFF0000000003, CAST(440837 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (441623, N'{FD560BF7-83AE-47F4-9482-6611E2E71862}', N'016201957', 3191432, N'NEP647', 22522091, N'16201957', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'Block 10', NULL, N'LOT 6 BLOCK 10 DISTRICT LOT 2375 KOOTENAY DISTRICT PLAN 647', N'0163', N'0018', N'NO', N'PMBC-OPERATIONS', 1, N'LSA', N'COGO', N'0', N'334.4', CAST(N'2021-05-17T09:39:17.000' AS DateTime), CAST(N'2021-10-28T14:15:24.000' AS DateTime), 334, 91, 0xBD0B000001040500000028F6975D29843A4198B96B09CB1D2041E9839E8D4D843A41701F63EED51D2041366744E94E843A4130F697DDC31D20417ED0B3B92A843A41385986F8B81D204128F6975D29843A4198B96B09CB1D204101000000020000000001000000FFFFFFFF0000000003, CAST(441623 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (441976, N'{7BE23C71-A85F-4AED-B776-0B413A0A0218}', N'011074876', 857105, N'KAP1917', NULL, N'11074876', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Parcel A', N'REM Lot D', NULL, N'PARCEL A (DD 127531F AND PLAN B6070) LOT D DISTRICT LOT 3188 OSOYOOS DIVISION YALE DISTRICT PLAN 1917 EXCEPT PLANS B6875, H18608 AND H911', N'0157', N'0016', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'0', NULL, CAST(N'2021-11-19T10:18:49.000' AS DateTime), CAST(N'2021-11-19T10:59:47.000' AS DateTime), 6660, 359, 0xBD0B000001040800000076F2B0F0903A36418809F96087F22041A0D6346F8D3A3641C059F5F9ABF22041F96C56FDC53A364160A1D674B8F22041AF7BF290063B3641D0DEE0CB00F22041B37BF2F0C33A3641B8D32BA5F6F1204150FC1813B33A3641F89E3CAC2EF22041B2E1E9F5A23A364148B81EC521F2204176F2B0F0903A36418809F96087F2204101000000020000000001000000FFFFFFFF0000000003, CAST(441976 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (441979, N'{650EAA45-7027-4A96-AA89-1E6445FC1C9B}', N'005473896', 7849, N'VIP8843', NULL, N'5473896', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 4', NULL, NULL, N'LOT 4, SECTION 17, RANGE 1, CEDAR DISTRICT, PLAN 8843, EXCEPT PART IN, PLAN VIP65750', N'0163', N'0021', NULL, N'ICIS CADASTRE', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2021-11-19T16:20:41.000' AS DateTime), 1298, 161, 0xBD0B0000010405000000C47F485FFBA33141D0EEC9C330F61B41E49C118528A43141C0D6346F33F61B4191A0F83129A43141F0270F8BD2F51B410366F764EBA3314150B3EA73CEF51B41C47F485FFBA33141D0EEC9C330F61B4101000000020000000001000000FFFFFFFF0000000003, CAST(441979 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (443823, N'{5718D358-4DA1-479F-BA8E-1B2804F6A9FE}', N'005700426', 496129, N'NEP546', 90054452, N'5700426', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 11', N'Block C', N'', N'LOT 11 BLOCK C DISTRICT LOT 208 KOOTENAY DISTRICT PLAN 546', N'0056', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:37.000' AS DateTime), 319, 100, 0xBD0B000001040500000049D8F054252F394150598638C8DE21417AB74062242F3941A82F4CA6D8DE21414D72F92F4E2F3941380C022BC0DE2141AB13D0044C2F39410897FF90B1DE214149D8F054252F394150598638C8DE214101000000020000000001000000FFFFFFFF0000000003, CAST(443823 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (443910, N'{C9B0077A-0323-4759-A947-BC73292AB9A9}', N'001568710', 141241, N'VIP1637', NULL, N'1568710', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'Block 24', N'', N'THAT PART OF LOT 4, BLOCK 24, SECTION 14, VICTORIA DISTRICT, PLAN 1637 INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:03:02.000' AS DateTime), CAST(N'2019-01-05T10:22:09.000' AS DateTime), 375, 78, 0xBD0B00000104060000006609F920E5353241602D219F0D901741263108ECDD35324150F38ED3C28F174153621098CC353241D01E85EBD78F1741F9A06793D235324170C95441249017418516D92EE335324110F697DD0F9017416609F920E5353241602D219F0D90174101000000020000000001000000FFFFFFFF0000000003, CAST(443910 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (444688, N'{EBDA9040-C2F3-4EE3-9759-D5D3E875035F}', N'015206262', 494354, N'NEP2597', NULL, N'15206262', NULL, N'7101634000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'', N'', N'AMENDED LOT 3 (SEE 123296I) DISTRICT LOT 398 KOOTENAY DISTRICT PLAN 2597', N'0163', N'0004', N'NO', N'ICF', 13, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:34:37.000' AS DateTime), 214640, 4383, 0xBD0B0000010421010000CF915CDED12C384150A4DF7E05B52241FD65F7A4D52C384170DE710AF7B42241D444D8B0DC2C3841B8051294DDB42241A6E848CE632D3841F0915CBE06B3224144E17A346A2D3841C8749398A2B22241E1141D891B2D384178711B4D5BB22241365530EA012D38411082E28740B222419A438B6CF82C384150984C9532B222412F4CA62AE82C3841E0C7983B26B22241063D9BF5CD2C3841904AEA0417B2224108A3929AC32C3841A079C7A916B2224195218ED5B42C3841007F6A3C21B22241BC627FF9AA2C384130355E3A29B22241C7BAB80D992C384190E5D0A23EB22241FE99081B8B2C384190C3D3AB4AB22241F3B0502B7C2C3841C0141DC95CB22241FC21FD76732C3841F04F8DD767B22241EAD9AC5A6C2C384108F9A0A7B9B22241D68AFD056B2C384178810485DEB222419028EDCD6A2C384158772D61E7B22241A779C7A9672C384198F7E4A18BB32241C57F489F632C3841A0DFBE0E5AB42241C710C75A612C3841F030082C23B52241B81E85CB602C384160BF7D9D38B52241D2D5560C602C384128A7E8084EB522412AE4837E5E2C3841E05817B76FB52241267E8CF9B52C384130B0726884B5224194B20C51B82C3841601058797DB52241E68C280DBB2C3841503EE8196EB522414A0378EBBD2C384160AA60D45EB522419E703DEAC02C384110E78CA84FB522412C431C0BC42C38415087169940B52241684DF34EC72C3841F05205A331B52241187C61B2CA2C38418028EDCD22B52241642BF637CE2C3841803D0A1714B52241CF915CDED12C384150A4DF7E05B52241068195E3342C384180635DDC5FB32241935CFE03322C3841B898BB567BB322412C2AA9B3302C3841D8C4207088B322413F1CEB222F2C3841E88251C993B32241962A18352D2C3841C8D85F36A5B322410EA3925A2C2C3841680A4665AFB32241FAFFFF3F2C2C384108ADFA5CB7B3224139EF38852C2C3841205F980CC0B32241AC8BDB482E2C3841E066D5E7CCB322414AB6F3FD2E2C384138894120D1B322417A14AEA7302C384100C6DCB5E0B3224176E92651322C3841C0DEE04BEAB322413D2CD45A342C3841901804D6F2B3224167D5E7CA372C3841585452E703B422419AB20C113B2C384108B7D1C013B4224136234A9B3B2C3841C0E00BD317B42241A813D0C43C2C38415839B4481EB422413E7958E8402C3841E8D9AC7A2CB4224195CB7FE8412C3841C0F753A32FB4224146B6F3BD422C3841305A643B36B4224157204171422C3841B04E40D340B42241C6EEC9E3412C3841B8F3FD144CB42241BED32BE5412C38414896214E55B42241701283E0412C384118D8813360B42241BA627F39412C3841503255B06AB42241B4D85F76402C3841907BF2F071B422416E2BF6573E2C384188FC87B47FB422414C158C8A3A2C3841F0915C7E94B42241E2E00B73352C3841D899085BABB42241C2F5289C312C3841684BC887BEB422413D80B7602D2C384100431C6BD5B42241AE8BDB482C2C3841B0779C22DCB42241F063CCFD2A2C384158EC2FFBEAB422417636ABFE292C3841907EFB7AF0B42241F4F44A59282C384110D9CEF7F6B42241E8E2361A262C3841204013A103B52241A8605452242C3841A09DEF670DB5224178BE9F7A212C38410098DDD31AB52241D6D781731F2C3841509D80A624B52241718104051D2C38410852B8DE32B522415005A352192C3841208C4A2A45B52241896CE7DB182C3841A07493D847B5224162E5D042162C384138D6C5AD56B52241EEEBC0F9142C3841784469AF5CB52241B259F519112C3841A867B36A71B52241D6ACFABC0D2C3841F85F76CF81B522414D742477092C3841803D0A9794B52241EAC03983052C384130401321A9B522414E96214E012C38415896218EBFB52241D13B4EB1FD2B3841C0FEB2BBD0B52241917571DBFB2B3841F810C73ADBB52241F90FE917FB2B3841382AA913E1B5224181613295F82B384178BA494CF1B52241867FF720F82B384170AFA434F4B522419EA138C7F72B384130B2832BF7B5224187BE6788F72B3841781B232DFAB522419E9AD464F72B3841A89BB135FDB52241A062AC5CF72B38410816554100B622414A72F96FF72B384198832F4C03B6224192ED7C5FFA2B3841284A7B430DB62241664DF30EFF2B38415888635D0EB6224112E02D500C2C38410010E97711B62241566210781A2C3841B06F5FC714B622414B742497142C3841407E8CF9E7B52241526210D81D2C384138AF94E5BAB522416E5F07AE2F2C3841C081730664B5224164C3D3EB402C3841584E405368B5224181613255422C384178F6069F49B52241F2A7C60B432C3841D0EC9E3C35B5224164AA6094432C384120AAF1D220B52241C910C79A432C3841F8E8B72FFCB4224198F606BF4B2C3841F04603B84EB42241CE2B65F9522C3841E85E988CEBB222410AC58F71502C384170999919CFB22241BC9F1A0F4D2C384108394507D9B22241CA293AD24D2C3841E0AACF15E8B22241C876BE7F4C2C384100B8AFC3F3B222414D27A089442C3841F072685110B32241FE43FAAD3B2C3841308E75F139B32241068195E3342C384180635DDC5FB3224136EF38A5922D384108A7E8087CB52241DDB584BC962D384178D712B273B52241A4EFA7E69A2D38417048BF7D6BB522419C8026229F2D384158575B7163B5224196BB9670A32D38411083C08A5BB52241644469CFA72D3841E0DEE0CB53B52241482EFFE1AC2D3841B889B0214BB52241036822EC9E2D384128FED4F828B52241780B2428BB2D38414882E2C7FCB42241DC3D79B8C92D3841F0FFFFBF1FB52241246519C2EC2D3841A0DD9347E5B4224153F7FEFFF62D384188A189E2D5B42241BA8A45E7012E38411889146EC8B4224162527C600D2E3841F09D2107BDB42241E8C2F852192E3841402734C6B3B4224196990BA5252E384198F630BFACB422414014383C322E384188A33301A8B42241D0E26CFD3E2E384150106E96A5B4224133583ECD4B2E384188801284A5B42241825D2190582E3841D06A48CAA7B42241B8A8A62A652E384198262C64ACB42241C2B7B581712E3841B86CD947B3B42241C810C77A7D2E3841509D8066BCB422414F499D208A2E3841B011A5BD81B42241EEB29EC8932E3841804BC6908AB422416C2C5C1E9D2E384158F9E1AD94B42241DDB7D616A62E3841D8440E09A0B42241B2327DA7AE2E384140AEEA94ACB4224174C838C6B62E384168CCAF42BAB4224102D57869BE2E384180B74002C9B4224143B6F37DF12E384188029AC82CB52241BB011BF9F72E384178B39B5E38B52241F188B8EDFE2E3841704C10CC42B52241E485964E062F3841D0ED29FD4BB522418D9AB10D0E2F3841B08B73E053B522410E6E531C162F3841F015F2665AB52241069E2E6B1E2F384128EB40845FB5224140CE7BEA262F38418862A92E63B5224182A0178A2F2F3841C03E355F65B52241DD5AA139382F384188E6BB1166B522417B029AE8402F3841884AEA4465B52241FD7E6ADC472F384190ADD8DF64B522417A527419562F3841E8B7D89D63B52241B6D12E57642F3841B00CE9BE64B52241724D097C722F3841A8C0024168B522410FBE9F6E802F38414097D91D6EB522414658E8158E2F3841F04EE74A76B52241847F60599B2F384150887EB980B5224162C63821A82F3841481BE5568DB5224159AC7F56B42F384148BA750C9CB522411ECE4AE3BF2F38416095C8BFACB52241FA3CDEB2CA2F384108C3E252BFB5224186B7D1B1D42F3841C8116CA4D3B522415C8033CEDD2F3841D8E3EA8FE9B52241C194A8F7E52F3841D8A905EE00B62241FD088A1FED2F3841F885C99419B62241B5F3FD740B303841B058A8B58CB6224182E2C7781430384100E9B72F02B62241C0C3428D13303841B8FE437AFEB5224104780BC41030384158C42070F4B52241EC8E53540E303841D8CEF793E6B522417212830008303841D07A14AEC7B5224112143F8605303841303108ACBFB5224121EBE23601303841B8C8763EB5B522412241F1A3FA2F3841F00356CEA9B5224110E02DD0F32F3841B0EC9E7C9BB5224172E7FBC9EB2F3841C03099EA85B5224100000020E62F3841E0D022DB74B52241D2DEE06BE42F3841200BB52664B52241082428FEE42F3841186A4D7359B52241C610C77AE52F384150D26FDF43B5224112F241AFE62F3841E0CAA1452EB5224112143FE6E62F3841B84082A218B52241AB7BF210E62F38410040A49F0BB52241218E7551E52F384148B81E4504B5224182FB3A70E12F384170348037F8B422419C923AC1D72F38410020D26FEAB422417C3F35BECC2F3841A8855A13E0B422411361C3D3C22F38417009F9E0CFB4224168226C78C02F3841B842AD29CBB42241F6285CCFB62F3841E07F487FACB42241AEBFEC1EB32F3841C869DE319FB422418DCB7F68AE2F38412887169989B422411183C02AA92F3841989BC42077B4224108F9A007A52F3841C84082226FB42241E6D022FBA02F3841A04E405369B4224194900F9A9F2F384118E10B5368B42241CA54C1489A2F3841185D6D0565B4224112FBCBCE932F384140363C3D64B42241C6C3426D8D2F384158C3D32B67B422415E764F9E7C2F38412897FF507AB42241A6605412732F384138AB3E5785B422414EAF9485642F384148166A8D92B42241FEFFFFBF572F384130E258D79DB422414E1E16AA4A2F3841F899085BA5B422415A17B751452F38418057CAF2A5B42241B41C5A443F2F3841C85B20C1A3B42241C439236A392F3841803E575B9EB422410A68222C312F3841C80968E294B422417ED93D59272F384108B150AB86B422415E07CED91B2F384180EB517873B4224122F46CB6152F38413080B7C06AB422414F158C0A022F3841D83B4ED154B4224148BF7D5DF42E3841906E120348B42241DCB5845CEB2E3841B09CA22339B4224150621018E62E384140BA494C2CB42241E8043431E52E3841C8DEE04B27B422418EB96BA9E42E384178DE71CA1AB42241789318C4E42E3841D0490C4204B42241127C61D2E52E38415875029AF3B322411CE25837E62E3841489FABADEBB322416C2BF6F7E52E384188BDC1D7E6B32241EBFBA911E32E3841504BC8C7DCB3224158302A69E12E3841E83B4E51D9B32241FA87F49BDB2E3841E069DE71D1B32241403EE8D9D42E3841A0E76A6BC5B322415C984C95CD2E384128C9E53FB5B32241B8AF0347C82E384138F1630CA9B3224156423E08BE2E38414003780B97B322415DBA49ECB12E3841C87493187CB3224196FF90BEAB2E38413010E9776AB32241E1E00B33A32E3841D8627F5956B3224178B04195A22E384198B6E0EF54B32241188E5F03A22E3841B800C97253B32241BBE1FE7DA12E38414000C9E351B32241EEECAB05A12E38410048844450B322411B37E59AA02E38413088AF964EB3224196081B3EA02E3841D0BE0EDC4CB322416FF90FE99C2E3841F8C1862746B32241365EBA89962E3841A05E290B34B32241F641C272952E38413056E62532B32241CC544767942E384198FD6A2730B32241B85DDB67932E3841C88BCD102EB3224148910975922E3841605E31E32BB32241D045568F912E3841405BC69F29B322413BAB3EB7902E3841304BC84727B32241605DDC268D2E38414859867822B32241F15A429E842E384128A9131013B32241CECCCCAC7E2E384118371AC004B3224108F9A0C7782E3841B8A8A40EF9B222410C83C0CA762E3841D812F281F5B222416A3BDF2F6B2E384108CE19D1DEB2224128F697BD662E384160DC4643D8B222410DF241AF622E3841F044D830D4B22241D3CCCCCC552E384198416025C7B22241CECCCC4C4D2E384158C807FDBFB22241663BDF6F3D2E384168F2B050B6B22241BD1726D3272E3841D87D1D38A9B22241AE506BDA1A2E3841409621CEA1B2224164764F7E142E3841180DE02DA0B22241DA68002F0E2E3841D895B24CA0B22241B0EA7395062E3841C0F5285CA3B222410066F7C4F82D384118AE47E1ABB22241CA6D34E0F42D3841C0CDAACFADB22241703D0AB7F22D384120B7D100AFB222415096210EE92D38417829CB50B1B22241AAA44EE0E12D384128FF217DAFB22241E22D9020D72D3841A8726851ACB22241508D970ED22D384150863896AFB22241A52C437CCC2D3841887CD0F3B3B22241790B2488B62D384190218E75D6B22241A6605412662D3841F82A87D6EEB32241C54B3729542D384138AD691EF5B42241BEE3147D242D384130F6971DA2B52241FEBB05F2322D3841A88BDBE8A3B52241D400DEC27A2D384138D5E76AB3B522419C89B0017D2D384150D1919CADB522417CFB3A507F2D38414872F9CFA7B522416E666606832D384180703DCA9EB5224107CE19D1862D384148AF94E595B522414C7B83AF8A2D3841B02E6E238DB522416C1283A08E2D38411081958384B5224136EF38A5922D384108A7E8087CB522410300000002000000000224000000027400000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(444688 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (445513, N'{6F913D06-6CCB-482A-B778-D839F45C3B94}', N'001592653', 141191, N'VIP1291', NULL, N'1592653', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 15', N'Block 8', NULL, N'THAT PART OF LOT 15, BLOCK 8, SECTION 9, ESQUIMALT DISTRICT, PLAN 1291 INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0154', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:46:55.000' AS DateTime), CAST(N'2020-05-13T16:42:44.000' AS DateTime), 438, 113, 0xBD0B000001040C00000021D26F7F902B3241D0E4D0A2ED9A174168F7E421902B32417025E403F99A17411C85EB51962B3241B0DD9387109B1741D200DE02C02B32410013F241DC9A17416F348017C02B3241800B2428DC9A1741579FABADBC2B3241F03A70CEB19A1741F17A4AA3B52B324120D3E13ABF9A174106F84572AE2B3241D06D484ECB9A1741693EBE1EA72B32419091B601D69A17416E42E7AC9F2B3241E0AF084FDF9A1741B75B0621982B324110ABE830E79A174121D26F7F902B3241D0E4D0A2ED9A174101000000020000000001000000FFFFFFFF0000000003, CAST(445513 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (446124, N'{58A7D17D-4AE9-4D8F-9918-8AB98D57D9C8}', N'009169644', 141802, N'VIP306A', 90047234, N'9169644', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', NULL, N'Lot 2', N'Block Z', N'', N'LOT 2, BLOCK Z, SECTION 24, VICTORIA DISTRICT, PLAN 306A', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:32:01.000' AS DateTime), CAST(N'2019-01-05T10:56:01.000' AS DateTime), 317, 146, 0xBD0B00000104060000004903786B8C383241C09C11A54E9617410FD044589A38324160C1A8241F961741E0718A2EA0383241409A771CD6951741816132556F3832410003098AA796174165BC74137E38324130E561217C9617414903786B8C383241C09C11A54E96174101000000020000000001000000FFFFFFFF0000000003, CAST(446124 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (446408, N'{CCEF405D-C8C8-4ACA-9802-CE9D57219BAB}', N'014042231', 1075522, N'NWP4869', NULL, N'14042231', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Parcel B', N'', N'', N'PARCEL "B" (EXPLANATORY PLAN 13904) OF LOTS 3 AND 4 EXCEPT: PART ON SRW PLAN 28393 DISTRICT LOT 366 GROUP 2 AND OF SECTION 12 TOWNSHIP 20 NEW WESTMINSTER DISTRICT PLAN 4869', N'0002', N'0009', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-01-31T18:43:33.000' AS DateTime), 3625, 346, 0xBD0B0000010410000000F4C9C302EA993341E0DF2D10F24F1C41986E1203E1993341A0C64BB7D64F1C415EEE5A22D8993341E01114BFBA4F1C4133772D61CF993341B079C7299E4F1C4100F775C0C6993341604772F9804F1C41BB64AA40BE99334120C52030634F1C41285C8FE2B599334190F2B0D0444F1C41F241CFA6AD993341808863DD254F1C41FF43FA8DA5993341D03D7958064F1C410EC7BA989D993341905CFE43E64E1C415C4BC8C795993341A02E6EA3C54E1C41B21C5A448C993341F061A1569C4E1C4163A1D6D4C699334100780BA48B501C41A52C435CFC993341E0D022DB26501C413A80B720F3993341E0A679C70C501C41F4C9C302EA993341E0DF2D10F24F1C4101000000020000000001000000FFFFFFFF0000000003, CAST(446408 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (446688, N'{1A640E64-0ECE-405B-AC0C-E9FFCA86904C}', N'001042173', 141978, N'VIP37205', NULL, N'1042173', NULL, NULL, N'ACTIVE', N'AIR SPACE', N'MUNICIPAL', NULL, N'Lot 1', N'', N'', N'AIR SPACE PARCEL 1 SECTION 3 VICTORIA DISTRICT AIR SPACE PLAN 37205', N'0153', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T21:00:37.000' AS DateTime), CAST(N'2019-01-05T11:04:35.000' AS DateTime), 84, 46, 0xBD0B00000104050000005C643BFF453E3241A03845C75E671741D5E76AEB463E3241800D4FAFA7671741D188D27E4B3E3241108104C5A66717414E05A3924A3E3241101B2FDD5D6717415C643BFF453E3241A03845C75E67174101000000020000000001000000FFFFFFFF0000000003, CAST(446688 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (448204, N'{2F06DFDB-1C6C-4D50-882A-02CBC31B1D73}', N'008803277', 5461754, N'VIP584', NULL, N'8803277', NULL, N'110335', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'Block 48', NULL, N'LOT 4, BLOCK 48, SECTION 1, NANAIMO DISTRICT, PLAN 584, EXCEPT PART IN PLAN 15285 AND 48002', N'0084', N'0021', NULL, N'PMBC-COMPILATION', 0, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', N'607.8', CAST(N'2019-04-04T08:45:35.000' AS DateTime), CAST(N'2021-02-18T12:00:10.000' AS DateTime), 608, 103, 0xBD0B00000104060000007C734634AA8C3141806DC5FECD4D1C41FA97DD13968C314100014D04D04D1C41F8CBEE69918C3141F0DE4F8D364E1C41848EE452908C3141006F81844E4E1C41CE915CDEA48C3141708EE472424E1C417C734634AA8C3141806DC5FECD4D1C4101000000020000000001000000FFFFFFFF0000000003, CAST(448204 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (448598, N'{83746780-EC8A-4CB0-8190-D6BE5E6EB6C8}', N'005767849', 855822, N'KAP24935', NULL, N'5767849', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot B', N'', N'', N'LOT B DISTRICT LOT 3188 OSOYOOS DIVISION YALE DISTRICT PLAN 24935 EXCEPT PLAN KAP65558', N'0157', N'0016', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-06T13:28:59.000' AS DateTime), 19430, 749, 0xBD0B0000010405000000923177CD9736364128B9FC872AEE2041F50DBED0C0373641685374E45CEE2041EC0434D1DD37364160F4DBD7E3ED2041C19F1AEF9D363641B8CD1991ADED2041923177CD9736364128B9FC872AEE204101000000020000000001000000FFFFFFFF0000000003, CAST(448598 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (448630, N'{DB34ED58-4044-4D60-B2F6-51406CCCE9A9}', N'017807719', 3, N'NO_PLAN', NULL, N'17807719', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 8271', N'', N'', N'THAT PART OF DISTRICT LOT 8271 KOOTENAY DISTRICT LYING TO THE EAST OF PART INCLUDED IN RW PLAN 8885 EXCEPT PLAN NEP88138', N'0163', N'0018', N'NO', N'ICF', 19, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:18:53.000' AS DateTime), 12403, 614, 0xBD0B000001040700000006C58F91A5353B41C0BB9610BC1F20411D5A649B70353B41486C78BAAB1F2041C7E53F8463353B4128B29DEF4C2020414BB6F35D5E353B41780C716C7320204132B29D2FE8353B41E86C563D322020416209F96062363B41B803E74CF61F204106C58F91A5353B41C0BB9610BC1F204101000000020000000001000000FFFFFFFF0000000003, CAST(448630 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (449030, N'{27E89177-3D91-4180-B514-A6C58023C9B8}', N'014700484', 464366, N'NEP4956', 8828811, N'14700484', NULL, N'7044860500', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 4596 KOOTENAY DISTRICT PLAN 4956', N'0163', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:17:47.000' AS DateTime), 69581, 1122, 0xBD0B0000010405000000105839B403693A41285C8F4261BC22416CF7E44194693A4160643BDF9DBC224134D6C54DDF693A4128C286E7D1B92241381AC07BFB683A41B852966172B92241105839B403693A41285C8F4261BC224101000000020000000001000000FFFFFFFF0000000003, CAST(449030 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (449501, N'{987D73C7-62AE-4051-90D2-B451385BE14E}', N'013455991', 464113, N'NEP7960', NULL, N'13455991', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot A', N'', N'', N'LOT A DISTRICT LOT 2594 KOOTENAY DISTRICT PLAN 7960 EXCEPT PLAN NEP63365', N'0163', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:30:26.000' AS DateTime), 43402, 981, 0xBD0B000001040E0000005717B73127893A4190D71272CB092141EAAE252427893A41F860C3D3C4092141BE749358C9873A41A01D38275F092141B6C876BEB4873A41C030992A59092141FACBEE898C873A4120EC2F3B4D0921416A810425F7873A41F064AA60660A2141760B24881A883A416019E2D8AD0A214156A8354D6A883A41B8BAB8CDF40A21412A97FFF06D883A41583EE899EC0A21418E5CFE8380883A41B0726851DA0A21419C4C156CC8883A41F8CF44D8800A2141CAE53F64C4883A41D042ADE9730A21415C5BB1DFF6883A41D88C282D230A21415717B73127893A4190D71272CB09214101000000020000000001000000FFFFFFFF0000000003, CAST(449501 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (449937, N'{EA1CBC0D-34CB-4661-AD3E-325E3F493ADA}', N'008455023', 3, N'NO_PLAN', NULL, N'8455023', NULL, N'fmbp0038', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'SW4', N'20', N'23,9', N'THE SOUTH WEST 1/4 OF SECTION 20 TOWNSHIP 23 RANGE 9 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLAN KAP58137', N'0163', N'0006', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:23:01.000' AS DateTime), 486002, 2970, 0xBD0B000001044B000000C3C11746487F3641E08B4A6A2FE5244114BE3099477F3641304772791CE524415227A0E94B7F364158029AC8FBE42441E2A59BC4507F3641B0C8763EEAE42441AAA44E005A7F364110E02D90DAE424414F742417667F3641F887F41BCDE424417524975F737F3641608FC275C4E4244120F46C967F7F364138DF4FCDC6E424413F7958E8857F3641C0D32BA5C1E42441AB57CA728B7F3641A84B3709B7E4244176832F8C8E7F364140CD3B8EA9E42441D55F766F8F7F3641386F81849BE424412DDD24668F7F364118492E3F90E424413CE8D90C8C7F3641E81B7C217EE42441C3F528FC8C7F3641F0AB1C5A6FE424412C772DC1907F36412881958345E42441E0B5849C977F3641789ECD2A1EE424416F787AA5797F3641A8C420F017E42441BEC117A6817F3641381361C3E3E32441ADEA73958E7F3641E80209CAADE324412F992A589A7F3641F073B5557BE324411FDBF9BE9C7F3641E8482E3F37E32441962A1875A17F3641D066D5E719E32441280F0B75A57F3641684F1ED607E32441DBACFA5CA97F364128AD691ED9E224415617B731B27F3641C8BCE3D4A7E22441C5EC9E7CB77F3641781A2F5D90E22441D80968A2B07F36415016D94E6DE2244100F77520D97E364190A0F83146E224417B14AE07407D3641D8D781F3FBE12441674DF36E2A7D364150E4831E9DE32441ACBFEC5E287D364110B37BF2C4E32441E0B5843C277D364158764FDEDAE3244137EF38C5197D3641D864AAA0DFE42441B47BF2B0177D364150F2B0D007E52441BCFC8794167D364188A982511DE52441B525E483037D3641F09D5EA988E6244187855A33FE7C364180EE5A02EEE624419FB43798EC7C364180B1BFAC3DE8244176711B6D547F3641C04B3789B0E82441887CD013567F3641484D84CDA8E82441D43D7918557F364150014D0483E824411A3FC69C547F364130F6971D67E82441EB51B8FE517F3641B87BF2305BE82441FC3A708E4B7F3641F839928B4AE824416F3480174A7F364180B0E1293EE82441BB847C904A7F3641A04AEAC430E82441E8D0223B4C7F3641388D972E28E82441B88D06F0537F3641782D21DF1EE82441682BF637577F3641B844D87014E82441E07A146E5B7F36417891ED3C01E824412C211FB45F7F3641E8A67947DBE7244140AD697E637F3641A00C716C99E724419A081B3E677F3641F095B24C52E72441E795B24C677F3641903A018D45E72441CD66D587617F3641C015FB8B18E72441878EE4925B7F364118DBF97EEEE62441607FD99D4E7F3641007A36ABBCE62441C4E53F04487F3641B833A2F490E6244140A4DF5E447F364178A301FC5FE62441BE749398457F3641B06E12C340E624410188F4DB497F364190F2B0D026E6244180FB3A504E7F3641200BB5A616E62441FCD47889587F3641483A928BF1E52441E4361AE05A7F3641C8A8A40EE9E5244104F016A8637F3641E0A44EC0CEE5244168BC7473647F364120A08930C2E5244102D57849657F3641D89C11E5BAE52441E3361A80637F3641280DE0ADADE5244193B96B895E7F3641900B24689DE5244104F01668577F36413874B5D58BE52441E78C284D527F364130B9FCC77DE524413E575B714E7F36413095D4C96DE524415639B428487F364190F90FE948E52441C3C11746487F3641E08B4A6A2FE5244101000000020000000001000000FFFFFFFF0000000003, CAST(449937 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (450596, N'{362C1DA5-9BD3-4AB4-AE42-8A5874F83B37}', N'012429554', 629004, N'PGP12116', NULL, N'12429554', NULL, N'005469.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 5', N'Block 22', N'', N'LOT 5 BLOCK 22 SECTION 32 TOWNSHIP 83 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT PLAN 12116', N'0038', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:29:41.000' AS DateTime), 684, 121, 0xBD0B00000104050000003190A0D8F62A3441D0915CBE893C3341AFE1E955242B3441645227208D3C3341B81E856B252B3441486744297E3C33416D567DEEF72A34413CC286C77A3C33413190A0D8F62A3441D0915CBE893C334101000000020000000001000000FFFFFFFF0000000003, CAST(450596 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (450855, N'{71696BEA-0452-4740-947C-BE9C811C5E59}', N'015757684', 472336, N'NEP1499', NULL, N'15757684', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 25', N'', N'', N'THAT PART OF LOT 25 DISTRICT LOT 9953 KOOTENAY DISTRICT PLAN 1499 INCLUDED IN PLAN R110', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:43.000' AS DateTime), 171, 77, 0xBD0B00000104050000006029CB301CDE394170545227947E1E412CC286C71FDE394110992A98857E1E4112D0449807DE394130B6F37D287E1E41F8B9DA0A04DE394110341136377E1E416029CB301CDE394170545227947E1E4101000000020000000001000000FFFFFFFF0000000003, CAST(450855 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (452143, N'{C82E50CF-F7A7-4D11-B3CB-3316EA1EC833}', N'000016373', 646724, N'VIP2024', NULL, N'16373', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'Block G', N'', N'THAT PART OF LOT 1, BLOCK G, DISTRICT LOT 257 ALBERNI DISTRICT, PLAN 2024, SHOWN COLOURED RED ON PLAN 148 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:38.000' AS DateTime), 9777, 803, 0xBD0B0000010417000000F84A5946577D3041506B9AF7AF6A1D41683BDF8F7D7D3041A05AD3BCB26A1D41F0F44AB9937D3041F0F97E6A426A1D411A2653A5937D3041F038D64586691D415CC4DC11917D3041805C7FCC90691D41667D7B8B8E7D3041007868859B691D4192916C128C7D3041506D8D6FA6691D4103FEEBA6897D30416077E589B1691D4117773449877D3041103D63D3BC691D41B6627FF9847D304170F0F44AC8691D411B73D7F25D7D3041C02B65198E6A1D41F84A5946577D3041506B9AF7AF6A1D415E5DDC064E7B3041A064AA6093731D4123FDF695027C3041A0779C2261711D415D1058B9027C30418033A234C6701D418838D6453B7B3041505DDC4633731D4185635D3C3A7B3041A06D348036731D414E6B9A97397B3041603D0A57A5731D41C27D1D78397B304160B4C876BA731D41F263CC7D3A7B3041106822ECD1731D4180AEB6023E7B3041D0B88D86C5731D41B42E6EC3437B304110F2414FB3731D415E5DDC064E7B3041A064AA6093731D41020000000200000000020C00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(452143 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (452149, N'{9D080619-3B2B-417A-96D6-F8C0D2189D17}', N'000016918', 3, N'NO_PLAN', NULL, N'16918', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 28', N'', N'', N'THAT PART OF DISTRICT LOT 28, ALBERNI DISTRICT, INCLUDED IN AND LYING NORTH OF PLAN 148 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:39.000' AS DateTime), 10763, 546, 0xBD0B000001041F000000DF0209CA41863041504AEA84AF491D4122EBE2763C863041104A7B83B5491D41924AEAA43286304140A91350C1491D41FD088ADF288630418014AEC7CD491D4152840DAF1F86304180A2B437DA491D41B6E904790F863041001362DBF1491D41ED03D86FFF85304100A440560B4A1D41F09ADE96EF853041508D00A3264A1D41616A66F1DF853041E0E7F0BB434A1D415271B282D085304190DC009B624A1D410144FA4DC1853041E0EBC039834A1D41150DE08DD3853041C014AE47854A1D419BB20CF1D985304190923A01864A1D410F022B47E0853041903480B7864A1D419CA22379ED853041D0C56D34884A1D41BEE3145D028630417072F98F8A4A1D41B8408202A3863041307CF2B09C4A1D41FE87F4FBA2863041E0FBA9F1E5491D4157EC2FFBA286304180FE43FAD2491D413F3EE8F9A28630416029CB90AD491D41B56B09F9A2863041A02D219F94491D41FE1873F7A2863041B011A53D69491D41FE21FDF6A2863041A038D64556491D413ECF661589863041904160E56C491D41A133A23464863041402EFF218D491D412296006F5E863041E0556B4592491D412270D7AC58863041B055BCA597491D4115E84EEE52863041E0B1CC429D491D413B0B8F334D863041B046751CA3491D4163CCBF7C4786304170498D32A9491D41DF0209CA41863041504AEA84AF491D4101000000020000000001000000FFFFFFFF0000000003, CAST(452149 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (455002, N'{BC907D16-7A56-42D6-913A-E9AE19C4CD53}', N'014413027', 1185278, N'NWP19544', NULL, N'14413027', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-02T00:00:00.000' AS DateTime), N'REM Lot 9', N'Block H', N'', N'LOT 9, EXCEPT: PART ON SRW PLAN 45999A BLOCK "H" DISTRICT LOT 139 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 19544', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:35:45.000' AS DateTime), 509, 92, 0xBD0B0000010405000000C5293A729B8A324130302A298CEB1B4185416065988A324180855AD3D4EB1B41E6482E5FB58A324180C3D32BD9EB1B4150B81E25B68A324110E7FB2990EB1B41C5293A729B8A324130302A298CEB1B4101000000020000000001000000FFFFFFFF0000000003, CAST(455002 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (457263, N'{9496FCA3-CC6D-46BF-90B2-57F63BB7C436}', N'013772341', 1308624, N'NWP2716', NULL, N'13772341', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-02T00:00:00.000' AS DateTime), N'REM Lot 29', N'', N'', N'LOT 29 EXCEPT: FIRSTLY: SOUTHERLY 18.5 FEET (EXPLANATORY PLAN 9826), SECONDLY: PART ON SRW PLAN 25898 DISTRICT LOT 1 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 2716', N'0025', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:20:36.000' AS DateTime), 321, 74, 0xBD0B00000104050000006D8A8E84BBBA324160FE437AD9EB1C41EA043431AABA3241F0156ACD0EEC1C4138D6C50DBCBA324130AB3ED736EC1C41CA073D7BC5BA324150CDAACFEFEB1C416D8A8E84BBBA324160FE437AD9EB1C4101000000020000000001000000FFFFFFFF0000000003, CAST(457263 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (457318, N'{D55D5503-28A0-488C-AF81-0FACA7A50D25}', N'002344700', 1308956, N'NWP84', NULL, N'2344700', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'REM Lot 4', N'Block 30', N'', N'LOT 4, EXCEPT PART IN PLAN LMP18430 BLOCK 30 DISTRICT LOT 203 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 84', N'0109', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:21:03.000' AS DateTime), 214, 59, 0xBD0B00000104050000001DF46C365CBC3241E05452A7D1461D41871F632E52BC324120287E8CFF461D41303333F35CBC324140166A4D22471D419D703D4A67BC3241F067226CF5461D411DF46C365CBC3241E05452A7D1461D4101000000020000000001000000FFFFFFFF0000000003, CAST(457318 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (459389, N'{450BDCB3-0CC8-4A4C-94AA-6E3497A7D7CF}', N'009509585', 862874, N'KAP11546', NULL, N'9509585', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot B', N'', N'', N'LOT B DISTRICT LOT 337 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 11546', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:31:33.000' AS DateTime), 39018, 792, 0xBD0B00000104060000001DC9E5BF5F64364160EC2F3B9AB01E411951DADB8A633641F0C039A361B01E41CC10C7DA89633641A06A2B769EB01E410EA392BA7E633641A094D4893BB31E4144AD699E536436412053052374B31E411DC9E5BF5F64364160EC2F3B9AB01E4101000000020000000001000000FFFFFFFF0000000003, CAST(459389 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (459418, N'{1C1FF526-52F7-4AE7-BC0F-B1A7ADFB4E21}', N'002778734', 865725, N'KAP6097', NULL, N'2778734', NULL, N'72400480275', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot A', NULL, NULL, N'LOT A DISTRICT LOT 367 KAMLOOPS DIVISION YALE DISTRICT PLAN 6097 EXCEPT PLAN KAP79729', N'0163', N'0028', N'NO', N'ICF', 6, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-01-28T14:30:20.000' AS DateTime), 5796, 430, 0xBD0B000001040D000000F87E6ABC8CD5344110EA04346AE12341A18A31898AD5344198BFFC4F64E123417EAE8B7D88D53441106BF3335EE12341609DDC9A86D5344100540FE457E12341CB366CE284D53441501B9A6451E1234119A8655583D53441D0B0FDB94AE123415EA1D6F481D534410055C1E843E12341C07D1D582BD5344118AE47A135E123410F58395459D534410025064196E123416FCE88726FD53441D0B35975C3E123410288F45B69D53441D8BE0EDC5AE22341A3ABAD3881D53441B8BAB80D5FE22341F87E6ABC8CD5344110EA04346AE1234101000000020000000001000000FFFFFFFF0000000003, CAST(459418 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (460181, N'{6A4F4986-EDF7-4356-965D-DDB3FE7E5D28}', N'007568827', 1080757, N'NWP841', NULL, N'7568827', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 12', NULL, NULL, N'LOT 12, EXCEPT: PART ON PLAN 52635 DISTRICT LOT 1 GROUP 3 NEW WESTMINSTER DISTRICT PLAN 841', N'0081', N'0009', N'NO', N'ICIS CADASTRE', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-02-15T14:57:20.000' AS DateTime), 1916, 177, 0xBD0B00000104050000009B438B2C6F633341A08F3177275C1C417468912D9B633341D06F5F075D5C1C413A80B700A5633341207D3FB5D25B1C4154FC18737C633341A02D90A0705B1C419B438B2C6F633341A08F3177275C1C4101000000020000000001000000FFFFFFFF0000000003, CAST(460181 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (461210, N'{1D4DB017-1BCA-481E-9C3E-88052279AAB2}', N'023963808', 3192045, N'KAP59863', NULL, N'23963808', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1997-11-28T00:00:00.000' AS DateTime), N'Parcel B', N'', N'', N'PARCEL B DISTRICT LOTS 4701 AND 4702 OSOYOOS DIVISION YALE DISTRICT PLAN KAP59863', N'0138', N'0022', N'NO', N'PMBC-COMPILATION', 1, N'DATACOMPILATION', N'COGO', N'0', N'7925', CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-06-23T21:04:06.000' AS DateTime), 7980, 531, 0xBD0B00000104190000001EB9FCA75C4836415086381621102041E09C11654B4836419033A2F4E10E2041B66B09B91F4836415805A392890E2041A0D634AF0C483641306C783A630E2041F09E3C8C0048364170976E12670E20415817B711EA4736410876E05C6E0E2041ECC1AB21F147364110116C34850E2041217C0814F847364198B327309C0E2041C7EB9EE8FE47364120027A4FB30E2041537D419F05483641F0B3C891CA0E20412565C3370C483641C89578F6E10E20418CA0F8B1124836417091ED7CF90E20411C06C0C61348364130D2E4FCFD0E204188BA72DA14483641B85AE57D020F20413F7E10ED154836415021EEFF060F2041ED1199FE16483641D81BFE820B0F204186360C0F1848364140401407100F20413DAD691E19483641A0832F8C140F204110A5BDA14D48364120A089B0DE0F20412C9DE6585048364148D2288FE90F204196B19EFA524836413018CC82F40F2041EC3BBD86554836419847CA8AFF0F204161E31AFD57483641D8FD78A60A102041449F915D5A483641E0A52CD5151020411EB9FCA75C483641508638162110204101000000020000000001000000FFFFFFFF0000000003, CAST(461210 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (462583, N'{8F8A4340-6349-41EE-9153-95FE168A2153}', N'001674951', 3191875, N'VIP1215OS', NULL, N'1674951', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, NULL, NULL, NULL, N'THAT PART OF THE UNNUMBERED PORTION OF MALAHAT DISTRICT SHOWN COLOURED RED ON PLAN 1215 OS LYING BETWEEN THE WESTERLY BOUNDARY OF LOT 7, BLOCK 52, PLAN 218B AND THE SOUTHERLY BOUNDARY OF LOT 6, BLOCK 49 OF SAID PLAN 218B EXCEPT THOSE PARTS THEREOF INCLUDED WITHIN THE BOUNDARIES OF LOT 7, BLOCK 51 OF SAID PLAN 218B. THE LAND THE TITLE TO WHICH IS HEREBY REGISTERED CONTAINING 5.96 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 6, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:38:20.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 23184, 1676, 0xBD0B0000010432000000BC42ADE946EA3141804DF38E0C8818414F0375B14DEA314120E3FD1ADB87184154EA9AE154EA3141C0F31B95AA871841C61715785CEA3141C067100B7B8718415DA6BC7264EA3141D0BA568A4C87184180474ECF6CEA3141C0291F201F871841D6E76A8B75EA3141F0F44AD9F2861841E010AD4F7EEA314140FE3617C98618414F7CBA6887EA31414042647BA08618412A3D2AD490EA3141906D94107986184135947D8F9AEA3141906038E152861841C9982098A4EA3141F06E6DF72D861841D7E76AEBAEEA3141D0ACFA5C0A8618413AD6C52DDBEA3141D0DD93875E851841A857CAF23DEB3141606744E9DE83184110C7BA9852EB3141400C02AB8E831841D4DEE0CB94EB3141F0D6A3708D821841CE4D62F0A8EB3141C037F8423E8218413D136143A9EB3141F011143FF4811841DF0209CAB9EB3141F0A292BAF5811841DFE9581CCAEB3141E020680BA98118411D23C897D9EB3141600FCC9F59811841CB1F0235E8EB314180CA589D0781184158861BEDF5EB3141B083E22AB3801841477995B902EC314160DF64705C80184168AA60940EEC31417006F09603801841C17493980FEC314180613255EC7E18416CF90FE9FAEB31416085EB51927F1841BC7897F6EBEB3141A0D6E2790A801841CFAB8019DBEB314180F091807E80184122DDF763C8EB314140DCEFE8ED801841357826EAB3EB3141B0C2ED3A588118411B4F1DC29DEB3141304CF803BD81184159D3BC0386EB3141001973D71B8218411AC05B009CEA3141B05B20C1AD8518412C86377394EA314120625EF4C8851841AFAF37088DEA3141002B57BCE4851841234A13C085EA3141C0285D1601861841B2067E9B7EEA314130BBB4FF1D8618412A29289B77EA3141A06E94753B861841C476BEBF70EA3141304625755986184182B2A81164EA314120632FBE938618414C9658EF57EA314170EBE8DBCF8618412CFA075D4CEA3141600D62B90D871841AA8FBE5E41EA3141C0060F414D871841607A50F836EA314160A5CF5C8E871841B1FA5C2D2DEA314160FDF6F5D087184166226CD80DEA314170984C95C2881841D79AE69D2EEA3141805DDCC6C7881841BC42ADE946EA3141804DF38E0C88184101000000020000000001000000FFFFFFFF0000000003, CAST(462583 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (464741, N'{D7CEC814-3399-45EA-8A22-BA4B8DC8D637}', N'014825155', 3, N'NO_PLAN', 90054685, N'14825155', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'SW4', N'1142', N'', N'BLOCK C OF THE FRACTIONAL SOUTH WEST 1/4 OF DISTRICT LOT 1142 PEACE RIVER DISTRICT EXCEPT PLAN 16965', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2021-05-20T15:38:04.000' AS DateTime), 41588, 889, 0xBD0B0000010430000000182FDD449AEE3241C03D79184326324112D044189EEE3241740B24284A2632413DFAED2BA2EE3241003B700E512632412385EB91A6EE32410CBE30B957263241F27C3F55ABEE32413C1CEB225E26324170128360B0EE32415CEC2F5B642632410322FD96B5EE32416C984C756A2632410CAC1CDABAEE3241EC5C6D8570263241497B830FC0EE3241E4BE0E9C76263241F1C9C362C5EE324138E258977C263241D1DEE0CBCAEE324180B7408282263241AFB6621FD0EE3241B09AE67D882632419E3C2C34D5EE32417CB0E1A98E263241112DB2FDD9EE32412CA0891095263241D93D7998DEEE3241403789A19B263241EC8E5314E3EE3241B0F83146A2263241ADBFEC7EE7EE3241DC4603F8A82632414282E2E7EBEE324130B9FCA7AF263241784F1E56F0EE3241A0FC8754B626324157D3BCC3F4EE324124530503BD263241C242AD29F9EE3241D498BBB6C32632418AD2DE80FDEE32416CB3EA73CA263241AEBFECBE01EF32411CC05B40D12632413EA4DFDE05EF32413408AC1CD8263241E7B7AFC309EF3241245A641BDF263241400AD7630DEF324150401341E62632411EB072E810EF3241BC86A777ED263241E9D9AC7A14EF324150AF94A5F4263241088A1F4318EF324128F46CB6FB263241BEC117461CEF324158EF38A502273241FB285C6F20EF3241B0490C8209273241CBFEB2BB24EF324130CA324410273241CE66D52729EF32412C4547F216273241954C15AC2DEF3241EC3A708E1D2732416A226C3832EF32412487161924273241684469CF79EF32410424285E1A273241F6E461017BEF32413473D7D2FC263241F3B0504B7CEF324170F90FE9DC2632411A6A4DF37CEF3241D8B9DAAACC2632419CC420B083EF3241DCAE25E4252632412FC4B1CE8CEE324130BB27AF18263241068A1FE386EE324108098A5F18263241F74A59C689EE32411C04568E1E2632417B9318E48CEE3241F4A9F1F22526324177BE9FDA8FEE32415C39B4682D263241C042AD0993EE3241F4770BC4342632414550FC9896EE3241B88D06F03B263241182FDD449AEE3241C03D79184326324101000000020000000001000000FFFFFFFF0000000003, CAST(464741 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (464834, N'{6C3BB38F-E82E-4AD6-9BD7-AD007B0D10A4}', N'001635506', 141434, N'VIP1193', NULL, N'1635506', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 17', N'Block 3', N'', N'THAT PART OF LOT 17, BLOCK 3, SECTION 9, METCHOSIN DISTRICT, PLAN 1193 INCLUDED WITHIN THE AREA SHOWN OUTLINED IN RED ON PLAN 2050 OS', N'0079', N'0005', N'NO', N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:25:03.000' AS DateTime), CAST(N'2021-05-30T19:21:25.000' AS DateTime), 3162, 301, 0xBD0B0000010406000000B64082A210093241A0A60AC6CCFF1641F01648B010093241A0A0F831CDFF164131C4B1EE1E093241E041CFE63C0017411C7C61B25B093241706CE7FBA3FE16410C83C06A4D093241E0BB051234FE1641B64082A210093241A0A60AC6CCFF164101000000020000000001000000FFFFFFFF0000000003, CAST(464834 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (465421, N'{11E40885-A16E-4835-A129-8B11DD9BC19C}', N'017503736', 7935637, N'KAP45951', NULL, N'17503736', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1991-10-22T00:00:00.000' AS DateTime), N'Lot 3', N'', N'', N'THAT PART OF LOT 3 SECTION 6 TOWNSHIP 26 OSOYOOS DIVISION YALE DISTRICT PLAN 8758 SHOWN ON PLAN KAP45951', N'0057', N'0016', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'59.9', CAST(N'2020-11-26T14:45:01.000' AS DateTime), CAST(N'2021-05-31T16:33:02.000' AS DateTime), 60, 46, 0xBD0B0000010405000000CA32C471BB653641B0832F0CE1042141FAA9F172BE6536411861C393E0042141BCF5289CBC653641B0ABAD18B9042141A033A294B96536413885EB91B9042141CA32C471BB653641B0832F0CE104214101000000020000000001000000FFFFFFFF0000000003, CAST(465421 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (465470, N'{47D46829-DE1C-4287-857B-FA7FE36D614F}', N'015226875', 469069, N'NEP18657', NULL, N'15226875', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 3', NULL, NULL, N'LOT 3 SECTION 13 TOWNSHIP 27 RANGE 22 WEST OF THE 5TH MERIDIAN KOOTENAY DISTRICT PLAN 18657', N'0043', N'0006', N'NO', N'ICF', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-06-03T16:32:53.000' AS DateTime), 2233, 195, 0xBD0B00000104050000004550FC38B0D4384118D9CEB7DF8B2641E27A146E95D4384108A8C6CBAD8B2641C820B0F26BD43841A06CE73B078C2641F21648B086D4384170F90F29398C26414550FC38B0D4384118D9CEB7DF8B264101000000020000000001000000FFFFFFFF0000000003, CAST(465470 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (465722, N'{67275F02-679B-4538-BDBB-A7FADF01CC8E}', N'008394873', 3, N'NO_PLAN', NULL, N'8394873', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 90', NULL, NULL, N'THAT PART OF LOT 21, DISTRICT LOT 90, ALBERNI DISTRICT, PLAN 1486, AND THE ABANDONED ROAD ADJOINING, BEING THE UNCOLOURED PORTIONS AND PORTIONS SHOWN COLOURED GREEN INCLUDED WITHIN THE AREA SHOWN IN RED ON PLAN 387 RW', N'0163', N'0029', N'NO', N'ICF', 3, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2021-06-22T12:58:44.000' AS DateTime), 138, 55, 0xBD0B000001040A00000063984C3501833041E0A9F152E9FF1C416B4469EF0283304100FD87F42C001D4174D4D35F05833041606A56DB21001D416AA0C0C20783304130F7989316001D411D27F8170A8330416000561E0B001D414A26445F0C8330414003987CFFFF1C41619F6F980E833041E0896DAFF3FF1C4161DC46C310833041F00FE9B7E7FF1C4196E61D6701833041D061A156E8FF1C4163984C3501833041E0A9F152E9FF1C4101000000020000000001000000FFFFFFFF0000000003, CAST(465722 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (465743, N'{24B2342C-3F73-4758-8B76-3C41A25DF681}', N'001657593', 3, N'NO_PLAN', NULL, N'1657593', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 26', N'', N'', N'THAT PART OF SECTION 26, OTTER DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 16678I AND CONTAINING 9.37 ACRES MORE OR LESS', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:05:33.000' AS DateTime), CAST(N'2021-06-24T09:47:51.000' AS DateTime), 37826, 1776, 0xBD0B000001047B0000000C24289E64D931411061C3D3DA3C174178BE9FDA35D93141A01C5AE4D23C17410BA3923A33D9314140454772D23C1741EBB8902630D9314130031659FE3C1741C5D6558B2DD93141806C50BC2A3D17412F001A6A2BD93141E0C33487573D17413F2CDCC329D9314110D3D0A4843D174164CE619928D9314190B60B00B23D17410C7A36EB27D9314100B8AF83DF3D1741BC270F2B27D9314130772D21303E17414F7B40E325D93141003BC531753E17415EC1F26423D9314190A61BBAB93E17410C8951B31FD93141904C0E63FD3E17410A200FD31AD93141B0C896D63F3F1741DA995ECA14D93141001B38C0803F1741FBEDEBA00DD9314100166ACDBF3F1741180DE0CD01D93141B0D712721E401741E7A9D9BEF9D83141D040108C62401741EB8E2A60F2D8314120A2C7E2A740174178E1DAB4EBD83141C0ADB259EE4017414EFCA8BFE5D831412087D4D335411741094F0883E0D83141B0AEC5337E411741BF5B2001DCD83141401AC05BC7411741C2F5283CCED83141A045B6F3B6421741D95F760FCDD831412041F163CB421741E4482E9FCBD83141B0438B6CE4421741CE88D25EC9D8314100BE30990B4317412BF697DDC7D8314140A245362F431741CC782925C7D8314140EF241E3C431741C6341C71C6D83141C034E109494317417C7571C1C5D8314170AA62F955431741427E2A16C5D83141308191EC62431741508A486FC4D8314180E455E36F431741D1CCCCCCC3D8314110F697DD7C431741F9B9DAEAC1D83141A01C5AE4A543174129C923A8BFD83141A0E2292ECB431741C7C1478ABDD83141A019869AF0431741439A6791BBD8314180F52727164417410F09A2BDB9D8314190B4C6D13B441741C682130FB8D83141A0C11798614417418A38D685B6D8314140D9CE7787441741EEC06C64B6D831416011C00DC34417410190359FB6D83141303577A2FE4417411FDA2736B7D8314100200A2D3A45174199092D29B8D83141003390A475451741E9C12078B9D83141A0A92300B14517415DE5D022BBD8314130EBE236EC451741ED231398BBD8314120699A950E461741B8B9712FBCD831411014FCEB304617412253E3E8BCD83141904CEA375346174119835CC4BDD83141F017487775461741B2C3CFC1BED831411044F9A79746174132772DE1BFD831416082E2C7B94617416AAFB1FBC2D83141A06C8AF2F6461741222D4310C7D83141B024763033471741BF578F1ACCD8314110F8D3416E47174162443F15D2D83141B09A10E8A7471741215EFDF9D8D83141D07219E6DF471741DB1B7CC1E0D8314120499D0016481741ED164850F1D83141005DFEC3804817415B5677E7F6D83141502CF2B0A04817415A4CA140FCD8314100942B46C148174138A5895A01D931415072237CE248174194AA023406D93141E0832D4B044917411489EDCB0AD9314100277AAB26491741A3923A210FD93141902A1895494917411CFBCB4E40D931414048507C5A491741271D3BF33AD93141A01ACDB72349174160D1400E35D93141407BFDD6ED481741205038A22ED9314100256BEFB8481741D0CEB2B127D9314110323C16854817416E79763F20D9314110A32A60524817416E567D4E18D93141E01B7CE120481741020000C007D93141A0081B1EB6471741F756251001D93141600EC860874717416AF7DA30FBD83141401A38EB564717411E9B2A29F6D83141B07E7FF724471741B9941BFFF1D8314190987CC1F1461741F495ABB7EED83141C0089086BD46174134B4C856ECD8314140265385884617415B7F34A4EAD83141E0C731596F4617413245F003E9D831419009C01956461741DABF0976E7D83141A00ED3C73C461741730E8EFAE5D83141509840642346174199B48991E4D83141C0FCDEEF09461741049A083BE3D83141C01E856BF0451741E9636739E2D83141C0816713B5451741F843399AE1D83141900FB2A5794517416690995DE1D83141A084992C3E45174187B29283E1D83141109454B202451741D9241E0CE2D8314130231A41C74417414F7424F7E2D83141E0891FE38B4417410966A9EFE4D83141B06EC7656044174151AB4B1DE7D83141D0140C11354417416918D77FE9D83141B04DFBE8094417412C8E1217ECD8314170BC9EF1DE4317419AFFBFE2EED831418074FB2EB443174198779CE2F1D83141D09C11A5894317411A8C4A0AF4D83141008D976E61431741BB270F8BF4D8314160DF4F0D58431741E82631A8F6D8314120F1634C284317417D26C266FFD83141004013E190421741994C154C09D93141704AEA84E5411741FF83AD580DD9314100EE5532A54117417873E30512D93141C080FF8E6541174153BADF5117D931413067F5B32641174129748C3A1DD93141F026F7B9E84017411E0B96BD23D9314190AB6BB9AB4017416A226CD82AD93141A0A757CA6F401741E10209AA36D93141E07BF230114017418811C5293FD9314180914560C63F1741B4A2D85246D93141605D2C5A793F174120BE281C4CD93141D0BA98802A3F174155BA597E50D9314180F9CE37DA3E17413F98D87353D93141E05BE6E5883E17416819E2F854D93141704547F2363E174184D93DB955D9314100D1225BE63D1741AC7306BF56D93141B08FA5ADB83D174182842D5C58D93141403343468B3D1741CAF6958F5AD93141501350445E3D17419707BB575DD93141008BDAC6313D17415652B1B260D93141308995EC053D17410C24289E64D931411061C3D3DA3C174101000000020000000001000000FFFFFFFF0000000003, CAST(465743 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (467413, N'{EEE3F9C0-9A18-406D-81A5-E3C673D6617A}', N'005673038', 472072, N'NEP740', NULL, N'5673038', NULL, N'5320355005', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 10', N'Block 3', NULL, N'LOT 10 BLOCK 3 DISTRICT LOT 267 KOOTENAY DISTRICT PLAN 740 EXCEPT PLAN NEP19552', N'0053', N'0018', N'NO', N'ICF', 3, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-10-15T10:48:56.000' AS DateTime), 358, 88, 0xBD0B0000010405000000233867C418043A4158C1A864D02B24410AAC1C1A22043A41F04603B8DA2B2441E2BE0E3C32043A41D842ADE99F2B2441459D80E628043A4158863896952B2441233867C418043A4158C1A864D02B244101000000020000000001000000FFFFFFFF0000000003, CAST(467413 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (468119, N'{68434B29-4443-44AE-9FCA-D12DCD54528B}', N'009680276', 1170767, N'NWP2620', NULL, N'9680276', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-16T00:00:00.000' AS DateTime), N'Lot 37', N'Block D', N'Lot 758', N'ALL THAT PORTION OF LOT 37 BLOCK D DISTRICT LOT 758 GROUP 1 PLAN 2620 SHOWN ON STATUTORY RIGHT OF WAY PLAN 10087', N'0088', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2021-11-30T15:02:48.000' AS DateTime), 607, 119, 0xBD0B0000010406000000809543CB94A5324110AAF1D2F4871C41226C785A95A53241903D0AD7C9871C41AB3E577B96A53241C0AACF556A871C4184DB68407BA53241E054C12807881C41E2E995528AA5324100FED4F830881C41809543CB94A5324110AAF1D2F4871C4101000000020000000001000000FFFFFFFF0000000003, CAST(468119 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (468602, N'{AEA7AD8E-84BC-478E-A1B7-34A553E8044D}', N'013975391', 252464, N'PGP1329', NULL, N'13975391', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 130', N'', N'', N'LOT 130 DISTRICT LOT 4377 CARIBOO DISTRICT PLAN 1329 EXCEPT PLANS H226 18606 AND 29483', N'0112', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2021-12-30T12:38:15.000' AS DateTime), 6619, 334, 0xBD0B0000010407000000439B55FFF07D324198A98291AC7B2E416BBC7413847D324130C4B16EA37B2E41A045B613837D32411863EEDACC7B2E41D8C56DB4807D324160F4DB572F7C2E41F08E5334CF7D3241409B559F357C2E413EBD52F6E77D324148C3D32BD87B2E41439B55FFF07D324198A98291AC7B2E4101000000020000000001000000FFFFFFFF0000000003, CAST(468602 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (469109, N'{18153C2F-4812-4195-B2C3-D22E0E523E43}', N'005917841', 475451, N'KAP24472', 11272561, N'5917841', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1 SECTION 19 TOWNSHIP 4 OSOYOOS DIVISION YALE DISTRICT PLAN 24472 EXCEPT PLAN H16528', N'0134', N'0012', N'NO', N'ICF', 6, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2022-01-28T13:04:58.000' AS DateTime), CAST(N'2022-01-28T13:15:14.000' AS DateTime), 36790, 836, 0xBD0B000001040B00000097559F0BC39B364148AF94E518F82241204A7BA3B29B364130DC46035DF92241373CBD32B19B364128A2B47779F9224104917EFBF49B364160DD930796F92241F43A708E289C3641881058F9D6F92241E2718A2E429C36416893188434FA224196B20C31599C364188CB7F8853FA22410AAC1CDA5A9C3641807EFBBA32FA22418A8EE452749C3641B015FB8B3BF82241E0A59B84409C36410019739731F8224197559F0BC39B364148AF94E518F8224101000000020000000001000000FFFFFFFF0000000003, CAST(469109 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (469483, N'{6EB8EF2F-216D-4C7F-AF90-E08282077DD0}', N'008744165', 856273, N'KAP15830', NULL, N'8744165', NULL, N'72606848500', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 2959 KAMLOOPS DIVISION YALE DISTRICT PLAN 15830', N'0163', N'0028', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:49.000' AS DateTime), 145573, 1633, 0xBD0B000001042C0000003A89414073323641B098BB16764B2741043411566D323641783D0AD76D4B27416007CE5967323641480378CB654B2741E795B24C61323641286B2BF65D4B2741E6718A2E5B32364160613255564B2741A9ADD8FF54323641E8B050EB4E4B274118AE47C14E3236412010E9B7474B2741A94E407348323641D847E1BA404B27415E8FC21542323641407DAEF6394B2741BE3923AA3B32364158674469334B274195BB963035323641A01804162D4B2741C754C1A82E32364190A301FC264B2741A03C2C14283236419087851A214B274151FC187321323641F08E53741B4B2741FA5C6DC51A32364190029A08164B2741075F980C14323641F81873D7104B274120B072480D32364170C0CAE10B4B2741959999790632364110F9A027074B27411BAE47A1FF313641285530AA024B2741EB51B8BEF831364118B07268FE4A2741D5D781D3F1313641B01C5A64FA4A2741B0B662DFEA313641A0635D9CF64A27415DDC46E3E331364100AAF112F34A2741792497DFDC313641C8CAA1C5EF4A2741BAF3FDD4D5313641C08F31B7EC4A274158C1A8C4CE31364190F831E6E94A2741E8839EADC7313641C8051254E74A2741B74082E2BF313641F0B6D1C0E44A27418C976E12B8313641E89C1165E24A27417836AB3EB0313641985B2041E04A274127287E4C1F31364138B3EAB3BA4A27412A5305E31C31364128855A13BA4A2741923A016D42303641404772B9994B2741A045B6D34430364120287E8C9C4B2741059A089B513236411803788B054E27416791EDFCDD323641B8A22379254C274169006F41DE323641A83A018D244C274108B5A6199B323641901A2FDDB44B274150158C6A9132364108A5BDC1A44B27417A711B4D8B323641A059F5B99A4B27416688631D85323641081B9EDE904B274145C807DD7E323641D88D0630874B2741F90FE917793236412095D4897E4B27413A89414073323641B098BB16764B274101000000020000000001000000FFFFFFFF0000000003, CAST(469483 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (470831, N'{3D78D4A5-F17D-46FC-B278-95971320A0AB}', N'014263335', 299180, N'PRP948', NULL, N'14263335', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 11', N'Block 4', NULL, N'LOT 11 BLOCK 4 DISTRICT LOT 3 QUEEN CHARLOTTE DISTRICT PLAN 948 EXCEPT PLAN 6937', N'0116', N'0026', N'NO', N'ICF', 8, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-02-18T09:49:47.000' AS DateTime), 278, 92, 0xBD0B0000010416000000527B83EF6C512241E092A902DE752C418A28ED8D6D51224180ADD81FE5752C4102F016C873512241E844D8F02C762C418EAE770C77512241500488742B762C41D656444C7A512241D0414EEE29762C419ED65E877D5122414019395E28762C412547A9BD80512241B80057C426762C410CEE05EF8351224138CAB62025762C41B43E571B8751224100A1677323762C41CCDEE00B84512241A89690CFFF752C41335EBA09835122413885EB11FF752C41908785DA7C512241A08EE4B2F8752C417009F9607551224108371A00EF752C41F2A0564174512241502A083DED752C4116A4904C73512241D0AC5661EB752C411609BE8472512241A8631571E9752C41808893EB71512241D8E48070E7752C4158E25F8271512241E073F963E5752C41E502094A715122415872F94FE3752C41FC550E6D705122419823B93CDF752C411FFDF6B56C512241A054C168DB752C41527B83EF6C512241E092A902DE752C4101000000020000000001000000FFFFFFFF0000000003, CAST(470831 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (471908, N'{F9A49A83-6A65-438E-AEE2-6EB82AADB260}', N'008404160', 141253, N'VIP831', NULL, N'8404160', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 7', N'', N'', N'LOT 7, SECTION 33, VICTORIA DISTRICT, PLAN 831 EXCEPT THAT PART COMMECING AT THE SOUTH WEST CORNER OF LOT 6, PLAN 831; THENCE 6.68 CHAINS NORTH 81 DEGREES 30 MINTUES WEST MAGNETIC, TO A POINT; THENCE 9.06 CHAINS NORTH 55 DEGREES 30 MINTUES EAST MAGNETIC TO THE NORTH WEST CORNER OF SAID LOT 6; THENCE FOLLOWING THE WESTERLY BOUNDARY OF SAID LOT 6, 6.128 CHAINS SOUTH 8 DEGREES 2 MINTUES WEST TO THE POINT OF COMMENCEMENT, EXCEPT PARCEL A (DD 102595I) AND EXCEPT THAT PART LYING SOUTH EAST OF PLAN 1 RW', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:17:48.000' AS DateTime), CAST(N'2019-01-05T10:55:24.000' AS DateTime), 7993, 419, 0xBD0B000001043D000000DFE995D2AC3A324180FE43FA399717413FE8D92CAA3A3241F05B20C13F9717417E6CFC95AA3A32414078AB7D4097174140878701AB3A324110690E2341971741F3AE296FAB3A3241D0C8CBB04197174145C48FDEAB3A324110217826429717414E51654FAC3A3241A039BA83429717418AC954C1AC3A3241C05D4BC842971741F4A6B081AD3A324190363A5E449717411015CC48AE3A3241404D3FBC45971741D672A315AF3A3241903792E04697174137A52BE7AF3A324110C7B5C947971741337353BCB03A324120FB7976489717414AEA0494B13A3241E08AFDE54897174111DD7876B23A3241307D93AF4A9717415DB6E65DB33A3241A04F6C4F4C9717414C73D349B43A324150F9AAC44D9717414BADC139B53A32414016890E4F971741A8DC312DB63A3241D050572C50971741769CA223B73A324150BF7D1D51971741AB523801B93A3241C00E8CEF53971741005C28DEBA3A324110426AC856971741722A71BABC3A3241C0F915A85997174197301196BE3A3241E0CE8C8E5C9717418AE10671C03A3241C056CC7B5F971741EFB0504BC23A3241F01FD26F6297174150C708A7C33A3241306C50FF63971741617BDBFDC43A3241207294CD659717415B97134FC63A3241E0D9A9D967971741BFDBFE99C73A3241809D7B226A971741995DEEDDC83A3241109DD4A66C971741E9E2361ACA3A3241804160656F9717410AAEEA39CC3A32419001BE807297174153953154CE3A324130ED1BD5759717419E00AC68D03A3241D0A4E26179971741605FFB76D23A324110C470267D9717418139C27ED43A324190FD1A2281971741E83FA47FD63A3241403C2C548597174170DDE164D83A3241D0F75C4788971741322E9349DA3A324150EC29408B9717417928B72DDC3A3241E079913E8E971741E6C24C11DE3A324120FC91429197174168F452F4DF3A3241B0CB294C9497174138B4C8D6E13A3241403E575B9797174164B191DBE23A324190A9D55F989717411119B0DCE33A3241109D439999971741F21D78D9E43A324170AACF069B97174199D840D1E53A3241B09185A79C9717415EB864C3E63A324110E24E7A9E97174110F241AFE73A324160B6F37DA09717416870F184E83A324180A211F3A097174172642558E93A3241C091FAA1A19717415C03E427EA3A324160A5DF89A29717417E9937F3EA3A3241C099AEA9A3971741CFAC2FB9EB3A3241500A1300A59717416719E278EC3A32411003788BA6971741772D219F503B32415017B7D1049817416F567D2E503B3241F051B89E01981741DDBE0E5C153B3241208C4AEA559617413255306A0D3B324190ED7C3F67961741DFE995D2AC3A324180FE43FA3997174101000000020000000001000000FFFFFFFF0000000003, CAST(471908 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (472622, N'{F93DBDD9-7034-44A7-B074-107228FED79B}', N'006934510', 4752621, N'KAP1YA', 4034261, N'6934510', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block 6', N'', N'LOT 3 BLOCK 6 SECTION 15 TOWNSHIP 7 RANGE 26 WEST OF THE 6TH MERIDIAN YALE DIVISION YALE DISTRICT TOWNSITE OF YALE SUBURBAN', N'0163', N'0009', N'NO', N'ICIS CADASTRE', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-01-31T18:53:37.000' AS DateTime), 14728, 501, 0xBD0B00000104080000000A8195A31F4B3441D02A1815057A1F41FC3A706EED4A3441206519E23F791F4121F46C969C4A344130E63F24EF7A1F413290A0F8A04A344180029A08037B1F41B147E1DAE74A3441A0E09C91407C1F4104E78CA8134B344140CC5D4B2F7B1F41EF8E53143A4B34412075029A3F7A1F410A8195A31F4B3441D02A1815057A1F4101000000020000000001000000FFFFFFFF0000000003, CAST(472622 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (472780, N'{F4B2543E-E7BA-4999-80BD-00601AB2BAE5}', N'018146031', 138470, N'VIP55920', NULL, N'18146031', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot A', N'', N'', N'LOT A, SECTION 4, RANGE 3, SOUTH SALT SPRING ISLAND, COWICHAN DISTRICT, PLAN VIP55920 EXCEPT PART IN PLAN VIP69494', N'0163', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:51:07.000' AS DateTime), CAST(N'2019-01-05T11:04:09.000' AS DateTime), 6028, 354, 0xBD0B0000010405000000183FC65CB8113241C0277E0C33D119419D703DAA3D113241F095B28CECD11941733D0A374D113241C0285C8F99D21941088A1FE3C7113241B0506B1AE0D11941183FC65CB8113241C0277E0C33D1194101000000020000000001000000FFFFFFFF0000000003, CAST(472780 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (473005, N'{263CB85A-AA7B-4B2E-803C-994D81099040}', N'013549022', 3, N'NO_PLAN', NULL, N'13549022', NULL, N'73105421100', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 659', N'', N'', N'THAT PART OF DISTRICT LOT 659 OUTLINED RED ON PLAN B3732; YALE DIVISION YALE DISTRICT EXCEPT PLAN 41122', N'0163', N'0028', N'NO', N'ICF', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:10:54.000' AS DateTime), 970, 228, 0xBD0B000001040900000030431CCBC3E4344128E4839E7AAE2041085F98CCD2E434414896218E6EAE204101B37B12CDE4344160E7FBE94CAE2041ED2FBBC796E4344118F54AD971AE204130431CCBC3E4344128E4839E7AAE2041759318249FE43441900D4F6FB9AE2041F7B9DA2AC1E43441E0141D49A2AE2041120BB5E699E43441A82F4CA69AAE2041759318249FE43441900D4F6FB9AE2041020000000200000000020500000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(473005 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (473623, N'{5C1B6649-91C8-4CA8-B2C6-3FBC33E6002A}', N'003842894', 870655, N'KAP30840', NULL, N'3842894', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Parcel C', N'Lot B', N'', N'PARCEL C (DD T2096 AND PLAN M16477) OF LOT A SECTION 36 TOWNSHIP 19 RANGE 18 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 30840', N'0055', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:29:52.000' AS DateTime), 814, 279, 0xBD0B000001040C000000B68D06101D51354148C807BDA99A2341A43C2C1436513541D0EEC903B39A234190B87FE622513541C8AFA490A99A2341401215650F513541C81D7858A39A23418CDEAEB2FB50354168935966A09A234197FC66F2E7503541E8F388BFA09A234164087047D450354198506763A49A234162A1D6D4C05035416003784BAB9A2341C620B0F2BC50354138FF21FDAD9A2341226C783AAC503541D041CFA6B79A2341B059F599B6503541181B9EDEBC9A2341B68D06101D51354148C807BDA99A234101000000020000000001000000FFFFFFFF0000000003, CAST(473623 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (475142, N'{D59C9AF1-6112-4B5A-96B3-BE5B91BE0BFE}', N'024736091', 3, N'NO_PLAN', NULL, N'24736091', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2000-06-08T00:00:00.000' AS DateTime), N'SW4', N'3', N'', N'PARCEL A (PLAN WITH FEE DEPOSITED 13989A) SECTION 3 TOWNSHIP 17 NEW WESTMINSTER DISTRICT', N'0002', N'0009', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2018-01-09T12:23:08.000' AS DateTime), 36837, 1704, 0xBD0B000001040B0000003D8B6CE7D9653341201B9E5E6A141C418E7EFBBAB465334140992A1896171C413F82E2079A653341D07F483FDC191C411A9E5EE991653341807CD0338A1A1C418616D90E9065334110DE710AB21A1C41401CEB42BE653341005A643BBC1A1C414E27A009C06533416048BFFD941A1C41DFA59B844F663341C0B20CF1590E1C4102D5786921663341D08C28ED500E1C418EED7C3F00663341D098BB1625111C413D8B6CE7D9653341201B9E5E6A141C4101000000020000000001000000FFFFFFFF0000000003, CAST(475142 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (475902, N'{AEBADC73-2F84-45EC-AC78-5AD308315811}', N'012342980', 484520, N'NEP7563', 90054197, N'12342980', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot A', N'', N'', N'LOT A SECTION 17 TOWNSHIP 22 RANGE 7 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION OF YALE DISTRICT PLAN 7563', N'0163', N'0006', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:23:17.000' AS DateTime), 23977, 636, 0xBD0B000001040600000095900F9A45D2364140EC2F7B36A4244136EF382557D23641B823B97CF6A22441B88D06305BD2364160EF38C5A8A2244100000060DFD136414872F98FA2A224417558A815CCD13641688863DD1CA4244195900F9A45D2364140EC2F7B36A4244101000000020000000001000000FFFFFFFF0000000003, CAST(475902 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (476834, N'{56801F72-8000-4A02-AE24-B0651E062A11}', N'001668366', 3191876, N'VIP1663R', NULL, N'1668366', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1998-02-03T00:00:00.000' AS DateTime), N'', N'', N'', N'THAT PART OF THE UNNUMBERED PORTION OF MALAHAT DISTRICT SHOWN OUTLINED IN RED ON PLAN 1663R AND CONTAINING 0.444 OF AN ACRE MORE OR LESS', N'0163', N'0005', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'COGO', N'0', N'1791', CAST(N'2016-12-19T12:24:21.000' AS DateTime), CAST(N'2019-01-10T15:04:11.000' AS DateTime), 1791, 266, 0xBD0B0000010411000000153FC67CECD23141E0B9DA8AD5751741A8E8480ED5D23141C0A8A44EFC76174179BBFCFFD2D23141C0A6307715771741CBAD62D9D0D23141C0D6247F2E7717417B069B9ACED2314140950965477717413477C743CCD23141703D692760771741841A0BD5C9D23141303FD0C478771741DF718A4EC7D23141B035CD3B917717411FEBE256D5D2314120E9B7AFA877174156948AF3D7D2314130B754668F7717410D41A877DAD23141100641F575771741954316E3DCD23141C0D2F95D5C771741EF5FB035DFD231418057FEA14277174103CE536FE1D2314190F2CFC228771741653BDF8FE3D23141D012F2C10E77174160764FFEFAD2314130B6F3FDE7751741153FC67CECD23141E0B9DA8AD575174101000000020000000001000000FFFFFFFF0000000003, CAST(476834 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (477453, N'{4C6FAEC6-AA3F-461B-B81E-FAEB1DF270BE}', N'013252984', 246698, N'PRP1076', 35753961, N'13252984', NULL, N'03547.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 22', N'Block 35', N'', N'LOT 22 BLOCK 35 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 255, 84, 0xBD0B0000010405000000F14A5946CF2E2C41E87A148EE0A03041AFF3FD54CF2E2C4118FBCBCED8A03041CA2B6519932E2C4158C8071DD9A0304180D93D39872E2C410C2428DEE0A03041F14A5946CF2E2C41E87A148EE0A0304101000000020000000001000000FFFFFFFF0000000003, CAST(477453 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (477579, N'{C647C30D-CB30-4289-A7DF-B6BD03D8639A}', N'003593096', 132320, N'VIP20436', NULL, N'3593096', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 1', N'', N'', N'LOT 1 SECTION 39 LAKE DISTRICT PLAN 20436', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:46:03.000' AS DateTime), CAST(N'2020-06-30T13:57:24.000' AS DateTime), 7605, 363, 0xBD0B000001040A0000000B81954303363241606B9AF7E21D1841728104650036324160742497E21D184103780BA491353241100C9329D41D1841ED7C3F15AE35324170F90F69AF1E1841FC31E68EB235324120341136D61E18410B3D9B15B6353241D04B3789FE1E184186D2DEA0B8353241B0931804281F18418838D685003632414080B7C0311F1841C710C71A02363241804E4093701E18410B81954303363241606B9AF7E21D184101000000020000000001000000FFFFFFFF0000000003, CAST(477579 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (477948, N'{F2D7C4EC-468C-4D49-8DCA-3ECECFEB3987}', N'010319310', 287580, N'PGP6437', 4876801, N'10319310', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', NULL, NULL, N'LOT 1 DISTRICT LOT 4500 CARIBOO DISTRICT PLAN 6437', N'0163', N'0002', N'NO', N'ICF', 7, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2020-12-14T13:07:00.000' AS DateTime), 25375, 758, 0xBD0B000001040A000000A7F1D2ADF1B83241C0ADD85F22592B41BDD32B05ECB8324108EBE2366B582B41D9D781B3EAB83241F865F7A431582B415C17B73192B8324190D6346F44582B4182D0B319A0B83241704694F6595A2B41FC21FD16A2B8324180C954415A5A2B41E1C7985BC6B83241B07346945F5A2B41E293878500B93241D87F48FF8A5A2B41B1726831F5B83241F03D791894592B41A7F1D2ADF1B83241C0ADD85F22592B4101000000020000000001000000FFFFFFFF0000000003, CAST(477948 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (478138, N'{5B5AA15A-9A6F-4145-8AE5-3487C85782B6}', N'000017451', 645953, N'VIP883A', NULL, N'17451', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 10', N'Block 1', N'', N'LOT 10, BLOCK 1, DISTRICT LOT 132, ALBERNI DISTRICT, PLAN 883-A', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:44.000' AS DateTime), 620, 144, 0xBD0B00000104090000004EDA1B9CD89C304190D2DEE052AB1C41BDA8A4AED89C3041E0D091DC52AB1C41945CFEC30F9D3041F0C7983B48AB1C419AFF90FE0F9D304110295C0F20AB1C41ED164850D29C304160925CFE2BAB1C41065F98ECD19C3041E00B02AB45AB1C413DFAEDEBD19C3041303CBDD245AB1C412D211FB4D19C3041C0EA733554AB1C414EDA1B9CD89C304190D2DEE052AB1C4101000000020000000001000000FFFFFFFF0000000003, CAST(478138 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (478141, N'{02E1AF44-4BD2-4BB1-B5ED-673E87E5A25D}', N'000017400', 645953, N'VIP883A', NULL, N'17400', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'Block 1', N'', N'LOT 5, BLOCK 1, DISTRICT LOT 132, ALBERNI DISTRICT, PLAN 883-A', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:44.000' AS DateTime), 640, 148, 0xBD0B000001040D000000C8BAB82DFA9C30411040A4DFECAB1C41A4ADD81FFA9C3041A089B0E1ECAB1C4103780B44CF9C30417098DD13F5AB1C414182E2A7CE9C30412083C04A1DAC1C41D02B6579039D3041E07D1D3813AC1C416F787A85039D3041E033113613AC1C41C47F489F0E9D3041D074931811AC1C412CFF21BD0E9D30415026C286FCAB1C41D5A370BD0E9D3041D03B4E51FCAB1C415E07CED90E9D3041006822ECE8AB1C4196C420900A9D3041B0A370BDE9AB1C4139014D840A9D3041705BB1BFE9AB1C41C8BAB82DFA9C30411040A4DFECAB1C4101000000020000000001000000FFFFFFFF0000000003, CAST(478141 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (479135, N'{778312AD-9165-4989-BB50-5B1C05CA18BB}', N'010033653', 3, N'NO_PLAN', NULL, N'10033653', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART 330', N'', N'', N'THAT PART OF DISTRICT LOT 330 SIMILKAMEEN DIVISION YALE DISTRICT CONTAINING .384 ACRES SHOWN ON PLAN B4973', N'0163', N'0019', N'NO', N'MODIFIED-ICF', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:36:46.000' AS DateTime), 1286, 150, 0xBD0B000001040A000000EA482EFFE8CC3741F0065F985BF61C41703D0A17E4CC3741F079362B0EF71C415C9FABED0BCD3741C0DCB50417F71C4152742417FDCC3741903D0AD76EF61C41787CCAC9F9CC3741A0B712E66AF61C417B4D1977F6CC3741B0BFAE3F67F61C41AD277A1FF3CC374120F151E463F61C4196E756C3EFCC3741D09F66D460F61C41DCF81963ECCC3741C0C84D105EF61C41EA482EFFE8CC3741F0065F985BF61C4101000000020000000001000000FFFFFFFF0000000003, CAST(479135 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (479929, N'{0C0CA3F3-C87D-4FA7-98BB-E21C8A39CB63}', N'012909599', 296598, N'PRP1251', 1050901, N'12909599', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 31', N'Block 6', N'', N'LOT 31 BLOCK 6 DISTRICT LOT 4044 CASSIAR DISTRICT PLAN 1251', N'0137', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:19:14.000' AS DateTime), 262, 73, 0xBD0B000001040B0000009A18045639E12641F08AFDA5B49E32413EBD52D666E1264118197337A59E3241328716995BE12641DCD022DB9C9E3241FB5C6D4533E1264144795888AA9E3241FE5C6D0532E12641ACFC87F4AA9E3241914DA6A133E126417074537DAC9E3241A363EB1635E12641D06CBD0FAE9E3241D879576436E126419CDCCEAAAF9E324128E11D8937E12641BC698B4DB19E32415FDE8A8438E12641CC05F2F6B29E32419A18045639E12641F08AFDA5B49E324101000000020000000001000000FFFFFFFF0000000003, CAST(479929 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (479991, N'{A7D57847-B566-4B65-A4E4-4DF3182E22BB}', N'013995588', 295389, N'PRP968', 29846571, N'13995588', NULL, N'01244.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 18', N'Block 103', N'Section 2', N'LOT 18 BLOCK 103 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:22.000' AS DateTime), 291, 78, 0xBD0B0000010405000000201FF46C3C772B41F40FE937C06431413689416028772B4120F77560C064314126F46C1629772B41D8A59B64DD643141509D80263D772B414CE3A53BDD643141201FF46C3C772B41F40FE937C064314101000000020000000001000000FFFFFFFF0000000003, CAST(479991 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (483756, N'{E1D542AA-C2D3-4FA1-8E6C-6DCCB4F63E9A}', N'009742522', 1316523, N'NWP12815', NULL, N'9742522', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'REM Lot G', N'', N'', N'LOT "G" EXCEPT: PART ON SRW PLAN 43436 DISTRICT LOT 222 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 12815', N'0075', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:23:42.000' AS DateTime), 843, 135, 0xBD0B00000104070000002A1895F41EF83241C0DCB584E2DD1C41DE7A14CE50F8324110EE7C3FECDD1C4175029AE84FF8324180F1D2CDDFDD1C41E44F8D7748F832416082E2477EDD1C41FCA9F1D247F83241901A2FDD75DD1C41CDD5568C1CF8324150401361D2DD1C412A1895F41EF83241C0DCB584E2DD1C4101000000020000000001000000FFFFFFFF0000000003, CAST(483756 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (485407, N'{38587889-C9A0-4653-9B98-0F02EC095B94}', N'011369141', 850279, N'KAP1728', NULL, N'11369141', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Parcel 9', N'Lot 113', N'', N'PARCEL 9 (PLAN A1273) OF LOT 113 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 1728', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:59.000' AS DateTime), 43, 34, 0xBD0B0000010405000000A311A55D9A713641008F53F430761D41189E5E499E713641208C4AEA58761D41CE6F5F87A67136418058A8B553761D413F3EE8D99E7136414003788B3E761D41A311A55D9A713641008F53F430761D4101000000020000000001000000FFFFFFFF0000000003, CAST(485407 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (485410, N'{A569216E-872D-4DCE-B6A0-030D43BADD16}', N'011369183', 850279, N'KAP1728', NULL, N'11369183', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Parcel 10', N'Lot 113', N'', N'PARCEL 10 (PLAN A1273) OF LOT 113 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 1728', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:30:03.000' AS DateTime), 10046, 500, 0xBD0B000001041700000004BC05327971364170938705AE721D4142575B9166713641403FC6DCB9721D41F3B0508B5871364170F7E46196721D41C15B20814C713641D07F483F7B721D418AEB51F83D713641605EBAC958721D41423EE8193C713641B000DE8221721D41159E5E493D7136416017B7D1CE711D412618955439713641609A779CD8711D4137EF38052071364120355E3A17721D41FCC264CA487136419087F45B70731D4117FBCB4E6D713641E04EAF14A5741D41C4A145567B71364100DFE00B47741D41403EE859817136411025758220741D41E0BE0E9C867136412060E5D015741D410FD0443898713641B0EEC943DF731D41770B24089C713641204D840DCE731D41C07D1D189C713641905D6DC5CD731D41760B2448A571364100CCEE49A4731D4152C1A8E4AE713641604625F57D731D41A4802662AF713641F01A9EDE79731D41E0BE0EDC9B713641B011A53DCF721D41447B834F93713641E076BE1FBD721D4104BC05327971364170938705AE721D4101000000020000000001000000FFFFFFFF0000000003, CAST(485410 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (486503, N'{CAEB3639-0DD5-48DB-925A-B9A362A51360}', N'013603531', 1314144, N'NWP155', NULL, N'13603531', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'REM Lot 32', N'Block 5', N'', N'LOT 32 EXCEPT: PART BLACK ON HIGHWAY STATUTORY RIGHT OF WAY PLAN 63822, BLOCK 5 DISTRICT LOT 398 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 155', N'0075', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-03-20T09:14:25.000' AS DateTime), 378, 95, 0xBD0B00000104050000008816D92EB708334130DD2406BDD61C418D180476CB08334160B81E05C0D61C41EE8E53D4CC083341500AD72336D61C41D0CCCC4CB708334180D044D8B1D61C418816D92EB708334130DD2406BDD61C4101000000020000000001000000FFFFFFFF0000000003, CAST(486503 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (487076, N'{C1AD2EC9-7400-4E79-AF33-F4EBD49F4A20}', N'012480207', 495453, N'KAP364', 3691491, N'12480207', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block 67', NULL, N'LOT 3 BLOCK 67 DISTRICT LOT 710 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 364', N'0046', N'0019', N'NO', N'MODIFIED-ICF', 3, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-08-26T15:11:18.000' AS DateTime), 413, 83, 0xBD0B0000010405000000D812F2E1AA693741607EFBBA5D6C1D417ABE9FFAAE69374180B0E1691C6C1D41A9F1D26D95693741706EA3010F6C1D41C29F1A4F93693741604ED111516C1D41D812F2E1AA693741607EFBBA5D6C1D4101000000020000000001000000FFFFFFFF0000000003, CAST(487076 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (487166, N'{468364E0-83D8-4307-A3D7-4F0B3714B383}', N'001607740', 3, N'NO_PLAN', NULL, N'1607740', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 76', N'', N'', N'THOSE PARTS OF SECTION 76, ESQUIMALT DISTRICT SHOWN COLOURED RED ON PLAN 112 RW AND CONTAINING 1.09 ACRES MORE OR LESS', N'0065', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:58:13.000' AS DateTime), CAST(N'2019-05-17T12:17:05.000' AS DateTime), 4380, 389, 0xBD0B000001040F000000904AEA842F123241F0B584FC1A641741DA5F764F38123241A057CA3299641741E861A1B6B412324140BF7D1D3B65174138EF3865B912324120D044584165174150D1915CDC123241C076BE1FFF6417410AB5A6F9CC123241207E8C39E964174141136103C7123241C01B7C61E1641741489D80E6B9123241C0277E8CCF6417416EF90F29A712324130F46C56B6641741CD44D89081123241A0D1005E84641741AE7268117F123241809ECD2A816417411C38674469123241F03B4E51646417419CC420F052123241F03845C7466417411573D77230123241E0AE25641A641741904AEA842F123241F0B584FC1A64174101000000020000000001000000FFFFFFFF0000000003, CAST(487166 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (489880, N'{4F5D4342-7AB2-4D32-A563-7719CB83F24A}', N'014116103', 1166376, N'NWP1460', NULL, N'14116103', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-24T00:00:00.000' AS DateTime), N'REM Lot 16', N'', N'', N'LOT 16, EXCEPT: PART ON SRW PLAN 27770 SECTION 33 TOWNSHIP 8 NEW WESTMINSTER DISTRICT PLAN 1460', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2020-03-20T09:25:25.000' AS DateTime), 5514, 409, 0xBD0B0000010406000000C20E9CD3BBEE3241E06C56FD6D861C41EE1FD2EF14EF3241F07D1DB8F1851C415B204151CFEE3241F0073D9BE3851C41D066D50773EE324120B150EBD0851C41482EFFC16FEE324140A91350EB861C41C20E9CD3BBEE3241E06C56FD6D861C4101000000020000000001000000FFFFFFFF0000000003, CAST(489880 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (490417, N'{2FFB83CC-E295-45E1-96A3-7C4A19B54510}', N'011091355', 864486, N'KAP1862', NULL, N'11091355', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Parcel 22', N'Lot 324', N'', N'PARCEL 22 ON PLAN A1273 OF LOT 324 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 1862', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-03-30T14:14:17.000' AS DateTime), 9697, 478, 0xBD0B0000010415000000AB8BDB484B6B3641E079C7A9154E1D41C2EC9EDC4C6B3641B0A982515E4E1D41B003E7AC546B36412075029AB94E1D419BB20C11556B364130333333F14E1D418AA0F831536B3641D07346941A4F1D414AE17A94516B3641D05E294B3E4F1D41F463CC1D516B364100764F1E804F1D411E1FF44C4A6B3641F0F97E6A974F1D4178C7293A4A6B3641709ECDAA974F1D4122B9FC27456B3641B06D3400A94F1D41E673B535386B3641705F074EE04F1D41845AD37C2D6B3641B06CE77BF04F1D41CDDEE06B616B3641408CB96BFD501D41E68C288D786B364120BB270F99501D419128EDAD786B364150643BDF99501D41F03845A7906B364130143F465A501D411C95D429926B364100F163CC62501D41CB20B0129B6B364120C05BA034501D410EE9B7CF9E6B36413080B74021501D41CA293A32AA6B3641C0EDEB40E64F1D41AB8BDB484B6B3641E079C7A9154E1D4101000000020000000001000000FFFFFFFF0000000003, CAST(490417 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (490902, N'{52D09D05-8467-47E4-84FD-0F0BB41AA089}', N'001636227', 141434, N'VIP1193', NULL, N'1636227', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 20', N'Block 3', N'', N'THAT PART OF AMENDED LOT 20 (DD 147533I), BLOCK 3, SECTION 9, METCHOSIN DISTRICT, PLAN 1193 INCLUDED WITHIN THE AREA SHOWN OUTLINED IN RED ON PLAN 2050 OS', N'0079', N'0005', N'NO', N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:12:47.000' AS DateTime), CAST(N'2021-05-30T19:21:26.000' AS DateTime), 8656, 661, 0xBD0B00000104350000009E45B693B1083241C09AE69D95021741011973D7AF083241C0D1005EAF02174196438B2CAE083241E0A59B44C90217416EC5FE92AC083241C05F764FE302174167D5E70AAB0832416091ED7CFD021741D6C56D94A908324100A8C6CB17031741A0CDAA2FA808324180C7293A32031741BCEC9EDCA608324140A60AC64C0317416991EDDCB2083241F0694DF355031741CB073DDBB1083241B0832F4C6B031741191DC9E5B0083241005917B7800317413208ACFCAF08324140C5FE3296031741A5ADD81FAF083241C07F48BFAB03174152A60AA6AE083241706D3400B8031741A62C431C98083241A0384547030617411283C08AB5083241E0E76AABC50517416C91ED3CC3083241307CD0B3590417418004C5EFC5083241D0CE88D2130417414F6B9A57C908324110780B24BC0317412D55302ACA08324190BD5296A703174176029A08CB083241702BF61793031741363CBDF2CB083241D0E7FBA97E03174193CB7FE8CC08324170A8354D6A0317415639B4E8D8083241406C787A73031741D188D21EDA083241C057CA325B03174152B81E65DB083241A04A5906430317414EE3A5BBDC08324170B4C8F62A031741119C3322DE083241A001BC0513031741F3FDD498DF08324130EA0434FB021741C87F481FE1083241A0931884E3021741093D9BB5E208324140B4C8F6CB021741DFC7985BE4083241504D848DB402174176E92611E608324170A7574A9D0217412463EE5ADA08324100B072688F021741BDF5287CDC083241309D11A5730217411C8E75B1DE08324130E2581758021741E5D9ACFAE0083241F05B20C13C0217414F6B9A57E3083241605374A4210217410BF016C8E508324130A52CC3060217416819E2D8E6083241408FC2F5FA011741B8490C42D708324160E8D9AC8001174186B0E149D5083241003B704E8C011741C430994AD2083241E075E09CA9011741D5D78193CF0832417014AE47C5011741BA847CF0CC083241E0EA7335E1011741F8DBD761CA0832414041F163FD0117410BF9A0E7C708324150F2B0D01902174126651982C5083241A0B4A67936021741B2726831C3083241403FC65C53021741CFAACFF5C0083241D046037870021741FC088A3FB5083241E0E1E99562021741BF5B2061B308324160B81E057C0217419E45B693B1083241C09AE69D9502174101000000020000000001000000FFFFFFFF0000000003, CAST(490902 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (490903, N'{D087CF2C-9FE3-45AD-A73E-8193C25E1C4C}', N'001637479', 127140, N'VIP718', NULL, N'1637479', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot B', N'', N'', N'THAT PART OF LOT B, SECTION 32, METCHOSIN DISTRICT, PLAN 718 SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 27589 AND CONTAINING 0.70 OF AN ACRE MORE OR LESS', N'0079', N'0005', N'NO', N'PMBC-COMPILATION', 1, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:39:09.000' AS DateTime), CAST(N'2021-05-30T19:21:27.000' AS DateTime), 2846, 263, 0xBD0B0000010411000000DE718AAEA0083241A04E409367E316412A3A920B9E083241D032C43154E31641054625759B083241904E409340E31641460378EB98083241B0A223B92CE3164192C2F56880083241C0F5285C5EE3164192A0F811830832416079582873E31641EBFBA9D1850832418048BFFD87E316417636AB9E880832416005A3929CE316414950FC788B083241008BFDE5B0E31641E0361A608E08324170D85FF6C4E31641EE16489091083241E065F764D9E31641E2240641B5083241900D4F2FC5E41641479D8086CD083241D0718A8E92E416412C6EA3E1A8083241D0361A40A0E31641F1EBC019A608324160E3A59B8DE31641B5D1005EA308324130EBE2B67AE31641DE718AAEA0083241A04E409367E3164101000000020000000001000000FFFFFFFF0000000003, CAST(490903 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (491254, N'{1D6B9794-37C2-40F0-AB85-170CD25E2259}', N'005846595', 5460125, N'VIP6334', NULL, N'5846595', NULL, N'205823', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1, SECTION 14, RANGE 7, MOUNTAIN DISTRICT, PLAN 6334 EXCEPT PART IN PLANS VIP63462 AND VIP79497', N'0084', N'0021', NULL, N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', N'1081', CAST(N'2019-04-04T08:45:35.000' AS DateTime), CAST(N'2021-05-31T16:31:58.000' AS DateTime), 1081, 134, 0xBD0B000001040B0000004D840D8F24803141C009F9204B5C1C41459D80E626803141005F29CBF25B1C41A9A44EE0FF7F314190FE437AEB5B1C410D73C3BEFF7F3141108FF28FEF5B1C41B959519EFF7F314160FF2EA6F35B1C412F7EF87EFF7F3141A096F4BCF75B1C41AC04B960FF7F3141A09A3ED4FB5B1C4115109343FF7F3141005208ECFF5B1C412AC28627FF7F314160014D04045C1C4193A982F10180314100FBCBEE795C1C414D840D8F24803141C009F9204B5C1C4101000000020000000001000000FFFFFFFF0000000003, CAST(491254 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (491765, N'{093B9B71-EB1B-45D1-9BDD-6D85B356D9D2}', N'001656481', 3, N'NO_PLAN', NULL, N'1656481', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 3', N'', N'', N'THAT PART OF SECTION 3, OTTER DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 13911F AND CONTAINING 10.16 ACRES MORE OR LESS', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:54:01.000' AS DateTime), CAST(N'2021-06-24T09:52:12.000' AS DateTime), 41602, 2026, 0xBD0B000001049C00000027A089702CDB31419095438B15361741BFEC9E7C16DB3141605AD33CFD341741DFC7985B16DB3141D04F8D97FB3417413C70CE6806DB3141A0B27BF22F34174158EB50C902DB314100373084F63317416E437DAAFFDA314160D4869DBC331741A4F04B0DFDDA31417006825082331741C7188DF2FADA3141202044AF473317418F4EE85AF9DA314180A509CC0C3317415F5DDC46F8DA3141A0A223B9D13217413F60E530D9DA3141D07493989E321741D9A63758D9DA3141D0B39959B4321741F7861691D9DA3141D0043318CA32174122B07FDBD9DA3141C0E67CD3DF321741481B7037DADA314110FA948AF5321741B20AE4A4DADA3141000C993C0B331741410AD723DBDA3141001EA7E820331741132DB2BDDBDA314120DBF97E38331741BEFB482ADDDA3141A0642093673317411DE56EE6DEDA3141C0E97D7C96331741135ED4F1E0DA314160A2AB32C53317411BAA1B4CE3DA3141D0F04BADF33317413CECD8F4E5DA3141B0E10BE421341741273A92EBE8DA3141A0A8A4CE4F3417416F3D0AB709DB314140E5D0A2F2351741CECCCCAC0EDB3141104850FC31361741BD42ADC90FDB3141C05D4B4851361741CF5EE50A10DB3141808A54725A361741918A414310DB3141E03B09A063361741A47CBE7210DB3141306EE0D06C3617411F70599910DB314100EC500476361741B22410B710DB3141005CD1397F361741D0DEE0CB10DB3141D044D87088361741E561A176FBDA314170C798BB8B36174172A89840FBDA3141403BED3EB43617413E21743FFADA314100BD6391DC3617414907C974F8DA3141902C717304371741C62A6AE3F5DA3141608F3BA62B371741597E638FF2DA3141101CFDEB5137174147B6F37DEEDA31415094650877371741CB20B032ECDA314150F5B9DA88371741009A08BBE9DA314120F2D24D9A3717417C734694E7DA314130E8D92CA83717413BB4C896E4DA3141706DC5FEB937174162984C75E9DA314110CAC3C2C83717414AA321C2E2DA3141B09AA5FAEB371741700EB55ADBDA3141800E3FDD0C38174189CFF84BD3DA3141201111312B381741356303A4CADA3141005E15C146381741432BF771C1DA314130381B5D5F38174106F9E7C5B7DA314160A91BDA74381741E6F0BEB0ADDA3141D0BE84128738174188F91C44A3DA3141C0357BE69538174164E93B9298DA31416032123CA1381741FBA8CEAD8DDA3141809078FFA83817416B81E0A982DA3141D08A1B23AD38174183D0B39977DA3141D076BE9FAD38174102D5788975DA3141507FD93DEA381741D282A67173DA3141306BD6DAE9381741018F3F5A71DA3141E0157C58E9381741C44D61436FDA3141A0A3D1B6E8381741E30B292D6DDA314100EFDFF5E7381741FD0CB4176BDA3141508AB115E7381741068A1F0369DA314120BD5216E6381741B29DEF875BDA31417008AC9CDF381741418FBDE54BDA314170589AB9D938174105EE29323CDA314100F990F0D8381741738ECC872CDA3141D066E442DD381741C2AA2D011DDA314130E242A9E63817417AF398B80DDA3141F0D3C013F5381741CD05F1C7FED9314150C4F36908391741A9948348F0D93141F0B31B8B20391741688DDE52E2D9314120955A4E3D391741A681A6FED4D931414082F9825E391741319C6E62C8D931413041BBF08339174104659293BCD93141F07E3B58AD391741199511A6B1D9314190325A73DA3917415B376EACA7D93141605DB2F50A3A1741E44F8DB79ED9314170711B8D3E3A1741FE6E816491D9314130287E8C1E3A17417AC7299A84D9314110D04458743A17410B8195234DD93141F0891F63E83B17419D34B2DE47D93141D0C393970D3C17416B24B7F842D93141E0984F99333C1741394D97733ED93141D05A33595A3C174133211F513AD9314190B0D3C7813C1741D3D0F39236D93141D0B77FD5A93C17410BA3923A33D9314140454772D23C174178BE9FDA35D93141A01C5AE4D23C17410C24289E64D931411061C3D3DA3C17417834123D67D931411050F098C13C17410C93FB0C6AD9314170A614B3A83C17413656380D6DD93141F0712228903C1741230A113D70D93141600BF6FD773C1741A4DCC29B73D9314110AF543A603C17418CCB7F2877D93141501CEBE2483C174163EE5AA2C1D93141209E5E29703A1741B984DA63C5D93141B0B4A570593A174137660561C9D9314160B0F95C433A174150DC1698CDD93141001D24F82D3A17414C853007D2D93141F004A14B193A174126285BACD6D93141C0BA9A60053A1741DC938785DBD9314120C9E53FF23917413ADF4FCDDBD93141800DE02DF3391741EB1DA768E0D93141C0B20C71023A17419C314858EAD9314190998B6BE439174140E66FDBF4D93141807D05B9C9391741E22D5EE0FFD93141608F8E86B2391741B4D977540BDA314170FF51FB9E391741DA04662417DA314140D64F388F391741FEBB363C23DA31413040255883391741E7AA7E872FDA3141509ADF6E7B391741A7967BF13BDA31415098DA89773917411C6B376548DA3141F0B5A9AF77391741589FABCD54DA3141101B0DE07B391741D3DEE06B62DA314140F8C26482391741A539C8AF64DA314120D5767E83391741920765F466DA314140B4BF7F843917416CD5A63969DA3141404B966885391741332B7D7F6BDA31412001F43886391741DC8CD7C56DDA314190EFD2F086391741777AA50C70DA314110E02D908739174160E6344280DA3141B0DA08C388391741EB26156F90DA314190F0BE66843917413B3CD374A0DA3141F07D85837A39174134D14535B0DA3141606AF92B6B3917417102C692BFDA3141A021FC7C56391741D72F6770CEDA314110337D9D3C3917415B6F2DB2DCDA3141C00831BE1D391741C03A423DEADA314190353519FA3817410AF526F8F6DA3141B011A3F1D138174188E8E4CA02DB3141A0681193A538174109633A9F0DDB3141702F065175381741A69BC46017DB3141E04A598641381741558638F61EDB31412094870556381741EAAC12F221DB314180510C1C443817412C763DCF24DB3141B0FD1CE331381741F0BA348D27DB3141F071025E1F381741E5F3792B2ADB3141A04213900C3817411F5094A92CDB31418025B37CF937174127CB10072FDB314170545227E6371741865AD31C31DB314170D191DCD3371741DCE00B1333DB3141903E575BC1371741929915C737DB31417047B4098E371741E6C64F973BDB314150F5048D593717418D5D247F3EDB314120B36824243717413FCF147B40DB314140A51A10EE361741833EBE8841DB314140702491B7361741625DDCA641DB3141A0F90FE980361741900F7A562FDB3141205A64BB83361741C248F9212FDB31416023B944713617418FF9EDD02EDB3141909082D45E361741404064632EDB3141606E826D4C361741D97D6CD92DDB3141502A79123A361741A9531B332DDB3141806725C62736174127A089702CDB31419095438B1536174101000000020000000001000000FFFFFFFF0000000003, CAST(491765 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (491849, N'{C87DD117-F8E9-4C38-8CA9-331E9AF14DC5}', N'007642261', 647337, N'VIP1297', NULL, N'7642261', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 3', NULL, NULL, N'LOT 3, LOOP FARMS, ALBERNI DISTRICT, PLAN 1297 EXCEPT PART IN PLAN VIP64086', N'0163', N'0029', N'NO', N'ICF', 8, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2021-06-29T15:08:52.000' AS DateTime), 142778, 1516, 0xBD0B000001043000000097C42070CA8F3041008BFD65B8161D41C6E085F0C78F30418088CA78B2161D41FA43C651C58F30414027AD74AD161D41B2872D99C28F3041D09FC863A9161D41D5823BCCBF8F3041209F544EA6161D414D2C99F0BC8F304160A68C3AA4161D41BA2A0D0CBA8F3041E072A32CA3161D4129287024B78F3041A084BA26A3161D41FE00A13FB48F304160CDDD28A4161D41F4E67863B18F304100980331A6161D41FF8EBF95AE8F3041B0AA103BA9161D41F6821FDCAB8F3041A08EE040AD161D41D1AD1A3CA98F304170FD513AB2161D415E3AFFBAA68F3041504E571DB8161D413ADADC5DA48F304120C60ADEBE161D41458B7A29A28F3041D0A5C66EC6161D41D5EF4C22A08F3041E0BD40C0CE161D41A04D6D4C9E8F30412054A9C1D7161D41F04491AB9C8F3041201ECD60E1161D419A5103439B8F3041D00A3A8AEB161D4122249C159A8F3041008E6629F6161D413BE1BC25998F3041F023DB2801171D4177524A75988F304140B05D720C171D41B912A905988F3041606D1EEF17171D4145BDBAD7978F3041A006E68723171D411426DCEB978F3041508044252F171D41E69DE441988F30419099C0AF3A171D41CD4426D9988F3041703C071046171D414B696FB0998F3041509F1A2F51171D41F453E3659E8F3041A02BF6178E171D410F7A36CBA58F30416075719BAE181D417B4F1EF6A28F30411099BB9653191D4117D9CEB79D8F304160E6AE257F191D41D4D781F3948F304120827346511B1D412D90A018A48F304180E2C798E11C1D4167F7E441A98F304120D26F5F5F1D1D41D01951BAA78F3041C0506B9AB51D1D41E926312809913041F0F528DCD51D1D41AEB662BF109130414050FC18261A1D41E30209CA12913041B011A53D28191D419206F0F61291304130D7A37012191D41D9CEF713A8903041D09B332229181D4198C420F042903041F0B5847C9C171D4122EBE27639903041F0088A9F8E171D4127ED0D3E2D903041B003E70C6D171D41592041F10690304180B7408220171D41617FD97DE48F3041A0DD9307F8161D4197C42070CA8F3041008BFD65B8161D4101000000020000000001000000FFFFFFFF0000000003, CAST(491849 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (492218, N'{41EA5023-2405-41BE-AE83-6F9FDE917821}', N'013601717', 1485783, N'VAP2588', NULL, N'13601717', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'2000-03-14T00:00:00.000' AS DateTime), N'REM Lot 6', N'Block 6', N'', N'LOT 6, EXCEPT THE SOUTH 2.5 FEET NOW LANE, BLOCK 6 SOUTH EAST 1/4 OF SECTION 26 TOWN OF HASTINGS SUBURBAN LANDS PLAN 2588', N'0150', N'0010', N'NO', N'ICIS CADASTRE', NULL, NULL, N'UNKNOWN', N'0', N'330', CAST(N'2021-01-12T14:58:29.000' AS DateTime), CAST(N'2021-07-29T09:24:26.000' AS DateTime), 330, 86, 0xBD0B000001040600000009B5A6B9FD8E3241703F35DEB3261D41A73E57DB078F3241B0550E2DB5261D418D5374E4088F32411024287E32261D4121EBE296048F3241506519E231261D417458A8D5FE8E3241D0DEE00B31261D4109B5A6B9FD8E3241703F35DEB3261D4101000000020000000001000000FFFFFFFF0000000003, CAST(492218 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (492746, N'{F786069A-CA45-4C7C-A794-C36EACD518A9}', N'015508625', 496015, N'NEP1643', NULL, N'15508625', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1961-09-01T00:00:00.000' AS DateTime), N'Lot 9', N'', N'', N'LOT 9 DISTRICT LOT 2919 KOOTENAY DISTRICT PLAN 1643', N'0146', N'0019', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'697.0', CAST(N'2021-09-02T15:30:42.000' AS DateTime), CAST(N'2021-09-02T15:33:17.000' AS DateTime), 544, 125, 0xBD0B0000010426000000B4B662BFAC7F3841C0CCCC4C5CDD1D41C6D32B659C7F38412082E2C7AFDD1D41371AC03BA57F384130FED478CBDD1D41E4361AA0C97F3841904E401375DD1D4154DA1BBCC57F3841804082E268DD1D4154DAAD1EC57F38411030B2EC6BDD1D41AD02E070C47F38412078F8BC6EDD1D415AB505B4C37F384190A3D64D71DD1D41D6B68FE9C27F3841000B4A9A73DD1D413C5E0913C27F384100A2D59D75DD1D411D911532C17F384180B78A5477DD1D4196916B48C07F3841D0A410BB78DD1D41C2A4D357BF7F38412055ABCE79DD1D416D972362BE7F3841C09E408D7ADD1D4126293B69BD7F3841405B5CF57ADD1D410363006FBC7F3841C04133067BDD1D41EEE25B75BB7F3841B06FA4BF7ADD1D414821357EBA7F384130AC39227ADD1D4138B96E8BB97F3841E059262F79DD1D4134BAE29EB87F3841E01C45E877DD1D41420A5FBAB77F38414041145076DD1D4134E0A1DFB67F384190D5B06974DD1D41355C5610B67F3841F09CD03872DD1D41BE45114EB57F384180CBBAC16FDD1D4153F54D9AB47F384140B03F096DDD1D41A66F6BF6B37F3841104AAF146ADD1D4124B8A963B37F384170EBCEE966DD1D413A6027E3B27F384160F5CD8E63DD1D419E57DF75B27F384130C2390A60DD1D415E02A71CB27F3841E0DAF0625CDD1D4130982CD8B17F3841208E15A058DD1D413ED0F5A8B17F3841500000C954DD1D410EDC5E8FB17F3841E0D62FE550DD1D417EB3998BB17F384160903DFC4CDD1D413EB3AD9DB17F3841C0B2CB1549DD1D41508E77C5B17F384120E0773945DD1D410493A902B27F384110FBCB6E41DD1D41B4B662BFAC7F3841C0CCCC4C5CDD1D4101000000020000000001000000FFFFFFFF0000000003, CAST(492746 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (493890, N'{B48E7EFF-3308-4D82-BED9-7BFD93D444C3}', N'013766708', 1201467, N'KAP170R', NULL, N'13766708', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART NE4', N'8', N'20,8', N'THAT PART 1.74 ACRE PARCEL OF THE NORTH EAST 1/4 SECTION 8 SHOWN AS EXTRA RIGHT-OF WAY ON PLAN R170 TOWNSHIP 20 RANGE 8 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT', N'0163', N'0012', N'NO', N'PMBC-OPERATIONS', 5, N'DATACOMPILATION', N'UNKNOWN', N'0', N'5860', CAST(N'2021-10-18T12:22:45.000' AS DateTime), CAST(N'2021-11-15T11:37:20.000' AS DateTime), 7291, 972, 0xBD0B000001040B000000A6ADD8FF7AB63641280681D551F52341F663CC9D69B6364120AF94A5EDF42341F063CC5D58B6364180AF9425EAF423413E8B6C8777B6364100C58FB19DF523410E583914F4B6364188CE885268F82341E158177702B73641E8A7C64B5EF823413A70CE28B9B63641706DC5FEB7F62341FDFFFF7FB3B636419853746497F6234142F1638C91B63641B801BCC5D3F52341C0C1172686B636414061321592F52341A6ADD8FF7AB63641280681D551F5234101000000020000000001000000FFFFFFFF0000000003, CAST(493890 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (493894, N'{2972244F-4AE2-4434-A696-A22D38D38FF5}', N'012283011', 847623, N'KAP157', NULL, N'12283011', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'Block 59', NULL, N'LOT 1 BLOCK 59 DISTRICT LOT 455 OSOYOOS DIVISION YALE DISTRICT PLAN 157', N'0138', N'0022', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-11-15T14:13:23.000' AS DateTime), 1298, 144, 0xBD0B00000104050000001061C3B3FB403641F83D79D8B0292041790B242803413641100DE06D6629204141BD5296DF40364130C1A8E45E292041CEBCE3B4D8403641C0B12E6EA32920411061C3B3FB403641F83D79D8B029204101000000020000000001000000FFFFFFFF0000000003, CAST(493894 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (493931, N'{B84E9B84-A7D1-44BE-A6FF-979036D967D4}', N'016108116', 472072, N'NEP740', 22227851, N'16108116', NULL, N'5320369005', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 19', N'Block 7', NULL, N'LOT 19 BLOCK 7 DISTRICT LOT 267 KOOTENAY DISTRICT PLAN 740', N'0053', N'0018', N'NO', N'ICF', 0, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-11-17T09:52:31.000' AS DateTime), 358, 88, 0xBD0B00000104050000007B48BF9D85033A41A0711BCD902A244132E6AEC58A033A41D8BE0E1C7E2A2441704694766D033A4148C4B1AE5D2A2441E07A144E68033A41F8088A5F702A24417B48BF9D85033A41A0711BCD902A244101000000020000000001000000FFFFFFFF0000000003, CAST(493931 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (495022, N'{E65CE3B3-2932-4D7C-AD2D-C62FCCB77197}', N'011334711', 7306027, N'KAP1272A', NULL, N'11334711', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Parcel 3', N'Lot 313', N'', N'PARCEL 3 (PLAN A1272) OF LOT 313 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 1790', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', N'29163', CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2022-01-24T14:29:41.000' AS DateTime), 28615, 962, 0xBD0B000001043800000048696F10006A364150567D2E802C1D41C20E9CB30B6A364180C48F31A22C1D41C27493581A6A3641902041F1762C1D41F4FDD4F8216A3641B0AF03E72A2C1D412BA913102D6A364100D7A3F0EE2B1D41CD19517A366A364130CF6655B52B1D4116C05BE03C6A3641C00E9CB3892B1D41D80968C2456A3641A09BC4204D2B1D41B0FA5C8D576A36419011A5BD072B1D417458A8F5646A364110EEEBC0C12A1D414650FC98736A364100BD5296B92A1D415D4BC8C7856A3641500B24A8A82A1D41C68F31B7936A3641902041F1AA2A1D412F8EC5CEA86A3641101B21F4422A1D417E8CA1B5BC6A364150F5C046D7291D41F2177761CF6A364100D3E32068291D41C0E19AC8E06A364110F418BCF5281D41E0C009E2F06A364120EA9D5380281D41F55C6DA5FF6A3641A0E53F2408281D41E7D0229BF36A364130C2F5281A281D415D5DDCA6E96A364140F6975D18281D41EE85C994DD6A3641C0F90FE916281D41B5B88D66CE6A364120BD521619281D41F60FE937C66A36416017B7511A281D4141F163ACC26A364190C7293A03281D415C325590BC6A3641E023B9FCEC271D41B615FB6BB56A3641E0BCE314AB271D413E1361A3B36A364100363C3D67271D41AF1C5AA4B16A3641A01A2F5D40271D41EAB6F2CBA76A3641203B26AD96271D4145FD4B2C9D6A36418012D07FEB271D418544FFC8916A3641606570B83E281D41EC28E8A5856A364160DFD53A90281D41BF3F23C7786A364150A263EBDF281D4196B20C316B6A3641909F1AAF2D291D415BA0A901686A3641E086BFF83E291D419D2234C9646A364110206B2750291D411F80BA87616A36419040D13A61291D41B4274B3D5E6A36411036A63272291D41BEAFF4E95A6A364160C89E0E83291D4138D6C58D576A3641003B70CE93291D41AD9F7558456A3641906C2ED8E8291D417E08283E326A3641B0ECBEAE3A2A1D419014DA471E6A364140F19F2B892A1D41F54BF07E096A36419041E329D42A1D41994F32EDF3693641C0943F861B2B1D41183FC69CDD693641A02D211F5F2B1D41606DC5DEDA69364110FF21FD982B1D415E5452E7DB693641C088D2DEB72B1D41C4D32B85E1693641E0285C0FD12B1D413A5EBA69ED6936412008AC9CF02B1D417FB740C2EF69364120363CBD092C1D415AC1A824F4693641E01DA7E8232C1D4162EE5A22F8693641A0749318312C1D41682BF6F7FC693641D07BF2304D2C1D4148696F10006A364150567D2E802C1D4101000000020000000001000000FFFFFFFF0000000003, CAST(495022 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (495092, N'{46FB6DCF-A058-4378-98E3-8514ACD68188}', N'010690093', 473133, N'KAP3984', NULL, N'10690093', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1 SECTION 19 TOWNSHIP 4 OSOYOOS DIVISION YALE DISTRICT PLAN 3984 EXCEPT PLAN H16528', N'0134', N'0012', N'NO', N'ICF', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2022-01-26T15:09:35.000' AS DateTime), 4190, 262, 0xBD0B000001040C0000009228EDEDFB9A36416817B7D12FF92241B3506B9A019B36418801BC4558F9224135014DE40B9B3641683EE8194EF922414F499DE01C9B3641D89C11653DF9224169666646409B3641E05817771AF922416BD5E7EA1E9B364130FE43BAA2F822412085EB71FA9A36411824283ECAF822414F05A372F59A364170BE9F5ACFF822415D522760EE9A3641807EFBBAD2F8224161BA49CCEF9A3641D8C03963DCF82241A067B38AF49A364190C954C1FCF822419228EDEDFB9A36416817B7D12FF9224101000000020000000001000000FFFFFFFF0000000003, CAST(495092 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (497418, N'{D576CC60-6BC1-4B8A-A9C0-37CC62A31DC7}', N'001592564', 141191, N'VIP1291', NULL, N'1592564', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 8', N'Block 8', NULL, N'THAT PART OF LOT 8, BLOCK 8, SECTION 9, ESQUIMALT DISTRICT, PLAN 1291 INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0154', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:57:07.000' AS DateTime), CAST(N'2020-05-13T16:42:44.000' AS DateTime), 4, 9, 0xBD0B0000010404000000839543AB8D2B324150C286A7EF9A174168F7E421902B32417025E403F99A174121D26F7F902B3241D0E4D0A2ED9A1741839543AB8D2B324150C286A7EF9A174101000000020000000001000000FFFFFFFF0000000003, CAST(497418 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (497716, N'{C46BA79D-2F78-4220-BCBF-1B6FEC92F5DF}', N'001675192', 3191875, N'VIP1215OS', NULL, N'1675192', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, NULL, NULL, NULL, N'THAT PART OF THE UNNUMBERED PORTION OF MALAHAT DISTRICT SHOWN COLOURED RED ON PLAN 1215 OS AND LYING BETWEEN THE WESTERLY BOUNDARY OF LOT 6, BLOCK 49, PLAN 218B AND THE SOUTHERLY BOUNDARY OF LOT 4, BLOCK 48 OF SAID PLAN 218B AND CONTAINING 0.71 OF AN ACRE MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T22:16:26.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 3025, 304, 0xBD0B0000010405000000D3DEE0EB0CEA3141E04D6210CB89184166226CD80DEA314170984C95C2881841A90A46C5CDE931413082E247B28A18417C0B24A8EEE93141B0DBD701B48A1841D3DEE0EB0CEA3141E04D6210CB89184101000000020000000001000000FFFFFFFF0000000003, CAST(497716 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (497939, N'{C20815E6-D0BA-4D96-BEA5-08164A2A687C}', N'003812316', 127336, N'VIP17799', NULL, N'3812316', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1, SECTION 17, RANGE 4 EAST, SOUTH SAANICH DISTRICT, PLAN 17799 EXCEPT PART IN PLAN 2418 RW', N'0016', N'0005', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:17:48.000' AS DateTime), CAST(N'2019-01-05T10:55:23.000' AS DateTime), 825, 115, 0xBD0B0000010406000000499D80E69E333241E04A5986D93518415F8FC2F57933324130A1D6B4D4351841EA51B8DE77333241E0CEF7D3093618419EF831867D333241F0FACBEE3E361841F3D24DE29233324120D26F5F42361841499D80E69E333241E04A5986D935184101000000020000000001000000FFFFFFFF0000000003, CAST(497939 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (500515, N'{05566526-A386-48DD-8AE9-E080B2A0EEAC}', N'012457701', 849058, N'KAP217', NULL, N'12457701', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 6', N'Block F', N'', N'THE SOUTHERLY 1/2 OF LOT 6 SHOWN ON PLAN B859; BLOCK F DISTRICT LOT 449 OSOYOOS DIVISION YALE DISTRICT PLAN 217 EXCEPT: (1) PLANS 19253 AND H783 (2) PART LYING NORTH OF PLAN H783', N'0098', N'0016', N'NO', N'MODIFIED-ICIS', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-06T13:28:44.000' AS DateTime), 1712, 168, 0xBD0B000001040B000000E62631083B2C3641C80E9CF3E2D12041A061BA56412C36412078461EEAD120411701DAB0472C364110EB891FF1D120417D134C164E2C3641A0791BF7F7D12041D22DCC86542C364148F4B1A4FED12041F26E15025B2C364118EC052805D220414082E287612C364150B7D1800BD22041E2361AA07B2C3641D0FBA9F1DFD12041B3EA73D5612C3641582EFF61A2D120418F4AEAC4612C364140355E3AA2D12041E62631083B2C3641C80E9CF3E2D1204101000000020000000001000000FFFFFFFF0000000003, CAST(500515 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (500574, N'{BA3A2DEB-596F-4BA5-B67B-9BBE19FC10B7}', N'011680393', 3, N'NO_PLAN', NULL, N'11680393', NULL, N'7865650025', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART A', N'6674', N'', N'PARCEL A (REFERENCE PLAN 81490I) DISTRICT LOT 6674 KOOTENAY DISTRICT, EXCEPT PART INCLUDED IN PLAN NEP22133', N'0163', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-01-09T12:30:14.000' AS DateTime), 39370, 1233, 0xBD0B00000104200000009A2A1815EA493A4130E4831E14AE1E41A6E8482ECC493A4110E2E995BAAE1E4110F2418FFE493A4160C4B1AE3DAF1E418E45E60B024A3A41E08B2AD11DAF1E41C0264212054A3A41F0C48134FDAE1E41F09ECA9F074A3A4160B821F4DBAE1E41FD495AB2094A3A41B04FFE2BBAAE1E41E62333480B4A3A4140967DF897AE1E41FAFFFF5F0C4A3A4110D95F7675AE1E41423EE8D91A4A3A41003A92CBD8AC1E419A2A1815EA493A4130E4831E14AE1E41147C61B2144A3A411076E01C3BAF1E41F12FBBC7174A3A4130B072E87BAF1E4133C4B1EE864A3A41F0DA68808EB01E41304CA6EAD34A3A41304772F99DAE1E418A855A33E34A3A41804160653BAE1E41C8FEB25BFA4A3A415027A009A6AD1E4162B3EAD3054B3A41C004C50F5CAD1E415339B428F04A3A41C003E78C26AD1E4102E78C28B94A3A4120355EBA9EAC1E41567DAE16934A3A41807DAEB640AC1E41265305A3A14A3A4160C42030BBAC1E4180D0B379794A3A41B07DAEB6B0AD1E4135AB3EB72E4A3A4140835149E5AC1E4138674449204A3A41307CD0337EAE1E41C532C4711F4A3A41F075E09C9AAE1E41B125E4831E4A3A4180522720B2AE1E414ABF7DBD1C4A3A4100075F18D5AE1E4142E8D94C1B4A3A41E00CE02DECAE1E41A713D0C4184A3A4150D49A660EAF1E41C00512D4164A3A412066F7E424AF1E41147C61B2144A3A411076E01C3BAF1E41020000000200000000020B00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(500574 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (501142, N'{E5C4E662-88C1-4F71-9891-CDC8C3EC53B1}', N'002773112', 3, N'NO_PLAN', NULL, N'2773112', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'A', N'174', N'', N'PARCEL A (DD 133709F AND PLAN B6291) OF DISTRICT LOT 174 SIMILKAMEEN DIVISION YALE DISTRICT', N'0059', N'0022', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2018-01-09T12:28:35.000' AS DateTime), 3522, 275, 0xBD0B00000104050000009C89B0C128213641308A1F6329991D41634BC8C7C120364130158CCA0F991D4181B740A2BF20364190976E1298991D4189635D9C26213641500C02ABB1991D419C89B0C128213641308A1F6329991D4101000000020000000001000000FFFFFFFF0000000003, CAST(501142 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (502736, N'{3A38360B-8305-4252-9EFC-110E76820BF6}', N'009827170', 3191875, N'VIP1215OS', NULL, N'9827170', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 6', N'3', N'', N'THAT PART OF SECTION 6, RANGE 3 SAHTLAM DISTRICT, SHOWN COLOURED RED ON PLAN 1215 OS AND CONTAINING 5.75 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T17:54:21.000' AS DateTime), CAST(N'2019-01-10T15:04:04.000' AS DateTime), 24571, 1612, 0xBD0B00000104460000001EFDF6956BA7314180226CF8068E1941CD971DE16CA7314150610A1CFC8D1941DAF9E31F6EA73141D0679C28F18D1941CD7B30526FA7314190D1031FE68D19412E77EA7770A7314140052400DB8D19419A48FA9071A73141401EE2CCCF8D19418051499D72A7314140DD2486C48D1941DA5F762F7DA7314170E4F21F4F8D194188855A7386A73141B0ACFA5CE88C1941EB1DA74891A73141C0408262708C1941E85817C694A73141E0E6C6F1458C19417CA37D0B99A731414008A1A91C8C19417EDCC4129EA7314160EDDAC4F48B19419DC7C3D4A3A73141A0C7447CCE8B19412E404749AAA7314160C66306AA8B194199E61D67B1A7314150742497878B1941293A1EB7B3A73141D0B0E5F27B8B19416C36D513B6A7314150D1C677708B19410A28157DB8A7314180F4A526658B19414569AFF2BAA73141A00C5E005A8B19415A657474BDA7314170CEC6054F8B1941109C3302C0A7314140A2B437448B1941B225E403C4A73141D0DD9307348B194152742437C9A7314140F7E461208B1941DE02092ACEA73141702D219F0E8B1941E1F15245DBA7314110227DE4E48A1941CA00A527E9A73141C0BDD366BF8A194133FC1EBBF7A73141301E37619E8A19411890C9E806A8314170CDAE07828A19415477BA9816A83141D0C9E5866A8A1941CB293AB226A831416025E403588A19417A14AEA72DA83141D00C71AC518A1941AF9465E8C7A93141E0FC8774F988194122FDF6F5C9A931418038D64577881941186A4D732FA83141C08EE4F2CC891941482EFF4127A83141F00C712CD48919419E1A19A717A83141F08B75ABE48919418E79B85608A8314100DCAD11F98919418BAE7760F9A73141D02E514A118A1941BB4995D3EAA7314190D1B13C2D8A1941867FE4BEDCA73141B05356CC4C8A1941F30DBE30CFA73141108716D96F8A19417D26C2E6C7A73141E01261C3848A1941701B0DC0C3A73141C0408262918A19418FD9483CC0A73141807602849C8A1941124BE4C4BCA73141E007EFE2A78A1941C884225AB9A7314140E86B7EB38A19411DA745FCB5A7314130779855BF8A1941D7D88EABB2A7314120918F67CB8A194158423E68AFA7314130A167B3D78A19411B1DC9E5AAA73141508FC275E98A194150AF94C5A7A7314150A8354DF68A1941D8CEF7B3A4A73141B0F5285C038B1941ECFBA9519DA7314140EF38C5248B194160E4C97894A7314150CC3112518B1941DBE49F408CA7314190621A447F8B194128C1A5AF84A73141E0A88D36AF8B19415285D1CB7DA731413032C5C3E08B194135D3909A77A7314160F4B6C4138C1941AC9BC42072A73141E0043411488C194154DA1B1C67A73141F0EE3845BA8C1941423EE8395DA7314160D0B3D9208D19410B1B9E9E4FA73141C05E294BAE8D19416FDAD4214EA73141703D6107BD8D1941EF629D884CA73141901EA993CB8D1941C01D58D34AA73141209393ECD98D19410D106C0249A731416045BF0EE88D1941D0C2461647A73141A0C5D7F6F58D1941F8285C0F45A73141A05296A1038E19411EFDF6956BA7314180226CF8068E194101000000020000000001000000FFFFFFFF0000000003, CAST(502736 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (502737, N'{BF72DA9C-C077-49C3-AA3F-3FA3BC56CA78}', N'009763538', 3191875, N'VIP1215OS', NULL, N'9763538', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 65', N'', N'', N'THAT PART OF THE UNNUMBERED PORTION OF COWICHAN LAKE DISTRICT, SHOWN COLOURED RED ON PLAN 1215 OS, LYING BETWEEN THE NORTHERLY BOUNDARY OF DISTRICT LOT 49, AND THE PRODUCTION OF THE EASTERLY BOUNDARY OF DISTRICT LOT 57 OF SAID DISTRICT, AND CONTAINING 2.49 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T22:26:56.000' AS DateTime), CAST(N'2019-01-10T15:04:03.000' AS DateTime), 10315, 749, 0xBD0B000001041900000069AA603427893141408C4A6A63B71941880D4F4F2C893141C07C3F3553B719410266F7643E893141B0A982D11AB71941248716B950893141B0A0F8B1E3B6194185A7574A6389314150AC8BDBADB61941C78F3117768931414017B75179B61941833F351E89893141A0BD301946B61941EE63CC5D9C893141E0EA733514B61941A433A2D4AF893141F0C264AAE3B51941BE5B2081C38931410048507CB4B519419D89B061D789314190567DAE86B519410CD7A350FF8931419075711B30B519415DFE43DA588A3141C01DA7E875B4194106A3921A1B8A3141204547F26CB41941DE2D90C0CD893141606F81840EB519418ADB6800B4893141606DC5FE45B519413CB4C8F6A189314140CF66D56EB51941E1C7981B90893141206822EC98B51941EE1648707E89314160A4DF3EC4B51941E46A2BF66C893141B05E29CBF0B51941ACDFBEAE5B89314180711B8D1EB61941CA073D9B4A89314120B7D1804DB61941DAACFABC3989314170C139A37DB619413FCF66152989314180FB3AF0AEB6194169AA603427893141408C4A6A63B7194101000000020000000001000000FFFFFFFF0000000003, CAST(502737 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (502794, N'{95ADCCAD-4186-4B26-A7FE-0185E32303E5}', N'012916421', 250099, N'PRP1212', 90084130, N'12916421', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 6', N'', N'', N'LOT 6 DISTRICT LOT 6309 RANGE 5 COAST DISTRICT PLAN 1212 EXCEPT PLAN 11879', N'0011', N'0001', N'NO', N'ICF', 3, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:18:29.000' AS DateTime), 3, 9, 0xBD0B00000104040000009128ED8D4BFD2E41E0E995F2C7442F4106F7756045FD2E411841F163C3442F41B90E9CF348FD2E411024287EC9442F419128ED8D4BFD2E41E0E995F2C7442F4101000000020000000001000000FFFFFFFF0000000003, CAST(502794 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (503126, N'{A0782CD5-3261-44B5-9535-F13B20C4191A}', N'016860888', 487082, N'NEP729', NULL, N'16860888', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'', N'', N'THAT PART OF LOT 6 DISTRICT LOT 4780 KOOTENAY DISTRICT PLAN 729 SHOWN OUTLINED IN RED ON PLAN R36', N'0163', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:09.000' AS DateTime), 525, 142, 0xBD0B00000104050000009206F09639E63841709318C45D972041CE44D85041E63841B0F5285CE496204178A52C4330E6384108AE4721E0962041BCAF032739E6384108DBF97E579720419206F09639E63841709318C45D97204101000000020000000001000000FFFFFFFF0000000003, CAST(503126 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (503452, N'{B8449CBD-E5C6-4C0F-A4C8-33D10A85E81D}', N'009987088', 249527, N'PRP6361', 90054577, N'9987088', NULL, N'01188.015', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'', N'', N'LOT 5 DISTRICT LOT 1662 RANGE 5 COAST DISTRICT PLAN 6361', N'0163', N'0001', N'NO', N'ICF', 6, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:32:06.000' AS DateTime), 5324, 471, 0xBD0B000001040D000000199E5E6985F63041E80B93E992EE2F41EA51B8BE68F63041D066D5A790EE2F41D3F7538364F6304120136183EBEF2F41A6A44E8064F6304110363C7DECEF2F416E3480D763F63041E882518922F02F41F041CF0673F63041B8F3FDD444F02F410B5F57CD76F6304178EFD0EE1AF02F41CD2C3E0D7AF6304168B396DBF0EF2F411C0CFEC57CF63041505711A2C6EF2F413C1327F77EF63041001A09499CEF2F41BE1F5FA080F6304188484BD771EF2F41FBE461C181F63041202AA95347EF2F41199E5E6985F63041E80B93E992EE2F4101000000020000000001000000FFFFFFFF0000000003, CAST(503452 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (503477, N'{3D69F840-D6EB-4361-AEF1-6A544EF86AFF}', N'010475915', 292171, N'PGP6480', 4691881, N'10475915', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 4', N'', N'', N'LOT 4 DISTRICT LOT 8908 CARIBOO DISTRICT PLAN 6480 EXCEPT PLAN 29853', N'0163', N'0002', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2019-01-11T18:31:01.000' AS DateTime), 8122, 463, 0xBD0B0000010405000000F575E05C9AD43241101AC05B6B0F2B41D15D4B0898D4324120B5A679C10F2B416B19E29849D5324108E02D90D20F2B41C0F5289C5CD5324160F5B9DA7B0F2B41F575E05C9AD43241101AC05B6B0F2B4101000000020000000001000000FFFFFFFF0000000003, CAST(503477 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (503523, N'{E30D7F71-045C-4381-82C6-D82DBB39AB13}', N'015154742', 486734, N'NEP2964', NULL, N'15154742', NULL, N'7077922020', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot C', N'', N'', N'LOT C DISTRICT LOT 5665 KOOTENAY DISTRICT PLAN 2964', N'0163', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:21:31.000' AS DateTime), 11703, 438, 0xBD0B00000104070000003F82E2C7A9CA3841002DB29D82562041A43E57DB3ACA3841A86588E365562041D778E9A635CA3841709A779CBB5620413470CE082CCA38413880B7405757204198C420709FCA384120FBCB2E3057204184613295A3CA384188D2DEA0EA5620413F82E2C7A9CA3841002DB29D8256204101000000020000000001000000FFFFFFFF0000000003, CAST(503523 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (504061, N'{E8BDA204-B427-45D5-9829-6CE62C262E28}', N'000017019', 3, N'NO_PLAN', NULL, N'17019', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 246', N'', N'', N'THAT PART OF DISTRICT LOT 246, ALBERNI DISTRICT, INCLUDED IN PLAN 277 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:59.000' AS DateTime), 6871, 1151, 0xBD0B000001044A000000570E2DD2F49E3041D04B37099B0D1D4122D26F7FF99E3041A000DE02840D1D4130E6AE45FE9E304120CE88526D0D1D4193537424039F3041B04603F8560D1D415BEC2F1B089F304120FED4F8400D1D415196212E0D9F3041408195432B0D1D412385EBF12F9F30412074B515990C1D41885AD37C339F3041E0C420308A0C1D41831D3827239F3041807E6A3C880C1D4176832F6C049F3041D07C3FB5090D1D4125871639FF9E3041F06722EC1F0D1D41EAE2361AFA9E3041E0BB0592360D1D41C1051214F59E3041F0BB05924D0D1D417B14AE27F09E3041401D38E7640D1D41CEB35955EB9E304170BC74937C0D1D4132FF219DE69E3041A0051294940D1D41545BB1FFE19E304150D49AE6AC0D1D418448BF7DDD9E30415027A089C50D1D419B438B6CDA9E304180438BECD60D1D41FE187317D99E3041A047E17ADE0D1D4136DF4FCDD49E304130355EBAF70D1D41B0B6629FD09E30419037F842110E1D414D1E16EACF9E304160EE5AC2150E1D41FC43FA8DCC9E3041904F1E162B0E1D41CE22DB99C89E3041B0E8482E450E1D4131D49AC6C49E3041D021FD765F0E1D41C164AAA0BA9E3041D01283C0A60E1D41022B87F6AA9E304100151DC9140F1D41F7C1BF39A99E3041F0265F4A200F1D41D45FC576A79E3041D00B82BC2B0F1D41443EA0ADA59E3041F053501F370F1D41D0B358DEA39E3041C0D39472420F1D418233F708A29E304180AB1AB64D0F1D41034D842DA09E30413043ADE9580F1D4187143A88969E3041301A3EF18E0F1D415FEDCF1D8C9E3041E0CB50A2C20F1D41156851F7809E3041407D01D0F30F1D41416A6D1E759E3041700F9B4F22101D419AC56D9D689E30418032BCF84D101D41E7482E7F5B9E304160787AA576101D419E01BCA5219E3041301C7CE11E111D4192537484139E3041F0D9ACFA47111D41CD44D8B0139E3041D08FA0F847111D412C0F0B95A39D3041A0832FCC8E121D4181D0B399A39D30414092CB7FBC121D41CD6F5F67A89D3041800EBE30BC121D41A735CD1BA99D3041B00A4625BC121D41F9A06713299E304100E10B9346111D41ADEA73B5629E3041903D0A579E101D415AE3D48C6E9E3041A0790BDF79101D41C4D30BEB799E3041901D4C1153101D414CCBBCC8849E304140D0EA062A101D41960CDF1E8F9E304180EB78DAFE0F1D413A9BC1E6989E30410049E9A7D10F1D4198900F1AA29E304150287E8CA20F1D41B7270F0BA59E304190D2DE60920F1D41C03923EAA79E3041F0240601820F1D41DD4603B8AA9E304150204171710F1D41FAFBE489AC9E304190703F57660F1D419FBF1754AE9E3041603253295B0F1D41D8F28D16B09E3041207AD1E74F0F1D416B313AD1B19E304130F00F93440F1D417A520F84B39E304110D2642B390F1D41D968002FB59E3041A0E926B12D0F1D41F54A5946CF9E3041304703F8770E1D4193180416D39E3041300F0B355E0E1D41490378EBD69E3041606210D8440E1D4100F775E0DA9E3041707CD0B32B0E1D413F575BF1DE9E304110D044D8120E1D41BDE3141DE39E304120810445FA0D1D41CDF75363E79E304130B7D100E20D1D4157D3BCC3EB9E3041B0DD9307CA0D1D4124ED0D3EF09E304100F77560B20D1D41570E2DD2F49E3041D04B37099B0D1D4101000000020000000001000000FFFFFFFF0000000003, CAST(504061 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (504062, N'{0C3CD785-5F6C-425B-99A3-A02A1C8160F8}', N'000016896', 3, N'NO_PLAN', NULL, N'16896', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 17', N'', N'', N'THAT PART OF DISTRICT LOT 17, ALBERNI DISTRICT, INCLUDED IN PLAN 277 RW', N'0163', N'0029', N'NO', N'MODIFIED-ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:59.000' AS DateTime), 5050, 865, 0xBD0B000001044E0000008CD2DEC0A19F304120CB10C7E1081D4199658843A69F304160B3EAF3BE081D41B715FBEBAA9F304120D7A3709C081D412A189594AE9F304170AEB66282081D415F6DC5BEAF9F3041209A081B7A081D41E88C28ADB49F3041C01B7C6158081D41DD9C11C5B99F30411088F4DB36081D4116AE4701BF9F304190E926B115081D419C923A61C49F304100D34DE2F4071D41192FDDE4C99F3041F0D78173D4071D41D9E76A8BCF9F304180F83166B4071D41D4BCE354D59F3041F0353CBD94071D41C164AA40DB9F3041E0FE217D75071D419231774DE19F3041705374A456071D41E1361A80E79F304170E53F2438071D41F8E461A1EF9F3041D0B6D18010071D41ED5A42BEF09F30419067B36ABE061D41794F1E16DE9F3041109C332219071D41D46F5FC7D79F3041F0C48F3138071D4119E25897D19F3041207E8CB957071D41F6B9DA8ACB9F3041C02FBBA777071D4168F7E4A1C59F30416048BFFD97071D413C1136DCBF9F3041A0A223B9B8071D416307CE39BA9F304140635DDCD9071D4150DA1BBCB49F3041D01A9E5EFB071D41D1F75363AF9F30411012143F1D081D41FA285C2FAA9F304110917E7B3F081D41B8AF0327A59F304190F90FE961081D419E923A21A59F3041B04E401362081D4139B4C8F6A39F3041B088D25E6A081D41A2A22339A09F304160DBF9FE84081D41733480779B9F3041705BB13FA8081D41AA2C43DC969F30411017B7D1CB081D41EA263168929F304100C58FB1EF081D411D5A641B8E9F304160AD69DE13091D41B3D85FF6899F30416018955438091D4105B5A6F9859F3041B0BB96105D091D413CF8C224829F30417029CB1082091D4110D044787E9F3041F060C353A7091D419206F0F67A9F3041C035CDBBCC091D41F8A06733599F3041300BB5A63E0B1D419C61063D549F304120090128700B1D41D610FC814E9F30411064CA50A00B1D41AF521608489F3041F0014CF0CE0B1D411D12E4D5409F3041500C4FD7FB0B1D41C7DCAEF2389F304100C25AD8260C1D41DA817366309F30413082E2C74F0C1D41BE637C252F9F3041008B914F550C1D417D94A9E22D9F3041C0D679D05A0C1D41155EFD9D2C9F3041A068914A600C1D41DC0D7A572B9F30411050CEBD650C1D4185F4210F2A9F304110A7262A6B0C1D410166F7C4289F3041E096908F700C1D4132C4B1AE289F3041E08C28ED700C1D415E4BC847279F3041703EE8D9760C1D41CC6D3480239F304180CAA1C5860C1D41831D3827239F3041807E6A3C880C1D41885AD37C339F3041E0C420308A0C1D41D50B346D349F304130817151860C1D4189E3C75B359F3041800BD26B820C1D414BAD8B48369F3041B0C94F7F7E0C1D41213B7C33379F3041A038F88B7A0C1D414465961C389F304170EED891760C1D41430AD703399F30414097FF90720C1D410B317427429F3041507143EF460C1D416BA9D0964A9F3041F0271217190C1D419EC45F49529F3041504AE336E90B1D4197315437599F304110733D7FB70B1D416DE5A7595F9F3041401B8522840B1D41C33923AA649F30410086C9544F0B1D410144FA6D869F3041808BDB68DD091D41368941E0899F304110C05BA0B8091D41DA3D79788D9F304180560E2D94091D41FA065F38919F3041006B2BF66F091D413C92CB1F959F304160006F014C091D4153840D2F999F3041F0847C5028091D4137014D649D9F3041308B6CE704091D418CD2DEC0A19F304120CB10C7E1081D4101000000020000000001000000FFFFFFFF0000000003, CAST(504062 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (504850, N'{8294813A-8552-4427-B0E8-EB79FF1241D4}', N'010465553', 3, N'NO_PLAN', NULL, N'10465553', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'10156', N'', N'', N'DISTRICT LOT 10156 CARIBOO DISTRICT EXCEPT PLAN PGP35941', N'0163', N'0002', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2019-01-11T18:14:22.000' AS DateTime), 78549, 1212, 0xBD0B000001040D000000B9627F59CBB831411893A9C20DFF2A410E7A36EBA5B83141886CE73B0BFF2A41AE69DE1138B83141302AA9D303FF2A41C4EC9E7C2AB83141804160A529022B419E11A5BD75B83141F895B2CC2E022B41450C024BACB8314150029A8832022B411AB7D1E0F4B83141B028ED4DC9012B41B61E856BF6B83141E85296E16D012B410724285EE2B831413894F6866C012B4162BA490CE3B831417847723944012B41B4627F19F7B83141C073469445012B416691ED9C00B93141F03D795811FF2A41B9627F59CBB831411893A9C20DFF2A4101000000020000000001000000FFFFFFFF0000000003, CAST(504850 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (506203, N'{01F26930-5D43-4C21-BAD7-4DC96280A365}', N'015506851', 493958, N'NEP2149', NULL, N'15506851', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 301A KOOTENAY DISTRICT PLAN 2149', N'0163', N'0004', N'NO', N'ICF', 7, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:20:31.000' AS DateTime), 916, 198, 0xBD0B00000104060000009BE61DE70E7A38411054E3A5B1711F41F8B9DA2A2E7A3841000BB5A6FE711F41F497DD93377A3841E07BF2B0C1711F4109D7A3D0157A3841A01A9EDE84711F41BA490C22E279384140B0726843711F419BE61DE70E7A38411054E3A5B1711F4101000000020000000001000000FFFFFFFF0000000003, CAST(506203 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (507406, N'{8BA6C21C-7DF6-4C20-9D41-49697F194C4E}', N'004266790', 8166045, N'KAP1787B', NULL, N'4266790', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1986-06-21T00:00:00.000' AS DateTime), N'Lot B', NULL, NULL, N'PARCEL B (PLAN B1787) OF LOT 22 DISTRICT LOT 209 OSOYOOS DIVISION YALE DISTRICT PLAN 576', N'0163', N'0022', NULL, N'PMBC-OPERATIONS', 3, N'LSA', N'UNKNOWN', N'0', N'596.7', CAST(N'2021-01-21T13:26:02.000' AS DateTime), CAST(N'2021-03-08T14:58:03.000' AS DateTime), 597, 135, 0xBD0B0000010405000000EAAE2544E054364108098A5FFF202041BED32BC5DD543641E8F21F52DF20204112583954BE543641A0FB3AB0B42020415C863876AC5436416809F920B9202041EAAE2544E054364108098A5FFF20204101000000020000000001000000FFFFFFFF0000000003, CAST(507406 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (507495, N'{B7A0DE27-303B-4A76-AFF5-9BA715890438}', N'003314448', 1167463, N'NWP2742', NULL, N'3314448', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2012-09-10T00:00:00.000' AS DateTime), N'REM Lot 18', N'', N'', N'LOT 18 SECTION 8 BLOCK 5 NORTH RANGE 2 WEST NEW WESTMINSTER DISTRICT PLAN 2742, EXCEPT PLAN EPP21607', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T09:11:25.000' AS DateTime), 694, 110, 0xBD0B00000104050000000DE02DD0EABC3241E0FBA9718CC41C412C08AC5CECBC3241904ED111F8C31C414AB6F33DD8BC324140C4B1AEF4C31C4186B0E1E9D6BC324160B20CF173C41C410DE02DD0EABC3241E0FBA9718CC41C4101000000020000000001000000FFFFFFFF0000000003, CAST(507495 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (511001, N'{80684743-0ED0-4367-9981-36F85EB2D4EC}', N'003176002', 1480939, N'NWP3047', NULL, N'3176002', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2015-10-13T00:00:00.000' AS DateTime), N'REM Lot 12', N'Block 1', N'', N'LOT 12 BLOCK 1 DISTRICT LOT 14 GROUP 1NEW WESTMINSTER DISTRICT PLAN 3047, EXCEPT PART ON SRW PLAN 26009 AND PLAN EPP7194', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T13:20:32.000' AS DateTime), 468, 115, 0xBD0B000001040600000072CE88727CB1324120DE020944FB1C4159302A49A1B13241F09E3CAC46FB1C417D04C5AF7CB13241605EBAC9E6FA1C419E923A4175B13241E01EF46C12FB1C417B7AA5AC81B13241E00A462534FB1C4172CE88727CB1324120DE020944FB1C4101000000020000000001000000FFFFFFFF0000000003, CAST(511001 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (511253, N'{79E715C9-2B77-4F7C-8219-5FAD84013DA4}', N'010327321', 849755, N'KAP2362', NULL, N'10327321', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Parcel 12', N'Lot 724', N'', N'PARCEL 12 (PLAN A1273) OF LOT 724 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 2362', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:59.000' AS DateTime), 15861, 728, 0xBD0B00000104250000004803784BFA70364160A913D068701D41935374E407713641601AC0DB93701D41265C8FE21D71364190A7574AA2701D416644698F27713641106C787A9F701D415D8FC2352D7136413073D792A6701D41FC065F583471364100BC05928A701D410EC58FF13A713641E010363C89701D41D6C56D3444713641803F355EB6701D41EA0434914F713641A0E2369AF5701D4160DC46835771364170787AA53B711D413C1AC03B63713641F06791ED82711D41DE718A6E65713641B0263188D3711D414382E2E761713641A03E57DB09721D416C1283E061713641F0CCCC4C0A721D41F5A7C60B65713641F0F7C2E42B721D412831082C69713641507958284A721D41DE2D90206C713641202AA9935C721D41587DAE366C71364190B740825C721D414EAF94A56D713641106519625B721D41DC56ECEF787136418093188452721D414EA60A067C713641C01C5A6451721D412A5305C38C713641A05E294B4B721D41C9073D3B727136419068006F63711D41F80FE9177271364120A2B4B763711D41FE65F72411713641203A924B166E1D41F4E4618108713641C0E53FA4396E1D41B74082A2FF70364150643B5F486E1D411773D732F670364160BA498C6A6E1D41B8490CA2E7703641B0694D73876E1D41302AA913E1703641A0D85FF6AD6E1D41F32FBB47DD703641107A362BD26E1D41BEC11746D370364190BD5216056F1D41F28E5354CF703641408F3177296F1D4152742437CC703641A0F1D2CD516F1D41B0E1E975E570364190635D5C27701D41E6043471F0703641E0B7AF833D701D414803784BFA70364160A913D068701D4101000000020000000001000000FFFFFFFF0000000003, CAST(511253 AS Numeric(38, 0)), NULL) +GO +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (513821, N'{7E6FA2DF-5530-4612-947C-CE8700AEBBDA}', N'010806121', 1300608, N'NWP3034', NULL, N'10806121', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2008-08-18T00:00:00.000' AS DateTime), N'REM Parcel B', N'REM Lot 7', NULL, N'PARCEL "B" (564497E) LOT 7 SECTION 35 BLOCK 5 NORTH RANGE 6 WEST NEW WESTMINSTER DISTRICT PLAN 3034 EXCEPT: PLAN 28991 AND BCP37611', N'0120', N'0010', N'NO', N'ICIS CADASTRE', 1, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2020-09-30T10:40:20.000' AS DateTime), 8100, 406, 0xBD0B0000010407000000738A8E44D57C32415005A3120C7D1C418F180456D47C3241C08251C9727D1C4106F9A067D37C3241E06A2B76D97D1C4194976ED23B7D3241D0E76AAB517C1C41B3BFEC9E3C7D324130DBF97EFA7B1C4199B20C71D87C324140C4B12EAE7B1C41738A8E44D57C32415005A3120C7D1C4101000000020000000001000000FFFFFFFF0000000003, CAST(513821 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (514228, N'{78EE3835-FC89-44A4-92F1-25EC3A08B859}', N'010465677', 3, N'NO_PLAN', 36303491, N'10465677', NULL, N'759-006514.100', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART NE4', N'22', N'80,17', N'THAT PART OF THE FRACTIONAL NORTH EAST 1/4 OF SECTION 22 TOWNSHIP 80 RANGE 17 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT LYING TO THE NORTH OF THE KISKATINAW RIVER', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-10-09T10:36:07.000' AS DateTime), 127437, 1489, 0xBD0B00000104E0000000A82C437C036B34415807CE79D4C73241B8259AE4026B3441ACC4A165D6C73241F7B72D4E026B3441D4B2D651D8C73241A421FEB8016B344118066C3EDAC732418BA00B25016B3441B0F2602BDCC73241EB715692006B344158ACB418DEC7324188D2DE00006B34416C666606E0C73241880D4F8FFE6A3441240AD723E5C732414682E5E9FD6A344160FA34B2E6C73241EAEF2F55FD6A3441180F1B47E8C73241F72670D1FC6A34410416D6E1E9C732415D76E05EFC6A34410048B081EBC73241BC91B3FDFB6A3441C499F125EDC73241E17A14AEFB6A3441200DE0CDEEC73241ECD7DEF2FB6A344194929372F1C732413AC8ED3DFC6A3441D0769C16F4C7324161A53F8FFC6A344164DDEBB9F6C73241B9A5D2E6FC6A3441A0ED725CF9C7324161DCA444FD6A34419CD322FEFBC732415A39B4A8FD6A3441B4BFEC9EFEC73241F8116359FF6A3441A083EB3109C83241CEE02E88016B3441D067B8AD13C8324165A8DE33046B3441882F740C1EC832414877F35A076B3441FCE54F4828C832417E3EA9FB0A6B34414C1F905B32C83241D9CEF7130F6B3441E42D90403CC832414EF00184106B344160782EA33FC8324172E98CEC116B34412409F20843C832419CD8914D136B34415446CA7146C83241C6000AA7146B3441A486A6DD49C83241E6C9EEF8156B3441A012764C4DC83241E7C03943176B34410C2428BE50C832410022FD76186B34414482E2E753C83241A033A294226B3441780E2DB254C832416791EDFCE86B34417CD7123264C83241C6114F36EA6B3441A4A831125EC83241BC377B68EB6B3441D80AE4F057C83241905B7093EC6B3441E47932CE51C8324178DF2CB7ED6B3441C87325AA4BC83241BA2FAFD3EE6B34413478C58445C8324190C2F5E8EF6B34419C081B5E3FC832417962E26FF26B34414067887429C832411109D8ACF46B34411C67EC8213C83241C53FBD9FF66B3441E4AF408AFDC7324199DA7B48F86B3441D0397F8BE7C7324139F900A7F96B34410042A287D1C73241CE073DBBFA6B3441C43FA47FBBC73241CE556231FB6B3441F82D7726B2C73241DAB6CE9BFB6B34418853BDCCA8C73241968381FAFB6B3441BC6385729FC7324128277A4DFC6B34410012DE1796C732411F1FB894FC6B34410413D6BC8CC7324185FB3AD0FC6B3441BC1B7C6183C73241CBAC7009FD6B3441CCBF8CAE74C732414A998906FD6B34416C592EFB65C732418BF185C7FC6B34415CBA564857C7324142D3694CFC6B3441F8AAFB9648C7324100493D95FB6B34410CDB12E839C73241B6490CA2FA6B34414CD1913C2BC73241A622FE57FA6B34412469B59026C7324170E93710FA6B3441EC66B5E421C7324142AFB9CAF96B3441D8E792381DC73241A9848387F96B344104094F8C18C73241A0799546F96B3441B0E7EADF13C73241B09DEF07F96B3441F4A067330FC7324126C286C7F86B34415CA60AE609C73241AFD538CEF66B34416CBC2A7904C73241B5F84BE5F46B3441742B7106FFC63241C480D10CF36B3441F8650F8EF9C63241FD2DDA44F16B3441DC113710F4C63241D02A768DEF6B344128061A8DEEC632410E0BB5E6ED6B3441984AEA04E9C63241FCE3C94EEC6B3441086B15EEE3C632413418B384EA6B3441CCE008E8DEC6324154C12089E86B3441D00EB3F4D9C632419EFED55CE66B34417C26FB15D5C6324114AAA800E46B3441406CC04DD0C6324128068175E16B3441587FD99DCBC63241FDB31F4ADF6B344104867E5AC8C63241E83D5306DD6B3441D4FAE527C5C63241DB059DAADA6B34414089C606C2C63241CFC38337D86B3441CCF6D2F7BEC63241D46793ADD56B3441ECFAB9FBBBC63241AEFA5C0DD36B3441D0172613B9C632413DAA7CDCCB6B34417C5ACE8AB1C6324172554072C46B3441B466E63AAAC63241B7B662D0BC6B344140D22225A3C63241E281ABF8B46B3441F0A32A4B9CC632410EFAEEECAC6B3441E0F096AE95C6324154840DAFA46B3441907BF2508FC63241964F81359C6B3441EC63EDC388C632414D42089C936B344194BD0A6182C6324114D073E38A6B34415414E6287CC632413262980C826B3441D8E2161C76C6324156434D18796B34415484303B70C63241418B6C07706B34417826C2866AC63241E31FB1D9636B34417C09487F63C632419FF8704E576B344124F08D245DC63241DC203C6F4A6B3441F8F56B7B57C6324188A4E2453D6B3441FCD3328852C6324125156DDC2F6B3441B496A84E4EC63241C2E3143D226B3441F4BB05D24AC6324158C87DB51B6B344160B8167E49C632412C337F22156B34413808106848C6324134E163860E6B3441E898529047C6324175BC79E3076B344160A129F746C63241CF0E113C016B34412886CA9C46C63241FBB27B92FA6A3441A8C9548146C6324124C10297F76A344174DF119C46C63241A842F59EF46A344154380BE946C632410C7BA0ADF16A34410439EB6747C6324111344AC6EE6A3441A0C8241848C63241381A2DECEB6A344148EBF3F848C6324146257522E96A3441109E5E094AC6324126C7DB5BE56A3441B06BB7B84BC632417F95E6AFE16A3441BC6A649F4DC63241307EBF21DE6A3441C440C2BB4FC6324162C076B4DA6A34419850FF0B52C63241E448006BD76A34419C4A1D8E54C63241E9263148D46A344198E4F23F57C63241D156FC56D06A3441CC9F8A0B5BC63241A74E2F96CC6A3441DCFE06075FC632418B340F08C96A3441E05CFF2F63C63241D087C2AEC56A34419491EF8367C632411FD44F8CC26A3441287739006CC6324197779CA2BF6A3441A08026A270C632413A9E8E53BD6A3441CC7E52B674C63241DA853E59BB6A3441D8BB1CF678C632417703DEB6B96A3441A024A85A7DC63241ACE1106FB86A34410C48DCDC81C63241419DE883B76A3441A0CC707586C63241DC0DE1F6B66A34419433F91C8BC632417D00DEC8B66A344190D7F0CB8FC632417AC729FAB66A3441C810C77A94C632414F762277B76A3441FCA792A099C6324122720C20B86A34415C8975C19EC63241727BB7F4B86A3441BCB2F8DBA3C6324160D3E6F4B96A344120F4A6EEA8C63241ED4C5120BB6A3441585A0DF8ADC63241E961A176BC6A3441C498BBF6B2C63241909838D0BC6A3441302AAB43B4C63241000EB52ABD6A3441BCB65C90B5C6324138971686BD6A3441A8A0CFDCB6C63241EC085DE2BD6A3441D8490329B8C632415137883FBE6A34410015F774B9C6324127F6979DBE6A3441C864AAC0BAC63241F223DC84BF6A344190E39498BDC632412F09B992C06A3441849B1663C0C6324155EE68C6C16A3441640F241EC3C632417B650A1FC36A34419014BDC7C5C6324190EFA09BC46A3441F04AEE5DC8C632416CB5153BC66A3441DC88D2DECAC632412D150F59C76A3441FC4CD992CCC63241D24A0976C86A3441A0008747CEC63241E5F40392C96A3441140FDBFCCFC632415BB2FEACCA6A344130E2D4B2D1C632416122F9C6CB6A34418CE47369D3C632418EE4F2DFCC6A34416880B720D5C632410620AF98CE6A34410C9138FDD7C632412034262AD06A34418C8CF6EFDAC6324132B53993D16A3441E8FCD6F6DDC632414B08E8D2D26A3441540EB10FE1C63241CA1A4DE8D36A3441481A4F38E4C632415005A3D2D46A3441043B706EE7C63241D22E95A5D56A34412CFF8AB6EAC632417880736ED66A3441B0251D01EEC63241A299362DD76A34410CBD074EF1C63241BB78D7E1D76A3441D0BC2B9DF4C632416F7B4F8CD86A34414C086AEEF7C63241085F982CD96A3441206EA341FBC632410F39C5D0D96A3441B0C94789FEC6324170F2288ADA6A34416CA67ECC01C732417417A558DB6A3441D0D2BE0A05C7324136BD173CDC6A344188EE7F4308C7324152875B34DD6A3441987F3A760BC7324118AE4741DE6A3441C00968A20EC7324109DADF73DF6A3441B4B7E6B111C73241F759C1D8E06A34414496CEAB14C732412FA6696EE26A34418471E68C17C73241D5622133E46A3441C0F40F521AC73241BA3BFE24E66A34412C0C4BF81CC732416CF7E441E86A34419C23B97C1FC7324109F649D8E96A34412414164021C73241000A2A73EB6A344174D05FFF22C7324192BD7A12ED6A344170F58ABA24C73241167E31B6EE6A3441E43A8C7126C73241309C435EF06A3441C473582428C73241314CA60AF26A3441708EE4D229C73241050E3DA6F46A344198296A6C2CC7324134FF2E20F76A3441B42C0F262FC732418AF0F076F96A3441F8B220FE31C7324133A20DA9FB6A3441F8E0D8F234C732415EAC26B5FD6A3441F8FE5F0238C73241B059F599FF6A3441889ECD2A3BC73241CACB7DC6026B3441D01264C440C7324100DE35C0056B344174BA9C7946C73241EE4C2D86086B344188AEAA484CC73241222884170B6B344180E2B82F52C73241B2186B730D6B3441F0B6EA2C58C73241A0A223990F6B3441B8915C3E5EC732418D93E8D6106B3441703691AD62C73241105E3FDA116B34414477872B67C73241A87F7AA2126B3441E0F33DB56BC732419701142F136B3441046FAB4770C732419ED2AD7F136B3441C4D6C0DF74C73241C2051294136B3441C0506B7A79C732417390E573136B344100B09CDC7EC73241CA13522F136B3441A045793D84C73241AAD163C6126B344134F70A9C89C73241748B2D39126B344174135CF78EC73241B47EC887116B3441687E774E94C73241A86054B2106B344184DB68A099C73241E727E127106B3441CCDA48F89CC73241B4CDEB9A0F6B34410C03C04FA0C7324176A1740B0F6B34418072CCA6A3C73241F6F37B790E6B3441A4476CFDA6C732416B1702E50D6B344158A19D53AAC732416D5F074E0D6B34411C9E5EA9ADC73241856503140C6B344168E91E3AB4C73241FCB6B0AF0A6B344108F069C2BAC7324164684921096B3441281D2F41C1C732414C6A0E69076B3441A8685FB5C7C73241907E4787056B34413C84ED1DCEC73241A82C437C036B34415807CE79D4C7324101000000020000000001000000FFFFFFFF0000000003, CAST(514228 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (514874, N'{03728DB8-0347-431A-98DD-3192F4777962}', N'009246991', 1071775, N'NWP22730', NULL, N'9246991', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1 EXCEPT PART IN STATUTORY RIGHT OF WAY PLAN 50736 SECTION 5 TOWNSHIP 3 RANGE 28 WEST OF THE SIXTH MERIDIAN NEW WESTMINSTER DISTRICT PLAN 22730', N'0163', N'0009', N'NO', N'ICIS CADASTRE', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-12-12T14:03:26.000' AS DateTime), 1158, 149, 0xBD0B0000010408000000585BB15F4400344100FF217D4AE51C419F11A55D2F003441202FDDA445E51C41CC4D62D01F00344130AC1CDA41E51C41CD66D5471E003441A005A312A6E51C4129287E2C5000344130A913D0B1E51C4156643BDF5500344150992A18B3E51C411058391447003441609ECDAA5AE51C41585BB15F4400344100FF217D4AE51C4101000000020000000001000000FFFFFFFF0000000003, CAST(514874 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (514890, N'{098A94BC-7C33-49A5-A3FF-C04E7BC81C45}', N'001710851', 12869, N'VIP218D', NULL, N'1710851', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'Block 61', NULL, N'LOT 2, BLOCK 61, SHAWNIGAN LAKE SUBURBAN LOTS, SHAWNIGAN DISTRICT, PLAN 218D', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 3, N'LSA', N'UNKNOWN', N'0', N'9804', CAST(N'2021-02-10T13:45:40.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 9813, 396, 0xBD0B000001040500000067DE712A8BE3314110378941F3D118417C931804F0E3314140A0F83119D218415717B751F8E33141D0423EE894D018413FCF667593E3314190E2C71873D0184167DE712A8BE3314110378941F3D1184101000000020000000001000000FFFFFFFF0000000003, CAST(514890 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (515188, N'{6CB8815D-4F74-489C-BC66-F85D9DCB8F6E}', N'009117032', 126673, N'VIP386', NULL, N'9117032', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', NULL, NULL, N'AMENDED LOT 3 (DD 240881I), SECTION 7, VICTORIA DISTRICT, PLAN 386', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:42:31.000' AS DateTime), CAST(N'2020-01-23T12:33:32.000' AS DateTime), 301, 76, 0xBD0B00000104070000002D55302AC3393241D0012B87C28517419BC42030CF393241D033A2B4CC851741203867A4D83932413003788B6B851741E34603D8CD393241B0703D0A6285174194A982D1CD39324120772D216285174121D26F7FC83932418038D645928517412D55302AC3393241D0012B87C285174101000000020000000001000000FFFFFFFF0000000003, CAST(515188 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (516205, N'{5C32EB75-C2E6-4C15-97BE-48FFA3FF7AC6}', N'007428227', 118430, N'VIP1397', NULL, N'7428227', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'Block 1', NULL, N'LOT 1, BLOCK 1, SECTION 33, VICTORIA DISTRICT, PLAN 1397, LYING WITHIN THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:49:50.000' AS DateTime), CAST(N'2021-03-23T07:29:13.000' AS DateTime), 426, 88, 0xBD0B0000010409000000203867846C3A3241F0F21F529D931741D9817366633A3241A0F606DF899317411BD9CE37583A3241D02FBBA7A6931741450C022B583A3241A0CB7FC8A6931741BAB88D66503A324120CB10C7BA9317416E128360563A3241005C8FC2C99317417C8CB92B623A3241B092CBFFE3931741F4A7C64B763A32416032C431B0931741203867846C3A3241F0F21F529D93174101000000020000000001000000FFFFFFFF0000000003, CAST(516205 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (517068, N'{FB2C8DCC-43CE-46D1-A94F-FC8FBB97AE96}', N'007326483', 5461769, N'VIP1527', NULL, N'7326483', NULL, N'207941', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 29', N'', N'', N'LOT 29, SECTION 11, RANGE 8, MOUNTAIN DISTRICT, PLAN 1527 EXCEPT PART IN PLAN VIP65053', N'0084', N'0021', NULL, N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', N'2443', CAST(N'2019-04-04T08:45:35.000' AS DateTime), CAST(N'2021-05-31T16:32:27.000' AS DateTime), 2443, 201, 0xBD0B000001040500000033B29DCF76813141E03B4ED1BD471C41C676BE3FA5813141006900EFC5471C41026F81C4B6813141209C33A215471C4109560EED7781314170295C8F0B471C4133B29DCF76813141E03B4ED1BD471C4101000000020000000001000000FFFFFFFF0000000003, CAST(517068 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (517462, N'{58A6B927-0946-42A1-A5C7-448F4554F2FC}', N'013977890', 295389, N'PRP968', 906671, N'13977890', NULL, N'01264.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 12', N'Block 114', N'Section 2', N'LOT 12 BLOCK 114 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-06-10T13:40:11.000' AS DateTime), 172, 54, 0xBD0B000001040500000070C5FE329F772B41CCF97EAA90643141852F4CA69E772B41BC9BC4807F6431419487859A8A772B414C158CAA7F6431417F7AA52C8B772B410498DDD39064314170C5FE329F772B41CCF97EAA9064314101000000020000000001000000FFFFFFFF0000000003, CAST(517462 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (518119, N'{CCD9D23F-52A1-4E73-86E4-2D8B3DB7B5A7}', N'014411784', 1070858, N'NWP17179', NULL, N'14411784', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2016-07-07T00:00:00.000' AS DateTime), N'REM Lot 2', NULL, NULL, N'LOT 2 EXCEPT: FIRSTLY, PART ON STATUTORY RIGHT OF WAY PLAN 73812, SECONDLY: PART ON HIGHWAY PLAN 48855, THIRDLY: PART ON PLAN EPP60598, SECTION 33 TOWNSHIP 4 RANGE 27 WEST OF THE SIXTH MERIDIAN PLAN 17179', N'0163', N'0009', N'YES', N'ICIS CADASTRE', 1, N'LSA', N'UNKNOWN', N'0', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2021-07-30T15:11:06.000' AS DateTime), 2883, 332, 0xBD0B0000010408000000FC770B448E273441F0B359752F001E41B2E1E99585273441F0B35975CAFF1D4138234ADB7B2734416020417159FF1D415B8638D64D27344130F2414F19FE1D41E324060142273441A0B4377820FE1D41C0D32BA531273441805AD33C52FE1D414CD191DC7B273441C054C1A8CFFF1D41FC770B448E273441F0B359752F001E4101000000020000000001000000FFFFFFFF0000000003, CAST(518119 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (518838, N'{691787D0-376A-4A8E-BC48-C9A63087FADE}', N'000570966', 1184539, N'NWP23742', NULL, N'570966', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2010-04-15T00:00:00.000' AS DateTime), N'REM Lot B', NULL, NULL, N'LOT "B" DISTRICT LOT 17 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 23742 EXCEPT PLAN EPP5044', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 1, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2021-09-22T13:20:00.000' AS DateTime), 823, 120, 0xBD0B00000104060000006B44692F6FAD3241A01F63EE246D1C41261895D47EAD3241B0D85FF65E6D1C413DA4DF1E83AD324140EC2F3B4C6D1C41BB4082C298AD3241A096900FEC6C1C412A31082C89AD3241800B24A8B26C1C416B44692F6FAD3241A01F63EE246D1C4101000000020000000001000000FFFFFFFF0000000003, CAST(518838 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (520427, N'{D904D924-5A3D-4223-B97C-DB25B8ED75FA}', N'010488758', 252464, N'PGP1329', NULL, N'10488758', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 115', N'', N'', N'LOT 115 DISTRICT LOT 4377 CARIBOO DISTRICT PLAN 1329, EXCEPT PLANS H226 18606 AND 29483', N'0112', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2021-12-31T08:23:52.000' AS DateTime), 7771, 467, 0xBD0B000001040C000000E4E00B936B7E32411083C0CA4F752E4197BB96B06E7E3241A04AEA841B752E41774F1E565E7E3241489D80261A752E41F35A425EAC7D324100E5612108752E414672F96FAA7D3241206076CF58752E41F953E3C5697E32410885EB916B752E411A803C1A6A7E32410020B8F266752E41FA87976B6A7E32417036AE5262752E4130E3F3B96A7E32417089D5B15D752E41720E51056B7E324158DA351059752E416E8BAE4D6B7E324108ECD66D54752E41E4E00B936B7E32411083C0CA4F752E4101000000020000000001000000FFFFFFFF0000000003, CAST(520427 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (521490, N'{49CBCA61-9F05-41F9-8729-309EE7CD9344}', N'017205212', 469968, N'NEP1017', NULL, N'17205212', NULL, N'7861281000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'', N'', N'THAT PART OF LOT 3 DISTRICT LOT 196 KOOTENAY DISTRICT PLAN 1017 SHOWN OUTLINED IN RED ON REFERENCE PLAN 114830I', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:36:04.000' AS DateTime), 5949, 320, 0xBD0B00000104080000005C4BC8C7C8593941502EFFE11C1C21411C6C781A2C5A3941985149DD311C214121FDF6F5325A3941201DC9A5BC1B2141E0A59BA4E359394158E5D0E2AB1B21414A499DA0CF593941980B24A8A71B2141FB6C563DCF59394198D100DEAC1B21417F1D38E7C6593941D8EC9E7C1C1C21415C4BC8C7C8593941502EFFE11C1C214101000000020000000001000000FFFFFFFF0000000003, CAST(521490 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (521874, N'{90464CAC-87B0-43FD-8B01-059EDC3362B6}', N'009340092', 137263, N'VIP51', NULL, N'9340092', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 5', N'', N'', N'LOT 5, SECTION 7, VICTORIA DISTRICT, PLAN 51, EXCEPT THE SOUTH 10 LINKS AND EXCEPT THAT PART COLOURED RED ON PLAN 1209 OS AND EXCEPT THAT PART IN PLAN 47871', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:20:34.000' AS DateTime), CAST(N'2019-01-05T10:22:46.000' AS DateTime), 729, 155, 0xBD0B00000104080000008541602564393241E0D6A3F0158A17415427A0696839324150EF38C5198A1741B07268F16D3932416035CDBB1E8A1741BF1726937239324160F8C264F38917410946253577393241704CA60AC8891741CD6F5F278839324130B4C87629891741F041CF467C393241A00F7AB61E8917418541602564393241E0D6A3F0158A174101000000020000000001000000FFFFFFFF0000000003, CAST(521874 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (522143, N'{E7CCE2CB-0FB2-436A-8971-F1FD7DC27663}', N'000978892', 127202, N'VIP38586', NULL, N'978892', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 1', N'', N'', N'LOT 1, SECTION 12, GOLDSTREAM DISTRICT, PLAN 38586 EXCEPT PLAN VIP65237 AND EPP17796', N'0079', N'0005', N'NO', N'ICF', 4, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-01-06T18:50:27.000' AS DateTime), CAST(N'2019-01-05T10:23:49.000' AS DateTime), 42602, 1567, 0xBD0B00000104D0010000D8C56DF456FA3141C00E9CB3FC1417411EF46CF65CFA314130F697DD00151741FB5BF5975DFA314140BE7D150215174178A5953A5EFA3141F0832944031517410E6245DE5EFA3141C0958B69041517413415FC825FFA3141B0BD948505151741A334B12860FA3141F041369806151741F7285CCF60FA314180E461A107151741188C4AAA62FA3141B0D6A3F007151741DB12F2A164FA314110F54A5901151741646FF0A56AFA3141E07BF230ED1417410C0BB5E669FA3141B0C3D3ABB11417415CF5B91A43FA31412083C0CAF41317410F74752840FA314140E9DA68E7131741B0C696FA3CFA31417069A5E8DA131741CF6F539539FA3141E0E1AC5ACF13174159482AFD35FA3141607B3DCEC4131741BB8BDD3632FA3141A0684E51BB131741418B6C472EFA3141B0696FF0B2131741155D8DD22DFA314160415E42B21317419A55885A2DFA314150C9D6BAB1131741316828E02CFA3141302FBE5AB1131741B0833C642CFA314180F1B622B11317419F3496E72BFA314170CE1F13B11317419842086B2BFA3141F022132CB11317411A4C65EF2AFA3141E0BD666DB113174140627E752AFA31415029ACD6B11317414CA721FE29FA314170603167B213174110F2188A29FA31418003021EB31317418F78281A29FA314100EEE8F9B31317414C840DAF28FA3141704772F9B4131741E24603581AFA31414055302ADA131741DBCEF773E4F8314180A44E4019141741D0915C5E27F93141C089B0E128161741B837F86227F93141D0DD020929161741208E75B12AF93141C07D1DB82A1617419E3C2CB42EF9314180F753632B16174160E5D0E233F93141B0BDC11729161741659A775C39F93141C011A53D271617411005152C3AF9314130B819AE261617415D8823FC3AF9314120192F292616174105709ACC3BF9314160C4EAAE251617416503719D3CF93141E0D6513F25161741C6859E6E3DF93141B0FC68DA24161741E4361A403EF93141806D34802416174160A47EBF3EF9314110AB906525161741EA7022423FF9314110308D2B26161741341E8AC73FF9314100D66ED126161741C490374F40F9314170CD9856271617412187AAD840F93141A0358DBA271617414213616341F931419091EDFC27161741EAB682F341F93141E0AFF40F271617417631EB8042F9314100680B0A26161741D581550B43F931413089B1EB24161741DD1C7E9243F93141C0CE72B523161741380E231644F93141209DE667221617419318049644F9314190B7AF0321161741FA470A9345F9314180E8D53B201617413971AC8F46F9314100043A6C1F161741FAC5E68B47F93141802CDF941E1617417379B58748F93141C09FC8B51D16174184C0148349F93141F0BAF9CE1C161741B7D1007E4AF93141D0F675E01B16174182D0B3594FF93141B0E3149D121617417ED93DF953F93141C0522720081617411A95D48958F9314170A8354D01161741172FDD245FF9314140A1D634F2151741F0A7C6AB61F93141B08EE4F2E81517418FC6059A62F93141E0FBE6BDE315174191A24CA263F93141A024E0D9DE151741AFE6E4C264F9314190A9EC4EDA15174126E8EFF965F93141706D9524D61517418AC0694567F931414016C361D215174176A52CA368F931416095B20CCF1517412CE66E6469F9314150CBBF09CD151741966C402E6AF93141D0F8543ECB151741D25AA2FF6AF93141D04AB6ACC91517416D458CD76BF93141A0F1DE56C81517419981EDB46CF93141209F7E3EC7151741567DAE966DF931411066F764C615174158087BA76EF93141503E6F1DC61517417B5DC6B86FF93141E0BA5601C6151741C5DF21CA70F93141803BB910C6151741BBEB1EDB71F931415085904BC61517410D044FEB72F93141D0C7C4B1C61517415FFE43FA73F93141A0A52C43C7151741BC3A585C75F9314180FA0725C91517419CCD18C476F93141A04B2ABECA151741EAE7963078F931413002840DCC151741F794E0A079F93141F0803612CD151741175B01147BF93141F0BA94CBCD15174103DE02897CF9314180A22339CE151741205A64BB81F93141C0825149CF151741FE432C6084F93141702E071FCF151741ABEDBF0387F93141E0CA2A78CE1517414FACB0A489F93141B0E71655CD151741714391418CF93141708069B6CB15174126ABF6D88EF9314130A5039DC915174102D5786991F93141F002090AC7151741F73A70AE97F931417089B061C01517413F0AD7C39DF93141D0490C82B8151741B059F519A2F93141207E8CB9B1151741AE2E6E03A7F93141D060E5D0AC15174158A8352DAFF93141B039234AA5151741225A643BB6F93141B0D0225B9F151741CC66D527BAF9314120E2E9159A151741DD240681C3F9314120355E3A901517413CB4C8B6CAF93141304850FC8415174158643B3FD0F931410076E09C7D15174187887280D1F9314150D2A3097C151741F294ACB8D2F93141D0F5F3117A1517414BD3F3E5D3F93141803EFAB87715174101256406D5F9314110607C02751517413C0D2E18D6F93141E050D6F2711517419B999919D7F93141804DF38E6E151741E7AE2524DBF9314160BA490C5E1517418DA0F8F1DEF9314170B740824C1517411FA7E808E1F9314180658863421517416ABEC849E2F93141704A0F913E1517412AE06382E3F9314170B9A7943A1517411B6A62B2E4F9314110C16F6F361517410A246FD9E5F9314110DF902232151741AF5737F7E6F9314100B13FAF2D151741D7E76A0BE8F93141E098BB162915174161707E38E9F93141E0B1439B25151741EF89825FEAF931419058F2FF2115174134504180EBF93141103870451E1517411604869AECF93141A0AC6B6C1A15174166151DAEEDF9314190A79875161517413C2CD4BAEEF93141B089B061121517419D792D12EFF93141D0AC34FA0F151741EC9E8A6DEFF93141A0BF1E9C0D1517412871DBCCEFF931419003DA470B1517414D120F30F0F93141F0FCCFFD081517413EF41397F0F93141106168BE06151741FCDBD701F1F931410003098A041517416ABC7473F2F9314110022B07F11417411E41F183F3F931416019515AE514174153BA0780F4F93141D0D010C1DF14174127567984F5F931419016EC3FDA14174153352191F6F931418069AAD7D4141741D64ED9A5F7F93141D0C30F89CF1417417D757AC2F8F93141707FDC54CA1417415D5DDCE6F9F93141B035CD3BC5141741809C09B2FAF9314180F67C65C1141741494C5F87FBF93141500442B2BD1417412B997C66FCF93141104ACA23BA141741553FFC4EFDF931414003B3BBB614174189B87440FEF931416002887BB31417411D6C783AFFF93141C0F8C264B014174138DA5B2800FA3141F0A6A243AC141741AAE3BA1701FA3141A0DEE027A81417411498930802FA314110258611A41417410C04E4FA02FA3141F0F29A00A01417411731AAEE03FA3141F0B727F59B141741AC25E4E304FA314180D634EF97141741C3A3703405FA31412067EEAB961417410E9B7A8C05FA314110E6948995141741FFA32BEB05FA3141A06CEB8A941417419C239D4F06FA3141102A5EB293141741C87CDAB806FA3141C07EFC01931417416064E32507FA3141A0F7737B921417410651AE9507FA314170370C209214174110022B0708FA3141F0D6A3F091141741168DB0EE09FA314100D8E0ED91141741207614D50BFA3141202BAF72921417412F4DFCB70DFA3141C0516A7E9314174136F311950FFA314190B0C60F95141741C27E066A11FA31413028D324971417412718953413FA3141D07EFBBA991417414D2BBF2615FA3141009596309B1417416E085D1117FA3141D09B7F2D9D141741456A23F218FA3141A06755AF9F14174169D3D2C61AFA314130B117B3A2141741193F3A8D1CFA314190AB2A35A6141741E4C039431EFA314140575B31AA1417411CAF0A2F1FFA314180F7F611AC1417417105891420FA314160484621AE141741BCE620F320FA3141008AF55DB0141741F4E742CA21FA3141F0C193C6B2141741996C649922FA314150A49359B51417410300006023FA314160984C15B8141741D9EF968524FA3141308620F3BE141741267BE28225FA3141B02E8932C6141741228BDF5526FA3141B07FC9C4CD1417417311E1FC26FA3141C0EF7B9AD51417418570937627FA314180CEB1A3DD141741482EFFC127FA314120A913D0E51417410A34F2D827FA314190ADBA3DEB1417419F84E80428FA3141308743A3F0141741FABFB84528FA3141E0FB99FBF51417415EE6259B28FA3141B03AB641FB1417418B91DF0429FA3141009CA17000151741BC40828229FA3141004A7B8305151741F45C6D852BFA3141A03F355E0C151741DA442E8D2CFA3141B0D10E2510151741CF3FF8A92DFA3141D0862F8713151741E61466D92EFA3141F0604E7D161517412568EA1830FA314150F30A01191517416C39D56531FA3141C01DFB0C1B151741DEAD59BD32FA3141B0B3B69C1C1517417E17941C34FA3141A0FBE0AC1D151741DF2D908035FA314140EC2F3B1E15174149D3714C37FA31410060A3791C15174114C9D81339FA314120F23F741A151741640025D63AFA3141407BBB2B181517418435B8923CFA3141306CE3A015151741B627F6483EFA314140849CD41215174111D044F83FFA31414082E2C70F15174136CD3B0E46FA31418058A8B507151741FA4EF8C147FA3141B0E6DE0A05151741C471AC7C49FA3141302E04AC02151741539B843D4BFA3141D03E3A9A00151741DF41AA034DFA314190537ED6FE141741C45244CE4EFA31412057A861FD1417416B9A779C50FA3141107F6A3CFC141741D8C56DF456FA3141C00E9CB3FC141741DCBE0E5CB4F9314180F54A59C0151741E3B584FCAEF9314180E848AEC6151741365EBAE9A8F9314110F2414FD21517414F6E3462A7F9314180A4FAE4D4151741A7B421D2A5F93141A00F1323D7151741C9B2BB3AA4F931412054C907D9151741DFA7419DA2F93141709CA191DA1517415096F7FAA0F93141E04867BFDB151741094625559FF9314110E02D90DC151741AD8AC3199EF931413076FAEDDE15174198ADDFD49CF9314140F031F5E0151741BA7AF5879BF93141A05875A3E2151741981F8A349AF93141C0B3CDF6E315174148642ADC98F93141F04FAEEDE415174189DB688097F931413094F686E5151741A320807F96F93141B04F3058E4151741EB80E97895F9314180615185E3151741C2EBB16E94F931411056FF0FE31517419991ED6293F93141F0B524F9E21517410BBCB35792F931410031EF40E3151741C39F1A4F91F931414042CFE6E31517416F63244D90F93141D0EAE2EDE4151741B84F1E498FF9314190C82FD2E5151741496253438EF9314170047493E6151741581B0F3C8DF93141E0E17731E7151741EF679D338CF9314160CE0DACE7151741168C4A2A8BF93141606E1203E815174187C2077D88F93141603172AFE71517419C9882CF85F93141F0C797D3E7151741C4D8092383F93141908B716FE815174137CAEB7880F93141405FB382E9151741E48D75D27DF93141C0D5D60CEB151741AF7BF2307BF9314150711B0DED151741FADFD01D7AF931414070DDCEEC151741E2619D0B79F9314190671861EC1517412A4EDBFA77F9314130E700C4EB151741C1400DEC76F931412028E2F7EA1517411EE6B4DF75F9314100E91DFDE91517413EBD52D674F93141C03C2CD4E8151741D9C2E12074F93141700BC0CFE715174124B3226973F9314100959DE6E6151741963157AF72F93141E0211819E6151741039DC1F371F93141201C7967E5151741C2F7A43671F93141C0F7FFD1E415174111D0447870F93141C019E258E4151741E4AFBF3470F9314140F3ABFEE31517416DBD87EF6FF93141704E2CBCE3151741AAF221A96FF9314160EBE291E3151741718D15626FF93141C0052180E3151741980BEB1A6FF9314100BC0887E3151741F0242BD46EF9314170C98CA6E31517415AC45D8E6EF93141B0A270DEE3151741E002094A6EF9314180E8482EE4151741BF9C73076EF93141501902E6E515174196F324BE6DF93141E0D3458CE7151741C308666E6DF93141B0916F1FE9151741334786186DF9314100D2ED9DEA1517413034DBBC6CF9314180A94306EC151741361AC05B6CF93141903D0A57ED151741C13876016CF9314150525D98F015174153E6E7976BF93141C0EB78BCF31517410F47AB1F6BF931418048E5BEF6151741BF606B996AF9314150925A9BF9151741CD27E7056AF93141B0F3C64DFC1517416C6FF06569F93141806054D2FE151741F26EC91469F93141B04A8C8C01161741D2B83BB868F931417093B12F0416174130B1AF5068F9314190BACAB80616174196229ADE67F93141E0A1FB240916174106BA7B6267F93141C0C588710B161741F775E0DC66F931411051DA9B0D161741065FC71C66F93141502D935F0F16174119CAEA5765F9314130123201111617418083AB8E64F93141D0A6E97F12161741C67F6CC163F9314130BCFDDA13161741AFAA92F062F9314160A8C31115161741DBB5841C62F93141E09CA22316161741120823E060F9314180AAB54317161741767989AB5FF9314140EDB5D418161741098A3B815EF93141D0375FD31A161741F741A7635DF9314120B1883B1D161741782020555CF9314140842D08201617411A42DA575BF93141205377332316174163C8E56D5AF93141E066CAB6261617419E8C2A9959F931418073D38A2A161741962664DB58F93141D0E096A72E161741784F1E3658F93141E06E81043316174143A4DF5E5BF93141D05374A432161741C998BB9694F93141B0D0B3D92B161741D0F75343E4F93141C08CB9EBFE151741D8F97E4AE4F93141E0AF03E7FE1517419FB437F802FA3141C00E9C33DB151741FC53E3852CFA3141907CD033D71517413A70CEC84AFA3141B0923A015E151741AA5E4E414CFA31418092073D571517417D5E05C64DFA3141901A8DA450151741943DA2564FFA3141E0DC2B394A151741A84DD1F250FA3141B01E3BFC4315174195753C9A52FA3141E07208EF3D15174196438B4C54FA31411073D71238151741093D9B9559FA31417088635D26151741E5482E7F5AFA3141F016D94E23151741F10071D359FA3141D07FBF08211517414D736B2259FA314100FE8ADC1E1517415B0F5C6C58FA314150BDFFCA1C151741620B83B157FA31412082D8D41A151741E14D22F256FA31416068C6FA181517416D567D2E56FA314150A4703D17151741FCFCBFEF54FA314160C91C45161517410CBF6EAE53FA314170345089151517412E6A416B52FA31412053760A151517414ADCF02651FA3141E0B3D7C814151741E49936E24FFA314170E199C414151741EF63CC9D4EFA3141B048BFFD1415174121F46C1649FA3141D04603F81B15174105D7A35042FA3141E061325523151741864B425341FA314180F05429251517413B6D1F5840FA314130D16F1027151741E3F4515F3FFA314160F1560A291517410065F0683EFA3141108BDC162B151741310811753DFA3141702AD1352D151741C7EEC9833CFA314120B003672F1517418615A9C13BFA3141606F6B1C301517418E71BA003BFA314160EA34E53015174193F71C413AFA3141A0EA3FC1311517414E66EF8239FA3141E02069B032151741544150C638FA3141A02D8AB23315174162CC5D0B38FA314190A679C734151741F03C1E1E37FA314130DA4C5D3615174134CBCC2736FA314100B4BD90371517412955F42A35FA3141A0D39F5E3815174163F8302A34FA31414033D3C4381517416D2C292833FA314100C549C2381517412AC2862732FA3141703D0A5738151741440CF9EC30FA31412020861D361517411C0D99B42FFA3141309222D13315174179E2787E2EFA314120B3017231151741B488AA4A2DFA314140B946002F151741C3D93F192CFA314190EE157C2C1517411C8C4AEA2AFA3141C0AE94E52915174118E2585726FA314160A089B01C1517418048BFFD23FA3141B07F483F10151741663BDF8F23FA31413063EEDA09151741B3C5C25D23FA3141B0C11E8F0915174128955C2D23FA3141403B383309151741C527FFFE22FA31410072D7C708151741FD83F9D222FA3141606AB34D08151741DAB196A922FA314120529CC507151741503B1D8322FA3141801D7A3007151741F1B3CE5F22FA314150FB4A8F061517411A49E73F22FA3141A0A521E3051517416C5B9D2322FA3141F08A232D051517412922210B22FA3141F0DB866E04151741EC589CF621FA3141807B90A803151741A3F831E621FA314160D191DC0215174102FDE1E321FA314170DF62C2FD141741AECADFE221FA314130232DA8F8141741AF622BE321FA314180F2F58DF3141741B6C4C4E421FA314120A0C273EE14174119EFABE721FA3141C0829859E9141741CDDEE0EB21FA3141B0ED7C3FE4141741C3F9B0FA21FA3141402B3A31E2141741BE62D4FF21FA314120560A20E0141741550944FB21FA314120EFC40EDE141741CA3306ED21FA314130964100DC14174143762ED521FA3141602054F7D9141741F897DDB321FA314150B4C8F6D71417417ED79C1321FA31412025B08CD5141741553A417820FA314170D1E80ED3141741C369F1E11FFA3141B06E117ED014174173CDD2501FFA31410072CDDACD141741728209C51EFA314180E5C425CB141741E951B83E1EFA31412040A45FC8141741927EFB5A19FA3141E0AE25E4BC14174102DB2D4718FA3141E0C4A69EBB14174182EF913517FA314110B8C33CBA141741D07C562616FA3141D000B9BEB814174193DBA91915FA314110E7C724B7141741BCF4B90F14FA31412077366FB51417415439B40813FA3141B0764F9EB3141741B32744E311FA3141805B392DB2141741B8AD50BD10FA3141B060BBC2B0141741722ADC960FFA31412072D85EAF141741DAFDE86F0EFA3141C06F9301AE141741FC8879480DFA31415029EFAAAC141741E22D90200CFA31415063EE5AAB1417413FE6F68A0BFA314190754E8EAB14174194D469F70AFA314170A68CFDAB141741395167670AFA314190B388A7AC141741608764DC09FA314180228A8AAD1417412EAEC95709FA3141E0B744A4AE1417412263EEDA08FA3141006ADEF1AF141741D91B7C4106FA3141602D219FB6141741B33145C005FA3141902EE4C5B91417410D432F4305FA31414095FFF6BC141741438F47CA04FA314120D91C32C014174162E49A5504FA31411060E476C3141741BA9D35E503FA3141708BFDC4C6141741A1A2237903FA3141E0BE0E1CCA1417410D0BB5E601FA314190AF0367CD1417412FE3184401FA31419076BD05D1141741A91CCD8D00FA3141A00FDF67D4141741431F39C5FFF9314100DCBC86D7141741ED5DE8EBFEF93141B0DA2F5CDA1417415C4B8703FEF9314150CAA1E2DC141741180DE00DFDF93141C02A1815DF141741E775537AFCF9314160430800E2141741AA484DF6FBF93141D02B1818E5141741D748A982FBF93141E0732158E814174172F42720FBF93141C01DBBBAEB14174178436DCFFAF93141E0A5423AEF1417412B97FF90FAF931417060E5D0F2141741B55EE6F2F9F931416024BEA3F6141741B0C5EB5FF9F9314160CDEE91FA141741EE525BD8F8F9314120507299FE1417419CAF7A5CF8F93141E09F36B802151741A38389ECF7F9314190BB1DEC06151741C854C188F7F9314170C5FE320B1517411C4A76A4F6F93141D0D206AD0F151741CC0FC2CDF5F93141406956501415174148E51B05F5F93141B0175A1A19151741983BF34AF4F93141A0EF68081E1517416E77AF9FF3F9314110FCC51723151741E9B7AF03F3F93141A0CAA14528151741ADFA5C6DEFF93141604ED11138151741BA270F8BECF9314100B8AF833D1517414CF38E73EAF9314120E2581743151741C45B2061E6F931412082E2C751151741799CA2E3E2F93141B0A757CA61151741D9A72BA8E1F931414088F25A6615174185C98A75E0F9314180AA98106B1517415193054CDFF93141008338EA6F1517411286DF2BDEF93141805CB8E6741517414F025A15DDF93141C097F6047A1517415B39B408DCF93141A0EEC9437F151741EAC6BF72DAF93141A0AFAA25851517414213B4C0D8F9314140597C848A151741595034F5D6F931418044E4578F1517418E480B13D5F93141F0A96098931517417B06271DD3F93141204E543F9715174174469416D1F9314110CB10479A151741FAE461A1CCF93141407E8C39A21517419D45B613C7F93141704ED191AB1517414182E267C1F93141208D97EEB115174159A8358DBCF931411097900FB6151741234A7B23B7F93141306C787ABB151741DCBE0E5CB4F9314180F54A59C015174102000000020000000002D900000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(522143 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (522273, N'{A4F0EAA9-C532-4F63-9053-D17B693BFE50}', N'007760264', 140656, N'VIP1375', NULL, N'7760264', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'Block 1', N'', N'THAT PART OF LOT 2, BLOCK 1, SECTION 33, VICTORIA DISTRICT, PLAN 1375 BEING THE RIGHT OF WAY OF CANADIAN NORTHERN PACIFIC RAILWAY COMPANY SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:03:01.000' AS DateTime), CAST(N'2019-01-05T10:24:25.000' AS DateTime), 56, 70, 0xBD0B000001040600000092B96B89013A3241A074241780921741D6F97EEA023A3241F02E6EA37C92174170128300F1393241C0BDC1970B92174156423E88EF393241403BDF4F0F921741CECCCC0C013A324170BF7D1D7D92174192B96B89013A3241A07424178092174101000000020000000001000000FFFFFFFF0000000003, CAST(522273 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (523232, N'{808838E8-B8BA-44CB-84E1-58CBD74BD53B}', N'007761031', 140656, N'VIP1375', NULL, N'7761031', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block 2', N'', N'LOT 3, BLOCK 2, SECTION 33, VICTORIA DISTRICT, PLAN 1375', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:55:57.000' AS DateTime), CAST(N'2019-01-05T10:54:14.000' AS DateTime), 523, 98, 0xBD0B0000010409000000EF5A425EE6393241D05296A1C7911741FF187357F339324180A52CC3A69117416229CB70E1393241D0141DC9369117411895D469E139324150BF7D9D3691174149378981D439324110FB3A7057911741F341CF26D439324180CFD55658911741A35E292BD4393241B069DE715891174125A08910E63932415041F163C8911741EF5A425EE6393241D05296A1C791174101000000020000000001000000FFFFFFFF0000000003, CAST(523232 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (523852, N'{7D93A91F-D277-425C-AEA8-2B285E16B7DB}', N'007577036', 128602, N'VIP1347', NULL, N'7577036', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 13', N'Block 1', N'', N'LOT 13, BLOCK 1, SECTION 33, VICTORIA DISTRICT, PLAN 1347, EXCEPT PART LYING SOUTH EASTERLY OF THE SOUTH EASTERLY LIMIT OF THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY, AS SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:20:50.000' AS DateTime), CAST(N'2019-01-05T10:55:34.000' AS DateTime), 105, 47, 0xBD0B0000010406000000C832C4D1633C3241C0E7FBA9229B1741EA839E4D623C3241A048BF7D1B9B17416B6FF005583C324130D191DCEA9A17416F787A25553C3241E000DE82F49A17412C5305C3543C324120C7BAB8199B1741C832C4D1633C3241C0E7FBA9229B174101000000020000000001000000FFFFFFFF0000000003, CAST(523852 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (523902, N'{726E30A1-7155-4BFB-ABC1-5A8F18F7C528}', N'001593391', 141191, N'VIP1291', NULL, N'1593391', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 8', N'Block 3', N'', N'THAT PART OF LOT 8, BLOCK 3, SECTION 9, ESQUIMALT DISTRICT, PLAN 1291 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0154', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:24:12.000' AS DateTime), CAST(N'2019-01-05T10:55:40.000' AS DateTime), 351, 81, 0xBD0B00000104110000008AFD65D7042B324100E2E915559A1741BCEB95A0032B324180696DE6509A1741B96FB56B022B3241C07D05AE4C9A1741EBA1C838012B32418071C06C489A17412994D307002B324170B6AC22449A1741A751DAD8FE2A3241F0DBD8CF3F9A1741D2DEE0ABFD2A3241908E53743B9A174142E8D9ECFB2A32411064CCDD349A1741B169DEF1F72A3241C00FE9B7259A1741C2749398F22A324120A3923A809A1741A5B66BB2F42A324130703D06889A17418F5712D4F62A3241D084B5AF8F9A1741F28D64FDF82A324160D47D36979A174125133F2EFB2A324120881B9A9E9A17418B257E66FD2A3241800616DAA59A1741D98AFDA5FF2A324160FDF6F5AC9A17418AFD65D7042B324100E2E915559A174101000000020000000001000000FFFFFFFF0000000003, CAST(523902 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (524494, N'{0719E7C6-AF51-4EE8-9FA8-BB0CCB824217}', N'010496408', 292591, N'PGP17367', NULL, N'10496408', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 6107 CARIBOO DISTRICT PLAN 17367 EXCEPT PLAN PGP38236', N'0163', N'0002', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2019-01-11T18:30:52.000' AS DateTime), 84900, 3490, 0xBD0B00000104190000005E7FD95DFEFD3241A0C420F0CD3729414C158CEA19FE3241285B42BECF372941BBA67927F2FD3241A845B673F63829411904568ED9FD3241107C61B2063A29412C3A926BBAFD32414827A0495F3B2941FFB27BB2A1FD324198CEF753933C29412EB29D2FD2FD3241700C02EBEA3E29417A4F1E7665FD3241C8FF90BECC412941E3BE0E5C58FD324190218E35744229418251499D8FFD324140A5BD417A422941078195A39DFD3241709621CE0E42294190E4F27F04FE324178226C38613F294132333393CDFD324118E9B76FAB3C29417D6ABC94F6FD3241989999191F3A2941F463CCFD0EFE324138D8F034103929411BE2589738FE3241781D38A7DA372941C27D1D3844FE3241A8081B1E843729412A5C8F825DFE3241B8E848AE2637294132772DC160FE3241B8FA5C2DAF362941E873B59585FE3241401361C3F8352941D5CEF7137AFE32411013F281F7352941E3B584DC65FE3241603BDF4FF5352941EE5A42BE3CFE3241084FAFD4F0352941EE2FBB270BFE3241881F636EEB3529415E7FD95DFEFD3241A0C420F0CD37294101000000020000000001000000FFFFFFFF0000000003, CAST(524494 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (524804, N'{E9098744-70A5-4B08-A3DC-C4A671A83FAD}', N'001585339', 126723, N'VIP851', NULL, N'1585339', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'Block C', N'', N'THAT PART OF LOT 6, BLOCK C, SECTION 16, VICTORIA DISTRICT, PLAN 851 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:48:26.000' AS DateTime), CAST(N'2019-01-05T11:03:59.000' AS DateTime), 738, 122, 0xBD0B0000010413000000457B83EFCB2C32412019735799991741A2B43758CE2C3241F0482EFF9B9917412897FF90D42C324130211F74A39917413B234ABBDA2C3241A02D219FAB99174123FDF6D5E02C32418048BF7DB4991741A2B43798EB2C324170F5B9DAC4991741CC073D3BE42C3241F04603F8639917412AE4835EE12C324120840DCF5F99174138EF38A5DA2C3241706666E656991741174850DCD32C3241103867C44E991741ADBFECFEC22C3241C048BFFD3E9917417836AB5EC12C324190E2C7183E9917416788631DC82C3241D088D2DE95991741A3A4C5C0C82C3241E0FD766C969917415B830364C92C324170F4B1FC96991741A57C1C07CA2C324120D7828F97991741C6E80FAACA2C32411010E924989917412120DD4CCB2C3241D004E4BC98991741457B83EFCB2C3241201973579999174101000000020000000001000000FFFFFFFF0000000003, CAST(524804 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (527195, N'{383D57F9-DD50-422F-86B6-82031BB884B1}', N'009400796', 3, N'NO_PLAN', NULL, N'9400796', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART A', N'11', N'', N'THAT PART OF AMENDED PARCEL A (DD 93298I AND DD 97797I) OF SECTION 11, RANGES 3 AND 4 EAST, SOUTH SAANICH DISTRICT, LYING TO THE EAST OF PLAN 805 RW EXCEPT PART IN PLAN 2522 RW', N'0016', N'0005', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:37:29.000' AS DateTime), CAST(N'2018-01-09T12:26:17.000' AS DateTime), 4783, 503, 0xBD0B000001040B000000BD9F1A0FA83132410030BBA7C758184112143F86B1313241209C33225C5A18412E90A038BC31324180A223B95D5A1841811D3847DB31324100A7E848CF581841BD9F1A0FA83132410030BBA7C75818410EBE3019D4313241F0E46121615A18413BF8C2E4EF31324180605452655A1841154850FCF2313241E03A70CED258184130E6AE25F031324100D34D62D258184106560EADD7313241D089B0E10B5A18410EBE3019D4313241F0E46121615A1841020000000200000000020500000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(527195 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (528619, N'{601586E6-1218-4AC6-9A00-711140252D6D}', N'012429538', 629004, N'PGP12116', NULL, N'12429538', NULL, N'005468.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 4', N'Block 22', N'', N'LOT 4 BLOCK 22 SECTION 32 TOWNSHIP 83 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT PLAN 12116', N'0038', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:29:46.000' AS DateTime), 684, 121, 0xBD0B0000010405000000AFE1E955242B3441645227208D3C33413190A0D8F62A3441D0915CBE893C334161E5D0C2F52A3441FC4525B5983C3341A6A44E40232B34419406F0169C3C3341AFE1E955242B3441645227208D3C334101000000020000000001000000FFFFFFFF0000000003, CAST(528619 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (529330, N'{B411F53F-4379-403B-9562-FFCA99DD1AC5}', N'005246881', 246796, N'PRP10494', 35362191, N'5246881', NULL, N'13538.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 8', N'', N'', N'LOT 8 DISTRICT LOT 4219 RANGE 5 COAST DISTRICT PLAN 10494 EXCEPT PLAN PRP12873', N'0163', N'0001', N'NO', N'ICF', 13, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:25:44.000' AS DateTime), 43008, 909, 0xBD0B0000010410000000663BDF0F4A0E2E411C7E8C59A314304139C8985B390E2E41F0B8DBD5A414304176A64D96280E2E41F437C21EA6143041D49C76C2170E2E4184810F34A7143041F0968EE2060E2E4178B69A15A8143041C14712F9F50D2E41649942C3A814304197CB7F08E50D2E416091ED3CA914304177BC7453CD0D2E4138E17A54AB1430413D60E5D0B30D2E416CA1D694AD14304142B6F37D3A0D2E41B83E571BAE143041C20E9C73900C2E4138F697DDBC1430417DC954C11D0C2E41B425E44399143041AB946548220C2E41DC56ECAF4A153041F1B9DACA3A0D2E41FC94D46949153041244A7B434A0E2E41BCE8482E48153041663BDF0F4A0E2E411C7E8C59A314304101000000020000000001000000FFFFFFFF0000000003, CAST(529330 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (529456, N'{A939F064-F464-446D-B637-6BF47997E1A4}', N'013226177', 246698, N'PRP1076', 90073094, N'13226177', NULL, N'03542.910', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 13', N'Block 34', N'', N'LOT 13 BLOCK 34 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076 EXCEPT PLAN PRP14257', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 247, 82, 0xBD0B0000010405000000604469AF252E2C412CF38ED33FA1304155840D4F1A2E2C418C855A7347A130412DBB274F612E2C41302AA9F346A13041BA9F1A2F612E2C41D8D781533FA13041604469AF252E2C412CF38ED33FA1304101000000020000000001000000FFFFFFFF0000000003, CAST(529456 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (531429, N'{FEF2A626-920C-453E-9FFE-A57256A688E5}', N'000438260', 3191773, N'VIP552G', NULL, N'438260', NULL, N'05771.001', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Section 17', N'', N'', N'THE SOUTH 1/2 OF THE EAST 1/2 OF THE NORTH 1/2 OF THE NORTH EAST 1/4 OF SECTION 17, TOWNSHIP 9, COMOX DISTRICT, PLAN 552-G', N'0163', N'0017', N'NO', N'ICF', 5, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-12-17T18:22:22.000' AS DateTime), 81935, 1214, 0xBD0B00000104050000009B6588432D423041108A1FE34CC01F41E72631489940304140BF7D9D38C01F4121EBE29695403041F0A2013C64C31F410668226C2942304190A44EC077C31F419B6588432D423041108A1FE34CC01F4101000000020000000001000000FFFFFFFF0000000003, CAST(531429 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (532016, N'{E9049DC4-7447-4328-AB61-A5C117ABD735}', N'013977776', 295389, N'PRP968', 23694761, N'13977776', NULL, N'01257.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'Block 111', N'Section 2', N'LOT 2 BLOCK 111 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:38.000' AS DateTime), 233, 66, 0xBD0B0000010405000000E5ACFA1CF8792B417C9ECDAA7A643141DF1B7CE1F8792B4180B740E291643141ABFA5CED0C7A2B4128D9CEB7916431417D9ECD2A0C7A2B41AC9BC4807A643141E5ACFA1CF8792B417C9ECDAA7A64314101000000020000000001000000FFFFFFFF0000000003, CAST(532016 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (532032, N'{E5D9F845-CBA9-4E0E-97F0-7B4B842ECE26}', N'013977954', 295389, N'PRP968', 23708441, N'13977954', NULL, N'01263.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 10', N'Block 114', N'Section 2', N'LOT 10 BLOCK 114 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:37.000' AS DateTime), 172, 54, 0xBD0B00000104050000000BA5BD8162772B41805149FD7F6431413CE17A1463772B41BCAF0327916431410FAE472177772B4104363CFD906431414C840D8F76772B41D8D781D37F6431410BA5BD8162772B41805149FD7F64314101000000020000000001000000FFFFFFFF0000000003, CAST(532032 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (535072, N'{0845021B-C778-4200-A6B1-4DBA4AFA5FCC}', N'000733989', 1298225, N'NWP571', NULL, N'733989', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', CAST(N'2003-03-04T00:00:00.000' AS DateTime), N'REM Lot 5', N'', N'', N'WEST 251 FEET LOT 5 EXCEPT: FIRSTLY: EAST 66 FEET SECONDLY: PART ON STATUTORY RIGHT OF WAY PLAN 73193; SECTION 36 BLOCK 5 NORTH RANGE 4 WEST NEW WESTMINSTER DISTRICT PLAN 571', N'0120', N'0010', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T10:49:56.000' AS DateTime), 2555, 214, 0xBD0B00000104070000003F0AD7E3DBA43241603EE8D9568B1C41412CD43ADEA4324150C3D32B5A8A1C414AE17AD4A5A43241F0B4A679518A1C4194976ED2A4A43241102AA993BD8A1C4133431C6BA9A43241E00DBE30CB8A1C41FE187317AEA4324170438B6CD88A1C413F0AD7E3DBA43241603EE8D9568B1C4101000000020000000001000000FFFFFFFF0000000003, CAST(535072 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (535123, N'{9F1EFD42-8A15-4AB7-B4FB-8FEE24FB719A}', N'011322314', 1303888, N'VAP4742', NULL, N'11322314', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-02T00:00:00.000' AS DateTime), N'Lot 1', N'Block 27', N'', N'LOT 1 BLOCK 27 DISTRICT LOT 599 PLAN 4742', N'0092', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T10:50:27.000' AS DateTime), 466, 92, 0xBD0B0000010406000000569FAB0D607A324150B4C8761F871D41CE66D5E7507A3241B06B09791C871D41DF4F8D57507A324180F5B9DA99871D41C264AAE05E7A3241705AD3BC9C871D41285C8FE25E7A3241402041F19B871D41569FAB0D607A324150B4C8761F871D4101000000020000000001000000FFFFFFFF0000000003, CAST(535123 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (536743, N'{4BA1EC7E-58BD-4F55-9BB5-07B541A4B54C}', N'003175944', 1480939, N'NWP3047', NULL, N'3175944', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-14T00:00:00.000' AS DateTime), N'REM Parcel 1', N'REM Lot 5', N'Block 2', N'LOT 1 EXCEPT: PART ON SRW PLAN 26009 OF LOT 5 BLOCK 2 DISTRICT LOT 14 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 3047', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:39:53.000' AS DateTime), 2506, 349, 0xBD0B00000104130000004060E57033B13241E0C039A339F21C41714694560AB1324140D26F5F58F21C4171CE8812CAB0324190779CA288F21C4181B740E2A6B03241B0FCF6F5A2F21C41F0F44AD9A6B03241B023B9FCA2F21C41B0B6623FACB03241806891EDD3F21C41BFCAA145ACB0324180B0E1E9D3F21C415A0E2D72C9B03241C0263188C3F21C410444FA0DCAB0324130333333C3F21C418E3A01AD1CB13241203B70CE94F21C41516B9A5720B13241809FABAD92F21C41477B83EF28B13241B0ABADD88EF21C41B9847C9031B132418075719B8CF21C417D58A8353AB13241A021FDF68BF21C41AC506BDA42B1324150FAEDEB8CF21C41A9ADD85F4BB13241C069DE718FF21C4193976EF24AB13241908C4AEA8DF21C414CF38E733EB132415092CBFF60F21C414060E57033B13241E0C039A339F21C4101000000020000000001000000FFFFFFFF0000000003, CAST(536743 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (537038, N'{477093FE-F3AB-484D-B080-B6029F202DB5}', N'014297701', 1479024, N'NWP1558', NULL, N'14297701', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-02T00:00:00.000' AS DateTime), N'REM Lot 5', N'Block 14', N'', N'LOT 5 EXCEPT PART ON SRW PLAN 26625, BLOCK 14 DISTRICT LOT 69 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 1558', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T13:09:03.000' AS DateTime), 664, 107, 0xBD0B0000010406000000ABDFBE4E5B91324100CE1951990E1D4189F4DBB768913241C032C431670E1D4154E3A5BB69913241C019515A060E1D4166F7E4A1559132414055302A040E1D41497B830F54913241B0270F8B980E1D41ABDFBE4E5B91324100CE1951990E1D4101000000020000000001000000FFFFFFFF0000000003, CAST(537038 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (538406, N'{2A5DEBAD-1BBE-4ECB-BE23-48AE303C5BB4}', N'017849292', 8198848, N'KAP47652', NULL, N'17849292', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1992-07-20T00:00:00.000' AS DateTime), N'Lot 1', N'', N'', N'THAT PART OF LOT 1 DISTRICT LOT 137 OSOYOOS DIVISION YALE DISTRICT PLAN 22495 SHOWN AS ROAD ON PLAN KAP47652', N'0057', N'0016', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'257.0', CAST(N'2021-01-29T11:28:40.000' AS DateTime), CAST(N'2021-01-29T11:29:49.000' AS DateTime), 288, 135, 0xBD0B000001040A000000C876BE5F3D693641D8BE0E5CBD31214112E02D107D693641D886A717A1312141CE64D361776936411891C144A03121412637F0AF71693641480F370BA0312141D4918EFE6B69364190D3306BA0312141CF53B85166693641E8C76A64A13121419E2274AD60693641381F34F6A23121415C8FC2155B69364120D26F1FA5312141DF2406C13D69364108780B24B2312141C876BE5F3D693641D8BE0E5CBD31214101000000020000000001000000FFFFFFFF0000000003, CAST(538406 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (538475, N'{9C64AE68-5C0D-4868-885C-F75E533751B3}', N'015218155', 489827, N'NEP2736', NULL, N'15218155', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'', N'', N'LOT 6 DISTRICT LOT 7360 KOOTENAY DISTRICT PLAN 2736', N'0163', N'0004', N'NO', N'ICF', NULL, NULL, N'UNKNOWN', N'0', N'3692', CAST(N'2018-10-16T10:55:18.000' AS DateTime), CAST(N'2019-03-11T11:59:32.000' AS DateTime), 3488, 259, 0xBD0B000001040A0000005227A0C967AE38411004560E124720411A2FDD247FAE3841502CD4DA174720411EF46CF6A4AE3841707B83EF2047204171E7FB09B7AE3841686FF04525472041D8718A6EC0AE384150341176D946204168AA609498AE3841C8915C3ECF462041AEE8488E77AE3841305DDCC6C64620416CAA605461AE3841C8051214C1462041B0E1E9B55EAE3841680B2468C04620415227A0C967AE38411004560E1247204101000000020000000001000000FFFFFFFF0000000003, CAST(538475 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (538483, N'{812A4533-12CF-425D-A066-161350E6669A}', N'002135469', 1080640, N'KAP29043', NULL, N'2135469', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1 TOWNSITE OF LILLOOET SUBURBAN PLAN 29043 EXCEPT PART SHOWN ON PLAN A17772', N'0069', N'0025', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-03-11T14:24:38.000' AS DateTime), 4504, 287, 0xBD0B000001040900000029F6977D77A2334180787AE5FE7B23413CCD3BCEDCA2334158F2B0D01D7C2341CABAB88DD9A23341F031E62EEC7B2341F1D24D42D6A23341E08C28EDB97B2341EEA7C60BA4A23341A801BC05AB7B234149EA04349EA233415096214EAF7B2341B025E4637EA233410868222CA57B23412FBB276F79A23341D88C28ADE57B234129F6977D77A2334180787AE5FE7B234101000000020000000001000000FFFFFFFF0000000003, CAST(538483 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (539750, N'{21E3572C-8642-4628-91B0-93C789495BD6}', N'009787844', 852927, N'KAP8666', NULL, N'9787844', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 201 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 8666 EXCEPT PLAN 13960', N'0100', N'0022', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-07-30T14:30:17.000' AS DateTime), 1884, 177, 0xBD0B0000010415000000E4AE25048450364100C3642AEEB01F411E41F1E383503641C08A8E64C9B01F41D656ECEF8950364170B1BF6C36B01F41FCCBEE695E503641307AA5AC3AB01F4185952A2C5E503641E06E22A540B01F4105B77CE75D503641704AE59846B01F41CAF5EA9B5D503641D0036E874CB01F4194AB7B495D50364190FF3C7052B01F41B4C535F05C503641701DD35258B01F419AC420905C50364140C4B12E5EB01F41589FAB6D5A5036413062A1D674B01F417D62F4FB595036413011F1217AB01F410E483B8D59503641503E36717FB01F417684822159503641A0D755C484B01F41D53CCCB85850364130B9341B8AB01F41F7861A535850364170AAB7758FB01F414B696FF0575036411061C3D394B01F4138234A7B56503641D023287EABB01F410A3D9B555450364110DBF9FECDB01F416688635D5450364140014D04CEB01F41E4AE25048450364100C3642AEEB01F4101000000020000000001000000FFFFFFFF0000000003, CAST(539750 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (542191, N'{6D14DD79-69B7-44C7-A0C5-7585BDAC2F59}', N'001705687', 3191875, N'VIP1215OS', NULL, N'1705687', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, NULL, NULL, NULL, N'THAT PART OF THE UNNUMBERED PORTION OF MALAHAT DISTRICT SHOWN COLOURED RED ON PLAN 1215 OS LYING BETWEEN THE NORTHERLY AND WESTERLY BOUNDARIES OF LOT 3, BLOCK 45, PLAN 218B AND THE WESTERLY BOUNDARIES OF LOTS 7 AND 8, BLOCK 23, PLAN 218A, EXCEPT THAT PART THEREOF INCLUDED WITHIN THE BOUNDARIES OF LOT 6, BLOCK 44, OF SAID PLAN 218B. THE LAND THE TITLE TO WHICH IS HEREBY REGISTERED CONTAINING 17.05 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 11, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:38:20.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 68110, 4674, 0xBD0B000001048A00000072567D8E57E8314140FF907EC5A718411071AC8B50E831419047E1FA4AA61841FB0FE91750E8314180EC9E3C1FA618415EFE433A4FE83141E030992A00A61841C94B37094CE831418088D25E8EA51841873D73284BE83141C088FB5831A51841798441E94BE83141E0E9A84ED4A41841ECA6AF4A4EE83141F0F0DCB477A418412A37BF4952E8314170600C001CA41841829769E157E83141B0008CA3C1A318412C4CA60A5FE831412097FF1069A3184161EE5A6268E83141D0CE66D505A31841C46D346078E83141506B9AF76EA21841E495B22C8AE8314130B07268B7A11841AD1CD1F793E83141105F665C4CA118411304660E9CE83141F0DF0F0FDFA01841BAE63768A2E83141400293EF6FA01841CC9CD1FEA6E831418091ED6EFF9F1841A7CC88CDA9E83141B07184FF8D9F18418EA982D1AAE83141204FAF141C9F18418FC2F528ABE83141101FF46CF49E1841AB57CA12ABE83141B01DA7E8EA9E1841547FECDEAAE8314150D1D620D69E18416AA4C69BAAE8314100DAC25BC19E1841270C5B49AAE8314130031F9AAC9E18410A80ACE7A9E8314180F89EDC979E18419C4DBE76A9E831418044F623839E1841734694F6A8E83141A044D8706E9E1841375EBAA9A3E8314130AE47619F9D1841E8FD940CA3E83141403325868A9D1841CF6C1D77A2E8314160E37BA7759D1841ECEE54E9A1E83141E0F978C5609D18418AB73C63A1E8314120BC49E04B9D18415AE9D5E4A0E83141F0721BF8369D18414E96216EA0E8314160711B0D229D1841C6B4B5FA9FE83141E055A406E99C1841A3835B23A0E83141606FC8F9AF9C1841DAFFFFE7A0E83141C0CC3601779C1841EA2F4748A2E83141200295373E9C1841E04E8C43A4E8314100AC72B7059C18416819E2D8A6E83141F0073D9BCD9B18416803FDA9A7E83141F09BB242C09B1841E789DC83A8E831411037EFF2B29B18416BC87A66A9E83141E0034FACA59B1841ED9DD151AAE8314180EC2D6F989B184109ADDA45ABE83141909AE73B8B9B1841265C8F42ACE83141F072D7127E9B1841B7ECC7DFB0E83141E06923DF3F9B1841FDA6693CB6E831413080F2A2029B184133DF3B55BCE83141C0E50E83C69A18416AD99426C3E8314110FB97A38B9A1841D0FC5BACCAE83141C09DEC27529A1841B6490CE2D2E83141C0E995321A9A1841F31FD26FD7E83141A0EB5138FE9918413C1CEBC224E93141C01726D377981841CCCCCC8C35E9314100E86A2B2A981841CDF753C33AE93141703A924B12981841D70968C23AE9314150F2B0D05D971841D468002FB6E83141E0984C95DF99184102FC7A11A7E83141B0D031944E9A1841C1E6DC689AE83141B0AD5063C29A184189AE6F4D90E83141209077243A9B1841DC9E97D288E8314140F7E2F1B49B18417694AE0684E83141705AF6DF319C1841D274E8F281E83141503100FFAF9C1841E585419B82E83141C0DB055D2E9D1841B9C876FE85E83141B0DD9307AC9D1841A92C433C8BE8314160DAAC7A759E1841EC6C218A8BE83141C08698DDF39E1841C317A3F489E83141002B5619729F184149FB3A7D86E83141708876BAEF9F18417695142781E8314150C1174E6CA01841452E11F779E83141C06B4E62E7A018410E61C3F370E83141A0B88D8660A11841267E8CD942E8314160D0B3D93FA3184140EF5BF63BE83141A0CC98169FA31841AFD3286A36E8314120FE2AB7FFA3184174EE603932E8314190E9466E61A418415AA95C672FE8314190B4EAEDC3A418414E695CF62DE83141E07074E726A518412AC286E72DE83141F0DEE00B8AA51841433EE8B930E831419054C12840A61841DA6800EF38E8314130B6F37DDDA718416A5BB3D53BE83141A0FF64E380A8184133382FC73BE8314180D928B224A918411B6887C338E83141B0F9360FC8A918414AB9C3CE32E83141201E1F206AAA184120FBDAF029E8314120282D0C0AAB18417C58A8351EE83141B0DA8AFDA6AB1841F02FBBC781E7314160696FF04AB218410018F3F975E7314110B6FF95F5B218419B96861F6EE73141606FD3D5A3B31841F0604E496AE73141300F1F3A54B418410E7F857F6AE73141207E7E4805B51841D2A3B7C16EE7314150CE2085B5B518418326C20677E7314100FDF67563B61841560E2D12B6E7314110302A292FBA1841F05A42BEB9E7314180029A8870B91841C832C491BBE7314140A4DFBEABB81841CF66D5C791E73141A0A8135050B61841A735CD1B90E73141003E79582AB6184151DA1BBC8FE731413045477220B61841DF4F8D978DE73141809ECD2AE8B51841EF1648908CE731411083C0CAC7B51841576CDF568AE7314170324FD184B518417E97C0CB88E73141B0889B8941B51841670092EF87E73141805BFB0FFEB418412E62B0C287E731411085D980BAB41841A4A32E4588E7314190EFA9F876B41841AACFD57689E73141E097DD9333B41841D0F314A28AE73141C029EBFBE1B318414344EFCC8CE7314180AEC0B790B31841E8440FF68FE73141E01862F93FB31841A8FB821B94E73141F00381F2EFB21841E722BD3A99E73141101B5ED4A0B2184194BB96509FE7314180CDAACF52B21841D3F75303CCE73141E098BB966FB018412E431CCBD6E731416023B9FCFAAF18418D31770D25E83141E05A42BEA9AC18412BDD24C63BE8314130BBB80DD6AB18415B0F8B0E42E8314110144D1389AB184147A773AF47E8314190D19F4A3BAB1841C6D838A74CE8314140FE75CAECAA1841B15A66F450E83141805BCAA99DAA1841EED3B99554E83141A0A6C6FF4DAA1841BE39238A57E8314170D3BCE3FDA9184123FB66A659E83141B0AF2231ABA9184192A7850A5BE8314190FE3F4058A91841943E11B65BE83141E064B32A05A91841FAC2D4A85BE83141A0DA260AB2A81841774BD4E25AE8314110BC47F85EA8184135014D6459E8314150DFBE0E0CA81841DD0F4F1F59E83141908E4C4800A81841972797D658E8314180174183F4A71841FABC258A58E831416059AFBFE8A71841944AFB3958E83141A030AAFDDCA71841E85018E657E83141A075443DD1A7184172567D8E57E8314140FF907EC5A7184101000000020000000001000000FFFFFFFF0000000003, CAST(542191 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (542492, N'{A6C3C047-54C9-48C5-BB0C-4342FB3B2D89}', N'016412478', 3, N'NO_PLAN', NULL, N'16412478', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'301A', N'', N'', N'PARCEL 3 (SEE 12572I) OF DISTRICT LOT 301A KOOTENAY DISTRICT', N'0015', N'0004', N'NO', N'ICF', 7, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-04-03T19:21:26.000' AS DateTime), 6898, 725, 0xBD0B00000104170000002C871619CD773841F05205A3156F1F41F241CF86BE773841A0CB7F481B6F1F41A489B061A6773841206A4D73196F1F415886381682773841B0CD19D10E6F1F41F931E64EC277384180832FCC556F1F41AC0C716C38783841C08026C208701F415A17B7F16B78384130C7BAB831701F418EF4DBF7B5783841001E166AF86F1F419A2A18D5C9783841A042AD69E96F1F413AEF3805DE783841B045B673E76F1F41DF361A00E37838410022FDF6E66F1F410A3D9BF5DD783841A0B662FFE46F1F41643BDF0FB7783841D0F3FDD4D56F1F4162E5D002A178384180CFD5D6CF6F1F41621058F985783841402A1815C26F1F41D25D4B8870783841C03C2C54B16F1F418CDB686055783841606666E69E6F1F416C44694F3B78384180C42030876F1F414672F92F2578384110D26FDF6E6F1F4162BA496C0E783841C034EF38566F1F41472EFF61F8773841901804563B6F1F41112DB29DE1773841900D4FAF226F1F412C871619CD773841F05205A3156F1F4101000000020000000001000000FFFFFFFF0000000003, CAST(542492 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (542641, N'{F506E312-F363-43A8-AFD6-7B235292CB83}', N'016344855', 486346, N'NEP60X', NULL, N'16344855', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 31', NULL, NULL, N'THAT PART OF SUBLOT 31 TOWNSHIP 28 KOOTENAY DISTRICT PLAN X60, SHOWN OUTLINED IN RED ON REFERENCE PLAN 135373I', N'0163', N'0019', N'NO', N'MODIFIED-ICF', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-04-27T16:31:49.000' AS DateTime), 6096, 330, 0xBD0B0000010405000000801D3847F65E38412017485008E51D412C08AC9C115F3841706519E240E41D4154AF94059C5E3841F0EF16C80CE41D41CB32C4F1A25E3841D061A1D628E51D41801D3847F65E38412017485008E51D4101000000020000000001000000FFFFFFFF0000000003, CAST(542641 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (543001, N'{E9586B94-77FB-4CE6-981B-38B92DD23206}', N'014194589', 3, N'NO_PLAN', NULL, N'14194589', NULL, N'P32329', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART NW4', N'21', N'21,17', N'ALL THAT PART OF THE WEST 1/2 OF LEGAL SUBDIVISION 12 SECTION 21 LYING TO THE EAST OF THE NORTH THOMPSON HIGHWAY AS SHOWN ON PLAN H68 TOWNSHIP 21 RANGE 17 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLAN 41850', N'0055', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-05-30T20:01:22.000' AS DateTime), 2828, 340, 0xBD0B000001040400000088D2DEA04C5E3541A01726D39D1C244101000080665E354148166A4DCC1D24412F4CA68A725E3541B064AAE0A31C244188D2DEA04C5E3541A01726D39D1C244101000000020000000001000000FFFFFFFF0000000003, CAST(543001 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (543031, N'{48519E1F-28FF-4A96-AB0A-0C3ECB6D8503}', N'017506301', 3, N'NO_PLAN', NULL, N'17506301', NULL, N'07001.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'1899-12-30T00:00:00.000' AS DateTime), N'PART 6626', N'', N'', N'DISTRICT LOT 6626 KOOTENAY DISTRICT EXCEPT (1) PART INCLUDED IN PLANS 1679, 2468, 2625, 4925, 5509, 7350 AND 9374 AND (2) THAT PART SHOWN OUTLINED ON PLAN RW 75 LYING TO THE WEST OF THE WESTERLY BOUNDARY OF THE RIGHT OF WAY OF THE NORTH STAR BRANCH OF THE BRITISH COLUMBIA SOUTHERN RAILWAY AS SHOWN ON PLAN 524-T1 (3) PART INCLUDED IN PLANS NEP22796, NEP23527, NEP23669 NEP62474 AND NEP83544', N'0060', N'0018', N'NO', N'MODIFIED-ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'0', N'1381268', CAST(N'2019-10-16T13:26:28.000' AS DateTime), CAST(N'2021-05-30T20:21:13.000' AS DateTime), 1380614, 6385, 0xBD0B000001043E0000004282E20721473A41384BC847154F214174C5FE921F473A419845B6F3284F2141C3E314DD33473A41F09E3CAC4B4F21417E7346145B473A41D8141D49974F2141AD59F5395D473A41D0E3149D9C4F2141AE7BF23064473A41E0D32BE5AD4F2141DE46037867473A41F03C9B55A64F21411C04566EA4473A4168C0CA211C4F21416CF90FC922473A41C003E78CFD4E2141AD1C5A2422473A4128371A40064F21414282E20721473A41384BC847154F21416AF7E40111473A41983A014DC44F2141E47A14CE01473A4130F697DD905021411EC9E51F25473A4170E7FBE93F5021416AF7E40111473A41983A014DC44F21419028ED4DD5473A416804C5CF1354214166006FC1D2473A41F06800AF2754214105D57809D0473A4160FD65773B5421418A38D625CD473A41E878E9264F5421410422FD16CA473A41007F6ABC62542141825149DDC6473A41508FC235765421414C50FC78C3473A41283CBD9289542141F6CBEEE9BF473A411097FFD09C542141D344D830BC473A4110FBCBEEAF5421415B9FAB4DB8473A4188559FEBC254214181D2DE40B4473A41382653C5D55421414E158C2A9A473A41F80DBE304C5521414460E510A5473A419859F53955552141122FDD048F473A41286822AC13562141C1A8A48E61473A4108D7A3F0A1562141E04603383B473A41B03099EA19572141F0A7C60B3B473A4130D8F0741A572141738104A53A473A41507DAEB61B572141947EFBDA1E473A41A0D781B359572141183FC6DCFA463A4158C807FDA95721412AF6971D22473A41186A4D33D0572141D2D5566C7A463A4110E483DE7A5A2141A857CA9224463A41A8F1D2CD265A21417736AB3EF9453A418009F9A0C65B214102AC1C9A05463A41282B87D6C95B214135431C0BA4463A416823B9FCF25B2141C2D32B0537483A41A879C7A95C5C2141802F4C0681483A41E8BB0512705C21418DCB7FE87A4A3A41387F6ABCF45C2141EE8E5374414B3A41203B70CE285D214126ED0DBE434B3A41480AD7A3055D2141A4605452484B3A4118A5BD41BF5C2141AAADD87F7F4B3A41A869DE717C5921419187853AB24B3A41D06800EF7C562141B8F3FD141B4A3A4168613295125621418B5CFEA3854A3A4170C3D3ABD64F21412EC4B18E244A3A41880B24E8BD4F2141A5C64B5798493A41708A8EA477512141F47C3FB52E493A41C89C11A5F0502141440AD7A32A483A41583D0AD75A53214109AC1C7AED473A418844D8F0F2522141DE581777DF473A41483A924BAF5321410AF9A0C7DD473A41A0CB7F88C3532141460378EBDB473A41284625B5D7532141D300DEE2D9473A41F00434D1EB5321411C0456AED7473A41B01951DAFF5321419028ED4DD5473A416804C5CF13542141030000000200000000020B000000020F00000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(543031 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (543896, N'{7C2A32DA-DCC1-475D-B5AF-44A7B7FFE802}', N'008612340', 3190622, N'VIP720A', NULL, N'8612340', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 51', N'', N'', N'THAT PART OF LOT 51, SECTION 9, VICTORIA DISTRICT, PLAN 720A BEING THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY THROUGH THE SAID LOT AS SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'COGO', N'0', N'369.0', CAST(N'2016-01-06T20:57:07.000' AS DateTime), CAST(N'2021-06-30T10:00:36.000' AS DateTime), 390, 109, 0xBD0B0000010405000000029A087B533932412061C3D36E8E17411161C3B35B393241D05D4B48A38E1741C7B12E4E6839324120A7E8C8F58D17410446253564393241A0490C02DC8D1741029A087B533932412061C3D36E8E174101000000020000000001000000FFFFFFFF0000000003, CAST(543896 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (545864, N'{1C99AC22-D8F0-4DD7-81EA-39049087C866}', N'017865816', 9027661, N'KAP47784', NULL, N'17865816', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1992-08-07T00:00:00.000' AS DateTime), N'Parcel 3', NULL, NULL, N'PARCEL 3 SECTION 32 TOWNSHIP 4 KAMLOOPS (FORMERLY OSOYOOS) DIVISION YALE DISTRICT PLAN KAP47784', N'0005', N'0012', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'1418', CAST(N'2021-08-18T13:17:49.000' AS DateTime), CAST(N'2021-11-10T12:04:55.000' AS DateTime), 1418, 207, 0xBD0B0000010408000000428B6C076DA0364190B0E1E97915234178A52CE36EA0364190BDC1175C152341C2A8A40E57A0364130D49A2656152341288716993BA03641A0F1D24D4F15234198E61D2723A0364188EA733549152341B637F84218A03641005B427E46152341CC19511A16A03641389C332269152341428B6C076DA0364190B0E1E97915234101000000020000000001000000FFFFFFFF0000000003, CAST(545864 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (545911, N'{DD9DB0DA-7888-452B-AC11-363858F5BC52}', N'012700118', 847623, N'KAP157', NULL, N'12700118', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'Block 59', NULL, N'LOT 2 BLOCK 59 DISTRICT LOT 455 OSOYOOS DIVISION YALE DISTRICT PLAN 157 EXCEPT PLAN H577', N'0138', N'0022', N'NO', N'ICIS CADASTRE', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-11-15T14:13:35.000' AS DateTime), 696, 109, 0xBD0B00000104060000008538D665BC403641905E29CB9A292041E3A59B24D540364108A7E808A3292041A42C43BCDA40364150BF7DDD5D292041F385C9B4D440364118F46C965C292041AF7268D1BF403641804BC887782920418538D665BC403641905E29CB9A29204101000000020000000001000000FFFFFFFF0000000003, CAST(545911 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (546498, N'{2AB8C019-D6D5-4E0E-8FCB-A3869A74037D}', N'014724766', 3, N'NO_PLAN', 90092070, N'14724766', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 352', NULL, NULL, N'THAT PART OF DISTRICT LOT 352 SHOWN RED ON PLAN B784 SIMILKAMEEN DIVISION YALE DISTRICT EXCEPT PLAN 36074', N'0163', N'0019', N'NO', N'ICF', 3, N'LSA', N'UNKNOWN', N'0', NULL, CAST(N'2021-09-07T13:46:09.000' AS DateTime), CAST(N'2021-12-17T12:19:36.000' AS DateTime), 304, 72, 0xBD0B0000010405000000F4B0504B05103741A0703D8A00F41C41E88C286DF60F3741B05CFEC3DFF31C4126871619E90F374120AF946505F41C4142A4DFDEFD0F3741F05A42BE34F41C41F4B0504B05103741A0703D8A00F41C4101000000020000000001000000FFFFFFFF0000000003, CAST(546498 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (547092, N'{B71591E4-68E8-4512-99D9-B9B3FA9E8C60}', N'009646914', 479182, N'NEP14880', NULL, N'9646914', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'', N'', N'LOT A SECTION 32 TOWNSHIP 23 RANGE 2 WEST OF THE 6TH MERIDIAN KOOTENAY DISTRICT PLAN 14880', N'0119', N'0006', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2022-01-24T14:44:46.000' AS DateTime), 19368, 626, 0xBD0B0000010405000000F9A067F3598B374118287E0C0C352541B4726851128C3741B8B7AF832F362541753D0A771C8C3741D83311367A3525417E2F4CA69E8B37411010E9B75F342541F9A067F3598B374118287E0C0C35254101000000020000000001000000FFFFFFFF0000000003, CAST(547092 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (547277, N'{15395A2F-36A8-45BB-9780-73AAB5E034CF}', N'010418563', 252432, N'PGP721', 16707721, N'10418563', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', NULL, N'Lot 22', N'Block 12', N'', N'LOT 22 BLOCK 12 DISTRICT LOT 1426 CARIBOO DISTRICT PLAN 721', N'0112', N'0008', N'NO', N'MODIFIED-TANTALIS', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-07-26T16:27:00.000' AS DateTime), CAST(N'2020-04-23T14:39:50.000' AS DateTime), 584, 107, 0xBD0B0000010405000000590E2DD252823241007D3FB5304A2E4137894120528232415839B4484F4A2E4155643B3F7882324100295C8F524A2E4176E926F178823241C847E1FA334A2E41590E2DD252823241007D3FB5304A2E4101000000020000000001000000FFFFFFFF0000000003, CAST(547277 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (547689, N'{DE74B2CF-1572-4AC7-AA26-5DE859CCEE71}', N'007576137', 128602, N'VIP1347', NULL, N'7576137', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 5', N'Block 1', N'', N'LOT 5, BLOCK 1, SECTION 33, VICTORIA DISTRICT, PLAN 1347, EXCEPT PART LYING SOUTH EAST OF THE SOUTH EAST LIMIT OF THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY, AS SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:37:46.000' AS DateTime), CAST(N'2019-01-05T10:21:16.000' AS DateTime), 576, 99, 0xBD0B0000010406000000AD7BF2F0663C3241608D976E319B1741C832C4D1633C3241C0E7FBA9229B17412C5305C3543C324120C7BAB8199B174194081B7E533C324130287E8C949B1741F7EDEBC0653C3241F0BD3019A69B1741AD7BF2F0663C3241608D976E319B174101000000020000000001000000FFFFFFFF0000000003, CAST(547689 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (547919, N'{CC4FD845-A632-41F7-B166-542FDD59AD30}', N'014735962', 463787, N'NEP5117', NULL, N'14735962', NULL, N'7864732100', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'', N'', N'LOT A DISTRICT LOT 4595 KOOTENAY DISTRICT PLAN 5117', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', N'12253', CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:22.000' AS DateTime), 12238, 472, 0xBD0B00000104150000004E96212EFF49394190863896BD2C2141E8C03923F3493941501AC0DB922C214160558A43EC49394120050214782C2141C8853165E649394130E4995B5C2C2141E5E55990E149394160A81AD93F2C2141B393BCCBDD493941A87A30B4222C214134DC971CDB49394180866915052C21419EEFA786D9493941F08AFD25E72B2141342AA9F3D8493941F8DD0249D52B21416691ED9CD4493941C0DEE04BD42B2141B9627FF9AE49394130A2B4B7CB2B21415A5227A0AB493941C86A2BF6CA2B2141FC088ADFA2493941D8915CFEC82B21414B2EFF6192493941D8141D49C52B21415A7DAED68F493941407DAEB6C42B2141B49690AF63493941F0E99532962C2141EE7C3FD5624939412855306A9C2C214161C3D3CB9E493941108A1F23A92C21411B95D4E9E9493941C8172613B92C21416BF08509FA49394160DBF97EBC2C21414E96212EFF49394190863896BD2C214101000000020000000001000000FFFFFFFF0000000003, CAST(547919 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (547996, N'{B6D6A314-04E0-4DA8-9B3D-40B9DED72173}', N'015766284', 488792, N'NEP934', NULL, N'15766284', NULL, N'7073600500', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 5', N'', N'', N'LOT 5 DISTRICT LOT 789 KOOTENAY DISTRICT PLAN 934 EXCEPT PLANS 3082, 18767 AND NEP65164', N'0163', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:11.000' AS DateTime), 67906, 1755, 0xBD0B000001040D000000F095B24CF00A3941E003560E14D520419D5E290B520B394118C58F7152D520418E06F0B67D0B3941B87268D153D220419C2A18F5920B394128C286E7DED020418C5374C42D0B3941800B24A8DBD02041B9490CE2250B39410068226C62D12041846132F51A0B3941B0B5843C23D22041F095B24CF00A3941E003560E14D52041DE938705E00A3941F097DDD334D62041D244D8D0430B3941C0CFD5D64ED620412D3108AC4F0B3941003A928B7CD5204196658803EE0A3941A0D0B3993CD52041DE938705E00A3941F097DDD334D62041020000000200000000020800000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(547996 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (548147, N'{32BBC1AB-5CCF-439E-BC0E-FF1CAF18F0D8}', N'009314393', 128541, N'VIP180', NULL, N'9314393', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'', N'', N'LOT 2, SECTION 64, VICTORIA DISTRICT, PLAN 180, EXCEPT PARCEL A (DD 119886I) AND EXCEPT PART DESCRIBED IN DD 249025I', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:25:11.000' AS DateTime), CAST(N'2019-01-05T10:22:56.000' AS DateTime), 2123, 279, 0xBD0B0000010417000000C0A8A46EF43C324150B6847C819E17419D89B0A1F73C3241C0946588929E1741CBDCB5C4FA3C324180A52CC3A39E17414F6B9AD7FD3C324170C3D32BB59E174192A982B1033D3241000B4625D89E174168666646093D3241703BDFCFFB9E174149D8F0940E3D3241F02E6E23209F1741996E1223153D32415074B515519F1741B9847C301B3D3241B04C150C839F1741918785BA203D324180D712F2B59F174194A0F831233D3241E04C848DCE9F174144EA0494253D3241605EBA49E79F17416E1283E0273D3241000BB52600A017418048BFBD2C3D3241F0C0392336A0174181B740E22E3D3241B06666E64DA017417F6ABC74373D3241D04C848DC09F174189C95421363D3241D08AFDE5B29F174123A7E8C8343D3241205DDC46A59F1741B61E856B333D3241F031E6AE979F1741B325E4E3253D324140EB5138239F1741A5DFBECE153D3241906FF005B49E1741BEA8A44E113D3241A0FE437A9A9E1741C0A8A46EF43C324150B6847C819E174101000000020000000001000000FFFFFFFF0000000003, CAST(548147 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (548687, N'{3AA8EC2C-0325-412C-97B7-AE22A0D046A9}', N'002911060', 117903, N'VIP877', NULL, N'2911060', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'Block 10', N'', N'THAT PART OF LOT 1, BLOCK 10, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:14:32.000' AS DateTime), CAST(N'2019-01-05T10:24:52.000' AS DateTime), 306, 71, 0xBD0B000001040500000036014D646038324190257502B48C1741E895B2CC51383241B0EEC9C3C58C17417FE2C7B857383241C0DD9387128D174104D7A35066383241B038D6C5008D174136014D646038324190257502B48C174101000000020000000001000000FFFFFFFF0000000003, CAST(548687 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (548780, N'{CEC5D292-D447-466E-AF67-12E45CD949E0}', N'014880598', 494080, N'NEP4724', NULL, N'14880598', NULL, N'553648000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 397 KOOTENAY DISTRICT PLAN 4724 EXCEPT PLAN NEP66115', N'0083', N'0004', N'NO', N'ICF', 13, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:34:37.000' AS DateTime), 2268, 190, 0xBD0B0000010407000000CEAACFF5682B38418889B02109C3224198559F4B732B384188F6061F08C32241B8627F39842B384190C2F52894C22241A023B99C5D2B3841E8F97EEA89C22241BCF528BC4F2B3841A067B36AE3C222410E583914552B3841A81726D3F7C22241CEAACFF5682B38418889B02109C3224101000000020000000001000000FFFFFFFF0000000003, CAST(548780 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (549075, N'{B2B47540-FD4D-4F6C-BAC1-82E8CD58CF0F}', N'001646265', 126053, N'VIP1227', NULL, N'1646265', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'', N'', N'THAT PART OF LOT 2, SECTION 48, SOOKE DISTRICT, PLAN 1227 SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 31255I', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:39:57.000' AS DateTime), CAST(N'2020-05-09T21:08:00.000' AS DateTime), 1481, 158, 0xBD0B00000104050000001F41F16381DB3141108F5374AD291741FC6E810469DB3141D054C1A84F2A17416409F92086DB314180C9E5BF7E2A17410E022B079FDB31418070CE88DC2917411F41F16381DB3141108F5374AD29174101000000020000000001000000FFFFFFFF0000000003, CAST(549075 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (549455, N'{F675A29A-A235-4832-819D-D4883D2ED904}', N'005726981', 127092, N'VIP7392', NULL, N'5726981', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'', N'', N'THAT PART OF LOT 3, SECTION 8-A, LAKE DISTRICT, PLAN 7392 LYING EAST OF THE EASTERLY BOUNDARY OF PLAN 770 RW', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:37:29.000' AS DateTime), CAST(N'2019-01-05T10:53:26.000' AS DateTime), 3, 9, 0xBD0B0000010404000000E00B93C936363241C06054D27FCD1741D16F5F4736363241A08CB9EB8FCD1741FA31E60E383632417026538582CD1741E00B93C936363241C06054D27FCD174101000000020000000001000000FFFFFFFF0000000003, CAST(549455 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (550222, N'{1809E47C-2C79-4755-A7BB-14778A732DB3}', N'012481971', 495453, N'KAP364', NULL, N'12481971', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 9', N'Block 74', NULL, N'LOT 9 BLOCK 74 DISTRICT LOT 710 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 364 EXCEPT PLAN H875', N'0046', N'0019', N'NO', N'MODIFIED-ICF', 5, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-05-14T16:19:47.000' AS DateTime), 311, 73, 0xBD0B0000010405000000D934EFF88A69374120ABCFD57D6E1D411F9E5EA9A2693741F07BD0338A6E1D41B0726891A46937416091EDFC4B6E1D4174D712D294693741008A1FE3436E1D41D934EFF88A69374120ABCFD57D6E1D4101000000020000000001000000FFFFFFFF0000000003, CAST(550222 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (550275, N'{DD3A7F7D-8952-4466-99F4-7A41512D1D96}', N'007576412', 128602, N'VIP1347', NULL, N'7576412', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', N'Block 1', N'', N'LOT 3, BLOCK 1, SECTION 33, VICTORIA DISTRICT, PLAN 1347, EXCEPT PART LYING SOUTH EASTERLY OF THE SOUTH EASTERLY LIMIT OF THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY, AS SHOWN ON PLAN 1 RW, AND EXCEPT PART IN PARCEL A (DD 329871-I)', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:25:44.000' AS DateTime), CAST(N'2019-01-05T10:55:50.000' AS DateTime), 447, 91, 0xBD0B000001040900000030BB27EF423C324170CE8852E79A1741E573B5F5423C32410086C9D4E49A1741A4923A61433C3241A057CA32BC9A174104B5A6D93C3C3241E0A8A44E9D9A17412797FF70213C3241709A771C999A17418E5CFE032A3C3241000BB5A6C19A1741F5C2646A313C3241300AD7A3E49A1741D878E9263C3C32413039B448E69A174130BB27EF423C324170CE8852E79A174101000000020000000001000000FFFFFFFF0000000003, CAST(550275 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (551388, N'{8779683C-F0FC-4601-A9AB-472C94E39175}', N'003940934', 850698, N'KAP30497', NULL, N'3940934', NULL, N'72400410020', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot A', N'', N'', N'LOT A DISTRICT LOT 292 KAMLOOPS DIVISION YALE DISTRICT PLAN 30497 EXCEPT PLAN KAP63928', N'0163', N'0028', N'NO', N'ICF', 5, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:31:55.000' AS DateTime), 968, 137, 0xBD0B0000010405000000C810C79A5DC3354100B5A6B9A8A923413680B7C040C33541D088D25E5AA92341ED1FD20F30C33541003D9BD5A3A92341C2A8A48E33C3354140378901AEA92341C810C79A5DC3354100B5A6B9A8A9234101000000020000000001000000FFFFFFFF0000000003, CAST(551388 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (553564, N'{5F65ED67-8376-4054-BD3E-8108B55315AB}', N'007941111', 19444, N'VIP1004', NULL, N'7941111', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 11', N'', N'', N'THAT PART OF LOT 11, DISTRICT LOT 49, COWICHAN LAKE DISTRICT, PLAN 1004 BEING THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 100 RW', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:58:51.000' AS DateTime), CAST(N'2019-01-07T18:33:43.000' AS DateTime), 2545, 238, 0xBD0B00000104080000005F5DDCC65B8C31413080B740BEAF19419DD634AF588C3141B08F31F7C5AF1941D8F97E6A508C3141008A1F63D7AF1941FD088AFF108C31417048BF7D59B019419A081BBE0F8C3141800DE02DE5B019411D166A4D548C3141A073469456B019412731088C5A8C314100295C8F49B019415F5DDCC65B8C31413080B740BEAF194101000000020000000001000000FFFFFFFF0000000003, CAST(553564 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (553824, N'{D79D567E-FA69-47D2-9960-BF67885283F5}', N'006914764', 12870, N'VIP1750', NULL, N'6914764', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 15', N'Block 12', N'', N'LOT 15, BLOCK 12, SECTION 5, RENFREW DISTRICT (SITUATE IN COWICHAN LAKE DISTRICT), PLAN 1750, EXCEPT PART IN PLAN 2762RW', N'0064', N'0007', N'NO', N'ICIS CADASTRE', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T16:06:03.000' AS DateTime), CAST(N'2019-01-07T18:31:13.000' AS DateTime), 3629, 364, 0xBD0B000001040F000000AEFA5CED916E314190FC8774EAF81941D9CEF7F34E6E3141D07D1D38F0F819416ED71272576E3141A0F528DC09F919412EBB27AF5F6E3141A00C71AC23F9194185B0E1A9676E3141005474A43DF919419C8026626F6E314110CAC3C257F91941DA3D79D8766E314170029A0872F919414F96210E7E6E314160FE437A8CF9194163A1D6B4906E314150DD2486D6F919417FFB3A10C26E3141D0F0F4CACBF91941AEFA5CED916E314190FC8774EAF8194136AB3E37476E314110AAF1D2D8F919418B635D5C2B6E314180EB513881F9194152DA1BDC296E314130BF7D1DD4F9194136AB3E37476E314110AAF1D2D8F91941020000000200000000020B00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(553824 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (554071, N'{A6D05940-1B51-4A51-BF74-23461103BA75}', N'015423778', 3, N'NO_PLAN', NULL, N'15423778', NULL, N'348-00465.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 6', N'22,7', N'', N'THAT PART OF LEGAL SUBDIVISION 2 SECTION 6 TOWNSHIP 22 RANGE 7 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT, LYING TO THE NORTH OF THE MOST NORTHERLY BOUNDARY OF THE ROAD SHOWN ON PLAN R258', N'0128', N'0006', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:23:23.000' AS DateTime), 7010, 389, 0xBD0B0000010405000000F66C565DA8CD364170567DEE6D812441B69690AF9DCD3641607B832F3F822441624BC80714CE364128DD2446578224412E3A928BB2CD364148D712F267812441F66C565DA8CD364170567DEE6D81244101000000020000000001000000FFFFFFFF0000000003, CAST(554071 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (555041, N'{E191ABE8-B78C-46DE-A5CE-F98A705B2BDC}', N'015532674', 469593, N'NEP2185', NULL, N'15532674', NULL, N'7865191000', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 4595 KOOTENAY DISTRICT PLAN 2185', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:37.000' AS DateTime), 131923, 1995, 0xBD0B000001040F00000096438BCC54C4394180A44EC08D291F41AFBFEC1EF8C3394140BC05925C291F41B6270FCB02C43941B0F753E34A2A1F418B06F05637C4394110560E2D0B2D1F4196438BCC54C4394180A44EC08D291F4156F5B97AEEC33941F061A1565D2A1F41905CFE03E3C33941A0C64BB751291F4120A7E8089BC23941902C439CA3281F41421CEB62D2C23941A0A44E406C2B1F415C984CF506C339412040A4DF9E2D1F412FA2B4B75BC3394120D3BCE3502F1F4109F9A0875CC3394180CB7FC85F2F1F416619E23820C4394160591737C82F1F41E7B7AFE330C4394140C66DB4CE2D1F4156F5B97AEEC33941F061A1565D2A1F41020000000200000000020500000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(555041 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (555052, N'{508C9862-FAD0-4ED1-B44A-A3B9A9EA4EE5}', N'014151774', 466817, N'NEP6923', NULL, N'14151774', NULL, N'7864584000', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot B', N'', N'', N'LOT B DISTRICT LOT 4592 KOOTENAY DISTRICT PLAN 6923', N'0163', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:47.000' AS DateTime), 151675, 1685, 0xBD0B00000104080000001A48507C87093A41F0E68C28C3141F41833F351E75093A41302FDDA449171F4180AEB602E4093A4130FBCBEE78171F4188FD6537110A3A41E056EC2F8C171F41142DB21DB90B3A41108CB9EB40181F411A3FC63CD30B3A4190C1A8A431141F41B7B88D8692093A4140696F703E131F411A48507C87093A41F0E68C28C3141F4101000000020000000001000000FFFFFFFF0000000003, CAST(555052 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (555103, N'{528B8794-9DAC-4DAE-ADB3-CA2611D4F3CC}', N'012104108', 470596, N'NEP5829', NULL, N'12104108', NULL, N'7865580000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot A', N'', N'', N'LOT A DISTRICT LOT 6321 KOOTENAY DISTRICT PLAN 5829 EXCEPT PART INCLUDED IN PLAN 16858', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:31.000' AS DateTime), 696, 116, 0xBD0B000001040E000000E9482E9F18DC394110166A4D44981E412A7E8C7920DC394160AA605446981E4148EA041428DC3941405C8FC247981E4135B29DAF2FDC3941002FDDA448981E41B40C714C37DC394170012B0749981E415EA6C34138DC3941806243C236981E41B80A599939DC3941704069E124981E41BEA7B7503BDC3941805A948513981E410A4AB5643DDC3941E026C7CE02981E4112F37CD13FDC394140C7D3DBF2971E41E1E9959242DC3941C03923CAE3971E4188C954011BDC394140A60A4600981E4197218ED51ADC394180029A8803981E41E9482E9F18DC394110166A4D44981E4101000000020000000001000000FFFFFFFF0000000003, CAST(555103 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (555194, N'{4D71B25A-3D87-4A95-841D-08EB2D5B99D0}', N'015418529', 3, N'NO_PLAN', NULL, N'15418529', NULL, N'7861137000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 191', N'', N'', N'THAT PART OF DISTRICT LOT 191 KOOTENAY DISTRICT INCLUDED IN SKETCH PLAN 4197I WHICH LIES BETWEEN RW PLAN 524X1 AND THE GOVERNMENT ROAD AS SHOWN ON SAID SKETCH PLAN AND PLAN 1369', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:31.000' AS DateTime), 534, 196, 0xBD0B000001040A00000028C9E53FBFBE3941204F1E16620B1F411AE25857C0BE3941208195C3670B1F419AC420F014BF3941D0482E7FEC0A1F41E2361AE00ABF394150787AA5B70A1F41B0EE9493FFBE394100F61F69DC0A1F4172750DAEF3BE3941300BE305FE0A1F41859C8E3DE7BE3941D00117541C0B1F41BC3CC750DABE39419063F62F370B1F41FEE1F8F6CCBE3941A031CD794E0B1F4128C9E53FBFBE3941204F1E16620B1F4101000000020000000001000000FFFFFFFF0000000003, CAST(555194 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (555663, N'{60328A96-DDF9-4001-9B72-488AFB2C0762}', N'005090121', 246698, N'PRP1076', 35720571, N'5090121', NULL, N'03512.520', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 29', N'Block 2', N'', N'LOT 29 BLOCK 2 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 290, 91, 0xBD0B00000104050000002EBB27CFCD2D2C41A445B633F8A03041C49F1AEF0A2E2C410861C3F30EA1304115FBCBEE132E2C414CBC74D308A130410FE9B7EFD62D2C4150F38E13F2A030412EBB27CFCD2D2C41A445B633F8A0304101000000020000000001000000FFFFFFFF0000000003, CAST(555663 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (556144, N'{B5E9ABE3-B71D-4529-8165-F4F63A5A98D0}', N'014809346', 487676, N'NEP4555', NULL, N'14809346', NULL, N'70722100020', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot A', N'', N'', N'LOT A DISTRICT LOT 8701 KOOTENAY DISTRICT PLAN 4555', N'0163', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:21:04.000' AS DateTime), 28207, 818, 0xBD0B0000010405000000EA6A2B3618853841E0BE0E5C1B9B2041F9E46121FD8438410823DB79269D2041D06F5F0752853841D839230AD49D2041654DF36E7585384160D3BCA3309B2041EA6A2B3618853841E0BE0E5C1B9B204101000000020000000001000000FFFFFFFF0000000003, CAST(556144 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (556379, N'{1FE63521-30D5-4403-A9EB-1F3749CBEB47}', N'000016411', 646724, N'VIP2024', NULL, N'16411', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 8', N'Block G', N'', N'THAT PART OF LOT 8, BLOCK G, DISTRICT LOT 257 ALBERNI DISTRICT, PLAN 2024, SHOWN COLOURED RED ON PLAN 148 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:39.000' AS DateTime), 6942, 534, 0xBD0B000001041B000000EEC9C362BC813041001B2F5D29561D414772F90FB8813041E0B5847C35561D41BD3099CAB3813041B066D5E741561D41A54E4093AF81304190E3149D4E561D411A95D469AB813041F0E3149D5B561D41850D4F4FA7813041A08A8EE468561D41068A1F43A6813041B0AF03676C561D411FD26F3FA681304150696F7094561D41782D213FA6813041D072681199561D41876CE73BA681304130508D17BD561D4163105839A6813041D0EFA7C6D9561D4150621038A6813041B069DEF1E6561D41A03C2C34A6813041907DAEB611571D418CE234EFAC813041202AA67EF7561D4122C025E2B381304150C32C34DE561D413D13F30ABB8130416081B4DEC5561D411C3E8167C2813041307B6785AE561D413C66A5F5C98130417089252F98561D41BF1726B3D1813041B04082E282561D41ED1648F061823041A0A1453604551D417458A8F561823041900AD7A3D7541D41A223B9FC61823041E0B7AF039D541D419C80260262823041401214BF71541D4163DC46C3598230419076BE9F87541D41D4AACF55F281304110014D049A551D41CEBCE3B4C0813041700D4FAF1D561D41EEC9C362BC813041001B2F5D29561D4101000000020000000001000000FFFFFFFF0000000003, CAST(556379 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (557872, N'{F21E69F3-FC6C-4C34-A526-28A4A55109C0}', N'012526177', 296391, N'PRP1335', 35219581, N'12526177', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', N'', N'', N'LOT 3 DISTRICT LOT 374 RANGE 5 COAST DISTRICT PLAN 1335 EXCEPT PLAN 3475', N'0163', N'0011', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:13:28.000' AS DateTime), 4336, 279, 0xBD0B0000010414000000B6A44EC05177294168BC7453732B304158378901537729412448503C762B30412E45473262772941B0EA73B5752B3041FBA292FAAF77294128CA3204732B304186FB3A7088772941E8361A40322B3041D0D985498677294158ECAFC02E2B30417151EDFF83772941F4CED2462B2B30418DA1AA9381772941D4DBD9D2272B3041546CFA047F772941687D1B65242B3041E0B11C547C7729414C81EDFD202B30417AC95481797729417811A59D1D2B30419EF831E673772941408B6C471D2B3041CF54C1684D77294138CF66F51A2B30416B006F8126772941F8F675C01B2B30410AD7A3302A77294148D8F0F4292B304136F8C264327729417CDC46E3432B30416507CE59387729419C8785DA5A2B304166FE437A3D772941F8B0504B702B3041B625E44350772941643255F06F2B3041B6A44EC05177294168BC7453732B304101000000020000000001000000FFFFFFFF0000000003, CAST(557872 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (558029, N'{59EA8B42-6EAD-4B9D-8E0C-BF5F5511A4C3}', N'013977636', 295389, N'PRP968', 29846601, N'13977636', NULL, N'01251.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 18', N'Block 106', N'Section 2', N'LOT 18 BLOCK 106 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:38.000' AS DateTime), 260, 72, 0xBD0B00000104050000001A95D4894A7A2B4198E4F2FFBC643141B5C8767E367A2B417CF08529BD64314167E5D062377A2B4114A3921AD7643141C5B12E6E4B7A2B41AC7268F1D66431411A95D4894A7A2B4198E4F2FFBC64314101000000020000000001000000FFFFFFFF0000000003, CAST(558029 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (559001, N'{9B494C7A-118B-4821-AF94-6B6F23F17447}', N'023068086', 1175783, N'LMP23121', NULL, N'23068086', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-24T00:00:00.000' AS DateTime), N'Lot 2', N'', N'', N'LOT 2 OF THE NORTH EAST QUARTER AND NORTH WEST QUARTER OF SECTION 33 TOWNSHIP 1 OF THE SOUTH EAST QUARTER OF SECTION 4 TOWNSHIP 2 AND OF DISTRICT LOTS 160 AND 450 GROUP 2 NEW WESTMISNTER DISTRICT PLAN LMP23121', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:38:13.000' AS DateTime), 83228, 1799, 0xBD0B000001041900000076C7291A4FCA3241E0E2361A6AE51B4129A9139042CA324130BD521668E51B41C732C4B1C3C83241F0AA3ED773EB1B4130772DA1C9C8324110C58FB185EB1B41FCDA835ECFC832412041000C96EB1B4154B80B22D5C83241B01F7143A6EB1B41B0B8B7EBDAC8324160D8BC57B6EB1B4150777ABBE0C832418036BE48C6EB1B4161814691E6C83241E0555016D6EB1B410C560E6DECC8324180A44EC0E5EB1B4174F2B0D0F1C8324110CEAA4FF3EB1B41696FF065F7C832418076BE9FFFEB1B4158643B1FFDC83241B08FC2F50AEC1B41D23B4EF102C93241309F3CAC15EC1B41539621CE08C9324150575B3120EC1B41F13DB6F10DC93241107F3F7A28EC1B4136FB2B3013C93241A0E6ECA12FEC1B4179618A8518C9324180BBF8A235EC1B41C2ABC7ED1DC93241303BD7783AEC1B4176CBCB6423C93241E02ADF1F3EEC1B41D98173E628C9324140984C9540EC1B41D219513A59CB3241E0E4F29F67E31B411AAE4781C9CA32419003E78C46E31B41D2B359954FCA324110D8F07433E51B4176C7291A4FCA3241E0E2361A6AE51B4101000000020000000001000000FFFFFFFF0000000003, CAST(559001 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (559666, N'{2F91F36D-9AEB-42B9-87DB-BE72B64102F4}', N'008452792', 1167057, N'NWP7868', NULL, N'8452792', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-15T00:00:00.000' AS DateTime), N'REM Lot 1', N'Block 4', N'', N'LOT 1 BLOCK 4 EXCEPT: PART ON STATUTORY RIGHT OF WAY PLAN LMP1084, SECTION 17 BLOCK 5 NORTH RANGE 2 WEST NEW WESTMINSTER DISTRICT PLAN 7868', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T09:11:14.000' AS DateTime), 664, 117, 0xBD0B0000010406000000D60968028EBB324160DA1B7CF6B51C41B940822295BB3241A0211FF4DCB51C41F42FBB0797BB3241F01114BFBAB51C41C217261369BB3241001058B9B2B51C41A7BDC17768BB324130F8C2E4EFB51C41D60968028EBB324160DA1B7CF6B51C4101000000020000000001000000FFFFFFFF0000000003, CAST(559666 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (561821, N'{E9A10D80-7468-4595-9B13-8968BCD62067}', N'013603515', 1314144, N'NWP155', NULL, N'13603515', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-27T00:00:00.000' AS DateTime), N'REM Lot 6', N'Block 5', N'', N'LOT 6 EXCEPT: PART BLACK ON HIGHWAY STATUTORY RIGHT OF WAY PLAN 63822, BLOCK 5 DISTRICT LOT 398 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 155', N'0075', N'0010', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:23:58.000' AS DateTime), 352, 89, 0xBD0B0000010405000000A245B6B3E1083341408B6CE7EBD51C412AA91390E10833413042CF66FAD51C4141C6DCB5F50833410096438BFDD51C4120A7E8E8F6083341D065886380D51C41A245B6B3E1083341408B6CE7EBD51C4101000000020000000001000000FFFFFFFF0000000003, CAST(561821 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (563506, N'{3BEECB75-A3F6-4354-99E1-1C076C2199D7}', N'011412275', 3, N'NO_PLAN', NULL, N'11412275', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-14T00:00:00.000' AS DateTime), N'PART 243', N'', N'', N'THAT PART DISTRICT LOT 243 SIMILKAMEEN DIVISION YALE DISTRICT AS SHOWN RED ON PLAN ATTACHED TO DD 678 EXCEPT PLAN H942', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'0', N'24007', CAST(N'2018-06-28T11:35:30.000' AS DateTime), CAST(N'2019-01-14T18:34:25.000' AS DateTime), 24004, 2044, 0xBD0B000001040A000000FB0FE9579A3A36418014AEC72F491D416EC5FE52F23A36410034113650431D415E7FD9BDDA3A364170355E3A48431D41D256EC2FA03A364120A69B4413471D41CE19511A573A3641C045B6F3C34B1D41FEFFFF3F4B3A3641F07E6ABC8D4C1D411E6C787A1F3A3641508B6CE7764F1D4120D26F1F0E3A3641C0749398B3521D414E7424F73B3A3641A0703D8A7E4F1D41FB0FE9579A3A36418014AEC72F491D4101000000020000000001000000FFFFFFFF0000000003, CAST(563506 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (566249, N'{9FF72DE4-2CDF-409D-A630-C57533C6BEA8}', N'008377898', 136659, N'VIP863', NULL, N'8377898', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 16', N'', N'', N'LOT 16, SECTION 7, VICTORIA DISTRICT, PLAN 863, EXCEPT PARCEL A (DD 252623I)', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:37:29.000' AS DateTime), CAST(N'2019-09-12T14:46:26.000' AS DateTime), 220, 68, 0xBD0B000001040A0000000E7A362B2F3A324150787A25687E174189C954E1293A3241B0AE25E4CC7E17419287859A353A3241C03B4ED1D67E174130DD24C6373A324120257582AD7E1741DE223571363A3241503A24C0A17E17416B31B011353A3241A0185D11967E1741B7F1A7A7333A3241D021B8768A7E1741EAD52E33323A3241F0AFCCF07E7E174133D857B4303A324110103180737E17410E7A362B2F3A324150787A25687E174101000000020000000001000000FFFFFFFF0000000003, CAST(566249 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (567583, N'{46D623F0-1DAA-41C6-A89D-92152EBC83E2}', N'001574230', 126011, N'VIP2384', 10431021, N'1574230', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', NULL, NULL, N'LOT 6, SECTION 78, VICTORIA DISTRICT, PLAN 2384', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:39:57.000' AS DateTime), CAST(N'2020-02-10T09:29:07.000' AS DateTime), 56, 43, 0xBD0B0000010405000000FC4C840D51313241303108AC61921741188C4A4A503132414041F1E35592174197559F8B3E313241B0999919689217418616D94E3F313241306519E273921741FC4C840D51313241303108AC6192174101000000020000000001000000FFFFFFFF0000000003, CAST(567583 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (568681, N'{B9C8FD29-36B4-4FF3-8D9A-D9C95B673F0C}', N'006441645', 12823, N'VIP2231', NULL, N'6441645', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'THOSE PARTS OF LOT 1, SECTION 9, RANGES 1 AND 2, QUAMICHAN DISTRICT, PLAN 2231, SHOWN COLOURED RED ON PLAN 1034 OS, AND CONTAINING .113 AND .43 OF AN ACRE, RESPECTIVELY', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 42, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T15:52:50.000' AS DateTime), CAST(N'2021-04-19T10:13:51.000' AS DateTime), 2311, 324, 0xBD0B0000010419000000DFC7983B76C43141C0847CD0467D1941615DDC4675C4314150BD5216D07C1941F1EBC0B96DC4314180537424E57C19415D8FC21566C4314150302AA9F97C19419475715B5EC4314170E5D0A20D7D1941F22FBB874FC43141301B9EDE317D19414B03782B61C43141507B83AF3B7D1941DFC7983B76C43141C0847CD0467D1941E20B93E98BC431410079E9A68D7C19410A1B9E1E8CC431410088F45B597D1941858B093393C43141E0C8AD5B5F7D1941AEF0AA349AC43141D056159B667D19417793FC1FA1C43141F06B86166F7D19413BF483F1A7C431418061BDC9787D19417E8AD3A5AEC4314110D3D9AF837D1941247E8C39B5C43141701361C38F7D19416F0632BAAEC4314150A70E0F5C7D1941AEBE1381A9C4314180EDC617267D1941A8659C9AA5C43141A01DD55DEE7C194176A51110A3C43141D0CAB365B57C194160087EE7A1C4314130F7D1B67B7C1941799CA223A2C43141001A51DA417C1941501E164A9BC43141202EFF215A7C19412706815594C43141308D97EE717C1941E20B93E98BC431410079E9A68D7C1941020000000200000000020800000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(568681 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (568814, N'{2885132F-712C-46E4-A0BC-1D0477DF0D69}', N'016267222', 495483, N'NEP579', NULL, N'16267222', NULL, N'30077', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'Block 50', NULL, N'LOT 2 BLOCK 50 DISTRICT LOT 535 KOOTENAY DISTRICT PLAN 579', N'0121', N'0019', N'NO', N'ICF', 3, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-04-30T14:57:51.000' AS DateTime), 274, 79, 0xBD0B0000010405000000764F1E36E96438417047727947A71D4108AC1C3AF264384150E17A1449A71D418E976E92F364384140C05BA0CFA61D41F29E3C8CEA64384110BC0512CEA61D41764F1E36E96438417047727947A71D4101000000020000000001000000FFFFFFFF0000000003, CAST(568814 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (568927, N'{000A17C9-755E-4EB6-922C-03555421B21F}', N'010464891', 630888, N'PGP15172', 8698711, N'10464891', NULL, N'759-041317.100', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot A', N'', N'', N'LOT A DISTRICT LOT 1122 PEACE RIVER DISTRICT PLAN 15172', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2021-05-20T08:28:17.000' AS DateTime), 78232, 1112, 0xBD0B0000010410000000E1E995524A2F3341B04082E2621D3241C0F5289C0A2F334108D7A3B0411D3241396744A9F92E3341DCB27B724F1D3241DC938785D52E33419CD409C86C1D324152A97BE4C12E33416430361E7A1D3241A9FF0F25AD2E3341381831A3851D3241B58D3672972E33419888223F8F1D32411A28D9F8802E3341E0BC26DE961D3241528A7CE7692E3341B45977709C1D3241150DE06D522E334160158CEA9F1D3241E4BE0EFC452E3341089E5E69651E32414BC8077DBE2E3341047F6A1C721E32417BF2B0B0742F334170F90F297C1E3241B51E858B822F3341B01A2FBD831D3241943A01AD832F33411CB4C8766F1D3241E1E995524A2F3341B04082E2621D324101000000020000000001000000FFFFFFFF0000000003, CAST(568927 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (569111, N'{CD340E80-6D3F-46DE-AE40-12684971FAC3}', N'012572021', 299184, N'PRP1079', 13415831, N'12572021', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'Block 21', N'', N'LOT 1 BLOCK 21 DISTRICT LOT 746 QUEEN CHARLOTTE DISTRICT PLAN 1079', N'0104', N'0026', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-05-30T19:55:34.000' AS DateTime), 580, 107, 0xBD0B0000010405000000788104854220224110849E0D12FA2D41FCE68C683C202241905374E4C5F92D41FE088A1F1E202241083B704EC8F92D41BA7D1D382420224160E9267114FA2D41788104854220224110849E0D12FA2D4101000000020000000001000000FFFFFFFF0000000003, CAST(569111 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (570314, N'{A6441899-4E04-4F97-BA8E-9369490469A2}', N'014685345', 3, N'NO_PLAN', NULL, N'14685345', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART NE4', N'1', N'15,27', N'THAT PART OF PARCEL D (PLAN A535) OF THE NORTHEAST 1/4 OF SECTION 1 AS SHOWN ON PLAN DD110298F AND CONTAINING 0.075 ACRE MORE OR LESS; TOWNSHIP 15 RANGE 27 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT', N'0073', N'0028', N'NO', N'ICF', 1, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-07-21T15:02:14.000' AS DateTime), 296, 86, 0xBD0B0000010404000000DE7A146ED2103441684F1E5657FF2141AC7268F1E8103441308E75B190FF2141614BC807E6103441F0EDEBC054FF2141DE7A146ED2103441684F1E5657FF214101000000020000000001000000FFFFFFFF0000000003, CAST(570314 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (570705, N'{41A9EF74-B80A-4044-BD40-B997FE5D0E16}', N'008376051', 1180419, N'NWP37135', NULL, N'8376051', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2013-09-18T00:00:00.000' AS DateTime), N'REM Lot 48', NULL, NULL, N'LOT 48 EXCEPT: PART DEDICATED ROAD ON PLAN BCP26212 SECTION 14 TOWNSHIP 8 NEW WESTMINSTER DISTRICT PLAN 37135', N'0067', N'0010', N'NO', N'ICIS CADASTRE', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2021-08-16T09:08:17.000' AS DateTime), 4690, 321, 0xBD0B00000104070000004DFC1853F7FA3241B0923A812E3D1C41A245B673F2FA3241C0E2369A2D3D1C411DA7E808F1FA3241E044D8F0C63D1C41B22E6EC3F5FA3241E0DFBE0EC83D1C41FBD478296BFB32411062A156DD3D1C411873D7926CFB324140355E3A443D1C414DFC1853F7FA3241B0923A812E3D1C4101000000020000000001000000FFFFFFFF0000000003, CAST(570705 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (572134, N'{102D2BFB-B6EE-4432-B9F9-036A2D0360DF}', N'008722633', 849056, N'KAP10986', NULL, N'8722633', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', NULL, NULL, N'LOT 5 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 10986', N'0096', N'0022', N'NO', N'MODIFIED-ICIS', 6, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-11-16T15:15:19.000' AS DateTime), 1064, 137, 0xBD0B0000010406000000DEF0F4EA618D3641B0AD47E1037A1C41942A18F5518D3641C04082E2AC7A1C41B9408282548D3641A0900FFAB07A1C41BE3923EA678D3641807CD0B3CC7A1C4102B37B32788D3641502AA913247A1C41DEF0F4EA618D3641B0AD47E1037A1C4101000000020000000001000000FFFFFFFF0000000003, CAST(572134 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (572282, N'{9E0CDF02-3477-470A-A56D-625DDC9B8D2B}', N'009763988', 3191875, N'VIP1215OS', NULL, N'9763988', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'', N'', N'', N'THAT PART OF THE UNNUMBERED PORTION OF COWICHAN LAKE DISTRICT, SHOWN COLOURED RED ON PLAN 1215 OS, LYING TO THE SOUTH WEST OF BLOCK 200 OF SAID DISTRICT, AND BETWEEN THE PRODUCTION SOUTHERLY OF THE WESTERLY BOUNDARY OF SAID BLOCK, HAVING A BEARING OF NORTH 51 MINUTES EAST, AND A LENGTH OF 19.522 CHAINS, AND THE PRODUCTION WESTERLY OF THE SOUTHERLY BOUNDARY OF SAID BLOCK, HAVING A BEARING OF SOUTH 88 DEGREES 41 MINUTES EAST, AND A LENGTH OF 14.847 CHAINS AND CONTAINING 0.0001 OF AN ACRE MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:38:20.000' AS DateTime), CAST(N'2021-11-24T12:04:18.000' AS DateTime), 1, 4, 0xBD0B00000104040000005817B77177793141A03C2CD45BDD1941956E122376793141C02A87965BDD19414F74241776793141D0D0225B5FDD19415817B77177793141A03C2CD45BDD194101000000020000000001000000FFFFFFFF0000000003, CAST(572282 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (572984, N'{F882A76D-0D4D-4596-A5D7-F3D1965D3EBE}', N'010007121', 483989, N'KAP7303', NULL, N'10007121', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 4', NULL, NULL, N'LOT 4 DISTRICT LOT 183 OSOYOOS DIVISION YALE DISTRICT PLAN 7303 EXCEPT PLAN H18303', N'0072', N'0012', N'NO', N'MODIFIED-ICF', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2022-01-07T16:14:33.000' AS DateTime), 759, 123, 0xBD0B0000010405000000172653A58DE5364140992AD8AC7E2241FA75E01C65E53641381CEBE29C7E22415EEC2F1B80E53641489ECDEAE47E2241D1DEE02B8BE53641208941A0DF7E2241172653A58DE5364140992AD8AC7E224101000000020000000001000000FFFFFFFF0000000003, CAST(572984 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (573477, N'{F4185A43-0405-49EC-B1DD-4E4C51363EC5}', N'001179217', 1182956, N'NWP51672', NULL, N'1179217', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2012-09-19T00:00:00.000' AS DateTime), N'REM Lot 442', N'', N'', N'LOT 442 DISTRICT LOT 18 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 51672 EXCEPT PLAN EPP3296', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:36:54.000' AS DateTime), 645, 102, 0xBD0B0000010405000000421CEB027FAB3241804D629055631C41964C150C6FAB32413009F920FE621C41F28E53345EAB32414039B4483E631C419A081BDE6CAB32418069DEF199631C41421CEB027FAB3241804D629055631C4101000000020000000001000000FFFFFFFF0000000003, CAST(573477 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (573876, N'{19D34454-E680-412C-B0F0-138110082327}', N'001587706', 128536, N'VIP1597', NULL, N'1587706', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 9', N'', N'', N'THAT PART OF LOT 9, SECTION 16, VICTORIA DISTRICT, PLAN 1597 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:37:46.000' AS DateTime), CAST(N'2019-01-05T10:21:16.000' AS DateTime), 201, 58, 0xBD0B0000010407000000A6F1D24D9F2D3241D0293A120D9A174172128300A02D3241407D3F35169A1741D6ACFAFCA22D3241D0A6E8483D9A1741FC75E01CB22D324130A1D6B4409A1741D1915C7EAD2D324100A5BD41049A1741F6CBEE69A12D3241602041710C9A1741A6F1D24D9F2D3241D0293A120D9A174101000000020000000001000000FFFFFFFF0000000003, CAST(573876 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (574179, N'{1DFA20C2-1420-4B46-8BA5-A27B438DAA59}', N'010909575', 3, N'NO_PLAN', NULL, N'10909575', NULL, N'7101946000', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART 1392', N'', N'', N'DISTRICT LOT 1392 KOOTENAY DISTRICT EXCEPT (1) PARCEL A (EXPLANATORY PLAN 118664I) AND (2) PART INCLUDED IN PLANS 8604 AND NEP63192', N'0163', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:05.000' AS DateTime), 134296, 2598, 0xBD0B0000010448000000D7817326B1B33841C8C56D34D9DE214168DE712AB1B33841486666E6E0DE214150158C2AB1B33841A0825189E3DE2141CA32C411B1B33841E8E995F2EDDE21413E355EDAB0B3384130454772F8DE214196779C82B0B338412083C00A03DF2141742497BFAEB3384140F9A0673CDF2141B66B0959AEB3384168A835CD52DF214158CA3244AFB33841E8293A927FDF21415E5DDCC6B1B33841382AA993A4DF214102D57809B4B338412094F686BADF21418A8EE452B7B33841083867C4D6DF2141764F1E96B9B3384160CC5DCBEBDF214122DBF97EBBB33841183411F600E02141FE088A3FBEB33841883F359E2BE02141208E7591BFB3384158BA498C56E02141F86C569DBFB338418016D9CE76E02141B059F5D9BEB33841E05D4B0897E021419AD40948BDB3384130D3BC23B7E021417614AE47BAB33841809A77DCE7E02141E9F21FB2ABB3384120C58FF1E5E02141F0B050EBA2B3384168984C15E2E02141964C158C9EB33841584BC84722E1214198BB96709DB3384180D7123237E121411EFDF6D5A5B33841C01804D639E121412A0F0B75C5B33841F8B7AF0344E121412163EE7ACBB33841B0FA5CED45E12141887CD093E3B3384130992A984DE121419F11A5BDFAB33841A8D85FF654E121412AE483DE17B438418058A8355EE12141D412F2E179B4384100F1F40A3FE1214136EF380578B438412860E5501FE121410524289E6EB43841103108EC6EE021418AA757EA62B4384180B74042F4DF2141E0718ACEFBB338410886C9D4DADF214136CD3B8E0EB4384160B4C8B6AADE2141AC79C7090EB438412003784BA9DE2141686FF0A50EB43841B8581737A9DE21414603786B14B43841F861A1964BDE2141CCB359358CB438417809F92069DE21410AC58F3175B43841208E7571DEDF214140F1634C75B43841C0F21F92DFDF214188B0E16982B43841785CFE0369E021411648509C8BB43841C8A145F61BE12141A879C7A98DB43841B0F528DC38E121411DB9FC0749B5384190832F4CFEE021412CED0DFE16B53841602BF6D784DE21418D28ED8D05B5384188F4DB17A8DD2141DA56EC6F4FB43841E83FA4DFE1DD21410412147F31B4384128D26F5FEBDD214170F90F091DB43841885149DDF1DD214133772DA19BB33841183108EC1ADE21412E2AA9B39CB3384110C364AA1FDE2141F83A70AE9EB33841C8E76AEB28DE2141D23B4E91A0B33841305BB13F32DE2141D019515AA2B33841E0C039A33BDE2141168C4A0AA4B33841E097DD1345DE2141B937F8A2A5B33841381895944EDE214116C05B20A7B338417040132158DE2141E49C1185A8B3384120ED0DBE61DE2141447B83CFA9B33841C08BDB686BDE2141F6EDEB00ABB3384190F6061F75DE214138AB3E17ACB338411866F7E47EDE2141C20E9C13ADB33841880F7AB688DE2141EC85C9F4ADB338417873469492DE2141381AC0BBAEB33841686E12839CDE214122B9FC67AFB33841F0D9AC7AA6DE21410AAC1CFAAFB3384110819583B0DE21418E28ED6DB0B3384170E2C798BADE2141B49465C8B0B338419823B9BCC4DE2141802F4C06B1B33841B88D06F0CEDE2141D7817326B1B33841C8C56D34D9DE214101000000020000000001000000FFFFFFFF0000000003, CAST(574179 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (574754, N'{658FA63C-82FB-47F6-99CE-70043AC2BD3E}', N'006696813', 12618, N'VIP2093', NULL, N'6696813', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', NULL, NULL, N'PART OF LOT 2, SECTION 11, RANGE 6, QUAMICHAN DISTRICT, PLAN 2093 SHOWN ON PLAN 1027 OS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 15, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T15:52:50.000' AS DateTime), CAST(N'2019-01-31T13:27:53.000' AS DateTime), 5347, 466, 0xBD0B000001040900000032BB278F38D731418036ABBEDC8C1941F0B050EB32D73141B00F7A36E48C1941BBFC875465D7314190711B0DEF8C1941C6BAB86D81D7314120508D17F58C1941ACB6629F00D8314180F9A0673C8C1941C932C45101D83141A07D1DB8B98B194129E483FE65D73141C0EC9E3C9D8C19410122FD963FD73141A044696FD38C194132BB278F38D731418036ABBEDC8C194101000000020000000001000000FFFFFFFF0000000003, CAST(574754 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (575190, N'{5BC8A31F-98E1-4910-8C99-7A452ACB2F95}', N'016750471', 299180, N'PRP948', NULL, N'16750471', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 18', N'Block 2', N'', N'LOT 18 BLOCK 2 DISTRICT LOT 3 QUEEN CHARLOTTE DISTRICT PLAN 948 EXCEPT PLAN 6937', N'0116', N'0026', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2020-05-10T21:08:26.000' AS DateTime), 327, 93, 0xBD0B0000010406000000DF4603F89C4F224180AC8B1B1C752C41EEA9F1D28C4F224100D9CEB71D752C41525BB13F934F22412041F1E368752C41A0999959A54F2241D8CEF71367752C41FA3A700EA04F224150D3BCA335752C41DF4603F89C4F224180AC8B1B1C752C4101000000020000000001000000FFFFFFFF0000000003, CAST(575190 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (575556, N'{89BD2257-7139-4CD5-864E-1954B418697D}', N'003179621', 122433, N'VIP22889', NULL, N'3179621', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot B', N'', N'', N'LOT B, SECTIONS 40 AND 53, LAKE DISTRICT, PLAN 22889 EXCEPT PART IN PLAN 2418 RW', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:00:45.000' AS DateTime), CAST(N'2019-01-05T10:54:29.000' AS DateTime), 2098, 210, 0xBD0B000001040B000000A7DFBE6E61343241B0ACFA5C891A1841B56B09196534324150ED0D3ED31A184156643BFF693432419047E1FA1B1B18416FAC8B1B7034324100C9E53F631B1841AEFA5C4D79343241C05C6D45C31B184112F241EF82343241F06E8104C81B1841821D3807873432419026C206451B1841EF3845C78834324100BADA0A0E1B1841FE2A87968A343241D098BB16D71A1841992A18758C343241509ECD2AA01A1841A7DFBE6E61343241B0ACFA5C891A184101000000020000000001000000FFFFFFFF0000000003, CAST(575556 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (575663, N'{BC61CD58-BF76-4875-8442-07CEAD3E1BA9}', N'001585207', 126723, N'VIP851', NULL, N'1585207', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'Block C', N'', N'THAT PART OF LOT 1, BLOCK C, SECTION 16, VICTORIA DISTRICT (SITUATE PARTLY IN ESQUIMALT DISTRICT), PLAN 851 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0154', N'0005', N'NO', N'MODIFIED-TANTALIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:51:07.000' AS DateTime), CAST(N'2020-05-13T13:00:42.000' AS DateTime), 627, 105, 0xBD0B000001040C000000F1EBC0F92C2C3241F0D78173C6991741B12E6E832C2C3241D08C286DC79917412BF6973D2C2C3241E0B359F5C399174106D7A3702B2C3241A07FD9BDC5991741C4BAB8AD2B2C3241B0CB7FC8C8991741D40968E2312C32417055302A179A1741E6AE25A43D2C32411068226CFE991741EF384527462C324130257582EC991741A83E575B4D2C324170D0B359DD99174195180436472C324140E00B138F991741C186A797462C324170F5B95A90991741F1EBC0F92C2C3241F0D78173C699174101000000020000000001000000FFFFFFFF0000000003, CAST(575663 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (576151, N'{763B6ED7-7E36-48D2-A8E3-6F7843F4B623}', N'008469172', 253373, N'PGP23784', 90052832, N'8469172', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'', N'', N'LOT 5 DISTRICT LOT 1426 CARIBOO DISTRICT PLAN 23784', N'0112', N'0008', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:41:11.000' AS DateTime), 575, 104, 0xBD0B0000010407000000B8847C70F1813241B04AEAC4C14A2E41917571BBF081324130CC5D0BE34A2E415E8FC255F3813241A0A22339E34A2E41828CB98B14823241688863DDE24A2E410F363C3D1582324138F2410FC44A2E412A7E8C19F481324170029A08C24A2E41B8847C70F1813241B04AEAC4C14A2E4101000000020000000001000000FFFFFFFF0000000003, CAST(576151 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (576606, N'{92742216-77BE-4739-8D89-078B5BBD7FCC}', N'023052392', 3186826, N'VIP57062', NULL, N'23052392', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot B', N'', N'', N'THOSE PARTS OF LOT B SECTIONS 91 AND 93 ESQUIMALT DISTRICT PLAN VIP57062 SHOWN AS AREAS 1 AND 2 ON PLAN VIP61159', N'0154', N'0005', N'NO', N'PMBC-COMPILATION', 4, N'DATACOMPILATION', N'COGO', N'0', N'3247', CAST(N'2016-01-06T21:00:37.000' AS DateTime), CAST(N'2019-01-05T11:04:35.000' AS DateTime), 3248, 398, 0xBD0B000001041F00000029A913B08428324180386744E797174171787AE58428324160EE5A42F997174104FFFD1D85283241F0ACDCAF04981741E4DD568185283241D02D0E0B109817416D602D0F8628324160ECE8491B9817411C4F04C786283241B0677F6226981741045E39A887283241F0E7054B31981741FCBB05B288283241C022DBF93B98174150B81EE58B283241A0923A0141981741DD7A14AEA7283241E076BE1F00981741A61C2DE9A12832416063A2ADFA9717419880D61C9C283241504F2BC0F5971741823CCF4996283241E031FB57F19717411FC2D67090283241B0E6A275ED9717416D46AD928A283241901AA219EA97174129A913B08428324180386744E7971741BECAA1C5B9283241B07F483F349817418AEB5158BA283241705452277298174132DD24C6BA283241C0F21F527B981741E795B2CCD02832410090317784981741662BF657F6283241F0E8B72FBF981741E1141D891E293241D0DEE08B209917419B081B9E3D29324180143F46D8981741C0F5283CCB283241C0A9825126981741A6F39610CA28324100198C8224981741D45C79E4C828324160E244B9229817412CEBD1B7C728324120A7AFF5209817417159A28AC62832410000CF371F9817410663EC5CC5283241A07DA57F1D98174130C4B12EC428324190A835CD1B981741BECAA1C5B9283241B07F483F34981741020000000200000000021000000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(576606 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (578413, N'{56B12CE6-1384-4C19-A8C9-F26E0A51D4EF}', N'008803293', 5461754, N'VIP584', NULL, N'8803293', NULL, N'110335', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Parcel A', N'Lot 2', N'Block 48', N'PARCEL A (DD 19746N) OF LOT 2, BLOCK 48, SECTION 1, NANAIMO DISTRICT, PLAN 584, EXCEPT PART IN PLAN 15285 AND 48002', N'0084', N'0021', NULL, N'PMBC-COMPILATION', 0, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', N'226.7', CAST(N'2019-04-04T08:45:35.000' AS DateTime), CAST(N'2021-02-18T12:00:10.000' AS DateTime), 227, 67, 0xBD0B0000010405000000764F1E76D28C31412046B6F3C94D1C41FB5C6D65C88C3141A0D85FF6CA4D1C41287E8CF9C38C3141E0C876BE2A4E1C4129287E8CCE8C3141A0BB96101F4E1C41764F1E76D28C31412046B6F3C94D1C4101000000020000000001000000FFFFFFFF0000000003, CAST(578413 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (578703, N'{70D43888-4B47-487F-B6A6-F3941EF6665B}', N'015988635', 472039, N'NEP887', NULL, N'15988635', NULL, N'015988635', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 61', N'', N'', N'THAT PART OF LOT 61 DISTRICT LOT 30 KOOTENAY DISTRICT PLAN 887 COMMENCING AT THE MOST EASTERLY CORNER OF LOT 61 THENCE SOUTH WESTERLY ALONG THE SOUTH EASTERLY BOUNDARY FOR A DISTANCE OF 485.8 FT. THENCE NORTH 38 DEGREES 11'' EAST FOR A DISTANCE OF 428.4 FT. MORE OR LESS TO A POINT ON THE NORTHERLY BOUNDARY OF SAID LOT DISTANT 7 FT. SOUTH EASTERLY FROM THE MOST NORTHERLY CORNER; THENCE SOUTH EASTERLY ALONG THE NORTH EAST BOUNDARY FOR A DISTANCE OF 52 FT. MORE OR LESS TO THE POINT OF COMMENCEMENT', N'0027', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:19:13.000' AS DateTime), 1290, 311, 0xBD0B00000104050000001AC05B2084823A41D0718ACE0BD52041EDE2367A65823A4160E7FBA9BBD42041E09C11C5AE823A4190F90FE9B4D520413108AC5CBF823A4190BFEC1EA7D520411AC05B2084823A41D0718ACE0BD5204101000000020000000001000000FFFFFFFF0000000003, CAST(578703 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (578971, N'{BCED82A3-D527-49E5-813B-DF81184596D1}', N'014781506', 3, N'NO_PLAN', NULL, N'14781506', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'A', N'411', N'', N'PARCEL A (133520F) DISTRICT LOT 411 SIMILKAMEEN DIVISION YALE DISTRICT EXCEPT PLANS B6484, 30396, 29328 AND H15455', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2018-01-09T12:12:50.000' AS DateTime), 10655, 550, 0xBD0B000001041200000021DBF9FE9F3A364110A4703DF8991E4195658823983A364140C05B20F5991E41606DC55EF73936417067B36AB5991E418A416045EC39364190DCB504B1991E41CC915CBEF3393641D00C71ACC4991E4140D2F723FD3936417026A8BDDE991E413BF6B942063A364100100756FA991E41C602AA160F3A364170AC8869179A1E412C94EF9B173A364150B882EB359A1E418A8AD4CE1F3A36415050ABCE559A1E41EFA7C6AB273A364180B81E05779A1E41270681355B3A364190C8763EEA9A1E411CAE4701813A364190CEF753EA9B1E4150B81E858C3A364100D34D62209C1E416F8104258D3A364170F2B050239C1E413008AC7C8D3A3641405A643B199C1E417458A8B59F3A3641907AA5AC009A1E4121DBF9FE9F3A364110A4703DF8991E4101000000020000000001000000FFFFFFFF0000000003, CAST(578971 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (579358, N'{FA4C32EA-6E12-43A1-9BA1-83F1CD3A772E}', N'010912185', 3, N'NO_PLAN', NULL, N'10912185', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'NW4', N'3956', N'', N'THE NORTH WEST 1/4 OF DISTRICT LOT 3956 CARIBOO DISTRICT EXCEPT PLANS A173, A377, PARCEL A (O56875) AND PLAN PGP40361', N'0163', N'0002', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-01-09T12:25:32.000' AS DateTime), 53666, 2227, 0xBD0B0000010451000000C7A14516E6E23241704ED111FDF22A41683BDFCFE1E2324100508DD708F32A41B447E17ADDE23241B064AA6014F32A41E04F8D17D9E23241106822AC1FF32A416B6666A6D4E23241A8A223B92AF32A4198DD9327D0E232413894F68635F32A4174AC8B9BCBE23241004FAF1440F32A4199779C02C7E23241F0E461614AF32A4130FF215DC2E23241A80C716C54F32A41480378ABBDE2324140A1D6345EF32A416F5F07EEB8E2324198C729BA67F32A41C0D32B25B4E2324168EC2FFB70F32A41EB043451AFE2324130A2B4F779F32A4172CE8872AAE2324148C4B1AE82F32A41E20B9389A5E23241E83FA41F8BF32A415A7DAE96A0E23241405EBA4993F32A4160FE439A9BE23241A00C712C9BF32A41A033A29496E2324118CB10C7A2F32A4111143F8691E23241F0BD3019AAF32A4116C05BA089E23241988BDBE8B5F32A41684469AF81E23241E0BE0E5CC1F32A41F997DDB379E23241580E2D72CCF32A410144FAAD71E23241B8F97E2AD7F32A414B2EFF8168E2324160A0F831E3F32A41ED1648505CE23241604469AF11F42A41FE21FDB65DE23241C0FEB27B8FF42A4175832F4C0BE33241E0718A4EB8F22A41DA12F2010FE33241F847503CAEF22A41153FC6FC10E33241C05B20016DF22A41BA15FB6B0DE3324150C0CA217BF22A415A302AC909E3324110CE191189F22A412918951406E33241C84C84CD96F22A41C2A8A44E02E3324158863856A4F22A41516B9A77FEE2324180B0E1A9B1F22A412DB29D8FFAE23241484BC8C7BEF22A41C58F3197F6E2324118FBCBAECBF22A4171567D8EF2E23241E863CC5DD8F22A41AFE1E975EEE23241F00512D4E4F22A41C9BAB84DEAE23241F8164810F1F22A41C7A14516E6E23241704ED111FDF22A41A879C7E9F6E13241D8E3839EC4F42A4184FD6517BEE13241F8065F5844F52A417B36AB9EA2E1324180F4DB1782F52A41365EBA69A2E13241C0A8A48E82F52A4132DD2466A2E13241F805819582F52A41733D0A9700E2324148014D448CF52A412A75025A4AE232410871AC0BC4F42A41A067B3CA47E23241F823283EDEF32A41C24A811243E23241C07A6911E6F32A41C1A858563EE23241706B11DBEDF32A411A633E9639E2324108F0179BF5F32A41715F37D234E23241D00A7551FDF32A416E87480A30E23241B0C820FE04F42A41BBC8763E2BE23241504013A10CF42A41050CB7D229E23241F8687ABA0EF42A414A3C3C7328E2324118659AF310F42A410543B72027E23241F8BE544B13F42A41B583D2DB25E2324198997BC015F42A41158631A524E23241C847D25118F42A41D7A3707D23E2324118ED0DFE1AF42A4198C420D035E232411011C7FA4FF42A41B41A895334E23241885AAB9952F42A41C5BB8BD032E23241785DC22955F42A41FB7D4D4731E2324128A6CDAA57F42A41FDCFF3B72FE23241602F901C5AF42A4128B5A4222EE232411869CE7E5CF42A4125C286872CE23241C83B4ED15EF42A41AAB5268E24E232419066D7D66BF42A4109459EC01CE23241E07EF94479F42A413458442015E232416050661987F42A41791568AE0DE23241F016BE5195F42A41FBA7506C06E2324168E88FEBA3F42A41C4073D5BFFE13241C01C5AE4B2F42A41A857CA72FBE1324148197317BBF42A41A879C7E9F6E13241D8E3839EC4F42A41F97E6A9C0BE33241F841CF261EF32A41A48251C962E23241F81DA768E8F42A41F3A7C60B25E23241485BB1FF8FF52A4162984CF5F7E232412832E6AEA5F52A413889412009E3324120EF380570F32A41F97E6A9C0BE33241F841CF261EF32A410300000002000000000228000000024B00000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(579358 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (579390, N'{A991A28D-5233-4FB5-B8B4-52A2B1C25AAC}', N'006717608', 469082, N'NEP16675', 21011741, N'6717608', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 4588 KOOTENAY DISTRICT PLAN 16675', N'0163', N'0018', N'NO', N'ICF', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:31:15.000' AS DateTime), 138730, 1615, 0xBD0B00000104120000001A265325BB6E3B41E8E99532A69D2141A667B30A976E3B41208638966F9C21410288F41B8F6E3B414850FC98249C21416AF7E4C1266D3B419804C5CFD39C2141BD0E9C332E6D3B4188B96B092F9D2141608863BD476D3B41505A64FBC99D214172348057526D3B41B047E1FAE69D2141F40FE9D7666D3B4150CF6615099E21413E8B6C87816D3B41C88251092B9E21417D2F4C46976D3B41583255704A9E2141F7A9F1D2B96D3B41007F6A3C7E9E2141BC7493F8D66D3B41D05D4B88B59E21413BAB3E571A6E3B412085EB112D9F214101780BA4326E3B41E08F31B7819F21416844690F456E3B41706210D8DF9F21416CAA60B4536E3B4178AEB6E24CA0214194D40988026F3B41784ED111FB9F21411A265325BB6E3B41E8E99532A69D214101000000020000000001000000FFFFFFFF0000000003, CAST(579390 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (580243, N'{A04F7E08-C413-43DC-BFFA-30D2CAAA2CD1}', N'009911413', 473051, N'KAP7884', 11272431, N'9911413', NULL, N'dgnp0032', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 SECTION 30 TOWNSHIP 17 RANGE 10 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 7884', N'0163', N'0006', N'NO', N'ICF', 5, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:21:53.000' AS DateTime), 9354, 468, 0xBD0B0000010409000000CF5D4B4824713641A0C42070B62C234140355E7A19713641C834EF780D2D2341E44F8D575B713641E88C28AD192D2341546210385D7136415814AE07D92C234185A7570A57713641C86F5F87F72B234154F5B99A49713641405EBAC9A72B23416A19E2B82A71364160613215A22B23416F810445257136419887855A8C2C2341CF5D4B4824713641A0C42070B62C234101000000020000000001000000FFFFFFFF0000000003, CAST(580243 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (580804, N'{E5F46FF7-AE2F-4508-8688-0671F872B905}', N'012429571', 629004, N'PGP12116', NULL, N'12429571', NULL, N'005483.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 19', N'Block 22', N'', N'LOT 19 BLOCK 22 SECTION 32 TOWNSHIP 83 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT PLAN 12116', N'0038', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:29:40.000' AS DateTime), 684, 121, 0xBD0B000001040500000059A8356DC22A34417C58A8D5673C3341BF86A757C12A344140FAEDCB763C3341260F0BD5EE2A34411CF6971D7A3C3341D9F0F4EAEF2A344128CB10276B3C334159A8356DC22A34417C58A8D5673C334101000000020000000001000000FFFFFFFF0000000003, CAST(580804 AS Numeric(38, 0)), NULL) +GO +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (581736, N'{1CFA5745-3BC8-4655-8BE7-03F2183CEA5F}', N'014150093', 488426, N'NEP2049', NULL, N'14150093', NULL, N'7075685010', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot B', N'', N'', N'LOT B DISTRICT LOT 1238 KOOTENAY DISTRICT PLAN 2049 EXCEPT (1) PART INCLUDED IN PLAN 13180 AND (2) PART INCLUDED IN SRW PLAN 9118', N'0163', N'0004', N'NO', N'ICF', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:21:30.000' AS DateTime), 55262, 2155, 0xBD0B00000104390000001CB0724857F43841B0B4C8F6D29D1F417C24973F49F43841F002090ACC9D1F41A460545213F43841A0B0E169B19D1F414482E207F3F33841E067226CC9A11F412C3333D30FF438410071AC0BD8A11F41DEE00BD310F4384160F5B9DACBA11F413F82E2E740F43841F04F8D979E9F1F41DAF0F48A51F4384120363CBD229E1F411CB0724857F43841B0B4C8F6D29D1F41DC1B7C81F7F43841D010363CD69E1F412F08ACDCF6F438416038D6C5E59E1F41828EC32BF7F4384140F8582A109F1F412EB208F5F6F4384110E142913A9F1F41F2819D38F6F43841A00B31E0649F1F41333EF7F6F4F43841D07ACFFC8E9F1F41B60FDE30F3F438413081E9CCB89F1F41438B6CE7F0F43841900F7A36E29F1F41FEE68C68EFF43841D0B74002F99F1F41ABDFBE6EC9F43841102428FE34A21F418716D9EECCF43841D05B20C136A21F413EC6DC75DCF43841F096FF903EA21F41AABDC13703F53841B072681152A21F4150BDF3BE05F53841A0330AFDFCA11F41C697767207F5384170A0A694A7A11F419482A25108F53841107C25F951A11F415E82215C08F53841E03C824BFCA01F41D68BEF9107F538416056BFACA6A01F4189855AF305F53841707FD93D51A01F413892CB5F05F53841002731883AA01F41CD81A2E204F53841F0D20AE428A01F41885D8B5C04F53841F0D5FE4317A01F41AA4B88CD03F53841108355A805A01F4105979B3503F53841D01B5711F49F1F4112AFC79402F5384100CE4B7FE29F1F41B8270FEB01F5384100B37BF2D09F1F41245C8F0201F5384180D5E76ABA9F1F41DC1B7C81F7F43841D010363CD69E1F413ECF661527F53841C0482E7F1CA41F41DA56EC2F1DF538414019E2D893A41F410768224C29F5384130E7FBA999A41F4104DE02A930F53841A0E3141D9FA41F418448BF7D61F5384180A52CC3B4A41F414AC807BD76F5384170DA1BFCBEA41F41DC361A80A7F53841E0073D9B849E1F415517B7D176F53841B04B37896C9E1F4100917EDB70F5384130999999699E1F4160C3D3EB6AF5384150C342AD669E1F41C07D1DF860F53841303789C1619E1F41E7C0398345F5384170C5FE32549E1F418FE4F27F2FF5384160AA6054499E1F41764F1E363DF53841209D11A5929F1F41E20C064643F53841405DFF2A55A01F41D17FD06D45F538418063C80119A11F4176A0F5A943F53841500392E8DCA11F4196BB59FD3DF538418056679E9FA21F418AB5487134F53841A01847E45FA31F413ECF661527F53841C0482E7F1CA41F410300000002000000000209000000022500000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(581736 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (582004, N'{E0B8F3DD-B442-4525-BF18-7502F39F92AD}', N'008451940', 656230, N'VIP810', NULL, N'8451940', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'Block 29', N'', N'LOT 1, BLOCK 29, SECTION 30, TOWNSHIP 6, RUPERT DISTRICT, PLAN 810', N'0107', N'0020', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-22T18:13:56.000' AS DateTime), 924, 152, 0xBD0B00000104060000008616D9CEEE522B41F8C186A730532341798CB96BD0522B4188F831E631532341C698BBD6D4522B41C0E3145DAB5323416C2D211FE1522B418806F0D6AA532341EFEBC039F3522B411897FF10AA5323418616D9CEEE522B41F8C186A73053234101000000020000000001000000FFFFFFFF0000000003, CAST(582004 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (582409, N'{0D20E36E-2041-4CB5-A184-01FBC27DF1D2}', N'000016403', 646724, N'VIP2024', NULL, N'16403', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'Block G', N'', N'THAT PART OF LOT 6, BLOCK G, DISTRICT LOT 257 ALBERNI DISTRICT, PLAN 2024, SHOWN COLOURED RED ON PLAN 148 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:38.000' AS DateTime), 43481, 3123, 0xBD0B00000104C3000000D0BCE314F27F304170F90F6939601D4174F90F4905803041C00E9CB3905F1D4130E6AE652B8030412043ADE9415E1D412E992AF809803041D0770B24415E1D41D7F0F4EAF17F3041C01E856B145F1D41D0BCE314F27F304170F90F6939601D415DA1D6F4F87E30415023DB798D641D41A1923AA1FD7E304130FDF67577641D41AFFA5C2D027F304170CF665561641D41E7AE25E4167F3041D089B0E1FA631D41FB43F3CF1E7F3041101B9771D5631D418C8EA823277F304180FC4E71B1631D41DF431BDB2F7F30410037DAF28E631D415835EFF1387F304160D579076E631D41C47E9863427F30415042A5BF4E631D4162CC5D2B4C7F3041500C022B31631D413D9B55DF5C7F304160FC18F300631D4155A8358D617F3041B00F7A36F3621D4183D0B339667F30416094F606E5621D41507424D76A7F3041C0DD0289D6621D41854160656F7F304190A52CC3C7621D418E5374E4737F3041C07BF2B0B8621D41A03C2C54787F304170AACF55A9621D41F7A067B37C7F3041E03233B399621D410122FDF6807F3041406A4DF389621D4163C3D38BA47F3041808BDB6804621D413D136143A87F304180105839F6611D418D06F0F6AB7F30419075719BE7611D4163FE439AAF7F3041E036ABBED8611D413AD6C52DB37F304190E5D0A2C9611D41B9847CB0B67F3041C039B448BA611D4198779C22BA7F3041707CD0B3AA611D412141F183BD7F3041C0D2DEE09A611D4152FC18D3C07F3041E086A7D78A611D4178E92611C47F3041A02A18957A611D41BBDA8A3DC77F3041609999196A611D41A0A223B9C87F30410077BE1F62611D41A067B3CAA17F3041B0C64BB760611D419616CAE09E7F3041A05B27BC6D611D4176CFCBE99B7F3041B0886A917A611D41ED27E9E5987F30419000433687611D410E8953D5957F3041F090E1A993611D41E82B3DB8927F3041D02D7AEB9F611D418B16D98E8F7F3041E0FD43FAAB611D4120A7E8286C7F304180CEF7D330621D414F1E162A687F3041F04EAF943F621D4196D40928647F3041108C4AEA4D621D416C348017607F30418091EDFC5B621D41465986F85B7F3041803A01CD69621D41EDB050CB577F30416019E25877621D4128A08990537F3041D0BFEC9E84621D4197D409484F7F3041309B559F91621D41A201BCE54A7F3041706DC57E9E621D41D23B4E313A7F3041305986B8CE621D41B8408222367F3041B09CA2A3DA621D4167BC7413327F30412048E1FAE6621D41354547122E7F3041D04F1E96F3621D41F463CC1D2A7F3041D06A2B7600631D41C086A737267F30414050FC980D631D4119C05B60227F3041F0D9ACFA1A631D41900F7A961E7F3041A09AE69D28631D41C7073DDB1A7F3041706E128336631D41BE9F1A2F177F3041E0C117A644631D41C8293A92137F3041506FF00553631D411B2FDD04107F3041100AD7A361631D41F341CF860C7F3041A0DA8A7D70631D4126871619097F3041C00434917F631D4159EC2FBB057F3041B03FA4DF8E631D414D96216E027F3041604160659E631D41351AC03BFF7E304150FB3AF0AD631D413E0AD783EA7E3041B042AD6914641D414FFC1833E67E3041C0F90F6929641D419206F0D6E17E3041B020B0F23D641D4113143F66DD7E3041D00E9C3352641D414E4013E1D87E3041E0E76A2B66641D4161545247D47E304110F54AD979641D416407CE99CF7E3041907EFB3A8D641D4186EB51D8CA7E30415017B751A0641D417C9CA203C67E304190E2C718B3641D415D29CB10C17E3041C059F5B9C5641D41F675E01C877E304100D881739C651D413EFAED6B837E3041003F575BAA651D41F35A42BE7F7E304100C520B0B8651D41AAA44E207C7E304130136143C7651D41590E2D92787E3041A0BB0512D6651D41A13C2C14757E3041D09AE61DE5651D41FC53E3A5717E3041F01CC965F4651D4193CB7F486E7E304100F9A0E703661D41C7FEB2FB6A7E3041900968A213661D41040000C0677E30414073469423661D415D8FC295647E3041601136BC33661D41C3EC9E7C617E304150E3361A44661D41054625755E7E3041307B14AE54661D41E83FA47F5B7E3041F0201F7465661D41AA35CD9B587E30414068226C76661D410E83C0CA557E304140BD529687661D4141F1630C537E3041F0438BEC98661D414D499D60507E3041B020B072AA661D41EF3845C74D7E304100E71D27BC661D41E22406414B7E3041F06F5F07CE661D41851F63CE487E30415029CB10E0661D41DB68006F467E304150CA3244F2661D419F703D2A447E3041B01DA76804671D41D78AFD45337E3041006D567D8E671D417A33EDB12C7E3041A0B281FABE671D413BF8B817257E304100B56A02ED671D41A43AF8851C7E30415067B83C18681D41007C1D0D137E3041600D735640681D4145CC56BF087E3041207AA30265681D415CE56AB0FD7D304110C6E6FA85681D41283693F5F17D30417068F5FFA2681D41192653A5E57D304100AC1CDABB681D41422CD4BACB7D304180C729BAEA681D41C0570977C17D304110E1B8E0FE681D4192F45085B77D3041D0055F7415691D411810D5EEAD7D304180E04D602E691D4132A36BBCA47D3041C0E68D8D49691D41866D8EF69B7D3041008713E366691D411A2653A5937D3041F038D64586691D41F0F44AB9937D3041F0F97E6A426A1D41A62C43DC9C7D3041D0073D1B146A1D41A82C2223A57D304110967468ED691D41D7201828AE7D3041E0756C76C9691D412D628BDCB77D30410088547FA8691D415F36C630C27D3041C0A989B88A691D41233E1014CD7D304120533F5270691D41ED85C974D87D3041B08F317759691D412B7E8C59F27D3041F02D90A02A691D4180E755FB007E304190D47B0C0D691D41DC42C2EB0E7E3041B0EC7887EA681D41D0C12F101C7E3041B0677B53C3681D418D56824F287E304150F769BB97681D4157AD5392337E304150F68E1268681D419EE11FC33D7E30419045F9B334681D4143996ECE467E30416050CE01FE671D41BA37F8A24E7E3041A08A8E64C4671D41728104855F7E3041901B0D603A671D414FBED773677E3041E0916E60FE661D417070F149707E304190CDF16EC4661D41A00ED5FE797E304100FC3CC38C661D4106183089847E3041008CC79257661D410608E3DE8F7E304110D1A61025661D412B0F0BF59B7E3041A0FA5C6DF5651D41AD9DEFE7D57E30414010E9B71E651D411DDBF91EDB7E3041300681150B651D41B103E74CE07E3041304547F2F6641D41BCC11766E57E304110FF217DE2641D4186A7576AEA7E30419033A2B4CD641D41EEFDD458EF7E30412051DA9BB8641D41384ED131F47E3041E0E99532A3641D415DA1D6F4F87E30415023DB798D641D41C05B20A1747C304190F606DF2D6F1D4129E483FE6F7C304100C58F31446F1D415EDC46436B7C304180A0F8315A6F1D41BA8D0670667C3041203FC6DC6F6F1D41E09C1185617C3041E0C48F31856F1D41F3D24D825C7C304140C4B12E9A6F1D411FB07268577C30411085EBD1AE6F1D41BD7D1D38527C3041309A771CC36F1D41EBFBA9F14C7C304190946508D76F1D419A2A1895477C3041402B8796EA6F1D417AA52C23427C3041908104C5FD6F1D41FD87F49B3C7C304110BDE39410701D4186DB6800377C3041706D340023701D413F136143317C30418057CA3235701D4184E2C7F8057C3041D0E15817BC701D415D1058B9027C30418033A234C6701D4123FDF695027C3041A0779C2261711D416B9A77BC187C3041D00B93291C711D41B8490C22447C3041602041F194701D415096212E4A7C3041205D6DC581701D41590E2D32507C30411093A9026E701D411CC9E51F567C304130D0D5D659701D418C06F0F65B7C3041B05CFE4345701D41C58F31B7617C3041D0141D4930701D41C776BE5F677C3041001E16EA1A701D41EF0DBEF06C7C3041909DEF2705701D41B28BDB68727C3041E06E8104EF6F1D41CC54C1C8777C3041D0240681D86F1D41457B830F7D7C3041409B559FC16F1D41E1B5843C827C3041301C7C61AA6F1D41457B834F877C304190141DC9926F1D418FCB7F488C7C304100ACADD87A6F1D411A51DA1B917C3041A0EF38C5626F1D412ED49A46D67C3041100B46A5036E1D4199BB96B0E37C30415072F98FBF6D1D41829543EB757D304160FE437AD96A1D41683BDF8F7D7D3041A05AD3BCB26A1D41F84A5946577D3041506B9AF7AF6A1D41002B87B6CB7C304180C64B37746D1D41B459F559CA7C3041B02D90207B6D1D419A4C154CBE7C3041705F074EB86D1D4176E09C11BB7C304190A0F8B1C86D1D415F984C35797C304140022B07176F1D41C05B20A1747C304190F606DF2D6F1D410300000002000000000206000000029700000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(582409 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (582931, N'{7FE36DB9-25B7-4A6A-A437-094AD9106EBC}', N'014291002', 299189, N'PRP934', 90073250, N'14291002', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 17', N'Block 12', N'', N'LOT 17 BLOCK 12 DISTRICT LOT 16A QUEEN CHARLOTTE DISTRICT PLAN 934 EXCEPT PLAN 6937', N'0116', N'0026', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-11-26T18:18:38.000' AS DateTime), 417, 85, 0xBD0B0000010405000000CDE76A6BB02B224130894120E37F2C4172006F41922B2241905374E4E67F2C412095D409992B224178E2C7581D802C417C7CD033B72B2241302AA99319802C41CDE76A6BB02B224130894120E37F2C4101000000020000000001000000FFFFFFFF0000000003, CAST(582931 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (583409, N'{A8C3159D-8749-4DC7-AA2F-6DF4B07C1FAE}', N'009812547', 3191502, N'KAP8543', 31802401, N'9812547', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 5', N'', N'', N'LOT 5 DISTRICT LOT 330 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 8543', N'0163', N'0019', N'NO', N'ICF', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:36:47.000' AS DateTime), 15081, 638, 0xBD0B00000104100000003A0AD7E303CE374160022B87D6F51C418F28ED8DAACD374190EB51384DF51C419218041697CD3741A060545230F51C414F8D974E87CD3741A05E294B1AF51C41880D4F6F77CD374130F6975D05F51C41B86B097967CD374100287E8CF1F41C41AEFA5C6D57CD3741A03D79D8DEF41C41FF4C844D47CD374160136143CDF41C4153F5B91A37CD3741A0166ACDBCF41C4124FDF6D526CD374120477279ADF41C4118B7D18016CD3741F03845479FF41C41C2F5281C06CD374120355E3A92F41C4186B0E1A9F5CC37418060545286F41C41E8C03963EECC3741E0BB969086F51C418AF4DB37CBCD374100A167B34CF61C413A0AD7E303CE374160022B87D6F51C4101000000020000000001000000FFFFFFFF0000000003, CAST(583409 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (583693, N'{977382F9-A5D0-4188-8D71-CDA77E4DBBE9}', N'002553929', 649354, N'VIP27108', NULL, N'2553929', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot B', N'', N'', N'LOT B, SECTION 12, COMOX DISTRICT, PLAN 27108, EXCEPT THAT PART IN PLAN 40144', N'0026', N'0017', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-12-17T18:22:31.000' AS DateTime), 71, 75, 0xBD0B00000104050000004E158C2A5F5F304120FED4F87BB31F41DF4F8DB75B5F3041301136BC84B31F4109560EAD5B5F304160AB3ED784B31F4168BC74F3765F30418089B061E3B31F414E158C2A5F5F304120FED4F87BB31F4101000000020000000001000000FFFFFFFF0000000003, CAST(583693 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (584160, N'{25483CA0-F6BC-4A2C-9CF1-234B024EBF44}', N'013843095', 295346, N'PRP974B', NULL, N'13843095', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 15', N'Block 42', N'', N'LOT 15 BLOCK 42 DISTRICT LOT 851 CASSIAR DISTRICT PLAN 974B EXCEPT PLAN 7772', N'0163', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:19:36.000' AS DateTime), 30, 30, 0xBD0B0000010404000000C76D3400D1502B41ACCDAA4FE360314115FBCBEEC6502B415C204151D7603141549FAB2DC7502B41C4F5285CE3603141C76D3400D1502B41ACCDAA4FE360314101000000020000000001000000FFFFFFFF0000000003, CAST(584160 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (584209, N'{10FE71D0-9494-4765-840B-2951DF215C0B}', N'013998005', 295389, N'PRP968', 23688481, N'13998005', NULL, N'01250.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 15', N'Block 105', N'Section 2', N'LOT 15 BLOCK 105 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:37.000' AS DateTime), 260, 72, 0xBD0B000001040500000066D5E7EA82792B41140DE08DD8643141DE141D0982792B41FC87F49BBE643141164850FC6D792B41A813D0C4BE6431412D1AC0DB6E792B41586B9AB7D864314166D5E7EA82792B41140DE08DD864314101000000020000000001000000FFFFFFFF0000000003, CAST(584209 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (584504, N'{AA2792EA-A8CD-425D-A1C1-116F0E332D07}', N'010122770', 484293, N'KAP6763', NULL, N'10122770', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot A', N'', N'', N'PART LOT A ON PLAN B14024 SECTION 11 TOWNSHIP 19 RANGE 9 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 6763', N'0163', N'0012', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-19T18:25:19.000' AS DateTime), 48684, 1018, 0xBD0B0000010407000000F7285CCFEFA13641D09F1A2FD7A923416BF085895FA33641D8DB68002EA92341AB35CDDB72A33641906E1283DAA823413EA4DF9E72A33641806ABCF49CA82341DAACFABC02A23641F0CBEE0955A82341144FAF14F0A1364160C2F5A8D1A92341F7285CCFEFA13641D09F1A2FD7A9234101000000020000000001000000FFFFFFFF0000000003, CAST(584504 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (587279, N'{6B22E2A4-8A54-4F77-8CC4-E8F34C46C53E}', N'000726460', 1298428, N'NWP8270', NULL, N'726460', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'REM Lot B', N'', N'', N'NORTH HALF OF LOT B EXCEPT: PART ON STATUTORY RIGHT OF WAY PLAN 73193; SECTION 36 BLOCK 5 NORTH RANGE 4 WEST NEW WESTMINSTER DISTRICT PLAN 8270', N'0120', N'0010', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T10:49:56.000' AS DateTime), 1634, 185, 0xBD0B0000010406000000C9C342AD5CA53241E07C3F35A28B1C41E53FA4BF15A53241F0CB7F48978B1C41147A364B15A5324110363CBDC78B1C41CF22DB7944A53241402AA913118C1C41EE41CF665BA53241409A089B148C1C41C9C342AD5CA53241E07C3F35A28B1C4101000000020000000001000000FFFFFFFF0000000003, CAST(587279 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (587321, N'{D8D940E2-65A3-4560-8937-A6A4D00C701F}', N'011322322', 1303888, N'VAP4742', NULL, N'11322322', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-10T00:00:00.000' AS DateTime), N'Lot 2', N'Block 27', N'', N'LOT 2 BLOCK 27 DISTRICT LOT 599 PLAN 4742', N'0092', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T10:50:31.000' AS DateTime), 496, 94, 0xBD0B000001040700000045BF7DFD6F7A32415076E09C22871D41569FAB0D607A324150B4C8761F871D41285C8FE25E7A3241402041F19B871D41C264AAE05E7A3241705AD3BC9C871D410FE9B78F6E7A3241706210D89F871D41ECF21F926E7A32411003780B9F871D4145BF7DFD6F7A32415076E09C22871D4101000000020000000001000000FFFFFFFF0000000003, CAST(587321 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (588556, N'{8ACD9250-BE4B-404C-BB2E-B70728CAB496}', N'000797430', 1477669, N'NWP9952', NULL, N'797430', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2011-09-30T00:00:00.000' AS DateTime), N'REM Lot A', N'', N'', N'LOT A EXCEPT: FIRSTLY; PART DEDICATED ROAD ON PLAN LMP21755 SECONDLY; PART ON SRW PLAN 74467 DISTRICT LOT 757 AND 758 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 9952', N'0088', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:36:35.000' AS DateTime), 755, 138, 0xBD0B0000010407000000F76C565DEAA532418087855A008D1C4179A52CE3EEA53241B0658863E68C1C41900F7AB6C2A5324140DF4F8D6B8C1C4110E02DF0B6A5324100E63F24AF8C1C41EC51B8BECAA53241209B551FCD8C1C418AD2DEA0DAA5324190B74002E68C1C41F76C565DEAA532418087855A008D1C4101000000020000000001000000FFFFFFFF0000000003, CAST(588556 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (588885, N'{7082DA1E-5204-4A1C-B6E6-7D8E9355812C}', N'018054978', 8183652, N'KAP48832', NULL, N'18054978', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1993-01-14T00:00:00.000' AS DateTime), N'', N'', N'', N'PARCEL B SECTION 13 TOWNSHIP 26 AND OF SECTION 18 TOWNSHIP 27 OSOYOOS DIVISION YALE DISTRICT PLAN KAP48832', N'0057', N'0016', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'1032', CAST(N'2021-01-26T11:39:06.000' AS DateTime), CAST(N'2021-01-26T11:40:08.000' AS DateTime), 1032, 285, 0xBD0B00000104060000003A234A7B8D8A364198AEB6A26D2321414660E570078A36419020B0F266232141A6CFD5F6028A3641E034EF787023214130E6AE45118A364168ED0D3E772321413CCD3B4E8A8A364140DA1BBC7C2321413A234A7B8D8A364198AEB6A26D23214101000000020000000001000000FFFFFFFF0000000003, CAST(588885 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (590684, N'{FDF772B2-676C-4469-9AC0-7E211F699E1C}', N'010936335', 495509, N'NEP557', 36351881, N'10936335', NULL, N'55199005', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 15', N'Block 34', NULL, N'LOT 15 BLOCK 34 DISTRICT LOT 549 KOOTENAY DISTRICT PLAN 557', N'0086', N'0004', N'NO', N'ICF', 2, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-08-06T16:05:45.000' AS DateTime), 256, 82, 0xBD0B00000104050000007C2497FF0CAD384110DBF93EB8032241944C158C14AD384190438BACB90322413E234ADB17AD3841B0839E0D7703224132C4B12E10AD3841D0CEF793750322417C2497FF0CAD384110DBF93EB803224101000000020000000001000000FFFFFFFF0000000003, CAST(590684 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (590719, N'{B24E6E05-15F4-4E13-89C4-4F974D6F803D}', N'010559051', 7462429, N'KAP1217A', NULL, N'10559051', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Block 14', NULL, NULL, N'THAT PART BLOCK 14 ON PLAN A1217 DISTRICT LOT 2883S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 4397', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 0, NULL, N'UNKNOWN', N'0', N'980.1', CAST(N'2020-08-11T15:39:47.000' AS DateTime), CAST(N'2020-08-11T15:39:56.000' AS DateTime), 980, 178, 0xBD0B000001040F0000001A2FDD04855F3641406A4DF360A51E41DE718A8E815F36413090A0F842A51E410A83C06A7A5F364120C0EC9E1AA51E41A0923AE1725F364170D49AE6F7A41E419D33A2F4825F3641D02E6EA339A61E417C04C5CF845F364180FC18F335A61E41248E75918B5F364130E8482E2DA61E41F731E60E8C5F364120DD24060CA61E416CF7E4418C5F3641409FABADF4A51E41DC7A142E8D5F36415027A009D3A51E41B159F5198E5F3641407B832FBEA51E4107D7A3308F5F3641A02A1895A3A51E41F897DD938E5F3641D011143F9EA51E416D1283C0895F3641800F7A3675A51E411A2FDD04855F3641406A4DF360A51E4101000000020000000001000000FFFFFFFF0000000003, CAST(590719 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (590863, N'{AAB003A5-4EBA-4415-906D-7C04F39B1AAB}', N'015421481', 486241, N'NEP2204', NULL, N'15421481', NULL, N'01393.010', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 8', NULL, NULL, N'LOT 8 DISTRICT LOT 7173 KOOTENAY DISTRICT PLAN 2204, EXCEPT PLANS 9464 AND NEP64239', N'0015', N'0004', N'NO', N'ICF', 1, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-08-14T12:20:15.000' AS DateTime), 1507, 160, 0xBD0B0000010409000000285C8F02B8823841408104C54C301F417E26C2E6B08238414042CFE638301F41CE00DE629F82384150567DAE9C301F41412CD4FAA6823841E0F97EEAB1301F418226C2E6C78238412090A0F80D311F41361AC01BD3823841E0891FE3CD301F41705F07AED582384130C4B12EBF301F41D3F75363D982384150FE43FAA9301F41285C8F02B8823841408104C54C301F4101000000020000000001000000FFFFFFFF0000000003, CAST(590863 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (591182, N'{EA3F927C-D97A-49C8-90A8-9778B2FBB700}', N'008999139', 3, N'NO_PLAN', NULL, N'8999139', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART 5', N'7', NULL, N'THAT PART OF SECTION 5, RANGE 7, CRANBERRY DISTRICT, LYING TO THE EAST, OF THE ISLAND HIGHWAY AND TO THE WEST OF THE NANAIMO RIVER, EXCEPT PARTS, IN PLANS 273R, 1351R, 8330, 3590RW, 1140RW AND VIP72417', N'0163', N'0021', NULL, N'ICIS CADASTRE', 7, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2020-08-25T16:02:23.000' AS DateTime), 39937, 1097, 0xBD0B000001042E000000225A64FB20A03141702B651970A91B4119AE470120A03141B0F831E667A91B4104E78C0813A031415096900FFBA81B41A2B437F80AA03141708638D638A81B41E44F8DB711A03141C0490C02C4A51B41AA13D064B89F31419014AE47AEA51B413749DE9AB59F314160FA0781F5A51B415479C506B39F31418008D1DA3CA61B41D52D9DA8B09F314150E77D5284A61B413A047B80AE9F3141C02D82E5CBA61B41C2AC728EAC9F31418079509113A71B41DDE995D2AA9F314160855A535BA71B4166BC7413AD9F3141E08173C65BA71B41C242AD69A59F3141304ED111BBA91B41BC88C83DAB9F314170C4A897BBA91B41EF184309B19F3141F0A26426BEA91B419E0DC5C0B69F3141204703B9C2A91B41FD981D59BC9F314110379146C9A91B41F4EC58C7C19F314150A53AC2D1A91B4194ABD500C79F31411090641BDCA91B411CB659FBCB9F3141F03FCD3DE8A91B41E83126ADD09F3141E0EFB311F6A91B41279C0A0DD59F3141C04C077C05AA1B41DCC67612D99F3141406F9A5E16AA1B41099C8BB5DC9F314190F05F9828AA1B412D862AEFDF9F3141909BAA053CAA1B41F65F03B9E29F31415042738050AA1B41DFCFA00DE59F3141F030A3E065AA1B417EF772E8E69F314190A462FC7BAA1B419B61D845E89F314140B46AA892AA1B41911D2523E99F314150085AB8A9AA1B4111FAA77EE99F3141D0B90BFFC0AA1B414CD5AD57E99F314170B0EF4ED8AA1B4153FB82AEE89F3141F0D3637AEFAA1B41FC907284E79F3141705E0D5406AB1B41800BC4DBE59F3141B0A631AF1CAB1B417EBAB6B7E39F314100AB0D6032AB1B41A36C7B1CE19F3141E0BF2B3C47AB1B41913B2C0FDE9F3141D0A7B61A5BAB1B415F8FC295DA9F31416086C9D46DAB1B41611058D9C99F3141E047E17AB4AB1B413C1CEBE26CA0314160371A40C4AB1B4196081BDE6CA0314100AF2564C0AB1B41F11FD26F3FA0314120287E0C75AA1B415FE5D0A221A031412051DA9B76A91B41225A64FB20A03141702B651970A91B4101000000020000000001000000FFFFFFFF0000000003, CAST(591182 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (591808, N'{CE9DC8F9-5B4D-4E19-BDBE-C168E65645EE}', N'011301821', 850629, N'KAP1818', NULL, N'11301821', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot M', NULL, NULL, N'LOT M SECTION 11 TOWNSHIP 14 OSOYOOS DIVISION YALE DISTRICT PLAN 1818 EXCEPT PLANS B1954 AND 39746', N'0063', N'0016', N'NO', N'ICIS CADASTRE', 5, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-08-01T14:47:56.000' AS DateTime), 41, 31, 0xBD0B0000010404000000FC5C6DE5D8763641F01A9E9E14F32141E851B85ED7763641D056ECEF26F32141683BDF2FE0763641C86B093929F32141FC5C6DE5D8763641F01A9E9E14F3214101000000020000000001000000FFFFFFFF0000000003, CAST(591808 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (594459, N'{AD7AA720-7A7C-4193-80FA-6C00568C729D}', N'007428235', 118430, N'VIP1397', NULL, N'7428235', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'Block 1', NULL, N'LOT 2, BLOCK 1, SECTION 33, VICTORIA DISTRICT, PLAN 1397, LYING WITHIN THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:31:54.000' AS DateTime), CAST(N'2021-03-23T07:29:13.000' AS DateTime), 406, 85, 0xBD0B0000010410000000F8B9DAEA513A3241B0923A015F931741304CA64A4E3A324180FEB27B689317413E8B6CE73F3A3241602BF6178E931741C932C4F14A3A3241002C6519AD931741BAB88D66503A324120CB10C7BA931741450C022B583A3241A0CB7FC8A69317411BD9CE37583A3241D02FBBA7A6931741D9817366633A3241A0F606DF899317419BC420F0623A3241A0AEB6E288931741888EE492593A3241501FF4EC7293174169A9F248583A3241F0764DAF6F93174177814B00573A324110B37C696C9317412D52F2B8553A324160118A1B69931741CB53EA72543A3241D0E37DC56593174135BB362E533A32419090606762931741F8B9DAEA513A3241B0923A015F93174101000000020000000001000000FFFFFFFF0000000003, CAST(594459 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (595329, N'{90149BD2-D828-4F1D-B26C-D75F053C12AE}', N'006572481', 5460296, N'VIP2468', NULL, N'6572481', NULL, N'207140', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'', N'', N'LOT A (DD 78938-N), SECTION 2, NANAIMO DISTRICT, PLAN 2468 EXCEPT PART IN PLAN 3212 RW AND VIP64545', N'0084', N'0021', NULL, N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', N'331.6', CAST(N'2019-04-04T08:45:35.000' AS DateTime), CAST(N'2021-05-31T16:31:49.000' AS DateTime), 332, 92, 0xBD0B00000104040000006FB5151B7D943141806ABCF46B001C41EB6A2B1669943141800F0B356A001C41C2D32B6568943141D00C71ACEE001C416FB5151B7D943141806ABCF46B001C4101000000020000000001000000FFFFFFFF0000000003, CAST(595329 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (595863, N'{A277EB0C-71E9-40A6-ABCC-7E246CE71500}', N'015465705', 8815254, N'NEP454RW', NULL, N'15465705', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 2', N'28,22', NULL, N'THAT PART OF LEGAL SUBDIVISION 3 SECTION 2 TOWNSHIP 28 RANGE 22 WEST OF THE 5TH MERIDIAN KOOTENAY DISTRICT INCLUDED IN RW PLAN 454', N'0163', N'0006', N'NO', N'PMBC-COMPILATION', 7, N'LSA', N'COGO', N'0', N'1423', CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-06-23T16:21:09.000' AS DateTime), 1422, 187, 0xBD0B00000104070000001495D4A964CA384110295C0F8FBB264171810465A0CA3841808CB9ABAEBB26411B04562EA8CA3841C054C1A873BB2641D0F753C38ACA38416074241764BB264143A4DFDE86CA3841A0ABAD9881BB264196FF909E66CA384118022B8770BB26411495D4A964CA384110295C0F8FBB264101000000020000000001000000FFFFFFFF0000000003, CAST(595863 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (595878, N'{96367FB8-A2F0-4282-A104-FADFFE57AD6C}', N'001646435', 126053, N'VIP1227', NULL, N'1646435', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'', N'', N'THAT PART OF LOT 5, SECTION 48, SOOKE DISTRICT, PLAN 1227 SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 31255I', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:36:42.000' AS DateTime), CAST(N'2021-06-24T14:49:42.000' AS DateTime), 1420, 158, 0xBD0B000001040E000000CAE53F84B5DB3141E0D6A370722817416E469496D1DB3141C0C2F5289F2817416F810485D3DB314160734694942817415B522760DBDB3141B0438BEC6B28174166D5E76AE3DB3141B03A014D43281741490378ABEBDB3141F0EAE2B6182817417B4F1EB6EFDB3141C09DEF2706281741C164AA80D3DB314140BF0E9CD8271741993F465BCEDB3141B0DA7BC7F127174153F9ED44C9DB3141F055AA230B2817413A70BE3DC4DB314100480AB024281741B32CD445BFDB314160B50A6C3E28174166604B5DBADB31418096195758281741CAE53F84B5DB3141E0D6A3707228174101000000020000000001000000FFFFFFFF0000000003, CAST(595878 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (595899, N'{3A2A40A9-0098-4ABE-B9B5-7438A6B59D6F}', N'001644394', 140454, N'VIP2434', NULL, N'1644394', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Block 22', N'', N'', N'BLOCK 22 OF SECTIONS 11, 63, 64, 65 AND 66, SOOKE DISTRICT, PLAN 2434 EXCEPT THAT PART IN PLAN 46177 AND 48467', N'0133', N'0005', N'YES', N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'0', N'107286', CAST(N'2017-02-20T14:39:54.000' AS DateTime), CAST(N'2021-06-25T15:01:12.000' AS DateTime), 106339, 7072, 0xBD0B000001048B0200005C2041F1C6EA314100FF21FD32141741A2D550DAC8EA3141F07CD27353141741B576DA38CAEA3141B055B959741417414AD3540BCBEA3141A0EBEF899514174109D5D350CBEA3141E0473CDFB614174150880909CBEA3141A0D83A34D814174180734634CAEA3141B0658863F91417418F2CB6B2C9EA314170B0BA3009151741820BBB0FC9EA3141C0AB8BEA1815174112D4824BC8EA314100E9908C28151741289F4466C7EA3141C0A866123815174191CB4060C6EA3141D015B17747151741EDEBC039C5EA3141307E1DB856151741541E166AC3EA3141B032C4316B1517411EC08D75BFEA3141E07F03A48F151741787302BDBAEA314140673199B215174191D05449B5EA3141108491CFD31517419E54C524AFEA3141C0A1AF08F3151741861AE15AA8EA3141802CD5091016174166226CF8A0EA3141509A779C2A161741B0BFEC1EAEEA3141506B9A77221617412B068135B3EA31416060E5501F161741D634EF78D2EA314100BC0592FD14174102000020E6EA3141901F636E4714174196823BB1E5EA3141E025EAF440141741E36B084CE5EA3141C094AE713A141741D97674F0E4EA3141509F92E53314174126108C9EE4EA314160AD79512D141741B5545A56E4EA3141803B48B626141741FC0FE917E4EA3141C0BCE3142014174169C5F0B2E3EA3141F09957DD0F141741BE525737E3EA3141306199AFFF13174155CB2BA5E2EA31417041A28DEF131741650380FCE1EA314110F86979DF131741B58D683DE1EA3141B098E674CF1317411DB9FC67E0EA314160490C82BF131741C9C551F8DFEA3141508E8DE4B613174148E6C476DFEA314100AFC256AE131741C53A79E3DEEA31419067FDDAA51317412BB3963EDEEA314110908A739D13174142044A88DDEA3141B07EB12295131741AA9BC4C0DCEA31410068B3EA8C1317418162D240DCEA314170FBA99888131741675A0DC6DBEA3141D085473D84131741456F8050DBEA31417040EFD87F131741331636E0DAEA31418030056C7B1317417E4C3875DAEA3141B01FEEF676131741B996900FDAEA314110910F7A72131741A50FD161D4EA3141802013FD2A131741725E0B50D0EA314130320FC4E1121741FB2C7AE2CDEA3141D0CB156397121741EA68061ECDEA3141F06F8F704C121741E1553D04CEEA3141D0F50A8401121741186A4D93D0EA3141200F0B35B7111741B7AB4B36D2EA3141A040C0879811174184B4D41FD4EA3141F0E9041C7A1117413A6D454FD6EA3141908EFBFB5B111741A774E3C3D8EA3141407AAD313E111741AF5DDD7CDBEA3141F06807C720111741F3F44A79DEEA31416038D6C503111741C68F3117E1EA314160A4DF3EEE1017413C575BD1E2EA3141C039234ADA1017414EB81E85E5EA3141F04D6210BB101741568638D608EB314110174850540F1741E459C76B09EB3141603C241C4D0F1741520A15080AEB31419040F9F0450F174128FC18AB0AEB314180322CCF3E0F17413F35CA540BEB3141309D21B7370F1741705D1F050CEB314100823DA9300F1741E1BE0EBC0CEB31419054E3A5290F17415AD3BC230DEB314130C807BD250F17416BBC74D30EEB314110E0BE0E170F1741CD22DB79FFEA314140BF7D9DF90E1741BA15FB0BF6EA3141906F5F87E70E1741F7A9F132C9EA3141C07F483FB71017410FE02DF0C7EA3141A082E247C4101741BE1726D3B3EA3141501283409411174109D7A3B0B2EA3141D001BC05AE1117415C579946B2EA3141E085B794B7111741DAE752E3B1EA3141A09A3C28C1111741C9A2D386B1EA3141A0A0FEBFCA1117415D6C1E31B1EA3141D0D5B05BD41117414FF235E2B0EA3141805906FBDD1117410CAC1C9AB0EA3141002DB29DE711174153DFEE37AFEA314130717C47341217415B22684EAFEA31417064232481121741A8B066DDB0EA314140212AC0CD1217413D0993E2B3EA3141A0DF74A81913174193736359B8EA314190E4F56A64131741E7D0223BBEEA3141F0E15897AD131741F6DEB792BEEA3141B0720552B1131741E4715FEBBEEA314160421C0BB513174141141945BFEA3141406198C2B8131741164FE49FBFEA314150E27478BC13174126AAC0FBBFEA3141C0DBAC2CC01317419EABAD58C0EA314180643BDFC3131741E2BE0E5CC1EA31419075711BCE13174114022B27C4EA314120992A98001417415C2041F1C6EA314100FF21FD32141741D8F0F44A68E83141D0FEB27B5F1617417FD0B39961E83141D078E9A64D1617410424287E5FE83141C058A835481617415C0E2DD25AE831419019515A3C161741844506B059E83141909CD17D391617417A24018D58E8314120C2DAA6361617417E5B1F6957E8314100C270D5331617412A9C624456E83141E0CB9709311617414899CC1E55E83141400754432E161741F8065FF853E83141E092A9822B1617415C13EDCC51E8314150965F512616174120E606A04FE83141C09ADA2921161741153FAF714DE831413023210C1C161741DBDFE8414BE8314190A739F816161741F08BB61049E8314190932AEE111617419A081BDE46E831412044FAED0C161741952A185542E8314190FF90FE021617418716D96E40E8314160AA60D4FE151741866CE7DB39E831416028ED0DF11517417858A85538E8314170F753E3ED151741E61DA7E81AE83141200BB526B215174161DC4663F4E73141E08BDBE85C151741550E2D52E5E7314190A301BCB714174127F6973DDEE73141004625759B1417413D8B6CA7BDE73141F017B75119141741956588E39CE73141D0A3703D1014174103DE020963E73141800D4F2FE7121741B4A6796756E7314150C3D3ABA6121741D5D7811345E73141A09ECD2A4E1217413152895D44E73141307B40814A121741D6E4AAA543E73141C0FFA4DD46121741EEAAE9EB42E7314170E90A4043121741E1C7483042E7314190DA81A83F1217413167CB7241E73141005D19173C12174167BC74B340E73141E0DEE08B38121741C27493383CE73141C0A52C4323121741FFFFFFBF38E73141B03923CA13121741CB8F313735E7314170779C2204121741402A8C9234E73141D06F63B601121741797404F133E73141A01B313DFF11174108C9AA5233E73141209645B7FC11174123308FB732E731412044E224FA111741F35DC11F32E7314190CE4986F7111741F1B0508B31E73141F019C0DBF4111741AA6054F22DE73141C0FEB2FBE5111741FD6E81C42DE7314110ED0D3EE5111741FA97DD932DE73141D0490C82E41117416A006F8129E73141F07F48BFD4111741A489B00126E731412082E247C7111741823F359E20E73141208941E0B3111741C2A8A48E1FE73141B003E70CB0111741FD9908DB1EE73141D02FBBA7AD111741E0A59B441BE7314180658863A11117418E06F0B615E731417096218E8F111741B8AF030710E73141E01D38677E1117412D2AA9330AE73141C04469EF6D111741E32D904004E7314180567D2E5E111741880D4F2FFEE631414055302A4F111741A79BC400F8E631412066F7E440111741FF2A87B6F1E63141C0AEB66233111741E0E99552EBE631411079E9A6261117411EFDF6D5E4E63141400F9CB31A111741D000DE42DEE631412004568E0F11174140355E9AD7E63141E058173705111741813F35DED0E6314100C58FB1FB10174110E02D10CAE6314140499D00F310174172D71232C3E63141009D1125EB101741C30E9C53BDE6314120068115E5101741D8F0F46AB7E631410023DB79DF10174185635D7CB1E63141C0CFD556DA1017413F8B6C87ABE63141D07AA5ACD5101741221FF48CA5E63141E0224A7BD11017419231778D9FE63141B0C9C3C2CD101741C242AD8999E6314150014D84CA101741FADBD78193E63141F0361AC0C71017411AE258F77AE63141F0B27B72BE101741CA32C4315DE53141202FDD24551017411183C08A54E5314120B29D6F52101741DD2D90E04BE53141A08EE47250101741A33C2C3443E53141C07A142E4F101741686666863AE5314130772DA14E10174184E2C7D831E53141F0156ACD4E1017414903782B29E5314150575BB14F101741DCA370BD25E53141403C2C54501017415752278020E53141703A014D511017411AE258D717E53141202E90A0531017416E68914D0BE53141A014AE47581017410612147F01E53141209BE61D5D1017419468CD2600E53141A050BCCC5D101741ECF6D1CEFEE43141804A97845E10174128852577FDE43141708275455F10174186DACB1FFCE43141D0D9540F6010174152BDC8C8FAE43141601833E260101741EAF21F72F9E4314110ED0DBE611017411C0DE06DF3E43141D0FBA97165101741C94B3769F1E43141103B70CE66101741E10B9369E9E43141B0EB51B86C1017419D1F5A14E8E431415030B5B46D101741C38592BFE6E43141F0717DBA6E101741BD61406BE5E431413082A7C96F10174186D56717E4E43141901630E27010174192010DC4E2E43141E0C6130472101741E5043471E1E43141800D4F2F73101741F96C56FDD9E43141809BC4A0791017413D0AD783D9E43141704DF30E7A1017415AD3BCA3D1E43141703F35DE81101741E1573453D0E43141505FD62183101741BB015F03CFE43141205AE57084101741B90643B4CDE4314100FE5BCB851017414599E665CCE4314180E23331871017412DE84F18CBE43141906966A288101741B71E85CBC9E43141C0BFEC1E8A1017413A1AC0FBC1E43141B0ADD8DF921017415EFE437AC0E43141F09E3CAC941017412A97FF10BAE43141E0E995B29C1017410B664B39B6E43141608E9991A11017415D4A0A65B2E43141F021589BA610174185F65994AEE43141F090AACFAB101741440158C7AAE43141207F682EB1101741D1E421FEA6E43141E04668B7B6101741EEFDD438A3E4314100FA7E6ABC10174149177F4FA0E431418001F6DCC010174120A8EB689DE43141B03DEC6BC5101741231F2C859AE4314180494617CA101741F5D951A497E431411015E8DECE101741D5246EC694E4314100E7B4C2D31017412C3A92EB91E43141005C8FC2D8101741CDB359F583E43141404DF30EF1101741BFF5285C7EE43141D0CCCCCCFA1017414F158C4A74E43141008AB0610C111741CB10C79A64E43141B0BFEC9E27111741CA98BB1650E431415017B7514B11174120EBE2B63BE43141008273C66E111741D3DEE0EB20E4314110295C0F9911174148EA04D416E43141607B832F5D111741611058F9DEE33141B037F8C2A21117412D55302AE0E33141C02B6599D21117417A7AA56CDAE33141602CD49AD411174107560EADD4E33141109C3322D61117415CCC5DEBCEE3314160575B31D711174124A7E828C9E33141A014AEC7D7111741480C02CBC1E33141106210D8D7111741C8BAB86DBAE33141F008F920D7111741167C6112B3E331410054E3A5D5111741413EE8B9ABE3314140D3BC63D3111741802F4C86A4E33141D0438B6CD0111741E14603589DE3314180EBE2B6CC1117417CF2B0F095E33141C09AE61DC8111741B596900F8EE33141304A7B83C2111741A0703D2A82E33141A0EC2FBBB81117413C3EE8F9DFE2314160E7FBA92711174107C58F91BDE23141F08E53F408111741D26F5F8798E23141A04160E5E710174132A2B4778EE23141609CA2A3DF1017412E08AC1C88E2314120849E4DDB1017410045860D87E23141B0AEF594DA101741F02707FE85E23141C043B2E4D9101741DFD932EE84E23141D0F6D63CD910174107850DDE83E23141805B669DD8101741DF549BCD82E23141D0E06206D8101741F875E0BC81E2314130D9CE77D710174183AEB6227CE23141D0B0E169D41017415D1058597BE231415026C206D4101741605DDC4672E2314150174850D01017411EB9FC0772E23141C0C64B37D01017415717B7D171E231410009F920D01017410B560E8D6FE23141F0490C82CF101741FF1873376DE23141B0D100DECE101741F83A702E69E2314110CAC3C2CD10174195E61D8768E2314180984C95CD101741DAF0F46A68E23141304D848DCD10174198C420F067E23141708CB96BCD101741E09C116561E23141B0FA5C6DCC101741A8E848CE5FE23141907CD033CC10174122DBF91E5AE2314180DA1BFCCB10174181A4EA3859E23141B08191EDCB101741FC07D65258E2314140A012E6CB1017413679BF6C57E2314190539FE5CB101741B86BAA8656E23141509D37ECCB10174125539AA055E23141A063DBF9CB10174108A392BA54E2314100728A0ECC10174192CB7F884FE23141108C4A6ACC1017419ED50BB24AE23141404F1C3BCD10174196E58EDC45E23141F02C2C59CE101741480F560841E23141105368C4CF1017416B52AE353CE231419022BA7CD11017419995E46437E23141E02D0682D3101741C7A1459632E23141803C2CD4D510174132F995662BE23141E03320E1D9101741B85AF53D24E23141F062CAA5DE101741AA41891D1DE23141404F6721E4101741E8D8750616E23141D0301653EA1017412ACCDDF90EE23141D018D939F11017416919E2F807E23141001895D4F81017414B50FC7801E2314190C0CAA1011117413455300AD7E131413096218E3011174108560E0DC8E13141F09F89B0EE101741C1F528FC95E13141A06CE77B091117416A006F4188E1314110AF25E410111741AA6054327AE1314100D7A370181117417736AB3E72E13141103411B61C111741832F4C866FE13141A07F483F8A111741616E265869E13141C04814418711174165DB3D2C63E13141F08036FC83111741D3F4C4025DE1314140E8C970801117412025EEDB56E13141407EEB9E7C11174123C1EBB750E131411084BA86781117419106F0964AE13141E079582874111741F463CC5D3AE13141D0FEB2FB6811174174E7FBA927E13141F0E2361A5C111741D100DE2221E131410076719B571117413F79588816E13141F08C286D4C1117413308AC1C11E13141E0B584FC48111741C85D484508E13141F0C3C28043111741D9812B62FFE03141E03FD35E3F111741B78CA276F6E0314130223F983C1117418BB7FD85EDE03141405D0E2E3B11174151218F93E4E03141007BC7203B1117410493A9A2DBE0314130696F703C1117417E3F355ED7E031410074B5950F111741D322DB99B2E03141C07BF23031111741FCA067138EE031414005A39252111741B6AF03A790E03141F0891F638A1117413870CE28D7DF314160E848AEE2121741538D97EEBCDF3141D0FF907ECD131741AC0A46C52BE03141B015FBCB141317414079588882E03141C08F31772E1217418CD2DE60AEE031418075E09CFA111741BC7D1D78C9E03141F069DEF1CC111741C876BE7FDAE03141F0EC9E3CB0111741CA07A2FDE0E031412052BA76AE1117411F0F827EE7E03141F0ACC59DAD111741273C4200EEE03141806607B2AD1117417EF5C580F4E0314170EC78B3AE1117417908F1FDFAE0314160B0C6A1B01117417458A87501E131414048507CB311174145FEA21107E131410082D561B6111741929CBFAB0CE13141E093147FB9111741B699DB4312E131413041FAD3BC1117417D68D4D917E13141A0F67160C0111741DE88876D1DE1314110C96524C4111741CF88D2FE22E131415077BE1FC81117413E355E9A32E13141606210D8D211174147C807DD45E13141504ED111E011174117BADE534CE13141106658A8E411174192AEE3CD52E13141C06BC9F4E81117418294E14A59E13141302801F7EC1117416742A3CA5FE13141C0C1DEAEF01117411A78F34C66E1314180C1431CF41117417AE09CD16CE131413012143FF71117415CFE437A6BE1314120EF38452D12174136AB3E776BE13141805A42BE2D121741EA4109BF78E1314130FF86FC31121741317E7D1086E13141805A3F6133121741A85CD46193E13141508B65EB311217419AEF46A9A0E13141A0060C9C2D121741528C15DDADE1314100CF5C762612174153F38EF3BAE131418024977F1C12174190B159CFC1E13141605AA7261612174177F8BEA5C8E13141B0C217730F121741A6F17376CFE1314120B731650812174130052E41D6E13141606C42FD0012174175DCA205DDE1314160F29A3BF91117419B6588C3E3E13141D02D9020F1111741CEAACFF5E1E131413083C0CAB31117412565190202E23141B0302A298E11174140CF663514E2314190E61D2779111741BE8E1F852BE23141905F787F6211174108110D3A43E23141800B7DCE53111741640ABD285BE231415087182F4D111741A454532573E23141A0E76DAD4E1117414250DA038BE23141A07CC04658111741C4749398A2E2314100D578E969111741B4847C30AFE231414044FA6D74111741BE5296A1D4E2314180F90FE9911117415839B4A835E33141E05F764FDE111741081214DF38E33141D03D79D8E0111741982A183556E3314100C6DC35FB111741F19E3CEC7EE3314110F241CF1F12174173A3011C80E33141003867C4201217417DC0CA4181E33141E0C48FB12112174100E78C6888E33141C04603782712174183204AC38AE3314150C7254029121741C6A2C91E8DE33141A00AEFF72A1217417355047B8FE33141E0E5599F2C121741041EF3D791E33141E05D61362E121741F1DF8E3594E3314150AA00BD2F121741877CD09396E33141503333333112174102DE02299DE3314100B684FC3412174118C896BB9DE3314190F18C4935121741C0A73F4E9EE3314190360C943512174164C9FCE09EE33141202B02DC351217415B79CD739FE3314140766E2136121741D703B106A0E33141C0C35064361217410BB5A699A0E3314150C1A8A4361217416229CBD0A5E3314190D85FF638121741613B907EAEE33141B01B20073C121741E9920931B7E3314100183F193E121741BE5D64E6BFE33141E0A64D2C3F121741042FCD9CC8E33141C01C12403F12174144617052D1E33141605488543E12174172787A05DAE3314190B0E1693C1217414AE17AB4E2E3314140984C953912174170AC8B3BFEE33141E04603F874121741A5CFD5B623E4314180CB7F4843121741F4B050CB2FE43141D0CAA14533121741F31FD2EF29E43141901D38E7FA1117418CB0E1E94BE43141505EBA49C6111741C620B0F252E4314150613255BA111741F80FE9F763E43141D09DEF279B11174165006F81A0E4314190A835CD311117412FC0FB2BA2E43141B00B10062F1117416E2170D7A3E43141F07EA9472C1117419A45C983A5E43141B0B8069229111741954C0431A7E4314150612CE526111741B8541EDFA8E4314110121F4124111741DD7A148EAAE43141D053E3A521111741119C33C2B0E4314170F5B95A1811174163EB87CAB1E43141200EC3CA1611174180EA89D3B2E4314120E80B4215111741166B36DDB3E43141603A99C013111741DC3C8AE7B4E43141D0A46F4612111741752D82F2B5E4314190B193D31011174195081BFEB6E4314180D409680F11174160E5D042BDE43141A0AACFD5061117415ED5294FBEE43141B0A4317205111741F4BCF75BBFE43141E02C24140411174185C33869C0E4314190AAA9BB021117419B0FEB76C1E43141307DC4680111174107C70C85C2E4314110F6761B00111741BF0E9C93C3E431414061C3D3FE1017411283C0AAC8E43141D025E483F8101741E22EAC96CAE4314170537A4BF61017416EBE1883CCE431419038151AF41017418B970470CEE4314190A9B6EFF1101741A01F6E5DD0E43141907360CCEF101741C0BB534BD2E43141605E14B0ED10174181D0B339D4E43141C02BD49AEB101741CDDEE0EBD7E43141D0CCCCCCE7101741EB6A2BF6E2E43141C05A423EDD10174185416085E6E43141F084EB51DA101741B596902FEEE43141B0B88D06D41017416D8E7886F2E43141F023A6D9D0101741D0A159DFF6E43141401223D9CD101741D76E173AFBE43141901C1805CB1017416E879596FFE43141E0BA975DC81017410D72B7F403E531417041B3E2C510174168AA605408E53141A0E17A94C310174161A1D6140FE53141A009F9A0C01017411599B62B1DE531413044ECCCBB101741F4FA484B2BE53141D010DEF9B810174108C3FE6E39E5314150D2B728B81017415F97479247E531416009BD59B91017413D4193B055E5314140448B8CBC1017411B2653C563E5314150371AC0C11017411B95D469C3E53141D08026C2E91017411A8C4A8A17E63141E0DEE08B091117411B2FDD4471E63141A020B0722B111741868EE41282E63141C02B65192F111741715F07AE88E63141E0749398311117413A6744498FE63141D0BDC11734111741A635967F91E63141D0E3170E35111741E6CE72B593E6314110A0B9143611174188B2D2EA95E63141D075A32B37111741AC61AE1F98E6314150B3D15238111741385FFE539AE63141006E408A39111741F12FBB879CE631415085EBD13A111741FEE68CC8A1E631414008AC1C3E1117419C8C2D02A3E631414011B1E63E111741378B583BA4E63141A045D0BB3F1117411D990774A5E63141A05D059C40111741086F34ACA6E6314110D94B87411117415BC8D8E3A7E63141E0FD9E7D421117412163EE1AA9E6314100DBF97E43111741CDAE5CB3B8E6314150EDB00F51111741CF0792FEC7E63141900DF64F63111741FE9E10E6D6E631414011F2247A111741A149ED53E5E63141E02E116D9511174127BDEF32F3E63141A05D3400B51117412CC4B16E00E73141D056ECAFD8111741F000E3BC09E7314180542333F61117417BA1FCB012E7314180ACD36715121741EBC311461BE73141C0CCD23C3612174143CB697723E73141E01F11A05812174126F882402BE7314120FEA37E7C121741C3E3149D32E73141A013D0C4A1121741DE2D90E039E73141E06800EFC61217416CE7FB293AE73141A0AF0367C81217411EB9FCC743E731415075719BF9121741526210987BE7314140A089301714174151A60AC688E73141A09BC4A05A141741AFBFECBE7CE73141405C8F42AF141741D5A370FD89E73141C067B3EAF3141741A4F1D2ED91E731416005A3121D15174185C9544199E7314130DF4F0D43151741FCD47809A9E73141309D11258C1517414CE17A54B4E7314180ABAD58B015174198438B4CDCE73141908BDBE8A41517418F5CFEE3EAE7314190C3D32BC5151741F83A706E0EE83141B0ED7CBF13161741F2C9C3E220E8314140EBE236391617413D60E5F02BE83141700B24A84F1617411EFDF6752CE83141903311B6501617411DB9FC672DE83141E03311B6521617413780B70034E8314190C039A36016174193ED7CBF34E83141F00F7A3662161741EE5A423E35E8314120166A4D63161741300382FE44E8314170C2BA528716174188B6705854E8314140759E01AE161741C84ADC4463E83141802CF347D71617413AEBC5BC71E83141D0EA5F1203171741216065B97FE8314130C65D4C311717419D3C2C348DE83141508941E06117174106CE19B193E83141306C78FA7A171741FDD478A995E8314140BE9F9A821717413A6744A9ACE831415027A009DF171741F77E6A7CAEE8314110E5D022CC17174165F7E481B0E831419028ED8DB9171741F285C9D4B8E83141F0C48F3175171741E651B8BEAAE83141B0EBC0B93B1717415A35DDEFA8E83141D068C08334171741DB7E1F1EA7E83141209F65592D171741E5DE8349A5E83141C006C33A26171741640D0F72A3E8314190FAEA271F1717418DC9C597A1E8314120B5EF2018171741E5D9ACBA9FE831411054E32511171741D678E9069CE8314100C954410317174199BB96309AE83141204D848DFC1617413EA4DF5E94E8314160643BDFE7161741D794484892E8314120F6BC92E01617412554D72E90E83141C0E36153D9161741B20C91128EE8314110033C21D2161741F5EF7AF38BE8314190075DFCCA1617415C369AD189E831417087D6E4C31617411F1FF4AC87E8314170F5B9DABC161741E458173782E8314190BA498CAB161741A23E732B81E83141F0025032A816174127CA7F1E80E8314170A2EADEA4161741FE913F107FE83141D0C82192A1161741C52FB5007EE831410098FD4B9E1617416C40E3EF7CE831412020860C9B161741EF63CCDD7BE831414061C3D397161741A3D6340F77E8314180D85F76891617415A3543B775E83141D0E0156E8516174159075C5D74E8314130035370811617418274840173E83141107C267D7D16174117ACC1A371E83141505C9F9479161741ADE4184470E83141308ECCB6751617412B5C8FE26EE8314170D3BCE371161741AB4E40336AE83141F05739B464161741619EDEE269E8314110D0ADCF631617418A09159269E83141605D6FED62161741F19DE44069E8314180F3800D62161741BC6A4EEF68E83141B07FE52F611617417380539D68E8314180E49F5460161741D8F0F44A68E83141D0FEB27B5F16174125F697BDA7E93141E078E9267D18174106DD4579A0E93141B0776DC78F181741EB5AF0F698E93141E0F1AACCA018174102C1443C91E9314170BEC329B0181741BBF71A4F89E9314190621AD3BD181741FA13713581E9314120D25ABEC91817413FCF66F578E93141D04082E2D31817410925E4216BE9314100AB8CF8DF18174140D3E4135DE93141A02DB09DE618174198CE95ED4EE931417043C4C1E71817416A295FD140E9314150B30262E3181741C36990E132E93141304F0E89D9181741721B0D4025E93141A016D94ECA181741FBBF5AD322E93141F05802EFC618174165E6356A20E9314180315C67C31817416C68C7041EE93141807022B8BF181741E2E037A31BE93141008593E1BB18174104A9AF4519E931418079F0E3B7181741CFD556EC16E93141D0ED7CBFB31817413A5EBA4912E93141206822ECAA181741E629C6910AE93141F00807159A1817419A9FDA1103E93141607941BA8718174165A5B7CEFBE83141407D71E773181741B7A2F6CCF4E83141C0FE24A95E181741BB960711EEE83141601BD00C48181741E5482E9FE7E83141809BC420301817411CD26F3FDBE83141A0D71272FF171741A5BDC157D6E83141E02F4C26EC171741CFCCCCCCCAE83141C03767C4BD171741A0A223D9C7E83141A0AF03E7B117174146BF7D3DC3E83141504BC887D7171741475986F8C0E83141F0EEC943EC171741F9538827C0E83141507A19A9F417174144F9EB61BFE83141101D911FFD171741F4CCC7A7BEE83141E0013AA6051817412F0431F9BDE83141707A1B3C0E1817413C833B56BDE83141101D3BE01618174123DBF9BEBCE83141D0E09C911F18174129C28667C0E83141D0CA10472E181741B8DA8A3DC9E83141D0F063CC51181741FBBB0512D3E83141A0C3642A79181741925179C4DAE8314190E46A2F96181741E0BB76D4E2E83141305B4B92B118174171F1733CEBE83141906C3540CB1817417C73AAF6F3E8314160928427E318174175451BFDFCE83141109CCC37F9181741DE0B934906E9314180F7E4610D191741E638E1B90FE93141E0D3F7A61E19174161120E6819E93141E01A20A12D1917413A08334B23E93141A07898423A19174163D6385A2DE93141B0E8C37F44191741C6E0DF8B37E93141F060384F4C1917413AB4C8D641E931419079C7A9511917410DE4551551E9314150F1992A5519174109C66D5860E9314100950144531917417C2E79816FE93141D0B2CDF94B191741A32715727EE93141C0CF9A5A3F19174170D94F0C8DE93141A05CB57F2D1917418B8EE4329BE93141A003E78C161917419DDF213DA3E93141C0617FC0061917410734831BABE931414097FCA0F5181741A11F8BCAB2E93141A0D2F635E31817417C36D146BAE93141504B9987CF181741AC8F038DC1E93141A0A29E9EBA1817413F3EE899C8E9314160014D84A4181741B3E1E955D4E93141205F294B7E181741F80FE957DDE9314140D881F36018174162E5D062EBE93141A0A14536331817410497CB5CECE93141D0EC9F0E30181741D5CF6C57EDE9314150A235EA2C181741A2E4B352EEE93141E0E708C929181741CE29A04EEFE9314140E01BAB2618174153F3304BF0E93141B0AC709023181741AF946548F1E93141F06B097920181741A901DA35F3E931419051F8761A1817417824C125F5E93141F0928D8114181741D4CC1518F7E931413024D9980E1817410DC4D20CF9E9314120DAEABC08181741E7CCF203FBE931416065D2ED02181741DAA370FDFCE93141D0559F2BFD171741C87F481F01EA314110CE8852F11717416E4694F602EA3141A0DEE00BEC171741CA76BE7FF1E931410052B81E97171741902A6DE8EDE93141200C5867A1171741929C8D57EAE9314170369BD3AB17174184E735CDE6E93141F0344163B617174194FD7B49E3E9314190900816C1171741FEA775CCDFE9314140F7AEEBCB1717415B863856DCE931414041F1E3D6171741B51E85EBBFE93141A058A83533181741567DAE96B4E93141D093870558181741FED47869B4E93141B099999958181741ED7C3F35B4E93141C0EA7335591817416844690FAEE9314100E78CA86B1817418204C56FACE93141F0550E2D7018174125F697BDA7E93141E078E9267D1817410300000002000000000263000000022B02000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(595899 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (595956, N'{ECC576D2-D1A4-45A0-B2CB-0E1B38469D66}', N'000302139', 647012, N'VIP34692', NULL, N'302139', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot A', NULL, NULL, N'LOT A, LOOP FARMS, ALBERNI DISTRICT, PLAN 34692 EXCEPT PART IN PLAN VIP64196', N'0163', N'0029', N'NO', N'ICF', 6, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2021-06-29T15:08:52.000' AS DateTime), 19299, 602, 0xBD0B000001040700000029651982B48E304130014D04471F1D41B2BFEC5E888F3041E02FBB27471F1D418738D665838F3041B0ADD85FAF1E1D4172810465928F30415029CB101F1E1D41C039234A918F3041B04E4013B51D1D4119AE4721E18E3041504E6210B51D1D4129651982B48E304130014D04471F1D4101000000020000000001000000FFFFFFFF0000000003, CAST(595956 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (596949, N'{5BA321C1-E4C4-40D4-8695-4C4BF8F26233}', N'008969663', 1078044, N'NWP27124', NULL, N'8969663', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1965-11-09T00:00:00.000' AS DateTime), N'Lot M', N'', N'', N'LOT M DISTRICT LOT 225 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 27124', N'0002', N'0009', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'1498', CAST(N'2021-09-09T09:16:20.000' AS DateTime), CAST(N'2021-09-09T09:17:47.000' AS DateTime), 1499, 187, 0xBD0B000001040500000001917E3B5A893341F070AC8BF1E81B419B9999395B893341E0B88D068EE81B41E7D9AC5A5C893341C0847CD01CE81B412487161924893341703F355E11E81B4101917E3B5A893341F070AC8BF1E81B4101000000020000000001000000FFFFFFFF0000000003, CAST(596949 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (597359, N'{CBD24ABE-76B1-4876-A8AE-E477ABA11646}', N'010459171', 252487, N'PGP727', 17743441, N'10459171', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 21', N'Block 29', N'', N'LOT 21 BLOCK 29 DISTRICT LOT 933 CARIBOO DISTRICT PLAN 727', N'0112', N'0008', N'NO', N'MODIFIED-TANTALIS', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-07-26T16:27:00.000' AS DateTime), CAST(N'2021-10-01T14:35:22.000' AS DateTime), 496, 115, 0xBD0B0000010405000000000000809582324130B072A8AB4A2E4137674429A0823241803BDF8FAC4A2E4181C0CA01A2823241B01C5A64544A2E41BA270F8B9782324138BA490C4A4A2E41000000809582324130B072A8AB4A2E4101000000020000000001000000FFFFFFFF0000000003, CAST(597359 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (598436, N'{1D6781FF-BAD6-49D8-A716-24A96EF3CCD0}', N'001624652', 3, N'NO_PLAN', NULL, N'1624652', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, NULL, NULL, NULL, N'THAT PART OF SECTIONS 13 AND 14, METCHOSIN DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 27391 AND CONTAINING 7.03 ACRES MORE OR LESS', N'0079', N'0005', N'NO', N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:46:50.000' AS DateTime), CAST(N'2021-12-07T09:27:23.000' AS DateTime), 28712, 2151, 0xBD0B0000010496000000341AC05B3A083241D09C11257F10174184D2DE403D0832417005A392621017412C97FF1040083241E05817B7451017411071ACCB42083241E073B59528101741D044D87045083241803255300B1017413689410048083241E0B96B89ED0F1741F3EBC0794A08324150E5D0A2CF0F1741AAADD8DF530832411075029A4F0F1741925CFE835B083241200F7AB6CB0E174112BE305961083241208716D9440E17411CB9FC47670832415080B7C0AC0D1741816ABC1449083241E0718A8EEA0D17418538D6254608324100D7A370340E17416EF90FA944083241C00968A25B0E17419C559F0B43083241B03923CA810E174159CA324441083241E060C3D3A70E17412E3333533F083241F0C876BECD0E1741445986383D083241E001BC85F30E17410F4FAFF43A08324140545227190F174104F9A08738083241A0E4F29F3E0F1741CC32C4F135083241C0B050EB630F1741363CBD3233083241E06FCE08890F17410EBE303930083241801951DAAE0F1741CABAB8ED2D08324160BADA8ACA0F17413C1AC07B2B08324180ACFADCE60F1741CDB359F52808324150FAEDEB021017413E2CD45A26083241F058A8B51E1017413DF163AC23083241E07D1D383A1017417658A8151E083241C047E17A70101741CE88D2BEA607324120AC1CDACB141741171DC925A307324190976E92ED141741EF8E5374A0073241F057393407151741E7FBA9919F0732416009F9A00F151741ED9E3C0C9C073241E074931832151741088195A3980732416094F60655151741DFE00BD396073241F07B613268151741BB847C109507324170DE718A7B1517411851DA5B93073241F04C840D8F151741B0EA73B591073241F0EBC0B9A21517416588631D900732414096218EB615174184A757AA8F07324130F8C264BC151741332AA9938E073241F0DD0289CA151741DB3D79188D073241E054C1A8DE1517413EFAEDAB8B073241A0D556ECF21517414E96214E8A073241F084EB51071617415A643BFF8807324150F4DBD71B1617415A643BBF870732415048507C30161741AAE8488E8607324130A4DF3E451617412B287E6C850732410076E01C5A1617416007CE5984073241A02A18156F161741FC2A8756830732413054E32584161741B8DA8A3D83073241B0847C50861617419C779C6282073241605F074E9916174126ED0D7E810732411071AC8BAE161741DC141DA980073241808863DDC3161741E5B7AFE37F073241D05B2041D91617419428ED2D7F073241C0EA73B5EE1617415E4BC8877E073241A0A2233904171741AF7268F17D07324190A757CA1917174141AD695E7E0732414052272021171741ADAB670E7E073241D0026F772E171741CE34C0C47D07324130F6FFD03B171741BE5374817D07324140C2A92C4917174184FC84447D07324170F53B8A56171741230CF30D7D073241B01686E9631717417D48BFDD7C073241C0A7574A711717412441F1E37B073241502575828C17174174711BAD7B07324160E17A94A817174191A0F8917B07324150302AA9C4171741C9293A927B073241505B42BEE0171741DF7A14AE7B073241403CBDD2FC17174154840DEF7B073241D000DE021E181741160DE04D7C073241C0E8B72F3F18174185A757CA7C07324150613255601817411A1DC9E586073241F02B6599C71A1741469D80C68A073241E0AF0367AC1B17417D1D38478B073241F0A370BDC81B17413108ACDC8B07324190B74002E51B1741B8AF03878C073241F0A06733011C17416C6FF0458D073241903A704E1D1C174106B5A6198E07324140CE1951391C17416AF7E4018F073241F0EBC039551C1741EC51B8FE8F073241F04A5906711C1741DA56EC0F91073241A033A2B48C1C1741280681359207324130EE5A42A81C17416544696F93073241803177ADC31C174146BF7DBD94073241F08E53F4DE1C1741CC76BE1F9607324130E17A14FA1C174121FDF69597073241904C150C151D1741FDFFFF1F99073241008716D92F1D1741D49AE6BD9A073241904772794A1D17416444696F9C07324140431CEB641D174145E17A349E073241700C712C7F1D17413E7958A8A00732411026E4039A1D17414A696F70B907324170ED0DBE641D1741A5E848CEB307324190C342AD141D1741760B2448B10732411055C128EF1C17415B643BDFAF07324120A2B437CC1C1741A4BDC157AD07324130BC7493951C174136234A3BAB07324100FAEDEB601C17410EF2416FA9073241507424172C1C174164DE714AA7073241A087855ADB1B1741F063CC3DA6073241909F1A2FA61B17410488F43B98073241701804D6581817417EB740E2970732411027318841181741012B879697073241B0A982D12918174106A3925A97073241804D6210121817418616D92E9707324150BF7D1DFA1717418B8EE4129707324190764F9EDF171741560E2D1297073241B0BFEC1EC517174127287E2C97073241C0088A9FAA1717412C6EA36197073241D02E6E23901717419DC5B1899707324140B8306B81171741873DF5B997073241A04C7DB472171741CEE56CF297073241D0279DFF6317174165A5173398073241D076D94C55171741853AF47B98073241B05F7B9C461717418D3A01CD9807324130FBCBEE3717174142355E7A99073241706FF0851C171741728A8E449A0732414055302A01171741A25E292B9B073241C0635DDCE51617414F8D972E9C073241F02CB29DCA161741841F634E9D073241E0FBA971AF161741DBF0F48A9E073241D0F44A59941617417A9CA2E39F07324160AACF5579161741BF39236AA1073241D07B61325D161741B22E6EC3A2073241007F6A3C461617410CE9B70FA30732419055302A41161741196A4D73A3073241C06E81043B161741877CD0D3A4073241C0361A4025161741FC2A87B6A6073241508FC275091617416D3480B7A8073241B0F1D2CDED15174139B4C8D6AA07324100151D49D2151741A323B99CAC073241D0915C7EBC1517413ECF6675AE07324160F163CCA615174184C95461B007324140C66D34911517413392CB5FB207324170A2B4B77B1517410BAC1C9AB5073241E00A24A85A15174151E3A5FBB8073241D0FFFF7F39151741AA3E577BBC073241B0EC9E3C18151741645DDCC6BD07324170BE9F1A0C15174154A8350DC007324130A7E8C8F61417415D545247C8073241F0D24DE2A9141741F57E6A3CDA07324100022B070214174167F7E4E1ED073241608A8E644A13174168B3EAF302083241408E757185121741D8E76ACB17083241D05E98CCC2111741C03923CA2B083241A06891ED07111741A489B061370832419068916D9B101741341AC05B3A083241D09C11257F10174101000000020000000001000000FFFFFFFF0000000003, CAST(598436 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (599597, N'{8AAF874E-E9AD-4250-825D-174D2DE9BE0C}', N'003257843', 847840, N'KAP794', NULL, N'3257843', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 5', N'Block E', NULL, N'LOT 5 BLOCK E DISTRICT LOT 517 KAMLOOPS DIVISION YALE DISTRICT PLAN 794 EXCEPT PLAN 35895', N'0017', N'0028', N'NO', N'ICF', 3, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-12-18T15:08:02.000' AS DateTime), 113, 44, 0xBD0B000001040500000043355E5A83083641B8DA8A7D5B4B2441A42C437C8A08364118D578A94D4B2441235A64BB8708364180D0B399394B2441C7EEC9037D083641E819515A4E4B244143355E5A83083641B8DA8A7D5B4B244101000000020000000001000000FFFFFFFF0000000003, CAST(599597 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (599847, N'{FBECC5D0-FE17-4503-AF91-15E954A46F1C}', N'005700574', 496129, N'NEP546', 90054457, N'5700574', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 16', N'Block C', N'', N'LOT 16 BLOCK C DISTRICT LOT 208 KOOTENAY DISTRICT PLAN 546', N'0056', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:47.000' AS DateTime), 196, 67, 0xBD0B000001040600000036454772292F3941E83FA4DF7FDE2141C76D3420292F39414013618386DE2141F1F44A59432F394128C2862777DE2141715F072E412F39413004568E68DE214106D7A3102A2F3941D0E1E91576DE214136454772292F3941E83FA4DF7FDE214101000000020000000001000000FFFFFFFF0000000003, CAST(599847 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (600619, N'{257AB339-6D9F-41DC-9D27-9163BBDEC626}', N'010744401', 135984, N'VIP46570', NULL, N'10744401', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot D', N'', N'', N'LOT D, SECTION 20, RANGE 2 EAST, NORTH SAANICH DISTRICT, PLAN 46570 EXCEPT PLAN VIP55876', N'0090', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:06:48.000' AS DateTime), CAST(N'2019-01-05T10:24:31.000' AS DateTime), 3155, 317, 0xBD0B000001040F000000C6DCB504692A3241E0BCE394EE111941CD00DE42692A3241D053E3A5D2111941740B2468462A324130AC1CDA2B1119414CE17A543F2A324100189554D8101941407958882F2A32412048507C1211194145EA0454292A324170D85FF62112194108560E2D172A3241A06E128399121941600F2532182A3241E02EC82B9D121941D70A9F22192A32419031FA28A1121941E260C8FC192A3241705F6D73A51219410A9D15BF1A2A3241F0975A03AA121941D28A26681B2A324160CA7CD0AE1219413AB4C8F61B2A324100F31FD2B3121941F2EBC0B9342A32418036ABBE10121941C6DCB504692A3241E0BCE394EE11194101000000020000000001000000FFFFFFFF0000000003, CAST(600619 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (601412, N'{5A34AA9C-B259-47BA-898A-3772FC42E54B}', N'001675630', 12592, N'VIP218B', NULL, N'1675630', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'Block 46', NULL, N'THAT PART OF LOT 4, BLOCK 46, SHAWNIGAN LAKE SUBURBAN LOTS, MALAHAT DISTRICT, PLAN 218B SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 14324F AND CONTAINING 1.78 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T19:37:37.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 7412, 344, 0xBD0B000001041000000053FC18B3E9E93141F0EDEB409E911841D856ECAFA1E93141100BB5A6959118411C51DA9BA0E93141C01E856B269318417CC0CAC1EAE931419086385625931841BA6D2697EBE931413057722900931841B94B3A3BECE93141C0B00CEDDA921841185DF4ADECE93141B0B61CA5B5921841B50D48EFECE9314170CFB85590921841F8332EFFECE931417034F8026B921841A211A5DDECE93141A07BF2B0459218417471079CECE93141B045D1B629921841DE19963EECE93141D023A2C10D921841D4D256C5EBE9314100E81FD3F1911841C21C5130EBE9314180F904EDD59118410D308E7FEAE93141E03A0B11BA91184153FC18B3E9E93141F0EDEB409E91184101000000020000000001000000FFFFFFFF0000000003, CAST(601412 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (601494, N'{7DC5B9EF-59EF-48C1-BAF4-16F357C77223}', N'016169352', 472080, N'NEP639', 90092453, N'16169352', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 16', N'Block 52', NULL, N'LOT 16 BLOCK 52 DISTRICT LOT 1901 KOOTENAY DISTRICT PLAN 639', N'0163', N'0018', N'NO', N'MODIFIED-ICF', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-05-11T15:33:42.000' AS DateTime), 331, 84, 0xBD0B000001040500000081B740E2CAED3A41A8ADD89FA9A8204137B4C876C9ED3A410083C08ABEA82041AACFD576E8ED3A41D0E53FE4C6A820414B378901EAED3A4158FE43FAB1A8204181B740E2CAED3A41A8ADD89FA9A8204101000000020000000001000000FFFFFFFF0000000003, CAST(601494 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (601527, N'{77C8A3A5-F9D5-493C-8E92-31EB7D395420}', N'007761015', 140656, N'VIP1375', NULL, N'7761015', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'Block 2', N'', N'THAT PART OF LOT 2, BLOCK 2, SECTION 33, VICTORIA DISTRICT, PLAN 1375 BEING THE RIGHT OF WAY OF CANADIAN NORTHERN PACIFIC RAILWAY COMPANY SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:47:34.000' AS DateTime), CAST(N'2019-01-05T10:53:53.000' AS DateTime), 51, 70, 0xBD0B000001040600000098FF90BEE439324180E926B1CB91174125A08910E63932415041F163C8911741A35E292BD4393241B069DE7158911741F341CF26D439324180CFD5565891174130FF21DDD23932418051499D5B91174198FF90BEE439324180E926B1CB91174101000000020000000001000000FFFFFFFF0000000003, CAST(601527 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (602161, N'{BE9BA277-3880-4E63-831C-7A935A2B023F}', N'010459316', 252487, N'PGP727', 5676271, N'10459316', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 16', N'Block 31', N'', N'LOT 16 BLOCK 31 DISTRICT LOT 933 CARIBOO DISTRICT PLAN 727', N'0112', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:41:06.000' AS DateTime), 448, 108, 0xBD0B000001040700000013C7BA98CF82324140BF7D1DAA492E414650FC98FA82324100C364EAAD492E410E022BE7FA823241B07268D1A2492E41A5605412F7823241A026C2869D492E4123386724F582324170226C7898492E41DCF0F40ACC823241E0065F9895492E4113C7BA98CF82324140BF7D1DAA492E4101000000020000000001000000FFFFFFFF0000000003, CAST(602161 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (602187, N'{663C9094-D496-41C6-836D-1019EC2DD9C2}', N'001451651', 3, N'NO_PLAN', NULL, N'1451651', NULL, N'104510', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'B', N'11', N'8', N'PARCEL B (DD 33803N), SECTION 11, RANGE 8, MOUNTAIN DISTRICT, EXCEPT PARTS IN PLANS 8205, 8509, 35744, 42277,VIP67537 AND EPP28935', N'0084', N'0021', NULL, N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2019-04-04T08:45:35.000' AS DateTime), CAST(N'2021-01-20T12:22:39.000' AS DateTime), 10190, 456, 0xBD0B0000010405000000CA073DDBA5823141B08F31778F491C41386744A95482314100265385C74A1C41FC53E325788231419095430B694C1C412041F103AA823141302A18956C4C1C41CA073DDBA5823141B08F31778F491C4101000000020000000001000000FFFFFFFF0000000003, CAST(602187 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (602235, N'{1C4BCCCD-8069-407C-B14B-54FFA4A213C0}', N'002909324', 117903, N'VIP877', NULL, N'2909324', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 24', N'Block 9', N'', N'THAT PART OF LOT 24, BLOCK 9, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:17:48.000' AS DateTime), CAST(N'2019-01-05T10:55:24.000' AS DateTime), 289, 71, 0xBD0B00000104090000009B559FABE538324130C28627B98C17414D9621EEDF38324180EC9EBCB28C17410F022B27DA3832410040A4DFAC8C1741FC187357D4383241E0976E92A78C1741F85C6D45DB38324110D34DE2008D1741176A4D73DB3832417098DD13018D1741BAC876DEE938324140DE0289EF8C1741C37493D8E9383241C0F3FD54EF8C17419B559FABE538324130C28627B98C174101000000020000000001000000FFFFFFFF0000000003, CAST(602235 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (603211, N'{7BDAE0AF-5AFA-4EB1-94EE-A23E6DEED2F5}', N'008196346', 117903, N'VIP877', NULL, N'8196346', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 24', N'Block 16', N'', N'LOT 24, BLOCK 16, SECTIONS 9, 14 AND 24, VICTORIA DISTRICT, PLAN 877, EXCEPT PART IN PLAN 3 BL AND EXCEPT PARCEL A OF SAID LOT 24', N'0122', N'0005', N'NO', N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:46:55.000' AS DateTime), CAST(N'2019-01-05T11:03:58.000' AS DateTime), 3, 8, 0xBD0B0000010404000000674DF3CE26393241B09F1AAF2A8B1741AC79C78924393241B0999999358B174182C0CA61273932412051DA1B328B1741674DF3CE26393241B09F1AAF2A8B174101000000020000000001000000FFFFFFFF0000000003, CAST(603211 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (604825, N'{32A702BC-DF93-437A-B754-A0AEF0E3CC9E}', N'017012562', 495488, N'NEP828', NULL, N'17012562', NULL, N'7075563100', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PARCEL A', N'LOT 9', N'', N'PARCEL A (REFERENCE PLAN 89951I) LOT 9 DISTRICT LOT 1237 KOOTENAY DISTRICT PLAN 828', N'0163', N'0004', N'NO', N'ICF', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:20:31.000' AS DateTime), 12351, 475, 0xBD0B00000104050000005817B7D12FBE384110D7346F96901E41422CD4FA8EBE384100AAF152B1911E418E28ED8D9FBE3841A0779C22E08F1E417CFB3A903EBE384120363C3DC08E1E415817B7D12FBE384110D7346F96901E4101000000020000000001000000FFFFFFFF0000000003, CAST(604825 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (605638, N'{E0834633-0F3E-4EC1-8E15-70E7CC4BB610}', N'016042654', 3, N'NO_PLAN', NULL, N'16042654', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'', N'', N'', N'THAT PART OF CAPILANO INDIAN RESERVE NO. 5 COMPRISING 1.29 ACRES AS SHOWN ON REFERENCE PLAN 3219', N'0158', N'0010', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2018-01-09T12:26:46.000' AS DateTime), 4712, 584, 0xBD0B00000104180000005305A3D20272324130C364AA377B1D412B65192205723241407C61B23E7B1D410C2DB29D0772324140567DAE457B1D41C6C3420D0A723241C0B7D1004C7B1D419E5E298B0C723241A08F31F7517B1D41B4FC87340F723241303B70CE577B1D415CA835CD1172324190B740025D7B1D410CD7A39014723241E094D409627B1D41ACADD85F1772324170C1A8A4667B1D41443EE8191A72324130C1A8A46A7B1D41A21A2FFD1C72324120AF94656E7B1D41B29465C81F7232414005A392717B1D417ABE9F9A22723241A061A156747B1D41AA57CA7225723241A07BF2B0767B1D4182734694F4713241900D4F2F127A1D41FFDD02A9E6713241805374A4AC791D41063D9B55B971324170325530FA781D41C67F487F9271324110605452E1771D411F8E75318D71324180C64BB7BA771D417C0B24888671324150F75363C9771D41A62C431CFC713241508941E01F7B1D416D5F074EFE713241505C8F42287B1D4160FE437A00723241708FC2F52F7B1D415305A3D20272324130C364AA377B1D4101000000020000000001000000FFFFFFFF0000000003, CAST(605638 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (606262, N'{CAD36F9F-AA94-48BE-9100-E92ACBD9E6AE}', N'016622537', 3, N'NO_PLAN', NULL, N'16622537', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART NW4', N'20', N'22,7', N'THE NORTH WEST QUARTER OF LEGAL SUBDIVISION 1 SECTION 20 TOWNSHIP 22 RANGE 7 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION OF YALE DISTRICT, EXCEPT PART INCLUDED IN PLAN 14637', N'0163', N'0006', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:23:27.000' AS DateTime), 37361, 759, 0xBD0B000001040F00000038DF4FED41D43641903480B74AA82441832F4C663BD43641187502DA30A8244117AE47A12AD436414068916D16A82441C56D3480ADD33641985374A404A82441AAF1D26DAAD336414811367C42A82441F63A70EEA5D3364148A1D6F49EA824414DD191BCA0D33641587958680BA924412F4CA68A9CD3364110D578E960A92441FFFFFF1F9AD33641F82553C592A9244160764F1E63D4364100AF25E4BAA92441F08E53346FD4364148B81E0501A924410F022B6765D4364108E63FE4E3A82441517424F75CD43641386C783AC5A82441E53FA47F58D4364130B07228B2A8244138DF4FED41D43641903480B74AA8244101000000020000000001000000FFFFFFFF0000000003, CAST(606262 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (607218, N'{B2900071-1A38-4B31-962A-1307BCE3A27F}', N'009763554', 3191875, N'VIP1215OS', NULL, N'9763554', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 57', N'', N'', N'THAT PART OF THE UNNUMBERED PORTION OF COWICHAN LAKE DISTRICT, SHOWN COLOURED RED ON PLAN 1215 OS, LYING BETWEEN THE PRODUCTIONS OF THE NORTHERLY AND EASTERLY BOUNDARIES OF DISTRICT LOT 57 OF SAID DISTRICT, AND CONTAINING 0.522 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:58:51.000' AS DateTime), CAST(N'2019-01-10T15:04:01.000' AS DateTime), 3165, 282, 0xBD0B0000010407000000D63D7918FA883141D0081B9EF2B7194169AA603427893141408C4A6A63B719413FCF66152989314180FB3AF0AEB619415ACA32041C89314180B96B89D7B619415A302A290F893141809D802600B71941FCFFFF9FC5883141C03923CAEBB71941D63D7918FA883141D0081B9EF2B7194101000000020000000001000000FFFFFFFF0000000003, CAST(607218 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (607738, N'{65C6393B-BBB0-4661-A68C-770BE19E5760}', N'012231398', 495467, N'NEP9500', 14227521, N'12231398', NULL, N'219528020', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 20', N'Block 44', N'', N'LOT 20 BLOCK 44 DISTRICT LOT 95 KOOTENAY DISTRICT PLAN 9500', N'0085', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:21:37.000' AS DateTime), 277, 88, 0xBD0B00000104050000000AF9A047D3DD38411804560E4D582041B2E1E935CDDD3841206519E243582041EC8E5334B7DD384130DF4F0D7E582041F95C6D45BDDD384178C7293A875820410AF9A047D3DD38411804560E4D58204101000000020000000001000000FFFFFFFF0000000003, CAST(607738 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (609220, N'{27C6A67F-5CE6-4B2C-957E-A5E289ACB7EA}', N'003028453', 651007, N'VIP24405', NULL, N'3028453', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'', N'', N'LOT A, DISTRICT LOT 1558, SAYWARD DISTRICT, PLAN 24405', N'0013', N'0027', N'NO', N'ICIS CADASTRE', NULL, NULL, N'UNKNOWN', N'0', N'706.2', CAST(N'2018-10-11T16:02:44.000' AS DateTime), CAST(N'2018-11-27T18:20:56.000' AS DateTime), 706, 111, 0xBD0B000001040B0000006FCE8832B316304178C5FE32E7FF20414D27A029B3163041785F070EE7FF2041E34F8D37B216304140F6971DE3FF2041F163CCDDB916304180D712B2B5FF204172F90F69AF1630419804C5CF92FF20410188F45B9D1630412854E365CDFF2041BD30990AA116304148B4C8B6DEFF204108C58F11A2163041D032C4B1DFFF20419B081B1EAD16304120143F46EAFF20418AC954C1AE163041C886A7D7EBFF20416FCE8832B316304178C5FE32E7FF204101000000020000000001000000FFFFFFFF0000000003, CAST(609220 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (609332, N'{4835631E-1F3E-4AE9-8418-31F8D84DA2C5}', N'011117788', 853599, N'KAP3339', NULL, N'11117788', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Parcel 8', N'Lot 2', NULL, N'PARCEL 8 (PLAN A1182) OF LOT 2 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 3339', N'0095', N'0022', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-05-05T16:39:37.000' AS DateTime), 11166, 542, 0xBD0B000001041D000000B7DA8AFD1A713641E0361A4059891D41A2802622EB70364100A1673358891D41B4533974E3703641F015E58198891D41177EDA6EDB70364190E5B124D8891D41F1C3F912D370364130D55F14178A1D4133039161CA703641D0949549558A1D41A916A45BC1703641B0990FBD928A1D4183B74002B870364110F9A067CF8A1D41F8B9DA4AC27036418053E3A5048B1D415327A029CC703641C079C7A9478B1D413D2CD43AD1703641907EFBBA6B8B1D41D8F0F4AACF70364110575BB1988B1D414E6B9A97CE70364150E8D9ACB98B1D4193537464CD70364160840D4FE28B1D419E89B041CA70364150234AFB2E8C1D41F0D24D62C6703641F061A1567A8C1D412263EE5ACF703641B096900F4C8C1D419CCDAACFD670364150F9A067248C1D4134AB3ED7DB703641F0270F0BB78B1D413155308AE8703641C0AE2564BF8B1D418C51372EF870364110216FD85E8B1D41A694650C0771364110E0855DFC8A1D419E18E8201571364160A7BE0C988A1D412AB71F6822713641C00EE7FF318A1D413118A2DE2E71364120E63E51CA891D419F923A813A713641B075711B61891D4129E4839E38713641207C61B261891D417A2D219F2C713641A00C712C5E891D41B7DA8AFD1A713641E0361A4059891D4101000000020000000001000000FFFFFFFF0000000003, CAST(609332 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (609787, N'{4AF0D49F-AC26-4DD9-9C9D-B41B19C881C7}', N'006414303', 646980, N'VIP2281', NULL, N'6414303', NULL, N'04064.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'', N'', N'THAT PART OF LOT 6, BLOCK 29, COMOX DISTRICT, PLAN 2281, SHOWN IN RED ON PLAN 184R', N'0163', N'0017', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-12-17T18:22:25.000' AS DateTime), 9745, 809, 0xBD0B0000010407000000E0141D09003D3041A0E926B1FC2020414F7424B7353D3041C0CCCC0C20202041ADEA7375FF3C3041D0E1E9D59F202041276519024C3C30417004C58F462220412DA2B4F74B3C3041E8141DC995222041E573B5F54B3C3041C8073DDBA4222041E0141D09003D3041A0E926B1FC20204101000000020000000001000000FFFFFFFF0000000003, CAST(609787 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (615523, N'{075FFE51-1924-4C71-B149-AC10F4ABB5F9}', N'011016906', 1479951, N'NWP4032', NULL, N'11016906', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-02T00:00:00.000' AS DateTime), N'REM Lot 8', N'Block 4', N'', N'LOT 8 EXCEPT: PART DEDICATED ROAD ON PLAN LMP24405, BLOCK 4 DISTRICT LOT 207 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 4032', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T13:21:41.000' AS DateTime), 2248, 222, 0xBD0B00000104060000001648507C8DA532412051DA1B9C341D411AAE4701A6A5324120EA043440341D41443789C1ACA5324190B662FF29341D41B2BFECDEAEA53241A0F1414F39331D41550E2DF290A5324100E561A134331D411648507C8DA532412051DA1B9C341D4101000000020000000001000000FFFFFFFF0000000003, CAST(615523 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (615847, N'{EDB2A032-5037-4E6F-9596-2ABFC6D45709}', N'003917673', 3, N'NO_PLAN', NULL, N'3917673', NULL, N'72411598000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART NE4', N'29', N'21,13', N'ALL THAT PORTION OF THE NORTHEAST 1/4 OF SECTION 29 LYING TO THE WEST OF THE RIGHT BANK OF LOAKIN CREEK TOWNSHIP 21 RANGE 13 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLAN KAP57640', N'0163', N'0028', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:38.000' AS DateTime), 569973, 4308, 0xBD0B00000104D6000000767AA5AC4FF4354140C3642A8C4524416EE7FBE94DF435418014AEC7A845244160764FDE4AF43541D8718A4EAA452441A4FF6E8A46F4354180DDB05BB2452441D077CB9842F435413884AB29BB452441F6CEBF113FF43541F04DD3A5C44524414E23C5FC3BF43541182310BCCE45244146EC626039F43541A87F0357D94524416C25214237F4354138B83560E4452441AC967CA635F43541D09145C0EF4524419A52DD9034F4354168CB195FFB4524410A7F8F0334F43541F029142407462441C676BEFF33F43541C8A145F612462441D5E76A2B38F435411048507CDA462441E60B93A930F4354130E5D022F546244178E09CB121F4354128B4C8766547244188A7576A21F43541108C4A6AAC472441CCBAB80D2BF43541A0847C50F7472441AFD85FF64DF4354140BF7D9D7348244196081BFE5BF4354128EBE2763B4924418D855AF343F43541709BC4A08449244162764F1E5AF43541082AA993884924414EF38E136BF4354150EE5A826B4924419D703D8A79F43541C0D85FB62D492441E651B81E76F43541687958A815492441CA7F485F60F43541A8416025D5482441BCF3FD545CF4354160BE9FDABE48244101780B6469F43541582041718E482441EF8E53346DF43541C03C2C5473482441AEFA5CCD6DF43541605BB17F6A482441C776BE3F6EF4354170E5D0A2614824414603788B6EF4354110DBF9BE5848244180FB3AB06EF43541D086A7D74F4824414C9621AE6EF43541508D97EE46482441E39C11856EF43541E03845073E482441EF7C3F356EF4354120780B2435482441E851B8BE6DF43541484BC8472C482441D61B7C216DF4354130D8F074234824416788639D67F43541F807AC1C0B4824411D38672463F43541202428FE04482441B169DE915EF4354100560E2DFF47244122CB10E759F4354110E86AABF947244170787A2555F4354148EC2F7BF4472441C6B12E4E50F435417888639DEF4724410A93A9624BF43541C0605412EB472441A813D06446F4354110F697DDE6472441F02FBB273DF435419875711BD94724412B3A922B3DF4354170C95401D747244112C7BA383DF43541F0E68CE8D4472441BD9F1A4F3DF4354178F2B0D0D247244117FBCB6E3DF43541206C78BAD0472441E24F8D973DF43541D80AB5A6CE4724414F27A0C93DF4354140863896CC472441FE6E81043EF43541D0141D89CA472441FFE68C483EF43541F8EDEB80C84724417558A8953EF43541707FD97DC64724410D71ACEB3EF43541505BB17FC4472441A4703D4A3FF43541D8141D89C2472441E90434B13FF4354130992A98C0472441E324062140F43541D86800AFBE472441A0A2239940F435413828EDCDBC472441B5627F1941F43541284625F5BA472441F4DBD7A141F4354170787A25B94724416DD7123242F43541D064AA60B74724419A6588634FF435418033A2B47F4724416E1B0D0050F4354170C5FE327B4724411EA7E88850F43541D0AF03A7764724410D363CFD50F43541B8293A12724724416888635D51F43541604694766D472441E1141DA951F435412061C3D368472441701B0DE051F43541B0FA5C2D64472441109C330252F4354148CA32845F47244111E02D1052F4354130992AD85A47244171F90F0952F4354178E8D92C564724413ADF4FED51F43541D000DE825147244148C807BD51F4354198506BDA4C4724416C2BF67751F4354120EBE23648472441EB51B81E51F43541F0BD30994347244198BB96B050F43541B8490C023F4724412EC4B12E50F43541086A4D733A472441F9065F984FF43541280DE0ED35472441718A8E8461F4354108CCEE09D94624419E45B65362F43541584BC847D1462441A8ADD8FF62F435411010E977C94624417A0B248863F435418851499DC146244107560EED63F43541A859F5B9B9462441FD43FA2D64F4354130CE19D1B1462441FCB9DA4A64F43541B0D32BE5A9462441400AD74364F43541A07D1DF8A14624412A87161964F4354118287E0C9A4624419E703DCA63F4354158787A2592462441E39387E566F4354178A7570A6F4624410793A90264F43541C08F31774B46244166B3EA1355F4354178D712F2E2452441B0E1E99554F4354110728A8EAE4524411F85EB1155F43541E8CEF7D3A945244162EE5AA255F43541082EFF21A5452441BAAF034756F4354148234A7BA04524413889410057F4354198D2DEE09B452441EB8C28CD57F43541984E405397452441FE43FAAD58F43541807346D49245244184B740A259F43541486666668E452441E30B93A95AF435417039B4088A452441935CFEC35BF43541B011A5BD854524412A97FFF05CF4354138CB1087814524414C72F92F5EF43541081DC9657D452441554013815FF43541E899085B79452441D1F753E360F43541B0E61D677545244135B4C85662F4354110287E8C714524412B75021A61F435413004568E63452441F631E66E5AF43541B0A44E8058452441F8285C0F48F43541882A18D549452441DCE76A2B41F43541F0CBEE093C45244125F697FD35F4354190D409A825452441570E2D723AF4354128014D44CE4424416E34807736F43541F0D78173B34424415ECC5DCB36F4354148984CD5B0442441FAB9DA2A37F435412024283EAE442441ACE1E99537F43541D03177ADAB4424419C438B0C38F4354130F8C224A9442441C4A8A48E38F435410066F7A4A6442441846CE71B39F4354138C4B12EA4442441C20512B439F43541B037F8C2A1442441E05817573AF43541A0779C629F44244158C1A8043BF4354110166A0D9D442441A423B9BC3BF43541E02553C59A442441E551B87E3CF43541F8B9DA8A98442441D5F0F44A3DF43541D8081B5E96442441A89BC4203EF4354100C9E53F9444244124C9E5FF3EF43541B069DE3192442441CF5D4BE83FF4354148FC18339044244170B5155B40F43541A82C43DC8D442441EAB7AFC340F43541C0EC9E7C8B4424414737892141F43541D098BB16894424415EA1D67441F43541589ECDAA8644244128F697BD41F4354100B5A63984442441C6073DFB41F43541806E12C3814424415296212E42F435415027A0497F442441E46A2B5642F435410896B2CC7C442441A64E407342F43541903A014D7A4424411C26538542F43541704C15CC77442441CCD5568C42F43541E0703D4A75442441D35D4B8842F43541E8B8FCC77244244116BE307942F43541A84A594670442441E8482E5F42F4354120143FC66D4424412A75023A42F4354198CB7F486B442441C239230A42F43541A028EDCD68442441FC285CCF41F4354110E25857664424416FF0858941F43541F8770BE4634424414A50FC3841F43541B0D85F7661442441627FD9DD40F43541B896900F5F442441528D970E45F4354140499D0049442441E17A14AE42F43541D82553053D442441381136BC35F43541581B9EDE22442441C0D32BA53EF43541A8567DAE0D442441191DC92540F4354198C5FE320C442441C476BE9F41F43541B851499D0A442441560E2D1243F4354150D6C5ED084424416C88637D44F43541182FDD2407442441388941E045F435410893A9420544244158F5B93A47F435416039B44803442441EC9E3C8C48F435410022FD36014424410D5839D449F4354130CD3B0EFF432441F5A9F1124BF4354120F241CFFC432441EE3845474CF43541B07EFB7AFA432441EC0434714DF435410897FF10F8432441CA4D62904EF43541B8855A93F5432441C7E53FA44FF43541F85B8F02F3432441AF03E7AC50F435413064CC5DF043244170F085A951F4354128B072A8ED4324411473D7724EF43541704ED151B6432441A613D06453F4354138575BB194432441D4DEE08B5FF4354108363CFD8343244110BE30F974F435416866666681432441086822CC7CF43541806891ED6543244162E5D0E27CF43541B841CFE65C43244108C58FD17CF43541C82D90E0534324412E992A987CF43541003FC6DC4A432441E861A1367CF43541C82CB2DD4143244159A835AD7BF43541B09DEFE738432441FAE461417BF43541B0B4377833432441E66A2BF643F3354108C286E7FB42244114022BA772F2354170F2B090D6422441EA51B87E01F2354118C05B60C242244194C42030AFF13541208E75B1B34224415C6DC5DEAAF13541B0ABADD814432441F73A704E8BF13541F051B8DEDA45244176A52C8389F1354188FD65370346244185FD65F781F13541006B2BF6AC4624413DF1636C67F13541E895B20C024924415DFE433AC3F2354130871619404924417AE09C31FCF23541401361434A49244155D3BC83C6F33541383A924B6E49244136014DC425F435413880B7407F4924413A80B7E03EF4354118098A1FBC4824419B6E12032CF4354148E3A55B4C482441D8A3703D0DF43541D80209CADE4724412AE483FE0DF435415038D6C51E47244180D0B31922F4354178F08549774624411795D40920F43541C8F831A614462441E210E40E20F43541A8E0E626054624410F3CA2C820F43541D8B906B9F5452441D0AA833522F4354110436A7DE645244132957F5224F4354190397F94D7452441D14C161B27F435416050031EC94524419FD05A892AF43541C89CC038BB452441536AFF952EF43541C80A4C02AE452441D73A653833F435414863C696A14524416994AE6638F43541806BA010964524414CFBD3153EF43541F09962888B452441DBA0BB3944F43541C8DC781482452441152653C54AF4354100DE02C979452441851F63CE4FF43541305EBA0977452441767AA5AC4FF4354140C3642A8C45244101000000020000000001000000FFFFFFFF0000000003, CAST(615847 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (617801, N'{4351A3CF-9ED8-41A9-B0E7-56101C980627}', N'015086267', 3, N'NO_PLAN', NULL, N'15086267', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'A', N'2263S', N'', N'PARCEL A (DD 149558F AND PLAN B6917) OF DISTRICT LOT 2263S SIMILKAMEEN DIVISION YALE DISTRICT', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-07-08T13:57:57.000' AS DateTime), 30082, 779, 0xBD0B000001041400000013363C9D855935411075021A93E51E41E2B5845C84593541F0C264AAB3E51E41DCB5845C84593541D010C73AD4E51E41B4DA8A3D8659354180A8354DFCE51E4162764F1E8859354130D1915C1AE61E414C499D208D593541604625F549E61E41E4B7AFC3925935415025758265E61E41489D806698593541E097DD9388E61E4175F90FA99E59354150E53F24A9E61E4120166ACDA6593541107C6132C7E61E41B7847CB0AD59354160A4DF3EE0E61E4153F38E53B3593541A0141DC9F6E61E4166226CF8BD59354110637FD919E71E4170A3013CC4593541C06800EF41E71E41B8DA8AFDC7593541A0DD938776E71E410612147FCA593541E0C039A3ADE71E416CA3017CBA593541E0D409689BE81E416DC5FED26C5A35413021B072CAE81E4137DF4FEDFF593541705DDC462DE51E4113363C9D855935411075021A93E51E4101000000020000000001000000FFFFFFFF0000000003, CAST(617801 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (618120, N'{DAD5AF60-08A7-4934-88B9-9E3333CB75D5}', N'008080623', 140690, N'VIP1037', NULL, N'8080623', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 7', N'', N'', N'THAT PART OF LOT 7, SECTION 7, VICTORIA DISTRICT, PLAN 1037, IN PLAN 6 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:42:13.000' AS DateTime), CAST(N'2019-08-07T12:08:18.000' AS DateTime), 554, 116, 0xBD0B000001040F000000304CA6EA363A324140537424E37F17416991ED7C3F3A32414017B751EA7F17414DDA1BDC433A3241F0891F63C17F1741C998BBD6483A3241408104C5927F174185EB5118473A324130DF4F0D6C7F1741DB5F76EF443A3241509ECDAA457F17410B1B9E5E423A3241402BF6971F7F174116B7D1603F3A3241C098BB161D7F1741E7FBA951363A3241E022DBF9C77F1741027AA56E363A3241C023AF7FCC7F174106563C8A363A3241E0820E06D17F17412B666EA4363A32418062F28CD57F17419E823BBD363A324130E55314DA7F1741CD85A3D4363A3241802A2C9CDE7F1741304CA6EA363A324140537424E37F174101000000020000000001000000FFFFFFFF0000000003, CAST(618120 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (618145, N'{5AF7E1B8-2F6B-4382-8A49-7954BFB09B55}', N'016149769', 495562, N'NEP683', 23311761, N'16149769', NULL, N'26714', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'Block 1', NULL, N'LOT 2 BLOCK 1 DISTRICT LOT 537 KOOTENAY DISTRICT PLAN 683', N'0121', N'0019', N'NO', N'ICF', 0, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-08-12T15:42:10.000' AS DateTime), 149, 53, 0xBD0B00000104050000006C666606EC613841309B559F5BAD1D4132431CEBE261384150CB7FC859AD1D4182C0CA41E2613841901B7C6190AD1D41B459F519EB613841F0B27BF2A7AD1D416C666606EC613841309B559F5BAD1D4101000000020000000001000000FFFFFFFF0000000003, CAST(618145 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (618582, N'{E2107D22-4AF1-4E31-BEEF-8D22A2CD3952}', N'008378029', 136659, N'VIP863', NULL, N'8378029', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 17', N'', N'', N'LOT 17, SECTION 7, VICTORIA DISTRICT, PLAN 863, INCLUDED IN PLAN 6 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:14:46.000' AS DateTime), CAST(N'2019-09-12T14:46:26.000' AS DateTime), 363, 90, 0xBD0B000001040D00000048257522293A3241308716593F7E1741903A01ED253A3241603EE8592B7E17412FDD24C61F3A32416039B4C89F7E174172A926A4203A324180C5B183A67E1741534FB97E213A3241701AB245AD7E17410E44D955223A3241C02E990EB47E1741250B8329233A324160DC4ADEBA7E17417E36B3F9233A324180E1AAB4C17E1741666666C6243A324190E09C91C87E174189C954E1293A3241B0AE25E4CC7E17410E7A362B2F3A324150787A25687E1741527424372C3A3241109E5EA9537E174148257522293A3241308716593F7E174101000000020000000001000000FFFFFFFF0000000003, CAST(618582 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (618583, N'{81D1F566-9D0C-47D9-BDAA-FB46EBF96F7A}', N'008377227', 136659, N'VIP863', NULL, N'8377227', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 15', N'', N'', N'THAT PART OF LOT 15, SECTION 7, VICTORIA DISTRICT, PLAN 863 INCLUDED WITHIN THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY COMPANY AS SHOWN ON PLAN 6 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:49:10.000' AS DateTime), CAST(N'2019-09-12T14:46:26.000' AS DateTime), 39, 31, 0xBD0B000001040900000030DD24C6373A324120257582AD7E17419287859A353A3241C03B4ED1D67E174186FD65B73C3A3241605EBAC9DC7E1741CDDC51F03B3A324120DA20D5D47E1741C98B7F243B3A324180830CE8CC7E1741F195F3533A3A32416097AA02C57E1741A0A1B27E393A324150282825BD7E17410570C1A4383A3241501AB24FB57E174130DD24C6373A324120257582AD7E174101000000020000000001000000FFFFFFFF0000000003, CAST(618583 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (619643, N'{B91353BE-1A0C-424C-A936-F6E15AA10C28}', N'014667860', 3, N'NO_PLAN', NULL, N'14667860', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'1899-12-30T00:00:00.000' AS DateTime), N'PART E2', N'15', N'5,26', N'THE PART OF THE EAST 1/2 OF SECTION 15 LYING TO THE SOUTH OF UNION BAR INDIAN RESERVE NO. 15 AND NORTH OF DISTRICT LOTS 5 AND 6 YALE DIVISION YALE (FORMERLY HOPE) DISTRICT; TOWNSHIP 5 RANGE 26 WEST OF THE 6TH MERIDIAN YALE DIVISION YALE DISTRICT EXCEPT PLANS 9221 AND H17002', N'0050', N'0009', N'NO', N'MODIFIED-ICIS', 15, N'PMBC-OPERATIONS', N'UNKNOWN', N'0', N'613093', CAST(N'2020-01-24T12:18:06.000' AS DateTime), CAST(N'2020-11-04T10:38:56.000' AS DateTime), 611968, 3452, 0xBD0B00000104210000005B39B4C81257344100075F18A04A1E418EA0F85109573441D0809543934A1E41669A777CFF563441D02D9020654A1E41CC5D4B08F6563441F09C11A5384A1E419E3C2C34ED5634411092CB7F1A4A1E41051214BFE1563441A0F83166FA491E41B27268F1C9563441A0477279284B1E41B3EA73B531563441A09318849B4A1E41B0B6623FFD55344180C2F528844A1E41578638B69F553441009C33225A4A1E410A3D9B15515534415031772D0C4A1E41127A360B305534410014D044EB491E41A42C43FCB354344160C6DCB5C5481E412E75023AC8543441F0A7354DC7471E4156EC2FBB9B543441B047E17AA2461E411C0DE02D6954344100FED4F83C461E417CFB3AB0335434416005A3129C461E41B225E48314543441804469EFC7461E41DD7A14AE0C543441F0AB1C5AC8481E416509F94005543441B06B09F9AD4A1E41B6D1003EFA533441D08C28ED7E4D1E41927571FBF853344170E7FB29D14D1E41C78F31F7F7533441F0B7AF83134E1E41EC73B575F5533441702D211FB74E1E416C3BDF4FEF533441006F810449501E41FA0FE9F7DC5334412010E9B7FC541E41A835CDBB09573441B0F90F698F551E41B4EA73F516573441E0A370BD10521E41D78AFD4517573441C0D9ACFA35511E41F063CC5D32573441004703F8E64A1E4138DF4F8D2A573441102428FED34A1E416CBC74932157344120F8C2E4C04A1E415B39B4C81257344100075F18A04A1E4101000000020000000001000000FFFFFFFF0000000003, CAST(619643 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (619655, N'{20198C37-330B-4B21-8720-73A1DF6F9271}', N'005865115', 1074438, N'NWP45143', NULL, N'5865115', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 7', NULL, NULL, N'LOT 7 DISTRICT LOT 764 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 45143', N'0163', N'0009', N'NO', N'ICIS CADASTRE', 5, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2020-01-21T15:50:40.000' AS DateTime), 1173, 194, 0xBD0B000001040400000042355E1A14D2334150A8A4CE99171C41EF0DBEF064D23341B0BAB88D34171C41BB8D065015D2334100371A4024171C4142355E1A14D2334150A8A4CE99171C4101000000020000000001000000FFFFFFFF0000000003, CAST(619655 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (621315, N'{DD9BC987-F77C-4900-95A3-0A73BC6B15FF}', N'012620599', 472153, N'NEP740A', NULL, N'12620599', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 13', N'Block 15', N'', N'LOT 13 BLOCK 15 DISTRICT LOT 267 KOOTENAY DISTRICT PLAN 740A EXCEPT (1) PART INCLUDED IN RW PLAN 1203 AND (2) PART INCLUDED IN SRW PLAN 16533', N'0053', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-05-30T19:55:46.000' AS DateTime), 216, 80, 0xBD0B0000010405000000B437F8E27F023A418067442925292441DA9AE67D8E023A4128D49AA6E8282441AA69DE9189023A4140265345E3282441D9915C7E79023A41801E852B1E292441B437F8E27F023A41806744292529244101000000020000000001000000FFFFFFFF0000000003, CAST(621315 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (621987, N'{2BD99E95-8DA7-4225-8CBD-28AD04771CA0}', N'010239839', 463447, N'NEP1391', NULL, N'10239839', NULL, N'7861443100', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PARCEL A', N'LOT 22', NULL, N'PARCEL A (SEE V23841) BLOCK 22 DISTRICT LOT 279 KOOTENAY DISTRICT PLAN 1391', N'0163', N'0004', N'NO', N'ICF', 0, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-06-10T13:32:46.000' AS DateTime), 483, 134, 0xBD0B0000010405000000B4847CB035C03941D04082624B1A1F41C5FEB21B32C0394170416065C41A1F41851D38C742C03941709E3CACCC1A1F4116C05BE038C0394140151DC9DF191F41B4847CB035C03941D04082624B1A1F4101000000020000000001000000FFFFFFFF0000000003, CAST(621987 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (623085, N'{2A055E80-D6BB-4756-BBB9-31217CB363D1}', N'Statutory RoW', 4486117, N'KAP557CG', 90020949, N'15017435', NULL, NULL, N'ACTIVE', N'INTEREST', N'CROWN PROVINCIAL', CAST(N'1989-11-03T00:00:00.000' AS DateTime), NULL, NULL, NULL, N'THAT PART OF WEST 1/2 OF DISTRICT LOT 1122 PEACE RIVER DISTRICT AS SHOWN ON PLAN CG 557 EXCEPT BLOCK A AND PART LYING SOUTH OF PLAN CG 571', N'0163', N'0015', N'NO', N'MODIFIED-TANTALIS', NULL, NULL, N'UNKNOWN', N'1', N'11912', CAST(N'2019-03-12T11:56:52.000' AS DateTime), CAST(N'2021-09-01T12:31:16.000' AS DateTime), 14591, 1380, 0xBD0B0000010415000000D9A370DDE22B3341ACDD93A7041C3241DE4F8D97C32B3341049D1105E81B324193A98251C22B334134CD3BAEFF1B324172AC8B9BCB2B33419C0D4F2F081C32415CC3D38BD72B33414C9B555F061C3241D9A370DDE22B3341ACDD93A7041C324156D3BCC3C62E3341306EA3010B1D3241F4C2644A9E2E3341B0B20CB1EE1C32414E158C2ADB2D3341BC270FCB881C3241D61B7CC1902D33417C984C35741C3241FB6C567DF72C3341841F63AE601C324160105839812C3341A433A2345F1C3241428B6C27802C3341686FF0A5711C324128ED0D5EF32C3341D888D2BE771C32412C5C8F82F82C3341F453E365781C324144A4DF3E8A2D3341CCAE25E48A1C32414A9D8086D12D3341E4FBA9919E1C3241D05D4BE89E2E334188855A93091D3241962A18F5C02E3341B87BF2501B1D3241499D8066CF2E334134014D840F1D324156D3BCC3C62E3341306EA3010B1D3241020000000200000000020600000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(623085 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (624438, N'{48DAD36C-FC9F-4CC0-BD8F-F237223D41F6}', N'009679651', 1170767, N'NWP2620', NULL, N'9679651', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'Lot 36', N'Block D', N'', N'PARCEL "ONE" (STATUTORY RIGHT OF WAY PLAN 10087) LOT 36 BLOCK "D" DISTRICT LOTS 757 AND 758 GROUP 1 PLAN 2620', N'0088', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2021-11-30T15:02:48.000' AS DateTime), 106, 52, 0xBD0B00000104040000005D764FDE93A5324180FC87744B881C41809543CB94A5324110AAF1D2F4871C41E2E995528AA5324100FED4F830881C415D764FDE93A5324180FC87744B881C4101000000020000000001000000FFFFFFFF0000000003, CAST(624438 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (625627, N'{96007B1A-BFD8-4DE5-AEEF-9DAB63760E02}', N'005948975', 492062, N'KAP24508', 3725621, N'5948975', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', NULL, NULL, N'LOT 1 DISTRICT LOT 1027 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 24508', N'0163', N'0019', N'NO', N'ICF', 9, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-04-23T15:08:06.000' AS DateTime), 56432, 1072, 0xBD0B000001040F0000005A7DAED6C99637413010E9370ECE1C4194BB96304896374110A8C6CBA2CC1C411CD26F9F83953741F021FD7630D11C41CB78089A7D953741804738605AD11C410DFD4CC477953741E040CCB484D11C4129F2B41E7295374130925571AFD11C410011B4A96C953741406D6892DAD11C418E2EBA6567953741C0F6901406D21C413333335362953741E08E53F431D21C41009A089BBA953741303A01CD51D21C413E11363CD195374100006F015BD21C41C6BAB8ADF295374110075F18C8D11C417BC729BAF795374140787A25BDD11C41FA3A70EE43963741F03C9BD513D11C415A7DAED6C99637413010E9370ECE1C4101000000020000000001000000FFFFFFFF0000000003, CAST(625627 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (625934, N'{2D94A42F-E63F-4394-8DAF-EFBEE378CA9C}', N'009805699', 871019, N'KAP8690', NULL, N'9805699', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'', N'', N'LOT 2 DISTRICT LOT 2905 KAMLOOPS DIVISION YALE DISTRICT PLANS 8690 AND H11130', N'0020', N'0028', N'NO', N'ICF', 9, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-11-24T13:29:07.000' AS DateTime), 5124, 573, 0xBD0B000001041D000000E3A59B4497863541A8BAB8CDE7062741B68D061090863541F8A2923ADB0627417CE09C1199863541F0A9F112240727410EA5BDE1E586354198F5B9DAC807274123B072C8ED863541E861A1960A082741ED7C3F55F186354160643B1F28082741907EFBBA3287354180A7578A7A0827410FA5BDA140873541D8285C0F8C08274176A52C033A87354148D6C56D7C082741B29DEF8733873541080534916C0827418A0D4F2F2D873541487FD97D5C08274163FE43FA2687354188A0F8314C0827415A39B4E820873541482041B13B0827411F5A64FB1A8735411011C7FA2A082741728A8E04F0863541A02A1895AF072741C7FEB27BEA86354138B4C8F69F072741EC0434D1E4863541A05E298B90072741F853E305DF8635414872F94F81072741403EE819D986354160CB7F4872072741AEFA5C0DD3863541787CD07363072741346EA3E1CC86354190E1E9D55407274120FDF695C686354170B1BF6C46072741767AA52CC086354148EC2F3B380727415AC1A8A4B9863541D05B20412A07274144B6F3FDB2863541C06D34801C07274155F5B93AAC8635411023DBF90E0727412675025AA5863541408D97AE010727417D51495D9E863541E03FA49FF4062741E3A59B4497863541A8BAB8CDE706274101000000020000000001000000FFFFFFFF0000000003, CAST(625934 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (627680, N'{757BCAA5-BB0D-4F02-8C3E-BCFE34911D67}', N'001590928', 141191, N'VIP1291', NULL, N'1590928', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block 3', N'', N'THAT PART OF LOT 3, BLOCK 3, SECTION 9, ESQUIMALT DISTRICT, PLAN 1291 INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0154', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:51:00.000' AS DateTime), CAST(N'2019-01-05T10:54:03.000' AS DateTime), 291, 72, 0xBD0B000001040A00000042BD5216C42A324100CFF7D36C991741D50D0BDFC12A324170C43B9A66991741617A86A2BF2A3241A002C17E60991741CDD3DE60BD2A3241D008CE815A99174141262E1ABB2A3241E0F6A7A3549917411CB88ECEB82A3241508892E44E9917419A081B7EB62A3241C013D044499917418A416085B22A3241104772798C991741B2E1E955BF2A3241F0C7983BBD99174142BD5216C42A324100CFF7D36C99174101000000020000000001000000FFFFFFFF0000000003, CAST(627680 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (628130, N'{25B70FB6-1151-46B3-A441-1E3466CAEA8D}', N'016317165', 489011, N'NEP66X', 9733871, N'16317165', NULL, N'004625.100', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Parcel A', N'Lot 32', NULL, N'PARCEL A (SEE 153751I) OF SUBLOT 32 TOWNSHIP 7A KOOTENAY DISTRICT PLAN X66', N'0146', N'0019', N'NO', N'ICF', 0, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-02-09T11:39:23.000' AS DateTime), 12577, 608, 0xBD0B000001040D000000C4073DBB6C953841809318843CCD1D4110E258F76895384170DAAC7AB5CD1D41F8EDEB206595384160DCD78137CE1D4107B5A6390E963841D0B584FCE4CB1D41B17BF2B01796384130F2414FB9CA1D4142F1636CF495384150006F0123CB1D41A4A44EA0DD95384100C442AD77CB1D41EBA7C6CBBF95384180EC2F3BDFCB1D41E49C1105A8953841C0C1172620CC1D41BA96902F8C953841307DAE3662CC1D411EFDF6D57095384190CB7F48B3CC1D416007CE596E95384120AE476106CD1D41C4073DBB6C953841809318843CCD1D4101000000020000000001000000FFFFFFFF0000000003, CAST(628130 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (628233, N'{3CD6A55B-33D6-48EE-91E5-9F9D2DEC6491}', N'015937640', 252487, N'PGP727', NULL, N'15937640', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', NULL, N'Lot 12', N'Block 31', N'', N'THAT PART OF LOT 12 BLOCK 31 DISTRICT LOT 933 CARIBOO DISTRICT PLAN 727 AS SHOWN IN RED ON PLAN 26804', N'0112', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:41:06.000' AS DateTime), 347, 89, 0xBD0B0000010405000000DA12F2C1D6823241684BC887FB492E41A1CDAA4FF8823241A06588A3FE492E41B6AF03C7F8823241687FD97DEA492E41FC3A708ED5823241A859F539E7492E41DA12F2C1D6823241684BC887FB492E4101000000020000000001000000FFFFFFFF0000000003, CAST(628233 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (628241, N'{AA6D6459-C42C-4464-B73E-99883DDBF2EA}', N'013675966', 1092653, N'NWP594', NULL, N'13675966', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 5', N'Block 55', NULL, N'LOT 5 EXCEPT PART ON SRW PLAN 43417 BLOCK 55 DISTRICT LOT 411 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 594', N'0081', N'0009', N'NO', N'MODIFIED-ICIS', 1, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2021-03-09T11:44:07.000' AS DateTime), 63, 32, 0xBD0B000001040500000063A1D674E06133414058393489571C4175E09CB1D9613341E0C039237B571C41EF63CC7DD4613341C0D32B6591571C412C3333D3D9613341C0C2F528A5571C4163A1D674E06133414058393489571C4101000000020000000001000000FFFFFFFF0000000003, CAST(628241 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (628745, N'{C51DE91C-AA05-42A4-BD8C-53E07EC0057C}', N'015503348', 463746, N'NEP1112', NULL, N'15503348', NULL, N'7865964000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PARCEL A', N'LOT 2', N'', N'PARCEL A (REFERENCE PLAN 112025I) LOT 2 DISTRICT LOT 9388 KOOTENAY DISTRICT PLAN 1112', N'0163', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-25T10:31:16.000' AS DateTime), 6247, 460, 0xBD0B00000104050000007E51495D9D373A4160840DCF0B6E1E411CFBCB0E95373A41B0D1005EB16D1E416007CE79CD363A41A0B0E169436D1E41A1CDAAEFE6363A41006822ECF96D1E417E51495D9D373A4160840DCF0B6E1E4101000000020000000001000000FFFFFFFF0000000003, CAST(628745 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (629674, N'{045DF4F2-43FA-4B12-92E9-3CE5E9BE85D2}', N'010124438', 870332, N'KAP6741', 90091390, N'10124438', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 235 KAMLOOPS DIVISION YALE DISTRICT PLAN 6741 EXCEPT PLAN H10733', N'0055', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:31:38.000' AS DateTime), 278, 86, 0xBD0B000001040D000000CE915CDEA06635414894F64680AE234190976EB2A5663541083D9B5585AE23417936AB9EA8663541C0CAA1057EAE234188D2DE60A766354170029A4876AE2341EAB7AFA39D66354198C342AD39AE23412B0681D59966354138BF7D5D70AE2341C20E9C5399663541989BC46078AE23412A401F989A66354188D04CA779AE2341498990DB9B663541581A0DF27AAE23415F67EC1D9D66354138E101417CAE2341BB5A2F5F9E663541688327947DAE2341BBE6559F9F66354198527AEB7EAE2341CE915CDEA06635414894F64680AE234101000000020000000001000000FFFFFFFF0000000003, CAST(629674 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (631190, N'{A02CC2B8-4B07-480A-9449-6337D08E4E0F}', N'014533359', 464624, N'NEP5053', 9825151, N'14533359', NULL, N'7042352005', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 287 KOOTENAY DISTRICT PLAN 5053', N'0163', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:18:03.000' AS DateTime), 107624, 1377, 0xBD0B0000010418000000C03099CA06463A41B03E57DB651D23411AE258F7FF453A4130B5A639821D2341C0CAA1E5F8453A413863EE5A9E1D23411CFDF695F1453A412848503CBA1D23418CB96B09EA453A4190635DDCD51D234193E4F23FE2453A4150598638F11D234154F5B93ADA453A41C8A8A44E0C1E2341267502FAD1453A41102DB21D271E234144AD697EC9453A41089C33A2411E234176029AC8C0453A41C83E57DB5B1E2341484772D9B7453A4158A60AC6751E23416891EDFC9F453A4170A301BCB91E2341CE4B37E991463A41D82406C10D2023416881040544473A41206D563DA41C2341022B87F638463A4128E8D92C5D1C2341AC8BDB6834463A41683BDF4F7B1C2341DC34EF982F463A41F85DBA49991C23419CE61D872A463A4110D04418B71C2341C20E9C3325463A4180226CB8D41C2341409B559F1F463A4120B07228F21C2341501E16CA19463A41200BB5660F1D2341A333A2B413463A4108E9B76F2C1D2341419B555F0D463A41B0490C42491D2341C03099CA06463A41B03E57DB651D234101000000020000000001000000FFFFFFFF0000000003, CAST(631190 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (631477, N'{0EAEFB3C-6E50-48EE-A2D3-3D248E24FECF}', N'015102882', 3, N'NO_PLAN', NULL, N'15102882', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'SE4', N'1400', N'5', N'PARCEL A (SEE 36877I) OF THE SOUTHEAST 1/4 OF DISTRICT LOT 1400 RANGE 5 COAST DISTRICT', N'0163', N'0011', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-01-09T12:26:46.000' AS DateTime), 62527, 1140, 0xBD0B000001043E000000C1B359F5231629413CFF215D33843041D429684024162941885FBDD1348430416657EBBE24162941D4CBD94236843041748D477025162941AC0BB1AE37843041628AA2532616294118628313398430417686E4672716294114B6996F3A8430417C8CB9AB28162941FCAD47C13B84304117330E5D2A162941C81BE8993D843041037FDB172C162941D46355703F8430412C0116DC2D16294198608344418430414F0CB2A92F1629416CFB65164384304120B5A38031162941B02CF1E54484304184D2DE603316294150FC18B3468430417604D317341629419016F1D54784304197EA2CCC34162941B02731F9488430419998EB7D351629413CB2D71C4A84304199250E2D36162941E837E3404B84304120AC93D936162941283A52654C843041244A7B8337162941CC39238A4D843041FE9D9880371629414C0D87904E8430419A25DF723716294114EBD4964F843041E460505A37162941D02BF09C508430417CFEEE3637162941302EBCA251843041CDDBBE0837162941F8581CA8528430418004C5CF36162941301FF4AC5384304186A52CC33B162941B0D6346F92843041AA4082A252172941EC2D90008D84304172226C7837172941D48173C6F9823041AD847C101E162941206A4D1304833041A64E40D3291629418073469454833041C498BBD6C5152941C000DE8256833041260F0B35C91529412897FF106B833041138C4A2ADA15294108560E6D7B833041C44B3789DF1529415C984C7586833041BFB359F5E7152941D0BCE3749B833041E1A59B84E9152941802D215FAE833041702BF697F315294174C1A8A4BC833041E36A2BF6F415294184613255CD8330417438D645F8152941401CEBA2DA833041D5F97E2AFE1529411CE25857EC833041061214FF0A16294168F90FA90784304192FF90FE191629412C08AC3C14843041D6B359B51C1629415CA4DF1E1D843041666666A61E162941B069DEB11E8430415E5861781F162941A4501FFD1F843041CC00632820162941C4AF494D2184304106B3F6B52016294108AF7EA122843041E894BE20211629412CC8DCF82384304182DD736821162941C45C805225843041B103E78C21162941084D84AD268430410D3A174D21162941801B53E7278430419EC743222116294100CB0522298430415EE4780C21162941E490425D2A84304132C8BC0B21162941447AAF982B843041BAA80F20211629416487F2D32C84304198B96B492116294150C4B10E2E843041C58D36CA2116294150252BEF2E843041CA641C452216294158A177D02F84304161D717BA2216294148508DB230843041C9C0232923162941D841629531843041333F3B9223162941607CEC7832843041C1B359F5231629413CFF215D3384304101000000020000000001000000FFFFFFFF0000000003, CAST(631477 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (631616, N'{77D5A0C4-0B93-4F1B-AF41-771DBD18E270}', N'014054141', 469474, N'NEP6641', 90054824, N'14054141', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'', N'', N'LOT 4 DISTRICT LOT 12956 KOOTENAY DISTRICT PLAN 6641', N'0163', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:30:53.000' AS DateTime), 1423, 162, 0xBD0B0000010405000000C4EEC9E351713A41F0D9ACFAA7C721411A9E5E896E713A41786ABC74B0C721410A34115674713A4190218E3562C72141F4EDEB805A713A4190CA32C433C72141C4EEC9E351713A41F0D9ACFAA7C7214101000000020000000001000000FFFFFFFF0000000003, CAST(631616 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (632405, N'{78FCEFE6-6B4D-416A-91E6-D2806492DB92}', N'017163854', 490089, N'NEP1040', NULL, N'17163854', NULL, N'7076069050', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM PARCEL 1', N'REM Lot D', N'', N'PARCEL 1 (EXPLANATORY PLAN 39168I) OF LOT D DISTRICT LOT 1313 KOOTENAY DISTRICT PLAN 1040 EXCEPT PLANS NEP64349 AND NEP64779', N'0163', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:11.000' AS DateTime), 1742, 191, 0xBD0B0000010405000000BE5B20C1471E3941B886A79786D82041120BB526031E3941D0E53FA45ED8204184C0CA61FF1D394198BB96D09DD8204199559FAB451E3941F8CEF793A9D82041BE5B20C1471E3941B886A79786D8204101000000020000000001000000FFFFFFFF0000000003, CAST(632405 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (632923, N'{F64697F7-8195-4C9A-BF9D-2D4337835318}', N'012429635', 629004, N'PGP12116', NULL, N'12429635', NULL, N'005487.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 23', N'Block 22', N'', N'LOT 23 BLOCK 22 SECTION 32 TOWNSHIP 83 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT PLAN 12116', N'0038', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:29:41.000' AS DateTime), 684, 121, 0xBD0B000001040500000049B6F37DEA2A3441B07D1DF8B53C3341867CD093EB2A344140378901A73C33413EBD5216BE2A3441CC4D62B0A33C334101F77500BD2A3441F00AB5A6B23C334149B6F37DEA2A3441B07D1DF8B53C334101000000020000000001000000FFFFFFFF0000000003, CAST(632923 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (633799, N'{8630275D-BEF2-4AEC-BEE1-3237733877DB}', N'005090130', 246698, N'PRP1076', 35720601, N'5090130', NULL, N'03512.520', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 30', N'Block 2', N'', N'LOT 30 BLOCK 2 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 290, 91, 0xBD0B00000104050000007D16D9CEC42D2C41CC172653FEA030415A4469EF012E2C41CC0E9C1315A13041C49F1AEF0A2E2C410861C3F30EA130412EBB27CFCD2D2C41A445B633F8A030417D16D9CEC42D2C41CC172653FEA0304101000000020000000001000000FFFFFFFF0000000003, CAST(633799 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (635132, N'{33BBDEAA-C806-42A7-BDD5-367E588041B6}', N'009878599', 3, N'NO_PLAN', NULL, N'9878599', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', NULL, N'PART 2101', N'', N'', N'DISTRICT LOT 2101, RUPERT DISTRICT, EXCEPT THAT PART IN PLAN VIP66240', N'0163', N'0027', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-27T18:14:25.000' AS DateTime), 16576, 719, 0xBD0B000001040E00000044F1630CD6AB2C41B8CAA1C517F020411DA089B0FEAB2C41E81C5A644DF0204162A8350DD1AB2C4100BE309972F02041B00C71EC93AB2C41E01DA72818F02041ACADD8DF83AB2C41B84A598618F02041E64F8D97B6AB2C41083A928B56F020419F23B97CFCAB2C4180613255B5F02041543789C138AC2C4140ED0DBE20F120412ABB27CF52AC2C41F00209CA62F120416F1B0DA065AC2C4140DF4F8DABF12041CA00DE02BDAC2C4160378901ABF120418016D9CEBBAC2C411032E6EE4AF12041FCD478E9B7AC2C41D820B0B214F0204144F1630CD6AB2C41B8CAA1C517F0204101000000020000000001000000FFFFFFFF0000000003, CAST(635132 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (635613, N'{580E2B86-AFEB-4FEC-94EE-0546E112B9FD}', N'013305646', 3, N'NO_PLAN', NULL, N'13305646', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'1290A', N'', N'', N'DISTRICT LOT 1290A LILLOOET DISTRICT EXCEPT PLAN KAP70045', N'0163', N'0025', N'NO', N'MODIFIED-ICIS', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2018-12-14T18:16:56.000' AS DateTime), 63503, 2191, 0xBD0B00000104600000003A5EBA895F833241A88F31B778BB22410029CAA473833241F8AB31BC68BB2241C25018E98683324138A1E00C55BB22415061142B9983324180DAC0D53DBB22415AFD7541AA833241F85C504B23BB2241D6369A05BA833241481792A905BB224140EBDA53C883324190308633E5BA2241E45EDF0BD583324198899232C2BA22414160E510E083324148C6DCF59CBA2241FE87F4DB14843241C0FEB2BBD5B922412675029A1784324118BE3099CBB922412CBB276F1A84324110A9A48EC1B92241AF59F5591D843241D89AE69DB7B922413C234A5B2084324190DD93C7ADB922413A45477223843241B0CCCC0CA4B92241B0BFEC9E26843241C0C3426D9AB92241D61B7CA12A84324128DD24C68EB92241F5C264CA41843241707EFBFA4CB92241D03B4E714884324170FE43BA39B92241913A01ED4E843241A8C8763E26B922419F5E298B57843241381DC9250BB92241FF1873D75E84324140CF6695F3B82241F19E3CAC73833241A8FA5C6DD7B822413A5EBA895F833241A88F31B778BB2241C898BB967783324128A2B47742BC2241304CA6EA7E833241204772F92DBC2241BAAF034789833241B0DA8A7D0BBC224195E61DA791833241B8CB7F88F1BB224136014DA49A833241A0BDC1D7D2BB224118D9CE97A383324188AA60D4BDBB224140BD5276AD83324178029A08AFBB2241433789C1B88332413832E6AE9FBB2241BC8D0630C7833241B037F8428DBB22416CE7FB69CF83324198855AD383BB22413EA4DF1ED9833241E8FBA93174BB224197E61D67E68332417032557053BB2241CAFEB25BF783324140BF7D5D09BB2241AE2E6EE30384324158598678D1BA22410C9C334208843241905AD37CC0BA2241C86D34E00F843241F0187397A5BA22415227A0E914843241E850DA1B93BA2241F65C6DE519843241708A8E647DBA224192A982911C843241D034EFF872BA22419E33A2D420843241C866D5A75FBA2241787AA5EC228432418038D60555BA224170F085E92284324158DA1BBC45BA22411E1FF4CC1F843241285C8F8237BA2241848EE4D21C843241385530EA29BA22418A0D4F6F1C84324150B6F33D1DBA2241F25A42BE1F8432412083C04A09BA22415CEE5AC22284324168E7FBE9FAB9224146EA047427843241183CBD52F0B9224176F2B0502C84324128F8C2E4E6B92241302AA9733484324198218E75DFB922417E1D38073C84324168AD691ED7B92241A2ABAD58438432413872F9CFCDB92241FA0FE9774984324140B81E85C4B922411FD26F7F4F843241282CD45AB9B92241996588C3548432410083C04AACB922416F3D0A375A843241203108EC9DB922413D355EBA6584324138E17A5485B922410AF016A86C84324158A1D63475B922419D89B081728432416082E2075EB92241C242ADC97D843241502EFFE138B9224159B1BF6C87843241B059F5F921B92241701283609284324188A52CC31AB922418B38D605A1843241E0DBD781FBB8224125C2868775843241D0CCCC4CF6B822418AB0E1896884324188FF903E20B92241395EBAA95F843241706666263CB922411A3FC6FC58843241880F7A3650B92241245305235284324180A7570A64B9224199900FFA3A843241908638D6A5B92241063D9B3537843241A09465C8B0B9224160FE433A34843241F83BBDD2B9B92241AB4E40533184324130C6DCF5C2B9224188D2DE802E843241F0573934CCB922415DE5D0C22B84324158158C8AD5B92241E4E2361A29843241F0FDD4F8DEB922410F143F862684324120DBF97EE8B92241917571BBF1833241C86B09B9AFBA22413C83B6C4E583324108B5D127D8BA22415E7822F6D783324120068B2AFEBA2241A4B5DC6EC88332418016716B21BB22412FFCEE51B7833241C83BF89A41BB22414E5EF6C5A483324118E580705EBB22410E1FCCF490833241E078FBAA77BB2241D844270B7C833241E8227B118DBB2241A3B43738668332419845B6739EBB2241B1BFEC3E5E83324180E926F1A3BB2241F9EDEBA05B833241D0C3426DFBBB224111E02DF057833241500E2D3288BC2241FDD478E95F83324188FB3A3079BC224173C5FE326583324120FAED6B6EBC224111F241AF6F83324160A1D67456BC2241C898BB967783324128A2B47742BC2241020000000200000000021800000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(635613 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (635717, N'{6C7CC694-5574-4870-A267-11DD39EEB7CD}', N'000759511', 3191773, N'VIP552G', NULL, N'759511', NULL, N'05769.005', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Section 17', N'', N'', N'THE NORTH EAST 1/4 OF THE NORTH WEST 1/4 OF SECTION 17, TOWNSHIP 9, COMOX DISTRICT, PLAN 552-G, EXCEPT THAT PART OUTLINED IN RED ON PLAN 1320 RW', N'0163', N'0017', N'NO', N'ICF', 5, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-12-17T18:22:22.000' AS DateTime), 155338, 2703, 0xBD0B000001042A000000DAA370FDB93D3041B0711B8D24C31F4156C3AA94BA3D3041108416BB23C31F410EFCCB26BB3D304120B1A1B522C31F419FFBBCB2BB3D3041C0BCB07E21C31F4100447237BC3D304180FF951820C31F41832AEEB3BC3D3041C0FBFD851EC31F41E8BC4227BD3D3041503BEAC91CC31F410D889390BD3D30415095ABE71AC31F41723D17EFBD3D304110D4DBE218C31F41EB331942BE3D304160D556BF16C31F41EFC0FA88BE3D30417029338114C31F41036834C3BE3D30415041BA2C12C31F4189DD56F0BE3D3041A04060C60FC31F4197DB0B10BF3D3041F075BB520DC31F41E6C61622BF3D3041F0987BD60AC31F4183225526BF3D304100D4605608C31F41F6D1BE1CBF3D3041F0B032D705C31F4183286605BF3D304120F4B65D03C31F415FC677E0BE3D3041707EA8EE00C31F4136433AAEBE3D3041A042AE8EFEC21F4159A70D6FBE3D304110615242FCC21F4115B46A23BE3D3041F07AF90DFAC21F41F7FCE1CBBD3D3041B049DAF5F7C21F4163D31A69BD3D30416093F5FDF5C21F41D506D2FBBC3D3041F0850E2AF4C21F41D97BD884BC3D30411081A37DF2C21F41E49C1105BC3D3041A06CE7FBF0C21F41417958A86E3D304160E5D0A21EC21F417A9CA2236D3D304140B6F3FD7FC31F41DAA370FDB93D3041B0711B8D24C31F41F76C56DD6C3D30410042CFE6BFC31F414D8D97EE693D3041F0AF03676AC61F418B6CE75BE53E304170FF90FE7BC61F41976E12C30D3E304150A08930CFC31F416E1B0DE0D83D3041A06588633FC31F41F76C56DD6C3D30410042CFE6BFC31F416C226CF86E3D304160A757CAD5C11F413A6744C9163E304160984C159EC31F41B6FC8734FE3E304160E6AE257DC61F4135D6C52D053F3041D0156A4D24C01F412B3A92EB703D304140B6F3FD0FC01F416C226CF86E3D304160A757CAD5C11F41030000000200000000021E000000022400000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(635717 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (636290, N'{4344BA95-6C43-4F1B-BACB-F5BF41F6389E}', N'013977903', 295389, N'PRP968', 23708601, N'13977903', NULL, N'01263.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 5', N'Block 114', N'Section 2', N'LOT 5 BLOCK 114 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:32.000' AS DateTime), 172, 54, 0xBD0B000001040500000052AF94E512772B41100DE0CD91643141F616485012772B41D800DEA2806431418B5CFE43FE762B41F49E3CCC80643141ECF44AD9FE762B41C886A7F79164314152AF94E512772B41100DE0CD9164314101000000020000000001000000FFFFFFFF0000000003, CAST(636290 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (636916, N'{1977AC74-A2ED-4DAA-96C1-50E4622B3EFC}', N'005683203', 7547, N'VIP7779', NULL, N'5683203', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1, DISTRICT LOT 53, NANOOSE DISTRICT, PLAN 7779, EXCEPT PART IN PLAN 40250 AND VIP75003', N'0068', N'0021', NULL, N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2019-01-05T08:35:29.000' AS DateTime), 3710, 250, 0xBD0B000001040600000024ED0D9E7A5E3141D03FA4DFB5D51C41EC7C3F55745E3141905BB1BF89D41C4160DC46E3585E3141C0E00B138ED41C41BB408222395E3141303FC6DC70D51C41417958E8385E3141D0460378B3D51C4124ED0D9E7A5E3141D03FA4DFB5D51C4101000000020000000001000000FFFFFFFF0000000003, CAST(636916 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (637920, N'{0FC49199-123D-4077-A335-D9BCFBFB1D5B}', N'008450919', 1166307, N'NWP616', NULL, N'8450919', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-15T00:00:00.000' AS DateTime), N'Block 4', N'', N'', N'BLOCK 4 EXCEPT: FIRSTLY: PART ON PLAN 5719 SECONDLY: PART SUBDIVIDED BY PLAN 7868 THIRDLY: PARCEL B (STATUTORY RIGHT OF WAY PLAN LMP838) FOURTHLY: PART ON STATUTORY RIGHT OF WAY PLAN LMP1084, SECTION 17 BLOCK 5 NORTH RANGE 2 WEST NEW WESTMINSTER DISTRICT PLAN 616', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T09:11:14.000' AS DateTime), 471, 114, 0xBD0B0000010405000000C217261369BB3241001058B9B2B51C41F42FBB0797BB3241F01114BFBAB51C416A91ED3C99BB3241B0AF03E792B51C4110BE307969BB3241F0DF2D908AB51C41C217261369BB3241001058B9B2B51C4101000000020000000001000000FFFFFFFF0000000003, CAST(637920 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (638530, N'{98AFE27E-BA2F-4CA6-A98A-F2BDA9E42C0B}', N'023730307', 1169208, N'LMP27324', NULL, N'23730307', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2007-04-16T00:00:00.000' AS DateTime), N'REM Parcel A', N'', N'', N'PARCEL A (REFERENCE PLAN LMP32672) EXCEPT PART DEDICATED ROAD ON PLAN BCP29299, SECTION 33 TOWNSHIP 8 DEDICATED ROAD ON NEW WESTMINSTER DISTRICT PLAN LMP27324', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T09:48:02.000' AS DateTime), 2665, 343, 0xBD0B000001040B000000297E8CD9FDF0324140BF7D1DE6851C41251895D410F1324110FCA97106861C4136234A1B23F13241505452A72C861C4103BC059234F13241D096FF9058861C412AE4831EF9F032410081954338851C4123FDF655CBF0324110A913D047851C4108560E4DA8F0324190AB3ED769851C41669A773CD7F0324170F2B0D072851C4184C0CA41D6F03241104B5906B8851C41D45D4B48EAF0324100D6C5EDCB851C41297E8CD9FDF0324140BF7D1DE6851C4101000000020000000001000000FFFFFFFF0000000003, CAST(638530 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (638741, N'{31861D33-D6B2-49E7-83A4-43B67291F55C}', N'014365952', 1178796, N'NWP13268', NULL, N'14365952', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', CAST(N'2002-06-25T00:00:00.000' AS DateTime), N'REM Lot 1', N'', N'', N'LOT 1 EXCEPT: PART ON STATUTORY RIGHT OF WAY PLAN 23059 SECTION 11 TOWNSHIP 11 NEW WESTMINSTER DISTRICT PLAN 13268', N'0067', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T10:01:49.000' AS DateTime), 4846, 349, 0xBD0B0000010404000000B025E4A3111F3341A0F2B0D0C0321C4196559F0B8E1F33413007CE99D7321C41FEFFFF3F911F3341304CA68AA0311C41B025E4A3111F3341A0F2B0D0C0321C4101000000020000000001000000FFFFFFFF0000000003, CAST(638741 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (639071, N'{8E177362-0AD4-4DC3-A0EA-40A3F2FD77ED}', N'014341239', 1297652, N'NWP14105', NULL, N'14341239', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'REM Lot 59', N'Block B', N'', N'LOT 59 EXCEPT: FIRSTLY; PART ON STATUTORY RIGHT OF WAY PLAN 22045 SECONDLY; PART SUBDIVIDED BY PLAN LMP34188 THIRDLY; PART SUBDIVIDED BY PLAN LMP35284 BLOCK B SECTION 26 BLOCK 5 NORTH RANGE 6 WEST NEW WESTMINSTER DISTRICT PLAN 14105', N'0120', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T10:19:22.000' AS DateTime), 13417, 648, 0xBD0B00000104160000006CD7127286793241704DF38EE3911C410724283E7A793241E075E09CE1911C41C01726133179324180DA1BFCD5911C41DAF0F40A2A793241F03FA4DFD4911C41E30B936928793241505452A797921C41614BC8C7EA793241E0B88D86B6921C41191DC985F379324190B1BFECB7921C41B025E4C3FE793241F0EA73B5B9921C4111143F863B7A3241601AC05BC3921C411CDBF95E3D7A32418051499D00921C412B7E8CF9247A3241301361C3FC911C4138B4C8960C7A3241C03FA4DFF8911C41B737F862007A324120711B0DF7911C4130BB272FF479324140A3923AF5911C416DA301FCE7793241C012F241F3911C4191C2F5C8DB79324130151D49F1911C41B66B0999CF793241F0809543EF911C4156302A69C3793241C0EC0D3EED911C412DA2B437B779324130F46C56EB911C410E143F06AB793241708A8E64E9911C411D4A7BA392793241F0240681E5911C416CD7127286793241704DF38EE3911C4101000000020000000001000000FFFFFFFF0000000003, CAST(639071 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (639581, N'{84FE4FF7-9561-4F38-BD90-EE4EA093C404}', N'013829726', 1310944, N'NWP1304', NULL, N'13829726', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-02T00:00:00.000' AS DateTime), N'REM Lot 6', N'Block 70', N'', N'LOT 6 EXCEPT PART ON SRW PLAN 25898, BLOCK 70 DISTRICT LOT 1 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 1304', N'0025', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:20:32.000' AS DateTime), 339, 84, 0xBD0B00000104050000005B643B1FA9B832418047E1FAB6F01C41D6CEF7D3A9B83241400AD7A366F01C41E761A1F6A3B83241901D38E765F01C4134DF4F4D8DB83241B024977FB3F01C415B643B1FA9B832418047E1FAB6F01C4101000000020000000001000000FFFFFFFF0000000003, CAST(639581 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (640867, N'{27CE38B3-1183-40AD-809E-770449CD0602}', N'013748190', 1479979, N'NWP2390', NULL, N'13748190', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', CAST(N'2011-07-07T00:00:00.000' AS DateTime), N'REM Lot 12', N'Block F', N'', N'LOT 12, EXCEPT: PART ON SRW PLAN 26009 BLOCK "F" DISTRICT LOT 88 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 2390', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:39:37.000' AS DateTime), 295, 93, 0xBD0B0000010407000000381136BCB2AC3241906B9AF74FEA1C41E5AE25E4B2AC324160C1A82450EA1C4142AD69BEBEAC3241F0FFFF7F5DEA1C412C5530AAD3AC3241B0EC9EBC76EA1C413F9B55DFD8AC32411020D26F7DEA1C41218E7591BDAC32414029CB101EEA1C41381136BCB2AC3241906B9AF74FEA1C4101000000020000000001000000FFFFFFFF0000000003, CAST(640867 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (641730, N'{23F58B39-1F31-48C0-A266-5CF4932F61A6}', N'013158716', 3, N'NO_PLAN', NULL, N'13158716', NULL, N'72403665000', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'3314', N'', N'', N'DISTRICT LOT 3314 KAMLOOPS DIVISION YALE DISTRICT EXCEPT: (1) PARCEL A (PLAN B6037) (2) PLAN 24098', N'0163', N'0028', N'NO', N'ICF', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:16.000' AS DateTime), 464564, 4081, 0xBD0B00000104470000003EC6DC75147A3541B038D645BC72254108CE1911157B3541C0BB9650E67225414C0C024B547B3541189E5EA9F0722541275305635B7B3541F0E00BD33A7225418A7CD013717B3541F8DD02C93D72254146BF7DFD7C7B3541589A77DC7972254110143FC67F7B354180D1915C437225418BC954618D7B354128A9139043722541304CA64A8D7B354190A60A8625722541438B6C078D7B354120FDF6B510722541361AC0FB8A7B3541805F07CED1712541078A1F23897B3541C045B633BB712541E773B5B5817B354190ABADD879712541A445B6537F7B354120E483DE60712541120BB586797B35417011A53D2F7125414C621018767B354180B0E1E9F5702541A13C2C34787B3541E002094A97702541075F98CC7B7B354120A2B4B73C7025419106F0367D7B354130D6C56D27702541EDEBC019827B3541D0CCCC8CDE6F254169006FA1877B3541605BB17F806F25415CEE5AA28E7B354120BC05D23E6F2541A489B0E1947B3541781F63EEF66E2541920F7A16937B354160AA6014BB6E2541041B9EBE967B354110ABCF157A6E25412E431C0B9C7B3541A011A57D426E2541F8CBEE29A07B354148EA04F4256E2541CD54C168A37B3541F83BBD52106E2541E8FBA951AC7B354150D191DCEC6D2541806ABC94AC7B3541303B708EC26D25415EA1D674B67B354190BAB84D976D2541F085C974BD7B3541B0B12EEE6D6D2541D0BCE374C17B3541D07A142E4E6D25417E6ABC54C67B3541F8718A8E266D25414CD8F034CB7B3541A8BAB8CDFE6C2541846ABCF4D17B3541801F636EDB6C2541D0BCE3D4D87B3541881F63EEB56C254160A1D694DC7B3541C0B12E2E906C2541B8F3FDB4DF7B3541A0E8486E766C2541F285C9D4E87B35413004560E516C2541240F0BD5F17B3541805F07CE2B6C2541280F0B75F87B35414896214E0C6C254146D8F054007C3541100DE0EDE86B2541250F0B95077C354100728A8EC96B25415CA1D674107C3541B01F632EA86B2541942A18751C7C3541E8B12E2E876B2541F65C6D652C7C354110068195576B2541BEF528BC3A7C3541105A647B316B25412285EBF1447C354188976E52186B2541243A92AB4F7C354130A5BDC1EC6A25413E2CD4BA567C354150DF4F4DC56A2541903A012D5E7C354128FDF675A06A254181AEB662697C354118EBE236856A254103917EBB787C3541E0CD19916E6A2541DA56EC4F887C3541509D8026536A2541F5CBEE29AB7C354110CCEE092B6A2541B8490C22E67C3541D0F75323EB692541DAA3709D0A7D3541484547F2C1692541E9E2367A757C354170ABADD89F692541E8F21F32707A354150DA1BBC53692541B247E1BA347A3541D09AE69D9E6F2541D066D5A72B7A354170CE8812727025413EC6DC75147A3541B038D645BC722541457B836F0F7B354188A7578A3371254120DBF9DE0A7B3541E895B28C2A70254184DB68C0467B3541E09AE6DD35702541846132B5597B354180A0F8312B7025418F28EDCD5E7B3541C039238A6F712541A44E40334A7B3541B86CE7FB6A71254148E17AF42E7B3541B003E78C66712541457B836F0F7B354188A7578A33712541020000000200000000003F00000001000000FFFFFFFF0000000003, CAST(641730 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (644952, N'{31CF9FC5-5E08-4149-9B62-CC8903B90996}', N'016119983', 485973, N'NEP749', NULL, N'16119983', NULL, N'707203100', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Parcel A', N'REM Lot 14', N'', N'PARCEL 1 (REFERENCE PLAN 38241I) OF PARCEL "A" (SEE DD15732I) OF BLOCK 14 DISTRICT LOT 98 KOOTENAY DISTRICT PLAN 749, EXCEPT; 1) THE WEST 110 FEET, 2) PARCEL 2 PLAN 106158I AND 3) PLANS NEP7198 AND NEP8088 ', N'0163', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-11-28T10:28:46.000' AS DateTime), 4326, 303, 0xBD0B00000104150000008E31772D74D7384158764F5E6C542041C4F528FC72D73841200681D5805420411A1FF46C71D73841D0BDC1979B542041A22C43FC99D73841380F0BF5A4542041784F1E56CAD73841888785DA92542041A635CD5BDDD7384148499DC098542041F93A708EE2D7384110C58F712D542041FA50FE36DDD73841280B06352D54204101A920E1D7D7384198FDB1C52D542041A6648794D2D73841B025C3222F542041F64AD558CDD738412087424A31542041D2C79435C8D73841B075153934542041570E2D32C3D73841480C02EB3754204156B81E05B1D73841F8EE3805475420411B1DC9E593D7384110166A4D5F5420419E023FD48ED738417076A8356354204136D095A489D73841A888D070665420410E6F915C84D7384150C74AFB68542041A2DB10027FD73841701644D26A5420411E9F079B79D7384190E5B0F36B5420418E31772D74D7384158764F5E6C54204101000000020000000001000000FFFFFFFF0000000003, CAST(644952 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (646978, N'{06237136-61E7-4D27-90E9-35D8D07991F3}', N'008425906', 3191000, N'VIP775', NULL, N'8425906', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Block 26', N'', N'', N'THAT PART OF BLOCK 26, COWICHAN LAKE DISTRICT, PLAN 775, BEING THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY, AS SHOWN IN RED ON PLAN MARKED "H" ANNEXED TO DD 25837I', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T19:15:31.000' AS DateTime), CAST(N'2021-05-28T08:54:04.000' AS DateTime), 68884, 4932, 0xBD0B0000010464000000D6ACFA5CB67E3141B0B437F890D0194107F01648AB7E3141C0DE4F8D99D01941E63FA4FFA37E3141004B59869FD0194155D3BC43997E314150D5E7EAABD019418CC954218E7E314150871659B9D0194138AB3E37837E3141000C9329C7D0194170128360787E3141D00B93A9D5D01941B56B09996D7E3141E0D24DE2E4D019419C89B0E1627E31415060E5D0F4D01941CA073D3B587E3141606A4D7305D11941449D80A64D7E3141E08173C616D11941C8E53F24437E314100F016C828D119410C3D9BB5387E31410022FD763BD1194134234A5B2E7E31413085EBD14ED1194122F46C16247E314100D044D862D11941634BC8E7197E3141804B378977D11941EC1648D00F7E314150D3BCE38CD1194178F2B0D0057E314130F931E6A2D1194174E7FBE9FB7D31418004C58FB9D1194140575BF1C37D3141F012F2C19BD2194105CE1991477D314190FA5C6D75D31941A4BDC177437D314150A2B4B77FD319416229CBD0877C314180CDAACF56D519411071ACAB337B3141C0FF21FD8AD8194158C1A8A4337B31419028ED0D8BD81941E3718A2E317B3141D0779CA218D91941DA096822C07C31413082734656D51941CCBAB8AD0C7E3141B0A8A44E1FD2194141CF6675157E314110AF94650AD21941F897DD531E7E314170E09C11F6D1194101E78C48277E314140F38E53E2D1194103B37B52307E3141009F3C2CCFD1194178E92671397E31415008AC9CBCD119417C9CA2A3427E31410054E3A5AAD11941A98251E94B7E3141D05D4B4899D11941F5E46141557E3141D06E818488D11941A45E29AB5E7E314160AC8B5B78D11941EA839E2D687E3141905AD3BC68D11941F37C3FD5717E3141C02A189559D11941E795B2AC7B7E314150F163CC4AD119418E7EFBBA857E314140F38E533CD11941A90A4605907E3141605227202ED11941D95F768F9A7E3141909ECD2A20D11941B4490CA2A37E3141C05452A714D1194115B7D140AF7E31413005A31209D11941D3CCCCACB57E314140DF4F8D03D11941363CBDB2B67E3141501136BC90D01941D6ACFA5CB67E3141B0B437F890D01941787AA50CB8783141F0BD30198ADE194153158C4AB07831411003090A9EDE19410512149FA878314130014D84B2DE1941FBB9DA0AA1783141B0DC2486C7DE194172567D8E9978314180718A0EDDDE194151158C2A92783141C0073D1BF3DE19417A2497DF8A783141300C02AB09DF1941C5B12EAE83783141A035CDBB20DF19419206F0967C78314100A8C64B38DF1941AC506B9A7578314100F54A5950DF1941BA6B09B96E78314130D34DE268DF19416ABC74F367783141E0F7C2E481DF19413255304A6178314170643B5F9BDF1941E451B8BE5A78314160FD6577B5DF1941361AC0BB9F773141E0CBEE49FBE21941DE2D90408B7731414019735757E319411C85EBD1747631411032E6AE5FE819417CAEB6C29A7631414025750266E81941F4285CCFAF77314130B8AF8363E319419E5E292B5B7831414033333363E01941D3AACF956278314180FB3A7044E0194154D3BC236A78314180787A2526E01941F6A067D371783141B040826208E01941769318A479783141F00B9329EBDF1941836132958178314120FF217DCEDF1941C4C117A68978314150643B5FB2DF19415B8638D691783141D0F21FD296DF1941914AEA249A783141406210D87BDF19418FA98291A2783141B08EE47261DF1941AC3E571BAB783141709C11A547DF19410FA5BDC1B378314110D7A3702EDF194176931884BC783141703D0AD715DF1941A489B061C5783141F0AB1CDAFDDE1941F1EBC059CE783141F0B5847CE6DE194195559F6BD7783141705BB1BFCFDE1941C698BB96E0783141A00A46A5B9DE1941E9E236DAE97831410032E62EA4DE19413FF1634CF4783141500BB5268DDE1941956E122376793141C02A87965BDD194158F5B9FABB793141500C022BB2DC194138B4C8962D7A3141403867C49CDB1941ADFA5C6D657A314140FDF67514DB1941EC5A42BE737A3141B0779CA2F1DA1941ECFBA9F18D7A3141B0BFEC1EB2DA194149696F70537A3141D08E5374B1DA194128E4835EA97931412026538559DC1941B3BFEC7E8479314120AB3E57B1DC1941EFC9C322DD783141809ECDAA36DE194126530563CF783141C011A5BD53DE19414694F686C778314120D34DE263DE1941AB13D0E4BF78314140A167B376DE1941787AA50CB8783141F0BD30198ADE1941020000000200000000023000000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(646978 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (647716, N'{43931086-2B16-4B36-AF11-A59C7BF3C97B}', N'013977709', 295389, N'PRP968', 29852981, N'13977709', NULL, N'01251.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 22', N'Block 106', N'Section 2', N'LOT 22 BLOCK 106 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-06-10T13:40:11.000' AS DateTime), 260, 72, 0xBD0B00000104050000001524283EFB792B419006F096D76431410FAC1C5AFA792B41D09C11A5BD6431414470CE48E6792B41C4E848CEBD643141B269DE31E7792B41DC2D90C0D76431411524283EFB792B419006F096D764314101000000020000000001000000FFFFFFFF0000000003, CAST(647716 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (647764, N'{60226BD2-6958-4086-BB16-E066F85926D8}', N'026934426', 124007, N'VIP82352', NULL, N'26934426', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2007-01-10T00:00:00.000' AS DateTime), N'Lot B', NULL, NULL, N'LOT B SECTION 4 VICTORIA DISTRICT PLAN VIP82352', N'0153', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:08:48.000' AS DateTime), CAST(N'2021-06-15T13:42:40.000' AS DateTime), 1832, 284, 0xBD0B000001042400000089B0E1C9DD393241B02C439C147D1741A2ABAD78D839324100E56121107D174174A52C239D393241E0C03923DE7C1741811D38A7CD393241402041714B7D17410AD7A3D0DB393241601CEB626E7D1741A435CD3BE9393241C00F7AB6957D17411773D7D2F5393241C00C022BC17D1741BBAF03A7F639324180643BDFC17D1741F31FD20F083A3241504082E2CF7D174162CC5DEB173A3241608863DDDD7D1741FCAD82EB163A3241D0B8780DD97D17410989B5E9153A3241D08D0F44D47D17414603F9E5143A3241A09C3481CF7D174171C74FE0133A32417069F4C4CA7D17416A85BCD8123A324130675B0FC67D17410DF241CF113A3241F0F67560C17D17416DD0D965103A324190934424BB7D17410F7D11F90E3A324150B768F4B47D174105B4EF880D3A324110A0FFD0AE7D17414D417B150C3A3241F04F26BAA87D17417A00BB9E0A3A3241608FF9AFA27D1741C4DCB524093A3241F0E995B29C7D1741282B32A7073A3241009BC7CD967D1741F3127F26063A3241F04AF8F5907D174176A9A3A2043A32410084432B8B7D1741CC12A71B033A3241D092C46D857D1741D6819091013A3241A08596BD7F7D17411E386704003A3241F02BD41A7A7D1741B09465A8FE39324150257582757D17418DE4F29FFB393241505C8F426B7D1741DAD781B3F53932418011A53D577D1741C7BAB84DF1393241B04E40134A7D1741265C8F82ED393241603480B73E7D1741B837F8E2EA393241503FC6DC367D1741669A779CDF3932414074B515197D174189B0E1C9DD393241B02C439C147D174101000000020000000001000000FFFFFFFF0000000003, CAST(647764 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (648016, N'{508ED190-0412-4AE3-B911-6E10912B3CDE}', N'002911230', 117903, N'VIP877', NULL, N'2911230', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 25', N'Block 16', N'', N'THAT PART OF LOT 25, BLOCK 16, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:35:46.000' AS DateTime), CAST(N'2021-06-29T17:30:45.000' AS DateTime), 448, 100, 0xBD0B0000010409000000C520B0324D3932415007CE19048B174169BC74934F393241D0E76A2BEB8A1741FB31E62E3D39324120E17A14DB8A17410A560EAD36393241A01C5A64D58A17411DB0724832393241D07B61B2EF8A174196438B4C2B393241602BF617158B1741674DF3CE26393241B09F1AAF2A8B174182C0CA61273932412051DA1B328B1741C520B0324D3932415007CE19048B174101000000020000000001000000FFFFFFFF0000000003, CAST(648016 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (648666, N'{ACE533A0-5714-492F-9347-90CBCA7EE402}', N'011335726', 3191934, N'KAP1790', NULL, N'11335726', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Parcel 26', N'Lot 321', N'', N'PARCEL 26 (PLAN A1273) OF LOT 321 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 1790', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-08-17T09:45:39.000' AS DateTime), 6196, 557, 0xBD0B000001042C000000E873B5D5EA693641E00B93A9AE481D41C5EEC9A3E96936410010E9B7A7481D41888EE412E669364140AF0367AB481D4113D04458DD693641C08AFD65B2481D411E4A7B03D5693641C0923A81B6481D412E772DA1CC693641600C022BB8481D4172396DBCCB69364140DCE0FDB7481D41A7F8C4D7CA693641D081B3C9B7481D41222E38F3C969364190C87A8EB7481D41D152CA0EC96936418096374CB7481D411CDF7E2AC869364160EDEA02B7481D41F44A5946C769364100EA95B2B6481D417168918DDC693641408D976E2C491D4105F01648E3693641409E5EA951491D412AED0DDEEB693641E07BF2B07E491D41723D0A77EE6936412090A0F870491D418D3A01CD056A36415066F7E423491D417E8CB92BF5693641D0E2369ADA481D41E873B5D5EA693641E00B93A9AE481D41AC9DEF47476A364180666666EC4A1D415FBA49CC546A3641B03B4E511F4B1D41FDDBD7015D6A364150C2F5284B4B1D41004D842D636A3641C0FEB27B424B1D4115AE4781686A364130333333284B1D415F5452076B6A364110C9E5BF1B4B1D411B2FDDE46A6A36414039B4C8FC4A1D41CAE53F24616A3641F089B0E1DE4A1D4128F6975D576A3641F0D47869C94A1D41DE5817F7476A36415006F096A74A1D416DF085093B6A3641E078E926854A1D418AFD6517386A3641D082C04A4A4A1D412085EB51376A364140D9CE77284A1D41107A36EB356A3641E04B3709EB491D41748A8E84336A3641D04D6290AA491D4139B4C836316A3641B0B20CF15E491D410022FDF6276A364150211FF425491D4106F9A087246A36414006F01615491D411D85EBD1106A3641206EA3015A491D41FE87F43BF969364140B37B72A6491D4149C807BD1E6A364100B150EB674A1D410DF01688276A3641309A779C964A1D4134234A9B2B6A364150C8073DAC4A1D41B159F5B9356A364140D6C5EDB84A1D41AC9DEF47476A364180666666EC4A1D41020000000200000000021300000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(648666 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (649024, N'{9C97C9F3-6D33-44BF-A4B5-7811919C6EB4}', N'012123455', 480207, N'KAP690', NULL, N'12123455', NULL, N'csrp0019', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 34', NULL, NULL, N'LOT 34 SECTIONS 17 AND 20 TOWNSHIP 22 RANGE 11 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 690 EXCEPT PLANS 6675, H698 AND EPP13122', N'0163', N'0006', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-09-10T13:43:56.000' AS DateTime), 30698, 1644, 0xBD0B000001042E000000DEBE0E9CF73A3641C820B0329987244198218E95FD3A3641C0AF0367B08724412E4CA62AFF3A364168931844E987244198BB9650073B3641005A643B0F882441AA0A46055B3B36410871AC4BB3882441AE79C769EA3A364130643B1F9C88244157D3BC63F23A3641D878E926F6882441C67F487F633B364110363CBDD1882441ECE2361A5C3B364100583974B38824413B014DC45B3B3641E0E00B13B28824416E348037083B3641A87493580E8824417E9ECD0A003B3641A813D044E887244143D8F074FE3A36416894F646AF872441A323B9FCEF3A3641E8AE252477872441C8293A32EF3A3641D0C798FB7687244152401321EF3A36412038674478872441DEBE0E9CF73A3641C820B03299872441D612F201E83A3641A02A18D56E892441B325E4C3DD3A3641D054C168C98924415739B488233B3641500E2DB21A8A24417AD4A3E62F3B36417018B9AD278A244131DB12CB3C3B364150F18F6C328A244157AD2A1C4A3B3641C87328D93A8A24414AE53ABF573B3641F070A0E2408A24410ED5EE98653B36412888DE7C448A2441014D848D733B3641B864AAA0458A244170469416A73B3641E03D7918458A2441E13196ADAE3B3641D0EBB862448A24414FA58F36B63B3641B87A586E428A24414E5276A4BD3B364190DFB93E3F8A2441EAC46EEAC43B364148A060D93A8A2441F7A3E2FBCB3B36413047E845358A2441927996CCD23B3641C839F78D2E8A244183DEBE50D93B3641E0052EBD268A2441C3E3147DDF3B3641604013E11D8A24417A4F1E96F13B3641B0802682018A24415CA8354DF03B3641F0CD19D1008A244165D5E7CAB53B3641D0E00B93B8892441C6EEC9E3833B3641D0F528DC3C892441D612F201E83A3641A02A18D56E892441D65F766FE13A3641084FAF54FC8924413FBD52D6DA3A3641D888D21E078A2441D556EC8FD63A3641B0CDAACF6B8A244165F7E421303B3641706FF0C57C8A2441A4923AA14C3B36417801BCC5798A2441D65F766FE13A3641084FAF54FC8924410300000002000000000211000000022800000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(649024 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (649369, N'{B693C2B4-EFB0-4C92-AFF7-F95AE5527FBF}', N'010459235', 252487, N'PGP727', 17743311, N'10459235', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', NULL, N'Lot 20', N'Block 29', N'', N'LOT 20 BLOCK 29 DISTRICT LOT 933 CARIBOO DISTRICT PLAN 727', N'0112', N'0008', N'NO', N'MODIFIED-TANTALIS', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-07-26T16:27:00.000' AS DateTime), CAST(N'2021-10-01T14:35:22.000' AS DateTime), 446, 106, 0xBD0B000001040500000081C0CA01A2823241B01C5A64544A2E4137674429A0823241803BDF8FAC4A2E41CC20B0D2AA82324130B4C876AD4A2E412D90A078AC823241B047E1BA5E4A2E4181C0CA01A2823241B01C5A64544A2E4101000000020000000001000000FFFFFFFF0000000003, CAST(649369 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (649372, N'{9F323A20-339B-448F-91FA-B4664D2F98CE}', N'010459189', 252487, N'PGP727', 17743571, N'10459189', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 22', N'Block 29', N'', N'LOT 22 BLOCK 29 DISTRICT LOT 933 CARIBOO DISTRICT PLAN 727', N'0112', N'0008', N'NO', N'MODIFIED-TANTALIS', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-07-26T16:27:00.000' AS DateTime), CAST(N'2021-10-01T14:35:22.000' AS DateTime), 563, 126, 0xBD0B0000010405000000000000809582324130B072A8AB4A2E41BA270F8B9782324138BA490C4A4A2E41418B6CC78C82324170E7FB693F4A2E415939B4888A82324150355EBAAA4A2E41000000809582324130B072A8AB4A2E4101000000020000000001000000FFFFFFFF0000000003, CAST(649372 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (650646, N'{A70E0BD9-3774-46B9-B7FA-87521AFD357C}', N'011334681', 7306027, N'KAP1272A', NULL, N'11334681', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Parcel 4', N'Lot 312', N'', N'PARCEL 4 (PLAN A1272) OF LOT 312 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 1790', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-12-16T14:02:32.000' AS DateTime), 4155, 271, 0xBD0B0000010415000000C8E53FC4176B36417005A3926F221D416229CB500C6B3641507C613258221D418C7EFB9A026B364190AE476144221D417D2F4CC6FF6A364180984C957D221D4102F77580FD6A364180DC4683AB221D41323333D3006B3641F053E325BB221D4155F5B9BA066B36410079E926CE221D41EC6A2BF60F6B3641406132D518231D41EC9E3C0C156B36411038674462231D4112BE30D9186B3641A0D85F7679231D410F0BB566256B3641F0043411C6231D41EAD24DC22B6B3641A0F8C264C8231D4122166AED386B3641907DAE36CD231D414282E267456B36410065AAE0BD231D412CCB10A7496B36416027A0897E231D41B537F802466B3641906CE77B24231D4177F2B0B03D6B36416048BFFDE6221D41BD7D1D18376B364120431C6BC8221D41550E2D922D6B364140143F469C221D4140A4DF9E236B3641A01B0DE087221D41C8E53FC4176B36417005A3926F221D4101000000020000000001000000FFFFFFFF0000000003, CAST(650646 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (651448, N'{109FDE54-6119-4CA4-BA60-64ED98CCF65B}', N'015908275', 490096, N'NEP1224', NULL, N'15908275', NULL, N'7077815003', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PARCEL A', N'LOT 4', N'', N'THE MOST NORTHERLY PART OF LOT 4 DISTRICT LOT 5075 KOOTENAY DISTRICT PLAN 1224 LYING TO THE NORTH OF THE WAGON ROAD AS SHOWN ON THE SAID PLAN TO BE KNOWN HEREAFTER AS PARCEL A (SEE 135187I) OF LOT 4 DISTRICT LOT 5075 KOOTENAY DISTRICT PLAN 1224', N'0163', N'0004', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:21:08.000' AS DateTime), 11065, 450, 0xBD0B000001040C000000F8EDEB2030B3384148F1630C514F2041A52C431C3CB33841903A018D724F20410668226C48B33841A0C420B0754F2041F6065FB899B3384128431CEB894F2041A233A294BAB33841003411366B4F20418AA7570ABEB33841A0BFEC9E474F2041B4627FF9C0B33841A89999D9224F2041A267B38AAEB33841F8CBEE49FF4E204113E258B789B33841C89DEF27EB4E2041D222DBF93FB3384130BD5256E34E204196DD936704B3384130C4B1EEF14E2041F8EDEB2030B3384148F1630C514F204101000000020000000001000000FFFFFFFF0000000003, CAST(651448 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (651466, N'{E0FD01D4-DE70-4501-9607-0969DEBB5774}', N'015314529', 492326, N'NEP1000', NULL, N'15314529', NULL, N'7077901050', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PARCEL A', N'LOT 5', N'', N'PARCEL A (SEE 122687I) OF LOT 5 DISTRICT LOT 5574 KOOTENAY DISTRICT PLAN 1000', N'0163', N'0004', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:21:10.000' AS DateTime), 25961, 899, 0xBD0B0000010424000000D61951BAC5C0384130711B8D0B5920410AA3921ACCC03841D8B12E2E0959204154840DAFCEC0384188E848AE085920415AD95CAFCFC03841E0BDD9A408592041B70372AED0C03841E8DDDD71085920419DA79EAAD1C03841384DAB1508592041615139A2D2C038413898DD90075920413E43A093D3C03841D0CD54E40659204112363C7DD4C03841D804341106592041F8A9F1F203C13841A835CDFBF4582041B4E1E9758DC0384128F6975D37582041E4C0392363C03841E0164810175820419D923A213CC038411000008012582041B047E17A1EC03841701B0DA0B859204184D0B3D915C03841F08E5374B85920414AC8073D0EC03841D8CCCC4CB8592041A7A44E2003C0384160742417735A2041E8C0392339C03841A08251C9D25920416C8A8E8439C03841807CD0B3CF59204178E36B8241C03841F025F407B4592041EC7878A84AC03841A0DD0CD5995920413E8973E554C0384170DC824C81592041D44C0E2660C03841D84B9A9C6A5920415D5F10556CC03841C8051CF0555920419EC47F5B79C0384128E5046E43592041F53CCC2087C03841883F3C39335920410798FD8A95C0384120125270255920413EAEE47EA4C03841885E452D1A592041ACA44EE0B3C03841F025538511592041AA98E4E0B5C03841F82FE1071159204148DA96E0B7C03841C84EAA7C10592041C6BD4DDFB9C0384138F3B4E30F5920411CA3F1DCBBC038419830083D0F592041ECF66AD9BDC03841C0BCAB880E5920419B33A2D4BFC03841B0EFA7C60D592041D61951BAC5C0384130711B8D0B59204101000000020000000001000000FFFFFFFF0000000003, CAST(651466 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (652044, N'{E385C43D-37F8-4A3D-81C0-E2C3F70C6546}', N'005700744', 495877, N'NEP595', 90054442, N'5700744', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 24', N'Block 18', N'', N'LOT 24 BLOCK 18 DISTRICT LOT 208 KOOTENAY DISTRICT PLAN 595', N'0056', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:37.000' AS DateTime), 241, 71, 0xBD0B000001040A000000025F988C8B2F3941C8F606DF2ADF2141DE70E67A8B2F394108B997C327DF2141A0916C638B2F3941B0BDC1A824DF214191062C468B2F3941080AB08E21DF2141006526238B2F394130998D751EDF214142925DFA8A2F39411858855D1BDF214160C3D3CB8A2F39417826C24618DF214127E4839E702F3941E8BE0E9C27DF2141DC460338732F3941A8D1001E39DF2141025F988C8B2F3941C8F606DF2ADF214101000000020000000001000000FFFFFFFF0000000003, CAST(652044 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (652162, N'{C3897A46-88ED-49E4-9A0F-955D76BE8D50}', N'016053869', 493759, N'NEP1030', NULL, N'16053869', NULL, N'7076688010', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot E', N'', N'', N'LOT E DISTRICT LOT 4216 KOOTENAY DISTRICT PLAN 1030 EXCEPT PLANS NEP63432 AND NEP65169', N'0163', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:10.000' AS DateTime), 3057, 312, 0xBD0B00000104080000002C90A018EBFB3841484CA60AE1C420410166F784EAFB384190FF903EE2C420415E105879ADFB384128B7D180D2C520410D9C3382C8FB3841A815FB4BEDC52041F1164890CBFB384120F5B95ADDC52041C15296E1F5FB384108CE199100C5204174832FCCEFFB3841B89465C8EEC420412C90A018EBFB3841484CA60AE1C4204101000000020000000001000000FFFFFFFF0000000003, CAST(652162 AS Numeric(38, 0)), NULL) +GO +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (652330, N'{D5B8CEC4-4C54-4901-9C8C-37DE4F769E54}', N'013296973', 488000, N'NEP4152', NULL, N'13296973', NULL, N'01422.010', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot B', NULL, NULL, N'LOT B DISTRICT LOT 7173 KOOTENAY DISTRICT PLAN 4152 EXCEPT (1) PART INLCUDED IN PLAN 8582, (2) PART INCLUDED IN PLAN DF K4317 AND (3) PART INCLUDED IN PLAN 6096 AND NEP63189', N'0015', N'0004', N'NO', N'ICF', 0, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-02-23T10:54:40.000' AS DateTime), 1328, 176, 0xBD0B000001041A00000043C6DC758D823841D0A8A44E6C331F41646FF065B0823841402B8716CE331F411EE25897BE82384100B6F37DF5331F41AD9DEF67C982384150621058B8331F41F47C3F95B3823841D05A42BE7A331F41E861A156B2823841507EFB3A77331F41F77E6A9C8E823841F01B7C6112331F41847346548A823841F071F90F2C331F4172686CD689823841F030248B2F331F41E264826B8982384120A2092D33331F41E883451489823841C0013DEF36331F410E1350D188823841D06718CB3A331F41768118A388823841B08BC8B93E331F41648EF08988823841E0D558B442331F418AB804868882384150ADBFB346331F4188EF5B9788823841C0E9EAB04A331F416A87D7BD888238414057CCA44E331F41FC6E33F988823841302F668852331F416AA80649898238414075D75456331F418E02C4AC89823841202568035A331F41FE12BB238A8238416011958D5D331F41E46D19AD8A823841506B1BED60331F415F1AEC478B82384100D4031C64331F41194021F38B82384130EAAC1467331F41A20B8AAD8C823841C040D5D169331F4143C6DC758D823841D0A8A44E6C331F4101000000020000000001000000FFFFFFFF0000000003, CAST(652330 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (652480, N'{CAFC65AB-7F88-4772-9B8C-8915BE6A6B69}', N'008992703', 646100, N'VIP552E', NULL, N'8992703', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Section 19', N'', N'', N'THAT PART OF THE NORTH WEST 1/4 OF SECTION 19, TOWNSHIP 6, COMOX DISTRICT, PLAN 552E SHOWN COLOURED RED ON PLAN 108 RW', N'0163', N'0017', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2020-05-06T10:30:50.000' AS DateTime), 12442, 1058, 0xBD0B000001040B000000F67E6ADCC8353041983E571BA53520411737265EC5353041582DD825AF352041CF4FDBD2C13530410031061EB935204137D0A13ABE353041F0B29D03C33520411D179295BA353041909A5BD6CC35204159DAC4E3B6353041984EFD95D635204115265325B335304190B74042E0352041772D21DF62353041B09F1A6FAD362041EEFDD458DB343041283D9B55BE382041BDF528BCD9343041B06054524A392041F67E6ADCC8353041983E571BA535204101000000020000000001000000FFFFFFFF0000000003, CAST(652480 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (652561, N'{FAE9321C-E8DE-4DF6-A18A-11FCC5A977B3}', N'001568485', 117903, N'VIP877', NULL, N'1568485', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 12', N'Block 12', N'', N'THAT PART OF LOT 12, BLOCK 12, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:55:56.000' AS DateTime), CAST(N'2019-01-05T10:24:05.000' AS DateTime), 307, 71, 0xBD0B00000104050000000200008006363241D08AFD65E58F17411C6C781A15363241802D219FD38F17412485EB310F36324170F4DBD7868F174115E2589700363241B0BFEC9E988F17410200008006363241D08AFD65E58F174101000000020000000001000000FFFFFFFF0000000003, CAST(652561 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (653195, N'{FCF5E1DF-7BF0-4970-9F97-F2F41AD98E9F}', N'001640755', 121125, N'VIP76RW', NULL, N'1640755', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 76', N'', N'', N'THAT PART OF SECTION 76, SOOKE DISTRICT SHOWN COLOURED RED ON PLAN 76 RW AND CONTAINING 25.79 ACRES MORE OR LESS', N'0133', N'0005', N'NO', N'MODIFIED-ICIS', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:22:28.000' AS DateTime), CAST(N'2020-05-10T21:06:06.000' AS DateTime), 103483, 6522, 0xBD0B00000104260200000DC7BA1880F83141804603F88BE61641D5E6945381F83141F012160B8DE6164166341C9282F83141509910CF8DE61641BC1713D383F8314190722F438EE61641358B391585F8314120D6FE668EE616414F5A4E5786F8314180105B3A8EE616414C62109887F83141E0A370BD8DE6164102EEE23791F83141C07261C794E616415F9541C69AF83141E01B5D2C9DE61641A6791E40A4F8314100CCB4E9A6E61641F24972A2ADF8314100A24BFCB1E616410A3B3DEAB6F83141D0AA9760BEE61641B5FC8714C0F831419005A312CCE616411B04568EC8F83141F0AE2564D9E616417B36AB9E93F9314180B5157B18E81641F111426C9EF9314190BCD79E28E81641410F8153A9F931415080A8A437E816410E3D8F52B4F931416060FC8945E8164150A18F67BFF93141F09C784C52E81641168AA190CAF9314100C0F3E95DE81641CFDEE0CBD5F9314100F7756068E816411D255598DCF93141B085D3456EE81641BA71246AE3F93141D05EC1C473E816413A4FEE40EAF9314140C6F1DC78E81641CA01521CF1F93141C0AC1C8E7DE816417A8CEEFBF7F9314110B5FFD781E81641ADB662DFFEF93141A0355EBA85E816412BE40B9A29FA314160F52EB093E8164108940D7854FA314100FBDD4791E81641C67051157FFA3141A0420A877EE81641BE4D580EA9FA3141A0DD7C995BE81641E0752201D2FA3141B0B8C2D028E81641E27A148EF9FA3141D02E6EA3E6E716418DA0F8D1EBFA3141C0779C2273E7164141E32325DBFA3141A080A5FB90E716419E04BC28CAFA314130AA6DE1ABE7164128C119E5B8FA31416064BDC6C3E7164171D5B862A7FA314140BCD69FD8E71641EED233AA95FA3141D0217B62EAE71641C8E53FC483FA3141106FF005F9E71641C286A79784FA314100FFB2FB0AE8164152A1A83976FA314180919C8514E81641A243C8C867FA3141C0163D121CE81641D7666E4959FA314180E2469F21E81641C56E07C04AFA3141505F082B25E816415AD002313CFA314150966CB426E816411BB7D1A02DFA3141D07EFB3A26E816411E1FF4AC27FA3141B0900F7A25E8164141B9C76620FA314130250B1C24E8164159B4652219FA314100B0563D22E81641D9575CE011FA3141A0CD16DE1FE816414ABD39A10AFA314100EF79FE1CE816415DC58B6503FA3141D055B89E19E81641190DE02DFCF93141E01114BF15E816413ECF6655FEF93141D0B88D86D9E71641AAFE5307FBF93141A04214C1D7E7164161611BBBF7F93141405D60C7D5E716415D8CF070F4F9314110EE9099D3E7164176F40629F1F93141C00AC837D1E716412DEB91E3EDF93141E0F42AA2CEE71641A69BC4A0EAF93141A019E2D8CBE716415479CA87DEF93141F0DA1EE2C1E71641F21D9B83D2F9314100C35D74B6E71641F7D70C97C6F93141409C5192A9E71641A261F0C4BAF931414016053F9BE71641D9361010AFF931411011DA7D8BE7164157EC2F7BA3F9314190CE88527AE71641794F1E16A3F931416088635D7EE7164107CE19F19DF931416001BC05B3E716414B4772799BF93141009D1125AFE716412A06819525F93141C01A2FDDF5E616415427A069CAF83141402AA99366E6164194FE474FC0F8314120896F8057E6164175118214B6F83141909D9ADC49E61641E71991BCABF83141906883AC3DE61641091EC14AA1F8314170710CF432E61641026366C296F83141C080A0B629E61641605DDC268CF83141E08F31F721E616416ED65DFE8AF831418038149D22E616419AB095D389F83141D0BDC6E822E61641F7383AA888F831417016DAD922E61641B294027E87F83141A025647022E61641CE3CA45686F83141B0A0FFAC21E616418A7CD03385F831415029CB9020E616413C0BE80679F8314170EF324A1AE616417E7978C66CF8314150432A3217E61641BB1FCC7F60F83141C0530C4C17E61641991A344054F83141500DBD971AE61641B7D8F91448F83141C037A91121E61641F0B0500B3CF831413057CAB22AE616410A8F014631F83141E0E4918935E616413601B49B26F83141A046FDEE41E616416AD701101CF83141A011DDDE4FE616411B8C7AA611F8314120AD7C545FE61641C110A26207F8314150EAA34A70E61641B29DEF47FDF73141E0C798BB82E61641DF361A80C0F73141B04BC807F7E616412022AC19BEF731416087BF9DFBE6164141E85CB2BBF731411012522C00E7164199F52D4AB9F7314180387DB304E7164115B720E1B6F73141804C3E3309E71641219A3677B4F7314160A492AB0DE71641B30C710CB2F73141C09A771C12E7164154863896ACF73141106D56FD1BE71641A2A00252A1F7314120DD62D12FE71641E27706FC95F73141F0F2AB0043E7164149A2DA948AF73141A0D4328A55E71641689A161D7FF73141B042016D67E7164125B7529573F7314180A329A878E71641062428FE67F73141F010C73A89E71641536B9A5762F731412095D40991E71641ABE8488E5EF73141E09D5E2996E71641E02D90E058F73141F0EBC0B99DE71641124D028C52F73141401373EFA5E7164166E387334CF7314160B01AF4ADE7164187AF38D745F7314140C299C7B5E716418C7E2C773FF73141F0FFD269BDE71641762B7B1339F73141D0D8A9DAC4E71641F49E3CAC32F731411075021ACCE716418CF4DB7793F63141A0B437787AE81641FB6C561D92F631415096900F69E816412F211FF483F63141F0285C8F7AE816416029CB5083F631418002098A7BE81641DBACFABC82F6314160B1BF6C7CE81641EBFBA9D141F6314120295C0FE0E81641FCEDEB0042F63141D042ADE9F2E816414F742417BEF53141F015FB4B90E916413C234A7BBAF531410085EBD161E916413E1CEB8218F53141C0976E1223EA1641A2FC89E010F53141704C90F12BEA164127C4F44709F53141D094795335EA16414575B7B901F53141E0817D373FEA1641CF535D36FAF4314110C4E59C49EA1641E1DA70BEF2F4314100BDF28254EA1641FFB27B52EBF43141808BDBE85FEA1641560DFDECDAF43141F06C1D647DEA164149D9D651CBF4314120BC2015A1EA164143408EA6BCF43141503816A6CAEA1641F7BB670EAFF43141C0D00EB3F9EA16410F4C12AAA2F4314130EFEBCA2DEB164118E2589797F4314150696F7066EB16417257556593F43141407B97467EEB164102BE55488FF43141905F125796EB1641CBC08C408BF43141A0A8B7A0AEEB164182052C4E87F4314140285C22C7EB1641432A647183F4314130FED1DADFEB1641F9C264AA7FF4314140A7E8C8F8EB164171F90FC96FF431417051491D60EC164148D8F0347AF431411096B28C79EC16411DE4CB5477F431410018F06B8CEC1641F02B036C74F4314170D7F1359FEC1641347CA07A71F43141508D78EAB1EC164168BEAD806EF4314170384589C4EC1641DFF8347E6BF43141D0211912D7EC1641A94E407368F43141D0DCB584E9EC1641CAC03AF45DF431410028BE8824ED164150BD5A3D52F43141C096B4C25BED1641C9B4686445F431414078E7CB8EED16412E7B488137F4314130ED6F45BDED1641C3DBCCAD28F43141505FE2D8E6ED1641E393870519F43141B034EF380BEE1641EC84D90613F43141207AD69017EE164163F6CAFF0CF43141409FC7A623EE1641364489F006F43141C0B0677A2FEE1641260842D900F43141C0AE5D0B3BEE1641391823BAFAF33141708F525946EE164184855A93F4F331411041F16351EE1641731B0D00A8F331411040A4DFDCEE1641901804769EF33141F01B7CE189EE1641EC16489081F331416026C286BEEE1641B1F5A51D78F33141605B561FD0EE1641241A40BE6EF33141901D9B59E2EE1641FF72C37265F33141101B4034F5EE1641AE7FDB3B5CF331419075E9AD08EF1641C643321A53F33141F0D72FC51CEF1641F63A700E4AF331413090A07831EF1641B2B662BF50F33141208C4A6A68EF16419F9E33B845F33141408655E682EF1641C9119FD53AF3314140357B509EEF16411151E61830F33141908292A5BAEF16411340468325F33141F03E57E2D7EF16418A40F7151BF3314160876A03F6EF16415A0E2DD210F331413026530515F01641F7285C2FFDF23141B069DE7151F01641635452A701F3314150BD52166AF0164191B96BE9D1F2314170CA3244F3F016412B92AB27CFF2314180C07A32FBF016417FDF7064CCF2314120D5821803F116417E2CBD9FC9F23141009F46F60AF11641020592D9C6F2314110B9C1CB12F1164196F5F011C4F2314120C4EF981AF11641AD8BDB48C1F23141F063CC5D22F11641769E4D08BCF23141D00A02D430F11641765D96B0B6F23141801AE3BF3EF1164102709942B1F2314180601E1F4CF116417B323EBFABF2314110127AEF58F11641CF8F6F27A6F23141B02CD42E65F1164154DA1B7CA0F2314170D022DB70F1164144EA04D49BF231410023DB794AF1164133C1861B97F23141A0D2FE3053F11641718F615092F231419025D03E5BF116410CC610748DF231416095D1A062F116411B25158888F2314150BABA5469F11641E844F48D83F23141B00279586FF11641821D38877EF23141905530AA74F11641E8482E1F74F2314180787AA576F11641EBF8C8EF6CF2314120896E0A7AF11641F72B36BB65F23141105B2BA97CF11641AE94CB825EF2314120AF34817EF11641DA9BDF4757F23141401333927FF116412121C90B50F23141F0F5F3DB7FF11641673BDFCF48F2314150AD695E7FF116412C08AC5C3EF23141E0141DC97EF116414F158C2A39F231413085EBD191F11641CCAACFF521F23141804469EF9DF1164111C7BA9810F23141C04D629097F116415DFE433A12F23141506E1283EEF11641A211A5DA07F2314190E5270FF2F11641EC12F880FDF1314120481790F6F116415D2BA62EF3F13141E06F4305FCF116414A8317E5E8F13141E0ECED6D02F216416A11B3A5DEF13141B01D37C909F21641B069DE71D4F13141C04F1E1612F21641E3938745D2F13141E0F3FDD4F4F116419C715537CBF1314120AA102AFBF116419B32C62FC4F13141009236F101F21641571B4D2FBDF131410087002A09F216411FFC5C36B6F13141401DF8D310F21641BB296845AFF1314140A99FEE18F21641F575E05CA8F131415047727921F21641ECB050CBF9F03141C088D25EFDF21641F87E6ADCF3F0314150643B5F04F31641B96B09F9EBF03141F070AC0B0FF3164104E46DF8E9F03141A0852C7811F316410870A2FCE7F03141909A0D2114F3164125D31806E6F03141E026B70517F3164126A34115E4F03141403B83251AF316411B2F8C2AE2F03141B0A8BE7F1DF3164165666646E0F03141702AA91321F31641C4B99CE9DEF03141609B31C322F316413E56BD93DDF03141E0E2ACC324F316419789F445DCF0314140D5581327F31641CF866701DBF03141A0B72DB029F316417B6433C7D9F031412008E0972CF3164167226C98D8F031414082E2C72FF316418C9E877DD5F03141F05E69DA35F316414DA38963D2F03141B0D148F43BF31641C246734ACFF0314170B87E1542F31641AE9E4532CCF0314130ED083E48F3164182C0011BC9F031419047E56D4EF3164158C1A804C6F03141F09C11A554F31641272587DFC4F031417009FEC457F31641D5CDFBB4C3F03141D08D37C45AF31641B2134185C2F03141703928A25DF3164176529250C1F03141D09C405E60F31641AEDD2B17C0F0314150E6F7F762F31641EFF44AD9BEF0314130FBCB6E65F316417DA657ACBDF03141801D498B68F3164137B7CA7FBCF0314150CB2FAA6BF316415A76A453BBF03141A0327FCB6EF31641EF32E527BAF03141408036EF71F31641073C8DFCB8F03141D0E0541575F3164174E09CD1B7F03141707FD93D78F31641C438249FB6F0314170CBD6AA7AF316412664F271B5F0314110BCD83F7DF31641B3F65A4AB4F0314170E527FC7FF3164161F6AF28B3F0314100F301DF82F3164170C4410DB2F0314100DF99E785F31641FA065FF8B0F03141D02A181589F316412305435EAFF03141B04822798EF3164108661FBDADF0314150460ABB93F31641DB9B2115ACF03141C0813DDA98F3164106D87766AAF03141A0202DD69DF31641060651B1A8F0314150204EAEA2F316413CC6DCF5A6F0314120651962A7F3164134234A3BACF03141D05A423EBCF31641E9839E8DA6F0314100827346D1F31641A66A3E93A5F03141E009D982D4F316410E63149FA4F03141703A65DCD7F31641E4B556B1A3F03141906D5952DBF31641513E3ACAA2F03141F0A9F0E3DEF31641225EF2E9A1F0314140D15F90E2F316417BF2B010A1F0314180CFD556E6F31641A84F0410A0F03141E07655BFE9F31641E3EB031A9FF0314190EFB557EDF31641C8863E2F9EF031416027E11DF1F31641995B3C509DF03141B07AA60FF5F3164153D27E7D9CF03141D0F6BB2AF9F31641743480B79BF0314110B1BF6CFDF31641721C105E9AF031416082918C02F416412C290A0D99F03141801EF4CE07F416412AADA5C497F03141E0820A330DF416415A90188596F031410025F2B712F416410D47974E95F031410017C35C18F4164188C9542194F03141F02D90201EF41641B88D06508FF03141203B014D35F4164176B147158EF0314130D2962A3BF41641F6E95EE38CF0314140F81C2541F4164181C676BA8BF0314110BDBE3B47F41641D695B89A8AF031413048A36D4DF416413E604C8489F03141F0F5EDB953F4164115E2587788F03141C076BE1F5AF41641A4FA1A3F86F03141506CE64466F41641B8E1D71984F0314160D428A072F41641BDF9E10782F031417039AB2F7FF4164100C0880980F03141104F8BF18BF41641BBC0181F7EF03141103ADFE398F41641B48BDB487CF03141C0DCB504A6F416411B2DC8AF7AF03141C0FCC6BEB0F4164153176A2779F0314130D0949FBBF416417DF2FBAF77F03141B0077FA5C6F416417FDEB54976F03141B0C6DFCED1F41641D16ACDF474F0314110E30B1ADDF416411E8E75B173F03141D0255385E8F41641619CDAAC72F0314190EB6C97F1F41641AEF4C7AD71F03141308F55B3FAF41641D77E43B470F031418013D7D803F51641A40153C06FF031416042BB070DF51641E622FCD16EF03141B0AFCB3F16F516413C6744E96DF0314120B7D1801FF516416D1B0DC06DF0314100B5A67921F5164170511F9E6CF0314130E0A3432EF51641DFCE2B876BF03141D070DA1C3BF51641CC5C3F7B6AF0314140A4B30448F51641E042667A69F03141B00C98FA54F51641E046AC8468F031419098EFFD61F5164109AC1C9A67F031417096210E6FF51641E453511D67F03141B089012B76F51641020F1CA666F03141300CDC4D7DF51641F771813466F03141D0EC6A7684F516413BDA85C865F0314110C167A48BF51641F36D2D6265F03141B0EA8BD792F51641D91B7C0165F03141E096900F9AF516419599991964F03141F0490C82C6F516419C1DB6FE61F03141C067658E07F616417251423061F0314100915B1149F61641844D8CAF61F0314120D3EAA08AF61641F914C67B63F03141F0D9FAD2CBF61641CCE2069266F03141609E0A3E0CF7164139DF4FED6AF03141E022DB794BF716419306F05689F0314140C7BA3856F716412D95D68988F031414073E61D4EF71641D9DFB2C187F0314130DC55FB45F716415A9189FE86F03141409239D13DF71641C6365F4086F031417052C29F35F71641513F388785F03141600621672DF7164150FC18D384F0314110C2862725F7164136AAD34481F0314190C0947CF4F616413ABB749A7EF03141E0C8B6EAC2F61641A91691D77CF03141A04388B490F61641FB9886FE7BF031410063811D5EF61641A2E578107CF03141F07B9C692BF6164139DF4F0D7DF03141D0ACFADCF8F51641438B6C4780F03141E01FD26FAAF516418304C56F80F03141201826D3A7F516411B4A5B3D81F03141C09FB9899BF51641FA7B001982F03141F0EF8A4F8FF516415B8BA20283F0314150609B2583F516411F432EFA83F03141F0F0EA0C77F516414C498FFF84F03141003978066BF51641CA20B01286F03141D04E40135FF51641E7AB855088F03141F0FBC1C847F51641991DFFBD8AF0314160082ACB30F51641F0E0775A8DF03141601A8F201AF51641B4EE3E2590F0314130DFF1CE03F5164178FC961D93F0314150723BDCEDF4164180AEB64296F0314120CD3B4ED8F41641D035F98597F03141D089DE95D0F41641A8769AC698F031417082A9D6C8F41641BA1F98049AF03141A00CAB10C1F41641A1E4EF3F9BF03141E08AF143B9F41641D57D9F789CF03141306C8B70B1F41641BFA8A4AE9DF03141102B8796A9F41641676FF0C5A5F03141E0D9ACFA7EF416414E1622F0A6F0314120EFAB0C7AF4164199413D14A8F03141A0E6160875F4164124982632A9F03141100566ED6FF416415655C349AAF03141D0A013BD6AF41641694BF95AABF03141F0169C7765F4164131E6AE65ACF0314130BF7D1D60F41641FE342BF1ADF03141806A20A659F4164190486A7EAFF03141408E853553F41641BF476A0DB1F0314160D6B4CB4CF416412857299EB2F0314190E6B56846F416417299A530B4F03141005B900C40F41641152FDDC4B5F03141B0C64BB739F4164111BF4B15B7F03141B0B36C9035F416410FAF4B5FB8F0314150B7C34931F4164109F3ACA2B9F031412031F0E32CF41641A77540DFBAF03141200D965F28F41641401FD814BCF0314140A75DBD23F416415FDC4643BDF0314130B6F3FD1EF41641C2DFDF2EBEF0314180FF0E6A1CF41641C6A43415BFF0314130040FB919F4164119A80BF6BFF03141C0CE9FEB16F4164151C52CD1C0F031411083740214F416410F4561A6C1F03141403347FE10F41641B3EA7375C2F03141A0ADD8DF0DF41641E22406C1C7F031417038D6C5FEF31641FD6E8104D0F03141E00C712CE8F3164107C58FB1D5F03141B0779C22D9F31641542E2C8DD6F0314190A68C03D6F3164156046B75D7F03141306CD91FD3F3164112064C69D8F0314190F2B27AD0F31641971CC267D9F0314190600417CEF31641BA83B46FDAF0314140A070F7CBF3164103000080DBF0314150764F1ECAF31641BF4AC36EDCF03141002FE698C7F316411AF43E63DDF031418073B636C5F316414CE01F5DDEF0314130B08FF8C2F316411D1E115CDFF03141C01135DFC0F316417F03BC5FE0F03141D0425DEBBEF316415C4BC867E1F03141502DB21DBDF316415939B4A8E6F0314110B7D100B2F31641CB10C71AE8F0314170C7293AC4F3164168226CD847F1314140AA605442F31641E9B7AFA345F1314160234AFB2DF31641A1D634CFB1F131415012F24198F21641B2726831B4F131416008AC9C9BF216410A5BD25CB6F13141C00AB7B098F21641A6072889B8F131411065CACF95F21641EFF665B6BAF13141B0BBEAF992F21641CEA588E4BCF13141F0A11C2F90F21641B18F8C13BFF131412099646F8DF21641AF2E6E43C1F13141D010C7BA8AF21641FBCA000EC2F13141B00B178F8BF216412A61AED5C2F1314160C57D8B8CF216415F17F899C3F1314140E55AAF8DF216411E3B615AC4F13141D001F5F98EF216415C906F16C5F1314150147A6A90F216415B9FABCDC5F131413000000092F216412A9065FBD5F1314150A4323380F216416AF56153E6F13141C0A5D30071F216414CCFEDCEF6F13141B0A81D6F64F21641598A476707F23141709B37835AF21641B8C4A11518F231411096324153F21641BC1726D328F23141103108AC4EF216419EEFA7E629F23141B0B88D0640F21641B125E4633FF23141F0E995B23AF21641749CA24341F2314180F2B0504AF2164140EBE9E549F23141F0A9E11349F21641384A258652F23141B058D92447F21641CBD06E235BF23141708ACB8344F21641CEE4E0BC63F23141C051FE3041F216419D5296516CF23141E042CA2C3DF21641C164AAE074F23141706B9A7738F21641BB4A26ED7AF2314160B5946434F216418F08BAF080F2314190DD77902FF21641FF78E4E986F23141001F79FC29F216419B1127D78CF2314190B4FDA923F21641504206B792F2314110819A9A1CF216419AD4098898F2314150A913D014F216419AE61D8797F23141F039924B09F21641F5D1CE8F9FF23141904C82E4FCF116418218CA74A7F23141606F9C21EFF1164164FD6232AFF23141A07F4809E0F116412519FFC4B6F2314190468DA2CFF11641BB061829BEF23141B0360DF5BDF11641C6073D5BC5F2314110DE0209ABF116415B462F9ECAF23141507B7E639CF116411804B9D6CFF2314100D1D9828DF11641AFBAB004D5F2314150338B677EF11641C937ED27DAF2314170C90A126FF116417A9E4540DFF23141108AD2825FF116416F68914DE4F2314160355EBA4FF11641AAADD85F26F3314160C0CAA183F0164171E233F037F33141C0CC5E734FF016419B51E6FD49F33141B077DF031EF01641BEBB12825CF33141A0971866EFEF164159D5AE756FF33141F099C3ABC3EF16415BF485D182F3314160C480E59AEF16413BCD3B8E96F3314190E5D02275EF1641C5DCB50400F4314190923A01B5EE1641160DE0ED0CF4314170F4DB579DEE164161764F1E1FF43141A02EFF217AEE164127F581742DF43141401D8ABF5BEE1641AF29683F3BF4314120DE069239EE1641E78DF96E48F43141406230C113EE1641BA2CE2F354F43141603CFC78EAED16417F7394BF60F43141908567E9BDED1641AF1C5AC46BF4314140143F468EED1641051214DF73F43141A05CFE4366ED1641B441F42779F43141B00C663549ED1641A21CCB507EF4314140033FCB2BED16416F84355983F431419054BE070EED164189C9D24088F43141C0C91FEDEFEC16419EB244078DF4314150B5A57DD1EC164178832FAC91F43141B0C798BBB2EC1641FF4C848DA1F43141E0AF03674BEC1641B02E6EE3AFF43141A03EC65C6EEC1641E48FFD57B3F431415095917857EC1641AF4D77E1B6F4314150A9B2C740EC16417DBFAB7FBAF4314130385B4B2AEC1641A2256A32BEF43141E03ABA0414EC16417EAB80F9C1F4314130D8FBF4FDEB16417C6ABCD4C5F431415051491DE8EB16413187EEA0CDF43141B00B493CC0EB164110E8715DD6F431410099319A9BEB164122D5C7F4DFF43141B0D624917AEB16416632574FEAF43141807F6A725DEB16414E8FA653F5F431412032A88544EB16412FD49AE600F53141E026310830EB16414CE086A007F53141F0E061D425EB164134CDD1640EF531414033B4101CEB164149C8063315F5314160B0D0BD12EB1641C953B00A1CF53141105058DC09EB1641AB4E58EB22F531413064E46C01EB1641B7FC87D429F53141008E0670F9EA164184AEB60225F53141B0AACF55B9EA164176E9267193F6314100D42B65EDE81641DE93870594F63141D0E61DA7ECE816414F6210D839F731410079582835E816413C80B7C03BF73141702497FF32E81641AC8251A93DF73141604013E130E816415B0E2D923FF73141E07A14AE2EE81641F7065F7841F73141F0B71E852CE81641BD5B206143F731414085EB512AE816418173461449F73141A0BD309923E816410C71ACAB50F73141B044696F1AE816413A11363C58F73141B023B9FC10E81641407958C85FF731410013F24107E816410444FA6D65F7314180A8A4CEFFE716410808AE0F6BF731412021922FF8E71641038A23AE70F73141C005916AF0E7164125D24A4976F73141D069B77FE8E716410AF213E17BF73141E0CD1B6FE0E71641D9046F7581F73141901CD538D8E716417D2F4C0687F73141E0ACFADCCFE71641B61E85CB95F7314170643BDFB8E71641E0718A4E9BF73141406B2BF6AFE71641548D97EEA9F73141406EA38197E71641ED0027B0AFF73141005A078A8DE71641030A316DB5F7314160FE0A6983E71641F611A325BBF73141B02ACF1E79E71641F6906AD9C0F73141B03375AB6EE71641510E7588C6F73141C0F41E0F64E71641CB20B032CCF73141E0CBEE4959E7164134A2B4F708F8314180E09C11E5E61641E753BC2812F83141408E7C45D4E616419BB45C7F1BF8314190A00CD3C4E616410C8369F824F8314160AD8CBFB6E61641DBCBAA902EF83141B00DC50FAAE616416001DE4438F83141303E05C89EE616415617B71142F83141D06722EC94E616414FAD59464CF831419089FEC18CE61641C8613E9756F83141B02B1E3E87E6164199E266F960F8314120E7616684E61641A977C2616BF83141F041D13D84E6164173CD39C575F83141F07697C486E616410DC7BA1880F83141804603F88BE6164101000000020000000001000000FFFFFFFF0000000003, CAST(653195 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (653411, N'{AFDD93BF-2788-4173-A05C-8B23DCFDF8E7}', N'002911175', 117903, N'VIP877', NULL, N'2911175', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 9', N'Block 10', N'', N'THAT PART OF LOT 9, BLOCK 10, SECTIONS 14 AND 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:30:08.000' AS DateTime), CAST(N'2019-01-05T10:53:09.000' AS DateTime), 307, 71, 0xBD0B00000104050000002BC286A7EB3732418096210E428D1741CE88D2FEDC373241908A8EE4538D1741CE22DBF9E2373241504F1E96A08D17415717B791F1373241B03C2CD48E8D17412BC286A7EB3732418096210E428D174101000000020000000001000000FFFFFFFF0000000003, CAST(653411 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (653986, N'{495718E0-F1CF-4D60-B003-956CC25019F5}', N'015937500', 252487, N'PGP727', NULL, N'15937500', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'Block 32', N'', N'THAT PART OF LOT 4 BLOCK 32 DISTRICT LOT 933 CARIBOO DISTRICT PLAN 727 AS SHOWN IN RED ON PLAN 26804', N'0112', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:41:05.000' AS DateTime), 65, 53, 0xBD0B0000010409000000EF2FBB873083324180F7E461AC4A2E411BE258B726833241C8A145B6A24A2E4152E3A57B26833241F0EBC0B9AC4A2E412731084C30833241A0416065B64A2E41EF2FBB873083324180F7E461AC4A2E41AED85F7631833241F82A8796834A2E4139014DC43183324198180416764A2E41C8B12E6E2D83324170840DCF714A2E41AED85F7631833241F82A8796834A2E41020000000200000000020500000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(653986 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (654934, N'{032B3789-A633-4C9C-A125-22C445700142}', N'005183260', 118460, N'VIP10256', NULL, N'5183260', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 2', N'', N'', N'LOT 2, SECTION 37, VICTORIA DISTRICT, PLAN 10256', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:48:23.000' AS DateTime), CAST(N'2020-12-22T11:23:01.000' AS DateTime), 1130, 148, 0xBD0B0000010405000000C0EC9E9C8445324100197357FC8D1741FBEDEBE0854532418095430B298D174114AE478170453241001EA7E8268D174147C8073D6F45324180ED7C3FFA8D1741C0EC9E9C8445324100197357FC8D174101000000020000000001000000FFFFFFFF0000000003, CAST(654934 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (657103, N'{22B59C61-90A0-4292-8503-595B8EFC68FF}', N'014869438', 472105, N'NEP4321', NULL, N'14869438', NULL, N'7043038045', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot D', N'', N'', N'LOT D DISTRICT LOT 705 KOOTENAY DISTRICT PLAN 4321 EXCEPT PLAN R290', N'0163', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:18:24.000' AS DateTime), 12969, 646, 0xBD0B00000104060000004C94F626DC0E3A41A8726891C21824412E55302A210F3A41D0CCCC4CD118244123C286E7060F3A4180F90F69931624419AB20C11E80E3A41603D0A97FE1624418416D98EE10E3A41C09F1AAFF51724414C94F626DC0E3A41A8726891C218244101000000020000000001000000FFFFFFFF0000000003, CAST(657103 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (657521, N'{80157954-853D-451F-84F3-13D8F475E984}', N'015810372', 469783, N'NEP1360', NULL, N'15810372', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 30', N'', N'', N'LOT 30 DISTRICT LOT 6678 KOOTENAY DISTRICT PLAN 1360 EXCEPT (1) PART RED ON REFERENCE PLAN 97694I AND (2) PART INCLUDED IN PLANS 9887 AND NEP19242', N'0163', N'0018', N'NO', N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:31:15.000' AS DateTime), 31090, 855, 0xBD0B000001040C00000050FC1833CD5F3B41B888D29E7A5C2141E461A196BF5F3B4140D49A66395C2141C8A145B6FD5F3B4128FF217D225C2141CE6F5F270C603B41D0F21FD21B5C2141CB4B3709AF5F3B41588D972E6B5A2141F00DBE90735F3B4180A301FCE7592141B237F8C2645F3B4128098ADF375B214142BD52766A5F3B41E8B27B72995B214160EE5A22705F3B41C82B65D9C05B21417C0B24A8865F3B41500B24A8915C2141962A18D5865F3B41A857CA72935C214150FC1833CD5F3B41B888D29E7A5C214101000000020000000001000000FFFFFFFF0000000003, CAST(657521 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (657920, N'{C9399115-881A-490E-A6BC-D8A9344673CF}', N'004538439', 14260, N'VIP15821', NULL, N'4538439', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot A', N'', N'', N'LOT A, DISTRICT LOT 20, OYSTER DISTRICT, PLAN 15821, EXCEPT PART IN PLANS 18436, 43949, AND VIP57073', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 29, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:29:24.000' AS DateTime), CAST(N'2019-01-07T18:33:31.000' AS DateTime), 2081, 276, 0xBD0B000001041100000073F085292AA53141D032C4B1F0631B41C20E9CF328A53141B0029A88E3641B41476D4C542CA53141D0C929F9D9641B41ACEEF6802FA5314120816B5BCF641B41FD16577432A53141F0CCFCC0C3641B41C67A872935A53141109C1E3DB7641B41BADE099C37A53141E03895E4A9641B415EACCEC739A5314140CF85CD9B641B410AAF3BA93BA5314190AF510F8D641B41310E323D3DA5314150836FC27D641B41E67A13813EA5314100B542006E641B412F88C6723FA53141904FF1E25D641B41AE26BA1040A53141309938854D641B413F3EE85940A5314190B740023D641B418C75715B42A53141E059F5B9D4621B41B6FC87742AA53141F0770B24AF631B4173F085292AA53141D032C4B1F0631B4101000000020000000001000000FFFFFFFF0000000003, CAST(657920 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (659236, N'{F7411590-2DF5-4956-8A53-D1FBDB6B0006}', N'012096903', 472289, N'NEP698', NULL, N'12096903', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot E', N'REM Parcel 26', N'REM Lot 892', N'PARCEL E (SEE 4023I) LOT 26 DISTRICT LOT 892 KOOTENAY DISTRICT PLAN 698 EXCEPT PART INCLUDED IN SRW PLAN 16858', N'0028', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:36.000' AS DateTime), 5826, 526, 0xBD0B000001040800000074F2B0D005CF3941B082514915981E413B234A1BFFCE394150265385D8981E41838CB94B28CF39412051DA9B29981E4174F2B0D005CF3941B082514915981E416C1B0DC062CF3941501E16EA13991E41083411360DCF3941E02CB29D469B1E418AD2DE004ECF394100D9CEF76C9B1E416C1B0DC062CF3941501E16EA13991E41020000000200000000020400000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(659236 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (659374, N'{421901EB-A58E-4D2F-B10F-841E059695ED}', N'011726768', 254855, N'PRP3885', NULL, N'11726768', NULL, N'12540.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 5', N'', N'', N'LOT 5 DISTRICT LOT 2511 RANGE 5 COAST DISTRICT PLAN 3885 EXCEPT ANY PORTION OF THE RIGHT OF WAY OF THE DOMINION TELEGRAPH LINE HAVING A WIDTH OF 100 FEET WHICH MAY LIE WITHIN THE BOUNDARIES OF THESE LANDS AND EXCEPT PLAN 8676', N'0163', N'0001', N'NO', N'ICF', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:18:35.000' AS DateTime), 735, 133, 0xBD0B0000010404000000632041711CF42E41A869DE311C582F4153A60A461CF42E4190627F19BA572F41ECC9C382E0F32E4120A7E88812582F41632041711CF42E41A869DE311C582F4101000000020000000001000000FFFFFFFF0000000003, CAST(659374 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (659831, N'{D7D24F46-FD32-4DEC-95F2-AD6DAA9192EA}', N'013226258', 246698, N'PRP1076', 35711851, N'13226258', NULL, N'03542.920', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 18', N'Block 34', N'', N'LOT 18 BLOCK 34 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:49.000' AS DateTime), 282, 89, 0xBD0B0000010405000000C09F1AEF172E2C41CC0E9C1366A13041C59F1A2F182E2C4178BC74B36DA13041FA31E62E622E2C41382AA9136DA130416D4DF30E622E2C41C00E9C7365A13041C09F1AEF172E2C41CC0E9C1366A1304101000000020000000001000000FFFFFFFF0000000003, CAST(659831 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (661202, N'{0F1C36E3-559A-4AD5-8240-DE0F81BF0BC4}', N'003924408', 648292, N'VIP17236', NULL, N'3924408', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot A', N'', N'', N'LOT A, SECTION 5, TOWNSHIP 3, SAYWARD DISTRICT, PLAN 17236 EXCEPT PART IN PLAN VIP75120', N'0163', N'0027', N'NO', N'ICIS CADASTRE', 12, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-27T18:19:08.000' AS DateTime), 25726, 671, 0xBD0B0000010407000000D62B655987B02E4138575BB1E1F421418F87851AC0B02E4150F7E46129F52141A34E4093EFB02E41E000DE023DF52141FDD478A9A7B12E41D8A145B6FCF421418CA982D1A5B12E4150FE43BAFEF3214196658863DBAF2E41D0817306F5F32141D62B655987B02E4138575BB1E1F4214101000000020000000001000000FFFFFFFF0000000003, CAST(661202 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (661383, N'{2FCDBD3B-8112-4F95-8C2D-5C03F35EE955}', N'015506215', 488966, N'NEP1899', NULL, N'15506215', NULL, N'002349.500', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 20', N'Block F', N'', N'LOT 20 BLOCK F DISTRICT LOT 2919 KOOTENAY DISTRICT PLAN 1899 EXCEPT PLAN 6054', N'0146', N'0019', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:37:31.000' AS DateTime), 178, 64, 0xBD0B00000104050000001283C00A017F3841A09F1A2F95DD1D411C1FF40C137F384140BD52969ADD1D416E3D0A37FF7E3841003B704E5CDD1D419E1A2FFDF87E3841206666E67BDD1D411283C00A017F3841A09F1A2F95DD1D4101000000020000000001000000FFFFFFFF0000000003, CAST(661383 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (661424, N'{168869F9-0FF2-4C11-847D-2553A23A7575}', N'012869881', 4752615, N'KAP1OL', NULL, N'12869881', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', NULL, N'Lot 1', N'Block C', NULL, N'LOT 1 BLOCK C DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT TOWNSITE OF OLIVER', N'0095', N'0022', N'NO', N'MODIFIED-ICIS', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-05-05T16:39:37.000' AS DateTime), 110, 54, 0xBD0B000001040400000097779C82C46E364180E926B17B901D41A8605412D66E3641E0CD19D1B1901D411483C0CAD96E3641C04D62108B901D4197779C82C46E364180E926B17B901D4101000000020000000001000000FFFFFFFF0000000003, CAST(661424 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (662324, N'{E7F07C89-CB99-49BC-A42F-0C42E5F9C45A}', N'013977938', 295389, N'PRP968', 23708991, N'13977938', NULL, N'01263.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 8', N'Block 114', N'Section 2', N'LOT 8 BLOCK 114 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:28.000' AS DateTime), 172, 54, 0xBD0B00000104050000006EF90F693A772B4124A9135080643141865AD3FC3A772B4188BE9F7A91643141DB141D094F772B41D044D8509164314141C6DC754E772B41B8EFA726806431416EF90F693A772B4124A913508064314101000000020000000001000000FFFFFFFF0000000003, CAST(662324 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (662491, N'{B2D49579-DAA0-42CF-AFC9-34DBB3B4D495}', N'013120689', 3, N'NO_PLAN', NULL, N'13120689', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 7166', N'', N'', N'THAT PORTION OF DISTRICT LOT 7166 KOOTENAY DISTRICT INCLUDED IN REFERENCE PLAN 4666I SHOWN GREEN ON PLAN 8744', N'0163', N'0004', N'NO', N'ICF', 3, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-07-09T13:32:44.000' AS DateTime), 2608, 286, 0xBD0B000001040F00000044C6DC356D8138411000008020D61E41527424D774813841900E9CB3B2D61E41361AC07B98813841603E79D896D51E412F90A038AA813841F0E99532DDD41E4142696F709481384180EBE236C1D41E41EEFDD4D89281384160FDF675D4D41E41705F072E91813841F0BE0E9CE7D41E41F41FD26F8F81384150787AA5FAD41E4167764F9E8D813841E0966E920DD51E41CC22DBB98B81384150AE476120D51E41482575C2898138415005A31233D51E410BD044B887813841602EFFA145D51E41C8073D9B858138413072F90F58D51E4194559F6B83813841801AC05B6AD51E4144C6DC356D8138411000008020D61E4101000000020000000001000000FFFFFFFF0000000003, CAST(662491 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (662641, N'{A49CBCF7-A0A1-4476-9DB9-D96C21F81DBF}', N'015010996', 486897, N'NEP2907', 9398831, N'15010996', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'', N'', N'LOT 5 DISTRICT LOT 301A KOOTENAY DISTRICT PLAN 2907', N'0163', N'0004', N'NO', N'ICF', 7, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:20:32.000' AS DateTime), 497, 96, 0xBD0B00000104050000001058399423733841D073B51539761F41751283202573384190B6627FFC751F41DA8173C604733841B04694F6EE751F41EC5A423E03733841B0FB3AF02B761F411058399423733841D073B51539761F4101000000020000000001000000FFFFFFFF0000000003, CAST(662641 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (663098, N'{56445558-AADA-4930-9308-C3CF8B842BAA}', N'010243861', 1073133, N'NWP6119', NULL, N'10243861', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 5', N'', N'', N'EAST HALF OF LOT 5 EXCEPT: FIRSTLY: PART ON STATUTORY RIGHT OF WAY PLAN 71595 SECONDLY: PART ON STATUTORY RIGHT OF WAY PLAN 22374; SECTION 18 TOWNSHIP 16 NEW WESTMINSTER DISTRICT PLAN 6119', N'0002', N'0009', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-01-05T09:19:50.000' AS DateTime), 359, 93, 0xBD0B000001040600000006CE19F17D583341704469EFFBB21B41DF7A146E71583341308D976EFAB21B4172E7FB496B58334180CFD5D6F9B21B41F4E461E16A58334190A7574A56B31B41CBEEC9438A5833415072F98FFDB21B4106CE19F17D583341704469EFFBB21B4101000000020000000001000000FFFFFFFF0000000003, CAST(663098 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (663348, N'{E7F4232C-A9B4-455C-96CB-BEC44EB88B4D}', N'014150824', 1185278, N'NWP19544', NULL, N'14150824', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2014-04-23T00:00:00.000' AS DateTime), N'REM Lot 12', N'Block H', N'', N'LOT 12 EXCEPT: FIRSTLY; PART TAKEN BY HIGHWAY STATUTORY RIGHT OF WAY PLAN 65101, SECONDLY; PART ON SRW PLAN 45999A BLOCK "H" DISTRICT LOT 139 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 19544', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:35:45.000' AS DateTime), 505, 92, 0xBD0B00000104050000003ACD3B4E968A324110AE47E1AFEC1B413DE8D90CB38A3241300EBE30B4EC1B41A857CAD2B38A3241F031E62E6BEC1B416CB5155B998A32414059173767EC1B413ACD3B4E968A324110AE47E1AFEC1B4101000000020000000001000000FFFFFFFF0000000003, CAST(663348 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (665767, N'{409B48F2-B44D-43E0-9996-284AF3877920}', N'023190337', 1311675, N'LMP24759', NULL, N'23190337', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2013-01-14T00:00:00.000' AS DateTime), N'REM Lot A', N'', N'', N'LOT A DISTRICT LOT 20 GROUP 1 NEW WESTMINSTER DISTRICT PLAN LMP24759 EXCEPT PLAN EPP5186', N'0025', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:21:17.000' AS DateTime), 5410, 329, 0xBD0B000001040B0000001D6C783A00C732414082E24790E11C414CAF94850CC73241F0285C8F9AE11C41A9C64BF718C7324130871659A1E11C413792CB7F25C732411076E09CA4E11C41F2FDD4F860C7324170A7574AA4E11C411E6C785A67C73241C0B6D180A2E11C41C35B20217DC73241C035CD3B69E11C4130431CEB82C7324100D044580EE11C410812141F83C732417009F9A000E11C413CEF38C502C73241B06A2B76E2E01C411D6C783A00C732414082E24790E11C4101000000020000000001000000FFFFFFFF0000000003, CAST(665767 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (667568, N'{223E6DB4-15E3-4DB1-AAC9-C91DDE8B02BC}', N'011412160', 3, N'NO_PLAN', NULL, N'11412160', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 1186', N'', N'', N'THAT PART DISTRICT LOT 1186 SIMILKAMEEN DIVISION YALE DISTRICT AS SHOWN RED ON PLAN ATTACHED TO DD 1315', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:26.000' AS DateTime), 16230, 1144, 0xBD0B000001040500000060FE435A5142364130295C0FDBCC1C414E158C6A494236419095430B5FD51C4152E3A53B674236411080B74046D51C41F83A708E6F4236413006F096DDCC1C4160FE435A5142364130295C0FDBCC1C4101000000020000000001000000FFFFFFFF0000000003, CAST(667568 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (668990, N'{99803349-D553-44D0-91ED-44BCD389A7FC}', N'015497500', 486241, N'NEP2204', NULL, N'15497500', NULL, N'01392.005', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM PARCEL A', N'REM Lot 7', NULL, N'PARCEL A (SEE 103612I) OF LOT 7 DISTRICT LOT 7173 KOOTENAY DISTRICT PLAN 2204 EXCEPT PLAN NEP64194', N'0015', N'0004', N'NO', N'ICF', 1, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-08-14T12:20:15.000' AS DateTime), 1226, 141, 0xBD0B00000104070000006BDE716AB6823841006C78FA71311F418226C2E6C78238412090A0F80D311F41412CD4FAA6823841E0F97EEAB1301F4170CE8872A682384190D556ECB4301F4136D6C5ADA582384190AACF55B9301F4150E3A57B95823841203C4ED115311F416BDE716AB6823841006C78FA71311F4101000000020000000001000000FFFFFFFF0000000003, CAST(668990 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (670051, N'{43494539-E1E9-4EB4-80E5-C83DA0237E1D}', N'009325263', 137263, N'VIP51', NULL, N'9325263', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Parcel B', N'REM Lot 69', N'', N'PARCEL B (DD 375487I) OF LOT 69, SECTION 7, VICTORIA DISTRICT, PLAN 51 EXCEPT THAT PART IN PLAN 19045', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:44:10.000' AS DateTime), CAST(N'2019-08-07T12:08:18.000' AS DateTime), 989, 146, 0xBD0B000001040C0000004DDA1BDC433A3241F0891F63C17F17416991ED7C3F3A32414017B751EA7F174150401341373A3241D042AD69378017418738D6C5363A324130AE47E163801741C4293AD2343A324100917EFBA38017414182E287483A3241B076BE1FB5801741841F63CE4A3A324190C954C16C80174170A3019C4B3A324170B4C8F623801741C00E9CF34A3A3241E053E325DB7F17410F2DB25D4A3A3241F0051214C77F1741F73A700E443A3241502AA993C17F17414DDA1BDC433A3241F0891F63C17F174101000000020000000001000000FFFFFFFF0000000003, CAST(670051 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (670158, N'{3679314D-CB47-4668-9054-27002D4FF101}', N'001673696', 3191875, N'VIP1215OS', NULL, N'1673696', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, NULL, NULL, NULL, N'THAT PART OF THE UNNUMBERED PORTION OF MALAHAT DISTRICT SHOWN COLOURED RED ON PLAN 1215 OS LYING BETWEEN THE WESTERLY BOUNDARY OF LOT 89 OF SAID DISTRICT AND THE SOUTHERLY BOUNDARY OF LOT 7, BLOCK 52, PLAN 218B AND CONTAINING 16.36 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 20, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T18:16:47.000' AS DateTime), CAST(N'2021-02-11T13:52:00.000' AS DateTime), 51417, 4399, 0xBD0B00000104630000003CAB3EB71AED314140423E688F5F1841DEE995F21BED314130FBCBEEFB5E1841032B87B6F1EC3141506B09F9665F184144E12260D8EC31418093FFF8AE5F1841C5EACFBCC0EC314120514CB1FF5F1841469A6BFCAAEC314190827C7E58601841E15E014B97EC314110BCBFACB8601841749471D085EC3141906154791F61184193C420B076EC3141300612148C6118415ECC5DAB27EC3141D0CAA1450B641841B107997B1DEC314140E5416487641841A8711EED15EC3141200EC27B066518412BF4790D11EC314180524CA887651841DF3068E50EEC3141A02E4F020A661841C4D7C6780FEC3141C0AC1CA08C661841BBB88DC612EC3141F04F8D970E6718412E562AAD14EC3141105CE7C1946718411ECD035915EC314190227F1C1B681841FE19DFC914EC3141604E3179A1681841C264EDFF12EC314170D1D9A92769184146F0CBFB0FEC314180BD6380AD69184128E483BE0BEC3141B016D9CE326A1841703480B707EC314170DB6880986A1841AE0017F402EC314150DF83E90C6B184191BBA78300EC31413069AD77826B1841A156226A00EC31415064246DF86B1841D403B0A702EC3141C0FE800B6E6C18413BF3B23807EC314150FEE794E26C18415229CC150EEC3141A0383D4D556D1841DB64E73317EC31419036537BC56D18413B014D8422EC3141701E166A326E18413980B74066EC3141501E166A827018416CC164EA71EC31410093F276E57018416EF4889A7CEC3141A07257424A7118416A03FA4C86EC314140F1FEA4B0711841DFB1F0FD8EEC3141D091047718721841AE150AAA96EC314180B5F48F81721841ABE8484E9DEC3141705DDCC6EB721841218E75F1CCEC3141203D9B558376184145993989D1EC314100B39065EF761841CC49AA04D4EC3141A06B198F5C771841B035F25FD4EC3141E08A9C29CA7718410562849AD2EC314120B8D28B37781841C51C1DB7CEEC3141D08ECB0CA478184126C3BDBBC8EC3141308BF2040F7918414A7BA3B1C0EC3141F0D811CF7779184136EF38A5B6EC3141B08251C9DD791841A413D0A47EEC314180A7574A747B18416C6FF0251BEC3141103333B38F7E1841D266D50736EC3141B05D4BC88C7E1841DAC56D3498EC3141009D11A5727B184120B9FCE7C6EC314190B43778127A1841267B54B1D2EC3141D0656824A679184159E2C835DCEC3141C04C454D367918414607D164E3EC314160E11BB5C3781841DFECF131E8EC3141207B02234F781841172FD494EAEC314110667E61D9771841CE805289EAEC31416013243D6377184195DF800FE8EC314140A93383ED7618410D71AC2BE3EC3141E06D3400797618411648509CB3EC314130A913D0E3721841C8AD950AADEC3141701F61A86D721841425B05FEA4EC314180E2FEF9F87118415C0DDB7B9BEC3141D013CA10867118417C69458A90EC3141602E79371571184174F8613084EC3141D0756BB7A67018415A86387676EC3141003E79D83A7018411A8C4AAA34EC31413055C128006E1841811D554E2AEC3141F044EB0B9B6D18419F78CEF221EC3141108E0C03336D1841C3DFBAA41BEC314190382DB0C86C18414035EC6D17EC3141A0FDE5B85C6C184161B0F25415EC3141A05B5EC5EF6B184142A4125D15EC314110B1467F826B18416A693F8617EC3141E0F2CF90156B184174711BCD1BEC3141D09CA2A3A96A18410C8195E31FEC3141400A46A5426A18415D5D385124EC3141405EFDD8B869184142BB827727EC31412089FC7C2E691841F379595529EC3141403BD9C1A3681841A1CE14EA29EC3141D08B4AD818681841267F803529EC314160E017F18D6718418BF4DB3727EC314160C8073D03671841440AD7E326EC3141C076BE1FF16618419D45B67325EC3141B0A145B69F661841D08425DB24EC3141C039EC9B3766184104EF578326EC314150D7A4B0CF651841F8CE1F692AEC314160BAC6BB686518412E2B038530EC3141F077D08203651841411D4ACB38EC31417020EDC7A06418419B4C152C43EC314180CB7F484164184109B5A6F991EC3141000C93A9C2611841481557E79FEC314180D040B65E6118416FDFD503B0EC31416019C52700611841A48AF52DC2EC31416015D8C0A7601841FD214E40D6EC3141706C8537566018416B4C8A11ECEC3141F05BB5330C6018417D6ABC7403ED314170F1D24DCA5F18413CAB3EB71AED314140423E688F5F184101000000020000000001000000FFFFFFFF0000000003, CAST(670158 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (672166, N'{38A095A8-ED37-4F74-B973-7EEA7A6092E8}', N'010910611', 3, N'NO_PLAN', NULL, N'10910611', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 7873', NULL, NULL, N'DISTRICT LOT 7873 KOOTENAY DISTRICT, EXCEPT PART OUTLINED RED ON PLAN R61', N'0163', N'0004', N'NO', N'ICF', 1, NULL, N'COGO IN SOURCE', N'0', N'68329', CAST(N'2020-11-17T11:00:36.000' AS DateTime), CAST(N'2020-11-17T11:05:28.000' AS DateTime), 68166, 1307, 0xBD0B000001043C0000006709F9003DE23841F8361A80087C2041A413D06439E23841D0CAA1C5FD7B2041703480B735E238419037F842F37B20418CEB51F831E23841D83311F6E87B2041B18BDB282EE2384168C0CAE1DE7B2041AE9465482AE2384130CB1007D57B20414B6B9A5726E238411066F764CB7B2041A89BC480FDE13841D8B7AFC3657B2041EC1FD28FEAE13841900D4FAF937C2041B125E4A3E4E13841D83B4E11F27C2041093D9B95CCE13841606E1283717E2041BAD100DE56E23841A8285C4F927E2041624BC8072DE33841A0D6346FC97E2041D319513A27E33841304ED151B17E2041B92ABD5725E3384180ED0D62A67E2041F2C6BE4723E33841C06345939B7E20419ED9E50A21E3384190D969E8907E2041B087CEA11EE3384190AC6364867E20415E05210D1CE33841F8A4100A7C7E20417368914D19E33841802C43DC717E20414E5144A216E33841F00DCBC4687E20419EC8BBC913E33841B8A9DCE45F7E2041654C18C510E3384160AAFB3F577E2041D8D18B950DE33841F85694D94E7E2041084C593C0AE33841383AFAB4467E2041422CD4BA06E3384118CF66D53E7E2041C56D3400BFE23841C8D2DEE09E7D2041B8F36895BDE23841B08237AD9B7D20417D97FA2EBCE238410063EB71987D204180A7F3CCBAE23841683D122F957D2041D7515E6FB9E23841E012C4E4917D2041C0A34416B8E23841081C19938E7D20419E89B0C1B6E2384188C7293A8B7D2041DE581797B3E2384118A089F0827D2041F0F325FBB1E23841E07536897E7D2041C445EA66B0E238413065C7167A7D2041FE7977DAAEE23841106B7299757D2041BC5DE055ADE2384198096E11717D2041B85E37D9ABE23841C043F17E6C7D2041728A8E64AAE23841F89B33E2677D2041F05A42DE94E23841204A7B83827D204196F10E8A91E2384130510567777D20415BF0D95F8EE23841F010E4196C7D2041751355608BE23841D033929E607D2041C7B9288C88E23841608694F7547D204107C0F3E385E23841306A7927497D2041D25D4B6883E23841E844D8303D7D2041748104A562E23841686FF085987C2041CEB12EEE5FE238414038D6858B7C20417EB740225DE2384138A089B07E7C204175A52C435AE23841F0384507727C2041BC9F1A4F57E23841B04C158C657C2041CC66D54754E238418848BF3D597C204138DF4F2D51E23841D82D90204D7C204120D26FFF4DE2384160D71232417C204162764FBE4AE23841B033A274357C2041A067B36A47E23841188C4AEA297C20418D5CFE0344E23841282AA9931E7C20410C71AC8B40E238418044696F137C20416709F9003DE23841F8361A80087C204101000000020000000001000000FFFFFFFF0000000003, CAST(672166 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (672506, N'{F3A8BE7D-17FE-4FEC-8512-40B192D8A6F6}', N'000446670', 3, N'NO_PLAN', NULL, N'446670', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART 176', N'', N'', N'BLOCK 176, MALAHAT DISTRICT, EXCEPT THOSE PARTS IN PLANS 249 RW, 518 RW, 13486, 13743, 35492, 41475, 50295, 1065 RW AND VIP82580', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 12, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T20:18:33.000' AS DateTime), CAST(N'2021-02-25T09:41:45.000' AS DateTime), 1467082, 10079, 0xBD0B00000104B7000000085F98EC1F073241C0F753635B8E1841034D84ED5D073241F0F0F44A468E184155F5B9FA9D073241D086A7D7658E18413E355EFAB607324120C3D3AB8B8E184112E02D10C907324190711B0DB78E18413EC6DC15BC073241C02B6519CF8D1841A33C2C349107324180FF90FECA8A1841FA97DDF37E07324150454772C78A1841AD59F5592607324140780BA4B68A1841575BB17F81063241005D6DC5968A1841C854C1A87906324120F2414F958A184132992A7873063241D09DEF27948A18414AD8F0B41D06324100696FF0838A1841D244D8F0C0053241C0D85F76728A1841FB31E64EB9053241A0734614888D18413BB4C8B6B805324100FBCBEEC28D18413FAD691EB8053241401CEBE2FD8D18410B6822ECBE05324130FF217DCB8D1841DBF0F46AE5053241A0EFA746AF8D1841063D9B5501063241E0C56DB4A08D1841C10E9C730C063241D06F5F074D8D18411873D7127D06324170A0F8B1E28D1841B496906F95063241B0BB9690308E1841DEBE0E3CB7063241208B6CE7628E184183FB3AF00007324160795828938E1841C239236A0C07324130F5B95A928E1841085F98EC1F073241C0F753635B8E1841CFAACF75DF07324100A69BC48E8F18414082E2C7F90732412028ED8DFF8F18416A226C78170832416086385635901841A3A2239949083241004772F953901841F85C6D456808324160355E3A0C9018414D6B9A1774083241C0E904B41A901841A9A44EE092083241402EFF21D78E184124D26F5FD508324190A982D1138B18412D4CA66A27083241D0809543EA8A18411FB9FC47CE07324130A60A46D78A18412C5C8FA29B07324160DB6800CD8A1841EB95B24CC2073241C0293A92858D1841CFAACF75DF07324100A69BC48E8F1841423EE8F95F033241C0B359756E901841B07268D160033241D0550EAD5F901841F77E6A5C4403324190AC8B5B5A901841C40E9C3350033241701AC0DB74901841423EE8F95F033241C0B359756E901841413EE8F96D08324160C6DCB556901841A111A55D70083241903E575B409018417858A85569083241809ECD2A3D9018415BD3BC2352083241C07F483F75901841413EE8F96D08324160C6DCB55690184179BE9F1ABD083241A067B36A218F1841BFC11706C408324120CCEE49298F1841555BB13FAB083241F06E81046E90184174348057CB083241B035CD3B769018412831084CF108324110696F70479018417D8CB92B23093241F0E68C28738F1841DFB5845C7B0932415075029AD78E184168BC74D38009324180B88D06D18E18411BCA2C707E09324120ED4979B58E18411313E59D7C09324170EBF93C998E1841D9CDAF5F7B09324150A239817C8E18416B85A5B77A09324100E27B765F8E18419A90E1A67A09324170ADB84D428E18413734802D7B09324110A41A38258E18417A739E4A7C093241401EAC66088E1841AE8E5BFC7D093241C07A040AEC8D1841E72DDC3F800932419032F651D08D184100324F118309324150353E6DB58D18415424F46B86093241F01935899B8D1841BE39234A8A093241A0A982D1828D1841DC5817D796093241F01B0D60338D184194ED7C5F98093241F01873D7588C184139DF4F0D9A093241B05BB1BF398B18413BCD3B6E48093241302653852A8B1841663BDF4F09093241603D0AD71E8B1841A33C2CB4EE08324190218EF5A78C184155CA32C4EA083241A010C7BAA68C1841009A081BE2083241209A771C1F8D184150E3A5FBD808324120B072E89D8D184179BE9F1ABD083241A067B36A218F18415DA1D6F42109324150043411829018418404C50F260932413089416080901841489D802652093241D0F753E33D901841F575E05C7109324170C0CA2124901841C8DCB5A491093241305AD33C18901841DEC798DB92093241500AD7236B8F18412EB29D4F88093241601058B9298F1841F25A42BE5E093241A0839ECD8E8F184193C2F58855093241305EBAC93790184163FE43BA340932417082E247529018415DA1D6F4210932415004341182901841BB4082E245083241D05E29CB83901841D55F76EF12083241D06B0979599018414A2EFF61F307324150674469189018419AB20CD1E30732417009F9A0DC8F1841AFD85F56E7073241E04DF38E1B90184198218E35F307324130C807BDEF901841E04603D8F4073241108F53F40C9118410DC7BA98F6073241C0F831E608911841C98F31F7FF07324100C7BA38F390184126426C100A083241B0873A6ADC9018416E0AD96D14083241400AB09BC79018417FFE22091F083241B029D1D9B49018419569CFDB29083241203F1330A4901841A3C141DF340832414022A4A8959018415BB1BF0C4008324190F1634C89901841BB4082E245083241D05E29CB839018413AAB3E37FB08324160575BB1E4901841E76A2B362B093241C0B6627F4D9118416E1283404D093241406C78FA629118414872F9CF6E093241708F31773E9118415B20413190093241209B551FE7901841A223B95C91093241C01873574090184193A98211720932415023DB7952901841C4073D9B52093241B056ECAF6B90184121EBE25627093241900E9C33A8901841D23B4ED11C093241F0EDEBC0AF901841666FF0E510093241D0915C7EAD9018413AAB3E37FB08324160575BB1E4901841E8D9AC5AEC08324190DB680044911841B4DA8A3DC5083241B07AA5AC30921841010000A08A093241106A4D7349921841C476BE9F8E0932411079E9A67A911841FD6E81447C093241B0779C2299911841A5A44EC050093241208E75F1D79118414AEA041423093241B035CD3BBA911841E8D9AC5AEC08324190DB6800449118413FF1636CB7053241E03B4ED1428E18417DB740E2B005324150E17A94CA901841DC5F764F97053241102428FEC590184183FB3A50C204324140CC5DCB9F901841BE86A777C1033241E012F24171901841FAE461416D033241C0FFFFFF619018418C6CE77B6703324170FC18F39990184106F016684E03324170302A29A090184143FAEDCB2903324190F8C2645590184149B6F37D90023241E07F48BF389018415D3255B069023241B0832F4CB39E18418C5CFE639A05324140386744409F184148696FB0B1053241B0D40968419F184195BB96D0B0063241C0938785619F1841204A7B8328073241F0B27BF29C9B184157D3BC432E07324140EF38456F9B1841E62631083607324100EE7CBFD49A18415EDC46034D073241F0DF2D10209A18417BE9263161073241A06800EFCE9918412DC4B10E7607324160832FCC15991841DB8173C652073241D0EBC0B90A971841D419517A4307324150438B6CC8961841514013012E07324110DB8AFDE5941841A5ADD85F15073241A0666666BD9318417E7346B40207324140D2DEE053931841F74A59660A07324100EEEB403C93184173CE883212073241200C022B259318416B226C181A0732418009F9A00E9318415474241722073241B0E53FA4F8921841AAE8482E2A073241C0581737E392184133FF215D32073241B087855ACE9218419A6E12A33A0732414097FF10BA92184193ED7CFF4207324100D1225BA692184179E09C714B073241C010C73A93921841C25296615607324130E2C7987B921841DDE00BB3EB0732416008AC1C22911841FA065FB8E907324130C807BDFE9018419A2A1875DB073241C0847CD0FF8F18417F8CB96BD6073241905E29CBA58F1841FBC2646AD10732416082E247918F1841048A1F03C507324170257502388F1841FA53E365C0073241B054C1A8CF8E1841C620B092B20732415072F90FAE8E1841875AD39C970732417026C2868D8E18418BEB513859073241007E1DB86D8E18419E33A21426073241604013617F8E18414D7424171007324110BC7493BC8E18413F0AD783FF063241902D219FBD8E18416544696FB106324140BC7493848E1841DA68002F8E0632419075719B578E18412D211F9477063241C0270F8B0C8E1841BE7D1DB81106324100075F187E8D184143BD52760706324140C807BDC78D184160C3D3EBE60532410032E62EDA8D1841F697DDD3C3053241706B9A77FA8D18413FF1636CB7053241E03B4ED1428E18410A0000000200000000021B0000000228000000022D00000002320000000250000000025B000000026B0000000277000000027F0000000B000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003000000000300000003000000000400000003000000000500000003000000000600000003000000000700000003000000000800000003000000000900000003, CAST(672506 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (673255, N'{BFBFE174-8FC7-461D-9A1B-CDBAE3BBEBAD}', N'001637371', 127140, N'VIP718', NULL, N'1637371', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'', N'', N'THAT PART OF LOT A, SECTION 32, METCHOSIN DISTRICT, PLAN 718 SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 27391 AND CONTAINING 0.7 OF AN ACRE MORE OR LESS', N'0079', N'0005', N'NO', N'PMBC-COMPILATION', 2, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:54:28.000' AS DateTime), CAST(N'2021-05-30T19:21:27.000' AS DateTime), 2835, 263, 0xBD0B000001040C000000073411D6EA083241C09465082BE616417F2F4CC602093241C04082E2F6E51641D68AFDE5EF083241703EE8D975E5164179A52C63E808324150567D2E44E51641479D8086CD083241D0718A8E92E41641F6EDEB40B5083241207B832FC5E41641AF1C5AA4D8083241E0FEB2FBAEE516411BD9CE57DD083241F02B6519CEE516416819E2F8E10832419075711BEDE5164150E3A57BE6083241A0711B0D0CE6164133211F94EA0832415033333329E61641073411D6EA083241C09465082BE6164101000000020000000001000000FFFFFFFF0000000003, CAST(673255 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (674114, N'{D72F5CDF-39A6-475D-9F44-5271DFC0E591}', N'016632842', 3, N'NO_PLAN', NULL, N'16632842', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'3', N'28,22', NULL, N'FRACTIONAL LEGAL SUBDIVISION 12 SECTION 3 TOWNHIP 28 RANGE 22 WEST OF THE 5TH MERIDIAN KOOTENAY DISTRICT EXCEPT RW PLAN 633B', N'0163', N'0006', N'NO', N'ICF', 23, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-06-23T16:21:09.000' AS DateTime), 147528, 2287, 0xBD0B000001045F00000068F7E4A18FC23841B817269344C12641BE86A7779AC2384108BE30593CC12641BBC876FEA0C23841A067B32A36C126418D7EFB5AB2C2384190B740C227C1264162E5D0E2B7C23841806ABCF424C126414AD8F094BDC2384188FB3AB023C12641B08BDBC8C2C2384158BA490C24C12641D400DE62C9C238419825E40325C12641C25B2081D6C23841E0D0225B29C1264112F2410FE2C2384168B1BFAC2EC12641D41951FAE8C2384198C64BF732C12641F90FE997EEC238416044692F37C12641C8DCB564F3C23841089C33E23BC1264102780B24FFC23841C06D348046C1264196559FEB03C338414845477249C12641F6E4618110C33841706FF0054FC12641FDD478C91BC3384108705F8754C1264164AA603428C33841A0AEB6A259C12641167C61F233C33841E81648105EC126416809F98040C3384140B7400262C12641EB73B51546C338410819739762C12641ACFA5C8D4DC33841E06A2B3661C12641260F0BB554C33841881B0DA05FC1264154B1BFEC68C33841083B70CE58C1264110F241EF6DC33841505BB1FF55C12641FB4A598678C3384148FAEDEB4FC126410E4FAFD47EC338416007CED94AC126410E022B8784C33841782F4C6645C12641ADBFEC3E90C3384150F38E5335C12641FAC264AA94C33841784DF30E2DC126416A4DF34EB5C338419036AB3E32BF2641D0B359B522C23841B81C5A24C7BE26410AD7A330F1C1384120E9B7EF0CC2264141AD69BE02C238412868226C15C2264160CC5D6B08C238410855C1280AC2264164B3EA730CC2384100BBB80D01C2264129ED0D9E15C23841A859F5F9EEC12641BCD32B251FC23841E8D0225BDEC126414A840DAF22C2384148D26FDFD6C126417E2F4C0627C2384180734614CFC126416EC5FE722CC2384140772DA1C5C1264178A52C433FC2384110CB1047A7C126415EE5D00244C23841D8AACF55A1C12641BF42AD294AC23841000534D199C126416EE7FB894FC238416095D44994C12641C50E9C1354C23841984C158C8EC126414A25754259C2384190C64BF788C12641A6E848AE62C2384170D3BC237BC12641B88D069066C2384190438B6C74C12641E6482E3F6AC2384100B150AB6BC12641C8073D5B6FC23841C0FFFFFF61C1264126F6971D74C23841C87268D15AC1264198218EB579C23841C8E3141D54C126418C0D4F8F7FC23841081B9E1E4FC1264168F7E4A18FC23841B817269344C12641EEB050CB6FC33841E05F768FB4C126418C5CFE8363C3384180711BCDBAC1264198081BBE4EC3384158234A3BC3C126413A80B72049C33841C8DCB544C6C12641F73A70EE41C3384168621098C9C12641E35817B73CC33841B0825189CBC126411D166A8D35C338413892CB3FCDC126419206F0362FC338412895D449CDC126418B0D4F0F27C33841C8164810CCC12641226C781A19C33841C0051294C8C12641AAADD8DF12C3384140E6AEE5C6C12641CB88D29E0CC33841906FF085C4C12641E2E00B1305C33841C06054D2BFC126417E8CB90BFFC2384148575BF1BAC12641A0802622F0C23841507424D7B1C1264188F4DB57E2C23841C0B359B5ABC12641D8ACFADCDCC2384150CB1087A9C12641024D844DD6C238411841F1E3A7C12641FE187377C8C23841D07F48BFA8C12641D0AACFD5B4C2384198AF03A7B0C12641A089B001A7C2384100CE1991B5C12641221895D4A1C23841E8E61DE7B7C126411C4A7B039DC23841B86054D2BBC12641628FC2F596C23841C0A8A4CEC2C126417DFB3AB08AC23841401AC05BD2C12641676FF0057FC23841F8FFFF7FDFC12641A233A23472C23841103FC65CEEC126415EBA492C6CC23841C819511AF7C12641002B873667C23841788CB96BFFC1264141FAEDEB5CC23841C0627FD912C226414E8D974E58C2384120E9B7EF1DC226416ADE716A55C238413811363C27C22641186A4D3372C33841B072689170C2264199C4203082C338417838D6853BC22641A6ADD81F86C33841D86054922FC226410AD7A3F08CC3384110F77560A1C1264180D0B31985C33841A06054D2A7C1264117AE47C17EC3384148FAED2BACC12641145839D477C3384108C05B60B0C12641EEB050CB6FC33841E05F768FB4C12641020000000200000000023700000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(674114 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (675047, N'{E6A3677A-B8B6-418A-99C0-DB1A41FF765D}', N'004980085', 646000, N'VIP12174', NULL, N'4980085', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', N'Block 2', NULL, N'LOT 3, BLOCK 2 OF BLOCK 29, COMOX DISTRICT, PLAN 12174 EXCEPT PART IN PLAN 1600RW.', N'0163', N'0027', N'NO', N'ICIS CADASTRE', 5, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2021-09-01T15:16:34.000' AS DateTime), 1986, 321, 0xBD0B000001040C000000FC7E6ABC8F363041D8C6BA384B78204106F9A0C79936304168DE710A487820415027A0099A363041281AC05B2E7720417FBD19BF9836304180EF75142D77204146E1FA7A97363041004A7BB42B772041EB8CB93D96363041A847503C2A772041033BC9079536304110D57DAC2877204145BC9AD993363041787A950527772041C40E9CB392363041F026314825772041C1C117C68E363041E0FBA9F122772041CCDCB5C4883630417044696F1E772041FC7E6ABC8F363041D8C6BA384B78204101000000020000000001000000FFFFFFFF0000000003, CAST(675047 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (676104, N'{F041091F-EEDF-47EC-939C-25D90C53608A}', N'015196518', 471025, N'NEP2605', NULL, N'15196518', NULL, N'02728.000', N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', NULL, N'REM Lot 14', NULL, NULL, N'LOT 14 DISTRICT LOT 4588 KOOTENAY DISTRICT PLAN 2605, EXCEPT PART INCLUDED IN PLANS 14312 AND NEP64348', N'0036', N'0018', N'NO', N'ICF', 2, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-11-08T15:55:35.000' AS DateTime), 193, 84, 0xBD0B0000010408000000288716597C4C3B41900B24A883142141A411A5DD794C3B4100AC1C5A8514214154FC1873914C3B41B086A797BD1421412A772D41964C3B4158B5A639B81421411E3867C4934C3B41B8FA5CEDB11421417CBE9FFA874C3B41B88BDBA89614214117AE47A17E4C3B4138A7E80881142141288716597C4C3B41900B24A88314214101000000020000000001000000FFFFFFFF0000000003, CAST(676104 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (676638, N'{2E7BECA9-D372-45A6-8559-70A53BE410CD}', N'004572688', 1660, N'VIP13444', NULL, N'4572688', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 5', NULL, NULL, N'LOT 5, DISTRICT LOT 79, NANOOSE DISTRICT, PLAN 13444 EXCEPT PART IN PLAN, 41577', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2021-12-08T14:51:18.000' AS DateTime), 1959, 220, 0xBD0B00000104050000008C7CD0F31F443141C0CD19519AE21C41880D4F4F30443141B0B662FFE0E21C4107D7A3708244314160DE710AA1E21C419A900F9A7044314120A60A4646E21C418C7CD0F31F443141C0CD19519AE21C4101000000020000000001000000FFFFFFFF0000000003, CAST(676638 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (677997, N'{B6103C6F-4FE6-46D2-8C64-E858CC2E7132}', N'005700558', 496129, N'NEP546', 90054456, N'5700558', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 15', N'Block C', N'', N'LOT 15 BLOCK C DISTRICT LOT 208 KOOTENAY DISTRICT PLAN 546', N'0056', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:43.000' AS DateTime), 220, 74, 0xBD0B000001040500000008819583452F3941908026C285DE2141F1F44A59432F394128C2862777DE2141C76D3420292F39414013618386DE214159A8352D282F394190B20CF196DE214108819583452F3941908026C285DE214101000000020000000001000000FFFFFFFF0000000003, CAST(677997 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (679147, N'{1BEA4D8A-5931-4BBC-B07F-4163968058A5}', N'003133427', 489642, N'KAP87', NULL, N'3133427', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 1', N'Block 4', NULL, N'LOT 1 BLOCK 4 DISTRICT LOT 377 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 87 EXCEPT PLANS KAP61550 AND KAP61551', N'0080', N'0019', N'NO', N'ICF', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-05-07T15:04:18.000' AS DateTime), 15903, 520, 0xBD0B000001040900000093180456ED4B3741B0749318D2C11C41117A360BFD4B374130DD24069CBF1C41A5D634CFEA4B3741D033113694BF1C4155C1A8E4CB4B374160BC741386BF1C41201FF46CB14B3741A0A67947DFBF1C416E006F01604B37418056ECAFF1C01C41FA4A59665B4B374170D6346F90C11C411F6C785AA44B374180802642B1C11C4193180456ED4B3741B0749318D2C11C4101000000020000000001000000FFFFFFFF0000000003, CAST(679147 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (679364, N'{2B0B2724-2CC6-485B-9382-FFFBC9F351D5}', N'004786068', 126364, N'VIP12556', NULL, N'4786068', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 17', N'', N'', N'LOT 17, SECTION 6, RANGE 3 EAST, NORTH SAANICH DISTRICT, PLAN 12556 EXCEPT PART IN PLAN 1332 RW', N'0090', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:35:46.000' AS DateTime), CAST(N'2019-01-05T10:53:21.000' AS DateTime), 377, 123, 0xBD0B0000010407000000433EE879012D324150A60A4604BE1841DD141DA9032D3241C02C431C2DBD18415BD3BC03F72C3241B02D211F2BBD1841C0A8A4EEF92C3241702BF69773BD184195C42010FD2C3241801FF4ECBBBD1841760B2468002D3241E099081B04BE1841433EE879012D324150A60A4604BE184101000000020000000001000000FFFFFFFF0000000003, CAST(679364 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (679788, N'{04FBF35A-A5EC-4700-837C-D488F390D017}', N'001592734', 141191, N'VIP1291', NULL, N'1592734', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 16', N'Block 8', NULL, N'THAT PART OF LOT 16, BLOCK 8, SECTION 9, ESQUIMALT DISTRICT, PLAN 1291 INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0154', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:14:46.000' AS DateTime), CAST(N'2020-05-13T16:42:44.000' AS DateTime), 436, 103, 0xBD0B000001040B0000008C06F0569F2B3241605F07CE329B17417778AA6FA52B3241E09B61302C9B1741D50DB179AB2B3241806934C7249B1741463C5B73B12B324170BF88941C9B174199F7045BB72B324160EA9E9A139B1741F4240F2FBD2B324140ECEDDB099B1741170DE0EDC22B3241D0D0225BFF9A17416F348017C02B3241800B2428DC9A1741D200DE02C02B32410013F241DC9A17411C85EB51962B3241B0DD9387109B17418C06F0569F2B3241605F07CE329B174101000000020000000001000000FFFFFFFF0000000003, CAST(679788 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (681061, N'{693FCCE0-3128-40AB-B9F9-3F79DA225EF9}', N'001585878', 128454, N'VIP1425', NULL, N'1585878', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 11', N'Block 2', N'', N'LOT 11, BLOCK 2, SECTION 16, VICTORIA DISTRICT, PLAN 1425', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:57:07.000' AS DateTime), CAST(N'2019-01-05T11:04:25.000' AS DateTime), 567, 102, 0xBD0B000001040600000074A301BC032E3241A001BC058D991741C4DCB5E4EA2D3241102E9020CB991741FC6C56FDEF2D324130FBCB6E0D9A1741828CB9AB0C2E324120355EBAC599174171C5FE92072E32410068226C8399174174A301BC032E3241A001BC058D99174101000000020000000001000000FFFFFFFF0000000003, CAST(681061 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (682419, N'{90DF001E-8F8E-44B1-BC7F-833F25EC5F6B}', N'009752056', 870137, N'KAP9062', NULL, N'9752056', NULL, N'73003095001', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot A', NULL, NULL, N'LOT A DISTRICT LOTS 1060 AND 4404 LILLOOET DISTRICT PLAN 9062 EXCEPT: (1) PLAN 19385 (2) PART LYING SOUTH OF LOT 1 AND ROAD AS SHOWN ON PLAN 19385 (3) PLAN H10420', N'0021', N'0028', N'NO', N'ICF', 7, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-05-29T11:34:37.000' AS DateTime), 129795, 1493, 0xBD0B000001040D000000B8D100FECCF6334108A01A6FADDF2441CC44D8B0D5F6334108295CCF26DF244156EC2FDBD5F6334170DB684024DF244102098A5FDFF63341F83311F690DE24417B9ECD6AE5F63341084B598692DE24416DCE889203F73341C037F802C3DC24410C71AC6BD7F53341D874931857DC2441C68F31B7C8F53341601D38A722DE24419287851ABCF5334168B96BC900DF2441FDD4782954F633412868226CC1E02441BD42AD29C3F633415824287EE6DF2441383CBDF2C6F63341C088D2DEABDF2441B8D100FECCF6334108A01A6FADDF244101000000020000000001000000FFFFFFFF0000000003, CAST(682419 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (684138, N'{DA149D1E-1D44-4A9C-B12D-114D7D68B2B5}', N'012529877', 3, N'NO_PLAN', NULL, N'12529877', NULL, N'parc524', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART NE4', N'26', N'23,2', N'PARCEL 3 (DD 2585) OF THE NORTHEAST QUARTER OF SECTION 26 TOWNSHIP 23 RANGE 2 WEST OF THE 6TH MERIDIAN KOOTENAY DISTRICT, EXCEPT PART INCLUDED IN SRW PLAN 10547', N'0119', N'0006', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:23:59.000' AS DateTime), 3302, 249, 0xBD0B000001040600000084B74022E79C374140DA1B7C88362541FC87F47BD09C3741200F0B3524362541DCF97EAAAF9C37417006F056093625414C696F10A89C3741B020B072943625410A3D9B35F09C374150226CF8A336254184B74022E79C374140DA1B7C8836254101000000020000000001000000FFFFFFFF0000000003, CAST(684138 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (684730, N'{7812E8B0-DAE0-43C4-9726-69C0A5F03CEF}', N'010318771', 3, N'NO_PLAN', NULL, N'10318771', NULL, N'759-002050.200', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART SW4', N'13', N'77,14', N'THE FRACTIONAL SOUTH WEST 1/4 OF SECTION 13 TOWNSHIP 77 RANGE 14 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT, EXCEPT THAT PART OF LEGAL SUBDIVISION 5 LYING NORTH AND EAST OF THE POUCE COUPE RIVER', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:20:02.000' AS DateTime), 46349, 1214, 0xBD0B000001045C0000007A36AB1E16F83441F8B9DAEA8E57324179F2B03033F83441F43A708E3656324139014D442CF83441FC41CF463156324106CE19F125F83441AC2E6E632C563241A145B6B31FF834413CEF3865275632410F71ACAB19F83441D8C0392322563241A857CAD213F83441B0ADD89F1C5632411C4850FC0DF83441942C431C17563241DA3D79F807F83441204850DC1156324188FD659701F83441245C8F220D563241C4E314DDFAF73441BCA370DD0856324136F8C2E4F3F73441D0C117E6045632418EED7CBFECF73441245A643B015632413D355E7AE5F7344100917EDBFD5532418D5CFE23DEF73441ECA59BC4FA553241F0EBC099D6F734411CD04438F8553241CE22DBD9CEF73441AC3C2C34F6553241EEC9C302C7F7344118AE4781F455324131BB272FBFF73441647346F4F25532412B31084CB7F734414050FCB8F15532413611365CAFF73441D042ADC9F0553241C64B3769A7F73441D066D507F05532415EDC46639FF734419C11A53DEF5532418BDB686097F73441247E8CD9EE55324131431C8B8FF7344128287E8CEF553241C5E53FE487F7344130BB272FF2553241A1A44E0081F73441A036AB3EF65532410B24281E7BF73441ECE68CE8FB553241B915FB6B77F7344168AEB6E2025632411DEBE2D674F734411C8C4A8A0A563241ECFBA91173F7344130B4C8761256324151499D0072F7344178C0CA611A5632413270CE6871F73441D41C5A642256324143C6DC3571F734418CA0F8712A56324141C6DC5571F734411C363C7D32563241F0EBC0B971F734415CBF7D7D3A563241C052966172F73441F03FA47F425632417D04C54F73F73441D89AE67D4A56324150B81E8574F7344164BA496C525632412AC2860776F7344130B072485A563241569FAB0D78F73441B06B0919625632414694F6C67AF734412471ACAB695632415EA1D6547EF73441F4141DC97056324126A0899082F73441F421FD9677563241605DDC4687F73441D82D90207E563241A979C7498CF734418C6E126384563241718A8EA491F73441E895B24C8A563241BB40826297F734410C8195E38F563241C7BAB84D9DF73441F89E3C4C9556324162984C55A3F73441A0559F8B9A5632413290A098A9F734417814AE879F56324114E02DD0AFF7344198D6348FA456324118FBCBAEB5F73441A4E1E9F5A9563241B7AF0327BBF7344158158CCAAF563241BE39236AC0F734410422FDD6B55632416EF085A9C5F73441DC1B7CE1BB563241F6A067F3CAF7344158B81EE5C156324195900F3AD0F73441D0CCCCECC7563241EB8C286DD5F734419C6E1203CE563241565BB17FDAF7344180F2B030D4563241E0240661DFF7344158EE5A82DA563241D0F753A3E3F73441142FDD44E156324104D57889E7F7344144CC5D4BE856324130E6AEC5EBF73441C086A717EF5632411D5A64FBF0F7344140598658F556324197900FFAF5F73441A8DD93A7FB56324150401341F9F73441508104C502573241D612F281FBF7344174C0CAA10A573241E05817D7FCF7344170ED7CBF125732410F2DB2FDFCF73441243108AC1A573241C4FEB21BFBF734411C8C4A4A22573241B9F3FD34F7F7344114992A98295732417A58A895F2F73441E016483030573241D88AFD65EDF734413CCD3B4E36573241F20DBEB0E7F73441FC770B043C573241BAB88DA6E1F73441F041CF46415732416A19E238DBF73441B410C7FA45573241F5A06773D4F73441F0C9C3424A57324191A98291CDF73441489D80664E573241355EBAA9C6F73441042B87765257324132B29D8FBFF7344154E3A53B56573241806ABC14B9F73441540C02CB5A5732411A9E5EA9B3F7344164984CB56057324196081B5EAEF734413870CEC866573241A8CFD536A8F73441880D4FCF6B5732411BFBCB8EA1F73441BC52964170573241FEF675A09AF7344144333353745732417C04C58F93F73441A0A98211785732411C8C4A4A8CF734416C26C2867B573241CCEEC9C384F734415CA1D6547E57324142355EDA7CF73441840D4F0F825732417A36AB1E16F83441F8B9DAEA8E57324101000000020000000001000000FFFFFFFF0000000003, CAST(684730 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (686538, N'{C4258A10-ADEF-49C7-8980-AC90506A8976}', N'000016144', 646724, N'VIP2024', NULL, N'16144', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 11', N'Block D', N'', N'THAT PART OF LOT 11, BLOCK D, DISTRICT LOT 258 ALBERNI DISTRICT, PLAN 2024, INCLUDED IN PLAN 283 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:38.000' AS DateTime), 9947, 737, 0xBD0B000001040F00000086F4DB57647230411023DBF987A01D416DD712926372304180B0E1E92CA11D41083D9BD58A7230418005A312A3A01D41605452278F72304150C3D3AB93A01D411161C373937230410086C9D483A01D41224A7BA397723041F0F8A0E773A01D413DFAED4B5173304170A223B9A69D1D4199D409C865733041702BF697579D1D415BEC2FDB65733041905F074E579D1D416F8104853A73304170325530559D1D41B02E6E8382723041C0FF90FE1BA01D41B1E1E9957E723041101F63EE2AA01D4130E6AEA57A72304160D7127239A01D4176C7299A76723041401B0DE047A01D4186F4DB57647230411023DBF987A01D4101000000020000000001000000FFFFFFFF0000000003, CAST(686538 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (686548, N'{B525B9FF-7F7E-4F94-909B-FDCC1E37B19D}', N'000016446', 646724, N'VIP2024', NULL, N'16446', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 13', N'Block G', N'', N'THAT PART OF LOT 13, BLOCK G, DISTRICT LOT 257 ALBERNI DISTRICT, PLAN 2024, SHOWN COLOURED RED ON PLAN 148 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:39.000' AS DateTime), 14397, 1041, 0xBD0B0000010434000000B025E4E37F8530413072F98FC54B1D417593188487853041008C4A6AAD4B1D41D1915C3E8F85304160A835CD954B1D415305A3129785304100EC51B87E4B1D418EE4F2FF9E85304120E8D92C684B1D419F01BC05A785304130567D2E524B1D4159D3BC23AF85304160363CBD3C4B1D41DA34EF58B7853041F0F528DC274B1D4156CA32A4BF853041904C158C134B1D417F2F4C06C88530416016D9CEFF4A1D4125ED0D7ED0853041402FDDA4EC4A1D41521E160AD9853041C04D6210DA4A1D41DD0209AAE1853041402AA913C84A1D412CED0D5EEA853041300DE0ADB64A1D4135F8C224F385304180AEB6E2A54A1D41835149FDFB8530414057CAB2954A1D41BEE3145D028630417072F98F8A4A1D419CA22379ED853041D0C56D34884A1D410F022B47E0853041903480B7864A1D419BB20CF1D985304190923A01864A1D41150DE08DD3853041C014AE47854A1D410144FA4DC1853041E0EBC039834A1D41E32D90C0B885304120CFF753964A1D41F5B9DAEAAF8530414009F920AB4A1D413DF1632CA7853041A027A089C04A1D41D68AFD859E853041C003788BD64A1D4113D044F895853041A00AD723ED4A1D417C9CA2838D8530414085EB51044B1D4190C2F52885853041B04E40131C4B1D41C754C1E87C85304160666666344B1D419C6588C374853041F0A6574A4D4B1D4142355EBA6C853041505AD3BC664B1D416D6891CD6485304110A392BA804B1D41825149FD5C853041A0C9C3429B4B1D41DAF0F44A55853041A03C2C54B64B1D41012B87B64D853041F0F97EEAD14B1D41E32D9040468530418026C206EE4B1D414E1E16EA3E85304160E5D0A20A4C1D412E2AA9B337853041F0361AC0274C1D415327A0A93085304170C28627454C1D414060E5B08284304120EEEBC0274F1D418DA0F8918284304120151DC9984F1D41BE5B20C191843041E0E53FA4994F1D413CDF4FCD4685304110DBF9FE984C1D41186A4D934D853041A00E9CB37C4C1D41283A926B5485304120E17A14614C1D4165F7E4615B85304130D6C5ED454C1D41E773B57562853041105C8F422B4C1D41BBAF03A76985304180984C15114C1D4161A1D6F47085304150666666F74B1D4124E4835E7885304100ECC039DE4B1D41B025E4E37F8530413072F98FC54B1D4101000000020000000001000000FFFFFFFF0000000003, CAST(686548 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (688261, N'{E3F4A048-CECE-4501-B03F-73C848AC776C}', N'013843354', 295346, N'PRP974B', 90073170, N'13843354', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 21', N'Block 54', N'', N'LOT 21 BLOCK 54 DISTRICT LOT 851 CASSIAR DISTRICT PLAN 974B EXCEPT PLAN 7772', N'0163', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:19:35.000' AS DateTime), 259, 76, 0xBD0B00000104070000001C63EE1AA5512B41900D4F0F20613141A5CDAA0F91512B412CA7E828206131419FB437B891512B41F40968E2346131411A1FF4EC94512B418004C58F36613141AEA679479F512B41B09465C83B6131412DA2B4F7A5512B4118C3640A3F6131411C63EE1AA5512B41900D4F0F2061314101000000020000000001000000FFFFFFFF0000000003, CAST(688261 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (688328, N'{0FDD7598-5D0B-4CD6-B482-98B63F9B3D39}', N'013998099', 295389, N'PRP968', 23689001, N'13998099', NULL, N'01250.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 20', N'Block 105', N'Section 2', N'LOT 20 BLOCK 105 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:37.000' AS DateTime), 260, 72, 0xBD0B00000104050000009E1A2F9D1E792B41A4DA8A5DD9643141EB3845C71D792B41089E5E69BF643141B059F5B909792B41344ED191BF643141034D848D0A792B41F4384587D96431419E1A2F9D1E792B41A4DA8A5DD964314101000000020000000001000000FFFFFFFF0000000003, CAST(688328 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (690757, N'{55D199BD-2FEB-4AB1-93B8-A47F798A00ED}', N'009619976', 1181936, N'NWP11893', NULL, N'9619976', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', CAST(N'1996-05-27T00:00:00.000' AS DateTime), N'REM Lot 5', N'', N'', N'EAST 696.5 FEET LOT 5 EXCEPT: FIRSTLY: PART ON HIGHWAY PLAN 23059 AND SECONDLY: PART DEDICATED ROAD ON PLAN LMP26465, SECTION 11 TOWNSHIP 15 NEW WESTMINSTER DISTRICT PLAN 11893', N'0067', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T10:01:49.000' AS DateTime), 25308, 696, 0xBD0B0000010407000000D678E906AF18334160772D21593B1C412AED0DFEA718334120508D172A3E1C4194218EF580193341C08CB9EB613C1C41E6F21FF28319334160CC5DCB7B3B1C411183C06A7919334160840DCF793B1C41BEA8A48E10193341A0438B6C683B1C41D678E906AF18334160772D21593B1C4101000000020000000001000000FFFFFFFF0000000003, CAST(690757 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (691300, N'{E453A042-5F17-4F59-9121-B7843B3A633B}', N'014341221', 1297652, N'NWP14105', NULL, N'14341221', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'Lot 58', N'Block B', N'', N'LOT 58 BLOCK "B" SECTION 26 BLOCK 5 NORTH RANGE 6 WEST NEW WESTMINSTER DISTRICT PLAN 14105', N'0120', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T10:49:45.000' AS DateTime), 20645, 912, 0xBD0B0000010426000000F4A9F152317B3241A0DB688020921C41A4BDC137317B3241304A7B8320921C414E4013E1187B3241802F4C2623921C410A1B9E7E177B324190847C5023921C41A11A2F7D007B324110E78CA81F921C4141355E1AE87A3241C013D0C41B921C41250F0BB5CF7A324130F775E017921C41B059F599CF7A32411088F4DB17921C419E89B081C37A324180B0E1E915921C411804564EB77A324180FC18F313921C417DF2B0F09E7A324160C3422D10921C416A8863BD927A3241A03311360E921C41E002098A867A324160A4DF3E0C921C416D8A8E246E7A32410066F76408921C410EA5BDC1557A32411025068104921C419CEFA7A6557A324190B6847C04921C411CDBF95E3D7A32418051499D00921C4111143F863B7A3241601AC05BC3921C41621058B99C7A3241A017B7D1D2921C416D8104C5C97A324120D9CEF7D9921C41E3361AE0C97A324170DA1BFCD9921C41AC35CDBBDA7A3241C07A14AEDC921C4121EBE2D6DA7A3241F0E995B2DC921C41A835CDFBDA7A3241F05886B8DC921C41F1FDD4B8777B324150772DA1F5921C41D8CEF7D3777B3241A00A46A5F5921C4168B3EAF3CB7B32411026E40303931C4152B81EA5CE7B3241209E5EA90F921C416AF7E481AB7B324140D6C56D13921C41C520B012937B324130B81E0516921C41DF4F8DF7927B3241C026310816921C4181D0B3D9867B3241E087F45B17921C411AB7D1A07A7B3241809CA2A318921C41BCCAA1857A7B3241200BB5A618921C418FA98231627B3241205C8F421B921C41AFD85F16627B3241D0CAA1451B921C410D9C33C2497B3241808BDBE81D921C41F4A9F152317B3241A0DB688020921C4101000000020000000001000000FFFFFFFF0000000003, CAST(691300 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (693854, N'{47A767DB-029F-47F8-A964-F6A6A4E2C878}', N'013144685', 3, N'NO_PLAN', NULL, N'13144685', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 2957', N'', N'', N'DISTRICT LOT 2957 KAMLOOPS DIVISION YALE DISTRICT EXCEPT PART IN PLAN H8059', N'0163', N'0028', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:49.000' AS DateTime), 601128, 3234, 0xBD0B0000010411000000CCAACF15232A3641E84603386045274198779C62B42B364128C4B16EAA452741F11FD2CFCF2C364180CB7F48E0452741063D9B15E92C3641F03C9B15E54527410CE9B76FFF2D3641B8627FD918462741B40C71AC132E3641A8847CD01D462741FA6C569D132E36413880B7801D46274111E02D30E42D3641481CEB6224452741DE141DA9362D364180128300684227410EE9B78FF72B364140992A986B3F27411E8E75D1DD2B364108363CBD663F2741346EA301C22B364118B6F37D613F2741EEE2363AB32B3641B08E53B45E3F2741F9E461A16D2A36411803094A213F2741A38026C2682A364188C8763E8A3F2741FFE68C48662A3641B815FB4BBF3F2741CCAACF15232A3641E84603386045274101000000020000000001000000FFFFFFFF0000000003, CAST(693854 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (693867, N'{218BC2C8-8551-4288-AC78-4F66922D5602}', N'002937522', 863269, N'KAP34673', NULL, N'2937522', NULL, N'72606343205', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Parcel A', N'', N'', N'PARCEL A DISTRICT LOT 1714 KAMLOOPS DIVISION YALE DISTRICT PLAN 34673', N'0020', N'0028', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:27.000' AS DateTime), 102, 63, 0xBD0B000001040F0000000F58397441973541F0384547C10827411848507C5C97354180A44E40A6082741F05A42BE4D973541686DC53EA6082741914338C84C973541385C1D5BA808274106BF2CD14B97354158AB9E75AA08274175AE20D94A973541E86F478EAC082741B4F314E04997354110C215A5AE082741B7710AE648973541E0B907BAB0082741490C02EB4797354178711BCDB20827411AD1D0C14697354138CE1E0FB508274188E6E1A04597354130C1A561B70827410501708844973541407F37C4B9082741971BB4784397354198F95736BC082741126CE57142973541A0F987B7BE0827410F58397441973541F0384547C108274101000000020000000001000000FFFFFFFF0000000003, CAST(693867 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (695298, N'{BBBA42CB-0A72-4786-B5D2-3B28FADEF37A}', N'012480193', 495453, N'KAP364', NULL, N'12480193', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'Block 67', NULL, N'LOT 2 BLOCK 67 DISTRICT LOT 710 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 364 EXCEPT PLAN H875', N'0046', N'0019', N'NO', N'MODIFIED-ICF', 3, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-08-26T15:11:18.000' AS DateTime), 310, 73, 0xBD0B000001040500000062DC4683A769374180DD9307926C1D41D812F2E1AA693741607EFBBA5D6C1D41C29F1A4F93693741604ED111516C1D410419739791693741902C431C876C1D4162DC4683A769374180DD9307926C1D4101000000020000000001000000FFFFFFFF0000000003, CAST(695298 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (695385, N'{DA975A09-1BF5-4FDA-8581-05399E786A68}', N'001598112', 127186, N'VIP748', NULL, N'1598112', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1998-01-28T00:00:00.000' AS DateTime), N'Lot 9', N'', N'', N'THAT PART OF LOT 9, SECTION 98, ESQUIMALT DISTRICT, PLAN 748 SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 14351F AND CONTAINING 1.37 ACRES MORE OR LESS', N'0154', N'0005', N'NO', N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'5522', CAST(N'2017-10-03T09:36:07.000' AS DateTime), CAST(N'2019-05-21T09:54:59.000' AS DateTime), 5520, 364, 0xBD0B00000104110000007CAEB6C2B31E324180AD695E01861741AA605432BA1E324150CF6655FB85174197081B5ED11E324160BE9F9AE585174108E95275D01E32411069B91BDB8517417CD0B58ECF1E3241A0B8D599D0851741335C44AACE1E3241C0D7FB14C6851741F527FFC7CD1E3241D0F2328DBB85174117CEE6E7CC1E324110388202B18517416FE7FB09CC1E324150D8F074A68517414C72F9CFC61E3241E08AFDE566851741C4051234BB1E3241007E8CB9D98417410DBE3099AF1E324100516B9A4C84174102E78C28A51E324130E6AEA5CD831741D5CEF7B3971E3241605C8F42DA8317418DCB7F688A1E3241A0A223B9E6831741B30C712C761E3241C07BF2B0F98317417CAEB6C2B31E324180AD695E0186174101000000020000000001000000FFFFFFFF0000000003, CAST(695385 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (695833, N'{E13E20A0-34EC-4475-B92B-BF941E1CC3C1}', N'004682807', 873401, N'KAP34043', NULL, N'4682807', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot C', N'Lot A', N'', N'PARCEL C (PLAN 37033) OF LOT A SECTION 3 TOWNSHIP 20 RANGE 18 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 34043', N'0055', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-09-21T10:05:05.000' AS DateTime), 5178, 318, 0xBD0B00000104050000002E772D610C433541503CBDD2C7A02341243A92ABCC423541F0839E0D10A023414694F626B442354130E258170CA023416591ED3CAD42354188D409E8B7A023412E772D610C433541503CBDD2C7A0234101000000020000000001000000FFFFFFFF0000000003, CAST(695833 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (696069, N'{D98BAD8D-F3BC-4CF6-AA84-62AE7721611A}', N'016149777', 495562, N'NEP683', 23311891, N'16149777', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block 1', NULL, N'LOT 3 BLOCK 1 DISTRICT LOT 537 KOOTENAY DISTRICT PLAN 683', N'0121', N'0019', N'NO', N'ICF', 0, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-08-12T15:42:10.000' AS DateTime), 206, 64, 0xBD0B0000010406000000B0726831EC613841403FC6DCAAAD1D416B6FF045F4613841A03C2CD4BFAD1D419ECDAA6FF561384170ADD85F5DAD1D416C666606EC613841309B559F5BAD1D41B459F519EB613841F0B27BF2A7AD1D41B0726831EC613841403FC6DCAAAD1D4101000000020000000001000000FFFFFFFF0000000003, CAST(696069 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (696265, N'{F5289C7E-C260-45CF-B33F-0459E6A4910E}', N'012516856', 495942, N'KAP62', NULL, N'12516856', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Block 2', N'', N'', N'BLOCK 2 DISTRICT LOT 818 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 62 EXCEPT PLANS H875 AND KAP59245', N'0163', N'0019', N'NO', N'ICF', 13, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-09-06T10:00:32.000' AS DateTime), 7623, 419, 0xBD0B000001042200000025287E0CB2683741E073B5958E751D410624283EA768374100D7A3707C751D41D456EC4FA5683741A0B96B8978751D41029A089BEB683741801D3867D2761D41DD2406C10069374160C729BA30771D41C832C43112693741704160657F771D4190A982511869374130F90FE969771D41E22406213A6937417088635DF1761D412497FF703F693741905AD33CDE761D41030000003569374120F775E098761D412E772D211D693741B075711B13761D41924AEAA418693741A0946508FA751D41DEB5849C15693741C0BDC197F8751D41E5E236DA0D693741D0B12EEEF3751D4163FE43BA06693741C05CFE43EF751D4130A2B43701693741A0EEC943EB751D41A6DFBEAEFF683741401CEB62EA751D41994C15ACF86837419067B36AE4751D415EBA49ACF168374100EA0434DE751D415E3255B0EA683741D0C876BED7751D41BB1E856BE1683741B0DA8A7DCE751D4184AEB682DA683741E09C11A5C6751D4114E02DB0D3683741B098BB96BE751D418C20AF8DD268374100FD361EBD751D41AB609F6BD168374120C562A0BB751D412B2E004AD0683741E0FC401DBA751D412016D328CF683741F0B6D394B8751D410AA51908CE683741A00D1D07B7751D41D066D5E7CC68374150211F74B5751D41CE88D21EC6683741606822ECAC751D413680B760BF683741D0847C50A3751D41569FABADB868374120772DA198751D4116D9CE57B46837414050FC9892751D4125287E0CB2683741E073B5958E751D4101000000020000000001000000FFFFFFFF0000000003, CAST(696265 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (697960, N'{133AFDB8-CFAF-4D1D-8D30-7040024DD4DB}', N'024249254', 1311960, N'LMP39418', NULL, N'24249254', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2013-05-22T00:00:00.000' AS DateTime), N'REM Lot A', N'', N'', N'LOT A DISTRICT LOT 201 GROUP 1 NEW WESTMINSTER DISTRICT PLAN LMP39418 EXCEPT PLAN EPP4112', N'0109', N'0010', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2020-02-26T13:24:20.000' AS DateTime), 1777, 349, 0xBD0B000001040B000000FCDBD721D1C03241F041CF668E361D41C3D32BE5BCC03241F0DD02898B361D41779318E4B9C0324150BF0E1C8B361D4102E78C2844C032418044696F7A361D4153158C2A30C0324160BE9F9A77361D414E840DCF2FC0324120F697DD9C361D410A560EED43C0324170B0E1E99F361D414F742457ABC0324100BD5296AF361D4179F2B030BEC03241E068006FE2361D41F631E6AED0C03241C0A679C7BD361D41FCDBD721D1C03241F041CF668E361D4101000000020000000001000000FFFFFFFF0000000003, CAST(697960 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (698296, N'{591E7B9F-5EC9-4598-996A-135D7637F139}', N'007276028', 3, N'NO_PLAN', NULL, N'7276028', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART NE4', N'9', NULL, N'NORTH 12 AND 1/2 CHAINS NORTH EAST QUARTER SECTION 9 TOWNSHIP 13 EXCEPT: FIRSTLY: PART SUBDIVIDED BY PLAN 12137 SECONDLY: PART SUBDIVIDED BY PLAN 15689, NEW WESTMINSTER DISTRICT', N'0002', N'0009', N'NO', N'ICIS CADASTRE', 2, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2020-04-03T09:27:35.000' AS DateTime), 92311, 1426, 0xBD0B000001040A00000026651922093E3341900512145F9D1B41AE726811FC3D334150787AA521A11B415EC3D3AB233F3341B06D340057A11B41EA6A2B362A3F334140014D84709F1B417914AE27D03F3341408D97EE8E9F1B41C7073D3BDA3F3341E05F76CF909F1B414B4013A1E03F3341A02CD41AB49D1B4173787A85D63F3341F0EF1648B29D1B412C772DC1293F3341D076BE1F939D1B4126651922093E3341900512145F9D1B4101000000020000000001000000FFFFFFFF0000000003, CAST(698296 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (699167, N'{5C11A54F-CD11-4F72-BCC7-E6DA2FAF3D85}', N'001636499', 3, N'NO_PLAN', NULL, N'1636499', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'', N'', N'', N'THAT PORTION OF THE PARTS OF SECTIONS 9 AND 10, METCHOSIN DISTRICT SHOWN OUTLINED IN RED ON PLAN 2050 OS LYING TO THE SOUTH OF LOT 17, BLOCK 3, PLAN 1193', N'0079', N'0005', N'NO', N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:42:54.000' AS DateTime), CAST(N'2021-05-30T19:21:26.000' AS DateTime), 4143, 367, 0xBD0B00000104080000001C7C61B25B093241706CE7FBA3FE1641CB073D3B5C09324140E8D92CA8FE1641F3F44A9960093241B0FB3A708AFE1641C0A8A4EEA809324100B7D180A0FC1641058195239A093241605452A72CFC1641B8D1003E52093241D0E5D0A213FE16410C83C06A4D093241E0BB051234FE16411C7C61B25B093241706CE7FBA3FE164101000000020000000001000000FFFFFFFF0000000003, CAST(699167 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (699215, N'{F9EF2B3F-EFF8-42AB-9DA7-AE032070897F}', N'009140204', 126923, N'VIP370', NULL, N'9140204', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 10', N'', N'', N'LOT 10, SECTION 7, VICTORIA DISTRICT, PLAN 370, EXCEPT PART LYING WEST OF PLAN 7 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', N'341.1', CAST(N'2016-01-06T18:25:11.000' AS DateTime), CAST(N'2021-05-30T19:41:40.000' AS DateTime), 341, 76, 0xBD0B000001040800000032B29D6F133A3241200DE0AD0E831741D0B35955FF39324150AB3E57FE821741849ECDAAF9393241509A779C388317416B4DF3CE0D3A3241A0C117264983174158C1A8040F3A3241D00A46254A83174158A8354D153A324160F2414F10831741C6C3426D133A3241E0CAA1C50E83174132B29D6F133A3241200DE0AD0E83174101000000020000000001000000FFFFFFFF0000000003, CAST(699215 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (699449, N'{A6EE90C2-C48B-4C7B-9E47-72176B3226DC}', N'015508056', 3, N'NO_PLAN', 90156995, N'15508056', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', CAST(N'2017-07-14T00:00:00.000' AS DateTime), N'PART NW4', N'24', N'23,3', N'THAT PART OF LEGAL SUBDIVISION 13 OF THE NORTHWEST QUARTER OF SECTION 24 TOWNSHIP 23 RANGE 3 WEST OF THE 6TH MERIDIAN KOOTENAY DISTRICT LYING NORTH OF A LINE PERPENDICULARLY OR RADIALLY 100 FEET FROM THE NORTHWESTERLY BOUNDARY OF RW PLAN 1345 EXCEPT PART INCLUDED IN PLAN R40, R265 AND EPP43654', N'0163', N'0006', N'NO', N'MODIFIED-ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'0', N'99149', CAST(N'2017-11-15T11:14:33.000' AS DateTime), CAST(N'2021-05-31T16:32:44.000' AS DateTime), 98498, 1375, 0xBD0B000001041D000000809ECD0A027C3741D078E9668322254132B29DEF0E7C3741F038450795212541FF907E9B0E7C374118A08930952125414250FCD8087C3741F8E53FE465212541C87F483FB07B3741E8F675E023212541CDCCCC2CA37B3741B85AD37C052125415FE1DFEF8C7B374188C462D0D42025412211E949757B374168DA5BE0A6202541F65869505C7B3741103B84D67B2025416D74161A427B374130A4FED9532025418837C6BE267B3741105A270F2F20254118E258570A7B3741081973970D202541587DAE76177B37416891EDBCDD1F2541A444030C087B3741D049D700CE1F254114C3FE66F87A3741B0871D32BF1F2541D858328BE87A374158CC2054B11F25414AE43B7CD87A374118B20A6AA41F254107EFC43DC87A37416833CD76981F2541D6D781D3B77A374138FF217D8D1F2541E8B44E39B27A3741A80C0EAD891F25416894329AAC7A3741B88A53FA851F254175E653F6A67A374138C20B65821F25418D3BD94DA17A374150334FED7E1F2541C043E9A09B7A3741F89335937B1F25419ECDAAEF957A3741A0CFD556781F2541B8490C42927A3741E8164850761F2541B2BFEC7E767A3741685452A75E212541DC141D496C7A374140F6971D17222541809ECD0A027C3741D078E9668322254101000000020000000001000000FFFFFFFF0000000003, CAST(699449 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (700059, N'{35FEDB79-03C8-41BF-92B5-458902871EBE}', N'008395039', 3, N'NO_PLAN', NULL, N'8395039', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 90', NULL, NULL, N'THAT PART OF LOT 24, DISTRICT LOT 90, ALBERNI DISTRICT, PLAN 1486, AND THE ABANDONED ROAD ADJOINING, BEING THE UNCOLOURED PORTIONS AND PORTIONS SHOWN COLOURED GREEN INCLUDED WITHIN THE AREA SHOWN IN RED ON PLAN 387 RW', N'0163', N'0029', N'NO', N'ICF', 5, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2021-06-22T12:58:44.000' AS DateTime), 1629, 299, 0xBD0B00000104140000001B6A4DF3BD83304120BD5296E4FB1C4127ED0D3EB3833041D05296A113FC1C41DED17E51B08330414015BFB520FC1C41440C3A73AD83304110E028FC2DFC1C41079575A3AA833041C0E7D9733BFC1C41035466E2A783304100C1D41B49FC1C414C1C4030A5833041607418F356FC1C4158A8358DA28330416090A0F864FC1C41884160659283304190F1D24DBFFC1C4176A52C83A1833041E0E848AEBEFC1C41B48D0670AC833041A0E2C79881FC1C41DB8A09F1AE833041E0B7D44A74FC1C41D6285480B1833041D029A42867FC1C419F9DB61DB4833041206B2B335AFC1C411E1800C9B6833041506B5C6B4DFC1C41A4C3FE81B9833041F0C525D240FC1C4192CB7F48BC83304140B0726834FC1C41760B2408F9833041D0915C7E29FB1C4155522760E8833041D0E8482E2AFB1C411B6A4DF3BD83304120BD5296E4FB1C4101000000020000000001000000FFFFFFFF0000000003, CAST(700059 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (700394, N'{7DFC272A-C0F5-46C1-8B10-97A5BF2A0974}', N'010010734', 7807237, N'KAP11H', NULL, N'10010734', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1988-02-23T00:00:00.000' AS DateTime), NULL, NULL, NULL, N'THAT PART OF LOT 68 SHOWN ON PLAN H11; DISTRICT LOT 110 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 301', N'0163', N'0022', NULL, N'PMBC-OPERATIONS', 1, N'PMBC-OPERATIONS', N'UNKNOWN', N'0', N'1355', CAST(N'2020-10-28T16:25:49.000' AS DateTime), CAST(N'2021-07-21T09:00:05.000' AS DateTime), 1344, 455, 0xBD0B00000104050000005939B4C8C8263641B07B61B2889D1D419E11A51DC8263641507E8CB9A09D1D41C6FEB2FBA427364160AC8BDBED9D1D419F802682A527364120E25897D59D1D415939B4C8C8263641B07B61B2889D1D4101000000020000000001000000FFFFFFFF0000000003, CAST(700394 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (701068, N'{4F2519AC-ECE2-4544-BED0-118C03F6DB89}', N'001622137', 3, N'NO_PLAN', NULL, N'1622137', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, NULL, NULL, NULL, N'THOSE PARTS OF SECTIONS 83, 84 AND 85, METCHOSIN DISTRICT SHOWN OUTLINED IN RED ON PLAN 82 RW', N'0065', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'0', NULL, CAST(N'2019-02-19T14:34:28.000' AS DateTime), CAST(N'2021-09-08T09:57:40.000' AS DateTime), 28893, 2157, 0xBD0B000001043F000000614BC867C30C324150DF4F8D8C4D1741D23B4EB1BE0C324170C3D32B434D174162FE437ABA0C324130280F8B014D17416609F980B60C3241809ECDAAC34C1741004D846DB10C324120E561A1744C1741A445B6739D0C3241B0BD30993D4B1741CA10C77A9B0C3241A0D100DE1E4B174102000060930C324150068195A04A1741D50968A28F0C324190A8354D664A1741C0D32B258D0C324170DC46833F4A1741AD2E6EE3880C3241B00D4F2FFD491741AFFA5CAD820C3241B0AF03679C49174112BE3099800C324170DC46037C491741AC03E78C7E0C3241B0B0E1695C491741D978E906690C324190703D8A0D4817412BE483DE590C3241E07C3FB521471741044D84ED540C32417067B36AD4461741848CB92B400C3241F091CBFF9045174174F085A9330C3241E0BE0E1CCE44174154CA32C4230C3241C0711B0DD6431741C676BEFF0D0C3241F0B9DA8A834217415E545267F30B3241208A1F63A0421741DE5817573A0C324140B6F37DEF4617410F61C3333F0C324160B1BF6C3D471741C339234A3F0C324190A982D13E471741C3C117064D0C3241107A362B1448174107C58F11540C324190506B9A814817416ECE88525C0C324150A982D1014917416BF7E4E15C0C3241C001BC850A491741F7C2640A620C32416061C3D35A491741FE2A8736680C324190B1BFECBA4917410388F47B750C32417027A089894A1741421CEBE2760C324110AD695E9F4A17417B4F1E367D0C324140AB3ED7014B1741FDB27BD2890C3241F09E3C2CC64B1741410AD7038B0C3241807FD9BDD84B1741738A8EA4900C3241601AC05B304C174130DD24A69E0C3241C067B36A0A4D174158F5B97AA10C3241906CE77B364D1741F29E3CCCA50C3241B0C6DCB5794D1741241895F4AD0C324130A2B4B7F84D1741900F7AB6B80C324130EA9532A04E174182734694BC0C3241808A8E64DC4E1741F38E53D4BF0C324180FF90FE0E4F174125CB1067D30C3241301FF46C3C5017416C2BF637F90C3241B0FE217D8C52174197D40968030D3241C04082627E52174160CC5D4B130D324190D2DEE06752174198779C420F0D3241B0BCE31429521741073D9BB5090D324180734614D35117413D795828080D3241D0F97EEABA511741D9E76ACB050D324110098A1F9651174105560ECD020D32414001DE8267511741DC68006FFF0C3241500512143351174102197357FA0C324120158CCAE35017418148BF3DFA0C3241F0C7983BE2501741E0581797F90C3241A0BDC117D85017410BD7A310F00C324170CB7FC8435017412EC4B18EED0C324190ABADD81C501741FC31E60EEB0C3241B0B27BF2F54F174163325550CF0C3241509B551F464E17410A8A1FC3C80C324160E61D27E04D1741614BC867C30C324150DF4F8D8C4D174101000000020000000001000000FFFFFFFF0000000003, CAST(701068 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (701316, N'{2872779B-A603-49F9-AD1D-470DE6B00767}', N'008986771', 646158, N'VIP552D', NULL, N'8986771', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Section 19', NULL, NULL, N'THAT PART OF THE SOUTH WEST 1/4 OF SECTION 19, TOWNSHIP 5, COMOX DISTRICT, PLAN 552D, SHOWN OUTLINED IN RED ON PLAN 1502R EXCEPT THAT PART IN PLAN 33800', N'0163', N'0027', N'NO', N'ICIS CADASTRE', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2021-09-23T12:09:36.000' AS DateTime), 116443, 2548, 0xBD0B0000010427000000E2BE0E3CF6363041F80DBE30F47D204185416005B536304190C42070F37D2041C7B12ECEBA363041284CA6CAD07E20411B1DC965BB36304178204171987F20419DD6346FC6363041F0E53F649F7F20419253742403373041285EBAC91D7E2041BBFC87D40937304118F9A067F47D2041E2BE0E3CF6363041F80DBE30F47D2041826ABC74E5343041F00CE06DF37D2041157C6132D1343041F8FBA971167E204163C3D3ABBC343041201FF46C3A7E2041C932C411A9343041505A647B5C7E2041F01648F0A8343041D888D2DE6E7E204110BE30B9A8343041286EA341907E20416D5F074EA8343041E060C393C67E2041265C8FE2A7343041809D80A6FC7E204187D2DE00A634304148AE47614D802041E05817B7E3353041F8C56D345E80204126E483BEE4353041D02B6559D27F2041614BC8C7DC353041202AA9D39D7F2041F94A59E6CE353041E0E00BD3427F2041890D4F2FBE353041C8BE0E9C9F7E2041F1D24D42BE353041008F53B4C47D2041C676BEDF9A35304138B4C8B6C37D2041E1B584FC0135304108341136C27D204133992A38FA34304128C4B16ECF7D2041826ABC74E5343041F00CE06DF37D20417E6ABC347D363041E095B28CAC7E20411B73D7D269363041701136FC0D7F20414472F9AF6236304178CE88922A7F20410FBE30B94136304100C7BAB8AE7F2041E81DA7280B363041B809F9605F802041E73FA45F6136304160E17A1463802041F8B9DA0A6736304108A91390EF7F2041F441CFC66D36304128D1911C617F2041206C785A9C363041585BB1BF847F20413E2CD43A9A36304160378901D37E2041B08BDBA894363041F075E05CF47D20417E6ABC347D363041E095B28CAC7E20410300000002000000000208000000021B00000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(701316 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (701384, N'{EBBDC45E-4F50-43F6-8D72-1249492F689C}', N'001643592', 4898230, N'VIP98RW', NULL, N'1643592', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 68', N'', N'', N'THAT PART OF SECTION 68, SOOKE DISTRICT SHOWN COLOURED RED ON PLAN 98 RW AND CONTAINING 3.53 ACRES MORE OR LESS, EXCEPT PART IN PLAN 46651', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:00:45.000' AS DateTime), CAST(N'2021-09-24T10:32:25.000' AS DateTime), 11055, 972, 0xBD0B00000104AF00000035234A5B14EC314140FF217D320A1741FC43FA4D17EC314130A4DFBE240A17418BFD65571CEC314180DD24860D0A1741809F1FB520EC3141B01B1E2BFA09174149E43B2F25EC31411008F338E709174199721DC529EC314100823DB2D4091741452123762EEC314190A98899C20917411A0DA84133EC3141708350F1B0091741B7AF032738EC314160A301BC9F09174110BE30993CEC3141D03EC6DC90091741BBFC87343EEC3141B0270F8B8B0917414082E26744EC3141104FAF14780917413670CE4846EC3141D023B97C72091741C87F48BF4AEC3141A0AB1C5A65091741AA1C2EC154EC31417061C5EF4909174174E4A00C5FEC314160DB9B473009174185FEAF9C69EC31413065F06D1809174163A4496C74EC31416054356E02091741C4903D767FEC31415086F952EE081741F57C3FB58AEC31417053E325DC081741F041CF6692EC314170D9ACFAD0081741CB20B01293EC3141F0749318D0081741F675E01C9AEC31411066F7E4C6081741136F90A79AEC314100A4EA36C608174165BC73329BEC3141F0A4718BC5081741C69989BD9BEC3141605B8DE2C4081741CD42D1489CEC3141B0B53E3CC4081741B8F249D49CEC3141809E8698C308174192E4F25F9DEC3141D0FD65F7C208174161E5D06296EC314100D578E9580817410D71ACCB8FEC3141C0C3422D610817410B3B0D9B8DEC314170849002640817418FBAC96B8BEC314160AD74E866081741E1C9E93D89EC3141F0D4E4DE690817413A3E751187EC31411055D6E56C081741C7E773E684EC3141F04B3EFD6F0817416B91EDBC82EC3141D09C1125730817410D71AC4B7CEC3141F073B5157D081741269CF5287AEC314140463A8380081741D912EA0778EC3141008334018408174195C291E875EC3141202B978F870817418792F4CA73EC3141E0FF542E8B08174159631AAF71EC3141908660DD8E081741280F0B956FEC31415008AC9C92081741B9847C5069EC314180C4B12E9E081741CBD7723E67EC3141E0A7AA31A2081741A44D512E65EC314170EE3C44A60817419B3E1F2063EC314180165A66AA08174141FCE31361EC31415069F397AE0817410DD1A6095FEC314140F8F9D8B208174167006F015DEC3141109E5E29B7081741CB073D3B57EC314140C4B1AEC30817419E1A2FFD56EC3141707DAE36C408174124A089F056EC314170AA6054C4081741CC073DFB50EC314150802642D2081741BC78CC014FEC3141F08CF7F9D60817419DB29E0A4DEC3141A05ACBC0DB08174155D7BA154BEC314100949096E00817418C00282349EC314100AE357BE5081741773FED3247EC3141A0E5A86EEA081741DC9C114545EC3141F044D870EF081741D2CCCC8C3FEC3141903F35DEFE081741F42281A93DEC314180CCF91D040917411BD2C1C83BEC3141803D4A6C0909174199DB95EA39EC3141A0C712C90E0917411A37040F38EC3141906A3F341409174198D2133636EC314190EFBBAD190917413692CB5F34EC3141B0EA73351F0917418F5374E42EEC314110787A2530091741703480772DEC3141501058B9340917411A26538529EC314100C9E5BF41091741C3A8A46E0CEC3141F0839E4D580A174135234A5B14EC314140FF217D320A1741ECAE25C448ED3141B09F1AAF690917419912F36449ED31418095431B6D091741E212E5044AED3141D023EE8970091741C20FFBA34AED314110DD16FB73091741126A34424BED3141E04DBA6E77091741948390DF4BED31417004D5E47A091741DCBE0E7C4CED31416088635D7E091741490378EB4FED3141008C4A6A92091741D49C5EEE52ED3141C0BB4FC1A40917417E1791DA55ED31410042BC52B709174190ADC8AF58ED3141507DCE1CCA091741BEC5C06D5BED31415072BF1DDD091741A8F936145EED3141C0F1C253F0091741421CEBA260ED314130C807BD030A174126A0899063ED314110EFC9431B0A174169F7E40166ED3141C0A679C72D0A1741A067B34A6AED3141A05374A44F0A17415CBCA61D6EED3141504B4BD26B0A1741115E831F72ED3141402D1297870A17415905954F76ED314180B8E7EDA20A1741FE4B1FAD7AED314100FDFDD1BD0A174132CE5D377FED314110379B3ED80A1741FE4C84ED83ED3141F09F1A2FF20A17419DCDAA4F87ED314140068115040B17411CEDE73D8BED3141C05B30FA150B17412BF4094D8FED314120C5D267270B174138A12F7C93ED3141F017A15A380B1741FCC170CA97ED314100CBEECE480B17410A66DE369CED314110C12AC1580B1741721283C0A0ED3141400DE02D680B1741E7E236FAA4ED3141709A771C760B1741CD3B4E51A7ED3141A08251C97D0B174107F01608AEED3141A09DEFA7920B174149EA04D4B9ED314150DD24862C0B1741E6B7AF03B5ED31417041F1E31C0B17416075CAD5B2ED3141F0204F98150B17412CE073ACB0ED3141108A1B370E0B1741794FB987AEED3141E00984C0060B174109FEA767ACED314190B0B634FF0A1741E3094D4CAAED3141A010E293F70A1741E873B535A8ED3141803F35DEEF0A1741EC930ACBA4ED314150AA36A3E20A1741D2070481A1ED3141C04F5AE6D40A17417919D6589EED314130CEA7ACC60A17416FAEA8539BED3141B07854FBB70A174189DB967298ED3141306FC1D7A80A17415B7DAEB695ED314190A67947990A1741A2A2239992ED314120AC1C5A870A17415E984CD591ED314100D26FDF820A17419D1A2F1D8EED31418027A0096C0A174110E368B28CED3141702E0908630A1741B4687F4D8BED3141A067DAF7590A1741AD0F7CEE89ED314110E050D9500A17418914689588ED31419005AAAC470A1741B68B4C4287ED314140A423723E0A1741826132F585ED314180E7FB29350A174130992AD882ED314100151D491E0A174152EF567C82ED3141A0EBCF951B0A17419A5A672182ED3141A004A1E0180A1741FD785CC781ED314110159529160A1741E7E6366E81ED314120D3B070130A1741283FF71581ED314110FAF8B5100A17410C1B9EBE80ED3141304772F90D0A1741DCE995527EED3141C08CB9EBFA0917415E5DDC867CED31413083C0CAEC09174176BE9FBA7BED3141E0B7AF83E60917411C2FDDC478ED314120BADA8ACF091741837144A475ED3141007B7FD6B709174153E04E6272ED314110D4766AA0091741A0F564FF6EED3141A0F3AF49890917416D4CF37B6BED3141F0961077720917410E936AD867ED314170B274F55B091741EE7C3F1564ED31410014AEC745091741D51B7C8160ED3141C074029A31091741755EB4555EED314160C7179725091741737036165CED3141B0FFBFCE19091741E80A65C359ED3141B08F00430E091741BD37A65D57ED3141B082D4F502091741034063E554ED3141B0282CE9F7081741039A085B52ED3141E0BFEC1EED081741283A92CB4EED314110A913D0DE0817417467A57D4AED3141206420BACE081741E9A7620B46ED3141D01F7845BF0817417F81437641ED3141A0283B77B00817411F0ACDBF3CED314160955254A2081741A5668FE937ED3141C0AC6EE1940817410B4625F532ED31413053052388081741A635CD9B2EED3141901951DA7D08174178501A6F29ED3141403DD78B7208174154E9C12824ED31414020A30168081741D11695CA1EED3141B014563F5E081741BA246D5619ED314150924C4855081741E2F02ACE13ED3141A00F9D1F4D081741A445B6330EED3141F0EF16C845081741418B6CE70CED314130E78CA8B70817413E4469B417ED314100F97DACC908174130121A1022ED314190A53F74DF081741A47A8CE52BED31415027C6D3F8081741FA7DDD2035ED314190ADC1971509174197CE61AF3DED314140230686350917413792CB7F45ED3141D0D1005E58091741ECAE25C448ED3141B09F1AAF69091741020000000200000000024900000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(701384 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (701632, N'{CEBB5191-44A0-44D6-B3DB-3CE202BDD5A2}', N'000325309', 649898, N'VIP35145', NULL, N'325309', NULL, N'2487', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', NULL, NULL, N'LOT 4, DISTRICT LOT 173, COMOX DISTRICT, PLAN 35145', N'0163', N'0017', N'NO', N'ICF', 5, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2021-10-12T13:59:02.000' AS DateTime), 2020, 421, 0xBD0B0000010409000000A4ADD89F3D75304160A44E40C8FC1F41CAFEB2BB3D75304100F697DD45FD1F417F3F35DE3D753041205305A3C3FD1F41716891ED3D753041301CEBE2F7FD1F410D83C00A3E753041F0B359F568FE1F41905374044875304160AC1C5A68FE1F41C5073D7B47753041B0703D8A47FB1F4134A2B4573D7530413080B7C047FB1F41A4ADD89F3D75304160A44E40C8FC1F4101000000020000000001000000FFFFFFFF0000000003, CAST(701632 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (702900, N'{251074C7-6507-402D-8B44-91A36809DBB8}', N'010488804', 252464, N'PGP1329', NULL, N'10488804', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 118', N'', N'', N'LOT 118 DISTRICT LOT 4377 CARIBOO DISTRICT PLAN 1329, EXCEPT PLANS H226 18606 AND 29483', N'0112', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2021-12-31T08:23:52.000' AS DateTime), 5768, 368, 0xBD0B0000010405000000270F0B95A67D3241F8FBA9F1F9752E41C4B12EAEA47D3241182428BE49762E4123F46C16347E3241E06A2B7658762E410FE9B76F367E3241504CA60A08762E41270F0B95A67D3241F8FBA9F1F9752E4101000000020000000001000000FFFFFFFF0000000003, CAST(702900 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (704054, N'{B63486F7-B3EF-4792-A7D4-698BE7751711}', N'005700612', 496129, N'NEP546', 90054458, N'5700612', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 17', N'Block C', N'', N'LOT 17 BLOCK C DISTRICT LOT 208 KOOTENAY DISTRICT PLAN 546', N'0056', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:43.000' AS DateTime), 171, 61, 0xBD0B0000010405000000DC9387052B2F3941F81DA7A865DE214106D7A3102A2F3941D0E1E91576DE2141715F072E412F39413004568E68DE2141048A1F033F2F3941D0C56DF459DE2141DC9387052B2F3941F81DA7A865DE214101000000020000000001000000FFFFFFFF0000000003, CAST(704054 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (704086, N'{90430D1E-61FE-4901-9FF4-EA820E92395F}', N'001588303', 126723, N'VIP851', NULL, N'1588303', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'Block C', N'', N'THAT PART OF LOT 2, BLOCK C, SECTION 16, VICTORIA DISTRICT (SITUATE IN ESQUIMALT DISTRICT), PLAN 851 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0154', N'0005', N'NO', N'MODIFIED-TANTALIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:07:28.000' AS DateTime), CAST(N'2019-01-05T10:22:19.000' AS DateTime), 624, 102, 0xBD0B0000010417000000E0718A4E632C324110A167335D9917411EBA93B4612C3241A0C649875F991741E242F51B602C3241C069C5E961991741C35DB7845E2C3241701CCE5A649917411A55E2EE5C2C3241202657DA66991741E06B7E5A5B2C3241C08053686999174196DD93C7592C3241A0DCB5046C991741DB096802522C3241001214BF79991741E5684831502C3241D04506297D991741BCE5E0614E2C3241608A76A180991741E3B938944C2C32411006572884991741F81757C84A2C324130A599BD879917416C2B43FE482C3241F01A30618B99174195180436472C324140E00B138F991741A83E575B4D2C324170D0B359DD9917413DBD52F64D2C324170BC7413DC991741BADE656A522C3241B05420D8D2991741E388A4EB562C324180395905CA991741845975795B2C324130D64B9CC199174132423D13602C32410087169EB99917413B9D5FB8642C32414073C90BB299174155423E68692C3241606666E6AA991741E0718A4E632C324110A167335D99174101000000020000000001000000FFFFFFFF0000000003, CAST(704086 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (704251, N'{5AA90892-3974-44C6-8184-FE81EBE6EBBF}', N'015423549', 3, N'NO_PLAN', NULL, N'15423549', NULL, N'7103132000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 11908', N'', N'', N'THAT PART OF DISTRICT LOT 11908 KOOTENAY DISTRICT INCLUDED IN REFERENCE PLAN 85290I', N'0163', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:05.000' AS DateTime), 20312, 571, 0xBD0B000001040C0000004850FC38BAA4384190180496232C224136B4C8D6EEA43841D08D06B03C2C224119D9CE3732A53841B813D0445D2C2241E45817973CA53841A825E483062C2241D41B7C0147A53841A0F2B090AF2B224194ED7C7F4CA53841D89E3C2C812B2241CFCCCC6C51A53841E04D6210582B22410AF9A0A7BDA43841F84A5946132B2241B259F559ABA4384138AA6094AA2B22415BB1BF6CA5A43841387E8CB9DB2B224190A0F8519EA43841183FC69C162C22414850FC38BAA4384190180496232C224101000000020000000001000000FFFFFFFF0000000003, CAST(704251 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (705071, N'{459FC204-ECFC-454F-B021-1295B8909A93}', N'010319280', 290688, N'PGP6913', 5150651, N'10319280', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 7', N'', N'', N'LOT 7 DISTRICT LOT 1122 CARIBOO DISTRICT PLAN 6913', N'0163', N'0002', N'NO', N'MODIFIED-ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2019-01-11T18:31:12.000' AS DateTime), 20066, 651, 0xBD0B0000010410000000F9B9DA8AA6CE3241901804D6E1442B410E363C5D77CE3241F0E4616152442B41497B832F0BCE3241D82D90E06E442B419D01BC2503CE3241106C78FA70442B4178F2B09002CE3241F0C9C34285442B4184855A9301CE32410001DEC2A7442B4170CE887201CE324110A3923AAC442B41F0C9C34200CE324110D578A9D5442B415639B4A8F8CD324150136143E0452B41134FAF54F8CD324190C0CA61EC452B41B8AF0307F8CD324198529621F7452B41459D8086FDCD3241E075719BEB452B41F775E01C37CE32414072F9CF72452B418EB96BA987CE324148FF21BD3B452B415BEC2FBB7DCE324140FAEDABFD442B41F9B9DA8AA6CE3241901804D6E1442B4101000000020000000001000000FFFFFFFF0000000003, CAST(705071 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (705772, N'{56D5ECEA-69DD-4E94-A70A-D801411FAD30}', N'001734563', 122185, N'VIP42454', NULL, N'1734563', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot A', N'', N'', N'LOT A, BLOCK 70, MALAHAT DISTRICT, PLAN 42454', N'0163', N'0005', N'NO', N'ICIS CADASTRE', 22, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:55:57.000' AS DateTime), CAST(N'2019-01-05T10:54:18.000' AS DateTime), 50903, 1806, 0xBD0B0000010413000000D2915C7E8AA93141E08DE47235201741122DB27D8AA93141E099089B38201741C05B202154A9314160EB51B8AE211741036F812447A931417007CE99882217414B0378CB04A9314110295C8F32241741051214BFECA83141A0088A9FA62517412B0F0B7514A93141805CFEC3A8251741CE22DB5951A93141C04C150CB8241741E02406A1CEA93141C0900FFA69201741E07A14CEB2A9314100EF38C537201741D2915C7E8AA93141E08DE472352017417A0B248841A93141D051B81E7F221741686666864EA93141C02B6599A5211741D100DE2284A93141904E40133520174140CF66F538A93141701136BC302017414CDA1B3C9AA83141E0A59B44A22517411A73D772E6A83141C0CCCC4CA6251741B39DEF27FFA83141701B0DE0282417417A0B248841A93141D051B81E7F221741020000000200000000020B00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(705772 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (706409, N'{A46E9B75-9452-4024-B9C3-4F32C5461DB7}', N'001593633', 141191, N'VIP1291', NULL, N'1593633', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 13', N'Block 3', N'', N'THAT PART OF LOT 13, BLOCK 3, SECTION 9, ESQUIMALT DISTRICT, PLAN 1291 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0154', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:22:28.000' AS DateTime), CAST(N'2019-01-05T10:55:39.000' AS DateTime), 183, 56, 0xBD0B000001040A000000CFDEE08B442B3241B0AF03E7099B1741E4141D49392B3241E056EC2FDF9A1741061B9E5E352B3241E08E5374219B17419952F37D372B324150D86F51249B174126E7689F392B324170E7D414279B17419C5FEBC23B2B3241E07A69BE299B1741193067E83D2B3241203D154E2C9B1741BFBAC80F402B324130C6C0C32E9B17414A50FC38422B3241409B551F319B1741CFDEE08B442B3241B0AF03E7099B174101000000020000000001000000FFFFFFFF0000000003, CAST(706409 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (708056, N'{974CDFCC-62F0-417C-86AB-2675A059519F}', N'001921703', 3, N'NO_PLAN', NULL, N'1921703', NULL, N'73104252000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'394', N'', N'', N'DISTRICT LOT 394 KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLANS KAP49132 AND KAP65708', N'0163', N'0028', N'NO', N'ICF', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:29:36.000' AS DateTime), 1288807, 7130, 0xBD0B00000104D1000000D1B35915D06E3541D8AACF95DD1C224175C729BA396B3541B0AF0367491C2241A4ADD87F1E6B35411893A902451C2241AA2B5C212A6B3541D0307B3B611C2241430DCDD2366B354120BE478F7B1C22413A2A7C80446B3541584F3BD5931C2241242E3315536B35411871B1E7A91C22418E7D557A626B354100886FA4BD1C2241DE460398726B354180E8D9ECCE1C224122B9FC67706B3541B067B3EAD71C224101201E8D876B3541F804F220E61C2241CB15F64B9F6B3541F8D2E494EF1C224187661066B76B35419805AF2DF41C22412CD8089CCF6B3541607D39DFF31C2241C8E431AEE76B3541A09652AAEE1C22410D363C5DFF6B35415808AC9CE41C2241122DB21D0B6C3541501E162ADE1C22412ACB10A7416C354140D8F0F4C01C2241BE64AAA0466C354110FBCBEEBE1C2241A6CFD5564D6C354118E78CA8BB1C2241E0BE0E7C536C354128ED0D7EB91C2241C239238A5E6C3541D0726891B61C22411AE25817646C3541A0ABAD98B51C2241BF64AA806F6C3541E00B9329B31C224130BB27EF7A6C35417809F920B11C224180C0CA61866C354128925C7EAF1C2241021973D7916C354110DCD741AE1C2241B996904F9D6C35411868226CAD1C2241FDDD02C9A86C354148C807FDAC1C22412A530543B46C3541185839F4AC1C2241FE7E6ABCBF6C35412005A352AD1C2241F085C934CB6C354130F46C16AE1C224166D5E7AAD66C3541E8DBD741AF1C2241B7D1001EE26C3541A04E40D3B01C2241C8C3428DED6C3541689543CBB21C2241C286A7F7F86C3541C854C128B51C224174A3015C046D354188438BECB71C22410AAC1CBA0F6D3541002B8716BB1C2241B2847C101B6D354160E6AEA5BE1C22419BFF905E266D3541503EE899C21C2241D0F753A3316D3541988EE4F2C61C22417C48BFDD3C6D354118C58FB1CB1C2241E8839E0D486D3541D0E00BD3D01C2241EC043431536D3541F0861659D61C224108F016485E6D3541005C8F42DC1C2241B4726851696D3541F03A708EE21C22417C832F4C746D35417823B93CE91C2241FE1873377F6D354178A8354DF01C22411873D7128A6D3541D8DAF9BEF71C2241FB75E0DC946D35416017B791FF1C2241044625959F6D3541406F81C4071D2241C910C73AAA6D354130F46C56101D22415CB1BFCCB46D3541D8384547191D2241D5F97E4ABF6D3541703D0A97221D2241F5A9F1B2C96D3541D8EEC9432C1D22414CB81E05D46D354148DF4F4D361D2241A59BC440DE6D3541D869DEB1401D22411648503CDF6D3541D064AA60441D2241845AD33C4A6E3541503EE819B41D22411AB7D1604C6E3541786891ADB41D224126BDC379576E354110D794DFC11D224166195CF1616E3541C8D432FDD01D22418AD765B26B6E3541A066CBE7E11D224147E11DA9746E3541E89B187DF41D22412F085BC37C6E354198FE7397081E224114D1B2F0836E354158DB220E1E1E22417BB69A228A6E354130C6A8B5341E2241789E854C8F6E354178B51F604C1E22419F48FD63936E354130FF94DD641E22413480B760966E3541087F6AFC7D1E22414AED23AA966E354158DDC875801E2241CFEFBEE4966E3541701B4DF5821E22413A046810976E3541A86E9479851E2241ACF1062D976E354170663901881E224138D78B3A976E354170B4D48A8A1E2241D834EF38976E3541B0F3FD148D1E2241516210789A6E3541F85F76CFBB1E22418C53B4FD9A6E3541C8D05675C01E22412B1A31829B6E3541E842BB1BC51E22418A9586059C6E35415891A2C2C91E224158A5B4879C6E3541A0970B6ACE1E22418F29BB089D6E3541E02FF511D31E224176029A889D6E354150355EBAD71E2241A9106A4EA06E354110817EA4EA1E22410EAED3D3A36E354108A8620DFD1E22412AA20C13A86E3541101CC5D60E1F2241EA2B1905AD6E3541389866E31F1F22417A7DD7A1B26E354160353E17301F2241711B0DE0B86E3541C086A7573F1F224168933714BB6E3541A0E9903D441F2241EE830B59BD6E3541287DAB04491F2241414C1DAEBF6E3541A89C14AC4D1F22412249FE12C26E35417083EF32521F224166E93C87C46E354188746598561F2241F7C2640AC76E354170E3A5DB5A1F224189A7576AC76E3541300DE0AD501F2241601058F9DC6E35419867B3AADF1C2241D1B35915D06E3541D8AACF95DD1C2241215A649B056B3541D08D06B0551C22415AD3BC23026B3541A8C64BB74B1C2241C05296A1FF6A3541780B2428441C2241B5D1003EFE6A3541300456CE3F1C2241297502FAC76A354150BA490C371C22417C58A8D58668354110E9B7EFD91B224178E92651566835414005A3528D20224138EF382546683541285839741E222241F9DBD701686B354190976ED29F22224127287ECCD36B354140A16733B122224142575B51A36E3541004D844D25232241D8E76A4BC56E3541E8718A4E8A1F2241260F0B95C46E3541109F3C6C891F224182AEB6C2C16E3541586B9AB7851F224108C58F71B86E354180BC7493761F2241EE253546B06E35417094A474671F2241B9BA0FB5A86E3541584A2821571F22416AB57AC9A16E3541C84780B1451F224118CFD88D9B6E3541806FD73F331F2241E3B1840B966E3541B8D7DBE71F1F224106EFC24A916E3541584095C60B1F22418F96B5528D6E3541887F39FAF61E2241A88251298A6E3541602EFFA1E11E2241D210AF92896E354158B10440DC1E2241C0ECA5FC886E3541184FC7DDD61E2241D31D3667886E3541484C477BD11E224176AB5FD2876E3541D8EC8418CC1E2241029D223E876E3541687580B5C61E2241DCF97EAA866E3541A0293A52C11E2241CAE53F84836E3541B85B2001941E224189B91D7D836E3541006542D7901E224142E92464836E354100D1CEAE8D1E2241E8E06139836E354158C657898A1E2241F0E5E9FC826E3541E0EE6D68871E2241910CDBAE826E354118B29F4D841E2241F5285C4F826E3541106C783A811E2241104FFCDB7F6E3541083C3CC16D1E2241CFAFC6A27C6E3541487EA7BC5A1E2241D68D0BA9786E3541307B134C481E2241108558F5736E3541F082E58D361E224182BD6D8F6E6E3541C8D45C9F251E224176243180686E35414068629C151E2241B1C19FD1616E3541F0EB5A9F061E22418A40BD8E5A6E35411043FBC0F81D2241C7C781C3526E3541E8CC1F18EC1D22411B3FC67C4A6E354118B5A6B9E01D2241C767030E496E3541884D3EADDE1D2241B6591A8E476E354140AA79D4DC1D2241739FDBFE456E3541C0DA9431DB1D2241A1512A62446E354128BE8AC6D91D224187CEF9B9426E3541789E1295D81D2241D25D4B08416E3541001B9E9ED71D22413A82E207D66D354190C1A8E4671D22413870CE08D56D3541B00E9C33641D2241C976BE1FCB6D3541D09B33225A1D2241A111A51DC16D3541782F4C66501D224132DD2406B76D3541A04AEA04471D2241E8E236DAAC6D354148A4DFFE3D1D224106A3929AA26D35416005A352351D22413E82E247986D3541B0EEC9032D1D2241B637F8E28D6D3541B0F2B010251D2241231FF46C836D354140234A7B1D1D22416C6FF0E5786D3541104A7B43161D22418404C54F6E6D3541D00B93690F1D2241D5F97EAA636D3541604469EF081D22410422FDF6586D3541707346D4021D2241ACD85F364E6D354130871619FD1C2241179E5E69436D354118ED0DBEF71C2241CC44D890386D3541809318C4F21C224138D6C5AD2D6D354138B1502BEE1C2241DE2D90C0226D354150B3EAF3E91C224152158CCA176D3541B8081B1EE61C2241B10C71CC0C6D35419067B3AAE21C22419AE61DC7016D3541C8F44A99DF1C22416FB515BBF66C3541F8B050EBDC1C2241385EBAA9EB6C354128D26F9FDA1C22414BF38E93E06C3541903480B7D81C22417FD0B379D56C354188A0F831D71C22412E08AC5CCA6C3541C84D6210D61C2241BBDA8A3DBF6C354168E09C51D51C224148BF7D1DB46C3541B00F7AF6D41C22413008ACFCA86C3541D81114FFD41C224152D191DC9D6C3541B830996AD51C2241617FD9BD926C354148FE433AD61C224118AE47A1876C3541E8D5566CD71C2241614BC8877C6C35411893A902D91C22416FCE8872716C3541806CE7FBDA1C224183C0CA61666C354180F4DB57DD1C2241B6D100BE606C354160105839DE1C2241C8E53FE4556C354168D5E72AE11C22415B39B4C84F6C3541E0088A5FE31C22416B8863DD496C3541D8DCB544E61C2241DC9AE6FD446C354140DF4F4DE81C2241260681F5056C354188900F7A0A1D2241ACE1E915006C3541E88251890D1D2241DBEEBE9CE76B354160C1C41B171D2241E5170ECBCE6B354158F14FF31B1D2241D8BA36DBB56B3541B0C38F041C1D2241EB1EDF079D6B354160A75B4F171D224187846A8B846B35418026C6DE0D1D224122D26F9F6C6B354100DE02C9FF1C2241C2A8A4AE666B3541887AA5ECFA1C224197FF907E646B3541101F85EB031D224102B851BD516B35414899118CEF1C2241D6398ADD3F6B35418029A738D81C2241E18CEBFC2E6B3541F0310518BE1C2241B5DD7E371F6B3541187B9255A11C22411AEB76A7106B3541981C1521821C22416F810465036B3541601F63AE601C2241C4BAB86D076B35417839B4C85A1C2241215A649B056B3541D08D06B0551C2241020000000200000000026200000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(708056 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (710189, N'{43C0156B-8233-44C0-808A-1C27F89B5DC5}', N'014055457', 474031, N'NEP6681', NULL, N'14055457', NULL, N'348-00451.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'', N'', N'LOT A SECTION 6 TOWNSHIP 22 RANGE 7 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION OF YALE DISTRICT PLAN 6681', N'0128', N'0006', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:23:22.000' AS DateTime), 1527, 188, 0xBD0B0000010409000000A33C2CB44CCC36410831082C647F24416EB515FB43CC3641D864AA606E7F244130431CAB28CC3641801058B96A7F2441D36F5F4723CC3641A82E6EE35B7F244164226CB820CC364108ECC0F9917F2441B637F88260CC3641189A08DB9E7F2441EE16485063CC364168B29DAF687F2441FD2A87F653CC36410064CC9D657F2441A33C2CB44CCC36410831082C647F244101000000020000000001000000FFFFFFFF0000000003, CAST(710189 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (710617, N'{5EECBBF5-0731-4205-AE78-8E5D0B865022}', N'010418822', 3, N'NO_PLAN', 7803421, N'10418822', NULL, N'759-001631.020', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART 18', N'79,13', N'', N'THAT PART OF LEGAL SUBDIVISION 8 SECTION 18 TOWNSHIP 79 RANGE 13 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT LYING NORTH AND WEST OF THE POUCE COUPE RIVER', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:20:40.000' AS DateTime), 10850, 448, 0xBD0B000001041D000000B7F3FDF498F534412CA7E8E8CFA3324193B96BA995F53441009A089BC8A332414DF38E3392F5344170EE5A62C1A33241925374848EF53441CCC03943BAA332415EA1D6948AF53441244A7B43B3A3324158A8352D86F534416CB5159BACA332418638D64581F5344138F8C244A6A332415B6DC5FE7BF534414CB4C836A0A33241AB13D06476F5344104F016889AA3324160DC460370F534412C992AB895A33241AD9DEF2769F534410861C39391A33241C432C43162F5344158F8C2A48DA3324150E3A51B5BF53441F0CD19F189A33241276519E253F5344120B29D8F86A3324124D26F5F4CF53441D48C28CD83A332411A0456AE44F53441344CA6AA81A3324104F9A0E73CF534411C73D7B27FA33241C29F1A0F35F534410844FA2D7EA332410066F7242DF53441F0FDD4787DA332411AFBCB2E25F53441104FAF547DA33241D03B4E311DF5344154EC2F7B7DA3324177E9263115F53441883F35BE7DA332418EA0F8310DF53441F095B2EC7DA33241E046033805F5344198D85FD67DA33241285C8F42FDF43441686666467DA33241335530EAFAF434414C696FF07CA33241160DE06DF4F434411461C373C9A332418AD2DE609CF53441EC97DD93D7A33241B7F3FDF498F534412CA7E8E8CFA3324101000000020000000001000000FFFFFFFF0000000003, CAST(710617 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (710871, N'{C5D34976-5692-494B-9AD0-BCCCFB392C7C}', N'014612429', 3, N'NO_PLAN', 11706571, N'14612429', NULL, N'760-009252.020', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'12', N'88,18', N'', N'LEGAL SUBDIVISION 6 OF SECTION 12 TOWNSHIP 88 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:30:01.000' AS DateTime), 161279, 1607, 0xBD0B0000010405000000B9D1007E2F2F3441848EE4323DE33341905CFE63992D3441BC64AAC01EE333412A287E8C7B2D3441A479C7C9A8E43341EC95B26C132F344114B6F35DC7E43341B9D1007E2F2F3441848EE4323DE3334101000000020000000001000000FFFFFFFF0000000003, CAST(710871 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (712039, N'{3413116D-2189-478A-9068-E63B94CC0C5A}', N'001094483', 3, N'NO_PLAN', NULL, N'1094483', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART SE4 NW4', N'26', N'6,3', N'THE SOUTH EAST 1/4 OF THE NORTH WEST 1/4, SECTION 26, TOWNSHIP 6, RANGE 3, COAST DISTRICT EXCEPT PART IN PLANS 22963 AND 29960', N'0163', N'0003', N'NO', N'ICF', 3, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-11-21T17:18:34.000' AS DateTime), 1197, 169, 0xBD0B0000010405000000993C2C94B9DF2D41B00C716C8D342941B4847C10BADF2D4150014D84B5342941F7A7C64B0EE02D412824287E44342941ACD85FB6B8DF2D41A0E848AE45342941993C2C94B9DF2D41B00C716C8D34294101000000020000000001000000FFFFFFFF0000000003, CAST(712039 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (712497, N'{D570B678-B465-4083-AE66-3C952C32114D}', N'000017582', 645957, N'VIP1279', NULL, N'17582', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 17', N'Block 3', N'', N'LOT 17, BLOCK 3, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:48.000' AS DateTime), 763, 116, 0xBD0B000001040D000000C0E3147D889D304130CEAA4FEDB91C4187C95401809D304110B07268ECB91C41B1506BFA7F9D304130416065ECB91C4148696F90739D3041D0BC7413EBB91C413A5EBA89739D3041E04D6210EBB91C4145B6F35D629D3041E0EBC039E9B91C41A033A2D4619D30417012834039BA1C416991EDFC769D304160DE718A3BBA1C41420AD703779D304140287E8C3BBA1C4136D6C56D839D3041C06588E33CBA1C410F4FAF74839D3041B04160E53CBA1C41BD1726F3879D3041F0F675603DBA1C41C0E3147D889D304130CEAA4FEDB91C4101000000020000000001000000FFFFFFFF0000000003, CAST(712497 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (712500, N'{74736353-DC3E-466B-A28F-04889419D83D}', N'000017639', 645957, N'VIP1279', NULL, N'17639', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 26', N'Block 3', N'', N'LOT 26, BLOCK 3, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:49.000' AS DateTime), 383, 96, 0xBD0B0000010409000000CF5D4B48919D3041F0B9DA0A80BB1C4114E9B74F919D3041D04C150C80BB1C419AC42030B09D3041A0C64B3783BB1C4129068175B09D304180DD93075BBB1C4168AA60948F9D3041905452A757BB1C41241FF48C8F9D3041C0E61DA757BB1C41C01726538A9D304120081B1E57BB1C416D5F070E8A9D3041B03A014D7FBB1C41CF5D4B48919D3041F0B9DA0A80BB1C4101000000020000000001000000FFFFFFFF0000000003, CAST(712500 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (712522, N'{5356B230-4BBA-4763-909D-9406C75D07F0}', N'000016438', 646724, N'VIP2024', NULL, N'16438', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 12', N'Block G', N'', N'THAT PART OF LOT 12, BLOCK G, DISTRICT LOT 257 ALBERNI DISTRICT, PLAN 2024, SHOWN COLOURED RED ON PLAN 148 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:39.000' AS DateTime), 366, 92, 0xBD0B00000104050000004060E5B08284304120EEEBC0274F1D418638D68579843041E07A14AE4E4F1D41E4839EAD68843041500EBE30964F1D418DA0F8918284304120151DC9984F1D414060E5B08284304120EEEBC0274F1D4101000000020000000001000000FFFFFFFF0000000003, CAST(712522 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (714248, N'{1360B084-DBAF-4CA6-A674-FF914DE958AB}', N'013843371', 295346, N'PRP974B', 90073171, N'13843371', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 22', N'Block 54', N'', N'LOT 22 BLOCK 54 DISTRICT LOT 851 CASSIAR DISTRICT PLAN 974B EXCEPT PLAN 7772', N'0163', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:19:41.000' AS DateTime), 153, 55, 0xBD0B00000104070000001DFDF6757D512B4118F697FD2961314150B81EC580512B411CD9CED72B6131413080B7C08A512B410C12143F316131419FB437B891512B41F40968E234613141A5CDAA0F91512B412CA7E82820613141026F81047D512B41A0779C42206131411DFDF6757D512B4118F697FD2961314101000000020000000001000000FFFFFFFF0000000003, CAST(714248 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (714990, N'{8C3D5116-9113-4708-9019-5E5B2B083F24}', N'000258776', 9036, N'VIP33670', NULL, N'258776', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 4', N'', N'', N'LOT 4, BLOCK 347, NEWCASTLE AND ALBERNI DISTRICTS, PLAN 33670, EXCEPT PART IN PLAN VIP66989', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2019-01-05T08:35:02.000' AS DateTime), 109209, 1576, 0xBD0B00000104090000003108ACFC42C830418027A089A78A1D41FE43FAADF4C730415017B7D1F5891D413FCF66F5B8C73041000A68A238891D414C2575029BC73041809B3322A2881D417924979F5CC73041A07FD9BDDE871D41E10B934935C7304130AA60D4F7861D41D58AFD85D1C53041D0BDC117EB861D414DE3A5FBD2C53041C01726538E8A1D413108ACFC42C830418027A089A78A1D4101000000020000000001000000FFFFFFFF0000000003, CAST(714990 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (715889, N'{97E9A312-37EB-459A-ABED-D0BA1CDB7212}', N'011236892', 1167194, N'NWP6630', NULL, N'11236892', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2011-03-23T00:00:00.000' AS DateTime), N'REM Lot 13', N'', N'', N'LOT 13 SECTION 4 BLOCK 5 NORTH RANGE 2 WEST NEW WESTMINSTER DISTRICT PLAN 6630 EXCEPT PLAN EPP1922', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T09:11:29.000' AS DateTime), 1161, 200, 0xBD0B000001040500000014E2583749BF324100A8C6CB41C71C4136234A7B56BF3241A026C28661C71C4106A3921A5ABF324140D9CEF7FCC51C419B559F8B4CBF3241F076BE9FFAC51C4114E2583749BF324100A8C6CB41C71C4101000000020000000001000000FFFFFFFF0000000003, CAST(715889 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (721361, N'{3CCC9A62-124C-466D-9D65-C48F969ECC04}', N'008999295', 3, N'NO_PLAN', NULL, N'8999295', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART 4', N'7', NULL, N'THAT PART OF SECTION 4, RANGE 7, CRANBERRY DISTRICT, LYING TO THE EAST, OF THE ISLAND HIGHWAY AND TO THE NORTH WEST OF THE NANAIMO RIVER, EXCEPT, PART IN PLAN 1358R', N'0163', N'0021', NULL, N'ICIS CADASTRE', 6, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2020-08-25T16:02:23.000' AS DateTime), 11293, 421, 0xBD0B0000010414000000A2CDAAEF1EA03141C05F76CFC5A51B418538D6851FA031411088F45B8AA51B41815149BD28A03141509D80A60DA51B41F0D24D622DA0314150F016C8B1A41B413AB4C8F625A0314170B0E1E966A41B41122DB23D13A03141A08F31F7F9A31B41FDE68C48EF9F3141A04F8D97BDA31B41FF43FAEDDE9F314140674469B4A31B41625DDC06D29F3141F0F675E04FA41B41DD02092ACC9F3141202DB29D48A41B41221FF46CC89F3141A0E53F2477A41B41A2F20E5AC59F314100DE1EA7AAA41B41E3322A70C29F3141C0431050DEA41B412B5363AFBF9F3141F0ED091D12A51B410627D617BD9F3141D047000C46A51B4175E19CA9BA9F3141A064E61A7AA51B41AA13D064B89F31419014AE47AEA51B41E44F8DB711A03141C0490C02C4A51B4140AD695E1CA0314190FDF675C5A51B41A2CDAAEF1EA03141C05F76CFC5A51B4101000000020000000001000000FFFFFFFF0000000003, CAST(721361 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (721718, N'{8542571F-8605-424B-B6C1-6CCC0ADD37F9}', N'011412330', 3, N'NO_PLAN', NULL, N'11412330', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 16', NULL, NULL, N'THAT PART SECTION 16 TOWNSHIP 52 SIMILKAMEEN DIVISION YALE DISTRICT SHOWN RED ON PLAN ATTACHED TO DD 8285', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 3, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-07-03T13:51:14.000' AS DateTime), 31261, 2074, 0xBD0B0000010415000000A6F1D26DF72E3641D0EA73355D8A1D41BAC8765EDA2E3641A0172653E78A1D41DA0968629F2E364120D3BCE3018C1D419C923AC1642E3641F0E09C911A8D1D4179E926F1392E3641C0012B87E78D1D413B8941202A2E3641C05A423E338E1D413F9B557FEF2D3641B01FF4EC4B8F1D41092428DEB42D3641202CD49A64901D41F47C3F55AB2D3641806B09F991901D4137B4C8D69D2D3641C0325530D2901D41ED7C3F159C2D364190703D8ADA901D413EE8D92CC02D3641001973D7E6901D413E0AD7E34430364150F2B050F4841D41878EE4521D303641A08A8E64E8841D41634BC8A70030364120E6AEA570851D41562041D1C52F364100CCEE4988861D41402CD4FA8A2F3641801F63EE9F871D41F7EDEB20502F3641005305A3B7881D419EE61D47152F364110F4DB57CF891D41304CA64A002F3641004F1E16338A1D41A6F1D26DF72E3641D0EA73355D8A1D4101000000020000000001000000FFFFFFFF0000000003, CAST(721718 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (722322, N'{D96334ED-3074-4024-9FC1-F3DF29E57E35}', N'011412305', 3, N'NO_PLAN', NULL, N'11412305', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 9', NULL, NULL, N'THAT PART SECTION 9 TOWNSHIP 52 SIMILKAMEEN DIVISION YALE DISTRICT SHOWN RED ON PLAN ATTACHED TO DD 8285', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 4, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-09-10T17:35:28.000' AS DateTime), 33630, 2337, 0xBD0B0000010418000000DACEF773FD323641505A643B3F771D418E180456F2323641B04B370974771D413BEF3865D2323641C08173C60B781D41E2141DC9B2323641D00C71ACA0781D419899993993323641700C02AB36791D41FA285C4FA93236417096218E83791D412897FFF0F8323641F0CBEE4912781D41DACEF773FD323641505A643B3F771D41878EE4521D303641A08A8E64E8841D413E0AD7E34430364150F2B050F4841D410C2DB2FD9E3236414063EE5AB6791D41C27493D887323641D0ED7CBF6C791D41779318044D323641F03D7958847A1D419ECDAA2F12323641E0FBA9F19B7B1D4138234A5BD731364120BADA8AB37C1D419BB20CF1B9313641101973573F7D1D41F241CF869C31364130780B24CB7D1D4195976EB26131364100363CBDE27E1D412CED0DDE263136415061A156FA7F1D41BA42AD09EC303641208E06F011811D41CBB35935B13036418027A08929821D41DC240661763036414053052341831D41243867843B303641208A8EE458841D41878EE4521D303641A08A8E64E8841D41020000000200000000020800000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(722322 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (724625, N'{04003B11-6CBB-4F8C-8A22-5C71823A1E76}', N'007428278', 118430, N'VIP1397', NULL, N'7428278', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 30', N'Block 1', NULL, N'LOT 30, BLOCK 1, SECTION 33, VICTORIA DISTRICT, PLAN 1397, LYING WITHIN THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:06:48.000' AS DateTime), CAST(N'2021-03-23T07:29:13.000' AS DateTime), 23, 27, 0xBD0B0000010409000000F8B9DAEA513A3241B0923A015F931741233FCC4E503A3241E06879975A9317414B8E13B54E3A3241604A3620569317410BBDB71D4D3A324120FB849B5193174195D6BF884B3A3241307B79094D93174182DB32F6493A32411006286A48931741BEC11766483A3241D011A5BD43931741304CA64A4E3A324180FEB27B68931741F8B9DAEA513A3241B0923A015F93174101000000020000000001000000FFFFFFFF0000000003, CAST(724625 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (726522, N'{FE5F5EE2-0F96-4617-880B-CEEDDBE9ECCA}', N'013601679', 1485783, N'VAP2588', NULL, N'13601679', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'2000-03-14T00:00:00.000' AS DateTime), N'REM Lot 2', N'Block 6', NULL, N'LOT 2, EXCEPT THE SOUTH 2.5 FEET NOW LANE, BLOCK 6 SOUTH EAST 1/4 OF SECTION 26 TOWN OF HASTINGS SUBURBAN LANDS PLAN 2588', N'0150', N'0010', N'NO', N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'330', CAST(N'2021-01-12T14:57:29.000' AS DateTime), CAST(N'2021-07-29T09:24:25.000' AS DateTime), 329, 86, 0xBD0B0000010405000000A1D6346FD58E3241D006F016AE261D41D79AE67DDF8E3241F0263188AF261D41355EBAA9E08E3241305986B82C261D41FF99089BD68E3241B0A679472B261D41A1D6346FD58E3241D006F016AE261D4101000000020000000001000000FFFFFFFF0000000003, CAST(726522 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (728647, N'{309D627C-6612-4493-B9C6-DAAEF3C7841B}', N'006249451', 7314, N'VIP3074', NULL, N'6249451', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', NULL, NULL, N'THAT PART OF LOT 3, DISTRICT LOT 30-A, NANOOSE DISTRICT, PLAN 3074, SHOWN, OUTLINED IN RED ON PLAN 917-R, EXCEPT PART IN PLAN 41577', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, NULL, N'UNKNOWN', N'0', NULL, CAST(N'2021-12-08T13:16:11.000' AS DateTime), CAST(N'2021-12-08T14:53:01.000' AS DateTime), 344, 85, 0xBD0B000001040D000000B159F519E342314160DA1BFC38E61C418738D685DA42314160BA490C39E61C411E63EE9ADE42314190CF66D59DE61C411A3D8D41E142314150E129FF94E61C41BA1AC5DFE3423141803632018CE61C41D4C57075E6423141909EFFDB82E61C41BD816B02E9423141B015149079E61C41570D9186EB42314130BFF31D70E61C4112A5BD01EE42314130DD248666E61C4194081BDEEB423141C0F3FDD45DE61C41C8E53F24F3423141C0012B873BE61C41ADEA7395EF423141C0CCCC4C3BE61C41B159F519E342314160DA1BFC38E61C4101000000020000000001000000FFFFFFFF0000000003, CAST(728647 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (729389, N'{806B85BE-6B1D-4898-AEFB-A60AF30A7F08}', N'004410262', 482735, N'KAP29145', 90053138, N'4410262', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', N'', N'', N'LOT 3 SECTION 12 TOWNSHIP 7 OSOYOOS DIVISION YALE DISTRICT PLAN 29145 EXCEPT PLAN EPP19329', N'0134', N'0012', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2022-01-26T15:18:26.000' AS DateTime), 4278, 372, 0xBD0B0000010418000000FA5C6D85789636417046943670E02241DE9C11058296364170A301FC8BE02241C7073D7B8A96364168DC4643A6E022416C46949692963641304850FCC0E02241C4D32BA59796364150499DC0DDE022416BC5FE12A1963641B009F920DFE0224148C8071DAE963641486EA3C1E1E022411D164ADCAC96364110962B86D9E022412C5F3576AB9636415845E562D1E02241D30A3EEBA9963641A0B5755AC9E02241197EE43BA89636411067796FC1E02241E0F1B468A6963641584783A4B9E0224133454772A496364168DA1BFCB1E02241A857CAB2A196364108D6C5ADB4E02241371AC07B9D963641B04AEAC49FE02241C68F31B773963641B0605492D0DF22417CC7295A44963641686891EDE7DF2241F65C6D454A9636412841F123F9DF22416744696F5096364190C954010AE0224139B4C8D656963641D812F2811AE0224103AC1C7A5D963641E04082A22AE02241C07D1D586496364130098A5F3AE02241FFF675A06E9636416812830055E02241FA5C6D85789636417046943670E0224101000000020000000001000000FFFFFFFF0000000003, CAST(729389 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (729566, N'{F57ED082-B7F3-477E-ADF7-FE1FF7C033A3}', N'012824259', 296391, N'PRP1335', NULL, N'12824259', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2020-11-20T00:00:00.000' AS DateTime), N'REM Lot 2', N'', N'', N'LOT 2 DISTRICT LOT 374 RANGE 5 COAST DISTRICT PLAN 1335 EXCEPT PLANS 3475 4141 5259 ,1558, EPP81338 AND EPP89940', N'0163', N'0011', N'YES', N'MODIFIED-ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'0', N'23214', CAST(N'2020-12-04T13:21:14.000' AS DateTime), CAST(N'2020-12-05T18:27:12.000' AS DateTime), 23221, 705, 0xBD0B0000010411000000ECD24DA2F17A2941A0A44E00BE2B30416D006F01F07A2941C464AA40A92B30416EBF61B6E87A294118142459AB2B30410B4F2F75E17A29419CC8197AAD2B3041332AFF3DDA7A294108EC7FA3AF2B30417C95F810D37A294104BB4AD5B12B3041FC9D42EECB7A2941CC446E0FB42B3041961804D6C47A2941BC69DE51B62B3041DC8E53B4F17A2941F8B9DAEABE2B3041ECD24DA2F17A2941A0A44E00BE2B3041AEA44E00F67A2941F4088ABFF62B304104DE0249457A294110D26F7FFA2B3041468B6C276A792941203867A4842C30418E438B2CA7792941F01FD24F8C2C3041C5DCB5C4027B2941C810C73A9A2C3041FC6E81C4FD7A2941C042ADA95B2C3041AEA44E00F67A2941F4088ABFF62B3041020000000200000000020A00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(729566 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (729617, N'{EFE5430F-471C-4690-BEB8-5597E7714151}', N'012763390', 495505, N'KAP72', NULL, N'12763390', NULL, N'21000386000', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Parcel B', N'Block 41', NULL, N'PARCEL B (PLAN M16840) OF LOTS 18, 19, 20 AND 21 BLOCK 41 DISTRICT LOT 381 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 72', N'0044', N'0019', N'NO', N'ICF', 4, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-04-24T16:59:22.000' AS DateTime), 553, 176, 0xBD0B00000104080000005A643B9F29AD374100B1506B6D081D419C703DAA2DAD374130B6F3FD75081D412363EE1A46AD3741B0EF16C8C1071D41DAACFA7C24AD3741B07BF2B07A071D4158CA322420AD3741F0BCE3149A071D417CE09C7139AD37411076E01CD0071D41E5E995523BAD374140F1D2CDE8071D415A643B9F29AD374100B1506B6D081D4101000000020000000001000000FFFFFFFF0000000003, CAST(729617 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (729866, N'{A96A212B-9287-4617-B391-23BDE8ED47DB}', N'005360668', 127859, N'VIP9608', NULL, N'5360668', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 6', N'', N'', N'LOT 6, SECTION 36, VICTORIA DISTRICT, PLAN 9608', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:33:14.000' AS DateTime), CAST(N'2019-01-05T10:21:10.000' AS DateTime), 619, 104, 0xBD0B00000104050000008BD2DE60BD453241104CA60A1A8A1741871F63CEBD4532418004C50FD1891741F9C264EA9B453241C01B0D60CD891741F675E07C9B453241F062EE5A168A17418BD2DE60BD453241104CA60A1A8A174101000000020000000001000000FFFFFFFF0000000003, CAST(729866 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (730160, N'{4281D994-0AF5-48F1-B23B-374CAE085BB1}', N'009325476', 137263, N'VIP51', NULL, N'9325476', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 53', N'', N'', N'LOT 53, SECTION 7, VICTORIA DISTRICT, PLAN 51, EXCEPT A STRIP OF LAND 10 LINKS IN WIDTH ALONG THE FRONTAGE OF BURNS AVENUE, AND EXCEPT PART IN PLAN 5105', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:05:01.000' AS DateTime), CAST(N'2019-01-05T10:22:15.000' AS DateTime), 1313, 171, 0xBD0B0000010409000000A679C729053A3241C0AEB662C2821741890D4F4F053A3241804AEA84C2821741431361430F3A3241F0DBD781CB8217416419E218193A3241301CEB62D48217413792CB7F2D3A324180F1414F0282174111A5BDA1303A3241B028ED0DE2811741547424571D3A3241A00968A2D0811741474772B91C3A324160068115D0811741A679C729053A3241C0AEB662C282174101000000020000000001000000FFFFFFFF0000000003, CAST(730160 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (730503, N'{4DBD82E5-79F3-4ADF-804B-5AFB766B3BBF}', N'006156801', 133140, N'VIP3992', NULL, N'6156801', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'', N'', N'THAT PART OF LOT 2, SECTION 132, SOOKE DISTRICT, PLAN 3992 COMMENCING AT A POINT ON THE SOUTH EASTERLY BOUNDARY OF LOT 1, PLAN 4579 PERPENDICULARLY DISTANT 15 FEET SOUTH WESTERLY FROM THE WESTERLY BOUNDARY OF THE EAST SOOKE ROAD AS SAID ROAD IS SHOWN ON PLAN 3992, THENCE SOUTHERLY AND PARALLEL TO THE WESTERLY BOUNDARY OF SAID ROAD A DISTANCE OF 550 FEET, THENCE NORTH EASTERLY AT RIGHT ANGLES TO AN INTERSECTION WITH THE WESTERLY BOUNDARY OF SAID ROAD, THENCE NORTHERLY ALONG THE WESTERLY BOUNDARY OF SAID ROAD TO AN INTERSECTION WITH THE SOUTH EASTERLY BOUNDARY OF SAID LOT 1; THENCE SOUTH WESTERLY ALONG THE SOUTH EASTERLY BOUNDARY OF SAID LOT 1 TO THE POINT OF COMMENCEMENT', N'0163', N'0005', N'NO', N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:52:22.000' AS DateTime), CAST(N'2019-01-05T10:23:54.000' AS DateTime), 660, 297, 0xBD0B000001041500000052B81E0597DC3141C074939894DF1641F141CF869ADC3141600681157CDF1641BC0512749DDC314140AF946562DF1641248716B99FDC31411054E3253EDF164129E4831E9DDC31411062A1D638DF164124A089D09ADC3141E0D8CE7753DF1641CDF753E397DC3141D02FBB276DDF1641C352966194DC3141400C02AB85DF1641302AA95390DC3141B0840DCF9CDF164116FBCB0E8ADC3141806ABC74B9DF1641C87F48FF72DC314130C05B2013E01641CC915C7E52DC314190FA5C6D91E016413A6744893BDC314110363CBDD2E01641CECCCC2C3EDC3141500C02ABE1E0164185A7572A47DC3141E04F8D17C8E01641246519A255DC314150A470BDA5E016413B014D8463DC3141A0D85F7668E01641EFC9C3A275DC31414096210E22E01641AC6054B28CDC3141A0408262C8DF1641CB8F31F792DC3141705AD3BCABDF164152B81E0597DC3141C074939894DF164101000000020000000001000000FFFFFFFF0000000003, CAST(730503 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (730790, N'{4361CE70-38F2-46CB-A66C-C55853EA4C27}', N'007576153', 128602, N'VIP1347', NULL, N'7576153', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 12', N'Block 1', N'', N'LOT 12, BLOCK 1, SECTION 33, VICTORIA DISTRICT, PLAN 1347, EXCEPT PART LYING SOUTH EAST OF THE SOUTH EAST LIMIT OF THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY, AS SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:12:47.000' AS DateTime), CAST(N'2019-01-05T10:24:47.000' AS DateTime), 225, 75, 0xBD0B000001040B000000C58F31B7513C3241604AEA04009B1741CF5D4BC8473C32419026C206D19A1741A4923A61433C3241A057CA32BC9A1741E573B5F5423C32410086C9D4E49A174130BB27EF423C324170CE8852E79A1741D5A370FD423C324100189554E79A1741A60A46E5423C3241603FC65CEF9A1741D5817386423C324150D3BCE30E9B17412C5305C3543C324120C7BAB8199B17416F787A25553C3241E000DE82F49A1741C58F31B7513C3241604AEA04009B174101000000020000000001000000FFFFFFFF0000000003, CAST(730790 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (730869, N'{D868C1C3-2107-4079-A45C-E9B4353245CA}', N'008318824', 288276, N'PGP24208', 90052813, N'8318824', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'', N'', N'LOT A DISTRICT LOT 8622 CARIBOO DISTRICT PLAN 24208', N'0163', N'0002', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2019-01-11T18:31:54.000' AS DateTime), 6719, 326, 0xBD0B0000010409000000C7073D7BC6EC3241F844D83072652B41511E160AA9EC324138BE9F9A59652B41102DB27D98EC3241B8E61D274B652B412AA9139081EC324178855A5369652B412E4CA6CA7EEC324160F38E93EB652B416C8A8EC48DEC3241783D0AD7EB652B4198900FBAE1EC3241D034EFF8F1652B41659A773CE4EC3241300309CA87652B41C7073D7BC6EC3241F844D83072652B4101000000020000000001000000FFFFFFFF0000000003, CAST(730869 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (731004, N'{E4BEBE08-6201-432C-A795-DC4BCB2A545A}', N'015039714', 493279, N'NEP2936', 21294811, N'15039714', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 24', NULL, NULL, N'LOT 24 DISTRICT LOT 1236 KOOTENAY DISTRICT PLAN 2936', N'0163', N'0019', N'NO', N'ICF', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-02-11T15:48:16.000' AS DateTime), 5755, 300, 0xBD0B00000104060000002BDD24868FAF384150CAC3C23D141E4130992A1879AF3841007C61B21B151E4116D9CE57B0AF38413093A902E4151E417C51495DD3AF384160EF38C595151E41365EBAC9D7AF384100F9A067FC141E412BDD24868FAF384150CAC3C23D141E4101000000020000000001000000FFFFFFFF0000000003, CAST(731004 AS Numeric(38, 0)), NULL) +GO +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (731316, N'{C234AF55-89AF-4A1E-A5AB-50274E4945EC}', N'006440614', 128441, N'VIP111', NULL, N'6440614', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 11', N'', N'', N'THAT PART OF LOT 11 (INCLUDING PART ON PLAN 6 RW), SECTION 4, VICTORIA DISTRICT, PLAN 111, SHOWN ON PLAN 1209 OS', N'0153', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:33:44.000' AS DateTime), CAST(N'2019-01-05T10:53:16.000' AS DateTime), 5, 12, 0xBD0B0000010404000000FEFFFF7F1C393241000EBEB0AA79174156C1A8441C3932416091EDFC96791741C6E53F241A393241B00A46A59C791741FEFFFF7F1C393241000EBEB0AA79174101000000020000000001000000FFFFFFFF0000000003, CAST(731316 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (733903, N'{B44DE50A-697B-4682-8FA8-52E9854F617A}', N'003842878', 870655, N'KAP30840', NULL, N'3842878', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Parcel D', N'Lot A', N'', N'PARCEL D (DD T2096 AND PLAN M16477) OF LOT A SECTION 36 TOWNSHIP 19 RANGE 18 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 30840', N'0055', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:29:52.000' AS DateTime), 636, 324, 0xBD0B000001040F000000E9C039A339503541F002090A0A9B2341E27A148E34503541F897DD930D9B23410893A96222503541401E16EA1A9B234112BE30591650354148871659249B23411C2FDD640A50354118211F342E9B2341F2384587FE4F354118B5A679389B23416509F9C0F24F354128B07228439B2341CC20B012E74F354148499D404E9B234124ED0D7EDB4F3541503789C1599B234172C5FE32DE4F3541400C022B5A9B234199BB96F0EC4F3541D8779CA24A9B2341ACADD8DF6C503541384547B2F09A2341777AA54C70503541E80DBE30E19A23411E5A64BB3E50354180CE8892069B2341E9C039A339503541F002090A0A9B234101000000020000000001000000FFFFFFFF0000000003, CAST(733903 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (734826, N'{1ACFE348-F7A0-4320-8757-8380DB17A7C1}', N'005723272', 494426, N'NEP11578', 90054451, N'5723272', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', NULL, NULL, N'LOT 4 DISTRICT LOT 1236 KOOTENAY DISTRICT PLAN 11578', N'0163', N'0019', N'NO', N'ICF', 7, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-02-11T15:48:16.000' AS DateTime), 1392, 172, 0xBD0B0000010405000000AC25E44332AC384140431CEB4B041E41E24F8DF761AC38414070CE88FE041E413480B7C06AAC384120C9E5BFED041E41A9E8486E52AC384110D7A3F00C041E41AC25E44332AC384140431CEB4B041E4101000000020000000001000000FFFFFFFF0000000003, CAST(734826 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (735049, N'{AA60A766-F9A3-4806-A4EA-82C343128744}', N'010227083', 3, N'NO_PLAN', 5351901, N'10227083', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART A', N'3141', N'', N'THAT PART OF PARCEL A (38921M) OF DISTRICT LOT 3141 CARIBOO DISTRICT AS SHOWN ON PLAN B7267', N'0163', N'0002', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-01-09T12:11:21.000' AS DateTime), 3339, 259, 0xBD0B000001040F000000F063CC9D0DE9324168CA3284B7392A41240681750DE93241F8C039E3B8392A41DE0B93C900E93241702BF6D7163A2A4143CF849F00E93241607F0CAE173A2A416300CD7800E93241A0D0A386183A2A41EE24755500E93241A8DB8661193A2A4116EE853500E93241A8CA7F3E1A3A2A416D36071900E932414846581D1B3A2A41FEFFFFFFFFE83241587FD9FD1B3A2A4108A3927AF5E832411895D4096A3A2A4178E09C11F5E83241005D6D856D3A2A41AEE1E9F522E93241087F6A3C723A2A4170787A6525E93241900C71AC1A3A2A412D2AA91328E9324158C8073DBA392A41F063CC9D0DE9324168CA3284B7392A4101000000020000000001000000FFFFFFFF0000000003, CAST(735049 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (736015, N'{C69933E5-AD91-426B-A14F-8F0AAFD81E4E}', N'001718061', 3, N'NO_PLAN', NULL, N'1718061', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 5', N'3', N'', N'THAT PART OF SECTION 5, RANGE 3, QUAMICHAN DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 30839I AND CONTAINING 4.45 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 15, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T16:46:10.000' AS DateTime), CAST(N'2019-01-07T18:31:39.000' AS DateTime), 16159, 1246, 0xBD0B000001043A00000059C1A8E4D2CA3141A07EFBBAD15F1941AF1C5AE4C6CA31411004560E2A601941DAF97E4AC1CA3141702F4C26516019410A5F988CBBCA314190F085C977601941325530AAB5CA3141E0497B039E601941BC37F8A2AFCA314150D191DCC3601941CB98BB76A9CA314140AC1C5AE9601941C4CAA125A3CA314180B6627F0E611941447B83AF9CCA314170A8354D3361194145D8F01496CA3141008126C257611941E86A2B568FCA31418063EEDA7B6119411261C37388CA31412073D7929F6119411904566E81CA3141E0AE25E4C2611941140BB5467ACA31413082E2C7E561194126F697FD72CA3141700F7A360862194165B3EA936BCA3141A0C2F5282A62194150158C0A64CA31418006F0964B621941078A1F635CCA31419006F0966C6219414594F6A654CA314100098A9F8E62194198FF90DE4CCA314130917EFBB16219410EE9B70F45CA3141B042AD69D6621941D69AE63D3DCA31413050FC98FB621941DE02096A35CA3141409D802621631941F10DBE902DCA314160EE5AC24663194150158CAA25CA3141B08251C96B631941E92631E81ACA314160B4C8F69A631941267E8CD950C93141A0DB68808E6519418A8EE45244C93141500F0B35B065194160FE43BA2CC93141100BB526F7651941FC4A598660C9314160F38ED300661941B8490C0228CA314140787AA5E3631941D98AFDA533CA3141700B24A8B0631941F5CBEE493CCA3141300DE0AD8C6319417E04C5EF44CA3141805296216A6319413AD6C58D4DCA3141802F4CA6496319413AB4C81656CA3141D06D34002A631941CAE53F845ECA314150E76AAB09631941962A18D566CA31418079C7A9E8621941427958086FCA3141606DC5FEC6621941A223B91C77CA3141207B83AFA4621941CD3B4E117FCA3141A037F8C281621941A613D0E486CA3141C0A44E405E62194140BD52968ECA3141B0C420303A621941934AEA2496CA31419007CE99156219418404C58F9DCA3141E04A5986F06119418E1804D6A4CA3141304850FCCA611941DE5817F7ABCA3141C000DE02A5611941197C61F2B2CA3141C051B89E7E611941B6A679C7B9CA3141A01726D35761194156863876C0CA31416009F9A03061194194FF90FEC6CA3141B0B88D0609611941E22D9060CDCA314120000000E1601941E2B5849CD3CA314150B81E85B8601941858EE4B2D9CA3141D04BA68A8F601941915374A4DFCA3141A0B7400266601941AA605472E5CA3141A01C5AE43B6019410122FD16F4CA3141E0482E7FD45F194159C1A8E4D2CA3141A07EFBBAD15F194101000000020000000001000000FFFFFFFF0000000003, CAST(736015 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (736235, N'{928A49CE-A885-4AE6-9344-57BD1FCEEC31}', N'011256630', 480274, N'KAP2081', 90053209, N'11256630', NULL, N'cnhp0103', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot C', N'', N'', N'LOT C SECTION 10 TOWNSHIP 22 RANGE 11 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 2081', N'0163', N'0006', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:22:30.000' AS DateTime), 60, 39, 0xBD0B000001040400000023DBF93EBB4B3641B0B662FFAF7324414494F686B34B3641D012F2C1B77324414650FCB8B94B364100DCD781D073244123DBF93EBB4B3641B0B662FFAF73244101000000020000000001000000FFFFFFFF0000000003, CAST(736235 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (736612, N'{45E3B91A-C039-4A61-9F8E-7D7E4AB55229}', N'010418814', 3, N'NO_PLAN', NULL, N'10418814', NULL, N'759-001631.010', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART 18', N'79,13', N'', N'THAT PART OF LEGAL SUBDIVISION 7 SECTION 18 TOWNSHIP 79 RANGE 13 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT LYING NORTH OF THE POUCE COUPE RIVER', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:20:45.000' AS DateTime), 46655, 1089, 0xBD0B000001043A0000004E3789A1AFF434414844694F6BA3324188D2DEC0A7F4344154E5D0026AA33241DDE995F29FF434413C014D6468A3324160E5D04298F4344124992A3866A33241B8DA8A9D90F43441EC3845E763A33241AE2E6E0389F434415C32557061A33241B91E856B81F434413C3333F35EA332413D7958C879F4344170787AA55CA3324199438B0C72F43441202DB2BD5AA33241628FC2356AF4344118B0724859A332417AF2B05062F434414C696F1058A332410E83C06A5AF4344180D0B3D956A3324183FB3A9052F4344164BA496C55A332415C5227C04AF4344128F163CC53A3324154F38EF342F4344170FD651752A332414694F6263BF4344124C2866750A332411161C35333F43441947CD0D34EA3324156EC2F7B2BF43441546B9A574DA33241D100DEA223F4344108AC1CDA4BA33241E7FBA9D11BF434410C93A9424AA332413F355E1A14F43441C4E53F4448A332414950FC980CF4344158DC468345A33241EC04341105F43441ACB12ECE42A33241BEC11786FDF3344174D0B31940A33241BD96900FF6F33441BC9AE63D3DA33241F6DBD7C1EEF33441E8FBA9113AA33241074625B5E7F33441A89DEF6736A33241F8A067F3E0F33441F0A7C62B32A33241BEEC9E5CDAF33441F87E6A9C2DA332413EFAEDCBD3F33441CC64AA0029A3324188416025CDF33441B88D069024A33241AEBFEC7EC6F33441C89BC42020A33241B069DED1BFF334419C081BBE1BA33241188C4A0AB9F33441101DC98517A3324162FE431AB2F33441A0C4209013A332416609F920ABF33441DCF97EAA0FA3324176A52C43A4F3344144FDF6950BA33241D50968829DF334412CA0895007A33241747AA5CC96F33441141973F702A33241527DAE1690F334419009F9A0FEA232415A0E2D5289F3344148257562FAA2324198D4096882F334416039B468F6A232412B31080C7BF3344138454732F3A23241C1F5281C74F3344100EBE256EFA232413CCD3B6E72F33441D0817306EEA23241DDE995B262F33441AC8251A9A7A33241160DE06DF4F434411461C373C9A33241335530EAFAF434414C696FF07CA3324120F46C56F5F4344170A52C237CA3324191CB7F88EDF43441704F1E767AA33241F163CCDDE5F43441DC78E94678A3324156C1A844DEF434414C27A0C975A33241DC7A14AED6F43441FCC9C34273A33241780B2408CFF43441444772F970A33241DA8AFD45C7F4344170B0E1296FA33241FF4C846DBFF43441287502BA6DA332413A674489B7F434410812147F6CA332414E3789A1AFF434414844694F6BA3324101000000020000000001000000FFFFFFFF0000000003, CAST(736612 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (737132, N'{A4CD6CCA-DF16-436B-88E5-FD62873AEED1}', N'007488921', 4652349, N'VIP379RW', NULL, N'7488921', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 48', N'', N'', N'THAT PART OF LOT 48, DISTRICT LOT 140, ALBERNI DISTRICT, PLAN 1414 BEING THE LOGGING RAILWAY SHOWN ON PLAN 379 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2019-01-10T15:02:42.000' AS DateTime), 899, 185, 0xBD0B0000010410000000AAADD87FDA7D3041F0C876BE0E051D414C72F94FBE7D304170B7AF0312051D41081B9E5EC07D3041A074939819051D41EEDFC460CD7D304160B0F3EA2F051D4175A969C8DA7D3041B046761A42051D412C098B80E87D3041C0F79B0A50051D41E470A973F67D3041E06E8DA559051D41F0E2E88B047E304100793DDC5E051D412F3333B3127E3041F09C80A65F051D411B2653C5127E3041B0AF03E72E051D41DD04BD40097E3041D0987EDE2E051D41DEFB25C0FF7D3041F0BD70B02C051D41D67C4B4BF67D304180ADA05E28051D41066AE1E9EC7D3041702293EC21051D4143D08BA3E37D30414026885F19051D41AAADD87FDA7D3041F0C876BE0E051D4101000000020000000001000000FFFFFFFF0000000003, CAST(737132 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (737155, N'{0E56FA1F-A423-4EDF-B636-746D2020F5AB}', N'014246627', 468107, N'NEP7031', NULL, N'14246627', NULL, N'7864592100', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot A', N'', N'', N'LOT A DISTRICT LOT 4592 KOOTENAY DISTRICT PLAN 7031, EXCEPT PART INCLUDED IN PLAN 13735', N'0163', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:42.000' AS DateTime), 41330, 836, 0xBD0B0000010408000000BA37F8824AF0394100CFF7531BEE1E41C4D32B05B0F0394180073D9B51EC1E417C8CB92B28F03941C0D32BE57FE91E410400006008F03941600F7A3615EA1E41061B9EFEF9EF3941A04160E5DCE91E41C9293A92A3EF394170984C955CEB1E413780B70098EF3941408B6CE78FEB1E41BA37F8824AF0394100CFF7531BEE1E4101000000020000000001000000FFFFFFFF0000000003, CAST(737155 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (737985, N'{ED463380-A9E4-43D9-A90B-0C83506D80BE}', N'011819961', 495510, N'NEP640', NULL, N'11819961', NULL, N'7075881005', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 5', N'Block 1', N'', N'LOT 5 BLOCK 1 DISTRICT LOT 1242 KOOTENAY DISTRICT PLAN 640 EXCEPT PLAN R358', N'0163', N'0004', N'NO', N'ICF', 4, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:21:26.000' AS DateTime), 118, 45, 0xBD0B000001040500000042575B111D00394180923A81C0521F4132C4B1EE0F003941E000DE82A0521F41645452270B003941003108ACBF521F4171AC8BFB13003941E09E3C2CD5521F4142575B111D00394180923A81C0521F4101000000020000000001000000FFFFFFFF0000000003, CAST(737985 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (738014, N'{A485EEDC-3914-4379-BED2-60C663A05E9C}', N'006081070', 3, N'NO_PLAN', NULL, N'6081070', NULL, N'7079066000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART 7710', N'', N'', N'DISTRICT LOT 7710 KOOTENAY DISTRICT,EXCEPT PART INCLUDED IN SRW PLAN 14293', N'0163', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:21:14.000' AS DateTime), 312216, 5116, 0xBD0B000001044B000000B4627F9943FB38412067D5671AFE1D413A3CBD3246FB3841D0FBA9F116FE1D41F80FE937D9FA3841905AD33CE0FD1D41DAACFA7C32FA3841F0EBC0B98DFD1D4160BA492C62FA38415054E3A53BFE1D41401CEB0282FA3841A0E2C79864FE1D41B07268B1C5FA384180613255B7FE1D41CEDEE0CBD0FA384150575BB1ABFE1D41BD30996AF4FA384120F46CD683FE1D41B4627F9943FB38412067D5671AFE1D415B7DAEF6A9F83841300C022BC7FC1D412E2AA9D3A7F838418026C20636FD1D4150621018A9F83841A07268119FFD1D41C030992ABBF83841F06EF0054CFE1D41900F7A76C1F83841F0830DCF67FE1D410044FA6DD3F83841C0915C7E87FE1D41E2C7981B11F9384100250601D4FE1D4106C58FB12DF93841404469EF48FF1D4132A2B49733F93841D078E92681FF1D413A67448931F93841D0E3149DC1FF1D4183B740C21EF93841F0FFFFFF8AFF1D41BBC876FE12F93841207DAE36BAFF1D41FE770B440CF9384110F77560FCFF1D4102098A5F0EF938410088F4DB3A001E416C226CB824F9384130D1915CA2001E41B86B09593AF938415017B7D1BF001E41F2B050EB43F93841E0460378E5001E41CAFEB21B44F938417006F09607011E418E0F7A3649F93841701F63EE60011E414A2EFF6147F938410020D26FCA011E414BB6F33D3BF938419087855AF5011E41A3F8310616F93841C0FEB27B3E021E4176E09CB1ECF83841C0DA8A7D08031E413E92CBDFE4F83841B00FE93736031E419C779C620EF93841F0B4A6794B031E41E024068121F938419038D64555031E414C0C02EB35FA3841C096908FE0031E41D02B6559C4F93841206C78FAE1FE1D4190F2E3A1BDF938410058B9109BFE1D413F0C0953B6F93841C0780B1855FE1D41B91AF06EAEF9384120919D2410FE1D4123CCDFF7A5F938415009534ACCFD1D41C83249F09CF938416032BE9C89FD1D41CA10C75A93F93841E09F1A2F48FD1D418161325592F93841E096FF903DFD1D411651DAFB90F93841B064AAE03CFD1D415B7DAEF6A9F83841300C022BC7FC1D41FFDD0249C5FA3841B067226C0AFF1D418E5CFE037CFA3841708863DDB0FE1D41742D21DF57FA384120D26F5F82FE1D41235A64BB26FA3841607958A8CEFD1D418ACB7F4803FA38413040A45F76FD1D41A0B437D8CAF93841B0FB3A705AFD1D41071214DFC4F9384100F7756057FD1D41F6C2640AD8F93841300C022B0DFE1D4166E40715DBF93841A052261B29FE1D41FC4E5309DEF93841D0888C3145FE1D413EF128E7E0F9384130CF166D61FE1D412E9E6BAEE3F9384100CDA5CC7DFE1D41B20EFF5EE6F9384190B9184F9AFE1D4182E2C7F8E8F93841F0694DF3B6FE1D412C6EA3C15FFA384190A52C43F5031E41F64A59068AFB384160D5E7EA88041E41F64A59A68FFB384120F9A0E786FF1D41459D80A646FB3841505227A06AFE1D41B2FA5C4DFAFA384150158C4AD0FE1D4116FBCB0ED6FA3841C0CFD5D6F8FE1D41FFDD0249C5FA3841B067226C0AFF1D41628FC2F54EFB3841306210581BFE1D4146E17AD4A3FB38413061C3D365FF1D41769CA2039EFB384130166ACD92041E41A001BCC541FC3841A0D100DEE3041E41B437F8026DFC384130075F18B2FE1D41125839346DFC384120DCD701ABFE1D41628FC2F54EFB3841306210581BFE1D41040000000200000000020A000000022F000000024400000005000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003000000000300000003, CAST(738014 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (738158, N'{2DE55E21-A6D4-4859-BEEA-536AB0FC1E42}', N'008438129', 656236, N'VIP810A', NULL, N'8438129', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 10', N'Block 119', N'', N'LOT 10, BLOCK 119, SECTION 25, TOWNSHIP 9, RUPERT DISTRICT, PLAN 810A', N'0107', N'0020', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-22T18:13:57.000' AS DateTime), 511, 98, 0xBD0B00000104050000000CF241CFFB4E2B41F053E3A56F512341F94C840D1A4F2B41185839F46E51234188855AD3174F2B41586B9A772B5123411661C393F94E2B41289E5E292C5123410CF241CFFB4E2B41F053E3A56F51234101000000020000000001000000FFFFFFFF0000000003, CAST(738158 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (738165, N'{BAAFCCF0-B47A-4588-9173-39BD612D0B06}', N'001727150', 656230, N'VIP810', NULL, N'1727150', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'Block 24', N'', N'LOT 1, BLOCK 24, SECTION 30, TOWNSHIP 6, RUPERT DISTRICT, PLAN 810', N'0107', N'0020', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-22T18:13:52.000' AS DateTime), 508, 97, 0xBD0B000001040500000051158C8AE1522B4198C729FAC35123419331772DC3522B41382CD41AC55123418E75719BC5522B4188C2F5E80752234186EB51F8E3522B41D05B20C10652234151158C8AE1522B4198C729FAC351234101000000020000000001000000FFFFFFFF0000000003, CAST(738165 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (738570, N'{B3CA1E43-41DB-4724-913D-B9ABB10BC86A}', N'000016381', 646724, N'VIP2024', NULL, N'16381', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'Block G', N'', N'THAT PART OF LOT 4, BLOCK G, DISTRICT LOT 257 ALBERNI DISTRICT, PLAN 2024, SHOWN COLOURED RED ON PLAN 148 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:39.000' AS DateTime), 8894, 809, 0xBD0B0000010431000000F32FBBC7AA803041B0A679475A5C1D419CFF905E6180304140E926315A5C1D41D189290853803041400AF705845C1D41B546C8BA4580304160006102B35C1D417CFCF89339803041102F08BEE65C1D41892AB9AE2E80304190C704C61E5D1D4157163C2325803041A0FFE29D5A5D1D410D0BB5061D8030417080B7C0995D1D41DBF0F40A128030416010E937FA5D1D412E992AF809803041D0770B24415E1D4130E6AE652B8030412043ADE9415E1D41AF7268D12D803041B078E9A62C5E1D41E6482EBF38803041B00B24A8CC5D1D418C68E06F3E8030410013FC7D9F5D1D41F242420045803041F0490144745D1D4111B0D5654C803041F0154D3F4B5D1D4172BBC79454803041604071B1245D1D41038B03805D803041E0230FD8005D1D413C48471967803041A02775ECDF5C1D41A9EA3A517180304190244323C25C1D41EDBE88177C803041E04616ACA75C1D415A83F75A8780304130F13CB1905C1D4171F0850993803041E01873577D5C1D41F32FBBC7AA803041B0A679475A5C1D414C621038D37F3041402CD41A26611D4159423E08D67F304140BE9F9A14611D41C4D32BC5D87F304190FA5CED02611D4118FBCB6EDB7F3041B0BB9610F1601D41152FDD04DE7F3041B0DCB504DF601D4112022B87E07F304170849ECDCC601D41083D9BF5E27F3041B0438B6CBA601D417EFB3A50E57F3041508941E0A7601D4158863896E77F3041900DE02D95601D41524013C1E97F304100E02D9082601D41D0BCE314F27F304170F90F6939601D41D7F0F4EAF17F3041C01E856B145F1D41B6408282E97F3041705DDC465E5F1D41E91DA708CE7F3041F054C1A84F601D41BD3A9117C87F3041F0547B9E80601D414870168EC17F3041D0ED8559B0601D410B634570BA7F3041006541BCDE601D412BC888C2B27F304100B2E3A90B611D41C6A7A489AA7F3041305B8A0637611D41A067B3CAA17F3041B0C64BB760611D41A0A223B9C87F30410077BE1F62611D414E621058CA7F30411067D56759611D41DD361A60CD7F3041206E348048611D417C613255D07F3041601D386737611D414C621038D37F3041402CD41A26611D41020000000200000000021800000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(738570 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (739515, N'{46A7FD4A-8AA4-45ED-8D2D-1A7AB67ABACF}', N'015505341', 489530, N'NEP2273', 9727461, N'15505341', NULL, N'26245', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'Block 1', N'', N'LOT 2 BLOCK 1 DISTRICT LOT 962 KOOTENAY DISTRICT PLAN 2273', N'0121', N'0019', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:36:57.000' AS DateTime), 1939, 177, 0xBD0B000001040A000000F4A9F112B5613841705EBAC9CEAA1D41A3825149AA613841F02F4CA645AB1D41ACCFD596A5613841B0AF036779AB1D41769CA2A3AD613841B011A5BD7FAB1D4178931844B461384100FDF6F584AB1D411C51DA9BD7613841A015FBCBA0AB1D417CD93D79D961384120431C6B6CAB1D41EC043431DD613841409B551F0AAB1D414750FC78C461384130B7D180E5AA1D41F4A9F112B5613841705EBAC9CEAA1D4101000000020000000001000000FFFFFFFF0000000003, CAST(739515 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (739524, N'{165A7E7B-CF99-4C72-A092-313E56D7F553}', N'012869856', 4752615, N'KAP1OL', NULL, N'12869856', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', NULL, N'Block D', NULL, NULL, N'BLOCK D DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT TOWNSITE OF OLIVER EXCEPT PLAN KAP90353', N'0095', N'0022', N'NO', N'ICIS CADASTRE', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-05-05T16:39:37.000' AS DateTime), 6641, 404, 0xBD0B0000010411000000579FAB0D386F364130C286274B8E1D41D4B35975366F3641E05F764F4D8E1D41C9BAB82D0D6F3641A0B515FB838E1D41C576BE9F016F3641901058B9EA8E1D41D48173A6006F3641901DC965F38E1D41752497BFFA6E3641F043FA6D288F1D412B871679F46E36418028ED0D608F1D4134333333EE6E364100CD3BCE978F1D41F9A067D3D66E3641200AD7A366901D41A89BC4C0066F3641A076BE9F6C901D4142AD69FE086F3641D000DE026C901D41304CA62A3C6F36416088635DA28E1D419031770D446F364100D044D85B8E1D4162CC5D6B486F3641F0A7C6CB348E1D412831082C496F36413029CB102E8E1D419F11A5BD406F36418083C0CA3D8E1D41579FAB0D386F364130C286274B8E1D4101000000020000000001000000FFFFFFFF0000000003, CAST(739524 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (740344, N'{60E1ABD2-522A-4F44-B0AD-4598276DFD2B}', N'006227481', 297178, N'PRP6914', NULL, N'6227481', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 6733 RANGE 5 COAST DISTRICT PLAN 6914 EXCEPT PLAN 11734 AND EXCEPT ANY PORTION OF THE RIGHT OF WAY OF THE DOMINION TELEGRAPH LINE HAVING A WIDTH OF 100 FEET WHICH MAY LIE WITHIN THE BOUNDARIES OF THE SAID LANDS', N'0163', N'0011', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:13:45.000' AS DateTime), 61571, 2110, 0xBD0B000001042800000004CE1911E019294198DD93A78A8B3041920F7AF6A01929412CDD24C6F8893041C4DA8AFD8A18294120D26FDF028A3041643BDF0FA61829419CF831465B8A3041A86F6895B41829412023F4D4628A3041AA13A41CC2182941D8564CD66A8A3041ACB27997CE182941604CE341738A3041707FE8F8D91829415009F30E7C8A30412EE01435E418294170035034858A30417BC95441ED1829411CB072A88E8A3041C4F34277F6182941DCEC277C9A8A3041663042EFFD18294150097B9DA68A3041B4323A9F03192941A8CA06FCB28A3041D00E7B7F071929412C371387BF8A3041B09DC78A09192941B82DAC2DCC8A3041CE915CBE09192941D451B8DED88A3041949999193319294130386744918B304104CE1911E019294198DD93A78A8B3041ECC9C34216182941ACEA7335B78A30419E8026022B18294120CB10E7D78A30414292CBFF30182941703D0AF7068B304101098ADF3018294190D6340F1D8B3041C81726931A18294144287ECC5F8B3041FB088A5F1818294170567DEE748B30411E41F1E31D18294150A52CE3868B30416DF90FA92B182941881804569B8B304101CE19D160182941E0839E4D998B3041FA2A875661182941285C8F428D8B3041B4A44E40691829416407CE59D68A3041AE5B2081FC172941BC2C437C678A30411EE4831EA2172941C0AACF550B8A30417C51491DA4162941A0D6348F148A3041031214FFA6162941403EE8392A8A3041B2ADD81FD6162941D4EBC0793A8A3041EE0434510B17294148302A69498A30415B1058F968172941E4770B845E8A3041907EFB3AC7172941F8891FA37A8A304106C58FF1D71729417CE09C51838A30415E2041F1061829417019E278A78A3041ECC9C34216182941ACEA7335B78A3041020000000200000000021200000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(740344 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (740355, N'{A1F86EDA-BCA7-4A85-B5E5-08D4CB5AFC33}', N'013908341', 295346, N'PRP974B', 90073178, N'13908341', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 4', N'Block 53', N'', N'LOT 4 BLOCK 53 DISTRICT LOT 851 CASSIAR DISTRICT PLAN 974B EXCEPT PLAN 7772', N'0163', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:19:41.000' AS DateTime), 340, 89, 0xBD0B0000010407000000EBDBD7C13F512B41403108ACE76031412B3A928B40512B41581058D903613141E4F97EEA48512B4170F90FA909613141F0E236DA4C512B4134FAED4B0C613141B394658854512B412C6519420C613141C4BAB8CD53512B411873D792E7603141EBDBD7C13F512B41403108ACE760314101000000020000000001000000FFFFFFFF0000000003, CAST(740355 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (741401, N'{31CBB511-B970-455F-955C-258F4550B5BB}', N'010783237', 1184811, N'NWP2896', NULL, N'10783237', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2012-08-22T00:00:00.000' AS DateTime), N'REM Parcel ONE', N'REM Lot 10', N'', N'PARCEL "ONE" (EXPLANATORY PLAN 15314) LOT 10 DISTRICT LOT 17 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 2896 EXCEPT: PLAN EPP4117', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:36:58.000' AS DateTime), 1061, 135, 0xBD0B00000104050000006C66662626AE3241701F63EE696F1C419F1A2FDD3BAE3241704160E5A96F1C41644DF3EE56AE32414041F1E31C6F1C4160764FDE3CAE32419088D25EFA6E1C416C66662626AE3241701F63EE696F1C4101000000020000000001000000FFFFFFFF0000000003, CAST(741401 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (743594, N'{861C696D-006F-4145-A521-1A3CE46295B8}', N'011322357', 1303888, N'VAP4742', NULL, N'11322357', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-10T00:00:00.000' AS DateTime), N'Lot 5', N'Block 27', N'', N'LOT 5 BLOCK 27 DISTRICT LOT 599 PLAN 4742', N'0092', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T10:50:27.000' AS DateTime), 502, 95, 0xBD0B00000104070000001D8E75719E7A3241003D9B55A9871D41EA8C282DA07A3241E05296212C871D41FC21FD16907A324150B3EAF328871D41F48E5314907A3241A0A44EC029871D411083C08A8E7A324170651962A5871D413F7958888E7A324130C4B12EA6871D411D8E75719E7A3241003D9B55A9871D4101000000020000000001000000FFFFFFFF0000000003, CAST(743594 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (743902, N'{982F11CD-AE7A-4E22-9910-4CB68C033F8C}', N'000884901', 1310785, N'NWP14517', NULL, N'884901', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'Lot A', N'', N'', N'LOT "A" DISTRICT LOT 203 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 14517', N'0109', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:21:08.000' AS DateTime), 484, 94, 0xBD0B0000010405000000674DF36EEFBA3241708104C58B4C1D41EF0DBEB0F0BA324130DF4F0D104C1D41A4DFBEAEE1BA32418044FA6D0D4C1D41AF506B3AE0BA3241907D1D38924C1D41674DF36EEFBA3241708104C58B4C1D4101000000020000000001000000FFFFFFFF0000000003, CAST(743902 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (745350, N'{E4A9076F-5722-4913-8FD3-EB5AB57F8A7F}', N'002778742', 865725, N'KAP6097', NULL, N'2778742', NULL, N'72400480277', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot B', NULL, NULL, N'LOT B DISTRICT LOT 367 KAMLOOPS DIVISION YALE DISTRICT PLAN 6097 EXCEPT PLAN KAP79729', N'0163', N'0028', N'NO', N'ICF', 6, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-01-28T14:30:19.000' AS DateTime), 31150, 1296, 0xBD0B00000104590000004AC8077D2DD5344150FAED2B20E123418A855A3382D53441C888D2DE2CE12341AE76400982D53441282D6BC923E12341A2D8C84882D53441A079F6B51AE1234193956DF182D53441480E9CB711E1234100C2CA0184D53441B80157E108E12341BF8BA17785D5344170D2CD4500E1234134F7DC4F87D53441D0092BF7F7E023417860988689D5344100E5F606F0E02341B0B227178CD53441C855F285E8E02341924421FC8ED53441A8A3F383E1E023416A44692F92D534417004C50FDBE02341627FD9FD84D5344180BA49CCD6E0234171B515BB30D53441C0CAA1C5C5E023414AC8077D2DD5344150FAED2B20E1234106CE19510AD6344138CF6615F1E02341E1C798BBC9D53441A8BB9690E4E02341CE44D810A5D534413098DD93EFE02341937279BDA2D53441F8DAC4E3F1E02341249A7985A0D53441901DF196F4E023413A89F96C9ED5344128665CA8F7E023416072DF779CD53441E05F5112FBE02341B2ABCFA99AD53441B0FB75CEFEE0234111E8250699D53441B040D7D502E12341C6F7EE8F97D53441B039F62007E12341A41BE34996D5344180E8D5A70BE1234194F5603695D5344118220A6210E123411420695794D53441603AC74615E1234141749AAE93D53441F861F24C1AE1234122062F3D93D534413096326B1FE1234131DCF90393D53441D006029824E12341D266650393D5344188CBBFC929E123413BBA723B93D5344110D0C1F62EE12341848CB9AB93D5344100CF661534E12341897CD05398D5344180A52CC335E12341B5AF03E797D53441F880954343E12341F55F83C498D5344100B58BAB46E123417EC99EC799D5344128AC03E949E12341456650EE9AD53441B8AC84F54CE123410E9C4B369CD53441F0C8F7CA4FE123413554019D9DD534419809B46352E12341F417A51F9FD5344160BB89BA54E1234184A732BBA0D53441A8CBCCCA56E123418500746CA2D53441B81C5E9058E12341CCC70730A4D53441D8C0B3075AE12341D4096802A6D53441200DE02D5BE12341A089B00122D634418895438B82E123418B28C95E25D6344168DC6F7E83E123411C11CCC028D6344160F11B1D84E123414CE2A6252CD6344180A7E66684E12341637D458B2FD6344178CDA25B84E12341AE4B93EF32D63441184957FB83E12341B5847C5036D6344110143F4683E1234170E7FB895BD63441E0FBA97177E1234182FB3AB062D634417047E13A68E1234106CE19510AD6344138CF6615F1E023416C006F610FD63441381E16EA5DE22341006F812426D63441B0A679071CE22341EDB050AB34D63441B09AE6DDDDE12341C386A79738D6344108560EADD4E123411773D7D248D6344118C05BA0A3E12341DA3D797837D634414803780BAAE123410147EEE433D634415873B497ABE12341EF92E04430D63441C8662796ACE123412E4FCB9D2CD6344190265005ADE123411D4A34F528D6344138A186E4ACE123417499A35025D634414869FC33ACE12341053D9BB521D63441706ABCF4AAE1234180B74062A2D5344160E3A51B83E123410F411330A0D53441C89C6BC881E1234197801A0B9ED53441680D902780E12341109803F69BD5344138761B3B7EE1234139D767F399D53441686F74057CE12341227DC90598D5344140ED5C8979E12341B496902F96D5344120CCEEC976E12341580E2D128AD534419099999960E22341484772F9FBD534414813614375E2234128899EEDFDD53441889679E274E22341AE623DDCFFD53441A86C093174E22341CA5312C201D63441C0CC393073E223410E95EF9B03D6344198E0B8E171E22341D76ABB6605D6344120F5B64770E22341BD56751F07D6344150D0E2646EE22341D71E3BC308D634410831653C6CE223414AA24D4F0AD634415087DBD169E22341147315C10BD63441E0E2512967E22341382D27160DD63441282E3C4764E223414F84474C0ED63441A0B86E3061E223416C006F610FD63441381E16EA5DE22341030000000200000000020F000000023800000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(745350 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (745415, N'{B51511D1-59F7-4460-88E7-A54FD4D2966E}', N'014297710', 1479024, N'NWP1558', NULL, N'14297710', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-02T00:00:00.000' AS DateTime), N'REM Lot 6', N'Block 14', N'', N'LOT 6 BLOCK 14 EXCEPT: PART ON SRW PLAN 26625, DISTRICT LOT 69 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 1558', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T13:09:03.000' AS DateTime), 285, 77, 0xBD0B0000010406000000858EE4B27D9132415019E2D8180E1D414CFC18B37D913241705DDCC6180E1D41041214DF7D9132413003788B080E1D4154E3A5BB69913241C019515A060E1D4189F4DBB768913241C032C431670E1D41858EE4B27D9132415019E2D8180E1D4101000000020000000001000000FFFFFFFF0000000003, CAST(745415 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (745537, N'{FACF4693-5704-4CF0-ACC9-6D02DD1E4A39}', N'014339544', 1474544, N'NWP12158', NULL, N'14339544', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-24T00:00:00.000' AS DateTime), N'REM Lot 6', N'', N'', N'LOT 6 EXCEPT: PART ON PLAN 26009; DISTRICT LOT 14 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 12158', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T13:20:32.000' AS DateTime), 1095, 190, 0xBD0B000001040700000044D8F05442B13241703255B032FA1C412FFF219D0BB132415029CB90A2F91C417A2D215F04B132419051499DCFF91C41F1D24D4228B13241100F0B352EFA1C41E795B2AC48B132411030BBA783FA1C41F163CCBD4FB13241C003E70C56FA1C4144D8F05442B13241703255B032FA1C4101000000020000000001000000FFFFFFFF0000000003, CAST(745537 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (745803, N'{A5D1BE62-4CBC-46CB-BE6E-049FFB601237}', N'014522659', 865573, N'KAP2747', NULL, N'14522659', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Parcel B', N'REM Lot 774', N'', N'PARCEL B (DD 126689F AND PLAN B6015) OF LOT 774 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 2747 EXCEPT: (1) PARCELS 28, 29, 33, W AND Z ON PLAN A1277 (2) PLANS 12077, 14912 AND 27951', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:53.000' AS DateTime), 1349, 260, 0xBD0B00000104320000001E2FDD048F6A3641E028CB905F471D41927EFBFA8C6A3641E06F5F8749471D41EC85C9F4896A3641A04694F622471D419031778D876A3641E0C56DB4FB461D41B9A679C7856A364170B0E1E9D3461D413DF8C2A4846A3641B0361AC0AB461D4166666626846A3641C01B7C6183461D413DAD69DE816A3641F09DEFA7B3461D41B8847C307F6A3641E0506B9AE3461D414BBF7D1D7C6A3641D0E76A2B13471D41D444D8F0976A36411075029A4C481D411142A62F986A36418011B6204F481D4119C01D7C986A364110296E8F51481D41C6E5ADD5986A364130228FE153481D41150BAD3B996A3641808DB31256481D4189FA59AD996A3641D076B41E58481D41435FDD299A6A36413044B1015A481D41C85C4BB09A6A3641400D17B85B481D41D04DA53F9B6A36415061A73E5D481D41BAA6DBD69B6A3641606A7E925E481D41CCF7CF749C6A3641E06A18B15F481D41F10B57189D6A3641207B569860481D41431F3BC09D6A36416093824661481D41252A3E6B9E6A3641F0C452BA61481D41723B1C189F6A364100AEEBF261481D411CDE8DC59F6A3641D019E2EF61481D41B9854A72A06A364190C83BB161481D4185FC0A1DA16A3641E0676F3761481D4189CF8BC4A16A364180AE638360481D410DB38F67A26A364110AB6D965F481D41C6DBE104A36A3641003C4E725E481D41BC47589BA36A364120BC2E195D481D41CEF2D529A46A364130ED9C8D5B481D418FF24CAFA46A3641901F86D259481D41AA75C02AA56A364120A731EB57481D4196A2469BA56A3641E0A53ADB55481D41DA520A00A66A3641203789A653481D4178A64C58A66A364100094B5151481D41D76D66A3A66A36413071EBDF4E481D413B66C9E0A66A3641300F0B574C481D414D470110A76A3641200877BB49481D41589FB430A76A364160EE1F1247481D41E67CA542A76A36418065106044481D41C0E3B145A76A3641609663AA41481D41B30DD439A76A3641B0813BF63E481D412D75221FA76A3641A048B7483C481D41D3AACFF5A66A3641E078E9A639481D41DF460378A66A36411075029A34481D410D93A942916A3641B0A6E84875471D411E2FDD048F6A3641E028CB905F471D4101000000020000000001000000FFFFFFFF0000000003, CAST(745803 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (746917, N'{1A687125-2B35-4774-B7B0-880BBC51B553}', N'011844990', 292085, N'PGP16365', 90054879, N'11844990', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'', N'', N'LOT 2 DISTRICT LOTS 8848 AND 8850 CARIBOO DISTRICT PLAN 16365 EXCEPT PLAN PGP36430', N'0163', N'0002', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2019-03-22T08:35:55.000' AS DateTime), 3324, 253, 0xBD0B00000104050000001FC9E53FCB453341A0E61D270F77284188855AF32846334120E4835E19772841024D846D1C46334128D1919CCB76284127287E2CCC453341184BC8C7C27628411FC9E53FCB453341A0E61D270F77284101000000020000000001000000FFFFFFFF0000000003, CAST(746917 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (748462, N'{26D6B6C6-DD13-404F-86A8-AD12C1A705A1}', N'011772654', 3, N'NO_PLAN', NULL, N'11772654', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART B', N'120', NULL, N'THAT PART OF DISTRICT LOT 120 SHOWN AS LOT B ON PLAN DD 27217 OSOYOOS DIVISION YALE DISTRICT EXCEPT PLANS H17738, KAP50853, KAP51562 AND KAP51563', N'0057', N'0016', N'NO', N'MODIFIED-ICIS', 4, N'PMBC-OPERATIONS', N'UNKNOWN', N'0', N'8012', CAST(N'2019-08-28T13:44:12.000' AS DateTime), CAST(N'2019-08-28T13:48:06.000' AS DateTime), 7812, 1616, 0xBD0B000001040F00000097218EB50982364168BE9F1AE97721415C423E68118236419037F84242772141907EFB1A198236410055306A9B7621415C8638F62882364170567D2E4A752141809ECD6A3A8236415082E247FA73214190A9829143823641B0FA5C2D4A732141EEA7C66B4B8236412097FF10B37221417C04C56F4B823641D01E85AB88722141EBD9ACFA5382364130CD3B8EDA712141A3E848CE5582364150CE1951B57121412E08ACDC4B823641B0ADD85FB27121415C10583939823641E8AF032747732141FCB27B52FF813641F851B8DEE5772141F285C9940582364198FF903EE877214197218EB50982364168BE9F1AE977214101000000020000000001000000FFFFFFFF0000000003, CAST(748462 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (750434, N'{5933AB72-6DC6-4FAE-BF8E-2B8A51C9258F}', N'006558399', 17431, N'VIP44794', 90076030, N'6558399', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot A', NULL, NULL, N'LOT A DISTRICT LOT 183 MALAHAT DISTRICT PLAN 44794 EXCEPT PLAN EPP39025', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 6, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T18:06:08.000' AS DateTime), CAST(N'2020-03-19T16:14:45.000' AS DateTime), 14629, 1191, 0xBD0B000001040D000000C364AAE0340232412004560E43451841B6F3FDB437023241F00E9C33394418411648503C3002324110C58FB1DA4318417E51491D7301324110B98D06D1401841DFC7981BA6023241204703F85048184107B5A6B9BA0232414097FF900B481841FA97DDB3BB02324190A757CAFF471841CA20B072BC02324160A301BCF34718411404564EB502324110A470BD9547184105F9A047AA023241A07B832F594718417B029A68A002324170FE43FA224718419ADD93274C02324120A392BA10461841C364AAE0340232412004560E4345184101000000020000000001000000FFFFFFFF0000000003, CAST(750434 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (750570, N'{FCCF49E8-033A-40BC-B2C8-1294097E9C27}', N'008534683', 133439, N'VIP778A', NULL, N'8534683', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', NULL, NULL, N'THAT PART OF LOT 3, SECTION 7, VICTORIA DISTRICT, PLAN 778A LYING SOUTH EASTERLY OF A LINE DRAWN PARALLEL TO THE SOUTH EASTERLY BOUNDARY THEREOF AND PERPENDICULARLY DISTANT NORTH WESTERLY 60 FEET', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', N'16.29', CAST(N'2016-01-06T17:58:13.000' AS DateTime), CAST(N'2020-04-02T09:52:25.000' AS DateTime), 16, 20, 0xBD0B000001040E00000036014D441F3B3241C0F1D24D77891741660E985E1F3B3241808456A9718917412091ED761F3B3241E07D4D046C8917416C5A4D8D1F3B3241F0BFC25E668917412B3FB7A11F3B3241102EC1B860891741FC172BB41F3B324190AB53125B89174159C1A8C41F3B3241D01E856B558917418D66B3151F3B324160757E095989174157BF39661E3B3241F0E9E6A55C89174132053CB61D3B3241A04DBD4060891741A371BA051D3B3241807200DA63891741693EB5541C3B3241802BAF71678917417AA52CA31B3B3241504BC8076B89174136014D441F3B3241C0F1D24D7789174101000000020000000001000000FFFFFFFF0000000003, CAST(750570 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (750869, N'{06CD8738-1CCE-4A42-8F09-9A7116C725E9}', N'012771678', 495490, N'KAP46', 90053039, N'12771678', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 2', N'Block P', NULL, N'LOT 2 BLOCK P DISTRICT LOT 879 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 46 EXCEPT PLAN H731', N'0046', N'0019', N'NO', N'ICF', 4, N'LSA', N'UNKNOWN', N'1', N'147.5', CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-03-15T16:16:12.000' AS DateTime), 148, 52, 0xBD0B0000010406000000285C8F4294693741F0A59BC415421D41B6D1007E9A6937410026E4832E421D41E42D9020A669374130E3149D03421D41674469EFA3693741D0CAA1C5F6411D411895D449A2693741D061A156E3411D41285C8F4294693741F0A59BC415421D4101000000020000000001000000FFFFFFFF0000000003, CAST(750869 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (750987, N'{6CB6422D-93E0-48FE-8C1D-11E3DA9AF314}', N'011012579', 472827, N'KAP2371', NULL, N'11012579', NULL, N'348-05601.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2021-02-19T00:00:00.000' AS DateTime), N'REM Lot 2', N'', N'', N'LOT 2 DISTRICT LOT 497 KAMLOOPS DIVISION YALE DISTRICT PLAN 2371 EXCEPT PLANS B7355, 12390, 13401, H664, KAP57835, KAP63992, EPP61095 AND EPP109190', N'0128', N'0006', N'YES', N'MODIFIED-ICF', 1, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'0', NULL, CAST(N'2021-03-03T07:32:45.000' AS DateTime), CAST(N'2021-03-26T15:19:25.000' AS DateTime), 8326, 484, 0xBD0B0000010413000000E00B9349ACC93641602BF6D73D7E2441363CBD7276C93641C80E9CB3217E2441F797DDF377C9364120FBCB6EE97D244162FE435A65C9364130211FB4DF7D24414650FC585DC9364148CA3284DB7D2441117A364B5DC9364190A0F831DD7D24417D95438B5AC93641D8F0F48A327E2441782D21BF54C9364118022B87E77E244162E423BD6AC93641D0E0D0CDCD7E24415C96A3D380C93641A830EE68B47E244140294F0297C93641482FE0589B7E24412E2AD548ADC9364130E3029E827E2441A4CEE3A6C3C93641081AB1386A7E2441C0F5281CDAC9364150674429527E2441F37C3FB5C6C9364138BD5296127E244183AEB6E2BEC93641404ED1910E7E2441482EFF41B7C93641D0DEE08B0A7E2441C8EEC9E3B2C93641A037F842087E2441E00B9349ACC93641602BF6D73D7E244101000000020000000001000000FFFFFFFF0000000003, CAST(750987 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (751126, N'{C87087D8-5D64-466C-9253-8CD0F14FB21E}', N'013862944', 1315444, N'NWP7338', NULL, N'13862944', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'REM Lot B', NULL, NULL, N'LOT "B", EXCEPT: PART ON SRW PLAN LMP3198 SECTION 36 TOWNSHIP 11 NEW WESTMINSTER DISTRICT PLAN 7338', N'0075', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'0', NULL, CAST(N'2021-04-16T10:23:19.000' AS DateTime), CAST(N'2021-04-16T10:45:45.000' AS DateTime), 3080, 230, 0xBD0B00000104050000009F8026E2DF283341B0469476EA8F1C414D1E164AB428334120621058D08F1C41413EE819B12833411054E3A5D6901C412C97FF30DC283341A04B378915911C419F8026E2DF283341B0469476EA8F1C4101000000020000000001000000FFFFFFFF0000000003, CAST(751126 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (751287, N'{713AE8B9-BEF9-4D3A-BAA8-34BE7292E85B}', N'005057213', 128531, N'VIP11746', NULL, N'5057213', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 16', N'', N'', N'LOT 16, SECTIONS 11 AND 12, RANGE 3 EAST, NORTH SAANICH DISTRICT, PLAN 11746 EXCEPT PART IN PLAN 2148RW AND PLAN 1321RW.', N'0129', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:04:52.000' AS DateTime), CAST(N'2021-05-13T12:24:28.000' AS DateTime), 2875, 386, 0xBD0B00000104110000007F8CB90B032D3241F01A9EDE92DE1841BD7D1D78012D3241B00C712C8FDE18410088F4DBEC2C3241B08785DA5EDE1841B2EA7335EB2C3241901A2F5D14DF1841B37268B1EA2C324130E17A144DDF18417F8CB90B032D3241F01A9EDE92DE184115C05B400B2D3241901A2F5D77E01841A01A2FDD1D2D3241107CF2307AE01841868EE452252D324100865A537BE0184106A3921A262D3241A02C431C28E018416DAC8B5B272D3241D0172653A2DF18414E158C0A282D3241E087F45B59DF18410BB5A6B9282D3241C065886310DF1841809543EB282D324140C6DCB5FBDE1841071B9E7EF72C324110ADFA5C74E01841A8ADD83FFE2C32418041F16375E0184115C05B400B2D3241901A2F5D77E01841020000000200000000020600000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(751287 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (752312, N'{B21416D2-FBE4-4088-A39C-817A9B54BCC9}', N'001656546', 3, N'NO_PLAN', NULL, N'1656546', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART A', N'3', N'', N'THAT PART OF PARCEL A (DD 34814I), SECTION 3, OTTER DISTRICT SHOWN OUTLINED IN RED AND MARKED "B" ON PLAN 1067 RW AND CONTAINING 0.41 OF AN ACRE MORE OR LESS', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:46:03.000' AS DateTime), CAST(N'2021-06-24T09:53:55.000' AS DateTime), 1445, 239, 0xBD0B000001040B0000007658A81524DB314120AB3ED7EB341741BFEC9E7C16DB3141605AD33CFD34174127A089702CDB31419095438B15361741A9531B332DDB3141806725C627361741D97D6CD92DDB3141502A79123A361741404064632EDB3141606E826D4C3617418FF9EDD02EDB3141909082D45E361741C248F9212FDB31416023B94471361741900F7A562FDB3141205A64BB83361741625DDCA641DB3141A0F90FE9803617417658A81524DB314120AB3ED7EB34174101000000020000000001000000FFFFFFFF0000000003, CAST(752312 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (752397, N'{A356A0B2-C632-43CC-95E4-7EBF59E46B51}', N'002910969', 117903, N'VIP877', NULL, N'2910969', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 29', N'Block 9', N'', N'THAT PART OF LOT 29, BLOCK 9, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', N'111.6', CAST(N'2016-01-06T20:08:48.000' AS DateTime), CAST(N'2021-06-29T17:40:27.000' AS DateTime), 112, 65, 0xBD0B00000104090000002E772D812A39324120DBF9FE298C1741FAAC8D7C2A39324180F66F8F3D8C1741D9C3D5922A393241E0C9231F518C1741821903C42A393241A05DC5AB648C1741C5DD0F102B39324150180533788C17413313F3762B393241200294B28B8C17413290A0F82B393241700B24289F8C1741276519E232393241907CD0B3968C17412E772D812A39324120DBF9FE298C174101000000020000000001000000FFFFFFFF0000000003, CAST(752397 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (752537, N'{F2F1E084-2CE8-4AA5-933B-D57BF5C88853}', N'001622323', 3, N'NO_PLAN', NULL, N'1622323', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2019-12-19T00:00:00.000' AS DateTime), N'', N'', N'', N'THOSE PARTS OF SECTION 86 METCHOSIN DISTRICT AND OF SECTIONS 83 AND 84 ESQUIMALT DISTRICT SHOWN OUTLINED IN RED ON PLAN 82 RW EXCEPT PARCEL M (DD 151250I) THEREOF AND EXCEPT PART IN PLAN EPP26925 AND EXCEPT PLAN EPP91789', N'0065', N'0005', N'YES', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'0', N'31707', CAST(N'2020-01-20T10:00:16.000' AS DateTime), CAST(N'2021-07-14T13:18:48.000' AS DateTime), 31582, 2256, 0xBD0B00000104B0000000C56D34407E0D32418004C50FEA581741663BDFAF670D3241002731888A571741529621AE620D3241903480B73C571741DBE99572600D3241B0D6C5ED195717419FD6342F5E0D3241609E5EA9F6561741F9C264EA5B0D324110840D4FD356174112143FA6590D324170B662FFAF56174180B74062570D3241E0C48FB18C561741D7A370BD510D324180A44EC03456174183E2C7784C0D324140C2F5A8E25517419E3C2C944A0D3241E0C2642AC55517418AA757CA400D3241E02FBBA72C5517418D5374243B0D32413054E3A5D4541741D1915C7E350D3241F0E461A17C5417414F840DCF300D324130E561A1335417410E83C08A290D324190F83166C2531741F3A7C6AB270D3241604DF30EA5531741306EA301260D3241C053E3258B53174170348057240D3241E0EC9E3C7153174157B1BFAC220D3241305EBA495753174196779C02210D3241404013613D53174185F4DB571F0D324150D6C56D2353174178711BAD1D0D3241B047E17A09531741DD141DC91B0D324130DF4F0DEC52174170F90FA9190D32413090A0F8CA52174170F90F89170D3241E0AE25E4A95217418CC2F568150D3241A0CDAACF8852174160CC5D4B130D324190D2DEE06752174197D40968030D3241C04082627E5217416C2BF637F90C3241B0FE217D8C5217411183C00A4D0D3241C0E09C91A5571741E14F8DF73C0D324150696FF0B5571741AB4E4033530D324140A2B43715591741B5FC8754630D32413095D409055917411A0DE0AD700D3241C0211FF4D759174176BE9FBA750D3241C07D1DB8215A174142A4DF5E7B0D3241F03A01CD6A5A174114BE3099810D324170E4F21FB35A174123B9FC67880D324140BF7D9DFA5A1741A98251C98F0D324120EA9532415B1741205A64BB970D324120166ACD865B174170A3013CA00D32413088855ACB5B174102DE0249A90D3241C0CB7FC80E5C1741FEFFFFDFB20D3241F0938705515C17415D764FFEBC0D32414092CBFF915C17418BC954A1C70D3241509D80A6D15C1741081B9E5EBE0D3241E094D489105D17417E3F359ECA0D324190DFBE0E535D17412631086CD70D3241604160E5935D1741AE1C5AC4E40D324190FE43FAD25D1741401361A3F20D324140A3013C105E1741F1FDD4D81E0E3241107C6132785E174184D93D99830E3241C02D90A08A5F1741226C78DA9D0E3241F06A2BF6C15F17414A72F94FC40E3241E02B6599955F1741DB5987C6B10E324140E568DD715F1741C4150F939F0E32415073B3774B5F1741CBF7AEBB8D0E3241B02C2D75225F17416E5C66467C0E3241E03C9FE3F65E1741BBA613396B0E3241B0FFAED1C85E1741454772995A0E3241A016D94E985E174133E76CC4590E3241C0CF9DC8955E1741F6A6B3EF580E324180CED140935E1741C2B5461B580E324140A275B7905E174190422647570E324100DB892C8E5E17416C7C5273560E3241C0080FA08B5E17413692CB9F550E324100BC0512895E1741AED11BD6540E3241C0BE9298865E1741F8A0B30C540E324170DCB31D845E174126299343530E3241709569A1815E17413393BA7A520E3241906BB4237F5E17410C082AB2510E324120E194A47C5E174185B0E1E9500E324110780B247A5E17411B2FDD04470E3241C09BC4205A5E17410DAF6823450E3241F0F6EDD5535E174131B06D43430E3241D0B810844D5E17417CD6ED64410E32411069322B475E17418AC4EA873F0E3241809458CB405E1741C11B66AC3D0E3241D0CF88643A5E1741197C61D23B0E324150B4C8F6335E174165DE71CA330E3241F0452575175E1741F8C2644A330E3241A03177AD155E1741F41FD28F320E3241A0D712F2125E17412A1895742A0E324110D34DE2F45D1741819543CB260E3241D07A14AEE65D17411973D752210E324110462575D15D1741A613D064180E3241A0A22339AD5D1741F60FE977170E3241A019515AA95D17411B48505C160E324170742497A45D1741CDDEE0AB0F0E3241600E2D32885D174149C807DD0B0E3241A0CB7F48775D1741FFDD0229070E3241D0D32B65625D1741DCA370DDFE0D3241B086A7D73B5D17414FF38E13FE0D3241A0490C02385D1741A3CDAA4FFC0D3241901E856B2F5D17414C1E16CAF60D32411004568E145D17412C6EA3E1F20D324190787AA5005D174152AF9485F00D3241405227A0F45C174126A913F0EE0D3241E0718A8EEC5C1741BA847C50E70D3241E03EC6DCC35C17411CE25857E60D32417067B36ABE5C1741C7A14576E40D3241F0D39AE6B35C17417A832FECDF0D3241606DC57E9A5C1741011973F7DB0D324170CA3244835C1741280F0BF5D90D3241E0460378775C1741CBE53FC4D80D324180FE437A705C1741B6627FD9D10D32411061C3D3455C1741DBA370BDD00D324170E5D0A23E5C1741F775E0DCCE0D324170460378325C1741B303E72CCB0D3241604ED1911A5C1741CA073D3BC70D3241B09ECDAAFF5B1741C486A797C50D32416023B97CF45B17413F9B55BFC40D3241A0A223B9EE5B174105C58F91BE0D324130A91350C25B1741B4B6625FBD0D3241705AD33CB95B17416E348097BB0D324160EC2FBBAB5B1741925374A4B80D32416088F45B955B1741759CA2C3B40D324180EE5A42765B1741D6817386B30D324100AAF1526C5B174180E2C7F8B20D3241401CEBE2675B1741A4D6348FAD0D324140D5E7EA395B174136B4C8B6AA0D324170136143205B17418CCB7F68A80D324140B5A6790B5B17419FEFA706A40D32412070CE88E15A1741E0338BC1A30D3241F01325E1DE5A1741D1240E7DA30D3241604B7938DC5A1741D9FE3039A30D3241F06ECD8ED95A1741D8FDF3F5A20D3241F0D623E4D65A17410B5D57B3A20D324100DE7E38D45A174142575B71A20D3241E0DEE08BD15A17417E2F4CE69E0D3241E0EEC943AD5A17419A6383749E0D3241507BB683A85A17418AE9BC039E0D3241204322C2A35A1741A212F9939D0D324170B310FF9E5A1741772F38259D0D3241F03B853A9A5A1741EA8F7AB79C0D3241904C8374955A17410F83C04A9C0D324110560EAD905A17412A31088C9A0D32418095438B7D5A1741EA95B2AC960D3241506CE7FB4F5A174128871679960D324110B29D6F4D5A17414282E2A7920D324190FF90FE1C5A17418CA7578A910D3241C0BD30990D5A17416DCE88F2900D3241008D28ED055A17419C802662900D3241D05296A1FD5917410812141F8F0D3241900F7A36EC591741C2E314DD8B0D3241909BC420BB591741C56D34407E0D32418004C50FEA581741D7A370FDC90E3241205A64BBE65F1741C3EC9E3CD00E324190EFA7C621601741F2172513D30E3241E018AB6426601741125F2EEBD50E32413001B3F32A601741B7D0B5C4D80E3241D0BBB7732F601741F678B69FDB0E32411078B1E43360174147612B7CDE0E3241B07C98463860174199900F5AE10E3241902B65993C6017411A9C55EDE10E3241005994EE3B6017411CC66E81E20E3241E0AC944F3B6017415AE34B16E30E3241307176BC3A60174166B4DDABE30E324190B748353A6017415DE71442E40E3241F05719BA396017416619E2D8E40E3241E0F0F44A396017416B006F41000F324150C3D32B26601741C1C11786D70E32410097FF90C35F1741141DC925CD0E32417094F686DE5F1741D7A370FDC90E3241205A64BBE65F1741F4DBD781150F3241F0D32B65686017416F810425190F3241409D80A6876017418516D9AE230F3241C0408262956017410D022BE7200F324150C66D34756017413A6744C9190F3241D022DBF9636017417F191516190F3241A0F23BE76460174190555E61180F3241001847C165601741227B41AB170F3241804ED48766601741F32BE0F3160F324150EBBE3A67601741CA455C3B160F3241F0E3E5D967601741F4DBD781150F3241F0D32B6568601741030000000200000000029300000002A500000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(752537 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (752766, N'{67F35280-AFF6-4FEF-8154-00F004CA01FC}', N'013602021', 1485783, N'VAP2588', NULL, N'13602021', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'2000-03-14T00:00:00.000' AS DateTime), N'Lot 29', N'Block 6', NULL, N'LOT 29 BLOCK 6 SOUTH EAST 1/4 OF SECTION 26 TOWN OF HASTINGS SUBURBAN LANDS PLAN 2588', N'0150', N'0010', N'NO', N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'342', CAST(N'2021-01-12T15:53:23.000' AS DateTime), CAST(N'2021-07-29T09:25:46.000' AS DateTime), 342, 88, 0xBD0B000001040600000057A835EDEA8E3241C0C2D3AB19261D4112363CFDF48E3241D0AD47611B261D41F45C6D05F58E3241703FC65C18261D41160DE06DF68E32414080B7C093251D41647FD95DEC8E32418095430B92251D4157A835EDEA8E3241C0C2D3AB19261D4101000000020000000001000000FFFFFFFF0000000003, CAST(752766 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (753104, N'{18CF3DF8-B565-4C2B-8E8A-FE73333FCDC7}', N'001638106', 3, N'NO_PLAN', NULL, N'1638106', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 40', N'', N'', N'THAT PART OF SECTION 40, METCHOSIN DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 13913F AND CONTAINING 6.58 ACRES MORE OR LESS', N'0079', N'0005', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:20:34.000' AS DateTime), CAST(N'2021-08-23T13:42:52.000' AS DateTime), 21813, 1656, 0xBD0B000001045D0000000BF9A067FC013241807DAEB6FED116411FA108C0F6013241E0A6FAD905D21641CFF1531EF1013241B04750460DD2164144E0BD82EB01324160A961FB14D21641872181EDE5013241801BDEF81CD216413128D85EE0013241D0F8713E25D21641FD21FDD6DA013241C0A7C6CB2DD21641A4ADD8DF1401324100492EFF59D316412288C6FA0A01324180A3A46E69D3164151A414290101324180C35A9F79D316416DDFAE6BF700324130C2CB8F8AD31641062F7FC3ED003241A0B9603E9CD316412A8B6D31E400324170ED70A9AED31641B3D85FB6DA00324100F241CFC1D3164177C519FBD4003241502F56D3CDD316413FE0EC48CF0032412063E01BDAD3164132440CA0C9003241005872A8E6D3164110B9AA00C400324150769B78F3D3164174B1FA6ABE00324120C6E88B00D41641EB482EDFB8003241A0F7E4E10DD416411DB9FC27C6003241B0E53F246ED416413F65BB50D4003241401EF4934CD41641A1C339BBE200324190A5CACF2CD416412D91D163F1003241902BCEDF0ED4164141D2CC4600013241A0DA92CBF2D3164142C366600F013241206D349AD8D31641D0CCCCAC1E013241C0605452C0D31641CE00DEA2E4013241C02A181594D21641884B1EB6E8013241705B74D68DD21641929636CCEC013241E062D4B587D21641DF1019E5F0013241C0F74CB381D21641FFDFB700F5013241906CF2CE7BD216412820051FF901324190ADD80876D2164191E4F23FFD0132413040136170D216417B83AA830A023241D0CFC41F60D21641311BC4131802324100B29A7454D216411690ECD625023241E0895E754DD216417A7071B333023241E0EE202F4BD2164131F0708F41023241D00A21A64DD21641F03B0A514F023241A0A9C4D554D216416ECB8DDE5C02324170D0A0B060D216413057AD1E6A02324140CF922071D21641A018ABF876023241D090E90686D21641B6FC875483023241D0EC9E3C9FD21641466DCFB4880232417013E7FCABD21641528631088E02324100ECA612B9D21641D25D594E93023241C0D50D7DC6D21641ACDCF28698023241C0E9453BD4D21641DDC3AAB19D023241E008744CE2D21641C6B12ECEA202324160E9B7AFF0D2164126F6975D12033241605A64BB25D41641222781B21803324190D5D48E37D41641208BD7161F03324100CA500949D4164195074D8A2503324100A4022A5AD4164106C9920C2C033241A01B19F06AD416411147599D32033241C03AC75A7BD416411648503C39033241506744698BD41641B8624E3248033241D0924DC5ACD416419B5FD496570332411061D0D2CAD416417D6A335E67033241A07EFD7AE5D41641C3A8717C77033241506D99A9FCD416417E5053E58703324150D80B4D10D5164144F1638C9803324130F46C5620D51641092428FE87033241505452279ED41641ADC1E91E7D033241902D24E690D4164140F7A46672033241808E3ECA81D41641A19B68DA670332412079C2DA70D416411DBF2E7F5D033241208EAD1F5ED416410652DA59530332415049D6A149D41641A1D6346F4903324150D5E76A33D41641CF896DB942033241303ABEE722D416418E7257113C0332415040D20C12D41641544C3A7735033241C088D9DA00D41641F63B5DEB2E033241D0608D52EFD31641C7CC066E28033241F0B6AA74DDD3164190ED7CFF210332411013F241CBD31641A2B43778B2023241B00D4FAF96D21641DDBD1ED1AE0232410039B5868CD216410A609D25AB02324140A4A67782D2164128C5BE75A7023241F0E8418278D216418F248EC1A30232418051A5A66ED21641C6C21609A0023241D0DBEEE464D216413EF1634C9C02324130363C3D5BD21641C250AAFB8D02324140B581F938D21641D08A92F87E02324180658CDE1BD2164116BDC9606F023241B081E52504D2164120F522535F023241509971FEF1D1164102415AEF4E02324170DD138CE5D11641AAF3D5553E023241703067E7DED116417A9866A72D02324150818D1DDED11641B61406051D02324120D61530E3D116418C77968F0C023241D035F914EED116410BF9A067FC013241807DAEB6FED1164101000000020000000001000000FFFFFFFF0000000003, CAST(753104 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (753739, N'{0A3D7BD3-9C40-4918-A57F-68DCC5DE3C1C}', N'008631972', 1078002, N'NWP39420', 32593191, N'8631972', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 14', NULL, NULL, N'LOT 14 DISTRICT LOT 72 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 39420', N'0019', N'0009', N'NO', N'ICIS CADASTRE', 0, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2021-09-29T13:38:57.000' AS DateTime), 2432, 201, 0xBD0B0000010406000000C420B03269B53341C0DD938755811C41A289B0A16DB53341D025E48377801C412D55300A63B53341000A682272801C410B8195C341B53341E0C876BE9E801C417558A89530B53341C0FEB27B39811C41C420B03269B53341C0DD938755811C4101000000020000000001000000FFFFFFFF0000000003, CAST(753739 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (753969, N'{CF313B63-A08B-43B9-87C8-2EE661163D00}', N'005372054', 472072, N'NEP740', NULL, N'5372054', NULL, N'5320353010', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 7', N'Block 3', NULL, N'LOT 7 BLOCK 3 DISTRICT LOT 267 KOOTENAY DISTRICT PLAN 740 EXCEPT THAT PART IN PLAN NEP19552', N'0053', N'0018', N'NO', N'ICF', 1, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-10-15T11:01:54.000' AS DateTime), 358, 88, 0xBD0B0000010405000000E5C039835E043A41E088D29E012C24414A0C02AB63043A4100C58FF1EE2B244142FAED4B46043A41B8DFBE8ECE2B244102D5782941043A4188A7574AE12B2441E5C039835E043A41E088D29E012C244101000000020000000001000000FFFFFFFF0000000003, CAST(753969 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (753970, N'{A05EBDAA-8822-4BB1-8A8E-12F1222D614E}', N'016108124', 472072, N'NEP740', NULL, N'16108124', NULL, N'5320369010', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 20', N'Block 7', NULL, N'LOT 20 BLOCK 7 DISTRICT LOT 267 KOOTENAY DISTRICT PLAN 740 EXCEPT PART INCLUDED IN SRW PLAN 16533', N'0053', N'0018', N'NO', N'ICF', 0, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-10-15T10:48:07.000' AS DateTime), 206, 80, 0xBD0B0000010406000000E07A144E68033A41F8088A5F702A2441BAFC87D466033A4128A2B4B7752A2441663BDF0F81033A41A82C43DCA02A2441131DC92581033A41D86D3400A12A24417B48BF9D85033A41A0711BCD902A2441E07A144E68033A41F8088A5F702A244101000000020000000001000000FFFFFFFF0000000003, CAST(753970 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (754330, N'{E83834BC-7490-43FF-ABC2-6FA011DAF26B}', N'001660217', 3, N'NO_PLAN', NULL, N'1660217', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, NULL, NULL, NULL, N'THAT PART OF SECTIONS 12 AND 24, ESQUIMALT DISTRICT SHOWN OUTLINED IN RED ON PLAN DEPOSITED UNDER DD 14327F AND CONTAINING 1.34 ACRES MORE OR LESS', N'0154', N'0005', N'NO', N'MODIFIED-TANTALIS', 15, N'PMBC-OPERATIONS', N'UNKNOWN', N'0', NULL, CAST(N'2018-12-19T09:46:36.000' AS DateTime), CAST(N'2021-11-05T12:18:19.000' AS DateTime), 5787, 535, 0xBD0B000001041F000000443EE859A2223241504F1E96BD9017413E0CD136AB22324120D6E2BED4901741CE2EECE3B3223241A0238702ED9017415094055FBC22324120B8E15A069117412EDEF5A5C422324170CD82C120911741E2ECA2B6CC22324140FAB52F3C911741D568008FD422324190E3839E589117419B9999D9F1223241B0F5285C77911741022C7B91F3223241D0D8F22577911741B6B24C49F5223241B03A22E87691174169130C01F7223241B067B7A276911741D133B7B8F8223241A0B4B25576911741D4F94B70FA223241007F140176911741634BC827FC223241E02EDDA47591174113AFC149E7223241804CBB8C1A911741D9CFB776D022324180AB8A4DC7901741ABFFB1DDB7223241F00DD2927C90174195FA5EB19D22324110738BF63A901741BF78AC278222324190D4E6FF029017416210587965223241A09B3322D58F1741AFBFEC7E1D223241007B142E678F1741F8285C0F1B223241A021FDF6668F1741DD240661302232412083C04AF38F174164DE71AA3622324160B3EAF3F98F1741C976BE3F5B223241B0D1915C32901741A220A1A667223241004136BC44901741CE71AEDB73223241107B8716599017416744D9D97F223241007A19636F901741BE282B9C8B223241C006B29887901741E372C61D97223241C0904CADA1901741443EE859A2223241504F1E96BD90174101000000020000000001000000FFFFFFFF0000000003, CAST(754330 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (756617, N'{2A576ED6-0528-4F95-844F-31E743F2095B}', N'005394953', 126759, N'VIP9786', NULL, N'5394953', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 10', N'', N'', N'LOT 10, SECTION 36, VICTORIA DISTRICT, PLAN 9786', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:07:28.000' AS DateTime), CAST(N'2019-01-05T10:22:19.000' AS DateTime), 737, 115, 0xBD0B0000010405000000B247E13ADE45324170105839478C1741A79BC4C0DE453241406DC5FEF98B1741AAC64B97B8453241606ABCF4F58B174153204111B8453241D00D4F2F438C1741B247E13ADE45324170105839478C174101000000020000000001000000FFFFFFFF0000000003, CAST(756617 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (757569, N'{51DE7FD7-BEE5-47DC-918B-6CDC49BA4983}', N'014097648', 3, N'NO_PLAN', NULL, N'14097648', NULL, N'72411721020', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART E2SE4', N'2', N'17,14', N'PART 1 ACRE MORE OR LESS OF THE EAST 1/2 OF THE SOUTH EAST 1/4 OF SECTION 2 SHOWN OUTLINED RED ON PLAN B3470; TOWNSHIP 17 RANGE 14 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLAN KAP79507', N'0163', N'0028', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:31:16.000' AS DateTime), 4045, 282, 0xBD0B000001040800000040FAED0B79F43541802D219F8ADC2241419B55FF78F4354100363C7D81DC22416B9A779C78F4354188E53F243ADC2241826ABCF477F43541E0E76A6BC1DB2241692BF6975CF43541586FF005C2DB2241E12D90C04FF435414096214EC2DB22416A2BF6D750F43541E8DBD7818BDC224140FAED0B79F43541802D219F8ADC224101000000020000000001000000FFFFFFFF0000000003, CAST(757569 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (758620, N'{5B6A4FC3-8D91-4D02-A778-A16CD43B838E}', N'010459251', 252487, N'PGP727', 17743021, N'10459251', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 17', N'Block 29', N'', N'LOT 17 BLOCK 29 DISTRICT LOT 933 CARIBOO DISTRICT PLAN 727', N'0112', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:41:06.000' AS DateTime), 230, 71, 0xBD0B000001040500000095900FFAC8823241602497FFE14A2E4190ED7C9FC98232414805A352A94A2E4110363C3DC1823241F0B9DA0AAF4A2E414D96210EC082324198D1911CE14A2E4195900FFAC8823241602497FFE14A2E4101000000020000000001000000FFFFFFFF0000000003, CAST(758620 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (758638, N'{9F61F441-FC92-4496-AB26-75203FACF464}', N'002911191', 117903, N'VIP877', NULL, N'2911191', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 11', N'Block 10', N'', N'THAT PART OF LOT 11, BLOCK 10, SECTION 14, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:13:25.000' AS DateTime), CAST(N'2019-01-05T10:55:08.000' AS DateTime), 307, 71, 0xBD0B0000010405000000C464AAE0BF373241303CBD52778D1741501E16CAC5373241C0999919C48D1741D812F261D4373241B086A757B28D17410A1B9E7ECE3732417027A089658D1741C464AAE0BF373241303CBD52778D174101000000020000000001000000FFFFFFFF0000000003, CAST(758638 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (758840, N'{54B42D81-120A-4C86-A97E-614E958F9347}', N'001567772', 117903, N'VIP877', NULL, N'1567772', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 10', N'Block 12', N'', N'THAT PART OF LOT 10, BLOCK 12, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:27:24.000' AS DateTime), CAST(N'2019-01-05T10:55:50.000' AS DateTime), 307, 71, 0xBD0B00000104050000006C44694F32363241F0043411B08F17415E5DDC662C36324100CCEE49638F174164BA49CC1D3632411097FF10758F174149D8F0B423363241F0CF44D8C18F17416C44694F32363241F0043411B08F174101000000020000000001000000FFFFFFFF0000000003, CAST(758840 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (759106, N'{CB38A275-D4BC-44C2-A9D8-ED1DE6AE988F}', N'003094294', 1077262, N'NWP28393', 6393951, N'3094294', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Parcel C', N'', N'', N'PARCEL "C" SECTION 13 TOWNSHIP 20 NEW WESTMINSTER DISTRICT PLAN 28393', N'0002', N'0009', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-01-31T18:43:29.000' AS DateTime), 1996, 230, 0xBD0B0000010404000000CF5D4BC8379B3341F05205A306541C41204A7BC3519B3341F002098A72531C414A3789E1049B3341D079C729C2521C41CF5D4BC8379B3341F05205A306541C4101000000020000000001000000FFFFFFFF0000000003, CAST(759106 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (759918, N'{3F1D9CE6-C463-4756-865B-82109D2AFAC5}', N'014603870', 3, N'NO_PLAN', NULL, N'14603870', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'NW4', N'6', N'13,26', N'THE WEST 1/2 OF FRACTIONAL LEGAL SUBDIVISION 14 SECTION 6 TOWNSHIP 13 RANGE 26 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT', N'0163', N'0028', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:10:29.000' AS DateTime), 19442, 1069, 0xBD0B00000104170000004AE17A34021F3441107F6ABC3B6D2141DAA3701D031F3441A814AEC7146D2141762D211F001F34410044FA6D146D2141353CBDF2F71E3441B0A22379136D214198BB9650CA1E344110C05B200E6D214159C1A8E4BC1E3441F0809503CB6E214140A4DF1ECC1E3441A0D85FF6CC6E2141B6B88D06D31E3441703480B7A56E2141DC56ECAFFF1E344190F6065FA76D21414AE17A34021F3441107F6ABC3B6D21412CDD24A6751F3441E86F5FC7496D2141F3C9C3E26B1F3441D0CAA185146E21410ADC09D9691F3441C0ECC4CD366E21416E17A42C671F3441185714E9586E2141E56A84DE631F3441288C81CB7A6E21419FF0D5EF5F1F3441E02812699C6E21418484FC615B1F34417822E4B5BD6E21416F469436561F3441A0F831A6DE6E214154B1BF2C8F1F3441602041F1E56E2141155839D49D1F3441C853E3E5266D2141E82631087A1F3441D0C56DB4226D214166CC5D8B771F3441F854306A226D21412CDD24A6751F3441E86F5FC7496D2141020000000200000000020A00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(759918 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (762297, N'{A1DD6152-4339-4C85-8DD6-509B31D3B238}', N'009757295', 3, N'NO_PLAN', NULL, N'9757295', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 18', N'', N'', N'THAT PART OF DISTRICT LOT 18, COWICHAN LAKE DISTRICT, SHOWN COLOURED PINK ON PLAN 169 RW', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T18:51:42.000' AS DateTime), CAST(N'2019-01-07T18:32:32.000' AS DateTime), 2172, 452, 0xBD0B000001041C000000DCBE0E7C478E3141207E8C39EBAF194175CE3D74558E31417010AECFF2AF1941223AD482638E3141D0952017F7AF194167814D9B718E31410091140CF8AF1941EC551CB17F8E314150E3AFADF5AF194128C9B5B78D8E314190870EFEEFAF194198779CA29B8E314140B74002E7AF19412ED49A86A38E3141E0938705E0AF194109AC1C5AAB8E314100E71D27D9AF1941D2C26A84AC8E3141204AFE5DD8AF194114B425AEAD8E314130E4AC87D7AF1941682944D7AE8E3141306D30A4D6AF194154D1BCFFAF8E3141100890B3D5AF1941925F8627B18E3141F040D3B5D4AF19414E8D974EB28E3141300C02ABD3AF1941F4B0502BB78E3141B0605452CDAF1941E86C30EDB88E31412032FACBCBAF19411AB388ACBA8E3141F0189A19CAAF1941FA981469BC8E3141E0FF763BC8AF194148A28F22BE8E3141F08FDA31C6AF1941C5CBB5D8BF8E3141702415FDC3AF19417D95438BC18E314120BF7D9DC1AF194168DE712A8D8E3141B0A3703DBBAF19414894F646258E3141C0749398AEAF1941D61B7CE1E08D3141F0CAA145A6AF1941811D38A7278E314160ADFADCD4AF19417E3F35FE3D8E3141A0E3141DE5AF1941DCBE0E7C478E3141207E8C39EBAF194101000000020000000001000000FFFFFFFF0000000003, CAST(762297 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (762580, N'{1FAE39CA-1FC6-41C0-932D-0A241444A796}', N'007941081', 19444, N'VIP1004', NULL, N'7941081', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 10', N'', N'', N'THAT PART OF LOT 10, DISTRICT LOT 49, COWICHAN LAKE DISTRICT, PLAN 1004 BEING THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 100 RW', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T16:28:35.000' AS DateTime), CAST(N'2019-01-07T18:31:28.000' AS DateTime), 2253, 217, 0xBD0B000001040500000004917EBBCF8B3141001CEB62DFB019410868226CCE8B314180270F0B6DB119419A081BBE0F8C3141800DE02DE5B01941FD088AFF108C31417048BF7D59B0194104917EBBCF8B3141001CEB62DFB0194101000000020000000001000000FFFFFFFF0000000003, CAST(762580 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (763424, N'{03A16219-B0DB-450B-BA90-D9C3EADFA1FF}', N'014612119', 3, N'NO_PLAN', 11706441, N'14612119', NULL, N'760-009252.010', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 12', N'88,18', N'', N'THAT PART OF FRACTIONAL LEGAL SUBDIVISION 5 OF SECTION 12 TOWNSHIP 88 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT LYING SOUTH OF BEATTON RIVER', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:30:02.000' AS DateTime), 144320, 1491, 0xBD0B000001042200000028287E6C162C344178F90F093DE433413C8941A01C2C34416061321542E43341819543EB222C3441D893870547E43341304CA64A292C3441C4627FD94BE433414DDA1BBC2F2C3441846ABC9450E433416F1B0D40362C344124363C3D55E43341283108EC3C2C3441C02631A859E43341C9A145D6432C34417CC954A15DE433418E4160E54A2C3441E0A2925A61E4334135F8C204522C344194900FFA64E43341E8043431592C344194C9548168E4334157302A69602C3441A86054F26BE43341138C4AAA672C3441E84D62506FE433417AE09CF16E2C34415C7FD99D72E43341CE00DE42762C34418404C5CF75E433410FF241AF7D2C3441F8B9DACA78E43341974C152C852C344160D3BCA37BE43341F2B050AB8C2C3441240F0B757EE43341E12D9020942C3441586B9A5781E4334126E4837E9B2C344140D49A6684E43341C07493B8A22C3441E0C798BB87E43341575227A0A92C3441A4559FAB8BE43341E98C282DB02C3441E09C114590E43341749CA2A3B62C3441641E160A95E4334172F08549BD2C344110ED0D7E99E433417F613255BF2C3441C0BAB8AD9AE433412A287E8C7B2D3441A479C7C9A8E43341905CFE63992D3441BC64AAC01EE3334153840D4F172C344144575BD101E333413AEF38E5002C3441F89D5EC929E43341B837F882042C3441648638162DE433415ECA32640A2C344148A52C8332E43341B4EA7355102C344168A301DC37E4334128287E6C162C344178F90F093DE4334101000000020000000001000000FFFFFFFF0000000003, CAST(763424 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (763661, N'{25FD7082-91B9-458B-8114-BF07599B28D5}', N'007487967', 4652349, N'VIP379RW', NULL, N'7487967', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 53', N'', N'', N'THAT PART OF LOT 53, DISTRICT LOT 140, ALBERNI DISTRICT, PLAN 1414, BEING THE LOGGING RAILWAY SHOWN ON PLAN 379 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2019-01-10T15:03:09.000' AS DateTime), 314, 79, 0xBD0B00000104060000002DBB27AFA97E30413090A07804051D4158C1A8649A7E30414011363CED041D4109F9A0678B7E3041D0ACFADCF4041D41823F351E8B7E30413008AC1C26051D41A33C2C94A97E3041D0BE0E9C16051D412DBB27AFA97E30413090A07804051D4101000000020000000001000000FFFFFFFF0000000003, CAST(763661 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (764765, N'{F6252F7B-D778-4CD5-9BF8-5D12ED7E92DB}', N'014916703', 3, N'NO_PLAN', NULL, N'14916703', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 2088', N'', N'', N'THAT PART OF DISTRICT LOT 2088 KOOTENAY DISTRICT INCLUDED IN REFERENCE PLAN 46566I INCLUDED IN EXPLANATORY PLAN 50351I', N'0163', N'0004', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:21:04.000' AS DateTime), 2121, 277, 0xBD0B000001040600000008560EEDF7A0384198438B6C7F322041F66C563D69A1384188E4F29FE9322041148C4A2A72A1384198C3D32BBC322041B09465C844A1384108C898FB913220410AAC1C9A25A13841000BB5A68A32204108560EEDF7A0384198438B6C7F32204101000000020000000001000000FFFFFFFF0000000003, CAST(764765 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (764968, N'{CD5EF8A7-5995-44FC-8421-A16E4357A262}', N'000017621', 645957, N'VIP1279', NULL, N'17621', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 25', N'Block 3', N'', N'LOT 25, BLOCK 3, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:50.000' AS DateTime), 383, 96, 0xBD0B00000104090000004B5986988A9D3041A01F63EE2EBB1C41C01726538A9D304120081B1E57BB1C41241FF48C8F9D3041C0E61DA757BB1C4168AA60948F9D3041905452A757BB1C4129068175B09D304180DD93075BBB1C4177BE9FBAB09D3041B03D79D832BB1C414850FCD88D9D3041C0EEC9432FBB1C417AE09CD18D9D3041301361432FBB1C414B5986988A9D3041A01F63EE2EBB1C4101000000020000000001000000FFFFFFFF0000000003, CAST(764968 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (764975, N'{5A8F4BE8-DA5D-4474-ADB6-D717194C2629}', N'000017710', 645957, N'VIP1279', NULL, N'17710', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 34', N'Block 3', N'', N'LOT 34, BLOCK 3, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:49.000' AS DateTime), 379, 96, 0xBD0B000001040D0000007F1D38679D9D3041D0CCCCCC9ABC1C41E5482EFF909D3041C093878599BC1C4135AB3EF7909D30412026538599BC1C41B38BDB28889D3041C0E3149D98BC1C41A613D0E4879D3041307C6132C0BC1C4198438BAC929D3041703FC65CC1BC1C41B4FC87B4929D3041E0ACFA5CC1BC1C41A21A2F1D9F9D3041E00E9CB3C2BC1C41874160259F9D3041700F0BB5C2BC1C41D978E906AE9D3041C03BDF4FC4BC1C414703784BAE9D304170B96B899CBC1C416944696F9D9D3041903A01CD9ABC1C417F1D38679D9D3041D0CCCCCC9ABC1C4101000000020000000001000000FFFFFFFF0000000003, CAST(764975 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (765001, N'{1D9B8792-BBAD-47F2-9BF3-B338412AE638}', N'000016276', 646724, N'VIP2024', NULL, N'16276', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'Block E', N'', N'THAT PART OF LOT 6, BLOCK E, DISTRICT LOTS 257 AND 258, ALBERNI DISTRICT, PLAN 2024, INCLUDED IN PLAN 283 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:38.000' AS DateTime), 4439, 381, 0xBD0B000001040C000000012B87D6E6743041B0FEB27B55941D41081B9EFEDD74304170984C1589941D41A211A55DD5743041D0D78173BD941D4128ED0DFECC743041B0158C4AF2941D41EE2FBBA791743041B010C7BA6F961D41A9BDC157B574304100B5A6F970961D41E34F8DD7E6743041704A7B0333951D41C76D3400EF743041B0DD9387FF941D414A378901F17430416072F98FF2941D41BBF3FDD4F1743041A01D386717941D419B6E12E3EF743041100AD7A322941D41012B87D6E6743041B0FEB27B55941D4101000000020000000001000000FFFFFFFF0000000003, CAST(765001 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (765020, N'{9B0F2397-9661-4494-A68C-6EEC75B714DB}', N'000017001', 3, N'NO_PLAN', NULL, N'17001', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 245', N'', N'', N'THAT PART OF DISTRICT LOT 245, ALBERNI DISTRICT, INCLUDED IN PLAN 277 RW, EXCEPT PART IN PLAN 4254', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:33.000' AS DateTime), 8109, 1358, 0xBD0B00000104250000009F703D8A2B9C3041F04D6290C4161D41332AA953259C3041C0627FD9D1161D41D0AACFD5B99A3041C0293A92CB191D4160BA492CB39A304180F4DBD7D9191D41AA57CA92AC9A3041104ED191E8191D4170F08509A69A304110ED0DBEF7191D41AF7268919F9A304170AC8B5B071A1D41158C4A2A999A304110D57869171A1D41250F0BD5929A3041F08AFDE5271A1D41C31726D3929A3041304A7B83291A1D41AD506BBA929A304120A3923A3F1A1D4155204191929A3041E0FDD478631A1D41875AD35CA19A304190CF66553C1A1D417DE2C758B09A3041F0BB9610181A1D41F9E46181BF9A3041B00E9CB3F6191D410B1B9EFE2A9C3041906E1203FD161D411FEBE2D6379C304180B74002E1161D412597FF90449C3041D0B662FFC2161D41304CA62A519C3041702497FFA2161D4192A42E11549C30418024DF519B161D41FBE170F3569C3041B032908A93161D4147E85ED1599C3041D05DD0A98B161D419CB0EAAA5C9C30414031C6AF83161D41744906805F9C304190B4989C7B161D4109D7A350629C3041C0696F7073161D412FA2B437D09C3041505C8F4234151D418D0F7A36D09C3041D0293A1233151D4166226CF8CF9C3041C0D5566CF7141D4192E4F21F5B9C3041C0DFBE0E4C161D4152A60A66559C3041C08F31775C161D412363EE9A4F9C30413092CB7F6C161D41B3B662BF499C3041300BB5267C161D41BC0E9CD3439C3041F01E856B8B161D416C2BF6D73D9C304120F1634C9A161D41AF03E7CC379C3041C0CB7FC8A8161D416CC5FEB2319C304110AED8DFB6161D419F703D8A2B9C3041F04D6290C4161D4101000000020000000001000000FFFFFFFF0000000003, CAST(765020 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (765706, N'{96903F50-ABD4-4587-B78E-273A054125B6}', N'006144047', 646851, N'VIP3885', NULL, N'6144047', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Block A', N'', N'', N'BLOCK A, DISTRICT LOT 73, SAYWARD DISTRICT, PLAN 3885 EXCEPT PART IN PLAN 3600RW', N'0013', N'0027', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-27T18:18:56.000' AS DateTime), 241, 70, 0xBD0B000001040500000027287E0C9D17304140006F01D1FA2041B7DA8A7DB3173041B84D62D0BDFA2041E8F21F32A1173041B896904FAEFA2041DA56EC0F96173041788D976ECBFA204127287E0C9D17304140006F01D1FA204101000000020000000001000000FFFFFFFF0000000003, CAST(765706 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (766820, N'{A1A612F2-85D2-4730-BA1A-BDFA8B986A9D}', N'013977792', 295389, N'PRP968', 23694921, N'13977792', NULL, N'01257.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 4', N'Block 111', N'Section 2', N'LOT 4 BLOCK 111 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:42.000' AS DateTime), 233, 66, 0xBD0B00000104050000006C6FF045347A2B41184D842D7A643141A0A22339207A2B41547424577A643141474772F9207A2B41E0FA5C8D916431417D38D605357A2B41D8F75363916431416C6FF045347A2B41184D842D7A64314101000000020000000001000000FFFFFFFF0000000003, CAST(766820 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (766825, N'{95132BFE-342E-47DC-83E3-22404369490A}', N'013977598', 295389, N'PRP968', 29841151, N'13977598', NULL, N'01251.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 14', N'Block 106', N'Section 2', N'LOT 14 BLOCK 106 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:42.000' AS DateTime), 260, 72, 0xBD0B000001040500000084855A93877A2B419833A274D6643141752D219F9B7A2B41CC1E854BD6643141D222DBB99A7A2B4198900F5ABC643141569FABAD867A2B41689CA283BC64314184855A93877A2B419833A274D664314101000000020000000001000000FFFFFFFF0000000003, CAST(766825 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (770236, N'{8A605454-B042-4FEF-811E-57AD59CD609F}', N'019171269', 1309668, N'LMP12540', NULL, N'19171269', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2012-11-20T00:00:00.000' AS DateTime), N'REM Parcel A', N'REM Lot 15', N'', N'PARCEL A (REFERENCE PLAN LMP21969) LOT 15 DISTRICT LOT 20 GROUP 1 NEW WESTMINSTER DISTRICT PLAN LMP12540 EXCEPT PLAN EPP5185', N'0025', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:21:17.000' AS DateTime), 1060, 254, 0xBD0B000001040D00000031211F1469C6324120304C2650E01C41E05817F774C6324120E9B72F62E01C410BB5A6F980C632415025758277E01C41DA8AFD658CC63241702041F18EE01C41D934EF7897C6324100D34DE2A8E01C41C07D1D58A3C6324110BC0592C8E01C41FEDD02C9AEC6324160197357EBE01C41D48AFD65CCC63241D012F2414BE11C41C5BAB86DCCC6324110C3642A49E11C41B4AF03A7CCC6324140083D9B39E11C41BB490CC2CCC63241F0B359F531E11C41E29C1105CEC6324160711B8DD6E01C4131211F1469C6324120304C2650E01C4101000000020000000001000000FFFFFFFF0000000003, CAST(770236 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (772326, N'{F86663C8-5195-459A-B382-76FCB28EE852}', N'013174185', 3, N'NO_PLAN', NULL, N'13174185', NULL, N'72606569500', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART 2050', N'', N'', N'THAT PART OF DISTRICT LOT 2050 SHOWN ON PLAN B1513 KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLAN H861', N'0163', N'0028', N'NO', N'ICF', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:32.000' AS DateTime), 370586, 3753, 0xBD0B00000104440000006B8A8E84146A3541E0DCB5C43C9126415AC1A8E4066A3541C8A14536258F26419D5E296B006A354130D9CEB7268E2641B27BF290FF693541D0839E8D058E2641529621EEFF69354158984C95058E264150499DC0F669354168B9FC878A8C26412B97FFD0F569354148787A658A8C2641DA8AFD65836935410861C353778C2641384ED1117E693541B8923A81768C2641895AD33C6E693541C83099EAF98D2641EB0434714D693541F8E8B76F1C9126412CA089D04F693541D0F21FD21C912641176A4DF3E169354190CD3B8E34912641B247E1DA136A3541D854C1A83C9126416B8A8E84146A3541E0DCB5C43C912641E0BE0EDCF36B3541800B2468CA8D26411E4A7BC3E56B3541F8D6A330CF8D26412F90A0B8D36B354118F775A0D18D26413ACD3BCEC36B3541A06CE73BCE8D26411261C313AF6B3541881D3867C28D26411D4A7B23A86B35412071ACCBBF8D2641D4E76A8B926B354188E4F2DFAD8D264107CE19B18C6B354130871659A78D264150FC1833836B354150A2B477908D264186C95461816B354178DE714A888D2641DE7A140E7B6B3541E0B050AB698D264140355EBA756B3541406519224B8D26416C666686736B35411063EEDA268D26412E90A038766B354118819503078D264107CE1991786B3541901F632EF78C264172CE88D27B6B354118E9B76FEB8C264136D6C5AD876B35419858A875CE8C26411061C3F3336A3541681B0D20958C2641F9C2640A516A354138E78CA84691264114363CBDE56A3541C08F31F75E912641E2B5845C196B354128F9A0676791264134333373676C3541E0A59B049E912641EC8C288D726C3541881804D69F912641F263CC3D6E6C3541D0B88D4673912641364ED1D16B6C3541E8B6D10059912641032B87D6686C3541386519A22A91264136234ADB656C354150136143FC90264114D9CE57646C354160AA6014E6902641760B24485E6C354168C5FE72BB90264139014D44576C3541F8C798BB8E9026419A779C624F6C354158D6C5ED5B90264187F4DB77446C3541183FC6DC2A902641C37D1D98396C3541580378CBF78F2641DD7A142E346C3541B837F842DD8F2641E7C039C32F6C354140E02DD0C28F264161764F1E2E6C35419089B0A1B28F26410A4625D5296C3541B0E8482E928F2641B369DED1216C354130772D61658F2641B259F5D9196C3541283CBD92368F2641F40FE957166C354198348037208F2641EF41CF46126C3541701361C3F58E2641770B24080F6C3541B88AFD65D38E26414EB81E05076C354140621098A68E2641EA1DA7E8026C3541C81C5A247E8E26415C984CB5FF6B3541D8B88DC6598E2641BA15FBCBFF6B3541F08173C6558E2641C9C3428DFC6B3541B0F90F69338E2641E60434D1FB6B3541B0726851278E2641285C8F62FD6B354108780B640D8E2641B00C712CFE6B354110F77560E98D26410D61C3B3FD6B3541C86F5F47D18D26413EF163CCFA6B3541E0B7AF03CD8D2641E0BE0EDCF36B3541800B2468CA8D2641020000000200000000020F00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(772326 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (774503, N'{C41115D1-C01F-4038-BE35-5F13BDE5700E}', N'008080674', 140690, N'VIP1037', NULL, N'8080674', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 9', N'', N'', N'THAT PART OF LOT 9, SECTION 7, VICTORIA DISTRICT, PLAN 1037, IN PLAN 2073 OS AND CONTAINING 0.004 OF AN ACRE MORE OR LESS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:21:40.000' AS DateTime), CAST(N'2019-08-07T12:08:18.000' AS DateTime), 19, 22, 0xBD0B0000010409000000865AD3BC2E3A324190BA498C307F174179E09C51303A324140FE437A107F1741AD0C71CC2B3A3241A0ABAD580C7F1741B3E339502C3A3241E0C1DB58127F17418E9676D12C3A324140527F5C187F174178B125502D3A3241700F87631E7F1741F2C745CC2D3A324100A2E16D247F1741DC74D5452E3A3241D0A87D7B2A7F1741865AD3BC2E3A324190BA498C307F174101000000020000000001000000FFFFFFFF0000000003, CAST(774503 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (774776, N'{7ADCD0BD-D05F-43A2-8E84-26B80A456082}', N'012759571', 868179, N'KAP55', NULL, N'12759571', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 26', N'Block 19', NULL, N'LOT 26 BLOCK 19 DISTRICT LOT 706 YALE (FORMERLY OSOYOOS) DIVISION YALEDISTRICT PLAN 55 EXCEPT PLAN H831', N'0114', N'0022', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-10-02T09:13:27.000' AS DateTime), 278, 74, 0xBD0B0000010405000000D88173A6B1553541A0DD930702131F4192E4F27FAA5535417009F920E5121F416E81042597553541E095B28C2E131F41A25E29CB9E5535415029CB904C131F41D88173A6B1553541A0DD930702131F4101000000020000000001000000FFFFFFFF0000000003, CAST(774776 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (778205, N'{8AA390EF-910D-49E9-AA71-9314918B4768}', N'013602012', 1485783, N'VAP2588', NULL, N'13602012', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-14T00:00:00.000' AS DateTime), N'Lot 24', N'Block 6', NULL, N'LOT 24 BLOCK 6 SOUTH EAST 1/4 OF SECTION 26 TOWN OF HASTINGS SUBURBAN LANDS PLAN 2588', N'0150', N'0010', N'NO', N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'342', CAST(N'2021-01-12T15:46:19.000' AS DateTime), CAST(N'2021-05-31T16:33:05.000' AS DateTime), 342, 88, 0xBD0B000001040700000074832F2C1D8F324130F8C26420261D41381AC03B278F32418007CE9921261D418F4AEA44278F324100295C8F1E261D41C710C79A278F3241103A92CBF0251D4182C0CA41288F324170218EF599251D4179F2B0301E8F3241A036ABBE98251D4174832F2C1D8F324130F8C26420261D4101000000020000000001000000FFFFFFFF0000000003, CAST(778205 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (778272, N'{621E3BC5-870B-4E8F-8B29-03F7A6D28018}', N'001151371', 137026, N'VIP31631', NULL, N'1151371', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1978-04-28T00:00:00.000' AS DateTime), N'Lot 4', N'', N'', N'LOT 4, SECTION 78, SOUTH SALT SPRING ISLAND, COWICHAN DISTRICT, PLAN 31631', N'0163', N'0005', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'64.26', CAST(N'2021-06-04T15:43:08.000' AS DateTime), CAST(N'2021-06-04T15:43:42.000' AS DateTime), 64, 65, 0xBD0B00000104050000004B696FB0701632418006F01662D91941AC2E6E836E16324110EE7CBF61D91941694DF32E73163241A0C64BB7D8D919410088F45B75163241C0DFBE0ED9D919414B696FB0701632418006F01662D9194101000000020000000001000000FFFFFFFF0000000003, CAST(778272 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (778632, N'{184991A0-F990-4E75-A183-74A17F951F9A}', N'002910900', 117903, N'VIP877', NULL, N'2910900', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 14', N'Block 9', N'', N'THAT PART OF LOT 14, BLOCK 9, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:27:17.000' AS DateTime), CAST(N'2021-06-29T16:46:32.000' AS DateTime), 308, 71, 0xBD0B0000010405000000E4E99552A53832414095D409B48C17417BA52C03B438324110530523A28C1741F0F44A19AE38324190B0E169558C174101D578699F383241005F984C678C1741E4E99552A53832414095D409B48C174101000000020000000001000000FFFFFFFF0000000003, CAST(778632 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (778633, N'{70C163C0-E0A7-4B8F-819C-E4359AD5A013}', N'002910870', 117903, N'VIP877', NULL, N'2910870', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 11', N'Block 9', NULL, N'THAT PART OF LOT 11, BLOCK 9, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, NULL, N'UNKNOWN', N'0', N'311.7', CAST(N'2021-06-29T17:05:03.000' AS DateTime), CAST(N'2021-06-29T18:02:22.000' AS DateTime), 312, 71, 0xBD0B000001040F000000100BB586CA383241D06F5F87308C174198081BFED0383241D0BFEC1E7C8C1741E0DCF760D3383241409CAB75788C174121AC55C1D53832417000CAB2748C1741F642231FD8383241D02663D6708C174178804F7ADA383241A00093E06C8C1741C256C9D2DC383241F03876D1688C17418ECB7F28DF38324150302AA9648C17417424973FD938324140B9FC07188C17412FB95ED3D6383241A087C3671C8C1741A050DC63D43832417086ECA9208C1741318B26F1D1383241002750CE248C17410827547BCF38324170EDC7D4288C174149FF7B02CD38324100752EBD2C8C1741100BB586CA383241D06F5F87308C174101000000020000000001000000FFFFFFFF0000000003, CAST(778633 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (778634, N'{1F75EC69-E929-498C-93FA-52AD23BECA20}', N'002909651', 117903, N'VIP877', NULL, N'2909651', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 4', N'Block 9', NULL, N'LOT 4, BLOCK 9, SECTION 24, VICTORIA DISTRICT, PLAN 877, EXCEPT THAT PART THEREOF LYING TO THE EAST OF PLAN 1 RW AND EXCEPT THAT PART THEREOF LYING BETWEEN PLAN 1 RW AND 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, NULL, N'UNKNOWN', N'0', N'462.0', CAST(N'2021-06-29T17:25:35.000' AS DateTime), CAST(N'2021-06-29T17:28:17.000' AS DateTime), 462, 97, 0xBD0B000001040D00000097B20CF13B39324140DD24866D8B17415C8638562D39324170A8354D7F8B174142BD52D62D393241B08251C9858B174137EF38452F393241407E8CB97F8B17411CF46C562E393241305D6D458C8B17412CFF217D3139324100F6285CB58B17414082E2673739324100539621028C1741621058393F39324120E4839EF88B1741636DC5BE3F393241A03D7958E18B1741F93A706E4039324160C1A824CA8B17413F79584841393241104B5906B38B1741C030998A40393241201EA768A98B174197B20CF13B39324140DD24866D8B174101000000020000000001000000FFFFFFFF0000000003, CAST(778634 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (780070, N'{855B99A9-1789-408E-99CA-62FD57257965}', N'000325295', 649898, N'VIP35145', NULL, N'325295', NULL, N'2507', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', NULL, NULL, N'LOT 3, DISTRICT LOT 173, COMOX DISTRICT, PLAN 35145', N'0163', N'0017', N'NO', N'ICF', 6, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2021-10-12T13:59:02.000' AS DateTime), 533, 420, 0xBD0B000001040E00000032431CCB837430411088F45B74FE1F4179E926518674304110C66D3474FE1F41DB09684284743041A0B7D1808BFD1F41ED3845877D74304120AE47E1F3FC1F41AD25E4C37B74304160EA0434CCFC1F41AC3E573B7A743041C07F48BFA9FC1F419CABADD87674304180081B9E5DFC1F41FE99087B767430419003E70C64FB1F411973D7727C74304130D7A3F04BFB1F415A39B4E87374304150BF7D1D4CFB1F4176F2B05074743041B04B37895EFC1F4145E17AB479743041904694F6D7FC1F4196081BBE81743041005917B78CFD1F4132431CCB837430411088F45B74FE1F4101000000020000000001000000FFFFFFFF0000000003, CAST(780070 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (780199, N'{49AEBEC5-5AD3-47C4-87E8-D9CE864C0591}', N'015154106', 463837, N'NEP2984', 9612581, N'15154106', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot A', N'', N'', N'LOT A SECTION 2 TOWNSHIP 25 RANGE 20 WEST OF THE 5TH MERIDIAN KOOTENAY DISTRICT PLAN 2984', N'0163', N'0006', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-10-20T15:15:23.000' AS DateTime), 29535, 739, 0xBD0B000001040E0000005A0E2D920A2C394140A913D0C7EF254162FE43FA0E2C3941586B9AB77EEF254158863856022C394150FC183370EF254174F2B030AB2B394108D34DE2BEEF25413CFAED0B952B3941D0270F8BD5EF25418ADB68C01B2B3941580E2DF228F0254158423E48162B394150423E682EF02541C3E3141D152B394100E78CE82FF02541AC0C71AC2E2B3941909CA2631FF12541AD69DE91582B3941A0779C6239F125417D711BAD5F2B3941603480773CF1254154FC1873B62B3941608CB92BCBF0254153D1915CF92B394110D7A3B0F8EF25415A0E2D920A2C394140A913D0C7EF254101000000020000000001000000FFFFFFFF0000000003, CAST(780199 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (780717, N'{2BE2E79E-F920-4144-AF71-381529BF71E7}', N'015410293', 8183660, N'KAP42345', NULL, N'15410293', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1990-01-15T00:00:00.000' AS DateTime), N'Parcel B', N'', N'', N'PARCEL B DISTRICT LOT 358 OSOYOOS DIVISION YALE DISTRICT PLAN 42345', N'0057', N'0016', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'403.3', CAST(N'2021-01-26T14:11:22.000' AS DateTime), CAST(N'2021-11-23T09:52:35.000' AS DateTime), 676, 97, 0xBD0B000001043100000045D8F0B4B1663641504013A1AEF12041C120ACA0B1663641582C210FACF1204130A44470B1663641C06F1583A9F12041DFAC1524B166364170CCBD01A7F120416CE9AEBCB066364188D4D38FA4F12041A55DD33AB06636417001F431A2F12041E8F2779FAF663641E80095EC9FF1204101AAC1EBAE6636419849FFC39DF12041D2720321AE663641100945BC9BF12041DAACBB40AD66364160733AD999F120413156914CAC663641B08C6E1E98F12041D4ED5046AB663641F071248F96F12041EF0EE92FAA663641B8324D2E95F1204136CC660BA9663641204482FE93F120418AD1F1DAA7663641109A000293F120419A53C8A0A6663641506EA43A92F12041C4D43A5FA566364150BFE5A991F12041CCC7A718A4663641788AD55091F12041F81777CFA2663641C0C81B3091F120418D9F1586A16636417832F64791F12041C894F03EA066364100CB379891F1204142F670FC9E6636415035492092F120415EFFF6C09D663641A0D129DF92F1204127ADD58E9C66364198A171D393F12041185C4E689B66364150EE53FB94F1204140878C4F9A66364178AEA25496F1204196B0A1469966364128A2D2DC97F120416D7A814F98663641F81E009199F1204106F9FD6B97663641C883F46D9BF120419243C49D96663641D0462C709DF12041FD4A59E695663641D897DD939FF12041EEB7B15595663641C061CED5A1F1204153FCB2DE9466364118B8B32EA4F120412F96438294663641C8AC019AA6F120417091164194663641F8A80813A9F12041D32CAA1B946636412081FE94ABF120417FE546129466364130BC071BAEF12041A0EAFE2494663641F0FB40A0B0F1204116FAAD53946636413875C81FB3F12041B9A6F99D946636416064C794B5F120418E07520395663641506D7BFAB7F1204184CEF2829566364160D23F4CBAF12041A2C4E41B9666364110749685BCF12041E9A8FFCC96663641C08430A2BEF120413E6EEC9497663641A0DFF69DC0F12041D0D327729866364130F61175C2F120412853056399663641F840F123C4F12041D81B7C01B266364138BB270FC9F1204145D8F0B4B1663641504013A1AEF1204101000000020000000001000000FFFFFFFF0000000003, CAST(780717 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (781953, N'{D30A5197-788C-4C6E-9EA3-043184B3C3AA}', N'015920992', 489711, N'NEP1214', NULL, N'15920992', NULL, N'7102547200', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 5', N'', N'', N'LOT 5 DISTRICT LOT 7892 KOOTENAY DISTRICT PLAN 1214 EXCEPT PART INCLUDED IN SRW PLAN 626 AND 8062', N'0163', N'0004', N'NO', N'ICF', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:23:59.000' AS DateTime), 40762, 1451, 0xBD0B000001041600000048B6F3FD4ADF374148CD3BCE2C7B2141809543AB4CDF3741B8B12E6E637A2141142FDD04F6DE3741104C37894D7A2141C9073DDBEADE374120E4835E147B214148B6F3FD4ADF374148CD3BCE2C7B2141703480F77CDF3741E815FB8B377B2141BC7D1D78C6DF374160DC46437F7A21413ADF4F4D67DF37410062A196687A214134BB27CF66DF37419889B021837A2141A0ABAD3866DF374110F241CFB67A2141C27D1D1866DF3741E86800AFCA7A21414A2EFF2166DF3741F823287EEA7A214164984C7566DF3741E8B9DA4A0A7B2141146A4D9366DF3741507DAE36167B2141A03C2C1467DF374120B9FC07327B21419253748476DF3741D88C28ED357B2141703480F77CDF3741E815FB8B377B2141982A1835C4DF3741C0BB9690487B214104CE19B1E1E0374118B8AF43887B2141ECAE25C4ECE03741A842ADE9C17A2141615452070EE03741387E8C798F7A2141982A1835C4DF3741C0BB9690487B21410300000002000000000205000000021100000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(781953 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (783588, N'{790A6BD9-8B89-4390-8E85-A61D2AF6153D}', N'009956727', 247947, N'PGP20434', 5498101, N'9956727', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 7190 CARIBOO DISTRICT PLAN 20434', N'0163', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:17:41.000' AS DateTime), 220438, 1957, 0xBD0B000001040A000000102DB2DD15773541F831E66EB23E2C419AB43778F3763541C0CB7F48D4412C41B07BF270DA763541B847E1BA1B442C41F94A592651773541F89F897035442C41D868008F047835416096214E78432C41A86054923B783541E8EC9EFCA0422C417FE2C7F848783541801B0DA021422C41F54A59266B783541E0537464ED3E2C41E2E00BD32977354128FF21FDB53E2C41102DB2DD15773541F831E66EB23E2C4101000000020000000001000000FFFFFFFF0000000003, CAST(783588 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (784061, N'{9AE62D88-A6E2-4BC9-A755-46B3097093C3}', N'001569392', 124311, N'VIP12894', 10430371, N'1569392', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'', N'', N'LOT 3, SECTION 14, VICTORIA DISTRICT, PLAN 12894', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:47:34.000' AS DateTime), CAST(N'2019-01-05T10:53:53.000' AS DateTime), 6820, 680, 0xBD0B0000010434000000AB13D0C485353241601CEB62819017414B2575A29135324110D9CE77739017417958A8559D35324180A52C4365901741D266D5A793353241004547F21C90174189FD65F78D3532411042CFE623901741E8D9ACBA8B353241305305A326901741408B6C677F35324120211FF4349017415F1058F97235324150CA32C441901741342AA97366353241D07268114D901741D96800CF63353241C0EC9EBC52901741EEEBC0193E353241304A0C826A901741D809680218353241E0F0F4CA74901741557DAED6F1343241F06F5F877190174142F1636CF1343241308E75716E901741C8293A525F343241302731884A9017412B0139AA5F34324140CE70675190174148EC200460343241D0A0244558901741CF7BF15F60343241201F44215F901741223EAABD60343241B0CBC6FB659017413FBF4A1D61343241C02AA4D46C901741CF88D27E6134324140C3D3AB73901741A223B9DC633432419003E78C9C9017412CDD24C69A343241F0891FE3A99017417958A8759A34324170029A88BE9017412C5C8F62F3343241A0E53F24D49017411CB07288FA3432416007CE99D5901741B79690AF01353241E0BE0E9CD69017416E3480D708353241D030992AD79017412CD49AE60835324160917E7BC2901741C4C7575D0A3532419057248AC2901741623717D40B35324130D70C94C2901741822DD84A0D35324100093899C29017419FB499C10E353241D0E9A599C290174132D75A381035324160795695C2901741C09F1AAF1135324160BA498CC29017410B8A1FA31F353241E0BB0512C1901741C620B0922D353241E04525F5BD901741EAD9AC7A3B353241A033A234B9901741AEFA5C8D41353241902B8796B6901741D9A3709D4735324140772DA1B39017410B83C0AA4D35324140CFF753B0901741EE7C3FB553353241407E8CB9AC9017411A4850BC593532418082E2C7A89017417C2497BF5F35324160B6F37DA490174148E83D17623532415064F0BCA29017412383476E64353241603F00EFA0901741F47FAFC46635324110B826149F901741C56A711A693532417056672C9D901741F5D0886F6B353241D0BBC5379B9017412341F1C36D353241C0A145369990174132BB27CF79353241C0B437F88D901741AB13D0C485353241601CEB628190174101000000020000000001000000FFFFFFFF0000000003, CAST(784061 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (784318, N'{E0D17533-7D83-4765-A1DD-83A0A4B88688}', N'009325522', 137263, N'VIP51', NULL, N'9325522', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 61', N'', N'', N'LOT 61, SECTION 7, VICTORIA DISTRICT, PLAN 51, EXCEPT A STRIP OF LAND 10 LINKS IN WIDTH ALONG THE FRONTAGE OF BURNS AVENUE, AND EXCEPT PART IN PLAN 5105', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:03:54.000' AS DateTime), CAST(N'2019-01-05T10:54:41.000' AS DateTime), 1273, 167, 0xBD0B00000104110000005617B7512D3A3241D0E00B9320811741CF5D4BA82B3A324170D32B6534811741479D80E6293A324180984C154881174160BA490C283A3241302EFFA15B811741474772B91C3A324160068115D0811741547424571D3A3241A00968A2D081174111A5BDA1303A3241B028ED0DE2811741C1749318463A3241E094D409058117415405A332473A324160E926B1F9801741D95F766F313A3241A0BB9610E78017415A302AA9303A3241E0E8B72FF380174148BE7725303A324140F6CDCCFA8017414993679D2F3A3241B019166502811741FC7CFC102F3A3241204468F8098117410C6039802E3A324120809C8611811741043821EB2D3A3241E0F38A0F198117415617B7512D3A3241D0E00B932081174101000000020000000001000000FFFFFFFF0000000003, CAST(784318 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (787392, N'{888E1AF7-54FA-4447-9B4A-FA242CE8B5B6}', N'007726716', 3, N'NO_PLAN', NULL, N'7726716', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART SW4', N'16', N'', N'THE SOUTH WEST 1/4 OF SECTION 16, TOWNSHIP 1, BARCLAY DISTRICT EXCEPT PART IN PLAN VIP65991', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-01-09T12:30:14.000' AS DateTime), 653197, 3468, 0xBD0B0000010415000000526B9A77A4413041F0D32BE5AEBC19417FC0CAC1A34130410077BE9FAABC19413EAD699E98413041A0559FAB67BC194100917EDB93413041804C150C4BBC1941EA61A136B8413041A0F753E3EABB1941AE0C712CC3413041A0847CD0B1BB1941910F7A76E1413041F0345E3A50BB19414BB6F35DF13F3041F000DE024BBB19415A0E2DB2ED3F304110560EADDCC71941C4EEC96323433041100DE0ADD1C7194122F46CD621433041803A014D53BB1941D778E9A608423041F050DA9B50BB19412A189514FA413041505530AA95BB19414E742437EF41304160C28627C9BB19416902D001EA413041500D87ACE0BB194102C26586E441304170B90B2DF7BB194167EC12C8DE41304190C80A9C0CBC194138802BCAD841304140BB18ED20BC1941A7532890D241304180C26F1434BC19419F11A51DCC4130413094F60646BC1941526B9A77A4413041F0D32BE5AEBC194101000000020000000001000000FFFFFFFF0000000003, CAST(787392 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (789221, N'{0E0A21CA-3D93-432F-98B8-E0DFA8D8F3B0}', N'008632201', 3, N'NO_PLAN', 8010571, N'8632201', NULL, N'760-009220.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART 1', N'88,18', N'', N'THAT PART OF FRACTIONAL SECTION 1 LYING SOUTH AND WEST OF THE BEATON RIVER TOWNSHIP 88 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:30:02.000' AS DateTime), 1190200, 4380, 0xBD0B00000104BE01000014AE4701782C3441883BDFEFFDDE33417C1784C57D2C3441189E239CFADE3341E28023B0832C34412C6DB48EF7DE33419C89CDBD892C3441787C4BC9F4DE33410F0116EB8F2C3441E4E6794DF2DE3341DCD57E34962C3441A42BA71CF0DE33418E0F7A969C2C34414C621038EEDE33410630420CA22C3441D0EA36B4ECDE3341E4A91A7FA72C3441E44DEF25EBDE33419690EFEEAC2C3441D83B3F8DE9DE33417802AD5BB22C34413C8B2CEAE7DE33413C293FC5B72C34418838BD3CE6DE33412B3A922BBD2C3441F465F784E4DE334170075CFCC42C3441E85BCDA0E1DE3341B2E673CFCC2C3441F812E6C2DEDE3341F3D3D4A4D42C3441306243EBDBDE3341E0C9797CDC2C3441A41BE719D9DE3341A4C15D56E42C3441C40DD34ED6DE334102B37B32EC2C3441D402098AD3DE3341B24D57BAF32C3441F0F47CE8D0DE334140B1A368FB2C344150C526C1CEDE3341F3BDA335032D3441B0F23116CDDE334125657B190B2D344184A94CE9CBDE33418E94370C132D34413C14A63BCBDE33418938D6051B2D34419C28ED0DCBDE3341FA53C7B11F2D344168A4FB02CBDE3341ABCC965D242D3441F46726EECADE334127B32F09292D344138D16DCFCADE334119197DB42D2D34415869D2A6CADE334155116A5F322D3441BCE65474CADE334186B0E109372D34416C2BF637CADE33410A1082063E2D34415015C3DEC9DE33418C173704452D34410018D09EC9DE3341F286A5024C2D344164762078C9DE3341BC147201532D34413029B66AC9DE3341887241005A2D344198DF9176C9DE3341E651B8FE602D3441C4FEB29BC9DE3341DED7FCA3672D3441C47565C4C9DE3341DCB3B0456E2D3441D433C239CADE334149EB5FE0742D3441DC1C8CFBCADE3341032B9A707B2D344188495E09CCDE3341DE91F4F2812D3441603BAC62CDDE3341FE770B64882D34418826C206CFDE334190ED3AD98D2D34410CF5118DD0DE3341F761F74A932D3441305E861FD2DE3341F2D025B9982D3441A09417BED3DE3341F647AB239E2D3441448FBD68D5DE3341A5E66C8AA32D3441F008701FD7DE334136DF4FEDA82D3441948026E2D8DE3341EA03B779B02D3441BCAD9C7BDBDE334106B3E21BB82D3441842A24D2DDDE334170A081D1BF2D3441D43F07E5DFDE334150983C98C72D34418CBFA4B3E1DE33410F35B76DCF2D34416835703DE3DE3341B896904FD72D3441D812F281E4DE3341E47E289BDA2D34419CFDC7FDE4DE3341B1B66DE5DD2D344134155182E5DE33415046492EE12D344158BC890FE6DE3341C83FA475E42D344154196EA5E6DE3341A8BF67BBE72D3441AC15FA43E7DE334190ED7CFFEA2D3441905E29EBE7DE33416B4AF199F12D34414C1503C5E8DE33419E1FC138F82D344178B6DD79E9DE33411E2C1DDBFE2D34415C24A309EADE3341BFBF3580052E34411CCA4174EADE3341B2D43A270C2E3441089EACB9EADE3341F7285CCF122E3441D822DBD9EADE3341D5BFD322162E344170F69AE7EADE3341AB0C9875192E34419C13C50CEBDE3341FB3F04C71C2E344134475249EBDE3341E6CC7316202E344168D6369DEBDE334130894263232E34419C806208ECDE3341D0CCCCAC262E34411083C08AECDE3341A0B0EBEB2C2E344190922C85EDDE3341E763AF16332E3441D0551BEAEEDE334136E50126392E3441E8AEF2B7F0DE334128BBEC123F2E34417CF59FECF2DE334142F4A0D6442E3441D8589A85F5DE3341D8F97E6A4A2E344110C9E57FF8DE33410BEED45B4F2E3441E81B014CFBDE334184175657542E3441987CD605FEDE334114E9BE5C592E3441E4F540AD00DF3341384FCB6B5E2E3441548C1C4203DF3341D4B33684632E3441184046C405DF3341A101BCA5682E3441C40E9C3308DF33417333BFB66D2E3441943454B50ADF3341669943A3722E344164DF0F7C0DDF3341D2FD9D67772E3441347EBD8510DF3341361841007C2E3441B89E19D013DF3341A632C069802E3441A09CB05817DF33411AB7D1A0842E3441F075E01C1BDF334141A93018872E344108F5455C1DDF33416F7FBD9B892E344158C7038E1FDF334151A32C2B8C2E344174F2D7B121DF3341421931C68E2E3441441E82C723DF334156897C6C912E3441689CC3CE25DF33418248BF1D942E3441D86F5FC727DF3341FFC205639D2E34416081614A2EDF3341E28D0F6BA62E3441600F552135DF334142F2E432AF2E3441BCC0FA493CDF33412352A3B7B72E3441CC64F8C143DF3341FA1A7EF6BF2E344138B8D9864BDF33415BB1BFECC72E34410434119653DF334197E9DD33CB2E34411CA0957657DF334162CD3778CE2E34412C366F595BDF3341B8B3CBB9D12E3441D4FC9B3E5FDF33411CF597F8D42E344140F9192663DF33414EEB9A34D82E34410430E70F67DF3341A8F1D26DDB2E34416CA301FC6ADF3341BF959099E12E3441684D7C1171DF3341DF86AFCFE72E3441A0985D1C77DF3341A6901D10EE2E344130CF931C7DDF33417660C85AF42E3441045B0D1283DF3341A7859DAFFA2E3441FCC4B8FC88DF3341DE718A0E012F3441DCB584DC8EDF3341D2946DEA052F3441DC07626F93DF33413A256DA70A2F3441380A382298DF33410ED6B6440F2F3441E83236F49CDF3341B7D97DC1132F3441309186E4A1DF33417B05FB1C182F344178F24DF2A6DF334120F46C561C2F34413808AC1CACDF33412C6DD41F1F2F344178C8326AAFDF334130233C09222F3441E417A79BB2DF3341878B8911252F34415C1CD3AFB5DF33416C659637282F344158158CA5B8DF33418C29317A2B2F3441E0CCB27BBBDF3341C27D1DD82E2F3441FC043431BEDF334160BD2C33342F3441786AE42DC2DF33415409A3AC392F3441D43E6B00C6DF3341E59334433F2F344130D6E0A7C9DF334135AB8EF5442F3441C4B66723CDDF3341890958C24A2F3441D8CD2C72D0DF3341EB2631A8502F3441F8A06793D3DF3341543F782D542F344134237F78D5DF3341E72C8F95572F344160724A90D7DF334196899CDD5A2F3441006E09D9D9DF3341F8BAE1025E2F34410C04D350DCDF3341F53DBD02612F344124CA96F5DEDF3341EAD9ACDA632F344128B81EC5E1DF3341182C966B662F3441EC773B60E4DF3341E19DCA1F692F3441F4DDA5D6E6DF3341ED233EF56B2F344100A68026E9DF33414F87CBE96E2F34418CBD0B4EEBDF3341880536FB712F34419096A54BEDDF33410E022B27752F3441F863CC1DEFDF33416E92A0ED792F3441B0632482F1DF33418BCB83BA7E2F3441DC107BD9F3DF33416E42B18D832F34415425BF23F6DF3341BD5D0567882F3441BCBBDF60F8DF3341AD565C468D2F3441104FCC90FADF33412A3A922B922F34416CBC74B3FCDF33417A50C09B942F344170C805C6FDDF334198E19812972F3441A011E8C8FEDF33411713B78F992F3441B434F2BBFFDF3341E309B5129C2F3441E856FD9E00E0334175FA2B9B9E2F3441282CE57101E033415739B428A12F3441BCFC873402E03341B86AE93AA82F344144E76D1904E033414849626AAF2F3441F4E2A57F05E03341153E44AEB62F3441808A766506E03341E48B9BFDBD2F3441B8B0C4C906E03341F856664FC52F3441ECBC14AC06E033417ABE9F9ACC2F3441A0438B0C06E03341B035323FD12F3441C042D58805E033411E58C0E4D52F3441BC76510E05E03341C0EE378BDA2F344128C0019D04E0334132BF8632DF2F3441A0DAE73404E033419D8B9ADAE32F3441B05E05D603E0334140136183E82F344120C05B8003E0334196680DD5EF2F3441C03E455603E033413C858B25F72F344100A4910703E0334173442474FE2F344140A2489402E033410BB120C005303441188075FC01E033412117CA080D3034412417274001E033411E166A4D1430344128D26F5F00E033412BD135A31E30344170157EF2FEDF334189FC09F428303441006B3063FDDF3341785F743F33303441901898B1FBDF33412EFD02853D303441F0DEC7DDF9DF3341C51944C44730344120FAD3E7F7DF3341173FC6FC51303441D81FD2CFF5DF334131689BEA5930344130215A49F3DF3341B4CFD4D961303441A0E344C7F0DF3341AC0870CA69303441602B9349EEDF3341A2A56ABC7130344164BB45D0EBDF3341B138C2AF7930344184555D5BE9DF3341905374A481303441F0B9DAEAE6DF3341D9957D9F89303441DC6DC08BE4DF3341C0113E94913034415C71E317E2DF33413EC67F82993034413C6A548FDFDF334158DE0C6AA1303441A88A24F2DCDF33418EB2AF4AA930344130916540DADF334152CA3224B130344194C7297AD7DF33417A2D00A4B930344144F3FA7AD4DF33415BC7B013C230344124DD8B4FD1DF3341A43A5E72CA303441981233F8CDDF334196FA23BFD2303441CCCF4B75CADF334153631FF9DA303441A4F635C7C6DF33411FD26F1FE33034410C0456EEC2DF33413CEE4B5CE6303441E4AE7543C1DF334168BE407BE9303441E036F062BFDF3341CCB1D678EC303441C86CDB4EBDDF3341174ABB51EF3034419C678609BBDF3341E0CBC402F2303441E8F57695B8DF33418EC2F588F430344144CF66F5B5DF3341E8CA7DEFF630344158D78826B3DF3341B2D9D66BF9303441C4F1E76AB0DF3341FED466FDFB303441908B2DC3ADDF3341C07F8EA3FE303441B03FFE2FABDF33412DA0A95D0131344128B0F9B1A8DF3341BA270F2B04313441345EBA49A6DF3341243108AC103134417CC1A8049CDF3341A16FBDB515313441745626B797DF3341550586601A313441249A560393DF3341BF1A4BA41E313441BC0960F18DDF33418A64A8792231344150520C8A88DF334110F3F8D9253134417415B9D682DF3341AFB662BF283134411CAE47E17CDF33414E930B622A3134419487D32E79DF3341FA3195082C31344118F5187E75DF3341E8C0FDB22D3134410C081CCF71DF3341246A43612F313441A0CFE0216EDF33415A53641331313441AC596B766ADF3341159E5EC93231344154B1BFCC66DF3341EC89F345363134415C44F45460DF3341E4E9FDC43931344104C37CDE59DF3341823C7D463D3134418C1C5A6953DF3341F7FF70CA4031344118408DF54CDF334126B2D85044313441881C178346DF334180D0B3D9473134418CA0F81140DF33417799F7C84C313441C481409036DF33413906D13E51313441C0A542D32CDF3341D8617A3855313441488C0CE122DF33417D277BB35831344198C8CCBF18DF3341838BA9AD5B313441B02ACF750EDF3341BED32B255E31344100D5780904DF3341F4E82DBA5E313441B830AFC500DF3341B96D2A145F313441BC0B8079FDDE334199C9AF325F313441E4101529FADE3341507597155F313441FC429DD8F6DE33414F2B06BD5E31344118B5478CF3DE334191B96B295E31344154423E48F0DE33419735619B5D313441102806A6EDDE33410839691F5D31344158C43F00EBDE334192719AB55C31344100156757E8DE3341643A085E5C31344170A7F8ABE5DE3341AA98C2185C313441088271FEE2DE33418738D6E55B313441900D4F4FE0DE334126F726CF5B3134411076DBA1DDDE334181A5E1B65B3134415CC775F4DADE33412A4C069D5B313441C4F11E47D8DE334131F494815B313441D8E5D799D5DE334138A78D645B3134416C94A1ECD2DE3341686FF0455B31344188ED7C3FD0DE33418413710E5B31344194CD1940CDDE33413AA3C0A85A3134417C857545CADE3341F2F03D155A31344190385752C7DE33411F8972545931344128067F69C4DE3341FA311267583134412479A38DC1DE33410144FA4D5731344164006FC1BEDE3341EFA499A156313441EC6BC0DFBCDE3341A1950410563134417C3E4EF5BADE33417E42AC9955313441D8BB9503B9DE334166ABEC3E55313441BCCF190CB7DE33413D5C0C0055313441ECE06110B5DE33410E363CDD543134418CA0F811B3DE3341DE6016D5543134419C3E2FBAB1DE3341928A87CF54313441B0A55862B0DE3341D2C78FCC543134415CD4790AAFDE3341B1232FCC543134412CC997B2ADDE33418D9F65CE543134412883B75AACDE33412D3333D354313441E000DE02ABDE3341934F5BD45431344194620D03A8DE3341863B28A854313441F47D8204A5DE3341DA7AC14E54313441549EEA09A2DE33416CFA76C8533134413C87EF159FDE3341DCC8C01553313441E412352B9CDE33413AAB3E3752313441E4D5564C99DE3341106428D75031344134CFBA2895DE3341D2ACCD7B4F313441C0348F0391DE3341F34A30254E313441AC6FD9DC8CDE3341C2FD51D34C31344124EB9EB488DE3341447E34864B313441B814E58A84DE33415C7FD93D4A313441605BB15F80DE3341A1AA3FEF4831344130DB4E3D7CDE33415D7BB7F047313441B056DE0478DE334112B5AD4347313441C8286CBC73DE334101521AE946313441689B1B6A6FDE33415E1F7FE146313441341E1E146BDE3341B103E72C47313441BC64AAC066DE33418297CC8F473134414436936D63DE33418661F61748313441607AA51F60DE3341CC2C21C5483134419CB882D85CDE3341BE80F79649313441481EC99959DE33415BCB118D4A313441A4B1126556DE33414E94F6A64B313441D487F43B53DE334106270A214D313441FC76F67F4FDE33419A13287B4E3134419CD9F0B74BDE3341E895EEB44F313441541EF5E447DE3341790C05CE50313441D8CC170844DE33418A111CC6513134412437702240DE33416991ED9C52313441AC2A18353CDE33413C104D5F533134413054049A38DE3341AB0C661254313441A8BADAFB34DE33416C032CB6543134410413DC5A31DE33413A83934A553134416C4549B72DDE3341CA2D92CF55313441B86763112ADE33414FB81E45563134419CB96B6926DE3341D586D89D563134419C90B41923DE3341B34ECED456313441B81022C71FDE3341D9D2E9E956313441B4640C731CDE3341E48822DD563134410054CC1E19DE33416B9C7DAE563134412CB7BACB15DE33412AED0D5E5631344160EC2F7B12DE33415C9CDCB8553134410476C17E0CDE3341AAD8803A55313441206DA27E06DE3341785A0FE354313441B8B6CE7B00DE3341947896B25431344184A84277FADD3341C8251EA9543134418CE1FA71F4DD3341A3EFA7C654313441201FF46CEEDD3341D23E2BF2543134410CAB3468E4DD3341EBA3F9ED54313441FC9A1763DADD3341EC7D13BA54313441F015805ED0DD334162657D56543134410037515BC6DD3341F62B40C35331344134F96D5ABCDD33418ADB6800533134418423B95CB2DD3341652B2B5152313441CC6C820FADDD33410460C4B451313441A4F5FEBFA7DD3341F32C3C2B5131344184AF716EA2DD3341D45799B450313441B8A51D1B9DDD334121B8E15050313441A8F945C697DD3341E2361A0050313441F4DF2D7092DD3341102FC4A14F313441241877C48ADD33416CF750284F313441B4D43D1A83DD3341797EC6934E31344140EBE1717BDD33416D052CE44D313441101BC3CB73DD3341E01F8A194D313441AC0641286CDD334165B3EA334C313441F42FBB8764DD3341DBA3701D4F313441F86C565D62DD33413B1AC0DB4F3134416CF085495EDD3341B6E5942850313441786027EE5CDD33413D68FC71503134414C4E0B925BDD3341B0CEF4B7503134413C613A355ADD3341A45B7CFA50313441AC45BDD758DD3341C467913951313441ACAB9C7957DD33417D61327551313441B047E11A56DD33410A26BCAA513134410471C52854DD3341DD62D5B05131344160A7D43352DD3341600B70875131344138F1904050DD3341CD7CEB2E51313441187978534EDD3341B9A213A850313441F432FB704CDD33412C211FF44F313441F0A3709D4ADD3341410787AE4C3134413463D09742DD3341FD76EF3A4931344160248EA53ADD3341D8FBCA9945313441C89DB1C732DD3341FC0892CB41313441BCE03FFF2ADD334193E9C2D03D313441D0373B4D23DD334188B0E1A9393134414C05A3B21BDD334157CD235E2B31344118E838C602DD33412CC273901C31344108851F26EADC3341E0C868420D3134414046FCD4D1DC334137E6A775FD303441541A6CD5B9DC334199BCE32BED303441502B032AA2DC3341625DDC66DC30344160984CD58ADC3341C652F2F9D5303441B061DEBA82DC33413826EE62CF30344168C087C27ADC334145AE84A2C8303441AC6A23ED72DC334173316FB9C13034411858883B6BDC334162526BA8BA303441C0A989AE63DC33417DFB3A70B33034414894F6465CDC3341FA1AC827AE30344138B779B356DC3341B62D64CDA830344160E5333151DC3341194B4761A33034413CD85EC04BDC33415644AAE39D3034412892336146DC3341E3A1C654983034414C5DEA1341DC33415CA1D6B49230344114C7BAD83BDC33419C4487368E303441683579E537DC33413C80CD898930344144D6982934DC3341163853B18430344180513AA730DC3341063EDBAF7F303441448A5D602DDC334128BF3F887A3034419C7BE0562ADC3341D4A3703D7530344130287E8C27DC3341E815FF8B6C303441B098524323DC3341E20E150D6430344110AA1D991EDC3341AA0DEDC45B30344120BD319019DC33411650A6B7533034419C57102B14DC3341D5C542E94B30344110E3686C0EDC33419E11A55D44303441D858175708DC33410ED36A8D40303441585E5DA504DC3341342E73D73C303441C47543D900DC33415A7C743C39303441D43784F3FCDB33415CE91FBD35303441042ADFF4F8DB3341A451215A32303441949818DEF4DB334131211F142F3034414472F9AFF0DB3341626A16CE29303441007D75C7E9DB33410A136F8D243034415464D9DAE2DB3341F0482C521F303441E05829EADBDB33419236511C1A303441C08D69F5D4DB33411903E1EB14303441EC389EFCCDDB334186D2DEC00F3034413C92CBFFC6DB3341CD4745DC0E3034410CD1B0B7C5DB3341F141E7E60D30344150DFED7BC4DB334122096FE10C3034418CDF5D4DC3DB33412D1292CC0B30344108CBD22CC2DB3341D08010A90A30344194E0141BC1DB33412EA2B477093034417819E218C0DB3341C8FA0C6A05303441E096379ABCDB3341579739590130344184EF3D1FB9DB334141D43D45FD2F3441CC03F8A7B5DB334175101D2EF92F344148B16834B2DB334182ADDA13F52F344128D292C4AEDB3341910F7AF6F02F3441C83D7958ABDB3341FCCA485AEC2F344100BE3280A7DB33414DE98DC8E72F3441E4FF829BA3DB3341CAD36A41E32F3441C47A86AA9FDB334118A600C5DE2F3441C4005AAD9BDB3341982D7053DA2F3441B8BC1AA497DB33413EE8D9ECD52F3441F831E68E93DB3341D81F0A09D12F34412C0D5CEA8EDB334190793A51CC2F3441A4B321198ADB3341921803C7C72F34416CDFD71C85DB3341C9B7EC6BC32F34413CD72DF77FDB334134257041BF2F3441A0DDE0A97ADB33418DC2F548BB2F3441CC98BB3675DB334133517F22B92F3441ACED8FDF71DB3341D6DE1436B72F34415885B3656EDB3341BABCE385B52F34412C8515CD6ADB3341BF12D513B42F344174E2C71967DB3341CEB58BE1B22F3441C8C5FA4F63DB3341D24D62F0B12F3441E8CEF7735FDB3341CABAB86D9C2F3441E84603585DDB3341C5073DDBBC2E3441A436AB7E4CDB334152158C4AB12E3441B0ADD89F4BDB3341E1361A60432D3441305EBA0930DB3341B0946528AD2C3441E861A1B624DB33414B3789818D2C34414CBA494CEBDC334196081BDE8A2C34413C3CBD3211DD334127068155722C3441AC57CAD24BDE334129651922662C3441B0E1E9B5EDDE3341A245B633642C34415027A04907DF3341F431879D672C344184892FFB05DF33415DC8D4FC6A2C34417084799204DF3341E5E3D4506E2C3441DC8DD20F03DF33411705C098712C3441142F957301DF3341D080D1D3742C3441ECEE21BEFFDE334114AE4701782C3441883BDFEFFDDE334101000000020000000001000000FFFFFFFF0000000003, CAST(789221 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (789277, N'{8D7298E7-3F69-4AD1-958D-827945FD754D}', N'012429520', 629004, N'PGP12116', NULL, N'12429520', NULL, N'005467.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 3', N'Block 22', N'', N'LOT 3 BLOCK 22 SECTION 32 TOWNSHIP 83 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT PLAN 12116', N'0038', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:29:41.000' AS DateTime), 684, 121, 0xBD0B0000010405000000D4F97E2A222B3441A031770DAB3C3341A6A44E40232B34419406F0169C3C334161E5D0C2F52A3441FC4525B5983C334158A835ADF42A3441440378ABA73C3341D4F97E2A222B3441A031770DAB3C334101000000020000000001000000FFFFFFFF0000000003, CAST(789277 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (789480, N'{83A0BAD5-83A9-497B-88F3-1AEE9A9258F3}', N'007487959', 4652349, N'VIP379RW', NULL, N'7487959', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 52', N'', N'', N'THAT PART OF LOT 52, DISTRICT LOT 140, ALBERNI DISTRICT, PLAN 1414, BEING THE LOGGING RAILWAY SHOWN ON PLAN 379 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2019-01-10T15:02:43.000' AS DateTime), 374, 86, 0xBD0B0000010405000000823F351E8B7E30413008AC1C26051D4109F9A0678B7E3041D0ACFADCF4041D415517B7F16C7E304100F6975D04051D41D05D4BA86C7E304110BF7D9D35051D41823F351E8B7E30413008AC1C26051D4101000000020000000001000000FFFFFFFF0000000003, CAST(789480 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (792662, N'{0CF50F21-5FD9-4A55-9C67-DE625502CD62}', N'013995553', 295389, N'PRP968', 29842481, N'13995553', NULL, N'01244.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 15', N'Block 103', N'Section 2', N'LOT 15 BLOCK 103 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:32.000' AS DateTime), 291, 78, 0xBD0B00000104050000005EAA609478772B41E4B584BCBF64314114022B8764772B41706FF0E5BF643141F126314865772B41307958E8DC643141F5065F5879772B41249B55BFDC6431415EAA609478772B41E4B584BCBF64314101000000020000000001000000FFFFFFFF0000000003, CAST(792662 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (792678, N'{457E3BE6-4E40-4B9D-AED0-DE842BBD4CE2}', N'013977997', 295389, N'PRP968', 23695961, N'13977997', NULL, N'01259.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', N'Block 112', N'Section 2', N'LOT 3 BLOCK 112 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:27.000' AS DateTime), 233, 66, 0xBD0B0000010405000000B97493981B792B41BCB359757C643141B2F1D28D07792B419CFF909E7C64314182A7574A08792B418C06F0D693643141DD61A1561C792B4140E8D9AC93643141B97493981B792B41BCB359757C64314101000000020000000001000000FFFFFFFF0000000003, CAST(792678 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (792686, N'{274EB912-868C-4FE2-A40A-B55DD5BA255F}', N'013977962', 295389, N'PRP968', 23708571, N'13977962', NULL, N'01263.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 11', N'Block 114', N'Section 2', N'LOT 11 BLOCK 114 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:26.000' AS DateTime), 172, 54, 0xBD0B00000104050000009487859A8A772B414C158CAA7F6431414C840D8F76772B41D8D781D37F6431410FAE472177772B4104363CFD906431417F7AA52C8B772B410498DDD3906431419487859A8A772B414C158CAA7F64314101000000020000000001000000FFFFFFFF0000000003, CAST(792686 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (793321, N'{4E2E2D90-90AB-4AD2-9F24-4DF704CA00C7}', N'001398083', 7978, N'VIP29438', 90056700, N'1398083', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 53', N'', N'', N'LOT 53, DISTRICT LOT 49, NANOOSE DISTRICT, PLAN 29438', N'0163', N'0021', NULL, N'ICIS CADASTRE', 6, N'DATACOMPILATION', N'UNKNOWN', N'1', N'7011', CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2019-01-05T08:47:21.000' AS DateTime), 7011, 1701, 0xBD0B000001046E0000003F8B6CC7F90C314160E17A94B9711D41BE39236ADC0C314180B29DEFDB711D4136D6C50DBF0C3141405EBA49FE711D41D85F766F980C3141804603782B721D4133333393790C314100976E924F721D41F4E461813B0C3141A0C4203098721D41B6847C503B0C314180068115B1721D41822F4C06ED0C3141A03E575BEE711D410C8A1FA33D0D314130FBCBEE8F711D417ABE9FBA690D3141401283C04E711D41D9F0F4AA970D31414061C3D318711D41280F0BF5AB0D3141C0EA73B50E711D4189416025BE0D3141A0AF0367F9701D41EAE236BABB0D3141C0CCCCCCD6701D4155D3BC83B60D3141F0A4BDC1DC701D41075F980C9A0D314130E02D10FE701D41516B9AF7780D3141505D6DC524711D41BB8D06B0550D3141E0B9490C4E711D41B6627FF9350D3141300BB52673711D4135F8C224170D314190A2233997711D413F8B6CC7F90C314160E17A94B9711D41206C783A500E3141505D4BC8CB701D4186DB6880690E314110AF9465DE701D41F21FD24F820E3141B054C128F9701D41C97F487F9A0E314160643BDF1B711D41E2141DA9B10E3141606519E244711D4189DB6800C80E3141A09BC42073711D413E3EE899DD0E314140A089B0A6711D41DBA3703D4F0F3141603BDF4FC9721D4187F1090A500F3141B09FD14DC4721D4152FB6BC5500F314110755322BF721D41C7D0106F510F3141B0C016D1B9721D41842F7F06520F31414081E85DB4721D41C3D94A8B520F3141C0F8ADCCAE721D41BDE314FD520F314100E56121A9721D41177C6132470F3141A0AF03E78A721D41A735CDFB350F3141505DDCC65E721D41E71DA7E8200F314110C9E5BF28721D41F27C3FD50B0F31414035EFB8F2711D41263A928BEC0E3141F0B9DA8AA2711D41FDB97778E70E31416003385E95711D41E9FFDE5CE20E31410040836688711D41A68CEA38DD0E3141F00714A47B711D416919BD0CD80E3141108C40176F711D41F69679D8D20E314100935DC062711D41A52C439CCD0E31419076BE9F56711D415688E73FC80E314190AE86E04A711D412A74D4D9C20E314140AF5E693F711D41287A466ABD0E3141600AC73A34711D41B28E7AF1B70E3141E0233D5529711D41C50DAE6FB20E3141E02C3BB91E711D4151B81EE5AC0E3141901D386714711D41D2841D30A80E3141704877020C711D41944B0A74A30E3141106C4FDE03711D4101741CB19E0E314100CD1FFBFB701D41B5B58BE7990E3141E0B64459F4701D41E8159017950E3141107917F9EC701D41F8E46141900E3141E062EEDAE5701D418DDFD6798A0E3141F02AE4FBDD701D41E14BD5A9840E3141F04B2883D6701D415957CED17E0E3141E0414C71CF701D4184CB33F2780E3141C0B4D9C6C8701D417F05780B730E3141506F5284C2701D4125ED0D1E6D0E3141105530AABC701D41B766489A670E3141F0DBF5CEB7701D416007B811620E3141907B3F4EB3701D416FA8B9845C0E3141E0C25828AF701D419B6DAAF3560E3141B04B875DAB701D41C8BEE75E510E3141C0B70AEEA7701D41ED41CFC64B0E314110AC1CDAA4701D412B4D24B0470E314110A84AF2A2701D4187931D98430E314100CF9C3BA1701D41F1FEDF7E3F0E3141309322B69F701D41458490643B0E3141A0ADE9619E701D4111225449370E31414019FE3E9D701D413CDF4F2D330E314110166A4D9C701D41371752512F0E314140FB0FAC9B701D418462F1742B0E3141C07786369B701D41ACD74C98270E3141C03ED1EC9A701D416F8F83BB230E3141F0A0F2CE9A701D419AA3B4DE1F0E3141108FEBDC9A701D41472EFF011C0E31410099BB169B701D41731FF1BA170E314160591D9F9B701D41EB1B6474130E314180DD885D9C701D41F1CD822E0F0E314140B9F6519D701D41EAD877E90A0E314190655D7C9E701D41F5D76DA5060E3141C040B1DC9F701D412A5C8F62020E3141A08EE472A1701D4168839823FD0D3141503E70C0A3701D41791C78E6F70D3141E0E87E4DA6701D41AD355EABF20D31410027F919A9701D41AECA7A72ED0D3141E04CC525AC701D4105C3FD3BE80D31418069C770AF701D410AF01608E30D3141A047E1FAB2701D412837296CDD0D31419032FC21B7701D41FAF1F6D3D70D3141A07FCD96BB701D41916AC33FD20D3141E0941F59C0701D41FEBAD1AFCC0D31412035B968C5701D4121CA6424C70D3141F0805DC5CA701D418348BF9DC10D314130FBCB6ED0701D412DA2B4F7C30D314110014D04F4701D41A66F2D66CE0D314160D829C4E9701D416DA9BCE3D80D314100482E87E0701D41FAFACF6EE30D3141D09EBC4ED8701D413B09D305EE0D31413021101CD1701D416CAF2FA7F80D314170DE3CF0CA701D41D33B4E51030E314160832FCCC5701D41FF1873F71C0E3141A0D6346FBF701D4172F90FA9360E3141D0696F70C1701D41206C783A500E3141505D4BC8CB701D41020000000200000000021500000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(793321 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (793659, N'{E02A1797-7D14-46E0-8166-BB4CCCD9D46C}', N'014412985', 1185278, N'NWP19544', NULL, N'14412985', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-02T00:00:00.000' AS DateTime), N'REM Lot 5', N'Block H', N'', N'LOT 5, EXCEPT: PART ON PLAN 45999A BLOCK "H" DISTRICT LOT 139 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 19544', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:35:45.000' AS DateTime), 376, 78, 0xBD0B0000010405000000EEB0506BA58A324160E7FB2969EA1B41A223B91CA38A3241702041F1B1EA1B41C086A777B88A3241E09C1125B5EA1B4126F6973DB98A3241902E6E236CEA1B41EEB0506BA58A324160E7FB2969EA1B4101000000020000000001000000FFFFFFFF0000000003, CAST(793659 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (796415, N'{DC8F9071-9772-4422-9185-BE0642BDDB5D}', N'013876236', 1309325, N'NWP1002', NULL, N'13876236', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-02T00:00:00.000' AS DateTime), N'REM Lot 13', N'', N'', N'ALL THAT PORTION OF LOT 13 EXCEPT, FIRSTLY: PART ON SRW PLAN 44217, SECONDLY: PART ON SRW PLAN 15623 DISTRICT LOTS 67 AND 113 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 1002 LYING SOUTH OF THE ROAD SHOWN ON PLAN 1002', N'0025', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2021-03-05T08:28:21.000' AS DateTime), 9832, 559, 0xBD0B0000010408000000ACFA5CEDF9CB32411067D567D7F31C41C29F1ACF34CC32413041F1632AF41C41CA8F315775CB32415003788BB6F11C416FA301BC6FCB3241D0D9ACFA64F31C418F5CFEE375CB3241A0A3703D63F31C41F4FDD43880CB324150855A5369F31C413611369CBDCB3241E08CB9EB96F31C41ACFA5CEDF9CB32411067D567D7F31C4101000000020000000001000000FFFFFFFF0000000003, CAST(796415 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (796445, N'{C077AD2A-8E9D-46C4-A139-46120578AD8B}', N'013852558', 1314395, N'NWP6254', NULL, N'13852558', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'REM Lot 3', N'', N'', N'LOT 3 EXCEPT: FIRSTLY: PART ON STATUTORY RIGHT OF WAY PLAN 71204, SECONDLY: PART ROAD ON PLAN LMP6676, DISTRICT LOT 407 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 6254', N'0075', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:43:53.000' AS DateTime), 7325, 535, 0xBD0B00000104160000004F499D6004183341C0726891B49E1C41A4C64B370C183341705DDC46A89E1C416991EDBC12183341E05205A3759E1C419DABAD981F18334150006F015E9E1C410B8195431C18334100E561A12F9E1C41A73E577BAA173341E0D022DB199F1C41C410C77AA8173341F0C42030C49F1C41CDF753637E173341801804D61AA01C412A0F0BD57D17334140D49AE6A4A01C41EE8E53F4B4173341802DB29D96A01C4172F90F49B417334120DD240661A01C41428B6CE7BC173341C022DB7936A01C41752D217FBF173341A087855A04A01C41827346D4C917334130FAED6BA89F1C414EAF9485CB173341E0EC9E3C7A9F1C418A38D6C5D1173341100000006B9F1C41FD4C840DDF173341608FC2F5229F1C411573D792E9173341E061A156349F1C4160105859F0173341506DC57E599F1C41B269DE91FE17334140A3013C2B9F1C410E7A366B0218334190E61D27EC9E1C414F499D6004183341C0726891B49E1C4101000000020000000001000000FFFFFFFF0000000003, CAST(796445 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (797956, N'{C97E8582-6698-470E-8D0D-3A797E043C5A}', N'011384786', 847821, N'KAP1957', NULL, N'11384786', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 659', N'', N'', N'THAT PART OF LOT 659 SHOWN COLOURED RED ON PLAN A1057; DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 1957', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:34.000' AS DateTime), 7299, 611, 0xBD0B0000010427000000BE86A7574979364160992A182DD41C418E1804564D793641B0FEB27B1AD41C411A51DA3B59793641C05D4BC8DFD31C4152FC18735E793641700E9CB3C4D31C412BA08990637936415060E550A9D31C41F597DD936879364130772DA18DD31C41F875E07C6D793641502F4CA671D31C41137A364B7279364130F7E46155D31C417A36ABFE76793641706132D538D31C416AAA60F460793641D041CF66F8D21C4168DE714A60793641A0FCF675F6D21C41921804761779364120F1D24D50D41C4137B4C8B608793641C065886396D41C412AA91350FE783641006076CFC7D41C41234A7B03F378364170FC18F3FAD41C413E1CEBE2E6783641805D4BC82CD51C41E7FBA931DA783641F05374245CD51C41F3F44A19CE7836419014AE4785D51C4190180496C17836414032E62EACD51C418DCB7FA8B4783641908785DAD0D51C41DE581757A778364140598638F3D51C41816ABCF499783641E05C6D4512D61C41B0B6629FBB783641007D3F3524D61C4116022BE7DC783641A0E68CA8B6D51C41805149FDE5783641205D6DC59CD51C41898EE4F2EE783641F0E8B72F82D51C410E022BC7F7783641F0B0E1E966D51C41F0F44A7900793641604694F64AD51C4123B072080979364190ABAD582ED51C411361C3731179364180976E1211D51C416029CB701C793641501E16EAE8D41C4110363C7D1D793641702A1815E5D41C41208E75512179364190B0E169D6D41C41A489B041297936419073B595B7D41C41EC51B89E2D79364170FEB2FBA5D41C4199D409083479364170DD93878BD41C416229CB103C793641B0BDC11769D41C41A2CDAAEF4079364160C807BD53D41C41BE86A7574979364160992A182DD41C4101000000020000000001000000FFFFFFFF0000000003, CAST(797956 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (797988, N'{B1FAC9D0-18B4-40C7-9BDC-652DEA61588C}', N'011368985', 850279, N'KAP1728', NULL, N'11368985', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Parcel 5', N'Lot 112', N'', N'PARCEL 5 (PLAN A1273) OF LOT 112 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 1728', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:59.000' AS DateTime), 16231, 644, 0xBD0B000001041C000000B5C876DE1E72364160A52C43CF781D416CE7FBC91D723641D088D2DED1781D4166DE712A1472364190F54A5916791D41BEE3141D10723641C0E53F2438791D4195779CE208723641101F856B74791D4186FD65F7FC71364110764F9EAF791D41C3051274F97136411097FF10C1791D419ED634AFE7713641909AE61DF2791D41420AD7C3D8713641D039234A027A1D41A457CA72DB713641208E75F16A7A1D41C854C168DD71364100FDF6F5D37A1D413CF8C2A4DE713641B0C186273D7B1D41499D8026DF7136418069DE71A67B1D412CA2B4F7DE71364190E09C91087C1D41D5E76A4BDE713641001B9EDE5D7C1D41915CFE23F171364100C0EC1E837C1D41DFA59B04FD713641B0BF5B209A7C1D4104BC05D204723641D04F8D17AA7C1D41B537F8420A723641F0EBC039B57C1D412A651982147236417055302ADE7C1D41E5361AC01A723641508EE4F2F77C1D418D5AD37C2872364150E926B1307D1D418395438B2C723641E06F5F07427D1D41D7A3701D30723641100DE0AD217C1D41D222DB1930723641A0A0F831207C1D41E6D9ACFA2B723641B08F31F76E7A1D412CC4B1EE2B723641A0B6627F6D7A1D41B5C876DE1E72364160A52C43CF781D4101000000020000000001000000FFFFFFFF0000000003, CAST(797988 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (801860, N'{A9390F1D-AEAA-4918-991E-A32FA87A0C36}', N'014767953', 3, N'NO_PLAN', NULL, N'14767953', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 80', NULL, NULL, N'THAT PART OF DISTRICT LOT 80 LYING SOUTH OF THE SOUTHERN LIMIT OF THE HOPE-PRINCETON HIGHWAY AS SHOWN ON PLAN H94 AND EAST OF THE EAST BOUNDARY OF SECTION 10 TOWNSHIP 5 RANGE 26 WEST OF THE 6TH MERIDIAN, YALE DIVISON YALE DISTRICT EXCEPT PLAN 39120', N'0050', N'0009', N'NO', N'ICIS CADASTRE', 11, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2020-01-22T16:00:32.000' AS DateTime), 25153, 800, 0xBD0B000001040800000078711BED91583441E02FBBA7B0311E413E7958684B583441801B7C6115321E412AA089B012583441F0891FE38A321E4143F1632C9557344140FC18F310331E41285C8FC28B5734416095438B85351E4124ED0D3E6E583441A0A982D1F0321E41286519A297583441B0855A53FB311E4178711BED91583441E02FBBA7B0311E4101000000020000000001000000FFFFFFFF0000000003, CAST(801860 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (802493, N'{675FB45E-AE76-4829-9E1C-FAE94F2A0447}', N'016169310', 472080, N'NEP639', 90054741, N'16169310', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 12', N'Block 52', NULL, N'LOT 12 BLOCK 52 DISTRICT LOT 1901 KOOTENAY DISTRICT PLAN 639', N'0163', N'0018', N'NO', N'MODIFIED-ICF', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-03-25T16:36:10.000' AS DateTime), 319, 82, 0xBD0B00000104050000002BCB10A7A6ED3A416807CE59B4A82041D5915C3EA5ED3A41A8E3141DC9A820419E1A2F5DC3ED3A41D08AFDE5D1A820416D8104C5C4ED3A41482EFF21BDA820412BCB10A7A6ED3A416807CE59B4A8204101000000020000000001000000FFFFFFFF0000000003, CAST(802493 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (802723, N'{E52C5197-2D3A-44C1-918F-0DCEE47106E2}', N'001705989', 12929, N'VIP218A', NULL, N'1705989', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 7', N'Block 23', NULL, N'LOT 7, BLOCK 23, SHAWNIGAN LAKE SUBURBAN LOTS, MALAHAT DISTRICT, PLAN 218A', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 3, N'LSA', N'UNKNOWN', N'0', N'10251', CAST(N'2021-02-10T11:56:41.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 10132, 402, 0xBD0B0000010406000000E102094AB3E73141B095B28C08BB1841C8A1457618E8314180211FF40FBB1841595227601CE83141D095B28C80B91841F05A42BEB9E7314180029A8870B91841560E2D12B6E7314110302A292FBA1841E102094AB3E73141B095B28C08BB184101000000020000000001000000FFFFFFFF0000000003, CAST(802723 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (803191, N'{A1915C52-DABE-430E-8D6D-46594871827D}', N'009045791', 135357, N'VIP476', NULL, N'9045791', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', NULL, NULL, N'LOT 3, SECTION 7, VICTORIA DISTRICT, PLAN 476 EXCEPT THAT PART LYING WEST OF THE CANADIAN NORTHERN PACIFIC RAILWAY COMPANY RIGHT OF WAY AS SHOWN ON PLAN 7 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:09:41.000' AS DateTime), CAST(N'2021-04-21T10:47:02.000' AS DateTime), 411, 133, 0xBD0B0000010405000000C410C7FA9F393241D07EFBBA0F8717419FEFA7869A393241006D56FD0A871741EEFDD4D88439324130355EBAE88717418C855A138D393241501AC0DBEF871741C410C7FA9F393241D07EFBBA0F87174101000000020000000001000000FFFFFFFF0000000003, CAST(803191 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (803365, N'{8160D2E7-9433-40F3-8E7C-7FC0637D39E1}', N'015506860', 495897, N'NEP1684', NULL, N'15506860', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'2000-04-06T00:00:00.000' AS DateTime), N'Lot 1', N'Block 10', NULL, N'THAT PART OF LOT 1 BLOCK 10 DISTRICT LOT 4598 KOOTENAY DISTRICT PLAN 1684 LYING SOUTHEAST OF A LINE PARALLEL TO AND 45 FEET DISTANT FROM THE NORTHWESTERLY BOUNDARY THEREOF', N'0146', N'0019', N'NO', N'PMBC-OPERATIONS', NULL, NULL, N'COGO', N'0', N'346.2', CAST(N'2021-05-14T10:37:14.000' AS DateTime), CAST(N'2021-05-17T16:12:17.000' AS DateTime), 363, 94, 0xBD0B0000010406000000EB043451FE82384130F38ED3D5DE1D41B30C718C02833841F0ACFADC3CDE1D41168C4A6AF1823841A0F8316651DE1D413911361CF882384190B43778A8DE1D41084625D5FB823841108E75F1D8DE1D41EB043451FE82384130F38ED3D5DE1D4101000000020000000001000000FFFFFFFF0000000003, CAST(803365 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (804211, N'{B5910694-5200-42A0-866E-3A8DCCCE7944}', N'016363396', 472108, N'NEP9503', NULL, N'16363396', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 19', N'Block 6', NULL, N'LOT 19 BLOCK 6 SECTION 12 TOWNSHIP 27 RANGE 22 WEST OF THE 5TH MERIDIAN KOOTENAY DISTRICT PLAN 9503 EXCEPT PART INCLUDED IN SRW PLAN 13446', N'0043', N'0006', N'NO', N'ICF', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-06-08T09:34:24.000' AS DateTime), 368, 99, 0xBD0B0000010406000000091B9E5EF1D23841D0E76A2B2B8426415B643B9FEFD23841305986B82A84264129BB27CFDDD23841584625F56C8426414C742437DDD23841005D6D05768426414C696F50ECD23841B078E9E679842641091B9E5EF1D23841D0E76A2B2B84264101000000020000000001000000FFFFFFFF0000000003, CAST(804211 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (804651, N'{9556BC48-3896-46EB-8748-AC80EC37DAB2}', N'017454981', 3, N'NO_PLAN', NULL, N'17454981', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART N2', N'21', N'11,5', N'ALL THAT PORTION OF THE NORTH 1/2 OF SECTION 21 TOWNSHIP 11 RANGE 5 COAST DISTRICT ON PLAN 8392', N'0151', N'0001', N'NO', N'ICF', 5, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2021-07-12T13:14:27.000' AS DateTime), 48564, 4699, 0xBD0B000001046C000000298716D91C413141E05D4BC8FBBE2E4128CB10A71B413141D00B932906BF2E41DD361A601A413141A8A44E8010BF2E41388941001941314158A835CD1ABF2E41A0703D8A174131414003780B25BF2E4160764FFE15413141C8907E3B2FBF2E41206C785A14413141303EE85939BF2E41DB12F2A112413141F0F97E6A43BF2E415B0E2DD21041314198438B6C4DBF2E41D2DEE0EB0E413141D03E575B57BF2E4145696FF00C41314168226C3861BF2E417B36ABDE0A41314160006F016BBF2E418BF4DBB70841314188FD65B774BF2E41E8D9AC7A06413141E019515A7EBF2E41CB54C128044131410879E9E687BF2E415DEE5AC2014131418051495D91BF2E4186416045FF403141301136BC9ABF2E41EE85C9B4FC403141A04AEA04A4BF2E41684DF30EFA40314168EA0434ADBF2E41B2E1E955F74031419815FB4BB6BF2E4176931884F4403141581CEB62BFBF2E41A011A59DF140314140C05B60C8BF2E41430AD7A3EE403141485C8F42D1BF2E41B3D85F96EB403141C8825109DABF2E41784F1E76E8403141283333B3E2BF2E41452EFF41E540314100DCD741EBBF2E41174850FCE1403141B80E9CB3F3BF2E41EED24DA2DE403141785DDC06FCBF2E41C07D1D38DB40314180A3013C04C02E4176BE9FBAD740314130A913500CC02E410F71AC2BD4403141E881734614C02E41B51E858BD04031410888F41B1CC02E4105B5A6D9CC403141A8A8A4CE23C02E411BE25817C9403141B02D90602BC02E41AD1C5A44C54031415817B7D132C02E41A79BC460C1403141B0BFEC1E3AC02E411A0DE06DBD40314120B9FC4741C02E41839ECD6AB94031416096214E48C02E41FA0FE957B5403141D031772D4FC02E410222FD36B1403141106744E955C02E4129CB1007AD40314138FF217D5CC02E41E1141DC9A8403141108C4AEA62C02E4151DA1B7CA4403141200E2D3269C02E412E6EA321A040314198976E526FC02E41E9D9ACBA9B403141A84C154C75C02E416D81044597403141103FC61C7BC02E41905374C492403141A8CAA1C580C02E41567DAE368E403141D0EEC94386C02E41D8ACFA9C8940314188D0B3998BC02E41BF86A7F78440314100B98DC690C02E41B094654880403141E0718ACE95C02E410EE9B78F7B403141603255B09AC02E41EEB050CB76403141C078E9669FC02E4198FF90FE71403141088E06F0A3C02E41C64B37496D40314158666626A8C02E41ABF1D22D68403141D0EEC983ACC02E4136AB3E376340314150287E8CB0C02E41F2EBC0395E403141D878E966B4C02E41FCA067335940314118E25817B8C02E41696666265440314188F4DB97BBC02E417AE09C114F403141E88C28EDBEC02E41C498BBF649403141F0F21F12C2C02E41F4A067D34440314118948705C5C02E4169DE71AA3F40314108151DC9C7C02E4153D1917C3A403141E03FA45FCAC02E4171F90F49354031414082E2C7CCC02E4198BB96103040314148378901CFC02E417E7346D42A403141585F070ED1C02E416AAA609425403141F8D478E9D2C02E4129A9135020403141F898BB96D4C02E41F5CBEE091B40314128068115D6C02E41000000C01540314150416065D7C02E41ABE8486E1040314130B6F37DD8C02E41CE22DB190B403141F8E68C68D9C02E41191DC9C505403141481CEB22DAC02E413C575B7100403141F056ECAFDAC02E419E1A2F1DFB3F31412871AC0BDBC02E417A14AEC7F53F3141E0C7983BDBC02E41D6C56D74F03F3141205A643BDBC02E410693A922EB3F314150840D0FDBC02E419DEFA7C6033E3141F80DBE30BFC02E41881F638EE73D314100C364AABDC02E415F6DC59ED33D3141082B8796BCC02E41F5065FD8723D3141C8F5285CB7C02E411F166AED593D3141E8809503B6C02E41B9408202413D3141480C02ABB4C02E41DE4F8D17283D314108615452B3C02E41757AA52C0F3D314138B5A6F9B1C02E41467B834FF63C314118D578A9B0C02E41FE87F43BC33C3141509FABEDADC02E41799318A4A83C3141B0923A81ACC02E41081B9EDEDF3A31415083C0CA93C02E4107C58FD1DF3A3141C015FB0B98C02E41A0D6348FDF3A314100CAC342ACC02E41E093874525413141307FD97D04C12E410122FD763E413141706666E6B4BA2E4152DA1B5C33413141004E6250B4BA2E4129287EEC23413141E088D21E8ABE2E410612147F2341314130C6DCB59CBE2E418DED7C1F2341314138D26F5FA7BE2E415939B4A82241314128B81E05B2BE2E417ED0B3192241314178787AA5BCBE2E41DACEF77321413141F87E6A3CC7BE2E41012B87B62041314140BB27CFD1BE2E41D812F2E11F413141701AC05BDCBE2E418F1804F61E413141B8F528DCE6BE2E416ECE88F21D413141D886A757F1BE2E41298716D91C413141E05D4BC8FBBE2E4101000000020000000001000000FFFFFFFF0000000003, CAST(804651 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (806392, N'{2DA38A37-A301-4A4F-B4CF-D454EE0CB290}', N'001537393', 484630, N'KAP35395', 90053119, N'1537393', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', NULL, NULL, N'LOT A SECTION 24 TOWNSHIP 9 OSOYOOS DIVISION YALE DISTRICT PLAN 35395', N'0022', N'0012', N'NO', N'ICF', 4, NULL, N'UNKNOWN', N'0', N'4551', CAST(N'2021-11-04T10:16:27.000' AS DateTime), CAST(N'2021-11-04T10:16:35.000' AS DateTime), 4549, 283, 0xBD0B0000010406000000A49BC4402AA036417009F9A011682241BB8D06F060A03641B044D87091682241728A8E446DA03641B86B09F946682241DD2D904082A03641F8923A8110682241396744495FA036412085EB91B8672241A49BC4402AA036417009F9A01168224101000000020000000001000000FFFFFFFF0000000003, CAST(806392 AS Numeric(38, 0)), NULL) +GO +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (807023, N'{37B10E76-E861-4A5C-B9F1-8A048A1B7DEE}', N'004572629', 1660, N'VIP13444', NULL, N'4572629', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', NULL, NULL, N'LOT 2, DISTRICT LOT 79, NANOOSE DISTRICT, PLAN 13444, EXCEPT PART IN PLAN, 41577', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2021-12-08T14:51:18.000' AS DateTime), 1050, 131, 0xBD0B0000010405000000DA8AFD05AD443141C003E70CE4E11C414CEA04B4B4443141606666E679E21C41381AC09BCF443141808EE4F264E21C41547DAEF6C74431415087A7D7CEE11C41DA8AFD05AD443141C003E70CE4E11C4101000000020000000001000000FFFFFFFF0000000003, CAST(807023 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (807475, N'{FE068942-44A5-431A-8C8B-A3037E4C06D4}', N'011769254', 3, N'NO_PLAN', NULL, N'11769254', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'A', N'220', NULL, N'PARCEL A (PLAN B7154) OF DISTRICT LOT 220 OSOYOOS DIVISION YALE DISTRICT EXCEPT PLANS 7014, 9704, 19559 AND H783', N'0098', N'0016', N'NO', N'ICIS CADASTRE', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2022-01-11T16:55:05.000' AS DateTime), 6064, 372, 0xBD0B00000104070000004A696FB0F8253641D000DE426BC72041AE1C5A042E263641C0FEB2FBA5C720414C03782B322636418004C54F45C72041BF3923AA332636410081958321C720412A31088CB0253641A0EFA78602C72041A8CFD596AC253641F8CBEE0947C720414A696FB0F8253641D000DE426BC7204101000000020000000001000000FFFFFFFF0000000003, CAST(807475 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (808602, N'{EEB57EC4-E098-4637-ABBF-191503440F46}', N'007576447', 128602, N'VIP1347', NULL, N'7576447', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'Block 2', N'', N'LOT 1, BLOCK 2, SECTION 33, VICTORIA DISTRICT, PLAN 1347, EXCEPT PART IN PLAN 23075', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:03:02.000' AS DateTime), CAST(N'2019-01-05T10:22:10.000' AS DateTime), 288, 73, 0xBD0B00000104060000002F3333B3123C3241E02A1815359A1741B2D85F76143C3241202CD41A479A17414703784B2B3C3241405C8F424A9A17410388F4BB1C3C3241D089B061059A1741FEFFFF5F123C3241E0F528DC039A17412F3333B3123C3241E02A1815359A174101000000020000000001000000FFFFFFFF0000000003, CAST(808602 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (808762, N'{617B5190-B0D5-4EFA-82E6-9C74905225FD}', N'008168636', 136474, N'VIP283', NULL, N'8168636', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 10', N'Block 5', N'', N'LOT 10, BLOCK 5, SECTION 4, VICTORIA CITY, PLAN 283, EXCEPT PART LYING SOUTH EASTERLY OF THE CANADIAN NORTHERN PACIFIC RAILWAY RIGHT OF WAY AS SHOWN ON PLAN 6 RW', N'0153', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:20:34.000' AS DateTime), CAST(N'2019-01-05T10:22:46.000' AS DateTime), 279, 92, 0xBD0B000001040400000065AA60D474393241A0923A81597C17411404566E81393241806FF005387C174124F6973D6039324120CE19D1DE7B174165AA60D474393241A0923A81597C174101000000020000000001000000FFFFFFFF0000000003, CAST(808762 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (808925, N'{F520B7B7-59C7-41A6-AE94-810608261712}', N'002911183', 117903, N'VIP877', NULL, N'2911183', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 10', N'Block 10', N'', N'THAT PART OF LOT 10, BLOCK 10, SECTIONS 14 AND 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:44:20.000' AS DateTime), CAST(N'2019-01-05T10:23:33.000' AS DateTime), 305, 71, 0xBD0B0000010405000000D812F261D4373241B086A757B28D1741CE22DBF9E2373241504F1E96A08D1741CE88D2FEDC373241908A8EE4538D17410A1B9E7ECE3732417027A089658D1741D812F261D4373241B086A757B28D174101000000020000000001000000FFFFFFFF0000000003, CAST(808925 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (809069, N'{1CC00C81-3A8A-44D8-AD59-242048CEC42F}', N'004064640', 130726, N'VIP16721', NULL, N'4064640', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', NULL, N'Lot A', N'', N'', N'LOT A, SECTION 37, VICTORIA DISTRICT, PLAN 16721', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:57:42.000' AS DateTime), CAST(N'2019-01-05T10:24:09.000' AS DateTime), 27635, 695, 0xBD0B0000010415000000647FD97D2945324120AF94E5E98F1741B61E85EB2B453241A02D211FF38D17411648503C18453241900E2D32F18D1741648FC25501453241406ABCF4EE8D1741711B0D80E744324140D6C56DEC8D17417C1D38A7D34432416091ED7CEA8D1741840D4F4FC1443241C032C4B1E88D17416B2BF617C1443241900C71ACE88D1741DBA370FDAE44324170A835CDE68D1741283A92AB9C443241A0D409E8E48D17419FD6344F93443241F0D6A3F0E38D174160984CF592443241C02631882A8E17419275719B9244324150522720718E1741DA1B7C419244324180A2B4B7B78E174113E9B7CF70443241F0C9C342B48E1741B1E1E9957A443241A02D211FD98F174192A982D181443241E0B4A6F98F9017410824283E09453241C0E995329D901741068195230C4532411097FF10E78F1741ACBDC1771B453241E002788BE88F1741647FD97D2945324120AF94E5E98F174101000000020000000001000000FFFFFFFF0000000003, CAST(809069 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (809146, N'{B1B0B66C-AD15-474E-B15B-BD0EEA766C0F}', N'001593587', 141191, N'VIP1291', NULL, N'1593587', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 11', N'Block 3', N'', N'THAT PART OF LOT 11, BLOCK 3, SECTION 9, ESQUIMALT DISTRICT, PLAN 1291 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0154', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:04:52.000' AS DateTime), CAST(N'2019-01-05T10:24:26.000' AS DateTime), 318, 73, 0xBD0B000001040F000000475986B82D2B3241F0E53F24BE9A1741E90619572B2B3241004F3BBFB99A17411CBF36FA282B32412026A533B59A1741FB8E06A2262B3241C089C881B09A1741FB35AF4E242B32416011F3A9AB9A17417F235700222B324190C874ACA69A1741507424B71F2B32418027A089A19A1741742497DF1A2B324110FED478F39A17416EF9012F1D2B32419062224AF89A1741ED60C2821F2B3241E06198F9FC9A1741CB5FB9DA212B3241D09AF886019B1741D7C2C736242B3241807306F2059B17416520CE96262B3241001A873A0A9B1741E6D9ACFA282B3241A08941600E9B1741475986B82D2B3241F0E53F24BE9A174101000000020000000001000000FFFFFFFF0000000003, CAST(809146 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (809311, N'{33D9A325-FA6E-435D-A4C6-DF2106D6A239}', N'005622824', 248101, N'PGP29457', 90054414, N'5622824', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'', N'', N'LOT 5 DISTRICT LOT 6006 CARIBOO DISTRICT PLAN 29457', N'0163', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:17:48.000' AS DateTime), 24323, 651, 0xBD0B0000010405000000A267B38A76F1354110E561A1DCAB2B41DBF0F44A96F13541A8293AD273AD2B41683BDFCFF4F1354138C4B1EE87AD2B415A17B79107F23541A02F4CA6F0AB2B41A267B38A76F1354110E561A1DCAB2B4101000000020000000001000000FFFFFFFF0000000003, CAST(809311 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (810111, N'{C70BC6EE-F1F4-4A25-A2A0-AA34F699FD8D}', N'001590812', 137090, N'VIP1430', NULL, N'1590812', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'Block 2', N'', N'THAT PART OF LOT 4, BLOCK 2, SECTION 9, ESQUIMALT DISTRICT, PLAN 1430 INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0154', N'0005', N'NO', N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:59:33.000' AS DateTime), CAST(N'2020-05-13T13:00:42.000' AS DateTime), 375, 114, 0xBD0B00000104060000009228EDADCE2B3241C05D4BC88B9A174170E7FBA9CF2B324110D49AE6979A17414F8D978EFE2B3241B0A679475D9A1741518D97AEFA2B3241E0DCB5842F9A1741CE5D4B68FA2B3241502BF617309A17419228EDADCE2B3241C05D4BC88B9A174101000000020000000001000000FFFFFFFF0000000003, CAST(810111 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (810558, N'{E8530A38-F7B9-456F-99EE-266FB470925E}', N'009188665', 136474, N'VIP283', NULL, N'9188665', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 13', N'Block 5', N'', N'LOT 13, BLOCK 5, SECTION 4, VICTORIA DISTRICT, PLAN 283 EXCEPT THAT PART LYING SOUTH EASTERLY OF THE SOUTH EASTERLY BOUNDARY OF THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY, AS SAID RIGHT OF WAY IS SHOWN ON PLAN 6 RW', N'0153', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:11:56.000' AS DateTime), CAST(N'2019-01-05T10:55:07.000' AS DateTime), 617, 119, 0xBD0B00000104070000008A8EE4927139324150E926B1877C17416232551098393241802D211FA87C1741905CFE6388393241C010C7BA4A7C17411404566E81393241806FF005387C174165AA60D474393241A0923A81597C1741EFFDD4D86639324120C286A77E7C17418A8EE4927139324150E926B1877C174101000000020000000001000000FFFFFFFF0000000003, CAST(810558 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (813328, N'{92285DA2-6327-4B96-95BE-8D887E2229FA}', N'013369792', 3, N'NO_PLAN', NULL, N'13369792', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'E2', N'3623', N'', N'THE FRACTIONAL EAST 1/2 OF DISTRICT LOT 3623 LILLOOET DISTRICT EXCEPT PLANS A632, C18556 AND H18367', N'0163', N'0025', N'NO', N'MODIFIED-ICIS', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2018-01-09T12:29:56.000' AS DateTime), 129227, 2025, 0xBD0B000001044D00000036F8C2E435BA334158E3A51B2AD8234134CD3BAE36BA334158D191DC2ED82341E4D0227B37BA334180E2C79833D82341CEDEE04B38BA3341F0A9F15238D8234123C9E51F39BA3341E8B9DA0A3DD82341ACBDC1F739BA334150499DC041D82341F9A9F1D23ABA334100A1677346D82341FC65F7843BBA3341B8FC87344AD823410CBE30393CBA3341303333F34DD82341D856ECEF3CBA334110A089B051D82341E61DA7A83DBA334178559F6B55D82341C7EEC9633EBA3341E89C112559D82341C25B20213FBA3341605149DD5CD82341C264AAE03FBA3341C8E00B9360D82341482575A240BA3341B0A6794764D82341D881736641BA3341307E8CF967D823411F1FF42C42BA3341308C4AAA6BD823415D984CF542BA3341C87493586FD823413A8941C043BA3341C013D00473D8234178711B8D44BA3341900D4FAF76D82341FA7E6A5C45BA3341C07493587AD82341599FAB2D46BA3341B8B662FF7DD8234167006F0147BA334100780BA481D823414C7424D747BA3341E84A594685D82341F6285CAF48BA3341881D38E788D82341FFD4788949BA3341A801BC858CD823418538D6654ABA3341902EFF2190D8234156C1A8444BBA3341785AD3BC93D8234172787A254CBA334168984C5597D8234155423E084DBA3341C01E85EB9AD823418F3177ED4DBA3341C8B6627F9ED82341124FAFD44EBA33410097FF10A2D82341D4915CBE4FBA334110C05BA0A5D8234171E7FBA950BA334190B12E2EA9D82341E24F8D9751BA334108FED4B8ACD8234106F9A08752BA3341D8802642B0D8234106B5A67953BA3341D8141DC9B3D823419228ED6D54BA3341A803E74CB7D8234158CA326455BA3341280456CEBAD82341C1EC9E5C56BA33410004564EBED823410222FD5657BA33418015FBCBC1D823416BB3EA5358BA3341B801BC45C5D8234172CE885259BA334138B6F3BDC8D82341162FDD645ABA3341805AD33CCCD823410D363C7D8EBA334198DFBE8E2FD9234152B81EE5D7BA334140E17AD476D923418EA98291E2BA33415096210E1AD82341283A928BAFBA3341A0F7536313D82341EDF44A193FBA3341B0141D4903D823416229CB903BBA3341D8703DCA02D8234128ED0DBE2FBA334140C1A82401D8234100917E1B30BA3341E83A70CE03D8234121B9FCC730BA334108098A9F08D82341DE46037831BA334180567D6E0DD82341CFDEE02B32BA3341105A643B12D823412A5305E332BA334128A60A0617D823412BED0D9E33BA3341B09690CF1BD8234151D1915C34BA33419018049620D8234197F6061F35BA3341081A515A25D8234136F8C2E435BA334158E3A51B2AD823413208AC7CEBB93341D80968A2F7D72341DCF0F40AD1B93341A833A2F4F3D72341897CD05390B93341402AA953ECD723415639B46853B93341885374E4E5D723411E4A7BE34DB93341C8B9DA4AA9D823413F60E51048B93341209A775C77D9234134AB3EF73FB93341D8CDAA0F96DA2341C78F31973AB9334118287E4C54DB2341A23C2C946DB93341180F0BB558DB23417E1D38276DBA3341D01C5AE46FDB2341A813D0246FBA3341D88BDB686ADB2341B6D1005E85BA33414890A0382DDB2341B86B09F99EBA3341E022DBB9E6DA234173F0852958BA3341D8C264EA2CDA2341246519A22FBA3341106F818490D9234198FF903EFBB9334198BE0E5CC6D823413208AC7CEBB93341D80968A2F7D72341020000000200000000023C00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(813328 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (813344, N'{B9AB7455-2F82-4CED-A957-44BEDFB567F2}', N'009827757', 3, N'NO_PLAN', NULL, N'9827757', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART S2', N'7', N'1', N'THOSE PARTS OF THE SOUTH 1/2 OF SECTION 7, RANGE 1, SAHTLAM DISTRICT, SHOWN COLOURED RED AND MARKED "A" AND "B" ON PLAN 1666R', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T18:16:47.000' AS DateTime), CAST(N'2018-01-09T12:30:23.000' AS DateTime), 485, 155, 0xBD0B000001040E0000004C3789C1F4A13141009C3322979119414B378981F8A13141E0770B24B791194194976E7202A23141F04A5906A89119414D158C2A14A23141104ED1118D911941051B9EFE10A23141C0D85FF66B9119412FDD24A6FFA131416014AEC7859119414C3789C1F4A13141009C33229791194142C6DCB507A2314160E7FB29FC901941A9A44EC004A2314120560E2DE290194194F6061FF5A13141E0E1E915F990194127068175E7A13141D0BD30190D911941A2B43798E9A1314170BE9F1A27911941F4EDEB20F7A13141605452271391194142C6DCB507A2314160E7FB29FC901941020000000200000000020700000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(813344 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (813389, N'{A202C393-2652-4415-9CDC-32D5D324B56E}', N'015313671', 3, N'NO_PLAN', NULL, N'15313671', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART 9009', N'', N'', N'DISTRICT LOT 9009 KOOTENAY DISTRICT EXCEPT (1) PART INCLUDED IN REFERENCE PLAN 94476I AND (2) PARTS INCLUDED IN PLANS 4348 AND 9953', N'0163', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:18:41.000' AS DateTime), 96681, 1466, 0xBD0B00000104390000000EBE30D9B9F63941E841CF667C6F2441AB7BF210D2F63941484D840D4F6F24410AAC1C9A24F7394178128380B46E24414D96214EFFF63941300456CEBF6E2441A86054724EF63941B8A44E800C6F2441365EBAC947F6394160477239106F244187B0E12941F639411068222C146F2441167C61923AF6394198ABAD58186F24411C38670434F63941A0FF90BE1C6F244187DB68802DF63941082DB25D216F2441469D800627F63941C8B35935266F244187FD659720F63941282653452B6F24412F2AA9331AF63941204D848D306F2441FC907EDB13F6394150DF4F0D366F24412FB29D8F0DF63941905CFEC33B6F244180FB3A5007F6394100C58FB1416F24419A081B1E01F63941786132D5476F24412A7E8CF9FAF53941C868002F4E6F2441088A1FE3F4F5394130B6F3BD546F244172B515DBEEF5394108A5BD815B6F2441472EFFE1E8F53941C822DB79626F2441C07D1DF8E2F53941E08AFDA5696F2441D0915C1EDDF539416038D605716F2441144FAF54D7F53941A0BDC197786F24414EE3A59BD1F53941789A775C806F24411161C3F3CBF5394190CE8852886F24410F2DB25DC6F5394130B5A679906F2441A0A223D9C0F53941F0CD19D1986F24410D022B67BBF5394198E2C758A16F2441D066D507B6F5394130BB270FAA6F244171A301BCB0F53941E88E53F4B26F2441CEF75383ABF53941684BC807BC6F2441CE88D25EA6F539419014AE47C56F24411504564EA1F53941D0FC87B4CE6F2441A457CA529CF53941184D844DD86F2441F29E3C6C97F5394108CE1911E26F244157EC2F9B92F53941B0B662FFEB6F2441976E126373F53941D078E9E6D2712441713480774FF6394130F46C560E72244190A9821159F63941D08AFD65D1712441E8E2363A62F63941000F0B3597712441021973F76FF63941600C02EB3F712441BCF5281C79F63941686B9AB705712441A7ADD85F96F63941089F3C2C18712441A60A4685AAF6394120F775E0247124411483C06A9BF639411892CB7F3A7024419A779C829AF63941B89F1A6F2C7024415243BAB699F63941C8FC431C1970244174909ED499F63941287102B905702441CE6305DC9AF6394110A16D71F26F24417AB397CA9CF63941003F5E71DF6F244121B9F09B9FF6394138560AE4CC6F244112F0A749A3F63941F003A3F3BA6F244132A85FCBA7F639416083F4C8A96F2441A40CD816ADF63941E063098B996F2441F4720620B3F63941E8C1D15E8A6F24410EBE30D9B9F63941E841CF667C6F244101000000020000000001000000FFFFFFFF0000000003, CAST(813389 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (814596, N'{258B75B6-3B37-4771-A1E8-1753F7D063AD}', N'009383336', 478404, N'NEP4714', NULL, N'9383336', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 3', N'', N'', N'LOT 3 SECTION 4 TOWNSHIP 23 RANGE 6 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 4714, EXCEPT PART INCLUDED IN PLAN 18287', N'0163', N'0006', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:23:27.000' AS DateTime), 65056, 2057, 0xBD0B00000104280000007A3F355EBDF83641B01058B970DC244142355E5A63F8364148A2B4776DDA24417BE09C3151F8364198DD9387F0DB24412C87167929F83641A8EFA7C6E7DB244161C3D30B03F83641D09C1125DFDB244124B9FCA799F73641F84C84CDC7DB2441887CD07387F73641105305E3B4DC24416B3D0A3794F7364158530523B9DC2441F453E325BCF73641F0B12EAEB0DC24415AC1A8E455F83641D09F1A6FC5DC2441DB56EC6F5AF8364170A3017CC6DC2441DA3D79385EF83641385530EAC6DC2441260681D565F83641F83C9B95C6DC2441B08BDB686DF83641E86800AFC4DC244111BE30D974F83641E8FDD438C1DC244147BF7D7D78F83641280C02EBBEDC2441F86C563D7DF83641904AEA44BBDC244136AB3E1784F8364178613295B4DC24418E3A018D8AF8364130EF3885ACDC2441757AA58C90F8364188F90F29A3DC24417A3F355EBDF83641B01058B970DC2441EBF21F720DF93641F82A87D643DD2441CCBAB86DDBF8364148522720B5DC244170B515DB99F836413041F1A301DD24412E5530AA92F83641F0F21F9209DD2441270F0B358BF8364138363C7D10DD24412238678483F83641A81A2F5D16DD2441504013A17BF83641A8B0E1291BDD24416AAA609473F8364150643BDF1EDD24415939B4686BF83641700F7A7621DD2441159E5E2963F83641086900EF22DD24411B04560E5CF83641F002094A23DD2441934C154CBAF7364108A245760DDD24413A1AC0DBB7F7364138BD529608DD2441EAC039038EF73641E8F44AD9F0DC2441E751B8BE81F73641F8627FD9F1DC2441C6A145967CF73641E853E3E55FDD24418095430BF2F7364198703D0A78DD2441605452670EF936416891ED7CB2DD2441EBF21F720DF93641F82A87D643DD2441020000000200000000021500000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(814596 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (815253, N'{C4B60E90-B236-4819-B40D-E3C466E00419}', N'010498541', 3, N'NO_PLAN', 7756011, N'10498541', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'E2', N'34', N'82,18', N'PARCEL A (115889M) OF THE FRACTIONAL EAST 1/2 OF SECTION 34 TOWNSHIP 82 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT', N'0142', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:29:35.000' AS DateTime), 69786, 1176, 0xBD0B00000104520000003B80B7E0644034418816D90E581A3341CB10C71A0640344174567DAE971A33412497FF100340344138333393EA1A3341A8C64BD7FE3F3441C8B0508B5B1B3341822F4C860340344190E4F21F591B3341C976BE3F0840344100CCEEC9561B3341CCEEC9030D403441CC5D4B88541B33412897FFD0114034410088F45B521B3341B39465A816403441A00A4645501B33411EB9FC871B403441E0AE25444E1B33414C696F70204034418CB437584C1B3341F8EDEB6025403441F0D24D824A1B3341267E8C592A403441D412F2C1481B33412A75025A2F403441E8FDD418471B33413C80B76034403441BCDCB584451B334131C4B16E3940344160545207441B33417FAEB6823E403441C064AAA0421B3341C0E3149D43403441D856EC4F411B33411A4850BC484034416C469416401B3341514013E14D40344158BC74F33E1B33411083C00A53403441D878E9E63D1B33413290A03858403441CC293AF23C1B3341C230996A5D4034412C3333133C1B3341FFFFFF9F62403441B815FB4B3B1B3341EDFDD4D867403441E4B5849C3A1B3341EE8E53146D403441F892A9023A1B3341AA57CA527240344170006F81391B3341A66054927740344120EBE216391B3341105839D47C403441008195C3381B334136B4C816824034419CE61D87381B334144355E5A87403441005C8F62381B33410C1B9E9E8C4034416C58A855381B33419A6E12E391403441549B555F381B3341D88173269740344180128380381B334171F085699C40344180E2C7B8381B3341BB270FABA1403441B48BDB08391B334130431CEBA6403441703BDF6F391B33418EB96B29AC403441200456EE391B3341A613D064B1403441749318843A1B3341F15A429EB6403441503255303B1B33418A855AD3BB403441085839F43B1B334150A60A06C140344150840DCF3C1B33418A7CD033C64034415409F9C03D1B33412AED0D5ECB403441FC94D4C93E1B33412B530583D04034413C6744E93F1B3341E6C039A3D540344190ED7C1F411B3341A311A5BDDA4034413CF1636C421B33411B7C61D2DF403441D456ECCF431B3341C364AAE0E44034414427A049451B334196D409E8E940344150355EDA461B3341D25D4BE8EE40344118B7D180481B334163EE5AE2F3403441A0A3703D4A1B33416AC5FED2F8403441E48D06104C1B3341AE2C43BCFD403441E4C6BAF84D1B33419E23B99C02413441744694F64F1B3341A0F831E603413441D46F5F87501B3341E8B7AFA31F413441D831E62EDD1933410078FB9B1A413441F0DC770EE1193341CADEE184154134419C2DB7D9E4193341D103B55E1041344138F46690E8193341D0F1C7290B413441D84C4B32EC19334164A16EE605413441C0A229BFEF193341B8F3FD940041344134B4C836F3193341B1BCBAD2F3403441C46E3A7AFB19334126621F20E7403441C0B5A6D5031A334192F4587DDA4034414CE0EF480C1A33412E4C94EACD403441FCF0F7D3141A33417308FE67C1403441DC95A0761D1A3341618FC2F5B44034416829CB30261A33410C7A364BB0403441E03B4ED12A1A3341CB1CE6F9AC403441C06C0D0C2D1A33415A9005A0A94034412867D8392F1A33411668C73DA640344114498E5A311A33418CB55ED3A240344130F50E6E331A3341A405FF609F403441F0153B74351A3341635DDCE69B403441141FF46C371A334139727EA492403441442BA6B63C1A3341F4F30F6B89403441B03ADF0F421A334166ECAA3A804034415C349078471A3341E84B69137740344194D3A9F04C1A334105E964F56D4034414CA81C78521A33413B80B7E0644034418816D90E581A334101000000020000000001000000FFFFFFFF0000000003, CAST(815253 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (815286, N'{57F5D99E-D772-4C5C-94B5-6AF05CE3CC04}', N'010874372', 3, N'NO_PLAN', 90054799, N'10874372', NULL, N'760-008676.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'NW4', N'14', N'84,18', N'PARCEL C (98052M) OF THE NORTH WEST 1/4 OF SECTION 14 TOWNSHIP 84 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:30:08.000' AS DateTime), 451916, 3543, 0xBD0B00000104670000008AC95421C73734413CEF3805735333412CB29DEFD437344194CE88D278533341A413D084C237344144BE30F9A4533341479E8EDDD1373441586BCF1FA2533341D4BE63FAE037344160B13A389E533341FA27C0C8EF37344180253E479953334150EB7436FE3734412C4EEB529353334108CEC9310C383441F82F92628C533341E20B93A919383441EC51B87E845333412FC4B1AE6A3834416CB5159B4753334112E9B72F493834418838D605455333413D1AC0BB203834410C5EBAE941533341DA34EF182A373441A01804F62E5333416E1283202737344138234ABB2E533341BA4E9557253734410C58B68B3353334137DA49B4233734414C0B71693853334159B4033722373441701D54533D53334166E21CE020373441F88F3648425333414C5AE6AF1F37344118CCEC4647533341A3EFA7A61E373441ACE8484E4C53334193D6D3D31C37344150A5038E5653334175D1CE3E1B3734412C36FED7605333417A2FD2E71937344150E7C32A6B533341B9780ECF1837344190C6DE84755333418267ABF41737344140D8D7E47F53334182E2C75817373441C84B37498A533341A211A53D48373441AC13D0E496533341EB2631C856373441042FDDA49A533341F01648D0693734418C976E52A0533341ED69A98F75373441884C6800A353334197B8626F81373441C421CA0CA553334174DFC6668D3734411CEC1476A6533341D66F176D993734416CAC403BA75333415F138B79A5373441B84FBD5BA7533341CDF75383B1373441001973D7A65333418AC95421C73734413CEF3805735333411BB7D16047373441FCF67540CA5333418CF4DBD738373441ECE46181C6533341DA56ECAF14373441ACE8482EBD533341519C936E14373441C4801B07C153334156D28F2614373441280577DFC453334162D1E1D713373441F8E64FB7C8533341ED858A821337344190989A8ECC5333417FF08A2613373441788E4B65D0533341B325E4C312373441A03E573BD45333411E9E261111373441A861927EE153334108E31D340F37344114801EBCEE53334173EFDC2C0D37344178BC74F3FB5333418C6C78FB0A373441E8770E2409543341A9B006A0083734411458654D1654334178BE9F1A06373441684DF36E235433418205896E03373441802AD33431543341235841E000373441F82E5A003F54334123AAD46FFE363441D4D747D14C543341B2634E1DFC363441B8875BA75A5433412D61B9E8F9363441008A548268543341E7F21FD2F7363441FC12F261765433418DA98211F7363441F8A067537C543341854117F8F636344184B9ABA77D54334146FEF0E4F636344188E158FC7E543341738911D8F636344158855151805433411B017AD1F6363441680B78A681543341C6F72AD1F6363441A0D5AEFB825433414F7424D7F6363441D444D85084543341A1FFE5F0F63634415C7CBA548654334198215B13F73634412CA31A58885433411757813EF73634415C27D35A8A543341EA7A5572F7363441E082BE5C8C543341CEC5D3AEF7363441DC3EB75D8E543341D8CEF7F3F736344124F6975D9054334167226CF805373441E0E76A8BEB543341B751ED500C373441287F2ECC135533413739881B13373441E0434FFA3B553341A12E06581A37344120CB891464553341E4F22C0622373441644A9B198C55334121B4BE252A37344180A14108B4553341920F7AB63237344150643BDFDB553341433EE8394F373441889ECD0A5D56334118FBCBCE4F373441A0DFBE0E6256334158D3BC23513734418C14AE276256334174B5157B8837344174A52C436656334172CE8832913734410CE78CE866563341F1C9C3C29B37344100CE19B16756334147B6F3DD42393441982A181587563341157C61B2753934418C5F070EA6533341AA13D0C47A393441C85B20815C5333411C04564E10393441588EE452545333412FA2B497D338344190C2F5A84F5333419253740490383441D85F766F7A5333417A2497DF7C38344184B96BC98053334135DF4F2D3B38344114363C7DAA5333419BFF90DE33383441DC240621AF533341941C708320383441F482563ABA533341275D98520C383441F8F244B9C3533341BC7BF46DF737344184EDDD8DCB533341B4399DF8E13734418815FAAAD1533341A56A9E16CC37344160505406D65333415467BAECB537344170069B98D8533341E74D2CA09F373441BC6E7C5DD95333417A7769568937344198CFAD53D85333418C8BE234733734417CABED7CD5533341AC9BC4605D373441A4D100DED05333411BB7D16047373441FCF67540CA533341020000000200000000022400000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(815286 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (816286, N'{14F2833F-DA0F-4C7F-BF02-3CF6C799D365}', N'007722460', 246698, N'PRP1076', 35722131, N'7722460', NULL, N'03513.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 44', N'Block 2', N'', N'LOT 44 BLOCK 2 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 290, 92, 0xBD0B0000010405000000764DF34E462D2C41D8D7811354A1304133BB278F832D2C41B80E9CD36AA13041774DF38E8C2D2C4130211FB464A130412ABB274F4F2D2C41C00E9CF34DA13041764DF34E462D2C41D8D7811354A1304101000000020000000001000000FFFFFFFF0000000003, CAST(816286 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (816293, N'{4C39B31B-1C4E-4136-985F-23512B320804}', N'015838269', 3, N'NO_PLAN', NULL, N'15838269', NULL, N'03563.005', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'SW4', N'11', N'1A,5', N'LOT A OF THE FRACTIONAL SOUTHWEST 1/4 OF SECTION 11 TOWNSHIP 1A RANGE 5 COAST DISTRICT ON PLAN 1530', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:53.000' AS DateTime), 12003, 447, 0xBD0B0000010405000000D219519A9A272C410C3D9B3540A5304175E7FB699C272C414CAF9405A5A53041075D6DC564282C4140F8C224A4A530414382E24762282C41DC22DB5919A53041D219519A9A272C410C3D9B3540A5304101000000020000000001000000FFFFFFFF0000000003, CAST(816293 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (816583, N'{7195D982-8FDE-44C1-A6AE-9E70A011F830}', N'008451010', 656230, N'VIP810', NULL, N'8451010', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 20', N'Block 27', N'', N'LOT 20, BLOCK 27, SECTION 30, TOWNSHIP 6, RUPERT DISTRICT, PLAN 810', N'0107', N'0020', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-22T18:13:51.000' AS DateTime), 508, 97, 0xBD0B00000104050000009E4C150CEB522B41D002094AC95223417E9ECDAACC522B41D05B2081CA52234181E2C718CF522B4130BB274F0D532341F7EBC079ED522B41C0BB96100C5323419E4C150CEB522B41D002094AC952234101000000020000000001000000FFFFFFFF0000000003, CAST(816583 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (816888, N'{2B30D5C4-9D1D-461F-A144-9699BE2564E7}', N'000017566', 645957, N'VIP1279', NULL, N'17566', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 15', N'Block 3', N'', N'LOT 15, BLOCK 3, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:55.000' AS DateTime), 383, 96, 0xBD0B000001040D000000945374E4869D3041E0C3B1AE8DBA1C4199559FEB869D3041907BF2B08DBA1C41E81DA768879D3041F0353CBD8DBA1C4138D6C5AD879D304120295C8F65BA1C41F2164830859D304160CC5D4B65BA1C41DF141D29859D3041C0141D4965BA1C41EC482EBF789D3041304547F263BA1C4111D044B8789D3041C08D06F063BA1C417D04C58F619D3041601F636E61BA1C419F67B34A619D3041A0E3149D89BA1C41BE0E9C737A9D3041A0CFD5568CBA1C41C910C77A7A9D304190F4DB578CBA1C41945374E4869D3041E0C3B1AE8DBA1C4101000000020000000001000000FFFFFFFF0000000003, CAST(816888 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (816909, N'{3A771531-A277-43F0-B4D0-01A6C276AA01}', N'000017370', 645953, N'VIP883A', NULL, N'17370', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'Block 1', N'', N'LOT 2, BLOCK 1, DISTRICT LOT 132, ALBERNI DISTRICT, PLAN 883-A', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:43.000' AS DateTime), 651, 150, 0xBD0B0000010405000000C239232A0E9D304110FB3A7061AC1C41A1CDAA6FCD9C3041F00FE9B76DAC1C41186A4DD3CC9C3041006822EC95AC1C41B79690EF0D9D304170E3A59B89AC1C41C239232A0E9D304110FB3A7061AC1C4101000000020000000001000000FFFFFFFF0000000003, CAST(816909 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (817891, N'{2E9E1F17-A174-40B7-B9E1-6FDD14C8FBE4}', N'016449355', 3, N'NO_PLAN', NULL, N'16449355', NULL, N'7099461000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 8868', N'', N'', N'DISTRICT LOT 8868 KOOTENAY DISTRICT, EXCEPT (1) PART RED ON REFERENCE PLAN 68158I AND (2) PART INCLUDED IN PLANS 6944 AND 7768', N'0163', N'0004', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:20:53.000' AS DateTime), 197681, 2063, 0xBD0B000001041C0000005EB1BF4C4E7D384160D32B6518981F416FA3017CBA7D384100D1915C169A1F41EA482EFF027E3841A0C42030369A1F41BA1E850B5B7E3841A0A0F831E68E1F41F831E62E5B7E3841F0088A9FE18E1F41DC8AFD85007D384150AD69DE388E1F41825149BDFE7C3841E0C8E5BF558E1F4187F4DB37F97C3841307AA5ACAF8E1F41EAA7C66BD77C3841E0EB5138668F1F4198A1EABFD47C3841E0D8F0F9868F1F41E64C84A4D27C384170557C62A88F1F415ABD151CD17C384180D52F4ACA8F1F41DD147228D07C3841D06FAF88EC8F1F41AE57BBCACF7C384160EB37F50E901F4142136103D07C38411042CF6631901F41FDE23DF7CF7C384120AABE8F4A901F4156855A57CF7C3841C073089963901F415A901025CE7C3841806E8F4C7C901F413209F662CC7C3841E0C6EF7494901F413ACDD714CA7C3841006EF2DDAB901F415C5BB13FC77C384170F3FD54C2901F41714694B6357D3841D0A679C78A911F41BEEC9EFC407D3841304182E2AA921F414850FC78257D38410073D7925F931F413ECF66D5107D3841E08D06F072951F4105819583117D384170E5D0A250961F414C05A3522A7D384170984C153F971F415EB1BF4C4E7D384160D32B6518981F4101000000020000000001000000FFFFFFFF0000000003, CAST(817891 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (818663, N'{58024AE4-13B5-405B-A8F3-B9C5C2C04A20}', N'012909611', 296598, N'PRP1251', 1050161, N'12909611', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 40', N'Block 6', N'', N'LOT 40 BLOCK 6 DISTRICT LOT 4044 CASSIAR DISTRICT PLAN 1251', N'0137', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', N'367.6', CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:19:14.000' AS DateTime), 367, 93, 0xBD0B000001040A0000004C9FAB2DE4E02641183A924B569E32412FBB270FCBE0264110E6AEE55E9E32415AD3BC23BEE0264108B37B52639E324111AC1C9AB2E02641D48AFD45679E324130F8C2E4A7E02641D444D8F06A9E3241DF61A1D6B3E02641A089B021739E3241D0E53FA4BDE02641B437F8C26F9E32414AFC18B3C6E02641606FF0A56C9E32411E386784EFE026410C5B429E5E9E32414C9FAB2DE4E02641183A924B569E324101000000020000000001000000FFFFFFFF0000000003, CAST(818663 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (818713, N'{B2BED5EB-75BF-4942-9C29-4CC296A81AF1}', N'012072877', 298493, N'PRP3418', 889181, N'12072877', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 41 CASSIAR DISTRICT PLAN 3418', N'0163', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:32.000' AS DateTime), 663, 133, 0xBD0B0000010405000000913A010DC8622B41642BF6170E6C31416B931844C7622B41848CB98BF36B31414A5BB13F64622B41781F63CE0E6C3141B5B662FFC7622B41586210180E6C3141913A010DC8622B41642BF6170E6C314101000000020000000001000000FFFFFFFF0000000003, CAST(818713 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (820659, N'{B25855D0-7615-48CD-84AE-5BE42C6BF287}', N'008926042', 1168170, N'NWP27770', 31243481, N'8926042', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'Parcel C', N'', N'', N'PARCEL C FRACTIONAL NORTH WEST QUARTER SECTION 33 TOWNSHIP 8 NEW WESTMINSTER DISTRICT PLAN 27770', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T09:48:02.000' AS DateTime), 562, 134, 0xBD0B0000010405000000B2946528A5EC3241305EBA4962891C41B359F579DCEC3241407C613216891C41238E7511B8EC3241E03B4ED111891C419DF83126A6EC3241F0C342AD0F891C41B2946528A5EC3241305EBA4962891C4101000000020000000001000000FFFFFFFF0000000003, CAST(820659 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (820837, N'{9BD8465B-9E06-4430-A304-D49E7CA9FE7D}', N'008981353', 1172022, N'NWP28296', 7472101, N'8981353', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2003-02-13T00:00:00.000' AS DateTime), N'Parcel A', N'', N'', N'PARCEL A DISTRICT LOT 99 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 28296', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T09:46:33.000' AS DateTime), 10026, 534, 0xBD0B000001040D0000001061C3B327EB324120C9E5BFE68A1C4132A2B4D710EB32418075719BE28A1C419DCDAA4F12EB324120EA04B45C8A1C41B425E4C329EB3241E04C840D2A8A1C411848509C2DEB3241106C78FACA881C41623255B0F3EA3241E0C2D32BC2881C41F96C569DEBEA324160651962A28B1C41ACFA5CEDEAEA324190F4DBD7E28B1C416A2BF63716EB3241400E2DB2A68B1C4196B20CF11CEB3241B0E848AE9B8B1C411D4A7BE325EB324130B7D1008D8B1C41A9ADD85F26EB32410066F764608B1C411061C3B327EB324120C9E5BFE68A1C4101000000020000000001000000FFFFFFFF0000000003, CAST(820837 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (825083, N'{BEC3E912-2551-4566-9C39-DA25EAEDEC24}', N'013676687', 1092653, N'NWP594', 20622141, N'13676687', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 8', N'Block 57', NULL, N'LOT 8 BLOCK 57 DISTRICT LOT 411 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 594 EXCEPT PART ON SRW PLAN 43417', N'0081', N'0009', N'NO', N'ICIS CADASTRE', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-02-15T14:57:20.000' AS DateTime), 69, 46, 0xBD0B00000104040000003880B7A0626133415096218EC3541C412597FF30756133411022FD76DF541C4166006FE1676133416027A089AD541C413880B7A0626133415096218EC3541C4101000000020000000001000000FFFFFFFF0000000003, CAST(825083 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (826396, N'{F2AB6B14-3B11-437E-9E24-EDC35114F5BD}', N'001566024', 117903, N'VIP877', NULL, N'1566024', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'Block 11', NULL, N'THAT PART OF LOT 4, BLOCK 11, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:16:11.000' AS DateTime), CAST(N'2020-09-22T09:16:54.000' AS DateTime), 306, 71, 0xBD0B00000104050000004F4013217837324170423EE8228E1741F0FDD4B886373241D0E46121118E174142E8D9CC803732417086C954C48D1741B3EA733572373241709CA223D68D17414F4013217837324170423EE8228E174101000000020000000001000000FFFFFFFF0000000003, CAST(826396 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (826829, N'{8E60D8B7-5690-4FF1-A3C1-69566516F352}', N'002966808', 650535, N'VIP24041', NULL, N'2966808', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot A', N'', N'', N'LOT A, DISTRICT LOT 66, SAYWARD DISTRICT, PLAN 24041, EXCEPT PART IN PLAN VIP66541', N'0013', N'0027', N'NO', N'ICIS CADASTRE', 12, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2019-09-07T21:04:17.000' AS DateTime), 2636, 206, 0xBD0B000001040500000096081B7EAD0D304188EB51B8CF05214152401301A40D3041B08785DA6A052141178C4ACA6F0D3041D80968A288052141302AA953780D304188E7FB69E305214196081B7EAD0D304188EB51B8CF05214101000000020000000001000000FFFFFFFF0000000003, CAST(826829 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (829234, N'{442AF803-696F-41A9-8121-71DE4463007A}', N'003617696', 13751, N'VIP19726', 90075733, N'3617696', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot A', NULL, NULL, N'LOT A, SECTION 7, RANGE 9, SHAWNIGAN DISTRICT, PLAN 19726', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T20:42:31.000' AS DateTime), CAST(N'2021-03-24T13:41:59.000' AS DateTime), 52714, 964, 0xBD0B000001041000000064F7E401CF033241501B0D60CDF81841A99BC480CE033241B0EFA7C6DEF818416B006FE1C703324100462575C4F918414FAF9445BF03324130AD69DEEFFA1841D466D5A7B7033241A0A0F8B1F8FB1841A8ADD8DFD3033241E098BB1603FC1841B4506B3AF2043241B0DCB5042EFC1841C242AD49F6043241602D211F3DFB18411CAE4761FA043241D06588634AFA18412AF6973DFB043241B058A83517FA1841CFD5566CD1043241E0AF7268E7F918417C2D21DF9604324170E09C11A8F9184178C7299A5A043241006744E966F91841AB9BC4601E043241E0AACFD525F918419DEFA746DA033241B0B662FFDBF8184164F7E401CF033241501B0D60CDF8184101000000020000000001000000FFFFFFFF0000000003, CAST(829234 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (829588, N'{394A4867-4110-4CBD-8059-74B0066D27B5}', N'006440487', 140382, N'VIP2214', NULL, N'6440487', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, NULL, NULL, NULL, N'PART OF LOT 2, SECTION 4, VICTORIA DISTRICT, PLAN 111, MORE PARTICULARLY DESCRIBED AS FOLLOWS: COMMENCING AT A POINT ON THE NORTH LINE OF SAID LOT 2, A DISTANCE OF 44 FEET MEASURED EASTERLY FROM THE NORTHWEST CORNER THEREOF; THENCE IN A SOUTHERLY DIRECTION AND PARALLEL TO THE WESTERN BOUNDARY OF SAID LOT 2 A DISTANCE OF 150 FEET; THENCE IN AN EASTERLY DIRECTION AND PARALLEL WITH THE NORTHERLY BOUNDARY OF SAID LOT 2 A DISTANCE OF 44 FEET; THENCE IN A STRAIGHT LINE IN A NORTHERLY DIRECTION TO A POINT IN THE NORTHERN BOUNDARY OF SAID LOT 2 FOR 89 FEET DISTANT MEASURED EASTERLY FROM THE NORTHWEST CORNER THEREOF; THENCE IN A WESTERLY DIRECTION ALONG THE NORTHERN BOUNDARY OF SAID LOT 2 A DISTANCE OF 45 FEET MORE OR LESS TO THE POINT OF COMMENCEMENT, NOW KNOWN AS: THAT PART OF LOT 31, SECTION 4, VICTORIA DISTRICT, PLAN 2214 AS SHOWN ON PLAN 1209 OS', N'0153', N'0005', N'NO', N'ICIS CADASTRE', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:30:33.000' AS DateTime), CAST(N'2021-05-11T11:23:16.000' AS DateTime), 548, 118, 0xBD0B000001040A0000000ACE195121393241601FF4EC527B1741403EE83921393241E09ECD2A537B1741E98C282D26393241609A771C757B1741B20C718C2B39324100948705967B174112583954313932412060E5D0B57B174120166A6D2F39324110B150EBBB7B1741746891ED37393241E04C840DF27B174180B7408243393241406A4D73D37B17418616D90E2A393241A00C71AC3B7B17410ACE195121393241601FF4EC527B174101000000020000000001000000FFFFFFFF0000000003, CAST(829588 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (829761, N'{57A39EC3-6B5F-4DCC-996B-FAC0698F6721}', N'001604775', 3, N'NO_PLAN', NULL, N'1604775', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 71', N'', N'', N'THAT PART OF SECTION 71, ESQUIMALT DISTRICT, SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 53991I AND CONTAINING 4.82 ACRES MORE OR LESS', N'0023', N'0005', N'NO', N'MODIFIED-ICIS', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:31:54.000' AS DateTime), CAST(N'2021-05-30T19:21:20.000' AS DateTime), 19075, 1519, 0xBD0B00000104330000006A2BF6D786183241A079C7A9CC6C174111022BC79C183241007B832FE96C1741C2749378B2183241C0D32B65056D1741F76C569DD11832411023DB792E6D17410E363C1DEF18324190E5D0A2556D174109F9A0A71219324110061214846D1741AE47E1DA2F193241D0EC9E3CAA6D1741C520B07246193241E0C9C3C2C76D1741847346F44619324130FAED6BC86D1741925374245D193241A067B36AE56D17414DAF94A571193241E0331136006E17410C58391488193241804B59861D6E1741B9D1005E9D19324140D04458396E1741094625B5D4193241702CD41A836E1741BD0E9CF3131A3241709BC420CF6E1741A0D6340F281A324160764F1EE96E1741F10DBEF0331A324100068115F76E1741393CBD323F1A324180EE5AC2FE6E174104098A1F861A3241D0376744966E17417E7346547C1A3241D0C7983B9D6E1741EE41CF46761A3241305986389D6E17414A477239701A324120CCEEC99C6E174142E8D92C6A1A324130D734EF9B6E1741DB1B7C21641A3241009E5EA99A6E1741AABDC1175E1A324100D9CEF7986E174195C42010581A324160F5B9DA966E174130431C0B521A324170CE8852946E1741C74B37094C1A324140D26F5F916E17411383C00A461A3241B0923A018E6E17415C325510401A3241F0C6BA388A6E17413F355E1A3A1A3241806FF005866E1741189E5E29341A324130674469816E1741EC63CC3D2E1A3241901CEB627C6E174152621058281A32419045B6F3766E17413E575B71211A32411003090A706E1741C97F489F86193241A067B3EAA96D1741B6FC87D4B7183241B0287E0C986C17411C8E75B133183241B059F5B9ED6B174198438B4C31183241302EFFA1EA6B1741245C8F42DA173241D098BB167B6B1741DF7A14CED81732416039B4C8836B1741B9FC8774B2173241B0B20C71B86B174142355EBAB2173241B015FBCBB86B174131BB276FC8173241A001BC05D56B1741DE9387A5DE17324160423EE8F16B1741AD8BDB28F4173241001C7CE10D6C17414CF38E531D18324110D57869436C1741D188D21E30183241E0AE25E45B6C174112363C9D5B183241808EE472946C1741C96D34807118324190F90FE9B06C17416A2BF6D786183241A079C7A9CC6C174101000000020000000001000000FFFFFFFF0000000003, CAST(829761 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (829766, N'{7F07A1B7-62BD-4064-AA45-3736EEB70423}', N'002698323', 8508, N'VIP8193', NULL, N'2698323', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'', N'', N'LOT 2, DISTRICT LOT 44, WELLINGTON DISTRICT, (SITUATED IN NANOOSE, DISTRICT), PLAN 8193, EXCEPT PART IN PLAN VIP64494', N'0068', N'0021', NULL, N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2021-05-30T19:22:39.000' AS DateTime), 3548, 262, 0xBD0B0000010405000000E78C288D86623141A05AD33CF8CE1C41B81E85AB9062314130EEEB404ACF1C41813F35DEED62314100363C3D39CF1C419A081B3ED3623141901F636E61CE1C41E78C288D86623141A05AD33CF8CE1C4101000000020000000001000000FFFFFFFF0000000003, CAST(829766 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (829819, N'{114B529C-6CBF-4A09-9BAB-0688C4AF3524}', N'010496653', 629101, N'PGP12244', 36339931, N'10496653', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'Block 2', N'', N'LOT 6 BLOCK 2 SECTION 5 TOWNSHIP 84 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT PLAN 12244', N'0038', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2021-05-30T19:46:20.000' AS DateTime), 850, 129, 0xBD0B00000104060000001AC05BA09327344170416045A84233414AEA04F49627344170C5FE927A423341723D0AB78427344100D5788979423341C130996A84273441A025E48379423341CE88D21E812734413CAD693EA74233411AC05BA09327344170416045A842334101000000020000000001000000FFFFFFFF0000000003, CAST(829819 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (829841, N'{9CBBBBE0-D811-41B2-9A0A-0E698649480C}', N'013163230', 3, N'NO_PLAN', 3922320, N'13163230', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'1675', N'', N'', N'DISTRICT LOT 1675 KAMLOOPS DIVISION YALE DISTRICT', N'0055', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-05-30T19:57:55.000' AS DateTime), 7130, 530, 0xBD0B0000010406000000492575A281A7354158DE71CA9CAA234143FAEDEB63A735412827A08988AA2341669A77FC50A735415058A8F55AAC2341CC6D34C06EA7354188E8482E6EAC234191B96B0977A7354180F08549A5AB2341492575A281A7354158DE71CA9CAA234101000000020000000001000000FFFFFFFF0000000003, CAST(829841 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (830519, N'{C2E9728B-FAFF-48C1-8B67-7C5948AF2638}', N'013977563', 295389, N'PRP968', 29838341, N'13977563', NULL, N'01251.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 12', N'Block 106', N'Section 2', N'LOT 12 BLOCK 106 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-06-10T13:40:11.000' AS DateTime), 260, 72, 0xBD0B00000104050000003B0378CBC27A2B41B8AF0307BC6431419F01BCC5AE7A2B41C0847C30BC643141849ECDAAAF7A2B41D012F221D6643141753480B7C37A2B41F4065FF8D56431413B0378CBC27A2B41B8AF0307BC64314101000000020000000001000000FFFFFFFF0000000003, CAST(830519 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (833121, N'{4BE2CEF6-25D8-4349-8642-70483E969048}', N'001624300', 3, N'NO_PLAN', NULL, N'1624300', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'', N'', N'', N'THOSE PARTS OF SECTIONS 12 AND 12A, METCHOSIN DISTRICT SHOWN OUTLINED IN RED ON PLAN DEPOSITED UNDER DD 25359 AND CONTAINING 3.73 ACRES MORE OR LESS', N'0079', N'0005', N'NO', N'PMBC-COMPILATION', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:20:34.000' AS DateTime), CAST(N'2021-12-07T09:07:04.000' AS DateTime), 18857, 1427, 0xBD0B0000010419000000BED32BC5CC073241A0900F7AB41F174157D3BC43E507324190AACFD5DB201741747AA52C10083241C0ED7C3FE1221741C9EEC9E32908324150F38E5317241741DC3D79F85B08324110A3923A7226174196D4092878083241A00B24A8C4271741D9F0F4AA90083241D0C9C3428F27174157C1A8447A08324120BD5216812617411595D4E96C08324110F2414FE025174109CE199163083241F0D9AC7A6F2517419ECDAAAF5F0832411088F4DB40251741ECC9C3625D083241009CC4202525174133DD24C652083241E0EDEB40A52417413C11369C4C083241C0900FFA5A2417410DC7BAB83F08324100250681C1231741361AC05B23083241C0DAF97E6B221741206C785A21083241C0A98251532217414D27A069FF073241F0718A0EBA2017419CE61DE7F30732418013D0442F201741E7AE2564D607324170D5E76ACB1E1741518D970EC2073241A0C7293AD61D17414A696F70B907324170ED0DBE641D17413E7958A8A00732411026E4039A1D174148EA04F4A70732416095D489F81D1741BED32BC5CC073241A0900F7AB41F174101000000020000000001000000FFFFFFFF0000000003, CAST(833121 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (833551, N'{F3EA0704-47FC-4592-8155-79F1A6AEBDC6}', N'008908559', 873366, N'KAP15053', NULL, N'8908559', NULL, N'P21406', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 16', NULL, NULL, N'LOT 16 DISTRICT LOT 257 KAMLOOPS DIVISION YALE DISTRICT PLAN 15053 EXCEPT PART IN PLAN 35668', N'0055', N'0028', N'NO', N'ICF', 0, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2022-01-07T13:09:55.000' AS DateTime), 276, 68, 0xBD0B00000104050000005CB1BF8C2C543541E83FA45F9FCC2341243A926B3E543541903A010DAFCC2341B6AF036743543541A01F636E8DCC23417C9ECDAA2F54354110D044588ACC23415CB1BF8C2C543541E83FA45F9FCC234101000000020000000001000000FFFFFFFF0000000003, CAST(833551 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (833791, N'{33EDD090-3DC1-46D8-B598-FC172622F036}', N'006696881', 3, N'NO_PLAN', NULL, N'6696881', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', CAST(N'1899-12-30T00:00:00.000' AS DateTime), N'SE4', N'17', NULL, N'THE SOUTH EAST 1/4 OF SECTION 17 TOWNSHIP 27 OSOYOOS DIVISION YALE DISTRICT EXCEPT PLANS A237, A1441, H8433, KAP64876 AND KAP85209', N'0163', N'0016', N'NO', N'MODIFIED-ICIS', 1, N'DATACOMPILATION', N'UNKNOWN', N'0', N'629419', CAST(N'2019-01-21T11:32:54.000' AS DateTime), CAST(N'2022-01-19T10:42:41.000' AS DateTime), 601941, 4918, 0xBD0B000001046B0000004ED191BC28943641A0408222A21D2141B22E6E0327943641E0817306D01D21418048BF9D56943641F8C48FB1A91D21414ED191BC28943641A0408222A21D2141F1B0506B4E943641900A46A5431F2141E29C118555943641A80E9CF33A1F21416CD712B25C943641D8240681321F21417DE09CF163943641B096904F2A1F21413B1361436B94364190AD695E221F21416A6666A67294364100E9B7AF1A1F214140355E1A7A943641806E1243131F2141626DC59E81943641408716190C1F21416ECE883289943641A08EE432051F2141E973B5D59094364130A91390FE1E214196DD93879894364100B37B32F81E21414894F646A0943641B82B6519F21E21414BEA0414A8943641B8CAA145EC1E2141599FABEDAF94364148EB51B8E61E2141A94E40D3B7943641C87BF270E11E2141FE6E81C4BF943641B8C42070DC1E2141DC2D90C0C794364148B4C8B6D71E214194E61DC7CF94364170810445D31E21416C3D0AD7D79436413063EE1ACF1E2141643BDFEFDF943641A0A22339CB1E214156204111E8943641D076BE9FC71E214176C7293AF0943641D85F764FC41E2141FAC2646AF89436414814AE47C11E2141C35B20A100953641B8825189BE1E2141A0EFA7660C953641D09AE61DBB1E21416107CEF91E953641B8EBC0B9B91E21412CB29D8F3195364180A301FCB81E2141C0C117264495364108780BE4B81E21414DDA1BBC56953641D0E99572B91E214180FB3A5069953641F041CFA6BA1E2141BD5B20E17B95364110EEEB80BC1E21418F3A016D8E953641E0EDEB00BF1E2141E4E995F2A0953641509D8026C21E21415F325570B395364128575BF1C51E21410066F7E4C59536417009F960CA1E21416C4DF34ED8953641608FC275CF1E214105560EADEA95364130C4B12ED51E2141D5A370FDFC95364168CC5D8BDB1E2141ADBFEC3E0F96364168CC5D8BE21E2141D656EC6F2196364160567D2EEA1E2141860D4F8F33963641186A4D73F21E214150E3A59B459636413075025AFB1E214187855A93579636418089B0E1041F2141F085C97469963641B08251090F1F214198F6063F7B963641E81648D0191F214106F775608F96364110984CD5261F21413C674429A2963641082CD49A311F2141A1A223D9B4963641B0A679073D1F214136C4B16EC796364170506B1A491F2141B08BDBE8D9963641B84E40D3551F2141DE938745EC96364138696F30631F2141E6B7AF83FE96364160575B31711F2141B6490CA21097364148E17AD47F1F21411FDBF99E229736416819E2188F1F21414472F9AF34973641C8BAB88D8C1F214194C2F58845973641A06054120F1E2141F6C2642A64943641101FF4ECAB1D21416F8104E558943641B0A44E00B51D214161FE433A29943641B0408262DB1D2141BE5B2081269436412898DD93DD1D2141692BF6F71894364140F1630C461F21417D6ABC541794364180F08589611F2141A5E848CE32943641885149DD681F2141774F1E9639943641888EE4325F1F2141C11726734094364158A60AC6551F2141E19C116547943641108638964C1F2141F1B0506B4E943641900A46A5431F214155B1BF0C8496364178AEB6A2551F214174E09CF126963641F81951DA3B1F214120B072080E963641A0CFD5161A1F2141D712F221DE953641605227203A1F2141F9A067F3A095364178105879F01E21411AB7D1A092953641D88E53B4201F21411504560E56953641D868006F151F2141B3B662DF11953641C820B0F2ED1E21411A73D79204953641580E2DF2F11E2141D59AE67DFA9436411066F764F51E2141E9043471F094364198D71232F91E214136DF4F6DE6943641103E7958FD1E2141E2E00B73DC943641606210D8011F2141AD2E6E83D294364180B20CB1061F2141626DC59EC8943641E80968E20B1F2141F74A59C6BE9436414031086C111F2141B2506BFAB4943641B003E74C171F2141F87E6A3CAB943641182653851D1F21415DBA498CA1943641C0BCE314241F21415ECC5DEB9794364130355EFA2A1F214179C7295A8E943641588FC235321F21419C9999D984943641F04A59C6391F2141F9C2646A7B943641D0E76AAB411F2141F2B0508B0A94364120FDF6F50D202141B67BF2D0D2933641D830086CA9232141234A7B23E4933641385C8F42AD232141E39387851096364110A5BD8128242141F28E53F492963641D078E9664524214161DC46C3B396364170FAEDAB4C242141FB31E60EFF963641D8088ADF232421412C3A92EB1F973641C0A8A44EE01F214155B1BF0C8496364178AEB6A2551F2141BDCAA1E5E5963641D86F5FC757242141D71B7C61FD96364190B515FB5C2421412241F1E3FD963641E0AF72A84A242141BDCAA1E5E5963641D86F5FC75724214104000000020000000002040000000247000000026700000005000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003000000000300000003, CAST(833791 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (833919, N'{5302C960-06BC-4C00-8C30-3AD447796FFE}', N'008226423', 117903, N'VIP877', NULL, N'8226423', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'Block 9', N'', N'LOT 1, BLOCK 9, SECTIONS 9 AND 24, VICTORIA DISTRICT, PLAN 877 EXCEPT PART IN PLAN 775 RW', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:39:57.000' AS DateTime), CAST(N'2022-01-26T10:50:27.000' AS DateTime), 206, 57, 0xBD0B0000010419000000EFFDD4B86E393241201895D4BE8B1741002266D06E393241207F0511BA8B17417EC051CC6E3932412079EE49B58B1741EB64A0AC6E393241B0D85189B08B17410F7194716E39324150DE23D9AB8B17410A92A91B6E393241705E3643A78B17412EBD93AB6D393241E03324D1A28B17411EB73D226D393241501C3D8C9E8B1741FB27C7806C393241003C727D9A8B1741104182C86B393241705E43AD968B17414DF8F0FA6A393241802EAD23938B1741D3DFC1196A393241607718E88F8B17415DA0CC2669393241F0A14A018D8B1741FA1C0E2468393241C08457758A8B17418A49A41367393241C0A99449888B174137BBC9F765393241C0228E82868B1741B1FDD0D264393241D002FD23858B17419AB51FA7633932412091BF30848B17416B9B297762393241F047D3AA838B174190586B4561393241D0A95093838B1741DB5165146039324110F468EA838B1741456A96E65E39324120BB65AF848B1741BAC876BE5D393241C064AAE0858B1741F90FE93763393241E0855AD3CC8B1741EFFDD4B86E393241201895D4BE8B174101000000020000000001000000FFFFFFFF0000000003, CAST(833919 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (834098, N'{6BDF1500-5B68-4238-8832-705D8118EC45}', N'014149940', 489369, N'NEP812', NULL, N'14149940', NULL, N'7101866900', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot C', N'', N'', N'LOT C DISTRICT LOT 864 KOOTENAY DISTRICT PLAN 812 EXCEPT PART INCLUDED IN SRW PLAN 7686', N'0163', N'0004', N'NO', N'ICF', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:23:59.000' AS DateTime), 6565, 356, 0xBD0B0000010406000000868EE4B2C8E8374110C58F31C3702141A2B43718A7E8374198ED7C7F6E70214166006F619AE83741806132D5537121415617B731E9E83741E8ADD85F657121415127A029F0E83741207C6132E6702141868EE4B2C8E8374110C58F31C370214101000000020000000001000000FFFFFFFF0000000003, CAST(834098 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (834115, N'{F8931F5C-5FC8-4782-952A-4C40DA6D9D21}', N'010418547', 252432, N'PGP721', 16707301, N'10418547', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', NULL, N'Lot 20', N'Block 12', N'', N'LOT 20 BLOCK 12 DISTRICT LOT 1426 CARIBOO DISTRICT PLAN 721', N'0112', N'0008', N'NO', N'MODIFIED-TANTALIS', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-07-26T16:27:00.000' AS DateTime), CAST(N'2020-04-23T14:39:50.000' AS DateTime), 584, 107, 0xBD0B0000010405000000E07A146E51823241F007ACDC6D4A2E41866CE7BB50823241100EBE708C4A2E412163EEDA76823241A8C64BB78F4A2E4109560E8D77823241D8F75323714A2E41E07A146E51823241F007ACDC6D4A2E4101000000020000000001000000FFFFFFFF0000000003, CAST(834115 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (834560, N'{98D7DE87-6F64-4AA0-A61C-40727B68624A}', N'006616526', 491710, N'NEP5601', 23065821, N'6616526', NULL, N'7863978010', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 896 KOOTENAY DISTRICT PLAN 5601', N'0163', N'0004', N'NO', N'ICF', 13, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:59.000' AS DateTime), 41533, 807, 0xBD0B000001040E000000E561A13629143941C8C2F52884D222414771E80F2E143941F8B881E257D22241815C35103114394108708FF52AD222417463443232143941B0D4EDB0FDD1224143B418743114394190A40564D0D122419EE7FFD62E143941F8214E5EA3D12241DAB78F5F2A143941A8ADC1EE76D12241D4F59D1524143941183B53634BD122415ACA32041C143941B094650821D122414ED1913C52133941900A4665EED0224108B5A6993B133941C0506B9A51D22241D419511A89133941881A2F9D65D222417C6132D5271439416024973F8ED22241E561A13629143941C8C2F52884D2224101000000020000000001000000FFFFFFFF0000000003, CAST(834560 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (834816, N'{C8BF7836-AEDA-446B-9889-E034F7E9B60E}', N'009126210', 128644, N'VIP335', NULL, N'9126210', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', N'', N'', N'LOT 3, SECTION 7, VICTORIA DISTRICT, PLAN 335 EXCEPT PART IN PLAN 775 RW', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:09:41.000' AS DateTime), CAST(N'2019-01-05T10:22:24.000' AS DateTime), 341, 77, 0xBD0B000001040A0000006E567DAEAD39324140EA9532858917416A9A770EAF39324180C38CDB7C8917418A8A8D69B0393241B00DBD77748917417EBBB7BFB139324130B354076C89174103DDEE10B339324170DE818A63891741E7B92B5DB4393241A00373015B8917411E3867A4B539324190D5566C528917416DE7FB099D393241808104453C8917412241F1639739324190E4F21F718917416E567DAEAD39324140EA95328589174101000000020000000001000000FFFFFFFF0000000003, CAST(834816 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (834941, N'{3C82B16C-509B-4F48-870B-DDB19133B3E1}', N'005361818', 135896, N'VIP9623', 173881, N'5361818', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot A', N'', N'', N'LOT A, SECTION 11, PENDER ISLAND, COWICHAN DISTRICT, PLAN 9623', N'0163', N'0005', N'NO', N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:27:17.000' AS DateTime), CAST(N'2019-01-05T10:23:01.000' AS DateTime), 3283, 246, 0xBD0B00000104060000005639B4286C55324170CEF7535CBD1941826132953F55324130E25897B3BD1941940F7AB61A55324120211FF457BE1941E6F21F7232553241D0915C7E96BE19412EBB276F6A553241D03C2CD425BE19415639B4286C55324170CEF7535CBD194101000000020000000001000000FFFFFFFF0000000003, CAST(834941 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (835153, N'{55A8A51F-D049-4DBF-ADD7-17D045213644}', N'001593536', 141191, N'VIP1291', NULL, N'1593536', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 10', N'Block 3', N'', N'THAT PART OF LOT 10, BLOCK 3, SECTION 9, ESQUIMALT DISTRICT, PLAN 1291 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0154', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:50:27.000' AS DateTime), CAST(N'2019-01-05T10:23:49.000' AS DateTime), 326, 75, 0xBD0B0000010410000000507424B71F2B32418027A089A19A1741D2DEE02B1D2B324120BE30999B9A1741FB2F72481B2B3241C0082C07979A174132B6F568192B3241E06A745B929A1741CC4C818D172B3241006640968D9A174118A02AB6152B324190A4C7B7889A17414C2C07E3132B324120F842C0839A1741A13C2C14122B3241D056ECAF7E9A1741B2D85F160D2B324170545227D39A1741C09AEB550F2B3241902EBFDED89A1741ED0EB19A112B3241309CC274DE9A17411F2D91E4132B3241D03310E9E39A174140A76C33162B3241E0595D3BE99A17413DEB2387182B32418044616BEE9A1741742497DF1A2B324110FED478F39A1741507424B71F2B32418027A089A19A174101000000020000000001000000FFFFFFFF0000000003, CAST(835153 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (835581, N'{DE6B9A0E-A388-49AC-97D8-E9DCA6403687}', N'013503235', 3, N'NO_PLAN', NULL, N'13503235', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'8455', N'', N'', N'BLOCK B OF DISTRICT LOT 8455 LILLOOET DISTRICT', N'0163', N'0002', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2019-01-11T18:30:14.000' AS DateTime), 57128, 1345, 0xBD0B00000104340000002B7E8CD943A9344180BDC197E6A927415E5A809240A93441B8DFB326DEA92741CE20164F3DA93441A8D006B0D5A927419A3A500F3AA93441E8D1C033CDA92741420E31D336A934415827E8B1C4A9274184FFBA9A33A934416019832ABCA92741696FF06530A9344138F6979DB3A9274194108CD42DA93441F06D178CACA9274128A090552BA93441F87A6660A5A92741B0DE40E928A93441A8E2441B9EA927417C99DD8F26A93441201175BD96A92741A1A3A54924A934411808BC478FA92741ABCFD51622A93441A047E1BA87A927415880A3C920A93441C06E3BF082A9274190E845B11FA93441E82BD3F17DA927418DE5BACF1EA93441705EBDC878A92741BEA19C261EA9344168825C7E73A92741BDAA1EB71DA9344128A04F1C6EA927410EC20B821DA93441A8CB60AC68A92741756CC4871DA934418058733863A9274158423EC81DA93441B0DE71CA5DA92741E818E7091EA93441003540BE59A927412552EF461EA934416806EDB055A9274147AF557F1EA93441087C8DA251A92741C50919B31EA9344178C436934DA92741585338E21EA934414013FE8249A92741E795B20C1FA93441A0A0F87145A92741FACA4C5A23A93441C810940247A92741FC3071A827A93441C0AE338D48A9274163B31DF72BA93441B0BBD6114AA927416C3D504630A93441F87B7C904BA9274115BA069634A93441983624094DA9274110143FE638A93441A835CD7B4EA92741B77247003DA9344148C4FBE84FA92741EA0CFC1741A934413031FD6F51A92741CD3D342D45A934415051C21053A927413479C73F49A9344168F93ACB54A92741204D8D4F4DA9344178FF559F56A9274189635D5C51A93441903A018D58A92741D22B659957A9344140D3BCA3ABA827410AA392DA5EA93441603D0A97E2A72741E451B8FE19A83441F06800AFB3A72741723D0AF720A8344150257542C5A72741A1F831C6F1A83441D0D32BE5CBA92741E5AE250441A93441D802098A1DAB2741B896904F4BA9344160FF213D00AA2741BE8B74354AA93441D8D96CCEFBA92741F4BF920C49A93441C803E56EF7A92741C8691FD547A9344190614F1FF3A92741A14F518F46A9344110096EE0EEA9274124BE613B45A93441F82000B3EAA927412B7E8CD943A9344180BDC197E6A9274101000000020000000001000000FFFFFFFF0000000003, CAST(835581 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (835639, N'{4BCD65A8-5F4A-4B02-B9D8-455D2FAB636B}', N'006273751', 248042, N'PGP27802', 90054480, N'6273751', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 10', N'', N'', N'LOT 10 DISTRICT LOT 6006 CARIBOO DISTRICT PLAN 27802', N'0163', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:17:43.000' AS DateTime), 22147, 713, 0xBD0B0000010405000000A267B38A76F1354110E561A1DCAB2B4134992AB88FF13541100456CEB1A92B412E55308A47F1354100B8AF43ABA92B4129CB10A7F7F035410876E05CF6A92B41A267B38A76F1354110E561A1DCAB2B4101000000020000000001000000FFFFFFFF0000000003, CAST(835639 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (837487, N'{D2C750F2-994F-4DA4-9CE7-688A1799A045}', N'007440626', 495792, N'NEP1186', 90054639, N'7440626', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1914-05-29T00:00:00.000' AS DateTime), N'REM Lot 3', N'', N'', N'LOT 3 DISTRICT LOT 8037 KOOTENAY DISTRICT PLAN 1186 EXCEPT PLAN EPP61372', N'0163', N'0004', N'NO', N'MODIFIED-ICF', NULL, NULL, N'UNKNOWN', N'0', N'21846', CAST(N'2017-11-22T13:12:01.000' AS DateTime), CAST(N'2019-01-23T18:37:44.000' AS DateTime), 21857, 771, 0xBD0B000001040E0000002B3A924BB0133841B00C716C11432241C27D1DB8AD133841F868002F44432241802F4C469B133841A02E6EA38B442241B259F579A0133841E0C798FB8544224138454772AD13384190C2F5687244224154F5B99ABB13384108C139E362442241A145B673CB133841681B0DA05544224198DD9367DA1338418093180456442241CC44D8D0E713384150A60A06654422414EB81EA5F7133841C09ECD6A47432241263108AC06143841F0D24D221F422241B125E4A3E513384138CA3204194222414482E247BD1338411083C08A114222412B3A924BB0133841B00C716C1143224101000000020000000001000000FFFFFFFF0000000003, CAST(837487 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (838279, N'{1FD16792-895C-41A3-BB3E-10E3DB9606C4}', N'010450548', 291525, N'PGP16796', 36306251, N'10450548', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 6117 CARIBOO DISTRICT PLAN 16796', N'0163', N'0002', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-01-08T11:22:34.000' AS DateTime), 10235, 426, 0xBD0B000001040A000000AEE1E9D5C7EC324158B3EA335DA4294165006F01C7EC324140D26F1F5DA429410C3D9B159AEC324128C9544108A5294130D49A069AEC3241680E2DF209A5294189EB519899EC3241C08173861BA52941683BDF2F97EC324158CB10C77DA52941A133A2F4E4EC324148DF4F4D88A5294112E9B70FF1EC3241A8D1001E96A429412B1895F4F2EC3241182AA95361A42941AEE1E9D5C7EC324158B3EA335DA4294101000000020000000001000000FFFFFFFF0000000003, CAST(838279 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (838455, N'{EA54ABDF-5849-453C-BED2-D6C8604A3050}', N'013908723', 3, N'NO_PLAN', NULL, N'13908723', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART NW4', N'15', N'19,9', N'THAT PART SHOWN AS 0.9 ACRES MORE OR LESS ON PLAN B3129 OF LEGAL SUBDIVISION 13 OF SECTION 15 TOWNSHIP 19 RANGE 9 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLAN H10220', N'0163', N'0012', N'NO', N'ICF', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-05-26T16:08:35.000' AS DateTime), 2012, 219, 0xBD0B0000010405000000DCC7987B409B3641B8A679C744B623412A189594FE9A3641D819511A8FB62341B003E74C599B3641501B0DA0A0B6234161A1D634509B3641E01951DA78B62341DCC7987B409B3641B8A679C744B6234101000000020000000001000000FFFFFFFF0000000003, CAST(838455 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (839331, N'{7115F629-7BB6-4354-A471-0DDD57603B13}', N'009728805', 489626, N'NEP725', NULL, N'9728805', NULL, N'70720246000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM PARCEL B', N'REM Lot 2', N'', N'PARCEL B (REFERENCE PLAN 6901I) OF LOT 2 DISTRICT LOT 381 KOOTENAY DISTRICT PLAN 725 EXCEPT PLAN NEP61398', N'0163', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:34:48.000' AS DateTime), 608026, 5321, 0xBD0B000001044D0000004E621018F0993841F085C914E52421415B9FAB8DEF993841D8460378B1242141F6EDEBC0239A3841C80E9C330D2421410FBE3099689A3841584BC847AB2321414C401381069B3841C8EFA78608222141D2915CDE3E9B3841E83EC65C26212141F19E3CCC33993841B875E05CA42021416C09F960F498384190A982D17824214153AF9485F198384110F2410FA62421414E621018F0993841F085C914E5242141205A643B199A384160764FDECC2421411A7C61721A9A384128068195EF242141D8096842FC9A384138E17A94272521412E211FB4F89A38413890A0B84B242141E0B5845C2C9B3841703255F047222141485986D8179B384100ABCF953822214194180456049B3841D0718A4E6C222141AC13D004E29A3841109E5EA9072321413A8B6C67B99A3841888FC2B53B2321417A51491D789A3841A8CE88D2E823214134C4B14E4F9A3841A032C4F122242141205A643B199A384160764FDECC242141F4EBC0190D9E3841F81FD2EF1E2421412A5305E3109E3841E03A70CE0324214149477259109E3841881D3827EC232141F46C569D0F9E38416071AC8BAF2321418CA7576A109E3841507B83EF8C2321413E9B559F0E9E3841906588E372232141D968000F0C9E384178AA60D460232141FE65F764FF9D3841088C4A6A2A2321416A006F41FA9D384158C8077D0E2321416ECE8832F39D3841D8AACF95F22221417A4F1E36F29D3841B8DA8AFDED22214154F5B9BAEE9D3841B8CFD516CC22214191ED7CBFEB9D3841A0DD9387BE222141F853E3A5E39D3841800F7AB6962221418C7CD013DD9D3841A84082227D222141E7F21F52D99D38417875719B672221410AF01648D19D384180E4F2DF4C222141E02406E1CC9D3841284B598643222141733D0A97BD9D3841489D80E61B222141A0ABADF8B79D384150A60A86132221417B711B0DAB9D3841E076BE1F03222141E0C798BB9A9D38417858A8B5ED212141662BF617949D384190DD9347E3212141DD02090A869D384110B7D180C62121415496218E809D384138575BF1B5212141644BC847439C3841E873B515672121414903782B2A9C384188F4DBD760212141267502DA969B3841C010C73A3C212141C74B37E94F9B3841B80F7AF65A222141BA37F8E2179B3841D8F0F4CA8C242141944AEA641A9B384128166A0D2F252141D20968A2DD9B3841C0B437785F25214160CC5D4BEA9B38410851DA9B622521416A88631DFE9D384198B6627FE62521411D1DC9A5FB9D38419037F842D2252141004D846DF89D38416807CED9A8252141A69BC440F69D3841A87346948A2521418C0D4F4FF69D384180E2C79875252141EC2631A8F39D384130FF21BD42252141285C8F02F29D384140696F703C252141ACB6623FF39D384118CE19111F25214145136163F59D384190CFD596132521415D4BC8C7FA9D3841D086A757F9242141F7C2640AFD9D384190C729FAE5242141B4AF03C7FE9D3841F0A7C6CBBE24214104098A9F009E3841A8D634EFAF2421419EF83106019E3841C8C117A6A924214186F4DBF7069E3841402CD4DA9C242141AEEA7335099E3841A83C2CD4812421412E431C2B099E38414892CB7F7E24214168D5E76A099E3841C012F28170242141F6DBD7E1079E3841D0915C7E5E2421419C33A294089E3841804DF38E4D242141C47D1DB8099E3841B0270FCB33242141F4EBC0190D9E3841F81FD2EF1E242141030000000200000000020A000000021600000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(839331 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (840241, N'{6F1E47AE-C849-4066-847E-5536010B332F}', N'009852344', 3, N'NO_PLAN', NULL, N'9852344', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 6', N'8', N'', N'THAT PART OF SECTION 6, RANGE 8, SAHTLAM DISTRICT, CONTAINING 2.82 ACRES MORE OR LESS AND COLOURED RED ON PLAN "C" DEPOSITED UNDER 30148I', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 42, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:58:51.000' AS DateTime), CAST(N'2019-01-07T18:33:47.000' AS DateTime), 10409, 785, 0xBD0B000001041F000000CA20B072B9B83141C0A7C64BA8831941281895F495B8314180E848AEA483194195D409C859B83141B066D5679E8319418441604563B83141D0B6627FAF831941AEE1E9F56AB831413013F241BF831941A089B06178B83141A04E4093E283194113363CBD7FB831416019E2D8F4831941221FF42C87B8314160BD529606841941F01648B08EB8314100CCEEC917841941832F4C4696B8314150FC187328841941841F63EE9DB8314130E02D903884194196D409A8A5B83141B02D9020488419418F976E72ADB831410053052357841941B303E74CB5B8314110E2589765841941A6CFD536BDB83141B0FEB27B73841941D65F762FC5B8314100857CD080841941794F1E36CDB83141100612948D841941148C4A4AD5B83141608104C5998419413EFAED6BDDB8314100CE1951A5841941B6D1009EE5B83141E084EB51AF8419411B9E5E0989B93141607958286C851941BBF3FD5488B931414072F98F898519414BE17A14ACB9314110DFE08BAF85194101B37BD2AEB93141B057CAB21F851941E5F21F92D0B8314100DFE08B22841941AFFA5C8DD7B8314140CF66D5D9831941D388D23ED2B83141F050491DD28319415E07CEF9CCB83141F0B8FC07CA8319417836ABBEC7B83141002B8796C18319419128ED8DC2B83141B08251C9B8831941CA20B072B9B83141C0A7C64BA883194101000000020000000001000000FFFFFFFF0000000003, CAST(840241 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (840910, N'{BCC2D058-E924-4E5E-87C8-3C77BD369EF7}', N'010018221', 479546, N'KAP5966', NULL, N'10018221', NULL, N'dgnp0080', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 1', N'', N'', N'LOT 1 SECTIONS 24 AND 25 TOWNSHIP 17 RANGE 11 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 5966 EXCEPT PLAN KAP67779', N'0163', N'0006', N'NO', N'ICF', 5, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:21:47.000' AS DateTime), 25810, 652, 0xBD0B000001040E000000711283E0C6673641A08CB92BFF202341E98018C1AB67364138A1AB08F9202341072E798890673641609A6B00F52023417EFB17417567364178B18514F320234132756DF559673641D8B6B645F320234118CCF3AF3E673641D8C8EB93F5202341E2D0227B23673641185B42FEF920234129ED0DDE1F673641606891ADFA202341E661A1D6FC66364130DBF97E01212341EC61A196FB663641289E5E291C21234174CE8832F2663641D002098AE42123417E3F355EBA67364190CDAA0F0A222341DC0968C2C367364178567DAE41212341711283E0C6673641A08CB92BFF20234101000000020000000001000000FFFFFFFF0000000003, CAST(840910 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (843062, N'{D0992006-C5D1-40D5-A89F-DD65998EE926}', N'000017434', 645953, N'VIP883A', NULL, N'17434', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 8', N'Block 1', N'', N'LOT 8, BLOCK 1, DISTRICT LOT 132, ALBERNI DISTRICT, PLAN 883-A', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:39.000' AS DateTime), 628, 146, 0xBD0B000001040D000000D6096822E29C3041B0A44E40A1AB1C41C20E9C33E29C3041705AD33CA1AB1C41BF64AAC0F59C3041906CE77B9DAB1C414E840DCFF59C3041E06B09799DAB1C41F731E64E0F9D304190976E9298AB1C4191B96B890F9D3041E0AF036770AB1C41C13923AAE89C3041A0F753E377AB1C41E5E2369AE89C3041A0F831E677AB1C41708A8E24D29C3041E059F5397CAB1C4182FB3A10D29C3041607FD93D7CAB1C419DB43718D19C30418068916D7CAB1C414FDA1B7CD09C304150C1A8A4A4AB1C41D6096822E29C3041B0A44E40A1AB1C4101000000020000000001000000FFFFFFFF0000000003, CAST(843062 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (843092, N'{6DF69645-F933-4A1D-81B1-65C74D09D676}', N'015127125', 3, N'NO_PLAN', NULL, N'15127125', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 8392', NULL, NULL, N'THAT PART OF DISTRICT LOT 8392 KOOTENAY DISTRICT INCLUDED IN REFERENCE PLAN DF10760', N'0163', N'0019', N'NO', N'ICF', 6, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-02-11T15:36:41.000' AS DateTime), 16615, 916, 0xBD0B0000010408000000E83FA4DF33A1384170E4F21F9FD21D41E8D9AC3A20A13841201DC9E565D21D417824977F0FA13841D0C56DB4C1D41D41CC4D62B009A1384160F54AD996D51D4154F38E93FAA03841B00968A215D81D4164BC74537FA1384160D5E7EA53D81D41E8C039831CA13841A0E2589778D51D41E83FA4DF33A1384170E4F21F9FD21D4101000000020000000001000000FFFFFFFF0000000003, CAST(843092 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (843097, N'{9028A2C7-A23A-4F0E-88F9-F1507C94C5ED}', N'018572871', 649578, N'VIP57991', NULL, N'18572871', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', NULL, N'REM Lot A', N'', N'', N'LOT A, LOOP FARMS AND DISTRICT LOT 106, ALBERNI DISTRICT, PLAN VIP57991 EXCEPT THAT PART IN PLAN VIP65071', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:28.000' AS DateTime), 128401, 1509, 0xBD0B000001040F000000F6A9F112538F3041B0BFEC9EB4261D4113363CFD528F3041A089B0E1B4261D41618FC2751F8F3041C0A835CDF7261D41287E8C39108F304150BD52960B271D4162E5D022CE8E304170014D041A271D4129287EECB68E3041903BDF4F6F271D4112D04498B68E3041009C3322BC271D417F26C226B58E3041006B2BF60E291D419F45B6F37E8F304170E3149D8C2C1D41D5A3707DA08F3041400AD723212D1D41F138454775903041C0BE9F9A2F2D1D4141A4DF7E79903041B09F1A2F54291D41FF907E5B1590304130FC18734D291D41063D9B158E8F3041E0B35975FC251D41F6A9F112538F3041B0BFEC9EB4261D4101000000020000000001000000FFFFFFFF0000000003, CAST(843097 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (843850, N'{E8E9D83B-40E9-435D-B57B-55D974DACA58}', N'007568801', 1080757, N'NWP841', NULL, N'7568801', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 11', NULL, NULL, N'LOT 11, EXCEPT PART ON PLAN 52635, DISTRICT LOT 1 GROUP 3 NEW WESTMINSTER DISTRICT PLAN 841', N'0081', N'0009', N'NO', N'ICIS CADASTRE', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-02-15T14:57:21.000' AS DateTime), 1881, 175, 0xBD0B00000104050000009B438B2C6F633341A08F3177275C1C4154FC18737C633341A02D90A0705B1C412A31086C4E633341D039234A685B1C4138AB3E174463334170BC7413F35B1C419B438B2C6F633341A08F3177275C1C4101000000020000000001000000FFFFFFFF0000000003, CAST(843850 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (845160, N'{EB40F619-E142-462B-A9E0-721DE5379552}', N'009301852', 3, N'NO_PLAN', 90091212, N'9301852', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART N2SW4', N'15', N'20,8', N'THAT PART OF THE NORTH 1/2 OF THE SOUTH WEST 1/4 OF SECTION 15 SHOWN ON PLAN B3741; TOWNSHIP 20 RANGE 8 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLAN H809', N'0163', N'0012', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-19T18:27:30.000' AS DateTime), 9935, 500, 0xBD0B000001040C0000001295D429F3BE3641003199EABD0224414060E570E4BE3641183FC61CBB022441D89AE61DE5BE3641D0DEE08BD602244101BC0512E5BE3641781D38E7F50224417EB74002E6BE364190F4DBD70E032441A2EFA7C6E7BE3641B8A679472B0324414F9621EEE9BE364168C5FE3244032441F5EDEB6068BF3641D86054522603244178832F8C9CBF364190FF903E50032441A90A4625A1BF3641B0FEB2FBE70224416007CED9A1BF36410895D449DD0224411295D429F3BE3641003199EABD02244101000000020000000001000000FFFFFFFF0000000003, CAST(845160 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (846144, N'{F181A57E-8F1B-4B17-9F8A-A7CA22FB13BA}', N'023068141', 1175783, N'LMP23121', NULL, N'23068141', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-06-08T00:00:00.000' AS DateTime), N'Lot 4', N'', N'', N'LOT 4 DISTRICT LOTS 159 AND 160 GROUP 2 NEW WESTMINSTER DISTRICT PLAN LMP23121', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T09:13:31.000' AS DateTime), 131900, 2125, 0xBD0B000001040C000000B147E15A85CD3241B0AF036747E21B41467B838F8ACD324170A3013CA0E01B41DA3D79D88CCD3241105C8FC2E6DF1B41AC35CD7BCACC3241B0999919C8DF1B41F46C56DDCECC32419026C20602DE1B415517B7D192CD3241D06A2BF620DE1B4162DC468397CD324150832FCCBCDC1B41E695B20C07CD3241D05F764F9EDC1B41C4D32BA562CB32418095438B41E31B413CAD69BE80CD3241C016D94EBEE31B419C23B9FC80CD324130386744AAE31B41B147E15A85CD3241B0AF036747E21B4101000000020000000001000000FFFFFFFF0000000003, CAST(846144 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (847939, N'{6B9E6E51-CF56-46D0-85F8-68D147F8DEF2}', N'011332042', 1303888, N'VAP4742', NULL, N'11332042', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-15T00:00:00.000' AS DateTime), N'Lot 61', N'Block 25 & 28', N'', N'LOT 61 BLOCKS 25 AND 28 DISTRICT LOT 599 PLAN 4742', N'0092', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T10:50:26.000' AS DateTime), 371, 95, 0xBD0B0000010409000000C4FEB29B3C7A3241A0F8C26466871D4184F4DBB7177A3241A0D634EF5E871D4159C1A884177A324180AF94E55E871D4199438B4C177A3241A095B20C87871D41CA76BE7F177A3241702B871687871D411B6A4D733C7A3241305BB1BF8D871D41469D80A63C7A3241108351C98D871D41F631E6CE3C7A3241B01F636E66871D41C4FEB29B3C7A3241A0F8C26466871D4101000000020000000001000000FFFFFFFF0000000003, CAST(847939 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (848107, N'{CEE5C9CB-2487-4D30-80B2-7A0FAE30A7BB}', N'013852752', 1308471, N'NWP6466', NULL, N'13852752', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-02T00:00:00.000' AS DateTime), N'REM Lot 6', N'Block B', N'', N'LOT 6 EXCEPT: PART TAKEN FOR ROAD ON STATUTORY RIGHT OF WAY PLAN 61371, BLOCK "B" DISTRICT LOT 1 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 6466', N'0025', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:20:36.000' AS DateTime), 192, 69, 0xBD0B00000104040000006F4694366BBA3241005C8FC29EF11C410FD0445876BA3241A02C431C4AF11C41F17C3FF55CBA3241B0D5566C81F11C416F4694366BBA3241005C8FC29EF11C4101000000020000000001000000FFFFFFFF0000000003, CAST(848107 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (850020, N'{F0FC1C2F-5528-4DE1-AA77-E672F4FC562D}', N'003175987', 1480939, N'NWP3047', NULL, N'3175987', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-02T00:00:00.000' AS DateTime), N'REM Parcel C', N'Block 2', N'', N'PARCEL "C" (EXPLANATORY PLAN 10946) EXCEPT: PART ON PLAN 26009; OF LOTS 1 AND 2 BLOCK 2 DISTRICT LOT 14 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 3047', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T13:20:32.000' AS DateTime), 3761, 252, 0xBD0B0000010405000000608FC2351CB1324150D49A6616F71C418AEB51D836B132414004C50F34F81C41345530AA67B13241F0A4BDC10EF81C41268716B94DB132414007CE99F0F61C41608FC2351CB1324150D49A6616F71C4101000000020000000001000000FFFFFFFF0000000003, CAST(850020 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (850196, N'{450E4390-1691-48AD-AB06-0DA87F04A0A1}', N'015316190', 3, N'NO_PLAN', 90056737, N'15316190', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'5928', N'', N'', N'DISTRICT LOT 5928 CARIBOO DISTRICT EXCEPT PLAN PGP35164', N'0163', N'0008', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2020-12-16T08:38:15.000' AS DateTime), 280706, 2951, 0xBD0B000001041F0000003D355E9AF46E3241B059F5D94169314156863816F46E3241282653854169314112143F66EF6E324158C1A8843E693141CFDEE0AB2A6E3241CC6D3480C0683141E80434F1E46D32415C58A8D593683141100BB526A46E3241242B8776E4673141F5B9DA0AAE6E3241ECAE2564DB673141B96B09D9B16E3241A0EFA7E6D767314192CB7FA8A66E324154DA1B5CC26731412EDD24A6A46E3241C088D29EBB67314149EA04F4A16E3241A0703DEAB56731410D83C0AA9F6E3241B0B662DFAE673141595BB1DF966E3241783480779D673141D634EFF88E6E3241881F63AE8A673141A35E29AB876E3241146A4D33786731414D6B9A97806E3241804F1E166567314164A1D6F47E6E32416CBE9F5A606731412F431C4B786E3241FC21FD7666673141F341CFA66A6E32411C6C78FA7267314128A91390EE6D3241F89E3CCCE46731413A3CBDF2096D324130ED0D7EB66831419A2A18F5B26C32413870CE48066931419B779C02616E3241285A649BE06A314187635D3CB46E3241400AD743946A3141213867040C7032414860E5305A6931417DAEB66215703241CC7D1DB851693141190456CECA6F324160A60A461C69314110D044F8596F324170029AC8826931418FCB7FC8556F3241AC900F1A806931411FD26F7F3F6F3241D00E9CD3716931413D355E9AF46E3241B059F5D94169314101000000020000000001000000FFFFFFFF0000000003, CAST(850196 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (850236, N'{CFCDFE06-9EC0-49B3-A6B6-88AFA8143AE6}', N'011384760', 847821, N'KAP1957', NULL, N'11384760', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 658', N'', N'', N'THAT PART OF LOT 658 SHOWN COLOURED RED ON PLAN A1057; DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 1957', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:34.000' AS DateTime), 2940, 282, 0xBD0B000001040E00000066B3EA138B783641900F7AB630D61C41559FABAD42783641C01B7CE1BAD61C419F45B693457836411066F764CCD61C415C39B46855783641B066D5E71ED71C4144D8F0B45F783641B0559FAB0CD71C412CC286C769783641C0938785F8D61C4155F5B99A73783641A0923A81E2D61C41E92631287D78364170E8D9ACCAD61C414603786B86783641A0734614B1D61C41409B555F8F78364150A60AC695D61C4183FB3AB0B77836414079582831D61C41B0B6629FBB783641007D3F3524D61C41816ABCF499783641E05C6D4512D61C4166B3EA138B783641900F7AB630D61C4101000000020000000001000000FFFFFFFF0000000003, CAST(850236 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (851939, N'{FC5B0179-4C5C-47C7-96AC-458B34F24B16}', N'004682742', 873401, N'KAP34043', NULL, N'4682742', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot B', N'Lot A', N'', N'PARCEL B (PLAN 37033) OF LOT A SECTION 3 TOWNSHIP 20 RANGE 18 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 34043', N'0055', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-05-08T13:28:45.000' AS DateTime), 8141, 395, 0xBD0B000001040E00000014022BA71C433541B07D1DF8F6A02341C876BE3F1B43354108B4C8B6F2A0234124D26F9FAB423541B802090AE0A0234144696F90A7423541E8C039E344A123418EED7C5FA7423541909BC4E049A12341AA4E40F3A5423541A05E290B6FA12341B047E1DAA4423541D0CEF7538AA1234161DC46E3E7423541486B9AB768A123416E4DF36E36433541702A185541A123415FDC46C32F433541B0CFD5162EA123411748503C2B43354120B9FC0721A12341E0E99592244335413872F9CF0DA12341A6E8488E24433541B825E4C30DA1234114022BA71C433541B07D1DF8F6A0234101000000020000000001000000FFFFFFFF0000000003, CAST(851939 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (853789, N'{6F82D706-AB86-4A41-8663-8CC85E73E79B}', N'001537407', 484630, N'KAP35395', 90053120, N'1537407', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot B', NULL, NULL, N'LOT B SECTION 24 TOWNSHIP 9 OSOYOOS DIVISION YALE DISTRICT PLAN 35395', N'0022', N'0012', N'NO', N'ICF', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-11-25T15:09:30.000' AS DateTime), 3681, 260, 0xBD0B00000104060000004E840DEFBDA03641D88D06B0EA67224180AEB6E28BA0364130143F066E672241396744495FA036412085EB91B8672241DD2D904082A03641F8923A811068224136AB3E97AAA03641681D38E7E36722414E840DEFBDA03641D88D06B0EA67224101000000020000000001000000FFFFFFFF0000000003, CAST(853789 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (854940, N'{48C312F6-5CDD-4B7A-A337-B41CCE4A9203}', N'016013671', 468835, N'NEP796', NULL, N'16013671', NULL, N'7864158000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 6', NULL, NULL, N'LOT 6 DISTRICT LOT 2155 KOOTENAY DISTRICT PLAN 796 EXCEPT PLANS R127, NEP61345 AND NEP61346', N'0163', N'0004', N'NO', N'ICF', 5, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-03-18T15:57:56.000' AS DateTime), 47461, 1096, 0xBD0B0000010415000000348941C0754B3941605A643BFA182141D044D8B0844B39419050FC5827182141C0749318DD493941C03B4E91C51721413FF0E0A0DC49394190AB049EC91721417B42701EDC49394108A888A5CD1721412ED54F91DB493941703668A7D117214186408FF9DA493941C8FB31A3D517214124493F57DA49394190487598D91721416BDE71AAD94939415026C286DD17214198999959CB493941A83E579BFD172141A089B041C24939410830BBE7021821410B462515B6493941B03C2CD41C1821410FBE3059B349394130DBF9BE4F1821414F873128B449394178EC321E54182141889C0CF1B4493941E8A8E48158182141B4CFBBB3B5493941987DECE95C18214167233970B6493941E8B52756611821410DCB7E26B7493941F87B73C665182141042B87D6B7493941C8D9AC3A6A182141172FDD84C1493941383EE89994182141348941C0754B3941605A643BFA18214101000000020000000001000000FFFFFFFF0000000003, CAST(854940 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (855123, N'{407D544E-FB7E-4B7E-B231-48736EF0F1A5}', N'007642202', 647337, N'VIP1297', NULL, N'7642202', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1, LOOP FARMS, ALBERNI DISTRICT, PLAN 1297 EXCEPT PART IN PLAN VIP64086', N'0163', N'0029', N'NO', N'ICF', 0, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'0', NULL, CAST(N'2019-11-28T08:04:16.000' AS DateTime), CAST(N'2020-04-06T08:47:42.000' AS DateTime), 82220, 1190, 0xBD0B0000010409000000836132B505913041300C022B85251D41C364AA4009913041E0847CD020221D417B58A8B5868F3041008716D91D221D41769CA263848F304140136143EA221D416CD712B2888F30419073469484231D41779CA283918F3041A04F1E161C241D4180D0B3399A8F3041C056ECAFCD241D412EB29D8F988F3041B0C9C3C28A251D41836132B505913041300C022B85251D4101000000020000000001000000FFFFFFFF0000000003, CAST(855123 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (855266, N'{C3CF32B7-5A0F-4F80-83D6-824B24365EC3}', N'001673904', 12592, N'VIP218B', NULL, N'1673904', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 7', N'Block 52', N'', N'LOT 7, BLOCK 52, SHAWNIGAN LAKE SUBURBAN LOTS, MALAHAT DISTRICT, PLAN 218B', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 15, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:17:13.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 10021, 393, 0xBD0B000001040800000068AA60940EEC31417006F096038018416A2BF6770EEC3141106D567D22801841AD03E7CC71EC314190E3A51B2C801841D812F20174EC3141B06DA381957E1841D266D50736EC3141B05D4BC88C7E18416C6FF0251BEC3141103333B38F7E1841C17493980FEC314180613255EC7E184168AA60940EEC31417006F0960380184101000000020000000001000000FFFFFFFF0000000003, CAST(855266 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (855907, N'{3A8407AA-BB31-466E-A50F-FA504FD5A829}', N'001712462', 3, N'NO_PLAN', NULL, N'1712462', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 31', NULL, NULL, N'THAT PART OF LOT 31, HELMCKEN DISTRICT, INCLUDED WITHIN THE AREA SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 14348F', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 15, NULL, N'UNKNOWN', N'0', N'46358', CAST(N'2021-05-18T14:34:51.000' AS DateTime), CAST(N'2021-05-18T14:37:39.000' AS DateTime), 47102, 3093, 0xBD0B00000104970000002A530563F2D831410057ECAF52E418412A224417E9D83141B0AC6FA188E418415EA2A9FCE0D8314140E21F91C1E418414DD88622DAD8314160CC6013FDE418419C18CF95D4D83141208DB9B73AE518415C8EFF60D0D83141A02AA9097AE51841D6670B8CCDD83141B0BA8291BAE518412CD04C1CCCD8314120984FD5FBE5184197D17A14CCD83141B0E1B5593DE61841E233A474CDD83141709FE1A27EE6184179602F3AD0D83141F0C96E35BFE61841434CDF5FD4D8314130815297FEE618414C5EDDDDD9D8314100B5C1503CE718415640C8A9E0D83141A08E13ED77E71841127DC7B6E8D8314120EF9DFBB0E7184172C7A3F5F1D83141C0598A10E7E71841CCBCE354FCD8314140CBA1C519E8184196E61D470BD93141C08173464EE81841E873B51525D93141105A64BBBDE818411C8E75B184D93141A02F4CA65AEA18410C76780F8BD93141D02A96D975EA1841ED482E7B91D93141200B29D990EA184170C67CF497D93141E06E96A4ABEA18419876497B9ED9314160C8703BC6EA18414AAA790FA5D9314180614B9DE0EA1841B07BF2B0ABD93141505EBAC9FAEA1841FAAD088CAFD93141503906D209EB1841ACBE806BB3D93141F0DB40C818EB18414463554FB7D9314120D555AC27EB1841464B8137BBD9314120CD307E36EB18414320FF23BFD93141B084BD3D45EB1841F185C914C3D9314140D5E7EA53EB1841ACB6627FCAD93141007B142E6FEB18412DE59368CBD9314140F4DD7572EB184150E9FC51CCD93141A019AFBC75EB18418AB29D3BCDD9314110B1870279EB184153307625CED93141307E67477CEB18412352860FCFD93141E0454E8B7FEB18416007CEF9CFD9314140CD3BCE82EB1841E355E16DD3D931412096C8388FEB1841E40114E5D6D93141B0E861959BEB1841B185625FDAD93141F034FBE3A7EB18416458C9DCDDD9314170F88724B4EB1841E6ED445DE1D9314100BFFB56C0EB184116B7D1E0E4D9314150234A7BCCEB184191537444F9D93141006C787A12EC18410E363C9D0FDA3141500E2D325FEC1841587DAE9645DA31412024287E18ED18414F8D97CE63DA314170A3013C80ED18417AE09C5173DA31411003780BB7ED1841801689EA7EDA31411006359BE6ED1841249125B189DA31419015392A19EE18418A76159993DA31418028837E4EEE18411864FB969CDA3141407DE45A86EE1841327886A0A4DA314120C9467FC0EE184129287EACABDA3141B0C2F5A8FCEE18416644698F9DDA314100ACADD813EF1841A19479C19EDA314180F56DBD1FEF18413F9628E99FDA314190628CB22BEF184138496806A1DA3141300278B737EF1841F82B2B19A2DA314130249FCB43EF1841FE3B6421A3DA314140606FEE4FEF18419AF6061FA4DA3141609B551F5CEF184178FA7C01A6DA31412043301176EF1841BA2654B4A7DA3141A054733790EF184100A93137A9DA3141B0A2A88CAAEF184112B4C489AADA31415030500BC5EF1841D090C6ABABDA3141A059E1ADDFEF1841DBACFA9CACDA314110FBCB6EFAEF1841DD460338B8DA3141E0C95441F9EF18412FBB27CFC9DA3141F0E8B72FFCEF1841B2506B3AE3DA314140C2862703F018418D4AEAC4E2DA3141807FD93DE5EF1841CB2EDE08E2DA3141D02CDA7EC4EF184181B6E811E1DA314190C458D8A3EF18415CF93BE0DFDA3141A0AEF45083EF1841DAF71574DEDA3141300547EF62EF1841D28EC0CDDCDA3141403AE1B942EF1841716891EDDADA3141C0C64BB722EF1841C0C117E6D6DA3141700DE0ADE9EE18413BF8C2A4C7DA314120E63FA4FEEE1841EC1FD26FC5DA314180D2DEE0E3EE18416ED409A4BFDA314150BE14F1A6EE18412464C6F5B8DA31417013C9786BEE1841FF3FEF6AB1DA314120418AAC31EE18411DC82E0AA9DA3141006D6CBFF9ED1841DC67ECDA9FDA3141604EDCE2C3ED1841A50A46E595DA31417081734690ED1841B4AF03A78CDA3141E000DE8266ED1841E3A59BC477DA314190A0F83124ED1841C4E314DDF8D931414068916D70EB1841FC65F7E4DAD93141A057CA320AEB184143C6DCB5D6D93141606DC57EF6EA184126C28607C9D93141907EFB3ACFEA1841C910C71ABDD9314150D409E8A0EA1841DC096862B1D9314140EE5AC271EA1841419B55DFA5D9314120CD3BCE41EA1841B56B09199BD9314150DA1BFC07EA18411DFDF6B521D93141107F6ABCFBE7184120B0720815D9314130A91350D0E7184158707CED0BD9314130F84FCFA4E718412D1770D303D9314190DC473D76E71841149BBFCAFCD83141200483F844E718415313B2E1F6D831413032036511E71841D8BC4624F2D83141703E79EBDBE618412AA01C9CEED83141809370F8A4E61841E4095F50ECD8314130DD72FB6CE6184142FDB645EBD83141509F256634E618418BBE417EEBD83141208863ABFBE518418A888CF9ECD83141B04E533EC3E51841467595B4EFD8314110F37D918BE518410199D1A9F3D831411045E61555E518413B4238D1F8D83141707D233A20E5184180485320FFD8314160C58069EDE418419248548A06D931415069230BBDE41841FDA22E000FD93141707D39818FE418415808B67018D93141D092322865E41841C554C1C822D93141C01804563EE41841C230998A4DD93141B0E09C11A0E31841F897DDB359D93141300AD72370E318418EA982D15FD93141708104C556E318411A7C61D265D93141D022DBF93CE31841578638B66BD93141C0EF38C522E3184188635D7C71D931416079582808E318419353742477D931414054E325EDE21841E47A14AE7CD9314190ED7CBFD1E2184113C7BA1882D93141006B9AF7B5E21841FC770B6487D93141201748D099E21841BA96908F8CD93141C0A7C64B7DE218411E63EE9A91D931410068226C60E2184132E6AE8596D9314100EA043443E218419CCDAA4F9BD93141E05374A425E218419CB437F89FD93141403789C107E218410912147FA4D9314130711B8DE9E11841410AD7E3A8D931414070CE08CBE11841E60434D1B9D93141A05296A155E11841E8AE25A4DBD93141E074241778E018418204C58FE6D93141D04D629030E018412E772DA10DDA3141907AA5AC30DF1841F5EDEB404EDA3141E04FFC188CDD18418E87859A2BDA3141C0711B8D85DD18412B7E8C59CCD93141207C61B2F5DF18419006F0967ED93141801A2F5DF3E11841C470F46870D931414016AAB740E2184104AAEB6C61D93141F0FE949A8BE2184111B1B1A951D93141F017A8E3D3E218419AB37D2641D93141B06FCC7119E318416EC0DEEA2FD9314130072B255CE31841EA51B8FE1DD9314170643BDF9BE31841BF86A7F7F7D83141007E8CB936E418412A530563F2D831410057ECAF52E4184101000000020000000001000000FFFFFFFF0000000003, CAST(855907 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (856040, N'{12EBE209-E107-41EA-ACBE-5548DC4C0B95}', N'011412470', 3, N'NO_PLAN', NULL, N'11412470', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 277', N'', N'', N'THAT PART DISTRICT LOT 277 SIMILKAMEEN DIVISION YALE DISTRICT SHOWN RED ON PLAN ATTACHED TO DD 1822', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-05-28T10:38:25.000' AS DateTime), 48822, 3299, 0xBD0B000001041C0000008048BF7D091C364180226CF854971D41D58173E6041C3641409B559F54971D41848EE492C31A364140D26FDFFE961D41160DE06D911A3641E073B515F0961D4122A7E888641A3641F0EDEBC0E3961D4152FC18331F1A3641A058A8B5D0961D417D04C56F7E1936411004568EA4961D413F8B6CC7E01836414037894179961D41BBF3FDD4AE173641D0C7983B25961D4180AEB6E28D163641306519E2D5951D41088A1F436A16364180999919CC951D411B73D7522D1636410064CC5DBB951D41E48C28CDB915364170C1A8A49B951D41ED1FD24FB71536418080264213961D41B003E74CB7153641503BDFCF13961D4101B37B72B6163641F0F675E059961D41844160057217364110F853638D961D4187EB51D824183641E0B6627FBE961D41D8096882D3183641D06B9A77EE961D41C10512547E1936418089B0611D971D4153742457251A3641401283404B971D4138D6C54D461A3641103B704E54971D41190456CEC81A3641F09C802678971D416F348057291B364180C264AA92971D4152AF9445491B364110B29D6F9B971D419C923A21691B364120E9B72FA4971D41438B6C67061C364180AEB662CF971D418048BF7D091C364180226CF854971D4101000000020000000001000000FFFFFFFF0000000003, CAST(856040 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (856048, N'{C2DBBE71-E561-405A-8C9B-83BD5B9603FE}', N'000016934', 4652327, N'VIP276RW', NULL, N'16934', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 48', N'', N'', N'THAT PART OF DISTRICT LOT 48, ALBERNI DISTRICT, INCLUDED IN PLAN 276 RW', N'0102', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2021-05-30T19:19:59.000' AS DateTime), 10194, 1696, 0xBD0B0000010448000000160DE0CD2B9D3041F0F21F5204B31C41D96800EF2B9D304110C9E5BF22B31C4191A0F8312C9D3041B0559F2B41B31C4123F46C962C9D3041D07268915FB31C412D08AC1C2D9D3041508D97EE7DB31C418F5374C42D9D304110A5BD419CB31C418C31778D2E9D3041F0DD0289BAB31C41A3B437782F9D3041C0EDEBC0D8B31C412041F1C32F9D304180204171E1B31C41CF5D4B08319D304130CFF7D304B41C41EA263188329D30415074241729B41C411EFDF675719D3041F0938705BAB91C4151158CCA719D3041A016D9CEC1B91C41B3D85F367E9D3041B06E1283C2B91C41163FC67C7D9D3041407B83AFB1B91C416DE7FBC9539D3041304C378901B61C4105F9A0E73E9D3041200BB5A628B41C416991EDDC3D9D30414013614311B41C416C567DEE3C9D304140FC18F3FAB31C41819ECDEA3B9D30418025E403DFB31C413F9B55BF3B9D3041B0F75363D8B31C4157302AE93A9D3041705227A0BDB31C41644BC8E73A9D304100B1506BBDB31C41DE7A142E3A9D304180F2B0D0A2B31C41C9BAB82D3A9D3041303789C1A2B31C41A1ABADB8399D3041B030992A8FB31C41E5839E8D399D304130B4C8F687B31C41EC8C288D399D3041B04160E587B31C41D45D4B08399D304150BC74136DB31C411FB9FC07399D304180D93DF96CB31C419A081B9E389D3041C054C12852B31C41F775E09C389D3041B05D4BC851B31C41C810C77A389D3041D07A142E46B31C41653BDF4F389D30413006819537B31C416A4DF34E389D3041A0A2233937B31C413D2CD41A389D304120ED0D3E1CB31C4166F7E401389D304100166A4D01B31C41FADBD701389D3041A03B4ED100B31C4128651902389D3041D0BCE314FDB21C411E41F103389D304180613255E6B21C41749CA223389D3041D0D32BE5B3B21C417CB74062389D304190CA324450B21C41A8E848EE389D3041C0E00B9371B11C41EB0434F1389D3041B0E926B172B11C41CEB359F5389D30410044FAED6BB11C4179E926F1389D30415096210E6DB11C414E1E16AA399D3041C03A01CD46B01C4195B20C113A9D304140006F8199AF1C41A18026223A9D3041A07F483F7AAF1C41A4EFA7C63A9D3041B0EA733557AE1C41F241CFC63A9D3041708EE4F256AE1C410E71AC0B3B9D3041C0B515FBDCAD1C41E55791C83A9D3041F0BB8EB9AFAD1C41601D1FD1399D3041C06E449F82AD1C4173EE4B26389D304100CC15D955AD1C413F6DC0C9359D3041F0268E9329AD1C417C0AD6BD329D304100D5B8FAFDAC1C4152AF94052F9D3041205AF539D3AC1C41E9B7AF23229D3041E0BFEC9ED5AC1C41DEA2C70E269D304130F540AFFFAC1C411ADF5B45299D3041E08AB2B12AAD1C41B08FCFC32B9D3041A0F7E57556AD1C418ADD54872D9D304150D8A5CA82AD1C41601EF08D2E9D304150421A7EAFAD1C418C0F7AD62E9D304100D2005EDCAD1C412B5305E32D9D3041509E5EA96DAF1C41C8C3426D2D9D304120A4DFBE2FB01C4187F4DB772D9D3041A0DD93073BB01C41CAA145762D9D30417060E55046B01C41086822EC2B9D304130B6627FC2B21C41ABE848CE2B9D304100D34DE2E5B21C41160DE0CD2B9D3041F0F21F5204B31C4101000000020000000001000000FFFFFFFF0000000003, CAST(856048 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (856356, N'{FAD8508F-26FF-4102-9EAB-8140FC2AA6B0}', N'015357473', 1186407, N'NWP4057', NULL, N'15357473', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2017-03-23T00:00:00.000' AS DateTime), N'REM Lot 1', N'', N'', N'ALL THAT PART OF LOT 1 DISTRICT LOT 142 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 4057 LYING SOUTH AND WEST OF HIGHWAY PLAN 21448 EXCEPT THAT PART ON PLAN EPP68616', N'0031', N'0010', N'YES', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'0', N'6620', CAST(N'2018-08-21T11:43:26.000' AS DateTime), CAST(N'2021-05-31T16:32:45.000' AS DateTime), 6617, 432, 0xBD0B0000010407000000BD9F1A2FC68B3241E00C712C55011C41A25E294BB88B3241F0770B2453011C415BA8358D0B8B3241401AC0DB39011C41B42E6E43248B3241E0D7817348021C41DAACFA7C698B3241E0E76AABF3011C41FF088A1F988B324140D6C5EDA3011C41BD9F1A2FC68B3241E00C712C55011C4101000000020000000001000000FFFFFFFF0000000003, CAST(856356 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (856936, N'{46D00279-829E-48F7-A4E5-74C08110FF8F}', N'007642229', 647337, N'VIP1297', NULL, N'7642229', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 2', NULL, NULL, N'LOT 2, LOOP FARMS, ALBERNI DISTRICT, PLAN 1297, EXCEPT PART IN PLAN VIP64086', N'0163', N'0029', N'NO', N'ICF', 1, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2021-06-21T12:37:41.000' AS DateTime), 101080, 1301, 0xBD0B0000010409000000826ABCB4AC8F3041D019515A9D1E1D411CD9CEF7A78F304170A3013C681F1D41728A8E24988F3041408B6C677B201D41411CEB02948F3041201DC9E51B211D417B58A8B5868F3041008716D91D221D41C364AA4009913041E0847CD020221D41E926312809913041F0F528DCD51D1D41D01951BAA78F3041C0506B9AB51D1D41826ABCB4AC8F3041D019515A9D1E1D4101000000020000000001000000FFFFFFFF0000000003, CAST(856936 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (856945, N'{88C68410-45E6-48FF-978F-3923103769F8}', N'008395080', 3, N'NO_PLAN', NULL, N'8395080', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 90', NULL, NULL, N'THAT PART OF LOT 25, DISTRICT LOT 90, ALBERNI DISTRICT, PLAN 1486, AND THE ABANDONED ROAD ADJOINING, BEING THE UNCOLOURED PORTIONS AND PORTIONS SHOWN COLOURED GREEN INCLUDED WITHIN THE AREA SHOWN IN RED ON PLAN 387 RW', N'0163', N'0029', N'NO', N'ICF', 5, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2021-06-22T12:58:44.000' AS DateTime), 2371, 317, 0xBD0B00000104130000009C923AE11B843041B01726D347FA1C4155522760E8833041D0E8482E2AFB1C41760B2408F9833041D0915C7E29FB1C41283108EC248430412054E3A568FA1C41BA847CF02D843041F0FD657789FA1C4198CD3040358430412038C27667FA1C416F83CE0E3C843041E07E64D343FA1C414A047E5642843041501CE3AB1EFA1C41C57CDB1148843041107F2120F8F91C411988FB3B4D84304110D63451D0F91C4144696FD05184304140AE4761A7F91C4103917E5B46843041F0D781F395F91C41FCDD020939843041C072681195F91C4151EC7B3335843041909EC654B5F91C41F0157BF03084304140315FB9D4F91C41287F26432C843041E0EEFF27F3F91C41ECDCF22E2784304150592C8A10FA1C4118E7A0B721843041A04F2ECA2CFA1C419C923AE11B843041B01726D347FA1C4101000000020000000001000000FFFFFFFF0000000003, CAST(856945 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (857421, N'{D21E9D4C-66E6-484E-B78D-248F53F8B3E6}', N'013601989', 1485783, N'VAP2588', NULL, N'13601989', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'2000-03-14T00:00:00.000' AS DateTime), N'REM Lot 28', N'Block 6', NULL, N'LOT 28, EXCEPT THE NORTH 2.5 FEET NOW LANE, BLOCK 6 SOUTH EAST 1/4 OF SECTION 26 TOWN OF HASTINGS SUBURBAN LANDS PLAN 2588', N'0150', N'0010', N'NO', N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'334', CAST(N'2021-01-12T16:01:21.000' AS DateTime), CAST(N'2021-07-29T09:25:45.000' AS DateTime), 325, 86, 0xBD0B00000104050000008EED7CFFFF8E32419052272095251D41160DE06DF68E32414080B7C093251D41F45C6D05F58E3241703FC65C18261D41D5096802FF8E32415080B7C019261D418EED7CFFFF8E32419052272095251D4101000000020000000001000000FFFFFFFF0000000003, CAST(857421 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (859457, N'{55C91A36-D8E5-4E07-9477-0081920BE498}', N'004572670', 1660, N'VIP13444', NULL, N'4572670', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 4', NULL, NULL, N'LOT 4, DISTRICT LOT 79, NANOOSE DISTRICT, PLAN 13444, EXCEPT PART IN PLAN, 41577', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2021-12-08T14:51:18.000' AS DateTime), 1272, 148, 0xBD0B00000104060000009A900F9A7044314120A60A4646E21C4107D7A3708244314160DE710AA1E21C410A2428BE99443141E065F7E48EE21C41B1E1E91592443141C0802642F9E11C41BCCAA1E567443141604547721AE21C419A900F9A7044314120A60A4646E21C4101000000020000000001000000FFFFFFFF0000000003, CAST(859457 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (859459, N'{2DA336DE-F405-4FC5-B28F-F15F14BBE1F4}', N'003352552', 4995, N'VIP21835', NULL, N'3352552', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 4', NULL, NULL, N'LOT 4, DISTRICT LOT 79, NANOOSE DISTRICT, PLAN 21835 EXCEPT PART IN, PLAN 41577', N'0163', N'0021', NULL, N'MODIFIED-ICIS', 4, N'DATACOMPILATION', N'UNKNOWN', N'0', NULL, CAST(N'2021-12-08T13:14:21.000' AS DateTime), CAST(N'2021-12-08T14:53:01.000' AS DateTime), 438, 100, 0xBD0B0000010408000000A21A2FDD03433141A09A559FC8E51C414450FCB8FF4231419006F016B7E51C41B159F519E342314160DA1BFC38E61C41ADEA7395EF423141C0CCCC4C3BE61C41C8E53F24F3423141C0012B873BE61C4148598698F542314170211FF42FE61C41E1718A0E0343314150226C78F0E51C41A21A2FDD03433141A09A559FC8E51C4101000000020000000001000000FFFFFFFF0000000003, CAST(859459 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (860796, N'{7257F30A-2BE0-4A28-9084-884D4EA231C2}', N'004572408', 127523, N'VIP13451', NULL, N'4572408', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 4', N'', N'', N'LOT 4, SECTION 92, ESQUIMALT DISTRICT, PLAN 13451 EXCEPT PLANS 3768 RW AND VIP64266', N'0154', N'0005', N'NO', N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:42:31.000' AS DateTime), CAST(N'2019-01-05T10:21:26.000' AS DateTime), 168, 69, 0xBD0B0000010404000000E0E00B7359273241C08FC27572961741FED47849602732417092CBFFA4961741A3EFA74677273241A00FE9B78A961741E0E00B7359273241C08FC2757296174101000000020000000001000000FFFFFFFF0000000003, CAST(860796 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (863191, N'{2113DBEE-D219-45D9-8AE7-E47AC061A3EA}', N'005884110', 128110, N'VIP5704', NULL, N'5884110', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 17', N'', N'', N'LOT 17, SECTION 15, RANGES 1 AND 2, AND OF SECTION 61, SOUTH SALT SPRING ISLAND, COWICHAN DISTRICT, PLAN 5704, EXCEPT PART IN PLAN 14370', N'0163', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:14:46.000' AS DateTime), CAST(N'2019-01-05T10:55:13.000' AS DateTime), 621, 113, 0xBD0B0000010461000000E72631A8CB2032416044696FC8A81941BE1032BACA20324190B359DBC9A819411EF84DC5C9203241D0B8BEF4CAA81941EAFF4DCBC8203241300D8BB9CBA8194174D404CEC7203241E0534F28CCA8194145444BCFC6203241F0C83C40CCA81941A8CDFCD0C520324110C12601CCA81941EC26F4D4C4203241B000836BCBA8194148C807DDC3203241B0DB6880CAA81941E6AF766FC32032414019860CC9A8194102AAF1FEC2203241600606A7C7A8194183EB968BC2203241209D4850C6A819410D6C8515C2203241E0DEA908C5A81941D8DDDC9CC120324120BF81D0C3A819410DA5BD21C1203241600B24A8C2A819417995B934C02032410016C27EC2A81941D4A5D647BF203241709BDB4AC2A81941C24D1C5BBE203241903D720CC2A81941A703926EBD20324110F587C3C1A81941543C3F82BC203241000E1F70C1A81941EB6A2B96BB203241E0293A12C1A81941D8964F68BB20324190841C1EC1A819416A9A5F3ABB20324120A90D19C1A81941D764BF0CBB203241B0971803C1A81941D437D2DFBA20324140156DDCC0A819419DCFF9B3BA20324180415FA5C0A819414B8E9589BA20324160E0665EC0A819416FAC0161BA20324110571E08C0A819415B70963ABA203241905941A3BFA819410D6EA716BA2032413054AB30BFA8194192D182F5B9203241A08D55B1BEA81941B5B470D7B920324180085526BEA819415A82B2BCB9203241C029D890BDA81941036882A5B9203241002524F2BCA8194174D71292B9203241F039924BBCA819415AC8CFA8B92032410025FDB9BAA81941FE0502C4B920324130B5DD2CB9A8194126B09BE3B9203241D088FEA4B7A8194162A78C07BA203241F0902723B6A819414795C22FBA20324190A81DA8B4A81941BEF5285CBA203241A033A234B3A81941352FF570BA203241A04663E1B2A81941BE46DB83BA203241502B3087B2A819410231B694BA203241D0AEB926B2A8194108E464A3BA20324160E7BCC0B1A819413598CAAFBA20324170BE0156B1A819418600CFB9BA203241006959E7B0A81941617A5EC1BA203241B0CF9C75B0A81941EB336AC6BA20324180E3AA01B0A819412749E8C8BA20324110E9668CAFA8194155D7D3C8BA20324120BDB616AFA8194196062DC6BA203241E00E81A1AEA819416609F9C0BA203241A09FAB2DAEA819410C31F7C3BA20324190EC7B73ADA8194166B7B5C2BA203241901DFBB8ACA81941874737BDBA2032411079B5FFABA81941BC8D87B3BA203241F0A53449ABA81941C91EBBA5BA203241D069FC96AAA81941374CEF93BA203241E07087EAA9A81941EEE5497EBA20324170274445A9A8194100EAF864BA203241C0B291A8A8A81941DC223248BA2032412003BD15A8A81941F5B43228BA203241E011FE8DA7A81941F69C3E05BA203241304D7512A7A819414D1FA0DFB9203241702E29A4A6A81941432AA7B7B9203241C0100444A6A8194135ACA88DB9203241203CD2F2A5A819412ADFFD61B9203241903540B1A5A819412C8B0335B9203241B04ED97FA5A8194140411907B9203241C07E065FA5A819412E90A0D8B820324150840D4FA5A81941120995C5B8203241308F82A8A5A819416B5CA5B0B820324110AAEDFAA5A8194162FDFA99B820324150AAAB45A6A819419ACBC281B820324130942888A6A8194156BA2C68B8203241B0C6E0C1A6A8194189716B4DB820324120FA61F2A6A819417DE9B331B820324130284C19A7A8194116023D15B820324120455236A7A819410C163FF8B720324190DA3A49A7A81941688BF3DAB72032414079E051A7A81941EA6194BDB720324160023250A7A819411CC05BA0B720324160CA3244A7A81941D0DE2684B7203241D0B41E66A6A81941AED4C26CB7203241708A437FA5A81941A6E05A5AB7203241501B4C91A4A81941420A114DB7203241005FF09DA3A819410BE3FD44B7203241F041F2A6A2A81941BC583042B7203241D06A1AAEA1A81941079AAD44B720324170EA34B5A0A81941B30C714CB720324140ED0DBE9FA81941ABA44E40B6203241F01726D3A4A81941AF25E4A3A9203241B0D1005ED5A81941112DB25DBF203241C08A8EE436A9194152621038CC203241F07C3FB5DBA81941673BDF6FCC2032417075711BDAA81941E72631A8CB2032416044696FC8A8194101000000020000000001000000FFFFFFFF0000000003, CAST(863191 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (864408, N'{A7536CF9-3826-4B51-9795-176BD36CCD7B}', N'014603853', 3, N'NO_PLAN', NULL, N'14603853', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART NW4', N'6', N'13,26', N'THAT PART OF FRACTIONAL LEGAL SUBDIVISION 13 SECTION 6 LYING EAST OF THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY SHOWN ON PLAN A526; TOWNSHIP 13 RANGE 26 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT', N'0163', N'0028', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:10:29.000' AS DateTime), 7437, 528, 0xBD0B0000010415000000066822EC9B1E344108FBCB2E336D2141AFBFECBE9B1E3441D8627F19396D2141A7CFD5969B1E3441C8CAA1053F6D2141B8FC87749B1E3441F8FBA9F1446D21412DA2B4579B1E344130AD69DE4A6D21414E499D409B1E3441D0270FCB506D2141DA68002F9B1E344150EB51B8566D2141FB907E9B991E3441B8A982D1D86D2141B9F3FD14AA1E3441A09ECDEADA6D21413F3EE879A71E34417831772DA06E2141B269DEF1A61E3441707CD033C86E214159C1A8E4BC1E3441F0809503CB6E214198BB9650CA1E344110C05B200E6D21413A014DC49D1E3441F82B65D9096D2141623255709D1E344108925CBE0F6D2141FBDBD7219D1E3441F040F1A3156D2141F3FDD4D89C1E344188A7578A1B6D2141B1EA73959C1E3441580E2D72216D2141DC4F8D579C1E344160F5B95A276D2141772D211F9C1E3441805CFE432D6D2141066822EC9B1E344108FBCB2E336D214101000000020000000001000000FFFFFFFF0000000003, CAST(864408 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (865858, N'{FEF79DBD-237C-4B20-BE23-D4A9B0149FDD}', N'012765619', 847904, N'KAP44', NULL, N'12765619', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 12', N'Block 2', N'', N'LOT 12 BLOCK 2 DISTRICT LOT 490 OSOYOOS DIVISION YALE DISTRICT PLAN 44 EXCEPT PLAN H750', N'0098', N'0016', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-06T13:28:44.000' AS DateTime), 264, 85, 0xBD0B0000010406000000A401BC0566223641B8B359B58FBD2041DB1B7C816C223641804AEA4488BD20413C575B515A2236418838D6454ABD2041344ED1D15522364170D7123250BD2041A111A55D5722364160696FB05EBD2041A401BC0566223641B8B359B58FBD204101000000020000000001000000FFFFFFFF0000000003, CAST(865858 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (866950, N'{956D2C34-3D86-4ACA-BF35-CC2DDA8B42F4}', N'013525506', 3, N'NO_PLAN', NULL, N'13525506', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 10', N'2', N'', N'THAT PART OF SECTION 10, RANGE 2, QUAMICHAN DISTRICT BEING A PARCEL 3.01 ACRES MORE OR LESS INCLUDED IN PLAN 1027 OS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 42, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T18:16:47.000' AS DateTime), CAST(N'2019-01-07T18:32:15.000' AS DateTime), 13092, 1147, 0xBD0B000001043400000085F4DBD723C63141C03B4E51E7801941F6E461C116C63141B0180456C780194159423EA815C63141004E629051811941BBF3FD745AC6314190674469F7811941C532C4717AC63141E0EFA7C643821941E1BE0EDC84C6314140DF4F0D5C82194153FC18138CC63141E0B9DA0A6C821941024D842D95C63141003C4E517F821941905374649EC6314190931804928219414F6210B8A7C6314170787A25A4821941E5263128B1C63141D0EA73B5B5821941B8FC87B4BAC6314170A1D6B4C6821941FB75E05CC4C6314100780B24D7821941DC2D9020CEC63141C0DC4603E7821941B4BFECFED7C63141D0F21F52F682194191CB7F08ECC63141F0C7983B13831941AA60541242C7314160C1A8240B831941BAA6792737C73141A04E4093FE82194128287E2C2CC7314140894160F18219415DB1BFAC1DC7314160E1E915DF8219418EB96B490FC73141706ABCF4CB821941AE03E78CF8C6314130C58FB1AB8219415E3255D0F1C6314180C1A8A4A18219414603780BEBC6314110A913509782194170F08529DDC631418089B061818219415A0E2D72CFC6314100EA95B26A8219415C5452E7C1C63141F013D044538219413055308AB4C63141402BF6173B82194173AC8B5BA7C6314170C3D32B22821941215A645B9AC631412024287E088219416ADE71CA88C6314100B4C8F6E381194185F4DBD723C63141C03B4E51E7801941841F63EE70C73141200C93A96B831941C0E3147D4FC7314120A91350558319410066F7A41EC73141007E8C395C8319412718955425C73141001895D462831941C7BA204037C73141C043E4E57883194170FFC69A48C73141D034AC4B958319419E2FD64059C73141405184CBB7831941B605101069C73141101E771EE0831941811BF0E777C73141F03394F10D841941FBCBEEA985C7314160D49AE640841941D58AFDA5B0C7314180B35975E7841941A52C435CDCC73141504469EFE884194173D712D2A0C73141006F8184028419413E4D0C809AC73141A04C4505E983194164816EEA93C7314180D3B49DD0831941BD393E148DC73141A0380059B98319417CD69D0086C73141C056D241A38319417AE2CBB27EC73141F0CD4B628E8319415096212E77C73141C05CFEC37A831941841F63EE70C73141200C93A96B831941020000000200000000022000000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(866950 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (867962, N'{C01860AB-36B7-40AF-AA01-A3E7B66A0475}', N'003257860', 847840, N'KAP794', NULL, N'3257860', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 6', N'Block E', NULL, N'LOT 6 BLOCK E DISTRICT LOT 517 KAMLOOPS DIVISION YALE DISTRICT PLAN 794 EXCEPT PLAN 35895', N'0017', N'0028', N'NO', N'ICF', 3, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-12-18T15:03:37.000' AS DateTime), 68, 34, 0xBD0B0000010405000000A42C437C8A08364118D578A94D4B244143355E5A83083641B8DA8A7D5B4B24414360E5B08908364190D1009E684B24417D51493D8D083641D8B584BC614B2441A42C437C8A08364118D578A94D4B244101000000020000000001000000FFFFFFFF0000000003, CAST(867962 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (868079, N'{D5A74787-E3E0-4658-8EE7-2CC17B49002C}', N'007489293', 4652349, N'VIP379RW', NULL, N'7489293', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 49', N'', N'', N'THAT PART OF LOT 49, DISTRICT LOT 140, ALBERNI DISTRICT, PLAN 1414 BEING THE LOGGING RAILWAY SHOWN ON PLAN 379 RW', N'0163', N'0029', N'NO', N'MODIFIED-ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2019-01-10T15:02:25.000' AS DateTime), 357, 83, 0xBD0B00000104120000002F3333B3127E3041F09C80A65F051D4118675377157E30410035F44A5F051D4151C4043B187E3041804516C45E051D414BE51CFE1A7E304180E2EE115E051D41B26D71C01D7E304120B988345D051D41F20CD881207E3041A00BF12B5C051D419F802642237E304190B437F85A051D41FA7E6ABC2F7E3041E0E3839E54051D41161DC905307E3041D0643B5F23051D418F5CFE43277E3041E0CEF7D327051D4102D578C9217E3041D0BDC1972A051D410765B24A1F7E3041503492AD2B051D41A2B6F8CA1C7E3041E0FEDE9D2C051D4171096F4A1A7E304190DF9A682D051D419DA838C9177E304110ABBA0D2E051D41BEE87847157E3041C047358D2E051D411B2653C5127E3041B0AF03E72E051D412F3333B3127E3041F09C80A65F051D4101000000020000000001000000FFFFFFFF0000000003, CAST(868079 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (869492, N'{68252426-863B-4E17-8779-FE9E7C611B13}', N'000838993', 648722, N'VIP1080', NULL, N'838993', NULL, N'24583', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'THAT PART OF LOT 1, DISTRICT LOT 10, ALBERNI DISTRICT, PLAN 1080, EXCEPT PART LYING NORTHEAST OF PLAN 2530 RW AND EXCEPT PART IN PLAN 2530 RW', N'0102', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:06.000' AS DateTime), 25, 32, 0xBD0B000001040B000000D7D78153A08F3041D0EC9E3C68D41C411EFDF655A08F304110AB3ED75AD41C4142199C4D9F8F3041704894695CD41C412E342C489E8F3041600C58195ED41C411DB7DB459D8F3041D06733E65FD41C41086BDE469C8F304150F7C9CF61D41C41426E674B9B8F30415094B9D563D41C412F2AA9539A8F3041506B9AF765D41C41B2E1E935968F3041B0D85FF671D41C417B9CA283938F3041D004341178D41C41D7D78153A08F3041D0EC9E3C68D41C4101000000020000000001000000FFFFFFFF0000000003, CAST(869492 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (870401, N'{7ADD553C-E1C3-446D-AB2A-6AE3487BF06F}', N'009812512', 3191502, N'KAP8543', 31802791, N'9812512', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 3', N'', N'', N'LOT 3 DISTRICT LOT 331 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 8543', N'0163', N'0019', N'NO', N'ICF', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:36:47.000' AS DateTime), 5420, 402, 0xBD0B000001040400000077E7FBC93DCC3741F018E258DCF71C41E4AE25C4DCCC3741B0923A011CF81C41703D0A17E4CC3741F079362B0EF71C4177E7FBC93DCC3741F018E258DCF71C4101000000020000000001000000FFFFFFFF0000000003, CAST(870401 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (871231, N'{B9128BB1-7E14-4311-B666-438C23DAE98B}', N'013997980', 295389, N'PRP968', 23688221, N'13997980', NULL, N'01250.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 13', N'Block 105', N'Section 2', N'LOT 13 BLOCK 105 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:37.000' AS DateTime), 260, 72, 0xBD0B00000104050000001CF46C1696792B412C3CBD72BE643141FE907EFB96792B4154CA3264D86431412D4CA60AAB792B410863EE3AD8643141E1AE2524AA792B4194F08549BE6431411CF46C1696792B412C3CBD72BE64314101000000020000000001000000FFFFFFFF0000000003, CAST(871231 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (871576, N'{2CDED2D0-CE9E-403E-8343-7242075C6EE6}', N'010148752', 475872, N'KAP6354', 3163131, N'10148752', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'', N'', N'LOT 3 SECTION 34 TOWNSHIP 20 RANGE 8 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 6354', N'0163', N'0012', N'NO', N'MODIFIED-ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-19T18:27:30.000' AS DateTime), 17184, 593, 0xBD0B000001040B0000004DA60A8604C1364178764F5E3A2D24417CD0B3F906C1364180C729BA0A2D2441AF94658819C13641E00B93E9A22B24417A9ECDEAEEC0364168CB1087652B24415C643BDFD1C0364140257582EA2B2441FCBB0512C8C0364198FF907E1B2C24410CAC1C9ABEC03641D82D90A04F2C244100197317AEC03641F88095C3D02C244148477219A9C03641B0F3FD94022D244196658883A6C0364118BE30192F2D24414DA60A8604C1364178764F5E3A2D244101000000020000000001000000FFFFFFFF0000000003, CAST(871576 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (872172, N'{DB3A115C-48F2-40DE-84CB-FCAB0FEC5BCF}', N'012043087', 1074508, N'NWP1232', NULL, N'12043087', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 13', N'Block 21', N'', N'LOT 13 EXCEPT: PART (EXPLANATORY PLAN 92); BLOCK 21 SECTION 2 TOWNSHIP 16 NEW WESTMINSTER DISTRICT PLAN 1232', N'0002', N'0009', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-01-05T09:20:48.000' AS DateTime), 8, 30, 0xBD0B00000104040000004EB81E45496E334170AC8B5B697E1B41C11726734A6E33415008AC9C697E1B41A3923A414B6E334180FDF675307E1B414EB81E45496E334170AC8B5B697E1B4101000000020000000001000000FFFFFFFF0000000003, CAST(872172 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (873318, N'{2700F0E9-37A2-4F0E-AC39-DE0D79D4B493}', N'016344863', 489011, N'NEP66X', NULL, N'16344863', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 26', NULL, NULL, N'SUBLOT 26 SECTION 29 TOWNSHIP 7A KOOTENAY DISTRICT PLAN X66, EXCEPT PART INCLUDED IN SRW PLAN 13814', N'0163', N'0019', N'NO', N'ICF', 13, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-01-26T17:28:59.000' AS DateTime), 247473, 3174, 0xBD0B00000104D00000004C74241702A03841907CD0B38EB31D410400008003A0384170F831E697B31D41AF69DE1105A03841D0E61D27E7B31D41D7AACF3560A0384160839E4DACB61D41A049D54E60A0384190227D1BAEB61D418865137160A038413053CBDFAFB61D41E302519C60A0384160679897B1B61D41C82C46D060A0384140800840B3B61D41C96C9C0C61A03841604F59D6B4B61D41C55AEF5061A0384150AEE657B6B61D412D44CD9C61A0384100052FC2B7B61D4112E9B7EF61A03841F072D712B9B61D41F4CF434B62A03841A0BAC562BBB61D41ADCE9FAB62A03841600A5AA6BDB61D41B241B11063A038413028F4DCBFB61D415C385C7A63A03841D070F705C2B61D41597C83E863A03841A002CB20C4B61D41FE99085B64A0384140E8D92CC6B61D4123745CB064A0384180111C07C7B61D41A186E50065A0384100C3C7FCC7B61D41E745174C65A03841F042300CC9B61D418E786E9165A0384120EB7B33CAB61D41561C72D065A03841C067A770CBB61D415639B40866A03841503789C1CCB61D41384547B290A03841F0B9DA8A35B11D4161984CD54D9F3841305530AA9BB01D415AF19FF64C9F384140BD6CACAFB01D41187C578C4C9F384190411DEAC3B01D41D8F450974C9F3841407B0739D8B01D414A7675174D9F38416013CD6EECB01D414CA9B90B4E9F3841C027446100B11D41EBF21F724F9F3841F041CFE613B11D412A29304D509F3841100A4C0B1EB11D411E333946519F384170FD300428B11D4138E9B05C529F384110DDF5CB31B11D41C8CFFC8F539F384130AB2D5D3BB11D41106D72DF549F3841F0AC89B244B11D4185A7574A569F3841705DDCC64DB11D4120F037FA569F3841609E6A8E52B11D414EDF5EB9579F38412056BF3057B11D415AB24E87589F38410004CEAA5BB11D416AEC7F63599F384100A9A4F95FB11D41B0AF614D5A9F384160B36D1A64B11D41B41C5A445B9F384100DE710A68B11D41424500615B9F3841C0A8F4F368B11D410E609B825B9F3841F0CAA4D269B11D41A48BEAA85B9F3841F057D4A46AB11D4114D2A3D35B9F38418085ED686BB11D4194B774025C9F3841D0BA751D6CB11D41B5D902355C9F3841706F10C16CB11D41289EEC6A5C9F384140C581526DB11D41C6EEC9A35C9F384170F2B0D06DB11D41A72A72C05C9F384180692FBA6EB11D4126400FE25C9F38413081DA986FB11D41F44960085D9F38413054046B70B11D414E4E1B335D9F3841B022172F71B11D41D4CDED615D9F3841E05F98E371B11D41E2627D945D9F3841608E2B8772B11D41FA6F68CA5D9F384190E0941873B11D415DDC46035E9F3841D098BB9673B11D41FEF960C15E9F3841E0A32CE476B11D41E24376885F9F38417027DE0F7AB11D41A2F62658609F384110B449187DB11D41242B0F30619F384160CEF9FB7FB11D414906C70F629F3841A0A98AB982B11D411CEBE2F6629F3841B0CDAA4F85B11D415C81184B639F3841E01DBCF886B11D41A4D20BA8639F3841904D958388B11D41C618100D649F3841306D58ED89B11D412C8F6979649F3841E00C65338BB11D410AD04EEC649F3841E01E5D538CB11D41904AEA64659F3841D05E294B8DB11D41DA77DAD7669F3841C0FF31EE90B11D418F29494C689F3841B0A6A28794B11D41696732C2699F3841A080711798B11D41123592396B9F3841F0D5949D9BB11D412E9264B26C9F3841E008031A9FB11D41747AA52C6E9F3841D095B28CA2B11D416B02CB6D6E9F384140D5B793A2B11D414AE289AE6E9F3841D0926DB1A2B11D411CE863EE6E9F384140E699E5A2B11D41DA9FDC2C6F9F3841801ED72FA3B11D4132467A696F9F3841F088948FA3B11D41C8B5C6A36F9F3841008A1704A4B11D41634D50DB6F9F3841800A7D8CA4B11D419CCDAA0F709F3841F02FBB27A5B11D41360FCF9A709F3841A02828EAA5B11D417FF65825719F384100885AB3A6B11D41EC3D43AF719F3841F0A44A83A7B11D41FAA58838729F38412096F059A8B11D4169F523C1729F384170304437A9B11D4174F90F49739F3841A0073D1BAAB11D41F15A421EA99F38412072F90F08B21D41B2D1001EB19F3841E0FD657708B21D41153FC6FCBB9F384140F38ED306B21D418E7EFBDABC9F3841E0C117A60AB21D414C74241702A03841907CD0B38EB31D41A1D634CF379F3841205374246BB11D41779CA2832F9F3841708A8E641EB11D41924AEA042D9F3841C089B061B7B01D41224A7BE32D9F38418028ED0D91B01D411EA7E868119F3841B00A46A5A5B01D4167BC74F30F9F384160B740826BB01D413208ACDC849D384130C3642AB2AF1D41DE361A80849D3841F0C798BBD5AF1D4194E61D87849D3841408D97EEF0AF1D411AAE4781849D3841D0CD19D10DB01D418D75717B849D3841B033A2B42AB01D4172F90FC9849D3841F04A590646B01D41E88C282D859D3841F02A871663B01D41B4D1009E859D3841A0FD65777EB01D41D3B35955869D384100B4C8F699B01D418EE4F2FF869D38412054E325B7B01D4157863856879D384140999919C3B01D41BC051254889D38411010E9B7DEB01D41C210C71A899D3841808B6C67F3B01D41BBB91BAD899D3841A037A14900B11D41D2EE5A498A9D384130BD8C240DB11D41D6E37EEF8A9D3841D0FEB4F719B11D419E6E819F8B9D3841702AA0C226B11D413E075C598C9D3841F0BAD48433B11D4144C8071D8D9D3841607FD93D40B11D41D02B65598E9D384160B0E16953B11D413DC6DC958F9D3841D0E1E99566B11D41F47C3FF5909D384110CE19D179B11D41536B9A77929D3841C0073D1B8DB11D419A900FFA939D384140666666A0B11D41B91E85AB959D38419072F90FB2B11D414160E550979D3841308C4A6AC5B11D41A50A4625999D3841E0C03923D7B11D41569FABED9A9D3841304D848DEAB11D41C2AA9FE89B9D384120C46998F3B11D41C7490DE79C9D384100833B9DFCB11D41A021F2E89D9D3841402BE49B05B21D4156CF4BEE9E9D3841906F4E940EB21D41DCE717F79F9D3841B00E658617B21D41CAF75303A19D3841E0D7127220B21D41FCF67540A39D384110D1225B32B21D4126F6977DA59D38412038674444B21D41C610C7BAA79D38417031772D56B21D41B6B88D26AA9D3841D08F317766B21D416EF085A9AC9D384140B7D18078B21D4188EB5138AF9D3841C0D022DB88B21D41B6AF03C7B19D3841E07C3F3599B21D41DCC7989BB49D3841007CF2B0A9B21D4137DF4F4DB79D3841A02C431CBAB21D41D612F221BA9D3841602BF697CAB21D41062B87F6BC9D3841002AA913DBB21D41B9627FF9BF9D3841208E75F1E9B21D4132211F14C39D3841E0285C8FFAB21D41E4581717C69D3841C08C286D09B31D41C86D3460C99D3841A043FA6D18B31D410F143F86CC9D38419088635D27B31D41F8285CCFCF9D3841803F355E36B31D41EF41CF46D39D3841E0C9C3C243B31D41888EE4B2D69D3841D085C9D452B31D411A8C4A2ADA9D3841E0EBC03960B31D411A2FDDC4DD9D3841A0C420B06DB31D4192ED7C5FE19D3841200BB5267BB31D41D022DBF9E49D38416008AC9C88B31D417814AE67C09E384160CCCCCC94B61D4112BE3099DE9E3841504DF30EA6B61D41B596900F59A0384120780B245BB71D41149E5E495AA0384140560E2D32B71D4159302A6954A0384150EBE2B623B71D4120C224EC53A03841907F02B521B71D416AB68F6753A03841303468D21FB71D41C4FFE7DB52A03841E0D7DA101EB71D41103BB14952A03841D01402721CB71D41913375B151A0384190E064F71AB71D410E61C31351A03841D00968A219B71D419AAEDFC550A0384180EC020418B71D41DC3F6D6F50A0384190FAB78116B71D41AE920D1150A0384120D6581E15B71D41E0F370AB4FA03841405E7DDC13B71D419A35553F4FA0384120D67EBE12B71D41014D84CD4EA03841008273C611B71D416FAC5D9C4EA0384170D7369A10B71D418E70B9644EA0384140FFAE800FB71D41FCD808274EA0384160FA187C0EB71D41C674C9E34DA038415029878E0DB71D41C122849B4DA038416014DDB90CB71D4113FBCB4E4DA038416092CBFF0BB71D41048C3DED4CA03841B001E93F0AB71D41B19CE4874CA03841A0DDB38D08B71D4144D6DF1E4CA038418083AFE906B71D4168FE4EB24BA0384150055B5405B71D4164ED52424BA03841300331CE03B71D4152840DCF4AA03841B086A75702B71D41B2D7DFA949A0384130E9152CFDB61D41BC07E68F48A03841200421DAF7B61D41E872708147A0384170074D63F2B61D416A2FCC7E46A0384160A528C9ECB61D4117F5428845A0384120A04C0DE7B61D419B081B9E44A0384140575B31E1B61D417A8D9F1244A03841D0DCF54CDEB61D41FE22D28C43A03841D04FFA57DBB61D415652D20C43A03841201A1B53D8B61D419F46BE9242A0384100650E3FD5B61D41B0C5B21E42A03841E0EC8D1CD2B61D415C29CBB041A03841C0D556ECCEB61D419C6E1283BF9F3841606CE77BCEB21D417C9ECD4ABE9F38415051DA9BC7B21D41742D219FB39F384160C8073D93B21D41D25D4B88A09F3841808941606DB21D41F5CBEEA9549F38414061C3D3D0B11D4174B5155B449F384140C8073DA7B11D41A1D634CF379F3841205374246BB11D41020000000200000000026100000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(873318 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (875690, N'{C1F8A537-142B-43D1-9B15-499AB76EACF5}', N'013786121', 1480127, N'NWP2974', NULL, N'13786121', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'REM Lot 1', N'Block 2', N'', N'LOT 1 EXCEPT: PART TAKEN BY HIGHWAY STATUTORY RIGHT OF WAY PLAN 65039, BLOCK 2 DISTRICT LOT 172 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 2974', N'0088', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:36:44.000' AS DateTime), 355, 80, 0xBD0B000001040500000065006F4110A632414047727930A51C41649A777CFEA53241A06588E323A51C4170AC8BFBF1A53241B0BDC1975AA51C411873D752FDA5324120F1634C83A51C4165006F4110A632414047727930A51C4101000000020000000001000000FFFFFFFF0000000003, CAST(875690 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (879069, N'{15A66872-1CB6-4484-A32D-3F465B3AEACC}', N'011301783', 850629, N'KAP1818', NULL, N'11301783', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot L', NULL, NULL, N'LOT L SECTION 11 TOWNSHIP 14 OSOYOOS DIVISION YALE DISTRICT PLAN 1818 EXCEPT PLAN 39746', N'0063', N'0016', N'NO', N'ICIS CADASTRE', 5, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-08-01T14:47:56.000' AS DateTime), 128, 46, 0xBD0B0000010405000000142653E5DE7636415092CB7F44F32141683BDF2FE0763641C86B093929F32141E851B85ED7763641D056ECEF26F321412EED0D1ED5763641907D1DF841F32141142653E5DE7636415092CB7F44F3214101000000020000000001000000FFFFFFFF0000000003, CAST(879069 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (880387, N'{BB80EEC9-981A-4C7D-9DF3-57E0186C1472}', N'001712128', 12869, N'VIP218D', NULL, N'1712128', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'Block 62', NULL, N'THAT PART OF LOT 6, BLOCK 62, SHAWNIGAN LAKE SUBURBAN LOTS, SHAWNIGAN DISTRICT, PLAN 218D SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 30765I AND CONTAINING 0.80 OF AN ACRE MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:58:51.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 3057, 268, 0xBD0B00000104210000001161C3D358E23141206A4DF3D9D518414EA952F05DE23141E0060C80D6D518412486E90A63E2314180BC4ADFD2D5184192A76E2368E2314170891B11CFD51841D9C7C8396DE23141804C9115CBD5184110ACDE4D72E2314100C7BFECC6D518417924975F77E23141F098BB96C2D518411E3DA1FF7CE23141E089849DBDD518412555869C82E23141A0D2AC6CB8D51841180B243688E23141A03C5404B3D51841991158CC8DE23141C0E89B64ADD518412530005F93E23141B049A68DA7D51841FD43FAED98E231418024977FA1D51841740B24A89BE23141D074931823D51841733ECA008BE2314130651FE035D518419432B5367AE23141E034629C46D518416A4DE84D69E2314180CA5B4955D518411E4C6E4A58E23141D01A8AE361D51841604C583047E23141A0F7E9676CD5184155D3BC0336E23141C0CEF7D374D51841C898BB7634E2314140F38ED3ECD51841BA4F819D36E23141A01344FAEBD51841F6A413C438E231413068FB18EBD518419EBD70EA3AE23141F0B3B52FEAD51841DEBE96103DE2314180BF733EE9D5184136CE83363FE23141705A3645E8D518413B11365C41E23141905CFE43E7D518418E20C04745E23141E0944C4EE5D5184197AE6F3249E231412018013EE3D518415073391C4DE2314120D72113E1D518414829120551E23141D010B5CDDED51841D28DEEEC54E23141704FC16DDCD518411161C3D358E23141206A4DF3D9D5184101000000020000000001000000FFFFFFFF0000000003, CAST(880387 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (880768, N'{150D9CA7-CFC3-4E9F-B40F-F77EB4C8E04A}', N'011062274', 296584, N'PRP4769', 90069991, N'11062274', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 51', NULL, NULL, N'LOT 51 DISTRICT LOT 370 RANGE 5 COAST DISTRICT PLAN 4769', N'0163', N'0011', N'NO', N'ICF', 0, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2020-11-09T08:45:34.000' AS DateTime), 3122, 234, 0xBD0B000001040600000080ED7C7F1A7F294130F9A007492B304140DF4F0D707F2941C419511A552B30419328ED0D6F7F2941801F632E422B3041FDDF2D106C7F2941F4285C0F052B3041FE3C9B15177F2941B4726811062B304180ED7C7F1A7F294130F9A007492B304101000000020000000001000000FFFFFFFF0000000003, CAST(880768 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (881197, N'{FE579621-6F60-4F3D-B9A7-002CE7721968}', N'001673581', 3, N'NO_PLAN', NULL, N'1673581', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 90', NULL, NULL, N'THAT PART OF LOT 90, MALAHAT DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 12768F AND CONTAINING 1.45 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 5, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:48:21.000' AS DateTime), CAST(N'2020-03-19T16:14:45.000' AS DateTime), 5075, 405, 0xBD0B0000010407000000ADFA5C2DBDEC3141E08AFDE50F4D1841A40A460503ED3141E0F90FE9044E18412AED0D1E37ED3141C0C3422D0C4E1841E60434D1D0EC3141E0ACFADCAF4C184113E9B70FABEC3141B0CB7F48374C1841EEB0506B99EC31417027A0099E4C1841ADFA5C2DBDEC3141E08AFDE50F4D184101000000020000000001000000FFFFFFFF0000000003, CAST(881197 AS Numeric(38, 0)), NULL) +GO +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (881383, N'{32D8D255-2B5B-43EF-8BB3-31173767F60D}', N'006040608', 18622, N'VIP5097', NULL, N'6040608', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', NULL, NULL, N'LOT 1, SECTION 18, RANGE 4, QUAMICHAN DISTRICT, PLAN 5097', N'0089', N'0007', N'NO', N'ICIS CADASTRE', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T16:55:56.000' AS DateTime), CAST(N'2021-02-16T16:38:20.000' AS DateTime), 2043, 183, 0xBD0B0000010405000000EE1648F003CE31414083C0CAA9B71941240F0BF526CE3141C0635D5C5FB71941D41B7CC105CE3141B045B673ADB61941CC915CBEE6CD314150E2C71811B71941EE1648F003CE31414083C0CAA9B7194101000000020000000001000000FFFFFFFF0000000003, CAST(881383 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (883156, N'{ECDFD48C-0193-4E95-BC84-881CBABFA2EB}', N'005725933', 13056, N'VIP7386', NULL, N'5725933', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1, SECTIONS 18 AND 19, RANGE 4, QUAMICHAN DISTRICT, PLAN 7386 EXCEPT PART IN PLAN 12945', N'0089', N'0007', N'NO', N'ICIS CADASTRE', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T22:16:26.000' AS DateTime), CAST(N'2021-06-23T14:27:00.000' AS DateTime), 6681, 416, 0xBD0B000001040A0000005ACA32A472CD3141B0FC87F485B81941C3D32B4573CD31410054E3A58AB819410DBE303993CD3141A0FF907E75B9194129A089D0D1CD3141E068006F14B81941B96B0919E9CD31417019E2D8E2B71941CA20B032C2CD314160257582D7B71941C8BAB80DADCD314190B20C7196B7194115AE478191CD314110AF94E50EB71941F7DBD7C18BCD314190D49A661DB819415ACA32A472CD3141B0FC87F485B8194101000000020000000001000000FFFFFFFF0000000003, CAST(883156 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (883185, N'{20FA76B2-35EF-46C2-9C11-090CAC222740}', N'001647041', 126053, N'VIP1227', NULL, N'1647041', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 8', N'', N'', N'THAT PART OF LOT 8, SECTION 48, SOOKE DISTRICT, PLAN 1227 SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 31255I', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:17:48.000' AS DateTime), CAST(N'2021-06-25T15:01:12.000' AS DateTime), 1925, 198, 0xBD0B0000010410000000ABBDC1B75FDC314150B29D6F6A261741900F7A9662DC31410064CC5D6026174197081B9E33DC3141E0B7AF83192617416819E2D829DC3141A024977F43261741EB839E4D2EDC314150C7BA3858261741DC6766562ADC314100B7CF136726174198AF1D6526DC314140DA1508762617419E5BCE7922DC31412041671585261741405D82941EDC3141C0BB9D3B942617418D9643B51ADC3141B0DB927AA32617414CDA1BDC16DC3141E0F21FD2B22617419253746436DC314160302A29E426174117E2587743DC3141209E5EA9B52617419A559FEB46DC314140105839C4261741C142ADC94FDC3141607EFBBAA3261741ABBDC1B75FDC314150B29D6F6A26174101000000020000000001000000FFFFFFFF0000000003, CAST(883185 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (883251, N'{B2A024A8-DC52-4767-A11F-AFB31F7DEB72}', N'008260478', 117903, N'VIP877', NULL, N'8260478', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 31', N'Block 9', N'', N'THAT PART OF LOT 31, BLOCK 9, SECTION 24, VICTORIA DISTRICT, PLAN 877, COMMENCING AT THE SOUTH-WEST CORNER OF SAID LOT; THENCE NORTHERLY ALONG THE WESTERN BOUNDARY OF SAID LOT FOR A DISTANCE OF 84.4 FEET; THENCE SOUTHERLY ON A CURVE TO THE LEFT HAVING A RADIUS OF 683.8 FEET FOR A DISTANCE OF 88.6 FEET MORE OR LESS TO A POINT ON THE SOUTHERN BOUNDARY OF SAID LOT DISTANT 27.3 FEET FROM THE SAID SOUTH-WEST CORNER OF SAID LOT; THENCE WESTERLY ALONG SAID SOUTHERN BOUNDARY OF SAID LOT TO THE POINT OF COMMENCEMENT; SAID PARCEL CONTAING .02 OF AN ACRE MORE OR LESS AND IS SHOWN OUTLINED IN RED ON PLAN ATTACHED TO DD 25041I AND WHICH COMPRISES THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY THROUGH SAID LOT AS RIGHT OF WAY IS SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:55:56.000' AS DateTime), CAST(N'2021-06-29T17:27:06.000' AS DateTime), 98, 61, 0xBD0B0000010406000000CC66D5A73E39324170EE5A42408C1741E751B8BE3E393241401E166A1C8C1741621058393F39324120E4839EF88B17414082E2673739324100539621028C1741A333A2F43E39324120BD5216648C1741CC66D5A73E39324170EE5A42408C174101000000020000000001000000FFFFFFFF0000000003, CAST(883251 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (884773, N'{342F08FC-6A62-479B-9DB0-72ACFCD6A503}', N'006285252', 491808, N'KAP23640', 3665111, N'6285252', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', NULL, NULL, N'LOT 1 DISTRICT LOT 3233 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 23640', N'0163', N'0019', N'NO', N'MODIFIED-ICF', 13, N'DATACOMPILATION', N'UNKNOWN', N'1', N'31998', CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-10-18T08:10:57.000' AS DateTime), 32016, 835, 0xBD0B000001042100000090B96B690DA9374160B45975C75E1D41854160851DA93741204CA60AA95F1D413780B7202DA93741E0F97EEA925F1D413FC6DC55DFA93741C03FA4DF855E1D41C0C11766DCA93741002D211F595E1D4114FF80ABDAA93741C05E427B405E1D416D5E8B61D8A9374190BB4495285E1D413E3A328DD5A93741E0332CA1115E1D41C0219E34D2A93741603AEED0FB5D1D416471175FCEA9374100070554E75D1D413479F614CAA9374150440857D45D1D41F452915FC5A9374170FC4B03C35D1D4115902749C0A9374170A8867EB35D1D4174EBCBDCBAA9374180197FEAA55D1D41822F4C26B5A9374170F8C2649A5D1D41322AA9539EA93741D02E6EA3735D1D41A460E17393A93741008EED095E5D1D417E7CC91689A93741900485BD445D1D41743976507FA93741808139EF275D1D410A31D83376A9374180BADBD6075D1D41922797D26DA9374120079CB2E45C1D41A1D6EF3C66A9374140DF91C6BE5C1D41C57694815FA93741F0EC375C965C1D41CB4590AD59A93741D0AADDC16B5C1D4160402ECC54A9374190A70F4A3F5C1D416040E3E650A937419094F74A115C1D414EAA3B054EA93741304DB51DE25B1D41CCCCCC2C4CA93741002DB21DB25B1D41E851B85E49A9374160643B5F345B1D4174C7291A13A93741F0B35975505B1D4160325570FEA8374140341136BB5C1D419E45B67322A93741A08BDBE8B55D1D4190B96B690DA9374160B45975C75E1D4101000000020000000001000000FFFFFFFF0000000003, CAST(884773 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (884983, N'{545291D2-6335-4ADE-ACCA-01E639E58069}', N'016487834', 3, N'NO_PLAN', NULL, N'16487834', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2013-04-16T00:00:00.000' AS DateTime), N'506', NULL, NULL, N'REFERENCE PLAN OF CLOSED ROAD IN DISTRICT LOT 506 O.D.Y.D. ASSIGNED PLAN 43830', N'0157', N'0016', N'NO', N'ICIS CADASTRE', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-10-28T13:56:40.000' AS DateTime), 6929, 474, 0xBD0B000001040A00000022D26F7FC74F364180976E92BF132141091B9E7EB64F3641C098BB16BD1321414FFC18139D4F3641509D8026ED13214174BE9FDAA44F3641684469AF21142141F8A067B32550364138992A1827152141589FAB4D2C503641609318841F152141837346B4FE4F364130DF4F0D811421410D71AC4BEC4F364198E8486E4F142141FF87F43BE04F36416068916D1614214122D26F7FC74F364180976E92BF13214101000000020000000001000000FFFFFFFF0000000003, CAST(884983 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (885312, N'{94A1A963-C7A8-494B-BBE0-373AF990F64A}', N'018285121', 1313049, N'LMP10710', NULL, N'18285121', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-02T00:00:00.000' AS DateTime), N'Parcel A', N'', N'', N'PARCEL A SECTION 17 BLOCK 6 NORTH RANGE 1 EAST NEW WESTMINSTER DISTRICT REFERENCE PLAN LMP10710', N'0105', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2021-11-18T13:04:33.000' AS DateTime), 1547, 294, 0xBD0B000001040B0000005A2041311EE232418013F241C4091D4101B37B32FFE13241203199AAF0081D41CC8F3177F2E13241E0907E7BB4081D411695D429E5E1324170B662FFD3081D41DCBE0E3C39E23241A0764F9E690A1D41F29E3CAC3EE23241B0B0E1E95C0A1D41C976BEFF35E23241A0AEB6E21D0A1D412865198239E23241F0C64B37160A1D41196A4DB331E23241C0F75363DF091D4182AEB6222DE23241803BDFCFC9091D415A2041311EE232418013F241C4091D4101000000020000000001000000FFFFFFFF0000000003, CAST(885312 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (885874, N'{A7BEFDD3-F5F3-46EF-8990-7E9422FAF6B7}', N'010101365', 3, N'NO_PLAN', NULL, N'10101365', NULL, N'73107123000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'3639', NULL, NULL, N'DISTRICT LOT 3639 KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLANS 43275 AND KAP45713', N'0163', N'0028', N'NO', N'ICF', 7, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-12-22T12:34:44.000' AS DateTime), 435684, 4346, 0xBD0B0000010417000000642BF617A301354130C05B20ADA92141DEE9957246023541D04B37C9C5A9214165F7E4C196013541A8D1005E0BA82141172653658000354118A089B093A621412E211F14200035414803780B84A621417A0B24A809003541006F814458A62141F6CBEE89B5FE344178A52CC322A62141865AD3BC92FE3441309E5E2937A92141642BF617A301354130C05B20ADA92141982A183587003541580AD7E36DA6214199658883A4013541804BC887EEA72141E09387C550023541F89E3CEC9FA92141D63D79B82F033541C820B072CDA9214193976E324A0335414060E5D037A7214105AD0AB130033541D87D161230A7214123D24060170335416800472426A72141057C064CFE02354148A1270C1AA72141EE833480E502354138F46ECF0BA72141D48E8108CD02354178B3D674FBA62141BA847CF0B402354160931804E9A62141808CB98BD501354160C9E5FFD9A62141231FF40CCF01354198B96BC9A2A62141982A183587003541580AD7E36DA62141020000000200000000020900000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(885874 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (886028, N'{ED307E54-F040-4461-B87D-6F70826BE851}', N'008908613', 873366, N'KAP15053', NULL, N'8908613', NULL, N'P24183', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 20', NULL, NULL, N'LOT 20 DISTRICT LOT 257 KAMLOOPS DIVISION YALE DISTRICT PLAN 15053 EXCEPT PART IN PLAN 35668', N'0055', N'0028', N'NO', N'ICF', 0, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2022-01-07T13:09:55.000' AS DateTime), 148, 70, 0xBD0B0000010404000000C0529681835435413041F1A3EBCC23414F05A37285543541C05B2001D8CC234152F38ED3675435418851495DD3CC2341C0529681835435413041F1A3EBCC234101000000020000000001000000FFFFFFFF0000000003, CAST(886028 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (886632, N'{C629E7F1-09F7-42AC-A92B-624142898008}', N'009737812', 859084, N'KAP9128', NULL, N'9737812', NULL, N'72606707500', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot A', N'', N'', N'LOT A DISTRICT LOT 2570 KAMLOOPS DIVISION YALE DISTRICT PLAN 9128 EXCEPT PLAN KAP63219', N'0163', N'0028', N'NO', N'ICF', 7, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:38.000' AS DateTime), 1046, 136, 0xBD0B0000010405000000A5E8484E89E1354140D8F074C4DB26417D2F4CC66AE1354190DD930704DC2641B7AF03077BE1354128D8F0F425DC2641EA6A2B369AE13541A8999919E5DB2641A5E8484E89E1354140D8F074C4DB264101000000020000000001000000FFFFFFFF0000000003, CAST(886632 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (886957, N'{E03C6C36-D0B6-44BE-A974-EF2802719AB5}', N'014707888', 469761, N'NEP4890', NULL, N'14707888', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', NULL, NULL, N'LOT 1 DISTRICT LOT 812 KOOTENAY DISTRICT PLAN 4890', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-11-23T16:30:21.000' AS DateTime), 213954, 1901, 0xBD0B00000104300000001B04560E04D93941B04C150CE85A1E41E6C03943FAD83941E0D9ACFAF85A1E417FAEB602EAD839414045D8F0155B1E416E68918DDDD83941602F4CA62D5B1E41692BF677C1D8394140DC4683455E1E4196F6067FBED83941005D6D45995E1E41801D38879ED83941B07346941D621E41648FC27553D93941C0718A0E20621E41762D217F60D93941F018735721621E416ADE71AA73D939410081954327621E411EC9E5DF84D93941F0EBC0B930621E412A1895F497D9394110D5E7EA3F621E413A674429A8D93941703D0AD750621E41DA8AFDA5B4D9394120B7D18060621E414EF38ED3B6D93941D011143F23621E41C554C188B7D9394190F2B0500F621E4168AA6054BED93941E044D8F04F611E41F853E3E5C4DA394180711B0DE5611E41C6073D7BD4DA3941603255302E601E41966E12E3C3DA394100728A0EC35F1E414C03780BB7DA3941E0D9AC7A835F1E4196180456B0DA3941D041CF66265F1E41D444D850ACDA3941A0E8482EBF5E1E41AC2C435CA9DA39418064AAE0245E1E419D89B0A1ADDA394130A245B6D65D1E4168F7E481B0DA3941F053E325975D1E413F1CEBE2ABDA39410035EF38635D1E41601058999FDA3941704AEA84015D1E41914AEAC48DDA394160A2B4B77A5C1E419AE61D0784DA39411075021A335C1E41846CE7BB75DA39412093A902045C1E4106560EAD58DA3941F0BD3099A55B1E41539621AE44DA394190AC8B5B665B1E41B69465A836DA3941F09EABAD3C5B1E415496218E2EDA3941302AA913385B1E41167C6192CAD93941003A924BFF5A1E417E9ECDEAB5D9394180BB9690F35A1E41A201BCE579D93941E0D9AC7AD15A1E4173F90F2975D9394170946588D35A1E41BEF528BC68D93941303FC6DCDC5A1E417858A83554D93941006900EFE95A1E41627FD9DD3DD93941904DF38EF35A1E411A3FC69C30D93941F05205A3F85A1E4161CC5DEB27D9394190CD19D1FA5A1E413F355E7A22D93941C08F3177F05A1E4152158C2A1AD93941A0923A01E65A1E416644694F11D93941404772F9E25A1E411B04560E04D93941B04C150CE85A1E4101000000020000000001000000FFFFFFFF0000000003, CAST(886957 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (887024, N'{C699B740-A408-404D-ADE9-968D3DAD0A5E}', N'010981454', 489063, N'NEP7843', 36354641, N'10981454', NULL, N'7866592100', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'', N'', N'LOT 2 DISTRICT LOT 14558 KOOTENAY DISTRICT PLAN 7843', N'0163', N'0004', N'NO', N'ICF', 13, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:58.000' AS DateTime), 24578, 767, 0xBD0B00000104050000003A1136DCAC0F394198F83166B8F82241559FAB0DC80F3941F0A59B0414F72241A6ADD8DFE40E394148136103C0F62241644BC8A7E30E3941F0285C8FBFF622413A1136DCAC0F394198F83166B8F8224101000000020000000001000000FFFFFFFF0000000003, CAST(887024 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (887426, N'{FFF594AC-90DD-4BA1-B4A8-B95DAFE2C411}', N'002172232', 1182908, N'NWP34579', NULL, N'2172232', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2012-08-22T00:00:00.000' AS DateTime), N'REM Lot 116', N'', N'', N'LOT 116 DISTRICT LOT 17 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 34579 EXCEPT PLAN EPP12758', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:36:54.000' AS DateTime), 763, 114, 0xBD0B00000104050000004313618325AE3241E0D6A370DB6E1C4121B0724812AE3241F0AF72682F6F1C416C66662626AE3241701F63EE696F1C4160764FDE3CAE32419088D25EFA6E1C414313618325AE3241E0D6A370DB6E1C4101000000020000000001000000FFFFFFFF0000000003, CAST(887426 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (890447, N'{4FD72EB2-200A-48A6-B34D-143B6DC5B549}', N'010919473', 869993, N'KAP3139', NULL, N'10919473', NULL, N'P21350', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'', N'', N'LOT 2 DISTRICT LOT 16 KAMLOOPS (FORMERLY LYTTON) DIVISION YALE DISTRICT PLAN 3139', N'0163', N'0028', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:10:42.000' AS DateTime), 3197, 248, 0xBD0B0000010407000000DA9AE6FDE24834417046943691AC2341DBACFABCDF4834419058A87577AC2341959999B9CE483441D063CC1DEFAB2341152653C5AC483441A0C8767EFDAB2341DF0B9329BE48344140EA04F4ADAC23410AF016E8E0483441784DF3CE92AC2341DA9AE6FDE24834417046943691AC234101000000020000000001000000FFFFFFFF0000000003, CAST(890447 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (892257, N'{72AA1DC3-860E-4234-B4F4-1EBA5A2539D9}', N'015313654', 3, N'NO_PLAN', 8744051, N'15313654', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'B', N'2798', N'', N'PARCEL B (REFERENCE PLAN 97257I) DISTRICT LOT 2798 KOOTENAY DISTRICT', N'0163', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-01-09T12:16:44.000' AS DateTime), 52354, 947, 0xBD0B000001040600000045BF7D7D6B7C3A4198C42030FD6C20416A6FF0E5067D3A4140CB1007476C2041442575C2717C3A41C84B3789416A20413C1136DC287C3A41103FC61C266A20418CB96B49067C3A41F8C9C302A56B204145BF7D7D6B7C3A4198C42030FD6C204101000000020000000001000000FFFFFFFF0000000003, CAST(892257 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (894726, N'{7ADC3F0E-B120-4139-94F7-D092D9C1C076}', N'005090105', 246698, N'PRP1076', NULL, N'5090105', NULL, N'03512.520', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 27', N'Block 2', N'', N'LOT 27 BLOCK 2 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076 EXCEPT PLAN PRP13761', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:44.000' AS DateTime), 194, 66, 0xBD0B0000010405000000E06800EF252E2C41EC60C393FCA03041A1D634EFFC2D2C41382AA953EDA03041624469EFF32D2C4164F38E73F3A03041A3D634EF1C2E2C4150EA04B402A13041E06800EF252E2C41EC60C393FCA0304101000000020000000001000000FFFFFFFF0000000003, CAST(894726 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (894731, N'{B63383DC-B2E3-4DEC-8D29-0FA1C41D4CC2}', N'005090164', 246698, N'PRP1076', 35720861, N'5090164', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 32', N'Block 2', N'', N'LOT 32 BLOCK 2 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 290, 91, 0xBD0B00000104050000000CF241CFF82D2C41286A4D331BA1304132BB27CFBB2D2C4170BC747304A13041DC6800AFB22D2C41B80E9C930AA13041704DF3CEEF2D2C412C2AA95321A130410CF241CFF82D2C41286A4D331BA1304101000000020000000001000000FFFFFFFF0000000003, CAST(894731 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (894742, N'{7C6D7705-695A-48B7-A840-31D4639B415A}', N'010128239', 247225, N'PRP6025', 35362221, N'10128239', NULL, N'03610.510', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 SECTION 14 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 6025', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:54.000' AS DateTime), 19056, 594, 0xBD0B000001041200000074A3017CBC272C411873D7F29BAE30411D0681D5DF262C41BCF1D2CD9CAE30418CA0F831E4262C4188B0E1E970AF3041CDE53FA4ED262C41F01648B06CAF304101A3923AF7262C41F4B0508B68AF3041CBC56DF400272C411C5A647B64AF30416329CBD00A272C4184D2DE8060AF304132BB27CF14272C411C51DA9B5CAF30412FC4B1EE1E272C413CE8D9CC58AF304129C4B12E29272C41E0CEF71355AF3041FE3A708E33272C417CE09C7151AF30418B3A010D3E272C41706FF0E54DAF30419E79C7A948272C41C03B4E714AAF30412641F16353272C41887CD01347AF3041D110C73A5E272C41A8F1D2CD43AF30416991ED3CBF272C415420411127AF3041EFD24D22BF272C4170F2B0D021AF304174A3017CBC272C411873D7F29BAE304101000000020000000001000000FFFFFFFF0000000003, CAST(894742 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (895405, N'{3364E182-A025-45DC-A3A7-E680EA6CDFCB}', N'000017477', 645953, N'VIP883A', NULL, N'17477', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 34', N'Block 1', N'', N'LOT 34, BLOCK 1, DISTRICT LOT 132, ALBERNI DISTRICT, PLAN 883-A', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:39.000' AS DateTime), 650, 150, 0xBD0B00000104070000000388F47B149D3041B0BE0E1C38AC1C41F7E46141149D304180CB7F4860AC1C41394ED191209D3041306A4DF35DAC1C413480B740559D3041A0D85FF653AC1C41992A1815559D304130CFF7D32BAC1C4131C4B12E1A9D30414026C20637AC1C410388F47B149D3041B0BE0E1C38AC1C4101000000020000000001000000FFFFFFFF0000000003, CAST(895405 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (895419, N'{0D449E98-F18F-4AAA-A610-201FD5EF9A11}', N'000017027', 3, N'NO_PLAN', NULL, N'17027', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 249', N'', N'', N'THAT PART OF DISTRICT LOT 249, ALBERNI DISTRICT, INCLUDED IN PLAN 148 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:38.000' AS DateTime), 666, 123, 0xBD0B000001040D000000C27D1D78397B304160B4C876BA731D414E6B9A97397B3041603D0A57A5731D4185635D3C3A7B3041A06D348036731D4100DE02E9307B30418024068153731D4110D044D82A7B304170EA73B566731D41F31648D0247B3041F0DBD7817A731D412AE483DE1E7B304190EB51B88E731D4130C4B1CE197B3041004FAF94A1731D418E4AEAE4127B3041F07A142EBC731D415AD3BCC3207B3041A096908FBB731D4188D2DE60337B3041A035CDBBBA731D414A9D8066337B304100C898BBBA731D41C27D1D78397B304160B4C876BA731D4101000000020000000001000000FFFFFFFF0000000003, CAST(895419 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (895426, N'{356FAF8A-0FF8-45D9-BC23-139B700411F7}', N'004430174', 653367, N'VIP14406', NULL, N'4430174', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 1', N'', N'', N'LOT 1, DISTRICT LOT 167, ALBERNI DISTRICT, PLAN 14406 EXCEPT PLAN VIP63944', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:38.000' AS DateTime), 22667, 621, 0xBD0B0000010406000000384ED151939130413082E2C7B0151D418E06F0F61E9130416067B3EAA2151D41C130990A1D91304130B5157BA7181D418EA0F8B16191304160B6F37DC1181D4182B7400290913041A0EA73B5BF181D41384ED151939130413082E2C7B0151D4101000000020000000001000000FFFFFFFF0000000003, CAST(895426 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (896288, N'{99C3E37C-C0F9-4C4A-BA63-0E725168AE64}', N'015988091', 495795, N'NEP941', NULL, N'15988091', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 60', N'', N'', N'LOT 60 SECTION 36 TOWNSHIP 8A KOOTENAY DISTRICT PLAN 941', N'0163', N'0019', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:37:46.000' AS DateTime), 42698, 1122, 0xBD0B000001040F0000003F82E2A75B913841904C150CB2C71D4170787AC59A913841A072689160C71D4131B29D2F9D913841B0ED7C3F4DC71D41E4C7987BF590384160CA32C444C31D411A2FDD04D5903841802C431C7DC21D418A7CD0B3CE903841B0A59B4456C21D41B76B0999CA903841206F81043DC21D41CB98BB9694903841A0D5566CE8C01D411CC05B207C903841C046037843C11D411E63EEDAA29038417073681118C31D41BFF528DCA3903841D00FE93724C31D4118AE47E1B7903841D0BDC11716C41D413DA4DFFE0791384140BC7413DEC71D4132E6AE250991384120DFE08BDDC71D413F82E2A75B913841904C150CB2C71D4101000000020000000001000000FFFFFFFF0000000003, CAST(896288 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (896361, N'{2E838968-793B-4B7C-BE0B-884A92498164}', N'002933365', 491402, N'KAP34687', 90053118, N'2933365', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'', N'', N'LOT A DISTRICT LOT 1904S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 34687', N'0163', N'0019', N'NO', N'ICF', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:36:27.000' AS DateTime), 24653, 637, 0xBD0B0000010406000000F2B050CBCC3137411032E6EE3637204125F46C16AF3137417006F016DB3520416AF7E4A13731374178B96B09C23520417BF2B05035313741D0E76AABE935204182C0CAA12331374160C1A8A413372041F2B050CBCC3137411032E6EE3637204101000000020000000001000000FFFFFFFF0000000003, CAST(896361 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (897006, N'{FB1DDE52-F63A-4223-BD4A-F3A64B10A115}', N'024123722', 296847, N'PRP42281', 90056933, N'24123722', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', CAST(N'1998-04-20T00:00:00.000' AS DateTime), N'Parcel A', N'', N'', N'PARCEL A DISTRICT LOT 360 RANGE 5 COAST DISTRICT PLAN PRP42281', N'0144', N'0011', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:13:24.000' AS DateTime), 2193, 217, 0xBD0B000001040D000000E475E01CAF6D2941FC43FAED1E2C30419328ED4DC26D2941804BC827152C3041AAF3FD14C26D2941245A64FB122C3041AD0C71ECC16D2941983F357E112C30413C8B6C67216D2941D4AACF15162C304148378901266D2941180F0B35402C304174006FC13B6D2941D06D34E03B2C3041BC293A924D6D294110E02D50382C30418DA0F831616D2941F465F764342C3041AC9690CF746D2941E0EBC079302C3041840D4F6F886D2941D8718A8E2C2C3041F3A7C60B9C6D2941C4EEC9A3282C3041E475E01CAF6D2941FC43FAED1E2C304101000000020000000001000000FFFFFFFF0000000003, CAST(897006 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (897158, N'{D110644C-312A-43DD-938C-A564F91A047F}', N'013977652', 295389, N'PRP968', 29850321, N'13977652', NULL, N'01251.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 20', N'Block 106', N'Section 2', N'LOT 20 BLOCK 106 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:42.000' AS DateTime), 260, 72, 0xBD0B00000104050000002395D4490F7A2B4144D6C56DD7643141DF61A156237A2B41E0AE2544D76431419E57CA72227A2B41D020B052BD6431415E5452670E7A2B414048507CBD6431412395D4490F7A2B4144D6C56DD764314101000000020000000001000000FFFFFFFF0000000003, CAST(897158 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (899644, N'{A29A19A2-F24E-49ED-B2C8-FC32C1A6657F}', N'014148854', 1168260, N'NWP11126', NULL, N'14148854', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'REM Lot E', N'', N'', N'LOT E EXCEPT: PART ON STATUTORY RIGHT OF WAY PLAN 28237, DISTRICT LOT 316 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 11126', N'0067', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T10:01:50.000' AS DateTime), 13074, 510, 0xBD0B000001040A000000F1C9C3E249113341C0F21FD29A531C414503782B4A113341400F0BB576531C4194E4F2BF4A113341B0B19DEF2C531C416409F9205211334130A7E848B2521C41C1C117C63A113341E034EFB893521C41BA270F8B1B11334170643BDF8B521C4178832F0C0B11334120F1634C83521C4114FBCB4EA3103341909ECDAAF8511C41E86A2B16A010334180C954C183531C41F1C9C3E249113341C0F21FD29A531C4101000000020000000001000000FFFFFFFF0000000003, CAST(899644 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (901596, N'{1F8CE02F-E560-4E9A-9B2A-B9D669961241}', N'013749684', 1480869, N'NWP2541', NULL, N'13749684', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2016-07-31T00:00:00.000' AS DateTime), N'REM Lot 10', N'Block 1', N'', N'LOT 10 EXCEPT: FIRSTLY; PART DEDICATED ROAD ON PLAN LMP21755, SECONDLY; PART ON PLAN 74467, BLOCK 1 DISTRICT LOT 758 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 2541', N'0088', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:36:34.000' AS DateTime), 422, 86, 0xBD0B00000104050000004DA60A26B2A53241D048507C3D8C1C4146477299A5A53241C073B5951A8C1C41A2A223B994A53241C04525757B8C1C416C19E278A3A532419010C7BA918C1C414DA60A26B2A53241D048507C3D8C1C4101000000020000000001000000FFFFFFFF0000000003, CAST(901596 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (902277, N'{686CFB12-2DEE-458E-B1E2-137A102F29AE}', N'013656856', 1476193, N'NWP2151', NULL, N'13656856', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-24T00:00:00.000' AS DateTime), N'REM Lot 10', N'', N'', N'LOT 10, EXCEPT; PART ON SRW PLAN 26541 DISTRICT LOT 79 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 2151', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T13:20:27.000' AS DateTime), 544, 112, 0xBD0B0000010405000000DACEF7D3BAA032412020D2EFF4F61C41A59BC4C0CEA032418096210E81F61C41DBF97E6ACFA0324120772DA147F61C414A72F9CFBCA03241D0BCE39444F61C41DACEF7D3BAA032412020D2EFF4F61C4101000000020000000001000000FFFFFFFF0000000003, CAST(902277 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (902534, N'{A4982EED-8E6E-477E-AC4D-11F707F78DC7}', N'010046071', 851206, N'KAP2310', NULL, N'10046071', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Parcel A', N'REM Lot 17', N'', N'PARCEL A (PLAN A1032) OF LOT 17 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 2310 EXCEPT PLAN A1014', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:34.000' AS DateTime), 212, 67, 0xBD0B000001040A000000A2CDAA4F2D7A3641A01951DA72CE1C417CBE9F5A397A36413060E5505ECE1C41F731E62E337A36412022FD7601CE1C411B8C4A6A2B7A3641E0CD19D145CE1C41244A18F32B7A364100C0C3254DCE1C41DA23D2652C7A36411024F49154CE1C4197E737C22C7A364110C083115CCE1C4137E215082D7A3641808240A063CE1C41CCFB44372D7A3641F0DAEF396BCE1C41A2CDAA4F2D7A3641A01951DA72CE1C4101000000020000000001000000FFFFFFFF0000000003, CAST(902534 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (902775, N'{9716E9FB-F99B-4280-AF5A-B9730FAC92DE}', N'009139877', 854260, N'KAP13898', NULL, N'9139877', NULL, N'72606706080', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 2570 KAMLOOPS DIVISION YALE DISTRICT PLAN 13898 EXCEPT PLAN KAP63035', N'0163', N'0028', N'NO', N'ICF', 7, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:38.000' AS DateTime), 14492, 570, 0xBD0B0000010422000000E47A14AEA7E13541304CA6CA66DD26411083C0EAA9E135410819739773DD26416A09F920ADE13541D0F0F4CA80DD26415EDC4643B1E135411024283E8FDD2641A1ABADD8B6E135419801BC45A8DD2641742D217FBBE135412033C431BFDD264129871699BEE1354120197317CEDD2641531E160AC1E1354160029AC8D7DD2641D59AE6DDC4E135416044696FE5DD26416D09F960CAE135411041F123FADD2641A6CFD576CEE13541D05B20C10EDE2641CB32C431D3E13541A833A2B427DE26419CFF90BED8E1354198EA737543DE26417814AE87DCE1354158CE88D252DE2641B5627F79DFE135419079C7A95EDE26414E8D978EE4E13541200F0BB577DE2641054625D5E9E135417886381691DE2641DAF97E8AEDE13541A8ABAD58AADE26410BF241CFEFE1354188BC7493B5DE2641FFDD0249F2E1354110A5BD01C2DE264122B9FC07F9E13541C04E4013DEDE264140C6DCF5FAE13541303108ECE7DE264124287E0CFCE13541F00DBE30EFDE2641A6C64B17FCE13541E8BE0E1CEFDE2641244A7B0303E2354168635D1CE2DE26414F27A0292BE2354128A7E80896DE26411E1FF4CC01E23541F81648D098DD264156F5B95AFBE13541E019515A71DD2641BD86A797CEE1354100DB8AFD1ADD26415BA8356DA3E13541E0A59B843CDD2641AED85F969CE13541101895D441DD2641C47493F8A0E135417851499D4FDD2641E9B7AF63A5E1354140B6F3FD5CDD2641E47A14AEA7E13541304CA6CA66DD264101000000020000000001000000FFFFFFFF0000000003, CAST(902775 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (904544, N'{06329A96-489A-4C85-9989-32596778CA31}', N'023963794', 3192045, N'KAP59863', NULL, N'23963794', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1997-11-28T00:00:00.000' AS DateTime), N'Parcel A', N'', N'', N'PARCEL A DISTRICT LOTS 4701 AND 4702 OSOYOOS DIVISION YALE DISTRICT PLAN KAP59863', N'0138', N'0022', N'NO', N'PMBC-COMPILATION', 1, N'DATACOMPILATION', N'COGO', N'0', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-06-23T21:04:05.000' AS DateTime), 25635, 1217, 0xBD0B000001041A000000F0EBC05905483641A8490C02CA1020417FAEB6223A48364190742497AC102041B9F3FDF43D48364128FDF675AA1020410488F4FB4D48364100022B47D0102041BC86A7B759483641684694F6EB1020418F5C3C5C56483641C891BFE9C110204165A0F7C851483641F8083953981020414C28D2014C48364118721B576F102041DE12D00B454836410886FB1847102041B86CFCEC3C483641D80CC9BB1F10204141F163AC334836416889B061F90F204137B4C81608483641D8D0229B540F2041BE42AD29FF473641D854C1E82E0F2041297E8C39BD473641B013D084D80E20412D6EA3E17447364168BA498C3F0E2041A05E294B6547364140E8D96C9C0D204174A301DC614736411093A942510D2041BBA679A73047364108B5A6F9C60D20412463EE5A76473641302575C26D0E20411A51DA1B8B47364188180416AD0E2041C5E53F24C147364110098A1F000F204135DF4FEDB3473641A8CFD5166A0F204181FB3A70ED473641103B708E3910204108560EADE34736411831086C8D102041AA13D064F5473641E032C4F1DA102041F0EBC05905483641A8490C02CA10204101000000020000000001000000FFFFFFFF0000000003, CAST(904544 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (905449, N'{EF083CF9-F4DC-4723-844B-F02019F518E5}', N'010983902', 492598, N'NEP12321', 8773481, N'10983902', NULL, N'7075570100', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 1237 KOOTENAY DISTRICT PLAN 12321', N'0163', N'0004', N'NO', N'ICF', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-09-12T15:53:39.000' AS DateTime), 28838, 892, 0xBD0B000001042A00000085FB3A308AEC3841F08FA0F8C7A91E411E6C785A74EC3841C09999999FA91E41DBACFA3C65EC3841D040826282A91E41AC8BDBC82BEC384170BA498C12A91E41545227602BEC3841F0F2B05021A91E413B11365C29EC3841F04D62106AA91E41D0AACFF51BEC384160A69BC44DAB1E41173FC67C21EC3841106519E256AB1E414850FCB822EC38416060E55059AB1E418D4AEA442CEC3841A0ED7C3F5CAB1E41CECCCCEC2DEC3841F012F2C15CAB1E4138014D243CEC38410047037854AB1E41823F355E49EC3841704694F640AB1E41127A360B5AEC384130EB51B83FAB1E41EAC0394376EC3841F0C186A74DAB1E4144BD525684EC3841304547F260AB1E4126A089F08CEC38410000000079AB1E411EEBE2F690EC38410032E62E8EAB1E41265C8F2292EC3841204CA68AA9AB1E416FE7FB0990EC3841D0F528DCC2AB1E41D812F2C187EC384130022B87F8AB1E415ECC5D2B84EC3841304772F916AC1E41E4C0396381EC3841000C93A947AC1E411651DA3B7EEC384100FCA9F1B0AC1E41E07A142E7EEC384110DE0209C9AC1E419EC420F07EEC3841E0573934DCAC1E41E5482E1F83EC3841C06891EDEBAC1E4166226CB891EC38411093A98219AD1E419BB43778A0EC384190F46CD641AD1E41EBAE2524AFEC3841703D0AD76CAD1E41B4B88D46B6EC38419067B3EA88AD1E41996E1243B9EC384180DC4683AAAD1E41F4FDD498BAEC3841A0DCB584C0AD1E41644BC847BCEC384120C8763EC9AD1E4180D93D79BDEC384140D6C56DCFAD1E412DE6AE25C2EC38414082E2C7E0AD1E418E06F0B6DDEC384110C58F31FCA91E41C8FEB25BDAEC3841604694F6FAA91E416691ED7C97EC3841C0BCE394E0A91E41B19465E893EC384110D7A3F0D9A91E41ACF1D2CD90EC3841E00E0B35D4A91E4185FB3A308AEC3841F08FA0F8C7A91E4101000000020000000001000000FFFFFFFF0000000003, CAST(905449 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (905476, N'{D6054499-4D37-4CCF-AC0A-EB509EA7B1C5}', N'015503470', 3, N'NO_PLAN', NULL, N'15503470', NULL, N'7078983050', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART B', N'7523', NULL, N'THAT PART OF PARCEL B (SEE 18541I) DISTRICT LOT 7523 KOOTENAY DISTRICT INCLUDED IN REFERENCE PLAN 112532I', N'0163', N'0004', N'NO', N'ICF', 3, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-10-06T10:23:35.000' AS DateTime), 14207, 826, 0xBD0B00000104130000001095D4493C83384188FF213DB1572041D6CEF7B349833841D0CCCC0CE657204142E8D9AC4583384190D634AF375820411E85EB5150833841F84603B8AE582041547DAED65C8338416063EE1AD6582041083411965E833841085B427EDB5820419A6588E365833841C0293AD2D5582041D65F764F68833841684469AFAE5820411C1FF48C79833841E80E9CF38B572041F8DBD7417A833841C04D6210805720411095D4493C83384188FF213DB1572041744694363D833841A011A5BDEA5720410CF9A0E7308338417838D645BA57204156F5B91AF1823841C0E314DDEC57204193C2F58828833841887AA56C05592041A3B437985283384148DE71CAE45820418A5AD3BC4483384100917EBBB758204148BF7D5D39833841B84160A538582041744694363D833841A011A5BDEA572041020000000200000000020B00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(905476 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (906847, N'{7185FE47-F412-4AFD-8659-D43CA7C7F6C2}', N'011537825', 853340, N'KAP1005', NULL, N'11537825', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 5', N'Block 2', NULL, N'LOT 5 BLOCK 2 DISTRICT LOT 473 OSOYOOS DIVISION YALE DISTRICT PLAN 1005 EXCEPT PLANS 7383 AND H577', N'0138', N'0022', N'NO', N'ICIS CADASTRE', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-02-20T10:00:18.000' AS DateTime), 1721, 189, 0xBD0B000001040F000000C2A8A4EEE639364120F5B99AFC302041F2D24D82E3393641809BC4E007312041240F0B35E0393641308E7531133120410A1214FFDC393641A839238A1E3120414872F9CFD939364160B1BFEC2A3120413A8941C0D63936415007CE59373120418104C5CFD33936412885EBD143312041E1E995F2E5393641F0809503733120412CC28607F539364138AD699E5B312041910F7A76FB393641E83C9B55D4302041BECAA1A5F439364180E4F29FD2302041A6A44EE0F1393641381058F9D9302041A4F83126EE39364120E6AE25E5302041D3F75383EA393641003EE859F0302041C2A8A4EEE639364120F5B99AFC30204101000000020000000001000000FFFFFFFF0000000003, CAST(906847 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (907463, N'{B2FDDBED-8AB3-4B46-92B8-F0773583CB55}', N'001715151', 3, N'NO_PLAN', NULL, N'1715151', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART S2', N'2', N'4', N'THAT PART OF THE SOUTH 1/2 OF SECTION 2, RANGE 4, QUAMICHAN DISTRICT, SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 28083I AND CONTAINING 2.05 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 15, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T19:15:31.000' AS DateTime), CAST(N'2021-02-25T16:29:36.000' AS DateTime), 7678, 596, 0xBD0B000001040C00000049B6F3FDB3CE314130D3BCE36C4E1941E6F21F32BDCE314140DA1BFC494E19419F33A274C2CE314100053411354E19416F1B0DA0C7CE3141008273C61F4E1941827346B4CCCE31419075E01C0A4E19412697FFB0D1CE314140068115F44D194106F01688E9CE314130F8C264964D19412CED0D1EC5CE3141802C431C8D4D1941E6F21F52ADCE3141207C6132E04D19412DFF21BD08CE314170423EE86350194122F46C1637CE314170EEEBC05A50194149B6F3FDB3CE314130D3BCE36C4E194101000000020000000001000000FFFFFFFF0000000003, CAST(907463 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (907697, N'{FC81E4C2-A368-4C99-A542-625F220EBA55}', N'011091525', 864486, N'KAP1862', NULL, N'11091525', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Parcel 21', N'Lot 325', N'', N'PARCEL 21 ON PLAN A1273 OF LOT 325 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 1862', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-03-30T14:14:59.000' AS DateTime), 20110, 705, 0xBD0B0000010418000000B3946568E06B3641B0B12E6E26531D41B2BFEC1EF66B36410038F8C21D531D4111C7BA98F66B364190E848AE1D531D4170F90F89056C364140E6AE251B531D411CA7E8A80F6C3641D0FD65F7F1521D41D0D5560C156C3641000B24A8D2521D41D83D7978166C3641F047E17AB1521D414A0C028B136C3641A069DE714B521D41A0A223190F6C3641401FF4ECEE511D41CA293A32AA6B3641C0EDEB40E64F1D410EE9B7CF9E6B36413080B74021501D41CB20B0129B6B364120C05BA034501D411C95D429926B364100F163CC62501D41F03845A7906B364130143F465A501D419128EDAD786B364150643BDF99501D41E68C288D786B364120BB270F99501D41CDDEE06B616B3641408CB96BFD501D4167BC7413D26B364170F7E4613F531D41B3946568E06B3641B0B12E6E26531D4100BC05D2006D364100075F989B571D41A4B43758F86C3641001DC96576571D4124A08930F46C3641304B59862C581D4152D1915CFC6C3641B0BB969054581D4100BC05D2006D364100075F989B571D41020000000200000000021300000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(907697 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (907964, N'{597C577F-5A9A-42E7-AAEF-1D21F7CA66F6}', N'012745979', 868179, N'KAP55', NULL, N'12745979', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', NULL, N'REM Lot 12', N'Block 12', NULL, N'LOT 12 BLOCK 12 (PLAN B3666) DISTRICT LOT 706 YALE (FORMERLYOSOYOOS) DIVISION YALE DISTRICT PLAN 55 EXCEPT PLAN H831', N'0114', N'0022', N'NO', N'ICIS CADASTRE', 1, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-05-03T11:24:40.000' AS DateTime), 63, 39, 0xBD0B000001040400000075E09C31BC553541402C659901181F4198900FFABE55354130992A18C1171F4186635D7CB555354140EC2FBBE6171F4175E09C31BC553541402C659901181F4101000000020000000001000000FFFFFFFF0000000003, CAST(907964 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (908036, N'{4FBF8FC4-7BF4-4C7B-9BC1-6329C23646B5}', N'015506894', 495897, N'NEP1684', NULL, N'15506894', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'2000-04-06T00:00:00.000' AS DateTime), N'Lot 1', N'Block 10', NULL, N'THAT PART OF LOT 1 BLOCK 10 DISTRICT LOT 4598 KOOTENAY DISTRICT PLAN 1684 LYING NORTHWEST OF A LINE PARALLEL TO AND 45 FEET DISTANT FROM THE NORTHWESTERLY BOUNDARY THEREOF EXCEPT PART INCLUDED IN PLAN 6293', N'0146', N'0019', N'YES', N'PMBC-OPERATIONS', NULL, NULL, N'COGO', N'0', N'304.8', CAST(N'2021-05-14T10:39:29.000' AS DateTime), CAST(N'2021-05-17T16:12:17.000' AS DateTime), 310, 73, 0xBD0B000001040500000009C58FD1EA823841001C7CE1B6DE1D413911361CF882384190B43778A8DE1D41168C4A6AF1823841A0F8316651DE1D4124E4833EE4823841206F810462DE1D4109C58FD1EA823841001C7CE1B6DE1D4101000000020000000001000000FFFFFFFF0000000003, CAST(908036 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (908328, N'{950F7DF0-CF0C-47A3-9F59-C3BFD4818478}', N'016813391', 472289, N'NEP698', NULL, N'16813391', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Parcel 29', N'REM Lot 891', N'', N'THAT PORTION OF THE WEST HALF OF LOT 29 DISTRICT LOT 891 KOOTENAY DISTRICT PLAN 698 SHOWN WITHIN THE RED COLOUR BAND ON PLAN R 111, EXCEPT PART INCLUDED IN PLAN 6251', N'0028', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-05-30T20:19:18.000' AS DateTime), 5334, 386, 0xBD0B000001040B000000482575C2BFD43941106822EC80801E416CF90FA9A9D439416081044564801E41A635CD9B9AD43941F08095C350801E412B97FF9096D43941D09C1125C9801E41C07493B8F8D439414044696F5C811E41880D4F6FF7D43941C0AB1C5A7C811E4112C7BA1823D53941609B551FCD811E41605DDCC628D53941C0E76AAB21811E4168D5E7CAFED43941E00AB5A6D2801E416619E2F8D5D4394130355EBA9D801E41482575C2BFD43941106822EC80801E4101000000020000000001000000FFFFFFFF0000000003, CAST(908328 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (909374, N'{C80676D3-B052-4A1A-883B-9A025D4E10BF}', N'011412356', 3, N'NO_PLAN', NULL, N'11412356', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 111', NULL, NULL, N'THAT PART DISTRICT LOT 111 SIMILKAMEEN DIVISION YALE DISTRICT SHOWN RED ON PLAN ATTACHED TO DD 1689', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 1, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-07-21T09:00:05.000' AS DateTime), 33669, 2741, 0xBD0B000001044F000000803F35DEAE2B36417091EDFC61991D41F53A702EC62B364140287E0C29991D4143D8F014DD2B364160FF217DED981D41913A018DF32B364130D1225BAF981D41A6DFBE8E072C3641608104C574981D41861F632E1B2C36418053742438981D4122B072682E2C364150014D84F9971D4184D0B339412C3641801F63EEB8971D4196F6069F532C3641D0B12E6E76971D4181613295652C3641504DF30E32971D41F1F44A19772C3641A01AC0DBEB961D41EC263128882C3641204013E1A3961D41F65C6DA5B42D3641309E5E2921911D416ABC74738D2D3641A01E856B14911D4131DD24668D2D36419074931816911D419A6E12E3852D36414054E3253A911D4152158CCA7E2D3641304AEA845A911D41E98C288DCC2C364140871659AB941D41E0E99592B82C364120B6F37D0A951D4192A0F811702C364160143FC663961D41C1C11786622C3641D00B9329A3961D41B58D0690542C3641E0065F18E1961D41A6605432462C36416094F6861D971D41B596906F372C364160D5E76A58971D4188A7574A282C3641307E8CB991971D41DE9C1165162C364110560EADD1971D4187416005042C364140B1506B0F981D41B596902FF12B364140AF94E54A981D4155423EE8DD2B36418028ED0D84981D418A7CD033CA2B3641A0CFD5D6BA981D410122FD16B62B364170C5FE32EF981D41E661A196A12B364190BD521621991D41E34F8DB78C2B3641706ABC7450991D41D8F97E8A8C2B3641606210D850991D41529621EE762B3641606666667F991D41EAC03903612B364110E3369AAB991D418D28EDCD4A2B3641A067B36AD5991D41A9605452342B3641B0A813D0FC991D41A033A2941D2B3641A0EEC9C3219A1D419EA22399062B364120ED0D3E449A1D41E5AE2564EF2A364130598638649A1D41453EE8F9D72A3641F00CE0AD819A1D41B5490CC2C12A3641E02A87169B9A1D419C779C62AB2A36418010C73AB29A1D41B2B662DF942A3641A04F1E16C79A1D41E2BE0E3C7E2A3641900A46A5D99A1D41FA7E6A7C672A3641804160E5E99A1D41E6AE25A4502A364170855AD3F79A1D41DCE99592372A3641E0AE2564049B1D4174711B6D1E2A364110C3642A0E9B1D410EC7BA38052A3641709CA223159B1D41B0506BFAEB2936417016D94E199B1D4135AB3EB7D2293641509ECDAA1A9B1D41C0051274B929364170A2B437199B1D418E180436A0293641708FC2F5149B1D41FA4A59C65B2936418024977F009B1D41439B551F6E29364140355EBA7D9B1D41E6839E4DD429364160AC8BDB739B1D413670CE88E62936411095D409789B1D41EA61A176ED293641008F53F4769B1D41C7EEC9C3FB2936412075021A749B1D41160DE00D0A2A3641E0416065709B1D41B48BDB68202A3641D0AD47E1689B1D41E25817B7362A3641B0CB7F485F9B1D41AFEA73F54C2A36411008AC9C539B1D4118B7D120632A3641A0F606DF459B1D4114AE47017E2A3641E0F5285C329B1D4172AC8BBB982A364150840DCF1B9B1D414C1E164AB32A36416011363C029B1D4126C286A7CD2A364130302AA9E59A1D418C1F63CEE72A36418075711BC69A1D41EFF44AB9012B3641B0999999A39A1D41B837F8621B2B3641300C022B7E9A1D41D68AFDC5342B3641903D0AD7559A1D41FA6C56DD4D2B3641602F4CA62A9A1D41759CA2A3662B3641A0C0CAA1FC991D4166B3EA137F2B3641A0CE88D2CB991D4174F90F29972B3641D0C9C34298991D41803F35DEAE2B36417091EDFC61991D4101000000020000000001000000FFFFFFFF0000000003, CAST(909374 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (909558, N'{4255BDFF-1FF0-41B5-B058-59C77C8C08B7}', N'004768876', 389013, N'VIP3768RW', NULL, N'4768876', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'1998-02-03T00:00:00.000' AS DateTime), N'REM Lot 22', N'', N'', N'LOT 22 SECTION 92 ESQUIMALT DISTRICT PLAN 12477 EXCEPT PLAN 3768 RW', N'0154', N'0005', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'437.4', CAST(N'2016-07-20T15:50:33.000' AS DateTime), CAST(N'2021-08-04T09:42:44.000' AS DateTime), 441, 92, 0xBD0B00000104050000008F7EFBBAF226324140B6F37DE7941741A2ABADD8FA26324140355E3A22951741E726314812273241504ED191319517412F90A0F814273241101283C0EF9417418F7EFBBAF226324140B6F37DE794174101000000020000000001000000FFFFFFFF0000000003, CAST(909558 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (909736, N'{9BCB0DF6-F589-4E51-8FFE-60F76722D3CF}', N'015871185', 490661, N'NEP1291', NULL, N'15871185', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, NULL, NULL, NULL, N'PARCEL B (SEE 21551I) OF LOT 5 DISTRICT LOT 1073 KOOTENAY DISTRICT PLAN 1291', N'0146', N'0019', N'NO', N'PMBC-OPERATIONS', 4, N'LSA', N'UNKNOWN', N'0', N'239.3', CAST(N'2020-10-19T16:54:28.000' AS DateTime), CAST(N'2021-08-11T10:45:40.000' AS DateTime), 178, 56, 0xBD0B0000010405000000799318447B773841F012614318DA1D4167226C9884773841F06DA30123DA1D4131B29DAF87773841E08AFDE5D7D91D412F2AA9537E773841C000DE02D1D91D41799318447B773841F012614318DA1D4101000000020000000001000000FFFFFFFF0000000003, CAST(909736 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (910425, N'{204830D2-ED1D-4704-9929-FD9F0B13425E}', N'001607545', 3, N'NO_PLAN', NULL, N'1607545', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 75', N'', N'', N'THAT PART OF SECTION 75, ESQUIMALT DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 15473I AND CONTAINING 4.54 ACRES MORE OR LESS, EXCEPT PART IN PLANS 47158, 48147 AND VIP72445', N'0065', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:17:48.000' AS DateTime), CAST(N'2021-09-27T09:30:42.000' AS DateTime), 15685, 1337, 0xBD0B000001042000000038EF3865B912324120D04458416517411495D409C3123241F05CFEC34D6517414CB81E65CE123241503411B65C6517410946253519133241702EFF21BE6517410D4FAFB43213324180863856DF65174142575BD1901332416041F1E359661741AEEA73D5B0133241502A189583661741D319517AB1133241908CB96B84661741E5D0225B0B143241F0D85F76F9661741BC0E9C1314143241A0A982D104671741C66D34C01A14324160A7574A0D671741FFE68C6820143241E0FDD47814671741CBC3424DA414324100D200DEC06717412F90A0B8AD14324140499D805F6717414A2EFF21AE14324170361A405B671741F675E0BCA914324120DD2486556717411E1FF44CA9143241F0CEF7D359671741AEBFEC5E1B1432417005A392A0661741D9A3705D1B14324140DBF9FE9F661741842F4C8608143241404772F987661741EFF44AF9EF123241E0141DC919651741617FD95DE512324180B20CF10B65174150D1915CDC123241C076BE1FFF64174138EF3865B912324120D0445841651741F9285C6FD9143241A0C2F5A897671741861F63EECF14324190F8C2E4F967174196438B6C18153241F0718A8E586817411426534524153241B09999194D681741E2E00B13301532415060E5504068174155302AC93B1532412080B74032681741EAD9ACDA45153241004625F524681741F9285C6FD9143241A0C2F5A897671741020000000200000000021800000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(910425 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (911334, N'{CB228A3A-61A2-4D50-8A87-C9842A313A36}', N'015424693', 3, N'NO_PLAN', NULL, N'15424693', NULL, N'7079247000', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, NULL, NULL, NULL, N'THOSE PARTS OF DISTRICT LOTS 8220 AND 8221 KOOTENAY DISTRICT INCLUDED IN REFERENCE PLAN 89806I EXCEPT PLAN NEP66095', N'0163', N'0004', N'YES', N'ICF', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'0', N'14444', CAST(N'2019-03-18T12:28:04.000' AS DateTime), CAST(N'2021-11-23T16:00:19.000' AS DateTime), 14344, 542, 0xBD0B00000104070000004A477259E5E83841B037F802862E20411BE25877DAE8384140A0F8314F2F2041D468000F18E9384100A01A6F5C2F2041E51DA7C82EE938416027A0C9952E20414EA60AE653E9384178BE9FDAF22D2041626DC57EEEE8384188A0F8F1DC2D20414A477259E5E83841B037F802862E204101000000020000000001000000FFFFFFFF0000000003, CAST(911334 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (912729, N'{F2524F7C-8EFF-4C77-AF7D-A509E3EC8487}', N'010018158', 490973, N'KAP5953', 4076401, N'10018158', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', NULL, NULL, N'LOT 1 DISTRICT LOT 700 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 5953', N'0163', N'0019', N'NO', N'ICF', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-04-24T11:14:22.000' AS DateTime), 6745, 405, 0xBD0B000001040800000086EB515836A5374130B4C87659021D41F07C3F754AA53741B0C876BE71021D413ADF4F2D57A53741D00C71AC96021D418DC2F5C881A53741D0EC9EBCAA031D41FAA9F192B2A5374180F085C930021D41D0F7534354A53741005D6D45FB011D41B2B662BF22A5374100CCEEC9E2011D4186EB515836A5374130B4C87659021D4101000000020000000001000000FFFFFFFF0000000003, CAST(912729 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (913192, N'{90C12D9A-FF75-445F-97CD-C763C571FEA3}', N'017510023', 495890, N'NEP380', NULL, N'17510023', NULL, N'707833005', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Block S', N'', N'', N'LOT S DISTRICT LOT 184 KOOTENAY DISTRICT PLAN 380 EXCEPT (1) PART INCLUDED IN PLAN R349 AND (2)PART INCLUDED IN PLAN 18375', N'0163', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:16.000' AS DateTime), 1933, 216, 0xBD0B000001040800000098DD93E75C3439418820B0321FE7204190976E926134394178D0B39927E72041A4DFBE2E6634394188EE5A4230E72041E0BE0EBC6A343941908CB92B39E72041C6FEB2FB9C343941E8AE25A49DE7204136D6C58D9E343941708A8EA483E72041A6605492A3343941B8A8A48E30E7204198DD93E75C3439418820B0321FE7204101000000020000000001000000FFFFFFFF0000000003, CAST(913192 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (914423, N'{A929BA3F-2DC3-4DD8-B250-0AEAC25AADFC}', N'008120552', 12849, N'VIP1002', NULL, N'8120552', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 1', NULL, NULL, N'THAT PART OF LOT 1, DISTRICT LOT 101, MALAHAT DISTRICT, PLAN 1002, LYING TO THE WEST OF THE ISLAND HIGHWAY AS SAID HIGHWAY IS SHOWN ON PLAN 570 RW EXCEPT THAT PART IN PLAN VIP64830', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T22:26:56.000' AS DateTime), CAST(N'2021-02-25T09:41:45.000' AS DateTime), 1656, 230, 0xBD0B0000010406000000B615FBABFE033241E03845C7B0C31841D65F76EF050432417047E17A6DC3184140C6DC75A1033241901C5AE45DC31841FA285CCFA0033241300C02ABA1C31841AE25E443E5033241B0E8D9ACACC31841B615FBABFE033241E03845C7B0C3184101000000020000000001000000FFFFFFFF0000000003, CAST(914423 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (914431, N'{9CCCC149-535D-4EE2-8860-9BA3EF5B332C}', N'017387973', 17360, N'VIP52127', 90076833, N'17387973', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 1', NULL, NULL, N'LOT 1, DISTRICT LOT 82, MALAHAT DISTRICT, PLAN VIP52127', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T18:06:08.000' AS DateTime), CAST(N'2021-02-25T09:38:33.000' AS DateTime), 7599, 791, 0xBD0B000001040D000000B9847C30170532412047727994B8184189635DBC1605324160A3013C9DB818415BC1A8A413053241A03C2C54D9B81841648FC2753A053241D0BAB88DDEB8184113D044F846053241A0FC8774E0B818418EED7C7F4A053241B02B65194FB71841D568006F4C0532419050FC9855B4184166BC74934E05324100AAF1D222B3184187635D7C4B05324120992A9836B31841BF42AD093C053241E096908F5DB51841225A643B3705324150BE9F1AABB61841DD2406212205324190EFA7C629B81841B9847C30170532412047727994B8184101000000020000000001000000FFFFFFFF0000000003, CAST(914431 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (914653, N'{15D2670C-D38D-4E8B-A482-9C8B1C5F70F6}', N'001674048', 12592, N'VIP218B', NULL, N'1674048', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'Block 48', NULL, N'LOT 4, BLOCK 48, SHAWNIGAN LAKE SUBURBAN LOTS, MALAHAT DISTRICT, PLAN 218B', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T16:28:35.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 10119, 401, 0xBD0B0000010409000000BFF5281C0CEA3141D067B3EAB98A18417C0B24A8EEE93141B0DBD701B48A1841A90A46C5CDE931413082E247B28A1841AA2C439CA6E9314190F163CCB08A1841479D8086A5E93141F01DA7E83E8C184120C9E55FCAE93141B0ABAD58428C1841A8ADD8BF0AEA3141701D38E7458C1841C31726730BEA31418023B9FC798B1841BFF5281C0CEA3141D067B3EAB98A184101000000020000000001000000FFFFFFFF0000000003, CAST(914653 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (915095, N'{197B1FAA-D4B3-43E9-AFD6-C03A41AD446B}', N'005638739', 8173243, N'VIP8015', NULL, N'5638739', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1950-08-10T00:00:00.000' AS DateTime), N'Lot A', N'', N'', N'LOT A, SECTION 11, RANGE 2, CRANBERRY DISTRICT, PLAN 8015', N'0163', N'0021', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'749.5', CAST(N'2021-01-22T15:10:08.000' AS DateTime), CAST(N'2021-01-22T15:11:01.000' AS DateTime), 755, 235, 0xBD0B00000104050000000D9C33A29C8A3141A088D2DE24CF1B41C4051234D78A3141303EE8D92ACF1B4114022BE7D98A314140499D8015CE1B414CAF94C5CC8A3141B0B74082F6CE1B410D9C33A29C8A3141A088D2DE24CF1B4101000000020000000001000000FFFFFFFF0000000003, CAST(915095 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (915555, N'{2DAE7AC5-7CD7-4A48-B90B-913DC04023F8}', N'005727049', 127092, N'VIP7392', NULL, N'5727049', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 5', N'', N'', N'THAT PART OF LOT 5, SECTION 8-A, LAKE DISTRICT, PLAN 7392 LYING EAST OF THE EASTERLY BOUNDARY OF PLAN 770 RW, EXCEPT PART IN PLAN 2395 RW', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:32:01.000' AS DateTime), CAST(N'2019-01-05T10:56:06.000' AS DateTime), 605, 105, 0xBD0B000001040A0000007B711B2D3F363241A06054D2CECC1741D088D2BE3E363241D08AFDE5D5CC174188855A533E363241B0B584FCDCCC17416ADE71EA3D36324160984C15E4CC174136EF38C5493632417051491DFDCC1741189E5E095A363241B099999982CC1741FF18739754363241C066D5E772CC17419BF606FF4E36324140E10B1364CC1741139C334249363241B052962156CC17417B711B2D3F363241A06054D2CECC174101000000020000000001000000FFFFFFFF0000000003, CAST(915555 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (915617, N'{DED1EA0B-141A-4F5E-8EBB-E343C92452DD}', N'007428405', 118430, N'VIP1397', NULL, N'7428405', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', N'Block 4', N'', N'LOT 3, BLOCK 4, SECTION 33, VICTORIA DISTRICT, PLAN 1397, EXCEPT PART LYING SOUTH EAST OF THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:35:14.000' AS DateTime), CAST(N'2019-01-05T10:56:17.000' AS DateTime), 17, 33, 0xBD0B0000010405000000DBC56DF4403B3241507B832FF5951741A6E848CE363B3241F051491DC59517411E4A7B833E3B3241F0573934F69517414FA60A063F3B3241C045B673F9951741DBC56DF4403B3241507B832FF595174101000000020000000001000000FFFFFFFF0000000003, CAST(915617 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (918021, N'{29FE77F5-B9AE-4DFB-835A-E541043ADC9A}', N'016375564', 3, N'NO_PLAN', NULL, N'16375564', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART 1087', N'', N'', N'THAT PART OF DISTRICT LOT 1087 KOOTENAY DISTRICT SHOWN OUTLINED RED ON PLAN 1154, EXCEPT (1) BLOCK A AND (2) PART INCLUDED IN PLAN 11748', N'0163', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:18:46.000' AS DateTime), 82086, 1879, 0xBD0B000001040C0000000EAC1C1AA3A9394130B740C21E28254192B96B299EA9394110DCD7812B282541DDC798FBE1A93941B03C2C543E2825410C3D9B1518AA3941386210584D28254113BE3099A5AB39411868226C482425415CC1A8E4B0AB3941B8915CFEA2232541D25F762FC2AB3941A8226CB8A5222541B21C5A04A6AB3941187FD9BDED2225410422FDB686AB3941C05D4B883E2325414637892141AA3941E8D022DB862625413A11361CE4A93941281058B9762725410EAC1C1AA3A9394130B740C21E28254101000000020000000001000000FFFFFFFF0000000003, CAST(918021 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (918742, N'{FF1999C4-E0F6-4C72-A59E-8EDA051F83E2}', N'001718371', 3, N'NO_PLAN', NULL, N'1718371', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 8', N'2', N'', N'THAT PART OF SECTION 8, RANGE 2, QUAMICHAN DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 14342F AND CONTAINING 3.72 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 42, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T22:36:04.000' AS DateTime), CAST(N'2019-01-07T18:34:04.000' AS DateTime), 901, 142, 0xBD0B00000104050000000BB5A6790EC6314190A145364D751941A1CDAA8F1FC63141E026C286F77419418C1804D616C6314100B37BF24B741941ED2FBB6706C6314160302A299F7419410BB5A6790EC6314190A145364D75194101000000020000000001000000FFFFFFFF0000000003, CAST(918742 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (919136, N'{ACAF6905-5126-4A25-BC77-D69D6F09DF7D}', N'000376108', 3, N'NO_PLAN', NULL, N'376108', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 6', N'10', N'', N'THAT PART OF SECTION 6, RANGE 10, SAHTLAM DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 14329F', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 42, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T16:28:35.000' AS DateTime), CAST(N'2019-01-07T18:31:29.000' AS DateTime), 17667, 1282, 0xBD0B00000104230000005AC1A8E421BF3141907EFBBAF58319413770CEA8C9BE3141007F6A3CEB831941E92631C892BE3141600AD7A3318419416B006FE184BE314100DA1B7C42841941E49C11E576BE31419089B061528419414BEA04D468BE3141A0855A5361841941457B83AF5ABE3141E0CDAA4F6F84194112C7BA784CBE3141B01804567C8419416229CB303EBE314150F8C26488841941DA34EFD82FBE3141B0FEB27B938419413645477221BE3141F02B65999D841941BBD100FE12BE3141C011A5BDA68419416A88637D04BE3141308B6CE7AE84194177E09CF1F5BD314110501E16B6841941856CE75BE7BD314120A7E848BC841941D6A370BDD8BD314130000080C1841941F7C264CAC4BD3141F0B7AF03C78419411C3867E4B9BC31416019E25805851941F63A706EB9BC3141E0C9C34282851941BFE3147DC4BD3141E065F764428519413F355E9ADCBD3141401B0D603B851941D412F261EBBD3141601283C035851941CB6D3420FABD3141D05296212F8519414BEA04D408BE3141406F818427851941C0F5287C17BE3141E0B0E1E91E8519411AE2581726BE314180A98251158519411C3867A434BE3141905AD3BC0A851941452EFF2143BE3141A07AA52CFF8419414E840D8F51BE3141F0E461A1F2841941F5C264EA5FBE3141509A771CE5841941C620B0326EBE3141D051B89ED68419414A94F6667CBE3141000C9329C7841941666FF0858ABE3141407FD9BDB68419414D8D978E98BE3141003FC65CA58419415AC1A8E421BF3141907EFBBAF583194101000000020000000001000000FFFFFFFF0000000003, CAST(919136 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (919928, N'{D9AB5A61-244E-4484-AACD-723AFFC20CEC}', N'012429490', 629004, N'PGP12116', NULL, N'12429490', NULL, N'005465.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 1', N'Block 22', N'', N'LOT 1 BLOCK 22 SECTION 32 TOWNSHIP 83 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT PLAN 12116', N'0038', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:29:45.000' AS DateTime), 684, 121, 0xBD0B00000104050000009AF606FF1F2B3441B047E1FAC83C3341A033A214212B344140014D04BA3C334114E25897F32A3441482EFFA1B63C3341DA1B7C81F22A3441F4FDD498C53C33419AF606FF1F2B3441B047E1FAC83C334101000000020000000001000000FFFFFFFF0000000003, CAST(919928 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (921014, N'{AA3DDA80-E4B0-4ADC-A877-62CB916525D4}', N'010982051', 486765, N'NEP8646', 8769631, N'10982051', NULL, N'7075557012', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 1236 KOOTENAY DISTRICT PLAN 8646', N'0163', N'0004', N'NO', N'ICF', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:21:14.000' AS DateTime), 62553, 1607, 0xBD0B00000104230000009175715BE9003941709AE61D15601E4186B0E169E2003941106F8184965F1E414603782B270039413011C7BA3B601E413E2CD4BAEFFF3841900A46A56C601E413D196714F4FF38413026E34C74601E419C952C5DF8FF3841402DAB867C601E41BBC1F193FCFF384120ED505085601E414AC788B70000394150F55EA78E601E41DE2DC9C6040039418042388998601E41DE2D90C00800394170FC18F3A2601E411048051A18003941F03E2244B7601E41AAEEEFD327003941B009AF47C6601E41DC750FD13700394160E9D1E1CF601E41A92EA6F3470039412073AE00D4601E4176B9B01D58003941F07C9A9CD2601E41CBD91D3168003941E05E2CB8CB601E41426406107800394100253660BF601E41D4DDE49C87003941A0B4ADABAD601E41DA65CCBA96003941901682BB96601E41E8839E4DA500394170355EBA7A601E419175715BE9003941709AE61D15601E419E11A5DDA7FF384140265385D0601E41A8C64B77C2FF3841609A779CE2621E412D08AC9C20013941B051499D04641E41265C8F82EE0039413003780B73601E411C41F183E800394130211F7482601E4154F74B05D10039415065B104B6601E41D5417A67B8003941406FFB63E0601E41B578DEE39E00394130D4362F01611E411E9FF2B584003941C03AF11918611E41AABDBD1A6A003941008ABEEE24611E41D89E45504F0039419076B58F27611E41FE39FE9434003941103EB5F61F611E417E1D38271A003941B0EA73350E611E419E11A5DDA7FF384140265385D0601E41020000000200000000021500000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(921014 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (921494, N'{3242D750-164F-4F7C-BB89-93ACEDF5F36C}', N'005011299', 652176, N'VIP12352', NULL, N'5011299', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'UNKNOWN', NULL, N'REM Lot 2', N'', N'', N'LOT 2, DISTRICT LOT 136, ALBERNI DISTRICT, PLAN 12352 EXCEPT PARTS IN PLANS 2051 RW AND EPP27639', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:50.000' AS DateTime), 5977, 340, 0xBD0B000001040F000000F263CCDD5CA3304110098A9F7CDB1C4109E0CC585FA3304170700CF377DB1C417E5D50B661A33041902AE16672DB1C41757B6DF163A3304150448D066CDB1C41D347820566A33041C0594EDF64DB1C4106DE3DEE67A330418016FFFF5CDB1C41775DA9A769A33041E05DF87854DB1C41D324302E6BA330415059EF5B4BDB1C41A341A77E6CA3304160B2D0BB41DB1C41110454966DA33041304699AC37DB1C41F8A9F1726EA3304190A52C432DDB1C41FB53E3A571A33041303867C4FFDA1C410DC7BAF816A330414005A3129ADA1C41F11FD28FFBA23041D0E3A51B1FDC1C41F263CCDD5CA3304110098A9F7CDB1C4101000000020000000001000000FFFFFFFF0000000003, CAST(921494 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (921525, N'{40C59FD2-A322-4F37-9838-5603C533EEEC}', N'000017442', 645953, N'VIP883A', NULL, N'17442', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 9', N'Block 1', N'', N'LOT 9, BLOCK 1, DISTRICT LOT 132, ALBERNI DISTRICT, PLAN 883-A', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:39.000' AS DateTime), 624, 145, 0xBD0B000001040D000000E5E2369AE89C3041A0F831E677AB1C41C13923AAE89C3041A0F753E377AB1C4191B96B890F9D3041E0AF036770AB1C41945CFEC30F9D3041F0C7983B48AB1C41BDA8A4AED89C3041E0D091DC52AB1C414EDA1B9CD89C304190D2DEE052AB1C412D211FB4D19C3041C0EA733554AB1C411BB7D120D19C30418058A8357AAB1C415A522720D19C3041E01B7C617AAB1C419DB43718D19C30418068916D7CAB1C4182FB3A10D29C3041607FD93D7CAB1C41708A8E24D29C3041E059F5397CAB1C41E5E2369AE89C3041A0F831E677AB1C4101000000020000000001000000FFFFFFFF0000000003, CAST(921525 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (921529, N'{12082A8D-A24C-4B3D-9569-D91FCDDB9873}', N'000016071', 646724, N'VIP2024', NULL, N'16071', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'Block D', N'', N'THAT PART OF LOT 6, BLOCK D, DISTRICT LOT 258, ALBERNI DISTRICT, PLAN 2024, SHOWN OUTLINED IN RED ON PLAN 139 R', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:38.000' AS DateTime), 874, 177, 0xBD0B000001040A000000B7490CC2A76D304180DEE00BF2B01D4112022BC7A76D304100FDF6F5F1B01D41BB847CD0B46D3041803D0AD7B9B01D41E76A2B56BB6D304190CE88D29CB01D41D4CCCC6CC16D3041F0BE0E9C81B01D41D756EC6FB16D304150F38ED37FB01D41A133A2D49E6D3041F0839ECDD0B01D413E9B55FF886D3041303867C42DB11D4158C1A884886D304190BB961077B11D41B7490CC2A76D304180DEE00BF2B01D4101000000020000000001000000FFFFFFFF0000000003, CAST(921529 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (923150, N'{2EAF9A55-815E-405C-ACCC-7E89BC9FC6A8}', N'010596518', 297147, N'PRP5335', 1559831, N'10596518', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 310 RANGE 5 COAST DISTRICT PLAN 5335', N'0061', N'0011', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:13:03.000' AS DateTime), 25213, 630, 0xBD0B00000104070000000244FA2D0C5329411855306AC5B82E41722F4CA6E353294100C28627CFB82E41E4BE0E5CD4532941585BB13FB1B82E41E268002FE6532941B8A67907AFB72E41A423B9BCE1522941084D840D6BB72E4139D8F0745B522941C09387855CB82E410244FA2D0C5329411855306AC5B82E4101000000020000000001000000FFFFFFFF0000000003, CAST(923150 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (923296, N'{0C9B5705-EDB3-494C-8C16-E5E0FF4F4BA2}', N'013843125', 295346, N'PRP974B', 29721481, N'13843125', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 18', N'Block 42', N'', N'LOT 18 BLOCK 42 DISTRICT LOT 851 CASSIAR DISTRICT PLAN 974B', N'0163', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:19:36.000' AS DateTime), 367, 93, 0xBD0B000001040600000013B7D1408A502B4144F8C204BF6031413DA4DFFE8A502B41E49387A5E36031415196210E9F502B41FC8C288DE3603141BC96904F9E502B41243A92EBBE6031418A1804968D502B410CF77500BF60314113B7D1408A502B4144F8C204BF60314101000000020000000001000000FFFFFFFF0000000003, CAST(923296 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (923359, N'{4C547737-7DC3-46CD-81B5-635B6465AB21}', N'013977628', 295389, N'PRP968', 29845371, N'13977628', NULL, N'01251.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 17', N'Block 106', N'Section 2', N'LOT 17 BLOCK 106 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:38.000' AS DateTime), 260, 72, 0xBD0B000001040500000043355E7A5F7A2B41604BC8C7D6643141FF2A87965E7A2B413CB4C8D6BC6431411A95D4894A7A2B4198E4F2FFBC643141C5B12E6E4B7A2B41AC7268F1D664314143355E7A5F7A2B41604BC8C7D664314101000000020000000001000000FFFFFFFF0000000003, CAST(923359 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (923360, N'{2EA7334D-E3CD-49E7-841B-0881CCB5132B}', N'013977857', 295389, N'PRP968', 23695381, N'13977857', NULL, N'01257.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 8', N'Block 111', N'Section 2', N'LOT 8 BLOCK 111 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:38.000' AS DateTime), 233, 66, 0xBD0B0000010405000000819ECD2A717A2B4120EF38E59064314170348037857A2B4154E3A5BB90643141DFB5847C847A2B41F05C6D857964314199D6346F707A2B41684469AF79643141819ECD2A717A2B4120EF38E59064314101000000020000000001000000FFFFFFFF0000000003, CAST(923360 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (926462, N'{78597E2B-A613-4868-B4E7-F423DEF248DE}', N'011331879', 1303888, N'VAP4742', NULL, N'11331879', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-15T00:00:00.000' AS DateTime), N'Lot 55', N'Block 25 & 28', N'', N'LOT 55 BLOCKS 25 AND 28 DISTRICT LOT 599 PLAN 4742', N'0092', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T10:50:26.000' AS DateTime), 372, 94, 0xBD0B0000010409000000A86054D2187A3241306EA30171861D412975029A187A324120711B0D99861D41E68C28CD187A324100BEC11799861D416D787A653D7A324140A7E8C8A0861D419DABAD983D7A3241403CBDD2A0861D414B2EFFC13D7A3241C0F5285C78861D411AFBCB8E3D7A3241C0A9825178861D41DE938705197A32418095430B71861D41A86054D2187A3241306EA30171861D4101000000020000000001000000FFFFFFFF0000000003, CAST(926462 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (927297, N'{D8986120-81B0-4493-94F2-93B5721A60E6}', N'003576825', 1313956, N'NWP65281', NULL, N'3576825', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-02T00:00:00.000' AS DateTime), N'REM Parcel 25', N'REM Lot 25', N'', N'PARCEL 25 EXCEPT: PART DEDICATED ROAD ON PLAN LMP21638, SECTION 17 BLOCK 6 NORTH RANGE 1 EAST NEW WESTMINSTER DISTRICT PLAN 65281', N'0105', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:44:34.000' AS DateTime), 374, 147, 0xBD0B000001040400000082AEB6222DE23241803BDFCFC9091D4101B37B32FFE13241203199AAF0081D415A2041311EE232418013F241C4091D4182AEB6222DE23241803BDFCFC9091D4101000000020000000001000000FFFFFFFF0000000003, CAST(927297 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (927678, N'{40C533E2-5BF1-43AE-9FF0-BD5DB9023F23}', N'006441319', 128441, N'VIP111', NULL, N'6441319', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Parcel C', NULL, NULL, N'THAT PART OF LOT 2 (INCLUDING PART ON PLAN 6 RW), SECTION 4, VICTORIA DISTRICT, PLAN 111, MORE PARTICULARLY DESCRIBED AS: COMMENCING AT A POINT ON THE NORTHERLY BOUNDARY OF LOT 2, DISTANT 89 FEET EASTERLY OF THE NORTHWEST CORNER OF SAID LOT; THENCE SOUTH 34 DEGREES 57 MINUTES ALONG THE EASTERLY BOUNDARY OF THAT PART OF SAID LOT REGISTERED UNDER NO. 23495I, A DISTANCE OF 150 FEET; THENCE SOUTH 54 DEGREES 30 MINUTES EASTERLY, PARALLEL TO THE SAID NORTHERLY BOUNDARY 44 FEET; THENCE NORTH 35 DEGREES 19 MINUTES EAST, 150.01 FEET TO THE SAID NORTHERLY BOUNDARY; AND THENCE WESTERLY 45 FEET TO THE POINT OF COMMENCEMENT SHOWN OUTLINED IN RED ON PLAN DEPOSITED UNDER NO. 35045I, TO WHICH PARCEL OF LAND THE REGISTRAR HAS ASSIGNED THE DISTINGUISHING LETTER C; NOW KNOWN AS: THAT PART OF LOT 30, SECTION 4, VICTORIA DISTRICT, PLAN 2214 SHOWN ON PLAN 1209 OS', N'0153', N'0005', N'NO', N'ICIS CADASTRE', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:49:17.000' AS DateTime), CAST(N'2021-05-11T10:53:47.000' AS DateTime), 499, 120, 0xBD0B0000010409000000614BC8074139324110448B6C837B1741462EFFA13B393241A06B0979657B17413F1361A33639324140FBCB6E467B17416644690F3239324170D3BC63267B17418616D90E2A393241A00C71AC3B7B174180B7408243393241406A4D73D37B1741880D4FEF4E39324190DFBE0EB57B17412A6519C244393241D06A2B76777B1741614BC8074139324110448B6C837B174101000000020000000001000000FFFFFFFF0000000003, CAST(927678 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (927802, N'{BB7825EC-E0D3-45C6-A61A-BBBA02F9F0E1}', N'000835838', 1479186, N'NWP7807', 90000591, N'835838', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'Lot 2', N'', N'', N'LOT 2 OF CITY LOT RESERVE 145 SUBURBAN BLOCK 9 PLAN 7807', N'0088', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:36:54.000' AS DateTime), 467, 88, 0xBD0B00000104050000005986389615AA324110827346EBAE1C4120B0720806AA3241F0D9AC7A30AF1C41A2703DAA13AA3241C039234A61AF1C41930F7A3626AA3241B05B20C10EAF1C415986389615AA324110827346EBAE1C4101000000020000000001000000FFFFFFFF0000000003, CAST(927802 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (928939, N'{BEC65A5A-BD73-4E4C-ADE1-3EED7F83D926}', N'013174762', 3, N'NO_PLAN', NULL, N'13174762', NULL, N'72402140000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'2032', N'', N'', N'DISTRICT LOT 2032 KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLANS 8158, H17911, KAP62691 AND KAP75279', N'0163', N'0028', N'NO', N'ICF', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:22.000' AS DateTime), 510424, 4065, 0xBD0B000001046F000000211FF4CC96603541B02B65D9D1562641F19E3C4C73603541C0E76A6BCC5626416EAC8BBB69603541285EBA09D5562641E651B8FE5F60354118F46CD6DC56264164FE431A56603541903A01CDE3562641E9F21F124C603541980C71ECE9562641DBE76AEB4160354130B29D2FEF562641314CA6AA37603541F83C9B95F3562641124FAF542D603541402CD41AF756264174711B6D23603541E09C11A5F956264159EC2FFB1860354140A0F871FB56264180C0CA810E603541B03E575BFC56264151A60A060460354160401361FC562641737AA58CF95F3541A0A52C83FB562641EDE2361AEF5F354130006FC1F9562641D7CEF7B3E45F354128F6971DF7562641CB915C5EDA5F354118075F98F3562641D69AE61DD05F3541E0D78133EF5626411AD9CEF7C55F354138696FF0E9562641B6847CF0BB5F35417005A3D2E3562641B76B09F97D5F3541C0E76A2BB75626413D575B91715F3541B859F5F9AE562641E24603F8655F3541383333B3A8562641C07493385A5F3541E00AB5A6A3562641DDC7985B4E5F354118E258D79F56264174F90F69425F3541C85D4B489D5626411B95D469365F3541C835CDFB9B562641B3506BFA2B5F3541E053E3E59B562641C0CAA1651E5F3541B81E852B9D5626411F85EB71125F3541901D38A79F5626418B8EE492065F35412041F163A3562641D244D8D0FA5E35413088635DA85626416CAA6034EF5E3541B03B4E91AE56264151B81EC5E35E354170A301FCB55626410C7A368BD85E3541B806F096BE562641C19F1A8FCD5E3541F887F45BC8562641536B9AD7C25E354128EF3845D356264175711B6DB85E3541303A924BDF5626411DF46C56AE5E3541F0AE2564EC56264175BE9F9AA45E3541B0029A88FA5626413780B7409B5E354100560EAD095726412EBB274F925E354188DD93C71957264105F9A0E7F45D3541786210985D582641A6C64B57F55D354170F2B0D09658264158EC2F3BE45D3541780B2468675926418F06F0D6C95D354188F606DF8859264132DD24C6915D3541E8353CFD27592641D7C56D54535D354158F1630CD3592641AF726851525D35410844FA2DF45926412F6EA381515D3541904AEA04085A2641F6EBC019375D3541485AD37C8D5C2641066822CCB45D3541B845B6B3A35C2641603255B0F95D354148E5D0A2AC5C26412B5305430C5E3541F882C00AAF5C26418AD2DE4058603541B0703D4AFB5C2641B9C8769E5F603541C8B359B5465C26413233339395603541108C4AEA1B572641211FF4CC96603541B02B65D9D1562641ACE1E9F5246035413890A0785D592641C54B37E919603541503EE8198159264128ED0DBE0F603541D05817B7A75926414DBF7D1D0960354158AEB622CF5926411C1FF46C05603541B8B43738F3592641901804B6FE5F3541F097DD53165A2641E8D9ACBAFC5F3541D8EC9EBC3F5A26411B5A64BBFE5F35411842CFA6755A2641831D3867FA5F354150AF94E5B05A2641A6825169F65F3541480E2D32D65A2641DAE76AEBF45F354110A5BDC1065B2641EB2FBB47F15F3541A0E92671335B26410EE02D30F35F354180029A084E5B2641F8E46161ED5F354178C5FE326A5B2641B247E1FADB5F354168A52C43545B26418B7CD0D3CD5F3541503BDFCF3C5B264145EA0494B35F354158A60A06285B2641C954C1889F5F3541A048BFBD175B26416619E218915F354180567D6EFA5A2641F08E53D4825F3541F80B9329C85A2641201FF4CC7A5F3541906E1283A35A2641FB0FE917775F3541C05D4B487F5A26419C89B0617A5F3541D819515A585A264180AEB662865F3541D01DA7A83D5A26417A9CA263975F354148F7E4A12F5A2641A5605432A65F3541B0CAA145225A26415BB1BFCCB05F3541185C8FC2145A26412D5530AAB75F354150F5B99A015A2641FDBB05B2B35F3541802D21DFE0592641DC581777A55F354178128300D259264139F8C2C4925F354160CA32C4C9592641DE141D29895F3541D8915C3EB0592641FAC264CA825F35414055302A9259264139CD3B6E805F354190423E686F5926418B7CD0D37D5F3541605374A44F5926410E0BB5E6735F3541E8F21F922059264185D2DE606E5F354108143FC6F95826413D3EE8F96C5F354160006F41DF58264133D6C5AD745F354198D5E7EAC6582641489D80A6815F354138AB3E57D55826415AEC2F1B9D5F354188408262EF58264170810485B05F3541C8F528DC02592641065F980CC15F3541101DC92501592641913A018DCE5F354170621098F45826410144FA2DDC5F3541784DF30EE85826413008ACDCEA5F354108780B64D75826419F33A2D4F85F354128992A58C55826416C6666C60C603541C8096822C158264159643BFF20603541E8FDD478D358264158CA32C42F603541C07268D1EE58264182E2C778256035415891EDFC1B592641663BDF0F2960354100CE19D149592641ACE1E9F5246035413890A0785D592641020000000200000000003A00000001000000FFFFFFFF0000000003, CAST(928939 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (929869, N'{FE3FB7E9-C906-43EF-8737-4C88988CD428}', N'014612445', 3, N'NO_PLAN', 11706601, N'14612445', NULL, N'760-009252.030', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'12', N'88,18', N'', N'LEGAL SUBDIVISION 7 OF SECTION 12 TOWNSHIP 88 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-03-25T11:22:31.000' AS DateTime), 157845, 1589, 0xBD0B0000010405000000EC95B26C132F344114B6F35DC7E43341536B9AF7A2303441088E7551E5E433416429CB90BC30344138D6C5ED5AE33341B9D1007E2F2F3441848EE4323DE33341EC95B26C132F344114B6F35DC7E4334101000000020000000001000000FFFFFFFF0000000003, CAST(929869 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (932582, N'{8A6D3CCF-461A-4493-B7DF-1B95A2427783}', N'006364560', 492459, N'NEP16736', 90054481, N'6364560', NULL, N'7075622200', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 1237 KOOTENAY DISTRICT PLAN 16736', N'0163', N'0004', N'NO', N'ICF', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-12-31T13:08:56.000' AS DateTime), 27571, 987, 0xBD0B0000010428000000D6E76A0B56F93841C013D044070F1F414594F6A663F93841B01E85EB8C0F1F41FC770B646DF93841B0D8F0F4E60F1F4150840D2F75F9384120B3EA73F20F1F4134B29DCF91F93841B08095C3C30F1F413E136103F6F9384100C364AA200F1F4176711B4DFAF938415038D6C5A00E1F413880B7A0EAF93841D0A982D1190E1F41AF8BDB28EAF93841C0AACFD5150E1F41F953E30539F93841301FF46CBB0D1F411C8C4A4A38F938419028ED0DBB0D1F41D6E76A0B56F93841C013D044070F1F415AD3BC4387F9384190EB51B899101F417995430B8BF93841C04DF30EAF101F41B815FBEB8EF93841D0C0CA21C4101F41F0C9C3E292F93841E06800EFD8101F41ECFBA9F196F93841208F5374ED101F41E35817179BF93841407B83AF01111F41C520B0529FF9384180C0CAA115111F4158D3BCA3A3F93841B0A6794729111F41CAD5560CA8F93841D0081B9E3C111F41A6825189ACF938412054E3A54F111F41A93E571BB1F93841601AC05B62111F4184C954C1B5F93841C05B20C174111F410B2DB27DBAF9384110F4FDD486111F4196FF901EC0F93841804AEA849B111F4157CA3204C5F9384170F5B9DAAC111F41F65A42FEC9F93841D0F44AD9BD111F419C703D0ACFF93841B0B6627FCE111F413C674429D4F93841103A92CBDE111F4198900F5AD9F93841F059F5B9EE111F4174A3019CDEF93841D0839E4DFE111F4132B29DAFDEF9384110B072E8FB111F41C8F528FCF2F93841902A87967F0F1F4116D9CE1798F9384160B1BF6C09101F41F897DDB37CF93841503FC65C3D101F410E022B077BF93841B0E995B24E101F4130BB27EF7EF9384170C7BAB867101F413A92CB7F82F93841F0C117A67D101F415AD3BC4387F9384190EB51B899101F41020000000200000000020C00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(932582 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (933353, N'{F95323D4-9AB8-417B-A8DC-2701E57DEE8D}', N'016563832', 3, N'NO_PLAN', 8223561, N'16563832', NULL, N'760-011889.010', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'5', N'84,21', NULL, N'LEGAL SUBDIVISION 2 SECTION 5 TOWNSHIP 84 RANGE 21 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT', N'0163', N'0015', N'NO', N'ICF', 7, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2020-03-20T14:56:51.000' AS DateTime), 160480, 1584, 0xBD0B000001040B0000009328EDED58B5334138CD3B0E2C3A334121166AAD58B5334164E3A5DB2F3A33417658A8F542B533417416D94E773B33413D3EE87942B533413CD49AC67E3B33415F10587940B53341307502DA9C3B3341FFD478A973B533410C3D9B15C03B3341544013C1CEB633419CF1D26DD73B3341413EE819DCB633419C2A18550D3B334116E258F7DCB63341DCD32BE5FF3A33417824973FE9B63341041FF46C453A33419328EDED58B5334138CD3B0E2C3A334101000000020000000001000000FFFFFFFF0000000003, CAST(933353 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (933960, N'{6B7559A6-4472-4668-BE0A-D2B8665031CB}', N'001571885', 3, N'NO_PLAN', NULL, N'1571885', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 77', NULL, NULL, N'THAT PART OF SECTION 77, VICTORIA DISTRICT, INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:51:07.000' AS DateTime), CAST(N'2021-04-01T16:29:09.000' AS DateTime), 2202, 302, 0xBD0B00000104140000007AA52CC31833324190B6627F8D901741B147E17AE7323241C0992A1813911741ABADD89FF932324110454772009117411EEBE2760E333241F0012B07EB90174118E2587717333241A05DDCC6E19017417ED0B3592F333241C0A2923AC9901741EF3845674B33324160416065AC9017410364F2934D333241C0E66B2DAA901741BBCE68C14F33324130E3F001A89017414B00A4EF51333241A0A9F3E2A59017412A7E9F1E54333241109678D0A39017415BCC564E5633324150EA83CAA1901741626DC57E5833324100CE19D19F90174151B81EE560333241B02D90A098901741134FAF546933324110C13923929017412D4CA68A71333241F04A59868C901741F07C3F156433324110AC1CDA44901741D61B7C415D333241F076BE9F49901741F775E05C46333241A09CA2A35E9017417AA52CC31833324190B6627F8D90174101000000020000000001000000FFFFFFFF0000000003, CAST(933960 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (934149, N'{7B6645F2-EE8B-461D-8180-535A75C56FAF}', N'012748617', 868179, N'KAP55', NULL, N'12748617', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 6', N'Block 13', NULL, N'LOT 6 BLOCK 13 DISTRICT LOT 706 YALE (FORMERLY OSOYOOS) DIVISION YALE DISTRICT PLAN 55 EXCEPT PLAN H831', N'0114', N'0022', N'NO', N'ICIS CADASTRE', 1, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-04-29T15:17:59.000' AS DateTime), 137, 56, 0xBD0B000001040500000013A5BD81C2553541508716D960161F416AF7E4E1C8553541F02A87967A161F41F44A5946CE5535416019E2D864161F4158522740D155354190270F8B20161F4113A5BD81C2553541508716D960161F4101000000020000000001000000FFFFFFFF0000000003, CAST(934149 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (934764, N'{1D72B5D8-044B-457C-9EC2-C2F82185CC9B}', N'005846641', 5460125, N'VIP6334', NULL, N'5846641', NULL, N'205825', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'', N'', N'LOT 3, SECTION 14, RANGE 7, MOUNTAIN DISTRICT, PLAN 6334 EXCEPT PART IN PLANS VIP63462 AND VIP79497', N'0084', N'0021', NULL, N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', N'614.3', CAST(N'2019-04-04T08:45:35.000' AS DateTime), CAST(N'2021-05-31T16:32:30.000' AS DateTime), 614, 125, 0xBD0B0000010410000000CDD556CCE17F314150B4C876E55B1C415DA1D634D57F3141804B5906E35B1C41BCD7D674D47F314110D4B011FA5B1C41EA6A3AEDD37F314110F50736115C1C41EDDE339ED37F314180D5BF6A285C1C41C0A3E087D37F3141508333A73F5C1C41590A49AAD37F3141202ABBE2565C1C4189416005D47F3141D04EAF146E5C1C4106A3927AD57F31415096210EB65C1C4109B5A639E07F3141404B5986A75C1C4138584BE4DF7F314130C89F26875C1C412267F3CBDF7F314170F170C0665C1C41D047A4F0DF7F3141F031FC5A465C1C412CD75552E07F314160CB70FD255C1C41D46AF2F0E07F3141A03FFCAE055C1C41CDD556CCE17F314150B4C876E55B1C4101000000020000000001000000FFFFFFFF0000000003, CAST(934764 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (935310, N'{979D6557-6AA1-4E0F-B848-1E503ABEC0B1}', N'001657976', 3, N'NO_PLAN', NULL, N'1657976', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 15', NULL, NULL, N'THAT PART OF SECTION 15, SOOKE DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 27391 AND CONTAINING 2.41 ACRES MORE OR LESS', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 5, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:41:29.000' AS DateTime), CAST(N'2021-06-25T15:01:12.000' AS DateTime), 6730, 420, 0xBD0B000001040600000043C6DC1562DF314120CB10C77D141741CC20B0B2B9DF3141A08EE472EA1317413870CE28D7DF314160E848AEE2121741211FF46C29DF31415031082C191417410D7A368B49DF3141209EEF275214174143C6DC1562DF314120CB10C77D14174101000000020000000001000000FFFFFFFF0000000003, CAST(935310 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (935360, N'{CD4620A7-67B7-405B-B005-28AF29E114B0}', N'002911043', 117903, N'VIP877', NULL, N'2911043', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 19', N'Block 17', N'', N'THAT PART OF LOT 19, BLOCK 17, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:26:48.000' AS DateTime), CAST(N'2021-06-29T15:07:53.000' AS DateTime), 462, 99, 0xBD0B000001040D000000C4B12EEE43393241E039234A7A8A1741F48E53B44239324190EFA7C68F8A1741696FF0A551393241E022DBF99C8A17410D143F86593932410051DA1B0C8A17410CF2418F50393241506076CF038A17418D31774D50393241F0B27B72068A174197E61D874D393241E01D16EA228A174140730B104C393241E055FAB4318A17414B39178B4A39324110886569408A1741BFC156F848393241A04887064F8A17412959E057473932417074908B5D8A1741800ECBA945393241503EB3F76B8A1741C4B12EEE43393241E039234A7A8A174101000000020000000001000000FFFFFFFF0000000003, CAST(935360 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (935494, N'{0FEEC3DE-6E6C-4CC2-9863-29A985F94C5A}', N'001569406', 3, N'NO_PLAN', NULL, N'1569406', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 14', N'', N'', N'THAT PART OF SECTION 14, VICTORIA DISTRICT, INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW LYING TO THE WEST OF PLAN 141 RW', N'0122', N'0005', N'NO', N'ICIS CADASTRE', NULL, NULL, N'UNKNOWN', N'0', N'183.3', CAST(N'2018-12-19T09:34:14.000' AS DateTime), CAST(N'2021-07-09T15:02:41.000' AS DateTime), 183, 60, 0xBD0B0000010405000000A023B99C4A343241905986384690174170F90F4941343241B0923A0144901741F83A70CE4534324100B9FC0795901741A757CAD24E343241C0779C2297901741A023B99C4A343241905986384690174101000000020000000001000000FFFFFFFF0000000003, CAST(935494 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (935720, N'{9307B0DC-51C5-4DA7-B901-7849CBA6A66D}', N'001827391', 291630, N'KAP29306', 34861341, N'1827391', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', N'', N'', N'LOT 3 DISTRICT LOT 350 LILLOOET DISTRICT PLAN 29306 EXCEPT PLAN 38586', N'0163', N'0002', N'NO', N'ICF', 13, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-07-27T15:15:45.000' AS DateTime), 36427, 881, 0xBD0B000001041900000008F9A00765273441B0D1005E21312641888A8CF46727344188D8F63224312641F322C5E76A273441183B4AED2631264179230EE16D27344118ECC28C29312641AE702AE07027344160052B112C3126417A77DCE473273441D0CC4E7A2E312641FB31E6EE7627344100B9FCC730312641B19465883F2834415839B448C4312641BACFFDBC4328344108BDC576C731264116BF84EA47283441E8074AC9CA312641116BAB104C283441284E0240CE3126418167232F502834412017ADDAD13126415BD99E455428344178430699D5312641887CD05358283441B810C77AD9312641B159F5B981283441D0E76A6B9D3126418738D6E58528344128143F068C302641C432C4D171283441285A64BB8D30264132B29DCF2B273441688FC275A9302641BC6B09592C273441F061A116BB302641B91965903327344180D2E679D0302641C05FDCC83B273441A8A6855CE43026413E318BEE44273441C866608EF6302641DD864FEB4E27344188BE70E30631264143ECFEA659273441200332341531264108F9A00765273441B0D1005E2131264101000000020000000001000000FFFFFFFF0000000003, CAST(935720 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (935764, N'{6BD89186-91FF-4315-AB28-4C13F3A88638}', N'013601695', 1485783, N'VAP2588', NULL, N'13601695', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'2000-03-14T00:00:00.000' AS DateTime), N'REM Lot 4', N'Block 6', N'', N'LOT 4, EXCEPT THE SOUTH 2.5 FEET NOW LANE, BLOCK 6 SOUTH EAST 1/4 OF SECTION 26 TOWN OF HASTINGS SUBURBAN LANDS PLAN 2588', N'0150', N'0010', N'NO', N'ICIS CADASTRE', NULL, NULL, N'UNKNOWN', N'0', N'330', CAST(N'2021-01-12T14:58:05.000' AS DateTime), CAST(N'2021-07-29T09:24:25.000' AS DateTime), 329, 86, 0xBD0B000001040500000099438B8CE98E324180D93DF9B0261D415AEC2F9BF38E3241408C4A6AB2261D41BBAF03C7F48E324180BE9F9A2F261D41F8065FB8EA8E3241D00B93292E261D4199438B8CE98E324180D93DF9B0261D4101000000020000000001000000FFFFFFFF0000000003, CAST(935764 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (937701, N'{01540E19-2053-49A8-B400-3503ECF6F2A4}', N'005479380', 19421, N'VIP8894', NULL, N'5479380', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 5', N'', N'', N'LOT 5, DISTRICT LOT 42, OYSTER DISTRICT, PLAN 8894, EXCEPT PART IN PLANS 43985 AND VIP57958', N'0062', N'0007', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T20:42:31.000' AS DateTime), CAST(N'2021-11-30T11:45:10.000' AS DateTime), 607, 124, 0xBD0B0000010409000000D8CEF793BEB9314100D0445821FB1A4161C3D34BC9B9314150DD9387F4FA1A417E613235D4B93141B0B4A679C8FA1A41E2141D69DAB931411083C04AB0FA1A417B0B2488D2B93141606CE7FB90FA1A41420AD743CEB9314110B07268A2FA1A41A5ADD8FFADB93141D0A2B43713FB1A4151742437B8B93141E0AE25E43CFB1A41D8CEF793BEB9314100D0445821FB1A4101000000020000000001000000FFFFFFFF0000000003, CAST(937701 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (938128, N'{A51B8B31-3CF2-4248-BC5A-9816F93AA85A}', N'012235377', 3191474, N'KAP550', NULL, N'12235377', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, NULL, NULL, NULL, N'THOSE PORTIONS OF LOTS "A" AND "12A" SHOWN ON PLAN B4547 LYING SOUTH OF THE ROAD AS SHOWN ON PLAN B4547; SECTION 35 TOWNSHIP 9 OSOYOOS DIVISION YALE DISTRICT PLAN 550 "OUTSIDE" EXCEPT PLANS B4763 AND H14665', N'0152', N'0012', N'NO', N'ICF', 1, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-12-29T14:46:14.000' AS DateTime), 934, 164, 0xBD0B0000010407000000403EE879DB943641480BB526B9752241FB2A8756FF943641F8C56DB4017622417DC0CA210E953641B8C117A6D3752241CE00DEA2F1943641A8ADD8DFC77522418A75711BE49436418072F9CF9C752241C05B2021D7943641286EA38197752241403EE879DB943641480BB526B975224101000000020000000001000000FFFFFFFF0000000003, CAST(938128 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (939584, N'{DC05AEDC-7815-4141-B94F-67E8C5A862AC}', N'001585801', 128536, N'VIP1597', NULL, N'1585801', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 8', N'', N'', N'THAT PART OF LOT 8, SECTION 16, VICTORIA DISTRICT, PLAN 1597 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:22:42.000' AS DateTime), CAST(N'2019-01-05T10:22:50.000' AS DateTime), 252, 65, 0xBD0B0000010406000000E00B9349C12D3241A0779C22449A174150499D80BB2D32417025E483F899174147477259B42D3241609A779CFF991741D1915C7EAD2D324100A5BD41049A1741FC75E01CB22D324130A1D6B4409A1741E00B9349C12D3241A0779C22449A174101000000020000000001000000FFFFFFFF0000000003, CAST(939584 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (939810, N'{1DA008B7-2C00-4CF9-B2D7-F6537B66623D}', N'009326049', 137263, N'VIP51', NULL, N'9326049', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'', N'', N'THAT PART OF LOT 5, SECTION 7, VICTORIA DISTRICT, PLAN 51, OUTLINED IN RED ON PLAN 1209 OS', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:46:03.000' AS DateTime), CAST(N'2019-01-05T10:23:39.000' AS DateTime), 1320, 173, 0xBD0B0000010407000000DF361AA06839324170B1BFEC0C891741E0B5847C67393241A02C439C188917410CF2418F50393241506076CF038A17410D143F86593932410051DA1B0C8A17418541602564393241E0D6A3F0158A1741F041CF467C393241A00F7AB61E891741DF361AA06839324170B1BFEC0C89174101000000020000000001000000FFFFFFFF0000000003, CAST(939810 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (940105, N'{CA8A1986-0694-469B-829A-9A38522A55A9}', N'001585266', 126723, N'VIP851', NULL, N'1585266', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'Block C', N'', N'THAT PART OF LOT 4, BLOCK C, SECTION 16, VICTORIA DISTRICT (SITUATE PARTLY IN ESQUIMALT DISTRICT), PLAN 851 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0154', N'0005', N'NO', N'MODIFIED-TANTALIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:10:46.000' AS DateTime), CAST(N'2019-01-05T10:24:42.000' AS DateTime), 657, 106, 0xBD0B000001041A000000B0D85F36A72C324180A3013C849917415DA1D634A72C3241E00B9329849917417614AE87A02C32415095D48932991741B199E384A02C324150028E6B3299174118E97A81A02C3241001B4F4E3299174164057A7DA02C324110724B3232991741CDFDE778A02C3241006CB4173299174152E1CC73A02C324130EBB8FE31991741C9B0316EA02C3241C0FC84E731991741B74E2068A02C3241B08A41D231991741306EA361A02C3241301214BF31991741C4089E189B2C3241D01D0A3932991741544304D1952C324180B7564D3399174139BEEF8B902C3241604DC0FB349917415293794A8B2C32411030ED43379917417E1BBA0D862C3241F0A663253A99174134B4C8D6802C324110098A9F3D9917415AC1A804872C32412061C3538C9917419DEFA7A6872C3241808CB9EB8B991741CA6D49CF8C2C3241502B240489991741203A22FD912C32410032E7C3869917418621DF2E972C3241400C962B85991741F8F12B639C2C3241B030993B84991741B0D1B398A12C324170052EF483991741529621CEA62C324130CF665584991741B0D85F36A72C324180A3013C8499174101000000020000000001000000FFFFFFFF0000000003, CAST(940105 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (940294, N'{CB453011-3EE1-4087-80AA-E9CDE334073E}', N'013508466', 3, N'NO_PLAN', NULL, N'13508466', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'7711', N'', N'', N'DISTRICT LOT 7711 LILLOOET DISTRICT EXCEPT PLANS H14786 AND KAP69166', N'0163', N'0002', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2019-01-11T18:30:14.000' AS DateTime), 24219, 883, 0xBD0B000001040F00000041CF661594A43441B0847C505F88274186855AB3E8A3344178855A5346882741066822CCE0A33441D032C4F11B892741F11FD22F98A43441E86800AF3689274141CF661594A43441B0847C505F882741A56054D2C9A43441F04A59C63D89274176F2B010F0A43441D0E00B53438927412141F183EEA43441A087855A2689274185635DDCEFA434418095434BE888274102098A1FEFA43441F0E99532DC882741E9F21F72E8A43441185839749F8827416C09F900E8A43441B830996A6B882741FFFFFF1FB9A43441A8F3FD9464882741A6ADD8BFBFA4344170CDAA4F3C892741A56054D2C9A43441F04A59C63D892741020000000200000000020500000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(940294 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (940371, N'{EA4CADE1-ED99-4323-9890-3D12B0FA5A72}', N'009956573', 290685, N'PGP20424', 35162911, N'9956573', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 1121 CARIBOO DISTRICT PLAN 20424', N'0163', N'0002', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2019-01-11T18:31:07.000' AS DateTime), 38273, 960, 0xBD0B0000010407000000DA1B7C41B9CD3241C05296217A462B411271AC2B31CD324108DE024971462B41580E2DB231CD324110B4C8365D462B4174C5FE5260CC3241B825E4034F462B41B6AF038756CC32416088635DE3472B414379582875CC32419057CA72E5472B41DA1B7C41B9CD3241C05296217A462B4101000000020000000001000000FFFFFFFF0000000003, CAST(940371 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (940711, N'{6B20BFAD-9CE1-4356-B83A-605EBAEF437E}', N'001709330', 8241251, N'VIP445RW', NULL, N'1709330', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 106', NULL, NULL, N'THAT PART OF LOT 106, MALAHAT DISTRICT SHOWN OUTLINED IN RED ON PLAN 445 RW AND CONTAINING 3.20 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 4, N'LSA', N'UNKNOWN', N'0', NULL, CAST(N'2021-02-10T14:05:44.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 12531, 834, 0xBD0B0000010429000000082428DE91E4314170460378D3CA184120D26F3F3AE4314130E6AE250BCF1841F3E2093C3EE4314120A17F5DE1CE18414EDA8C1C43E4314180EE5D1FB9CE1841718493D748E431412067D0B892CE184115B813624FE43141102DD1736ECE1841379B73AF56E4314110623F964CCE18414FE9A1B15EE43141F09158612DCE1841210D315967E4314160003B1111CE18416ED9749570E4314140DA71DCF7CD184147A7A2547AE4314130218CF3E1CD1841999CF38384E431415020BF80CFCD18412BD8C80F8FE43141301C95A7C0CD18411F3ED1E399E43141E0DAA884B5CD1841879B30EBA4E43141208A6E2DAECD18412ED6A710B0E4314120690AB0AACD18419EDABD3EBBE43141808C3513ABCD184130FAE85FC6E4314150E93056AFCD1841CD68B85ED1E4314180C4C670B7CD1841DA8AFD25DCE43141A0855A53C3CD1841A79BC42015E531418075719B0CCE1841C47D1D381DE53141B0F0F44A9DCD18412F992AB8E3E43141F093870553CD1841335AEA5FD9E43141A06A495B43CD18415E514068CFE43141100D492C30CD18410BAE47E4C5E43141502F4C9D19CD18412EDB3DE6BCE43141D0AA90D9FFCC1841B8885F7FB4E43141D0987912E3CC1841F0A0C7BFACE43141C0A9307FC3CC1841A96950B6A5E43141A0653C5CA1CC18417F0B77709FE4314120280CEB7CCC1841EFB641FA99E4314180B27A7156CC1841A197285E95E43141504548392ECC18410EC301A591E4314110418D8F04CC18416148F0D58EE43141D05D26C4D9CB1841258256F68CE4314110971B29AECB18414AC4CB098CE4314170EB021282CB1841C27915128CE43141F02660D355CB18418CBF230F8DE43141A0DE02C229CB1841198311FF8EE4314100E06332FECA1841082428DE91E4314170460378D3CA184101000000020000000001000000FFFFFFFF0000000003, CAST(940711 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (941852, N'{B8CB099C-A58F-4862-A701-DE8CB99D9D69}', N'003663612', 870354, N'KAP31515', 90053132, N'3663612', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Parcel A', N'', N'', N'PARCEL A SECTION 7 TOWNSHIP 21 RANGE 17 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 31515', N'0055', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:32:02.000' AS DateTime), 404, 84, 0xBD0B0000010409000000CEB3597572543541D868006FCEFE23419465886368543541D0DEE0CBCCFE2341F86C56DD6E543541A8141D49F6FE23410A24287E735435410883C00AF7FE2341DC4603187C54354160FDF6F5F8FE234122FDF6158354354118265385FAFE2341D222DB197C543541780B2468D0FE23412185EB717554354138431CEBCEFE2341CEB3597572543541D868006FCEFE234101000000020000000001000000FFFFFFFF0000000003, CAST(941852 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (942448, N'{A9AD1467-9792-4B05-A82C-0DB899815AB5}', N'005431387', 5705, N'VIP9941', NULL, N'5431387', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'', N'', N'LOT 2, DISTRICT LOT 31, NANOOSE DISTRICT, PLAN 9941 EXCEPT PART IN PLAN 39893', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2019-01-05T08:36:55.000' AS DateTime), 122, 54, 0xBD0B00000104050000005BC1A8244A3C3141E0D5E7EAD1EB1C4160984C35403C3141000BB5A6E8EB1C41907EFBFA473C3141402AA9132EEC1C4101098A3F493C3141809A771C2CEC1C415BC1A8244A3C3141E0D5E7EAD1EB1C4101000000020000000001000000FFFFFFFF0000000003, CAST(942448 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (942647, N'{1B5743C5-A11E-4BE9-AE21-8FF0469E7A10}', N'007634889', 3, N'NO_PLAN', NULL, N'7634889', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART 171', N'', N'', N'THAT PART DISTRICT LOT 171 SHOWN ON PLAN A17788 KAMLOOPS DIVISION YALE DISTRICT SHOWN ON PLAN ATTACHED TO DD 4330 EXCEPT PLAN 28083', N'0078', N'0028', N'NO', N'ICF', 7, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:11:05.000' AS DateTime), 8409, 613, 0xBD0B000001042000000073F90FA998F73441989999D9A4B12141D59AE6FD9DF7344160006F81A1B1214180D0B359A3F73441E0CFD5569EB12141679A77BCA8F73441B0506B5A9BB1214184416025AEF73441F0CCCC8C98B12141F697DD93B3F73441B0E848EE95B1214121B9FC07B9F7344190915C7E93B12141A1923A81BEF73441D0DA8A3D91B12141091214FFC3F73441B0D5562C8FB12141DC240681C9F73441C039234A8DB12141BAAF0307CFF73441582BF6978BB1214194BB9690D4F73441C86132158AB12141D5ACFA1CDAF7344170EE5AC288B12141984C15ACDFF73441F8088A9F87B1214159643B3FE2F73441E811A5FD49B121411958E420CDF73441083310904EB12141D952262EB8F73441686A429A55B12141353A7279A3F73441083809165FB12141D15602158FF7344160670BFB6AB121416048CA127BF734411868D03E79B121411F38678467F73441F085C9D489B1214128530583D9F63441A023B93C0CB22141E951B8DEDFF63441000EBEF027B221417DD0B339E6F63441905374A443B221416FB5153B74F73441F0C7983BC1B12141F08E535479F73441388B6CA7BCB12141703D0A777EF73441485BB13FB8B12141946E12A383F73441C013D004B4B121414E6210D888F7344140C6DCF5AFB121419A218E158EF7344128189514ACB1214139234A5B93F7344140894160A8B1214173F90FA998F73441989999D9A4B1214101000000020000000001000000FFFFFFFF0000000003, CAST(942647 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (944800, N'{84BFF077-F2F0-4DE1-AB1B-32EEEE6DC619}', N'009833005', 3, N'NO_PLAN', NULL, N'9833005', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART A', N'25', N'', N'PARCEL A (DD 58586I) OF SECTION 25, GOLDSTREAM DISTRICT, EXCEPT THAT PART LYING WESTERLY OF THE WATERPIPE LINE OF THE CITY OF VICTORIA AS SAID PIPE LINE IS REGISTERED UNDER DD 13277I, EXCEPT THAT PART LYING BETWEEN GOLDSTREAM ROAD AND SOOKE ROAD AND THE SAID PIPE LINE AND EXCEPT PARTS IN PLANS 9881, 9911, 10142, 15840 AND VIP54584', N'0065', N'0005', N'NO', N'MODIFIED-ICIS', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:24:12.000' AS DateTime), CAST(N'2018-01-09T12:25:03.000' AS DateTime), 44520, 950, 0xBD0B000001040D0000006F4694B63503324160FE437A2A4C174194B96BC907033241106C787A734C17417B4F1E9607033241B0832FCC734C1741F8E461018C023241905AD33C384D17415E1058F98B0232413097FF10384D1741E1E99552DF01324110ECC0394A4E1741C230998A1502324120068115304F17413C70CE68B4023241A06132D59E50174163EE5A22CD023241D015FBCB1B5017411A73D752E8023241606FF005904F174153A60A46F7023241A064AA605E4E17416EA3019C2B033241A0FF90FEE54C17416F4694B63503324160FE437A2A4C174101000000020000000001000000FFFFFFFF0000000003, CAST(944800 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (944918, N'{7A03C17A-26AD-4F1C-9018-88F5C31FE3D9}', N'016079493', 472045, N'NEP902', NULL, N'16079493', NULL, N'03497.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'Block 125', N'', N'LOT 1 BLOCK 125 DISTRICT LOT 4588 KOOTENAY DISTRICT PLAN 902 EXCEPT PART INCLUDED IN PLANS 8271 AND NEP20067', N'0036', N'0018', N'NO', N'ICF', 4, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:31:05.000' AS DateTime), 487, 88, 0xBD0B00000104060000006844690F924E3B4158105879E11D21416407CE99994E3B41C03923CA021E21410E83C0CAAF4E3B4108B459B5EE1D2141706891CDAE4E3B41B8F1D2CDD41D2141CE22DBB9A84E3B41807EFBFACC1D21416844690F924E3B4158105879E11D214101000000020000000001000000FFFFFFFF0000000003, CAST(944918 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (945313, N'{09F5EF88-84C6-4AC4-B5E7-16FE3E1B1F76}', N'001718100', 3, N'NO_PLAN', NULL, N'1718100', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 6', N'3', N'', N'THAT PART OF SECTION 6, RANGE 3, QUAMICHAN DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 14323F AND CONTAINING 2.74 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 15, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T17:31:12.000' AS DateTime), CAST(N'2019-01-07T18:31:55.000' AS DateTime), 10212, 524, 0xBD0B00000104100000001851DABBBEC8314100560EAD48681941ECC03983D3C83141C0A7C64BE5671941432CD41AE1C83141D05452A7A667194177A52C43EFC83141904B37096A671941DF4F8DF7FDC831419001BC852F671941AA57CA320DC93141A0C48F31F76619417F04C5EF1CC93141B09B551FC166194173F90F292DC9314170F7E4618D661941BC6B09D93DC93141B0270F0B5C66194104AC1CFA4EC93141C0559F2B2D661941FC4A598660C9314160F38ED30066194160FE43BA2CC93141100BB526F76519413EF163CCC8C83141A005A392E4651941D712F201C4C8314180ADD85F08671941DE2D9020C2C8314180423EE87A6719411851DABBBEC8314100560EAD4868194101000000020000000001000000FFFFFFFF0000000003, CAST(945313 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (946456, N'{8CBC4955-629A-4B79-A51F-2D08F50FDC47}', N'007482850', 4652349, N'VIP379RW', NULL, N'7482850', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 24', N'', N'', N'THAT PART OF LOT 24, DISTRICT LOT 140, ALBERNI DISTRICT, PLAN 1414, BEING THE LOGGING RAILWAY SHOWN ON PLAN 379 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2019-01-10T15:03:17.000' AS DateTime), 562, 132, 0xBD0B00000104160000003B894120167D30412068226CFD011D4129C92A2E147D3041E00510A9F6011D41064B0436127D304110314C02F0011D418FCBE737107D304120D62D78E9011D414755EF330E7D3041C06C0A0BE3011D41663F352A0C7D304110F035BBDC011D41432CD41A0A7D3041E0DD0289D6011D4193B96BE90A7D304150C2F52817021D41C99BAE9E0E7D304180E2E6FB23021D4169E4AA3B127D3041B0CDE73B31021D41222B98BF157D3041709A19E63E021D417975B329197D3041E05D86F74C021D412C613F791C7D304190CE216D5B021D41FF4C84AD1F7D3041E0EEC9436A021D41CB76BE9F357D3041F05C6DC589021D41AC25E4E3297D304150BC05124F021D415B0363D2267D304110614B9E40021D413E6F06A9237D3041A0C6C67D32021D41C8635B68207D304160DFEDB224021D4189EAF2101D7D304140AF274017021D41210362A3197D3041D0E2CB270A021D413B894120167D30412068226CFD011D4101000000020000000001000000FFFFFFFF0000000003, CAST(946456 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (947091, N'{9C54AEC4-22C0-4E67-B534-B49CFEB16F20}', N'007722532', 246698, N'PRP1076', 35722391, N'7722532', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 46', N'Block 2', N'', N'LOT 46 BLOCK 2 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:44.000' AS DateTime), 290, 91, 0xBD0B00000104050000007C16D94E3D2D2C41F0A067335AA1304131BB274F342D2C41A045B65360A13041E368006F712D2C41342AA91377A1304150840D8F7A2D2C4160BC74F370A130417C16D94E3D2D2C41F0A067335AA1304101000000020000000001000000FFFFFFFF0000000003, CAST(947091 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (947093, N'{16A1B0AF-2276-4A28-A062-FE5D9C597E76}', N'013226193', 246698, N'PRP1076', 90073095, N'13226193', NULL, N'03542.910', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 14', N'Block 34', N'', N'LOT 14 BLOCK 34 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076 EXCEPT PLAN PRP14257', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 283, 88, 0xBD0B000001040600000032B29D6F172E2C41C8D781334FA130416F4DF38E612E2C4168BC74934EA130412DBB274F612E2C41302AA9F346A1304155840D4F1A2E2C418C855A7347A130410EF2414F172E2C410C61C39349A1304132B29D6F172E2C41C8D781334FA1304101000000020000000001000000FFFFFFFF0000000003, CAST(947093 AS Numeric(38, 0)), NULL) +GO +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (947770, N'{BC0A19EC-0AE4-454A-B024-3EE4CF227F79}', N'000017698', 645957, N'VIP1279', NULL, N'17698', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 32', N'Block 3', N'', N'LOT 32, BLOCK 3, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:50.000' AS DateTime), 383, 96, 0xBD0B000001040D000000CAEEC9438F9D3041909BC42071BC1C410B6822AC9B9D304120D5096872BC1C41C20512B49B9D30415067446972BC1C4107D7A390AE9D3041D0D0B35974BC1C41911804D6AE9D3041A079C7294CBC1C4111C7BAF8999D3041B0DCB5044ABC1C416429CBF0999D304150DC46034ABC1C418FCB7F888D9D3041401136BC48BC1C41AB9BC4808D9D30419035CDBB48BC1C41C30E9CB3889D3041F0353C3D48BC1C41A6E8486E889D3041101FF46C70BC1C41866CE73B8F9D3041F02D902071BC1C41CAEEC9438F9D3041909BC42071BC1C4101000000020000000001000000FFFFFFFF0000000003, CAST(947770 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (947812, N'{BC7FF057-4810-4C15-9E28-665EFC4E92D6}', N'000016993', 3, N'NO_PLAN', NULL, N'16993', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 234', N'', N'', N'THAT PART OF DISTRICT LOT 234, ALBERNI DISTRICT, INCLUDED IN PLAN 277 RW, EXCEPT PART IN PLAN 4254', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:38.000' AS DateTime), 11934, 1968, 0xBD0B000001043D00000019E25817599A3041C0012B87DD1A1D419EEFA786449A30412071AC8B221B1D4102917E1B97993041D096908F681D1D414B7B832F9299304190DB6800791D1D4110D044B88C99304170DB68008B1D1D41A757CA328299304150158CCAAC1D1D4175832F8C7799304110B150EBCD1D1D41C5DCB5C46C993041F0891F63EE1D1D413467442965993041005917B7051E1D41F9A067735B99304100D122DB221E1D4104560E0D4F99304160B81E85451E1D4151401381429930417039B448671E1D4112E9B7CF3599304180779C22881E1D41C810C7FA2899304180E09C11A81E1D412A5C8F021C99304170734614C71E1D41EB1DA7E80E99304190C2F528E51E1D41C5C342AD01993041505F984C021F1D4192976E52F498304190B7D1801E1F1D41D83D79D8E6983041908026C2391F1D4154F5B93AD998304110BE3019541F1D4143355E5A60973041B057CAB21D221D4123D26F3F60973041F041CF6638221D41CBEEC92360973041D087F4DB53221D416FAC8B7BDE983041009C33A2801F1D412BED0D3EEC98304190BB9610661F1D413670CEE8F9983041E022DB794A1F1D41A33C2C7407993041701F63EE2D1F1D4120DBF9DE14993041D01F636E101F1D41CE5D4B28229930418047E1FAF11E1D410FE9B74F2F99304110BD5296D21E1D414CFC18533C993041305C8F42B21E1D419F5E29EB4399304120787AA59E1E1D41CDDEE06B4699304170567D2E981E1D41DFE995324999304160B74002911E1D4196438BEC5599304130D0D5D66E1E1D417924977F62993041A0A44EC04B1E1D41480378EB6E993041D0C954C1271E1D41BFA8A42E7B993041F0AB1CDA021E1D4101E78C4887993041B0270F0BDD1D1D41A2B43738939930412061C353B61D1D41E24F8DF79E9930417080B7C08E1D1D411483C06A439A3041E0FA5C6D661B1D4150E3A5FB579A304160AC8B5B211B1D41EF384567729A3041B02D90A0C81A1D417C04C5EF779A304130C6DC35B61A1D41B4B88D867D9A304180A22339A41A1D41643BDF2F839A304140BD5296921A1D41F29E3CEC889A3041F0A9F152811A1D41EBD9ACBA8E9A3041201F856B701A1D41F831E68E929A304140787AA5651A1D4155204191929A3041E0FDD478631A1D41AD506BBA929A304120A3923A3F1A1D41C31726D3929A3041304A7B83291A1D4170C5FEB28D9A304180D5566C371A1D41407958A8879A3041D066D567481A1D414B72F9AF819A3041A0A52CC3591A1D41E00209CA7B9A3041500000806B1A1D416E3480F7759A3041302CD49A7D1A1D41DA3D7938709A304100BD5216901A1D4104BC05926A9A3041C0D16FDFA21A1D4119E25817599A3041C0012B87DD1A1D4101000000020000000001000000FFFFFFFF0000000003, CAST(947812 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (948167, N'{7E65D2C6-E44E-4C5D-BC8B-D75ABD90DFC6}', N'012648388', 296841, N'PRP1605', NULL, N'12648388', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot B', N'', N'', N'LOT B DISTRICT LOT 251 RANGE 5 COAST DISTRICT PLAN 1605 EXCEPT PART GREEN ON PLAN ATTACHED TO G10494 AND EXCEPT PLAN 6006', N'0113', N'0026', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-11-26T18:19:25.000' AS DateTime), 6, 32, 0xBD0B0000010409000000735F074ECBFC25410898DD930FD22F4132482D8EC8FC2541B86CEF320BD22F41DC8BF4ABC5FC254108EA55E806D22F41506312A8C2FC254120C01EB502D22F41064B4483BFFC254168E2519AFED12F415CD44F3EBCFC25418045F198FAD12F411C7502DAB8FC254178A0F8B1F6D12F412CD49AE6B7FC254140F38E93F6D12F41735F074ECBFC25410898DD930FD22F4101000000020000000001000000FFFFFFFF0000000003, CAST(948167 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (949624, N'{ADB7E71A-EA28-48A3-9AEF-64E46F5E18E9}', N'013977822', 295389, N'PRP968', 23695121, N'13977822', NULL, N'01257.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 6', N'Block 111', N'Section 2', N'LOT 6 BLOCK 111 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:42.000' AS DateTime), 233, 66, 0xBD0B0000010405000000DAF21F12497A2B417019E23891643141B5BFEC1E5D7A2B4104F2410F91643141E11B7C615C7A2B414C4772D9796431410861C353487A2B41FC497B037A643141DAF21F12497A2B417019E2389164314101000000020000000001000000FFFFFFFF0000000003, CAST(949624 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (949954, N'{6FCA6B47-CD5E-45BB-9196-FEBCFCC0B94A}', N'017219272', 495526, N'NEP1197', NULL, N'17219272', NULL, N'7091555105', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Block 6', N'', N'', N'BLOCK 6 DISTRICT LOT 301A KOOTENAY DISTRICT PLAN 1197 EXCEPT PART INCLUDED IN PLAN 9317', N'0163', N'0004', N'NO', N'ICF', 7, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:20:32.000' AS DateTime), 3248, 661, 0xBD0B0000010405000000F6EDEBC0AA743841E05C6DC52E701F41B6490C42D7733841F09AE61D06711F413689410001743841D0FF907E1A711F411183C0CA1775384130BC7413E26F1F41F6EDEBC0AA743841E05C6DC52E701F4101000000020000000001000000FFFFFFFF0000000003, CAST(949954 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (957165, N'{AEFCF545-35A6-402E-96E6-2C66454F1210}', N'014188791', 486783, N'NEP6422', NULL, N'14188791', NULL, N'7098432010', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1 DISTRICT LOTS 7163 AND 7329 KOOTENAY DISTRICT PLAN 6422 EXCEPT PART INCLUDED IN PLAN 14528', N'0163', N'0004', N'NO', N'ICF', 3, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', N'22253', CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-07-16T08:50:27.000' AS DateTime), 22249, 627, 0xBD0B0000010410000000E0A59B849E7C3841B07EFB3AEEBC1E412C2AA9B39E7C3841F01B7CE1E7BC1E413F82E2A7A27C384140B6F37D5FBC1E4158643BFFA37C3841207C613231BC1E413F575BF1A77C38412075021AA9BB1E41B9FC8774AE7C384110871659C8BA1E41B9270F6B7F7C384140DE718AB2BA1E4100D578E9627C384160CE8852A5BA1E41423EE8D9427C38418019E25897BA1E41D63D79983F7C38414009F9A007BB1E41E4361AE03E7C3841B020B07220BB1E41E461A1963B7C3841E0A52CC391BB1E4174AC8B3B2B7C3841A0B12EEEC6BD1E41107A36CB967C3841E015FBCBF8BD1E41CD3B4E919B7C38418095430B54BD1E41E0A59B849E7C3841B07EFB3AEEBC1E4101000000020000000001000000FFFFFFFF0000000003, CAST(957165 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (957672, N'{27DF5DBD-4BC9-428C-B9F4-2413936BDF2E}', N'005588910', 14483, N'VIP8648', NULL, N'5588910', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2020-09-18T00:00:00.000' AS DateTime), N'REM Lot 1', N'', N'', N'LOT 1, SECTIONS 4 AND 5, RANGE 9, CHEMAINUS DISTRICT, PLAN 8648 EXCEPT PLAN EPP102864', N'0089', N'0007', N'YES', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'0', NULL, CAST(N'2020-10-01T12:39:50.000' AS DateTime), CAST(N'2020-10-02T18:25:34.000' AS DateTime), 3195, 234, 0xBD0B0000010406000000D3DEE00B36DE31419014AE47A75C1A41B54082E27EDE3141505BB1BFB65C1A41CB293AF27EDE314190635DDC0F5C1A41FCA9F1F27EDE314140635DDC075C1A41045F980C36DE314130D57869F75B1A41D3DEE00B36DE31419014AE47A75C1A4101000000020000000001000000FFFFFFFF0000000003, CAST(957672 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (957737, N'{4271E59E-554B-4A96-A851-FF87BCEDEA42}', N'006091407', 5462491, N'VIP4377', NULL, N'6091407', NULL, N'109023', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'', N'', N'THAT PART OF LOT 3, SECTION 1, NANAIMO DISTRICT, PLAN 4377, LYING TO THE EAST OF A STRAIGHT BOUNDARY JOINING THE POINTS OF BISECTION OF THE NORTHERLY AND SOUTHERLY BOUNDARIES OF SAID LOT, EXCEPT PART IN PLAN VIP52036', N'0084', N'0021', NULL, N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', N'242.6', CAST(N'2019-04-04T08:45:35.000' AS DateTime), CAST(N'2019-09-11T16:00:08.000' AS DateTime), 243, 94, 0xBD0B000001040700000079711B2DA98F3141404CA68A04351C41BC0E9CB3AC8F3141A089B0E1B5341C416A88637DAB8F3141D0BCE394B5341C412E3333F3A48F314120FDF6F5B3341C41EA61A176A28F314100DCD78154351C41334CA6EAA78F3141101AC0DB55351C4179711B2DA98F3141404CA68A04351C4101000000020000000001000000FFFFFFFF0000000003, CAST(957737 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (957957, N'{0B74B284-62E0-4BD7-88DB-7B325E838EE3}', N'015424553', 3, N'NO_PLAN', NULL, N'15424553', NULL, N'7079910000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2020-03-09T00:00:00.000' AS DateTime), N'A', N'11724', NULL, N'PARCEL A (SEE 22757I) DISTRICT LOT 11724 KOOTENAY DISTRICT EXCEPT PARCEL 1 (EXPLANATORY PLAN 33848I) EXCEPT PLAN EPP92592', N'0163', N'0004', N'YES', N'MODIFIED-ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'0', NULL, CAST(N'2020-04-29T16:24:38.000' AS DateTime), CAST(N'2020-10-09T08:30:29.000' AS DateTime), 11615, 545, 0xBD0B000001040A000000CE00DE6237E338416848BF7DFC8420410A46253539E33841F095B24CBD84204196FF90BEB0E23841B86E12839984204124C286C791E23841F0E53F64918420417A24975F8DE238415807CED9D08420418AB0E16989E2384178C0CAE1098520415296216EB2E23841F0E8B7AF1485204149D8F0B456E3384130C6DCF53F8520419006F0F659E33841F0CD19D1ED842041CE00DE6237E338416848BF7DFC84204101000000020000000001000000FFFFFFFF0000000003, CAST(957957 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (958208, N'{DB0FDDCD-D512-41B0-BB00-020F05387A6A}', N'001711296', 12869, N'VIP218D', NULL, N'1711296', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block 62', NULL, N'THAT PART OF LOT 3, BLOCK 62, SHAWNIGAN LAKE SUBURBAN LOTS, SHAWNIGAN DISTRICT, PLAN 218D SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 12152F AND CONTAINING 0.193 OF AN ACRE MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T16:36:22.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 828, 148, 0xBD0B00000104090000000144FA8DCCE23141C022DBF9DDD418416AF7E44101E3314140E86A2BF4D41841EE8E53D404E33141C0E3149D72D41841BA5738A9FBE23141907E703886D41841A2A47567F2E23141F05B7E2699D41841722DD80FE9E2314150D89B65ABD41841488D2EA3DFE23141C06C35F4BCD41841C8304922D6E2314170D2C6D0CDD418410144FA8DCCE23141C022DBF9DDD4184101000000020000000001000000FFFFFFFF0000000003, CAST(958208 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (958726, N'{5F463520-94D2-4AF3-BF3F-801CE411EF84}', N'014073676', 1072963, N'NWP9303', NULL, N'14073676', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', NULL, NULL, N'ALL THAT PORTION OF LOT 1 SECTION 4 TOWNSHIP 5 RANGE 27 WEST OF THE SIXTH MERIDIAN NEW WESTMINSTER DISTRICT PLAN 9303 WHICH LIES NORTH OF THE TRANS-CANADA HIGHWAY, EXCEPT: PART ON HIGHWAY PLAN 48855', N'0163', N'0009', N'NO', N'MODIFIED-ICIS', 7, NULL, N'UNKNOWN', N'0', NULL, CAST(N'2019-12-17T09:47:01.000' AS DateTime), CAST(N'2019-12-17T10:22:19.000' AS DateTime), 22334, 651, 0xBD0B000001041A000000DF4F8D77FE29344160D6C5ED460A1E414A477219F7293441C0DF2D903E0C1E411C7C61B2892A3441707DAEB6100E1E41C94B37698F2A3441F0187357F30D1E412DC4B10E9B2A344170128340B60D1E41EA61A1B6A12A3441603EE8D9960D1E418ADB6840A52A344130FDF6F5820D1E41489D8006A92A344110C139A3690D1E41867CD053AB2A3441C03D79D8540D1E411AFBCBEEAC2A3441D01726533D0D1E4108F016E8AE2A3441C00C712C260D1E415327A0C9AE2A3441B0BDC1170D0D1E41F341CFA6AD2A3441B09F1AAFF40C1E41B2BFEC1EAA2A3441E0B5157BD00C1E418AC95421A72A3441C0EA7335B00C1E412F08ACFCA42A344110B5A6F9970C1E410C5F98CCA22A3441C0240681870C1E41FF6E81E4822A344150BF7D1D0C0C1E41462EFF01672A344130D7A370770B1E41D1011A43562A344130FF9A0B3F0B1E41A9783440452A3441F033F7EF070B1E414E78E3FA332A3441A01DD822D20A1E413A13C274222A3441004A3EA99D0A1E417E6271AF102A3441E0B60A886A0A1E41085F98ACFE293441D05CFEC3380A1E41DF4F8D77FE29344160D6C5ED460A1E4101000000020000000001000000FFFFFFFF0000000003, CAST(958726 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (958991, N'{A0E309E5-59E8-42B8-AFF0-533E6A1367AB}', N'024777188', 126673, N'VIP386', NULL, N'24777188', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-05-12T00:00:00.000' AS DateTime), N'REM Lot 2', NULL, NULL, N'LOT 2 SECTION 7 VICTORIA DISTRICT PLAN 386 EXCEPT THAT PART LYING WEST OF PLAN 7RW AND EXCEPT THE SOUTHERLY 42 FEET 4 1/2 INCHES OF SAID LOT', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:03:02.000' AS DateTime), CAST(N'2020-01-23T12:33:32.000' AS DateTime), 109, 43, 0xBD0B000001040500000021D26F7FC83932418038D645928517412D90A0F8BF393241301136BC8A8517417D6ABC34BB39324190C729BABB8517412D55302AC3393241D0012B87C285174121D26F7FC83932418038D6459285174101000000020000000001000000FFFFFFFF0000000003, CAST(958991 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (959837, N'{775A2DD2-0B86-49E8-A41F-506324C79A7E}', N'001714198', 3, N'NO_PLAN', NULL, N'1714198', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 19', NULL, NULL, N'THOSE PARTS OF LOT 19, HELMCKEN DISTRICT SHOWN COLOURED RED ON PLAN 162 RW AND CONTAINING 9.75 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 15, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T17:31:12.000' AS DateTime), CAST(N'2021-02-25T16:29:36.000' AS DateTime), 40166, 2720, 0xBD0B00000104AE000000F2A7C68B0ED03141609B559F3F3A1941EC9E3C0C11D0314150250601253A19412FC4B16E13D0314130EBE2360A3A194153FC18B315D03141F0809543EF391941288716D917D03141D054C128D43919413C80B7E019D03141B08BDBE8B83919414C27A0C91BD03141E09387859D391941857CD0931DD03141106EA30182391941EA482E3F1FD03141D01A9E5E66391941DBE76ACB20D03141B0BFEC9E4A39194168226C3822D031419013D0C42E391941832F4C8623D03141906054D2123919417E6ABCB424D03141305EBAC9F6381941068195C325D03141907A14AEDA38194170C5FEB226D031414092CB7FBE38194162E5D08227D0314130A5BD41A23819418A8EE43228D0314170D85FF6853819415EDC46C328D0314180E4F29F69381941F897DD3329D03141C0A44E404D381941DFA59B8429D0314130AC1CDA30381941280681B529D0314150D6346F14381941B8B88DC629D0314170B74002F8371941A8BDC1B729D03141E0BCE394DB371941E1141D8929D031414079C729BF37194178BE9F3A29D03141A05CFEC3A2371941CFD556CC28D0314150D3BC63863719410724283E28D0314160BA490C6A3719415D32559027D03141305BB1BF4D3719414737898111D03141809ECDAA9F341941E7B7AF8310D03141A0D0915C83341941DC9387A50FD0314160B6F3FD66341941ED3845E70ED031410097FF904A341941AC8BDB480ED0314190BDC1172E3419416ADE71CA0DD03141C0BCE3941134194144FAED6B0DD0314180703D0AF53319418E31772D0DD0314170900F7AD8331941D668000F0DD031410042CFE6BB3319419ABB96100DD03141D0CE88529F331941CC293A320DD03141A0ED7CBF82331941897CD0730DD03141E056EC2F663319412B0681D50DD0314170C117A649331941DE5817570ED03141F09C11252D331941BD7493F80ED03141A03177AD103319412B7502BA0FD03141B012F241F4321941CA073D9B10D03141A04160E5D7321941AB2C439C11D03141002C6599BB321941D9ACFABC12D03141B0F675609F3219410F363CFD13D0314180EC9E3C833219416691ED5C15D03141703255306732194154DA1BDC16D03141E0A3703D4B321941B1506B7A18D0314180F8A0672F321941682BF6371AD0314180567DAE133219412A1895141CD03141F073B515F83119414772F90F1ED03141902D219FDC311941BE39232A20D03141A0CCCC4CC131194162E5D06222D0314150772D21A6311941F4EBC0B924D03141C02D211F8B3119416B4DF32E27D03141D0EFA74670311941C05B20E12ED0314130158C4A24311941A40A46256ED0314170A8354DFF2E1941AA4E40734DD03141000C02ABFB2E1941D23B4E7113D03141C0A8A44EF33019410FA5BD210BD0314120A08930453119416A88637D08D03141104850FC61311941494772F905D03141B0D85FF67E3119418F18049603D031413051DA1B9C31194169BC745301D0314170D5E76AB9311941B269DE31FFCF3141204013E1D6311941D33B4E31FDCF314160DA1B7CF43119412185EB51FBCF3141F0A2923A1232194146EA0494F9CF3141C0065F183032194131A2B4F7F7CF3141A00512144E3219414AC8077DF6CF3141E079362B6C321941E8AE2524F5CF3141401AC05B8A321941C6C342EDF3CF3141005305A3A83219412F992AD8F2CF3141606DC5FEC63219413AEF38E5F1CF314130438B6CE532194147E17A14F1CF3141108C4AEA03331941696FF065F0CF3141E0452575223319412B7E8CD9EFCF31417095430B41331941B996906FEFCF3141A079C7A95F331941AD9DEF27EFCF3141D03A704E7E331941B5408202EFCF3141B08F31F79C331941752497FFEECF314110772DA1BB3319411EDBF91EEFCF3141D039234ADA331941AA9BC460EFCF3141E08D06F0F8331941904AEAC4EFCF31412072F98F17341941F0B0504BF0CF3141B09DEF273634194145EA04F4F0CF3141007D3FB554341941AEBFECBEF1CF3141B058A83573341941293108ACF2CF3141100BB5A691341941E7D022BBF3CF3141404B5906B034194157A835AD09D0314140DCD7815A371941C7BAB84D0AD0314170C729BA743719419AB20CD10AD03141C023B9FC8E371941C898BB360BD03141D0384547A93719419BF6067F0BD0314170BDC197C3371941A979C7A90BD03141D0D556ECDD3719410222FDB60BD0314180CAC342F83719418026C2A60BD0314110BE309912381941BB6B09790BD03141B0FA5CED2C381941599FAB2D0BD0314140363C3D473819418F4AEAC40AD031418026C28661381941606DC53E0AD0314110F016C87B3819416EB5159B09D0314150DBF9FE9538194194900FDA08D03141A00B9329B0381941AB35CDFB07D03141005D6D45CA381941ABA44E0007D031412060E550E438194105F9A0E705D03141D0CBEE49FE3819418FA0F8B104D03141A0E8482E18391941CC7F485F03D0314150DA1BFC313919419FCDAAEF01D0314170575BB14B391941D0F7536300D03141C015FB4B65391941D21951BAFECF314130CCEEC97E391941D2BCE3F4FCCF3141109E5E299839194170C5FE12FBCF314180423E68B1391941CEBCE314F9CF3141106F8184CA391941CB10C7FAF6CF31414048507CE33919415AC1A8C4F4CF3141B0839E4DFC391941858EE472F2CF3141804694F6143A19414FAF9405F0CF3141C0B359752D3A1941FB75E07CEDCF31418082E2C7453A19414450FCD8EACF3141D06722EC5D3A1941EAE2361AE8CF31413064AAE0753A1941E22D9040E5CF3141205305A38D3A194128287E4CE2CF314120A0F831A53A194196081B3EDFCF31417095438BBC3A19417C58A815DCCF3141D0550EADD33A194169BC74D3D8CF3141E0E1E995EA3A1941A59BC4C0D6CF314110DB8A7DF83A19415A7DAE56D2CF3141A0F36CD6143B194127CB10E78CCF3141404ED191B93C19411BB7D1408ACF314110295C0FA43D1941283108CCEBCF3141309D80A6543B1941696FF0E5F0CF3141D0550EAD333B1941E82631E8F2CF314160A2B437263B1941EF9E3C6CF6CF314130FF217D0D3B19417E7346D4F9CF3141306F8184F43A1941A7A44E20FDCF314140A91350DB3A1941693BDF4F00D03141206519E2C13A1941D200DE6203D031414011363CA83A19414850FC5806D031411065AA608E3A194191A0F83109D03141B03B4E51743A1941589FABED0BD0314110E02D105A3A1941F2A7C68B0ED03141609B559F3F3A194125F697DDB9CF3141008195438F4719413559FC13C2CF3141702E64F033471941F1073C5CC8CF3141C02AF931D6461941AB9D29ABCCCF314190671EAF764619416EC61AF9CECF3141C0CFC211164619419BE2F541CFCF314150EFCB05B545194121523985CDCF3141001DE437544519414C5BFCC5C9CF314100454754F4441941D5AAE90AC4CF314130799005964419418877335EBCCF314140668AF339441941E05D81CDB2CF3141A0CA04C2E04319410715D869A7CF31418003B10F8B4319410D277B479ACF3141F0B207753943194164E3C87D8BCF314160793983EC4219412BCB10277BCF3141A0A52CC3A4421941E2718A8E78CF3141A025E48389431941CBF5D2EC84CF314180C10674D4431941495505B08FCF31414084BE4123441941537CEDC498CF3141509B6F6075441941561A571BA0CF3141E062933DCA441941F08B2AA6A5CF314120D8BD41214519413F37845BA9CF314180C5ABD1794519410331C634ABCF3141D0CF574FD34519410F0BA42EABCF3141C064141B2D461941FFB62849A9CF314150AAA89486461941A672B687A5CF3141A05C6E1CDF4619418DBE00F19FCF314100AD6E1436471941D668008F98CF3141F01B7CE18A47194125F697DDB9CF3141008195438F471941020000000200000000029100000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(959837 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (960351, N'{52F91227-1624-45C2-8E8D-4F418E81DCA6}', N'012759481', 868179, N'KAP55', NULL, N'12759481', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 20', N'Block 19', NULL, N'LOT 20 BLOCK 19 DISTRICT LOT 706 YALE (FORMERLY OSOYOOS) DIVISION YALEDISTRICT PLAN 55 EXCEPT PLAN H831', N'0114', N'0022', N'NO', N'ICIS CADASTRE', 1, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-05-03T10:28:21.000' AS DateTime), 208, 62, 0xBD0B0000010405000000FAE46141C255354150A913D0DB131F41C17D1D58C9553541F0FFFFFFF7131F4145598698D6553541F05374A4C2131F4153AF9445D2553541508638569B131F41FAE46141C255354150A913D0DB131F4101000000020000000001000000FFFFFFFF0000000003, CAST(960351 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (961461, N'{AE8BF218-5EBE-4033-9162-93D1718C87FE}', N'016626192', 3, N'NO_PLAN', NULL, N'16626192', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 3', N'28,22', NULL, N'THAT PART OF FRACTIONAL LEGAL SUBDIVISION 14 SECTION 3 TOWNSHIP 28 RANGE 22 WEST OF THE 5TH MERIDIAN KOOTENAY DISTRICT LYING EAST OF THE RIGHT OF WAY OF THE CANADIAN PACIFIC RAILWAY', N'0163', N'0006', N'NO', N'ICF', 8, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-06-23T16:21:09.000' AS DateTime), 154649, 1548, 0xBD0B0000010414000000E09C114599C338414805A31256C32641AFFA5C8D94C33841F087F4DB6DC32641F02FBB4790C33841B003E74C86C3264124DBF93E8EC33841D8D4782992C32641CB7F489F8AC3384190E61DE7AAC32641244A7BA366C3384110E258177DC42641228E757156C33841F863CC5D91C526413CF8C204E8C43841F87402DAF5C526410AD7A3D019C538419823B97CD8C22641B4BFECDED5C33841C8DEE08B87C226413A4547F2C5C33841205839B4B8C22641E2E99512BEC338417838D6C5CEC226414B50FCF8B6C3384100F77520E4C226415FDC4683B3C33841203FC61CEFC2264102098AFFACC338419006F05605C326416A09F9E0A9C33841B0BAB88D10C32641A82C43FCA3C33841B0A0F83127C32641C0CAA1659EC33841F0361A803EC32641385EBAC99BC3384180A7570A4AC32641E09C114599C338414805A31256C3264101000000020000000001000000FFFFFFFF0000000003, CAST(961461 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (961557, N'{256687E6-522D-41B0-95D7-20E7FD584176}', N'002909189', 117903, N'VIP877', NULL, N'2909189', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 12', N'Block 9', NULL, N'THAT PART OF LOT 12, BLOCK 9, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, NULL, N'UNKNOWN', N'0', N'307.7', CAST(N'2021-06-29T17:00:52.000' AS DateTime), CAST(N'2021-06-29T18:02:22.000' AS DateTime), 307, 71, 0xBD0B000001041500000098081BFED0383241D0BFEC1E7C8C1741100BB586CA383241D06F5F87308C1741B8640405CA38324110270D49318C174198D13583C9383241E0117909328C17419A834901C938324100E6A2C8328C1741B7AC3F7FC8383241F05A8A86338C1741F27E18FDC7383241B0252F43348C17413F2CD47AC7383241B0FF90FE348C174157A6CF8FC5383241505FF7B7378C1741BEAA9FA3C3383241B0B70B643A8C174195014AB6C138324120FFC5023D8C17415F76D4C7BF38324180551E943F8C17411FD844D8BD38324110010D18428C174108F9A0E7BB383241D0718A8E448C1741A111A57DC2383241501F63EE8F8C1741B876D2EDC4383241405246E28C8C1741C4C8EA5BC73832412000FDBB898C17413678DCC7C9383241B0EB9D7B868C17412D059631CC383241B0934021838C1741C0FF0599CE3832416033FDAC7F8C174198081BFED0383241D0BFEC1E7C8C174101000000020000000001000000FFFFFFFF0000000003, CAST(961557 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (963327, N'{44CF00E9-102B-40FF-9C3B-B3AF7FD1D7DD}', N'016201931', 3191432, N'NEP647', 22521891, N'16201931', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'Block 10', NULL, N'LOT 4 BLOCK 10 DISTRICT LOT 2375 KOOTENAY DISTRICT PLAN 647', N'0163', N'0018', N'NO', N'PMBC-OPERATIONS', 1, N'LSA', N'COGO', N'0', N'334.4', CAST(N'2021-05-17T09:38:28.000' AS DateTime), CAST(N'2021-10-28T14:15:24.000' AS DateTime), 334, 91, 0xBD0B00000104050000001AB7D1A051843A4180A301BC9F1D2041C932C4712D843A418006F0D6941D20417858A8152C843A41D82FBBE7A61D2041E19C114550843A41E0CCCCCCB11D20411AB7D1A051843A4180A301BC9F1D204101000000020000000001000000FFFFFFFF0000000003, CAST(963327 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (963943, N'{A516EAE9-F15D-485F-981C-82F8CEE1D28C}', N'010552391', 854294, N'KAP4440', NULL, N'10552391', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot C', NULL, NULL, N'LOT C SECTION 3 TOWNSHIP 20 OSOYOOS DIVISION YALE DISTRICT PLAN 4440', N'0063', N'0016', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-12-03T11:29:47.000' AS DateTime), 5823, 356, 0xBD0B0000010408000000452575E280743641606DC53E21A2214125ED0D5E43743641488D972E74A221412E33333377743641B0976ED27DA221419CEFA786B3743641009F3C6C8AA221414E6B9AD7B574364190C420F08AA22141E2B5841CBE743641A079C7E9DAA12141E22406A1A1743641600C026BD6A12141452575E280743641606DC53E21A2214101000000020000000001000000FFFFFFFF0000000003, CAST(963943 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (964013, N'{1217063C-A211-4786-8A16-3C4A063DB2E7}', N'002314002', 648148, N'VIP2122', NULL, N'2314002', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Parcel A', N'REM Lot 18', NULL, N'PARCEL A (DD 10492W) OF LOT 18, DISTRICT LOT 8, QUADRA ISLAND, SAYWARD DISTRICT, PLAN 2122 EXCEPT PART IN PLAN 2601 RW', N'0163', N'0027', N'NO', N'MODIFIED-ICIS', 3, N'LSA', N'UNKNOWN', N'0', N'3505', CAST(N'2021-12-06T14:18:25.000' AS DateTime), CAST(N'2021-12-07T12:26:01.000' AS DateTime), 3067, 317, 0xBD0B000001041800000012BE3059651E304158AD699E5E0C2141B79690CF751E304198B0E1A9350C2141A423B91C6B1E3041B0E1E915310C21413792CBBF631E304128CCEE89620C214132287E04641E3041B8D070E3610C2141553C0149641E3041209AA43C610C21415EB8548D641E3041985E8A95600C2141198678D1641E3041305422EE5F0C21415C8F6C15651E304190B16C465F0C214112BE3059651E304158AD699E5E0C214108560E6DA01E3041F0C117E6470C2141F5CBEE098E1E30414082E207400C2141D83D79B8761E3041307B836F7A0C21410481F5DC711E3041F8A9A613860C21416B47DACC6C1E30418045C35C910C21419FAFD189671E3041907423479C0C21416D969615621E3041B08230CFA60C21415705F4715C1E3041500F74F1B00C2141A69BC4A0561E3041983099AABA0C2141E1E00B13521E3041E82FBB67D90C21413C014DE45C1E30418039B408DE0C2141A93E579B7D1E3041B0946508EC0C21410466F7E48B1E3041F8FACBAEA80C214108560E6DA01E3041F0C117E6470C2141020000000200000000020A00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(964013 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (964911, N'{227AFA9F-8AF7-4426-806C-4C60C8331151}', N'010690115', 473133, N'KAP3984', NULL, N'10690115', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 2', NULL, NULL, N'LOT 2 SECTION 19 TOWNSHIP 4 OSOYOOS DIVISION YALE DISTRICT PLAN 3984 EXCEPT PLAN H732', N'0134', N'0012', N'NO', N'ICF', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2022-01-28T13:08:24.000' AS DateTime), 33522, 926, 0xBD0B000001040E000000216C785A3A9B364120AC1C9A14F82241587DAE36469B364190E61D2746F82241C910C73A519B3641985E29CB77F82241C5BAB82D659B364120F2410FB9F822411495D4C9799B3641B87268D1E7F8224134BB276F999B3641E880950333F922418BA7578AA59B3641E863CC1D47F92241204A7BA3B29B364130DC46035DF9224197559F0BC39B364148AF94E518F82241E0A59B84409C36410019739731F822419ABB9690479C3641C0B88D068BF722412EFF217DC99B3641D076BEDF73F72241AEEA7375279B3641400AD723ABF72241216C785A3A9B364120AC1C9A14F8224101000000020000000001000000FFFFFFFF0000000003, CAST(964911 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (965434, N'{181F33C1-199A-43EB-B06A-086D78D14F95}', N'005700337', 495877, N'NEP595', 90054437, N'5700337', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 108', N'Block 15', N'', N'LOT 108 BLOCK 15 DISTRICT LOT 208 KOOTENAY DISTRICT PLAN 595', N'0056', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:48.000' AS DateTime), 1348, 186, 0xBD0B000001041100000063E5D02211303941B800DE02DCE02141A5923A811E303941E8497B4320E121412CF697FD2F30394118EF380516E121419A99999922303941D00209CAD1E02141EAA420B520303941A8AE1705C6E021410A2B92861E3039419025E373BAE021415FC74D0F1C3039411876B31DAFE02141B7DAE050193039416087AB09A4E02141E790054D16303941509CC43E99E02141BCCAA1051330394100EFC9C38EE02141B9D1003E0030394180006FC199E02141F0A2A5DA03303941B895DDE7A3E0214105ED5E2907303941E88A7276AEE0214136FD3F270A303941F02BD863B9E02141EC9CA3D10C30394138EE64A6C4E02141A4682E260F303941D0FB2334D0E0214163E5D02211303941B800DE02DCE0214101000000020000000001000000FFFFFFFF0000000003, CAST(965434 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (965670, N'{FD663A3B-AC9A-4548-9233-178398B6B908}', N'001567578', 117903, N'VIP877', NULL, N'1567578', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 8', N'Block 12', N'', N'THAT PART OF LOT 8, BLOCK 12, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:05:01.000' AS DateTime), CAST(N'2019-01-05T10:22:14.000' AS DateTime), 307, 71, 0xBD0B00000104050000001C3867844F363241304A7B838C8F1741A835CD9B4936324150A301BC3F8F1741FBE461013B363241706E1283518F1741F5CBEEE94036324170A7574A9E8F17411C3867844F363241304A7B838C8F174101000000020000000001000000FFFFFFFF0000000003, CAST(965670 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (965681, N'{B293E64B-F9C5-45E2-8CFF-EDEFBB2A2CC6}', N'008192294', 117903, N'VIP877', NULL, N'8192294', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 20', N'Block 17', N'', N'LOT 20, BLOCK 17, SECTIONS 9 AND 24, VICTORIA DISTRICT, PLAN 877, EXCEPT PART IN RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY COMPANY SHOWN ON PLAN 1209 OS', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:05:01.000' AS DateTime), CAST(N'2019-01-05T10:22:15.000' AS DateTime), 265, 88, 0xBD0B00000104070000005427A0696839324150EF38C5198A17418541602564393241E0D6A3F0158A1741B2506BDA62393241E09F1A2F238A17418395438B5639324190CCCC4CA18A1741D088D27E5F393241300F0B35A98A174191CB7F6860393241706B9A77A78A17415427A0696839324150EF38C5198A174101000000020000000001000000FFFFFFFF0000000003, CAST(965681 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (965899, N'{6D1EFF8C-5914-4EB7-81A5-FBAA2E0886C4}', N'002911159', 117903, N'VIP877', NULL, N'2911159', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 8', N'Block 10', N'', N'THAT PART OF LOT 8, BLOCK 10, SECTIONS 14 AND 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:39:52.000' AS DateTime), CAST(N'2019-01-05T10:23:27.000' AS DateTime), 306, 71, 0xBD0B00000104050000004C27A02900383241F0293A127D8D1741792D213FFA373241905F984C308D17412BC286A7EB3732418096210E428D17415717B791F1373241B03C2CD48E8D17414C27A02900383241F0293A127D8D174101000000020000000001000000FFFFFFFF0000000003, CAST(965899 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (966449, N'{41B9478D-BEE4-4360-9502-A9A888E7ECCB}', N'007215061', 16818, N'VIP1553', NULL, N'7215061', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', NULL, NULL, N'THAT PART OF LOT 2, SECTION 12, RANGE 6, QUAMICHAN DISTRICT, PLAN 1553, SHOWN INCLUDED IN PLAN 1027 O.S.', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 15, N'DATACOMPILATION', N'UNKNOWN', N'0', NULL, CAST(N'2019-01-30T16:15:31.000' AS DateTime), CAST(N'2019-01-30T16:26:27.000' AS DateTime), 14876, 1023, 0xBD0B00000104070000004FAF94E53FD43141403333331D90194152A60A6651D4314120158CCA2190194174A3017C19D631410086C954BF8E1941682BF6971AD6314110FFB27B428E1941F4C2642A41D4314120D7A370AE8F1941ADE1E97540D43141E0DA8AFDEB8F19414FAF94E53FD43141403333331D90194101000000020000000001000000FFFFFFFF0000000003, CAST(966449 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (967134, N'{AB4C192B-5873-4D15-B803-39F4DC0D9695}', N'001659766', 3, N'NO_PLAN', NULL, N'1659766', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 6', N'', N'', N'THAT PART OF SECTION 6, LAKE DISTRICT INCLUDED WITHIN THE AREA SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 15377I', N'0154', N'0005', N'NO', N'MODIFIED-ICIS', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:52:28.000' AS DateTime), CAST(N'2019-01-05T10:54:08.000' AS DateTime), 12287, 968, 0xBD0B000001042800000081D93D7944263241D02F4CA60798174141E8D90C36263241D0F67560A0971741E27A14CE1926324130E92631AE971741F69A092310263241509CBB8FB29717418622E5700626324120613ECDB59717418223C3B9FC253241B0BAFAE8B7971741ECC5C0FFF2253241F0387BE2B8971741FAD1FB44E9253241409389B9B8971741293A928BDF253241F0B12E6EB79717418C4F7A66D2253241E02A2AF9B29717413B2F5F50C5253241502EA44EAC9717411CB4304FB8253241E0F0A271A3971741FE3AD568AB253241F0D52B66989717413AF526A39E253241409C41318B9717412441F103922532418019E2D87B97174146D8F05461253241707CD0333E97174186855A530D253241203D9BD5D39617418DE4F25F07253241F05E984CCC9617417E6ABC548424324170643B5F26961741ECFDD4D880243241908FC2F5219617412263EE9A95243241300A6822AF96174123EBE21699243241D0DEE08BB3961741F7CBEE09B8243241A035CDBBDA961741F285C9142125324140C807BD5F9717412EBB27AF26253241706132D5669717410924283E54253241904AEA84A0971741EBF21FB289253241B00E9C33E4971741147D396D97253241D0B74DDAF497174157181152A5253241900F5E2D039817416AAD585AB325324160FA4C260F9817412610B27FC1253241409BABBF189817414BE3B1BBCF25324100CB1EF51F9817413E82E207DE253241501361C3249817414F1B6391E8253241703BE530269817419F4B681CF32532412016446326981741801CA5A6FD25324160A5725A259817410BC3CC2D08263241B0B2AA1623981741882093AF12263241F0C16A981F981741BE42AD291D26324140F775E01A98174181D93D7944263241D02F4CA60798174101000000020000000001000000FFFFFFFF0000000003, CAST(967134 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (967729, N'{C6AA7265-038A-415B-8B7F-626C037173E8}', N'013675940', 1092653, N'NWP594', NULL, N'13675940', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', N'Block 55', NULL, N'LOT 3 EXCEPT PART ON SRW PLAN 43417 BLOCK 55 DISTRICT LOT 411 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 594', N'0081', N'0009', N'NO', N'MODIFIED-ICIS', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2021-03-09T11:44:07.000' AS DateTime), 92, 40, 0xBD0B00000104050000001171AC2BE76133418031772D97571C417A14AE27DF613341208C4AEAB8571C41A11A2F7DE461334160C4B1AECC571C4156643BDFED613341D0096822A5571C411171AC2BE76133418031772D97571C4101000000020000000001000000FFFFFFFF0000000003, CAST(967729 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (967765, N'{1D77510A-942D-4C5C-877C-A7470CD25EB7}', N'012771724', 495490, N'KAP46', 90053487, N'12771724', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 7', N'Block P', NULL, N'LOT 7 BLOCK P DISTRICT LOT 879 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 46 EXCEPT PLAN H731', N'0046', N'0019', N'NO', N'ICF', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-03-15T16:15:52.000' AS DateTime), 272, 79, 0xBD0B0000010406000000860D4FAF73693741A08FC27596411D41F6C2644A7A69374160787AA5AE411D4146D8F0948E6937413050FC9859411D41D6C56DB48A693741005F98CC45411D410C5F984C8969374150FAED6B3B411D41860D4FAF73693741A08FC27596411D4101000000020000000001000000FFFFFFFF0000000003, CAST(967765 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (968198, N'{9A5BA5FA-47FB-42E1-93E9-66C26738DDBE}', N'012934283', 3, N'NO_PLAN', NULL, N'12934283', NULL, N'72400404000', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART 290', NULL, NULL, N'THAT PART DISTRICT LOT 290 SHOWN ON PLAN B4113 KAMLOOPS (FORMERLY LILLOOET) DIVISION YALE DISTRICT EXCEPT PLANS 3672 AND H749', N'0163', N'0028', N'NO', N'ICF', 8, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-12-21T14:05:57.000' AS DateTime), 23926, 755, 0xBD0B0000010407000000DEBE0E7C60863541B042AD2951462541428B6CA763863541F0D24D62B4452541BEF5281C4285354198C2F5A89045254129287ECC30853541984C150C32462541595227E0E2853541283108EC45462541EBB050ABF985354168302A2949462541DEBE0E7C60863541B042AD295146254101000000020000000001000000FFFFFFFF0000000003, CAST(968198 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (968941, N'{1A1B4CB1-0493-406C-82E9-78EF879613E7}', N'010358749', 872688, N'KAP5183', NULL, N'10358749', NULL, N'P52090', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Parcel A', N'Lot 1', N'', N'PARCEL A (DD 169572F) OF LOT 1 DISTRICT LOT 235 KAMLOOPS DIVISION YALE DISTRICT PLAN 5183', N'0055', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:31:34.000' AS DateTime), 566, 98, 0xBD0B0000010405000000F797DD1390663541F82FBBA7E6AD2341CF6F5F4772663541E044D830F6AD2341C732C4917166354110AAF15216AE2341A435CDDB8B663541809CA26318AE2341F797DD1390663541F82FBBA7E6AD234101000000020000000001000000FFFFFFFF0000000003, CAST(968941 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (969298, N'{9B3C207A-FD3C-45C8-B7A1-01E6D440147E}', N'017716667', 870924, N'KAP46863', 90053314, N'17716667', NULL, N'P6537', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', N'', N'', N'LOT 1 SECTION 20 TOWNSHIP 19 RANGE 17 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN KAP46863', N'0055', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:29:57.000' AS DateTime), 42791, 1075, 0xBD0B000001040B000000F2384527935F3541F0384587C17F2341E68C282D4E603541B83099AABF7F234128E4839E95603541C01E85EB557E2341474772595D603541003411B64C7E2341C2051294D55F3541E8C8E57F367E234139AB3ED7875F354120FDF6F5067F2341A9A44E00555F3541A879C769437E2341C21726F32B5F3541B0779CE26D7E2341BB847C10625F354160B96B499D7E2341749CA2C3815F3541B0FD6537177F2341F2384527935F3541F0384587C17F234101000000020000000001000000FFFFFFFF0000000003, CAST(969298 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (970370, N'{B9A201F8-4A1B-40B2-91D0-DD4013136DEE}', N'009812911', 3, N'NO_PLAN', NULL, N'9812911', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART B', N'55', N'', N'PARCEL NO. 1 (DD 233114I) OF PARCEL B (DD 55471I) OF SECTION 55, LAKE DISTRICT, EXCEPT PART IN PLAN 2418 RW', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:44:42.000' AS DateTime), CAST(N'2018-01-09T12:29:56.000' AS DateTime), 866, 123, 0xBD0B0000010406000000799318E4F6333241C0D6346FDD2618411A51DAFBF9333241206B9AF79A26184184AEB642FB333241E051B81E8526184114B7D1A0D5333241408C4A6A772618410B1B9E3ECF33324120B98D06CF261841799318E4F6333241C0D6346FDD26184101000000020000000001000000FFFFFFFF0000000003, CAST(970370 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (970838, N'{46695093-03E0-4EBF-A959-B9219AE37C2C}', N'000400491', 3, N'NO_PLAN', NULL, N'400491', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART NE4', N'42', N'', N'THE NORTH EAST 1/4 OF SECTION 42, SOUTH SALT SPRING ISLAND, COWICHAN DISTRICT, EXCEPT THOSE PARTS IN PLANS 2716, 14152, 42767 AND VIP67045 EXCEPT PARCEL C (DD 78931-I)', N'0163', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:05:01.000' AS DateTime), CAST(N'2018-01-09T12:24:15.000' AS DateTime), 382763, 3028, 0xBD0B0000010436000000E17A14EE4120324170A2B437FD811941381AC09B3620324120EEEB40FB811941E20209AAA21E324170AA60D4BE811941F41FD26F841E3241204A7B03618E194190CB7F28F81E3241C03923CA748E1941E4263108191F3241801EA7687A8E19416C5F07EE621F3241C0C8763E878E194187F4DBB7AC1F3241A0CFD556948E19414CE17AB41C203241D0201F74A38E1941AEEA73D58A203241605F074EB28E1941B6627F59EA203241003D2C54BF8E1941CF88D2BEF5203241005D6D457E8E1941C1D32BC505213241F0AF03E7AA8E19419ED6346F0A21324110F31FD2A68E19416B2BF65711213241209EEFA7818E194172E7FB4913213241D01951DA6D8E19419FABAD180E2132418047E1FA3A8E1941AB57C7AA0D213241606DB62C2A8E19417A42F97D0D2132418007DC4B198E194183376D920D213241E0A81068088E19419B2210E80D213241609E1591F78D1941AB21927E0E2132415045A0D6E68D19413DCF66550F213241C05D4B48D68D1941FC4C84ED1921324100BDE3148D8D194101B37B321C213241503BDFCF878D1941493810BF1D213241100551C9828D1941BA5E135C1F213241B02654187E8D194113145E082121324170A842C0798D19417C5BBEC222213241E00937C4758D19412728F88924213241A00E0A27728D19411C3FC65C26213241C0B050EB6E8D1941633255103021324140522720598D1941A489B0A1E120324100FDF6F50B8C19414B2575627F203241F098BB96118B19414DAF94E524203241A013D0C4AC8919415374249725203241308B6C675B8919410C8195A32520324170325530558919417B9318E42520324130840D4F378919413A1AC07B262032419051491DF1881941E2A59B043620324100DFE08BFB811941E17A14EE4120324170A2B437FD811941024D84CD2D213241C0DEE08BC88E19418C06F0D64421324170A1D6B4CB8E1941A111A5BD5F21324100AC1C5ACF8E194112A5BDE16321324110F38E53BD8E19414FD191DC672132413075029AAA8E19410088F4FB6A213241F0DFBE0E9C8E19418D75711B6D213241B00F7A368F8E1941FB75E0DC49213241301E166A9C8E1941F83A704E3621324140DC4683638E1941CE44D810302132418016D9CE868E1941F9DBD7411F21324120287E8CC68E1941E0BE0E7C2A213241B098BB16C88E1941024D84CD2D213241C0DEE08BC88E1941020000000200000000022900000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(970838 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (971154, N'{60807175-E34D-4753-A91A-E68C15AD7CDC}', N'001718258', 3, N'NO_PLAN', NULL, N'1718258', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 6', N'2', N'', N'THAT PART OF SECTION 6, RANGE 2, QUAMICHAN DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 31023I AND CONTAINING 2.66 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 42, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T20:18:33.000' AS DateTime), CAST(N'2019-01-07T18:33:04.000' AS DateTime), 10192, 742, 0xBD0B00000104060000001851DABBBEC8314100560EAD48681941DE2D9020C2C8314180423EE87A671941215A641BC2C8314120006F017B6719412E4CA62ADFC73141A0B88D86CC6B194129C2864707C83141F05352A7D76B19411851DABBBEC8314100560EAD4868194101000000020000000001000000FFFFFFFF0000000003, CAST(971154 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (971435, N'{8524D066-5E4E-4CDB-94A0-CC6DC3276365}', N'008552487', 12816, N'VIP703A', 29182621, N'8552487', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', NULL, N'REM Lot 4', N'Block 4', N'', N'LOT 4, BLOCK 4, DISTRICT LOT 24, OYSTER DISTRICT, PLAN 703A EXCEPT PART IN PLAN 1176RW.', N'0062', N'0007', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T18:16:47.000' AS DateTime), CAST(N'2019-01-07T18:32:11.000' AS DateTime), 173, 54, 0xBD0B0000010406000000109C332283B13141D017265353261B410BB5A6598BB1314150FA5C6D75261B415C4BC8C794B131410088F45B65261B41F2EBC05997B1314110FBCBEE60261B4134431CEB8BB13141506C787A31261B41109C332283B13141D017265353261B4101000000020000000001000000FFFFFFFF0000000003, CAST(971435 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (971928, N'{1715E8BB-8382-488D-A8A9-550CD487DF86}', N'010044671', 8190846, N'KAP9H', NULL, N'10044671', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1988-02-25T00:00:00.000' AS DateTime), N'Lot A', N'', N'', N'THAT PART OF BLOCK A SHOWN RED ON PLAN H9; DISTRICT LOT 393 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 2650', N'0163', N'0022', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', NULL, CAST(N'2021-01-27T16:20:45.000' AS DateTime), CAST(N'2021-01-27T16:23:43.000' AS DateTime), 10352, 796, 0xBD0B000001041F0000001C6C78DA341D36418009F92088EA1D41E6839EAD1C1D364130F697DD42ED1D419D703D4A1F1D3641E0BD3099FAEE1D417F52CCA51C1D364100742EA930EF1D412C50A590191D3641F03F5B5966EF1D416039A00B161D3641E07C089B9BEF1D416775B317121D3641A0BCA55FD0EF1D4108C0F3B50D1D364190C3C49804F01D4197DD93E7081D3641A07D1D3838F01D41ABADD8DF271D3641C0FDD47852F01D416E0E10DA2C1D36410093D86B1AF01D415E75965D311D3641600DF7BEE1EF1D4109B52B69351D3641509AE481A8EF1D41B6DBB0FB381D3641E05E7DC46EEF1D41588328143C1D3641A00AC19634EF1D415617B7B13E1D3641C070CE08FAEE1D410861B7183F1D36418015117CD7EE1D41C267AE5F3F1D3641109E49EAB4EE1D41DE5B98863F1D3641B04E535592EE1D416826738D3F1D3641109509BF6FEE1D4120693E743F1D3641B0F247294DEE1D41907EFB3A3F1D3641C0E1E9952AEE1D410E71ACAB3A1D3641A09CA22329EE1D415443B7003B1D364160F63D3C9FED1D41B26B04053C1D3641A01D916215ED1D416DA179B83D1D3641C07287A48BEC1D4124ECEA1A401D3641D08C091002EC1D4117A81A2C431D3641E0CFFBB278EB1D41808CB9EB461D3641E0073D9BEFEA1D419CBB9650491D3641F012F2C195EA1D411C6C78DA341D36418009F92088EA1D4101000000020000000001000000FFFFFFFF0000000003, CAST(971928 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (972302, N'{A5449638-B3ED-40DC-BF80-2CA3DC0CCAC7}', N'012800732', 3, N'NO_PLAN', 8231940, N'12800732', NULL, N'760-043680.005', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'3173', N'', N'', N'DISTRICT LOT 3173 PEACE RIVER DISTRICT', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:30:13.000' AS DateTime), 2594008, 6442, 0xBD0B000001040800000010BE30793D11344174C1A8A47241344174A301BC3B113441F82EDD8472413441728104E5F70A3441F45C6D45004134416ED71252BF0A344108CCEEC9234434412A5C8F62870A3441587424B748473441E62631A89F0A344114560E6D4A473441767AA52CCB10344130D26FBFBA47344110BE30793D11344174C1A8A47241344101000000020000000001000000FFFFFFFF0000000003, CAST(972302 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (972601, N'{CE0AD430-5E5F-402C-8DC6-576B5FA0A8C6}', N'014913402', 472069, N'NEP4222', NULL, N'14913402', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 22', N'', N'', N'LOT 22 DISTRICT LOT 891 KOOTENAY DISTRICT PLAN 4222', N'0028', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:25.000' AS DateTime), 698, 123, 0xBD0B00000104060000007C0B24C841D539410097FF10E3791E418A635D9C43D53941F0247502A7791E41052B87962ED5394150A8A4CE9A791E412618951416D53941102E90A08C791E41A311A5FD13D53941E095B28CC8791E417C0B24C841D539410097FF10E3791E4101000000020000000001000000FFFFFFFF0000000003, CAST(972601 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (973209, N'{2D5CD3F2-7F85-44D6-9314-0FCD9847BFE8}', N'007722508', 246698, N'PRP1076', 35722261, N'7722508', NULL, N'03513.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 45', N'Block 2', N'', N'LOT 45 BLOCK 2 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:44.000' AS DateTime), 290, 92, 0xBD0B0000010405000000764DF34E462D2C41D8D7811354A130417C16D94E3D2D2C41F0A067335AA1304150840D8F7A2D2C4160BC74F370A1304133BB278F832D2C41B80E9CD36AA13041764DF34E462D2C41D8D7811354A1304101000000020000000001000000FFFFFFFF0000000003, CAST(973209 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (973849, N'{18B4B425-0C3F-4D5A-87B7-D33012FAD537}', N'000017752', 645957, N'VIP1279', NULL, N'17752', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 22', N'Block 14', N'', N'LOT 22, BLOCK 14, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:55.000' AS DateTime), 383, 96, 0xBD0B000001040D000000E002094AAC9D304180BE9F1ABABD1C41570E2D52AC9D304140BF0E1CBABD1C4197F6065FAC9D3041C0E3141DBABD1C41AD1C5AA4AC9D3041406A4DF391BD1C41EDFDD438A99D3041F0BCE39491BD1C4107D7A330A99D304130E17A9491BD1C41E6D0227B9C9D3041D057393490BD1C418A8EE4729C9D30410058393490BD1C417FB74082869D3041C0AACFD58DBD1C419F1A2F3D869D3041F0DA8AFDB5BD1C418C635D5C9F9D304100C66DB4B8BD1C4135014D649F9D304140C6DCB5B8BD1C41E002094AAC9D304180BE9F1ABABD1C4101000000020000000001000000FFFFFFFF0000000003, CAST(973849 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (973860, N'{8728D384-896F-4E75-8E36-164FD61ECED9}', N'000017531', 645957, N'VIP1279', NULL, N'17531', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 12', N'Block 3', N'', N'LOT 12, BLOCK 3, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:54.000' AS DateTime), 383, 96, 0xBD0B00000104090000005317B7F17D9D304150E63F24DDBA1C41188C4AEA7D9D3041F09B3322DDBA1C41E02406C1609D304190B515FBD9BA1C41C0F5287C609D3041E0E7FB2902BB1C41C2CAA1A57F9D3041C0DD028905BB1C4104560EAD7F9D30416095438B05BB1C41F1FDD498869D3041205EBA4906BB1C4149B6F3DD869D3041402CD41ADEBA1C415317B7F17D9D304150E63F24DDBA1C4101000000020000000001000000FFFFFFFF0000000003, CAST(973860 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (973878, N'{07067878-5851-4635-87ED-DE2F38A507CA}', N'000017574', 645957, N'VIP1279', NULL, N'17574', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 16', N'Block 3', N'', N'LOT 16, BLOCK 3, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:49.000' AS DateTime), 383, 96, 0xBD0B000001040D000000DF141D29859D3041C0141D4965BA1C41F2164830859D304160CC5D4B65BA1C4138D6C5AD879D304120295C8F65BA1C41BD1726F3879D3041F0F675603DBA1C410F4FAF74839D3041B04160E53CBA1C4136D6C56D839D3041C06588E33CBA1C41420AD703779D304140287E8C3BBA1C416991EDFC769D304160DE718A3BBA1C41A033A2D4619D30417012834039BA1C417D04C58F619D3041601F636E61BA1C4111D044B8789D3041C08D06F063BA1C41EC482EBF789D3041304547F263BA1C41DF141D29859D3041C0141D4965BA1C4101000000020000000001000000FFFFFFFF0000000003, CAST(973878 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (974583, N'{570F3DFD-385A-4978-AFF9-140365162193}', N'011335246', 7306027, N'KAP1272A', NULL, N'11335246', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Parcel 1', N'Lot 315', N'', N'PARCEL 1 (PLAN A1272) OF LOT 315 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 1790', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-07-06T14:03:49.000' AS DateTime), 2181, 182, 0xBD0B00000104130000005E105899BA683641504013E155311D412E8716D9B96836411024977F6B311D415CBA490CB9683641D0AF036786311D411FB072A8CB683641C02B65998E311D41BE749338DF6836418057CAB27B311D414AB6F33DEC68364170A60A4658311D41BA1E850BF0683641F0C264AA20311D4106BC0512EE683641A0A370BD03311D41CC19511AE868364140BF0E1CE3301D411873D712CC683641B0B43778BC301D418FA982B1C3683641A0D100DEA9301D414C6B9AB7C268364130ED0DBEB8301D410E7A360BC068364140C8073DE6301D41946588C3BF68364190A52CC3EA301D41DBF0F48ABE6836414095D40900311D419C67B36ABD6836417066F76415311D417CB74062BC683641203CBDD22A311D4176E09C71BB683641203CBD5240311D415E105899BA683641504013E155311D4101000000020000000001000000FFFFFFFF0000000003, CAST(974583 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (975214, N'{EDDD14A8-FE1F-4574-91CB-D5E659BE7BF4}', N'003813550', 653408, N'VIP17833', NULL, N'3813550', NULL, N'05669.050', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', N'', N'', N'LOT 1, SECTION 27, TOWNSHIP 6, COMOX DISTRICT, PLAN 17833', N'0163', N'0017', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-12-17T18:22:50.000' AS DateTime), 7967, 412, 0xBD0B0000010410000000BC5B206126483041007B14EEF441204150B3349E21483041109EBF8BFE412041AE261A441D4830418890AAE80842204109134A5A19483041103209F31342204167FC7CE715483041F07EE5971F42204197029FF112483041D82140C32B4220419BB5C57D1048304128C9326038422041565A27900E483041980E14594542204199AE132C0D483041A0A89C97524220415239EE530C48304130AE0D05604220415B302A090C48304170A7578A6D4220411C4A7BE30B48304118A9135008432041F8C2644A39483041004C3709C0422041B64082C25A483041F8065FD82242204107F9A0E751483041401058F9A3412041BC5B206126483041007B14EEF441204101000000020000000001000000FFFFFFFF0000000003, CAST(975214 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (975714, N'{AD8F06B8-2793-493C-A42B-B75FD1C7EC18}', N'014083647', 295389, N'PRP968', NULL, N'14083647', NULL, N'00582.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'Block 41', N'Section 1', N'LOT 1 BLOCK 41 SECTION 1 DISTRICT LOT 863 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7733', N'0087', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:28.000' AS DateTime), 292, 80, 0xBD0B00000104050000008626C246386E2B414C3EE859AB6431419C2C435C4C6E2B4168711B0DB0643141F2FDD4784B6E2B410460766F906431418E416065376E2B41D8F97E8A906431418626C246386E2B414C3EE859AB64314101000000020000000001000000FFFFFFFF0000000003, CAST(975714 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (975718, N'{95CB214C-19FA-4A78-81AB-A55546B4C888}', N'013978055', 295389, N'PRP968', 23696581, N'13978055', NULL, N'01259.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 9', N'Block 112', N'Section 2', N'LOT 9 BLOCK 112 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:27.000' AS DateTime), 233, 66, 0xBD0B0000010405000000463EE8D993792B41906CE77B7B6431414C840DCF7F792B4148B81EA57B643141BB293A9280792B414CD191DC926431410E1B9E9E94792B418C8EE4B292643141463EE8D993792B41906CE77B7B64314101000000020000000001000000FFFFFFFF0000000003, CAST(975718 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (975723, N'{B096D402-6EA2-4533-96BC-800A613DBE37}', N'013998111', 295389, N'PRP968', 23689131, N'13998111', NULL, N'01250.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 21', N'Block 105', N'Section 2', N'LOT 21 BLOCK 105 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:27.000' AS DateTime), 260, 72, 0xBD0B0000010405000000B059F5B909792B41344ED191BF643141EA9E3CACF5782B4184BE9FBABF643141CAA3707DF6782B412497FFB0D9643141034D848D0A792B41F4384587D9643141B059F5B909792B41344ED191BF64314101000000020000000001000000FFFFFFFF0000000003, CAST(975723 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (975729, N'{62788030-278E-4607-8A8C-83B8B54D1970}', N'013978012', 295389, N'PRP968', 23696161, N'13978012', NULL, N'01259.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 5', N'Block 112', N'Section 2', N'LOT 5 BLOCK 112 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:26.000' AS DateTime), 233, 66, 0xBD0B0000010405000000CA09686230792B41E4C0398393643141A5E8486E44792B412C7E8C5993643141891F63AE43792B41482EFF217C6431418F6588A32F792B418895434B7C643141CA09686230792B41E4C039839364314101000000020000000001000000FFFFFFFF0000000003, CAST(975729 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (978718, N'{9431905B-53AA-4E64-A922-B7F2B76B4699}', N'011332069', 1303888, N'VAP4742', NULL, N'11332069', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-15T00:00:00.000' AS DateTime), N'Lot 62', N'Block 25 & 28', N'', N'LOT 62 BLOCKS 25 AND 28 DISTRICT LOT 599 PLAN 4742', N'0092', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T10:50:26.000' AS DateTime), 368, 94, 0xBD0B000001040900000073F90F49177A32418027A009AE871D41D7F0F44A3C7A3241C0D32B65B5871D410A24287E3C7A3241F068006FB5871D41469D80A63C7A3241108351C98D871D411B6A4D733C7A3241305BB1BF8D871D41CA76BE7F177A3241702B871687871D4199438B4C177A3241A095B20C87871D413DC6DC15177A32417092CBFFAD871D4173F90F49177A32418027A009AE871D4101000000020000000001000000FFFFFFFF0000000003, CAST(978718 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (982615, N'{0564DF96-9051-45EF-8A9D-F50636D62C96}', N'015269868', 3, N'NO_PLAN', 8799841, N'15269868', NULL, N'05030.280', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'A', N'4138', N'', N'PARCEL 1 (REFERENCE PLAN 96482I) OF PARCEL A (SEE 27684I) DISTRICT LOT 4138 KOOTENAY DISTRICT', N'0036', N'0018', N'NO', N'ICF', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-05-08T12:46:43.000' AS DateTime), 14854, 486, 0xBD0B000001040700000088FD65F7064D3B41C8DEE0CB9424214172CE8872CB4C3B41B83099EA4425214198658863E24C3B41B8E1E955B5252141FB4A59E6244D3B41F0718A4EAF25214172B5151B7A4D3B4178F085C93F252141EAFBA9510C4D3B412890A0B88824214188FD65F7064D3B41C8DEE0CB9424214101000000020000000001000000FFFFFFFF0000000003, CAST(982615 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (982958, N'{36DFF476-2978-4876-A29B-0003A6693980}', N'001590731', 137090, N'VIP1430', NULL, N'1590731', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block 2', N'', N'THAT PART OF LOT 3, BLOCK 2, SECTION 9, ESQUIMALT DISTRICT, PLAN 1430 INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0154', N'0005', N'NO', N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:51:43.000' AS DateTime), CAST(N'2019-06-28T09:52:38.000' AS DateTime), 628, 123, 0xBD0B0000010407000000D78AFD25DF2B324100F01648C59A1741B2FA5C2DEB2B3241806B9AF7AB9A17411BB9FC47012C3241F08EE4727D9A17414F8D978EFE2B3241B0A679475D9A174170E7FBA9CF2B324110D49AE6979A1741B0726871D42B324160ECC0B9D29A1741D78AFD25DF2B324100F01648C59A174101000000020000000001000000FFFFFFFF0000000003, CAST(982958 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (983018, N'{AB169E34-E5D9-4DB5-A46A-28037895B58B}', N'000367354', 123905, N'VIP35944', 90075551, N'367354', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot B', NULL, NULL, N'LOT B, SECTION 12, RANGE 4 EAST, SOUTH SAANICH DISTRICT, PLAN 35944', N'0016', N'0005', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:42:26.000' AS DateTime), CAST(N'2019-07-05T09:59:12.000' AS DateTime), 896, 128, 0xBD0B000001040B000000F1FDD438943032415083C0CA26511841CA8954319530324130394559165118410385AF1F9630324140216ADE05511841D347E003973032414055935AF55018412568E1DD97303241E02625CEE4501841D4B9ADAD9830324180198439D4501841AB4E407399303241F0E3149DC350184168226C188430324170AACF55C05018410A93A9C26A30324170D71272BC50184122166A6D72303241C0847CD00B511841F1FDD438943032415083C0CA2651184101000000020000000001000000FFFFFFFF0000000003, CAST(983018 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (983166, N'{60743F92-2BA4-41D6-A03D-D7A0CE9A92B2}', N'001566563', 117903, N'VIP877', NULL, N'1566563', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 11', N'Block 11', NULL, N'THAT PART OF LOT 11, BLOCK 11, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:24:12.000' AS DateTime), CAST(N'2020-09-22T09:16:54.000' AS DateTime), 306, 71, 0xBD0B0000010405000000AF8BDBA81A373241106D56FD408E17411F8E75110C373241B0832FCC528E1741D288D2FE11373241F0DFBE8E9F8E1741093411962037324130371AC08D8E1741AF8BDBA81A373241106D56FD408E174101000000020000000001000000FFFFFFFF0000000003, CAST(983166 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (985730, N'{F296EF0D-5AA1-411F-9A64-AECC75021A47}', N'011218070', 5209561, N'KAP975A', NULL, N'11218070', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN PROVINCIAL', NULL, N'Parcel 1', N'Lot 4', NULL, N'PARCEL 1 (PLAN A975) OF LOT 4 DISTRICT LOT 18 OSOYOOS DIVISION YALE DISTRICT PLAN 2093 SAID TO CONTAIN 0.031 ACRES MORE OR LESS', N'0072', N'0012', N'NO', N'MODIFIED-ICF', 16, N'LSA', N'UNKNOWN', N'0', N'144.8', CAST(N'2019-02-22T14:28:05.000' AS DateTime), CAST(N'2020-04-16T15:39:08.000' AS DateTime), 120, 87, 0xBD0B000001040A0000008E28EDCDA4E7364108A167B35381224107523D419FE73641508B6B2F4B81224132F9FAC299E73641F80C5586428122411421645394E7364190E985B8398122410C27B6F28EE73641508461C63081224132C02DA189E7364110DA4CB0278122419AF6065F84E73641507DAE761E812241D7D7817383E73641C0839ECD20812241D934EF5899E7364168B3EA334E8122418E28EDCDA4E7364108A167B35381224101000000020000000001000000FFFFFFFF0000000003, CAST(985730 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (985984, N'{83FB61F4-AD4E-4A41-8BEC-AFE94CC8B481}', N'009096426', 295867, N'PRP973', 90072570, N'9096426', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 12', N'Block 65', NULL, N'LOT 12 BLOCK 65 DISTRICT LOT 336 CASSIAR DISTRICT PLAN 973 EXCEPT PLAN PRP13323', N'0137', N'0011', N'NO', N'ICF', 0, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-03-22T08:21:48.000' AS DateTime), 307, 90, 0xBD0B0000010405000000B4FEB27BE8F226418C0D4F0FC9AD32419FF831A6CBF22641287A364BB2AD324115F241CFD2F22641F8088A5FD7AD3241DCA59B04EBF2264180734634D6AD3241B4FEB27BE8F226418C0D4F0FC9AD324101000000020000000001000000FFFFFFFF0000000003, CAST(985984 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (986345, N'{48FB6168-3F49-4AA0-9438-819C885CF167}', N'012759821', 868179, N'KAP55', NULL, N'12759821', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot B', N'Block 19', NULL, N'PARCEL B (DD 129907F AND PLAN B6144) OF LOT 19 BLOCK 19 DISTRICT LOT 706 YALE(FORMERLY OSOYOOS) DIVISION YALE DISTRICT PLAN 55 EXCEPT:(1) PART EAST OF PLAN H831(2) PLAN H831', N'0114', N'0022', N'NO', N'MODIFIED-ICIS', 1, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-05-03T10:28:21.000' AS DateTime), 163, 54, 0xBD0B000001040600000045598698D6553541F05374A4C2131F41C17D1D58C9553541F0FFFFFFF7131F417CF2B070D0553541D0550E2D14141F41B1D85FF6D9553541C03C2CD4ED131F41D2F753C3D855354120265385DB131F4145598698D6553541F05374A4C2131F4101000000020000000001000000FFFFFFFF0000000003, CAST(986345 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (986567, N'{968A79C4-B250-42F0-92BF-2CCEC02D0405}', N'001624938', 3, N'NO_PLAN', NULL, N'1624938', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 8', N'', N'', N'THAT PART OF SECTION 8, METCHOSIN DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 27589 AND CONTAINING 2.58 ACRES MORE OR LESS', N'0079', N'0005', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-01-06T20:41:29.000' AS DateTime), CAST(N'2021-05-30T19:21:24.000' AS DateTime), 10113, 829, 0xBD0B000001040600000050D1911C76083241204B5986300C17416207CE59B3083241601E16EAF40517411EF46C1696083241B025758232061741BEA8A4CE60083241E070AC0B8B0B17418B38D6656B083241600C02ABDD0B174150D1911C76083241204B5986300C174101000000020000000001000000FFFFFFFF0000000003, CAST(986567 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (986693, N'{6B141896-DA4B-4420-9D11-6951987EF8CA}', N'014668084', 3, N'NO_PLAN', NULL, N'14668084', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART W2', N'15', N'5,26', N'THAT PART OF THE WEST 1/2 OF SECTION 15 TOWNSHIP 5 RANGE 26 WEST OF THE 6TH MERIDIAN YALE DIVISION YALE DISTRICT DESCRIBED AS FOLLOWS: COMMENCING AT THE INTERSECTION OF THE EAST BOUNDARY OF THE SAID WEST 1/2 WITH THE SOUTHERN BOUNDARY OF UNION BAR INDIAN RESERVE NO. 15; THENCE WESTERLY ALONG SAID SOUTH BOUNDARY TO A POINT 1.0 CHAIN PERPENDICULARLY DISTANT WESTERLY FROM THE SAID EAST BOUNDARY; THENCE SOUTHERLY AND PARALLEL TO THE SAID EAST BOUNDARY OF ITS INTERSECTION WITH THE NORTHERN LIMIT OF DISTRICT LOT 5 YALE DIVISION YALE (FORMERLY HOPE) DISTRICT; THENCE EASTERLY ALONG SAID NORTHERN LIMIT TO THE SAID EAST BOUNDARY; THENCE NORTHERLY ALONG THE SAID EAST BOUNDARY TO THE PLACE OF COMMENCEMENT EXCEPT PLANS 9221 AND H17002', N'0050', N'0009', N'NO', N'MODIFIED-ICIS', 7, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2021-05-30T20:03:46.000' AS DateTime), 18402, 1855, 0xBD0B00000104120000006509F94005543441B06B09F9AD4A1E41DD7A14AE0C543441F0AB1C5AC8481E41B225E48314543441804469EFC7461E4145B6F3FDFF533441805BB1BFE4461E419FA223F9FB533441E09C11A5F0471E415B8FC215FB533441205AF5B92A481E41656666E6E5533441F0A2923A834D1E41D856ECCFE2533441B0F1D24D284E1E41071B9EDEE053344110FA7E6AA64E1E41907571DBDE533441D037F8C22C4F1E41430AD7E3C8533441C08D06F0F8541E41FA0FE9F7DC5334412010E9B7FC541E416C3BDF4FEF533441006F810449501E41EC73B575F5533441702D211FB74E1E41C78F31F7F7533441F0B7AF83134E1E41927571FBF853344170E7FB29D14D1E41B6D1003EFA533441D08C28ED7E4D1E416509F94005543441B06B09F9AD4A1E4101000000020000000001000000FFFFFFFF0000000003, CAST(986693 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (987832, N'{FD5EA592-C3AA-4918-B3C1-33BCD9166518}', N'003820394', 856161, N'KAP30998', NULL, N'3820394', NULL, N'72400400181', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 290 KAMLOOPS DIVISION YALE DISTRICT PLAN 30998 EXCEPT PLAN 38371', N'0163', N'0028', N'NO', N'ICF', 5, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-07-26T15:01:42.000' AS DateTime), 14221, 549, 0xBD0B0000010411000000154FAFF423C73541803A014DEFA42341E72631E8A1C63541A8C56D74DAA42341D41B7C81CEC63541D07F48BF8BA523417CFC40B8D3C6354190425410A2A523417F33337ED8C63541C0C57AC5B8A52341F26273D1DCC63541808CD3D5CFA523417F2B4FB0E0C6354100545238E7A523410AD74119E4C63541389ECAE3FEA52341DAF0F40AE7C63541904DF3CE16A62341DE279F09E8C635417802D9021FA623417EE255F8E8C63541382A3A3E27A6234105130BD7E9C6354128B39A802FA62341E49CB1A5EAC63541E8227EC937A6234198553D64EBC63541489C671840A623415205A312ECC6354148E8D96C48A62341566B9AD715C7354110B1BF6C52A62341154FAFF423C73541803A014DEFA4234101000000020000000001000000FFFFFFFF0000000003, CAST(987832 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (988776, N'{F759361E-D355-481D-9B39-F72F0A07EC3F}', N'001643525', 4898230, N'VIP98RW', NULL, N'1643525', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 70', NULL, NULL, N'THAT PART OF SECTION 70, SOOKE DISTRICT SHOWN COLOURED RED ON PLAN 98 RW AND CONTAINING 7.04 ACRES MORE OR LESS', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 42, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', N'28439', CAST(N'2016-01-06T20:20:50.000' AS DateTime), CAST(N'2021-09-24T15:12:22.000' AS DateTime), 28357, 2155, 0xBD0B00000104E60000004703784BF8EE31419089B0E1F00F17418AFD651710EF314190D2DEE0EA0F174166BC74B324EF3141309FABADE50F1741BE9F1A8F50EF31415076E09CDA0F17412EB29D4F73EF314160AB3ED7D10F174116FBCBEE8FEF3141B0BFEC9ECA0F1741E2938725AFEF314150A4DFBEC20F1741F3EBC0F9E3EF3141F08B4A6AB50F17410812149F25F03141503EE8D9A40F174160BA492C2DF0314170605452A40F1741EAC039A333F03141501A2F5DA30F17418AF4DB173AF0314190C420B0A10F174103E78C8840F0314110166A4D9F0F174138CD3BCE45F03141B05F76CF9C0F1741663BDF0F4BF0314150CFD5D6990F174197438B4C50F03141708A8E64960F174104780B8455F03141206B9A77920F17418E1804B65AF0314100E10B138E0F1741F8E461E15FF0314150EA0434890F1741408B6C0765F03141A08785DA830F1741205A641B6AF0314120E17A147E0F17411545CEBC6BF0314180F6F9E97B0F17417215B55C6DF0314120F994AD790F174154860CFB6EF03141B0CB5C5F770F1741BA5EC89770F0314110D862FF740F1741C071DC3272F03141100CB98D720F1741EE9E3CCC73F0314160DE710A700F174186EA361479F03141D01BB1A9670F174189D2F4477EF03141908D20875E0F174162F8B96583F031418085CCA5540F17415052D16B88F0314140FD00094A0F17414BBD8D588DF03141207C48B43E0F17411A8C4A2A92F0314100E86AAB320F1741976588A396F0314140CFD5D6260F17418B5AD3DC96F03141D0C7983B260F1741E5E2367A9BF03141909F1AAF180F17410200DEFB9CF03141104C3B1B140F17419E71F6799EF03141C05EDC740F0F17417D0572F49FF03141C0102ABC0A0F1741CEAB426BA1F03141B04A51F1050F17419A775ADEA2F0314110A17F14010F1741569FAB4DA4F03141E053E325FC0E174128CB1087A8F03141006C78FAEC0E174108A9F292AAF03141A0353A1FE50E1741F47DAA96ACF0314140B88022DD0E1741470E1692AEF03141F0ADD304D50E17416EAB1385B0F031412001BDC6CC0E17411E36826FB2F03141B0C1C868C40E174156204151B4F03141F01E85EBBB0E17417D04C5EFB7F03141808EE472AA0E17412B818A87B8F0314150146981A70E17415F19951DB9F03141F08D678AA40E1741CF95E1B1B9F03141E040F08DA10E17419CC86C44BAF03141C08F138C9E0E17419C8D33D5BAF0314110FCE1849B0E174155CA3264BBF0314180226C78980E1741852C529FBCF0314180D76DCE910E17419E15E6D4BDF0314170E644148B0E1741D440E104BFF03141501F3B4A840E1741DFA6362FC0F0314180FF9A707D0E17414C7ED953C1F03141F0B0AF87760E1741353CBD72C2F03141D004C58F6F0E174123166A8DC5F03141F093F6065B0E1741A9731D16C6F03141D076264A570E17413F612C9DC6F03141E0E29C89530E1741363F9522C7F03141706465C54F0E1741177356A6C7F03141B0928BFD4B0E174159676E28C8F0314100101B32480E1741B18BDBA8C8F03141008A1F63440E1741AF684DA4CAF0314140E0A7D3340E17416E775084CCF03141800A270E250E1741DEBD8848CEF03141A0ACA215150E174134959FF0CFF03141F0302AED040E17419BBA437CD1F031411032D697F40D17419D5E29EBD2F03141C0E2C718E40D1741EA61A1D6D4F031415005A312CB0D1741BE1652B1D5F0314110513B71BE0D1741E490C97BD6F031415024F7BEB10D1741EB0BF335D7F03141A0E023FDA40D17417D6FBBDFD7F031419082102D980D174169511179D8F0314180790D508B0D174168F7E401D9F03141F08A6C677E0D17418C5374E4DAF0314160A392BA6A0D1741F29E3CACDBF0314190BE9F9A4B0D1741B0726811DCF03141E03F355E2C0D17419E3C2C14DCF03141602B87160D0D174102D578E9DBF03141A00C712CFF0C17417C7346B4DBF0314100F5DBD7ED0C1741AD25E423DAF031419031772DB50C17418E7EFB3AD7F03141B0F5285C7D0C174103000000D3F03141704160E5460C1741885AD37CCDF03141A05D4B48120C174142AD69FEC3F03141003333B3E80B17412CF8F706C0F0314110122C50CE0B17417D565CD2BBF0314190946C86B40B1741228A0862B7F03141E014D05E9B0B1741B6D782B7B2F03141703CFAE1820B17416E8065D4ADF03141800E54186B0B174143355EBAA8F031410003090A540B1741B54082A29AF03141509ECDAA160B174170A301BC95F031413061C353010B1741E2718A6E8FF0314180AE47E1E50A1741160DE0ED85F03141A024977FBC0A17419B438BCC78F031411085EB51830A1741854C596374F0314140A9A3B16F0A1741AEBB2D1870F03141D06FEEA75B0A1741DA01A6EB6BF03141709BAA37470A1741582C5BDE67F03141B09EC563320A1741F4CEE1F063F0314180313B2F1D0A1741C4EEC92360F03141E0E3149D070A1741E6889A3458F03141805462B3D50917418A354D3151F0314100178CA0A109174175CA3F234BF03141600E1FAA6B091741288E881246F0314100012E1834091741E06AEB0542F03141F054F134FB0817415EE5D0023FF0314120F1634CC1081741543C7E043EF03141D0E24BEEA708174163F9B52B3DF0314170C4737A8E0817414FAE95783CF03141705954F474081741DAC935EB3BF0314170E2685F5B0817419894A9833BF03141F0A52EBF41081741462EFF413BF031419074241728081741F5A067B33AF03141B059F5B9D60717410E71AC2B39F03141C0EAE236F70617414C6187B538F031418029A060C60617418A9954FF37F03141705AAE9695061741F8B4270937F0314130884DDE640617414B311BD335F0314120D9BB3C34061741C76B505D34F03141E0FF34B703061741B49DEFA732F03141F0A9F152D3051741244A7B431CF0314140A5BDC18B061741633255B01DF03141500AD723FA061741C37D1D381FF03141609FABADD9071741110BB5C61FF0314110BADA0A2B081741D593FE0D20F0314150D0AE40470817419A794C7F20F03141201CEA6D6308174184028F1A21F031411074A38E7F081741E9A1B0DF21F03141D06AF39E9B0817415DFB95CE22F0314130DAF49AB70817419BE61DE723F03141506DC57ED3081741E6A63B4B27F031413024E1301509174180EA19DF2BF0314110E89AB95509174187FF809C31F0314150614BC1940917419E13A57B38F03141103256F2D10917417BCA307340F03141503F9EF90C0A174187EB517849F031412094F686450A17412182FAA44DF03141F039E92A5D0A1741CFF28AF451F03141F013C969740A17415C596A6656F03141C0AD5D408B0A1741A010FBF95AF03141F0047DABA10A174183C89AAE5FF03141C0FB0BA8B70A1741769CA28364F0314180C5FE32CD0A1741AC13D0A471F0314140ADD85F060B17417FD0B35986F03141D0DEE08B600B1741CB10C79A93F03141F0EEC9439A0B17411864AFBE93F0314110F34DDF9A0B1741EB728CE293F03141608BFB7A9B0B1741353A5E0694F0314100ABD2169C0B174100B7242A94F031417044D3B29C0B174143E6DF4D94F03141C04AFD4E9D0B174107C58F7194F0314100B150EB9D0B1741575E18E198F03141F0BD17F7B10B1741BB65E1209DF03141C047C7A5C60B17410136752FA1F03141509F44F0DB0B174102116F0BA5F0314130923FCFF10B1741209A7BB3A8F0314170EC343B080C1741FB4A5926ACF03141C00C712C1F0C1741D3923C2CB1F0314130C1869E450C1741D1669662B5F031410072AC976D0C174106CB09C2B8F03141205402D2960C17412D6AB144BBF03141102A7705C10C1741E6E329E6BCF03141F03E46E8EB0C1741837899A3BDF031414058782F170D17418204B57BBDF0314170C1668F420D17418D43C26EBCF0314180873FBC6D0D17416B56977EBAF03141C0058A6A980D1741508D97AEB7F0314170CDAA4FC20D1741D596D94CB5F031413054AFE2DD0D17419FF5B18AB2F03141402C6DE4F80D17411B15476AAFF031412059D73F130E17410CDA08EEABF03141F08362E02C0E174134BCAE18A8F03141F0FD14B2450E17415AA835EDA3F03141C05296A15D0E17411E125C079EF03141C0165F327A0E1741145230A597F031415005440A950E17416890B8CE90F0314120218707AE0E1741BC248D8C89F03141700ABF0AC50E174162C8CDE781F03141D07AFEF6D90E1741521E16EA79F0314180A0F8B1EC0E17413792CBDF78F031414093A982F00E1741E851B85E73F03141A07B832FFB0E174135CD3B4E6DF03141D002098A050F1741CDDEE00B6AF0314180B81E85090F174184A3DD2B67F03141005A3CB10D0F17418689784664F03141E08E08A0110F1741B54A035C61F03141D05A1451150F1741B62FD06C5EF03141A090F7C3180F17410A0732795BF0314180DE50F81B0F1741DB1B7C8158F0314150D6C5ED1E0F17416C226C5853F0314120158CCA230F17413D0F72F652F0314180462528240F1741CE65549452F03141C0666283240F1741D60E143252F03141F09D42DC240F174177F3B1CF51F03141D018C532250F17410AFD2E6D51F03141500AE986250F174151158C0A51F03141A0ABADD8250F1741AC1C5A8449F0314110BB278F2B0F174148602A1649F03141702F39DB2B0F174191B7DDA748F03141D0FF9F242C0F1741DF2A753948F03141107C5B6B2C0F1741C1C2F1CA47F0314130FB6AAF2C0F17411688545C47F03141D0D9CDF02C0F1741E8839EED46F03141107B832F2D0F1741D34D62F041F0314150984C15300F17410B4F63D23FF03141C0FDC22B310F17411AF0A8B33DF03141B027652A320F174125F443943BF0314180362B11330F17416823457439F03141400B0EE0330F1741FF4ABD5337F0314150420797340F17413A3CBD3235F03141E0331136350F1741F6285C0F30F03141E0F97E6A360F174135B36D582EF03141800637AC360F1741D06F67A12CF0314110B01AE3360F174132A54DEA2AF03141706E290F370F1741F199243329F0314130D36230370F1741D794F07B27F03141D08BC646370F1741C8DCB5C425F0314180605452370F1741EB0434D177EF31411063EE5A6A0F1741992A189506EF314140BC74938B0F17414703784BF8EE31419089B0E1F00F174101000000020000000001000000FFFFFFFF0000000003, CAST(988776 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (989487, N'{7E236FD5-30AE-45BB-B55A-B2F3F2FD6E42}', N'010318984', 3, N'NO_PLAN', NULL, N'10318984', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'SE4', N'3182', N'', N'THE SOUTH EAST 1/4 OF DISTRICT LOT 3182 CARIBOO DISTRICT, EXCEPT PLAN A218', N'0163', N'0002', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-11-09T12:26:01.000' AS DateTime), 619593, 4808, 0xBD0B00000104420000006F8A8E84B3C032419831772DA3762C41E1B5841CB0C032417895430B8E762C41D734EFF8ACC032414805A35278762C414B826FB6A8C03241684D0BCB54762C41E7534B85A5C03241E85F80D130762C4171666C68A3C03241D006D7860C762C419C55C061A2C0324120142E0CE8752C4188D93672A2C032417827D082C3752C41EFEBC099A3C03241984C150C9F752C41992A18D5A4C03241784DF38E88752C414E499D60A6C03241C0BAB88D72752C4156B1BF2CA8C03241E0CD19D15C752C41F141CF26AAC03241F84EAF5447752C410824283EACC0324150AA601432752C414B378961AEC032418826C2061D752C41EB51B83EBBC03241E8FCF6F59E742C412AC286C7B6C03241381B0D209D742C41B4C876FEC2C0324158E8D96C25742C416B006FE1C7C03241F8A7C68BF5732C416619E258CCC0324178C0CA61F7732C41A69BC44020C1324178CFD5D6B9702C4188EB51585EC03241687AA5ECA5702C415FFE437A37C03241C8C8767EC6752C41694DF3AE2CC03241A013D044EE762C419206F0D62EC03241C0EA7375EE762C4118AE4721C4C03241B8F2B0D0FB762C41287E8CB9C2C03241100B46A5F4762C41AE7BF2D0BEC0324150787AA5E0762C4124A913F0BAC03241280EBE70CC762C4166666626B7C03241A0FD65F7B7762C416F8A8E84B3C032419831772DA3762C41B7408222DBC03241B8B35975CA762C41BD5B2001DFC03241E8FFFF3FDE762C414A03786BE1C03241E0164890EA762C41A74E40D3E2C03241B859F5B9F1762C412B651962E5C0324118A7E8C8FE762C41AB8251C9ACC13241D088D29E10772C4192A0F87150C33241F82FBB2736772C411AB7D1E07FC3324110583974F0702C4148598678EEC132412882E2C7CE702C41FA285CEFB1C13241688A8EA4C8702C414DE3A5FB3EC13241A823B9FCBC702C41356744E93EC13241C0FEB2BBC4702C41F163CC1DEAC032415809F9A003742C41009A083BE5C03241F8C9C38233742C41CB293AB2E9C032417019E25835742C41B447E17ADDC032419815FB0BAD742C41EBB7AF03D9C0324120FDF635AB742C41CE6F5F27CCC03241B0A3703D29752C4190B96B09CAC03241B0F3FD143E752C415B522700C8C0324120A7E8C852752C4103917E1BC6C032413063EE5A67752C419F67B36AC4C03241509621CE7B752C412EFF21FDC2C0324130E6AE2590752C4149BF7DDDC1C0324180D40928A5752C4171F1C5D1C0C03241C8717ED1C5752C419048CAC0C0C0324198B7018CE6752C41345C9AAAC1C03241F051873907762C416A825F8EC3C0324180DA0EBC27762C41BC945D6AC6C032412863BFF547762C41FE87F43BCAC0324100DE02C967762C41F7C2642ACDC03241A07346147C762C4113E02D50D0C03241C09AE69D8F762C41CA073DBBD3C03241808CB92BA3762C41E3C7985BD7C03241B013D0C4B6762C41B7408222DBC03241B8B35975CA762C41020000000200000000021F00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(989487 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (989655, N'{C5B1BF09-F5F0-44F8-B915-FDA8598AC438}', N'005473870', 7849, N'VIP8843', NULL, N'5473870', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', NULL, NULL, N'LOT 3, SECTION 17, RANGE 1, CEDAR DISTRICT, PLAN 8843, EXCEPT PART IN, PLAN VIP65750', N'0163', N'0021', NULL, N'ICIS CADASTRE', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2021-11-19T16:20:41.000' AS DateTime), 926, 129, 0xBD0B0000010406000000E49C118528A43141C0D6346F33F61B41C47F485FFBA33141D0EEC9C330F61B41FB53E38500A4314130D8F07450F61B4181D93D3908A4314110B8AF0393F61B414759861828A43141D01F63EE94F61B41E49C118528A43141C0D6346F33F61B4101000000020000000001000000FFFFFFFF0000000003, CAST(989655 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (990413, N'{EAB3D5E6-4800-47AF-8868-2E1F5C6EA5A5}', N'008004293', 850927, N'KAP19559', NULL, N'8004293', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', NULL, NULL, N'LOT 1 DISTRICT LOT 220 OSOYOOS DIVISION YALE DISTRICT PLAN 19559', N'0098', N'0016', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2022-01-11T16:54:38.000' AS DateTime), 2701, 210, 0xBD0B0000010408000000A4923A2144263641F8CF4498BBC720417558A87564263641E0839E4D8CC720418F7EFB1A70263641200378CB54C720414C03782B322636418004C54F45C72041AE1C5A042E263641C0FEB2FBA5C72041F775E09C2D26364178E7FBE9AFC72041AE69DE9142263641B87EFB3ABDC72041A4923A2144263641F8CF4498BBC7204101000000020000000001000000FFFFFFFF0000000003, CAST(990413 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (990593, N'{10990435-DC92-47F3-9B5C-26C1738AA098}', N'015192288', 490102, N'NEP2710', NULL, N'15192288', NULL, N'569128007', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Block F', N'', N'', N'BLOCK F DISTRICT LOT 206A KOOTENAY DISTRICT PLAN 2710 EXCEPT PART INCLUDED IN PLAN 14948', N'0123', N'0004', N'NO', N'ICF', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2022-01-20T12:06:33.000' AS DateTime), 1106, 152, 0xBD0B000001041F000000BCC11726DAEF3841908941E053B01E416B8B1ECFD7EF3841702CD08252B01E41B69A4A7AD5EF3841206DE1EE50B01E41063DEB27D3EF3841C0F6AA244FB01E411F6C4FD8D0EF384160AC69244DB01E41DEC3C58BCEEF3841809D61EE4AB01E4194779C42CCEF38410001DE8248B01E41526B9A17C9EF3841807F48BF47B01E41201FF48CC3EF384140D5E76A41B01E41A679C749D6EF3841E01CC9E5F5B01E41205A647BF4EF3841B0A9825174B01E41AED85F36F8EF38417029CB1063B01E41864BE1A7F6EF3841A0BABCD761B01E415689B619F5EF3841A032169860B01E410E51E18BF3EF384170F7D8515FB01E414C6163FEF1EF3841707706055EB01E4130783E71F0EF38412028A0B15CB01E41945374E4EEEF3841C086A7575BB01E4128754F04EEEF3841B0AC83375AB01E41492A8A21EDEF384170A1623A59B01E4165E97B3CECEF38415006A66058B01E418C0A7D55EBEF384130D5A1AA57B01E415DA5E66CEAEF384170429C1857B01E419A6E1283E9EF3841809ECDAA56B01E41D05F76AFE2EF3841304D150C54B01E41C5B4F943E1EF3841607B799253B01E41ACB1B6D7DFEF3841E06B884653B01E41251D096BDEEF38410041552853B01E41C4D84CFEDCEF3841B096E73753B01E41B2C9DD91DBEF384110803B7553B01E41BCC11726DAEF3841908941E053B01E4101000000020000000001000000FFFFFFFF0000000003, CAST(990593 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (991485, N'{999330DD-9BA3-4BDC-B970-92CA30127B5D}', N'012278351', 488792, N'NEP934', NULL, N'12278351', NULL, N'7073601000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 8', N'', N'', N'LOT 8 DISTRICT LOT 789 KOOTENAY DISTRICT PLAN 934 EXCEPT PLANS 1767, 18767, AND NEP64624', N'0163', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:16.000' AS DateTime), 66067, 1568, 0xBD0B0000010409000000743D0AD70E0C394130F697DD45D620418FE4F2BF3D0C394188B515FB8FD620416F8A8EE4660C3941786ABCB49AD62041A6DFBECEBB0C3941F87C3FF566D12041304CA6CABC0C394108AAF11256D120412A530503880C3941E86C56FD3BD12041D0DEE0CB5F0C3941E0F7536305D1204100D578C95B0C3941304547F2FFD02041743D0AD70E0C394130F697DD45D6204101000000020000000001000000FFFFFFFF0000000003, CAST(991485 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (992707, N'{295C5041-05F9-4594-8B14-15FC26DC7C2F}', N'001709232', 3, N'NO_PLAN', NULL, N'1709232', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 103', NULL, NULL, N'THAT PART OF LOT 103, MALAHAT DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 14335F AND CONTAINING 5.33 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 8, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T18:27:37.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 22215, 1448, 0xBD0B0000010421000000D0CCCCCCC4E43141D0B64082D6C61841D71B7C01ABE4314130E71D2702C818413CC6DC95CAE43141C0BFEC1E0CC81841C2CAA105E3E43141A04C150C00C7184138777F9EEEE431413066F50496C618413024905CFCE43141807CFE2C30C618410008E3270CE5314160479C35CFC51841AA4CF4E41DE53141C05CBBC773C51841DDFEDC7431E5314130E3A2821EC5184190E388B546E53141D01EDFFACFC418416ED6F1815DE53141D0A23EB988C418419A4960B275E53141A0FFE33949C418416B76B01C8FE53141F0816DEB11C41841CEC69B94A9E53141207C342EE3C3184112F705ECC4E53141506EA553BDC31841166A4DF3E0E53141302DB29DA0C31841336EA3E1B0E63141B07BF2B0DEC21841152FDD24CAE63141C0BE9F9AC8C21841E3C7985BD2E63141905452A7BEC21841684DF30ED4E6314180B5157B37C21841187C61F2DAE53141706CE7FB21C31841F0B8D02FBCE531418076D95D41C31841A5DABD2E9EE53141500FFED56AC318419E67FB2381E53141707F531B9EC318417443AA4265E53141A0A396D3DAC3184112ACDFBB4AE53141C0D1E19320C418416AD04EBE31E53141E00B69E16EC418419199F6751AE53141302E5232C5C418413936D40B05E5314150A0A7EE22C518419DF19AA5F1E43141A0DA637187C518414CD47165E0E4314150EC9309F2C518411C84B769D1E4314110FF8EFB61C61841D0CCCCCCC4E43141D0B64082D6C6184101000000020000000001000000FFFFFFFF0000000003, CAST(992707 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (992892, N'{7DB1DDCB-CA13-4308-A914-525BDC186690}', N'016169336', 472080, N'NEP639', 90054743, N'16169336', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 14', N'Block 52', NULL, N'LOT 14 BLOCK 52 DISTRICT LOT 1901 KOOTENAY DISTRICT PLAN 639', N'0163', N'0018', N'NO', N'MODIFIED-ICF', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-05-11T15:31:10.000' AS DateTime), 319, 82, 0xBD0B00000104050000000C560E2DC6ED3A4108E4835EA8A82041124FAF94C7ED3A41A0BFEC9E93A82041BE749378A9ED3A41B015FBCB8AA82041447B830FA8ED3A41704F1E969FA820410C560E2DC6ED3A4108E4835EA8A8204101000000020000000001000000FFFFFFFF0000000003, CAST(992892 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (993538, N'{BE25CBD9-A351-4F14-9CFE-E2CF6AC64696}', N'015937461', 252487, N'PGP727', NULL, N'15937461', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block 32', N'', N'THAT PART OF LOT 3 BLOCK 32 DISTRICT LOT 933 CARIBOO DISTRICT PLAN 727 AS SHOWN IN RED ON PLAN 26804', N'0112', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:41:06.000' AS DateTime), 50, 32, 0xBD0B00000104050000001BE258B726833241C8A145B6A24A2E41D58173E61C83324120DE0209994A2E41460C02AB1C83324120DF4F0DA34A2E4152E3A57B26833241F0EBC0B9AC4A2E411BE258B726833241C8A145B6A24A2E4101000000020000000001000000FFFFFFFF0000000003, CAST(993538 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (993717, N'{EAC5D4FF-FCA1-470A-87E7-A606F2A13C2D}', N'023649780', 853028, N'KAP57256', NULL, N'23649780', NULL, N'72411756010', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', CAST(N'1997-01-16T00:00:00.000' AS DateTime), N'Lot 1', N'', N'', N'LOT 1 SECTION 23 TOWNSHIP 18 RANGE 14 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN KAP57256', N'0163', N'0028', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:31:17.000' AS DateTime), 128399, 1436, 0xBD0B000001040B0000002A287E8CFBEF3541205A643B0F4D23410FF241AF08F03541383EE8D9834C2341A6F1D2CDE4EF35417894F6C6B14B2341B4FA5C4DF1EF3541D8770B643C4B234139CD3B8EF4EF3541D05F760F194B2341071B9E3EF8EF354110DBF9FEF04A2341E29C11256BEE3541C819515AA94A234142575BB153EE354158D71232C04C234143CF6635ECEE354160D5E76A474D23414803786BF9EF354188AA60D4764D23412A287E8CFBEF3541205A643B0F4D234101000000020000000001000000FFFFFFFF0000000003, CAST(993717 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (994244, N'{8D3D25E2-E2EA-48F1-84F8-A3636FA3D902}', N'005180309', 140753, N'VIP10294', NULL, N'5180309', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 3', N'', N'', N'LOT 3, SECTION 37, VICTORIA DISTRICT, PLAN 10294', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:58:13.000' AS DateTime), CAST(N'2020-12-22T11:23:01.000' AS DateTime), 1365, 157, 0xBD0B0000010405000000711B0D80E744324140D6C56DEC8D1741648FC25501453241406ABCF4EE8D1741CA8F31B702453241602041F11B8D1741DE5817D7E844324170AC8B5B198D1741711B0D80E744324140D6C56DEC8D174101000000020000000001000000FFFFFFFF0000000003, CAST(994244 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (996107, N'{FA538935-03D2-4197-B7E0-856F4AF0DB74}', N'017012571', 495488, N'NEP828', NULL, N'17012571', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PARCEL A', N'LOT 10', N'', N'PARCEL A (REFERENCE PLAN 89951I) LOT 10 DISTRICT LOT 1237 KOOTENAY DISTRICT PLAN 828', N'0163', N'0004', N'NO', N'ICF', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:20:31.000' AS DateTime), 11734, 463, 0xBD0B00000104050000008E28ED8D9FBE3841A0779C22E08F1E41422CD4FA8EBE384100AAF152B1911E41C64B37C9EABE3841E07F483FC2921E4121B07228FABE384130DF4F0DED901E418E28ED8D9FBE3841A0779C22E08F1E4101000000020000000001000000FFFFFFFF0000000003, CAST(996107 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (996113, N'{118B484E-2DEA-4D96-89D2-4539565BC1C4}', N'015750752', 472278, N'NEP1494', NULL, N'15750752', NULL, N'7862969000', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PARCEL A', N'LOT 19', N'', N'PARCEL A (EXPLANATORY PLAN 116922I) LOT 19 DISTRICT LOT 812 KOOTENAY DISTRICT PLAN 1494', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:42.000' AS DateTime), 42957, 1620, 0xBD0B000001040C00000092CB7FA84BEB3941E02B651979461E41B003E78CC0EB3941807CD0B3BA461E41FEE68C68C0EB3941101973D7BE461E41540E2D32B1EB39410047037870481E41B047E17AA5EB394120DE0289BE491E41C10512F46CEC3941A0900F7A2E4A1E41E6E236BA88EC39417096218E16471E415C643BDF88EC3941D024068112471E41A267B3EA2DEA3941F00AB526C0451E414CF38E132DEA3941B05D4B48D8451E416409F90031EA3941E0B5847CDA451E4192CB7FA84BEB3941E02B651979461E4101000000020000000001000000FFFFFFFF0000000003, CAST(996113 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (996213, N'{2912D62F-3322-441E-8BE1-BEDDDD83AABC}', N'004482387', 849676, N'KAP28857', NULL, N'4482387', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 15', N'', N'', N'LOT 15 DISTRICT LOT 449 OSOYOOS DIVISION YALE DISTRICT PLAN 28857', N'0098', N'0016', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-06T13:28:44.000' AS DateTime), 1401, 235, 0xBD0B000001041D0000005227A0A9ED2D364110143F4613D320414B598658EC2D3641F872D79218D320411C3FC6DC1D2E3641284BC84748D3204196B20CF14B2E3641F0FBA931FBD220418C8EE432472E364150FC18F3F2D22041253A924B2C2E3641C8F3FD9420D320417B2D217F032E364188438BECF8D2204160088062032E364188BF18A9FBD2204106067626032E3641C017A75DFED2204170E87FCB022E36410035970401D32041C0B25A52022E3641704C669803D32041A12002BC012E36416052B91306D32041109BAE09012E3641501C687108D3204138AFD23C002E3641981788AC0AD32041740C1857FF2D3641908076C00CD32041EB0F5C5AFE2D3641A004E2A80ED320414AE4AB48FD2D3641A8BBD36110D32041D03E4024FC2D3641B863B7E711D3204181C178EFFA2D364148D2623713D320415C0CD7ACF92D364190861C4E14D320413D88F95EF82D36416854A12915D32041CDF59508F72D3641681529C815D32041E7CB73ACF52D3641505F6A2816D320411A71664DF42D3641F82E9D4916D32041B25C47EEF22D364128887C2B16D32041C32AF091F12D3641880547CE15D3204116B0343BF02D3641C055BE3215D32041301ADDECEE2D364168A9255A14D320415227A0A9ED2D364110143F4613D3204101000000020000000001000000FFFFFFFF0000000003, CAST(996213 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (996623, N'{2D46F016-3D46-4C10-A586-D97EA1E9848A}', N'009993851', 4212463, N'KAP28H', NULL, N'9993851', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-31T00:00:00.000' AS DateTime), N'PART 119', N'', N'', N'THAT PART OF DISTRICT LOT 119 SHOWN ON PLAN H28 OSOYOOS DIVISION YALE DISTRICT', N'0057', N'0016', N'NO', N'SRW-COMPILATION', NULL, NULL, N'COGO', N'0', NULL, CAST(N'2018-06-27T09:52:05.000' AS DateTime), CAST(N'2019-01-06T13:41:15.000' AS DateTime), 1156, 249, 0xBD0B000001040B00000025A7E808E47C3641D0A7C68B127B2141EA839EED0A7D364140A60A86BD7A214177F2B030327D3641F8DBD7C1677A2141626DC5BE357D364160E5D0E25F7A2141FA4A5986347D36413850FCD8607A21414CE17A34267D364120166ACD6D7A21411D6C78DA097D3641909ECD6AA07A2141EBD9AC5AE67C3641E882C0CADF7A2141492575A2E57C3641F002098AEF7A2141A5A44E20E47C364190832F8C107B214125A7E808E47C3641D0A7C68B127B214101000000020000000001000000FFFFFFFF0000000003, CAST(996623 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (996716, N'{246828AB-0806-40F1-83D1-C2DFD6B9DB57}', N'013174347', 3, N'NO_PLAN', NULL, N'13174347', NULL, N'72606570500', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'E2', N'2051', N'', N'THE EAST 1/2 OF DISTRICT LOT 2051 KAMLOOPS DIVISION YALE DISTRICT', N'0163', N'0028', N'NO', N'ICF', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2018-01-09T12:21:32.000' AS DateTime), 323633, 2415, 0xBD0B0000010413000000490378AB22693541504BC807C58A2641A8DFBE0E7E68354130E4831EAA8A2641725F078E64683541303333F3A58A264139D6C5ADFE673541C0270F4B958A2641EBA7C60BBD673541881E166ADB902641162653C51068354140257502E9902641B6B88D46296835419011A5FDEC9026416CF085A93B683541801058F9EF9026419CD6348F136935416027A00913912641B737F8E229693541C042ADA91691264194218EF549693541802D21DF1B912641EB0434714D693541F8E8B76F1C912641895AD33C6E693541C83099EAF98D2641384ED1117E693541B8923A81768C26412EDD24A67E69354148F38E53688C264110F2410F8F69354110B7D1C0D68A26413E2CD4DA8B69354178355E3AD68A264169D5E78A29693541781D3827C68A2641490378AB22693541504BC807C58A264101000000020000000001000000FFFFFFFF0000000003, CAST(996716 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (997287, N'{E18FA883-716E-46F9-BBED-7F6AC49385F6}', N'004543963', 19508, N'VIP15927', NULL, N'4543963', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 11', N'', N'', N'LOT 11, DISTRICT LOTS 11 AND 12, THETIS ISLAND, COWICHAN DISTRICT, PLAN 15927', N'0163', N'0007', N'NO', N'ICIS CADASTRE', NULL, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T15:56:09.000' AS DateTime), CAST(N'2019-01-07T18:31:06.000' AS DateTime), 3505, 285, 0xBD0B000001040A00000092B96BA993DE3141C0749398211A1B41BD1726F39DDE3141C0CAA1459C1A1B414CFC1833ABDE3141E03845C7171B1B41BD5B20E1BEDE3141A0D85FF67B1B1B41A6BDC197DCDE314110D26FDFCA1B1B41D6817306DBDE3141E0BE0E1CFC1A1B41CFBCE3F4D0DE314120819543FB1A1B413B234A1BD1DE314100FF217DC41A1B415FCC5DABB2DE3141E0E09C91481A1B4192B96BA993DE3141C0749398211A1B4101000000020000000001000000FFFFFFFF0000000003, CAST(997287 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (997360, N'{F06D580A-F068-49D8-9442-74293CAF8F62}', N'001713531', 3, N'NO_PLAN', NULL, N'1713531', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 186', N'', N'', N'THAT PART OF LOT 186, HELMCKEN DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 14331F AND CONTAINING 5.16 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 15, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T17:21:09.000' AS DateTime), CAST(N'2019-01-07T18:31:54.000' AS DateTime), 19851, 1389, 0xBD0B000001046300000022166A0DD8D93141A04772798FF71841E961A1F6D4D93141B069DE71A7F71841728104C5D1D93141B0A0F831BFF718414750FC78CED9314110C7BAB8D6F71841C820B012CBD9314160DC4603EEF71841FDB27B92C7D931410029CB1005F81841D93D79F8C3D931417088D2DE1BF8184171810445C0D93141808CB96B32F81841D53D7978BCD9314150C6DCB548F818414EFC1893B8D931417035CDBB5EF8184107462595B4D93141C047E17A74F818411FDBF97EB0D93141804547F289F818413F60E550ACD93141A0E4F21F9FF81841107A360BA8D9314160257502B4F81841ABE848AEA3D93141D0BDC197C8F818410CA3923A9FD93141D01A9EDEDCF8184184FB3AB09AD93141A03C9BD5F0F81841B596900F96D93141B047E17A04F918410EBE305991D93141C03A01CD17F918413BDF4F8D8CD93141F0CBEEC92AF9184163BA49AC87D93141402041713DF91841FD2A87B682D931411080B7C04FF91841AF0C71AC7DD93141F05817B761F91841F43A708E78D9314120AAF15273F91841FA75E05C73D93141D072D79284F918412D992A186ED93141608FC27595F91841AA9BC4C068D9314130FE43FAA5F918410022FD5663D93141D051B81EB6F918411F5A64DB5DD9314100D34DE2C5F91841A6E8484E58D9314170819543D5F9184198C420B052D9314170C95441E4F918411FD26FBF48D931411044FA6DFDF91841C698BBD6F4D83141602AA993D1FA1841B1726831F4D83141F0E461A106FB1841B5270F4BF3D83141B0490C0266FB1841EDB0506B16D93141102FDD240BFB184102F775C057D93141E081734665FA1841856CE71B63D93141E074939848FA18411B9E5E2969D931410046257538FA1841E1A59B246FD93141D0AF03E727FA1841AF03E70C75D93141208D97EE16FA1841B7490CE27AD93141C0BAB88D05FA18413F1361A380D93141D0CAA1C5F3F9184105D7A35086D93141B0BDC197E1F91841CC4B37E98BD93141C0938705CFF918415BB1BF6C91D93141F0DF2D10BCF918413D2CD4DA96D93141601058B9A8F91841E2E00B339CD931411093A90295F9184144D8F074A1D93141B06891ED80F91841701B0DA0A6D9314150917E7B6CF918414AEA04B4ABD93141E07A14AE57F9184196BB96B0B0D93141D0012B8742F9184108462595B5D9314120B9FC072DF91841DB1B7C61BAD93141B057CA3217F9184109462515BFD931414070CE0801F918410DE9B7AFC3D93141B0DEE08BEAF818414460E530C8D93141707FD9BDD3F81841F8065F98CCD93141102E90A0BCF81841A201BCE5D0D93141F0EA7335A5F818410EC7BA18D5D9314170DBF97E8DF818414260E530D9D9314180FF907E75F81841735F072EDDD93141D0EA73355DF81841F41FD20FE1D93141D078E9A644F8184140C6DCD5E4D9314160AA60D42BF8184190E4F27FE8D93141801114BF12F8184138D6C50DECD93141F0D47869F9F718410A12147FEFD9314110ABCFD5DFF718414FF38ED3F2D9314130265305C6F71841D9F0F40AF6D9314160B515FBABF7184105A3929A3FDA3141301B9E5E43F51841AD9DEF0743DA31414055302A27F51841CCBCE39446DA3141205839340BF518416509F9404ADA314190FF907EEFF418412531080C4EDA31418095430BD4F41841E673B5F551DA314110D191DCB8F41841A111A5FD55DA314140D8F0F49DF41841ECB7AF235ADA3141A018045683F41841D26F5F675EDA3141E0DBD70169F41841407958C862DA314180B515FB4EF418416C66664667DA314160A52C4335F41841C05B20E16BDA314110635DDC1BF41841257E8C5977DA314110D26F5FE0F318417B58A81591DA3141D087F45B5EF318412D3333F37ADA314140A835CD0CF31841FCBB05D25FDA3141E0361AC095F31841201FF4AC53DA314100C9E5BFD4F318419B6588C34EDA3141A0F4DBD7EFF3184112C7BAF849DA3141E08173460BF41841AD03E74C45DA314130B96B0927F41841ADA44EC040DA314100764F1E43F418416CBC74533CDA3141204A7B835FF4184130D49A0638DA3141D0A145367CF418419A900FDA33DA31418033A23499F41841E07A14CE2FDA3141B0DA1B7CB6F418415DDC46E32BDA3141104CA60AD4F4184182D0B31928DA314140F697DDF1F41841E4FBA97124DA3141306A4DF30FF5184139674409DBD93141A05E294B77F7184122166A0DD8D93141A04772798FF7184101000000020000000001000000FFFFFFFF0000000003, CAST(997360 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (997474, N'{F15B54E1-DFBA-4F25-BDE9-D6A1094C738E}', N'010925465', 468809, N'NEP13428', 90091450, N'10925465', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'', N'', N'LOT 2 SECTION 28 TOWNSHIP 2 KOOTENAY DISTRICT PLAN 13428', N'0163', N'0006', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:23:33.000' AS DateTime), 59865, 986, 0xBD0B0000010407000000EAF21FB249FF364180658863547027410B7A36EB48FF3641D0BAB84DA870274103AC1CFA4CFF3641D847E13AA671274174F2B03049FF3641C05B200164722741418B6C272B003741D0C56D748F722741860D4FEF2F003741D0BAB84D80702741EAF21FB249FF3641806588635470274101000000020000000001000000FFFFFFFF0000000003, CAST(997474 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (999146, N'{1856E68A-9097-4363-8B6C-A3898B3C36F3}', N'013253000', 246698, N'PRP1076', 35754031, N'13253000', NULL, N'03547.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 23', N'Block 35', N'', N'LOT 23 BLOCK 35 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 210, 72, 0xBD0B0000010406000000B6D85F76CD2E2C413895D409D1A03041D422DBB99E2E2C41649A775CD1A03041CA2B6519932E2C4158C8071DD9A03041AFF3FD54CF2E2C4118FBCBCED8A03041F0482E3FCF2E2C41D402090AD1A03041B6D85F76CD2E2C413895D409D1A0304101000000020000000001000000FFFFFFFF0000000003, CAST(999146 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (999147, N'{0D909684-DC9C-4C15-8272-B6E7504B51C6}', N'013226223', 246698, N'PRP1076', 35711691, N'13226223', NULL, N'03542.920', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 16', N'Block 34', N'', N'LOT 16 BLOCK 34 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 283, 89, 0xBD0B0000010405000000E06800AF612E2C41B40E9C3356A130412CBB278F172E2C41282AA9D356A130412ABB27CF172E2C41D4D781735EA130410032E6EE612E2C4170BC74D35DA13041E06800AF612E2C41B40E9C3356A1304101000000020000000001000000FFFFFFFF0000000003, CAST(999147 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (999825, N'{14F81949-712C-4879-A92E-0BA94722A771}', N'000017604', 645957, N'VIP1279', NULL, N'17604', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 23', N'Block 3', N'', N'LOT 23, BLOCK 3, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:54.000' AS DateTime), 383, 96, 0xBD0B0000010409000000DE141D098B9D3041F09D5EA9EDBA1C417B0B24088B9D3041F0C7983BEEBA1C415D7FD9DD8A9D3041301283C006BB1C41930F7A168C9D3041B0ADD8DF06BB1C41DB9AE61D8C9D304120AE47E106BB1C41FEFFFFFFB09D3041D079C7A90ABB1C414EB81E45B19D3041C047E17AE2BA1C41B737F8228B9D3041B0BB9690DEBA1C41DE141D098B9D3041F09D5EA9EDBA1C4101000000020000000001000000FFFFFFFF0000000003, CAST(999825 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (999865, N'{D2F80F91-557A-459D-8B6B-CE25CB2FA6E6}', N'000016080', 646724, N'VIP2024', NULL, N'16080', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 8', N'Block D', N'', N'THAT PART OF LOT 8, BLOCK D, DISTRICT LOT 258 ALBERNI DISTRICT, PLAN 2024, INCLUDED IN PLAN 283 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:38.000' AS DateTime), 21767, 1502, 0xBD0B000001042F000000E09387C5566F3041C0559F2B20A91D41BB37F802526F3041F0E995B227A91D41E52631484D6F304100B7D1802FA91D4138454792486F304110E4839E37A91D419B779CE2436F30413097FF1040A91D4198559F8B406F304110D1915C46A91D41D16F5F27406F304120211FF4CFA91D41B8139F50466F304130CD9DEFC2A91D4188ACD38D4C6F30416019D586B6A91D411B4907DE526F30415030AEBBAAA91D416B0B4140596F304180F8F98F9FA91D41024F85B35F6F3041A0CA700595A91D41A6CFD536666F3041F02CB21D8BA91D416CF0856966703041B045B6730DA81D416ED5C4887070304120057E20FDA71D41A0BA16767A70304100DB96FCEAA71D413524472C84703041A0B58311D7A71D41697E3EA68D7030411029B669C1A71D4126C904DF9670304180FA8810AAA71D41CC32C4D19F703041A0293A1291A71D41221FF4EC43713041D010C73AAFA51D4165881BA44D713041C06AC06491A51D4188EB5D0757713041C08D74EC71A51D4135AA561260713041D0759DE050A51D41B976CAC06871304150F7B1502EA51D41CB4EA90E717130410081DE4C0AA51D414F6210F878713041C08AFDE5E4A41D41D5E76AEB9D713041C0A145362EA41D41FB4A5926AD713041F0B050EBE2A31D41673BDF4F86713041B0B81E05E1A31D410DE9B72F86713041709CA2A3E1A31D411E8E755161713041608D97EE97A41D419CC6EA395A71304150BA757BB9A41D415E73F0C752713041609AE7C8D9A41D4166D008FF4A7130411004B4C7F8A41D411F11DFE242713041A0843F6916A51D41A5A545773A7130410040939F32A51D41C76D34C0317130410088635D4DA51D41433EE8D98D703041C09999992EA71D41D00AB90386703041F00C108144A71D4199A601F07D703041D0F1B2F658A71D41EC0E04A3757030417048B9EF6BA71D41147220216D703041F0B322627DA71D4125E1D26E6470304190BFBC448DA71D4178F2B0905B70304100BB278F9BA71D41C0F5287C5B6F3041A0711B0D19A91D41E09387C5566F3041C0559F2B20A91D4101000000020000000001000000FFFFFFFF0000000003, CAST(999865 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (999873, N'{A88D3906-C80F-4A0B-BBE9-6B39C3DAA48D}', N'006509771', 646724, N'VIP2024', NULL, N'6509771', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 3', N'Block B', N'', N'LOT 3, BLOCK B, DISTRICT LOT 195, ALBERNI DISTRICT, PLAN 2024', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:39.000' AS DateTime), 178044, 1689, 0xBD0B000001040B00000037EF3845766A3041B0EFA7466E9C1D413290A0586C6A304120D3BC636B9C1D41CA98BB96DC683041E0F1D24DF79B1D418D5CFE03D3683041608EE472D2A21D4178F2B0F0DC683041C06C567DD4A21D4196C420D06B6A3041C09D80A626A31D41AC726851736A3041805DDCC6539E1D41A635CDBB746A30410064CCDD6A9D1D4109A3927A756A3041F03FA45FF09C1D418DCB7FC8756A304190AF9465BE9C1D4137EF3845766A3041B0EFA7466E9C1D4101000000020000000001000000FFFFFFFF0000000003, CAST(999873 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1000483, N'{016499C0-2357-4920-87D5-1444A30556FF}', N'018047742', 650363, N'VIP55659', NULL, N'18047742', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot A', N'', N'', N'LOT A, BLOCK 121, COMOX DISTRICT, PLAN VIP55659', N'0163', N'0027', N'NO', N'ICIS CADASTRE', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-27T18:14:32.000' AS DateTime), 169203, 1759, 0xBD0B000001041300000060E5D0227F582F41F8907EFB806A20413D03780B72582F419803E7CCD96920416A787A2570572F4180D2DEA0D168204187A757CAF7562F41E8D022DB59692041121DC92573562F4130143F8671692041E0361A8076552F4178FF907E706A20419D3C2C54CE542F41C00B93A91E6A2041C48F3137BB542F41888FC2F58B6A20414BD1911C0B552F4110D7A330986A20414A8D976E2F552F417858A8B5F26A20418CF6061F05552F41F8DD0249C76C2041CE6F5F07F4572F4168FB3AB0996C2041365EBA8912582F4198D6342FAB6C204110F9A0E737582F411093A942566C204120287E0C54582F4168711B8D116C2041188C4A2A70582F412064CC5DB16B2041C442ADA97B582F4108E9B7AF426B2041CEA3707D7D582F41D8F0F4CADC6A204160E5D0227F582F41F8907EFB806A204101000000020000000001000000FFFFFFFF0000000003, CAST(1000483 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1000621, N'{9B0E78F5-C864-4736-9120-1DC70F21C0DF}', N'011117702', 853599, N'KAP3339', NULL, N'11117702', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Parcel A', N'Lot 2', NULL, N'THAT PART OF PARCEL A (DD 112998F AND PLAN B5584) OF LOT 2 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 3339 SHOWN AS PARCEL 9 ON PLAN A1182', N'0095', N'0022', N'NO', N'ICIS CADASTRE', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-05-05T16:39:37.000' AS DateTime), 180, 72, 0xBD0B000001040700000059EC2F5BE57036419064AA60D18B1D413155308AE8703641C0AE2564BF8B1D4134AB3ED7DB703641F0270F0BB78B1D419CCDAACFD670364150F9A067248C1D41F4EDEBA0DC703641B096210E048C1D4197C42050E270364140AB3E57E38B1D4159EC2F5BE57036419064AA60D18B1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1000621 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1001556, N'{AD087121-A3D3-4F64-A957-4765A41AFFFA}', N'018289886', 297554, N'PRP13663', 90056932, N'18289886', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 7 CASSIAR DISTRICT PLAN PRP13663', N'0163', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:13:49.000' AS DateTime), 236472, 2520, 0xBD0B00000104180100004D7DAE762CFD2941245F980CF60331412187161921FD2941A8EFA786EC0331417C0B242817FD2941109C33E2E4033141411CEBE20EFD294188764FFEDC033141F5482E7F08FD29419401BC65D7033141061214BF04FD2941D0DCB504D3033141B9BAB8CD01FD2941E4E00B33CE03314166D3BC6301FD2941186A4D53C903314140136183FFFC294150AF9425C2033141928785DAFEFC2941904C156CB5033141BE8F31B7FCFC29414C4DF32EA603314162545267FBFC2941502041B1A003314187AEB6A2FBFC294164621078990331417CA7570AFBFC2941303EE879920331410AF241CFF9FC2941B81726F388033141535986B8F8FC2941607FD91D81033141733D0A17F8FC2941FCA067B379033141D412F2C1F9FC29418C9999796F033141E79C1125FBFC2941807346F4660331414E9D8026FBFC2941F80FE917580331412E1AC01BFBFC29419CCFD5B6430331412DCB1087FAFC2941647FD9BD36033141C7B12EAEF9FC2941C854C1482D03314189438B2CF6FC2941744F1E3620033141626DC53EEFFC2941248716591103314141674469E2FC294178EE5A22FD0231412A6EA301D5FC2941703BDF6FEC02314107E78CA8C6FC294140795808E00231410AC7BA78BDFC294184C0CA61D502314114B5A6F9B5FC2941789ECDAACC02314180FB3A70AEFC2941FCDD0209C60231411A41F1E39AFC2941AC7BF270B702314197A0F8F18AFC294140454732AA0231412D7E8C3963FC2941709A777C93023141A0EFA7C64BFC2941F861A1B687023141C066D5E734FC29419C28ED0D7B02314194A982112AFC2941349FAB0D7402314171787AE51DFC2941E064AAC06C02314184FD65B703FC29413C70CE885D023141120F0BB5E9FB294108075FD84F02314146575BF1D3FB2941B0923A6143023141142428BECCFB2941D402092A3E02314195DFBE4EBAFB29411826536532023141A03C2CD4ABFB2941DC10C71A2A02314185832FCC9EFB2941F83A70EE220231413055306A8CFB2941B0CFD5561A02314105917E3B86FB2941FC9908DB16023141566B9AB77BFB29418831770D11023141322AA91377FB294180C954C10D023141F71648D063FB2941580E2D1205023141BB5B20C152FB29411071ACABFC013141EA41CFA643FB2941443EE839F4013141F616481027FB2941D010C7DAE301314162BA490C18FB29415C1B0DE0D9013141549D80A60CFB2941085A64FBD30131419CE848EE05FB2941DCBAB84DCF013141D0E53FA4FBFA29418875719BC90131415505A352F4FA294140E4831EC80131415DB1BF6CF0FA2941A415FB6BC8013141CE867A19EDFA29411093A46CC9013141EDC229F2E9FA2941600CA58ECA013141506203FCE6FA29417C501DD0CB0131414024EC3BE4FA2941682FFA2ECD01314188746FB6E1FA294188E7F7A8CE01314116E9B76FDFFA294150E3A53BD0013141A9AF0367E0FA294148696FF0D3013141FDAB1C1AE0FA2941F0EDEBA0DA01314120166A8DDEFA2941D0073D7BDF0131412AFF213DDEFA2941A8CDAA0FE6013141ECA7C68BDDFA294148840D4FED01314180B740C2DCFA29412C2CD4FAF5013141C73B4E51DCFA294118D6C52D00023141B003E70CDBFA2941047A36CB05023141DA0B9369DCFA29416CD712920B023141628FC275DCFA294194537444110231413D72F90FDCFA2941C8ACFADC16023141DAD781F3DCFA2941C0FEB2BB1E02314172F90F29DBFA2941AC1C5AE4250231410E3FC6DCD9FA294144FC18B32D0231418A635DDCD9FA294198081B5E35023141A0EFA746DBFA294120C7BA78430231413F6210D8DAFA294148E17A344B0231412BAB3E97DAFA2941BCDEE0EB4F023141D27F48FFD8FA2941685DDC865E02314185C7293AD7FA2941684BC8E765023141D2BCE394D6FA294168CE88B26D023141B1DCB504D6FA2941888EE45271023141083D9BD5D5FA294138E9B76F79023141D5B359F5D1FA2941F4E461418402314165EE5A82D0FA29419C2A18D58C02314154FE433ACFFA29414070CE4892023141C5E3141DCEFA294194DB68209702314193CB7F48CCFA29411490A0389B023141C7293AD2CCFA29419CC42090A10231416F029AC8C9FA294124B9FC67A902314123D26FDFCAFA29410432E6AEB302314104363CBDCBFA2941A09BC400C3023141D0073D9BCBFA2941DCAE2524C9023141E41B7CE1CCFA294134D6C54DCB0231416C2BF657CBFA294118D26FBFCD0231413CFC18B3CBFA29415C9FAB0DD70231412095D449CAFA2941F49E3C8CDD023141D49AE6DDCAFA2941A4900F7AE90231412DC4B1EEC8FA2941A0081B5EEC02314140CF6655C9FA294154621038F6023141CC54C128C9FA29410CD7A370FE02314180A7570ACAFA29419C01BCA5150331410624287EC8FA29419C779CC223033141A433A2B4C9FA29417816D94E2A0331410FB5A679C8FA2941F487F45B300331414CD1911CC7FA2941B003E78C3C0331411E31082CC5FA29410463EE7A440331414594F646C6FA294130E4837E510331410EBE3099C6FA2941F01873D7570331417B832FCCC2FA2941D44B37896303314186B20C71C1FA2941EC2FBBC76F0331412ADD2406C1FA294124B072287503314194CB7F88BFFA2941C03B4ED17F0331411FA08930C0FA294190900F1A8A03314124287E4CBFFA2941F8065FB89603314151EA04F4BDFA29412863EEFA9D0331412C3A928BBDFA2941D4B584FCA5033141626DC5BEBEFA294188711B6DAC0331411A75029ABEFA2941207E8CF9B4033141FCD47829BFFA294190A7572ABE03314164643BDFC0FA2941FC065F78C50331411E431CABC2FA2941487958E8D2033141766FF085C4FA29419475717BDE033141FF3A70CEC5FA2941308B6CE7E503314146D6C5EDC3FA29411C6A4D73E90331413E0C026BC2FA2941082428BEEE033141F5EBC079C3FA2941740D4F0FF6033141C35B2041C6FA294154643B1FFD033141ED73B555CAFA294198711BAD060431415E764FDECDFA2941004D84ED0E0431417E1D38A7D1FA294158E3A5FB140431410710E9B7D4FA29419CC2F5481A043141510C02ABD9FA2941106822AC1E043141E0AE2564DDFA2941A0B20C7121043141128C4A2AE1FA29413C5305632704314198FD6537E7FA294150BF7D7D2E043141FE11147FECFA2941C49F1A2F340431415B19E298F3FA29414CFC18D33A043141E0938705FDFA2941B8847CB0450431415EA1D6B402FB294144F1630C4B0431418CFF90BE0CFB29416C4F1E76550431413CE17A5413FB2941E02D90205B043141DA2406411CFB294174FD65B7620431414DC1A86427FB2941C8F21FB26A0431411C85EB9133FB29412CF775A074043141C48173863CFB2941E4B9DA8A7C043141DF2D902048FB294110AB3ED784043141D466D5274FFB2941E4C7989B8A04314193635D1C5AFB2941181FF48C950431413DD6C5ED6AFB294158A835EDA7043141B08251C97DFB2941A4DD9307B304314135696FF08FFB29417CF08509BE043141124850BCA3FB2941F0285C6FCA0431410288F41BB3FB29418C1D3887D3043141746891ADC4FB2941904C15CCDC04314109E9B72FD4FB294154B81E65E5043141943A018DE3FB294194C95461EE04314198E8482E01FC29413C1CEBA2FD0431410E0BB56612FC2941A864AA6005053141208E75F12FFC29416C2BF697130531417109F9A04DFC2941184850FC200531412A89416062FC2941C87D1DB82B053141D06F5FC795FC2941FCB27BF2420531418F438B2CB3FC2941E04603784F05314119D26FDFC6FC2941ECAE252458053141C26B0939DBFC29410C4D84CD600531412E3333B3E6FC294154B1BF0C6505314175810445F9FC2941848638766A053141F2FDD47805FD294100BC05926F05314136CB108716FD2941C486A7577505314188AEB6222FFD2941180EBED07C053141F2C039E345FD29414070CE888505314180FB3AB04EFD294180976E128905314168006F415DFD2941E48C28CD8D053141568D976E63FD2941780B24A88E0531416B5F078E69FD2941BCFEB27B9105314142DF4F4D73FD2941F8EDEBE0950531415C9D49BC74FD29411CC690CB960531410897925676FD29410C8688A39705314199C6621878FD294150A0D5669805314106E394FD79FD2941644AAB13990531416628B0017CFD29416CBB71A89905314190E4F21F7EFD2941E0EEC9239A053141496B9A3782FD2941D40968229C0531419B4E40D393FD29415CCC5D0BA30531415ABA490CA0FD294124D26F5FA80531413E92CB3FB9FD2941BC6054B2B10531413FE8D9ACC6FD2941244CA6CAB505314130575BB1CFFD294188855A53B90531415C19E218E3FD29412C772D21C105314168469476F3FD294190506B7AC6053141B237F84205FE2941C0FC8754CD05314187E2C75818FE2941C89690EFD30531417AD0B3592CFE2941C81E85CBDA053141112DB25D41FE2941D45D4B08E105314137575BF158FE294120F2412FE9053141432CD49A6FFE2941704469CFF0053141A457CA7283FE2941CCB35915F60531414060E5908EFE2941DC293AB2F8053141948EE43294FE294120189554FA053141ADEA737596FE294198CDAA8FF60531412F55306A9BFE294198438B4CF0053141FB5E984CA2FE294130D26FDFE7053141828CB9EBA9FE2941E0946528DE0531410FE9B72FB2FE2941F40FE917D2053141FE331136B8FE2941ACA22379C9053141CDA3703DBDFE29411CF2410FC4053141834CBB5ABEFE2941445E48C9C2053141546AAB7CBFFE294150935584C105314124353DA3C0FE294148CE6D40C005314132D56CCEC1FE2941D84895FDBE0531417E6336FEC2FE2941EC38D0BBBD053141E0E99532C4FE2941F4D0227BBC053141693A6524C4FE29416408CEB3BB0531414240F00DC4FE29413CE8A9ECBA053141987439EFC3FE29419C61CC25BA053141C03944C8C3FE2941985C4B5FB90531417EDA1499C3FE2941D8B73C99B80531419A89B061C3FE2941A045B6D3B7053141F8E461A1BFFE294168FC1873B3053141239E5EA9B8FE2941EC8E53F4AB0531418EFF90BEB1FE2941F4FDD418A50531410A9C3322A4FE2941685452079A053141FDE68C289AFE2941242B87F6910531414172F98F8DFE29413C0AD7E388053141145305E384FE29410CD04438810531413B7958E879FE2941204A7B43770531413208AC9C6EFE294118F46C966E0531413D696FF060FE2941C86F5FC762053141C781738643FE294124B7D1A04B0531413767442939FE294104E483FE43053141536B9AF731FE29410022FDD63E053141B5A679072AFE2941F8E461E135053141D8E9957226FE29418426C2862E053141FFEDEB8025FE29415093186428053141E08C28ED24FE294170A3019C210531411EF8C26422FE29412CB29DAF1705314164FE43BA21FE2941C87D1DD80F053141B47BF2B020FE29410C8A1F430B053141C00512940EFE294140AF9405F9043141E102098A03FE2941B0B43718ED043141ECD24D62E7FD29417C4F1EF6D204314124B9FC07E3FD2941CC66D5E7CD04314143014D84D8FD2941BCF3FD94C50431418AD2DE20CEFD2941445EBA29BC0431414BEC2F3BC8FD29410071ACEBB604314160D3BC63C5FD29413CB6F33DB4043141C9B359B5B8FD29415CA835EDA60431410B71AC8BAEFD29412048509C9D043141A913D004A3FD294108E9B74F9104314180F2B01091FD294190B96B697E04314190A9821182FD2941408941806F04314156EC2F3B80FD2941D044D8D06B043141DFF97EEA7AFD2941D46800AF6504314105098A1F71FD29417CF4DB975B0431419CF831666BFD2941F095B2CC55043141B213D0C465FD2941F8A9F1F24B0431417EE9267160FD2941B8F3FDB445043141CCBCE3145CFD294158158C8A400431411EC2866755FD2941580B24C839043141E62631C853FD294108E25817360431417031140253FD2941501653F3340431411D4D3C5B52FD2941900875CA33043141CCD121D451FD294164DA949D32043141CE32266D51FD294120918B6D310431412DB8932651FD2941F079343B300431414D499D0051FD29415C8B6C072F04314112D044D84CFD29419CFF901E27043141F2065F5849FD2941040DE04D1F043141A3703DCA44FD294118D9CED717043141BC0E9C3340FD2941F0E99592120431415650FC183DFD2941886ABCD40C043141C332C4713BFD294150840D2F060431416A2BF6D738FD2941A8BAB8ADFE0331414D7DAE762CFD2941245F980CF603314101000000020000000001000000FFFFFFFF0000000003, CAST(1001556 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1002212, N'{838B84DA-FA0A-4FA1-9FD2-F13A960F56AA}', N'018339352', 1892, N'VIP56973', 35499181, N'18339352', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'', N'', N'LOT A, DISTRICT LOT 48, NANOOSE DISTRICT, PLAN VIP56973', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2019-01-05T08:38:02.000' AS DateTime), 6639, 511, 0xBD0B0000010406000000383CBD92FE213141309B551F0B2C1D41110BB5A600223141F01795541B2B1D4192B96B692121314130E17A14F12B1D41429B551F5721314140F31F52F72B1D413008AC1CB521314130A089B0022C1D41383CBD92FE213141309B551F0B2C1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1002212 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1002367, N'{3EDF4FA3-4C81-41AB-9F81-3B66FF459B36}', N'002590956', 7185, N'VIP27265', NULL, N'2590956', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1, DISTRICT LOT 31, NANOOSE DISTRICT, PLAN 27265 EXCEPT THAT PART, IN PLAN 39893', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2019-01-05T08:35:19.000' AS DateTime), 1337, 162, 0xBD0B0000010405000000C4A8A4EE803C31415015FBCBD5EB1C41B1B6629F763C314100780B246CEB1C415BC1A8244A3C3141E0D5E7EAD1EB1C4101098A3F493C3141809A771C2CEC1C41C4A8A4EE803C31415015FBCBD5EB1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1002367 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1002713, N'{49B41A02-3B5F-4D2E-B1CE-664DFBE2D4A7}', N'000832570', 1184617, N'NWP20034', NULL, N'832570', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2012-09-18T00:00:00.000' AS DateTime), N'REM Lot 5', N'', N'', N'LOT 5 DISTRICT LOT 18 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 20034 EXCEPT PLAN EPP3417', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:36:54.000' AS DateTime), 758, 111, 0xBD0B00000104060000001751DABB64AB324170992A9899621C41CE2B65D94FAB3241F0AB1CDAE9621C41F28E53345EAB32414039B4483E631C41964C150C6FAB32413009F920FE621C418E0F7AB674AB324130DFE08BE8621C411751DABB64AB324170992A9899621C4101000000020000000001000000FFFFFFFF0000000003, CAST(1002713 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1004556, N'{891A331A-B50F-45FA-9047-0C66B0082890}', N'023844361', 1302509, N'LMP34188', NULL, N'23844361', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-24T00:00:00.000' AS DateTime), N'Lot 2', N'', N'', N'LOT 2 SECTION 26 BLOCK 5 NORTH RANGE 6 WEST NEW WESTMINSTER DISTRICT PLAN LMP34188', N'0120', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T10:19:22.000' AS DateTime), 853, 158, 0xBD0B000001040B000000CEAACF550A79324170855AD3CF911C41FD088ADFDB783241D0D9AC7AC8911C41BA270F6BC3783241B0A44E40FE911C41ACDFBECE02793241801A2FDD09921C4168017E0904793241509A5FDB09921C414274EB42057932414089376809921C412C767B7806793241C05DA68408921C41AD4EAAA7077932414050853207921C415C8901CE08793241D07D937405921C41E1141DE909793241003B704E03921C41CEAACF550A79324170855AD3CF911C4101000000020000000001000000FFFFFFFF0000000003, CAST(1004556 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1005152, N'{68069C6E-705B-48FE-9B08-C3FB14D1C103}', N'014053543', 1310080, N'NWP8238', NULL, N'14053543', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-04-26T00:00:00.000' AS DateTime), N'REM Lot 3', N'', N'', N'LOT 3, EXCEPT: PART ON SRW PLAN 33969 DISTRICT LOT 3 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 8238', N'0025', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:20:35.000' AS DateTime), 248, 77, 0xBD0B00000104040000006ECE88D232B83241C08AFD653AF71C4130C4B10E1AB83241A0A8A44E37F71C41C074937819B83241B033113687F71C416ECE88D232B83241C08AFD653AF71C4101000000020000000001000000FFFFFFFF0000000003, CAST(1005152 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1005160, N'{ABDE3694-827D-4306-80A6-FF1A583A22EB}', N'014116936', 1308622, N'NWP1531', NULL, N'14116936', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-24T00:00:00.000' AS DateTime), N'REM Lot 11', N'Block 4', N'', N'LOT 11, EXCEPT: PART ON SRW PLAN 8027 BLOCK 4 DISTRICT LOT 16 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 1531', N'0025', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:20:36.000' AS DateTime), 98, 40, 0xBD0B0000010406000000065F98ECF4BC324120FBCB6E90ED1C4172AC8BDBF4BC3241F08FA07895ED1C413892CB7FF4BC3241100DE0ADB0ED1C41F39E3C8CFEBC3241208195C3B2ED1C41AA13D024FFBC3241F0B9DA8A85ED1C41065F98ECF4BC324120FBCB6E90ED1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1005160 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1006470, N'{DAC2F353-A909-4F37-ABA5-89FCE17A65D5}', N'013826999', 1473526, N'NWP5300', NULL, N'13826999', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', CAST(N'2011-07-07T00:00:00.000' AS DateTime), N'Block Q', N'', N'', N'BLOCK "Q" EXCEPT: PART ON PLAN 26009; DISTRICT LOT 85 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 5300', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:39:37.000' AS DateTime), 501, 114, 0xBD0B0000010408000000D768002F4BA432418075719B6EEF1C416519E23846A43241306FF08584EF1C4138DF4F4D3DA43241B0999919ACEF1C41C8BAB8CD4AA4324150F163CC99EF1C41B6490CC25CA43241B012F2C17FEF1C410AF9A0076BA432412051DA1B6AEF1C41D25D4B285AA43241A0D85F762CEF1C41D768002F4BA432418075719B6EEF1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1006470 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1007081, N'{CC902692-84B2-4992-905A-88055EEFD32B}', N'011412291', 3, N'NO_PLAN', NULL, N'11412291', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 3', N'', N'', N'THAT PART SECTION 3 TOWNSHIP 52 SIMILKAMEEN DIVISION YALE DISTRICT SHOWN RED ON PLAN ATTACHED TO DD 8285 EXCEPT PLAN H942', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', N'47611', CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:26.000' AS DateTime), 47456, 3917, 0xBD0B0000010414000000A1ABAD38D93836414030BB272C5C1D41E9C039A30639364130D191DC565B1D41A168FC6130393641F0607E6D7F5A1D414EC589465739364110C88F9D9F591D419F7507367B393641704D4D07B8581D4139CCA5179C393641306D9C4AC9571D418CF1B0D4B9393641806B520CD4561D413090A058D4393641708FC2F5D8551D41B0D85FB6B9393641D0779C22C6551D41A7DFBE0E89393641E03311B691571D41B37268514C393641709ECDAA45591D413A11365C16393641C0AACFD57E5A1D416DF90F29DA38364180A22339A55B1D41BAA679C78E373641B0726891BA611D41E2718A2E823636410088F4DBA8661D412ACB108713353641F0B4A6F9636D1D4168AA60D436353641402AA993706D1D41696FF0657E363641D03689415C671D41BB270FABAB373641508941E0C4611D41A1ABAD38D93836414030BB272C5C1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1007081 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1007374, N'{D3C94CF9-F4E5-4212-985B-113EDA9D1366}', N'008487464', 863071, N'KAP16981', NULL, N'8487464', NULL, N'72606693500', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 2514 KAMLOOPS DIVISION YALE DISTRICT AND OF DISTRICT LOT 548 KAMLOOPS DIVISION YALE (FORMERLY LILLOOET) DISTRICT PLAN 16981', N'0163', N'0028', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:49.000' AS DateTime), 77607, 1146, 0xBD0B0000010410000000E4AE25E4123D3641C8EC9E3C5A6B274188635DBCB73D3641F8EDEBC0116D27413F2CD49AC43D3641D0CCCC0C006D274196779C82613E364170348037286C27416307CE996E3E3641C8B35935166C27417DC0CA01B53D364160764F9EEB692741C1F5285C6F3D3641A8D78173496A27411451DA1B083D3641A8832F0CD86A2741CFB359B5F43C3641481136BCF26A274143BD5256EC3C3641B0361A40FE6A2741C20E9CB3EB3C364190E4F21FFF6A2741B7B88D46E53C3641287DAEF6076B274154B1BF4CE33C3641480DE0AD0A6B27412CFF213DF73C3641305C8F022C6B2741FD87F49B003D3641C8FA5CAD3B6B2741E4AE25E4123D3641C8EC9E3C5A6B274101000000020000000001000000FFFFFFFF0000000003, CAST(1007374 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1010292, N'{4CB0AE85-E60C-437D-9A41-EEECDC73706A}', N'013866672', 3, N'NO_PLAN', 3076561, N'13866672', NULL, N'348-00102.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1899-12-30T00:00:00.000' AS DateTime), N'PART NW4', N'19', N'21,7', N'THAT PART OF LEGAL SUBDIVISION 13 OF SECTION 19 SHOWN ON PLAN 190832F; TOWNSHIP 21 RANGE 7 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLANS H741, KAP70212 AND KAP79005', N'0128', N'0006', N'NO', N'MODIFIED-ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'0', NULL, CAST(N'2019-10-29T10:47:58.000' AS DateTime), CAST(N'2019-10-29T10:47:58.000' AS DateTime), 4999, 500, 0xBD0B0000010427000000F953E3C5EACC3641C06054522D6524413F279A21EDCC3641787CD6692A6524412434CA89EFCC3641507A69AB27652441E7F6B7FDF1CC3641301CE317256524411E59A47CF4CC3641A8150CB022652441BAEBCC05F7CC364118D09F742065244168226C98F9CC3641702F4C661E6524412D82BCF2FECC364168D5DF9C1A6524418E8B127104CD3641C89A3BBE17652441E0CB64090ACD364110BA9DCF156524418B567AB10FCD364128E38DD4146524414A72FD5E15CD3641C8CAD6CE14652441FE7A8E071BCD364108E282BE15652441C6D5D6A020CD3641B843DCA11765244162D49B2026CD364100D66F751A652441B365D17C2BCD3641A09513341E6524411271ACAB30CD36419006F0D6226524410CDF716737CD364128E762792A6524418C2C7ECC3DCD3641F8E541323365244148139ACF43CD3641D8B340F23C65244155143A6649CD3641288145A847652441D2F690864ECD3641C8FB8641536524410CF9A02753CD3641B842ADA95F652441A857CA326DCD3641688D97AE756524410366F7A470CD364190C64BF73165244104780B0471CD3641E0B050AB2A6524413A1136DC71CD3641D897DD131A65244158A835AD70CD3641F82A87D619652441E695B22C40CD364190DD93071065244134AB3E37B6CC364138E25817F46424410DD044F8ACCC3641F093874553652441E6482EFFB0CC3641E0CEF7535C65244167B0ADCFB7CC3641E84F2D4E5A652441625EB485BECC3641586B783157652441A31A2116C5CC3641F867020353652441D4081176CBCC3641588EBAC94D6524416EB6F19AD1CC364150A64A8E4765244106A3927AD7CC3641009A085B40652441F953E3C5EACC3641C06054522D65244101000000020000000001000000FFFFFFFF0000000003, CAST(1010292 AS Numeric(38, 0)), NULL) +GO +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1011294, N'{965FC731-4053-46F4-9C06-2D06F9B53067}', N'001574183', 126011, N'VIP2384', 10430661, N'1574183', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', NULL, NULL, N'LOT 5, SECTION 78, VICTORIA DISTRICT, PLAN 2384', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:54:05.000' AS DateTime), CAST(N'2020-02-10T09:29:07.000' AS DateTime), 56, 43, 0xBD0B0000010407000000F063CC5D4431324180734694C1921741FB4A59664431324130992A18C29217416C09F9204531324140D1915CCD9217415A5BB1DF56313241109D8026BB921741D3F753235631324110B072E8AF921741B259F51956313241F0F44A59AF921741F063CC5D4431324180734694C192174101000000020000000001000000FFFFFFFF0000000003, CAST(1011294 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1012660, N'{98E3D212-2AC8-42DA-B4BD-19DFD6DC004D}', N'001713078', 3, N'NO_PLAN', NULL, N'1713078', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 184', NULL, NULL, N'THAT PART OF LOT 184 "W.A.E." MINERAL CLAIM, HELMCKEN DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 14179I AND CONTAINING 1.82 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 15, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T18:51:42.000' AS DateTime), CAST(N'2021-05-18T14:37:36.000' AS DateTime), 7016, 439, 0xBD0B0000010428000000831D38C7B3DA314120DCD70187F21841120BB586C1DA3141802EFFA19EF21841A4ABAD98C5DA3141B01951DA7BF21841EC87F764CCDA314180E88C3A39F21841AC6E1F1ED2DA3141C05D0402F5F11841110832BED6DA3141B099A577AFF11841383B6040DADA314140FBBDE368F11841602E04A1DCDA314120F7AE8F21F11841A211A5DDDDDA3141C0CAA1C5D9F01841829ECD0ADEDA314180DD2486B2F018416E4694D6A3DA3141008A1F636AF118414322C9E2A0DA31418022894F89F11841CA0BD6A69DDA3141402D9CC7A7F118411BD8D8239ADA314110DAD3C0C5F11841C3E2075B96DA31412023D730E3F1184193A2B14D92DA314120617C0D00F2184110363CFD8DDA314110CDCC4C1CF2184114FBCB0E8BDA3141B0438BEC34F21841E502090A99DA31419074021A50F2184177679C9097DA3141F008C2195CF2184195CE690C96DA3141D0E5F20368F2184172EA847D94DA31414049FAD773F2184130F801E492DA314160913E957FF21841C3BEF53F91DA3141B043273B8BF218411D8E75918FDA314180151DC996F218414663E2088DDA3141B0C91E88A7F2184126475F6A8ADA3141C05EC810B8F21841CA0D35B687DA3141D0184E61C8F218415AE5AEEC84DA3141D054EA77D8F21841DB4D1A0E82DA314190B9DD52E8F21841C610C71A7FDA314140696FF0F7F218412D3333F37ADA314140A835CD0CF318417B58A81591DA3141D087F45B5EF318413945473296DA3141204469EF44F31841326EC6CE9BDA3141D031271127F3184181CDAC27A1DA3141B0D2FE6E08F3184193514F3BA6DA3141F0BE7E12E9F21841B0841808ABDA314120B16F05C9F21841AE0B898CAFDA31411079D151A8F21841831D38C7B3DA314120DCD70187F2184101000000020000000001000000FFFFFFFF0000000003, CAST(1012660 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1012744, N'{8A71976C-5614-4EF0-A633-04F0F2D1636D}', N'016077172', 495463, N'NEP748', NULL, N'16077172', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Parcel A', N'REM Lot 34', NULL, N'PARCEL A (EXPLANATORY PLAN 13469I) OF LOT 34 DISTRICT LOT 1073 KOOTENAY DISTRICT PLAN 748, EXCEPT (1) PART OUTLINED RED ON EXPLANATORY PLAN 30570I AND (2) THAT PART WHICH LIES SOUTH OF A LINE JOINING A POINT ON THE WESTERLY BOUNDARY OF SAID PARCEL A DISTANT 73.3 FEET FROM THE SOUTH WESTERLY CORNER TO A POINT ON THE EASTERLY BOUNDARY DISTANT 73 FEET FROM THE SOUTH EASTERLY CORNER', N'0146', N'0019', N'NO', N'ICF', 3, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-05-25T14:36:15.000' AS DateTime), 389, 84, 0xBD0B00000104070000002A3A924B4A773841408D97EE71D91D412AF697BD5B773841501AC0DB5BD91D4136AB3E175777384130B3EAF315D91D4123B072684877384130F241CF1ED91D41E0B5847C44773841F0FDD4F87FD91D41BBF3FDB44A773841A074931878D91D412A3A924B4A773841408D97EE71D91D4101000000020000000001000000FFFFFFFF0000000003, CAST(1012744 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1013207, N'{27B5AE64-9713-4BBC-A8FC-24A6314A0FE9}', N'009149015', 5461780, N'VIP366', NULL, N'9149015', NULL, N'104007', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 8', N'Block 119', N'', N'LOT 8, BLOCK 119, NEWCASTLE TOWNSITE, SECTION 1, NANAIMO DISTRICT, PLAN 366 EXCEPT THE RIGHT OF WAY OF THE ESQUIMALT AND NANAIMO RAILWAY AS SHOWN ON SAID PLAN AND EXCEPT PART IN PLAN 1152RW.', N'0084', N'0021', NULL, N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', N'239.7', CAST(N'2019-04-04T08:45:35.000' AS DateTime), CAST(N'2021-05-31T16:32:27.000' AS DateTime), 240, 71, 0xBD0B0000010405000000C654C16825893141F0A2013C19631C41241895742589314140DE02890A631C41A0F8312613893141501CEBE209631C410F2DB2DD1289314190431CEB63631C41C654C16825893141F0A2013C19631C4101000000020000000001000000FFFFFFFF0000000003, CAST(1013207 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1015623, N'{03CA37EA-EA76-49B0-9582-5CA701124E3B}', N'016201965', 3191432, N'NEP647', NULL, N'16201965', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', CAST(N'1990-07-23T00:00:00.000' AS DateTime), N'Lot 7', N'Block 10', NULL, N'LOT 7 BLOCK 10 DISTRICT LOT 2375 KOOTENAY DISTRICT PLAN 647', N'0163', N'0018', N'NO', N'PMBC-OPERATIONS', 1, N'LSA', N'COGO', N'0', N'334.4', CAST(N'2021-05-17T09:40:22.000' AS DateTime), CAST(N'2021-10-28T14:15:24.000' AS DateTime), 334, 91, 0xBD0B0000010405000000E9839E8D4D843A41701F63EED51D204128F6975D29843A4198B96B09CB1D204188C9540128843A41A075711BDD1D2041FFBB05324C843A4120ED0DFEE71D2041E9839E8D4D843A41701F63EED51D204101000000020000000001000000FFFFFFFF0000000003, CAST(1015623 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1017627, N'{4A2658FD-32D0-48A5-BF41-C6961372F15F}', N'011218053', 5209561, N'KAP975A', NULL, N'11218053', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', NULL, N'Parcel 5', N'Lot 2', NULL, N'PARCEL 5 (PLAN A975) OF LOT 2 DISTRICT LOT 18 OSOYOOS DIVISION YALE DISTRICT PLAN 2093 SAID TO CONTAIN 0.840 ACRES MORE OR LESS', N'0072', N'0012', N'NO', N'MODIFIED-ICF', 3, NULL, N'UNKNOWN', N'0', N'3458', CAST(N'2020-04-03T17:39:36.000' AS DateTime), CAST(N'2020-04-30T17:19:04.000' AS DateTime), 3555, 404, 0xBD0B000001041B000000F2FDD458FEE83641380AD7E3AC812241EAF21F92C8E83641E8E00B53AF8122414A73E6B8B9E8364130AB4DDBAF812241CD3611DFAAE83641300E58E3AF8122417C01B5059CE8364148742A6BAF812241AF8EE62D8DE83641F09CCD72AE812241C37CBA587EE83641B89C53FAAC812241EC3845876FE83641F8DBD701AB812241F76C565D58E83641C0DA8ABDD881224104D7A3F05EE8364120AC1C9ADA812241140DE04D63E83641382B87D6DB8122417B711BED52E8364138C0CAE1068222412831084C58E8364170F38E13098222414B96216E69E83641100EBEF0DC812241BB17E4446EE8364180501ED9DD812241CB3D471C73E836416874B3B3DE812241143441F477E8364190BE7B80DF8122410D25C8CC7CE83641C08E753FE0812241FE39D2A581E8364178619FF0E0812241419B557F86E83641E0CEF793E181224185CDE34895E83641C835DADFE181224140AC8C12A4E836411855D5ACE18122419EF73FDBB2E83641D8D7ECFAE08122418281EDA1C1E83641308A2DCADF812241FC408565D0E836412056AD1ADE812241FC65F724DFE8364198438BECDB812241F2FDD458FEE83641380AD7E3AC81224101000000020000000001000000FFFFFFFF0000000003, CAST(1017627 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1017663, N'{46BE0B03-0948-4243-8334-4D9AC8E6D2AA}', N'008597413', 127843, N'VIP721', NULL, N'8597413', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 11', N'', N'', N'THAT PART OF LOT 11, SECTION 32, VICTORIA DISTRICT, PLAN 721, MORE PARTICULARLY DESCRIBED AS FOLLOWS:- COMMENCING AT THE SOUTH-EASTERLY CORNER OF SAID LOT 11; THENCE NORTHERLY ON A BEARING OF NORTH 29 DEGREES 12 MINUTES WEST ALONG THE WESTERLY BOUNDARY OF NORTH QUADRA STREET, AND THE EASTERLY BOUNDARY OF SAID LOT A DISTANCE OF 142 AND 5/10 FEET; THENCE SOUTH 21 DEGREES AND 39 MINUTES WEST FOR A DISTANCE OF 163 AND 8/10 FEET TO THE SOUTHERLY BOUNDARY OF SAID LOT; THENCE EASTERLY ALONG THE BOUNDARY LINE BETWEEN LOTS 10 AND 11 FOR A DISTANCE OF 133 FEET MORE OR LESS TO THE POINT OF COMMENCEMENT, CONTAINING BY ADMEASUREMENT 2/10 OF AN ACRE MORE OR LESS.', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:33:14.000' AS DateTime), CAST(N'2019-01-05T10:21:10.000' AS DateTime), 709, 120, 0xBD0B0000010405000000A311A5FD553D3241F078E9A6FFA1174112E02D70633D324190A22339A7A11741A52C437C5C3D32419075711B5AA11741518D970E453D32411086C9D443A11741A311A5FD553D3241F078E9A6FFA1174101000000020000000001000000FFFFFFFF0000000003, CAST(1017663 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1017725, N'{A2AAE5A2-5446-411E-BBD6-623910455B93}', N'006305750', 19447, N'VIP2670', NULL, N'6305750', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1981-04-09T00:00:00.000' AS DateTime), N'Lot 1', N'', N'', N'LOT 1, SECTION 8, RANGE 2, COWICHAN DISTRICT, PLAN 2670', N'0163', N'0007', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'82.26', CAST(N'2020-11-24T14:49:55.000' AS DateTime), CAST(N'2020-11-24T14:50:59.000' AS DateTime), 82, 37, 0xBD0B0000010405000000E19C116583E53141003E79D8F37A1941E6D9ACBA7FE53141B0051294D67A194168F7E48176E5314100A7E8C8E67A194164BA492C7AE5314120DF4F0D047B1941E19C116583E53141003E79D8F37A194101000000020000000001000000FFFFFFFF0000000003, CAST(1017725 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1017764, N'{3CD071CA-8FDE-4989-B629-17A588238E78}', N'007576374', 128602, N'VIP1347', NULL, N'7576374', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'Block 1', N'', N'LOT 1, BLOCK 1, SECTION 33, VICTORIA DISTRICT, PLAN 1347, EXCEPT PART IN PARCEL A (DD 329871-I)', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:44:42.000' AS DateTime), CAST(N'2019-01-05T10:21:31.000' AS DateTime), 37, 32, 0xBD0B000001040A000000E47A142E423C32419039234A309B1741410AD763413C3241607A362B309B174173810425423C3241207F6ABC339B1741E47A142E423C32419039234A309B17419B658823423C324110F01648349B17417C1D38E73B3C3241D07C3F35499B17411E3867A4413C3241C086A757649B1741095F980C423C3241E0FBA9F13C9B1741ADD85F16423C3241F0C8E53F399B17419B658823423C324110F01648349B1741020000000200000000020400000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1017764 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1019460, N'{FBD445F5-EA26-426B-A7D9-C527642FB0FD}', N'001905627', 141191, N'VIP1291', NULL, N'1905627', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', NULL, N'REM Lot A', N'Block 3', N'', N'THE SOUTH WESTERLY 1/2 OF LOT A, BLOCK 3, SECTION 9, ESQUIMALT DISTRICT, PLAN 1291 BEING ALL THAT PART OF SAID LOT LYING SOUTH WEST OF A BOUNDARY BISECTING THE NORTH WEST AND SOUTH EAST BOUNDARIES THEREOF EXCEPT PARTS IN PLANS 3768 RW AND VIP62950', N'0154', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:52:28.000' AS DateTime), CAST(N'2019-01-05T10:54:09.000' AS DateTime), 1002, 141, 0xBD0B0000010406000000A1EFA746E62A3241809ECDAAA4991741B9DA8A7DF12A324160F2B050CF991741AAF1D2EDF92A3241501FF46C4199174183E2C718F32A3241002575822799174149B6F33DCA2A3241C003E70C3A991741A1EFA746E62A3241809ECDAAA499174101000000020000000001000000FFFFFFFF0000000003, CAST(1019460 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1019555, N'{906DAED9-FA04-4BD6-99FF-4BC4EF998BB5}', N'009188916', 136474, N'VIP283', NULL, N'9188916', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 14', N'Block 5', N'', N'LOT 14, BLOCK 5, SECTION 4, VICTORIA DISTRICT, PLAN 283 EXCEPT THE EASTERLY 6 FEET SHOWN OUTLINED IN YELLOW ON PLAN 4 BL AND EXCEPT THAT PART LYING SOUTH EASTERLY OF THE SOUTH EASTERLY BOUNDARY OF THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY, AS SAID RIGHT OF WAY IS SHOWN ON PLAN 6 RW', N'0153', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:02:21.000' AS DateTime), CAST(N'2019-01-05T10:54:35.000' AS DateTime), 170, 71, 0xBD0B00000104050000006232551098393241802D211FA87C1741D934EF1899393241302428FEA87C174177832F4CA2393241E0635D5C907C1741905CFE6388393241C010C7BA4A7C17416232551098393241802D211FA87C174101000000020000000001000000FFFFFFFF0000000003, CAST(1019555 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1019599, N'{CD3B4FB9-2A90-48AC-AC1F-293F98BE210A}', N'001585312', 126723, N'VIP851', NULL, N'1585312', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'Block C', N'', N'THAT PART OF LOT 5, BLOCK C, SECTION 16, VICTORIA DISTRICT, PLAN 851 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', N'666.1', CAST(N'2016-01-06T20:03:54.000' AS DateTime), CAST(N'2019-01-05T10:54:40.000' AS DateTime), 661, 111, 0xBD0B00000104180000007614AE87A02C32415095D489329917415DA1D634A72C3241E00B932984991741B0D85F36A72C324180A3013C849917419F382539A92C324180EFAE6B84991741B090BB3BAB2C324110EA79B484991741CA450F3EAD2C3241C0CB5F168599174155BF0C40AF2C324130DB5C91859917410068A041B12C324150686C258699174184AEB642B32C324170CE88D28699174170923B57B52C324110D57DCA8799174126FFEB6AB72C3241F0EE78DD88991741AA03B27DB92C324180C46E0B8A991741CBB8778FBB2C324130DF52548B991741DA4127A0BD2C324150AC17B88C9917419DCDAAAFBF2C3241407DAE368E991741EBAC0619C12C324150F3E65D8F9917412AE7B981C22C3241202ABE91909917410E6FBDE9C32C3241401E2ED291991741CA3A0A51C52C3241A08B301F93991741194499B7C62C3241C0EFBE78949917416788631DC82C3241D088D2DE959917417836AB5EC12C324190E2C7183E99174178711BEDB12C3241B06B09F9359917417614AE87A02C32415095D4893299174101000000020000000001000000FFFFFFFF0000000003, CAST(1019599 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1020620, N'{05DB810F-58C4-439A-9443-3B0DC8D081AA}', N'010308610', 294089, N'PGP2032', 4916441, N'10308610', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'', N'', N'THE NORTH 100 FEET OF LOT 2 DISTRICT LOT 5103 CARIBOO DISTRICT PLAN 2032', N'0163', N'0002', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2019-01-11T18:30:52.000' AS DateTime), 3196, 273, 0xBD0B0000010405000000DB1B7C410AF33241683BDF8F5C99294176A52C6315F33241683789412199294110F241AFA7F23241089F3C6C1499294132E6AE05A6F232418857CA7251992941DB1B7C410AF33241683BDF8F5C99294101000000020000000001000000FFFFFFFF0000000003, CAST(1020620 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1021251, N'{BF0D959D-69FE-4245-BA76-7EC806317945}', N'011616369', 3, N'NO_PLAN', NULL, N'11616369', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'89', N'', N'', N'DISTRICT LOT 89 KAMLOOPS DIVISION YALE DISTRICT EXCEPT THE CANADIAN PACIFIC RAILWAY RIGHT OF WAY AS SHOWN ON PLAN 287 AND PLAN H755', N'0163', N'0028', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:10:41.000' AS DateTime), 12680, 603, 0xBD0B000001041400000098658883AA413441404FAF542C70224182AEB682AA413441A06CE73B2C70224170C5FE72A4413441905E294B8A6F2241501E168AB141344140C6DCB55C6E2241248E75F17941344198D409680B6F2241031F12F275413441104D5D14186F22417106800072413441B022F6D1246F22418AEBD11C6E413441C81298A0316F2241BC331A476A413441B88906803E6F224167026B7F66413441B0A404704B6F22418A38D6C56241344178325570586F2241B12E6EA36C413441880C71EC666F2241F86A565F64413441786C7FDF846F2241054787685C413441D824DD25A36F22417F94D2BF54413441C0996CBCC16F2241801B02664D41344158ED07A0E06F22417D85D75B46413441F05581CDFF6F2241BB490CA23F413441286EA3411F70224157D3BC83A9413441A0635D1C2C70224198658883AA413441404FAF542C70224101000000020000000001000000FFFFFFFF0000000003, CAST(1021251 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1021428, N'{EB015382-0DE7-485C-B1BF-5C1D62C11B59}', N'010358781', 872688, N'KAP5183', NULL, N'10358781', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 235 KAMLOOPS DIVISION YALE DISTRICT PLAN 5183 EXCEPT PARCEL A (DD 169572F) AND PLAN H10733', N'0055', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:31:29.000' AS DateTime), 1526, 160, 0xBD0B000001040B000000C20E9C5399663541989BC46078AE23412B0681D59966354138BF7D5D70AE2341EAB7AFA39D66354198C342AD39AE23416BBC74739866354118AE476119AE2341A435CDDB8B663541809CA26318AE2341C732C4917166354110AAF15216AE2341C454C1887066354168C8073D45AE23417C36ABDE7F66354150C954C15BAE23412ED49AA68366354140ED0D3E5AAE23414C4772F995663541F8907E7B73AE2341C20E9C5399663541989BC46078AE234101000000020000000001000000FFFFFFFF0000000003, CAST(1021428 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1022544, N'{0F35F80E-51E9-4B72-AB6F-98DA0BA9F40A}', N'012688550', 467309, N'NEP11801', 9781001, N'12688550', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 SECTION 22 TOWNSHIP 23 RANGE 18 WEST OF THE 5TH MERIDIAN KOOTENAY DISTRICT PLAN 11801', N'0163', N'0006', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-01-29T11:32:43.000' AS DateTime), 102567, 1346, 0xBD0B0000010407000000EF41CFE6F7773941B01C5AE4E1932541B169DEB1EA78394188567DAE29942541B1EA739529793941989690CF6D90254111583934B5783941300E2D32AF902541D9D781F36A78394198218E75FA902541B12E6E831F783941B0DA8A7D61912541EF41CFE6F7773941B01C5AE4E193254101000000020000000001000000FFFFFFFF0000000003, CAST(1022544 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1022901, N'{BD5F90A7-2445-4C57-9BB2-B2D944B6F21C}', N'009826181', 3, N'NO_PLAN', NULL, N'9826181', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART S2', N'7', N'1', N'THAT PART OF THE SOUTH 1/2 OF SECTION 7, RANGE 1, SAHTLAM DISTRICT, SHOWN COLOURED GREEN ON PLAN 672 RW', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T22:16:26.000' AS DateTime), CAST(N'2018-01-09T12:31:02.000' AS DateTime), 1375, 189, 0xBD0B0000010405000000E52631E842A2314140C442ADB690194112BE30798EA23141D0BFEC1E6A901941449B553F88A23141A015FBCB29901941062428BE3EA23141B0B5157B6D901941E52631E842A2314140C442ADB690194101000000020000000001000000FFFFFFFF0000000003, CAST(1022901 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1023450, N'{08F81726-D9DD-41A7-AA35-3C5F902A386F}', N'014006367', 464788, N'NEP7103', 8799391, N'14006367', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 4131 KOOTENAY DISTRICT PLAN 7103', N'0163', N'0018', N'NO', N'MODIFIED-ICF', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:31:21.000' AS DateTime), 26303, 806, 0xBD0B000001042A000000F35A425E636B3B41388941E0FC222241F83A70CE636B3B41885AD37CF7222241186A4DB36C6B3B41E088D21E8A222241158C4A0A6E6B3B41B00A46A57922224115363C5D6E6B3B4118F90FA975222241F9285CCF6A6B3B411071AC0B752222419C6588A3396B3B4190438B2C652222415639B4E80E6B3B4180C0CA61572222416029CB70FB6A3B412087161951222241E7B7AF23F96A3B41C0C342AD50222241EA1DA768F96A3B41800F7A3653222241B4D85F76FA6A3B41181CEB225D222241C439234AFB6A3B41B0FA5CED64222241DC7A14EEFC6A3B41505227607422224153158C2AFF6A3B41C856EC6F89222241CCB359F5006B3B41E03B4E519A222241D61B7CC1046B3B41084FAF14BE222241E473B555086B3B41E80209CADF222241A145B6530A6B3B4130DF4F8DF222224188635DDC0A6B3B4140189594F7222241D68AFD250C6B3B4158A1D6B4032322416AF7E481076B3B4118C286A74E23224175E09CD1066B3B41F84A59C65923224127E483FE026B3B41A8825189972322412AED0DBEFF6A3B4128F1630CCC232241263A92ABFE6A3B4108E4145DDD232241D8D78173F26A3B41D06800AFA22422419228ED2DF66A3B41D8BCE354A52422415F105839F76A3B41B8F1D20DA62422412A3A922BFE6A3B41E89908DBAA24224152742457116B3B4160E3A51BB8242241ACA44EE03C6B3B41C0C56D34D6242241BC1E85EB3D6B3B4138AD695EC924224110A5BDA1496B3B41B099995939242241D656EC6F4B6B3B415066662623242241AAE8482E4C6B3B41603789011A242241A045B6D34C6B3B41A8CDAA0F12242241B88D06D0506B3B4150A8350DE123224158EC2FDB5B6B3B410800004059232241364ED1315D6B3B4170DE71CA48232241E27A14CE616B3B412087161910232241F35A425E636B3B41388941E0FC22224101000000020000000001000000FFFFFFFF0000000003, CAST(1023450 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1023659, N'{850B5FF7-81FF-4EAB-AD71-C4DE86AFDB60}', N'007941005', 19444, N'VIP1004', NULL, N'7941005', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 7', N'', N'', N'THAT PART OF LOT 7, DISTRICT LOT 49, COWICHAN LAKE DISTRICT, PLAN 1004 BEING THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 100 RW', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T19:37:37.000' AS DateTime), CAST(N'2019-01-07T18:32:44.000' AS DateTime), 2762, 250, 0xBD0B00000104050000003FE8D9AC468B314180A1D634FBB11941A0A22399F78A3141B089B061A0B219415E984C55F68A314180438B6C2EB31941B169DE51458B314160559F2B8AB219413FE8D9AC468B314180A1D634FBB1194101000000020000000001000000FFFFFFFF0000000003, CAST(1023659 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1023905, N'{688D5A89-C099-4DAE-B49C-F74CF5D2637A}', N'001714678', 3, N'NO_PLAN', NULL, N'1714678', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 26', N'', N'', N'THAT PART OF LOT 26, HELMCKEN DISTRICT SHOWN COLOURED RED ON PLAN 162 RW AND CONTAINING 4.62 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 15, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T17:54:21.000' AS DateTime), CAST(N'2019-01-07T18:32:05.000' AS DateTime), 18993, 1296, 0xBD0B0000010445000000CCD5562CB5D2314120D1915C2716194183B7406296D23141F08E537422161941FE65F7C498D23141B040826273161941241FF4CC9AD23141E0460378C4161941B259F5799CD23141A0E848AE15171941CDDEE0CB9DD23141E0482EFF661719410593A9C29ED23141C01C5A64B8171941BCD1005E9FD23141001973D7091819410824289E9FD2314170F21F525B181941285305839FD23141F0F1D2CDAC1819412C287E0C9FD23141D0A59B44FE181941E8D9AC3A9ED2314100E9B7AF4F1919418E31770D9DD2314150734614A119194199F606BF9BD23141501AC05BD41919413BAB3E379AD231414027A089071A19410734117698D23141A0BE9F9A3A1A19413A1AC07B96D2314150703D8A6D1A194192CB7F4894D2314160AA6054A01A1941A82C43DC91D23141204625F5D21A19418CFD65378FD23141908BDB68051B194176C7295A8CD2314190559FAB371B19415AC1A84489D23141D0A223B9691B1941507424F785D231418028ED8D9B1B194192A0F87182D2314170E6AE25CD1B194163984CB57ED231418091ED7CFE1B194165006FC17AD23141B096908F2F1C194139B4C89676D23141B0D0B359601C194194218E3572D2314150F4DBD7901C19410624289E6DD23141906FF005C11C1941CE44D8D068D23141408941E0F01C19413BCD3BCE63D23141B0F75363201D1941012B87965ED231417095438B4F1D1941E202092A59D2314170AA60547E1D194190B96B8953D231419010C7BAAC1D1941F01FD2AF47D23141E036AB3E081E1941823F353E1FD23141B05B2041621F1941FBB9DACA41D23141102DB21D661F1941BD17267362D23141C010C73A4F1E1941C164AA006CD23141509FABAD031E1941705F074E72D23141A0043411CF1D1941E2361A6078D23141F04A59069A1D19418F0F7A367ED2314180E09C91641D19417BF2B0D083D2314130EBE2B62E1D1941851F632E89D2314150FE437AF81C1941D868004F8ED23141401B0DE0C11C19413645473293D23141201FF4EC8A1C1941A6BDC1D797D2314180C1A8A4531C19410C12143F9CD231414003780B1C1C19415E4BC867A0D23141C0C11726E41B1941384ED151A4D23141406C09F9AB1B19412D08ACFCA7D23141E0263188731B1941EA263168ABD2314190D044D83A1B19416AB3EA93AED23141E08C28ED011B1941A9ADD87FB1D2314180832FCCC81A1941B91E852BB4D23141B0D93D798F1A19411DEBE296B6D23141F0FDD4F8551A1941A189B0C1B8D23141A0CDAA4F1C1A1941EDA7C6ABBAD2314160DCD781E2191941B4F3FD54BCD2314180734694A81919416DE7FB69BDD23141F04082624C19194195B20C11BED2314120A913D0F21819412F2AA953BED23141307D3F3599181941AF69DE31BED231414050FC983F181941243A92ABBDD23141F092A902E61719416609F9C0BCD231412090A0788C1719418DA0F871BBD23141E000DE0233171941D388D2BEB9D2314130C286A7D916194199DD93A7B7D2314160D6C56D80161941CCD5562CB5D2314120D1915C2716194101000000020000000001000000FFFFFFFF0000000003, CAST(1023905 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1025010, N'{2674BEFB-80F6-41B9-B8CF-1BDE02E21A3E}', N'014151731', 466817, N'NEP6923', NULL, N'14151731', NULL, N'7864583000', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot A', N'', N'', N'LOT A DISTRICT LOT 4592 KOOTENAY DISTRICT PLAN 6923, EXCEPT PART INCLUDED IN PLAN 8692', N'0163', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:42.000' AS DateTime), 64540, 1170, 0xBD0B000001040C00000060EE5A024C043A4130C4B1AE3F0D1F416A44690F3A043A41C0B7AF83510E1F41B303E7AC82043A4130FC18F38D0E1F41AC47E1FABE043A4110EBE236C20E1F416FF085A9C5043A4180F5285CA00E1F41184850DC2D063A41A026C2868A0D1F4174711B2DF8043A4120098A9FD50A1F417824975FA0043A41407B83AF100C1F418E06F09695043A41A01B0D60370C1F41AC9BC40065043A4140A301BCE50C1F41440AD74353043A41C096908F250D1F4160EE5A024C043A4130C4B1AE3F0D1F4101000000020000000001000000FFFFFFFF0000000003, CAST(1025010 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1025079, N'{988327BF-91B2-4620-91C8-B214F8C626C6}', N'016021908', 468350, N'NEP805', NULL, N'16021908', NULL, N'7864604000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'', N'', N'THAT PART OF LOT 5 DISTRICT LOT 4592 KOOTENAY DISTRICT PLAN 805, SHOWN OUTLINED IN RED ON REFERENCE PLAN 97999I', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:32.000' AS DateTime), 12937, 1514, 0xBD0B00000104240000005E4BC8C78ADE39412070CE8835971E4158EC2F5B8CDE3941F059643B05971E41CE2B65D9FBDC3941A0A52CC329961E413B014D44FADC3941F003C50F5A961E4158EC2FBB59DD3941D0D5E76A8E961E415E4BC8C78ADE39412070CE8835971E4130D49A86FDDC394120EB73B58D971E41184850BCFBDC39416019E2D8C1971E41EE2FBBC725DD3941308C4A6AD7971E411E5A64BB4DDD394170B0E1E9EB971E415227A0495FDD3941801E85EBF4971E4141A4DF5E6FDD39417055302AFD971E41FC6E81644EDD39410076E09CD8971E41FEBB057226DD3941D0073D1BC4971E416407CE3911DD3941207E8C39B9971E4134288B610EDD394100F20C55B7971E41362773980BDD394140068258B4971E41E4C63CE508DD3941907E1E4BB0971E412B0C6A4E06DD3941E0C2A636AB971E41DE8E38DA03DD394160525927A5971E41186F928E01DD3941E041D12B9E971E41A2130071FFDC3941E007E35496971E4130D49A86FDDC394120EB73B58D971E419A081BFE72DE3941A0787AA5C8991E4160E5D08208DE394140E25897F1981E4190ED7CDFC0DD3941E0E9953202991E41B047E11ABBDD3941901F636EA9991E415F984C7528DE3941E03FA4DFE1991E4126CD242929DE3941C0FB0E4FE2991E41962A41DC29DE394180FA01D0E2991E410B59868E2ADE3941F08C6962E3991E41CA21D93F2BDE3941605A2F06E4991E4112731EF02BDE394120623ABBE4991E4154643B9F2CDE3941D0006F81E5991E41FA285CCF70DE3941B0E90434079A1E419A081BFE72DE3941A0787AA5C8991E410300000002000000000206000000021700000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(1025079 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1025403, N'{874656CB-BCC6-4270-8F8B-7CBA267FFEEA}', N'015848591', 3, N'NO_PLAN', 1780841, N'15848591', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'NW4SE4', N'33', N'11,5', N'THE NORTHWEST 1/4 OF THE SOUTHEAST 1/4 OF SECTION 33 TOWNSHIP 11 RANGE 5 COAST DISTRICT', N'0163', N'0001', N'NO', N'ICF', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:19:34.000' AS DateTime), 162278, 1611, 0xBD0B0000010405000000DF361AA0BA3D3141282CD4DAC6D32E413FBD52364D3F314160BA494CDBD32E41A3EFA7A6573F3141A0BFEC5EB5D02E4100098A5FC53D3141E0AE25E4A0D02E41DF361AA0BA3D3141282CD4DAC6D32E4101000000020000000001000000FFFFFFFF0000000003, CAST(1025403 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1025516, N'{8D16ABBC-574C-4684-97DD-DB56E0B98A97}', N'012640204', 246375, N'PRP1639', NULL, N'12640204', NULL, N'01223.050', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 755 RANGE 5 COAST DISTRICT PLAN 1639', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:25:43.000' AS DateTime), 4017, 297, 0xBD0B000001040B000000EC8E537474BA2C4120E483FE635C3041817346D475BA2C4144AD697E825C304141E17A1477BA2C41A8C8765E9D5C30419C33A234C0BA2C41BCC876BE9C5C30410E4FAF54BFBA2C41B8BFEC5E8E5C30419B3C2C94BEBA2C418036AB7E815C3041CBC56D34BDBA2C41E051B87E625C30411AE25817BCBA2C4124B7D1404A5C304159D5E72ABBBA2C41942C43DC365C3041F28E53B471BA2C41081B9E9E265C3041EC8E537474BA2C4120E483FE635C304101000000020000000001000000FFFFFFFF0000000003, CAST(1025516 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1027274, N'{AA800C07-3ACA-4894-8F4E-BB4CEE63309E}', N'009812521', 3191502, N'KAP8543', 31802371, N'9812521', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 4', N'', N'', N'LOT 4 DISTRICT LOT 330 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 8543', N'0163', N'0019', N'NO', N'ICF', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:36:46.000' AS DateTime), 7819, 403, 0xBD0B00000104070000005C9FABED0BCD3741C0DCB50417F71C41703D0A17E4CC3741F079362B0EF71C41E4AE25C4DCCC3741B0923A011CF81C4192559F0B32CD3741200C93A93DF81C4106F9A0E73CCD3741A03C2C54B4F61C4152742417FDCC3741903D0AD76EF61C415C9FABED0BCD3741C0DCB50417F71C4101000000020000000001000000FFFFFFFF0000000003, CAST(1027274 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1028141, N'{821FADC1-0120-4AC8-AE69-7BD5445C6984}', N'014083531', 295389, N'PRP968', 14745701, N'14083531', NULL, N'00583.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 7', N'Block 41', N'Section 1', N'LOT 7 BLOCK 41 SECTION 1 DISTRICT LOT 863 CASSIAR DISTRICT PLAN 968', N'0087', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:27.000' AS DateTime), 366, 93, 0xBD0B000001040500000014E9B7AFB06E2B413CFAED4BB46431416A1283C0C46E2B4130431C2BB4643141118C4AAAC36E2B41B442ADA98F643141161DC9A5AF6E2B410C4D84CD8F64314114E9B7AFB06E2B413CFAED4BB464314101000000020000000001000000FFFFFFFF0000000003, CAST(1028141 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1032726, N'{01509C36-518B-464D-B866-8233FFE56537}', N'017838657', 1497100, N'LMP4848', NULL, N'17838657', NULL, NULL, N'ACTIVE', N'AIR SPACE', N'CROWN AGENCY', CAST(N'2000-03-24T00:00:00.000' AS DateTime), N'Parcel A', N'', N'', N'AIRSPACE PARCEL A DISTRICT LOT 53 GROUP 1 NEW WESTMINSTER DISTRICT AIRSPACE PLAN LMP4848', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:38:50.000' AS DateTime), 2138, 216, 0xBD0B0000010406000000A0D6344FE8A43241F01873D78BBB1C41D48173C6D6A43241E012F2C1D9BB1C4117C05B8013A53241A07AA5ACB3BC1C4168DE710A25A53241D0EC9EBC65BC1C41CB8F31F7E8A43241F0C48F318EBB1C41A0D6344FE8A43241F01873D78BBB1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1032726 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1033476, N'{53A12BB1-8297-4921-B4B3-B5C263EA0FC5}', N'010371001', 848944, N'KAP2066', NULL, N'10371001', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 669', N'', N'', N'LOT 669 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 2066', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:49.000' AS DateTime), 26496, 844, 0xBD0B000001048B00000099B20C3176773641C07268915AEF1C417A2D213F777736415006811547EF1C4107C58F11757736411025060136EF1C41617FD9BD7177364140C3D3AB2AEF1C416A3DD39E6F77364180C6745826EF1C41597148876D773641602B3ECC21EF1C41544998776B77364160DBFE071DEF1C412D8E20706977364170B58F0C18EF1C41B0923D71677736416067D3DA12EF1C4137234A7B65773641B045B6730DEF1C410144FACD60773641E0345E3A05EF1C41464172475F77364150E4DB6403EF1C4160CFC5C45D77364180A0C65E01EF1C410E9255465C77364120E79F28FFEE1C41161E81CC5A773641E034F5C2FCEE1C4165E1A65759773641D0E95F2EFAEE1C41780B24E857773641101F856BF7EE1C41ADBFEC3E537736411032E6AEEEEE1C411E1FF4AC4F773641C0C876BEE2EE1C416251A0FB4E77364190B6267CDDEE1C418ECD23434E77364170AC5149D8EE1C41643094834D773641B0909326D3EE1C41C2EA07BD4C773641A0688614CEEE1C41193F96EF4B7736419044C213C9EE1C41A43E571B4B773641302FDD24C4EE1C4133FF21BD47773641E09F1AAFB4EE1C417836AB7E4377364130B4C876A4EE1C41F8CBEEC93F773641B047E1FA98EE1C41AFBFECFE3B77364110D7A3708BEE1C416C8104453977364160A470BD7BEE1C4164436BD038773641E08732C175EE1C414CF722793877364120430FA66FEE1C41DDB3AB3F3877364170C5FC7469EE1C4122CE5924387736411030113763EE1C41DC5D552738773641B07C75F55CEE1C4178029A4838773641D01058B956EE1C41F36AD40838773641D0DF68F050EE1C4168CDFBB537773641E01CA9364BEE1C412000495037773641A05E069045EE1C4182C801D836773641101D610040EE1C41F0AA784D36773641100D8A8B3AEE1C4195B20CB135773641707D3F3535EE1C41D712F2C133773641402DB29D1EEE1C41A8DFBECE31773641B0C8763E0FEE1C41A835CDBB2F773641B099999904EE1C41069A083B2A77364100931884EEED1C41BCA8A4AE6E763641A0ED7CBFBAF01C4130211FF48276364160BE9F9A4CF11C41D044D8D09276364170BE9F1A03F21C4106A3923A95763641D0D478E91FF21C418095438B96763641F022DBF92CF21C413CD6C56D957636416039B4C811F21C41D6F0F40A95763641B06E1203F6F11C41465986F895763641B020B0F2D5F11C4111F2412F98763641005C8FC2BCF11C41922A18159B763641C085EBD1A6F11C41D834EF389E76364130DD248691F11C41246C789AA176364170F2B0507DF11C41774F1E96A4763641C04C158C6FF11C413F136183A8763641F04E40135FF11C41D2F75363AD7636412092CB7F52F11C410AAC1C7AB176364180158C4A4CF11C419707C9FAB276364120628FAF45F11C4132AEEA6FB47636412028B0EB3EF11C4155203CD9B576364120F9300038F11C41C6117A36B776364180C95BEE30F11C41FD756387B876364100B181B729F11C41828CB9CBB976364110ADFA5C22F11C4140A4DFFEBE7636415075719B06F11C41802F4CA6C2763641F0732417F7F01C4199DD9387C6763641300A6822E9F01C410A3D9B75CB7636418001BC85D9F01C41F60FE977D0763641C0FF907ECCF01C418ECB7F48D576364180D85F76C2F01C410958016BD7763641106F790ABEF01C41AF79038CD9763641C0111493B9F01C41075282ABDB76364120DE3710B5F01C414A057AC9DD7636412008ED81B0F01C4190BAE6E5DF763641B0D63BE8ABF01C41AC9BC400E276364170A52C43A7F01C4152621038E776364190ABAD589CF01C41410AD763EB7636412050FC9892F01C4174E09C11F076364190DD930789F01C4142575B11F4763641B033A23481F01C41CAEEC943F8763641B0B20CF175F01C41C68F3157FB763641808026C269F01C4194B20CB1FF763641F0B88D865DF01C41E0B5843C04773641C066D56754F01C414A50FC580877364110C3642A4DF01C41E861A1360E7736410073D79247F01C4196FF90BE1377364130D5E7EA45F01C4131E6AE851877364150234A7B43F01C41351136BC1E773641F09C112545F01C4126E483FE2477364170F697DD4AF01C41959999592A77364130A2B4374BF01C415B643B1F2F773641D03A014D49F01C41BA9F1AEF33773641F0D712F24AF01C417E3F351E39773641B013D0444DF01C41F8549FAB3A77364140A50EE34FF01C41D47F0D433C77364100FDF51852F01C412CF7C9E23D773641900B26E453F01C41560516893F773641706AB14255F01C41F6E72B344177364150701F3356F01C4182B740E24277364100C66DB456F01C413C575B514777364150840DCF57F01C41CE1951FA4C773641F0C3422D56F01C419306F0B652773641004B598650F01C413E9B559F5F77364170E09C113EF01C41E9BFE0096177364150B3F5C63CF01C412ADBFA7762773641C0C67CC23BF01C4171B0CAE863773641D0A9CC043BF01C419667755B65773641D0EA558E3AF01C41940E1FCF6677364170D55E5F3AF01C41401CEB4268773641C04603783AF01C4145C807BD6C773641B0900FFA39F01C416E46941672773641603BDFCF3AF01C41F52FBB67767736412016D9CE3BF01C41A1EFA7667B77364110643B5F35F01C41CED556CC7E773641008195C325F01C41764E61937F77364130B9206F20F01C4126960C408077364120F55BE21AF01C4177695BD18077364170206B2515F01C41E4A678468177364180CEB8400FF01C412C87B89E81773641A0E3E93C09F01C419A9999D98177364150E5D02203F01C414837894182773641A06ABC74F0EF1C41850D4F0F8277364170931804DCEF1C41868EE43281773641A01A2FDDC8EF1C417DE2C7987E773641205839B4B9EF1C41472EFFC17B773641A0438B6CA9EF1C415AA8354D78773641E08A6CE797EF1C41C920965177773641C06F632593EF1C4155B2B95A767736418033DC538EEF1C418C9FAF68757736418016237389EF1C41BEDE867B74773641904A858384EF1C41F8184E937377364100EC50857FEF1C4125A913B072773641E0FDD4787AEF1C416BD712727377364100FA7E6A69EF1C4199B20C3176773641C07268915AEF1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1033476 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1033478, N'{E4435545-BAA8-44A6-83DC-0FD4CCA12460}', N'011383381', 847821, N'KAP1957', NULL, N'11383381', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 405', N'', N'', N'THAT PART OF LOT 405 SHOWN RED ON PLAN A1057; DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 1957', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:49.000' AS DateTime), 4617, 650, 0xBD0B000001041B0000006691EDFCF1763641E001BC056CD91C41BAA679E7DE763641B089B061A2D91C41078A1F43CC76364150537424DBD91C410C4FAF14BA7636412012143F16DA1C41F4EDEB60A8763641000A68A253DA1C4144F1632C97763641B0C8763E93DA1C4144EA043486763641B02C431CD6DA1C41BE64AA408076364190E2C798EDDA1C410EBE30D975763641103FC6DC22DB1C414F499D40727636415038D64535DB1C410EE9B7AF78763641A0D409E854DB1C41B86B09391F773641604E409339D91C41EDC9C34223773641E0E1E9952CD91C412185EB5127773641000F9CB31FD91C41666666662B77364180B1BFEC12D91C41A9A44E802F773641E05B204106D91C4190ED7C9F33773641D07BF2B0F9D81C41B025E4C337773641A0EC9E3CEDD81C41F1C9C3E240773641C01C5A64CCD81C4128F6971D4A773641F094D409ACD81C41F997DD735377364150C4B12E8CD81C4174787AE55C773641901726D36CD81C41E7FBA97166773641E022DBF94DD81C415562101870773641D0770BA42FD81C415C6DC5BE1977364110AED8DF05D91C4126E4837E05773641B0764F1E38D91C416691EDFCF1763641E001BC056CD91C4101000000020000000001000000FFFFFFFF0000000003, CAST(1033478 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1033657, N'{C509B1ED-D48C-4562-8BE2-C3528C23C5F1}', N'010327371', 856255, N'KAP5129', NULL, N'10327371', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Parcel 10', N'Lot 3', N'', N'PARCEL 10 (PLAN A1274) OF LOT 3 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 5129', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:31:36.000' AS DateTime), 8065, 369, 0xBD0B000001042800000055CA3224BE6E364170A52CC3E2BC1D414F499DE00C6F3641F01B7C6101BD1D41BA6B09790A6F3641A01E85EBB8BC1D411EB9FC87076F3641505DDCC670BC1D4114363CDD046F364180E61D2736BC1D41440C02EB016F364130C976BEFBBB1D41A4C64B37016F3641B0999999EEBB1D41DD4603F8FD6E364160E3A51BB5BB1D41DCC56DF4FD6E3641F0012B07B5BB1D4195900F1AFB6E3641E078E926A4BB1D4174E29BF0FA6E3641F064E4D9A0BB1D41F2ABB7C0FA6E3641503956929DBB1D41A9636E8AFA6E3641E0EB07519ABB1D411008CD4DFA6E364160F1C01697BB1D41671CE20AFA6E3641201147E493BB1D410DA5BDC1F96E364150355EBA90BB1D41BA5E7DDFF86E36413085FB928BBB1D41B6921C0DF86E364170F9384286BB1D419915144BF76E3641A01D24CB80BB1D41AE58D399F66E3641F081E0307BBB1D41132AC0F9F56E3641E0E9A57675BB1D41117A366BF56E3641C076BE9F6FBB1D4196E61DA7F26E36410091ED7C60BB1D4162325510A66E364190A8354D4BBB1D4141AD69FEA76E3641507DAE3663BB1D4129A913F0A86E364100A089306FBB1D41688863DDA96E3641D09F89307BBB1D415D5DDCC6AA6E3641C058A83587BB1D41A7E8488EAC6E364160A8354D9FBB1D4119FBCB0EAE6E3641F0AF0367B4BB1D411D166ACDB26E364150F46C56FCBB1D410A2428FEB66E3641506054D244BC1D41701B0DA0BA6E3641A08251C98DBC1D4112277E0BBB6E36418096020797BC1D41D512A274BB6E364150075B46A0BC1D417B7678DBBB6E364190AA5187A9BC1D4118EC0040BC6E3641A051DDC9B2BC1D41F10F3BA2BC6E364150CFF40DBCBC1D419D802602BD6E364140F38E53C5BC1D4155CA3224BE6E364170A52CC3E2BC1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1033657 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1036181, N'{B93DC27E-30F6-4BF7-8B76-9AD00E673605}', N'012759538', 868179, N'KAP55', NULL, N'12759538', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 23', N'Block 19', NULL, N'LOT 23 BLOCK 19 DISTRICT LOT 706 YALE (FORMERLY OSOYOOS) DIVISION YALEDISTRICT PLAN 55 EXCEPT PLAN H831', N'0114', N'0022', N'NO', N'MODIFIED-ICIS', 1, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-10-02T09:18:18.000' AS DateTime), 277, 74, 0xBD0B0000010405000000AEEA7315C75535411005A31259131F41C264AA80BF55354130A7E8483A131F418CC2F508AD55354100DCD78186131F41D9ACFA1CB455354130D1915CA3131F41AEEA7315C75535411005A31259131F4101000000020000000001000000FFFFFFFF0000000003, CAST(1036181 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1037231, N'{FB99370E-E28B-4F8C-B397-106C3E4A2BD5}', N'010057226', 472821, N'KAP6440', 3469861, N'10057226', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot A', NULL, NULL, N'LOT A SECTION 12 TOWNSHIP 2 OSOYOOS DIVISION YALE DISTRICT PLAN 6440', N'0163', N'0012', N'NO', N'ICF', 5, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-12-13T17:07:26.000' AS DateTime), 80902, 1181, 0xBD0B000001040A000000B28BDB28FFE7364198E4F21FC6A622414AD8F0D4D0E7364170F5B99A64A72241D0DEE00BD9E7364148900F3A66A72241F9CBEE29D6E83641587FD93D98A72241477B83CFEEE836418051491D9DA722416E3480D708E93641D04B37C9F8A42241E1718AEE3BE8364170984CD5D5A422410968228C32E83641A0C2F5A82FA52241364ED1910FE8364110CE1991E3A52241B28BDB28FFE7364198E4F21FC6A6224101000000020000000001000000FFFFFFFF0000000003, CAST(1037231 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1037539, N'{9D1C8201-E55E-4FE6-AA75-4320D92AAFCD}', N'005766761', 855822, N'KAP24935', NULL, N'5766761', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot A', N'', N'', N'LOT A DISTRICT LOT 3188 OSOYOOS DIVISION YALE DISTRICT PLAN 24935 EXCEPT PLAN KAP65558', N'0157', N'0016', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-01-23T10:59:03.000' AS DateTime), 18555, 718, 0xBD0B0000010406000000923177CD9736364128B9FC872AEE2041474772D991363641C8FEB2FBA6EE20415FBA498C77373641D878E966CEEE204167F7E401B7373641500E2D32D9EE2041F50DBED0C0373641685374E45CEE2041923177CD9736364128B9FC872AEE204101000000020000000001000000FFFFFFFF0000000003, CAST(1037539 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1039104, N'{9550F208-B76E-493D-9BFE-B0087AA41D69}', N'001638050', 3, N'NO_PLAN', NULL, N'1638050', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'', N'', N'', N'THAT PART OF SECTIONS 31 AND 36, METCHOSIN DISTRICT, SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 31085I AND CONTAINING 4.38 ACRES MORE OR LESS', N'0079', N'0005', N'NO', N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:03:02.000' AS DateTime), CAST(N'2021-05-30T19:21:28.000' AS DateTime), 17770, 1382, 0xBD0B000001047F00000044F1638C9803324130F46C5620D516415BC1A824A0033241806D348026D516419C8026C2A7033241F01B7CE12BD516415ACA3264AF033241B0900F7A30D51641F8C2640AB703324170F0854934D51641DDCEF7B3BE03324110CDAA4F37D516416F128360C603324170BA498C39D51641850D4F0FCE033241406DC5FE3AD51641ACADD8BFD5033241E02FBBA73BD5164192A98271DD03324180B88D863BD51641C8EEC923E50332418075719B3AD51641784F1ED6EC03324110D49AE638D516415C4BC887F403324150423E6836D516419DB43738FC033241C0E4F21F33D51641B6AF03E703043241B0DFBE0E2FD51641F6A067930B04324130EA04342AD51641D4ACFA3C13043241C004349124D516413D1CEBE21A0432411054E3251ED516411C2FDD8422043241108EE4F216D51641139C33222A04324110FED4F80ED51641CF1951BA31043241607D1D3806D51641075F984C3904324190C58FB1FCD41641C07493D840043241201DC965F2D41641A011A55D48043241203D9B55E7D41641FF1873574F043241809C3322DCD41641BB270F4B56043241A0627F59D0D41641DC4603385D0432414091EDFCC3D4164128ED0D1E6404324150287E0CB7D416418C5AD3FC6A0432416027A089A9D416413CAB3E577B043241F0BCE39488D416414C27A029F20432418075711B99D316417714AE27FC04324100FED4F884D316413A70CEA802053241A09D802678D31641BC847C3009053241D01873D76BD316413DAD69BE0F053241804C150C60D3164184B0E109170532416019E2D853D3164112363C5D1E05324190AF036748D31641F70FE9B725053241D05817B73DD31641611058192D053241C03923CA33D31641E124068134053241C02D90A02AD31641ABE848EE3B053241D035CD3B22D3164152499D60430532418050DA9B1AD31641001973D74A053241903789C113D316415C0E2D5252053241A0C342AD0DD316410FE02DD059053241C03FA45F08D31641D044D85061053241208716D903D31641867CD0D3680532413075021A00D3164134992A587005324190096822FDD2164128F697DD77053241908EE4F2FAD216413F1361637F053241A095438BF9D21641FCDD02E98605324130FAEDEBF8D21641E6482E7F8E053241706891EDF8D21641A43C2C1496053241E07A83AFF9D21641428B6CA79D053241100E2D32FBD21641DA3D7938A505324180218E75FDD216413D82E267AC05324110C7BA3800D316410B462595B3053241E0FE217D03D31641010000C0BA053241A0A52C4307D31641588638D6C5053241706DC57E0DD316412C5C8F42E5053241109E5E291FD3164114E25897E50532417019E2581FD3164189635DDCE5053241F03992CB1ED31641E0718AEE0F0632414035EFB8C8D216418EED7C9FC9053241E00C712CA1D2164190B96B89BE05324130B29DEF9AD2164103780BE4B605324130B072E896D216410388F43BAF05324120B1506B93D216415B17B791A705324140B4377890D21641F1A7C6CB9F053241D051B81E8ED2164158D3BC0398053241D024977F8CD21641433EE83990053241B0073D9B8BD216418516D96E88053241808E75718BD216417BA52CA380053241B0490C028CD21641723D0AD77805324140166A4D8DD21641D81B7C0171053241007F6A3C8FD2164197438B2C6905324170B3EAF391D21641D734EF5861053241C0D7817395D21641841D388759053241305A64BB99D21641F70FE9B751053241D0F0F4CA9ED21641283A92EB49053241F09B33A2A4D21641EFC9C3224205324150128340ABD21641BAD1005E3A053241202FDDA4B2D2164148B6F39D32053241B05F76CFBAD21641088A1FE32A053241C05BB1BFC3D216416F5F072E23053241808E5374CDD21641CB7F487F1B053241A0FA5CEDD7D216418BFD65D713053241C00B9329E3D216419206F0360C053241A00B2428EFD2164129E4839E04053241F0AF72E8FBD216418ADB68A0FD043241F0DA8A7D08D3164102DE02A9F6043241802D219F15D31641BF7493B8EF04324140F1634C23D31641C510C7BAE5043241A068006F37D31641BA15FBEB6E04324110F775E026D4164171D712925E043241E0F3FDD447D416412A3A922B58043241708CB96B54D4164163764FBE510432414047727960D4164150158C4A4B04324170B6F3FD6BD416417AF2B0D04404324180226CF876D41641B37BF2503E04324190423E6881D4164196D4096837043241D0DE4F8D8BD41641A2ABAD7830043241E0B584FC94D41641AF2E6E832904324170A1D6B49DD4164123A7E88822043241003411B6A5D41641E00B93891B0432411092CBFFACD41641646FF08514043241F04D6290B3D41641041B9E7E0D043241F01DA768B9D416412E211F74060432413094F686BED416414894F666FF033241F0F9EDEBC2D41641BE86A757F8033241402B8796C6D41641F141CF46F10332415026C286C9D416414CD8F034EA03324190EC9EBCCBD4164194779C22E303324190348037CDD4164160325510DC033241309031F7CDD41641081B9EFED4033241204850FCCDD41641DF7A14EECD03324100827346CDD4164155643BDFC6033241003D9BD5CBD41641E0E995D2BF033241A079C7A9C9D416415639B4C8B8033241101361C3C6D41641A08026C2B103324180E5D022C3D4164191ED7CBFAA03324130F016C8BED416414D4013C1A3033241103333B3B9D4164106F9A0C79C033241C0D32BE5B3D41641C20E9CD395033241203F355EADD4164133E6AEE58E0332410052B81EA6D41641092428FE87033241505452279ED4164144F1638C9803324130F46C5620D5164101000000020000000001000000FFFFFFFF0000000003, CAST(1039104 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1039193, N'{6D665E16-C18D-41C2-A7BD-8A2EBAE7A5AD}', N'012572063', 299184, N'PRP1079', 13416291, N'12572063', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'Block 21', N'', N'LOT 4 BLOCK 21 DISTRICT LOT 746 QUEEN CHARLOTTE DISTRICT PLAN 1079', N'0104', N'0026', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-05-30T19:55:35.000' AS DateTime), 580, 107, 0xBD0B0000010405000000ECB7AF43C31F224178711B8DCFF92D41B23E575BC91F2241B0E61DA71BFA2D410266F7A4E71F2241685BB13F19FA2D415A711B8DE11F2241008A1F23CDF92D41ECB7AF43C31F224178711B8DCFF92D4101000000020000000001000000FFFFFFFF0000000003, CAST(1039193 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1039842, N'{A50F11E0-D5A3-4073-8CAB-99FFE0CEEDB3}', N'013977971', 295389, N'PRP968', 23695541, N'13977971', NULL, N'01259.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'Block 112', N'Section 2', N'LOT 1 BLOCK 112 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-06-10T13:40:11.000' AS DateTime), 233, 67, 0xBD0B000001040500000053EA0474DF782B4100CE19F17C6431417F7AA52CE0782B417495432B946431411CDBF93EF4782B41484013019464314160EE5A82F3782B41C866D5C77C64314153EA0474DF782B4100CE19F17C64314101000000020000000001000000FFFFFFFF0000000003, CAST(1039842 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1040125, N'{1E4A0931-4B72-4D13-8043-BA9A4218BE49}', N'002910837', 117903, N'VIP877', NULL, N'2910837', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 8', N'Block 9', NULL, N'THAT PART OF LOT 8, BLOCK 9, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, NULL, N'UNKNOWN', N'0', N'314.3', CAST(N'2021-06-29T17:08:44.000' AS DateTime), CAST(N'2021-06-29T18:02:22.000' AS DateTime), 314, 73, 0xBD0B000001040F000000DC6800AFF4383241204FAF14DC8B1741F90FE9B7FA38324100312A292A8C17416B119BF6FC3832415073C1E4248C17417CFEA831FF383241E0DFD1871F8C1741DD1702690139324100BA83121A8C174117BA959C0339324140FCFF84148C1741FB5D53CC05393241B05670DF0E8C17412D992AF807393241502EFF21098C174161984CB50139324130B7D100B88B1741AC601895FF38324130258545BE8B17419EE92E70FD38324100225B70C48B174132DEA346FB383241601B1B81CA8B1741E7138B18F9383241D06E8D77D08B1741048AF8E5F6383241106A7B53D68B1741DC6800AFF4383241204FAF14DC8B174101000000020000000001000000FFFFFFFF0000000003, CAST(1040125 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1041331, N'{6FDA8976-7C04-482D-BC68-7106D9320390}', N'001643479', 4898231, N'VIP83RW', NULL, N'1643479', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 69', NULL, NULL, N'THOSE PARTS OF SECTION 69, SOOKE DISTRICT SHOWN COLOURED RED ON PLAN 83 RW AND CONTAINING 4.86 ACRES MORE OR LESS', N'0133', N'0005', N'NO', N'MODIFIED-ICIS', 4, N'PMBC-OPERATIONS', N'UNKNOWN', N'0', N'19036', CAST(N'2018-12-11T15:51:34.000' AS DateTime), CAST(N'2021-09-24T15:12:22.000' AS DateTime), 19273, 1559, 0xBD0B000001049400000063984C95FDEF3141304ED191E3021741774F1EB6DBEF3141109E5E29A7021741516B9AD701F03141209ECD2A780417412917D47008F031416035B3C6CE0417410EB0082C0EF03141B041075E26051741AE9FE40613F0314100633BCD7E05174181616FFF16F03141009969F0D7051741904F0C141AF0314180D462A331061741244A7B431CF0314140A5BDC18B061741B49DEFA732F03141F0A9F152D30517412DD55CF82FF03141A0A260DB92051741F66BEFD72CF03141B0086AB552051741E26B414729F03141D02F66ED12051741E678024725F0314140579B8FD30417417EAFF7D720F03141404C3BA8940417418D7EFBFA1BF03141501361435604174163984C95FDEF3141304ED191E302174138DF4F4DD2ED3141A0293A92710B174140FAEDABCBED314130D49A66600B174199FF901EC7ED314160B515FB530B17411AAE47A1C2ED314170C5FE32470B17411FA7E828BEED3141201FF4EC390B174149EA04D4B9ED314150DD24862C0B174107F01608AEED3141A09DEFA7920B174197B20C91B5ED3141600AD7A3A80B1741DA070F0CB6ED3141C057B0EEA90B17418768B586B6ED3141401EAA3BAB0B1741F83DFF00B7ED314180C5C28AAC0B1741FFF1EB7AB7ED314160B1F8DBAD0B1741DCEE7AF4B7ED314120444A2FAF0B1741589FAB6DB8ED314180DCB584B00B1741C7EEC943BDED314100EA95B2BD0B1741DFE4F568BEED3141E0DB8AB6C00B1741F247D68EBFED3141201333B6C30B1741BF156AB5C0ED314100ED8BB1C60B17415C4BB0DCC1ED314170CA92A8C90B174135E5A704C3ED31413010459BCC0B17413ADF4F2DC4ED31419027A089CF0B1741E1A59BA4CEED314120B29D6FE90B1741D75C1104D0ED3141705429CCEC0B1741E7605162D1ED314120129030F00B1741C7E258BFD2ED3141F0F4CA9CF30B1741C515251BD4ED3141E0F4D210F70B1741AF2FB375D5ED314130FBA08CFA0B1741D76800CFD6ED314120E02D10FE0B174171F90F09DCED3141C07D1DB80B0C17414F05A372DEED314180C2F528120C17410022FDF6E5ED3141106C78FA260C1741FC4A5966E6ED314140567D2E280C17416C4694D6E6ED3141F0B35975290C1741E81DA728EBED314130DF4F0D360C174132D49A26EFED3141001214BF410C1741ACF1D28DEFED314170B1BFEC420C1741073D9BF5EFED314130E8D92C440C1741B103E78CF5ED314190416065550C1741553E9E7BF6ED3141E0793443580C1741A05A3F69F7ED3141B073A7265B0C1741953AC855F8ED31417098B20F5E0C1741C4C23641F9ED3141A0444FFE600C174132DA882BFAED314170C876F2630C1741846ABC14FBED3141F06722EC660C17412DDD2486FFED314130F5B95A750C1741D6E089B404EE3141C0DBEF82880C1741CA01118209EE314110D8A12F9D0C1741A7F7A2E70DEE314100BF4942B30C1741FDF5C1DE11EE314170E7509ACA0C17419941936115EE314120454015E30C174168D5E76A18EE3141604DF38EFC0C1741C754C1281BEE314100CB1047140D17413CA9B8901CEE314150111013210D1741B6DFBDF01DEE31418095D8EC2D0D1741ED85C8481FEE3141B0671BD43A0D1741935AD09820EE3141004589C8470D17418E4DCDE021EE3141109BD2C9540D17413B80B72023EE3141B086A7D7610D1741B5AFF25924EE3141C00663276F0D17411EBDBB8A25EE314120DA59837C0D174162040BB326EE3141304436EB890D1741DD17D9D227EE3141203CA25E970D17417AC01EEA28EE3141C06F47DDA40D1741F1FDD4F829EE3141E041CF66B20D17417DAEB6422CEE3141E02A1815D10D174129E483BE42EE314100CFF753BF0E174157423EE84BEE3141C062EEDA060F174136B4C85654EE3141F0817346380F1741C10512545CEE314180E5D0A25B0F17412E6EA32165EE3141A09BC4207F0F1741325530AA6CEE31411068226C980F174139B4C8D678EE3141406EA381BA0F1741B294658883EE31410062A156D40F1741C576BE7F8CEE3141E064AAE0E50F1741611058799AEE314120F1F44AF80F174100F775E0A8EE3141905DDCC608101741D5ACFA1CB5EE3141704160E5101017412263EEFAC3EE31415047727913101741808CB96BCBEE3141A013D0C4121017414703784BF8EE31419089B0E1F00F1741992A189506EF314140BC74938B0F1741A467B36AC9EE314150416065A50F1741F05A423EC4EE3141D06588E3A50F1741D22B65F9B7EE3141E01261C3A30F1741CB20B0F2AEEE314170CA32C49D0F1741FD2A8796A2EE314170E4F29F8F0F1741E495B2EC96EE314150A5BD41800F174102098ABF90EE3141C09E3C2C740F174102780BE487EE3141A0A679C75E0F1741900F7A767DEE31412098DD93410F1741EE1FD2CF77EE31415076E09C2E0F17417334805770EE3141E06C567D100F174100E78C086AEE3141202A3A92F40E17413D9B559F63EE314140B6F3FDCE0E17413F575BF15BEE3141F0711B0D930E174121DBF95E46EE3141A0D9CE77AE0D17413880B76043EE3141D00B93A9860D1741AFFA5C4D42EE314180984C95790D17411CAE474140EE31418015FBCB600D174110C7BAD83EEE3141102DB21D510D174137B4C8D63CEE314100AFB6E23A0D1741E48C282D3BEE3141B01804D6290D17412D55302A39EE3141D087F45B150D1741B98F20E236EE3141E0A0B8C3FE0C174183A1B97534EE3141006C5868E80C1741DEE460E531EE3141C0EA7A4DD20C1741419381312FEE31418094BC76BC0C1741EDB38C5A2CEE3141D0BEAEE7A60C17416A09F96029EE3141E009D7A3910C174187C8CA1225EE314120F9C81E780C17415C5E366320EE3141008748B25F0C1741474CAF561BEE314100168975480C17419E5E01F215EE3141D07B9D7E320C1741741E4C3A10EE3141500C63E21D0C1741B7F3FD340AEE3141D0C56DB40A0C1741B5EC512D09EE3141D061A473070C17414E6B302508EE314150782F35040C1741E8C3991C07EE3141F01010F9000C1741E64A8E1306EE3141903447BFFD0B1741F6540E0A05EE314130EBD587FA0B1741DF361A0004EE3141303CBD52F70B1741BEE3141DFEED3141207C61B2E50B1741BC1E85EBF9ED3141F0338037D90B1741DBE76ACBF2ED314120E4831EC50B17410226E051F0ED3141805EC733BE0B1741CA67D3D4EDED3141704B4B5DB70B1741C6084F54EBED3141201F2C9BB00B1741F2725DD0E8ED3141B0FB85EDA90B1741811E0949E6ED314110AD7454A30B1741CD915CBEE3ED314150A913D09C0B174138DF4F4DD2ED3141A0293A92710B1741020000000200000000021100000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1041331 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1042941, N'{1E022C8F-FF88-4C93-9B7E-46428F114750}', N'010327665', 481033, N'KAP1362', NULL, N'10327665', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 22', NULL, NULL, N'THAT PART OF LOT 22 WHICH LIES TO THE EAST OF THE EASTERLY BOUNDARY OF ROAD SHOWN ON PLAN B4110 SECTION 24 TOWNSHIP 8 OSOYOOS DIVISION YALE DISTRICT PLAN 1362 EXCEPT PLANS H16420, KAP44157 AND KAP46969', N'0163', N'0012', N'NO', N'ICF', 8, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2022-01-05T14:11:35.000' AS DateTime), 29934, 701, 0xBD0B0000010417000000E951B87E9699364110F9A0A74EB12241C7C3426D9F993641B003E78C28B122412AED0D1EAF993641D88D06B0E5B0224189FD6577AA99364170226C78D1B022414750FC18989936417804C58F81B02241B7847CB08599364160DA1B7C31B02241C854C14874993641C87F483F03B022414B03784B63993641E8D9ACFADBAF22415FDC46C31199364158302A29E8AF2241EAC03983159936418039B48809B12241F6EDEBA01599364180C7293A23B1224124DBF95E15993641008C4AEA3CB12241D5A370BD1499364180855A9356B1224152D191BC13993641E01FD22F70B12241699A775C1299364150FE43BA89B1224148BF7D9D10993641E8550E2DA3B122417F1D38E77199364130C58FB1B6B12241DA361AE08D9936419039B448BCB12241E6F21FD290993641682D21DFBCB122414D2EFFE196993641E03EC65C96B122413EAD69BE96993641E0BB961077B12241F60FE91797993641B8E1E91570B12241E951B87E9699364110F9A0A74EB1224101000000020000000001000000FFFFFFFF0000000003, CAST(1042941 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1043368, N'{0AD9531E-CF67-48B9-90CC-CDE05BF8E7CB}', N'008208671', 3, N'NO_PLAN', NULL, N'8208671', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'', N'', N'', N'THAT PART OF CADILLAC AVENUE IN SECTIONS 9 AND 24, VICTORIA DISTRICT, PLAN 877 CONTAINING 1124 SQUARE FEET MORE OR LESS AS SHOWN OUTLINED IN RED ON PLAN 2 BL INCLUDED IN THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 2 BL AND ALSO 1 RW', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'0', NULL, CAST(N'2022-01-26T11:13:15.000' AS DateTime), CAST(N'2022-01-26T13:58:26.000' AS DateTime), 68, 38, 0xBD0B000001040A000000845AD35C4A393241100DE02D188E1741DD2D90004F393241A0BE9F9AE68D1741C9293A32473932417007CE19F08D174100F7758042393241E0AB1CDAF58D17418A5CC9D74339324120675675FB8D1741BF4EF92B45393241C093781C018E17410832FF7C46393241D01467CF068E17417A7AD4CA473932419093058E0C8E174100AC721549393241407F3758128E1741845AD35C4A393241100DE02D188E174101000000020000000001000000FFFFFFFF0000000003, CAST(1043368 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1043552, N'{99DCE40C-5D26-4780-BB46-46811A4276C7}', N'010418555', 252432, N'PGP721', 16707561, N'10418555', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', NULL, N'Lot 21', N'Block 12', N'', N'LOT 21 BLOCK 12 DISTRICT LOT 1426 CARIBOO DISTRICT PLAN 721', N'0112', N'0008', N'NO', N'MODIFIED-TANTALIS', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-07-26T16:27:00.000' AS DateTime), CAST(N'2020-04-23T14:39:50.000' AS DateTime), 584, 107, 0xBD0B000001040500000037894120528232415839B4484F4A2E41E07A146E51823241F007ACDC6D4A2E4109560E8D77823241D8F75323714A2E4155643B3F7882324100295C8F524A2E4137894120528232415839B4484F4A2E4101000000020000000001000000FFFFFFFF0000000003, CAST(1043552 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1043997, N'{164D54AF-CCBC-4F53-BE69-64F0BA44A38B}', N'017205930', 489908, N'NEP880', NULL, N'17205930', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 12', N'', N'', N'THAT PART OF LOT 12 DISTRICT LOT 819 KOOTENAY DISTRICT PLAN 880 LYING EAST OF A LINE PRALLEL TO AND 12 CHAINS DISTANT FROM THE WESTERLY BOUNDARY OF THE SOUTH HALF OF THE SAID LOT AND SOUTH OF THE SOUTHERLY BOUNDARY OF PARCEL A (SEE 23551A) OF THE SAID LOT EXCEPT PLAN 6702', N'0163', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:48.000' AS DateTime), 421, 116, 0xBD0B00000104050000001F3867041A31394150984C157E002241E60434F123313941507FD9BD8F0022417624973F2A313941306C78FA2800224168BC7413243139412841F163270022411F3867041A31394150984C157E00224101000000020000000001000000FFFFFFFF0000000003, CAST(1043997 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1044053, N'{3F546A73-5683-48B0-B975-FFF1BB940983}', N'006040632', 18622, N'VIP5097', NULL, N'6040632', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 4', NULL, NULL, N'LOT 4, SECTION 18, RANGE 4, QUAMICHAN DISTRICT, PLAN 5097', N'0089', N'0007', N'NO', N'ICIS CADASTRE', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:48:21.000' AS DateTime), CAST(N'2021-02-16T16:38:20.000' AS DateTime), 2608, 222, 0xBD0B000001040A00000074E7FB297FCE3141108FC2F50AB519411C7C61F272CE314150CC5DCB86B4194170B5151B69CE314150F2B0D0A2B41941F29E3C6C61CE3141D00DBEB0B8B41941672BF6174DCE3141F05296A121B51941BF1726B339CE3141F0C876BE85B519419E3C2CD450CE3141D0361A40D8B51941EF8E53945CCE3141709FAB2DA4B519414AE17A5468CE3141C0073D1B70B5194174E7FB297FCE3141108FC2F50AB5194101000000020000000001000000FFFFFFFF0000000003, CAST(1044053 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1045054, N'{DCC5B94F-AF68-400B-9C65-A551978D7B65}', N'005622832', 248101, N'PGP29457', 90054413, N'5622832', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'', N'', N'LOT 4 DISTRICT LOT 6006 CARIBOO DISTRICT PLAN 29457', N'0163', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:17:48.000' AS DateTime), 20328, 609, 0xBD0B0000010406000000A267B38A76F1354110E561A1DCAB2B41822F4C2636F13541886ABC341DAC2B4189635DFCFAF0354110DE028958AC2B41925CFE8358F13541C042AD69B1AD2B41DBF0F44A96F13541A8293AD273AD2B41A267B38A76F1354110E561A1DCAB2B4101000000020000000001000000FFFFFFFF0000000003, CAST(1045054 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1045171, N'{A7952B03-E160-410E-B440-662741962672}', N'010492135', 3, N'NO_PLAN', NULL, N'10492135', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'8945', N'', N'', N'DISTRICT LOT 8945 CARIBOO DISTRICT, EXCEPT PLAN 21079', N'0163', N'0008', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:17:43.000' AS DateTime), 194085, 2120, 0xBD0B00000104360000001AD9CE378D1C354170CE889221AC2C41666FF065971C354160EE5AC22EAB2C41398941E0991C354100E561A1F3AA2C4193A0F851A81C3541E80B93299BA92C419E900F1AB91C3541D06722EC0AA82C414CDA1B1CA51C354198EB517807A82C412AA089F0191C3541B8F83126F0A72C410AA3927A291B354160EA04B4C7A72C415D17B7B1551A3541C885C914A4A72C41E4FBA9D15F1A354160FAED2BCAA72C41D4AACF15671A3541101FF4EC28A82C4109B5A659721A3541D0DEE08B9BA82C418538D6A5881A3541905AD3FC03A92C4139B4C8F6A21A3541F053E32545A92C413F9B557FC61A3541B03099EA99A92C414A9D80E6E61A3541D0D781F3D6A92C4110E02D50EC1A3541281DC925E1A92C4152AF9425001B3541689CA22306AA2C41EC63CC7D041B3541A81F632EFCA92C4137674429111B3541A86D348012AA2C414FE3A57B281B3541E097DD933BAA2C41FE87F49B301B354138D5E7AA42AA2C4122F46CD6321B35414872F98F3DAA2C41AB08FC66331B354110AA308C3EAA2C411201EDF7331B3541A0C486873FAA2C41C4853F89341B3541F029FB8140AA2C41DC3EF31A351B3541E0418D7B41AA2C413DD407AD351B3541B0763C7442AA2C4192ED7C3F361B35410831086C43AA2C4175B37DE9361B354128D3BF4F44AA2C4109AAF787371B3541B8DF975245AA2C41FC567F19381B3541D0A73E7246AA2C417CF1C69C381B3541C06B20AC47AA2C41E85FA110391B3541C0416DFD48AA2C4148EA0474391B3541E0891F634AAA2C41802258823A1B3541B840FE4A4BAA2C413B422C893B1B3541A0CC18534CAA2C415D928B873C1B35415845787A4DAA2C41B043887C3D1B3541108708C04EAA2C41214D3D673E1B35415834992250AA2C41F141CF463F1B354170D2DEA051AA2C41FE088AFF401B354170EB51F850AA2C4158CA32C46C1B3541B80C71EC60AA2C41BCB88D269A1B3541C07A14AE83AA2C414DB81EC5EA1B3541E8EBC0F9BBAA2C41AC2E6EE3181C3541E8073D9BCEAA2C4123B9FC27451C3541C0E53FA400AB2C41287E8C395C1C3541D82631C86AAB2C416EAC8B9B531C3541089A08DB87AB2C4114AE47013B1C3541B89BC4E0B5AB2C41CF88D2BE371C3541B096908FDDAB2C412797FF503A1C3541A0BCE3D4E9AB2C411E5A64BB501C354120BB27CF54AC2C411AD9CE378D1C354170CE889221AC2C4101000000020000000001000000FFFFFFFF0000000003, CAST(1045171 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1047636, N'{6A70F9A3-B34B-43FE-81A7-358D7A861D52}', N'012751022', 868179, N'KAP55', NULL, N'12751022', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 18', N'Block 13', NULL, N'LOT 18 BLOCK 13 DISTRICT LOT 706 YALE (FORMERLY OSOYOOS) DIVISION YALE DISTRICT PLAN 55 EXCEPT PLANS H831 AND 20839', N'0114', N'0022', N'NO', N'MODIFIED-ICIS', 1, N'PMBC-OPERATIONS', N'UNKNOWN', N'0', N'63.21', CAST(N'2019-04-10T15:57:47.000' AS DateTime), CAST(N'2021-02-24T12:25:23.000' AS DateTime), 90, 46, 0xBD0B0000010405000000332AA9D3CB55354120C807BDC5151F41E3581717D355354120BB270FE3151F41E5E2363AD45535418058A835DC151F41F7A06733D7553541406B2BF697151F41332AA9D3CB55354120C807BDC5151F4101000000020000000001000000FFFFFFFF0000000003, CAST(1047636 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1047684, N'{B9038BB5-47D6-4D2A-948C-C7DD8F7F7235}', N'014342197', 3, N'NO_PLAN', NULL, N'14342197', NULL, N'72411905015', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART NE4', N'27', N'19,15', N'THAT PART OF THE NORTHEAST 1/4 SECTION 27 WHICH LIES TO THE NORTH OF THE NORTH BOUNDARY OF THE TRANS CANADA HIGHWAY AS SHOWN ON PLAN H73 NOT COVERED BY THE WATERS OF THE SOUTH THOMPSON RIVER, TOWNSHIP 19 RANGE 15 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLAN 31', N'0163', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:31:59.000' AS DateTime), 31328, 1654, 0xBD0B000001043200000070348077D4B8354148B5A6F938A6234178BE9F3ACAB83541688716193CA62341905374A4C1B8354110022B073FA6234151AF94E5BFB83541D076BEDF65A62341A879C7A9C9B835418016D90E63A62341621058D9D0B83541402AA95360A6234157EC2F9BEEB835418879C76958A62341A267B36AF7B83541E8285C4F59A62341893177AD0DB9354138F31F1260A62341F4C9C3A214B93541488B6C2762A623419CCDAA0F1BB9354158C1A8A464A623413FAD69DE41B935419026C2466EA62341E72631084AB93541E8718A4E6FA62341EC1DA74869B93541C0D9ACFA75A62341EB2631E873B9354188A52C4379A62341AB0A46659AB93541E8C798BB89A623411EF46C16A3B935413855302A8DA623416B810485ACB9354150DBF93E91A62341745F072ED2B93541A8946548A0A623412DB29DAFDAB93541F08E53F4A4A62341A3F831E6E6B9354100F01608A9A62341F95C6DE5F1B93541B0802642ACA623413CF8C2E4DDBB354168DE71CA01A72341D2B359D5DFBB3541405839F4DAA623411DEF9115B5BB354100F32B46C5A623417CFCAF128ABB3541109A27C7B1A623412930D7D35EBB35415897687AA0A62341D0D1346033BB354150E6CD6291A62341DAEBFEBE07BB354118B8D88284A62341011973F7DBBA35416008ACDC79A62341CB20B072C2B93541C822DBF93BA6234179832F0C57B9354108D9CE7725A623413751C2E653B9354188AFBECD24A623417310D7C050B9354168B0482D24A62341C614759A4DB9354138516E9623A62341D3B2A3734AB93541F8F0300923A623413D406A4C47B93541A0D8918522A62341A813D02444B93541303A920B22A62341531E162A43B9354140EC2F3B2EA6234126F697BD3BB93541B0703D8A2DA623412A53056331B93541A8DFBE0E2DA623410AF0160827B93541584469EF2CA623418E3A01AD1CB93541E08C282D2DA6234151FC185312B93541103945C72DA6234154F5B9FA07B93541707FD9BD2EA62341904AEAA4FDB83541F004341130A62341363CBD52F3B8354180C954C131A623416E8A8E04E9B8354120166ACD33A6234171B515BBDEB83541588FC23536A6234170348077D4B8354148B5A6F938A6234101000000020000000001000000FFFFFFFF0000000003, CAST(1047684 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1050076, N'{DD2F7273-5D65-4AF9-85B2-577454A64E38}', N'007941064', 19444, N'VIP1004', NULL, N'7941064', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 9', N'', N'', N'THAT PART OF LOT 9, DISTRICT LOT 49, COWICHAN LAKE DISTRICT, PLAN 1004 BEING THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 100 RW', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T18:27:37.000' AS DateTime), CAST(N'2019-01-07T18:32:16.000' AS DateTime), 2094, 206, 0xBD0B000001040700000004917EBBCF8B3141001CEB62DFB019416B3BDFCF938B3141D0F2B0505AB11941D2F75383928B314180787AA5E9B119415D545287998B3141C0DFBE0EDBB1194149EA04749E8B3141E0CD19D1D0B119410868226CCE8B314180270F0B6DB1194104917EBBCF8B3141001CEB62DFB0194101000000020000000001000000FFFFFFFF0000000003, CAST(1050076 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1050081, N'{A652B8E0-9D91-405E-B297-A270822D49B7}', N'002535378', 19421, N'VIP8894', NULL, N'2535378', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 4', N'', N'', N'LOT 4, DISTRICT LOT 42, OYSTER DISTRICT, PLAN 8894 EXCEPT PARTS INCLUDED IN PLANS 43985 AND VIP58714', N'0062', N'0007', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T16:06:03.000' AS DateTime), CAST(N'2019-01-07T18:31:13.000' AS DateTime), 796, 131, 0xBD0B000001040600000099E61D278AB93141B053E3A599FB1A4166F7E44196B9314170931804CDFB1A41A4DFBE0EB4B931412066F7E44EFB1A4151742437B8B93141E0AE25E43CFB1A41A5ADD8FFADB93141D0A2B43713FB1A4199E61D278AB93141B053E3A599FB1A4101000000020000000001000000FFFFFFFF0000000003, CAST(1050081 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1050161, N'{9F037E07-4E0B-4412-83D3-AC83BE47B3C1}', N'007941030', 19444, N'VIP1004', NULL, N'7941030', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 8', N'', N'', N'THAT PART OF LOT 8, DISTRICT LOT 49, COWICHAN LAKE DISTRICT, PLAN 1004 BEING THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 100 RW', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T18:06:08.000' AS DateTime), CAST(N'2019-01-07T18:32:06.000' AS DateTime), 2710, 246, 0xBD0B00000104070000003FE8D9AC468B314180A1D634FBB11941B169DE51458B314160559F2B8AB219418E976E52738B3141E0DBD7812AB21941D2F75383928B314180787AA5E9B119416B3BDFCF938B3141D0F2B0505AB1194123DBF99E8D8B3141A0DCB50467B119413FE8D9AC468B314180A1D634FBB1194101000000020000000001000000FFFFFFFF0000000003, CAST(1050161 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1050187, N'{DF5F545E-B49C-4FA7-A3EC-2806EDC6925F}', N'001714091', 3, N'NO_PLAN', NULL, N'1714091', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 201', N'', N'', N'THAT PART OF LOT 201, HELMCKEN DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 31064I AND CONTAINING 2.57 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 15, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T17:08:49.000' AS DateTime), CAST(N'2019-01-07T18:31:49.000' AS DateTime), 10658, 763, 0xBD0B0000010425000000907EFB5A9AD6314100AAF152D1081941EA0434D172D63141505F074E91091941432CD43A1AD73141E012F2C19C0819418473465425D731411061C3D38A081941BB5B202130D73141A07C6132760819413CB4C8963AD7314180D712F25E081941B7270FAB44D73141D00B93294508194146EA04544ED7314190D712F228081941D05D4B8857D73141A01D38670A081941D188D23E60D73141D078E9A6E90719414D840D6F68D731419060E5D0C607194194B20C1170D73141604BC807A20719417D51491D77D73141B068006F7B07194144E8D98C7DD7314110E8D92C53071941287E8C5983D7314180423E68290719419D11A57D88D7314190A7574AFE06194146EA04F48CD7314110FF21FDD1061941465986B890D73141303108ACA4061941EF3845C793D73141204A7B8376061941F66C561D96D73141909F89B0470619410AB5A6597CD73141F0CBEEC949061941AE25E4C376D73141B05A423E4A0619413E8B6C4773D73141504E4093770619410BCE19116FD731419067B3EAA30619418A4160256AD73141002B1815CF0619415227A08964D73141D0F7C2E4F8061941EBB7AF435ED73141D0550E2D2107194164FE435A57D73141B037F8C247071941F285C9D44FD73141F06C567D6C0719415AEC2FBB47D731412058A8358F0719417A4F1E163FD7314110143FC6AF0719411BFBCBEE35D73141B095B20CCE071941D668004F2CD73141C01DA7E8E9071941F9EDEB4022D73141F0EC9E3C03081941850D4FCF17D73141A06891ED19081941A60A46050DD73141F0F753E32D081941907EFB5A9AD6314100AAF152D108194101000000020000000001000000FFFFFFFF0000000003, CAST(1050187 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1050209, N'{58D8927D-214A-4FBD-A8E3-2E0D52979557}', N'001718312', 3, N'NO_PLAN', NULL, N'1718312', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 7', N'2', N'', N'THAT PART OF SECTION 7, RANGE 2, QUAMICHAN DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 31023I AND CONTAINING 3.80 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 42, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T16:36:22.000' AS DateTime), CAST(N'2019-01-07T18:31:34.000' AS DateTime), 16145, 1062, 0xBD0B000001040E000000FE907EFBA2C63141F0421C6BA771194132431C0BCBC63141A045B6F3B87119418EE4F23F13C73141F06E8184667019416CD712D213C7314170855AD363701941809543CB1AC73141502041F142701941C17493588EC7314100A60A461A6E194129C2864707C83141F05352A7D76B19412E4CA62ADFC73141A0B88D86CC6B1941F8B9DA4A83C73141C033A2B4826D1941C354C1E876C73141E0CA32C4BD6D19416E12836076C73141B0A8A44EC06D1941826ABC346AC7314120F9A067FA6D19410CF9A007FFC6314100257502FA6F1941FE907EFBA2C63141F0421C6BA771194101000000020000000001000000FFFFFFFF0000000003, CAST(1050209 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1050764, N'{722BE1CB-1212-4888-83D2-8995308048D8}', N'010456481', 3, N'NO_PLAN', 7803551, N'10456481', NULL, N'759-001631.050', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'SW4', N'18', N'79,13', N'THE FRACTIONAL SOUTH WEST 1/4 OF SECTION 18 TOWNSHIP 79 RANGE 13 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:20:40.000' AS DateTime), 650315, 3226, 0xBD0B000001040F000000F041CF66A6F13441C4FEB2FB58A03241BBD100BE98F13441B0EA73D557A03241D0BCE3B478F134414413612355A0324140E8D90C83F03441643EE87940A03241438B6C2761F034411CB9FC47D2A13241F8E461413FF03441184FAF1464A332417A58A8F5D0F13441E088D2DE85A33241DDE995B262F33441AC8251A9A7A332413CCD3B6E72F33441D0817306EEA232417A58A87577F33441FCA7C64BB2A23241592041B184F33441EC51B8DE15A23241EA0434B1A6F334412873D71284A03241608FC2359AF23441E4A3707D6DA03241BEF528DC14F23441FC4A594662A03241F041CF66A6F13441C4FEB2FB58A0324101000000020000000001000000FFFFFFFF0000000003, CAST(1050764 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1051231, N'{B243D5AC-756B-4A0D-9600-3E46B06D4334}', N'009838210', 3191875, N'VIP1215OS', NULL, N'9838210', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART S2', N'6', N'4', N'THAT PART OF THE SOUTH 1/2 OF SECTION 6, RANGE 4, SAHTLAM DISTRICT, SHOWN COLOURED RED ON PLAN 1215 OS AND CONTAINING 4.78 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T15:56:09.000' AS DateTime), CAST(N'2019-01-10T15:03:40.000' AS DateTime), 18755, 1412, 0xBD0B000001044B00000018D9CE77FEAA314120A5BDC1F5871941DD2406E15EAB314120386744A58719411904560E94AB314120635DDC7A8719416D8104659CAB3141E0F44AD974871941F8ACA3D8A6AB314130A542916B871941A32CD72FB1AB314170C2317960871941FB029865BBAB3141300E7D96538719414875EF74C5AB3141504468EF44871941AE75F958CFAB3141900E138B34871941AE03E70CD9AB3141B08E757122871941ADE1E995E0AB31414041F1E312871941F8FE9C32E9AB3141B0126F6CFF8619418D1D429BF1AB314180FD3895EA861941670D58CCF9AB314120A2FE66D486194179C674C201AC31413099FEEABC86194106D5467A09AC3141C096022BA486194198BB96F010AC314180575B318A8619411FB9FC2717AC31419020417177861941DA09688231AC3141004E62102786194131431C6B46AC3141304A0C02E78519412906819553AC314160696FF0C485194136F8C2C459AC314180423E68B5851941E29C110560AC3141003B704EA68519411DFDF65566AC3141F02EDDA49785194121EBE2B66CAC3141F067226C89851941B5A6792773AC314150787AA57B85194114022BA779AC314190A982516E851941ADEA733580AC31416045477261851941C932C4D186AC314100273108558519414DE3A57B8DAC314190051214498519414E05A33294AC314130E258973D851941921804F69AAC3141A005A39232851941DE9387C5A1AC31416094F606288519414F499DA0A8AC3141E0B359F51D851941130BB586AFAC314170AD695E1485194188FD6577B6AC3141A0A52C430B8519413A4ED131C2AC3141902AA913FD8419412E211F34F6AC314170204171BC841941CF4D6250F7AC3141D0839E4D428419417914AE87BEAC3141700C71AC8A841941BE64AA00AFAC314140840D4F9E841941EE0DBED0A5AC3141308941E0AA8419419CD634AF9CAC3141F0BCE314B88419412F08AC9C93AC3141808CB9EBC5841941B459F5998AAC3141A0F75363D48419410CF9A0A781AC314170B5157BE3841941D78173C678AC314110C58F31F3841941E15817F76FAC314140265385038519415EFE433A67AC3141408FC2751485194178F2B0905EAC3141C0240601268519415FDC466359AC314100B37BF23085194189B0E18947AC3141E043FA6D57851941845149FD2FAC31415006F09698851941A7C64BB708AC314140D8F0F40986194171D712B203AC3141305F984C188619417C04C54F01AC31419075711B1F86194194938560FCAB314130E0CBE42F861941B38AF755F7AB3141E0EE4D2A40861941C405F730F2AB3141D02F31E94F86194168A364F2ECAB31413027C61E5F861941AF5E259BE7AB314180C474C86D8619410568222CE2AB314160D3BCE37B86194100DE02C9DAAB3141C05E29CB8D8619418CDB68E0D4AB3141C05296219B861941F80FE9B7D3AB3141702C439C9D8619415A633E03C9AB3141402B9E69B386194138E7520EBEAB3141C08D741EC786194155E0B5DFB2AB3141100DFAAED8861941A61D197EA7AB314180A6AA10E886194177F64CF09BAB314110E9503AF586194112363C3D90AB314100780B2400871941DC0968C287AB3141F0E00B93068719418F5374845CAB31412020D26F29871941D5D7817375AA31410044FAEDE887194118D9CE77FEAA314120A5BDC1F587194101000000020000000001000000FFFFFFFF0000000003, CAST(1051231 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1051869, N'{91B8D2D4-351B-49AB-9C1E-B73E3ED87DF7}', N'013226274', 246698, N'PRP1076', 35711981, N'13226274', NULL, N'03542.920', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 19', N'Block 34', N'', N'LOT 19 BLOCK 34 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:44.000' AS DateTime), 285, 89, 0xBD0B0000010405000000C59F1A2F182E2C4178BC74B36DA1304130BB274F182E2C41D00E9C5375A13041DF68006F622E2C41DCD781D374A13041FA31E62E622E2C41382AA9136DA13041C59F1A2F182E2C4178BC74B36DA1304101000000020000000001000000FFFFFFFF0000000003, CAST(1051869 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1054191, N'{4BCD9450-637F-40C7-9217-693427D09186}', N'004969847', 3, N'NO_PLAN', NULL, N'4969847', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'7564', N'5', N'', N'DISTRICT LOT 7564 RANGE 5 COAST DISTRICT EXCEPT PLANS 6948 AND PRP13532', N'0163', N'0011', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:13:45.000' AS DateTime), 94459, 2262, 0xBD0B00000104440000004CEC2F7BA7162941B425E4C3A4923041624DF34E9A16294134014D04BB9230412D136183A91829412C014DE4B09230415ABA49CCA7182941FCFFFF5F9A923041DA1DA7E88A182941A401BCA51D913041A6CDAA0FB8172941D4E00BB321913041AB825109A8172941B009680222913041456BDA8D9E1729419400870B3291304130B20A5397172941D86C185F429130412B14D76192172941D8C3E2E852913041C0DD5EC08F172941EC4F699463913041F355E4718F1729412091054D749130413DB4C87691172941BCD100FE8491304152A60AC69A1729410495D449B9913041860775A09A17294100631799C6913041FCFA7C269817294100A1A0D9D3913041AA8C005D93172941C46164F1E09130418064684D8C17294198DAA6C6ED913041004895058317294178F72E40FA913041BED3C4977717294134EE77450692304116A16D1A6A172941806FE1BE11923041C11F13A85A172941F415DE951C9230414B79115F49172941CCBA1FB526923041EFE4616136172941F054C10830923041FBFFFF3F0B17294164787AC540923041B469DEB1F6162941EC907E3B4B923041B447E17AE4162941D0ACFABC569230416C711B0DCB1629415CE5D0C26C923041C5F75323BA1629415CD3BCC3849230414CEC2F7BA7162941B425E4C3A49230419C627FD92817294150F38E732491304118DBF9BEE216294138F163CC259130419028EDCDE01629419C01BC65289130416207CED9E016294114E4837E4091304112143F86E31629419CF4DB7748913041FC550EADF016294198FF903E56913041DE938745F11629411C8A1F435D913041CE7F483FED16294110D7A37074913041A8EFA7C6E7162941008F53947A913041A62C43DCE7162941187D3F957B91304108CCEE89D51629411468220C8F913041D9839E8DBE162941C8C56D949A913041445227A09C162941DC9C1165B2913041DC839ECD7B1629415C9A773CD7913041063D9B157B1629412CA91350E691304162FE437A40162941200DE0CD24923041FE1873172F1629414C158C4A43923041BE0968222A162941C020B0724F923041F87E6A3C18162941647AA5EC67923041C586A757D41529410C5D6DA5AE923041D678E9E6B815294190EB5158BF9230410AF016883A162941289A08DBBC923041119C33625D162941B0E1E915869230417DD93DF97E162941A8D85FB67F9230412CD9621A881629414CAB92D76F923041FE133052941629414028F67F60923041E4A91882A3162941840FE7D551923041FA202384B5162941882C10FE43923041B959482BCA16294198A50E1B37923041AD25E443E116294168711B4D2B923041F151B8DE55172941B0FA5CCD879130411C69BFB6531729410C2697E776913041E9A486AD531729410C6806F965913041744817C355172941F0C4AC1255913041325E59F559172941C800844544913041FED1154060172941A0916CA233913041E2ACFA9C6817294100AC1C3A239130419C627FD92817294150F38E7324913041020000000200000000021E00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1054191 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1054324, N'{A7BB5771-49E9-49A8-B807-7F6771B7AB12}', N'013978039', 295389, N'PRP968', 23696321, N'13978039', NULL, N'01259.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 7', N'Block 112', N'Section 2', N'LOT 7 BLOCK 112 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:37.000' AS DateTime), 233, 66, 0xBD0B0000010405000000BEDCB5C46B792B4130C4B1CE7B643141CF22DBB957792B417CE2C7F87B64314193900F7A58792B41D85F762F93643141CA8173866C792B419CF8310693643141BEDCB5C46B792B4130C4B1CE7B64314101000000020000000001000000FFFFFFFF0000000003, CAST(1054324 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1054746, N'{5B643CAA-14DE-4A5B-989C-19775796AA72}', N'010346139', 3, N'NO_PLAN', 6383860, N'10346139', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'1102', N'', N'', N'DISTRICT LOT 1102 LILLOOET DISTRICT', N'0163', N'0002', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2019-01-11T18:14:22.000' AS DateTime), 2586337, 6422, 0xBD0B00000104100000000FC7BA98BC353341B88AFDA57B7B26417AF2B07001323341202FDDE4157B26411261C353D9313341A022DBB9117B2641CD915CDE4D303341C87AA5ACE87A26411A0DE08D2B303341A8BDC1D7DF7F26415CCC5D6B2B303341B8BDC1D7E47F26418C5AD3FC2A303341D861A1D6F47F2641AAF1D2CD2A30334110F853A3FB7F26411595D4E9F62F33418845B6F37D8726418DCB7F2833363341B0C8767E218826417624977F6B36334138A3923ADE8126418E31778D7B36334108D044D8567E2641D4D5566C8A363341E029A993917B26415DE5D042EB353341001B9E9E807B264158B1BF6CD135334180DCB5C4897B26410FC7BA98BC353341B88AFDA57B7B264101000000020000000001000000FFFFFFFF0000000003, CAST(1054746 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1054919, N'{624034FD-A806-4C20-9002-609C75D156C5}', N'003883795', 334, N'VIP1964', 90056221, N'3883795', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 7', N'', N'', N'LOT 7, DISTRICT LOT 156, NANOOSE DISTRICT, PLAN 1964', N'0163', N'0021', NULL, N'ICIS CADASTRE', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2019-01-05T08:36:39.000' AS DateTime), 35800, 758, 0xBD0B0000010405000000DFB5845C20163141A0081B9E65301D41B54082E21C163141B0A757CA3F331D41385EBA09E6163141904AEA842B331D41770B24C8E916314190CAA1C576301D41DFB5845C20163141A0081B9E65301D4101000000020000000001000000FFFFFFFF0000000003, CAST(1054919 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1055730, N'{29AB1A2C-F0B0-47AF-9ACB-537BB03E82E2}', N'014422026', 1181133, N'NWP20726', NULL, N'14422026', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2005-04-08T00:00:00.000' AS DateTime), N'REM Lot 18', N'', N'', N'LOT 18 EXCEPT: FIRSTLY: PART SRW PLAN 25810, SECONDLY: PART DEDICATED ROAD PLAN BCP16010, SECTION 23 TOWNSHIP 1 NEW WESTMINSTER DISTRICT PLAN 20726', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T09:12:48.000' AS DateTime), 417, 95, 0xBD0B0000010405000000767AA5CCECD63241C019515AC6B21B4126F6975DEED63241D03D79D83AB21B41E9043451DAD63241E0FB3A709EB21B4170787AE5D9D6324120E56121C3B21B41767AA5CCECD63241C019515AC6B21B4101000000020000000001000000FFFFFFFF0000000003, CAST(1055730 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1056138, N'{CB8D1891-E05E-4A78-A47D-C883ADF25156}', N'013820575', 1167008, N'NWP5021', NULL, N'13820575', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', CAST(N'2015-07-13T00:00:00.000' AS DateTime), N'REM Lot A', N'', N'', N'LOT A SECTION 16 BLOCK 5 NORTH RANGE 1 WEST NEW WESTMINSTER DISTRICT PLAN 5021 EXCEPT PLANS 28411, 30489 AND EPP5056', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T09:45:14.000' AS DateTime), 15980, 663, 0xBD0B00000104070000000D71ACEB0FD33241A0A9F152FFB51C41E00209CA17D3324110AAF1D2E4B51C41DBC56D3424D3324180081B9E7DB11C415AC1A8E4F8D23241C079C7297DB21C41C25B2081C1D232413008AC1C62B51C41F2B0500BCED2324190D85F76DDB51C410D71ACEB0FD33241A0A9F152FFB51C4101000000020000000001000000FFFFFFFF0000000003, CAST(1056138 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1057320, N'{44DF2842-99E4-48D4-978F-63005816F0C4}', N'011331925', 1303888, N'VAP4742', NULL, N'11331925', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-15T00:00:00.000' AS DateTime), N'Lot 57', N'Block 25 & 28', N'', N'LOT 57 BLOCKS 25 AND 28 DISTRICT LOT 599 PLAN 4742', N'0092', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T10:50:27.000' AS DateTime), 370, 94, 0xBD0B0000010409000000EC1648703D7A324170CC5D4BC8861D41C2E3143D3D7A32416080B740C8861D41ADE1E995187A3241D095B28CC0861D4183AEB662187A324170240681C0861D4168D5E72A187A324110FDF675E8861D4127ED0D5E187A324140B7D180E8861D41261895143D7A324160B81E05F0861D41614BC8473D7A3241A004C50FF0861D41EC1648703D7A324170CC5D4BC8861D4101000000020000000001000000FFFFFFFF0000000003, CAST(1057320 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1059530, N'{22FF2269-4ECA-42CE-BE7A-3C38015EAB5D}', N'009753087', 3191941, N'KAP8984', NULL, N'9753087', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot A', N'', N'', N'LOT A DISTRICT LOT 216 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 8984', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:24.000' AS DateTime), 51037, 963, 0xBD0B00000104070000007F04C58F08563641C04C150CA06B1C41F7DBD76114563641B04082E28E6B1C41B68D0630A2563641106E3400C16A1C417C0B24A898563641207958A855691C4128287E4C61553641B0BF7D1DA6681C41A489B0C17A55364110FBCBEE6D6C1C417F04C58F08563641C04C150CA06B1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1059530 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1059630, N'{E114D94F-3402-4B39-9F44-184B820587DD}', N'010327185', 849755, N'KAP2362', NULL, N'10327185', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Parcel 4', N'Lot 724', N'', N'PARCEL 4 (PLAN A1273) OF LOT 724 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 2362', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:59.000' AS DateTime), 16056, 611, 0xBD0B000001041600000076029A6823723641D0CCCC4CBA7D1D41110BB5A617723641407D3F358B7D1D41819ECD2A087236415079C7293B7D1D41AFD85F3602723641307C61B21D7D1D41FF2A8776FE71364180C1A8240B7D1D41F40FE997EB713641101158B9D97C1D413A80B7C0DC71364130189554B47C1D4104819563DB71364100B8AF033F7D1D41D85F76AFD671364170469476ED7D1D41B8627FB9CE71364140105839BE7E1D4172B5153BC7713641F0FFFFFF547F1D41C7E53FE4C5713641B0C9C3426A7F1D4176711BEDAE713641006822EC80801D415CEC2FFBB371364150787AA57B801D41AC6054F2C1713641D0EC9E3C4A801D41A30A4665DB713641D058A83529801D41CDCCCC2CF4713641A0D0B35923801D41E0460378FA71364160D191DC21801D419E3C2CF41072364150FDF67527801D4154DA1BBC2A7236415009F920D47D1D413A80B7C02A72364150E7FBA9D27D1D4176029A6823723641D0CCCC4CBA7D1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1059630 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1061449, N'{7E3F7E72-5BBC-4BED-AF5E-A7030A81E046}', N'014567920', 3, N'NO_PLAN', NULL, N'14567920', NULL, N'73011736000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART E2', N'11', N'17,25', N'THAT PART OF THE EAST 1/2 OF SECTION 11 SHOWN ON PLAN B705 TOWNSHIP 17 RANGE 25 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLAN 4919, H671 AND H416', N'0163', N'0028', N'NO', N'ICF', 8, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-01-21T12:14:02.000' AS DateTime), 107773, 1768, 0xBD0B000001042900000023F46C56E34F3441A857CA7281AD2241B7B88D26CA4F344170AC8B9B5CAD2241DDA59B84C54F3441386210D855AD2241D4E76A2BC14F3441C08251894FAD2241A2CDAACFBC4F344108EEEB4049AD224178E09C71B84F3441F0FFFFFF42AD22412797FF10B44F3441B001BCC53CAD22410044FAADAF4F344188855A9336AD224122B07248AB4F3441288B6C6730AD224186DB68E0A64F3441D000DE422AAD2241AEE1E975A24F344128D49A2624AD22416CF90F099E4F344190F2B0101EAD2241F3EBC099994F3441F012F20118AD22413C11365C9B4F3441B8BCE3D412AD224135039D38944F34410842AA1009AD2241BC821F0C8D4F3441C034A466FFAC2241DB99D5D6854F344178F7F1D6F5AC22412670D7987E4F3441E094B361ECAC2241584A3D52774F344180BD0807E3AC2241078A1F03704F344138CB10C7D9AC22410D2DB21D6D4F3441803480373AAD2241585227006C4F344168A1D6B458AD22417A292C3D7F4F34415076648B60AD2241ADCCBE6E924F3441108837CF68AD224187144494A54F344108070D8071AD2241E93A21ADB84F344198B29E9D7AAD22411EE0BBB8CB4F344108DBA22784AD2241920F7AB6DE4F34410064CC1D8EAD224123F46C56E34F3441A857CA7281AD2241AE25E403DE4F344120265305E8AD2241AC2C435CB34F344168C954C1D1AD2241F9285C6F744F34412854E325B5AD224124CB10A76A4F3441201DC925B1AD2241D98AFD85684F344198DFBE0EF1AD22417ED0B379614F344148BA498CC4AE2241AC79C729474F3441A88BDBA8D8B12241529621CE0F50344198FF90FEF3B12241C064AA402B503441004850FCB1AE2241E88C284D30503441784E40D319AE2241F831E66E2650344158D3BC6313AE2241AE25E403DE4F344120265305E8AD2241020000000200000000021D00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1061449 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1061658, N'{200B1046-4A7B-4D3B-BE90-FF91E095F22F}', N'011412313', 3, N'NO_PLAN', NULL, N'11412313', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 10', NULL, NULL, N'THAT PART SECTION 10 TOWNSHIP 52 SIMILKAMEEN DIVISION YALE DISTRICT SHOWN RED ON PLAN ATTACHED TO DD 8285', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 2, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-07-03T13:51:14.000' AS DateTime), 26643, 1805, 0xBD0B000001041D000000A6C64BD7D4333641E0224A7B3D731D41D55F762FC3333641D040826291731D412331080CAA333641B06210D80A741D417E9ECDCA94333641B017B7D16F741D410C61C3D380333641C0C3D3ABCE741D4171A301DC6C3336418026C2862D751D4139F8C2E458333641E064AA608C751D418C3177ED44333641E035CD3BEB751D411CFDF6F530333641F0E1E9154A761D41DE2406011D3336411012A5BDA8761D418095432B18333641F0830D4FC0761D4120DBF93E09333641C07A142E07771D41B39DEFA700333641F024060130771D41DACEF773FD323641505A643B3F771D412897FFF0F8323641F0CBEE4912781D419B9999590B353641B054C1283F6E1D4168AA60D436353641402AA993706D1D412ACB108713353641F0B4A6F9636D1D4126A91350F4343641F0DEE00BEA6D1D416491EDDCE334364150C58F31386E1D41A0F83186C43436415096B20CCD6E1D419C6588C394343641C020B0F2AF6F1D41DF9387E56434364170423EE890701D413455302A3A343641E0B4A6F95B711D41C242ADC924343641D096908FC1711D415A302A690F343641F053E32527721D41421361C3FD333641C06E12037B721D4125F6971DEC33364120F775E0CE721D41A6C64BD7D4333641E0224A7B3D731D4101000000020000000001000000FFFFFFFF0000000003, CAST(1061658 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1062012, N'{4D37B35D-D2E9-4EDF-B7F5-C9EC981533D0}', N'016149785', 495562, N'NEP683', 23311921, N'16149785', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'Block 1', NULL, N'LOT 5 BLOCK 1 DISTRICT LOT 537 KOOTENAY DISTRICT PLAN 683', N'0121', N'0019', N'NO', N'ICF', 0, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-08-12T15:42:10.000' AS DateTime), 282, 79, 0xBD0B00000104050000009A6E12C30662384170575B31DAAD1D41B840824208623841304013E160AD1D414850FCD8FE61384100C05B205FAD1D417C51499DFD61384110BC0512D8AD1D419A6E12C30662384170575B31DAAD1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1062012 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1063837, N'{6F6D97B2-37B4-4F57-9B46-AE96F9F09336}', N'011537779', 853340, N'KAP1005', NULL, N'11537779', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 4', N'Block 2', NULL, N'LOT 4 BLOCK 2 DISTRICT LOT 473 OSOYOOS DIVISION YALE DISTRICT PLAN 1005 EXCEPT PART IN PLAN H577', N'0138', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-02-20T10:00:18.000' AS DateTime), 973, 140, 0xBD0B00000104080000004DEA0414FF393641604DF34EB6302041BECAA1A5F439364180E4F29FD2302041910F7A76FB393641E83C9B55D430204191B96B69183A3641D0CEF793D9302041AEEA73B51C3A3641C04082E281302041D7ACFADC153A364100A5BDC1803020411FB072280A3A3641685BB1FF9A3020414DEA0414FF393641604DF34EB630204101000000020000000001000000FFFFFFFF0000000003, CAST(1063837 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1065114, N'{B4B1933D-1569-469A-BCEB-0FB931688DF6}', N'001641140', 121125, N'VIP76RW', 10962691, N'1641140', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 43', N'', N'', N'THAT PART OF SECTION 43, METCHOSIN DISTRICT SHOWN COLOURED RED ON PLAN 76 RW AND CONTAINING 5.69 ACRES MORE OR LESS', N'0079', N'0005', N'NO', N'MODIFIED-ICF', 4, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-01-06T19:10:46.000' AS DateTime), CAST(N'2021-05-30T19:21:29.000' AS DateTime), 22962, 1597, 0xBD0B00000104690000003008ACBC37FC3141406822ECA0E416418B41606533FC3141109C33A2AFE416413C014D042FFC3141308CB9EBBDE41641D222DB992AFC3141D014AEC7CBE416410D143F2626FC3141A0EA7335D9E41641A579C7A921FC3141D00E9C33E6E41641AA13D0241DFC314130A5BDC1F2E41641BF86A79718FC3141101B9EDEFEE4164195779C0214FC314180B96B890AE51641666FF0650FFC3141603789C115E51641B5490CC20AFC3141506FF08520E5164138AB3E1706FC3141408638D62AE51641D35D4B48FBFB3141A0D0B35942E516413F355E5AF8FB3141002597FF2CE51641A413D0C4EBFB314120F7756048E51641BD30990AE4FB3141C0C4203059E51641E851B83ECAFB31413060764F91E51641E5E236FACAFB3141C053E3A596E516413190A07800FB3141E07D1D384FE7164179A52C43F9FA31413095D4895EE71641449B559FEDFA3141300DE0AD6FE716418DA0F8D1EBFA3141C0779C2273E71641E27A148EF9FA3141D02E6EA3E6E7164139234A5BFBFA314170A22339E3E7164132DD2426FDFA3141E0EEC9C3DFE716410A1B9E9E08FB3141703333B3CEE716414950FCD80FFB314170F2B050BFE71641CA10C75ADAFB314150C876BE06E61641CB54C148DDFB314120992A181CE61641EED24DE201FC3141E0460378CCE516416432555006FC3141F01795D4C2E51641E2E00B3316FC3141105D6D45A0E51641A9E8486E1BFC3141503411B694E5164113A5BDA120FC3141C05374A488E5164105560ECD25FC314170E09C117CE51641673BDFEF2AFC3141D0DA8AFD6EE5164188B0E10930FC3141F01D166A61E51641ECD9AC1A35FC314190F4DB5753E516414B2EFF213AFC3141D03845C744E51641409B551F3FFC314130355EBA35E516418E976E1244FC314130C58F3126E516412263EEFA48FC3141609FAB2D16E516414A5986D84DFC3141307CF2B005E516412C3333D349FC314170AD695EF3E41641399D46DF51FC314170BEF668D6E41641560CD07159FC314170646B78B7E41641002D068360FC3141B00698AC96E41641D2A6A40B67FC314170C3352774E416413D95F3046DFC3141E0C2C30B50E416413870CE6872FC3141C0B6627F2AE41641449FE58677FC31415091045002E416417EB85C297CFC314170A55F33D9E316414138864D80FC314120DE3441AFE316416E94FDF083FC31411084C09184E31641909EA81187FC3141703EAC3D59E31641C6BAB8AD89FC3141C0D1005E2DE31641CC5782BB8AFC3141A02063E219E316417FA1E5B58BFC314150809C5606E31641E820D39C8CFC314130FCE1BBF2E21641C0923C708DFC3141C08E6913DFE2164140E814308EFC3141E00A6A5ECBE21641164850DC8EFC314180081B9EB7E21641F84A5926A2FC3141B09F1A2F50E01641AF9465E8A3FC3141D074931818E0164154863896A4FC3141F0B5847C03E01641E2E99552A5FC3141D01FD2EFEEDF164126F6971DA6FC314140211F74DADF1641733D0AF7A6FC3141704CA60AC6DF164199F606DFA7FC3141F07C3FB5B1DF16415C984CD5A8FC314100B459759DDF1641B459F5D9A9FC314120F1634C89DF164140E8D9ECAAFC3141B0EC2F3B75DF1641150DE00DACFC3141F05CFE4361DF164146C8073DADFC314110F9A0674DDF164106AC1C7AAEFC3141902FBBA739DF1641F95C6D85AFFC3141E0D24D622CDF164196559F2B8FFC3141A09999996EDF1641E0718AEE8EFC314180DFBE0E73DF164106AC1CDA8DFC3141E01F417188DF16415DA1D6D48CFC3141F06722EC9DDF1641D188D2DE8BFC3141E048BF7DB3DF1641C07D1DF88AFC3141B0E53F24C9DF164117B7D1208AFC314160AD69DEDEDF1641D634EF5889FC314120C364AAF4DF1641E32D90A088FC314170012B870AE01641D85F760F75FC314170643BDF7AE2164149D8F09473FC314170BA490CAAE2164168E532F872FC3141100E9E05BCE21641DD169D4972FC31419019A8F4CDE2164188333A8971FC314180774CD8DFE21641961B16B770FC3141F07570AFF1E21641B7C73DD36FFC31418029FA7803E316417E48BFDD6EFC3141607CD03315E31641E14E59AE6CFC3141B064FD563AE31641179DD2146AFC31416083230C5FE3164124AE821267FC314120F1504083E31641AE11F7A863FC31418055D6E0A6E31641CA9EF2D95FFC3141608F50DBC9E31641408B6CA75BFC3141302DB21DECE31641D4B461F356FC3141F0130FF90DE4164124E3ACB351FC3141C04B85852EE41641286F1AEE4BFC3141403E209F4DE416413F920AA945FC3141A0FF84236BE416415A5B6AEB3EFC3141604518F286E416413008ACBC37FC3141406822ECA0E4164101000000020000000001000000FFFFFFFF0000000003, CAST(1065114 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1066052, N'{8F469EEF-AF73-402B-917D-09F3F6FAF58C}', N'008394911', 3, N'NO_PLAN', NULL, N'8394911', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 90', NULL, NULL, N'THAT PART OF LOT 22, DISTRICT LOT 90, ALBERNI DISTRICT, PLAN 1486, AND THE ABANDONED ROAD ADJOINING, BEING THE UNCOLOURED PORTIONS AND PORTIONS SHOWN COLOURED GREEN INCLUDED WITHIN THE AREA SHOWN IN RED ON PLAN 387 RW', N'0163', N'0029', N'NO', N'ICF', 4, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2021-06-22T12:58:44.000' AS DateTime), 2273, 318, 0xBD0B00000104120000006ECE88520683304160946508CEFF1C41F5124F850583304180E6A278D2FF1C41253B33B604833041E03165E3D6FF1C41639E37E503833041C0AE9F48DBFF1C419F995E120383304150A345A8DFFF1C41268FAA3D0283304110674A02E4FF1C4196E61D6701833041D061A156E8FF1C4161DC46C310833041F00FE9B7E7FF1C4156D3BC631A83304190F831E6B1FF1C41E42406E11C833041402497FFB8FF1C4130FF213D53833041A0C6BA3889FE1C417A4F1E36588330414042CF6697FE1C418051497D6483304150EEC9C352FE1C41770B24A84083304120ED0D3E54FE1C41B7FC87544483304150A2B4B75EFE1C41290F0BF50D83304180B5157B8EFF1C416F5F076E108330418027318895FF1C416ECE88520683304160946508CEFF1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1066052 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1067449, N'{86B1DB91-547E-4182-9697-A98E34967E84}', N'010459227', 252487, N'PGP727', 17743281, N'10459227', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', NULL, N'Lot 19', N'Block 29', N'', N'LOT 19 BLOCK 29 DISTRICT LOT 933 CARIBOO DISTRICT PLAN 727', N'0112', N'0008', N'NO', N'MODIFIED-TANTALIS', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-07-26T16:27:00.000' AS DateTime), CAST(N'2021-10-01T14:35:22.000' AS DateTime), 395, 96, 0xBD0B0000010405000000F9285CEFB68232412885EB11694A2E412D90A078AC823241B047E1BA5E4A2E41CC20B0D2AA82324130B4C876AD4A2E41C0F5287CB5823241983F355EAE4A2E41F9285CEFB68232412885EB11694A2E4101000000020000000001000000FFFFFFFF0000000003, CAST(1067449 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1067738, N'{7B98C1DB-2544-4AD4-9DCE-314C20C393C2}', N'010464824', 629420, N'PGP12603', 90054791, N'10464824', NULL, N'333-004286.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Parcel A', N'REM Lot 5', NULL, N'PARCEL A (96436M) OF LOT 5 SECTION 13 TOWNSHIP 81 RANGE 26 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT PLAN 12603, EXCEPT PLAN 22166', N'0052', N'0015', N'NO', N'ICF', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2021-10-22T09:51:54.000' AS DateTime), 893, 144, 0xBD0B0000010406000000DDE99572A2203341B0999979B6CE3241A635CDDB74203341182653C5B3CE32416644690F69203341E4F21F12B3CE32411EC9E5FF8F2033410093A982D4CE3241F41648D0982033415CF90F29C6CE3241DDE99572A2203341B0999979B6CE324101000000020000000001000000FFFFFFFF0000000003, CAST(1067738 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1069533, N'{E09E9F18-70DF-4FA8-A858-A9D20C8624AD}', N'010418512', 252432, N'PGP721', 16707981, N'10418512', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', NULL, N'Lot 9', N'Block 12', N'', N'LOT 9 BLOCK 12 DISTRICT LOT 1426 CARIBOO DISTRICT PLAN 721', N'0112', N'0008', N'NO', N'MODIFIED-TANTALIS', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-07-26T16:27:00.000' AS DateTime), CAST(N'2020-04-23T14:39:50.000' AS DateTime), 580, 106, 0xBD0B0000010405000000250681952B823241182DB29D6A4A2E41B125E4E32A823241D8FBA931894A2E41866CE7BB50823241100EBE708C4A2E41E07A146E51823241F007ACDC6D4A2E41250681952B823241182DB29D6A4A2E4101000000020000000001000000FFFFFFFF0000000003, CAST(1069533 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1070230, N'{C4C70C4A-95F0-49C9-B603-F0D9674BECF8}', N'016006283', 488792, N'NEP934', NULL, N'16006283', NULL, N'7073605005', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 2', N'REM Parcel A', N'REM Lot 4', N'PARCEL 2 (SEE 154409I) OF PARCEL A (SEE 22526I) OF LOT 4 DISTRICT LOT 789 KOOTENAY DISTRICT PLAN 934 EXCEPT PLAN NEP65144', N'0163', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:11.000' AS DateTime), 4858, 280, 0xBD0B00000104050000008C5374C42D0B3941800B24A8DBD02041192653C5EA0A394170EE5AC2B7D020413FE8D9ACE50A3941A8EEC94354D12041B9490CE2250B39410068226C62D120418C5374C42D0B3941800B24A8DBD0204101000000020000000001000000FFFFFFFF0000000003, CAST(1070230 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1070373, N'{FFA195A4-2D63-4BC4-A54F-1731FE75C986}', N'001585452', 126723, N'VIP851', NULL, N'1585452', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 9', N'Block C', N'', N'THAT PART OF LOT 9, BLOCK C, SECTION 16, VICTORIA DISTRICT, PLAN 851 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:18:11.000' AS DateTime), CAST(N'2019-01-05T10:22:41.000' AS DateTime), 766, 132, 0xBD0B00000104170000009C33A2344F2D3241B03CBD52549A1741A881DB70502D3241A0233392559A1741432276AD512D3241E0E893CB569A17413A3670EA522D324150B1DDFE579A1741C2DDC727542D3241C0AB0E2C599A17417D387B65552D3241C01025535A9A17419B6588A3562D324130211F745B9A1741D266D5C74E2D3241C06D3480F199174154528DC44D2D324190D3525AF09917410F748AC14C2D324180F9A630EF991741F7AECDBE4B2D324150E63103EE991741A5E557BC4A2D324190A0F4D1EC991741A0FA29BA492D3241B033F09CEB99174113D044B8482D324110AF2564EA9917411DFDF6554A2D3241002C6599FB9917413C4ED191432D3241607B832FF399174100917EDB3C2D324110E3A51BEA99174148EA0434362D324150ADD85FE0991741CF3B4E912C2D3241505986B8D19917418938D685332D3241904F1E16329A174193CB7FA83C2D32419054C1A83E9A1741214A7BE3452D32416098DD134A9A17419C33A2344F2D3241B03CBD52549A174101000000020000000001000000FFFFFFFF0000000003, CAST(1070373 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1070535, N'{DEC91F76-76D1-445C-8409-71D7C85BC341}', N'002909057', 117903, N'VIP877', NULL, N'2909057', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'Block 8', N'', N'THAT PART OF LOT 1, BLOCK 8, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:42:13.000' AS DateTime), CAST(N'2019-01-05T10:23:32.000' AS DateTime), 314, 80, 0xBD0B0000010407000000168C4A4A22393241E09C11A5258D1741646FF0051D393241405D6D45198D174138CD3BAE253932416038D6C5898D1741BE39234A3439324170A835CD778D17416B4DF30E31393241208716D94D8D1741FA285CCF2C39324100F6285C418D1741168C4A4A22393241E09C11A5258D174101000000020000000001000000FFFFFFFF0000000003, CAST(1070535 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1071665, N'{0EF4C4E7-0643-4713-873F-9AD0085B4347}', N'003892301', 124304, N'VIP18194', NULL, N'3892301', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', N'', N'', N'LOT 1, DISTRICT LOT 66, GALIANO ISLAND, COWICHAN DISTRICT, PLAN 18194', N'0163', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:47:34.000' AS DateTime), CAST(N'2019-01-05T10:53:53.000' AS DateTime), 130025, 1657, 0xBD0B000001040B0000003CAD695EA10E324190469476EDD51A416BB3EA53940E3241C0EC9EBCEBD51A41E1718AAE120E3241A0E09C91DAD51A412FDD2406080E3241F05BB13FC7DA1A416207CE99050E3241D0F753E3E5DB1A41881F638E020E3241509318044EDD1A41540E2D72020E324170287E0C5BDD1A41FF4C84CDFD0D3241C0A6794780DF1A418F3A016DD00E3241D0A7C6CB9CDF1A417B4F1EB6E40E3241C01B7C61F6D51A413CAD695EA10E324190469476EDD51A4101000000020000000001000000FFFFFFFF0000000003, CAST(1071665 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1072140, N'{3F047240-F637-442C-A331-5748E16018D5}', N'005761522', 19300, N'VIP7420', NULL, N'5761522', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1, DISTRICT LOT 101, MALAHAT DISTRICT, PLAN 7420 EXCEPT THAT PART IN PLAN VIP64830', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T15:56:09.000' AS DateTime), CAST(N'2021-02-25T09:38:33.000' AS DateTime), 1703, 241, 0xBD0B0000010406000000D65F76EF050432417047E17A6DC31841BDD32B450C043241A0E68CA82CC31841E751B8DEFF03324160A1D6B42AC3184132992A18A2033241106744E91BC3184140C6DC75A1033241901C5AE45DC31841D65F76EF050432417047E17A6DC3184101000000020000000001000000FFFFFFFF0000000003, CAST(1072140 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1073978, N'{302AFFA6-6D6F-4CBA-8F70-FCD1FC686EAF}', N'004682726', 873401, N'KAP34043', NULL, N'4682726', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'Lot A', N'', N'PARCEL A (PLAN 37033) OF LOT A SECTION 3 TOWNSHIP 20 RANGE 18 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 34043', N'0055', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:29:47.000' AS DateTime), 829, 225, 0xBD0B00000104090000004803782B0643354178E7FB698DA123414E6B9AF71A433541A819511A8AA1234186A757CA2F433541B8CAA18587A12341490C02EB4D433541F8A9F11285A12341F39E3CAC42433541C02E6EA364A12341CCB359151D43354120C9E57F77A123414CE3A57BE3423541801D386794A12341B4A67967F142354130211F7491A123414803782B0643354178E7FB698DA1234101000000020000000001000000FFFFFFFF0000000003, CAST(1073978 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1074699, N'{89751CA8-2EE6-46E4-AEA7-F35CC43C7536}', N'006310583', 865728, N'KAP33083', 90091098, N'6310583', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot B', N'', N'', N'PARCEL B DISTRICT LOT 59 KAMLOOPS DIVISION YALE DISTRICT PLAN 33083', N'0163', N'0028', N'NO', N'ICF', 9, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:17.000' AS DateTime), 417, 87, 0xBD0B00000104050000004C27A0692279354150499D00AA74254148BF7D3D0C793541983A018DB47425417C04C5EF06793541D00E9CB3DC7425414FE3A51B1D793541701D3827D27425414C27A0692279354150499D00AA74254101000000020000000001000000FFFFFFFF0000000003, CAST(1074699 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1075079, N'{54C09CED-2680-4FB5-A92C-81144D5DF610}', N'015424758', 3, N'NO_PLAN', 8860341, N'15424758', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'A', N'4664', N'', N'PARCEL A (REFERENCE PLAN 89972I) DISTRICT LOT 4664 KOOTENAY DISTRICT', N'0163', N'0019', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-01-09T12:13:00.000' AS DateTime), 30898, 717, 0xBD0B00000104070000006319E2D87C5A3841E047E17A53471D41708A8EA48B5A384120211F7432451D41BC15FB6BC359384180711B0DDB441D41CABAB8CD9F593841E033113618471D413E795868EB5938418075719B38471D41823F35DE7B5A3841804F1E9677471D416319E2D87C5A3841E047E17A53471D4101000000020000000001000000FFFFFFFF0000000003, CAST(1075079 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1075283, N'{032AF69A-DEE7-4691-9DA4-B36080CCB3E2}', N'019043431', 4236063, N'KAP53588', NULL, N'19043431', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-14T00:00:00.000' AS DateTime), N'PART 220', N'', N'', N'THAT PART DISTRICT LOT 220 SHOWN ON PLAN B3846 OSOYOOS DIVISION YALE DISTRICT SHOWN AS ROAD ON PLAN KAP53588', N'0098', N'0016', N'NO', N'SRW-COMPILATION', NULL, NULL, N'COGO', N'0', NULL, CAST(N'2018-07-04T13:21:58.000' AS DateTime), CAST(N'2019-01-06T13:41:15.000' AS DateTime), 308, 310, 0xBD0B000001042200000005F01668FA28364120D49A6688C7204191E4F23F4D293641500C02EBD5C6204101717DE74D29364170DAE4A2D4C62041C873549D4E29364148E1CA7AD3C62041AEEDF15F4F29364128302F75D2C620412679B42D50293641C8DA4294D1C62041A1C9E204512936417847E8D9D0C62041F35DAFE351293641A023AF47D0C62041275E3CC852293641380BD1DECFC620414E9C9FB05329364118E82EA0CFC62041F2AFE69A54293641E00E4F8CCFC62041C8221B8555293641901F5CA3CFC6204191A6466D5629364138AA24E5CFC62041444A77515729364140981B51D0C620410FA6C32F58293641C05B59E6D0C620410AF54E065929364168DF9DA3D1C6204192134DD35929364198365387D2C62041715A06955A2936413801918FD3C620417D4DDB495B293641A08520BAD4C62041EE1648F05B293641086F8104D6C6204193E4F21F5829364130FDF6B5CDC62041E1E00B5354293641B035CD7BC5C62041FD907E1BF8283641384547B283C720414EF93226F728364188A3E90986C720411227374EF6283641888F108D88C7204135207695F528364180E005368BC7204117EB93FDF4283641A07ABDFE8DC720418ED3E987F4283641180EE3E090C72041F7598335F4283641D87BE8D593C7204114D31B07F428364160BB14D796C7204127BE1CFDF3283641382493DD99C7204110D59C17F4283641F8F482E29CC72041B2D85F56F428364188F606DF9FC7204105F01668FA28364120D49A6688C7204101000000020000000001000000FFFFFFFF0000000003, CAST(1075283 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1075454, N'{BD6F947B-4AED-4305-BDD7-4917D8A3CC10}', N'009827471', 3, N'NO_PLAN', NULL, N'9827471', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART S2', N'7', N'2', N'THAT PART OF THE SOUTH 1/2 OF SECTION 7, RANGE 2, SAHTLAM DISTRICT, SHOWN COLOURED RED ON PLAN 672 RW AND CONTAINING 6.02 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T20:18:33.000' AS DateTime), CAST(N'2018-01-09T12:29:36.000' AS DateTime), 25131, 1656, 0xBD0B000001040800000028E4831E7AA33141D0E8B72FC68F1941CFB359F579A33141B0D85FF63C901941A35E290B7AA33141702041F13C9019411404560E69A43141E0065F9804901941D23B4EF195A6314170C05B20868F1941D79AE61D96A63141A08C28ED068F19419965880361A43141F0974C95868F194128E4831E7AA33141D0E8B72FC68F194101000000020000000001000000FFFFFFFF0000000003, CAST(1075454 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1075544, N'{D6A38728-400C-4541-947B-5EB1E1DCFB8E}', N'009838112', 3, N'NO_PLAN', NULL, N'9838112', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART N2', N'6', N'4', N'PART OF THE NORTH 1/2 OF SECTION 6, RANGE 4, SAHTLAM DISTRICT, CONTAINING 1.77 ACRES MORE OR LESS AS SHOWN COLOURED PINK ON PLAN 160 RW', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T17:54:21.000' AS DateTime), CAST(N'2018-01-09T12:26:46.000' AS DateTime), 7698, 662, 0xBD0B000001040800000022FDF6F5C9A931418038D64577881941AF9465E8C7A93141E0FC8774F98819411951DADBCEA93141600AD7A3F3881941F531E64E74AA3141B0EB51386988194118D9CE77FEAA314120A5BDC1F5871941D5D7817375AA31410044FAEDE8871941FC5C6D254AAA3141D0F528DC0C88194122FDF6F5C9A931418038D6457788194101000000020000000001000000FFFFFFFF0000000003, CAST(1075544 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1076117, N'{BCC6E596-B04A-4D7A-A2C3-EC8F9A5CEF5D}', N'009385126', 3, N'NO_PLAN', NULL, N'9385126', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 32', N'22,6', N'', N'THAT PART OF THE NORTH HALF OF LEGAL SUBDIVISION 15 SECTION 32 TOWNSHIP 22 RANGE 6 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT, AS SHOWN ON PLAN B4205 FORMERLY PART OF IMBEAU ROAD EXCEPT PLAN 18287', N'0163', N'0006', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:23:27.000' AS DateTime), 3660, 623, 0xBD0B000001042000000040BD52164FF6364178E2C758E7D12441E0C7985B69F63641B80E9CF335D224412DD49A8668F63641B0B6623FBBD22441B2270FCB73F63641E0BDC1D7B0D224416744698F77F63641C83D7958AED22441E66A2B9677F63641904E409389D2244172B5151B77F636419878E9662FD224416519E21864F63641B013D084F8D124417C2F4C2668F63641E83D7998F0D1244140BD52164FF6364178E2C758E7D1244172F085095FF73641300AD72387D3244135AB3EF76DF73641D0EC9EBC9AD32441107A364B73F7364150FAED2B9ED32441AED85F5678F73641707AA52C9FD32441E6D9AC7A7BF73641E01648109FD324411E6C781A80F7364148A1D6349ED32441B7627F1985F73641680E2DB29DD324415B984CB588F73641A006F0569ED324417D2D21DF3EF73641284772393DD324415C8FC2B513F7364180226CF802D324415E54528700F736418051499DF9D22441BD9F1A2FECF63641782D21DFEFD22441A6C64B77EEF63641B8F1D28DF3D224412FC4B14EF9F636411057ECEF06D32441A735CD1BFCF63641986D34C00CD324410268228C00F73641E813D00418D32441C2E314FD0CF73641F0FDD4B81ED3244118E258F73CF73641406519225AD32441794F1EB653F73641E04A594678D3244196779C2258F73641B8EA73357ED324419F081BDE59F736414087855A80D3244172F085095FF73641300AD72387D32441020000000200000000020A00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1076117 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1076525, N'{77471295-B2DD-46BA-9B97-239777E40AA6}', N'010307109', 3, N'NO_PLAN', NULL, N'10307109', NULL, N'759-001631.030', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART 18', N'79,13', N'', N'THAT PART OF LEGAL SUBDIVISION 9 OF SECTION 18 TOWNSHIP 79 RANGE 13 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT LYING SOUTH AND WEST OF THE POUCE COUPE RIVER', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:20:45.000' AS DateTime), 46474, 839, 0xBD0B00000104370000003ACD3BEE55F534414CE3A5DBB8A43241CCB12ECE5DF5344110EBE296B7A4324142BD529665F53441F43A70CEB5A43241AE59F5596DF53441D47A14EEB3A43241F997DD3375F53441FCAB1C7AB2A43241D9E76A0B7DF534418C779C02B1A43241682BF6B784F53441B00C71CCAEA43241A201BC458CF53441E8043431ACA43241CA76BEBF93F53441DC718A4EA9A4324173C5FED29AF53441283A92ABA5A43241AEEA73F5A0F53441BCBFEC7EA0A43241E4D022DBA6F53441F444D8109BA4324177711B8DACF53441F0F1416F95A4324158CA32E4B1F534414060E5708FA432415617B771B6F53441A067B3CA88A43241624BC847B9F53441CC915C5E81A43241C598BB96BBF53441A4C2F5A879A4324160105879BDF53441F4718ACE71A432415C984CF5BEF53441EC95B2EC69A43241364ED1B1BFF53441200F0BF561A4324147EA04B4BFF5344170787AE559A4324120C9E55FBFF53441E0DBD7E151A43241420AD783BEF5344104F9A0E749A432410E022B67BDF53441D0BCE3F441A4324153F38E53BCF53441E4353CFD39A43241EA61A1F6BAF53441784F1E1632A432413EE8D9CCB8F53441F8F8A0672AA43241F02FBBC7B5F534415C8FC2F522A43241D934EF18B3F534412895D4691BA43241C0A8A46EB1F53441B84E409313A4324184DB68E0AFF5344170BC74B30BA43241E0C7989BADF53441282FDD0404A43241E651B8FEAAF53441ACBB9670FCA332410AB5A659A8F5344194ED7CDFF4A33241D0915C9EA5F5344140B4C856EDA33241526210B8A2F534414C92CBDFE5A33241604BC8879FF534414C9D8086DEA332418AD2DE609CF53441EC97DD93D7A33241160DE06DF4F434411461C373C9A332418C8EE4F2DEF4344104D7A3F0C6A432419CC420F0E6F434417875717BC5A43241EAD022DBEEF43441D8A3709DC4A43241485986D8F6F4344128265365C4A4324121A7E8C8FEF43441D82406A1C3A43241DD4F8DB706F53441C410C7BAC2A43241AD13D0A40EF53441EC0AB5C6C1A432415A17B79116F5344128A089D0C0A432413F9B557F1EF53441C44082E2BFA4324120166A6D26F534412C63EEFABEA4324171B5155B2EF53441DC5F760FBEA432417F1D384736F5344170348017BDA4324176E926313EF53441904C150CBCA432412B7E8C1946F53441182AA9F3BAA43241A689B0014EF53441A0FEB2DBB9A432413ACD3BEE55F534414CE3A5DBB8A4324101000000020000000001000000FFFFFFFF0000000003, CAST(1076525 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1076826, N'{53E8517D-8997-472B-9CA8-712BA6318BC5}', N'012429601', 629004, N'PGP12116', NULL, N'12429601', NULL, N'005485.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 21', N'Block 22', N'', N'LOT 21 BLOCK 22 SECTION 32 TOWNSHIP 83 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT PLAN 12116', N'0038', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:29:41.000' AS DateTime), 684, 121, 0xBD0B00000104050000005027A0A9EC2A3441540C020B983C334192ED7CBFED2A3441C0C56D14893C33410FA5BD41C02A3441245305C3853C3341CEDEE02BBF2A3441889999B9943C33415027A0A9EC2A3441540C020B983C334101000000020000000001000000FFFFFFFF0000000003, CAST(1076826 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1079282, N'{66D771B5-9716-4868-BBE5-A5D5479D9310}', N'014865254', 3, N'NO_PLAN', 4488200, N'14865254', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'797', N'', N'', N'DISTRICT LOT 797 SIMILKAMEEN DIVISION YALE DISTRICT', N'0163', N'0019', N'NO', N'ICF', 13, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:35:53.000' AS DateTime), 1258269, 5309, 0xBD0B0000010427000000C45B2061D861374140643B5FBFFD1C4124B072E8CB61374130EBE236B9FD1C4165DC46A3035F3741004772F989FC1C41EFF44AF9565D3741808CB9EBC5FB1C410022FDB6395D374140136143FC001D41053D9BD5375D3741B047E1FA51011D41AE47E19A205D37417039B44875051D41E44F8DD70E5D3741B0FEB27B66081D412C2AA9530D5D3741E0C64BB7A6081D41EA73B5350C5D3741902AA913D6081D41643BDF2F185D374100E9482EDB081D4168D5E74A265D374140C58F31E1081D41A8F1D26D0461374160ECC039870A1D41D8F0F44A1161374150C66DB48C0A1D41B89690EF20633741900B24286E0B1D41842F4CE63463374180D712F27F081D417736AB7E38633741D0770BA4F6071D41DFC7987B4C633741A0A14536A6041D41769CA2635163374150FAEDEBD5031D41024D844D6663374150A1D6345E001D41F063CC7D6963374110AD69DED6FF1C41FCCBEEA96963374110287E8CCFFF1C418AF4DBB76C633741B065F7E44DFF1C41CEF753E3716337414007CE1973FE1C41F431E6AE05633741D048BFFD42FE1C4151FC18B3CC623741A0F753E329FE1C41DC0968A2AC62374160E53FA41CFE1C41D3D5562CAD623741405E29CB21FE1C4116143F46D76237410068916DDFFF1C41A189B0218062374150BD52968A001D414E4013616E62374170DA1B7CAD001D416E128360D0613741801AC05BE3011D41C47D1DD8CF6137414007CE99DC011D413A3EE859CE6137410097908FCC011D41E68C28CDCD613741A03C2CD4C5011D417E26C22696613741D0E9953257FF1C411B48503CD9613741D0270F0BC5FD1C4142AD69FED961374180D0B359C0FD1C41C45B2061D861374140643B5FBFFD1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1079282 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1079366, N'{834C5D16-1F67-46A6-B5E8-37F1FC4D4E99}', N'009812504', 3191502, N'KAP8543', NULL, N'9812504', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 2', N'', N'', N'LOT 2 DISTRICT LOT 331 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 8543', N'0163', N'0019', N'NO', N'PMBC-COMPILATION', 3, N'DATACOMPILATION', N'COGO', N'0', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:36:47.000' AS DateTime), 46, 52, 0xBD0B000001040A000000355EBAC928CC374180F90F697AF71C41BEF5285C2ECC3741E0FBA97174F71C417281044538CC3741605227202BF71C4140453EF436CC37413061856A31F71C41D7D8D2A635CC374140EA04C037F71C41151FC85C34CC3741504D89203EF71C4173EB231633CC374160B9F58B44F71C411C02ECD231CC3741002B2D024BF71C41C217269330CC3741E06E128351F71C41355EBAC928CC374180F90F697AF71C4101000000020000000001000000FFFFFFFF0000000003, CAST(1079366 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1080106, N'{222D2B1C-B82C-46CB-86D3-25BC191E6F6B}', N'013843117', 295346, N'PRP974B', 29721351, N'13843117', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 17', N'Block 42', N'', N'LOT 17 BLOCK 42 DISTRICT LOT 851 CASSIAR DISTRICT PLAN 974B', N'0163', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:19:41.000' AS DateTime), 368, 93, 0xBD0B0000010405000000B0ADD85FB2502B41047C61D2BE603141BC96904F9E502B41243A92EBBE6031415196210E9F502B41FC8C288DE36031410E1B9E1EB3502B41D8C56D74E3603141B0ADD85FB2502B41047C61D2BE60314101000000020000000001000000FFFFFFFF0000000003, CAST(1080106 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1080146, N'{E7033CAF-94AF-463E-9C8E-72E1F6C9BDE1}', N'012917354', 296598, N'PRP1251', 30292971, N'12917354', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 45', N'Block 6', N'', N'LOT 45 BLOCK 6 DISTRICT LOT 4044 CASSIAR DISTRICT PLAN 1251', N'0137', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', N'285.7', CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:19:14.000' AS DateTime), 287, 77, 0xBD0B000001040A000000CAB3597586E0264158DC46A3459E3241DFD24DA2A2E026416C07CEF93B9E3241E0BE0E9CA9E0264138CF6695399E324143014D04B7E0264190635DFC349E3241CD00DEC2ACE0264150F2B0702D9E3241CCCCCC0CA9E026418C8CB98B2D9E3241A45E298BA3E02641E07A146E2F9E3241EA75E01C7EE02641D0ACFA3C3C9E3241DAD781F382E026413072F9AF419E3241CAB3597586E0264158DC46A3459E324101000000020000000001000000FFFFFFFF0000000003, CAST(1080146 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1080202, N'{87130620-F41A-423E-B649-C701A10EA462}', N'013978004', 295389, N'PRP968', 23696031, N'13978004', NULL, N'01259.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 4', N'Block 112', N'Section 2', N'LOT 4 BLOCK 112 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:28.000' AS DateTime), 233, 66, 0xBD0B00000104050000008F6588A32F792B418895434B7C643141B97493981B792B41BCB359757C643141DD61A1561C792B4140E8D9AC93643141CA09686230792B41E4C03983936431418F6588A32F792B418895434B7C64314101000000020000000001000000FFFFFFFF0000000003, CAST(1080202 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1083326, N'{EDF1A393-79EE-4536-99B9-B3DA0B73A881}', N'011322403', 1303888, N'VAP4742', NULL, N'11322403', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-10T00:00:00.000' AS DateTime), N'Lot 9', N'Block 27', N'', N'LOT 9 BLOCK 27 DISTRICT LOT 599 PLAN 4742', N'0092', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T10:50:27.000' AS DateTime), 506, 95, 0xBD0B00000104070000008248BF3DDE7A324190C4B12EB5871D41B5FA5C8DDF7A32416020B07239871D41497B838FDF7A3241B02F4CA638871D41F0F44A79CF7A32415090A07835871D41E9FBA911CE7A3241503945C7B2871D41DFC7983BDE7A324110234AFBB5871D418248BF3DDE7A324190C4B12EB5871D4101000000020000000001000000FFFFFFFF0000000003, CAST(1083326 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1085684, N'{5001DB37-157F-4D16-832C-BEE2A64EF8F0}', N'016294564', 5937631, N'NEP465A', 90092471, N'16294564', NULL, N'000426.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 7', N'Block 31', N'', N'LOT 7 BLOCK 31 DISTRICT LOT 230 KOOTENAY DISTRICT PLAN 465A', N'0146', N'0019', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-07-22T11:39:32.000' AS DateTime), 185, 67, 0xBD0B00000104060000001EEBE2363B7B384130D26FDFCED31D41A6ADD81F367B3841204ED191E5D31D416C19E2D8447B3841309B551F1ED41D41CA20B0724F7B3841702B65991CD41D41C6FEB2BB3E7B38412041F163DCD31D411EEBE2363B7B384130D26FDFCED31D4101000000020000000001000000FFFFFFFF0000000003, CAST(1085684 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1087588, N'{E19F9DC9-8478-415B-BE42-62C53F4E9144}', N'000367346', 123905, N'VIP35944', 90075550, N'367346', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot A', NULL, NULL, N'LOT A, SECTION 12, RANGE 4 EAST, SOUTH SAANICH DISTRICT, PLAN 35944', N'0016', N'0005', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:51:43.000' AS DateTime), CAST(N'2019-07-05T09:55:15.000' AS DateTime), 836, 130, 0xBD0B0000010425000000E09C11E588303241A0C05B20C05118416F5FA8FD8A303241F09B1BD3A651184105D30A018D303241B07D5D6A8D511841C67022EF8E303241F0B43DE77351184120A0D9C79030324100BAD94A5A5118419FB71B8B92303241801E509640511841F1FDD438943032415083C0CA2651184122166A6D72303241C0847CD00B511841A7BDC1178330324120D6C56DC0511841EC0E343483303241C0A38B65C1511841E2E2D455833032415099B452C2511841986E657C8330324120E08533C351184161AF9DA78330324110AD5B06C451184162F12CD783303241A04FACC9C45118412866BA0A84303241B0150B7CC55118418ACAE5418430324170EC2A1CC6511841711A487C8430324130D6E0A8C6511841245174B98430324160142621C7511841DB34F8F88430324120141A84C7511841102C5D3A85303241B00E04D1C7511841F61A297D8530324120665407C85118417847DFC08530324190AFA526C85118410D420105863032415070BD2EC8511841F4D10F4986303241208C8C1FC85118419CE28B8C8630324110602FF9C75118410F71F7CE863032416090EDBBC75118412477D60F87303241D07C3968C751184124D3AF4E87303241D072AFFEC6511841FA290E8B87303241C0831480C651184153C280C487303241D01755EDC55118410B579CFA8730324120338347C55118418BDFFB2C88303241C076D48FC45118418A4C415B8830324160DE9FC7C35118416237168588303241B0405BF0C2511841BF832CAA883032414093980BC251184144F13ECA8830324140FF021BC1511841E09C11E588303241A0C05B20C051184101000000020000000001000000FFFFFFFF0000000003, CAST(1087588 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1087853, N'{43611BDF-FB03-49FF-917B-DAAE91D73C20}', N'011301929', 850629, N'KAP1818', NULL, N'11301929', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot K', NULL, NULL, N'THAT PART LOT K SHOWN ON PLAN B4158 SECTION 11 TOWNSHIP 14 OSOYOOS DIVISION YALE DISTRICT PLAN 1818 EXCEPT PLAN 39746', N'0063', N'0016', N'NO', N'ICIS CADASTRE', 5, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-08-01T14:47:56.000' AS DateTime), 171, 54, 0xBD0B0000010405000000142653E5DE7636415092CB7F44F321412EED0D1ED5763641907D1DF841F3214157D3BC83D376364188900F7A64F321419C6E1243DD763641F86E810467F32141142653E5DE7636415092CB7F44F3214101000000020000000001000000FFFFFFFF0000000003, CAST(1087853 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1089378, N'{DD7BE401-0793-477A-A20C-68FFCDB6060F}', N'001620827', 3186742, N'VIP1139', NULL, N'1620827', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2019-12-19T00:00:00.000' AS DateTime), N'REM Lot 25', N'Block G', NULL, N'THAT PART OF LOT 25, BLOCK G, SECTION 83, ESQUIMALT DISTRICT, PLAN 1139 SHOWN OUTLINED IN BLUE ON PLAN 82 RW AND CONTAINING 0.21 OF AN ACRE MORE OR LESS, EXCEPT PLAN EPP91789', N'0065', N'0005', N'YES', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'0', NULL, CAST(N'2020-01-20T10:01:02.000' AS DateTime), CAST(N'2020-01-20T10:04:40.000' AS DateTime), 472, 158, 0xBD0B000001041C000000FED47869DA0E3241B004C50FBC5F1741C1C11786D70E32410097FF90C35F17416B006F41000F324150C3D32B26601741A15E290B120F324100CAC3C219601741FF003EA3120F3241C0831B40196017414A3C2D38130F32413008998C18601741DB6BFCC8130F324140706AA91760174156DCB754140F3241D00F0E9816601741A16574DA140F3241D0F04F5A15601741CAF65059150F324160CF46F213601741B21078D0150F32415093506212601741782D213F160F324140560EAD1060174147EA0494020F32413095430BF75F17410F3EF1CEFB0E324170B1C10EEE5F17412D183B11F50E3241E07D4DBBE45F17419C42285BEE0E324110884711DB5F17415238FEACE70E324130DD1311D15F174155220207E10E324100061ABBC65F1741FED47869DA0E3241B004C50FBC5F17413A6744C9190F3241D022DBF9636017410D022BE7200F324150C66D347560174137EF38A51E0F3241204ED1115B60174132F2FADD1D0F324150EA88D05C601741C44837131D0F3241209A21755E601741A3B824451C0F3241A0C029FF5F6017415FECFA731B0F324160ED366E616017415764F29F1A0F324170F9E5C1626017413A6744C9190F3241D022DBF963601741020000000200000000021300000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1089378 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1090209, N'{7CD4C8BB-9128-474E-BC6A-1294339D1713}', N'009958452', 3, N'NO_PLAN', 24141631, N'9958452', NULL, N'0', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot B', N'', N'', N'LOT B SECTION 20 TOWNSHIP 26 OSOYOOS DIVISION YALE DISTRICT PLAN 7655 EXCEPT PLAN H8121', N'0057', N'0016', N'NO', N'TANTALIS', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-04-15T15:50:37.000' AS DateTime), 3661, 266, 0xBD0B00000104080000008C4160C5176D3641B87493D8132F2141608FC2B5056D364130C4B1AE482F2141355EBAA9F56C3641B820B0B25E2F21418416D9CE3A6D36417895438BE02F2141BAC8767E406D3641F8285C0F652F21414BE3A5BB236D3641D845B6B32B2F2141520E2DF2206D3641582FDD24262F21418C4160C5176D3641B87493D8132F214101000000020000000001000000FFFFFFFF0000000003, CAST(1090209 AS Numeric(38, 0)), NULL) +GO +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1090296, N'{88962504-357F-4490-B1B5-7AB035C5245C}', N'001675231', 12592, N'VIP218B', NULL, N'1675231', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'Block 47', NULL, N'THAT PART OF LOT 4, BLOCK 47, SHAWNIGAN LAKE SUBURBAN LOTS, MALAHAT DISTRICT, PLAN 218B SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 30792I AND CONTAINING 1.10 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T19:02:59.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 4190, 285, 0xBD0B00000104070000003008AC7CC5E931419010C7BA268E18418E3A012DA4E9314150423E68218E1841F631E60EA3E9314130E56121AF8F184111E02D50D6E9314150764F9EB38F1841F0FDD4B8CDE9314160D191DCE88E184146D8F0F4C8E93141E0B7AF83788E18413008AC7CC5E931419010C7BA268E184101000000020000000001000000FFFFFFFF0000000003, CAST(1090296 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1090962, N'{DC7B10FD-4301-4EA9-8F25-C5FF2C525BE9}', N'016105451', 495463, N'NEP748', NULL, N'16105451', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Parcel 1', N'Lot 34', NULL, N'PARCEL 1 (SEE 162877I) OF LOT 34 DISTRICT LOT 1073 KOOTENAY DISTRICT PLAN 748', N'0146', N'0019', N'NO', N'ICF', 3, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-05-25T14:37:06.000' AS DateTime), 220, 65, 0xBD0B000001040500000036AB3E175777384130B3EAF315D91D41F2FDD45851773841C0CFD5D6BFD81D41C2D32B054C77384110470378C6D81D4123B072684877384130F241CF1ED91D4136AB3E175777384130B3EAF315D91D4101000000020000000001000000FFFFFFFF0000000003, CAST(1090962 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1091068, N'{D32C40E8-BFCB-41E6-9990-052237607683}', N'009140212', 126923, N'VIP370', NULL, N'9140212', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 11', N'', N'', N'LOT 11, SECTION 7, VICTORIA DISTRICT, PLAN 370, EXCEPT PART LYING WEST OF PLAN 7 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', N'331.5', CAST(N'2016-01-06T20:19:12.000' AS DateTime), CAST(N'2021-05-30T19:41:40.000' AS DateTime), 332, 74, 0xBD0B000001040700000058C1A8040F3A3241D00A46254A8317416B4DF3CE0D3A3241A0C1172649831741849ECDAAF9393241509A779C38831741CD915CFEF3393241804625F5728317418004C52F083A3241D003568E8383174171A301BC083A3241D0FEB2FB8383174158C1A8040F3A3241D00A46254A83174101000000020000000001000000FFFFFFFF0000000003, CAST(1091068 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1091921, N'{2B3061F0-4207-4841-B306-575138F39F07}', N'006813704', 647048, N'VIP1877', NULL, N'6813704', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 15', NULL, NULL, N'PART OF LOT 15, DISTRICT LOT 39, ALBERNI DISTRICT, PLAN 1877 INCLUDED IN PLAN 515-R', N'0163', N'0029', N'NO', N'ICF', 4, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2021-06-22T12:58:44.000' AS DateTime), 1671, 349, 0xBD0B00000104170000005E29CB90C8813041E0331136EF021D4117B7D180CB8130419086A757E6021D4170F90FA9C9813041109BE69DDC021D41ED0DBED01A823041E0938785E7011D41CE3B9FEA1D823041D00FFC62DE011D418B46891121823041B09FF188D5011D41CC40124524823041D0BB91F8CC011D411995CE84278230417032FCB2C4011D41E71351D02A82304110FF46B9BC011D410C022B272E82304120287E0CB5011D41B3FA5C8D2E82304180EB51387D011D417A05E7D62982304130DD952687011D412177983325823041A02841A191011D4158AC76A420823041E04505A69C011D41EB90822A1C82304170447532A8011D413B67B8C61782304100570644B4011D419C900F7A13823041706210D8C0011D419A6E1223CA813041C09DEF279E021D415E29CB90C8813041E0331136EF021D41540E2DF2B4813041903CBD52CE021D41C7A14556A1813041B0ABAD5809031D41867CD0B3B3813041A09CA2230E031D41540E2DF2B4813041903CBD52CE021D41020000000200000000021300000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1091921 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1092098, N'{EB31CA5E-6B00-4207-8B9E-47D54650FC3D}', N'007727488', 3, N'NO_PLAN', NULL, N'7727488', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART NW4', N'9', N'', N'THE NORTH WEST 1/4 OF SECTION 9, TOWNSHIP 1, BARCLAY DISTRICT EXCEPT PART IN PLAN VIP65991 AND VIP81007', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2021-07-06T14:23:58.000' AS DateTime), 624956, 5133, 0xBD0B0000010491000000D578E9C6134330411086C9D459AF1941EDEBC0D91B43304130A4DF3EB7AF194165B6CF7E1C43304190645C8ABEAF194146D5DA291D433041F0C635CDC5AF1941920DDBDA1D433041E0381D07CDAF1941D8E3C8911E4330418085C437D4AF1941669C9C4E1F43304100DEDD5EDBAF1941D23B4E112043304180DA1B7CE2AF194161BA49EC1F433041802BF697F3AE1941485986180443304140401361F0AE194173E3016F074330412091960C00AF1941EDF3C37F0A4330410057E79510AF1941691136470D433041A0EEAAE921AF19416A9017C20F43304160C599F333AF1941E96181ED114330411010979E46AF1941D578E9C6134330411086C9D459AF1941910F7A76E1413041F0345E3A50BB1941160DE06DE741304180B3EAF333BB1941504013C1FE413041401E166AC5BA19413216D60B01423041F0627BCEBABA194130465A1903423041F0281C71AFBA19415609A5E504423041409C0068A3BA1941C60A3A6D06423041B0D57DCA96BA1941702922AD0742304130A108B189BA1941DD37F1A208423041801406357CBA194142AECA4C0942304150529A706EBA1941A64665A90942304170DE757E60BA1941E97A0DB809423041A0E0A17952BA1941EEE0A67809423041D0B84B7D44BA1941B961ACEB08423041C05090A436BA1941034B2F1208423041308D470A29BA1941963DD5ED06423041A041D0C81BBA1941D3FBD480054230410013DDF90EBA1941E81EF2CD03423041C0A542B602BA19412EBB77D8014230417078C715F7B9194199FD31A4FF41304160D1F52EECB9194140CF6635FD4130414006F016E2B91941D2D5562CE9413041C0BCE31497B919412F431C2BEB41304170BF7D9D8EB919415E1D47EADF413041D09CAE5363B9194186DD7B38D5413041302F22D435B9194130D7A91CCB413041E055593C06B91941B01D5F9DC141304180A830ABD4B819412844C4C0B8413041E073CC40A1B819410A5F988CB041304130E4831E6CB81941CCE53FE43D41304120AE476159B5194116E0855C39413041E046D9D43AB51941883913B834413041302AB78D1CB51941652F2AF72F413041305C918DFEB4194128950E1A2B413041F0EC13D6E0B419418DD005212641304180E0E668C3B41941CED5560C214130415014AE47A6B419410AAFC73D18413041B0D4D04672B4194146BF57FC0F41304160A78BD83CB419415E30B94B08413041B029CA1406B41941CD565D2F0141304150DB1014CEB31941242773AAFA403041802272EF94B319411DC9E5BFF4403041401283C05AB319416AF7E401BD403041E0DBD70113B119412BCB100794403041D0081B1EADAF1941B2EF5DE48F40304110D4B09F83AF19414ECAD5C78C403041300B14B958AF19411277F5B88A403041F0DC85D12CAF1941DC0EB1BC8940304140E3B15200AF19412BBB67D58940304120CEAFA7D3AE1941D200DE028B40304160A3013CA7AE194129CB1067F93F3041701E166A96AE19417EFB3AF0F43F3041907FD93D8AB5194101D578C9F43F3041B0DFBE8EC6B519415A39B468F43F304160F085495DB61941EEFDD4D8F33F3041A0832F4C3DB719416DB515BBF33F3041C0E53FA46BB71941B4847C30F33F3041701B0D6068B819414BB6F35DF13F3041F000DE024BBB1941910F7A76E1413041F0345E3A50BB19417736AB1ED440304150FD6577ECB0194110143F260C4130417010583937B31941EAE3D5AB11413041B0683B876DB3194128927DC11741304180B191DCA2B319419DD37C641E41304110EC7A21D7B319415317DB9125413041000C913E0AB41941EFDA61462D4130418073F21C3CB41941081B9E7E35413041902F4CA66CB419413E8380C93A413041106D2EFE8AB41941FD2C95F73F41304100F830A5A9B41941CB2B920845413041B05F9E99C8B4194151322FFC4941304130E2BCD9E7B419416C9625D24E413041F086CE6307B519413155308A534130411034113627B519416DCE8832C6413041006A4DF339B819413D9F8DC4CD413041504BABF86AB81941CE7B82F2D541304110139D669AB8194182E60FB7DE4130414045291EC8B819416E087C0CE841304100B37401F4B81941896EAEECF141304190FAD5F31DB91941EB043451FC413041803EE8D945B91941C1E314BDFD41304180A301BC3FB919412CDD24C611423041C0C876BE8AB91941157E4FDE15423041C0F96D9E9BB91941C248829819423041B051D1CDADB91941879C0EEE1C42304160EC062CC1B919414449FAD81F42304120045696D5B919417B460A5422423041703225E8EAB919411C14CC5A24423041900B3CFB00BA194143B39DE92542304100A207A817BA1941A929B4FD26423041007DE1C52EBA19415B832095274230417074582B46BA19410E4AD3AE27423041B0FD7AAE5DBA1941B16B9E4A27423041005E222575BA19412A8D35692642304180393E658CBA19412EC82C0C2542304130FE1F45A3BA1941CDD6F53523423041609CC59BB9BA1941D2B1DBE920423041600B2341CFBA19414CA9FC2B1E42304160136A0EE4BA1941B00243011B42304130E14FDEF7BA1941F5285C6F1742304110DF4F8D0ABB19417C36AB1E0D42304100B29D6F3BBB1941D778E9A608423041F050DA9B50BB194122F46CD621433041803A014D53BB1941A89BC4E02043304160855AD31EB5194111F2412F20433041602BF617A4B019417DBD17591A4330413038C2D584B019413AEC37F514433041003BA55164B019419D88F507104330410071B5A542B01941937344950B433041506CF6EC1FB01941BE38B6A00743304120684343FCAF19419231772D0443304140EF38C5D7AF1941226C781AFC42304150F5B95A7AAF1941B8EDE1C2FA4230415085E6846CAF19410F62F32BF942304110A2221C5FAF1941F5FFD157F74230416051873252AF1941E396F548F5423041C0F881D945AF1941443A2502F3423041C0DBBC213AAF1941DA817386F0423041709A081B2FAF19418A1F634EE0423041005B423EECAE1941797AA54CA4403041C02FBB27AAAE19416EA2E940A3403041604511A7C5AE19419832A1BDA240304110B70264E1AE1941942994C3A2403041300D4E34FDAE19414A77B952A3403041305594ED18AF1941D80A376AA4403041F0AC996534AF1941B91E6308A6403041A09C85724FAF194158C1C62AA840304130D122EB69AF1941539621CEAA403041E0E61DA783AF19417736AB1ED440304150FD6577ECB019410300000002000000000210000000024B00000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(1092098 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1092241, N'{E7E0A096-6121-482A-B32D-F45B540CEF52}', N'010010726', 7807237, N'KAP11H', NULL, N'10010726', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1988-02-23T00:00:00.000' AS DateTime), NULL, NULL, NULL, N'THAT PART OF LOT 67 SHOWN ON PLAN H11; DISTRICT LOT 110 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 301', N'0163', N'0022', NULL, N'PMBC-OPERATIONS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'0', N'1355', CAST(N'2020-10-28T16:34:55.000' AS DateTime), CAST(N'2021-07-21T09:00:05.000' AS DateTime), 1332, 455, 0xBD0B00000104060000009E11A51DC8263641507E8CB9A09D1D415939B4C8C8263641B07B61B2889D1D41F28E53F422263641A0FA5CED4E9D1D4181D93D39EC253641A086A7D73B9D1D41F697DDB3EB253641B01283C0539D1D419E11A51DC8263641507E8CB9A09D1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1092241 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1092404, N'{AE802169-6D4D-4FBB-8089-AD5BFF4CB841}', N'013601652', 1485783, N'VAP2588', NULL, N'13601652', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'2000-03-14T00:00:00.000' AS DateTime), N'REM Lot 1', N'Block 6', NULL, N'LOT 1, EXCEPT THE SOUTH 2.5 FEET NOW LANE, BLOCK 6 SOUTH EAST 1/4 OF SECTION 26 TOWN OF HASTINGS SUBURBAN LANDS PLAN 2588', N'0150', N'0010', N'NO', N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'330', CAST(N'2021-01-12T14:54:48.000' AS DateTime), CAST(N'2021-07-29T09:24:25.000' AS DateTime), 329, 86, 0xBD0B0000010405000000DC2D9060CB8E3241F053E3A5AC261D41A1D6346FD58E3241D006F016AE261D41FF99089BD68E3241B0A679472B261D4141F1638CCC8E324130F46CD629261D41DC2D9060CB8E3241F053E3A5AC261D4101000000020000000001000000FFFFFFFF0000000003, CAST(1092404 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1092424, N'{BAB7C595-EA36-403F-99C4-F398872B6C18}', N'014073889', 1072963, N'NWP9303', NULL, N'14073889', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 3', NULL, NULL, N'LOT 3 EXCEPT: FIRSTLY: PART SUBDIVIDED BY PLAN 26856; SECONDLY: PART ON PLAN 73812; SECTION 4 TOWNSHIP 5 RANGE 27 WEST OF THE SIXTH MERIDIAN NEW WESTMINSTER DISTRICT PLAN 9303', N'0163', N'0009', N'NO', N'ICIS CADASTRE', 6, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2021-07-30T15:04:57.000' AS DateTime), 15714, 563, 0xBD0B000001040900000059522760FD293441A031772D7F061E414772F94F9929344170B3EAF369061E41E12406A195293441A036ABBE57071E416CC5FE929329344190234AFBDC071E4198C420B0DB293441406744694F091E41F0FDD4B8DD293441B078E9A690081E41F141CFE6002A3441C06722ECDF081E415917B7510A2A3441D0F675E081061E4159522760FD293441A031772D7F061E4101000000020000000001000000FFFFFFFF0000000003, CAST(1092424 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1093558, N'{95374D06-6A7B-45CC-ADFA-51FA5AC8FAF5}', N'005372551', 472072, N'NEP740', NULL, N'5372551', NULL, N'5320354005', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 8', N'Block 3', NULL, N'LOT 8 BLOCK 3 DISTRICT LOT 267 KOOTENAY DISTRICT PLAN 740 EXCEPT THAT PART IN PLAN NEP19552', N'0053', N'0018', N'NO', N'ICF', 4, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-10-15T10:48:56.000' AS DateTime), 358, 88, 0xBD0B000001040500000032E6AEC534043A41D0E3145DEF2B2441821D38E744043A4180BB9690B42B24417AE09C913B043A4120FF213DAA2B2441643BDF6F2B043A41484CA60AE52B244132E6AEC534043A41D0E3145DEF2B244101000000020000000001000000FFFFFFFF0000000003, CAST(1093558 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1094443, N'{73EA89A3-D35E-49F1-B464-9AFA5B63C8DE}', N'001624822', 3, N'NO_PLAN', NULL, N'1624822', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 15', N'', N'', N'THAT PART OF SECTION 15, METCHOSIN DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 52425I AND CONTAINING 0.85 OF AN ACRE MORE OR LESS', N'0079', N'0005', N'NO', N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:39:52.000' AS DateTime), CAST(N'2021-12-07T09:07:04.000' AS DateTime), 3429, 330, 0xBD0B00000104120000008B38D6656B083241600C02ABDD0B1741BEA8A4CE60083241E070AC0B8B0B174124C286475508324150158C4AB20C1741EDEBC0595408324120061214CA0C1741728104C551083241409A089B0B0D1741E561A1165108324100F9A0E71C0D1741E14F8DD75008324100C3F528230D17418CEA1ABF5008324180085242260D17413EA988A4500832412053965A290D17410254D787500832418055AB712C0D1741E6C207695008324170CB79872F0D1741E9DD1A4850083241307AEA9B320D1741E29C112550083241F031E6AE350D1741BE39232A4D083241D0482EFF810D1741816ABC1449083241E0718A8EEA0D17411CB9FC47670832415080B7C0AC0D174150D1911C76083241204B5986300C17418B38D6656B083241600C02ABDD0B174101000000020000000001000000FFFFFFFF0000000003, CAST(1094443 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1095255, N'{427711C8-7630-4DE0-920B-6F66C40BFDAD}', N'008263876', 117903, N'VIP877', NULL, N'8263876', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 24', N'Block 8', NULL, N'THAT PART OF LOT 24, BLOCK 8, SECTION 24, VICTORIA DISTRICT, PLAN 877 LYING WITHIN THE CANADIAN NORTHERN RAILWAY''S RIGHT OF WAY AS SHOWN ON PLAN 8 RW AND SHOWN IN RED ON PLAN ATTACHED TO 16820I', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'0', N'182.3', CAST(N'2022-01-26T11:13:15.000' AS DateTime), CAST(N'2022-01-26T11:27:15.000' AS DateTime), 162, 54, 0xBD0B0000010412000000648FC2F546393241B05CFEC3198D17411A8C4A8A4639324120AC1C5A1A8D1741F8065FD83D393241904469EF248D17413108ACDC4239324180029A08668D1741E71DA7E84B393241904AEA045B8D1741521E168A4C3932414014AE475A8D1741EA0AFA0C4C39324170E3FEE0558D1741351E81914B393241E0D16C77518D1741DB68AC174B393241109F010B4D8D1741F4F77C9F4A393241800FC79B488D1741FAD4F3284A393241C0EEC629448D1741BD0512B449393241300F0BB53F8D1741A134003749393241C05DA96B398D174174D920BD4839324190395C1E338D174157EB754648393241B0A53DCD2C8D1741165401D34739324110B66778268D17415BF0C46247393241E08CF41F208D1741648FC2F546393241B05CFEC3198D174101000000020000000001000000FFFFFFFF0000000003, CAST(1095255 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1095466, N'{A230BC9E-CCF0-4236-90C7-A76BA177A6FC}', N'005480655', 14323, N'VIP8901', NULL, N'5480655', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1, SECTION 12, RANGES 7 AND 8, QUAMICHAN DISTRICT, PLAN 8901 EXCEPT PART IN PLAN 1036 RW AND VIP70714', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 6, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:29:24.000' AS DateTime), CAST(N'2021-03-08T15:50:52.000' AS DateTime), 1421, 185, 0xBD0B0000010407000000CCDCB5A494DC3141D0F0F44A468D1941C5293A3248DC31415026C286388D194198559FAB42DC314130B6F37D508D1941E3C7985B47DC3141A0AA60546B8D19414DF38EB35CDC3141E0FDD478BB8D1941345530CA8CDC3141006519E25A8D1941CCDCB5A494DC3141D0F0F44A468D194101000000020000000001000000FFFFFFFF0000000003, CAST(1095466 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1095789, N'{35FC1269-128B-4534-BB3A-FCACBA6CF5DA}', N'001568841', 141241, N'VIP1637', NULL, N'1568841', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'Block 24', N'', N'THAT PART OF LOT 6, BLOCK 24, SECTION 14, VICTORIA DISTRICT, PLAN 1637 INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:28:30.000' AS DateTime), CAST(N'2019-01-05T10:21:00.000' AS DateTime), 379, 78, 0xBD0B0000010405000000FA285C2FC13532418075719B3990174105D7A330BB353241F0073D1BED8F1741F0D24D42A7353241E01A9E5E0590174190976EF2B03532418095438B4D901741FA285C2FC13532418075719B3990174101000000020000000001000000FFFFFFFF0000000003, CAST(1095789 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1095977, N'{5D4888FB-A6B3-4B0D-BC9A-E57602D2B552}', N'007427751', 118430, N'VIP1397', NULL, N'7427751', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'Block 4', N'', N'LOT 1, BLOCK 4, SECTION 33, VICTORIA DISTRICT, PLAN 1397, LYING WITHIN THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:46:50.000' AS DateTime), CAST(N'2019-01-05T10:21:37.000' AS DateTime), 40, 51, 0xBD0B0000010405000000CA8F3157223B3241F0FDD478CC951741E6D0221B223B3241F04D6210CD9517419EEFA7861F3B3241D0293A92D39517419EABADF82E3B324180D5E7EA1C961741CA8F3157223B3241F0FDD478CC95174101000000020000000001000000FFFFFFFF0000000003, CAST(1095977 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1096171, N'{A7989C19-BF1E-4E06-BE33-9B30003EDFEC}', N'016054539', 493759, N'NEP1030', NULL, N'16054539', NULL, N'7076687000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot D', N'', N'', N'LOT D DISTRICT LOT 4216 KOOTENAY DISTRICT PLAN 1030 EXCEPT PLAN NEP64081', N'0163', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:11.000' AS DateTime), 5432, 546, 0xBD0B000001041E00000026D26FDFDFFB384140810485C1C42041A267B30ADFFB38415805A3D2C3C420414A696FF093FB384190E2C758BFC520415E105879ADFB384128B7D180D2C520410166F784EAFB384190FF903EE2C420412C90A018EBFB3841484CA60AE1C42041F884889EEAFB384158F8EDD0DFC42041814ADE27EAFB3841586EFD91DEC420419027B0B4E9FB3841100DFB4DDDC420418EF70B45E9FB384198CF0D05DCC42041FE28FFD8E8FB384140485DB7DAC4204196BB9670E8FB3841D09C1165D9C4204146E673D3E7FB3841E0DC5F06D8C420414F06CA3AE7FB3841D883DD9FD6C4204122F9B1A6E6FB384108F6C431D5C4204190DD4317E6FB3841D0D351BCD3C42041F90F978CE5FB384198F0C03FD2C420418026C206E5FB3841184850BCD0C42041D2011FFAE3FB384110282C7BCEC42041EBD1C9FFE2FB38415044001ACCC42041E878B618E2FB384168171E9BC9C420413816C645E1FB3841900DF400C7C42041022BC687E0FB384188270B4EC4C4204126D26FDFDFFB384140810485C1C42041C532C431A3FB384158D8F0F4FAC52041193FC69C8BFB384150BB27CFEFC52041AD506B5A87FB38417050FCD8E8C520417BC0CA615FFB3841182B87D670C620414613610383FB3841682C439C79C62041C532C431A3FB384158D8F0F4FAC52041020000000200000000021800000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1096171 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1096328, N'{CA4A1C4F-5992-40B9-8D16-C044C19BAD92}', N'004113942', 135418, N'VIP16976', NULL, N'4113942', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot A', N'', N'', N'LOT A, SECTION 78, VICTORIA DISTRICT, PLAN 16976 EXCEPT PART IN PLAN 43150', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:25:11.000' AS DateTime), CAST(N'2019-01-05T10:22:56.000' AS DateTime), 346, 98, 0xBD0B0000010405000000161DC94555323241200681157298174117C05BE06932324140AF94E5FB981741AF94656871323241F01036BCE9981741F0C9C3825C323241B0270F8B60981741161DC94555323241200681157298174101000000020000000001000000FFFFFFFF0000000003, CAST(1096328 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1096957, N'{6EF979DE-2453-4717-9624-B48CC1376D24}', N'006270590', 248042, N'PGP27802', 90054478, N'6270590', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 8', N'', N'', N'LOT 8 DISTRICT LOT 6006 CARIBOO DISTRICT PLAN 27802', N'0163', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:17:48.000' AS DateTime), 19802, 693, 0xBD0B0000010406000000822F4C2636F13541886ABC341DAC2B41257502FAB6F03541709CA2E336AA2B4154B1BF4C76F03541989ECD6A77AA2B41D412F2C1F5F03541B8DD93C75DAC2B4189635DFCFAF0354110DE028958AC2B41822F4C2636F13541886ABC341DAC2B4101000000020000000001000000FFFFFFFF0000000003, CAST(1096957 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1097467, N'{644C5647-15FD-4486-946E-04126A9C98EF}', N'001567951', 117903, N'VIP877', NULL, N'1567951', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 13', N'Block 12', N'', N'THAT PART OF LOT 13, BLOCK 12, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:28:21.000' AS DateTime), CAST(N'2019-01-05T10:53:00.000' AS DateTime), 307, 71, 0xBD0B0000010405000000F775E0FCF1353241E08AFD65AA8F1741F55C6DE5F735324140E8D92CF78F17410200008006363241D08AFD65E58F174115E2589700363241B0BFEC9E988F1741F775E0FCF1353241E08AFD65AA8F174101000000020000000001000000FFFFFFFF0000000003, CAST(1097467 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1098261, N'{374A4902-98E1-41EA-8F9D-6148A8B09868}', N'010465120', 252487, N'PGP727', 5676011, N'10465120', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 14', N'Block 31', N'', N'LOT 14 BLOCK 31 DISTRICT LOT 933 CARIBOO DISTRICT PLAN 727', N'0112', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:41:06.000' AS DateTime), 383, 96, 0xBD0B000001040500000009B5A659D4823241507B83EFD2492E412B871679F9823241B0E1E995D6492E4104F9A007FA823241F0915C7EC2492E4112143F26D3823241B02E6EA3BE492E4109B5A659D4823241507B83EFD2492E4101000000020000000001000000FFFFFFFF0000000003, CAST(1098261 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1101142, N'{D0DE6D4F-8565-4AD8-93F0-73DA0275CCAF}', N'014814803', 468026, N'NEP4831', 9825311, N'14814803', NULL, N'7042357010', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOTS 290 AND 291 KOOTENAY DISTRICT PLAN 4831', N'0163', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:18:02.000' AS DateTime), 80850, 1157, 0xBD0B000001041600000098BB967025383A41A0F831E64B8923414FE3A51B37383A412051DA5B67892341F6B9DA8A48383A41100C936983892341BCE314BD59383A4130166A0DA08923415E3255B06A383A4138014D44BD89234136014D647B383A41705F070EDB892341DC5817D78B383A41601DC965F98923410AF9A0079C383A4118287E4C188A2341243867842A393A41E84A59062888234162E5D0A2CD383A41B089B021BB87234134A2B4371F383A415809F9A0EE8623419A65882311383A4198E61DA71F872341CA98BBF6F7373A4160F2B050778723412F333353F3373A418046947687872341A49BC4A0A3373A41B03177ED9C882341819543CBB6373A418038D605B4882341119C33C2C9373A41F8A59BC4CB8823419C01BC85DC373A41482FDD24E488234148EA0414EF373A4138C28627FD882341D8E76A6B01383A415027A0C91689234130431C8B13383A411095D4093189234198BB967025383A41A0F831E64B89234101000000020000000001000000FFFFFFFF0000000003, CAST(1101142 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1101414, N'{4B7A46C0-FDEA-4BB5-8566-8C4DEA4F26F8}', N'014094657', 3, N'NO_PLAN', 8337661, N'14094657', NULL, N'759-000306.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'SE4', N'6', N'', N'THE FRACTIONAL SOUTH EAST 1/4 OF SECTION 6 TOWNSHIP 21 PEACE RIVER DISTRICT', N'0163', N'0015', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2018-01-09T12:22:07.000' AS DateTime), 645311, 3213, 0xBD0B000001040700000086F4DB971A95344180D0B339AF1932413DBD5256DC943441645DDC46BB1C324178E92631FF9734414450FCB8FC1C3241B7D100BE2C983441BCBFEC3E961A32413DCD3B8E3A98344150C5FEB2DA193241ED1FD22F1C953441C0D1003E9B19324186F4DB971A95344180D0B339AF19324101000000020000000001000000FFFFFFFF0000000003, CAST(1101414 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1101696, N'{80B7EF81-805A-4763-8956-483C5D274402}', N'008430438', 3191000, N'VIP775', NULL, N'8430438', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Block 31', N'', N'', N'THAT PART OF BLOCK 31, COWICHAN LAKE DISTRICT, PLAN 775, BEING THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY, AS SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 25838I, AND CONTAINING 3.26 ACRES, MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:58:51.000' AS DateTime), CAST(N'2019-01-07T18:33:47.000' AS DateTime), 18487, 902, 0xBD0B000001042D000000FCE4610111803141703D0A572ED11941CEF7534332803141F044D8F022D11941866CE71B31803141A0832FCCE3D019417D73461494803141408F53F4C2D01941183FC63CB980314130C1A824B0D01941D5A3703DB8803141A08026C27DD019413D2CD47AC680314120287E8C75D01941D01951FACF803141D0A2923A6FD0194191976E72D9803141B0ED7C3F68D019417DB740E2E2803141F050DA9B60D01941C84B3749EC8031414060E55058D01941686666A6F5803141001B9E5E4FD01941F1F44AF9FE803141C0CAA1C545D019414E40134108813141A026C2863BD01941D8ACFA7C11813141C02E6EA330D01941D1D556AC1A81314150E3A51B25D01941190456CE2381314100D7A3F018D01941D70968E22C813141F009D7230CD01941614BC8E735813141B07C3FB5FECF19418148BFDD3E813141300BB5A6F0CF194174F2B0704A813141F061A156DDCF19415E7FD9FD3D81314100FED4785ACF1941AF2E6E632F813141F053E3A570CF1941AFE1E9352681314140BD52967DCF194161FE43FA1C813141C04082E289CF1941E40434B113813141B095D48995CF19419075715B0A8131419095438BA0CF19417FD0B3F900813141D08AFDE5AACF1941EA95B28CF780314110BE3099B4CF19417C613215EE80314100780BA4BDCF194169B3EA93E48031418001BC05C6CF19415427A009DB8031416011A5BDCDCF1941E4581777D1803141A0A7C6CBD4CF1941C2E314DDC780314160C4B12EDBCF1941C3F5283CBE80314180F831E6E0CF19417D613295B4803141F0B27BF2E5CF194101DE02E9AA80314120F31F52EACF194114FBCB8E95803141A0029A08F2CF19414E499DC05B803141F056ECAFFFCF19410968224C2A8031419089B0E10DD019414750FC5826803141505EBA4958CF1941D40968C2E27F3141409FABAD6CCF1941221FF4ACE27F314140EA04B46CCF1941F875E0FC10803141A0ABAD582ED11941FCE4610111803141703D0A572ED1194101000000020000000001000000FFFFFFFF0000000003, CAST(1101696 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1101923, N'{87331914-C713-40C5-B722-0FE341CE753A}', N'008552452', 12816, N'VIP703A', 29182461, N'8552452', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', NULL, N'REM Lot 2', N'Block 4', N'', N'LOT 2, BLOCK 4, DISTRICT LOT 24, OYSTER DISTRICT, PLAN 703A EXCEPT PART IN PLAN 1176RW.', N'0062', N'0007', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T16:00:33.000' AS DateTime), CAST(N'2019-01-07T18:31:08.000' AS DateTime), 277, 70, 0xBD0B00000104070000009D45B6B394B13141B0C039A30F261B417736AB1EA3B1314180B5157B4B261B414ABF7D9DA3B13141F0703D8A4A261B41FD21FD76A9B13141602BF6173F261B41D044D890AEB1314160A089B034261B41C2EC9E7C9DB1314180832FCCED251B419D45B6B394B13141B0C039A30F261B4101000000020000000001000000FFFFFFFF0000000003, CAST(1101923 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1102048, N'{DA462219-4A68-45BB-B69F-5164D1009766}', N'009852328', 3, N'NO_PLAN', NULL, N'9852328', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 5', N'8', N'', N'THAT PART OF SECTION 5, RANGE 8, SAHTLAM DISTRICT, CONTAINING 6.51 ACRES MORE OR LESS AND COLOURED RED ON PLAN "B" DEPOSITED UNDER 30148I', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 42, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T16:19:41.000' AS DateTime), CAST(N'2019-01-07T18:31:23.000' AS DateTime), 24130, 1629, 0xBD0B0000010491000000281895F495B8314180E848AEA4831941D4915C1E88B8314170A1D6347F831941692BF69781B8314180976E926E8319410B1214FF7AB83141E01DA7685E8319418473465474B83141E034EFB84E831941506210986DB83141E0B7AF833F831941127A36CB66B831412083C0CA30831941519621EE5FB83141A0DFBE8E22831941BC52960159B83141201748D01483194153A60A0652B83141004E629007831941391136FC4AB8314150A913D0FA8219415CC1A8E443B831414004C58FEE8219411CC9E5BF3CB8314140A913D0E28219413B8941E035B83141B06D3480D7821941C1CEFE462EB83141B0ACAB3BC9821941D53F6ADC26B83141D0AD4481B98219419AB200A51FB8314120D5835AA8821941090720A518B8314160FFC9D1958219415C8204E111B83141F0364EF281821941163FC65C0BB8314190EF16C86C821941B6D1001E15B83141B016D9CE44821941BC90F29B0DB83141001F26BD288219419B7B419A06B83141201EB9AA0A821941EFC1742100B83141D0312CBCEA8119414EF56C39FAB7314170FA5C18C98119419B725AE9F4B73141204E3DE8A581194133A2B437F0B73141E061A156818119419AB20CF1E1B7314130F46CD69B811941EFFD9699DEB731411015C9DE7C811941CDE6A9B3DBB7314180B032325D811941EF3AA641D9B731416073A7EA3C811941E4AA8D45D7B73141F032A4221C811941872401C1D5B73141902E0FF5FA801941F07C3FB5D4B7314110FF217DD9801941A067B34AD4B7314130A24536C48019415C37482AD4B73141D0B9493CBB801941744EB514D4B7314100354440B280194140A4FC09D4B7314110B10643A9801941E6321F0AD4B7314100E76245A08019413CF71C15D4B73141209A2A4897801941DAF0F42AD4B73141C0832F4C8E80194170469496D4B7314180C66DB47880194156C1A8E4D4B7314110DE02095C801941584B2CEDD4B7314100558DDD548019411152E5F1D4B7314110CFDFB14D8019416BC0D3F2D4B73141305E1A86468019413492F7EFD4B7314150165D5A3F8019413ED450E9D4B73141D009C82E388019413CA4DFDED4B73141204A7B033180194132211FB4E5B73141F07936AB28801941C9BAB86DE4B73141D051B89E09801941A401BC65FAB73141D0891F63FB7F1941180DE04DF6B73141B00C712C947F19414282E2E7DFB73141E0F597DDA67F1941B8490C22DDB73141902C439C857F194144EA04B4CDB73141A0E4F21F987F19419BC8C15FCBB73141502306DE7A7F194134829CB5C8B7314150914D125E7F1941FA1F0AB7C5B73141907188CC417F194117D6AD65C2B7314180C72C1C267F1941B51E58C3BEB7314120E15E100B7F194103BC05D2BAB731412010E9B7F07E19413DC6DC95B7B73141C001BC05DD7E19411CBDD72AB4B73141F0D06AC4C97E19412F4AEB94B0B73141C0F59001B77E1941599E3BD5ACB73141004527C3A47E1941CD35FAECA8B73141B06AFC0E937E1941907665DDA4B731418012B3EA817E19415F4BC8A7A0B73141401AC05B717E194165DE714A9CB7314100AD695E617E1941B600648998B73141101B4080547E1941B2C2D7B094B7314180EF0713487E19416E6FA1C190B73141301E6F193C7E1941F4349ABC8CB73141E0AB0A96307E194199F59FA288B73141C020568B257E19412C18957484B7314170FEB2FB1A7E194151F38E537FB731411020D2EF0E7E1941FB8AAD9C71B73141B076CE4AF37D19418CF42F5863B73141E00C6B90DC7D19415BCE38A254B73141E09879EDCA7D1941A77BCA9745B731418075C184BE7D19411BF08D5636B73141300BBB6EB77D1941913298FC26B73141B0905FB9B57D1941FF0A2FA817B73141607A0D68B97D1941DE4F8D7708B7314190D78173C27D19415F5DDCA6D9B63141F034EF38E57D194152AF94E5D6B6314180AA60D4AA7D1941813F351E9DB63141F0D612F2D07D19417BE926919CB63141E0105839087E1941E0C7983B9BB6314140A2B4B78C7E1941C0F5287C10B73141E06D3480337E1941A5CFD51612B731418014AE47327E19415871BDEC1FB73141305769672C7E1941A71E4FD62DB73141408375C02B7E19411CE10DB43BB7314110764C54307E19412185976649B7314110F191183A7E1941EFA1EBCE56B73141A00B2BF7487E194133C4B1CE63B73141103B70CE5C7E19416F652A726FB7314120FADAA1737E194179CBCF827AB73141703E90A38E7E1941A956ABE884B73141701B1399AD7E19414747388D8EB731419065573FD07E19411082945B97B7314160E4524BF67E194133CAAD409FB7314120D99F6A1F7F1941B50E6B2BA6B73141206E2F444B7F1941E071D10CACB7314180980A79797F19413CBA24D8B0B7314180BF1FA5A97F194153E70283B4B7314100771B60DB7F194107AE7A05B7B73141906C4A3E0E8019410AAC1C5AB8B73141C0A982D141801941B6AF0327B8B73141D08CB9EB8980194124ED0DDEAFB73141E0847C508D8019419F923A41B0B7314160287E0CCB8019418CC95421B8B73141602BF617CA8019419EC88C47B8B7314100722A2DD4801941A6F20776B8B73141C03B3340DE801941E453C4ACB8B73141A033A450E8801941B69FBFEBB8B73141F022115EF2801941F430F732B9B7314110F30D68FC801941D7096882B9B73141D0B12E6E068119415DFE437ABAB73141E03E57DB1F8119414A95CF38BDB73141F040DD4054811941D4CF65EFC0B73141C0708FAF87811941204EBC98C5B73141803026DEB98119417BD22E2ECBB73141A0F92185EA811941EEB7C8A7D1B731411037315F19821941164850FCD8B73141E00B932946821941903177CDDCB73141B08A8EE45A821941EE2E9DD0E0B73141E063871A6F82194108AFDD00E5B73141C04DF5BB82821941CB40E15CE9B73141A0A38EC295821941C76E42E3EDB73141B0583B28A8821941AF318E92F2B73141A0EA16E7B982194139674469F7B73141004772F9CA82194172567D4EF3B73141907FD9BDE2821941A02DCA8AFBB73141E0102A1CFF821941C3B6393E04B8314170793D2919831941403F625E0DB83141F076E6C53083194121F757E016B83141400DE3D5458319410C03BAB820B831412057FE3F58831941371AC0DB2AB83141B0B12EEE67831941AF8BDBC82CB83141201AC0DB518319417CC0CA4143B83141C00DBE307783194195D409C859B83141B066D5679E831941281895F495B8314180E848AEA483194101000000020000000001000000FFFFFFFF0000000003, CAST(1102048 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1102580, N'{74633734-BBC8-4E3C-81E5-0F2B5A17AF0A}', N'010307125', 3, N'NO_PLAN', NULL, N'10307125', NULL, N'759-001631.040', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART 18', N'79,13', N'', N'THAT PART OF LEGAL SUBDIVISION 10 OF SECTION 18 TOWNSHIP 79 RANGE 13 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT LYING SOUTH AND EAST OF THE POUCE COUPE RIVER', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:20:43.000' AS DateTime), 87794, 1227, 0xBD0B0000010484000000E158177776F33441BCF528BCD2A33241AD8025D078F33441B8DEACFED3A332410358C2067BF33441DCD2747AD5A332413AB17D157DF334413CB1DB2BD7A33241AB5B49F77EF334417499B80ED9A33241568F85A780F334413824691EDBA33241B7490C2282F334413CC6DC55DDA3324109BFAE4E85F3344134AB9D71E2A33241E70A2E6C88F3344134B6A796E7A3324177046F7A8BF33441B40CCEC4ECA33241B80757798EF33441E484E3FBF1A332417FF6CB6891F33441F8A6BA3BF7A332415339B44894F33441F8AE2584FCA332410C4EA18D98F33441ACA226D504A43241C6681C899CF334413CCF484A0DA43241A43CF439A0F33441E4D103E115A43241BED60D9FA3F334419838C5961EA43241F1F264B7A6F334419C46F16827A43241B8490C82A9F33441ECBCE35430A43241B5385E48AAF3344128B804E432A4324102F2F20DABF33441A8DC5E7335A432412D65CAD2ABF33441A8F3F10238A43241C881E496ACF3344188C6BD923AA432417737415AADF33441C01EC2223DA43241F475E01CAEF3344180C5FEB23FA432413E1CB932AFF33441B8719BDA42A432419444D15FB0F334410CD0D7F945A432413E68E8A3B1F33441D098081049A43241E212B9FEB2F334414C74841C4CA4324170F1F86FB4F33441901FA41E4FA432411AE258F7B5F334415C8FC21552A43241ABDD49DBB7F334418CD8895B56A43241E87E4ACCB9F33441ECBC719B5AA43241668848CABBF33441B44F52D55EA43241B84231D5BDF3344170DC030963A43241217DF1ECBFF33441BCE85E3667A43241248E7511C2F3344108363C5D6BA432412EBCA25FC3F3344154AF1CB26DA432418885D69DC4F33441E4E0A70F70A43241C56AD7CBC5F33441145F707572A43241CBD96EE9C6F33441784107E374A43241A03769F6C7F334418C36FC5777A43241DCE995F2C8F334411898DDD379A432413F50D8E7C9F33441383923517CA43241E87DD8F1CAF3344104D808C67EA4324125604D10CCF3344158B1E13181A43241CD45E842CDF33441987D039483A43241B8F45489CEF3344110A1C6EB85A43241E2C039E3CFF334416459863888A43241DF9EA0BBD2F334410CA109BD8CA43241915180BCD5F33441745D0C2791A43241B641E2E4D8F334419C24247595A43241462CC333DCF33441EC80EFA599A43241827513A8DFF33441446216B89DA432413B80B740E3F33441108C4AAAA1A43241E1E4C983E4F334419C07A138A3A432419060A9C4E5F33441F87EBDC8A4A4324148755303E7F33441D0D69C5AA6A432418AA9C53FE8F3344124F03BEEA7A432413288FD79E9F334416CA89783A9A4324192A0F8B1EAF33441F8D9AC1AABA43241F9286B5DECF33441585BF22DADA43241216C6025EEF3344148E0F528AFA43241C0A07808F0F33441283B300AB1A43241CA0D3F05F2F3344104242ED0B2A43241FD292B1AF4F3344198559179B4A43241BFCAA145F6F33441E49C1105B6A43241600A1A78FAF33441785C134FB9A432416A9A72ACFEF3344180C7AE96BCA43241A21BAAE202F43441A4CBE2DBBFA432412A2EBF1A07F434410C58AE1EC3A432418971B0540BF43441185C105FC6A43241B4847C900FF4344164C8079DC9A432417E86AA4F13F43441F09D4A62CCA43241263C362F17F43441B8378DF9CEA432414258EB2C1BF43441281D5661D1A43241156384461FF434419CDA4698D3A432416C05AC7923F43441B4C81C9DD5A43241935CFEC327F4344120C4B16ED7A43241A5A69C9F29F4344138B0C231D8A43241807B917B2BF43441AC1300F4D8A43241007DDC572DF4344138C869B5D9A43241054D7D342FF43441ACA7FF75DAA43241518D731131F43441E88BC135DBA43241A8DFBEEE32F43441FC4EAFF4DBA43241B830EC6A35F43441FC4EB1E0DCA43241841434F337F43441780C13A9DDA43241C13E98853AF4344100CC364DDEA43241AE6D12203DF43441DC599BCCDEA43241410296C03FF43441806EDC26DFA43241E39C116542F43441C4FEB25BDFA432418306286448F4344154CE5187DFA43241E8C5C1634EF4344170C73975DFA432410AF6636154F4344164657225DFA432410882945A5AF4344144A41C98DEA43241642BDB4C60F4344148F372CDDDA43241628FC23566F434412C1DC9C5DCA43241734D9C176CF43441B01D25A2DBA43241062812FB71F434419865F186DAA432410F0418E077F43441D43A3074D9A432413DC3A1C67DF4344130D2E369D8A432412244A3AE83F43441544F0E68D7A432415362109889F4344130C4B16ED6A432413445ABDE8CF434412CDA4AD9D5A4324105F1812190F43441C8371B30D5A4324106EE1C6093F43441E8123B73D4A43241915F059A96F43441D472C5A2D3A432410515C5CE99F43441642CD8BED2A43241D99AE6FD9CF4344198DD93C7D1A432414CDDE52AA0F434413C3278CCD0A43241983E2060A3F43441B0F4BFEDCFA432410D10989CA6F4344130F1AF2BCFA4324165664DDFA9F43441C01A8486CEA43241EA683E27ADF43441C4766FFECDA43241F7A06773B0F43441C80E9C93CDA43241ADDBC8BFB5F43441488FA90CCDA4324127648B0ABBF43441D4245276CCA4324191808253C0F434412CC69AD0CBA432413E86819AC5F43441C8EB881BCBA4324127DB5BDFCAF4344110902257CAA432416CF7E421D0F43441A82E6E83C9A43241C1F5283CD7F43441344CA66AC8A432418C8EE4F2DEF4344104D7A3F0C6A43241160DE06DF4F434411461C373C9A33241DDE995B262F33441AC8251A9A7A33241C45296E15FF33441140DE0EDC8A33241B646C6CE63F3344170027A28CAA332419ED0ADAD67F33441D88A868DCBA33241994A827C6BF334419862601CCDA33241587F80396FF3344180ED4ED4CEA33241267BEDE272F33441248B86B4D0A33241E158177776F33441BCF528BCD2A3324101000000020000000001000000FFFFFFFF0000000003, CAST(1102580 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1102811, N'{D501B2C7-FB23-4D84-A705-E502D05A4430}', N'002746778', 1183348, N'NWP7307', NULL, N'2746778', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2013-01-17T00:00:00.000' AS DateTime), N'REM Lot 4', N'', N'', N'LOT 4 DISTRICT LOT 18 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 7307, EXCEPT PLAN EPP7864', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:36:54.000' AS DateTime), 749, 111, 0xBD0B00000104050000000968224CBBAB32418023B97CC2641C419006F0D6A7AB324140FAED6B62641C4146BF7DFD96AB324150265305A2641C41F731E6CEA8AB3241901D386708651C410968224CBBAB32418023B97CC2641C4101000000020000000001000000FFFFFFFF0000000003, CAST(1102811 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1102885, N'{D12DD2A0-CCA7-4195-BA39-97777848CF99}', N'012429589', 629004, N'PGP12116', NULL, N'12429589', NULL, N'005484.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 20', N'Block 22', N'', N'LOT 20 BLOCK 22 SECTION 32 TOWNSHIP 83 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT PLAN 12116', N'0038', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:29:40.000' AS DateTime), 684, 121, 0xBD0B00000104050000000FA5BD41C02A3441245305C3853C334192ED7CBFED2A3441C0C56D14893C3341260F0BD5EE2A34411CF6971D7A3C3341BF86A757C12A344140FAEDCB763C33410FA5BD41C02A3441245305C3853C334101000000020000000001000000FFFFFFFF0000000003, CAST(1102885 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1103697, N'{197D17AF-68B2-4897-9320-F41C43C39FAE}', N'013226215', 246698, N'PRP1076', 35711561, N'13226215', NULL, N'03542.920', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 15', N'Block 34', N'', N'LOT 15 BLOCK 34 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:49.000' AS DateTime), 283, 89, 0xBD0B0000010405000000E06800AF612E2C41B40E9C3356A130416F4DF38E612E2C4168BC74934EA1304132B29D6F172E2C41C8D781334FA130412CBB278F172E2C41282AA9D356A13041E06800AF612E2C41B40E9C3356A1304101000000020000000001000000FFFFFFFF0000000003, CAST(1103697 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1103985, N'{70A37C02-2AEC-4CD3-A317-90A2E22E117B}', N'008442835', 656230, N'VIP810', NULL, N'8442835', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'Block 27', N'', N'LOT 1, BLOCK 27, SECTION 30, TOWNSHIP 6, RUPERT DISTRICT, PLAN 810', N'0107', N'0020', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-22T18:13:46.000' AS DateTime), 508, 97, 0xBD0B0000010405000000AE0C712CE8522B415029CB507A52234162BA49CCC9522B41681283807B522341D610C73ACC522B41B0A8A44EBE52234172BE9F9AEA522B41D0BDC117BD522341AE0C712CE8522B415029CB507A52234101000000020000000001000000FFFFFFFF0000000003, CAST(1103985 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1104352, N'{216799DF-8F72-42C0-A357-B4C6A20E75FC}', N'000016951', 3, N'NO_PLAN', NULL, N'16951', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 106', N'', N'', N'THAT PART OF DISTRICT LOT 106, ALBERNI DISTRICT, INCLUDED IN PLAN 277 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:39.000' AS DateTime), 1039, 214, 0xBD0B0000010411000000F1D24D62A2923041C064AA6009311D41B3BFEC5E9D923041B0EC9E3C25311D4130A2B4979692304180AEB6E24A311D41BA4793278E9230418051C01A75311D419B87D20D85923041608C8C0F9D311D41626E21547B92304150159796C2311D41C338D90471923041A03FF187E5311D419750F22A6692304110726CBE05321D4192A0F8D15A923041D0BDC11723321D418CCB7F6870923041A0D556EC23321D4177EF74CA79923041F0FB347007321D41CFFFD4C68292304140729EF9E8311D41856EF5568B923041F0AE2C9FC8311D41B6FB7B74939230416019E078A6311D41056C63199B92304180400EA082311D41FEFFFF3FA2923041A00D4F2F5D311D41F1D24D62A2923041C064AA6009311D4101000000020000000001000000FFFFFFFF0000000003, CAST(1104352 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1104541, N'{C54792E7-9D1C-43B8-82CF-684596E14FE7}', N'000017094', 4160464, N'VIP277RW', NULL, N'17094', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-01-04T00:00:00.000' AS DateTime), N'PART 290', N'', N'', N'THAT PART OF DISTRICT LOT 290, ALBERNI DISTRICT, INCLUDED IN PLAN 277 RW', N'0163', N'0029', N'NO', N'SRW-COMPILATION', NULL, NULL, N'COGO', N'0', NULL, CAST(N'2018-06-19T11:17:35.000' AS DateTime), CAST(N'2018-11-23T18:39:31.000' AS DateTime), 76, 43, 0xBD0B000001040500000055B1BF0C9A9D3041A0BE9F1AE8121D41CC6F5F67A89D3041C07BF230BC121D4181D0B399A39D30414092CB7FBC121D41A4F1D22D9A9D304150780B24BD121D4155B1BF0C9A9D3041A0BE9F1AE8121D4101000000020000000001000000FFFFFFFF0000000003, CAST(1104541 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1104860, N'{01309B7B-B506-4C54-B2FF-3DC6CE3F4048}', N'014292858', 299180, N'PRP948', NULL, N'14292858', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 16', N'Block 4', N'', N'LOT 16 BLOCK 4 DISTRICT LOT 3 QUEEN CHARLOTTE DISTRICT PLAN 948 EXCEPT PLAN 6937', N'0116', N'0026', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-11-26T18:18:38.000' AS DateTime), 182, 58, 0xBD0B000001040A000000EBE995B2EB512241686744A921762C414C63859AE85122413052353124762C416E14487DE55122419874C5B226762C411223EB5AE25122415839EA2D29762C41A9CA7B33DF512241802799A22B762C41F05B0707DC512241B8E0C7102E762C41003D9BD5D851224178226C7830762C41DAD5566CDB51224130A5BD414E762C418BF6065FEF51224140014D444C762C41EBE995B2EB512241686744A921762C4101000000020000000001000000FFFFFFFF0000000003, CAST(1104860 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1105050, N'{48743EC6-AEA9-4CDB-B4EC-EB41C2594860}', N'002151057', 654945, N'VIP27625', NULL, N'2151057', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot A', N'', N'', N'LOT A, SECTION 8, CORTES ISLAND, SAYWARD DISTRICT, PLAN 27625', N'0163', N'0027', N'NO', N'ICIS CADASTRE', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-27T18:19:07.000' AS DateTime), 12800, 454, 0xBD0B00000104050000007D2F4CA6225E3041608FC2F5E71E21416991ED3C245E304158764FDE161E2141952A18D5A95D304160F5B9DA121E214196FF903EA85D304190A0F8F1E31E21417D2F4CA6225E3041608FC2F5E71E214101000000020000000001000000FFFFFFFF0000000003, CAST(1105050 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1105277, N'{703DD5EA-B30A-4D57-A015-C1FC05CDEC2C}', N'012519341', 495942, N'KAP62', 90091810, N'12519341', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 6', N'Block 7', N'', N'LOT 6 BLOCK 7 DISTRICT LOT 818 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 62 EXCEPT PLAN H875', N'0163', N'0019', N'NO', N'ICF', 13, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:36:07.000' AS DateTime), 143, 49, 0xBD0B00000104060000006CF7E40135693741D06D3480D1731D415E07CED93E693741E0550EADD5731D414403784B4069374180F2B050A8731D41A101BCE530693741509D80A6A1731D411CFDF6553469374180D0B3D9C5731D416CF7E40135693741D06D3480D1731D4101000000020000000001000000FFFFFFFF0000000003, CAST(1105277 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1109244, N'{E1A589F9-F78C-42AF-BFB7-97F69EA580E6}', N'011322381', 1303888, N'VAP4742', NULL, N'11322381', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-10T00:00:00.000' AS DateTime), N'Lot 7', N'Block 27', N'', N'LOT 7 BLOCK 27 DISTRICT LOT 599 PLAN 4742', N'0092', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T10:50:27.000' AS DateTime), 497, 94, 0xBD0B00000104070000002C6519E2AF7A3241C0C7983B2F871D41442CD47AAE7A324130014D84AC871D4175A52C43BE7A324180C1A8A4AF871D41BFCAA145BE7A324100D044D8AE871D41A289B0C1BF7A3241A09ECD2A33871D41789318C4BF7A324140AD695E32871D412C6519E2AF7A3241C0C7983B2F871D4101000000020000000001000000FFFFFFFF0000000003, CAST(1109244 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1112411, N'{B711DF1B-1B32-4020-B50F-110D519575EF}', N'013676709', 1092653, N'NWP594', NULL, N'13676709', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 9', N'Block 57', NULL, N'LOT 9, EXCEPT: PART ON SRW PLAN 43417 BLOCK 57 DISTRICT LOT 411 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 594', N'0081', N'0009', N'NO', N'ICIS CADASTRE', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-02-15T14:57:21.000' AS DateTime), 210, 82, 0xBD0B000001040500000092ED7CDF87613341E003E78CFB541C419D67B32A6D61334170D2DE6097541C4166006FE1676133416027A089AD541C412597FF30756133411022FD76DF541C4192ED7CDF87613341E003E78CFB541C4101000000020000000001000000FFFFFFFF0000000003, CAST(1112411 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1112553, N'{5281F7EC-8F5D-408E-A6F4-CA3AF8E80CCC}', N'015137805', 3, N'NO_PLAN', 90161008, N'15137805', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', CAST(N'2018-07-13T00:00:00.000' AS DateTime), N'2157', N'', N'', N'DISTRICT LOT 2157 CARIBOO DISTRICT EXCEPT PLANS B4720, 2876, A59 AND EPP76516', N'0112', N'0008', N'YES', N'MODIFIED-ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'0', NULL, CAST(N'2018-07-25T16:36:29.000' AS DateTime), CAST(N'2019-03-14T14:20:58.000' AS DateTime), 391272, 3664, 0xBD0B000001044B000000235A641B5488324100E10BD348502E41A0703D2A1288324130D26F9F42502E410C363CFD01883241F819511A41502E41D8F0F40AE9873241C812F2C13E502E4124B9FC274A873241D897DDD32F502E413EBB24C84A87324178837DA033502E418F62AB664B87324148C72E6E37502E416E3A90034C873241D896EE3C3B502E4179CFD29E4C873241D824BA0C3F502E416CAF72384D87324198A38EDD42502E4149696FD04D873241584469AF46502E413770CE0858873241E044D8F08F502E41FACBEEC95F873241D019515AD6502E41A3923AA16A873241C06D340051512E417A58A8356F87324148257502A5512E41B0E1E955718732410810E977F1512E41CD19517A7187324178E9263142522E41208E751173873241C812F201A1532E414F8D974E7A873241B83E571BA1532E4177E926717C873241003FC69CFF532E41D91B7C6181873241986CE7BB3A542E412F90A058888732417893180475542E412B431C4B91873241F8C42030AE542E41F21FD22F9C87324110B5A6F9E5542E413B4547B2BA873241C02E6E6373552E411E1FF42CD3873241F84C84CDE4552E418485B362D487324178C23BE8E9552E41F954049BD5873241D8B58000EF552E41A650E5D5D687324110FC4D16F4552E412C395513D8873241386D9E29F9552E4190CC5253D987324190E26C3AFE552E413EC6DC95DA8732415839B44803562E41B88D06B0F387324100E02D1006562E41D4CCCC2C1088324140234A3B09562E415FBA490C39883241808104C50D562E41AA79C70947893241308941602A562E41E42406E13E893241E01CC9E558572E415105A3D250893241301AC0DB11572E41D9DD45D75F893241387971B4DB562E41B30067EF7089324158B67E12A8562E41D5EE180084893241D8623D4777562E412A5853EB9889324148568A9F49562E41796A2290AF893241F09C50631F562E41FDB9DACAC7893241502A18D5F8552E414DEFB5B5C88932415896607DF7552E41FC710FA1C9893241A0400327F6552E4154C2E68CCA89324110E300D2F4552E418A603B79CB893241B8365A7EF3552E4162CC0C66CC893241A8F30F2CF2552E4187855A53CD893241C8D022DBF0552E41935CFE63CE89324158BE9F5AEF552E4122F46CD6CD893241089C33A29F552E41DE9387A5CE893241F8E4612172542E41D412F2A1CE893241401FF46C70542E41E78C28ADCE893241D0BAB88D5E542E411EF46CB6CE893241F08FA0F851542E4185D2DEC0CE893241F01B7CE147542E4198999999CF893241E09387C522532E41747AA54C558A324170DA1B3C33532E410A5F98EC5E8A3241501E162A13522E41411CEB6252883241587B836FF1512E41CAEEC9834D883241A0A8A40EF1512E410E9C33E250883241E0CCCC4CF9502E41235A641B5488324100E10BD348502E414282E2C7CC89324168C0CAE110572E41E68C282D6F893241B816D94E91582E4152F173297289324118DD914691582E41AE32B5257589324130EAF13491582E415900E521788932410069F91991582E41CE09FC1D7B893241D89BA8F590582E41CDFEF2197E89324130DBFFC790582E415F8FC215818932410897FF9090582E41D934EF78CA893241303108AC8A582E41127A36EBCA893241C05D4B8838582E414282E2C7CC89324168C0CAE110572E41020000000200000000024000000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1112553 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1113210, N'{63E03D6B-0C05-4054-9671-1734A04A7E98}', N'006332765', 1932, N'VIP2595', NULL, N'6332765', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1 DISTRICT LOT 2 BRIGHT DISTRICT PLAN 2595 EXCEPT PART IN PLAN , VIP70352', N'0163', N'0021', NULL, N'ICIS CADASTRE', 7, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2020-08-25T16:02:23.000' AS DateTime), 7966, 357, 0xBD0B00000104050000000D5839749BA03141C00CE0AD1E8C1B4124FDF6B59CA0314110917E7BB78A1B414CE17A3443A03141E0331136B58A1B417C2F4CE642A03141E05CFEC3198C1B410D5839749BA03141C00CE0AD1E8C1B4101000000020000000001000000FFFFFFFF0000000003, CAST(1113210 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1113252, N'{648A54D4-54F7-4524-BDB7-DFDBB74B14DA}', N'001662597', 127186, N'VIP748', NULL, N'1662597', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1998-01-28T00:00:00.000' AS DateTime), N'Lot 8', N'', N'', N'THAT PART OF LOT 8, SECTION 98, ESQUIMALT DISTRICT, PLAN 748 SHOWN OUTLINED IN RED ON PLAN DEPOSITED UNDER DD 31004I AND CONTAINING 1.12 ACRES MORE OR LESS', N'0154', N'0005', N'NO', N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'4378', CAST(N'2017-10-03T09:46:28.000' AS DateTime), CAST(N'2019-05-21T09:55:48.000' AS DateTime), 4366, 394, 0xBD0B0000010429000000AA605432BA1E324150CF6655FB8517417CAEB6C2B31E324180AD695E018617417858A8F5D01E3241406A4D73F7861741EC63CC1DD21E32415033333301871741E1460338FA1E3241F00C712C5388174106560E4DFA1E32412050FC185388174136B4C836161F3241502575023988174167ADACF4111F324120F3C4F31C88174141B3BAC30D1F324150F7D8BB0088174198B90BA4091F32415032595BE48717417F4DB895051F32419095EED2C7871741AC94D898011F324110004323AB871741FD4C84ADFD1E3241303B014D8E87174114FBCB6E001F32412061C3D3888717414E840D0FFF1E324190029A087E8717410F634621FD1E3241C08BD9906E871741A76FE03CFB1E3241B0D69A065F871741C6BEE661F91E3241A0E2386A4F871741C62D6490F71E3241601B0FBC3F871741C26263C8F51E3241505379FC2F871741F8CBEE09F41E324110C3D32B20871741AA4A1D28F31E3241006D357518871741B6398447F21E324140435DBC10871741FAF22368F11E3241105E4E0109871741CCCFFC89F01E324130D40B440187174114290FADEF1E3241F0BE9884F986174140575BD1EE1E3241D037F8C2F186174172787A05EC1E3241800BB5A6F68617419DF77691E91E3241806CC12DE08617412AA4B427E71E3241900D11A3C9861741E7813BC8E41E3241C0CCEE06B386174165721373E21E324140C2A5599C86174107354428E01E3241903E819B85861741CF66D5E7DD1E3241C0CCCCCC6E8617417FA00EB7DB1E324130D969155886174196BE9290D91E32419053504E418617415ACC6874D71E324120D9CA772A86174140B39762D51E3241A038249213861741CE3A265BD31E3241B074A79DFC85174197081B5ED11E324160BE9F9AE5851741AA605432BA1E324150CF6655FB85174101000000020000000001000000FFFFFFFF0000000003, CAST(1113252 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1113815, N'{5A84F9CA-603D-45FA-AEC1-052A90B6233C}', N'009892869', 7636431, N'VAP8920', NULL, N'9892869', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN PROVINCIAL', CAST(N'1960-05-18T00:00:00.000' AS DateTime), N'REM Lot 2', N'', N'', N'LOT 2, EXCEPT PART IN REFERENCE PLAN 7142, BLOCK D NORTH 1/2 OF SECTION 39 TOWN OF HASTINGS SUBURBAN LANDS PLAN 8920', N'0150', N'0010', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'1258', CAST(N'2020-09-22T16:17:47.000' AS DateTime), CAST(N'2020-09-22T16:19:54.000' AS DateTime), 1259, 168, 0xBD0B0000010407000000B22E6EA349903241503F355E90181D41BE64AA206690324140C8763E95181D41006F81C46D903241F07936AB9F171D41EDFDD4B868903241509D80A693171D41C0F528DC51903241C0ABAD582C181D4177711B2D4A903241F02B65195E181D41B22E6EA349903241503F355E90181D4101000000020000000001000000FFFFFFFF0000000003, CAST(1113815 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1115010, N'{3B68A652-8DAB-47E2-95C1-8C99CA039C8E}', N'029171628', 1171338, N'EPP26235', NULL, N'29171628', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2013-09-27T00:00:00.000' AS DateTime), N'Lot 2', NULL, NULL, N'LOT 2 SECTION 10 BLOCK 5 NORTH RANGE 2 WEST NEW WESTMINSTER DISTRICT PLAN EPP26235', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2020-10-23T09:48:38.000' AS DateTime), 2170, 205, 0xBD0B00000104050000000E363C7D5EC3324140363CBDC4C41C41E8F21F725DC3324140DFE08B3CC51C41CC6F5FC7A5C332419058A8B546C51C41278716D9A6C3324130D409E8CEC41C410E363C7D5EC3324140363CBDC4C41C4101000000020000000001000000FFFFFFFF0000000003, CAST(1115010 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1115367, N'{9B27C59C-48D8-46E8-B04D-9BABC53D4D0F}', N'005437440', 1078102, N'KAP11078', NULL, N'5437440', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1 DISTRICT LOT 1172 AND OF SECTION 8 TOWNSHIP 5 RANGE 26 WEST OF THE 6TH MERIDIAN YALE DIVISION YALE DISTRICT PLAN 11078 EXCEPT PLANS 32544 AND KAP50175', N'0050', N'0009', N'NO', N'ICIS CADASTRE', 9, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2020-01-06T11:08:31.000' AS DateTime), 203607, 1859, 0xBD0B00000104720000004C05A3320D473441A0E53F244E2F1E41C2E3147D11473441A0581737582F1E41FE21FD5617473441A0A223B9622F1E41F0FDD4381D473441F04525756B2F1E412ED49A2623473441B0B88D86712F1E4100E78C482E473441104D158C742F1E411C2FDDE4334734410041F163732F1E4130BB270F39473441002DB21D722F1E414A50FC183F473441A04603F8712F1E41D41B7CC144473441600AD7236E2F1E41C620B0924A47344190D634EF6D2F1E41B359F5F94F47344150AA60D46B2F1E4193B96B6955473441702041F1672F1E419C45B6935A473441809ECDAA662F1E41637FD9DD5E473441E0A370BD702F1E41D7D781335F47344130674469842F1E41952A18D55B47344150302AA9922F1E41448B6CC757473441D0BFEC9EA12F1E41DC78E9865847344100C58F31B72F1E41F01648905C47344110B5A6F9C22F1E418DC2F56861473441F021FDF6C62F1E4168DE714A67473441807CD033C32F1E417836ABFE6B473441F02FBB27B62F1E418E4AEAE46D473441806891EDA22F1E41696FF0456E473441A0E1E9958C2F1E41168C4A0A6D473441206D567D782F1E41D2915C7E6C473441F09F1AAF632F1E41AD69DEF170473441D0F5285C582F1E41C09F1AEF75473441A087855A542F1E41361AC09B7B473441709CA2A34F2F1E41AE1C5A6480473441D07A14AE4A2F1E41DAACFAFC864734413044FA6D442F1E413992CB3F8C47344190CDAACF3D2F1E41FED4782992473441C05CFE43382F1E413E355EFA96473441104B5986312F1E41D2DEE0ABA0473441A047E17A202F1E4126A91350A547344150006F01172F1E41D25D4B08AA473441D0043411092F1E41DF718A4EAE473441D0923A01FB2E1E41EA1DA768B34734410013F2C1F02E1E41846ABCD4B947344190CAA1C5E72E1E4189B0E1C9BE4734413003788BE52E1E41040000E0C347344110A08930DC2E1E41497B834FC947344130CD3B4ED82E1E4134B4C8B6CE47344120A16733D62E1E411648509CD44734413003788BD12E1E41ED63CC7DDA473441103945C7CD2E1E4165DE712AE0473441E04D6210C92E1E417F613275E547344180E7FBA9C02E1E41C9293A32EB47344120651962B82E1E410044FAADF0473441E0CEF7D3B12E1E41447B83AFF5473441D08D97EEAC2E1E4101E78C68FB473441404CA68AA52E1E41FC31E68E01483441600C022B9F2E1E415B8638D606483441E09DEFA7972E1E418C0F7A560C48344140EA0434902E1E415952270011483441A06054D2852E1E41EA26312816483441A089B0E1782E1E410C71AC2B1A483441A0423E686D2E1E41BE5B20C11F4834414091ED7C612E1E41146A4D73244834419060E550552E1E41000000C028483441D0A9F152462E1E41ED5A425E2C48344150B9FC07382E1E41F11FD2EF3048344140431C6B262E1E41DA3D79383548344150AAF152182E1E4124A0897039483441101748D00D2E1E4122166ACD3E48344160AA60D4012E1E41E258177743483441A020B072F72D1E41B0EA735548483441706FF005EE2D1E4105F016684D48344150DF4F8DE52D1E41C2F5287C5748344100A08930D82D1E419E8026425D48344130E4831ECE2D1E419DF6067F66483441E0C6BAB8B62D1E4100917E7B2448344140DA1B7C482A1E41BA96900F26483441B0460378CB291E417C6132F5B4473441106B2BF624291E41265C8FC2B9473441F0F0634CA9271E418BFD65576546344190FA5C6D45271E4111363C3D73463441E03BBD52012A1E41A213D0A47D463441E0DC4683842E1E416E8104A58046344150E3A51B8A2E1E413480B7008146344150F46CD68A2E1E41102DB23D8B46344160764F1E9E2E1E4148C2FB238C4634411083C7C39F2E1E419E6828098D4634418088D872A12E1E41B6B931ED8D463441C07C762BA32E1E41715711D08E463441801295EDA42E1E41E9EBC0B18F46344130B727B9A62E1E41C6293A92904634413096218EA82E1E419461B8B4914634418056E987A92E1E41D7F826D39246344180CAF1C3AA2E1E41016294EC93463441706D3041AC2E1E41D84713009546344180BD63FEAD2E1E41D455BB0C96463441D04814FAAF2E1E41E9FBA9119746344170E99532B22E1E41BD9F1A8F9D463441C02E6E23C12E1E41BEE3141DA746344110265305D22E1E41BFD32B65AC46344190DD9307D72E1E41DE4F8DF7B2463441E0DF2D10DF2E1E4198218ED5B7463441004ED191E52E1E413F795808B8463441B0F2B0D0E52E1E410022FDB6BD463441C0AF03E7EA2E1E41904AEA44C846344110F241CFF52E1E4170787A25D346344160FC18F3072F1E41235A64FBD7463441D0F3FDD40C2F1E41FCA067F3E3463441300B24A8132F1E41C9C3428DEE4634410066F7E41B2F1E41D7F97E0AF446344180D0B3D9212F1E410A93A942F946344180423E682A2F1E4192CB7F08FE463441B0F4DBD7322F1E4140CF66950247344100EC51383B2F1E41C6FEB23B0847344160F085C9442F1E4138D6C54D0A473441803255B0482F1E414C05A3320D473441A0E53F244E2F1E4101000000020000000001000000FFFFFFFF0000000003, CAST(1115367 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1115695, N'{0AFE938B-314C-4735-8A97-540CF58585C8}', N'001584855', 128885, N'VIP1313', 10431861, N'1584855', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'Block 17', NULL, N'LOT A, BLOCK 17, SECTION 78, VICTORIA DISTRICT, PLAN 1313', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:37:46.000' AS DateTime), CAST(N'2020-02-10T09:29:07.000' AS DateTime), 1, 12, 0xBD0B00000104040000006AD5E7AA8C30324130FF21FD7D9317414B4772B98C30324160EE5AC27E93174104AC1C3A9230324120189554789317416AD5E7AA8C30324130FF21FD7D93174101000000020000000001000000FFFFFFFF0000000003, CAST(1115695 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1116429, N'{D719DC24-5F94-4CD5-8BD4-C239A60AE1E7}', N'015494527', 7584431, N'NEP77644I', NULL, N'15494527', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', NULL, NULL, N'THAT PART OF LOT A DISTRICT LOT 1236 KOOTENAY DISTRICT PLAN 897 INCLUDED IN GREEN ON REFERENCE PLAN 77644I', N'0040', N'0019', N'NO', N'MODIFIED-ICF', 1, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-02-11T16:33:08.000' AS DateTime), 106, 50, 0xBD0B0000010405000000CDB3597514AB384180742497DB091E4120D26F7F08AB384100022B87D2091E414E6210F807AB384170AA6054E3091E41E6AE254406AB3841004625F5170A1E41CDB3597514AB384180742497DB091E4101000000020000000001000000FFFFFFFF0000000003, CAST(1116429 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1116475, N'{3A42B6C6-D2E7-42DC-9FA3-9C7E3D5440F3}', N'001714252', 3, N'NO_PLAN', NULL, N'1714252', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 22', N'', N'', N'THAT PART OF LOT 22, HELMCKEN DISTRICT SHOWN COLOURED RED ON PLAN 162 RW AND CONTAINING 6.67 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 15, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T22:16:26.000' AS DateTime), CAST(N'2021-02-25T16:06:06.000' AS DateTime), 26794, 1829, 0xBD0B0000010416000000597DAEB669D13141C0D85FF66F25194121A7E8E80DD1314130AC1CDA7D281941093D9BD5C9D03141F02FBBA7C92A1941952A1855C3D03141F05E98CC012B1941FD6E8104BED031411057ECAF2F2B19414D6B9AB7B9D03141906054D2542B1941AA4E40734DD03141000C02ABFB2E1941A40A46256ED0314170A8354DFF2E1941FC3A70CE99D0314180A8A44E862D19412F08AC1CB6D03141701DC9E5912C1941592041F1B7D03141502BF617822C194182FB3A30C5D03141507D1DB80F2C19417D04C5EFD1D03141D09C11A5A12B194159A8358DDAD03141E0A4BD41572B19410466F7C4F1D03141E03845C78E2A1941D119511A27D13141D0A59B44C2281941F63A70AE2ED1314140C1A8A481281941B19DEFE737D1314120855A5334281941635452478BD1314160158C4A74251941C9293AF2E3D1314140DF4F8D87221941463789C1C1D131414029CB1082221941597DAEB669D13141C0D85FF66F25194101000000020000000001000000FFFFFFFF0000000003, CAST(1116475 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1116851, N'{5FD8CDE5-ACEF-4E8F-BEB6-C918C3BAAF82}', N'001580990', 8505248, N'VIP8RW', NULL, N'1580990', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 8', N'', N'', N'THAT PART OF LOT 8, SECTION 79, VICTORIA DISTRICT, PLAN 1772 INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:57:39.000' AS DateTime), CAST(N'2021-04-16T11:15:09.000' AS DateTime), 288, 71, 0xBD0B0000010409000000754F1E563C2F3241C08E53F42996174113143FC63F2F324160E5D022589617418D87851A412F3241C0DA8AFD699617412C3A926B422F324170C3D3AB7B96174176E09CB1422F3241E0F44A597F9617414E27A0E94F2F32412061C3535A9617410C8195E34C2F324110FB3AF044961741B837F882452F324100C976BE10961741754F1E563C2F3241C08E53F42996174101000000020000000001000000FFFFFFFF0000000003, CAST(1116851 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1117213, N'{A21F5402-8C97-4317-95DE-F41DEBA462A4}', N'005888212', 135238, N'VIP6606', NULL, N'5888212', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1, SECTION 18, RANGE 2 EAST, NORTH SAANICH DISTRICT, PLAN 6606 EXCEPT PART IN PLAN VIP59305 AND PLAN 1187RW.', N'0090', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:25:03.000' AS DateTime), CAST(N'2021-05-30T19:28:23.000' AS DateTime), 936, 137, 0xBD0B000001040D000000DE7A140EA627324100D5786944071941E5839E0D9B273241204FAF948D07194162105899A9273241B03D7958BC071941B2BFEC5ED527324160EF38C58E07194135D198BAD4273241F02B1F508B0719411C0FE404D4273241F061271388071941D6FCFF3ED3273241F05BC313850719414354396AD2273241A05DFD568207194135D6F587D127324120A76FE17F071941F8F0B199D027324150BB3CB77D0719419C40FEA0CF273241B06708DC7B0719418EED7C9FCE27324140AAF1527A071941DE7A140EA627324100D578694407194101000000020000000001000000FFFFFFFF0000000003, CAST(1117213 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1117243, N'{0FE33285-952E-42BA-805E-C9D695657A19}', N'009140191', 126923, N'VIP370', NULL, N'9140191', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 9', N'', N'', N'LOT 9, SECTION 7, VICTORIA DISTRICT, PLAN 370, EXCEPT PART IN PLAN 5105, AND EXCEPT PART LYING WEST OF PLAN 7 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', N'320.6', CAST(N'2016-01-06T17:46:50.000' AS DateTime), CAST(N'2021-05-30T19:41:40.000' AS DateTime), 321, 73, 0xBD0B0000010407000000A679C729053A3241C0AEB662C2821741D0B35955FF39324150AB3E57FE82174132B29D6F133A3241200DE0AD0E8317416419E218193A3241301CEB62D4821741431361430F3A3241F0DBD781CB821741890D4F4F053A3241804AEA84C2821741A679C729053A3241C0AEB662C282174101000000020000000001000000FFFFFFFF0000000003, CAST(1117243 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1117260, N'{B4EE8378-9584-4B0B-A867-2E2189122A7F}', N'010739025', 871485, N'KAP3743', NULL, N'10739025', NULL, N'P13152', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', N'', N'', N'LOT 3 DISTRICT LOT 235 KAMLOOPS DIVISION YALE DISTRICT PLAN 3743 EXCEPT PLAN H9688', N'0055', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-05-30T19:47:43.000' AS DateTime), 1752, 198, 0xBD0B0000010409000000F975E0BCAD64354150BE9FDACBAF234177F2B070AD643541D08D0670D3AF2341AE0C714CD264354168B1BFECB5AF234140A4DFDECB64354138B4C8368DAF2341E961A1B6BD643541805F078E33AF234157F5B9BAB3643541404772B933AF2341A6BDC157AF643541D0BE0E1CA3AF2341B79690AFAE64354100A8C6CBB3AF2341F975E0BCAD64354150BE9FDACBAF234101000000020000000001000000FFFFFFFF0000000003, CAST(1117260 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1117879, N'{9624A2D1-DD42-4673-BE0F-BB896494C0AB}', N'013998145', 295389, N'PRP968', 23689261, N'13998145', NULL, N'01250.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 22', N'Block 105', N'Section 2', N'LOT 22 BLOCK 105 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-06-10T13:40:11.000' AS DateTime), 260, 72, 0xBD0B00000104050000004C50FC98E1782B41184A7BE3BF6431411C0F0B75E2782B416407CED9D9643141CAA3707DF6782B412497FFB0D9643141EA9E3CACF5782B4184BE9FBABF6431414C50FC98E1782B41184A7BE3BF64314101000000020000000001000000FFFFFFFF0000000003, CAST(1117879 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1118072, N'{A0CF5794-3109-431D-8D04-D21D07BA4246}', N'014964856', 3, N'NO_PLAN', NULL, N'14964856', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'B', N'1044S', NULL, N'PARCEL B (DD 223186F) OF BLOCK A OF DISTRICT LOT 1044S SIMILKAMEEN DIVISION YALE DISTRICT', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 8, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-06-24T16:12:07.000' AS DateTime), 70642, 1126, 0xBD0B000001040B000000E37A144E2A693641B06D340020EC1C412E2AA91367693641B087855A36EC1C41D656ECAF6F69364190C2F5A8BFEA1C41E40209EA3269364160605452A9EA1C416A226C984069364140D6C5ED55E81C4141CF663585683641106154D210E81C41F441CFA65A683641C0847CD05CE81C41E02D904040683641F074029A83E81C41D9A3703D2B683641506744699AE81C417F6ABCD41868364170832F4CBBEB1C41E37A144E2A693641B06D340020EC1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1118072 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1118503, N'{E5626B8E-2451-4861-8D15-724B26078C4E}', N'001606620', 134182, N'VIP1118', NULL, N'1606620', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot A', N'', N'', N'THAT PART OF LOT A, SECTION 70, ESQUIMALT DISTRICT, PLAN 1118 SHOWN COLOURED RED ON PLAN 1205 OS CONTAINING 1.06 ACRES MORE OR LESS, EXCEPT PART IN PLAN 43243', N'0023', N'0005', N'NO', N'MODIFIED-ICIS', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:56:08.000' AS DateTime), CAST(N'2021-07-29T09:01:37.000' AS DateTime), 3833, 357, 0xBD0B000001040B000000DB56EC6F67173241E0F7C2E4566B17418E3177AD5C17324120CB10C7DA6A174163764F7E2F173241006C09799C6A1741D5A3709DD6163241F073B515326A1741887CD053D1163241303789C12B6A1741295C8F42DB163241F0497B839D6A1741EEB0502B14173241D01B7CE1EB6A1741624BC84735173241203108AC156B174165AA60544017324120DE710A246B1741D4ACFA3C6417324180A301BC526B1741DB56EC6F67173241E0F7C2E4566B174101000000020000000001000000FFFFFFFF0000000003, CAST(1118503 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1119742, N'{493C6D47-4449-4FB9-B7DE-E0C198C53518}', N'011807997', 3, N'NO_PLAN', NULL, N'11807997', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'W2SW4', N'2242', NULL, N'THE WEST 1/2 OF THE SOUTH WEST 1/4 OF DISTRICT LOT 2242 OSOYOOS DIVISION YALE DISTRICT EXCEPT PLAN KAP63764', N'0163', N'0012', N'NO', N'ICF', 4, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-10-15T12:19:38.000' AS DateTime), 80577, 1186, 0xBD0B000001040C0000002A0681750DB13641A006F0963FB82241D63D79F80DB13641E012F28135B8224137B4C83624B13641101DC9A579B62241780B24285BB03641D0B584BC53B62241CAC3422D38B0364180BA498C17B922410468222C37B03641987571DB2BB92241A223B93C72B036413085EB9187B92241F38E53D4D5B036415070CE489AB922414C03788BFBB03641A0D6346FA1B92241469D80E6FDB03641E85A42FE72B922414B50FCB808B13641A015FB0B9DB822412A0681750DB13641A006F0963FB8224101000000020000000001000000FFFFFFFF0000000003, CAST(1119742 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1120457, N'{E0FBA806-08E0-46E6-A8C8-0B93AFB3D845}', N'011826274', 3, N'NO_PLAN', NULL, N'11826274', NULL, N'29027.150', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'1899-12-30T00:00:00.000' AS DateTime), N'PART 89', N'4589', N'', N'PARCEL 89 (SEE 85409I) DISTRICT LOT 4589 KOOTENAY DISTRICT EXCEPT PART (1) PARCEL A (PLAN 117879I) (2) PARCEL B (PLAN 96783I) (3) THAT PART LYING SOUTH OF A LINE DRAWN DUE EAST FROM IP 47 SHOWN ON PLAN 524 S1 TO THE WEST BOUNDARY OF PARCEL 82 (4) PLANS 94073I, 104478I, 3099, 4485, 5058, 6343, 6726, 7024, 9393, 9514, 9587, 12100, 12585, 12587, 15443, 15692, 16378, 18301, NEP19861, NEP20648, NEP21051, NEP22339, NEP22933, NEP59847, NEP64864, NEP65597, NEP71445, NEP82674, NEP82972, NEP84640 AND NEP84642', N'0135', N'0018', N'NO', N'MODIFIED-ICF', 4, N'DATACOMPILATION', N'UNKNOWN', N'0', N'43769075', CAST(N'2018-10-12T15:08:10.000' AS DateTime), CAST(N'2021-11-29T10:47:40.000' AS DateTime), 43735756, 79654, 0xBD0B00000104DA030000BED32B650C703B41306744A903AB20416619E298E56F3B4190128380D8AA20416EA3015CBC6F3B41F8F0F4CAA0AA20415FFE43DAA46F3B41281AC05B84AA2041BA490CC27B6F3B41403BDFCF50AA20416EB5159B526F3B417874249719AA204154B1BF4C336F3B4110295C4FF6A92041D8CEF7330F6F3B41D81B7CA1C4A92041C6A14576EA6E3B41F8ACFA9C97A92041F23845A7BD6E3B415007CE5985A920417414AEC7966E3B417891ED3C76A92041248E7511706E3B41885E29CB62A920417858A8954E6E3B41A001BC8548A92041FFBB0572316E3B41E0770B642DA92041E2B5841C096E3B4138FF217DF4A82041226C787AE96D3B4130B29D6FC8A820417E9ECD2ABE6D3B41304CA64A9FA8204194CB7F08946D3B4160B5157B87A8204133EF3805536D3B4160F38E9366A8204164BC7493166D3B41200456CE4FA82041A435CD7BE26C3B414092CB7F43A82041CAFEB21BBB6C3B418038D68546A82041C07D1D78946C3B41C08D06B055A820410BD7A310606C3B41C8AACF9572A82041492EFFC1116C3B41B86E12C3D5A820416AB3EA93D16B3B4148E8D9EC2CA920410EA5BD616D6B3B41B85B20C185A920411ED26FFF2F6B3B4160401361B6A92041EEA7C64BD76A3B41A06588230FAA204198DD9327A96A3B41D0A1457640AA2041DE02098AF7693B41E83D7958C7AA2041427B830FE9693B41E04B37C97BAA2041D45D4B68E1683B41F06C56BDA5A72041C8FEB23BE1683B41505C8F42A5A720411F38672457683B41F018731716A620419B9999B9DF683B41D81951DAF8A320410C71ACEB33693B41684BC88785A3204176F0852934693B41B856EC2F85A320418F7571FB846B3B4138D26FDF3AA02041B66B0979966B3B41B0BAB88D21A02041D6817306056C3B41A0EFA786819F204160C3D34B0F6C3B41F88AFDE57B9F20415D8FC2D51D6C3B4100197397759F20410F583994336C3B4118098A1F6D9F20419C559F2B516C3B41E885C994589F2041C00E9CB3606C3B41E8263188529F20410E462515736C3B418823B93C4F9F2041B6BFECDE826C3B4170D93D39459F204173E09C118B6C3B4180E09C51439F204122166A6DA06C3B41D0DEE0CB409F20410C363C7DB16C3B41B0C42070619F2041CBDCB584B56C3B41F821FDB6809F20419206F0F6B06C3B4190BDC1D7A79F2041315530AA9B6C3B41103FC69CC89F20412A5C8F02986C3B4158BF7DDDE19F204172469456A36C3B41083FC61C0DA020417B0B24A8B46C3B41D00209CA29A02041C8E53F84C76C3B41B0E848AE2EA0204184F4DB97CE6C3B41C06D34802EA020411EFDF615E86C3B41386744E91AA02041C3749318F86C3B4148BA490C1DA02041C9E53F44FF6C3B41E0361A002BA020417D9ECD2A036D3B41405C8F424CA020419EA223D9016D3B4160D7123270A02041AF9DEF07146D3B41103FC61C8FA020413A1AC07B296D3B41C834EFB89AA02041CE915C7E396D3B410888F4DB9CA0204195081B9E4B6D3B41B8A679879DA02041A6BDC177646D3B4188D0B3D993A02041EF8E53347B6D3B4148D3BCA38BA0204186B0E1E9906D3B4120A7E84893A0204142BD5236A06D3B41503BDF8FBFA02041841D38479F6D3B4148A8358DDDA020417614AEA7926D3B4108E3369A04A12041EA73B535846D3B4140158C0A19A12041464772997A6D3B4138C9E5BF30A12041DEA3701D7E6D3B41A0C56DF457A12041C4D32B458F6D3B41E8D9ACBA86A120410CD044789A6D3B41287D3FF5B3A12041E52406E19A6D3B41F8088A5FDCA12041E5043491986D3B4140DF4F0D00A22041868EE432916D3B41D896904F14A220418C3A012D7E6D3B4198CA328421A22041C6A145D6726D3B4148A4DFBE34A22041285C8FC2736D3B4118917E3B55A2204122F6971D806D3B41789B559F70A2204134992A38906D3B41C8E53FE480A2204178F2B090A26D3B41B06A2BB68DA2204136EF3865B96D3B41602EFFA193A2204177BE9F5AD06D3B41A0976E9297A22041F4A7C6CBD56D3B413003780BA1A220416CD5E76ADC6D3B4168DE710AC7A22041A511A57DE26D3B4138AA601405A320418126C226E76D3B41F86722EC58A32041E8B0504BED6D3B41505A64BB76A320413FE8D9CCF66D3B41A0D1005E8FA320413C894120076E3B4158F085C9ABA32041B6A679A70D6E3B41409D80A6C3A320415EEE5AA20B6E3B41F8FFFF3FD3A32041F87E6AFCF06D3B4118D6C5ADF8A32041B047E1FAD66D3B41507C613214A420412C211F74D36D3B4138A2B4772BA42041867346F4D86D3B4170FB3A3053A420412E75025AEC6D3B4130DC46837EA42041AEBFEC9EF76D3B41481361838BA4204142355EDA076E3B41B0CCCCCC99A4204188A757AA0F6E3B4108508DD79DA42041B3E1E9D5166E3B4148CC5DCBABA42041CD44D8302B6E3B41B011A57DE7A420415817B711326E3B41A801BC8509A5204152DA1BFC336E3B4148014D442AA52041463789A1326E3B41E03B4E515EA5204176029A88316E3B41388B6C678EA52041F3A9F192326E3B41C0779C62EBA52041E46A2BB6346E3B41B014AE4718A620413B11369C3D6E3B41C86A2BB62AA6204138B4C8D6406E3B4180984C9544A620410422FD96436E3B4138764F9E5AA62041167C6152426E3B41E0D85FB67AA620419A658803426E3B41B013D08482A6204158863856416E3B4160CC5D8B9CA6204144C807BD426E3B41686B9A37C5A62041083411B6416E3B41D8172613D5A620415E863836476E3B41203A92CBFCA62041DE3D7918526E3B41407FD9BD0FA720412897FF70646E3B415804C58F1CA72041549FABAD806E3B41F8F21F123CA72041288716B9986E3B41706666664EA72041D666D587B26E3B41482BF61755A7204157C1A8C4C66E3B411071AC4B54A72041DA2406C1DE6E3B41102E906048A72041741B0D20F76E3B4138DC468336A7204104AC1C9AFC6E3B41782D21DF2FA720418BFD65B7146F3B413090A0F821A72041CC8F3197256F3B414850FC5826A72041EA8C28ED456F3B4128C286E744A72041CB20B0D2536F3B4180B7408248A72041E795B2EC686F3B41F8A067F349A720415305A3B27A6F3B41707CD07340A720413C1361E3836F3B41589621CE3EA720410EC7BAD89A6F3B4198FF90BE42A72041C8293A12AC6F3B41E802094A51A720410DA3927AB66F3B41603480376AA720416FE7FB69856F3B41C07A146ED5A92041F285C934A36F3B4140FF217DFDA92041119C3302DB6F3B41B0C0CAA141AA2041C230994A03703B4120DF4F0D78AA2041418B6C072A703B41788A8E24A3AA204154840D0F45703B41F0EAE276C7AA20417ED93D995B703B4170F08509EAAA20416EAC8B1B85703B410088F45B21AB204142A4DF9EAB703B419028ED0DAEAA2041B61E850BDF703B41809B559F16A8204146257522E1703B41E8ACFA5C18A820415E1058F9F1703B41582CD4DA2CA820414F6B9AD706713B4108098A9F60A82041604BC8C71B713B41C80B932974A8204131BB27AF28713B4160EE5A8277A820410812141F40713B41984082A283A82041AAA44E204C713B41B03E57DB94A82041A23C2C7457713B4168F5B91AC0A8204117AE478158713B414851DA9BDEA820418C28EDAD55713B41A0FD65370AA92041DACEF7B355713B41B005129438A92041A2F1D2CD54713B4170EA047446A92041A4EFA7264C713B4170029A886EA92041AA13D04444713B412890A0B88AA9204198559FAB45713B41302FDD64B3A920419E559FCB5A713B418057CA32E3A92041A43C2C146C713B41B8DA8AFD0FAA20418261321580713B416881048541AA204180FB3A30A9713B419011A57D74AA2041EE164890B7713B4108B9FC4780AA2041088A1FE3CC713B41D876BEDF8DAA2041EAD24D22DB713B4180AF94A59BAA204165B3EAD3F2713B41B8DFBECEA3AA2041C9EEC9E3FB713B41788A8E24A4AA2041AE8BDB880D723B41F0F675A09CAA2041F41FD22F1E723B4190506BDA94AA20414C50FC582B723B410048503C94AA2041A6A44E4038723B417061329597AA2041723480374E723B41D0EEC9439BAA204167226CB85C723B414805A312A5AA204170787A656D723B41389E5EA9CBAA204172F90F6973723B4150EA0474EBAA2041CC88D2BE7D723B4138C58F7116AB204172D712B27F723B41203CBD1227AB2041905CFEC392723B41B086A79776AB2041841D38879C723B41184A7B438BAB2041BA96904FA8723B41E0AACF5590AB2041829ECDCAAA723B41103FC69C8EAB2041E695B2ACC1723B41206C78BA7EAB2041236C78DAD5723B41B86800AF5FAB204177F2B050DD723B4198DFBE8E59AB2041C039236AF7723B41E89E3C2C4CAB2041B047E19A00733B41D0B88D864AAB2041D4A3709D10733B41F042ADA94CAB2041225A645B1B733B41083D9BD54FAB20413C5EBA6921733B410873D71251AB20418FC2F5C847783B41789CA2A3A0A0204116022BE7B26C3B41F099089B2F9D2041C47F48FF456C3B41C83099AA0F9D20415C4BC847556C3B41F00DBEF01D9D2041DF5817177E6C3B41D8C7983B4A9D204156522760B86C3B41180681159E9D20418104C5AF056D3B41D054C1E8359E20411D4A7B43DD6D3B41380DE06D549F2041585BB19FE46D3B41806E12C3609F2041B415FB4B036E3B419016D90E929F204193779C42216E3B4190006F41D49F20419E703DEA306E3B411033C471FD9F2041B403E7EC406E3B4118BD525630A0204172D712524B6E3B4128E2585764A02041ACE1E9B58F6E3B41F02D9020B5A12041C698BB36D56E3B41805AD3BC8EA3204150621098F46E3B41E84C848DDCA3204198DD9347EF6E3B41F8E9957233A42041030000600B6F3B4180F2B010F1A42041A001BC05116F3B41A8703D0A0BA520412163EE1A1D6F3B416829CB501EA52041290681352C6F3B41C0B662BF20A52041944C15CC366F3B41003C4E1120A5204177029A88416F3B41E8D0225B11A520416C8104C5466F3B4120363C7D0FA520417C832FAC426F3B4110AD699E1EA52041A4F1D2CD326F3B4138F697DD3FA52041ACB662DF286F3B41C0D85F7652A5204139A4DF3E206F3B411842CF2664A5204132E6AE05126F3B41904082A275A520413CDF4F4DFF6E3B417887855A84A5204172469456016F3B41B886A7577BA52041E6D9ACDA056F3B41C0B6623F6BA52041DEC798DB076F3B418858A8755CA52041440AD743056F3B41E03845074CA52041B1E1E9B5EF6E3B41387E8C7902A520416C44698FAA6E3B41C0088ADF38A3204110022B07736E3B419811A5FDC9A120419EF83166306E3B41A0E8486E7CA02041BD172633226E3B41905CFE8345A0204115E258170E6E3B4110CDCC0CFF9F2041EC839E2DFA6D3B41282EFF21D29F20419BE61D47E06D3B41A8E1E955A39F204101DE02C9CF6D3B4170A1D6F4899F2041725F074EBF6C3B414082E207239E2041A96054B2A96C3B41E02D90A0E59D2041ACD85FD6376C3B41B845B6F34A9D2041A03C2CB4126C3B4168FE437A209D2041E85A42FEE96B3B41580F0B35FF9C204113143FC6D56B3B41F0F21F52EE9C2041E63FA45FC4693B41007D3F75539C2041A479C7C9B5693B4190B20C314F9C2041DAE76A6BBA693B41D8F21FD2B59C20414AB6F33DBB693B41805E290BC89C20419DB43758BC693B41180681D5309D20410C5839D4BA693B4118F2410F5D9D2041ABE8482EB9693B41F8D39A268D9D2041847CD093A9693B41F078E9A62C9E204136894160A7693B41586210983A9E2041C9073D7BA9693B41C0EA73B53B9E20411A73D712B4693B41E0043451419E2041D0F75323B6693B4168F90F69429E20415B863816B4693B41080BB5664F9E204195D40988B0693B41107A36EB659E204130992A789B693B41B8DFBE4EEB9E20411C5A64DB8A693B41B8A44E40319F2041F4D24D2289693B41C054C1A82F9F2041285C8FC27D693B41B08AFD25259F2041D356ECEF7C693B41A03A018D249F204136C1A4D371693B41F0DB93F5519F2041883BCEEE65693B41C80922917E9F2041D62A194559693B41C0D9D551AA9F2041DB0373DA4B693B4178411D2AD59F2041421305B33D693B41984EAE0CFF9F20412E3333D32E693B41A0438BEC27A02041EA26316827693B41603789813BA02041E6B7AF0326693B4138C4B12E3FA0204142C6DCB570683B410096B2CC1DA22041CA20B0921B683B4150DF4F8DFEA22041BE9B199C01683B41E8F1926247A32041AAD81B8AE9673B41A85927C692A32041C0BCC86CD3673B410037B885E0A3204140EBE352BF673B4158705D6D30A4204147EAD849AD673B418055BE4782A420410E2DB25D9D673B41783F35DED5A42041E27A14CE81673B4100D9CE3774A5204172CBA65476673B41584E951FB1A52041C293FF8169673B41382670F1ECA5204104B0AB5C5B673B41D8AED08E27A6204145FDE4EB4B673B4160CAC5D960A6204170A88E373B673B41683A0BB598A62041E826314829673B4168931804CFA62041BA6B09F9FD663B4158B3EA334BA72041C9A145B6BA663B411885EB110CA8204146E17A14B7663B4138022B8716A82041A4C64B77B3663B41405C8F0221A8204191ED7CDFAF663B41C0CAA1852BA8204166BA494CAC663B415016D90E36A8204148B6F3BDA8663B41D076BE9F40A82041B4F3FD34A5663B41E0A145364BA820410AD7A3B0A1663B4160BC74D355A8204194A0F8319E663B4198C64B7760A82041DE4F8DB79A663B41B8C0CA216BA82041265C8F4297663B41A0BC74D375A820418C976ED293663B413083C08A80A82041428B6C6790663B417039B4488BA82041463789018D663B41B8F1D20D96A82041E22406A189663B41807493D8A0A820418441604586663B4198E7FBA9ABA820414D8D97EE82663B41C8240681B6A82041A41A2F9D7F663B4168643B5FC1A820414060E5507C663B41A86E1243CCA820413A5EBA0979663B41F8550E2DD7A82041448B6CC775663B41082DB21DE2A820411083C08A72663B4140E17A14EDA820412F3333536F663B413860E510F8A82041A69BC4206C663B4168BC741303A920416BBC74F368663B41C8F5281C0EA920417C9543CB65663B41580C022B19A9204122B072A862663B4188ED7C3F24A92041D2F97E8A5F663B41D89999592FA92041570E2D725C663B41F822DB793AA9204155643B5F59663B41D076BE9F45A9204176E9265156663B41F8A7C6CB50A920415B39B44853663B417091EDFC5BA920418841604550663B41806ABC3467A92041841D38474D663B4108D7A37072A92041508D974E4A663B41A845B6B37DA92041ECD0225B47663B41806CE7FB88A920410A560E6D44663B41C04B374994A92041B21C5A8441663B41B8F5289C9FA92041A49BC4A03E663B41007D3FF5AAA92041986E12C33B663B4100AAF152B6A92041D2F97EEA38663B41F0A145B6C1A920411AE2581736663B41E851B81ECDA92041C64B374933663B4150DF4F8DD8A920417012838030663B4178128300E4A92041DCA370BD2D663B4178EB5178EFA92041C576BEFF2A663B41C8A145F6FAA92041408B6C4728663B417810587906AA2041BCF3FD9425663B41D024060112AA2041428B6CE722663B41B0F1D28D1DAA204194ED7C3F20663B411889412029AA2041A01A2F9D1D663B41B0C64BB734AA2041FAFFFFFF1A663B4118AAF15240AA20410E363C3D12663B4150B29D6F67AA2041BCF3FDF401663B41681B0D20B0AA204157A8352DF1653B4158EC2F3B2CAB20419075719BD5663B411064CC1D6DAB2041187C6172E9663B4168499DC072AB20414A477279C3663B41C0703D4A72AD20410593A98285653B41205305E313AD20419CFF901E65653B41B8CCCC4C6CAD20415AF5B9FA3B653B4138B4C8F623AE20417724971F24653B41D05817778EAE2041D6CEF7530A653B41388941A001AF2041345EBAA9D1643B4158E3A59BFEAF2041C8A14596DF643B41B0F1D20D0BB0204196438B8C81643B41E0F753E3AEB12041500E9FD973643B4170DB38D8EDB12041308EAEC666643B41108A9D542DB22041729C08555A643B41380628526DB2204148EFEB854E643B41F86671CAADB22041FEF9865A43643B41407C06B7EEB22041D8CEF7D338643B41A872681130B32041E54F8DF755643B411889412042B3204130DD248653643B41C89DEF2752B320413CF8C2440E643B4128C4B16E18B52041D22B65D9F3633B41C8D9ACBAC5B52041906CE7DBB1633B41B84F8D9776B720414EB81E45B1633B41608FC2757AB720413D5EBA29AF633B41484BC84788B72041DCFB4A53A8633B41D0DD4C5DB3B720417245F3F5A0633B4160BA8319DEB72041CB5FD61299633B410870D37508B8204117182CAB90633B41185DB16B32B8204198B340C087633B41D0B1A2F45BB8204163BC74537E633B41B0703D0A85B82041409621297E633B412824BBEA85B82041320429F47D633B41F86AFEC186B8204128E409B57D633B4108B6038E87B82041CF635B6C7D633B411862E24C88B820414896CB1A7D633B41C04BD1FC88B820415CD31DC17C633B4138152B9C89B820419CE328607C633B41601872298AB82041ECFDD4F87B633B41E0F753A38AB820418BC2F5C822633B4110FCA97115B92041C20D77CB1C633B4130F85B4D28B9204122F9FBAF16633B4148946D023BB920413CC7C27610633B41B81A20904DB92041E8E90A200A633B41A867B6F55FB9204198FF14AC03633B41C8F0743272B92041ECD0221BFD623B41C0CAA14584B92041FA7E6A1CE6623B41300E2DF2C1B92041FDD47849D0623B41A847E17AFCB920412A068135A2623B411885EB1178BA20412431080C99623B41402FDDA490BA2041C40512B473623B41389621CEF4BA2041DE02098A22623B41D0361A80CEBB2041894160E504623B41A8490C021EBC20413BC6DC9501623B4178AC8BDB26BC20412CB29DCFE9613B4130B0726866BC20417EC0CA61E9613B4130DF4F8D67BC2041C8A145567D613B4170643B5F88BD2041ECA2C7B66D613B414043EBA7B3BD2041C6646CC25E613B41C884D1DFDFBD20410EEEC67C50613B41C08E5CFC0CBE20417A8340E942613B41A021C4F23ABE20411ED7170B36613B4158EA0BB869BE20418C4160E529613B41F024064199BE2041EF1FD24F19613B41906CE7FBDCBE204185855A13F6603B41D056ECEF6CBF20416EE7FB09C7603B41906588232DC02041BA490C22AF603B4188C420F0A6C02041455986F867603B41A0EA7335D7C120415D5DDC26FC5F3B41982C435C89C32041A8BDC1B7E25F3B41100BB566EBC32041F831E68EC95F3B418087855A31C420412CC28667815F3B41F87C3FB5F4C420413480B740665F3B41887CD0333CC520415AB1BFAC3F5F3B41901D386797C520418AB0E1690F5F3B4190C2F5A808C62041772D211FCF5E3B41E85F768FA6C620416891EDDCD15E3B4128DBF9FEAAC6204159A8350D755E3B41703D0AD78FC72041B7408222665E3B41E851B89EB4C720411E5A64BB405E3B41586210D810C820418E976E32375E3B417841602528C82041D04D62902D5E3B41B8703D4A3FC82041F47C3FD5235E3B41F880954356C82041A89BC4001A5E3B41C0CEF7136DC82041A045B613105E3B4150EB51B883C82041C27493180E5E3B413047723980C82041F875E05CE25D3B41109E5E69EBC82041CAEEC9C3B85D3B4130DBF93E36C92041AE1C5A24955D3B412831086C74C92041C776BE1F775D3B41080EBEB0A2C92041EBAE25E4755D3B4128F7E461A4C92041947571FB705D3B41B8D24DE2ABC92041C49F1AEF525D3B4140C0CA21E0C92041E3F21FD2435D3B41E0E53FA4F9C920419E11A5BD3C5D3B410819739705CA20412BE4833E3C5D3B41980F7A7606CA20411AB7D160375D3B41A0C798FB10CA2041AF7BF2F0235D3B41C047E17A41CA2041E8C039A31C5D3B41983D0A9757CA2041E83FA43F0D5D3B4140C1A8A490CA2041CA54C1C8075D3B41E8A59B04AACA2041989999B9F75C3B4190643B1F05CB204119FBCBCEF35C3B41E8718ACE1FCB2041E40B93A9E35C3B41B82FBBA7A1CB2041DC9AE6BDDF5C3B4128E17A54C7CB20412E6EA301D95C3B4138211F741FCC204107CE1991D65C3B4118FBCBEE61CC20413ADF4FCDD25C3B419837F8C2BACC20411448501CD25C3B41104703F8C4CC20418C4AEAE4C55C3B4108CDCC8C5CCD20410F0BB566BF5C3B4188BE9FDA92CD204172348017B75C3B41982A1815C0CD2041FEDD02499A5C3B41D8A7C68B3BCE204118E25837525C3B4178E09CD157CF20412EB29DAF415C3B41C05D4B0890CF204133211F54275C3B41582EFFA1D8CF204172567D0E225C3B41202FDDA4E5CF20417ABE9F3A135C3B418816D90E14D0204138DF4F0DF95B3B41308195C35BD02041B07268B1DC5B3B41F8A9F112A0D020410A819543BE5B3B41085A64BBE0D020414A94F6666D5B3B41F043FA2D82D12041B0506B5A285B3B4108BADA0A0CD220412F55304A195B3B4168764F1E2AD220415E5452C7015B3B41E05F760F59D2204196CB7F28DE5A3B4180E8482EA0D22041A84E40D3305A3B4128257542FAD320415E3255D0FF593B41A0D1001E5CD42041BA40820259593B41481E162AA9D520414BB6F37D32593B41B8F21F12F6D52041665DDCC696583B4128EC2FFB2CD72041AA57CAD259583B41484469AFA6D72041577DAE9633583B4138CB1007F3D72041A0703D4A18583B416039B48829D8204134B29D6FF0573B41A84B37C983D820412FE6AE45E3573B41A0ABAD98A1D8204166BA490CD1573B41E82CB2DDCAD8204180B740E2C8573B41B8BDC1D7E2D82041AC1C5AA4AA573B41B0D409A83BD9204185A757EA99573B41F06F5FC76CD92041F48E53B496573B41781B0D2077D92041BEE3143D92573B41F0B7AF8385D92041DE2D90E07C573B41F02FBB27D9D9204194C2F58863573B4180C0CA613CDA2041DCACFABC4F573B41F02631C8A7DA20410088F4BB1D573B41C800DEC216DC2041028195C3A8573B41B8D2DEE044DC2041BE7D1D38BD573B41188C4AAA4BDC2041A2703DCA2B583B4118BE305970DC2041E873B575FE573B41D85F760F51DD2041D2A3701DEB573B41303411F6B0DD2041C2E53FC4C0573B41500AD7E382DE204132BB270F83573B41502041B1B4DF204150B81EE550573B41B02A1855ADE020417E51495D45573B4150499D80E6E02041839ECDAA3F573B413092CBBF02E12041ECAE25448C563B4150A8350D7CE42041ECF21F924E563B41C8F753E3ADE520419C89B0E110563B41385A64BBDFE62041354ED191F2553B41F0FC87B475E720414E94F646ED553B41B8915CFE8FE720418004C52FD3553B4180976E9211E820412431080C1A553B41E84A5906A7EB204162FE433ADC543B41F0B050ABD6EC20419C923A819E543B41B059F57908EE20414E158C4A59543B41581361C361EF20418DCB7F8836543B4188438BEC0DF0204133A2B497F1533B415837894164F120413EAD695EEF533B4180F1634C6FF120418AF4DB37E8533B41405F07CE92F1204176E92671D3533B4198081B9ED7F12041D8F0F4CA21533B41789ECDAA24F420414060E5B0DE523B41D885C91403F52041A43C2CD4D4523B41E0FFFFBF23F52041787AA54C86523B411837890128F6204140BD5216D7513B41C08251896CF82041AAF1D28DA4503B41A0F6069F66FC2041245A64BB29513B4138DC46436CFC2041B68D067041513B4100143F466DFC20414EF38E53EA513B41D0DCB5044BFE20411B4850FCEB513B412850FC9882FE204106F9A06701523B41E84F8D5727FF2041605452C7FE513B4170EC2F3B6CFF2041BC42AD0907523B41E0D78133B6FF20417ED7A98E05523B4138159AF6C1FF2041E802179704523B41B06DE9EFCDFF2041EC5ECE2404523B4110088808DAFF2041978AAA3804523B4188265229E6FF2041FB8785D204523B41986A143BF2FF2041070539F105523B415835B826FEFF2041458EA09207523B4140D56FD50900214148A89DB309523B41E821E23015002141F0C61D500C523B41D03F552320002141D41722630F523B41682ED8972A002141C010C9E612523B4148D76A7A34002141A6AF59D416523B41505024B83D002141BA5650241B523B41A80A573F460021418A2C6DCE1F523B4120A1B2FF4D002141BAE3C3C924523B41400F63EA54002141D4CCCC0C2A523B41380E2DF25A0021412B0F0B354D523B41187A366B6600214180B740027F523B41C064AA607F002141A6DFBE2EBA523B418058A8F5E300214149BF7D1DC7523B417838D6C52701214128A91310C4523B419864AA20F60121418C38D605C4523B41683D0A1797022141B08BDB68C4523B4128363CBDF8022141D05F76EFC6523B410833C4B138032141946588E3D0523B41E819515A7D032141149C33A2DC523B41489ECDAA0C0421417E26C2A6DB523B41886132154B0421417A711BCDC9523B41B898BBD6FA04214178832F4CC5523B41E021FDF6390521416107CE39DD523B412838670454062141DDA370DDE7523B41185C8F828406214182C0CA0107533B41009A085BE7062141EE51B83E0B533B4130FC187302072141E6E236FA12533B41F0F21F520E07214112E9B7CF18533B41E81A9E1E2D0721419D2A187529533B4190CB7F084C072141DB56ECEF40533B414896214E67072141CC20B01264533B41C0F5289C4907214184D93DD979533B41502EFFE12707214110143FC689533B41F06722EC0B072141F997DD3398533B417851495DF90621413F8B6C07B1533B417016D98EC4062141009A081BD0533B41B88F3177A0062141BF5B2041DD533B419816D9CE8D0621416CF7E401EC533B41E863CC1D8B0621416E8A8EC4FF533B4158029A08AF06214174787AC507543B4100575B31C606214112BE30990B543B4138355EBAE106214172A3015C13543B41C032C471F0062141780B24C807543B4158BA49CC44072141C0D32BE5EE533B4110F8C2E48C072141326744A9E4533B41C0D634AFB207214168DE716AD6533B415888631D06082141ACADD89FD8533B4180E2C75855082141F0EBC079D5533B418013D04484082141B69690CFD8533B41C0FEB23BAB082141C6C342ADD8533B4198658863EA082141AEEA7315DB533B4100560E2D190921411D3867E4D8533B41D0BAB84D5C0921411F3FC67CD1533B41903B4E11830921411E4A7BE3C7533B41D86B09F9D5092141C96D34A0B1533B4198ADD85F550A214158522760B0533B4138378901910A21412E7E8CD9B8533B41885E298BBC0A2141441CEBA2C2533B41686ABCF4E50A2141277E8C39BF533B41B830992A080B214152A60AE6C6533B41F8770BA42F0B2141A489B001C3533B416044696F4E0B2141AAF1D2ADC6533B4168D712327C0B2141E39C1105D7533B41C875E01CE20B21410E61C3F3DD533B4128E02D50040C2141627FD9DDE7533B41A8E1E915150C214142575B11FA533B4128CB10C76E0C2141E9482EFFF9533B41588A8E648E0C2141044D84AD18543B4178D93DB9650D2141E8D0221B28543B41F00AB526AF0D2141D66800CF3B543B410864CC5DD30D2141F163CC1D64543B41581361C3160E21418EE4F23F82543B4128E258575F0E21413435FCAD82543B41C8556D77660E21417BC48A7183543B4128929F7A6D0E2141D156E08884543B415036EF50740E2141D6857FF185543B41284EC2EA7A0E21418A6E31A887543B4108EA0839810E21412E070DA989543B41107F5F2D870E2141630B80EF8B543B41F0BB2FBA8C0E21419E6A59768E543B41E889CFD2910E2141E420D53791543B41D8F19D6B960E2141BE5EA92D94543B4120A71D7A9A0E2141B9E2145197543B4170F50CF59D0E21411E63EE9A9A543B4148E17AD4A00E214109B5A679C2543B41F0D478A9FC0E21416609F900F3543B41F8E2361A5D0F21410A8195E3E7543B4160A3013CAD0F214160FE431AE4543B41B0B6623F10102141CA915CBEE2543B417827A0C93310214192180416E2543B41386C78FA44102141986588E303553B41F00B936936102141B225E4831B553B41783480B73710214154F38EB333553B41581058394910214134014D044E553B41A0E4F2DF58102141692BF67764553B419006F0566C102141CF00DE227B553B419833A2347C102141454772998D553B41C888D25EB41021418ACB7F089F553B4160C1A824C31021410CD7A3D0A6553B41A88BDB28C510214106B5A639A8553B41F0B050ABD9102141DAB5845CA8553B41A02F4CA6DB10214112C7BAD8AD553B410861C353FF1021415EC1A8E4B4553B4168C2F5282D112141244A7BE3EC553B41B8B12EAE2D112141D81B7C61A5563B4178984C1535112141000CDE26BA563B41A809FBBF34112141C2561FE1CE563B41D0780F0B32112141C02CE87EE3563B4178ACCDF82C112141F190F8EEF7563B4110E9738D251121419AC736200C573B41786437CF1B11214113A5BD0120573B4100143FC60F1121415C423E0881573B4108B5A6F9CE10214123B072E8A9573B414872F90F93102141EC2FBB275E5A3B41F0482EBF1EEC2041D48AFD05435F3B41B07268D1B3DD20410E363C3DB7643B4118211FF4A2CD2041A0ABADB842663B41305EBA0916C92041A89BC40086673B41F0285C4F68C520415027A0C9BD683B41783D0A17DCC120419D33A2D4A0693B41181214FF46BF20417C734634166F3B41E89C116562AF20413A0AD7035D6F3B41486EA3C193AE2041E951B8FE6C703B41D00512147AAB2041A60A464542703B41B0A2237949AB2041BA5B200126703B4108E10B1326AB2041BED32B650C703B41306744A903AB20418D180476C3573B41786ABCB47B332141D11B7C21DF573B417892CBBF7F342141CC6F5FC7F4573B41C8F5281C16352141E50B93C905583B41E8FFFF7F733521410A8A1F2317583B4138B6F33DC6352141C65B200132583B4118499DC02B362141B8847C705E583B4130E17A54DD36214146696FD051583B41903177EDED362141550E2D9271583B4130E258D76C37214199FF90FE95583B41106A4DF3FD3721414AB81E25BA583B41D8A67987AD382141AE8BDB48DA583B41A8E848EE4E3921416E09F9000A593B41007C61B2363A21411CC05BA033593B41C0B35935D03A2141225A649B56593B41A0051214343B21410424285E78593B41C856EC2F843B2141EA043431A2593B41E087F45BE33B2141E2BE0E7CEB593B41301AC0DB803C21413C234A3BC05A3B4130FAEDEB533E21416E8A8E84125B3B4108E10BD3043F2141C25B20A16F5B3B4138FC1833D13F214138DF4F4D965B3B41500C022B424021417E1D3827AA5B3B4180F08509B64021415B302A29BD5B3B4100075F98C941214173B5151BCE5B3B4180DD93C7F042214104000060E25B3B4148E9263148442141F263CC3DE95B3B41286519629B442141EBAE25C4EE5B3B41881F636EEB4421410EC7BA38F85B3B41000000003A45214156CA3284055C3B4118BC055286452141CEDCB584165C3B41680A46A5CF452141B68D06102B5C3B4160B74042154621416DCE88F2425C3B41E010C77A564621419ABB96F05D5C3B41480C02AB92462141473789616C5C3B41C0DEE0CBAE462141BE30992ACD5C3B4168A4DFFEDA4121414903782B895C3B41600C022B4F4121418004C5AFE95B3B41C81E85EBF53F21415639B4C88A5B3B41A82A18952E3F21415E07CE59465B3B419006F016A13E214108A3927AFB5A3B41D831E6EE843D2141A44E4073A15A3B41E0A3707D253C2141C1A8A46EF5593B4180A757CA96392141E08C28AD65593B41F8F1D20D7237214124C28607DD583B41587424176535214193FF907E3B583B41E0D5566C0033214165BA49ECE7573B4188D1001EC1312141CB20B0D285573B41D80DBEB04E302141173FC69C4D573B41A8E1E955712F2141945374841A563B410031082CC52A214170C5FEF2E6553B41F08E5334FF2A2141C2D32BE506563B41082653C5892B21415127A0E925563B41C001BC459A2C21414EE3A53B3D563B41787DAE362B2D2141E1E00BF358563B41787268D1DB2D2141A9F1D22D70563B41E04D6250352E21416A006F6195563B4110F775A08B2E214100098ABFBC563B41E02B6559D52E21418841606519573B411804564EEB2F21416A3BDFAF59573B418015FB8BD73021418D1F630E7D573B4100C05BA0813121415A545247A5573B41B0FD6537743221413C795828BA573B410088F45B1F3321418D180476C3573B41786ABCB47B332141887CD0F3DA983B4138431CAB6EBA2141EA6A2B56EB983B41B0F3FD546CBA214124ED0D9EFB983B41F08E53F467BA21417ABE9FBA0B993B414003788B61BA2141245A649B1B993B4180D2DE2059BA2141F30DBE302B993B41B0C876BE4EBA214198B20C115C993B41301136BC2ABA2141A0A2237975993B41001DC9A519BA2141BE0E9C538F993B41A835CD7B0BBA2141FAB9DA8AA9993B41A0703D4A00BA2141C44B3709C4993B4130AC1C1AF8B92141DA3D79B8DE993B41287C61F2F2B9214120B07208129A3B41A835CDFBEBB92141ACE8480ED99A3B4188900FFAD0B92141C86D34A0EE9A3B4140CF6695CCB9214159643BFF039B3B41C0825149C5B92141C620B012199B3B41C888D21EBBB92141336EA3C12D9B3B41502EFF21AEB92141837346F4419B3B41286519629EB92141E17A14AE769B3B41381AC01B71B92141260681F5819B3B41C8EC9E3C66B921415FFE43BA8C9B3B41D8A1457659B92141CE66D5E7969B3B418889B0E14AB92141C439236AA09B3B41E0F44A993AB921414A7B832FA99B3B41D86C56BD28B9214179931824C59B3B4150E8D9ACEAB82141A9C64BB7DB9B3B41501E16AAC0B821416307CE99F59B3B41F8E461219FB821414A378901129C3B41B0CFD51687B821413B454712309C3B4138EF384579B821414A3789E14E9C3B41C82B651976B82141FCFFFF7F6D9C3B41D042ADA97DB82141FD43FA4D6E9C3B41A06E12037EB82141BE7D1D98949C3B41185917B78EB8214186635D1CA79C3B41D8E00B5394B82141270681D5B99C3B41E09AE61D95B82141A245B673CC9C3B41F073B51591B82141D266D5A7DE9C3B41C8DEE04B88B8214158D3BC23F09C3B4130F8C2E47AB82141F53A70EEF49C3B4168ED0D7E76B8214128F6977DEE9C3B41C8923A815AB82141F27E6A9C5B9D3B41F013D044F6B72141809ECDCA6C9D3B4110341136E3B721412A0681557C9D3B41E068002FCBB72141FEE461E1899D3B41407FD9BDAEB721417836AB1E959D3B4118F016888EB7214197BB96B0989D3B4128B9FC0780B72141D7E76ACB9D9D3B4188BA494C6BB721415BEE5A62A59D3B4108DAAC7A45B721413E6744C9AC9D3B4140C807FD23B72141BC0E9C53B59D3B4118D0449803B72141507424F7BE9D3B4160A1D674E4B62141CE6F5FA7C99D3B4178D93DB9C6B6214186F4DB57D59D3B4118A7E888AAB62141045F98CC0B9E3B41583BDF0F30B6214103098A5F1E9E3B41C078E9A6FEB52141DE9C11A52C9E3B4178F38ED3C7B521416DAC8B3B369E3B415005A3128DB521418ADB68E03A9E3B41D04603F84FB521416AB3EA733A9E3B41E0E76A2B12B52141E0B584FC379E3B417848BFFDDEB42141105839B4379E3B4108CAC3029EB42141E8F21F123D9E3B41888CB9EB5DB421416C6891ED479E3B41F89E3CAC20B421416029CBF0579E3B4168643B1FE8B32141C676BE9F6C9E3B41D0915CFEB5B32141CE22DB59859E3B41180456CE8BB32141C2B12ECE9F9E3B416850FC586CB3214144F163ACA59E3B4180F6069F66B321415EF740D4A69E3B41085F947C65B32141C5855CFBA79E3B41C89C125764B321413696B421A99E3B4168B2832E63B32141BC234747AA9E3B4100A9E90262B32141CA2A126CAB9E3B41188F46D460B3214122A91390AC9E3B41B8779CA25FB32141F441CF66B79E3B414892CB7F53B32141B815FBEBC19E3B41305EBA4946B32141F5065F18CC9E3B41E8B9DA0A38B32141181DC9E5D59E3B4138F016C828B3214134DF4F4DDF9E3B41B0CDAA8F18B321410368226CE49E3B41D85B20010FB321410E022B67E99E3B41F01DA72805B321419D081B3EEE9E3B4110A7E808FBB22141B89690EFF29E3B41E09C11A5F0B22141C610C77AF79E3B415891EDFCE5B221415CFE43FA1B9F3B41581DC9E58DB22141B696906F2A9F3B41781283006BB22141816ABC34389F3B41786FF0C54BB22141CE4B37E9469F3B418815FB4B2EB221411CDBF97E569F3B41A01F63AE12B22141B659F559649F3B4190EEC903FDB121417F2F4CE6669F3B41984BC807F9B121410E5F98EC699F3B41D03FA4DFF4B121416E3BDF0F789F3B4170A0F871E1B12141E9C039A37C9F3B41F0F8A0A7EFB121417624977F809F3B41B83E575BFBB12141A657CAF2839F3B4138A60A06F7B12141C4C117069A9F3B41308941E0DAB12141AE2C43DC07A03B41A8CEF7D34EB12141CD22DB9925A03B41780B24E828B12141E6361AC053A03B413039B488F3B021416FF0850984A03B41E061A156C6B02141CE2B65D9A2A03B41806E12C3AFB021411795D489A3A03B4110A5BD41AFB02141EBE2361AB6A03B4100F9A0A7A1B02141D244D890E9A03B41502575C285B021415EC3D30B1EA13B41A0635DDC72B0214172E7FB6983A13B41E03D795857B02141570E2D3287A13B416817B75156B021418E1F63CEEDA13B41286B9A773AB02141A21A2FBD21A23B41582D215F2CB0214193900F3A22A23B41184D848D33B02141ED51B83E23A23B41584C158C42B021418EA0F8D123A23B41402575024BB02141B6FE5FB524A23B41F015F1FC4AB02141DB36869825A23B41D830BCE64AB021418CE81C7B26A23B41381FDEBF4AB02141CCE4D55C27A23B41904A64884AB021411E49633D28A23B4138D761404AB021416A9A771C29A23B41A89DEFE749B0214150D1917C70A23B4110AC1C1A36B021415A643BDF32A33B41107A362B00B02141A65E29EB85A33B41B02D9020E9AF214164AA60D496A33B4158257542E5AF21410C1B9E1EB0A33B41C822DB79DFAF214168006F81DAA33B41F81A9EDED9AF2141CE1951FA04A43B4130CF6655D8AF2141DC56EC6F2FA43B4120F697DDDAAF21413B5EBAC959A43B4120FDF675E1AF2141A401BCC55DA43B417068912DB9AF2141DE718ACE6CA43B41884AEAC4BCAF21417C3F357E71A43B41C09DEFA7BDAF21411AB7D1406EA43B41E07F48FFB7AF21413E11369C66A43B41401B0DA0AFAF21415AC1A8E462A43B4120257502A4AF2141F8CBEE4961A43B41B81C5AE49BAF2141DC0968C260A43B41B83099AA95AF2141C8293A9263A43B41F8FFFF3F74AF21410C51808464A43B41A88EC6EB71AF2141B8EBAB7065A43B41A0A0D58D6FAF2141A20AA45666A43B41402F6D266DAF21412266503667A43B41A833CEB56AAF2141CA60990F68A43B4180A03A3C68AF2141DA0968E268A43B41C059F5B965AF21416C46943669A43B41C8073D9B61AF2141DE718A6E68A43B41B0CDAA0F58AF21413DD576D468A43B4198547E8755AF2141C0F3DB3269A43B41E879C6FA52AF2141FEDAAC8969A43B4150C4DC6950AF21419EA2DDD869A43B41B04D1BD54DAF2141F76D63206AA43B4128B7DC3C4BAF2141C76D34606AA43B41C81B7CA148AF2141E8D0225B6AA43B4160BC74D33AAF2141147A362B6BA43B4170900FFA2EAF214103DE02A96BA43B41E861A19623AF2141325EBA096DA43B41B08EE4F215AF21419075711B6EA43B41D078E9260CAF2141849543EB6FA43B41E8088A5FFEAE2141605DDCE670A43B4168F7E461F0AE214108AC1C1A71A43B41489B55DFE6AE2141BADA8A1D70A43B4190658823DFAE21417B9CA26381A43B41F8285CCF11AE214141FAED6B83A43B4180423EA8F9AD2141B27268B188A43B41587FD9FDBAAD2141C36D346087A63B4128E9B76F66AE21412E5530EA13A73B41182DB29D95AE21418816D9AE07A73B41687FD9BD26AF2141CFF7532301A73B41F8D24D6274AF21412CA2B477DBA63B41B04C154C33B121417CC0CAC181A73B41A0E7FBA994B12141C88F3117B0A73B41A85E29CBAFB12141E25817D7CAA73B41402AA993BDB12141215A64FBE5A73B41100681D5C7B121412ED49A6601A83B41B0CAA185CEB12141029A08FB1CA83B4158D1919CD1B12141247E8C9938A83B41C886A717D1B12141E2624C083FA83B41A0334073D0B121419C8B9B7545A83B41E8E8C89CCFB121417A9218E14BA83B41E0584E94CEB121412E2D624A52A83B41402BE059CDB12141C23217B158A83B4148FD90EDCBB1214164A1D6145FA83B41E85F764FCAB121417C029AA887A83B4140CF6655BBB12141A0D6344FAFA83B41D0490C82A4B121415C4BC8A7D5A83B4150DF4F0D86B1214150F38E53FAA83B41F0B7AF4360B12141297502FA1CA93B41B0B6627F33B12141DE4603989DA93B41F865F7E47AB0214158643B3F3AAA3B4108166A0D9AAF2141231FF4CCA7AA3B41F8DF2DD0FCAE214142477279C3AA3B41787DAE36CFAE2141467B83AFDBAA3B41D854C1689AAE21418A16D9CEEBAA3B41F0285C0F70AE2141F07C3FB500AB3B412870CEC833AE2141CB4B376911AB3B4128ED0D7EF2AD2141AEBFEC9E1DAB3B41E861A156ADAD2141E4B5849C2FAB3B4158B3EAB32CAD21416BF90FA948AB3B41B0ABAD9879AC214144FAED0B57AB3B41C8C798BB12AC21412AED0D7E59AB3B41A842AD6901AC214170AC8BFB5BAB3B41B8BFEC1EF0AB2141945374845EAB3B41D01951DADEAB2141A2ABAD1861AB3B4198635D9CCDAB21412E992AB863AB3B4150AF9465BCAB21416F1283C09BAB3B4190C9540150AA2141BC749318A2AB3B41D09AE69D27AA21418A16D9AEA8AB3B41088A1F63FFA92141100BB526ADAB3B41187A362BE5A92141946E1283AFAB3B41F0043451D7A921416A91ED1CB2AB3B41504013A1C8A921417E6ABC94B6AB3B41208C4A6AAFA92141789318E4BDAB3B41504469AF87A92141D3CEF793C6AB3B4148BD525659A92141C042ADE9CDAB3B4128FC183332A92141F563CCDDCCAB3B41C8D022DB11A921413EAD69FECBAB3B4190AEB6E2F6A82141A63E571BC8AB3B41A07BF2B07EA82141D6096862B8AB3B4120D26F9F98A62141664DF3EEBDAB3B4180EE5A027BA62141CE6F5F47E0AB3B41205917B7C3A5214110C05B0040AC3B41784ED1D1C5A321415E545267EAAB3B41C810C7BA85A32141FEF675E009AC3B41B025E4C3DDA22141D9A59B8486AB3B41405839F485A22141BC9F1A4F7DAB3B417872F94F68A32141FC7E6ABC9BAA3B41B09DEFA7DAA62141703D0AD7C9A93B41D072689112A8214150621018E9A83B415839B448E0A6214158643B5F1EA93B41400E2DF2FCA521415A39B4E87CA83B4180BC749386A52141DCF97E4A13A93B412891EDBCB7A32141142DB2DD77A83B416845B67350A2214197438B8C6BA83B416891ED7C90A12141C676BE7FC1A73B41500E2DB2F7A02141B8C8767E4FA63B41F8D478A961A02141996E1243D7A53B41D0A370BD0B9D214195999939F2A53B41F87E6A3C979C2141DE02094A3BA53B418091EDFC419A2141DC2406016FA43B41A0E7FBA9429921418A6CE71B62A33B4198C420F05C992141823F35BE0AA13B41B89DEFA7AB962141CE4D62D0919E3B4110D7A3F0D4932141BE7493D8CC9E3B41503789018C922141225A64DBD09E3B41A8490C82118F21419B6E1243939D3B4180976ED2D98A2141DE2D90A04B973B411010E93721BB2141324CA68A59973B414882E2072DBB2141DC56EC2F72973B41F0C2646A38BB2141FDBB05728B973B4118BC05123BBB214107560E8DA4973B4168B1BFEC34BB2141F86C56BDBC973B41E01DA72826BB2141489D8046D3973B41906B09390FBB21419A559FCBF4973B41B889B061E5BA21415C54526717983B4150136103BFBA214180FB3AD03B983B41F8C9C302A0BA2141442575A261983B41087D3FB588BA2141D2AACF7588983B41503EE85979BA2141E63FA4DFAF983B41E0D0221B72BA2141887CD0F3DA983B4138431CAB6EBA2141030000000200000000029702000002D702000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(1120457 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1120789, N'{CC2DA6E0-D74B-48E4-BE24-1A8C9C5C3FCD}', N'005687268', 3190703, N'VIP7674', NULL, N'5687268', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'THOSE PARTS OF LOT 1, SECTIONS 108 AND 109, ESQUIMALT DISTRICT, PLAN 7674 IN PLAN 620 RW', N'0065', N'0005', N'NO', N'PMBC-COMPILATION', 1, N'DATACOMPILATION', N'COGO', N'0', N'390.2', CAST(N'2016-01-06T21:00:37.000' AS DateTime), CAST(N'2021-12-14T15:33:02.000' AS DateTime), 392, 125, 0xBD0B000001040F0000009A658823F417324130E6AE2592891741AA6054D2E9173241F03D795886891741CF915C5EDB173241C09BC4A0C1891741E86A2B76E5173241C0DA8AFDCD891741915CFE03E717324130C286A7C78917419A658823F417324130E6AE2592891741401361A3A4183241C030992A948A174188635D1CAE18324160976E928D8A1741AA13D044AA18324140FDF6756F8A1741B5D100FEA7183241B0DFBE8E5D8A1741EE1FD2EFA8183241A03C2C543E8A1741E3B5847C9F183241D05F76CF448A17410F7A368B9E183241407B832F648A1741B815FB4BA218324170C5FEB2818A1741401361A3A4183241C030992A948A1741020000000200000000020600000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1120789 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1121108, N'{2D2F5F8F-F8C2-4BBA-9892-6F832D3F8601}', N'009939679', 289835, N'PGP20487', NULL, N'9939679', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', N'', N'', N'LOT 3 DISTRICT LOT 3946 CARIBOO DISTRICT PLAN 20487, EXCEPT PLANS 30571 AND PGP35068', N'0117', N'0002', N'NO', N'ICF', 5, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2022-01-11T13:30:33.000' AS DateTime), 581, 100, 0xBD0B0000010405000000767AA5EC3DE53241384BC887AA2F2B4196C420903DE5324118ED0D7EE02F2B41B8FC873459E53241B0B5843CCB2F2B4159B1BFEC59E5324148BA494CAD2F2B41767AA5EC3DE53241384BC887AA2F2B4101000000020000000001000000FFFFFFFF0000000003, CAST(1121108 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1121388, N'{9FF9755B-6B45-4CF2-AE80-A56C4A9FBCAF}', N'011619350', 481033, N'KAP1362', NULL, N'11619350', NULL, NULL, N'ACTIVE', N'ROAD', N'MUNICIPAL', CAST(N'1942-03-13T00:00:00.000' AS DateTime), NULL, NULL, NULL, N'THE RIGHT-OF-WAY OF GREY CANAL; SECTIONS 13 AND 24 TOWNSHIP 8 OSOYOOS DIVISION YALE DISTRICT PLAN 1362', N'0163', N'0012', NULL, N'PMBC-OPERATIONS', 21, N'PMBC-OPERATIONS', N'UNKNOWN', N'0', N'77396', CAST(N'2021-11-01T10:52:35.000' AS DateTime), CAST(N'2022-01-26T15:09:12.000' AS DateTime), 74357, 7686, 0xBD0B00000104E80000008BD2DEE0039B364160423EE894A222417A832F2CFB9A364110F9A0E7C0A22241E2361AC0F69A3641B0749398F7A2224109F9A007F49A3641B0D100DE1DA322412ACB1047EE9A364180F085C96EA32241B6AF03A7EA9A3641E82B6519A0A32241ECC9C3E2ED9A3641404772B9A0A322411B51DABBE99A36418057CA32C8A3224111BE3059E89A364160F5B99AE5A32241AAADD89FE99A3641F81648100CA42241C8DCB504EA9A3641D0C342ED17A422415F6DC55EEA9A364198C64B7720A4224130A2B417E89A364110E561E12AA4224132C4B10ED89A3641C0A1453674A4224180C0CA01CD9A364160CE8892A9A422419B438BECCA9A364150F7E4A1B3A42241273A928BC89A364138D9CE37BCA42241EC8E53B4C69A3641885AD3FCD0A42241BC0E9C53C19A364100C58FB114A5224146C807FDBF9A3641E041CF261FA522415FBA492CC09A3641E82A87162DA522417814AE27C09A3641D861A11630A5224126287E8CBF9A3641509D80E693A52241EA839EEDBE9A3641205A64BBD9A52241A9C64BB7BE9A3641C85296E1E3A522413A894180BE9A3641F888D21EEEA5224137AB3E77BE9A3641008195431DA62241D3D5566CBE9A3641C034EFB834A62241AB605432BF9A364190734694B3A62241368941C09B9A3641E03D7918FDA62241A457CA52969A3641485986B8E8A722416D09F980919A3641F03BBD92C5A82241DEF97E0A919A3641D02631C8DAA8224146B6F3DD8E9A3641006D56BD56A922419AF6069F969A3641E802090AD0A92241A73E575B859A36416861329581AA2241876CE7FB879A3641503255F0CFAA224174D712B2789A364148158C0AE4AA2241E395B20C609A364120DFE00B96AB224129C286274D9A364130894160F8AB22415F7FD9DD499A3641F0C7987B21AC2241CA6D34803C9A364178FB3AF09BAC22410122FD563B9A364128F697DDD3AC224130211F94279A36410010E9B70AAD2241F631E6AE209A3641A801BCC55BAD2241D06F5F07209A3641905DDCC6B8AD2241C2E3147D279A3641E044D8B0E9AD224152401301189A3641509D80E62CAE22415D545207109A3641D8141D0994AE224150158C6A059A36411897FF90B9AE22412EE6AE65F9993641E8A9F112E4AE2241E7AE25C4F49936416838D68511AF224149598638E29936415029CB9051AF224172567D8ECD99364168C7293AE2AF2241206C783AC1993641182B87565FB022419306F056A2993641B0ADD85FCCB122411C95D4699B993641684469AF4DB222419206F0568899364128A7E808D9B22241A49BC4608E993641F0051294D6B32241C6A145D68E993641D878E9A6EBB322418A16D92E8699364170226C787FB42241E9D0221B849936418838D645C0B42241EBD9AC3A83993641E02D9060DBB42241A25E292B84993641E02B655927B522410A71AC0B9D993641109D11252BB52241F47C3F159E993641A8C342ADC5B42241429B559F9D99364120992A98B9B42241AF9DEF479D99364190ED7C7FADB42241DE34EFF89C993641C816489098B4224136EF38059D993641E851B89E83B42241D0CCCC6C9D993641582041B16EB42241487B832F9E993641D8BAB8CD59B42241C9C3424D9F993641E010C7FA44B42241C2CAA1C5A0993641E05A423E30B42241AC2C43BCA499364118A7E848CEB3224198B20CB1A599364158423EE83EB32241964C154CA6993641F0938705E4B22241FED8B48FA699364130382B00D8B2224161E14C2FA799364158626B08CCB22241B8E94A2AA899364188284429C0B222410492C87FA9993641400C9B6DB4B22241A8698C2EAB99364150FC34E0A8B22241260F0B35AD9936410871AC8B9DB22241489D8066B0993641E82553458DB2224123DBF91EB699364188E2C7D835B22241878EE492C099364180F4DB1796B12241A267B38AC6993641E076BEDF3AB122416EF90FC9C99936415096214E09B1224135AB3E97D19936412051DA1B92B02241D2F753A3D5993641283867C463B02241CB8F3157DE9936410039450730B022418DC2F5E8E099364140ED0DFEEEAF224118265305F999364170BF7DDD6CAF224111E9B7AF0B9A3641C0B88DC62EAF2241A011A57D189A3641F84C840DDAAE22414A696F301B9A364130A4DF3EC8AE2241986588C3369A3641603480B703AE2241C0172633399A364108DBF97EE3AD2241263108EC449A3641D00E9C7348AD2241B8627FB9479A364120AAF1123CAD22411C265365599A3641D894D409EEAC22413F0AD7235C9A3641E0DA8A3DCDAC22412E772DA1679A3641900D4FEF43AC22418BFD65F7719A364168787A65C8AB2241B2EA7315769A364178FB3A3097AB22416C4694B68A9A3641109F3C6C0EAB22419EABAD789B9A3641A801BC85E8AA22411E6C78FA9D9A36411804560E4DAA2241F253E3E5A59A3641E8E3145D4CAA22417FC0CA41A69A36415804564E48AA22413C5EBA69A89A3641A07BF2F02FAA2241C77F48FFA99A364158840DCF1CAA22412D90A078A39A3641909A779C1BAA22418D5AD3BCA49A36419078E9E605AA2241D4C56DB49F9A3641E08173C604AA2241EEB0504BA19A364158EE5A82F3A922415817B7D1A29A36414032E6EEE2A9224195B20C71A29A364150D5E7AADCA922418FA0F891A19A3641E8FC8734CEA92241158C4A2AA09A3641E8C039E3B6A9224143E17A549A9A364108DFE00B56A92241E7D0229B9A9A3641103FC61C4BA92241D1DEE08B9D9A3641A0802682D6A82241A93E577B9F9A3641500C026B78A82241263108ACA09A364170E2C75838A8224184E2C7B8A19A36413025754201A822417C832F2CA59A36414848BF3D48A72241381AC0DBA69A364198C420F01FA72241F3FDD458CF9A3641E0460338C8A6224119E258F7CE9A3641D8718A0E89A62241F9285C6FCE9A364158567DAE1CA622410C2428FECF9A3641A082510924A52241016F8184D79A364120166A8DC8A4224124E483DEF99A3641C8B662BF29A42241B5E1E9F5F69A36412892CB3FE9A3224174787A850B9B3641188E7571D0A22241381AC07B3A9B364188C7297AE6A12241EF7C3FF5559B364180FB3A7051A1224195DD9367609B364128D578E916A12241FE770B646E9B36419859F5F99DA02241F675E0FC7F9B36416046943651A02241C29F1A6F899B364130FF21BD03A022410F363CBDAA9B3641D0073D1BBF9F22418095430BC79B3641A0BB96908A9F2241C2051234F69B3641286FF005DE9E2241E2E99592059C3641C020B032B79E2241BBA679671C9C3641087C61729F9E22412D6EA3C1449C3641200DE0EDA29E2241006F81A4599C36413894F6C6C49E22414D6B9A97619C364128AB3E57F49E22419ED634CF619C3641401895D4259F2241E2C798DB779C364178787A25359F224166C3D36B939C3641407346D4269F2241C832C4D1A59C3641B869DE71359F224182613215B99C3641A0907EFB569F224102F77520EB9C3641083D9B55909F2241FB75E0BC009D36419825E483A79F22411A1DC9C5339D3641306519629F9F22415EBA492C439D3641501E16EA9C9F224161DC4643589D364168029A88999F224167F7E4A1BA9D3641B8C117666C9F224123F46C96F69D3641F04F8D17299F2241C988D27E1C9E3641202E90E0419F2241083D9BB5289E3641683BDF8F709F224162CC5DCB779E3641384772B9FC9F22413FCF6675989E3641D8EFA78619A0224140BD52F6999E3641800F7A76F49F22418DE4F21F839E364108A5BDC1D69F224170C5FE523C9E364160A0F8715A9F22419D5E296B309E3641905F074E289F22415ACA3224FD9D3641004850BC079F224182C0CAE1C39D364100197357489F22411E1FF46CBD9D3641583EE8994F9F2241C8DCB584A69D36419879C7695A9F224197779C629C9D3641406EA3015E9F22415C17B711569D3641E063CC9D7B9F2241F74A59C6399D3641301361C37F9F2241248716B92B9D3641E8938705829F22413611363C049D3641D09AE65D889F2241C43923CAC69C3641E0C798BB3C9F22413C234A3BBE9C3641282041F12D9F224106AC1CBAB19C364180A301FC189F2241A7825149999C3641F07F48FF049F2241C8293AF2909C3641287A36EB089F22419FCDAAAF8B9C3641A01C5A640B9F224179C7293A899C364180218EF50C9F22416AAA60547D9C364150234A3B139F2241F041CF86759C3641C0B88D860D9F2241B6DA8A9D759C364100022BC7EC9E22411EB07268719C364168567D6ED39E2241014D844D6B9C3641A0E61DA7AE9E22417D2F4CA6639C3641180C9369A39E2241547DAE96609C36419867B3EA9E9E2241C47D1D38589C3641902C431C939E2241CC2B65B94E9C3641D0BCE314849E22412D4CA6AA1D9C3641483CBD127F9E2241E3BE0E3C0F9C3641B83D79188E9E224153E3A53B009C3641B866D5279D9E224198D40968F19B3641981C5AA4C39E2241DD4F8DD7EF9B3641E8F44A19C79E2241428B6C47EE9B3641A8CCCC8CCA9E2241C4EC9E1CEA9B3641C0B359F5D89E2241925CFE63D99B36419828EDCD169F2241F01FD2CFCB9B36411897FF104A9F22413680B780C89B3641684DF38E569F22411FB07268C79B3641C07BF2B05A9F2241A9ADD89FC69B3641A8F831A65D9F2241BB9F1A4FAB9B3641702EFFA18E9F22410088F4FBA29B364158992A189E9F224196D409E8A09B3641687CD033A39F22417E26C2668A9B3641D0A145F6CF9F2241F80FE9777D9B3641A0825109EC9F2241D0BCE3F4729B3641A0F3FD5440A02241AD2C43FC709B3641B841CFA648A02241A8F1D2CD6C9B3641F88C28AD5BA022410222FD366B9B364120CD3B4E62A02241BC9F1A8F689B3641E8A982D161A02241D98173E65E9B364170BE9F1A8AA022417E6ABCB45B9B3641802F4CE6A0A0224161764F7E549B3641A04694F6E5A02241F797DD53539B36415850FC98F0A022414DE3A5FB509B364168A301FC05A12241C610C77A469B3641509B559F3EA12241CA54C1E8429B3641905E298B51A12241EB0434513C9B36410810E97773A1224190CB7F483A9B3641106A4DB37EA1224116022B67369B3641C8D16F1F94A12241CD44D8B0329B3641A009F9E0A6A12241432CD43A2F9B3641F0263188BBA12241B059F5F91F9B364190976ED207A222414382E2870E9B36412085EB115FA222418BD2DEE0039B364160423EE894A2224101000000020000000001000000FFFFFFFF0000000003, CAST(1121388 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1121461, N'{D536B2B3-A5D0-4E84-B271-5F653FD19074}', N'005917913', 475451, N'KAP24472', NULL, N'5917913', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 3', N'', N'', N'LOT 3 SECTION 19 TOWNSHIP 4 OSOYOOS DIVISION YALE DISTRICT PLAN 24472', N'0134', N'0012', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2022-01-26T16:21:17.000' AS DateTime), CAST(N'2022-01-28T15:02:00.000' AS DateTime), 38250, 783, 0xBD0B0000010405000000AADFBE2E019E364198DB68001BFA22414C7B830F449D3641D8BD3059F3F9224140795868369D36415868912D88FB224109D7A390F09D364170C64B37AFFB2241AADFBE2E019E364198DB68001BFA224101000000020000000001000000FFFFFFFF0000000003, CAST(1121461 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1122287, N'{97F7E178-880C-434A-9A01-2DE218D8312B}', N'008621896', 127843, N'VIP721', NULL, N'8621896', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 30', N'', N'', N'THAT PART OF THE SOUTHERLY 244.2 FEET OF LOT 30, SECTION 32, VICTORIA DISTRICT, PLAN 721, LYING TO THE EAST OF A BOUNDARY PARALLEL TO AND PERPENDICULARLY DISTANT 267.5 FEET FROM THE EASTERLY BOUNDARY OF SAID LOT.', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:09:41.000' AS DateTime), CAST(N'2019-01-05T10:22:20.000' AS DateTime), 6178, 315, 0xBD0B00000104060000001BFBCB2E023E3241A0779C222EA317415FC3D30B063E3241D0A679C731A31741CEF753C3173E3241207A362B0CA21741E0E00B33C83D324120265385C0A11741375EBA89B63D3241D08251C9E6A217411BFBCB2E023E3241A0779C222EA3174101000000020000000001000000FFFFFFFF0000000003, CAST(1122287 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1122636, N'{7F35388A-68BB-40D5-9E34-0D022BFE89BE}', N'001567314', 117903, N'VIP877', NULL, N'1567314', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'Block 12', N'', N'THAT PART OF LOT 2, BLOCK 12, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:54:01.000' AS DateTime), CAST(N'2019-01-05T10:23:59.000' AS DateTime), 307, 71, 0xBD0B00000104050000003E2CD43AA1363241C0293A12D58E1741368941A092363241208716D9E68E174122A7E88898363241E0762DA1338F1741B02E6E23A7363241D0AB1CDA218F17413E2CD43AA1363241C0293A12D58E174101000000020000000001000000FFFFFFFF0000000003, CAST(1122636 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1122640, N'{1DA7B52F-4DE7-451E-8E78-EAE97CD57B3E}', N'001588109', 128536, N'VIP1597', NULL, N'1588109', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'', N'', N'THAT PART OF LOT 3, SECTION 16, VICTORIA DISTRICT, PLAN 1597 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:54:01.000' AS DateTime), CAST(N'2019-01-05T10:23:59.000' AS DateTime), 91, 42, 0xBD0B000001040A000000AA13D084C22D3241A0EC9E3C549A1741E00B9349C12D3241A0779C22449A1741FC75E01CB22D324130A1D6B4409A17415F984C95B42D324180029A08619A17411AB12CEBB62D3241106BB7215F9A174184F2CF3FB92D3241E0051E235D9A174118502793BB2D3241D0B3DA0C5B9A17418FC523E5BD2D3241D0EEFADE589A17418857B635C02D324140C98C99569A1741AA13D084C22D3241A0EC9E3C549A174101000000020000000001000000FFFFFFFF0000000003, CAST(1122640 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1123406, N'{FAE43F2F-8591-4B8D-B3D4-6469F139078C}', N'008403970', 141253, N'VIP831', NULL, N'8403970', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'', N'', N'THAT PART OF LOT 6, SECTION 33, VICTORIA DISTRICT, PLAN 831 BEING PART OF THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:23:15.000' AS DateTime), CAST(N'2019-01-05T10:52:48.000' AS DateTime), 2527, 292, 0xBD0B000001040A000000DBC56DF4403B3241507B832FF59517414FA60A063F3B3241C045B673F99517419EABADF82E3B324180D5E7EA1C961741201FF40C803B3241301B0D609C9717411604560E923B3241401DC9E574971741D022DBD97E3B3241E00434111A971741AD0C712C753B324150832F4CEC9617413E355E1A613B3241B0ADD85F8D96174112E9B70F553B324160B1BF6C54961741DBC56DF4403B3241507B832FF595174101000000020000000001000000FFFFFFFF0000000003, CAST(1123406 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1123576, N'{67E8A276-7D36-4065-BA47-7F2AF65D56CD}', N'001704486', 12592, N'VIP218B', NULL, N'1704486', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block 45', NULL, N'THAT PART OF LOT 3, BLOCK 45, SHAWNIGAN LAKE SUBURBAN LOTS, MALAHAT DISTRICT, PLAN 218B SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 50796I AND CONTAINING 1.09 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:06:18.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 3969, 304, 0xBD0B0000010409000000CDF753C33AE93141703A924B12981841EF8E53944CE93141B0DD9387C0971841A9CFD5F661E9314160AC8B5B5E97184131431C4B77E9314140900F7AFC961841D300DE028DE93141708CB9EB98961841D556EC8F67E93141F006F01695961841CFAACF753AE93141A05E294B91961841D70968C23AE9314150F2B0D05D971841CDF753C33AE93141703A924B1298184101000000020000000001000000FFFFFFFF0000000003, CAST(1123576 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1123646, N'{23B6D1A4-372D-4AAD-BE8B-EF1A43EE68B2}', N'007428197', 118430, N'VIP1397', NULL, N'7428197', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'Block 3', N'', N'LOT 2, BLOCK 3, SECTION 33, VICTORIA DISTRICT, PLAN 1397, LYING WITHIN THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:49:17.000' AS DateTime), CAST(N'2019-01-05T10:53:58.000' AS DateTime), 542, 101, 0xBD0B000001040800000007F9A007133B324110B9FC0794951741A6DFBEAE203B3241A0506B9A71951741B09DEF47153B32410071AC8B2E951741FB285C4F113B32416014AEC71E951741DE9C11450D3B324170CC5D4B0F95174104D57829093B324110075F180095174110C7BA78FF3A3241A038D6451995174107F9A007133B324110B9FC079495174101000000020000000001000000FFFFFFFF0000000003, CAST(1123646 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1124342, N'{E417C6E4-B29D-4B9E-B44E-DBEFF20A3210}', N'009117181', 126673, N'VIP386', NULL, N'9117181', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 6', N'', N'', N'LOT 6, SECTION 7, VICTORIA DISTRICT, PLAN 386 EXCEPT THAT PART LYING EAST OF THE CANADIAN NORTHERN PACIFIC RAILWAY', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:19:12.000' AS DateTime), CAST(N'2019-01-05T10:55:29.000' AS DateTime), 265, 73, 0xBD0B000001040600000016AE4761E639324140ADFA5CDC841741AB7BF2B0DC393241601DC965D48417415AB1BF8CD2393241B0270F0B35851741AE9DEFE7DC393241F0C3422D3E851741D0DEE06BE6393241D0AE2564DC84174116AE4761E639324140ADFA5CDC84174101000000020000000001000000FFFFFFFF0000000003, CAST(1124342 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1127074, N'{9F5FD2DE-0953-4801-8C24-864544AC7714}', N'018635920', 3, N'NO_PLAN', 4387051, N'18635920', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'SE4', N'6005', N'', N'BLOCK A OF THE SOUTH EAST 1/4 OF DISTRICT LOT 6005 CARIBOO DISTRICT', N'0163', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2018-01-09T12:11:11.000' AS DateTime), 426118, 2815, 0xBD0B000001040C00000082B740E299EB35411880B7C0A8AE2B418273467404ED3541B001BC8535AD2B41C2529681D2EE354110C58F715CAB2B41CFD5568CE7EE3541589D80E646AB2B4133DD244601EF35416095434B1EA92B412C5305C3FDEE3541489D80A61DA92B4199DD9367EDEE3541486744A91AA92B41809ECD8A42EE3541508D976EFBA82B416CD5E74A36ED3541782F4C66CAA82B41A3703D2A21EC3541D8482EBF97A82B41A60A4605E3EB3541D0F753638CA82B4182B740E299EB35411880B7C0A8AE2B4101000000020000000001000000FFFFFFFF0000000003, CAST(1127074 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1127532, N'{D19181D9-CB26-440F-8663-166C6A563C07}', N'004858671', 862074, N'KAP30166', NULL, N'4858671', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot A', NULL, NULL, N'LOT A DISTRICT LOT 140 OSOYOOS DIVISION YALE DISTRICT PLAN 30166 EXCEPT PLAN KAP88832', N'0057', N'0016', N'NO', N'ICIS CADASTRE', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-02-23T12:43:39.000' AS DateTime), 18792, 561, 0xBD0B000001042B000000AE25E463096E364130166ACDE829214163764F5EDD6D36419847E1BAE72921414F4013E1A06D364138D04498DD29214174397A239F6D36411079E376DD29214108D61A669D6D3641580AABA2DD2921411B974AAC9B6D3641A09D471BDE292141902B58F9996D3641B80FD2DFDE2921419F198550986D3641F8BAD1EEDF2921418881FFB4966D364190493F46E12921414C05DC29956D3641409788E3E229214172E10FB2936D3641C8A095C3E4292141DF416B50926D3641C86FCEE2E629214195DD9307916D364140FF213DE92921411098E0978F6D36418838AB44ED292141F94B445B8E6D364138DDE58DF12921417B37A8548D6D36413840BB0EF62921411E7D76868C6D3641B8D291BCFA292141C17494F28B6D36419817668CFF29214140355E9A8B6D3641888EE472042A2141E4B5849C866D36410824283E782A2141F7D5E48D866D3641C05B87597B2A2141C9C9FAA0866D3641A0BE85747E2A2141D081A3D5866D3641F8E36E89812A2141E2417E2B876D3641988F9992842A2141EA52EDA1876D3641C019728A872A2141A1241738886D364168AA846B8A2A214130DDE7EC886D3641504087308D2A2141F75313BF896D3641B06663D48F2A2141B87317AD8A6D3641C88E3F52922A2141C9FF3EB58B6D3641B8F787A5942A214158B7A4D58C6D36416018F7C9962A2141CED0360C8E6D364150769DBB982A214115C7BA568F6D364110E2E8769A2A21417F71D1B2906D36411806ABF89B2A2141485FFB1D926D3641803E1F3E9D2A2141326E9D95936D364100AFEF449E2A214100940517956D3641008D390B9F2A214120D26F9F966D3641B896908F9F2A2141A389B0A1016E3641B8CAA1C5B92A2141B5847C90196E3641B02E6EA3BF2A21416B8863FD3D6E36412897FF90C82A2141C064AA00476E364128E4831EF3292141AE25E463096E364130166ACDE829214101000000020000000001000000FFFFFFFF0000000003, CAST(1127532 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1127742, N'{681784F5-9F65-487F-AB7E-3F3807302120}', N'010433601', 3, N'NO_PLAN', NULL, N'10433601', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 5', N'10', N'', N'THAT PART OF SECTION 5, RANGE 10, SAHTLAM DISTRICT, CONTAINING 2.01 ACRES MORE OR LESS AS SHOWN COLORED RED ON PLAN ATTACHED TO DD 6892I', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 42, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T22:16:26.000' AS DateTime), CAST(N'2019-01-07T18:33:53.000' AS DateTime), 7821, 646, 0xBD0B0000010406000000B0BFECBEEFBF3141B0923A01ED82194102BC0592F0BF3141A01058396E821941C042ADA9E4BF314180E848AE7D8219413770CEA8C9BE3141007F6A3CEB8319415AC1A8E421BF3141907EFBBAF5831941B0BFECBEEFBF3141B0923A01ED82194101000000020000000001000000FFFFFFFF0000000003, CAST(1127742 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1128988, N'{3F210AD6-1703-4A85-BEE4-AFEE65DE5586}', N'007633611', 629004, N'PGP12116', NULL, N'7633611', NULL, N'005482.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 18', N'Block 22', N'', N'LOT 18 BLOCK 22 SECTION 32 TOWNSHIP 83 RANGE 18 WEST OF THE SIXTH MERIDIAN PEACE RIVER DISTRICT PLAN 12116', N'0038', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:29:50.000' AS DateTime), 684, 121, 0xBD0B000001040500000074128300F12A34417CFB3A305C3C3341285C8F82C32A3441BC88D2DE583C334159A8356DC22A34417C58A8D5673C3341D9F0F4EAEF2A344128CB10276B3C334174128300F12A34417CFB3A305C3C334101000000020000000001000000FFFFFFFF0000000003, CAST(1128988 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1129259, N'{9316E197-9AAA-499A-BF69-DF01E9D251DE}', N'006238424', 463663, N'NEP17152', 10869031, N'6238424', NULL, N'7862368100', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 812 KOOTENAY DISTRICT PLAN 17152', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:42.000' AS DateTime), 30191, 1047, 0xBD0B000001040D000000449D80C6C6E53941B0BB969042861E41A7A44E00CEE539418016D9CE71851E41606DC51EC0E53941C073B5156A851E41D378E9C6C4E53941604CA68AE3841E41FE99083B1FE539410044FA6D87841E4172F90F0905E5394180F2B0D079871E41449D80C6C6E53941B0BB969042861E41143FC6DCD5E5394110E561A1D6861E41FA31E6CE40E53941002B8716C6871E41EC839E2D46E539416006F016C9871E41E826312867E53941D0D6346FDB871E41604BC8E7CAE53941807CD03313881E41143FC6DCD5E5394110E561A1D6861E41020000000200000000020700000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1129259 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1129325, N'{1AD14959-7716-4735-8110-DB718D859A19}', N'014897351', 466251, N'NEP4642', NULL, N'14897351', NULL, N'7864501000', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 4592 KOOTENAY DISTRICT PLAN 4642 EXCEPT PLAN NEP83812', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:36.000' AS DateTime), 82717, 1127, 0xBD0B00000104080000000AC58F31A1DB394190DA8A7D89E11E41107A36EBDADA394110CE19511CE11E413E795888C4DA394170EC2F3BACE31E413EAD697EB4DA394140D26FDF84E51E418EC2F568B3DA3941308D976EA4E51E41290F0BB5D5DB3941A0C8763E44E61E41E6AE2524F4DB3941B03F355EBDE21E410AC58F31A1DB394190DA8A7D89E11E4101000000020000000001000000FFFFFFFF0000000003, CAST(1129325 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1130603, N'{C2C8ECA2-D9C8-4C90-AD05-D30EBE6031C8}', N'000016942', 3, N'NO_PLAN', NULL, N'16942', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 77', N'', N'', N'THAT PART OF DISTRICT LOT 77, ALBERNI DISTRICT, SHOWN OUTLINED IN RED ON PLAN 158 R', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:39.000' AS DateTime), 17863, 1247, 0xBD0B000001043700000086635D9C0A6F3041D01A9EDECAA91D41E30B9389066F3041A032C4B1D7A91D4126530583026F304130CE88D2E4A91D411171AC8BFE6E304110C8983BF2A91D416AF7E4A1FA6E304190FA5CEDFFA91D41676FF0C5F66E3041E08C28ED0DAA1D41EFEBC0F9F26E304150575B311CAA1D41F46C563DEF6E304130EB51B82AAA1D41DA68008FEB6E304110B98D8639AA1D41643255F0E76E30419075719B48AA1D4168006F61E46E3041A045B6F357AA1D4160DC46E3E06E3041E0718A8E67AA1D4145D8F074DD6E3041B0AF036777AA1D416D3D0A17DA6E30413094F68687AA1D411083C0CAD66E304100F775E097AA1D414550FC98D36E304140CA3244A8AA1D419CE61D876A6E304110C7BAB8CDAC1D415BEC2FBB636E3041606132D5F0AC1D41F76C56DD5C6E304140B0726813AD1D410188F4DB556E304100CAC3C235AD1D41C976BE3FD16D3041D0BE0E9CB8AF1D41B269DE91BE6D3041D0ACFA5C0EB01D41F5DBD781AB6D30419072689163B01D418026C266A56D3041205305237EB01D41D756EC6FB16D304150F38ED37FB01D41D4CCCC6CC16D3041F0BE0E9C81B01D41D019517ACD6D30415075029A82B01D4183734674D56D3041106A4DF35EB01D4194C2F588E86D3041D019515A07B01D41931804766D6E3041004772F982AD1D41A913D0A4746E3041401214BF5FAD1D41358941C07B6E304130D85FF63BAD1D41C07D1DB8826E304190FD65F717AD1D41DB0968C2EB6E3041A09ECDAAF2AA1D410723B282F66E3041902BC7D2BDAA1D41B8914813026F304130DEC9CD8BAA1D41064F53680E6F304180AF0FCF5CAA1D41192231751B6F304160A8B90631AA1D417F8F842C296F3041A0939EA108AA1D4135894180376F3041D0141DC9E3A91D4183613295376F304100ECC039B9A91D417F9543AB376F304190DB68008CA91D4128A089B0376F3041A05E294B81A91D41E49C11C5376F3041201CEBE257A91D41CF5D4B08366F304170635D5C5BA91D412AF6977D316F3041D04F8D1765A91D41EF63CCFD2C6F30415054C1286FA91D41FFDD0289286F3041E04A598679A91D41D99AE61D246F3041507E8C3984A91D41CB7F48BF1F6F304180A3923A8FA91D41AD0C716C1B6F304190703D8A9AA91D418A416025176F3041709ECD2AA6A91D417F9ECDEA126F304110BE3019B2A91D418B5AD3BC0E6F304150CF6655BEA91D4186635D9C0A6F3041D01A9EDECAA91D4101000000020000000001000000FFFFFFFF0000000003, CAST(1130603 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1130799, N'{F77E892F-A0D1-4E83-A025-36D88D7DE61E}', N'000017051', 4160463, N'VIP284RW', NULL, N'17051', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-01-04T00:00:00.000' AS DateTime), N'PART 261', N'', N'', N'THAT PART OF DISTRICT LOT 261, ALBERNI DISTRICT, INCLUDED IN PLAN 284 RW', N'0163', N'0029', N'NO', N'SRW-COMPILATION', NULL, NULL, N'COGO', N'0', NULL, CAST(N'2018-06-19T11:14:15.000' AS DateTime), CAST(N'2018-11-23T18:39:31.000' AS DateTime), 8013, 1366, 0xBD0B0000010417000000F49E3C6CC08E304170F831E6B13C1D4173348077CD8E30414094F606963C1D418E5CFE63DA8E3041A039B448793C1D41E9FBA931E78E3041403255B05B3C1D417A36ABDEF38E3041607E8C393D3C1D411D386764008F3041506CE7FB1D3C1D416E68912D668F3041008195431B3B1D415E6DC5BE6B8F3041A0BFEC1E0D3B1D411695D4096C8F3041A0D6346FD33A1D416E8104A55F8F3041C0D6C5EDF23A1D41365EBAE9F98E30419004C58FF53B1D41A713D084ED8E30419047E17A143C1D41842F4C06E18E304140B88D86323C1D4110022B67D48E3041707DAEB64F3C1D419BD409A8C78E30419004C50F6C3C1D41C03099CABA8E3041304ED191873C1D41E50434D1AD8E304140325530A23C1D41134FAFB4A08E3041502497FFBB3C1D41F9B9DAAA1B8D3041F0D16FDFAB3F1D419B2A18951B8D3041002B8716E13F1D41A4923A01A68E30415091EDFCE63C1D4197779C42B38E3041606744E9CC3C1D41F49E3C6CC08E304170F831E6B13C1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1130799 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1131478, N'{0C235DDB-D3C0-4183-8814-462B862618F2}', N'015242293', 496317, N'NEP2523', NULL, N'15242293', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'', N'', N'LOT 2 DISTRICT LOT 2919 KOOTENAY DISTRICT PLAN 2523', N'0146', N'0019', N'NO', N'PMBC-COMPILATION', 2, N'DATACOMPILATION', N'COGO', N'0', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:37:37.000' AS DateTime), 296, 71, 0xBD0B0000010407000000F94A59469C7E38413076E09C73DD1D41D066D5879B7E3841601F63EE78DD1D41B6A679479A7E384170499D0082DD1D4110D044D8AD7E384130E561A1ADDD1D41C45B20E1B37E384190DF2D9082DD1D4191C2F528A17E3841A020B0F250DD1D41F94A59469C7E38413076E09C73DD1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1131478 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1131510, N'{DC5404C0-D625-4BF9-82E7-EC2B5C205515}', N'012519413', 495942, N'KAP62', 32034131, N'12519413', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 15', N'Block 7', N'', N'LOT 15 BLOCK 7 DISTRICT LOT 818 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 62', N'0163', N'0019', N'NO', N'ICF', 13, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:35:57.000' AS DateTime), 362, 84, 0xBD0B000001040900000085F4DBD70169374180D8F0F47E741D415C7DAE561769374130BD529689741D415A7DAE9619693741D01726535A741D41E826318818693741B0D0B3D959741D41F76C565D03693741D079362B4E741D4120A7E8C8FB68374160014D844A741D4137CD3B0EFB68374180D26FDF60741D416E348037FA68374170A757CA7B741D4185F4DBD70169374180D8F0F47E741D4101000000020000000001000000FFFFFFFF0000000003, CAST(1131510 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1131518, N'{F5195B39-6184-4F05-BAAE-95230AC2AB13}', N'012519405', 495942, N'KAP62', 32034001, N'12519405', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 14', N'Block 7', N'', N'LOT 14 BLOCK 7 DISTRICT LOT 818 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 62', N'0163', N'0019', N'NO', N'ICF', 13, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:36:02.000' AS DateTime), 374, 84, 0xBD0B0000010409000000F76C563DF9683741609D80A696741D411704564EF868374170855AD3AF741D41C3293A12006937415096B20CB3741D416F68910D15693741104DF30EBA741D41E78C282D16693741B088D25EA4741D415C7DAE561769374130BD529689741D4185F4DBD70169374180D8F0F47E741D416E348037FA68374170A757CA7B741D41F76C563DF9683741609D80A696741D4101000000020000000001000000FFFFFFFF0000000003, CAST(1131518 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1131834, N'{2AC71A60-F91A-4736-8081-816233B3F1C4}', N'000168807', 648461, N'VIP32623', NULL, N'168807', NULL, N'04892.048', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 2', N'', N'', N'LOT 2, BLOCK 29, COMOX DISTRICT, PLAN 32623 EXCEPT THAT PART IN PLAN VIP66362', N'0163', N'0017', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-12-17T18:22:41.000' AS DateTime), 13328, 558, 0xBD0B0000010408000000B40C710C2F39304120DA1B3C39512041E47A148E15393041C0A679C7715220414EA60AE68A39304118D9CE7784522041130BB5866C393041B8FF90BE045220415274247764393041201136BCD651204105A3927A74393041F84525B596512041531E16EA963930412085EB115B512041B40C710C2F39304120DA1B3C3951204101000000020000000001000000FFFFFFFF0000000003, CAST(1131834 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1132097, N'{80A1645C-7044-4957-8F3B-45C128F1F8EC}', N'013084097', 3, N'NO_PLAN', NULL, N'13084097', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'98', N'5', N'', N'DISTRICT LOT 98 RANGE 5 COAST DISTRICT EXCEPT PLAN 8564', N'0163', N'0011', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:12:48.000' AS DateTime), 510557, 3107, 0xBD0B00000104E700000001000080403A294160CC5D0BE28A2E411C9B5845423A2941C096E1AAE48A2E415E6ADAD8433A294158637969E78A2E41A8946638453A2941B8FB7343EA8A2E4100282462463A2941F050FB34ED8A2E41B6958254473A2941B8A4193AF08A2E412ACD3B0E483A2941B0DFBE4EF38A2E41AEEB1172483A2941F0A3FAACF58A2E41EB445205493A294160BB7801F88A2E4163DD12C7493A294110538548FA8A2E41FCD51FB64A3A294150F4817EFC8A2E410155FDD04B3A29416045EB9FFE8A2E41AAE1E9154D3A2941209E5EA9008B2E41A6C453A74F3A294190A53113038B2E4176538A5C523A294138269054058B2E410C441133553A2941F82B686B078B2E4136B84D28583A294118C9CE55098B2E41FCA188395B3A2941B8DC01120B8B2E411E41F1635E3A294130AD699E0C8B2E41726EC8625F3A29413852E5F10C8B2E41F5FA9E67603A2941F87C28300D8B2E41F55CB170613A29415065C7580D8B2E41C0B6347C623A2941F0B97B6B0D8B2E4187F05988633A2941301925680D8B2E4181DA5093643A2941204BC94E0D8B2E41FE4F4B9B653A29418835941F0D8B2E41E257809E663A29418090D7DA0C8B2E412E3B2F9B673A2941D0590A810C8B2E417A8EA28F683A29419006C8120C8B2E418826337A693A2941F874CF900B8B2E41F0F44A596A3A294168A301FC0A8B2E41890A87746A3A2941F0A4198A0A8B2E417E970B9A6A3A294100BF271B0A8B2E41D96C88C96A3A2941F00E19B0098B2E41D50C98026B3A2941F861D249098B2E41DD83C0446B3A2941284E2EE9088B2E41006D748F6B3A2941185FFB8E088B2E416D2014E26B3A2941885AFA3B088B2E415508EF3B6C3A294150A6DCF0078B2E41A41A459C6C3A294160CC42AE078B2E41377348026D3A2941C823BB74078B2E41ED0B1F6D6D3A294110A1C044078B2E41AE8EE4DB6D3A294148CEB91E078B2E416C3DAC4D6E3A294100F1F702078B2E4108EC82C16E3A2941E05BB6F1068B2E41160871366F3A294100F019EB068B2E4106AA7CAB6F3A2941F0CE30EF068B2E410EABAB1F703A2941283BF2FD068B2E41E9BB0592703A2941F8AA3E17078B2E413067A52B733A2941B8516D4F098B2E4102C5959B753A294110DC17B50B8B2E4144FEBCDE773A2941008531450E8B2E41CC363AF2793A2941808977FC108B2E413B3769D37B3A2941985075D7138B2E4110C9E57F7D3A294188CE88D2168B2E411AE25897823A2941B89AE61D208B2E41A2AE1433843A2941488E5ACE238B2E41F980608E853A294120B85A98278B2E41F2E9A9A7863A2941F81883772B8B2E41CAF7AA7D873A2941402C57672F8B2E4188AF6B0F883A2941081C4763338B2E41A62C435C883A2941180BB566378B2E41B0F50310893A2941686D7D5C3B8B2E41935B6EAF893A2941E845AB553F8B2E412500723A8A3A29416825D651438B2E41A49D00B18A3A2941884E9550478B2E41EF070E138B3A2941A8BE7F514B8B2E41E22D90608B3A2941A03C2C544F8B2E41D3CCCC0C8A3A2941C02D90205A8B2E41E2FFF0CC893A2941302FCD6E5C8B2E41FBEDC073893A2941602ABFB95E8B2E415CDA6601893A2941B8FD4F00618B2E41FAF41876883A2941E09A6B41638B2E41AF4019D2873A29419889007C658B2E41F673B515873A2941F06800AF678B2E41E15A99BD863A2941F0425A326A8B2E414083FB41863A2941C88BD5AF6C8B2E4126213DA3853A2941A0FD7C256F8B2E41BE07DBE1843A2941007B6191718B2E4138476DFE833A294100939BF1738B2E410AB5A6F9823A294140014D44768B2E416C939CBA813A294128A79CA4788B2E41316D3F9F803A2941F09F56167B8B2E41909181A87F3A294168DA63977D8B2E41F5FE35D77E3A29415829A025808B2E4102AE0F2C7E3A2941401ADCBE828B2E4112F9A0A77D3A294190D2DE60858B2E411C9E5E297C3A294158C807BD8C8B2E41E71DA7E8783A294188658823998B2E41134FAF54763A2941A8D1005EA38B2E412A3A928B743A2941A84E4053A98B2E41B0F3FDD4703A2941086822ACB28B2E41ACBFECDE6F3A294160FD6577B98B2E416896134B6F3A2941880A9FC6BD8B2E41034265886E3A294150B78C0EC28B2E41B4203C976D3A2941E84D324DC68B2E41D22308786C3A294110659780CA8B2E41359C4E2B6B3A2941B8CFC8A6CE8B2E41E5FBA9B1693A2941707FD9BDD28B2E41A6E8482E663A2941A889B0A1DC8B2E411D2FDDE4643A2941F88095C3E28B2E41E490385A633A2941B05200FEE78B2E41ECEB7DBF613A294158EA9133ED8B2E41517EBC14603A2941D8C91864F28B2E41961E045A5E3A2941D8A2638FF78B2E41C03A658F5C3A2941005A41B5FC8B2E4134D8F0B45A3A2941080681D5018C2E41A980CF61593A294160BBBE7B048C2E415AE30914583A2941B093A324078C2E413A50A5CB563A294180B824D0098C2E415301A788553A29419849377E0C8C2E41961A144B543A2941305BD02E0F8C2E4106AAF112533A294168F7E4E1118C2E4152499D804D3A29414051DADB1A8C2E41C44FEE724B3A294168FF4A561D8C2E4107D27E74493A2941706F10DD1F8C2E41CED59885473A294150D6CC6F228C2E411E2084A6453A2941A0AC200E258C2E41742A86D7433A2941E0BCAAB7278C2E416619E218423A29411831086C2A8C2E410F71C1313E3A2941004E7CA62F8C2E41704C613B3A3A2941789F6BD5348C2E4197A9E335363A294168AEA9F8398C2E419D086B21323A294100670A103F8C2E41B2691AFE2D3A2941401C621B448C2E41A54C15CC293A29415087851A498C2E41C4172653213A2941A04160E5538C2E417A0D4F2F1B3A2941D0C3426D5A8C2E418CDB68C0113A2941E0AACF15648C2E418348BF7D0B3A2941E0361AC06A8C2E41074D84CD053A294160EC2FFB6F8C2E417814AE07FD39294190CDAA0F798C2E41ACBFEC9EF139294198C7297A868C2E4170D39E0DF039294170E27EFE888C2E4136D1D861EE392941A05491718B8C2E41207F589CEC39294140EE4AD28D8C2E411A0DE7BDEA392941F8A19D1F908C2E41B5BB58C7E8392941E8FE8358928C2E41297E8CB9E639294160A3017C948C2E418B130893E539294188ED798F968C2E411CFEDF60E439294178D6539C988C2E41F24C3A23E3392941E81F4EA29A8C2E41BE7C3EDAE1392941686528A19C8C2E41F0721586E03929414826A3989E8C2E41D078E926DF39294180CB7F88A08C2E417405E3DEDD3929413836B416A28C2E41B057C39DDC39294110AF7EAAA38C2E41B3C8A263DB3929410098C043A58C2E413A2A9930DA39294148E95AE2A68C2E41F2C3BD04D939294110332E86A88C2E41525227E0D7392941A89F1A2FAA8C2E416BE5F1B5D4392941981B62F4AE8C2E410AE86063D1392941E014E89DB38C2E41308F67E9CD3929417846572AB88C2E4139540449CA39294118BC6298BC8C2E41C1AC4083C6392941A032C6E6C08C2E4114BE3099C239294158734614C58C2E41D0F49E49C1392941C8F8EBE3C58C2E4100FACD0FC0392941106D2DD3C68C2E41125FB5EEBE39294178B7C7DFC78C2E414EE010E9BD39294160B53007C98C2E41C4C65901BD39294150629D46CA8C2E41EBEBC039BC392941009A089BCB8C2E412B1136BCBB392941E0891F63CC8C2E41C44256CABB392941F04940B6CC8C2E41D3C34BD4BB3929412002FB09CD8C2E41643910DABB39294168431A5ECD8C2E4127F59FDBBB392941385F68B2CD8C2E411AF8F9D8BB3929410088AF06CE8C2E41E2F21FD2BB39294150F5B95ACE8C2E41A8B6623FAF392941A86F5FC7E18C2E415CFE43BAA6392941F0C48FF1EE8C2E415F6666E6A53929412090A038F08C2E4115B7D1C093392941D86588230D8D2E419A9BC4A07E39294188A223F9318D2E4163423E286A392941D8073D1B578D2E4154FC18F355392941A0DD93477A8D2E412906811543392941388F53F4948D2E413A4ED1912C392941B0C2F5E8B68D2E41861D382721392941B87D1DF8D18D2E4121287E4C17392941D8A59B44E18D2E411C2FDD6400392941F0270F0B0B8E2E41CCDEE04BEB38294190E2C7D8308E2E41DECEF753D9382941783F355E5D8E2E414B0E2DB2C5382941E0F21F52888E2E41DE5F764FB5382941906CE7BBA98E2E4146D1919CAB382941487958E8BD8E2E411B95D4099B38294178D93D79D98E2E418A438B2C9438294138DD2446EB8E2E411AE2589788382941A02E6E23018F2E4117022BC779382941A0081B1E178F2E41974AEA4474382941C0847CD02A8F2E41BDFC87746B38294168AC8B5B3C8F2E411D6C787A61382941E84F8DD7518F2E410A61C31351382941B0EFA7C65E8F2E410B83C0CA4038294120A16733658F2E416D1D38673038294108341176728F2E41A60C716C29382941484469AF808F2E412EA913102A382941607FD97D948F2E411063EE9A2B3829418006F056A48F2E41CFE53F643038294158787AE5B68F2E419EBDC1173338294118A7E888C78F2E41022B87D637382941982A18D5E88F2E41B152966138382941F8DD02C9FB8F2E416981044559382941B8F75363FA8F2E41F23311B67B382941E88C28EDF88F2E41AF6D34C04439294178522760F08F2E418F4160A54E392941E07C3FF5EF8F2E4167863816933A294198B0E129E28F2E41020000009F3B294180CAA1C5D68F2E4113D044989D3E2941E868002FB68F2E4110FBCB6E593E2941B0AF03E769892E4166F7E421E63A294128CD3BCE8E892E41A0D6342F363A2941789DEF2796892E41F6065FD8093A2941803BDFCFC08A2E414EE3A55B0E3A2941C0F528DCC18A2E417FFB302B123A29418858A4C9C48A2E410083E612163A294108A09296C78A2E411A8AB0111A3A2941D07B2C42CA8A2E41ECB672261E3A2941F0DDB3CBCC8A2E417A930A50223A294150327432CF8A2E413BDF4F8D263A2941508FC275D18A2E4193D6346F333A2941B037F8C2D58A2E4182042777353A294148B365CCD68A2E4129D50068373A2941A8A5E2FED78A2E4198F7853E393A2941681A7058D98A2E413B00A6F73A3A2941C0FCCDD6DA8A2E41B68481903C3A294150D77E77DC8A2E4172E66E063E3A294128FCCB37DE8A2E4138C2FE563F3A2941700ACA14E08A2E4101000080403A294160CC5D0BE28A2E4101000000020000000001000000FFFFFFFF0000000003, CAST(1132097 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1132271, N'{582C4DFB-C9F3-4517-9AEC-B179622EC5B4}', N'013908316', 295346, N'PRP974B', 90073177, N'13908316', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'Block 53', N'', N'LOT 2 BLOCK 53 DISTRICT LOT 851 CASSIAR DISTRICT PLAN 974B EXCEPT PLAN 7772', N'0163', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:19:40.000' AS DateTime), 51, 36, 0xBD0B0000010406000000D312F2C127512B41584ED151F160314176B5153B2C512B41DCE76ACBF4603141BC8F31B72B512B4130DD24C6E76031410632E62E1C512B41443EE8D9E7603141C36D340020512B41E07A140EEB603141D312F2C127512B41584ED151F160314101000000020000000001000000FFFFFFFF0000000003, CAST(1132271 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1132333, N'{9FE598BE-4C9F-4AC3-AB28-D24A6A05CD6B}', N'013977601', 295389, N'PRP968', 29842511, N'13977601', NULL, N'01251.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 15', N'Block 106', N'Section 2', N'LOT 15 BLOCK 106 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:38.000' AS DateTime), 260, 72, 0xBD0B0000010405000000569FABAD867A2B41689CA283BC643141D00968A2727A2B4168A835ADBC643141BEB88D86737A2B417C3F359ED664314184855A93877A2B419833A274D6643141569FABAD867A2B41689CA283BC64314101000000020000000001000000FFFFFFFF0000000003, CAST(1132333 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1132334, N'{F08AADD0-1996-4475-84D6-04B47F9AC6A7}', N'013977873', 295389, N'PRP968', 23694501, N'13977873', NULL, N'01257.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 10', N'Block 111', N'Section 2', N'LOT 10 BLOCK 111 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:38.000' AS DateTime), 233, 66, 0xBD0B000001040500000045136143997A2B41F8FBA991906431418404C54FAD7A2B415C0B24689064314130992A98AC7A2B41C832C431796431410E83C08A987A2B41345A645B7964314145136143997A2B41F8FBA9919064314101000000020000000001000000FFFFFFFF0000000003, CAST(1132334 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1136713, N'{74C7DA99-F78A-45F0-B30B-B44837A73DE8}', N'003057011', 1480907, N'NWP1034', NULL, N'3057011', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-02T00:00:00.000' AS DateTime), N'REM Lot 14', N'Block 10', N'', N'LOT 14 EXCEPT: PART ON STATUTORY RIGHT OF WAY PLAN 71501; BLOCK 10 DISTRICT LOT 173 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 1034', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:36:50.000' AS DateTime), 2086, 186, 0xBD0B0000010406000000459D80E644A5324120E4839EE9A31C416CB5153B21A5324120BC059286A41C410266F7843DA53241D01E85EBEDA41C41575227E05BA5324110FED4F867A41C4188DB682063A53241B0FE43FA47A41C41459D80E644A5324120E4839EE9A31C4101000000020000000001000000FFFFFFFF0000000003, CAST(1136713 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1139277, N'{B14F92AD-D9B5-47E1-A71B-4D520F6FF609}', N'005984149', 1753, N'VIP5596', NULL, N'5984149', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1, SECTION 6, RANGE 7, CRANBERRY DISTRICT, PLAN 5596, EXCEPT PARTS IN PLANS 3590RW, 1140RW AND VIP72417', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', N'35684', CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2020-08-25T16:02:23.000' AS DateTime), 36429, 1301, 0xBD0B0000010451000000B169DE31509F3141701283403EAC1B41F9DBD781509F314110D34D6236AC1B419AE61DC7509F3141207A36AB2EAC1B4146477219519F3141C089B0E126AC1B41D344D8B0519F3141B0218E7517AC1B413A234AFB519F3141F07F48BF0FAC1B4158D3BCE3549F3141505EBAC9BBAB1B41846ABCD4279F314160B81E05B8AB1B41806ABC94D19E3141D0FBA9F1A4AD1B41A1EFA7E6439F3141C06054D2AFAD1B4138AFFD26459F3141603726CC81AD1B4158FC907D469F3141F0DFFBCF53AD1B410AD65CEA479F3141A04D81DE25AD1B4124E85B6D499F3141F04D62F8F7AC1B41928B88064B9F314160824A1ECAAC1B4142C6DCB54C9F31416060E5509CAC1B4180D93DF94C9F3141A0F5285C94AC1B419DEFA7464D9F3141006D567D8CAC1B410B5F988C4D9F314110DE028984AC1B4117E258D74D9F314150EA04B47CAC1B41B4490C224E9F3141C0F606DF74AC1B41CECCCC6C4E9F314110713D0A6DAC1B41152FDD044F9F3141F064AA605DAC1B41D5F97E4A4F9F3141F0B9DA8A55AC1B415EFE439A4F9F3141205C20C14DAC1B41428B6CE74F9F314130B4C8F645AC1B41B169DE31509F3141701283403EAC1B4194180416A49F31419047E17A8FAC1B4170B0C3E7A39F3141A0D98A6A88AC1B417732BF91A39F31412026A07181AC1B411EE3A214A39F314190D6179E7AAC1B41A8516971A29F314120B39DFD73AC1B41256259A9A19F3141B048779D6DAC1B4101BF03BEA09F3141A04C698A67AC1B414FB63FB19F9F3141800F9ED061AC1B413D8A27859E9F3141401E8D7B5CAC1B41C53A143C9D9F3141704BE49557AC1B415DD298D89B9F3141B04C722953AC1B41D93D7D5D9A9F3141D015133F4FAC1B41C7BAB8CD989F3141F01A9EDE4BAC1B412DFF215D7E9F3141C02A1815ACAC1B417E5C7E7E7D9F31410037B73AB5AC1B41B7D7BCAD7C9F3141C0C0B574BEAC1B41FD3BFBEA7B9F314170AEC2C1C7AC1B41D25455367B9F3141602E8A20D1AC1B4162EAE48F7A9F314140E7B58FDAAC1B41A5BDC1F7799F3141B028ED0DE4AC1B419D11A59D6C9F3141304AEA04CAAD1B41BD172673A89F3141B0ED7C3FCEAD1B4194180416A49F31419047E17A8FAC1B41611058D9C99F3141E047E17AB4AB1B41B3BFECFEBD9F3141801C5A64F1AB1B41E08D9CB7C09F314160F36F5A0AAC1B419E9EB6EFC29F3141D011FC1824AC1B414A08ABA3C49F3141705EAB763EAC1B416000BED0C59F3141B04F2B4959AC1B41C63E0C75C69F3141F0D76D6574AC1B4184058E8FC69F31410085EE9F8FAC1B410EC81820C69F31414057F8CCAAAC1B41D26F5F27C59F3141F0EDEBC0C5AC1B41263A926BBE9F3141C07A14AE54AD1B41193B013EBE9F3141A0FC1EE75DAD1B417DF41447BE9F3141A090E82667AD1B419695B986BE9F3141903C405970AD1B41DE2E64FCBE9F3141A05F126A79AD1B416EE113A7BF9F31417087944582AD1B41C70F5485C09F3141E0A270D88AAD1B412A8B3F95C19F31416039EF0F93AD1B41CCB684D4C29F3141004720DA9AAD1B41CF976A40C49F314140640226A2AD1B41A4C6D6D5C59F3141A0E6A7E3A8AD1B415E355491C79F314170A55904AFAD1B41BFBB1A6FC99F3141301BB77AB4AD1B41D258176BCB9F31419095D33AB9AD1B41D017F580CD9F31418043503ABDAD1B41E48426ACCF9F314130D47270C0AD1B41AE9DEFE7D19F3141308638D6C2AD1B4140AD69BEE39F3141F0D6A370D2AD1B41CD915CDE67A03141A0CB7FC8DBAD1B413C1CEBE26CA0314160371A40C4AB1B41611058D9C99F3141E047E17AB4AB1B41030000000200000000021B000000023200000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(1139277 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1139914, N'{2CF928D5-5F7D-4432-BD9B-12BE713C4042}', N'015904172', 489711, N'NEP1214', NULL, N'15904172', NULL, N'7102546100', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'', N'', N'LOT 2 DISTRICT LOT 7892 KOOTENAY DISTRICT PLAN 1214 EXCEPT PART INCLUDED IN PLAN 8062', N'0163', N'0004', N'NO', N'ICF', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-07-31T11:18:39.000' AS DateTime), 47925, 1355, 0xBD0B000001040C000000996E12A317DF37413004568EF5772141F20DBE700CDF3741985E298BBD7821413670CEE85DDF374158378981D17821413AAB3ED768DF3741D07D1D7809782141996E12A317DF37413004568EF5772141BAD1003E7BDF3741306EA301D77821415B7DAE9693DF3741A0BDC197DC78214104CE19F1F8E03741C0FC87B42E792141721B0D2003E1374170DE710A317921417C9CA2430EE1374118AB3E176978214170C5FE7286DF3741F8012B070F782141BAD1003E7BDF3741306EA301D7782141020000000200000000020500000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1139914 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1140885, N'{04D361D4-8896-43FB-8E18-5A5B3DA61313}', N'011303824', 847792, N'KAP1976', NULL, N'11303824', NULL, N'72607023000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 12', N'Block 7', NULL, N'LOT 12 BLOCK 7 DISTRICT LOT 3275 KAMLOOPS DIVISION YALE DISTRICT PLAN 1976', N'0163', N'0028', N'NO', N'ICF', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-12-02T14:29:56.000' AS DateTime), 548, 111, 0xBD0B0000010405000000827346D4BB3B3641882C431C63B52841D388D2FEBD3B3641D85817777CB528415205A332E83B3641389B555F6DB52841C1CAA105E63B3641E019515A54B52841827346D4BB3B3641882C431C63B5284101000000020000000001000000FFFFFFFF0000000003, CAST(1140885 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1140989, N'{3A52B9D9-E010-4F61-9212-0F14AEF2C50D}', N'005151147', 849058, N'KAP217', NULL, N'5151147', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 4', N'Block D', NULL, N'LOT 4 BLOCK D DISTRICT LOT 449 OSOYOOS DIVISION YALE DISTRICT PLAN 217 EXCEPT: (1) PART LYING NORTH OF HIGHWAY ON PLAN H783 (2) PLAN 26826 (3) PLAN H783', N'0098', N'0016', N'NO', N'ICIS CADASTRE', 1, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-11-27T11:17:29.000' AS DateTime), 1791, 177, 0xBD0B000001040600000031FF21DDAD2A3641381E16EA97CD204132E6AE05AE2A3641A0E314DD8BCD2041F41648108B2A3641C8EEC98337CD2041B8B88D667A2A3641684ED19153CD2041058195C38E2A3641607DAE36BFCD204131FF21DDAD2A3641381E16EA97CD204101000000020000000001000000FFFFFFFF0000000003, CAST(1140989 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1141773, N'{8E8F440E-1937-43ED-8EC2-A745BD2CE31F}', N'009999019', 854309, N'KAP7383', NULL, N'9999019', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', NULL, NULL, N'LOT 2 DISTRICT LOT 473 OSOYOOS DIVISION YALE DISTRICT PLAN 7383', N'0138', N'0022', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-02-20T10:00:18.000' AS DateTime), 2634, 273, 0xBD0B000001040C00000091B96B69183A3641D0CEF793D9302041910F7A76FB393641E83C9B55D43020412CC28607F539364138AD699E5B312041E1E995F2E5393641F080950373312041754F1EF6F8393641F811143FA53120412A7E8CF9FB39364108F775A071312041467B83EF103A364190D2DEE074312041D58AFD05113A364110EFC90373312041C732C451143A3641B84082A22E312041BEA8A46E143A3641601058392C312041CC6F5F27163A3641F0EBC0390831204191B96B69183A3641D0CEF793D930204101000000020000000001000000FFFFFFFF0000000003, CAST(1141773 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1142062, N'{7107134C-F572-48CF-A7B1-B53C0097ABB3}', N'001673475', 3, N'NO_PLAN', NULL, N'1673475', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 89', NULL, NULL, N'THAT PART OF LOT 89, MALAHAT DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 12768F AND CONTAINING 6.28 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 5, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T15:56:09.000' AS DateTime), CAST(N'2020-03-19T16:14:45.000' AS DateTime), 26142, 1702, 0xBD0B000001043B000000DEE995F21BED314130FBCBEEFB5E18413CAB3EB71AED314140423E688F5F1841ADFA5C8DB4ED3141D0FD65F7F95D184159387FBFBBED314120B9F22DE45D1841E2FD09C7C2ED3141C0B14A8ACD5D1841A4E35FA2C9ED31411054A111B65D1841C2A9ED4FD0ED314140FB5AC99D5D1841C4942ACED6ED314190B40BB7845D1841DDC7981BDDED314130F775E06A5D1841043CF5C8EDED314110A9C609185D18410BF07F90FCED314120664C9FBF5C1841EDB98B5409EE314170179052625C18419B8676FB13EE3141F018E9DE005C184174D2DC6F1CEE3141201205089C5B1841AB9BC4A022EE314100075F98345B1841FE6B4A5F23EE3141F0C82FFC245B1841F1FE8D1024EE3141907D4056155B1841815B87B424EE3141B05245A7055B184194212F4B25EE3141D0DDF2EFF55A1841878A7ED425EE3141E013FE30E65A184148696F5026EE314140431C6BD65A1841976E623127EE3141D04896D17D5A184184B750BB26EE314190E9222B255A1841C3B5A8EE24EE314160F8AECACC5918416E5119CD21EE3141A0CBE50275591841EC5590591DEE314100EEE3251E591841A2B4379817EE3141C04AEA84C8581841E0240661E1ED3141004B5906CD55184166EC53D8DCED3141008DD4DD925518412217A4B4D8ED314120C4483D5855184156CABCF6D4ED3141604FAC2F1D5518410A23519FD1ED314190F109C0E1541841A61401AFCEED3141B0C37EF9A5541841F94A5926CCED3141B01D38E7695418412E333373ADED3141106A4D736554184142A46921B0ED3141A004444FA654184151A31835B3ED3141206103E3E6541841792FC7ADB6ED314160E79F242755184114C4EC8ABAED3141309E3A0A67551841566DF1CBBEED314100AE028AA65518410DE02D70C3ED3141F0E2369AE55518413F355EDAFCED3141C05296A1EB5818415EAF1CED00EE314120059AC1235918418212541104EE3141604CDAD45C59184109A8884306EE3141B03C0E9C96591841BA104B8107EE3141C06225D7D0591841E7F73AC907EE314110CB8E450B5A1841039A081B07EE3141A09D80A6455A1841E5FBA91104EE3141D0F75363C25A1841E002094A03EE314140C6DC35D75A1841A4003282FEED3141603CF4633A5B1841C828AD6AF7ED31415094F4549B5B184169659413EEED314110D4C52CF95B184117681C92E2ED314140D55816535C1841AA846400D5ED3141A0FF8A45A85C18418D623B7DC5ED3141B0BFF5F8F75C1841FD0AD92BB4ED3141909BA57B415D18414CF38E33A1ED3141200BB526845D1841DEE995F21BED314130FBCBEEFB5E184101000000020000000001000000FFFFFFFF0000000003, CAST(1142062 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1142768, N'{B47CC519-7514-4556-95FE-2D2EEFD18EC1}', N'009650946', 3, N'NO_PLAN', NULL, N'9650946', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 9', N'2', N'', N'THAT PART OF SECTION 9, RANGE 2, QUAMICHAN DISTRICT, MORE PARTICULARLY DESCRIBED AS A STRIP OF LAND 200 FEET WIDE LYING 100 FEET ON EACH SIDE OF THE CENTRE LINE OF THE CANADIAN NORTHERN PACIFIC RAILWAY RIGHT OF WAY, SAID CENTRE LINE BEING DESCRIBED AS COMMENCING AT STATION 469+88.3, BEING A POINT ON THE SOUTHERLY BOUNDARY OF SAID SECTION DISTANT EASTERLY 678 FEET FROM THE SOUTH WEST CORNER OF SAID SECTION; THENCE NORTH 36 DEGREES 8 MINUTES WEST, 733.7 FEET; THENCE ON A 3 DEGREE CURVE TO THE LEFT 366.2 FEET TO STATION 480+88.2, BEING A POINT ON THE WESTERLY BOUNDARY OF SAID SECTION, DISTANT SOUTHERLY 492.2 FEET FROM THE NORTH WEST CORNER OF SAID SECTION, SAID STRIP OF LAND CONTAINING 5.05 ACRES, MORE OR LESS, AS SHOWN COLOURED RED ON PLAN MARKED ''B'' DEPOSITED UNDER DD 30931I', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 42, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T20:52:35.000' AS DateTime), CAST(N'2021-04-19T10:13:51.000' AS DateTime), 20958, 845, 0xBD0B000001041C0000000D2DB27DBAC43141601C5A64987A194195218E95A7C43141B079C7A9EA7A19413D2CD47AA0C43141C010C73A087B1941244A7B4399C4314100560E2D257B1941ACFA5CED91C43141E0726891417B1941E6482E5F84C43141208F5374737B1941D22B65F980C4314180B3EAF3AF7C1941C976BE7F86C4314140D191DC9E7C1941E20B93E98BC431410079E9A68D7C19412706815594C43141308D97EE717C1941501E164A9BC43141202EFF215A7C1941799CA223A2C43141001A51DA417C194199999999C5C4314160D191DCB57B1941943177CDD4C43141705F074E7D7B1941C776BEFFDDC43141807FD93D597B194154DA1B1CE7C431418058A835347B1941B425E403F0C4314140F016C80E7B194124B9FCC7F8C43141807DAEB6E87A1941BE3099AAFFC43141405E29CBC97A194172F90FE907C5314100C13923A27A19416419E2D841C5314190166ACD8C791941127A366B42C531412008AC1C8A791941F185C9D486C53141F02B651948781941286519228FC5314140E86A2B1A781941D2915CFE79C5314180226C7813781941746891CD50C53141906E1283107819412FB29DCF3EC5314100CB10C7107819410D2DB27DBAC43141601C5A64987A194101000000020000000001000000FFFFFFFF0000000003, CAST(1142768 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1143109, N'{0CD09AE3-2A63-45DB-8CFF-66D0BD453766}', N'000016926', 4160462, N'VIP653RW', NULL, N'16926', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-01-04T00:00:00.000' AS DateTime), N'PART 48', N'', N'', N'THAT PART OF DISTRICT LOT 48, ALBERNI DISTRICT, INCLUDED IN PLAN 653 RW', N'0102', N'0029', N'NO', N'SRW-COMPILATION', NULL, NULL, N'COGO', N'0', NULL, CAST(N'2018-06-19T10:50:01.000' AS DateTime), CAST(N'2021-05-30T19:19:58.000' AS DateTime), 1180, 448, 0xBD0B0000010417000000C8C3426D2D9D304120A4DFBE2FB01C412B5305E32D9D3041509E5EA96DAF1C41802F4CE6209D3041D0E3A59BFFAD1C41FB0F48871E9D304180AC78E2CBAD1C413B9C94311B9D3041F044D20499AD1C41312002EA169D3041C01B1F4C67AD1C41580ABEB6119D3041A0C1240037AD1C410C014A9F0B9D304150519A6608AD1C41B20C71AC049D3041D0C9C3C2DBAC1C41C9EEC963FD9C3041B0218E75DCAC1C418DE6C7AA049D3041A0537F2309AD1C4122EC830A0B9D304170DE62F937AD1C41971DD578109D3041A09F91AC68AD1C41C66613ED149D3041D0AE6BEF9AAD1C41C14D2560189D30411017D471CEAD1C4199438BCC1A9D3041A089B0E102AE1C417DFB3AD02B9D30416096B20CE1AF1C41D3645D3D2C9D30418004181BEEAF1C413FB36B9A2C9D304170164331FBAF1C413A1A5DE72C9D30410005F74D08B01C414E532A242D9D3041B06AF66F15B01C41AA9ECD502D9D30414062039622B01C41C8C3426D2D9D304120A4DFBE2FB01C4101000000020000000001000000FFFFFFFF0000000003, CAST(1143109 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1143129, N'{0BAB1A03-C9CF-421E-AFCB-0057D1711F99}', N'005151988', 873028, N'KAP26259', 15240050, N'5151988', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 1', N'', N'', N'LOT 1 SECTIONS 27, 28, 33 AND 34 TOWNSHIP 17 RANGE 22 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 26259 EXCEPT PLAN KAP65071', N'0071', N'0028', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-05-30T19:27:15.000' AS DateTime), 2264183, 6033, 0xBD0B00000104250000005D4BC8A793BA3441105839F4DCE22241CA293A9294BA344170D2DE60C3E22241F6E461C1A1BA3441D058173753E1224158D3BCA3A9BA344148AA601477E022410B3D9B35C9BA3441588638D63DDD22418716D9AEA5B73441E05F76CFCADC2241B047E13AA9B63441E01FD2AFA6DC2241BFA8A42E84B43441D8BCE3D457DC22415074243774B43441E88C282D13DE22415B52270068B4344158C5FE7266DF22414450FCF863B43441B8613255D6DF2241E83FA4FF45B43441781804D616E32241B5FC87B43DB4344128C4B12EFDE322412CE483DE31B43441909F1AEF45E5224183B7408231B43441407958E84FE522414E6B9A972CB43441B0F90FE9D7E522412DE6AE4522B4344160F7E461F5E622411CDBF9DE21B434410812147F00E722410B2428DE20B43441F84603381CE722412FA2B47720B4344120F2414F27E72241FCE461811FB4344188B88D4652E72241469D80E6B3B63441C011A5BDAFE72241A9E848EE13B73441203D9B55BDE72241CD2B65F930B73441C832C471C1E722413880B7C0FDB7344168A301FCDEE72241849ECD8AEBB8344190CB7F4801E82241D25D4B08EDB83441D05D4B0802E82241FF87F45B7FB934419087859A16E82241142DB23D9FB9344150B3EA331BE82241FBC264CAA1B93441B0F21F921BE8224194C420B0C6B93441109D11E520E82241CF19519A62BA344168CC5D0B36E82241F6DBD7E170BA34413890A0F8A7E622419DD6340F72BA344128D0441887E6224140AD693E92BA344180AEB66204E32241F39E3C2C93BA3441289E5E69EAE222415D4BC8A793BA3441105839F4DCE2224101000000020000000001000000FFFFFFFF0000000003, CAST(1143129 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1143166, N'{2FB6B59A-349B-469C-91D8-DDDB566BBD98}', N'010448985', 252953, N'PGP1338', 4709941, N'10448985', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', NULL, N'Lot 5', N'', N'', N'LOT 5 DISTRICT LOT 2440 CARIBOO DISTRICT PLAN 1338', N'0112', N'0008', N'NO', N'MODIFIED-TANTALIS', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-07-26T16:27:00.000' AS DateTime), CAST(N'2021-05-30T19:46:16.000' AS DateTime), 4088, 269, 0xBD0B0000010410000000365EBA49237D3241D84D625066682E411EB072A8207D324128DBF9BE05692E41A879C7894F7D324150499D802D692E41F9A067F3507D3241C0FD65B72E692E41C3F528FC507D3241E83311362C692E41789318E4527D32414060E5D07F682E4137894180517D3241C06E12C37E682E411D5A641B427D324178C2F5E874682E413E0AD783337D3241302FDD246C682E41B39DEFA7297D3241A047E17A67682E4164858D97287D32410065775967682E41BED86387277D32417085823167682E41A7A67C77267D32410823040367682E41A6FBE167257D324180F5FDCD66682E4157E19D58247D3241A0F2719266682E41365EBA49237D3241D84D625066682E4101000000020000000001000000FFFFFFFF0000000003, CAST(1143166 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1144114, N'{B51C92DD-1902-4FF2-BC2F-2D869A62BC02}', N'002910861', 117903, N'VIP877', NULL, N'2910861', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 10', N'Block 9', NULL, N'THAT PART OF LOT 10, BLOCK 9, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, NULL, N'UNKNOWN', N'0', N'306.3', CAST(N'2021-06-29T17:06:54.000' AS DateTime), CAST(N'2021-06-29T18:02:22.000' AS DateTime), 306, 71, 0xBD0B000001040F00000004AC1C1AE738324110C7BAB8FC8B1741BEA08DD3E4383241C027D689018C1741FC967A89E238324190A6FE3F068C1741CE80F73BE038324190370BDB0A8C1741166E18EBDD383241F0B9D35A0F8C17410B8CF196DB383241B0FB30BF138C17417424973FD938324140B9FC07188C17418ECB7F28DF38324150302AA9648C1741F4142D80E1383241F0A8BA5F608C1741C185E9D4E33832415028F0FC5B8C1741E5F6A326E638324150F3EA80578C174179574B75E8383241000ACCEB528C17412CADCEC0EA3832410025B53D4E8C1741DC141D09ED38324160B4C876498C174104AC1C1AE738324110C7BAB8FC8B174101000000020000000001000000FFFFFFFF0000000003, CAST(1144114 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1144117, N'{28A1A154-F7AA-45DF-A29F-6FF4BD050B2D}', N'017151333', 3, N'NO_PLAN', NULL, N'17151333', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1899-12-30T00:00:00.000' AS DateTime), NULL, NULL, NULL, N'PART .5 ACRE OF LOT 41, PART .48 ACRES OF LOT 45, PART .12 ACRE OF LOT 47 OF PART OF SECTION 33, PLAN 720A, COLOURED RED ON THE PLANS ANNEXED TO TWO CERTAIN AGREEMENTS FOR SALE DATED 27TH MARCH 1913 AND REGISTERED IN CHARGE BOOK VOL. 28, FOL. 100, NO. 21035G, VICTORIA DISTRICT', N'0153', N'0005', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'4501', CAST(N'2021-06-30T09:46:57.000' AS DateTime), CAST(N'2021-06-30T09:46:57.000' AS DateTime), 4501, 398, 0xBD0B00000104120000000CB5A6D99039324170522720F68E1741C598BB967F393241209BE61DE68E17410A2A10A67D39324170EAC992F48E174133FB3DBE7B39324110BD751A038F1741886950DF79393241B06C93B4118F17414C9D52097839324180E2CB60208F17417E894F3C76393241E09DC71E2F8F174188EB517874393241B0B12EEE3D8F17417F2F4C067939324140A7E8C85A8F174174A3015C95393241F03A70CE128F17410CB5A6D99039324170522720F68E1741DB096842833932417004C58F9C8F1741DE718A8E84393241707AA5ACA48F174114AE47A1C1393241E046037822911741FACBEE49C33932417062A1D62C9117415C984CB5DF39324120431C6BE490174118B7D1C09F3932410051DA9B548F1741DB096842833932417004C58F9C8F1741020000000200000000020B00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1144117 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1145172, N'{DB85A1F0-B948-4412-AA56-51C4FC6153AF}', N'014035481', 1315934, N'NWP4321', NULL, N'14035481', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'Lot 2', N'', N'', N'THAT PORTION OF LOT 2 EXCEPT: PART ROAD ON PLAN LMP27155, SECTION 22 BLOCK 6 NORTH RANGE 1 EAST NEW WESTMINSTER DISTRICT PLAN 4321 LYING BETWEEN THE WESTERN CANADA POWER COMPANY RIGHT OF WAY REFERENCE PLAN 437 AND THE LOUGHEED HIGHWAY PLAN 4607', N'0101', N'0010', N'NO', N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'512.7', CAST(N'2021-09-13T15:45:40.000' AS DateTime), CAST(N'2021-09-13T15:52:56.000' AS DateTime), 513, 100, 0xBD0B000001040500000022B9FC679CE73241A089B0616A001D4166D5E7EA9AE7324110AB3ED7DE001D41A1703DAAB2E73241408C4AEA88001D41DF460338AFE73241B0CB7F4842001D4122B9FC679CE73241A089B0616A001D4101000000020000000001000000FFFFFFFF0000000003, CAST(1145172 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1146285, N'{E945C2AD-2E4E-402C-A2C1-D2F81FE8E94E}', N'004410254', 482735, N'KAP29145', 90053477, N'4410254', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'', N'', N'LOT 2 SECTION 12 TOWNSHIP 7 OSOYOOS DIVISION YALE DISTRICT PLAN 29145 EXCEPT PLAN EPP19329', N'0134', N'0012', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-11-18T14:21:30.000' AS DateTime), 3286, 230, 0xBD0B000001040A000000C68F31B773963641B0605492D0DF224141C6DCF55996364130CD3B4E55DF2241B2C8765E2796364118DAAC3A7FDF2241F07C3FF52B96364180293AD292DF22417A4F1ED630963641A8529621A6DF22410200000036963641D8E53F24B9DF22415B17B7713B96364198E1E9D5CBDF224140575BD13F96364160A301FCD9DF22417CC7295A44963641686891EDE7DF2241C68F31B773963641B0605492D0DF224101000000020000000001000000FFFFFFFF0000000003, CAST(1146285 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1147128, N'{5756BD53-6879-4DC7-9A67-65A492E01EF0}', N'011523409', 3, N'NO_PLAN', NULL, N'11523409', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 490', NULL, NULL, N'THAT PART OF DISTRICT LOT 490 SHOWN ON PLAN B939 OSOYOOS DIVISION YALE DISTRICT EXCEPT PLAN H750', N'0098', N'0016', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2022-01-11T16:54:38.000' AS DateTime), 5310, 411, 0xBD0B00000104090000006C88639D1B2236414896210E7BBD2041E36A2B1620223641E0C342ADA4BC2041F3E4612106223641007E1D78C3BC2041CB915C1E04223641C07EFBFAC5BC20412B3A922BFD21364148855A9377BD2041637FD9DDFB213641D8E53F6498BD204130FF211DF7213641106A4DF310BE2041B596902F2822364168B81EC5D7BD20416C88639D1B2236414896210E7BBD204101000000020000000001000000FFFFFFFF0000000003, CAST(1147128 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1147514, N'{936C6C50-DDD1-4476-8097-EAA53E21A36E}', N'024235563', 1182809, N'LMP39067', NULL, N'24235563', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-24T00:00:00.000' AS DateTime), N'Parcel B', N'', N'', N'PARCEL B DISTRICT LOT 8 GROUP 2 NEW WESTMINSTER DISTRICT PLAN LMP39067', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:37:41.000' AS DateTime), 1167, 197, 0xBD0B000001040A0000004559863888B83241D0DCB584A4A21C4102148B3788B832410006E40391A21C412BC75BCB87B8324100ABDB957DA21C41B021C5F486B8324120915F5F6AA21C41D7225DB585B832417064C98457A21C41071A800F84B8324130F4C42945A21C417D2F4C0682B83241A0B20C7133A21C41306EA3C165B8324150703D0A5DA11C41FF770B0455B83241405986388EA11C414559863888B83241D0DCB584A4A21C4101000000020000000001000000FFFFFFFF0000000003, CAST(1147514 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1147901, N'{A0AEBCA9-CDF3-4A71-84A0-932EC84D5E19}', N'006559247', 870626, N'KAP23153', 34824071, N'6559247', NULL, N'P16744', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot A', N'', N'', N'LOT A DISTRICT LOT 249 KAMLOOPS DIVISION YALE DISTRICT PLAN 23153', N'0055', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-01T11:14:49.000' AS DateTime), 3008, 224, 0xBD0B0000010406000000F8CBEEA95F503541A8CDAA0F50B323413770CEC857503541803D0A5750B32341C586A79762503541F039924BDEB3234161BA49AC8F50354178810445CFB323411851DA7B875035413061C3D35CB32341F8CBEEA95F503541A8CDAA0F50B3234101000000020000000001000000FFFFFFFF0000000003, CAST(1147901 AS Numeric(38, 0)), NULL) +GO +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1148076, N'{FCE87BD3-580F-4512-B651-F2869AD48393}', N'005700345', 495877, N'NEP595', 90054438, N'5700345', NULL, N'00442.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 107', N'Block 18', N'', N'LOT 107 BLOCK 18 DISTRICT LOT 208 KOOTENAY DISTRICT PLAN 595', N'0056', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:43.000' AS DateTime), 7071, 659, 0xBD0B0000010476000000469D8026972F3941D0E76A2BBADF2141D69557FC9A2F394188E758B3CADF21413A39E1629F2F394120F08DA8DADF21418195AA54A42F3941907647F7E9DF2141BC4B94CBA92F39412816918CF8DF21419824DAC0AF2F394130085C5606E0214178711B2DB62F39410881954313E021415C17B771B72F3941A8F5289C15E02141226C78BAB82F3941D09E3CEC17E021414E8D970EBD2F3941D8BB96101FE02141DC141D29C42F394110705FC72AE021413F136143CB2F39412024287E36E021419E11A55DD22F394140D8F03442E021412E772D61D92F3941F85C6DC54DE02141F90FD99DDD2F3941401E64D754E021414AA9D4B7E12F394160A967395CE021418C65A6ADE52F394130D2CFE863E02141016BE17DE92F39416891D8E26BE02141C6662627ED2F39419005A32474E021417A0B24A8F02F3941107A36AB7CE021411595D4690C3039413892CB7F6CE0214141937E9207303941A8627BFE5EE0214122A2FB690230394168AA8AF751E02141A2DC4FF3FC2F3941505B977245E02141F410AD31F72F39418066F37639E021413EE27028F12F39411073A00B2EE02141EED022DBEA2F394168C64B3723E02141ECD9AC7ADE2F3941A0BAB8CD0EE02141F57E6A3CCB2F39416060E510EFDF21417D6C95DAC42F3941C86168B4E2DF21412FB19406BF2F394118D2234BD5DF214102206BCBB92F3941A81F6EEEC6DF21415AC9FA32B52F394138A869B9B7DF2141194FF245B12F39417074D1C8A7DF21416A7DBC0BAE2F394110F0C23A97DF21416A47728AAB2F39413804852E86DF2141EE41CFC6A92F394140014DC474DF21417C6ABCB4A82F3941383A920B61DF2141E861A1F6A62F39410076E01C21DF21413BB10A9DA62F3941F0B8395E18DF214146A4E513A62F3941D8613AA90FDF2141D9D9715BA52F39416074EC0107DF2141E4E20474A42F3941609A536CFEDE2141B41A0A5EA32F3941D8466BECF5DE21412675021AA22F394138DD2486EDDE2141CA05B1FFA02F3941903CCF2BE7DE2141C3E721CB9F2F394138E1A7E4E0DE21412052A87C9E2F3941F03860B2DADE214110799E149D2F3941C810A496D4DE2141AD7565939B2F3941D8211993CEDE2141CE2B65F9992F3941309E5EA9C8DE21417E95432B8C2F39412841F123E0DE214167AA0DBD882F394110EEAA6AD8DE214156560A2A852F3941D81B50F5D0DE214110858973812F394158C19DC6C9DE2141D529E89A7D2F3941F8E436E1C2DE21413EBF8FA1792F3941B0A4A347BCDE21418EC2F588752F3941004850FCB5DE214196EB9F66712F3941686F481FB0DE21416BFC23296D2F3941C074EA91AADE21419C8901D2682F3941509D2C56A5DE21412E38C162642F39415857E86DA0DE2141CD32F4DC5F2F3941A890D9DA9BDE2141149C33425B2F3941001B9E9E97DE21417D2F4CE65C2F394170F085C9A2DE2141E290C59F612F3941F0CD08F8A6DE2141EE715631662F3941C8FC40CBABDE2141626865956A2F3941F09B443DB1DE214130D090C66E2F3941C82B6747B7DE2141BE63B5BF722F3941E0BC41E2BDDE21410488F47B762F3941A001BC05C5DE21416A3A88A1772F3941E0828C71C7DE2141C0345BC0782F3941F039E2E9C9DE2141CB4C4BD8792F394170D4716ECCDE2141482A37E97A2F3941288CEEFECEDE2141DF4AFEF27B2F3941182E0A9BD1DE21412A0681F57C2F394140257542D4DE2141B08878E27D2F394170704DD7D6DE2141D28AD9C87E2F3941B0846675D9DE214181EE8CA87F2F394168247D1CDCDE21415A417C81802F3941282B4DCCDEDE2141B6BE9153812F394108949184E1DE2141E451B81E822F394180810445E4DE2141B9BFCAD9822F3941982695FCE6DE2141BE4B2B8E832F3941287B2FBBE9DE2141C205C93B842F3941E0849180ECDE214135A093E2842F394180A6784CEFDE21417B717B82852F394180A6A11EF2DE21419075711B862F394130B4C8F6F4DE2141D5A835A8862F3941F00650CEF7DE2141F5BB012E872F3941F82415ABFADE2141C033C9AC872F394130B4D38CFDDE2141913C8024882F394148E2467300DF214190AB1B95882F3941206D295E03DF214194FF90FE882F394168A8354D06DF2141032D195E892F3941D0F5254409DF2141A4C835B6892F3941E064AB3E0CDF2141383DDE068A2F394160AC7B3C0FDF21412EAF0A508A2F394160334C3D12DF2141B4FDB3918A2F39417014D24015DF214160C3D3CB8A2F39417826C24618DF214142925DFA8A2F39411858855D1BDF2141006526238B2F394130998D751EDF214191062C468B2F3941080AB08E21DF2141A0916C638B2F3941B0BDC1A824DF2141DE70E67A8B2F394108B997C327DF2141025F988C8B2F3941C8F606DF2ADF21419CD6340F8C2F39415819E2983DDF214194A0F8918C2F39411018955450DF2141D219511A8D2F3941904160E563DF214196BB96308D2F394128211FB466DF2141BC270F4B8D2F394150B7408269DF21415E257F0A8E2F3941989FD55277DF21413012E6268F2F3941B8864F0A85DF2141CF66799F902F3941F0D3E99E92DF21415AF82C73922F394188C4F806A0DF214172B7B3A0942F3941D04CF038ADDF2141469D8026972F3941D0E76A2BBADF214101000000020000000001000000FFFFFFFF0000000003, CAST(1148076 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1149338, N'{3B103CC5-20BB-41EA-9803-6942136CE83F}', N'001643983', 4898230, N'VIP98RW', NULL, N'1643983', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 62', N'', N'', N'THAT PART OF SECTION 62, SOOKE DISTRICT SHOWN COLOURED RED ON PLAN 98 RW AND CONTAINING 0.87 ACRES MORE OR LESS, EXCEPT PART IN PLAN 48467.', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:45:54.000' AS DateTime), CAST(N'2020-05-10T21:05:45.000' AS DateTime), 2506, 276, 0xBD0B000001042E000000867CD0B3DCEA314100D7A370B015174118D74D44DDEA314110CA2FFFAB151741455929CDDDEA314120D3BA7EA7151741721B4A4EDEEA314190AA16F0A2151741419E98C7DEEA3141209C17549E151741A0CEFE38DFEA3141306294AB99151741D90968A2DFEA314190FD65F79415174172FBC4E0E0EA314170750B7A8815174190857206E2EA314120211CD77B151741F7CE2913E3EA3141706AA4116F1517411B04AA06E4EA3141B00FB92C62151741AF66B8E0E4EA31418065762B55151741C45B20A1E5EA31410097FF1048151741BABC7B85E7EA3141300B5AFD22151741C93D01CDE8EA3141A0FAFB7EFD14174177124776E9EA3141004B50BFD7141741C53D9280E9EA314100040AE8B1141741C560D7EBE8EA31417042F6228C1417410FC7BAB8E7EA31414007CE99661417416531C76EE7EA31414030CB6C61141741316A2727E7EA3141D012BD3D5C141741C858DCE1E6EA3141306DB40C5714174103DDE69EE6EA3141A005C2D95114174133CF475EE6EA3141C0A5F6A44C14174102000020E6EA3141901F636E47141741D634EF78D2EA314100BC0592FD1417412B068135B3EA31416060E5501F1617419406F016CFEA3141E0B9DA0A0E16174181384ADECFEA3141F08CC6700A1617414F43459CD0EA314100E090B70616174128729350D1EA3141A095BFE0021617416905EBFAD1EA314140ACE4EDFE1517419950069BD2EA3141E0999DE0FA15174108D7A330D3EA3141F0A292BAF6151741EC06B04BD4EA314190D6C9BDEF151741B440CC5FD5EA3141202CBDAFE8151741A9ABE76CD6EA314130D5DA90E115174191DCF172D7EA3141300A9261DA1517417CD6DA71D8EA3141F0035322D3151741E10B9369D9EA314170F38ED3CB151741449A4209DAEA314160F3E569C715174160115CA1DAEA3141C0279CEFC215174178C2C331DBEA314170318265BE15174151655FBADBEA3141D0916BCCB91517410C1D163BDCEA3141A0832E25B5151741867CD0B3DCEA314100D7A370B015174101000000020000000001000000FFFFFFFF0000000003, CAST(1149338 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1150434, N'{618BFBEE-ADB4-4AC6-AA0D-84E09284C9E7}', N'012482081', 495453, N'KAP364', NULL, N'12482081', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 21', N'Block 74', NULL, N'LOT 21 BLOCK 74 DISTRICT LOT 710 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 364 EXCEPT PLAN H875', N'0046', N'0019', N'NO', N'MODIFIED-ICF', 4, NULL, N'UNKNOWN', N'0', N'124.1', CAST(N'2020-05-15T11:13:25.000' AS DateTime), CAST(N'2020-05-15T11:13:31.000' AS DateTime), 124, 49, 0xBD0B00000104050000008B7CD0536969374160F5B9DA736E1D410A3D9B355D693741C0A0F8B16E6E1D4154B1BF6C5B693741400DE02DAB6E1D414A94F6865F693741301FF4ECAC6E1D418B7CD0536969374160F5B9DA736E1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1150434 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1150838, N'{74AFB0D6-1490-45C9-A683-74D5EBE8F443}', N'024836443', 1072049, N'LMP45516', NULL, N'24836443', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', CAST(N'2000-08-28T00:00:00.000' AS DateTime), N'Parcel A', N'', N'', N'PARCEL A SECTION 12 TOWNSHIP 20 AND DISTRICT LOT 430 GROUP 2 NEW WESTMINSTER DISTRICT PLAN LMP45516', N'0002', N'0009', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-01-31T18:43:29.000' AS DateTime), 57017, 1515, 0xBD0B000001042F000000E00B938981973341D05964BB5C3B1C4155C1A8C4E5973341008941E0473E1C41821D380734983341505DDC46AC3F1C41F05A429E30983341A076BE9FE73F1C41A6CFD5163D983341B0270F0BB03F1C41BE46415D3F983341F05A0612A63F1C413B4FBC7141983341902C1C709B3F1C41B5183A5143983341B0F2E734903F1C416286FBF844983341D0CBE170843F1C412F3693664698334150764A35783F1C41F80FE99747983341E00512946B3F1C4110050D5F48983341B05F988E5B3F1C416B6B3E1849983341B076AD7E4B3F1C41418374C349983341A08D13653B3F1C41D835A7604A983341105E8D422B3F1C41F915CFEF4A983341C00ADE171B3F1C414460E5704B983341201DC9E50A3F1C41FEF675404D98334110075F18C03E1C413E82E2E74C9833418048BF7D503E1C411E8E75B14B98334160FAEDEBDA3D1C41EE1FD24FD8973341C0D409E89D391C4178029A88C1973341C0E2C79837391C41F932225DC197334180E1240117391C416F4185DBC197334110BC0577F6381C41D5A5EC02C3973341D025A631D6381C419AF362D1C49733410020CD67B6381C41E72CD743C7973341C0FE6F4F97381C4106F72156CA97334140D3561D79381C414AA70C03CE973341E0D3C2045C381C41B01C5A44D29733410059173740381C419106F076EB973341D0AB1C5AB9371C41F19E3CCCA297334160A60AC617351C41EB61A1D69A97334140AF946516351C41B537F88298973341A075719BA1351C412AE59D6F9897334130A3FF46A7351C41292F295B9897334190DB4FF2AC351C411B229A459897334150AE5E9DB2351C4106CBF02E9897334190AD2848B8351C41A5372D1798973341506AAAF2BD351C4164764FFE97973341D075E09CC3351C41355EBA6982973341A0E09C91F73A1C41C6B9672882973341E0304369083B1C4127E842F281973341C0AE6343193B1C41B9664DC78197334160A3871F2A3B1C41236488A781973341804838FD3A3B1C4132C0F4928197334120CDFEDB4B3B1C41E00B938981973341D05964BB5C3B1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1150838 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1151128, N'{8BEE125B-6EFF-4877-B733-764A44BB97E4}', N'005590990', 485893, N'NEP12373', 90054410, N'5590990', NULL, N'00458.100', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 10', N'', N'', N'LOT 10 DISTRICT LOT 208 KOOTENAY DISTRICT PLAN 12373', N'0056', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-30T11:49:38.000' AS DateTime), 1219, 154, 0xBD0B000001040500000052158C0A1732394150CD3B8E33E62141051B9E5E4C323941E8361A8013E62141D24D62103C32394150BF7D9DF3E521419AFF907E0E3239412008AC9CFAE5214152158C0A1732394150CD3B8E33E6214101000000020000000001000000FFFFFFFF0000000003, CAST(1151128 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1151162, N'{3B3F939E-C417-4E5F-9125-53303A85A817}', N'007606036', 138846, N'VIP45142', NULL, N'7606036', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', NULL, N'REM Lot 1', N'', N'', N'LOT 1, SECTION 3, RANGE 3 EAST, NORTH SAANICH DISTRICT, PLAN 45142 EXCEPT PART IN PLAN VIP77040', N'0090', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:57:07.000' AS DateTime), CAST(N'2019-01-05T11:04:26.000' AS DateTime), 25932, 1009, 0xBD0B000001040D0000006A6FF025C12D32410057EC2FEBAB184152840D6FB52D324190CB7F4865AC184133FF213DF52D3241A0081B9E6EAC1841822F4CC60F2E3241405DDCC658AB18410E83C0CA202E324130CB1047B3AA18413BF8C2E4332E324150FBCB6E11AA1841F12FBB07492E3241A07958A873A91841452EFF41BB2E3241C0F21FD250A61841E8263108782E324110BF7D9D46A618413C9B55DF2F2E3241609D80A641A81841DE02090A072E3241D0E5D0A272A9184109B5A619E22D324190F90F69ABAA18416A6FF025C12D32410057EC2FEBAB184101000000020000000001000000FFFFFFFF0000000003, CAST(1151162 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1152750, N'{61F389AF-FB19-43F2-9DAE-975C3BFFE303}', N'009698817', 855088, N'KAP9460', NULL, N'9698817', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'THAT PART OF LOT 1 DISTRICT LOT 3745 OSOYOOS DIVISION YALE DISTRICT PLAN 9460 EXCEPT PLAN 10869 LYING TO THE NORTH OF A LINE DRAWN PARALLEL TO AND 80 FEET PERPENDICULARLY DISTANT SOUTH OF THE SOUTH BOUNDARY OF LOT A PLAN 10869 AND EXCEPT PLAN H17953', N'0163', N'0016', N'NO', N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-06T13:29:55.000' AS DateTime), 3064, 301, 0xBD0B0000010405000000376744A9EC5C364190C420B0ED8B214186635D7C675D364130EF38C5FA8B2141944C154C6E5D3641586744A9CA8B21417A04C52FEE5C3641484A7B03BD8B2141376744A9EC5C364190C420B0ED8B214101000000020000000001000000FFFFFFFF0000000003, CAST(1152750 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1153984, N'{CFC1FD72-A5E4-4538-A20F-5AB333CC7B86}', N'007940971', 19444, N'VIP1004', NULL, N'7940971', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'', N'', N'THAT PART OF LOT 6, DISTRICT LOT 49, COWICHAN LAKE DISTRICT, PLAN 1004 BEING THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 100 RW', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:06:18.000' AS DateTime), CAST(N'2019-01-07T18:33:21.000' AS DateTime), 2660, 244, 0xBD0B0000010405000000607FD9BDA98A3141A0E995B2CDB319415E984C55F68A314180438B6C2EB31941A0A22399F78A3141B089B061A0B219417A832F2CAB8A3141F06E810440B31941607FD9BDA98A3141A0E995B2CDB3194101000000020000000001000000FFFFFFFF0000000003, CAST(1153984 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1154597, N'{4CEBF97C-65F7-4114-BEEB-1EF7A2DE5E80}', N'010681426', 470869, N'NEP9514', NULL, N'10681426', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 4589 KOOTENAY DISTRICT PLAN 9514 EXCEPT PLANS 11800, NEP22932, NEP22933 AND NEP59847', N'0163', N'0018', N'NO', N'MODIFIED-ICIS', 4, N'DATACOMPILATION', N'UNKNOWN', N'0', N'48933505', CAST(N'2018-10-12T15:11:35.000' AS DateTime), CAST(N'2019-01-22T18:33:45.000' AS DateTime), 48909512, 50716, 0xBD0B000001045400000042F1636C74863B41A8096822527B21419C779C222E883B41E0065F189B65214180AEB6E2AB883B4178D3BCE36C5F2141A2C64BB7EC893B4108849E8DCF5F2141169E5E69118B3B41C83B4E912960214106F9A067468B3B41E8C56D34785D21417CF2B0706B8C3B4180635D1C9C5C2141163FC61C7E8C3B41686FF045A95B2141A657CAD26F8B3B41809ECD6A5D5B21412C97FF90C8863B41205A643B0F5A214169226CB87E723B41D02B65995E54214108E78C48A7773B41E8B19D2FB96E21411573D7D268733B4108AAF1520E7221414E1E166AC96F3B417016D9CEE57421410A8A1F630F6E3B4168764F9E136C214188855A93466A3B412022FD36977021419AFF90FE256D3B4190EFA7C6527E21415B17B7318F6E3B410066F764118521414B696F70FD6F3B4148575B31E88B2141BF0E9C3368713B4140E6AE65AE922141DE361A00CF713B41386744E9809C21410E4FAF54EA763B4178711B8D1B9E214104CE195120773B4180E3A5DBFA972141AA2C437C06753B4138C4B1AE6B822141A86054528F8D3B4168DE718A338A21413E60E5B0F98B3B41B0BDC1D75D9E2141D6CEF7D3238E3B41A898BBD667A52141F085C9B45D923B41705DDC46BCA6214168BC749359923B41101214FFA8A62141024625D54C923B41F0141D8963A6214188FD653742923B41F08B4AAA1CA62141253867C439923B41B8AE25A4D4A52141081B9E1E30923B4168711B8D75A5214150D191FC3E923B41F0CBEE896FA52141B66B09F92B923B4130E4831EB4A421410C560EAD2B923B41182DB25DB1A421419A900FFA27923B415870CEC86FA4214152CA32042A923B41505530EA2DA42141772D21BF31923B41988026C2EDA32141B89690EF3E923B41A8802642B1A321411AFBCB2E51923B41A0EEC9437AA321411D8C4AAA52923B41D853E32577A321413CCD3BEE67923B41909F1A6F4AA32141F063CC7D82923B41A047E13A23A321416E567D0EA0923B41C0CFD5D605A32141A211A5BDBC923B4188B0E169F4A221417A6ABCF4B2923B4190984C559BA221411283C00ABB923B4138BD521698A221411604562EC3923B4148423E6895A221416C91ED5CCB923B41005F984C93A2214164BC7493D3923B41005D6DC591A2214134B29DCFDB923B41F01648D090A22141743D0A97DE923B4190F6069F90A22141C17D1D78E1923B41005B427E90A22141E2E00B33DC923B4160BC749359A2214190ED7C1FD7923B4148D1911CB7A12141AE0C71ACE0923B41186EA30120A121411A8C4AAAE7923B4100AAF1128AA0214136AB3ED7E6923B41D02D90204BA02141FAC264EAE6923B412092CB3F47A02141627FD9FDF6923B41C0A67987119F2141F77E6A7CEE923B41C88026C21F9E21418A3A01EDF6923B41085B423E4E9D214162BA49ACFC923B41D8C03923159D2141E761A1B619933B41D02406018B9A2141EED24D6229933B4180B5157B3C9921413E8B6CC727933B41F8B12EAEFD98214120B072C8FC923B41505DDC063297214174E09C31FD923B4168469436F7962141FF088A9F36933B41B80968222F952141946588634A933B41A867B32A929421410322FD3651933B412890A0F837942141F00DBEF053933B41C0ADD89FE093214114F2416F38933B41A8C42070D08B214124E483DE2C933B41F82D90200D88214175832FCC2D933B41E068002FDF872141A6F1D26D33933B41E8141D49A88721418036ABBEE4933B41402D215FA58221418FC2F56854943B4110B8AF037D7F214114B7D140C0933B41683255B04D7F21412CE6AE8591933B411093A9C23E7F2141061B9EBE3F933B4110F9A0A7247F21415EFE435A3E913B41E0A59BC4807E214142F1636C74863B41A8096822527B214101000000020000000001000000FFFFFFFF0000000003, CAST(1154597 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1155882, N'{1EFEFFE4-9960-4613-BDCF-393422592BC4}', N'015551636', 495430, N'NEP284B', NULL, N'15551636', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Parcel B', N'REM Lot 1', N'Block 1', N'PARCEL B (SEE 11951I) OF LOT 1 BLOCK 1 DISTRICT LOT 96 KOOTENAY DISTRICT PLAN 284B EXCEPT THAT PART IN PLAN 13190', N'0085', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:21:47.000' AS DateTime), 53, 33, 0xBD0B0000010405000000E2B7AFE36FDF384170F6979DF8622041784F1E7670DF3841F8D32B25F062204134772D4164DF384168D71272EC62204197779C8263DF3841F01648D0F4622041E2B7AFE36FDF384170F6979DF862204101000000020000000001000000FFFFFFFF0000000003, CAST(1155882 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1155947, N'{98E634CA-ABA2-407D-BA76-9B66181AA262}', N'007722354', 246698, N'PRP1076', 35721771, N'7722354', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 40', N'Block 2', N'', N'LOT 40 BLOCK 2 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:44.000' AS DateTime), 290, 91, 0xBD0B00000104050000002CBB278F732D2C41E0D7817335A13041DE68006F6A2D2C41242AA9933BA1304113FBCBAEA72D2C41888EE45252A13041E16800AFB02D2C41D0D781334CA130412CBB278F732D2C41E0D7817335A1304101000000020000000001000000FFFFFFFF0000000003, CAST(1155947 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1155949, N'{CF3FDE7B-1371-4CF7-BAB7-BC09B7C50E36}', N'005090172', 246698, N'PRP1076', 35720991, N'5090172', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 33', N'Block 2', N'', N'LOT 33 BLOCK 2 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:44.000' AS DateTime), 290, 91, 0xBD0B0000010405000000840D4FAFA92D2C41D4D781B310A130410AF241CFE62D2C414CF38E7327A13041704DF3CEEF2D2C412C2AA95321A13041DC6800AFB22D2C41B80E9C930AA13041840D4FAFA92D2C41D4D781B310A1304101000000020000000001000000FFFFFFFF0000000003, CAST(1155949 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1155951, N'{F6034E25-DD28-4984-8031-3A2F8FD428D5}', N'007722222', 246698, N'PRP1076', 35721221, N'7722222', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 36', N'Block 2', N'', N'LOT 36 BLOCK 2 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 290, 91, 0xBD0B00000104050000008E1F63AE972D2C41302AA9F31CA13041BE9F1AAF8E2D2C4154F38E1323A13041A8D634AFCB2D2C4124A167D339A1304113F241CFD42D2C41C845B6B333A130418E1F63AE972D2C41302AA9F31CA1304101000000020000000001000000FFFFFFFF0000000003, CAST(1155951 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1156662, N'{278B1C42-74E3-4A68-81F9-538A6F22310B}', N'007621922', 647337, N'VIP1297', NULL, N'7621922', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 11', N'', N'', N'LOT 11, LOOP FARMS, ALBERNI DISTRICT, PLAN 1297 EXCEPT THAT PART IN PLAN VIP65073', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:27.000' AS DateTime), 85919, 1501, 0xBD0B000001041200000052AF94C5E48C304120075F98D4241D4135674449F18C3041B05CFEC3F5241D4189A757EAF48C304100B7D10008251D41E49387A53F8D304120E56121CB251D41205A647B578D304190DD9387EE251D41412CD41AFC8C30417010C73A7E241D4152AF94C5E48C304120075F98D4241D410EE9B7AFCF8C3041600AD7A322251D41DC240621438C3041B095B28C2A271D4182E2C758138D3041E0ABADD8712A1D41B3D85F96268D3041F0EBC0395F2A1D411EA7E8E8788D3041E004C58F0F2A1D410288F4DB148E304170787AA555291D419306F0D6228E3041E0A59B4422291D41888EE452948D304130143FC6E3261D4101780B645A8D3041B0F8316691261D4140A4DF1E2B8D3041C0C9C3C224261D410EE9B7AFCF8C3041600AD7A322251D41020000000200000000020700000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1156662 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1157496, N'{2BC9971D-778E-440F-ACF0-45448482AB64}', N'012519359', 495942, N'KAP62', NULL, N'12519359', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 7', N'Block 7', N'', N'LOT 7 BLOCK 7 DISTRICT LOT 818 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 62 EXCEPT PART IN PLAN H875', N'0163', N'0019', N'NO', N'MODIFIED-ICF', 13, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:35:58.000' AS DateTime), 88, 39, 0xBD0B00000104060000001748505C3D6937417055302A05741D415E07CED93E693741E0550EADD5731D416CF7E40135693741D06D3480D1731D4109AC1C7A3669374170499D00EA731D41C88F317739693741F0FC877404741D411748505C3D6937417055302A05741D4101000000020000000001000000FFFFFFFF0000000003, CAST(1157496 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1158407, N'{12F4D16C-EAF5-4455-98B1-4B19BD517A1E}', N'013977644', 295389, N'PRP968', 29847931, N'13977644', NULL, N'01251.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 19', N'Block 106', N'Section 2', N'LOT 19 BLOCK 106 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:37.000' AS DateTime), 260, 72, 0xBD0B0000010405000000B5C8767E367A2B417CF08529BD6431419E57CA72227A2B41D020B052BD643141DF61A156237A2B41E0AE2544D764314167E5D062377A2B4114A3921AD7643141B5C8767E367A2B417CF08529BD64314101000000020000000001000000FFFFFFFF0000000003, CAST(1158407 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1158433, N'{84A26E06-A3A8-48B5-A164-29D111E78090}', N'013978047', 295389, N'PRP968', 23696451, N'13978047', NULL, N'01259.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 8', N'Block 112', N'Section 2', N'LOT 8 BLOCK 112 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:27.000' AS DateTime), 233, 66, 0xBD0B00000104050000004C840DCF7F792B4148B81EA57B643141BEDCB5C46B792B4130C4B1CE7B643141CA8173866C792B419CF8310693643141BB293A9280792B414CD191DC926431414C840DCF7F792B4148B81EA57B64314101000000020000000001000000FFFFFFFF0000000003, CAST(1158433 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1159014, N'{993C31BA-85E0-4BBC-92A2-EB442727ED4E}', N'006898505', 3192083, N'VIP1890', NULL, N'6898505', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 1', N'', N'', N'LOT 1, DISTRICT LOT 2, CAMERON DISTRICT, PLAN 1890 EXCEPT THAT PART IN, PLAN VIP70549 AND VIP73165', N'0163', N'0021', NULL, N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2019-01-05T08:35:55.000' AS DateTime), 41403, 865, 0xBD0B000001040C000000FE21FD5605F5304140FE43FA2C251D4132E6AE257AF43041E05A423E1B251D4190A9823173F4304150006F81052A1D41A3C267EE86F43041D0281F32FA291D41E67131999AF43041C0B6C60FED291D41D4212D2FAEF43041B0DA321CDE291D418917ABADC1F4304190947059CD291D41F3D0FE11D5F43041B06BCCC9BA291D41B7627F59E8F43041E01FD26FA6291D4130211F54F4F4304170BB961054291D41C1D32B8502F53041A0C0CAA196281D41FE21FD5605F5304140FE43FA2C251D4101000000020000000001000000FFFFFFFF0000000003, CAST(1159014 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1160915, N'{326FAAD1-FB8E-4E0A-A8A0-38EF59A93FBC}', N'013769651', 1179666, N'NWP2553', NULL, N'13769651', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'REM Lot 7', N'', N'', N'LOT 7 EXCEPT: PART ON SRW PLAN 23336 SECTION 6 TOWNSHIP 14 NEW WESTMINSTER DISTRICT PLAN 2553', N'0067', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T10:02:10.000' AS DateTime), 5015, 372, 0xBD0B000001040600000040575B91C92B3341C0C117A653131C41D05D4B883B2C334140CD3B4E2D141C41E25817973E2C3341D0FFFFFF24131C4133C4B16EAC2B3341108F53F410131C4139674449BA2B3341E019515A36131C4140575B91C92B3341C0C117A653131C4101000000020000000001000000FFFFFFFF0000000003, CAST(1160915 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1161308, N'{B0FAA5A5-4234-438F-9E6A-86E2968A1D3F}', N'010545182', 1302932, N'VAP7617', NULL, N'10545182', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-10T00:00:00.000' AS DateTime), N'REM Lot 10', N'', N'', N'LOT 10 EXCEPT: PART ON STATUTORY RIGHT OF WAY PLAN 113, SOUTH EAST 1/4 DISTRICT LOT 1081 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 7617', N'0158', N'0010', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T10:48:41.000' AS DateTime), 625, 100, 0xBD0B000001040500000073E7FBA9D16C3241C03FA4DFA1901D417D6ABCB4D06C3241E03923CA10911D4158EC2F3BE96C324150C2F52803911D41DAF0F40AEA6C324170559F2BA5901D4173E7FBA9D16C3241C03FA4DFA1901D4101000000020000000001000000FFFFFFFF0000000003, CAST(1161308 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1161529, N'{1929C572-62A1-4714-A36A-13CE289B9B03}', N'011331941', 1303888, N'VAP4742', NULL, N'11331941', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-15T00:00:00.000' AS DateTime), N'Lot 58', N'Block 25 & 28', N'', N'LOT 58 BLOCKS 25 AND 28 DISTRICT LOT 599 PLAN 4742', N'0092', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T10:50:27.000' AS DateTime), 365, 94, 0xBD0B00000104090000008EED7C1F3D7A324130D49A6617871D41614BC8473D7A3241A004C50FF0861D41261895143D7A324160B81E05F0861D4127ED0D5E187A324140B7D180E8861D4168D5E72A187A324110FDF675E8861D419F3C2CF4177A32413051499D0F871D4199E61D27187A3241A00B24A80F871D4160BA49EC3C7A3241301AC05B17871D418EED7C1F3D7A324130D49A6617871D4101000000020000000001000000FFFFFFFF0000000003, CAST(1161529 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1161752, N'{27DF6749-14F8-4A1A-8D73-157909AC738A}', N'009575391', 1310610, N'NWP11687', NULL, N'9575391', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2003-12-23T00:00:00.000' AS DateTime), N'REM Lot 5', N'', N'', N'LOT 5, EXCEPT; PART IN SRW PLAN 33969 DISTRICT LOT 3 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 11687', N'0025', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:20:35.000' AS DateTime), 796, 119, 0xBD0B0000010406000000418B6CA73CB83241B0DE710A15F71C41C920B0523FB83241409D80A615F71C4176029A0854B8324110EFC943D6F61C411471ACCB54B8324140E9263170F61C4155EC2FDB3DB83241D0270F8B6DF61C41418B6CA73CB83241B0DE710A15F71C4101000000020000000001000000FFFFFFFF0000000003, CAST(1161752 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1162761, N'{8DAF2484-619A-4BAA-BD1C-48C13B0E341E}', N'013749676', 1480869, N'NWP2541', NULL, N'13749676', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2006-03-06T00:00:00.000' AS DateTime), N'REM Lot 9', N'Block 1', N'', N'LOT 9 EXCEPT: FIRSTLY; PART DEDICATED ROAD ON PLAN LMP21755, SECONDLY; PART ON SRW PLAN 74467, BLOCK 1 DISTRICT LOT 758 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 2541', N'0088', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:36:34.000' AS DateTime), 452, 90, 0xBD0B000001040500000046477299A5A53241C073B5951A8C1C41D0CCCC0C99A53241D09F1AAFF78B1C41236C781A88A53241B08F31F7588C1C41A2A223B994A53241C04525757B8C1C4146477299A5A53241C073B5951A8C1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1162761 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1163709, N'{56512323-3367-4E30-B404-950A7157B33D}', N'011334673', 3191934, N'KAP1790', NULL, N'11334673', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 311', N'', N'', N'THAT PART OF LOT 311 SHOWN ON PLAN H681; DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 1790', N'0163', N'0022', N'NO', N'PMBC-COMPILATION', 3, N'DATACOMPILATION', N'COGO', N'0', N'870.5', CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:49.000' AS DateTime), 851, 184, 0xBD0B0000010415000000BD5296213E6B3641806FF005A81E1D41B24C9FDE426B364100FB8381751E1D41B309EDCA476B364190D89D45431E1D419B303AE64C6B364140A60155111E1D4124D23E30526B364120DE6EB2DF1D1D410A6DB0A8576B364170AEA060AE1D1D4110F2414F5D6B3641E0D24D627D1D1D4143598618546B364130925CFE6B1D1D4143E3B67C536B3641903F0E16711D1D41EB0866E1526B3641308FB12E761D1D419CE19346526B364190BB45487B1D1D41B88440AC516B36415000CA62801D1D4180096C12516B364130983D7E851D1D4128871679506B364170BE9F9A8A1D1D41121328614B6B3641106F1AF2B61D1D41A16E8A6E466B3641C0CDFB8CE31D1D41BF5475A1416B3641006E4D69101E1D417AD91EFA3C6B3641E00316853D1E1D41D367BB78386B3641407759DE6A1E1D4147BF7D1D346B364140FC1873981E1D41BD5296213E6B3641806FF005A81E1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1163709 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1163722, N'{84EEE81C-3A73-426F-A3B2-4BF025CB472B}', N'011370629', 850279, N'KAP1728', NULL, N'11370629', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Parcel 13', N'Lot 114', N'', N'PARCEL 13 (PLAN A1273) OF LOT 114 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 1728', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:59.000' AS DateTime), 5217, 334, 0xBD0B000001041A0000001B7C61B2C170364150F38E53AC6E1D4158C1A804C5703641A0938785756E1D4121FDF695D0703641109C3322376E1D414B0378CBD1703641E0D24D62336E1D4163325530DE703641E0FBA9F10C6E1D4168DE716AE8703641006C78FAF16D1D41D79AE61DF770364110B81E05D96D1D411CE258D7FF703641E044D870B56D1D41866CE73B04713641A00F7AB6A56D1D418E976EF2FA70364140355EBA546D1D416888639DED703641F0482EFF556D1D4165BC74F3E0703641A0C8763E516D1D411DA7E8E8D5703641D08095C34D6D1D41A301BC85D37036418088635D4D6D1D4133234ADBC4703641304FAF945F6D1D414A1E164AB9703641103E0AD75C6D1D41E9482EBFB4703641501361C35B6D1D41B4FA5C2DAD703641302CD49A656D1D412A5C8FA2A470364150598638736D1D411A48507C9D703641D0BDC117846D1D41288716F9967036419004C58F8F6D1D41A8F1D20D99703641A033A234A16D1D41A21A2F5D99703641B03B4ED1A36D1D4114A5BD81B6703641D0C2642A9A6E1D41EA0434F1BF70364130234AFBE96E1D411B7C61B2C170364150F38E53AC6E1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1163722 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1166172, N'{77BAEFC5-129E-47E9-B1D0-8C7E65DCD066}', N'014650819', 469482, N'NEP5262', 9808201, N'14650819', NULL, N'7032033011', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 129 KOOTENAY DISTRICT PLAN 5262', N'0163', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-08-09T14:39:37.000' AS DateTime), 36850, 940, 0xBD0B0000010407000000291895F436953A41606DC5FEBD7F214170F90FA990953A41C86D3480C77E214186C9546135953A4188832FCC427E214150A60A665B943A417038D6C5998021412A6519029E943A41A8E3149DFA80214140E8D9CCDC943A41504ED1114E802141291895F436953A41606DC5FEBD7F214101000000020000000001000000FFFFFFFF0000000003, CAST(1166172 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1166740, N'{420486F5-28CE-468D-896D-A61000EA46BF}', N'015313808', 3, N'NO_PLAN', 9782621, N'15313808', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'SW4', N'28', N'23,18', N'PARCEL A (REFERENCE PLAN 115300I) OF THE SOUTHWEST QUARTER OF SECTION 28 TOWNSHIP 23 RANGE 18 WEST OF THE 5TH MERIDIAN KOOTENAY DISTRICT', N'0163', N'0006', N'NO', N'ICF', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-10-13T10:04:17.000' AS DateTime), 18717, 588, 0xBD0B000001040700000094D409A86C7039414890A0781C9F2541E8263188D46F3941B894650856A025416868914D0770394100CBA18563A02541CDDEE00B0C703941C06F5FC764A025419D1A2FDD6A70394158423EE87DA02541F2FDD458A9703941A87D1DB8929F254194D409A86C7039414890A0781C9F254101000000020000000001000000FFFFFFFF0000000003, CAST(1166740 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1168664, N'{1E68D3D9-F161-45B2-A705-3283EAE3EFC8}', N'001715232', 3, N'NO_PLAN', NULL, N'1715232', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 1', N'4', NULL, N'THAT PART OF SECTION 1, RANGE 4, QUAMICHAN DISTRICT, SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 28083I AND CONTAINING 3.25 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 8, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T19:15:31.000' AS DateTime), CAST(N'2021-02-25T16:29:36.000' AS DateTime), 12993, 948, 0xBD0B00000104170000007BE09CF1E6CE314110A5BDC1D44C194169F7E421E3CE3141B01E856BEC4C1941CD19513ADFCE3141603A92CB034D19412463EE3ADBCE314180D2DEE01A4D194156CA3224D7CE314180302AA9314D19412CED0D1EC5CE3141802C431C8D4D194106F01688E9CE314130F8C264964D19412A189574FBCE3141008716D9304D194168F7E481FFCE3141C0BDC197174D19418D18047603CF314110705F07FE4C19418FED7CDF15CF3141600DE02D8A4C194106D7A3502FCF31415017B7D1C94B19419E89B0814DCF3141601E166AE64A1941C84B370978CF314150D34DE29B49194125F697DDB9CF3141008195438F471941D668008F98CF3141F01B7CE18A471941240681756FCF3141303A924BDF4819415839B4285ECF3141409B551F61491941D3F753C333CF314150302A29AC4A1941FCDD02A915CF3141103B704E8F4B1941FB0FE9B7FCCE3141705530AA4B4C19416EF90FA9EACE3141106076CFBC4C19417BE09CF1E6CE314110A5BDC1D44C194101000000020000000001000000FFFFFFFF0000000003, CAST(1168664 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1169407, N'{563BA0BE-218E-44DE-B48D-0E32DFE2D99A}', N'009140221', 126923, N'VIP370', NULL, N'9140221', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 12', N'', N'', N'LOT 12, SECTION 7, VICTORIA DISTRICT, PLAN 370, EXCEPT PART LYING WEST OF PLAN 7 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', N'322.3', CAST(N'2016-01-06T17:44:42.000' AS DateTime), CAST(N'2021-05-30T19:41:41.000' AS DateTime), 322, 73, 0xBD0B000001040800000071A301BC083A3241D0FEB2FB838317418004C52F083A3241D003568E83831741CD915CFEF3393241804625F5728317410A3D9B75EF393241E098BB96A18317412997FF50EE393241E086A757AD831741447B838F023A3241E0490C02BE83174150F38E93033A3241906ABC74B383174171A301BC083A3241D0FEB2FB8383174101000000020000000001000000FFFFFFFF0000000003, CAST(1169407 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1170060, N'{9934BCAD-EF3F-41D9-8718-D862D21E2F4D}', N'013977717', 295389, N'PRP968', 23694471, N'13977717', NULL, N'01257.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'Block 111', N'Section 2', N'LOT 1 BLOCK 111 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-06-10T13:40:11.000' AS DateTime), 233, 66, 0xBD0B00000104050000002BCD3BCEE4792B41CCD5560C92643141DF1B7CE1F8792B4180B740E291643141E5ACFA1CF8792B417C9ECDAA7A643141F9187317E4792B415CAA60D47A6431412BCD3BCEE4792B41CCD5560C9264314101000000020000000001000000FFFFFFFF0000000003, CAST(1170060 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1170061, N'{B8CA32B6-BC2F-4009-9BFC-E21A97AE0899}', N'013978071', 295389, N'PRP968', 23695701, N'13978071', NULL, N'01259.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 11', N'Block 112', N'Section 2', N'LOT 11 BLOCK 112 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-06-10T13:40:11.000' AS DateTime), 233, 66, 0xBD0B0000010405000000434772F9BB792B410CF016287B643141964160E5A7792B41384ED1517B64314192B0E1A9A8792B41A442AD8992643141F00DBEB0BC792B41701B0D6092643141434772F9BB792B410CF016287B64314101000000020000000001000000FFFFFFFF0000000003, CAST(1170061 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1170464, N'{F8E1B593-C4FB-4149-873B-2EC7DEAAC277}', N'001569643', 3, N'NO_PLAN', NULL, N'1569643', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 15A', N'', N'', N'THOSE PARTS OF SECTION 15A, VICTORIA DISTRICT, INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0122', N'0005', N'NO', N'ICIS CADASTRE', NULL, NULL, N'UNKNOWN', N'0', N'3719', CAST(N'2018-12-19T09:34:35.000' AS DateTime), CAST(N'2021-07-09T15:03:41.000' AS DateTime), 3668, 480, 0xBD0B0000010414000000F07C3F156433324110AC1CDA449017412D4CA68A71333241F04A59868C901741B20C71CC7133324100F54A598C901741F60FE9B78B333241F0E68C282E9017418641606574333241306A4D7339901741F07C3F156433324110AC1CDA4490174172348077CF3332417067446979901741F83A70CE4534324100B9FC079590174170F90F4941343241B0923A0144901741B203E7CCD033324130A7E8482990174178A52C03C4333241706B9AF726901741032B8736B7333241C09AE61D26901741C142AD69AA33324130363CBD26901741A3CDAA4F92333241F034EF38729017410B2911839C33324180FEABF670901741A457A6B7A6333241203818B070901741F749E6EBB0333241E05C3E65719017413EFD4C1EBB333241D084031673901741E9B4564DC5333241B06727C27590174172348077CF3332417067446979901741020000000200000000020600000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1170464 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1170714, N'{D3138BED-4EC9-42A6-BAB8-923A55CBF40E}', N'013601687', 1485783, N'VAP2588', NULL, N'13601687', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'2000-03-14T00:00:00.000' AS DateTime), N'REM Lot 3', N'Block 6', NULL, N'LOT 3, EXCEPT THE SOUTH 2.5 FEET NOW LANE, BLOCK 6 SOUTH EAST 1/4 OF SECTION 26 TOWN OF HASTINGS SUBURBAN LANDS PLAN 2588', N'0150', N'0010', N'NO', N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'330', CAST(N'2021-01-12T14:58:05.000' AS DateTime), CAST(N'2021-07-29T09:24:26.000' AS DateTime), 329, 86, 0xBD0B000001040500000099438B8CE98E324180D93DF9B0261D41F8065FB8EA8E3241D00B93292E261D41355EBAA9E08E3241305986B82C261D41D79AE67DDF8E3241F0263188AF261D4199438B8CE98E324180D93DF9B0261D4101000000020000000001000000FFFFFFFF0000000003, CAST(1170714 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1171384, N'{D92C1C08-09B0-4BE7-A69D-027DFE4767DD}', N'023003634', 14772, N'VIP60221', NULL, N'23003634', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot B', NULL, NULL, N'LOT B DISTRICT LOT 12 COWICHAN LAKE DISTRICT PLAN VIP60221', N'0064', N'0007', N'NO', N'MODIFIED-ICIS', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T22:09:35.000' AS DateTime), CAST(N'2021-09-16T09:47:52.000' AS DateTime), 2781, 326, 0xBD0B00000104100000001183C0CA687231414016FB4B7AED19419428ED4D6872314190FD65F780ED1941FDBB05125E7231418027A0090DEE1941F697DD5363723141004703F812EE1941A835CD3BAA72314160218EF5CCED19410244FACDCF723141801A2FDDA7ED19418AA7572AD172314150B81E85A6ED1941E8C03943D1723141A0438B6CA6ED194134B4C8F6EA72314120287E0C8DED1941049A08DBF072314150EC2F3B87ED194181E2C738BE7231417008AC1C80ED19417C14AE47AE723141D088D2DE7DED1941FDF675C0837231412041F1E377ED1941E6FBA9918172314150984C9577ED1941065F980C7C723141F0DD93077DED19411183C0CA687231414016FB4B7AED194101000000020000000001000000FFFFFFFF0000000003, CAST(1171384 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1171662, N'{CBE896CB-9034-4B58-922F-AE1B2CA40FE9}', N'010449183', 252487, N'PGP727', 17746201, N'10449183', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', NULL, N'Lot 6', N'Block 31', N'', N'LOT 6 BLOCK 31 DISTRICT LOT 933 CARIBOO DISTRICT PLAN 727', N'0112', N'0008', N'NO', N'MODIFIED-TANTALIS', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-07-26T16:27:00.000' AS DateTime), CAST(N'2021-10-01T14:35:22.000' AS DateTime), 296, 76, 0xBD0B000001040500000012022B47CD8232412031082C524A2E41A41A2F7DCE82324198EFA746184A2E412F333353C382324158E17A54174A2E415A0E2D52C282324138BE3059474A2E4112022B47CD8232412031082C524A2E4101000000020000000001000000FFFFFFFF0000000003, CAST(1171662 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1171700, N'{9F024163-4B6E-4C8A-85B5-875F8AD0B7DD}', N'011819928', 495510, N'NEP640', NULL, N'11819928', NULL, N'7075881005', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'Block 1', N'', N'LOT 2 BLOCK 1 DISTRICT LOT 1242 KOOTENAY DISTRICT PLAN 640 EXCEPT PLAN R358', N'0163', N'0004', N'NO', N'ICF', 4, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-10-04T16:31:02.000' AS DateTime), 256, 76, 0xBD0B0000010405000000D6ACFA3C2F003941209E5E2997521F410FF2414F3800394140B3EA7382521F419C01BC451E003941E003E70C43521F410A24287E190039411058393462521F41D6ACFA3C2F003941209E5E2997521F4101000000020000000001000000FFFFFFFF0000000003, CAST(1171700 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1173416, N'{44DDF522-2A99-4178-B1C6-ED104D844F58}', N'014948311', 3, N'NO_PLAN', NULL, N'14948311', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART 963', NULL, NULL, N'THAT PART OF DISTRICT LOT 963 SIMILKAMEEN DIVISION YALE DISTRICT INCLUDED WITHIN THE BOUNDARIES OF PLAN DEPOSITED UNDER DD 193069F', N'0163', N'0019', N'NO', N'ICF', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2022-01-19T15:19:33.000' AS DateTime), 47313, 1008, 0xBD0B0000010411000000A2D6348F56EA3741B095438B159E1D4135D6C58D90EA374120143F46DB9D1D414A7424D7CAEA374130F85363A09D1D41B66B0919F6EA3741903D0A57749D1D418C416045DDEA3741E0D022DBFB9B1D41D05D4BA8C7EA3741E0BE0E9CF79A1D411F6C78BAA6EA3741B06132D54F9B1D415CC3D36B45EA3741E020B072149C1D41DD361A600AEA3741B00A4625539C1D41D63D7978E5E93741E05817375F9C1D41C7BAB86D88E93741E0CEF753319C1D41568638F6A1E9374130D9CEF7BD9D1D41C1A8A40EAAE93741F0A292BA3B9E1D41F9A9F132B2E9374180B6627FBA9E1D4178BE9F3AE4E93741F0A9F152889E1D41E0C798DB1CEA3741F0B359754F9E1D41A2D6348F56EA3741B095438B159E1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1173416 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1174094, N'{6941AEF3-9079-4BD7-A0A3-5B0A32F78D98}', N'005700876', 495877, N'NEP595', 90054448, N'5700876', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 28', N'Block 18', N'', N'LOT 28 BLOCK 18 DISTRICT LOT 208 KOOTENAY DISTRICT PLAN 595', N'0056', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:48.000' AS DateTime), 229, 69, 0xBD0B000001040A000000E451B81E822F394180810445E4DE2141B6BE9153812F394108949184E1DE21415A417C81802F3941282B4DCCDEDE214181EE8CA87F2F394168247D1CDCDE2141D28AD9C87E2F3941B0846675D9DE2141B08878E27D2F394170704DD7D6DE21412A0681F57C2F394140257542D4DE2141C4749338662F3941A8051294E1DE214171D712D2682F3941B0180416F3DE2141E451B81E822F394180810445E4DE214101000000020000000001000000FFFFFFFF0000000003, CAST(1174094 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1174136, N'{4113AE59-FD16-4492-BECE-3ACE90651168}', N'005700485', 496129, N'NEP546', 90054454, N'5700485', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 13', N'Block C', N'', N'LOT 13 BLOCK C DISTRICT LOT 208 KOOTENAY DISTRICT PLAN 546', N'0056', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:43.000' AS DateTime), 270, 87, 0xBD0B000001040500000008B5A6D9492F394120EBE2F6A2DE21418B0D4FAF472F3941882C435C94DE2141D419513A272F3941F863CC5DA7DE2141EA263148262F3941F0F0F4CAB7DE214108B5A6D9492F394120EBE2F6A2DE214101000000020000000001000000FFFFFFFF0000000003, CAST(1174136 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1174249, N'{D80A81ED-9566-4E23-A3D5-AAC7B8ED59DA}', N'001593323', 141191, N'VIP1291', NULL, N'1593323', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'Block 3', N'', N'THAT PART OF LOT 6, BLOCK 3, SECTION 9, ESQUIMALT DISTRICT, PLAN 1291 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0154', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:56:08.000' AS DateTime), CAST(N'2019-01-05T10:21:58.000' AS DateTime), 355, 82, 0xBD0B00000104060000006A006F21EB2A324120211FF4F499174137014D84DE2A324150B3EAF3C49917412697FF50DE2A3241000EBE30C49917419306F0F6D82A3241C0A44EC01E9A1741BAA679C7E52A324180B740824F9A17416A006F21EB2A324120211FF4F499174101000000020000000001000000FFFFFFFF0000000003, CAST(1174249 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1175008, N'{9D2BE094-C9E0-40B8-B106-D06FE70837A3}', N'007215096', 16818, N'VIP1553', NULL, N'7215096', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 14', N'', N'', N'THAT PART OF LOT 14, SECTION 12, RANGE 6, QUAMICHAN DISTRICT, PLAN 1553, SHOWN INCLUDED IN PLAN 1027 O.S.', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 15, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T19:26:14.000' AS DateTime), CAST(N'2019-01-31T13:25:59.000' AS DateTime), 8887, 738, 0xBD0B000001040B000000C6BAB86D81D7314120508D17F58C1941BBFC875465D7314190711B0DEF8C1941F0B050EB32D73141B00F7A36E48C1941DA68006F1ED73141B03A014DFF8C19418538D6C544D63141E0A679C71C8E19412CBB270F3BD63141C014AE47288E1941B2FA5C0D2FD6314120E561A1358E1941B6C8763E2ED6314130C28627AB8E1941DA9AE65DA4D63141A0043491178E194158F5B9FA64D73141A0ED7C3F1A8D1941C6BAB86D81D7314120508D17F58C194101000000020000000001000000FFFFFFFF0000000003, CAST(1175008 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1175078, N'{45C6E063-4040-4EE3-82F8-63C1C3A5BEC5}', N'007643861', 494180, N'NEP9712', NULL, N'7643861', NULL, N'553399010', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot A', NULL, NULL, N'LOT A DISTRICT LOT 397 KOOTENAY DISTRICT PLAN 9712 EXCEPT PLAN NEP66145', N'0083', N'0004', N'NO', N'ICF', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-24T16:15:55.000' AS DateTime), 4407, 356, 0xBD0B000001040A0000004AEA04B4082B3841D0AE252472C22241B537F802092B3841A0081B5E6CC22241F6CBEE89152B3841A82E6E6393C12241E8482EBFFA2A384188C1172636C1224149D8F0B4F82A3841008048BF67C12241DDF0F4EAF22A3841D83A70CEBDC12241C242ADE9EB2A38413092CB7F12C222413C575B71E62A3841B0AF03A763C22241ECFDD4F8E52A38416888639D6AC222414AEA04B4082B3841D0AE252472C2224101000000020000000001000000FFFFFFFF0000000003, CAST(1175078 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1175386, N'{6CCA4680-73A2-475B-A99F-A3AADD10DD36}', N'001668595', 3, N'NO_PLAN', NULL, N'1668595', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 181', N'', N'', N'THAT PART OF LOT 181, MALAHAT DISTRICT SHOWN OUTLINED IN RED ON PLAN 1437R AND CONTAINING 0.521 OF AN ACRE MORE OR LESS', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 22, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:44:20.000' AS DateTime), CAST(N'2020-05-09T21:08:24.000' AS DateTime), 2121, 280, 0xBD0B000001040A000000F40FE9B7B4D2314110295C0FFD761741241FF46CB6D23141F04082E2E8761741CC32C411B8D23141C076BE9FD4761741EE41CF46C1D23141A09B559F60761741FA7E6A5CBDD23141000DE0AD5B761741A6ADD83FBAD23141805BB1BF57761741597DAE36D1D2314120E5612133751741D478E9A6C2D2314140143FC620751741AE7268119FD231417058A835DF761741F40FE9B7B4D2314110295C0FFD76174101000000020000000001000000FFFFFFFF0000000003, CAST(1175386 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1175556, N'{04EC90CB-0017-46E2-9433-D78F2D8277EF}', N'007468741', 140656, N'VIP1375', NULL, N'7468741', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block 1', N'', N'LOT 3, BLOCK 1, SECTION 33, VICTORIA DISTRICT, PLAN 1375', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:23:15.000' AS DateTime), CAST(N'2019-01-05T10:52:48.000' AS DateTime), 526, 98, 0xBD0B000001040600000070128300F1393241C0BDC1970B921741D6F97EEA023A3241F02E6EA37C921741F575E03C103A3241403A924B5B921741FFDD0249FE393241D0D9ACFAE9911741E0938745FE39324160DC4603EA91174170128300F1393241C0BDC1970B92174101000000020000000001000000FFFFFFFF0000000003, CAST(1175556 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1175762, N'{23A1DE8D-F536-4BC9-B2D0-03F7133E9228}', N'016169361', 472080, N'NEP639', 90054745, N'16169361', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 17', N'Block 52', NULL, N'LOT 17 BLOCK 52 DISTRICT LOT 1901 KOOTENAY DISTRICT PLAN 639', N'0163', N'0018', N'NO', N'MODIFIED-ICF', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-05-11T15:31:30.000' AS DateTime), 326, 83, 0xBD0B0000010405000000AACFD576E8ED3A41D0E53FE4C6A8204137B4C876C9ED3A410083C08ABEA82041F631E60EC8ED3A41D000DE42D3A820418CA0F8F1E6ED3A41F84C848DDBA82041AACFD576E8ED3A41D0E53FE4C6A8204101000000020000000001000000FFFFFFFF0000000003, CAST(1175762 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1175810, N'{71156815-303B-4906-B728-470211E7E206}', N'005634211', 141682, N'VIP7977', NULL, N'5634211', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 19', N'Block 2', N'', N'LOT 19, BLOCK 2, SECTION 36, VICTORIA DISTRICT, PLAN 7977', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:49:17.000' AS DateTime), CAST(N'2019-01-05T10:53:58.000' AS DateTime), 729, 113, 0xBD0B0000010405000000182FDD047644324130C05BA09289174118E258D78744324120C286A7A3891741BD7D1D588C443241F079362B14891741811D388776443241500B24A800891741182FDD047644324130C05BA09289174101000000020000000001000000FFFFFFFF0000000003, CAST(1175810 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1178364, N'{D86DCF5F-1A7A-4A50-9C79-D18FCFC7274C}', N'001328786', 1184317, N'NWP19748', NULL, N'1328786', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2009-10-16T00:00:00.000' AS DateTime), N'REM Lot 1', N'Block M', N'', N'LOT 1 EXCEPT: PART WITHIN HEAVY OUTLINE ON STATUTORY RIGHT OF WAY PLAN 79636, BLOCK M DISTRICT LOT 440 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 19748', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:37:09.000' AS DateTime), 554, 96, 0xBD0B0000010406000000A435CDDB2CB1324170BB278F0F691C418C1804B642B13241E0F528DC27691C41DF4F8D174BB13241D08EE4F228691C41D2CCCC0C4CB13241709CA2A3D8681C412FB29D8F2DB13241F00B93A9D4681C41A435CDDB2CB1324170BB278F0F691C4101000000020000000001000000FFFFFFFF0000000003, CAST(1178364 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1178601, N'{AD38775E-4A18-4413-BCA6-904D0BF6C391}', N'008803269', 5461754, N'VIP584', NULL, N'8803269', NULL, N'110335', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block 48', NULL, N'LOT 3, BLOCK 48, SECTION 1, NANAIMO DISTRICT, PLAN 584, EXCEPT PART IN PLAN 15285 AND 48002', N'0084', N'0021', NULL, N'PMBC-COMPILATION', 0, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', N'558.2', CAST(N'2019-04-04T08:45:35.000' AS DateTime), CAST(N'2021-02-18T12:00:10.000' AS DateTime), 558, 98, 0xBD0B0000010405000000CE915CDEA48C3141708EE472424E1C4118D9CE77B98C314100F54A59364E1C41B7F3FD54BE8C314180D93DF9CB4D1C417C734634AA8C3141806DC5FECD4D1C41CE915CDEA48C3141708EE472424E1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1178601 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1178602, N'{58E6FBCE-5ACD-4460-AF5E-A1D708B3D2A3}', N'008803251', 5461754, N'VIP584', NULL, N'8803251', NULL, N'110335', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'Block 48', NULL, N'LOT 2, BLOCK 48, SECTION 1, NANAIMO DISTRICT, PLAN 584, EXCEPT PARCEL A (DD 19746N) AND EXCEPT PART IN PLAN 15285 AND 48002', N'0084', N'0021', NULL, N'PMBC-COMPILATION', 0, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', N'252.6', CAST(N'2019-04-04T08:45:35.000' AS DateTime), CAST(N'2021-02-18T12:00:10.000' AS DateTime), 253, 72, 0xBD0B0000010405000000FB5C6D65C88C3141A0D85FF6CA4D1C41B7F3FD54BE8C314180D93DF9CB4D1C4118D9CE77B98C314100F54A59364E1C41287E8CF9C38C3141E0C876BE2A4E1C41FB5C6D65C88C3141A0D85FF6CA4D1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1178602 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1179110, N'{FD65D153-294B-4493-9A84-816D1FE8A32F}', N'013067648', 3, N'NO_PLAN', 3205461, N'13067648', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'B', N'264', N'', N'PARCEL B PLAN H9364 OF DISTRICT LOT 264 KAMLOOPS DIVISION YALE DISTRICT', N'0055', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2018-01-09T12:31:03.000' AS DateTime), 678, 106, 0xBD0B0000010407000000802F4C4682A73541B83D79988DAA23414C27A00983A73541D0C117667BAA23415A2041D183A7354170CE88D268AA234188F4DB7765A73541F0FDD4B863AA234143FAEDEB63A735412827A08988AA2341492575A281A7354158DE71CA9CAA2341802F4C4682A73541B83D79988DAA234101000000020000000001000000FFFFFFFF0000000003, CAST(1179110 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1179684, N'{3C5D45CB-2FC8-4AEE-BCFA-03F3181CF8F4}', N'014095009', 3, N'NO_PLAN', NULL, N'14095009', NULL, N'759-000171.100', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'SE4', N'29', N'', N'PARCEL A (R10679) OF THE SOUTH EAST 1/4 OF SECTION 29 TOWNSHIP 19 PEACE RIVER DISTRICT, EXCEPT PLAN PGP37154', N'0163', N'0015', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2018-01-09T12:26:46.000' AS DateTime), 249820, 2176, 0xBD0B0000010447000000353CBDF2997434411C4D840D5B333241BAA679279F7434416429CB10563332416F810445A4743441CC10C7FA503332411371AC4BA9743441DC285CCF4B333241876CE73BAE7434416C567D8E463332414AE17A14B374344138992A38413332419A218ED5B7743441D03099CA3B3332410612147FBC743441189E5E49363332412FC4B10EC1743441B8FC87B430333241EE384587C5743441985E290B2B333241A813D0E4C974344138F1634C25333241D6F97E2ACE743441D0C7987B1F333241F27C3F55D27434414474249719333241C2C11766D674344188C0CAA113333241DAA3705DDA743441581058990D3332414850FC38DE7434413492CB7F0733324183E2C7F8E17434411CF46C5601333241EB3FA49FE5743441C0F5281CFB323241B28BDB28E9743441DC1FD2CFF432324139AB3E97EC74344154742477EE3232415939B4E8EF7434413CE8D90CE832324198FF901EF374344150E17A94E132324116E25837F674344124C4B10EDB323241C2172633F9743441F475E07CD4323241AC726811FC74344174AC8BDBCD323241A245B6D3FE743441D856EC2FC73232411AE258770175344120FDF675C03232413008ACFC0375344100BC05B2B93232414FA60A66067534413C6EA3E1B23232412CB29DAF0875344148795808AC323241DCC798DB0A753441D4CAA125A53232410DF016E80C753441E81873379E323241527424D70E7534416C006F419732324110022BA7107534412441F143903232412DA2B4571275344134FF213D89323241A879C7E91375344110E9B72F82323241BFEC9E5C15753441ECB5841C7B3232417DFB3AB0167534410C9C330274323241B2FA5C8D6375344144D191BCC3303241D58173866475344150E17AF4BD30324126CB10676575344150158C2AB8303241538D972E6675344154EC2F5BB2303241907571DB66753441680B2488AC303241C3A8A46E67753441C420B0B2A6303241E82631E867753441E0BE0EDCA0303241B8AF034768753441948026029B303241D2CCCC8C687534419CE61D27953032410AB5A6B9687534415803784B8F3032416AD5E7CA6875344130CD3B6E89303241285305C368753441147C6192833032413B80B7A06875344148D8F0B47D30324189416065687534410C2DB2DD7730324112E9B70F68753441C41B7C017230324103F775A067753441A49465286C303241930F7A1667753441848EE45266303241BCA8A40E67753441C02C43FC65303241C31726F3C67434411C5C8F82593032418E87851A097434412CB4C8764A303241B2506BBAFA73344114A5BD6114313241B496900FD1733441C057CA9253333241440AD7C3CF733441703F359E65333241A41A2FDDCE73344160E2C758713332419A900F3A707434412CCB10877D333241C1E3143D73743441ACBDC1577B3332419C923A01797434415CAF9405773332418EA0F8B17E743441B4ABAD987233324130BB274F84743441EC61A1166E333241567DAED6897434417834807769333241829ECD4A8F743441402EFFC1643332412F5530AA94743441186A4DF35F333241353CBDF2997434411C4D840D5B33324101000000020000000001000000FFFFFFFF0000000003, CAST(1179684 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1179831, N'{740ABCE3-BA35-42C5-AB69-31A717A2285E}', N'001713647', 3, N'NO_PLAN', NULL, N'1713647', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 180', N'', N'', N'THAT PART OF LOT 180 "QUEEN OF SHEBA" MINERAL CLAIM, HELMCKEN DISTRICT, SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 35116I AND CONTAINING 2.80 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 15, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T20:18:33.000' AS DateTime), CAST(N'2019-01-07T18:32:59.000' AS DateTime), 11773, 809, 0xBD0B000001042F000000E5D9ACFA01D8314190174850F8FE18419C01BCE505D8314130759318B8FE1841B70F2BC309D831419016F75092FE1841A02C14020ED8314150333E326DFE1841014EABA012D83141D0DE1ECC48FE18413BEAFB9C17D83141500A012E25FE18414FCCE9F41CD831412000F86602FE1841A0F831A622D83141C001BC85E0FD18416D5F07CE27D83141C0EC9E3CC4FD1841A74CB3AB2DD8314110CCE66CA6FD1841BAAB2AD033D83141403AD58489FD1841473C32393AD83141208BEA8E6DFD18415AD575E440D8314160194F9552FD1841583E89CF47D83141D097CFA138FD1841F70FE9F74ED83141807FD9BD1FFD1841FDDD02C955D83141F07ED9BD09FD1841C6EEC94359D831418007CE19FFFC1841B81E852B5FD83141001DC9E5EDFC18418A635DBC69D8314150742497D1FC184146D8F03492D8314120ED0D3E65FC1841B5270F4BF3D83141B0490C0266FB1841B1726831F4D83141F0E461A106FB1841C698BBD6F4D83141602AA993D1FA18414A2EFF61E1D8314140158C4A03FB184180FB3A10E1D8314150E3A51B04FB1841645DDC8693D8314170FC18F3C2FB18419F8026E25DD83141C0D556EC57FC184140F163AC4DD83141E07AA5AC83FC18413EAD691E46D83141604DF38E99FC1841FE18733742D8314140477279A5FC18413A4547923AD83141A0E3141DBEFC1841D913F9EF31D831410073F82EDCFC1841CF59969D29D83141400450A1FBFC184107A5A19E21D831412020D8661CFD184107537AF619D83141903BBE713EFD1841D1245BA812D831411090A6B361FD18411AE258B70BD83141202DB21D86FD1841187C611206D83141B00E9C33A6FD18416015326CFFD73141C085B860CFFD18411683773AF9D73141201487ACF9FD184118093580F3D73141F04D750225FE184102D03340EED7314160576F4D51FE1841F489017DE9D731414026EA777EFE1841DA34EF38E5D7314150FAED6BACFE1841B86B09D9E0D73141C082C0CA00FF18415C7FD9FDFFD73141E0CE88D2F8FE1841E5D9ACFA01D8314190174850F8FE184101000000020000000001000000FFFFFFFF0000000003, CAST(1179831 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1181171, N'{368614C5-62FC-4FFF-A235-2588735FAED8}', N'007482922', 4652349, N'VIP379RW', NULL, N'7482922', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 31', N'', N'', N'THAT PART OF LOT 31, DISTRICT LOT 140, ALBERNI DISTRICT, PLAN 1414, BEING THE LOGGING RAILWAY SHOWN ON PLAN 379 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2019-01-10T15:03:30.000' AS DateTime), 491, 116, 0xBD0B00000104050000008538D6454C7D3041A098BB16FB021D41124FAFD44B7D30418048BFFD46031D4176BE9FDA637D3041B0E8482EBF031D41E19C1185667D3041D01DA7687E031D418538D6454C7D3041A098BB16FB021D4101000000020000000001000000FFFFFFFF0000000003, CAST(1181171 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1181826, N'{82A1E448-55EF-49CE-820B-5B32E86810CF}', N'005090113', 246698, N'PRP1076', 35720441, N'5090113', NULL, N'03512.520', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 28', N'Block 2', N'', N'LOT 28 BLOCK 2 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 289, 91, 0xBD0B00000104060000000FE9B7EFD62D2C4150F38E13F2A0304115FBCBEE132E2C414CBC74D308A13041A3D634EF1C2E2C4150EA04B402A13041624469EFF32D2C4164F38E73F3A03041DC6800EFDF2D2C41282AA9F3EBA030410FE9B7EFD62D2C4150F38E13F2A0304101000000020000000001000000FFFFFFFF0000000003, CAST(1181826 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1181859, N'{4472B78C-EA15-4710-BC1C-C696CBB2554F}', N'011819944', 495510, N'NEP640', NULL, N'11819944', NULL, N'7075881005', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', N'Block 1', N'', N'LOT 3 BLOCK 1 DISTRICT LOT 1242 KOOTENAY DISTRICT PLAN 640 EXCEPT PLAN R358', N'0163', N'0004', N'NO', N'ICF', 4, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:21:26.000' AS DateTime), 210, 65, 0xBD0B00000104050000007E1D38272600394160AA60D4AB521F41D6ACFA3C2F003941209E5E2997521F410A24287E190039411058393462521F418F1804B614003941A03E575B81521F417E1D38272600394160AA60D4AB521F4101000000020000000001000000FFFFFFFF0000000003, CAST(1181859 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1182486, N'{C10F7F91-A3F0-4301-84D5-1D3FEDCA9B7F}', N'000016004', 646724, N'VIP2024', NULL, N'16004', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block D', N'', N'THAT PART OF LOT 3, BLOCK D, DISTRICT LOT 258, NEWCASTLE DISTRICT PLAN 2024, SHOWN COLOURED RED ON PLAN 148 RW', N'0163', N'0029', N'NO', N'MODIFIED-ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:38.000' AS DateTime), 356, 114, 0xBD0B0000010410000000A713D004ED6B30413096210E69B71D41B37BF2D00F6C304180742417EEB61D419BC420100A6C304170FB3AF0ECB61D41894DDE84046C3041009555F8FCB61D41A45E52D1FE6B3041E01BC5170CB71D415CE2DEF7F86B304130C537481AB71D41289AF5FAF26B3041F0A1BF8327B71D41DF1817DDEC6B3041B01DD5C433B71D411CB7D1A0E66B3041904A59063FB71D41EFEBC039E66B304180CFD55674B71D4134819E5DE76B304100D01D8972B71D416B93B180E86B304140C579B370B71D41D4B1F6A2E96B3041A03CEFD56EB71D41246E6AC4EA6B304170DA83F06CB71D41885C09E5EB6B3041C05C3D036BB71D41A713D004ED6B30413096210E69B71D4101000000020000000001000000FFFFFFFF0000000003, CAST(1182486 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1183025, N'{F61030A1-BD07-46A4-93F6-2FB4050B2B52}', N'006004571', 655659, N'VIP5535', NULL, N'6004571', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot B', N'', N'', N'LOT B, DISTRICT LOT 218, COMOX DISTRICT, PLAN 5535', N'0013', N'0027', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-27T18:15:14.000' AS DateTime), 466, 100, 0xBD0B00000104080000008938D6853C1D304108F7756003D120414972F9EF431D3041C8B584FC0AD1204186DB6840491D3041C08BDB6800D12041177C61F2501D3041C0CAA105F1D02041F5CBEEA9581D3041D0F753A3E3D020414DAF94455D1D3041F0DBD701DDD0204196DD93E74F1D3041B00A46E5C1D020418938D6853C1D304108F7756003D1204101000000020000000001000000FFFFFFFF0000000003, CAST(1183025 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1183402, N'{6FDE044D-92E6-4FA6-89EA-6F1756529D8A}', N'009812491', 3191502, N'KAP8543', 31802531, N'9812491', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 331 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 8543', N'0163', N'0019', N'NO', N'ICF', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:36:46.000' AS DateTime), 25559, 853, 0xBD0B000001042A0000000C3D9BB5FECB3741309B559F71F51C412997FFF0F9CB3741B07FB74087F51C413AF8C244F5CB374180A2B4379DF51C41AC7268B1F0CB37414024287EB3F51C4156742437ECCB3741904F8D17CAF51C41C6A145D6E7CB3741406DC5FEE0F51C41F8285C8FE3CB374140EA0434F8F51C41F2D24D62DFCB3741F0E904B40FF61C41B68D0650DBCB3741406DC57E27F61C41DE3D7958D7CB374140BB96903FF61C41C4F5287CD3CB3741D066D5E757F61C415AEC2FBBCFCB3741E0B7AF8370F61C41D2AACF15CCCB374190D2DE6089F61C417C832F8CC8CB3741306DC57EA2F61C41C67F481FC5CB374140F5B9DABBF61C41004D84CDC1CB374150D5E7EAD5F61C41FCF675A0D2CB37413090A0F880F71C412241F1A3EECB3741904C158CB8F71C41D8D7817381CC374150DD240624F51C41E8C03963EECC3741E0BB969086F51C4186B0E1A9F5CC37418060545286F41C41058A1F23E5CC3741004C37897BF41C41C0749398D4CC3741206822EC71F41C41E6AE2504C4CC374160FD657769F41C41635DDC66B3CC3741B054302A62F41C4180B740C2A2CC3741302653055CF41C41E058171792CC374110DE020957F41C41D2B6903485CC374130BCF6A755F41C41040BAB5578CC37416001537058F41C416A4EDF8F6BCC37415038735D5FF41C415E997CF85ECC3741403BC9636AF41C41D49684A452CC3741C071F07079F41C41887888A846CC37415089CC6B8CF41C41EEA686183BCC3741D054B334A3F41C410966C90730CC374120A1A1A5BDF41C41CEA6C68825CC374160A07A92DBF41C41943A01AD1BCC3741808251C9FCF41C41CCBCE3B412CC37410002BC851EF51C4100B37B920DCC3741F05C6DC532F51C41B7B88D8608CC3741B0ADD85F47F51C418E976E9203CC374160F38E535CF51C410C3D9BB5FECB3741309B559F71F51C4101000000020000000001000000FFFFFFFF0000000003, CAST(1183402 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1183613, N'{CC24DAFA-3624-4C96-82E5-3394EC8563A8}', N'024742333', 491020, N'NEP66431', NULL, N'24742333', NULL, N'01375.087', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2000-03-31T00:00:00.000' AS DateTime), N'Lot A', N'', N'', N'LOT A DISTRICT LOT 7173 KOOTENAY DISTRICT PLAN NEP66431', N'0015', N'0004', N'NO', N'ICF', 3, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:20:42.000' AS DateTime), 11737, 449, 0xBD0B000001040E0000003480B72032813841209CC4A054361F41308032F02F8138415035E5BE98361F4198CD6B632F81384150398C63DD361F41702BAE7B3081384180AB71ED21371F41721D673633813841006A8CBB65371F41F1F22C8D37813841B08F8C2EA8371F4150D8CD753D813841E0C151AAE8371F41E8CA67E24481384180025A9726381F41483789C14D81384120AF256461381F41A857CAF271813841D0ACFADCD2381F418E7EFBBAB181384160DE710A50371F41ED61A1F63E813841E0E68CA856361F41E9AE2544338138417088635D3D361F413480B72032813841209CC4A054361F4101000000020000000001000000FFFFFFFF0000000003, CAST(1183613 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1184214, N'{6A9BD009-20D7-4551-ABC5-407221C09EF8}', N'013977911', 295389, N'PRP968', 23708731, N'13977911', NULL, N'01263.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 6', N'Block 114', N'Section 2', N'LOT 6 BLOCK 114 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:27.000' AS DateTime), 172, 54, 0xBD0B00000104050000008BA0F8F126772B41985CFEA3916431412F08AC5C26772B414847727980643141F616485012772B41D800DEA28064314152AF94E512772B41100DE0CD916431418BA0F8F126772B41985CFEA39164314101000000020000000001000000FFFFFFFF0000000003, CAST(1184214 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1184496, N'{E32A2463-5899-4977-9C1A-8A6930B32AAD}', N'002054850', 3, N'NO_PLAN', NULL, N'2054850', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART SE4', N'15', N'19,9', N'THAT PART OF THE SOUTH EAST 1/4 OF SECTION 15 TOWNSHIP 19 RANGE 9 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT LYING NORTH OF A LINE 1320 FEET PERPENDICULARLY SOUTH FROM THE NORTH BOUNDARY OF THE SAID QUARTER SECTION AND PARALLEL THERETO, EXCEPT PLANS A713, 30215, H10220 AND KAP70229', N'0163', N'0012', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-19T18:25:20.000' AS DateTime), 211153, 2473, 0xBD0B0000010414000000BC3923EA36A136418046947617B123412E772DC15CA0364198D85F36D4B023413B5EBAC93BA03641902F4CA692B02341D878E9E66CA03641E0CFD5D640AF234186FD65F79BA03641B05B200124AF2341E96A2BD66FA0364178A835CD0EAE23411CC9E59F579F364160772DE1D7AD2341F4DBD7E1539F3641D89C1125D7AD234140CF6675419F36417070CE88D3AD2341C86D34608D9E364168FF213DB0AD234150E3A53B6C9E3641F8C0396348B023414CAF9445659E364158AF94E5D3B02341BC4082E2E29E364170128380ECB023410C61C31342A0364140F1634C31B12341696666461AA13641F878E9A65BB12341BC3923EA36A136418046947617B12341C2E314FD56A136412071AC8B67B12341E86A2B5690A13641584BC8C772B1234105B5A67996A13641F0DFBE8EF5B02341C2E314FD56A136412071AC8B67B12341020000000200000000021000000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1184496 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1184739, N'{EFCBA96F-15AE-434B-B886-04FE0B3EA218}', N'017564930', 6178, N'VIP52868', 90076835, N'17564930', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'', N'', N'LOT A, BLOCK 347, NEWCASTLE DISTRICT, PLAN VIP52868', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2019-01-05T08:37:01.000' AS DateTime), 3747, 302, 0xBD0B0000010405000000AC0C718CEDCC30410097FF902C931D41FEDD0209EDCC3041701B0D60F9921D410ED0447887CC30410035EFB825941D4189416025EFCC3041503FC6DC19941D41AC0C718CEDCC30410097FF902C931D4101000000020000000001000000FFFFFFFF0000000003, CAST(1184739 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1184840, N'{129532C7-3747-4D36-BA40-1C0D8B5CA98E}', N'001887726', 8263, N'VIP18343', NULL, N'1887726', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 10', N'', N'', N'LOT 10, DISTRICT LOT 117, NANOOSE DISTRICT, PLAN 18343, EXCEPT THAT, PART IN PLAN 40252', N'0163', N'0021', NULL, N'MODIFIED-ICIS', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2019-01-05T08:35:08.000' AS DateTime), 5734, 337, 0xBD0B00000104180000001A3FC69C1D4B3141F020B072BED51C41BE0E9C93284B3141F0B7AF03A9D51C4176F2B0702A4B3141808026428BD41C41DB12F2C13B4B314130992A988FD41C41D086707A3A4B3141608E5F8D8DD41C41836A1C40394B31418048200E8BD41C419FA38A15384B314190D7AC1F88D41C415DF52EFD364B3141401B2FC884D41C418AD856F9354B314100CEAD0E81D41C4144A4240C354B3141C0BEFDFA7CD41C4111118B37344B3141905AB19578D41C416A20497D334B314170A506E873D41C41D870E6DE324B314120CCD3FB6ED41C418506B05D324B3141D07672DB69D41C41138FB5FA314B3141A002AA9164D41C415626C7B6314B314130DC98295FD41C41D4A07392314B3141701B9DAE59D41C41725F078E314B3141E09E3C2C54D41C412EA2B4D7ED4A3141D0C7983B4ED41C4176BE9F9AE94A3141401AC0DBCDD51C41684DF34EFD4A3141F0F44A59B5D51C414BEA04F4034B314150A1D634B7D51C41A513D0241B4B314160CCCCCCBDD51C411A3FC69C1D4B3141F020B072BED51C4101000000020000000001000000FFFFFFFF0000000003, CAST(1184840 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1187291, N'{A37D659C-796B-40FD-AB82-C36240792D1E}', N'011322365', 1303888, N'VAP4742', NULL, N'11322365', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-02T00:00:00.000' AS DateTime), N'Lot 6', N'Block 27', N'', N'LOT 6 BLOCK 27 DISTRICT LOT 599 PLAN 4742', N'0092', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T10:50:27.000' AS DateTime), 498, 94, 0xBD0B0000010405000000EA8C282DA07A3241E05296212C871D411D8E75719E7A3241003D9B55A9871D41442CD47AAE7A324130014D84AC871D412C6519E2AF7A3241C0C7983B2F871D41EA8C282DA07A3241E05296212C871D4101000000020000000001000000FFFFFFFF0000000003, CAST(1187291 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1188624, N'{C4CF974C-0E85-4FD4-AD9D-C6B2CB6DE6F3}', N'009680306', 1170767, N'NWP2620', NULL, N'9680306', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-16T00:00:00.000' AS DateTime), N'Lot 38', N'Block D', N'Lot 758', N'ALL THAT PORTION OF LOT 38 BLOCK D DISTRICT LOT 758 GROUP 1 PLAN 2620 SHOWN ON STATUTORY RIGHT OF WAY PLAN 10087', N'0088', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:36:34.000' AS DateTime), 941, 152, 0xBD0B0000010405000000AB3E577B96A53241C0AACF556A871C418E06F0D696A53241002B871648871C414450FCF87DA532418099991903871C4184DB68407BA53241E054C12807881C41AB3E577B96A53241C0AACF556A871C4101000000020000000001000000FFFFFFFF0000000003, CAST(1188624 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1188874, N'{74716A0D-C58E-436E-A5CC-212C458E10D0}', N'013748181', 1479979, N'NWP2390', NULL, N'13748181', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', CAST(N'2011-07-07T00:00:00.000' AS DateTime), N'REM Lot 11', N'Block F', N'', N'LOT 11, EXCEPT: PART ON SRW PLAN 26009 BLOCK "F" DISTRICT LOT 88 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 2390', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:39:37.000' AS DateTime), 791, 124, 0xBD0B0000010407000000E02D9000E3AC3241B0226C788AEA1C41F7CBEE09E3AC3241E06E81848AEA1C41029A08DBEBAC3241D02D211F62EA1C410E143F26C9AC3241406666E6E8E91C41218E7591BDAC32414029CB101EEA1C413F9B55DFD8AC32411020D26F7DEA1C41E02D9000E3AC3241B0226C788AEA1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1188874 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1189457, N'{34D4D78D-61AE-4D2E-B496-4D51FFEC6855}', N'013667335', 1480228, N'NWP3081', NULL, N'13667335', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-02T00:00:00.000' AS DateTime), N'Lot 3', N'', N'', N'LOT 3 DISTRICT LOT 214 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 3081', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T13:21:45.000' AS DateTime), 5895, 332, 0xBD0B000001040B0000001DD26F3F86A9324140257502C7471D41F7285C8F86A9324100A392BA88471D4146E17AB486A93241907F48BF6C471D4134AB3E3787A932417080B7400A471D41FB97DDB388A9324140C6DC35F2451D41711B0DC055A932410048E1FAED451D41CEDEE04B54A9324180D7817301471D4148BF7DBD53A93241B0F085496F471D41D85F760F53A932419004C58FB0471D41BA627F397BA93241C06C567DC7471D411DD26F3F86A9324140257502C7471D4101000000020000000001000000FFFFFFFF0000000003, CAST(1189457 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1190474, N'{DB44E1A5-7A3F-476C-85C0-43D4F309E361}', N'008928436', 1090483, N'NWP28036', NULL, N'8928436', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 104', NULL, NULL, N'LOT 104, EXCEPT: PART ON PLAN 52635 DISTRICT LOT 1 GROUP 3 NEW WESTMINSTER DISTRICT PLAN 28036', N'0081', N'0009', N'NO', N'ICIS CADASTRE', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-02-15T14:57:20.000' AS DateTime), 1618, 164, 0xBD0B0000010406000000FA31E6CE9963334140189554705C1C412385EBF1C463334160B3EAF3A95C1C41E5D9ACDACC63334100BF0E1C335C1C413A80B700A5633341207D3FB5D25B1C417468912D9B633341D06F5F075D5C1C41FA31E6CE9963334140189554705C1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1190474 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1190685, N'{ACD9B56B-DAD4-45F1-AE8E-3554B2437BDC}', N'011412216', 3, N'NO_PLAN', NULL, N'11412216', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-14T00:00:00.000' AS DateTime), N'PART 244', N'', N'', N'THAT PART DISTRICT LOT 244 SIMILKAMEEN DIVISION YALE DISTRICT AS SHOWN RED ON PLAN ATTACHED TO DD 2193 EXCEPT PLAN H942', N'0163', N'0022', N'NO', N'SRW-COMPILATION', NULL, NULL, N'COGO', N'0', N'60713', CAST(N'2018-06-28T10:03:25.000' AS DateTime), CAST(N'2019-03-25T10:20:44.000' AS DateTime), 60650, 3394, 0xBD0B00000104250000006EC5FE52F23A36410034113650431D41676666E6F73A3641B05A423EF1421D41DF9C1185F93A364160FAED6BF2421D4153D1915C2B3B36413025E403833F1D41CA98BB36383B36419059F539A03E1D418E28ED6D573B3641C0726811DC3B1D41DAF97ECA673B3641B0B437F80F391D410C93A942753B364100F7E4619A311D41DC68008F813B364160D3BCE37A2F1D41C3D32B25983B364180A1D6B4602D1D41DE02098AC23B36414007CE19692A1D41B9FC8774C13B364190A52CC3682A1D41744F1ED6AC3B3641C0180456622A1D41548638566B3B3641101EA768542A1D414803788B513B364120D044D8452A1D41EF434AB64F3B3641B0E14D60962A1D419021650F4E3B3641A0F55AF8E62A1D415D55D1964C3B36416071C29E372B1D4104A4964C4B3B3641B06FDA51882B1D415CDDBB304A3B364160C8F80FD92B1D4161DC4643493B3641201973D7292C1D41DCC798FB3F3B3641B07CD0B318301D4156302A095F3B3641A067B36A1D301D41808CB9CB553B364160D8F0F456351D41102DB21D4F3B3641D0CCCC4C25391D41EE0DBEB04D3B3641A06210D8D0391D414060E5F0463B3641001B9E5E263B1D416A5D7B11443B3641101DF6E37E3B1D416132121E413B3641204CC75ED73B1D412448AC163E3B3641E061C9CE2F3C1D4121184CFB3A3B3641B020B433883C1D410A2CF4CB373B364150543F8DE03C1D41E51DA788343B3641F0D022DB383D1D41F6A9F1321E3B3641F0C9C342EA3E1D41E2A59B84153B3641506210D8783F1D415E7FD9BDDA3A364170355E3A48431D416EC5FE52F23A36410034113650431D4101000000020000000001000000FFFFFFFF0000000003, CAST(1190685 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1191266, N'{1D8B31B5-145A-48A1-8BBE-78CDB7DD654B}', N'006319157', 6960, N'VIP2680', NULL, N'6319157', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 1', NULL, NULL, N'THAT PART OF LOT 1, DISTRICT LOT 10, BRIGHT DISTRICT, PLAN 2680,, SHOWN ON PLAN 1151R EXCEPT PART IN PLAN VIP69923', N'0163', N'0021', NULL, N'ICIS CADASTRE', 7, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2020-08-25T16:02:23.000' AS DateTime), 3998, 278, 0xBD0B0000010406000000848CB94BDD9F3141E05A423E168C1B410CAC1CBADE9F31415011363C8E8A1B41A64E4013B69F3141908CB9EB8A8A1B417E1D38A7B49F314130F08549058C1B411D1FF48CB49F3141C045B6F3148C1B41848CB94BDD9F3141E05A423E168C1B4101000000020000000001000000FFFFFFFF0000000003, CAST(1191266 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1192776, N'{A9D2913B-0773-4388-80E4-0E03516906E9}', N'008906343', 488621, N'KAP15066', 3727991, N'8906343', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', NULL, NULL, N'LOT 1 DISTRICT LOT 1052 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 15066', N'0163', N'0019', N'NO', N'ICF', 7, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-12-01T12:08:19.000' AS DateTime), 34327, 1337, 0xBD0B000001041D00000008D7A330318437411026C206E3B41D4133454732A784374190E5D02219B51D416E3480B7A7843741404850FC06B51D417C14AE47918537419073B51572B51D41ECF44AF99185374110D34DE259B51D414350FC58A1853741206900EF60B51D4172D6B3B6A685374130F8C98863B51D412AC71E12AC853741E0C4866A66B51D4182D7006BB1853741A05F169469B51D41E1D81DC1B6853741503155056DB51D410CBC3914BC853741807B1CBE70B51D4178931864C1853741D05A42BE74B51D416E8E64CFDB853741C069E9068EB51D4158796496F5853741E0BC184FB0B51D41AE6B28880E8637417020BB55DBB51D41C54D557526863741E0C821C90EB61D41F6BF7E303D86374120649F474AB61D4172567D8E52863741608941608DB61D414950FC984C863741F0506B1AA9B61D41AFD85FD6638637417011363CFFB61D417E9ECD8A3786374120302A293BB51D41A011A5FD1986374150A4703D88B41D419FCDAA6FD985374170C954418AB31D41599FAB2DA985374160F90F6955B31D414ABF7D5D7E853741F0EBC039E8B31D416EF0858949853741901DA7E867B41D417414AEE7EA843741E0CAA1C5B9B41D41C00E9C13808437418038D6C580B41D4108D7A330318437411026C206E3B41D4101000000020000000001000000FFFFFFFF0000000003, CAST(1192776 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1193285, N'{A369A077-95E2-4779-A4C6-E89CCA7EA089}', N'007400616', 8493, N'VIP1519', NULL, N'7400616', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 52', N'', N'', N'LOT 52, DISTRICT LOT 69, NANOOSE DISTRICT, PLAN 1519, EXCEPT PART IN, PLAN 39893', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2019-12-13T10:27:10.000' AS DateTime), 10056, 403, 0xBD0B000001040A000000F063CC9DF840314190C8763EF3E81C4132772D61F740314140C4B12EF3E81C41176A4D33B5403141C0B12E6EF0E81C413AAB3EB77C403141D012F2C19DE91C413C355EDA7B403141509D80A65AEA1C41D15D4B28CF40314170DE718A5DEA1C41CF6F5F67DA403141601F63EE5DEA1C4127A089F0F740314180855AD365EA1C412A97FF10F8403141806891ED22EA1C41F063CC9DF840314190C8763EF3E81C4101000000020000000001000000FFFFFFFF0000000003, CAST(1193285 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1193304, N'{F2B7F1B7-C577-4510-B987-B6E8108B97BA}', N'001706764', 12929, N'VIP218A', NULL, N'1706764', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block 25', NULL, N'THAT PART OF LOT 3, BLOCK 25, SHAWNIGAN LAKE SUBURBAN LOTS, MALAHAT DISTRICT, PLAN 218A SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 14340F AND CONTAINING 0.83 OF AN ACRE MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 7, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T17:31:12.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 2913, 299, 0xBD0B000001041700000060C3D3AB7BE73141204CA68A2CC11841BA40828280E731417079C7A916C11841C654C1889AE73141E078E92698C018415ACA3204A0E73141703F35DE7BC018414850FC58A3E73141E0923A8169C01841D68AFDC585E7314140D881F364C01841BD64AAE081E73141108716D97DC01841F5CBEE697CE73141900512149AC0184106CD207D74E7314180C13B28C0C018411A237E226CE73141C06D3CBDE4C01841DB358B5E63E73141D0304CBF07C11841C95E05365AE7314130117D1B29C118416959E0AD50E731419033C5BF48C11841809543CB46E73141009A089B66C11841D6F97EAA41E73141108F53F474C1184129F6977D40E73141400BB5A6F4C11841D5ACFA7C4BE73141C03B4E51D9C11841E7CFC45B54E73141107E6285C0C118413DCC31EB5CE73141A050D509A6C118419F1B222665E73141C01E80EE89C118413FC8A8076DE73141F02C35446CC118413C5F0E8B74E731412082B51C4DC1184160C3D3AB7BE73141204CA68A2CC1184101000000020000000001000000FFFFFFFF0000000003, CAST(1193304 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1193654, N'{BB84DBED-910B-46BE-8E4F-FF21F0F6B71F}', N'009734902', 3, N'NO_PLAN', NULL, N'9734902', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART S2 NW4', N'2', NULL, N'THE SOUTH 1/2 OF THE NORTH WEST 1/4 OF SECTION 2, GABRIOLA ISLAND,, NANAIMO DISTRICT EXCEPT THOSE PARTS IN PLANS 10282 AND 15801', N'0163', N'0021', NULL, N'ICIS CADASTRE', 1, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2020-01-31T08:10:21.000' AS DateTime), 191319, 2258, 0xBD0B0000010415000000DF7A148ECDC23141803FC6DC381A1C41E9C03963CCC23141B073B515D11A1C414FF38E53CBC23141F047E17A5B1B1C41F4C9C3A2EEC5314140348037661C1C412FC4B12EFAC531417029CB90B2161C41B5490C42FAC5314140DF4F0DA9161C41805149DDB1C5314120C58FB1B7161C41042B8776AFC5314140D85FF6BA161C41DA68000F3AC5314190A52CC35A171C4120B9FCC7EBC43141202B871618181C41A3F831269DC43141D00C712C2B181C4199DD930754C43141D07BF2B0A4171C417A0B246852C43141806E818404191C41FEFFFF5FF5C331414060E5D0FA181C410E71AC6BE0C331416038F8C2F7181C41030000E06FC33141D020B0F2EB181C410BCE193124C33141B0D556ECE3181C41A82C433CD0C23141C0F0F44ADB181C41E8B7AFE3CFC2314110B1506B08191C41D734EFB8CEC23141100AD7A3A0191C41DF7A148ECDC23141803FC6DC381A1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1193654 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1194652, N'{C6812E99-EE74-4F90-BC31-493E669D6EA4}', N'011036656', 863599, N'KAP2364', NULL, N'11036656', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2019-09-09T00:00:00.000' AS DateTime), N'REM Lot 722', NULL, NULL, N'LOT 722 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 2364 EXCEPT PLANS 14400, 24101, 26545, 31678 AND EPP91421', N'0163', N'0022', N'YES', N'MODIFIED-ICIS', 4, N'LSA', N'UNKNOWN', N'0', N'165584', CAST(N'2019-09-18T10:02:59.000' AS DateTime), CAST(N'2021-03-23T12:56:00.000' AS DateTime), 166022, 1680, 0xBD0B000001040D00000026A913309A663641A0F831660AEC1D41B02E6E23D566364160AC8B5BA3EC1D418048BF5DFF66364150FF907EDCEB1D41897CD073C367364110772D2182ED1D419A779C620A683641C0550E2D44ED1D41F697DD930C68364130BA498CF0EC1D41C8A145F62F683641F0F0F4CAACE61D4191A0F871A96636416066F7E4FBE51D413F2CD49A956636414011363CF1E51D41C554C1A883663641503480376EEA1D410568228C7E663641903A01CDEEEB1D418226C22695663641B0613255FDEB1D4126A913309A663641A0F831660AEC1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1194652 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1195029, N'{10F0C035-F3EB-41F7-AD65-B88DEF47266C}', N'000730866', 3186776, N'VIP10288', NULL, N'730866', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1, SECTION 9, RANGE 3 EAST, NORTH SAANICH DISTRICT, PLAN 10288 EXCEPT PART IN PLAN 1321RW AND 41666.', N'0129', N'0005', N'NO', N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'COGO', N'0', NULL, CAST(N'2016-01-06T20:58:50.000' AS DateTime), CAST(N'2021-05-13T12:24:28.000' AS DateTime), 6955, 363, 0xBD0B000001041E000000CE00DE620B2E324170A60A46ECCF184110C7BA38DE2D324110A91350E5CF1841341AC01BDE2D3241D0C56DB4F1CF184155C1A844DD2D3241D08251C94CD01841275C8F42DC2D324100BF7D1DBAD01841B39DEF87DB2D3241809ECD2A09D1184139DF4FCDDA2D324100EB513858D118415405A312DA2D3241B0CAA145A7D118411B95D449D92D3241403D0A57FCD11841CC2B65D9042E324190DA1BFC02D218413D2773A5052E3241F00E18F902D21841602FA970062E32412063E4AE02D218417BAC7A39072E3241E0A7111E02D2184147B25FFE072E3241A080BA4701D21841C8FCD7BD082E3241003F812D00D218416ADE6D76092E324160AD8CD1FED118411D19B9260A2E324130E08336FDD118415F9D61CD0A2E32414008895FFBD11841DF2922690B2E324170523350F9D1184135C6CAF80B2E3241D0E8870CF7D118410314437B0C2E32418017F298F4D1184141728CEF0C2E3241D0AF3AFAF1D1184139EEC3540D2E324180AE7E35EFD1184138FE23AA0D2E3241A0432550ECD11841610306EF0D2E32413046D54FE9D11841908EE3220E2E3241102C6A3AE6D11841F76657450E2E3241109CE815E3D118417C4F1E560E2E3241D0AF72E8DFD118412A189514122E324190E2C79849D01841CE00DE620B2E324170A60A46ECCF184101000000020000000001000000FFFFFFFF0000000003, CAST(1195029 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1195578, N'{44BEF34D-076A-43BE-81D9-F8741573F312}', N'008736316', 3191339, N'VIP630', NULL, N'8736316', NULL, N'207083', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot B', N'', N'', N'PARCEL "B" (DD 4191N) OF THE WESTERLY HALVES OF SECTIONS 20 AND 21, RANGE 19, OF SECTION 2, NANAIMO DISTRICT, PLAN 630 EXCEPT PART IN PLAN VIP64543', N'0084', N'0021', NULL, N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', N'760.0', CAST(N'2019-04-04T08:45:35.000' AS DateTime), CAST(N'2021-05-31T16:32:27.000' AS DateTime), 760, 193, 0xBD0B000001040700000072AC8B5B36943141104625F597FE1B41F11648F04594314110295C8F7EFE1B41AE7BF250EC9331415095D48977FE1B4112D04418EC933141C0FF907EA3FE1B41D5E76A2B0E943141C08941609BFE1B41F753E34522943141D00AB5A6A9FE1B4172AC8B5B36943141104625F597FE1B4101000000020000000001000000FFFFFFFF0000000003, CAST(1195578 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1196128, N'{638A949D-8EBE-4A6C-A3AC-24EE8B8B75B4}', N'001644840', 3, N'NO_PLAN', NULL, N'1644840', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 46', N'', N'', N'THAT PART OF SECTION 46, SOOKE DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 32219I AND CONTAINING 0.98 OF AN ACRE MORE OR LESS', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:55:57.000' AS DateTime), CAST(N'2021-06-24T14:53:12.000' AS DateTime), 3992, 326, 0xBD0B0000010437000000E43FA49F2BDE314100DBF97EFE1F174190A0F8D12EDE314100B1506BEA1F17418104C52F2FDE3141B04F1E16E81F1741897CD09332DE314190128340D11F174112F89F4833DE31417070DE4CCC1F174116A9C8FB33DE314190BF7A55C71F1741995149AD34DE3141A0D1605AC21F1741A3B6205D35DE3141E07B995BBD1F17412AA04D0B36DE3141009D2D59B81F174116D9CEB736DE3141C0172653B31F1741AD99EC8937DE31416043FF09AD1F174196AB2A5938DE314170C3E4BAA61F1741395C862539DE3141409EEB65A01F1741C602FDEE39DE314130EC280B9A1F1741EAFF8BB53ADE3141A0D9B1AA931F17410FBE30793BDE314100A69B448D1F1741984C15AC3DDE314150AF94E5791F174110F95F133FDE314170CF6CE06C1F1741B2585E6E40DE3141509A7CC65F1F17416131FDBC41DE3141F0E77D98521F17416CF829FF42DE3141C0AC2B57451F1741C5D3D23444DE3141C0EF4103381F1741D69AE65D45DE314130BF7D9D2A1F174155CA320447DE314140AF9465161F1741B325E4C32ADE314180E3A59BE41E17415109207B25DE3141F059DEBB221F1741E49669FE1EDE3141C0993D025F1F1741CAB3005817DE314140EC870F991F17418AA0FB930EDE3141E0BF0488D01F1741E0DF33C004DE314130910F1405201741FE5430ECF9DD3141C064A260362017412EBB0C29EEDD314150F2D81F64201741199E5E89E1DD314190B96B098E20174188635D3C00DE3141D04D6290C52017415AD3BCA304DE3141B0EA73B5B5201741A5A08E6A06DE314190521027AF2017413CCC772D08DE3141D05BE287A82017415A6B6EEC09DE3141F04F0FD8A120174169A968A70BDE314170D4BC179B20174140C85C5E0DDE3141E0EC104794201741572041110FDE3141B0F831668D2017411A6A4D9313DE3141D0D781737A201741EF2FBBE717DE3141E0DCB504672017417052267F1ADE3141006643DF5A2017414CAE86091DDE3141104C0A8E4E201741E60DAE861FDE3141F098EA11422017412E2C6FF621DE3141C061C76B35201741B9B79D5824DE314140B9869C282017410A560EAD26DE3141D09C11A51B201741EA34628427DE314190EEF6D416201741A414075A28DE314140132E00122017419254FB2D29DE31416076C0260D2017413A573D002ADE3141B08DB748082017419F82CBD02ADE3141C0D71C6603201741E43FA49F2BDE314100DBF97EFE1F174101000000020000000001000000FFFFFFFF0000000003, CAST(1196128 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1198689, N'{F70713A3-1273-42C5-8112-6914AC04A43B}', N'010552405', 854294, N'KAP4440', NULL, N'10552405', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot D', NULL, NULL, N'LOT D SECTION 3 TOWNSHIP 20 OSOYOOS DIVISION YALE DISTRICT PLAN 4440', N'0063', N'0016', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-12-03T11:29:47.000' AS DateTime), 5167, 296, 0xBD0B0000010406000000AABDC17731743641A02A1815FCA02141142FDD44F97336418036ABBEF1A02141FEDBD7C1F073364180E1E9D5A7A121418348BF1D2974364158423E28B2A1214134DF4FED2C74364140D49A265FA12141AABDC17731743641A02A1815FCA0214101000000020000000001000000FFFFFFFF0000000003, CAST(1198689 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1199065, N'{FFB9D861-AE71-458F-8E30-DC4EC50097A5}', N'014072998', 1169765, N'NWP9092', NULL, N'14072998', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2014-06-13T00:00:00.000' AS DateTime), N'REM Lot 2', NULL, NULL, N'LOT 2 EXCEPT FIRSTLY: PART ON STATUTORY RIGHT OF WAY PLAN 28237, AND SECONDLY: PART NOW ROAD PLAN 85250; THIRDLY: PART ROAD ON PLAN BCP8005 DISTRICT LOT 317 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 9092', N'0067', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', N'3189', CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2021-12-29T12:03:37.000' AS DateTime), 3189, 252, 0xBD0B000001040D00000020A7E8C8C9093341E034EFB85A5E1C4138AB3E97C2093341B0999999375D1C4132333333A7093341304772798E5D1C416CBD1E4CA5093341D09BE0D2945D1C4191A2998EA3093341904106E19B5D1C41EB08D0FEA109334130EBF892A35D1C41897180A0A0093341509445D6AB5D1C414EBEF2769F093341E0BC1C97B45D1C415B54F0849E093341E0E581C0BD5D1C41746DBDCC9D093341F0E57D3CC75D1C4126A913509D093341408F53F4D05D1C412D55306A930933410093A902C95E1C4120A7E8C8C9093341E034EFB85A5E1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1199065 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1200010, N'{6A4F9339-5F64-4D10-9FA6-10CF93C5A8EB}', N'013858769', 7020004, N'KAP6785B', NULL, N'13858769', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'SE4', N'17', N'20,9', N'PARCEL A (DD 145775F) OF LEGAL SUBDIVISION 1 SECTION 17 SHOWN ON PLAN B6785; TOWNSHIP 20 RANGE 9 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT', N'0124', N'0006', N'NO', N'ICF', 5, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-04-28T14:34:52.000' AS DateTime), 39243, 793, 0xBD0B0000010405000000460C022B8F91364150D71232EEF523413BDF4F8DA1913641D86A2B366AF4234160E5D002D9903641088F53B442F42341198C4AEAC690364158F5B9DAC6F52341460C022B8F91364150D71232EEF5234101000000020000000001000000FFFFFFFF0000000003, CAST(1200010 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1201812, N'{09881EA0-C933-4F7B-8741-D4E10C4B38B6}', N'008080615', 140690, N'VIP1037', NULL, N'8080615', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 6', N'', N'', N'LOT 6, SECTION 7, VICTORIA DISTRICT, PLAN 1037, INCLUDING PART IN PLAN 6 RW, EXCEPT THE WESTERLY 27.9 FEET CONTAINING .11 OF AN ACRE, MORE OR LESS, AS SHOWN IN RED ON PLAN 15100F', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:45:54.000' AS DateTime), CAST(N'2019-01-05T10:53:47.000' AS DateTime), 87, 51, 0xBD0B000001040500000050401341373A3241D042AD69378017416991ED7C3F3A32414017B751EA7F1741304CA6EA363A324140537424E37F1741C37D1D78373A3241506FF0852380174150401341373A3241D042AD693780174101000000020000000001000000FFFFFFFF0000000003, CAST(1201812 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1205227, N'{4431E623-2837-4AD3-A0AB-FA0004482FAC}', N'015918688', 3, N'NO_PLAN', NULL, N'15918688', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 1', N'8089', N'', N'THAT PART OF PARCEL 1 (SEE 7261I) OF DISTRICT LOT 8089 KOOTENAY DISTRICT INCLUDED IN GREEN ON RW PLAN 7681', N'0163', N'0019', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-01-09T12:30:14.000' AS DateTime), 8466, 1143, 0xBD0B0000010460000000816132158471384110F241CF2F111E4178A52CA38671384170C2F5A851101E4116C05B2087713841009B771CEF0F1E41A2D6340F8771384130F1634CB30F1E414850FCB8867138414068916D770F1E41B4D1001E86713841F0DBD7813B0F1E417F04C54F85713841D0051294FF0E1E410434113684713841708FC275C40E1E41AC1C5A2483713841504850FC960E1E41D0CCCCCC82713841E020B072880E1E41D119515A73713841F0263188820E1E41D6A3709D7371384170CC5DCB8E0E1E41C610C7FA7471384130742497C90E1E4126A0891076713841A0C7293A040F1E4154C1A8E476713841A0FA5CED3E0F1E41FE21FD7677713841D03177AD790F1E41408B6CC777713841A0218E75B40F1E41ACD85FD677713841E07F483FEF0F1E41A69BC46077713841105C8F424F101E41ACB662DF74713841A0EC2FBB2B111E413190A03872713841F09F89B0CB111E41914AEAA46E713841109C33A272121E41D94B54896D713841803DF29D9B121E41088F47B26B71384140F2422DC4121E410DAC31226971384130FC9F1AEC121E41986674DC65713841C057593113131E41F83761E561713841903ADA3D39131E41109C33425D7138419028ED0D5E131E415FD3BC834E71384110416065C9131E41A613D0044C713841109D1125DC131E4107AB35DD46713841105E9D3507141E4159C28357427138415002796533141E417B1F9E773E71384150D2A28E60141E4184ECD9403B713841D0A7428A8E141E41FDD9FAB538713841E054CB30BD141E410EBE30D93671384110AC1C5AEC141E41AC50615936713841D0480FB5FD141E41B0AAA6F0357138418049A9190F151E4114590C9F357138414098FF8520151E41EC5B9B6435713841A04426F831151E4132255A4135713841F0BA306E43151E415C984C3535713841E0F831E654151E419006F056357138419012834071151E411EC9E57F35713841F04D62907F151E4117C7BAB83571384140F528DC8D151E41B0506B5A3671384120F8C264AA151E41D1F753C336713841F076BE9FB8151E413B11363C3771384190855AD3C6151E4135F8C24438713841B069DEF1E0151E411183C0EA387138414095D409EF151E411BC05BA039713841702A1815FD151E4130103E233A71384160DD257106161E41F10AD1AC3A713841708332C70F161E41E248103D3B713841C09BF11619161E41F62BF7D33B71384130D6166022161E4178DF80713C713841C01A56A22B161E417858A8153D713841608863DD34161E41C432C4113F713841300000004F161E41B6E71065407138419053A0DB5E161E41B87FA1CC41713841602A3F9B6E161E415E0751484371384190353E3D7E161E41EE79F8D744713841903002C08D161E4156C56E7B46713841800DF3219D161E4172CE883248713841E01B7C61AC161E412DED0D9E4A7138410005A392C0161E41B85FBD6B4B713841E0C545F9C6161E41E0E14F3D4C713841A0540258CD161E412C99C0124D713841F0EDB2AED3161E4140940AEC4D71384110FE31FDD9161E41F0CA28C94E71384180205A43E0161E414E1E16AA4F713841D0240681E6161E41964C15CC62713841708A8E64EF161E41158C682B5E71384190112F51D1161E417E27CDE6597138411036F566B2161E414E35B1005671384170067BB792161E417FFE4C7B52713841A0DECA5472161E41AFBAA1584F7138417025555151161E41246C789A4C713841A0C8E5BF2F161E41A436CA3348713841F0ACE2F9E8151E41D8F0028345713841703A2ED8A0151E414AC96F8E4471384160D1B80358151E411D914D5845713841F07715270F151E412F7EC3DE47713841205FEAECC6141E41907EE71B4C713841103161FE7F141E41A112CC0552713841F0E19A013B141E41508D978E5971384160992A98F8131E41E20209EA5B713841A01804D6E6131E41FC3A70AE6A713841E08E53747B131E41A49A2E8D6F713841F0A50BEC54131E41E5808BC173713841004FD1272D131E41BE398E467771384140BFA95604131E41C6670D187A7138416029D8A8DA121E41F3EFB3327C713841E0A8A44FB0121E4144EA04947D71384140FF217D85121E410AC58F718171384120CB10C7D0111E41816132158471384110F241CF2F111E4101000000020000000001000000FFFFFFFF0000000003, CAST(1205227 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1205879, N'{7418DEAC-1A2D-46CB-8B00-050B447A37AB}', N'016094999', 472045, N'NEP902', NULL, N'16094999', NULL, N'03642.000', N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', NULL, N'REM Lot 6', N'Block 139', N'', N'LOT 6 BLOCK 139 DISTRICT LOT 4588 KOOTENAY DISTRICT PLAN 902 EXCEPT PLAN NEP64341', N'0036', N'0018', N'NO', N'ICF', 4, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:31:05.000' AS DateTime), 504, 92, 0xBD0B00000104050000008B416005A94D3B4180E09C915E2121413811367CA14D3B41985AD33C3D212141907571BB864D3B4130FAED6B5521214141CF6695914D3B417816D9CE732121418B416005A94D3B4180E09C915E21214101000000020000000001000000FFFFFFFF0000000003, CAST(1205879 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1206317, N'{57834495-CB81-41E1-9388-CECBF2A1DEC6}', N'015904211', 16479, N'VIP50179', 90076832, N'15904211', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', N'', N'', N'LOT 1, SECTION 11, RANGE 4, QUAMICHAN DISTRICT PLAN 50179', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 15, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T17:08:49.000' AS DateTime), CAST(N'2019-01-07T18:31:49.000' AS DateTime), 12305, 444, 0xBD0B000001040600000071F08589C7CF3141F056ECAFD689194182E2C73835D03141E0A679C7EE891941A6ADD89F39D03141906CE7FB28881941DC581717CDCF3141D0E53F24188819412C2AA9B3CBCF3141F0FCF6758788194171F08589C7CF3141F056ECAFD689194101000000020000000001000000FFFFFFFF0000000003, CAST(1206317 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1206338, N'{239C722D-E043-4918-B12C-EF96E04CD416}', N'007013167', 3190994, N'VIP1725', 164901, N'7013167', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'Block 6', N'', N'LOT 4, BLOCK 6, SECTION 9, RANGES 2 AND 3, COWICHAN DISTRICT, PLAN 1725', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T16:36:22.000' AS DateTime), CAST(N'2019-01-07T18:31:32.000' AS DateTime), 2636, 251, 0xBD0B0000010405000000C88F31B7ECE4314170E7FBA9E77B19413E1CEB62A7E43141F0E2369AE07B19415C07CE99A3E4314180CE8852ED7C19419E23B9BCF5E4314190984C95E87B1941C88F31B7ECE4314170E7FBA9E77B194101000000020000000001000000FFFFFFFF0000000003, CAST(1206338 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1206406, N'{2F84068E-CB2F-4056-8B13-F3300977D343}', N'016058097', 475772, N'NEP1024', NULL, N'16058097', NULL, N'parc4038', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 5', N'', N'', N'LOT 5 SECTION 33 TOWNSHIP 23 RANGE 2 WEST OF THE 6TH MERIDIAN KOOTENAY DISTRICT PLAN 1024 EXCEPT PLAN 9004', N'0119', N'0006', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:23:53.000' AS DateTime), 2310, 311, 0xBD0B000001041600000044696FF0498F37419006F0D6823725413ACCD6444A8F3741D8E3051A7C3725413EF3A38E4A8F374108262A5B753725413F04D4CD4A8F374120889F9A6E372541168E64024B8F374130D6A8D867372541D788532C4B8F374140EA8815613725419A559F4B4B8F374148A982515A372541923177ED028F3741D0839E4D36372541FBA9F1B2008F3741188C4AAA5E37254144696FF0498F37419006F0D6823725413FF163AC768F37418009F96099372541AE8BDB489D8F374120992A98AC372541257502DA9E8F37418058A83590372541EDC9C3829F8F374118FFB23B84372541BEE3147D788F37414872F9CF7037254128025D57788F3741F03F6A50753725416A02CA2D788F3741D82F53D079372541A85E5C00788F3741C00BA74F7E3725413E9C14CF778F3741A89F58CE82372541CE4BF399778F374110B95A4C873725416A09F960778F37416027A0C98B3725413FF163AC768F37418009F96099372541020000000200000000020A00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1206406 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1207368, N'{FB2CCBFB-AEEE-4824-B521-0294E3498B5D}', N'007482931', 4652349, N'VIP379RW', NULL, N'7482931', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 32', N'', N'', N'THAT PART OF LOT 32, DISTRICT LOT 140, ALBERNI DISTRICT, PLAN 1414, BEING THE LOGGING RAILWAY SHOWN ON PLAN 379 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2019-01-10T15:02:08.000' AS DateTime), 475, 108, 0xBD0B000001040500000076BE9FDA637D3041B0E8482EBF031D41D98173C67A7D304140D122DB31041D414F499D40807D3041C02FBB27FF031D41E19C1185667D3041D01DA7687E031D4176BE9FDA637D3041B0E8482EBF031D4101000000020000000001000000FFFFFFFF0000000003, CAST(1207368 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1207427, N'{EF90E886-B0C4-4CA2-BC10-0093CB4A364D}', N'004358988', 253533, N'PRP3403', NULL, N'4358988', NULL, N'12058.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 7', N'', N'', N'LOT 7 DISTRICT LOT 1885 RANGE 5 COAST DISTRICT PLAN 3403 EXCEPT ANY PORTION OF THE RIGHT OF WAY OF THE DOMINION TELEGRAPH LINE HAVING A WIDTH OF 100 FEET WHICH MAY LIE WITHIN THE BOUNDARIES OF THESE LANDS AND EXCEPT PLANS 4807 AND 4461', N'0163', N'0001', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:18:29.000' AS DateTime), 6199, 370, 0xBD0B0000010406000000262FDDE4F74D2F41C02B655989342F4174DE718A014F2F410032E6AE8A342F417B0D4FAF134F2F4150643B5F7C342F41FBA9F1123C4F2F41A813D0845C342F4104A16733A24E2F41306519E2FE332F41262FDDE4F74D2F41C02B655989342F4101000000020000000001000000FFFFFFFF0000000003, CAST(1207427 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1207931, N'{6BE3C271-FBFF-4E92-85C3-6C1BEF883B3B}', N'015178901', 3, N'NO_PLAN', NULL, N'15178901', NULL, N'03750.000', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'SW4', N'17', N'4,5', N'THE FRACTIONAL SOUTHWEST 1/4 OF SECTION 17 TOWNSHIP 4 RANGE 5 COAST DISTRICT EXCEPT PLANS 1157 AND PRP12817', N'0163', N'0001', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:25:32.000' AS DateTime), 459792, 3293, 0xBD0B0000010444000000769CA2639C4B2C418C976ED2088530412BB29DEF854B2C411CA5BDE108853041CC096822874B2C4110CE19B137853041769CA2639C4B2C418C976ED208853041C38D06F05B512C41A8D85F162B853041AE13D08466512C41E0718A4E25853041104625F570512C41942A18751F853041F12FBBA77B512C41B0E1E9B51985304192B96B4983512C416CDC46E3128530412EF8C2A48A512C41187C61F20B8530418C1F63EE93512C41A0B437980585304167EE5A02A0512C41CC490CC2FD843041F6043451BA502C411C0DE0ED01853041E18AFDE5BB502C4174B515BB08853041799ECD6AC2502C41F81873D70F8530411148507CC9502C410C3D9BD5168530412FC4B16ED0502C4130234ADB1D853041163FC69CD6502C419411A51D2585304150EC2FBBDC502C41D4DCB5642C853041A433A2F4E3502C41F453E34533853041556B9A37ED502C4134EF38A5398530415E545227F8502C413CFAEDAB3F85304126E4831E04512C4124DD24A644853041CE78E9E611512C412C189534468530411D6C78BA21512C4174F4DBB74385304131F697DD30512C41745F074E418530414BF38E533B512C41E01B7C013C853041D9C7983B45512C4134FAEDEB358530413C575BB150512C419CD6348F30853041C38D06F05B512C41A8D85F162B8530410CFBCBAE884C2C418C3F35BE24883041E16800EF884C2C41FCDBD7012D883041E36800EFAF502C41EC5C6D45268830413F82E20736512C41DCC7983BEF8730415450FC185C512C4148204151E48730410E8A1F6374512C41DC0B9389DA8730412BC4B12E95512C41285A64FBC7873041AD69DEF19C512C41E0581797C287304196A0F871A1512C41CC44D8F0B98730411EA089B0AA512C41ECE46101A48730413F454772C3512C4160787A857D87304100BC0592CE512C41280F0BB5678730417D8CB9ABDB512C419CA0F811398730413A9B551FEE512C41F085C914EB8630419A4E4053F2512C41807AA5ECBB863041D7EEC943ED512C417409F9E08C863041D332C4F1DB512C413C3789A16E8630412DCB10C7A9512C41548638D634863041E3361A0078512C4198D409C80C863041FA3A70CE32512C415CFE431AE48530417A832F0C06512C41C00E9C73C185304150302AE9D8502C418CE2C7189885304170E7FBA9B6502C412CD9CED77D853041C5D32B256B502C41DC1FD2EF4B8530414A50FCD837502C41E822DB992485304106E78C681B502C4198E61D27128530412D211F3405502C4184F4DB3705853041E35F768FDA4F2C41ECC7985B0585304126DBF9FE2D4C2C41844DF36E08853041443EE819F44B2C41D84D6250458530411368222C324C2C4170711B6D508530415BCC5D0B884C2C41EC22DBD9A3853041CEB35935634D2C41F0EBC099E7853041E17A14AE814D2C41A0923A214C8630411148503C6A4D2C417CE7FBE9A4863041E48C28AD584D2C4130FDF6D5008730416E68912DDD4C2C41C8FEB23B938730410CFBCBAE884C2C418C3F35BE248830410300000002000000000204000000021E00000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(1207931 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1208073, N'{83556B49-8F56-4948-8A57-0A2F31A5F398}', N'013226304', 246698, N'PRP1076', 90073097, N'13226304', NULL, N'03542.930', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 21', N'Block 34', N'', N'LOT 21 BLOCK 34 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076 EXCEPT PLAN PRP14256', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 47, 50, 0xBD0B000001040B000000EE8E53F45B2E2C41183FC67C7CA13041AA7BF2B02B2E2C41CC293AD27CA1304116F958F0302E2C41C8695D987DA130410BD64C43362E2C4178C4B3397EA13041229BC6A53B2E2C41AC20C3B57EA130416611B313412E2C41589B2D0C7FA130410A58F688462E2C4144CEB13C7FA1304168006F014C2E2C41F0012B477FA130417F26C2C6562E2C411C6A4D337FA130416E787A25582E2C4104917E7B7EA13041EE8E53F45B2E2C41183FC67C7CA1304101000000020000000001000000FFFFFFFF0000000003, CAST(1208073 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1208210, N'{25801981-956C-4CAF-9527-EB21B41F5F32}', N'011819952', 495510, N'NEP640', NULL, N'11819952', NULL, N'7075881005', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 4', N'Block 1', N'', N'LOT 4 BLOCK 1 DISTRICT LOT 1242 KOOTENAY DISTRICT PLAN 640 EXCEPT PLAN R358', N'0163', N'0004', N'NO', N'ICF', 4, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:21:26.000' AS DateTime), 164, 55, 0xBD0B00000104050000007E1D38272600394160AA60D4AB521F418F1804B614003941A03E575B81521F4132C4B1EE0F003941E000DE82A0521F4142575B111D00394180923A81C0521F417E1D38272600394160AA60D4AB521F4101000000020000000001000000FFFFFFFF0000000003, CAST(1208210 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1208727, N'{8ABAF68A-4B5E-4B5A-AF5A-1347A762CD7A}', N'000017795', 651699, N'VIP4254', NULL, N'17795', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot B', N'', N'', N'THAT PART OF LOT B, DISTRICT LOT 245, ALBERNI DISTRICT, PLAN 4254, INCLUDED IN PLAN 277 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:38:00.000' AS DateTime), 1237, 230, 0xBD0B0000010409000000C2C117E6D99C304160787A2518151D416229CB10DF9C304170C1A82409151D417958A8152A9D3041D0B27BF22E141D41C386A7172A9D3041A03333332D141D41C1E3145D2A9D3041300F0B35F0131D419AB20C91269D3041E0384547FB131D41F731E62EDA9C3041F087F4DBD9141D41F22FBBE7D99C30410017B7D116151D41C2C117E6D99C304160787A2518151D4101000000020000000001000000FFFFFFFF0000000003, CAST(1208727 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1209264, N'{BDCD3E68-2064-44DC-9D3A-9D82BB14695B}', N'014339668', 299189, N'PRP934', NULL, N'14339668', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', N'Block 23', N'', N'LOT 3 BLOCK 23 DISTRICT LOT 16A QUEEN CHARLOTTE DISTRICT PLAN 934 EXCEPT PART SHOWN AS .0842 HA ON PLAN 6937', N'0116', N'0026', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-11-26T18:18:37.000' AS DateTime), 48, 37, 0xBD0B00000104060000005C643BDFD4272241D0891F23CA7F2C416BC5FEF2C527224120363C7DC27F2C41704F1E96C727224148E8D9ACCF7F2C411CA089F0E127224178C0CAE1D47F2C41D87A142EDD272241788A8E24D27F2C415C643BDFD4272241D0891F23CA7F2C4101000000020000000001000000FFFFFFFF0000000003, CAST(1209264 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1209662, N'{58A09CFD-731C-4D25-A2A2-A3239B259CAD}', N'015988082', 495795, N'NEP941', NULL, N'15988082', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 59', N'', N'', N'LOT 59 SECTION 36 TOWNSHIP 8A KOOTENAY DISTRICT PLAN 941', N'0163', N'0019', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:37:41.000' AS DateTime), 40031, 1029, 0xBD0B000001040B0000001E63EEDAA29038417073681118C31D411CC05B207C903841C046037843C11D4110363C5D2E9038415041F1E364C21D41FAF67500569038414013F24143C41D414EDA1B7C6A903841E04525753AC51D417A36ABDE9F903841C00C712CF4C71D417D1D38C7E6903841F0915C7EEDC71D413DA4DFFE0791384140BC7413DEC71D4118AE47E1B7903841D0BDC11716C41D41BFF528DCA3903841D00FE93724C31D411E63EEDAA29038417073681118C31D4101000000020000000001000000FFFFFFFF0000000003, CAST(1209662 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1210546, N'{8A0685CC-86E7-49EE-A73B-52A1FB81B5E2}', N'013977814', 295389, N'PRP968', 23695091, N'13977814', NULL, N'01257.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 5', N'Block 111', N'Section 2', N'LOT 5 BLOCK 111 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:42.000' AS DateTime), 233, 66, 0xBD0B0000010405000000DAF21F12497A2B417019E238916431410861C353487A2B41FC497B037A6431416C6FF045347A2B41184D842D7A6431417D38D605357A2B41D8F7536391643141DAF21F12497A2B417019E2389164314101000000020000000001000000FFFFFFFF0000000003, CAST(1210546 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1212000, N'{D57C805F-6B7F-4CC0-9AC5-AA2B67F5891E}', N'008823936', 1180743, N'NWP25810', NULL, N'8823936', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2005-03-29T00:00:00.000' AS DateTime), N'REM Lot GG', N'', N'', N'LOT "GG", EXCEPT PART DEDICATED ROAD ON PLAN BCP16160 SECTION 12 TOWNSHIP 1 NEW WESTMINSTER DISTRICT PLAN 25810', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T09:13:20.000' AS DateTime), 3875, 365, 0xBD0B0000010406000000F8B9DAEA20E03241C0E53F2483801B41A2A2239923E03241C00E9CB3847F1B410DBE30F9FFDF3241C04F8D17D3801B41E86A2BB6FCDF3241901804D60B821B41402CD4BA1CE03241E0F4B9DA11821B41F8B9DAEA20E03241C0E53F2483801B4101000000020000000001000000FFFFFFFF0000000003, CAST(1212000 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1216100, N'{4F806B4C-36DE-4150-B2B3-B5291A717916}', N'010576797', 858270, N'KAP4208', NULL, N'10576797', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Parcel 8', N'REM Lot 1', N'', N'PARCEL 8 (PLAN A1189) OF LOT 1 DISTRICT LOT 198 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 4208 EXCEPT PLAN H14743', N'0100', N'0022', N'NO', N'MODIFIED-ICIS', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:30:31.000' AS DateTime), 616, 162, 0xBD0B0000010407000000E6D0223BAE563641400C02AB2F771F415ECC5D2BAA5636417029CB902A771F41CB20B0F2A6563641D01E856B3E771F413E0AD7A391563641B0E3A59B42781F41BC7493589C56364120295C8F47781F41F853E365A5563641D0180456C3771F41E6D0223BAE563641400C02AB2F771F4101000000020000000001000000FFFFFFFF0000000003, CAST(1216100 AS Numeric(38, 0)), NULL) +GO +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1216214, N'{ED03769F-B106-40B6-9295-B58DBD4DC914}', N'023963832', 4236065, N'KAP59864', NULL, N'23963832', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-04-05T00:00:00.000' AS DateTime), N'PART 4896', N'', N'', N'THAT PART OF DISTRICT LOT 4896 OSOYOOS DIVISION YALE DISTRICT SHOWN ON PLAN KAP59864 SAID TO CONTAIN 692 SQUARE METRES MORE OR LESS', N'0163', N'0022', N'NO', N'SRW-COMPILATION', NULL, NULL, N'COGO', N'0', NULL, CAST(N'2018-07-04T13:52:20.000' AS DateTime), CAST(N'2019-01-14T18:34:25.000' AS DateTime), 292, 77, 0xBD0B000001040B0000002E08AC9CA949364100AAF1524AF71F41F7E46161A849364180F2B0D034F71F417ABE9FBA9349364140EFA7467AF71F4140FAEDCB9249364130D578697DF71F411995D4099F493641B04082E2AAF71F41409A9E3AA1493641F031E9999BF71F411C0BC040A349364130D54FF48BF71F41DEA1421BA5493641801026F97BF71F416ED444C9A6493641907604B06BF71F41943FFA49A8493641D0A8A8205BF71F412E08AC9CA949364100AAF1524AF71F4101000000020000000001000000FFFFFFFF0000000003, CAST(1216214 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1218453, N'{B38DF149-4363-4655-A7F3-8549F72035EA}', N'016149793', 495562, N'NEP683', 23311631, N'16149793', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 15', N'Block 2', NULL, N'LOT 15 BLOCK 2 DISTRICT LOT 537 KOOTENAY DISTRICT PLAN 683', N'0121', N'0019', N'NO', N'ICF', 1, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-08-12T15:42:10.000' AS DateTime), 299, 87, 0xBD0B000001040500000038454712E4613841C04D629003AD1D41FA31E66EE3613841B0B20C7107AD1D41BA6B09F9F661384190D556EC09AD1D419F3C2C94F8613841500C712C90AC1D4138454712E4613841C04D629003AD1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1218453 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1218668, N'{63ED6ECF-DBDB-4083-885F-B2294C9F2216}', N'006225314', 646568, N'VIP2874', NULL, N'6225314', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 3', N'Block 1', N'', N'LOT 3, BLOCK 1, DISTRICT LOT 66, SAYWARD DISTRICT, PLAN 2874', N'0013', N'0027', N'NO', N'ICIS CADASTRE', 12, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2019-09-07T21:04:18.000' AS DateTime), 434, 87, 0xBD0B0000010410000000760B2488950D304160BFECDE390621413EA62839960D3041509FBCF038062141A403ABE9960D3041D8190B0138062141CC51AA99970D3041A04BD90F37062141A4BF2549980D3041C053281D36062141947C1CF8980D30419052F92835062141B9B88DA6990D3041086A4D3334062141A4A22359950D304148DF4FCD00062141575BB15F860D30419006F0960606214147696F908B0D304108CE191141062141776611598D0D3041C82D60B8400621410195011B8F0D3041C05B1305400621411310C5D1900D30411062FCF83E062141D46EFD78920D3041F09CC6963D0621411DE7730C940D304118EEF8E13B062141760B2488950D304160BFECDE3906214101000000020000000001000000FFFFFFFF0000000003, CAST(1218668 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1221392, N'{A7CF98BE-5FFA-45D9-B8EA-DD59C457762C}', N'012759465', 868179, N'KAP55', NULL, N'12759465', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 14', N'Block 19', NULL, N'LOT 14 BLOCK 19 DISTRICT LOT 706 YALE (FORMERLY OSOYOOS) DIVISION YALEDISTRICT PLAN 55 EXCEPT PLAN H831', N'0114', N'0022', N'NO', N'ICIS CADASTRE', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-04-29T15:17:59.000' AS DateTime), 290, 80, 0xBD0B0000010405000000A433A2F4BF553541F0B4A6F992141F410F61C313C7553541A0999999AF141F4115AE4761DB553541B06B097955141F41134850FCD4553541D033A2B43B141F41A433A2F4BF553541F0B4A6F992141F4101000000020000000001000000FFFFFFFF0000000003, CAST(1221392 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1221423, N'{8B4A30D0-4A46-4E8D-BF67-987C49DF27D2}', N'001604708', 3, N'NO_PLAN', NULL, N'1604708', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 1', NULL, NULL, N'THOSE PARTS OF SECTION 1, ESQUIMALT DISTRICT, SHOWN COLOURED RED AND ORANGE ON PLAN DEPOSITED UNDER DD 35432I AND CONTAINING 19.7 ACRES MORE OR LESS EXCEPT THAT PART OF THE PORTION THEREOF SHOWN OUTLINED IN GREEN ON PLAN 242 RW LYING TO THE WEST OF A STRAIGHT LINE PERPENDICULAR TO THE SOUTHERLY BOUNDARY OF SAID PORTION AND EXTENDING FROM A POINT ON THE SAID SOUTHERLY BOUNDARY DISTANT 100 FEET FROM THE MOST EASTERLY CORNER OF SAID PORTION SHOWN OUTLINED IN GREEN, EXCEPT PART IN PLAN VIP79798', N'0023', N'0005', N'NO', N'MODIFIED-ICIS', 13, N'PMBC-OPERATIONS', N'UNKNOWN', N'0', N'71550', CAST(N'2018-01-18T16:10:25.000' AS DateTime), CAST(N'2021-05-03T10:33:23.000' AS DateTime), 60835, 4849, 0xBD0B000001046901000036F8C2641C1E3241C03CBDD2316B17418C180476131E324150E3A59B386B1741507424B7091E3241F0B0BFEC406B1741EFEBC0F9FF1D32419011363C496B1741B31C5A04F71D324130992A98506B17410C462595EA1D324140B6F37D5B6B174107819523C61C3241D047E17A7D6C174100780BC4F41C324140EE5AC2C06C1741A8ADD89F5E1D324120BDE394596C1741D0BCE314611D3241F056EC2F576C17410924283EC31D3241206EA381F76B1741DEE995D2F01D3241C098BB16CB6B17413834BA67F51D3241B0F4B866C66B174132F8EA00FA1D3241C02AECF7C16B17417C37EE9DFE1D324180228DCABD6B17416EC3893E031E3241008BD0DEB96B17412E4083E2071E324110D7E734B66B17415227A0890C1E3241C03A01CDB26B1741B2951039111E3241F0A8DA4EAE6B17415E0F73EC151E324150E4A614AA6B174178FE89A31A1E3241304E9D1EA66B1741A49C175E1F1E324160CCF16CA26B17410BF6DD1B241E324180C4D4FF9E6B1741BEEC9EDC281E3241601973D79B6B1741631E076A2E1E3241306C60FA986B1741AA0440FA331E32411002AD7A966B1741FB7DE78C391E324190EE8458946B1741ED3D9B213F1E324140D30D94926B1741FCD3F8B7441E3241C0DC662D916B174131B29D4F4A1E324180C1A824906B1741FFC7F5E34F1E324140821B808F6B17415C2BC978551E324150AAFB388F6B17412617B60D5B1E3241E0184E4F8F6B17416BC45AA2601E3241804511C38F6B174138715536661E3241A0463D94906B1741356744C96B1E3241E0C9C3C2916B1741B46813C0731E3241F0E9F420946B17417BB6C8B27B1E3241F0EEA53D976B1741308F47A0831E3241105867189B6B17413CEC73878B1E3241000DAFB09F6B174195A93267931E3241B070D805A56B17413FAD693E9B1E324180742417AB6B1741BE2C78BAA01E3241E0392CD2AF6B1741627C5D31A61E3241008243E9B46B1741A109B9A2AB1E32414059105CBA6B1741E7A32A0EB11E32417074322AC06B174116835273B61E3241A03B4353C66B1741364ED1D1BB1E324170CFD5D6CC6B17411D3BDF24C11E3241E01D2FC5D36B17419D527970C61E32415006A50CDB6B1741F55F42B4CB1E32415069B7ACE26B1741FCB7DDEFD01E3241900FE0A4EA6B1741713FEF22D61E3241C0B292F4F26B17417A711B4DDB1E3241E0073D9BFB6B174137E036BADC1E32419056601BFE6B17414D019326DE1E324130754AA2006C17419AD12D92DF1E324170CFF72F036C1741F54E05FDE01E324170CA64C4056C174152781767E21E324120C08D5F086C1741D04D62D0E31E324160006F010B6C1741156A4D539C1E3241F0839E4D3D6B1741647FD9BD921E3241A059F5B9216B17418348BF5D951E3241A086A7D7E16A1741853E9FC2861E32419008F759D96A174133013D15781E324190D9D221D36A1741F32F3F5B691E3241A0F69F31CF6A1741F244519A5A1E3241208AE28ACD6A1741126621D84B1E3241C0553D2ECE6A17413D355E1A3D1E32416075711BD16A1741AE0C718C3E1E3241F097DD13266B1741DE58CCD6381E3241700B4321276B1741ACC26822331E324140D2808B286B17412CA5A46F2D1E324150847F522A6B17418E40DEBE271E324160BC21762C6B174125B47310221E3241601844F62E6B174136F8C2641C1E3241C03CBDD2316B1741393CBD323F1A324180EE5AC2FE6E17410CD0A870521A324130004414046F17411A5157B8651A324110452545066F17414A73A501791A324100FE1154056F17411B3B6F448C1A324170EC6F41016F1741486D93789F1A3241E025F70EFA6E174124FDF695B21A3241405BB1BFEF6E17411BCE87BDB71A324120645E0BEC6E1741A75953E2BC1A3241C0C54E1BE86E17415B5B2E04C21A3241C09FA3EFE36E17416DA7ED22C71A3241D0068088DF6E17415F2C663ECC1A3241D00409E6DA6E174123F46C56D11A3241C0946508D66E1741A50A46A5D81A3241B067B3EACE6E17413E3EE899D91A3241F0B584FCCD6E1741B9D100FE4F1B324100CCEEC95A6E1741645DDCC6591B3241C0A59B44516E17412241F143BF1C3241A068916DF56C174157C1A884CC1C32412066F7E4E76C1741AD8BDB48CF1C324130295C8FE66C17414BD8F0F4A41C3241204850FC9D6C1741DCF97E6AA11C324100FBCB6EA16C17419D1A2FFD991C3241205530AAA86C1741EA482E9F861C3241808863DD836C1741F4F44A39801C3241801283C0C16C1741B047E17A251C32416075711B1A6D17412DDD24C6501B324170348037E96D17416B006FE1471B324120F775E0F16D1741509621CECA1A32418079C7A96B6E17411F756E00C61A3241201A293B706E1741138B9C2FC11A3241C004BD96746E17413282D15BBC1A3241302561BC786E1741DC1B3385B71A3241100BF5AB7C6E1741632FE7ABB21A324190EF5965806E174126A913D0AD1A3241F0AF72E8836E1741D3857D3DA71A324110309447886E17411A25AEA5A01A3241C04BDA208C6E174168E44F099A1A3241708FE1738F6E174118970D69931A3241B0135440926E1741EC7492C58C1A32415088E985946E174104098A1F861A3241D0376744966E1741393CBD323F1A324180EE5AC2FE6E17415ECC5D6BA81F3241202FDDA4AC6E174102C57876A51F3241F04CB569906E17418A608D5BA21F3241E0F62A70746E17415E91F61A9F1F3241508571BB586E17411B9913B59B1F32410074B44E3D6E1741CDFD472A981F32416000172D226E1741947EFB7A941F324170D0B359076E1741F575E01C4D1F324140FF90FE396D1741F93492C44E1F32417096C528416D1741556EEC68501F3241B02B3D5F486D1741A674E909521F3241C0CEDEA14F6D174122A683A7531F3241406591F0566D1741A26CB541551F324140AB3B4B5E6D1741D43D79D8561F32410033C4B1656D1741B630DA03591F3241D05930EC6F6D17416292AA285B1F3241604EAA3C7A6D1741E35FDC465D1F324120A9EEA2846D1741AFC1615E5F1F3241B070B91E8F6D1741C10B2D6F611F32412021C6AF996D174112BE3079631F3241B0AACF55A46D1741586B527C651F3241905AD610AF6D174103269278671F3241E0C44CE0B96D174176F5E26D691F3241A046ECC3C46D17414E0E385C6B1F324100BC6DBBCF6D1741D7D284436D1F3241207E89C6DA6D17415BD3BC236F1F32416066F7E4E56D1741C1851D4A711F324100862FF3F26D1741491CCC66731F32411082A11A006E1741A017B679751F32413025DA5A0D6E1741F94DC982771F3241406365B31A6E1741D2EBF381791F3241D059CE23286E1741527424777B1F3241B0559FAB356E17417CAEB6E2781F3241301CEB623B6E1741B7627F59831F3241E0A679C78A6E1741394ED1718C1F324100A913D0DC6E1741BBB88D468F1F3241E0C9C342D86E1741C0172693961F324180CA32C4276F17415ECC5D6BA81F3241202FDDA4AC6E17419D1A2FBDA51F3241E06E81045671174162105899A11F3241D0D1005EC671174130211F149B1F324110B150EB347217418CD2DE20921F324150E2C798A0721741BB6167AB8C1F3241B0143B0ED7721741891F049F861F324120F42E820C7317411FD6A9FE7F1F3241605583DA407317418FA195CD781F3241C0ADA2FD737317414F5A4B0F711F324130918ED2A573174196DD93C7681F324100EEEB40D6731741868EE4927A1F3241F03FA4DF2E741741CC45C29D811F3241800777F707741741AE9F4A55881F324110AC3F26E0731741DB0B9CB78E1F3241B0D72477B773174144D7ECC2941F324190578BF58D73174189AC8B759A1F324100ED12AD637317411A0DE0CD9F1F3241900B93A9387317410E5839B4A61F324160A167B345731741E567170CAA1F3241602B5ACC2873174136D9093CAD1F324140F47C9D0B7317411355B043B01F3241A012422AEE7217419F46AF22B31F324170B02376D0721741C7E5AFD8B51F324180A0A384B272174189416065B81F3241F0F44A599472174166D798D6BA1F324110055128757217417A86AA1BBD1F3241A03028C255721741EE074D34BF1F3241D04DB82A36721741B09B3D20C11F32417054EF65167217410E113FDFC21F324120DFC077F67117410ACE1971C41F3241F0AE2564D67117416DE7FB69BD1F3241B0081B9ED4711741D78AFD65C01F3241B0795828897117412FBB274FC21F3241C0CCCCCC40711741CCDEE04BC31F324110B29D6FF97017415205A372C31F324190FC1873BF701741ACC64BF7C21F3241F0B8FC87817017418BFD6517C21F324170B3EA734670174143F1630CC01F324180A2233907701741E2B584BCBD1F3241B057CA32CD6F17412F211F74BA1F324170CC5DCB8C6F1741273A926BB71F3241E001BC855B6F174125871659B41F3241408C4AEA2F6F17413408AC5CB11F324150E5D0A20E6F17414B72F90FA01F324130DF4F8D866F1741E651B87EA01F3241306EA3018C6F1741C2E314FD9D1F324110A4DFBE936F17412A287E2CA21F324140A3923AE46F174111D044B8A41F3241605986382870174108C58FD1A61F32418054522773701741DAA3707DA71F3241907A36ABE47017419D1A2FBDA51F3241E06E810456711741A835CD7B091F3241D0B27BF239751741699A773C031F3241B04F8D97497517419B658863FD1E324170A3013C58751741197BEC3BFB1E3241A06C71FB5C751741C6BBAA12F91E32410049D6AE617517417F5CC7E7F61E32419012275666751741579546BBF41E324120B95AF16A75174181A12C8DF21E3241604768806F75174148BF7D5DF01E324170DC460374751741A9FFB52AEE1E3241D0B8D4AF7875174136064AF6EB1E32417015F34F7D75174174383EC0E91E324120B998E38175174120FF9688E71E3241D082BC6A8675174130C6584FE51E3241006C55E58A751741BCFC8714E31E324150855A538F751741041214FFDC1E32415097900F9B75174185FD65F7D71E324180A52CC3A4751741E62631E8CF1E324190C8073DB4751741C9DCB5C4CA1E32411030BB27BE751741D66800EFC31E324130D04458CB75174143A4DFFEBB1E32418079C7A9DA75174164AA6014B61E324160E17A14E67517413670CEC8AF1E324160355E3AF2751741FA75E0FCD71E324190C8763E1E7617419F8026C2D91E3241B0855AD31A7617418095438BDD1E324190635DDC137617410D4FAFB4E51E3241F02CB21D0476174156EC2FFBEE1E3241E0A22339F27517410893A982F61E3241F0884160E3751741F9065FD8FF1E32410096B20CD075174198779CC2071F3241D061A1D6BE751741D36F5F070F1F324110F2414FAE7517411361C353161F32413061C3D39C751741A40A46851D1F3241400C02AB8A751741A813D004251F324130EBE2B67675174162C3D3CB2C1F3241A03E57DB6075174107CE19312F1F32414038D6C559751741205A643B331F32413061C3D34D7517418BEB5198371F324140D5E76A40751741794F1E763D1F3241F0A145B62D7517411AE25877421F3241C075E01C1D75174189416045491F3241F070AC8B05751741AB3E575B4D1F3241A0F2B0D0F67417412C08AC1C521F3241F04F8D17E5741741CA20B012561F3241B01895D4D57417413AD6C5AD5A1F3241C0DA8A7DC37417415EE5D0825E1F3241503480B7B3741741B4946548621F3241707DAEB6A374174199081B5E561F324110B9FC8732741741942A1855561F32417008AC1C32741741B7D100FE551F32419006F01636741741DB1B7C01511F3241D0B5157B4B74174190976E724C1F324180AC8B5B5F74174132FF21DD451F3241A0CB7F487B741741818CB90B401F3241F0DD02099174174130431C8B391F32418057CAB2A87417411183C0AA341F324180D71272BA74174153AF94C52E1F3241008BFDE5CF74174156B1BFEC271F3241E0559FABE474174110363CBD211F324180B29D6FF774174180C0CA811C1F3241E0CDAA4F077517410FD044D8161F3241F06C567D18751741AE9465C8101F3241306EA30128751741A835CD7B091F3241D0B27BF239751741DE718A8EEF1D324100075F1876771741E71DA748EA1D324150158CCA8577174150A60AE6E41D32418030992A977717411995D4C9E21D3241306744E99E771741EBC9C362E01D3241B0F163CCA8771741162FDDC4D01D324190F5B9DAEA771741CC98BBB6C31D3241009B551F357817413EA4DF3EBB1D3241A096908F757817418638D6A5B41D324190B1BF6CB978174184416005B01D3241606744E9FF78174105CE1971AD1D32413008AC1C4879174115FBCB8EAC1D32413088F45B8679174185E66798AC1D324150AC996E8D791741E72F1AA6AC1D3241D00ED38094791741128EE2B7AC1D324130E47A929B791741F9A1C0CDAC1D3241C0646BA3A2791741B9F6B3E7AC1D324170CC7EB3A9791741A001BC05AD1D3241505C8FC2B0791741AACFD596AD1D3241C0BCE394C67917417D48BF3DAE1D3241001A515ADA7917413BF8C224AD1D324100FF21FDDA79174163E5D0229F1D32414075021AE379174136CD3BEE9F1D324100F46CD6F67917414E4013E1A11D32410042CFE61C7A1741290F0BB5A21D32410023DB79297A1741F47E6AFCA31D324130F54AD92B7A1741AABDC1B7A71D3241F0B27BF2247A17411AC05BE0AB1D324100068115157A174159C1A8C4AF1D3241E015FB4B087A17413BB4C876B01D3241D0C3422D067A17418FE4F23FB51D32416004560EF979174197B20C31BA1D324190EB5138F1791741623255D0BF1D3241D012F2C1E7791741A879C729C51D3241109B559FE27917413C92CB1FC71D3241D04C158CE379174199559F4BCB1D3241204A7B83E5791741C030990AD21D3241D0C56D34EB7917416107CED9D71D324170302A29EE791741A8DFBE8EDC1D3241B0B662FF027A174154977E23DC1D3241F0B39F62FD791741706CC4BCDB1D3241002395C0F7791741F686945ADB1D3241D05A7D19F2791741DEDFF2FCDA1D3241C0E7926DEC791741DA40E3A3DA1D3241508710BDE67917416A44694FDA1D3241C0263108E17917418729619CD81D3241D0B99D4DBB7917410D578BB1D71D324170669824957917415DAB7F90D71D3241204C68CF6E791741808B7739D81D3241A040A19048791741657F4DABD91D3241602CB0AA22791741912F7FE3DB1D3241B0AC675FFD781741DBC031DEDE1D3241D0C28DEFD878174158863896E21D324120516B9AB5781741B025E4C3D41D324130EBE2B69B781741266B962BD61D324100FEDF2290781741E966B5A5D71D3241A0CDC8B3847817415D820432D91D3241B060726B79781741D43C44D0DA1D32418086AB4B6E781741C3353280DC1D3241508F3C56637817414B378941DE1D3241A003E78C587817410E54D6CCE11D3241E0C20534447817417EE4F295E51D3241502D6D903078174198549C9AE91D324160D6D6AD1D781741EC826CD8ED1D3241F01389970B7817410D2FDB4CF21D324110485058FA771741F47C3FF5F61D3241206C78FAE9771741F53A70CEFF1D3241606891EDCD7717416819E218091E324160BD5216B4771741931804F6121E324100C5FE329C771741A79BC4201B1E3241408BFDE58A7717413BD6C50D1D1E3241A076BE1F87771741CCBAB8AD221E3241A05CFE437C771741D69AE61D281E3241203867C4717717411AB7D1802D1E3241903F355E677717411F166A0D331E3241A02FBBA75C771741F43A702E4E1E3241D05D4B482877174191ED7C9F7B1E32410004568ED07617415A522740A01E324100D044D88976174120DBF93E941E324120ED0D3E27761741BC64AA40881E3241008BFD653E761741501E162A291E32416091EDFCF576174123B9FCE71B1E324140CCEEC90F77174197B20C51161E3241F0B050EB1A771741B3D85FB6101E324150AEB66226771741D019511A0B1E3241C0C9C342327717410812147F051E324130BF7D9D3E771741C7BAB8EDFF1D3241206F81844B771741FA4A5966FA1D3241A0B662FF58771741EC1FD2EFF41D3241C030992A67771741DE718A8EEF1D324100075F1876771741060000000200000000024C0000000276000000029C00000002CF000000020F01000007000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003000000000300000003000000000400000003000000000500000003, CAST(1221423 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1222358, N'{38C723BB-9D75-4528-872B-791F4E46A593}', N'008473871', 7593, N'VIP789', NULL, N'8473871', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Block 43', NULL, NULL, N'BLOCK 43, COMOX DISTRICT, PLAN 789, EXCEPT THOSE PARTS IN PLANS 13632, VIP53443 AND VIP67369', N'0163', N'0027', N'NO', N'MODIFIED-ICIS', 5, N'DATACOMPILATION', N'UNKNOWN', N'0', N'1035795', CAST(N'2018-12-28T10:30:51.000' AS DateTime), CAST(N'2021-06-16T10:16:27.000' AS DateTime), 1040070, 16094, 0xBD0B00000104AF000000B09DEFA789552F418831776D427320411FC286A791552F41785AD37C5373204117C7BAB89E552F4128143FC683732041D9938705A0552F4188FB3AF0887320415B44696FA3552F4128E483DE7373204136A2B477A1552F41986B09B942732041B09DEFA789552F418831776D427320417E14AEC730562F417866662667762041EB95B20C32562F41B8DCB5844473204152AF94E50A562F41B8263108447320418BFD65F714562F41382CD45ABD73204162764F9E95552F4100B5A6B9687620417E14AEC730562F417866662667762041583BDF4F91552F41B013D00424742041CA44D83097552F412096210E07742041EF482EBF8D552F4158B1BFACDB732041A78026C280552F4148E6AEE5A6732041DE6A2B3672552F4140CB108772732041F0A7C60B62552F41A80A466549732041A2F831265F552F41802F4CE641732041116A4D3314552F41C84603F840732041FD5E984C15552F4178AEB6A2717220411C6C783A0C552F41381CEB225872204107EA110404552F41980DED233E722041D36AAEA2FD542F4190F991A2237220414832401EF9542F41F887DCBF08722041E97F677CF6542F4168A0489DED7120418F8D6BC0F5542F4160B5A15CD2712041107A36EBF6542F41B8ADD81FB7712041E593874509522F41A04DF34EB8712041BB749318A9502F415829CB108B712041FB31E6EE83502F41900F7A36A97120415A3255F0EC502F418895438BAF72204181C9540112512F416060E5D0BF722041A133A2F44D512F41F82631C839722041DFE00B93A5512F41585452E7CD712041B603E7CC25522F41B0D32BA5E671204137871619FD512F41E0F44A991F7320415B29CBD09C512F41B08D06F065732041146822ECD0512F41A059F579A57420411E73D71255522F41703BDF8F537620413E4ED19119552F4160A301FC697620410810E9772B552F4128166ACD6976204196CB7F4830552F41985D4B0802762041583BDF4F91552F41B013D004247420411B38670493412F4170A301FCB67A2041847CD0F3EF412F4110D7A3F0847A2041CB2B655960422F417091EDBC247A20418B28ED8DC4422F41283108ECCF7920414CC807BD53432F411871AC0B467920419F79C769BF432F41380E2DB2037920419C2A18155B442F4100F775A0CE7820411D0DE02DCD442F4140E5D0A2A6782041EF4A598662452F41309FAB2D56782041D7C342ADF2452F418036AB7EE9772041B435CDFBA0462F414019E2984C7720416F09F96002472F41904AEA04097720411E97FF107D472F4118A5BDC1D17620410CB5A6B9CC472F4180A7570AA0762041EC9E3CACD3472F41684BC8C7947620414B9621CE10472F41183CBDD293762041E72D90E01F452F4120B0722894762041260DE02D1F452F41E08AFDE54475204193D2DE60F3412F41F0B050AB3C7520413455306AF1412F41B047E1FAA0762041BF9F1AEF52402F41F831E6AE9E7620413A60E5D046402F4148499DC09E762041A2559FEB49402F414805A3D2297B2041FA9908DB2A412F41F0839E8DD97A20411B38670493412F4170A301FCB67A20417916D9CE02482F41906E1203957620415C5DDC06EA472F4148B1BF2CBD76204195976E1290472F41F8CD1951F5762041CB5D4B4816472F4158E8D92C2C77204121386704BA462F4100C58F316C77204139DF4F4D0C462F41704DF38E087820414E840D4F78452F41C0F75323787820414FEC2F7BDD442F4108287E8CCB782041C8FEB23B68442F41D865F7A4F4782041180DE0ADD0432F41D096904F28792041B38251896C432F41704AEA0466792041A8703D8ADF422F41F8CBEEC9ED792041A7D6346F7A422F41C89AE65D437A2041B7CFD5D606422F41F0718A4EA67A20411F386704A3412F4130BB270FDC7A20417D58A8F537412F41B898BB96FF7A20413B70CE084A402F4180FF907E547B2041575BB13F4A402F4128D49AE6A47B2041EFD24D624A402F41A0D71272D77B2041858CB96B4A402F41C06F5F47E57B20419E5E298B4A402F41A06D3480157C2041F241CF667A402F41606744E9187C2041776FF045BE402F41B0ED7CBF1D7C2041728A8EA4AE402F41B0605452047C204165AA60D455402F41F03D79D8737B204135B29DAF77402F41900E9CF3757B2041234A7BC375412F41B8490CC2857B2041536B9AF77E412F4158CA32C45E7B2041DBF21F5287412F41485227603B7B20412A6EA34189412F4140E8D92C337B2041076F814495412F41E002094A007B2041C186A7972E422F41B00E9CB3347B20412DBB278F3C422F41B022DB79397B20419BE61D6765422F41D075715BC97A2041235A643B7D422F4170575BF1877A2041E2A59BC4A8422F41406EA3816A7A204108FBCB6E5B432F41787CD0B3F1792041A233A2F4CE432F41B09C11A5D5792041346EA34194442F4110F9A0276C792041F5EBC0F995452F41C8DEE00BB279204130E6AE654B462F41082E90E055792041F173B5156D462F4128C05BE0D177204102F01648AC462F412064CC5DC4772041BF96904FD6472F4198218EB5BC7720417914AE4752482F4158C3D36B5D7720416F711BCDAF482F4140D191DC957620417916D9CE02482F41906E120395762041AD7BF23043202F4178C0CAA16B7920416507CE19DC1F2F4150F38E93E5792041A859F539F4212F41C8BE0E9C507A20416BBC745377232F4148D49AE69D7A204146FAED2B92242F4168C5FE72D57A20410AE9B7AFD7252F41803480F73A7B20415DB1BF6C92262F41484BC8477C7B2041B33E57DB21282F410832E6EEF97B2041DD0B9329E0282F4190E4F2DF3B7C2041DFF97EEAEA282F4178BA494C407C2041C7B12EAEEC282F4128F697DD1B7B2041E1F0F40AC7252F41C000DE02177B20417FA52C43C8252F4140DF4F4D4C7A2041A123B9FCC8252F41788251C9A2792041AD7BF23043202F4178C0CAA16B792041A85E29CBBE512F4150BD521637792041FBD47829A7512F41D8D634AF54792041CA32C43152512F4150F5B95AB779204196FD65377C4E2F419020B072927B20417C0D4F6F4B4E2F41C89F1AEF557C2041B01C5AA4094E2F41B8ADD85FCD7C2041BE5B2081094E2F41D83FA49FCD7C2041A757CAB2504F2F415027A049D37C2041866ABC744E512F41E875E01CDC7C20411A0DE02D84512F41905E290BDD7C204118A5BD81B1512F4150AA60D4DD7C20410E5839F4BD512F41E8DFBE4E72792041A85E29CBBE512F4150BD521637792041674BC8077D2A2F41B8073DDBB17C2041FE2A8756F2292F4160B81E05B17C2041D612F2817C2A2F414892CBBF037D2041674BC8077D2A2F41B8073DDBB17C20413E4ED11166302F41080BB5665A812041EC5A42FE54302F410061C3535A81204150B81EC5792F2F41F8E46161598120418BF606DFA62F2F4188B96B8960812041B7A679C73E302F418038D6C5638120413E4ED11166302F41080BB5665A8120413180B70083292F412093A9025C852041EA2FBBA756282F4168EC2FFBC7842041CF7F487F56282F4190D409E8EC842041D66F5F0756282F4140C4B1AE5A852041CC4D62D036292F4168438BAC5B8520413180B70083292F412093A9025C8520413B92CBFFE7292F41400C022BB38520417CE2C798E6292F41A85B20C1FA862041118A1F63852C2F41C08F31B7FD862041230F0B35D32C2F4140BB270FFE862041E01DA728E8292F41182DB2DD8D8520413B92CBFFE7292F41400C022BB3852041C34B3749F7302F41C0DA8A7D258A2041CAE53F642D302F41A0C420B058892041E7ACFA5C2D302F41788104455F892041C21E852B2D302F4198C64B378C892041B9FC87B42C302F4140FDF6B5F889204134DD24862C302F4110BC05D2228A2041AF47E17AC3302F41E85F76CF248A2041C34B3749F7302F41C0DA8A7D258A20410C00000002000000000207000000020D000000022D00000002460000000275000000028400000002910000000295000000029B00000002A100000002A70000000D000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003000000000300000003000000000400000003000000000500000003000000000600000003000000000700000003000000000800000003000000000900000003000000000A00000003000000000B00000003, CAST(1222358 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1222484, N'{D68E7D64-FAA1-4C25-81D0-A07AC543A66D}', N'016626184', 3, N'NO_PLAN', NULL, N'16626184', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 3', N'28,22', NULL, N'THAT PART OF FRACTIONAL LEGAL SUBDIVISION 11 SECTION 3 TOWNSHIP 28 RANGE 22 WEST OF THE 5TH MERIDIAN KOOTENAY DISTRICT LYING EAST OF THE RIGHT OF WAY OF THE CANADIAN PACIFIC RAILWAY', N'0163', N'0006', N'NO', N'ICF', 6, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-06-23T16:21:09.000' AS DateTime), 89754, 1337, 0xBD0B00000104090000000AD7A3D019C538419823B97CD8C22641E6482E9F4FC53841F8BCE3D499BF264180613275D9C43841A86E12837BBF264196559F8BB9C43841388941602BC02641B0506BDA8CC4384160F5B91A93C02641420AD74388C43841C0073D5BACC02641E2E995121FC4384160A3013CA7C12641B4BFECDED5C33841C8DEE08B87C226410AD7A3D019C538419823B97CD8C2264101000000020000000001000000FFFFFFFF0000000003, CAST(1222484 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1223960, N'{B45BD524-A632-45C4-8568-05DC74ED0D02}', N'010459286', 252487, N'PGP727', 17743151, N'10459286', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', NULL, N'Lot 18', N'Block 29', N'', N'LOT 18 BLOCK 29 DISTRICT LOT 933 CARIBOO DISTRICT PLAN 727', N'0112', N'0008', N'NO', N'MODIFIED-TANTALIS', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-07-26T16:27:00.000' AS DateTime), CAST(N'2021-10-01T14:35:22.000' AS DateTime), 345, 87, 0xBD0B0000010405000000F9285CEFB68232412885EB11694A2E41C0F5287CB5823241983F355EAE4A2E418A416025C0823241E8CAA145AF4A2E4133DD2466C182324190C2F568734A2E41F9285CEFB68232412885EB11694A2E4101000000020000000001000000FFFFFFFF0000000003, CAST(1223960 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1224148, N'{BB8CED7E-09CE-467C-8058-DCA9F7D48449}', N'013784293', 9240873, N'NWP12864RX', NULL, N'13784293', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2001-10-15T00:00:00.000' AS DateTime), N'REM Parcel A', NULL, NULL, N'PARCEL "A" (REFERENCE PLAN 12864) OF LOTS 13 AND 14 EXCEPT: PART ON STATUTORY RIGHT OF WAY PLAN 55675; DISTRICT LOT 233 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 1145', N'0109', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', N'1191', CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2021-10-14T11:39:29.000' AS DateTime), 1191, 188, 0xBD0B000001040C000000085F982CF5C83241A0946588CA351D414894F606E3C83241209C3322C7351D4150499DC0C7C8324190A4DFBEC1351D414E1A5700C3C83241C0819AFBC2351D41C0264A40BEC832412065C845C4351D41DCCF7880B9C83241A0A8689DC5351D41A276E5C0B4C8324110A07A02C7351D41FE7B9201B0C832414098FD74C8351D41B5408242ABC8324140D8F0F4C9351D41877CD093D1C832410081954303361D414C598618F4C83241906C56FD4F361D41085F982CF5C83241A0946588CA351D4101000000020000000001000000FFFFFFFF0000000003, CAST(1224148 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1224170, N'{0A95B4AE-2FD1-4D20-A4F0-60F9486B35B7}', N'010357262', 472072, N'NEP740', NULL, N'10357262', NULL, N'5320347000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'Block 2', NULL, N'LOT 1 BLOCK 2 DISTRICT LOT 267 KOOTENAY DISTRICT PLAN 740 EXCEPT THAT PART IN PLAN NEP19552', N'0053', N'0018', N'NO', N'ICF', 0, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2021-10-15T10:43:08.000' AS DateTime), CAST(N'2021-10-15T10:48:07.000' AS DateTime), 0, 4, 0xBD0B00000104090000003C82E2875C043A41904160257E2B244120A7E8485C043A4170F085097F2B2441146EAC875C043A41488C1C2D7F2B24416BEB77C65C043A4148927C507F2B24413A134B055D043A4100FDA5737F2B2441A8D925445D043A4178C498967F2B2441D23208835D043A41B0E254B97F2B2441D412F2C15D043A411851DADB7F2B24413C82E2875C043A41904160257E2B244101000000020000000001000000FFFFFFFF0000000003, CAST(1224170 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1224354, N'{3EEFE5B6-D751-47F0-8257-324AF4B027D9}', N'006334997', 650207, N'VIP2596', NULL, N'6334997', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1928-08-13T00:00:00.000' AS DateTime), N'Lot 1', N'', N'', N'THE EASTERLY 33 FEET OF THAT PART OF LOT 1, DISTRICT LOT 66, SAYWARD DISTRICT, PLAN 2596, LYING NORTH OF THE ISLAND HIGHWAY', N'0013', N'0027', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'844.1', CAST(N'2021-10-27T13:31:03.000' AS DateTime), CAST(N'2021-10-27T13:49:32.000' AS DateTime), 844, 195, 0xBD0B00000104060000003B1136FC2D0D3041684BC8478006214180734654310D3041B0FC87F4D005214123F46C96270D304110D9CEF7D50521417CFB3A30250D304108A5BDC153062141C05B2041240D304180C729BA840621413B1136FC2D0D3041684BC8478006214101000000020000000001000000FFFFFFFF0000000003, CAST(1224354 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1224588, N'{AA7C0206-9353-4101-A6F5-595D0B0BE160}', N'009759182', 287641, N'PGP20878', NULL, N'9759182', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot A', NULL, NULL, N'LOT A DISTRICT LOT 3182 CARIBOO DISTRICT PLAN 20878', N'0163', N'0002', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'0', NULL, CAST(N'2021-11-09T13:42:06.000' AS DateTime), CAST(N'2021-11-09T13:45:20.000' AS DateTime), 118193, 1642, 0xBD0B0000010414000000AEEA735561BF3241A06CE7FB15752C4129CB10276CBF3241980A46E51A752C41703D0A1773BF32417836AB7E1D752C41E6B7AFE37CBF3241009A085B26752C41A78251298BBF3241C08D06B047752C4195ED7C5F9FBF3241809465886B752C41A3F831A6ACBF3241F894D4C98C752C41F7C2640ABEBF32412808AC5CA8752C41422CD49ACEBF3241B0E1E9D5BB752C41E04F8D5708C03241605BB1BFC4752C415FFE437A37C03241C8C8767EC6752C4188EB51585EC03241687AA5ECA5702C41A2F83146D2BF3241D042AD6998702C41826132B568BF324190B0E16976742C41065F984C75BF324100B37BF27B742C4153AF940571BF32412831082CA2742C414A3789416DBF3241D020B0F2C0742C412B7E8C3969BF324110068195DF742C41E5839EED64BF3241E0CEF713FE742C41AEEA735561BF3241A06CE7FB15752C4101000000020000000001000000FFFFFFFF0000000003, CAST(1224588 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1224659, N'{A86367BC-11A1-4D73-B1BB-06F898323071}', N'003709957', 872064, N'KAP36529', 34831971, N'3709957', NULL, N'73105978050', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', NULL, NULL, N'LOT 1 DISTRICT LOT 1327 KAMLOOPS DIVISION YALE DISTRICT PLAN 36529', N'0163', N'0028', N'NO', N'ICF', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-11-15T09:36:29.000' AS DateTime), 92578, 1565, 0xBD0B000001041B0000007C58A8B54E243541E063CC9D8B2A21414EDA1B3C5424354168D93DB9992A2141411CEBA259243541B8DCB504A82A2141A98251E95E243541E8EDEB80B62A214154840D0F64243541D8F97E2AC52A214166B3EA13692435412893A902D42A2141E44F8DF76D243541E04A5906E32A21412A7E8CB972243541B858A835F22A21415C105859772435419816D98E012B214140BD52D67B243541A8BB9610112B214177F2B0308024354128B5A6B9202B2141B19DEF6784243541F8A6E888302B2141361AC07B882435417048BF7D402B214196559F6B8C24354190180496502B2141D8E76A4B9024354120C28627612B2141A2703D2A2E25354190CE88D2112E2141E98C286D5925354160FC18F3AC292141B20C714C0524354170931844802921411361BAAE082435413064BC55A52921417B5D9DE00D243541580C508EC92921415E5424D514243541302E7793EC292141DE60F57A1D243541585BD40D0E2A2141F5AF7DBC27243541C807E3A92D2A2141565227803324354180E2C7184B2A2141CFDEE04B43243541202428FE6F2A214194C4201049243541C0FC87B47D2A21417C58A8B54E243541E063CC9D8B2A214101000000020000000001000000FFFFFFFF0000000003, CAST(1224659 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1225551, N'{BFB4BB97-592D-4F00-AC0B-34D0E60BA2EC}', N'011635797', 3, N'NO_PLAN', NULL, N'11635797', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'A', N'902', NULL, N'PARCEL A (PLAN B5979) OF DISTRICT LOT 902 OSOYOOS DIVISION YALE DISTRICT EXCEPT PLANS H783 AND 32331', N'0098', N'0016', N'NO', N'ICIS CADASTRE', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2022-01-11T16:55:05.000' AS DateTime), 2291, 225, 0xBD0B00000104090000005E105879A3233641807DAE36FFC42041E7D9AC3AE0233641F821FD760CC52041DC096842DA23364198F606DFFAC420413A454732D423364180C95441E9C4204196B20C91CC23364140FAED2BD3C420412CA2B437C523364198537424BBC4204104D578C9B823364190C64BB791C4204169006F81A823364110FBCB6E75C420415E105879A3233641807DAE36FFC4204101000000020000000001000000FFFFFFFF0000000003, CAST(1225551 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1226061, N'{DCE2830A-941B-4F5F-97AB-1D2E2C745CE1}', N'003592723', 1075375, N'NWP11749', NULL, N'3592723', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 4', N'', N'', N'LOT 4 DISTRICT LOT 77 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 11749 EXCEPT PART HIGHWAY PLAN 22279, AND EPP4371', N'0019', N'0009', N'NO', N'ICIS CADASTRE', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-01-31T18:44:23.000' AS DateTime), 1091, 147, 0xBD0B0000010405000000E0C798DBCABC3341D07493184D7F1C4154302AA9FFBC3341908EE472527F1C41874160A500BD33410014D0C4037F1C418104C5EFCBBC3341A09F1AAFF67E1C41E0C798DBCABC3341D07493184D7F1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1226061 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1226402, N'{9C1A838B-20F4-49C7-8A20-CB54553C61FE}', N'005896703', 126654, N'VIP5710', NULL, N'5896703', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 11', N'', N'', N'LOT 11, SECTION 108, LAKE DISTRICT, PLAN 5710, EXCEPT PART IN PLAN 29935', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:42:31.000' AS DateTime), CAST(N'2019-01-05T10:21:27.000' AS DateTime), 375, 106, 0xBD0B000001040A00000076A52C4316363241903A01CD20D717412A37A14914363241B0DF23861ED71741616F8C4B12363241A03E60821CD7174134C37C4910363241606246C21AD7174146C401440E363241A070534619D71741AEF8AB3B0C3632411086F10E18D7174194B20C310A363241809A771C17D7174102000020E7353241D07D1D3823D71741AB3E57BBEB353241201895D457D7174176A52C4316363241903A01CD20D7174101000000020000000001000000FFFFFFFF0000000003, CAST(1226402 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1227639, N'{4E2EB192-FC5C-4636-A503-3F8192992C12}', N'011765607', 3, N'NO_PLAN', NULL, N'11765607', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'S2', N'4521', N'', N'THE FRACTIONAL SOUTH 1/2 OF DISTRICT LOT 4521 CARIBOO DISTRICT, EXCEPT PLANS 21726 AND PGP45494', N'0163', N'0002', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2019-01-11T18:31:27.000' AS DateTime), 496824, 2892, 0xBD0B00000104520000001873D7D292E53241D819515ADB922A41A81E50CE91E5324138A8551CE9922A4192D5079C90E53241304898CFF6922A413DBC333C8FE53241B870B87104932A4122DE10AF8DE53241D091580012932A414023E4F48BE53241707D1E791F932A410344FA0D8AE5324178D0B3D92C932A41E81C075388E5324140EC91B838932A4164BA6EAE86E5324190B31DA444932A41C851482085E5324188C4AE9B50932A414CDBA9A883E5324100149C9E5C932A41DA10A84782E5324120F53BAC68932A41F66C56FD80E532418025E4C374932A41CFA6A9327FE53241B0F1D1EC7A932A41C9F48D637DE5324168BB8E1081932A41A01907907BE53241D8BF0D2F87932A4126E118B879E53241904642488D932A416020C7DB77E5324148A21F5C93932A416CB515FB75E53241C830996A99932A41AFD85FD698E53241687958A89E932A41C15296018DE73241C0D0225BC8932A410A68224C9EE7324188AEB662C8932A41186A4D13B9E73241981F636EC8932A41BAF3FD34B9E73241984AEA84C2932A410E363C5DCFE73241E092A902DF8F2A41838CB90BD4E7324188A757CA0C8F2A41C3F5281CDAE73241E8B27B72FC8D2A411A2653A5DCE7324198EA73B58A8D2A4171B515FB2DE53241B8D634EF478D2A41B21C5A842EE53241885CFEC3538D2A41D70968C22DE5324148EC2FFB728D2A41EE85C9D42DE5324178C5FE72928D2A41801D38272EE532415074B515B28D2A419C218EB52EE5324140AD69DED18D2A418251497D2FE5324160BA49CCF18D2A41DDBE0E7C30E5324140AD69DE118E2A41FC3A70AE31E5324140DF4F0D328E2A414D05A31233E53241281AC05B528E2A41708104A534E5324140CB10C7728E2A418F53746436E53241A83A014D938E2A4155A8354D38E53241581E16EAB38E2A41DFBE0E5C3AE5324160764F9ED48E2A416744698F3CE53241781D3867F58E2A4136F8C2E43EE5324140499D40168F2A4169226C5841E5324178B0E129378F2A41B58BDBE843E5324110401321588F2A415305A39246E5324108C13923798F2A416ABC745349E532414844692F9A8F2A411FB072284CE53241D8EEC943BB8F2A419FD6340F4FE532416088635DDC8F2A41182FDD0452E5324120477279FD8F2A41F041CF0655E53241B898BB961E902A4192976E1258E5324130211FB43F902A41152653255BE53241C8A8A4CE60902A41E2B5843C5EE53241F0770BE481902A41CEB3595561E53241388E75F1A2902A41EB8C286D64E53241683480F7C3902A41B303E7EC66E53241783480B7DB902A419AC7DB5E69E53241182C0281E7902A41AE954CD96BE5324138816B43F3902A41EF47345C6EE5324100C6A3FEFE902A41C8A68DE770E53241B89B92B20A912A412A69537B73E53241A0B21F5F16912A417334801776E5324150CA320422912A4114DFD7C47AE5324198431B7B37912A415841B8017FE5324108C8A74E4D912A4145EB57CC82E53241405CA47563912A41BE991D2386E5324130D5B9E679912A41C5E2A00489E5324190CA719890912A41A0CDAA6F8BE53241A8923A81A7912A4148DFE1578DE53241703117A0BC912A41B8AC1F058FE5324118E3EDD2D1912A414F1E307790E53241780F2C17E7912A41F64AE6AD91E5324180013D6AFC912A41857D1CA992E53241F8368AC911922A415639B46893E53241F0B27B3227922A41EBE5526294E5324100C73A3245922A4108D82AEE94E5324168241A3D63922A41AFD91E0C95E53241D04AD34C81922A411DA928BC94E5324150B61E5B9F922A413BFA58FE93E53241F82EB561BD922A411873D7D292E53241D819515ADB922A4101000000020000000001000000FFFFFFFF0000000003, CAST(1227639 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1227641, N'{A8857A99-6322-48DB-A74A-4E2238611722}', N'009206281', 1184382, N'NWP24717', 32938841, N'9206281', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2016-05-10T00:00:00.000' AS DateTime), N'Lot 2', N'', N'', N'LOT 2 SECTION 4 TOWNSHIP 4 NEW WESTMINSTER DISTRICT PLAN 24717', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:35:55.000' AS DateTime), 6251, 450, 0xBD0B0000010406000000423EE8192EA6324120E0BE0E41ED1B41DFB5843CD7A6324140A089B0DDEE1B41A2A22339DAA63241B02D9020E2ED1B41540E2DD278A63241B037F8427FED1B41790B242838A63241C0F606DF07ED1B41423EE8192EA6324120E0BE0E41ED1B4101000000020000000001000000FFFFFFFF0000000003, CAST(1227641 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1227719, N'{C8E3DE83-E82A-4DC0-83F2-95027F04AE8F}', N'002911078', 117903, N'VIP877', NULL, N'2911078', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'Block 10', N'', N'THAT PART OF LOT 2, BLOCK 10, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:16:11.000' AS DateTime), CAST(N'2019-01-05T10:52:32.000' AS DateTime), 306, 71, 0xBD0B0000010405000000FBEDEB204938324160F08549248D17417FE2C7B857383241C0DD9387128D1741E895B2CC51383241B0EEC9C3C58C1741972A183543383241E0255385D78C1741FBEDEB204938324160F08549248D174101000000020000000001000000FFFFFFFF0000000003, CAST(1227719 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1228208, N'{43437B9D-96F0-4E94-A2AB-260BB769B2E8}', N'001588265', 126723, N'VIP851', NULL, N'1588265', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 11', N'Block C', N'', N'THAT PART OF LOT 11, BLOCK C, SECTION 16, VICTORIA DISTRICT, PLAN 851 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:57:39.000' AS DateTime), CAST(N'2019-01-05T10:54:24.000' AS DateTime), 764, 115, 0xBD0B000001040A0000005EEE5A428E2D324140C28627129A174137D6C50D7B2D3241305839B4109A1741565BB19F702D3241A06DA3010C9A1741FD9908FB772D3241B06CE7FB6E9A17414650FC98822D32418029CB10719A17417CC7293A8D2D324110C4B12E719A17419B9999D9972D324160F38E536F9A1741A289B0E1932D3241F0633BDF399A1741CB76BEDF902D3241E03FA45F119A17415EEE5A428E2D324140C28627129A174101000000020000000001000000FFFFFFFF0000000003, CAST(1228208 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1228697, N'{D19E60A2-390A-4189-A877-423B3C410882}', N'015937615', 252487, N'PGP727', NULL, N'15937615', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', NULL, N'Lot 11', N'Block 31', N'', N'THAT PART OF LOT 11 BLOCK 31 DISTRICT LOT 933 CARIBOO DISTRICT PLAN 727 AS SHOWN IN RED ON PLAN 26804', N'0112', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:41:06.000' AS DateTime), 330, 86, 0xBD0B0000010405000000DA12F2C1D6823241684BC887FB492E418E06F0F6D7823241E0BCE3D40F4A2E413490A0D8F7823241B80209CA124A2E41A1CDAA4FF8823241A06588A3FE492E41DA12F2C1D6823241684BC887FB492E4101000000020000000001000000FFFFFFFF0000000003, CAST(1228697 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1232177, N'{17315EFE-CFE3-4652-8B31-453D84D8C617}', N'001715399', 3, N'NO_PLAN', NULL, N'1715399', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 4', N'3', N'', N'THAT PART OF SECTION 4, RANGE 3, QUAMICHAN DISTRICT SHOWN COLOURED RED ON PLAN 193 RW AND CONTAINING 3.29 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 15, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:48:21.000' AS DateTime), CAST(N'2019-01-07T18:33:37.000' AS DateTime), 13837, 928, 0xBD0B00000104620000000122FD16F4CA3141E0482E7FD45F1941A835CD1B05CB314140C7BA38575F1941EAFBA93108CB314110D57869415F1941AE17A05C09CB3141008966DE385F1941C8D4F0800ACB314120840045305F19417037919E0BCB3141407E999D275F1941248476B50CCB314100B584E81E5F19412E4096C50DCB314170EB1526165F1941FB31E6CE0ECB3141F061A1560D5F194192E4F2FF10CB3141A02F4C26F95E19416395AF7F11CB3141C0E5872EF45E1941354DE5FB11CB3141F0A62F31EF5E19418426907412CB3141D0846B2EEA5E19415458ACE912CB314160BD6326E55E19413236365B13CB3141B0B64019E05E194155302AC913CB314100022B07DB5E19416F68914D15CB3141F05C6DC5C65E1941655F5DA315CB3141E03F159EC15E19419D05D7F415CB314140E35C72BC5E194188C9FA4116CB314130417E42B75E1941374AC58A16CB3141B082B30EB25E1941785733CF16CB314160FC36D7AC5E19410CF2410F17CB3141E02C439CA75E1941D91B7CE117CB3141F06E8104925E1941023B9F0A18CB3141408974598C5E1941E0B54A2F18CB314170607DAC865E194185207D4F18CB31413049D4FD805E1941533B356B18CB314110AAB14D7B5E194131F3718218CB314190F64D9C755E19418361329518CB314190B0E1E96F5E1941580E2DB218CB314130CC7FC8575E19410A7D529318CB314180D7035D455E19414065F35718CB314130E7E5F5325E1941B0AD180018CB3141504AE895205E19414E82CF8B17CB31417040CC3F0E5E1941375229FB16CB3141108E51F6FB5D194136CD3B4E16CB3141401136BCE95D1941D2915CDE05CB314140AF94657E5C1941282DAF5E04CB3141C080E515585C194186A5275C03CB31418056DF84315C1941262571D702CB314180D50ACC0A5C19418789E3D002CB3141D0FD0A05E45B19416729834803CB314120318C49BD5B1941BAD1003E04CB3141703333B3965B1941F7065F3805CB31417048507C7B5B1941C5B32E5706CB3141200E7E96625B19413925C4A907CB314120D070D9495B1941D54AC32F09CB3141C094E24B315B19414519C2E80ACB3141707780F4185B19414AA748D40CCB3141E0D8E8D9005B1941364ED1F10ECB3141F092A902E95A19417F4BCB9E14CB3141603B0F13B35A1941B7BB283B1BCB3141B022D5DE7E5A19411B1784BE22CB3141D0A449A84C5A1941B471521F2BCB314100C233AF1C5A19417A9AEF5234CB3141201A8230EF591941579FAB4D3ECB3141008BFD65C4591941A180266243CB3141E0D78173B0591941C6073DFB45CB3141D07C3FB5A6591941244A7B8349CB31410022FDF6995919417F2F4CE635CB31417005A3129C591941AFFA5CAD2FCB314190AA60D49C591941896CE75B1CCB314140567D2E9F591941DF361A0019CB3141C001BC05AF5919410300008014CB314180D2DEE0C459194150F38EF311CB3141E0B359F5D15919410CF016080DCB3141C0043491EC591941A2507FF302CB3141A0659B79295A194198943A21FACA31413056B16E695A1941CA9CF49FF2CA3141C0A71606AC5A19417ECF287CECCA314110AD0AD1F05A194196550DC0E7CA31413070235D375B1941231F8273E4CA3141A0FA0B357F5B194137CA039CE2CA3141007947E1C75B19410D83A23CE2CA3141A0F7F7E8105C1941A8EBFC55E3CA31414066A7D2595C19410D143FE6E5CA3141409D1125A25C1941C6073D9BF6CA3141F07E6ABC1C5E1941E27A144EF6CA3141A0BCE3143B5E19418BD2DE00F6CA314180218EF5495E1941D422DB19F5CA3141801FD26F675E19419028EDCDF3CA3141A045B6F3845E194195779C02F3CA3141001B9EDE935E1941F0D24D22F1CA3141E0F0F44AB25E19410144FA0DF0CA3141B08A8EE4C15E1941A289B0E1EECA31418016D9CED15E19410993A942ECCA3141803480B7F25E194102BF8A41EBCA314100037791FE5E1941C58B973BEACA314170C1CF640A5F1941E0B2D230E9CA314180F36A31165F1941A4FA3E21E8CA3141302E29F7215F19413E36DF0CE7CA3141D016EBB52D5F1941A245B6F3E5CA3141A068916D395F1941DE938725E3CA3141D0E00B93565F1941BAFC8754E1CA314160CF6655655F1941BD0E9C73DFCA31417060764F745F194159C1A8E4D2CA3141A07EFBBAD15F19410122FD16F4CA3141E0482E7FD45F194101000000020000000001000000FFFFFFFF0000000003, CAST(1232177 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1232252, N'{86529C44-D73E-4367-9ACF-C420336C56AE}', N'013525557', 3, N'NO_PLAN', NULL, N'13525557', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 11', N'2', N'', N'THAT PART OF SECTION 11, RANGE 2, QUAMICHAN DISTRICT BEING A PARCEL 2.93 ACRES MORE OR LESS INCLUDED IN PLAN 1027 OS EXCEPT THAT PART SHOWN OUTLINED IN RED ON PLAN DEPOSITED UNDER DD 65019I', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 42, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:17:13.000' AS DateTime), CAST(N'2019-01-07T18:33:26.000' AS DateTime), 5902, 462, 0xBD0B0000010409000000A52C435CDCC73141504469EFE8841941D58AFDA5B0C7314180B35975E784194197FF903EB9C73141A079C7290A85194194ED7C5F30C83141D0BFEC9EFD861941F163CC3D49C83141805CFEC354871941039A083B4BC83141E0E00B93FC8619414A0C02EB4CC8314140014D04BC861941A72C437C45C8314100BADA8AA2861941A52C435CDCC73141504469EFE884194101000000020000000001000000FFFFFFFF0000000003, CAST(1232252 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1232255, N'{89AE988C-05BF-4F0E-AE83-7DF2556B714E}', N'004925491', 1298225, N'NWP571', NULL, N'4925491', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', CAST(N'2003-03-04T00:00:00.000' AS DateTime), N'REM Parcel C', N'REM Lot 16', NULL, N'PARCEL C (REFERENCE PLAN 16614) LOT 16 EXCEPT: PART ON STATUTORY RIGHT OF WAY PLAN 73193; SECTION 36 BLOCK 5 NORTH RANGE 4 WEST NEW WESTMINSTER DISTRICT PLAN 571', N'0120', N'0010', N'NO', N'ICIS CADASTRE', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2021-01-27T12:18:02.000' AS DateTime), 230, 72, 0xBD0B000001040500000020166A2D85A43241A0B20C714C8A1C41923177CD8FA43241B00F7AB6768A1C415C423E089BA432410022FD769E8A1C41391AC0DB9BA4324130AB3ED74F8A1C4120166A2D85A43241A0B20C714C8A1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1232255 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1234209, N'{37615854-8683-40F7-AB8A-2553883824D4}', N'007722443', 246698, N'PRP1076', 35722001, N'7722443', NULL, N'03513.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 43', N'Block 2', N'', N'LOT 43 BLOCK 2 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 291, 91, 0xBD0B00000104050000002ABB274F4F2D2C41C00E9CF34DA13041774DF38E8C2D2C4130211FB464A1304156840D8F952D2C41FCA067935EA13041BA9F1A6F582D2C41FCA067D347A130412ABB274F4F2D2C41C00E9CF34DA1304101000000020000000001000000FFFFFFFF0000000003, CAST(1234209 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1234210, N'{4029104E-2239-460D-B4DA-81A16A71EE93}', N'005090091', 246698, N'PRP1076', NULL, N'5090091', NULL, N'03512.500', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 26', N'Block 2', N'', N'LOT 26 BLOCK 2 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076 EXCEPT PLAN PRP13761', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 195, 66, 0xBD0B0000010405000000E06800EF252E2C41EC60C393FCA0304133BB270F2F2E2C41C40E9C73F6A030418616D90E062E2C41E8D78133E7A03041A1D634EFFC2D2C41382AA953EDA03041E06800EF252E2C41EC60C393FCA0304101000000020000000001000000FFFFFFFF0000000003, CAST(1234210 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1234481, N'{5EA9BFDC-28D5-4969-BFBA-7ABA93C10D1F}', N'017458790', 489613, N'NEP19485', NULL, N'17458790', NULL, N'7078235040', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'', N'', N'LOT 2 DISTRICT LOT 6306 KOOTENAY DISTRICT PLAN NEP19485', N'0163', N'0004', N'NO', N'ICF', 7, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:21:04.000' AS DateTime), 13438, 482, 0xBD0B0000010407000000FCB27B9296B3384178D71232FE3C20414B696FD08CB3384130B072E8573D20414E840DCF87B33841E02FBBA7B13D2041C6F5283C16B43841D8FACBAE1B3E20410F71AC4B20B43841003411F6643D2041A8CFD5169CB338414872F94F023D2041FCB27B9296B3384178D71232FE3C204101000000020000000001000000FFFFFFFF0000000003, CAST(1234481 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1234891, N'{680278FF-0261-4B27-894F-E36445359B38}', N'000017523', 645957, N'VIP1279', NULL, N'17523', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 11', N'Block 3', N'', N'LOT 11, BLOCK 3, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:55.000' AS DateTime), 383, 96, 0xBD0B000001040900000032772D61819D30410020D2EF2DBB1C41AC946568819D304130B30CF12DBB1C41D9D78153869D304160226C782EBB1C41F1FDD498869D3041205EBA4906BB1C4104560EAD7F9D30416095438B05BB1C41C2CAA1A57F9D3041C0DD028905BB1C41C0F5287C609D3041E0E7FB2902BB1C41723D0A37609D304190F4DB572ABB1C4132772D61819D30410020D2EF2DBB1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1234891 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1234975, N'{2C23CF6B-66F9-4965-ACB0-57B5D7B379E8}', N'000017035', 3, N'NO_PLAN', NULL, N'17035', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 255', N'', N'', N'THAT PART OF DISTRICT LOT 255, ALBERNI DISTRICT, INCLUDED IN PLAN 277 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:28.000' AS DateTime), 13971, 2352, 0xBD0B00000104500000003F575B112394304160FB3A708C2B1D41F0F44AB95F943041D08173C68B2A1D4165B3EA9364943041D0043491772A1D41CC76BE7F69943041C0C8E5BF632A1D41A99BC4806E943041005C2041502A1D418D18049673943041F00581153D2A1D41AAADD8BF78943041A05B20412A2A1D412BF697FD7D943041A012F2C1172A1D41D568004F839430414075029A052A1D411461C3B38894304180A835CDF3291D415DCC5D2B8E943041003E7958E2291D41EE7C3FB59394304140C9E53FD1291D41AD72685199943041606F8184C0291D413D9B55FF9E9430410054E325B0291D4126E483BEA4943041F0E68C28A0291D41F631E68EAA94304120B9FC8790291D414B7B836FB0943041A082514981291D418438D665B6943041201C7C6172291D41BE0E9C331D96304170E3A59B00261D412B65194224963041400E2D32EF251D4133772D0118963041504DF38EEE251D4166006FA10D963041506FF005EE251D416E1283E0AF94304180C5FEB249291D411595D4C9A9943041201FF4EC58291D4162764FBEA3943041102C659968291D4156CA32C49D94304100E78CA878291D41DEC798DB97943041F0073D1B89291D418E53740492943041C08D06F099291D41FE088A3F8C943041402FDD24AB291D411E166A8D869430412035EFB8BC291D41150456EE80943041605530AACE291D41255C8F627B943041C06B09F9E0291D41C03099EA75943041302FDDA4F3291D4125CB10877094304160302AA9062A1D4188F4DB376B943041404BC8071A2A1D4127F697FD65943041805AD3BC2D2A1D414C5986D86094304100151DC9412A1D41DC141DC95B94304160302A29562A1D4148EA04D45694304190A7C6CB6A2A1D41E58C282D1A9430417020B0726B2B1D4137234A3B1594304100948705802B1D41F80FE93710943041600E2D32942B1D41EB51B81E0B943041D093F606A82B1D4111E9B7EF05943041C0B88D86BB2B1D417A832FAC00943041200DE0ADCE2B1D41332AA953FB93304120DAAC7AE12B1D4129CB10E7F5933041706722ECF32B1D4132DD2466F0933041C0B74002062C1D413A4547D2EA933041E034EFB8172C1D4133E6AE25E593304180C0CA21292C1D414A2575E231933041F0D2BCE3452E1D412E1E366B2693304110DD5F576A2E1D41CD9E146C1B93304160077909912E1D41449B15EC10933041C01055E1B92E1D41ABE0ECF10693304100CAE1C4E42E1D41BDCDF883FD92304110BDBE98112F1D415A423EA8F4923041C0A44E40402F1D41F1D24D62A2923041C064AA6009311D41FEFFFF3FA2923041A00D4F2F5D311D414A7B834FA292304170ABADD85C311D41B71E854BA7923041B030992A41311D4157204191AA923041406B09F92E311D419128ED8DFE923041B019515A5C2F1D41A2DFD10E07933041A0C4B78D2F2F1D41A274541C10933041301FC882042F1D414A28A9B01993304110D91055DB2E1D414DEAADC523933041001BEF1EB42E1D417D46EE542E933041C0A37DF98E2E1D41C186A7573993304150B684FC6B2E1D419C23B99CEC933041B0A223394F2C1D41AE9DEF67F2933041E020B0723D2C1D4190537424F8933041A0C7293A2B2C1D411C1FF4CCFD933041D05296A1182C1D4188C954610394304100E86AAB052C1D4189DB68E00894304140CF6655F22B1D4150158C4A0E943041D0E53FA4DE2B1D413FA4DF9E1394304160742497CA2B1D41A023B9DC18943041D00DBE30B62B1D41C4DCB5041E94304160204171A12B1D413F575B112394304160FB3A708C2B1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1234975 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1236792, N'{8752210B-667D-482E-B456-19E26E64F685}', N'013977946', 295389, N'PRP968', 23709061, N'13977946', NULL, N'01263.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 9', N'Block 114', N'Section 2', N'LOT 9 BLOCK 114 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:32.000' AS DateTime), 172, 54, 0xBD0B00000104050000000BA5BD8162772B41805149FD7F64314141C6DC754E772B41B8EFA72680643141DB141D094F772B41D044D850916431413CE17A1463772B41BCAF0327916431410BA5BD8162772B41805149FD7F64314101000000020000000001000000FFFFFFFF0000000003, CAST(1236792 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1237323, N'{62CB50CA-ABFC-4260-954A-D2889E5D9BE5}', N'013084224', 3, N'NO_PLAN', 2062310, N'13084224', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'1899-12-30T00:00:00.000' AS DateTime), N'3083', N'4', NULL, N'DISTRICT LOT 3083 RANGE 4 COAST DISTRICT ON PLAN 3387', N'0163', N'0011', N'NO', N'MODIFIED-ICF', 0, NULL, N'UNKNOWN', N'0', N'2915560', CAST(N'2020-12-17T15:09:24.000' AS DateTime), CAST(N'2020-12-17T15:09:26.000' AS DateTime), 2915197, 31563, 0xBD0B00000104B3000000FAFFFF7F1D4F2941388D972E7A582E418126C2C6514F2941204A7B0324582E414DE3A5DB844F294128A913D0CF572E4126068155D5512941206C783AFF532E41BA0E9CB3C35429412866F7642A4F2E41D06F5F47D1542941B0809503144F2E413D0AD763085529416031772DB94E2E4196635DDC1855294120B9FC079E4E2E412C211F740657294140454772704B2E41553789C1CF56294188C42030554B2E4160984C15F459294190A982D13D432E4102C364AA265A2941C0635D1C63422E41A0ABAD98D65C29411083C0CAC4362E4164325570DD5C294128C6DC35A7362E41691283406E5D2941B0627F1935342E41924160253A5E2941D83A704E6F322E416CF4DB574A5E2941F02406414B322E414B7DAEF6BD67294148D1911C421D2E41E21B7C21DA66294148A4DFFEA01C2E41780D4F2F8E662941905E294B6B1C2E413A82E2472B64294128E3A5DBBA212E4192D6346F206429413892CBFFD2212E41D256ECEF036429414055306A12222E4116C9E5FFF6632941C8EA73352F222E41A32C439CEF612941182DB21DB3262E41DFF97EAAB7612941B8ADD89F2F272E413C4547F2125C2941F065F7E4BE332E4180E926F1AC582941A0E61DE770422E41301136BC9658294190438BECD0422E411C6C783A1758294190A7574A19442E41202FDD24175829410000008019442E41846ABC74F5572941F8DBD74170442E41FACD1991CE572941D8F97E6AD4442E4172128300CB57294190621098DD442E4172711B0D23562941B0779C6221492E41DA9C11251A562941D0A9F15238492E419175719B87552941E8FBA9B1B14A2E41A2F831A689522941B8D85F36A04F2E416CF90FA97B522941D0CAA145B74F2E41FC3EC6DCB8512941F0073D5BF8502E41A44E40132051294110C58F31F4512E41FCFFFF3FE3502941C8C56D7458522E41D700DE022D4F294100728ACE2A552E41326EA3C11F4F2941081DC9A540552E41C3BAB8CD7F4E2941E0839E4D48562E4142C6DC356C4E294110E3369A68562E41C6D32BE5344D294128FF21BD69582E418E3177ED254D2941A0B0E16982582E4150FC18B3D24C2941B09999990B592E41B6E3145DC24C2941B8A6798726592E41A5D634EFB94C29411031086C34592E41050000009E4C294110D9CE7762592E41D288D29E1C4C294110C7BAB8375A2E418A6CE77B1C4C2941F87B61F2375A2E4164B3EAF30F4C294128AC1C9A4C5A2E410C166ACDAA4B294158AA6054F35A2E4193E4F2DF08492941A8EC9EFCD65F2E41391361C30249294138BD5256E25F2E410E143F86D7482941E0AE25A432602E414CE3A51BBC4829415029CB9065602E412F90A0F8844829413890A07824612E414ECA32046048294110560E6DA4612E411DC9E53F1C412941202428FECB7A2E41744DF30EFF402941C8FC8774C37A2E415DA835CD6F402941C0270F4B9C7C2E417C14AE473F412941F0F21F92947C2E41A4BDC1574B412941E0065F98B27D2E418CE4F25F5D422941E0CEF7D3297B2E4187F2B0907A422941C0F5285C327B2E4110D044D8BB422941E8E00B53507A2E41A611A5BDC1422941F01DA7E83B7A2E416629CB90C4422941989B551F327A2E413C2EFF61FA42294170CA32C477792E41F0DBD7416843294168CE8852FB772E41EC6E81840F4A2941203108ACF1602E419087851A484A294180CB7F0809612E417E36ABFE184C2941502CD49AA95D2E415A545227294C2941E0E158978B5D2E41F6D24DE21B4D2941A8DD93C7C85B2E4115D9CEB7754D2941E8B359B5345B2E415D44692F824D2941A8C2F528205B2E41CAEEC9C3F04E2941185530EAC3582E413CB4C8F6FB4E294140C6DC75B1582E41FAFFFF7F1D4F2941388D972E7A582E41F7B7AFC38A392941201FF4EC34962E41914AEA843C3A294178C05BA0D19A2E41E61DA7A84E3A29419889B021429B2E41176C787A5C3A2941580681D5979B2E41D232C4B17C3A294128B29D6FA09B2E41E45F764F633A294128386704C09B2E41E1D781331136294190C0CA2120A12E41540E2DF24335294170931844D4A12E41CB9E28114435294110032F85DBA12E41887DF6FF43352941803A73C6E2A12E41E2A099BE43352941484EA506EAA12E41124B1D4D43352941D8818544F1A12E41680895AB42352941987FD47EF8A12E410FAC1CDA41352941E88E53B4FFA12E41B03B42A541352941D87A731002A22E41DA8C59A14135294150EBDE6E04A22E41DD2769CE41352941286AA0CB06A22E413EBE252C423529415048C52209A22E414EA8F2B942352941283864700BA22E4127EBE2764335294118D7A3B00DA22E41BD11C4B94335294140103F620EA22E412E54A5FE43352941F82316130FA22E411673844544352941904D23C30FA22E41CC1E5F8E4435294108CF607210A22E41EFF632D94435294170F1C82011A22E41DE8AFD2545352941380456CE11A22E417D856FF74935294148757D871CA22E41CA37D5CA4E352941C027C43F27A22E41E8782EA05335294170C029F731A22E41AB1F7B775835294138E4ADAD3CA22E413E03BB505D3529419038506347A22E413AFAED2B623529417862101852A22E41831B24426535294138AEACE158A22E41455FA35A68352941F8683EAA5FA22E41826B6B756B35294188CEC47166A22E4114E67B926E352941B8183F386DA22E41A674D4B1713529412083ACFD73A22E4171BC74D374352941F0490CC27AA22E419A65CA077735294128697F867FA22E413D2DD83979352941B8DBFF4B84A22E41DD929D697B35294198898C1289A22E4177161A977D352941605B24DA8DA22E417F384DC27F352941103AC6A292A22E41107A36EB81352941D80C716C97A22E4152ADBBF283352941503FF43F9CA22E4106CB96B885352941484E112DA1A22E41108E863B8735294158854B30A6A22E41E90F797A8835294180891646ABA22E41D88A8C748935294158DBD86AB0A22E4169F90F298A352941D862EE9AB5A22E41236B6E448B352941C885DAC1C0A22E4157DEF6198C35294190D8D8EECBA22E4154B088A98C35294178193420D7A22E4101F00DF38C352941C85B3654E2A22E41D0607BF68C352941B04A2989EDA22E417B7CD0B38C352941006D56BDF8A22E416BAEA4448C35294178D8135A02A32E41DD70799E8B352941F858B7F30BA32E41EC0964C18A352941484B068915A32E415AC780AD89352941E099C6181FA32E4156FBF26288352941F8E5BEA128A32E4161F7E4E18635294180AEB62232A32E41499F0D1C85352941D842BB033CA32E41DC11272083352941901073DA45A32E4115F46CEE80352941684EB6A54FA32E41AF3D21877E352941288B5E6459A32E4170308CEA7B352941B0D0461563A32E415050FC187935294170C64BB76CA32E41C7B7229B77352941F82AA48871A32E417B3A230F76352941F85A845576A32E41D63B0B757435294110CBC21D7BA32E413499E8CC72352941881736E17FA32E4158A9C916713529410006B59F84A32E41293CBD526F3529414087165989A32E41A03F0FAE6D35294198E6D2B98BA32E41FC95F0FE6B352941A0FD35138EA32E41A61A82456A352941B8F6116590A32E41CA71E58168352941F88F39AF92A32E41AD063DB466352941401D80F194A32E413708ACDC64352941888CB92B97A32E4132EF38856735294150A60AC6DBA32E417516D90E42372941D034EFF84DA22E4151C8077D293A2941184B5906B19E2E4183B74042793A294150A757CA4D9E2E41C120B0F2243B294110D9CE37789D2E41721283C03C3B294118BE30995A9D2E4174DE710A6A3B2941C8490C42229D2E412C2AA9936A3B294118F46C96219D2E4136E8D96C3F3C2941988251C9189C2E41E4839E0DFF3B294110F54A99079C2E41A6E61DA7CA3B2941F021FDB6C29A2E417BE2C758C83B2941986CE77BB39A2E41F8065F58983B2941E8C2F5E875992E419A11A57D183B2941D87F48FF27962E41F7B7AFC38A392941201FF4EC34962E41020000000200000000025400000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1237323 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1237703, N'{013309BB-2485-4AFC-9FFF-BDD7385ACF97}', N'006220860', 1183980, N'NWP48143', NULL, N'6220860', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2010-05-27T00:00:00.000' AS DateTime), N'REM Lot 159', N'', N'', N'LOT 159 DISTRICT LOT 16 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 48143 EXCEPT PLAN EPP3646', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:36:58.000' AS DateTime), 753, 114, 0xBD0B000001040F0000006A4DF34EB9AF3241D09E3CAC7D741C4198F6063F98AF3241F0224AFB60741C419206F0D692AF324130D6566C76741C41D0BCE3D4A8AF3241406B0979E5741C41DAC798DBBAAF32419086C954BC741C412F40AA19BAAF3241D0D1C796B6741C4188910378B9AF32411082949BB0741C41E891D6F7B8AF3241308C806EAA741C41DAC1159AB8AF324180413B1BA4741C41A481725FB8AF32412037BCAD9D741C41E3C15B48B8AF3241B09D2C3297741C415A31FD54B8AF32416044D0B490741C4196EA3E85B8AF3241A060EE418A741C41EEA0C5D8B8AF32413056BAE583741C416A4DF34EB9AF3241D09E3CAC7D741C4101000000020000000001000000FFFFFFFF0000000003, CAST(1237703 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1240113, N'{D610D31C-8011-4CF7-8784-B5A314C3ED44}', N'010002332', 1310785, N'NWP14517', NULL, N'10002332', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'Lot B', N'', N'', N'LOT "B" DISTRICT LOT 203 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 14517', N'0109', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:21:07.000' AS DateTime), 732, 109, 0xBD0B0000010405000000674DF36EEFBA3241708104C58B4C1D41E24603B808BB32411071AC0B814C1D418EC2F5E809BB324100FDF675144C1D41EF0DBEB0F0BA324130DF4F0D104C1D41674DF36EEFBA3241708104C58B4C1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1240113 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1241123, N'{0ABDE313-3503-4F18-A44F-65B4D99AF3DA}', N'009615601', 1170767, N'NWP2620', 90000496, N'9615601', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-15T00:00:00.000' AS DateTime), N'Lot 42', N'Block D', N'Lot 758', N'ALL THAT PORTION OF LOT 42 BLOCK D DISTRICT LOT 758 GROUP 1 PLAN 2620 SHOWN ON STATUTORY RIGHT OF WAY PLAN 10087', N'0088', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:36:34.000' AS DateTime), 1100, 165, 0xBD0B0000010405000000ED38458778A53241E0EA73350B891C4177A52C8375A5324170BDC1172B8A1C41C6E53F2490A5324120C807BD8E891C41AB9BC4E090A53241401361C34E891C41ED38458778A53241E0EA73350B891C4101000000020000000001000000FFFFFFFF0000000003, CAST(1241123 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1241986, N'{D1F01894-3684-4B4A-AB00-95941E35FCA3}', N'010408517', 871149, N'KAP5031', NULL, N'10408517', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 1822 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 5031 EXCEPT PLAN H15395', N'0114', N'0022', N'NO', N'ICIS CADASTRE', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:01.000' AS DateTime), 1054, 146, 0xBD0B000001040600000066AA60940958354130B5A679C5181F41F86C56DD1658354190A8A4CE53181F410A2428FEE357354120EE5AC29A181F415FDC46A3E057354160C3D32BBA181F419A658803E657354100E6AE25F3181F4166AA60940958354130B5A679C5181F4101000000020000000001000000FFFFFFFF0000000003, CAST(1241986 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1242262, N'{BDDCA765-52E3-4378-A520-D2FD91B50115}', N'013174274', 3, N'NO_PLAN', NULL, N'13174274', NULL, N'72606568500', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'2050', N'', N'', N'DISTRICT LOT 2050 KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLANS B1513 AND H861', N'0163', N'0028', N'NO', N'ICF', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:32.000' AS DateTime), 121900, 2486, 0xBD0B000001044C00000050499DC0F669354168B9FC878A8C264150A60A66F669354138D49AE67B8C2641BF39234AF669354168C3D36B778C26418D976E92EC69354198A7570AE68A264114363C5DC169354180900FFADE8A264110F2410F8F69354110B7D1C0D68A26412EDD24A67E69354148F38E53688C2641384ED1117E693541B8923A81768C2641DA8AFD65836935410861C353778C26412B97FFD0F569354148787A658A8C264150499DC0F669354168B9FC878A8C26411283C0AAA36B3541703D0A97688C264129CB1047A56B3541181E16AA4C8C264153840DEFA66B3541B023B9BC2E8C2641D8E76A8BA86B35417804C5CF128C2641DA1B7CA1AD6B3541A0AEB622E18B264171D71232B06B35419815FB4BC78B26412EC4B1CEB16B3541702D215FAB8B26415AF5B9DAB46B3541E89387857B8B2641D1B35955B66B354100F54A99658B26414450FC58B56B3541D866D567378B2641C21726D3B46B3541F01B7CA1308B26414AE17A14F26A3541304CA6CA108B2641F6DBD7C1296A3541A05E290BF08A26419BA22379336A35414863EE5A818C2641361AC09B336A3541B88D06F0868C26411061C3F3336A3541681B0D20958C264136D6C5AD876B35419858A875CE8C264100D578A98B6B35413890A0B8C48C26415B9FABAD9A6B3541A067B3EA958C2641C6B12ECE9C6B354160863816908C26411283C0AAA36B3541703D0A97688C2641C220B072076C354108D42B659D8C2641A7BDC1170D6C35412097FFD07F8C2641373CBDD2136C3541A0976E525E8C2641411CEB82196C35417848BFBD3E8C264187C95481206C354118ED0D3E118C26414A4772F9256C3541385530AAFB8B2641F56C569D2D6C3541A837F842DE8B2641A44E40B32E6C3541D8ABAD58DA8B2641075F984C356C354160F5B9DABE8B2641CC6F5F073C6C3541B8F5285C9D8B2641DA1B7CA1416C354170029AC8818B26419A438BAC416C3541F0EF16C87F8B2641F64A5946476C354120D88133648B2641A011A5BD4A6C3541400AD723498B26414F8D970E496C3541508863DD488B264193A0F891D46B3541E8BB05D2358B2641577DAE16D66B3541D8EFA746428B26416544698FD66B3541082E90605A8B2641659A77DCD46B3541104D844D7A8B26418BFD6577D46B3541F81648508C8B26414360E5F0D36B3541103CBD52A48B264149D8F054D16B354188B0E129C08B2641C9073DFBD06B3541F0B0502BD08B2641A4D634EFD16B354168EE5A42D28B2641161DC925D06B354198FB3A30F68B2641F2EBC019CD6B354100DE0209268C2641A289B001CB6B354118C7BAF8578C26414E158CEAC76B35411073D7D2898C26413C014D64C66B3541486DC5BEA18C2641896CE77BC06B3541A0F3FD54CB8C2641B68D06B0BE6B354120ED0DBED88C2641D6C56DB4BB6B3541B0A44E00EF8C2641E3A59B04B56B3541D0915C7E0E8D2641826ABC74B16B354178FF903E288D2641CA10C73AB46B3541B037F882328D2641AFE1E915B96B3541F8B27BF2388D2641B6490C02C66B354160AA60143C8D2641449B551FCD6B3541F0E8B7AF368D2641DE7A14CEE66B3541682BF6D7168D2641E3718A2EEE6B354150204171058D2641BCC117A6F46B3541986ABCF4EF8C2641C2051234FB6B3541D08F3177D68C2641E27A14CE006C354190AEB6E2BA8C2641C220B072076C354108D42B659D8C2641030000000200000000020B000000022000000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(1242262 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1247271, N'{5FC9D7D1-A4A2-40EE-9588-3CC44B383F88}', N'006938167', 254951, N'PRP8766', NULL, N'6938167', NULL, N'16098', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot C', N'', N'', N'LOT C DISTRICT LOT 5344 RANGE 5 COAST DISTRICT PLAN 8766 EXCEPT PLAN 11879 AND EXCEPT PART LYING NORTH OF PLAN 11879', N'0011', N'0001', N'NO', N'ICF', 3, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2021-04-19T13:29:06.000' AS DateTime), 448, 111, 0xBD0B00000104040000000AC7BAB809002F4160621018CE442F4102CCEE8966002F4188635D5CE1442F41CE22DB7923002F4190D100DEAC442F410AC7BAB809002F4160621018CE442F4101000000020000000001000000FFFFFFFF0000000003, CAST(1247271 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1248300, N'{7BD17154-9424-4AC1-8F27-631920308824}', N'016363353', 472108, N'NEP9503', NULL, N'16363353', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 15', N'Block 6', NULL, N'LOT 15 BLOCK 6 SECTION 12 TOWNSHIP 27 RANGE 22 WEST OF THE 5TH MERIDIAN KOOTENAY DISTRICT PLAN 9503 EXCEPT PART INCLUDED IN SRW PLAN 13446', N'0043', N'0006', N'NO', N'ICF', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-06-08T09:34:24.000' AS DateTime), 280, 94, 0xBD0B0000010406000000588638B604D3384190779C62DC8326413545477202D33841504772B9E4832641CA98BBB6F2D23841E034EF381F8426412AE4833E01D3384140D8F0F422842641BB627F1906D33841E8BE0E5CD7832641588638B604D3384190779C62DC83264101000000020000000001000000FFFFFFFF0000000003, CAST(1248300 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1248608, N'{7A5D4EBE-9419-4F9F-A421-F501539DC479}', N'002910977', 117903, N'VIP877', NULL, N'2910977', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 30', N'Block 9', N'', N'THAT PART OF LOT 30, BLOCK 9, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', N'508.2', CAST(N'2016-01-06T19:35:46.000' AS DateTime), CAST(N'2021-06-29T17:40:27.000' AS DateTime), 509, 96, 0xBD0B0000010413000000A333A2F43E39324120BD5216648C17414082E2673739324100539621028C17414647727930393241C0B359750A8C1741251FF48C2C39324190A3703D0F8C17415EEE5AA22A393241004F4093118C17412FFDE9992A3932412062ECA4158C17412626A3922A3932414071BCB6198C1741C272868C2A393241F026ABC81D8C174118EB93872A393241C02DB3DA218C17419495CB832A3932410031CFEC258C17412E772D812A39324120DBF9FE298C1741276519E232393241907CD0B3968C1741504013A13F393241E0565B31878C1741A2E24F7E3F393241008F7859818C17419FD4F45D3F393241A09CB8807B8C1741186E02403F393241F0602BA7758C1741580079243F39324160BAE0CC6F8C17411ED6580B3F393241E08CE8F1698C1741A333A2F43E39324120BD5216648C174101000000020000000001000000FFFFFFFF0000000003, CAST(1248608 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1248980, N'{681CD4EC-BDEE-4A74-8A17-F2638C33CC3B}', N'014073854', 1072963, N'NWP9303', NULL, N'14073854', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', NULL, NULL, N'ALL THAT PORTION OF LOT 1 SECTION 4 TOWNSHIP 5 RANGE 27 WEST OF THE SIXTH MERIDIAN NEW WESTMINSTER DISTRICT PLAN 9303 WHICH LIES SOUTH OF THE TRANS-CANADA HIGHWAY', N'0163', N'0009', N'NO', N'MODIFIED-ICIS', 7, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2021-07-30T15:04:57.000' AS DateTime), 15245, 613, 0xBD0B0000010422000000CC6F5FA73B2A3441609FABAD9C091E414EAF94853B2A34417006F01688091E41396744893B2A3441501D38675B091E411E85EB313B2A3441D0D100DE45091E411E63EE1A3B2A3441C0E3A59B2E091E41E2BE0E9C3A2A3441F004349114091E41EC1FD2EF3A2A3441400E2D32FF081E41394ED1113B2A344160B6F3FDE7081E417EE2C7D83A2A3441A0E53F24BC081E411461C3F33A2A344110EBE2B6A6081E414EA60A663B2A3441F0012B077B081E414FFC18F33B2A3441307DAEB665081E418A16D92E3D2A344180559FAB4F081E41D22B65B9402A3441A0DD938726081E41F263CCDD442A3441F024060102081E41E8B7AF634C2A344110AAF152CD071E417E613255552A3441202EFFA193071E41721283E0572A3441F0A067B37F071E41AB13D0645A2A34418095438B6D071E41E39387C55E2A3441F031E62E48071E41C439236A632A344120EA043420071E419C218E95672A3441D08AFDE5F9061E419E33A254682A3441F0F97E6AE6061E4124B072A8682A34410071AC0BD1061E41D3BCE354682A344180BFEC9EBA061E41E6482E1F682A3441A020B07295061E4182AEB6425A2A3441C003568E92061E415917B7510A2A3441D0F675E081061E41F141CFE6002A3441C06722ECDF081E41C4BAB8EDFD29344180711B8D9F091E41890D4F4F3F2A344130583934380A1E417ABE9F9A3D2A3441A0855A53F8091E4154D3BCE33B2A3441900AD7A3C7091E41CC6F5FA73B2A3441609FABAD9C091E4101000000020000000001000000FFFFFFFF0000000003, CAST(1248980 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1253044, N'{37D25388-7688-401A-A21F-E1E22B470A24}', N'007576650', 128602, N'VIP1347', NULL, N'7576650', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 7', N'Block 1', N'', N'LOT 7, BLOCK 1, SECTION 33, VICTORIA DISTRICT, PLAN 1347, EXCEPT PART LYING SOUTH EAST OF THE SOUTH EAST LIMIT OF THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY, AS SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:42:13.000' AS DateTime), CAST(N'2019-01-05T10:23:33.000' AS DateTime), 91, 49, 0xBD0B0000010404000000C832C431863C3241605DDC46C59B17412041F183783C3241E0043491849B1741E5B7AF03783C32419054E3A5B79B1741C832C431863C3241605DDC46C59B174101000000020000000001000000FFFFFFFF0000000003, CAST(1253044 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1253449, N'{B0CB80C0-445B-4793-88F8-897F307B69B3}', N'015869431', 496121, N'NEP1338', NULL, N'15869431', NULL, N'7101965000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 10', N'', N'', N'LOT 10 DISTRICT LOT 1785 KOOTENAY DISTRICT PLAN 1338', N'0163', N'0004', N'NO', N'ICF', 13, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:34:32.000' AS DateTime), 43400, 1034, 0xBD0B000001040B0000007A0B24A89C193841C0DEE0CBAAD22141BD42AD29901938416019E2587BD32141EA73B5D5181A3841B8DFBE4E9BD32141480C02AB201A384110780B249DD321412C90A058291A3841B88F31779FD32141FA4A5926281B3841E0065FD8DED3214132B29DAF361B3841B03E57DB0ED32141B2EA7335641A384190726851D8D2214136D6C5CD341A3841B0C64BB7CED221410E363CFD2B1A384190C7297ACCD221417A0B24A89C193841C0DEE0CBAAD2214101000000020000000001000000FFFFFFFF0000000003, CAST(1253449 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1254336, N'{C0013F08-1592-4C11-AE25-2FF2AA4A1BF5}', N'001623699', 3, N'NO_PLAN', NULL, N'1623699', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 80', N'', N'', N'THAT PART OF SECTION 80, METCHOSIN DISTRICT, SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 27589 AND CONTAINING 2.76 ACRES MORE OR LESS', N'0065', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:02:21.000' AS DateTime), CAST(N'2019-01-05T10:54:35.000' AS DateTime), 11120, 866, 0xBD0B0000010430000000BB490CC2C10B3241601283C0E03D174196B20C31BF0B324120151DC9B83D1741828CB94BAE0B32412093A902B03C1741881F63EEAB0B3241804772F9893C17411D386784A90B3241E07936AB623C1741C15B2041A70B32415088635D3D3C1741A35E290BA50B32418092CBFF173C17418CA982D19D0B324110E02D909B3B174127A913F09B0B32419067B36A7A3B1741E851B8DE990B324170E2C718563B1741E8D9AC3A960B32414054E325163B1741802F4CC6940B3241C0749398FC3A17411FA7E868920B3241504DF30ED33A174101E78CA88D0B3241002C65997F3A1741C798BB968A0B3241E031E6AE493A174125F6979D870B3241C08FC275153A1741905374A4840B3241705AD33CE1391741F0B050AB810B324170B8AF03AD39174155A835ED7E0B3241803D0AD77C39174182D93D797B0B3241803255304039174195900FDA610B3241201895D464391741CE5D4BC8750B324130D3BC63CB3A1741EF85C9D4790B32410051DA9B123B1741088A1FE3820B3241C0AF03E7B13B1741F21F2589840B324160DB9293CE3B1741FAB06F32860B324150F91C3DEB3B1741A4E4FEDE870B324160129CE3073C1741BA61D28E890B3241A0300A87243C17415DCEE9418B0B3241305E6127413C17410FD044F88C0B3241D0A59BC45D3C1741782081F68E0B3241D0EAC68B7E3C1741C03C48F9900B32415091814E9F3C1741A8869900930B32415086C10CC03C17418F5E740C950B3241F0B97CC6E03C17416823D81C970B3241B01BA97B013D1741CC32C431990B3241F09E3C2C223D1741BE0512149C0B32415095430B4F3D1741E3B584BCA10B3241C0726811A73D17410266F764A70B3241A0BDC117FF3D1741A0EFA7E6B20B32410051DA1BB23E17419106F096B50B3241304469EFDB3E17418638D6C5B50B3241F0A9F152DD3E174194ED7CFFBA0B324140AF94652D3F1741F9065F58C10B3241300C02AB8E3F174191180416DB0B324190B5157B6A3F17416E1B0DE0C60B3241F056ECAF303E1741EE164850C40B32418035CDBB083E1741BB490CC2C10B3241601283C0E03D174101000000020000000001000000FFFFFFFF0000000003, CAST(1254336 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1255407, N'{B91E04F2-3E14-466E-9917-E777FFBF8DD5}', N'005446244', 133655, N'VIP10094', NULL, N'5446244', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 7', N'', N'', N'LOT 7, SECTION 37, VICTORIA DISTRICT, PLAN 10094', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:34:01.000' AS DateTime), CAST(N'2020-12-22T11:23:31.000' AS DateTime), 1001, 144, 0xBD0B000001040600000059522700D9453241405EBA49318D1741CA32C411C645324150B4C8762F8D1741B025E4C3C445324190D9AC7A028E1741C8293AB2D44532410035EF38048E1741FF87F4BBD745324190B88D86048E174159522700D9453241405EBA49318D174101000000020000000001000000FFFFFFFF0000000003, CAST(1255407 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1255619, N'{11C271A4-C39D-4712-B9BE-25667479700B}', N'001567641', 117903, N'VIP877', NULL, N'1567641', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 9', N'Block 12', N'', N'THAT PART OF LOT 9, BLOCK 12, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:51:07.000' AS DateTime), CAST(N'2019-01-05T11:04:09.000' AS DateTime), 307, 71, 0xBD0B0000010405000000FBE461013B363241706E1283518F17415E5DDC662C36324100CCEE49638F17416C44694F32363241F0043411B08F1741F5CBEEE94036324170A7574A9E8F1741FBE461013B363241706E1283518F174101000000020000000001000000FFFFFFFF0000000003, CAST(1255619 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1255931, N'{2A055079-FEDC-48E6-8490-CCAFFF342D5E}', N'012759503', 868179, N'KAP55', NULL, N'12759503', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 21', N'Block 19', NULL, N'LOT 21 BLOCK 19 DISTRICT LOT 706 YALE (FORMERLY OSOYOOS) DIVISION YALEDISTRICT PLAN 55 EXCEPT PLAN H831', N'0114', N'0022', N'NO', N'ICIS CADASTRE', 1, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-02-24T09:52:26.000' AS DateTime), 237, 68, 0xBD0B000001040500000053AF9445D2553541508638569B131F41C1D32B85CC55354140A2B4B779131F412931082CBB553541604F1E96BF131F41FAE46141C255354150A913D0DB131F4153AF9445D2553541508638569B131F4101000000020000000001000000FFFFFFFF0000000003, CAST(1255931 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1256044, N'{AA571D30-4DCE-4933-AA0D-56EA8AE2C7EC}', N'011097655', 869379, N'KAP2637', NULL, N'11097655', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', N'', N'', N'AMENDED LOT 3 DISTRICT LOT 235 KAMLOOPS DIVISION YALE DISTRICT PLAN 2637 EXCEPT PLAN H10733', N'0055', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:31:28.000' AS DateTime), 178, 56, 0xBD0B0000010405000000C54B376951663541E8FDD4781AAE2341BEF528FC5C66354158AF94E529AE23414BD8F0345E663541701D38A700AE234118E258D75266354168BC749306AE2341C54B376951663541E8FDD4781AAE234101000000020000000001000000FFFFFFFF0000000003, CAST(1256044 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1258164, N'{210F95CD-9CE0-412E-AF0B-A03B1C6A7201}', N'008552576', 12816, N'VIP703A', 29182881, N'8552576', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', NULL, N'REM Lot 6', N'Block 4', N'', N'LOT 6, BLOCK 4, DISTRICT LOT 24, OYSTER DISTRICT, PLAN 703A EXCEPT PART IN PLAN 1176RW.', N'0062', N'0007', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T20:05:39.000' AS DateTime), CAST(N'2019-01-07T18:32:59.000' AS DateTime), 65, 40, 0xBD0B0000010405000000F0F44A597AB1314120C3642A75261B416609F9606FB13141B0FA5C6D9F261B412487165970B1314100B37B72A3261B41BB86A7577FB131419066F7E489261B41F0F44A597AB1314120C3642A75261B4101000000020000000001000000FFFFFFFF0000000003, CAST(1258164 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1259572, N'{6083E0D7-4AFB-474F-8C62-A97B2F4DB29B}', N'015497607', 469593, N'NEP2185', NULL, N'15497607', NULL, N'7865199100', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 8', N'', N'', N'LOT 8 DISTRICT LOT 4595 KOOTENAY DISTRICT PLAN 2185 LYING WEST OF THE PUBLIC ROAD THROUGH THE SAID LOT EXCEPT PLAN NEP79199', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:37.000' AS DateTime), 6059, 409, 0xBD0B0000010404000000FAC2640AA8C239411079E9A6391F1F41FE65F7A442C339414072F98F8B1F1F41D06F5FC7B0C23941B0CB7FC8041E1F41FAC2640AA8C239411079E9A6391F1F4101000000020000000001000000FFFFFFFF0000000003, CAST(1259572 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1261566, N'{41440CF7-081E-4FC8-B043-3D5FE3BFD089}', N'001154923', 654359, N'VIP31556', NULL, N'1154923', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', N'', N'', N'LOT 1, SECTION 37, CORTES ISLAND, SAYWARD DISTRICT, PLAN 31556', N'0163', N'0027', N'NO', N'ICIS CADASTRE', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-27T18:19:07.000' AS DateTime), 26457, 1000, 0xBD0B000001040F000000D3D5560CE9503041A0EB51F8135421416BBC74F36C51304138ED7CBF0A542141DB34EFF86C513041E0482EBF0A54214160EE5AA26C51304118D49AA6CF5321410B4625956C513041B82E6EA3C65321418BF4DBB74E52304180643B1FC05321410D5839944E523041B09BC4E0F052214152FC18B36051304198E8486EF352214197FF90DE6051304110DAACBA1053214192A9823162513041406210D8F75321418938D6251951304188E61D67FC53214105B5A639EC50304158A1D634FF5321417858A875E6503041004850BCFF532141A513D0C4E650304168029AC813542141D3D5560CE9503041A0EB51F81354214101000000020000000001000000FFFFFFFF0000000003, CAST(1261566 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1261786, N'{A92F2992-BF29-4595-8996-47905041F747}', N'012519367', 495942, N'KAP62', NULL, N'12519367', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 8', N'Block 7', N'', N'LOT 8 BLOCK 7 DISTRICT LOT 818 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 62 EXCEPT PART IN PLAN H875', N'0163', N'0019', N'NO', N'MODIFIED-ICF', 13, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:36:02.000' AS DateTime), 17, 21, 0xBD0B000001040500000006AC1CBA3B693741105AF53921741D41D656EC4F3C693741D005129426741D411748505C3D6937417055302A05741D41C88F317739693741F0FC877404741D4106AC1CBA3B693741105AF53921741D4101000000020000000001000000FFFFFFFF0000000003, CAST(1261786 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1262676, N'{0B7FDAE7-67B1-4B44-8148-77B647A2371C}', N'012917389', 296598, N'PRP1251', 30293041, N'12917389', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 46', N'Block 6', N'', N'LOT 46 BLOCK 6 DISTRICT LOT 4044 CASSIAR DISTRICT PLAN 1251', N'0137', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:19:14.000' AS DateTime), 192, 69, 0xBD0B0000010409000000CCCCCC0CA9E026418C8CB98B2D9E3241B24082E2A0E02641805452C72D9E3241AE15FB0B70E0264184559F2B2F9E3241C556ECAF72E02641E43FA49F319E32419E15FB8B77E02641D8F75323369E3241A97268D17DE0264134B4C8F63B9E3241EA75E01C7EE02641D0ACFA3C3C9E3241A45E298BA3E02641E07A146E2F9E3241CCCCCC0CA9E026418C8CB98B2D9E324101000000020000000001000000FFFFFFFF0000000003, CAST(1262676 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1263659, N'{559B5319-5973-49BD-B38B-A95DC63DC0FA}', N'011157674', 1182565, N'NWP5470', NULL, N'11157674', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2013-04-15T00:00:00.000' AS DateTime), N'REM Lot 3', N'', N'', N'LOT 3 EXCEPT: FIRSTLY: PARCEL "A" (REFERENCE PLAN 14301); SECONDLY: PARCEL "B" (REFERENCE PLAN 22009); THIRDLY: PART SUBDIVIDED BY PLAN 50910; FOURTHLY: PLAN EPP26120; DISTRICT LOT 16 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 5470', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:36:58.000' AS DateTime), 856, 184, 0xBD0B000001040800000077E09C51A3AE3241304CA60A826F1C41B0506BFA9EAE3241B03A014D7C6F1C4182FB3A7086AE32411067D567EF6F1C4188635D1C79AE324160E09C11C06F1C41546210D863AE324120C7BAB81F701C41DE02096A76AE324170F4DB5755701C414F27A0A989AE324100651962FA6F1C4177E09C51A3AE3241304CA60A826F1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1263659 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1265847, N'{428371DC-9E5F-4E39-BF1A-766BD523F603}', N'011322349', 1303888, N'VAP4742', NULL, N'11322349', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-10T00:00:00.000' AS DateTime), N'Lot 4', N'Block 27', N'', N'LOT 4 BLOCK 27 DISTRICT LOT 599 PLAN 4742', N'0092', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T10:50:27.000' AS DateTime), 510, 95, 0xBD0B0000010409000000F48E5314907A3241A0A44EC029871D41FC21FD16907A324150B3EAF328871D41585BB1FF7F7A324140A60AC625871D41E0B584FC7F7A324160976E9226871D4152499D207E7A324140772D21A2871D41112DB21D7E7A3241806891EDA2871D413F7958888E7A324130C4B12EA6871D411083C08A8E7A324170651962A5871D41F48E5314907A3241A0A44EC029871D4101000000020000000001000000FFFFFFFF0000000003, CAST(1265847 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1268111, N'{2C7DEC6F-550B-4518-A9A1-E947B1861B31}', N'011335734', 3191934, N'KAP1790', NULL, N'11335734', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Parcel T', N'Lot 321', N'', N'PARCEL T (PLAN A1273) OF LOT 321 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 1790', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:53.000' AS DateTime), 460, 100, 0xBD0B000001040E0000002BA2B457336A3641602AA9936D481D412C287ECC366A364150AD695E7F481D41A8DFBE4E376A3641B0840D4F75481D41FF99087B386A3641603F35DE5F481D4170D712D2396A3641F00D2DB23D481D4102E78CA83A6A3641906210D818481D4166F7E4C13A6A364180416065F9471D41FAB9DA8A3A6A36413083C04AE4471D41B02E6E633A6A364170C64B37DF471D41D35D4B483A6A3641F0FBA9F1D8471D41011973F7246A3641E0482E7F21481D416229CBD0246A364120287E0C22481D417A832F4C266A364140DE718A28481D412BA2B457336A3641602AA9936D481D4101000000020000000001000000FFFFFFFF0000000003, CAST(1268111 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1271866, N'{2F2B6FFB-B785-4EE8-B069-AB3010BB0990}', N'014073871', 1072963, N'NWP9303', NULL, N'14073871', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'', N'', N'LOT 2 EXCEPT FIRSTLY: PART SHOWN AS HIGHWAY ON PLAN 27215, SECONDLY: PART ON STATUTORY RIGHT OF WAY PLAN 73812, THIRDLY:PART ON HIGHWAY PLAN 48855 SECTION 5 TOWNSHIP 5 RANGE 27 WEST OF THE 6TH MERIDIAN NEW WESTMINSTER DISTRICT PLAN 9303', N'0163', N'0009', N'NO', N'MODIFIED-ICIS', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-12-17T10:22:19.000' AS DateTime), 19774, 874, 0xBD0B00000104280000004A477219F7293441C0DF2D903E0C1E41DF4F8D77FE29344160D6C5ED460A1E41F6EFB480F229344110459BDB260A1E4142F64B70E629344190BD2064070A1E419D60CF46DA29344100449C88E8091E41D230BD04CE293441408C4D4ACA091E41456794AAC129344150ED6DAAAC091E41F2FDD438B5293441605530AA8F091E41AA4E40538F293441601361433C091E41224A7B238B293441D02AF6974B0A1E4180E2C778B129344120ADFA5C690B1E414A477219F7293441C0DF2D903E0C1E4151FC1893C12934410076E09C600E1E417C26C206C729344100492EFF690E1E41CA20B052CC29344120D26FDF6E0E1E41C0529641D129344140F1634C6E0E1E416CF08569D6293441108273C66D0E1E413992CBFFDA2934418054C128750E1E4190976E52DF2934417054C1287F0E1E41C4051254E5293441A0DD9387810E1E41B86B09D9EA29344160218E75860E1E41FE907E9BEB29344190D044D8870E1E414F499D20F0293441007A362B1B0E1E41FEB27B3281293441A06ABCF4CF0C1E41484772397B2934412076E01C530E1E414EF38E337C2934416064CC5D510E1E4159B1BF2C8129344190081B1E4E0E1E41D1B3593587293441C07C3FB54E0E1E41F8285C8F8C29344160B81E05500E1E4120DBF99E9129344170A301BC550E1E41EAB7AF239629344160E09C91610E1E41D05D4B689A29344130C0CA216F0E1E41C3CAA1459F293441C0490C02730E1E416DAC8B3BA4293441C02F4CA6700E1E4114143F06A929344100560EAD6A0E1E41AF7268F1AD2934419023B9FC6A0E1E4189635DFCB2293441F039234A630E1E41250F0B95B729344180B5157B5B0E1E41885AD3FCBC293441205A643B590E1E4151FC1893C12934410076E09C600E1E41020000000200000000020C00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1271866 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1272035, N'{AD0A0840-AF4C-476C-876B-E96D0E7EB296}', N'011118113', 853599, N'KAP3339', NULL, N'11118113', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 8', NULL, NULL, N'LOT 8 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 3339 EXCEPT PARCEL B (DD 148126F) ON PLAN A1182', N'0095', N'0022', N'NO', N'ICIS CADASTRE', 4, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-05-06T11:49:06.000' AS DateTime), 6401, 402, 0xBD0B0000010409000000460378CB7C713641707FD93D80841D414EAF94256871364160CB10C7B0831D41314CA6CA5B713641600E2DB23C841D41E4C7989B5471364160EFA74684841D4152158C2A4C71364110F163CCE4841D41280681F57A713641901F63EE9D861D4122B07268947136419051491D56851D41DE5817378971364160D93D79FC841D41460378CB7C713641707FD93D80841D4101000000020000000001000000FFFFFFFF0000000003, CAST(1272035 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1272178, N'{2F9DDDBD-8339-4170-9D7B-C621070B9B00}', N'014666405', 3, N'NO_PLAN', NULL, N'14666405', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'SE4', N'9', N'5,26', N'FRACTIONAL LEGAL SUBDIVISION 7 OF SECTION 9 AS SHOWN ON A PLAN OF THE SOUTHWEST 1/4 OF SAID TOWNSHIP DATED AT OTTAWA 29/01/1919; TOWNSHIP 5 RANGE 26 WEST OF THE 6TH MERIDIAN YALE DIVISION YALE DISTRICT', N'0050', N'0009', N'NO', N'MODIFIED-ICIS', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2020-01-22T15:58:38.000' AS DateTime), 10771, 573, 0xBD0B0000010408000000806ABC94E44E3441108C4A6A8F2F1E4160C3D34BF04E3441E02CB29DB32F1E41857CD0D3244F344160734694B22F1E415F5DDC26434F344130F38E53B4301E41E8D9ACFA914F3441E0BCE39498311E41628FC2759D4F3441907A142EC2311E4169AA6014A54F344100197357BF2F1E41806ABC94E44E3441108C4A6A8F2F1E4101000000020000000001000000FFFFFFFF0000000003, CAST(1272178 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1272204, N'{84283DEF-57DE-4618-816A-67CE9E3D65B2}', N'017151287', 126673, N'VIP386', NULL, N'17151287', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', NULL, NULL, N'PART OF THE SOUTHERLY 42'' 4 1/2" OF LOT 2, OF LOT 31, CLOVERDALE ESTATE, VICTORIA DISTRICT, PLAN 386, EXCEPT THAT PART LYING WEST OF THE RIGHT OF WAY OF THE CANADIAN NATIONAL RAILWAY AS SHOWN ON PLAN 7 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', N'117.0', CAST(N'2016-01-06T17:44:42.000' AS DateTime), CAST(N'2020-01-23T12:33:32.000' AS DateTime), 117, 44, 0xBD0B00000104080000002E772D81C3393241E01DA768668517412D90A0F8BF393241301136BC8A85174121D26F7FC83932418038D6459285174194A982D1CD39324120772D2162851741E34603D8CD393241B0703D0A62851741D122DBB9C439324150DC46035A8517414D742497C3393241204B5986658517412E772D81C3393241E01DA7686685174101000000020000000001000000FFFFFFFF0000000003, CAST(1272204 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1273111, N'{452CA1D2-23F8-4C14-8206-928B59AE6697}', N'001714309', 3, N'NO_PLAN', NULL, N'1714309', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 24', N'', N'', N'THOSE PARTS OF LOT 24, HELMCKEN DISTRICT SHOWN COLOURED RED ON PLAN 162 RW AND CONTAINING 4.84 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 15, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T17:31:12.000' AS DateTime), CAST(N'2021-02-25T16:06:06.000' AS DateTime), 19433, 1456, 0xBD0B000001042B000000463789C1C1D131414029CB1082221941C9293AF2E3D1314140DF4F8D87221941FBB9DACA41D23141102DB21D661F1941823F353E1FD23141B05B2041621F1941463789C1C1D131414029CB10822219416EAC8BBB41CF3141A0B20C71FA411941848EE49259CF3141A0FF90FEA74219415E984CD559CF3141B089B0E1A94219418E3A01ED6ECF3141D0F97E6A43431941E2718A8E78CF3141A025E483894319412BCB10277BCF3141A0A52CC3A4421941332AA95372CF3141600F0BB5624219418E7EFB7A71CF3141F0277E8C5C4219411CEBE2565CCF314170567DAEC24119418701763354CF31411006F9707941194151A8D4CB4DCF314140C83E7F2D411941F684222E49CF31419026F680DF401941504D906446CF3141F0AB4C2290401941C348457545CF3141E0CE791240401941BABA516246CF3141101E3C02F03F19413754AA2949CF3141401453A2A03F194154B72CC54DCF314110E8F8A1523F1941E201AD2A54CF314120B65FAD063F1941C2410C4C5CCF3141005F356CBD3E19413EA1571766CF3141E05A3180773E19419106F07671CF3141D0B7AF83353E1941B02E6E2376CF3141B01E85EB1D3E19411BB7D1408ACF314110295C0FA43D194127CB10E78CCF3141404ED191B93C19412B6519E25DCF3141100DE02DD73D1941AC25E42359CF314190613255EF3D1941057AD13F4CCF3141A0D0C5953A3E194135E35A2841CF31413015F04A8A3E19411FD8F2F537CF3141C02102C5DD3E194177B2DEBC30CF3141102AFE4B343F1941CA000A8D2BCF3141C0292D218D3F1941836FE37128CF31416042C380E73F19416696437227CF3141F0458FA3424019416DE15D9028CF314130C4B1C09D40194145B7BBC92BCF314160C7570FF8401941CDE6411731CF3141507875C8504119412451406D38CF314150D37C28A74119416EAC8BBB41CF3141A0B20C71FA411941020000000200000000020500000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1273111 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1273490, N'{7734ECCC-1F06-4B79-A90C-ADC8C1EC0A0B}', N'009045708', 135357, N'VIP476', NULL, N'9045708', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', NULL, NULL, N'LOT 2, SECTION 7, VICTORIA DISTRICT, PLAN 476 EXCEPT THAT PART LYING EASTERLY OF THE CANADIAN NORTHERN PACIFIC RAILWAY RIGHT OF WAY', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:25:44.000' AS DateTime), CAST(N'2021-04-21T10:47:02.000' AS DateTime), 790, 146, 0xBD0B000001040500000004AC1C7AAE393241B06132551C871741C410C7FA9F393241D07EFBBA0F8717418C855A138D393241501AC0DBEF871741A535CDDB98393241C0BDC117FA87174104AC1C7AAE393241B06132551C87174101000000020000000001000000FFFFFFFF0000000003, CAST(1273490 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1274372, N'{F3B13186-E0E5-4438-AC03-3FD25C9D0AF8}', N'013601113', 1485783, N'VAP2588', NULL, N'13601113', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-14T00:00:00.000' AS DateTime), N'REM Lot 1', N'Block 8', NULL, N'LOT 1, EXCEPT THE NORTH 3 FEET NOW LANE, BLOCK 8 SOUTH EAST 1/4 OF SECTION 26 TOWN OF HASTINGS SUBURBAN LANDS PLAN 2588', N'0150', N'0010', N'NO', N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'328', CAST(N'2021-01-13T09:52:35.000' AS DateTime), CAST(N'2021-05-31T16:33:05.000' AS DateTime), 328, 85, 0xBD0B00000104050000001271ACCBC68E324160643BDFED281D41DFC798DBD08E32413033A234EF281D419DCDAAEFD18E3241C08D06F06C281D41CB76BEDFC78E324110BE9F9A6B281D411271ACCBC68E324160643BDFED281D4101000000020000000001000000FFFFFFFF0000000003, CAST(1274372 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1274668, N'{9FFD8513-DADE-4FD1-B297-AF91CF1F3E48}', N'007375751', 645997, N'VIP1486', NULL, N'7375751', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', NULL, NULL, N'THAT PART OF LOT 1, DISTRICT LOT 90, ALBERNI DISTRICT PLAN 1486, BEING THE UNCOLOURED PORTION OUTLINED IN BROWN ON PLAN 387 RW', N'0163', N'0029', N'NO', N'ICF', 5, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2021-06-22T12:58:44.000' AS DateTime), 2017, 401, 0xBD0B000001040C0000001B6A4DF3BD83304120BD5296E4FB1C4155522760E8833041D0E8482E2AFB1C419C923AE11B843041B01726D347FA1C4118E7A0B721843041A04F2ECA2CFA1C41ECDCF22E2784304150592C8A10FA1C41287F26432C843041E0EEFF27F3F91C41F0157BF03084304140315FB9D4F91C4151EC7B3335843041909EC654B5F91C41FCDD020939843041C072681195F91C41C698BBB62D843041B05F764F94F91C41167C6152B783304110E78C28E4FB1C411B6A4DF3BD83304120BD5296E4FB1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1274668 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1274768, N'{ABAAB052-332E-4252-B99E-30660805B9F1}', N'000345385', 8838455, N'VIP3793RW', NULL, N'345385', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1984-03-07T00:00:00.000' AS DateTime), N'', N'', N'', N'THAT PART OF LOT 12, BLOCK 16, SECTION 24, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN PLAN 3793RW', N'0122', N'0005', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'93.93', CAST(N'2021-06-29T15:37:08.000' AS DateTime), CAST(N'2021-06-29T15:38:33.000' AS DateTime), 94, 47, 0xBD0B0000010404000000C30512946538324140666666E58B1741C142ADA969383241209B559F198C1741B79690CF76383241909A779C098C1741C30512946538324140666666E58B174101000000020000000001000000FFFFFFFF0000000003, CAST(1274768 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1274780, N'{D8667D90-3677-45C2-BE5F-02281B44EBB4}', N'002910934', 117903, N'VIP877', NULL, N'2910934', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 16', N'Block 9', N'', N'THAT PART OF LOT 16, BLOCK 9, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:39:54.000' AS DateTime), CAST(N'2021-06-29T16:46:32.000' AS DateTime), 306, 71, 0xBD0B00000104050000007E8CB92B883832419029CB90D78C17411AAE47C1963832415083C0CAC58C1741C09F1ACF90383241C02A1815798C1741104FAF348238324130F697DD8A8C17417E8CB92B883832419029CB90D78C174101000000020000000001000000FFFFFFFF0000000003, CAST(1274780 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1277681, N'{4462935B-B487-4340-870C-B5D2EB1BAF28}', N'007386591', 853467, N'KAP21581', NULL, N'7386591', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', NULL, NULL, N'LOT 4 DISTRICT LOT 490 OSOYOOS DIVISION YALE DISTRICT PLAN 21581', N'0098', N'0016', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2022-01-11T16:55:05.000' AS DateTime), 923, 146, 0xBD0B000001040A000000A4A44E60D82136416027A0C927BB20418C416085E42136418075711B50BB2041139C334216223641606666E657BB20411B05F9721422364108FB767D51BB20413BAFF19612223641809F3F234BBB204129873BAE10223641688F26D844BB2041D345F5B80E223641A011919C3EBB2041486E3EB70C2236418074E37038BB2041C74B37A90A2236413006815532BB2041A4A44E60D82136416027A0C927BB204101000000020000000001000000FFFFFFFF0000000003, CAST(1277681 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1277972, N'{DF317B9E-3956-4E32-BFD7-3845B88CE8CA}', N'002909111', 117903, N'VIP877', NULL, N'2909111', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 22', N'Block 8', NULL, N'THAT PART OF LOT 22, BLOCK 8, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'0', N'417.6', CAST(N'2022-01-26T11:13:15.000' AS DateTime), CAST(N'2022-01-26T13:58:26.000' AS DateTime), 406, 86, 0xBD0B000001040F0000008ECB7FC853393241E0FEB27B9A8D17413F575BD152393241A07346949B8D1741BC490C823F393241E06F5F07B38D1741142653A53439324150598638C08D1741732AF3083739324110CAABD2C88D17414209916439393241009DE48FD18D174105940CB83B393241C08AB96FDA8D1741550B46033E3932415074B171E38D174172201E464039324100695195EC8D174100F7758042393241E0AB1CDAF58D1741C9293A32473932417007CE19F08D1741DD2D90004F393241A0BE9F9AE68D1741CD2B65F954393241801F63EEAC8D174186DB68805539324170F46CD6A78D17418ECB7FC853393241E0FEB27B9A8D174101000000020000000001000000FFFFFFFF0000000003, CAST(1277972 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1278240, N'{BB9815EA-E46C-4FE5-A3BB-4313DCE5D7D8}', N'011325976', 1171692, N'NWP8556', NULL, N'11325976', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2013-02-26T00:00:00.000' AS DateTime), N'REM Parcel 3', N'REM Lot 24', N'', N'LOT 3 DISTRICT LOT 24 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 8556 EXCEPT PLAN EPP25817', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:37:09.000' AS DateTime), 684, 119, 0xBD0B000001040500000049C807FDB3B132412004560E57811C41F3164850B8B13241B04F1E1651811C41FC4A5906D2B13241C0361A40EA801C41285C8FA2A4B1324150F08549E2801C4149C807FDB3B132412004560E57811C4101000000020000000001000000FFFFFFFF0000000003, CAST(1278240 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1278961, N'{8FA0886B-3745-4AE0-A117-C906BFBE9070}', N'002600765', 128439, N'VIP27275', NULL, N'2600765', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 1', N'', N'', N'LOT 1, SECTION 36, VICTORIA DISTRICT, PLAN 27275', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:25:11.000' AS DateTime), CAST(N'2019-01-05T10:22:56.000' AS DateTime), 686, 119, 0xBD0B0000010408000000371AC03B6D453241100DE02D3C8C1741B815FB4B7A453241B042AD693D8C1741B8B88DC67545324140AA6054ED8B17410AAC1C1A6445324170BE9F1AE78B17419287857A62453241D0BDC117FE8B1741B0FA5CAD4D453241F0EC2F3BFC8B17417B9318A456453241A095430B3A8C1741371AC03B6D453241100DE02D3C8C174101000000020000000001000000FFFFFFFF0000000003, CAST(1278961 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1279031, N'{A65876C9-0504-4952-8242-A1AE586C053B}', N'008122008', 12849, N'VIP1002', NULL, N'8122008', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 7', NULL, NULL, N'THAT PART OF LOT 7, DISTRICT LOT 101, MALAHAT DISTRICT, PLAN 1002, LYING TO THE WEST OF THE ISLAND HIGHWAY AS SAID HIGHWAY IS SHOWN ON PLAN 570 RW EXCEPT THAT PART IN PLAN VIP64830', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T17:31:12.000' AS DateTime), CAST(N'2021-02-25T09:38:33.000' AS DateTime), 2356, 320, 0xBD0B00000104070000005C325530A503324140FBCBEED9C118413355308AA403324100F1634C1DC21841CF00DE22250432413026530530C2184161984C5530043241705452A731C218416F8104253704324140EF3845F2C118418204C58F2F04324160499D00F1C118415C325530A503324140FBCBEED9C1184101000000020000000001000000FFFFFFFF0000000003, CAST(1279031 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1279171, N'{875B3049-FE54-4463-9B75-D15023148E02}', N'002909359', 117903, N'VIP877', NULL, N'2909359', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 25', N'Block 9', N'', N'THAT PART OF LOT 25, BLOCK 9, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:48:23.000' AS DateTime), CAST(N'2019-01-05T10:23:48.000' AS DateTime), 136, 52, 0xBD0B00000104080000003911367CF7383241E0B9DA0AD18C1741A3A22399F13832414047E17AC88C1741EA1DA7A8EB38324120B8AF83C08C17419B559FABE538324130C28627B98C1741C37493D8E9383241C0F3FD54EF8C1741BAC876DEE938324140DE0289EF8C174120EBE276F83832415080B7C0DD8C17413911367CF7383241E0B9DA0AD18C174101000000020000000001000000FFFFFFFF0000000003, CAST(1279171 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1279524, N'{CC15D024-6443-42F0-BCD9-8E1A7037ACEC}', N'011933135', 489700, N'NEP12565', NULL, N'11933135', NULL, N'7101316020', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1 DISTRICT LOT 397 KOOTENAY DISTRICT PLAN 12565 EXCEPT PLAN NEP65575', N'0163', N'0004', N'NO', N'ICF', 13, N'DATACOMPILATION', N'UNKNOWN', N'1', N'14696', CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-24T15:00:11.000' AS DateTime), 14694, 580, 0xBD0B000001040F0000001495D409BA293841F0DBD701B4C42241959F9297A4293841901F27ACC9C4224196EC08578F293841F84E1817E0C422418D00E8497A293841D82CE340F7C42241AE49DC7165293841504FB0270FC52241EAFD8DD050293841604699C927C5224104F9A0673C29384160C1A82441C52241C4C3426D3C293841F0065F184CC52241FA0FE9973C293841B0B662BFB1C5224171CE88525E293841C0506B1AA2C52241C2CAA1A5B029384128143F0650C52241BEAF03E7192A3841C08E53F414C52241A2703D0A082A38411838678499C42241C164AA00E2293841B837F842B0C422411495D409BA293841F0DBD701B4C4224101000000020000000001000000FFFFFFFF0000000003, CAST(1279524 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1279584, N'{EE2A4D22-2C72-4C7F-BB20-C17FC749597E}', N'005622743', 248101, N'PGP29457', 90054417, N'5622743', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 13', N'', N'', N'LOT 13 DISTRICT LOT 6006 CARIBOO DISTRICT PLAN 29457', N'0163', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:17:47.000' AS DateTime), 21402, 661, 0xBD0B00000104080000003C674409A4EF3541385AD3BC87AE2B415C39B40869EF3541C0073DDBA7AE2B41DA68000F09EF35414829CB10EAAE2B411E63EEDAF2EE3541F068002FEBAE2B41A067B32AD1EE354158D26F9FDDAE2B41255C8F42CCEE3541C00512546EAF2B41A8F1D26DB3EF3541584772B998AF2B413C674409A4EF3541385AD3BC87AE2B4101000000020000000001000000FFFFFFFF0000000003, CAST(1279584 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1279604, N'{0E553A98-52D3-4222-8D80-45AE04B71623}', N'008913595', 292454, N'KAP14993', 90053152, N'8913595', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'', N'', N'LOT A DISTRICT LOT 3922 LILLOOET DISTRICT PLAN 14993', N'0163', N'0002', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2019-01-11T18:30:13.000' AS DateTime), 4036, 313, 0xBD0B000001041200000073D7129263A53441C0073D5BDEA1274153B81E8568A53441606210D8CFA127415AB1BF0C68A53441F80AB5A6CEA127410924281E52A5344170832F8CBEA12741628FC2B52DA53441E86A2BB685A127419CB437981DA53441E0BDC1975FA12741024D840D1CA53441708026823EA127416DF90F891BA53441F0C48FB136A127411271AC4B1BA53441D88C28ED33A12741E24F8D9710A5344160CA32C456A1274188855A9312A53441F82A871678A12741492EFFA118A5344110728ACEDDA127412EA2B45738A53441D054C1A800A22741AC9BC44042A5344150A8358D0BA2274122B072484FA53441C0088ADF19A2274144A4DF1E5BA5344190D32B25F7A127414C72F9CF62A53441E873B595E0A1274173D7129263A53441C0073D5BDEA1274101000000020000000001000000FFFFFFFF0000000003, CAST(1279604 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1279661, N'{8841B294-7B94-4199-8298-896D475F9179}', N'010328939', 866147, N'KAP4778', 3182481, N'10328939', NULL, N'72606392500', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Block E', N'', N'', N'BLOCK E DISTRICT LOTS 73 AND 1720 KAMLOOPS DIVISION YALE DISTRICT PLAN 4778', N'0020', N'0028', N'NO', N'ICF', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:32.000' AS DateTime), 1149, 140, 0xBD0B0000010406000000F09E3C0C488A3541882BF6D72A0627412831082C1B8A3541F80FE937230627412A31086C1A8A3541E8065F58510627419C4C158C448A3541D8C6BAB8640627410B68226C468A354180E2C79849062741F09E3C0C488A3541882BF6D72A06274101000000020000000001000000FFFFFFFF0000000003, CAST(1279661 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1279709, N'{D28835B7-ACE4-40BC-8549-1C859A0BADF9}', N'016427777', 288237, N'PGP34874', NULL, N'16427777', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot A', N'', N'', N'LOT A DISTRICT LOT 8635 CARIBOO DISTRICT PLAN 34874 EXCEPT PLAN PGP40044', N'0163', N'0002', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2019-01-11T18:31:23.000' AS DateTime), 194056, 1833, 0xBD0B00000104060000006DCE887262C432414889416026612B415B39B4E8BAC332413072F98FA6652B416DA3017C4EC5324178F2B010CC652B41E861A17666C53241F04F8D17E8612B418738D6C554C53241383333F33B612B416DCE887262C432414889416026612B4101000000020000000001000000FFFFFFFF0000000003, CAST(1279709 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1279761, N'{994ECEA3-BB6B-48F3-8A97-457DF995D1E6}', N'013565931', 290631, N'PGP6408', NULL, N'13565931', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 7', N'', N'', N'LOT 7 DISTRICT LOT 6171 CARIBOO DISTRICT PLAN 6408 EXCEPT: PARCEL A (O19803) AND PLAN 32696', N'0163', N'0002', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2019-01-11T18:31:22.000' AS DateTime), 2958, 231, 0xBD0B0000010406000000BE0E9C130EC43241D0E53FA44E572B41F33845E733C4324150840D4F51572B414C62107836C4324190931884BA562B4152B81EC510C432418867B36AB1562B41BBD100FE0CC432410097FF904E572B41BE0E9C130EC43241D0E53FA44E572B4101000000020000000001000000FFFFFFFF0000000003, CAST(1279761 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1279790, N'{28290755-F223-4122-8B9E-BA01517FEF25}', N'010057200', 473839, N'KAP6308', 3370211, N'10057200', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', NULL, NULL, N'LOT 1 DISTRICT LOTS 36 AND 37 OSOYOOS DIVISION YALE DISTRICT PLAN 6308', N'0134', N'0012', N'NO', N'ICF', 14, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-05-08T10:19:24.000' AS DateTime), 72421, 1453, 0xBD0B0000010413000000ED1FD2AF0586364140EEEBC049DE224121D26FDFCC86364110F241CF78DE2241792D215FD3863641B0081BDEEEDD224176832FAC1B873641E854C1E8FCDD2241C6B12E0EDE863641208F53F40DDD2241A289B0E1D2863641108195C3DEDC2241463789419B863641005D6DC53FDC224142AD699E96863641481361C35BDA2241EEFDD4182C863641D8A59BC4C4DA2241423EE8D91186364150B81E85F5DA224116C05B0009863641100A68E230DB22410CC7BAD80D8636410044FAAD76DB2241AE7268914186364110BE30D97FDC22412D7E8C5946863641602A1815C4DC2241880D4FEF4C863641D003E70C22DD22413C80B7C03C863641C8293A5296DD22418D06F0162C863641F8384547C6DD22417EC7291A21863641B89C11E5EBDD2241ED1FD2AF0586364140EEEBC049DE224101000000020000000001000000FFFFFFFF0000000003, CAST(1279790 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1280149, N'{7881ABE3-50E9-4A82-B000-78D98CA78512}', N'001675338', 12592, N'VIP218B', NULL, N'1675338', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block 48', NULL, N'THAT PART OF LOT 3, BLOCK 48, SHAWNIGAN LAKE SUBURBAN LOTS, MALAHAT DISTRICT, PLAN 218B SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 30792I AND CONTAINING 0.84 OF AN ACRE MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T20:30:29.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 3260, 273, 0xBD0B000001040A000000479D8086A5E93141F01DA7E83E8C18414D401361A4E9314100341136D78D184124530563C4E9314130EC2FBBD88D1841B488045BC3E93141301806C8948D1841FFD61C23C3E93141F05745B6508D1841F9EF6EBBC3E9314160B6BCAD0C8D1841CCBEA123C5E9314130DF35D6C88C1841159CE25AC7E9314120D05D57858C184120C9E55FCAE93141B0ABAD58428C1841479D8086A5E93141F01DA7E83E8C184101000000020000000001000000FFFFFFFF0000000003, CAST(1280149 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1280227, N'{C40672BA-E7A7-463A-B113-037DDFA785E8}', N'007760591', 140656, N'VIP1375', NULL, N'7760591', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 31', N'Block 1', N'', N'THAT PART OF LOT 31, BLOCK 1, SECTION 33, VICTORIA DISTRICT, PLAN 1375 BEING THE RIGHT OF WAY OF CANADIAN NORTHERN PACIFIC RAILWAY COMPANY SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:47:34.000' AS DateTime), CAST(N'2019-01-05T10:53:53.000' AS DateTime), 112, 73, 0xBD0B0000010409000000B5627F19263A3241D06722ECBF9217413E2CD41A243A3241A06ABCF4B59217410CF016A81D3A3241F087F4DB95921741FAEDEB80173A324130D122DB74921741B1506B3A123A3241B016485056921741F575E03C103A3241403A924B5B9217414D6B9AD7213A324140F90F69CA921741CC20B0F2213A3241902FBB27CA921741B5627F19263A3241D06722ECBF92174101000000020000000001000000FFFFFFFF0000000003, CAST(1280227 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1280539, N'{C5947508-C6D0-4BE9-BC1D-67C365632CC5}', N'001585827', 128536, N'VIP1597', NULL, N'1585827', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 10', N'', N'', N'THAT PART OF LOT 10, SECTION 16, VICTORIA DISTRICT, PLAN 1597 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:05:33.000' AS DateTime), CAST(N'2019-01-05T10:54:46.000' AS DateTime), 164, 53, 0xBD0B0000010406000000A6F1D24D9F2D3241D0293A120D9A1741CB76BEDF902D3241E03FA45F119A1741A289B0E1932D3241F0633BDF399A1741D6ACFAFCA22D3241D0A6E8483D9A174172128300A02D3241407D3F35169A1741A6F1D24D9F2D3241D0293A120D9A174101000000020000000001000000FFFFFFFF0000000003, CAST(1280539 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1281233, N'{6D69F47B-E59F-48F3-8DDC-1AE99267E874}', N'008005931', 849803, N'KAP19552', NULL, N'8005931', NULL, N'72606706200', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot A', N'', N'', N'LOT A DISTRICT LOT 2570 KAMLOOPS DIVISION YALE DISTRICT PLAN 19552 EXCEPT PLAN KAP63222', N'0163', N'0028', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:38.000' AS DateTime), 2917, 247, 0xBD0B00000104080000009CB20C7134E13541E873B5D539DB2641EB51B8DE46E13541584BC8475DDB2641058A1FA338E135419823B9FC7ADB26417E04C56F42E1354168B29DAFA0DB26418D7EFB9A5BE1354178A3013C6CDB264171B5153B7AE13541B8E1E9552CDB2641A03C2C5459E13541C88C28EDECDA26419CB20C7134E13541E873B5D539DB264101000000020000000001000000FFFFFFFF0000000003, CAST(1281233 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1281316, N'{9EBDAD50-E85B-42EE-9802-EE760001C3E9}', N'013667653', 1077715, N'NWP3148', NULL, N'13667653', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 2', N'', N'', N'LOT 2 EXCEPT: FIRSTLY: PART ON STATUTORY RIGHT OF WAY PLAN 44482, SECONDLY: PART DEDICATED ROAD ON PLAN BCP7079 DISTRICT LOT 43 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 3148', N'0002', N'0009', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-01-31T18:42:33.000' AS DateTime), 5754, 336, 0xBD0B0000010405000000885AD3DCAD63334110CFF7D3EA3E1C416AD5E74AAA633341A02C439CCE3F1C41C07D1D18E763334160F6065FD93F1C41C56D34A0FC633341C045B673013E1C41885AD3DCAD63334110CFF7D3EA3E1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1281316 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1282116, N'{CE0D86F1-E0A1-420B-AF0D-0C38CEA4CAC3}', N'012934071', 3, N'NO_PLAN', NULL, N'12934071', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 290', N'', N'', N'THAT PART DISTRICT LOT 290 SHOWN ON PLAN A35 (DD 9589F) KAMLOOPS DIVISION YALE DISTRICT SHOWN ON PLAN B12518', N'0163', N'0028', N'NO', N'ICF', 5, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:31:55.000' AS DateTime), 6795, 569, 0xBD0B000001040F000000A1D6342FD2C53541E8CCCC8C34AA2341C37D1D98D0C535412071AC8B29AA2341F83A708ED0C53541A8029A4829AA23416D567D8ECAC53541F8331176FDA923413EAD69FE4CC53541D0E00BD344AA2341664DF34E55C53541E8AACF557FAA23417D734694D2C53541509D80E637AA2341AA8251A9D2C53541788785DA37AA2341A1D6342FD2C53541E8CCCC8C34AA234121DBF9FE41C535411075025A8AAA2341D478E9A639C5354110CE19D14FAA234151E3A51BE0C43541183411B682AA2341666FF045E4C43541F0F0F40AA0AA2341E86A2B96E8C43541E0D1005EBDAA234121DBF9FE41C535411075025A8AAA2341020000000200000000020900000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1282116 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1283354, N'{05B50CF3-E53A-4093-8D1D-303158476144}', N'010935703', 472289, N'NEP698', NULL, N'10935703', NULL, N'4135158000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM PARCEL 19', N'REM Lot 892', N'', N'THE NORTH 1/2 OF THE SOUTH 1/2 OF LOT 19 DISTRICT LOT 892 KOOTENAY DISTRICT PLAN 698, EXCEPT PART INCLUDED IN PLAN 13761', N'0028', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:32.000' AS DateTime), 8054, 541, 0xBD0B0000010427000000CDAACFB5DCCC3941D0ADD85F84A51E41976E1203D7CC3941206EA30192A51E41D0F75343D1CC3941C0A223399FA51E41186A4D73CBCC39415027A009ACA51E417458A895C5CC3941D0B20C71B8A51E41541E16AABFCC394120B20C71C4A51E41FDBB05B2B9CC3941D0B7AF03D0A51E4147E8D9ACB3CC3941F00C4F2FDBA51E419175719BADCC394150B0E1E9E5A51E41BADA8A7DA7CC3941C010C73AF0A51E4144EA0454A1CC3941B0C0CA21FAA51E41E62406219BCC394110BDC19703A61E41946588E394CC3941E0506B9A0CA61E41DEC7989B8ECC3941F07B613215A61E416CE7FB4988CC3941D086A7571DA61E4130BB27EF81CC3941B04C840D25A61E41AC03E78C7BCC39414085EB512CA61E419465882375CC39413053052333A61E4196C420B06ECC3941706E128339A61E41AABDC13768CC3941A08CB96B3FA61E4108B5A6B961CC3941C06588E344A61E41F697DD335BCC3941C0F831E649A61E41C64B37A954CC3941C08F31774EA61E412063EE1A4ECC3941A04E409352A61E419AE61D8747CC39411034113656A61E41D75F76EF40CC394110F7756059A61E41144FAF543ACC3941F0088A1F5CA61E41BD86A7B733CC3941F089B0615EA61E412CA2B4172DCC3941507B832F60A61E41764F1E7626CC3941604BC88761A61E410C5F980C1DCC394100E5D0A262A61E4112A5BDE159CC3941601DC9E585A61E417C2F4C46EACC3941602AA993D9A61E41F431E68EF7CC394140A4DFBE4CA51E41D8A370DDF2CC3941B06F5F074AA51E41211FF46CEDCC394150C5FE3259A51E41C03099EAE7CC3941E0FEB2FB67A51E4112D04458E2CC394110D26F5F76A51E41CDAACFB5DCCC3941D0ADD85F84A51E4101000000020000000001000000FFFFFFFF0000000003, CAST(1283354 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1283448, N'{E1FE4723-1985-4305-B69E-F6BBCB25E595}', N'004188772', 857972, N'KAP29775', NULL, N'4188772', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 449 OSOYOOS DIVISION YALE DISTRICT PLAN 29775', N'0098', N'0016', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-06T13:28:48.000' AS DateTime), 2386, 211, 0xBD0B0000010407000000ABA44EC07C2A364168438B2CC5CB2041A067B3CA682A3641D0AACFD594CB20418816D92E4C2A3641A815FB0BC3CB204198DD9387312A364158F38ED3CFCB204126ED0D5E3D2A364170559FEB0ECC20415639B4A8472A364188E2C7981DCC2041ABA44EC07C2A364168438B2CC5CB204101000000020000000001000000FFFFFFFF0000000003, CAST(1283448 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1283825, N'{D81ADAFF-AE88-4CCF-AF85-2DDD77A4796F}', N'005294002', 294573, N'PGP30704', 90054406, N'5294002', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 6195 CARIBOO DISTRICT PLAN 30704, EXCEPT PLAN PGP37459', N'0163', N'0002', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2019-01-11T18:31:49.000' AS DateTime), 3183, 236, 0xBD0B0000010407000000866CE77B2DE33241D8218E75719A2B41EE384567F5E232411883C0CA6D9A2B41CFD5566CF4E23241B8ADD8DF989A2B41297E8CF9F1E2324160DFBE4E049B2B41986588C31FE3324148423E28DA9A2B4157CA32C423E3324130E25817C09A2B41866CE77B2DE33241D8218E75719A2B4101000000020000000001000000FFFFFFFF0000000003, CAST(1283825 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1283989, N'{2B9BDA96-222C-42AD-B189-EAEB2790321E}', N'012945374', 3, N'NO_PLAN', 3182191, N'12945374', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'A', N'59', N'', N'PARCEL A (SEE 228859F AND PLAN B7581) OF DISTRICT LOT 59 KAMLOOPS DIVISION YALE DISTRICT', N'0163', N'0028', N'NO', N'ICF', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2018-01-09T12:24:42.000' AS DateTime), 39415, 790, 0xBD0B0000010411000000826ABCD40E793541C07BF2B01D7725413ECD3BEE0D79354110D8F0B43577254163984C750379354160D409E84C7825417CF2B0104979354190E848AE8D7825410366F7A4C7793541F887F45BE2782541E10209CAD2793541506ABC74A27825411BAE4741DD7935417809F9608C782541749CA2C3E5793541E0073D1BAB772541CBE53F24C8793541988026828477254128A089F0B6793541C81804165B772541208E75516A793541F05296A12577254171787AE5647935418850FCD821772541C3D32B254A79354120E9B72F0F77254153B81E652F793541786FF085FC76254194ED7CDF10793541E8D9AC3AE776254155840DCF0F793541A051B89E03772541826ABCD40E793541C07BF2B01D77254101000000020000000001000000FFFFFFFF0000000003, CAST(1283989 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1284692, N'{340DB93A-E5D7-4672-82ED-9692210B6563}', N'015438201', 3, N'NO_PLAN', NULL, N'15438201', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 23', N'23,6', N'', N'FRACTIONAL LEGAL SUBDIVISION 8 SECTION 23 TOWNSHIP 23 RANGE 6 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT EXCEPT PARTS SHOWN GREEN AND RED ON RW PLAN 1878 AND EXCEPT PLANS R298 AND NEP67538', N'0163', N'0006', N'NO', N'MODIFIED-ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:23:34.000' AS DateTime), 128785, 2461, 0xBD0B00000104430000008E8785BA3708374158029AC8AE012541E0718A8E48083741C078E9E6B90125414C840D4F2A08374170BC74D3410125417ABE9F1A1F083741B0C64BF71B01254127287E4C0F083741A80A46A5E2002541A713D0A40608374118AAF1D2F3002541114FAF74ED073741F06722AC0201254156621098DB073741D03EC6DC20012541CBA14576CD073741086A4D732F012541C1D32BE5C2073741A815FB8B6801254186EB5178CC07374198E4F21F7B01254161105819F0073741B8B359757F012541C7BAB8EDFC073741580D4FEF870125418E8785BA3708374158029AC8AE012541518D972EA308374128992A58250125414B72F94FA208374188E926711501254159C1A84493083741904F1E1614012541FBEDEB008F083741B820B032AB00254162E5D0E28E08374160158C8AA800254117E25817740837411054E3E5A5002541D144D8506008374168A8354DA1002541E961A1F66E083741B025E403EA002541911804567008374120BB27CFF0002541A96054B29C083741607FD97DB2012541C1C117869F083741486B9AF7BF012541433EE8D9B80837416854526708022541CB4D62D0C8083741D85D4B08FA0125411904564EC3083741F8043451E401254169AA60B4C1083741C04160A5DE012541E9E2369ABB08374158E3A51BC80125415E764F1EB608374110F697DDB00125411071AC4BB1083741F8FFFFFF980125410B24281EAD083741587DAEF6800125418295438BA9083741B0F5285C68012541EE1FD28FA608374100C139A34F01254174C5FE52A4083741F8B27B7236012541518D972EA308374128992A582501254134E6AE05BD0737414865886365012541570E2D92C807374108EF38C526012541E8FBA931D8073741F865F7A416012541B9408282EA07374178FB3AB0F700254105CE19710308374138B6F3FDE8002541F7EDEB400C083741084FAF94D70025415327A089F707374170D712328900254170787A2551073741D88C282D6600254154A8356D41073741A8855A93A7012541A2F831262C073741583BDF8F58032541966E12A329073741204547328B0325414ABF7D5D4B0837419859F5B9C803254132211F54BC08374178E09C11DF0325411EEBE216C0083741D84A59C66B03254132894140AC083741A0643B5FD502254167006F41A808374180F90FE9CE02254174832FECA2083741B857CA72C60225412E211F1492083741F80DBEB091022541151DC9258C083741584547323F02254175E92611820837410886C9942B02254134EF38255D0837418891EDBCE3012541C29F1A2F5C083741D89AE6DDE101254184A7572A51083741A08EE472CC0125413E0AD7E329083741D0ED7C7FB2012541CD4D62F0EE073741D0DEE08B8B0125410A363C7DCE073741B0E2C7988701254194C42050D0073741109F3C2C8B0125410D83C0AAC5073741585BB1FFA0012541B0A44E60B2073741706B09397B01254134E6AE05BD0737414865886365012541030000000200000000020E000000022500000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(1284692 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1284896, N'{5270D9A0-4339-4C86-8D8A-C013354AFAEC}', N'014029901', 3, N'NO_PLAN', NULL, N'14029901', NULL, N'dcdp0012', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'N2NE4', N'25', N'17,12', N'PARCEL A (DD 146648F AND PLAN B6818) OF THE NORTH 1/2 OF THE NORTH EAST 1/4 SECTION 25 TOWNSHIP 17 RANGE 12 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLAN KAP85392', N'0163', N'0006', N'NO', N'ICF', 5, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:21:47.000' AS DateTime), 17354, 570, 0xBD0B00000104070000006D09F940F3423641E08D75B12F262341FE4A59A62543364178CAA145722623411371ACEB3A433641E010C7FA8F2623410DD04498A9433641184850BC4425234198779C2263433641D8C9C342E624234159643BFF3443364138BB274F622523416D09F940F3423641E08D75B12F26234101000000020000000001000000FFFFFFFF0000000003, CAST(1284896 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1285447, N'{2026A09B-4CF2-412B-AB2B-0B01905968CD}', N'012429503', 629004, N'PGP12116', NULL, N'12429503', NULL, N'005466.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 2', N'Block 22', N'', N'LOT 2 BLOCK 22 SECTION 32 TOWNSHIP 83 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT PLAN 12116', N'0038', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:29:50.000' AS DateTime), 684, 121, 0xBD0B000001040500000014E25897F32A3441482EFFA1B63C3341A033A214212B344140014D04BA3C3341D4F97E2A222B3441A031770DAB3C334158A835ADF42A3441440378ABA73C334114E25897F32A3441482EFFA1B63C334101000000020000000001000000FFFFFFFF0000000003, CAST(1285447 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1285480, N'{1BE6D515-3D95-4F30-BE6A-597330510F08}', N'012429562', 629004, N'PGP12116', NULL, N'12429562', NULL, N'005470.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 6', N'Block 22', N'', N'LOT 6 BLOCK 22 SECTION 32 TOWNSHIP 83 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT PLAN 12116', N'0038', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:29:40.000' AS DateTime), 684, 121, 0xBD0B00000104050000006D567DEEF72A34413CC286C77A3C3341B81E856B252B3441486744297E3C3341F6E46181262B34410CB37B326F3C334174931804F92A3441000534D16B3C33416D567DEEF72A34413CC286C77A3C334101000000020000000001000000FFFFFFFF0000000003, CAST(1285480 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1286089, N'{9A6F0813-8590-45C4-BDC5-EB8D67BA4ADF}', N'014479028', 489962, N'NEP5536', NULL, N'14479028', NULL, N'7078336050', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 4780 KOOTENAY DISTRICT PLAN 5536 EXCEPT PART INCLUDED IN PLAN NEP20371', N'0163', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:09.000' AS DateTime), 12473, 478, 0xBD0B000001040A000000127A366B9AE53841100F0B75759A2041423EE8F9A4E53841702F4C26789A20411C3FC67CE8E53841C8AD4761899A204142BD521627E6384168E1E955999A2041EA1DA78805E6384160984C55259A20416EE7FB29FBE538416870CE489F9920414F96212EA9E53841D86F5F878A9920412DBB276FA8E53841F8DBD74196992041FF4C84ADA1E53841F09F1A6F009A2041127A366B9AE53841100F0B75759A204101000000020000000001000000FFFFFFFF0000000003, CAST(1286089 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1286337, N'{38D9561E-34EC-4DBC-A026-25EE48F8A94F}', N'007722257', 246698, N'PRP1076', 35721481, N'7722257', NULL, N'03512.900', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 37', N'Block 2', N'', N'LOT 37 BLOCK 2 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:44.000' AS DateTime), 290, 91, 0xBD0B0000010405000000A8D634AFCB2D2C4124A167D339A13041BE9F1AAF8E2D2C4154F38E1323A130414A840D8F852D2C419C45B63329A13041DC6800AFC22D2C419C45B6F33FA13041A8D634AFCB2D2C4124A167D339A1304101000000020000000001000000FFFFFFFF0000000003, CAST(1286337 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1286344, N'{018BE80C-3C9F-4CEC-BD13-98AF8A192E84}', N'005090156', 246698, N'PRP1076', 35720731, N'5090156', NULL, N'03512.520', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 31', N'Block 2', N'', N'LOT 31 BLOCK 2 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 290, 91, 0xBD0B00000104050000007D16D9CEC42D2C41CC172653FEA0304132BB27CFBB2D2C4170BC747304A130410CF241CFF82D2C41286A4D331BA130415A4469EF012E2C41CC0E9C1315A130417D16D9CEC42D2C41CC172653FEA0304101000000020000000001000000FFFFFFFF0000000003, CAST(1286344 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1286644, N'{63810097-EB52-482C-A148-08361A59B910}', N'008446032', 656230, N'VIP810', NULL, N'8446032', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 20', N'Block 20', N'', N'LOT 20, BLOCK 20, SECTION 30, TOWNSHIP 6, RUPERT DISTRICT, PLAN 810', N'0107', N'0020', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-22T18:13:52.000' AS DateTime), 508, 97, 0xBD0B000001040500000028B9FCC7DD522B413808AC9C5C5123412331086CBF522B416058A8B55D512341277502DAC1522B41B8EEC983A05123417F58A835E0522B41709CA2639F51234128B9FCC7DD522B413808AC9C5C51234101000000020000000001000000FFFFFFFF0000000003, CAST(1286644 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1287003, N'{79C951B8-D173-4E7D-A980-B5D4376A979A}', N'000017591', 645957, N'VIP1279', NULL, N'17591', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 22', N'Block 3', N'', N'LOT 22, BLOCK 3, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:54.000' AS DateTime), 383, 96, 0xBD0B00000104050000004EB81E45B19D3041C047E17AE2BA1C41D6F97E8AB19D30411016FB4BBABA1C413E7958688B9D304100AFB662B6BA1C41B737F8228B9D3041B0BB9690DEBA1C414EB81E45B19D3041C047E17AE2BA1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1287003 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1287010, N'{6570DE4F-F274-46F9-96F8-6D2229318EBA}', N'000017701', 645957, N'VIP1279', NULL, N'17701', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 33', N'Block 3', N'', N'LOT 33, BLOCK 3, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:45.000' AS DateTime), 383, 96, 0xBD0B000001040D000000C20512B49B9D30415067446972BC1C410B6822AC9B9D304120D5096872BC1C41CAEEC9438F9D3041909BC42071BC1C41866CE73B8F9D3041F02D902071BC1C41A6E8486E889D3041101FF46C70BC1C41B38BDB28889D3041C0E3149D98BC1C4135AB3EF7909D30412026538599BC1C41E5482EFF909D3041C093878599BC1C417F1D38679D9D3041D0CCCCCC9ABC1C416944696F9D9D3041903A01CD9ABC1C414703784BAE9D304170B96B899CBC1C4107D7A390AE9D3041D0D0B35974BC1C41C20512B49B9D30415067446972BC1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1287010 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1287955, N'{A079E2BC-9ADF-45E5-9100-C3D601346153}', N'012519430', 495942, N'KAP62', NULL, N'12519430', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 16', N'Block 7', N'', N'LOT 16 BLOCK 7 DISTRICT LOT 818 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 62 EXCEPT PLANS H875 AND KAP52658', N'0163', N'0019', N'NO', N'ICF', 13, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:35:57.000' AS DateTime), 319, 79, 0xBD0B000001040B0000005A7DAE9619693741D01726535A741D41943A01CD1869374180779C2253741D41ED2FBBA713693741F00E0B3526741D41F2B050EB04693741D0B050EB1D741D41923A016DFD6837419003E70C1A741D4126F697DDFC683741001B2FDD2A741D414BAF94A5FC68374160A8C6CB31741D4120A7E8C8FB68374160014D844A741D41F76C565D03693741D079362B4E741D41E826318818693741B0D0B3D959741D415A7DAE9619693741D01726535A741D4101000000020000000001000000FFFFFFFF0000000003, CAST(1287955 AS Numeric(38, 0)), NULL) +GO +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1289393, N'{2D56EE19-840F-4049-8541-36205996B4B6}', N'003238300', 8481, N'VIP22313', NULL, N'3238300', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOTS 2 AND 7 CAMERON DISTRICT PLAN 22313, EXCEPT PLAN VIP70570', N'0163', N'0021', NULL, N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2019-01-05T08:35:55.000' AS DateTime), 4774, 285, 0xBD0B000001040B000000FA285C0F02F530418088D2DE3C2B1D411BB7D14003F53041B0C9C3C2CA2A1D41CDBCE3B4FEF4304120D6C56D5B2A1D41C160285DF0F4304170B02B2A6B2A1D41317E51F6E1F43041A0FD63037A2A1D41CCF63F81D3F4304190E486F8872A1D41678AD5FEC4F430414070BA08952A1D4140C9F46FB6F43041E0A63233A12A1D41270681D5A7F43041C08F3177AC2A1D41152FDD84ACF43041E02041717D2B1D41FA285C0F02F530418088D2DE3C2B1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1289393 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1291919, N'{2094CDF0-1A1D-43DD-BC70-336CE5B21E24}', N'011322420', 1303888, N'VAP4742', NULL, N'11322420', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-10T00:00:00.000' AS DateTime), N'Lot 10', N'Block 27', N'', N'LOT 10 BLOCK 27 DISTRICT LOT 599 PLAN 4742', N'0092', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T10:50:27.000' AS DateTime), 503, 95, 0xBD0B0000010407000000497B838FDF7A3241B02F4CA638871D41B5FA5C8DDF7A32416020B07239871D418248BF3DDE7A324190C4B12EB5871D41DFC7983BDE7A324110234AFBB5871D4170CE8852EE7A3241900C022BB9871D41666FF085EF7A324160F163CC3B871D41497B838FDF7A3241B02F4CA638871D4101000000020000000001000000FFFFFFFF0000000003, CAST(1291919 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1292161, N'{3B903F37-E52F-473D-A1F4-45C409E7B4C0}', N'014116995', 1308622, N'NWP1531', NULL, N'14116995', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-24T00:00:00.000' AS DateTime), N'REM Lot 14', N'Block 4', N'', N'LOT 14, EXCEPT: PART ON SRW PLAN 8027 BLOCK 4 DISTRICT LOT 16 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 1531', N'0025', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:20:37.000' AS DateTime), 196, 60, 0xBD0B0000010406000000DCA59BA412BD324190FB3AF0B6ED1C4195B20CB11CBD324170DD2406B9ED1C416A9A77BC1DBD3241A01DC9E569ED1C418E3177CD1DBD3241C0ACFADC64ED1C41EF7C3F9513BD3241F0EDEBC06FED1C41DCA59BA412BD324190FB3AF0B6ED1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1292161 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1295787, N'{4B00E128-EA94-4596-AE01-447D3C03D8D2}', N'012480185', 495453, N'KAP364', NULL, N'12480185', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'Block 67', NULL, N'LOT 1 BLOCK 67 DISTRICT LOT 710 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 364 EXCEPT PLAN H875', N'0046', N'0019', N'NO', N'ICF', 3, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-08-26T15:11:18.000' AS DateTime), 322, 73, 0xBD0B000001040500000062DC4683A769374180DD9307926C1D410419739791693741902C431C876C1D414850FC988F693741A0460378C36C1D41E8D9ACBAA3693741F068006FCD6C1D4162DC4683A769374180DD9307926C1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1295787 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1299410, N'{AF4978F1-92BF-4C1B-8EF4-410092FC9E94}', N'016649532', 3, N'NO_PLAN', NULL, N'16649532', NULL, N'07000.010', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 4844', N'', N'', N'DISTRICT LOT 4844 KOOTENAY DISTRICT EXCEPT (1)THAT PART INCLUDED IN PLAN 1707 (2)PARCEL A (REFERENCE PLAN 88674I) (3)THAT PART LYING EAST AND SOUTH OF RW PLAN 524-T-1 (4) NEP62953', N'0060', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-04-29T09:58:21.000' AS DateTime), 45032, 1340, 0xBD0B0000010436000000742D215F52473A412061C393D74F214144A502B154473A41B822BA75EC4F21413610D81456473A41285C9CAB01502141EE8DDB8756473A41109C190B1750214194AB270956473A4118718E692C502141A82DB99954473A417879599C41502141E0176D3C52473A41286E30795650214180F6FAF54E473A41588274D66A502141AC75EBCC4A473A41B069858B7E50214140588BC945473A41406612719150214114E9DAF53F473A4150B66861A35021412D077A5D39473A4140CABE38B450214146F5900D32473A4118A77BD5C3502141DA19B6142A473A41F8F07918D250214162E5D08221473A41A00A46E5DE502141A6C64B57E3463A4158E5D06233512141CF22DBB9F3463A41A89BC4E04E512141D468004FF9463A419848BF3D58512141DD93874502473A4108F0164867512141A6C64BB706473A4168A301BC6E512141A8DFBE8E1A473A41B80512149051214176E09C3130473A4190559F2B8D51214148BF7D1D47473A4140136103645121417E9CA2035E473A412860E5D03A51214146696FF06D473A415805A31206512141004625B57C473A41108273861E51214134431C4BA7473A41A8073D9BB7502141267E8C79A0473A41087F6AFC75502141721B0D609D473A41C854C128585021415617B731C1473A41F8285C4F495021410F7A364BC4473A412053052367502141E695B22CC5473A4178E3A59B6F5021410F71ACABD4473A4150CA32448950214142575B11E8473A41E875E05CA9502141FB7E6ADCDD473A4180635DDCD35021415E4BC8A7D3473A41B075715BFE502141F775E0DCC9473A41788104051751214164FE431AC0473A41C034EF782E512141B4726831EB473A416058A87574512141DAF0F4CA01483A41405EBA4943502141F905686304483A41B82911F20E50214118FBBF7A04483A41C088C058DA4F21412F7CC61002483A4110C032F8A54F2141BAC4192BFD473A4158FA4D4A724F2141928C1FD5F5473A41189558C73F4F21416C81EA1FEC473A410834E1E40E4F21419E8A1222E0473A41982CAD14E04E21416C3480F7D1473A41F8B7AFC3B34E21411C04566EA4473A4168C0CA211C4F2141DE46037867473A41F03C9B55A64F2141AE7BF23064473A41E0D32BE5AD4F2141FA4C84CD5D473A41506519A2BC4F2141F285C9345C473A416829CB50C04F2141742D215F52473A412061C393D74F214101000000020000000001000000FFFFFFFF0000000003, CAST(1299410 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1299420, N'{9AB81A06-960D-4472-A871-1BFFD1DD5C14}', N'012759473', 868179, N'KAP55', NULL, N'12759473', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 15', N'Block 19', NULL, N'LOT 15 BLOCK 19 DISTRICT LOT 706 YALE (FORMERLY OSOYOOS) DIVISION YALEDISTRICT PLAN 55 EXCEPT PLAN H831', N'0114', N'0022', N'NO', N'ICIS CADASTRE', 1, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-04-29T15:17:59.000' AS DateTime), 263, 76, 0xBD0B00000104050000007C7AA54CCE553541C0F97EEACC141F4135DF4F2DDB553541D033A23499141F4115AE4761DB553541B06B097955141F410F61C313C7553541A0999999AF141F417C7AA54CCE553541C0F97EEACC141F4101000000020000000001000000FFFFFFFF0000000003, CAST(1299420 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1299453, N'{BA1BA151-A44E-4E58-94D7-C6CB11A4DF5D}', N'016267214', 495483, N'NEP579', 90054746, N'16267214', NULL, N'30076', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'Block 50', NULL, N'LOT 1 BLOCK 50 DISTRICT LOT 535 KOOTENAY DISTRICT PLAN 579', N'0121', N'0019', N'NO', N'ICF', 2, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-04-30T14:57:51.000' AS DateTime), 274, 79, 0xBD0B0000010405000000ECD9AC3AE064384160ADD8DF45A71D41764F1E36E96438417047727947A71D41F29E3C8CEA64384110BC0512CEA61D410A363C7DE164384160B7D180CCA61D41ECD9AC3AE064384160ADD8DF45A71D4101000000020000000001000000FFFFFFFF0000000003, CAST(1299453 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1299541, N'{7D93CA7F-2966-4B9C-8798-F36A0F6F88C5}', N'015744914', 495897, N'NEP1684', NULL, N'15744914', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'2000-03-29T00:00:00.000' AS DateTime), N'Lot 10', N'Block 11', NULL, N'LOT 10 BLOCK 11 DISTRICT LOT 4598 KOOTENAY DISTRICT PLAN 1684', N'0146', N'0019', N'NO', N'PMBC-OPERATIONS', NULL, NULL, N'COGO', N'0', N'511.9', CAST(N'2021-05-14T14:58:11.000' AS DateTime), CAST(N'2021-05-17T16:12:18.000' AS DateTime), 515, 96, 0xBD0B00000104050000009E89B0A12F833841C0B1BFEC46DE1D41C00E9C932F833841E08F317700DE1D41B54082621283384160FE43FA24DE1D4129A08970128338411020D26F6BDE1D419E89B0A12F833841C0B1BFEC46DE1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1299541 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1299542, N'{C1E02060-FD68-4B4C-BE90-04AC48F8928F}', N'015665453', 495897, N'NEP1684', NULL, N'15665453', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'2000-03-29T00:00:00.000' AS DateTime), N'Lot 2', N'Block 11', NULL, N'LOT 2 BLOCK 11 DISTRICT LOT 4598 KOOTENAY DISTRICT PLAN 1684', N'0146', N'0019', N'NO', N'PMBC-OPERATIONS', NULL, NULL, N'COGO', N'0', N'526.5', CAST(N'2021-05-14T14:50:22.000' AS DateTime), CAST(N'2021-05-17T16:12:18.000' AS DateTime), 532, 103, 0xBD0B0000010405000000FA97DD9334833841A03A70CE93DE1D41DE7A146E5A833841608FC27564DE1D4102DE02A953833841601895542FDE1D417AC7297A34833841103D9B5556DE1D41FA97DD9334833841A03A70CE93DE1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1299542 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1299812, N'{1559ECFC-8BD1-4463-86A6-C9D72B820A28}', N'016813367', 472289, N'NEP698', NULL, N'16813367', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Parcel 29', N'Lot 891', N'', N'THAT PORTION OF THE EAST HALF OF LOT 29 DISTRICT LOT 891 KOOTENAY DISTRICT PLAN 698 SHOWN WITHIN THE RED COLOUR BAND ON PLAN R 111', N'0028', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-05-30T20:19:18.000' AS DateTime), 3178, 349, 0xBD0B00000104060000004CE17A14B6D539419082514912821E417E8CB9ABB6D53941F0550E2D00821E41920F7A3669D5394160FC18F39A811E41605DDCC628D53941C0E76AAB21811E4112C7BA1823D53941609B551FCD811E414CE17A14B6D539419082514912821E4101000000020000000001000000FFFFFFFF0000000003, CAST(1299812 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1300283, N'{EC4ABB54-44E3-4767-AAC7-790C6A1A9847}', N'013602055', 1485783, N'VAP2588', NULL, N'13602055', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-14T00:00:00.000' AS DateTime), N'Lot 32', N'Block 6', NULL, N'LOT 32 BLOCK 6 SOUTH EAST 1/4 OF SECTION 26 TOWN OF HASTINGS SUBURBAN LANDS PLAN 2588', N'0150', N'0010', N'NO', N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'342', CAST(N'2021-01-12T15:53:23.000' AS DateTime), CAST(N'2021-05-31T16:33:05.000' AS DateTime), 342, 88, 0xBD0B000001040500000012363CBDCC8E324140280F8B14261D4156A835CDD68E32418012834016261D415F7FD93DD88E324160E4F29F8E251D411B0DE02DCE8E3241E0F97EEA8C251D4112363CBDCC8E324140280F8B14261D4101000000020000000001000000FFFFFFFF0000000003, CAST(1300283 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1300622, N'{1537CEFA-F164-4D9E-9109-1C9667841835}', N'007622490', 647337, N'VIP1297', NULL, N'7622490', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 21', N'', N'', N'LOT 21, LOOP FARMS, ALBERNI DISTRICT, PLAN 1297 EXCEPT THAT PART IN PLAN VIP65074', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2021-06-21T12:37:41.000' AS DateTime), 63468, 1487, 0xBD0B000001041300000091180416C68B3041C07F48BF0E231D41A3ABAD18C68B3041C0C56DB40E231D41AD0C714C378C304170FD65F74B211D4112D04458078C304110F831E650211D4114E9B7CF8E8B3041308941605D211D41CA54C1A8A78B3041F0D7F074A3221D41168C4A6AAB8B3041804082E2BD221D41BDA8A4AEBA8B3041701E166AF5221D4191180416C68B3041C07F48BF0E231D4130772D619A8B3041009E5EA909231D418B6CE77B958B304120E9B72FC9221D4170B515FB888B304130F3FDD47C221D4189FD6517768B304140508D1760211D4136DF4F0DC98A304110FB3AF071211D4162E5D0E2C28A30419013D04429251D4187855AB3BE8A3041C042AD6926271D413A92CB1FB58B3041907CD03352231D4129A08930AD8B30413020417133231D4130772D619A8B3041009E5EA909231D41020000000200000000020900000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1300622 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1302364, N'{EB1CD9CC-26E2-40C7-BD1F-B4A28DBBB8F6}', N'009311386', 630417, N'PGP21696', NULL, N'9311386', NULL, N'333-004715.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 1', NULL, NULL, N'LOT 1 SECTION 13 TOWNSHIP 81 RANGE 26 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT PLAN 21696', N'0052', N'0015', N'NO', N'ICF', 1, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2021-10-22T09:51:54.000' AS DateTime), 6261, 350, 0xBD0B0000010405000000CABAB88D851F3341A8ADD81F1FCE3241D019515A531F3341D019513A1CCE32418EC2F5484C1F3341E0E76A8B98CE3241F87E6A7C7E1F334134A089709BCE3241CABAB88D851F3341A8ADD81F1FCE324101000000020000000001000000FFFFFFFF0000000003, CAST(1302364 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1302501, N'{7E746B4E-51CB-4503-8167-61F59E04184D}', N'015494420', 3191411, N'NEP681', NULL, N'15494420', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'Block 2', NULL, N'LOT 1 BLOCK 2 DISTRICT LOT 756 KOOTENAY DISTRICT PLAN 681', N'0163', N'0018', N'NO', N'PMBC-COMPILATION', 1, N'LSA', N'COGO', N'0', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-10-28T15:54:17.000' AS DateTime), 278, 79, 0xBD0B0000010405000000556210984A843A41604DF38E4E192041E451B81E33843A4130EBE2B62719204176029A482D843A41804AEAC4351920414C2EFFC144843A4148D1919C5C192041556210984A843A41604DF38E4E19204101000000020000000001000000FFFFFFFF0000000003, CAST(1302501 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1302503, N'{C4B14D86-A08F-4EE7-9170-91127D55336E}', N'016201973', 3191432, N'NEP647', NULL, N'16201973', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', CAST(N'1990-07-23T00:00:00.000' AS DateTime), N'Lot 8', N'Block 10', NULL, N'LOT 8 BLOCK 10 DISTRICT LOT 2375 KOOTENAY DISTRICT PLAN 647', N'0163', N'0018', N'NO', N'PMBC-OPERATIONS', 1, N'LSA', N'COGO', N'0', NULL, CAST(N'2021-05-17T09:47:03.000' AS DateTime), CAST(N'2021-10-28T14:15:24.000' AS DateTime), 326, 89, 0xBD0B0000010406000000FFBB05324C843A4120ED0DFEE71D204188C9540128843A41A075711BDD1D2041A64E403327843A41284D84CDE71D2041D6A370BD2A843A41F0065F58F01D2041507424D74A843A41A84AEA04FA1D2041FFBB05324C843A4120ED0DFEE71D204101000000020000000001000000FFFFFFFF0000000003, CAST(1302503 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1302639, N'{12667BE3-7FAB-4AAB-9CB1-3BD5C9E32D95}', N'001660128', 3, N'NO_PLAN', NULL, N'1660128', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 13', NULL, NULL, N'THAT PART OF SECTION 13, ESQUIMALT DISTRICT SHOWN OUTLINED IN RED ON PLAN DEPOSITED UNDER DD 14327F AND CONTAINING 2.86 ACRES MORE OR LESS, EXCEPT THAT PART THEREOF SHOWN OUTLINED IN RED ON PLAN 1235R', N'0154', N'0005', N'NO', N'ICIS CADASTRE', 1, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:46:55.000' AS DateTime), CAST(N'2021-11-05T12:18:19.000' AS DateTime), 10057, 805, 0xBD0B000001041A000000A72C435CE62032410040A45F8C8D1741059A081BBF2032418063CCDD4F8D1741290F0BD5AB203241800F7AB6E98D1741BCC8767EF0203241F0A0D6B4258E17413F8B6CE745213241D03C9B55708E17418A5AD31C6521324100BC0512C48E1741FF87F4DBF3213241206D56FD9F8F1741B7D1007EF621324150DCD701978F1741A52C439CF82132415082E2C78F8F1741AFBFEC9E04223241B0A8A4CE668F17413680B7400C22324120EF38C54C8F17415CEE5A6213223241A0B20C71348F1741F83A700E0E22324190FB3AF0108F1741DD9387450B223241F068916D1A8F1741D6CEF77300223241003A924B3F8F1741ACD85FD6CD21324150C9E53FF08E17412AF6973DB221324190187357C68E1741146A4DB3A221324120ED0DBEAE8E1741819ECD2A7D21324180795828758E1741E98C28CD5821324190EFA7C63C8E1741B494656845213241C089B0E11E8E17415205A37233213241D057CA32038E17416991ED7C21213241F0B7AF83E78D17417F1D38870F2132411086C9D4CB8D1741D568002FF7203241103B704EA68D1741A72C435CE62032410040A45F8C8D174101000000020000000001000000FFFFFFFF0000000003, CAST(1302639 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1302648, N'{B2D87C76-6FCB-4205-A32F-A3BAFBF348F2}', N'023970146', 870721, N'KAP60410', NULL, N'23970146', NULL, N'P51013', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'1997-12-08T00:00:00.000' AS DateTime), N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOTS 264 AND 265 KAMLOOPS DIVISION YALE DISTRICT PLAN KAP60410', N'0055', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-11-05T16:40:24.000' AS DateTime), 13289, 904, 0xBD0B000001042400000026CB106785A63541E84A5986B2A823412EE6AE4574A635410032E6EEB8A823417F1D380769A6354188A3013CB8A82341297502BA62A63541D83D79D8B7A82341EE38456730A6354110917EBBB4A823416D2C307D2BA63541A864D493B0A82341AC93CFB626A635418803F6D0ABA823415060EB1822A63541C8DBA777A6A8234158FA22A81DA6354110FD448DA0A82341139FE86819A63541F0BAB9179AA8234194ED7C5F15A6354150BF7D1D93A82341B4D85FB6EBA53541304BC8C79DA8234130E6AEC5C5A53541F0DA8A7DA7A82341823F35DEEFA53541B8490CC2CDA823413CAB3ED703A63541B07D1DF8CEA82341907571DBB9A63541101214FFD9A823419BB20CD173A7354140136143E5A82341839966B372A735415054BAF1D8A82341B110190E71A7354188547EDDCCA823413C9350E46EA735415070F81DC1A823411119393A6CA73541C8A6D0C9B5A823417C0BF61469A7354118E8DFF6AAA82341325C987A65A7354150F305BAA0A8234198D2127261A73541C815012797A8234174A52C035DA73541101748508EA823418467BD2D51A73541C83A04CE83A8234133E330ED44A73541A02E446E7BA82341D5B91E5A38A73541A0D9D64175A82341E02FC48D2BA73541D870205571A82341CE83D1A11EA73541A89801B06FA82341845E36B011A735414895C75570A823413FC4EDD204A73541D0A9254573A82341C4EEC923F8A63541B8B4377878A823411BFBCB6EBCA63541A8E848AE96A82341E8C03983A3A63541B039234AA3A8234126CB106785A63541E84A5986B2A8234101000000020000000001000000FFFFFFFF0000000003, CAST(1302648 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1302650, N'{750F3628-00EC-4D4F-B1A7-D24A5C3374FA}', N'011981075', 296456, N'PRP3218', NULL, N'11981075', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 4', N'Block 2', N'', N'LOT 4 BLOCK 2 DISTRICT LOT 372 RANGE 5 COAST DISTRICT PLAN 3218 EXCEPT PLANS 5250 AND 12303', N'0163', N'0011', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-11-08T08:49:46.000' AS DateTime), 3345, 281, 0xBD0B0000010409000000C9073D9B7D882941881F63AEDF313041265EBAC98188294184B20C91CF31304102CE19D1758829418C7EFBBABB313041E4E46161478829419828EDAD8F3130412D355E3A1D88294138E4837E6A313041955CFE830D882941E0B584BC823130417914AE07F687294168226CF8A6313041E0A59B44608829414C39B468D3313041C9073D9B7D882941881F63AEDF31304101000000020000000001000000FFFFFFFF0000000003, CAST(1302650 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1303834, N'{1E8A876B-AAF1-41F0-9985-A63CCC501B4F}', N'009658394', 848719, N'KAP9704', NULL, N'9658394', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', NULL, N'REM Lot 32', NULL, NULL, N'LOT 32 DISTRICT LOT 220 OSOYOOS DIVISION YALE DISTRICT PLAN 9704 EXCEPT PLAN H783', N'0098', N'0016', N'NO', N'ICIS CADASTRE', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2022-01-26T11:18:27.000' AS DateTime), 597, 120, 0xBD0B000001040F0000001AFBCBAE172636416803780B44C62041411CEBC213263641B859F5F9A0C62041E8775BEB1526364168DCD58AA0C620413D8892131826364148345917A0C6204178188E3B1A26364118D77F9F9FC62041F6F34B631C26364138404A239FC6204186E6C98A1E263641B8EDB8A29EC6204104BC05B220263641F063CC1D9EC62041F03845A72426364150CA32C440C62041C2ADA37E22263641C04B285C41C62041EC88AE552026364158AE49EF41C62041947D682C1E263641B03A967D42C62041763FD4021C263641603E0D0743C620417D82F4D819263641F00DAE8B43C620411AFBCBAE172636416803780B44C6204101000000020000000001000000FFFFFFFF0000000003, CAST(1303834 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1305406, N'{6C8B4F1E-CB73-41C4-AD4C-B951E3816879}', N'017915988', 247917, N'PGP36554', 90054750, N'17915988', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Parcel 1', N'', N'', N'PARCEL 1 DISTRICT LOT 6006 AND 3150 CARIBOO DISTRICT PLAN PGP36554', N'0163', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:17:48.000' AS DateTime), 62424, 1291, 0xBD0B000001040D000000CB4B370922F235411090A0F8B1A92B41BEE314BD29F23541F0E76AEB00A92B41F6285CCF2CF235415003784BBAA82B4196D4090830F23541086F818473A82B41DD7A140E97F1354158C1A82410A92B41DC141D6926F13541E059F57983A92B4188A7574A5EF13541182428BE8DA92B41E17A14EE90F1354150BF7D1D97A92B4134992AB88FF13541100456CEB1A92B41A267B38A76F1354110E561A1DCAB2B415A17B79107F23541A02F4CA6F0AB2B4146B6F31D21F23541C0B12EEEC5A92B41CB4B370922F235411090A0F8B1A92B4101000000020000000001000000FFFFFFFF0000000003, CAST(1305406 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1305478, N'{9B06F8DE-6D7E-490E-B59A-A0B5832A1F1B}', N'007109211', 19739, N'VIP1658', NULL, N'7109211', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', NULL, NULL, N'THAT PART OF LOT 5, SECTION 12, RANGE 6, QUAMICHAN DISTRICT, PLAN 1658, CONTAINING .002 OF AN ACRE MORE OR LESS, AS SHOWN ON PLAN 1027 OS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 15, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T17:31:12.000' AS DateTime), CAST(N'2019-01-30T16:26:27.000' AS DateTime), 32, 39, 0xBD0B00000104040000004FAF94E53FD43141403333331D9019415EFE43BA3FD43141606B9AF72B90194152A60A6651D4314120158CCA219019414FAF94E53FD43141403333331D90194101000000020000000001000000FFFFFFFF0000000003, CAST(1305478 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1306796, N'{AED11EDA-9616-417D-95CF-FD27D0070FDC}', N'001567390', 117903, N'VIP877', NULL, N'1567390', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'Block 12', N'', N'THAT PART OF LOT 5, BLOCK 12, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:16:11.000' AS DateTime), CAST(N'2019-01-05T10:55:19.000' AS DateTime), 307, 71, 0xBD0B0000010405000000CE2B65B96C363241C0218EF5688F174169B3EA537B36324160567D2E578F1741F3B0506B75363241D0AF03670A8F17416329CBD066363241607A142E1C8F1741CE2B65B96C363241C0218EF5688F174101000000020000000001000000FFFFFFFF0000000003, CAST(1306796 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1307103, N'{E53D2691-AFBE-4412-9BED-B62D03A30F06}', N'005727022', 127092, N'VIP7392', NULL, N'5727022', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 4', N'', N'', N'THAT PART OF LOT 4, SECTION 8-A, LAKE DISTRICT, PLAN 7392 LYING EAST OF THE EASTERLY BOUNDARY OF PLAN 770 RW, EXCEPT PART IN PLAN 2395RW', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:41:29.000' AS DateTime), CAST(N'2019-01-05T10:56:33.000' AS DateTime), 291, 92, 0xBD0B000001040B0000000BAC1C7A37363241405839346CCD1741183FC63C3736324150C807BD72CD1741D712F2013736324130CB104779CD1741E00B93C936363241C06054D27FCD1741FA31E60E383632417026538582CD17419BE61DC743363241605BB13F2ACD174136EF38C5493632417051491DFDCC17416ADE71EA3D36324160984C15E4CC1741BE86A7773B3632415010583911CD1741590E2D5239363241E0BE0E9C3ECD17410BAC1C7A37363241405839346CCD174101000000020000000001000000FFFFFFFF0000000003, CAST(1307103 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1310358, N'{28A3AB04-5883-4D60-8615-2ECA4A0377A7}', N'009846590', 3, N'NO_PLAN', NULL, N'9846590', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 5', N'6', N'', N'THAT PART OF SECTION 5, RANGE 6, SAHTLAM DISTRICT, SHOWN OUTLINED IN RED ON PLAN 1664R', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 42, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T20:42:31.000' AS DateTime), CAST(N'2019-01-07T18:33:10.000' AS DateTime), 293, 106, 0xBD0B00000104050000004F74249789B13141402EFFA19A8219418E87853A9DB13141807493989D82194149D8F014BAB13141F095B20C788219411A9E5EC9B6B13141406DC5FE5A8219414F74249789B13141402EFFA19A82194101000000020000000001000000FFFFFFFF0000000003, CAST(1310358 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1310614, N'{05357DC0-5A88-48F5-8342-DDC44B392564}', N'016652835', 3, N'NO_PLAN', NULL, N'16652835', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 3', N'23,4', N'', N'FRACTIONAL LEGAL SUBDIVISION 14 SECTION 3 TOWNSHIP 23 RANGE 4 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT EXCEPT PART INCLUDED IN PLAN 12372 AND R271', N'0163', N'0006', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:23:39.000' AS DateTime), 52275, 1116, 0xBD0B00000104240000000A83C0AA824B3741889621CEACEE2441FA75E01C584B3741C8FC8774D3F1244176F2B0B0034C374160204171F6F1244158863816074C374170F085C9D4F12441F6285C8F084C37412041F1A3C6F12441E2718A4E0A4C3741E89C1125B4F124415A2041B10B4C3741F03A708EA1F1244196081BBE0C4C3741C88F31778EF12441B6F3FDB40D4C374118AC1C5A72F124412A287EEC0D4C3741303A928B5FF1244180D93DD90D4C3741A88026C24CF12441EAE2365AF74B3741981804164CF12441866CE7DBF74B374168D712722EF124416029CBF0F74B3741A8B88DC61FF12441B20C71ACF74B374120D9CEF701F12441221FF4ECF64B374128A91390E4F02441C59F1AAFF54B3741386B9AB7C6F0244156C1A8E4F34B3741E0DEE04BA9F024411AFBCB8EF14B37417029CB508CF02441F37C3F35F04B374100098A9F7DF02441AE79C729ED4B3741B04603B860F0244127287EACE94B3741708A8EE443F02441EEB0506BDF4B374108C139E3FAEF2441CB293A92D54B3741987571DBB1EF2441E851B8FEDF4B3741F8D0229BA9EF244122C9E55FDD4B37414090A0B88EEF2441B20C716CDB4B374170F085C973EF244148598618DA4B3741C0F21FD258EF24415105A3B2D94B3741B0CDAA4F46EF2441167C6192D94B3741687FD93D34EF24410B3D9BF5D94B3741B0FEB2FB18EF24411CA7E808DB4B3741D8E1E9D5FDEE244148BF7DDDDC4B3741B87493D8E2EE2441B7627F79DE4B374180E2C718D1EE2441918785DADF4B3741506FF0C5C3EE24410A83C0AA824B3741889621CEACEE244101000000020000000001000000FFFFFFFF0000000003, CAST(1310614 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1313961, N'{CBD1024C-7492-47C2-A7EA-65B50413D36A}', N'007496133', 140656, N'VIP1375', NULL, N'7496133', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'Block 2', N'', N'THAT PART OF LOT 4, BLOCK 2, SECTION 33, VICTORIA DISTRICT, PLAN 1375 BEING THE RIGHT OF WAY OF CANADIAN NORTHERN PACIFIC RAILWAY COMPANY SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:28:30.000' AS DateTime), CAST(N'2021-01-15T14:03:47.000' AS DateTime), 93, 72, 0xBD0B0000010408000000725F07AEF5393241201CEBE2A0911741B5F3FD34E6393241500C02AB3F9117415DC3D3CBE33932413004568E309117411895D469E139324150BF7D9D369117416229CB70E1393241D0141DC936911741FF187357F339324180A52CC3A6911741C33923AAF339324100FCA9F1A5911741725F07AEF5393241201CEBE2A091174101000000020000000001000000FFFFFFFF0000000003, CAST(1313961 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1314830, N'{984E4F91-30E4-4F0A-9408-4A04BEC1F7A3}', N'012909581', 296598, N'PRP1251', 1050581, N'12909581', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 29', N'Block 6', N'', N'LOT 29 BLOCK 6 DISTRICT LOT 4044 CASSIAR DISTRICT PLAN 1251', N'0137', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:19:14.000' AS DateTime), 289, 79, 0xBD0B000001040B000000A6A2233946E12641D82406A1BE9E324175D4784547E126411CB8F3FCBF9E3241F9D1063748E126417859C05DC19E32413A55730D49E126410830E8C2C29E3241EB3B6EC849E12641DCC1E52BC49E32413EA5B1674AE1264190263298C59E3241480C02EB4AE12641EC384507C79E324101E02D507DE12641C08D06F0B59E3241FCA9F11272E126410461C393AD9E324114F9A02744E12641A0EFA726BD9E3241A6A2233946E12641D82406A1BE9E324101000000020000000001000000FFFFFFFF0000000003, CAST(1314830 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1314865, N'{30490AB7-B529-43B5-8030-C9BB01914A55}', N'014009722', 295389, N'PRP968', 914221, N'14009722', NULL, N'01190.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 22', N'Block 97', N'Section 2', N'LOT 22 BLOCK 97 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:37.000' AS DateTime), 370, 83, 0xBD0B000001040500000089E4F21F87702B41D866D567D86431418BF6069F6B702B41E46A2B96D964314125A7E8C86B702B4170A3011CEA643141FACD1991A6702B41D85F768FE964314189E4F21F87702B41D866D567D864314101000000020000000001000000FFFFFFFF0000000003, CAST(1314865 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1320198, N'{0E616705-3B43-4A30-AACD-01736C0DBD2A}', N'013218506', 3, N'NO_PLAN', NULL, N'13218506', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'3888', N'', N'', N'DISTRICT LOT 3888 KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLAN H8059', N'0163', N'0028', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:49.000' AS DateTime), 768764, 3568, 0xBD0B00000104140000004B03782BDB22364100E4835E8B38274124F46C16DB223641480C022B8D382741FB97DDD3BD22364110C9E57F1A3B2741221FF46CBB223641889ECD6A413B27414CB6F33DB6223641F051B81EB33B274108F9A067B4223641788CB9EBDA3B27413A11365CA522364118C05BE0233D2741CA20B05297223641982BF697543E2741C23923EA7922364120D9CEF7D24027419A900FBA50243641B07D1DB829412741A167B3EA9925364188C0CA61664127417C6ABC14BF2536411086C9D4403E274182B74042C5253641303BDF0FC23D274176931844C725364180C7293A9C3D2741808CB9CBD125364180C7297AC83C2741B359F5B9D3253641E01DA7A8A13C274149D8F0F4E6253641D0C342ED1E3B274176E09CF1EC2536412882E287A63A274177711B2D55233641E0B88D460A3927414B03782BDB22364100E4835E8B38274101000000020000000001000000FFFFFFFF0000000003, CAST(1320198 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1322948, N'{6D152A21-0B73-41A8-AFF8-69C395E26BEE}', N'016652738', 3, N'NO_PLAN', 9384371, N'16652738', NULL, N'parc91', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 10', N'24,2', N'', N'THE SOUTH HALF OF LEGAL SUBDIVISION 13 SECTION 10 TOWNSHIP 24 RANGE 2 WEST OF THE 6TH MERIDIAN KOOTENAY DISTRICT, EXCEPT PART INCLUDED IN PLAN 15120 AND PLAN NEP639RW', N'0119', N'0006', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-09-27T16:14:23.000' AS DateTime), 56947, 972, 0xBD0B0000010408000000472575821E92374170325530DB582541CCB12E0E3D923741B88F31F7E1582541A1F8310626923741201283C044572541C1EC9EBC259137419016D98E0B5725415427A0690F913741D8F1410F9F582541669A77FC5691374120C4B1EEAE582541488B6C6764913741F07858E8B1582541472575821E92374170325530DB58254101000000020000000001000000FFFFFFFF0000000003, CAST(1322948 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1325421, N'{5E14DB83-52E0-427C-B95A-D5FF24EB3D18}', N'015508587', 495897, N'NEP1684', NULL, N'15508587', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'2000-04-06T00:00:00.000' AS DateTime), N'Lot 2', N'Block 10', NULL, N'LOT 2 BLOCK 10 DISTRICT LOT 4598 KOOTENAY DISTRICT PLAN 1684 EXCEPT PART INCLUDED IN PLAN 6293', N'0146', N'0019', N'YES', N'PMBC-OPERATIONS', NULL, NULL, N'COGO', N'0', N'304.8', CAST(N'2021-05-14T10:31:49.000' AS DateTime), CAST(N'2021-05-17T16:12:18.000' AS DateTime), 407, 81, 0xBD0B0000010405000000E5F21F52D982384150696F70CCDE1D4109C58FD1EA823841001C7CE1B6DE1D4124E4833EE4823841206F810462DE1D41762D21BFD282384150BC749377DE1D41E5F21F52D982384150696F70CCDE1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1325421 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1325560, N'{5DF0910A-7229-464F-AC59-150523B9E9F1}', N'001636855', 3, N'NO_PLAN', NULL, N'1636855', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 4', N'', N'', N'THAT PART OF SECTION 4, METCHOSIN DISTRICT BOUNDED AS FOLLOWS: ON THE NORTH WEST BY LOT 14, PLAN 1213, ON THE NORTH EAST BY A STRAIGHT LINE JOINING THE MOST EASTERLY CORNER OF SAID LOT 14 AND THE MOST NORTHERLY CORNER OF LOT 13 OF SAID PLAN, ON THE SOUTH EAST BY SAIDLOT 13 AND ON THE SOUTH WEST BY A STRAIGHT LINE JOINING THE MOST SOUTHERLY CORNER OF SAID LOT 14 AND THE MOST WESTERLY CORNER OF SAID LOT 13 AND CONTAINING 1.90 ACRES MORE OR LESS AS SHOWN ON SAID PLAN', N'0079', N'0005', N'NO', N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:00:21.000' AS DateTime), CAST(N'2021-05-30T19:21:26.000' AS DateTime), 7492, 611, 0xBD0B000001040A0000003770CE88B809324150575B3182F11641248E75318E09324190FC87F423F01641A53E579B700932417035CD3B2FEF1641C0F5287C5809324180B1BFEC5FEF1641BBD1007E58093241B0FEB2FB5FEF1641BD30996A730932413092CBFF3EF016419BF6063F8F093241C0CAA14525F1164106462535D2093241E06F5F074AF316419F23B9DCE909324130A4703D1AF316413770CE88B809324150575B3182F1164101000000020000000001000000FFFFFFFF0000000003, CAST(1325560 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1326206, N'{0EC94A7D-8146-4ED8-A431-99B33021C2AB}', N'011933658', 3, N'NO_PLAN', NULL, N'11933658', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART A', N'18', N'82,17', N'PARCEL A (T29464) OF SECTION 18 TOWNSHIP 82 RANGE 17 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT, EXCEPT: PART ON PLAN PGP48122', N'0163', N'0015', N'NO', N'ICF', 1, NULL, N'UNKNOWN', N'0', N'1792196', CAST(N'2021-06-03T08:33:50.000' AS DateTime), CAST(N'2021-06-03T08:34:47.000' AS DateTime), 1792160, 9099, 0xBD0B00000104A1000000B203E78C63553441D831E66E4E0633415BBCB4E964553441BC19EB67650633413432345F68553441844758287C0633411735F7E56D553441E0F24D7F9206334198A31E7275553441A0E3CE3CA8063341ECEB73F37E55344110862732BD063341A4DF8B558A553441AC3F5232D1063341BA90F27F9755344150245812E4063341B2D85F56A6553441CC42ADA9F5063341432EFFC1BF553441908FC2D5120733412AED0DFEBF553441009A08DB0F0733414CC8073DCE553441845AD33C56063341B203E78C63553441D831E66E4E063341708A8E0427553441D022DB79500633418BFD65F726553441C456ECEF49063341D222DB59BA543441D0A370FD4106334176BE9F3A905334419028ED2D2C0633418F4AEAA4A95234419C8104051B063341738104456E52344144D3BC833E093341B9DA8ADDAA4F3441849CA2830A093341009A081B554F3441DCB35935040933414694F646374F3441C8073DDB850A334123C9E57F304F34416CB5157BDD0A334178E09CF11E4F344158257582BB0B3341E8AE25C4164F34411CC58F312A0C3341E91DA708A6503441D84D6290470C3341A111A57DDE5134415827A0295E0C3341BF1726737C523441DC12F201B80B3341F42FBB27815234411CC28607B40B3341C0BE2CB98F5234411C00B1A2A60B334130BED0F29C523441C0E8FDE9970B334141E5D2B5A85234417CB8BEFF870B3341B039C8E6B25234411CEF0C09770B3341B8F9EE6DBB5234418CD3732D650B33418AFD6537C252344154469496520B3341C07493F8C3523441545452074D0B3341C7B12E4EDF523441A4CFD536040B3341E2C798BBE1523441D4581757FE0A33411E85EBF1E3523441A826C246F90A3341E951B83EE6523441C45B2041F40A3341B5490CA2E852344174810445EF0A3341E9D0221BEB523441F085C954EA0A33418DB0E1A9ED523441ACA8A46EE50A3341C6B12E4EF0523441B8FC8794E00A3341F12FBB07F3523441BCAF03C7DB0A3341FE1873D7F5523441E0938705D70A33413F2CD4BAF8523441E8164850D20A3341BF0E9CB3FB52344158423EA8CD0A33413780B7C0FE523441F03A700EC90A3341483789E101533441EC1B7C81C40A33414E6B9A1705533441ECC03903C00A33411AC05B6008533441AC4E4093BB0A3341885AD3BC0B5334410CBC0532B70A334144E8D92C0F53344174D2DEE0B20A33414B7B83AF12533441D49AE69DAE0A3341F85C6D4516533441C030996AAA0A3341923177ED1953344124A7E848A60A3341760B24A81D533441703D0A37A20A33414FF38E73215334419C1804369E0A334142575B512553344138DD24469A0A33415952274029533441B0A67967960A3341DE361A402D533441009A089B920A33410AD7A35031533441585227E08E0A33417CE09C713553344118EBE2368B0A33414A2575A23953344198923AA1870A3341E6C039E33D5334418036AB1E840A3341E3E00B3342533441E47A14AE800A33413945479246533441E8FBA9517D0A33413292CBFF4A5334416070CE087A0A3341DEBE0E7C4F53344150F38ED3760A3341D48AFD0554533441A07CD0B3730A3341F15A429E5853344140CB10A7700A33410C8195435D533441B0A8A4AE6D0A3341280F0BF5615334411071ACCB6A0A3341A045B6B3665334410064CCFD670A33417736AB7E6B5334415C6FF045650A3341B1EA735570533441B44082A2620A334118D9CE3775533441D0BCE314600A33418E4AEA247A53344160764F9E5D0A3341885AD31C7F5334413008AC3C5B0A3341EB3FA41F84533441D8F21FF2580A3341BB15FB2B89533441EC7E6ABC560A3341EED24D428E53344120DBF99E540A3341504013619353344154621098520A3341C654C18898533441B49465A8500A3341A1ABADB89D5334411CFBCBCE4E0A33411E8E75F1A253344140DF4F0D4D0A33419BBB9630A8533441205305634B0A3341E04F8D77AD5334419CCDAACF490A334159C1A8C4B2533441A833A254480A33414650FC18B85334415817B7F1460A3341373CBD72BD533441F453E3A5450A33418DA0F8D1C2533441848EE472440A3341CA98BB36C853344114E25857430A3341FDFFFF9FCD533441146A4D53420A33414550FC78D3533441C086A757410A3341C8073D1B12543441A03C2C34380A334152B81EC51F543441E453E365350A3341AC506B1A6B543441FCC264CA220A3341CCF43FFF735434416C085A3C200A3341CED1DEDE7C5434419405709C1D0A3341D7FD23B985543441E859B1EA1A0A3341BEA4EB8D8E543441F4EC2827180A33417708125D9754344148EEE151150A3341D8817326A054344160D5E76A120A3341D91B7CA18B553441FCFFFFFFB8093341C8DCB5649055344188E2C7387B093341AAF1D2CD9E553441F85A425EC0083341CA54C1E8E3543441AC2E6EE34907334196FF903ED554344118E258B7C1063341F4E4616131553441B8BFECBE9A063341DEC7983B30553441C4FEB23B96063341D83D79F82E553441E47C3FF590063341065F98CC2D553441D03923AA8B063341FC0FE9B72C55344184900F5A8606334153EC2FBB2B5534418881040581063341774F1ED62A5534419C8CB9AB7B063341760B24082A55344184567D4E76063341560E2D5229553441E87A14EE70063341897CD0B3285534419C67B38A6B0633413CDF4F2D2855344110EF3825660633417C2D21BF27553441ACE314BD60063341B29DEF6727553441AC57CA525B06334170F0852927553441645452E755063341708A8E0427553441D022DB7950063341BDCAA1E51B54344144AD697E750A33418CED7C1FDB533441B423B9FC7E0A3341D657EFB7C5533441FC8AD868830A334140C5AEC4B0533441F08570A3890A3341222EB06C9C5334410CEFEBA0910A334140D7C7D588533441D4326F529B0A33419AF962247653344198F1F3A5A60A33418B06447B645334417C836A86B30A3341D40442FB53533441F821E1DBC10A3341E07F0BC344533441C86EB08BD10A33413D7AEDEE365334413403AD78E20A33416ACD9E982A533441ACAE5D83F40A33413B5910D71F5334412CFC358A070B3341F35A42BE165334412095D4691B0B3341AA79C7E9FB523441E4482EDF620B3341C85D675AF352344188DE9A437B0B33416859527BE852344190A8B8B7920B3341DEAE7366DB52344140FF9C03A90B33415E8BFB3ACC5234412C771FF2BD0B3341A0AB141DBB523441A49F5851D10B33419A218E35A852344164FC18F3E20B33412063EE1A2B52344144A4DFBE650C3341DD0B93C92F52344150598618660C3341F041CF66A1533441F451B8BE810C33413C5EBA294D55344188081BBEA10C33419028ED0D85553441E0096882FE09334182B7402285553441A411A57DFD0933414450FC98B2543441A0B0E1694D0A3341019A2532A954344154CFE285500A3341B97D03C59F5434413C69998E530A33416E90BD5196543441E0C0F883560A3341F6807BD88C543441106AF465590A33413817655983543441AC4980345C0A3341A233A2D479543441CC9690EF5E0A33418DC2F5A82B543441A4D2DE40720A3341BDCAA1E51B54344144AD697E750A3341030000000200000000020D000000027D00000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(1326206 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1327409, N'{49453443-D0F4-4893-B8CB-FA044D5E9730}', N'023431482', 464767, N'NEP22933', NULL, N'23431482', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'1996-05-29T00:00:00.000' AS DateTime), N'Lot 2', N'', N'', N'LOT 2 DISTRICT LOT 4589 KOOTENAY DISTRICT PLAN NEP22933', N'0135', N'0018', N'NO', N'MODIFIED-ICF', 4, N'DATACOMPILATION', N'UNKNOWN', N'0', NULL, CAST(N'2018-10-12T15:04:18.000' AS DateTime), CAST(N'2021-08-30T13:38:32.000' AS DateTime), 77540384, 65074, 0xBD0B00000104CE010000FC2A871662A03B4130DD244666832141323333136FA03B412804564E5A8321419A6E12A3F3A23B41A8999959088121413E67444959A33B41C8240641737F2141DCA59B84FEA33B41508D97AEBE7A21416210581978A43B4168643BDF42772141408B6CE7CBA43B41783F355E7A732141293108ACAAA53B41E8CEF7536D702141030000A088A63B4110DBF9BE1D712141823F357E3CA83B411058397494702141769318641AA83B41A045B6736A6E214108D7A3B008A83B41A0180456D46C21412C3333D3F4A83B41B045B6B30D6C214118D9CE77CDA93B4190C42030266A2141E2A59B847EAB3B4100D9CEF7F868214181C0CAA107AD3B4128E17A14186621413408AC9C13AD3B41901804D6FC652141CCF7538318AD3B41500E2DB2D7652141C0F5283C1CAD3B4130E17A549E652141AE7268F11BAD3B418016D90E78652141E551B89E1FAD3B41A06E124352652141483789C11FAD3B41C0F528DC50652141F97E6A3C20AD3B4160E5D0E22865214175E926911FAD3B41A0438BEC006521416AE7FB691FAD3B41E87493D8F4642141BE9F1A0F1FAD3B41886ABCF4D86421418395432B20AD3B4118022B07B1642141CC4D627024AD3B4188FF907E98642141DAA370BD26AD3B41A8CAA1458B64214198438B6C2AAD3B4150355EFA63642141E24F8DB72CAD3B41786E12433C642141E24F8DB72EAD3B41886CE77B14642141D4A370FD2FAD3B41701058F9FE6321414460E51031AD3B41C0012BC7EC63214176E926D133AD3B41F87E6A3CCC63214131DD246634AD3B4130E3A55BC5632141D2CEF79336AD3B41D81A2F9D9D63214168BC747337AD3B41500C02AB75632141B8490CC236AD3B41A09BC4E0616321411904560E36AD3B417839B4C84D632141560E2D9235AD3B41E8D0229B4663214116AE476133AD3B4158B0722826632141D278E9C62FAD3B41A8BC74D3FE622141058195632EAD3B4128DBF9BEE2622141C29F1ACF2DAD3B4178ED7CFFD6622141C67493D82DAD3B41E8D8CEB7D6622141C2F528DC2EAD3B4140BA494CCF62214180E9261133AD3B417847E17AB062214106560E8D3EAD3B41087F6ABC8F6221411DB0726842AD3B4130DD240686622141F87E6AFC4AAD3B41981E856B70622141BCC8765E56AD3B41B09F1A6F55622141463789E157AD3B41A09999D95162214110022BC764AD3B41385EBA4933622141C920B01268AD3B4168BA49CC2C6221416666660673AD3B4100FED438176221411604568E7AAD3B41F04F8D970A622141CC22DB5982AD3B41C8CAA185FD61214148E17A5489AD3B4128871619F4612141706891ED92AD3B41D0F75323E76121411F5A649BA4AD3B4120B07268D4612141EAD0227BB7AD3B4160E5D022C7612141C84B3729CBAD3B41481283C0BF612141BD9F1A8FDCAD3B4198180416AC61214132B29D0FEEAD3B41B0F5289C996121410A819543EEAD3B419841606599612141C74B372902AE3B41786ABC74956121416A66662616AE3B41000000809361214159E5D0E229AE3B41C0438BEC8C612141996E12A33DAE3B417891ED7C86612141703D0A5746AE3B41D09F1A6F8361214184EB515851AE3B414085EB917F612141BD490C225AAE3B4118B29DEF7B61214109D7A3F064AE3B4128D9CE77776121415A0E2D5278AE3B4158B6F37D6D61214156643B9F83AE3B41C01E856B636121412A8716998AAE3B41706ABC345D6121411083C02A99AE3B41E8CEF7D341612141F0D24D22A6AE3B4120AE476123612141F87E6ABCB1AE3B41C8F1D2CD02612141E8FBA9F1BAAE3B4130DD2446DF60214120DBF9DEBDAE3B41E0A59BC4B760214170E7FB09BEAE3B4108583974B0602141D0F97ECABEAE3B4170E17AD48F6021410A560E6DBEAE3B41B07493D867602141C59F1A8FC0AE3B41F08616194060214168BC7413C3AE3B41085839F42A6021416B3BDF2FC5AE3B4130B4C836196021417FC0CA01CAAE3B4168C2F568F25F21418EC2F568CCAE3B41B845B673E15F2141F47C3F75CFAE3B41A8C420F0CB5F21410E2DB21DD6AE3B41B86CE73BA65F2141420AD723D8AE3B4108AC1C9A9D5F2141E6D0229BDEAE3B4128DD2406825F2141125839D4E9AE3B41303108EC605F21412085EB51ECAE3B4160643B5F5C5F214134B4C896F8AE3B4128D9CEF7455F214184EB515802AF3B41F8D24DA2385F21419699991909AF3B41606666662F5F2141162FDD041AAF3B413004560E1A5F2141E9FBA9512AAF3B4108AC1CDA025F21412CDD240639AF3B41108195C3E75E214117D9CE9746AF3B41C01C5A64CA5E2141BA490C6251AF3B4110FED438B25E2141345EBAE953AF3B4148DF4F8DAC5E2141C820B0D25FAF3B41D861A1568C5E2141460AD7636FAF3B4180C420F0725E21419B6E12E381AF3B41B84F8DD7725E2141D0DF6D5C82AF3B41A041E8CD725E2141A639DBD582AF3B41686CEAD2725E2141525AE94E83AF3B41E0258FE6725E2141CE7827C783AF3B41C820C408735E2141DC8D253E84AF3B41207E6939735E21416ABC74B384AF3B4188EB5178735E214107560ECD96AF3B41D8CCCC4C7B5E21419E703D6AAAAF3B4140378941835E21417AE926F1BDAF3B4100DD24068C5E2141B29DEF47D1AF3B41D0CEF753965E2141713D0A77D4AF3B41F82A8796975E2141325EBAE9E4AF3B41903D0A179E5E21416CBC74D3F8AF3B41F0263108A25E2141EA2631880CB03B41508FC2F5A85E2141395EBA0920B03B4100560EEDB15E2141DD2D908027B03B41B0C8763EB65E21415EE5D04233B03B4190BA490CBD5E21418DA0F81146B03B41303333B3CA5E2141B01C5AA44FB03B41B0416065D25E2141E17A14AE58B03B4100D578A9D95E2141D04D62906CB03B4130DD24C6DC5E2141836ABC747BB03B4130B29D2FDD5E21411458399480B03B4160BC7453DD5E21414737896186B03B41C8416025DD5E2141042B879694B03B41380E2DB2DC5E2141FF2A8796A8B03B41B0F1D24DDB5E214124B072C8B4B03B41E8285CCFD95E214106D7A390BCB03B4150F5B9DAD85E2141F4285C4FD0B03B410052B85ED25E2141E551B8DEE0B03B41A8976E52D05E21412CDD2446E4B03B41E078E9E6CF5E2141C620B0B2E8B03B41F8285C0FD05E2141F2FDD498F8B03B41D876BE9FD05E2141A5F1D20D02B13B4118D7A370C15E2141F0D24DC207B13B4180EFA746B85E21413E0AD76314B13B41C020B032995E2141A99BC40020B13B41E853E3A5785E21412C5C8F022BB13B4170931844575E214135DF4FAD33B13B41C0F5281C3C5E21415AC1A8C435B13B41683BDF8F355E2141C1F528DC36B13B41F87A142E325E2141B6D1009E40B13B4180EB51F8135E2141866CE7DB4BB13B41400AD7E3F25D2141880D4F4F56B13B41681B0DE0D95D2141065F98AC58B13B4180C64B37D45D21411083C0CA62B13B41D87A142EBC5D2141763D0A9765B13B41B8263188B55D2141A49BC4A06DB13B41F0285C0F915D2141EA7C3F3571B13B41508195C3695D2141A59BC48073B13B418014AE07425D2141B8490CC273B13B4110D578692E5D2141BCCAA10574B13B41B8976E121A5D21411DB0720875B13B41B04160A5FA5C2141BE9F1A4F75B13B41F0CEF713F25C214188EB51587BB13B41107F6AFCCB5C21410881952384B13B41C0C42030B55C2141E0A59B8487B13B41E07A146EAC5C214176BE9F3A89B13B41D851B85EA95C21417868916D96B13B41984B37C9915C2141621058F99DB13B41205C8FC2845C21418E180496A5B13B410852B89E775C21414CB81EC5B2B13B41C020B072595C21411604568EBAB13B4158BA49CC345C21416C91ED7CBDB13B41A07268D1175C21411D2FDD84BEB13B4150643B9F0D5C2141132DB25DC2B13B4178C0CA61E65B2141AE9DEF67C4B13B41901804D6CE5B21417414AEC7C5B13B4150B6F3FDBE5B2141A39BC400C9B13B419814AE87975B2141C2CAA185CAB13B4150E3A55B885B21418816D9EECCB13B41305C8F42705B2141FAA9F1F2CFB13B41A0C876BE615B21413F355E9AD4B13B4148E3A55B4B5B21417668912DDFB13B41D0D6A3B02E5B2141365EBA69E0B13B41806210582B5B21414BB6F37DE0B13B41F0AD47212B5B2141A345B6B3F0B13B41202FDDA4135B2141B21C5AC4F0B13B41703F359E135B2141E07A142E09B23B41887CD0B3095B2141FC7E6A5C09B23B41789BC4A0095B2141E193872574B23B41C078E9A6B45D21412A992A787EB23B417003788BF85D2141F5CBEE09ACB23B4170931884C55B2141FEFFFF5FEBB23B41786891EDB6582141CB98BB7604B33B4108560E2D835721414FD191FC04B33B41487B83AF865721418A4160E50BB33B41D8073D9B985721414B2EFFC111B33B41D0DCB5048C57214182D93DB913B33B41E0F97E2A5E5721412818957412B33B4140006F8133572141ABC64B770EB33B416011A57D07572141D478E9C6EDB33B41E002094A554C214134AB3E5743AF3B415896218E494D2141FA43FAADEEAE3B41B8658863754B21417B9ECDCA87AF3B41D85B2081064B2141A411A5FD20B03B41E8277E8C954A21411CB7D14031B03B4110D044188C4A2141643BDF6F48B03B41B80C71EC7C4A21411C5A64FBFFB03B41F82FBBA7564A214152FC18B3FAB13B41E0CEF7D3204A2141EAC039C3A7B33B41D8817306CE4921417AAEB602DDB33B4178A60A06C5492141F8CBEEA913B43B41C8F97EAACA492141802F4C0622B43B41083B704ECE4921413A4ED15124B43B41E031E6AEB04921414C27A0A926B43B4130CD3B0E93492141EE482E1F5CB43B4170A0F8B1F9462141140BB586EEB43B41586E1203DF3F2141B640826207B53B41682575C2B13E214179B740A2F5B53B4138AAF1926A33214160BA49EC0BB63B4130F9A0275A32214180B740E2F4B63B41D01C5A243227214150A60AC6E4B73B41283A924BB51B21410CF01608E5B73B415019E218B21B21410144FACDF7B73B412895D449CB1A214199559FABE5B83B4180F4DB57550F2141B059F5D9E5B83B41C0D5562C530F21410724287EECB83B41C0658863030F2141984C150CFAB83B41C0270F4B640E2141AF47E1FA47B93B41B0C64B37B70A214106F9A0A7A7A53B4138068195630421417ED93D79C3A23B4100143FC6D71321411C5A647B41A43B4190E7FB6929212141B5490CC2D6AB3B41082A3AD26F2821410422FDF601AD3B41A053742443302141B864AA205DA83B4110D88133A04A21418C976E1244A43B41C81726538F50214104560E2D60A33B41400BB5A6B95B2141EFEBC039FC9E3B41E0C11766156221416E348077D99D3B4138742497E45C214122F46CD618973B4158378941BA5A214142AD69DE10963B41F847503CD369214170469476F2953B41B056EC6F726B2141A3B4377857953B41184625F5D96C2141AE2C431C2B953B41983E579BA26D21418426C26626953B41B06F5F07BF6D214145696F1016953B4180E5D0E2296E214173E7FB690D953B4110AE47E19E6E21411D166A6D15953B41909A771C286F2141F25A421E5A953B41E8C9C38227712141E124066160953B413027A0C9A6712141ECAE258445953B41A83E57DBC073214108AC1C9ADE943B41F0FBA9712B7B2141D956EC2FDA943B41C08C28AD7E7B21418FC2F56854943B4110B8AF037D7F21418036ABBEE4933B41402D215FA5822141A6F1D26D33933B41E8141D49A887214175832FCC2D933B41E068002FDF87214124E483DE2C933B41F82D90200D88214114F2416F38933B41A8C42070D08B2141F00DBEF053933B41C0ADD89FE09321410322FD3651933B412890A0F837942141946588634A933B41A867B32A92942141FF088A9F36933B41B80968222F95214174E09C31FD923B4168469436F796214120B072C8FC923B41505DDC06329721413E8B6CC727933B41F8B12EAEFD982141EED24D6229933B4180B5157B3C992141E761A1B619933B41D02406018B9A214162BA49ACFC923B41D8C03923159D21418A3A01EDF6923B41085B423E4E9D2141F77E6A7CEE923B41C88026C21F9E2141627FD9FDF6923B41C0A67987119F2141FAC264EAE6923B412092CB3F47A0214136AB3ED7E6923B41D02D90204BA021411A8C4AAAE7923B4100AAF1128AA02141AE0C71ACE0923B41186EA30120A1214190ED7C1FD7923B4148D1911CB7A12141E2E00B33DC923B4160BC749359A22141C17D1D78E1923B41005B427E90A22141DE622B9EE5923B4188FE527590A221418DAD24C4E9923B41D02EF59090A22141D5C9B8E9ED923B4148D326D190A22141682B970EF2923B41080DE33591A22141C6536F32F6923B41603722BF91A221414CD8F054FA923B4148E8D96C92A2214168DE716A00933B41D0839ECD93A221410CA3927A06933B4118158C8A95A2214164DC46830C933B41A0779CA297A221415EDC468312933B4108F46C169AA22141F0F44A7918933B41C80A46E59CA22141AE25E46325933B4120F46C96A4A221419A900F7A2C933B41F09B3362A9A22141E2A59B042F933B41A8847C50ABA22141BF7D1D7833933B41504547B2AEA2214186635D5C3A933B4128CAC382B4A221415AA8350D48933B410066F7E4C1A22141B1EA733555933B4140EF3845D1A22141CC44D8705F933B41281AC05BDFA22141CE00DEC261933B41E8839E8DE2A22141CC00DEA26D933B41A0F831A6F5A221410066F7C478933B41F8A067730AA32141220DE0CD8A933B4168A44E4032A321414079582890933B41A0923A8140A32141D86800EF9A933B41404547325DA32141C0CAA105A9933B41F0F97EEA8AA32141343333F3B4933B4100394507BBA32141A211A59DBE933B4120894120EDA32141C47493B8C1933B41280AD7E300A42141CE2B6579C4933B41F075E0DC14A42141EE51B8DEC6933B416801BC0529A421418ECB7FE8C8933B41F085C9543DA4214107462595CA933B41F04A59C651A42141CABAB84DB1933B4128E4831E59A42141EB043491AC933B41606DC57E5AA421414A696FF0AD933B41789ECD2A70A421416C469496BC933B41C09690CF69A5214199C420D0BF933B4110D7A33098A5214132DD2406C4933B41405BB13FC6A52141AABDC137C9933B41A0C2F5E8F3A5214152401361CF933B41584F1E1621A6214186DB6880D6933B41A869DEB14DA621412E772D61DF933B41F8FBA97181A621413A5EBA49E4933B41F0DBD7C19FA621410A5F98ACE8933B4158E5D062BEA621411AAE4741EA933B41105F980CCBA62141EA263188EC933B41C015FB4BDDA62141009A08DBEF933B41E88E5374FCA62141924AEAA4F2933B41C8F21FD21BA7214101B37B12F4933B4170E7FBA92DA7214115C7BAD8F4933B4110E2585737A721417BC729FAF6933B41902E6E634DA72141A80A46C5F8933B41D875E0DC59A72141BF529681FC933B414874241779A72141F27C3FB5FC933B4138CB10C77AA72141CD20B0B201943B4180ADD81F9BA72141743D0AB707943B41E8DBD7C1BAA721412AF697BD0E943B4100CD3B8ED9A72141E461A1162A943B4188E7FBE947A82141AB9DEFA738943B41286A4DB382A82141B6C876FE4B943B419023B9BCD0A82141EDB0500B4F943B4100A8C60BDDA82141465986185A943B4148E3A5DB0DA92141A479C76963943B41A0BDC11740A9214164BC74F36A943B4180B7408273A92141EC9E3CAC70943B41C87493D8A7A92141FD4C848D74943B41807571DBDCA92141EE8E537475943B41500E2D32FBA921411D1FF4CC75943B41D04F8DD706AA2141C24B37E974943B41903F35DE30AA21412241F1E371943B41686DC57E5AAA21419E8026C26F943B41887EFB7A6BAA214137EF38C56C943B41205EBA4983AA214154F5B99A65943B4148CF66D5AAAA2141CC5D4B685B943B415893A942DBAA214117B7D12048943B41403CBDD236AB2141ECD9AC7A2E943B41D8C039A3B0AB214194FF90DE4A943B4168A60A86C8AB21414D4772B943943B4158779C22F6AB2141DC7A14CE3F943B41781283402DAC214173AC8BBB40943B41082FDDE464AC21413A234A7B46943B41602D215F9BAC214115C05BE050943B4118B9FC07CFAC2141B0506B9A5F943B41E8DEE04BFEAC2141DD718A0E65943B417019E2980EAD214131DD242675943B41C02E6EA338AD214178A52CE384943B417895438B65AD2141A6A44E2094943B41F0F6752093AD21411E51DADBA2943B4190BFEC5EC1AD214112583914B1943B4140499D40F0AD2141482EFF21DF943B41B80C71AC8DAE214186635DFCEB943B4190F08509B9AE2141BAF3FDD4F7943B41B0A67907E6AE21411A0456EE02953B41B8CAA1C513AF2141006F81440D953B416010583942AF2141826132D516953B41D005125471AF2141EA1DA70842953B416819E29850B021413A234A5B49953B4190218EB57CB02141ECD24D824C953B41A0B4377898B02141FCEDEB804E953B41B0946508AAB021415EC3D36B51953B4190537424D8B021410834111652953B4108D0449806B12141B8DA8A7D50953B41080F0BF534B12141BE0512744F953B4158A60A8646B12141B0D85F564E953B4120166A0D5CB12141625452874D953B41306519A271B121414794F6064D953B412880B74087B12141B8F3FDD44C953B41B01C5AE49CB12141B169DEF14C953B4178029A88B2B12141D2915CDE4E953B41306C78BA4EB221419AFF903E4F953B4168A52C436DB22141F6285C4F50953B4158CA32C4C3B221417ED0B35931953B418801BC45C5B22141E4A59B6434953B4160FE437ABCB3214182C0CA4136953B41D85C6DC5E7B3214101F775C03A953B41D039234A12B42141A0CDAACF41953B41B05374643BB42141DDCEF7534B953B41F00FE97762B421413967442957953B4148C4B1EE86B42141EE3845A777953B4118022BC7DEB421412CA9135088953B4190A223B913B521414B696FD094953B417016D90E4DB521417A2497DF9C953B4140C8077D89B521418304C54FA0953B41101DC9A5C7B521413EF1630C9F953B4188E5D02206B62141D55F76CFBD953B41C04B37490DB62141E00B9309BD953B4100AAF1D217B62141257502BABB953B41983177AD29B621415FCC5DCBB8953B41D000DEC245B621410D0BB506B5953B41288E757161B62141ACE8486EB0953B41385227A07CB6214112022B07AB953B4128211F3497B621416A09F9E0A0953B4170D0B359C1B62141D4915C5E95953B41C0051214EAB6214126287E8C88953B4140D8F03411B721417ED0B3797A953B419073469436B721412C0F0B356B953B4130CB10075AB721412DDD24865B953B41A82A189581B721418B38D66558953B41B0A145B688B7214122C9E57F4E953B412051DA1BA5B72141E046033847953B41104A7B83C4B721412FCB10C742953B41C04603F8E5B72141ED1FD24F41953B41E86A2B7608B8214121F697DD42953B411020D2EF2AB82141C9EEC96347953B41383EE8594CB82141040000C04E953B4190C420B06BB8214116D9CEB758953B4158840DCF87B8214165AF5DB259953B4198DD28328AB82141088267B35A953B41C088678A8CB821411B30CEBA5B953B41102B83D78EB82141F6D972C85C953B4128B7361991B8214184E435DC5D953B4188763E4F93B8214120FDF6F55E953B416010587995B82141A8CFD5566E953B41809A771CB0B8214174F085497F953B4100C05BA0C6B821419BE61D8791953B4150423EA8D8B821418E5374C4A4953B4198C2F5E8E5B8214172E926B1B8953B41088D282DEEB82141F8DBD781F8953B41E878E9A608B921415305A35210963B4128575B710FB92141C40E9CD322963B4100E2581715B921416A81044535963B41806B9A771BB921419C01BCA547963B41E8F21F9222B921414CFC18F359963B41B0787A652AB9214154B1BF2C6C963B4128A089F032B921414750FC9864963B41F0141DC970B921415FE5D06272963B41A8E3141D7AB921415D764F7E81963B412006815584B92141E29387E59B963B4148E17A949FB92141E76A2BF6B3963B41E8B0506BC2B92141BECAA125C9963B4110F2410FECB921415E1058F9DA963B41603CBD921BBA2141A479C7A9EF963B41A0E09C515CBA21412285EBF106973B41509FAB2DA5BA2141E24603180C973B4180DE714AB5BA21419E438B8C1A973B410024283EDBBA2141984C150C2D973B41D022DBB9FDBA21414825754242973B417893184419BB2141DE2D90A04B973B411010E93721BB21419B6E1243939D3B4180976ED2D98A2141CD22DB79A39F3B4108F8532362892141989999F909A03B41D8CEF753568621418CED7C7FD69F3B41A86E12C3D5842141FC2A871662A03B4130DD24466683214101000000020000000001000000FFFFFFFF0000000003, CAST(1327409 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1327758, N'{35DA2EF1-24AB-46EF-814B-A1C71047DCF1}', N'003862747', 1182595, N'NWP71523', NULL, N'3862747', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2014-06-06T00:00:00.000' AS DateTime), N'REM Lot 2', NULL, NULL, N'LOT 2 DISTRICT LOT 17 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 71523 EXCEPT PLAN EPP23312', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2021-09-22T13:20:00.000' AS DateTime), 860, 158, 0xBD0B0000010412000000FCC2646AA3AD3241D0891F63206E1C410E9C33E2A5AD324180734694156E1C41792497FFA6AD324130EA95B2106E1C41FAA067D3A8AD324160A0F8B1086E1C41703480F7C0AD324120917EFB9E6D1C4194FF905EBBAD3241502FDD24826D1C416B88637DA8AD324160F38ED3D46D1C41A5ADD81F96AD3241200BB5A6936D1C41BCD100BE92AD324180AEB662A26D1C412AED0DDE8CAD3241B047E1FABB6D1C41FEFFFFBF8BAD3241608716D9C06D1C419CDD934789AD3241709A779CCB6D1C41A7F310958DAD324140CA5800DA6D1C410A3711E891AD3241C07FB149E86D1C41EA6D8A4096AD324100F15F78F66D1C417051729E9AAD32411095428C046E1C41EE8DBE019FAD324150213885126E1C41FCC2646AA3AD3241D0891F63206E1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1327758 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1327944, N'{6B5587F4-CE52-4294-B67F-C12466B306D9}', N'010449213', 252487, N'PGP727', 17746331, N'10449213', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', NULL, N'Lot 7', N'Block 31', N'', N'LOT 7 BLOCK 31 DISTRICT LOT 933 CARIBOO DISTRICT PLAN 727', N'0112', N'0008', N'NO', N'MODIFIED-TANTALIS', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-07-26T16:27:00.000' AS DateTime), CAST(N'2021-10-01T14:35:23.000' AS DateTime), 317, 84, 0xBD0B000001040500000012022B47CD8232412031082C524A2E4110363C3DD782324158B81E055C4A2E417B9CA2A3D882324170E5D022194A2E41A41A2F7DCE82324198EFA746184A2E4112022B47CD8232412031082C524A2E4101000000020000000001000000FFFFFFFF0000000003, CAST(1327944 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1328316, N'{D6CEF401-E918-4F19-AC77-C6F8CE5704C4}', N'015314855', 3, N'NO_PLAN', 35913431, N'15314855', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'A', N'2313A', NULL, N'PARCEL A (EXPLANATORY PLAN 123805I) OF DISTRICT LOT 2313A KOOTENAY DISTRICT', N'0163', N'0018', N'NO', N'ICF', 2, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-10-26T11:00:06.000' AS DateTime), 92061, 1192, 0xBD0B0000010408000000EE3845276EBC3A41D86B0939EBE920412285EB31D1BC3A41E0E00BD305EA20417D26C28693BD3A4188FD65F7FDE82041EBD0223B8ABD3A41E0EEC9C3E5E82041E6C039A3D1BC3A41E066D52705E72041881F630ECCBC3A41C8B359B50DE7204130211F74DFBB3A41783A01CD77E82041EE3845276EBC3A41D86B0939EBE9204101000000020000000001000000FFFFFFFF0000000003, CAST(1328316 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1328937, N'{2DFD1E12-4AC1-48BE-956B-3E860809B32B}', N'010552375', 854294, N'KAP4440', NULL, N'10552375', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot A', NULL, NULL, N'LOT A SECTION 3 TOWNSHIP 20 OSOYOOS DIVISION YALE DISTRICT PLAN 4440 EXCEPT PLAN KAP53958', N'0063', N'0016', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-12-03T11:29:47.000' AS DateTime), 14912, 528, 0xBD0B000001040B0000001FB072E895733641806CE7FB61A22141D7C56D94A1733641D8915CFE76A221410AB5A6F9C5733641A803E7CC84A22141F27C3FD5E5733641F80FE9377DA22141FEDBD7C1F073364180E1E9D5A7A12141142FDD44F97336418036ABBEF1A021414B257502D2733641E097DD93EAA021418AC954E19973364168598638BFA12141489D800697733641F8DD0209CAA12141BE86A7B78D733641308941A0EBA121411FB072E895733641806CE7FB61A2214101000000020000000001000000FFFFFFFF0000000003, CAST(1328937 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1330282, N'{6C1BAA0A-1B81-4987-9C45-41693E8B484B}', N'008122091', 12849, N'VIP1002', NULL, N'8122091', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 10', NULL, NULL, N'THAT PART OF LOT 10, DISTRICT LOT 101, MALAHAT DISTRICT, PLAN 1002, LYING TO THE WEST OF THE ISLAND HIGHWAY AS SAID HIGHWAY IS SHOWN ON PLAN 570 RW EXCEPT THAT PART IN PLAN VIP64830', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T22:16:26.000' AS DateTime), CAST(N'2021-02-25T09:41:45.000' AS DateTime), 2705, 364, 0xBD0B0000010405000000595227604E043241504B598630C11841DEE995F2A603324190A44EC020C11841C1E3145DA603324120B8AF835EC118412BE4831E4A043241A0F606DF74C11841595227604E043241504B598630C1184101000000020000000001000000FFFFFFFF0000000003, CAST(1330282 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1331646, N'{2220075F-9CE6-4D14-BD17-9595B1F7A928}', N'014263351', 299180, N'PRP948', NULL, N'14263351', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 12', N'Block 4', NULL, N'LOT 12 BLOCK 4 DISTRICT LOT 3 QUEEN CHARLOTTE DISTRICT PLAN 948 EXCEPT PLAN 6937', N'0116', N'0026', N'NO', N'ICF', 10, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-02-18T09:49:47.000' AS DateTime), 94, 45, 0xBD0B00000104110000000E8A1F6399512241A89465880D762C415E598638995122417063EE9A0B762C4184A84FA297512241A0054B8D0A762C411DA505009651224100EFCB9209762C41320C8F5294512241F04DFBAB08762C41C0C4D89A92512241A87458D907762C410A5DD5D9905122411094571B07762C41AE847C108F512241287C617206762C41537AE91C8D512241C00F938B05762C416F3FE7338B5122417829278F04762C41981A655689512241404C997D03762C41CAB14C858751224178526F5702762C413A9881C185512241A82B391D01762C41CCDEE00B84512241A89690CFFF752C41B43E571B8751224100A1677323762C4134DD24868751224190C7293A23762C410E8A1F6399512241A89465880D762C4101000000020000000001000000FFFFFFFF0000000003, CAST(1331646 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1332400, N'{0E53E743-C631-4C60-B048-B89EE32FC26A}', N'013574086', 248808, N'PGP5965', NULL, N'13574086', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 343 CARIBOO DISTRICT PLAN 5965 EXCEPT PLAN PGP36234', N'0112', N'0008', N'YES', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:41:54.000' AS DateTime), 15119, 478, 0xBD0B000001040A000000CAE53F84728832418011A5FDF95D2E41D8CEF7D320883241B04E4053175E2E417168918D358832417814AE07015F2E41B6490CE265883241680C026B595F2E413C8B6CA779883241F8CAA1C5545F2E4111BE30F98F883241489D8026185F2E41EA61A17698883241B0331136DA5E2E41CBC342ED9688324130DBF9BE935E2E4122DBF95E8D883241E8DF2D104F5E2E41CAE53F84728832418011A5FDF95D2E4101000000020000000001000000FFFFFFFF0000000003, CAST(1332400 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1333441, N'{EC8AB09C-C370-497F-B3F3-9512A3821596}', N'012042099', 3, N'NO_PLAN', NULL, N'12042099', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART A', N'855', N'', N'THAT PART DISTRICT LOT 855 OUTLINED GREEN AND SHOWN AS PARCEL A ON PLAN H888 KAMLOOPS DIVISION YALE DISTRICT SHOWN ON PLAN ATTACHED TO DD 25614 EXCEPT PLANS 15096, 15776 AND 20844, BEING 6.45 ACRES', N'0163', N'0028', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:37.000' AS DateTime), 26090, 805, 0xBD0B000001040E000000D0BCE35410AE35417095434BC7EA2641029A08BB16AD354160204131CDEB2641206C78DA10AD3541D887F45BD3EB26416C3D0A97E9AC3541C8A8A48EFCEB264122B9FCC7E6AC3541885B2081FFEB26415CC3D34B07AD3541F064AAE005EC2641B30C712C0DAD354160DD930707EC264110BE301914AD35411053056308EC264124E483DE89AD3541A0B437781FEC264128E4837EC3AD3541188195C32AEC26416588631DFFAD354150FC187336EC264154A60AA60FAE35419815FB0BEFEA2641AF47E1BA11AE35410886C9D4C5EA2641D0BCE35410AE35417095434BC7EA264101000000020000000001000000FFFFFFFF0000000003, CAST(1333441 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1335005, N'{3AD5F49E-7EEB-49DB-AAB4-F805E41A5C5F}', N'008803285', 5461754, N'VIP584', NULL, N'8803285', NULL, N'110335', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'Block 48', NULL, N'LOT 1, BLOCK 48, SECTION 1, NANAIMO DISTRICT, PLAN 584, EXCEPT PART IN PLAN 15285 AND 48002', N'0084', N'0021', NULL, N'PMBC-COMPILATION', 0, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', N'326.3', CAST(N'2019-04-04T08:45:35.000' AS DateTime), CAST(N'2021-02-18T12:00:10.000' AS DateTime), 326, 76, 0xBD0B000001040700000025166A6DE58C314120C729BAC84D1C41B5AF0307E48C3141C0C42030C84D1C41764F1E76D28C31412046B6F3C94D1C4129287E8CCE8C3141A0BB96101F4E1C410D2DB2FDE28C3141D09C1125FD4D1C4188FD65D7E48C3141A0180456D54D1C4125166A6DE58C314120C729BAC84D1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1335005 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1335412, N'{C53EDA84-2ECA-43DB-8C88-127309E7CBD9}', N'015423191', 3, N'NO_PLAN', 35277341, N'15423191', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'A', N'1900', NULL, N'PARCEL A (EXPLANATORY PLAN 84517I) OF DISTRICT LOT 1900 KOOTENAY DISTRICT', N'0163', N'0018', N'NO', N'ICF', 36, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-12-09T12:25:47.000' AS DateTime), 79609, 1149, 0xBD0B0000010409000000180DE08DF6103B41F89908DB3F9F20416A2BF6F7DE113B41303EE859769F20418E31778DEE113B415096210E949E20412D2AA9B3FB113B4138A4DF7ED69D2041B496908F0E123B41709D8026D19C2041EC41CFC603123B4110A167F3CE9C20418A1F636EEF113B41A889B0E1CA9C2041B094652825113B41701F63EEA09C2041180DE08DF6103B41F89908DB3F9F204101000000020000000001000000FFFFFFFF0000000003, CAST(1335412 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1336031, N'{45F8361C-E1E9-4628-9EE2-9EBEEEEB2F6C}', N'015427536', 3, N'NO_PLAN', 9476811, N'15427536', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'1', N'10544', N'', N'PARCEL 1 (REFERENCE PLAN 115351I) DISTRICT LOT 10544 KOOTENAY DISTRICT EXCEPT PLAN R333', N'0163', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-01-09T12:27:45.000' AS DateTime), 9975, 457, 0xBD0B000001040700000006F0166897A93941E853E3251C2E25418E7EFBBA6FA9394140A5BDC15C2E254130FF21BD61A93941E88E53F43F2F2541FF7E6ADCE0A93941487346146F2E2541B88D0650A9A93941B813D084E72D2541EC1FD2AF91A93941F0E00B130E2E254106F0166897A93941E853E3251C2E254101000000020000000001000000FFFFFFFF0000000003, CAST(1336031 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1336076, N'{7D97C35D-C816-45C0-B379-1B416E94B826}', N'004041747', 3, N'NO_PLAN', NULL, N'4041747', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART NW4', N'11', N'', N'PARCEL G (STATUTORY RIGHT OF WAY PLAN 23059) SOUTH HALF OF NORTH HALF NORTH WEST QUARTER SECTION 11 TOWNSHIP 11 EXCEPT: PART DEDICATED ROAD ON PLAN LMP11703 NEW WESTMINSTER DISTRICT', N'0067', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2018-01-09T12:28:35.000' AS DateTime), 28016, 846, 0xBD0B000001040500000049B6F37D6820334140DF4F0DFB2F1C41C0EC9E3C91213341405305A336301C4119AE47C19B21334150643B5F38301C41439B551FA3213341E0A59BC4602D1C4149B6F37D6820334140DF4F0DFB2F1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1336076 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1336265, N'{53BF9456-670B-4ABE-BB63-AE8C9F6B161B}', N'009757317', 3, N'NO_PLAN', NULL, N'9757317', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 46', N'', N'', N'THAT PART OF DISTRICT LOT 46, COWICHAN LAKE DISTRICT, SHOWN COLOURED PINK ON PLAN 169 RW, EXCEPT PART IN PLAN VIP53168', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 42, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T19:37:37.000' AS DateTime), CAST(N'2019-01-07T18:32:49.000' AS DateTime), 92403, 5854, 0xBD0B000001048F0000006EF085A9CE933141304D848D54A31941BE0E9CF3C693314160C954C161A31941E795B24CBF93314140B6F37D6FA31941270681B5B793314160EE5AC27DA31941BFA8A42EB0933141104D848D8CA31941A0ABADB8A89331415064CCDD9BA319412D211F54A19331419057CAB2ABA31941316EA3019A933141404CA60ABCA319419F89B0C192933141B08A8EE4CCA3194145D8F0948B9331410012143FDEA3194179832FCCB4923141801FF46C07A6194163E5D0A2A9923141C0F0634C21A61941FB75E05C9E92314160D3BC633AA61941C9073DFB9292314110C58FB152A61941B2BFEC7E87923141E0A067336AA6194102E78CE87B92314100F9A0E780A619417FD93D3970923141C03A01CD96A61941C532C47164923141F0D2DEE0ABA61941176A4D9358923141C09C3322C0A61941BAC8769E4C923141F0285C8FD3A61941EE8E539440923141600BB526E6A619412DC4B14E2D923141F0FACBEE01A719419A779C02A9913141608A1FE3CAA7194184B0E1099991314160FC18F3E9A71941C47493B88E91314150545227FFA719411ED26F7F8491314180976E1215A81941B1B6625F7A913141603333B32BA81941D934EF58709131410026C20643A819417A711B6D66913141E095B20C5BA8194154D1919C5C913141F0A4BDC173A8194142F163CCEB903141207B832F95A91941AB3E571BE9903141C086A7579CA919415F5DDC86E0903141F02FBB27B3A91941BA37F8C2DB90314180855AD3BFA9194176A52C83BE903141C099089B0DAA19411FEBE216E4903141E09DEF2744AA1941D8D78153F3903141E012F2C11BAA19414BE17AB40091314100A7E848F8A919416E3D0A970C91314150A60AC6D8A919416B6FF0851091314120D04458CEA919419765882368913141002E90A0ECA81941142653E571913141F0088A1FD2A81941036F81C47B91314100166A4DB8A81941C96D34C085913141E00C712C9FA8194133A2B4D78F913141205B42BE86A819412F55300A9A913141604AEA046FA819419A6E1263B3913141C003E70C38A81941734694F633923141D0EBC0396CA71941BD0512545092314100F016C83FA71941542041B1619231415063EEDA23A719412C5530EA7292314150014D8406A71941F2C9C3028492314100FED4F8E7A6194108B5A6F99492314100A3923AC8A6194117FBCB2EA7923141400DE02DA4A619419BF6067FBC923141C034EFB878A619418DED7CDF5F93314120CCEEC9CFA41941058A1F838493314140B6F37D70A41941EAD9ACFA8C933141D0A44EC059A41941F3B0508B9593314170BE9F9A43A41941B7FC87349E9331414096210E2EA41941B1EA73F5A69331410076E01C19A419416E6891CDAF933141A0CB7FC804A4194154DA1BBCB893314170976E12F1A319418BDB68C0C1933141304850FCDDA31941ECEBC0D9CA933141B0DD9387CBA31941408B6C07D4933141E0EA73B5B9A31941C654C148DD933141404BC887A8A31941F975E09CE6933141402497FF97A319411848505CF1933141901D38E785A3194199B20C51A7943141808A8EE4A7A2194187F53462B3943141A047BD419DA219413949E692BF9431417066D02C95A219415CAF7BDACB943141100D83AB8FA219410EEE3F30D8943141009EBCC18CA21941B5BC738BE4943141A0F48D718CA21941CEF753E3F094314140EC2FBB8EA2194174C7295A91953141907AA52C04A31941E42631688A953141E0490C82BAA319411E85EBF1DA9531416005A312F4A319416609F940ED953141C07C3F35FFA319419FD6346F0F963141202EFF2115A4194104A392BA21963141D003568E21A4194117FBCBAE2A9631418000DE826EA31941568638D67E963141C0EDEBC0ACA3194121BB59238E96314180DF3A2FB4A319414F441C899D963141806B8801B7A319415FB550F1AC96314160D8C333B5A31941F41BC445BC963141A07C86C8AEA3194112FC5F70CB96314160FA0FC9A3A3194134234A5BDA96314180EF384594A31941B9B88D26E196314110022B878BA3194190067F87E49631415049BDC486A31941328006E3E7963141F05F7CC681A319414AF2E138EB96314180B7CA8C7CA319416499CF88EE963141E0580F1877A31941EE268ED2F1963141E0D6B56871A319413EC6DC15F5963141F0482E7F6BA319418DED7C3F64983141A0855AD395A01941833F351E9A983141A06F5F0727A0194108CE1971BD983141406210D8CD9F1941D578E9C64A993141709A779C479E1941F897DD33189931411097FF10469E19416909F9E072983141800AD723F19F19417DFB3A902298314160C05B208EA0194101DE0229C9973141F08AFDE53CA119412A5305E3E796314190C3D3ABF1A21941D1D77749DC963141C0F05F5808A319411E9F8C44D0963141304FFB331BA31941F10E50E8C39631411045311F2AA3194151336049B796314170421F0135A319415B5ACA7CAA963141A0429EC73BA31941DBF6E7979D963141F01261673EA3194192033BB090963141B02E07DC3CA3194139234ADB83963141B00B242837A31941D0B359B5309631419076BE1FF9A21941E50434F13896314130CCEE4952A219412B97FF70F3953141D00DBEB02DA2194199559F2BB3953141C01951DA0AA219415DEE5AE29F95314180F2B0D000A219415296210E9E95314190E3141D31A219413FF1638C98953141D0E8B72FA8A2194160FE433AF0943141B0A982D12CA21941E80D634EE4943141803C451A2AA21941900D915DD8943141E0B324072AA21941D2BA2871CC943141900A30982CA21941405E8192C0943141208564CB31A21941FE79E7CAB49431416043AF9C39A219410A819523A9943141706FF00544A21941A4ADD8BFDA933141C0764F1E41A319416EF085A9CE933141304D848D54A319412ED49A86C590314120C58F3195AA19410166F764A09031412032E6AE5DAA1941ABADD85FFA8F314100E3361A17AC1941FBCBEE8908903141F0CA10478AAC19412D6EA3E10B903141801E166A81AC194102D578E9A390314100CE1951EEAA19412ED49A86C590314120C58F3195AA1941D81B7C41E68F3141E07493984CAC1941996588C3708F3141506DC5FE84AD1941E2E00B73708F314190C3D3ABB0AD1941459D80A66F8F3141E078E9A61FAE194109F9A047F78F31417027A009B8AC1941D81B7C41E68F3141E07493984CAC19410300000002000000000282000000028900000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(1336265 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1337384, N'{5D4AA56C-3C98-4177-9E33-775AD21D9975}', N'014612381', 3, N'NO_PLAN', 11706311, N'14612381', NULL, N'760-009252.070', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 12', N'88,18', N'', N'THAT PART OF FRACTIONAL LEGAL SUBDIVISION 12 OF SECTION 12 TOWNSHIP 88 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT LYING SOUTH OF BEATTON RIVER', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:30:07.000' AS DateTime), 6342, 460, 0xBD0B000001041D000000CEDEE0EB142D3441C0C3424DBFE43341371AC07B1C2D34418C5AD3DCC1E433416D1B0D00242D34410C7C6192C4E43341E9D9AC7A2B2D3441684BC867C7E43341EE3845E7322D3441F8088A5FCAE4334166F7E4413A2D3441DCC7987BCDE43341CA6D3480412D3441B069DED1D0E433416C44698F482D3441CC5F768FD4E4334100DE02894F2D3441CCF5287CD8E43341A679C789562D34418C348057DCE4334107C58F915D2D3441348A1F23E0E43341E2460398642D344174E09CF1E3E433414750FC986B2D3441D40B93C9E7E4334147E17A94722D34417C7AA5ACEBE43341B4FC8754762D34418C635DBCEDE433412A287E8C7B2D3441A479C7C9A8E433417F613255BF2C3441C0BAB8AD9AE43341C720B032C42C34413CA4DF7E9DE433417D51493DCB2C344104F01648A1E43341E2581757D22C3441648FC2F5A4E433418E31776DD92C34415C39B4A8A8E43341CE88D27EE02C344150840D6FACE4334142355E9AE72C344198FF901EB0E43341FA285CCFEE2C3441C8BAB88DB3E4334137D6C52DF62C3441C84D6290B6E43341B8490CC2FD2C3441DC809503B9E4334106B5A679052D3441186C781ABBE43341CA073D3B0D2D34410088F41BBDE43341CEDEE0EB142D3441C0C3424DBFE4334101000000020000000001000000FFFFFFFF0000000003, CAST(1337384 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1337582, N'{A89FE6A1-22FD-4486-811E-E67015569AEB}', N'001622579', 1171692, N'NWP8556', NULL, N'1622579', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2013-02-26T00:00:00.000' AS DateTime), N'REM Parcel A', N'REM Lot 1', N'', N'PARCEL "A" (REFERENCE PLAN 11507) LOT 1 DISTRICT LOT 24 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 8556 EXCEPT PLAN EPP25818', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:37:09.000' AS DateTime), 308, 81, 0xBD0B0000010405000000E8F21F12C1B13241309D80A6BA811C41BE0E9CF3C7B1324170545227EE811C41BD529661E0B13241005917B7A8811C41D0BCE354C1B1324120A91350A3811C41E8F21F12C1B13241309D80A6BA811C4101000000020000000001000000FFFFFFFF0000000003, CAST(1337582 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1337648, N'{B38F19A7-A408-4CE8-A492-E7561DD6B03F}', N'015757609', 472336, N'NEP1499', NULL, N'15757609', NULL, N'7866261000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 23', N'', N'', N'THAT PART OF LOT 23 DISTRICT LOT 9953 KOOTENAY DISTRICT PLAN 1499 INCLUDED IN PLAN R110', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:43.000' AS DateTime), 4, 16, 0xBD0B0000010404000000FA65F7E4EBDD394130A69B44DA7D1E41177C6192ECDD3941D0D85F76D77D1E41D4A370FDE5DD3941500AD7A3C77D1E41FA65F7E4EBDD394130A69B44DA7D1E4101000000020000000001000000FFFFFFFF0000000003, CAST(1337648 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1337741, N'{5F5362EC-B923-4638-9243-FCA8291D2EC5}', N'016027736', 468350, N'NEP805', NULL, N'16027736', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 6', N'', N'', N'THAT PART OF LOT 6 DISTRICT LOT 4592 KOOTENAY DISTRICT PLAN 805, SHOWN OUTLINED IN RED ON REFERENCE PLAN 97999I, EXCEPT PART INCLUDED IN SRW PLAN 17361', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:32.000' AS DateTime), 1178, 250, 0xBD0B0000010408000000EE2FBBC725DD3941308C4A6AD7971E41184850BCFBDC39416019E2D8C1971E418CB0E1A9F9DC3941307AA52CFE971E413CC6DC951FDD39416009F9A011981E4141A4DF5E6FDD39417055302AFD971E415227A0495FDD3941801E85EBF4971E411E5A64BB4DDD394170B0E1E9EB971E41EE2FBBC725DD3941308C4A6AD7971E4101000000020000000001000000FFFFFFFF0000000003, CAST(1337741 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1338355, N'{6E12F485-D8D1-4ADB-BFA9-8B8E1B306403}', N'007722591', 246698, N'PRP1076', 35722551, N'7722591', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 48', N'Block 2', N'', N'LOT 48 BLOCK 2 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:44.000' AS DateTime), 290, 91, 0xBD0B00000104060000000532E66E682D2C4154F38E337DA1304150840D4F2B2D2C41CC0E9C7366A13041DE68002F222D2C4180855A936CA130418416D98E5E2D2C41382AA9F382A130419DD6346F5F2D2C4164BC745383A130410532E66E682D2C4154F38E337DA1304101000000020000000001000000FFFFFFFF0000000003, CAST(1338355 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1338522, N'{3B3EBFCC-0D65-4897-9E09-AF67527013C6}', N'006080944', 495600, N'NEP69X', NULL, N'6080944', NULL, N'7075553000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 35', N'', N'', N'SUBLOT 35 DISTRICT LOT 1236 KOOTENAY DISTRICT PLAN X69,EXCEPT PART INCLUDED IN SRW PLAN 14293', N'0163', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:21:15.000' AS DateTime), 1340918, 10086, 0xBD0B0000010461020000344547F29DFB3841B05DDC466C171E4159C563579FFB384110379D6B27171E4159378963A0FB384190D62377E2161E4103AC9B16A1FB3841802F9F709D161E41BE7B8870A1FB38416016405F58161E414E484671A1FB38414081384A13161E41F2FDD418A1FB384130C7BA38CE151E4166A0C30AA1FB384100B6832AC8151E413A2C1F04A1FB38411088811BC2151E412441E804A1FB3841F0E8450CBC151E4136CC1E0DA1FB3841D08A62FDB5151E410608C21CA1FB3841B01569EFAF151E41867CD033A1FB3841201CEBE2A9151E41F2EBC079A1FB3841A0F1D2CD91151E41E67A0448A1FB3841109DFE7A7B151E4184CD9A05A1FB3841C098E02A65151E41233586B2A0FB3841B03740DE4E151E41DE97C94EA0FB384160ADE49538151E41B07068DA9FFB38414009955222151E4143CF66559FFB3841902A18150C151E41407958C89EFB3841405F07CEF3141E419BFA03F89CFB384120D95617AF141E419A8A38CF9AFB3841E06C9E896A141E41028E2F4E98FB38417034FC2B26141E4100932B7595FB3841B04A8905E2131E41424A784492FB3841600F591D9E131E41F27E6ABC8EFB3841706C787A5A131E4179E926718DFB38419001BC854E131E41DA6800AF85FB3841800E2D3211191E419453742484FB384100B150EBED1A1E41F0C9C38282FB3841901A2FDDDC1A1E41625DDCC67DFB384170158C4AB51A1E416A19E2F87BFB384100BC0512A41A1E41C15B20017BFB384140D2DE60991A1E41E6D022FB78FB3841B0B88D06871A1E41FEE68C2875FB3841504E6290671A1E415727738274FB384150C2BDC6601A1E415AB093D573FB3841D027B3075A1A1E414054F92173FB38412098AE53531A1E410351AF6772FB3841D07D1BAB4C1A1E41DC4FC1A671FB3841808B640E461A1E4156643BDF70FB3841C0B6F37D3F1A1E41FC088A3F72FB3841C09BC4A006191E414482E2A77AFB384140B6F3FD33121E4122941EAE7AFB384100DD1C0332121E41E07233A97AFB384150B60A0830121E41DCD92A997AFB3841E095A8102E121E41C382247E7AFB3841B084DA202C121E41BEE655587AFB3841A08A753C2A121E4194D409287AFB3841E01D386728121E41E4BF9AC078FB3841D0CD31FE16121E410E344A5377FB38414095D39C05121E4120CD1AE075FB3841303C3D43F4111E41D7310F6774FB3841F07B8EF1E2111E41A4132AE872FB3841D000E7A7D1111E41AE2E6E6371FB3841A0666666C0111E414C0C02EB35FA3841C096908FE0031E41E024068121F938419038D64555031E419C779C620EF93841F0B4A6794B031E41A545B61308F93841D0C798BBA1031E41D868006F01F9384120BE3099F7031E41548D97CEFDF8384120D9CEF722041E4155B1BF8CFBF838411020D2EF3B041E415E545227F2F8384140ADFADCA0041E41CEAACFB5E8F83841A033A2B405051E4106CE1991E7F83841D098BB9611051E411EDBF95EE6F83841D04082621D051E41B896908FE3F8384110BE309937051E419E802662E1F83841D0CCCCCC4A051E4190E4F2DFD7F8384100C139239C051E4158522740CEF8384100819543ED051E418CA7576ACAF83841C096900F0C061E4167215E36C8F8384150770BB01C061E41D2072DF0C5F83841904C19292D061E415470F097C3F8384180C47A793D061E4152CED52DC1F83841A0A1F39F4D061E4174EF0BB2BEF83841F0D24A9B5D061E4135F8C224BCF83841308C4A6A6D061E411D5A8ABAB8F83841C0A42DE282061E416CCD37A9B5F83841900FC72C99061E4196C6F4F3B2F83841B0D61C33B0061E4145D68B9DB0F83841E08373DDC7061E41EFC865A8AEF83841B0956613E0061E41012B8716ADF83841B0A301BCF8061E4182C0CAA1ACF8384150C2F52803071E41CD6F5F07A9F838413037894167071E41C68F3117A7F83841C0E53F24A7071E4114E02D70A5F8384100530523E7071E41AABFECBEA3F8384140C66D3435081E415417B751A2F8384170D7A3F086081E412EBD3365A2F83841E064778098081E41701315B2A2F8384180B47006AA081E4131B42738A3F8384190B0D876BB081E4124FD11F7A3F8384180AD06C6CC081E41904B54EEA4F83841803768E8DD081E418551491DA6F8384160CE88D2EE081E4146EA0434A8F8384110AB3E570D091E4170949C1DA9F8384120FB60061C091E416EF7CEF9A9F8384150606DC22A091E4188A990C8AAF838417057A08A39091E4142F3D689ABF8384100BC355E48091E410FD0973DACF83841C0D2683C57091E41CAEEC9E3ACF838416053742466091E41189E5E49AFF8384170CB7FC8A4091E41568638B6B0F8384150EA0434D0091E41E5B584BCB2F8384120E8D92C0A0A1E414AD8F0F4B3F838416044696F270A1E411695D409B5F83841F04D62103E0A1E410CACE9F7B5F8384180D998F14E0A1E418D2EE1FEB6F83841B045AABB5F0A1E417434971EB8F8384160B04B6C700A1E41B374E456B9F83841B0B23501810A1E418B4A9EA7BAF8384170AC2478910A1E4199BB9610BCF838418016D9CEA10A1E41505968E9BDF83841B0E6C512B70A1E414E64069ABFF8384160B0ED8BCC0A1E4122301122C1F8384130BE9035E20A1E4160093281C2F83841F0A4E40AF80A1E410A491BB7C3F83841E04D15070E0B1E41946588C3C4F83841D00A4625240B1E4146EA04B4C5F838416091ED7C3C0B1E417EBA0D0EC6F8384100FA5E6A470B1E411ED5255EC6F838416062A55C520B1E41A81749A4C6F83841701F30535D0B1E4128E373E0C6F83841B04D6E4D680B1E41721CA312C7F83841D0D8CE4A730B1E41412CD43AC7F838414083C04A7E0B1E41D68AFD85C7F8384110CCEE499C0B1E410AD360C3C7F83841200369E5AC0B1E417A9BAB12C8F838416037257CBD0B1E41E91FD873C8F838417098EE0CCE0B1E41674FDFE6C8F8384170C29096DE0B1E419ECCB86BC9F83841C0D7D717EF0B1E415FEE5A02CAF83841D096908FFF0B1E41246519E2CAF83841C04F1E96130C1E41A0D768DFCBF8384110104890250C1E4187FCFAFACCF8384170C11D6E370C1E41104F9D34CEF83841708C702C490C1E4150EF178CCFF83841903717C85A0C1E414EAC2D01D1F83841B0B6EE3D6C0C1E41C10E9C93D2F8384190B9DA8A7D0C1E41D674D77BD3F83841809488E6880C1E4111904542D4F838413006FE69940C1E4136157AE6D4F838415078F20EA00C1E41AC661B68D5F83841800C0BCFAB0C1E4166C5E2C6D5F83841C015DEA3B70C1E419A779C02D6F838415094F686C30C1E41E695B24CD6F83841B0BDC117DB0C1E4102D57889D6F83841E09E3CACF20C1E41DCF0F48AD7F8384100006F81660D1E41D4915C7ED8F8384120F46C56DA0D1E4195F606FFD8F8384190FC18F3240E1E4146E17A54D9F838416005A3926F0E1E41EE7C3F95D9F8384190B07268950E1E414E4013E1D9F838413041F1E3AC0E1E41BE6EB021DAF8384140C06834B60E1E415D8F9997DAF83841F0000364BF0E1E41927BDA41DBF8384170B0BA5FC80E1E41A1AA121FDCF8384100EBF514D10E1E419C0B782DDDF83841F0C0AC71D90E1E41F8B9DA6ADEF83841708A8E64E10E1E4170CCC234E1F8384110C10934F20E1E4182C27ED5E3F83841E04F5F6C030F1E411484184CE6F83841E0974207150F1E41BB62A997E8F83841F0EC42FE260F1E41396E5AB7EAF8384160F0CD4A390F1E41FCC264AAECF83841A0F831E64B0F1E418EA98231F4F83841204547729C0F1E41BD529661F8F83841F04F8D97CC0F1E414C9D8086FEF8384170E5D0221D101E41243108AC01F93841103D9BD54A101E41C0C5EE0903F93841B036238061101E414D49B22904F9384140B90A6178101E4151E3CC0A05F93841D096AD6D8F101E4163E0D5AC05F938417049539BA6101E41BCE2810F06F93841F0F033DFBD101E414C05A33206F9384190567D2ED5101E417B64955406F93841904370A6E5101E4164C9ECB606F93841D016310EF6101E41D0F44A5907F9384120E8065606111E411F4B143B08F93841F066576E16111E416969705B09F9384100CEB54726111E41F4F44AB90AF93841F0A9F1D235111E4160764FBE0CF93841D03B4ED149111E417026A2990DF93841E01167CA51111E412FC8957A0EF9384100B6ACB959111E41215123610FF938413095DF9E61111E410A8A434D10F93841906CC07969111E41F50EEF3E11F93841604B104A71111E41764F1E3612F93841D096900F79111E41F4F44A591EF93841506B9AF7D6111E41AD2E6EE32AF9384130DD240634121E4168B3EAF32FF93841702BF69757121E415AE5D00233F9384180FAEDEB6B121E4174F90F2936F9384160DE710A80121E419689B95E37F938419058C9D287121E4187B8408C38F9384170F7FDAE8F121E417E2491B139F9384100B5879E97121E41BEF996CE3AF93841203FDDA09F121E4101F43EE33BF93841C0FC73B5A7121E41D75F76EF3CF93841501AC0DBAF121E41290692413EF9384140A8C0BCBB121E4108AC07513FF93841302BD106C8121E41282CD41B40F9384180649FA2D4121E4134AD76A040F9384180F53D78E1121E41307CF3DD40F93841B0C8516FEE121E41EAE9D5D340F93841304C406FFB121E419328318240F93841B01F5E5F08131E415227A0E93FF9384190E61D2715131E41E2B562D63EF938415054F5EF2B131E41A767303F3EF938413080E70043131E41C2651D253EF93841B004D32F5A131E411E5059883EF9384160BD5F5271131E4162E62E683FF93841401D4C3E88131E412A5305C340F93841405EBAC99E131E413C8B6C6743F9384150098A9FC3131E41312AA97347F93841501FF4ECFB131E419FABADD848F9384160D6C56D0F141E4186855AB34BF9384160B96B8937141E41D878E9664EF93841B07268915F141E410693A9E250F93841A07A142E88141E412A75025A53F93841505DDCC6B0141E41CDD556AC56F93841A06C787ADF141E41894160455AF9384190DD93070E151E41C920B03260F93841F0C342AD57151E41C6C3424D66F93841E0E15817A1151E412A287E0C69F93841D0FBA9F1BF151E414066110F6AF9384110921B75CA151E41BB9F07196BF93841A08B02EDD4151E41F896582A6CF9384170E00B59DF151E411CD4FB426DF9384130E5E4B8E9151E412CA5E8626EF93841B0503B0CF4151E414C1E168A6FF93841503CBD52FE151E4116C05B6072F93841D0F8A06716161E4156A835CD74F938419027A0092A161E4146696F5077F9384180B5157B3D161E4102DE02E979F93841C0C876BE50161E41BC86A7977CF93841A03E57DB63161E41F6205F1F80F93841D052868E7B161E41CD47C2D783F93841108666C992161E41A8F7D0BF87F93841F03CB985A9161E41415C7ED68BF9384140E361BDBF161E413819B11A90F93841308D676AD5161E418095438B94F93841A094F686EA161E41DC7A146E99F9384150AE47E101171E417F04C5AF9CF938416039B44812171E41081B9EDE9FF9384170B1BFEC22171E4138234AFBA2F9384140F163CC33171E418A38D605A6F93841E088D2DE44171E419C23B9FCA8F93841809FAB2D56171E41701283E0ABF93841600E2DB267171E41EB0434B1AEF9384180B1BF6C79171E41528D976EB1F93841F0627F598B171E41954C15ECBBF93841E08173C6D1171E4144C6DC55C6F93841B0D5566C18181E4188FD6577C8F93841A08F31F726181E41C476BE1FCBF93841C0490C8235181E417B7AA5ECD1F9384190065F1863181E41FD3A70AED8F9384100143FC690181E417436AB3EE1F9384120273188CB181E41A2CDAAAFE9F9384140984C9506191E41ED63CC7DF6F93841105839B461191E41944C152C03FA38416050FC18BD191E41D812F2C105FA3841006A4D73D0191E4106C33A2907FA384150895784DB191E41D09D858608FA384120AE4DA9E6191E41B9F7C0D909FA384160849FE1F1191E4178A7DB220BFA384120BEBB2CFD191E41F806C5610CFA3841D01A108A081A1E4120F46C960DFA3841806B09F9131A1E41962A18B510FA384170CA32C4331A1E418039B3B911FA384180AF3CEE3E1A1E4140E06AB612FA3841007196234A1A1E41344437AB13FA3841C0E2E663551A1E41BEC9109814FA38411080D4AE601A1E417014F07C15FA3841C07005046C1A1E415E07CE5916FA3841E0891F63771A1E41DC5BDC3817FA384120C653E3841A1E418C070DE017FA384150A7A195921A1E419FDDAF4E18FA3841C0709A6BA01A1E411A49508418FA384110CFA956AE1A1E41C3C7B58018FA3841A0362548BC1A1E41AA25E44318FA3841A0575B31CA1A1E41D34ECD7017FA384130DC150CE41A1E416C58115116FA384170C170B8FD1A1E4108544FE514FA3841009F3A28171B1E41585A502E13FA3841108C634D301B1E412C1C072D11FA384110DD041A491B1E412A5C8FE20EFA384180DB6880611B1E41A5C139000DFA3841D09584AB731B1E41B65BF6E20AFA38411019B16D851B1E4116FB308C08FA3841A0A5FEBA961B1E41E4177CFD05FA38418008CC87A71B1E4156C38F3803FA3841F06ECEC8B71B1E41C67F483F00FA384190FC1873C71B1E416DD092E5F9F93841405F0CA6E01B1E410B12E7F5F2F93841603CF43DF71B1E4164664D81EBF93841E04856030B1C1E412D57149AE3F938413060A6C51B1C1E413CE2A353DBF9384160B6BD5B291C1E41F1D24DC2D2F93841C0E53FA4331C1E415CEC2F9BC8F93841603F355E3D1C1E4118E25877C3F9384100A392BA411C1E41860D4F4FBEF93841C035CDBB451C1E4198779C22B9F9384170AD695E491C1E4170C5FEF2B3F93841407958A84C1C1E418CD3ED27B0F93841109270BA4E1C1E41E5A9005AACF9384190319B70501C1E41C280C289A8F9384170B599CA511C1E413EE5BEB7A4F93841C0A73AC8521C1E4148A581E4A0F9384110C85969531C1E4194BB96109DF93841500DE0AD531C1E41141DC9A58EF9384100A24536531C1E416C09F94085F93841A04E4013521C1E4156AF01B580F93841206DC914511C1E41E6A8892C7CF93841A04C665B4F1C1E41A40E71A977F938411088CDE74C1C1E41FCBF952D73F9384160C402BB491C1E41BB9DD2BA6EF93841604356D6451C1E4172C5FE526AF93841005A643B411C1E41B22A244F66F9384150FB697F3D1C1E4108E31C3F62F9384170C482B43A1C1E417ECE70265EF9384160051CDD381C1E415250AF085AF93841B06ECFFA371C1E41AD366CE955F93841E0AC610E381C1E41EB9E3CCC51F93841D0BDC117391C1E41AC4E949D4CF9384130B7D61D3C1C1E41329A906347F938410092F4703D1C1E41FA6E172742F9384180F6D90E3D1C1E4122EA12F13CF93841D0EA2DF83A1C1E41362B62CA37F9384120B17E30371C1E419C39CABB32F93841D0BD3BBE311C1E419216E7CD2DF93841C0C0AAAA2A1C1E41DE141D0929F9384100DCD701221C1E4173C1340326F9384170BB78821C1C1E4176A1A6EB22F93841A09D0AAA171C1E41D567B2C41FF9384160AE137C131C1E41A8FAA2901CF93841501C9EFB0F1C1E4138C8CC5119F93841C0E7352B0D1C1E414F158C0A16F93841F003E70C0B1C1E415717B7B1CCF83841E0293A92E31B1E4195FAC517CCF83841E0398D6DE31B1E41D61FAD7DCBF838415054A285E31B1E411847EBE4CAF8384190A73DDAE31B1E4144DCFB4ECAF83841400D8D6AE41B1E41E64853BDC9F8384120152A35E51B1E4142575B31C9F83841C07D1D38E61B1E4166683712C3F838415021998AF51B1E4178CFA93DBDF83841C000C695061C1E419A9F6DBBB7F83841A0AF0A43191C1E4144C5D092B2F838417061A3792D1C1E41CA56AACAADF8384110C0C21E431C1E41A8825169A9F838410074B5155A1C1E417886F733A6F83841307C43116E1C1E411CB95B46A3F83841802623BA821C1E41349CC5A2A0F8384130823F00981C1E41C212434B9EF83841703909D3AD1C1E4196C7A6419CF8384110768321C41C1E4128C286879AF83841F01951DADA1C1E41045B8AEC99F8384110F81A42E51C1E41E4A7387D99F83841307997CCEF1C1E41547A0A3A99F83841F0D8556EFA1C1E412CBC482399F83841B015CC1B051D1E413C200C3999F83841507763C90F1D1E41CA073D7B99F83841D01E856B1A1D1E41A41AC3369AF8384110771E622E1D1E41C0441C119BF83841E0A01845421D1E4116DE270A9CF8384140347A11561D1E4162A7C0219DF8384130294DC4691D1E41A0CFBC579EF83841A04B9F5A7D1D1E4142FAEDAB9FF83841A0A982D1901D1E41365EBA49A2F83841D03845C7B41D1E41FB666855A3F8384190871B79C31D1E411AB52E71A4F8384150AB0518D21D1E41A1E6F79CA5F83841609CE9A2E01D1E41BE64ADD8A6F83841D0D5AE18EF1D1E4178653724A8F8384140683E78FD1D1E4194ED7C7FA9F83841401283C00B1E1E41CAEEF324AAF83841B03768EB0F1E1E419CD9EEE3AAF838415054C6CF131E1E41F45390BAABF83841A000E363171E1E4188E6BFA6ACF83841306DCC9E1A1E1E41A1392FA6ADF8384190C06F781D1E1E41AFD85FB6AEF83841C042ADE91F1E1E41A4747CCEB1F83841B0ABD5E1261E1E41F465F1FFB4F83841804997182D1E1E417B02CC47B8F83841A08B3588321E1E41D4F204A3BBF8384160B9AB2B371E1E412EFE820EBFF838410094B1FE3A1E1E4196E61D87C2F83841B048BFFD3D1E1E4159C8BFF8C9F8384160B2AD2B421E1E41BC88B47AD1F83841E0C08DA8431E1E4158CD71FDD8F8384180104B71421E1E41D19C6B71E0F8384190EB69883E1E1E41048D34C7E7F83841E01702F6371E1E4131B29DEFEEF838419014AEC72E1E1E41FD44CEADF0F83841E001A8A12C1E1E4184A6DC71F2F8384160BB85CE2A1E1E41139AD23AF4F8384140B4454F291E1E411237B707F6F83841A0AEB824281E1E4190708FD7F7F83841A049814F271E1E41169E5EA9F9F8384110A913D0261E1E416B780FFEFBF83841F01A7B7F261E1E412459FF52FEF8384120492055261E1E41520A07A800F9384180FC0551261E1E417854FFFC02F9384160792C73261E1E411001C15105F93841408291BB261E1E412CDD24A607F938415055302A271E1E41FD3A708E1AF93841A02EDDA42C1E1E4170C5FE7225F9384100F54AD9301E1E41F49E3C0C2DF93841A0D5566C341E1E416591ED7C32F9384190D6346F371E1E4195B96BE937F93841306132D53A1E1E41582041513DF938417075029A3E1E1E41CCAACFB542F938418080B7C0421E1E4148EA041448F938410039D645471E1E41F63A706E4DF93841009F3C2C4C1E1E41986E12C352F9384170204171511E1E4184FB3A1058F93841E073B515571E1E41D0F1D02061F9384110DC32A25F1E1E41149C044C6AF938417053052C661E1E41451BB58A73F93841908117AE6A1E1E418B69B2D57CF93841C027E8246D1E1E412CF1C22586F9384170D58C8E6D1E1E41332AA9738FF93841C067B3EA6B1E1E41BEF5283C93F93841E08C28ED6A1E1E41F6B9DAEA9EF9384180A67947681E1E41F853E3C5A4F9384190726891671E1E41751B0DA0AAF93841D0C8E53F671E1E4172B5157BB0F9384140635D5C671E1E41A857CA12B8F9384100061214681E1E4110C7BA58BEF93841D078E926691E1E4132FF219DC4F938419079C7A96A1E1E41E4482EDFCAF93841B09A779C6C1E1E413B92CB1FD1F93841C0482EFF6E1E1E4144136163DAF93841A0C3422D731E1E41067E0357DEF93841106436A0741E1E41546B854CE2F9384100528BB5751E1E41B2405C43E6F9384160A01B6D761E1E41F434FD3AEAF938415035CEC6761E1E415863DD32EEF9384140CB96C2761E1E4166DE712AF2F9384100F77560761E1E417E734634FAF938419079C7A9741E1E417AF0F85EFEF9384170EA738B731E1E41871AE78602FA3841208290E7711E1E41AE6F05AB06FA384120D386BE6F1E1E41416349CA0AFA3841C0EAE1106D1E1E41E8A0A9E30EFA3841C02F4EDF691E1E417A4F1EF612FA3841A030992A661E1E41107A366B19FA3841D0C56D345F1E1E41E0C798DB1FFA3841C023B9FC571E1E417A029AA835FA3841706DC5FE3E1E1E4103D7A3704BFA3841D07F48BF251E1E419E1A2F5D5FFA384150B4C8F60D1E1E41B6F3FD3473FA3841202CD41AF51D1E411873D7927AFA384110948705EC1D1E41A9E8482E80FA384150E3A59BE51D1E41EC0DBED085FA3841C02A1895DF1D1E4192A672FE86FA384120386476DE1D1E414AC02D2E88FA3841200D3C7CDD1D1E41F98AA85F89FA3841A0FAD9A6DC1D1E4120CE9B928AFA3841D0C16FF6DB1D1E4178F9BFC68BFA38414083266BDB1D1E41A635CDFB8CFA384150B81E05DB1D1E41FD9908BB9EFA3841B0EA73B5D71D1E41735F070EA8FA3841F041CFE6D61D1E411E94632EAAFA3841C01D62EBD61D1E41DC82834EACFA384100AC942BD71D1E4166B3FE6DAEFA3841D0975AA7D71D1E41F9CC6C8CB0FA3841001F9C5ED81D1E41A2AA65A9B2FA3841A0113651D91D1E41026F81C4B4FA384150DBF97EDA1D1E410063742CB6FA384170C0AC40DB1D1E417E7DDE95B7FA3841F08F38D0DB1D1E41BFF84F00B9FA384160E5702DDC1D1E41A6BD586BBAFA384160EB3858DC1D1E412C8688D6BBFA384140688350DC1D1E4162006F41BDFA3841A0BD5216DC1D1E41F654EC65BEFA3841F0049EBBDB1D1E4166F12987BFFA3841C0837CF7DA1D1E410C1CC9A2C0FA3841E0A189CBD91D1E4176E476B6C1FA3841A0903A3AD81D1E419403F1BFC2FA3841C01DD946D61D1E41A6980ABDC3FA384120D07CF5D31D1E417AB9B0ABC4FA38414051024BD11D1E41FBCBEE89C5FA3841903A014DCE1D1E4188DB8A7DC6FA384160D679BDCA1D1E41CC56C682C7FA3841C0B6B17FC71D1E419C96EB97C8FA384110061799C41D1E41C84A2ABBC9FA384100E2850EC21D1E411E849AEACAFA3841F03540E4BF1D1E41CCE53F24CCFA3841D09AE61DBE1D1E41A6FAF1EECEFA384140CB1BD1BB1D1E41DEF48CBFD1FA3841E004CE05BA1D1E41E8A79994D4FA3841A069ECBCB81D1E41EC969E6CD7FA3841E03322F7B71D1E414BB92046DAFA3841C05DD6B4B71D1E41E93FA41FDDFA3841206B2BF6B71D1E41B821EAEAE0FA3841D0DC8282B81D1E41973EC7B6E4FA3841C0CEF8A6B81D1E4172DA8982E8FA384140958663B81D1E41193E804DECFA3841608638B8B71D1E419CD7F816F0FA3841D0F52DA5B61D1E41F05A42DEF3FA3841C030992AB51D1E41EA8C288DFAFA3841B08785DAB11D1E41BF7D1DD800FB384190825149AE1D1E41B7C8761E07FB3841405DDC46AA1D1E413A80B7600DFB3841D01795D4A51D1E41122DB29D13FB3841404547F2A01D1E413A86BFFA16FB3841606991739E1D1E415470A15C1AFB384150D9A7679C1D1E41FC1A63C21DFB3841C0B51ECF9A1D1E41729D0E2B21FB3841408069AA991D1E410E3CAD9524FB384140FBDAF9981D1E4119AE470128FB3841C011A5BD981D1E41ECC9C30238FB384180136143981D1E418E53740448FB38411066F7E4971D1E4194E61D0751FB3841E06A2BF6971D1E411A9E5E095AFB3841104C3789981D1E41480C026B68FB3841D02D90209A1D1E41984C15CC76FB3841D03311369C1D1E4120EBE2168CFB3841500DE02D1B1E1E4172E7FBC991FB3841901FD26F531E1E41506210D897FB3841D0AF0367561E1E41871F634E96FB384170B96B893E1E1E4172567DEE94FB384170666666271E1E415D5452A793FB38418055302A101E1E4108AC1C7A92FB3841B0ABADD8F81D1E417A14AE6791FB3841E045B673E11D1E41A679C7A98FFB3841B015FB4BB51D1E41A167B36A8DFB384170D93D79791D1E413ED6C56D8BFB384140923A813D1D1E41BCFC87B489FB384160B0E169011D1E41D0915C3E88FB3841F0C56D34C51C1E41B61E850B87FB384120B150EB881C1E41F775E01C86FB38412071AC8B4C1C1E41208E757185FB3841002DB21D101C1E415C302A0985FB3841B09D5EA9D31B1E410166F7E484FB3841A00CE02D971B1E41162FDD0485FB3841B0A0F8B15A1B1E410612149F85FB3841F087F45B071B1E41A6ADD85F86FB3841106900EFCA1A1E417A93186487FB38410074B5958E1A1E41994C15AC88FB3841A0F2B050521A1E41B0D85F368AFB384190C0CA21161A1E41FD65F7048CFB3841304ED111DA191E41900F7A168EFB3841E09DEF279E191E41DCF0F46A90FB3841A01C5A6462191E41CAE53FC493FB3841200DE02D18191E411258391494FB3841B00E9CB3F7181E41344547F29DFB3841B05DDC466C171E4142136103ABFB38413075021A041C1E4122EBE276ABFB38417072F98F4D1C1E4175B5153BACFB3841A08F31F7961C1E41E4FBA951ADFB3841F0A8A44EE01C1E41D7F0F40AD1FB3841606132D57B1E1E4120D26FBFD1FB384100CE1951871E1E416C567D4E27FC384100B5A679B31E1E41CADCB544BBFC3841A059F53918051E41A001BCC541FC3841A0D100DEE3041E41769CA2039EFB384130166ACD92041E41F64A59068AFB384160D5E7EA88041E412C6EA3C15FFA384190A52C43F5031E41E10B93E993FB3841A0BD52968F111E41205C57879DFB3841700B141902121E411462E42BA6FB3841908E08D875121E41B152B2D4ADFB384140E34CB1EA121E41E117837FB4FB384110FEAA8260131E4151F8622ABAFB3841D033A429D7131E41312AA9D3BEFB3841504A7B834E141E41913177ADBFFB384110C7BAB867141E41A82DF91DC1FB384190A276FB95141E41FCD8A967C2FB384170C67D50C4141E415AB77A8AC3FB38418010C7B5F2141E41B0015F86C4FB3841A0A8482921151E41D2A64B5BC5FB3841D015F8A84F151E41C84B3709C6FB3841E057CA327E151E415DF87F2FC6FB38414038359E86151E4134AF7949C6FB3841201A8F0C8F151E4163F92057C6FB3841A021B87C97151E41D8047458C6FB3841E03490ED9F151E414AA4724DC6FB3841D023F75DA8151E41784F1E36C6FB384190CCCCCCB0151E411951DADBC5FB384100B150EBC9151E412CE54AF1C5FB38416009C090E7151E41666DB0FFC5FB3841207D733605161E41BEDC0A07C6FB3841C04750DC22161E419D2C5A07C6FB384140A23B8240161E41B35C9E00C6FB3841D0C71A285E161E411873D7F2C5FB3841A0F1D2CD7B161E413EDF4FCDC5FB38415035CD3B95161E417C70107EC5FB38416009EB59BB161E41F2D2DC14C5FB384120F31B74E1161E414A13B891C4FB38419034458907171E41A6FEA5F4C3FB384180364C982D171E418E22AB3DC3FB3841908E16A053171E41CECCCC6CC2FB3841E0088A9F79171E4102B37B52B8FB38410068226C09191E414C03782BB8FB38419035CD3B2A191E41DF718A6EB5FB384170B0E1E970191E41082428FEB2FB384160355EBAB9191E4122C9E5DFB0FB38419032C4B1021A1E411061C313AFFB3841A03A01CD4B1A1E414450FC98ADFB384130DD2406951A1E415A204171ACFB3841A0187357DE1A1E415EFE439AABFB3841F07E6ABC271B1E410A341116ABFB384180C3D32B711B1E418C5CFEE3AAFB3841902FDDA4BA1B1E4142136103ABFB38413075021A041C1E41020000000200000000022702000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1338522 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1339080, N'{08BEADDB-3A5A-47D9-99D6-D099265FDC83}', N'000016985', 3, N'NO_PLAN', NULL, N'16985', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 194', N'', N'', N'THAT PART OF DISTRICT LOT 194, ALBERNI DISTRICT, INCLUDED IN PLAN 277 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:28.000' AS DateTime), 4982, 852, 0xBD0B0000010446000000D0915CFEE396304160D9CEF723231D41782D21FFDF96304180075F1830231D4107560E0DDC963041306D567D3C231D41C454C128D89630416079582849231D41A4605452D49630410098DD1356231D4103D57889D09630412038674463231D41A0CDAACFCC9630419058A8B570231D41C7E53F24C99630412042CF667E231D41D166D587C5963041A0CFD5568C231D41FE9908FBC1963041706FF0859A231D41D81B7C81BE963041B0ADD8DFA8231D411C5A645B90963041901AC0DB6A241D415BCA32648B963041906588637F241D4187635D5C869630419093188493241D410424283E8196304110F1F44AA7241D4131DD24067C963041E0EA73B5BA241D417DFB3AB076963041503B70CECD241D4160E5D04271963041E0718A8EE0241D41524013C16B96304100211FF4F2241D4161BA492C66963041C0FEB2FB04251D416F787A8560963041E0770BA416251D417A832FCC5A963041F08C28ED27251D4186C954015596304110F4FDD438251D41854160254F96304150D1225B49251D413190A0384996304180B6627F59251D41AA35CD3B4396304130EC2F3B69251D419D5E292B3D963041202BF69778251D416F8104C516963041D004C58FD7251D4166006FA10D963041506FF005EE251D4133772D0118963041504DF38EEE251D412B65194224963041400E2D32EF251D41868EE49243963041F0F97EEAA1251D417836ABBE49963041301AC05B92251D4189C954E14F963041D0A7C64B82251D41901804F655963041E0C9C3C271251D41164850FC5B963041805DDCC660251D4107CE19F161963041006688634F251D419F3C2CD4679630412076E09C3D251D41243867A46D963041504547722B251D41BB490C627396304160423EE818251D41D3DEE00B799630419023B9FC05251D4183AEB6A27E963041B07BF2B0F2241D41FA5C6D25849630413070CE08DF241D419F33A29489963041A0006F01CB241D41D734EFF88B963041F0F36CD6C1241D4163DC46E38E963041C00B93A9B6241D415417B71194963041D0240601A2241D41A1EFA72699963041B096900F8D241D4124A08950C7963041F04F8D17CB231D41600A4748D3963041A0F788B29B231D41E0F1ADEEDF963041705B6A3A6F231D41BC365238ED963041A0CC58D745231D4135533419FB9630415025B3AE1F231D412C31CC8409973041A006EEE2FC221D41E07A146E1897304140BC7493DD221D41CBEEC92360973041D087F4DB53221D4123D26F3F60973041F041CF6638221D4143355E5A60973041B057CAB21D221D41DBCEF713139730412075029AB1221D41E04603980E97304140014D84BA221D41EBB7AF230A97304120363CBDC3221D416207CEB90597304180810445CD221D4163FE435A0197304150992A18D7221D41C3D32B05FD963041C0EA7335E1221D41927571BBF8963041F02CB29DEB221D410F363C7DF496304120174850F6221D41BF30994AF096304170CCCC4C01231D4192537424EC9630410098DD930C231D41450C020BE8963041C052962118231D41D0915CFEE396304160D9CEF723231D4101000000020000000001000000FFFFFFFF0000000003, CAST(1339080 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1340579, N'{284DEBE3-E5F7-493B-B9C6-71FEAEB0F50E}', N'013120719', 3, N'NO_PLAN', NULL, N'13120719', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 5637', N'', N'', N'THAT PART OF DISTRICT LOT 5637 KOOTENAY DISTRICT INCLUDED IN PLAN 617QQ SHOWN GREEN ON PLAN 8744', N'0163', N'0004', N'NO', N'ICF', 3, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-07-09T13:32:44.000' AS DateTime), 39241, 2377, 0xBD0B00000104C2000000A6F1D2CD9B813841F0B7AF0356D41E41E9482EFF9C813841F082C04A40D41E41BE7493189E81384130FF217D2AD41E41F4F44A199F8138418051499D14D41E41DC12F201A0813841A00C71ACFED31E41AC6054D2A0813841C0E76AABE8D31E41168C4A8AA1813841F09AE69DD2D31E414D27A029A28138419025E483BCD31E417AF2B0B0A2813841E064AA60A6D31E4120DBF91EA381384140EA043490D31E41A033A274A3813841D0B6D1007AD31E4192A0F8B1A3813841D0A679C763D31E41053411D6A3813841F0DEE08B4DD31E41306EA3E1A3813841D016D94E37D31E41BCF3FDD4A3813841E071F90F21D31E4130BB27AFA3813841401895D40AD31E41AD7BF270A3813841C0073D9BF4D21E416007CE19A381384190D40968DED21E4152158CAAA281384160A3013CC8D21E415EEE5A22A2813841802BF617B2D21E41E01B7C81A1813841702328FE9BD21E4122B072C8A081384120D7A3F085D21E418E06F0F69F813841F0D6A3F06FD21E41E695B20C9F8138415092CBFF59D21E41324CA60A9E813841D076BE1F44D21E4182FB3AF09C81384180F21F522ED21E41F66C56BD9B81384110BE309918D21E41E3E995729A813841F04525F502D21E4124A913109981384190F90F69EDD11E41EA73B59597813841C08F31F7D7D11E41B837F8029681384190E4F29FC2D11E41D12B65599481384170416065ADD11E41BE7D1D98928138414082E24798D11E413E9B55BF90813841D0F0F44A83D11E419FD634CF8E81384100D7A3706ED11E4120A7E8C88C813841F05817B759D11E41BEEC9E1C398138413016FBCB17CE1E4123D26F9F3281384140014D04D1CD1E4178832FAC31813841B02C439CC5CD1E41C554C10830813841205DFEC3B0CD1E41173FC67C2E813841305F07CE9BCD1E419CDD93072D8138419036ABBE86CD1E411C9E5EA92B813841F073B59571CD1E419A779C622A813841B0CFD5565CCD1E4188855A332981384150499D0047CD1E411E5A641B28813841E04F8D9731CD1E416EB5151B27813841F007AC1C1CCD1E41CC20B03226813841304ED19106CD1E41FCE461612581384110FDF6F5F0CC1E41CD5D4BA82481384130166A4DDBCC1E4127CB100724813841B0749398C5CC1E419A081B7E23813841E0D022DBAFCC1E41B40C710C23813841A07346149ACC1E411773D7B2228138417038D64584CC1E412C08AC7C2281384100EA953272CC1E41B372687122813841006A4D736ECC1E41CE66D54722813841A02C439C58CC1E41784F1E3622813841F05CFEC342CC1E419933A21422813841B0696F7037CC1E419EB437B821813841904160E54CCC1E4174C7299A218138417063EE5A62CC1E414EFC189321813841E0F21FD277CC1E41B637F8A221813841405EBA498DCC1E412F5530CA21813841405B42BEA2CC1E413870CE0822813841707B832FB8CC1E4129ED0D5E22813841C075E09CCDCC1E411483C0CA2281384140257502E3CC1E41C2A8A44E23813841701B7C61F8CC1E4190B96BE92381384190A145B60DCD1E4102917E9B24813841706D340023CD1E4150CA326425813841105BD33C38CD1E417A93184426813841908CB96B4DCD1E411A6C783A278138416095D48962CD1E414182E247288138417074249777CD1E419206F09656813841E054302AEFD01E41DEBE0EDC5C8138411087165967D11E4154EC2F3B628138414085EBD19CD11E416C228ABA67813841004B64A5D8D11E412C2CF75B6C813841806688A215D21E414EE18F1B708138417006F09553D21E4194712BF67281384150C7634B92D21E41B80E62E97481384160B8088ED1D21E4152F38EF37581384130E78C2811D31E4138B4C8167681384170F3FDD425D31E412C33331376813841A04DF38E4AD31E4166226CD88881384150F31F52B2D41E4142696F709481384180EBE236C1D41E41B86B091996813841E0907EFBABD41E41BE42ADA997813841705374A496D41E417CA52C23998138411033333381D41E41203867849A813841205452A76BD41E41A6F1D2CD9B813841F0B7AF0356D41E412A5305A30281384160E17A94C8D81E416029CB3001813841007E8CB9E0D81E4116C7BAD8FF8038419021FDF6F8D81E4170AC8B9BFE803841A014AE4711D91E416619E278FD803841900E2DB229D91E410ED7A370FC803841109FAB2D42D91E41749CA283FB8038418010E9B75AD91E4108CE19B1FA8038416086385673D91E412A7E8CF9F980384190DA8AFD8BD91E419E1A2F5DF9803841700E2DB2A4D91E41907571DBF880384180FB3A70BDD91E4109462575F8803841607DAE36D6D91E41E00B9329F8803841004B5906EFD91E41C27D1DF8F780384120D0445808DA1E41BEF5281CF780384110EBE236A6DA1E41ECC9C3C2F6803841A0779C22D6DA1E41A111A53DF6803841108F537406DB1E41095F988CF580384130C9E5BF36DB1E411F85EBB1F4803841E0BB059266DB1E4141575BD1F28038419030992AC6DB1E415375473EF2803841606FDFBDFADB1E4149710794F280384160B1A1592FDC1E418E6132D2F3803841A09782BD63DC1E418A0143F7F5803841D02069A997DC1E41BF8D9900F98038410015CFDDCADC1E41D5F97EEAFC80384110BF0E1CFDDC1E414E6B9A3702813841F0C1172636DD1E41E9C64F8D03813841407A6CE741DD1E410D5A8FEF04813841C0CE76914DDD1E410FC13F5E0681384170BA602359DD1E41E5B346D907813841F0F5559C64DD1E414C08896009813841500184FB6FDD1E4167B3EAF30A813841F0361A407BDD1E41275305A30B81384150C420B07EDD1E41B6B49C680F813841D07973C196DD1E417E5B755F13813841F0D8C952AEDD1E41D01780861781384150A9D75DC5DD1E4122D9A0DC1B813841409374DCDBDD1E41B4F9AE6020813841E0C79DC8F1DD1E41238E751125813841509A771C07DE1E4106D425E62F81384100CBAE1D32DE1E411824878E3B813841607E7C8259DE1E4182E964F747813841E09DFA097DDE1E417A734D0C5581384140E6A0799CDE1E418BA3B3B7628138413057A59DB7DE1E419A6E12E370813841A0825149CEDE1E41A768F25C7D8138414046E817DEDE1E41EE4ED4148A813841B031616EEADE1E4198DA4DFB96813841200FC83DF3DE1E41F04BBC00A481384100386F7BF8DE1E41F05D5715B18138412087FC20FADE1E4138674429BE813841C00C712CF8DE1E41EA3FA41FCB813841C0DA8A7DF4DE1E4102D57809BA813841F053E32542DE1E41DD3CF674AD81384130C8254843DE1E41012058E6A08138419016E90840DE1E41525FFB759481384130FC796E38DE1E416828023C8881384150DE98872CDE1E41182325507C813841502D5D6B1CDE1E41286B85C970813841B097083908DE1E41BDB07FBE65813841E063CA17F0DD1E4163D580445B813841106C7336D4DD1E41845ADC6F51813841B0481BCBB4DD1E41ACF1A45348813841005DB71292DD1E41807B870140813841F093A4506CDD1E41A1BCA8893881384180AC24CE43DD1E416A0B86FA318138411019D0D918DD1E415033D9602C8138410083FDC6EBDC1E412CC47FC727813841D01920EDBCDC1E4188FD65372481384170E61DA78CDC1E41C0847E912281384110DF0B896EDC1E41A7B7EE52218138415045FB1B50DC1E4157759E7C208138410087117631DC1E41D6BB290F20813841C0719DAD12DC1E419F36E00A2081384180F706D9F3DB1E418404C56F2081384190DFBE0ED5DB1E41EA04345122813841F019515A75DB1E4110BE303923813841D0B88D8642DB1E411061C3F323813841A0C2F5A80FDB1E41E2361A802481384160EE5AC2DCDA1E41051B9EDE24813841B0F3FDD4A9DA1E41B047E1BA258138411041F1E30BDA1E4137EF38E52581384140325530F6D91E41EF38452726813841A0B6627FE0D91E4185D2DE802681384160AA60D4CAD91E41A66054F226813841407B832FB5D91E41059A087B27813841A00512949FD91E4152E3A51B28813841E000DE028AD91E41A345B6D3288138417048BF7D74D91E41068A1FA329813841302653055FD91E41148C4A8A2A813841B02C439C49D91E4190CB7F882B813841A05CFE4334D91E410824289E2C8138418048BFFD1ED91E414994F6A62D813841E07F483F0CD91E41EAFBA9D128813841B0825149FCD81E41D13B4E311F813841A01F63EE23D71E4119B7D1E01E813841E01873D727D71E41003411F61C813841F027A08940D71E41C8DCB5241B81384160643B5F59D71E41CCE53F641981384140CC5DCB72D71E416B2BF637048138417003780BB0D81E412A5305A30281384160E17A94C8D81E41020000000200000000025C00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1340579 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1340923, N'{6026BCB5-9D0E-451D-986C-9D00A1368AA6}', N'013978021', 295389, N'PRP968', 23696291, N'13978021', NULL, N'01259.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 6', N'Block 112', N'Section 2', N'LOT 6 BLOCK 112 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:22.000' AS DateTime), 233, 66, 0xBD0B0000010405000000CF22DBB957792B417CE2C7F87B643141891F63AE43792B41482EFF217C643141A5E8486E44792B412C7E8C599364314193900F7A58792B41D85F762F93643141CF22DBB957792B417CE2C7F87B64314101000000020000000001000000FFFFFFFF0000000003, CAST(1340923 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1341554, N'{795BADF9-9123-4889-9F3B-29B97FD86C78}', N'009449183', 3, N'NO_PLAN', 806990, N'9449183', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'185', N'', N'', N'DISTRICT LOT 185, NANOOSE DISTRICT', N'0163', N'0021', NULL, N'ICIS CADASTRE', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2019-01-05T08:35:19.000' AS DateTime), 21692, 629, 0xBD0B000001040600000091B96BC9F81E3141C02CB29D9B1A1D418938D6C55D1F3141F04B3709A71A1D413EBD5216671F3141A0BB961056171D4177E92691FF1E31418003780B4D171D419228ED4DFC1E314100F77560E4181D4191B96BC9F81E3141C02CB29D9B1A1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1341554 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1346597, N'{0F1F9466-5CEA-49B3-BB6B-0D47E3072427}', N'014621088', 4222066, N'KAP942H', NULL, N'14621088', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-12-18T00:00:00.000' AS DateTime), N'PART 3', N'', N'', N'THAT PART OF SECTION 3 SHOWN ON PLAN H942; TOWNSHIP 52 SIMILKAMEEN DIVISION YALE DISTRICT', N'0163', N'0022', N'NO', N'SRW-COMPILATION', NULL, NULL, N'UNKNOWN', N'0', N'10860', CAST(N'2018-06-29T12:22:44.000' AS DateTime), CAST(N'2019-01-14T18:34:25.000' AS DateTime), 10868, 861, 0xBD0B000001041F00000005B5A659ED393641C09F1AAF1F561D41F6285C8FCE393641D0703D0A13561D41CC33978BB4393641208EDE2502571D41FAFBF397973936414084CBCAEB571D41AC59BEC67739364110115D65CF581D413DBB112C55393641702BBD65AC591D415270CCDD2F39364160ED4140825A1D41D8D781F30739364140D6C56D505B1D413FFAEDCB0739364100E9B72F515B1D41829ECD0A18393641E0D781F38A5B1D41A3A2239919393641F0D6A370835B1D41F831E66E1A393641F0B4A679835B1D41406CBDCD2A39364100529AA02B5B1D41B87655053B39364130476253D35A1D419ACB7A154B393641401D17937A5A1D417B62FAFD5A39364170CCD260215A1D41FDB0A1BE6A393641E0B4B0BDC7591D413AAB3E577A393641309ECDAA6D591D41C0EC9E1C8539364160DF4F0D78591D41AF281B5090393641202D98C927591D41E120CD659B39364190E4CF43D7581D41187B9C5DA6393641D0ECA77C86581D41B01E7137B1393641E0BCD17435581D41043533F3BB3936418059FF2CE4571D415B29CB90C63936415054E3A592571D41D9D64D31CD393641A085661855571D41637C2CC1D339364120E4696E17571D4111715F40DA393641706935A8D9561D417E1FDFAEE0393641F03111C69B561D419B05A40CE7393641407A45C85D561D4105B5A659ED393641C09F1AAF1F561D4101000000020000000001000000FFFFFFFF0000000003, CAST(1346597 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1346610, N'{1406112D-94D7-493B-96CC-D1C4054FDC67}', N'014134772', 3, N'NO_PLAN', NULL, N'14134772', NULL, N'72411317026', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'SW4', N'31', N'21,12', N'LEGAL SUBDIVISION 6 OF SECTION 31 TOWNSHIP 21 RANGE 12 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT', N'0163', N'0028', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:48.000' AS DateTime), 138240, 2390, 0xBD0B000001043700000050AF9445440F364130EF380510532441B14902EC5A0F3641F015AD4F1D53244184528834710F364110EDD4E22C53244151066C10870F364198E464B43E53244193703A719C0F364188BB95B852532441B6F8D148B10F3641604A2CE2685324418FB96B89C50F3641B84082228153244183F4DBF7F70F364118E56121C1532441E8AF5D0AFD0F3641E0AB1384C75324414327A42202103641882C4CD4CD53244180889E4007103641288FF611D4532441D0EE3B640C1036412839FE3CDA532441B4626B8D1110364160CD4E55E053244150DA1BBC16103641602CD45AE65324410219731721103641003B700EC8532441981BAA7E2B10364168A9D6CBD3532441E40347FB3510364128D6183CDF53244118D3BA8C4010364140C99A5EEA5324413E6E75324B10364138ACC432F5532441E4A5E5EB5510364178D702B8FF532441DA3D79B86010364140D6C5ED0954244156302A295E10364190C954011554244172349FCA6C103641403EB939225424414A21D78B7B1036411876D8E12E542441EF586E6B8A103641486481F83A5424417E61FE679910364158AD907C46542441B3061E80A810364158C4F06C51542441167C61B2B710364150029AC85B5424412041F123B91036415850FC983C542441EB6A2BB6BC103641E87C3F75EF5324417CFB3A70BE103641F80B9329CA532441F10DBEB0D410364188FF907EE9512441E0361A003F0F3641483EE8D99F5124413DEF38E5330F3641400C022B9552244156423E28320F364160CE8892BB5224415F07CED92E0F3641402CD49A0453244150AF9445440F364130EF380510532441E63FA4FF360F36413895D449745324415E07CE192A0F3641803A018D6D53244104560E8D1A0F3641E800DE02C554244156F5B93AAF10364130B4C8F612552441F4A9F112B1103641D0073DDBEA54244177542F598B1036413037EC98D15424418836F636661036418808620BB5542441B491ABBE41103641D088C34095542441057960021E103641B07AD04872542441BCDDC813FB0F3641B08BDB344C54244159CA3204D90F3641A8BDC11723542441A9C64B97A80F364108583934D7532441EB8459C6960F364138C93607C2532441BC821373840F3641B038FFAAAE532441CFA44EA9710F3641F89A122C9D5324414D512C755E0F364148BABC958D532441049B12E34A0F3641C8EC0DF27F532441E63FA4FF360F36413895D44974532441020000000200000000022500000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1346610 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1347342, N'{88D21E84-0D02-44D2-86AC-005394EA66F4}', N'016375661', 3, N'NO_PLAN', NULL, N'16375661', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART 1088', N'', N'', N'THAT PART OF DISTRICT LOT 1088 KOOTENAY DISTRICT SHOWN OUTLINED RED ON PLAN 1154, EXCEPT PART INCLUDED IN PLAN 11748', N'0163', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-01-29T10:34:11.000' AS DateTime), 27001, 1797, 0xBD0B000001041D0000005CC1A8E4B0AB3941B8915CFEA223254194779C2220AC39415862101878222541AD47E13A25AC39418036AB7E6D222541283A92CB2AAC3941989ECDEA61222541F93A702E37AC3941705DDCC641222541860D4F4F5EAC394198128340DC212541C9FEB2DB59AD3941C0D100DE4F1F2541A6A2235961AD3941D02406013C1F254174F90FC968AD394148F2B010281F2541E6B7AF0370AD39416829CBD0131F25410946251577AD3941D8187357FF1E2541FC907E9B7CAD3941E0CAA1C5EE1E254130C4B18E80AD3941E0DA8A7DE21E2541C2CAA10573AD39414894F686DE1E254182D0B37962AD394130C4B1AED91E2541914AEA245FAD394160DC46C3D81E254139F8C2E45DAD39415070CE08DD1E2541BA6B091957AD3941F8D8CEB7F01E25418638D62550AD394108E9B72F041F254163C3D30B49AD394180D6346F171F2541263A92CB41AD394140D8F0742A1F2541CED5566C09AC3941F8FDD4B85422254174810405F0AB394118B072282D222541D25F762FC2AB3941A8226CB8A52225415CC1A8E4B0AB3941B8915CFEA22325415CC1A8E4B0AB3941B8915CFEA223254113BE3099A5AB39411868226C48242541C4FEB2FBD3AB3941C84B3709D12325415CC1A8E4B0AB3941B8915CFEA2232541020000000200000000021900000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1347342 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1348815, N'{F7B5CCF4-A081-499F-BF5C-79C74C11707C}', N'008080631', 140690, N'VIP1037', NULL, N'8080631', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 8', N'', N'', N'THAT PART OF LOT 8, SECTION 7, VICTORIA DISTRICT, PLAN 1037, IN PLAN 6 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:20:50.000' AS DateTime), CAST(N'2019-08-07T12:08:18.000' AS DateTime), 376, 106, 0xBD0B00000104070000002A31080C323A3241201B9E5E627F1741D8CEF793343A3241C01DA7E8947F1741E7FBA951363A3241E022DBF9C77F174116B7D1603F3A3241C098BB161D7F174179E09C51303A324140FE437A107F1741865AD3BC2E3A324190BA498C307F17412A31080C323A3241201B9E5E627F174101000000020000000001000000FFFFFFFF0000000003, CAST(1348815 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1349224, N'{4798AFE2-9AEE-41DD-8458-4FD384405C42}', N'002734079', 5462328, N'VIP24916', NULL, N'2734079', NULL, N'205321', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 42', N'', N'', N'LOT 42, SECTION 8, WELLINGTON DISTRICT, PLAN 24916 EXCEPT THAT PART IN PLAN VIP62849', N'0084', N'0021', NULL, N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', N'987.1', CAST(N'2019-04-04T08:45:35.000' AS DateTime), CAST(N'2019-09-11T15:56:09.000' AS DateTime), 987, 272, 0xBD0B0000010408000000472EFF618C6C314100D49A66AAB51C41801D38A7616C3141A02D90A03AB61C413208AC3C6F6C314100C58FB17CB61C41472EFF618C6C314100D49A66AAB51C410F7A36AB7E6C314130FBCBEEC7B61C4123166A0DA76C314150FE43FA16B61C41AF8BDBA89D6C3141E0938705F3B51C410F7A36AB7E6C314130FBCBEEC7B61C41020000000200000000020400000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1349224 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1349433, N'{D98B8CAF-6FEC-4991-92BA-F6DB0083C0B2}', N'008391360', 860800, N'KAP4860', NULL, N'8391360', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1 SECTION 10 TOWNSHIP 20 OSOYOOS DIVISION YALE DISTRICT PLAN 4860 EXCEPT AMENDED PLAN KAP47899', N'0063', N'0016', N'NO', N'MODIFIED-ICIS', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-10-10T13:55:35.000' AS DateTime), 184, 69, 0xBD0B0000010407000000898EE4B25C753641383867C464A5214185F4DBD75C7536419841606568A52141C6073D9B62753641382CD49A73A5214137D6C52D7A75364168BA498C77A5214110E02D30797536411872F94F6EA521419A438BCC78753641A899995969A52141898EE4B25C753641383867C464A5214101000000020000000001000000FFFFFFFF0000000003, CAST(1349433 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1349786, N'{ECC968BA-4ACC-464C-B0F9-F373556550C8}', N'011303816', 847792, N'KAP1976', NULL, N'11303816', NULL, N'72607022525', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 11', N'Block 7', NULL, N'LOT 11 BLOCK 7 DISTRICT LOT 3275 KAMLOOPS DIVISION YALE DISTRICT PLAN 1976', N'0163', N'0028', N'NO', N'ICF', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-12-02T14:29:56.000' AS DateTime), 595, 115, 0xBD0B0000010405000000BCEC9E9CEF3B3641A89999996CB52841421361231B3C3641584772B95CB5284141FAEDEB183C36416007CE9942B52841F441CF46ED3B3641688104C551B52841BCEC9E9CEF3B3641A89999996CB5284101000000020000000001000000FFFFFFFF0000000003, CAST(1349786 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1350270, N'{D65E9CDE-DE3F-43A1-A23C-7A62E8D484F3}', N'002113716', 1169556, N'NWP67218', NULL, N'2113716', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2009-08-06T00:00:00.000' AS DateTime), N'Lot 67', NULL, NULL, N'LOT 67 SECTION 26 TOWNSHIP 8 NEW WESTMINSTER DISTRICT PLAN 67218', N'0067', N'0010', N'NO', N'ICIS CADASTRE', 1, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2020-01-08T10:39:26.000' AS DateTime), 9779, 489, 0xBD0B00000104050000006A2BF6373FFA324190E5D0A261721C410D363CFD37FA3241A0A52C4369751C415BEC2F5B6AFA3241209A089B71751C41B369DE9171FA324100A4DF3E6A721C416A2BF6373FFA324190E5D0A261721C4101000000020000000001000000FFFFFFFF0000000003, CAST(1350270 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1350338, N'{A7C99034-03B9-4A72-9555-219156727A58}', N'015314405', 492326, N'NEP1000', NULL, N'15314405', NULL, N'7077900050', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PARCEL A', N'LOT 4', N'', N'PARCEL A (EXPLANATORY PLAN 122390I) LOT 4 DISTRICT LOT 5574 KOOTENAY DISTRICT PLAN 1000', N'0163', N'0004', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-01-16T08:25:12.000' AS DateTime), 40402, 927, 0xBD0B0000010409000000DB2406C199BF3841D0416065965920415CEC2F3B72BF3841B885C914485C204111C7BA98E4BF384130A913D0635C20412DBB278FEFBF3841B035CDBBA65B2041B88D06D0F0BF38410093A902A75B2041A7A44E2003C0384160742417735A20414AC8073D0EC03841D8CCCC4CB85920414C03786B0EC03841084A7B43B5592041DB2406C199BF3841D04160659659204101000000020000000001000000FFFFFFFF0000000003, CAST(1350338 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1350677, N'{E4147954-693E-4F6E-836E-1C8392CA2AD7}', N'003454541', 849974, N'KAP4656', NULL, N'3454541', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 5', NULL, NULL, N'LOT 5 DISTRICT LOT 473 OSOYOOS DIVISION YALE DISTRICT PLAN 4656 EXCEPT PLANS H577 AND 41140', N'0138', N'0022', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-02-19T14:11:10.000' AS DateTime), 573, 103, 0xBD0B00000104080000002A3A924B443C3641A0EFA7061A2E20413B5EBAE92B3C3641B0EA73F5192E2041780B24A83D3C364198B0E1A9402E2041341AC07B403C3641287A366B462E2041DF240681483C3641F8A067734A2E2041ECD9AC3A4F3C3641A04D6210452E2041B30C71AC4F3C36410076E0DC1A2E20412A3A924B443C3641A0EFA7061A2E204101000000020000000001000000FFFFFFFF0000000003, CAST(1350677 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1350693, N'{24ACFD65-B8BF-4D4D-8939-B1C7B51BE43D}', N'003454550', 849974, N'KAP4656', NULL, N'3454550', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 6', NULL, NULL, N'LOT 6 DISTRICT LOT 473 OSOYOOS DIVISION YALE DISTRICT PLAN 4656 EXCEPT PLAN H577', N'0138', N'0022', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-02-19T14:08:24.000' AS DateTime), 371, 80, 0xBD0B00000104050000008C0D4FAF663C3641C0AACF951A2E2041B30C71AC4F3C36410076E0DC1A2E2041ECD9AC3A4F3C3641A04D6210452E20413A3CBD12643C3641E851B81E352E20418C0D4FAF663C3641C0AACF951A2E204101000000020000000001000000FFFFFFFF0000000003, CAST(1350693 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1351047, N'{C734EB4A-50F9-47DD-AB51-FA3510559FF5}', N'015392457', 3, N'NO_PLAN', 1850981, N'15392457', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART E2', N'3737', N'5', N'THAT PART OF THE EAST 1/2 OF DISTRICT LOT 3737 RANGE 5 COAST DISTRICT LYING TO THE SOUTH OF PLAN 4459', N'0163', N'0001', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2020-03-26T21:04:58.000' AS DateTime), 164915, 1597, 0xBD0B00000104100000001D3867648217304128DD2486E9D22E417A36AB9E55163041D83FA4DFDCD22E41E63FA4FF50163041C84D6250CED52E41A979C7E9FF163041A0D409A8D7D52E41F29F2B94251730417828D17AD5D52E41436A03FC4A173041C05B6261CCD52E41C5250DD06F17304108AE816FBCD52E41A03348C093173041583AD2C7A5D52E4137D3A27EB6173041E0B68A9B88D52E416DB9A3BFD7173041C08E0A2A65D52E417C040E3BF7173041B03650C03BD52E4125287EAC14183041A0EB51B80CD52E41E76A2B5624183041B8BAB80DF1D42E416EF90F692718304138E8D96C64D32E41BE9F1A4F2818304118A5BD81F0D22E411D3867648217304128DD2486E9D22E4101000000020000000001000000FFFFFFFF0000000003, CAST(1351047 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1351547, N'{F7963632-8819-47AC-A812-F8C67E7F5BCA}', N'016442458', 3, N'NO_PLAN', NULL, N'16442458', NULL, N'01275.030', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 1', N'7170', N'', N'PARCEL 1 (REFERENCE PLAN 109558I) OF DISTRICT LOT 7170 KOOTENAY DISTRICT, EXCEPT PARTS INCLUDED IN PLANS 15068 AND NEP23545', N'0015', N'0004', N'NO', N'ICF', 3, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-04-01T12:34:54.000' AS DateTime), 47753, 843, 0xBD0B0000010415000000169C33429582384110E09C11DA011F419CF83126AB82384130462575D1011F41C4BAB88DC6823841C0EFA7C6C6011F41FFFFFF5FF382384190CCCC4CB5011F41A045B65314833841F0F44AD9A8011F4145696FD026833841E0043491A1011F41D000DE2243833841B042AD6996011F41CA54C1A854833841702D90A08F011F41045F986C61833841504013E165011F413F575B314F833841F012F24185FE1E411E8E75D139833841A0D712724EFE1E41384547320D83384120431C6B4EFE1E418426C2E6C2823841404694768BFE1E41FA6C569DA68238414005A392C0FE1E419F23B95C8E82384140D7A3F030FF1E4113363CFD77823841908AFDE58AFF1E4153EC2F9B4D8238410012A53DBCFF1E41EDA7C6CB53823841B04C158C76001F41A89BC44055823841E06F5F07A2001F41CEF7534375823841301361433D011F41169C33429582384110E09C11DA011F4101000000020000000001000000FFFFFFFF0000000003, CAST(1351547 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1351650, N'{2884D413-FF9F-46AD-9EA8-634A01E85C0C}', N'001574876', 118136, N'VIP1408', NULL, N'1574876', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 10', N'Block 5', NULL, N'THAT PART OF LOT 10, BLOCK 5, SECTION 21, VICTORIA DISTRICT, PLAN 1408 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:16:11.000' AS DateTime), CAST(N'2021-04-16T11:19:31.000' AS DateTime), 12, 19, 0xBD0B000001040400000058423E68E5303241608026C2DB921741E7E236FAEB303241D041CF66C992174100B37BD2E3303241E05C6DC5D192174158423E68E5303241608026C2DB92174101000000020000000001000000FFFFFFFF0000000003, CAST(1351650 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1351651, N'{15F9E491-6651-4D81-82C3-97F56C489E36}', N'001583727', 8505248, N'VIP8RW', NULL, N'1583727', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 11', N'', N'', N'THAT PART OF LOT 11, SECTION 79, VICTORIA DISTRICT, PLAN 1772 INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:11:43.000' AS DateTime), CAST(N'2021-04-16T11:15:09.000' AS DateTime), 317, 72, 0xBD0B00000104070000007C26C206692F324190D8F0F4139617417D6ABC94752F3241601283C0F09517411B73D7D2742F3241F0D32B65EB951741FE770B646B2F324140302AA9A8951741ECB7AFC35E2F3241E062EE5ACB951741986E1283672F3241505B423E099617417C26C206692F324190D8F0F41396174101000000020000000001000000FFFFFFFF0000000003, CAST(1351651 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1351664, N'{3FF342B5-A500-44CE-A13D-A389F2AFD92E}', N'013525395', 3, N'NO_PLAN', NULL, N'13525395', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART D', N'10', N'2', N'THAT PART OF PARCEL D (DD 43170I) OF SECTION 10, RANGE 2, QUAMICHAN DISTRICT BEING A PARCEL .007 ACRES MORE OR LESS INCLUDED IN PLAN 1027 OS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 42, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T18:41:36.000' AS DateTime), CAST(N'2021-04-19T10:07:41.000' AS DateTime), 69, 41, 0xBD0B0000010404000000B815FB4B05C5314130EC2F3B987E194170B515FBF7C43141604ED111977E194106F9A04705C53141B0F528DCC17E1941B815FB4B05C5314130EC2F3B987E194101000000020000000001000000FFFFFFFF0000000003, CAST(1351664 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1351992, N'{D7272D93-A318-48CB-8C59-CAA339F7EFF6}', N'001635883', 141434, N'VIP1193', NULL, N'1635883', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 18', N'Block 3', N'', N'THAT PART OF LOT 18, BLOCK 3, SECTION 9, METCHOSIN DISTRICT, PLAN 1193 INCLUDED WITHIN THE AREA SHOWN OUTLINED IN RED ON PLAN 2050 OS', N'0079', N'0005', N'NO', N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:39:57.000' AS DateTime), CAST(N'2021-05-30T19:21:25.000' AS DateTime), 3288, 314, 0xBD0B000001041F000000E1141DE9F9083241D0C56DB44801174185C95421FD083241605452272E0117414803786B00093241308B6CE7130117417F1D38C70309324110FDF6F5F900174166AA60340709324190CF6655E0001741373CBDB20A09324120022B07C7001741296519420E0932411096B20CAE001741266519E21109324100F9A0679500174131C4B1EE1E093241E041CFE63C001741F01648B010093241A0A0F831CDFF16418FC2F5280C093241C09E3CACEBFF16411E1FF42CFB083241A0D85FF65D00174102000060F7083241105F98CC770017416E8A8EA4F30832418091EDFC91001741AE47E1FAEF08324170B81E85AC0017415FDC4663EC08324190658863C700174147B6F3DDE808324110BD5296E2001741480C026BE508324110BF0E1CFE001741F7B9DA0AE2083241B04547F219011741A311A5BDDE083241F04F8D173601174106819583DB0832416095D489520117416791ED5CD80832417014AE476F011741B8490C42D708324160E8D9AC800117416819E2D8E6083241408FC2F5FA011741B715FB4BE80832419076BE1FEC0117412B5305E3EA08324130A301BCD1011741AEBFECBEED083241F05D4BC8B5011741E5839EADF0083241007593189A011741DA6800AFF3083241E031E6AE7E011741401CEBC2F6083241C003E78C63011741E1141DE9F9083241D0C56DB44801174101000000020000000001000000FFFFFFFF0000000003, CAST(1351992 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1352057, N'{B745A0A6-5CCB-43DC-9EF7-30BC933FAA54}', N'010466819', 3, N'NO_PLAN', 90054284, N'10466819', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'E2', N'34', N'82,18', N'PARCEL B (94744M) OF THE EAST 1/2 OF SECTION 34 TOWNSHIP 82 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT', N'0142', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2021-05-30T19:46:17.000' AS DateTime), 16171, 889, 0xBD0B000001041B00000078E09C711A413441F095B22C5B1B334137B4C8161F413441289E5EA95D1B3341D144D8B023413441E8D9AC3A601B3341C676BE3F2841344104F775E0621B3341EA95B22C2B413441D8482EDF651B3341A8E848AE324134411490A058011B33418426C2E64341344198A223D91A1A3341E851B83E47413441B46B0919EE1933413745475249413441C4CCCC4CD2193341AC9BC4804A413441A43E577BC21933419E851C2346413441A46BD160C4193341ACCA2CD741413441E819356DC6193341441B509E3D4134411401DD9FC8193341AC24DB79394134413CC917F8CA193341BE251C6B35413441D0422875CD1933418B855A7331413441B8A14516D019334186B3F16D2E41344108C47A32D2193341E006D36D2B41344194AC2E56D4193341AE17117328413441B0195481D6193341FE5CBE7D25413441849ADDB3D8193341052CED8D224134411491BDEDDA193341E8B7AFA31F413441D831E62EDD193341A0F831E603413441D46F5F87501B3341FC97DD73074134416CE7FB09521B3341DA12F2410C4134410CA16733541B3341228E7551134134412485EB91571B334178E09C711A413441F095B22C5B1B334101000000020000000001000000FFFFFFFF0000000003, CAST(1352057 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1352683, N'{84BFB08C-16D2-44B7-9537-D0B76141010C}', N'013977881', 295389, N'PRP968', 23694631, N'13977881', NULL, N'01257.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 11', N'Block 111', N'Section 2', N'LOT 11 BLOCK 111 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-06-10T13:40:11.000' AS DateTime), 233, 66, 0xBD0B000001040500000030992A98AC7A2B41C832C431796431418404C54FAD7A2B415C0B24689064314126068155C17A2B410424283E90643141426744A9C07A2B41540B24087964314130992A98AC7A2B41C832C4317964314101000000020000000001000000FFFFFFFF0000000003, CAST(1352683 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1352977, N'{C22A6761-2BE1-46CE-AA6F-5AD33957805B}', N'002909227', 117903, N'VIP877', NULL, N'2909227', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 19', N'Block 9', N'', N'THAT PART OF LOT 19, BLOCK 9, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:16:11.000' AS DateTime), CAST(N'2021-06-29T16:46:32.000' AS DateTime), 89, 43, 0xBD0B0000010406000000C698BB7689383241A047E17AE78C1741782D217F8D38324100ADFA5CE58C174143355E1A99383241801A9E5EE38C17411AAE47C1963832415083C0CAC58C17417E8CB92B883832419029CB90D78C1741C698BB7689383241A047E17AE78C174101000000020000000001000000FFFFFFFF0000000003, CAST(1352977 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1354846, N'{DE6B60A4-06E1-4208-B6EC-E5796D7DE2A1}', N'014277867', 249923, N'PGP884', NULL, N'14277867', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 16', N'Block 5', NULL, N'LOT 16 BLOCK 5 DISTRICT LOT 747 CARIBOO DISTRICT PLAN 884 EXCEPT PLANS 17452 AND PGP36809', N'0112', N'0008', N'NO', N'ICF', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2021-11-01T15:48:25.000' AS DateTime), 7532, 384, 0xBD0B000001040500000013FBCBAEEA873241C804C50F20332E41E0B584DCF08732415050FC9802322E4158CA3224A8873241F8FFFF3F88322E414672F98FA48732418028ED4D19332E4113FBCBAEEA873241C804C50F20332E4101000000020000000001000000FFFFFFFF0000000003, CAST(1354846 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1354894, N'{D21D5675-1C68-4E21-9E29-C6027C5B48DA}', N'011354216', 854443, N'KAP1835', NULL, N'11354216', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN PROVINCIAL', CAST(N'1949-02-24T00:00:00.000' AS DateTime), N'Lot 8', N'', N'', N'THE WESTERLY 10 FEET OF LOT 8 DISTRICT LOT 41 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 1835', N'0096', N'0022', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'269.8', CAST(N'2020-06-03T13:46:30.000' AS DateTime), CAST(N'2021-11-03T13:34:58.000' AS DateTime), 269, 186, 0xBD0B0000010405000000D75F760F75933641C0B35975CB941C4192A0F81172933641A0A98251CA941C414E74249769933641D04AEA0430961C4184FB3A906C933641C02FBB2731961C41D75F760F75933641C0B35975CB941C4101000000020000000001000000FFFFFFFF0000000003, CAST(1354894 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1355221, N'{F72821E1-5BCF-4E61-B40B-BBD40A8C7FB6}', N'008424381', 3191000, N'VIP775', NULL, N'8424381', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Block 26', N'', N'', N'THAT PART OF BLOCK 26, COWICHAN LAKE DISTRICT, PLAN 775, BEING THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY COMPANY, AS SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 25838I, AND CONTAINING 5.29 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T16:19:41.000' AS DateTime), CAST(N'2021-11-24T12:04:18.000' AS DateTime), 20694, 848, 0xBD0B00000104120000000B1B9EBE5A7F3141F0AE25E4B6D01941ECA7C62B5F7F3141C015FB4B6BD11941674469AFFD7F3141B0D85FF634D119418351497DCA7F3141F08C28ED74CF1941BA6B0979CA7F314170923A0174CF1941AEE1E975547F31419036ABBE99CF1941FB31E68E577F3141C02E6EA34BD01941CDF75363077F31417096210E67D0194108A392DAD57E314170D191DC7CD019414EE3A57BC17E3141C0C3422D89D01941363CBDB2B67E3141501136BC90D01941D3CCCCACB57E314140DF4F8D03D11941401CEB22B97E3141904E409300D11941AAE8480EC37E3141F0A59BC4F8D01941F8DBD701CD7E31410079E9A6F1D019413FBD5216DF7E3141E002098AE6D019415D1058191F7F3141B0D71272CCD019410B1B9EBE5A7F3141F0AE25E4B6D0194101000000020000000001000000FFFFFFFF0000000003, CAST(1355221 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1355224, N'{DBF16AEF-157B-46DE-BDB1-77BEE4F329A1}', N'009757376', 3, N'NO_PLAN', NULL, N'9757376', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 19', N'', N'', N'THAT PART OF DISTRICT LOT 19, COWICHAN LAKE DISTRICT, SHOWN COLOURED PINK ON PLAN 161 RW', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T19:02:59.000' AS DateTime), CAST(N'2021-11-24T12:04:18.000' AS DateTime), 14705, 616, 0xBD0B0000010407000000B6FC87342D7B314180840D4FA6DA1941E3718A2E317B3141D0779CA218D9194158C1A8A4337B31419028ED0D8BD81941DC4F8D57607A3141E0A1453692DA194149696F70537A3141D08E5374B1DA1941ECFBA9F18D7A3141B0BFEC1EB2DA1941B6FC87342D7B314180840D4FA6DA194101000000020000000001000000FFFFFFFF0000000003, CAST(1355224 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1356076, N'{D834806A-F933-4EAF-8DB4-60A2DEAF9346}', N'015493563', 3, N'NO_PLAN', NULL, N'15493563', NULL, N'11662.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART 3085', N'4', NULL, N'DISTRICT LOT 3085 EXCEPT PART IN PLAN BCP20575 RANGE 4 COAST DISTRICT', N'0163', N'0001', N'NO', N'PMBC-OPERATIONS', 26, N'LSA', N'UNKNOWN', N'0', NULL, CAST(N'2021-03-08T11:24:17.000' AS DateTime), CAST(N'2022-01-14T17:20:10.000' AS DateTime), 5043021, 15810, 0xBD0B000001041003000092976E92BD212F4128B9FC875F892D41E35F764F16222F41D064AA6039892D41774F1ED6071C2F4198EFA74626892D41D5E53FA4061C2F41C02C431CDF8B2D41C9E76A6BC21D2F41205C8FC2AF8A2D4116C6E2E5EF1D2F41F87D7683938A2D415CFD91E01E1E2F41182232D7798A2D41B6343A364F1E2F41708D1CD2628A2D41CE018AC0801E2F41D09675864E8A2D4146493B58B31E2F41502D54043D8A2D41796132D5E61E2F41B89999592E8A2D41662041B140202F4120431CABD8892D410339DF3181202F41A060BEDBC7892D41A00C9353C1202F41A08D5FAFB5892D41307AFC0E01212F4148D61628A2892D414B24C75C40212F41482D23488D892D41D248AB357F212F41E827EB1177892D4192976E92BD212F4128B9FC875F892D414E96214EC1222F419028ED8DF7972D410FF9A027B6222F41C047E1BA02982D410DD7A3F0AC222F41986D34C00F982D4166BA49CCA4222F41081973D71D982D41342AA9D39C222F415823B9FC2B982D410644FAED94222F41904694F639982D411C31086C8D222F4100FBCB2E48982D413EE17AD485222F410819735756982D416A6891AD7D222F41C88AFD2564982D417BA7578A74222F41A075715B71982D41C3CAA1C56A222F41B069DE317E982D416F029A0861222F41E08173068B982D41617FD9FD57222F41B86B093998982D41E5F21F5250222F41C879C729A6982D41F295B24C4A222F4128B7D100B5982D4184832F4C45222F4130894160C4982D41032B879640222F4188AC8BDBD3982D4110E9B7AF3B222F41F89E3C2CE3982D41570E2DF236222F41C839238AF2982D41CF78E96632222F41C84603F801992D41953A010D2E222F41A057CA7211992D41F4065F182A222F41B803E70C21992D41529D80E626222F41E08B4AEA30992D417FF4DB9723222F4178EB51B840992D41B0EA73351F222F41A099991950992D41315C8F0219222F41C89465C85E992D41A5D6346F11222F41D8FA5CED6C992D414A0E2D3209222F41B8F1D2CD7A992D41F55A42FE00222F41C844D8B088992D413D2CD45AF9212F41E0F44AD996992D414AFC18F3F1212F414044FA2DA5992D414CDA1B3CEA212F41B8825149B3992D41211FF4ACE1212F4138B9FCC7C0992D41C9E53F24D8212F4118E9B7AFCD992D41B3D85FF6CD212F41B85B2041DA992D41EA285C0FC3212F413041F123E6992D41E6BE0E5CB7212F418848BFFDF0992D41CEDEE0CBAA212F41F8A292BAFA992D4115B5A6799D212F4188438BAC039A2D41393EE8998F212F41182DB2DD0B9A2D419E081B5E81212F41F0187357139A2D410F6A4DF372212F41083FC61C1A9A2D41F051B81E64212F4130621018209A2D41D1F753E354212F41488FC235259A2D41E20B936945212F41B89DEF67299A2D41E74F8DD735212F41B81C5AA42C9A2D41A123B9BC25212F41589318842F9A2D418C06F05615212F4150ED0D7E319A2D4193D2DE6005212F4198D2DE60319A2D41C7FEB27BF6202F41E0A59B042E9A2D41FF7E6A7CE7202F4198581777279A2D4150F38E13D9202F41088D976E1E9A2D415907CED9CC202F4158FF217D139A2D41433EE859C4202F41E888D21E079A2D41644BC887BF202F41A0658863F8992D416A931884BD202F41503F35DEE7992D41408B6CA7BD202F41787AA5ECD6992D41E3CEF753BF202F41984160E5C6992D41016F8184C3202F41F83992CBB7992D419D2A18D5C9202F41C047E1FAA8992D41A133A2B4D0202F41A0C420309A992D4173E09C91D6202F41F8D478298B992D41AD847C10DB202F41C0ED7CBF7B992D41A1779C22DF202F41606210186C992D41D9141D49E2202F41F885C9545C992D41EC5A42FEE3202F4138AB3E974C992D4119A7E8C8E3202F41F08AFD653C992D414EB81E05E1202F4190C420302C992D41CB66D5E7DA202F41D0EBC0B91D992D41F3EBC039D2202F41489E5E6910992D41F1EBC0F9C7202F41F8B050AB03992D4193B20C71BC202F4148764F1EF8982D4137E6AEE5AF202F41082DB25DEE982D41D454C168A2202F4110386784E6982D41671058F993202F41706891EDDF982D41A1E61DE784202F4100CCEE49DA982D410700008075202F4120151D49D5982D41993C2C1466202F4178AC8B9BD0982D410C4FAFD456202F41B04C150CCC982D41C5EC9E7C47202F41C0293AD2C7982D415627A00938202F4190B0E1E9C3982D4161DC468328202F41F8B88D46C0982D41FB550EED18202F4148F697DDBC982D41AF847C5009202F417009F9A0B9982D418AA0F8B1F91F2F41E0A59B84B6982D41DB839E0DEA1F2F41204A7B83B3982D41873F355EDA1F2F4108C364AAB0982D412441F1A3CA1F2F4160810405AE982D411CC05BE0BA1F2F41408941A0AB982D41B0E1E915AB1F2F4118A7E888A9982D41B625E4439B1F2F41D8F0F4CAA7982D41B930996A8B1F2F4150C1A864A6982D41A001BC857B1F2F4180128340A5982D417DE2C7986B1F2F4198BFEC5EA4982D41E941CFA65B1F2F4148FF21BDA3982D4142D8F0B44B1F2F4138F6975DA3982D41B625E4C33B1F2F41485BB13FA3982D41CD2B65D92B1F2F41A0779C62A3982D411D0F0BF51B1F2F41306F8104A4982D41292AA9130C1F2F4180B74042A5982D41BBFC8734FC1E2F41383FC6DCA6982D4127068155EC1E2F418006F096A8982D410F462575DC1E2F4148D8F034AA982D412D3CBD92CC1E2F4170832F8CAB982D419FE848AEBC1E2F41307A36EBAC982D413B70CEC8AC1E2F4108E9B72FAE982D41F0D24DE29C1E2F4100F9A027AF982D418B4160E58C1E2F419814AEC7AF982D41D5B359757C1E2F4190FD65B7B0982D415907CE596C1E2F41A00B2468B0982D411ADBF97E5D1E2F41D0BCE3D4AC982D416CE09C114F1E2F41C8B0E129A4982D41D4E53F24441E2F4178E2C7D897982D415BC3D3EB3F1E2F41D085C99489982D417BF2B0903F1E2F41B064AA6079982D41B0627F99411E2F41400BB5A668982D41147A36EB441E2F41F851B8DE58982D418058A8B54A1E2F4180BC74134A982D41E2ACFADC511E2F41F81648903B982D4154EA0434581E2F41709543CB2C982D41C56D34005D1E2F4178DE718A1D982D417F14AE47611E2F41883D0A170E982D41A1A223F9641E2F41206DC57EFE972D41A0802602681E2F41A8285CCFEE972D41F95C6D056A1E2F41405A64FBDE972D41C1EC9E3C6B1E2F41A04AEA04CF972D411AF46C566C1E2F41A0EFA706BF972D410110E9F76D1E2F4140E3A51BAF972D419E23B9BC6F1E2F41C8F753239F972D41E01DA7E8711E2F41A85AD33C8F972D41D110C73A751E2F4148FAEDAB7F972D418EED7C7F791E2F4190D2DEA06F972D410D6A4DF37E1E2F4130ED0DBE5F972D41E06A2B76871E2F4120DCD70153972D4137C4B1EE931E2F418896908F4A972D41BD5296E1A21E2F4140C6DC7544972D4139257502B31E2F4160B7D10040972D4173810405C31E2F417048BF7D3C972D41EF53E3E5D21E2F4188AACFD53A972D41DDC7983BE31E2F41F099081B3B972D41D2096862F31E2F4138DA1BFC3A972D4162A1D6B4021F2F4150C1A82438972D4160FE433A111F2F4140E8D9EC31972D418D635D1C1F1F2F4160ED0D7E29972D4102F775202C1F2F41A0E848AE1F972D411B7C61F2371F2F4120CCEE0915972D41B4A67907421F2F41D0CBEE8908972D410D363C7D4B1F2F41583BDF4FFB962D41AE7BF2B0551F2F4118A4DFFEEE962D41B403E7CC611F2F41A0D85FF6E4962D4107560E2D6F1F2F413822FD76DC962D41563789417D1F2F41A0293AD2D4962D419E0A46A58B1F2F41C870AC8BCD962D419933A2F4991F2F41E88AFD25C6962D41E12D90E0A71F2F4178DB6840BE962D4116F241CFB51F2F4150D1915CB6962D415B4469AFC31F2F4190643B5FAE962D417F38D645D11F2F41E8EBC0F9A5962D4135992A58DE1F2F41F8E383DE9C962D4190FF90FEEA1F2F4150AF942593962D410AAE4761F71F2F4170B9FC0789962D4136CB108703202F41D09999997E962D41104625750F202F41583108EC73962D41A333A2341B202F412073D71269962D4175B515BB26202F41F04A59065E962D41DDE995F231202F41388A1FA352962D417D7AA5EC3C202F410000000047962D41C7FEB2BB47202F4150211F343B962D4137B29D6F52202F4190AA60542F962D412175021A5C202F41D044D83022962D413C696FB065202F41E81B7C2115962D4156B81E8571202F41F09E3C2C0B962D416DBE9F1A80202F41C0293AD203962D41F02FBBE78F202F41A0999919FF952D41A757CA729F202F41887EFB3AFE952D41EED24DE2AE202F41F831E62E03962D4141CF6655BE202F41D0A8A40E0A962D41A9C8767ECD202F41E84F8D570D962D41146A4D33DC202F41A85CFEC309962D410AD04498EA202F419887851A02962D411471ACCBF8202F41F851B85EF9952D412B8941E006212F4190F90FA9F1952D4103CCEEC914212F4188FF90BEE9952D41DEACFA9C22212F41C8F753A3E1952D4116E9B76F30212F412071AC8BD9952D41E03D79583E212F41C079C7A9D1952D41FE31E66E4C212F41280EBE30CA952D416CDE71CA5A212F4148CF6655C3952D41E224068169212F41B823B93CBD952D41DAF0F48A78212F4130CF66D5B7952D4196976ED287212F41A8B662FFB2952D4190FF903E97212F4120AC1C9AAE952D41575986B8A6212F4180931884AA952D4123EBE236B6212F4198D409A8A6952D4106F775E0C5212F41A05AD33CA3952D41E99E3CACD5212F4190218E75A0952D41A0703D8AE5212F41786D34809E952D411F1FF46CF5212F41B8270F8B9D952D41D19AE65D05222F41E04B37899D952D41EAE2365A15222F41000EBE309E952D410688F45B25222F4198A0F8319F952D41E7BE0E5C35222F41E86C563DA0952D4153E3A55B45222F41C812F241A1952D414C499D8055222F41B85B2041A3952D41119C33A265222F4198CDAA4FA5952D41A75E298B75222F41900A4625A6952D41BFDCB50485222F411048507CA4952D4155E3A51B94222F4130A8C60BA0952D41F5C039E3A2222F41B0559FAB99952D41EFE2365AB1222F41107A362B92952D418CED7C7FBF222F4140E3A55B8A952D416ACE8852CD222F41A0567D6E82952D41399B55DFDA222F41087F6AFC79952D4169A3013CE8222F41E868002F71952D415FFE437AF5222F41587B832F68952D417FFB3AB002232F4128423E285F952D41D13B4ED10F232F41F803560E56952D415FC3D3AB1C232F413027A0894C952D412038678429232F418093180443952D41416744A936232F41084625F539952D419065882344232F41E099085B31952D4135431CAB51232F41005C20C128952D4175CE88525F232F418861325520952D41550C022B6D232F41C8DFBE4E18952D415E5DDC467B232F416009F9E010952D416F226CB889232F41F010C73A0A952D416E91ED7C98232F41906CE73B04952D411193A982A7232F41C05B20C1FE942D417CC729BAB6232F41A059F5B9F9942D41C0172613C6232F41F8CEF713F5942D4194FF907ED5232F4118DBF9BEF0942D418C3177EDE4232F41909ECDAAEC942D411DEBE276F4232F41C0128300E9942D4106780B2404242F41F8BB05D2E5942D4176E7FBE913242F4128E02D10E3942D41B4C876BE23242F41803255B0E0942D4145BD529633242F41D8F753A3DE942D414D74249743242F41C0B88D86DD942D4129A913D053242F4160DD2486DD942D413C13610364242F4128C05BA0DD942D41612041F173242F4160AA60D4DC942D41CB073D5B83242F41E02D9020DA942D411DC9E57F92242F4188E8D92CD5942D4163E5D062A1242F417068916DCE942D41E27A146EAF242F4180CDAA0FC6942D41B615FB0BBC242F4148EEEB40BC942D41898785DAC6242F415092CBFFB0942D41A6CDAA4FD0242F41B815FB4BA4942D4111B5A6F9D8242F41B00E9CB396942D41FB65F764E1242F41905E29CB88942D41ACBFEC1EEA242F41A00A46257B942D412241F1A3F3242F4110B81E456E942D412D3CBD92FD242F41A057CAB261942D4166A835CD07252F41882BF65755942D413C67446912252F419087855A49942D4155C8077D1D252F4168764FDE3D942D41956E124329252F418831772D33942D41A289B0E135252F4160C1A86429942D416B1B0DE042252F4120C9E5FF1F942D41CE7F48BF4F252F41B833A27416942D41BA1726135C252F41F8EF16480C942D417612830068252F4100075F9801942D41840B24E873252F41885374E4F6932D415D423E2880252F41107A36ABEC932D416D8104058D252F4160128300E3932D41A74E40539A252F41788D0630D9932D4165764F1EA8252F4138302AA9D0932D41D122DB79B6252F4170F38E13CB932D4175D712B2C6252F4100F9A067C9932D41709318C4D7252F41E80DBE70CB932D418E0F7A36E6252F4140621018D1932D4162D5E76AEF252F4118D04418DD932D41625DDC06F4252F4108386704EE932D41E34F8DD7F4252F4100C58FF1FD932D4124F46C56F2252F41282731080E942D41F151B81EF0252F41E0F97E2A1E942D41A633A2F4F0252F41C8D409682E942D411FFDF675F4252F41F85F768F3E942D41CE7F483FFC252F411873D7124C942D41994E409308262F41F017269357942D41A223B9FC16262F41506B9A375E942D41B942AD6926262F41C8C56D745F942D41FEB27BB236262F4168423EE85D942D419A33A2F446262F41E802094A5B942D41671058B956262F419033A2B458942D41BD9F1A6F66262F4110D578A955942D41B415FB0B76262F4110D0441852942D4151499D8085262F41A86CE7FB4D942D41DD361AC094262F412897FF5049942D412C6519E2A3262F4168FC183344942D41F441CFE6B2262F4140E8D9AC3E942D414582E2C7C1262F41384BC8C738942D4187C95481D0262F41F8A7C68B32942D411B287E0CDF262F4150234AFB2B942D41AD2E6E63ED262F41B0900FFA24942D41F497DD93FB262F417009F9A01D942D411B3108AC09272F41904E401316942D414EEC2FBB17272F41E0D781730E942D412DA913D025272F411066F7E406942D4194B20CF133272F41B8B12E6EFF932D4156F38E1342272F41B07D1DF8F7932D419EE8482E50272F41C8FC8774F0932D410410E9375E272F41781726D3E8932D412CD49A266C272F4100143F06E1932D41FD3311F679272F41C8B662FFD8932D41B2C876BE87272F41387424D7D0932D4111AC1C5A95272F410841F163C8932D41CFAACF95A2272F41C09F1A6FBF932D418E6E1243AF272F418014AEC7B5932D4180C0CAA1BB272F41189E5EA9AB932D41073B70CEC7272F41F06C563DA1932D41C67D1DB8D3272F4108EEEB8096932D41EF164850DF272F41F87C3F758B932D41EB263188EA272F41882A181580932D41FB0FE937F5272F41D85E294B74932D4110C7BAF8FE272F41086822AC67932D412D1AC01B08282F4190DB68805A932D41DC718A0E11282F4160D5E72A4D932D416ED712321A282F419801BC0540932D41B1627F5923282F41085530EA32932D41B62E6E632C282F4178C729BA25932D41BEBAB84D35282F41D8FC877418932D412A8941E03D282F41800D4FEF0A932D419053742446282F41E0FBA931FD922D41B447E1BA4E282F41100F0BB5EF922D41F2B7AF4358282F41A845B6F3E2922D41344CA60A63282F41D8B12E2ED7922D41A0779C626E282F41E03D79D8CB922D411B6C787A79282F41D8839E4DC0922D41BE8F31B783282F4150CC5D0BB4922D41409B559F8D282F4160462575A7922D4114E9B72F97282F4190E2C7989A922D4149CA3244A0282F41181FF46C8D922D41BDFC87B4A8282F41180BB5E67F922D41F3482E3FB0282F4110F31FD271922D41C5293A12B7282F41A816485063922D4154EC2F7BBD282F4108D1919C54922D4110E02D90C3282F41F885C9D445922D414D2EFF21C9282F4178F2B0D036922D414703788BCE282F41204850BC27922D4109FBCB2ED4282F411893A9C218922D411D1FF46CDA282F4150855A130A922D4115265385E1282F41005D6DC5FB912D418295434BE9282F418026C2C6ED912D411693A982F1282F4160810405E0912D410444FAEDF9282F41E0B0506BD2912D41FD550E6D02292F4168643BDFC4912D41F23845070B292F41D09BC460B7912D416A8104C513292F4158D93DF9A9912D4116D7A3B01C292F41E8A0F8B19C912D412573D7D225292F41104FAF948F912D4183D93D392F292F41D83099AA82912D41F76C56FD38292F41B038D60576912D4113E02D1043292F41F099089B69912D41EB065F584D292F41688716595D912D41DEC798BB57292F41E07A142E51912D41BCD32B2562292F4140287E0C45912D412F211FB46C292F4180BAB80D39912D41F153E36577292F4180FAED2B2D912D41B18BDB2882292F41403EE85921912D4147FAEDEB8C292F41504BC88715912D41A789B0A197292F41F8D478A909912D4136CD3B4EA2292F41D0EEC9C3FD902D41D4A370FDAC292F4118C05BE0F1902D41C66B09B9B7292F41A8A67907E6902D41E9B9DA8AC2292F4148386744DA902D41307E8C79CD292F41F0ACFA9CCE902D41B547E17AD8292F41B001BC05C3902D41E002098AE3292F4160FE437AB7902D415C423EA8EE292F41282428FEAB902D41961804D6F9292F41D0043491A0902D41302AA913052A2F41A033A23495902D410BE9B76F102A2F41D04525F589902D4153B81E451C2A2F41382DB21D7F902D41063D9B55282A2F41085A647B74902D4197FF903E342A2F41B835CDBB69902D4137F6979D3F2A2F4168A8358D5E902D417C16D90E4A2A2F41B81A2F9D52902D4199703D8A532A2F41B8F528DC45902D417BF4DB575C2A2F41805CFE8338902D41A9627F99642A2F41082428BE2A902D41D756EC6F6C2A2F41507B83AF1C902D4154C807FD732A2F41D8EEC9830E902D413DE17A547B2A2F41602AA95300902D414292CB3F822A2F41B81E85EBF18F2D41C0CAA1C5882A2F4148F1634CE38F2D41A7A223F98E2A2F41685DDC86D48F2D41BF9F1AEF942A2F4110D578A9C58F2D4193B20CB19A2A2F41B0B662BFB68F2D419F89B0E19F2A2F41385227A0A78F2D412EB29DAFA42A2F41F899085B988F2D41C17D1D78A92A2F4170CE8812898F2D41BF86A797AE2A2F41706891ED798F2D4162FE433AB42A2F4148C4B1EE6A8F2D410924283EBA2A2F4170006F015C8F2D413BE8D92CC12A2F4138992A984D8F2D41E7D0229BC92A2F41788BDB28408F2D4183832F8CD32A2F41B8B050AB338F2D412273D752E72A2F41E0F675E01C8F2D41F83FC42DF12A2F4148DF583B108F2D412174D4F4FA2A2F4148EDD986038F2D415A0DF0A7042B2F41905318C3F68E2D41803AFF460E2B2F41F86933F0E98E2D41B95BEAD1172B2F4140AD4A0EDD8E2D4177029A48212B2F4150BF7D1DD08E2D41C12F086F242B2F41D8683DCFCB8E2D416A12B079272B2F41801B326DC78E2D416C5C15682A2B2F4168F70EF8C28E2D41B942C0392D2B2F4168278A70BE8E2D412B903DEE2F2B2F4180C75CD7B98E2D414BB81E85322B2F41B8C3422DB58E2D417E1463D1362B2F41E0F00D62AB8E2D41A9B3EB813A2B2F4130802058A18E2D41B76F2B933D2B2F4138192419978E2D41CB732E02402B2F414874F5AE8C8E2D41F0139DCC412B2F41C8DE9A23828E2D41EB0DBEF0422B2F4180923A81778E2D41EB426966432B2F41C80E26686B8E2D41C8F3369F432B2F41C0C65A4D5F8E2D419483219B432B2F4148EA0A32538E2D41A159295A432B2F4150B56817478E2D4163E154DC422B2F413054A6FE3A8E2D41A489B021422B2F4190C2F5E82E8E2D41AF1FF8E3412B2F41F8E0561B288E2D41507BF633422B2F41885B764E218E2D4146312411432B2F411849D78D1A8E2D41F1D30A7A442B2F413800E8E4138E2D41A96D476C462B2F4130BFEE5E0D8E2D41738A8EE4482B2F414094F606078E2D4133AC1C1C4A2B2F4138FD539F048E2D41DB56397E4B2B2F41D8BC254F028E2D41E9ED22094D2B2F4180B55B19008E2D41C406E4BA4E2B2F418047C400FE8D2D41E6E55591502B2F41D8C00808FC8D2D41C239238A522B2F41F0FBA931FA8D2D41DEFF06B6542B2F4118308A07F98D2D4185CEFCF1562B2F41C8A18BFDF78D2D41F4B7293C592B2F4148308B14F78D2D41AE00A7925B2B2F41D8544A4DF68D2D41C0B383F35D2B2F4160826EA8F58D2D41093FC65C602B2F41589D8026F58D2D4168E1176B642B2F41E05171A2F48D2D41FE1D187C682B2F41C8838635F48D2D41C2EC428F6C2B2F415004CEDFF38D2D4153FF13A4702B2F4110B252A1F38D2D41D7D106BA742B2F41087A1C7AF38D2D41A1BB96D0782B2F413855306AF38D2D41D3A16CE0802B2F4190E76209F38D2D41891DDAE0882B2F41489EB2FBF18D2D41693D6AC3902B2F4118B90643F08D2D412A05DE79982B2F4158647BE2ED8D2D41B12A46F69F2B2F4168195CDEEA8D2D4129431C2BA72B2F4150DA1B3CE78D2D41E285F6EEB22B2F41885078DFE08D2D41A4BC4F89BE2B2F4150A34F38DA8D2D41F4FC4FF8C92B2F41A869B047D38D2D41623F263AD52B2F4128E7B40ECC8D2D4192A9084DE02B2F41D8DC828EC48D2D41A7D6342FEB2B2F41C85D4BC8BC8D2D414ED82C43F42B2F4130265B3DB78D2D417E4A957EFD2B2F4130E020F5B18D2D41591484DF062C2F4158F4B4F0AC8D2D4100550764102C2F41F0BC2131A88D2D4191CA250A1A2C2F41A84B63B7A38D2D41653BDFCF232C2F41283867849F8D2D412DB12B7F3C2C2F41D0C8F186958D2D412EF33554552C2F4150EACBE88B8D2D41DF058E4D6E2C2F41582284AA828D2D41E3D3C169872C2F41606AA3CC798D2D4119435DA7A02C2F412027AD4F718D2D41914AEA04BA2C2F4148211F34698D2D41213E0E5DCD2C2F4178095B54648D2D41861C6CD7E02C2F41F0404905608D2D4112CDC96FF42C2F415829D9475C8D2D414FB4E621082D2F415888DA1C598D2D41ABA07CE91B2D2F41A05CFD84568D2D4181B740C22F2D2F4118B7D180548D2D4128DB9801382D2F4170505F16548D2D4193164B3C402D2F4130E67B66538D2D415EE40E70482D2F41D0465871528D2D416CAB9D9A502D2F4180753837518D2D419E60B3B9582D2F41D09A73B84F8D2D41BB270FCB602D2F41A8EA73F54D8D2D41EAC3FD43632D2F41C0D5E3994D8D2D41B596B4C1652D2F4138BDDA694D8D2D41D3383641682D2F41B84792654D8D2D41481C83BF6A2D2F41E0990F8D4D8D2D41AB259D396D2D2F41D84D23E04D8D2D4194438BAC6F2D2F4148AD695E4E8D2D412131086C752D2F41C098BB96528D2D410ACAA149772D2F41D811C83B558D2D41843198E9782D2F4178DF5908588D2D4167D1AB487A2D2F41E072D8F65A8D2D419BCB1E647B2D2F41B86B67015E8D2D413275BA397C2D2F41204EF221618D2D4166C3D3C77C2D2F4110AB3852648D2D4134A14E0D7D2D2F41D09FDA8B678D2D415727A0097D2D2F41B09465C86A8D2D414A4ED0467C2D2F411835C908708D2D41CD20BD527B2D2F41B01A1C41758D2D4117FFBA2D7A2D2F41604F906F7A8D2D41D7332FD8782D2F4168465B927F8D2D414DD18F52772D2F41D87AB6A7848D2D416588639D752D2F41480DE0AD898D2D41258C69CD732D2F4130546ED88E8D2D41ACED6F09722D2F4188D72207948D2D415D2C8051702D2F4140B6E139998D2D41F186A3A56E2D2F4120F98E709E8D2D410BFBE2056D2D2F4160940EABA38D2D413F4547726B2D2F41406744E9A88D2D4147F3D6B5692D2F41901EDD4CAF8D2D41DF80298A682D2F4188A010D1B58D2D416CF58AF1672D2F4160921569BC8D2D4164C926ED672D2F41A8B6FB07C38D2D419D9A057D682D2F41684FC5A0C98D2D416E1B0DA0692D2F41489D8026D08D2D410D2500A56A2D2F4128A2A620D48D2D4153600BBB6B2D2F4138B84316D88D2D4101A61AE26C2D2F4148670E07DC8D2D411093181A6E2D2F416890BDF2DF8D2D414A8AEE626F2D2F41A07308D9E38D2D41E5B584BC702D2F4118B5A6B9E78D2D4187578302722D2F4160429E9DEB8D2D4199963175732D2F41C8EED471EF8D2D410077CD13752D2F41D8C24934F38D2D41A8FF7DDD762D2F41881205E3F68D2D41D1AB53D1782D2F41B083197CFA8D2D419AE848EE7A2D2F41A811A5FDFD8D2D41E84A4D587C2D2F4188BDC256008E2D41E74471B77D2D2F41E8564BB6028E2D41EDB8970B7F2D2F41A87C0C1C058E2D417D72A454802D2F41684BD387078E2D41FA287C92812D2F41D85E6CF9098E2D416C8104C5822D2F4100D7A3700C8E2D417FE73716842D2F41F85C650F108E2D41EC458E12852D2F417811C3C8138E2D41B53DFAB7852D2F416807FC94178E2D418F652305862D2F41300F286C1B8E2D41F51669F9852D2F41C82C48461F8E2D41D1BCE394852D2F41C03E571B238E2D41E8FDF302852D2F41B076A814278E2D41E4C19F55842D2F4130FBAA092B8E2D41F555078D832D2F41F002A2F92E8E2D41451C50A9822D2F4198B5D1E3328E2D419C84A4AA812D2F41184F7FC7368E2D41F3043491802D2F412041F1A33A8E2D414700AC897D2D2F4118577311458E2D415715E3D77A2D2F4188AD63964F8E2D4142D28D7C782D2F41C05F01305A8E2D41F0234A78762D2F41C82086DB648E2D41E62C9FCB742D2F4188F226966F8E2D41F921FD76732D2F41C0E3145D7A8E2D41E0EFA132732D2F41D0E10174828E2D41012DA7AC732D2F41300A77888A8E2D41A61C05E4742D2F418090FD88928E2D4176C01AD6762D2F41C0BC49649A8E2D41EE86B37E792D2F41404E6009A28E2D414D6210D87C2D2F41F02FBB67A98E2D417B7D768A7E2D2F419850D313AC8E2D413C6A9771802D2F4188596E9BAE8E2D418D51668A822D2F4148377EFAB08E2D4111BA86D1842D2F41F0D3352DB38E2D41ABEB5143872D2F41482D0F30B58E2D416CC9DCDB892D2F4118FED0FFB68E2D41EC19FE968C2D2F41B0E59399B88E2D41673255708F2D2F41E010C7FAB98E2D41D066D5A7962D2F4120ADFADCBA8E2D417938D6859D2D2F41C0A44E80B88E2D41863A8DBBA22D2F41E81AF236B58E2D416CB0EBA8A72D2F4180239184B18E2D4187D0B145AC2D2F41E02C5C6FAD8E2D41B4BF268AB02D2F41981A29FEA88E2D415F7F256FB42D2F41A8D36738A48E2D4161E328EEB72D2F41C8CF15269F8E2D418E7C5601BB2D2F4138B5B0CF998E2D41966588A3BD2D2F410024283E948E2D41C86032E0C02D2F412865E8BD8C8E2D4178B9E35BC42D2F4148711A5A858E2D4101E3A215C82D2F4120B9CF147E8E2D41FDF2640CCC2D2F41682311F0768E2D41ECEB0D3FD02D2F41187BDEED6F8E2D41AA0C71ACD42D2F4120E02D10698E2D4157CFD437D62D2F41A0CD8FF6668E2D41D561D6E1D72D2F415071DDF4648E2D416A1D04A9D92D2F41C889D40C638E2D412A0BD38BDB2D2F41F88F1C40618E2D41853AA088DD2D2F41704945905F8E2D41112DB29DDF2D2F41786DC5FE5D8E2D41F0E31E24E22D2F41F027F0CA5C8E2D41F63120BBE42D2F4178F0A8BC5B8E2D4107198860E72D2F41C83ED3D45A8E2D41587C1C12EA2D2F41983032145A8E2D41360099CDEC2D2F4138E4677B598E2D4184F2B090EF2D2F4100F1F40A598E2D41A294F128F22D2F41C8546FDA588E2D419A26F0C2F42D2F41E80288E0588E2D418FE5305AF72D2F41907A341D598E2D415BC83CEAF92D2F41082B0C90598E2D412F31A96EFC2D2F41902949385A8E2D41118A1FE3FE2D2F41E085C9145B8E2D41D2E76A6B042E2F41A0DB6880608E2D4188A23C07072E2F4170DD5211658E2D41DF6EA145092E2F41F83FDED2698E2D41693F15230B2E2F41A02A97BD6E8E2D4103EEAB9C0C2E2F41F03FC9C9738E2D4116D015B00D2E2F4150AD8BEF788E2D419A55A35B0E2E2F419892CD267E8E2D41B0AD479E0E2E2F4118A46267838E2D41516B9A770E2E2F4158F90FA9888E2D41B892A63C0E2E2F4110A9B62E8B8E2D41D7683DC30D2E2F4130BC94AB8D8E2D412D16850C0D2E2F41382CA319908E2D41044E381A0C2E2F41C8D5FE72928E2D41E01DA2EE0A2E2F4100BBF6B1948E2D41F95E988C092E2F4118CE19D1968E2D41C5416E69052E2F410015C37B9A8E2D41D01CEF2F012E2F4160789A0C9E8E2D41BA07BCE0FC2D2F4198001883A18E2D419D55797CF82D2F4128A1B7DEA48E2D41BE7CCE03F42D2F41604FF91EA88E2D4190FD6577EF2D2F4130136143AB8E2D418A9F9751ED2D2F4118A8B7C1AC8E2D414D30F142EB2D2F4118DC5E5FAE8E2D41EEAF3A4DE92D2F418885F01AB08E2D41D0862672E72D2F412094ECF2B18E2D41C60D50B3E52D2F41785CBAE5B38E2D41C6293A12E42D2F41E0FBA9F1B58E2D4135AB3E57E12D2F41781D3867BD8E2D413F4FB4FDE02D2F4120461821C08E2D41D65D18CEE02D2F41382014DFC28E2D41E68A96C8E02D2F41E048A79EC58E2D4197E433EDE02D2F4140E74B5DC88E2D41A5CECE3BE12D2F4120FE7C18CB8E2D4132211FB4E12D2F4108BBB8CDCD8E2D41F3FCB0F1E32D2F41705E26DCD28E2D410EC8AE95E62D2F41181829B8D78E2D41456DB39BE92D2F41A071AA59DC8E2D41D3B0B6FEEC2D2F41C853F5B8E08E2D41A99015B9F02D2F41E0DAC2CEE48E2D41E0A59BC4F42D2F41A0734694E88E2D411A3443C6F62D2F4180EFBC44EA8E2D419A7987A2F82D2F4108BE0F1EEC8E2D41C7F42A56FA2D2F41C07D061DEE8E2D41B1E636DEFB2D2F41883E273EF08E2D41157D0038FD2D2F41988FBC7DF28E2D412A772D61FE2D2F4188F4DBD7F48E2D4181C954C1FD2D2F41381895D4FB8E2D41DE242328FC2D2F4188C991C5FF8E2D416BC72949FA2D2F4108B35C97038F2D41E4F9C426F82D2F41283A2445078F2D41C013A6C3F52D2F41703344CA0A8F2D41F215D022F32D2F4120BE4B220E8F2D418BDD9347F02D2F41F8DD0249118F2D416B31BB76ED2D2F41D09D8912148F2D4107C4C691EA2D2F4138DF28C7168F2D41ADB65199E72D2F41889F4F66198F2D41F53FFB8DE42D2F41D05A71EF1B8F2D417E8A6670E12D2F41E02806621E8F2D41A5923A41DE2D2F41D8DA8ABD208F2D4191982239D32D2F41E07F3965288F2D4132213246C82D2F4168DC0B2B308F2D41C883BB68BD2D2F41907CC70E388F2D41F97510A1B22D2F41180B3110408F2D41AF0982EFA72D2F4138530C2F488F2D4160AA60549D2D2F4150431C6B508F2D412D4E892E972D2F41B869537B558F2D4142723F4D912D2F4150438EDA5A8F2D41207279B48B2D2F4198182E85608F2D419DCBFC67862D2F4120646177668F2D4194945B6B812D2F41506526AD6C8F2D41D112F2C17C2D2F41E8D24D22738F2D41273E019A772D2F4138327E007B8F2D412DDBDDAE722D2F4180833D05838F2D416A0AA8016E2D2F41E00CB62E8B8F2D41D8C07193692D2F41F8AB097B938F2D41CC883E65652D2F41B04552E89B8F2D41DB460378612D2F419833A274A48F2D41DBFF1C745F2D2F4170D0E581A98F2D41E5AE09B85D2D2F4148B98CA9AE8F2D41BBA920455C2D2F4130A59AE7B38F2D41D1B4801C5B2D2F41C0FA0138B98F2D41B3250F3F5A2D2F4178EFA696BE8F2D41973177AD592D2F41C0B662FFC38F2D419AE9E77F592D2F41A09A3F46C98F2D41C0F417BD592D2F4160627E8CCE8F2D41819EA5645A2D2F4128F9B2C9D38F2D41F65985755B2D2F4160B97FF5D88F2D41026D03EE5C2D2F41A8C8A207DE8F2D41EDA7C6CB5E2D2F41004703F8E28F2D41FB7B110B662D2F41F0A1DBE4F28F2D41C212345F6D2D2F41384927C802902D4102D721C8742D2F4148F5CAA112902D41BC0FCE457C2D2F41106FAB7122902D416BE02BD8832D2F41D090AD3732902D41F4482E7F8B2D2F41A045B6F341902D41FA0B14648E2D2F41D8B764F347902D41A031C5D6902D2F4130B31C254E902D417ACDE7D3922D2F41086A638054902D41C1E1C258942D2F41D02A85FC5A902D4154194263952D2F412849A19061902D4197A0F8F1952D2F419845B63368902D417838A24B962D2F4140312D9871902D418D8E4E0E962D2F41A0D387FD7A902D41C0753B3A952D2F41C0514D5A84902D4158B93ED0932D2F4110770DA58D902D417545C5D1912D2F41103A6AD496902D410FB7D1408F2D2F41702D21DF9F902D41E0804E438A2D2F41409EB627AF902D41EDB629F2842D2F419084FE53BE902D411DB1034E7F2D2F41E84D2F62CD902D41648E8657792D2F4160F48250DC902D41EC20660F732D2F415832371DEB902D41B0D85F766C2D2F41F8B88DC6F9902D4155013B1E6A2D2F41C03B4896FE902D41EDB5FEC9672D2F41A849E86703912D413B7FAC79652D2F41B8B56A3B08912D4197E3452D632D2F41C051CC100D912D418866CCE4602D2F4190EE09E811912D412E8941A05E2D2F41B85B20C116912D41310503675B2D2F41D04F36191E912D412E99C01D582D2F41E8BF2F6A25912D41E4F489C4542D2F41F0BEE9B32C912D411F146F5B512D2F41608341F633912D41853E80E24D2D2F41B06614313B912D416607CE594A2D2F41C0E53F6442912D41DE3FA4DF262D2F41F0B7AFC389912D412BB29DAF012E2F41687FD97D8A912D417C1D38A7472E2F41C06B09B98A912D412A2AA9D3E32F2F4108D044188C912D41FCCD1911EA2F2F41A08EE4B21C8F2D418348BFFDEA2F2F4100EA9572C08E2D4184C0CAE1EB2F2F4130B4C876678E2D41BA8D06F0F32F2F4138029AC8428B2D41FCEDEB40F62F2F41385C8F423E892D41C17D1DF8ED222F4190D6342F3A892D417EE92631DA212F41783D0A17AB892D41036142369A212F410813112FC3892D41613852BC59212F41286993EAD9892D413EABC0CA18212F4168FCF346EF892D415AB70569D7202F4128ECBD41038A2D417F40A69E95202F41D800A5D8158A2D413633337353202F4170F08509278A2D417E8CB96BF91E2F4198703D8A7C8A2D4117F8D252CA1E2F41D0B4ADE8898A2D4140D0620A9C1E2F4170DDCEDE998A2D4127D9E9B66E1E2F41A8370A60AC8A2D4169A3277C421E2F41508CC75DC18A2D41DC59FE7C171E2F4160A278C7D88A2D41B13E57DBED1D2F41304CA68AF28A2D41EDEBC079061C2F41E8F0F48A3F8C2D41BB20B032041C2F4188A7574A6D912D41D0073D5BF9162F41E066D5E767912D41FC809503E4162F41001B9E5EB4972D41799ECDAACE162F41E0D9ACBA009E2D413155306A42232F416070CE480E9E2D41F62FBBE74A232F413045473211982D41626DC57E4B232F41104850BCDE972D41ACE1E9953B232F41508D97AEDF972D4141D6C5AD2B232F41089D11A5E0972D41263867C41B232F41E000DE82E1972D41441361C30B232F41D873B5D5E1972D41F77C3F75FB222F4178635DDCE0972D41DA2D90A0EB222F416868916DE1972D41714DF3CEDC222F41E81DA728E6972D41E26A2B76CE222F4130AB3ED7ED972D414E96214EC1222F419028ED8DF7972D41020000000200000000021200000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1356076 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1356189, N'{01F214C7-1262-439D-A48C-3DF22A89798B}', N'015019535', 463508, N'NEP3022', 9750141, N'15019535', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot A', NULL, NULL, N'LOT A SECTION 16 TOWNSHIP 24 RANGE 19 WEST OF THE 5TH MERIDIAN KOOTENAY DISTRICT PLAN 3022', N'0163', N'0006', N'NO', N'ICF', 38, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2022-01-21T09:08:03.000' AS DateTime), 13945, 541, 0xBD0B00000104070000006E8A8E64574B394170F7E4A12ECB2541029A083B634B39413010587982CA25418E537424704B3941407B83EFB8C925412E0F0BF5F64A394168B12E2E9DC92541E0938765F04A394128E9B72FE6C92541B6270F8B164B3941F8B9DA8A5FCA25416E8A8E64574B394170F7E4A12ECB254101000000020000000001000000FFFFFFFF0000000003, CAST(1356189 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1356455, N'{7D881849-90E7-4E55-AA9F-38EA7CFC6C1E}', N'010319581', 252440, N'PGP752', 4449381, N'10319581', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', NULL, N'Lot 5', N'Block 99', N'', N'LOT 5 BLOCK 99 DISTRICT LOT 937 CARIBOO DISTRICT PLAN 752', N'0112', N'0008', N'NO', N'MODIFIED-TANTALIS', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-07-26T16:27:00.000' AS DateTime), CAST(N'2020-04-23T14:35:39.000' AS DateTime), 270, 86, 0xBD0B0000010405000000E3A59B84B17932417095430BA3642E41288716F98D79324118355EFA9F642E41DC78E9A68D793241B8096822AF642E41580E2D32B17932418820B032B2642E41E3A59B84B17932417095430BA3642E4101000000020000000001000000FFFFFFFF0000000003, CAST(1356455 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1356596, N'{029F2ECE-6F3E-4C5F-8B4D-25C3CB78ECF8}', N'002966735', 19758, N'VIP24040', NULL, N'2966735', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1, DISTRICT LOT 18, MALAHAT DISTRICT, PLAN 24040 EXCEPT PART IN PLAN VIP73394', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:58:51.000' AS DateTime), CAST(N'2021-02-25T09:41:45.000' AS DateTime), 889, 129, 0xBD0B00000104050000007FC0CA019A02324160218E75C1CC1841E3141DC9A602324130B37B72C3CC184198B20CB1BC0232413059173728CC1841BA627FD99C023241801EA76822CC18417FC0CA019A02324160218E75C1CC184101000000020000000001000000FFFFFFFF0000000003, CAST(1356596 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1357034, N'{8FC74E11-9735-4ADF-9BD4-D900C0883C35}', N'005700892', 495877, N'NEP595', 90054449, N'5700892', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 29', N'Block 18', N'', N'LOT 29 BLOCK 18 DISTRICT LOT 208 KOOTENAY DISTRICT PLAN 595', N'0056', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:37.000' AS DateTime), 199, 62, 0xBD0B000001040A0000002A0681F57C2F394140257542D4DE2141DF4AFEF27B2F3941182E0A9BD1DE2141482A37E97A2F3941288CEEFECEDE2141CB4C4BD8792F394170D4716ECCDE2141C0345BC0782F3941F039E2E9C9DE21416A3A88A1772F3941E0828C71C7DE21410488F47B762F3941A001BC05C5DE21413E9B559F632F394118BC0512D0DE2141C4749338662F3941A8051294E1DE21412A0681F57C2F394140257542D4DE214101000000020000000001000000FFFFFFFF0000000003, CAST(1357034 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1357110, N'{AAE64BB8-471B-4EB7-AEE5-F0A4629EC105}', N'015765814', 488792, N'NEP934', NULL, N'15765814', NULL, N'7073600200', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 2', N'', N'', N'LOT 2 DISTRICT LOT 789 KOOTENAY DISTRICT PLAN 934, EXCEPT PARTS INCLUDED IN PLANS 3072, 9876, 18767 AND NEP65112', N'0163', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:15.000' AS DateTime), 68195, 1800, 0xBD0B000001040E0000006A006F41280A3941A0BFEC1EE8D4204128A913F0630A394118583934C9D02041A145B6132C0A3941B08F31F7A2D02041FE21FD56350A3941C044D87063D0204158F5B93A090A394138499DC048D0204196779CE2050A3941501058B946D020411951DA3BC40939410854E325D2D420416A006F41280A3941A0BFEC1EE8D42041A613D004260A394120BE30D90FD5204159643BFFC1093941A8C0CAE1F9D4204151E3A5BBB4093941200BB526E5D52041946588A3B40939410896B2CCE6D52041D04D6270180A3941507B83AF00D62041A613D004260A394120BE30D90FD52041020000000200000000020800000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1357110 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1357583, N'{BE97C2B1-675B-4483-888B-4F9DCE9397BC}', N'008227128', 117903, N'VIP877', NULL, N'8227128', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 30', N'Block 9', N'', N'THAT PART OF LOT 30, BLOCK 9, SECTION 24, VICTORIA DISTRICT, PLAN 877, LYING NORTH EASTERLY OF THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 8 RW', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:52:22.000' AS DateTime), CAST(N'2019-01-05T10:23:54.000' AS DateTime), 9, 19, 0xBD0B0000010409000000A333A2F43E39324120BD5216648C1741E44E640B3F393241506CE5F1698C1741CB598B243F3932413069DBCC6F8C1741061117403F393241A00A25A7758C1741F62A075E3F39324150ABB2807B8C17418A575B7E3F393241A0A57459818C1741504013A13F393241E0565B31878C17412D08AC7C41393241F06800EF848C1741A333A2F43E39324120BD5216648C174101000000020000000001000000FFFFFFFF0000000003, CAST(1357583 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1358086, N'{2AAF6236-FAA1-4921-B391-316EE864378B}', N'014715015', 7051607, N'KAP12869B', NULL, N'14715015', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART 1', N'377', NULL, N'PARCEL 1 (PLAN B12869) OF THAT PART OF DISTRICT LOT 377 SIMILKAMEEN DIVISION YALE DISTRICT COLOURED RED ON PLAN ATTACHED TO DD 29493F EXCEPT PLAN KAP62273', N'0080', N'0019', N'NO', N'ICF', 11, N'LSA', N'UNKNOWN', N'1', N'16655', CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-05-07T15:04:18.000' AS DateTime), 16701, 714, 0xBD0B000001041C00000020D26FDFE74B374190B7AF0355BE1C4156302AA92A4C3741000BB52659BD1C41F2F44A79394C374130D5E76A2ABD1C41B5913B36334C374120DED1DC12BD1C415CE4D6632C4C3741F02A66F1FDBC1C415A2DC813254C3741308FD3DEEBBC1C41452700591D4C3741601DE9D3DCBC1C415BF88347154C374160E89CF7D0BC1C41105839F40C4C3741D01DA768C8BC1C41C78F3157884B3741703BDF4FBCBC1C4166AA6014864B3741F08AFDE509BD1C41860D4FEF7D4B374100AAF15225BE1C416ADE710AC14B3741E0CAA14543BE1C4120D26FDFE74B374190B7AF0355BE1C41C6A145564E4C374110E02D108BBE1C4194B20CD1524C3741909318048DBE1C4188D2DE20534C37411076711B5ABE1C41C55FD86C534C3741403390913FBE1C4104749B2C534C374100EFBE0525BE1C414CE89760524C3741B03436A60ABE1C41BCF4300A514C37413075E1A0F0BD1C41D0C5BA2B4F4C374170130F23D7BD1C418D6E76C84C4C3741E0802159BEBD1C41DD3D8CE4494C374130F6416EA6BD1C4174810485464C3741904C158C8FBD1C4133BB278F094C3741506054526CBE1C41E8FBA911494C374160218EF588BE1C41C6A145564E4C374110E02D108BBE1C41020000000200000000020E00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1358086 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1360171, N'{FDF08A39-AA3F-4BDB-9F75-0231C66BE709}', N'001591045', 141191, N'VIP1291', NULL, N'1591045', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 15', N'Block 3', N'', N'THAT PART OF LOT 15, BLOCK 3, SECTION 9, ESQUIMALT DISTRICT, PLAN 1291 INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0154', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:45:33.000' AS DateTime), CAST(N'2019-01-05T11:03:48.000' AS DateTime), 328, 80, 0xBD0B000001040E000000F25A42DE5B2B3241F0384547309B1741FEE68CA84B2B324190A757CAF29A17416B91ED7C4B2B3241102FDD24F29A17413BCD3B6E472B324100EEEBC0E29A1741832F4CE6462B3241B056EC2FE29A1741CFDEE08B442B3241B0AF03E7099B17414A50FC38422B3241409B551F319B1741BCEBAB55462B3241E0CE6049359B1741AABA26784A2B3241203C4C13399B1741BA51E09F4E2B32418037977C3C9B174180934BCC522B3241E0E5CD843F9B174120C3DAFC562B3241E04F892B429B17412997FF305B2B324160696F70449B1741F25A42DE5B2B3241F0384547309B174101000000020000000001000000FFFFFFFF0000000003, CAST(1360171 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1360960, N'{69BA030C-9E65-4333-BC4D-04DBB599AED3}', N'012933856', 3, N'NO_PLAN', 3801030, N'12933856', NULL, N'73105644000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'860', N'', N'', N'DISTRICT LOT 860 KAMLOOPS DIVISION YALE DISTRICT', N'0163', N'0028', N'NO', N'ICF', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:29:36.000' AS DateTime), 2452455, 9174, 0xBD0B00000104110000008C8EE4B2CBB035412888639D762522414EFC1893D4AD354128B7D1C0F7242241A64E40F3F5AD354190C876BED721224136EF382566AC354198D634EF942122414D05A3D285AC3541687958A89D1E224104B5A69995AC3541304A7B83231D224102D57889B1AC3541D8749318541A224140A4DF5E72AA3541F0A7C60BF41922418A1F636E56AA3541D8141D89C31C2241D734EF3850AA354150621058581D224170F08569BFA83541081B9E5E151D2241E451B87E7CA83541200BB56659232241679A771C9EAB3541703D0A57DF2322415B302AA95BAB3541882F4C26182A22412C2AA91320B2354148B6F37D482B2241F2C9C3825CB235415850FC98B92522418C8EE4B2CBB035412888639D7625224101000000020000000001000000FFFFFFFF0000000003, CAST(1360960 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1362154, N'{5ABA3A95-30E3-4945-85B2-58BC124FACDC}', N'012799122', 464106, N'NEP11385', NULL, N'12799122', NULL, N'7042507500', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'', N'', N'LOT A DISTRICT LOT 346 KOOTENAY DISTRICT PLAN 11385', N'0163', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:17:57.000' AS DateTime), 11748, 457, 0xBD0B000001040E000000E0A59B2469183A41A804C54F8DD923410C9E805772183A415081999984D9234178926A397B183A41306462A97AD923415C0DE5BF83183A41104AD28A6FD923414438E7E08B183A41B0AEFF4A63D9234187ABDF9293183A41588555F855D923415BB1BFCC9A183A41B04082A247D92341ECF21F52C8183A41B869DEF1E6D82341C217261390183A41B023B97CA1D82341787AA56C24183A41D022DBF92CD92341BE5B202122183A41483333F32FD923415227A02932183A41E82FBBE7BCD92341B9B88D863D183A4118EF3805B3D92341E0A59B2469183A41A804C54F8DD9234101000000020000000001000000FFFFFFFF0000000003, CAST(1362154 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1362452, N'{84CB8294-7DC6-46EB-A9C1-DFA12FA3CFDD}', N'014838583', 3, N'NO_PLAN', 8612180, N'14838583', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'6102', N'', N'', N'DISTRICT LOT 6102 KOOTENAY DISTRICT', N'0163', N'0018', N'NO', N'MODIFIED-TANTALIS', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:31:15.000' AS DateTime), 279854, 8005, 0xBD0B0000010491000000ED63CCDD34703B41C0E1E9D529B32141EAD9AC1A30703B41D02D9020C7B321419C65886321703B4110E02D50C3B32141518638960A703B4100C66DB44DB721419E33A27425703B41780D4FAF4EB721418EA0F83123703B4148FC18B3C1B721416A19E2D818703B41287A36EBCFB921415B302A2912703B4110F46C56FFBA214134E6AEA508703B412080B7004BBC21418EA0F8D107703B41C88F31B75CBC21416C9A779C07703B41785AD37C66BC21413E3EE81907703B4140CF66957CBC2141FC53E38506703B41B0E76AAB92BC21415C643BDF05703B4160C954C1A8BC2141F64A592605703B41203CBDD2BEBC2141A43E575B04703B41088A1FE3D4BC214110A5BD0103703B4188613295F6BC214125F6977D01703B41686EA34118BD2141A6D634CFFF6F3B4128787AE539BD2141784F1EF6FD6F3B41F8FFFF7F5BBD2141393CBDF2FB6F3B41B07268117DBD214150DA1B7CF16F3B4188923A010CBE21415CC1A804E46F3B41B09F1AEF99BE2141C0172693D36F3B41D819519A26BF214130C4B12EC06F3B41F88095C3B1BF2141388941E0A96F3B419867B32A3BC02141D6A3707D9F6F3B41381895D476C021410AF016A87F6F3B41083411B62DC121416AAA60F42C6F3B411824287EA4C22141C8073D3B0D6F3B41180F0BF5C8C221412C1895D4FE6E3B41A056ECEFBEC22141C4A8A4CE936E3B41584BC8C725C52141F0384547926E3B4130A913902EC52141F0D24D228D6E3B41102DB21D4CC52141A0D634AF566E3B41A00C71EC84C621419A6E1223446E3B41F8A06773FCC62141D6C56DB4356E3B416010583976C72141F48E53742B6E3B41901F63AEF1C72141528D976E256E3B4128DBF93E6EC82141BA3099AA236E3B41183E7958EBC8214148E17A74256E3B41606666A64CCB2141A0D6348F266E3B4170A8350DCBCC21416C226C98266E3B41E0938785D7CC214185C954E1266E3B41F0DBD7413ACD214171128320366E3B41F0AACF153ACD2141BB7493D8366E3B413061C3133ACD214186A7572A396E3B41F0EC9EFCDECE2141A8CFD536396E3B412051DADBE7CE214192A0F8113B6E3B4138A91310E5CE21416819E2783F6E3B41009F3C6CDECE21410488F41B746E3B41583BDF0F8FCE214189EB51B8756E3B4168E5D0A28CCE214138674469756E3B41C0C8763E55CE2141E4B7AF43756E3B41306C78FA3ACE2141C4073D3B756E3B4198FD65F734CE2141B0825129756E3B41B863CC5D28CE21414E499D20756E3B4138F1634C22CE2141F28E53D4736E3B41282FDD6439CD214141E8D96C7D6E3B41105EBA4939CD21413411365C826E3B41A06CE73B39CD2141BA847C50826E3B4170BA490C29CD2141C1CAA105816E3B416807CE9969CB2141E27A146E806E3B4108AAF1529FCA2141986E1263806E3B412006811591CA2141E29387257F6E3B4188847C50EAC8214156D3BC237F6E3B41601E16AAD9C82141713480377F6E3B41D0DCB504C9C821413C80B7607F6E3B4118D26F5FB8C82141EA482E9F7F6E3B4178B515BBA7C82141C51726F37F6E3B41F8CF441897C8214118D9CEB7706E3B41D8C798BB95C821414A72F94F746E3B41C8D5562C34C82141FA9908BB7A6E3B410021B032D3C72141836ABCF4836E3B41D0E4612173C72141B8FC87F48F6E3B4178832F4C14C721417DFB3AB09E6E3B4178931804B7C62141E7839E6DD96E3B4118166A8D65C52141127C61F2DD6E3B41E086A7974BC521411E6C781AE06E3B4158EA04343FC52141920F7AF6A46F3B4180B0E129FDC12141B47268D1B86F3B4160F5B91A8BC12141FC088A7FC56F3B4120B7D14042C12141E895B20CE56F3B4158499D008DC0214148D8F0D4EB6F3B413082E20766C02141C2A145F6FA6F3B41787B832F0BC02141A223B9DC08703B418816D98EAFBF2141FF65F78415703B410022FD3653BF21413AD6C5ED20703B41F0EBC039F6BE214148E17A142B703B41489D80A698BE214198C420D02D703B41A05374247DBE214148696F7030703B417074249761BE2141F38E53F432703B41102428FE45BE2141143FC65C35703B410076E05C2ABE2141AA8251A937703B41208E75B10EBE214143AD69DE3D703B41D066D5E7BBBD21416210581943703B41C07493D868BD2141D934EF5847703B4198BB969015BD214128F6979D4A703B41B0506B1AC2BC21414F4013C14C703B41B0A44EC073BC214198081BFE4C703B41C0D32BA533BC2141BC9F1A4F43703B41A09CA2232FBC2141B8C8769E57703B41E88C28ADD8B721419C5E292B48703B41203108ACD4B721419C11A59D4C703B41083411B64AB72141F83A706E5A703B4190A9825145B721410E93A9C269703B41B8CCCC8CDBB42141280681356F703B4100DCD741DBB32141FD87F43B70703B41C0D1005EA5B32141B8FC873465703B4160A301BCA4B32141F87E6ADC6A703B41308941E008B32141B237F88279703B41902F4C2675B12141F29DC8B177703B418019B7DA6EB1214107D326DB75703B41905E789568B121415E5D18FF73703B4150D7A25662B12141C0D3A21D72703B411049491E5CB121412ADDCB3670703B4120657EEC55B12141C130994A6E703B4190C954C14FB121419869E8426D703B41884A20DD4DB12141F563BF3D6C703B41386677F34BB121416758253B6B703B41B8A667044AB12141806D213B6A703B41B8BBFE0F48B1214163B7BA3D69703B41C87B4A1646B12141B537F84268703B4118E2581744B12141AEDA74E966703B41E81FC02242B12141BAD89D8565703B41C87AFA4B40B12141A5D9171864703B4170C9E1933EB121414B008CA162703B4130B041FB3CB121416C9CA72261703B419043D7823BB121414EDA1B9C5F703B41E0B0502B3AB12141F26283795D703B418842FF4938B1214161F783595B703B4170060C5D36B12141376F2D3C59703B418857856434B121412D8E8F2157703B4110E7796032B12141B603BA0955703B4128BCF85030B121417C6ABCF452703B41203411362EB12141100828D351703B4118C992CC2CB12141E9013CB150703B4100C82D642BB121417A9CF88E4F703B416885E2FC29B121412A1C5E6C4E703B415056B19628B121418AC56C494D703B41488F9A3127B1214136DD24264C703B41A0839ECD25B12141463789414A703B415892CB7F24B12141836ABC3447703B4148BF7DDD26B121416C6FF08544703B41A8073D9B26B12141ED63CCDD34703B41C0E1E9D529B3214101000000020000000001000000FFFFFFFF0000000003, CAST(1362452 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1362676, N'{60CDB3FE-1864-44C5-A5E4-2E57A9BD8A04}', N'009679391', 1170767, N'NWP2620', 90000497, N'9679391', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'Lot 27', N'Block D', N'Lot 758', N'LOT 27 BLOCK "D" DISTRICT LOT 758 GROUP 1 PLAN 2620', N'0088', N'0010', N'NO', N'ICIS CADASTRE', 1, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2021-01-27T12:18:53.000' AS DateTime), 1578, 178, 0xBD0B0000010408000000ECF44A197FA5324100948705A5861C419E3C2C1488A5324150C3D3ABBE861C41DA56EC0F8BA5324110A5BDC1AD861C415417B7D1A7A53241300F0BB50A861C41AE47E1BAA2A5324100B8AF83FC851C417758A8D58DA53241C011A53DC2851C4128E483BE81A5324140F8C2E4A0851C41ECF44A197FA5324100948705A5861C4101000000020000000001000000FFFFFFFF0000000003, CAST(1362676 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1364091, N'{60A722F8-5E95-47D1-B307-77B0DF666D24}', N'009763759', 3191875, N'VIP1215OS', NULL, N'9763759', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'', N'', N'', N'THAT PART OF THE UNNUMBERED PORTION OF COWICHAN LAKE DISTRICT, SHOWN COLOURED RED ON PLAN 1215 OS, LYING BETWEEN THE EASTERLY BOUNDARY OF DISTRICT LOT 51 OF SAID DISTRICT AND THE PRODUCTION OF THE NORTHERLY BOUNDARY OF DISTRICT LOT 57 OF SAID DISTRICT, AND CONTAINING 5.89 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T17:08:49.000' AS DateTime), CAST(N'2019-01-10T15:03:31.000' AS DateTime), 25677, 1617, 0xBD0B0000010408000000917EFBDA8C863141B0DA8A7DADBF1941F853E3A55287314170AF03E732BD1941D63D7918FA883141D0081B9EF2B71941FCFFFF9FC5883141C03923CAEBB7194136B4C8165E88314100295C8F37B91941D35D4B48E9863141606ABCF4D3BD19416429CB508E863141000A68A2FABE1941917EFBDA8C863141B0DA8A7DADBF194101000000020000000001000000FFFFFFFF0000000003, CAST(1364091 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1365409, N'{20E1CC3B-3A1F-4BA5-8B2E-8F873FD2B875}', N'000017396', 645953, N'VIP883A', NULL, N'17396', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'Block 1', N'', N'LOT 4, BLOCK 1, DISTRICT LOT 132, ALBERNI DISTRICT, PLAN 883-A', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:44.000' AS DateTime), 643, 149, 0xBD0B000001040900000072E7FB890B9D3041203BDFCF39AC1C41250F0B950B9D304170839ECD39AC1C41C7DCB5640E9D30410081044539AC1C41C47F489F0E9D3041D074931811AC1C416F787A85039D3041E033113613AC1C41D02B6579039D3041E07D1D3813AC1C414182E2A7CE9C30412083C04A1DAC1C4161C3D30BCE9C3041F0490C8245AC1C4172E7FB890B9D3041203BDFCF39AC1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1365409 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1365436, N'{7177488C-1B47-4360-8BDD-30F1CFF21CD1}', N'000017086', 3, N'NO_PLAN', NULL, N'17086', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 278', N'', N'', N'THAT PART OF DISTRICT LOT 278, ALBERNI DISTRICT, INCLUDED IN PLAN 277 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:39.000' AS DateTime), 4184, 716, 0xBD0B0000010422000000CE44D8B0978A304100F016C8CD461D418AFD65779C8A3041604BC887C6461D41682BF637A18A3041306A4DF3BE461D4192A0F8F1A58A3041704AEA04B7461D410993A9A2AA8A3041D03923CAAE461D419A438B4CAF8A3041805BB13FA6461D41470378EBB38A3041406519629D461D412D6EA381B88A3041005A643B94461D41CFCCCC0CBD8A3041203867C48A461D418916D98EC18A30415092CBFF80461D41B5B88D06C68A304160FC18F376461D413B3CBD72CA8A304110E258976C461D41C00E9CD3CE8A3041008F53F461461D4190CB7F28D38A3041306EA30157461D4104B37B72D78A304190A8A4CE4B461D41653BDFAFDB8A30419016D94E40461D41A4A44EE0DF8A304190E17A9434461D41ADBFECFEE38A3041C0E3149D28461D411595D409258B304150AA60546B451D4154EC2F7B118B3041006E348068451D416A09F9E0DC8A3041205F984C01461D41F1460AC4CE8A3041A094537328461D414D4A1B1BC08A3041E0BB0C3E4C461D41EA82F3F2B08A3041A0AD908D6C461D418946C958A18A30412021B54589461D41A64C365A918A30412036714DA2461D41C0D32B05818A3041504DF38EB7461D41D04D62D0E58930414029CB106E471D4126C28667E589304100189554A1471D418B6CE75B848A304150D5E76AE7461D418F180436898A3041E0B8FC87E1461D4112E9B70F8E8A3041305EBA49DB461D41B32E6EE3928A3041C00E9CB3D4461D41CE44D8B0978A304100F016C8CD461D4101000000020000000001000000FFFFFFFF0000000003, CAST(1365436 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1365464, N'{38EF2D1D-68E8-4FA6-840B-913A194E763A}', N'007622252', 647337, N'VIP1297', NULL, N'7622252', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 20', N'', N'', N'LOT 20, LOOP FARMS, ALBERNI DISTRICT, PLAN 1297 EXCEPT THAT PART IN PLAN VIP65073', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:23.000' AS DateTime), 137270, 2235, 0xBD0B0000010413000000898EE492A48C3041A0CCCCCC68241D41BA4082E2C68C3041200DE02D9D241D41E7F21FB2E68C304110DBF97E27241D41A3D634AFE68C304140211F7427241D417F5149FD478C3041804160E57B211D4133333393D98B3041E06800EF32231D41E895B20CFB8B30419094650866231D418E1804962D8C304110ADFADCA7231D415A39B428948C304160423EE84B241D41898EE492A48C3041A0CCCCCC68241D41EE8E53F4B48C304130DE718ADF241D41EAC039439B8C3041207958A8B0241D4141136163EE8B304170CAA1C5A8231D4156C1A884C88B304130A60AC676231D419F802622C88A30416011363C72271D412EE6AE25C88A3041C03D795872271D412531084CBF8A3041102428FE9C2B1D41411CEB82F28A304140CBA1C5622B1D41EE8E53F4B48C304130DE718ADF241D41020000000200000000020A00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1365464 AS Numeric(38, 0)), NULL) +GO +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1367244, N'{A3AAAFFF-F3F6-4C7A-980F-3B83CF29AF65}', N'013977695', 295389, N'PRP968', 29851651, N'13977695', NULL, N'01251.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 21', N'Block 106', N'Section 2', N'LOT 21 BLOCK 106 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:42.000' AS DateTime), 260, 72, 0xBD0B00000104050000001524283EFB792B419006F096D76431412395D4490F7A2B4144D6C56DD76431415E5452670E7A2B414048507CBD6431410FAC1C5AFA792B41D09C11A5BD6431411524283EFB792B419006F096D764314101000000020000000001000000FFFFFFFF0000000003, CAST(1367244 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1367246, N'{43AEBB5A-E24F-474D-84D6-6E214C62EA90}', N'013977784', 295389, N'PRP968', 23694891, N'13977784', NULL, N'01257.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', N'Block 111', N'Section 2', N'LOT 3 BLOCK 111 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:42.000' AS DateTime), 233, 66, 0xBD0B0000010405000000A0A22339207A2B41547424577A6431417D9ECD2A0C7A2B41AC9BC4807A643141ABFA5CED0C7A2B4128D9CEB791643141474772F9207A2B41E0FA5C8D91643141A0A22339207A2B41547424577A64314101000000020000000001000000FFFFFFFF0000000003, CAST(1367246 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1368171, N'{9A300C9C-FAFB-4ECA-BD24-C0C20FF4A1D1}', N'002518929', 1183231, N'NWP60467', NULL, N'2518929', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2010-10-28T00:00:00.000' AS DateTime), N'REM Lot 122', N'', N'', N'LOT 122 DISTRICT LOT 16 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 60467 EXCEPT PLAN EPP3650', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:36:58.000' AS DateTime), 7543, 363, 0xBD0B0000010408000000DEB584BC07AF32412088F4DBE7701C414E27A0A916AF3241C08A8EE4AA701C419106F09625AF3241108D28ED6D701C414B25756232AF3241400C02AB39701C4153A60AE6E5AE3241C07A142ED86F1C410B560E6DA5AE324100575B31E0701C413B6744C9DFAE3241F0559FAB8B711C41DEB584BC07AF32412088F4DBE7701C4101000000020000000001000000FFFFFFFF0000000003, CAST(1368171 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1369752, N'{13829CE2-4BC5-4742-B92A-9A536B0501A7}', N'013769626', 1179666, N'NWP2553', NULL, N'13769626', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-24T00:00:00.000' AS DateTime), N'Lot 9', N'', N'', N'PART LOT 9 SECTION 6 TOWNSHIP 14 NEW WESTMINSTER DISTRICT PLAN 2553 LYING TO THE SOUTH WEST OF PARTS ON PLAN 23336', N'0067', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T10:02:06.000' AS DateTime), 8625, 405, 0xBD0B00000104070000004FAF94C5D42C3341308B6C6737131C41E25817973E2C3341D0FFFFFF24131C41D05D4B883B2C334140CD3B4E2D141C41F575E0BC502C3341F08AFD654A141C4114E258977F2C3341F0F1D24D3A141C41B71E85CBD32C3341A08D06F0A1131C414FAF94C5D42C3341308B6C6737131C4101000000020000000001000000FFFFFFFF0000000003, CAST(1369752 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1371653, N'{6002734D-8B83-4268-8132-9DF34F6941C5}', N'013749633', 1480869, N'NWP2541', NULL, N'13749633', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2016-07-19T00:00:00.000' AS DateTime), N'REM Lot 7', N'Block 1', N'', N'LOT 7 EXCEPT: FIRSTLY; PART DEDICATED ROAD ON PLAN LMP21755, SECONDLY; PART ON SRW PLAN 74467, BLOCK 1 DISTRICT LOT 758 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 2541', N'0088', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:36:38.000' AS DateTime), 755, 116, 0xBD0B0000010405000000140DE08D7BA5324110736811368C1C418CDB68808CA5324140F085C9D48B1C4189FD65976FA53241E0891F63848B1C41046822AC6EA53241906B9A77128C1C41140DE08D7BA5324110736811368C1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1371653 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1372571, N'{1712165F-7872-4B37-AED4-7567B1B646E2}', N'013184768', 3, N'NO_PLAN', NULL, N'13184768', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 2088', N'', N'', N'THAT PART OF DISTRICT LOT 2088 LYING TO THE NORTH AND EAST OF DISTRICT LOT 4121 KAMLOOPS DIVISION YALE DISTRICT AS SHOWN ON PLAN CG2; KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLAN KAP47206', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:20.000' AS DateTime), 2909, 302, 0xBD0B00000104050000009B218E75FE983541A8F5289CEC7320410FC7BAB840993541D8817306B5732041E6AE25E44799354138B4C87600732041AB0C71AC479935411045D830007320419B218E75FE983541A8F5289CEC73204101000000020000000001000000FFFFFFFF0000000003, CAST(1372571 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1374123, N'{5BAAEE79-4BCC-4B18-B46F-10C319BB0475}', N'010371125', 868117, N'KAP1154', NULL, N'10371125', NULL, N'72401630128', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 47', N'', N'', N'LOT 47 DISTRICT LOT 1658 KAMLOOPS DIVISION YALE DISTRICT PLAN 1154 EXCEPT PLAN H639', N'0163', N'0028', N'NO', N'ICF', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-04-10T09:45:25.000' AS DateTime), 184, 55, 0xBD0B0000010405000000D3915CDEA8643541D05B2081883C2641EEC9C302AC6435411876E0DCA63C26418FCB7FE8B8643541A8F08509983C2641A2D6348FB1643541D0A679477E3C2641D3915CDEA8643541D05B2081883C264101000000020000000001000000FFFFFFFF0000000003, CAST(1374123 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1374124, N'{9BFD3ED8-5B81-4308-903F-7D1E701A47E5}', N'010546693', 868117, N'KAP1154', NULL, N'10546693', NULL, N'72401630130', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 48', N'', N'', N'LOT 48 DISTRICT LOT 1658 KAMLOOPS DIVISION YALE DISTRICT PLAN 1154 EXCEPT PLAN H639', N'0163', N'0028', N'NO', N'ICF', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-04-10T09:45:25.000' AS DateTime), 120, 48, 0xBD0B0000010405000000B8490CA2A96435410012147F623C264134D49A66A5643541485BB1FF663C2641D3915CDEA8643541D05B2081883C2641A2D6348FB1643541D0A679477E3C2641B8490CA2A96435410012147F623C264101000000020000000001000000FFFFFFFF0000000003, CAST(1374124 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1374502, N'{1F4CF2AF-E88F-443A-B2C9-380885E326E8}', N'004146808', 7590835, N'VIP43723', NULL, N'4146808', NULL, N'29065.040', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART 1223', NULL, NULL, N'BLOCK 1223, COMOX DISTRICT, AS SHOWN ON PLAN 43723, EXCEPT PART IN PLAN 45160 AND VIP61429 AND VIP71771', N'0163', N'0017', N'NO', N'MODIFIED-ICF', 5, N'DATACOMPILATION', N'COGO IN SOURCE', N'0', N'7684701', CAST(N'2020-09-11T12:15:51.000' AS DateTime), CAST(N'2020-09-11T12:18:37.000' AS DateTime), 7681722, 24471, 0xBD0B00000104A200000085F4DB377A15304138234AFBBD072041098195A38D153041D8141D49C90720417AA52CE3C5153041C054C128FD072041C9B9602CE1153041C096683417082041AC41B50FFC15304130BC2CDB32082041C91E1E8716163041F0B1D516500820418778A78C301630411855D0E06E082041B912771A4A16304168EC2F328F082041819ECD2A63163041F8B7AF03B1082041A513D02472163041607B83AFCD082041347E54F57F163041F8BB0720E20820418B602E998D163041A0943107F70820418E015F0F9B163041A8AA7A630C092041EEFCEA56A8163041A0175433220920413F55DA6EB516304118872675380920415B863856C2163041505452274F092041C9E53F8446193041906E12835809204123A7E82849193041B06ABC3434062041904AEA8473143041C8490C42210620414CF1FDAB7A143041A0AB8AD82D06204135F7E0B581143041785931B03A06204144FEFEA188143041589EF1C747062041011CC66F8F143041287FB71E550620416AE5A61E96143041B0CF69B362062041E27A14AE9C143041B04AEA847006204127A08990A21430411841F1237D06204101917EFBA3143041286C783AA906204184708006BA1430417009508BD50620411EB1A074D114304148CF52EAFE062041C423BF2CEA143041E84E232B25072041F4B9591404153041B00DBC2448072041C2F2A80F1F15304138849BB16707204113A5BD013B153041E056ECAF8307204185F4DB377A15304138234AFBBD0720418CB0E1493114304130FDF6B55006204194F7E7592B143041480B180748062041CC63C45825143041E0F9F1873F0620414BD7D6461F143041F0770C39370620416940802419143041F030EC1A2F0620416B9322F21214304108C6122E2706204195C420B00C14304188C5FE721F062041F40FE9B717123041B035CDBB150620412E08ACDCD912304170ADD8DF790620419D1A2F7D18133041F030086C1007204105F9A0A77F153041C0825149690A204198900FDACD153041705DDC86960A20413B6744C91F163041688B6CA7360B20415B0E2DD22116304178CE88D24C092041183FC6BC8D163041609CA2634E09204175CB95F685163041C0F5F6B241092041306FF61F7E163041E8FDFB2A35092041F8671D397616304100D306CC28092041B16140426E163041D87B6B961C0920411075953B66163041D0E67C8A100920411A2653255E16304100E78CA804092041D6E76A4B4C163041181B9E9EF2082041A814BF363416304180D69A20D20820419A5686A91B16304138EAA413B3082041F43846A902163041480EB87E95082041C2259E3BE9153041B8687B6879082041FE214666CF153041300E40D75E08204150840D2FB51530412897FFD045082041BD5B20E17C153041E8770BE4110820414550FCF86B153041F0FBA9B1FB072041B737F8C22C15304180666666C1072041517D65D90E153041E04AE56FA3072041C013F4F7F1143041A0F2C2AA81072041C0449C3DD614304188E4353B5C07204168E719C8BB143041E0F4624933072041CF7DCCB3A21430412839320107072041DDC7981B8B143041F8F21F92D706204111E02D9079143041802041F1B1062041C7A125BA71143041C0B73C87A1062041A15A56B369143041A852947C91062041EE12E27C61143041E8968BD381062041AF8CF11759143041E862588E720620417819B48550143041087D22AF63062041D26F5FC747143041E8460338550620418CB0E1493114304130FDF6B5500620413A80B7C0DD113041D8DCB5C436062041E3361AE0D0113041B8EFA78614062041A4A22319070B304168666626F60520412A1895D4230C304170BB9650B90B2041BBF3FD54A80B304188ABADD8860C2041D1BCE3F4C6083041B891ED7C50112041FBCBEE49D0083041B8141D89BB112041D0F753E391083041F08A6C275E1220410EE9B74F6E0830412093A9823E12204191A0F891D5073041A00C71ACC5122041ED63CC5D9E073041F057397489132041395EBA0978093041E8718ACE261920414E158C0A83093041584547324819204125A0891081093041D03D79184B192041C8FEB25B79093041C0506B1A6519204193A0F87174093041C0270F0B7B1920410D9C33427309304118B8AFC38E192041B5DA8ADD71093041002653C598192041B47268D168093041C8A67987AD192041BEF528FC5A09304180613215C7192041AAC64BB74D093041B8FA5C2DDC19204100098A7F4009304128A08930F1192041A9ADD8FF37093041D8A3707DFF19204167B3EA532C09304158AC8BDB111A2041A935CDFB2B093041E8A59B44301A2041537424B72B093041587FD9FD471A20411B8C4AAA3009304128F9A0A75B1A2041F7B9DA2A370930416888639D6C1A20415E6DC5FE40093041E0A370BD871A2041689A77BC4609304168C3D36B9E1A2041B6490C224B093041D0A3703DB41A20419075717B4E093041085305A3CB1A20413490A0F85309304120265345E21A2041391136BC58093041B079C7E9F51A2041962A18155E09304138000080161B204112E02D1062093041103867C4391B20414A7B832F5F093041E05817773B1B204145D8F0F4F1073041C8B584FC121C2041FDFFFFBF9107304100780BA49E1A204145BF7D7D33063041D81DA7E882172041C5A145F69C053041A803E70CF019204191B96B891C04304100780BA40B1A20410D4FAF3499033041787CD03395182041943A010D95033041A8976E52681D2041EF63CCFD8F033041D0915CBE1E222041921804768D03304140D8F0F4792420416F787AC516073041C00C712C892420419F23B95C7B073041608863DD8A24204144D8F0347C073041D0703DCAC1232041B27268910E09304150840D8FC82320411B95D4690F09304170A3017CFF2220417FE2C798D8093041E851B8DE02232041236C78FADB093041B8613295DE1F20415FE5D062770930412041F1E3DC1F2041D2DEE0EB79093041C8B12EAE811D20413C234A1B430A304198BB9610851D2041994C15CC440A304148431CEBF21B2041371AC0FB0D0B3041B8BAB84DF61B204131211FD40E0B304170B5153B2D1B2041BB15FB6B730B3041C00C71EC2E1B204161984CF5750B3041A8C64BB7D318204151DA1B1C360E30410085EB91DF182041287E8CB93D0E3041682041F1CD1120412E5530EA060F304150AA6054D1112041D200DEC2070F304188B740420811204158EC2F5B6C0F3041987CD0F30911204166B3EA336D0F3041A089B0E14010204164AA6094FF103041F01DA7A847102041BAC8763E02113041D83099AA101120418F06F0D66611304160D1915C12112041FDE68C8868113041E0460338800F20414FD191FC1B163041284A7B43950F2041C64B37491F163041A09465C8AC0B2041989999F90E16304148F7E4A1A60B204140FAEDABF2153041508B6C275C0B2041B0506B3AA715304148F163CCD20A20414BB6F3DD9515304120C9E57FD20A20416F5F072EE0143041985E29CB0D0A2041BADA8ADDD613304170081BDE63082041DC7A14AE0313304148C6DCB53D072041B8490C22D312304158257502C906204173F085E95C123041300F0B35970620413A80B7C0DD113041D8DCB5C4360620410300000002000000000222000000024F00000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(1374502 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1374846, N'{5461D15F-A38C-4192-A7CC-8FEEC13A2BAF}', N'001567187', 117903, N'VIP877', NULL, N'1567187', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 14', N'Block 11', NULL, N'THAT PART OF LOT 14, BLOCK 11, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:32:01.000' AS DateTime), CAST(N'2020-09-22T09:16:54.000' AS DateTime), 306, 71, 0xBD0B00000104050000000F7A364BE0363241F034EF38888E174183D93D39E6363241006C78FAD48E1741B6847CD0F4363241C0559F2BC38E17419B779CE2EE363241401E166A768E17410F7A364BE0363241F034EF38888E174101000000020000000001000000FFFFFFFF0000000003, CAST(1374846 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1374847, N'{43ED7C40-DF39-4F37-968E-428BDE9CA543}', N'001566831', 117903, N'VIP877', NULL, N'1566831', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 12', N'Block 11', NULL, N'THAT PART OF LOT 12, BLOCK 11, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:18:11.000' AS DateTime), CAST(N'2020-09-22T09:16:54.000' AS DateTime), 306, 71, 0xBD0B00000104050000007A14AE67033732417088635DB18E1741D288D2FE11373241F0DFBE8E9F8E17411F8E75110C373241B0832FCC528E17419C900F7AFD363241209A089B648E17417A14AE67033732417088635DB18E174101000000020000000001000000FFFFFFFF0000000003, CAST(1374847 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1375242, N'{415558D1-26A2-434B-837A-CA2A670C9C00}', N'001706721', 12929, N'VIP218A', NULL, N'1706721', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'Block 25', NULL, N'THAT PART OF LOT 4, BLOCK 25, SHAWNIGAN LAKE SUBURBAN LOTS, MALAHAT DISTRICT, PLAN 218A SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 14321F AND CONTAINING 0.30 OF AN ACRE MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 7, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T16:36:22.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 735, 138, 0xBD0B0000010404000000BB4082C2A6E73141A0A7574AA3BF1841D68AFDC585E7314140D881F364C018414850FC58A3E73141E0923A8169C01841BB4082C2A6E73141A0A7574AA3BF184101000000020000000001000000FFFFFFFF0000000003, CAST(1375242 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1375661, N'{440FC05B-9D8D-462E-BF77-4DC383988157}', N'001712161', 8238048, N'VIP171RW', NULL, N'1712161', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 30', NULL, NULL, N'THOSE PARTS OF LOT 30, HELMCKEN DISTRICT SHOWN COLOURED RED ON PLAN 171 RW AND CONTAINING 3.04 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 7, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:48:21.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 10853, 1064, 0xBD0B00000104210000004FD1919CF6DD3141B0C420305BD718418F1804F695DD314100FCA971D8D718418C06F01694DD3141503480B758D818418D75719B48DE3141E0D100DE65D718414FD1919CF6DD3141B0C420305BD71841CC44D8F04ADF3141C06B9A778CD718413DC6DC5584DF3141200C02ABF1D71841081B9EFE89DF3141C0EC9EBCFBD71841858EE4B290DF3141B0C264AA07D818411FD26F7F96DF3141F01951DA10D81841CEDB512DADDF3141B0DA5B0430D81841E3695875C4DF3141F0AD2D0147D81841F0857228DCDF314170A64DA255D81841A5C1B616F4DF3141808328CA5BD81841C212C40F0CE03141B0794C6C59D8184126A123E323E03141A05B828D4ED81841E8C0AA603BE0314120EEC3433BD818414352DC5852E03141F07A0FB61FD81841DBC2489D68E0314130FC181CFCD71841F5EDEB007EE03141707FD9BDD0D71841F3FDD43888E03141E04603F8B8D718410D2DB23D4CE0314100295C0FAFD718418DCB7F8844E0314130984C95BBD718414CB8ACC12EE03141409C3CC1D7D71841E512A86A18E03141E09AF1A7EBD71841280595B501E03141408EC11CF7D7184100D069D5EADF3141C05CF605FAD71841A36B7DFDD3DF3141B090075DF4D71841144F1461BDDF314120FFA82EE6D71841DE60ED32A7DF31416046AE9ACFD71841AC13D0A491DF31413061C3D3B0D71841C30E9C1381DF3141A0DA1B7C92D71841CC44D8F04ADF3141C06B9A778CD71841020000000200000000020500000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1375661 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1375777, N'{B28EBEF3-5254-4A3E-99F7-19CAEF2DFC2B}', N'001710770', 12869, N'VIP218D', NULL, N'1710770', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'Block 60', NULL, N'THAT PART OF LOT 6, BLOCK 60, SHAWNIGAN LAKE SUBURBAN LOTS, SHAWNIGAN DISTRICT, PLAN 218D SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 49889I AND CONTAINING 0.712 OF AN ACRE MORE OR LESS', N'0163', N'0007', N'NO', N'MODIFIED-ICF', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T16:36:22.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 2561, 252, 0xBD0B000001040E00000055B1BF8C13E4314170B0E16906CF1841815149BD0EE4314180D7127214D018418F4AEA640CE43141504ED19195D0184139EF38A516E4314150D191DC98D01841524013411CE43141E067B36A65D01841A0D634CF20E4314120A3923A39D018418E0F7A7627E43141F01FD26FF4CF184123C9E57F2BE43141505986B8C7CF1841AACFD5562FE4314160EC9EBC9ACF1841029A08FB32E43141E0B6D1806DCF184179832F6C36E431411095650840CF184173E7FBA939E4314170CFD55612CF1841429B55BF1BE4314120BD521609CF184155B1BF8C13E4314170B0E16906CF184101000000020000000001000000FFFFFFFF0000000003, CAST(1375777 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1375909, N'{2C167672-7B9A-481E-A0CA-1A4399536413}', N'009461311', 864665, N'KAP12161', NULL, N'9461311', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', NULL, NULL, N'LOT A DISTRICT LOTS 1936 AND 1937 KAMLOOPS DIVISION YALE DISTRICT PLAN 12161', N'0163', N'0028', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-11-19T09:59:31.000' AS DateTime), 5773, 544, 0xBD0B000001040C000000E6F21F5270443641A0F6069FC29F2741AA69DE316744364148CE1951C19F274188F4DB37604436415861321594A0274102E78CE85B44364128CC5D4B16A127413592CBFF64443641481973D717A12741FA53E385AE4436412051DA5B24A1274133431CCBBD44364198EA73F526A1274176029AA8C6443641F8F44A99CCA02741A94E40B37D44364150E8D92CC0A02741CFF7530368443641D8C7987BBCA02741D68173E66844364160234ABBA1A02741E6F21F5270443641A0F6069FC29F274101000000020000000001000000FFFFFFFF0000000003, CAST(1375909 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1375962, N'{0EC738F7-6A3B-43FF-B135-C50E48B3E72F}', N'010935878', 481600, N'NEP636G', NULL, N'10935878', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1973-02-14T00:00:00.000' AS DateTime), N'Lot 1', N'Block B', N'', N'LOT 1 BLOCK B SECTION 26 TOWNSHIP 23 RANGE 2 WEST OF THE 6TH MERIDIAN KOOTENAY DISTRICT PLAN 636G', N'0119', N'0006', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'4023', CAST(N'2020-10-22T14:30:37.000' AS DateTime), CAST(N'2020-10-22T14:31:48.000' AS DateTime), 4025, 321, 0xBD0B00000104060000001A51DADB8A9B374180AEB6E2F1332541306EA3016F9B37413882E247A8332541924AEAA46A9B3741806FF0C59C332541C242AD89449B374110D9CE3738332541A0D6346F0D9B3741709CA2A38B3325411A51DADB8A9B374180AEB6E2F133254101000000020000000001000000FFFFFFFF0000000003, CAST(1375962 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1376486, N'{E926D3C3-A7B8-4ED9-9CF4-826FFA7DBD97}', N'024095257', 469320, N'NEP61109', NULL, N'24095257', NULL, N'7865992050', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1998-03-23T00:00:00.000' AS DateTime), N'Lot A', N'', N'', N'LOT A DISTRICT LOT 9427 KOOTENAY DISTRICT PLAN NEP61109', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-01-20T08:32:28.000' AS DateTime), 30979, 743, 0xBD0B0000010409000000204A7B0345B63941003B70CEDF271F41821D3807B8B6394120B3EA731E281F418638D6E5EFB63941F0C56DB4C8281F41FF21FD36F9B63941F05817B7A6271F418CC954410EB7394130DE710A1C251F414D3789A1CEB6394130A60AC6F7241F410D58395477B6394120CF66D501261F41DA56ECAF35B63941A047E1FA3D271F41204A7B0345B63941003B70CEDF271F4101000000020000000001000000FFFFFFFF0000000003, CAST(1376486 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1376559, N'{5941CF0B-71EC-4125-9128-8F0852F1420A}', N'009326081', 137263, N'VIP51', NULL, N'9326081', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 24', NULL, NULL, N'THAT PART OF LOT 24, SECTION 7, VICTORIA DISTRICT, PLAN 51, INCLUDED WITHIN THE CANADIAN NORTHERN PACIFIC RAILWAY RIGHT OF WAY AS SHOWN ON PLAN 7 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:30:33.000' AS DateTime), CAST(N'2020-01-23T12:33:32.000' AS DateTime), 1317, 172, 0xBD0B000001040600000053C1A884A339324130EFC943AF861741C68F3177B7393241B0923A81C08617419BC42030CF393241D033A2B4CC8517412D55302AC3393241D0012B87C28517417D6ABC34BB39324190C729BABB85174153C1A884A339324130EFC943AF86174101000000020000000001000000FFFFFFFF0000000003, CAST(1376559 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1378215, N'{21E6359B-60B0-4A63-AC24-53F45E66256D}', N'012572047', 299184, N'PRP1079', 13416031, N'12572047', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block 21', N'', N'LOT 3 BLOCK 21 DISTRICT LOT 746 QUEEN CHARLOTTE DISTRICT PLAN 1079', N'0104', N'0026', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-05-30T19:55:34.000' AS DateTime), 580, 107, 0xBD0B0000010405000000704F1ED6FF1F2241C06B09B9CAF92D415A711B8DE11F2241008A1F23CDF92D410266F7A4E71F2241685BB13F19FA2D41C8B12EEE05202241802BF6D716FA2D41704F1ED6FF1F2241C06B09B9CAF92D4101000000020000000001000000FFFFFFFF0000000003, CAST(1378215 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1378813, N'{25299D7D-08FA-40FA-8E71-7B2C9F043650}', N'009148043', 3, N'NO_PLAN', NULL, N'9148043', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1960-09-08T00:00:00.000' AS DateTime), N'Parcel A', N'Lot 7', N'', N'PARCEL A (DD 18403N) OF LOT 7, BLOCK 114, NEWCASTLE TOWNSITE, SECTION 1, NANAIMO DISTRICT, PLAN 366', N'0084', N'0021', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'178.0', CAST(N'2021-06-07T16:27:16.000' AS DateTime), CAST(N'2021-06-08T10:44:07.000' AS DateTime), 178, 57, 0xBD0B0000010405000000AD7268518D8B3141F0C8E5BFAC631C417A14AE87988B3141D0F1D2CD88631C4197D409E8878B3141B069DE7163631C4173AC8BBB878B3141D0B9DA8AAC631C41AD7268518D8B3141F0C8E5BFAC631C4101000000020000000001000000FFFFFFFF0000000003, CAST(1378813 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1379089, N'{A2E33E97-F551-48EF-94AB-A9A10B0D254A}', N'011449098', 1296116, N'NWP72', NULL, N'11449098', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2013-05-22T00:00:00.000' AS DateTime), N'REM Lot 5', N'Block 3', N'', N'LOT 5 BLOCK 3 DISTRICT LOT 201 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 72 EXCEPT PLANS 190 AND EPP11751', N'0109', N'0010', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2021-07-07T12:54:01.000' AS DateTime), 173, 58, 0xBD0B0000010405000000314CA68A07C032411064CCDD9E361D41B325E4A31BC03241801F63EEA1361D41A201BC051CC0324190703D0A7A361D418EA982D107C03241102B181582361D41314CA68A07C032411064CCDD9E361D4101000000020000000001000000FFFFFFFF0000000003, CAST(1379089 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1380581, N'{E4F78294-F6D2-497A-897A-A4DFAEB5D5D0}', N'000636126', 121922, N'VIP5653', NULL, N'636126', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1, SECTION 71, SOOKE DISTRICT, PLAN 5653 EXCEPT PARTS IN PLANS 33663 AND 44244', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:52:28.000' AS DateTime), CAST(N'2021-10-08T13:23:59.000' AS DateTime), 5119, 435, 0xBD0B0000010423000000D409680286F1314170AA6054E1151741D7D6F20B8FF1314160112BC7DA151741FB82BC2F98F1314120E75D28D71517417820955EA1F131418034FD7DD61517418A613A89AAF13141601424C9D815174142F370A0B3F1314110E10206DE151741EACC1D95BCF13141C089E52BE6151741C8495F58C5F131418006422DF115174150E3A5DBCDF1314100D9CEF7FE151741699A777CC3F1314160863856A4151741EE0DBE50BFF13141E056EC2F92151741638FC295ABF13141F0CEF7533C151741B48BDB6898F13141F08D75F1FB141741E6FBA93178F13141000EBE3026151741F09E3CCC66F13141B03099AA55151741FDFFFF1F34F13141A0A52CC33E1517419B779CE22AF13141908EE472421517415FCC5D6B23F1314170984C95F8151741034D84CD4FF131419029CB908F15174103E3918E53F1314170A7E0628A151741BE98196A57F13141105A2E9D86151741C22AB0575BF13141A0DDEF478415174142ECC24E5FF1314120AC3C6883151741087DAA4663F1314160FDFCFF831517417AACBD3667F13141509FE50D86151741626064166BF1314190C97A8D89151741D2562ADD6EF13141F0E419778E1517417699D18272F1314110360AC0941517418D7A64FF75F131415043945A9C1517412EF4464B79F13141F0C41F36A5151741AC43475F7CF1314170DC573FAF151741489DAD347FF1314120465560BA15174199D54AC581F13141D024CE80C6151741B2E0850B84F13141C0074B86D3151741D409680286F1314170AA6054E115174101000000020000000001000000FFFFFFFF0000000003, CAST(1380581 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1380638, N'{F3D0559D-F92E-4DED-81F5-E0263F944949}', N'014038218', 495656, N'NEP245A', NULL, N'14038218', NULL, N'78631000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PARCEL A', N'LOT 3', N'BLOCK D', N'PARCEL A (SEE 132594I) LOT 3 BLOCK D SECTION 5 TOWNSHIP 1 KOOTENAY DISTRICT PLAN 245A', N'0163', N'0004', N'NO', N'ICF', 1, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-10-13T15:50:16.000' AS DateTime), 121, 73, 0xBD0B0000010405000000BF3099CAD33B3941E89BC4A0CE472141B4A67927D03B3941F8B9DA0ACD472141A513D0C4C63B394100F9A0270B48214198BB9650CA3B394158DE714A0D482141BF3099CAD33B3941E89BC4A0CE47214101000000020000000001000000FFFFFFFF0000000003, CAST(1380638 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1381754, N'{00833179-8542-414D-A993-8E6149650274}', N'016188624', 3, N'NO_PLAN', NULL, N'16188624', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 3638', NULL, NULL, N'THAT PART OF DISTRICT LOT 3638 KAMLOOPS DIVISION YALE DISTRICT LYING NORTH OF PLAN 43275 EXCEPT PLAN KAP45713', N'0078', N'0028', N'NO', N'ICF', 2, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-12-22T12:34:44.000' AS DateTime), 114680, 2392, 0xBD0B000001041000000083FB3A10CDFE3441E8CEF753EEA32141F6CBEE89B5FE344178A52CC322A621417A0B24A809003541006F814458A6214183FB3A10CDFE3441E8CEF753EEA32141D5817386DBFE344150D8F0B480A221418304C5AFD6FE3441F0DD0249F6A22141452EFFC1CEFE3441A887851AC0A3214106F01648D6FE3441781F636ECAA3214123DBF9DE28003541F065F7A45EA621411D73D7723C003541B0915CBE75A42141065159E3F8FF344110217C593EA4214175284D22B8FF3441D82815DEFAA321413481C4B97AFF344190380ADCABA321418BA1AE2C41FF3441A038D1FB51A32141A260C1F50BFF3441F0380CFDEDA22141D5817386DBFE344150D8F0B480A22141020000000200000000020400000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1381754 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1381756, N'{68D8100C-3C9D-4D4F-A762-D9AED4EE746A}', N'015764125', 3, N'NO_PLAN', NULL, N'15764125', NULL, N'73105445050', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART 669', N'', N'', N'THAT PART OF DISTRICT LOT 669 KAMLOOPS DIVISION YALE DISTRICT LYING NORTH OF PLAN 42636', N'0163', N'0028', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-12-22T12:34:44.000' AS DateTime), 46864, 1254, 0xBD0B00000104050000006A4469CFF205354168CC5D8B3BA62141AC60541250043541D03D79180AA72141B84082E26E063541C09DEFA761A72141E81DA7E87906354108AC1C1A44A621416A4469CFF205354168CC5D8B3BA6214101000000020000000001000000FFFFFFFF0000000003, CAST(1381756 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1382121, N'{E2CB0FB8-BC14-4FE9-A8EB-1701B5491ED5}', N'008859841', 494584, N'KAP15266', 3723061, N'8859841', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', NULL, NULL, N'LOT 1 DISTRICT LOT 963 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 15266', N'0163', N'0019', N'NO', N'ICF', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2022-01-19T15:19:33.000' AS DateTime), 3731, 246, 0xBD0B00000104070000005B0E2D32FAEA3741409D8026DE9B1D415A17B73110EB3741C0DD9387C79B1D4120A7E8680AEB37410093A9026F9B1D41D019513AFDEA3741B0FE43FABD9A1D41D05D4BA8C7EA3741E0BE0E9CF79A1D418C416045DDEA3741E0D022DBFB9B1D415B0E2D32FAEA3741409D8026DE9B1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1382121 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1382246, N'{90E8B600-9A41-43A3-BD42-D1CC6D8E0542}', N'016530152', 3, N'NO_PLAN', NULL, N'16530152', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART S2NE4', N'30', N'23,2', N'THE SOUTH HALF OF THE NORTHEAST QUARTER OF SECTION 30 TOWNSHIP 23 RANGE 2 WEST OF THE 6TH MERIDIAN KOOTENAY DISTRICT, EXCEPT PARCEL A (SEE 19543I) AS SHOWN ON PLAN 1579, PARCEL B (SEE 159348I) AND PART INCLUDED IN PLAN R257', N'0163', N'0006', N'NO', N'MODIFIED-ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2022-01-24T13:18:49.000' AS DateTime), 53499, 1424, 0xBD0B00000104170000005C5DDCA6BB84374180C95441372B2541C8073D5BA9843741B013D0C4882B2541EC61A1F6A6843741E031E6AE752B2541B18BDB68B5843741B0293A52352B2541AE0C71ACB3843741801D38E7162B254171567DEEB5843741D8065F98F32A254174F2B0B0FD83374130A3923ACB2A25418E18043693833741E8164810B42A25411CB9FCA78883374190764F9E492B25414CD35B1EAD8337419866FBBE602B25414C5A0CF3D1833741D8FC2C68752B25417011611BF783374130F7E693872B2541E67C948C1C843741E0DDE43C972B25413601CC3B42843741908B9C5EA42B254198081B1E68843741C87C3FF5AE2B254196D409481C853741C015FB0BDB2B2541BC627FB9A6853741A88C28EDFC2B25419ABB96D0B1853741681D3867322B2541F353E3252A85374100B8AF430D2B2541A813D084C384374188976E92F62A2541BEF528FCBB843741C0E76AEBF42A254114F241CFB98437411090A0F8162B25415C5DDCA6BB84374180C95441372B254101000000020000000001000000FFFFFFFF0000000003, CAST(1382246 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1382310, N'{3279A09F-0633-4E4D-ACBB-7ED385A4AC62}', N'018156096', 474426, N'NEP20322', 36593171, N'18156096', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1 SECTION 4 TOWNSHIP 23 RANGE 6 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION OF YALE DISTRICT PLAN NEP20322 EXCEPT PLAN EPP15318', N'0163', N'0006', N'NO', N'ICF', NULL, NULL, N'UNKNOWN', N'0', N'131730', CAST(N'2022-01-27T14:11:36.000' AS DateTime), CAST(N'2022-01-27T14:12:20.000' AS DateTime), 131688, 1553, 0xBD0B000001042C000000E02406811CF83641987493D832D8244196779C2223F83641B003E74C58D824412C55306A2AF83641E834EF387DD824418AF4DB5732F83641B8F753A3A1D824415739B4E83AF83641C0915C7EC5D824416010581944F83641080000C0E8D824417C7AA5EC48F8364180AEB622FAD82441EF38450753F83641C0AF03671CD92441CEE53F2484F8364190E53F64B1D92441D88AFD0586F83641987268D1BDD92441AB13D08489F8364128F6975DCBD924418E75719B8DF83641A0D40968D9D9244156423E8890F83641804AEA84E2D92441930F7A3695F8364140158CCAEFD92441469D808698F83641A075715BF8D924414CB81EC59DF83641A08026C204DA2441228E7571A1F8364140B4C8B60CDA2441992A1835A7F83641E878E92618DA2441915CFE43ADF83641C87D1DF822DA2441433EE899B3F83641C80968222DDA2441BD7D1DF8B7F83641A0703D8A33DA2441287502BABEF83641E0F21F923CDA2441EC61A1B6C5F8364148F7E4E144DA24416988637DCAF8364138B81E054ADA244106B5A659CFF8364150BC74D34EDA24411A9E5EC9D6F83641D80AB56655DA2441676FF0A5E6F8364170F606DF13D9244198DD93072FF93641086A4DF323D92441D344D8F054F93641C81726531AD6244151499D8068F836410824287EE9D52441DC1B7C0101F83641D09387456FD62441F02FBB4700F8364198855AD384D62441B8FC8754FFF7364120C4B12EABD62441C57D1D18FFF7364160C2F528BFD62441F8CBEE29FFF7364168CE8812E7D6244142C6DCF5FFF7364120C05BE00ED7244121DBF97E01F83641B05B208136D72441555227C003F8364128D881F35DD7244167B3EAB306F83641D8907E3B85D7244197BB967008F83641E0270FCB98D7244115FBCB6E0CF83641188048BFBFD724414ABF7D1D11F83641D08C286DE6D724412775027A16F83641C0BAB8CD0CD82441E02406811CF83641987493D832D8244101000000020000000001000000FFFFFFFF0000000003, CAST(1382310 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1382751, N'{44CA9735-1169-47E6-B2AC-0C872D74A1AC}', N'011218096', 5209561, N'KAP975A', NULL, N'11218096', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', NULL, N'Parcel 3', N'Lot 3', NULL, N'PARCEL 3 (PLAN A975) OF LOT 3 DISTRICT LOT 18 OSOYOOS DIVISION YALE DISTRICT PLAN 2093 SAID TO CONTAIN 0.120 ACRES MORE OR LESS', N'0072', N'0012', N'NO', N'ICF', 4, NULL, N'UNKNOWN', N'0', N'490.9', CAST(N'2020-04-03T17:53:24.000' AS DateTime), CAST(N'2020-04-30T17:19:02.000' AS DateTime), 419, 91, 0xBD0B000001040C000000020000E03AE8364190416025CB8122414F05A3D238E8364178E09CD1BF812241701283C034E83641D01DA7A8B6812241914AEA0430E83641900D4F2FB1812241D856EC8F2AE83641201DC9E5AE812241001973D723E83641E84C844DB08122415B5BB15F1EE83641787CD073B381224129E483FE19E83641081214BFB981224180FB3A7016E8364148CA3244C481224148C8077D16E83641A8847C90C7812241F8B9DA8A3CE83641385C8F82D1812241020000E03AE8364190416025CB81224101000000020000000001000000FFFFFFFF0000000003, CAST(1382751 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1383180, N'{F7FE0B34-E812-40BF-BF42-F4FAF485060D}', N'001593358', 141191, N'VIP1291', NULL, N'1593358', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 7', N'Block 3', N'', N'THAT PART OF LOT 7, BLOCK 3, SECTION 9, ESQUIMALT DISTRICT, PLAN 1291 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0154', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:14:08.000' AS DateTime), CAST(N'2019-01-05T10:22:35.000' AS DateTime), 355, 82, 0xBD0B0000010407000000F363CC7DEE2A3241F05A42BE019A17416A006F21EB2A324120211FF4F4991741BAA679C7E52A324180B740824F9A1741E861A1D6F12A3241F065F7647D9A1741C2749398F22A324120A3923A809A1741B169DEF1F72A3241C00FE9B7259A1741F363CC7DEE2A3241F05A42BE019A174101000000020000000001000000FFFFFFFF0000000003, CAST(1383180 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1383772, N'{1B1F13D8-3250-4900-8232-725ABFE36635}', N'005685257', 118337, N'VIP7282', NULL, N'5685257', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 18', N'', N'', N'LOT 18, SECTION 4, VICTORIA DISTRICT, PLAN 7282 EXCEPT PART IN PLAN 3718 RW', N'0153', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:12:47.000' AS DateTime), CAST(N'2019-01-05T10:24:47.000' AS DateTime), 319, 74, 0xBD0B00000104060000002285EB51D43C324170BE9F9AB17B174145477259C33C324130742417A27B174102197337BA3C3241F0F80FE9D17B17415F29CB50D43C3241F0A59BC4E97B1741BC4082A2D63C3241607CD033C07B17412285EB51D43C324170BE9F9AB17B174101000000020000000001000000FFFFFFFF0000000003, CAST(1383772 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1384580, N'{D4796B50-38E7-4609-B567-5EB535F9E808}', N'001653491', 3, N'NO_PLAN', NULL, N'1653491', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 49', N'', N'', N'THAT PART OF SECTION 49, SOOKE DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 35027I AND CONTAINING 1.49 ACRES MORE OR LESS', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:52:28.000' AS DateTime), CAST(N'2019-01-05T10:54:08.000' AS DateTime), 6012, 455, 0xBD0B000001040C0000008C4160850ADB314190043411DC2D1741C94B376913DB314140CD3B4E892D1741B28BDB681DDB3141E072D792382D17414ABF7D7D28DB314120E4831EEA2C17410CC58FF16ADB3141303E57DB2F2B1741F1FDD4584EDB3141A09DEF27012B174195779C420EDB3141F0E76AABAB2C17413A80B76002DB3141B0CCCCCCFF2C1741B39DEFA7F7DA3141C088D25E562D1741B2B6621FEEDA31416052B81EAF2D1741B2E1E9550ADB3141608C28EDDD2D17418C4160850ADB314190043411DC2D174101000000020000000001000000FFFFFFFF0000000003, CAST(1384580 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1385210, N'{2498F691-2012-4438-8795-7AA86FB08C52}', N'013675958', 1092653, N'NWP594', NULL, N'13675958', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 4', N'Block 55', NULL, N'LOT 4 EXCEPT PART ON SRW PLAN 43417 BLOCK 55 DISTRICT LOT 411 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 594', N'0081', N'0009', N'NO', N'MODIFIED-ICIS', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2021-03-09T11:44:07.000' AS DateTime), 77, 36, 0xBD0B000001040500000063A1D674E06133414058393489571C412C3333D3D9613341C0C2F528A5571C417A14AE27DF613341208C4AEAB8571C411171AC2BE76133418031772D97571C4163A1D674E06133414058393489571C4101000000020000000001000000FFFFFFFF0000000003, CAST(1385210 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1385927, N'{41FD0E04-8818-4607-B8A7-6A98E3A40683}', N'023052503', 3186826, N'VIP57062', NULL, N'23052503', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'', N'', N'THOSE PARTS OF LOT A SECTION 93 ESQUIMALT DISTRICT PLAN VIP57062 SHOWN AS AREAS 1 AND 2 ON PLAN VIP61161', N'0154', N'0005', N'NO', N'PMBC-COMPILATION', 4, N'DATACOMPILATION', N'COGO', N'0', NULL, CAST(N'2016-01-06T21:00:37.000' AS DateTime), CAST(N'2019-01-05T11:04:35.000' AS DateTime), 259, 67, 0xBD0B00000104050000008095430B5F283241501283C03C9817414C8D978E6F2832416034803739981741E9D9ACBA6E283241B0D634EFFB971741E2A59BA45828324150FBCBEE139817418095430B5F283241501283C03C98174101000000020000000001000000FFFFFFFF0000000003, CAST(1385927 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1386431, N'{D3CD9849-4139-4F42-B448-F59DD16E1617}', N'017046751', 127843, N'VIP721', NULL, N'17046751', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 32', N'', N'', N'THAT PART OF LOT 32, SECTION 32, VICTORIA DISTRICT, PLAN 721 DESCRIBED AS: COMMENCING AT A POINT ON THE SOUTHERLY BOUNDARY OF SAID LOT 32 SITUATE NORTH 77 DEGREES 59 MINTUES EAST AND DISTANT 19 FEET FROM THE SOUTH WEST CORNER OF SAID LOT; THENCE EASTERLY ALONG THE SOUTHERLY BOUNDARY OF SAID LOT 398 FEET MORE OR LESS TO THE SOUTH-EAST CORNER OF SAID LOT; THENCE NORTHERLY ALONG THE EASTERLY BOUNDARY OF SAID LOT TO THE NORTH-EAST CORNER OF SAID LOT; THENCE WESTERLY ALONG THE NORTHERLY BOUNDARY OF SAID LOT FOR A DISTANCE OF 95 FEET; THENCE SOUTH 21 DEGREES 39 MINTUES WEST 558.8 FEET MORE OR LESS TO THE POINT OF COMMENCEMENT, CONTAINING 2.63 ACRES MORE OR LESS EXCEPT THAT PART LYING EASTERLY OF THE SOUTH EAST BOUNDAY OF PLAN 1 RW AND EXCEPT THAT PART LYING WITHIN PLAN 1 RW, LYING TO THE NORTH OF THE PRODUCTION EASTERLY OF THE NORTHERLY BOUNDARY OF LOT 1, PLAN 16285', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', NULL, NULL, N'UNKNOWN', N'0', N'3211', CAST(N'2016-12-16T15:20:29.000' AS DateTime), CAST(N'2019-01-05T11:06:04.000' AS DateTime), 3211, 367, 0xBD0B00000104050000008F0F7A567F3D3241E0D022DBC8A3174172469456B53D324100F46C5620A6174111022BC7CC3D3241D03923CA36A61741163FC6BC963D3241A0643BDFDEA317418F0F7A567F3D3241E0D022DBC8A3174101000000020000000001000000FFFFFFFF0000000003, CAST(1386431 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1387898, N'{CCB1CABB-1800-414D-A269-8282D315F307}', N'012877425', 3, N'NO_PLAN', NULL, N'12877425', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'F', N'434', N'', N'PARCEL "G" (EXPLANATORY PLAN 9867) OF PARCEL "F" (REFERENCE PLAN 3042) DISTRICT LOT 434 GROUP 1 NEW WESTMINSTER DISTRICT', N'0075', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2018-01-09T12:30:23.000' AS DateTime), 680, 107, 0xBD0B000001040C0000002FBB27EF9A2B3341E081E2C7C3911C41CF22DB99992B334120423EE81A921C41F13845E7AB2B3341C02A181521921C41DA56EC4FB22B334150C0CAA1A4911C41CEB35915AF2B3341E0240601A2911C41AD506BDAAB2B334130D49A669F911C41E7482E9FA82B3341B06054D29C911C41EAB7AF63A52B3341303867449A911C41CC66D527A22B3341805AD3BC97911C410E71ACEB9E2B3341F0C7983B95911C419ED634AF9B2B3341801283C092911C412FBB27EF9A2B3341E081E2C7C3911C4101000000020000000001000000FFFFFFFF0000000003, CAST(1387898 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1388453, N'{20DA3986-5953-46DC-8278-1351A8512772}', N'016005147', 3, N'NO_PLAN', NULL, N'16005147', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'SE4', N'8939', N'', N'THE SOUTH EAST 1/4 OF DISTRICT LOT 8939 CARIBOO DISTRICT EXCEPT PARCEL A (T8121) AND PLANS 21079, 21329 AND 28692', N'0163', N'0008', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2018-01-09T12:28:15.000' AS DateTime), 70620, 1258, 0xBD0B000001041F000000A5ADD8DF2E1E354160522720DAAA2C41EAC03963431E3541A83FA41FD1AA2C4186855AD3521E3541E05B2001CBAA2C41D24D6250621E3541608D976EC5AA2C414950FCD8711E3541200BB566C0AA2C41B40C716C811E3541A8F97EEABBAA2C4123A7E808911E354148355EFAB7AA2C413AD6C5ADA01E3541683D0A97B4AA2C4147477259B01E3541F0B662BFB1AA2C41A6825109BE1E3541100000C0AFAA2C417E6ABC14BD1E3541E0A145F68AAA2C41C27D1DF8BC1E3541E08C28ED7FAA2C413492CB3FBD1E354138D26F9F73AA2C4133FF21BDBD1E3541A88D06706AAA2C41CCF753C3BE1E354190A7574A5EAA2C4146D8F034C01E3541504ED15152AA2C4150840D8FC11E35415891ED7C49AA2C41C086A7B7C31E3541C058A8F53DAA2C4147598698C51E3541D0EFA78635AA2C41693BDF6FC81E3541181AC09B2AAA2C414A72F9CFCA1E35419857CAB222AA2C4155CA3264CD1E35412871AC0B1BAA2C4166F7E421D11E3541C84B374911AA2C414082E227D41E354188976E520AAA2C4143C6DC75D81E354158A8358D01AA2C414C840D0FDD1E354118C28667F9A92C41AAF1D2EDE11E3541A8559FEBF1A92C41F55C6D65CD1F3541382CD49AA1A82C414E8D97AECB1F354150EC2FFB94A82C41A267B3CA4A1E3541305EBAC954A82C41A5ADD8DF2E1E354160522720DAAA2C4101000000020000000001000000FFFFFFFF0000000003, CAST(1388453 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1388586, N'{85515C84-0CDB-4D5D-8E77-FA19552807A0}', N'008549419', 12816, N'VIP703A', 29182331, N'8549419', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', NULL, N'REM Lot 1', N'Block 4', N'', N'LOT 1, BLOCK 4, DISTRICT, LOT 24, OYSTER DISTRICT, PLAN 703A EXCEPT PART IN PLAN 1176RW.', N'0062', N'0007', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T22:36:04.000' AS DateTime), CAST(N'2019-01-07T18:34:03.000' AS DateTime), 408, 84, 0xBD0B0000010408000000C2EC9E7C9DB1314180832FCCED251B41D044D890AEB1314160A089B034261B41D3F75343AFB13141007F6A3C33261B41F4384507B4B13141E07C3F3529261B41555BB13FB8B13141B06722EC1F261B4136D6C56DBCB131415019E25816261B41536B9A77A8B131419048BF7DC3251B41C2EC9E7C9DB1314180832FCCED251B4101000000020000000001000000FFFFFFFF0000000003, CAST(1388586 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1388857, N'{DDAF8C9B-0A1B-4FEB-A8EB-7346809BA766}', N'009759221', 3, N'NO_PLAN', NULL, N'9759221', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1899-12-30T00:00:00.000' AS DateTime), N'PART 51', N'', N'', N'THAT PART OF DISTRICT LOT 51, COWICHAN LAKE DISTRICT, BEING THAT PART OF THE RIGHT OF WAY OF THE CANADIAN NORHTERN PACIFIC RAILWAY, LYING WITHIN SAID LOT, CONTAINING 9.935 ACRES, MORE OR LESS, AS SHOWN COLOURED RED ON PLAN 99 RW', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'0', N'40153', CAST(N'2018-05-16T14:43:58.000' AS DateTime), CAST(N'2019-01-07T18:38:14.000' AS DateTime), 40163, 2092, 0xBD0B00000104410000006429CB508E863141000A68A2FABE194109A392FA89853141404772F945C21941383EA9D28185314160099ED957C219411D9D2E5A798531419071D73467C219417094909D70853141E02C96F473C21941C8F3A0A967853141604E25067EC2194129B6828B5E85314160C1BE5A85C2194196BB96505585314180F8A0E789C21941C4626C0D4A853141501650998BC21941F27E3CCC3E85314110E4963889C219413BE088A433853141F0CB6CCA82C21941A11B9EAD288531417014405C78C2194151E162FE1D85314160D2D9036AC21941552728AD13853141E06630DF57C21941358D7ACF0985314180EE281442C21941AF59F57900853141701748D028C2194145DA7611FF84314100F99E2824C21941F9FE38AAFD843141007DEC7A1FC21941DF653D44FC843141600836C71AC2194190AB85DFFA8431419005810D16C219411C6B137CF984314190E7D24D11C219413E3EE819F8843141002731880CC2194128664BEDF484314180B856A000C21941BDD2F8DBF1843141808F1848F4C11941CD12E9E6EE84314130E65E83E7C119414FC30B0FEC843141504D3456DAC1194187434755E9843141E063C4C4CCC119411C6C78BAE6843141A0855AD3BEC11941A201BC05C1843141D0A370BD05C11941283A92CBB1843141D0482EFFBAC01941AC946528B184314140BD5216C2C0194172348097A584314160143FC642C119413ECF66D5C9843141B034EF38F4C11941790B2488D3843141F033A2B423C219417FAEB642D9843141503789C13FC21941423BFB40DA8431412089AC1545C21941F8E4AB36DB843141E0EEBB824AC219419E9AA123DC8431412089DA0750C2194188AEB607DD84314160A527A455C2194167DCC6E2DD84314110E2BE565BC21941134FAFB4DE8431410052B81E61C21941FCD04100E4843141100E72FE89C219411B49DF52E884314170AEC5A8B4C21941FF08F4A2EB84314170062DBFE0C219411D2929E9ED843141E050FBDF0DC3194150CB7420EF843141309135A73BC319418C442546EF843141801770AF69C31941D514E759EE8431410033AF9297C3194144A0C55DEC843141D01E49EBC4C3194169A72656E98431416043C754F1C319412F89C049E584314100C5C46C1CC41941FE638B41E0843141E082C8D345C419419036AD48DA843141609B182E6DC41941252D616CD3843141D0A4852492C419411851DABBCB843141A0D32B65B4C419416C8A8EA4C584314190ABAD58C8C4194110F2410FBD84314130FDF675E4C4194197D40968E68331414072F98FA3C71941DEE995521784314170B1BFECA9C71941465986D877843141D09387856FC619419AFF905ED3843141B0F753E343C51941A1D634EFDA843141602D211F2BC51941E8D0227BA885314140A167338AC21941917EFBDA8C863141B0DA8A7DADBF19416429CB508E863141000A68A2FABE194101000000020000000001000000FFFFFFFF0000000003, CAST(1388857 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1389004, N'{E5764C8E-4254-4BD9-86DF-2D092BA3FC1A}', N'016131479', 3, N'NO_PLAN', NULL, N'16131479', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 1', N'23,4', N'', N'LEGAL SUBDIVISION 15 SECTION 1 TOWNSHIP 23 RANGE 4 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT EXCEPT (1) PART INCLUDED IN RW PLAN 1879 AND (2) PLANS NEP22073, R270 AND NEP78727', N'0163', N'0006', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:23:39.000' AS DateTime), 93179, 4071, 0xBD0B000001049B000000923A014DF45A3741480C02ABBFF2244101BC0572F95A3741F85D4B4810F3244125530543375B3741F86A2B7655F3244164DE71CA1B5B374138E25897C1F224414F27A0A9315B374180DD93879CF22441D0CCCCAC595B3741D8141D4980F2244174F085C95E5B3741E83311F628F224414F158C0A945A3741A803E74C01F224412431088CCE5A3741D8DCB50478F224411061C3F3EA5A374190E848EEB4F22441923A014DF45A3741480C02ABBFF2244105E78CC8D65A3741C063CCDDCAF2244178711B4D905A374180C2F5A880F22441529FABED515A3741A03F351EB1F22441FFD47809A85A374168F085895DF324415C8FC2F5FB5A374148ED0DFED7F32441B696906F0A5B374128A9139010F42441F4285C8F395B3741A8FD65779CF424413255300A485B374108E9B7AFABF3244120386724D85A37413818955430F3244105E78CC8D65A3741C063CCDDCAF22441AE25E4E3D359374160B6F33D28F324417858A8B5D9593741B8915C7E22F32441C0CAA1E5DD5937415007CE591CF3244164DE712AE25937419048BFFD16F324415027A0E9E75937415037898112F32441CE2B6579EC59374128234A3B19F3244132FF211DEF59374118F2414F22F32441C9C3424DF1593741E0CCCC8C2CF324419CE61D27F4593741885AD37C38F3244150FC1853F6593741D0B584FC42F32441549FAB8DFC593741508D976E58F3244182E2C758FF5937418814AE0761F32441FACBEEA9035A3741F8482EBF69F3244168B3EAB30F5A3741E8CD199168F32441A9825189165A3741781D382767F324410C0BB5861D5A3741F025E44365F32441CBBAB82D255A3741904E401365F324419206F0362A5A37418082510966F32441B8270F2B315A37414092CBFF68F32441B2D85F76375A3741D84D62506CF324417EAEB6223D5A37417881048571F3244150401341435A374198E61DE779F32441DB12F201485A3741384547B281F32441944AEA844B5A3741F81FD2EF88F32441932A18154F5A374150A2B47791F324418438D685575A3741B8D85F36A8F32441EA95B2AC5F5A374170F5B95ABDF324414AC8071D675A3741C88F3177CDF32441C039236A6B5A3741901F636ED6F32441073D9B15755A3741F0C039A3E9F32441C4A8A40E825A37414859863801F4244117265325895A374140C807BD10F42441B469DED18C5A3741F85E988C19F4244156EC2F9B915A3741A0779CE222F4244110D04498995A374110E78C6834F42441848EE472A05A374118B7D1004AF42441FA4A59A6AA5A3741100BB5A66BF424416D348037AE5A3741A0900F3A76F4244152A8352DB25A3741700AD7A380F42441FCFFFFBFB95A3741303108EC96F424417B04C5EFBC5A3741B075715B9FF42441DD4F8DF7BF5A3741406F8144A8F424417CB740A2C25A374128F46CD6B0F42441304CA66AC95A3741B8749358C3F42441EDAE25E4CD5A3741D02D90A0CDF4244164AA6054D65A374198C729FADDF4244170D71212DB5A374120E09C11E8F4244102AC1C9ADE5A3741803EE819F1F42441FC7E6A9CE25A3741C0BAB8CDFCF4244101000000E65A3741C0A8A40E06F52441AA0C71CCED5A374128F1F48A14F524419CE61D07E95A3741184469EFF2F42441D61B7CA1E55A3741500C02ABDCF424410B2DB29DF75A37418892CBBFCEF42441B6F3FDF44A5A3741803D0A171FF324415417B7B1BF593741283FC6DC58F224416CBC7493B4593741E8F1414F29F32441A067B36AB7593741204CA68A29F3244128C286A7BC593741A001BC4529F32441B003E72CC259374150F5B99A2AF3244158EC2F9BC85937410054E3A52BF324418AD2DEC0CE593741507424172BF32441AE25E4E3D359374160B6F33D28F3244122C9E51FA15A374180E2C79832F524416A2BF637C259374168AA60D400F42441C0D32B65AB59374110B9FC87E1F32441D612F2E19B59374190C420B0F7F4244122C9E51FA15A374180E2C79832F52441EA73B515385A37417809F9A07FF32441A2CDAA0F335A3741201B9E5E7CF32441E27A140E2E5A374130D49AE67AF32441942A18B5285A3741D00968E27AF324418C06F0B61D5A3741C8923A8179F324416E226C18125A3741588104057AF324417A9CA2630C5A374138F90FA979F32441CE2B6599065A3741286F818478F3244152158CEA005A3741D0F5289C75F324414AEA0414FC593741F8088A5F71F3244116C05BC0F7593741088F53F46AF3244116C05B40F5593741D054C1A861F3244134211F34F35937411820413157F32441146A4DB3F05937418019E2D84BF3244130BB27EFED59374180B6F3BD42F324418D06F056EB5937419879C7E938F324416FAC8BFBE8593741A81C5A642FF3244102098ADFE6593741E06800EF25F32441CE915C3EE259374160FC18F32AF32441656DC59EDD593741B000DE0232F32441924AEAC4D859374198FD657736F32441C476BEFFD259374150BF7D1D37F32441E5F21F32CD5937414859863836F32441F18E53B4C75937419889B06134F32441C6073D5BC2593741C888D25E34F324411A1DC9C5B659374130D6C56D36F3244122F46CB6B3593741D066D52736F324418348BFBDAC593741F8CD19D19CF32441AE1C5A84AE59374198A223399FF32441EE85C934E35A374190ED7C7F41F5244101000040E45A374100D578E942F524413C82E227F35A3741E832C4713FF524417858A895F15A37419017B75132F52441D06F5FE7EC5A3741401361C32BF52441170DE0EDDD5A37414872F94F0DF52441C820B052DA5A37414827A08905F5244101098A1FCA5A3741108A1FE3DFF42441B059F539BD5A3741C8E3149DBEF424419F01BC05B95A374120FBCB2EB6F424417068914DB55A3741A82D9020AEF42441D119511AB25A3741480E2DF2A5F42441923A01ADAE5A3741E88AFD259BF42441D2D5568CA75A3741D0F0F40A88F42441682BF6D79C5A3741A093874566F42441BAFC87549A5A3741A87EFB3A5DF42441F2164830945A374198081B9E4AF42441C00E9CD3905A3741509A77DC40F42441D419517A895A3741E89F89302DF42441FAE46101865A3741F053E32523F4244104AC1C5A835A3741C00512541AF4244156158C6A805A37417045B6F311F424418E28EDED7B5A374130B4C8F609F424417636ABBE775A37416073465403F42441C442ADE9725A3741385BB1BFFAF324414CD1919C695A37413090A0F8EBF32441A69BC4A0655A374188635D1CE4F324414E6210D8615A374108819503DBF32441BCFC87F45D5A374110FBCBAED3F32441A0D6348F595A37411069002FCAF32441A8C64B57565A3741E0361A40C2F324414F9621CE4A5A374108C58FF1A7F324415A204191475A3741607DAE369EF324410E2DB23D445A374140A4DFFE95F32441B7847CF03F5A374120A7E8088DF3244191C2F5083C5A3741E00E9CF385F32441EA73B515385A37417809F9A07FF32441050000000200000000020B00000002150000000254000000025900000006000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003000000000300000003000000000400000003, CAST(1389004 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1389616, N'{9EC23BD3-5588-410A-8F50-475675F6DE4E}', N'014930722', 3, N'NO_PLAN', NULL, N'14930722', NULL, N'759-040652.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'510', N'', N'', N'DISTRICT LOT 510 PEACE RIVER DISTRICT EXCEPT THE SOUTH 20 CHAINS AND PLAN A1834 AND H308', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:19:51.000' AS DateTime), 243879, 3508, 0xBD0B000001043800000041BD52F610DB3341789CA2035055324148696FD06BDA334168522720FF5532416A006F8104DB3341909999390956324141BD52F610DB3341789CA20350553241B6FA5C6DAAD83341D4D478E900563241BC37F882ACD833418CB88D86E155324161545227C1D83341A81C5AE4E25532417EAEB602EDD83341047A36CBE555324168F7E46144DA334100780B84FC553241D98AFDE54CDA33411C48507CF35532410EBE30D9F7DA33416CB5153B3E553241D5A3709D3CDA334108B5A6B931553241408B6CA7CED83341202FDD241C5532412575021AF1D733419068916D0D553241A613D0A4D3D73341FC3FA45FC0563241189E5E09D2D73341E46A2B16D8563241EC7CA8DFD4D73341D06C6778DD563241F974DA7CD7D7334194D73EF7E25632415CACD4DFD9D733413C865490E856324122549007DCD733416C094041EE563241FC1820F3DDD733418CB18E07F45632419E89B0A1DFD73341A09BC4E0F9563241A5031761E1D7334114EF1A6C005732414AC91529E3D73341289D1FF506573241EBC6A9F9E4D733413C5CC77B0D5732411ADACFD2E6D73341B8E60600145732419BD184B4E8D73341E0FAD2811A573241646DC59EEAD73341AC5B200121573241499B9C19EDD73341A8C5A7EC27573241FA7BEDB8EFD7334138A8AFCA2E5732412EA76E7CF2D73341A8C6779A355732419BBFD263F5D73341BC72415B3C573241567BC86EF8D7334164A24F0C43573241DBACFA9CFBD733419403E7AC495732419FC1247703D83341C0156D8A595732418B97E6770BD83341C4AA9E5469573241349A109F13D83341D4E21D0B79573241B75072EC1BD83341E8528DAD885732410E5FDA5F24D833416807903B98573241268716F92CD83341F885C9B4A7573241840B523B38D8334114B052CFBB573241E30F436E43D833414C7A64F2CF573241721CE3914ED83341B442F31DE457324120C22BA659D833417C63F351F8573241DB9A16AB64D833416C31598E0C58324150499DA06FD8334154FC18D320583241D27E8DA571D83341E04298A824583241ACAB92A873D83341488B197F28583241214FACA975D83341D4DF9B562C583241DCE8D9A877D83341984A1E2F305832410EF91AA679D833417CD59F083458324167006FA17BD83341108A1FE337583241FCA9F1F281D8334144C8075D44583241253A92CB83D833416C6B9A3746583241B6D1009E85D83341E87A14CE2A583241B6FA5C6DAAD83341D4D478E900563241020000000200000000020400000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1389616 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1390038, N'{A1299349-6649-42D8-BD7D-D8CD5E79F28D}', N'012667331', 470319, N'NEP18135', 90054634, N'12667331', NULL, N'7865162200', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot B', N'', N'', N'LOT B DISTRICT LOT 9427 KOOTENAY DISTRICT PLAN 18135', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:37.000' AS DateTime), 5097, 321, 0xBD0B000001040C00000056C1A80430B839410065AA603D171F41C2939BB41BB839419042EE4258171F41307F490E08B839413095BB1F7A171F412BB2F937F5B7394160561BB5A2171F415F265E56E3B73941A0C7FEB3D1171F4121254C8CD2B73941C075D9C006181F41226C78FAC2B73941908E537441181F41B6627FF90DB8394170BE9F1A6B181F4174E7FBA92AB8394180711B0D7B181F410CF241CF2AB839413064CCDD76181F41FAA067F335B8394130FED4F836171F4156C1A80430B839410065AA603D171F4101000000020000000001000000FFFFFFFF0000000003, CAST(1390038 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1392277, N'{E9971052-1070-4A97-B283-7D4838F257D5}', N'005591155', 488116, N'KAP25167', 36847451, N'5591155', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot A', N'', N'', N'LOT A DISTRICT LOTS 315 AND 316 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 25167', N'0163', N'0019', N'NO', N'ICF', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:36:52.000' AS DateTime), 95750, 1673, 0xBD0B0000010416000000550E2DB23BF23741A0EFA746D0231D415A9FAB4D23F23741F0A679C7DA261D4193ED7C7FB0F13741004D848D96261D4186A7574AACF03741A0CFD556FC251D418204C50FB0F0374110A5BDC117261D414ADA1B5CD8F03741A05A643BDC271D41DA6800AF00F13741B0A679C7A0291D41728A8EE4FAF03741F02406010D2A1D419C45B61300F13741C0A3013C442A1D4155CA32E403F23741B032C4B1C62A1D412EC4B16E10F23741306210D835291D41806ABCF465F2374170847CD05D291D41E22406615AF2374120B7D100BE271D41E1BE0EBC4EF23741A079C7291E261D412C53052343F23741F0C48F317F241D41C08E349042F23741C0285CDB65241D4117C776D241F23741606D00974C241D41C61CEEE940F23741F0F8076933241D418F62C4D63FF23741702CFA551A241D412E162B993EF237410090596201241D4145575B313DF237414005A392E8231D41550E2DB23BF23741A0EFA746D0231D4101000000020000000001000000FFFFFFFF0000000003, CAST(1392277 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1393110, N'{E509E220-7DD1-458F-966F-AF0491F0F181}', N'025842978', 3, N'NO_PLAN', 90036059, N'25842978', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2004-02-03T00:00:00.000' AS DateTime), N'509', N'', N'', N'BLOCK B DISTRICT LOT 509 CASSIAR DISTRICT', N'0163', N'0011', N'NO', N'ICF', 19, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:43.000' AS DateTime), 2250198, 10143, 0xBD0B00000104FD000000FC7E6AFC0BFF2A4180F90FC9BBD3314196438B2C1DFE2A415C17B7B11CD43141A489B021AAFD2A41A0CB7FA881D431418EF6065F6FFC2A416C984C356BD5314145E8D96C1FFC2A41F41873B7B1D53141614469AF19012B41B8CAA14598D531410A61C3930B012B41F441CF06E7D43141FAD478A963062B4180A7578AD2D43141DF141DC93A062B41286C78DA75D231414C96218E2F062B41F87C3FB5CFD131418336ABFE03032B4128431C0BB1D231418504C5CFFA022B41480C028BB3D23141F4B9DA8AF1022B41240681F5B5D23141CE44D830E8022B41708CB94BB8D231413D2575C2DE022B41181FF48CBAD23141FC11143FD5022B41A0B437B8BCD231415FD5E7AACB022B4110FBCBCEBED23141926E1203C2022B41DC6800CFC0D231417AA7574AB8022B41E4AB1CBAC2D23141E5240681AE022B418016D98EC4D231415A423EA8A4022B41785F074EC6D23141D67F48BF9A022B41C88F31F7C7D23141DE141DC990022B41D4141D89C9D23141D3EEC9C386022B4160810405CBD23141A645B6B37C022B41F4B9DA6ACCD231418906F09672022B41444772B9CDD23141B2FA5C6D68022B4104CE19F1CED23141AD47E13A5E022B413C454712D0D231410F2428FE53022B4150D1911CD1D231414E5986B849022B414472F90FD2D2314164D5E76A3F022B414CF163ECD2D2314145BD521635022B412897FFB0D3D23141B0EA73B520022B41BC4D62F0D4D23141D610C77AF9012B41044B59A6D6D2314160204131F4012B41C45296E1D6D231415DDC46C3E7002B412C863896E2D23141CA6FF5E3C8002B41F882BBE5E4D23141B4533380AA002B4178F52677E8D2314103585BCC8C002B41E43E5544EDD23141E63C99FB6F002B418CC30045F3D23141808A913F54002B41582BD26EFAD23141260B0CC839002B41803272B502D331419F7AA1C220002B41A8EB9E0A0CD3314176F86C5A09002B418851445E16D331412DC5C1B7F3FF2A4158F8979E21D3314125C9E5FFDFFF2A41A0B437B82DD33141FC7E6AFC0BFF2A4180F90FC9BBD331415A8638164AFE2A41946588A3DFCF3141EA41CFE656FE2A41D044D8B0E5CF31418C4AEA845CFE2A4108B6847CE8CF3141BE64AAE061FE2A41E8718A2EEBCF31415D1058B96AFE2A41D07A14AEEFCF3141148A1FE372FE2A41240DE08DF2CF314112022B077EFE2A41846054D2F4CF3141FF6943FD7FFE2A4160E9E277F5CF31417E333BF081FE2A416051CA1FF6CF3141572207E083FE2A4120D106CAF6CF3141810C9CCC85FE2A413C939476F7CF3141A6DAEEB587FE2A41FCB46F25F8CF3141FB87F49B89FE2A41704694D6F8CF314135210EC38BFE2A4164C1D351F9CF3141E0C860E78DFE2A41484222D0F9CF3141DB1CDB0890FE2A41DCC77B51FACF314148D26B2792FE2A41A438DCD5FACF3141D9B5014394FE2A41DC613F5DFBCF314175AC8B5B96FE2A4114F9A0E7FBCF3141893DB1AD98FE2A4108D88BE5FBCF31418AB1B3FF9AFE2A412005D5DEFBCF31411B106E519DFE2A4160EB7CD3FBCF31418B65BBA29FFE2A41343F84C3FBCF3141DBC476F3A1FE2A4174FFEBAEFBCF3141264A7B43A4FE2A41E073B595FBCF314141234AFBB0FE2A41D49AE6FDFBCF31415DC3D3ABBDFE2A41ACDFBE2EFCCF3141E7141D49CAFE2A4150477299FBCF3141E1E00BD3D0FE2A41B089B021FBCF31417C6ABC74DBFE2A412C363CFDFACF31419506F056E3FE2A419019E238FBCF314103E01D88E4FE2A4118190B8EFBCF31411949AAB0E5FE2A415C3D83EAFBCF31411924E2CFE6FE2A4144AC124EFCCF314114F617E5E7FE2A4160437DB8FCCF3141A94FA4EFE8FE2A41F0BB8229FDCF31410232E6EEE9FE2A419CD2DEA0FDCF3141F251B85EEDFE2A4118CE195101D031412C824DF3EDFE2A4148F41FE802D0314181CE267CEEFE2A410C162D8004D0314152F43CF9EEFE2A41D08D2B1906D03141C450896AEFFE2A4170A805B307D0314100E105D0EFFE2A41C8A7A54D09D03141C642AD29F0FE2A4198C2F5E80AD03141AF847C10F0FE2A4150D7127213D03141AAF3FD54EFFE2A4120D0447818D0314148B4C8F6EDFE2A41A06E12A31ED03141A2BDC1D7EAFE2A41BC5F76AF22D03141C74B3709E8FE2A416C787A4527D03141D5EEC903E1FE2A41C80512142FD031413DB6F37DD9FE2A41CCAACF9534D03141E5E00B13D6FE2A417C218E3538D0314199C48CF9D3FE2A4164DBB8B739D03141332549D9D1FE2A41B80D83373BD031416EC64BB2CFFE2A417821E5B43CD03141DE8D9F84CDFE2A410C8CD72F3ED031411E834F50CBFE2A413CCE52A83FD0314141CF6615C9FE2A4160764F1E41D03141272C5150C6FE2A41A4A8216E41D03141837F2084C3FE2A41D87318AC41D0314123FAA0B2C0FE2A4130070CD841D03141E635A2DDBDFE2A410C25E0F141D03141F20BF606BBFE2A41C03484F941D0314144696F30B8FE2A41644DF3EE41D03141107A36EBADFE2A417C68910D43D03141E6DEC67AAAFE2A4114F9685843D0314116CC3A0BA7FE2A41E415D2A543D03141DCED999CA3FE2A41F011CCF543D031418AEEEB2EA0FE2A41903A564844D03141467638C29CFE2A4170D76F9D44D03141052B875699FE2A41942A18F544D0314120A0893090FE2A41BCBFEC1E47D031411E6C783A88FE2A4120A5BDE14AD03141965374A485FE2A414CFAEDCB4CD031416339B4887DFE2A4110E9B78F51D03141579FABAD71FE2A4114363CDD56D0314131E6AE656BFE2A417CB740C259D03141A0CDAACF64FE2A4134DF4F8D5ED03141E11DA7E863FE2A41F0FDD4985FD03141CAC56DF461FE2A41ECDBD74160D03141C342AD295BFE2A4190923A8165D0314161FE433A51FE2A419C7268D169D0314110BE30994BFE2A41B8FA5CAD6BD03141AAA44E804AFE2A41A08251496DD031411FC9E53F46FE2A41F843FA2D70D031413EBD529645FE2A416C5149DD75D03141870D4F2F46FE2A41BC270F0B79D031414FBD9E7F43FE2A415C63998079D031411568E5C740FE2A413091A7E979D03141790F0B093EFE2A419CA816467AD03141B815FA433BFE2A41A8D6C7957AD0314197EF9E7938FE2A41D487A0D87AD031415AD5E7AA35FE2A41E0718A0E7BD03141E593878527FE2A41ECFFFF7F7BD03141AAAF03A71DFE2A41842F4C4679D03141DEF0F44A12FE2A4188900F5A77D03141BB490C020DFE2A4174F2B05075D03141938EE47200FE2A41301CEB0274D03141B3C876BEFCFD2A41084D848D72D03141B3BE6AB0FAFD2A416CA098AF73D0314143B0AE96F8FD2A41AC8044CC74D0314178887B71F6FD2A4148CC69E375D0314104690B41F4FD2A41E8F6EAF476D031413CA49905F2FD2A41740DAB0078D03141B5B662BFEFFD2A41A8B88D0679D0314192CB7FC8E7FD2A4198B96BC97CD03141764DF34EE0FD2A411CBE30F97DD03141A1A223B9D3FD2A41303CBD727CD031412541F163C3FD2A416C6FF00579D0314193ED7CBFABFD2A411CB7D10076D03141D02B659998FD2A41C010C7BA74D03141A58026C28EFD2A416819E2B872D031417EE926B176FD2A41D46D348070D03141B6F3FD546BFD2A413C1361236CD03141B38BDB2861FD2A412C11367C69D0314149FC18F356FD2A41707CD0D368D03141F2E4616155FD2A41DCBE0E5C68D031413BA4DFBE48FD2A4100C7BAB868D03141CE10C7FA47FD2A41601D38A768D03141EAEBC0B93CFD2A4168226CB867D03141F7065F5835FD2A410C34117667D0314161BA49CC30FD2A419C99999967D0314105DE02C919FD2A417446941668D0314179AEB6E20FFD2A4170F4DBF767D03141D54D62D0FFFC2A41001973F766D0314116363CBDF3FC2A414C3EE8D967D03141BC39234AEAFC2A41589D802667D03141C130992AE3FC2A410C4D848D64D031411FF46C96D8FC2A414C9621CE62D03141245305A3CEFC2A419CD634CF5FD03141F451B8DEC6FC2A4190A757EA5BD03141500E2DF2A2FC2A41DCE76ACB57D03141EEF44A599DFC2A41E83D793855D0314142696F708CFC2A41A4B0E12951D03141B535CDFB7EFC2A4160A1D6944ED031418038D6856CFC2A41F4D9AC9A4CD031411FD26F1F5EFC2A418C7AA54C48D03141B1ADD81F54FC2A415C9A77DC44D031416C9318C448FC2A41703BDFEF42D03141F2DBD7813CFC2A41D8C798BB3FD03141F75A427E38FC2A4170C807BD3DD031415AAA605433FC2A4178C7297A3AD03141AB47E17A2CFC2A41F053E3A535D03141E14287092AFC2A412093B5E433D03141884E8D8427FC2A41F0C8852A32D03141347143EC24FC2A418CD28A7730D03141BD16FC4022FC2A419CA8FACB2ED0314146060C831FFC2A41A4570A282DD031419F57CAB21CFC2A4134FAED8B2BD03141EA3145471CFC2A4174A3B5702BD031417B5928E11BFC2A41CC55B4502BD03141C6444D811BFC2A41A0392E2C2BD031410E1780281BFC2A41781771032BD03141C1ED7DD71AFC2A4190B1D3D62AD031416C4DF38E1AFC2A41100BB5A62AD031410EB7D1801AFC2A4158C1A8A418D03141352AA9D311FC2A418CD2DE200BD031413B4ED19109FC2A41081DC96502D0314119A7E8C801FC2A41D000DE42F7CF31413290A0B8FBFB2A4104B37B32F0CF3141D332C4B1F2FB2A415C984C75E6CF3141F5DBD741E9FB2A41704F1E96DDCF3141D032C471B4FB2A419426C286DECF3141CF54C1E895F92A41905374E4E7CF3141732D219FCCF92A41C44B376997D23141827AA5AC0CFA2A41F01FD24FBCD531418A8785DAEFFB2A418CA757AAB2D53141126A4D334EFC2A41DCFBA93163D53141AB8251C988FD2A4120D49AC679D431416C3D0A97FEFD2A41D409686212D43141AC03E7CCFEFD2A414433333312D431418D6CE7FBFFFD2A41A0B437B811D4314181E2C7986DFE2A41BCDA8A3DE5D33141B1506BDABCFE2A41C40E9C13C5D3314194976E92EFFE2A41586DC57EB0D331412163EE9AC0FF2A41300DE06D24D33141F6271066D6FF2A4180BD260E17D33141EE8CB54FEEFF2A41848C9C9E0AD33141AEEBAA2E08002B41B0BEAE34FFD231410EDA5CD623002B416CD607E4F4D2314191F7241741002B414CB16DBEEBD23141CD079CBE5F002B4134E9A2D3E3D231418CCAF0977F002B416CAC4B31DDD231411BFD426CA0002B41683CD6E2D7D2314174E70103C2002B410C3C67F1D3D23141F4D24D22E4002B41C8EEC963D1D231414EDA1B3C44012B4190EB5158CCD23141F31FD26FD7012B416824979FC4D231413ADF4F8D1C022B41C4B662FFC0D2314182855A932F022B41942A18D5BFD23141E7757B3351022B41142252ECBCD23141058F556972022B41D84AB0FFB8D23141FAC18F1593022B41FCEFE612B4D23141D0E75219B3022B4178259C2AAED231413ADE6656D2022B41AC66634CA7D23141860D4FAFF0022B41E451B87E9FD231419E779C622E062B416805A332B9D13141191FF4AC04062B419CB437984FCF3141348941A0CFFF2A4148E3A55B67CF314179F4DB97D6FF2A4128D6C52DCCCF3141FD80954343FE2A4108C05B20D3CF314187A0F8712FFE2A410C772D81D3CF3141AA59F5B93AFE2A41F8D6A310D7CF3141BFDCB5C441FE2A4138D8F054DBCF3141E0839E4D45FE2A4164C5FE92DDCF31415A8638164AFE2A41946588A3DFCF3141020000000200000000022F00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1393110 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1393465, N'{4215CBA1-D756-44BE-9945-70B8F0C86395}', N'003516687', 484504, N'KAP32118', 90053111, N'3516687', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'', N'', N'LOT A SECTION 33 TOWNSHIP 43 OSOYOOS DIVISION YALE DISTRICT PLAN 32118', N'0163', N'0012', N'NO', N'ICF', 32, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-19T18:27:36.000' AS DateTime), 90308, 1189, 0xBD0B000001040B000000204A7B43E019374160DA1B7C342923414E6B9A770C1A374138EF38C58E292341260F0B15111A374118C05BA08829234108A3921AB11A3741083D9B554729234140AD693EBB1A374100B37B3243292341265A64DBD41A3741C0482EBF38292341E573B595F31A37419095430BC72623411E85EB113F1A3741C03099EAA0262341F2FDD418F2193741E0E68CA89026234140F1634CCF193741F8F44AD915292341204A7B43E019374160DA1B7C3429234101000000020000000001000000FFFFFFFF0000000003, CAST(1393465 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1393917, N'{A0BCB78F-D851-4F26-8FC2-A610836E6E7A}', N'017533538', 1074319, N'LMP1725', NULL, N'17533538', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot C', N'', N'', N'LOT C SECTION 18 TOWNSHIP 16 NEW WESTMINSTER DISTRICT PLAN LMP1725', N'0002', N'0009', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-01-05T09:19:50.000' AS DateTime), 511, 93, 0xBD0B0000010405000000D3CCCC0CF9583341605839B496B01B418E976E1217593341707CD0B394B01B414F401341175933416009F9A04BB01B41B169DE51FD583341201AC05B4DB01B41D3CCCC0CF9583341605839B496B01B4101000000020000000001000000FFFFFFFF0000000003, CAST(1393917 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1393923, N'{35864FB3-D8A7-49D9-9550-73AC9DB31F2B}', N'004346581', 1092029, N'NWP4301', NULL, N'4346581', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot B', N'Block 8', N'Section 23', N'PARCEL B (REFERENCE PLAN 10543) LOT 8 EXCEPT: FIRSTLY; PART 2.69 ACRES ON STATUTORY RIGHT OF WAY PLAN 23333, SECONDLY; PARCEL H (STATUTORY RIGHT OF WAY PLAN 23333), NORTH EAST QUARTER SECTION 23 TOWNSHIP 13 NEW WESTMINSTER DISTRICT PLAN 4301', N'0002', N'0009', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-01-05T09:19:55.000' AS DateTime), 4250, 281, 0xBD0B0000010405000000FE65F7048F4A334160FC187372D31B416E68912D8B4A334130F697DDA2D41B416E8A8EC4DE4A3341708A8E64F1D31B41CC32C431E04A334110D044D87FD31B41FE65F7048F4A334160FC187372D31B4101000000020000000001000000FFFFFFFF0000000003, CAST(1393923 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1394792, N'{B3CC5462-BEF5-4043-BF44-59BF4842C302}', N'009038884', 1167463, N'NWP2742', NULL, N'9038884', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2012-09-10T00:00:00.000' AS DateTime), N'REM Lot 20', N'', N'', N'LOT 20 SECTION 8 BLOCK 5 NORTH RANGE 2 WEST NEW WESTMINSTER DISTRICT PLAN 2742, EXCEPT PLAN EPP21607', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T09:11:14.000' AS DateTime), 482, 89, 0xBD0B000001040500000062105819AFBC324160D5E7EA42C41C41BF5B2001C3BC3241B0FA5C6D5BC41C413108AC1CC4BC3241F0CC5D4BF1C31C41B8D100FEAFBC3241F0D409E8EDC31C4162105819AFBC324160D5E7EA42C41C4101000000020000000001000000FFFFFFFF0000000003, CAST(1394792 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1398546, N'{70FD8D54-B298-4A0F-B78C-0F44E4C1BBDF}', N'011383429', 847821, N'KAP1957', NULL, N'11383429', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 410', N'', N'', N'THAT PART OF LOT 410 SHOWN RED ON PLAN A1057; DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 1957', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:34.000' AS DateTime), 3601, 356, 0xBD0B0000010415000000E4C7981BC97836414082E2C728D61C418004C5AFCD783641A05B20410BD61C4156CA3284D2783641C063CC5DEED51C41C48F3197D7783641C00B2428D2D51C4116022BE7DC783641A0E68CA8B6D51C41B0B6629FBB783641007D3F3524D61C4183FB3AB0B77836414079582831D61C41409B555F8F78364150A60AC695D61C414603786B86783641A0734614B1D61C41E92631287D78364170E8D9ACCAD61C4155F5B99A73783641A0923A81E2D61C412CC286C769783641C0938785F8D61C4144D8F0B45F783641B0559FAB0CD71C415C39B46855783641B066D5E71ED71C41FE770B845B78364160EC2FBB3ED71C41728A8E245C7836411071AC0B3FD71C41A6E848EE7C783641D0C039235AD71C419A6E12E3B47836414070CE88DFD61C41C07493B8C078364110C05BA065D61C41C654C1C8C4783641A0F97EEA46D61C41E4C7981BC97836414082E2C728D61C4101000000020000000001000000FFFFFFFF0000000003, CAST(1398546 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1400117, N'{0D12C7A3-F4E8-4D46-8D9E-639F084962B7}', N'006059473', 3, N'NO_PLAN', NULL, N'6059473', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 9', N'23,6', N'', N'THAT PORTION OF FRACTIONAL LEGAL SUBDIVISION 9 SECTION 9 TOWNSHIP 23 RANGE 6 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION OF YALE DISTRICT WHICH LIES TO THE SOUTH OF EAGLE RIVER, EXCEPT (1) PART INCLUDED IN RIGHT OF WAY PLAN 633A9 AND (2) PART INCLUDED IN PLANS 8204 AND 18287', N'0163', N'0006', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-04-17T15:44:54.000' AS DateTime), 4914, 466, 0xBD0B000001042C000000DA68008FE3FC3641D85964BB30E82441DC5C629FE4FC36410045BF8B30E82441EC9FB6AEE5FC364120E6354830E824419541A0BCE6FC3641A85FDFF02FE824418FCDC2C8E7FC3641A89CD9852FE82441846BC2D2E8FC3641484549072FE8244164FE43DAE9FC364178B359752EE8244156D3BC43F3FC3641086822EC2EE824410DA5BD01FEFC3641002DB21D2FE82441F731E6AE04FD3641782BF6D72FE82441915CFEC30DFD364128F6979D2FE824413A89416010FD364188F4DB9730E824415D6DC59E16FD36411059177737E82441056822EC1EFD364110CE195140E824413AAB3E5722FD364108022B0745E8244158A8356D26FD364150696F7049E82441836ABCB42CFD3641D8CEF75352E8244155EC2FBB32FD3641A03A01CD59E82441868EE4923FFD36413865196268E824413EF1636C42FD3641381AC05B6BE8244100917EFB45FD36419095434B71E8244171567D2E4AFD364148AF942579E824411504566E4EFD364148CA32841AE82441C320B0528CFC36410811C73AF7E7244183C9546199FC364138EBE23611E8244170128360A8FC3641805374242DE824411EEBE2D6B7FC3641201DC92548E8244120A7E8C8BFFC3641C013D00455E82441FBBD60C6C0FC3641E85554AA52E82441E295C1DAC1FC3641B021967950E824418BC55404C3FC3641D8F40E764EE82441FC434241C4FC36412894F0A24CE824415755938FC5FC3641A0F91F034BE8244159A835EDC6FC364100BE309949E82441C9E53F64D0FC3641A00F7A3641E82441D122DB99D3FC3641F8F44AD93CE82441D4F97E6AD6FC364140D49AE639E82441066822CCDBFC3641C001BC0535E82441B847C014DDFC36419074E23C34E824417B146E5EDEFC3641406D1F7B33E824419A0522A9DFFC3641C8AA78C032E82441924AD2F4E0FC3641E8B7F30C32E824415D0B7541E2FC3641C0E8956031E82441DA68008FE3FC3641D85964BB30E8244101000000020000000001000000FFFFFFFF0000000003, CAST(1400117 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1401816, N'{2DB5168F-1A62-4089-9266-520F859495E5}', N'013829475', 3, N'NO_PLAN', NULL, N'13829475', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART NE4', N'11', N'21,8', N'THAT PART OF LEGAL SUBDIVISION 16 OF SECTION 11 SHOWN ON PLAN B7464; TOWNSHIP 21 RANGE 8 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLAN KAP87159', N'0163', N'0006', N'NO', N'ICF', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-11-08T09:22:12.000' AS DateTime), 11609, 439, 0xBD0B000001040B000000363CBD1257C53641E01FD2EF53472441C086A73754C53641A87EFBBA7E472441E27A146E4DC536418831776DE9472441C420B0124EC53641508716D9E9472441265305E35AC53641188A1F63E54724418BA0F8D169C5364168EA04B4FA4724414FA60AE66DC53641E8A7C60B20482441E4839EEDC5C53641C096900F37482441A3A44E60D0C5364108BDE3946B472441A3DFBE2EC7C53641A0A757CA69472441363CBD1257C53641E01FD2EF5347244101000000020000000001000000FFFFFFFF0000000003, CAST(1401816 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1401996, N'{9990FE03-6349-448B-BECF-595E5D314816}', N'010424148', 866593, N'KAP4861', NULL, N'10424148', NULL, N'P32210', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1 SECTION 10 TOWNSHIP 22 RANGE 17 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 4861 EXCEPT PLAN 5399 AND KAP54525', N'0055', N'0028', N'NO', N'ICF', 0, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-10-23T09:11:54.000' AS DateTime), 14921, 494, 0xBD0B000001040C0000002BA913102F683541F075E01C1E50244112C7BAF82F683541D893870509502441DC2D90E0306835414080B700F44F244164A1D6F43F68354158F5B99AF64F2441B0B662FF3F6835419887859AF54F24410D363C9D46683541B025E443554F244174A52C6348683541E8A7C64B2A4F24416A6FF085CB67354150166A0D474F244160FE43BAC567354130068155484F2441442EFFA1C0673541B803E74CC54F24415FFE43FAC6673541183D9BD5355024412BA913102F683541F075E01C1E50244101000000020000000001000000FFFFFFFF0000000003, CAST(1401996 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1403082, N'{D543A64C-2816-4143-B26C-4422A7590D81}', N'001673661', 3191875, N'VIP1215OS', NULL, N'1673661', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, NULL, NULL, NULL, N'THAT PART OF THE UNNUMBERED PORTION OF MALAHAT DISTRICT SHOWN COLOURED RED ON PLAN 1215 OS LYING BETWEEN THE NORTHERLY BOUNDARY OF LOT 90 OF SAID DISTRICT AND THE SOUTHERLY BOUNDARY OF LOT 89 OF SAID DISTRICT AND CONTAINING 3.44 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T16:28:35.000' AS DateTime), CAST(N'2020-03-19T16:14:45.000' AS DateTime), 13806, 989, 0xBD0B000001041900000027287E2C9BED314190F831E608521841ED2FBB27AAED3141A0E92631F85318412E333373ADED3141106A4D7365541841F94A5926CCED3141B01D38E769541841EEF44AB9C9ED3141F02D90A01954184152DA1B3CB8ED314140234AFBD7511841C0FA24FBB1ED314100A092CC4D511841A7DBA8B3A8ED314120A95B5DC650184197B834789CED3141B0526ABC42501841BF2F3D618DED314190DBE7F0C34F1841075DED8C7BED3141A08D53F84A4F1841D389EA1E67ED314110EC87C4D84E1841BAE80C4050ED3141102ED7396E4E18412AED0D1E37ED3141C0C3422D0C4E1841A40A460503ED3141E0F90FE9044E184178823E641BED3141C0B8C7FF4F4E184178C4C41732ED31418024600AA34E18414EA773F646ED3141B0BF6C71FD4E18410AED3CDA59ED3141D0CD14905E4F1841FAA7AEA06AED3141D0E73FB5C54F1841CC09322B79ED3141D0ECD82432501841DF2A435F85ED314180F82419A3501841EB63A1268FED314140EF2BC41751184189E1776F96ED3141C01430518F51184127287E2C9BED314190F831E60852184101000000020000000001000000FFFFFFFF0000000003, CAST(1403082 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1403361, N'{64440AE8-CBAB-480C-A608-9DE360FDFA04}', N'001674081', 12592, N'VIP218B', NULL, N'1674081', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'Block 45', NULL, N'LOT 4, BLCOK 45, SHAWNIGAN LAKE SUBURBAN LOTS, MALAHAT DISTRICT, PLAN 218B', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T16:19:41.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 10148, 403, 0xBD0B0000010409000000250681D5A0E93141C073B5153C9518418FE4F25FA0E9314120E17A9407951841FB75E05C3BE9314150C6DCB5FD941841CFAACF753AE93141A05E294B91961841D556EC8F67E93141F006F01695961841D300DE028DE93141708CB9EB98961841ED9E3C4C9FE93141600E2D329696184172F085A99EE9314120E4831E37961841250681D5A0E93141C073B5153C95184101000000020000000001000000FFFFFFFF0000000003, CAST(1403361 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1403400, N'{D80FEC7C-752C-44E2-819D-E1F55D2F1865}', N'001715712', 3, N'NO_PLAN', NULL, N'1715712', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 3', N'4', NULL, N'THAT PART OF SECTION 3, RANGE 4, QUAMICHAN DISTRICT, SHOWN COLOURED RED ON PLAN 193 RW AND CONTAINING O.77 OF AN ACRE MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 16, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T17:08:49.000' AS DateTime), CAST(N'2021-02-25T16:29:36.000' AS DateTime), 2543, 253, 0xBD0B0000010407000000B4408262EDCC314180D5E7EA4E54194174C7295A28CD3141100681959D53194165D5E72A47CD314170F90FE940531941C5E53F241ACD314180FC187335531941D756EC0FEDCC3141F0CEF7D3B453194111F2414FECCC31415010583952541941B4408262EDCC314180D5E7EA4E54194101000000020000000001000000FFFFFFFF0000000003, CAST(1403400 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1403511, N'{C70D83A5-308B-4BC0-9E2C-CAEAEF3131D8}', N'000958026', 1301713, N'NWP54508', NULL, N'958026', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2009-03-09T00:00:00.000' AS DateTime), N'REM Lot 2', NULL, NULL, N'LOT 2 SECTION 2 BLOCK 4 NORTH RANGE 5 WEST NEW WESTMINSTER DISTRICT PLAN 54508 EXCEPT STATUTORY RIGHT OF WAY PLAN 88278 AND PLAN BCP34500', N'0120', N'0010', N'NO', N'ICIS CADASTRE', 13, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2021-03-18T10:40:37.000' AS DateTime), 13921, 555, 0xBD0B000001040B00000047D8F0B4F18C324140257582B67C1C413E82E2471E8C3241B0B6627F947C1C4126287EAC1A8C324170C64B37AD7D1C419D67B3EA8E8C3241006666E6AB7D1C414A6A0FDA9E8C3241906922C6AB7D1C41A0776DC9AE8C324140303BC6AB7D1C410274C9B8BE8C3241B0BAB0E6AB7D1C41DA431FA8CE8C324140008327AC7D1C4192CB6A97DE8C3241E0EFB188AC7D1C41A0EFA786EE8C324190703D0AAD7D1C4147D8F0B4F18C324140257582B67C1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1403511 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1403615, N'{A0DC337E-C163-4D97-A2DF-F599401AA65E}', N'005263751', 5574396, N'KAP18300H', NULL, N'5263751', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1998-02-20T00:00:00.000' AS DateTime), NULL, NULL, NULL, N'PARCEL 1 ON PLAN H18300 OF LOT A DISTRICT LOT 706 YALE DIVISION YALE DISTRICT PLAN 26026', N'0114', N'0022', N'NO', N'PMBC-OPERATIONS', 11, N'PMBC-OPERATIONS', N'UNKNOWN', N'0', N'1965', CAST(N'2019-04-10T14:17:51.000' AS DateTime), CAST(N'2021-03-25T10:06:49.000' AS DateTime), 2127, 349, 0xBD0B000001041E0000001F1FF46CF5543541201FF4EC510C1F41C37493F8F254354110C58FB1460C1F419D45B6D3E254354150BA490C670C1F4119EC3A9EE154354110C01CAE680C1F4188477660E0543541107C76DC690C1F419E22181DDF543541A082C8946A0C1F41B666DCD6DD543541F0DF83D56A0C1F4106318590DC54354150781C9E6A0C1F4130DAD44CDB543541B0360AEF690C1F4186FD870EDA543541700AC8C9680C1F417B8C4FD8D854354100B1D030670C1F418BFBCAACD7543541105A9927650C1F41F794828ED654354190298AB2620C1F4169FDE17FD5543541B0B0F4D65F0C1F41E1F63283D4543541E067089B5C0C1F41DC6C989AD3543541104EC505590C1F4198D409C8D2543541A0BFEC1E550C1F41487B832F9854354120C7BA38A50A1F413EC6DC35A354354100C66D34A40B1F41CEB23F00A454354130513510B10B1F41806DDBEEA4543541A072EFC4BD0B1F4105443801A6543541D0743C4CCA0B1F418294CC36A7543541C06AD39FD60B1F417D12FD8EA8543541F05885B9E20B1F41DF141D09AA543541B04E4093EE0B1F41009A08FBC55435412089B061580C1F418BFD6517C954354140257502560C1F412E90A0F8C9543541801F63EE670C1F417A029A68D9543541F0A96054A20C1F411F1FF46CF5543541201FF4EC510C1F4101000000020000000001000000FFFFFFFF0000000003, CAST(1403615 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1403763, N'{5666FDA3-C547-4BE6-ABBB-B7A4695265B8}', N'011608102', 870801, N'KAP1404', NULL, N'11608102', NULL, N'72400510005', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot A', NULL, NULL, N'LOT A DISTRICT LOT 401 KAMLOOPS DIVISION YALE DISTRICT PLAN 1404 EXCEPT PLAN KAP63005', N'0163', N'0028', N'NO', N'ICF', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-05-07T10:07:02.000' AS DateTime), 2068, 235, 0xBD0B000001041A0000004C378941AFC8344180B437F8E8DB2341EE384547ABC83441C820B0B2F0DB2341BEA8A44EA5C8344160B5153BFCDB23412D90A0B8A2C834411824283E01DC234172832F0CB5C83441B0567D6EF4DB23414C378941AFC8344180B437F8E8DB23417458A875D2C834412093A98232DC23416029CBD0C2C83441B839238A14DC234185635D3CC2C8344190B81E4515DC2341122DB2BD8DC83441E802094A3DDC23418638D64587C834410093A9424BDC2341F7285C6FA0C83441E061A1967BDC23419B2A18D5A2C83441F8F6752080DC23417E8CB94BA7C83441A89465487DDC23415FDC46E3AAC834412853052376DC23411183C0EAAEC83441081DC9A56FDC2341EE384587B2C834416819E25868DC234172CE8852B6C8344110F2410F62DC2341B9F3FD14BAC8344160C5FEF25ADC234132772DE1BDC8344140E8D96C54DC2341FA3A70CEC1C8344150029A884EDC2341A813D024C6C8344170840D8F48DC2341BA1E854BCAC834415007CED942DC23412E333353CEC8344140EF38053DDC23418638D685D3C83441F0839E8D36DC23417458A875D2C834412093A98232DC2341020000000200000000020600000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1403763 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1403825, N'{CC74F62D-B7BB-4B72-A7C4-389F4AA9996A}', N'016344847', 486346, N'NEP60X', NULL, N'16344847', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 30', NULL, NULL, N'THAT PART OF SUBLOT 30 TOWNSHIP 28 KOOTENAY DISTRICT PLAN X60, SHOWN OUTLINED IN RED ON REFERENCE PLAN 135373I', N'0163', N'0019', N'NO', N'MODIFIED-ICF', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-04-27T16:31:49.000' AS DateTime), 25939, 674, 0xBD0B00000104050000005D1058398E5E3841C08F3177F0E11D4154AF94059C5E3841F0EF16C80CE41D412C08AC9C115F3841706519E240E41D411B2653456E5F3841D01B7C6195E11D415D1058398E5E3841C08F3177F0E11D4101000000020000000001000000FFFFFFFF0000000003, CAST(1403825 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1403896, N'{8A1BA4D1-2AD7-4005-97AD-5EA662EDF75C}', N'012745961', 868179, N'KAP55', NULL, N'12745961', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', NULL, N'REM Lot 11', N'Block 12', NULL, N'LOT 11 BLOCK 12 (PLAN B3666) DISTRICT LOT 706 YALE (FORMERLYOSOYOOS) DIVISION YALE DISTRICT PLAN 55 EXCEPT PLAN H831', N'0114', N'0022', N'NO', N'ICIS CADASTRE', 1, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-05-03T11:24:40.000' AS DateTime), 233, 72, 0xBD0B000001040500000086635D7CB555354140EC2FBBE6171F4198900FFABE55354130992A18C1171F4192CB7F28C255354160787A2576171F41EAF21FB2AD55354110022B87C7171F4186635D7CB555354140EC2FBBE6171F4101000000020000000001000000FFFFFFFF0000000003, CAST(1403896 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1404145, N'{0D877B62-524C-4B2B-BABB-1896C2BF4181}', N'010319387', 294239, N'PGP4923', NULL, N'10319387', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Parcel A', N'Lot 2', N'', N'PARCEL A (PLAN B7130) OF LOT 2 DISTRICT LOT 1226 CARIBOO DISTRICT PLAN 4923', N'0117', N'0002', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-05-30T19:45:57.000' AS DateTime), 4627, 308, 0xBD0B00000104060000004E8D97AEE8D13241F8B9DACAD43A2B41DB78E966D5D1324130C28667293B2B414803788BB8D1324100022B474A3B2B41C632C43123D23241009D11A5523B2B416ABC749325D23241F0F21F92D93A2B414E8D97AEE8D13241F8B9DACAD43A2B4101000000020000000001000000FFFFFFFF0000000003, CAST(1404145 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1407446, N'{489057E8-8D18-4D88-8A55-65B9CB606CD7}', N'005479436', 19421, N'VIP8894', NULL, N'5479436', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 6', N'', N'', N'LOT 6, DISTRICT LOT 42, OYSTER DISTRICT, PLAN 8894, EXCEPT PARTS IN PLANS 43985 AND VIP58714', N'0062', N'0007', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T15:56:09.000' AS DateTime), CAST(N'2021-11-30T11:45:10.000' AS DateTime), 1787, 291, 0xBD0B00000104100000002B287ECCD6B93141A096908F7FFA1A417B0B2488D2B93141606CE7FB90FA1A41E2141D69DAB931411083C04AB0FA1A417E04C54FDFB93141F0E8482E9DFA1A41AD506B9AEAB93141700C71AC72FA1A4183734614F6B93141204625F548FA1A41F97E6ABC01BA314150DE710A20FA1A41C832C4910DBA314110FC18F3F7F91A412E2AA99319BA314130C4B1AED0F91A414F4013C125BA3141105C8F42AAF91A41E704345138BA3141D05C6D4572F91A41517424173CBA3141E024068167F91A415EA1D6743CBA3141D06F5F073BF91A41FAA067132ABA3141B033A23439F91A4198E61D270DBA31418016D94EB5F91A412B287ECCD6B93141A096908F7FFA1A4101000000020000000001000000FFFFFFFF0000000003, CAST(1407446 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1407563, N'{E4576FE0-6B66-48DB-A904-31F8BE48009F}', N'013282794', 854308, N'KAP40803', NULL, N'13282794', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot A', NULL, NULL, N'LOT A DISTRICT LOTS 3187, 4056 AND 4231 OSOYOOS DIVISION YALE DISTRICT PLAN 40803 EXCEPT PLAN 43135', N'0157', N'0016', N'NO', N'ICIS CADASTRE', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-12-06T18:00:05.000' AS DateTime), 652903, 4439, 0xBD0B000001043000000025CB10C7DF3B3641C8DA8A7D0DE8204150840D0FDC3B3641D844D8F0CDE720415F07CEF9DF3B364158F7E46185E72041AC726891F23B364138431C6B45E72041C0C117E61F3C36414852272007E720417B0B24A8173C3641208E753184E6204130992AD8ED3B3641F85F76CF5DE6204104000020B53B364128A8354D52E62041628FC2B5DD3B3641306519622DE32041F33A708ECD3B364170575BF129E320418D976EB2BE383641A8DB684083E2204165226C189938364100A167B39CE520411071ACCB8A383641487FD9BD99E520413EC6DCB513383641784F1E1681E52041F853E3A517383641A8218E758EE52041C15B20614638364140FAED2B2DE62041D1AACF955638364188CC5D0B6AE6204161E5D02264383641506ABC74A9E62041FE4C84ED6E38364148FC18F3EAE620410AA5BDE176383641D015FB0B2EE72041552041F17B38364180C9544172E7204161CC5DCB7F383641209C3322BCE72041DCC56D748F383641A8627F5919E82041D0CCCC2CE4383641C837F802B1E72041F2EBC0B9E9383641D88C282DAAE72041F475E0DCF0383641082A3AD2ABE720419A779C62283A364158F5B99AF3E72041A713D024173A36411893A9821DE92041CD6F5FA78D3A3641A89999D938E920410968228CA13A364148696F703DE920419E01BCC5D63A364110D9CEB749E92041DF2406818C3B3641E054C1A873E92041D756EC6F643B3641D019511A5FEC2041DA3D7978B83B36418041602571EC2041AD1C5A84BE3B3641E80B936972EC2041F7065F98CB3B3641F026318845EC20415C204151C53B36410044FA2D44EC2041C19F1A4FB63B3641C857CAF240EC20410E363CBDB03B3641986CE7FB2DEC2041769CA2C3B23B36414005A31266EB204142C6DC35C13B3641783D0AD771EA20411B5A64BBCB3B3641F8E9953214EA204110A5BD21D03B36415807CE9992E92041A857CA32CE3B3641A0D6346F7DE9204185D0B3F9CD3B36414048BFFD7AE9204187EB5178CA3B364128E4839E54E92041EE5A423ECD3B364148B4C8B6C3E8204125CB10C7DF3B3641C8DA8A7D0DE8204101000000020000000001000000FFFFFFFF0000000003, CAST(1407563 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1407860, N'{E0AD11F6-E3C6-4EB1-ADE0-6EECCBC822FD}', N'013036157', 3, N'NO_PLAN', 90055348, N'13036157', NULL, N'73105835000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'1219', NULL, NULL, N'DISTRICT LOT 1219 KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLAN 43275', N'0163', N'0028', N'NO', N'ICF', 7, NULL, N'UNKNOWN', N'0', N'313411', CAST(N'2021-12-14T15:09:53.000' AS DateTime), CAST(N'2021-12-22T12:34:44.000' AS DateTime), 312138, 2370, 0xBD0B000001040E00000093976E324A0335414060E5D037A72141D63D79B82F033541C820B072CDA9214101917E1B2E033541D8D0225BF5A92141854160A5C10435413075029A37AA2141AED85FB65306354128431CAB80AA2141B84082E26E063541C09DEFA761A72141AC60541250043541D03D79180AA72141777AA5EC2B04354150B1BFEC1BA72141C205C8EB06043541B8E4CD6E2CA7214193F38378E10335419810A53D38A721410A3804B9BB03354108743C4D3FA72141EE78C1D39503354110D5619641A721413CD85AEF6F03354120D8C0163FA7214193976E324A0335414060E5D037A7214101000000020000000001000000FFFFFFFF0000000003, CAST(1407860 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1408209, N'{C80C98CE-FA8A-4243-A9E5-0C41EE4CFBB7}', N'003780899', 656401, N'VIP18430', NULL, N'3780899', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', NULL, NULL, N'LOT 2, SECTION 53, CORMORANT ISLAND, RUPERT DISTRICT, PLAN 18430', N'0003', N'0020', N'NO', N'ICF', 2, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2022-01-14T16:24:12.000' AS DateTime), 1044, 131, 0xBD0B00000104050000009DBB9610C9822C41A8D1001E04E82241C919515A94822C41E0C11726F5E72241092653857F822C4178E926713EE8224156A60A46B4822C41F08C286D4DE822419DBB9610C9822C41A8D1001E04E8224101000000020000000001000000FFFFFFFF0000000003, CAST(1408209 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1409230, N'{090B0F06-514E-495F-86F2-A0A4C8DAD6C4}', N'016133188', 489197, N'NEP731', 90054203, N'16133188', NULL, N'7072120060', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot D', N'Parcel B', N'Lot 2', N'PARCEL D (REFERENCE PLAN 108549I) OF PARCEL B (SEE 7333I) OF LOT 2 DISTRICT LOT 306 KOOTENAY DISTRICT PLAN 731', N'0163', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:11.000' AS DateTime), 5473, 396, 0xBD0B000001040A000000283A92EB972B3941E09C11E5AED52041AD726831882B3941608FC2F508D6204136014D44932B3941781283800BD620419ED6344FC22B3941E0141DC988D52041DC4F8D37E92B3941701B0D2065D52041D4C56D34E92B394198DD938742D520413A6744E9FD2B3941109A085B03D520419F01BC45E42B394178029A48E9D42041B325E463B62B39417826C28627D52041283A92EB972B3941E09C11E5AED5204101000000020000000001000000FFFFFFFF0000000003, CAST(1409230 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1409685, N'{8E7CA6D1-9CEC-4046-8640-1F2FC8BFF4D2}', N'014155524', 494598, N'NEP6190', NULL, N'14155524', NULL, N'553544225', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 1', NULL, NULL, N'THAT PART OF LOT 1 INCLUDED IN RIGHT OF WAY PLAN 6279 DISTRICT LOT 397 KOOTENAY DISTRICT PLAN 6190 EXCEPT PLANS NEP61024, NEP66016 AND NEP78927', N'0083', N'0004', N'NO', N'ICF', 13, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', N'10067', CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-24T14:44:46.000' AS DateTime), 9870, 899, 0xBD0B000001043D0000007B61329575253841C804C50F90C72241D4915C1E73253841D8D781F387C7224123068115C025384198E2C7182AC72241D7C48062C3253841C8DD654522C72241265FB29DC6253841B04082541AC722419CE7D3C6C92538413810BF4612C722413EE1A4DDCC25384118A0C01C0AC72241BA44E6E1CF25384190822DD701C7224186855AD3D2253841307DAE76F9C6224141FAED8BD125384118265345F5C62241C21726B3F0253841E87C3F757CC622414F8D974EFC253841A85E294B3AC622415FCC5D2BFE253841C05B208137C62241B210C07FFE253841B81E577432C622418EF99BCEFE25384108E328662DC62241DA0DF017FF253841C0D5AD5628C62241E0EEBA5BFF253841882AFE4523C622417058FB99FF253841A81A32341EC62241C820B0D2FF253841F8E4612119C62241E66C2779FA253841D8051BE805C622413A27809EF5253841889BED29F2C522419039F145F125384138A3ECF3DDC52241C0665B72ED253841E8747A53C9C52241DE624726EA25384110E53F56B4C52241B225E463E7253841C839230A9FC52241CCF86B4FE7253841006304C6CEC52241E069B402E525384120AA1B49FEC52241C352D882E0253841E014F1292DC62241D8A1D4D9D925384128D874005BC62241162E7216D1253841B857E66687C6224160E5244CC6253841A004B6FAB1C62241E59DE092B9253841D828605DDAC6224192EAE306AB25384140B43E3500C722414C6879C89A253841483E502E23C72241A00FB0FB88253841307FF2FA42C7224189290BC875253841B0A78E545FC722412C992A5861253841381136FC77C72241098A1F035325384178E2C79887C7224132142EAB4B253841E8A56F4B8FC72241D45D370444253841B8CB78AD95C7224114F1431D3C253841882259B29AC72241420DDA0534253841E06C34509EC722412E27DFCD2B253841A8BFEF7FA0C7224165AE78852325384178773F3DA1C72241BA54EC3C1B25384170A9AF86A0C72241511680041325384108FEA65D9EC7224166415AEC0A253841A0EF63C69AC7224108BC610403253841C074F4C795C722417CC61E5CFB2438410824286C8FC7224194779C02F424384188ED7CBF87C72241A957CA52F024384100A5BD41C8C72241ABE682BBF9243841403ABFCACFC722414EF1686A03253841482069C7D5C722418058364F0D253841C07DAB2DDAC722418E654A5917253841A87E21F6DCC7224107BCC5772125384120C01D1CDEC722410AB5A6992B253841182DB29DDDC72241A689B0812C253841C0938785DCC72241E1B5845C3C2538417088635DC9C72241D6D781F33E253841D88E53F4D1C722417B61329575253841C804C50F90C7224101000000020000000001000000FFFFFFFF0000000003, CAST(1409685 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1410483, N'{385A315D-C0CF-4351-A571-08C74AAF4446}', N'001586459', 128454, N'VIP1425', NULL, N'1586459', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'Block 3', N'', N'THAT PART OF LOT 6, BLOCK 3, SECTION 16, VICTORIA DISTRICT, PLAN 1425 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:25:03.000' AS DateTime), CAST(N'2019-01-05T10:52:49.000' AS DateTime), 577, 109, 0xBD0B0000010406000000B8847CF0352E3241905DDCC60F99174133E6AEC53A2E324100F775604E991741F11648105B2E32411095D489F598174104AC1CBA562E3241C07EFB3ABE981741FB065FF8522E3241C0E00B93C7981741B8847CF0352E3241905DDCC60F99174101000000020000000001000000FFFFFFFF0000000003, CAST(1410483 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1410792, N'{6C7AB23A-EBFB-456C-B70C-9EB3E6B72A4B}', N'001590103', 3, N'NO_PLAN', NULL, N'1590103', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 9', N'', N'', N'THAT PART OF THE PORTION OF SECTION 9, ESQUIMALT DISTRICT, LYING TO THE SOUTH OF BURNSIDE ROAD AND TO THE EAST OF A LINE PARALLEL TO THE EASTERLY BOUNDARY OF SAID SECTION AND EXTENDING FROM A POINT ON THE SOUTHERLY BOUNDARY OF SAID BURNSIDE ROAD DISTANT ALONG SAID SOUTHERLY BOUNDARY 93.1 FEET FROM THE INTERSECTION OF SAID SOUTHERLY BOUNDARY AND THE SAID EASTERLY BOUNDARY OF SAID SECTION, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0154', N'0005', N'NO', N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:26:48.000' AS DateTime), CAST(N'2020-05-13T13:00:42.000' AS DateTime), 585, 99, 0xBD0B0000010409000000A72C43BC162C3241B06A2BF6389A17412EDD24E6162C32410071AC0B3B9A17411AFBCB4E182C3241B0DA8AFD4C9A17410C462595192C324140A8A44E4A9A1741DD9387652C2C3241807DAEB6229A1741D40968E2312C32417055302A179A1741C4BAB8AD2B2C3241B0CB7FC8C8991741B3506B1A122C3241F01DA768FE991741A72C43BC162C3241B06A2BF6389A174101000000020000000001000000FFFFFFFF0000000003, CAST(1410792 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1411365, N'{08F1CF65-8553-4F4C-B373-8903987B11FA}', N'009325743', 137263, N'VIP51', NULL, N'9325743', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 38', N'', N'', N'THAT PART OF LOT 38, SECTION 7, VICTORIA DISTRICT, PLAN 51, BEING THE CANADIAN NORTHERN PACIFIC RAILWAY COMPANY''S RIGHT OF WAY AS SHOWN ON PLAN 7 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:17:48.000' AS DateTime), CAST(N'2019-01-05T10:55:23.000' AS DateTime), 1260, 166, 0xBD0B000001040800000016AE4761E639324140ADFA5CDC841741D0DEE06BE6393241D0AE2564DC841741DC0B9309FC393241A0A52C43FE831741FDFFFF1FFD393241A0438BECF2831741A0F83126E9393241706C787AE28317414B696F70D239324120D9CEF7CB841741AB7BF2B0DC393241601DC965D484174116AE4761E639324140ADFA5CDC84174101000000020000000001000000FFFFFFFF0000000003, CAST(1411365 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1413827, N'{DC1E7604-F052-4D0B-85CD-D854F34BF78A}', N'010349421', 3, N'NO_PLAN', 3401681, N'10349421', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'', N'', N'LOT 6 DISTRICT LOT 2601 OSOYOOS DIVISION YALE DISTRICT PLAN 5379', N'0163', N'0016', N'NO', N'MODIFIED-ICIS', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-06T13:29:24.000' AS DateTime), 2622, 234, 0xBD0B000001040E000000D0BCE3D49A473641D81DA7682A0D2141A457CA929E473641A006F096360D2141C0EC9E1C9F473641F0839ECD350D21411995D4C99E473641F09E3CEC340D2141608FC235E547364198EB5138CF0C21419375711BCA47364138355E3ACA0C2141759CA203924736413866F7E4BF0C214104B5A65991473641704013E1D70C21411B0DE04D91473641F89E3C2CE60C21413BFAEDEB91473641589E5E69F40C21416ECE88329347364190A22379020D214141AD691E95473641E06C563D100D21415DC3D3AB97473641507424971D0D2141D0BCE3D49A473641D81DA7682A0D214101000000020000000001000000FFFFFFFF0000000003, CAST(1413827 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1414155, N'{9084EC8E-8B93-4693-983C-A1317E6DF6A0}', N'010786724', 3, N'NO_PLAN', 4798241, N'10786724', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART NE4', N'8043', N'', N'THAT PART OF THE FRACTIONAL NORTH EAST 1/4 OF DISTRICT LOT 8043 CARIBOO DISTRICT LYING SOUTH AND WEST OF PLAN CG76', N'0163', N'0008', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2018-01-09T12:30:53.000' AS DateTime), 183011, 1957, 0xBD0B000001042A00000081C0CA41A3A6344118F9A0E70E672D4178029AE876A534410883C00AE0662D41546B9AB74AA43441987C3F35B1662D417EE2C7F82DA4344128143FC6D6692D41E1E9955227A43441F063CC1D916A2D4126ED0D9E25A4344188F90FE9C06A2D41204A7B635AA534413003788B69692D41BA40828265A53441D00968225D692D411473D79270A53441309E5EA950692D418E28ED8D7BA53441304ED11144692D4166AA603486A53441C872689137692D41D91B7C0193A53441E0A59B0428692D41D6E76AAB9FA53441D095B20C18692D418CA98231ACA5344160D3BCA307692D4102B37B92B8A53441C8F0F4CAF6682D41726891CDC4A5344130014D84E5682D41D71B7CE1D0A5344130A913D0D3682D4174567DCEDCA53441407B83AFC1682D4190A0F891E8A5344180416025AF682D4143F1632CF4A5344178A0F8319C682D418A6CE79BFFA5344128F46CD688682D41FFFFFFDF0AA634415086381675682D4132A2B4F715A6344118A089F060682D41B84082E220A6344100E78C684C682D41ADB6629F2BA63441485BB17F37682D4143E8D92C36A6344110B4C83622682D41490C028B40A63441E896908F0C682D41AE7268B14FA63441B0605452EB672D41EE482E5F44A6344118C1A8E4D6672D413A04EEE84AA6344130227940C8672D41D22E615851A63441B093F76DB9672D41ADC035AD57A634416006E16DAA672D4127051BE75DA63441B0AFF4409B672D41D19EC10564A63441C800F4E78B672D41AF8BDB086AA63441889CA2637C672D416DE7FB0976A6344198E8482E8F672D412AA089307FA6344178855A5377672D41B88D061088A63441E8AE25245F672D417DD0B3B990A63441281DC9A546672D4140F1632C99A6344178BE9FDA2D672D417614AE67A1A63441006F81C414672D4181C0CA41A3A6344118F9A0E70E672D4101000000020000000001000000FFFFFFFF0000000003, CAST(1414155 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1414631, N'{10D95255-B827-4B41-BDE0-DD06B2E6BE27}', N'015108597', 3, N'NO_PLAN', NULL, N'15108597', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'NE4', N'4519', N'', N'THE FRACTIONAL NORTH EAST 1/4 OF DISTRICT LOT 4519 CARIBOO DISTRICT, EXCEPT PLANS 7901, 16946, 17431, 17705, 18498, H673, PGP37331 AND PGP42505', N'0163', N'0002', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-01-09T12:26:46.000' AS DateTime), 266883, 2761, 0xBD0B000001041000000076832FAC37E63241C8B12E2E800D2B419FCDAAEF55E6324140840DCF830D2B41F9CBEE8963E6324138499D80F40B2B417246947652E6324138DD2406F30B2B41A0923A2148E5324168E7FBE9D80B2B41CE19511A12E4324158931844C00B2B41C064AA8011E43241400C02ABD60B2B419E89B041E2E3324100E3365A12122B41C8A1453634E432418834EF781A122B416D8A8EE434E43241B0703D8A1A122B41DEC7989B56E4324178D100DEF6112B41E12D9080C0E43241F853E3A594112B4166D5E70AD2E432411093A9C20D0F2B4130431CCB33E53241E0353C3D170F2B41A70A46653EE53241E095B28C650D2B4176832FAC37E63241C8B12E2E800D2B4101000000020000000001000000FFFFFFFF0000000003, CAST(1414631 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1414634, N'{44B28744-30D1-42C8-BB15-2D27FDDB599E}', N'014792460', 3, N'NO_PLAN', NULL, N'14792460', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'E', N'292', N'', N'PARCEL E ON PLAN A1533 OF DISTRICT LOT 292 SIMILKAMEEN DIVISION YALE DISTRICT', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2018-01-09T12:24:53.000' AS DateTime), 5499, 581, 0xBD0B00000104150000000B2428DE20693641F0B9DA8A76701E41F29E3CAC1669364170ABADD8B0701E415F32557015693641C0AF03E7B7701E414C2EFF410C693641D0938785EA701E414AB6F3FD0A693641F047507CF1701E410222FD960169364140FC187323711E414B0C024B0069364140AA60542A711E414F96216EF068364110423EE877711E4102BC0512E0683641001748D0C3711E4149477239CF683641F0FFFFFF0D721E41821D38E7BD683641508C4A6A56721E41B4C8761EAC6836413093A9029D721E41256519E29968364120363CBDE1721E414C4013C15A693641801283C073701E41C30E9C935F693641B0AF7268C56F1E41A73E579B3869364170438B6CE46F1E41AE94656838693641D05817B7E56F1E4132FF215D34693641404BC887FF6F1E41CC6D34E02E69364130EF38C521701E41465986B82A693641303B704E3B701E410B2428DE20693641F0B9DA8A76701E4101000000020000000001000000FFFFFFFF0000000003, CAST(1414634 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1414894, N'{93FDAF42-4BAB-4CBA-94D0-2167D497CAE0}', N'006914748', 12870, N'VIP1750', NULL, N'6914748', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 13', N'Block 12', N'', N'LOT 13, BLOCK 12, SECTION 5, RENFREW DISTRICT (SITUATE IN COWICHAN LAKE DISTRICT), PLAN 1750, EXCEPT PART IN PLAN 2762RW', N'0064', N'0007', N'NO', N'ICIS CADASTRE', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T19:37:37.000' AS DateTime), CAST(N'2019-01-07T18:32:48.000' AS DateTime), 3363, 350, 0xBD0B0000010414000000D7A3701D196F3141E044D87064FB194131A2B4F7F26E3141A08BDBE8B2FA194171D71272C76E3141B0E53F24D4FA19411A95D4E9D66E3141C056ECAF29FB19415C2041F1E76E3141004A7B8373FB1941D7A3701D196F3141E044D87064FB1941A4EFA7869C6E314120AAF1521CFB19412D431C6B936E31418026C206FDFA1941B2D85F96896E314190C117A601FB19418EA0F871856E3141A03A014D9DFB19415C4BC887B56E3141A03C2C5488FB19416688635DB06E3141004703F86EFB1941F94A59A6AD6E31419061325562FB19413D3EE819A86E31415041F1E349FB19417A06E43AA66E3141D01C5A1042FB1941BEB2D555A46E3141A07725543AFB1941A586CF6AA26E314110E19DAF32FB19416BFFE379A06E3141E0050D232BFB194105D325839E6E314170AABBAE23FB1941A4EFA7869C6E314120AAF1521CFB1941020000000200000000020600000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1414894 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1415039, N'{E34D4220-C193-444F-AEC4-E6CF520D2ECC}', N'009852310', 3, N'NO_PLAN', NULL, N'9852310', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 5', N'7', N'', N'THAT PART OF SECTION 5, RANGE 7, SAHTLAM DISTRICT, CONTAINING 6.22 ACRES MORE OR LESS AND COLOURED RED ON PLAN "A" DEPOSITED UNDER 30148I', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 42, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T20:42:31.000' AS DateTime), CAST(N'2019-01-07T18:33:15.000' AS DateTime), 27084, 1745, 0xBD0B00000104050000000B5F982C61B33141C01B7CE1E1801941E0C7983B9BB6314140A2B4B78C7E19417BE926919CB63141E0105839087E1941CEF753C362B33141708CB9EB5D8019410B5F982C61B33141C01B7CE1E180194101000000020000000001000000FFFFFFFF0000000003, CAST(1415039 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1416925, N'{D6D379BD-9096-44FE-BC8F-6EF175411A98}', N'007722371', 246698, N'PRP1076', 35721801, N'7722371', NULL, N'03513.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 41', N'Block 2', N'', N'LOT 41 BLOCK 2 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 290, 91, 0xBD0B000001040500000011F2418F9E2D2C4154F38E7358A1304113FBCBAEA72D2C41888EE45252A13041DE68006F6A2D2C41242AA9933BA130410EFBCB6E612D2C4150F38EB341A1304111F2418F9E2D2C4154F38E7358A1304101000000020000000001000000FFFFFFFF0000000003, CAST(1416925 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1417611, N'{79821AF6-EE93-442C-ABB7-B04456D17593}', N'008387052', 649718, N'VIP464A', NULL, N'8387052', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 10', N'Block D', N'', N'LOT 10, BLOCK D, DISTRICT LOT 42-A, ALBERNI DISTRICT, PLAN 464-A, EXCEPT PARTS IN PLAN 44728', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:33.000' AS DateTime), 71, 65, 0xBD0B0000010405000000C97F487F2A963041A0711B0D760A1D41ABADD8BF2E963041C0CCCC4CED0A1D41036F81442F963041F0F21F52760A1D4183D0B3392F96304180CE8852760A1D41C97F487F2A963041A0711B0D760A1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1417611 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1419382, N'{412DE3A0-9E6B-4562-BE77-74A8273A4837}', N'013998013', 295389, N'PRP968', 23688511, N'13998013', NULL, N'01250.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 16', N'Block 105', N'Section 2', N'LOT 16 BLOCK 105 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:32.000' AS DateTime), 260, 72, 0xBD0B0000010405000000B415FBCB5A792B410CAE47E1D86431412D1AC0DB6E792B41586B9AB7D8643141164850FC6D792B41A813D0C4BE643141C69F1AEF59792B41F43A70EEBE643141B415FBCB5A792B410CAE47E1D864314101000000020000000001000000FFFFFFFF0000000003, CAST(1419382 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1419783, N'{1E088453-24A5-4C43-B54E-C45D03E0A98D}', N'004254376', 287266, N'KAP29547', 6026071, N'4254376', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot A', N'', N'', N'LOT A DISTRICT LOT 3397 LILLOOET DISTRICT PLAN 29547', N'0163', N'0002', N'NO', N'ICF', 13, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2019-01-11T18:14:34.000' AS DateTime), 27355, 767, 0xBD0B000001040500000013C7BAF848423441608CB9AB2706264159CA326410433441D010C73A43062641AC72689120433441D079C7695504264173A3013C8D4234413851DA5B6305264113C7BAF848423441608CB9AB2706264101000000020000000001000000FFFFFFFF0000000003, CAST(1419783 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1419850, N'{28CCA225-6A26-48E9-994F-1DE9BEB149BC}', N'006311237', 6031, N'VIP3352', NULL, N'6311237', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'', N'', N'THAT PART OF LOT 2, DISTRICT LOT 66, NANOOSE DISTRICT, PLAN 3352, SHOWN IN, RED ON PLAN 1205R, EXCEPT PART IN PLAN 40250', N'0068', N'0021', NULL, N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2019-01-05T08:37:29.000' AS DateTime), 1188, 141, 0xBD0B00000104050000001C95D469BC5F3141B0C876BED4D31C4100BC0552BC5F3141E046037862D41C419C923AE1D95F314130A7E8C862D41C411ED26FFFD95F314180635DDCAED31C411C95D469BC5F3141B0C876BED4D31C4101000000020000000001000000FFFFFFFF0000000003, CAST(1419850 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1422662, N'{8F33F96C-0197-46D4-BBA3-EFEA577A7064}', N'014116952', 1308622, N'NWP1531', NULL, N'14116952', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-24T00:00:00.000' AS DateTime), N'REM Lot 12', N'Block 4', N'', N'LOT 12, EXCEPT: PART ON SRW PLAN 8027 BLOCK 4 DISTRICT LOT 16 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 1531', N'0025', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:20:36.000' AS DateTime), 130, 47, 0xBD0B0000010406000000AA13D024FFBC3241F0B9DA8A85ED1C41F39E3C8CFEBC3241208195C3B2ED1C41C2A8A46E06BD3241F041CF66B4ED1C4164226C9808BD3241D0627FD9B4ED1C4146C8075D09BD32410054E3A57AED1C41AA13D024FFBC3241F0B9DA8A85ED1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1422662 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1423779, N'{35289D4F-EBA9-43EB-9158-127122CA7B66}', N'003000991', 1480907, N'NWP1034', NULL, N'3000991', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-02T00:00:00.000' AS DateTime), N'REM Parcel A', N'REM Lot 15', N'Block 10', N'PARCEL "A" (BY33354E) OF LOT 15 EXCEPT: PART ON STATUTORY RIGHT OF WAY PLAN 71501; BLOCK 10 DISTRICT LOT 173 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 1034', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:36:45.000' AS DateTime), 1244, 166, 0xBD0B0000010408000000B78D06F03BA5324190832FCC9EA31C413545477239A53241206744E979A31C41C0D32BA530A53241B0D16F5F5EA31C41058195A318A53241A0BFEC1EC5A31C41D83D79F804A5324120029A081FA41C4196BB96F012A532412041F16352A41C41F0EBC07917A532417025E4833DA41C41B78D06F03BA5324190832FCC9EA31C4101000000020000000001000000FFFFFFFF0000000003, CAST(1423779 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1424032, N'{BDD415E5-320E-4E9E-BBE4-8AD66F5BA52C}', N'013748157', 1479979, N'NWP2390', 7231011, N'13748157', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', CAST(N'2011-07-07T00:00:00.000' AS DateTime), N'Lot 10', N'Block F', N'', N'LOT 10 BLOCK "F" DISTRICT LOT 88 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 2390', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:39:37.000' AS DateTime), 812, 127, 0xBD0B0000010407000000029A08DBEBAC3241D02D211F62EA1C4190A0F871F7AC3241C0DCB5042DEA1C4166AA6054DDAC324170A4DFBED1E91C41FA6C56BDD4AC3241A07FD9BDB3E91C4199BB96B0CEAC324180FD6577CFE91C410E143F26C9AC3241406666E6E8E91C41029A08DBEBAC3241D02D211F62EA1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1424032 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1424583, N'{06E20E6A-E04F-4CF4-BEDE-54F097F9E069}', N'003176011', 1480939, N'NWP3047', NULL, N'3176011', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', NULL, N'REM Lot 13', N'Block 1', N'', N'LOT 13 BLOCK 1 DISTRICT LOT 14 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 3047 EXCEPT: PART ON SRW PLAN 26009; PLAN EPP7191;', N'0010', N'0010', N'NO', N'MODIFIED-ICIS', 1, N'DATACOMPILATION', N'UNKNOWN', N'0', NULL, CAST(N'2018-01-17T15:18:14.000' AS DateTime), CAST(N'2019-01-12T13:23:55.000' AS DateTime), 660, 128, 0xBD0B000001041100000095779CA2D6B13241C03992CB6FFA1C414DA60AC6D6B13241F01DA7E84BFA1C4113E02D10D7B13241C035CDBB00FA1C41302AA973AFB1324140C58F31FEF91C4197F606BFA8B1324170A52CC3FDF91C4111AA2BA6AEB13241406608710DFA1C412DB36896B4B13241001E8FE71CFA1C4169A79D8FBAB1324140636C262CFA1C416EEBA991C0B1324120FE4C2D3BFA1C418AB36C9CC6B1324150E8DEFB49FA1C417F04C5AFCCB13241104ED19158FA1C419A0FB556CEB13241A06A437B5CFA1C41C54443FECFB13241A0C0856060FA1C4143FA6EA6D1B1324100C1964164FA1C411F86374FD3B1324120DD741E68FA1C410D3E9CF8D4B1324130891EF76BFA1C4195779CA2D6B13241C03992CB6FFA1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1424583 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1424711, N'{980A82CE-916C-453D-8B9B-26DB0C6A0368}', N'010327282', 849755, N'KAP2362', NULL, N'10327282', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Parcel 8', N'Lot 724', N'', N'PARCEL 8 (PLAN A1273) OF LOT 724 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 2362', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:59.000' AS DateTime), 8145, 372, 0xBD0B0000010419000000F6A9F152C071364150FAEDEB0D741D41247502DAB7713641D06E120330741D41516B9A57AF713641C08026C24B741D41E90434F1AC713641509B551F69741D41EB1DA7E8AC713641304BC88769741D41137A36ABA4713641004625F587741D418CDB68809B713641C0172653A0741D41D6BCE37496713641C0694DF39C741D416B226C588A71364170F4DB579F741D41049A087B8371364170B96B89C3741D41536B9A577F71364140287E0CE6741D41920F7A967E7136410013F2410A751D41F4C2646A7E713641A058A8B535751D41F8E46181887136418000DE028B751D4146B6F31D93713641D00C71ACB7751D415939B4689D713641505452A7D0751D41D834EFB8A9713641C0E00B13E6751D414B9D8086B8713641E04AC807DF751D4194218E75C1713641A0802642E4751D41CDCCCCACD4713641F06F5F07D9751D417E8CB90BE1713641C0EA73B5DB751D4124189534EF713641F0BAB88DE1751D4162A1D6F4DC713641E078E92608751D4110F241CFDC71364190643BDF06751D41F6A9F152C071364150FAEDEB0D741D4101000000020000000001000000FFFFFFFF0000000003, CAST(1424711 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1426239, N'{EBE4178C-2D46-40C3-B87C-4EC6428CD59D}', N'000078492', 682, N'VIP40229', NULL, N'78492', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'', N'', N'LOT 2, SECTION 17, RANGE 8, CRANBERRY DISTRICT, PLAN 40229, EXCEPT PART, IN PLAN VIP65749', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2019-04-05T16:36:42.000' AS DateTime), 9162, 433, 0xBD0B0000010407000000A101BC254BA33141C025E48346F61B416E3D0A3720A33141F021FD769CF61B411EF46C761DA33141206519E296F71B4108819583C6A3314160F3FDD4A8F71B418EED7C1F89A33141002428FED4F61B41D419519A5BA33141F01648D060F61B41A101BC254BA33141C025E48346F61B4101000000020000000001000000FFFFFFFF0000000003, CAST(1426239 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1426418, N'{B2B51581-8EF5-40F1-BBA6-B19A1E7E2999}', N'015423506', 3, N'NO_PLAN', NULL, N'15423506', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART NE4', N'4', N'26,21', N'THAT PART OF THE NORTHEAST QUARTER OF SECTION 4 TOWNSHIP 26 RANGE 21 WEST OF THE 5TH MERIDIAN KOOTENAY DISTRICT INCLUDED IN PLAN R115 AND MARKED GRAVEL PIT', N'0163', N'0006', N'NO', N'ICF', 5, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-08-26T12:12:58.000' AS DateTime), 9820, 433, 0xBD0B000001040E000000AE7268F16CF5384160DC4643553526417112838062F5384188FB3A30653526414850FC585DF5384108FDF6356D35264116FBCB2E53F53841601361037E35264184D2DE404EF538413071AC4B8635264130211F5449F538410873D7128F352641E2361A6041F5384170711BCD9E352641956E12C368F53841E0A14536DC35264145598678BBF53841503333735E362641F11648D0E0F5384170A1D6F417362641CF5D4B88D1F53841788104C5F5352641A5BDC1F77EF53841286C783A3C3526411CB072A877F5384180984C1546352641AE7268F16CF5384160DC46435535264101000000020000000001000000FFFFFFFF0000000003, CAST(1426418 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1426990, N'{2C242A23-E3E1-42E2-94E1-7F6CA0EA5627}', N'001566164', 117903, N'VIP877', NULL, N'1566164', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'Block 11', NULL, N'THAT PART OF LOT 5, BLOCK 11, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:52:35.000' AS DateTime), CAST(N'2020-09-22T09:16:54.000' AS DateTime), 306, 71, 0xBD0B000001040500000085B0E1896937324130EBE2B6348E17414F4013217837324170423EE8228E1741B3EA733572373241709CA223D68D1741BAD1009E63373241B020B0F2E78D174185B0E1896937324130EBE2B6348E174101000000020000000001000000FFFFFFFF0000000003, CAST(1426990 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1426991, N'{EA57133F-533D-478C-8850-5432EC27B899}', N'001567250', 117903, N'VIP877', NULL, N'1567250', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 15', N'Block 11', NULL, N'THAT PART OF LOT 15, BLOCK 11, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:33:44.000' AS DateTime), CAST(N'2020-09-22T09:16:54.000' AS DateTime), 306, 71, 0xBD0B0000010405000000BC490CA2D7363241C0141DC9E68E174183D93D39E6363241006C78FAD48E17410F7A364BE0363241F034EF38888E17411361C3B3D136324140B9FC079A8E1741BC490CA2D7363241C0141DC9E68E174101000000020000000001000000FFFFFFFF0000000003, CAST(1426991 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1429830, N'{002650D5-EA7A-4FE8-98BA-3D987814A518}', N'012752304', 8434855, N'KAP6338B', NULL, N'12752304', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1988-02-25T00:00:00.000' AS DateTime), N'Parcel A', N'', N'', N'PARCEL C (DD 134811F AND PLAN B6338) OF PARCEL A DISTRICT LOT 1975 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 107', N'0163', N'0022', NULL, N'PMBC-OPERATIONS', 3, NULL, N'UNKNOWN', N'0', N'3460', CAST(N'2021-03-30T15:20:06.000' AS DateTime), CAST(N'2021-03-30T15:25:00.000' AS DateTime), 3296, 326, 0xBD0B00000104120000009FABAD38AAD23541F0C48FB113841E41A4E8482EA7D2354140363CBD12841E418FCB7F68A6D2354170711B8D30841E41CBE62B24A5D23541F03496AE57841E4151A09EF4A2D23541001DA1287E841E414431DADE9FD23541F09B10A3A3841E41E55DF0E99BD23541F0DD02C8C7841E415742F21E97D235412096A444EA841E41AA8BDB8891D2354160CCEEC90A851E415ECC5D4B8FD23541A0F97E6A16851E41D89AE65D7CD2354100E78CA878851E4123C9E51F77D23541D0D100DE93851E41DE5F76CF76D235413016D94EA2851E4132BB27AF74D23541A0DD930704861E4196900F9A7BD2354130AAF1D224861E41D609680280D23541703F355E2A861E4130A2B4B7A0D2354160C0CAA134861E419FABAD38AAD23541F0C48FB113841E4101000000020000000001000000FFFFFFFF0000000003, CAST(1429830 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1429963, N'{9EDE1B38-2009-409C-9B04-2E32EE7ECCEE}', N'009650636', 3, N'NO_PLAN', NULL, N'9650636', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 9', N'1', NULL, N'THAT PART OF SECTION 9, RANGE 1, QUAMICHAN DISTRICT, MORE PARTICULARLY DESCRIBED AS A STRIP OF LAND LYING 100 FEET WIDE ON EACH SIDE OF THE CENTRE LINE OF THE CANADIAN NORTHERN PACIFIC RAILWAY RIGHT OF WAY BETWEEN STATIONS 480+88.2 AND 490+00, AND LYING 100 FEET WIDE ON THE NORTHERN SIDE OF SAID CENTRE LINE AND 50 FEET WIDE ON THE SOUTHERN SIDE OF SAID CENTRE LINE BETWEEN STATIONS 490+00 AND 492+61; SAID CENTRE LINE BEING DESCRIBED AS COMMENCING AT STATION 480+88.2 BEING A POINT ON THE EASTERLY BOUNDARY OF SAID SECTION DISTANT SOUTHERLY 492.2 FEET FROM THE NORTH EAST CORNER OF SAID SECTION; THENCE ON A 3 DEGREE CURVE TO THE LEFT 720.5 FEET; THENCE NORTH 68 DEGREES 44 MINUTES WEST 452.3 FEET, MORE OR LESS, TO STATION 492.61, BEING A POINT ON THE NORTHERLY BOUNDARY OF SAID SECTION DISTANT WESTERLY 1027 FEET FROM THE NORTH EAST CORNER OF SAID SECTION, SAID STRIP OF LAND CONTAINING 4.82 ACRES MORE OR LESS AS SHOWN COLOURED RED ON PLAN MARKED A IN DD 30931I', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 42, NULL, N'UNKNOWN', N'0', N'17677', CAST(N'2021-04-19T10:05:39.000' AS DateTime), CAST(N'2021-04-19T10:15:26.000' AS DateTime), 17725, 836, 0xBD0B000001042B000000723480F764C4314130D71272DB7B1941E8F21FD25CC43141C0263108F47B194194B20C9154C4314170BADA0A0C7C194144C6DC354CC43141206B9A77237C1941F6E461C143C43141D0A7C64B3A7C19417D7346343BC43141A026C286507C19416A44698F32C431412054E325667C194166BC74D329C43141E09DEF277B7C194132772D0121C431416095438B8F7C1941EEF44A1918C43141403B704EA37C1941E0B5841C0FC43141D01FD26FB67C1941808CB90B06C431411044FAEDC87C194198DD93E7FCC33141C014AEC7DA7C19414360E5B0F3C3314110917EFBEB7C19413F795868EAC3314130263188FC7C1941ABDFBE0EE1C3314180438B6C0C7D1941A513D0A4D7C33141605452A71B7D19417E95432BCEC3314130A2B4372A7D1941FC770BC4BBC3314150AD695E447D194159D3BCE37DC33141204ED191917D19410AA3927A82C33141E063CCDDC67D194134D49A2632C33141A07346142F7E194100DE02A9BDC33141D08FA0783E7E1941AB605412CFC33141C057CA322D7E194198FF90BED3C33141302DB21D277E19410E2DD199DFC3314130AF080C157E1941BE4E785CEBC3314120D7F2FF017E194105DB3B05F7C33141C0FE87FBED7D1941DA1FD49202C4314160BFFA00D97D1941E066FC030EC4314110BB9812C37D1941FE18735719C43141C057CA32AC7D1941F22FBB874FC43141301B9EDE317D19419475715B5EC4314170E5D0A20D7D19415D8FC21566C4314150302AA9F97C1941F1EBC0B96DC4314180537424E57C1941615DDC4675C4314150BD5216D07C1941B2FA5C0D7BC43141B069DE71BF7C1941D22B65F980C4314180B3EAF3AF7C1941E6482E5F84C43141208F5374737B1941C820B0B27CC43141B0A7C64B8E7B1941D166D5E774C43141802AA993A87B1941CF88D2FE6CC43141005F294BC27B1941723480F764C4314130D71272DB7B194101000000020000000001000000FFFFFFFF0000000003, CAST(1429963 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1430178, N'{4567F78B-8FDC-4F22-A370-DC4F754ACD11}', N'018550061', 8661250, N'VIP57842', NULL, N'18550061', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'1476', NULL, NULL, N'BLOCK 1476, HELMCKEN DISTRICT, AS SHOWN ON PLAN VIP57842', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 15, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T16:19:41.000' AS DateTime), CAST(N'2021-05-18T14:37:36.000' AS DateTime), 2639, 245, 0xBD0B0000010413000000E4718A8EE1DA3141F060C3D35CF01841F31648D0C4DA314130ED0DBE41F01841BC7D1D58ADDA31413083C0CA2DF018419623B588ADDA3141C0A64C1337F018410D3F6BB3ADDA31419057A75D40F0184126BE3ED8ADDA314120F994A949F0184198B42EF7ADDA3141D0E5D9F652F01841D75B3A10AEDA3141D06F3A455CF0184140136123AEDA3141B0E17A9465F01841A947F0B8ADDA314190EF88B391F018410D3142C8ACDA314190AC89B1BDF01841C562E251ABDA31418004FA74E9F018415FF8A956A9DA3141A0D978E414F11841B417BFD7A6DA314150BDD5E63FF118416E4694D6A3DA3141008A1F636AF11841829ECD0ADEDA314180DD2486B2F01841FAC264CAEEDA3141101B2F5D79F0184156204171E8DA3141B04E401363F01841E4718A8EE1DA3141F060C3D35CF0184101000000020000000001000000FFFFFFFF0000000003, CAST(1430178 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1430609, N'{1A5F0936-445A-47E4-9BAE-A286E074AA25}', N'000746681', 5461769, N'VIP1527', NULL, N'746681', NULL, N'101514', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 45', N'', N'', N'LOT 45, SECTION 10, RANGE 8, MOUNTAIN DISTRICT, PLAN 1527 EXCEPT PART IN PLAN VIP65053', N'0084', N'0021', NULL, N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', N'3536', CAST(N'2019-04-04T08:45:35.000' AS DateTime), CAST(N'2021-05-31T16:32:10.000' AS DateTime), 3536, 266, 0xBD0B0000010405000000E561A1D65082314100705F87A8431C410ACE1991EB813141B0CDAACF9C431C4150499D80EA813141205D6D454F441C418C8EE4922382314160FF90FE55441C41E561A1D65082314100705F87A8431C4101000000020000000001000000FFFFFFFF0000000003, CAST(1430609 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1431211, N'{7AFEA78B-E300-45C4-93C3-5901CF05F587}', N'008394962', 3, N'NO_PLAN', NULL, N'8394962', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 90', NULL, NULL, N'THAT PART OF LOT 23, DISTRICT LOT 90, ALBERNI DISTRICT, PLAN 1486, AND THE ABANDONED ROAD ADJOINING, BEING THE UNCOLOURED PORTIONS AND PORTIONS SHOWN COLOURED GREEN INCLUDED WITHIN THE AREA SHOWN IN RED ON PLAN 387 RW', N'0163', N'0029', N'NO', N'ICF', 4, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2021-06-22T12:58:44.000' AS DateTime), 2449, 318, 0xBD0B000001040A000000C676BE5F3F833041902A189550FE1C41770B24A84083304120ED0D3E54FE1C418051497D6483304150EEC9C352FE1C41CC4B37A97B833041700F7A36D1FD1C419118043674833041706B9AF7BBFD1C4176A52C83A1833041E0E848AEBEFC1C41884160659283304190F1D24DBFFC1C416C8104456A833041D09C11A59FFD1C418CA0F8D16283304140D49A668AFD1C41C676BE5F3F833041902A189550FE1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1431211 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1431323, N'{0B74CDB1-4EBE-4F9B-A87F-31FDA1D99457}', N'002909260', 117903, N'VIP877', NULL, N'2909260', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 22', N'Block 9', N'', N'THAT PART OF LOT 22, BLOCK 9, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:06:48.000' AS DateTime), CAST(N'2021-06-29T16:50:32.000' AS DateTime), 321, 73, 0xBD0B00000104070000004B72F96FC338324110DBF97E9B8C1741BA270F4BBC383241F070AC0B988C17417BA52C03B438324110530523A28C174145EA0474B938324160B81E05E88C1741C15B2021C8383241003BDFCFEF8C1741CC32C411CA38324100BADA8AF18C17414B72F96FC338324110DBF97E9B8C174101000000020000000001000000FFFFFFFF0000000003, CAST(1431323 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1433509, N'{DBA3CE32-96E9-4028-A516-D71A695F11CE}', N'005473837', 7849, N'VIP8843', NULL, N'5473837', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1, SECTION 17, RANGE 1, CEDAR DISTRICT, PLAN 8843, EXCEPT PART IN, PLAN VIP65750', N'0163', N'0021', NULL, N'ICIS CADASTRE', 6, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2021-11-19T16:20:41.000' AS DateTime), 256, 82, 0xBD0B00000104040000008FB96B4927A43141E059F5B90EF71B418304C56F16A43141B0C186A70DF71B413B67448926A431418086385688F71B418FB96B4927A43141E059F5B90EF71B4101000000020000000001000000FFFFFFFF0000000003, CAST(1433509 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1434557, N'{00855AA2-20AE-467C-B226-9E5C3FD57DA9}', N'002909154', 117903, N'VIP877', NULL, N'2909154', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 23', N'Block 8', NULL, N'THAT PART OF LOT 23, BLOCK 8, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'0', N'661.2', CAST(N'2022-01-26T11:13:15.000' AS DateTime), CAST(N'2022-01-26T13:58:26.000' AS DateTime), 644, 111, 0xBD0B0000010416000000142653A53439324150598638C08D1741BC490C823F393241E06F5F07B38D17413F575BD152393241A07346949B8D17418ECB7FC853393241E0FEB27B9A8D1741CAF2447B52393241801E15F58F8D1741CD819E37513932417007D95B858D1741211C9DFD4F393241E0368AB07A8D174182E650CD4E393241B017B5F36F8D1741C985C9A64D39324190FBE625658D1741521E168A4C3932414014AE475A8D1741E71DA7E84B393241904AEA045B8D17413108ACDC4239324180029A08668D1741676666C63839324140F2B050728D1741BE39234A3439324170A835CD778D174138CD3BAE253932416038D6C5898D1741565BB15F263932413012143F928D17415A6940D12839324170FF8994998D1741B4F7503C2B3932413074210CA18D17416E3BC5A02D39324180717EA5A88D1741D6BA7FFE2F39324180574360B08D17413A4F63553239324160EA103CB88D1741142653A53439324150598638C08D174101000000020000000001000000FFFFFFFF0000000003, CAST(1434557 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1435237, N'{CFAEDDBF-03C0-44BA-BD34-76ADA6A19902}', N'005700701', 495877, N'NEP595', 90054440, N'5700701', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 22', N'Block 18', N'', N'LOT 22 BLOCK 18 DISTRICT LOT 208 KOOTENAY DISTRICT PLAN 595', N'0056', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:42.000' AS DateTime), 202, 63, 0xBD0B0000010405000000450C026B782F394118AE47215CDF214194A0F8918C2F39411018955450DF21419CD6340F8C2F39415819E2983DDF214192A982D1752F3941501B0DA04ADF2141450C026B782F394118AE47215CDF214101000000020000000001000000FFFFFFFF0000000003, CAST(1435237 AS Numeric(38, 0)), NULL) +GO +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1435239, N'{25B79218-2D47-4FEE-8C27-97A65DD1E092}', N'005700868', 495877, N'NEP595', 90054447, N'5700868', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 27', N'Block 18', N'', N'LOT 27 BLOCK 18 DISTRICT LOT 208 KOOTENAY DISTRICT PLAN 595', N'0056', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:38.000' AS DateTime), 248, 73, 0xBD0B000001040A0000009075711B862F394130B4C8F6F4DE21417B717B82852F394180A6A11EF2DE214135A093E2842F394180A6784CEFDE2141C205C93B842F3941E0849180ECDE2141BE4B2B8E832F3941287B2FBBE9DE2141B9BFCAD9822F3941982695FCE6DE2141E451B81E822F394180810445E4DE214171D712D2682F3941B0180416F3DE21412A3A926B6B2F3941502BF69704DF21419075711B862F394130B4C8F6F4DE214101000000020000000001000000FFFFFFFF0000000003, CAST(1435239 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1435514, N'{3C3407E2-A2AA-4260-B145-2257643C6FC0}', N'009308130', 128441, N'VIP111', NULL, N'9308130', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 27', N'', N'', N'THAT PART OF LOT 27, SECTION 4, VICTORIA DISTRICT, PLAN 111 SHOWN ON PLAN 14 RW', N'0153', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:29:32.000' AS DateTime), CAST(N'2019-01-05T10:23:07.000' AS DateTime), 688, 131, 0xBD0B0000010405000000BBAF034717393241606C787AF17717413D82E247FF38324100B7D180617717411E41F1E301393241809BC4A041781741198C4A8A17393241C0DE710A08781741BBAF034717393241606C787AF177174101000000020000000001000000FFFFFFFF0000000003, CAST(1435514 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1436281, N'{6EB4DEAF-82ED-445C-B2C7-CA3D92D4ED8F}', N'023119993', 869672, N'KAP54648', NULL, N'23119993', NULL, N'P31820', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', N'', N'', N'LOT 1 SECTION 11 TOWNSHIP 22 RANGE 17 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN KAP54648', N'0055', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:06.000' AS DateTime), 8094, 415, 0xBD0B00000104160000005C2041F177683541B0FC87F4EF4C244141C6DC95756835417891ED3CFC4C24419EF6061F73683541D0D6A370084D244106560E8D70683541685F078E144D2441378941E06D68354168CE8892204D2441A6BDC1F76A683541F0CBEE092D4D2441713480376E683541B0285C8F2D4D2441C30E9CB37268354100CAC3424C4D2441D32B6519C9683541186519225A4D24417AC7297AEA683541A8C8767E5F4D24413255304AFF683541B873B5D5624D2441809543EB12693541F0B584FC654D244110363C1D12693541709318445F4D2441724694B61069354140CF6695534D2441E293872506693541C89B3362FB4C2441DA56EC2FF2683541A8E1E915F84C2441E3C7989BD768354190A0F8B1F34C244122DBF93EB6683541B056EC2FEE4C2441A8CFD5367D68354138CA32C4E44C2441F8A067137A683541D8FFFF3FE44C244171787A057968354148D1911CEA4C24415C2041F177683541B0FC87F4EF4C244101000000020000000001000000FFFFFFFF0000000003, CAST(1436281 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1436369, N'{1B4BBB5C-8D4C-48D2-8037-55489946303B}', N'001643568', 4898230, N'VIP98RW', NULL, N'1643568', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 67', N'', N'', N'THAT PART OF SECTION 67, SOOKE DISTRICT SHOWN COLOURED RED ON PLAN 98 RW AND CONTAINING 3.01 ACRES MORE OR LESS', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:31:54.000' AS DateTime), CAST(N'2020-05-09T21:08:17.000' AS DateTime), 12065, 977, 0xBD0B00000104440000009A900F3A10EC31414027A009A0091741449B557F0BEC3141707FD93DB40917413190A0180BEC314150D8F0F4B50917416B3BDFCF0AEC314150355E3AB7091741738A8E6400EC3141B0B0E1E9E50917412DC4B10EF4EB3141C0C95441260A17416DF08529E4EB3141B09465087E0A1741AD946528D0EB3141E0240681EC0A174196F606FFC3EB31417092CB7F2D0B17415B863816B2EB31416057CAB2870B174121166A6D9FEB3141D08E5374DF0B174192976ED28FEB31417024977F240C17418ADB68C07FEB3141C086A7D7670C17414694F6A671EB314180DD9307A00C17419E89B08135EB3141408C28ED880D1741EEA7C6AB29EB3141D089B061BA0D174112363C7D1EEB3141E0CC3B4EED0D1741B103E7EC12EB3141007A362B280E1741304CA64A08EB3141005C20C1650E17411DDBF99EFEEA3141F0F528DCA50E1741BA15FB0BF6EA3141906F5F87E70E1741CD22DB79FFEA314140BF7D9DF90E17416BBC74D30EEB314110E0BE0E170F17414FDA1BBC12EB31417096210EF80E17416766666614EB314190F21FD2EB0E1741D81B7CE116EB314100075F98D90E1741068195431BEB3141F0E68CA8BB0E1741326EA3E11FEB314100CC7F489E0E17417BC729BA24EB3141706DC57E810E1741D1DEE0CB29EB31412061C353650E1741EC73B5152FEB3141D0839ECD490E1741910F7A9634EB3141306A4DF32E0E17411C6C781A39EB3141C04E40131A0E17414F8D97CE3DEB3141509D8026050E1741CFAACF9542EB314130E8D9ACF00D1741D4AACF7547EB314100E02D90DC0D1741F6285C4F4DEB3141D0408262C50D1741E02D900084EB3141D0AF03E7F10C1741E24F8DB78CEB3141F02A8796CF0C1741A289B04195EB314190DD9307AD0C17411E1FF4AC9DEB3141C0489D008A0C17415F1058F9A5EB314170DD2486660C1741BFC11726AEEB3141E0BD3099420C1741E10209EAB7EB314110F54A59160C17410624287EC1EB314130FDF675E90B174169F7E4E1CAEB3141A0B20CF1BB0B174128189514D4EB3141603BDFCF8D0B1741D0DEE04BDCEB314150A3013C630B174162105859E4EB3141100C9329380B17410FC7BAF8E9EB314120A5BD41190B17410ACE1971FAEB314190F4DB57BD0A1741C3A8A46E0CEC3141F0839E4D580A17411A26538529EC314100C9E5BF41091741F4B815A128EC3141C07261AC4409174196DB36BE27EC314140D87E9F4709174148A3B9DC26EC314140B633994A0917416C20A1FC25EC314180B375994D091741AF5EF01D25EC3141105F3AA050091741C164AA4024EC3141703177AD530917412BF697BD1FEC3141D005129463091741E5FBA9111FEC3141E0FFFFFF6509174132D49A061AEC3141106B2BF6780917418251BD5C18EC314120A6E7597F091741C2DBF3B516EC3141800D5ECA85091741E088441215EC314160E876478C0917415B63B57113EC3141604C1AD192091741246A4CD411EC314120233067990917419A900F3A10EC31414027A009A009174101000000020000000001000000FFFFFFFF0000000003, CAST(1436369 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1436549, N'{AB536352-B16D-4889-9C31-0EEEC18B9A1C}', N'001704311', 12592, N'VIP218B', NULL, N'1704311', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block 46', NULL, N'THAT PART OF LOT 3, BLOCK 46, SHAWNIGAN LAKE SUBURBAN LOTS, MALAHAT DISTRICT, PLAN 218B SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 14180I AND CONTAINING 1.51 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T22:16:26.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 6666, 334, 0xBD0B00000104100000000FD044F8D2E93141403BDFCFC294184146FDC1B7D5E93141F0713B6BA39418416ED62052D8E93141F0B222D483941841788027C7DAE931410022530D64941841505E9F16DDE93141F0078F1944941841AA155540DFE93141B0949CFB2394184174931844E1E93141D0A145B60394184100395954E3E9314190E58801DF93184178298933E5E93141A0F1CE22BA931841032073E1E6E931415007311E959318410652E75DE8E93141909FCCF76F9318417674BBA8E9E9314100F3C2B34A9318417CC0CAC1EAE9314190863856259318411C51DA9BA0E93141C01E856B26931841F9A9F1D29FE93141109BE69DBE9418410FD044F8D2E93141403BDFCFC294184101000000020000000001000000FFFFFFFF0000000003, CAST(1436549 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1436702, N'{3B84EAC5-CA1A-4C6E-A7DC-686402DA2FD7}', N'016169344', 472080, N'NEP639', 90054744, N'16169344', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 15', N'Block 52', NULL, N'LOT 15 BLOCK 52 DISTRICT LOT 1901 KOOTENAY DISTRICT PLAN 639', N'0163', N'0018', N'NO', N'MODIFIED-ICF', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-05-11T15:31:20.000' AS DateTime), 322, 83, 0xBD0B000001040500000081B740E2CAED3A41A8ADD89FA9A820414B378901EAED3A4158FE43FAB1A820410CC7BA78EBED3A419817B7119EA82041CA4B3749CCED3A41D8915CFE94A8204181B740E2CAED3A41A8ADD89FA9A8204101000000020000000001000000FFFFFFFF0000000003, CAST(1436702 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1438946, N'{62B9357A-BCB8-445B-97AC-4D948285FE6D}', N'001661671', 3, N'NO_PLAN', NULL, N'1661671', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 24', N'', N'', N'THAT PART OF SECTION 24, ESQUIMALT DISTRICT SHOWN OUTLINED IN RED ON PLAN DEPOSITED UNDER DD 14327F AND CONTAINING 1.03 ACRES MORE OR LESS EXCEPT PLANS VIP71023 AND 1056 RW IN VIP71024', N'0154', N'0005', N'NO', N'MODIFIED-TANTALIS', 1, N'DATACOMPILATION', N'UNKNOWN', N'0', NULL, CAST(N'2018-12-19T09:46:36.000' AS DateTime), CAST(N'2019-01-05T11:08:45.000' AS DateTime), 3305, 345, 0xBD0B000001042000000071B5151B11233241303CBDD272921741DAF0F4AA48233241E0A0F8B171931741EBF21F525623324180CE8852B0931741A72ECB285B23324170FB51AEC59317419CD7370F60233241005B54D0DA93174131D03A056523324100F9D5B7EF9317418571A80A6A23324100E71E64049417412D8D541F6F233241303E79D4189417419A6E124374233241202731082D941741D607B3EC76233241A00ADDFC269417410EB9EB9579233241F075ADEE209417412D51BC3E7C233241D0D8A2DD1A941741279F24E77E233241E0A2BDC9149417410872248F812332415043FEB20E941741C698BB3684233241C02B65990894174186F042AF85233241A0E3048605941741F6E38C2D87233241E0AE61A002941741E79340B18823324180F627E9FF93174101DF033A8A233241C059F960FD931741E0767BC78B233241A0866C08FB931741F1F44A598D233241501B0DE0F89317415A423E888D23324150A982D1F8931741AEBFEC7E8D233241003333B3F89317415196210E63233241B0F21FD268931741F2EBC0592D23324150A2B4376792174182AEB6A21F233241006F81846D9217417EC6EE371D233241606CD9966E921741EBB0A3CC1A233241001006966F92174128EEDE6018233241F06F0382709217416A00AAF415233241D0ECCD5A71921741A56B0E8813233241B03362207292174171B5151B11233241303CBDD27292174101000000020000000001000000FFFFFFFF0000000003, CAST(1438946 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1439494, N'{966768CC-18EA-43EB-8773-9D3BA4AEEB08}', N'007319142', 848501, N'KAP21746', NULL, N'7319142', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 21', N'', N'', N'LOT 21 SECTION 14 TOWNSHIP 26 OSOYOOS DIVISION YALE DISTRICT PLAN 21746 EXCEPT PLAN KAP63794', N'0057', N'0016', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-06T13:31:52.000' AS DateTime), 2630, 239, 0xBD0B00000104060000005FFE435AF5803641504013A1DD1F214101BC0592EF803641D0D5566CDA1F2141499D80469D803641903D0AD7AC1F2141B17BF270968036413063EE1AE21F2141B203E74CEC803641D06800EF172021415FFE435AF5803641504013A1DD1F214101000000020000000001000000FFFFFFFF0000000003, CAST(1439494 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1440500, N'{016BFE9C-E1C3-4077-970E-E106C9323D44}', N'015652092', 470942, N'NEP1635', NULL, N'15652092', NULL, N'7035915000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Parcel A', N'REM Lot 3', N'', N'PARCEL A (REFERENCE PLAN 74743I) OF LOT 3 DISTRICT LOT 11598 KOOTENAY PARCEL A (REFERENCE PLAN 74743I) OF LOT 3 DISTRICT LOT 11598 KOOTENAY DISTRICT PLAN 1635 EXCEPT PLAN 7873 DISTRICT PLAN 1635 EXCEPT PLAN 7873', N'0163', N'0018', N'NO', N'MODIFIED-ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:17:24.000' AS DateTime), 563, 104, 0xBD0B000001040500000080C0CAC1A2433A41C0946588F2652141E1A59B84C5433A415096218E0666214170C5FE12CC433A4138C4B1EEFA652141C0C117E6B7433A41F85A423ECD65214180C0CAC1A2433A41C0946588F265214101000000020000000001000000FFFFFFFF0000000003, CAST(1440500 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1440724, N'{C6B7283D-B953-4CF8-B327-9C8CB4E2B1B5}', N'015427463', 3, N'NO_PLAN', NULL, N'15427463', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'1', N'10543', N'', N'PARCEL 1 (REFERENCE PLAN 115351I) DISTRICT LOT 10543 KOOTENAY DISTRICT', N'0163', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-01-09T12:27:36.000' AS DateTime), 4027, 294, 0xBD0B000001040F00000087855A935FA93941405C8F82432F254130FF21BD61A93941E88E53F43F2F25418E7EFBBA6FA9394140A5BDC15C2E25417A711BAD5EA9394178B515BB782E2541831D38C757A939419831772D842E2541EDEBC0F950A93941403EE8D98F2E2541944AEA444AA939410092CBBF9B2E2541FDD478A943A93941885149DDA72E2541624BC8273DA9394100B37B32B42E2541E3361AC036A93941507FD9BDC02E25414EFC187330A93941E0482E7FCD2E254130772D412AA9394168A1D674DA2E2541206C789A24A93941305227A0E62E2541FE088ABF29A93941907EFBBAEE2E254187855A935FA93941405C8F82432F254101000000020000000001000000FFFFFFFF0000000003, CAST(1440724 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1441282, N'{520DCFA6-EE2E-4E8F-B684-843D79F01209}', N'013132342', 3, N'NO_PLAN', 4634630, N'13132342', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'2298', N'', N'', N'DISTRICT LOT 2298 KAMLOOPS DIVISION YALE DISTRICT', N'0163', N'0006', N'NO', N'TANTALIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:23:07.000' AS DateTime), 3851, 250, 0xBD0B0000010406000000366744E907963641305EBA49B43E244146B6F39D3496364108D9CE37743E2441E37A14EE0B963641C8490C42023E24412A871639DF95364148E17A54423E244146378941F6953641C84F8DD7823E2441366744E907963641305EBA49B43E244101000000020000000001000000FFFFFFFF0000000003, CAST(1441282 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1442545, N'{3F3515FE-5A68-4726-81D7-179443BBC115}', N'006049770', 1316, N'VIP4760', NULL, N'6049770', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Parcel A', N'REM Lot 91', NULL, N'THE SOUTH 12 CHAINS OF PARCEL A OF DISTRICT LOT 91, NEWCASTLE DISTRICT, PLAN , 4760, AS SHOWN ON PLAN 338-R EXCEPT PLAN VIP56863 AND VIP60921', N'0163', N'0021', NULL, N'ICIS CADASTRE', 10, N'LSA', N'UNKNOWN', N'1', N'33034', CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2020-06-26T17:05:00.000' AS DateTime), 33033, 1149, 0xBD0B000001040B000000F1B0508B33FB3041905CFE4362491D41826ABC5437FB3041F00434913F481D41F39E3C8C66FA3041805F764F31481D418E3A016D65FA30411042CFE6E5481D41F1B0508B33FB3041905CFE4362491D411271ACEB62FA3041D074029A784A1D41549621AE5EFA3041B0CBEE49F34B1D411F4A7BC32AFB304170423EE8034C1D416CA3015C2FFB3041A02E6E23A34A1D41F3A7C66B63FA30411074B515284A1D411271ACEB62FA3041D074029A784A1D41020000000200000000020500000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1442545 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1442860, N'{97771078-0E61-42DB-AA2C-8DA525270F4B}', N'010556613', 3, N'NO_PLAN', NULL, N'10556613', NULL, N'11783.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'802', N'5', N'', N'DISTRICT LOT 802 RANGE 5 COAST DISTRICT EXCEPT PLANS 1158 AND PRP13977', N'0163', N'0001', N'NO', N'ICF', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:25:55.000' AS DateTime), 608295, 5526, 0xBD0B000001046F000000044D84CD60AC2E4108DBF97EF1AA2F4127D26F1F5EA92E41684F1E96EDAA2F4143A4DFBE5BA92E41488716D9C6AC2F41B203E78C5BA92E4178423EA8EDAC2F415FDC460356A92E4178D0B3193BB12F41096A4D3350AD2E41D8EEC94340B12F411E7C61F2E4AD2E41F0043491B7B02F416A810405C2AE2E4180D93D79DCAF2F419FD6342FBCAE2E41C0B584FCDCAF2F41C239234A9AAE2E41D09C1165D9AF2F41F7B7AF4369AE2E4180613255D3AF2F414F27A0493DAE2E41988EE472D1AF2F41336EA34117AE2E41704F1ED6D3AF2F41DB0B9369D7AD2E419087851AD1AF2F41FBBB0552BAAD2E41885986B8C6AF2F419C2A18D596AD2E412085EB11B7AF2F4161F5B91A78AD2E4178029A48ABAF2F41A6E848EE79AD2E41C009682280AF2F41722BF65777AD2E41C082510966AF2F41CE54C12872AD2E41F0770B6447AF2F412641F16378AD2E41981C5AA418AF2F4190FD65777BAD2E41B83C9B95FDAE2F41BCFEB2BB7DAD2E41A075711BC8AE2F4176F90F2978AD2E4190438BECA1AE2F410EAC1C1A69AD2E4190A7570A7CAE2F41713D0AD74DAD2E419899995945AE2F41B337F8422AAD2E41E022DBF9F9AD2F412DA2B4371AAD2E415096210EC4AD2F41BD42AD2912AD2E4140378901ADAD2F41D6E53FA411AD2E41F0CCCC8C84AD2F41992A18D515AD2E4120FBCBAE53AD2F41102428BE26AD2E41C08C28AD16AD2F41BEE3141D35AD2E4130F6979DDBAC2F4150E3A51B3CAD2E41F0DBD7C1BBAC2F41729A779C3CAD2E41603D0AD7AFAC2F41B4EA737527AD2E41182653858EAC2F41951F636EFDAC2E41D0D32BE56AAC2F418F6E12C3D9AC2E4150423E2838AC2F414F5BB1FFCFAC2E414041F1A310AC2F411BF46CD6CBAC2E4170EA0474E9AB2F418CB0E1A9C1AC2E41F01FD2EFCDAB2F416129CB90BEAC2E41C0A8A48EC5AB2F4143CF6695B3AC2E4160A1D6F4ABAB2F418B218E35A5AC2E41D8B20C718AAB2F416619E2D896AC2E41A84E40D365AB2F414A5BB17F8AAC2E41C0073D1B4AAB2F41509D80A67BAC2E4108FBCB2E2DAB2F41B603E74C6BAC2E4108DE024906AB2F41044D84CD60AC2E4108DBF97EF1AA2F41B3847CD0A2AF2E41B0B437B8F5AA2F41C03099EA8DAC2E41086C09B9F1AA2F41023411B68FAC2E419014AE47F5AA2F4187B74002A0AC2E41385F070E1CAB2F4194B0E1A9AEAC2E41E0065F9838AB2F41B1E1E9D5BBAC2E41C0559F2B56AB2F4124287E4CCAAC2E41A003E70C7BAB2F416D2497FFD9AC2E41B0E53FA49FAB2F4182F2B0D0E3AC2E4190DD9387B6AB2F412EC4B1EEE7AC2E4110B150ABC1AB2F41908EE432F3AC2E41E02E6E23E0AB2F413E3EE899F7AC2E41301AC09B09AC2F41F1E461E1FEAC2E41E8285C0F27AC2F410BB5A6391BAD2E41B04082624FAC2F41C4DA8AFD45AD2E41D80968A273AC2F41E1B5843C65AD2E41288716D9A4AC2F41F2B9DA0A64AD2E41D06D3400C1AC2F4175D712325CAD2E41586EA3C1E4AC2F41CF4D62904DAD2E4148E5D0E220AD2F412E11367C3DAD2E41C0D32BE55AAD2F41B18251C939AD2E41C04A590686AD2F418AA0F8313AAD2E41682D21DFA5AD2F41EFD24D6240AD2E4108AAF192B7AD2F417F832FCC4FAD2E418809F960EBAD2F41A03C2CD471AD2E414880B78033AE2F41F6B7AFC38DAD2E4120CE19916BAE2F41807AA52C9FAD2E41801A2F5D97AE2F4154EC2FFBA5AD2E41E8B7AF03C6AE2F41B6C8767EA3AD2E41E0FE21BD00AF2F41CCB35935A0AD2E413808AC9C1DAF2F41BCEC9EBC9AAD2E41707AA5AC46AF2F41EDE461219FAD2E41C09C11A560AF2F4193658823A2AD2E418891EDFC7EAF2F41A6559F6BA1AD2E4158FC18F38FAF2F4125287E0CA6AD2E41204772B991AF2F41DCBE0E1CC9AD2E41A07BF230A1AF2F4196416025DFAD2E41E0839E0DA9AF2F41BFF528DC16AE2E41D044D870ABAF2F4165D3BCE33CAE2E41104D840DA9AF2F412573D7926CAE2E4140992A18ABAF2F4126E258D79EAE2E4180847C50B1AF2F419F5E298BBCAE2E4190B35975B4AF2F41C50E9CB3E8AE2E41D0051294B0AF2F416F787A25E9AE2E41207C61B2B5AF2F415F07CE999DAF2E41B03E57DB02AF2F4154C8077DA2AF2E418082E28736AB2F417A7AA5ACA2AF2E41B076BE9F11AB2F41B3847CD0A2AF2E41B0B437B8F5AA2F41BEF5289C9CAF2E41607FD9FDC7AF2F418BDB68409DAF2E41D04750BC48AF2F41B5BFEC1E98AD2E41A01B7CA140B12F41509D80266BAE2E4148FC18B341B12F41A7F831A678AE2E4158DC460331B12F41A72A1895B6AE2E41F031E66EE4B02F41B37BF23096AF2E4190438BECCFAF2F41BEF5289C9CAF2E41607FD9FDC7AF2F4107780B249BAF2E41387DAE76ECB02F41EED24D6293AF2E4108BBB80DF6B02F4176B5157B62AF2E41E838458732B12F41B7B6623F55AF2E4180AEB6E242B12F414EEA04B49AAF2E4150DA1B3C43B12F4107780B249BAF2E41387DAE76ECB02F4104000000020000000002310000000261000000026900000005000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003000000000300000003, CAST(1442860 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1442943, N'{582B93EF-5118-4301-B406-A7807B8266BF}', N'007722192', 246698, N'PRP1076', 35721191, N'7722192', NULL, N'03512.900', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 35', N'Block 2', N'', N'LOT 35 BLOCK 2 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 290, 91, 0xBD0B00000104050000008E1F63AE972D2C41302AA9F31CA1304113F241CFD42D2C41C845B6B333A13041FF3A70CEDD2D2C41F0A067932DA13041E46800AFA02D2C41ECA067D316A130418E1F63AE972D2C41302AA9F31CA1304101000000020000000001000000FFFFFFFF0000000003, CAST(1442943 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1443581, N'{8187D619-EE13-426D-B5A7-1F1153EB5AFF}', N'000017558', 645957, N'VIP1279', NULL, N'17558', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 14', N'Block 3', N'', N'LOT 14, BLOCK 3, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:55.000' AS DateTime), 383, 96, 0xBD0B000001040D000000E81DA768879D3041F0353CBD8DBA1C4199559FEB869D3041907BF2B08DBA1C41945374E4869D3041E0C3B1AE8DBA1C41C910C77A7A9D304190F4DB578CBA1C41BE0E9C737A9D3041A0CFD5568CBA1C419F67B34A619D3041A0E3149D89BA1C418838D605619D3041B015FBCBB1BA1C41664DF32E7C9D3041307F6ABCB4BA1C41063411367C9D30417036ABBEB4BA1C41D2F75323879D304160FAEDEBB5BA1C41A8CFD556879D3041B099991998BA1C4119D9CE57879D304180B96B8997BA1C41E81DA768879D3041F0353CBD8DBA1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1443581 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1444974, N'{FBC43C00-B8D4-4313-8FC6-46EE510CFFA5}', N'003325261', 646333, N'VIP22184', NULL, N'3325261', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1, SECTION 1, HORNBY ISLAND, NANAIMO DISTRICT, PLAN 22184', N'0163', N'0017', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-12-17T18:23:00.000' AS DateTime), 2051, 190, 0xBD0B0000010406000000DFA59B4454C430414007CE99AB871E41029A08DB57C4304130C0CA21C1871E41B09DEF4765C4304110C6DCB511881E41B4490CA29CC4304100A089B010881E41DFC7985B7CC43041E0361A404F871E41DFA59B4454C430414007CE99AB871E4101000000020000000001000000FFFFFFFF0000000003, CAST(1444974 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1445441, N'{8F157D7B-FE81-4385-A647-241F5C4DA013}', N'013977610', 295389, N'PRP968', 29843971, N'13977610', NULL, N'01251.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 16', N'Block 106', N'Section 2', N'LOT 16 BLOCK 106 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:38.000' AS DateTime), 260, 72, 0xBD0B0000010405000000D00968A2727A2B4168A835ADBC643141FF2A87965E7A2B413CB4C8D6BC64314143355E7A5F7A2B41604BC8C7D6643141BEB88D86737A2B417C3F359ED6643141D00968A2727A2B4168A835ADBC64314101000000020000000001000000FFFFFFFF0000000003, CAST(1445441 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1449930, N'{5DD23890-54BC-42E9-8F4C-ADEAC5A7876E}', N'017838665', 1497100, N'LMP4848', NULL, N'17838665', NULL, NULL, N'ACTIVE', N'AIR SPACE', N'CROWN AGENCY', CAST(N'2000-03-24T00:00:00.000' AS DateTime), N'Parcel B', N'', N'', N'AIRSPACE PARCEL B DISTRICT LOT 53 GROUP 1 NEW WESTMINSTER DISTRICT AIRSPACE PLAN LMP4848', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:38:50.000' AS DateTime), 2138, 216, 0xBD0B0000010406000000A0D6344FE8A43241F01873D78BBB1C41D48173C6D6A43241E012F2C1D9BB1C4117C05B8013A53241A07AA5ACB3BC1C4168DE710A25A53241D0EC9EBC65BC1C41CB8F31F7E8A43241F0C48F318EBB1C41A0D6344FE8A43241F01873D78BBB1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1449930 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1450905, N'{C7B17803-F2ED-4EE8-928B-92F6E81DB6ED}', N'008867917', 871482, N'KAP15318', 35432941, N'8867917', NULL, N'P32234', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot B', N'', N'', N'LOT B SECTION 34 TOWNSHIP 21 RANGE 17 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 15318 EXCEPT PLAN 41900', N'0055', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:05.000' AS DateTime), 4032, 285, 0xBD0B00000104050000005027A0497F643541C02FBBE75C3724416D5F07CE5A643541B8B437F8FB3624412DBB27AF13643541D0073D5BF036244153E3A51B5C643541A80C712C933724415027A0497F643541C02FBBE75C37244101000000020000000001000000FFFFFFFF0000000003, CAST(1450905 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1452255, N'{8D66D011-D89E-4BFE-956D-41B84D11E782}', N'005797322', 4288, N'VIP7008', NULL, N'5797322', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 1', N'', N'', N'LOT 1, SECTION 17, RANGE 7, CRANBERRY DISTRICT, PLAN 7008, EXCEPT PART IN PLAN 2735 RW', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2019-04-04T15:44:25.000' AS DateTime), 4972, 279, 0xBD0B0000010415000000EF9E3C6CB59F314180FA5C6DF6F01B41590E2DF2B29F31414023DB79E5F11B41A0C0A3F7B29F31410017D469E9F11B417EDFB011B39F3141A064A354EDF11B41CEBF2740B39F314100969133F1F11B4117B6B882B39F31413095FBFFF4F11B41369FF1D8B39F314160095EB3F8F11B411AA43E42B49F314180866047FCF11B411237EBBDB49F3141106CE0B5FFF11B41A949234BB59F3141F069FBF802F21B41FEB7F4E8B59F31414098190B06F21B4125E85096B69F3141F00DF7E608F21B41009A0E52B79F314180E8AC870BF21B4108E5EB1AB89F3141D0B2B9E80DF21B41216090EFB89F3141B01F090610F21B4149708FCEB99F31413007FBDB11F21B41B1B96AB6BA9F314120A1696713F21B414CAF94A5BB9F314190E6AEA514F21B41C9A14576F69F31419033A2B432F21B41790B2468F89F31414042CF66FDF01B41EF9E3C6CB59F314180FA5C6DF6F01B4101000000020000000001000000FFFFFFFF0000000003, CAST(1452255 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1452454, N'{060BBDDD-B144-4536-A0D8-3D8F684662B3}', N'005070562', 8501, N'VIP10781', NULL, N'5070562', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1, SECTION 3, RANGE 7, CRANBERRY DISTRICT, PLAN 10781, EXCEPT PART IN, PLAN VIP82638', N'0163', N'0021', NULL, N'ICIS CADASTRE', 5, N'LSA', N'UNKNOWN', N'1', N'140588', CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2020-08-25T16:02:23.000' AS DateTime), 140555, 2306, 0xBD0B000001044A00000046B6F33D939F314110174850369D1B41036F8124BB9F3141608D976EBD981B41B359F5F9899F31417027A009BA981B41AAA44EA0109F31413061C3D3B0981B4195DD9387FB9E3141600AD7A3AF981B4185F4DBD7D19E314160E5D0A2AD981B41FE697C8CD19E3141C03C649EB5981B4198F57973D19E314190DDA9ADBD981B410811128DD19E31412021D2BCC5981B41BED205D9D19E314100A90DB8CD981B41D2889A56D29E31412011BE8BD5981B41B2839B04D39E31416027A624DD981B41080D5DE1D39E314170381970E4981B411383C0EAD49E3141F0F5285CEB981B41601058D9F79E3141A0FF907EBE991B41E36BF73CFD9E3141B0738E00E3991B414C8AE9C0019F3141B078055C099A1B417161205B059F3141803E8C3B319A1B414E5F9603089F3141D0D458465A9A1B41DE4660B4099F3141C0E00621849A1B41355EBA690A9F3141801F636EAE9A1B4109AC1CBA0B9F3141208E75F1ED9B1B413A8DDBF50B9F3141F037423CFB9B1B41D8160E810C9F3141F02CB161089C1B41D5B37A5A0D9F3141C0D12444159C1B41AD9437800E9F3141007196C6219C1B41C1FEAEEF0F9F3141309CD7CC2D9C1B41371FA5A5119F314140AED13B399C1B41C2533F9E139F314160CAC2F9439C1B4152D90CD5159F314190E877EE4D9C1B41FECC1045189F314100578303579C1B41A968CDE81A9F3141303F6F245F9C1B41B76150BA1D9F3141E0C2EB3E669C1B41A64E40B3209F3141A037F8426C9C1B4146B6F33D939F314110174850369D1B41DA78E966419E31413094F606E69E1B419ED6342F489E31416060E550FA9E1B418FA98211829F314160D71272239F1B41FE6E8104909F3141F0FBA971929D1B4199FF909E189F3141E0686FF0BF9C1B41B34FBEF3139F3141108C3F8BB69C1B41EE4ABB860F9F3141D0F6766FAB9C1B41EB6E90610B9F3141406744B69E9C1B41095BA38D079F314120CC7F7C909C1B41EE82A113049F314130E168E2809C1B419A826CFB009F314160165E0B709C1B41A240084CFE9E314140608C1D5E9C1B41CB068B0BFC9E3141D0AC98414B9C1B4195B50F3FFA9E314170BF43A2379C1B41A331AAEAF89E31417048096C239C1B4124255E11F89E3141600ABBCC0E9C1B41952A18B5F79E314160FC18F3F99B1B412F55306AF69E3141B0F1D24DBA9A1B41BEB02F16F69E3141A0800FBD959A1B41473F86D9F49E3141E06B4E7C719A1B41FD255AB7F29E31412046DAE74D9A1B4148D119B5EF9E31411000475A2B9A1B4136216EDAEB9E314150508B2B0A9A1B417CE92631E79E314190C420B0EA991B41B7AF0347C49E3141009BE69D17991B412842188CC29E3141307A236E0B991B41570EFF0DC19E314160C040C0FE981B4119C0F2CEBF9E3141B0372EA7F1981B4193D8CFD0BE9E3141C0C07B36E4981B416DE61115BE9E3141201B3C82D6981B411A4FD19CBD9E314100E8E69EC8981B41F0ABC168BD9E3141E01D3AA1BA981B4111BE3079BD9E3141A0081B9EAC981B412263EE7A369E3141F0497B83A3981B41E29387852F9E314190F5B95AAB9C1B4133C4B12E2F9E3141800B9329E89C1B417414AE672B9E314100591737CC9E1B41D288D21E2F9E31411061C353CE9E1B41DA78E966419E31413094F606E69E1B41020000000200000000022300000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1452454 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1453994, N'{A9DF1DD0-B7F3-4B40-B097-717073565EAB}', N'010497986', 3, N'NO_PLAN', NULL, N'10497986', NULL, N'759-040650.100', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 509', N'', N'', N'THAT PART OF DISTRICT LOT 509 PEACE RIVER DISTRICT LYING NORTH AND EAST OF PLAN H308', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2020-10-19T15:22:35.000' AS DateTime), 124723, 1983, 0xBD0B0000010433000000C6DCB58406DA3341545DDCE6205932416891EDDC96DB334168B3EAD33B593241C532C4F1ADDB33411044FAADE45732416F3D0A77B6DB3341D447E1DA65573241A289B0C1C3DB3341C44B3709A0563241E4361AA0C5DB33417CFD6537845632417D3F35DE7BDB3341101748D044573241E93FA41F7ADB3341DC53E3054A57324198559F4B78DB3341B057CA324F573241DC12F26176DB3341E485C95454573241A89BC46074DB3341B87BF270595732414E1E164A72DB3341BC25E4835E5732419F23B91C70DB334138F1638C63573241277502DA6DDB33416C832F8C68573241472EFF816BDB33413892CB7F6D573241F28E531469DB334158B1BF6C72573241C317269366DB3341E0D478497757324173C729FA63DB3341C0ADD81F7C5732415AB1BF4C61DB334104F016E88057324176711B8D5EDB334158A60AA6855732419206F0B65BDB334198BDC1578A573241AFFA5CCD58DB3341E83FA4FF8E57324194C420D055DB3341340681959357324158643BBF52DB33412492CB1F985732417ED93D994FDB3341245A649B9C5732411DC9E55F4CDB334178CC5D0BA1573241DBC56D1449DB3341904C156CA557324142BD52B645DB3341589A77BCA957324138F8C24442DB3341E43FA4FFAD573241336EA3C13EDB3341F885C934B2573241BA1E852B3BDB334180E2C758B65732413CEF388537DB3341E48C286DBA5732415ECC5DCB33DB3341F4FBA971BE5732414D40130130DB3341D00A4665C257324130D49A262CDB33414827A049C6573241009A083B28DB3341C4EC9E1CCA5732413FAD693E24DB3341903F35DECD573241FBBB053220DB334180B1BF8CD15732410D3411161CDB3341B402092AD557324132431CEB17DB33411CF46CB6D8573241F4E5898216DB334134CC15DFD957324177DEC51815DB3341E0974906DB573241ACAED1AD13DB3341F01B072CDC573241CFD9AE4112DB3341481F4D50DD57324153E45ED410DB3341FC691A73DE573241F653E3650FDB3341D0C56D94DF573241B6F3FD5494DA3341A09CA263695832416D12838071DA3341A4438B8C80583241F13845E73CDA3341DCF75383A35832414CC807FDDCD93341C4CEF7131E593241C6DCB58406DA3341545DDCE62059324101000000020000000001000000FFFFFFFF0000000003, CAST(1453994 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1455568, N'{45DCCD51-AC81-4FA1-BE05-45A51A15ED55}', N'016861825', 489011, N'NEP66X', NULL, N'16861825', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 39', NULL, NULL, N'THAT PART OF SUBLOT 39 TOWNSHIP 7A KOOTENAY DISTRICT PLAN X66 SHOWN OUTLINED IN RED ON REFERENCE PLAN DF 17059', N'0163', N'0019', N'NO', N'ICF', 5, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-02-11T15:36:41.000' AS DateTime), 21987, 748, 0xBD0B000001040500000054F38E93FAA03841B00968A215D81D41CC4D62B009A1384160F54AD996D51D4160CC5D0BA6A03841D060545244D61D419C438B8CEA9F384190DFBE0E8BD71D4154F38E93FAA03841B00968A215D81D4101000000020000000001000000FFFFFFFF0000000003, CAST(1455568 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1455969, N'{A012AD9B-8BC5-4E9A-B1BD-33A714DC9022}', N'013862782', 1315101, N'NWP7303', NULL, N'13862782', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2006-09-15T00:00:00.000' AS DateTime), N'REM Parcel ONE', N'REM Lot B', N'', N'PARCEL "ONE" (EXPLANATORY PLAN 13106) OF LOT "B, EXCEPT PART DEDICATED ROAD ON PLAN BCP25840, SECTION 36 TOWNSHIP 11 NEW WESTMINSTER DISTRICT PLAN 7303', N'0075', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2021-04-16T10:34:34.000' AS DateTime), 3322, 228, 0xBD0B000001040B0000009C2A1835F527334130C9E53F90901C4179C7299A14283341E0BFEC1EA5901C4123B0720818283341F096908F998F1C41466E078B0E283341502FAA869A8F1C414B17B40E052833418059D2049C8F1C41FACAF093FB273341B02EF6099E8F1C415395351BF22733419019FC95A08F1C419568FAA4E827334170D8C3A8A38F1C415617B731DF273341A0802642A78F1C417F613215DD27334120FE43FA57901C419C2A1835F527334130C9E53F90901C4101000000020000000001000000FFFFFFFF0000000003, CAST(1455969 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1456395, N'{49E96F6C-FE4C-4077-8050-F957629B1180}', N'011354194', 854443, N'KAP1835', NULL, N'11354194', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1949-02-24T00:00:00.000' AS DateTime), N'Lot 7', N'', N'', N'THE WESTERLY 10 FEET OF LOT 7 DISTRICT LOT 41 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 1835', N'0096', N'0022', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'269.8', CAST(N'2020-10-27T13:40:15.000' AS DateTime), CAST(N'2021-05-30T19:49:31.000' AS DateTime), 270, 186, 0xBD0B0000010405000000A6DFBE8E7D933641C037F8C265931C41562041917A93364110E4839E64931C418FA0F811729336414060E550CA941C41D75F760F75933641C0B35975CB941C41A6DFBE8E7D933641C037F8C265931C4101000000020000000001000000FFFFFFFF0000000003, CAST(1456395 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1457094, N'{C626DFB6-AAEC-4CC5-82FB-567B8776A012}', N'013138804', 3, N'NO_PLAN', NULL, N'13138804', NULL, N'05030.290', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'A', N'4138', N'', N'PARCEL A (SEE 27684I) DISTRICT LOT 4138 KOOTENAY DISTRICT EXCEPT (1) PARCEL 1 (REFERENCE PLAN 96482I) (2) PLANS 13159, 8271, NEP60610, NEP62470, NEP64954, NEP64978, NEP68557, NEP75841, NEP76748, NEP78504 AND NEP81794', N'0036', N'0018', N'NO', N'ICF', 4, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-06-16T07:59:30.000' AS DateTime), 337815, 5444, 0xBD0B000001048A00000026F6979D0C4D3B4190DD93C7962321417E2497DFFA4C3B413850FC189123214110D956BAFB4C3B41880547AC962321417CCFDF8DFC4C3B411082E9439C2321417F832C5AFD4C3B419870BEDFA123214132A1371FFE4C3B41605FA07FA72321411D05FCDCFE4C3B41B8C16923AD23214167BC7493FF4C3B41E0F0F4CAB22321414487008A004D3B41181DA2E8BA232141EA40A271014D3B41C0D9290DC3232141F4BA4D4A024D3B4158871E38CB2321416090F713034D3B41202F1269D32321412E2695CE034D3B41C08A969FDB23214102AC1C7A044D3B41F0073DDBE32321417BE28B14054D3B41D04C0C1CEC2321414635CA9F054D3B41A8971361F42321414849D01B064D3B41F011E3A9FC23214138919788064D3B4118B20AF604242141F84D1AE6064D3B4178411A450D242141F68E5334074D3B419861A1961524214118C70875074D3B41A0F38A871E242141BA491AA4074D3B41D8642D7A272421419E3A85C1074D3B411884FD6D3024214118D047CD074D3B41900D7062392421414C5361C7074D3B41B0B3F95642242141F41FD2AF074D3B41C8270F4B4B2421418E086E9A074D3B41F0F8F6E14F242141CAB2AA80074D3B4178EF847854242141227C8862074D3B41E862A80E5924214116D20740074D3B4158AB50A45D242141DC312919074D3B41C8236D39622421418E28EDED064D3B419828EDCD66242141ACBFEC9E094D3B4150C1A8245F24214182F4DB57274D3B41B82A1855FF23214126F6979D0C4D3B4190DD93C79623214188FD65F7064D3B41C8DEE0CB94242141EAFBA9510C4D3B412890A0B88824214172B5151B7A4D3B4178F085C93F252141E83FA4DF854D3B415817B79191252141DCA370FD7A4D3B4130EA04343726214190559FEB544D3B41A81283C06C262141D2DEE08B394D3B4180006F4193262141CCAACFF5204D3B41300F0BF5B6262141789318440A4D3B41789ECDEA4927214192537464084D3B4138BB270F562721414AD8F074F04C3B4120431CEB64272141E8D9ACFAD94C3B41B82D90E0722721417A711B2DD64C3B412895D48977272141EBD9ACDABF4C3B41005530EA922721418EED7C1FAB4C3B4160863856AC2721418928ED4DA94C3B41D80C712CB12721410EB5A6F9984C3B4180ABAD98DC2721418B8EE4728A4C3B419872685103282141B259F5F9844C3B4108E9B7EF5F28214150158CEA6E4C3B41887CD0B373282141D02B65F9594C3B4170C64B7786282141260F0BB5474C3B41300681D5962821416A88639D334C3B4140CF66D5A8282141C0D32B851F4C3B41488638D6BA282141A44E4053094C3B4118C7BAB8CE28214130D49A06F74B3B41A8D1001EDF282141D588D29EF34B3B41D88E5334E12821410AE9B70FDE4B3B4120560E6DEE282141A88251C9CB4B3B41A889B0A1F928214182D0B319CA4B3B41D809686204292141E4E99552C34B3B41E8ACFA9C2F292141799CA243BF4B3B41902BF6973029214176A52CE3974B3B41D81DA7289C282141E651B8FE8D4B3B41C8B7408277282141D6E76A0B654B3B4130A7E808DD272141E6BE0EDC5D4B3B4140CC5D0BC22721414E6210D8484C3B41F09908DB82262141625DDC861C4C3B41F8F6756036262141A4ADD85F0D4C3B41C059F5795326214132B29D4FFE4B3B41E86E818470262141A15E29CBF34B3B4180C0CAA17A26214164DC46E3E84B3B41101B9E1E8526214128651942D54B3B41E07F48FF9726214130BB278FAE4B3B4128211FB4B12621413492CB1F8C4B3B41000EBEB0B82621411E1FF4AC6C4B3B41D868006FBA262141C6B12E6E4E4B3B4100098A5FCF262141C40E9C532B4B3B4190A982910327214158863876214B3B417804C54FDE2621411A7C61121C4B3B414092CBFFC9262141265305C3124B3B418009F9E0A6262141B68D0630064B3B41A0A0F87177262141AFE1E975F94A3B414844696F47262141DD78E966F14A3B41D05D4B0829262141263108ECE34A3B41F0550E2DF6252141BBDA8A5DD24A3B41C8B12EEEB3252141F97E6A9CCF4A3B41A0703D8AA9252141F63A70CEC04A3B4120D7A3B0712521411CC9E53FAF4A3B41582041712F25214194B20CB19D4A3B41186A4D33ED2421417958A8158A4A3B41C8A67947A32421416A09F9006F4A3B41E07A142E3D242141C042ADE95A4A3B41C0B12E6EF1232141D2BCE3D4454A3B41C032C4F1A12321414E6210F8324A3B4188984CD55A232141ECB7AF23044A3B4110143F46AA2221414EE3A51BC2493B41C8293AD2952221412D2AA9B39E493B41888785DA8A222141FA0FE997B5493B4138795868E12221411495D469684A3B41E0141D89852521415B39B4888B4A3B4160AA60540A2621416609F980AB4A3B4150C6DC35832621417D9318E4F04A3B41F0BB059289272141226C785A1E4B3B41B0B437783528214174B5157B334B3B4148F5B95A85282141A323B9DC464B3B41782E6EA3CE282141160DE08D774B3B41702497BF86292141161DC945DD4B3B41F053E3E5A5292141B89690EFE54D3B41C015FB4B462A2141C09F1A4F3B4E3B4180D3BC6301262141C43923AA134E3B41F0BB051296252141723D0A370F4E3B4168E5D0A28F252141CA3977760D4E3B41C83950198D252141E39222B90B4E3B414069F1868A252141C08017FF094E3B41500AC5EB8725214156266148084E3B4138EBDB4785252141F3900A95064E3B416013479B8225214151B81EE5044E3B41C8C117E67F252141FC6E8104014E3B41C0CAA1857925214132EA0608F04D3B4140934E695A252141C378DD75E04D3B41D071AE77382521417A52266CD24D3B4138D06FF213252141124D0B06C64D3B4108753D20ED242141564C8A5BBB4D3B4180C6354CC4242141C6D54681B24D3B41406E59C599242141F5206288AB4D3B41087CF2DD6D2421410BF2597EA64D3B41482AF5EA40242141D67EEE6CA34D3B41A07B5B431324214196900F5AA24D3B41A0ED7C3FE52321417E16D9CE884D3B41F82E6E63DD2321412AF6971D844D3B418879C729192421415FA1D6D4384D3B41C04B37C90024214188FD65F7064D3B41C8DEE0CB94242141020000000200000000022300000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1457094 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1457225, N'{DC45C5D3-8AA2-4A96-856F-4D24D358CCD5}', N'012759805', 868179, N'KAP55', NULL, N'12759805', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot B', N'Block 19', NULL, N'PARCEL B (DD 129907F AND PLAN B6144) OF LOT 17 BLOCK 19 DISTRICT LOT 706 YALE(FORMERLY OSOYOOS) DIVISION YALE DISTRICT PLAN 55 EXCEPT:(1) PART EAST OF PLAN H831(2) PLAN H831', N'0114', N'0022', N'NO', N'MODIFIED-ICIS', 5, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-06-22T14:19:55.000' AS DateTime), 18, 21, 0xBD0B0000010406000000E2B5845CD7553541A04F1E962F141F4198B20C71DB55354130D26FDF40141F41DFB5847CDB553541104013E131141F41243108CCDB5535414080B7C027141F4158F5B9BADB553541601895541E141F41E2B5845CD7553541A04F1E962F141F4101000000020000000001000000FFFFFFFF0000000003, CAST(1457225 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1457244, N'{70EA0358-92E8-4932-A886-603CBBE9D825}', N'001656431', 3, N'NO_PLAN', NULL, N'1656431', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 3', N'', N'', N'THAT PART OF SECTION 3, OTTER DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 14176I AND CONTAINING 2.86 ACRES MORE OR LESS', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:47:34.000' AS DateTime), CAST(N'2021-06-24T10:01:02.000' AS DateTime), 11584, 750, 0xBD0B00000104450000002E33333302DB31413010E9375C2E17419253740404DB314160863856312E1741408B6C0704DB3141309CA223312E174150D191BC06DB3141F0E2361A072E17411283C0CA06DB3141B0D5566C062E1741B2E1E9550ADB3141608C28EDDD2D1741B2B6621FEEDA31416052B81EAF2D1741BBE47A7FEADA314170090AB3D62D174173264898E7DA3141D00E3438FF2D17417E31A56DE5DA3141F06A6A78282E174166637202E4DA314130CFE83C522E1741CBEF9158E3DA3141204F3B4E7C2E17414260E570E3DA3141C0FC8774A62E1741A5ADD87FDEDA3141E0E68CA8A22E1741043F8114DEDA31415016E327A22E174180E89FA7DDDA3141000AE9BDA12E17412F538139DDDA31417061E96AA12E17416E0773CADCDA3141808B1E2FA12E17416936C35ADCDA3141B0A1B20AA12E17411283C0EADBDA31416048BFFDA02E1741978F42DAD8DA314180E53D25DB2E174114B71C42D6DA314180FC1FAA152F1741F893FF22D4DA3141F0FED57C502F17418A917B7DD2DA3141F0AABB8D8B2F174194C50052D1DA314120361CCDC62F174184D2DEA0D0DA3141207A362B02301741721B0D40D8DA3141D0DB680002301741EBB7AF23D8DA314100E78CA818301741D4D78113D8DA314100EBE2B62E3017411BB7D100D8DA3141702F4C268930174100000000D8DA3141A04DF30E8D3017418C06F036D8DA314180B74082D7301741BC15FB8BD8DA31413082E2C74A311741FCF67560CFDA3141A04AEA044B311741AC03E7CCCFDA3141F0764F9E3D321741E24603F8D8DA314150AE47613D3217419306F016D9DA3141B02D211F833217413F60E530D9DA3141D07493989E3217415F5DDC46F8DA3141A0A223B9D13217412FB5461BF8DA3141F0BED780C4321741CD710EF7F7DA314150422847B7321741064734DAF7DA314110D1560CAA3217410BC4B8C4F7DA31419016A5D09C32174179539CB6F7DA314120C254948F321741683BDFAFF7DA3141F086A75782321741BD5B20A1F6DA314100C898BB3B301741886302A3F6DA3141C070F2FF31301741301AEAA7F6DA314170F65C44283017411978D7AFF6DA3141905CE7881E3017411571CABAF6DA3141F0A6A0CD143017412DF4C2C8F6DA3141F0D897120B301741EFEBC0D9F6DA314150F4DB570130174198F6067FFEDA3141D07A142E01301741E93EFB2EFFDA314110DE2ABBCB2F17412A82DB4B00DB31415038A265962F174181AB5DD501DB3141C021593B612F17410A661BCB03DB314110EF224A2C2F17419E37922C06DB31418021C49FF72E17419FA223F908DB314150CCEE49C32E1741065F986C01DB3141605AD3BCBD2E17413E07B24F01DB3141809ABBC0B42E1741BBBEF23B01DB3141108A17C3AB2E174126CD5B3101DB314120557CC4A22E174132E2ED2F01DB3141F0357FC5992E17419415A93701DB3141106DB5C6902E174103E78C4801DB3141F038B4C8872E1741E38C282D02DB314150BADA0A5D2E1741FDBB053202DB3141A0F3FD545C2E17412E33333302DB31413010E9375C2E174101000000020000000001000000FFFFFFFF0000000003, CAST(1457244 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1457263, N'{513D0F30-4915-4DD5-B6C0-F6DF8FF56123}', N'001644645', 3, N'NO_PLAN', NULL, N'1644645', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, NULL, NULL, NULL, N'THAT PART OF SECTIONS 45 AND 46, SOOKE DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 30986I AND CONTAINING 6.47 ACRES MORE OR LESS', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 11, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:28:59.000' AS DateTime), CAST(N'2021-06-25T15:01:12.000' AS DateTime), 24194, 1802, 0xBD0B0000010462000000285C8FA264DE3141C0CFD556D1151741BDCAA1E570DE314180CE8852B7151741AA35CDFBDFDE314170976E92EC1417410D7A368B49DF3141209EEF2752141741211FF46C29DF31415031082C19141741AD8BDB2868DE3141D02E6E2359151741025C1CC264DE314180959BDE5F151741150D886361DE314150554DDA66151741F2186B0D5EDE3141F0EEE4156E151741863911C05ADE31411038BE9075151741B861C57B57DE3141806B2F4A7D15174117B7D14054DE314130378941851517412D33E0CE48DE3141402C1B6FA115174141EC6B023EDE3141D0AC616FC1151741B297D5EF33DE3141605BF905E5151741962C1FAA2ADE3141B0ECB9EF0B1617414A05C84222DE314130E434E335161741AADAABC91ADE3141002640916216174114D7E44C14DE3141E0578BA591161741CEF9B0D80EDE314160003FC7C2161741F4FC5A770ADE3141D029A499F516174176E9263107DE3141505AD3BC29171741CD5ECF2E06DE3141207AFF533517174177F6723705DE314190D91AFA40171741DA7E1F4B04DE3141B0067FAE4C171741D328E26903DE314120C3847058171741A986C79302DE3141800D843F64171741B38BDBC801DE3141402CD41A70171741E90B43C401DE3141303EAE627617174177CF41C501DE314140F4A1AA7C171741BCC9D7CB01DE3141C0AD5FF2821717413BA704D801DE314180CD973989171741A6CDC7E901DE314120BDFA7F8F171741BF5B200102DE314130EF38C5951717414FF38ED310DE3141C0ED7C3F6F191741BC490C8218DE3141C076BE9F641A17416CBC74B31CDE3141F096FF90EA1A1741C56D340031DE31410001DE82921D1741D812F20131DE3141205A64BB921D17416DCE881231DE3141E0A59B44951D1741A813D0C431DE314160F2B050B01D1741D19504A032DE31418017B417E41D1741BDA541AB32DE314130E39BFB171E1741B1F77BE631DE3141F08640C84B1E1741D252795230DE3141209791497F1E17415FCACFF02DDE3141E05DCA4BB21E1741B325E4C32ADE314180E3A59BE41E174155CA320447DE314140AF9465161F1741585BB13F49DE31419067B36AF71E17414F7424374BDE3141902F4C26D81E17415427A0E94CDE3141E09B33A2B81E1741FE2A87564EDE3141C0F8A0E7981E17410B24287E4FDE31413090A0F8781E17418DED7C5F50DE31412066F7E4581E1741C810C7FA50DE3141A050FC98381E174106560E4D51DE3141D0A292BA181E1741A53C2C5451DE3141E0557DAE021E17416729855651DE3141A0CAE601FF1D1741A9EEDD5651DE3141B0834455FB1D1741BA8A365551DE3141E0EDA7A8F71D174179058F5151DE3141407722FCF31D17413A70E74B51DE3141408DC54FF01D1741CBE53F4451DE3141709CA2A3EC1D174120F46C1651DE314190F5B95AD61D17415CD0D70951DE31416076F4AED21D174147C43DFC50DE314110216903CF1D1741AEE09EED50DE3141B07C1C58CB1D17419337FBDD50DE3141900F13ADC71D174147DC52CD50DE3141F05F5102C41D17414EE3A5BB50DE3141B0F4DB57C01D174111A312A850DE314130932791BB1D174159B7809250DE3141B0B3FCCAB61D1741695CF07A50DE314150AA6805B21D1741FED3616150DE314100CA7840AD1D17417B65D54550DE314120643A7CA81D1741D45D4B2850DE314120C7BAB8A31D1741CC6F5F874FDE3141B0CAA1C58A1D1741CBA145764FDE314160581737881D1741633255704FDE314150871659871D17415A17B7113BDE3141E0E00B13DD1A17415C643B1F39DE314150D85FF69E1A174140575B5131DE314110265305A6191741CB6D344021DE314140DB6880A517174179BE9F7A20DE314110D34DE28C171741E9EDCC5220DE3141A0C028DA7C171741A298CB6320DE3141209F7CCF6C171741E56B8EAD20DE3141E0E0DCCE5C1717416994DB2F21DE3141C016D5E44C171741ABEB4CEA21DE3141301BDF1D3D1717411C4850DC22DE3141D04A59862D171741D0515E0E27DE3141A0F38A27F816174172B8F0882CDE314100DCBDADC4161741C0329D3E33DE314120B3FC969316174168EBF51E3BDE314110F6795B651617416FBBB11644DE3141F0A5696C3A161741F662DB0F4EDE31416014EC3213161741404D07F258DE3141907A0C0FF0151741285C8FA264DE3141C0CFD556D115174101000000020000000001000000FFFFFFFF0000000003, CAST(1457263 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1457336, N'{C4F144F3-D460-47B2-BD6F-08651BFAC90B}', N'008196630', 8838456, N'VIP3BL', NULL, N'8196630', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1987-08-25T00:00:00.000' AS DateTime), N'', N'', N'', N'THAT PART OF BATTLEFORD AVENUE, SECTION 24, VICTORIA DISTRICT, PLAN 877, CONTAINING 0.262 OF AN ACRE MORE OR LESS AS SHOWN AND OUTLINED IN RED ON PLAN 3 BL', N'0122', N'0005', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'1110', CAST(N'2021-06-29T17:31:45.000' AS DateTime), CAST(N'2021-06-29T17:32:31.000' AS DateTime), 1111, 181, 0xBD0B000001040B000000F8EDEBC01E393241D096900F918B17415C8638562D39324170A8354D7F8B174197B20CF13B39324140DD24866D8B17416B3480774439324130F31F52638B17411CAE476148393241E0E3149D368B1741C520B0324D3932415007CE19048B174182C0CA61273932412051DA1B328B1741AC79C78924393241B0999999358B174144575BB103393241304A7B03B28B1741E49C112510393241A0D0B3D9A28B1741F8EDEBC01E393241D096900F918B174101000000020000000001000000FFFFFFFF0000000003, CAST(1457336 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1457902, N'{F076F2C9-B97D-4D78-B8A9-A0869E40505E}', N'015894045', 490661, N'NEP1291', NULL, N'15894045', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, NULL, NULL, NULL, N'LOT 7 DISTRICT LOT 1073 KOOTENAY DISTRICT PLAN 1291', N'0146', N'0019', N'NO', N'PMBC-OPERATIONS', 4, N'LSA', N'UNKNOWN', N'0', N'636.5', CAST(N'2020-10-19T16:41:35.000' AS DateTime), CAST(N'2021-08-11T10:45:29.000' AS DateTime), 659, 177, 0xBD0B000001040A000000CFF75343A0773841E0148C4A3FDA1D415C4BC807A4773841F0C9C3C2ECD91D41D0B359B59A773841104547F2E5D91D413A4ED1F196773841F06DA38138DA1D41CFF75343A0773841E0148C4A3FDA1D41361AC03B9F773841301E166A51DA1D41DB12F2E195773841A02D219F4ADA1D41D668002F8D77384140BB278F0ADB1D416CD5E7AA96773841102FDDA40EDB1D41361AC03B9F773841301E166A51DA1D41020000000200000000020500000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1457902 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1458398, N'{EF8B48C7-78DB-4E37-BE97-8231B1B5C9FD}', N'014946823', 3, N'NO_PLAN', NULL, N'14946823', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2021-05-14T00:00:00.000' AS DateTime), N'PART 48', NULL, NULL, N'THAT PART OF DISTRICT LOT 48, COWICHAN LAKE DISTRICT SHOWN OUTLINED IN RED ON PLAN ATTACHED TO DD 13923F, EXCEPT PLAN EPP108662', N'0163', N'0007', N'YES', N'MODIFIED-ICIS', 21, N'PMBC-OPERATIONS', N'UNKNOWN', N'0', NULL, CAST(N'2021-05-28T10:10:22.000' AS DateTime), CAST(N'2021-09-16T09:47:52.000' AS DateTime), 25136, 1787, 0xBD0B00000104BE00000036D6C56D7B753141504469EF04EB1941BA8D061091753141C0BE9F9AEFEA194153840D6FA1753141206B2B76DFEA1941DBE76ACBA5753141200C9329DBEA194185B93B41A875314130C07EB4D8EA1941D6CB27B6AA753141B0854531D6EA1941B6092A2AAD753141C08CEC9FD3EA1941EC5F3D9DAF75314140267900D1EA194146BD5C0FB275314180BFF052CEEA194173128380B475314120E25897CBEA194176BCCADBB7753141D068F6BDC7EA1941D4F12335BB753141C07B04CAC3EA1941D18F818CBE753141609B92BBBFEA1941897BD6E1C175314170B1B092BBEA194110A21535C5753141000E6F4FB7EA1941A3F83186C8753141B069DEF1B2EA19413F405F59CB753141C00C3C23AFEA19411194EC2ACE75314140E08441ABEA1941E7E5D1FAD075314140FCC34CA7EA19414E2C07C9D375314180AF0445A3EA19419F628495D6753141607E522A9FEA19413B894160D97531419023B9FC9AEA19410876EAD1DD75314120681C2B94EA19413057E93EE2753141C0439E298DEA1941EFEE1DA7E6753141D0BF71F885EA19416022680AEB7531415041CB977EEA19418CFAA768EF753141F086E00777EA194113A5BDC1F375314140A7E8486FEA194169DF3958F7753141308604BB68EA1941210E03EBFA753141D0B0180D62EA19412452077AFE753141808E463F5BEA194144DF340502763141D026B05154EA194187FC798C05763141E01F78444DEA19417D04C50F09763141A0BDC11746EA1941A28785F40976314140254B3E44EA1941676102D90A763141A0ECCA6242EA19418A473BBD0B76314130B1418540EA1941BEEF2FA10C763141700BB0A53EEA1941D90FE0840D763141609916C43CEA1941D25D4B680E76314130F775E03AEA1941B33DEDB90F76314100B0E00D38EA1941AD75F50A117631411039D33635EA19416813635B12763141509B4F5B32EA1941EE2435AB13763141A0E5577B2FEA1941CAB86AFA147631419029EE962CEA194100DE024916763141F07A14AE29EA19416703D63818763141002B89F325EA1941B53685271A7631412031922F22EA1941C69A0D151C763141B02135621EEA194131546C011E763141709F778B1AEA194133899EEC1F763141505B5FAB16EA1941E661A1D621763141B012F2C112EA1941D4F74BC423763141E07FDF7E0DEA194121AC37B02576314190149F3108EA19412823619A2776314180153ADA02EA19414304C58229763141B0D7B978FDE91941EDF95F692B763141F0C2270DF8E91941C5B12E4E2D763141B04F8D97F2E9194155857DDA2F763141707A7007ECE919412620F76332763141A091DB65E5E91941FE0594EA34763141A026E2B2DEE9194122C34C6E37763141F0FC97EED7E9194166EC19EF39763141C00B1119D1E919411D1FF46C3C763141107C6132CAE9194106E61C793E763141C080BF73C4E91941B0893A8340763141D0BB87A9BEE919415EF1488B4276314140CEC5D3B8E919415E08449144763141C07085F2B2E9194132BE2795467631416072D205ADE919418C06F09648763141D0BAB80DA7E91941A8C64BF751763141B0ABAD5889E9194125F6979D58763141508FC27573E9194125A9131060763141E0FFFFFF59E9194115B7D18066763141909CA22343E919416107CE796F76314160423EE821E91941B6270FAB7576314190B515FB09E9194116AE47C17B763141C09BC4A0F1E819414D7424F77F76314110143F46E0E819417E6ABC1484763141D0AE25E4CEE8194106560EED87763141A0A52C43BEE81941497B83AF8B76314180E4F29FADE819417CAEB6C29A7631414025750266E8194103BC05D27476314160C4B1AE5FE81941FCC2644A727631413051DA1B6BE81941F8F45E2769763141F03D833492E81941076118B65F76314170CE1D1FB8E819419FCF00F9557631415034E1D1DCE81941D3999BF24B7631411018554300E9194137037FA541763141600D546A22E91941F18E53143776314160ED0D3E43E91941FD6BC656367631415065747645E91941907EE99835763141C02430AD47E919419B02BDDA34763141907940E249E919415734411C34763141A0B0A4154CE91941FB4F765D3376314100185C474EE91941CE915C9E32763141A0FD657750E91941FBCF72CF31763141807B0FD352E91941CB742D0031763141505FC12C55E91941EACC8C303076314120CA7A8457E919410A2591602F763141D0DE3ADA59E9194112CA3A902E76314150C0002E5CE9194103098ABF2D7631414092CB7F5EE91941C60F68472D763141E06273D45FE91941E35828CF2C7631410026732861E9194100F3CA562C76314140B1CA7B62E91941D7EC4FDE2B76314160DC79CE63E919411E55B7652B763141C07C802065E91941903A01ED2A7631412069DE7166E919411BCF94272576314190E4674376E91941ECC18B511F763141A07439B285E919412D9A4F6B19763141D00A3CBD94E91941F7034B751376314180A55F63A3E91941C4C8E96F0D76314100629BA3B1E91941E0C7985B077631414091ED7CBFE91941CEB461510576314140AB8404C4E91941248191450376314130768480C8E91941A84A2C380176314180EAE3F0CCE919414C323629FF753141B01A9A55D1E91941365CB318FD75314190309EAED5E919419FEFA706FB753141206CE7FBD9E9194150BAE8BBF3753141F090A0AFE8E9194174C6435FEC753141F0A3D3D1F6E9194149916EF1E47531410038246104EA1941DD3F2073DD7531419002445C11EA1941598D11E5D57531418002F3C11DEA194122B9FC47CE7531410097FF9029EA1941ECAE10D0CD753141F06697452AEA1941F3EB1658CD75314180299DF92AEA19414C7B0FE0CC75314170CC10AD2BEA19412668FA67CC753141E041F25F2CEA194198BDD7EFCB753141707741122DEA1941BD86A777CB753141805CFEC32DEA19410FA0F607C875314190CEE5C432EA1941D80E8695C475314120592FA737EA19419BDF6620C1753141A0D4C26A3CEA19412C2CAAA8BD753141C0B1880F41EA1941591B612EBA75314180F7699545EA194176E09CB1B6753141404850FC49EA19419B75BDAEB2753141E0A2C5E34EEA1941B964CAA8AE75314170633CA253EA194102DDDD9FAA753141E0A9953758EA19410C211294A6753141D0A1B3A35CEA194119868185A2753141208379E660EA19417E7346749E7531413092CBFF64EA1941FC2A87968A753141C09A779C78EA1941A189B0C176753141F00DBE308CEA1941AE03E7EC62753141E0A59BC49FEA19419DF831E649753141C0B4A679B8EA1941465986F835753141902F4C26CCEA19417E9ECD0A2275314130AAF1D2DFEA1941C0E3141D0E753141C024977FF3EA1941F8285C2FFA743141F09E3C2C07EB1941AD8BDBA8DE7431414019E25822EB1941BB1E85CB907431410010E9376FEB194182B7408248743141F0058195B6EB1941A687BA3849743141300FA8F2C4EB19413E62B8C949743141C0F66A6AD3EB1941F208FD344A743141604BADF6E1EB19418C2C5B7A4A743141C0F24991F0EB19411F80B5994A74314180C11534FFEB194174C5FE924A7431415019E2D80DEC19415A0E2D524A743141D0A145B631EC1941E61DA7686E743141F09C80260EEC194177E09CB18374314100560E2DF9EB194114C7BA58B974314120CD3B4EC4EB1941D456EC8FFB7431416025E40383EB194173D712521675314110E561A168EB19413C79588826753141E09C11A558EB1941B5FC87343C753141F081734643EB1941A4A44E6052753141401E166A2DEB194158F5B95A67753141C010C7BA18EB194136D6C56D7B753141504469EF04EB1941B269DE71B373314170F606DFC6EC19413B4ED1F1DE733141C0A223B99BEC19419E3C2CF4FD733141A08F31F77CEC1941874160053674314110C74BB745EC19418C53742436743141D074939845EC1941CBC3428D36743141B0BD52960BEC19411760C992367431419047018D00EC1941CC1A837C36743141F06A0185F5EB194174C9784A367431414029B382EAEB1941BD44BEFC357431419045748ADFEB1941836072933574314190839EA0D4EB1941A9DFBE0E3574314110F085C9C9EB1941E37A142EE173314180E2C7981CEC1941C6DCB52476733141A010583986EC1941AF72681176733141706B9AF796EC19413570CEC875733141007E8CB9D5EC1941C41726937573314180E9263104ED1941B269DE71B373314170F606DFC6EC194102000000020000000002AC00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1458398 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1458979, N'{F2066F5B-A26B-4353-BCB5-33E6C04DE775}', N'013767496', 3, N'NO_PLAN', 3155611, N'13767496', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART SE4', N'8', N'20,8', N'THAT PART OF THE SOUTH EAST 1/4 OF SECTION 8 SHOWN AS EXTRA WIDTH FOR MARA STATION GROUNDS ON PLAN A402 TOWNSHIP 20 RANGE 8 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT EXCEPT BLOCK A (PLAN A402)', N'0163', N'0012', N'NO', N'MODIFIED-TANTALIS', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-10-19T09:39:54.000' AS DateTime), 2809, 362, 0xBD0B00000104270000002853056307B63641A0B515FB82F42341BC05129409B63641502CD49A8DF42341E0E995120EB6364160105839A5F42341945CFEE317B6364140D6C52DDDF423412953056320B63641289C33E2DEF42341CEDEE0CB36B63641180BB566E3F42341FD18731737B636419057CA72E3F42341DE718A0E37B6364110000040E3F423419D923A4135B636413890A0F8D8F423412A18959432B63641B88F31B7C9F42341E04F8D572AB63641E8497BC39AF42341598638D629B63641E00968E297F42341789318C428B63641784BC8C791F42341DF93874524B63641586744297AF42341EE41CF8623B63641E895B28C76F42341D088D2FE21B6364148D6C56D6FF423412853056307B63641A0B515FB82F4234100098A7F47B63641F852052389F42341C2D32B8554B6364100022B07D4F42341F063CC5D58B6364180AF9425EAF42341F663CC9D69B6364120AF94A5EDF4234194C4205056B6364110AE47A17EF42341AF298C6F55B63641A89A33A679F423412C2BDD8B54B63641E08B53AD74F42341322B15A553B63641B83DAFB66FF423419C9035BB52B6364190684EC26AF4234135C73FCE51B6364148C038D065F423417F3F35DE50B6364108F775E060F423413B355E7A50B63641909CA2A35EF42341297502BA4FB6364148D1915C5AF423415B2041514EB636414827A08950F42341384547723FB63641B0E61DE75AF4234132BB278F40B63641E81DA76862F423418EE6ACAE41B63641381F1EE368F423419EAA9ED142B63641A82E315B6FF42341DAC1FBF743B63641600ED9D075F42341C7E2C22145B63641A8830E447CF423412AC0F24E46B636412857CAB482F4234100098A7F47B63641F852052389F42341020000000200000000021100000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1458979 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1459326, N'{CB858499-99EF-4788-96F3-3980E87F906F}', N'010010696', 3, N'NO_PLAN', NULL, N'10010696', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-31T00:00:00.000' AS DateTime), N'PART 404', NULL, NULL, N'THAT PART OF DISTRICT LOT 404 SHOWN ON PLAN DD 970 SIMILKAMEEN DIVISION YALE DISTRICT', N'0163', N'0022', N'NO', N'SRW-COMPILATION', NULL, NULL, N'COGO', N'0', NULL, CAST(N'2018-06-22T10:42:54.000' AS DateTime), CAST(N'2021-11-12T11:14:59.000' AS DateTime), 48522, 3317, 0xBD0B000001040E000000D75F760F6E6D3541002E9020CA191F4110363C5DB46D3541704DF30EC6191F4130DD2466726F35410088F45BBD191F415517B73179703541C032C431B8191F4196559F2BC5703541C057CAB2B6191F416AAA60B4F771354160E76AABB0191F41AFFA5C0D8373354130AF94E5A8191F4135234A1BCA73354130E8D9ACAB191F41BDD32B85C873354120B003E7AA191F41C25B20A1C8733541A04D6210A4191F4170E7FB69CA733541A018045634191F41ABC64BF7C9733541806891ED31191F41E9B7AF83706D35417075719B4E191F41D75F760F6E6D3541002E9020CA191F4101000000020000000001000000FFFFFFFF0000000003, CAST(1459326 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1459756, N'{BD88FA4A-F1C2-4E89-B4C3-B1B77D547357}', N'018967337', 864168, N'KAP53260', NULL, N'18967337', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1 DISTRICT LOT 127 OSOYOOS DIVISION YALE DISTRICT PLAN KAP53260 EXCEPT PLANS KAP56123 AND EPP3467', N'0057', N'0016', N'NO', N'ICIS CADASTRE', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-12-07T12:29:38.000' AS DateTime), 94212, 1262, 0xBD0B000001043F0000000AF9A0874C723641C086A7573F292141FAE5922D4E723641280CEE331F29214172A6DE9150723641C0453340FF28214112DA32B353723641A840128EDF28214112F8D58F57723641B8E4012FC0282141A242A7255C723641A0544B34A1282141E7F21F7261723641D86800AF822821412E0139B861723641D8DE9B37812821410904BEFE61723641403E88C07F28214126E4AE45627236412003C6497E282141FC890B8D6272364198A955D37C282141FADDD3D46272364190AD375D7B28214143C8071D63723641588B6CE779282141D122DB9963723641687BF27077282141C36D348061723641B016D90E77282141483789C157723641584BC847752821416A3BDF6F3572364158B81E056F282141A64E40330F723641B8270F0B68282141EA8C280D0372364148F38ED365282141769CA2E3CF703641B09465C82D282141CCB359F5C0703641D89AE69D7D292141C07D1D18BC7036417892CBFFEA292141F4A8BA06BC70364110513125EE29214130868A18BC703641F8878D4AF129214102506A4DBC703641A80DBC69F4292141ECCEF2A4BC70364150C7A47CF7292141C322791EBD7036414090477DFA292141361010B9BD70364168EFC765FD29214130D08973BE70364198887830002A2141945C7A4CBF7036414832E6D7022A21412E373A42C0703641E097E256052A214132A4E952C170364128588EA8072A2141D252747CC2703641188862C8092A21416B6C95BCC3703641308839B20B2A21415F02DC10C5703641181E57620D2A2141E8D1AF76C6703641A0BE6FD50E2A2141FE5456EBC7703641E0FCAE08102A2141EA15F86BC9703641C00FBDF9102A21412F3BA6F5CA703641F865C3A6112A214185416085CC703641003B700E122A21411C95D409E17036416824977F152A2141E92631C8EC703641F88E5374132A21411EFDF6F510713641786FF085192A2141A0B4371817713641E873B5951E2A21418A635DBCD0713641601058B93D2A21416319E2B831723641582428FE4D2A2141B86AA01734723641D0F1756F4B2A2141DB92A55836723641284FE57C482A2141820DD8773872364188ADD22B452A214127DB5B713A723641E0644682412A21413A8699413C72364100B9E9863D2A214182AB44E53D723641F8BCFA40392A2141CEF961593F72364110263FB8342A2141729E4C9B40723641F828F6F42F2A21414414BBA841723641987AC9FF2A2A2141914CC37F42723641188DBDE1252A21418E2ADE1E43723641602A21A4202A21418D4AEA8443723641B8847C501B2A2141723480374472364110AAF1520D2A2141B7DA8ADD4472364178863856FF2921416E3D0A774572364168E2C758F1292141383CBD9248723641D0263108A32921410AF9A0874C723641C086A7573F29214101000000020000000001000000FFFFFFFF0000000003, CAST(1459756 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1460399, N'{3DCCC3A0-27F7-477C-B594-533F9A7E17DE}', N'010857745', 859245, N'KAP3404', NULL, N'10857745', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 195S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 3404 EXCEPT PARCEL A (DD 157259F AND PLAN B7117) THEREOF AND EXCEPT PART NOW ROAD ON PLAN H933', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2022-01-19T13:57:18.000' AS DateTime), 5136, 492, 0xBD0B0000010418000000BE490C62D35E36416032C4B1E4A91E413980B7C0C85E3641B059F5B9FFA91E41BBDA8AFD995E3641F02DFFA176AA1E41B4270F8B975E3641A047E17ABAAA1E41F94A59C6A25E3641208F53F4F4AA1E41A45E29ABAA5E36416003E70C1EAB1E41C3529621B75E3641C0490C02ACAA1E4158302AA9D75E3641D0B27B72F3A91E41BE490C62D35E36416032C4B1E4A91E41569621CEFF5E3641C0A4BD4117AD1E41F1EDEB80FD5E3641C0F8C264D6AC1E41E73FA47FF75E3641B02F4C26B3AC1E414FAF9445F75E3641602BF697B2AC1E41E751B8FEE05E3641209C33A27BAC1E41F7DBD741D85E3641109D80A654AC1E4104197397C25E3641B076BE1F0EAD1E4162C3D32BCA5E364180AE25E440AD1E41D4BCE394F85E3641204547F2B7AD1E4168AA6054135F3641F043FAEDDEAC1E419BFF903E125F3641B089B0E1E0AC1E4100098A1F095F3641E08095C324AD1E41E551B8BE035F3641D078E9262EAD1E41A2A44E20005F364170CCEE4920AD1E41569621CEFF5E3641C0A4BD4117AD1E41020000000200000000020900000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1460399 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1461409, N'{A2BAF88B-3FCD-441B-9EAD-96BCB660F384}', N'014588897', 486254, N'NEP4372', NULL, N'14588897', NULL, N'70721889100', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 7357 KOOTENAY DISTRICT PLAN 4372 EXCEPT PARTS INCLUDED IN PLANS R252 AND NEP20362', N'0163', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:34:49.000' AS DateTime), 4349, 270, 0xBD0B00000104070000006CC5FED2E99A38418026C246A0ED2041AD69DEB10D9B38412873D712A9ED20414AF38EB3189B384178B6F3BDF4EC204106560E4DE49A3841582FDD241BED2041D0B359D5CE9A3841B89DEFE735ED2041B09465E8E19A384100FA7EAA98ED20416CC5FED2E99A38418026C246A0ED204101000000020000000001000000FFFFFFFF0000000003, CAST(1461409 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1461999, N'{1AB650C0-5B09-4F1D-824A-5A0445F7C337}', N'017887372', 255548, N'PGP36485', NULL, N'17887372', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Parcel A', N'', N'', N'PARCEL A DISTRICT LOTS 1993 AND 4597 CARIBOO DISTRICT PLAN PGP36485', N'0163', N'0008', N'NO', N'MODIFIED-ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:17:49.000' AS DateTime), 676733, 9042, 0xBD0B00000104BD0000001D63EE1A7899324158E5D0626D9E2D410C1B9E1E70993241B85F76CF519E2D41385EBA696899324188F6069F349E2D4105F9A027619932411895D489209E2D41BC30998A5C99324100A8C6CB089E2D413390A0F85599324138C05BA0D59D2D416EC5FEB24E993241C0EC9E3CA69D2D4155EC2F1B4999324178787AA5829D2D413967448946993241D0ACFA1C679D2D419231770D44993241D8EBC079469D2D41C8073D7B3F99324170FD65372C9D2D41C8C3422D3F993241E0E461E1269D2D413A92CB9F3D993241B08D06B00B9D2D41CFCCCCEC39993241589D8026E79C2D415A5BB13F36993241C8749358C19C2D41167C61322E993241308941605B9C2D411EB072A826993241F05F76CF189C2D41206C78DA24993241E8EE38C5F59B2D41E158171721993241B02E6EE3D39B2D41D934EF58219932411087A797AA9B2D41A713D06424993241D86B0939779B2D41F875E03C26993241D854C1E83F9B2D4182B740822A99324170EE5A420F9B2D41805149BD3199324118341176EA9A2D41BF9F1AAF37993241C0293A92C59A2D41B1D85FF63D99324110B8AF43919A2D413AD6C5ED42993241589D80265E9A2D4106CE19914299324180635D9C339A2D4188C954A14399324148C954C1029A2D413F0AD7C34799324160BE9F9AD8992D41DFE995124D99324198218EB5B3992D411DA7E8E8529932414013610394992D412E4CA68A59993241A0703D4A50992D41D93D79B85F993241709FABAD04992D417D26C2A660993241000000C0BE982D411A9E5E696499324100F775A06E982D41972A18956B99324170E5D062DB972D419B6588037399324148F5B9DA71972D41FF21FDF674993241880B242835972D41D95F760F7699324130C9E5BF02972D4155643B9F6F993241C0FC87B4E5962D417DB7404263993241C82D90A0CE962D4157C1A8C44A99324118D26F9FB2962D4177C729FA32993241A0BDC11794962D414EA60AE618993241F0D5566C68962D413290A0D80299324128E2585735962D41281895B4F6983241D856ECEF13962D412EC4B1EEF0983241983177ADF5952D4195900FBAF298324180A7578ADE952D419EEFA766F598324188ABAD18D2952D4128C28607F5983241807AA56CD1952D41C29F1A0FAB983241384FAF944B952D41A33C2C549F983241A022DB395C952D4197218E95979832414082E207DF962D41AD8BDBC8969832419016D90E07972D41C6FEB2DB809832418882514904972D41CF3B4E116E98324178A7570A019A2D4109CE19B15A983241E02406C1159D2D41A82C43DC4698324138DD24863BA02D41494772D94698324108EBE2F63BA02D41EF2FBB073498324180D712323AA32D41EDF44A39B299324170D1919C3EA32D41767AA5CCBB9932411875025AB3A02D410188F49BAC993241E87D1D78B2A02D418E0F7AD6AD993241B8DCB5045FA02D4158863896AE993241903480F72BA02D41A345B6D37199324178C0CA6128A02D4176C7291A78993241602BF6976D9E2D411D63EE1A7899324158E5D0626D9E2D41E0BE0EDC9E983241A81A2F1DEB912D4164DC46639C983241B06B09B956922D415CC3D34BA7983241802575C273922D41CFDEE0ABA8983241B8EA73757D922D4142136103A898324108D26F5F89922D4163A1D694A4983241F0A7C60B95922D416F5F072EA4983241E088D25EA7922D41AC6054F2A398324118F46C16C4922D416F567D4E9E983241A0A0F8F1D9922D41CCDEE00B99983241508B6C27E8922D411B6A4DD395983241001AC05B74932D410AF9A0279A98324108211F3485932D41F897DDB39A983241B8FA5C6D90932D416B6666069998324130772DA1A6932D41F41648B096983241A869DEB1B0932D4173F0854994983241A095B24CB7932D41B6FC87149398324188FB3A30EC932D4102E78C88A6983241A0F3FD14F7932D41403EE859B99832417068916D0D942D41EA3FA4DFC99832414841606534942D4164764F9ECF983241C0D781F353942D415F7FD9FDE0983241501E162AAC942D419C2A1855F0983241382CD49AEB942D4140A4DF9EF398324150CA32C405952D41A089B081FA983241185305E32B952D416129CB1003993241F84BA6CA5D952D41D678E986099932411039454797952D41E70434F109993241E8F97EAAA1952D411904566E0899324170E5D0E2AB952D41266519820499324178204171B7952D41B715FB0B55993241C866D52749962D412A97FFF0B1993241806CE77BB6962D41E2E00B93C2993241C8627FD900972D41B9847CD0C5993241C8C342ED2C962D41D2CCCCCCC599324160226CB82C962D41076822EC9B993241C0141DC9CF932D41C9FEB2BB639932411010E9B7A3902D4196DD93C7A6983241002DB25D92902D4130772DA1A09832410074B5159E912D414DE3A5FBA3983241104850BCA0912D41FD43FACDA9983241986132D5A6912D41E3B5849CAB983241D06B09F9AE912D41FE2A8776A7983241C0CDAA4FDB912D41E0BE0EDC9E983241A81A2F1DEB912D41CAA145167D99324160598678329D2D41A4F1D2CD9099324110F775600D982D41C2051274BE993241707CD03310982D4112F2414FC199324160BC74D353972D4132D49A06AC993241384772B9F6962D411CFDF6F5A299324178CC5D4BD3962D418E0F7A3649993241E8FE21BD69962D41CE44D870FC983241D02A18D5DE952D416EC5FE32FC983241C8C11766DE952D41270F0BF5F998324180CB7F08F5952D419B2A18750099324130355E7A0F962D41538D972E12993241E0F97E6A3A962D415005A3722699324130C05BE066962D4182AEB6823D993241B059F53989962D41567DAEB65E993241103108ECB2962D41421361E37099324108A16733C9962D4127C286C77899324140871699DE962D41757AA5CC7E99324108492E3FF1962D414E05A31280993241E0AE25240F972D41BA8D06107F993241A8FA5CAD3D972D41784F1E567C99324130029AC880972D41DB34EFD87699324140211FB4CC972D41BBC876BE71993241281DC92522982D41AE8BDB086D993241889318447F982D4163FE43DA6A993241B05E298BC2982D41C05296C168993241B0F1D20D03992D41EBF21F72639932410868226C44992D415F6DC5BE5F99324150423EA877992D418FED7CBF5B993241B876BE5F9B992D41E63FA4DF4E993241B0C11766F4992D41368941804C99324110287ECC089A2D41618FC2D54C993241D07F48FF169A2D414FF38E334E99324150AD69DE309A2D410D363C5D4D993241007B146E579A2D418716D9AE49993241F0F753A38A9A2D41B3B662FF44993241C8E53FE4B09A2D41499D80063F993241105F980CD79A2D416A4469CF34993241907AA5EC0E9B2D416BF7E46132993241980D4FEF259B2D41EBD9AC1A32993241A833A274509B2D419BB20C512C993241104FAF948B9B2D4114BE30392B993241B06054D2BD9B2D41CD6F5F072C993241E8AACFD5D39B2D4187A7574A2F993241B0D85F36EF9B2D41CC2B65B92E993241E8EEC903099C2D412F6EA3A13999324140E17AD4619C2D41806132F53C993241088C4A2A979C2D41BEEC9EFC3E993241D80B93E9AF9C2D41828CB9AB43993241906CE7FBC49C2D4194DD93C743993241B8726891DD9C2D419ED634AF47993241B8825109F99C2D418CC2F5A8499932410040A45F149D2D410FF2414F4B99324128189514289D2D41C78F31B74C993241D8AD47E1389D2D41AF47E19A5099324150499DC06F9D2D417D48BF3D56993241E06F5FC7909D2D4187635D7C61993241A889B0A1D69D2D417558A8556A99324100B5A6F9169E2D41041973B778993241E02CB29D429E2D41CAA145167D99324160598678329D2D41B3D85F768C983241C0EC9EFC0D952D41A467B32AB5983241E0E461E127952D41EDFDD418FD983241D8141D09AA952D4190E4F2BFFF98324138D49AE69C952D417558A855FF98324140014D8492952D4155EC2FBBF8983241007F6A7C5F952D41B40C712CF1983241203EE8993A952D41AA8251C9E998324130C7BAF80D952D41E9F21F12E498324100772D21ED942D41F2A7C62BDA983241C056ECAFBD942D41696FF0E5BF9832415896210E43942D41C64B3749B9983241B001BCC52D942D41A9F1D2CDB1983241708104C522942D41E86A2BB6A5983241E8CBEE891C942D41C84B37099298324138772DE119942D41B3D85F768C983241C0EC9EFC0D952D410400000002000000000245000000027100000002AD00000005000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003000000000300000003, CAST(1461999 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1462048, N'{555D6B67-B566-42CE-86F5-B576687F32E2}', N'015091970', 489359, N'NEP845', NULL, N'15091970', NULL, N'7102428005', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 23', N'', N'', N'LOT 23 DISTRICT LOT 7695 KOOTENAY DISTRICT PLAN 845 EXCEPT PARTS INCLUDED IN PLANS 8970 AND NEP23486', N'0163', N'0004', N'NO', N'ICF', 13, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:34:32.000' AS DateTime), 30103, 1130, 0xBD0B000001040D000000CBAACF951F1438417007CE59491F2241C3C117664C133841E86C56FD041E2241D88AFDA51C133841689CA2A3871E22419C218E95D913384140401321AE1F2241C25B2041D41338417009F9E0921F22413208AC1CE013384160D0B359661F2241088A1F831114384148AF94E5831F2241CBAACF951F1438417007CE59491F2241B2EA73F550143841982E6EA3951F22413AB4C8362C143841187A36EB2E2022418EED7CDF96143841684ED191D52022418BA7574AA014384170A52C0310202241B2EA73F550143841982E6EA3951F2241020000000200000000020800000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1462048 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1462155, N'{9E5172AC-A016-4854-B02B-633E0C39F0DD}', N'011449136', 1296116, N'NWP72', NULL, N'11449136', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2013-05-22T00:00:00.000' AS DateTime), N'REM Parcel A', N'REM Lot 6', N'Block 3', N'PARCEL "A" (N5667E) LOT 6 BLOCK 3 DISTRICT LOT 201 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 72 EXCEPT PLAN EPP11752', N'0109', N'0010', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-02-01T11:39:29.000' AS DateTime), 214, 62, 0xBD0B0000010406000000938785BA2FC03241A0FF90FEA4361D414E840DCF2FC0324120F697DD9C361D4153158C2A30C0324160BE9F9A77361D41A201BC051CC0324190703D0A7A361D41B325E4A31BC03241801F63EEA1361D41938785BA2FC03241A0FF90FEA4361D4101000000020000000001000000FFFFFFFF0000000003, CAST(1462155 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1462423, N'{65A572DC-36E3-47F5-81B8-40ACD6D79749}', N'007760701', 140656, N'VIP1375', NULL, N'7760701', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 33', N'Block 1', N'', N'THAT PART OF LOT 33, BLOCK 1, SECTION 33, VICTORIA DISTRICT, PLAN 1375 BEING THE RIGHT OF WAY OF CANADIAN NORTHERN PACIFIC RAILWAY COMPANY SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:19:42.000' AS DateTime), CAST(N'2019-01-05T10:52:38.000' AS DateTime), 34, 65, 0xBD0B0000010409000000C5B12E4E0F3A324110F46CD6CA9217414A9D80C60A3A3241B0A3DF3EAE921741E1A59B04053A3241C066D5E789921741D6F97EEA023A3241F02E6EA37C92174192B96B89013A3241A074241780921741FC285C2F073A324190E3149DA2921741396744A90D3A3241C07BF230C792174154499DE0133A3241600E2DB2E7921741C5B12E4E0F3A324110F46CD6CA92174101000000020000000001000000FFFFFFFF0000000003, CAST(1462423 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1463641, N'{97119827-1277-4227-AD38-3C2D9B7DF026}', N'008168857', 136474, N'VIP283', NULL, N'8168857', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 12', N'Block 5', N'', N'THAT PART OF LOT 12, BLOCK 5, SECTION 4, VICTORIA CITY, PLAN 283, SHOWN AS THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY ON PLAN 1209 OS', N'0153', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:36:42.000' AS DateTime), CAST(N'2019-01-05T10:56:17.000' AS DateTime), 248, 84, 0xBD0B00000104060000000BF0164859393241502575825E7C1741AEBFECBE6339324190703D0A777C174152499D0051393241B0D0B359077C1741B4847CB045393241A0B20C71257C17411CD26F3F4F39324140EF3845437C17410BF0164859393241502575825E7C174101000000020000000001000000FFFFFFFF0000000003, CAST(1463641 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1464029, N'{207A3E7D-F937-4697-B985-AAFE8C7C230D}', N'013785648', 1070643, N'NWP2954', NULL, N'13785648', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 5', N'', N'', N'LOT 5 EXCEPT: FIRSTLY: PARCEL B (EXPLANATORY PLAN 12017) SECONDLY: PARCEL A (EXPLANATORY PLAN 14923) THIRDLY: PART ON STATUTORY RIGHT OF WAY PLAN 75994; FOURTHLY: PART ON SRW PLAN 50733 SECTION 22 TOWNSHIP 16 NEW WESTMINSTER DISTRICT PLAN 2954', N'0002', N'0009', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-01-31T18:41:43.000' AS DateTime), 741, 157, 0xBD0B00000104050000007F51491DD76A3341C03E57DBC9D41B41AE59F559C56A334140FBCBEE40D41B411B48507CC26A3341A03FA45FDDD41B4157643BFFBF6A33417011363C65D51B417F51491DD76A3341C03E57DBC9D41B4101000000020000000001000000FFFFFFFF0000000003, CAST(1464029 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1467082, N'{57D051E3-8D8B-4607-9B6C-6C0C18CD1A65}', N'009827242', 3, N'NO_PLAN', NULL, N'9827242', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 6', N'3', N'', N'THOSE PARTS OF SECTION 6, RANGE 3 SAHTLAM DISTRICT, SHOWN OUTLINED IN RED AND MARKED AREAS "A", "B", "C", AND "D" ON PLAN 1665R', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T18:41:36.000' AS DateTime), CAST(N'2019-01-07T18:32:22.000' AS DateTime), 1231, 312, 0xBD0B000001042A0000007D26C2E6C7A73141E01261C3848A19417A36ABBEBCA7314170A679C74A8A1941218FC619B8A73141D0CB9A9A568A1941ACB391A2B3A7314140A94E7B638A1941486EDD5CAFA731414072945E718A1941593D504CABA73141306B8E38808A1941DD346374A7A73141100E8CFC8F8A1941FC065FD8A3A73141B0E3149DA08A194158423E68AFA7314130A167B3D78A1941D7D88EABB2A7314120918F67CB8A19411DA745FCB5A7314130779855BF8A1941D184225AB9A7314140E86B7EB38A1941124BE4C4BCA73141E007EFE2A78A19418FD9483CC0A73141807602849C8A1941701B0DC0C3A73141C0408262918A19417D26C2E6C7A73141E01261C3848A1941A2ABADD8CBA7314130D6C5ED548B1941B225E403C4A73141D0DD9307348B1941109C3302C0A7314140A2B437448B19415A657474BDA7314170CEC6054F8B19414569AFF2BAA73141A00C5E005A8B19410A28157DB8A7314180F4A526658B19416C36D513B6A7314150D1C677708B1941293A1EB7B3A73141D0B0E5F27B8B194199E61D67B1A7314150742497878B1941DD938765B9A731417038D645A18B19413DFC14E7BBA73141E077A78A928B19417B4F8DA7BEA73141002D9F87848B1941E6A7A5A3C1A731411038814D778B194156C8CBD7C4A73141901521EC6A8B19413B622A40C8A7314130EC4E725F8B1941A2ABADD8CBA7314130D6C5ED548B194154DA1B1C67A73141F0EE3845BA8C1941EE63CCDD5FA73141906054D2AF8C1941917EFBFA56A73141B0073D1B178D1941423EE8395DA7314160D0B3D9208D194154DA1B1C67A73141F0EE3845BA8C1941006F81A48BA73141706FF005ED8C194188855A7386A73141B0ACFA5CE88C1941DA5F762F7DA7314170E4F21F4F8D19416EAC8B7B82A731419039B448548D1941006F81A48BA73141706FF005ED8C194104000000020000000002100000000220000000022500000005000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003000000000300000003, CAST(1467082 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1467320, N'{998AAEEB-EE2E-49EE-BF72-D4F86AA6CE7B}', N'010925431', 468809, N'NEP13428', 90054597, N'10925431', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 SECTION 28 TOWNSHIP 2 KOOTENAY DISTRICT PLAN 13428', N'0163', N'0006', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:23:33.000' AS DateTime), 14552, 482, 0xBD0B000001040600000091CB7FC828FF3641B04D62108E712741E3D0225B2BFF3641A875711B737027413D575BF1BBFE3641900B24285E7027416E348097BAFE3641D0D0225BF470274174CE8832DEFE3641506210987F71274191CB7FC828FF3641B04D62108E71274101000000020000000001000000FFFFFFFF0000000003, CAST(1467320 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1467880, N'{32C17955-579F-48AA-BC94-E6668605173C}', N'010318810', 3, N'NO_PLAN', 8024161, N'10318810', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'SE4', N'13', N'77,14', N'THE FRACTIONAL SOUTH EAST 1/4 OF SECTION 13 TOWNSHIP 77 RANGE 14 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:20:07.000' AS DateTime), 570233, 6813, 0xBD0B000001043504000043C6DC5574FA34415C96218E8F55324108847EB775FA344108DF98418D553241365A7DE976FA3441447CF2DA8A55324140E3EEE977FA3441C87B075E88553241702338B778FA3441B49BD4CE855532417F1B105079FA344110E6733183553241D7D781B379FA3441541E168A805532414675839E79FA344100705F877E5532410124497A79FA344134B781857C553241DA06DB4679FA3441FC5AF0847A553241A0AA440479FA344170771E86785532417E0395B278FA344144C47E8976553241AC69DE5178FA3441587B838F7455324186F2281978FA3441F05C448E70553241B5E25BE777FA34416467A98C6C55324154CE77BC77FA34419884BE8A68553241F1347D9877FA3441E89F8F886455324193816C7B77FA34413CA5288660553241AA0A466577FA3441F48095835C553241B48CC32B77FA3441585055D75755324172DC250277FA344158976C2A5355324100DB6EE876FA34412065117D4E553241B8B19FDE76FA3441ECCC79CF4955324102D2B8E476FA3441A4E5DB214555324156F5B9FA76FA3441E4C56D7440553241F11C5A0377FA3441342BFE713C553241A0C8F5F976FA34418049906F3855324107B68DDE76FA3441C415756D34553241900E24B176FA34414C7FFD6B305532412967BC7176FA344124687A6B2C55324118C05B2076FA3441F89E3C6C28553241F20B8F0776FA3441F05C5215255532412C8553F975FA3441245C2ABE215532413EBAA9F575FA3441240CE6661E553241DACF91FC75FA344190DDA60F1B553241D8800B0E76FA3441DC408EB817553241521E162A76FA34411CA5BD61145532419B12315176FA3441D0CF255D0E55324119FCE86176FA344104292658085532417FF33C5C76FA344100F71153025532414E472D4076FA344174813C4EFC543241B47BBB0D76FA3441500CF949F65432418E4AEAC475FA34413CD49A46F0543241038C8CB875FA3441EC80D897ED543241413772B975FA344120D4F9E8EA5432415E369BC775FA34419C5F403AE85432414A2F06E375FA344178B1ED8BE55432410684B00B76FA3441084E43DEE2543241C252964176FA34418CA98231E0543241C8392A9076FA34414C122E8CDD543241F4CA1A1177FA34412CDB9BEEDA543241E6AFAFC377FA34417843895CD8543241E099E9A678FA34419C19A3D9D5543241CEAE83B979FA3441307B8069D3543241AD59F5F97AFA344130B29D0FD154324154FE275D7DFA3441880D0804CD543241064E8CF67FFA34413428681AC9543241127240C482FA3441D0539355C554324128B23CC485FA3441683D44B8C1543241BCEC54F488FA344130F31845BE543241C7293A528CFA34418CFF90FEBA543241F40E9A708FFA344148ED1370B85432414C1ABAA392FA3441D4F2C0FBB5543241EAE0BEEA95FA3441285F40A2B3543241EAA3C74499FA3441DC513364B1543241448CEEB09CFA3441D08F3342AF543241A9E8482EA0FA3441885AD33CAD5432414A957397A2FA34414C02F52CAC5432417A6D450FA5FA344158142341AB543241CFEFA393A7FA3441388E267AAA5432419BE86922AAFA34414409A9D8A95432411E4669B9ACFA34410C29345DA954324122F46C56AFFA3441DC263108A9543241EA682804B2FA3441A0DFA4C8A85432416CC8FFB2B4FA3441DCBF7B96A8543241162CB062B7FA344130AABA71A85432412898F612BAFA34416433655AA8543241500290C3BCFA344114A17D50A854324111583974BFFA344148EA0454A85432419141E271C1FA34413CC67F67A8543241136A666EC3FA34413C66CA8EA854324139BE0069C5FA34415890D5C9A854324174E8EC60C7FA344168628A18A95432411E9D6755C9FA3441085CCA7AA95432412EE6AE45CBFA344144696FF0A9543241D366E1E3CDFA34415894CA75AA543241AB934B86D0FA3441E4B1D9E3AA543241542B1E2CD3FA3441C8EF7A3AAB54324156E088D4D5FA344180AE9379AB5432413099BA7ED8FA3441588A10A1AB54324184B0E129DBFA34414460E5B0AB543241743943CFDFFA3441541731E7AB543241ED54C86FE4FA3441C0768E5FAC5432417234C607E9FA344130199E19AD543241FBCB9893EDFA34418487CC14AE54324178B4A50FF2FA3441E8AD5250AF543241F7065F78F6FA3441107A36CBB0543241414C785DF8FA34415CF6626FB1543241C4C03E42FAFA3441645C8314B2543241DCE9B126FCFA3441488297BAB2543241F74CD10AFEFA34412C3E9F61B35432419E6F9CEEFFFA3441C4659A09B45432416ED712D201FB34416CCE88B2B4543241E1A7B12003FB3441389ECD13B5543241D51EC86C04FB3441283F657DB5543241CC3D21B605FB3441ECD73EEFB55432413D7688FC06FB34415C3D4869B6543241F4B1C93F08FB3441FCF56DEBB6543241565BB17F09FB3441043D9B75B75432417C6AA9030BFB34414C62C1B4B8543241508746710CFB344174B2490DBA543241D265E0C60DFB34418058A47DBB543241CF97EA020FFB344138DA2504BD5432412A59F62310FB34417408099FBE5432415639B42811FB3441B00C714CC05432415113A84113FB3441644C60BFC35432413A33324F15FB3441CCB62639C7543241CE4A3C5117FB344180889EB9CA543241D488B04719FB3441D0B4A140CE543241F09979321BFB344140E809CED15432418EA982111DFB34419489B061D554324167547EF01DFB34416C4AA132D7543241174E74B31EFB344148CDFF0FD95432410232B4591FFB34414C2A1CF8DA5432419395A7E21FFB344190C13CE9DC5432415A90D24D20FB34414CCB9FE1DE5432413E2CD49A20FB34418CED7CDFE05432419D41727320FB34410CB51CE0E2543241B66FD02320FB344188DE0ADCE4543241E4596DAC1FFB3441A8A81FD0E654324141DC060E1FFB344168CD3FB9E8543241E5DD98491EFB3441AC726194EA54324116C05B601DFB3441BCFF905EEC543241AB64FDDC1AFB344184FC8915F15432419158AC2618FB344128D0F0AFF55432419DCCAC3E15FB3441EC419F2BFA54324140245A2612FB344194717D86FE543241375326DF0EFB3441E8D082BE02553241BB30996A0BFB34417817B7D106553241C32D430807FB344160F1F4DC0B5532414A1899C802FB34416C30890511553241CD2C5FACFEFA34413492854A16553241F74253B4FAFA344190B4F6AA1B5532417AAB2CE1F6FA3441F840E42521553241BD0E9C33F3FA3441DC1951BA265532412D920430F2FA3441BC42458128553241CEC1AC33F1FA344180D3484C2A55324142DEA43EF0FA3441E43B3E1B2C553241B4AFFC50EFFA344174AA07EE2D553241AE84C36AEEFA3441A80E87C42F5532412731088CEDFA3441181B9E9E31553241508D0409EDFA34412C3C32DA32553241C4AA3691ECFA3441C8D9321A345532411EB0C424ECFA34413C0D3A5E355532410426D1C3EBFA34410CA7E0A53655324116EC7A6EEBFA3441A050BEF037553241122FDD24EBFA34416CAD693E395532413ACD3B0EEBFA3441B059F5F93C5532415BD0337FEBFA3441DCE788443E5532419F089BFEEBFA3441342DD2893F553241194D328CECFA344124E72FC940553241346CB327EDFA34413CC2030242553241A34ED1D0EDFA344190A9B233435532417F1D3887EEFA34419C11A55D445532417D1D2A06F0FA3441602A2A62475532418215C481F1FA3441444D55684A553241763404FAF2FA3441B8C522704D55324153ADE86EF4FA344130DD8E795055324132B76FE0F5FA344120DB9584535532414E8D974EF7FA344100053491565532419A2A8C1DF8FA34410454C86058553241B4AB76CCF8FA3441A01A603D5A5532419F4B875AF9FA3441D83CC5245C553241C74A15C7F9FA34413CCAB4145E55324191B79F11FAFA3441C4ACE10A605532416207CE39FAFA34410866F704625532413D13D243FAFA3441146A4062675532411D3FEF79FAFA3441DCBD81BE6C5532414D4017DCFAFA3441BCF6501872553241842A306AFBFA3441304F446E775532416E761424FCFA34412807F3BE7C553241DE0B9309FDFA344184C2F50882553241EFC15E8AFDFA3441DCC562F883553241542D2719FEFA34416C89F6E385553241BFF2CEB5FEFA3441F8FA4BCB87553241A4DC3560FFFA344104E8FEAD89553241E2E1381800FB34418411AC8B8B5532410E2DB2DD00FB34411C41F1638D5532417B69976A02FB3441AC0698179155324171E6EAF503FB3441B8AAE6CB94553241F25CAC7F05FB3441EC82DC80985532414086DB0707FB344128E578369C553241F21B788E08FB34418C26BBEC9F553241DBD781130AFB34414C9CA2A3A3553241627E9F860AFB344194E161E6A4553241B70FC0F20AFB3441149A892BA65532414CAAD6570BFB3441480AF372A75532414943D7B50BFB3441DC3077BCA8553241F8A7B60C0CFB3441D4CCEE07AA553241FA7E6A5C0CFB34417C613255AB5532414A8174460DFB344160A65F3CAF5532410751CD770EFB344108471D10B35532414478DFEE0FFB34417C4B56CBB655324160EBB8A911FB3441B04A1669BA553241969E0DA613FB344130FE8FE4BD553241A2923AE115FB3441A0A22339C155324128D759A116FB3441A84B8B54C255324139BB906417FB344158F5D36DC35532414A40D92A18FB344188FCF484C4553241B54F2DF418FB34410CCFE599C5553241DBBA86C019FB344100EC9DACC6553241683BDF8F1AFB3441C8E314BDC7553241CCA225D21BFB344148F98D48C955324159ACEA321DFB3441BC6515B9CA553241EAC0EFAF1EFB34418CE6520CCC553241B645C84620FB344100EE1D40CD5532415A8FDDF421FB3441C4268152CE553241021973B723FB34410CA5BD41CF5532412A42899B25FB344180BC0BF1CF5532413CA9667E27FB3441C840B0A3D0553241386A056029FB3441F003A959D1553241EEA45F402BFB3441ACCDF312D25532411E7D6F1F2DFB3441645B8ECFD25532419E1A2FFD2EFB3441D05F768FD3553241824F647131FB3441E485C198D45532417D15C8D333FB344154E3CFC8D55532418CDAF62136FB344134D3701ED75532419D4BA15938FB34417C0B4E98D855324114A58E783AFB3441B8F3EC34DA553241C0EC9E7C3CFB3441CC20B0F2DB553241AEE0DE133EFB3441209A2125DD5532414C8D16B93FFB344100C21244DE5532410617576B41FB344100E1E04EDF553241F73DAA2943FB3441D0ABF444E0553241B1E912F344FB34419097C225E1553241B6B88DC646FB34415829CBF0E15532417221B7824AFB3441E886C972E35532415132E1394EFB3441A0BAEF00E55532415D5CE4EB51FB344170352D9BE65532416647999855FB344180E77041E8553241C1D3D83F59FB34410041A9F3E9553241D81B7CE15CFB3441C032C4B1EB553241A0ABAD9877FB34410444FA0DAD543241FE1873D7E9F93441B80E9CF38B543241ECC9C3025AF834412C0DE0AD6A543241EA8C28AD54F83441F453E3E5A95432412E08AC5C54F8344194ABAD98AD543241872E4F5856F83441080901F1B054324167180E3858F8344158F84259B454324199E768FB59F834414CFD8AD0B7543241034FE7A15BF83441949AEC55BB543241CCB2182B5DF834417C9077E8BE543241724694965EF834416C1D3887C25432411B95FD5B5FF83441880E4B59C454324117AF990A60F83441E8526134C6543241ABB1FFA160F8344168895D17C854324174ABD42161F8344104931D01CA54324109D3CB8961F834410C407BF0CB54324109B5A6D961F8344134014DE4CD543241ED38D5E061F8344120F1E63ECF5432410E9115E161F83441D4E69399D0543241CCB667DA61F834417C6930F4D15432412359CCCC61F834410802994ED354324177DC44B861F83441003FAAA8D4543241875AD39C61F8344184B74002D6543241E800786661F834417427E5B2D8543241598B1C5F61F834416CE6A365DB54324153B6C98661F8344108BD4817DE543241D76450DD61F8344114C2A0C4E054324152D8496262F83441AC277E6AE3543241962A181563F83441A801BC05E6543241ABBEAEA163F8344164E5BEF1E7543241EA78934964F83441300A1FD5E9543241CDB83F0C65F834415CD658AEEB543241996417E965F83441D8D3F07BED5432418A6669DF66F8344190E0743CEF543241FA3A70EE67F8344170567DEEF054324170F5B7CE69F8344134003DD8F254324137E7B7CD6BF8344168CDD7A1F4543241CE6E4AE96DF83441108B6149F6543241192F2B1F70F834415CAA12CDF7543241A97FF96C72F83441502B4A2BF954324180FB3AD074F83441285C8F62FA5432415FC94EAF76F8344130976E26FB543241A1AABE8F78F8344154E4F1E6FB543241BE9784717AF83441F8D816A4FC543241E5849A547CF834417815DB5DFD5432410A62FA387EF83441F0443C14FE5432410B1B9E1E80F834416C1D38C7FE5432416E26D3F181F83441FCC1407EFF54324137B792B583F83441A856AC58005532415CE22F6785F8344150B32F5501553241673B190487F834416CFE4B720255324121B9DC8988F8344154F350AE03553241E96A2BF689F83441D06F5F07055532412147AF418CF83441AC413E590855324100DAF49C8EF83441A49500A00B553241525BC60791F834410CA55BDB0E55324128A0EC8193F8344180AD050B125532418A1F2F0B96F83441C8F7B52E15553241CCF753A398F8344144DD2446185532417C68AE5B9AF83441A040674B1A5532411E3D12319CF83441E8F776361C5532413E32F1219EF83441845CB3051E55324165B3A52CA0F83441A06393B71F553241A440744FA2F834412CECA64A2155324104E78C88A4F8344108F697BD22553241ABDDEA44A6F834413CEDECBF23553241AA3B37FDA7F83441A8F521C92455324136C656B1A9F83441A0A826D9255532419A842E61ABF83441B433EAEF26553241F5C1A30CADF8344168595B0D28553241BC0E9CB3AEF83441B872683129553241843070F8B0F83441A4750F972A5532413537B52AB3F8344190E23B192C55324144EC0449B5F8344124B3F7B62D5532415AD00552B7F83441E4513B6F2F5532412FF76B44B9F83441D442EE40315532411CDBF91EBBF8344170D5E72A33553241B88FA8D0BCF83441B85E9C3A35553241609EE676BEF83441247C835337553241441B8211C0F8344114B35D7539553241A67A4AA0C1F83441DC7AEA9F3B553241AF961023C3F83441C042E8D23D5532410AB5A699C4F83441E47A140E405532414CE1C871C6F83441A415E2DD425532413363DF4DC8F83441E0AF13AB45553241B489E62DCAF834419CB9A37548553241DE9BDA11CCF8344188A88C3D4B553241EAD8B7F9CDF834415CF7C8024E5532416D787AE5CFF83441182653C550553241D4CA6B4ED1F83441ECEB200253553241868E808AD2F83441F091DB5855553241EFD8DE97D3F83441C06301C65755324168C9F274D4F83441D00FEF455A553241C7E67020D5F83441241CE5D45C55324164105899D5F8344144840D6F5F553241E00AFEFDD5F83441F48712D5625532418768C55BD6F83441F0F5DB3B6655324173AAACB2D6F83441C0EB5BA369553241E56DB202D7F83441A083840B6D5532413D6CD54BD7F8344150D5477470553241E27A148ED7F834412CF697DD73553241D712FA94D7F83441D078FE0B7655324194DAE0A4D7F83441BCEA353A7855324109C3C7BDD7F83441142019687A553241B023ADDFD7F8344104F382957C553241C2BA8E0AD8F8344168454EC27E5532413FAD693ED8F834411C0456EE805532411D5AD065D8F83441B84A45FA8155324194370EA5D8F834417866990183553241451FA1FBD8F83441E86A3402845532416EE6D668D9F83441704106FA845532419BCCCEEBD9F8344104E810E7855532411E4A7B83DAF834413C8B6CC78655324192A0F8F1DDF83441148E7531865532417E2F4C66E2F83441486EA3E183553241616309A8E3F834415474DD488355324196A29AE5E4F83441546299A782553241448DC61EE6F83441DC5AF4FD81553241EE8E5453E7F8344120040D4C8155324191E80C83E8F834419882039280553241C6BAB8ADE9F834414472F9CF7F5532415C6D8162EDF83441B8744C537E5532415EEB1732F1F834419C24CB217D553241C22D8A16F5F83441D421523D7C553241EFA2C509F9F8344180DD45A77B553241ECA7A005FDF83441386F90607B553241AC25E40301F934415827A0697B553241B67CCF0405F93441880B22627B553241DA1F620409F9344148F4142D7B553241DCE295000DF93441DCBC93CA7A553241514E66F710F934410843D03A7A5532410AA5D1E614F93441304E137E7955324141E8D9CC18F93441806ABC94785532414B7458541DF934412CA2BF7B77553241CCF067C221F93441FC8F390976553241D94A211026F93441E88B6B3F7455324166D2CF362AF9344124EE1E217255324122ADFB2F2EF9344104B7A0B16F553241B2EA73F531F93441846ABCF46C55324139061E2534F93441148FBE5F6B553241F50A295636F93441A426AACC69553241D14C938838F93441C064803B68553241BA1E5BBC3AF934415C7B42AC665532418ED27EF13CF934413C9BF11E6555324120B9FC273FF9344170F38E93635532415DEB7F2441F934412843291662553241886B2D0143F93441902BA771605532412C2905BB44F93441F83BAEA85E553241FC343F4F46F9344138C41EBE5C553241C63B50BB47F934413C330FB55A5532410BA0EDFC48F93441281DC79058553241232B11124AF9344100F2B954565532414750FCF84AF93441086F810454553241CE20E7514CF934411C0BC23650553241F6A717974DF93441D0EE3E624C553241C4F76BC84EF9344124685E8748553241B634C4E54FF93441486F87A6445532410C9902EF50F934414C9B21C04055324100780BE451F93441281895D43C553241F650300353F93441B87EA84938553241D9C70F4354F93441F4B24EC733553241AE8868A355F93441B475734E2F553241989DF22357F93441349800E02A553241A47D5FC458F93441FCCADD7C26553241AE1C5A845AF93441686FF025225532412215D4BB5BF93441501BBF501E5532413B8879DB5CF93441C01F4E741A553241DD591FE35DF93441E89F3191165532418D069ED25EF9344118C0FEA712553241A8A9D1A95FF93441C88C4BB90E5532417B029A6860F934412CE6AEC50A5532410DE8FDAF61F9344150AB5EE704553241C6341E5A63F934417C820622FF543241274D1C6565F93441C4B6217CF9543241DAC9ACCE67F93441DC3F08FCF3543241600B1A946AF93441F4A2E7A7EE543241374547B26DF93441A401BC85E9543241F67429846FF934415CB6ECA0E654324115A32F5A71F934410C2EBCBEE3543241DE09563473F934417C5530DFE054324124DB981275F93441D8134F02DE5432413C40F4F476F93441F44A1E28DB543241225A64DB78F9344118D7A350D85432412A2DF2A879F93441C08D9A4ED754324181863E8B7AF93441DC9B8D5ED65432419826B8807BF934414CA32682D554324135CDAB877CF93441686FECBAD45432414F3D479E7DF934412040400AD454324196779CC27EF9344150575B71D3543241F6D016B080F934412C9586FFD2543241BE4C04A482F93441007E97AED2543241BE22349C84F9344188DAE87ED2543241B6C3709686F934415427B070D2543241A453829088F934416858FD83D2543241EA2631888AF934410CC7BAB8D2543241DA51678F8EF93441D8EEA213D3543241D7B28C9592F9344164DDE979D3543241FB31819A96F9344128638CEBD3543241D7C0249E9AF9344190F58668D4543241755B57A09EF934412CB0D5F0D45432416809F9A0A2F9344170537484D55432416CA531A4A4F93441F0DD59A0D554324146172AA8A6F9344130D2B1A2D5543241AC219EABA8F9344134B77A8BD55432418ADA49ADAAF934418C23C35AD55432419576EAABACF9344188B4A910D554324113143FA6AEF93441B0FA5CADD45432416F488D9DB0F93441549DBA3DD4543241223F6C98B2F93441985699DFD35432410F2C4096B4F9344148151693D3543241785A6C96B6F93441F05D4858D3543241255D5398B8F934417C43422FD3543241A63E579BBAF9344150621018D3543241A1B4E886BCF93441D88FEA53D35432417450E16CBEF93441E82411B3D3543241620DB94AC0F9344124400535D45432416CBDF21DC2F93441989819D9D4543241025B1FE4C3F934414C63739ED5543241AE47E19AC5F93441FC770B84D654324182D25AEEC7F93441BC54F8EAD754324130E6ED40CAF9344188776253D95432419A8E9992CCF93441384C49BDDA543241FCD75CE3CEF93441743EAC28DC54324104CF3633D1F93441E8B88A95DD543241A0802682D3F934419825E403DF543241EAD08EE3D5F93441CCFCE135E0543241CCAB1148D8F934415C019D61E1543241D5999EAFDAF9344150240D87E25432418E0E251ADDF934419C822AA6E354324116699487DFF93441CC63EDBEE454324186F4DBF7E1F93441D03B4ED1E5543241993117C3E6F93441605EB825E8543241819F7A82EBF934412490E991EA543241FC519035F0F9344184A4A515ED543241848EE3DBF4F934413026AEB0EF54324158D70075F9F93441745DC262F2543241FEF67500FEF93441A8559F2BF5543241688DE96102FA34410CAC5435F8543241302ED97C06FA344168FBF89BFB543241EAFD96490AFA3441ECA82F59FF543241F66507C10DFA3441102AFA65035532415860AEDC10FA3441A418C5BA07553241C898BB9613FA3441E45F764F0C55324122D71DDB14FA3441E08B57AC0E553241365E411B16FA3441CC9B7A0B115532419928225717FA344170EFD76C135532417C3EBC8E18FA344128DF67D015553241E2B50BC219FA344154BC2236185532419AB20CF11AFA3441A4D1009E1A55324112C9B47E1CFA3441847F13931D55324165B3B0131EFA3441383F41842055324178AEF6AF1FFA344110E97771235532414BCA7C5321FA34413C6EA55A265532411AEA38FE22FA3441BCD7B73F2955324192C420B024FA344170499D202C553241640BD85E28FA34418C99B07B32553241E0C24CE72BFA3441440957EC38553241DE9600492FFA34417052AA713F553241CF9C7A8332FA3441A84BC10A46553241B764479635FA34410009B0B64C5532416609F98038FA3441C8FC877453553241F220FB7C3BFA344178A2DD2C5A553241BBD63CB83EFA34412419B2C7605532418F099B3142FA34419856B24267553241A1BCDCE745FA34413C84969B6D5532416A85B3D949FA344180CC22D0735532419E01BC054EFA3441042428DE79553241C622A74C51FA3441B4B258147E553241D942EED854FA344174B0CA1082553241D6949AA658FA344180FD09CF85553241103B6CB15CFA34417CF8E74A89553241AB06DFF460FA3441502A80808C55324179832F6C65FA3441F09E3C6C8F553241B8FA43A066FA34416073DF11905532414D64C5DD67FA34413846A2A490553241E90B8C2369FA3441E468FC23915532415F8968706AFA3441B43F778F9155324146DB24C36BFA34411CB1AEE6915532418D87851A6DFA3441AC825129925532411183C0EA70FA3441006F81049255324143C6DC5574FA34415C96218E8F553241A6BDC1F78FF8344174AA60344B56324147EA043497F83441348716F94E563241676FF0059EF83441D04F8D174C56324159302A49A4F8344184F08549465632415A204131A9F83441541058D93F563241428B6C67ACF834417C2F4C6638563241C8DCB524ADF83441A006F09630563241BADA8ABDACF834412CDD2486285632417E48BFDDABF83441484CA66A205632417CC0CA01ABF83441B4DFBE6E185632414EFC18F3A9F83441682BF6771056324152742497A8F8344104FBCB8E085632416F4694D6A6F83441CC6D34C000563241A5CFD596A4F83441E8FBA911F95532417C7AA50CA2F83441E485C974F1553241DE4603389FF83441889318E4E8553241BC699DDC9EF8344198E46A31E0553241C65D42AA9EF8344110DE6E7DD75532415C83F6A09EF834418425E6C8CE55324168A9BAC09EF83441686C9214C6553241100D8C099FF834419C5F3561BD553241215A647B9FF83441B89690AFB4553241F41326A69FF834418CFFC2B4B2553241D15E09DF9FF83441608759BBB0553241D8E00226A0F834415407B9C3AE5532418070047BA0F834414CFD45CEAC5532419917FDDDA0F83441147864DBAA5532418916D94EA1F83441440378EBA85532415CB22AFBA1F83441C8EEB960A75532412BD038AFA2F8344184B873D9A5553241D593F16AA3F83441F02FCC55A4553241A25E422EA4F83441A0C8E9D5A2553241F4D017F9A4F834417C96F259A15532415CCC5DCBA5F83441D4490CE29F553241DCE9A32AA7F83441C4386D679C5532411A727273A8F83441E8AA44E498553241BE5894A5A9F8344138B12359955532411D3AD8C0AAF8344148A59CC691553241D86210C5ABF834410813432D8E5532416ED712B2ACF83441649FAB8D8A5532417889803DADF8344140F232E2875532419839F18AADF83441E878F62C855532413976C499ADF83441C0799273825532413888DB69ADF8344114D7ABBB7F55324192B299FBACF83441945CE40A7D553241BC64E34FACF83441B814CF667A5532415B611C68ABF8344158BCE4D4775532412EDD2446AAF834411C6C785A7555324191B73BE0A7F83441FC443DEC70553241D2957841A5F83441ACBCAC9E6C553241124A976BA2F8344178B19F7468553241931E78609FF834411082D7706455324124981E229CF83441E83AFC9560553241C720B0B298F8344134D49AE65C553241B51E85AB85F834418048BF3D48553241162D35E081F834414C972108445532418C911F257EF8344190501BC43F553241D8017B7A7AF834418C02EB713B5532418F427DE076F83441880AD0113755324126245B5773F8344120920AA432553241C67F48DF6FF83441AC8BDB282E5532417469036A6EF83441D42BAC552C5532418CB20AEA6CF83441D4123E8B2A55324144E8925F6BF834412CFECFC9285532416407D2CA69F83441C4709F11275532413C75FF2B68F834415CA9E86225553241D0F7538366F83441D49AE6BD235532414A5542AB63F834410043AAED205532415B7045FA60F834411456F5F71D55324195424A725EF8344194F8E5DE1A553241556E20155CF83441109BB3A41755324103F378E459F834416863AD4B1455324161F7E4E157F83441848638D61055324161658F2756F83441C877D1FA0D553241A2E7288654F8344108BBE7100B55324183362BFE52F8344180D554190855324188A1089051F83441FC47F61405553241FDED2B3C50F834413C4EAD0402553241B837F8024FF83441009E5EE9FE5432418A7CD0D34DF83441A0923A01FB543241A067B30A38F83441BC172613FD553241A1A2233937F8344120B9FCC706563241A56054D23DF83441E4141DA90B563241073D9B3544F8344138C6DC7510563241828CB98B4AF834417458A85515563241F8A9F1D250F834414839B4481A5632419D45B6F356F83441AC8251691F563241495986D85CF8344148E17AD424563241A223B9BC62F8344194DB68402A563241DF0209EA68F83441385EBA492F56324106F9A0A76FF834415C05A39233563241E9AE258476F83441FCB27BB237563241C74B37C97CF8344114363C9D3C563241FA97DDB382F83441A49BC400425632418241602589F8344144E483BE46563241A6BDC1F78FF8344174AA60344B5632414B257522DFF8344138BB278FD3553241203867C4DDF8344188A0F871DB553241D668006FDDF83441C0C3426DE355324177A52CA3DDF834418C33A274EB55324120FDF6D5DDF83441B0C8767EF3553241B1FA5C8DDDF8344194D2DE80FB553241E3B584DCDCF834415C764F7E035632414C598618DCF83441707EFB7A0B56324104000080DBF83441341AC07B13563241E595B2ECDAF834418CE4F27F1B5632410F0BB586DAF83441D000DE8223563241CED556ACDAF8344184DB68802B563241A31A2FFDDBF8344144204171335632411CFDF615DCF83441EC56EC6F3B5632410A8195C3DBF83441703D0A77435632418C28ED2DDBF83441089A087B4B563241B0E1E955DAF83441580E2D7253563241D6E76A8BD8F83441904160455B5632415A17B751D6F83441840F7A166356324192559F4BD4F83441A49318446B56324166226C58D1F8344154FAED8B725632418AA7578ACBF8344168E5D0027756324193ED7C1FC3F83441B496906F7856324172C5FE32BBF83441E81114FF78563241B203E72CB3F83441D8BE0EDC785632412397FF30ABF834418CCE889278563241B3E1E935A3F83441C0EC9E3C78563241E0B5843C9BF83441E49C11C577563241139E5E4993F834411C76E01C77563241DC4603588BF834410CA3923A7656324157CA326483F83441D4073DFB74563241AA0A46C57BF83441A013D0C4725632412CE4837E74F83441AC1C5A846F5632414C7424776DF83441BC2A18956B563241F7A067D366F834414862101867563241361AC09B60F8344168894120625632414794F6A65AF83441904AEAC45C563241750B24E854F834416C82E22757563241394ED1514FF834416CA7576A515632410244FA8D4AF83441049A08FB4A5632413E8B6CA745F83441287E8CB9445632419CF831863FF83441B8A679A73F563241E5D9AC1A39F834417436ABDE3A56324179F2B03033F83441F43A708E365632417A36AB1E16F83441F8B9DAEA8E5732410088F41BA5F93441F0AE2564B05732419C11A51D34FB34411C3FC6DCD1573241EF1FD2CF55FB3441ACBFECFE3F563241AD0C71EC59FB3441444547F20E563241A023B91C54FB34415829CB500D563241B08DD13852FB3441D0A608AE0C563241552AB05850FB344188C174000C56324191E0927C4EFB344158DA25480B563241C212B7A44CFB344188B433850A563241DA9659D14AFB34416C72B7B70956324182AEB60249FB34413C92CBDF085632417AE6B5F845FB3441E8134C84075632410ECCE1E842FB3441B49525360656324174FD74D33FFB3441601571F5045632410E84AAB83CFB3441708E46C203563241E7CFBD9839FB3441A0F9BC9C025632416BB3EA7336FB34418C4AEA84015632417A8ED42032FB344110F240C9FF5532418702AFE72DFB3441DC29ABD1FD55324172A8B7CB29FB34419C5CAB9FFB55324108B515D025FB344178C7F034F9553241888DD7F721FB3441EC2F5693F6553241666FF0451EFB34410076E0BCF3553241CF2166A91CFB34419892A288F25532412F2A37051BFB3441407CE55EF1553241FDF8A75919FB3441D4B1D93FF05532413B32FEA617FB344148F4AD2BEF5532411FA280ED15FB3441383F8F22EE5532418B31772D14FB344170C1A824ED553241BFFD247312FB344134D7FC26EC553241602CCEC010FB3441A02BE11BEB5532418732DB160FFB344148FC9503EA553241C680B2750DFB3441CCB15EDEE8553241696AB8DD0BFB3441E0D081ACE7553241860D4F4F0AFB3441ACE8486EE65532412EFC0A6409FB344194EB9D79E5553241FFCB878808FB344110C1B876E45532413543A1BD07FB34415C9D9C66E35532415686220407FB3441CCEF594AE2553241C84CC55C06FB3441A4510D23E1553241E82631C805FB3441C869DEF1DF553241EACD0C0303FB3441349F9DD9D9553241D9D00F6900FB3441F8D775AED3553241DE04BBFAFDFA3441148F9871CD5532411ACD86B8FBFA3441D8AC3A24C75532417603E3A2F9FA3441504A94C7C0553241EAE236BAF7FA34410876E05CBA55324188A36834F7FA3441C007706CB85532412CBD34BAF6FA344170010479B6553241FD2BAC4BF6FA3441DCCCE182B4553241D84CDEE8F5FA344168344F8AB25532414BDBD891F5FA34417059928FB05532419EEFA746F5FA344100AAF192AE5532417C512CA0F4FA344118683AA0AA553241105EF9B7F3FA34418CB98EBAA6553241F8610D8FF2FA3441FC3E33E6A2553241DF8BAD26F1FA3441E8A259279F55324161886480EFFA344184011C829B553241BAD1009EEDFA3441146C78FA97553241A8DC4513ECFA34412844B0029555324113FE08A0EAFA3441A0D827FF915532412BA9A344E9FA34411C1099F08E55324186926901E8FA3441D479C0D78B553241DC9BA8D6E6FA3441B41E5DB5885532415BC1A8C4E5FA34413055308A85553241040821B5E4FA34419023916082553241BB0A9885E3FA3441587464427F553241BCE68836E2FA34414005EE307C553241A6827BC8E0FA3441246C6C2D795532411A57043CDFFA34417895183976553241CA32C491DDFA3441084625557355324148441031DCFA34417CC2B30A71553241FA5A4CE0DAFA3441F4B5F6B66E5532412321B79FD9FA3441D0FA5C5A6C553241203E8C6FD8FA3441101257F5695532414B4B0450D7FA3441040E5788675532418AC95441D6FA3441847CD013655532417A5D3B38D5FA34410CBC4C936255324179B64906D4FA34416C3F422560553241475DC7ACD2FA3441C4F64ACC5D5532413336262DD1FA34415042EA8A5B553241FCF40089CFFA3441A8418A6359553241286519C2CDFA3441DC3D7958575532419F317FE8CCFA3441BCEDC855565532413F198C1CCCFA3441E4943348555532411082CB5ECBFA3441A475713054553241EB1DBFAFCAFA3441F8C6410F53553241EC91DE0FCAFA344188306AE5515532417824977FC9FA34418445B6B350553241CEE25E1CC9FA3441A04029C44E5532413B8682DDC8FA34416415B3CE4C5532419C8C57C3C8FA34411CC3FDD54A553241AF8C01CEC8FA344164B3B7DC48553241A00572FDC8FA3441841490E546553241AA726851C9FA3441503333F344553241D3B2A4AAC9FA34414C64B7ED42553241840927FFC9FA344188A070E74055324184A9ED4ECAFA344130F469E03E55324164DFF699CAFA34417470AED83C5532419C1141E0CAFA3441EC2949D03A55324182C0CA21CBFA3441D43845C73855324102A42C68CBFA344188020E7B37553241766E12C5CBFA3441E03C6B343655324180290D38CCFA3441080FE3F434553241877E93C0CCFA34410C24F3BD33553241C65A025ECDFA3441D4E20E91325532412FB29D0FCEFA344124B29D6F31553241BC7EEA9ACFFA34418C04DC3E2F55324174C7C531D1FA3441F4356E162D553241A4A602D4D2FA3441783C91F62A55324130F57281D4FA3441281C81DF285532416F4FE739D6FA344190E078D126553241A41A2FFDD7FA3441CC95B2CC2455324119ADCA9DDAFA344130E195C62155324178355523DDFA3441641EC3A91E553241D8860A8DDFFA3441A0732C771B553241B3E92EDAE1FA34410CA4CA2F18553241B2540F0AE4FA344120C59CD41455324176A3011CE6FA344184EFA76611553241BC29F57AE7FA3441A080A30D0F553241F14E13DEE8FA344190E012B70C5532410CB05745EAFA34417474FD620A553241E2DCBDB0EBFA344134996A110855324148584120EDFA3441C4A361C205553241F597DD93EEFA3441B4E1E9750355324122A519FAEFFA34410CC9653A0155324140FF1D3BF1FA344138522DE9FE5432411C5B9B55F2FA3441A817AC84FC5432411CAB6A48F3FA344108D8610FFA54324180538E12F4FA34415CDADF8BF7543241313333B3F4FA3441043FC6FCF4543241F827AFBFF4FA3441CC5CA8F8F2543241C24451AAF4FA34413812D5F4F05432413D0E3173F4FA3441382284F3EE54324173318B1AF4FA34415C8DEAF6EC5432414E41C1A0F3FA344194223801EB543241F44A5906F3FA344144189514E954324136302A68F2FA34411897951CE7543241DD45F4CCF1FA34413CA4A923E554324149EDB834F1FA34419CBDD529E35432411881799FF0FA3441B0621E2FE15432411B55370DF0FA344118158833DF54324148B6F37DEFFA3441E8581737DD5432411A9E32F2EEFA3441ACAEFB43DB54324112C6644AEEFA344154F59759D954324178261487EDFA344148607F79D75432411E56E1A8ECFA344168AC3CA5D5543241770683B0EBFA3441E8DB50DED35432415F6DC59EEAFA3441A0F83126D254324107E5CBC3E9FA3441E0ABAC36D1543241F3E67BD5E8FA344150AC625AD0543241C64E84D5E7FA3441983FE292CF54324157E3B3C5E6FA3441441694E1CE5432410912F6A7E5FA3441B4BFB847CE5432415E764F7EE4FA3441746666C6CD543241EEA95495E0FA344158153098CC543241F320E3A1DCFA34413824188FCB54324113195BA5D8FA344104E57AABCA54324122FA1FA1D4FA3441509CA7EDC954324174DA9796D0FA3441C065E055C95432410E022B87CCFA3441CC1C5AE4C854324179F863DEC7FA3441F4D3E216C9543241BCE89D3DC3FA3441D052CCA9C9543241E41F9FACBEFA344128CD1F9CCA54324180691333BAFA3441802D46ECCB543241732C7FD8B5FA344140C10A98CD54324159CA32A4B1FA3441C8EC9E9CCF5432418C0D0457AFFA344134E01600D1543241455C4623ADFA3441704AAA8AD25432414624910BABFA344130D2883AD4543241EBD55A12A9FA3441543AB60DD65432410FFEF539A7FA3441BCB80C02D85432416F8A8E84A5FA3441F47C3F15DA543241622C4A7FA4FA3441FC5D95D6DB543241DA01409AA3FA3441CCB22BA9DD543241F80B92D6A2FA344194B3B38ADF543241840E3835A2FA344150ACCB78E15432413656FEB6A1FA344198000271E3543241DFB5845CA1FA3441E044D870E5543241498C0403A1FA3441A021DDC4E8543241A45AD8DBA0FA344160B6AC1CEC543241F0EE22E7A0FA3441A8A14E75EF543241E140DA24A1FA344168C7C9CBF2543241F47AC794A1FA344174F4261DF6543241FF2A8736A2FA3441D8817366F954324170A7BBBBA2FA34411C0725A5FA543241A8762A3CA3FA34411C7FCAE5FB5432410245CCB7A3FA3441349F5128FD543241E5049A2EA4FA3441B000A86CFE5432413AEF8CA0A4FA34412423BBB2FF543241E4839E0DA5FA3441346C78FA00553241202D5220A5FA3441EC9AB04C025532413B213C1AA5FA34417C0E5F9F03553241F2B864FBA4FA34413853B3F004553241963FF6C3A4FA344160D0DE3E065532413EB93C74A4FA3441E442178807553241767AA50CA4FA3441C43099CA08553241FA18BFA1A3FA3441949AFEC20A5532414784D34BA3FA34416C8A62BF0C5532412379080BA3FA3441ECB5E5BE0E553241CC6C7ADFA2FA3441F072A7C01055324191803CC9A2FA34414C1BC6C312553241427958C8A2FA3441D86F5FC71455324146C3B6C9A2FA344158DD3AC9185532410AF0BAA8A2FA344104BF8ECA1C553241F0776E65A2FA344110AF34CA20553241B6ADE4FFA1FA3441D4C206C724553241E1B83A78A1FA3441A0DFDFBF285532414F8D97CEA0FA3441E40E9CB32C553241262E6832A0FA344140AC6D4E2F553241556EAB8E9FFA344144DD6EE7315532411EB266E39EFA34412CBC897E345532411E9D9F309EFA3441C073A8133755324144125C769DFA3441403FB5A6395532419E33A2B49CFA3441506B9A373C553241C40ACE4B9BFA34411486B5604155324116A293FF99FA3441ECB64B9146553241569B1AD098FA3441AC80BEC84B5532412A2A87BD97FA3441F0946E0651553241B30FFAC796FA344134E6BB4956553241B69690EF95FA344100BC05925B55324180D9055995FA344120CD92895F5532412EF266C694FA3441A4B1B28163553241E26FB43794FA34416489617A67553241F3DDEEAC93FA344194739B736B553241F0C3162693FA3441A08E5C6D6F5532417CA52CA392FA3441E8F8A06773553241BFE9062E92FA344114D910BC76553241A7A020C791FA3441B0FD56127A5532410822816E91FA3441BC70366A7D553241C5C02E2491FA3441681F72C38055324196CA2EE890FA3441D0DDCC1D845532418E8785BA90FA3441B06B097987553241EEB8207F90FA3441CC87FE1D8A5532417A57C21890FA3441202DCCBD8C55324163B3D4878FFA344180ABB8558F553241D24FEECC8EFA3441A48112E391553241A546D1E88DFA34415829336394553241FB7E6ADC8CFA3441D4D781D3965532417EF4E4B489FA3441E80D91BF9C5532414E8E6F2286FA34418C9FA06DA25532416498C62982FA344120E728D6A75532419CDB2DD07DFA3441C06BFEF1AC5532412CA3691B79FA34410C625BBAB15532415917B71174FA34412CA7E828B6553241A6FBEE6A72FA3441B89A0661B7553241618ACCAD70FA3441201F5778B8553241BBEFD9DC6EFA3441C43B426DB95532419448BEFA6CFA3441BC34623EBA55324153C2390A6BFA3441209685EABA5532414C96210E69FA34417CF2B070BB55324161DF9F1C67FA344188EEE884BB55324109C9192B65FA344188B01D71BB553241D9D1C53C63FA344124F16F35BB553241F22FD55461FA3441785942D2BA553241E7896E765FFA3441F8DE3848BA55324157C1A8A45DFA34419CB43798B9553241EBC005215BFA3441BC39B48AB8553241A5CC5EA058FA344124B92B76B7553241997DC72256FA3441B8A8A65AB6553241D25453A853FA344118B52D38B5553241E5BA153151FA344190C0C90EB455324130FF21BD4EFA344128E483DEB25532411CAAAA9C4DFA34413C2F712FB2553241AC94A38D4CFA3441882C6D66B15532412A2860924BFA3441C0763185B0553241726208AD4AFA3441CCDCAC8DAF553241651994DF49FA3441B021FF81AE553241F0A7C62B49FA34418C537464AD553241CAC6BB8D48FA3441E0FFDD32AC55324106074BF647FA34411C77F4FDAA553241904E866547FA3441A83BDCC5A955324187B97EDB46FA34410030BA8AA85532410998445846FA3441E892B34CA75532418D6CE7DB45FA34412CFAED0BA65532414C4DCD1945FA3441C0CCCC2DA45532410B0E815544FA344150549150A255324194BE038F43FA3441CC253E74A0553241D77156C642FA3441DCD4D5989E553241A53D7AFB41FA3441C8F35ABE9C553241F53A702E41FA3441A813D0E49A55324113D3638340FA34416812E0FD9855324183ED92F13FFA3441E4CBCB0E97553241FC0D60793FFA344144BAE118955532417B691C1B3FFA34416CF7741D935532418FAF07D73EFA3441B054DC1D9155324138DF4FAD3EFA34418875711B8F5532411AC0BC6D3EFA3441F04494CC8B553241EE5DB0DC3DFA3441E48DCF878855324154BA85FB3CFA34419827F554855532416E8257CC3BFA3441580DAC3B825532417606FB513AFA3441740F5E437F5532414A72F98F38FA3441D41726737C5532410FAE598B35FA34417C52C10478553241F253BB7632FA344180006CA173553241CCEA46522FFA344114DC5F496F553241DBC9251E2CFA3441FC0AD6FC6A553241801682DA28FA3441941B07BC665532412CC2868725FA344110022B8762553241F71E017A23FA3441C05F8DE55F5532412161CF7B21FA34419C1541385D55324118FE338D1FFA344138689F7F5A5532417F636FAE1DFA3441181603BC57553241BBEEBFDF1BFA3441EC4BC8ED54553241FAE461211AFA34415C984C1552553241A886585916FA344118FEDC914C553241C0275A6412FA34411081562E47553241BCDC73430EFA3441549227EC41553241DE63BEF709FA3441B0C7B5CC3C5532415EDA5D8205FA34417C7C5DD137553241006F81E400FA3441987571FB32553241DBD323F7FEF934417C0A762D315532417DBF94EDFCF93441F8CF8F7F2F5532412657E9C9FAF93441E83876F32D553241F470518EF8F93441C02BBE8A2C5532418557153DF6F93441F063D8462B553241C17493D8F3F9344150F90F292A553241DE1BC95BF1F93441D4A1892729553241381845E7EEF9344144DF6D12285532410A8DA17BECF9344108A700EA265532413D707619EAF934418CAB8AAE25553241306559C1E7F93441C449596024553241F797DD73E5F93441C876BEFF22553241279EF5DBE3F93441C4D36AC021553241BDC7D946E2F9344174908C7D20553241C3F391B4E0F934417CF229371F5532412EF32525DFF93441845149ED1D553241BC889D98DDF934416816F19F1C553241D968000FDCF9344130BB274F1B5532414F8AA8EAD9F934410C38C3C619553241F9C8D5A7D7F93441A840E86C1855324154C6784AD5F93441B481F143175532416563B0D6D2F934411874E44D165532413692C250D0F9344110DA6D8C15553241BEE314BDCDF93441A8D2DE0015553241B4AFF66FC8F93441B850DE3A145532410646171CC3F934411C138FAA135532418B3F96C3BDF93441049E2A5013553241990D9568B8F934418CF8D42B13553241B120360DB3F93441149E9C3D13553241C40E9CB3ADF934416C787A85135532414CA383B0A9F93441180382021455324164269CB3A5F9344170DEC4AA145532410A38B7BEA1F93441784CF67D1555324101D1A2D39DF9344164FAB57B16553241287028F499F93441B02C90A317553241B6490C2296F93441B8F3FDF418553241A50C28BA93F93441CC842D011A553241D0175A6F91F9344194B524481B5532411D483A478FF93441C8B1C5C61C553241DEDA0B478DF934411CD26A791E5532416096B0738BF93441A882EF5B2055324178E09CD189F93441405EBA6922553241E45C918F87F934411CD69AC825553241A98BC77D85F934416832EC4529553241E0B9D89D83F93441944BFCDE2C5532415CB037F181F93441888A03913055324101952F7980F93441500E2759345532411DEBE2367FF9344148E17A343855324166E80E9A7EF93441E08ADD1E3A553241401777F37DF93441882305063C553241EF7C2C437DF93441A4E5BFE93D553241701C41897CF93441BC64DCC93F5532418EF4C7C57BF93441C49329A641553241F4FDD4F87AF93441B0C8767E435532418A40740B7AF934419481B04245553241DC2A8B0979F93441481687FB465532411B44A5F377F9344128090CA848553241B3E358CA76F934417C8657474A553241ECDF468E75F9344118E288D84B553241DE361A4074F93441C010C75A4D553241F6CA639271F934413017F85850553241FA71E5DF6EF9344110D5DA5253553241D717A6286CF9344114A76748565532418FB4AC6C69F9344184F5963959553241674C00AC66F934418C3361265C553241A2EFA7E663F93441ACDFBE0E5F5532418A028BE661F9344158188ABD615532410954E3FB5FF9344164DCD27B64553241F3C128275EF93441409AED4867553241C2CECD685CF9344158222B246A553241C4853FC15AF934412CD0D80C6D5532413E60E53059F9344180B740027055324157AF5FC955F934414C26BBC175553241D4A317E851F9344134A1EB317B553241D7B438944DF93441F48EC54880553241E118C2D548F93441B86BE1FC84553241B9FE77B543F93441502B8E4589553241865AD33C3EF93441B447E11A8D553241215748DC3AF93441A07C613B8F5532416E83157237F934417C973D4C91553241384E83FE33F934416CC6494D935532410EEDDA8130F934412C875B3E95553241565666FC2CF9344164AA491F97553241FA3A706E29F93441DC56ECEF98553241757D361724F93441AC3198AE9B553241145CDAB51EF93441D4DA2F599E5532418652A74A19F9344198E98DEFA05532418166E9D513F9344158118E71A3553241A223ED570EF934413C230DDFA55532412997FFD008F934411010E937A85532410EDF01B405F9344130CD8B63A9553241B8CAEB8B02F93441B8E9D26FAA5532410F11F959FFF83441F094555CAB5532414B43691FFCF83441C867B728AC5532414B507FDDF8F834412488A8D4AC5532412C068195F5F8344120C9E55FAD553241726891CDEBF8344154EC2F5BAF553241A7CFD516E6F8344174E7FB09B4553241B7490C02E4F834414497FFF0BB55324199658883E2F83441548638D6C355324180D93DF9E0F8344180ABADB8CB5532414B257522DFF8344138BB278FD3553241030000000200000000020B020000026B02000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(1467880 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1468113, N'{FDEB8A4C-8812-4A0F-BDC5-C9E72EEF632B}', N'003587398', 631701, N'PGP31371', 90054401, N'3587398', NULL, N'759-042355.100', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'', N'', N'LOT A DISTRICT LOT 1998 PEACE RIVER DISTRICT PLAN 31371', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:29:35.000' AS DateTime), 80843, 1194, 0xBD0B000001040700000058522720875034418CBB96F0361033416844696F57503441EC0FE9D7441033415E4BC88746503441D44D6290FD103341BA15FBEBD8513441E0D781131A11334157643BDFE75134415C9621EE501033412E4CA64AA15034411C88F4DB3810334158522720875034418CBB96F03610334101000000020000000001000000FFFFFFFF0000000003, CAST(1468113 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1469166, N'{ABAB5124-B698-4403-BBD9-7C674D9C1483}', N'006081100', 3, N'NO_PLAN', NULL, N'6081100', NULL, N'7079067000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART 7711', N'', N'', N'DISTRICT LOT 7711 KOOTENAY DISTRICT EXCEPT PART INCLUDED IN SRW PLAN 14293', N'0163', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:21:14.000' AS DateTime), 459334, 3933, 0xBD0B0000010443000000ECF44A5930F83841F0EEC94376F01D41C042AD6931F83841003A924B61F01D4100098A7F32F83841C0F97E6A4CF01D4161C3D3AB33F8384110E4839E37F01D41DC5F76EF34F83841604160E522F01D413A5EBA4936F83841A013D0440EF01D4108A392BA37F83841E0A370BDF9EF1D41FA4C84AD38F838418005A312EDEF1D41CBB359952DF83841A095D409E8EF1D41ECF44A5930F83841F0EEC94376F01D41B615FB4BC2F83841B064AA6093F91D411985EBD1C3F838410046B6F364FA1D41C498BB56B3F83841D017265358FB1D41ECC039E3AFF83841303EE859A4FB1D415B7DAEF6A9F83841300C022BC7FC1D411651DAFB90F93841B064AAE03CFD1D415824EE9C90F93841805659A238FD1D41AC77BA2E90F93841D0275D7B34FD1D4196779AB18FF93841104A256F30FD1D413AA9F5258FF9384180090B812CFD1D41D5943F8C8EF9384180C74EB428FD1D41FF65F7E48DF93841C04C150C25FD1D41B87C3E1A8BF9384110C2E8A013FD1D4168FF5A4588F9384130E8115002FD1D4140745C6685F9384160AEEF19F1FC1D41D498527D82F93841E070E0FEDFFC1D41DA614D8A7FF93841E0F741FFCEFC1D41ACFA5C8D7CF93841F075711BBEFC1D41AAF1D2CD4EF938419026C206BEFB1D41F35C5D7941F9384140C6C93170FB1D410196E2EA34F9384120C5D35420FB1D4104C6542729F938412043558FCEFA1D41C22756331EF9384170CE83017BFA1D417C34371314F9384130B348CC25FA1D41D4F0F4CA0AF93841E0043411CFF91D41C954C1E8D0F83841203108ACDEF71D416B88635DD3F83841806891ED0CF81D411EA7E868C4F83841407B83AFF0F81D41B615FB4BC2F83841B064AA6093F91D413EF163CCC0F9384140EF38C5D0FC1D4180734694B2F9384110651962A0FC1D4152158CCAC4F93841B07EFBBA51FD1D41071214DFC4F9384100F7756057FD1D41A0B437D8CAF93841B0FB3A705AFD1D418ACB7F4803FA38413040A45F76FD1D413EF163CCC0F9384140EF38C5D0FC1D41AA13D0640CF9384160EC2FBB48F81D41DAA59B0441F93841C0A982D17EF81D412AC2866780F9384110A69BC4B7FA1D41AE0C712C9FF93841401CEB62E3FB1D41792497DFB0F93841E06E818431FC1D4102DE02A9CCF9384140764F1E90FC1D41DAACFA7C32FA3841F0EBC0B98DFD1D41F80FE937D9FA3841905AD33CE0FD1D41B2D85F1632FB384180545227CFF21D41DE7A144E3DFB3841A069DE7169F11D4162C3D34B56FA3841F0B6627FF5F01D414CDA1BFC94F83841301DC9651BF01D41AE47E11A6DF83841A013D04438F11D41064A53356DF83841108F7E527CF11D41894A9F7A6EF8384110AED62FC0F11D4151953CE970F838414018EB8A03F21D4160893B7E74F8384130B66B1246F21D410A24493579F8384140DD077687F21D415A39B4087FF83841C041CF66C7F21D4132DD244699F83841D0EBC039EBF31D41AA13D0640CF9384160EC2FBB48F81D41040000000200000000020A0000000227000000022E00000005000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003000000000300000003, CAST(1469166 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1469653, N'{9BA07D63-28B6-48F5-ADAA-7FC947A0588C}', N'000017515', 645957, N'VIP1279', NULL, N'17515', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 10', N'Block 3', N'', N'LOT 10, BLOCK 3, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:50.000' AS DateTime), 383, 96, 0xBD0B00000104090000002341F123839D30410087A75756BB1C41E07A140E869D3041305452A756BB1C41D9D78153869D304160226C782EBB1C41AC946568819D304130B30CF12DBB1C4132772D61819D30410020D2EF2DBB1C41723D0A37609D304190F4DB572ABB1C41580E2DF25F9D3041304BC88752BB1C41DCB5841C839D3041F061A15656BB1C412341F123839D30410087A75756BB1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1469653 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1471414, N'{27392FC7-CB90-456E-8363-1312017A9B15}', N'013843109', 295346, N'PRP974B', NULL, N'13843109', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 16', N'Block 42', N'', N'LOT 16 BLOCK 42 DISTRICT LOT 851 CASSIAR DISTRICT PLAN 974B EXCEPT PLAN 7772', N'0163', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:19:41.000' AS DateTime), 244, 85, 0xBD0B0000010405000000549FAB2DC7502B41C4F5285CE360314115FBCBEEC6502B415C204151D7603141B0ADD85FB2502B41047C61D2BE6031410E1B9E1EB3502B41D8C56D74E3603141549FAB2DC7502B41C4F5285CE360314101000000020000000001000000FFFFFFFF0000000003, CAST(1471414 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1471855, N'{BC521965-C669-4ED8-BBD0-3F5F7D2F4131}', N'003212548', 475979, N'KAP33358', 90053467, N'3212548', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'', N'', N'LOT A SECTION 9 TOWNSHIP 20 RANGE 8 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 33358', N'0163', N'0012', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-19T18:27:30.000' AS DateTime), 2538, 219, 0xBD0B00000104050000001B41F143FEBD3641A06ABC747EF923414950FCF804BE364140AD695EF5F82341DA9AE65DC2BD3641380C022B11F923417824973FD7BD364148D5E76A4BF923411B41F143FEBD3641A06ABC747EF9234101000000020000000001000000FFFFFFFF0000000003, CAST(1471855 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1472447, N'{5B685E1E-3D99-45CE-97A6-49EC41BE452C}', N'023068132', 1175783, N'LMP23121', NULL, N'23068132', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', CAST(N'2004-11-16T00:00:00.000' AS DateTime), N'Lot 3', N'', N'', N'LOT 3 OF THE NORTH EAST QUARTER AND NORTH WEST QUARTER OF SECTION 33 TOWNSHIP 1 OF THE SOUTH EAST QUARTER OF SECTION 4 TOWNSHIP 2 AND OF DISTRICT LOTS 160 AND 450 GROUP 2 NEW WESTMISNTER DISTRICT PLAN LMP23121', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:38:13.000' AS DateTime), 711136, 4531, 0xBD0B00000104B30100005852278090C9324110014D040DEC1B413FBD5216ACC93241D09E3CAC03EC1B413992CB3FD3C932411085EBD1F6EB1B4100197317DAC9324100D04458F5EB1B41B9A679A7E1C93241A0201FF4F4EB1B41703D0AD7E6C9324160749398F5EB1B41754F1EF6E8C93241404625F5F5EB1B41E9E236FAEDC9324140B6F37DF7EB1B41C732C4D1F2C93241A03E575BF9EB1B41F74A5946F9C93241F0C3422DFDEB1B4118E258B701CA3241C08173C602EC1B41298716190BCA324190B0E1690AEC1B41794F1E161CCA3241C0C8E5BF1AEC1B41297E8CF92ACA3241B0E6AEA529EC1B4161E5D0E235CA3241706B9A7735EC1B4124F6973D3FCA3241F0BCE39441EC1B41575BB13F71CA324100EE7CBF87EC1B4136AB3E77A5CA3241A0F90F69D1EC1B415D07CEF9D8CA3241102EFFA11AED1B4102917E1BE4CA324190C6DC352BED1B41644BC807EDCA32415012834039ED1B41C84B3769F3CA3241A099991944ED1B41D0D556CC06CB3241004F1E1666ED1B413480B7400ECB324130C139A373ED1B41381AC01B41CB3241E0D478E9D0ED1B4143FAEDCB71CB3241F0DD02892CEE1B41D316C2EF73CB3241A03CA56F2FEE1B41AE507C1B76CB3241D0AE8BF131EE1B419975F44D78CB32415015600D34EE1B415ABBFE857ACB324130B702C235EE1B41BC5F6CC27CCB324140DB8A0E37EE1B41B9490C027FCB3241604547F237EE1B41959351737FCB3241201E85A737EE1B41026099E37FCB324140E1CC4737EE1B4192A7A55280CB3241607153D336EE1B412D1139C080CB32418026594A36EE1B41F013172C81CB3241C0AC29AD35EE1B419118049681CB324180DA1BFC34EE1B41B66B72A283CB3241B0720F8A2FEE1B41AE30679485CB3241606B7C8429EE1B413AB64B6987CB3241805466F322EE1B41BFF8AF1E89CB3241B0698ADF1BEE1B41CAE04DB28ACB3241C0EF535214EE1B41B6490C228CCB3241F0AACF550CEE1B41E86A2B3690CB3241A0D409E8F4ED1B41AF25E48392CB324150014D04E6ED1B418189C3E393CB324110A478DBDDED1B414A3BD26F95CB3241807A4B35D6ED1B4104360C2597CB32419084AE20CFED1B41DB341D0099CB3241A0036FABC8ED1B415B3067FD9ACB3241909523E2C2ED1B41B56B09199DCB324150A913D0BDED1B414EEFE5B29FCB324150F61F2EB9ED1B410577E15EA2CB32415019993EB5ED1B41B601001AA5CB32410078E405B2ED1B41D5A534E1A7CB324120449B87AFED1B41CAF964B1AACB3241107486C6ADED1B41418B6C87ADCB3241E0A59BC4ACED1B41F5FB0734B1CB3241A03F213EACED1B41211A3CDFB4CB32412007B133ADED1B41D85B767FB8CB3241D045CAA2AFED1B41C3DA400BBCCB324160371385B3ED1B41F3025B79BFCB3241909A69D0B8ED1B4117B7D1C0C2CB3241D021FD76BFED1B417789C324C5CB324150842CFDC4ED1B41476BB969C7CB3241F0B9EC46CBED1B412ABACD8BC9CB3241D0787149D2ED1B41C9B95687CBCB3241602DB1F8D9ED1B410DDEEC58CDCB3241A0A77947E2ED1B41D6A370FDCECB324140C28627EBED1B4106218716D0CB3241E0D2AB5CF4ED1B4199BB600BD1CB3241E0F2A2D1FDED1B4132EB16DBD1CB3241A0B9847D07EE1B41DE1EE684D2CB3241300D365711EE1B4164752E08D3CB3241B0AE70551BEE1B4192537464D3CB324170FBCB6E25EE1B41FFFFFFBFD3CB3241103480373FEE1B419DD634AFD3CB324120C58FB171EE1B41F5C264CAD3CB3241F05B20C187EE1B41C1CAA145D4CB3241006E3400A4EE1B41B86A066DD4CB3241C0F30B6AABEE1B41B8E24FBAD4CB3241E08428C1B2EE1B41CBF0FE2CD5CB3241001274F9B9EE1B41A3BF56C4D5CB3241B0460B07C1EE1B41561D5E7FD6CB3241402151DEC7EE1B41B715E15CD7CB3241A00F0274CEEE1B4192ED725BD8CB3241207B46BDD4EE1B41F17A7079D9CB3241F0A3C4AFDAEE1B4190D702B5DACB324170AAB141E0EE1B410C68220CDCCB324130B0E169E5EE1B418A263479DDCB3241A0022330EAEE1B417882EDF0DECB3241C0F796C1EEEE1B41AA5AD472E0CB3241406EC11CF3EE1B410A3F6BFEE1CB324140E93740F7EE1B4158993193E3CB3241D008A22AFBEE1B4107D7A330E5CB324150F5B9DAFEEE1B419E33A274EACB324140D578E909EF1B4191976E92EFCB3241A08863DD14EF1B41A249A76FF1CB32413021820C19EF1B41CE10613EF3CB32412027F89C1DEF1B4195875EFDF4CB3241F01FA48B22EF1B41B0136DABF6CB3241D0F023D527EF1B4136B86547F8CB32417033D7752DEF1B410DE02DD0F9CB324150B0E16933EF1B413C9B55DFFDCB3241F0891F6345EF1B417FB7406201CC3241A075711B56EF1B41AB60543205CC324170B81E856AEF1B41B0B6629F08CC324150DFE08B7EEF1B412AA089900BCC324160D3BCE391EF1B41F43A70CE0CCC32410068226C9BEF1B41FA285C2F0ECC3241309CA223A8EF1B4140A4DF7E11CC3241F0277E8CCEEF1B415F5DDC6615CC3241D00E9CB302F01B4100B37BF218CC32411083C0CA37F01B418816D94E1DCC3241E08F31777EF01B41F0A7C68B20CC3241B08251C9BAF01B413DE8D94C22CC324160371A40E4F01B41B9412CA722CC324170F3C318EFF01B410D7566E422CC3241D0691AFEF9F01B41901C6D0423CC3241C0773DEB04F11B4196E3310723CC3241207E49DB0FF11B410A8DB3EC22CC3241D08E59C91AF11B41B9F3FDB422CC324110A089B025F11B41C898BBF621CC324110B6847C3BF11B41AC2C437C20CC3241F002090A5BF11B418E06F0F61CCC32412044FAEDA1F11B411995D4291ACC32414045D8F0D9F11B4150158C8A16CC3241A0B0E16919F21B41AC4E407313CC324140F5B9DA48F21B4171D712F208CC324130E6AEA5DDF21B4193C2F5C804CC3241705EBAC91DF31B418A855AB300CC324180C4B12E60F31B4177BE9F7AFBCB324190FA5C6DBCF31B41C8E53F24FACB3241E0270F0BDAF31B4158643B5FF9CB32419012F2C1FBF31B41EC8C280DF9CB3241D0F7536322F41B41880D4F8FF9CB3241501058B962F41B4190B96BE9F9CB3241A0A8A44E78F41B41E8839ECDFACB3241E0CB7FC892F41B415A423EA8FCCB3241D0CB7FC8B4F41B412EC4B14EFECB3241B0CEF7D3CAF41B419899993900CC324180081B1EE2F41B41BE86A75702CC3241505986B8F5F41B419A081BDE05CC32412048507C0FF51B4193A0F87109CC32414046257522F51B4108AC1C5A0CCC3241205C20C12EF51B412A8716390FCC3241A00D4FAF39F51B4157EC2F9B14CC3241402FDDA44AF51B41E02D90001BCC3241900E2DB259F51B412B8716F920CC3241E068006F64F51B419F1A2F1D28CC3241F06644696FF51B4171B5151B31CC32418036ABBE7AF51B413E8B6CA73BCC3241202041F183F51B4105C58FB145CC3241309C332289F51B41A389B0214DCC324190703D0A8BF51B41B7490C4254CC3241E09B33228BF51B41EC9E3CEC59CC324160BE30198AF51B418AF12FA75DCC324180AC02BC88F51B41E55CCE5D61CC3241300908C486F51B41388E860E65CC32417098153284F51B4140B0C9B768CC3241F01D410781F51B41B4130C586CCC324140E9E0447DF51B4139D6C5ED6FCC3241B0438BEC78F51B41E9CDBB8F72CC324160EE74F974F51B410C74B32675CC324130DB179870F51B413A398CB177CC3241E01D5CCA6BF51B41ACD42A2F7ACC3241D0F5589266F51B4178BF799E7CCC3241D0E453F260F51B4140AD69FE7ECC3241A0B1BFEC5AF51B41C5293A3283CC3241C0D9AC7A4EF51B4128F6979D86CC324130295C0F43F51B4154A8358D8ACC3241A061C35334F51B4194900FFA8DCC324150287E8C25F51B41DD979BEC8FCC3241808809241CF51B411EC8ABC591CC32418009B26A12F51B41A5646E8493CC3241B057C76408F51B41FA591D2895CC32412013BB16FEF41B41F095FEAF96CC324160D71E85F3F41B41205A641B98CC32419033A2B4E8F41B41290681B59ACC32412003788BD1F41B41231FF48C9DCC3241302FDD24B0F41B41B19DEF679FCC3241404160E591F41B413108ACFCA0CC3241E01B7CE175F41B41C142AD89A2CC3241B00512944EF41B41B48D0630A3CC324170F6975D34F41B41B2BFEC5EA3CC3241A00F7AB619F41B41CE19513AA3CC324130BB9690FFF31B415D764F5EA2CC324140992A18E2F31B41D6F97E4A9ECC3241201FF46C86F31B41C4BAB8CD99CC3241B0FA5CED25F31B413EAD697E95CC32414007CE19D0F21B41BE0E9C7392CC324140CF665592F21B412B75025A8DCC32410041F1E332F21B41F9065F7888CC3241506B9AF7DEF11B410281FBFE87CC324190D46908DAF11B411EDB306B87CC3241A0EA1047D5F11B41B0EB10BE86CC324100415FBCD0F11B415D79DCF885CC32410027BF70CCF11B41D9E8001D85CC3241B010266CC8F11B41C897152C84CC3241F0D705B6C4F11B41FCE9D82783CC324150F03E55C1F11B41530E2D1282CC324180A91350BEF11B41721F350281CC3241D0C8D2E9BCF11B41E49221EE7FCC32416039F9B9BBF11B41356AA0D67ECC3241207F46C1BAF11B4124D061BC7DCC3241E0585700BAF11B4193A917A07CCC3241F061A577B9F11B41482575827BCC324190C28627B9F11B41BC36E7E87ACC3241002F2DCCB8F11B41D233B1517ACC3241F046903FB8F11B41348ECFBD79CC3241F0CA9A82B7F11B419028392E79CC324130318896B6F11B416CBADDA378CC32411098E27CB5F11B41EA3FA41F78CC324160348037B4F11B4176853AD676CC3241E0BCE0EFAEF11B4180D979A875CC324160C39844A9F11B410FF5429874CC32419051B03EA3F11B41638247A773CC324120D2BFE79CF11B413C6A07D772CC3241D0C6E04996F11B413670CE2872CC3241F0B19D6F8FF11B415096AF3E71CC3241408DBBCF84F11B41827C137770CC3241F0672C047AF11B4107987BD26FCC32410094F0136FF11B4152A852516FCC3241E02C200664F11B41D071ECF36ECC3241A07CE6E158F11B418F8785BA6ECC324130567DAE4DF11B41E8D9AC5A6ECC32418051499D33F11B4182A18C446ECC3241E06708E22BF11B4104B717426ECC3241106DD32424F11B4186184F536ECC324160B1CA681CF11B41ACD12B786ECC3241D0090EB114F11B4174FE9EB06ECC32415091BB000DF11B4150D191FC6ECC32413063EE5A05F11B4178872C7C6FCC324120579E72FCF01B41F141DA2D70CC3241701995C0F3F01B41A143341071CC324140186156EBF01B41E789712172CC324110BBFF44E3F01B4114676A5F73CC32417011BB9CDBF01B4160DC9CC774CC324190F2086DD4F01B412DAA315776CC324160C46BC4CDF01B41460C020B78CC3241003255B0C7F01B41F0834E4E79CC3241A0287523C3F01B41F63166AA7ACC324130A8240FBFF01B412D2F7C1C7CCC32413079CA7BBBF01B41B24896A17DCC324120CCC370B8F01B41A52193367FCC3241700A55F4B5F01B41A7A530D880CC3241E0F49C0BB4F01B4193BE128382CC324100108ABAB2F01B41E13FCA3384CC32417093D203B2F01B415BF9DBE685CC3241C0CCEEE8B1F01B4180E2C79887CC3241401E166AB2F01B4184C2E59C88CC3241C0586006B3F01B413C65259D89CC3241308FD4F3B3F01B41FD3AF2978ACC324140DEFB30B5F01B412C4EC08B8BCC3241E08EE1BBB6F01B417AB40E778CCC3241F02A1692B8F01B4170EE69588DCC3241B058B3B0BAF01B4123326E2E8ECC3241F06C6014BDF01B41AC9CC9F78ECC324150B257B9BFF01B41DB473EB38FCC324120616C9BC2F01B41E43FA45F90CC3241003411B6C5F01B41D8DED8A090CC3241F0CDF9CBC6F01B41D4BCD6E790CC3241106030CAC7F01B411E96143491CC32417063C9AEC8F01B414300FF8491CC324170D70A78C9F01B414387F9D991CC3241B0996F24CAF01B4102DC5F3292CC32413055AAB2CAF01B41F811878D92CC3241100AA821CBF01B41C0E9BEEA92CC3241901C9270CBF01B41D725534993CC324120F7CF9ECBF01B41FEE68CA893CC3241F03008ACCBF01B4140A5780694CC3241F02CDBCEC9F01B415114635C94CC3241004820DAC7F01B418BFAEDA994CC3241D0AAFCCFC5F01B41FF4CC4EE94CC3241F0F9ACB2C3F01B41F88C9A2A95CC3241D0DF8284C1F01B41A11A2F5D95CC32413082E247BFF01B41880D4F2F97CC3241E0CEF7D3ABF01B41575EF4B597CC32415076FE6DA6F01B419718B33298CC3241B0833BF9A0F01B413A4B71A598CC3241A06ED1769BF01B41AF19170E99CC32413085E5E795F01B41DDC08E6C99CC3241E0AE9F4D90F01B41AD9BC4C099CC3241E02F2AA98AF01B4193E4F2DF9ACC324170B7400276F01B41075F98CC9BCC324150984C1561F01B41F331E64E9CCC3241602B871654F01B4174A52C239ECC3241203108AC21F01B41D5D781539FCC3241B0A757CA05F01B41E6482E1FA0CC3241A0ACFA5CF6EF1B4197779CA2A1CC324130E78CA8E1EF1B419C1B7D90A2CC3241006CDB9CD6EF1B414893C3A9A3CC324110DEA3D1CBEF1B41C8785AEDA4CC3241505D8B51C1EF1B414FAB025AA6CC324100F2EC26B7EF1B419B8954EEA7CC3241505ACF5BADEF1B41CB54C1A8A9CC3241A022DBF9A3EF1B416D38F084ACCC324190017CA596EF1B41F99DD0A2AFCC3241D05183458AEF1B412BB94DFDB2CC3241A0E51DEE7EEF1B4158ECEF8EB6CC32414038C9B174EF1B4176B2E551BACC3241904735A16BEF1B41731B0D40BECC3241A05E29CB63EF1B41BF64AA20C4CC32418005A3125AEF1B419E11A51DCACC32414012834051EF1B41BDA8A46ECFCC32413060E5504AEF1B41F27C3FF5D5CC3241C08251C942EF1B41511E16EADDCC324140E17A943AEF1B417A711B6DE4CC324100AD695E34EF1B41A7C64B77EBCC3241804547722EEF1B414CB6F39DF1CC3241502BF6172AEF1B41061B9E7EF6CC3241102FDDA427EF1B419E11A59DFACC3241E04F1E9626EF1B41BED32B0502CD324190FD65F725EF1B41900F7A5609CD324170F8C2E426EF1B4123B0720810CD3241E03FA4DF28EF1B4156A8350D17CD3241F095B28C2BEF1B419E1A2F7D23CD324140D6C56D31EF1B419428ED2D2BCD3241304AEA0435EF1B413513A4052DCD3241B09D46A335EF1B41924D6ADE2ECD324170FC780236EF1B413B8EB8B730CD32418029662236EF1B41AC64079132CD32411002050336EF1B416060CF6934CD3241407F5EA435EF1B414B37894136CD3241C0B88D0635EF1B41CE7C825D37CD3241B0E9010A34EF1B41E692BE7238CD3241902C75A932EF1B41D4320B7F39CD3241C088B2E730EF1B412E3548803ACD3241202D4AC82EEF1B419BE16B743BCD324130388A4F2CEF1B41CC1087593CCD324140FB758229EF1B41BE18C92D3DCD324130D0BB6626EF1B414B7B83EF3DCD32416092A90223EF1B41089866D73ECD324120F8531B1FEF1B41E3141DA83FCD3241A05359E51AEF1B417936FE5F40CD3241D0574B6916EF1B41B2CA93FD40CD3241004F4AB011EF1B4128229D7F41CD3241B090F2C30CEF1B41DD9C11E541CD3241A0E848AE07EF1B413657C61642CD3241708E6F6903EF1B413958CD2F42CD3241600C2B17FFEE1B41E116F32F42CD3241105D61C0FAEE1B417345371742CD3241B0CC016EF6EE1B412DD2CCE541CD3241308EF228F2EE1B41627E199C41CD3241406CFEF9EDEE1B41F70CB53A41CD324190A9C2E9E9EE1B41D80968C240CD324140499D00E6EE1B411CF572E33ECD324100866445D8EE1B41ECED44263DCD324170B5D543CAEE1B413CF0828B3BCD324180A72101BCEE1B414336C5133ACD324120519182ADEE1B410B0097BF38CD3241D0D583CD9EEE1B41D85F768F37CD3241908B6CE78FEE1B41C998BB3637CD324170B4C8F687EE1B41196A4D5336CD32416006F0166FEE1B416A6666C635CD3241308D976E57EE1B4182E2C75835CD324110143F4634EE1B411FA7E80835CD3241F0C3422D17EE1B41C87F48FF34CD3241C058A83512EE1B41A5BDC1D734CD324150B81E05FBED1B411483C0EA34CD324140FC18F3E4ED1B41A69BC40035CD3241B07CD033D7ED1B411FB0724835CD3241403B70CEBDED1B41CBB12EEE35CD3241103411B694ED1B414EB81EA536CD324120BA498C71ED1B41526B9AB736CD3241E047E17A6FED1B4184C954C136CD3241C0ABADD86CED1B41DCC798BB38CD324130D881731CED1B4154423E083ACD3241904F1E96EEEC1B4169006FA13BCD3241D0C798BBC3EC1B4113A5BD213DCD324110E02D10A1EC1B4196FF90BE3ECD3241E0EDEB407FEC1B41A63E571B40CD32419089B0E165EC1B41EB22719940CD324180D0CECD5DEC1B41AA6CBC3941CD3241E0252AE055EC1B41966E82FB41CD32419097CB214EEC1B41E553E6DD42CD32417053869B46EC1B41E21BE6DF43CD3241B099ED553FEC1B4117C05B0045CD324180F44A5938EC1B4179388A9246CD324170CCE9DE2FEC1B417D7F6E3848CD3241E0D940A127EC1B41A40A76F149CD324100E32CA31FEC1B41A9A907BD4BCD3241509A74E717EC1B41CCBB839A4DCD3241E0A2C77010EC1B41386744894FCD324110A5BD4109EC1B410DD044D853CD324120871659FAEB1B4190A0F83158CD3241200F0B35ECEB1B41EC17C3475ACD324170F9DF9CE5EB1B418C08096E5CCD324150069E5BDFEB1B41372EE8A35ECD324100A1D773D9EB1B41BCDA77E860CD32419069FAE7D3EB1B419C55C93A63CD324140354EBACEEB1B413F3EE89965CD3241501FF4ECC9EB1B41A3703D2A6BCD3241306E1283BFEB1B419BB20C3173CD3241005305A3B1EB1B414260E5707BCD324130D7A370A5EB1B41B472681182CD3241D08616D99CEB1B41266519C28BCD3241805DDCC692EB1B410BC58F3194CD3241E0E61DA78CEB1B41974C152C9ACD3241D0B12E6E89EB1B419D703D8AA0CD3241A0F2B05087EB1B411CF46C16A3CD3241D032553087EB1B413811361CAECD3241205227A086EB1B4192180456B9CD3241E0E995B287EB1B41A0703D6AC6CD3241905CFEC38BEB1B41257E8C39DACD32415059863893EB1B4129F6973DEACD3241B0C117269AEB1B411ED26FDFF6CD3241E0BCE394A1EB1B4106C58F1126CE324100098A9FC2EB1B415FEE5A2256CE3241B0BAB80DE1EB1B41029A089B67CE32412041F163EEEB1B41D55F760F7ACE3241F0F97E6AFFEB1B41BCF5281C8CCE3241C0CAA1C511EC1B41477B830F8CCE3241202FDD240FEC1B413EE8D96C8BCE3241B0189554EDEB1B41638FC2157CCE3241209BE61DE4EB1B418D87857A2DCE324130A913D007E41B419BF6063F80CD3241D0460378E6E31B41D219513A59CB3241E0E4F29F67E31B41D98173E628C9324140984C9540EC1B41806E35D62BC93241D02CB8DE41EC1B410492D9C72EC93241D0C702DA42EC1B416F07DEBA31C93241F019018743EC1B4108ADC0AE34C93241705295E543EC1B41CF3AFFA237C93241C022AFF543EC1B41DE5817973AC9324110C74BB743EC1B419B6E12A340C93241F0E1E99542EC1B410EF2410F46C9324190ED7CBF40EC1B41C09F1A8F4AC932416070CE083FEC1B41C44B37694FC93241E07A142E3CEC1B4116FBCBCE57C9324130D6C5ED35EC1B41FE2A873670C93241C0567DAE20EC1B414F499D207CC9324140EA73B517EC1B410F83C0CA86C93241B0C8763E11EC1B415852278090C9324110014D040DEC1B4101000000020000000001000000FFFFFFFF0000000003, CAST(1472447 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1473898, N'{23967FC9-CDCD-4C53-AA2A-AC91DD778F52}', N'014299313', 1170688, N'NWP1650', NULL, N'14299313', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-24T00:00:00.000' AS DateTime), N'REM Lot 24', N'', N'', N'LOT 24 EXCEPT: FIRSTLY, LOT "J" (STATUTORY RIGHT OF WAY PLAN 23602), SECONDLY, PART SHOWN RED ON SRW PLAN 23602 SECTION 25 TOWNSHIP 8 NEW WESTMINSTER DSITRICT PLAN 1650', N'0067', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T10:01:12.000' AS DateTime), 4376, 284, 0xBD0B0000010405000000D3CCCC0CA7FF324140E3A59BC0701C41A613D0640000334110CF6655BE701C416D34805703003341A095430BBB6F1C413F575BD1A8FF3241D07B61323B701C41D3CCCC0CA7FF324140E3A59BC0701C4101000000020000000001000000FFFFFFFF0000000003, CAST(1473898 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1474609, N'{1206752B-C945-47A5-BA64-EBE97160DBF9}', N'011331895', 1303888, N'VAP4742', NULL, N'11331895', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-15T00:00:00.000' AS DateTime), N'Lot 56', N'Block 25 & 28', N'', N'LOT 56 BLOCKS 25 AND 28 DISTRICT LOT 599 PLAN 4742', N'0092', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T10:50:27.000' AS DateTime), 366, 94, 0xBD0B00000104090000002975029A187A324120711B0D99861D4183AEB662187A324170240681C0861D41ADE1E995187A3241D095B28CC0861D41C2E3143D3D7A32416080B740C8861D41EC1648703D7A324170CC5D4BC8861D419DABAD983D7A3241403CBDD2A0861D416D787A653D7A324140A7E8C8A0861D41E68C28CD187A324100BEC11799861D412975029A187A324120711B0D99861D4101000000020000000001000000FFFFFFFF0000000003, CAST(1474609 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1474749, N'{AAD805E0-6DC1-4DAC-8921-AFF669B3E011}', N'014371430', 1310910, N'NWP18591', NULL, N'14371430', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-02T00:00:00.000' AS DateTime), N'REM Lot C', N'', N'', N'LOT "C" EXCEPT: PART TAKEN FOR ROAD ON STATUTORY RIGHT OF WAY PLAN 61371, DISTRICT LOT 1 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 18591', N'0025', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:20:36.000' AS DateTime), 546, 110, 0xBD0B0000010405000000E46A2B7653BA3241B039234AA9F01C4183C0CA6157BA3241D0AACF55B1F01C41D55F76EF7ABA3241B03C2C5451F01C41624BC80765BA32419033A23424F01C41E46A2B7653BA3241B039234AA9F01C4101000000020000000001000000FFFFFFFF0000000003, CAST(1474749 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1476841, N'{CD4EF9CF-61A5-4E70-9C13-4890CB16C872}', N'010853294', 849214, N'KAP3458', NULL, N'10853294', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Parcel 15', N'Lot 4', N'', N'PARCEL 15 (PLAN A1273) OF LOT 4 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 3458', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:59.000' AS DateTime), 8717, 550, 0xBD0B0000010426000000CC98BB563B703641D0D556EC1C6A1D4199B20C114470364100C8983BF3691D414694F6064E703641B0B74082F3691D41C56D34A05970364180F83166FC691D4157D3BC436370364170D1915CF7691D411904566E6B70364180D93DF9066A1D41E0141DA973703641B0C0CAA1096A1D410612143F7B703641501E16EA136A1D41EDEBC0998170364120F628DC3B6A1D41D578E9468D703641E0BCE314606A1D414C7B834F98703641E0B9DA8AA56A1D4130C4B14E98703641C09F1AAFD86A1D41B4490C42A27036411052B89E0D6B1D41F67E6ABCAD703641C01E85EB446B1D4148257502BD7036412019E258696B1D414D840DEFC37036419023B9FC746B1D41E3C798FBBE70364190F2B0D0496B1D41DBE76AABBC703641D02D90A0356B1D417CE09CD1AF703641C0043491C56A1D41FB5C6D25AB7036411061C3D39C6A1D417EE2C7B89B703641206519E2186A1D4126A08970957036415017B7D1E6691D4122166A8D8A703641709ECD2A90691D4105B37BB27A703641201D38E711691D41E4043411747036410074B59520691D41A413D02468703641C07EFB3A04691D41AF9DEF075870364150DF4F8DFA681D41B07268D14D70364150FF21FDFD681D413B5EBA094170364150D1915C03691D41614BC8E735703641F0C2642A0F691D418DA7578A2C703641A074931819691D417B7AA50C1C703641C0D5566C27691D41617FD9FD1270364180ABADD840691D41F7A06773147036417003E78C4B691D416FA301DC1E703641D037F8C29A691D41EAD9ACBA28703641E0BB0512EB691D41E8E236DA31703641006822EC376A1D41CC98BB563B703641D0D556EC1C6A1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1476841 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1478361, N'{7082668A-C73C-4D39-B268-4B0F755736D0}', N'001546406', 646347, N'VIP691J', NULL, N'1546406', NULL, N'20312', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Block 34', NULL, NULL, N'BLOCK 34, NELSON AND NEWCASTLE DISTRICTS, PLAN 691-J, INCLUDING THOSE PARTS THEREOF LYING WITHIN SECTION 1 OF SECTION 2A, NELSON DISTRICT, WITHIN LOT 32-G, OF SECTION 2A, NELSON DISTRICT, AND WITHIN LOT 34-G, OF SECTION 2A, NELSON DISTRICT, SAID PARTS CONTAINING 103.3 ACRES MORE OR LESS, 112.4 ACRES MORE OR LESS, AND 16.5 ACRES MORE OR LESS, RESPECTIVELY, BUT EXCEPT THAT PART OF SAID BLOCK 34, LYING WITHIN SECTION 2A, NELSON DISTRICT, AND NOT INCLUDED IN SAID SECTION 1 AND LOT 32-G AND 34-G, AND EXCEPT THOSE PARTS SHOWN OUTLINED IN RED ON PLAN 1101-R', N'0163', N'0017', N'NO', N'MODIFIED-ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'0', N'16947509', CAST(N'2020-08-19T09:38:21.000' AS DateTime), CAST(N'2020-08-19T09:38:21.000' AS DateTime), 16945192, 37386, 0xBD0B0000010478000000E9D9ACDA6B773041A09FAB2D809E1E417E613235AD7A3041A03A01CD469E1E41430AD763AB7A3041C099081B289E1E413FF1634CAB7A304110295C8F269E1E41068A1FA3887A3041701A2F5DDD9B1E41A69BC420877A3041F04082E2C39B1E4196081B9E857A3041D0AE2564AA9B1E4166BC74F3847A3041E09B33229F9B1E41E58C28ED44783041107FFB3A49951E41160456CE3A783041401136BC2C951E412C4CA6AA397830414094F68629951E41C66D3460E277304190158CCA33941E413F82E2A7807730412071AC0BD4901E41F2F44A997B77304140871659A7901E4144BF7DBD77773041105B423E85901E41AD1C5A245C773041A0CE8852918F1E41E9D9ACDA6B773041A09FAB2D809E1E411D166AED9D75304140B3EA732A801E4167D5E7CA7C74304100F697DD8B7B1E4172AC8B3B30743041701361C3527A1E415CC1A864827430416091ED7C89781E4170787AA5FC72304170984C95156B1E4174F2B0700D713041A023B9FC936E1E4166F7E4A1F5713041305530AA97761E413ADF4FED416F30418036AB3E0D8D1E410B12143FDA6B3041D02E6EA344931E4198C42010D46A304170B515FBA7911E416A6FF025F4683041D05296A1E9941E41139C3382FA6630419017B7D1CD911E41F3EBC079496630419023B97CD1981E41ADD85F16E164304150F38ED3439C1E4115B7D1807264304160C64BB79D9F1E4176F2B0F05F623041905AD3BCC79D1E412041F183DF6130412083C0CA2B991E418E8785DA2C613041905AD33CA3991E41FBE461A101613041A0F2B0501C991E41273A920BC05F3041C0DD938730951E416F787A85FC5D3041B0AACF5598931E4188EB5198045B304100FED4783E921E41693BDF0F275B304170257582FF921E41C576BE7F425E3041902D219F66A41E41EF3845A7895E3041906132D59FA91E419D67B38A765F304180E2C7185CAA1E41FFD47849E25F304120A089303AAC1E419E5E29EB375D3041201CEBE29EBA1E41F02FBB87405C3041A0ED7C3FF3BB1E4170B515BB3B5B304100BDE39493B91E411F1FF4EC1F5B30417006F01673B51E4107F9A027045A3041D0F21F5283B61E412C4CA60A8D593041C0F085C937BD1E41A123B99C435D304130287E8C21C61E41E102094AB45F3041404ED19121C61E4195B20C51B35F3041A09F1A2FFBCB1E41D1915C7E2960304190AEB6E216CD1E413A92CBDFF7623041803A014DD4CC1E41925CFEE366633041E06A2B76D6C51E4106D7A3F06D623041C0A9825110C61E41F01648B069623041004CA68A7DC11E4142A4DF1E07623041F02B659928C11E41F1164810FB61304120EB73351EC11E412A31080CFB613041B032C4311EC11E419A6588C3BB61304170E7FBA9E7C01E416DCE88D2A7613041200F0B3597C31E41E7FBA9910A6130418028ED8D3DC41E41F8285CEF89603041A0C8763EA0C71E4178A52CC31A603041401FF4EC3FC61E4158CA3224A85F30418047E17AEEC21E410A8A1FC363613041706132D51EBF1E41696FF0058961304140BB278F08BC1E417AF2B09034623041506519E206BE1E414F7424B73F6230417028ED0D28BE1E41C3F5281C73623041104625F5C0BE1E41759CA223B9623041308C4AEAEBBA1E4152E3A57BCC623041D0B12EEEDCB91E41197C6132FE63304150A835CD5BB41E41B5A679C724653041D0718A8E53B61E41D21951FA91653041B0506B9A29B51E41034D842D0B663041E0D100DEF8B51E4142CF667513673041B058A83518BF1E416ABC74331C69304180635DDCE6BF1E4128C28607F96A3041906E818489BC1E41F39E3C6C216B30412035EF384ABA1E41F01FD20FED6B304160D26F5FDAB81E41F66C569D476D3041701B0D6068B61E4113BE3059326E304140840DCF4DB11E412FB29D6FDE6E304150B4C8F6DBB11E4182FB3AB041703041B0DCB584D0AA1E41C1CAA145487030417007CE19AFAA1E41D1D5562C51703041B067B3EA81AA1E41A301BC859A713041B06E1283F9A31E410AC58FF1FF72304140DF4F0DFAA21E41C3A8A4AE7D733041A02A181546A71E41F1FDD4B8AD7530416063EEDA35A81E412797FF30CB753041101B0D608AA81E410BCE1911D5753041904160E5E0A31E414282E227D875304140143F4628A21E4111BE30D9DE753041D07C3FB56D9E1E41265C8F22FA75304110EE5AC2888D1E419A4C15CC227730418004C58F968D1E41AE94656810763041903E57DB1D841E411D166AED9D75304140B3EA732A801E41BF1726131370304120158CCA0FA81E4147D8F01414703041705374A415A81E41C6FEB29B547030416035EFB88CA91E4135CD3B0E5A703041101B9E5E54AA1E410166F74448703041F03008ACAEAA1E41809ECD2A47703041E0A50A4686AA1E411C2653254170304100734694A9A91E411EC9E57F04703041C095430B49A81E4187FD6537FD6F30410079E9A665A81E419D67B3EAC76F3041C025530537A91E41F6EDEBE0A56F304120C58FB1ACA81E41470C024B9F6F3041B0B12EEE91A81E41EFB0508BCC6D304130C2862729A11E416B19E2787F6F304130C7BAB87C9A1E419ED634CFB3703041A05AD3BC619F1E41A413D004B7703041D03845C76E9F1E4140355E3ABA703041D0F21FD27B9F1E414B50FCD87A713041D07493988AA21E41BF1726131370304120158CCA0FA81E410300000002000000000211000000006500000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1478361 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1480580, N'{7413A13E-FE99-4327-B853-E57191D30FC2}', N'012386910', 7807237, N'KAP11H', NULL, N'12386910', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1988-02-23T00:00:00.000' AS DateTime), N'', N'', N'', N'PART LOT 62 SHOWN ON PLAN H11 DISTRICT LOT 110 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 301 EXCEPT PLAN ATTACHED TO DD 3459D', N'0163', N'0022', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'1355', CAST(N'2020-10-28T16:37:39.000' AS DateTime), CAST(N'2020-10-28T16:40:44.000' AS DateTime), 1654, 555, 0xBD0B000001040D0000000AAC1CFAF7233641E0A7C6CB8C9C1D412C2AA973F7233641B004C50FA59C1D413055300A0625364180711B8D039D1D4106D7A39006253641E0A6E848EB9C1D41CBEEC9A3F524364190ADD85FE59C1D41428B6CE7B124364150C7BAB8CD9C1D41C6C342CD98243641606ABCF4C49C1D414603786B882436412011363CBF9C1D4137AB3E3779243641801FF4ECB99C1D4146BF7D3D642436412075029AB29C1D4122D26FDF04243641205F984C919C1D4142BD52B6F8233641C04C840D8D9C1D410AAC1CFAF7233641E0A7C6CB8C9C1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1480580 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1480701, N'{C2362243-6499-4A43-BB01-704CFA3A7371}', N'011117982', 853599, N'KAP3339', NULL, N'11117982', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Parcel 1', N'Lot 5', NULL, N'PARCEL 1 (PLAN A1182) OF LOT 5 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 3339', N'0095', N'0022', N'NO', N'MODIFIED-ICIS', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2021-05-04T13:52:56.000' AS DateTime), CAST(N'2021-05-06T11:49:06.000' AS DateTime), 14941, 552, 0xBD0B000001041200000037B4C8167D713641A09CA22341831D415DBA49CC6D71364170226C7870831D414EAF94256871364160CB10C7B0831D41460378CB7C713641707FD93D80841D41DE5817378971364160D93D79FC841D4122B07268947136419051491D56851D415F3255F0A2713641B0E8482E65851D4101780B04ED7136413063EE5A1A821D41B815FBABE8713641B0559F2B02821D4199FF907ED2713641602CD41AE4811D4146D8F094C471364100B98D86DB811D4190180416BA713641203D9B55E1811D414C27A0C9B67136418080B740F0811D412531084CB171364100BE30990E821D41F19E3CCCA771364180081B9E2D821D41FDDBD7019E713641801DA7686F821D41A8A44E208F713641909D8026D9821D4137B4C8167D713641A09CA22341831D4101000000020000000001000000FFFFFFFF0000000003, CAST(1480701 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1481087, N'{20ED829C-6052-4A1E-9016-B16B7AF2A9A2}', N'012695092', 847623, N'KAP157', NULL, N'12695092', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 23', N'Block 54', NULL, N'THAT PART OF LOT 23 BLOCK 54 LYING TO THE WEST OF THE WESTERLY BOUNDARY OF PLAN B1648 DISTRICT LOT 455 OSOYOOS DIVISION YALE DISTRICT PLAN 157 EXCEPT PLAN H577', N'0138', N'0022', N'NO', N'ICIS CADASTRE', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-02-20T09:52:19.000' AS DateTime), 540, 109, 0xBD0B00000104060000005127A0298B40364198ADD85FAE292041D3F0F4CA78403641D80C71ECBF292041507424F77440364118CD3B4EEE2920416C1B0DC07840364158378941EF2920411471ACEB9A403641F02A8756B32920415127A0298B40364198ADD85FAE29204101000000020000000001000000FFFFFFFF0000000003, CAST(1481087 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1481439, N'{7350F1CB-1CD6-4E6F-B078-ED406639705E}', N'011592982', 868192, N'KAP1459', NULL, N'11592982', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'Block 9', NULL, N'LOT 1 BLOCK 9 DISTRICT LOT 706 YALE (FORMERLY OSOYOOS) DIVISION YALE DISTRICT PLAN 1459 EXCEPT PLAN H88', N'0114', N'0022', N'NO', N'MODIFIED-ICIS', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-03-25T13:21:59.000' AS DateTime), 816, 121, 0xBD0B0000010405000000A7ADD87F9952354150075F98AF071F41E258171778523541D0D6A3F065071F415717B7717C523541F0A6E8C8FA071F413008AC1C8C523541F0A982D112081F41A7ADD87F9952354150075F98AF071F4101000000020000000001000000FFFFFFFF0000000003, CAST(1481439 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1481682, N'{80C95907-6995-4DC0-A7F8-0AEA33295C12}', N'001603655', 3, N'NO_PLAN', NULL, N'1603655', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 105', N'', N'', N'THAT PART OF SECTION 105, ESQUIMALT DISTRICT, SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 15182I AND CONTAINING 1.87 ACRES MORE OR LESS', N'0065', N'0005', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:56:08.000' AS DateTime), CAST(N'2021-02-22T16:07:43.000' AS DateTime), 7249, 593, 0xBD0B00000104520000008FB96BC9881E3241A047E17A007C17411E166A8D821E3241B020B0F2F57B17411848503C7C1E3241F0A2923AEC7B17412FA2B4D7751E3241D0F3FD54E37B1741EF5A42BE731E3241B096908FE07B174176A52CC3621E3241009CC4A03D7C174131E4E6C5681E3241D0B60FBC437C1741F7ACA6B66E1E324190C13BDB4A7C1741CA13AE92741E32415039FFFA527C174112BD48577A1E3241102E9A175C7C1741F51CCD01801E3241A0F9D72C667C174134B29D8F851E3241C0331136717C17412A8ADC148A1E3241506D9D447A7C17410834F7858E1E324160F479ED837C17417792A4E1921E3241D00EDB2D8E7C1741C3BBA126971E32418028C902997C17414557B2539B1E324160AE2169A47C174107F9A0679F1E324140F6975DB07C17415F2ACC7EA11E32417093A80AB77C1741741A728DA31E3241E08C8FE1BD7C1741CD765E93A51E324110EE9EE1C47C1741C0CA5D90A71E324180AE240ACC7C1741B0843D84A91E324120BD6A5AD37C174118FBCB6EAB1E32410017B7D1DA7C174198CFC7B3B11E3241A0FD44C4F57C17412023627FB71E32418080AD5C127D174171AEB1CABC1E324170A0D678307D17410429668FC11E324170F5D7F44F7D1741C7D0CFC7C51E3241C07E25AB707D1741FA31E66EC91E3241806ABC74927D17410711FA68CB1E324150BCD2BAA57D1741C5CE8722CD1E3241B09B1263B97D1741EE63609ACE1E3241E082FE5FCD7D174159E181CFCF1E3241D0D1DEA3E17D1741BC2018C1D01E32412037CB20F67D17416D567D6ED11E32414039B4C80A7E17410C5ACBD5D11E3241C0CB6A4F177E1741B0E2562AD21E324120EEE8DE237E1741FF1E146CD21E3241902B6D75307E17419FDEF99AD21E3241901235113D7E1741709301B7D21E3241D0747DB0497E1741545227C0D21E3241B0A98251567E1741B2833874D21E3241D0D20A6E777E17416DDF6EA4D11E324170893167987E1741E9FE9851D01E3241C0F12D1CB97E1741BDC7077DCE1E324180F57A6CD97E1741EF1C8D28CC1E3241409BF737F97E1741930F7A56C91E3241A0F6065F187F17417FAEB622DC1E3241002428FE837F17415E6DC5DEDE1E32416097FF106C7F17410B0FDA0CE11E3241E0F12358577F17411147E316E31E3241904BE464427F17413F767FFCE41E324140942B3B2D7F174141CD53BDE61E3241F0EAEEDE177F1741885D0C59E81E324180E22C54027F1741FB285CCFE91E324180BFEC9EEC7E17411D10AC7DEC1E3241F0E2AF9DB67E1741645074FFED1E3241B00C40E37F7E1741F582D551EE1E3241F0CCF0D7487E1741459E3274ED1E3241F0DCAFE4117E17417E213268EB1E3241601B3D72DB7D174126EFBA31E81E324190DD62E8A57D1741F7DCECD6E31E3241301430AD717D17411A071560DE1E324150C135243F7D174149FD9DD7D71E3241E028C9AD0E7D17416DE7FB49D01E3241B02F4CA6E07C17418A3768D8CC1E32416080375ACE7C1741A2C3F73DC91E324140B4C68DBC7C174188FDD17BC51E32413029AD46AB7C1741D90E2B93C11E32411087738A9A7C17413F764385BD1E3241D0FB755E8A7C1741F8A06753B91E32412082E2C77A7C174179E92671B51E3241A03D0A576D7C1741BD0E9C73B11E3241C041CF66607C1741896CE75BAD1E324110234AFB537C1741B7270F2BA91E3241F02AF617487C1741129C33E2A41E324150ED7CBF3C7C174144E17A749F1E3241706132552F7C17418D3A01ED991E324140BD5296227C17417B711B4D941E3241B001BC85167C1741794F1E968E1E3241009D80260B7C17418FB96BC9881E3241A047E17A007C174101000000020000000001000000FFFFFFFF0000000003, CAST(1481682 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1481696, N'{B358B4A8-C5FE-415A-908D-05E464FAD854}', N'008120927', 12849, N'VIP1002', NULL, N'8120927', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 3', NULL, NULL, N'THAT PART OF LOT 3, DISTRICT LOT 101, MALAHAT DISTRICT, PLAN 1002, LYING TO THE WEST OF THE ISLAND HIGHWAY AS SAID HIGHWAY IS SHOWN ON PLAN 570 RW EXCEPT THAT PART IN PLAN VIP64830', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T15:56:09.000' AS DateTime), CAST(N'2021-02-25T09:38:33.000' AS DateTime), 1751, 263, 0xBD0B0000010407000000E751B8DEFF03324160A1D6B42AC31841BDD32B450C043241A0E68CA82CC31841570E2D121B04324140D191DCF0C21841637FD9FD0E043241E0B7AF03EFC2184110F241AFA2033241D0D9AC7ADEC2184132992A18A2033241106744E91BC31841E751B8DEFF03324160A1D6B42AC3184101000000020000000001000000FFFFFFFF0000000003, CAST(1481696 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1482066, N'{A13985CE-1E94-4CF3-87AC-1DB30F390C71}', N'001583646', 8505248, N'VIP8RW', NULL, N'1583646', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 10', N'', N'', N'THAT PART OF LOT 10, SECTION 79, VICTORIA DISTRICT, PLAN 1772 INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:02:21.000' AS DateTime), CAST(N'2021-04-16T11:15:08.000' AS DateTime), 319, 72, 0xBD0B00000104080000007C26C206692F324190D8F0F413961741986E1283672F3241505B423E09961741ECB7AFC35E2F3241E062EE5ACB951741D2F75323522F3241E095B20CEE95174186855A335A2F324170742417279617412C90A0785C2F324120C286273796174196438B4C5F2F324150A3013C2F9617417C26C206692F324190D8F0F41396174101000000020000000001000000FFFFFFFF0000000003, CAST(1482066 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1482348, N'{63BD8635-52C1-454B-A4C9-0BDD12B838CB}', N'015496066', 488723, N'NEP1918', NULL, N'15496066', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1965-10-12T00:00:00.000' AS DateTime), NULL, NULL, NULL, N'THE NORTH HALF OF LOT 23 DISTRICT LOT 4597 KOOTENAY DISTRICT PLAN 1918', N'0155', N'0019', NULL, N'PMBC-OPERATIONS', 5, N'LSA', N'UNKNOWN', N'0', N'118.4', CAST(N'2021-05-20T14:10:48.000' AS DateTime), CAST(N'2021-05-25T14:37:07.000' AS DateTime), 120, 69, 0xBD0B00000104050000005EE5D0C245753841C06DC57E0AD51D4150FC18F32C7538415075029AC3D41D41D9A3709D2A753841B0CBEE49D0D41D4195C4207043753841507B832F17D51D415EE5D0C245753841C06DC57E0AD51D4101000000020000000001000000FFFFFFFF0000000003, CAST(1482348 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1482414, N'{E35EFB27-15D2-4389-A3A7-A281D32EF356}', N'001638335', 3, N'NO_PLAN', NULL, N'1638335', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 41', N'', N'', N'THOSE PARTS OF SECTION 41, METCHOSIN DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 13913F AND CONTAINING 4.81 ACRES MORE OR LESS', N'0079', N'0005', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:42:31.000' AS DateTime), CAST(N'2021-05-30T19:21:29.000' AS DateTime), 4864, 411, 0xBD0B0000010411000000EB482EDFB8003241A0F7E4E10DD416417DC15B52AE0032416051D13C28D41641C25212ECA300324170DF7F8843D41641F850A9AD99003241707F6BC15FD41641D3EB72988F0032412077F0E37CD41641FF02BCAD8500324180EC4CEC9AD416411AFBCBEE7B003241C061A1D6B9D41641EFFDD4982F0032410020D26FB2D516417D3F35BE37003241E01B7C6126D61641F0A7C68B8D003241E09387850ED516418C062A9A960032411025C9B7F1D416412D1AEAD09F003241C0D2C7B9D5D41641521DDD2EA900324130420C8FBAD41641C557D4B2B2003241706C043BA0D4164199449C5BBC003241403003C186D416411DB9FC27C6003241B0E53F246ED41641EB482EDFB8003241A0F7E4E10DD4164101000000020000000001000000FFFFFFFF0000000003, CAST(1482414 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1482537, N'{6ADA6F5B-EF11-4E89-87A8-58A806344B37}', N'016108159', 472072, N'NEP740', NULL, N'16108159', NULL, N'5320381000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 23', N'Block 10', N'', N'LOT 23 BLOCK 10 DISTRICT LOT 267 KOOTENAY DISTRICT PLAN 740 EXCEPT PART INCLUDED IN SRW PLAN 16533', N'0053', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-05-30T20:15:29.000' AS DateTime), 275, 75, 0xBD0B000001040500000094B20C910A033A41E8D781B31A2A2441E28C28ED13033A41B00D4FEF242A2441AAE848AE1E033A4190218EB5FD292441B6B6627F18033A41704082A2E729244194B20C910A033A41E8D781B31A2A244101000000020000000001000000FFFFFFFF0000000003, CAST(1482537 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1485370, N'{5A0C8CF0-0BFC-44FE-9703-C713B4B64448}', N'013494473', 3, N'NO_PLAN', NULL, N'13494473', NULL, N'73108130020', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'SW4', N'34', N'', N'THE SOUTHWEST 1/4 OF SECTION 34 TOWNSHIP 99 KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLAN KAP49913', N'0163', N'0028', N'NO', N'ICF', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-11-10T15:04:43.000' AS DateTime), 648936, 3222, 0xBD0B0000010406000000C2C117664D5E354118780BE4657C2241605DDC66595E354190AC8BDB677C22417E48BF3D9C5E3541487DAEF61E7622411A51DA3B7A5B354138FDF6758B752241C27493983A5B3541801D3867D57B2241C2C117664D5E354118780BE4657C224101000000020000000001000000FFFFFFFF0000000003, CAST(1485370 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1486142, N'{46AFF0A0-AAAE-45A0-9DDB-C9F0377EBF01}', N'010476008', 252464, N'PGP1329', NULL, N'10476008', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 119', N'', N'', N'LOT 119 DISTRICT LOT 4377 CARIBOO DISTRICT PLAN 1329, EXCEPT PLANS H226 18606 AND 29483', N'0112', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2021-12-31T08:23:52.000' AS DateTime), 6131, 383, 0xBD0B000001040600000023F46C16347E3241E06A2B7658762E41C4B12EAEA47D3241182428BE49762E41742D21BFA27D324140A913909A762E41ECD24D023E7E3241E015FB0BAA762E413BDF4F2D407E3241189E5E6994762E4123F46C16347E3241E06A2B7658762E4101000000020000000001000000FFFFFFFF0000000003, CAST(1486142 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1486744, N'{5BBA0121-5A55-4071-9A30-E6A89B8D02AF}', N'015091520', 489994, N'NEP2795', NULL, N'15091520', NULL, N'7101872000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 8', N'', N'', N'LOT 8 DISTRICT LOT 864 KOOTENAY DISTRICT PLAN 2795 EXCEPT PLAN 7686', N'0163', N'0004', N'NO', N'ICF', 3, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:23:58.000' AS DateTime), 277, 90, 0xBD0B00000104050000003AB4C836FEE83741801B0D20E06F2141E6482E7FFEE8374130674429DB6F2141A3EFA746DAE8374158FA5CEDD26F21412C0F0BD5D8E83741F8421C2BEC6F21413AB4C836FEE83741801B0D20E06F214101000000020000000001000000FFFFFFFF0000000003, CAST(1486744 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1487291, N'{D60FE511-B1B3-4C48-991F-794F398A488F}', N'009188401', 136474, N'VIP283', NULL, N'9188401', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 8', N'Block 4', N'', N'LOT 8, BLOCK 4, SECTION 4, VICTORIA DISTRICT, PLAN 283 EXCEPT THAT PART SHOWN OUTLINED IN YELLOW ON PLAN 4 BL', N'0153', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:54:05.000' AS DateTime), CAST(N'2019-01-05T10:21:49.000' AS DateTime), 30, 33, 0xBD0B0000010404000000A08026C2A939324110B9FC07B77C174136DF4F8DB839324110DBF97EC37C1741EF9E3C4CAE3932413065AAE0AA7C1741A08026C2A939324110B9FC07B77C174101000000020000000001000000FFFFFFFF0000000003, CAST(1487291 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1487417, N'{0230F5DB-3FD6-474C-9FFC-B7D2E57C357F}', N'001585746', 128536, N'VIP1597', NULL, N'1585746', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 7', N'', N'', N'THAT PART OF LOT 7, SECTION 16, VICTORIA DISTRICT, PLAN 1597 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:03:02.000' AS DateTime), CAST(N'2019-01-05T10:22:09.000' AS DateTime), 316, 73, 0xBD0B00000104070000007D8CB9EBCD2D3241B048BFFD469A174108A3923AD02D3241806DC5FE439A1741ECFDD438C92D32417005A392E899174171E7FBE9BF2D3241D02E6E23F499174150499D80BB2D32417025E483F8991741E00B9349C12D3241A0779C22449A17417D8CB9EBCD2D3241B048BFFD469A174101000000020000000001000000FFFFFFFF0000000003, CAST(1487417 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1487454, N'{A26E2319-DDFA-45DF-B257-9C6BEA325E0A}', N'015494501', 489197, N'NEP731', NULL, N'15494501', NULL, N'7072124500', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 13', N'', N'', N'THAT PART OF LOT 13 DISTRICT LOT 306 KOOTENAY DISTRICT PLAN 731 INCLUDED IN REFERENCE PLAN 96951I', N'0163', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:11.000' AS DateTime), 11912, 571, 0xBD0B00000104660000008F635DDC21283941701A2F5D87D720410CC643E8212839417896FA6789D720410953950622283941B857CA6F8BD7204130552B372228394198B806728DD72041E2C4C77922283941E8311F6C8FD72041189715CE22283941A0A08D5B91D72041342AA93323283941587FD93D93D720418CD2DEC025283941B00512D499D720413CDB02B826283941707214C89BD72041960555A42728394128A897D09DD72041908F688528283941601BACEC9FD72041FEE3D55A29283941B03E591BA2D7204110CA3A242A28394120F69D5BA4D72041A3923AE12A283941B80C71ACA6D72041D8FAC7F82B28394188761F00A8D72041A0C7CA022D283941303FD37CA9D72041FE83C2FD2D283941302F6620ABD72041D27844E82E283941E8E079E8ACD72041E6B8FDC02F283941082D7BD2AED720410E0BB5863028394158E3A5DBB0D72041C698BB763128394178180416B8D72041B4D78C8B312839418083AEABB9D72041FF6CD9A831283941F8093F3FBBD72041002B94CE31283941A82700D0BCD720417419ACFC31283941809C3D5DBED72041F77C0C333228394170BD44E6BFD720417AE09C7132283941C0C2646AC1D720415CFE433A3328394100EEEB80C4D7204186855A1370283941E88E53746FD720413C1CEBE26A2839415072F98F60D72041BAB88DC665283941382EFF6151D7204180AEB6C260283941880B24E841D720419FABADD85B283941A8F7532332D7204122B0720857283941E085C91422D72041560E2D525228394148A4DFBE11D72041002B87B64D28394190C0CA2101D720413EC6DC3549283941A0FF903EF0D62041B68D06D044283941A0BDC117DFD620417D2F4C8640283941606891ADCDD62041506210583C28394150378901BCD620419CF8314638283941D0BCE314AAD620414160E55034283941289E5EE997D6204110D044783028394160499D8085D62041885AD3BC2C283941302CD4DA72D62041E751B81E2928394120917EFB5FD62041EE5A429E252839419889B0E14CD6204152AF94E523283941685452E742D62041E661A13622283941F087F4DB38D620415F29CB5011283941A8FD6577D1D5204186C0CA81FF273941A0A3703DF1D62041482EFFE1FD273941007F6A7C0BD720416787EE7FFE273941500A68780DD72041706F1C26FF27394158E5C3690FD720416D235BD4FF273941001AF54F11D72041C9A77A8A00283941E0C5752A13D720419FD5484801283941A03EC3F814D720417268910D0228394148355EBA16D72041005C1712032839418886D18518D72041283C6E0A04283941F012826B1AD72041FA1BEDF504283941A879256A1CD72041E4CAF3D305283941D06160801ED720410842EBA3062839417866C7AC20D72041AB0A466507283941180DE0ED22D72041485F09CF07283941A8A2D48525D72041183324240828394170148F2928D72041C3B6436408283941F0E07DD62AD720416C85298F082839414891068A2DD7204162E1ABA408283941F842884130D72041CADCB5A40828394168355EFA32D720419AF5081A09283941D8061A9135D7204135BD59A5092839414033941638D72041CE2207460A283941F87BE2873AD72041836357FB0A28394110F331E23CD72041B1E078C40B283941B041CA223FD720416E1283A00C28394130CB104741D720415AD082350D283941688A475A43D72041EAA4CBD20D28394130F6D96345D7204178AB35780E28394118C5436347D720419CEF96250F2839413840035849D72041AC77C3DA0F283941D06599414BD72041E04F8D971028394100098A1F4DD720419321473B112839415852BC0C51D72041FAD433091228394140B766DA54D72041568CD4FF12283941D8EC768158D7204158BC5E1D14283941B86D22FB5BD72041DE80BF5F15283941281AF3405FD72041D4779FC416283941E83BD34C62D72041CC1B67491828394160D6181965D720417B9543EB19283941F82D90A067D72041DD4E52F31A283941706F7B6569D72041A24F19EB1B2839416006D04D6BD72041365669D11C283941D84638576DD72041FA8028A51D2839417809367F6FD7204166A753651E28394138B825C371D720412797FF101F2839415089412074D72041936FE8891F28394160A336BA76D72041421E4B0620283941D8F59A5179D720417C27248620283941C8EC5BE67BD72041C2F66F0921283941A00767787ED72041D2DE2A902128394148D8A90781D72041D019511A22283941D005129483D720418F635DDC21283941701A2F5D87D7204101000000020000000001000000FFFFFFFF0000000003, CAST(1487454 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1488840, N'{3928A68D-FDD4-42E4-B51C-3EC2DD6D9029}', N'001588290', 126723, N'VIP851', NULL, N'1588290', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block C', N'', N'THAT PART OF LOT 3, BLOCK C, SECTION 16, VICTORIA DISTRICT (SITUATE IN ESQUIMALT DISTRICT), PLAN 851 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0154', N'0005', N'NO', N'MODIFIED-TANTALIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:51:00.000' AS DateTime), CAST(N'2019-01-05T10:54:04.000' AS DateTime), 624, 102, 0xBD0B000001041000000034B4C8D6802C324110098A9F3D991741BE0E26D57B2C3241F00B2F8641991741EDD7DEDA762C3241F0378DF9459917411C3CEAE8712C3241C08BC7F84A9917416CCA3D006D2C3241F0E4E58250991741FD44CD21682C32411031D59656991741E0718A4E632C324110A167335D99174155423E68692C3241606666E6AA991741838CB90B6A2C32416091EDFCA999174191B90AC66E2C3241D0810897A39917414056328C732C324150BA66C49D99174162C5115D782C324140CD6586989917415CE687377D2C3241307340DE93991741E358711A822C324110400ECD8F9917415AC1A804872C32412061C3538C99174134B4C8D6802C324110098A9F3D99174101000000020000000001000000FFFFFFFF0000000003, CAST(1488840 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1489611, N'{BB31B60C-4FC1-4C68-92CC-6F11B540ED1D}', N'001588061', 128536, N'VIP1597', NULL, N'1588061', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'THAT PART OF LOT 1, SECTION 16, VICTORIA DISTRICT, PLAN 1597 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:28:59.000' AS DateTime), CAST(N'2019-01-05T10:55:56.000' AS DateTime), 186, 56, 0xBD0B00000104080000009B9999D9972D324160F38E536F9A174166D5E7EA972D3241D0A14536709A17413B70CE689D2D3241B0B20C716E9A17410B8195E3A22D324190E53F246C9A1741C4BAB86DA62D3241203B704E6A9A1741D6ACFAFCA22D3241D0A6E8483D9A1741A289B0E1932D3241F0633BDF399A17419B9999D9972D324160F38E536F9A174101000000020000000001000000FFFFFFFF0000000003, CAST(1489611 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1489658, N'{D6389F51-680D-44CB-A5C1-72A2899BE9ED}', N'001606654', 3, N'NO_PLAN', NULL, N'1606654', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 74', N'', N'', N'SECTION 74, ESQUIMALT DISTRICT, EXCEPT THOSE PARTS THEREOF INCLUDED WITHIN THE BOUNDARIES OF PLANS 5291, 43243, 49710 AND VIP72445', N'0065', N'0005', N'NO', N'MODIFIED-ICIS', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:25:44.000' AS DateTime), CAST(N'2019-01-05T10:55:45.000' AS DateTime), 648, 110, 0xBD0B0000010408000000F4EDEB407F153241C0BB969070681741BDF5289C71153241903923CA5E6817411848505C731532412057CA325C681741F1A7C64B6F153241901D38E756681741F8285CEF6E153241205F074E5B681741524013C166153241E0B7AF03BF681741C0C1170685153241C0D32BE5E6681741F4EDEB407F153241C0BB96907068174101000000020000000001000000FFFFFFFF0000000003, CAST(1489658 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1490015, N'{9DE45324-CA05-4220-93C1-CDD50A14F626}', N'008969612', 1078044, N'NWP27124', 31215701, N'8969612', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot K', N'', N'', N'LOT K DISTRICT LOT 224 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 27124', N'0002', N'0009', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-01-31T18:42:27.000' AS DateTime), 2751, 337, 0xBD0B0000010411000000039A08FBBB85334190984C1577D81B419E67B38AC7853341F0F141CFC8D81B41FC672AA9CE853341B049196A00D91B411A30B99AD4853341E0FBA32F3AD91B41E2E3EC54D9853341006552BA75D91B412B0276CFDC853341304578A1B2D91B41F3003704DF85334100C5047AF0D91B418A0D4FEFDF85334100AB3ED72EDA1B412E34F0F4DF8533419022EE2C3EDA1B413AA99CE6DF853341100E43824DDA1B41DAF055C4DF853341E0F59DD55CDA1B41CCAB1F8EDF85334140975F256CDA1B41F396FF43DF8533417010E96F7BDA1B41DA8AFDE5DE853341B00E9CB38ADA1B41A411A51D0486334100CCEEC992DA1B41CC20B072DC85334110D3BCE3CCD81B41039A08FBBB85334190984C1577D81B4101000000020000000001000000FFFFFFFF0000000003, CAST(1490015 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1490878, N'{46F8EE6E-57AD-4FE4-87E7-69564CB908C8}', N'010358820', 872688, N'KAP5183', 90091426, N'10358820', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', N'', N'', N'LOT 3 DISTRICT LOT 235 KAMLOOPS DIVISION YALE DISTRICT PLAN 5183 EXCEPT PLAN H10733', N'0055', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:31:28.000' AS DateTime), 160, 65, 0xBD0B000001040500000071F90F499066354130DF4F8DE6AD2341F797DD1390663541F82FBBA7E6AD2341A435CDDB8B663541809CA26318AE23416BBC74739866354118AE476119AE234171F90F499066354130DF4F8DE6AD234101000000020000000001000000FFFFFFFF0000000003, CAST(1490878 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1492078, N'{7C004C12-8CB4-4E6B-932F-9EB82979A265}', N'010968351', 495467, N'NEP9500', NULL, N'10968351', NULL, N'219827100', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PARCEL A', N'LOT 20', N'BLOCK 87', N'PARCEL A (EXPLANATORY PLAN 130009I) OF LOT 20 BLOCK 87 DISTRICT LOT 95 KOOTENAY DISTRICT PLAN 9500', N'0085', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:21:43.000' AS DateTime), 28, 26, 0xBD0B0000010411000000EC7C3F95DEDB38419038D6C50F5A2041AC86EFC1DEDB3841C8C1B5D80E5A2041717AAEE3DEDB3841D0BB73E40D5A20419E1435FADEDB384140F913EB0C5A204144C35305DFDB3841581AA5EE0B5A2041D00AF304DFDB384178353CF10A5A204183B713F9DEDB3841C870F0F4095A2041C2DBCEE1DEDB38415898D6FB085A2041409B55BFDEDB384120B9FC07085A2041BCA67927D9DB3841A0EA7335175A2041180DE04DDDDB3841C8C56D741D5A2041C4A12791DDDB384158AAB9311B5A2041B8055FCFDDDB38413098C2EC185A20415E5D8108DEDB384150EBB5A5165A2041C6328A3CDEDB38418829C15C145A2041E675756BDEDB384170FE1112125A2041EC7C3F95DEDB38419038D6C50F5A204101000000020000000001000000FFFFFFFF0000000003, CAST(1492078 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1492750, N'{5A8577DB-86C9-44B9-9612-D0C338A40710}', N'009004041', 470260, N'NEP16281', 90056048, N'9004041', NULL, N'02398.910', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 4588 KOOTENAY DISTRICT PLAN 16281', N'0135', N'0018', N'NO', N'ICF', 4, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:31:32.000' AS DateTime), 62150, 1192, 0xBD0B0000010413000000686FF0C55D9E3B4140E17A549EB821412EDD2446439E3B41F8B584BCFBB82141B0BFEC5E999E3B41F05817B701B9214140136143A79F3B41F0C6BA78BEB621415939B428069F3B4140234AFB92B521413911361CE49E3B41C0096822DCB52141F0F44A59CD9E3B41D8D781F393B621419BD40908919E3B4168CC5DCB7CB72141E873B5F5909E3B41485305A3C6B7214108A65962909E3B41B8926F44DFB72141FCCE2DBA8E9E3B41B8E677B3F7B721414E247C008C9E3B4138B19ABF0FB821419CF2AD3A889E3B4118B1183927B8214118DF4070839E3B4140D055F13DB82141FC07B8AA7D9E3B4190AE35BB53B82141702189F5769E3B419034756B68B82141B6B4055E6F9E3B41807800D97BB8214126AE40F3669E3B41E84E44DD8DB82141686FF0C55D9E3B4140E17A549EB8214101000000020000000001000000FFFFFFFF0000000003, CAST(1492750 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1492874, N'{677DC009-4837-4BF1-9B78-9EDAC639D946}', N'016079523', 472045, N'NEP902', NULL, N'16079523', NULL, N'03498.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'Block 125', N'', N'LOT 2 BLOCK 125 DISTRICT LOT 4588 KOOTENAY DISTRICT PLAN 902 EXCEPT PART INCLUDED IN PLANS 8271 AND NEP20067', N'0036', N'0018', N'NO', N'ICF', 4, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:31:10.000' AS DateTime), 353, 78, 0xBD0B0000010405000000B6AF0327AE4E3B4100174850181E21410E83C0CAAF4E3B4108B459B5EE1D21416407CE99994E3B41C03923CA021E214175931824A14E3B4118AC1C1A241E2141B6AF0327AE4E3B4100174850181E214101000000020000000001000000FFFFFFFF0000000003, CAST(1492874 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1492965, N'{1EB6AD6D-6DFE-4119-B703-DF4798EF724C}', N'005649307', 18837, N'VIP7710', 761941, N'5649307', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'', N'', N'LOT 2, SECTION 7, RANGE 5, SOMENOS DISTRICT, PLAN 7710 EXCEPT PARTS IN PLANS 3426 RW AND 2247 RW', N'0089', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T22:09:35.000' AS DateTime), CAST(N'2019-01-07T18:33:48.000' AS DateTime), 660, 109, 0xBD0B00000104070000000E83C04AB0D1314190FEB2FBD8F01941C8BAB84DB0D131417057CAB2BBF01941A9CFD536ACD13141B08173467EF019415E07CE79A6D13141400C022B5FF01941287502DA94D131413083C04A3FF01941E9FBA91194D1314190AC8BDBA5F019410E83C04AB0D1314190FEB2FBD8F0194101000000020000000001000000FFFFFFFF0000000003, CAST(1492965 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1493183, N'{5AD797DD-EF1E-42FA-9875-FCD448666B2E}', N'014915120', 3, N'NO_PLAN', NULL, N'14915120', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'1001S', NULL, NULL, N'DISTRICT LOT 1001S SIMILKAMEEN DIVISION YALE DISTRICT EXCEPT PLAN H16866', N'0163', N'0022', N'NO', N'PMBC-OPERATIONS', 3, N'DATACOMPILATION', N'UNKNOWN', N'0', NULL, CAST(N'2020-12-17T09:44:29.000' AS DateTime), CAST(N'2020-12-17T10:59:50.000' AS DateTime), 10062, 1131, 0xBD0B000001041F000000EF8E53346A0B3641701F63EE629E1D418FCB7FA88F0B3641008863DD289E1D41B4AF0327CD0B3641D0E3141DA89D1D41216C785A080C3641A0529621609D1D4169DE714AED0B3641E04A5906579D1D41206C783AD20B3641F0D5E7EA4D9D1D4195900F7AC50B364140FAED6B5D9D1D417EFB3A50870B364190976E92DF9D1D41009A089B620B3641A047E17A189E1D4133DD2486480B3641402041F1449E1D412C5305233F0B36415069DEF1549E1D41AC35CD5B300B3641F050DA1B5C9E1D417DFB3AB0DA0A3641F0AE2564319F1D418B38D6E5B30A364100C66DB4AD9F1D41F6A9F1929D0A3641106744E94DA01D41125839143D0A364100C9763E86A01D41E8482E9F3C0A364130C286A785A01D4180AEB6A2330A3641E0B9DA0A7AA01D41E1C798BB190A3641207A36ABABA01D4163C3D3AB230A364120C9E53FBDA01D41A72C435C3B0A36410048E17AD8A01D417836AB3E700A3641C099089BB9A01D4181613255AA0A3641D0E926B197A01D41B4B6625FBE0A3641501B0DE007A01D411A6A4D93C30A36417027A089E29F1D41D188D23EF70A3641604547F23C9F1D418C3A010D010B3641A0AC8B5B0D9F1D41FCDBD721280B3641C0E00B13B19E1D41E8263168440B36413064CC5DA39E1D41F80FE977590B3641506B2B767F9E1D41EF8E53346A0B3641701F63EE629E1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1493183 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1493328, N'{7E763086-BC05-43B4-9D3F-76AFE21A9832}', N'006914730', 12870, N'VIP1750', NULL, N'6914730', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 12', N'Block 12', N'', N'LOT 12, BLOCK 12, SECTION 5, RENFREW DISTRICT (SITUATE IN COWICHAN LAKE DISTRICT), PLAN 1750, EXCEPT PART IN PLAN 2762RW', N'0064', N'0007', N'NO', N'ICIS CADASTRE', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T16:46:10.000' AS DateTime), CAST(N'2019-01-07T18:31:39.000' AS DateTime), 3173, 348, 0xBD0B000001040A0000007458A855836E31419028ED0D22FC1941F5A9F192D96E3141E0FBA97125FC19415C4BC887B56E3141A03C2C5488FB19418EA0F871856E3141A03A014D9DFB19417458A855836E31419028ED0D22FC1941D7A3701D196F3141E044D87064FB19415C2041F1E76E3141004A7B8373FB194196D40948F96E3141F0B0BFECBDFB1941845AD35C206F3141A0B20C7185FB1941D7A3701D196F3141E044D87064FB1941020000000200000000020500000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1493328 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1494130, N'{FAEE794F-63D5-425A-B6D5-EEB9AB40BEB5}', N'014612364', 3, N'NO_PLAN', 11706281, N'14612364', NULL, N'760-009252.060', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 12', N'88,18', N'', N'THAT PART OF FRACTIONAL LEGAL SUBDIVISION 11 OF SECTION 12 TOWNSHIP 88 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT LYING SOUTH OF BEATTON RIVER', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:30:02.000' AS DateTime), 75620, 1251, 0xBD0B00000104400000000022FD96792D344168666686EFE43341FF088A9F802D344148621058F3E43341489D80A6872D3441F8B0502BF7E43341A201BCA58E2D34418095430BFBE433410A341196952D344140257502FFE4334110E9B76F9C2D344180BE9F1A03E53341CED5562CA32D3441F051B85E07E5334196A982B1A92D3441EC4EAFF40BE5334101F77500B02D3441D8B584DC10E5334196C42030B62D344138E17AF415E533419A218E55BC2D3441D03D79181BE533411C95D489C22D3441C46F5F2720E533418E7EFBBAC82D3441A0BDC13725E5334191E4F2DFCE2D3441001973572AE5334162E5D002D52D3441B847E17A2FE53341467B832FDB2D344148575B9134E53341787AA56CE12D3441E0718A8E39E53341624BC8C7E72D3441E4B7AF633EE53341C854C148EE2D3441182FDD0443E5334120166AEDF42D34412418957447E53341EA8C28ADFB2D3441448941C04BE53341FF907E7B022E34418C2A18F54FE533416A3BDF4F092E344134AD691E54E53341F02FBB27102E3441041B9E3E58E5334163325510172E34419C923A415CE533413D1361031E2E3441BC0E9C3360E533412EA2B4F7242E3441AC2E6E2364E533413F1361E32B2E3441BC490C2268E53341EC51B8BE322E3441D4B5843C6CE53341DBF0F48A392E3441C844D87070E53341BA8D0650402E344130A089B074E533419B2A1815472E3441E01FD2EF78E533419F89B0E14D2E3441E800DE227DE53341D3915CBE542E3441146C783A81E53341A6A44EC05B2E344130A2B41785E533413E355EDA622E3441F81FD2CF88E53341467B83EF692E3441008D288D8CE5334162E5D0E2702E3441B047E17A90E53341C98F3197772E344108780BC494E5334138B4C8D67D2E34410CB37BB299E5334189635DBC832E34410C93A9229FE533416E469496892E344138F8C2A4A4E53341F07C3FB58F2E34414C7958C8A9E533415EFE433A962E3441E488D25EAEE533416CC5FEF29C2E3441C48D06B0B2E53341F041CFC6A32E3441183FC6DCB6E5334148BF7D9DAA2E3441E89C1105BBE533413C80B760B12E344190703D4ABFE533411C7C6112B82E3441C878E9A6C3E53341F2D24DC2BE2E344178029A08C8E53341903A016DC52E344170E92671CCE5334131333313CC2E3441CC64AAE0D0E53341E6F21FB2D22E34414C477259D5E5334152A60A46D92E3441F09C11E5D9E5334170E7FBC9DF2E344128D49A86DEE53341460C024BE62E34417C832F2CE3E53341C00E9CD3EC2E34417814AEC7E7E533418E3A016DF32E34417C029A48ECE533418AFD6517FA2E344160E09CB1F0E5334170D71212FE2E3441D0DCB544F3E53341EC95B26C132F344114B6F35DC7E433412A287E8C7B2D3441A479C7C9A8E43341B4FC8754762D34418C635DBCEDE433410022FD96792D344168666686EFE4334101000000020000000001000000FFFFFFFF0000000003, CAST(1494130 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1494402, N'{11B94E9B-AC71-49AD-8A98-C0286A278A8C}', N'015757633', 472336, N'NEP1499', NULL, N'15757633', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 24', N'', N'', N'THAT PART OF LOT 24 DISTRICT LOT 9953 KOOTENAY DISTRICT PLAN 1499 INCLUDED IN PLAN R110', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:43.000' AS DateTime), 134, 74, 0xBD0B0000010406000000FA65F7E4EBDD394130A69B44DA7D1E41F8B9DA0A04DE394110341136377E1E4112D0449807DE394130B6F37D287E1E41C510C77AFCDD3941707CD0B3FD7D1E41177C6192ECDD3941D0D85F76D77D1E41FA65F7E4EBDD394130A69B44DA7D1E4101000000020000000001000000FFFFFFFF0000000003, CAST(1494402 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1494428, N'{711D9D64-C9A4-42AB-96AC-C63CBCDA9731}', N'009638296', 467866, N'NEP15285', NULL, N'9638296', NULL, N'7863421020', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot A', N'', N'', N'LOT A DISTRICT LOT 883 KOOTENAY DISTRICT PLAN 15285 EXCEPT PLAN NEP81373', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:37.000' AS DateTime), 3763, 299, 0xBD0B000001040E000000C6C11746859A3941004013E188C81F41B9627F79869A39415014AE4777C81F419CCDAAEF7D9A3941801D38E745C81F413D4547923B9A39416068916D0BC91F419DEFA7C6279A3941107B142E68C91F41904AEA443A9A39417095430BA7C91F4108F9A0E7439A394110C05BA079C91F41C8FEB2BB4D9A3941B0285C0F4BC91F411283C00A659A394150D3BC6399C91F4174C5FEF2789A39411036ABBE3CC91F415CA835ED819A3941F0A2923ABAC81F41B437F8C27D9A394120BB270FACC81F4126166A8D829A3941902D90A095C81F41C6C11746859A3941004013E188C81F4101000000020000000001000000FFFFFFFF0000000003, CAST(1494428 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1495709, N'{B6967135-2710-4850-828D-B819CC6EFA37}', N'000017647', 645957, N'VIP1279', NULL, N'17647', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 27', N'Block 3', N'', N'LOT 27, BLOCK 3, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:54.000' AS DateTime), 383, 96, 0xBD0B0000010409000000F3B0500B939D3041C020B072A8BB1C41D6F0F4EAAF9D3041A0B0506BABBB1C419AC42030B09D3041A0C64B3783BB1C4114E9B74F919D3041D04C150C80BB1C41CF5D4B48919D3041F0B9DA0A80BB1C416D5F070E8A9D3041B03A014D7FBB1C4174029AC8899D3041806DC57EA7BB1C417B9CA203939D3041F0B27B72A8BB1C41F3B0500B939D3041C020B072A8BB1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1495709 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1495749, N'{3FD1E717-3DB6-4375-8138-4BA2E6E2F920}', N'000017043', 3, N'NO_PLAN', NULL, N'17043', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 256', N'', N'', N'THAT PART OF DISTRICT LOT 256, ALBERNI DISTRICT, INCLUDED IN PLANS 277 RW AND 284 RW AS SHOWN OUTLINED IN RED ON PLAN 146 R', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:39.000' AS DateTime), 11513, 1946, 0xBD0B00000104390000005C5BB1BF0790304140CA324447391D4194218EF5FB8F304100ED0DBE65391D411695D4096C8F3041A0D6346FD33A1D415E6DC5BE6B8F3041A0BFEC1E0D3B1D416D5F078E0290304120B6F3FD8D391D41577DAE760E903041B0A0F8316F391D4155D3BC431A903041200681954F391D412EB29DEF25903041403480372F391D41267E8C7931903041609A771C0E391D4143AD69DE3C90304150802642EC381D4161EE5A2248903041407B14AEC9381D410B12143F53903041C0F67560A6381D418E06F0365E90304170D1915C82381D4106F9A00769903041E00B93A95D381D41E6F21FB27390304110A4DF3E38381D414BEA04347E90304160E7FB2912381D411A9E5E8988903041E0460378EB371D4122F46CD69191304110871659F9331D41EBEAA6D39A91304170AD1E0AD9331D4155476843A491304140A152D7BA331D41E02AC71DAE913041307D05DA9E331D41684E805AB8913041601FB02985331D413AF0FDF0C2913041407EDDDB6D331D41F5065FD8CD9130417093180459331D41E88C28CD44923041B06D340086321D4177D55A6F4C923041F026756A78321D414BDCA1EF53923041F00183B269321D415F694C4B5B923041205FA6DD59321D419568B67F62923041A0E28DF148321D416CDC498A69923041A0674CF436321D418CCB7F6870923041A0D556EC23321D4192A0F8D15A923041D0BDC11723321D41E3C33C775692304150817F522D321D41BBE4280D52923041D028D02137321D413E9F62944D923041B0AA438440321D410FB7910D49923041D0F6797849321D417FFE5F7944923041202123FD51321D41D63D79D83F9230414097FF105A321D4140E8D9CCC8913041D05D4B482D331D41F33AA849BD913041604EE64D43331D41EF3ED31BB2913041101001EC5B331D41D6A7B54CA79130419036020E77331D41E4E75AE59C9130416087359D94331D41209E77EE92913041D0FCDE80B4331D41D24D62708991304190764F9ED6331D415D54522780903041C05BB1BFC8371D4124166AED75903041D095B20CEF371D41F10DBE906B90304170BF7D9D14381D41055F980C6190304140DBF97E39381D41BB37F86256903041107C61B25D381D413B4ED1914B903041A0C64B3781381D41865AD39C40903041F0263108A4381D41E5C039833590304160522720C6381D4135EF38452A903041B025E483E7381D41006F81E41E903041707AA52C08391D4164E5D062139030419006F01628391D415C5BB1BF0790304140CA324447391D4101000000020000000001000000FFFFFFFF0000000003, CAST(1495749 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1496663, N'{CC9E983B-BAD9-4247-9C96-93D2F346F45E}', N'002977907', 136820, N'VIP24099', NULL, N'2977907', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 5', NULL, NULL, N'LOT 5, SECTION 81, ESQUIMALT DISTRICT, PLAN 24099', N'0065', N'0005', N'NO', N'ICIS CADASTRE', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:26:48.000' AS DateTime), CAST(N'2020-12-14T14:28:35.000' AS DateTime), 894, 133, 0xBD0B000001041300000064BC743314123241C05D4BC87368174111022BA73E12324140EA04B43A681741477B83AF3A12324150D478690B68174179711BAD35123241D0DE4F8DCF671741C00E9C13141232418057CA322E681741579D40CA1412324140BF20A632681741ECA3916715123241C09A6554376817415E2761EA1512324140BE9C343C681741C80DB45116123241901E6A3D41681741AD00C49C1612324110C723654668174186E900CB161232416067E4A14B6817416C0612DC1612324170529EE950681741A294D6CF1612324180C92E3256681741160F66A616123241F07271715B681741BB01106016123241C0D0539D6068174190705BFD15123241F096E8AB6568174184D4057F1512324190B97A936A681741D0AF01E614123241700DA04A6F68174164BC743314123241C05D4BC87368174101000000020000000001000000FFFFFFFF0000000003, CAST(1496663 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1497545, N'{612D75E1-C75A-4838-A5A5-6AEB9AC741CE}', N'013977849', 295389, N'PRP968', 23695251, N'13977849', NULL, N'01257.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 7', N'Block 111', N'Section 2', N'LOT 7 BLOCK 111 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:38.000' AS DateTime), 233, 66, 0xBD0B0000010405000000B5BFEC1E5D7A2B4104F2410F91643141819ECD2A717A2B4120EF38E59064314199D6346F707A2B41684469AF79643141E11B7C615C7A2B414C4772D979643141B5BFEC1E5D7A2B4104F2410F9164314101000000020000000001000000FFFFFFFF0000000003, CAST(1497545 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1498156, N'{F5D9837A-5733-4F52-9561-089597DC157B}', N'002544415', 6465, N'VIP42873', 90056721, N'2544415', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot A', N'', N'', N'LOT A, BLOCK 564, NANOOSE DISTRICT, PLAN 42873', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2019-01-05T08:35:08.000' AS DateTime), 61008, 1112, 0xBD0B000001040F0000007836AB1E952D3141305A64BB79061D4164E5D062C82C314170014D843D081D4128651982452D314180C3D3ABA00A1D4169B3EA13922D3141E01F63EE040D1D416CF08529C22D3141209C33224B0D1D4168DE712AD12D314190FF90FE09081D41022BA611D12D314160FDA6DDE5071D413A266216D02D3141107FF9F2C1071D418105113BCE2D3141C07F0B979E071D41B1224684CB2D3141403300217C071D4182B5B1F8C72D31418044C4E55A071D41085810A1C32D3141E0943C373B071D41C27E1588BE2D314180637C631D071D41CF1951BAB82D314130EA04B401071D417836AB1E952D3141305A64BB79061D4101000000020000000001000000FFFFFFFF0000000003, CAST(1498156 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1498563, N'{3CF50268-79D7-4EEA-8213-013D4D8E5BCC}', N'006482473', 1185260, N'NWP30099', NULL, N'6482473', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2004-01-29T00:00:00.000' AS DateTime), N'REM Lot 5', N'', N'', N'LOT 5, EXCEPT: PART ON SRW PLAN 45999A DISTRICT LOT 175 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 30099', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:35:40.000' AS DateTime), 34772, 766, 0xBD0B000001040500000027E4835EE68A3241008716591DBD1B4128189514528A324120674469CDBC1B41B38BDB08498A3241F0C0392390C01B41FCF675E0DD8A324150742417A5C01B4127E4835EE68A3241008716591DBD1B4101000000020000000001000000FFFFFFFF0000000003, CAST(1498563 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1498844, N'{09EEE343-CCA4-4163-B215-C14AC1592BBF}', N'002213877', 1179561, N'NWP8955', NULL, N'2213877', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2007-08-01T00:00:00.000' AS DateTime), N'REM Parcel 3', N'REM Lot 2', N'', N'PARCEL 3 (EXPLANATORY PLAN 11563) OF LOT 2 SECTION 29 BLOCK 1 NORTH RANGE 1 EAST NEW WESTMINSTER DISTRICT PLAN 8955 EXCEPT PLANS 78025, BCP22960, AND BCP31520', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T09:13:25.000' AS DateTime), 3050, 245, 0xBD0B000001040600000090180476E7E73241D0EA7335306D1B4199900F5AE8E73241C0726891DF6C1B41D9096802E9E73241104A7B03A46C1B41CA073D1B8EE732416058A8B5916C1B41D69AE69D94E73241A0F753631F6D1B4190180476E7E73241D0EA7335306D1B4101000000020000000001000000FFFFFFFF0000000003, CAST(1498844 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1500843, N'{08477E11-2150-4B3F-832B-38B085A926FD}', N'011472049', 1308956, N'NWP84', NULL, N'11472049', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'REM Lot 7', N'Block 30', N'', N'LOT 7, EXCEPT PART IN PLAN LMP18430 BLOCK 30 DISTRICT LOT 203 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 84', N'0109', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:21:07.000' AS DateTime), 76, 41, 0xBD0B00000104050000008048BFBD7CBC32416082E2C74F461D414872F94F7ABC3241602041F147461D41AD9DEF4770BC324150F46CD675461D41BA490CA275BC3241A09AE61D87461D418048BFBD7CBC32416082E2C74F461D4101000000020000000001000000FFFFFFFF0000000003, CAST(1500843 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1501914, N'{30945B5D-3D31-475F-A098-F88712089445}', N'009680373', 1170767, N'NWP2620', NULL, N'9680373', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-16T00:00:00.000' AS DateTime), N'Lot 41', N'Block D', N'Lot 758', N'ALL THAT PORTION OF LOT 41 BLOCK D DISTRICT LOT 758 GROUP 1 PLAN 2620 SHOWN ON STATUTORY RIGHT OF WAY PLAN 10087', N'0088', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:36:39.000' AS DateTime), 544, 103, 0xBD0B0000010405000000ED38458778A53241E0EA73350B891C41AB9BC4E090A53241401361C34E891C41C97F48DF91A53241B03B4E51F8881C41B696906F79A5324120948785B4881C41ED38458778A53241E0EA73350B891C4101000000020000000001000000FFFFFFFF0000000003, CAST(1501914 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1502844, N'{90BA8084-0D26-43E0-BE0A-9A386C0DC256}', N'Statutory RoW', 4651749, N'KAP1274A', 90022710, N'10501312', NULL, NULL, N'ACTIVE', N'INTEREST', N'CROWN PROVINCIAL', NULL, N'Parcel 15', N'Lot 3', N'', N'THAT PART OF LOT 3 SHOWN AS PARCEL 15 ON PLAN A1274 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 4599', N'0095', N'0022', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:50.000' AS DateTime), 8063, 382, 0xBD0B00000104230000006D567D8EE06C3641E040826211AD1D412E992A58E26C3641C0CFD55679AD1D415EA1D674EC6C36419001BC05BDAD1D414CD1911CF36C3641B0A3013CCFAD1D41DF141D69FC6C3641003D9B55E1AD1D41F2164870006D3641E04447F2F8AD1D4156A835CD016D3641001214BF08AE1D417A2D217F066D3641C06B78FA22AE1D41DA9AE67D0C6D364160A2B43735AE1D41A367B3CA116D3641F03845473AAE1D419CBB9670186D3641908785DA49AE1D41FBCBEEC9196D36412064CC5D54AE1D4152DA1B1C1F6D3641C0627F5961AE1D4118265365246D36412052272061AE1D415A8638362F6D364140AA60D461AE1D41CC88D23E2F6D364190AC8BDB61AE1D41923A01ED2C6D36411050FC9814AE1D41E3141D092B6D3641A0931884C7AD1D41A6EFA7462A6D364170293A929EAD1D4194180496296D3641E041CF667AAD1D4117C2FE5A296D364110557DA16CAD1D41701F6B24296D3641902B06DB5EAD1D418C8B49F2286D364110B8801351AD1D41EC599AC4286D364100EF034B43AD1D41A8D65D9B286D3641F0C5A68135AD1D416A469476286D3641E03480B727AD1D41BB7493D8276D364180068115D6AC1D415FEE5AC2276D364180A913D0BFAC1D4162DE71AA276D364130F6285C77AC1D41E5FBA9B1276D3641F078E9A657AC1D41412CD47AE36C364150E561214DAC1D41B269DE71E16C3641900512144FAC1D41715F072EDF6C3641C05B20414FAC1D413B894180DF6C364150EF3845A9AC1D416D567D8EE06C3641E040826211AD1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1502844 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1503023, N'{BB83DC05-8820-46C1-8636-71ECD06F0E8A}', N'010476857', 857721, N'KAP4702', NULL, N'10476857', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 337 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 4702 EXCEPT PLAN 11546', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:31:37.000' AS DateTime), 22191, 761, 0xBD0B0000010408000000D68AFD4566633641E0AB1CDAE1B01E416C09F98049633641D0482E7F5EB01E412B0F0B554B6336411052B81E05B11E41E451B89E0C633641B0B662FFD4B41E4156A8358D77633641509B559FF2B41E410EA392BA7E633641A094D4893BB31E41CC10C7DA89633641A06A2B769EB01E41D68AFD4566633641E0AB1CDAE1B01E4101000000020000000001000000FFFFFFFF0000000003, CAST(1503023 AS Numeric(38, 0)), NULL) +GO +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1504573, N'{F16300A1-4532-4156-9F77-B86A31EF2971}', N'004720164', 4691, N'VIP13132', 281651, N'4720164', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', NULL, NULL, N'LOT 1, SECTION 3, RANGE 8, CRANBERRY DISTRICT, PLAN 13132', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2020-08-25T16:02:23.000' AS DateTime), 6286, 351, 0xBD0B000001040D0000002B18953467A2314170A7574A909A1B4144D9F8786DA2314180D395CD859A1B4137C84FCB73A2314180534FDA7B9A1B41B36CDD2A7AA2314170CEAC71729A1B4164C4E39680A23141F0C5C694699A1B411B59A30E87A231412077A544619A1B413E575B918DA2314170B74082599A1B41141DC9C58DA2314140AD695E3A9A1B4164984C158CA2314190A679C7379A1B413A014D648CA23141A0B662FF0D9A1B41263A926B22A231414082E2C783991B41A28026421CA23141D0EA73B50A9B1B412B18953467A2314170A7574A909A1B4101000000020000000001000000FFFFFFFF0000000003, CAST(1504573 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1505342, N'{C14AB403-A481-4D9F-A599-2FEF08FD85E2}', N'001711253', 12869, N'VIP218D', NULL, N'1711253', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'Block 61', NULL, N'THAT PART OF LOT 5, BLOCK 61, SHAWNIGAN LAKE SUBURBAN LOTS, SHAWNIGAN DISTRICT, PLAN 218D SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 11553F AND CONTAINING 0.724 OF AN ACRE MORE OR LESS', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 3, N'LSA', N'UNKNOWN', N'0', N'3366', CAST(N'2021-02-11T11:00:13.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 3421, 293, 0xBD0B0000010411000000183FC63C27E33141E0DA8AFDB2D41841F80FE9F72FE33141C0ADD8DF9DD4184108AC1C9A38E3314170302A2988D41841333CBDF241E33141E00E2DB26FD4184158643B5F4AE33141F0EDEBC058D41841124FAFF45AE33141D0E00B1329D4184107D7A31063E3314190D4786910D418411595D4E97FE3314190B20C71B5D31841DCF97E0A80E3314150355EBAAFD318413911361C81E3314160E7FBA989D31841AAC64B7760E33141F01B7C617FD31841EF41CF663AE331410003098AF0D3184109F0166832E3314140234A7B06D4184177E09C512AE33141201AC0DB1BD41841E551B89E1AE33141B09CA22343D418418A855A7317E33141404ED111D7D41841183FC63C27E33141E0DA8AFDB2D4184101000000020000000001000000FFFFFFFF0000000003, CAST(1505342 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1505539, N'{002AD44A-ED7E-4AE7-B8BE-9E5670591D72}', N'006225306', 646568, N'VIP2874', NULL, N'6225306', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 2', N'Block 1', N'', N'LOT 2, BLOCK 1, DISTRICT LOT 66, SAYWARD DISTRICT, PLAN 2874', N'0013', N'0027', N'NO', N'ICIS CADASTRE', 12, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2019-09-07T21:04:19.000' AS DateTime), 373, 80, 0xBD0B0000010413000000C2CAA1659C0D304138C3D36B310621415C13A6BD9C0D304158CD17F4300621417071D71A9D0D3041A056368D3006214101F9677C9D0D304170B3123830062141191580E19D0D3041E00369F52F062141286440499E0D30411095CCC52F062141BCA5C3B29E0D3041989AA6A92F062141CEB4201D9F0D3041B04735A12F0621413E8B6C879F0D304170438BAC2F0621413A62A3F3A00D3041D0A7E26E2E0621416EEA3467A20D3041907A59552D062141CD023CE1A30D304158579D602C0621419D8ECF60A50D3041D82945912B062141210503E5A60D304158CDD0E72A062141B103E76CA80D304158C1A8642A062141AFEA7355A40D304160014D04FC052141A4A22359950D304148DF4FCD00062141B9B88DA6990D3041086A4D3334062141C2CAA1659C0D304138C3D36B3106214101000000020000000001000000FFFFFFFF0000000003, CAST(1505539 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1505829, N'{D4220529-F1DB-4E3E-A7E7-43C5C4D88CFD}', N'001986708', 3, N'NO_PLAN', 4107280, N'1986708', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'4682', NULL, NULL, N'DISTRICT LOT 4682 OSOYOOS DIVISION YALE DISTRICT', N'0163', N'0012', N'NO', N'ICF', 21, N'LSA', N'UNKNOWN', N'1', N'620551', CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-10-02T15:23:19.000' AS DateTime), 620466, 5331, 0xBD0B00000104A3000000562041F1822037412097FFD06A6722413EBD52D688203741C85D4B88FA662241DD9387E5C01F374140C05B60D26622414E89CEA0C31F374110597B54DA6622410EFCEAA2C61F3741783BAADFE166224183A6F0E7C91F3741680612F8E86622419A019C6BCD1F3741C0057294EF6622411ED45729D11F3741A8432BACF5662241AA2C431CD51F3741B0C64B37FB662241C7BAB8CD18203741504013A1516722418319A0452220374100485A425C67224120E7912A2C20374130C13034656722411C04676936203741F82346656C67224119514AEE40203741F093AEC771672241BE12DFA44B203741F8D3FD50756722413E5C68785620374110725BFA766722412034F15361203741C00890C076672241482575226C20374110780BA474672241A48C2F2B6D203741E076072F7467224191786B336E20374120FBA0B5736722413E43243B6F2037413027DA377367224119495542702037418831B5B57267224106E9F948712037411064342F7267224152840D4F72203741B01C5AA471672241562041F1822037412097FFD06A672241F897DDD3991F3741D812F2C171692241D05D4BC8C01F37412874B5D5676922413A637817C21F3741E86846006669224172E4C44EC31F3741D01B22ED63692241BC6D5C6BC41F3741C09E1CA16169224146B2A86AC51F3741E8618E215F6922417A91574AC61F3741E8C347745C692241B87D6008C71F3741B088839F596922418E3709A3C71F3741D85CD8A95669224120D3E918C81F3741687D299A53692241C1FDEF68C81F374120B2967750692241167C6192C81F374188B96B494D69224146EA04F48B1F3741482EFFE146682241BD70957C871F374188A7447C326822413A65E773831F3741F84107BB1D6822414915CEDB7F1F3741D84FABA7086822419EDCE9B57C1F3741D04BBA4BF3672241CC68A7037A1F3741C088DEB0DD67224113143FC6771F374198D2DEE0C7672241EAD0221B601F374198A757CABE662241915CFEE3681D374178DE714A596622414E2EFF81491A374108621058B9652241BB15FB0B211A3741C078E9E6D2682241AE9465283F1D3741481E162A76692241A8ADD87F7B1F3741206B2BF6E86922411B7C6172791F3741A028ED4DDE692241D2955CF8771F374190FE3D18D969224167C4D3B7761F37411014A4A7D369224107B40DB3751F3741E8E70206CE692241AE6EE4EB741F3741F017973DC869224125FEC163741F3741B0C6E358C26922413ADA9D1B741F3741807E9F62BC6922419026FB13741F3741A0B8A065B669224172C4E74C741F37410029CA6CB06922418A39FCC5741F3741D8F5F682AA692241FA6B5C7E751F3741F0F9E6B2A46922417A32B974761F3741A83B2B079F69224180B552A7771F374160B7128A996922418C9DFB13791F3741D0A19745946922412B081DB87A1F374178454D438F692241F93CBB907C1F3741589A4E8C8A692241E7197B9A7E1F3741D0B82D2986692241242DA8D1801F37410045E4218269224103713B32831F3741F8EFC47D7E692241469EE2B7851F3741D8266E437B6922412807085E881F3741E00BBE7878692241DBECDA1F8B1F3741C8CAC72276692241784058F88D1F37411060CA457469224151BF53E2901F3741D0DF28E572692241435A81D8931F3741284F640372692241ADD67ED5961F3741481517A271692241F897DDD3991F3741D812F2C171692241C78F31F77E20374130CB1087B8672241BE0E9CB37F203741200DE02DAA672241FE4C84CD7820374168E5D0E2AD672241F24ABF187720374180647C7BAE672241EA9A2A6375203741A0EF8F0AAF6722413AB9D3AC73203741B01D0790AF6722413C28C8F571203741B8D1DD0BB0672241D66F153E70203741203B107EB06722411B1DC9856E20374130D49AE6B067224108AF9D416120374188AEF33EB3672241E75C37F05320374160E9384FB3672241B61DA7AA4620374130E54B17B16722417EA1E78939203741788C599BAC672241934DAEA62C2037417877D2E3A567224132BB3C1920203741280A5BFD9C672241691033F91320374128A9B3F8916722416A88635D08203741C83099EA846722416E6891ADC41F374130A5BD812E672241B25618C2BE1F3741580B9A4926672241FC769826B91F37413054F93B1D67224177A492E2B31F3741E8BBF8641367224178AC12FDAE1F374100F7C2D1086722410AE1A57CAA1F374140907E90FD6622415D545267A61F3741A0FB3AB0F1662241881F632E9A1F374150B6F37DCA66224112363CFD801F3741182AA953C566224183AEB6A2961F374198B96B89BF6722414E6B7197981F3741A89F1B76D2672241CB549BEF9A1F374140556435E5672241CB322FAA9D1F374158FA1CBFF76722418DF7FCC5A01F374180FF330B0A6822411244AA41A41F374130A8B2111C682241C7FEB21BA81F3741F882C0CA2D68224180E2C758E41F3741A011A57D32692241C835953EE51F374108F40C3C3A6922416F0C2ECEE51F37416053AB1A4269224112528106E61F374100F7880A4A69224164E923E7E51F374118DA8DFC51692241F7775170E51F3741E8DF9DE159692241E8F4EBA2E41F3741508EB5AA61692241EEFA7980E31F3741A09D064969692241BEE1230BE21F3741881D14AE706922418CA3AF45E01F3741F004CECB77692241D6967B33DE1F3741B8EEAB947E6922419A0678D8DB1F3741C0D6C6FB84692241BDB41F39D91F3741D0A2F1F48A69224141556F5AD61F3741104BD074906922418212DC41D31F3741D072ED7095692241E22B49F5CF1F3741284ECEDF99692241D6C3FC7ACC1F374178A704B99D69224123F193D9C81F374140E83EF5A06922416B2BF617C51F37412004568EA36922414F9621AE9D1F3741305BB13FAE6922418F684E149E1F37413871665BAF69224196480A6E9E1F374180957787B06922415394AEBA9E1F37415090B7C1B16922414DF9ACF99E1F3741C0D3DE07B3692241487D902A9F1F374150B78F57B46922413A57FE4C9F1F374178DC5AAEB56922411298B6609F1F374140B4C309B76922415CA194659F1F3741081D4567B869224130698F5B9F1F3741F81056C4B9692241178BB9429F1F3741705B6E1EBB6922418925411B9F1F3741A04B0B73BC69224114846FE59E1F3741385FB4BFBD6922416A97A8A19E1F374160D8FF01BF692241CC3B6A509E1F374188389737C0692241354F4BF29D1F3741C8983B5EC16922415499FA879D1F3741B0D4C973C2692241DE863D129D1F3741F0813E76C36922410BBBEE919C1F3741C0AEB963C46922417E79FC079C1F3741F85B823AC5692241E3EB66759B1F374150B009F9C56922412B463EDB9A1F3741C0DDED9DC66922413CCDA03A9A1F3741E0B0FC27C769224123C3B894991F3741F0CA3596C76922415E3DBAEA981F3741F87DCCE7C7692241B7E8E03D981F37417847291CC869224104BF6D8F971F374128EBEA32C869224134B3A4E0961F37412827E72BC8692241A457CA32961F374118022B07C869224199D409E89C1F3741583255B0EA69224157499DC09D1F37418096908FEF6922415B07CED95F20374128B150AB176A224143C6DC157720374148C6DC3552682241C78F31F77E20374130CB1087B86722410300000002000000000219000000024D00000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(1505829 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1506576, N'{B1035912-D4AE-4450-B392-86D4D3759610}', N'001673939', 12592, N'VIP218B', NULL, N'1673939', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 7', N'Block 51', NULL, N'LOT 7, BLOCK 51, SHAWNIGAN LAKE SUBURBAN LOTS, MALAHAT DISTRICT, PLAN 218B EXCEPT THAT PART IN PLAN VIP55932', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:48:21.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 5633, 412, 0xBD0B000001040C000000DF0209CAB9EB3141F0A292BAF58118413D136143A9EB3141F011143FF4811841CE4D62F0A8EB3141C037F8423E821841DF0209CAB9EB3141F0A292BAF581184130211F740AEC314100C58FB1FC811841B68D0670A7EB314180567D2E9883184134B29D0F0CEC314190469476A38318413D8B6C870CEC3141D07BF230208318415E764FDE0CEC31417014AE47C1821841506210380DEC31416019E2585F821841A96054920DEC3141404772F9FC81184130211F740AEC314100C58FB1FC811841020000000200000000020400000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1506576 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1507752, N'{51FA32D2-74DC-4F39-9E85-93B207828F31}', N'001710907', 12869, N'VIP218D', NULL, N'1710907', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block 61', NULL, N'LOT 3, BLOCK 61, SHAWNIGAN LAKE SUBURBAN LOTS, SHAWNIGAN DISTRICT, PLAN 218D', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 2, N'LSA', N'UNKNOWN', N'0', N'10258', CAST(N'2021-02-10T13:43:33.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 10262, 406, 0xBD0B000001040B00000098900FBA9AE33141D0B5847C92D318413770CE28B6E3314110A69BC498D3184144CF6695D7E33141A0F831E6A2D3184155F38ED3E3E33141D0B5F3FDA6D3184190976ED2E6E3314190FF21FDA7D318417C931804F0E3314140A0F83119D2184167DE712A8BE3314110378941F3D11841129C330285E33141F08B4AEAF5D218413911361C81E3314160E7FBA989D31841E461A1D689E33141B0A982518CD3184198900FBA9AE33141D0B5847C92D3184101000000020000000001000000FFFFFFFF0000000003, CAST(1507752 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1508361, N'{B063E7B9-B765-4B37-AA48-4DC8DE98307B}', N'016533097', 3, N'NO_PLAN', NULL, N'16533097', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'A', N'30', N'26,21', N'PARCEL A (SKETCH PLAN 5055I) SECTION 30 TOWNSHIP 26 RANGE 21 WEST OF THE 5TH MERIDIAN KOOTENAY DISTRICT EXCEPT PLANS NEP65016 AND NEP66542', N'0163', N'0006', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', N'1573822', CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-05-21T12:04:23.000' AS DateTime), 1573566, 5533, 0xBD0B00000104330100002B068175CDE638419803E78C035E264178A52C43CFE63841382CD45AFB5D2641092428DED0E63841080000C0F35D2641EF9E3CCCD3E63841303411F6E95D26412C772DC1D5E63841800D4F2FDA5D2641708A8EC4D9E6384110A8C6CBCB5D2641A23C2CB4DDE63841684BC887BC5D264130E6AE45E5E638419026C2C6A45D264193DD9327EAE638412810E977975D2641B88D0670EDE63841D03B4E51925D264146868B25EEE63841408FC8CA905D2641F276E6E2EEE63841387D70538F5D2641E837C6A7EFE6384110E4E6EB8D5D26416868D673F0E63841A8DBC5948C5D2641D492BF46F1E638410074A04E8B5D264158522720F2E638411875021A8A5D264147C8079DF7E63841D8718ACE7D5D2641004D844DFAE6384108B7D180785D264192E4F29FC5E63841D00968E2F45C2641E8D9AC7A64E63841F85E98CCC65B2641EC9E3CCC4FE63841F06C56BDAC5B26419AC420D033E63841909ECD6AA55B26414EB81E852EE53841E8C7987B615B2641BEEC9E9C2BE53841104850BC605B2641EBD9AC3A29E5384190F6061F605B2641F8E461E137E338418014AE87DB5A264132B29DCF26E33841509D80A6DF5B2641FC75E05C00E33841D02FBBE70C5C264143378961D5E23841D819511AF95B264102098A5FCCE238416829CB10645B2641E6B7AFA3CFE238413080B780C05A26412E431CAB03E238410044FA2D8B5A26413255302A99E1384118257502B6602641C330994A64E1384188A0F8F1D6632641EC63CCDD56E13841406744A9A1642641E39C11C55EE138410042CF269D6426413692CB3F66E13841F863CC5D97642641C8293AF26EE1384100AAF1528F6426418426C26675E13841005839B4866426413AB4C8567EE13841185C8F027D642641AECFD55687E13841708026C27C6426412A287E8C90E13841509ECD6A7D64264158B1BF8C9AE138418814AE477E64264188DB68A0A2E1384178A757CA7D6426419DEFA766AAE13841D8CEF71384642641557DAE96B4E1384150FC18B3926426419A6E1203BAE1384108D044189A64264171348097C0E138410888F45BA464264159BA49CCC5E1384140F77520AF64264172F90F29CCE1384148DC46C3BC64264104917EDBD3E138419811A5BDD0642641226C78FAD8E1384178E7FBE9DE64264140136143DFE13841D8D556ACEB64264132C4B14EE5E1384138068115FA64264182613215EEE13841B0F1D20D10652641841F632EF4E13841509B559F1D652641C2D32B05F6E13841C052966122652641962A18F5FDE13841380F0BB534652641C96D340003E23841D0EDEB004265264130D49A8609E23841709A771C4D652641B094656810E23841A8F97E2A5F6526419AB20CB115E23841E85F76CF6A652641440AD7631FE238416813D004816526411695D42926E2384188B740C294652641D91B7CA128E23841000000409C65264144BF7DFD2BE238412083C08AA665264177C7291A30E23841582EFFE1B76526411083C02A33E23841E8B050ABC46526414CBF7D5D38E2384198B437B8D3652641125839F440E23841505BB17FEA6526417AE09CF146E2384118B7D1C0F9652641ACF1D24D4BE23841A88BDB2805662641AB0C716C4FE2384128D9CE371266264136DF4FAD55E2384180A7578A2166264139AB3E575BE2384128AC1CDA3566264194900F1A5DE23841B035CDBB39662641B6F3FD5463E238419018045647662641807346746AE2384120363CBD576626411383C00A72E23841305452676D662641CCE53FE477E23841780B24E88066264158C1A8247CE238413892CBFF8D66264142EA041482E23841D8ABAD189E6626419CD409E889E23841F087F41BB2662641A2CDAACF90E23841E00968E2C5662641A4E848EE94E2384148575BF1D2662641BD7493589AE23841982D219FDE66264172C5FE929EE2384190FF90FEE9662641723480F7A4E23841A0726811F566264125A08910ABE23841185305A302672641725F070EB2E238415037890113672641E4D0223BB9E2384138CE199122672641CC66D567BEE23841101DC9E52F672641B225E443C7E23841A8D85F76426726419E33A214C9E2384190DB688045672641AC47E19ACFE238411088F49B50672641FF21FD76D8E23841807AA52C636726417E2F4CA6E0E23841B83B4E916F6726411773D792E2E23841908CB9EB706726418E75711BEBE2384100ECC0F97967264144AD699EF4E2384100560E6D826726413EE8D92CFCE23841901804168C672641D4A3707D02E3384190029A48966726419A6588430AE3384158CE88929C6726414FB81E2511E33841C05F760FA0672641CED5564C18E3384140CF66559F672641764F1E3620E33841E876BE5FA16726418EE4F21F28E3384160E7FB69A367264128F6971D30E33841D8BCE354A6672641F2F44A3939E33841B8D32B65A46726412DED0D9E40E3384128014D04A267264170B515DB47E33841A84082E29D672641BD1726934EE3384128068155956726416C19E25854E3384170855AD38A6726418CE4F23F58E33841B0F6061F7E6726418AC954215DE338413072F9CF7067264152AF948561E33841D89387855C6726412441F1A363E33841C08F31374A67264183E2C79866E33841C0BAB88D3B672641900F7A1669E33841E8AD47A127672641EC1DA7486BE33841C8A0673316672641FAE68C886CE33841101748D002672641C8293A3270E33841E0FBA931E966264173E7FBA972E33841B803E78CD36626419E01BC4576E33841586FF0C5BA66264134014D6479E33841D82A1895A966264174A301DC7BE3384118696FF093662641585227007DE338416091ED3C82662641704F1E567FE338412060768F6C662641CB915C5E80E33841583A928B5C6626416E46949682E33841801804D64C662641211FF4AC84E33841B0BDC1173D6626412C2AA99386E33841F81DA7282E66264139CD3B8E88E33841503EE8192066264178029AC88BE33841484772390D662641B49690AF8EE338412030BB67FF652641828CB90B92E3384128A91390EC6526413B11365C96E33841A00A4665D76526415005A3B29AE33841C820B0F2C3652641F41FD22F9BE3384150D1915CBC652641CC98BBD69BE33841A87F483FB2652641CA073DFB9EE3384170EFA7C6A26526417858A835A2E33841C8F831E68F65264152D1911CA5E3384158AA6014826526419D900F1AABE33841183333337465264102917EFBAFE33841E0AE25E466652641B6FC8714B5E3384158C6DC355665264122C9E5DFB8E3384190E926314B6526414E378901C1E33841985E294B3B65264162DC4623C9E33841B0D32B652B652641029A08DBCDE3384148BF7D9D206526412CA913D0D1E33841B0726811136526415E4BC887D6E338414827A0490865264130FF217DDBE33841189A08DBFB64264190CB7F48DFE3384120F46CD6F0642641D4D556ECE3E33841B0B12E2EE5642641801D3827E9E3384190029A88D4642641FA3A704EEFE3384140522720C46426414A2EFF21F4E33841C054C1A8B76426417BE09C11FAE3384120D26F9FAA6426418EB96B0901E43841C8F753239C6426410FF241CF06E4384100E561A1916426418C635D7C10E43841400C026B7A642641B615FB6B16E43841D089B0616D64264194C420501EE4384198779C225F642641EA26314826E43841709318C4516426417636AB1E2FE4384140355E7A45642641C0EC9EDC34E43841B89465883D642641894160653CE4384188D409E83664264100BC05D242E43841383EE8D93064264104CE19714CE43841E8CCCC0C29642641B8490C0255E43841B859F5F920642641FA75E07C5CE43841108E75311B64264117D9CE3766E43841786ABCB411642641A7CFD5966DE438411051DA9B0D64264140C6DCF574E43841C037F88209642641203867C47DE43841B88251C9FF632641D4CEF7F385E43841E0E3149DFD632641FD43FA4D91E4384118A5BD41FC63264133B29D6F99E43841C0C342EDFA6326415E7FD97DA3E43841583333F3FA632641A3BDC197ACE4384198832F4CFD6326415296216EB5E43841402AA993FF632641B4490C82BEE43841C8FC8734006426410388F49BC7E43841E0839E8D02642641C9C3426DD4E438411073D79207642641AB79C749DEE43841A8C420B00C642641223A922BE5E43841D031772D10642641584BC8C7EBE43841E889B0E11764264192D40988F3E43841B845B6731C642641B21C5A64FCE43841E8D78173206426412CA9137004E538413094F68622642641B6FC87540EE5384158AA60142564264169567D6E17E53841D831776D27642641188C4A4A1EE53841F8B27B32296426418BF4DB7726E53841C8A8A44E2B642641F6DBD7612EE53841182C65592D6426412A5C8F623AE53841580E2D7230642641BC39238A42E53841884F1ED630642641A23C2C744AE5384188D2DEE032642641725F078E53E53841A859F53935642641AB2C439C5DE53841E8361A40356426412618959467E53841E87A14AE38642641B17BF2B072E53841B059F5F9386426418A4160C57DE53841C8AACFD53B6426419C923AA184E538413063EE9A3D642641D2F753C38EE5384168006F813E6426416CD5E7EA96E53841804160E53E642641CECCCC0CA0E5384180567DAE3E6426412675027AA8E5384170AC8BDB3A642641E27A14CEB3E53841C05D4BC837642641151DC9C5BAE53841F063CCDD3764264130BB270FC3E5384188DE714A38642641BA270FEBC9E53841B896900F3A6426413BB4C8F6D1E53841285305233C642641BEEC9EFCD9E53841C8915C7E3C6426414CD8F0B4E0E53841C832C4F1336426410C3D9BB5EAE53841A8C8763E26642641CC19515AF2E53841E06800EF1D642641587DAE36FAE5384190DB68401264264114583934FFE53841C812F24103642641D622DBF902E63841F8EE3885F66326415D5DDC2607E63841F8E2369AE56326418026C26608E6384190CB7FC8E063264172D712320BE6384140D49AA6D463264124DBF91E0DE63841E81FD26FC7632641F0A7C64B10E6384168545267B56326419006F01612E63841909DEF27A86326418A4160A516E6384128F46C569163264136014DC419E63841F053E325806326412B97FF301EE638411071AC4B69632641DF9C110523E63841204A7B434E63264160BA49EC25E6384188A0F87140632641A44E40D327E63841E000DE82316326418AE4F2BF28E63841A08D972E23632641808CB94B2AE6384168711B4D0D632641B515FB8B2BE63841385530EAF9622641F64A59862BE63841082E90A0E96226411183C0AA2CE63841D08C28EDD7622641C29F1ACF2DE63841B859F539C66226412C75029A2EE63841B075E0DCB7622641DE78E98630E6384188C117A6AA6226411851DA7B32E63841209B55DF9A6226412DDD24A633E63841C8E53FE48A62264130C4B1AE34E6384138C05BE07A6226414EFC18D335E6384108560E2D69622641157A364B38E63841A094658853622641D58173C638E63841F8D9AC3A50622641DA8AFD853BE63841A00B24A840622641904AEAA43EE63841703480772F622641E4839EED41E6384190ED7CBF1B622641A5A44E6046E63841002DB29D06622641B3FA5C8D4AE63841A020B0B2F5612641A2EFA7664DE63841D834EFB8E8612641A101BCC552E63841B00512D4D3612641C13099EA55E63841581AC05BC461264102098ADF57E63841B0F3FD94B461264199779CE25AE638410061C313A5612641FE99085B5EE63841D8CCCC8C906126417B2497BF61E63841C8D32B257B612641806CE71B64E63841B0FB3A3067612641D512F2E167E63841409C33E24B6126410E9C332269E63841D07F487F3861264168D5E76A6CE63841003945C7246126412E6EA3816EE63841F0141D09156126418C635DBC71E6384168C2F528026126416C4DF3EE73E6384118234ABBF0602641BECAA10576E6384110363CFDE060264176E09CD179E63841508B6C67C7602641885AD39C7BE63841C0D40928BA6026418E0F7A767EE63841C0E3149D9E6026411EEBE2F681E63841786FF085876026410EBE305984E63841B84B37497560264140BD525687E63841583BDF0F64602641702D215F89E63841280C93295560264194081B7E8CE63841D034EFF843602641041B9EBE8EE63841F0D781B331602641285305E38FE63841B86D34002060264160C3D3EB91E63841483EE819116026414E158C0A94E638412871ACCBFE5F2641E9B7AFA394E6384158A60A86F55F264138EF380595E63841E83FA49FEF5F264160CC5D4B96E6384130D8F0F4DD5F26411FEBE21698E63841D8E53F24C25F264166D5E7AA9AE6384108E02DD0AA5F264130431C2B9DE6384180AC8B9B925F2641142DB25D9FE638410044FA2D815F2641297502FAA2E6384168545267685F26411FD9CEB7A5E6384190DEE08B4E5F26414A72F96FA9E63841F073B515345F2641FA87F43BADE63841300000801A5F264190976E92AFE63841483CBDD2045F264164105879AEE6384128BD5216FD5E264140FAED8BAEE6384150C5FE72F45E264183AEB682AFE63841D863CC5DDB5E26416691EDBCAFE6384170D3BC23C05E26419E67B30AB2E638414894F606A85E2641DC5817D7B6E63841B8D100DE885E26412A97FF70B9E63841987BF270785E2641EAF21F72BCE63841684AEA44665E26412B8716F9BDE6384118166ACD5B5E2641D4CCCC2CBFE63841908BDB28475E264156522740C0E63841F80DBEB0375E26418CC95441C1E63841C010C7BA2B5E2641A01A2F3DC3E63841B895438B235E2641868EE412C7E6384190537424175E26411A73D7F2C7E63841E8BE0E5C105E26412B068175CDE638419803E78C035E264101000000020000000001000000FFFFFFFF0000000003, CAST(1508361 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1508466, N'{098C6EB3-E081-431F-8470-3910A08EF39D}', N'001604724', 3, N'NO_PLAN', NULL, N'1604724', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 30', N'', N'', N'THOSE PARTS OF SECTION 30, ESQUIMALT DISTRICT, SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 16674I AND CONTAINING 1.84 ACRES MORE OR LESS', N'0023', N'0005', N'NO', N'MODIFIED-ICIS', 6, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', N'5352', CAST(N'2016-01-06T18:50:27.000' AS DateTime), CAST(N'2021-05-30T19:21:19.000' AS DateTime), 6937, 621, 0xBD0B000001041E000000B8F3FD74201F3241D06D3480B96C1741197C61D2301F3241A006F096E86C1741848CB92B411F3241302EFFA1176D17413F7958084A1F324160C0CA21316D1741A223B9DC4C1F324140A60A46396D1741F575E01C4D1F324140FF90FE396D1741947EFB7A941F324170D0B359076E174130305666841F3241607A0A659F6D17413530C52D721F324170D453403D6D17410AA9B4F25D1F3241A0DD959FE16C1741078240DA471F3241400BE32A8D6C1741344EF00C301F3241A0FD257D406C17411EF46CB6161F324190520523FC6B174102A3DF8B071F32417064AC93D86B17413989E1F6F71E3241809F1605B86B1741AE3FF400E81E324100C4208B9A6B17416C82D4B3D71E3241C071C637806B1741F63F7419C71E3241E030171B696B17410288F43BB61E324170A52C43556B174157D4A9F2B11E324120AAFEBC506B17415F65E3A5AD1E324110DDF76C4C6B17414FFDCB55A91E324140224353486B1741707F8E02A51E3241F03E0970446B17414CEE55ACA01E3241F0DB70C3406B1741156A4D539C1E3241F0839E4D3D6B1741D04D62D0E31E324160006F010B6C1741BA6B0979EF1E3241C04C848D2C6C1741F74A59C6FF1E3241708FC2755B6C1741A211A51D101F3241B047E17A8A6C1741B8F3FD74201F3241D06D3480B96C174101000000020000000001000000FFFFFFFF0000000003, CAST(1508466 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1508553, N'{A0E3B199-E3CF-44FE-A0E9-3B119F7E7E19}', N'012728390', 295461, N'PRP1446', 90070070, N'12728390', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 12', N'Block 3', N'', N'LOT 12 BLOCK 3 DISTRICT LOT 432 CASSIAR DISTRICT PLAN 1446', N'0137', N'0011', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2021-05-30T19:56:13.000' AS DateTime), 274, 66, 0xBD0B00000104070000000D1DC925DF00274138E8D96C42BC32414DDA1B7CC50027414C50FC984FBC32413290A038DB002741AC8251495ABC32416E09F9A0F3002741C0490CC24DBC3241D3C7983BF100274134014D644CBC3241E897DD13E20027410CAE470144BC32410D1DC925DF00274138E8D96C42BC324101000000020000000001000000FFFFFFFF0000000003, CAST(1508553 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1508583, N'{5C836D97-A2A3-4E97-BD9F-391D956D9A41}', N'016083032', 472153, N'NEP740A', NULL, N'16083032', NULL, N'5320425000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 25', N'Block 16', N'', N'LOT 25 BLOCK 16 DISTRICT LOT 267 KOOTENAY DISTRICT PLAN 740A EXCEPT PLAN 16533', N'0053', N'0018', N'YES', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-05-30T20:15:05.000' AS DateTime), 101, 42, 0xBD0B0000010405000000462EFF41C5023A4130C6DC35E7282441DE4F8D77BE023A419029CB90D32824414894F6A6B8023A41F851B8DEE8282441ECC9C302C2023A4180AC8B1BF3282441462EFF41C5023A4130C6DC35E728244101000000020000000001000000FFFFFFFF0000000003, CAST(1508583 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1508759, N'{2A5BD5D0-B30D-4437-BF32-F7D92B601F10}', N'001905694', 5461769, N'VIP1527', NULL, N'1905694', NULL, N'101513', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 46', N'', N'', N'LOT 46, SECTION 10, RANGE 8, MOUNTAIN DISTRICT, PLAN 1527 EXCEPT PART IN PLAN VIP65053', N'0084', N'0021', NULL, N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', N'1759', CAST(N'2019-04-04T08:45:35.000' AS DateTime), CAST(N'2021-05-31T16:32:40.000' AS DateTime), 1759, 180, 0xBD0B0000010405000000F3164870E9813141609D80A601451C41664DF32EFF813141C0A60A4604451C418C8EE4922382314160FF90FE55441C4150499D80EA813141205D6D454F441C41F3164870E9813141609D80A601451C4101000000020000000001000000FFFFFFFF0000000003, CAST(1508759 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1510945, N'{3B61F061-D917-464A-B8AD-55597FC80CB5}', N'014369117', 1072514, N'NWP13959', NULL, N'14369117', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'', N'', N'PART OF LOT "A" SECTION 18 TOWNSHIP 16 NEW WESTMINSTER DISTRICT PLAN 13959 LYING TO THE SOUTH WEST OF PART ON PLAN 22374', N'0002', N'0009', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2021-10-14T11:42:42.000' AS DateTime), 9781, 450, 0xBD0B000001041100000067006F614F553341004D848D6ABA1B413E79588849553341804DF30E5BBA1B41F87E6A5C2255334130386744F3B91B41CC32C4312255334190F753E309BA1B410CD7A3901D553341A0FC87747EBC1B412A999AAB2B553341C08228C358BC1B4145FDA6BA3955334150F5D1CA32BC1B41D2B2B2BD47553341E098C08B0CBC1B416C7CA7B45555334170223106E6BB1B41E22F6F9F6355334120B6603ABFBB1B414AB6F37D7155334110E78C2898BB1B41507424579655334180293A9226BB1B41ACDFBE4E85553341B044D870F9BA1B41DC09688273553341E081E247CABA1B41595BB1FF63553341700D4F2FA1BA1B41674DF36E61553341308A1F639ABA1B4167006F614F553341004D848D6ABA1B4101000000020000000001000000FFFFFFFF0000000003, CAST(1510945 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1511946, N'{D9351384-6ED7-4A69-ADA0-FD0F438F5A69}', N'006013694', 7315, N'VIP4877', NULL, N'6013694', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 1', NULL, NULL, N'THAT PART OF LOT 1, DISTRICT LOT 79, NANOOSE DISTRICT, PLAN 4877,, LYING TO THE NORTH WEST OF A BOUNDARY PARALLEL TO AND PERPENDICULARLY, DISTANT 100 FEET FROM THE NORTH WEST BOUNDARY OF SAID LOT, EXCEPT, PART IN PLAN 41577', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2021-12-08T14:50:03.000' AS DateTime), 889, 121, 0xBD0B0000010407000000421CEBE27E43314130A7E8486BE51C41235A645B8743314160840DCF4DE51C41E52631486F43314180643BDF03E51C418ADB6880684331410034113624E51C41B0FA5CAD5B43314120F7756061E51C41B2B662FF72433141D0B662FFA8E51C41421CEBE27E43314130A7E8486BE51C4101000000020000000001000000FFFFFFFF0000000003, CAST(1511946 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1512877, N'{E9F74E67-76F1-4803-B533-236569D6EA7F}', N'010915788', 468350, N'NEP805', NULL, N'10915788', NULL, N'7864612100', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM PARCEL A', N'REM Lot 9', N'', N'PARCEL A (REFERENCE PLAN 70098I) LOT 9 DISTRICT LOT 4592 KOOTENAY DISTRICT PLAN 805 EXCEPT PARTS INCLUDED IN PLANS 17361 AND NEP19744', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:42.000' AS DateTime), 3891, 382, 0xBD0B000001040F00000032B29D8FD8DE3941504DF30E42991E41915CFEC3F5DE3941A0FA5C6D7C991E41A233A2B415DF3941400681150F9A1E41CA293AF21EDF3941B02C439CF1991E414A2EFF61FEDE3941E0361A40CD981E419E67B36ACADE394180F1D2CDB0981E41DE141D29B1DE394190226CF8A2981E41644DF30E98DE3941E059F53995981E4131BB278F89DE3941E0CBEE498D981E410BE9BA5097DE3941D091EF14A7981E410EACCADAA4DE3941D0B048A6C2981E415F6DAD29B2DE3941D01A85F6DF981E41FE97C939BFDE394190E0B6FDFE981E413C929607CCDE3941705379B31F991E4132B29D8FD8DE3941504DF30E42991E4101000000020000000001000000FFFFFFFF0000000003, CAST(1512877 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1513176, N'{03A3C58C-A041-4DF6-839F-C6C6798C308A}', N'011218142', 5209561, N'KAP975A', NULL, N'11218142', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN PROVINCIAL', NULL, N'Parcel 4', N'Lot 3', NULL, N'PARCEL 4 (PLAN A975) OF LOT 3 DISTRICT LOT 18 OSOYOOS DIVISION YALE DISTRICT PLAN 2093 SAID TO CONTAIN 0.430 ACRES MORE OR LESS', N'0072', N'0012', N'NO', N'MODIFIED-ICF', 4, NULL, N'UNKNOWN', N'0', N'2056', CAST(N'2020-04-03T17:56:38.000' AS DateTime), CAST(N'2020-04-30T17:19:03.000' AS DateTime), 2033, 271, 0xBD0B000001042C000000914AEA0430E83641900D4F2FB1812241701283C034E83641D01DA7A8B68122414F05A3D238E8364178E09CD1BF812241020000E03AE8364190416025CB812241F8B9DA8A3CE83641385C8F82D1812241113B68D73FE836411056B16ED28122418439652443E8364180418254D38122414DAFCE7146E83641104C0134D4812241F695A1BF49E83641E0A82D0DD5812241BCE6DA0D4DE83641289106E0D5812241679A775C50E8364198438BACD68122413627C7B151E8364160934907D78122410123280753E83641D8120061D7812241E85A9A5C54E8364150B3AEB9D7812241D79B1DB255E8364128685511D8812241E4B2B10757E836415024F467D8812241F76C565D58E83641C0DA8ABDD8812241EC3845876FE83641F8DBD701AB8122418A0D4F2F6EE8364188FA5C6DAA812241067B4B2F6CE8364118A57CCCA98122418F99772F6AE8364180AF4129A9812241731AD42F68E83641E052AC83A8812241F0AE613066E83641B0C8BCDBA78122413D08213164E83641404A7331A781224173D7123262E83641A013D084A68122410B2092C35FE83641D008D5AEA581224106DC5E555DE83641A03C5CD5A48122412B4C7AE75AE83641881F66F8A38122412DB1E57958E836416023F317A3812241724BA20C56E8364158BC0334A28122415C5BB19F53E83641E85E984CA1812241A9ADD8BF4FE8364128A91350A0812241B1E1E91536E83641B82A18559A8122414B7B83CF17E8364130D49A2693812241B8B88D4604E83641584469AF8E812241BE86A757FBE73641A8E8482E8C812241A78251C914E83641E0E46121C7812241C2E3147D16E8364158E09C91C781224180FB3A7016E8364148CA3244C481224129E483FE19E83641081214BFB98122415B5BB15F1EE83641787CD073B3812241001973D723E83641E84C844DB0812241D856EC8F2AE83641201DC9E5AE812241914AEA0430E83641900D4F2FB181224101000000020000000001000000FFFFFFFF0000000003, CAST(1513176 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1513373, N'{00482234-3E8A-4B9B-A81E-58D21FB5ECDD}', N'005387345', 136892, N'VIP9724', NULL, N'5387345', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot A', N'', N'', N'LOT A, SECTION 4, RANGE 3 EAST, NORTH SAANICH DISTRICT, PLAN 9724 EXCEPT PART IN PLAN 2340 RW', N'0090', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:49:10.000' AS DateTime), CAST(N'2019-01-05T10:21:43.000' AS DateTime), 1591, 184, 0xBD0B000001040D000000E91DA7A8712D3241F0331136E6AE184176711B2D672D324130F38ED353AF184134674489892D32413004560E59AF18416AF7E4418F2D3241F038D6C554AF1841DEB584DC942D324110B7627F4EAF1841705F074E9A2D3241805DDC4646AF1841B41E858B9F2D324180560E2D3CAF1841A167B38AA42D324160143F4630AF184189C95441A92D3241F079C7A922AF184112143FA6AD2D3241808EE47213AF184104D7A3B0B12D3241F0361AC002AF1841DB3D7958B52D3241B07B61B2F0AE1841E91DA7A8712D3241F0331136E6AE184101000000020000000001000000FFFFFFFF0000000003, CAST(1513373 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1513437, N'{B78A7BCD-9B45-458F-BFBF-A36061FC7686}', N'005700817', 495877, N'NEP595', 90054444, N'5700817', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 25', N'Block 18', N'', N'LOT 25 BLOCK 18 DISTRICT LOT 208 KOOTENAY DISTRICT PLAN 595', N'0056', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:42.000' AS DateTime), 254, 74, 0xBD0B000001040A00000060C3D3CB8A2F39417826C24618DF2141B4FDB3918A2F39417014D24015DF21412EAF0A508A2F394160334C3D12DF2141383DDE068A2F394160AC7B3C0FDF2141A4C835B6892F3941E064AB3E0CDF2141032D195E892F3941D0F5254409DF214194FF90FE882F394168A8354D06DF2141748104056E2F39410875021A16DF214127E4839E702F3941E8BE0E9C27DF214160C3D3CB8A2F39417826C24618DF214101000000020000000001000000FFFFFFFF0000000003, CAST(1513437 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1513446, N'{F3BE9574-0585-4939-B8C6-3CE75D60BF43}', N'005700710', 495877, N'NEP595', 90054441, N'5700710', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 23', N'Block 18', N'', N'LOT 23 BLOCK 18 DISTRICT LOT 208 KOOTENAY DISTRICT PLAN 595', N'0056', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:37.000' AS DateTime), 222, 67, 0xBD0B00000104050000009CD6340F8C2F39415819E2983DDF2141025F988C8B2F3941C8F606DF2ADF2141DC460338732F3941A8D1001E39DF214192A982D1752F3941501B0DA04ADF21419CD6340F8C2F39415819E2983DDF214101000000020000000001000000FFFFFFFF0000000003, CAST(1513446 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1513572, N'{57B4C5F7-BAF4-45F2-8C76-70C4BEE1FB4F}', N'007428391', 118430, N'VIP1397', NULL, N'7428391', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'Block 4', N'', N'LOT 2, BLOCK 4, SECTION 33, VICTORIA DISTRICT, PLAN 1397, EXCEPT PART LYING SOUTH EAST OF THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:07:28.000' AS DateTime), CAST(N'2019-01-05T10:22:19.000' AS DateTime), 438, 84, 0xBD0B00000104070000001E4A7B833E3B3241F0573934F6951741A6E848CE363B3241F051491DC5951741E573B5B5303B324140363C3DA8951741CA8F3157223B3241F0FDD478CC9517419EABADF82E3B324180D5E7EA1C9617414FA60A063F3B3241C045B673F99517411E4A7B833E3B3241F0573934F695174101000000020000000001000000FFFFFFFF0000000003, CAST(1513572 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1513585, N'{FB2BEB4B-0AD7-418F-A800-08260325CBBA}', N'001636707', 3, N'NO_PLAN', NULL, N'1636707', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 4', N'', N'', N'THAT PART OF SECTION 4, METCHOSIN DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 50912I AND CONTAINING 1.86 ACRES MORE OR LESS, EXCEPT PART IN PLAN 46650', N'0079', N'0005', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-01-06T18:09:41.000' AS DateTime), CAST(N'2019-01-05T10:22:20.000' AS DateTime), 6776, 572, 0xBD0B000001043A000000AB13D0042C0A324110143FC609F716411161C353460A3241D0CCCCCC63F71641D100DE62460A324120575BB15EF7164108A3927A460A324160A392BA56F71641741B0DA0460A3241700D4FAF42F71641497B83AF460A3241F09B33A22EF716413B70CEA8460A3241F07346941AF716415EC3D38B460A3241A026318806F71641F13845C7450A324160D6346FE5F61641E751B8FE440A324120A392BACAF6164160105819440A324130BC7413B0F61641CC8F3117430A324130FF217D95F616412C90A0F8410A324170226CF87AF61641C2E314BD400A3241A0DD938760F61641894160653F0A3241209FAB2D46F616419CB20CF13D0A3241B0F97EEA2BF6164104F775603C0A3241608026C211F61641F897DDB33A0A3241200F0BB5F7F51641DAF0F4EA380A32419038D6C5DDF516410D143F06370A3241F08EC2F5C3F51641A201BC05350A324180CB1047AAF516416FF085E9320A3241F0C798BB90F51641CC32C4B1300A324140CF665577F51641B0BFEC5E2E0A3241F0E1E9155EF5164195BB96F02B0A3241B0FF90FE44F51641418B6C67290A3241E0E00B132CF516415EDC46C3260A324120AAF15213F5164192537404240A3241A0A44EC0FAF416414A03782B210A3241B088D25EE2F4164111D044381E0A3241C07A142ECAF41641AC13D0841B0A324150FF90FEB4F4164145E17A94F2093241E0627F5962F31641E4E00BB3E60932410044FA6D7AF316414672F9EFDA093241A013D04492F316418AEB5198030A324160EC2FBBE2F416418EA0F871060A3241709C3322F9F41641D8D78133090A324120ECC0B90FF5164187635DDC0B0A3241C06D348026F51641E995B26C0E0A3241E020B0723DF51641789318E4100A32413072F98F54F51641D8096842130A324150AB3ED76BF51641F02FBB87150A324100143F4683F51641FCA067B3170A32412063EEDA9AF51641E09387C5190A324160E17A94B2F51641072428BE1B0A3241B0D6346FCAF51641D7ACFA9C1D0A3241508CB96BE2F51641D61B7C611F0A324180DD9387FAF51641CDD5560C210A3241D0EDEBC012F61641BCEC9E9C220A3241800681152BF61641AA57CA12240A324180DC468343F61641F53A706E250A324120DE710A5CF61641A4CDAAAF260A3241900B24A874F61641754F1ED6270A324110F54A598DF61641B8490CE2280A32410076E01CA6F6164173C5FED2290A3241F0B27BF2BEF6164172F90FA92A0A3241C061A1D6D7F61641B41C5A642B0A3241C0141DC9F0F61641AB13D0042C0A324110143FC609F7164101000000020000000001000000FFFFFFFF0000000003, CAST(1513585 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1513654, N'{193D133F-C7E8-4C41-942F-1502181D11DE}', N'004768663', 141578, N'VIP12477', NULL, N'4768663', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 1', N'', N'', N'LOT 1, SECTION 92, ESQUIMALT DISTRICT, PLAN 12477 EXCEPT PART IN PLAN 3768 RW', N'0154', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:16:08.000' AS DateTime), CAST(N'2019-01-05T10:22:40.000' AS DateTime), 699, 114, 0xBD0B0000010407000000B02E6E2358273241203E79D8669517415917B7D148273241F0043411F89417411C51DA5B47273241106EA381ED9417414650FC184727324140764F9EEB941741C20E9C332D273241D0C342AD229517415620413133273241100C93294E951741B02E6E2358273241203E79D86695174101000000020000000001000000FFFFFFFF0000000003, CAST(1513654 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1514431, N'{2DD1C81F-2B14-4B12-8E91-C6FB5F5B200D}', N'006270492', 248042, N'PGP27802', 90054464, N'6270492', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'', N'', N'LOT 5 DISTRICT LOT 6006 CARIBOO DISTRICT PLAN 27802', N'0163', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:17:47.000' AS DateTime), 19834, 694, 0xBD0B0000010405000000E5F21FF2F4EF35413890A078F8AA2B414EB81E45B4EF354190ED7CFF38AB2B4148E17A9434F03541D82406811FAD2B416A19E2F874F03541409FABEDDEAC2B41E5F21FF2F4EF35413890A078F8AA2B4101000000020000000001000000FFFFFFFF0000000003, CAST(1514431 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1514741, N'{55EF4BBD-9E4D-4E14-8000-36D26A6E2249}', N'001676652', 134897, N'VIP18938', NULL, N'1676652', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 3', N'', N'', N'LOT 3, SECTION 12, GOLDSTREAM DISTRICT, PLAN 18938 EXCEPT PARTS IN PLANS VIP55708 AND VIP67884', N'0079', N'0005', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-01-06T19:35:46.000' AS DateTime), CAST(N'2019-01-05T10:53:20.000' AS DateTime), 73207, 1669, 0xBD0B000001041C000000C5BAB80D94FA3141D014AEC7EB16174151B81E2541FA314120C6DCB567161741F73A70CE0CFA3141409D80261A1917416D567D2E46FA3141C0B88D86E4181741E0E995D265FA314170499D805A181741866CE73B91FA3141E095430B7F1817418C0D4FEFB6FA314120EA04B4511917412E3333F3B6FA314170CCEEC951191741EEB0500BC5FA3141E0DD0289981717417BC0C6E0C0FA3141804C4C6A8C171741466141C8BCFA31411084D5EA7F17174181F94CC2B8FA314100EE4A0C73171741EE7273CFB4FA3141D0AF65D06517174163283CF0B0FA3141006FEB3858171741C0D32B25ADFA31417014AE474A171741C5BAB80D94FA3141D014AEC7EB1617413B11365C59FA3141E0779C22771917411ED26FFFFEF9314190293A92B61917414A7B838FE2F9314170CA3244831A17418EC2F5E8B5F93141F02CB21D8E1A174142FAEDCBC7F9314190F2B0501B1B174155643B9F4BFA3141B020B0F22C1F1741F45A421E73FA3141B03E575B311E1741AD4E407396FA3141603A014D501D17412CB29D2FB0FA3141F0F36C56251A174154FC1833B0FA314150D409E8241A1741C25B20A175FA3141103411B6FC1817413B11365C59FA3141E0779C2277191741020000000200000000021000000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1514741 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1515060, N'{5DDB84FD-565B-4D20-A9D7-76C0FC3FFE25}', N'002911205', 117903, N'VIP877', NULL, N'2911205', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 20', N'Block 17', N'', N'THAT PART OF LOT 20, BLOCK 17, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:51:00.000' AS DateTime), CAST(N'2019-01-05T10:54:04.000' AS DateTime), 295, 90, 0xBD0B0000010406000000B2506BDA62393241E09F1A2F238A17418541602564393241E0D6A3F0158A17410D143F86593932410051DA1B0C8A1741696FF0A551393241E022DBF99C8A17418395438B5639324190CCCC4CA18A1741B2506BDA62393241E09F1A2F238A174101000000020000000001000000FFFFFFFF0000000003, CAST(1515060 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1515364, N'{777F5106-E971-444C-ACF5-B38311E52A48}', N'001709321', 3, N'NO_PLAN', NULL, N'1709321', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 106', NULL, NULL, N'THAT PART OF LOT 106, MALAHAT DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 53058I AND CONTAINING 3.45 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T18:51:42.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 13827, 965, 0xBD0B000001040600000073E7FBA939E4314170CFD55612CF1841A9ADD87F92E43141607B83AFCBCA1841464772D9C3E43141C076BE9F5AC818412D2AA9F3A3E43141F0C9C3C24FC81841429B55BF1BE4314120BD521609CF184173E7FBA939E4314170CFD55612CF184101000000020000000001000000FFFFFFFF0000000003, CAST(1515364 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1518313, N'{F7B9F7BF-6FB3-41E3-8E95-22B2A6EEAE4C}', N'005388741', 463600, N'NEP17262', NULL, N'5388741', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 10540 KOOTENAY DISTRICT PLAN 17262', N'0163', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:18:46.000' AS DateTime), 102812, 1402, 0xBD0B000001040B00000097438B8CD59D3941288716997042254150B81EC5959E3941687CD07397422541C0EC9E3CAC9F394120A0897017412541F4C9C3A24B9F39419854C12882402541ECEBC0B9D79E394158DF4F4D94402541CBDCB5E4979E394148CA3244D93F25417D26C266A39E3941002DB21D7E3F25417C8CB96B729E394148BD5256CD3F2541AD9BC460319E3941C0FFFF7F15402541EB73B5D5EE9D3941B8BAB8CD7E40254197438B8CD59D3941288716997042254101000000020000000001000000FFFFFFFF0000000003, CAST(1518313 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1518673, N'{0049B4EB-9937-4E6C-AC82-FB6978C0E949}', N'016456874', 3, N'NO_PLAN', NULL, N'16456874', NULL, N'7866185000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'A', N'9555', N'', N'PARCEL A (REFERENCE PLAN 75512I) BLOCK 41 DISTRICT LOT 9555 KOOTENAY DISTRICT', N'0163', N'0004', N'NO', N'ICF', 8, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-01-09T12:19:15.000' AS DateTime), 1821, 197, 0xBD0B00000104060000004282E2A71ACE394150EB51B84A5F1E41822F4CC612CE3941E0F753635E601E412FBB272F21CE39410095D4095F601E41876CE7DB2FCE3941B021FD76E25F1E41B0BFEC1E41CE3941A01F63EE4F5F1E414282E2A71ACE394150EB51B84A5F1E4101000000020000000001000000FFFFFFFF0000000003, CAST(1518673 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1519054, N'{69216CF1-7AC0-43D3-A0B3-35E75EE3C05E}', N'005492882', 16250, N'VIP8953', 753841, N'5492882', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', N'', N'', N'LOT 1, SECTION 20, RANGE 6, SHAWNIGAN DISTRICT, PLAN 8953', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T20:05:39.000' AS DateTime), CAST(N'2019-01-07T18:32:55.000' AS DateTime), 40651, 806, 0xBD0B00000104130000004479584830F53141008C4A6A664B1941E10B930932F5314100508D17AF4A1941053411B633F53141907EFB3A004A1941EA73B59535F53141E0482E7F3C4919410A3D9B9537F531417005A3926B481941EE41CF4610F53141A041606564481941B27268D1EDF43141F099081B5E48194119E258F7C9F4314170295C8F574819414672F9AFC2F43141803F355E55481941A657CA72A1F43141A033A2B450481941B5270F8B9DF4314180EE5A4250481941AE03E7EC6EF43141701F63EE4A481941B8B88D6666F43141E0E6FBA9754B19414E8D978E69F43141C0482EFF754B1941928785DA88F43141D0E8482E794B1941F7EDEB80A3F43141A0AE25E47B4B19410D71ACCBBBF4314110DE02097F4B194170A301FC2FF53141404ED1118E4B19414479584830F53141008C4A6A664B194101000000020000000001000000FFFFFFFF0000000003, CAST(1519054 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1519253, N'{142F446A-CAAD-4454-8A51-656D96CE76D8}', N'014947650', 3, N'NO_PLAN', NULL, N'14947650', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 50A', N'', N'', N'THAT PART OF DISTRICT LOT 50A, COWICHAN LAKE DISTRICT, SHOWN COLOURED RED ON PLAN ANNEXED TO DD 14184I', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T18:41:36.000' AS DateTime), CAST(N'2019-01-07T18:32:22.000' AS DateTime), 25632, 1828, 0xBD0B000001042600000097D40968E68331414072F98FA3C7194110A5BD615183314100780B2489C91941B6847C30E7823141404ED191D1CA1941255C8F825282314130E4831E8FCC1941240F0B15C2813141008A1FE333CE194129287E0CBA81314110FAED6B4ACE194177029AE8B18131419024977F60CE1941D4F97EAAA9813141F051B81E76CE19412F333353A1813141A08251498BCE1941410AD7E39881314170DB6800A0CE19414ABF7D5D90813141F013D044B4CE1941A0923AC18781314190BDC117C8CE1941623255107F81314130FE437ADBCE194161C3D34B768131418068916DEECE194144D8F0746D813141406A4DF300CF1941B003E78C64813141C095B20C13CF1941F385C9945B81314150A301BC24CF1941A6F1D28D528131413025750236CF19415E7FD9FD3D81314100FED4785ACF194174F2B0704A813141F061A156DDCF1941BAA679275C813141606B9AF7BFCF1941ABC64B3756813141E0974C159BCF194171CE88B26981314120FDF67578CF194127A913B07381314110AD69DE65CF19416FAC8B9B7D813141C0839ECD52CF19411061C37387813141403789413FCF1941ABC64B3791813141C0C64B372BCF1941A713D0E49A813141207AA5AC16CF19418E7EFB7AA48131413077BE9F01CF1941465986F8AD8131415096210EECCE19414FDA1B5CB781314190D85FF6D5CE1941935374A4C081314160AB3E57BFCE1941CF4D62D0C9813141C056EC2FA8CE194113C7BAF852823141D0C039A322CD19419075713BFF82314150BE9F1A20CB1941698863FD7F833141B0900F7A8EC91941DEE995521784314170B1BFECA9C7194197D40968E68331414072F98FA3C7194101000000020000000001000000FFFFFFFF0000000003, CAST(1519253 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1520469, N'{5AF8A523-62E8-420E-8698-3FC2D18304C7}', N'009828141', 3191875, N'VIP1215OS', NULL, N'9828141', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'', N'', N'', N'THAT PART OF THE UNNUMBERED PORTION OF COWICHAN LAKE DISTRICT, SHOWN COLOURED RED ON PLAN 1215 OS, LYING BETWEEN THE PRODUCTIONS OF THE NORTHERLY AND EASTERLY BOUNDARIES OF BLOCK 176, CONTAINING 15.05 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 42, N'DATACOMPILATION', N'UNKNOWN', N'0', N'62637', CAST(N'2018-05-16T15:58:26.000' AS DateTime), CAST(N'2019-01-10T15:04:03.000' AS DateTime), 62254, 4103, 0xBD0B000001044300000082B740421D9E31410068226CCA93194188D2DE20049E314100A167B3D99319417AE92611EB9D314190EB51B8EA9319416029CBF0CA9D314190CDAACF02941941053D9B95A59D31413026C206269419416B4DF34E949D3141207B832F38941941E1B5841C839D3141F09387854B941941A5ADD8FF719D3141C06F5F076094194199900FFA609D3141E0C56DB47594194156C1A824529D3141302AA99389941941B2E1E915419D3141805B20C1A19419411F41F123309D31413051DA1BBB9419410EE02D501F9D314180779CA2D5941941BEF5289C0E9D3141A0172653F1941941CC4B3709FE9C314180559F2B0E9519414750FC98ED9C31419055302A2C951941923A014DDD9C31415015FB4B4B9519410F0BB526CD9C314110295C8F6B9519413EAD693EBE9C314160C3D3AB8A951941BDF528DCB19C314170BA490CA6951941420AD7A3A09C314140BF7D1DCC9519410CAC1C1A919C314130E2C798F0951941C2E314BD819C314190C2F528169619413C0AD7E3509C314130AF9465849619419CD634EF3E9C314150948705AD961941C76D3460E29A3141E0D0225BD999194101917E3B3B9A3141C0490C826B9B1941F897DD33189931411097FF10469E1941D578E9C64A993141709A779C479E194158A835ED579A314160BB9610B69B1941CF44D830769A3141C07493186E9B19415D5DDCE6AF9A314110E17A94E29A1941BF0512D4659C3141F0E461A1DC961941645DDCA66E9C31410093A982C896194147BF7D5D7E9C3141C054C128A196194178E926318E9C314100E258177B961941590E2D329E9C3141809CA223569619417536ABDEBD9C3141006F818411961941BB490C82CA9C31413001DE82F7951941CD88D21EDB9C314150F2D2CDD6951941B8490CE2EB9C3141A037F842B7951941BE3923CAFC9C3141B0D32BE598951941CEAACFD50D9D31414058A8B57B951941D0F753031F9D3141005917B75F9519415B204151309D3141908CB9EB44951941092428BE419D3141D085C9542B9519411DB07248539D314160FC87F412951941F93A70EE649D314140832FCCFB941941F441CF26749D3141C0915CFEE89419413ACD3B2E8A9D314110CE8852CF94194135454712999D3141A013D044BF94194132A2B4D7AA9D3141D0323333AD9419418516D9AEC99D3141D0FEB27B90941941B68D0690DA9D3141C00434917E941941A45E29ABE49D3141403333B374941941D756ECCFEE9D314140DD24866B94194129F697FDF89D314110280F0B6394194187855A33039E3141A08026425B9419417AF2B0700D9E3141E0E76A2B54941941261895B4179E31412014AEC74D941941F9E46101229E31419011363C48941941D0F75323339E314140DF4F0D40941941A59BC4005FA03141806DC5FE4F931941BB0512945FA0314170B29D6FD192194165AA60B4469F314190EF3845499319414CFC18733A9E3141D0073D1BBB93194182B740421D9E31410068226CCA93194101000000020000000001000000FFFFFFFF0000000003, CAST(1520469 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1520677, N'{57A52F8A-EC0F-49F0-82E4-47D9DE2323CF}', N'015433293', 3, N'NO_PLAN', NULL, N'15433293', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 372', N'', N'', N'THOSE PARTS SHOWN OUTLINED IN RED ON PLAN R107 OF THE PORTIONS OF DISTRICT LOT 372 KOOTENAY DISTRICT SHOWN COLORED RED ON PLANS ANNEXED TO D.D.19746 AND D.D.19747', N'0163', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:04.000' AS DateTime), 2144, 251, 0xBD0B000001042900000039AB3EB7B1DD384170F085890B6D20412063EE3AACDD3841E01648D0016D2041915CFEA3A8DD3841E078E9A6FB6C20410AD7A3B0A7DD3841B0825109FA6C20410EC7BA7896DD3841D09F1AAF116D204140AD693E9BDD3841A00F7AB6196D2041C7073D3B9FDD3841B08EE4B2206D204132BB272FA3DD384190BDC1D7276D20415EFE431AA7DD384198E61D272F6D20418B16D9CEA8DD3841482F4C66326D204113F2412FADDD384150302AE93A6D2041A289B081B1DD3841A0E61DA7436D204114143FC6B5DD384148764F9E4C6D2041DFBE0EFCB9DD3841F09690CF556D20411D4A7B23BEDD3841B0A223395F6D2041BCF5283CC2DD3841F0F44AD9686D20416E787A45C6DD3841206A4DB3726D20418CED7C3FCADD3841C800DEC27C6D20414A27A029CEDD384198029A08876D204130ED94B0D0DD3841186E49318D6D204164D57B2CD3DD384100E0DB6B936D20417E3A359DD5DD3841B8FD01B8996D20419505A202D8DD3841508C6B15A06D2041ACAFA35CDADD38413875C783A66D204130431CABDCDD384100CAC302AD6D2041C0E314FDECDD3841F8E995F2956D2041ADFA5C0DEBDD3841D886A717906D2041A4D6340FE8DD3841B0605452876D20412241F103E5DD384198B20CB17E6D2041FB31E6EEE1DD384140B3EA33766D204195FF907EE0DD384190984C55726D20411773D792DCDD384120CD3B0E686D2041FD2A8796D8DD384128C9E5FF5D6D20415EC3D38BD4DD3841A079C729546D20410468222CD1DD3841204625354C6D20416A91ED1CCCDD3841583255B0406D20413F2CD4FAC6DD3841A00F7A76356D2041728104C5C1DD384150029A882A6D20410F363C7DBCDD384140787AE51F6D2041769CA223B7DD3841C8BB9690156D204139AB3EB7B1DD384170F085890B6D204101000000020000000001000000FFFFFFFF0000000003, CAST(1520677 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1520848, N'{8B1E083A-24DB-4A67-9C6D-B90FB1375EBA}', N'012136131', 496040, N'NEP6427', NULL, N'12136131', NULL, N'7077762110', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 10', N'', N'', N'LOT 10 DISTRICT LOT 4780 KOOTENAY DISTRICT PLAN 6427 EXCEPT PLAN NEP62661', N'0163', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:22:09.000' AS DateTime), 3037, 233, 0xBD0B00000104070000004B2EFF81E3E53841A8ADD81FCD962041A913D0E4DEE53841E0460378189720413EAD69FE2CE638410061C3D32B972041BB40826232E638415003784B21972041B4E1E9752FE63841605CFEC3E5962041EEA7C62B2FE63841381AC0DBDF9620414B2EFF81E3E53841A8ADD81FCD96204101000000020000000001000000FFFFFFFF0000000003, CAST(1520848 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1521887, N'{E1755DB9-03B2-4720-A214-FFB8B3D8AD0A}', N'000016969', 3, N'NO_PLAN', NULL, N'16969', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 129', N'', N'', N'THAT PART OF DISTRICT LOT 129, ALBERNI DISTRICT, INCLUDED IN PLAN 288 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:39.000' AS DateTime), 6901, 1868, 0xBD0B00000104A0000000088A1FA31D813041607AA5AC41591D4132A2B4172081304130423E682F591D411B9E5EA922813041707424171D591D4124ED0D3E25813041901D38670B591D410EF241EF27813041403199AAF9581D412FFF21BD2A813041B0F831E6E7581D41F4A7C68B2D81304130CB10C7D6581D4137B4C8763081304140772DA1C5581D4148D8F07433813041A0567DAEB4581D4151AF94853681304120D712F2A3581D413970CEA8398130418068006F93581D41A2A223D93C8130413036CD3B83581D418248BFDD80813041B06054D22F571D41BC627F1984813041C08F31F71F571D411471AC6B87813041D05A423E10571D41A1D634CF8A813041301283C000571D410A8195438E81304130B6F37DF1561D41C954C1C89181304170FD6577E2561D415E6DC55E958130412057ECAFD3561D413B014D0499813041E0C2642AC5561D415F07CEB99C813041108A1FE3B6561D410812147FA0813041D063CCDDA8561D41AB4E4053A4813041609A771C9B561D411FD26F3FA681304150696F7094561D41068A1F43A6813041B0AF03676C561D417BA52C43A38130414045B67376561D41DB8AFD459F813041E0F0F44A84561D410EC7BA589B81304120D49A6692561D411D63EE7A9781304130CB10C7A0561D41ADFA5CAD9381304150D5E76AAF561D419AC420F08F813041D0A8A44EBE561D4160E5D0428C813041506B9A77CD561D41499D80A688813041D0ADD8DFDC561D411C51DA1B8581304120265385EC561D4181B740A281813041C066D567FC561D4161FE433A7E813041C04BC8870C571D41C1A8A4EE7A813041703255B01C571D411ED26FDF36813041103B704E70581D411DD26F9F3381304170F2B0D080581D41CC66D56730813041C0A44EC091581D410B8A1F432D813041601E16EAA2581D4176E09C312A81304170CC5D4BB4581D4153F38E3327813041E03FA4DFC5581D4104DE024924813041600B93A9D7581D4191976E72218130412079E9A6E9581D41BB9690AF1E813041001973D7FB581D41D91B7C011C813041D00F7A360E591D41614BC86719813041C0EEC9C320591D410A8A1FE316813041B0915C7E33591D41A857CA72148130419041606546591D41E44F8D1712813041F0FDD47859591D41C6293AD20F81304150EA95B26C591D4180C0CAA10D813041502AA91380591D417E1D38870B813041C0E3149D93591D41A28026820981304180CCEE49A7591D4153F38E93078130412075021ABB591D4178BE9FBA058130418095430BCF591D419EB437F8038130413051DA1BE3591D419B4C154C028130415083C04AF7591D4159EC2FBB0081304130D044580B5A1D415A643BDFF780304100AF2564805A1D416EAFD6ADF3803041A0695DC6AF5A1D4183004269EE8030415036C168DD5A1D4149DAFD1CE8803041B096ADE7085B1D41747BCAD6E080304110632AE4315B1D41A2D889A6D8803041002ABA04585B1D41A1EE1C9ECF80304130921DF67A5B1D41F6B83CD1C5803041501E096C9A5B1D41FF214F55BB80304100C3CB21B65B1D41194A3841B080304170E2E4DACD5B1D41E98C28ADA4803041A0658863E15B1D41124FAF5488803041C05A423E0B5C1D41D8D7009C84803041D04147EB105C1D41FA842BEB80803041304319E8165C1D41BB469A427D80304160E10A341D5C1D41031EB7A27980304180AB65CE235C1D412310EB0B76803041E04E6AB62A5C1D410B1B9E7E72803041A0B050EB315C1D4160E5D0828480304120D7A3F0315C1D419AFF549685803041E035792D305C1D4170F086AA86803041F0EBFF702E5C1D41EF1D64BF8780304170283CBB2C5C1D419AECE9D488803041D00A320C2B5C1D4150BF15EB8980304160A2E563295C1D4165F7E4018B80304160EE5AC2275C1D417ABE9F5AA780304100F9A0E7FD5B1D41566F9F92B3803041309AE046E95B1D412F829243BF803041F035FB3AD05B1D416962F953CA803041A00D91FAB25B1D416EA2B2ABD4803041C0416EC5915B1D41709C2F34DE80304170ADFFE36C5B1D41E8A4A5D8E680304140F1B4A6445B1D4131633B86EE80304150065165195B1D41AFED312CF580304190D42A7EEB5A1D41464F09BCFA80304150735F55BB5A1D415227A029FF80304120CFF753895A1D41DF93870508813041D0141D49145A1D41A8DFBE8E098130415008AC9C005A1D41CE4D62300B813041401FF4ECEC591D41EF2FBBE70C81304120D1915CD9591D415FA1D6B40E813041206744E9C5591D415274249710813041E0E15897B2591D41F7285C8F12813041F01DA7689F591D41C4EC9E9C1481304180F5B95A8C591D41B2BFECBE16813041B0218E7579591D4120FDF6F518813041207D3FB566591D41A18026421B8130416075711B54591D41088A1FA31D813041607AA5AC41591D4110D04438C280304170A1D634325C1D4139CAE1C5CD80304170370BE7175C1D413973D3C3D8803041402641FFF95B1D41BA412D20E380304170483CAED85B1D41A82C0ACAEC803041A065502AB45B1D419E37A8B1F5803041E09A08AF8C5B1D41FE2482C8FD803041B045C67C625B1D416E23670105813041200458D8355B1D41225090500B8130416086890A075B1D413BEBB3AB10813041F0D6AC5FD65A1D414E1E160A1581304110E71D27A45A1D414DA60AE61D813041B0073D1B2F5A1D41F2EB768823813041C099607FEC591D41957F57362A8130418010C273AB591D416402CAE831813041303F6C3B6C591D41AF83DF973A813041F05788172F591D4144AEA43A44813041C0C11A47F4581D410C022BC74E8130418026C206BC581D4177832FAC928130410011C73A69571D4175253FC495813041402BD2145A571D4110AF26ED98813041E0D4E5264B571D41AFB6A6269C813041D0A92D723C571D41B6857E709F813041F0CAD0F72D571D417D1D6CCAA281304170C5F1B81F571D41A03C2C34A6813041907DAEB611571D4150621038A6813041B069DEF1E6561D4179CA19B8A181304130A1B483F8561D418A6F40519D8130413042357A0A571D416508110499813041B01122D31C571D41811715D194813041C088308C2F571D41C0D9D2B890813041201F0AA342571D41AA35CDBB8C81304130984C1556571D4176832FCC48813041C0E1E915A9581D4131714DF73D813041704B41DBE2581D4192DD57123481304170C4DF411F591D4188717E272B813041B0A9960B5E591D418C59EF3F23813041C03BC2F79E591D4132D2CD631C81304190268CC3E1591D417BC7299A168130413055302A265A1D4127E483BE0D813041D0EA04349B5A1D41977BA9F90881304140E3D42BD15A1D41BC0013030381304150E45F34055B1D41C8E620E7FB80304180FDA6E1365B1D41167F94B4F3803041A0548FCC655B1D414B59717CEA8030418024B893915B1D4124F3D951E0803041F0D544DCB95B1D41E201E849D580304160999952DE5B1D41B1A6807BC980304140EC08ABFE5B1D41FFE924FFBC80304100AD70A21A5C1D41ABDFBEEEAF803041706DC5FE315C1D4100098A7FBC80304110DCD701325C1D4110D04438C280304170A1D634325C1D41020000000200000000026C00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1521887 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1522806, N'{E56D9297-363B-4D4D-B90B-367565D533F1}', N'001620363', 3, N'NO_PLAN', NULL, N'1620363', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-01-05T00:00:00.000' AS DateTime), N'', N'', N'', N'THAT PART OF SECTIONS 82 AND 83, ESQUIMALT DISTRICT, SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 27589 AND CONTAINING 3.14 ACRES MORE OR LESS', N'0065', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'0', NULL, CAST(N'2017-12-13T15:04:41.000' AS DateTime), CAST(N'2020-12-14T14:28:35.000' AS DateTime), 13186, 1049, 0xBD0B000001041A000000EAB7AFC36911324120166A4D8C631741DE02092A1B1232414045B67373641741D7ACFA9C1C123241A0CFD556756417418FA982B11D123241C07F48BF766417418B5AD3DC1212324170855A53F5631741D81B7C2111123241A0BDC117F3631741A6A44E60A111324130234A7B616317412C08AC5C88113241E0285C8F4263174177E9269176113241D095B20C2B6317415820419139113241B0FC8774DA6217419EF831C610113241304DF38EA4621741B78D06D00511324190BC741396621741907571DBEB1032416039B4C873621741049A08BBD810324150DC46835A621741D7CEF753BA10324120158C4A33621741C6073DFBB0103241B0C7983B27621741D2AACF75A21032415092CB7F14621741CC8F31B7A0103241405BB13F1262174134431CCB8210324100787AA5EB6117412A3A922B6910324170AD695ECA6117414C158CCA4C10324130D34D62A5611741BF5B20014B10324110D34DE2E961174131D49AA63D103241F0BFEC1E056217413692CB9F5F103241204A7B832E62174124DBF99EC4103241209A771CB1621741EAB7AFC36911324120166A4D8C63174101000000020000000001000000FFFFFFFF0000000003, CAST(1522806 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1523736, N'{EB788E54-7F2E-40E1-BAE1-84F7DDB22973}', N'013998072', 295389, N'PRP968', 23688801, N'13998072', NULL, N'01250.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 19', N'Block 105', N'Section 2', N'LOT 19 BLOCK 105 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:37.000' AS DateTime), 260, 72, 0xBD0B00000104050000009E1A2F9D1E792B41A4DA8A5DD964314147E8D9AC32792B411C583934D9643141332AA9D331792B41E4361A40BF643141EB3845C71D792B41089E5E69BF6431419E1A2F9D1E792B41A4DA8A5DD964314101000000020000000001000000FFFFFFFF0000000003, CAST(1523736 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1524830, N'{6CD140CD-F706-4143-8195-FEA933FE94D3}', N'009212434', 1186873, N'NWP24843', NULL, N'9212434', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1997-08-18T00:00:00.000' AS DateTime), N'REM Lot 4', N'', N'', N'LOT 4 EXCEPT: FIRSTLY: PART ON STATUTORY RIGHT OF WAY PLAN 30557; SECONDLY: PART ON STATUTORY RIGHT OF WAY PLAN 45999A; DISTRICT LOT 26 GROUP 2 AND SECTION 11 TOWNSHIP 6 NEW WESTMINSTER DISTRICT PLAN 24843', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:35:49.000' AS DateTime), 96854, 1591, 0xBD0B000001040B000000E4263128D789324130EF38C570051C41F84A59267F873241D03D79D8D1081C41BF30996A878732414068226C0F091C419306F0D6FC873241204ED191D70B1C41770B24A827883241F037F8C27E0C1C41B4726851A5883241B0187357450A1C416F810445D38832419048BFFD75091C4162984C950E89324100197357B2081C411DB9FCA7D5893241D088D25EA2061C41D41B7C41EA893241D0FEB2FB43061C41E4263128D789324130EF38C570051C4101000000020000000001000000FFFFFFFF0000000003, CAST(1524830 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1527101, N'{FC137A02-267A-415E-BDE7-3E6D2F4B80B7}', N'013872401', 1309224, N'NWP874', NULL, N'13872401', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-02T00:00:00.000' AS DateTime), N'REM Lot ONE', N'REM Parcel A', N'REM Lot 30', N'PARCEL "ONE" (EXPLANATORY PLAN 8366) EXCEPT: FIRSTLY, PART SHOWN AS 0.015 ACRES ON SRW PLAN 25898, SECONDLY, PART SHOWN AS 0.114 ACRES ON SRW PLAN 25898 OF PARCEL "A" (REFERENCE PLAN 6598) OF LOT 30 DISTEICT LOT 1 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 874', N'0025', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:20:35.000' AS DateTime), 94, 41, 0xBD0B0000010405000000C2D32BE580B73241400C022B65F41C41DAC56DF487B7324130D7A3F065F41C41BBA679E785B7324190D100DE29F41C410912141F7EB732419006F09644F41C41C2D32BE580B73241400C022B65F41C4101000000020000000001000000FFFFFFFF0000000003, CAST(1527101 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1530142, N'{A5CE3AAE-4F86-4EBB-BD31-C898408CAF0F}', N'007622317', 647337, N'VIP1297', NULL, N'7622317', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 22', N'', N'', N'LOT 22, LOOP FARMS, ALBERNI DISTRICT, PLAN 1297 EXCEPT THAT PART IN PLAN VIP65075 AND VIP83761', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2019-02-21T13:15:01.000' AS DateTime), 27183, 723, 0xBD0B000001040E0000005AB1BFAC1F8B304190E2C718AF1E1D41C87F487FCF8A304160827346961D1D41DEB5847CCF8A3041C0EC9E3C961D1D4136DF4F0DC98A304110FB3AF071211D4189FD6517768B304140508D1760211D41FE65F704668B304130635DDC6D201D414702BCFD628B3041D08134D944201D4103695E6C5F8B3041604D4E891C201D417BEB70535B8B3041E0F1B809F51F1D413390E7B5568B30410076EC76CE1F1D41F2F11597518B3041D036B6ECA81F1D41E9D9ACFA4B8B304190DD2486841F1D41787AA5CC2E8B3041806132D5F31E1D415AB1BFAC1F8B304190E2C718AF1E1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1530142 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1530383, N'{952AEEC3-EAE7-4C69-97A0-538CEE4936E7}', N'012750727', 868179, N'KAP55', NULL, N'12750727', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 17', N'Block 12', NULL, N'THAT PART LOT 17 SHOWN ON PLAN B3666 BLOCK 12 DISTRICT LOT 706 YALE(FORMERLY OSOYOOS) DIVISION YALE DISTRICT PLAN 55 EXCEPT PLAN H831', N'0114', N'0022', N'NO', N'MODIFIED-ICIS', 0, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-08-11T14:56:32.000' AS DateTime), 41, 31, 0xBD0B00000104040000005CE5D022C3553541505F984C65171F41A289B061C5553541409B559F31171F4128C286C7BD553541205530AA4F171F415CE5D022C3553541505F984C65171F4101000000020000000001000000FFFFFFFF0000000003, CAST(1530383 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1530895, N'{294B5154-4139-48E8-BCE5-6E768A63D66A}', N'002262371', 4098, N'VIP27973', 47831, N'2262371', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', NULL, NULL, N'LOT 1, DISTRICT LOT 17, BRIGHT DISTRICT, PLAN 27973', N'0163', N'0021', NULL, N'ICIS CADASTRE', 11, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2020-08-25T16:02:23.000' AS DateTime), 41568, 816, 0xBD0B0000010406000000904AEA24099A314180423E6805631B4143BD52B6059A314160E3A59B05631B41C5E53FE4FF993141C0694DF317661B4193ED7C7FCB9A314140EA04342E661B41941804F6D09A3141E01726D3DC621B41904AEA24099A314180423E6805631B4101000000020000000001000000FFFFFFFF0000000003, CAST(1530895 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1533341, N'{974F5D27-2DAE-4246-B72B-508A93733765}', N'016438621', 3, N'NO_PLAN', NULL, N'16438621', NULL, N'7035215000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'A', N'6618', N'', N'PARCEL A (EXPLANATORY PLAN DD 9949) OF DISTRICT LOT 6618 KOOTENAY DISTRICT', N'0163', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-02-06T13:12:09.000' AS DateTime), 580199, 3637, 0xBD0B000001040D00000085855A53898B3A41B0BDC1D7CABB214168AA6054F2893A4110EBE23663BB2141DE141DE963883A41D84A59C6FDBA21419F1A2F7DF4873A41B8A0F831E4BA2141602BF6F782873A4128D34D22CABA2141AC57CA7211873A41383CBD12B0BA2141726891ED9F863A4168DC460396BA21413C7958682E863A41887CD0F37BBA21412138674413863A4100FED4B875BA2141CAFEB2BBDE853A417016D9CE98BD21413AAB3E1736883A41A8270F4B33BE2141604BC847548B3A41B039230A01BF214185855A53898B3A41B0BDC1D7CABB214101000000020000000001000000FFFFFFFF0000000003, CAST(1533341 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1534057, N'{E63AD524-76B7-4910-9C6F-56A6C73F239D}', N'008122075', 12849, N'VIP1002', NULL, N'8122075', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 9', NULL, NULL, N'THAT PART OF LOT 9, DISTRICT LOT 101, MALAHAT DISTRICT, PLAN 1002, LYING TO THE WEST OF THE ISLAND HIGHWAY AS SAID HIGHWAY IS SHOWN ON PLAN 570 RW EXCEPT THAT PART IN PLAN VIP64830', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T22:16:26.000' AS DateTime), CAST(N'2021-02-25T09:41:45.000' AS DateTime), 2560, 355, 0xBD0B00000104050000006909F9E0430432416044696FB4C118412BE4831E4A043241A0F606DF74C11841C1E3145DA603324120B8AF835EC1184150AF94C5A50332415011363C9DC118416909F9E0430432416044696FB4C1184101000000020000000001000000FFFFFFFF0000000003, CAST(1534057 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1534108, N'{7540C64C-FF33-4D80-B584-7D4015E0C2B2}', N'013675923', 1092653, N'NWP594', NULL, N'13675923', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'Block 55', NULL, N'LOT 1 EXCEPT PART ON SRW PLAN 43417 BLOCK 55 DISTRICT LOT 411 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 594', N'0081', N'0009', N'NO', N'MODIFIED-ICIS', 1, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2021-03-09T11:44:07.000' AS DateTime), 120, 48, 0xBD0B000001040500000016D9CE17EF613341E0FEB2FBF3571C4107462535FB613341F04603F8C0571C417168918DF461334120053411B3571C4138DF4FCDE9613341F03FA45FE0571C4116D9CE17EF613341E0FEB2FBF3571C4101000000020000000001000000FFFFFFFF0000000003, CAST(1534108 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1534134, N'{4A1C87BF-0595-4B60-A762-14D764C51145}', N'004600711', 19101, N'VIP13606', 90075891, N'4600711', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', NULL, NULL, N'LOT 1, SECTION 2, RANGE 5, SHAWNIGAN DISTRICT, PLAN 13606', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'0', N'2538', CAST(N'2021-02-16T15:11:37.000' AS DateTime), CAST(N'2021-03-10T09:10:53.000' AS DateTime), 2557, 302, 0xBD0B000001040B000000C732C471C1F13141F0D5C5EDF3D91841E37A14EEF5F1314140795828F5D918413008AC7CFCF13141107DD033F5D91841D512F22124F23141504CA60AF6D91841CD2B653924F23141D06F5F07A4D9184184C0CA4124F23141A0E461A18CD9184162C3D30BF7F131417089B0E19AD91841186A4D33C9F13141F0F0F44AA9D918411CB9FCE7AEF13141D0B4C876C4D918417A36ABDE9CF1314150795828F3D91841C732C471C1F13141F0D5C5EDF3D9184101000000020000000001000000FFFFFFFF0000000003, CAST(1534134 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1534452, N'{C44E2EF0-7499-46BC-8AA2-AEC77D47ADA1}', N'013525425', 3, N'NO_PLAN', NULL, N'13525425', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART G', N'10', N'2', N'THAT PART OF PARCEL G (DD 39100I) OF SECTION 10, RANGE 2, QUAMICHAN DISTRICT BEING A PARCEL .37 ACRES MORE OR LESS INCLUDED IN PLAN 1027 OS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 42, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T19:48:18.000' AS DateTime), CAST(N'2021-04-19T10:07:41.000' AS DateTime), 1914, 199, 0xBD0B000001040600000006F9A04705C53141B0F528DCC17E1941815149DD45C53141607CD0335D7F1941271895F446C53141206F8184CB7E194128ED0D1E47C531413023DBF99D7E1941B815FB4B05C5314130EC2F3B987E194106F9A04705C53141B0F528DCC17E194101000000020000000001000000FFFFFFFF0000000003, CAST(1534452 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1535395, N'{E43B2B35-0F9F-4849-B3E3-1A9746D37029}', N'016633873', 3, N'NO_PLAN', NULL, N'16633873', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART W2', N'13', N'27,22', N'THAT PART OF PARCEL A (EXPLANATORY PLAN 17989A) OUTLINED IN GREEN ON RW PLAN 8708 OF WEST HALF OF SECTION 13 TOWNSHIP 27 RANGE 22 WEST OF THE 5TH MERIDIAN KOOTENAY DISTRICT TO BE KNOWN HEREAFTER AS PARCEL A (SEE DF K18727)', N'0043', N'0006', N'NO', N'ICF', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-06-03T16:32:53.000' AS DateTime), 5582, 460, 0xBD0B0000010405000000DE2406E19CD438413805A352D88E26413CCF66D523D53841F0F0F48AB48D264196E61D271DD5384198B74042A88D2641AABDC17778D4384120E9B7AF9C8E2641DE2406E19CD438413805A352D88E264101000000020000000001000000FFFFFFFF0000000003, CAST(1535395 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1535717, N'{AA20025D-9DB5-4533-B749-B29155CBE12F}', N'001645846', 3, N'NO_PLAN', NULL, N'1645846', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 47', N'', N'', N'THOSE PARTS OF SECTION 47, SOOKE DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 27391 AND CONTAINING 3.58 ACRES MORE OR LESS', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:09:41.000' AS DateTime), CAST(N'2021-06-25T15:01:12.000' AS DateTime), 19563, 1201, 0xBD0B000001042000000088635D3C00DE3141D04D6290C5201741199E5E89E1DD314190B96B098E201741878EE472CBDD314130D8F074D820174186D2DE60B7DD3141200681151C211741AA9BC42089DD3141206822ECB72117415517B7B152DD3141506DC5FE6E221741AF03E7EC48DD314180D3BCE38F221741F2D24D4234DD3141608104C5DB221741A333A2D401DD314130FA5CED94231741D812F2A1DEDC3141807DAEB6E5231741D4DEE06B67DC314170DC46036B251741B4D85F9663DC3141B0BAB80D582517419A9999B95DDC3141B03E57DB6A25174197081B9E33DC3141E0B7AF8319261741900F7A9662DC31410064CC5D6026174153158CAA63DC3141A04F1E965C261741931804F668DC314130006F014A2617410A12145F72DC3141A09999992B261741614BC84780DC3141A0F3FD540126174110C7BA987DDC3141D04A5986EF2517413580B7C07DDC31411090A0F8EE251741BBDA8A3D96DC31416058A8B598251741DF9387A5F2DC3141403EE85976241741F67E6A3C5DDD3141E03B4E51F42217419D11A57D76DD3141700D4F2F95221741132DB27D88DD3141B00C71AC58221741B4E1E955B1DD3141A0F5285CCF211741C9C342ADC8DD3141504160E5802117417DD0B359E2DD31410074B5952A211741802F4C06FCDD314150A60A46D42017413A45475200DE31412010E9B7C520174188635D3C00DE3141D04D6290C520174101000000020000000001000000FFFFFFFF0000000003, CAST(1535717 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1535785, N'{06E34EF5-D16C-4D57-9BBE-B37AD03536A0}', N'002910896', 117903, N'VIP877', NULL, N'2910896', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 13', N'Block 9', NULL, N'THAT PART OF LOT 13, BLOCK 9, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, NULL, N'UNKNOWN', N'0', N'296.6', CAST(N'2021-06-29T16:57:53.000' AS DateTime), CAST(N'2021-06-29T17:46:46.000' AS DateTime), 297, 70, 0xBD0B000001040C000000F0F44A19AE38324190B0E169558C17417BA52C03B438324110530523A28C1741BA270F4BBC383241F070AC0B988C1741A111A57DC2383241501F63EE8F8C174108F9A0E7BB383241D0718A8E448C17413987617FBB38324180240311458C1741AD401617BB3832418036E492458C17412833BFAEBA383241C0962D14468C1741726C5C46BA3832410034DF94468C174160FAEDDDB938324130FDF814478C1741ADEA7375B938324160E17A94478C1741F0F44A19AE38324190B0E169558C174101000000020000000001000000FFFFFFFF0000000003, CAST(1535785 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1537823, N'{13C1A388-1B62-4B79-BACB-F15E2272CFB4}', N'017865808', 9027661, N'KAP47784', NULL, N'17865808', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1992-08-07T00:00:00.000' AS DateTime), N'Parcel 2', N'', N'', N'PARCEL 2 SECTION 32 TOWNSHIP 4 KAMLOOPS (FORMERLY OSOYOOS) DIVISION YALE DISTRICT PLAN KAP47784', N'0005', N'0012', NULL, N'PMBC-OPERATIONS', NULL, NULL, N'UNKNOWN', N'0', N'238.5', CAST(N'2021-08-18T13:17:49.000' AS DateTime), CAST(N'2021-11-10T12:03:32.000' AS DateTime), 239, 187, 0xBD0B0000010409000000FD21FD7657A0364140F1638C80152341FBCBEE496CA0364100CCEEC985152341428B6C076DA0364190B0E1E979152341CC19511A16A03641389C3322691523415527A0A915A0364178A0F83170152341F4EDEBA01AA03641F0AACF5571152341689A77FC1DA03641B0506B1A6C15234113BE30D954A03641288863DD79152341FD21FD7657A0364140F1638C8015234101000000020000000001000000FFFFFFFF0000000003, CAST(1537823 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1539309, N'{9AC0A4C8-E4CC-4C68-80AF-6DC625AA8EE5}', N'002932083', 871964, N'KAP34728', NULL, N'2932083', NULL, N'72404980028', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Parcel A', N'', N'', N'PARCEL A DISTRICT LOT 4360 KAMLOOPS DIVISION YALE DISTRICT PLAN 34728', N'0163', N'0028', N'NO', N'ICF', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:17.000' AS DateTime), 62, 45, 0xBD0B00000104050000001EB07248336835419059F5F9FBFF24411995D4A9336835416017B711FDFF2441188C4A0A42683541B088D25EE6FF2441AA79C7893E68354138166A4DDCFF24411EB07248336835419059F5F9FBFF244101000000020000000001000000FFFFFFFF0000000003, CAST(1539309 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1540120, N'{783E1DCE-786A-482A-8618-F9381C202042}', N'005896835', 126654, N'VIP5710', NULL, N'5896835', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 12', N'', N'', N'LOT 12, SECTION 108, LAKE DISTRICT, PLAN 5710, EXCEPT PART IN PLAN 29935', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:29:32.000' AS DateTime), CAST(N'2019-01-05T10:23:06.000' AS DateTime), 857, 127, 0xBD0B0000010406000000AB3E57BBEB353241201895D457D7174102000020E7353241D07D1D3823D71741F3FDD478C3353241F07BF2B02DD71741F953E3A5B9353241C0B0E16973D7174173AC8BBBBD3532412087165993D71741AB3E57BBEB353241201895D457D7174101000000020000000001000000FFFFFFFF0000000003, CAST(1540120 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1540169, N'{820A6367-7E11-41A2-A333-8F8B4AF1F3E9}', N'000238431', 134209, N'VIP13825', NULL, N'238431', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'', N'', N'LOT 2, SECTION 15, RANGE 2 EAST, NORTH SAANICH DISTRICT, PLAN 13825, EXCEPT PARCEL A (DD 375682I)', N'0090', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:37:52.000' AS DateTime), CAST(N'2019-01-05T10:23:22.000' AS DateTime), 2882, 418, 0xBD0B0000010405000000CECCCC6C092A324150E8D92CCDF418415FC3D30B8F293241F08CB9EB0BF7184120D26F9FA22932414070CE080EF7184160EE5A621D2A324190FF907ECDF41841CECCCC6C092A324150E8D92CCDF4184101000000020000000001000000FFFFFFFF0000000003, CAST(1540169 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1540736, N'{AF534A6B-77F4-43EF-8E28-5CD00C631F83}', N'005622841', 248101, N'PGP29457', 90054412, N'5622841', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'', N'', N'LOT 3 DISTRICT LOT 6006 CARIBOO DISTRICT PLAN 29457', N'0163', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:17:48.000' AS DateTime), 17213, 553, 0xBD0B00000104060000005E984CF5D4F03541A8C42070BEAD2B41925CFE8358F13541C042AD69B1AD2B4189635DFCFAF0354110DE028958AC2B41D412F2C1F5F03541B8DD93C75DAC2B4110363C5DB5F03541402CD45A9EAC2B415E984CF5D4F03541A8C42070BEAD2B4101000000020000000001000000FFFFFFFF0000000003, CAST(1540736 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1540795, N'{D7AD6071-14DE-44B4-AF2E-1F24FA0714F1}', N'014097303', 3, N'NO_PLAN', NULL, N'14097303', NULL, N'72411724020', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'NE4', N'11', N'17,14', N'THE NORTH EAST 1/4 OF SECTION 11 TOWNSHIP 17 RANGE 14 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT CONTAINING 160 ACRES MORE OR LESS', N'0163', N'0028', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:31:17.000' AS DateTime), 657129, 3243, 0xBD0B0000010409000000D0915C9E45F1354120F46C1606F222410EE9B74F6FF435417875719BACF222410CF9A047B5F43541785374245AEC22417F7346B41EF3354188B7408212EC224101B37B12A7F23541D87A146EFDEB224111F241AFDDF13541988EE4F2D9EB2241E826312888F1354100F775E0CAEB2241381AC07B82F13541C8AACF5556EC2241D0915C9E45F1354120F46C1606F2224101000000020000000001000000FFFFFFFF0000000003, CAST(1540795 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1541280, N'{EC493D46-DD53-43B0-BFA0-915624583576}', N'001587447', 128536, N'VIP1597', NULL, N'1587447', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'', N'', N'THAT PART OF LOT 4, SECTION 16, VICTORIA DISTRICT, PLAN 1597 INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:40:43.000' AS DateTime), CAST(N'2019-01-05T10:53:36.000' AS DateTime), 26, 29, 0xBD0B0000010409000000AA13D084C22D3241A0EC9E3C549A17419017356EC42D3241D0086630529A1741C9EE7B56C62D32411048C113509A174184C89B3DC82D3241B06CBAE64D9A174124D98B23CA2D3241B0855BA94B9A1741A45A4308CC2D3241F0ECAE5B499A17417D8CB9EBCD2D3241B048BFFD469A1741E00B9349C12D3241A0779C22449A1741AA13D084C22D3241A0EC9E3C549A174101000000020000000001000000FFFFFFFF0000000003, CAST(1541280 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1542753, N'{AF424BA0-6FD7-4ACB-93C7-572EB15902AD}', N'010181253', 1071256, N'KAP5995', NULL, N'10181253', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 61 YALE DIVISION YALE DISTRICT PLAN 5995 EXCEPT PLANS H402 AND KAP51803', N'0163', N'0009', N'NO', N'ICIS CADASTRE', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-01-31T18:53:38.000' AS DateTime), 2363, 232, 0xBD0B000001040E000000BBA679678849344160764F1E51701F4188D2DEC0884934417047727974701F41CAEEC963924934414004560E70701F41705F07AE9A49344110FDF6F552701F4187F4DB17A4493441F06C567D1C701F415B764FFEB7493441F01B0D600D701F41F6065FB8C6493441E0043491A26F1F4115143FE6D249344180E2369A906F1F41C3D32B05D2493441A007CE99796F1F4118B7D1C08D493441A057CAB29E6F1F4105F9A0E78A493441B0A4DF3EA06F1F411CFDF69589493441E096908FCD6F1F417A58A89588493441D019515A07701F41BBA679678849344160764F1E51701F4101000000020000000001000000FFFFFFFF0000000003, CAST(1542753 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1544944, N'{92E7D96D-0F73-4DD8-B100-99F9F728EF0B}', N'005492823', 6882, N'VIP8226', 445501, N'5492823', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1, DISTRICT LOT 91, NANOOSE DISTRICT, PLAN 8226 EXCEPT PART IN PLAN 40252', N'0068', N'0021', NULL, N'ICIS CADASTRE', 8, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2021-02-10T09:44:31.000' AS DateTime), 1621, 171, 0xBD0B0000010405000000EBFBA9F18354314100C5FE3281D01C4167AA60D4B3543141C0FEB2FBF3D01C41CBE53FA4B454314120C58F3136D01C415B39B4488454314120F46CD632D01C41EBFBA9F18354314100C5FE3281D01C4101000000020000000001000000FFFFFFFF0000000003, CAST(1544944 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1545629, N'{EABCA916-586A-49BD-9543-26B70CFEA5FB}', N'000769959', 1170767, N'NWP2620', NULL, N'769959', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2012-04-10T00:00:00.000' AS DateTime), N'REM Lot 1', N'Block B', NULL, N'PARCEL A (EXPLANATORY PLAN 15000) OF LOT 1 EXCEPT: FIRSTLY; PART DEDICATED ROAD ON PLAN LMP21755, SECONDLY; PART ON SRW PLAN 74467, BLOCK B DISTRICT LOT 757 AND 758 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 2620', N'0088', N'0010', N'NO', N'ICIS CADASTRE', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', N'890.3', CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2021-01-27T12:15:27.000' AS DateTime), 886, 122, 0xBD0B000001040B00000074E09CF137A6324110492EFF958D1C41A4D6348F37A63241B07BF230988D1C4104A91A153BA63241E0571A64A08D1C41C87612983EA63241504E45ABA88D1C412325151842A6324110A06206B18D1C413A9F1B9545A63241D0646175B98D1C4155D61E0F49A63241B08C30F8C18D1C41C3C117864CA6324190DFBE8ECA8D1C41913177ED60A6324120295C0F568D1C4187B0E1E94CA63241208195431E8D1C4174E09CF137A6324110492EFF958D1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1545629 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1545927, N'{126DFDC8-893F-401A-8BC2-30C16334656C}', N'015417778', 3, N'NO_PLAN', NULL, N'15417778', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART 30', N'22,1', N'', N'THAT PART OF LEGAL SUBDIVISION 11 SECTION 30 TOWNSHIP 22 RANGE 1 WEST OF THE 6TH MERIDIAN KOOTNEAY DISTRICT INCLUDED IN REFERENCE PLAN 67412I', N'0163', N'0006', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:23:32.000' AS DateTime), 5953, 380, 0xBD0B0000010414000000B69690AFE5AD374138AB3ED7F0E724419EEFA706E4AD374168EE5AC201E82441FCBB0512E2AD374160BA498C12E824417CE09CD1DFAD374150696F3023E82441A0EFA746DDAD374178302AA933E824413E4ED171DAAD37417820B0F243E824410D61C353D7AD374130CB100754E82441160DE0EDD3AD374188D2DEE063E824413A80B740D0AD3741A047E17A73E824411A04564ECCAD3741B07268D182E82441D0AACF55C6AD37414827A0C997E8244160984C7501AE37417809F920A7E8244159B1BFEC10AE3741E05817B792E7244192976E52E9AD374150F38ED389E7244112C7BA78E9AD374170BC74139BE724416ED71252E9AD3741D83B4E51ACE72441FC75E0DCE8AD3741C04B3789BDE72441A53E571BE8AD374118FDF6B5CEE724410C68220CE7AD374168CE88D2DFE72441B69690AFE5AD374138AB3ED7F0E7244101000000020000000001000000FFFFFFFF0000000003, CAST(1545927 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1546370, N'{07F20667-254D-4230-8CCE-45E18DFD1092}', N'010308521', 3, N'NO_PLAN', 90033744, N'10308521', NULL, N'760-008020.013', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'NW4', N'19', N'83,18', N'PARCEL A (46726M) OF THE NORTH WEST 1/4 OF SECTION 19 TOWNSHIP 83 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT EXCEPT PLAN 20464', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:21:00.000' AS DateTime), 55399, 1101, 0xBD0B00000104070000009AC42070C0213441282CD45A5D333341EEA7C68BBB213441A4B437D89F3333413CAD693EA4213441A4559FEBDC343341560E2DD2A12134410C8195E3FD343341FE21FD1626223441905CFEC3073533412A0F0BB544223441E06A2B36673333419AC42070C0213441282CD45A5D33334101000000020000000001000000FFFFFFFF0000000003, CAST(1546370 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1547255, N'{DFBB2134-421B-4092-9F46-DF3AF25A9885}', N'001013319', 7596, N'VIP38086', NULL, N'1013319', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1, DISTRICT LOT 74, NEWCASTLE DISTRICT (SITUATE WITHIN CAMERON DISTRICT),, PLAN 38086 EXCEPT THAT PART IN PLAN VIP54469', N'0163', N'0021', NULL, N'ICIS CADASTRE', 7, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2020-06-26T17:01:33.000' AS DateTime), 98324, 1614, 0xBD0B000001040700000010C7BA1813EA3041508B6C676C161D41E52631E80AEA3041F06F5F0773191D41FFDD02296FEC3041F02BD41ADD191D410E9C330270EC3041205305238C191D41BE529601FAEB3041C00B932978191D416644694F01EC3041C0E8482EC1161D4110C7BA1813EA3041508B6C676C161D4101000000020000000001000000FFFFFFFF0000000003, CAST(1547255 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1547678, N'{8131E566-1521-49A7-A2E9-181705079C39}', N'012233439', 495467, N'NEP9500', 14226611, N'12233439', NULL, N'219528005', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 18', N'Block 44', N'', N'LOT 18 BLOCK 44 DISTRICT LOT 95 KOOTENAY DISTRICT PLAN 9500', N'0085', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:21:32.000' AS DateTime), 277, 88, 0xBD0B000001040500000091A0F811ABDD384188B20CB16B5820413C136123B1DD3841D0D100DE74582041BDD32B25C7DD3841D00E9CB33A58204150FC1813C1DD3841E0141D893158204191A0F811ABDD384188B20CB16B58204101000000020000000001000000FFFFFFFF0000000003, CAST(1547678 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1548214, N'{AFB6F4F9-E84D-477C-AC64-C858D846FC24}', N'000017540', 645957, N'VIP1279', NULL, N'17540', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 13', N'Block 3', N'', N'LOT 13, BLOCK 3, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:49.000' AS DateTime), 383, 96, 0xBD0B00000104090000005317B7F17D9D304150E63F24DDBA1C4149B6F3DD869D3041402CD41ADEBA1C41D2F75323879D304160FAEDEBB5BA1C41063411367C9D30417036ABBEB4BA1C41664DF32E7C9D3041307F6ABCB4BA1C418838D605619D3041B015FBCBB1BA1C41E02406C1609D304190B515FBD9BA1C41188C4AEA7D9D3041F09B3322DDBA1C415317B7F17D9D304150E63F24DDBA1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1548214 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1548421, N'{2B22D5C7-FAA5-4EB0-839B-C101CD0D0066}', N'008411913', 3, N'NO_PLAN', NULL, N'8411913', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-02-23T00:00:00.000' AS DateTime), N'PART 17', N'', N'', N'THE NORTHERLY 20 FEET OF THAT PART OF DISTRICT LOT 17, ALBERNI DISTRICT, LYING EAST OF THE EAST BOUNDARY OF LOT 1, PLAN 2140, PRODUCED SOUTHERLY, EXCEPT PART IN PLAN 277 RW', N'0163', N'0029', N'NO', N'SRW-COMPILATION', NULL, NULL, N'COGO', N'0', NULL, CAST(N'2018-06-20T12:14:41.000' AS DateTime), CAST(N'2018-11-23T18:39:31.000' AS DateTime), 3401, 1191, 0xBD0B0000010413000000B38BDBA88E9D3041301AC0DB3D0C1D41BB1E85AB8E9D304180D0B3D9530C1D41C242AD29D39E304150D2DEE07D0C1D41666666E6229F3041000F0B35880C1D41831D3827239F3041807E6A3C880C1D41CC6D3480239F304180CAA1C5860C1D415E4BC847279F3041703EE8D9760C1D4132C4B1AE289F3041E08C28ED700C1D410166F7C4289F3041E096908F700C1D41D65F76AF289F3041A003E78C700C1D4140355E9A1D9F3041400DE02D6F0C1D412F90A0B8179F3041A045B6736E0C1D41D53D79B84D9E304170FE437A550C1D41B38BDBA88E9D3041301AC0DB3D0C1D41885AD37C339F3041E0C420308A0C1D41F285C914E49F304110EEEB409F0C1D41962A1855E49F3041E05B20C1870C1D41430AD703399F30414097FF90720C1D41885AD37C339F3041E0C420308A0C1D41020000000200000000020E00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1548421 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1548712, N'{CD845DB1-56FA-4670-9A14-054D37CF2032}', N'014291061', 299189, N'PRP934', 90073253, N'14291061', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 20', N'Block 12', N'', N'LOT 20 BLOCK 12 DISTRICT LOT 16A QUEEN CHARLOTTE DISTRICT PLAN 934 EXCEPT PLAN 6937', N'0116', N'0026', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-11-26T18:18:42.000' AS DateTime), 417, 85, 0xBD0B0000010405000000686891ED552B224190E8486EEE7F2C41078195C3372B2241C020B032F27F2C419C4C158C3E2B2241B878E9A628802C418C218EB55C2B2241B089B0E124802C41686891ED552B224190E8486EEE7F2C4101000000020000000001000000FFFFFFFF0000000003, CAST(1548712 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1553280, N'{0A7238B8-4A03-4F88-9520-E1948A2D1D0E}', N'011332093', 1303888, N'VAP4742', NULL, N'11332093', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-15T00:00:00.000' AS DateTime), N'Lot 63', N'Block 25 & 28', N'', N'LOT 63 BLOCKS 25 AND 28 DISTRICT LOT 599 PLAN 4742', N'0092', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T10:50:27.000' AS DateTime), 364, 94, 0xBD0B00000104080000000A1B9EDE167A32414055302AD5871D41EC61A1563C7A324100FF21FDDB871D410A24287E3C7A3241F068006FB5871D41D7F0F44A3C7A3241C0D32B65B5871D4173F90F49177A32418027A009AE871D413DC6DC15177A32417092CBFFAD871D41000000E0167A32414088635DD4871D410A1B9EDE167A32414055302AD5871D4101000000020000000001000000FFFFFFFF0000000003, CAST(1553280 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1555374, N'{20F1F276-4DCE-400D-A60A-08584B4C6884}', N'014915286', 3, N'NO_PLAN', NULL, N'14915286', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'1003S', N'', N'', N'DISTRICT LOT 1003S SIMILKAMEEN DIVISION YALE DISTRICT EXCEPT PLAN EPP11327', N'0163', N'0022', N'NO', N'MODIFIED-TANTALIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:25.000' AS DateTime), 18700, 1706, 0xBD0B00000104270000000A4625555B063641C03C2C54BDA61D41000000C097063641E097DD93B4A51D415B0E2D72A6063641A051499DB4A51D41779CA283BB0636415080B7C06EA51D41ABC64B378A0636417039B4C8B2A51D412C90A0F8ED0536413032E6AEA3A71D41E9AE2564F5053641002DB29D9EA71D4195E4F27F21063641F0F28E5342A71D410A4625555B063641C03C2C54BDA61D41326744A9A2003641B085EBD179A91D416A91ED5C1A013641608FC2751BA91D417C3F35FE3B0136411045D8F000A91D41ACB6629F63013641306C78FA52A81D4180FB3AD0840136412065AA60DEA71D41B88D0650AC01364160627FD9F8A71D41829ECD6ACB013641D0BE0E1C8DA71D41351AC05BED01364180B1BF6C7AA71D4110363C5D0D02364180029A0898A71D410A4625753B0236418005A392DAA71D41CEBCE3143A02364110948785E4A71D41A9BDC15763023641B0DBD7813FA81D41167C61D29C02364170C954C16BA81D4135234A5BA4023641E0EBC0B9DCA71D417758A8F56F023641F01B7C61B4A71D41FA5C6DC54B023641004FAF9464A71D41B425E4634A0236413005A3926EA71D41420AD70316023641F0DC240623A71D41E02406C1EE013641403333B3FEA61D4105819543BE0136417041606519A71D41D0D5562CA3013641A0C7983B77A71D415EBA498C7B013641A0E7FBA95CA71D41AB57CA324E01364170FE43FAFBA71D41696666A64C01364110143FC602A81D410AAC1CDA2101364140E6AEA5BEA81D41DD4603381601364160F2B0D0C7A81D417436ABFE1701364180C3D3ABEBA81D41F70FE997A800364150DA1B7C43A91D41A79BC4C0A3003641B0CCCC4C47A91D41326744A9A2003641B085EBD179A91D41020000000200000000020900000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1555374 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1556717, N'{32A871FA-297A-4E95-BA96-637B3A32DF1E}', N'014895757', 489539, N'NEP4193', NULL, N'14895757', NULL, N'7101723300', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1 DISTRICT LOT 549 KOOTENAY DISTRICT PLAN 4193, EXCEPT PARCEL A (SEE P3493)', N'0086', N'0004', N'NO', N'ICF', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-08-06T16:05:45.000' AS DateTime), 14811, 1007, 0xBD0B000001041900000030D49AC65CAD384168CC5D4BD3FF21413455304A53AD3841C09C11257D0022414D7424173DAD384168711B4D4A0222418CFD65975EAD3841487DAEB67B022241AC9BC42060AD3841D8B6D14056022241D481732684AD384138BE305987FF2141974C15EC86AD38410874B5954DFF2141F631E6AE80AD3841B0B6627F5AFF21410380681D7AAD3841A88E0DA266FF21414972941174AD3841E8522CCF73FF21412A13EF956EAD3841502DD2EF81FF2141BD9002B469AD3841B0926AEB90FF2141B6A34D7465AD38413006E4A7A0FF2141A4C734DE61AD38417874DD09B1FF2141465EF5F75EAD384118D7D5F4C1FF214130D49AC65CAD384168CC5D4BD3FF2141B615FBAB5CAD384150BB274FA70222413E355EBA4AAD38416866662691022241F29E3C6C3BAD38414075021A7D0222417F7346D435AD3841781361C3E2022241166A4D7335AD3841604013A1E90222411EC9E5DF3BAD384108273188E8022241AA6054D247AD384108CF6695E202224168DE710A5AAD3841B09BC420DE022241B615FBAB5CAD384150BB274FA7022241020000000200000000021000000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1556717 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1557090, N'{8B25E3CA-AFEF-46AC-8531-AC0C385BEC47}', N'011807466', 868117, N'KAP1154', 90053235, N'11807466', NULL, N'72401630132', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 49', N'', N'', N'LOT 49 DISTRICT LOT 1658 KAMLOOPS DIVISION YALE DISTRICT PLAN 1154 EXCEPT PLAN H639', N'0163', N'0028', N'NO', N'ICF', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-04-10T09:45:25.000' AS DateTime), 36, 35, 0xBD0B000001040400000034D49A66A5643541485BB1FF663C2641B8490CA2A96435410012147F623C264162EE5A42A264354138D49AA6483C264134D49A66A5643541485BB1FF663C264101000000020000000001000000FFFFFFFF0000000003, CAST(1557090 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1557909, N'{3F654759-553C-4C73-8714-DB976237DFB1}', N'018462944', 853282, N'KAP50817', NULL, N'18462944', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOTS 234S AND 2467 SIMILKAMEEN DIVISION YALE DISTRICT PLAN KAP50817', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-07-30T15:07:37.000' AS DateTime), 207199, 2298, 0xBD0B0000010416000000ECFDD4185F0C3641D0992A98508D1D419A559FABE20A36419023B97CAC8C1D4196D40988BF0A364190AC8BDB87911D411B8C4AEABC0A36415044696FE4911D41CE915C5EB50A364180D85F76EF921D41CC293A92B00B36411006811564931D419E1A2FDDD00B3641502D219F25931D4170D71292D40B364150575BB165921D4174567D4EF10B3641C0B12E6E73921D4184734654270C364170BE9F1A74911D41E473B5958B0C36412000000081901D411371AC0B910C3641B0529621EC8F1D41B159F519A50C3641B0C9C342F48F1D419CB20C31CD0C364100295C0FE88F1D41897CD073E30C364160D6C5EDB38F1D41A8BDC157370D3641F0A679C7258E1D412475021A460D36419075719BE48D1D4174B515FB930C3641F0F44AD9EE881D4166D5E7AA760C3641C000DE82FC8C1D416CF08509740C3641B076BE9F598D1D41BB1E856B690C364140270F0B558D1D41ECFDD4185F0C3641D0992A98508D1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1557909 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1559067, N'{09FB4A58-6CB6-4344-8C25-A948217CCEE6}', N'007774966', 848253, N'KAP20608', NULL, N'7774966', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2019-10-29T00:00:00.000' AS DateTime), N'REM Lot 25', N'', N'', N'LOT 25 DISTRICT LOT 2922 OSOYOOS DIVISION YALE DISTRICT PLAN 20608 EXCEPT PLAN EPP94860', N'0163', N'0016', N'YES', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'0', NULL, CAST(N'2019-11-15T09:14:59.000' AS DateTime), CAST(N'2019-11-28T11:48:08.000' AS DateTime), 648, 189, 0xBD0B0000010412000000603255B0385136410048503C4B0C2241673BDF4F2D513641E0BCE3D44E0C2241FA285C8F1E513641302575C26B0C2241586888142351364140240DE4660C22413CDDB68927513641A09500CC610C224190CC2FEE2B513641906D217B5C0C2241CF2B3E4130513641E0C54AF2560C22417ABE2F823451364118BB6032510C2241603255B0385136410048503C4B0C2241452EFFC121513641302AA993950C22413A3CBD523A51364188E61DE7AD0C2241B09465684E51364150696F705C0C2241E0945B7447513641B8D56367670C2241EA18704A40513641B0E9FDCF710C224104467BED3851364140AF1BA67B0C2241F0846960315136413859D5E5840C2241C5583AA629513641B8D07E8B8D0C2241452EFFC121513641302AA993950C2241020000000200000000020900000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1559067 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1559893, N'{790A1A66-520F-4827-A7A4-922D553B7CAD}', N'023964120', 4236065, N'KAP59864', NULL, N'23964120', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-04-05T00:00:00.000' AS DateTime), N'PART 5146', NULL, NULL, N'THAT PART OF DISTRICT LOT 5146 OSOYOOS DIVISION YALE DISTRICT SHOWN ON PLAN KAP59864 SAID TO CONTAIN 571 SQUARE METRES MORE OR LESS', N'0163', N'0022', N'NO', N'SRW-COMPILATION', NULL, NULL, N'COGO', N'0', NULL, CAST(N'2018-07-04T14:12:58.000' AS DateTime), CAST(N'2020-03-03T11:15:27.000' AS DateTime), 571, 130, 0xBD0B000001040600000081D93DF9C6473641F831E6EE04032041A9DFBEEEED473641905DDCC6C5022041A5E848EEEB47364108560E2DC102204145D8F0F4F1473641801D3867B7022041845149FDC64736414005A3D2D502204181D93DF9C6473641F831E6EE0403204101000000020000000001000000FFFFFFFF0000000003, CAST(1559893 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1560535, N'{88D54046-51EC-4F54-9470-F6AF21065906}', N'007428251', 118430, N'VIP1397', NULL, N'7428251', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 28', N'Block 1', NULL, N'LOT 28, BLOCK 1, SECTION 33, VICTORIA DISTRICT, PLAN 1397, LYING WITHIN THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:25:03.000' AS DateTime), CAST(N'2021-03-23T07:29:13.000' AS DateTime), 380, 78, 0xBD0B000001040D0000005C9FABAD413A3241108E75712E93174136DF4F2D303A324100DAAC7A5A931741D24D6250353A324190A089306C931741BDA8A48E3A3A3241401DC9657D9317413E8B6CE73F3A3241602BF6178E931741304CA64A4E3A324180FEB27B68931741BEC11766483A3241D011A5BD4393174116DC2044473A324150965E41409317416D3E7123463A3241C0677CBE3C9317419F510B04453A3241C006063539931741BC7BF1E5433A3241800203A535931741222026C9423A324130F67A0E329317415C9FABAD413A3241108E75712E93174101000000020000000001000000FFFFFFFF0000000003, CAST(1560535 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1561875, N'{F8EA0DB6-5B19-4A95-88B5-351A713FE5F7}', N'004603052', 649562, N'VIP13632', NULL, N'4603052', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot A', N'', N'', N'LOT A, BLOCKS 43 AND 43A, COMOX DISTRICT, PLAN 13632 EXCEPT THAT PART IN PLAN VIP67858', N'0163', N'0027', N'NO', N'ICIS CADASTRE', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2021-06-16T08:05:33.000' AS DateTime), 6117386, 24967, 0xBD0B00000104C7020000831D38E7E1422F4140302A6999882041869ECDAAE9422F4118287E4C8B8820417E9ECDAAF1422F415888635D7D882041E63FA4DFF9422F41803F359E6F882041B525E44302432F41F8A9F112628820419C3C2C140B432F41904082E2548820417C48BF3D15432F4130166A8D4888204101A3927A20432F41408B6CE73C882041F451B85E2C432F41B09F1AAF318820410400008038432F41F0D24DA2268820416CD7127244432F4190499D801B882041A85E29CB4F432F411895D4091088204196F6061F5A432F41C0FEB2FB038820414413610363432F41F8CE6615F787204102F016486A432F4170204131E98720419731772D71432F41003199EADA8720415BB1BFEC77432F41F8E5AE65CC872041ADC8767E7E432F41508B6CA7BD87204180E2C7D884432F413890A0B8AE87204137211FF48A432F4140D1919C9F872041F52631C890432F41582CD45A908720413FDF4F4D96432F4128C7BAF8808720415A1058799B432F416891ED7C71872041B213D044A0432F4160C3D3EB61872041EE2FBBA7A4432F4118166A4D52872041C2749398A8432F41901D38A74287204130A91310AC432F4130B6F3FD32872041DC938705AF432F4108BE3059238720415D325570B1432F41C8DA8ABD13872041F1384547B3432F41287C613204872041771B0D60B4432F4158B1BFACF48620419AC64B77B4432F4180847C10E5862041E1F97EAAB3432F41782D215FD5862041394ED111B2432F4128D1919CC5862041F695B2CCAF432F41C8CCCCCCB5862041724694F6AC432F4138FC18F3A586204164B1BFACA9432F41F804341196862041A35E290BA6432F4130D6C52D868620417F0D4F2FA2432F41404CA64A76862041EA7C3F359E432F412055306A668620412A7E8C399A432F41C0976E9256862041A699995996432F41688104C54686204121A089B092432F4108143F0637862041C898BB568F432F417019E258278620416DD712F28B432F41605986B817862041091B9E5E88432F41E8E4612108862041936588A384432F41D0BB0592F8852041FFEF16C880432F416870CE08E9852041DDCEF7D37C432F4120A69B84D9852041569621CE78432F4160931804CA852041EC5A42BE74432F41C8DCB584BA852041098C4AAA70432F41D06F5F07AB85204176BE9F9A6C432F41A89465889B852041DD61A19668432F41C85D4B088C852041DDAE25A464432F4140B81E857C8520415EBA49CC60432F4130363CFD6C85204145CF66155D432F41588D976E5D852041645DDC8659432F4100BE30D94D8520416754522756432F41D06B783A3E852041512EFF2155432F41109E5E2939852041762497FF52432F410085EB912E85204196A9821150432F41D088D2DE1E852041D4A3703D4D432F4198D2DE200F85204196ED7C7F4A432F4130BE3059FF842041F4065FD847432F41B8825189EF842041045F984C45432F4198A0F8B1DF84204189E4F2DF42432F41D8CEF7D3CF842041CAAACF9540432F4188B20CF1BF842041EF0DBE703E432F4190CB7F08B08420415CA1D6743C432F417888631DA0842041C6D32BA53A432F4108E9B72F90842041FD5C6D0539432F41D07F483F808420416119E29837432F4108728A4E70842041098A1F6336432F41F82CB25D60842041ADAF036735432F41D0B12E6E5084204122B072A834432F41080000804084204143B4C83634432F41104FAF9430842041D0E76A6B34432F4130643B9F208420411F5A643B35432F41789CA2A3108420411FA7E88836432F41C064AAA000842041817CD03338432F41D819519AF0832041DEACFA1C3A432F41D0F21F92E0832041DD8AFD253C432F41D039238AD08320416044692F3E432F4158A60A86C083204115BE301940432F416026C286B0832041DCA59BC441432F4108CD3B8EA08320419F4E401343432F41B0ADD89F90832041E19C11E543432F41104850BC8083204149E3A51B44432F4108F9A0E770832041EC73B59543432F41301CEB22618320419DC420B041432F41C8EEC98351832041550E2D323E432F4178AA6014428320411B95D48939432F41888104C532832041A5779C2234432F415027A08923832041EBB0506B2E432F41F097DD5314832041643BDFCF28432F41507424170583204147A4DFBE23432F4100DD24C6F5822041242FDD641F432F4150863856E6822041E80DBEB01A432F418806F0D6D6822041625452E715432F41983A014DC7822041F685C99411432F4190218EB5B7822041BBCAA1450E432F412097FF10A882204155B81E850C432F4120E4835E98822041D8839E8D0C432F41201AC09B8882204177006F410D432F41009487C578822041A4C420700E432F4110F775E068822041EE285C0F10432F41600E2DF258822041B260541212432F41D07F48FF488220415A44696F14432F41083B700E398220419387851A17432F4190537424298220416F029A081A432F417026C24619822041E17A142E1D432F41A8FE437A098220418CDB688020432F41086F81C4F9812041857CD0F323432F41F8C2642AEA812041B403E7CC27432F41C00E9CB3DA812041A3E8482E2C432F41D075715BCB812041D6915CFE30432F41209BE61DBC8120413389412036432F41106A4DF3AC81204116C7BA783B432F41B0F3FDD49D81204145FAEDEB40432F41D0B584BC8E81204138AD695E46432F412841F1A37F812041BAFC87B44B432F41C0CAA185708120412673D7D250432F4160D0B35961812041F051B8DE50432F414850FC5859812041B04FE2A850432F416050D9584D812041D45CDEA850432F41B8903D5841812041C679ACDE50432F41086D1A5835812041686C484A51432F410838615929812041D8C0A9EB51432F414827035D1D812041F1C9C3C252432F412841F16311812041623255B055432F41307E8C39E18020413020B1AD56432F414048EA46D18020411D0EAF2158432F41889A605DC1802041FE69FE0B5A432F4128C26180B18020410D01356C5C432F41F8545DB3A18020414617CF415F432F416872BFF99180204186832F8C62432F419806F05682802041A8040FFC64432F4128DAAD8977802041EE9E2E8967432F41F8CB2EC36C80204177917B336A432F41A010C20362802041FD44E2FA6C432F4130A9B64B578020413E4C4EDF6F432F41685F5B9B4C802041C664AAE072432F4170C5FEF241802041D667690076432F41D84A32AC37802041EFE2289079432F4150E4158A2D802041E9053C8E7D432F41A8A16D91238020411D1DC2F881432F417013EAC6198020416173A7CD86432F41E815262F108020412E4CA60A8C432F41D0A8A4CE06802041C62EAB4991432F41E837E3C6FE7F20415E7B4B4997432F41B048B94AF77F204109311EFB9D432F419804226CF07F2041983A0E4FA5432F41000C9E3BEA7F204131118133AD432F4118D20BC8E47F204128068195B5432F4130E4831EE07F2041EB077F44C2432F4100D0E56FDA7F2041CEE4A644CF432F4180C20586D57F20413C05108ADC432F41C8F16365D17F2041A4619208EA432F41B03EC811CE7F204113A5D1B3F7432F41B8BB3E8ECB7F2041CC7F487F05442F41B0E314DDC97F20410133435509442F41B8D270ABC97F20414494792C0D442F4148D7D5B1C97F20411AB8B90111442F41D89F3EF0C97F2041BC54D3D114442F4120417766CA7F204173699A9918442F4100631D14CB7F2041AFE1E9551C442F413090A0F8CB7F20411FD3C69421442F416047D982CD7F2041F59419CB26442F4158A91229CF7F2041E4AE4CF82B442F41E8691DEBD07F204161AECB1B31442F41701FC7C8D27F2041FE36033536442F411048DAC1D47F2041391361433B442F41884F1ED6D67F204183B8285640442F4198859FE4D87F2041FA826B7945442F4130E87CC8DA7F2041C12EC3AB4A442F4168AA3281DC7F2041225CC5EB4F442F4180C0480EDE7F204192F2033855442F41D800536FDF7F20414C840D8F5A442F411041F1A3E07F20416FEDB4BA6D442F41888E7636E37F2041DC227B0481442F41A87DBCA8E47F2041E2CF755B94442F41A0557EF9E47F2041590BAFAEA7442F41E8437528E47F2041203734EDBA442F41D89A5836E27F204133DD2406CE442F41282FDD24DF7F2041D291FDC7DD442F4190D7882CDC7F204157059888ED442F41988DA32DD97F20412F7BF147FD442F4118D72D28D67F2041323707060D452F417039281CD37F2041587DD6C21C452F41B03C9309D07F2041D4915C7E2C452F4140696FF0CC7F204149EC2FFB2F452F41D0D6346FA67C20418865886355482F4128F6975DB47C2041157A366B5C482F4180EB51F8207B204185832FCC314A2F4158863816297B2041721B0D601B4D2F41486C78FA357B2041A8BDC157144D2F41502EFF61C97C204146674469CB4D2F4148DF4F8DCC7C20413C355EBAD94D2F410096B2CCCC7C2041BE490CC2E04D2F41788CB9EBCC7C2041BE5B2081094E2F41D83FA49FCD7C2041B01C5AA4094E2F41B8ADD85FCD7C20417C0D4F6F4B4E2F41C89F1AEF557C204196FD65377C4E2F419020B072927B2041CA32C43152512F4150F5B95AB7792041FBD47829A7512F41D8D634AF54792041A85E29CBBE512F4150BD5216377920413B136183C3512F4148B4C8F6EA7720411A7502DADB4F2F41F8285C4FE0772041E5F97E6AE54F2F41A8A0F8F14C7620411E73D71255522F41703BDF8F53762041146822ECD0512F41A059F579A57420415B29CBD09C512F41B08D06F06573204137871619FD512F41E0F44A991F732041B603E7CC25522F41B0D32BA5E6712041DFE00B93A5512F41585452E7CD712041A133A2F44D512F41F82631C83972204181C9540112512F416060E5D0BF7220415A3255F0EC502F418895438BAF722041FB31E6EE83502F41900F7A36A9712041BB749318A9502F415829CB108B7120413AB4C8B6D84E2F41E0B7AFC37D712041EA51B85EC14E2F41C0E3145DAC742041E37A142ED14C2F41C841CF269E742041084850FCB94C2F41E0E00B93C77720419A4C154C244B2F41F0FC87F4BB77204129E6AEA52C4B2F4110A7E888987620416F711BCDAF482F4140D191DC957620417914AE4752482F4158C3D36B5D772041BF96904FD6472F4198218EB5BC77204102F01648AC462F412064CC5DC4772041F173B5156D462F4128C05BE0D177204130E6AE654B462F41082E90E055792041F5EBC0F995452F41C8DEE00BB2792041346EA34194442F4110F9A0276C792041A233A2F4CE432F41B09C11A5D579204108FBCB6E5B432F41787CD0B3F1792041E2A59BC4A8422F41406EA3816A7A2041235A643B7D422F4170575BF1877A20419BE61D6765422F41D075715BC97A20412DBB278F3C422F41B022DB79397B2041C186A7972E422F41B00E9CB3347B2041076F814495412F41E002094A007B20412A6EA34189412F4140E8D92C337B2041DBF21F5287412F41485227603B7B2041536B9AF77E412F4158CA32C45E7B2041234A7BC375412F41B8490CC2857B204135B29DAF77402F41900E9CF3757B204165AA60D455402F41F03D79D8737B2041728A8EA4AE402F41B0605452047C2041776FF045BE402F41B0ED7CBF1D7C2041F241CF667A402F41606744E9187C20419E5E298B4A402F41A06D3480157C2041F341CFA64A402F41707346D43B7C20416F4694F64A402F4158B1BFACB07C2041FB187397B83E2F41188048BFB17C2041D76F5FC7BA3E2F41E010C73AE67F2041E4361A40143A2F41881D3867E97F2041F5E461610F3A2F41F01DA7E80D832041B96D3440DC332F4138DF4F4D0483204120166ACDDE332F41E0915C3E5E8120416DC5FE72E3322F41307958285D812041E4718A8E05312F41587424175B8120417F7CD0F3F4302F41201FF4AC618120418E06F01643302F41C0627F198C8120419A01BC45A32F2F41B0A0F8B188812041BF8F31771A2F2F4140FF21FD728120410D7A362BD62E2F41807AA5AC58812041DE02094AB22E2F41A84AEA8458812041B19DEF67AB2E2F41206D567D588120414A840D0F0E2E2F41C09690CF57812041AD2E6E23A32D2F41B09ECDAA56812041D748A49F912D2F41E8E95D394D812041DF42D077802D2F41D034A12443812041B4FBE3B16F2D2F41E8C71570388120413065AF535F2D2F41904C711F2D8120413A80DE624F2D2F4180849F3621812041FF65F7E43F2D2F4100ECC0B9148120414740D1F1312D2F4128B0395109812041903A825E242D2F4120DB4777FD802041DB08A42E172D2F41F012102FF180204159FFB5650A2D2F41A83BD47BE480204173251C07FE2C2F41409CF260D7802041764F1E16F22C2F4148F7E4E1C9802041DC59EE66ED2C2F411045D46AC380204191AE70EEE82C2F4130DB7ACDBC802041DEEFDDADE42C2F41F049A70BB6802041B4795FA6E02C2F41D8173227AF80204186100FD9DC2C2F41C841FD21A88020413F94F646D92C2F4148B6F3FDA0802041B81A8495D32C2F41184C4397958020418A62C690CD2C2F41B85EAC5B8A8020412462033AC72C2F41104C8F4D7F802041346A9292C02C2F4190D2426F74802041FCDCDB9BB92C2F41209313C36980204126E25857B22C2F419095434B5F8020414BD2B0C0AC2C2F4118071FDC56802041DA0CE616A72C2F41A8CCC7794E80204100E5155AA12C2F4130506924468020417C105E8A9B2C2F4148B82EDC3D802041C0A6DCA7952C2F41E0E742A135802041BA20B0B28F2C2F41887CD0732D8020411052611D8A2C2F41B8DDED1126802041503D2956842C2F411053D9D61E8020417376155E7E2C2F41F834E4C317802041E6783C36782C2F41208D58DA10802041AC74BDDF712C2F41D8D7781B0A802041381AC05B6B2C2F4168CB7F8803802041F628AEF2662C2F4178930D89FF7F20411220EA53622C2F41A0262AC8FB7F20419E31EA825D2C2F41E878A548F87F20410C334A83582C2F4130831E0DF57F204107E9C858532C2F41204E0118F27F2041ED3845074E2C2F41C01E856BEF7F2041A2C67630442C2F4188D88500EB7F2041D2251C353A2C2F41F8FCB7EAE67F20412EBF1618302C2F410057492BE37F204190B251DC252C2F4190C44EC3DF7F20415BFFC0841B2C2F4128E7C3B3DC7F204163AA6014112C2F41B8DA8AFDD97F20416DFA6110102C2F41488B2FCFD97F2041ECFB5F0D0F2C2F419037999BD97F2041409E750B0E2C2F41D83DCD62D97F2041B0B3BD0A0D2C2F41A085D124D97F2041BFEE520B0C2C2F41E080ACE1D87F20413BDF4F0D0B2C2F41C82B6599D87F2041EB51B81E782A2F41B803E74CD47F20418C5CFEC37B2A2F41D866D5E7777D2041D6B359357C2A2F4160BC7493327D20411FC28627742A2F41081CEBA22D7D2041511E16EAC8292F41C0073D1BC77C2041FA4C84CD91292F41A8C42070B07C204173BE9F1A6B292F41B8B12E2EAB7C2041EF4A5946EA282F41D878E966AA7C2041428B6CA7EA282F41D056ECAF6B7C2041407958E8D1282F41B0802682617C204191900F3A15282F41F0E46121207C204129FF21BD85262F41788FC275A27B20419B4C150CCB252F41B042AD29617B20416F6FF04588242F4118C9E57FFC7A2041D712F2816F232F41E0BE0E5CC57A20419E01BC05EC212F418048BFFD777A2041A7559FABCA1F2F41D032C431FA7920415D4469EF5A1C2F410098DDD30A7E204127E258D7B71B2F4128CB10C7F97E2041DFD78133B71B2F41003D9BD5147F204100098A5F0E1F2F4140257582147F20414272F9CFA7232F41B83B4E11147F2041193108ACA7232F4130651922237F2041B4946508A6232F41A8BAB88DD37F2041746FF0C5A4232F411085EB515B802041B647E1BAEA232F4128C9E5FF9E80204123E4835E33242F41D03B4E519F802041A3F831669B242F4198EFA7C69F802041CB915C7E36252F41100F0B75A0802041DC02090A36252F4108728A0E0B8120412641F1E335252F41A02D215F2E812041CBF7532335252F41408B6CA7DE812041E4AE25648C252F41003C4E11338220411A7C61F2DE252F4180567D6E3382204162EE5AC2FC262F41A8C420B034822041298716D974272F41A8B4373835822041280DE0AD9F272F4118B07268358220410634117659282F41B8A2233936822041403EE8D957282F41101FF4ECAF8320416F006F8157282F41F80DBE7001842041484547F256282F4148A7E8C883842041056F81C4632D2F41B0E995B2FE8620417814AE07732D2F41C8EEC9C3FE86204162863856AC2D2F4180931804FF8620419DE848AEB72D2F4180F2B010FF8620410F363C3D0B2E2F417044696FFF862041BBDCB584C62E2F4130CAC342008720418D6CE7FBEA2E2F412831086C00872041042B8796ED2E2F41F068006F0087204180F2B050FB2E2F4180FF907E008720411CA7E888F62F2F41D8073D9B0187204167A1D6B4FC2F2F41209C33A2018720418E0F7AF62F302F415051DADB018720412F3333732F302F41F8D5562C7987204191A0F8712F302F4160499D407A87204189635D9C2E302F41A88BDBE83C88204105DE02892E302F41283A928B4E882041BDDCB5C42D302F4108F01608018920418B900FFA45312F41382653851F8A20415E5452A7BF312F4130A5BDC11B8A2041BFBAB84DBF312F4148355E7AC78920412673D712BF312F41C8088A1F908920412241F1E3BE312F410054E3E563892041022B87D6BE312F4170CD3BCE568920414DDA1BFCBE312F4180E3149D46892041F297DD93C0312F4190E4F2DF958820417DA52CC34E392F41F0D6A3709E882041974160254E392F4100D42B652D89204172B515FB4D392F4168FF90BE53892041890F7AB64D392F410857ECEF9189204175BE9F1A4D392F41F0E53F241F8A2041DF4F8D174D392F4188234AFB218A2041BF1E85EB4C392F41486EA3014A8A2041CB12F2C14A392F4168FE433A3E8C2041B0C876BE4A392F41200EBEB0418C2041C66B09B94A392F4148C286A7468C2041DD141D494A392F4188CA32C4AB8C20413A355E3A4A392F413075021AB98C2041E8D781F349392F4160A0F871F98C2041B9DCB58449392F4180900FFA5D8D20412B65196297392F4148F163CC5E8D2041B9FC8734D63A2F41D00B9329628D2041F91AA0C2D73A2F41B08836B75A8D2041F718F956D93A2F4178102B46538D204173D991F1DA3A2F41A0E375D64B8D2041923A6992DC3A2F41B8411C68448D204141167E39DE3A2F41D06823FB3C8D2041EF41CFE6DF3A2F41C896908F358D20416D9BDE08E23A2F41886152DA2D8D2041572CCA4DE43A2F4140150F2F268D2041124F63B5E63A2F41D056648E1E8D20414E95783FE93A2F4130F2EEF8168D2041C7CBD5EBEB3A2F4140CC4A6F0F8D204164FE43BAEE3A2F4148D712F2078D2041189308AAF03A2F4188A8D97F018D204195729A7DF23A2F4148B36A05FB8C2041D7D6D634F43A2F41684E4183F48C20412C159DCFF53A2F41E063D9F9ED8C2041F7A0CE4DF73A2F41A867AF69E78C20417B0D4FAFF83A2F41784E40D3E08C2041E83D36F8FA3A2F41E82A4427D78C20417A4555E9FD3A2F4110B428A9CD8C20419B8E227F013B2F4138FA5764C48C2041047F4EB5053B2F41E828F763BB8C20418FA6C8860A3B2F411821D9B2B28C204147D6C5ED0F3B2F417875715BAA8C20412C2F5648183B2F4140E768349E8C2041AA677602213B2F41488A4651928C20414503FF192A3B2F41A88EF9B4868C2041B276B18C333B2F41C0A75F627B8C2041EFB538583D3B2F419058445C708C20417CC7297A473B2F41884160A5658C20419B7A3EC64C3B2F41C014E184608C2041C0AF5859523B2F416047FAB15B8C2041A461092F583B2F4138018230578C20417995AC425E3B2F41E0A60D04538C2041610B6D8F643B2F4178FFEE2F4F8C2041F21648106B3B2F41D08F31B74B8C204112A543527B3B2F41004F28EC438C204115E8E9CC8B3B2F41200BEC9B3C8C2041908E9B7C9C3B2F41B84F18C8358C2041649EAD5DAD3B2F41384E2D722F8C2041A7426A6CBE3B2F41B08C8F9B298C2041DA9C11A5CF3B2F41C8938745248C2041ED9EC4A8D83B2F41A8C689B9218C2041F6BF5EBAE13B2F413098ED601F8C2041D52BBBD8EA3B2F4100CAFE3B1D8C20414A72B302F43B2F413899024B1B8C204151AC1F37FD3B2F4178B5378E198C20415FA1D674063C2F417838D605188C204189D894BF0D3C2F418002CBD8168C20417500CB08153C2F4100D366A2158C2041951D6D501C3C2F4198A8AB62148C2041FA366F96233C2F4120919B19138C20416656C5DA2A3C2F41B0A938C7118C20415A88631D323C2F41B01E856B108C2041CA4F2D3D393C2F41483131FA0E8C20411366AE52403C2F41D0CF49590D8C20410E22A95C473C2F41900118890B8C20416CDFE1594E3C2F419815ED89098C2041E6351F49553C2F412896225C078C204149302A295C3C2F41D8361A00058C204146953868603C2F41882A811C038C20418507238F643C2F41A085EE05018C20419E04869B683C2F4150D495BDFE8B20415F4D0D8B6C3C2F416045C744FC8B2041AF3C755B703C2F4188E8EE9CF98B20414B158C0A743C2F4188DD93C7F68B2041376539C0773C2F4128C0E6CBF38B2041305E84777B3C2F41B8293DD2F08B204146E86B307F3C2F4190FA97DAED8B20414BEBEEEA823C2F41C012F8E4EA8B2041554E0CA7863C2F4168505EF1E78B20412BF8C2648A3C2F414092CBFFE48B2041ED5289878C3C2F41C058756AE38B20413D5E7FB38E3C2F4178F2D0E1E18B204143AA59E8903C2F41A8A61366E08B20413392CB25933C2F4190FB70F7DE8B2041FF46876B953C2F4190B01A96DD8B20417CD93DB9973C2F4158B74042DC8B204162DB5CA89A3C2F41A060B1BDDA8B2041ACA5E1B59D3C2F41601B997AD98B204184CA1ADCA03C2F41E06E527BD88B20413ECA2815A43C2F416069B9C1D78B2041C006095BA73C2F416028284FD78B204117F9A0A7AA3C2F4190537424D78B2041F4F8400FAE3C2F4128122F1FD78B2041FC486976B13C2F41801E2802D78B20418E2E74DCB43C2F41D8FD64CDD68B20412F25BC40B83C2F4170BAEF80D68B204142FE9BA2BB3C2F4120DFD61CD68B204172006F01BF3C2F4130772DA1D58B20414C50D04EC73C2F410083BDBAD28B204105EA3671CF3C2F41207F2263CF8B2041A87B9D62D73C2F4190B5D59CCB8B2041E5F7221DDF3C2F41B85EA26AC78B2041F3EF0E9BE63C2F418890A3CFC28B2041B4CFD5D6ED3C2F4138F241CFBD8B204142C267CBF03C2F41E09EE740BB8B20418C5A579EF33C2F41C8AF928DB88B2041726CD64DF63C2F41481DFDB6B58B2041D5732DD8F83C2F41B067F7BEB28B2041BCADBC3BFB3C2F41387167A7AF8B20410622FD76FD3C2F4138454772AC8B204191498C65013D2F4188065C46A68B20413F0B3D27053D2F412824BCFE9F8B204121514CBB083D2F41D8BBAD9C998B2041214700210C3D2F4168487C21938B20415780A8570F3D2F41285E788E8C8B2041131B9E5E123D2F41F065F7E4858B2041A8EF0E0B193D2F4180611C27778B204144BA9B5E203D2F41F86075B9688B2041432D8355283D2F41D08D67A35A8B2041EA40B0EB303D2F41B82C2BEC4C8B2041274BBC1C3A3D2F41D8E6C79A3F8B20412641F1E3433D2F41003411B6328B2041EDB9D5554A3D2F41B85E22172B8B20413D7ACD39513D2F4138B0B3DE238B20410C9C7D89583D2F41A8F46D131D8B2041BADF273E603D2F41784B95BB168B204131E4B050683D2F41E05E03DD108B204113B5A6B9703D2F4138FF217D0B8B2041EC3E3A40783D2F41A0FA9CFE068B20419B5CA1F97F3D2F413069D3D9028B2041F3E1AEE1873D2F41D8DA0211FF8A2041CB691CF48F3D2F41B02437A6FB8A204172A58C2C983D2F415046499BF88A2041C8B88D86A03D2F418069DEF1F58A20418287CFAEA33D2F4118205018F58A2041633B38E1A63D2F41501CC468F48A20414146991BAA3D2F41A02DB2E3F38A204168A9BE5BAD3D2F41B8257589F38A20419476709FB03D2F41989A4A5AF38A20418C5374E4B33D2F4138BD5256F38A2041CC6921ACB83D2F4190FC3E97F38A2041EF10B672BD3D2F4150CC47EAF38A2041D6A9ED37C23D2F41D883684FF48A2041C5A883FBC63D2F41F8759BC6F48A2041AE9933BDCB3D2F41B0F1D94FF58A20419E23B97CD03D2F4120431CEBF58A2041FA16AEBFD73D2F4148376999F68A2041D6F2B40ADF3D2F41E06814ABF68A20411123A150E63D2F4150EEFD1FF68A2041DB4B4F84ED3D2F41300621F9F48A20416305BD98F43D2F41A8539238F38A2041BC5B2081FB3D2F41D81B7CE1F08A2041233AE6C90B3E2F41A09DB8B0EA8A204135DF71C81B3E2F41F8CDFFC8E38A204113E1BC742B3E2F41489FC82DDC8A2041E11AEAC63A3E2F416812E4E2D38A2041E39E49B7493E2F41004D7BECCA8A2041D3915C3E583E2F4150840D4FC18A2041ECB6BBC45E3E2F41B077A6AFBC8A204177E3613A653E2F410095FDF8B78A20416233FC9E6B3E2F41D8584F2BB38A20414B9D38F2713E2F41F866D946AE8A2041ABF6C533783E2F417887DA4BA98A2041CEF753637E3E2F41E8A2923AA48A2041C83AA894853E2F410868B13A9E8A20416DC25BC88C3E2F41905CA93D988A2041FF6D6DFE933E2F4160707B43928A20415E1CDC369B3E2F410893284C8C8A2041FEABA671A23E2F41E0B3B157868A204115FBCBAEA93E2F41E8C11766808A20417EA1F06FB03E2F41D8ED2DC77A8A204117AB2B1CB73E2F418020800F758A2041214C22B3BD3E2F41E8245C3F6F8A20415CDA7A34C43E2F4188141157698A204188D1DC9FCA3E2F41B850EF56638A20413AD8F0F4D03E2F41E87F483F5D8A20414BC0334CD63E2F4108561841588A2041BDEE69CCDB3E2F4190132B70538A204174011474E13E2F410062D0CD4E8A204188D8A741E73E2F41103D4B5B4A8A2041E0019133ED3E2F41189AD119468A2041EF263148F33E2F4150158C0A428A20417136B88BF83E2F4178C98EFD3E8A2041B39CEF0DFE3E2F4168F272683C8A204116AB33C4033F2F41806C35503A8A2041EF2B7CA3093F2F41E0E8E1B8388A2041FEB071A00F3F2F41081C8BA5378A20414F7B83AF153F2F4138D04418378A20410DB1C56C1B3F2F4170AF99CA368A204190E7A829213F2F41704E3476368A2041F13B25E6263F2F418821151B368A20410ECC32A22C3F2F41C0A53CB9358A204135B6C95D323F2F41D061AB50358A20416419E218383F2F41F0E461E1348A2041068349B43B3F2F41B08D8779348A20413CB32B453F3F2F41285306CC338A204151AA49C6423F2F41D075DDD9328A2041979A7B32463F2F41783771A4318A2041CA7DB884493F2F4160CE882D308A2041C47D1DB84C3F2F4190C64B772E8A2041DD240641513F2F41382FDDA4298A20414894FEC6523F2F41C007A9AF258A2041A8E1CDF2533F2F4160AD379C218A2041802B27C2543F2F41B0A28A721D8A2041DD2C7333553F2F41D014CF3A198A2041835CD345553F2F41E0CD4DFD148A2041A8A223F9543F2F4168EE5AC2108A204154A169BD543F2F41406E3FD40D8A2041C72ED273543F2F41709D5FE70A8A204175BD631C543F2F41B815FDFB078A2041F6F525B7533F2F4140505912058A2041CBB62144533F2F41E09EB52A028A20413E1361C3523F2F4118265345FF8920418294A2FD513F2F41389787CBFC892041602E60F9503F2F41D86BBD68FA892041A29638B94F3F2F4140B21A23F88920410BDE64404E3F2F4100577A00F68920410222B0924C3F2F41B80D5D06F4892041CCC56DB44A3F2F41C822DB39F28920419FE43D9D483F2F4138023F64F0892041F729729C463F2F41E8954876EE892041D9FB25B3443F2F4138DB0871EC89204182C367E2423F2F41F8AD9D55EA8920416258382B413F2F41A82A3125E8892041DB718A8E3F3F2F417009F9E0E58920413B15914A3D3F2F41807972FCE08920416B565B763B3F2F413087FFE9DB892041E0C07F153A3F2F41C08593B3D68920413093B22A393F2F41885B6863D1892041DE70C0B7383F2F417871EA03CC892041C4DA8ABD383F2F41E83FA49FC68920413D9D59B53A3F2F41F09EAAC6BA892041B998D3013D3F2F4198DEF9FCAE89204106D482A23F3F2F4158F5EE44A38920411874E096423F2F41D850E3A09789204190D754DE453F2F41385C2C138C8920419CB43778493F2F4198081B9E8089204122736EA24C3F2F41900C5B6B76892041A0C84A3F503F2F41C8FAFB5E6C8920412093FD4C543F2F41A0F6057E62892041A52F7FC9583F2F41A8666BCD588920411A7E90B25D3F2F41387A06524F892041A601BC05633F2F4198BB96104689204147E0E98A663F2F416867BB9A3F8920415F6BB5206A3F2F41D8BF092E3989204103CA06C76D3F2F418880ACCA3289204162B5C57D713F2F416827CE702C8920419179D944753F2F4170F3982026892041C0F5281C793F2F41C0E236DA1F892041EC64E87A7F3F2F41E89A9CF014892041CD78F541853F2F412886D0B3098920417D05156D8A3F2F41B8710D2CFE88204139107EF88E3F2F410811C561F28820414B95DCE0923F2F4168CE995DE6882041D5F75323963F2F4168795828DA8820413166F3C5973F2F4110BEB2ABD388204183921B6C993F2F41501BF22FCD88204182FFCB159B3F2F41D07D18B5C6882041A72E04C39C3F2F4168D2273BC088204180A0C3739E3F2F41580522C2B988204192D40928A03F2F41E802094AB38820412D189594EF412F4160287E0CAF882041ACCFD5D651422F4150C807FDAE88204103DE02C9D6422F41A08AFDE5AE88204130E6AE65DA422F41604469AFA7882041831D38E7E1422F4140302A6999882041CF4D62D03C4F2F41705F078E377920418F75719B8D4F2F4140F7E4A1447920415F643B1FA24F2F41386EA3816C79204115F2418FDF4F2F41309E5EE969792041D8F21FD21D502F41001748108A79204163D5E7EAE14F2F41C0293A529B79204143B6F37DC14F2F41109FABADDE79204152BF7D9DA44F2F419879C769ED792041C944D870784F2F41500E2DF2EA792041C51E852B654F2F41B0D712F2C3792041AD35CD7B324F2F41A0081BDEB979204186C7293AFF4E2F418038D645BC792041F5D24D620C4F2F41F82631486A792041CF4D62D03C4F2F41705F078E37792041AE408262954F2F416828EDCD3D7820412B4CA64A544F2F4190E926711078204117BE3019744F2F41388941A0EF772041F6C9C302BC4F2F41A815FBCB45782041A079C7E9874F2F4118DBF93EEE78204194218EF5504F2F41801E852BC37820419F23B97C624F2F4168D5E76A69782041AE408262954F2F416828EDCD3D782041796ABCB4454F2F4100C8983BA177204138D8F0F42D4F2F4128386784827720414082E247114F2F41C0E61DE7927720416D24973FC44E2F41D820B0B287772041034D84CD9D4E2F41F897DD5396772041F69E3CAC764E2F41207E8CB9C177204117AC1C1A744E2F411895D449E777204198779CE20E4E2F4198EB51F836782041E9DBD7C1D74D2F4150B6F3FD887820411963EE5ACF4D2F4120CCEE09B5782041504013A1964D2F4128F8C2A443782041797AA52CC14D2F41F0B12EAE39782041D1D556ECC04D2F41504BC8C729782041CCDEE08B954D2F4150B6F37D16782041E661A1D6D34D2F41F0CEF75307782041B5C876FE924E2F41181FF4AC787720415105A3D2FB4E2F412871AC4BAC762041D1F753E3274F2F41502BF61783762041CBC56D74AA4F2F4110917EBBE27620415BEE5A02A94F2F414827A00926772041BD20B0F2724F2F41E89C11A55D77204110F9A0A75B4F2F4108B37BB292772041796ABCB4454F2F4100C8983BA1772041040000000200000000009A02000000A802000000B002000001000000FFFFFFFF0000000003, CAST(1561875 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1562098, N'{4E6F9B3A-8E0A-49DF-AE92-5754C1D30C28}', N'002909201', 117903, N'VIP877', NULL, N'2909201', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 18', N'Block 9', N'', N'THAT PART OF LOT 18, BLOCK 9, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:47:34.000' AS DateTime), CAST(N'2021-06-29T16:56:39.000' AS DateTime), 44, 37, 0xBD0B0000010405000000C698BB7689383241A047E17AE78C17417E8CB92B883832419029CB90D78C1741F1FDD4987938324140F38E53E98C17411D8E75117A383241701F636EEF8C1741C698BB7689383241A047E17AE78C174101000000020000000001000000FFFFFFFF0000000003, CAST(1562098 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1562099, N'{9215E558-CA44-4AE7-8BEB-93D72AFBF40B}', N'002910918', 117903, N'VIP877', NULL, N'2910918', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 15', N'Block 9', N'', N'THAT PART OF LOT 15, BLOCK 9, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:55:57.000' AS DateTime), CAST(N'2021-06-29T16:46:32.000' AS DateTime), 306, 71, 0xBD0B000001040500000001D578699F383241005F984C678C1741C09F1ACF90383241C02A1815798C17411AAE47C1963832415083C0CAC58C1741E4E99552A53832414095D409B48C174101D578699F383241005F984C678C174101000000020000000001000000FFFFFFFF0000000003, CAST(1562099 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1562322, N'{28A18705-0253-427F-B8C7-3988F882FDC1}', N'012387991', 7807237, N'KAP11H', NULL, N'12387991', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1988-02-23T00:00:00.000' AS DateTime), NULL, NULL, NULL, N'PART LOT 66 SHOWN ON PLAN H11 DISTRICT LOT 110 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 301', N'0163', N'0022', NULL, N'PMBC-OPERATIONS', 1, N'PMBC-OPERATIONS', N'UNKNOWN', N'0', N'1355', CAST(N'2020-10-28T16:36:13.000' AS DateTime), CAST(N'2021-07-21T09:00:05.000' AS DateTime), 1339, 455, 0xBD0B0000010405000000051973970F253641D01FD26FEE9C1D412897FF100F25364130EA04B4069D1D41F697DDB3EB253641B01283C0539D1D4181D93D39EC253641A086A7D73B9D1D41051973970F253641D01FD26FEE9C1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1562322 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1562810, N'{3D16785C-E919-4318-9B5C-5EBA22565280}', N'001637851', 3, N'NO_PLAN', NULL, N'1637851', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'', N'', N'', N'THAT PART OF SECTIONS 32, 33, 34 AND 35, METCHOSIN DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 4348I AND CONTAINING 10.98 ACRES MORE OR LESS', N'0079', N'0005', N'NO', N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:59:33.000' AS DateTime), CAST(N'2021-08-23T13:42:52.000' AS DateTime), 43980, 3243, 0xBD0B00000104B200000092B96B090008324130637F59E3D316414F6210F8F807324190E4F21FDCD31641524013E1F1073241D006F096D5D31641182FDDC4EA07324190ED7CBFCFD3164101780BA4E3073241E0BD3099CAD316419AF6067FDC073241C02FDD24C6D31641D1BCE394DD073241C0BB9690A8D31641AB57CAF2CF07324100CCEEC9A0D31641F21648D09107324150006F017ED31641946588A390073241402FDDA49FD31641F28E53D48207324130490C8298D31641A6A44E807B06324140DA1BFC04D31641536210B85E063241D0F528DCF4D21641BF0512742D06324140CAC342D9D216412A18953415063241C0C342ADCBD21641E0718AEE0F0632414035EFB8C8D2164189635DDCE5053241F03992CB1ED316418FED7CFFEA05324180567DAE21D31641A223B9BC1906324100D7A3F03BD3164140355E9AF20632417014AEC7B5D31641F263CC5D22073241304850FCCFD31641DFC7985B8D07324130A089B00AD4164187C954218C07324170CF66D52ED416410322FD76CA0732415094650851D4164133B29DCFD7073241C002098A58D41641039A081BD907324190D2DE6034D4164104098A7FDF073241B018735738D4164188DB68E0E507324110D5E7EA3CD416410E363C3DEC073241202CD41A42D41641B3EA7395F2073241E0AF03E747D41641CC54C1E8F807324120F2414F4ED41641CC98BB36FF073241E03BBD5255D41641B4BFEC7E05083241802041F15CD416416C09F9C00B083241B079C72965D41641F67E6AFC11083241B023B9FC6DD416416C2FAFD018083241F0CFF85B78D4164121F09D811F08324140502C1584D41641F838F00A2608324120EFD52091D4164157D178682C08324170B09F769FD416417F7B269632083241D0A7600DAFD41641B68D06903808324100D122DBBFD41641237117DB3D083241F029E41BD0D41641E715D0FF42083241906E2C1DE1D41641F40C7BFC47083241106455D9F2D41641913570CF4C08324120BD7A4A05D51641654A157751083241600A7C6A18D51641AF69DEF15508324190C5FE322CD5164171001B3B58083241E0A052B236D51641CCC531715A08324160CD7E7241D516415BD2AF935C083241B0A854714CD51641F03826A25E08324140D998AC57D51641481D2A9C60083241D0BF032263D5164187C954816208324180F241CF6ED516412A1FF91168083241D0FD073296D51641599932FC6C08324110200AF1BED51641F2F1B53A7108324180C664E0E8D516418FD7F0C874083241208BECD213D6164120DA0EA377083241C0DF5E9A3FD61641D58AFDC57908324190DD93076CD616416851AE657A0832416080C8AA88D616415D8D15E17A08324140AA3059A5D61641BDE126387B08324180BDEC0FC2D616416295D96A7B08324190471CCCDED61641FC9328797B0832416049DE8AFBD61641976E12637B083241E082514918D716414F2B593E7B08324110B6193C2CD71641140B31087B0832418063662C40D7164100A49CC07A083241D0CB431954D716410C619F677A0832418058BE0168D7164129823DFD7908324150ABE2E47BD71641D41B7C817908324130A5BDC18FD71641F2B0504B7408324100DFE00BA5D816413F0AD7E370083241D09F1A2F5AD916414ED1919C690832416040A4DFDBDA1641E22D908063083241300C02AB1EDC1641F7EDEB8059083241C04603F828DE164134D49A065808324100C3642A76DE1641E2A59B0452083241500AD7A3B1DF16414A2EFF8151083241F0073D9BCFDF16418EED7C1F510832412075029AEDDF164112363CDD5008324190764F9E0BE01641F84A59C650083241203411B61FE01641009A08BB500832410079E9A629E016417DD93DB95008324120E9B7AF47E01641DF4F8DD7500832412010E9B765E016415B8638165108324140363CBD83E016419B2A187551083241905AD3BCA1E01641145839F451083241D0EA73B5BFE0164169BC749352083241602FDDA4DDE01641C620B0525308324120956588FBE0164192A0F83154083241E0D1005E19E1164106D7A310550832415047E17A33E11641D166D507560832411071AC8B4DE11641C186A71757083241C0DEE08B67E11641C876BE3F5808324170FEB27B81E1164101F775805908324130F54A599BE11641BB627FD95A083241B0E53F24B5E116415B302A895C083241F04B3709D3E11641267E8C595E08324160CDAACFF0E11641BC30994A60083241708FC2750EE21641BEF5285C6208324180226CF82BE216416F5F078E6408324120F46C5649E216413492CBDF66083241B028ED8D66E216417AE09C516908324180BE9F9A83E21641E4C039E36B083241B023B97CA0E21641E6D0227B6E08324150C3D32BBCE216416332553071083241603177ADD7E216414925750274083241D0240601F3E21641AF7268F176083241B00A46250EE31641FA75E0FC790832418006F01629E31641A913D0247D083241D0F3FDD443E31641A5ADD85F8008324190BC74135EE3164192C2F56880083241C0F5285C5EE31641460378EB98083241B0A223B92CE3164102098A7F960832418045B67319E316411FDBF93E96083241E0D1005E17E316415DEE5A229408324150B1BFEC05E31641A13C2CD491083241E09C1125F2E216414BD8F0948F08324110E4831EDEE21641728104658D0832411063EEDAC9E216416E8A8E448B083241803E575BB5E216412E2AA93389083241F0E461A1A0E21641DEE9953287083241F09F1AAF8BE2164165006F4185083241506FF08576E2164118C05B6083083241C0E61D2761E21641FA285C8F81083241D0BCE3944BE216418C16D9CE7F08324100A913D035E21641626DC51E7E083241A03E57DB1FE21641409B557F7C083241800FE9B709E2164104D7A3F07A083241408B6C67F3E11641363CBD7279083241901E85EBDCE11641FC53E30578083241E0A50A46C6E11641511E16AA76083241D06B0979AFE116418DED7C5F75083241406FF08598E11641D5F0F44A74083241909C112584E11641B95DD92A710832412075E3E93DE1164110497AC86E083241A0390538F7E01641422DEC246D08324150A77C2FB0E01641C815ED406C083241B0BD76F068E01641FA48E41C6C083241C029399B21E016416819E2B86C08324120A91350DADF16414850FCF86C083241C0B12EEEC9DF1641ECC039436D083241A0BB9690B9DF1641AAF1D2AD77083241304C370994DD1641769318048108324170D71272A7DB16418F976E5286083241D06800EF90DA16416FF0858986083241208195C387DA16415F5DDCC68F083241D05E984CA0D8164136F8C2C49408324180F2B05098D716419A4C15EC94083241503C2CD45CD6164113101A86940832410094E19452D6164105E4421794083241007A585B48D61641D0F8949F93083241E0780B283ED61641BFE8151F9308324100D074FB33D61641D3B7CB9592083241006E0ED629D6164155D3BC039208324180EB51B81FD61641476774718E083241108D36DBEAD516416DC038EC89083241602DF52AB7D5164129FC217A84083241D0C23CED84D51641BA8887227E08324120BCC86554D51641453FF6ED76083241D0AE05D625D516412DDD24E66E083241F023B97CF9D41641D60C74816908324160C568F2DFD416415A7EF9DE63083241A0F12141C7D41641FD9AD6005E08324150C63A72AFD416416A5A43E95708324180C9B38E98D416413E6C8D9A51083241C081349F82D41641DC5817174B083241403108AC6DD41641392BDEDB430832417048D17758D416412614D85A3C08324100F19DD644D416411F627F9934083241E074C2D632D41641B9577D9D2C0832412077628522D41641000AA66C24083241905C67EE13D416411E1FF40C1C083241509A771C07D416419006F0161508324140787A25FDD31641F1F44A190E083241403FC6DCF3D31641A033A2140708324110136143EBD3164192B96B090008324130637F59E3D3164101000000020000000001000000FFFFFFFF0000000003, CAST(1562810 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1562953, N'{CEB39B5C-2FE1-46B2-8B7C-CAFC8F1699D5}', N'012482013', 495453, N'KAP364', NULL, N'12482013', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 18', N'Block 74', NULL, N'LOT 11 BLOCK 74 DISTRICT LOT 710 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 364 EXCEPT PLAN H875', N'0046', N'0019', N'NO', N'MODIFIED-ICF', 4, NULL, N'UNKNOWN', N'0', N'0.0226', CAST(N'2020-05-15T11:14:16.000' AS DateTime), CAST(N'2021-08-31T14:37:38.000' AS DateTime), 0, 1, 0xBD0B00000104040000005E54522785693741606CE7FBC76D1D41C6EEC9038569374180B072E8C76D1D4108AC1CFA84693741D00DBE30C96D1D415E54522785693741606CE7FBC76D1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1562953 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1563630, N'{302014AF-9A68-44C7-A245-796688BBAFE6}', N'005673062', 472072, N'NEP740', NULL, N'5673062', NULL, N'5320355010', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 11', N'Block 3', NULL, N'LOT 11 BLOCK 3 DISTRICT LOT 267 KOOTENAY DISTRICT PLAN 740 EXCEPT PLAN NEP19552', N'0053', N'0018', N'NO', N'ICF', 2, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-10-15T10:48:56.000' AS DateTime), 358, 88, 0xBD0B0000010405000000B07268911F043A41B08026428B2B244170567D6E0F043A4118053411C62B2441233867C418043A4158C1A864D02B2441459D80E628043A4158863896952B2441B07268911F043A41B08026428B2B244101000000020000000001000000FFFFFFFF0000000003, CAST(1563630 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1563885, N'{07B4F218-58A6-46F6-BCE9-984B1632E89E}', N'016201949', 3191432, N'NEP647', 22521921, N'16201949', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'Block 10', NULL, N'LOT 5 BLOCK 10 DISTRICT LOT 2375 KOOTENAY DISTRICT PLAN 647', N'0163', N'0018', N'NO', N'PMBC-OPERATIONS', 1, N'LSA', N'COGO', N'0', N'334.4', CAST(N'2021-05-17T09:38:28.000' AS DateTime), CAST(N'2021-10-28T14:15:24.000' AS DateTime), 334, 91, 0xBD0B0000010405000000E19C114550843A41E0CCCCCCB11D20417858A8152C843A41D82FBBE7A61D20417ED0B3B92A843A41385986F8B81D2041366744E94E843A4130F697DDC31D2041E19C114550843A41E0CCCCCCB11D204101000000020000000001000000FFFFFFFF0000000003, CAST(1563885 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1564595, N'{0517D28B-21A5-47AB-B1A6-4E1926CCF652}', N'007398085', 6777, N'VIP1460', NULL, N'7398085', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Parcel 2', N'REM Lot A', NULL, N'PARCEL NO. 2 (DD 25155N), OF LOT A, DISTRICT LOT 79, NANOOSE DISTRICT,, PLAN 1460, EXCEPT PART IN PLAN 41577', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2021-12-08T14:50:31.000' AS DateTime), 452, 90, 0xBD0B0000010405000000816ABCB46943314130355E3AD9E51C41B2B662FF72433141D0B662FFA8E51C41B0FA5CAD5B43314120F7756061E51C41411CEBE251433141C0E00B1390E51C41816ABCB46943314130355E3AD9E51C4101000000020000000001000000FFFFFFFF0000000003, CAST(1564595 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1565525, N'{D89D8486-8016-4CE3-8945-5D9B501F33E3}', N'019206089', 488858, N'NEP4719', NULL, N'19206089', NULL, N'553632000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM PARCEL B', N'', N'', N'PARCEL B (SEE XJ8511) DISTRICT LOT 397 KOOTENAY DISTRICT PLAN 4719 EXCEPT PLANS NEP65684 AND NEP74864', N'0083', N'0004', N'NO', N'ICF', 13, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:34:33.000' AS DateTime), 4012, 247, 0xBD0B00000104090000007E734674682B384188E7FB29CFC122415DEE5AC2522B3841305A643B25C222416AB3EAB34F2B38417016D94E34C2224168DE71EA5A2B38417026C28655C222414E6B9A778B2B3841301CEB6262C22241F4A9F192982B384190FD65B707C2224144575B119E2B3841D0C56DF4DFC12241F431E60E692B3841402CD45ACFC122417E734674682B384188E7FB29CFC1224101000000020000000001000000FFFFFFFF0000000003, CAST(1565525 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1565944, N'{6180D3F7-B53D-4DF7-8815-E8CA5C316B37}', N'009092951', 487701, N'NEP16146', 90054498, N'9092951', NULL, N'00545.075', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'', N'', N'LOT A DISTRICT LOT 208 KOOTENAY DISTRICT PLAN 16146', N'0056', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:43.000' AS DateTime), 9805, 657, 0xBD0B000001042600000046B6F3BD35313941585227A019E62141363CBD926631394138D26FDFFCE52141E68C280D85313941B00C71ECEAE52141AF8BDB88B6313941284CA6CACDE5214149696F30B631394110A08970CBE52141FA3A706E9231394108B7D140CEE52141867CD05375313941A09BC4A0CEE52141BE36898E72313941B0F00885CEE52141103D19CD6F31394110CE04EFCDE52141CE4BC3146D3139414098D6DFCCE52141FDBEB86A6A31394108048459CBE52141B2A80FD467313941E838F65EC9E521410C1BB955653139417044F4F3C6E5214156B977F46231394158E21B1DC4E521415FA1D6B460313941D0ADD8DFC0E52141925CFE63643139418833A2B4BEE52141944EE887623139410822C5F8BBE521413CD326C960313941F8386AF3B8E52141DE168E2A5F313941600C77A9B5E52141FA24BEAE5D31394130604020B2E5214189A61E585C3139410886815DAEE521418DFCDA285B313941980F5367AAE521413ABBDE225A313941D0EF2044A6E52141938DD24759313941A810A0FAA1E52141E284199958313941A874C3919DE5214116D9CE175831394198F2B01099E52141162FDDE45331394108A8C68B6AE52141D845670652313941683AE7315AE521419829876F4F31394160C0D53D4AE52141105080254C313941881D00D03AE52141665A022F483139419057C3072CE52141DD7D1B944331394168D72B031EE521410A24285E3E313941F051B8DE10E521415E5452472831394190802602DEE421413C575B5108313941D0CAA18594E4214126871699F6303941604BC8C76BE421413E7958282D31394160431C2BDFE5214146B6F3BD35313941585227A019E6214101000000020000000001000000FFFFFFFF0000000003, CAST(1565944 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1566380, N'{C9DD6FEA-7B61-43BF-8DBB-C6E24BDCCAF2}', N'007428341', 118430, N'VIP1397', NULL, N'7428341', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 21', N'Block 2', N'', N'LOT 21, BLOCK 2, SECTION 33, VICTORIA DISTRICT, PLAN 1397, EXCEPT PART LYING TO THE SOUTH EAST OF THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:31:54.000' AS DateTime), CAST(N'2019-01-05T10:23:07.000' AS DateTime), 431, 91, 0xBD0B0000010407000000A5C64BB7B23A3241F0065F982294174158A8358DAF3A3241D0506B9A1C941741B3B6625F9F3A3241C0B8FC07FE93174116C05BA0953A3241403255B016941741E4A59B248B3A3241C0C5DC3531941741F22FBB679E3A32410001DE8255941741A5C64BB7B23A3241F0065F982294174101000000020000000001000000FFFFFFFF0000000003, CAST(1566380 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1566447, N'{B188F4F1-6B4C-4772-84F1-BB36642C5E20}', N'006030289', 133240, N'VIP4983', NULL, N'6030289', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 1', N'', N'', N'AMENDED LOT 1 (DD 393139I), SECTION 11, RANGE 1 EAST, SOUTH SAANICH DISTRICT, PLAN 4983', N'0016', N'0005', N'NO', N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:54:01.000' AS DateTime), CAST(N'2019-01-05T10:23:59.000' AS DateTime), 1819, 193, 0xBD0B0000010409000000297E8C59A9243241407E8C39EA541841FF87F43BA7243241B075711BEA54184128287E4C9824324130BB270F52551841182FDDA49A24324140B9FC87525518415FE5D082B5243241503EE8D956551841167C61D2E0243241A01C5AE45D5518411EC9E5FFE2243241F0C7073D5E5518417DD93DF9E3243241B0A982D1F1541841297E8C59A9243241407E8C39EA54184101000000020000000001000000FFFFFFFF0000000003, CAST(1566447 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1566625, N'{7FBBDF99-EEA8-4966-9901-53296753E3AA}', N'007428014', 118430, N'VIP1397', NULL, N'7428014', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 17', N'Block 3', N'', N'LOT 17, BLOCK 3, SECTION 33, VICTORIA DISTRICT, PLAN 1397, EXCEPT PART LYING NORTH WESTERLY OF THE NORTH WESTERLY LIMIT OF THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:55:56.000' AS DateTime), CAST(N'2019-01-05T10:24:05.000' AS DateTime), 449, 95, 0xBD0B000001040D000000E8E2361AED3A324110234AFBA594174176C729FAEB3A324120431CEB9E9417414A2EFF41EB3A324120A757CAA0941741E661A116E13A3241E0128340BB9417416229CB50EE3A3241F0EDEB400E951741D8F93FE5EF3A3241104CB35E1395174177CDB177F13A3241603B5B861895174129C81C08F33A3241F014D7B71D95174100137D96F43A324100181AF322951741F1DBCE22F63A3241006E17382895174108560EADF73A3241A026C2862D95174110C7BA78FF3A3241A038D64519951741E8E2361AED3A324110234AFBA594174101000000020000000001000000FFFFFFFF0000000003, CAST(1566625 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1566953, N'{9481ED3A-6BC7-4349-88C8-EAAC253486D8}', N'005622883', 248101, N'PGP29457', 90054411, N'5622883', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 6006 CARIBOO DISTRICT PLAN 29457', N'0163', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:17:48.000' AS DateTime), 25655, 803, 0xBD0B000001040B0000007E04C52FF4EF354140E17A1460AD2B41D4E76ACBB3EF35410830BBA7A0AD2B414794F66673EF354138A3923AE1AD2B41B3EA735502EF3541D09AE69D52AE2B41273A92CB07EF3541A8293A52CBAE2B41FA2A87B69EEF35410821B0325DAE2B4122FDF655D0EF354168855AD356AE2B41D856EC6F08F035411874B5D526AE2B4188B0E1A93BF03541D05F760F09AE2B417DE09C1117F03541B02B65193DAD2B417E04C52FF4EF354140E17A1460AD2B4101000000020000000001000000FFFFFFFF0000000003, CAST(1566953 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1567611, N'{1BD8780C-3093-4F5D-AF7A-D2AAE68F2563}', N'007428332', 118430, N'VIP1397', NULL, N'7428332', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'Block 2', N'', N'LOT 2, BLOCK 2, SECTION 33, VICTORIA DISTRICT, PLAN 1397, EXCEPT PART LYING TO THE SOUTH EAST OF THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:47:34.000' AS DateTime), CAST(N'2019-01-05T10:53:53.000' AS DateTime), 446, 92, 0xBD0B000001040800000093C2F548C63A324130F38E53489417411E41F183C43A324110E86AAB4494174143C6DC35BE3A324110D1225B38941741A5C64BB7B23A3241F0065F9822941741F22FBB679E3A32410001DE825594174178BE9FBAB23A3241D0CDAACF7B941741A5ADD8FFBB3A3241B066D5676394174193C2F548C63A324130F38E534894174101000000020000000001000000FFFFFFFF0000000003, CAST(1567611 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1567638, N'{8E02E2C9-645A-404D-BFB6-85F58674132F}', N'001567781', 117903, N'VIP877', NULL, N'1567781', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 11', N'Block 12', N'', N'THAT PART OF LOT 11, BLOCK 12, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:52:28.000' AS DateTime), CAST(N'2019-01-05T10:54:04.000' AS DateTime), 307, 71, 0xBD0B000001040500000064BA49CC1D3632411097FF10758F17412485EB310F36324170F4DBD7868F17411C6C781A15363241802D219FD38F174149D8F0B423363241F0CF44D8C18F174164BA49CC1D3632411097FF10758F174101000000020000000001000000FFFFFFFF0000000003, CAST(1567638 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1568307, N'{0BF14E51-C44E-4123-9B0B-4C1F29166231}', N'001649850', 126053, N'VIP1227', NULL, N'1649850', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'THAT PART OF LOT 1, SECTION 48, SOOKE DISTRICT, PLAN 1227 SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 31255I', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:28:59.000' AS DateTime), CAST(N'2019-01-05T10:55:55.000' AS DateTime), 1595, 166, 0xBD0B00000104050000000CC58FF16ADB3141303E57DB2F2B17416409F92086DB314180C9E5BF7E2A1741FC6E810469DB3141D054C1A84F2A1741F1FDD4584EDB3141A09DEF27012B17410CC58FF16ADB3141303E57DB2F2B174101000000020000000001000000FFFFFFFF0000000003, CAST(1568307 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1568670, N'{7C8CBB76-4A48-4FDE-9CFB-96DC0D3AB1FE}', N'009258248', 1070106, N'NWP23715', 6393531, N'9258248', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 2', N'', N'', N'LOT 2 DISTRICT LOT 635 GROUP 2 SECTIONS 12 AND 13 TOWNSHIP 20 NEW WESTMINSTER DISTRICT PLAN 23715', N'0002', N'0009', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-01-31T18:43:29.000' AS DateTime), 55008, 1106, 0xBD0B00000104180000006D787AC529983341A03E57DB9F4B1C4196E61D6728983341707AA52C914B1C41CE915C9E2498334190734694684B1C41714694F620983341301895D4434B1C418838D6251D983341A01873571F4B1C4144F1632C19983341109B551FFB4A1C414C158C0A159833412057EC2FD74A1C4151499DC0109833413003788BB34A1C41654DF34E0C9833419033A234904A1C41B0E1E9B507983341E0C3B12E6D4A1C41AEE1E9F502983341D0DA1B7C4A4A1C4196E61D47FE973341409B559F294A1C41E45817F748973341D0065F18014A1C41BA490C6244973341002428FE6D4B1C415D4BC8C79F973341C0D5566C824B1C41A635CD9B9597334160FC1873AC4E1C41885AD33C65983341305EBA49D94E1C41AB3E579B6E983341503BDF4FDB4E1C41B5490CC262983341F044D8704B4E1C415B86389632983341C0452575074C1C41EEA7C68B32983341F0FD43FA064C1C415E7FD97D32983341F084EB51064C1C419C01BCE529983341A05E294BA14B1C416D787AC529983341A03E57DB9F4B1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1568670 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1569188, N'{FC3CDB2C-AF13-45FA-A1C5-ED5EEF70777B}', N'001597396', 117903, N'VIP877', NULL, N'1597396', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 7', N'Block 12', N'', N'THAT PART OF LOT 7, BLOCK 12, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:49:50.000' AS DateTime), CAST(N'2019-01-05T11:04:04.000' AS DateTime), 307, 71, 0xBD0B000001040500000041BD52365836324130D8F0F42D8F1741A835CD9B4936324150A301BC3F8F17411C3867844F363241304A7B838C8F1741AFBFEC1E5E36324100ED9EBC7A8F174141BD52365836324130D8F0F42D8F174101000000020000000001000000FFFFFFFF0000000003, CAST(1569188 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1569518, N'{FD694937-C351-4163-BBE2-1D3BFF4F9F5F}', N'007127685', 874001, N'KAP22010', 3207991, N'7127685', NULL, N'P6263', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 282 KAMLOOPS DIVISION YALE DISTRICT PLAN 22010', N'0055', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:32:00.000' AS DateTime), 421, 92, 0xBD0B00000104070000007EAEB6A250A735416059867863AC2341E2361AA04FA73541F8224AFB7BAC23419D33A21467A7354178AF94A581AC23416FCE88B26DA73541E06A2BB687AC2341CC6D34C06EA7354188E8482E6EAC2341669A77FC50A735415058A8F55AAC23417EAEB6A250A735416059867863AC234101000000020000000001000000FFFFFFFF0000000003, CAST(1569518 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1569540, N'{147AB82D-6F2B-4EAD-99D5-AF91DF1B9933}', N'014342413', 3, N'NO_PLAN', NULL, N'14342413', NULL, N'72411904005', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART NW4', N'26', N'19,15', N'ALL THAT PART OF THAT PART OF THE NORTHWEST 1/4 OF SECTION 26 WHICH LIES TO THE NORTH OF THE NORTH BOUNDARY OF THE TRANS CANADA HIGHWAY AS SHOWN ON PLAN H73, NOT INCLUDED WITHIN THE BOUNDARIES OF DISTRICT LOT 292 KAMLOOPS DIVISION YALE DISTRICT, TOWNSHIP 19 RANGE 15 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLAN 31', N'0163', N'0028', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:31:55.000' AS DateTime), 1035, 232, 0xBD0B000001040A000000D2B359D5DFBB3541405839F4DAA623413CF8C2E4DDBB354168DE71CA01A72341C37D1D3847BC354120AC1C1A14A72341D4ACFA7C46BC3541F8B27BB213A723417AF2B0D0FFBB354120022B87ECA6234121EBE2F6EEBB354168B29D2FE3A62341A58251C9EABB354100D34DE2E0A623418C7EFB9AE6BB3541803EE899DEA623412C068155E3BB3541004FAFD4DCA62341D2B359D5DFBB3541405839F4DAA6234101000000020000000001000000FFFFFFFF0000000003, CAST(1569540 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1569986, N'{E05FB3E8-0AFB-4393-9A51-D59CA35C4106}', N'015030822', 3, N'NO_PLAN', NULL, N'15030822', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'NW4', N'35', N'3,29', N'WEST HALF OF THE WEST HALF OF THE NORTH WEST QUARTER SECTION 35 TOWNSHIP 3 RANGE 29 WEST OF THE SIXTH MERIDIAN NEW WESTMINSTER DISTRICT', N'0058', N'0009', N'NO', N'ICIS CADASTRE', 6, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-01-31T18:52:54.000' AS DateTime), 161028, 1995, 0xBD0B0000010406000000490C02CB15E83341F060C353D2511D412D5530EA14E83341007E1D3808521D41B02E6E63E7E73341304547F23F5E1D41151DC985B1E83341D0E53F24735E1D410624289EDFE83341600C02AB12521D41490C02CB15E83341F060C353D2511D4101000000020000000001000000FFFFFFFF0000000003, CAST(1569986 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1570033, N'{D88E703C-2456-4D7C-8BCA-BA2F80211D39}', N'001921495', 3, N'NO_PLAN', NULL, N'1921495', NULL, N'73105504000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'733', N'', N'', N'DISTRICT LOT 733 KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLANS KAP49133 AND KAP65709', N'0163', N'0028', N'NO', N'ICF', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:29:36.000' AS DateTime), 1802140, 11919, 0xBD0B00000104A6000000EEB0502BD57035415027A0C9632222414803780BD170354148E5D0E2542222419C01BC45CA7035411019731740222241AD25E403C370354188779CA22A22224173D71292BB7035416832557015222241870D4F8FB5703541A8C420F0042222415FC3D38BB3703541A8E61DE70722224110E9B7EFB17035414848507C032222412CC28627AA703541D0C039E3EE2122418EA98231A2703541A0A98291DA21224135CD3B0E9A7035418826C286C62122417636ABBE9170354178A60AC6B22122413F1361438970354108E02D509F2122416791ED9C80703541D866D5278C2122419C4C15CC7770354138832F4C792122413F575BD16E703541D8EDEBC066212241C6BAB8AD657035410894F686542122419F89B0615C703541782D219F42212241BB15FB8B5170354138BB278F2E21224108A3923A53703541301AC0DB2A21224108A392FA4A703541985E290B1C21224192A9823141703541707346140B2122410993A94237703541680F0B75FA202241F7285C2F2D70354120E9B72FEA202241A1B437F822703541D013D044DA20224127F6979D18703541A00F7AB6CA20224188D2DE200E703541E0A59B84BB202241BC40828203703541382041B1AC202241996588C3F86F35411824283E9E202241DEA59BE4ED6F3541F830992A902022415E5DDCE6E26F35417810587982202241BF3099CAD76F354148431C2B752022411E8E7591CC6F354178DB684068202241E1C7983BC16F3541C0900FBA5B202241F6C264CAB56F35415007CE994F202241CE915C3EAA6F354180D2DEE043202241EEFDD4989E6F354110F2418F382022417CBE9FDA926F3541D88AFDA52D202241EBAE2504876F3541E078E926232022413AB4C8167B6F3541C83B4E111920224186855A136F6F3541781D38670F202241ECD24DC2646F354138014D84072022417924979F646F3541F0D4786907202241E2361AE0E16E354130AF9465A61F2241440B4FE8DC6E35416097019AA21F2241B3A63903D86E354148859E719E1F2241285A8B32D36E3541C089DBED991F22416268EE77CE6E3541104E4810951F22419C7205D5C96E3541D08A93DA8F1F2241D8E76A4BC56E3541E8718A4E8A1F224142575B51A36E3541004D844D252322417C8CB90BA06E3541502575C2752322416DAC8B1BAA6E354158666626772322413CBD52764971354160C8077DE3232241C56D34C0D8703541684DF30E71222241EEB0502BD57035415027A0C963222241BC529601D56E35410874B5956E1F224120F77D31D86E3541B008FB1A721F2241A2F40D6EDB6E3541D046D070751F2241BCD095B6DE6E3541A0517F96781F22414684620AE26E3541208F5C8B7B1F2241BEA1BE68E56E354190C8C64E7E1F2241B07BF2D0E86E3541685227E0801F2241819ECDAA6B6F3541505986F8E11F22417F1D38C76B6F3541D0839E0DE21F224194E4F25F766F3541A0E61D27EA1F2241043411B6826F354188734614F41F22417B58A8F58E6F3541208D976EFE1F22418248BF1D9B6F3541B8C64B3709202241CCC3422DA76F354100431C6B14202241986E1223B36F354168CC5D0B20202241646DC5FEBE6F354160984C152C202241B2BFECBECA6F354100DE02893820224161E5D062D66F3541B0416065452022415027A0E9E16F3541209E5EA952202241A5605452ED6F3541C0172653602022411951DA9BF86F354180F753636E2022419E01BCC503703541E81873D77C202241F831E6CE0E703541981F63AE8B202241022B87B619703541A8D409E89A20224152E3A57B2470354168EE5A82AA2022417C48BF1D2F703541A823B97CBA2022411E5A649B39703541C8AACFD5CA202241F08E53F443703541A8270F8BDB20224199DD93274E703541809A779CEC2022419D3C2C34587035416070CE08FE202241B59690AF6070354178CA32440D212241B6C8765E6270354188E09C9109212241C4A8A48E6D7035416039B4481E212241480C022B77703541C015FBCB30212241B6D1009E8070354168D3BCA3432122419CF831E6897035415072F9CF56212241AE2E6E0393703541785F074E6A212241A033A2F49B703541103FC61C7E2122415F1058B9A4703541F8D9AC3A9221224198B20C51AD703541489D80A6A62122411F6C78BAB570354128E4835EBB2122412C0681F5BD703541581B0D60D021224132772D01C670354138431CABE5212241D56800AFC7703541705DDC46EA212241B91E85ABC5703541507FD93DED212241806ABCD4CB703541882F4C26FE2122412C7E8C79D370354158C3D3EB13222241C4BAB8EDDA703541B045B6F32922224182FB3A30E27035418036AB3E40222241E66A2BB6E67035419006F0965022224165FE43DAE970354138FE433A5C222241D1BCE31462713541E06A2B76E723224127A089F0C171354120C4B1EEF6232241EF8E53B4B871354118EBE2F6DB2422416C787A45B771354170DC4683FF2422413A234ABBC7713541585227A035252241D856EC2FD6723541C0A223B9AE2822419A2A1875DA72354118EF3885A92822413970CE280473354180F606DF2F29224170E7FBE9FF723541600BB526352922411283C02AA5733541E866D527572B2241D556EC6FA973354160B3EAF3512B22417CE09C91B27335419837F8026F2B2241CEE53FE4BB733541681F63EE8B2B2241ACCFD576C5733541F0B7AF83A82B22410C819523D0733541B800DE82C72B22410AD7A310CC733541884DF34ECD2B2241F7CBEE8943743541C0C3426D1D2D2241D25169E548743541C0B319FD2B2D22415D5670874E7435414030E2203A2D22412886E36D5474354138DB45D3472D2241F0B988965A743541A823190F552D2241A8CD0CFF60743541083A5DCF612D22416F8104A56774354120F2410F6E2D22419A438BEC6B74354100D9CE77752D22412463EEBA8E743541684AEA44B22D2241B5BFEC7E8F7435412807CED99C2D22416FF90FA9A17435414003784B9E2B22418CE4F2FFC6743541F84F8DD784272241443789C10975354160EA04B43020224189A7576AC76E3541300DE0AD501F2241F7C2640AC76E354170E3A5DB5A1F2241980E9138C96E3541A879FD8A5E1F2241D44BC176CB6E354178F01013621F224145C844C4CD6E35412811CA72651F2241181A6620D06E3541A80F1FA9681F22411C586B8AD26E3541B0DC12B56B1F2241BC529601D56E35410874B5956E1F2241FC6C56BD3574354198779CA23B2D2241D088D23E3374354160BF7D9D342D22417BF2B090BB73354168D5E7EAE32B22413C575B71B773354100174890E92B224122B072A8AC7335415092CB3FCA2B2241BAF3FDD4A27335410067D5E7AC2B2241A101BC4599733541B0923A418F2B2241D0D5560C90733541C878E9E6712B22416D81044594733541705F078E6C2B2241140DE0EDEE723541F8C9C3424A29224117FBCBAEEA7235414027A0894F292241039A08FBC0723541D056EC2FC9282241C7FEB21BC5723541F04A5986C328224199E61DA7B6713541300DE06D4A2522417B0B2488B4713541E00E0B7543252241606DC53E81713541286A4D733B2A22417F8CB92B12733541981D38277C2A22419A900F7AD17235410044FAADC03022410ACE197170743541C0B359B503312241A69BC4A08674354110C7BA78952E2241F17C3F758A74354128CB10072A2E2241FC6C56BD3574354198779CA23B2D22410300000002000000000238000000029000000004000000FFFFFFFF0000000006000000000000000003000000000100000003000000000200000003, CAST(1570033 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1572076, N'{0631E9FA-576B-4515-8DBF-F2AF5D865FE3}', N'007940921', 19444, N'VIP1004', NULL, N'7940921', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'', N'', N'THAT PART OF LOT 4, DISTRICT LOT 49, COWICHAN LAKE DISTRICT, PLAN 1004 BEING THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 100 RW', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T15:56:09.000' AS DateTime), CAST(N'2019-01-07T18:31:06.000' AS DateTime), 1293, 182, 0xBD0B000001040500000013D044D85E8A3141808EE47269B4194144CF6615608A314150D191DCDCB3194106A3921A1B8A3141204547F26CB419415DFE43DA588A3141C01DA7E875B4194113D044D85E8A3141808EE47269B4194101000000020000000001000000FFFFFFFF0000000003, CAST(1572076 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1572085, N'{1DD264B2-42CE-4A19-A668-9DDD4DC53425}', N'009852379', 3, N'NO_PLAN', NULL, N'9852379', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 6', N'9', N'', N'THAT PART OF SECTION 6, RANGE 9, SAHTLAM DISTRICT, CONTAINING 7.16 ACRES MORE OR LESS AND COLOURED RED ON PLAN "D"DEPOSITED UNDER 30148I', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 42, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T15:52:50.000' AS DateTime), CAST(N'2019-01-07T18:31:01.000' AS DateTime), 27617, 1695, 0xBD0B0000010442000000F63A706EB9BC3141E0C9C342828519411C3867E4B9BC31416019E2580585194129CB1007DEBA314100B37B727D85194149477259DDBA314190855A5349851941391AC07BBABA3141605F074E5585194164226CB8ABBA3141F00AB5A65A851941C87F481FA1BA31413091ED7C5E851941A6C64B37A1BA3141506D348074851941D36F5F278BBA31413033C43184851941EC4B8C7781BA3141B07A8B5F898519413A1D8FBD77BA31414068F22D8D851941883E84FC6DBA31414059C19B8F8519413A4C8A3764BA3141D06E31A890851941B024C1715ABA3141F0CEEC5290851941A8E848AE50BA3141F0BE0E9C8E8519412C08AC3C4ABA3141509D80A68C8519418D00A53547BA314150CCA5848B851941FF77742F44BA3141C071F1408A851941CC15322A41BA314110726DDB88851941227AF5253EBA314180B9245487851941123DD6223BBA3141703C23AB85851941F4EDEB2038BA314130F775E0838519417ED0B3D931BA314170C4B1AE7F8519416A9EDFB22EBA3141C024894B7D851941D56EDD8D2BBA314100381BC37A8519417ECDC86A28BA3141202E7E15788519414835BD4925BA3141307DC94275851941480FD62A22BA314190E0154B72851941CAB12E0E1FBA314160567D2E6F851941C7BAB88D17BA314140431CEB6785194156D3BCA3B8B9314110DE02090C85194133E6AE25B6B9314180D3BC632785194101B37BD2AEB93141B057CAB21F8519414BE17A14ACB9314110DFE08BAF851941ED41CF66D2B93141F01FD26FD885194179C729FAD4B93141401AC0DBBC851941197C6112FDB9314110FA0F69E4851941EF7C3FB503BA3141405BB1BFEB8519419A081BBE09BA314140F8C2E4F1851941D23B4ED10FBA3141A053E3A5F78519418B1F63EE15BA3141A0B74002FD851941D2BCE3141CBA3141404772F9018619417793184422BA314100280F8B068619414CE3A57B28BA3141003411B60A861941A0703DAA30BA3141709318840F86194155643BFF36BA3141E03845C712861941937EFB5A3DBA314140772DA1158619413F13618344BA31414018955418861941A3A223594EBA3141C0353C3D1B861941595BB17F51BA3141A01C5AE41B8619418F8785FA57BA3141D04A59061D861941EF7C3F755EBA3141E0C798BB1D8619414C7B83EF64BA3141006F81041E861941B08BDB686BBA314180D2DEE01D86194115B7D1E071BA3141C0A982511D861941733D0A5778BA3141C0CFD5561C861941A35E29CB7EBA3141502041F11A8619413008AC3C85BA3141E09BC42019861941A45E29AB8BBA314140F831E61686194185B0E189A2BA314180006F010B8619412C0F0BF5A2BA314140575B3145861941E40209EAA9BA31410057EC2F43861941276519A2BEBA3141900F7A363D861941827346F4E0BA3141906891ED33861941E1938745E0BA31418017B7D1FA851941F63A706EB9BC3141E0C9C3428285194101000000020000000001000000FFFFFFFF0000000003, CAST(1572085 AS Numeric(38, 0)), NULL) +GO +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1572341, N'{E1F5231D-8B4D-4AE9-88ED-139BDC33267B}', N'013831241', 3, N'NO_PLAN', NULL, N'13831241', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'PART NE4', N'17', N'21,8', N'THAT PART OF THE SOUTH 1/2 OF LEGAL SUBDIVISION 15 OF SECTION 17 AS SHOWN ON PLAN OF SAID TOWNSHIP DATED AT OTTAWA 25/07/1911 WHICH LIES TO THE NORTHWEST OF PLAN H608; TOWNSHIP 21 RANGE 8 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT EXCEPT PLANS H608 AND KAP65474', N'0163', N'0006', N'NO', N'ICF', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:23:11.000' AS DateTime), 29388, 840, 0xBD0B00000104160000009B4C154CE0B03641E061A1965C5124418AD2DEE0AEB03641785F07CE01512441962A18F59CB03641F0141D89E550244114D9CE3794B0364130A69B04D7502441C2A8A42E83B03641C88F3137B9502441B7270FCB7AB0364120F2410FA950244180B740826AB03641D8E995B289502441394547B262B0364158A835CD78502441BF05123457B03641302CD45A6050244184B0E16954B0364148D6C5ED64502441BD5B208147B0364188F2B0D042502441BC9F1AEF37B03641E89C11A517502441EBFDD41822B03641987CD0F313502441291895940EB0364170643BDFA95124417C4F1EB61FB13641A0A8A44EDC512441CCB359B521B13641088D28ADDC512441FB87F4BB1FB1364130E336DAD8512441F063CCBD0FB13641A0976E92B3512441C064AA40FBB0364168764FDEA75124410E2DB25DEBB03641E87A14AE935124416CD712B2E9B03641301FF4AC685124419B4C154CE0B03641E061A1965C51244101000000020000000001000000FFFFFFFF0000000003, CAST(1572341 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1572501, N'{962A5922-9CE3-4438-A6C7-D9ED6BA95B0C}', N'014913313', 464155, N'NEP4229', NULL, N'14913313', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 1', N'', N'', N'LOT 1 SECTIONS 15 AND 16 TOWNSHIP 29 RANGE 23 WEST OF THE 5TH MERIDIAN KOOTENAY DISTRICT PLAN 4229 EXCEPT PLAN NEP87959', N'0163', N'0006', N'NO', N'ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', N'49708', CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:28:32.000' AS DateTime), 49696, 901, 0xBD0B000001042F000000E39387651C963841E019519A991E2741F697DD73AE953841801D3867DA1E27415A0B10D0AC953841989ACF3FDB1E2741F72D1C24AB9538412065A6CADB1E274126A19973A995384128239206DC1E274158D129C2A7953841181112F3DB1E2741D2287013A695384128165090DB1E27413E3E0A6BA4953841006B20DFDA1E27417E0F88CCA295384198D1FFE0D91E27411F5A643BA195384160621098D81E2741D76920B69F953841E08036E3D61E27419066E8449E95384150838EEDD41E27418A0E6DEA9C9538415035C0BAD21E27411CB634A99B953841E872E54ED01E2741159296839A953841588482AECD1E2741D259B67B9995384108B07DDECA1E2741C249809398953841481616E4C71E2741F88CA5CC9795384160E9D9C4C41E27413A15992897953841100F9C86C11E274104E78CA8969538415044692FBE1E2741923177CD4C953841E810C7BAE51E274194BB96F03695384168EF388529202741B4627F397F953841B8B6627F3B202741668863DD30963841B04AEA44672027419D559FEB4896384150B437B8E51E274172C3282D49963841602F5E56DF1E2741ABA0D02349963841582660EFD81E2741A7EBAACF48963841B87EF090D21E274164B06B314896384178CFAF48CC1E27418187654A4796384158380F24C61E274160C1861C46963841409F3330C01E2741DA4455AA449638411890D979BA1E2741FA28E9F64296384160FC390DB51E27414E16E60541963841A015F0F5AF1E2741667D73DB3E9638419075E03EAB1E27418CB3337C3C96384188D121F2A61E27412B083AED399638419063E718A31E274104E9FF3337963841B83A6DBB9F1E2741582B595634963841709DE6E09C1E27410894675A31963841C09F6E8F9A1E2741B5B88D462E963841A815FBCB981E2741121709512B963841E88383AE971E27414260405228963841C8626A10971E274100C08B4F25963841B8CAC9F2961E27415C614A4E22963841E898D655971E2741F3D8D8531F9638414811E038981E2741E39387651C963841E019519A991E274101000000020000000001000000FFFFFFFF0000000003, CAST(1572501 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1572953, N'{6645DFAD-6355-4480-A24E-9BCF5F51B1AD}', N'015503364', 495459, N'NEP800', 9813831, N'15503364', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 25B', NULL, NULL, N'LOT 25B DISTRICT LOT 205 KOOTENAY DISTRICT PLAN 800', N'0163', N'0019', N'NO', N'ICF', 5, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-01-26T17:28:59.000' AS DateTime), 21583, 636, 0xBD0B0000010416000000F63A704EDA9C3841E07A142EA1B51D41568638B6E09C384150855A53D2B51D418A6CE73BE99C3841F065F7E407B61D41014D84ADF49C384150A301BC39B61D41AE59F579FF9C3841A05D4BC856B61D41FC5C6DA50B9D3841F0CEF7D366B61D41E5C03903199D3841500BB52679B61D414C0378CB219D384150F90F698EB61D4157A8354D2C9D38417096218E98B61D41D68AFD65379D384190CB7FC827B51D41FAA067B3D29C38419011A53D71B31D416B810465B99C384160158C4AFBB21D411AAE47218D9C3841F0A370BD62B31D4151F38E73799C3841F001BC850CB41D416844692F7A9C3841C072681123B41D41769CA2637C9C3841F046037879B41D419228ED8D859C38412096B20CB1B41D412EDD2426969C38413075021ADBB41D414EFC1813AE9C3841A013D0C40DB51D41E4043471C39C38412014D04433B51D41541E166AD29C384100363CBD72B51D41F63A704EDA9C3841E07A142EA1B51D4101000000020000000001000000FFFFFFFF0000000003, CAST(1572953 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1573211, N'{0B64D8F0-EA80-4395-B705-216FF1323AF6}', N'007488009', 4652349, N'VIP379RW', NULL, N'7488009', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 56', N'', N'', N'THAT PART OF LOT 56, DISTRICT LOT 140, ALBERNI DISTRICT, PLAN 1414, BEING THE LOGGING RAILWAY SHOWN ON PLAN 379 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2019-01-10T15:02:51.000' AS DateTime), 308, 81, 0xBD0B0000010405000000E63FA45F047F304120EBE2B6B9041D4175711BCDE67E3041D04F8D17D2041D41F07C3F95E67E30413072F98FF7041D41324CA6CA037F3041D0E995B2E8041D41E63FA45F047F304120EBE2B6B9041D4101000000020000000001000000FFFFFFFF0000000003, CAST(1573211 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1574090, N'{3BE6B521-E68D-422A-94BC-F338B9D8E039}', N'024047945', 3, N'NO_PLAN', NULL, N'24047945', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1998-02-20T00:00:00.000' AS DateTime), N'PART SE4', N'33', N'', N'ALL THAT PORTION OF THE WEST HALF OF THE SOUTH EAST QUARTER OF SECTION 33 TOWNSHIP 13 LYING TO THE NORTH EAST OF PART ON STATUTORY RIGHT OF WAY PLAN 23336 NEW WESTMINSTER DISTRICT', N'0002', N'0009', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2020-12-14T12:25:17.000' AS DateTime), 145309, 1604, 0xBD0B000001040A0000004382E247963B3341E0088A9FF0F51B4199999939963B3341104ED191FEF51B41754F1EF6923B334150DC460332F91B417DB740A20C3C3341F03A70CE43F91B415AA8354DD63C334130CDCC4C61F91B41F5A06713423D3341F0DF2D1071F91B41AC69DED1503D334170D5E76A38F31B414A5986B8513D3341E0051214D7F21B41F4E46121533D3341703789C13FF21B414382E247963B3341E0088A9FF0F51B4101000000020000000001000000FFFFFFFF0000000003, CAST(1574090 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1575323, N'{D58AF916-B01F-4C40-9341-9BCA28BFF275}', N'015861856', 495823, N'NEP34X', NULL, N'15861856', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 28', N'', N'', N'THAT PART OF SUBLOT 28 COLORED RED ON PLAN 1249 DISTRICT LOT 4598 KOOTENAY DISTRICT PLAN X34', N'0163', N'0004', N'NO', N'ICF', 7, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:20:53.000' AS DateTime), 4140, 335, 0xBD0B0000010409000000656FF0E52B863841D02041F1DB5E1F4155F5B93A1D86384190F2B050EF5E1F41721283E026863841F02A8796615F1F41AFFA5C2D35863841D037F8C24E5F1F411695D48943863841B09F1AAF3C5F1F41B5B88D86A986384120E4839EBE5E1F41C29F1A8FA0863841B042AD694B5E1F4185D2DEA03A863841C0AACF55C95E1F41656FF0E52B863841D02041F1DB5E1F4101000000020000000001000000FFFFFFFF0000000003, CAST(1575323 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1575788, N'{E68500C7-4C82-44FA-B265-AB1A2D45FC7F}', N'000438375', 3191773, N'VIP552G', NULL, N'438375', NULL, N'05769.005', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Section 17', N'', N'', N'THE NORTH WEST 1/4 OF THE NORTH EAST 1/4 OF SECTION 17, TOWNSHIP 9, COMOX DISTRICT, PLAN 552-G, EXCEPT PART OUTLINED IN RED ON PLAN 1320 RW', N'0163', N'0017', N'NO', N'ICF', 5, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-12-17T18:22:26.000' AS DateTime), 154497, 1579, 0xBD0B000001040D000000ABDFBE2E0440304170302A29EFC51F4138EF38E5924030410020D26FCAC51F4121EBE29695403041F0A2013C64C31F41E72631489940304140BF7D9D38C01F4135D6C52D053F3041D0156A4D24C01F41B6FC8734FE3E304160E6AE257DC61F41B837F882823F3041A0141D4983C61F418F983386963F3041303D924258C61F4153BC0663AB3F304170E8024534C61F410D11F7F1C03F3041A0208A9417C61F4126F8380AD73F3041C004726702C61F410CF9FC81ED3F3041500BCDE5F4C51F41ABDFBE2E0440304170302A29EFC51F4101000000020000000001000000FFFFFFFF0000000003, CAST(1575788 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1576342, N'{86D41A57-1ADA-4346-8752-539969072A43}', N'013995596', 295389, N'PRP968', 29847801, N'13995596', NULL, N'01244.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 19', N'Block 103', N'Section 2', N'LOT 19 BLOCK 103 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:37.000' AS DateTime), 291, 78, 0xBD0B00000104050000009A01BC0515772B41E47A148EDD64314126F46C1629772B41D8A59B64DD6431413689416028772B4120F77560C064314190976E5214772B4104DE0289C06431419A01BC0515772B41E47A148EDD64314101000000020000000001000000FFFFFFFF0000000003, CAST(1576342 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1576346, N'{2BC6C5F0-906C-47BF-AB62-2B0AD7B79331}', N'013998030', 295389, N'PRP968', 23688641, N'13998030', NULL, N'01250.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 17', N'Block 105', N'Section 2', N'LOT 17 BLOCK 105 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:31.000' AS DateTime), 260, 72, 0xBD0B0000010405000000FEF675E045792B4190C64B17BF64314174A301BC46792B4144158C0AD9643141B415FBCB5A792B410CAE47E1D8643141C69F1AEF59792B41F43A70EEBE643141FEF675E045792B4190C64B17BF64314101000000020000000001000000FFFFFFFF0000000003, CAST(1576346 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1577020, N'{582ED24D-0FE8-4FB8-877D-84FFA6CEB38E}', N'006882854', 3191204, N'VIP1820', 34316001, N'6882854', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Parcel A', N'Lot 9', N'', N'PARCEL A (DD 18042-N) OF LOT 9, DISTRICT LOT 36, NEWCASTLE DISTRICT, PLAN, 1820', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2019-01-05T08:34:53.000' AS DateTime), 805, 208, 0xBD0B000001040D000000F03845A7FFBC3041C037F8C28A011E418CC954A12EBD3041F07A83AFCB011E41381AC09B2FBD30416027A009CD011E412E90A0F835BD30410086C9D4D5011E4194A982D138BD304150CA32C4D9011E41D4D5568C39BD304180A982D1D3011E412BA913302FBD304110EEEB40C5011E41693BDF2F0EBD3041E0F528DC96011E41FE770BE41DBD3041704DF30E1E011E413308ACDC19BD3041806CE7FB11011E41167C617211BD3041301361C3F8001E4198DD9347F8BC3041304D848D80011E41F03845A7FFBC3041C037F8C28A011E4101000000020000000001000000FFFFFFFF0000000003, CAST(1577020 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1577393, N'{2CEAA4F6-CF8E-4F05-AFAF-7DC6D6FB8DE7}', N'014413019', 1185278, N'NWP19544', NULL, N'14413019', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-02T00:00:00.000' AS DateTime), N'REM Lot 8', N'Block H', N'', N'LOT 8, EXCEPT: PART ON PLAN 45999A BLOCK "H" DISTRICT LOT 139 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 19544', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:35:45.000' AS DateTime), 467, 88, 0xBD0B00000104050000000C12147F9E8A324110DBF97E43EB1B41C5293A729B8A324130302A298CEB1B4150B81E25B68A324110E7FB2990EB1B41EEB050EBB68A32415079582847EB1B410C12147F9E8A324110DBF97E43EB1B4101000000020000000001000000FFFFFFFF0000000003, CAST(1577393 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1579406, N'{AA663E81-B35C-469D-97FA-842FA692F33A}', N'011322438', 1303888, N'VAP4742', NULL, N'11322438', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-10T00:00:00.000' AS DateTime), N'REM Lot 11', N'Block 27', N'', N'LOT 11, EXCEPT PART IN PLAN LMP22309, BLOCK 27 DISTRICT LOT 599 PLAN 4742', N'0092', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T10:50:27.000' AS DateTime), 495, 93, 0xBD0B000001040800000053FC1893FF7A3241A05C6DC53F871D41EE7C3F95FF7A3241004703F83E871D41AF726851FF7A324110B150EB3E871D41666FF085EF7A324160F163CC3B871D4170CE8852EE7A3241900C022BB9871D414A94F606F97A3241F01951DABA871D41B203E74CFE7A324180E09C91B3871D4153FC1893FF7A3241A05C6DC53F871D4101000000020000000001000000FFFFFFFF0000000003, CAST(1579406 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1580168, N'{8FFF8043-12EE-404F-9568-27387977CF40}', N'004940164', 1314829, N'NWP51386', NULL, N'4940164', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'REM Lot 13', N'', N'', N'LOT 13 EXCEPT: PART DEDICATED ROAD ON PLAN LMP480, DISTRICT LOT 326 AND 329 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 51386', N'0075', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:44:09.000' AS DateTime), 609, 142, 0xBD0B0000010409000000BDC11706AC253341F0D6A3F018921C41CE88D2BEB2253341605452A769921C416319E298E62533417085EBD1EB911C419865BAE3DC253341B0A01F6EF4911C4176F99028D32533410057079BFC911C41F294B567C925334100A85F5804921C41B92678A1BF2533410025E9A50B921C418CC928D6B525334130F6678312921C41BDC11706AC253341F0D6A3F018921C4101000000020000000001000000FFFFFFFF0000000003, CAST(1580168 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1583854, N'{FEF9EF10-8E51-4D01-9580-4338B7241A9F}', N'001566865', 117903, N'VIP877', NULL, N'1566865', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 13', N'Block 11', NULL, N'THAT PART OF LOT 13, BLOCK 11, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:26:48.000' AS DateTime), CAST(N'2020-09-22T09:16:54.000' AS DateTime), 306, 71, 0xBD0B00000104050000007A14AE67033732417088635DB18E17419C900F7AFD363241209A089B648E17419B779CE2EE363241401E166A768E1741B6847CD0F4363241C0559F2BC38E17417A14AE67033732417088635DB18E174101000000020000000001000000FFFFFFFF0000000003, CAST(1583854 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1585411, N'{33BA78D6-FB5A-4596-8B34-4BA3B9C2BC0D}', N'011118091', 853599, N'KAP3339', NULL, N'11118091', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 7', NULL, NULL, N'LOT 7 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 3339 EXCEPT PARCEL C (DD 148126F) ON PLAN A1182', N'0095', N'0022', N'NO', N'ICIS CADASTRE', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-05-06T11:49:06.000' AS DateTime), 4723, 346, 0xBD0B000001040900000052158C2A4C71364110F163CCE4841D419B01BC2546713641D0F90FE929851D419CFF901E4071364160E4F21F6F851D4108D7A3D0387136414092CBFFC2851D41C230998A607136410021B0723B871D4137234A7B6471364170E09C1161871D4190B96BA9707136414013614325871D41280681F57A713641901F63EE9D861D4152158C2A4C71364110F163CCE4841D4101000000020000000001000000FFFFFFFF0000000003, CAST(1585411 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1586428, N'{7CB69875-9496-4B66-B145-3C64B4CDA0C1}', N'001706098', 12929, N'VIP218A', NULL, N'1706098', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'Block 25', NULL, N'LOT 6, BLOCK 25, SHAWNIGAN LAKE SUBURBAN LOTS, MALAHAT DISTRICT, PLAN 218A', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 7, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T18:41:36.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 11001, 420, 0xBD0B00000104070000003D60E53008E73141805AD3BCEBC1184129F6977D40E73141400BB5A6F4C11841D6F97EAA41E73141108F53F474C11841C142AD4944E73141E068006F58C0184179E09C71DBE6314160E8D92C44C0184165F7E421D5E6314170E61DA7E3C118413D60E53008E73141805AD3BCEBC1184101000000020000000001000000FFFFFFFF0000000003, CAST(1586428 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1586845, N'{0EEFBD2A-1E0F-49B3-9701-F3C7F9BF24C2}', N'009321977', 137263, N'VIP51', NULL, N'9321977', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 11', NULL, NULL, N'LOT 11, SECTION 7, VICTORIA DISTRICT, PLAN 51, EXCEPT A STRIP 10 LINKS IN WIDTH FRONTING ON CULDUTHEL ROAD, AND EXCEPT PART LYING EAST AND WEST OF THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY COMPANY AS SHOWN ON PLAN 7 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:25:03.000' AS DateTime), CAST(N'2021-04-21T10:47:02.000' AS DateTime), 1298, 169, 0xBD0B0000010407000000EDD24D8281393241409A779CE9881741C76D34A082393241700B2428DE881741A535CDDB98393241C0BDC117FA8717418C855A138D393241501AC0DBEF871741EEFDD4D88439324130355EBAE8871741E98C288D6D39324190C954C1D7881741EDD24D8281393241409A779CE988174101000000020000000001000000FFFFFFFF0000000003, CAST(1586845 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1586922, N'{34A8FA40-54B9-4995-8F7B-008C544FCDF1}', N'011335599', 3191934, N'KAP1790', NULL, N'11335599', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Parcel 32', N'Lot 317', N'', N'PARCEL 32 (PLAN A1273) OF LOT 317 DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 1790', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-04-30T14:45:43.000' AS DateTime), 36324, 1018, 0xBD0B0000010415000000C2C342ED0B693641C03480B788391D41B6490C0205693641208C4A6AC2391D4132772D010569364180A98251083A1D41F02FBB670569364190D9CEF74C3A1D4142136123FD683641004850FC813A1D41E4938785EC68364110B0E1E9B73A1D4155B1BF2CDB683641806C787AC73A1D41127A360BE5683641206C787AC23C1D41F2EBC039F2683641A033A234663F1D411A0456CEFA683641A0A1453624401D414B7B832F1B693641C0A679C71D401D416CAA60143269364140696F7009401D418BB96B494169364130F9A0E7FF3F1D41045F986C40693641805C8F42D03F1D4112E9B7AF4669364180F08549883F1D41A1CDAA6F4F693641702D211F363F1D416AAC8B5B4B693641903EE8595C3E1D41DFBE0E3C3169364160F2414F13391D41A245B6B31E6936419092A90232391D41C3E3143D146936418029CB104E391D41C2C342ED0B693641C03480B788391D4101000000020000000001000000FFFFFFFF0000000003, CAST(1586922 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1587499, N'{18881115-D1D4-40C2-8416-751747819B3E}', N'000211257', 5459686, N'VIP32919', NULL, N'211257', NULL, N'106758', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Lot 1', N'', N'', N'LOT 1 SECTION 9 RANGE 8 MOUNTAIN DISTRICT PLAN 32919', N'0084', N'0021', NULL, N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', N'1035', CAST(N'2019-04-04T08:45:35.000' AS DateTime), CAST(N'2021-05-31T16:32:10.000' AS DateTime), 1035, 145, 0xBD0B000001040600000021B072E84584314140A4DFBE533D1C4193A0F8B13684314130AD69DE523D1C412D4CA6CA1C84314180E4839EEB3D1C416EF90F29218431411071AC0B263E1C41D388D29E45843141B0D0B359A33D1C4121B072E84584314140A4DFBE533D1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1587499 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1587804, N'{E40C493C-6298-4E47-A66D-EDF189DA86FC}', N'008899525', 465535, N'NEP16647', NULL, N'8899525', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', NULL, NULL, N'THAT PART OF LOT 1 SECTION 13 TOWNSHIP 27 RANGE 22 WEST OF THE 5TH MERIDIAN KOOTENAY DISTRICT PLAN 16647 INCLUDED IN SRW PLAN 16743', N'0043', N'0006', N'NO', N'ICF', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-06-03T16:32:53.000' AS DateTime), 11222, 649, 0xBD0B000001042F00000058D3BCC343D43841C8FDD4380F8E264188C59C2741D4384160B907EB1B8E264174DE643E3ED4384170767959288E2641B04ACB093BD43841C8FDDA7C348E26419289B28B37D43841603A094E408E2641575128C633D43841706C11C64B8E2641265A64BB2FD43841483F35DE568E2641E00B9329D1D4384168CE8852FA8C2641A779C729CBD4384120068115EF8C2641B63693ECC6D43841E839CC2FF38C264138A4139DC2D43841F03CDBFAF68C264167DEBA3CBED43841B85E6875FA8C26413CA800CDB9D43841B8EE489EFD8C264122ED614FB5D4384168A16D74008D2641884160C5B0D4384110EBE2F6028D26415A1CE224A8D438417077C7DD068D2641B3B395679FD4384170369496098D26416680CC9796D43841907A121E0B8D264112CFEDBF8DD43841280C74720B8D26419C776AEA84D43841204B55930A8D26419D89B0217CD4384118A5BD81088D2641C82CA38472D4384128B326EA048D26419C10E11069D43841B0BFE9E4FF8C26416BF1F9D35FD4384150C73A79F98C26415CD72EDB56D43841900E50B0F18C26417E125F334ED4384118E95495E88C264194C2F5E845D43841B8B35935DE8C264166F7E40115D43841E83C9B55DA8C2641C7BAB8ED21D43841407B836FF28C264128E4B2C229D43841C0E256EC018D264118D13EE730D4384190ACCDB0128D2641316D074E37D4384110BC9B9D248D2641F3D719EB3CD43841F8D04B91378D264138B2FBB341D43841E0FC7D684B8D26412AADBE9F45D4384128A829FE5F8D2641B83511A748D43841F8B3E22B758D2641981D4CC44AD43841E03021CA8A8D2641A9287DF34BD4384110298BB0A08D2641A66A6E324CD43841F0EF3FB6B68D26413B67AA804BD43841407224B2CC8D264192ED7CDF49D4384128EC2F7BE28D2641A116122E49D43841E0B37619EA8D26418223FE5A48D43841D88948AAF18D264168E4816647D4384188B6522BF98D2641A16BE85046D43841105A479A008E264196F6861A45D438411022DEF4078E264158D3BCC343D43841C8FDD4380F8E264101000000020000000001000000FFFFFFFF0000000003, CAST(1587804 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1588065, N'{738BE8DF-B2BA-40AA-ABFC-E949EF9E9FFE}', N'006813691', 647048, N'VIP1877', NULL, N'6813691', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 14', NULL, NULL, N'PART OF LOT 14, DISTRICT LOT 39, ALBERNI DISTRICT, PLAN 1877 INCLUDED IN PLAN 515-R', N'0163', N'0029', N'NO', N'ICF', 3, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2021-06-22T12:58:44.000' AS DateTime), 1584, 285, 0xBD0B00000104050000002E6EA3412081304160136143D8031D41CB32C4712081304170E7FB29A7031D4160CC5D2B9F80304110849ECDE6031D417DB740029F8030411044FAED17041D412E6EA3412081304160136143D8031D4101000000020000000001000000FFFFFFFF0000000003, CAST(1588065 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1588419, N'{643637E8-4D5E-46EF-9A8C-940345D07C36}', N'009998390', 7807237, N'KAP11H', NULL, N'9998390', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1988-02-23T00:00:00.000' AS DateTime), NULL, NULL, NULL, N'THAT PART OF LOT 70 SHOWN ON PLAN H11 DISTRICT LOT 110 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 301 SAID TO CONTAIN 0.329 ACRES MORE OR LESS', N'0163', N'0022', NULL, N'PMBC-OPERATIONS', 1, N'PMBC-OPERATIONS', N'UNKNOWN', N'0', N'1757', CAST(N'2020-10-28T16:32:19.000' AS DateTime), CAST(N'2021-07-21T09:00:05.000' AS DateTime), 1757, 703, 0xBD0B000001040700000091A0F811D929364110D509689A9E1D4174C5FEB2D8293641C0141D499A9E1D41B31C5A8473293641404547F2769E1D41625DDC2682283641A053E3A5229E1D4185DB68A08128364170B0E1E93A9E1D414E158CCADB293641409FABADAB9E1D4191A0F811D929364110D509689A9E1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1588419 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1589064, N'{CF96E40C-9341-4015-81D5-E67A6E2AF2E1}', N'004979001', 646000, N'VIP12174', NULL, N'4979001', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 13', N'Block 1', NULL, N'LOT 13, BLOCK 1, OF BLOCK 29, COMOX DISTRICT, PLAN 12174 EXCEPT PART IN PLAN 1600RW.', N'0024', N'0027', N'NO', N'MODIFIED-ICIS', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2021-09-01T15:16:34.000' AS DateTime), 3027, 234, 0xBD0B00000104070000006CAC8BFB5A363041104D840DA1792041940F7A167A3630419023B9FCA27920410D61C39377363041800C026B28792041816132954F36304178D71232277920416CD7123233363041B8AF03E725792041019A08BB52363041E0E76A6B877920416CAC8BFB5A363041104D840DA179204101000000020000000001000000FFFFFFFF0000000003, CAST(1589064 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1590717, N'{321A8DB2-0E78-4D2C-9EC9-CF9634325FD3}', N'004572645', 1660, N'VIP13444', NULL, N'4572645', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', NULL, NULL, N'LOT 3, DISTRICT LOT 79, NANOOSE DISTRICT, PLAN 13444, EXCEPT PART IN PLAN, 41577', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2021-12-08T14:51:18.000' AS DateTime), 1049, 131, 0xBD0B0000010405000000DA8AFD05AD443141C003E70CE4E11C41B1E1E91592443141C0802642F9E11C410A2428BE99443141E065F7E48EE21C414CEA04B4B4443141606666E679E21C41DA8AFD05AD443141C003E70CE4E11C4101000000020000000001000000FFFFFFFF0000000003, CAST(1590717 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1591018, N'{B5F1F3EA-AE52-4BF9-927A-2A95AE04F208}', N'010488791', 252464, N'PGP1329', NULL, N'10488791', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 117', N'', N'', N'LOT 117 DISTRICT LOT 4377 CARIBOO DISTRICT PLAN 1329, EXCEPT PLANS H226 AND 18606', N'0112', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2021-12-31T08:23:52.000' AS DateTime), 7418, 447, 0xBD0B000001040B000000270F0B95A67D3241F8FBA9F1F9752E410FE9B76F367E3241504CA60A08762E410B24289E597E324140DF4F4D0B762E41CA8CD86A5B7E3241F0B23720FE752E415983771E5D7E3241D0B3D3E5F0752E41A27DECB85E7E3241A8A5E29EE3752E41775C203A607E324180FF234CD6752E41DE6CFDA1617E3241E0E357EEC8752E4146696FF0627E324108143F86BB752E41C0CAA185A87D3241708863DDA8752E41270F0B95A67D3241F8FBA9F1F9752E4101000000020000000001000000FFFFFFFF0000000003, CAST(1591018 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1591829, N'{D7421EC3-BBA3-4E48-82D6-1DDB8D477819}', N'006192866', 491021, N'KAP23900', 90053493, N'6192866', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', NULL, NULL, N'LOT 1 DISTRICT LOT 700 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 23900', N'0163', N'0019', N'NO', N'ICF', 3, N'LSA', N'UNKNOWN', N'1', N'21719', CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-04-24T11:14:22.000' AS DateTime), 21678, 684, 0xBD0B0000010411000000D0DEE02B74A43741A0C64BB7E9021D417A7AA56C71A4374180C0CAA1F9021D4178711B0D46A4374160742497FC031D411CFBCBEECAA43741D081E2473E041D419E3C2CD44BA537413041F1637E041D41EAFDBB5A51A53741D0147E8069041D418A87652C57A5374190D7F4ED55041D4172DF26445DA5374180832DBD43041D4184B9C19C63A53741C0A2CFFD32041D41B1FABF306AA5374120D744BE23041D411F6C78FA70A53741E070AC0B16041D41B9490CA245A5374180AA60D41D031D4108F016687FA43741004182E2C3021D41151DC9A57AA4374160226CF8C0021D41AA2C437C79A4374100AC1CDAC7021D416C226CD876A4374110F46CD6D8021D41D0DEE02B74A43741A0C64BB7E9021D4101000000020000000001000000FFFFFFFF0000000003, CAST(1591829 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1592113, N'{41EFA8C8-D087-4789-83C2-FB722436FF3B}', N'005700698', 495877, N'NEP595', 90054439, N'5700698', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 21', N'Block 18', N'', N'LOT 21 BLOCK 18 DISTRICT LOT 208 KOOTENAY DISTRICT PLAN 595', N'0056', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:43.000' AS DateTime), 240, 64, 0xBD0B0000010407000000D219511A8D2F3941904160E563DF214194A0F8918C2F39411018955450DF2141450C026B782F394118AE47215CDF2141BC42ADE97B2F3941D0E76AAB73DF2141BC270F4B8D2F394150B7408269DF214196BB96308D2F394128211FB466DF2141D219511A8D2F3941904160E563DF214101000000020000000001000000FFFFFFFF0000000003, CAST(1592113 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1592540, N'{9165D481-4166-4F9B-B76B-0D799E140852}', N'009308172', 128441, N'VIP111', NULL, N'9308172', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 28', N'', N'', N'THAT PART OF LOT 28, SECTION 4, VICTORIA DISTRICT, PLAN 111 SHOWN ON PLAN 14 RW', N'0153', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:39:52.000' AS DateTime), CAST(N'2019-01-05T10:23:27.000' AS DateTime), 1667, 268, 0xBD0B0000010490000000A5F1D2ED03393241D062EEDA69761741B8CB168404393241F095D55A6676174174A5791005393241C0C075C1627617415C92B7920539324100AE8C105F7617416D8E910A06393241B08CE3495B761741989CCD770639324110114E6F57761741ECE236DA063932410093A98253761741F541BFDE06393241E017B8855076174174EA6CDE0639324130E48F884D761741EFE93FD9063932417020AF8B4A761741DE1A39CF06393241F0E9938F477617417B245AC006393241603EBC9444761741747AA5AC06393241B0E3A59B41761741EAF6465506393241E0B3D9743E761741CE1C52ED0539324150F3286E3B76174158F5817505393241606F058D387617411811AEEE0439324110669DD6357617414804C959043932419033D24F337617411DB2DEB70339324130892FFD30761741046B120A033932415042E3E22E76174179E09C5102393241D0DCB5042D7617413DE8952B01393241F0ED48342A7617415CC53B1700393241E0A878FB26761741FBA1DD16FF383241F07829612376174143E89F2CFE3832414058106D1F76174128AD775AFD3832412054A2271B761741A18026A2FC3832411075029A16761741F80FE9B7F7383241A05CFEC31976174175E09CF1FB383241D05374246C7617413980B7E0FE38324160AF0367BF761741BC4082820039324190C7293A13771741DD0B93A900393241D0ABAD5820771741ED41CF86FE38324180C807BD207717413D82E247FF38324100B7D18061771741BBAF034717393241606C787AF17717416E787AA51439324110B9FC870F7717415DE3C28B1439324190D8F1930777174108F3706F14393241407874A0FF761741F7D7845014393241303A92ADF776174132C7FE2E14393241F0BD58BBEF76174135FADE0A1439324100A3D5C9E7761741ECAE25E413393241108716D9DF761741E3D58CCC1339324190B57EF3DF761741250594B513393241E0719915E07617413B56639F1339324100332B3FE07617413285218A133932412069EB6FE076174130ADF3751339324190FA84A7E0761741AC07FD621339324130DA96E5E0761741DAAE5E511339324160AEB429E1761741E063374113393241F08F6773E17617414759A3321339324100D92EC2E1761741A501BC2513393241D0058115E27617410230721C1339324160D10776E27617417303231113393241900E0BD3E2761741B282E3031339324160D0DD2BE3761741584FCCF412393241B0F1DA7FE3761741E277F9E312393241404B66CEE3761741A9438AD11239324140D5ED16E4761741C1F8A0BD1239324180B6EA58E47617411A9C62A812393241F03FE293E4761741DDACF6911239324110CF66C7E4761741BCDA867A12393241A09B18F3E4761741C9B83E6212393241B068A616E5761741186C4B4912393241801CCE31E57617411158DB2F12393241B0395D44E57617411EC81D1612393241F03F314EE57617419C9742FC1139324100E8374FE57617411CD979E211393241704A6F47E5761741D87CF3C811393241A0DFE536E576174194F7DEAF11393241E066BA1DE57617417BEA6A971139324120AB1BFCE476174159CCC47F11393241E02E48D2E4761741209518691139324130B58DA0E47617411E6C90531139324110B44867E47617419659543F11393241E0A3E326E476174179FC892C11393241B03ED6DFE37617414244541B11393241809EA492E37617411F30D30B11393241A048DE3FE3761741809323FE1039324140221DE8E276174157E05EF2103932412053048CE2761741E7F79AE81039324190153F2CE27617411602EAE01039324110797FC9E1761741924B5ADB10393241E0147D64E1761741682BF6D71039324170B6F3FDE076174198AF4BA810393241D0F611D1DA7617417C5CCD7E1039324100E567A1D476174140C87D5B103932414035586FCE76174145265F3E1039324110C5453BC87617413547732710393241D08E9305C2761741C498BB1610393241B0A8A4CEBB76174192BAC0181039324100315A2BBA761741252AF31110393241D00BDE88B8761741B43E5F0210393241105727EAB6761741303A21EA0F393241605A2652B5761741181665C90F393241D030BFC3B3761741C73366A00F393241508BC441B2761741A0F06E6F0F3932413091F2CEB0761741321FD8360F393241C0EAE96DAF761741266608F70E393241C0FB2A21AE761741FD8573B00E393241405C11EBAC761741208799630E393241E08ECFCDAB76174187D105110E39324160066BCBAA761741FA2F4EB90D393241407AB8E5A97617415BC0115D0D3932419094581EA9761741D6D2F7FC0C39324180FDB476A87617419EBAAE990C39324140CDFDEFA77617417691EA330C3932415062278BA776174144F163CC0B39324130A7E848A7761741DCF2CD2A0B393241D0154C05A7761741D765ED890A393241909696AAA67617411B19F7E90939324140F0E538A6761741948E1F4B09393241E0735FB0A57617412CEA9AAD0839324160F22F11A57617417BE09C110839324190AC8B5BA47617412BD9D891073932419087E3DDA27617410477201B0739324140D00D34A1761741725167AE06393241D04174619F761741B17C8C4C06393241203BD4699D76174150C058F605393241C01437519B76174114FB7CAC05393241A0D5E91B997617411EB8906F05393241A06274CE96761741F6F7104005393241D02F906D9476174120305F1E0539324100921EFE917617411183C00A0539324110B81E858F761741D966DEF304393241809548668B7617410917B4D304393241A053544B877617410CD04BAA04393241406590358376174137BFB27704393241D09449267F76174190FEF83B04393241909DCA1E7B761741CC8F31F703393241C0BF5B2077761741C09384D303393241306E8A4876761741AD84BBB403393241F074FE647576174170A1139B0339324160857C77747617417EF4BF8603393241F020DD81737617412BEEE87703393241E0EE0886727617417214AC6E0339324110EEF4857176174112C81B6B0339324180929E8370761741F21F3F6D03393241D0CE07816F76174137DB117503393241F01433806E761741836984820339324180581F836D761741240A7C9503393241D014C48B6C7617411D01D3AD03393241B0620D9C6B76174142E258CB033932415029D8B56A761741A5F1D2ED03393241D062EEDA6976174101000000020000000001000000FFFFFFFF0000000003, CAST(1592540 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1592789, N'{163FE4DF-896E-4A95-9FB4-AEF834FE6F9C}', N'001567373', 117903, N'VIP877', NULL, N'1567373', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 4', N'Block 12', N'', N'THAT PART OF LOT 4, BLOCK 12, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:01:24.000' AS DateTime), CAST(N'2019-01-05T10:24:20.000' AS DateTime), 307, 71, 0xBD0B00000104050000008C1F63EE8936324190D40968458F1741161DC9058436324100C05BA0F88E1741F3B0506B75363241D0AF03670A8F174169B3EA537B36324160567D2E578F17418C1F63EE8936324190D40968458F174101000000020000000001000000FFFFFFFF0000000003, CAST(1592789 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1593764, N'{0E2A6B7D-7DCC-4A74-8F79-EABF055C5F83}', N'007507887', 871820, N'KAP21418', NULL, N'7507887', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1 SECTION 31 TOWNSHIP 20 RANGE 17 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 21418 EXCEPT PARCEL A ON PLAN H15744', N'0055', N'0028', N'NO', N'ICF', 0, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-05-13T15:43:28.000' AS DateTime), 1231, 171, 0xBD0B0000010407000000A64E403324533541E8A4BD4117EB2341ECAE25C463533541F065F7A4E3EA234110E9B7EF5C533541805DDCC6C1EA2341EEEBC05946533541E8E2361AD4EA2341905CFEC3235335419079C729F0EA2341EEFDD4981F533541284CA68AF3EA2341A64E403324533541E8A4BD4117EB234101000000020000000001000000FFFFFFFF0000000003, CAST(1593764 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1593926, N'{5783A762-6BF0-44FB-892E-44A61822216E}', N'001591452', 141191, N'VIP1291', NULL, N'1591452', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'Block 8', NULL, N'THAT PART OF LOT 5, BLOCK 8, SECTION 9, ESQUIMALT DISTRICT, PLAN 1291 INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0154', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:27:17.000' AS DateTime), CAST(N'2020-05-13T16:42:44.000' AS DateTime), 79, 42, 0xBD0B0000010409000000F6EDEB406F2B3241307B832F499B17410F449881712B32415051D843499B1741547E49C2732B324190B30C3C499B1741E2A9E902762B3241A0EE2018499B174169D46243782B3241106016D8489B1741220D9F837A2B3241E077EF7B489B1741946588C37C2B324120B8AF03489B1741A189B0E1702B3241106822EC1A9B1741F6EDEB406F2B3241307B832F499B174101000000020000000001000000FFFFFFFF0000000003, CAST(1593926 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1594399, N'{271BA0F5-35B4-43FB-83B7-4B1C5B61036F}', N'015937445', 252487, N'PGP727', NULL, N'15937445', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 2', N'Block 32', N'', N'THAT PART OF LOT 2 BLOCK 32 DISTRICT LOT 933 CARIBOO DISTRICT PLAN 727 AS SHOWN IN RED ON PLAN 26804', N'0112', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:41:06.000' AS DateTime), 50, 32, 0xBD0B00000104050000000CAC1CDA128332419889B061994A2E41460C02AB1C83324120DF4F0DA34A2E41D58173E61C83324120DE0209994A2E4160984C1513833241803F355E8F4A2E410CAC1CDA128332419889B061994A2E4101000000020000000001000000FFFFFFFF0000000003, CAST(1594399 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1594407, N'{4C97CAF7-001C-413C-A0A4-C416DB9DE5A1}', N'010465103', 252487, N'PGP727', 5675941, N'10465103', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 13', N'Block 31', N'', N'LOT 13 BLOCK 31 DISTRICT LOT 933 CARIBOO DISTRICT PLAN 727', N'0112', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-17T18:41:06.000' AS DateTime), 363, 93, 0xBD0B000001040500000009B5A659D4823241507B83EFD2492E41FC3A708ED5823241A859F539E7492E41B6AF03C7F8823241687FD97DEA492E412B871679F9823241B0E1E995D6492E4109B5A659D4823241507B83EFD2492E4101000000020000000001000000FFFFFFFF0000000003, CAST(1594407 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1594434, N'{0CD4C95C-4736-49CD-97AA-DC1F741AC567}', N'008235864', 117903, N'VIP877', NULL, N'8235864', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 26', N'Block 9', N'', N'THAT PART OF LOT 26, BLOCK 9, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED IN PLAN 8 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:14:46.000' AS DateTime), CAST(N'2019-01-05T10:55:13.000' AS DateTime), 7, 13, 0xBD0B0000010406000000B9D1007EFC38324130F775E0D88C17419C45B6D3FA383241407E8C39D68C174121B07228F9383241C0E3149DD38C17413911367CF7383241E0B9DA0AD18C174120EBE276F83832415080B7C0DD8C1741B9D1007EFC38324130F775E0D88C174101000000020000000001000000FFFFFFFF0000000003, CAST(1594434 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1595458, N'{D66107E1-6709-434D-83E1-4DC9BBF123FD}', N'007428359', 118430, N'VIP1397', NULL, N'7428359', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 22', N'Block 2', N'', N'LOT 22, BLOCK 2, SECTION 33, VICTORIA DISTRICT, PLAN 1397, EXCEPT PART LYING TO THE SOUTH EAST OF THE RIGHT OF WAY OF THE CANADIAN NORTHERN PACIFIC RAILWAY AS SHOWN ON PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:46:55.000' AS DateTime), CAST(N'2019-01-05T11:03:53.000' AS DateTime), 438, 91, 0xBD0B000001040600000061CC5DCB8B3A3241B0B96B09D9931741809ECD8A773A324130A60A460C941741E4A59B248B3A3241C0C5DC353194174116C05BA0953A3241403255B016941741B3B6625F9F3A3241C0B8FC07FE93174161CC5DCB8B3A3241B0B96B09D993174101000000020000000001000000FFFFFFFF0000000003, CAST(1595458 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1595569, N'{6B039C4C-5FFB-4111-B21E-FF2B1C8BAD15}', N'010319344', 290066, N'PGP6416', 36072391, N'10319344', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 4958 CARIBOO DISTRICT PLAN 6416', N'0163', N'0002', N'NO', N'ICF', 5, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2019-01-11T18:31:32.000' AS DateTime), 24459, 767, 0xBD0B0000010408000000E6E2367A3FE5324178A301FCF0E22A41E3BE0EDC8AE5324150B81E85F8E22A4175711B4D8EE53241F0B050EBF8E22A41BFA8A40E99E5324158FE437AAFE22A41C0C117E6E4E53241A811A53DCAE02A417A832FCCDDE53241E8ACFA9CC6E02A415B302A6991E53241E8D091DC9CE02A41E6E2367A3FE5324178A301FCF0E22A4101000000020000000001000000FFFFFFFF0000000003, CAST(1595569 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1597609, N'{0D49E433-B474-4A2D-86C0-1333CFF6C12F}', N'015176517', 3, N'NO_PLAN', 90054801, N'15176517', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'A', N'6006', N'', N'PARCEL A (P26123) OF DISTRICT LOT 6006 CARIBOO DISTRICT', N'0163', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2018-01-09T12:19:44.000' AS DateTime), 60689, 1233, 0xBD0B000001040800000020166AEDB4F03541B037F8826EA92B41D934EFF890F0354108DCD70168A92B4133DD244601EF35416095434B1EA92B41CFD5568CE7EE3541589D80E646AB2B41BA1E856B6BEF3541B81B7CE1BFAA2B41F57E6A1CC7EF35416812830062AA2B41151DC9C5CCEF3541C0FC87345CAA2B4120166AEDB4F03541B037F8826EA92B4101000000020000000001000000FFFFFFFF0000000003, CAST(1597609 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1597893, N'{7EB06A54-26D4-4618-BEF5-637FC9FEA956}', N'014075229', 3, N'NO_PLAN', NULL, N'14075229', NULL, N'7078258010', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'B', N'6451', N'', N'PARCEL B (SEE 114662I) DISTRICT LOT 6451 KOOTENAY DISTRICT EXCEPT PLANS NEP61545 AND NEP63196', N'0163', N'0004', N'NO', N'ICF', 7, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-01-09T12:29:15.000' AS DateTime), 42643, 1288, 0xBD0B000001041600000005780B4419923841083867445D2E2041A48251E93591384100F775A02A2E2041173FC6FC6D903841B03E571BFE2D204135D6C54D69903841F0E461A1522E204164226CF86290384110AAF112C52E20411FF46CD62A913841804F1E96F12E2041A9825109AC91384108D9CE370E2F2041BED32BC5BB913841589D80A6F32E204100000020D8913841F05E988CE92E2041F55C6DC5F991384188810485BA2E204105780B4419923841083867445D2E2041A782516922923841A8B437B88C2E2041B21C5A240892384100F775A0222F2041F0C9C3222F9238410897FF502B2F2041E02D908031923841F861A156FB2E20411C95D4493592384150567D2EDE2E2041903A018D3A92384138E336DAC22E2041B0506B3A4492384170B740828F2E204132DF4FAD4E923841E8490C826D2E20416EC5FE5250923841D04A5986692E2041C9A145F62F92384190CE8852622E2041A782516922923841A8B437B88C2E2041020000000200000000020B00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1597893 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1598097, N'{992E57CA-2B67-49A2-874A-B55007C0F6AE}', N'010432817', 3, N'NO_PLAN', NULL, N'10432817', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 5', N'10', N'', N'THAT PART OF THE EAST 1/2 OF SECTION 5, RANGE 10, SAHTLAM DISTRICT, CONTAINING 4.869 ACRES MORE OR LESS AS SHOWN COLOURED RED ON PLAN ATTACHED TO DD 14182I', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 42, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T21:29:24.000' AS DateTime), CAST(N'2019-01-07T18:33:27.000' AS DateTime), 22208, 840, 0xBD0B00000104050000004B499D0052BE314190F01648DD8319412C992A98A7BE314160EC2F3BE783194177BE9F7ABEBF314120992A187D821941C68F317754BE3141002DB21D508219414B499D0052BE314190F01648DD83194101000000020000000001000000FFFFFFFF0000000003, CAST(1598097 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1598199, N'{8189E611-F633-41DB-B63F-69E079E1A943}', N'003771482', 14887, N'VIP18723', NULL, N'3771482', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1, DISTRICT LOT 54, OYSTER DISTRICT, PLAN 18723 EXCEPT THOSE PARTS IN PLANS 43949 AND VIP53101', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 29, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T18:27:37.000' AS DateTime), CAST(N'2019-01-07T18:32:21.000' AS DateTime), 1754, 190, 0xBD0B0000010407000000F4FDD45808A53141602AA913F0661B41FCCBEE491CA53141309B559FA4661B41B08BDB4826A5314110651962A5661B41EB6A2B7626A53141E020B07289661B41A860549227A5314140E561A1D5651B414F40138108A531414019E2D8D8651B41F4FDD45808A53141602AA913F0661B4101000000020000000001000000FFFFFFFF0000000003, CAST(1598199 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1598292, N'{5A9C6395-58DA-4F80-9884-8074007547C8}', N'010295518', 3, N'NO_PLAN', NULL, N'10295518', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 6', N'5', N'', N'THAT PART OF SECTION 6, RANGE 5, SAHTLAM DISTRICT, CONTAINING 6.48 ACRES MORE OR LESS, SHOWN COLOURED RED ON PLAN 72 RW', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T17:31:12.000' AS DateTime), CAST(N'2019-01-07T18:31:59.000' AS DateTime), 26122, 1761, 0xBD0B000001043700000076F2B07021B0314120D26F5FAC831941142FDD8422B03141305305232F831941648863FDFCAF3141A09ECDAA03831941405E3F27E8AF3141E02686DEF1821941A07412FFD2AF3141F02FE2CBE782194179BD96B2BDAF314180ECA688E582194158A3D46FA8AF31412040B819EB821941238CBF6493AF3141B02E0E73F8821941CC88D2BE7EAF314110D9CE770D831941C7FEB25B3CAF314130E6AEA55E8319411046737927AF3141D095FA5274831941F2F0CB3312AF31418050EBBE828319417159FDB2FCAE3141702537CE89831941EAC7B71FE7AE314110478273898319413375CEA2D1AE3141005A78AF818319418F4AEA64BCAE31415029CB907283194157643B3FB5AE314170ED7CBF6B83194110C7BAB8AFAE3141F0C0CA2166831941385EBAC9B2AE314130FF217D26831941DA3D793886AE314140575BB1FE821941890D4F4F82AE3141C0C1172638831941C3EC9E3C63AE3141E0A59BC416831941A72C437C5CAE3141C0FA5CED0F831941A50FED0547AE3141E002C47CFF82194190AE6B4731AE314170AA16CEF68219412B63846D1BAE3141806635F3F5821941B2F034A505AE3141D0E2E2EDFC82194119E1561BF0AD3141E060C0AF0B831941AA2C43FCDAAD3141D0506B1A22831941CF4D6250F7AC3141D0839E4D428419412E211F34F6AC314170204171BC841941733D0A57E6AD3141C0B9DA0A9483194119723054F8AD3141B041046381831941051F78A70AAE314130C02A0975831941E677982D1DAE3141302D16156F83194196C9E6C22FAE314110123D926F831941B5269B4342AE3141F073AE7F76831941964C158C54AE314140A913D0838319412E4CA6EA59AE314180B515FB8883194187DB6840B8AE314110B684FCE88319410E71AC2BBDAE314120CB10C7ED831941E46B9C23D1AE314120BD56DAFC831941FF1B025AE5AE314180A66C3E05841941C6B920ABF9AE314150877CE406841941203E0CF30DAF3141A0219CC9018419410FE6E80D22AF3141D020D2F6F58319412C992AD835AF3141E0240681E3831941BE5B20018EAF3141203CBDD2818319419891A4799EAF3141D0559A987283194148499334AFAF31418016F8E5688319416C164714C0AF3141E0C205CC648319416864D9FAD0AF314170E0075266831941AE7257CAE1AF3141E0544B756D8319410366F764F2AF3141F02F2A297A83194176F2B07021B0314120D26F5FAC83194101000000020000000001000000FFFFFFFF0000000003, CAST(1598292 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1598544, N'{9076246A-51EB-4D6F-AAFB-E143EA8B22F7}', N'013799002', 3, N'NO_PLAN', 33038031, N'13799002', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART E2NE4', N'3', N'22,11', N'THAT PART EAST 1/2 OF THE NORTH EAST 1/4 SECTION 3 SHOWN ON PLAN B2003 TOWNSHIP 22 RANGE 11 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT', N'0163', N'0006', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:22:34.000' AS DateTime), 119, 44, 0xBD0B000001040500000000F775A0C04B364100394507C0722441EAC03983BF4B364198180456D8722441C286A737C94B364158621018DA7224416ABC7453CA4B364180832FCCC172244100F775A0C04B364100394507C072244101000000020000000001000000FFFFFFFF0000000003, CAST(1598544 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1599374, N'{B00FDD25-29A0-4C37-96F0-871502234C43}', N'001668323', 3191875, N'VIP1215OS', NULL, N'1668323', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'', N'', N'', N'THAT PART OF THE UNNUMBERED PORTION OF MALAHAT DISTRICT SHOWN COLOURED RED ON PLAN 1215 OS LYING BETWEEN THE SOUTHERLY BOUNDARY OF MALAHAT DISTRICT AND THE PRODUCTION WESTERLY OF THAT PART OF THE SOUTHERLY BOUNDARY OF BLOCK 169 OF SAID DISTRICT JOINING POSTS 13 AND 14 OF SAID BLOCK AND CONTAINING 61.34 ACRES MORE OR LESS', N'0163', N'0005', N'NO', N'ICIS CADASTRE', 22, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:03:01.000' AS DateTime), CAST(N'2019-01-10T15:02:46.000' AS DateTime), 108550, 6954, 0xBD0B00000104A50100002FFF213D88D7314190976E127FB4174155CF765D88D73141A07D6CC075B41741F4CA9B7B88D73141A021F56D6CB4174186D7909788D7314150B9101B63B4174168DC55B188D73141207AC7C759B41741F7C2EAC888D73141F09A217450B4174162764FDE88D731414052272047B41741662BF6B788D73141D0499D8099B31741BFC1176685D7314140401361ECB2174114E9B7EF7ED73141105530AA40B217413DCF66F57CD73141F053E3A517B2174104D578C97AD7314150F085C9EEB11741CECCCC6C78D7314120992A18C6B1174102BC05D26ED7314100295C8F3CB11741A311A5DD62D73141406C78FAB5B0174124D26F9F54D73141E0B4A6F932B017411153DEBE4FD73141C01C19610BB01741A25600A84AD7314190DE7A36E4AF17412EA6705B45D73141B02F737EBDAF1741EF6BD0D93FD7314110A79B3D97AF17413220C7233AD7314190B27F7871AF17412575023A34D73141F00E9C334CAF17417D5149DD31D7314190A757CA3DAF1741235A64FB2FD7314160014D8432AF1741C1051294F0D6314190386744C1AD1741FFD47869CED6314180B1BF6CEEAC17418304C54FC5D6314100E78CA8B2AC17410388F47BBDD63141F0BD301974AC1741B6DA8AFDB6D63141E00B932933AC174122DBF9DEB1D63141103B704EF0AB17415BB36F70AED63141B0EE83F1B7AB174133D3502EACD63141805CF8A37EAB17416C1E8D1CABD63141D042B4C944AB174149DC013DABD6314160B493C70AAB17416B77768FACD63141C042B802D1AA174175E09C11AFD6314180ADD8DF97AA17413208AC7CD0D63141803F355E36A8174178504B21D3D6314100F1CC68F8A717413C848877D4D6314180017BC8B9A71741DC5EFC7CD4D6314100ECD5ED7AA71741E6129D31D3D631414005DD493CA71741C65BBE97D0D6314100592D4DFEA61741D44E0DB4CCD6314140343767C1A6174133F3878DC7D6314180CF750586A61741CAAF702DC1D631419079AA924CA61741C1A53D9FB9D63141D0AE1C7615A617419F1584F0B0D63141F06AE012E1A5174110F4DF30A7D63141B00A24C7AFA5174102DAD7719CD6314190FA86EB81A51741A582BDC690D6314100657AD257A5174165108B4484D63141A0FBACC731A517415456BD0177D6314100E7820F10A51741E56A2B1669D6314120D49AE6F2A4174180B740A25AD6314170014D84D7A4174140B629974FD6314150E660AAC1A41741B6B040BB44D63141D0A72162AAA417418EDE7C113AD631412012EBB191A4174193C5C79C2FD63141A03E7BA077A41741046EFC5F25D6314170C2F0345CA41741DB9AE65D1BD63141A0B4C8763FA417413A1AC0BBF0D53141A033A2B4C2A3174130DD2406ECD5314130FF217DB8A317418BC954C1DBD5314180AC8BDB89A3174121B9FCE7D6D53141607FD9BD7BA317412363EE3ACDD5314170A60A465FA317418716D9CEC6D53141C00AD7234CA31741ADD85F36C5D53141701AC05B47A3174102917E9BC3D531411070CE8842A317419A900F3ABDD53141B0ED7C3F2FA317417DFB3AB0B3D5314110984C1512A31741AD59F559ADD53141C0FEB27BFEA2174124CB10C7ABD531410071AC8BF9A2174144EA0434AAD53141B0E6AEA5F4A2174195FF909EA8D53141007D3FB5EFA2174180E2C778A5D531411086C9D4E5A2174193CB7FE8A3D531417063EEDAE0A21741093D9B55A2D53141A067B3EADBA2174160E5D0C2A0D5314140696FF0D6A2174172D712129CD531410093A902C8A21741B247E1DA87D53141F0482E7F86A2174107A3923A83D53141C07D1D3877A2174102327AE57FD531411018AB216CA21741A66CFF917CD53141D007780361A217417E73234079D53141101288DD55A217419D66E7EF75D53141B0FDDEAF4AA2174178654CA172D53141B094807A3FA21741F38E53546FD53141D0A3703D34A21741C9E53FC46AD53141D075E09C24A217413455223563D53141C0F6C06A0AA21741BDA16EAF5BD5314100F4690DF0A11741A13C343354D53141D08D1185D5A11741AC8382C04CD53141203BEED1BAA117411BC1685745D5314130CC36F49FA11741692BF6F73DD53141106822EC84A11741DC3D791838D53141100C93296FA11741E285312C35D53141E055EB3B64A1174159E55D4132D5314130940E4859A11741222FFF572FD5314110DFFF4D4EA11741BD3516702CD53141304FC24D43A1174142CBA38929D53141E000594738A1174158C1A8A426D531419010C73A2DA117418C7CD033FCD43141A0A0F8B18AA01741ACF5596AF0D431414037CD3461A01741013863D0E3D43141C0DE1FBE3BA017412E31DB7BD6D431415093258F1AA017418389F583C8D431416035A0E1FD9F174182410201BAD4314130FF79E7E59F17410061430CABD43141B0A76ECAD29F17418500C1BF9BD43141A0BCC2ABC49F174147FA1B368CD4314140BB09A4BB9F17412A915F8A7CD43141F04AFBC2B79F1741565ED2D76CD43141B0E0570FB99F1741F0D7C6395DD43141F0FEDC86BF9F1741C5C26BCB4DD431410025491ECB9F17415AE29CA73ED43141C0656FC1DB9F17415C39B4E82FD4314180855A53F19F1741F8FCDB9225D4314100BDB95C00A017411A96E2FD1AD4314160A51E580CA017415464343810D431412057343515A01741702A805005D431412006E6E71AA017411E0BA355FAD3314160796F681DA0174170469456EFD3314130A167B31CA01741ED51E377EDD33141301100321BA01741E2218997EBD3314190D437D319A0174168C6ADB5E9D33141D02D2C9718A01741AE6F79D2E7D33141E077F77D17A01741BC6A14EEE5D331411027B18716A01741E51DA708E4D33141B0C56DB415A0174191A7CD6DD7D33141605CEBC90BA0174149A84315CBD331413066DF95FD9F1741BA4E5216BFD3314190EF1333EB9F1741EECB9987B3D33141A09736C4D49F1741C2A6E67EA8D3314170259773BA9F1741379E08119ED3314190BBD7729C9F17419468AB5194D33141F0398FFA7A9F1741869931538BD33141B081DE49569F1741BAF4912683D331410065F9A52E9F1741176F37DB7BD33141801FA459049F17411D1AE47E75D33141D04FA6B4D79E1741DA30971D70D331418081340BA99E17412D7776C16BD33141F05851B5789E17412916BB7268D33141D092270E479E17414E19A23766D33141F0105E73149E174165AA601465D3314100386744E19D174138014D845BD3314190E4F29F7A9A1741CDEB050C5BD33141806B6B7A439A17418ABA14C95AD33141C0AA3B4F0C9A1741D7567DBB5AD3314180ED9C21D5991741028C40E35AD33141B0A4C8F49D9917413A075C405BD33141A033F8CB66991741A757CAD25BD33141E0C264AA2F991741C30512B463D3314130BD5216F2961741D6A370BD63D33141F0EAE2368F9617411E003D6162D33141C0D88EC14296174157CE7C5D5FD33141C0D4130FF7951741CE4204B85AD33141F0C4CEB1AC951741BE3ECF7954D3314180D488396495174129F1EFAE4CD33141306A61321E9517411B80776643D33141A03EBF23DB941741A7E658B238D33141008C4A8F9B9417415A4046A72CD33141405CF2EF5F94174129C5885C1FD33141F0D8FEB8289417415EC3D3EB10D3314160613255F693174146E17A740CD33141304CA60AE89317411412A34B02D33141A0785EC0C8931741ADB6B5D0F7D231416009A333AB93174161327708EDD2314100FCE4718F931741D913CFF7E1D231419082C48775931741EAD9C5A3D6D23141304A0B815D9317418FA98211CBD23141901DA76847931741E86C0887C3D2314190E6BD6639931741C4022105BCD23141703EE31B2B9317411D84F88BB4D2314100196B881C93174171D6BA1BADD231413014ABAC0D931741ECAA93B4A5D23141A076FA88FE921741587DAE569ED23141002DB21DEF9217418295438B93D2314170AF94E5D89217416207CEB988D2314140BC7413C1921741BA486DFE79D2314170D8A6C39C9217413E50AA236CD23141B05B0B4B73921741F13758465FD23141B050EAFF4492174109D03A8153D23141603594421292174184EFCEEC48D231419095997CDB911741E181179F3FD23141506DEF1FA191174168BB6FAB37D23141600E02A663911741D2D3622231D231413084B88E23911741F49A89112CD23141B0766A5FE1901741B12E6E8328D2314180C0CAA19D901741DE9C110516D23141E05BB13FD68E17417AE8575612D2314120B6EBCF8F8E1741AAEA191A0DD23141A0AF60F74A8E17413F75FB5A06D23141003FFB41088E17416A9DB226FED13141E05A4E37C88D1741ECDDEB8DF4D13141E07881598B8D17413B3428A4E9D1314100054824528D1741027D957FDDD1314150FCE50B1D8D1741E260E138D0D13141D0A0437CEC8C1741DF2C07EBC1D13141F02E12D8C08C174151FC18B3B2D13141E04603789A8C1741A6A82993A6D13141306A9E847C8C1741F2E3D8DD9AD13141707723065C8C174129A0AD9B8FD13141C0C73C14398C1741DDF2DAD484D13141A0A75DC8138C17413A1C3A917AD1314120CFAF3DEC8B174110D044D870D13141A097FF90C28B1741CD44D89048D1314120E4839EBC8B17417D6132D53DD131414070CE08BB8B1741E7482E9F5DD13141608A1FE3238C17411DA7E8A85DD1314170BDC117248C1741AC8BDB085FD13141608638D6298C1741D9E76A6B60D13141802A18952F8C1741EFB0502B63D13141A0293A123B8C1741117A368B64D131411063EEDA408C17419E5E29EB65D1314120BE3099468C1741AABDC11766D13141A0C7293A478C17416107CE3978D1314110917EFB928C1741C086A777C9D13141B09AE61DD78D174151499D40DBD13141F0DF4F8D3D8E17419DCDAACFE6D1314190537424AF8E1741749318E400D23141B09BC4202F9017410624285E0BD23141D0CAA1C5389117412E55308A13D231419005A392999117416DB515BB26D2314170F8C2640C92174193976E9231D23141A0E61DA72A921741557414043CD23141C01E6F096092174196A4BA7147D23141C0B52A17929217417F3C72CA53D23141209F2686C0921741BA03F0FB60D23141F0F69511EB9217416A90A7F26ED2314150F36E7A11931741433EE8997DD23141704BC88733931741FDDD02898FD23141E04D62905993174174018AD892D231412068A48D60931741124EDE2996D23141C0472E7D679317413236FC7C99D23141A07EF85E6E9317412D2AE0D19CD2314140AEFB327593174191988628A0D23141208630F97B931741F8EDEB80A3D2314130C58FB1829317411EDBF9DEA8D23141A0CCCC4C8D931741A54E4073ACD2314110CCEE4994931741A34C0AAFAED23141C0FE23EB989317410B4318F1B0D23141D0DEAD5A9D931741E62B2539B3D23141E0D40498A1931741FA49EB86B5D231417048A7A2A5931741103124DAB7D2314180AF197AA993174173CE8832BAD23141809AE61DAD93174144E3E6BABFD23141609497B9B7931741636DBF38C5D2314100A064ABC29317414AABBEABCAD2314170D1A6F2CD931741D4809113D0D231416025B28ED9931741617CE56FD5D23141008BD57EE593174187DB68C0DAD2314170EE5AC2F1931741E3581717F6D23141C04603F83C941741F87FC7A8F6D23141701A6F783E941741A6D39837F7D231417018B80940941741B31A6CC3F7D23141608686AB419417418AC3224CF8D23141200B7F5D4394174192EA9ED1F8D2314190C8421F459417411161C353F9D2314140696FF046941741C6BAB8CDFDD23141E0C7983B55941741B083867D0AD3314140D6129A8194174119524E2516D33141800F9A49B2941741CBE6A6AD20D33141901A64E8E69417418F5A68012AD33141E06BBF0C1F9517416F9CD60D32D33141D094E7455A9517413013C7C238D3314130C1E71C989517412E16C1123ED33141E0A88915D89517414FFC18F341D33141700D4FAF19961741C43A934143D33141C07020C9389617415BE5F13C44D33141F098B713589617417288C5E444D33141E0CF348177961741E6BAC33845D3314170E3A803979617412E3FC73845D33141B0571B8DB6961741A713D0E444D33141D096900FD6961741448B6CA744D33141B02A1815ED961741B8A679C73CD33141903B4ED1FE981741F653E3453DD3314110E78CA8319917411FDBF5AA3CD33141F0CF0C096A991741B307FD493CD3314160C5A371A29917415C40FF223CD33141809498DEDA991741FA17FF353CD33141C0C1314C139A1741794DFB823CD33141D0C6B5B64B9A1741FACBEE093DD33141B0506B1A849A1741C4B12E8E46D33141404CA68AE69D17417AB838F247D33141A036C6F8249E17416E1067B04AD3314170A37BAE629E1741C47E67C34ED33141C00A0F349F9E17418397522354D33141B0E81614DA9E17411413BBC55AD3314150855BDC129F1741A708C29D62D33141508BB41E499F174164E62F9C6BD33141F0B7DE717C9F1741C9F691AF75D33141B0154872AC9F1741E5395CC480D331414025D1C2D89F17416D510FC58CD331417083810D01A017410235629A99D3314120B62E0425A017419B5E6F2BA7D3314160CC136144A017415717E55DB5D3314100BB58E75EA0174158863816C4D33141A065886374A0174196AACEC5D2D33141102F28B384A0174177F2D8C2E1D33141F0B268C38FA01741D9F166EFF0D331410091307E95A01741A853292D00D4314110EB0DD895A017413765AE5D0FD4314140404DD090A01741E4E59E621ED4314190D3FA7086A0174134A2FA1D2DD43141009CCECE76A01741A66054723BD43141F0DD020962A01741DA9555D347D43141D04ED7DB4FA01741A5BE7D8954D43141409F10D441A0174130AA9F7E61D431415002290A38A017418A49209C6ED43141B043348F32A0174103201ECB7BD4314170FAC16C31A01741D92D99F488D4314100DDCCA434A017419A109B0196D43141104CB7313CA017418A125FDBA2D43141101F550648A017413FE3796BAFD43141A09F020E58A0174190B4009CBBD43141008AC82C6CA017410B77AF57C7D4314130D98C3F84A01741C0F30D8AD2D431411002501CA0A017415C82931FDDD43141103A7692BFA017411A1DC905E7D4314110431C6BE2A01741ABBDC1D70FD5314160355EBA7EA11741CCD197E914D53141A013C81992A11741D54F30001AD5314150AF3065A5A11741BC48861B1FD53141C053859CB8A11741E5C8943B24D53141B05EB3BFCBA1174121D8566029D53141E041A8CEDEA11741A779C7892ED53141B08251C9F1A1174101BC05F232D5314150D100DE01A217417B24975F37D53141B0F90FE911A21741D756ECCF3BD53141E064AAE021A21741D5A1958340D53141706B5BAD32A21741CCCB1E3B45D5314180A7A26843A21741EFCC83F649D53141C0CC711254A21741119AC0B54ED53141909EBAAA64A21741C224D17853D53141B0EE6E3175A217415B5BB13F58D53141309D80A685A21741137A364B5ED53141D0F21F529AA21741784F1E5661D53141B054C1A8A4A21741288716D962D53141808251C9A9A21741071B9E5E64D53141D0F97EEAAEA217418326C2E665D53141C0DEE00BB4A217412485EBF168D53141505F074EBEA2174107AC1C7A6AD53141A0416065C3A21741CC76BEFF6BD53141F047507CC8A2174168226C9870D53141A08026C2D7A217417C35097675D53141806F75CBE7A217411B9D23577AD53141007BC4C3F7A2174105A3B73B7FD53141507D07AB07A31741448EC12384D53141805D328117A317415BA33D0F89D53141200E394627A31741092428FE8DD5314170900FFA36A317419B438BAC9DD53141A0E09C1168A31741F953E365A2D5314130C1A8A476A317416EAC8BFBA3D5314140499D807BA3174134C4B18EA5D53141C0D0915C80A31741DFC7987BADD5314120FDF67598A31741082F1F66B0D531414006AC3EA1A31741FD299E51B3D5314150523602AAA317413926153EB6D53141402994C0B2A317412291832BB9D5314120D4C379BBA31741CCD7E819BCD53141109EC32DC4A3174137674409BFD5314190D191DCCCA31741AD726811C7D5314120AE4761E4A31741A7DCD25DCBD5314160A30FD9F0A3174148AC8BACCFD5314160E11444FDA31741718390FDD3D53141C09250A209A41741CE02DF50D8D5314190EDBBF315A41741C2C974A6DCD53141202B503822A417415E764FFEE0D53141B08D06702EA41741AADFBE4E0DD63141E0C342ADAAA41741783BAAFA17D63141E0CEE7BCC7A41741B11081E022D63141F0984D6CE3A417416FF36CFD2DD6314130B53EB4FDA417412A20894E39D63141704FE38D16A51741833CE3D044D6314110F4C2F22DA51741DC1B7C8150D63141403FC6DC43A51741937571FB5BD631411086C9D460A517410DF7FBA667D6314140EDB73C79A51741EE9E14C572D6314140D95C7895A51741E601B3417DD63141D0B1D854B5A5174194ACF10987D63141F030C298D8A517414830300C90D63141E0D18D04FFA5174109E6323898D631415054005328A61741912E407F9FD63141007BAB3954A61741FDFA3AD4A5D63141D02A746982A61741D06DBA2BABD63141A0F3208FB2A61741316A1E7CAFD63141A008F053E4A61741FEEBA0BDB2D63141D094335E17A71741910964EAB4D631412051F3514BA7174134867CFEB5D63141C03E92D17FA71741C8E1F8F7B5D631413054777EB4A7174142D9E4D6B4D6314120F5B7F9E8A717417D51499DB2D6314130F8C2E41CA817417CE2C73891D63141E04082E27DAA17417491E23F8ED63141901099A4C1AA17419C45AFB38CD63141E0433A2806AB1741172CF2968CD63141C02EEFF24AAB174109A3DEE98DD63141C01AC2898FAB17410BDE16AA90D63141C00C1A72D3AB1741C820B0D294D6314110EA953216AC17412E772DC19BD6314120643B5F63AC174187B0E169A4D6314190EBC0B9ADAC174108AC1CBAAED63141905452A7F4AC174140AD69DED7D631415033C43101AE17413108AC9C16D73141A059F53976AF1741F8EDEBE02AD73141402D211FFAAF1741EA2631683CD731417050FC1884B017419CB20C114BD731410039B44813B11741FC5C6DC556D7314180A223B9A6B1174131C4B14E59D73141A020B072CDB11741F7285CAF5BD7314110AA6054F4B11741EE41CFE65DD73141A01A2F5D1BB2174194B20CF160D73141202B879657B21741C317269363D731419051491D94B21741D1DEE0CB65D7314130B003E7D0B217412E2AA9F365D731410054E3A5D5B217413C575B1169D73141609FAB2D4EB31741994C158C6AD7314120A16733C7B317418AD2DE606AD7314100D1915C40B41741A0D6342F6AD73141901A2F5D55B41741EAF21FB269D73141407FD9BD7BB417412FFF213D88D7314190976E127FB4174101000000020000000001000000FFFFFFFF0000000003, CAST(1599374 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1600671, N'{54844B80-3B8E-4511-BC7E-D3AA3FDB9CCE}', N'000017507', 645957, N'VIP1279', NULL, N'17507', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 9', N'Block 3', N'', N'LOT 9, BLOCK 3, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:54.000' AS DateTime), 383, 96, 0xBD0B0000010409000000DCB5841C839D3041F061A15656BB1C41580E2DF25F9D3041304BC88752BB1C4135DF4FAD5F9D3041607DAEB67ABB1C418AF4DBD7849D304140363CBD7EBB1C41C97F48DF849D3041E0C876BE7EBB1C4191C2F5C8859D304150AB3ED77EBB1C41E07A140E869D3041305452A756BB1C412341F123839D30410087A75756BB1C41DCB5841C839D3041F061A15656BB1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1600671 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1600676, N'{F674C74B-28E4-4120-A70B-00FDE3A74D69}', N'000017744', 645957, N'VIP1279', NULL, N'17744', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 21', N'Block 14', N'', N'LOT 21, BLOCK 14, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:54.000' AS DateTime), 383, 96, 0xBD0B000001040D000000E6D0227B9C9D3041D057393490BD1C4107D7A330A99D304130E17A9491BD1C41EDFDD438A99D3041F0BCE39491BD1C41AD1C5AA4AC9D3041406A4DF391BD1C414D27A0E9AC9D304180F085C969BD1C4133E6AEA5A69D30416051491D69BD1C4147BF7D9DA69D3041F0BE0E1C69BD1C4193A0F8119A9D3041405C8FC267BD1C41A679C7099A9D304160C954C167BD1C4128C286C7869D3041B09F1AAF65BD1C417FB74082869D3041C0AACFD58DBD1C418A8EE4729C9D30410058393490BD1C41E6D0227B9C9D3041D057393490BD1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1600676 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1600682, N'{C75F2C3C-F563-4A30-A9AA-70D54FAD4923}', N'000017663', 645957, N'VIP1279', NULL, N'17663', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 29', N'Block 3', N'', N'LOT 29, BLOCK 3, DISTRICT LOT 48, ALBERNI DISTRICT, PLAN 1279', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:50.000' AS DateTime), 383, 96, 0xBD0B000001040D000000A0EFA7C6949D3041B086A7D7D0BB1C419AF606BF949D304120F46CD6D0BB1C41EAC03983899D304140C4B1AECFBB1C417BBE9F5A899D304160810445E7BB1C412A7E8C59899D3041001B9EDEE7BB1C4196081B3E899D3041001B9EDEF7BB1C41E402090A8A9D3041B0D781F3F7BB1C41CC32C4118A9D304170B3EAF3F7BB1C4198900F7A969D304160EC2F3BF9BB1C41B6490C82969D304170EC2F3BF9BB1C41FFF67560AF9D3041E0F0F4CAFBBB1C414DAF94A5AF9D3041009A089BD3BB1C41A0EFA7C6949D3041B086A7D7D0BB1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1600682 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1600716, N'{32DC962A-13AE-4567-8ED1-1E067475153E}', N'000016420', 646724, N'VIP2024', NULL, N'16420', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 9', N'Block G', N'', N'THAT PART OF LOT 9, BLOCK G, DISTRICT LOT 257 ALBERNI DISTRICT, PLAN 2024, SHOWN COLOURED RED ON PLAN 148 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:39.000' AS DateTime), 18538, 1287, 0xBD0B0000010423000000ED1648F061823041A0A1453604551D414DAF94A56A823041E0BE0E1CED541D41A913D064BF833041F0E4F21F65511D41AE30769AC8833041206FD5104E511D41E5B35E1BD2833041C052690039511D41455CA1E0DB83304190CEFDFD25511D41F93A24E3E583304160D5631715511D4198DCA01BF08330416001E45806511D410893A982FA83304190A835CDF9501D410D022BA72A84304120A3923AC5501D4129BAA55339843041602EEC13B2501D418A5CCE7A478430411025F77099501D416EEDEAFB54843041A05EAB8A7B501D415666C1B761843041C0352CA658501D41DCEADF906D843041F0A7281431501D41CEDEE06B78843041B0C4203005501D4198C420707884304180081B1EE94F1D41277502DA5484304170C420B0E54F1D41F30AAF584D843041C05FB164FD4F1D41BA004A6D4584304140EB6AD512501D410B68BD223D8430417013C1E425501D41BB75768434843041605A6F7836501D418EC2559E2B843041004B9D7944501D41BFEC9E7C2284304150F3FDD44F501D410A3D9B55F283304190F90F6984501D41E2318C6BE683304130A39BCD92501D419D2DAFB6DA833041201891B4A3501D41D868773FCF8330414007BD11B7501D41E09C2B0EC4833041C03525D7CC501D413C0AE02AB9833041D09812F5E4501D41DBA3709DAE83304140AC1C5AFF501D419C80260262823041401214BF71541D41A223B9FC61823041E0B7AF039D541D417458A8F561823041900AD7A3D7541D41ED1648F061823041A0A1453604551D4101000000020000000001000000FFFFFFFF0000000003, CAST(1600716 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1601254, N'{DAA93C5F-313E-42E7-BA37-E45A8986FA2B}', N'008048801', 646047, N'VIP1076', NULL, N'8048801', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'Block 1', N'', N'LOT 1, BLOCK 1, DISTRICT LOT 69, SAYWARD DISTRICT, PLAN 1076 EXCEPT PART IN PLAN 3177RW', N'0013', N'0027', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-27T18:15:35.000' AS DateTime), 174, 83, 0xBD0B0000010405000000C15B20C1F212304140BD5256EAFC2041711B0DC0F2123041B0051254E1FC2041F575E03CCE1230418875715BE0FC2041AB9BC440CE123041783F355EEAFC2041C15B20C1F212304140BD5256EAFC204101000000020000000001000000FFFFFFFF0000000003, CAST(1601254 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1601585, N'{5B41DFBF-6932-4E69-A361-C742A34A4E27}', N'015242251', 496317, N'NEP2523', NULL, N'15242251', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 2919 KOOTENAY DISTRICT PLAN 2523', N'0146', N'0019', N'NO', N'PMBC-COMPILATION', 2, N'DATACOMPILATION', N'COGO', N'0', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:37:37.000' AS DateTime), 117, 45, 0xBD0B0000010409000000CF4D6230937E384140575B3172DD1D41B6A679479A7E384170499D0082DD1D41D066D5879B7E3841601F63EE78DD1D41F94A59469C7E38413076E09C73DD1D4191C2F528A17E3841A020B0F250DD1D4122E4835E9A7E3841D08EE4F23EDD1D419C2A1835957E3841A03E57DB63DD1D415A7DAE76947E3841B07AA52C69DD1D41CF4D6230937E384140575B3172DD1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1601585 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1602318, N'{B0B5795A-1B1F-4301-A54B-38E1CA357CE8}', N'012526151', 296391, N'PRP1335', NULL, N'12526151', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', N'', N'', N'LOT 1 DISTRICT LOT 374 RANGE 5 COAST DISTRICT PLAN 1335 EXCEPT PLANS 3475 4092 5259 AND 1558', N'0163', N'0011', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:13:24.000' AS DateTime), 10896, 492, 0xBD0B0000010415000000745F070E7E772941F43A70CEFF2B3041CA78E9669777294118E25857102C304162226C38BB772941C08C28AD262C3041FB809583E277294150E7FBE9362C304150863856E977294108B29DCF402C30415B9A775CFE77294130431C6B4D2C3041724DF30E12782941ECFFFFFF5A2C3041A1C64B373778294130871699472C3041593BDF0F54782941C8F21F52382C3041743480B713782941303CBDD2122C30412D211F74E6772941B0B662FFCB2B30418AA0F8F1CD7729414CA60A26A42B304132D49A267C772941A4D2DEC0A52B304134CD3B0E70772941D4BFECFEA52B304172787A25717729419C779C62A92B304154984CD571772941AC2E6E43AC2B30418C6E12834B77294160CC5D2BAE2B304144B4C83651772941245C8F82C52B3041B635CD7B5777294194081B7EE02B3041EE4A598668772941E45F762FED2B3041745F070E7E772941F43A70CEFF2B304101000000020000000001000000FFFFFFFF0000000003, CAST(1602318 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1604784, N'{6C2F059E-DA15-4A86-B645-8B06FC98CF48}', N'013873717', 1171039, N'NWP7844', NULL, N'13873717', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'REM Lot 2', N'', N'', N'LOT 2 EXCEPT: FIRSTLY: SOUTH 69.5 FEET, SECONDLY: PART ON SRW PLAN 27770 SECTION 34 TOWNSHIP 8 NEW WESTMINSTER DISTRICT PLAN 7844', N'0140', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T09:48:02.000' AS DateTime), 4357, 367, 0xBD0B00000104040000006909F920A6F13241B0627F5978821C411951DA9B3DF23241D04672F9AD811C41C98F31F7A8F1324100FDF6758E811C416909F920A6F13241B0627F5978821C4101000000020000000001000000FFFFFFFF0000000003, CAST(1604784 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1605636, N'{E038C298-266D-4E2F-8E36-54562E2B43DE}', N'011331844', 1303888, N'VAP4742', NULL, N'11331844', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-15T00:00:00.000' AS DateTime), N'Lot 54', N'Block 25 & 28', N'', N'LOT 54 BLOCKS 25 AND 28 DISTRICT LOT 599 PLAN 4742', N'0092', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T10:50:27.000' AS DateTime), 364, 94, 0xBD0B000001040700000070F08509197A3241E073B59549861D41A86054D2187A3241306EA30171861D41DE938705197A32418095430B71861D411AFBCB8E3D7A3241C0A9825178861D414B2EFFC13D7A3241C0F5285C78861D4152158CEA3D7A3241403F57DB50861D4170F08509197A3241E073B59549861D4101000000020000000001000000FFFFFFFF0000000003, CAST(1605636 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1605884, N'{B20277FD-26DC-4068-99AE-CE961184A889}', N'013829734', 1310944, N'NWP1304', NULL, N'13829734', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-02T00:00:00.000' AS DateTime), N'REM Lot 7', N'Block 70', N'', N'LOT 7 EXCEPT PART ON SRW PLAN 25898, BLOCK 70 DISTRICT LOT 1 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 1304', N'0025', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T11:20:32.000' AS DateTime), 16, 19, 0xBD0B000001040400000079931804AAB83241E0C3422D51F01C41E761A1F6A3B83241901D38E765F01C41D6CEF7D3A9B83241400AD7A366F01C4179931804AAB83241E0C3422D51F01C4101000000020000000001000000FFFFFFFF0000000003, CAST(1605884 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1609095, N'{2E86C1E4-677D-4559-A6AD-B1C13D7962B4}', N'013170821', 7170022, N'VAP62H', NULL, N'13170821', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'1977-08-12T00:00:00.000' AS DateTime), N'Block 105', N'Section 28', N'', N'THAT PART OF BLOCK 105, SHOWN OUTLINED IN GREEN ON HIGHWAY PLAN 62 SECTION 28 TOWN OF HASTINGS SUBURBAN LANDS PLAN 3104', N'0150', N'0010', N'NO', N'ICIS CADASTRE', 0, NULL, N'UNKNOWN', N'0', N'9187', CAST(N'2020-06-03T16:27:13.000' AS DateTime), CAST(N'2020-08-12T17:08:47.000' AS DateTime), 9194, 442, 0xBD0B0000010407000000AC1C5A840690324160D5E76A571E1D41F11648101C903241A0734694611D1D410DD04418BB8F324140B0E1E94F1D1D41D5F0F40A968F32410054E3A54C1E1D41F02FBB87958F3241B00E9CB3951E1D41FA0FE9D728903241D0C8763EB11E1D41AC1C5A840690324160D5E76A571E1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1609095 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1609976, N'{D6027407-99A5-455C-AC9C-1C048223DDA1}', N'008732949', 874168, N'KAP16058', 3364191, N'8732949', NULL, N'72600146500', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot A', NULL, NULL, N'LOT A DISTRICT LOTS 73 AND 1720 KAMLOOPS DIVISION YALE DISTRICT PLAN 16058', N'0020', N'0028', N'NO', N'ICF', 9, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-09-21T17:35:39.000' AS DateTime), 15670, 1099, 0xBD0B0000010419000000E46A2B76CE88354130A5BD01310527412A1895140B893541E076BE1FF7052741CADCB5E481893541603789C16E062741ABA44EA09089354170D712F24406274151DA1B1C6689354120022B8708062741E46A2B76CE88354130A5BD0131052741D556ECCFC988354160C1A8641C062741CF44D8F0C988354128764F9E1E062741A311A5BDDA88354118DF4F4D340627411D4A7B23EC883541F8DBD7C14A062741E22D9060FD883541889A775C6006274198559FCB0389354160BA498C6806274136B4C8D613893541204A7B037D062741A18026E22389354178B5157B910627414C94F6E633893541B0D1005EA7062741AE1C5AE44389354110B7D100BC06274112A5BDE15389354170E5D0A2D00627415D8FC2D55B893541208BFDE5DA062741521E162A76893541A8A679079006274188F4DBF7FC883541603789011606274126189554BD88354120F2410F46052741FAA9F1D2BE883541A014AEC75F05274157F5B97AC3883541203FC6DCAF052741F67E6AFCC6883541D8D100DEEB052741D556ECCFC988354160C1A8641C062741020000000200000000020600000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1609976 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1609994, N'{A6C0824D-96B5-47C8-A5AA-441FF5886E82}', N'001566539', 117903, N'VIP877', NULL, N'1566539', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 10', N'Block 11', NULL, N'THAT PART OF LOT 10, BLOCK 11, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:05:01.000' AS DateTime), CAST(N'2020-09-22T09:16:54.000' AS DateTime), 306, 71, 0xBD0B0000010405000000093411962037324130371AC08D8E17415BA8352D2F373241208E75F17B8E1741A5A44E4029373241C0E8482E2F8E1741AF8BDBA81A373241106D56FD408E1741093411962037324130371AC08D8E174101000000020000000001000000FFFFFFFF0000000003, CAST(1609994 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1610378, N'{A92AAEC6-B777-48E7-B197-3E0C1D42944A}', N'012759511', 868179, N'KAP55', NULL, N'12759511', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 22', N'Block 19', NULL, N'LOT 22 BLOCK 19 DISTRICT LOT 706 YALE (FORMERLY OSOYOOS) DIVISION YALEDISTRICT PLAN 55 EXCEPT PLAN H831', N'0114', N'0022', N'NO', N'ICIS CADASTRE', 1, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-10-02T09:08:33.000' AS DateTime), 251, 71, 0xBD0B00000104050000002931082CBB553541604F1E96BF131F41C1D32B85CC55354140A2B4B779131F41AEEA7315C75535411005A31259131F41D9ACFA1CB455354130D1915CA3131F412931082CBB553541604F1E96BF131F4101000000020000000001000000FFFFFFFF0000000003, CAST(1610378 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1610779, N'{1E777100-C479-40B9-9117-22C650DB9109}', N'008742898', 3191339, N'VIP630', NULL, N'8742898', NULL, N'108278', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'', N'', N'LOT A, SECTION 1, NANAIMO DISTRICT, PLAN 630, EXCEPT PARTS IN PLANS 3212 RW AND 956 RW', N'0084', N'0021', NULL, N'PMBC-COMPILATION', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2019-04-04T08:45:35.000' AS DateTime), CAST(N'2019-10-21T13:26:15.000' AS DateTime), 2356, 336, 0xBD0B000001040D0000007B832F0C3E933141B018045652121C4188635D5C309331415032E62E20121C41F4A7C60B2C93314140431C6B80121C4196218E952E933141F0D022DB95121C414EE3A5DB46933141004FAF14D1121C41465986984F933141A02E6EA392121C417B832F0C3E933141B018045652121C41A233A294269331415007CE19F1121C41420AD703129331419035CDBB16131C41AA9BC4A0EF923141503BDF4F0E141C4184D2DEA0EF92314180EE5AC22C141C410AF0168835933141F0915CFE1C131C41A233A294269331415007CE19F1121C41020000000200000000020700000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1610779 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1612146, N'{5264A611-9EC3-4619-99B8-FCB75C6EB7A4}', N'015918602', 3, N'NO_PLAN', NULL, N'15918602', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 5638', N'', N'', N'THAT PART OF DISTRICT LOT 5638 INCLUDED IN PLAN 617QQ AND PART GREEN ON RW PLAN 7681 EXCEPT PLAN NEP75674', N'0163', N'0019', N'NO', N'MODIFIED-ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', N'25719', CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-03-11T14:45:00.000' AS DateTime), 25710, 1236, 0xBD0B000001046A0000009C779CC27F7138410098DD9361141E41C6C7E95F807138410005CCB95B141E416EF6E30881713841301936F455141E417E6760BD81713841206C904450141E41DE97317D82713841700D4AAC4A141E410229274883713841C027CC2C45141E4124ED0D1E84713841C0A679C73F141E41C0D32BC59271384190F1634CD4131E41CACCCCAC9571384130EFC9C3BD131E412202D5849871384110A3B84DA6131E413A46B3319B713841E081F6868E131E41FFAAD8B29D71384120D6797476131E415462BF07A071384130B6481B5E131E41F2D9EA2FA271384130FB778045131E416DD5E72AA471384110302AA92C131E417FFB3AB0A57138414047E17A15131E41F08ED1F4A67138414017358F00131E41BAC07D16A8713841F0E39783EB121E41EF710D15A9713841C0E0AD5BD6121E41F09654F0A97138418023201BC1121E41E23E2DA8AA713841F0079CC5AB121E41669A773CAB713841C088D25E96121E4166006F61AE713841604547F2FF111E419AC42010B0713841B066D5E779111E41225A641BB171384190703D8A39111E41B837F8C2B171384150F4DBD7B9101E41850D4FAFB27138418082514957101E41EC51B89EB2713841B0490C82FE0F1E414482E2A7B3713841D078E926DB0F1E4102D57809B5713841806E1203AC0F1E418F3A01EDB4713841B033A2B4840F1E41E5839E6DB471384170AC8BDB4D0F1E41B0EA73F5B271384160CA32C4E60E1E413E7958E8B17138411055C1A8AF0E1E41AC1C5A2483713841504850FC960E1E410434113684713841708FC275C40E1E417F04C54F85713841D0051294FF0E1E41B4D1001E86713841F0DBD7813B0F1E414850FCB8867138414068916D770F1E41A2D6340F8771384130F1634CB30F1E4116C05B2087713841009B771CEF0F1E4178A52CA38671384170C2F5A851101E41816132158471384110F241CF2F111E410AC58F718171384120CB10C7D0111E4144EA04947D71384140FF217D85121E41F3EFB3327C713841E0A8A44FB0121E41C6670D187A7138416029D8A8DA121E41BE398E467771384140BFA95604131E41E5808BC173713841004FD1272D131E41A49A2E8D6F713841F0A50BEC54131E41FC3A70AE6A713841E08E53747B131E41E20209EA5B713841A01804D6E6131E41508D978E5971384160992A98F8131E415BCF640252713841A03FA8FD3A141E41A068F7154C713841B0ED1AF97F141E4180E63ED747713841E0F538E8C6141E415AE8375045713841402521240F151E411AA1D48644713841E05BE30258151E41D5D9EE7C45713841C05A10D9A0151E415A97433048713841C0124DFBE8151E41246C789A4C713841A0C8E5BF2F161E41B6BAA1584F7138417025555151161E417FFE4C7B52713841A0DECA5472161E414E35B1005671384170067BB792161E417E27CDE6597138410036F566B2161E41158C682B5E71384190112F51D1161E41964C15CC62713841708A8E64EF161E41683EB7BA6771384160B680810C171E415FF400FE6C713841A09D63AD28171E413B3C13937271384140D3D7D843171E41DE42E2767871384160D809F55D171E41063E37A67E713841A033BAF376171E410C2DB21D85713841F03845C78E171E418FA0F8F18B713841706EA3819A161E41CCFE60238B71384100A3671F96161E41EA113A5D8A713841B0D113A591161E41DCC7B09F8971384110E6AB138D161E41881AF0EA887138418007396C88161E41F205213F88713841F05DC9AF83161E41F67E6A9C8771384130D26FDF7E161E41A6CB43AE86713841904434FC79161E412CA76ACC85713841F074FDF474161E41A8F435F7847138418099BACB6F161E413ABAF72E84713841C00168826A161E413401FD738371384150520E1B65161E41B6B88DC68271384170BDC1975F161E41B71E850B81713841F03C9BD552161E413861A4E87E7138417094E47140161E41C64E32EE7C71384160F85AC62D161E41B990C51C7B71384120438CD81A161E41609CE8747971384160081AAE07161E41F18919F77771384100E3B74CF4151E41C4EEC9A37671384190C729BAE0151E414EAF948575713841F043FA6DCD151E41ACBEA663747138415063D36CB6151E41F437A57E7371384170D0E1409F151E414EB9F3D67271384110F139F487151E410A35DB6C727138412066FE9070151E41FFD189407271384150A15B2159151E416ED7125272713841307B83AF41151E412E1B94F87271384160BE9D1B1B151E41DE8A96447471384180F2C7CAF4141E41BE0D9A3476713841B0C755E9CE141E4138CF60C678713841D0101AA3A9141E419CD6F1F67B7138410011342385141E419C779CC27F7138410098DD9361141E4101000000020000000001000000FFFFFFFF0000000003, CAST(1612146 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1612215, N'{C02E12E0-91DE-4E96-A5E6-0BB4A90F7CD1}', N'000181544', 3, N'NO_PLAN', NULL, N'181544', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 144', NULL, NULL, N'THAT PART OF DISTRICT LOT 144, MALAHAT DISTRICT, LYING TO THE NORTH OF A BOUNDARY PARALLEL TO THE NORTHERLY BOUNDARY OF SAID LOT AND EXTENDING FROM A POINT ON THE WESTERLY BOUNDARY OF SAID LOT DISTANT 605 FEET FROM THE NORTH WEST CORNER OF SAID LOT EXCEPT PART IN PLAN 591 RW', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 5, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T17:54:21.000' AS DateTime), CAST(N'2020-03-19T16:14:45.000' AS DateTime), 38562, 803, 0xBD0B000001040D0000008C6CE7FBFB0A3241E021FD76316118418D0F7A36FD0A3241408863DD5660184163CC5DCBFD0A3241D0CDAA4FF05F18412385EB71040B3241B0B662FFE95F184175F881AB050B3241B09FCF31A35F1841D8D73FAC070B3241C04304AD5C5F184130B226730A0B3241F01AFF93165F1841D9C0D5FE0D0B324130248909D15E18419B968A4D120B3241109D24308C5E18412CFF215D170B324150E7FB29485E184159EC2F5B370A324160B20C71335E18411E41F1A3320A3241E0DA8A7D106118418C6CE7FBFB0A3241E021FD763161184101000000020000000001000000FFFFFFFF0000000003, CAST(1612215 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1612520, N'{4D140301-928D-4D39-AEF8-ECD3E26F5E28}', N'001674005', 12592, N'VIP218B', NULL, N'1674005', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'Block 49', NULL, N'LOT 6, BLOCK 49, SHAWNIGAN LAKE SUBURBAN LOTS, MALAHAT DISTRICT, PLAN 218B', N'0163', N'0007', N'NO', N'MODIFIED-ICIS', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T15:52:50.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 10285, 406, 0xBD0B0000010407000000D3DEE0EB0CEA3141E04D6210CB8918419F67B36A0CEA3141C05CFE43608A1841C8A145F66FEA3141F0847CD0648A18416E8104E573EA3141401804D6D2881841D79AE69D2EEA3141805DDCC6C788184166226CD80DEA314170984C95C2881841D3DEE0EB0CEA3141E04D6210CB89184101000000020000000001000000FFFFFFFF0000000003, CAST(1612520 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1612665, N'{98BE1DEB-64C9-46AE-86A5-7CF590015818}', N'010694242', 850091, N'KAP3889', NULL, N'10694242', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 5', N'', N'', N'LOT 5 DISTRICT LOT 211 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 3889', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-03-11T11:14:14.000' AS DateTime), 519, 92, 0xBD0B0000010405000000032B87F6F1503641386EA3C12E332041E9F21FF2D75036412090A038283320411D4A7BC3D4503641B89690CF483320411704566EEB503641C0B359F55D332041032B87F6F1503641386EA3C12E33204101000000020000000001000000FFFFFFFF0000000003, CAST(1612665 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1613194, N'{11B6BDF5-6606-42B4-9448-FB2EFC63CE7A}', N'016076150', 495463, N'NEP748', NULL, N'16076150', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 33', NULL, NULL, N'LOT 33 DISTRICT LOT 1073 KOOTENAY DISTRICT PLAN 748', N'0146', N'0019', N'NO', N'ICF', 4, N'LSA', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-05-25T14:36:15.000' AS DateTime), 723, 110, 0xBD0B00000104060000007EAEB6223D7738414029CB9044D91D41716891CD437738413075029AABD81D415A302A492F773841A0051294AED81D4142355E7A2877384140FBCB6E0ED91D41E673B5F534773841109A99993ED91D417EAEB6223D7738414029CB9044D91D4101000000020000000001000000FFFFFFFF0000000003, CAST(1613194 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1613366, N'{395A0F20-22F2-4B62-A475-B8C5036C11C8}', N'016119908', 485973, N'NEP749', NULL, N'16119908', NULL, N'70799000', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 14', N'', N'', N'LOT 14 DISTRICT LOT 98 KOOTENAY DISTRICT PLAN 749, EXCEPT PARCEL A (SEE 15732I)', N'0085', N'0004', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-05-30T20:15:32.000' AS DateTime), 5315, 669, 0xBD0B00000104940000007A14AE47E0D63841189E5E696255204159D3BCC3E3D6384178787A6568552041C1EC9EDCE6D63841E82631086A5520413690A0F8ECD638414804C54F6B55204168006F21F3D63841D876BE9F6A552041D219515AF9D63841D8D781F3695520414EB6F37DFCD63841A01B7CA168552041779CA2A302D7384160A1D6F465552041F86B409703D7384190483724655520410500DF8E04D7384128336267645520417E81178A05D7384120CEA5BE63552041449A818806D73841982D482A63552041CEA0B38907D7384118F086AA62552041C8C3428D08D738415824973F62552041169E51E609D7384110673725615520411A6F063D0BD7384138289CFF5F552041A3D049910CD738411873D9CE5E5520412A8704E30DD73841E81604935D55204177831F320FD73841A0A4314C5C5520412CE4837E10D73841206C78FA5A552041A31F512911D73841480CC56A59552041573BB0C911D7384188BC24CA57552041BA0C365F12D7384130E4AD19565520411FA97EE912D73841B880815A5455204177A82D6813D73841A063CA8D525520412463EEDA13D73841786ABCB45055204144A396C814D73841902D3A0C4D5520414F58B9E115D73841E84B329549552041DE5EC92317D738411089B15746552041897EDA8B18D7384170013F5B435520413834A8161AD73841D8AECAA64055204153499DC01BD7384158499D403E5520413E24B5071DD7384118F3D3713C55204180123F611ED73841206630DC3A55204142B4BDCA1FD73841A8DD9E8239552041063B964121D7384160C89C6738552041D03715C322D73841702D348D375520416096734C24D73841F0ECF7F43655204102BDDBDA25D7384138D600A036552041DAC66E6B27D7384110A3EB8E3655204184CF49FB28D73841A8D5D7C13655204108468B872AD738412880673837552041563D580D2CD7384160F0BFF13755204184B0E1892DD7384190438BEC3855204184B29E0F30D7384180F990193A5520414EEF0C8932D73841D07478A13B55204195E5FAF234D73841B8EA47823D5520417E154B4A37D73841C8D292B93F552041E205F88B39D73841A0077D4442552041922A18B53BD73841F876BE1F455520412E5793443DD73841309C750048552041220F99E83ED73841308CF6B14A5520414FBFC49F40D73841F0ECF7314D5520410093A16842D73841186B5A7E4F55204198B0AB4144D73841D0842A9551552041A582512946D738419833A274535520413C517AE547D73841E035E3E755552041E48777AE49D73841602D203558552041130B79834BD7384108C54C5B5A5520415C46A9634DD73841A8716E595C552041948D2D4E4FD73841C0E49C2E5E5520419D80264251D73841287502DA5F5520416E1B042752D73841D09F2412615520415605E01153D73841F0D0ED3762552041F8285C0254D738414058E84A63552041043018F854D73841100EA64A64552041CEA9B1F255D73841287FC03665552041C832C4F156D73841A016D90E6655204106560EED5FD73841185A64FB6A5520416888633D66D73841E8065F586C55204116C05B6069D738418826C2066C5520411A7C61726CD73841B0E995B26B55204164AA607472D73841C837F802695520416C8A8E8475D73841300DE0AD675520410E83C0AA7BD73841906E120369552041509621CE7ED73841C820B0B2685520416DF085E981D738412052B85E695520417C2D211F88D73841887EFB3A67552041D65F760F91D7384170D5E7AA6E5520411EDBF99E96D73841E0839E4D735520418E5374C49AD73841B837F8C26E5520411651DA3BA7D7384110D9CE777155204197F6065FAAD73841408B6C27715520418E0F7A96B0D738414037898172552041D00943A2B1D73841C0CE5E5472552041ACE4CBAEB2D7384110EC953F72552041C4A186BBB3D73841F88C3943725520414A28E5C7B4D7384158C4475F72552041149059D3B5D7384188BDB19372552041F86C56DDB6D7384128C05BE072552041B2AFA2E6B7D73841E8666CB3725520412432ADF0B8D73841987F749E725520414875EBFAB9D7384160F47EA17255204157DFD204BBD7384140308ABC725520419403D90DBCD73841301F88EF72552041ACEA7315BDD7384148355E3A73552041228E7531C3D73841A85E298B76552041143FC63CC9D7384190E2C7D87955204166C3D34BCCD7384180A44E807B55204148D8F074CFD73841C8081BDE835520416991ED5CD2D73841D8073DDB835520414A3789E1DDD7384138B29DAF83552041C242ADC9E0D7384138AD691E8A5520415CF5B99AE6D73841784694768D5520412EDD2446E8D73841B069DEB18D552041802F4C06EAD73841D8915C7E8D5520412E08ACFCEBD7384140302AE96F552041C6115168DFD73841F0F30B45685520415EED81BBD2D738415853DE4961552041CCB475F8C5D7384140A8D9F85A552041C6646721B9D73841588E18535555204154799538ACD7384120B3975950552041378941409FD7384190A8350D4C552041BF5B20C15ED7384110EF384539552041343CBD9232D73841388716592C55204176D2EE8D23D738417899B859295520410AB8337614D7384118B2B81029552041A859D56A05D738412024AE7E2B5520417F83038BF6D63841B8A18F9E3055204147BB93F5E7D6384168AABD6538552041CA54C1C8D9D63841909318C44255204121B9FC07D4D63841C8ACFA5C47552041BE42AD29D1D63841480C02AB49552041838CB94BCED6384150EC2FFB4B5520416A3BDF6FCBD638412071AC4B4E552041952A1895C8D638413852B89E5055204152DA1BBCC5D63841B045B6F35255204143F1630CC0D6384180D2DEA057552041C8EEC923BCD63841A864AAE05A552041482575A2BBD63841C064AAE0705520413880B720BDD638412885EB51685520410188F49BBFD63841F82D90E065552041D0F6B9F8C0D6384168E0B939645520412AF72D5EC2D638413896F5B0625520417CB5AACBC3D638418884F9466155204110A48640C5D6384100996DFC5F5520419AC914BCC6D63841302CEBD15E5520419D11A53DC8D6384128B9FCC75D552041DD2C31BBC9D63841F8FE8D045D552041659B293FCBD6384130CBD27C5C552041E87139C7CCD6384120F39B315C552041AA790551CED63841102F5D235C5520416AD02FDACFD63841286A2C525C552041B88C5B60D1D63841889FC1BD5C552041A06030E1D2D63841E04877655D55204143355E5AD4D63841D05D4B485E5520419ECDAA0FD8D6384138894120655520417A14AE47E0D63841189E5E696255204101000000020000000001000000FFFFFFFF0000000003, CAST(1613366 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1614203, N'{5AA033E7-4A94-457A-BC8E-D680BF0770A9}', N'001657674', 3191874, N'DD27391', NULL, N'1657674', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 74', N'', N'', N'THAT PART OF SECTION 74, OTTER DISTRICT SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 27391 AND CONTAINING 6.08 ACRES MORE OR LESS', N'0133', N'0005', N'NO', N'MODIFIED-ICIS', 2, N'DATACOMPILATION', N'UNKNOWN', N'0', N'26257', CAST(N'2016-12-19T11:40:33.000' AS DateTime), CAST(N'2021-06-23T16:32:01.000' AS DateTime), 25798, 945, 0xBD0B00000104540000008F180496A8D93141A0FC18F3BF501741CA6D34408DD93141607CD0B3D0501741D307C53E8BD93141107CBA0CB1501741989F3AEB88D93141609A0AC091501741BE5D924686D9314120F70EDB7250174156E6EB5183D93141709AE96A545017418FDE880E80D9314130E48A7C36501741EE63CC7D7CD931416008AC1C19501741816ABC7475D931416044FA6DE14F1741274897D671D9314140BD800AC34F1741610294926ED9314100C96005A44F17410A9D74AA6BD9314100024D6F844F17414CA5C91F69D93141100A4659644F1741355AF1F366D93141906291D4434F174104F0162865D93141B020B0F2224F17411F3867243CD93141905AD3BC1C4F17414937896136D931415064CCDD1B4F17411E27ED7E38D93141F0C2A3374C4F1741EBDFAE403BD9314190C8460C7C4F1741DA79CBA43ED931410007D038AB4F17419899C9A842D9314100B1D49AD94F17417F3EBB4947D9314190BC7D1007501741CAE53F844CD931412090A07833501741DD718A8E53D93141609D80266B501741E8B6CB1056D93141F02CFFF17F501741A69E716458D9314130A17F1395501741D931C4885AD9314190407B84AA5017411C171A7D5CD93141E0C5523EC05017411EC7D8405ED93141E06A503AD65017416BBC74D35FD93141F0FBA971EC5017410F9C33A24DD9314130575BB1F7501741247B2FDB4FD9314100860C0A0A51174170F239EC51D931413080DCAC1C5117419AC4B8D453D93141F05D5C942F5117417E861D9455D93141802F09BB4251174190C8E52957D93141F09A4D1B56511741073D9B9558D93141207B83AF695117414AE6222257D93141C085C5629D511741C46ACA8B54D9314110FDFF5ED0511741DFDFBFD750D9314180FB1E3E0252174108596D0D4CD93141906A499C32521741660F6A3646D93141A0ECA81861521741422E675E3FD9314190BC2B568D5217416F6A189337D9314170053FFCB65217417C9318E42ED93141503480B7DD521741E40209EA43D9314120AE4761475317414DD069AD40D93141A04B86A3535317410780A95D3DD93141A0A6ED925F5317415F8B4CFB39D93141C04CA02D6B5317411E54DA8636D931413005CE71765317417B0FDD0033D93141C01EB45D8153174185B0E1692FD93141C0B19DEF8B531741B17268F110D9314130DAACFADF531741FA5C6D450CD93141C01A2FDDEC5317415E26824F0AD93141A071A72AF453174137EE2C5F08D9314120F1D58FFB53174172A07F7406D93141A03E760C03541741BDF48B8F04D93141302443A00A541741D36D63B002D931418097F64A12541741DC5817D700D93141A0BA490C1A54174156B1BF4C20D93141A06132555E541741457B830F29D9314120F54A5971541741B5490CA238D93141E0B7AF83725417410A0961A742D93141E0A18E9A56541741B2DD3A474CD93141A0CF308B38541741C4A23B7A55D931414043996C18541741CB8658395ED93141F0995E57F6531741DD6FDF7D66D9314180399865D2531741D91B7C416ED931418057CAB2AC531741C1C117267FD93141A0F1D2CDCC531741BAB952BB83D93141902B1180B3531741E8E9931A88D93141E040419B995317418B66A4428CD9314160A294267F531741D6985C3290D9314100B5642964531741E890A4E893D9314150CB30AB485317418E53746497D93141A00E9CB32C53174125DE68259FD931411084C780E3521741E2A43C5BA5D9314180C653FC975217410EB9FEFAA9D93141F0704CAB4A521741029489FCACD93141108EE815FC5117413C71915AAED93141D09D9AC6AC5117410AA3AD12AED9314150A91C495D511741F1D05C25ACD9314170197A290E5117418F180496A8D93141A0FC18F3BF50174101000000020000000001000000FFFFFFFF0000000003, CAST(1614203 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1614216, N'{8C1483A9-8DF2-4981-B6DD-DADE5A942897}', N'001646575', 126053, N'VIP1227', NULL, N'1646575', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 6', N'', N'', N'THAT PART OF LOT 6, SECTION 48, SOOKE DISTRICT, PLAN 1227 SHOWN COLOURED RED ON PLAN DEPOSITED UNDER DD 31255I', N'0133', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T20:27:24.000' AS DateTime), CAST(N'2021-06-24T14:49:42.000' AS DateTime), 1424, 160, 0xBD0B000001040F00000061BA49CC0ADC3141805CFEC38D2717416FC5FE520EDC314120C05BA07E2717415D6DC59E10DC314130F8C2647527174188DB68E0F2DB3141900F7A3646271741A95F0E82EDDB3141A09EB2205E271741AB98D731E8DB3141E08A3C3D762717410D00E2EFE2DB3141F014928B8E27174125C04ABCDDDB314170672C0BA727174197B32E97D8DB3141D09B83BBBF271741C164AA80D3DB314140BF0E9CD82717417B4F1EB6EFDB3141C09DEF27062817417CE09C11F4DB31411054E325F22717412C287EACFCDB314150764F9EC927174144C8075D05DC3141A0999919A527174161BA49CC0ADC3141805CFEC38D27174101000000020000000001000000FFFFFFFF0000000003, CAST(1614216 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1614279, N'{F2EB4AE9-EAE9-4E01-8ACE-400272E2BB5E}', N'002909553', 117903, N'VIP877', NULL, N'2909553', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 3', N'Block 9', NULL, N'LOT 3, BLOCK 9, SECTION 24, VICTORIA DISTRICT, PLAN 877, EXCEPT THAT PART THEREOF LYING TO THE EAST OF PLAN 1 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, NULL, N'UNKNOWN', N'0', N'81.14', CAST(N'2021-06-29T17:28:53.000' AS DateTime), CAST(N'2021-06-29T17:29:03.000' AS DateTime), 81, 47, 0xBD0B00000104060000006D1B0DC041393241D01FD2EFA78B17416B3480774439324130F31F52638B174197B20CF13B39324140DD24866D8B1741C030998A40393241201EA768A98B17413F79584841393241104B5906B38B17416D1B0DC041393241D01FD2EFA78B174101000000020000000001000000FFFFFFFF0000000003, CAST(1614279 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1617116, N'{D4FE06C7-C44D-4D15-ADC4-9DBC0269C44D}', N'010488774', 252464, N'PGP1329', NULL, N'10488774', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 116', N'', N'', N'LOT 116 DISTRICT LOT 4377 CARIBOO DISTRICT PLAN 1329, EXCEPT PLANS H226 AND 18606', N'0112', N'0008', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2021-12-31T08:23:52.000' AS DateTime), 7609, 459, 0xBD0B000001040A000000C0CAA185A87D3241708863DDA8752E4146696FF0627E324108143F86BB752E41AC1C8A53647E3241E0A7E149AE752E416513539D657E324190DF4B03A1752E411481B7CD667E3241D0753FB393752E41D70BA6E4677E324198AE7E5A86752E4174CD0EE2687E3241C84BCCF978752E41F953E3C5697E32410885EB916B752E414672F96FAA7D3241206076CF58752E41C0CAA185A87D3241708863DDA8752E4101000000020000000001000000FFFFFFFF0000000003, CAST(1617116 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1617386, N'{AAF36B94-9873-4819-A73E-780E11FE0F97}', N'010558918', 848134, N'KAP4397', NULL, N'10558918', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Block 7', NULL, NULL, N'BLOCK 7 DISTRICT LOT 2883S SIMILKAMEEN DIVISION YALE DISTRICT PLAN 4397 EXCEPT PLANS 9597, 27958 AND KAP83709', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2022-01-14T14:13:43.000' AS DateTime), 2166, 200, 0xBD0B000001040A000000CB6F5FA7DC5F3641C04547F2B19F1E41D912F2A1D65F364150006F01CA9F1E41B3506B7AD05F364100CE19D1DF9F1E414AD8F054CA5F364100C7BA38FE9F1E41F3EBC099BE5F3641C0C4203039A01E41E2C798FBE15F36416089416043A01E4113363C1DE45F364190DA8AFD43A01E415027A0C90760364150C6DCB54CA01E41326EA3010A603641D0817346BD9F1E41CB6F5FA7DC5F3641C04547F2B19F1E4101000000020000000001000000FFFFFFFF0000000003, CAST(1617386 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1617842, N'{FB85D497-181B-4553-84A4-8EBD0D46A416}', N'003592791', 1075375, N'NWP11749', NULL, N'3592791', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 15', N'', N'', N'LOT 15 DISTRICT LOT 77 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 11749 EXCEPT PART HIGHWAY PLAN 22279 AND EPP4371', N'0019', N'0009', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-01-31T18:44:23.000' AS DateTime), 1126, 148, 0xBD0B0000010405000000D3C56D1485BC334130EA9532E57E1C411495D40984BC3341E03B4E513A7F1C417E26C286B8BC3341305B423E4B7F1C41BE749398B9BC3341B0938785F57E1C41D3C56D1485BC334130EA9532E57E1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1617842 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1618002, N'{1ACC5506-293E-4760-8100-34393D069B9D}', N'009514643', 477547, N'KAP11096', NULL, N'9514643', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', NULL, NULL, N'AMENDED LOT 1 (249180F) SECTION 19 TOWNSHIP 20 RANGE 9 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 11096 EXCEPT PLANS H10964 AND KAP47776', N'0124', N'0006', N'NO', N'ICF', 5, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-04-28T13:21:06.000' AS DateTime), 1135, 171, 0xBD0B00000104120000004A7B832F8B8A364190051294920024415E984CB58D8A3641C098BB569B0024417F2F4C26908A3641A89F1A2FA400244124A08990928A364130E4835EAD00244194779C62978A364188B5157B40002441CE915C5E748A3641C806F096390024410E022B476A8A3641E81B7CA137002441FA5C6DA56D8A3641B0550E6D3F002441DCE00BF3708A3641904F1E5647002441F73A702E748A364108BC05524F002441BD0E9C53778A364178567D6E570024419EEFA7667A8A36410864CC9D5F002441915374647D8A3641C02E6EE367002441880D4F4F808A364100265345700024419AD40928838A3641501058B97800244157302AE9858A3641F0C9C342810024416A2BF697888A3641B0F753E3890024414A7B832F8B8A3641900512949200244101000000020000000001000000FFFFFFFF0000000003, CAST(1618002 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1618178, N'{4216D20F-7E88-42D1-B1CF-A0EF32E05DBA}', N'009185593', 3, N'NO_PLAN', NULL, N'9185593', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 4', N'', N'', N'THAT PART OF SECTION 4, VICTORIA DISTRICT BEING PART OF ALPHA AND BETA STREETS AS SHOWN OUTLINED IN RED ON PLAN 4 BL', N'0153', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:39:57.000' AS DateTime), CAST(N'2019-01-05T10:21:21.000' AS DateTime), 921, 241, 0xBD0B000001040D000000D934EF1899393241302428FEA87C17416232551098393241802D211FA87C17418A8EE4927139324150E926B1877C1741C64B3709933932416070CE08C17C17411B6A4DF390393241E088D2DED37C174174A52C239D393241E0C03923DE7C1741A2ABAD78D839324100E56121107D174136DF4F8DB839324110DBF97EC37C1741A08026C2A939324110B9FC07B77C1741EF9E3C4CAE3932413065AAE0AA7C174142FAED2BA63932411091EDFC857C174177832F4CA2393241E0635D5C907C1741D934EF1899393241302428FEA87C174101000000020000000001000000FFFFFFFF0000000003, CAST(1618178 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1618311, N'{6780E563-9200-4964-B130-41EBD31C9D28}', N'014869721', 491088, N'NEP4351', NULL, N'14869721', NULL, N'70721191050', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot A', N'', N'', N'LOT A DISTRICT LOT 1521 KOOTENAY DISTRICT PLAN 4351', N'0163', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:34:54.000' AS DateTime), 89417, 1232, 0xBD0B000001041F0000009ED6344FAAA6384100FBCB6EE98C2141BF529641AAA63841D03099EAD98C214168BC7453AAA63841902F4C66CA8C2141FE65F784AAA63841E0C039E3BA8C214134BB278FAAA6384158469476B88C214129C286C7AAA63841785F07CEA68C21413A1136DCAAA63841D8E53F24958C214176711BCDAAA6384168FE437A838C2141D419519AAAA63841A87268D1718C2141400AD743AAA63841A067B32A608C21415427A0C9A9A63841D86F5F874E8C2141808CB92BA9A63841387958E83C8C2141AAC64B97C5A53841B802094A048C2141B3506B3A9CA5384128A7E8889D8E214106C58FF1D2A63841A0CDAACFEA8E214190E73098D2A63841D0218BE5E68E21416E6CD641D2A6384150BA5CFAE28E2141AB2081EED1A63841C0E3280EDF8E214113CA319ED1A63841F0EDF820DB8E21413D27E950D1A63841E02AD632D78E21419FEFA706D1A63841C8EEC943D38E214145C6DCB5B6A63841B8D781F3628D214153158C2AAFA63841F862EE1A658D2141A2923A21AEA6384160C729BA558D2141C88F3137ADA63841A8726851468D214126287E6CACA6384148F7E4E1368D214116AE47C1ABA63841E0D5566C278D21412A068135ABA63841C832C4F1178D21413C6744C9AAA63841106A4D73088D2141DDB5847CAAA63841D8A0F8F1F88C21419ED6344FAAA6384100FBCB6EE98C214101000000020000000001000000FFFFFFFF0000000003, CAST(1618311 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1618320, N'{88991F32-1647-4076-8B71-A6CFE27176CC}', N'005700442', 496129, N'NEP546', 90054453, N'5700442', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 12', N'Block C', N'', N'LOT 12 BLOCK C DISTRICT LOT 208 KOOTENAY DISTRICT PLAN 546', N'0056', N'0004', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-23T18:35:37.000' AS DateTime), 295, 93, 0xBD0B000001040500000049D8F054252F394150598638C8DE2141AB13D0044C2F39410897FF90B1DE214108B5A6D9492F394120EBE2F6A2DE2141EA263148262F3941F0F0F4CAB7DE214149D8F054252F394150598638C8DE214101000000020000000001000000FFFFFFFF0000000003, CAST(1618320 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1618644, N'{B1057A63-6B06-43C9-9E82-46B072B81B8E}', N'001567365', 117903, N'VIP877', NULL, N'1567365', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'Block 12', N'', N'THAT PART OF LOT 3, BLOCK 12, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF LAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:36:04.000' AS DateTime), CAST(N'2019-01-05T10:23:17.000' AS DateTime), 307, 71, 0xBD0B00000104050000008C1F63EE8936324190D40968458F174122A7E88898363241E0762DA1338F1741368941A092363241208716D9E68E1741161DC9058436324100C05BA0F88E17418C1F63EE8936324190D40968458F174101000000020000000001000000FFFFFFFF0000000003, CAST(1618644 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1618860, N'{D8D83B3A-EA63-4EFE-A66C-F20610386819}', N'002909308', 117903, N'VIP877', NULL, N'2909308', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 23', N'Block 9', N'', N'THAT PART OF LOT 23, BLOCK 9, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 8 RW', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T18:54:01.000' AS DateTime), CAST(N'2019-01-05T10:24:00.000' AS DateTime), 352, 81, 0xBD0B0000010407000000F85C6D45DB38324110D34DE2008D1741FC187357D4383241E0976E92A78C1741E7D022BBCE383241C0938705A38C1741F6065F18C9383241806DC5FE9E8C17414B72F96FC338324110DBF97E9B8C1741CC32C411CA38324100BADA8AF18C1741F85C6D45DB38324110D34DE2008D174101000000020000000001000000FFFFFFFF0000000003, CAST(1618860 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1619202, N'{D1A22B4B-5694-4F88-A2BC-560FC66BBA65}', N'003852571', 872660, N'KAP30755', NULL, N'3852571', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Parcel A', N'', N'', N'PARCEL A DISTRICT LOT 59 KAMLOOPS DIVISION YALE DISTRICT PLAN 30755 (FOR HIGHWAY PURPOSES ONLY)', N'0163', N'0028', N'NO', N'ICF', 9, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-02-05T18:38:16.000' AS DateTime), 276, 88, 0xBD0B0000010407000000029A08DB9B79354198559F6BDB762541E37A142E9D793541F8C264AAE17625411BD9CE57A7793541E861A1961177254119E25837BA79354160226CF80C772541F23845E7B979354148A4DF7E0B772541168C4A6A9F793541B0E3141DE1762541029A08DB9B79354198559F6BDB76254101000000020000000001000000FFFFFFFF0000000003, CAST(1619202 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1619537, N'{0F0D44AF-DF35-44FD-86B5-E201E4099A98}', N'001592017', 141191, N'VIP1291', NULL, N'1592017', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 12', N'Block 3', N'', N'PART OF LOT 12, BLOCK 3, SECTION 9, ESQUIMALT DISTRICT, PLAN 1291 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0154', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:21:40.000' AS DateTime), CAST(N'2019-01-05T10:52:43.000' AS DateTime), 257, 65, 0xBD0B0000010410000000E4141D49392B3241E056EC2FDF9A1741F385C9F4322B3241309FAB2DC79A17418A860B14322B3241404AE3B8C59A1741F8D1D633312B3241B040F93EC49A17412C482D54302B3241A0ABF0BFC29A1741F3C710752F2B3241D0BECC3BC19A1741D82E83962E2B3241E0B990B2BF9A1741475986B82D2B3241F0E53F24BE9A1741E6D9ACFA282B3241A08941600E9B1741399FF8042B2B3241A075CACE119B1741D6B8EA112D2B324120DCAE23159B17414C026F212F2B3241F001CE5E189B1741DE3D7133312B3241F02B08801B9B17416815DD47332B3241B09A3E871E9B1741061B9E5E352B3241E08E5374219B1741E4141D49392B3241E056EC2FDF9A174101000000020000000001000000FFFFFFFF0000000003, CAST(1619537 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1622471, N'{0A56E4C9-D7FB-4661-B6D9-9963C25E7319}', N'000890596', 1184317, N'NWP19748', 36904651, N'890596', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2009-10-16T00:00:00.000' AS DateTime), N'Lot 12', N'Block M', N'', N'LOT 12 BLOCK "M" DISTRICT LOT 440 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 19748', N'0031', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-04-26T15:14:46.000' AS DateTime), CAST(N'2019-01-12T08:37:09.000' AS DateTime), 585, 97, 0xBD0B000001040D00000057B1BFEC69B132410076E01C10691C412F55308A6AB132412008AC9CDC681C41D2CCCC0C4CB13241709CA2A3D8681C41DF4F8D174BB13241D08EE4F228691C41666FF02563B1324150E17A142C691C4110D5A6BA63B13241107FFBB427691C418CA25B6564B1324160DCDD8823691C413599F42465B1324150FD07971F691C41C3EF34F865B13241108AFFE51B691C41255EBFDD66B132414005DF7B18691C41C95E18D467B1324100B64B5E15691C416CA2A8D968B1324160516C9212691C4157B1BFEC69B132410076E01C10691C4101000000020000000001000000FFFFFFFF0000000003, CAST(1622471 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1623717, N'{8CB44DF1-55C6-4D58-863A-FC7CFC55CC34}', N'015314898', 3, N'NO_PLAN', NULL, N'15314898', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'8269', N'', N'', N'DISTRICT LOT 8269 KOOTENAY DISTRICT', N'0163', N'0018', N'NO', N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-22T18:31:32.000' AS DateTime), 592965, 3855, 0xBD0B00000104990000008838D64568493B41A0999999822423414CB6F39D70493B4120CB10C7502423414260E5D074493B416009F9603D2423415240136174493B41C84B37891E242341AE25E44373493B41182DB21D0E242341F00DBEB06D493B41E84F8D97E92323411695D4E966493B41A80512D4C7232341F2EDEBE064493B4140C286E7AB23234172D7121266493B4150F38E9391232341A6E848EE68493B41887AA52C7723234112D0445869493B4180D93DB974232341024D84AD6B493B418051495D6C23234146D8F03472493B41606C787A60232341455986B872493B41C8051294542323410FAE47A175493B4180C4B12E4F232341E05817378A493B41B0847C1022232341203867C494493B4198B20C710B232341A023B95C95493B41A034803706232341A72C43BC93493B4198DC46C3F922234166F7E4218E493B4120FDF675E9222341B6847CB07C493B4120CE1951CA222341F263CC1D70493B41A0E848EEB622234186A757CA64493B41805CFE03AA22234133A2B4B75E493B41A0EEC903A12223410144FAED58493B41485986789D2223410712149F54493B41C8C117A6A8222341B9DA8A9D4F493B41D86F5FC7AE222341AEADD87F4D493B41D8CD19D1B12223413E1CEB0247493B416007CE19B922234152F38EB342493B418857CA72B6222341B4847CF03D493B41E06B09F9AA2223414872F9CF3C493B419069DEB1A02223416BD5E7AA3D493B41D044D870972223418B87853A45493B4150D8F0B4712223411EA7E80850493B4148B4C83653222341BA40820253493B4198E4F2DF442223417B2F4C2656493B4100D34DA22F222341AC69DE3141493B41507B83AF29222341A813D0C43B493B41E802094A28222341818CB90B11493B4178C954811B222341F93A706ECF473B4170B74042BB212341E02D90C0CA473B414051DADBB92123412FE483BE25473B4120DA1B7C88212341E29C11E5AC463B4188D93D79C127234195E61D4706473B41789A771CDD27234190ED7C3F0B473B41582F4CA6DE27234177A52C6338483B419037F8C23B2823417A04C5EFE9483B4118C139A3712823415D29CB7009493B4178D712327B2823415A8638968E493B411075029AA328234194A0F871454A3B414006F016DB282341822F4CA6EA4A3B4170EB51380D292341EC3FA41FE74A3B410019731701292341845AD39CD94A3B41A03C2C54F228234171CE8852CE4A3B4148BA49CCEA282341BC5B2061C24A3B41D84F8D57ED28234182D0B3B9B94A3B41683D0A97EA2823419A559F2BAB4A3B41C851B81EDE282341F80FE9D7A64A3B41B88BDB68D7282341EAC039C3954A3B41303108ECBC28234142FAED2B884A3B41500C026BAF282341B8627F39804A3B41B0C876BE9D2823413ACD3B6E7C4A3B4118D7A3308F282341BA8D06707C4A3B41F08095437D282341AA13D0A4804A3B41D0A145B66D282341828CB94B864A3B4118DF4F8D5F28234115022B27964A3B41283A920B4A282341A8C64B77974A3B41B0293A924728234132B29DEF9B4A3B4160643BDF392823418CCB7FC89B4A3B4140992A981A282341BCA8A40E9A4A3B4170CE88D20128234128C28667954A3B41C02C43DCE02723413070CE68924A3B4100083DDBCB27234100BC05328A4A3B4170A7578AAC272341E8C03963824A3B41787AA5EC862723416029CBD07D4A3B41B859F5797A2723411E1FF4EC764A3B412024283E70272341199E5EE9674A3B4120C4B1EE6427234104C58F51614A3B41404547F26127234130A2B457584A3B4110E9B72F62272341384ED191514A3B4180D409E869272341D45D4BA8474A3B41D08C286D8A272341BC0512F4404A3B41704BC80797272341EAB7AF633F4A3B4160204171992723412063EEBA314A3B41789D80A6AA2723413992CB5F2E4A3B41A8847C10AB27234188F4DB57294A3B4120EBE2B6A72723413A92CB7F244A3B41D811147F9D2723413A6744691E4A3B41B0ADD8DF842723413970CEA81A4A3B417828ED8D7F27234102BC0532174A3B41587FD9BD77272341129C3382104A3B4198ADD89F502723415A5452470A4A3B41006C093938272341B38D06F0004A3B4108C66D741C272341D8915C5EFD493B4168BB96501227234122A7E808E7493B4100F54A99EF2623417EB740A2D7493B4130D8F074DA2623410E4FAF74D1493B4128014D04D5262341EA73B5B5CF493B4188DFBE4ED42623413A014D44C1493B4168DC4603CE262341DE9C1125B9493B418836ABFEC4262341C242AD69AE493B41B83E57DBB2262341EE2631A8A8493B4168900FFAA026234104AC1CBAA8493B41009F3CEC9D262341C0F5289CA8493B413851DADB912623413F0AD783A6493B41001EA7A88A26234126871659A2493B4138CCEEC98726234104AC1CDA9D493B414080B7008C262341A03C2C949B493B41E041CF6695262341C2EC9E3C9A493B4128FDF635A6262341CABAB86D9B493B41585BB13FC5262341F8C2648A9B493B41E09E3C6CCB26234101C364CA98493B41A8CF4458D0262341DA68000F90493B4150CD3BCECC262341C26D34008A493B41F89AE69DBB262341DF68006F88493B4168658823B826234166006F4187493B41C8EEC9C3B026234125A9131085493B41A8B96B09A326234125D26FDF80493B41A04082A2942623414603782B7F493B41E09C116587262341A6C64B5780493B41A8E8486E672623414AB6F3BD7F493B41E81FD2EF58262341205A647B7E493B41108C4AEA3D262341C4D32BA57D493B4150C954012C2623412E2AA9737D493B41B8D2DEE0272623416B6FF0E57C493B41085D6D051C26234184A7570A7C493B415092CB7F07262341A68251C97A493B4160158C8AE9252341ACE1E9357E493B4188EC2F7BC22523411271AC4B80493B41E8DBD701B8252341F9CBEE698A493B41E8D781339E25234199BB963093493B4188FC873495252341C8157CFB93493B4128C809969225234140F6F5DB94493B4190F7A4139025234155360CD195493B4190B01FB08D2523417EE6AFD996493B4130F71D6E8B252341CC79BCF497493B4148C31E50892523416209F92099493B41183E79588725234186EB51789E493B413011363C7D252341DB7A140EA2493B4168431C6B69252341646666A6A2493B41E0E995326425234122DBF99E9F493B41286519A257252341E7839E0D9E493B41E097DD53462523419A218E1598493B4118C7BAB8372523414479580890493B41B8DCB58427252341F45C6D258F493B41B835CDBB2525234161EE5A8284493B41B8605452102523414EEA04347D493B4198D85F3604252341D3B359D571493B41201FF42CE82423413E1CEB8268493B4178AC8B1BCA242341D63D793867493B4190810485B42423415CD3BC8365493B418020B072992423418838D64568493B41A09999998224234101000000020000000001000000FFFFFFFF0000000003, CAST(1623717 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1624549, N'{03872F6F-7041-4371-B014-3A8B3EDE1318}', N'011867353', 482636, N'KAP40107', NULL, N'11867353', NULL, N'cnhp0028', N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'REM Lot 1', N'', N'', N'LOT 1 SECTION 9 TOWNSHIP 22 RANGE 11 WEST OF THE 6TH MERIDIAN KAMLOOPS DIVISION YALE DISTRICT PLAN 40107 EXCEPT PLAN KAP80913', N'0163', N'0006', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-01-08T18:21:53.000' AS DateTime), 105592, 1468, 0xBD0B0000010408000000AA4E4013943F364150E3A55B6B7A244163984C95C5403641E078E92623792441A69BC4E0DB403641208E75F13D772441CE6F5F07AD3F3641B0ADD89F0577244140355E3A843F36412874B5557C7A2441B225E4237F3F3641C82B6519EB7A244182B740228F3F36413880B7C0D67A2441AA4E4013943F364150E3A55B6B7A244101000000020000000001000000FFFFFFFF0000000003, CAST(1624549 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1625036, N'{9D795CA5-31CD-482B-B698-1AEDB0B730A2}', N'014611945', 3, N'NO_PLAN', 8013461, N'14611945', NULL, N'760-009249.100', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 11', N'88,18', N'', N'THAT PART OF FRACTIONAL LEGAL SUBDIVISION 8 OF SECTION 11 TOWNSHIP 88 RANGE 18 WEST OF THE 6TH MERIDIAN PEACE RIVER DISTRICT LYING EAST OF BEATTON RIVER', N'0163', N'0015', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-11-01T17:16:57.000' AS DateTime), CAST(N'2019-01-09T18:30:08.000' AS DateTime), 44266, 946, 0xBD0B000001043600000092976E32062B3441A423B91C01E333419AE61DA70A2B3441F4770BC407E3334100098ADF0E2B344168C5FE920EE33341A713D0E4122B3441E8AE258415E333415A9FAB8D162B3441B02E6EA31CE33341EC51B8BE192B3441E82A87F623E333412B6519A21C2B3441C8B12E6E2BE333417524975F1F2B34416C2BF6F732E3334112363C1D222B3441A88026823AE33341D8096802252B3441C410C7FA41E3334170CE8812282B3441F041CF6649E333419D01BC252B2B34418C5149DD50E33341C220B0722E2B34413061C33358E333418B7CD033322B3441B810C73A5FE33341411361C3362B3441D044D8B065E33341383CBD523C2B3441DC0E9C736BE33341224A7B23422B3441ACD6340F71E33341130BB566472B3441C8AACF1577E3334120DBF9DE4B2B3441CC47E1BA7DE33341607FD9FD4F2B344140B9FCA784E33341FCC2642A542B344114B072888BE333417A0B24C8582B344154AF940592E33341BE86A7175E2B3441180DE0ED97E3334126287ECC632B3441BCC8767E9DE33341D200DEC2692B3441347424D7A2E33341C4F528DC6F2B3441503BDF0FA8E3334171A301FC752B344128530543ADE33341492575027C2B34414C1E168AB2E33341838CB90B822B3441A88251C9B7E33341B02E6E23882B34414C5986F8BCE3334132BB272F8E2B344144E17A34C2E33341083D9B15942B3441D8460398C7E3334158C1A8C4992B34416C348037CDE33341EB95B24C9F2B344150522700D3E3334176A52CC3A42B3441B86B09D9D8E333412F772D21AA2B34419CDD93C7DEE33341984C156CAF2B34414C158CCAE4E3334147BF7DBDB42B34410C5D6DC5EAE3334104BC0532BA2B3441E46C569DF0E33341708104E5BF2B34414C742437F6E33341F6EDEBE0C52B34418CB0E189FBE3334140CF6615CC2B3441A418049600E43341F1A7C68BD22B3441BCCAA14505E4334136B4C836D92B3441ECE995B209E43341C832C4D1DF2B3441240F0B350EE43341F6C2642AE62B3441980D4F0F13E4334132772D61EC2B34410834111618E433417C36ABFEED2B3441EC0DBE7019E433415327A049032C34410C5F984C00E333413FAD69DEFE2B34416C226CF8FFE2334171C5FED2F72A34418C416045ECE233417A7AA5ECFC2A34417C2F4C06F4E23341BF9F1A8F012B344190B20C91FAE2334192976E32062B3441A423B91C01E3334101000000020000000001000000FFFFFFFF0000000003, CAST(1625036 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1625293, N'{A6080A62-1FF6-4AE1-85B0-20227D13A6CC}', N'007488882', 4652349, N'VIP379RW', NULL, N'7488882', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 34', N'', N'', N'THAT PART OF LOT 34, DISTRICT LOT 140, ALBERNI DISTRICT, PLAN 1414 BEING THE LOGGING RAILWAY SHOWN ON PLAN 379 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2019-01-10T15:03:00.000' AS DateTime), 73, 42, 0xBD0B00000104090000004260E550A47D3041C08BDBE899041D41CB6D3440A47D3041A0749398C4041D416A006F81B27D304190B20CF1C2041D41AE6D9C11B07D30413096A382BC041D415E19E9A8AD7D3041E00BD8E9B5041D41A0158347AB7D3041F03C2827AF041D41F6E897EDA87D30411074153BA8041D41D08A549BA67D304120142426A1041D414260E550A47D3041C08BDBE899041D4101000000020000000001000000FFFFFFFF0000000003, CAST(1625293 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1625530, N'{BFC20858-D5BC-4373-B694-85DAD357C795}', N'006049869', 1316, N'VIP4760', NULL, N'6049869', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Parcel A', N'REM Lot 144', NULL, N'THE SOUTH 12 CHAINS OF PARCEL A, DISTRICT LOT 144, NANOOSE DISTRICT SITUATED , IN NEWCASTLE DISTRICT, PLAN 4760 AS SHOWN ON PLAN 338-R EXCEPT PLAN VIP56863 , AND VIP60921', N'0163', N'0021', NULL, N'ICIS CADASTRE', 10, N'LSA', N'UNKNOWN', N'1', N'29362', CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2020-06-26T17:05:00.000' AS DateTime), 29361, 1108, 0xBD0B000001040B00000086B0E1490EFC304140A0F8314E481D41826ABC5437FB3041F00434913F481D41F1B0508B33FB3041905CFE4362491D41FA6C56FDA1FB30410064CCDDA4491D41EFF44AF90CFC3041C0270F8B86491D4186B0E1490EFC304140A0F8314E481D416CA3015C2FFB3041A02E6E23A34A1D411F4A7BC32AFB304170423EE8034C1D41DCF0F42AFAFB304130CC5D4B124C1D4166226CD883FB3041A051491DD64A1D416CA3015C2FFB3041A02E6E23A34A1D41020000000200000000020600000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1625530 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1626636, N'{9A6CD197-8E98-4FEA-A11D-29BFA397755D}', N'000016314', 646724, N'VIP2024', NULL, N'16314', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Block F', N'', N'', N'THAT PART OF BLOCK F, DISTRICT LOT 258, ALBERNI DISTRICT, PLAN 2024, INCLUDED IN PLAN 283 RW', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:38.000' AS DateTime), 78716, 5236, 0xBD0B0000010417010000E02D9060D7753041C07EFBBA948D1D41604BC80709763041D0482EFF258D1D41487C1D931076304180252412148D1D41F9FB32DD17763041B033C587008D1D4173EB82E01E7630415094DF6EEB8C1D41E20ABD9725763041505C6FD7D48C1D411EC0CAFD2B763041207892D2BC8C1D41A9F1D20D3276304120B37B72A38C1D413C70CE285D76304150840DCFE48B1D41FA6C56DD64763041E00AB526C28B1D41EF9E3C6C6C763041404850FC9E8B1D41826132D57376304170F2B0507B8B1D4117E258177B763041300B2428578B1D41A860543282763041704A7B83328B1D419D01BC2589763041706666660D8B1D4198B20CF18F76304150AA60D4E78A1D410E61C39396763041103B70CEC18A1D41C9C3420D9D7630415019E2589B8A1D41F46C565DA3763041808F5374748A1D417AA52C83A9763041109D80264D8A1D41E851B87EAF76304110B29D6F258A1D41C19F1A4FB576304150AA6054FD891D414AE17AF4BA763041E01804D6D4891D419028ED6DC076304140226CF8AB891D41937571BBC5763041A0C876BE82891D41361136DCCA76304190559F2B59891D411FD26F3FF7763041E073B595E9871D415148C580FC763041703A08F2B8871D41FB240ABE0077304170D2A5BE86871D412C3CEBEF03773041A0604B5253871D419D63E3100677304190CCD2051F871D418EFC441D07773041903A9933EA861D41A44E40130777304120EBE236B5861D417CE2C7980577304100C3F5A831861D417270759E0577304140F5E987FF851D416E2A9BC80677304190D2619ECD851D415857BD1409773041202BCA569C851D41FFEBF57D0C773041A081361A6C851D41C8FCFEFC10773041A005814F3D851D41FD3F428816773041F03B6F5A10851D41C57EED131D773041A04ADD9AE5841D41DFC90B9224773041708CF16BBD841D41F43BA3F22C773041303B5A2398841D41410AD72336773041E0BB961076841D41544013C19D7730418041606518831D4112D044B8A2773041501E85EB07831D41AA9BC4C0A777304190EFA7C6F7821D410BA392DAAC77304170226CF8E7821D4157C1A804B277304120B7D180D8821D41C97F483FB7773041608A1F63C9821D4171E7FB89BC77304180081B9EBA821D41EAAE25E4C1773041F0A06733AC821D417268914DC7773041905374249E821D4151AF94C5CC7730418045477290821D41964C154CD27730415051491D83821D41AB9BC4E0D7773041200BB52676821D4146696F700878304170006F8107821D41A73306A01878304190E5EB94DE811D41C6B132CF27783041200604EBAF811D415C977DDD3578304180557DE77B811D41AB42D9AC4278304170338EF942811D41D0FEE1214E78304130A6EF9A05811D4176931824587830418016D94EC4801D41E27A14EE6E78304170DCD7011F801D41694469AF7178304190D578690B801D41BCC1178674783041106EA301F87F1D41EA04347177783041F0F0F4CAE47F1D41E60434717A78304120CB10C7D17F1D4153AF94857D78304170FD65F7BE7F1D41715F07AE807830418088635DAC7F1D41FBC264EA837830418047E1FA997F1D415BF5B93A87783041A0F2B0D0877F1D413DAD699E8A783041801B0DE0757F1D41CEB359158E783041C079C729647F1D41C67F489F91783041F07BF2B0527F1D41896CE73B95783041606ABC74417F1D41F6B9DAEA9878304110D9CE77307F1D41994C15AC9C78304190C729BA1F7F1D415E54522746793041606666E6387C1D41FDD478294A793041202AA913277C1D41F4FDD4184E79304110B662FF147C1D41972A18F55179304130E78CA8027C1D417D48BFBD5579304120BC0512F07B1D414FFC187359793041405AD33CDD7B1D419E3C2C145D7930412055302ACA7B1D41A1923AA160793041401AC0DBB67B1D41F0EBC019647930415017B751A37B1D419C11A57D677930418096218E8F7B1D417CD0B399CE7930415062105829791D41A8E56623DA793041C01B8433EA781D41C70E53E3E679304190B48FE7AE781D415B420AC5F4793041B03337D377781D41511B4EB2037A304120ACBC4E45781D41567D3393137A304170D612AB17781D41A6E8484E247A304130575B31EF771D41652BF6B74E7A30411030BBA791771D41F08039C8567A3041C023CDAC7E771D41BDB386915E7A30418052EBEC69771D415C42A90D667A3041D0E59E7853771D41452AAA366D7A3041C0CDCC613B771D41C2A8D406747A30418084A7BB21771D410FC7BA787A7A3041D0BE9F9A06771D41AE0C71ECF87A3041D0B27B72D3741D41B41E85AB007B3041006D567DB1741D41E595B28C087B30412026530590741D41D968008F107B3041E0DEE00B6F741D41354547B2187B304150E17A944E741D413CC6DCF5207B304140C05BA02E741D41D32B6559297B304110C58F310F741D4152DA1BDC317B3041505EBA49F0731D4141A4DFFE377B3041E07CD0B3DA731D41F263CC7D3A7B3041106822ECD1731D41C27D1D78397B304160B4C876BA731D414A9D8066337B304100C898BBBA731D4188D2DE60337B3041A035CDBBBA731D415AD3BCC3207B3041A096908FBB731D418E4AEAE4127B3041F07A142EBC731D41F6065F780A7B3041D0438BECDB731D41809ECD2A027B3041C07AA52CFC731D41DBACFAFCF97A3041F0B12EEE1C741D41D56800EFF17A3041E0E76A2B3E741D41C4529601EA7A3041B08AFDE55F741D415E984C35E27A3041A099991982741D41BC5296C1637A304130378941B5761D4184E4037C5E7A304110D50672CB761D4178C55DE9587A3041901AB66CE0761D41C918140E537A304150FDE120F4761D4197DAD0EE4C7A3041B079D97E06771D4101297490467A3041E00FFC7717771D41546210F83F7A3041406DC5FE26771D4143E8D98C157A30418095438B84771D417B8B9FC0027A304140AF0A04B2771D41417F8EE9F079304180CF4D4AE5771D4198213F24E07930411068DD0B1E781D417805938BD079304150A0C0ED5B781D4181DC8938C2793041A024C78C9E781D4125651942B57930412024287EE5781D41F9C2642A4E793041602C439C4B7B1D41DCF0F40A4B79304130CD3BCE5D7B1D41F9065FD847793041E0F0F4CA6F7B1D414EFC189344793041B0726891817B1D413E2CD43A41793041C02D9020937B1D417DFB3AD03D79304150218E75A47B1D41D6D781533A7930410097FF90B57B1D415BC1A8C43679304110696F70C67B1D41935CFE233379304160BC7413D77B1D41CF22DB992F793041B01804D6E67B1D41B1BFEC1E86783041D00B93A9CD7E1D418538D60582783041A0FA5CEDDF7E1D41A89BC4007E78304100B53778F27E1D417D04C50F7A783041C0817346057F1D4151FC18337678304170F4DB57187F1D415ECC5D6B72783041103108AC2B7F1D41D83D79B86E78304110C9E53F3F7F1D41947EFB1A6B783041F072D712537F1D41FAA9F19267783041B0096822677F1D41BC64AA20647830413069006F7B7F1D4136014DC460783041508FC2F58F7F1D4144AD697E5D783041103411B6A47F1D4115FBCB4E5A783041C0C342ADB97F1D41911804365778304170AC8BDBCE7F1D410E58393454783041B011A53DE47F1D4170E7FB693D78304120DE718A89801D4100AFBDDC34783041B0C5FB53C1801D419AD7B9122B783041B0428BC2F5801D419D21DD202078304150D50C6626811D412CB18C1E1478304140AE88D652811D41500C74250778304150EA00B57A811D41CC3B4E51F9773041E09E3CAC9D811D41D812F2C1C87730415017B7510C821D41885AD3BCC277304140166A4D1A821D4194E61DC7BC773041200DE0AD28821D41AB9BC4E0B6773041108F537437821D41BD30990AB177304110C0EC9E46821D41718A8E44AB7730414031082C56821D41487B838FA577304120E3361A66821D41DAE76AEB9F77304150D5786976821D41288716599A773041702BF61787821D41ECFDD4D894773041C00A462598821D41460C026B8F773041B0DFBE8EA9821D418204C50F8A773041F0179554BB821D4102BC0572227730411092CBFF18841D412171053617773041C07AD8A342841D41795DF9F80C773041C0BB583470841D412EADB6D00377304160B92250A1841D41B952C4D0FB763041A01F7E8ED5841D41FE62310AF5763041402F03800C851D41F2B4708BEF763041A05188AF45851D410C123A60EB763041B0ED1BA380851D4174397191E8763041A07008DDBC851D414BEB1225E7763041C05DE0DCF9851D410B24281EE7763041F02D902037861D41D434EF98E8763041703177ADBA861D415444E9A0E8763041409F9EA1E5861D4119DB40C7E776304100A24C7310871D4157E46D0DE6763041C0378DD83A871D41E5736B76E376304150A4278864871D419AA0B206E0763041B0E51C3A8D871D4157CA32C4DB763041B00B24A8B4871D4134772D61AF763041405AD33C24891D415EFE437AAA7630417047E1FA4B891D41E41DA768A5763041108A1F6373891D417A711B2DA0763041A045B6739A891D413F8B6CC79A76304120E78C28C1891D41BC74933895763041C0B6627FE7891D41AB9BC4808F763041B0D85F760D8A1D416E1B0DA0897630411070CE08338A1D4186FD659783763041C0EA7335588A1D4127CB10677D763041A0900FFA7C8A1D41850D4F0F777630412085EB51A18A1D4126A0899070763041A0363C3DC58A1D41B61E85EB69763041707DAEB6E88A1D413780B72063763041D0A370BD0B8B1D41D04D62305C76304100CD3B4E2E8B1D41C7073D1B5576304120F9A067508B1D41D61B7CE14D76304150B81E05728B1D417593188446763041C0C11726938B1D4172F90F691B76304180F085C9518C1D4112B6D67E167630413034205B668C1D4146C9EB4E11763041B05D60D3798C1D4135563CDD0B76304100B789238C8C1D41FE47E72D06763041B0A6BF3D9D8C1D4147333A450076304100301015AD8C1D417B14AE27FA75304140BF7D9DBB8C1D4122C9E57FC8753041C019515A2A8D1D41448594CEBB75304120045686498D1D4137BD18CEAF753041D077CBCD6C8D1D41E185A893A4753041D0EB57F2938D1D416CF11B339A753041A0CACDAEBE8D1D414BFDC9BE9075304160B7A5B7EC8D1D416B28684788753041C00684BB1D8E1D41A6EBECDB80753041D08AC863518E1D41F04775897A75304160AA2755878E1D4183992D5B75753041E0B94B30BF8E1D41B9D83D5A7175304190797D92F88E1D41396BB98D6E753041308A5216338F1D410AA392FA6C75304160AA60546E8F1D41A167B34A6A753041E0D85F7617901D4167A2D07D69753041E04CC6213C901D4157CE20476875304110AB929E60901D416C4A46A7667530411043B3D984901D41F36B1A9F6475304120B838C0A8901D41070DAD2F6275304100E45F3FCC901D415EFE435A5F75304110A69B44EF901D41E3B5849C42753041A00D4F2F38921D417600B03E40753041A0A6182751921D4144CD4B903D753041F0B13B9B69921D4168C51F933A75304190657C7B81921D415EDE274937753041F02301B898921D41D50893B433753041D0015D41AF921D41A8BDC1D72F75304110029A08C5921D41B5490CA253753041701D3867C8921D41B0E1E9755475304160234A7BC8921D41DD084290567530412001C89CB7921D41D9D0AB8E58753041B0395888A6921D4171DDD0705A753041E099DE4095921D41DB9A5F365C753041509247C983921D419A4B0BDF5D753041B0B5872472921D4150158C6A5F753041203D9B5560921D4121B9FC277C75304170B1BF6C17911D419D5C886A7F75304110D76324EF901D41BA4BB83782753041C038B64FC6901D41E762158E84753041405212049D901D41BAA5666C8675304130D7115773901D41B4E2B1D1877530418069815E49901D4113363CBD88753041503255301F901D41E48C286D8B75304100BADA0A768F1D411B94C2BB8C753041109DE7E0448F1D419F75680E8F75304180A38051148F1D412053FF609275304190B676B2E48E1D41C200A8AD96753041F0FAF157B68E1D41CF65C9EC9B7530419015DD93898E1D41DFE91D15A2753041F06854B55E8E1D418FD7C31BA975304180471A08368E1D41929750F4B0753041301011D40F8E1D41ADA1E690B9753041C026BC5CEC8D1D41C6FD4DE2C275304150A4C8E0CB8D1D41AC280FD8CC75304180939E99AE8D1D41E02D9060D7753041C07EFBBA948D1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1626636 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1626638, N'{9E634501-5B7B-451A-B51B-68FA49314C60}', N'000016021', 646724, N'VIP2024', NULL, N'16021', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Parcel A', N'Lot 5', N'Block D', N'THAT PART OF PARCEL A (DD 9910N) OF LOT 5, BLOCK D, DISTRICT LOT 258, NEWCASTLE DISTRICT, PLAN 2024, AS SHOWN ON PLAN 131R', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:38.000' AS DateTime), 2014, 483, 0xBD0B000001040A000000623255101D6C30410060764FA3B61D416DAC8B3B2E6C304190A301BCA7B61D4107F01628786C3041006EA381A2B51D41E7D0221B746C30415038D64590B51D41A0A223F9D06C3041105C204147B41D412A3A922BC86C30410063EEDA45B41D41EE384527C86C3041E067B3EA45B41D415096210E706C3041B0029A087EB51D4199218E551F6C304120A7E8489BB61D41623255101D6C30410060764FA3B61D4101000000020000000001000000FFFFFFFF0000000003, CAST(1626638 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1627148, N'{3B14BF09-5583-4327-B57D-C0669145AB19}', N'014292831', 299180, N'PRP948', NULL, N'14292831', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 15', N'Block 4', N'', N'LOT 15 BLOCK 4 DISTRICT LOT 3 QUEEN CHARLOTTE DISTRICT PLAN 948 EXCEPT PLAN 6937', N'0116', N'0026', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-11-26T18:18:46.000' AS DateTime), 121, 46, 0xBD0B000001040A00000028F8C2E4C5512241F85FE5D03D762C414C598678C75122411824283E50762C41DAD5566CDB51224130A5BD414E762C41003D9BD5D851224178226C7830762C415EB5B7B8D5512241C8C6A0C132762C41E00F4397D2512241003E900435762C41BAED4971CF512241A068314137762C417C02D946CC512241B0407B7739762C417E13FD17C951224158D964A73B762C4128F8C2E4C5512241F85FE5D03D762C4101000000020000000001000000FFFFFFFF0000000003, CAST(1627148 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1631582, N'{D0DDD117-E610-4112-B3B6-4FB0FEB47E0D}', N'011332000', 1303888, N'VAP4742', NULL, N'11332000', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-15T00:00:00.000' AS DateTime), N'Lot 60', N'Block 25 & 28', N'', N'LOT 60 BLOCKS 25 AND 28 DISTRICT LOT 599 PLAN 4742', N'0092', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-05-30T09:25:26.000' AS DateTime), CAST(N'2019-01-12T10:50:27.000' AS DateTime), 375, 95, 0xBD0B000001040900000029A089F0177A3241F097DD9336871D41FC6C56BD177A3241D04B378936871D4159C1A884177A324180AF94E55E871D4184F4DBB7177A3241A0D634EF5E871D41C4FEB29B3C7A3241A0F8C26466871D41F631E6CE3C7A3241B01F636E66871D41BE86A7F73C7A3241B06ABC743E871D418D5374C43C7A3241A08BDB683E871D4129A089F0177A3241F097DD9336871D4101000000020000000001000000FFFFFFFF0000000003, CAST(1631582 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1632808, N'{652D1F47-7F9C-462F-A334-67B014F98A83}', N'013749641', 1480869, N'NWP2541', NULL, N'13749641', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2006-01-05T00:00:00.000' AS DateTime), N'REM Lot 8', N'Block 1', N'', N'LOT 8 EXCEPT: FIRSTLY; PART DEDICATED ROAD ON PLAN LMP21755, SECONDLY; PART ON SRW PLAN 74467, BLOCK 1 DISTRICT LOT 758 GROUP 1 NEW WESTMINSTER DISTRICT PLAN 2541', N'0088', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:36:39.000' AS DateTime), 453, 90, 0xBD0B0000010405000000D0CCCC0C99A53241D09F1AAFF78B1C418CDB68808CA5324140F085C9D48B1C41140DE08D7BA5324110736811368C1C41236C781A88A53241B08F31F7588C1C41D0CCCC0C99A53241D09F1AAFF78B1C4101000000020000000001000000FFFFFFFF0000000003, CAST(1632808 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1632858, N'{6AEC4A3E-15CC-4AF4-9526-C3C7B65995F1}', N'024251437', 1480596, N'LMP39423', NULL, N'24251437', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', CAST(N'2002-08-13T00:00:00.000' AS DateTime), N'Parcel A', N'', N'', N'PARCEL A (PLAN LMP39507) DISTRICT LOT 173 GROUP 1 NEW WESTMINSTER DISTRICT DEDICATED ROAD ON PLAN LMP39423', N'0010', N'0010', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2019-01-12T12:36:54.000' AS DateTime), 1412, 182, 0xBD0B00000104050000005986389642A4324150BD529693A21C41EE63CC7D59A43241308716D92BA21C41E002092A0FA43241D08A8EE454A21C413D3EE83933A4324180D634EFD8A21C415986389642A4324150BD529693A21C4101000000020000000001000000FFFFFFFF0000000003, CAST(1632858 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1633834, N'{56C018FC-5411-4842-8D8F-469DCAF3B6ED}', N'014625083', 3, N'NO_PLAN', NULL, N'14625083', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'PART 228S', N'', N'', N'THAT PART OF BLOCK A DISTRICT LOT 228S SHOWN ON PLAN M183; SIMILKAMEEN DIVISION YALE DISTRICT EXCEPT PLAN H15455', N'0163', N'0022', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:30:08.000' AS DateTime), 24501, 687, 0xBD0B000001040C000000FAA06713CC393641205C8F42A4991E418A416045EC39364190DCB504B1991E41606DC55EF73936417067B36AB5991E4195658823983A364140C05B20F5991E4121DBF9FE9F3A364110A4703DF8991E41BA37F8A2A63A36413004568E90981E41184850FC353A3641300AD7233A981E41C4EEC903AE393641908CB9EB23981E4177832F0C9A393641F0F21F52F9981E419FABAD1896393641A0EC9E3C33991E41CD54C108B1393641809C11256C991E41FAA06713CC393641205C8F42A4991E4101000000020000000001000000FFFFFFFF0000000003, CAST(1633834 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1634949, N'{970D735E-6714-4DF1-B9EC-69255193021B}', N'013992813', 465320, N'NEP7250', 9830101, N'13992813', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot A', N'', N'', N'LOT A DISTRICT LOT 352 KOOTENAY DISTRICT PLAN 7250', N'0163', N'0018', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-03-29T08:53:54.000' AS DateTime), 21341, 865, 0xBD0B00000104090000003670CEA8B1CB3941C0DCB50436DF24419F45B69390CB3941201AC09BFDDF244154643BDF48CB3941F0D24D62B0E1244184AEB6C29ECB394148477279C3E02441A4923AE1E0CB394110363CFD0DE024414E27A06932CC394148A60A862CDF2441866CE71B20CC3941C0EEC9431CDF2441DE0968E2DBCB3941D04525B517DF24413670CEA8B1CB3941C0DCB50436DF244101000000020000000001000000FFFFFFFF0000000003, CAST(1634949 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1635005, N'{1DAE9C50-3413-452E-9179-285DE1875AC9}', N'009984887', 862241, N'KAP7615', 3543461, N'9984887', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', CAST(N'2018-02-01T00:00:00.000' AS DateTime), N'REM Lot 1', NULL, NULL, N'LOT 1 SECTION 23 TOWNSHIP 14 OSOYOOS DIVISION YALE DISTRICT PLAN 7615 EXCEPT PLANS 39753, H823 AND EPP62324', N'0063', N'0016', N'NO', N'MODIFIED-ICIS', 2, N'LSA', N'UNKNOWN', N'0', NULL, CAST(N'2018-02-22T14:54:57.000' AS DateTime), CAST(N'2020-08-11T10:12:19.000' AS DateTime), 14955, 644, 0xBD0B0000010408000000A6BDC1573877364100EEEB00480E224176E9265119773641788B6C67170D224105F01648D4763641C0FA5CEDAD0D2241186A4DD3DE763641F86F5F87940E2241A1CDAAEF01773641409FABAD5F0F22418B75713B05773641381FF46C5D0F224153A60A660277364180B740C2BC0E2241A6BDC1573877364100EEEB00480E224101000000020000000001000000FFFFFFFF0000000003, CAST(1635005 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1635683, N'{46EF0097-AD43-49F0-8D75-0F421374FDAD}', N'000866920', 3191773, N'VIP552G', NULL, N'866920', NULL, N'29065.065', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'Section 16', NULL, NULL, N'THE NORTH WEST 1/4 OF SECTION 16, TOWNSHIP 9, COMOX DISTRICT, PLAN 552G, EXCEPT THAT PART IN PLANS 21763, VIP70696 AND VIP75063', N'0163', N'0017', N'NO', N'MODIFIED-ICF', 184, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'0', NULL, CAST(N'2020-09-04T15:47:13.000' AS DateTime), CAST(N'2020-09-04T15:50:34.000' AS DateTime), 444358, 3998, 0xBD0B00000104440000001648503C2D443041F08D75F148C51F4107560E4D53453041006822EC4EC51F41A1CDAA6F5345304110C3642A34C51F41851F63CE5345304100D9CEF7EAC41F412497FFF053453041C031E62ED0C41F41638FC23554453041B023B9FC9AC41F41DEA59B845845304140DF4F8D46C11F4158A835AD5945304100151D4961C01F4149696F105A453041E0BAB88D14C01F41075F984C274530411027318846C11F411E5C8371234530413093ACE75AC11F4161C99A231F45304100383CC96DC11F417CF40E6C1A453041D09F91047FC11F41B9ADF1541545304130ADE3748EC11F411EC920E90F45304110273DF99BC11F41ECEB2E340A453041100CC374A7C11F4101D84A4204453041F035F2CEB0C11F41136A2520FE44304170A5D3F3B7C11F414E82D6DAF7443041802427D4BCC11F41B610C17FF144304160D58365BFC11F41A381761CEB443041E0696EA2BFC11F41C4C699BEE4443041F0D6648ABDC11F41D83AC273DE443041F06BDF21B9C11F411B9E5E49D844304130454772B2C11F41567DAEF6D2443041D0D9AC7AACC11F41A06EF879B6443041B079980A44C21F4191A724559A443041C09355A0DCC21F41E18AC9887E44304130D3B43876C31F4174A27B1563443041007D81D010C41F41799CCDFB47443041C0818164ACC41F411648503C2D443041F08D75F148C51F41AD7268B1004430410069006F8AC31F41C0CAA1850D44304130F697DD40C31F41EA839E6D1A44304160DC4683F7C21F41C84B376927443041C064AA60AEC21F416A226C7834443041508FC27565C21F4157EC2F9B41443041B037F8C21CC21F41AF7268D14E44304160A7E848D4C11F41E9D0221B5C443041B0DD93078CC11F419DB4377869443041E0B662FF43C11F41FDE68CE876443041C07BF230FCC01F4176832F6C8444304150BE0E9CB4C01F41285305039244304180C954416DC01F41211FF4AC9F4430416009F92026C01F41E002096AAD443041B0C7983BDFBF1F412675023ABB4430411005349198BF1F419FB43738C344304160B3EAF36FBF1F412C08AC3CCB443041008C4A6A47BF1F411F5A649BD3443041B05F764F1DBF1F41C4FEB27BDE44304120B150EBE6BE1F41F01FD22FE8443041107C61B2B6BE1F4175931804074530412069DEF11DBE1F41C4EC9EDC73443041101136BCDFBD1F4171469436CA433041C0FF907E9EBE1F410A2428FECE433041F0EDEB400EBA1F41A46054F234423041C079C729F7B91F419B6588432D423041108A1FE34CC01F410668226C2942304190A44EC077C31F410F4FAF942542304160764F9EA2C61F412D431C0B6743304130C64B37B1C61F419487857A6643304150C5FEB246C51F4106B5A659B5433041A03A014D48C51F413DBD52B6C14330411022FD76FDC41F4125CB1027CE4330419061A1D6B2C41F41EDA7C6ABDA433041201F856B68C41F4193537444E7433041B00F7A361EC41F412997FFF0F343304150A2B437D4C31F41AD7268B1004430410069006F8AC31F41020000000200000000021F00000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1635683 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1635785, N'{F2F6F14E-100C-4F52-A77A-F54BA5B73BDE}', N'023963816', 3192045, N'KAP59863', NULL, N'23963816', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'1997-11-28T00:00:00.000' AS DateTime), N'Parcel C', N'', N'', N'PARCEL C DISTRICT LOT 4701 OSOYOOS DIVISION YALE DISTRICT PLAN KAP59863', N'0138', N'0022', N'NO', N'PMBC-COMPILATION', 1, N'DATACOMPILATION', N'COGO', N'0', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-06-23T21:04:05.000' AS DateTime), 405, 89, 0xBD0B000001040B0000001DD26F5F3747364178DB6840400C20419DCDAAEF2E473641D0C64B37530C2041E12406813347364138AD695E610C204136B2B09635473641B0C2DBD2670C20419CC02EAE374736411072F0446E0C204151A47FC73947364198AAA5B4740C204117B1A2E23B473641F05BF9217B0C2041163A97FF3D473641F075E98C810C2041D2915C1E40473641A0EA73F5870C20416809F96049473641E09DEF67730C20411DD26F5F3747364178DB6840400C204101000000020000000001000000FFFFFFFF0000000003, CAST(1635785 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1636062, N'{654D17A0-7F32-4266-B377-6EC4654B8BAE}', N'001568299', 117903, N'VIP877', NULL, N'1568299', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 16', N'Block 11', NULL, N'THAT PART OF LOT 16, BLOCK 11, SECTION 14, VICTORIA DISTRICT, PLAN 877 INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:28:30.000' AS DateTime), CAST(N'2020-09-22T09:16:54.000' AS DateTime), 306, 71, 0xBD0B0000010406000000D066D507C6363241C0EFA746A88E174184635D1CC3363241B0CFD5D6AB8E174167D5E70AC9363241D04F8D97F88E1741BC490CA2D7363241C0141DC9E68E17411361C3B3D136324140B9FC079A8E1741D066D507C6363241C0EFA746A88E174101000000020000000001000000FFFFFFFF0000000003, CAST(1636062 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1637000, N'{3602B91E-E706-4D6A-9EF4-4EF1E9FD3231}', N'001712152', 8238048, N'VIP171RW', NULL, N'1712152', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 33', NULL, NULL, N'THOSE PARTS OF LOT 33, HELMCKEN DISTRICT SHOWN COLOURED RED ON PLAN 171 RW AND CONTAINING 5.60 ACRES MORE OR LESS', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 6, N'LSA', N'UNKNOWN', N'0', N'19861', CAST(N'2021-02-10T14:26:32.000' AS DateTime), CAST(N'2021-02-11T13:45:54.000' AS DateTime), 19715, 1666, 0xBD0B00000104330000006D81046545DE314100BF0E1CF5D618414FD1919CF6DD3141B0C420305BD718418D75719B48DE3141E0D100DE65D71841F497DDD350DE3141103B70CE5AD71841C40BFCC46FDE3141008003EC3BD718415BE910408FDE3141C0E21E8927D718415E83390CAFDE314110E098CA1DD7184110AB00F0CEDE3141000C0DC21ED71841A083C6B1EEDE31412041BC6D2AD71841AEA228180EDF3141B0C78FB840D71841A2C169EA2CDF3141F0733F7A61D71841CC44D8F04ADF3141C06B9A778CD71841C30E9C1381DF3141A0DA1B7C92D71841DB8AFDC55BDF3141A0C3422D4ED718413D16A8D23ADF3141C03A4BCB17D71841166B58CB18DF314130B28D57EDD6184138B504F5F5DE314190831228CFD618413DA94696D2DE3141000A067ABDD61841A470CCF6AEDE3141E0AD3C71B8D61841B665C75E8BDE31413042EA17C0D61841B3C5591668DE3141E05C8D5ED4D618416D81046545DE314100BF0E1CF5D618413D7958C8C9E13141D026C206FBD51841D1BCE3F4CAE1314180E3A51B85D51841A4C64B3794E13141F0F8A0E784D51841AB28AC4478E13141504B609085D518414F3A8A735CE1314130E8556390D51841BABFEDFE40E13141E08E8949A5D5184148261A2126E131419092A116C4D518414BE012130CE13141C0FB4089ECD518410A68220CF3E03141103A924B1ED61841DC7A14EEA7E0314150D49AE6D6D618410DE02D7075E03141B042ADE954D7184107FCB2E26EE03141F073221E66D71841B389B93268E03141A046D97876D718419298056261E03141203280F585D718417EDC63725AE03141A050009094D718411F34A96553E0314160737E44A2D718410D2DB23D4CE0314100295C0FAFD71841F3FDD43888E03141E04603F8B8D71841ACFA5C4DC1E0314190E09C9125D718417A0B2448D2E031418075711BFAD61841D9F97E0AF5E03141E012F241A3D61841D2AA1E1F0CE13141D07E06636FD6184159A92B5524E131414074738C44D618413B2140743DE13141B0A5022223D618410D6CD74157E13141D0E98A710BD618412F61D68171E1314140E93AB2FDD51841DD5817F78BE13141B0931804FAD51841B147E1BA93E1314100C66DB4FAD518413D7958C8C9E13141D026C206FBD51841020000000200000000021600000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1637000 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1638056, N'{9BE7DEBF-5827-4372-A297-110FFE69A8B7}', N'012670111', 849362, N'KAP147', NULL, N'12670111', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Parcel A', N'Lot 7', NULL, N'PARCEL A (DD 26750F) OF LOT 7 DISTRICT LOT 473 OSOYOOS DIVISION YALE DISTRICT PLAN 147', N'0138', N'0022', N'NO', N'ICIS CADASTRE', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2020-02-20T09:52:19.000' AS DateTime), 1949, 211, 0xBD0B000001040400000084D2DE60C9393641C876BEDF55312041BCC11786C239364148C807FD003220412B3108ACF239364178734654C031204184D2DE60C9393641C876BEDF5531204101000000020000000001000000FFFFFFFF0000000003, CAST(1638056 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1638214, N'{7B622278-DC59-4961-B654-ADA4CB09BBAB}', N'023964049', 4236065, N'KAP59864', NULL, N'23964049', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-04-05T00:00:00.000' AS DateTime), N'PART 4899', NULL, NULL, N'THAT PART OF DISTRICT LOT 4899 OSOYOOS DIVISION YALE DISTRICT SHOWN ON PLAN KAP59864 SAID TO CONTAIN 0.404 HECTARES MORE OR LESS', N'0163', N'0022', N'NO', N'SRW-COMPILATION', NULL, NULL, N'COGO', N'0', N'5666', CAST(N'2020-03-03T11:16:28.000' AS DateTime), CAST(N'2020-03-03T11:16:48.000' AS DateTime), 5666, 331, 0xBD0B00000104050000001F6C789AD9473641D0915CBEF5012041845149FDC64736414005A3D2D502204145D8F0F4F1473641801D3867B7022041BDA8A48E2C48364198567DEE5A0220411F6C789AD9473641D0915CBEF501204101000000020000000001000000FFFFFFFF0000000003, CAST(1638214 AS Numeric(38, 0)), NULL) +GO +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1639208, N'{FA0977F2-412F-4A74-BB7D-E3872ADF42D3}', N'015508854', 495897, N'NEP1684', NULL, N'15508854', NULL, NULL, N'ACTIVE', N'ROAD', N'CROWN AGENCY', CAST(N'2000-04-06T00:00:00.000' AS DateTime), N'Lot 1', N'Block 11', NULL, N'LOT 1 BLOCK 11 DISTRICT LOT 4598 KOOTENAY DISTRICT PLAN 1684', N'0146', N'0019', N'NO', N'PMBC-OPERATIONS', NULL, NULL, N'COGO', N'0', N'583.8', CAST(N'2021-05-14T14:52:42.000' AS DateTime), CAST(N'2021-05-17T16:12:18.000' AS DateTime), 589, 99, 0xBD0B00000104050000007AC7297A34833841103D9B5556DE1D4102DE02A953833841601895542FDE1D41AD7268D14983384140E25817E2DD1D41F0FDD45834833841F0B27BF2FCDD1D417AC7297A34833841103D9B5556DE1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1639208 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1640337, N'{DBEA9A27-2A72-4F81-ADAA-9AF64BDA6BA2}', N'002910853', 117903, N'VIP877', NULL, N'2910853', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 9', N'Block 9', N'', N'THAT PART OF LOT 9, BLOCK 9, SECTION 24, VICTORIA DISTRICT, PLAN 877, INCLUDED WITHIN THE BOUNDARIES OF PLAN 1209 OS', N'0122', N'0005', N'NO', N'MODIFIED-ICIS', 0, NULL, N'UNKNOWN', N'0', N'311.4', CAST(N'2021-06-29T17:07:52.000' AS DateTime), CAST(N'2021-06-29T18:02:22.000' AS DateTime), 312, 72, 0xBD0B000001040F000000DC141D09ED38324160B4C876498C17410E2FD359EF383241703B907E448C1741451D10A7F1383241F0D7C86C3F8C1741763DC2F0F3383241B05E99413A8C1741BD08D836F6383241C06829FD348C1741ED134079F8383241D050A19F2F8C1741F90FE9B7FA38324100312A292A8C1741DC6800AFF4383241204FAF14DC8B174169B2F375F238324190B595C9E18B1741CE389F38F0383241A0487563E78B1741688517F7ED38324120AC1AE2EC8B1741254871B1EB383241707D5345F28B1741C656C167E93832418054EE8CF78B174104AC1C1AE738324110C7BAB8FC8B1741DC141D09ED38324160B4C876498C174101000000020000000001000000FFFFFFFF0000000003, CAST(1640337 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1641667, N'{EA98D08B-A817-4591-ADF7-AEC4C0659127}', N'008631964', 1078002, N'NWP39420', 32593061, N'8631964', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 13', NULL, NULL, N'LOT 13 DISTRICT LOT 72 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 39420', N'0019', N'0009', N'NO', N'ICIS CADASTRE', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2021-09-29T13:38:57.000' AS DateTime), 2433, 206, 0xBD0B0000010408000000CE66D52766B53341F0F753E3ED811C41C420B03269B53341C0DD938755811C417558A89530B53341C0FEB27B39811C41B9FC875429B53341A023B97C7A811C41044D848D28B5334180006F8181811C415E5DDC4620B5334150E17A94CB811C41728A8E843BB53341F0361AC0D8811C41CE66D52766B53341F0F753E3ED811C4101000000020000000001000000FFFFFFFF0000000003, CAST(1641667 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1642700, N'{2FDEDCD0-9935-46A9-B172-37A0B2607329}', N'009680411', 1170767, N'NWP2620', NULL, N'9680411', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', CAST(N'2000-03-03T00:00:00.000' AS DateTime), N'Lot 39', N'Block D', N'Lot 758', N'ALL THAT PORTION OF LOT 39 BLOCK D DISTRICT LOT 758 GROUP 1 PLAN 2620 SHOWN ON STATUTORY RIGHT OF WAY PLAN 10087', N'0088', N'0010', N'NO', N'ICIS CADASTRE', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-06-26T16:51:51.000' AS DateTime), CAST(N'2021-11-30T15:02:48.000' AS DateTime), 550, 104, 0xBD0B00000104070000002D992A587AA53241F086A7D75D881C41E258171793A53241B06D3480A2881C41AF506B7A93A53241109A991977881C415D764FDE93A5324180FC87744B881C41E2E995528AA5324100FED4F830881C4184DB68407BA53241E054C12807881C412D992A587AA53241F086A7D75D881C4101000000020000000001000000FFFFFFFF0000000003, CAST(1642700 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1642883, N'{E80DBD64-8917-4F27-B5E4-8F29205042A8}', N'006205976', 2554, N'VIP2859', NULL, N'6205976', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 7', NULL, NULL, N'LOT 7, DISTRICT LOT 30A, NANOOSE DISTRICT, PLAN 2859, EXCEPT THAT PART, IN PLANS 3074 AND 41577', N'0163', N'0021', NULL, N'ICIS CADASTRE', 4, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-10-07T00:00:00.000' AS DateTime), CAST(N'2021-12-08T14:48:31.000' AS DateTime), 160, 55, 0xBD0B0000010405000000B86B09B9C0423141C0D9ACFAF0E61C41383CBD72BB42314180C954C1CBE61C41C676BE3FAB42314190ADD8DFEEE61C415C29CB50AE423141B0B662FF05E71C41B86B09B9C0423141C0D9ACFAF0E61C4101000000020000000001000000FFFFFFFF0000000003, CAST(1642883 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1644314, N'{4A03A470-A2B8-420F-9D89-F219248E1F41}', N'003179605', 122433, N'VIP22889', NULL, N'3179605', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot A', N'', N'', N'LOT A, SECTIONS 40 AND 53, LAKE DISTRICT, PLAN 22889, EXCEPT PART IN PLAN VIP60723', N'0122', N'0005', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T17:51:43.000' AS DateTime), CAST(N'2019-01-05T10:21:48.000' AS DateTime), 3396, 232, 0xBD0B000001042000000077C729BA5E34324170CA3244311A1841A7DFBE6E61343241B0ACFA5C891A1841992A18758C343241509ECD2AA01A1841B7AF03478F343241A0635DDC4F1A1841A4B437389234324120098A9FFF19184190C2F5489534324180218E75AF1918416B226C3872343241A09ECD2A7C191841624BC8A76634324100C9E53F6B191841398A092D66343241E0C725A26A1918412B9E6BAF6534324120A8122E6A1918419F7FD02F6534324150387DE46919184117BB1DAF6434324130D7E9C56919184118D43A2E6434324100858FD269191841B6A40FAE633432415081570A6A1918418DBC822F633432412074DD6C6A19184108C277B362343241D02270F96A191841C2D8CD3A6234324170AC12AF6B1918412B105EC661343241A0537E8C6C19184127DDF95661343241B0C824906D19184110A169ED60343241E0F732B86E1918417E416B8A60343241E04D94027019184185D2B02E60343241107AF66C711918416256DFDA5F3432416099CDF472191841A8948D8F5F343241D0CB5897741918410A0B434D5F343241B026A75176191841A3F976145F343241A0029D2078191841658C8FE55E343241708EF9007A1918414C23E1C05E34324190AC5CEF7B191841A6BAADA65E34324190044DE87D1918414C7424975E34324150423EE87F1918414A94F6C65D34324180E2C798D819184177C729BA5E34324170CA3244311A184101000000020000000001000000FFFFFFFF0000000003, CAST(1644314 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1645773, N'{E730745C-EC95-48E3-A8FC-669018456A91}', N'004786050', 126364, N'VIP12556', NULL, N'4786050', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 15', N'', N'', N'LOT 15, SECTION 6, RANGE 3 EAST, NORTH SAANICH DISTRICT, PLAN 12556 EXCEPT PART IN PLANS 2340 RW AND 1332 RW', N'0090', N'0005', N'NO', N'ICIS CADASTRE', 0, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-01-06T19:42:26.000' AS DateTime), CAST(N'2019-01-05T10:53:37.000' AS DateTime), 192, 77, 0xBD0B000001040400000021DBF93EB82C324130363CBDF8BD184164BA498CC42C324100E8D9ACFABD1841F0EBC079B92C3241F0F2B0D07BBD184121DBF93EB82C324130363CBDF8BD184101000000020000000001000000FFFFFFFF0000000003, CAST(1645773 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1647023, N'{41E11FC8-A193-4157-A154-CF8C2FF69AA3}', N'008969604', 1078044, N'NWP27124', 31216901, N'8969604', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot E', N'', N'', N'LOT E DISTRICT LOT 224 GROUP 2 NEW WESTMINSTER DISTRICT PLAN 27124', N'0002', N'0009', N'NO', N'ICIS CADASTRE', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-03-29T17:26:27.000' AS DateTime), CAST(N'2019-01-31T18:42:27.000' AS DateTime), 2179, 243, 0xBD0B0000010411000000E4B5845C6C8533410081044597D81B41DB68006F6385334170499D006CD91B41F09E3C6C8E853341A06E12831CDA1B41497B83AF96853341A0FB3A703EDA1B41DA4116B096853341B026191539DA1B410CB5ADAC96853341F02D08BA33DA1B410BF349A596853341D06E375F2EDA1B412D3DEB9996853341E041D60429DA1B4101F8918A96853341B0FD13AB23DA1B4136AB3E7796853341E0F21F521EDA1B4102C46A9795853341200D18D5FBD91B416A52541294853341501453B4D9D91B417AC82EEA91853341D0EB3C21B8D91B414BB919228F853341304B744C97D91B4122531CBE8B853341B054846577D91B41058A1FC38785334190BE9F9A58D91B41E4B5845C6C8533410081044597D81B4101000000020000000001000000FFFFFFFF0000000003, CAST(1647023 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1647891, N'{92452D05-F70F-46B0-B10B-3726A7E7EF2E}', N'012955167', 3, N'NO_PLAN', NULL, N'12955167', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 235', N'', N'', N'PART .92 ACRES OF DISTRICT LOT 235 SHOWN ON PLAN A75 KAMLOOPS DIVISION YALE DISTRICT AS SHOWN OUTLINED GREEN ON PLAN H9877', N'0055', N'0028', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-18T18:31:34.000' AS DateTime), 3373, 535, 0xBD0B0000010432000000703D0A57B868354158158C4AEBB2234172145727BA68354118A7B4EDECB22341ACEF6FF8BB68354190A5508DEEB22341971253CABD683541D8835E29F0B22341F0BFFE9CBF683541F8B7DCC1F1B22341C7397170C168354180BBC956F3B2234156C1A844C3683541800B24E8F4B223414E499DA0E668354150E6AE2511B32341EF1648500D68354188E926F1DEB12341A333A2F41B683541A028ED0D02B22341D756EC2F20683541F0E461A10BB223415F984C9524683541F095B24C15B22341EEA7C68B28683541E8141DC91DB223411D85EB112D683541E0FDD43827B2234101917E7B3168354188559F2B30B223417634801736683541D880954339B223418B5AD33C3B6835414850FC1843B22341ABADD8DF40683541C0293A924DB2234145C8071D46683541B847E1FA56B22341105839944A683541A014AEC75EB22341BA96900F4F68354178E61D6766B2234196081B1E53683541281CEB226DB223417924975F57683541B84B370974B22341822F4CC65B68354110A4DFFE7AB22341DA361A206068354100FD87B481B22341E146033864683541F051B8DE87B22341DD2D902068683541488941A08DB223419C2A18756C683541907571DB93B2234155643BBF7068354170F7E4E199B223417A832FEC74683541481AC09B9FB22341E7A56CCF76683541F06A3725A2B223410C2917B47868354168176AAAA4B2234150A32C9A7A68354138E9542BA7B2234142A9AA817C683541E0AFF4A7A9B223419ACD8E6A7E683541F83F4620ACB223415CA1D65480683541C0734694AEB2234122C9E51F85683541C8E1E995B4B22341588638968968354118022B07BAB22341F1C9C3228D68354170DC4643BEB22341169C33829168354158635D5CC3B22341C44BE0EC9468354140C20840C7B223416C0CA85B98683541F0D12215CBB22341F8567BCE9B683541183D9ADBCEB223411A924A459F68354110F05D93D2B223417E1206C0A268354180195D3CD6B22341071B9E3EA6683541F02A87D6D9B223419BDD93C7AA683541900A4665DEB22341A0D6342FAF683541787CD0B3E2B22341EC51B85EB368354118D7A3B0E6B22341703D0A57B868354158158C4AEBB2234101000000020000000001000000FFFFFFFF0000000003, CAST(1647891 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1649185, N'{4750FDF3-6E47-41F0-81BC-62AB43D8CDA3}', N'012457698', 849058, N'KAP217', NULL, N'12457698', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 5', N'Block F', N'', N'LOT 5 BLOCK F DISTRICT LOT 449 OSOYOOS DIVISION YALE DISTRICT PLAN 217 EXCEPT PLAN H783', N'0098', N'0016', N'NO', N'MODIFIED-ICIS', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-06T13:28:48.000' AS DateTime), 5075, 288, 0xBD0B000001040B000000A045B6D3F52B364188779CE284D12041AC14F9DD002C3641D81C81F795D120415B1B2F1D0C2C36415093F87FA6D120412AE9998F172C3641E8957279B6D12041F11C7333232C3641280B75E1C5D120416FABEC062F2C3641E8679CB5D4D12041E62631083B2C3641C80E9CF3E2D120418F4AEAC4612C364140355E3AA2D120413F1361432E2C364148992A9826D12041D5CEF793292C364160DA1B7C2ED12041A045B6D3F52B364188779CE284D1204101000000020000000001000000FFFFFFFF0000000003, CAST(1649185 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1650361, N'{894D42B5-F698-471F-B36B-94A2F4C095D1}', N'013525581', 3, N'NO_PLAN', NULL, N'13525581', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 11', N'3', N'', N'THAT PART OF SECTION 11, RANGE 3, QUAMICHAN DISTRICT BEING A PARCEL 9.67 ACRES MORE OR LESS INCLUDED IN PLAN 1027 OS EXCEPT THAT PART SHOWN OUTLINED IN RED ON PLAN DEPOSITED UNDER DD 65019I', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 15, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T16:28:35.000' AS DateTime), CAST(N'2019-01-07T18:31:27.000' AS DateTime), 30043, 2175, 0xBD0B00000104AB000000F163CC3D49C83141805CFEC35487194135F8C2E44DC8314110A9135067871941AA9BC42052C831419064AA607787194156F5B97A56C83141E0F0634C8787194130FF21FD5AC83141D02A871697871941BD7493985FC83141B09AE69DA6871941B540824264C83141A0F2B0D0B58719410188F4FB68C8314150C3D3ABC4871941DA8AFDC56DC83141A07AA52CD38719416BF7E4A172C83141D05F764FE1871941AE7BF29077C8314130BC0512EF871941D9C56D947CC83141C0FBA971FC871941923177AD81C831412068226C098819410C363CDD86C83141906DC5FE15881941FE6E81248CC831411079582822881941F41FD24F93C83141502D219F31881941B7F3FDD498C83141A086A7D73C881941004D848D9CC8314100C05B204488194184FD6537A2C83141502C65994E881941454772F9A7C83141909C11A5588819418A8EE4D2ADC83141C037F8426288194148BF7D1DB9C8314170A7574A73881941197C6132BFC8314110C58FB17B881941F40FE957C5C8314130A01AAF83881941D7E76A8BCBC8314100CBA1458B881941531E16CAD1C83141A0D85F769288194176F2B010D8C8314100A69B4499881941C5FEB25BDEC83141207C61B29F881941CE6F5FA7E4C83141D08026C2A58819418204C5EFEAC831412022FD76AB881941CC44D830F1C8314130F38ED3B0881941F64A5966F7C8314100D122DBB5881941CEDEE08BFDC831415029CB90BA88194154A60A2609C93141B010C7BAC2881941D244D8301DC93141F0C3422DD28819413689412024C93141B07AA52CD7881941B6FC87142BC93141E056ECAFDB881941E58C280D32C93141A07DAEB6DF881941BF42AD0939C93141A0A44E40E38819418DB96B0940C93141D0CCCC4CE68819412631080C47C9314120D122DBE888194118E2581755C931412048BF7DEC8819411EDBF91E5CC93141E0043491ED881941EF38452763C931410054E325EE8819419DCDAA2F6AC931416035CD3BEE88194184F4DB3771C93141D0F21FD2ED88194194F6063F78C9314190F90FE9EC881941142FDD447FC9314110B7D180EB881941C654C14886C931417007CE99E9881941A4703D4A8DC9314100A16733E78819413470CE4894C93141705F074EE4881941F0B0506BC6C93141E082C0CAD2881941A513D044D3C93141F03B4E51CF881941EC1648B0DBC9314180DE710ACD8819414D7424D7EBC93141508B6CE7CD881941D756ECEF19CA3141100F9C33C38819412AF6977D4CCA31419053E3A5B78819411E166A2D58CA314140FAED6BB5881941769CA2E363CA3141A0B88D06B4881941C87F489F6FCA314180D85F76B388194102098A5F7BCA3141B07EFBBAB3881941CFF7532387CA3141A0F3FDD4B48819413B5EBAE992CA3141F0A59BC4B6881941C532C4B19ECA3141A0B96B89B9881941AC506B7AAACA3141102F6E23BD881941F0C9C342B6CA314140BC0592C1881941C042AD09C2CA314150CF66D5C6881941A9E848CECDCA314110448BECCC88194130B29D8FD9CA3141D0AA3ED7D388194124287E4CE5CA3141E0734694DB881941068A1F03F1CA314180C0CA21E48819412285EBB1FCCA3141E048BF7DED88194119D9CE5708CB31410079E9A6F78819414DF38EF313CB3141602C439C02891941B41C5A841FCB314150F5285C0E89194100DE02092BCB314150AF94E51A89194112C7BAF83CCB31412075021A308919415A20411146CB3141E0D16F5F3B891941E1E00B9331CB3141C08BDBE8B3881941A9E8480E1BCB31418019E2D89888194139EF38A50ECB314180DB68808A881941F00DBED004CB3141604625F57F881941EAF21FF2FACA314120E2581776881941A2703D0AF1CA3141508B6CE76C8819412A75021AE7CA31410042CF66648819412C651922DDCA3141D02A87965C8819419C658823D3CA314130FD657755881941C67F481FC9CA314120703D0A4F881941587DAE16BFCA3141103C4E5149881941440C020BB5CA3141D03A014D448819416C91EDFCAACA314190FF90FE3F8819418F3177EDA0CA314120AF94653C881941F76C56DD96CA3141C000DE8239881941FD4C84CD8CCA314120F46C56378819417936ABBE82CA3141C064AAE035881941C832C4B178CA314110772D213588194194DD93A76ECA314120075F1835881941FAEDEBA064CA3141A0CAA1C535881941051B9E9E5ACA3141E054C128378819414A3789A150CA3141E012F24139881941AE25E4E321CA314130AD69DE44881941E7F21FB2F3C931413004568E50881941D98AFD25DBC93141901804D656881941C798BB36CEC93141E00B93295A881941CE2B65B9B8C93141900F7AB65F8819419CFF901E98C93141F0E8B72F688819417D6ABCF491C93141800681956B88194109F9A0C78BC93141E070AC8B6E8819416F34809785C93141D0E09C1171881941748104657FC93141B0E61D277388194195BB963079C93141A03A01CD74881941908785FA72C9314190B740027688194163C3D38B66C931418075711B7788194149EA045460C93141A0B662FF76881941C0EC9E1C5AC93141406A4D7376881941686FF0E553C93141509031777588194146696FB04DC931418095430B74881941A223B97C47C9314120C5203072881941B8270F4B41C93141B04160E56F881941A72C431C3BC9314190C3D32B6D88194126A089F034C9314180DC46036A881941AE9465C82EC9314180438B6C668819418E5374A428C93141D066D567628819416EAC8B7B22C9314180FF90FE5D881941EEF44A391CC9314130810445598819412F6EA3E115C93141307E8C3954881941216C781A0AC9314160AA60544A88194130B29DAFFCC8314180F1D24D418819412A189574F6C83141A051DA1B3C8819414DDA1B3CF0C8314150DE02893688194172F90F09EAC83141A04E40933088194144AD69DEE3C8314140EB51382A88194143A4DFBEDDC8314190B4C8762388194154B1BFACD7C83141A0CCCC4C1C881941315530AAD1C83141901058B914881941B56B09B9CBC83141A07EFBBA0C881941B247E1DAC5C831413060E550048819414360E510C0C83141E0D9AC7AFB8719413911365CBAC83141B07D1D38F28719419F1A2FBDB4C831412070CE88E8871941F18E5334AFC8314160FA5C6DDE871941C05296C1A9C83141C0F831E6D3871941DFA59B64A4C83141B06ABCF4C8871941BFE3141D9FC831412075029ABD871941E00209EA99C83141001973D7B1871941C03099CA94C8314180567DAEA5871941F163CCBD8FC83141209C332299871941ECD24DC28AC8314100EA04348C871941CA98BBD685C831412042CFE67E8719413D3EE8F980C8314100A4703D71871941F7C2642A7CC8314150355E3A63871941DA3D797877C83141F043FAED548719414EF38EF372C8314180D85F7646871941B6FC87946EC83141604013E137871941A74E40536AC83141A0A0F8312987194126C2862766C8314110D34D621A871941AE94650862C83141908941600B871941767AA5EC5DC83141304ED111FC861941A84E40F357C831416005A392E486194123C9E5DF53C83141501AC0DBD38619414A0C02EB4CC8314140014D04BC861941039A083B4BC83141E0E00B93FC861941F163CC3D49C83141805CFEC354871941C0CAA1C584CB314160AD695E17891941E96A2B3652CB3141E0263108DB8819415DFE435A66CB3141005F984C6389194144FAED0B37CC31414003E78C618A1941D04D62F038CC314170EC2F3BEB891941CEF75343F7CB3141A098BB969E891941D0B35915D9CB3141009D11257B891941C0CAA1C584CB314160AD695E1789194102000000020000000002A300000003000000FFFFFFFF0000000006000000000000000003000000000100000003, CAST(1650361 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1651094, N'{25D7214B-04EC-49DB-8176-2FF0C8633CA2}', N'015209148', 486165, N'NEP2494', NULL, N'15209148', NULL, N'01381.000', N'ACTIVE', N'SUBDIVISION', N'PRIVATE', NULL, N'REM Lot 5', NULL, NULL, N'LOT 5 DISTRICT LOT 7173 KOOTENAY DISTRICT PLAN 2494, EXCEPT PARCEL A (SEE 94837I) AND NEP64579', N'0015', N'0004', N'NO', N'ICF', 0, N'PMBC-OPERATIONS', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2020-12-10T08:47:33.000' AS DateTime), 1660, 165, 0xBD0B00000104180000008A1F63EE758238417051491DC5331F416B25BBCE73823841A0092007C9331F419F9DEEBB71823841E0E7CA59CD331F4186B440B76F8238411022A812D2331F41C8FDEBC16D82384120B7D72ED7331F41CFB421DD6B823841F02A3DABDC331F41DE02090A6A823841F06E8184E2331F41AEBFEC9E65823841B08251C9FB331F41B61E856B938238418001BC057B341F414EB81EC593823841C001BC0578341F41C00E9C53A6823841201E16EA0D341F41C632C4718F82384140F46C56CE331F41F30EA3898D82384160E239C6C9331F41A0E0508B8B82384180C226D9C5331F418CFD337A8982384170B2E595C2331F41ECC7D2598782384130310702C0331F415EABCD2D8582384100A3F021BE331F41CEEDD8F98282384160CBD4F8BC331F41DC5DB6C1808238411061AE88BC331F41C1EA2E897E82384190A83CD2BC331F41D12F0C547C823841302F02D5BD331F41BEFE11267A823841B0A1458FBF331F41EEF3F70278823841D0BC14FEC1331F418A1F63EE758238417051491DC5331F4101000000020000000001000000FFFFFFFF0000000003, CAST(1651094 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1652057, N'{1F19837E-2332-43B4-B38F-4DBBD3AF2E7C}', N'007722401', 246698, N'PRP1076', 35721931, N'7722401', NULL, N'03513.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 42', N'Block 2', N'', N'LOT 42 BLOCK 2 SECTION 2 TOWNSHIP 1A RANGE 5 COAST DISTRICT PLAN 1076', N'0163', N'0001', N'NO', N'ICF', 1, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2019-01-10T18:31:48.000' AS DateTime), 290, 91, 0xBD0B000001040500000011F2418F9E2D2C4154F38E7358A130410EFBCB6E612D2C4150F38EB341A13041BA9F1A6F582D2C41FCA067D347A1304156840D8F952D2C41FCA067935EA1304111F2418F9E2D2C4154F38E7358A1304101000000020000000001000000FFFFFFFF0000000003, CAST(1652057 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1652740, N'{2423F287-DEFC-4D08-8331-2C82B4DED925}', N'000017108', 3, N'NO_PLAN', NULL, N'17108', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'296', N'', N'', N'DISTRICT LOT 296, ALBERNI DISTRICT', N'0163', N'0029', N'NO', N'ICF', 0, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-11-03T10:40:34.000' AS DateTime), CAST(N'2018-11-23T18:37:38.000' AS DateTime), 2606, 251, 0xBD0B0000010405000000BBF3FDD4F1743041A01D386717941D41381AC01BF974304130F016C8F0931D41A8BDC1D72F75304110029A08C5921D410812141FF374304180CB1047C1921D41BBF3FDD4F1743041A01D386717941D4101000000020000000001000000FFFFFFFF0000000003, CAST(1652740 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1653510, N'{E29F85AB-8AC0-414F-B51F-BEB733DDD5D5}', N'012869899', 4752615, N'KAP1OL', NULL, N'12869899', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'MUNICIPAL', NULL, N'Lot 2', N'Block C', NULL, N'LOT 2 BLOCK C DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT TOWNSITE OF OLIVER', N'0095', N'0022', N'NO', N'ICIS CADASTRE', 3, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-05-05T16:39:37.000' AS DateTime), 625, 105, 0xBD0B00000104070000001483C0CAD96E3641C04D62108B901D41A8605412D66E3641E0CD19D1B1901D41B0B6621FE46E3641501895D4D8901D41C09F1AAFEA6E3641602BF697E9901D418A8EE492F16E364100AAF152F8901D41F27C3F95FC6E3641302CD49A94901D411483C0CAD96E3641C04D62108B901D4101000000020000000001000000FFFFFFFF0000000003, CAST(1653510 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1653569, N'{7024AE7A-85E9-40A5-B43B-22E881AC7FD0}', N'015918548', 494906, N'NEP1425', NULL, N'15918548', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 26', N'', N'', N'THAT PART OF PARCEL 26 DISTRICT LOT 367 KOOTENAY DISTRICT PLAN 1425 INCLUDED IN GREEN ON RW PLAN 7681 EXCEPT PLAN NEP75674', N'0163', N'0019', N'NO', N'MODIFIED-ICF', 2, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:37:21.000' AS DateTime), 11215, 647, 0xBD0B0000010427000000C4E53F84AA713841009031770D0D1E410C5B1222AB7138411026F106F60C1E41368751F6AB71384180A69AB1DE0C1E41A897B500AD7138411065137FC70C1E417667E440AE713841F0EC3477B00C1E41C79D71B6AF713841105BCAA1990C1E4188D2DE60B1713841C0B88D06830C1E41569174C4B2713841E05E7855720C1E413A9EC142B4713841506574C9610C1E41FD3C88DBB5713841A0D72D65510C1E41F06A868EB771384180564A2B410C1E417AE9755BB971384140AC681E310C1E41BA490C42BB713841B05B2041210C1E41AA2C435CBE7138419023B9FC030C1E41C432C411C4713841A04AEA84DE0B1E41C698BB96C171384170772DA1270B1E418FCB7FC8BC713841301E166A7C0A1E415DEC2FBB8E7138411082E247A40C1E419A779CA27271384100E9B72F7A0C1E41312AA933717138411054E325980C1E41D498C7356F713841603F3AECC40C1E41CA6442CA6D713841C0EC700BF20C1E41AA4B0AF26C7138410095A5651F0D1E41607EAEAD6C7138414060CFDC4C0D1E4121425CFD6C713841C048D2527A0D1E4186D2DEE06D713841D00B93A9A70D1E41D119515A73713841F0263188820E1E41D0CCCCCC82713841E020B072880E1E41AC1C5A2483713841504850FC960E1E413E7958E8B17138411055C1A8AF0E1E41767AA52CB1713841C0490C02940E1E4129F6977DB0713841B00C71AC760E1E413BF8C2A4AA71384140A3013C8F0D1E41D4433F23AA713841806504A9790D1E4120404CD3A9713841408D0207640D1E41733804B5A9713841907A195D4E0D1E415C2271C8A9713841002769B2380D1E414C9A8C0DAA713841B0CC110E230D1E41C4E53F84AA713841009031770D0D1E4101000000020000000001000000FFFFFFFF0000000003, CAST(1653569 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1653633, N'{2856CC3A-7307-4477-BCFA-37DDE04C1D57}', N'012519464', 495942, N'KAP62', NULL, N'12519464', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 18', N'Block 7', N'', N'LOT 18 BLOCK 7 DISTRICT LOT 818 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 62 EXCEPT PLAN H875 AND KAP52658', N'0163', N'0019', N'NO', N'ICF', 13, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2018-12-10T18:35:57.000' AS DateTime), 156, 51, 0xBD0B000001040800000092ED7C7F0669374100A1D6B4ED731D4152A60AA60D69374150234A7BF1731D4102560E8D0B693741D009F920BF731D412375021A0869374170B6F37DBD731D41F263CC9D0069374110B29DEFB9731D41C68F31D7FF68374130C05B20D2731D41EEC9C302FF68374130BF7D9DE9731D4192ED7C7F0669374100A1D6B4ED731D4101000000020000000001000000FFFFFFFF0000000003, CAST(1653633 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1654520, N'{49B53A4F-DC19-47BB-92B7-77317FD24AF2}', N'013977989', 295389, N'PRP968', 23695831, N'13977989', NULL, N'01259.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 2', N'Block 112', N'Section 2', N'LOT 2 BLOCK 112 SECTION 2 DISTRICT LOT 882 CASSIAR DISTRICT PLAN 968 EXCEPT PLAN 7371', N'0087', N'0011', N'NO', N'ICF', 2, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2016-05-11T16:54:28.000' AS DateTime), CAST(N'2018-12-18T18:25:27.000' AS DateTime), 233, 66, 0xBD0B00000104050000001CDBF93EF4782B41484013019464314182A7574A08792B418C06F0D693643141B2F1D28D07792B419CFF909E7C64314160EE5A82F3782B41C866D5C77C6431411CDBF93EF4782B41484013019464314101000000020000000001000000FFFFFFFF0000000003, CAST(1654520 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1659883, N'{5EE7D942-B04D-4423-AD93-9364AA8FA8E1}', N'012793124', 3, N'NO_PLAN', NULL, N'12793124', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 2450S', N'', N'', N'THAT PORTION OF CLOSED ROAD IN DISTRICT LOT 2450S SIMILKAMEEN DIVISION YALE DISTRICT CONTAINING 0.08 ACRES MORE OF LESS AND SHOWN OUTLINED GREEN ON PLAN A1057', N'0163', N'0022', N'NO', N'MODIFIED-ICIS', 3, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2019-01-14T18:29:34.000' AS DateTime), 497, 100, 0xBD0B0000010407000000FE770B845B78364160EC2FBB3ED71C415C39B46855783641B066D5E71ED71C419F45B693457836411066F764CCD61C41B837F86236783641405E4B48E6D61C41388941C04478364170CFD5D636D71C41693BDFAF4D78364140F163CC37D71C41FE770B845B78364160EC2FBB3ED71C4101000000020000000001000000FFFFFFFF0000000003, CAST(1659883 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1660910, N'{A8199113-49D9-43B7-B786-CFEE48C89DB7}', N'015983765', 487269, N'NEP955', NULL, N'15983765', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 3', N'', N'', N'THAT PART OF LOT 3 DISTRICT LOT 7067 KOOTENAY DISTRICT PLAN 955, SHOWN OUTLINED IN RED ON EXPLANATORY PLAN 32062I TO BE HEREAFTER KNOWN AS PARCEL D (EXPLANATORY PLAN 32062I)', N'0163', N'0004', N'NO', N'ICF', NULL, NULL, N'UNKNOWN', N'0', N'1328', CAST(N'2018-10-16T10:33:09.000' AS DateTime), CAST(N'2019-03-11T11:59:32.000' AS DateTime), 1337, 195, 0xBD0B000001040B0000001C1DC9456EAE3841B00512D43B472041E8D9AC1A76AE384128A7E8C8624720419CFF903E7AAE3841A86054125D4720414DFC18D388AE38419845B6F348472041946E120394AE384100B8AF833947204198F6069FA7AE384140C4B12E2E47204171E7FB09B7AE3841686FF045254720411EF46CF6A4AE3841707B83EF204720411A2FDD247FAE3841502CD4DA174720415227A0C967AE38411004560E124720411C1DC9456EAE3841B00512D43B47204101000000020000000001000000FFFFFFFF0000000003, CAST(1660910 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1661595, N'{8BDD94A2-EDF4-49A6-9322-C50B93605BB7}', N'004956478', 16228, N'VIP11605', NULL, N'4956478', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1, DISTRICT LOT 20, OYSTER DISTRICT, PLAN 11605 EXCEPT THOSE PARTS IN PLANS 43949 AND VIP57074', N'0163', N'0007', N'NO', N'ICIS CADASTRE', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T20:05:39.000' AS DateTime), CAST(N'2020-08-25T16:02:23.000' AS DateTime), 6310, 326, 0xBD0B0000010425000000188C4ACACDA53141C03EE8D96A661B41E8263108C3A53141A094658831661B416CF90FE9B3A5314180BC7493DD651B415E519412B2A5314110F89225D4651B41C5085207B0A53141E051426CCB651B41578498CBADA53141202BE879C3651B41BE5B1D64ABA53141E056465FBC651B41726BF2D5A8A53141E0C5572BB6651B4114247B26A6A53141C0EE30EBB0651B415E2D615BA3A531416038E4A9AC651B418175887AA0A5314140A46A70A9651B4129C5028A9DA5314170DD9045A7651B413CF302909AA5314100E7E82DA6651B4182D2CF9297A53141F076C02BA6651B4177F5B69894A53141D0191C3FA7651B41BF63FFA791A53141D02AB765A9651B415D5DDCC68EA53141209A089BAC651B415120328F8AA53141D0A91ACDB1651B414A1CB47B86A53141A00A8C90B8651B4178B5AF9582A53141C059EDD5C0651B415E880AE67EA5314180705E8ACA651B41D11B2E757BA53141407AB997D5651B4189AEF44A78A53141607BC5E4E1651B41584B976E75A5314170E76F55EF651B41744D9DE672A5314130AD0CCBFD651B411F7ACDB870A5314190369C240D661B41FED120EA6EA53141D0B9163F1D661B41F937B77E6DA53141D026BCF52D661B415E07CE796CA53141C00968223F661B41020000A064A5314160B3EA73C4661B41F7C2646A68A53141B066D5E7D6661B41B51E856B6BA53141403333B3D6661B41D9E76A6BDCA53141A02CB29DCB661B415F3255D0DEA53141600B24A8BC661B41F05A42FED8A53141F0EDEBC0A1661B419BB20C51D3A5314190D9AC7A86661B41188C4ACACDA53141C03EE8D96A661B4101000000020000000001000000FFFFFFFF0000000003, CAST(1661595 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1662529, N'{5D80C702-1685-4C8C-BCD7-B246B7D0A5DC}', N'012482099', 495453, N'KAP364', NULL, N'12482099', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 22', N'Block 74', NULL, N'LOT 22 BLOCK 74 DISTRICT LOT 710 SIMILKAMEEN DIVISION YALE DISTRICT PLAN 364 EXCEPT PLAN H875', N'0046', N'0019', N'NO', N'MODIFIED-ICF', 4, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2019-09-05T15:50:15.000' AS DateTime), 27, 27, 0xBD0B0000010404000000CAC3422D7C693741A0742497F46E1D41130DE08D7D69374110CBA145CC6E1D41CA293AF27669374150F7E4E1F16E1D41CAC3422D7C693741A0742497F46E1D4101000000020000000001000000FFFFFFFF0000000003, CAST(1662529 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1665146, N'{3EFD7D61-0D81-451E-A002-B9CCB0D78181}', N'012746177', 868179, N'KAP55', NULL, N'12746177', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'REM Lot 5', N'Block 13', NULL, N'LOT 5 BLOCK 13 DISTRICT LOT 706 YALE (FORMERLY OSOYOOS) DIVISION YALEDISTRICT PLAN 55 EXCEPT PLAN H831', N'0114', N'0022', N'NO', N'ICIS CADASTRE', 2, N'PMBC-OPERATIONS', N'UNKNOWN', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-04-29T15:17:59.000' AS DateTime), 258, 75, 0xBD0B000001040600000078029A08D3553541E0E3149DF7151F41C832C4F1D0553541A0E8482EEF151F4199C42070BB553541C0840D4F44161F4113A5BD81C2553541508716D960161F4158522740D155354190270F8B20161F4178029A08D3553541E0E3149DF7151F4101000000020000000001000000FFFFFFFF0000000003, CAST(1665146 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1666282, N'{D92626ED-3E88-4E5F-A248-6488895719CF}', N'006005977', 16778, N'VIP5547', NULL, N'6005977', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN PROVINCIAL', NULL, N'Lot 1', NULL, NULL, N'LOT 1, SECTION 18, RANGE 4, QUAMICHAN DISTRICT, PLAN 5547', N'0089', N'0007', N'NO', N'ICIS CADASTRE', 2, N'LSA', N'UNKNOWN', N'1', NULL, CAST(N'2015-11-24T17:31:12.000' AS DateTime), CAST(N'2021-06-23T14:27:00.000' AS DateTime), 17587, 1008, 0xBD0B000001041B0000001B95D46959CE3141305227A050B319413992CB9F11CE3141C0718A0E8DB41941FAC2646AE0CD3141706D56FD25B6194115AE478191CD314110AF94E50EB71941C8BAB80DADCD314190B20C7196B71941CA20B032C2CD314160257582D7B71941B96B0919E9CD31417019E2D8E2B71941EE1648F003CE31414083C0CAA9B71941CC915CBEE6CD314150E2C71811B71941D41B7CC105CE3141B045B673ADB619410244FACD17CE3141D07F483F5FB61941B0FA5C6D26CE3141A0E61D2794B619419E3C2CD450CE3141D0361A40D8B51941BF1726B339CE3141F0C876BE85B51941672BF6174DCE3141F05296A121B519419053748432CE3141A035CD3BDFB41941AC79C7E917CE3141A0EEC9C39CB419418251495D57CE314100559F2B94B319410BC58FB164CE3141F0D39AE65CB3194149696FD065CE3141A05D4BC819B319413D2CD45A7CCE3141E0361A40B4B21941A7DFBE8E7DCE3141806132D5AEB219417DD0B37979CE3141705452A79CB219413E1CEBA278CE3141A0D5E7EA98B219419C11A53D6ACE314160EE5AC2D9B219413C6744895ECE314170234A7B0EB319411B95D46959CE3141305227A050B3194101000000020000000001000000FFFFFFFF0000000003, CAST(1666282 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1666640, N'{C0B2CF73-54C4-44CA-83F6-5B5F240144EB}', N'010265554', 857388, N'KAP5718', NULL, N'10265554', NULL, N'72400400110', N'ACTIVE', N'ROAD', N'CROWN AGENCY', NULL, N'REM Lot 1', NULL, NULL, N'LOT 1 DISTRICT LOT 290 KAMLOOPS DIVISION YALE DISTRICT PLAN 5718 EXCEPT PLAN H13181', N'0163', N'0028', N'NO', N'ICF', 5, N'DATACOMPILATION', N'COGO IN SOURCE', N'1', NULL, CAST(N'2017-01-23T17:44:22.000' AS DateTime), CAST(N'2021-07-26T15:07:07.000' AS DateTime), 4515, 310, 0xBD0B000001040B000000E83FA49F33C6354100C1392308A92341225A649B3FC635418058A8F552A9234132431C2B46C63541C8BFEC5E79A92341A657CA1251C63541E8BE0E9C72A92341FD8B98BA62C63541D80E8B9860A923415A96976C73C6354178AB503B4BA923412A3F370083C63541E0C347B832A923412A169F4F91C635416057FE4A17A92341AB650A389EC6354128811736F9A8234109AC1C9AA9C635411893A9C2D8A82341E83FA49F33C6354100C1392308A9234101000000020000000001000000FFFFFFFF0000000003, CAST(1666640 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1668150, N'{C64216DF-E3A1-43A3-927B-1ADF1DB02EFA}', N'016152107', 3191411, N'NEP681', NULL, N'16152107', NULL, NULL, N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'Lot 8', N'Block 2', NULL, N'LOT 8 BLOCK 2 DISTRICT LOT 756 KOOTENAY DISTRICT PLAN 681', N'0163', N'0018', N'NO', N'PMBC-COMPILATION', 2, N'LSA', N'COGO', N'0', NULL, CAST(N'2016-09-20T16:24:06.000' AS DateTime), CAST(N'2021-10-28T15:54:17.000' AS DateTime), 278, 79, 0xBD0B0000010405000000621058F95B843A41B0F3FD54C51820415EDC462356843A4138530563D31820413208AC9C6D843A4110ED0D3EFA182041A857CA7273843A4110D7A330EC182041621058F95B843A41B0F3FD54C518204101000000020000000001000000FFFFFFFF0000000003, CAST(1668150 AS Numeric(38, 0)), NULL) +INSERT [pmbc].[PMBC_PARCEL_POLYGON_FABRIC] ([PARCEL_FABRIC_POLY_ID], [GLOBAL_UID], [PARCEL_NAME], [PLAN_ID], [PLAN_NUMBER], [PIN], [PID], [PID_NUMBER], [SOURCE_PARCEL_ID], [PARCEL_STATUS], [PARCEL_CLASS], [OWNER_TYPE], [PARCEL_START_DATE], [SURVEY_DESIGNATION_1], [SURVEY_DESIGNATION_2], [SURVEY_DESIGNATION_3], [LEGAL_DESCRIPTION], [MUNICIPALITY], [REGIONAL_DISTRICT], [IS_REMAINDER_IND], [GEOMETRY_SOURCE], [POSITIONAL_ERROR], [ERROR_REPORTED_BY], [CAPTURE_METHOD], [COMPILED_IND], [STATED_AREA], [WHEN_CREATED], [WHEN_UPDATED], [FEATURE_AREA_SQM], [FEATURE_LENGTH_M], [SHAPE], [OBJECTID], [SE_ANNO_CAD_DATA]) VALUES (1668898, N'{EBA77C16-5EC4-43E5-9301-6EBF1BAD9D81}', N'015392317', 3, N'NO_PLAN', NULL, N'15392317', NULL, N'13186.000', N'ACTIVE', N'SUBDIVISION', N'CROWN AGENCY', NULL, N'PART 3554', N'5', N'', N'ALL THAT PART OF DISTRICT LOT 3554 RANGE 5 COAST DISTRICT LYING NORTH OF DISTRICT LOT 5723 EXCEPT PLAN 5168', N'0163', N'0001', N'NO', N'ICF', 13, N'DATACOMPILATION', N'UNKNOWN', N'1', NULL, CAST(N'2016-04-20T09:56:06.000' AS DateTime), CAST(N'2021-12-10T11:29:43.000' AS DateTime), 59367, 1053, 0xBD0B000001040C0000004C840D8F8FAA2D4154AC8BBB69233041BD9690CF81AA2D4104C4B14E682330417E48BFBD40A82D41B81E858B2B233041DF7A14EE3FA82D418C8EE4922E23304106D57829CAA72D4144F1632C22233041C3CAA145CAA72D41600E2D727A2330412D992A58CBA72D41E032C411CC2330417409F960CBA72D4198ABADB8CE23304181B74042CBA72D41E0E76A8BE12330416DC5FE72CBA72D41BC9DEF07F22330412EEF388591AA2D41D4BCE374E62330414C840D8F8FAA2D4154AC8BBB6923304101000000020000000001000000FFFFFFFF0000000003, CAST(1668898 AS Numeric(38, 0)), NULL) +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/20_PIMS_RESEARCH_FILE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/20_PIMS_RESEARCH_FILE.sql new file mode 100644 index 0000000000..99c6635358 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/20_PIMS_RESEARCH_FILE.sql @@ -0,0 +1,12 @@ +DELETE +FROM PIMS_RESEARCH_FILE; +GO + +INSERT INTO [dbo].[PIMS_RESEARCH_FILE]([RESEARCH_FILE_STATUS_TYPE_CODE], [REQUEST_SOURCE_TYPE_CODE], [NAME], [RFILE_NUMBER], [REQUEST_DATE], [ROAD_NAME], [ROAD_ALIAS], [CONCURRENCY_CONTROL_NUMBER]) +VALUES + (N'ACTIVE', N'HQ', N'Bubba BBQ Whirled', N'R-Bubba1', '2022-08-02', N'Bubba Loo Lane', N'Bubba Loo Expressway', 1), + (N'ACTIVE', N'HQ', N'Bubba BBQ World', N'R-Bubba2', '2022-07-02', N'Bubba Loo Street', N'Bubba Loo Freeway', 1), + (N'ACTIVE', N'HQ', N'Bubba BBQ Shack', N'R-Bubba3', '2022-06-02', N'Bubba Loo Avenue', N'Bubba Loo Parkway', 1), + (N'ACTIVE', N'HQ', N'Bubba BBQ Joint', N'R-Bubba4', '2022-05-02', N'Bubba Loo Boulevard', N'Bubba Loo No Way', 1), + (N'ACTIVE', N'HQ', N'Bubba BBQ Domicile', N'R-Bubba5', '2022-04-02', N'Bubba Loo Circle', N'Bubba Loo Yo Way', 1); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/21_PIMS_PROPERTY_RESEARCH_FILE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/21_PIMS_PROPERTY_RESEARCH_FILE.sql new file mode 100644 index 0000000000..7292a851c9 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/21_PIMS_PROPERTY_RESEARCH_FILE.sql @@ -0,0 +1,8 @@ +DELETE +FROM PIMS_PROPERTY_RESEARCH_FILE; +GO + +INSERT INTO [dbo].[PIMS_PROPERTY_RESEARCH_FILE] ([PROPERTY_ID], [RESEARCH_FILE_ID], [PROPERTY_NAME], [CONCURRENCY_CONTROL_NUMBER]) +VALUES + ((SELECT MAX(PROPERTY_ID) FROM PIMS_PROPERTY), (SELECT MAX(RESEARCH_FILE_ID) FROM PIMS_RESEARCH_FILE), N'Bubba 1', 1) +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/22_PIMS_RESEARCH_FILE_PURPOSE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/22_PIMS_RESEARCH_FILE_PURPOSE.sql new file mode 100644 index 0000000000..125070a1c2 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/22_PIMS_RESEARCH_FILE_PURPOSE.sql @@ -0,0 +1,7 @@ +DELETE +FROM PIMS_RESEARCH_FILE_PURPOSE; +GO + +INSERT INTO [dbo].[PIMS_RESEARCH_FILE_PURPOSE] ([RESEARCH_FILE_ID], [RESEARCH_PURPOSE_TYPE_CODE], [CONCURRENCY_CONTROL_NUMBER]) + VALUES((SELECT MAX(RESEARCH_FILE_ID) FROM PIMS_RESEARCH_FILE), N'ACQUIRE', 1) +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/23_PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/23_PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE.sql new file mode 100644 index 0000000000..57b3f764a9 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/23_PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE.sql @@ -0,0 +1,7 @@ +DELETE +FROM PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE; +GO + +INSERT INTO [dbo].[PIMS_PRF_PROP_RESEARCH_PURPOSE_TYPE] ([PROPERTY_RESEARCH_FILE_ID], [PROP_RESEARCH_PURPOSE_TYPE_CODE], [CONCURRENCY_CONTROL_NUMBER]) + VALUES(1, N'ACQUIRE', 1) +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/24_PIMS_ACTIVITY_TEMPLATE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/24_PIMS_ACTIVITY_TEMPLATE.sql new file mode 100644 index 0000000000..d55bf733e7 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/24_PIMS_ACTIVITY_TEMPLATE.sql @@ -0,0 +1,18 @@ +DELETE FROM PIMS_ACTIVITY_TEMPLATE +GO + +INSERT INTO PIMS_ACTIVITY_TEMPLATE (ACTIVITY_TEMPLATE_TYPE_CODE, IS_DISABLED, CONCURRENCY_CONTROL_NUMBER) +VALUES + (N'GENERAL', CONVERT([bit],(0)), 1), + (N'SURVEY', CONVERT([bit],(1)), 1), + (N'SITEVIS', CONVERT([bit],(0)), 1), + (N'GENLTR', CONVERT([bit],(0)), 1), + (N'FILEDOC', CONVERT([bit],(1)), 1), + (N'NOTENTRY', CONVERT([bit],(0)), 1), + (N'CONDENTRY', CONVERT([bit],(0)), 1), + (N'RECNEGOT', CONVERT([bit],(0)), 1), + (N'CONSULT', CONVERT([bit],(0)), 1), + (N'RECTAKES', CONVERT([bit],(0)), 1), + (N'OFFAGREE', CONVERT([bit],(0)), 1), + (N'COMPREQ', CONVERT([bit],(0)), 1); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/25_PIMS_ACTIVITY_INSTANCE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/25_PIMS_ACTIVITY_INSTANCE.sql new file mode 100644 index 0000000000..02737da808 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/25_PIMS_ACTIVITY_INSTANCE.sql @@ -0,0 +1,11 @@ +DELETE +FROM PIMS_ACTIVITY_INSTANCE; +GO + +INSERT INTO [dbo].[PIMS_ACTIVITY_INSTANCE] ([ACTIVITY_TEMPLATE_ID], ACTIVITY_INSTANCE_STATUS_TYPE_CODE, [CONCURRENCY_CONTROL_NUMBER]) +VALUES + ((SELECT ACTIVITY_TEMPLATE_ID FROM PIMS_ACTIVITY_TEMPLATE WHERE ACTIVITY_TEMPLATE_TYPE_CODE = N'FILEDOC'), N'NOSTART', 1), + ((SELECT ACTIVITY_TEMPLATE_ID FROM PIMS_ACTIVITY_TEMPLATE WHERE ACTIVITY_TEMPLATE_TYPE_CODE = N'GENERAL'), N'NOSTART', 1), + ((SELECT ACTIVITY_TEMPLATE_ID FROM PIMS_ACTIVITY_TEMPLATE WHERE ACTIVITY_TEMPLATE_TYPE_CODE = N'SITEVIS'), N'NOSTART', 1), + ((SELECT ACTIVITY_TEMPLATE_ID FROM PIMS_ACTIVITY_TEMPLATE WHERE ACTIVITY_TEMPLATE_TYPE_CODE = N'SURVEY'), N'NOSTART', 1); +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/26_PIMS_NOTE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/26_PIMS_NOTE.sql new file mode 100644 index 0000000000..ad393e6e29 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/26_PIMS_NOTE.sql @@ -0,0 +1,7 @@ +DELETE +FROM PIMS_NOTE; +GO + +INSERT INTO [dbo].[PIMS_NOTE] ([NOTE_TXT], [CONCURRENCY_CONTROL_NUMBER]) + VALUES(N'Billy Bob notes', 1) +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/27_PIMS_DOCUMENT_TYP.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/27_PIMS_DOCUMENT_TYP.sql new file mode 100644 index 0000000000..d0e8a257d9 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/27_PIMS_DOCUMENT_TYP.sql @@ -0,0 +1,7 @@ +DELETE +FROM PIMS_DOCUMENT_TYP; +GO + +INSERT INTO [dbo].[PIMS_DOCUMENT_TYP] ([MAYAN_ID], [DOCUMENT_TYPE], [CONCURRENCY_CONTROL_NUMBER]) + VALUES(1, N'Document Type 1', 1) +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/28_PIMS_DOCUMENT.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/28_PIMS_DOCUMENT.sql new file mode 100644 index 0000000000..31a37acdb6 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/28_PIMS_DOCUMENT.sql @@ -0,0 +1,7 @@ +DELETE +FROM PIMS_DOCUMENT; +GO + +INSERT INTO [dbo].[PIMS_DOCUMENT] ([DOCUMENT_TYPE_ID], [DOCUMENT_STATUS_TYPE_CODE], [FILE_NAME], [MAYAN_ID], [CONCURRENCY_CONTROL_NUMBER]) + VALUES(1, N'SENT', N'Man-go Away!', 123, 1) +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/29_PIMS_ACTIVITY_INSTANCE_NOTE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/29_PIMS_ACTIVITY_INSTANCE_NOTE.sql new file mode 100644 index 0000000000..066855284c --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/29_PIMS_ACTIVITY_INSTANCE_NOTE.sql @@ -0,0 +1,7 @@ +DELETE +FROM PIMS_ACTIVITY_INSTANCE_NOTE; +GO + +INSERT INTO [dbo].[PIMS_ACTIVITY_INSTANCE_NOTE]([ACTIVITY_INSTANCE_ID], [NOTE_ID], [CONCURRENCY_CONTROL_NUMBER]) + VALUES((SELECT MAX(ACTIVITY_INSTANCE_ID) FROM PIMS_ACTIVITY_INSTANCE), (SELECT MAX(NOTE_ID) FROM PIMS_NOTE), 1) +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/30_PIMS_ACTIVITY_INSTANCE_DOCUMENT.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/30_PIMS_ACTIVITY_INSTANCE_DOCUMENT.sql new file mode 100644 index 0000000000..02665648ce --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/30_PIMS_ACTIVITY_INSTANCE_DOCUMENT.sql @@ -0,0 +1,7 @@ +DELETE +FROM PIMS_ACTIVITY_INSTANCE_DOCUMENT; +GO + +INSERT INTO [dbo].[PIMS_ACTIVITY_INSTANCE_DOCUMENT] ([ACTIVITY_INSTANCE_ID], [DOCUMENT_ID], [CONCURRENCY_CONTROL_NUMBER]) + VALUES((SELECT MAX(ACTIVITY_INSTANCE_ID) FROM PIMS_ACTIVITY_INSTANCE), (SELECT MAX(DOCUMENT_ID) FROM PIMS_DOCUMENT), 1) +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/31_PIMS_ACQUISITION_FILE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/31_PIMS_ACQUISITION_FILE.sql new file mode 100644 index 0000000000..9d915cd821 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/31_PIMS_ACQUISITION_FILE.sql @@ -0,0 +1,7 @@ +DELETE +FROM PIMS_ACQUISITION_FILE; +GO + +INSERT INTO [dbo].[PIMS_ACQUISITION_FILE] ([ACQUISITION_FILE_STATUS_TYPE_CODE], [ACQUISITION_TYPE_CODE], [ACQUISITION_FUNDING_TYPE_CODE], [ACQ_PHYS_FILE_STATUS_TYPE_CODE], [REGION_CODE], [FILE_NAME], [CONCURRENCY_CONTROL_NUMBER]) + VALUES(N'ACTIVE', N'CONSEN', N'DFAA', N'ACTIVE', 1, N'Bippity-Bop', 1) +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/32_PIMS_ACQUISITION_OWNER.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/32_PIMS_ACQUISITION_OWNER.sql new file mode 100644 index 0000000000..a64c612cf3 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/32_PIMS_ACQUISITION_OWNER.sql @@ -0,0 +1,7 @@ +DELETE +FROM PIMS_ACQUISITION_OWNER; +GO + +INSERT INTO [dbo].[PIMS_ACQUISITION_OWNER] ([ACQUISITION_FILE_ID], [LAST_NAME_OR_CORP_NAME_1], [CONCURRENCY_CONTROL_NUMBER]) + VALUES((SELECT MAX(ACQUISITION_FILE_ID) FROM PIMS_ACQUISITION_FILE), N'Beer Bob', 1) +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/33_PIMS_PROPERTY_ACQUISITION_FILE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/33_PIMS_PROPERTY_ACQUISITION_FILE.sql new file mode 100644 index 0000000000..231aba16a5 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/33_PIMS_PROPERTY_ACQUISITION_FILE.sql @@ -0,0 +1,7 @@ +DELETE +FROM PIMS_PROPERTY_ACQUISITION_FILE; +GO + +INSERT INTO [dbo].[PIMS_PROPERTY_ACQUISITION_FILE] ([ACQUISITION_FILE_ID], [PROPERTY_ID], [CONCURRENCY_CONTROL_NUMBER]) + VALUES((SELECT MAX(ACQUISITION_FILE_ID) FROM PIMS_ACQUISITION_FILE), (SELECT MAX(PROPERTY_ID) FROM PIMS_PROPERTY), 1) +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/34_PIMS_PROPERTY_ACQUISITION_FILE_PERSON.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/34_PIMS_PROPERTY_ACQUISITION_FILE_PERSON.sql new file mode 100644 index 0000000000..3b3d7ec929 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/34_PIMS_PROPERTY_ACQUISITION_FILE_PERSON.sql @@ -0,0 +1,7 @@ +DELETE +FROM PIMS_ACQUISITION_FILE_PERSON; +GO + +INSERT INTO [dbo].[PIMS_ACQUISITION_FILE_PERSON] ([ACQUISITION_FILE_ID], [PERSON_ID], [ACQ_FL_PERSON_PROFILE_TYPE_CODE], [CONCURRENCY_CONTROL_NUMBER]) + VALUES((SELECT MAX(ACQUISITION_FILE_ID) FROM PIMS_ACQUISITION_FILE), (SELECT MAX(PERSON_ID) FROM PIMS_PERSON), N'EXPRAGENT', 1) +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/35_PIMS_ACQUISITION_ACTIVITY_INSTANCE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/35_PIMS_ACQUISITION_ACTIVITY_INSTANCE.sql new file mode 100644 index 0000000000..3f568ef21a --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/35_PIMS_ACQUISITION_ACTIVITY_INSTANCE.sql @@ -0,0 +1,7 @@ +DELETE +FROM PIMS_ACQUISITION_ACTIVITY_INSTANCE; +GO + +INSERT INTO [dbo].[PIMS_ACQUISITION_ACTIVITY_INSTANCE] ([ACQUISITION_FILE_ID], [ACTIVITY_INSTANCE_ID], [CONCURRENCY_CONTROL_NUMBER]) + VALUES((SELECT MAX(ACQUISITION_FILE_ID) FROM PIMS_ACQUISITION_FILE), (SELECT MAX(ACTIVITY_INSTANCE_ID) FROM PIMS_ACTIVITY_INSTANCE), 1) +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/36_PIMS_RESEARCH_ACTIVITY_INSTANCE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/36_PIMS_RESEARCH_ACTIVITY_INSTANCE.sql new file mode 100644 index 0000000000..f058a134d8 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/36_PIMS_RESEARCH_ACTIVITY_INSTANCE.sql @@ -0,0 +1,7 @@ +DELETE +FROM PIMS_RESEARCH_ACTIVITY_INSTANCE; +GO + +INSERT INTO [dbo].[PIMS_RESEARCH_ACTIVITY_INSTANCE] ([ACTIVITY_INSTANCE_ID], [RESEARCH_FILE_ID], [CONCURRENCY_CONTROL_NUMBER]) + VALUES((SELECT MAX(ACTIVITY_INSTANCE_ID) FROM PIMS_ACTIVITY_INSTANCE), (SELECT MAX(RESEARCH_FILE_ID) FROM PIMS_RESEARCH_FILE), 1) +GO diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/37_PIMS_LEASE_ACTIVITY_INSTANCE.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/37_PIMS_LEASE_ACTIVITY_INSTANCE.sql new file mode 100644 index 0000000000..a544a79960 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/37_PIMS_LEASE_ACTIVITY_INSTANCE.sql @@ -0,0 +1,25 @@ +DELETE +FROM PIMS_LEASE_ACTIVITY_INSTANCE; +GO + +DECLARE @sql VARCHAR(1000) +DECLARE @minLS VARCHAR(1000) +DECLARE @maxLS VARCHAR(1000) +DECLARE @minAI VARCHAR(1000) +DECLARE @maxAI VARCHAR(1000) + +SET @minLS = (SELECT CAST(MIN(LEASE_ID) AS VARCHAR) FROM PIMS_LEASE) +SET @maxLS = (SELECT CAST(MAX(LEASE_ID) AS VARCHAR) FROM PIMS_LEASE) +SET @minAI = (SELECT CAST(MIN(ACTIVITY_INSTANCE_ID) AS VARCHAR) FROM PIMS_ACTIVITY_INSTANCE) +SET @maxAI = (SELECT CAST(MAX(ACTIVITY_INSTANCE_ID) AS VARCHAR) FROM PIMS_ACTIVITY_INSTANCE) + +SET @sql = 'INSERT INTO PIMS_LEASE_ACTIVITY_INSTANCE (ACTIVITY_INSTANCE_ID, LEASE_ID) VALUES (' + @minAI + ', ' + @minLS + ');' +EXECUTE (@sql) +SET @sql = 'INSERT INTO PIMS_LEASE_ACTIVITY_INSTANCE (ACTIVITY_INSTANCE_ID, LEASE_ID) VALUES (' + @minAI + ', ' + @maxLS + ');' +EXECUTE (@sql) +SET @sql = 'INSERT INTO PIMS_LEASE_ACTIVITY_INSTANCE (ACTIVITY_INSTANCE_ID, LEASE_ID) VALUES (' + @maxAI + ', ' + @minLS + ');' +EXECUTE (@sql) +SET @sql = 'INSERT INTO PIMS_LEASE_ACTIVITY_INSTANCE (ACTIVITY_INSTANCE_ID, LEASE_ID) VALUES (' + @maxAI + ', ' + @maxLS + ');' +EXECUTE (@sql) + +GO \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/38_PIMS_USER.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/38_PIMS_USER.sql new file mode 100644 index 0000000000..805ea1736c --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/38_PIMS_USER.sql @@ -0,0 +1,276 @@ +DECLARE @devinPersonId bigint; + +DECLARE @alejandroPersonId bigint; + +DECLARE @manuelPersonId bigint; + +DECLARE @maheshPersonId bigint; + +INSERT INTO + [dbo].[PIMS_PERSON] ( + [SURNAME], + [FIRST_NAME], + [APP_CREATE_USERID], + [APP_CREATE_USER_DIRECTORY], + [APP_LAST_UPDATE_USERID], + [APP_LAST_UPDATE_USER_DIRECTORY], + [DB_CREATE_USERID], + [DB_LAST_UPDATE_USERID] + ) +VALUES + ( + 'Smith', + 'Devin', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data' + ), + ( + 'Sanchez', + 'Alejandro', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data' + ), + ( + 'Rodriguez', + 'Manuel', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data' + ), + ( + 'Babu', + 'Mahesh', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data' + ); + +SET + @devinPersonId = ( + SELECT + TOP(1) PERSON_ID + FROM + PIMS_PERSON + WHERE + SURNAME = 'Smith' AND FIRST_NAME = 'Devin' + ); + +SET + @alejandroPersonId = ( + SELECT + TOP(1) PERSON_ID + FROM + PIMS_PERSON + WHERE + SURNAME = 'Sanchez' AND FIRST_NAME = 'Alejandro' + ); + +SET + @manuelPersonId = ( + SELECT + TOP(1) PERSON_ID + FROM + PIMS_PERSON + WHERE + SURNAME = 'Rodriguez' AND FIRST_NAME = 'Manuel' + ); + +SET + @maheshPersonId = ( + SELECT + TOP(1) PERSON_ID + FROM + PIMS_PERSON + WHERE + SURNAME = 'Babu' AND FIRST_NAME = 'Mahesh' + ); + +INSERT INTO + [dbo].[PIMS_USER] ( + [PERSON_ID], + [BUSINESS_IDENTIFIER_VALUE], + [GUID_IDENTIFIER_VALUE], + [IS_DISABLED], + [ISSUE_DATE], + [APP_CREATE_USERID], + [APP_CREATE_USER_DIRECTORY], + [APP_LAST_UPDATE_USERID], + [APP_LAST_UPDATE_USER_DIRECTORY], + [DB_CREATE_USERID], + [DB_LAST_UPDATE_USERID] + ) +VALUES + ( + @devinPersonId, + 'desmith', + '7DB28007-0D47-4EF0-BB46-C365A4B95A73', + 0, + CURRENT_TIMESTAMP, + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data' + ), + ( + @alejandroPersonId, + 'alesanch', + '4109E6B4-585C-4678-8A24-1A99B45E3A5D', + 0, + CURRENT_TIMESTAMP, + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data' + ), + ( + @manuelPersonId, + 'marodrig', + '5D661D1E-14F0-477C-A7FB-31F21E8B4FDA', + 0, + CURRENT_TIMESTAMP, + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data' + ), + ( + @maheshPersonId, + 'mbabu', + '672D88FC-61B9-4D6B-824A-83B5186E39C6', + 0, + CURRENT_TIMESTAMP, + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data' + ); + +GO + +DECLARE @systemAdmin bigint; +DECLARE @devinUserId bigint; +DECLARE @alejandroUserId bigint; +DECLARE @manuelUserId bigint; +DECLARE @maheshUserId bigint; + +SET + @systemAdmin = ( + SELECT + TOP(1) ROLE_ID + FROM + PIMS_ROLE + WHERE + NAME = 'System Administrator' + ); + +SET + @devinUserId = ( + SELECT + TOP(1) USER_ID + FROM + PIMS_USER + WHERE + BUSINESS_IDENTIFIER_VALUE = 'desmith' + ); +SET + @alejandroUserId = ( + SELECT + TOP(1) USER_ID + FROM + PIMS_USER + WHERE + BUSINESS_IDENTIFIER_VALUE = 'alesanch' + ); +SET + @manuelUserId = ( + SELECT + TOP(1) USER_ID + FROM + PIMS_USER + WHERE + BUSINESS_IDENTIFIER_VALUE = 'marodrig' + ); +SET + @maheshUserId = ( + SELECT + TOP(1) USER_ID + FROM + PIMS_USER + WHERE + BUSINESS_IDENTIFIER_VALUE = 'mbabu' + ); + +INSERT INTO + [dbo].[PIMS_USER_ROLE] ( + [USER_ID], + [ROLE_ID], + [APP_CREATE_USERID], + [APP_CREATE_USER_DIRECTORY], + [APP_LAST_UPDATE_USERID], + [APP_LAST_UPDATE_USER_DIRECTORY], + [DB_CREATE_USERID], + [DB_LAST_UPDATE_USERID] + ) +VALUES + ( + @devinUserId, + @systemAdmin, + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data' + ), + ( + @alejandroUserId, + @systemAdmin, + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data' + ), + ( + @manuelUserId, + @systemAdmin, + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data' + ), + ( + @maheshUserId, + @systemAdmin, + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data', + 'seed_data' + ); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/39_PIMS_PROJECT.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/39_PIMS_PROJECT.sql new file mode 100644 index 0000000000..768979f34f --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/39_PIMS_PROJECT.sql @@ -0,0 +1,7 @@ +INSERT INTO PIMS_PROJECT (REGION_CODE, PROJECT_STATUS_TYPE_CODE, CODE, DESCRIPTION) VALUES (1, 'AC', '00048', 'CLAIMS'); +INSERT INTO PIMS_PROJECT (REGION_CODE, PROJECT_STATUS_TYPE_CODE, CODE, DESCRIPTION) VALUES (2, 'AC', '00053', 'DIRECTOR, C&M & CLAIMS OVERHEAD'); +INSERT INTO PIMS_PROJECT (REGION_CODE, PROJECT_STATUS_TYPE_CODE, CODE, DESCRIPTION) VALUES (3, 'AC', '00055', 'AVALANCHE & PROGRAM REVIEW - OH'); +INSERT INTO PIMS_PROJECT (REGION_CODE, PROJECT_STATUS_TYPE_CODE, CODE, DESCRIPTION) VALUES (4, 'AC', '00064', 'AUTOPLAN'); +INSERT INTO PIMS_PROJECT (REGION_CODE, PROJECT_STATUS_TYPE_CODE, CODE, DESCRIPTION) VALUES (1, 'AC', '00065', 'RADIO & ELECTRONICS OVERHEAD'); +INSERT INTO PIMS_PROJECT (REGION_CODE, PROJECT_STATUS_TYPE_CODE, CODE, DESCRIPTION) VALUES (2, 'AC', '00067', 'TRAFFIC, ELEC, SAFETY, & GEOMETRIC O/H'); +INSERT INTO PIMS_PROJECT (REGION_CODE, PROJECT_STATUS_TYPE_CODE, CODE, DESCRIPTION) VALUES (3, 'AC', '00070', 'GUIDE SIGN REHAB'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/40_PIMS_PRODUCT.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/40_PIMS_PRODUCT.sql new file mode 100644 index 0000000000..7d73877327 --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/40_PIMS_PRODUCT.sql @@ -0,0 +1,39 @@ +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00048'), '00048', 'MISCELLANEOUS CLAIMS'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00048'), '00048EXP', 'MISC CLAIMS'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00048'), 'TMP-00048', 'CAS suspense product for project: 00048'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00053'), '00053', 'DIRECTOR, C&M & CLAIMS OVERHEAD'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00053'), '00053-60920', 'HD'' CPSI (CORP PUBLIC SERVICES INITIATIVE CHARGEBACK'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00053'), '00053EXP', 'DIR C&M & CLAIMS OVERHEAD'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00053'), '00053REC', 'CFS-DIR C&M RECOVERIES'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00053'), '00053VEA', 'C&M & CLAIM VOTED EXTERNAL AGREEMENT'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00053'), '00065-60920', 'HD'' CPSI (CORP PUBLIC SERVICES INITIATIVE CHARGEBACK'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00053'), 'TMP-00053', 'CAS suspense product for project: 00053'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00055'), '00055', 'AVALANCHE & PROGRAM REVIEW'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00055'), '00055EXP', 'AVALANCHE OVERHEAD'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00055'), '00055HEA', 'AVALANCHE PROGRAM REVIEW'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00055'), '00055REC', 'CFS RECOVERIES-AVALANCHE'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00055'), '00055TCA', 'TCA - AVALANCHE INVENTORY CONTROL MISC'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00055'), 'TMP-00055', 'CAS suspense product for project: 00055'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00064'), '00064', 'AUTOPLAN'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00064'), '00064EXP', 'AUTOPLAN'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00064'), 'TMP-00064', 'CAS suspense product for project: 00064'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00065'), '00065', 'RADIO & ELECTRONICS OVERHEAD'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00065'), '00065EXP', 'RADIO & ELECTRONICS OVERHEAD00065'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00065'), '00065REC', 'REDIO & ELECTRONICS - RECOVERIES'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00065'), '00065TCA', 'RADIO & ELECTRONICS - SPECIAL EQUIP.'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00065'), 'TMP-00065', 'CAS suspense product for project: 00065'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00067'), '00067', 'TRAFFIC, ELEC, SAFETY & GEOMETRIC O/H'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00067'), '00067ASSET', 'TRAFFIC - CRF CAPITAL ASSETS'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00067'), '00067BET', 'SAFETY - BETTERMENTS'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00067'), '00067EXP', 'TRAFFIC, ELEC, SAFETY & GEOMETRIC EXP'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00067'), '00067GHG', 'ELECTRICAL ENGINEERING- GREEN HOUSE GAS'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00067'), '00067HEA', 'SAFETY - HEARTLANDS'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00067'), '00067ISCU', 'INTERSECTION SAFETY CAMERA UTILITY PROJECT'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00067'), '00067REC', 'TRAFFIC, ELEC, SAFETY & GEOMETRIC REC'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00067'), '00067SAFETY', 'SAFETY PERFORMANCE MEASURES FOR ROAD PRESERVATION'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00067'), '00067VEA', 'TRAFFIC-EXTERNAL RECOVERIES'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00067'), 'TMP-00067', 'CAS suspense product for project: 00067'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00070'), '00070', 'GUILD SIGN REHAB'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00070'), '00070EXP', 'GUILD SING REHAB - EXP'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00070'), '00070REC', 'GUILD SING REHAB - CFS RECOVERIES'); +INSERT INTO PIMS_PRODUCT (PARENT_PROJECT_ID, CODE, DESCRIPTION) VALUES ((SELECT ID FROM PIMS_PROJECT WHERE CODE = '00070'), 'TMP-00070', 'CAS suspense product for project: 00070'); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/41_PIMS_LEASE_TERM.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/41_PIMS_LEASE_TERM.sql new file mode 100644 index 0000000000..37f61d0d4d --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/41_PIMS_LEASE_TERM.sql @@ -0,0 +1,55 @@ +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); +INSERT INTO PIMS_LEASE_TERM (LEASE_ID, TERM_START_DATE) VALUES ((SELECT TOP 1 LEASE_ID FROM PIMS_LEASE ORDER BY NEWID()), CONVERT(NVARCHAR, GETUTCDATE())); \ No newline at end of file diff --git a/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/42_PIMS_LEASE_PAYMENT.sql b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/42_PIMS_LEASE_PAYMENT.sql new file mode 100644 index 0000000000..122cfcd66a --- /dev/null +++ b/source/database/mssql/scripts/dbscripts/PSP_PIMS_S47_00/Test Data/42_PIMS_LEASE_PAYMENT.sql @@ -0,0 +1,56 @@ +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +INSERT INTO PIMS_LEASE_PAYMENT (LEASE_TERM_ID, LEASE_PAYMENT_METHOD_TYPE_CODE, PAYMENT_RECEIVED_DATE, PAYMENT_AMOUNT_PRE_TAX, PAYMENT_AMOUNT_TOTAL) VALUES ((SELECT TOP 1 LEASE_TERM_ID FROM PIMS_LEASE_TERM ORDER BY NEWID()), (SELECT TOP 1 LEASE_PAYMENT_METHOD_TYPE_CODE FROM PIMS_LEASE_PAYMENT_METHOD_TYPE ORDER BY NEWID()), GETUTCDATE(), 1000, 1070); +GO diff --git a/source/frontend/package-lock.json b/source/frontend/package-lock.json index bd678c1ba6..1bd403b1ce 100644 --- a/source/frontend/package-lock.json +++ b/source/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "frontend", - "version": "3.1.0-46.22", + "version": "3.1.0-47.17", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "frontend", - "version": "3.1.0-46.22", + "version": "3.1.0-47.17", "dependencies": { "@bcgov/bc-sans": "1.0.1", "@react-keycloak/web": "3.4.0", @@ -31,7 +31,7 @@ "polylabel": "1.1.0", "query-string": "6.12.1", "react": "18.2.0", - "react-bootstrap": "1.5.2", + "react-bootstrap": "1.6.6", "react-bootstrap-typeahead": "5.1.4", "react-click-away-listener": "2.2.2", "react-datepicker": "4.8.0", @@ -64,6 +64,7 @@ "yup": "0.32.9" }, "devDependencies": { + "@swc/jest": "0.2.24", "@testing-library/dom": "7.28.1", "@testing-library/jest-dom": "5.16.5", "@testing-library/react": "13.4.0", @@ -101,6 +102,7 @@ "eslint-plugin-prettier": "3.4.0", "eslint-plugin-simple-import-sort": "7.0.0", "husky": "6.0.0", + "jest": "29.4.1", "jest-fetch-mock": "3.0.3", "jest-sonar-reporter": "2.0.0", "jest-styled-components": "7.1.1", @@ -2679,84 +2681,102 @@ } }, "node_modules/@jest/console": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/console/-/console-27.5.1.tgz", - "integrity": "sha512-kZ/tNpS3NXn0mlXXXPNuDZnb4c0oZ20r4K5eemM2k30ZC3G0T02nXUvyhf5YdbXWHPEJLc9qGLxEZ216MdL+Zg==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-29.4.1.tgz", + "integrity": "sha512-m+XpwKSi3PPM9znm5NGS8bBReeAJJpSkL1OuFCqaMaJL2YX9YXLkkI+MBchMPwu+ZuM2rynL51sgfkQteQ1CKQ==", "dev": true, "dependencies": { - "@jest/types": "^27.5.1", + "@jest/types": "^29.4.1", "@types/node": "*", "chalk": "^4.0.0", - "jest-message-util": "^27.5.1", - "jest-util": "^27.5.1", + "jest-message-util": "^29.4.1", + "jest-util": "^29.4.1", "slash": "^3.0.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/@jest/console/node_modules/@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "dependencies": { + "@jest/schemas": "^29.4.0", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", - "@types/yargs": "^16.0.0", + "@types/yargs": "^17.0.8", "chalk": "^4.0.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/@jest/console/node_modules/@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "dependencies": { "@types/yargs-parser": "*" } }, + "node_modules/@jest/console/node_modules/jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", + "dev": true, + "dependencies": { + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, "node_modules/@jest/core": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/core/-/core-27.5.1.tgz", - "integrity": "sha512-AK6/UTrvQD0Cd24NSqmIA6rKsu0tKIxfiCducZvqxYdmMisOYAsdItspT+fQDQYARPf8XgjAFZi0ogW2agH5nQ==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/core/-/core-29.4.1.tgz", + "integrity": "sha512-RXFTohpBqpaTebNdg5l3I5yadnKo9zLBajMT0I38D0tDhreVBYv3fA8kywthI00sWxPztWLD3yjiUkewwu/wKA==", "dev": true, "dependencies": { - "@jest/console": "^27.5.1", - "@jest/reporters": "^27.5.1", - "@jest/test-result": "^27.5.1", - "@jest/transform": "^27.5.1", - "@jest/types": "^27.5.1", + "@jest/console": "^29.4.1", + "@jest/reporters": "^29.4.1", + "@jest/test-result": "^29.4.1", + "@jest/transform": "^29.4.1", + "@jest/types": "^29.4.1", "@types/node": "*", "ansi-escapes": "^4.2.1", "chalk": "^4.0.0", - "emittery": "^0.8.1", + "ci-info": "^3.2.0", "exit": "^0.1.2", "graceful-fs": "^4.2.9", - "jest-changed-files": "^27.5.1", - "jest-config": "^27.5.1", - "jest-haste-map": "^27.5.1", - "jest-message-util": "^27.5.1", - "jest-regex-util": "^27.5.1", - "jest-resolve": "^27.5.1", - "jest-resolve-dependencies": "^27.5.1", - "jest-runner": "^27.5.1", - "jest-runtime": "^27.5.1", - "jest-snapshot": "^27.5.1", - "jest-util": "^27.5.1", - "jest-validate": "^27.5.1", - "jest-watcher": "^27.5.1", + "jest-changed-files": "^29.4.0", + "jest-config": "^29.4.1", + "jest-haste-map": "^29.4.1", + "jest-message-util": "^29.4.1", + "jest-regex-util": "^29.2.0", + "jest-resolve": "^29.4.1", + "jest-resolve-dependencies": "^29.4.1", + "jest-runner": "^29.4.1", + "jest-runtime": "^29.4.1", + "jest-snapshot": "^29.4.1", + "jest-util": "^29.4.1", + "jest-validate": "^29.4.1", + "jest-watcher": "^29.4.1", "micromatch": "^4.0.4", - "rimraf": "^3.0.0", + "pretty-format": "^29.4.1", "slash": "^3.0.0", "strip-ansi": "^6.0.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" }, "peerDependencies": { "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" @@ -2767,7 +2787,252 @@ } } }, + "node_modules/@jest/core/node_modules/@jest/transform": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.4.1.tgz", + "integrity": "sha512-5w6YJrVAtiAgr0phzKjYd83UPbCXsBRTeYI4BXokv9Er9CcrH9hfXL/crCvP2d2nGOcovPUnlYiLPFLZrkG5Hg==", + "dev": true, + "dependencies": { + "@babel/core": "^7.11.6", + "@jest/types": "^29.4.1", + "@jridgewell/trace-mapping": "^0.3.15", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^2.0.0", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.4.1", + "jest-regex-util": "^29.2.0", + "jest-util": "^29.4.1", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "write-file-atomic": "^5.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, "node_modules/@jest/core/node_modules/@jest/types": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", + "dev": true, + "dependencies": { + "@jest/schemas": "^29.4.0", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/core/node_modules/@types/yargs": { + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", + "dev": true, + "dependencies": { + "@types/yargs-parser": "*" + } + }, + "node_modules/@jest/core/node_modules/ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@jest/core/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true + }, + "node_modules/@jest/core/node_modules/jest-get-type": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.2.0.tgz", + "integrity": "sha512-uXNJlg8hKFEnDgFsrCjznB+sTxdkuqiCL6zMgA75qEbAJjJYTs9XPrvDctrEig2GDow22T/LvHgO57iJhXB/UA==", + "dev": true, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/core/node_modules/jest-haste-map": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.4.1.tgz", + "integrity": "sha512-imTjcgfVVTvg02khXL11NNLTx9ZaofbAWhilrMg/G8dIkp+HYCswhxf0xxJwBkfhWb3e8dwbjuWburvxmcr58w==", + "dev": true, + "dependencies": { + "@jest/types": "^29.4.1", + "@types/graceful-fs": "^4.1.3", + "@types/node": "*", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "graceful-fs": "^4.2.9", + "jest-regex-util": "^29.2.0", + "jest-util": "^29.4.1", + "jest-worker": "^29.4.1", + "micromatch": "^4.0.4", + "walker": "^1.0.8" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "optionalDependencies": { + "fsevents": "^2.3.2" + } + }, + "node_modules/@jest/core/node_modules/jest-regex-util": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.2.0.tgz", + "integrity": "sha512-6yXn0kg2JXzH30cr2NlThF+70iuO/3irbaB4mh5WyqNIvLLP+B6sFdluO1/1RJmslyh/f9osnefECflHvTbwVA==", + "dev": true, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/core/node_modules/jest-resolve": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.4.1.tgz", + "integrity": "sha512-j/ZFNV2lm9IJ2wmlq1uYK0Y/1PiyDq9g4HEGsNTNr3viRbJdV+8Lf1SXIiLZXFvyiisu0qUyIXGBnw+OKWkJwQ==", + "dev": true, + "dependencies": { + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.4.1", + "jest-pnp-resolver": "^1.2.2", + "jest-util": "^29.4.1", + "jest-validate": "^29.4.1", + "resolve": "^1.20.0", + "resolve.exports": "^2.0.0", + "slash": "^3.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/core/node_modules/jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", + "dev": true, + "dependencies": { + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/core/node_modules/jest-validate": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.4.1.tgz", + "integrity": "sha512-qNZXcZQdIQx4SfUB/atWnI4/I2HUvhz8ajOSYUu40CSmf9U5emil8EDHgE7M+3j9/pavtk3knlZBDsgFvv/SWw==", + "dev": true, + "dependencies": { + "@jest/types": "^29.4.1", + "camelcase": "^6.2.0", + "chalk": "^4.0.0", + "jest-get-type": "^29.2.0", + "leven": "^3.1.0", + "pretty-format": "^29.4.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/core/node_modules/jest-worker": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.4.1.tgz", + "integrity": "sha512-O9doU/S1EBe+yp/mstQ0VpPwpv0Clgn68TkNwGxL6/usX/KUW9Arnn4ag8C3jc6qHcXznhsT5Na1liYzAsuAbQ==", + "dev": true, + "dependencies": { + "@types/node": "*", + "jest-util": "^29.4.1", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/core/node_modules/pretty-format": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.4.1.tgz", + "integrity": "sha512-dt/Z761JUVsrIKaY215o1xQJBGlSmTx/h4cSqXqjHLnU1+Kt+mavVE7UgqJJO5ukx5HjSswHfmXz4LjS2oIJfg==", + "dev": true, + "dependencies": { + "@jest/schemas": "^29.4.0", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/core/node_modules/resolve.exports": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.0.tgz", + "integrity": "sha512-6K/gDlqgQscOlg9fSRpWstA8sYe8rbELsSTNpx+3kTrsVCzvSl0zIvRErM7fdl9ERWDsKnrLnwB+Ne89918XOg==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/@jest/core/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/@jest/core/node_modules/write-file-atomic": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.0.tgz", + "integrity": "sha512-R7NYMnHSlV42K54lwY9lvW6MnSm1HSJqZL3xiSgi9E7//FYaI74r2G0rd+/X6VAMkHEdzxQaU5HUOXWUz5kA/w==", + "dev": true, + "dependencies": { + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.7" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@jest/create-cache-key-function": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/create-cache-key-function/-/create-cache-key-function-27.5.1.tgz", + "integrity": "sha512-dmH1yW+makpTSURTy8VzdUwFnfQh1G8R+DxO2Ho2FFmBbKFEVm+3jWdvFhE2VqB/LATCTokkP0dotjyQyw5/AQ==", + "dev": true, + "dependencies": { + "@jest/types": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/@jest/create-cache-key-function/node_modules/@jest/types": { "version": "27.5.1", "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", @@ -2783,7 +3048,7 @@ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/@jest/core/node_modules/@types/yargs": { + "node_modules/@jest/create-cache-key-function/node_modules/@types/yargs": { "version": "16.0.5", "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", @@ -2793,160 +3058,214 @@ } }, "node_modules/@jest/environment": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-27.5.1.tgz", - "integrity": "sha512-/WQjhPJe3/ghaol/4Bq480JKXV/Rfw8nQdN7f41fM8VDHLcxKXou6QyXAh3EFr9/bVG3x74z1NWDkP87EiY8gA==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.4.1.tgz", + "integrity": "sha512-pJ14dHGSQke7Q3mkL/UZR9ZtTOxqskZaC91NzamEH4dlKRt42W+maRBXiw/LWkdJe+P0f/zDR37+SPMplMRlPg==", "dev": true, "dependencies": { - "@jest/fake-timers": "^27.5.1", - "@jest/types": "^27.5.1", + "@jest/fake-timers": "^29.4.1", + "@jest/types": "^29.4.1", "@types/node": "*", - "jest-mock": "^27.5.1" + "jest-mock": "^29.4.1" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/@jest/environment/node_modules/@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "dependencies": { + "@jest/schemas": "^29.4.0", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", - "@types/yargs": "^16.0.0", + "@types/yargs": "^17.0.8", "chalk": "^4.0.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/@jest/environment/node_modules/@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "dependencies": { "@types/yargs-parser": "*" } }, + "node_modules/@jest/expect": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.4.1.tgz", + "integrity": "sha512-ZxKJP5DTUNF2XkpJeZIzvnzF1KkfrhEF6Rz0HGG69fHl6Bgx5/GoU3XyaeFYEjuuKSOOsbqD/k72wFvFxc3iTw==", + "dev": true, + "dependencies": { + "expect": "^29.4.1", + "jest-snapshot": "^29.4.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/expect-utils": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.4.1.tgz", + "integrity": "sha512-w6YJMn5DlzmxjO00i9wu2YSozUYRBhIoJ6nQwpMYcBMtiqMGJm1QBzOf6DDgRao8dbtpDoaqLg6iiQTvv0UHhQ==", + "dev": true, + "dependencies": { + "jest-get-type": "^29.2.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/expect-utils/node_modules/jest-get-type": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.2.0.tgz", + "integrity": "sha512-uXNJlg8hKFEnDgFsrCjznB+sTxdkuqiCL6zMgA75qEbAJjJYTs9XPrvDctrEig2GDow22T/LvHgO57iJhXB/UA==", + "dev": true, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, "node_modules/@jest/fake-timers": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-27.5.1.tgz", - "integrity": "sha512-/aPowoolwa07k7/oM3aASneNeBGCmGQsc3ugN4u6s4C/+s5M64MFo/+djTdiwcbQlRfFElGuDXWzaWj6QgKObQ==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.4.1.tgz", + "integrity": "sha512-/1joI6rfHFmmm39JxNfmNAO3Nwm6Y0VoL5fJDy7H1AtWrD1CgRtqJbN9Ld6rhAkGO76qqp4cwhhxJ9o9kYjQMw==", "dev": true, "dependencies": { - "@jest/types": "^27.5.1", - "@sinonjs/fake-timers": "^8.0.1", + "@jest/types": "^29.4.1", + "@sinonjs/fake-timers": "^10.0.2", "@types/node": "*", - "jest-message-util": "^27.5.1", - "jest-mock": "^27.5.1", - "jest-util": "^27.5.1" + "jest-message-util": "^29.4.1", + "jest-mock": "^29.4.1", + "jest-util": "^29.4.1" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/@jest/fake-timers/node_modules/@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "dependencies": { + "@jest/schemas": "^29.4.0", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", - "@types/yargs": "^16.0.0", + "@types/yargs": "^17.0.8", "chalk": "^4.0.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/@jest/fake-timers/node_modules/@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "dependencies": { "@types/yargs-parser": "*" } }, + "node_modules/@jest/fake-timers/node_modules/jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", + "dev": true, + "dependencies": { + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, "node_modules/@jest/globals": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-27.5.1.tgz", - "integrity": "sha512-ZEJNB41OBQQgGzgyInAv0UUfDDj3upmHydjieSxFvTRuZElrx7tXg/uVQ5hYVEwiXs3+aMsAeEc9X7xiSKCm4Q==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.4.1.tgz", + "integrity": "sha512-znoK2EuFytbHH0ZSf2mQK2K1xtIgmaw4Da21R2C/NE/+NnItm5mPEFQmn8gmF3f0rfOlmZ3Y3bIf7bFj7DHxAA==", "dev": true, "dependencies": { - "@jest/environment": "^27.5.1", - "@jest/types": "^27.5.1", - "expect": "^27.5.1" + "@jest/environment": "^29.4.1", + "@jest/expect": "^29.4.1", + "@jest/types": "^29.4.1", + "jest-mock": "^29.4.1" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/@jest/globals/node_modules/@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "dependencies": { + "@jest/schemas": "^29.4.0", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", - "@types/yargs": "^16.0.0", + "@types/yargs": "^17.0.8", "chalk": "^4.0.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/@jest/globals/node_modules/@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "dependencies": { "@types/yargs-parser": "*" } }, "node_modules/@jest/reporters": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-27.5.1.tgz", - "integrity": "sha512-cPXh9hWIlVJMQkVk84aIvXuBB4uQQmFqZiacloFuGiP3ah1sbCxCosidXFDfqG8+6fO1oR2dTJTlsOy4VFmUfw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-29.4.1.tgz", + "integrity": "sha512-AISY5xpt2Xpxj9R6y0RF1+O6GRy9JsGa8+vK23Lmzdy1AYcpQn5ItX79wJSsTmfzPKSAcsY1LNt/8Y5Xe5LOSg==", "dev": true, "dependencies": { "@bcoe/v8-coverage": "^0.2.3", - "@jest/console": "^27.5.1", - "@jest/test-result": "^27.5.1", - "@jest/transform": "^27.5.1", - "@jest/types": "^27.5.1", + "@jest/console": "^29.4.1", + "@jest/test-result": "^29.4.1", + "@jest/transform": "^29.4.1", + "@jest/types": "^29.4.1", + "@jridgewell/trace-mapping": "^0.3.15", "@types/node": "*", "chalk": "^4.0.0", "collect-v8-coverage": "^1.0.0", "exit": "^0.1.2", - "glob": "^7.1.2", + "glob": "^7.1.3", "graceful-fs": "^4.2.9", "istanbul-lib-coverage": "^3.0.0", "istanbul-lib-instrument": "^5.1.0", "istanbul-lib-report": "^3.0.0", "istanbul-lib-source-maps": "^4.0.0", "istanbul-reports": "^3.1.3", - "jest-haste-map": "^27.5.1", - "jest-resolve": "^27.5.1", - "jest-util": "^27.5.1", - "jest-worker": "^27.5.1", + "jest-message-util": "^29.4.1", + "jest-util": "^29.4.1", + "jest-worker": "^29.4.1", "slash": "^3.0.0", - "source-map": "^0.6.0", "string-length": "^4.0.1", - "terminal-link": "^2.0.0", - "v8-to-istanbul": "^8.1.0" + "strip-ansi": "^6.0.0", + "v8-to-istanbul": "^9.0.1" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" }, "peerDependencies": { "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" @@ -2957,31 +3276,64 @@ } } }, + "node_modules/@jest/reporters/node_modules/@jest/transform": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.4.1.tgz", + "integrity": "sha512-5w6YJrVAtiAgr0phzKjYd83UPbCXsBRTeYI4BXokv9Er9CcrH9hfXL/crCvP2d2nGOcovPUnlYiLPFLZrkG5Hg==", + "dev": true, + "dependencies": { + "@babel/core": "^7.11.6", + "@jest/types": "^29.4.1", + "@jridgewell/trace-mapping": "^0.3.15", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^2.0.0", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.4.1", + "jest-regex-util": "^29.2.0", + "jest-util": "^29.4.1", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "write-file-atomic": "^5.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, "node_modules/@jest/reporters/node_modules/@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "dependencies": { + "@jest/schemas": "^29.4.0", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", - "@types/yargs": "^16.0.0", + "@types/yargs": "^17.0.8", "chalk": "^4.0.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/@jest/reporters/node_modules/@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "dependencies": { "@types/yargs-parser": "*" } }, + "node_modules/@jest/reporters/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true + }, "node_modules/@jest/reporters/node_modules/glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", @@ -3002,103 +3354,287 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@jest/reporters/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "node_modules/@jest/reporters/node_modules/jest-haste-map": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.4.1.tgz", + "integrity": "sha512-imTjcgfVVTvg02khXL11NNLTx9ZaofbAWhilrMg/G8dIkp+HYCswhxf0xxJwBkfhWb3e8dwbjuWburvxmcr58w==", + "dev": true, + "dependencies": { + "@jest/types": "^29.4.1", + "@types/graceful-fs": "^4.1.3", + "@types/node": "*", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "graceful-fs": "^4.2.9", + "jest-regex-util": "^29.2.0", + "jest-util": "^29.4.1", + "jest-worker": "^29.4.1", + "micromatch": "^4.0.4", + "walker": "^1.0.8" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "optionalDependencies": { + "fsevents": "^2.3.2" + } + }, + "node_modules/@jest/reporters/node_modules/jest-regex-util": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.2.0.tgz", + "integrity": "sha512-6yXn0kg2JXzH30cr2NlThF+70iuO/3irbaB4mh5WyqNIvLLP+B6sFdluO1/1RJmslyh/f9osnefECflHvTbwVA==", "dev": true, "engines": { - "node": ">=0.10.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/@jest/schemas": { - "version": "28.1.3", - "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-28.1.3.tgz", - "integrity": "sha512-/l/VWsdt/aBXgjshLWOFyFt3IVdYypu5y2Wn2rOO1un6nkqIn8SLXzgIMYXFyYsRWDyF5EthmKJMIdJvk08grg==", + "node_modules/@jest/reporters/node_modules/jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", "dev": true, "dependencies": { - "@sinclair/typebox": "^0.24.1" + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/@jest/source-map": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-27.5.1.tgz", - "integrity": "sha512-y9NIHUYF3PJRlHk98NdC/N1gl88BL08aQQgu4k4ZopQkCw9t9cV8mtl3TV8b/YCB8XaVTFrmUTAJvjsntDireg==", + "node_modules/@jest/reporters/node_modules/jest-worker": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.4.1.tgz", + "integrity": "sha512-O9doU/S1EBe+yp/mstQ0VpPwpv0Clgn68TkNwGxL6/usX/KUW9Arnn4ag8C3jc6qHcXznhsT5Na1liYzAsuAbQ==", "dev": true, "dependencies": { - "callsites": "^3.0.0", - "graceful-fs": "^4.2.9", - "source-map": "^0.6.0" + "@types/node": "*", + "jest-util": "^29.4.1", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/@jest/source-map/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "node_modules/@jest/reporters/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, "engines": { - "node": ">=0.10.0" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/@jest/reporters/node_modules/write-file-atomic": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.0.tgz", + "integrity": "sha512-R7NYMnHSlV42K54lwY9lvW6MnSm1HSJqZL3xiSgi9E7//FYaI74r2G0rd+/X6VAMkHEdzxQaU5HUOXWUz5kA/w==", + "dev": true, + "dependencies": { + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.7" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@jest/schemas": { + "version": "29.4.0", + "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.4.0.tgz", + "integrity": "sha512-0E01f/gOZeNTG76i5eWWSupvSHaIINrTie7vCyjiYFKgzNdyEGd12BUv4oNBFHOqlHDbtoJi3HrQ38KCC90NsQ==", + "dev": true, + "dependencies": { + "@sinclair/typebox": "^0.25.16" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/source-map": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-29.2.0.tgz", + "integrity": "sha512-1NX9/7zzI0nqa6+kgpSdKPK+WU1p+SJk3TloWZf5MzPbxri9UEeXX5bWZAPCzbQcyuAzubcdUHA7hcNznmRqWQ==", + "dev": true, + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.15", + "callsites": "^3.0.0", + "graceful-fs": "^4.2.9" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/@jest/test-result": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-27.5.1.tgz", - "integrity": "sha512-EW35l2RYFUcUQxFJz5Cv5MTOxlJIQs4I7gxzi2zVU7PJhOwfYq1MdC5nhSmYjX1gmMmLPvB3sIaC+BkcHRBfag==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-29.4.1.tgz", + "integrity": "sha512-WRt29Lwt+hEgfN8QDrXqXGgCTidq1rLyFqmZ4lmJOpVArC8daXrZWkWjiaijQvgd3aOUj2fM8INclKHsQW9YyQ==", "dev": true, "dependencies": { - "@jest/console": "^27.5.1", - "@jest/types": "^27.5.1", + "@jest/console": "^29.4.1", + "@jest/types": "^29.4.1", "@types/istanbul-lib-coverage": "^2.0.0", "collect-v8-coverage": "^1.0.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/@jest/test-result/node_modules/@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "dependencies": { + "@jest/schemas": "^29.4.0", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", - "@types/yargs": "^16.0.0", + "@types/yargs": "^17.0.8", "chalk": "^4.0.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/@jest/test-result/node_modules/@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "dependencies": { "@types/yargs-parser": "*" } }, "node_modules/@jest/test-sequencer": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-27.5.1.tgz", - "integrity": "sha512-LCheJF7WB2+9JuCS7VB/EmGIdQuhtqjRNI9A43idHv3E4KltCTsPsLxvdaubFHSYwY/fNjMWjl6vNRhDiN7vpQ==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.4.1.tgz", + "integrity": "sha512-v5qLBNSsM0eHzWLXsQ5fiB65xi49A3ILPSFQKPXzGL4Vyux0DPZAIN7NAFJa9b4BiTDP9MBF/Zqc/QA1vuiJ0w==", "dev": true, "dependencies": { - "@jest/test-result": "^27.5.1", + "@jest/test-result": "^29.4.1", "graceful-fs": "^4.2.9", - "jest-haste-map": "^27.5.1", - "jest-runtime": "^27.5.1" + "jest-haste-map": "^29.4.1", + "slash": "^3.0.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/test-sequencer/node_modules/@jest/types": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", + "dev": true, + "dependencies": { + "@jest/schemas": "^29.4.0", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/test-sequencer/node_modules/@types/yargs": { + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", + "dev": true, + "dependencies": { + "@types/yargs-parser": "*" + } + }, + "node_modules/@jest/test-sequencer/node_modules/jest-haste-map": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.4.1.tgz", + "integrity": "sha512-imTjcgfVVTvg02khXL11NNLTx9ZaofbAWhilrMg/G8dIkp+HYCswhxf0xxJwBkfhWb3e8dwbjuWburvxmcr58w==", + "dev": true, + "dependencies": { + "@jest/types": "^29.4.1", + "@types/graceful-fs": "^4.1.3", + "@types/node": "*", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "graceful-fs": "^4.2.9", + "jest-regex-util": "^29.2.0", + "jest-util": "^29.4.1", + "jest-worker": "^29.4.1", + "micromatch": "^4.0.4", + "walker": "^1.0.8" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "optionalDependencies": { + "fsevents": "^2.3.2" + } + }, + "node_modules/@jest/test-sequencer/node_modules/jest-regex-util": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.2.0.tgz", + "integrity": "sha512-6yXn0kg2JXzH30cr2NlThF+70iuO/3irbaB4mh5WyqNIvLLP+B6sFdluO1/1RJmslyh/f9osnefECflHvTbwVA==", + "dev": true, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/test-sequencer/node_modules/jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", + "dev": true, + "dependencies": { + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/test-sequencer/node_modules/jest-worker": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.4.1.tgz", + "integrity": "sha512-O9doU/S1EBe+yp/mstQ0VpPwpv0Clgn68TkNwGxL6/usX/KUW9Arnn4ag8C3jc6qHcXznhsT5Na1liYzAsuAbQ==", + "dev": true, + "dependencies": { + "@types/node": "*", + "jest-util": "^29.4.1", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/test-sequencer/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" } }, "node_modules/@jest/transform": { @@ -3584,27 +4120,27 @@ "dev": true }, "node_modules/@sinclair/typebox": { - "version": "0.24.51", - "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.24.51.tgz", - "integrity": "sha512-1P1OROm/rdubP5aFDSZQILU0vrLCJ4fvHt6EoqHEM+2D/G5MK3bIaymUKLit8Js9gbns5UyJnkP/TZROLw4tUA==", + "version": "0.25.21", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.25.21.tgz", + "integrity": "sha512-gFukHN4t8K4+wVC+ECqeqwzBDeFeTzBXroBTqE6vcWrQGbEUpHO7LYdG0f4xnvYq4VOEwITSlHlp0JBAIFMS/g==", "dev": true }, "node_modules/@sinonjs/commons": { - "version": "1.8.6", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.6.tgz", - "integrity": "sha512-Ky+XkAkqPZSm3NLBeUng77EBQl3cmeJhITaGHdYH8kjVB+aun3S4XBRti2zt17mtt0mIUDiNxYeoJm6drVvBJQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-2.0.0.tgz", + "integrity": "sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg==", "dev": true, "dependencies": { "type-detect": "4.0.8" } }, "node_modules/@sinonjs/fake-timers": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-8.1.0.tgz", - "integrity": "sha512-OAPJUAtgeINhh/TAlUID4QTs53Njm7xzddaVlEs/SXwgtiD1tW22zAB/W1wdqfrpmikgaWQ9Fw6Ws+hsiRm5Vg==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.0.2.tgz", + "integrity": "sha512-SwUDyjWnah1AaNl7kxsa7cfLhlTYoiyhDAIgyh+El30YvXs/o7OLXpYH88Zdhyx9JExKrmHDJ+10bwIcY80Jmw==", "dev": true, "dependencies": { - "@sinonjs/commons": "^1.7.0" + "@sinonjs/commons": "^2.0.0" } }, "node_modules/@surma/rollup-plugin-off-main-thread": { @@ -3849,6 +4385,66 @@ "url": "https://github.com/sponsors/gregberge" } }, + "node_modules/@swc/core": { + "version": "1.3.32", + "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.3.32.tgz", + "integrity": "sha512-Yx/n1j+uUkcqlJAW8IRg8Qymgkdow6NHJZPFShiR0YiaYq2sXY+JHmvh16O6GkL91Y+gTlDUS7uVgDz50czJUQ==", + "dev": true, + "hasInstallScript": true, + "peer": true, + "engines": { + "node": ">=10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/swc" + }, + "optionalDependencies": { + "@swc/core-darwin-arm64": "1.3.32", + "@swc/core-darwin-x64": "1.3.32", + "@swc/core-linux-arm-gnueabihf": "1.3.32", + "@swc/core-linux-arm64-gnu": "1.3.32", + "@swc/core-linux-arm64-musl": "1.3.32", + "@swc/core-linux-x64-gnu": "1.3.32", + "@swc/core-linux-x64-musl": "1.3.32", + "@swc/core-win32-arm64-msvc": "1.3.32", + "@swc/core-win32-ia32-msvc": "1.3.32", + "@swc/core-win32-x64-msvc": "1.3.32" + } + }, + "node_modules/@swc/core-win32-x64-msvc": { + "version": "1.3.32", + "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.3.32.tgz", + "integrity": "sha512-DPMoneNFQco7SqmVVOUv1Vn53YmoImEfrAPMY9KrqQzgfzqNTuL2JvfxUqfAxwQ6pEKYAdyKJvZ483rIhgG9XQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "peer": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/jest": { + "version": "0.2.24", + "resolved": "https://registry.npmjs.org/@swc/jest/-/jest-0.2.24.tgz", + "integrity": "sha512-fwgxQbM1wXzyKzl1+IW0aGrRvAA8k0Y3NxFhKigbPjOJ4mCKnWEcNX9HQS3gshflcxq8YKhadabGUVfdwjCr6Q==", + "dev": true, + "dependencies": { + "@jest/create-cache-key-function": "^27.4.2", + "jsonc-parser": "^3.2.0" + }, + "engines": { + "npm": ">= 7.0.0" + }, + "peerDependencies": { + "@swc/core": "*" + } + }, "node_modules/@testing-library/dom": { "version": "7.28.1", "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-7.28.1.tgz", @@ -4136,15 +4732,6 @@ "@types/node": "*" } }, - "node_modules/@types/classnames": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/@types/classnames/-/classnames-2.3.1.tgz", - "integrity": "sha512-zeOWb0JGBoVmlQoznvqXbE0tEC/HONsnoUNH19Hc96NFsTAwTXbTqb8FMYkru1F/iqp7a18Ws3nWJvtA1sHD1A==", - "deprecated": "This is a stub types definition. classnames provides its own type definitions, so you do not need this installed.", - "dependencies": { - "classnames": "*" - } - }, "node_modules/@types/connect": { "version": "3.4.35", "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz", @@ -4485,7 +5072,7 @@ "version": "18.0.10", "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.0.10.tgz", "integrity": "sha512-E42GW/JA4Qv15wQdqJq8DL4JhNpB3prJgjgapN3qJT9K2zO5IIAQh4VXvCEDupoqAwnz0cY4RlXeC/ajX5SFHg==", - "dev": true, + "devOptional": true, "dependencies": { "@types/react": "*" } @@ -6571,20 +7158,6 @@ "node": ">=10.12.0" } }, - "node_modules/c8/node_modules/v8-to-istanbul": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz", - "integrity": "sha512-74Y4LqY74kLE6IFyIjPtkSTWzUZmj8tdHT9Ii/26dvQ6K9Dl2NbEfj0XgU2sHCtKgt5VupqhlO/5aWuqS+IY1w==", - "dev": true, - "dependencies": { - "@jridgewell/trace-mapping": "^0.3.12", - "@types/istanbul-lib-coverage": "^2.0.1", - "convert-source-map": "^1.6.0" - }, - "engines": { - "node": ">=10.12.0" - } - }, "node_modules/call-bind": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", @@ -8704,12 +9277,12 @@ "dev": true }, "node_modules/emittery": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.8.1.tgz", - "integrity": "sha512-uDfvUjVrfGJJhymx/kz6prltenw1u7WrCg1oa94zYY8xxVpLLUu045LAT0dhDZdXG58/EpPL/5kA180fQ/qudg==", + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz", + "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==", "dev": true, "engines": { - "node": ">=10" + "node": ">=12" }, "funding": { "url": "https://github.com/sindresorhus/emittery?sponsor=1" @@ -9754,45 +10327,138 @@ } }, "node_modules/expect": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/expect/-/expect-27.5.1.tgz", - "integrity": "sha512-E1q5hSUG2AmYQwQJ041nvgpkODHQvB+RKlB4IYdru6uJsyFTRyZAP463M+1lINorwbqAmUggi6+WwkD8lCS/Dw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/expect/-/expect-29.4.1.tgz", + "integrity": "sha512-OKrGESHOaMxK3b6zxIq9SOW8kEXztKff/Dvg88j4xIJxur1hspEbedVkR3GpHe5LO+WB2Qw7OWN0RMTdp6as5A==", "dev": true, "dependencies": { - "@jest/types": "^27.5.1", - "jest-get-type": "^27.5.1", - "jest-matcher-utils": "^27.5.1", - "jest-message-util": "^27.5.1" + "@jest/expect-utils": "^29.4.1", + "jest-get-type": "^29.2.0", + "jest-matcher-utils": "^29.4.1", + "jest-message-util": "^29.4.1", + "jest-util": "^29.4.1" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/expect/node_modules/@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "dependencies": { + "@jest/schemas": "^29.4.0", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", - "@types/yargs": "^16.0.0", + "@types/yargs": "^17.0.8", "chalk": "^4.0.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/expect/node_modules/@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "dependencies": { "@types/yargs-parser": "*" } }, + "node_modules/expect/node_modules/ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/expect/node_modules/diff-sequences": { + "version": "29.3.1", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.3.1.tgz", + "integrity": "sha512-hlM3QR272NXCi4pq+N4Kok4kOp6EsgOM3ZSpJI7Da3UAs+Ttsi8MRmB6trM/lhyzUxGfOgnpkHtgqm5Q/CTcfQ==", + "dev": true, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/expect/node_modules/jest-diff": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.4.1.tgz", + "integrity": "sha512-uazdl2g331iY56CEyfbNA0Ut7Mn2ulAG5vUaEHXycf1L6IPyuImIxSz4F0VYBKi7LYIuxOwTZzK3wh5jHzASMw==", + "dev": true, + "dependencies": { + "chalk": "^4.0.0", + "diff-sequences": "^29.3.1", + "jest-get-type": "^29.2.0", + "pretty-format": "^29.4.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/expect/node_modules/jest-get-type": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.2.0.tgz", + "integrity": "sha512-uXNJlg8hKFEnDgFsrCjznB+sTxdkuqiCL6zMgA75qEbAJjJYTs9XPrvDctrEig2GDow22T/LvHgO57iJhXB/UA==", + "dev": true, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/expect/node_modules/jest-matcher-utils": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.4.1.tgz", + "integrity": "sha512-k5h0u8V4nAEy6lSACepxL/rw78FLDkBnXhZVgFneVpnJONhb2DhZj/Gv4eNe+1XqQ5IhgUcqj745UwH0HJmMnA==", + "dev": true, + "dependencies": { + "chalk": "^4.0.0", + "jest-diff": "^29.4.1", + "jest-get-type": "^29.2.0", + "pretty-format": "^29.4.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/expect/node_modules/jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", + "dev": true, + "dependencies": { + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/expect/node_modules/pretty-format": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.4.1.tgz", + "integrity": "sha512-dt/Z761JUVsrIKaY215o1xQJBGlSmTx/h4cSqXqjHLnU1+Kt+mavVE7UgqJJO5ukx5HjSswHfmXz4LjS2oIJfg==", + "dev": true, + "dependencies": { + "@jest/schemas": "^29.4.0", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, "node_modules/express": { "version": "4.18.2", "resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz", @@ -10475,20 +11141,6 @@ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", "dev": true }, - "node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, "node_modules/function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", @@ -12080,20 +12732,21 @@ "dev": true }, "node_modules/jest": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest/-/jest-27.5.1.tgz", - "integrity": "sha512-Yn0mADZB89zTtjkPJEXwrac3LHudkQMR+Paqa8uxJHCBr9agxztUifWCyiYrjhMPBoUVBjyny0I7XH6ozDr7QQ==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest/-/jest-29.4.1.tgz", + "integrity": "sha512-cknimw7gAXPDOmj0QqztlxVtBVCw2lYY9CeIE5N6kD+kET1H4H79HSNISJmijb1HF+qk+G+ploJgiDi5k/fRlg==", "dev": true, "dependencies": { - "@jest/core": "^27.5.1", + "@jest/core": "^29.4.1", + "@jest/types": "^29.4.1", "import-local": "^3.0.2", - "jest-cli": "^27.5.1" + "jest-cli": "^29.4.1" }, "bin": { "jest": "bin/jest.js" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" }, "peerDependencies": { "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" @@ -12105,42 +12758,16 @@ } }, "node_modules/jest-changed-files": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-27.5.1.tgz", - "integrity": "sha512-buBLMiByfWGCoMsLLzGUUSpAmIAGnbR2KJoMN10ziLhOLvP4e0SlypHnAel8iqQXTrcbmfEY9sSqae5sgUsTvw==", + "version": "29.4.0", + "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.4.0.tgz", + "integrity": "sha512-rnI1oPxgFghoz32Y8eZsGJMjW54UlqT17ycQeCEktcxxwqqKdlj9afl8LNeO0Pbu+h2JQHThQP0BzS67eTRx4w==", "dev": true, "dependencies": { - "@jest/types": "^27.5.1", "execa": "^5.0.0", - "throat": "^6.0.1" + "p-limit": "^3.1.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, - "node_modules/jest-changed-files/node_modules/@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", - "dev": true, - "dependencies": { - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^16.0.0", - "chalk": "^4.0.0" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, - "node_modules/jest-changed-files/node_modules/@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", - "dev": true, - "dependencies": { - "@types/yargs-parser": "*" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-changed-files/node_modules/execa": { @@ -12188,55 +12815,56 @@ } }, "node_modules/jest-circus": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-27.5.1.tgz", - "integrity": "sha512-D95R7x5UtlMA5iBYsOHFFbMD/GVA4R/Kdq15f7xYWUfWHBto9NYRsOvnSauTgdF+ogCpJ4tyKOXhUifxS65gdw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-29.4.1.tgz", + "integrity": "sha512-v02NuL5crMNY4CGPHBEflLzl4v91NFb85a+dH9a1pUNx6Xjggrd8l9pPy4LZ1VYNRXlb+f65+7O/MSIbLir6pA==", "dev": true, "dependencies": { - "@jest/environment": "^27.5.1", - "@jest/test-result": "^27.5.1", - "@jest/types": "^27.5.1", + "@jest/environment": "^29.4.1", + "@jest/expect": "^29.4.1", + "@jest/test-result": "^29.4.1", + "@jest/types": "^29.4.1", "@types/node": "*", "chalk": "^4.0.0", "co": "^4.6.0", "dedent": "^0.7.0", - "expect": "^27.5.1", "is-generator-fn": "^2.0.0", - "jest-each": "^27.5.1", - "jest-matcher-utils": "^27.5.1", - "jest-message-util": "^27.5.1", - "jest-runtime": "^27.5.1", - "jest-snapshot": "^27.5.1", - "jest-util": "^27.5.1", - "pretty-format": "^27.5.1", + "jest-each": "^29.4.1", + "jest-matcher-utils": "^29.4.1", + "jest-message-util": "^29.4.1", + "jest-runtime": "^29.4.1", + "jest-snapshot": "^29.4.1", + "jest-util": "^29.4.1", + "p-limit": "^3.1.0", + "pretty-format": "^29.4.1", "slash": "^3.0.0", - "stack-utils": "^2.0.3", - "throat": "^6.0.1" + "stack-utils": "^2.0.3" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-circus/node_modules/@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "dependencies": { + "@jest/schemas": "^29.4.0", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", - "@types/yargs": "^16.0.0", + "@types/yargs": "^17.0.8", "chalk": "^4.0.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-circus/node_modules/@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "dependencies": { "@types/yargs-parser": "*" @@ -12254,50 +12882,109 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/jest-circus/node_modules/diff-sequences": { + "version": "29.3.1", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.3.1.tgz", + "integrity": "sha512-hlM3QR272NXCi4pq+N4Kok4kOp6EsgOM3ZSpJI7Da3UAs+Ttsi8MRmB6trM/lhyzUxGfOgnpkHtgqm5Q/CTcfQ==", + "dev": true, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-circus/node_modules/jest-diff": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.4.1.tgz", + "integrity": "sha512-uazdl2g331iY56CEyfbNA0Ut7Mn2ulAG5vUaEHXycf1L6IPyuImIxSz4F0VYBKi7LYIuxOwTZzK3wh5jHzASMw==", + "dev": true, + "dependencies": { + "chalk": "^4.0.0", + "diff-sequences": "^29.3.1", + "jest-get-type": "^29.2.0", + "pretty-format": "^29.4.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-circus/node_modules/jest-get-type": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.2.0.tgz", + "integrity": "sha512-uXNJlg8hKFEnDgFsrCjznB+sTxdkuqiCL6zMgA75qEbAJjJYTs9XPrvDctrEig2GDow22T/LvHgO57iJhXB/UA==", + "dev": true, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-circus/node_modules/jest-matcher-utils": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.4.1.tgz", + "integrity": "sha512-k5h0u8V4nAEy6lSACepxL/rw78FLDkBnXhZVgFneVpnJONhb2DhZj/Gv4eNe+1XqQ5IhgUcqj745UwH0HJmMnA==", + "dev": true, + "dependencies": { + "chalk": "^4.0.0", + "jest-diff": "^29.4.1", + "jest-get-type": "^29.2.0", + "pretty-format": "^29.4.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-circus/node_modules/jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", + "dev": true, + "dependencies": { + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, "node_modules/jest-circus/node_modules/pretty-format": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", - "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.4.1.tgz", + "integrity": "sha512-dt/Z761JUVsrIKaY215o1xQJBGlSmTx/h4cSqXqjHLnU1+Kt+mavVE7UgqJJO5ukx5HjSswHfmXz4LjS2oIJfg==", "dev": true, "dependencies": { - "ansi-regex": "^5.0.1", + "@jest/schemas": "^29.4.0", "ansi-styles": "^5.0.0", - "react-is": "^17.0.1" + "react-is": "^18.0.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-circus/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "node_modules/jest-cli": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-27.5.1.tgz", - "integrity": "sha512-Hc6HOOwYq4/74/c62dEE3r5elx8wjYqxY0r0G/nFrLDPMFRu6RA/u8qINOIkvhxG7mMQ5EJsOGfRpI8L6eFUVw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.4.1.tgz", + "integrity": "sha512-jz7GDIhtxQ37M+9dlbv5K+/FVcIo1O/b1sX3cJgzlQUf/3VG25nvuWzlDC4F1FLLzUThJeWLu8I7JF9eWpuURQ==", "dev": true, "dependencies": { - "@jest/core": "^27.5.1", - "@jest/test-result": "^27.5.1", - "@jest/types": "^27.5.1", + "@jest/core": "^29.4.1", + "@jest/test-result": "^29.4.1", + "@jest/types": "^29.4.1", "chalk": "^4.0.0", "exit": "^0.1.2", "graceful-fs": "^4.2.9", "import-local": "^3.0.2", - "jest-config": "^27.5.1", - "jest-util": "^27.5.1", - "jest-validate": "^27.5.1", + "jest-config": "^29.4.1", + "jest-util": "^29.4.1", + "jest-validate": "^29.4.1", "prompts": "^2.0.1", - "yargs": "^16.2.0" + "yargs": "^17.3.1" }, "bin": { "jest": "bin/jest.js" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" }, "peerDependencies": { "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" @@ -12309,93 +12996,233 @@ } }, "node_modules/jest-cli/node_modules/@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "dependencies": { + "@jest/schemas": "^29.4.0", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", - "@types/yargs": "^16.0.0", + "@types/yargs": "^17.0.8", "chalk": "^4.0.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-cli/node_modules/@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "dependencies": { "@types/yargs-parser": "*" } }, + "node_modules/jest-cli/node_modules/ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-cli/node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/jest-cli/node_modules/jest-get-type": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.2.0.tgz", + "integrity": "sha512-uXNJlg8hKFEnDgFsrCjznB+sTxdkuqiCL6zMgA75qEbAJjJYTs9XPrvDctrEig2GDow22T/LvHgO57iJhXB/UA==", + "dev": true, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-cli/node_modules/jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", + "dev": true, + "dependencies": { + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-cli/node_modules/jest-validate": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.4.1.tgz", + "integrity": "sha512-qNZXcZQdIQx4SfUB/atWnI4/I2HUvhz8ajOSYUu40CSmf9U5emil8EDHgE7M+3j9/pavtk3knlZBDsgFvv/SWw==", + "dev": true, + "dependencies": { + "@jest/types": "^29.4.1", + "camelcase": "^6.2.0", + "chalk": "^4.0.0", + "jest-get-type": "^29.2.0", + "leven": "^3.1.0", + "pretty-format": "^29.4.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-cli/node_modules/pretty-format": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.4.1.tgz", + "integrity": "sha512-dt/Z761JUVsrIKaY215o1xQJBGlSmTx/h4cSqXqjHLnU1+Kt+mavVE7UgqJJO5ukx5HjSswHfmXz4LjS2oIJfg==", + "dev": true, + "dependencies": { + "@jest/schemas": "^29.4.0", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-cli/node_modules/yargs": { + "version": "17.6.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.6.2.tgz", + "integrity": "sha512-1/9UrdHjDZc0eOU0HxOHoS78C69UD3JRMvzlJ7S79S2nTaWRA/whGCTV8o9e/N/1Va9YIV7Q4sOxD8VV4pCWOw==", + "dev": true, + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/jest-cli/node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true, + "engines": { + "node": ">=12" + } + }, "node_modules/jest-config": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-27.5.1.tgz", - "integrity": "sha512-5sAsjm6tGdsVbW9ahcChPAFCk4IlkQUknH5AvKjuLTSlcO/wCZKyFdn7Rg0EkC+OGgWODEy2hDpWB1PgzH0JNA==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.4.1.tgz", + "integrity": "sha512-g7p3q4NuXiM4hrS4XFATTkd+2z0Ml2RhFmFPM8c3WyKwVDNszbl4E7cV7WIx1YZeqqCtqbtTtZhGZWJlJqngzg==", "dev": true, "dependencies": { - "@babel/core": "^7.8.0", - "@jest/test-sequencer": "^27.5.1", - "@jest/types": "^27.5.1", - "babel-jest": "^27.5.1", + "@babel/core": "^7.11.6", + "@jest/test-sequencer": "^29.4.1", + "@jest/types": "^29.4.1", + "babel-jest": "^29.4.1", "chalk": "^4.0.0", "ci-info": "^3.2.0", "deepmerge": "^4.2.2", - "glob": "^7.1.1", + "glob": "^7.1.3", "graceful-fs": "^4.2.9", - "jest-circus": "^27.5.1", - "jest-environment-jsdom": "^27.5.1", - "jest-environment-node": "^27.5.1", - "jest-get-type": "^27.5.1", - "jest-jasmine2": "^27.5.1", - "jest-regex-util": "^27.5.1", - "jest-resolve": "^27.5.1", - "jest-runner": "^27.5.1", - "jest-util": "^27.5.1", - "jest-validate": "^27.5.1", + "jest-circus": "^29.4.1", + "jest-environment-node": "^29.4.1", + "jest-get-type": "^29.2.0", + "jest-regex-util": "^29.2.0", + "jest-resolve": "^29.4.1", + "jest-runner": "^29.4.1", + "jest-util": "^29.4.1", + "jest-validate": "^29.4.1", "micromatch": "^4.0.4", "parse-json": "^5.2.0", - "pretty-format": "^27.5.1", + "pretty-format": "^29.4.1", "slash": "^3.0.0", "strip-json-comments": "^3.1.1" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" }, "peerDependencies": { + "@types/node": "*", "ts-node": ">=9.0.0" }, "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, "ts-node": { "optional": true } } }, + "node_modules/jest-config/node_modules/@jest/transform": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.4.1.tgz", + "integrity": "sha512-5w6YJrVAtiAgr0phzKjYd83UPbCXsBRTeYI4BXokv9Er9CcrH9hfXL/crCvP2d2nGOcovPUnlYiLPFLZrkG5Hg==", + "dev": true, + "dependencies": { + "@babel/core": "^7.11.6", + "@jest/types": "^29.4.1", + "@jridgewell/trace-mapping": "^0.3.15", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^2.0.0", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.4.1", + "jest-regex-util": "^29.2.0", + "jest-util": "^29.4.1", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "write-file-atomic": "^5.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, "node_modules/jest-config/node_modules/@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "dependencies": { + "@jest/schemas": "^29.4.0", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", - "@types/yargs": "^16.0.0", + "@types/yargs": "^17.0.8", "chalk": "^4.0.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-config/node_modules/@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "dependencies": { "@types/yargs-parser": "*" @@ -12413,10 +13240,68 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/jest-config/node_modules/babel-jest": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.4.1.tgz", + "integrity": "sha512-xBZa/pLSsF/1sNpkgsiT3CmY7zV1kAsZ9OxxtrFqYucnOuRftXAfcJqcDVyOPeN4lttWTwhLdu0T9f8uvoPEUg==", + "dev": true, + "dependencies": { + "@jest/transform": "^29.4.1", + "@types/babel__core": "^7.1.14", + "babel-plugin-istanbul": "^6.1.1", + "babel-preset-jest": "^29.4.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "slash": "^3.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.8.0" + } + }, + "node_modules/jest-config/node_modules/babel-plugin-jest-hoist": { + "version": "29.4.0", + "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.4.0.tgz", + "integrity": "sha512-a/sZRLQJEmsmejQ2rPEUe35nO1+C9dc9O1gplH1SXmJxveQSRUYdBk8yGZG/VOUuZs1u2aHZJusEGoRMbhhwCg==", + "dev": true, + "dependencies": { + "@babel/template": "^7.3.3", + "@babel/types": "^7.3.3", + "@types/babel__core": "^7.1.14", + "@types/babel__traverse": "^7.0.6" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-config/node_modules/babel-preset-jest": { + "version": "29.4.0", + "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.4.0.tgz", + "integrity": "sha512-fUB9vZflUSM3dO/6M2TCAepTzvA4VkOvl67PjErcrQMGt9Eve7uazaeyCZ2th3UtI7ljpiBJES0F7A1vBRsLZA==", + "dev": true, + "dependencies": { + "babel-plugin-jest-hoist": "^29.4.0", + "babel-preset-current-node-syntax": "^1.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/jest-config/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true + }, "node_modules/jest-config/node_modules/deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.0.tgz", + "integrity": "sha512-z2wJZXrmeHdvYJp/Ux55wIjqo81G5Bp4c+oELTW+7ar6SogWHajt5a9gO3s3IDaGSAXjDk0vlQKN3rms8ab3og==", "dev": true, "engines": { "node": ">=0.10.0" @@ -12442,25 +13327,168 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/jest-config/node_modules/jest-get-type": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.2.0.tgz", + "integrity": "sha512-uXNJlg8hKFEnDgFsrCjznB+sTxdkuqiCL6zMgA75qEbAJjJYTs9XPrvDctrEig2GDow22T/LvHgO57iJhXB/UA==", + "dev": true, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-config/node_modules/jest-haste-map": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.4.1.tgz", + "integrity": "sha512-imTjcgfVVTvg02khXL11NNLTx9ZaofbAWhilrMg/G8dIkp+HYCswhxf0xxJwBkfhWb3e8dwbjuWburvxmcr58w==", + "dev": true, + "dependencies": { + "@jest/types": "^29.4.1", + "@types/graceful-fs": "^4.1.3", + "@types/node": "*", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "graceful-fs": "^4.2.9", + "jest-regex-util": "^29.2.0", + "jest-util": "^29.4.1", + "jest-worker": "^29.4.1", + "micromatch": "^4.0.4", + "walker": "^1.0.8" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "optionalDependencies": { + "fsevents": "^2.3.2" + } + }, + "node_modules/jest-config/node_modules/jest-regex-util": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.2.0.tgz", + "integrity": "sha512-6yXn0kg2JXzH30cr2NlThF+70iuO/3irbaB4mh5WyqNIvLLP+B6sFdluO1/1RJmslyh/f9osnefECflHvTbwVA==", + "dev": true, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-config/node_modules/jest-resolve": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.4.1.tgz", + "integrity": "sha512-j/ZFNV2lm9IJ2wmlq1uYK0Y/1PiyDq9g4HEGsNTNr3viRbJdV+8Lf1SXIiLZXFvyiisu0qUyIXGBnw+OKWkJwQ==", + "dev": true, + "dependencies": { + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.4.1", + "jest-pnp-resolver": "^1.2.2", + "jest-util": "^29.4.1", + "jest-validate": "^29.4.1", + "resolve": "^1.20.0", + "resolve.exports": "^2.0.0", + "slash": "^3.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-config/node_modules/jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", + "dev": true, + "dependencies": { + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-config/node_modules/jest-validate": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.4.1.tgz", + "integrity": "sha512-qNZXcZQdIQx4SfUB/atWnI4/I2HUvhz8ajOSYUu40CSmf9U5emil8EDHgE7M+3j9/pavtk3knlZBDsgFvv/SWw==", + "dev": true, + "dependencies": { + "@jest/types": "^29.4.1", + "camelcase": "^6.2.0", + "chalk": "^4.0.0", + "jest-get-type": "^29.2.0", + "leven": "^3.1.0", + "pretty-format": "^29.4.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-config/node_modules/jest-worker": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.4.1.tgz", + "integrity": "sha512-O9doU/S1EBe+yp/mstQ0VpPwpv0Clgn68TkNwGxL6/usX/KUW9Arnn4ag8C3jc6qHcXznhsT5Na1liYzAsuAbQ==", + "dev": true, + "dependencies": { + "@types/node": "*", + "jest-util": "^29.4.1", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, "node_modules/jest-config/node_modules/pretty-format": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", - "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.4.1.tgz", + "integrity": "sha512-dt/Z761JUVsrIKaY215o1xQJBGlSmTx/h4cSqXqjHLnU1+Kt+mavVE7UgqJJO5ukx5HjSswHfmXz4LjS2oIJfg==", "dev": true, "dependencies": { - "ansi-regex": "^5.0.1", + "@jest/schemas": "^29.4.0", "ansi-styles": "^5.0.0", - "react-is": "^17.0.1" + "react-is": "^18.0.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-config/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true + "node_modules/jest-config/node_modules/resolve.exports": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.0.tgz", + "integrity": "sha512-6K/gDlqgQscOlg9fSRpWstA8sYe8rbELsSTNpx+3kTrsVCzvSl0zIvRErM7fdl9ERWDsKnrLnwB+Ne89918XOg==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/jest-config/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/jest-config/node_modules/write-file-atomic": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.0.tgz", + "integrity": "sha512-R7NYMnHSlV42K54lwY9lvW6MnSm1HSJqZL3xiSgi9E7//FYaI74r2G0rd+/X6VAMkHEdzxQaU5HUOXWUz5kA/w==", + "dev": true, + "dependencies": { + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.7" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } }, "node_modules/jest-diff": { "version": "27.5.1", @@ -12510,53 +13538,54 @@ "dev": true }, "node_modules/jest-docblock": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-27.5.1.tgz", - "integrity": "sha512-rl7hlABeTsRYxKiUfpHrQrG4e2obOiTQWfMEH3PxPjOtdsfLQO4ReWSZaQ7DETm4xu07rl4q/h4zcKXyU0/OzQ==", + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.2.0.tgz", + "integrity": "sha512-bkxUsxTgWQGbXV5IENmfiIuqZhJcyvF7tU4zJ/7ioTutdz4ToB5Yx6JOFBpgI+TphRY4lhOyCWGNH/QFQh5T6A==", "dev": true, "dependencies": { "detect-newline": "^3.0.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-each": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-27.5.1.tgz", - "integrity": "sha512-1Ff6p+FbhT/bXQnEouYy00bkNSY7OUpfIcmdl8vZ31A1UUaurOLPA8a8BbJOF2RDUElwJhmeaV7LnagI+5UwNQ==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-29.4.1.tgz", + "integrity": "sha512-QlYFiX3llJMWUV0BtWht/esGEz9w+0i7BHwODKCze7YzZzizgExB9MOfiivF/vVT0GSQ8wXLhvHXh3x2fVD4QQ==", "dev": true, "dependencies": { - "@jest/types": "^27.5.1", + "@jest/types": "^29.4.1", "chalk": "^4.0.0", - "jest-get-type": "^27.5.1", - "jest-util": "^27.5.1", - "pretty-format": "^27.5.1" + "jest-get-type": "^29.2.0", + "jest-util": "^29.4.1", + "pretty-format": "^29.4.1" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-each/node_modules/@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "dependencies": { + "@jest/schemas": "^29.4.0", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", - "@types/yargs": "^16.0.0", + "@types/yargs": "^17.0.8", "chalk": "^4.0.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-each/node_modules/@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "dependencies": { "@types/yargs-parser": "*" @@ -12574,26 +13603,46 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/jest-each/node_modules/jest-get-type": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.2.0.tgz", + "integrity": "sha512-uXNJlg8hKFEnDgFsrCjznB+sTxdkuqiCL6zMgA75qEbAJjJYTs9XPrvDctrEig2GDow22T/LvHgO57iJhXB/UA==", + "dev": true, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-each/node_modules/jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", + "dev": true, + "dependencies": { + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, "node_modules/jest-each/node_modules/pretty-format": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", - "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.4.1.tgz", + "integrity": "sha512-dt/Z761JUVsrIKaY215o1xQJBGlSmTx/h4cSqXqjHLnU1+Kt+mavVE7UgqJJO5ukx5HjSswHfmXz4LjS2oIJfg==", "dev": true, "dependencies": { - "ansi-regex": "^5.0.1", + "@jest/schemas": "^29.4.0", "ansi-styles": "^5.0.0", - "react-is": "^17.0.1" + "react-is": "^18.0.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-each/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "node_modules/jest-environment-jsdom": { "version": "27.5.1", "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-27.5.1.tgz", @@ -12612,6 +13661,38 @@ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, + "node_modules/jest-environment-jsdom/node_modules/@jest/environment": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-27.5.1.tgz", + "integrity": "sha512-/WQjhPJe3/ghaol/4Bq480JKXV/Rfw8nQdN7f41fM8VDHLcxKXou6QyXAh3EFr9/bVG3x74z1NWDkP87EiY8gA==", + "dev": true, + "dependencies": { + "@jest/fake-timers": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "jest-mock": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/jest-environment-jsdom/node_modules/@jest/fake-timers": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-27.5.1.tgz", + "integrity": "sha512-/aPowoolwa07k7/oM3aASneNeBGCmGQsc3ugN4u6s4C/+s5M64MFo/+djTdiwcbQlRfFElGuDXWzaWj6QgKObQ==", + "dev": true, + "dependencies": { + "@jest/types": "^27.5.1", + "@sinonjs/fake-timers": "^8.0.1", + "@types/node": "*", + "jest-message-util": "^27.5.1", + "jest-mock": "^27.5.1", + "jest-util": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, "node_modules/jest-environment-jsdom/node_modules/@jest/types": { "version": "27.5.1", "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", @@ -12628,6 +13709,24 @@ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, + "node_modules/jest-environment-jsdom/node_modules/@sinonjs/commons": { + "version": "1.8.6", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.6.tgz", + "integrity": "sha512-Ky+XkAkqPZSm3NLBeUng77EBQl3cmeJhITaGHdYH8kjVB+aun3S4XBRti2zt17mtt0mIUDiNxYeoJm6drVvBJQ==", + "dev": true, + "dependencies": { + "type-detect": "4.0.8" + } + }, + "node_modules/jest-environment-jsdom/node_modules/@sinonjs/fake-timers": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-8.1.0.tgz", + "integrity": "sha512-OAPJUAtgeINhh/TAlUID4QTs53Njm7xzddaVlEs/SXwgtiD1tW22zAB/W1wdqfrpmikgaWQ9Fw6Ws+hsiRm5Vg==", + "dev": true, + "dependencies": { + "@sinonjs/commons": "^1.7.0" + } + }, "node_modules/jest-environment-jsdom/node_modules/@types/yargs": { "version": "16.0.5", "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", @@ -12637,48 +13736,131 @@ "@types/yargs-parser": "*" } }, - "node_modules/jest-environment-node": { + "node_modules/jest-environment-jsdom/node_modules/ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-environment-jsdom/node_modules/jest-message-util": { "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-27.5.1.tgz", - "integrity": "sha512-Jt4ZUnxdOsTGwSRAfKEnE6BcwsSPNOijjwifq5sDFSA2kesnXTvNqKHYgM0hDq3549Uf/KzdXNYn4wMZJPlFLw==", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-27.5.1.tgz", + "integrity": "sha512-rMyFe1+jnyAAf+NHwTclDz0eAaLkVDdKVHHBFWsBWHnnh5YeJMNWWsv7AbFYXfK3oTqvL7VTWkhNLu1jX24D+g==", "dev": true, "dependencies": { - "@jest/environment": "^27.5.1", - "@jest/fake-timers": "^27.5.1", + "@babel/code-frame": "^7.12.13", "@jest/types": "^27.5.1", - "@types/node": "*", - "jest-mock": "^27.5.1", - "jest-util": "^27.5.1" + "@types/stack-utils": "^2.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "micromatch": "^4.0.4", + "pretty-format": "^27.5.1", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" }, "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/jest-environment-node/node_modules/@jest/types": { + "node_modules/jest-environment-jsdom/node_modules/jest-mock": { "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-27.5.1.tgz", + "integrity": "sha512-K4jKbY1d4ENhbrG2zuPWaQBvDly+iZ2yAW+T1fATN78hc0sInwn7wZB8XtlNnvHug5RMwV897Xm4LqmPM4e2Og==", + "dev": true, + "dependencies": { + "@jest/types": "^27.5.1", + "@types/node": "*" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/jest-environment-jsdom/node_modules/pretty-format": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", + "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1", + "ansi-styles": "^5.0.0", + "react-is": "^17.0.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/jest-environment-jsdom/node_modules/react-is": { + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", + "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", + "dev": true + }, + "node_modules/jest-environment-node": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.4.1.tgz", + "integrity": "sha512-x/H2kdVgxSkxWAIlIh9MfMuBa0hZySmfsC5lCsWmWr6tZySP44ediRKDUiNggX/eHLH7Cd5ZN10Rw+XF5tXsqg==", "dev": true, "dependencies": { + "@jest/environment": "^29.4.1", + "@jest/fake-timers": "^29.4.1", + "@jest/types": "^29.4.1", + "@types/node": "*", + "jest-mock": "^29.4.1", + "jest-util": "^29.4.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-environment-node/node_modules/@jest/types": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", + "dev": true, + "dependencies": { + "@jest/schemas": "^29.4.0", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", - "@types/yargs": "^16.0.0", + "@types/yargs": "^17.0.8", "chalk": "^4.0.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-environment-node/node_modules/@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "dependencies": { "@types/yargs-parser": "*" } }, + "node_modules/jest-environment-node/node_modules/jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", + "dev": true, + "dependencies": { + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, "node_modules/jest-fetch-mock": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/jest-fetch-mock/-/jest-fetch-mock-3.0.3.tgz", @@ -12777,176 +13959,99 @@ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/jest-jasmine2/node_modules/@jest/types": { + "node_modules/jest-jasmine2/node_modules/@jest/console": { "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-27.5.1.tgz", + "integrity": "sha512-kZ/tNpS3NXn0mlXXXPNuDZnb4c0oZ20r4K5eemM2k30ZC3G0T02nXUvyhf5YdbXWHPEJLc9qGLxEZ216MdL+Zg==", "dev": true, "dependencies": { - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", + "@jest/types": "^27.5.1", "@types/node": "*", - "@types/yargs": "^16.0.0", - "chalk": "^4.0.0" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, - "node_modules/jest-jasmine2/node_modules/@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", - "dev": true, - "dependencies": { - "@types/yargs-parser": "*" - } - }, - "node_modules/jest-jasmine2/node_modules/ansi-styles": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/jest-jasmine2/node_modules/pretty-format": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", - "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", - "dev": true, - "dependencies": { - "ansi-regex": "^5.0.1", - "ansi-styles": "^5.0.0", - "react-is": "^17.0.1" + "chalk": "^4.0.0", + "jest-message-util": "^27.5.1", + "jest-util": "^27.5.1", + "slash": "^3.0.0" }, "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/jest-jasmine2/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, - "node_modules/jest-leak-detector": { + "node_modules/jest-jasmine2/node_modules/@jest/environment": { "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-27.5.1.tgz", - "integrity": "sha512-POXfWAMvfU6WMUXftV4HolnJfnPOGEu10fscNCA76KBpRRhcMN2c8d3iT2pxQS3HLbA+5X4sOUPzYO2NUyIlHQ==", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-27.5.1.tgz", + "integrity": "sha512-/WQjhPJe3/ghaol/4Bq480JKXV/Rfw8nQdN7f41fM8VDHLcxKXou6QyXAh3EFr9/bVG3x74z1NWDkP87EiY8gA==", "dev": true, "dependencies": { - "jest-get-type": "^27.5.1", - "pretty-format": "^27.5.1" + "@jest/fake-timers": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "jest-mock": "^27.5.1" }, "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/jest-leak-detector/node_modules/ansi-styles": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/jest-leak-detector/node_modules/pretty-format": { + "node_modules/jest-jasmine2/node_modules/@jest/fake-timers": { "version": "27.5.1", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", - "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-27.5.1.tgz", + "integrity": "sha512-/aPowoolwa07k7/oM3aASneNeBGCmGQsc3ugN4u6s4C/+s5M64MFo/+djTdiwcbQlRfFElGuDXWzaWj6QgKObQ==", "dev": true, "dependencies": { - "ansi-regex": "^5.0.1", - "ansi-styles": "^5.0.0", - "react-is": "^17.0.1" + "@jest/types": "^27.5.1", + "@sinonjs/fake-timers": "^8.0.1", + "@types/node": "*", + "jest-message-util": "^27.5.1", + "jest-mock": "^27.5.1", + "jest-util": "^27.5.1" }, "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/jest-leak-detector/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, - "node_modules/jest-matcher-utils": { + "node_modules/jest-jasmine2/node_modules/@jest/globals": { "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-27.5.1.tgz", - "integrity": "sha512-z2uTx/T6LBaCoNWNFWwChLBKYxTMcGBRjAt+2SbP929/Fflb9aa5LGma654Rz8z9HLxsrUaYzxE9T/EFIL/PAw==", + "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-27.5.1.tgz", + "integrity": "sha512-ZEJNB41OBQQgGzgyInAv0UUfDDj3upmHydjieSxFvTRuZElrx7tXg/uVQ5hYVEwiXs3+aMsAeEc9X7xiSKCm4Q==", "dev": true, "dependencies": { - "chalk": "^4.0.0", - "jest-diff": "^27.5.1", - "jest-get-type": "^27.5.1", - "pretty-format": "^27.5.1" + "@jest/environment": "^27.5.1", + "@jest/types": "^27.5.1", + "expect": "^27.5.1" }, "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/jest-matcher-utils/node_modules/ansi-styles": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/jest-matcher-utils/node_modules/pretty-format": { + "node_modules/jest-jasmine2/node_modules/@jest/source-map": { "version": "27.5.1", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", - "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-27.5.1.tgz", + "integrity": "sha512-y9NIHUYF3PJRlHk98NdC/N1gl88BL08aQQgu4k4ZopQkCw9t9cV8mtl3TV8b/YCB8XaVTFrmUTAJvjsntDireg==", "dev": true, "dependencies": { - "ansi-regex": "^5.0.1", - "ansi-styles": "^5.0.0", - "react-is": "^17.0.1" + "callsites": "^3.0.0", + "graceful-fs": "^4.2.9", + "source-map": "^0.6.0" }, "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/jest-matcher-utils/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, - "node_modules/jest-message-util": { + "node_modules/jest-jasmine2/node_modules/@jest/test-result": { "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-27.5.1.tgz", - "integrity": "sha512-rMyFe1+jnyAAf+NHwTclDz0eAaLkVDdKVHHBFWsBWHnnh5YeJMNWWsv7AbFYXfK3oTqvL7VTWkhNLu1jX24D+g==", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-27.5.1.tgz", + "integrity": "sha512-EW35l2RYFUcUQxFJz5Cv5MTOxlJIQs4I7gxzi2zVU7PJhOwfYq1MdC5nhSmYjX1gmMmLPvB3sIaC+BkcHRBfag==", "dev": true, "dependencies": { - "@babel/code-frame": "^7.12.13", + "@jest/console": "^27.5.1", "@jest/types": "^27.5.1", - "@types/stack-utils": "^2.0.0", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "micromatch": "^4.0.4", - "pretty-format": "^27.5.1", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" + "@types/istanbul-lib-coverage": "^2.0.0", + "collect-v8-coverage": "^1.0.0" }, "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/jest-message-util/node_modules/@jest/types": { + "node_modules/jest-jasmine2/node_modules/@jest/types": { "version": "27.5.1", "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", @@ -12962,7 +14067,25 @@ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/jest-message-util/node_modules/@types/yargs": { + "node_modules/jest-jasmine2/node_modules/@sinonjs/commons": { + "version": "1.8.6", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.6.tgz", + "integrity": "sha512-Ky+XkAkqPZSm3NLBeUng77EBQl3cmeJhITaGHdYH8kjVB+aun3S4XBRti2zt17mtt0mIUDiNxYeoJm6drVvBJQ==", + "dev": true, + "dependencies": { + "type-detect": "4.0.8" + } + }, + "node_modules/jest-jasmine2/node_modules/@sinonjs/fake-timers": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-8.1.0.tgz", + "integrity": "sha512-OAPJUAtgeINhh/TAlUID4QTs53Njm7xzddaVlEs/SXwgtiD1tW22zAB/W1wdqfrpmikgaWQ9Fw6Ws+hsiRm5Vg==", + "dev": true, + "dependencies": { + "@sinonjs/commons": "^1.7.0" + } + }, + "node_modules/jest-jasmine2/node_modules/@types/yargs": { "version": "16.0.5", "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", @@ -12971,7 +14094,7 @@ "@types/yargs-parser": "*" } }, - "node_modules/jest-message-util/node_modules/ansi-styles": { + "node_modules/jest-jasmine2/node_modules/ansi-styles": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", @@ -12983,233 +14106,135 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/jest-message-util/node_modules/pretty-format": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", - "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", + "node_modules/jest-jasmine2/node_modules/execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", "dev": true, "dependencies": { - "ansi-regex": "^5.0.1", - "ansi-styles": "^5.0.0", - "react-is": "^17.0.1" + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" } }, - "node_modules/jest-message-util/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, - "node_modules/jest-mock": { + "node_modules/jest-jasmine2/node_modules/expect": { "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-27.5.1.tgz", - "integrity": "sha512-K4jKbY1d4ENhbrG2zuPWaQBvDly+iZ2yAW+T1fATN78hc0sInwn7wZB8XtlNnvHug5RMwV897Xm4LqmPM4e2Og==", + "resolved": "https://registry.npmjs.org/expect/-/expect-27.5.1.tgz", + "integrity": "sha512-E1q5hSUG2AmYQwQJ041nvgpkODHQvB+RKlB4IYdru6uJsyFTRyZAP463M+1lINorwbqAmUggi6+WwkD8lCS/Dw==", "dev": true, "dependencies": { "@jest/types": "^27.5.1", - "@types/node": "*" + "jest-get-type": "^27.5.1", + "jest-matcher-utils": "^27.5.1", + "jest-message-util": "^27.5.1" }, "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/jest-mock/node_modules/@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "node_modules/jest-jasmine2/node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", "dev": true, - "dependencies": { - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^16.0.0", - "chalk": "^4.0.0" - }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, - "node_modules/jest-mock/node_modules/@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", - "dev": true, - "dependencies": { - "@types/yargs-parser": "*" - } - }, - "node_modules/jest-pnp-resolver": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz", - "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==", - "dev": true, - "engines": { - "node": ">=6" - }, - "peerDependencies": { - "jest-resolve": "*" + "node": ">=10" }, - "peerDependenciesMeta": { - "jest-resolve": { - "optional": true - } - } - }, - "node_modules/jest-regex-util": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-27.5.1.tgz", - "integrity": "sha512-4bfKq2zie+x16okqDXjXn9ql2B0dScQu+vcwe4TvFVhkVyuWLqpZrZtXxLLWoXYgn0E87I6r6GRYHF7wFZBUvg==", - "dev": true, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/jest-resolve": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-27.5.1.tgz", - "integrity": "sha512-FFDy8/9E6CV83IMbDpcjOhumAQPDyETnU2KZ1O98DwTnz8AOBsW/Xv3GySr1mOZdItLR+zDZ7I/UdTFbgSOVCw==", + "node_modules/jest-jasmine2/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "dev": true, "dependencies": { - "@jest/types": "^27.5.1", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^27.5.1", - "jest-pnp-resolver": "^1.2.2", - "jest-util": "^27.5.1", - "jest-validate": "^27.5.1", - "resolve": "^1.20.0", - "resolve.exports": "^1.1.0", - "slash": "^3.0.0" + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, - "node_modules/jest-resolve-dependencies": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-27.5.1.tgz", - "integrity": "sha512-QQOOdY4PE39iawDn5rzbIePNigfe5B9Z91GDD1ae/xNDlu9kaat8QQ5EKnNmVWPV54hUdxCVwwj6YMgR2O7IOg==", - "dev": true, - "dependencies": { - "@jest/types": "^27.5.1", - "jest-regex-util": "^27.5.1", - "jest-snapshot": "^27.5.1" + "node": "*" }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/jest-resolve-dependencies/node_modules/@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "node_modules/jest-jasmine2/node_modules/human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", "dev": true, - "dependencies": { - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^16.0.0", - "chalk": "^4.0.0" - }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, - "node_modules/jest-resolve-dependencies/node_modules/@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", - "dev": true, - "dependencies": { - "@types/yargs-parser": "*" + "node": ">=10.17.0" } }, - "node_modules/jest-resolve/node_modules/@jest/types": { + "node_modules/jest-jasmine2/node_modules/jest-each": { "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-27.5.1.tgz", + "integrity": "sha512-1Ff6p+FbhT/bXQnEouYy00bkNSY7OUpfIcmdl8vZ31A1UUaurOLPA8a8BbJOF2RDUElwJhmeaV7LnagI+5UwNQ==", "dev": true, "dependencies": { - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^16.0.0", - "chalk": "^4.0.0" + "@jest/types": "^27.5.1", + "chalk": "^4.0.0", + "jest-get-type": "^27.5.1", + "jest-util": "^27.5.1", + "pretty-format": "^27.5.1" }, "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/jest-resolve/node_modules/@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", - "dev": true, - "dependencies": { - "@types/yargs-parser": "*" - } - }, - "node_modules/jest-runner": { + "node_modules/jest-jasmine2/node_modules/jest-message-util": { "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-27.5.1.tgz", - "integrity": "sha512-g4NPsM4mFCOwFKXO4p/H/kWGdJp9V8kURY2lX8Me2drgXqG7rrZAx5kv+5H7wtt/cdFIjhqYx1HrlqWHaOvDaQ==", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-27.5.1.tgz", + "integrity": "sha512-rMyFe1+jnyAAf+NHwTclDz0eAaLkVDdKVHHBFWsBWHnnh5YeJMNWWsv7AbFYXfK3oTqvL7VTWkhNLu1jX24D+g==", "dev": true, "dependencies": { - "@jest/console": "^27.5.1", - "@jest/environment": "^27.5.1", - "@jest/test-result": "^27.5.1", - "@jest/transform": "^27.5.1", + "@babel/code-frame": "^7.12.13", "@jest/types": "^27.5.1", - "@types/node": "*", + "@types/stack-utils": "^2.0.0", "chalk": "^4.0.0", - "emittery": "^0.8.1", "graceful-fs": "^4.2.9", - "jest-docblock": "^27.5.1", - "jest-environment-jsdom": "^27.5.1", - "jest-environment-node": "^27.5.1", - "jest-haste-map": "^27.5.1", - "jest-leak-detector": "^27.5.1", - "jest-message-util": "^27.5.1", - "jest-resolve": "^27.5.1", - "jest-runtime": "^27.5.1", - "jest-util": "^27.5.1", - "jest-worker": "^27.5.1", - "source-map-support": "^0.5.6", - "throat": "^6.0.1" + "micromatch": "^4.0.4", + "pretty-format": "^27.5.1", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" }, "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/jest-runner/node_modules/@jest/types": { + "node_modules/jest-jasmine2/node_modules/jest-mock": { "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-27.5.1.tgz", + "integrity": "sha512-K4jKbY1d4ENhbrG2zuPWaQBvDly+iZ2yAW+T1fATN78hc0sInwn7wZB8XtlNnvHug5RMwV897Xm4LqmPM4e2Og==", "dev": true, "dependencies": { - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^16.0.0", - "chalk": "^4.0.0" + "@jest/types": "^27.5.1", + "@types/node": "*" }, "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/jest-runner/node_modules/@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", - "dev": true, - "dependencies": { - "@types/yargs-parser": "*" - } - }, - "node_modules/jest-runtime": { + "node_modules/jest-jasmine2/node_modules/jest-runtime": { "version": "27.5.1", "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-27.5.1.tgz", "integrity": "sha512-o7gxw3Gf+H2IGt8fv0RiyE1+r83FJBRruoA+FXrlHw6xEyBsU8ugA6IPfTdVyA0w8HClpbK+DGJxH59UrNMx8A==", @@ -13242,109 +14267,7 @@ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/jest-runtime/node_modules/@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", - "dev": true, - "dependencies": { - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^16.0.0", - "chalk": "^4.0.0" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, - "node_modules/jest-runtime/node_modules/@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", - "dev": true, - "dependencies": { - "@types/yargs-parser": "*" - } - }, - "node_modules/jest-runtime/node_modules/execa": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", - "dev": true, - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/jest-runtime/node_modules/get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/jest-runtime/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/jest-runtime/node_modules/human-signals": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", - "dev": true, - "engines": { - "node": ">=10.17.0" - } - }, - "node_modules/jest-serializer": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-27.5.1.tgz", - "integrity": "sha512-jZCyo6iIxO1aqUxpuBlwTDMkzOAJS4a3eYz3YzgxxVQFwLeSA7Jfq5cbqCY+JLvTDrWirgusI/0KwxKMgrdf7w==", - "dev": true, - "dependencies": { - "@types/node": "*", - "graceful-fs": "^4.2.9" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, - "node_modules/jest-snapshot": { + "node_modules/jest-jasmine2/node_modules/jest-snapshot": { "version": "27.5.1", "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-27.5.1.tgz", "integrity": "sha512-yYykXI5a0I31xX67mgeLw1DZ0bJB+gpq5IpSuCAoyDi0+BhgU/RIrL+RTzDmkNTchvDFWKP8lp+w/42Z3us5sA==", @@ -13377,44 +14300,7 @@ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/jest-snapshot/node_modules/@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", - "dev": true, - "dependencies": { - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^16.0.0", - "chalk": "^4.0.0" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, - "node_modules/jest-snapshot/node_modules/@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", - "dev": true, - "dependencies": { - "@types/yargs-parser": "*" - } - }, - "node_modules/jest-snapshot/node_modules/ansi-styles": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/jest-snapshot/node_modules/lru-cache": { + "node_modules/jest-jasmine2/node_modules/lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", @@ -13426,7 +14312,7 @@ "node": ">=10" } }, - "node_modules/jest-snapshot/node_modules/pretty-format": { + "node_modules/jest-jasmine2/node_modules/pretty-format": { "version": "27.5.1", "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", @@ -13440,13 +14326,13 @@ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/jest-snapshot/node_modules/react-is": { + "node_modules/jest-jasmine2/node_modules/react-is": { "version": "17.0.2", "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", "dev": true }, - "node_modules/jest-snapshot/node_modules/semver": { + "node_modules/jest-jasmine2/node_modules/semver": { "version": "7.3.8", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", @@ -13461,124 +14347,85 @@ "node": ">=10" } }, - "node_modules/jest-snapshot/node_modules/yallist": { + "node_modules/jest-jasmine2/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/jest-jasmine2/node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "dev": true }, - "node_modules/jest-sonar-reporter": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/jest-sonar-reporter/-/jest-sonar-reporter-2.0.0.tgz", - "integrity": "sha512-ZervDCgEX5gdUbdtWsjdipLN3bKJwpxbvhkYNXTAYvAckCihobSLr9OT/IuyNIRT1EZMDDwR6DroWtrq+IL64w==", + "node_modules/jest-leak-detector": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.4.1.tgz", + "integrity": "sha512-akpZv7TPyGMnH2RimOCgy+hPmWZf55EyFUvymQ4LMsQP8xSPlZumCPtXGoDhFNhUE2039RApZkTQDKU79p/FiQ==", "dev": true, "dependencies": { - "xml": "^1.0.1" + "jest-get-type": "^29.2.0", + "pretty-format": "^29.4.1" }, "engines": { - "node": ">=8.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-styled-components": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/jest-styled-components/-/jest-styled-components-7.1.1.tgz", - "integrity": "sha512-OUq31R5CivBF8oy81dnegNQrRW13TugMol/Dz6ZnFfEyo03exLASod7YGwyHGuayYlKmCstPtz0RQ1+NrAbIIA==", + "node_modules/jest-leak-detector/node_modules/ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true, - "dependencies": { - "@adobe/css-tools": "^4.0.1" - }, "engines": { - "node": ">= 12" + "node": ">=10" }, - "peerDependencies": { - "styled-components": ">= 5" + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/jest-util": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-27.5.1.tgz", - "integrity": "sha512-Kv2o/8jNvX1MQ0KGtw480E/w4fBCDOnH6+6DmeKi6LZUIlKA5kwY0YNdlzaWTiVgxqAqik11QyxDOKk543aKXw==", + "node_modules/jest-leak-detector/node_modules/jest-get-type": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.2.0.tgz", + "integrity": "sha512-uXNJlg8hKFEnDgFsrCjznB+sTxdkuqiCL6zMgA75qEbAJjJYTs9XPrvDctrEig2GDow22T/LvHgO57iJhXB/UA==", "dev": true, - "dependencies": { - "@jest/types": "^27.5.1", - "@types/node": "*", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "graceful-fs": "^4.2.9", - "picomatch": "^2.2.3" - }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-util/node_modules/@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "node_modules/jest-leak-detector/node_modules/pretty-format": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.4.1.tgz", + "integrity": "sha512-dt/Z761JUVsrIKaY215o1xQJBGlSmTx/h4cSqXqjHLnU1+Kt+mavVE7UgqJJO5ukx5HjSswHfmXz4LjS2oIJfg==", "dev": true, "dependencies": { - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^16.0.0", - "chalk": "^4.0.0" + "@jest/schemas": "^29.4.0", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, - "node_modules/jest-util/node_modules/@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", - "dev": true, - "dependencies": { - "@types/yargs-parser": "*" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-validate": { + "node_modules/jest-matcher-utils": { "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-27.5.1.tgz", - "integrity": "sha512-thkNli0LYTmOI1tDB3FI1S1RTp/Bqyd9pTarJwL87OIBFuqEb5Apv5EaApEudYg4g86e3CT6kM0RowkhtEnCBQ==", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-27.5.1.tgz", + "integrity": "sha512-z2uTx/T6LBaCoNWNFWwChLBKYxTMcGBRjAt+2SbP929/Fflb9aa5LGma654Rz8z9HLxsrUaYzxE9T/EFIL/PAw==", "dev": true, "dependencies": { - "@jest/types": "^27.5.1", - "camelcase": "^6.2.0", "chalk": "^4.0.0", + "jest-diff": "^27.5.1", "jest-get-type": "^27.5.1", - "leven": "^3.1.0", "pretty-format": "^27.5.1" }, "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/jest-validate/node_modules/@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", - "dev": true, - "dependencies": { - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^16.0.0", - "chalk": "^4.0.0" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, - "node_modules/jest-validate/node_modules/@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", - "dev": true, - "dependencies": { - "@types/yargs-parser": "*" - } - }, - "node_modules/jest-validate/node_modules/ansi-styles": { + "node_modules/jest-matcher-utils/node_modules/ansi-styles": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", @@ -13590,7 +14437,7 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/jest-validate/node_modules/pretty-format": { + "node_modules/jest-matcher-utils/node_modules/pretty-format": { "version": "27.5.1", "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", @@ -13604,81 +14451,105 @@ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/jest-validate/node_modules/react-is": { + "node_modules/jest-matcher-utils/node_modules/react-is": { "version": "17.0.2", "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", "dev": true }, - "node_modules/jest-watch-typeahead": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/jest-watch-typeahead/-/jest-watch-typeahead-1.1.0.tgz", - "integrity": "sha512-Va5nLSJTN7YFtC2jd+7wsoe1pNe5K4ShLux/E5iHEwlB9AxaxmggY7to9KUqKojhaJw3aXqt5WAb4jGPOolpEw==", + "node_modules/jest-message-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.4.1.tgz", + "integrity": "sha512-H4/I0cXUaLeCw6FM+i4AwCnOwHRgitdaUFOdm49022YD5nfyr8C/DrbXOBEyJaj+w/y0gGJ57klssOaUiLLQGQ==", "dev": true, "dependencies": { - "ansi-escapes": "^4.3.1", + "@babel/code-frame": "^7.12.13", + "@jest/types": "^29.4.1", + "@types/stack-utils": "^2.0.0", "chalk": "^4.0.0", - "jest-regex-util": "^28.0.0", - "jest-watcher": "^28.0.0", - "slash": "^4.0.0", - "string-length": "^5.0.1", - "strip-ansi": "^7.0.1" + "graceful-fs": "^4.2.9", + "micromatch": "^4.0.4", + "pretty-format": "^29.4.1", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "jest": "^27.0.0 || ^28.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-watch-typeahead/node_modules/@jest/console": { - "version": "28.1.3", - "resolved": "https://registry.npmjs.org/@jest/console/-/console-28.1.3.tgz", - "integrity": "sha512-QPAkP5EwKdK/bxIr6C1I4Vs0rm2nHiANzj/Z5X2JQkrZo6IqvC4ldZ9K95tF0HdidhA8Bo6egxSzUFPYKcEXLw==", + "node_modules/jest-message-util/node_modules/@jest/types": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "dependencies": { - "@jest/types": "^28.1.3", + "@jest/schemas": "^29.4.0", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", "@types/node": "*", - "chalk": "^4.0.0", - "jest-message-util": "^28.1.3", - "jest-util": "^28.1.3", - "slash": "^3.0.0" + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-watch-typeahead/node_modules/@jest/console/node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "node_modules/jest-message-util/node_modules/@types/yargs": { + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", + "dev": true, + "dependencies": { + "@types/yargs-parser": "*" + } + }, + "node_modules/jest-message-util/node_modules/ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true, "engines": { - "node": ">=8" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/jest-watch-typeahead/node_modules/@jest/test-result": { - "version": "28.1.3", - "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-28.1.3.tgz", - "integrity": "sha512-kZAkxnSE+FqE8YjW8gNuoVkkC9I7S1qmenl8sGcDOLropASP+BkcGKwhXoyqQuGOGeYY0y/ixjrd/iERpEXHNg==", + "node_modules/jest-message-util/node_modules/pretty-format": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.4.1.tgz", + "integrity": "sha512-dt/Z761JUVsrIKaY215o1xQJBGlSmTx/h4cSqXqjHLnU1+Kt+mavVE7UgqJJO5ukx5HjSswHfmXz4LjS2oIJfg==", "dev": true, "dependencies": { - "@jest/console": "^28.1.3", - "@jest/types": "^28.1.3", - "@types/istanbul-lib-coverage": "^2.0.0", - "collect-v8-coverage": "^1.0.0" + "@jest/schemas": "^29.4.0", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-watch-typeahead/node_modules/@jest/types": { - "version": "28.1.3", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-28.1.3.tgz", - "integrity": "sha512-RyjiyMUZrKz/c+zlMFO1pm70DcIlST8AeWTkoUdZevew44wcNZQHsEVOiCVtgVnlFFD82FPaXycys58cf2muVQ==", + "node_modules/jest-mock": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.4.1.tgz", + "integrity": "sha512-MwA4hQ7zBOcgVCVnsM8TzaFLVUD/pFWTfbkY953Y81L5ret3GFRZtmPmRFAjKQSdCKoJvvqOu6Bvfpqlwwb0dQ==", "dev": true, "dependencies": { - "@jest/schemas": "^28.1.3", + "@jest/types": "^29.4.1", + "@types/node": "*", + "jest-util": "^29.4.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-mock/node_modules/@jest/types": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", + "dev": true, + "dependencies": { + "@jest/schemas": "^29.4.0", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", @@ -13686,1541 +14557,1752 @@ "chalk": "^4.0.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-watch-typeahead/node_modules/@types/yargs": { - "version": "17.0.20", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.20.tgz", - "integrity": "sha512-eknWrTHofQuPk2iuqDm1waA7V6xPlbgBoaaXEgYkClhLOnB0TtbW+srJaOToAgawPxPlHQzwypFA2bhZaUGP5A==", + "node_modules/jest-mock/node_modules/@types/yargs": { + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "dependencies": { "@types/yargs-parser": "*" } }, - "node_modules/jest-watch-typeahead/node_modules/ansi-styles": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "node_modules/jest-mock/node_modules/jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", "dev": true, + "dependencies": { + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + }, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-watch-typeahead/node_modules/emittery": { - "version": "0.10.2", - "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.10.2.tgz", - "integrity": "sha512-aITqOwnLanpHLNXZJENbOgjUBeHocD+xsSJmNrjovKBW5HbSpW3d1pEls7GFQPUWXiwG9+0P4GtHfEqC/4M0Iw==", + "node_modules/jest-pnp-resolver": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz", + "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==", "dev": true, "engines": { - "node": ">=12" + "node": ">=6" }, - "funding": { - "url": "https://github.com/sindresorhus/emittery?sponsor=1" + "peerDependencies": { + "jest-resolve": "*" + }, + "peerDependenciesMeta": { + "jest-resolve": { + "optional": true + } } }, - "node_modules/jest-watch-typeahead/node_modules/jest-message-util": { - "version": "28.1.3", - "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-28.1.3.tgz", - "integrity": "sha512-PFdn9Iewbt575zKPf1286Ht9EPoJmYT7P0kY+RibeYZ2XtOr53pDLEFoTWXbd1h4JiGiWpTBC84fc8xMXQMb7g==", + "node_modules/jest-regex-util": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-27.5.1.tgz", + "integrity": "sha512-4bfKq2zie+x16okqDXjXn9ql2B0dScQu+vcwe4TvFVhkVyuWLqpZrZtXxLLWoXYgn0E87I6r6GRYHF7wFZBUvg==", + "dev": true, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/jest-resolve": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-27.5.1.tgz", + "integrity": "sha512-FFDy8/9E6CV83IMbDpcjOhumAQPDyETnU2KZ1O98DwTnz8AOBsW/Xv3GySr1mOZdItLR+zDZ7I/UdTFbgSOVCw==", "dev": true, "dependencies": { - "@babel/code-frame": "^7.12.13", - "@jest/types": "^28.1.3", - "@types/stack-utils": "^2.0.0", + "@jest/types": "^27.5.1", "chalk": "^4.0.0", "graceful-fs": "^4.2.9", - "micromatch": "^4.0.4", - "pretty-format": "^28.1.3", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" + "jest-haste-map": "^27.5.1", + "jest-pnp-resolver": "^1.2.2", + "jest-util": "^27.5.1", + "jest-validate": "^27.5.1", + "resolve": "^1.20.0", + "resolve.exports": "^1.1.0", + "slash": "^3.0.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/jest-watch-typeahead/node_modules/jest-message-util/node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "node_modules/jest-resolve-dependencies": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.4.1.tgz", + "integrity": "sha512-Y3QG3M1ncAMxfjbYgtqNXC5B595zmB6e//p/qpA/58JkQXu/IpLDoLeOa8YoYfsSglBKQQzNUqtfGJJT/qLmJg==", "dev": true, + "dependencies": { + "jest-regex-util": "^29.2.0", + "jest-snapshot": "^29.4.1" + }, "engines": { - "node": ">=8" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-watch-typeahead/node_modules/jest-regex-util": { - "version": "28.0.2", - "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-28.0.2.tgz", - "integrity": "sha512-4s0IgyNIy0y9FK+cjoVYoxamT7Zeo7MhzqRGx7YDYmaQn1wucY9rotiGkBzzcMXTtjrCAP/f7f+E0F7+fxPNdw==", + "node_modules/jest-resolve-dependencies/node_modules/jest-regex-util": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.2.0.tgz", + "integrity": "sha512-6yXn0kg2JXzH30cr2NlThF+70iuO/3irbaB4mh5WyqNIvLLP+B6sFdluO1/1RJmslyh/f9osnefECflHvTbwVA==", "dev": true, "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-watch-typeahead/node_modules/jest-util": { - "version": "28.1.3", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-28.1.3.tgz", - "integrity": "sha512-XdqfpHwpcSRko/C35uLYFM2emRAltIIKZiJ9eAmhjsj0CqZMa0p1ib0R5fWIqGhn1a103DebTbpqIaP1qCQ6tQ==", + "node_modules/jest-resolve/node_modules/@jest/types": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", + "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", "dev": true, "dependencies": { - "@jest/types": "^28.1.3", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", "@types/node": "*", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "graceful-fs": "^4.2.9", - "picomatch": "^2.2.3" + "@types/yargs": "^16.0.0", + "chalk": "^4.0.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/jest-watch-typeahead/node_modules/jest-watcher": { - "version": "28.1.3", - "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-28.1.3.tgz", - "integrity": "sha512-t4qcqj9hze+jviFPUN3YAtAEeFnr/azITXQEMARf5cMwKY2SMBRnCQTXLixTl20OR6mLh9KLMrgVJgJISym+1g==", + "node_modules/jest-resolve/node_modules/@types/yargs": { + "version": "16.0.5", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", + "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", "dev": true, "dependencies": { - "@jest/test-result": "^28.1.3", - "@jest/types": "^28.1.3", - "@types/node": "*", - "ansi-escapes": "^4.2.1", - "chalk": "^4.0.0", - "emittery": "^0.10.2", - "jest-util": "^28.1.3", - "string-length": "^4.0.1" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "@types/yargs-parser": "*" } }, - "node_modules/jest-watch-typeahead/node_modules/jest-watcher/node_modules/string-length": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", - "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==", + "node_modules/jest-runner": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-29.4.1.tgz", + "integrity": "sha512-8d6XXXi7GtHmsHrnaqBKWxjKb166Eyj/ksSaUYdcBK09VbjPwIgWov1VwSmtupCIz8q1Xv4Qkzt/BTo3ZqiCeg==", "dev": true, "dependencies": { - "char-regex": "^1.0.2", - "strip-ansi": "^6.0.0" + "@jest/console": "^29.4.1", + "@jest/environment": "^29.4.1", + "@jest/test-result": "^29.4.1", + "@jest/transform": "^29.4.1", + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "emittery": "^0.13.1", + "graceful-fs": "^4.2.9", + "jest-docblock": "^29.2.0", + "jest-environment-node": "^29.4.1", + "jest-haste-map": "^29.4.1", + "jest-leak-detector": "^29.4.1", + "jest-message-util": "^29.4.1", + "jest-resolve": "^29.4.1", + "jest-runtime": "^29.4.1", + "jest-util": "^29.4.1", + "jest-watcher": "^29.4.1", + "jest-worker": "^29.4.1", + "p-limit": "^3.1.0", + "source-map-support": "0.5.13" }, "engines": { - "node": ">=10" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-watch-typeahead/node_modules/jest-watcher/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "node_modules/jest-runner/node_modules/@jest/transform": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.4.1.tgz", + "integrity": "sha512-5w6YJrVAtiAgr0phzKjYd83UPbCXsBRTeYI4BXokv9Er9CcrH9hfXL/crCvP2d2nGOcovPUnlYiLPFLZrkG5Hg==", "dev": true, "dependencies": { - "ansi-regex": "^5.0.1" + "@babel/core": "^7.11.6", + "@jest/types": "^29.4.1", + "@jridgewell/trace-mapping": "^0.3.15", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^2.0.0", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.4.1", + "jest-regex-util": "^29.2.0", + "jest-util": "^29.4.1", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "write-file-atomic": "^5.0.0" }, "engines": { - "node": ">=8" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-watch-typeahead/node_modules/pretty-format": { - "version": "28.1.3", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-28.1.3.tgz", - "integrity": "sha512-8gFb/To0OmxHR9+ZTb14Df2vNxdGCX8g1xWGUTqUw5TiZvcQf5sHKObd5UcPyLLyowNwDAMTF3XWOG1B6mxl1Q==", + "node_modules/jest-runner/node_modules/@jest/types": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "dependencies": { - "@jest/schemas": "^28.1.3", - "ansi-regex": "^5.0.1", - "ansi-styles": "^5.0.0", - "react-is": "^18.0.0" + "@jest/schemas": "^29.4.0", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-watch-typeahead/node_modules/slash": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz", - "integrity": "sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==", + "node_modules/jest-runner/node_modules/@types/yargs": { + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "dependencies": { + "@types/yargs-parser": "*" } }, - "node_modules/jest-watch-typeahead/node_modules/string-length": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/string-length/-/string-length-5.0.1.tgz", - "integrity": "sha512-9Ep08KAMUn0OadnVaBuRdE2l615CQ508kr0XMadjClfYpdCyvrbFp6Taebo8yyxokQ4viUd/xPPUA4FGgUa0ow==", + "node_modules/jest-runner/node_modules/ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true, - "dependencies": { - "char-regex": "^2.0.0", - "strip-ansi": "^7.0.1" - }, "engines": { - "node": ">=12.20" + "node": ">=10" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/jest-watch-typeahead/node_modules/string-length/node_modules/char-regex": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-2.0.1.tgz", - "integrity": "sha512-oSvEeo6ZUD7NepqAat3RqoucZ5SeqLJgOvVIwkafu6IP3V0pO38s/ypdVUmDDK6qIIHNlYHJAKX9E7R7HoKElw==", + "node_modules/jest-runner/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true + }, + "node_modules/jest-runner/node_modules/jest-get-type": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.2.0.tgz", + "integrity": "sha512-uXNJlg8hKFEnDgFsrCjznB+sTxdkuqiCL6zMgA75qEbAJjJYTs9XPrvDctrEig2GDow22T/LvHgO57iJhXB/UA==", "dev": true, "engines": { - "node": ">=12.20" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-watch-typeahead/node_modules/strip-ansi": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz", - "integrity": "sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==", + "node_modules/jest-runner/node_modules/jest-haste-map": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.4.1.tgz", + "integrity": "sha512-imTjcgfVVTvg02khXL11NNLTx9ZaofbAWhilrMg/G8dIkp+HYCswhxf0xxJwBkfhWb3e8dwbjuWburvxmcr58w==", "dev": true, "dependencies": { - "ansi-regex": "^6.0.1" + "@jest/types": "^29.4.1", + "@types/graceful-fs": "^4.1.3", + "@types/node": "*", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "graceful-fs": "^4.2.9", + "jest-regex-util": "^29.2.0", + "jest-util": "^29.4.1", + "jest-worker": "^29.4.1", + "micromatch": "^4.0.4", + "walker": "^1.0.8" }, "engines": { - "node": ">=12" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" + "optionalDependencies": { + "fsevents": "^2.3.2" } }, - "node_modules/jest-watch-typeahead/node_modules/strip-ansi/node_modules/ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "node_modules/jest-runner/node_modules/jest-regex-util": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.2.0.tgz", + "integrity": "sha512-6yXn0kg2JXzH30cr2NlThF+70iuO/3irbaB4mh5WyqNIvLLP+B6sFdluO1/1RJmslyh/f9osnefECflHvTbwVA==", "dev": true, "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-watcher": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-27.5.1.tgz", - "integrity": "sha512-z676SuD6Z8o8qbmEGhoEUFOM1+jfEiL3DXHK/xgEiG2EyNYfFG60jluWcupY6dATjfEsKQuibReS1djInQnoVw==", + "node_modules/jest-runner/node_modules/jest-resolve": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.4.1.tgz", + "integrity": "sha512-j/ZFNV2lm9IJ2wmlq1uYK0Y/1PiyDq9g4HEGsNTNr3viRbJdV+8Lf1SXIiLZXFvyiisu0qUyIXGBnw+OKWkJwQ==", "dev": true, "dependencies": { - "@jest/test-result": "^27.5.1", - "@jest/types": "^27.5.1", - "@types/node": "*", - "ansi-escapes": "^4.2.1", "chalk": "^4.0.0", - "jest-util": "^27.5.1", - "string-length": "^4.0.1" + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.4.1", + "jest-pnp-resolver": "^1.2.2", + "jest-util": "^29.4.1", + "jest-validate": "^29.4.1", + "resolve": "^1.20.0", + "resolve.exports": "^2.0.0", + "slash": "^3.0.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-watcher/node_modules/@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "node_modules/jest-runner/node_modules/jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", "dev": true, "dependencies": { - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", + "@jest/types": "^29.4.1", "@types/node": "*", - "@types/yargs": "^16.0.0", - "chalk": "^4.0.0" + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-watcher/node_modules/@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "node_modules/jest-runner/node_modules/jest-validate": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.4.1.tgz", + "integrity": "sha512-qNZXcZQdIQx4SfUB/atWnI4/I2HUvhz8ajOSYUu40CSmf9U5emil8EDHgE7M+3j9/pavtk3knlZBDsgFvv/SWw==", "dev": true, "dependencies": { - "@types/yargs-parser": "*" + "@jest/types": "^29.4.1", + "camelcase": "^6.2.0", + "chalk": "^4.0.0", + "jest-get-type": "^29.2.0", + "leven": "^3.1.0", + "pretty-format": "^29.4.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-worker": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", - "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", + "node_modules/jest-runner/node_modules/jest-worker": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.4.1.tgz", + "integrity": "sha512-O9doU/S1EBe+yp/mstQ0VpPwpv0Clgn68TkNwGxL6/usX/KUW9Arnn4ag8C3jc6qHcXznhsT5Na1liYzAsuAbQ==", "dev": true, "dependencies": { "@types/node": "*", + "jest-util": "^29.4.1", "merge-stream": "^2.0.0", "supports-color": "^8.0.0" }, "engines": { - "node": ">= 10.13.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-worker/node_modules/supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "node_modules/jest-runner/node_modules/pretty-format": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.4.1.tgz", + "integrity": "sha512-dt/Z761JUVsrIKaY215o1xQJBGlSmTx/h4cSqXqjHLnU1+Kt+mavVE7UgqJJO5ukx5HjSswHfmXz4LjS2oIJfg==", "dev": true, "dependencies": { - "has-flag": "^4.0.0" + "@jest/schemas": "^29.4.0", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" }, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/js-beautify": { - "version": "1.14.7", - "resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.14.7.tgz", - "integrity": "sha512-5SOX1KXPFKx+5f6ZrPsIPEY7NwKeQz47n3jm2i+XeHx9MoRsfQenlOP13FQhWvg8JRS0+XLO6XYUQ2GX+q+T9A==", + "node_modules/jest-runner/node_modules/resolve.exports": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.0.tgz", + "integrity": "sha512-6K/gDlqgQscOlg9fSRpWstA8sYe8rbELsSTNpx+3kTrsVCzvSl0zIvRErM7fdl9ERWDsKnrLnwB+Ne89918XOg==", "dev": true, - "dependencies": { - "config-chain": "^1.1.13", - "editorconfig": "^0.15.3", - "glob": "^8.0.3", - "nopt": "^6.0.0" - }, - "bin": { - "css-beautify": "js/bin/css-beautify.js", - "html-beautify": "js/bin/html-beautify.js", - "js-beautify": "js/bin/js-beautify.js" - }, "engines": { "node": ">=10" } }, - "node_modules/js-file-download": { - "version": "0.4.12", - "resolved": "https://registry.npmjs.org/js-file-download/-/js-file-download-0.4.12.tgz", - "integrity": "sha512-rML+NkoD08p5Dllpjo0ffy4jRHeY6Zsapvr/W86N7E0yuzAO6qa5X9+xog6zQNlH102J7IXljNY2FtS6Lj3ucg==" - }, - "node_modules/js-sdsl": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.3.0.tgz", - "integrity": "sha512-mifzlm2+5nZ+lEcLJMoBK0/IH/bDg8XnJfd/Wq6IP+xoCjLZsTOnV2QpxlVbX9bMnkl5PdEjNtBJ9Cj1NjifhQ==", + "node_modules/jest-runner/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/js-sdsl" + "engines": { + "node": ">=0.10.0" } }, - "node_modules/js-sha256": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/js-sha256/-/js-sha256-0.9.0.tgz", - "integrity": "sha512-sga3MHh9sgQN2+pJ9VYZ+1LPwXOxuBJBA5nrR5/ofPfuiJBE2hnjsaN8se8JznOmGLN2p49Pe5U/ttafcs/apA==" - }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" - }, - "node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "node_modules/jest-runner/node_modules/source-map-support": { + "version": "0.5.13", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz", + "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==", "dev": true, "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" } }, - "node_modules/jsdom": { - "version": "16.7.0", - "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.7.0.tgz", - "integrity": "sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw==", + "node_modules/jest-runner/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, "dependencies": { - "abab": "^2.0.5", - "acorn": "^8.2.4", - "acorn-globals": "^6.0.0", - "cssom": "^0.4.4", - "cssstyle": "^2.3.0", - "data-urls": "^2.0.0", - "decimal.js": "^10.2.1", - "domexception": "^2.0.1", - "escodegen": "^2.0.0", - "form-data": "^3.0.0", - "html-encoding-sniffer": "^2.0.1", - "http-proxy-agent": "^4.0.1", - "https-proxy-agent": "^5.0.0", - "is-potential-custom-element-name": "^1.0.1", - "nwsapi": "^2.2.0", - "parse5": "6.0.1", - "saxes": "^5.0.1", - "symbol-tree": "^3.2.4", - "tough-cookie": "^4.0.0", - "w3c-hr-time": "^1.0.2", - "w3c-xmlserializer": "^2.0.0", - "webidl-conversions": "^6.1.0", - "whatwg-encoding": "^1.0.5", - "whatwg-mimetype": "^2.3.0", - "whatwg-url": "^8.5.0", - "ws": "^7.4.6", - "xml-name-validator": "^3.0.0" + "has-flag": "^4.0.0" }, "engines": { "node": ">=10" }, - "peerDependencies": { - "canvas": "^2.5.0" - }, - "peerDependenciesMeta": { - "canvas": { - "optional": true - } + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" } }, - "node_modules/jsdom/node_modules/tr46": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz", - "integrity": "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==", + "node_modules/jest-runner/node_modules/write-file-atomic": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.0.tgz", + "integrity": "sha512-R7NYMnHSlV42K54lwY9lvW6MnSm1HSJqZL3xiSgi9E7//FYaI74r2G0rd+/X6VAMkHEdzxQaU5HUOXWUz5kA/w==", "dev": true, "dependencies": { - "punycode": "^2.1.1" + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.7" }, "engines": { - "node": ">=8" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/jsdom/node_modules/whatwg-url": { - "version": "8.7.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz", - "integrity": "sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==", + "node_modules/jest-runtime": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.4.1.tgz", + "integrity": "sha512-UXTMU9uKu2GjYwTtoAw5rn4STxWw/nadOfW7v1sx6LaJYa3V/iymdCLQM6xy3+7C6mY8GfX22vKpgxY171UIoA==", + "dev": true, + "dependencies": { + "@jest/environment": "^29.4.1", + "@jest/fake-timers": "^29.4.1", + "@jest/globals": "^29.4.1", + "@jest/source-map": "^29.2.0", + "@jest/test-result": "^29.4.1", + "@jest/transform": "^29.4.1", + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "cjs-module-lexer": "^1.0.0", + "collect-v8-coverage": "^1.0.0", + "glob": "^7.1.3", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.4.1", + "jest-message-util": "^29.4.1", + "jest-mock": "^29.4.1", + "jest-regex-util": "^29.2.0", + "jest-resolve": "^29.4.1", + "jest-snapshot": "^29.4.1", + "jest-util": "^29.4.1", + "semver": "^7.3.5", + "slash": "^3.0.0", + "strip-bom": "^4.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-runtime/node_modules/@jest/transform": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.4.1.tgz", + "integrity": "sha512-5w6YJrVAtiAgr0phzKjYd83UPbCXsBRTeYI4BXokv9Er9CcrH9hfXL/crCvP2d2nGOcovPUnlYiLPFLZrkG5Hg==", "dev": true, "dependencies": { - "lodash": "^4.7.0", - "tr46": "^2.1.0", - "webidl-conversions": "^6.1.0" + "@babel/core": "^7.11.6", + "@jest/types": "^29.4.1", + "@jridgewell/trace-mapping": "^0.3.15", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^2.0.0", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.4.1", + "jest-regex-util": "^29.2.0", + "jest-util": "^29.4.1", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "write-file-atomic": "^5.0.0" }, "engines": { - "node": ">=10" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", - "bin": { - "jsesc": "bin/jsesc" + "node_modules/jest-runtime/node_modules/@jest/types": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", + "dev": true, + "dependencies": { + "@jest/schemas": "^29.4.0", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" }, "engines": { - "node": ">=4" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", - "dev": true - }, - "node_modules/json-schema": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", - "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==", - "dev": true + "node_modules/jest-runtime/node_modules/@types/yargs": { + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", + "dev": true, + "dependencies": { + "@types/yargs-parser": "*" + } }, - "node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true + "node_modules/jest-runtime/node_modules/ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } }, - "node_modules/json-stable-stringify-without-jsonify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", - "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "node_modules/jest-runtime/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", "dev": true }, - "node_modules/json5": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", - "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", + "node_modules/jest-runtime/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "dev": true, "dependencies": { - "minimist": "^1.2.0" + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" }, - "bin": { - "json5": "lib/cli.js" + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "node_modules/jest-runtime/node_modules/jest-get-type": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.2.0.tgz", + "integrity": "sha512-uXNJlg8hKFEnDgFsrCjznB+sTxdkuqiCL6zMgA75qEbAJjJYTs9XPrvDctrEig2GDow22T/LvHgO57iJhXB/UA==", + "dev": true, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-runtime/node_modules/jest-haste-map": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.4.1.tgz", + "integrity": "sha512-imTjcgfVVTvg02khXL11NNLTx9ZaofbAWhilrMg/G8dIkp+HYCswhxf0xxJwBkfhWb3e8dwbjuWburvxmcr58w==", "dev": true, "dependencies": { - "universalify": "^2.0.0" + "@jest/types": "^29.4.1", + "@types/graceful-fs": "^4.1.3", + "@types/node": "*", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "graceful-fs": "^4.2.9", + "jest-regex-util": "^29.2.0", + "jest-util": "^29.4.1", + "jest-worker": "^29.4.1", + "micromatch": "^4.0.4", + "walker": "^1.0.8" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" }, "optionalDependencies": { - "graceful-fs": "^4.1.6" + "fsevents": "^2.3.2" } }, - "node_modules/jsonpointer": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-5.0.1.tgz", - "integrity": "sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==", + "node_modules/jest-runtime/node_modules/jest-regex-util": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.2.0.tgz", + "integrity": "sha512-6yXn0kg2JXzH30cr2NlThF+70iuO/3irbaB4mh5WyqNIvLLP+B6sFdluO1/1RJmslyh/f9osnefECflHvTbwVA==", "dev": true, "engines": { - "node": ">=0.10.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jss": { - "version": "10.9.2", - "resolved": "https://registry.npmjs.org/jss/-/jss-10.9.2.tgz", - "integrity": "sha512-b8G6rWpYLR4teTUbGd4I4EsnWjg7MN0Q5bSsjKhVkJVjhQDy2KzkbD2AW3TuT0RYZVmZZHKIrXDn6kjU14qkUg==", + "node_modules/jest-runtime/node_modules/jest-resolve": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.4.1.tgz", + "integrity": "sha512-j/ZFNV2lm9IJ2wmlq1uYK0Y/1PiyDq9g4HEGsNTNr3viRbJdV+8Lf1SXIiLZXFvyiisu0qUyIXGBnw+OKWkJwQ==", "dev": true, "dependencies": { - "@babel/runtime": "^7.3.1", - "csstype": "^3.0.2", - "is-in-browser": "^1.1.3", - "tiny-warning": "^1.0.2" + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.4.1", + "jest-pnp-resolver": "^1.2.2", + "jest-util": "^29.4.1", + "jest-validate": "^29.4.1", + "resolve": "^1.20.0", + "resolve.exports": "^2.0.0", + "slash": "^3.0.0" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/jss" + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jss-plugin-camel-case": { - "version": "10.9.2", - "resolved": "https://registry.npmjs.org/jss-plugin-camel-case/-/jss-plugin-camel-case-10.9.2.tgz", - "integrity": "sha512-wgBPlL3WS0WDJ1lPJcgjux/SHnDuu7opmgQKSraKs4z8dCCyYMx9IDPFKBXQ8Q5dVYij1FFV0WdxyhuOOAXuTg==", + "node_modules/jest-runtime/node_modules/jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", "dev": true, "dependencies": { - "@babel/runtime": "^7.3.1", - "hyphenate-style-name": "^1.0.3", - "jss": "10.9.2" + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jss-plugin-compose": { - "version": "10.9.2", - "resolved": "https://registry.npmjs.org/jss-plugin-compose/-/jss-plugin-compose-10.9.2.tgz", - "integrity": "sha512-XvsGar4D791VgOMqbEk1XYY5s84Ew57OMLYjbnTXl3MSaBTvmR5M3dTqQbBquJGp4pLyyqlfTcijfolZII1w4Q==", + "node_modules/jest-runtime/node_modules/jest-validate": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.4.1.tgz", + "integrity": "sha512-qNZXcZQdIQx4SfUB/atWnI4/I2HUvhz8ajOSYUu40CSmf9U5emil8EDHgE7M+3j9/pavtk3knlZBDsgFvv/SWw==", "dev": true, "dependencies": { - "@babel/runtime": "^7.3.1", - "jss": "10.9.2", - "tiny-warning": "^1.0.2" + "@jest/types": "^29.4.1", + "camelcase": "^6.2.0", + "chalk": "^4.0.0", + "jest-get-type": "^29.2.0", + "leven": "^3.1.0", + "pretty-format": "^29.4.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jss-plugin-default-unit": { - "version": "10.9.2", - "resolved": "https://registry.npmjs.org/jss-plugin-default-unit/-/jss-plugin-default-unit-10.9.2.tgz", - "integrity": "sha512-pYg0QX3bBEFtTnmeSI3l7ad1vtHU42YEEpgW7pmIh+9pkWNWb5dwS/4onSfAaI0kq+dOZHzz4dWe+8vWnanoSg==", + "node_modules/jest-runtime/node_modules/jest-worker": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.4.1.tgz", + "integrity": "sha512-O9doU/S1EBe+yp/mstQ0VpPwpv0Clgn68TkNwGxL6/usX/KUW9Arnn4ag8C3jc6qHcXznhsT5Na1liYzAsuAbQ==", "dev": true, "dependencies": { - "@babel/runtime": "^7.3.1", - "jss": "10.9.2" + "@types/node": "*", + "jest-util": "^29.4.1", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jss-plugin-global": { - "version": "10.9.2", - "resolved": "https://registry.npmjs.org/jss-plugin-global/-/jss-plugin-global-10.9.2.tgz", - "integrity": "sha512-GcX0aE8Ef6AtlasVrafg1DItlL/tWHoC4cGir4r3gegbWwF5ZOBYhx04gurPvWHC8F873aEGqge7C17xpwmp2g==", + "node_modules/jest-runtime/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dev": true, "dependencies": { - "@babel/runtime": "^7.3.1", - "jss": "10.9.2" + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" } }, - "node_modules/jss-plugin-isolate": { - "version": "10.9.2", - "resolved": "https://registry.npmjs.org/jss-plugin-isolate/-/jss-plugin-isolate-10.9.2.tgz", - "integrity": "sha512-r6AuIAGangcJkKBiAkRdpjpWWCyPk1LqxH7xKKTmYwlPUDBEUnGGoAWuPDF8EZT+Me6c487GbEx7CFUWA6z7HA==", + "node_modules/jest-runtime/node_modules/pretty-format": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.4.1.tgz", + "integrity": "sha512-dt/Z761JUVsrIKaY215o1xQJBGlSmTx/h4cSqXqjHLnU1+Kt+mavVE7UgqJJO5ukx5HjSswHfmXz4LjS2oIJfg==", "dev": true, "dependencies": { - "@babel/runtime": "^7.3.1", - "css-initials": "^0.3.1", - "jss": "10.9.2" + "@jest/schemas": "^29.4.0", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jss-plugin-nested": { - "version": "10.9.2", - "resolved": "https://registry.npmjs.org/jss-plugin-nested/-/jss-plugin-nested-10.9.2.tgz", - "integrity": "sha512-VgiOWIC6bvgDaAL97XCxGD0BxOKM0K0zeB/ECyNaVF6FqvdGB9KBBWRdy2STYAss4VVA7i5TbxFZN+WSX1kfQA==", + "node_modules/jest-runtime/node_modules/resolve.exports": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.0.tgz", + "integrity": "sha512-6K/gDlqgQscOlg9fSRpWstA8sYe8rbELsSTNpx+3kTrsVCzvSl0zIvRErM7fdl9ERWDsKnrLnwB+Ne89918XOg==", "dev": true, - "dependencies": { - "@babel/runtime": "^7.3.1", - "jss": "10.9.2", - "tiny-warning": "^1.0.2" + "engines": { + "node": ">=10" } }, - "node_modules/jsx-ast-utils": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.3.tgz", - "integrity": "sha512-fYQHZTZ8jSfmWZ0iyzfwiU4WDX4HpHbMCZ3gPlWYiCl3BoeOTsqKBqnTVfH2rYT7eP5c3sVbeSPHnnJOaTrWiw==", + "node_modules/jest-runtime/node_modules/semver": { + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "dependencies": { - "array-includes": "^3.1.5", - "object.assign": "^4.1.3" + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" }, "engines": { - "node": ">=4.0" + "node": ">=10" } }, - "node_modules/kdbush": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/kdbush/-/kdbush-3.0.0.tgz", - "integrity": "sha512-hRkd6/XW4HTsA9vjVpY9tuXJYLSlelnkTmVFu4M9/7MIYQtFcHpbugAU7UbOfjOiVSVYl2fqgBuJ32JUmRo5Ew==" - }, - "node_modules/keycloak-js": { - "version": "12.0.4", - "resolved": "https://registry.npmjs.org/keycloak-js/-/keycloak-js-12.0.4.tgz", - "integrity": "sha512-O/BHtyiDrZrUnKBrVF8POojqd3gmhuiDw4FiI+FbnB14nu7G5jKFrKYZa9Q0JYKIZXHJOBzSaKQcMp2WUI+zmA==", + "node_modules/jest-runtime/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, "dependencies": { - "base64-js": "1.3.1", - "js-sha256": "0.9.0" + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" } }, - "node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "node_modules/jest-runtime/node_modules/write-file-atomic": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.0.tgz", + "integrity": "sha512-R7NYMnHSlV42K54lwY9lvW6MnSm1HSJqZL3xiSgi9E7//FYaI74r2G0rd+/X6VAMkHEdzxQaU5HUOXWUz5kA/w==", "dev": true, "dependencies": { - "is-buffer": "^1.1.5" + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.7" }, "engines": { - "node": ">=0.10.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/kind-of/node_modules/is-buffer": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "node_modules/jest-runtime/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "dev": true }, - "node_modules/kleur": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", - "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", + "node_modules/jest-serializer": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-27.5.1.tgz", + "integrity": "sha512-jZCyo6iIxO1aqUxpuBlwTDMkzOAJS4a3eYz3YzgxxVQFwLeSA7Jfq5cbqCY+JLvTDrWirgusI/0KwxKMgrdf7w==", "dev": true, + "dependencies": { + "@types/node": "*", + "graceful-fs": "^4.2.9" + }, "engines": { - "node": ">=6" + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/klona": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/klona/-/klona-2.0.6.tgz", - "integrity": "sha512-dhG34DXATL5hSxJbIexCft8FChFXtmskoZYnoPWjXQuebWYCNkVeV3KkGegCK9CP1oswI/vQibS2GY7Em/sJJA==", + "node_modules/jest-snapshot": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.4.1.tgz", + "integrity": "sha512-l4iV8EjGgQWVz3ee/LR9sULDk2pCkqb71bjvlqn+qp90lFwpnulHj4ZBT8nm1hA1C5wowXLc7MGnw321u0tsYA==", "dev": true, + "dependencies": { + "@babel/core": "^7.11.6", + "@babel/generator": "^7.7.2", + "@babel/plugin-syntax-jsx": "^7.7.2", + "@babel/plugin-syntax-typescript": "^7.7.2", + "@babel/traverse": "^7.7.2", + "@babel/types": "^7.3.3", + "@jest/expect-utils": "^29.4.1", + "@jest/transform": "^29.4.1", + "@jest/types": "^29.4.1", + "@types/babel__traverse": "^7.0.6", + "@types/prettier": "^2.1.5", + "babel-preset-current-node-syntax": "^1.0.0", + "chalk": "^4.0.0", + "expect": "^29.4.1", + "graceful-fs": "^4.2.9", + "jest-diff": "^29.4.1", + "jest-get-type": "^29.2.0", + "jest-haste-map": "^29.4.1", + "jest-matcher-utils": "^29.4.1", + "jest-message-util": "^29.4.1", + "jest-util": "^29.4.1", + "natural-compare": "^1.4.0", + "pretty-format": "^29.4.1", + "semver": "^7.3.5" + }, "engines": { - "node": ">= 8" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/language-subtag-registry": { - "version": "0.3.22", - "resolved": "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.22.tgz", - "integrity": "sha512-tN0MCzyWnoz/4nHS6uxdlFWoUZT7ABptwKPQ52Ea7URk6vll88bWBVhodtnlfEuCcKWNGoc+uGbw1cwa9IKh/w==", - "dev": true - }, - "node_modules/language-tags": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/language-tags/-/language-tags-1.0.5.tgz", - "integrity": "sha512-qJhlO9cGXi6hBGKoxEG/sKZDAHD5Hnu9Hs4WbOY3pCWXDhw0N8x1NenNzm2EnNLkLkk7J2SdxAkDSbb6ftT+UQ==", + "node_modules/jest-snapshot/node_modules/@jest/transform": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.4.1.tgz", + "integrity": "sha512-5w6YJrVAtiAgr0phzKjYd83UPbCXsBRTeYI4BXokv9Er9CcrH9hfXL/crCvP2d2nGOcovPUnlYiLPFLZrkG5Hg==", "dev": true, "dependencies": { - "language-subtag-registry": "~0.3.2" + "@babel/core": "^7.11.6", + "@jest/types": "^29.4.1", + "@jridgewell/trace-mapping": "^0.3.15", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^2.0.0", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.4.1", + "jest-regex-util": "^29.2.0", + "jest-util": "^29.4.1", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "write-file-atomic": "^5.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/leaflet": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/leaflet/-/leaflet-1.9.2.tgz", - "integrity": "sha512-Kc77HQvWO+y9y2oIs3dn5h5sy2kr3j41ewdqCMEUA4N89lgfUUfOBy7wnnHEstDpefiGFObq12FdopGRMx4J7g==" - }, - "node_modules/leven": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", - "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", + "node_modules/jest-snapshot/node_modules/@jest/types": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, + "dependencies": { + "@jest/schemas": "^29.4.0", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" + }, "engines": { - "node": ">=6" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/levn": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "node_modules/jest-snapshot/node_modules/@types/yargs": { + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "dependencies": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" - }, - "engines": { - "node": ">= 0.8.0" + "@types/yargs-parser": "*" } }, - "node_modules/lilconfig": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.0.6.tgz", - "integrity": "sha512-9JROoBW7pobfsx+Sq2JsASvCo6Pfo6WWoUW79HuB1BCoBXD4PLWJPqDF6fNj67pqBYTbAHkE57M1kS/+L1neOg==", + "node_modules/jest-snapshot/node_modules/ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true, "engines": { "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/lines-and-columns": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "node_modules/jest-snapshot/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", "dev": true }, - "node_modules/listify": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/listify/-/listify-1.0.3.tgz", - "integrity": "sha512-083swF7iH7bx8666zdzBColpgEuy46HjN3r1isD4zV6Ix7FuHfb/2/WVnl4CH8hjuoWeFF7P5KkKNXUnJCFEJg==", + "node_modules/jest-snapshot/node_modules/diff-sequences": { + "version": "29.3.1", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.3.1.tgz", + "integrity": "sha512-hlM3QR272NXCi4pq+N4Kok4kOp6EsgOM3ZSpJI7Da3UAs+Ttsi8MRmB6trM/lhyzUxGfOgnpkHtgqm5Q/CTcfQ==", "dev": true, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/loader-runner": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", - "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", + "node_modules/jest-snapshot/node_modules/jest-diff": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.4.1.tgz", + "integrity": "sha512-uazdl2g331iY56CEyfbNA0Ut7Mn2ulAG5vUaEHXycf1L6IPyuImIxSz4F0VYBKi7LYIuxOwTZzK3wh5jHzASMw==", "dev": true, + "dependencies": { + "chalk": "^4.0.0", + "diff-sequences": "^29.3.1", + "jest-get-type": "^29.2.0", + "pretty-format": "^29.4.1" + }, "engines": { - "node": ">=6.11.5" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/loader-utils": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", - "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", + "node_modules/jest-snapshot/node_modules/jest-get-type": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.2.0.tgz", + "integrity": "sha512-uXNJlg8hKFEnDgFsrCjznB+sTxdkuqiCL6zMgA75qEbAJjJYTs9XPrvDctrEig2GDow22T/LvHgO57iJhXB/UA==", "dev": true, - "dependencies": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^2.1.2" - }, "engines": { - "node": ">=8.9.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/locate-path": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "node_modules/jest-snapshot/node_modules/jest-haste-map": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.4.1.tgz", + "integrity": "sha512-imTjcgfVVTvg02khXL11NNLTx9ZaofbAWhilrMg/G8dIkp+HYCswhxf0xxJwBkfhWb3e8dwbjuWburvxmcr58w==", "dev": true, "dependencies": { - "p-locate": "^5.0.0" + "@jest/types": "^29.4.1", + "@types/graceful-fs": "^4.1.3", + "@types/node": "*", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "graceful-fs": "^4.2.9", + "jest-regex-util": "^29.2.0", + "jest-util": "^29.4.1", + "jest-worker": "^29.4.1", + "micromatch": "^4.0.4", + "walker": "^1.0.8" }, "engines": { - "node": ">=10" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "optionalDependencies": { + "fsevents": "^2.3.2" } }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" - }, - "node_modules/lodash-es": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", - "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" - }, - "node_modules/lodash.debounce": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", - "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==" - }, - "node_modules/lodash.flow": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/lodash.flow/-/lodash.flow-3.5.0.tgz", - "integrity": "sha512-ff3BX/tSioo+XojX4MOsOMhJw0nZoUEF011LX8g8d3gvjVbxd89cCio4BCXronjxcTUIJUoqKEUA+n4CqvvRPw==", - "dev": true - }, - "node_modules/lodash.isplainobject": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", - "dev": true - }, - "node_modules/lodash.memoize": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", - "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==", - "dev": true - }, - "node_modules/lodash.merge": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", - "dev": true - }, - "node_modules/lodash.sortby": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", - "integrity": "sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==", - "dev": true - }, - "node_modules/lodash.uniq": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", - "integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==", - "dev": true - }, - "node_modules/log-symbols": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-3.0.0.tgz", - "integrity": "sha512-dSkNGuI7iG3mfvDzUuYZyvk5dD9ocYCYzNU6CYDE6+Xqd+gwme6Z00NS3dUh8mq/73HaEtT7m6W+yUPtU6BZnQ==", + "node_modules/jest-snapshot/node_modules/jest-matcher-utils": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.4.1.tgz", + "integrity": "sha512-k5h0u8V4nAEy6lSACepxL/rw78FLDkBnXhZVgFneVpnJONhb2DhZj/Gv4eNe+1XqQ5IhgUcqj745UwH0HJmMnA==", "dev": true, "dependencies": { - "chalk": "^2.4.2" + "chalk": "^4.0.0", + "jest-diff": "^29.4.1", + "jest-get-type": "^29.2.0", + "pretty-format": "^29.4.1" }, "engines": { - "node": ">=8" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/log-symbols/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "node_modules/jest-snapshot/node_modules/jest-regex-util": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.2.0.tgz", + "integrity": "sha512-6yXn0kg2JXzH30cr2NlThF+70iuO/3irbaB4mh5WyqNIvLLP+B6sFdluO1/1RJmslyh/f9osnefECflHvTbwVA==", "dev": true, - "dependencies": { - "color-convert": "^1.9.0" - }, "engines": { - "node": ">=4" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/log-symbols/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "node_modules/jest-snapshot/node_modules/jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", "dev": true, "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" }, "engines": { - "node": ">=4" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/log-symbols/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "node_modules/jest-snapshot/node_modules/jest-worker": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.4.1.tgz", + "integrity": "sha512-O9doU/S1EBe+yp/mstQ0VpPwpv0Clgn68TkNwGxL6/usX/KUW9Arnn4ag8C3jc6qHcXznhsT5Na1liYzAsuAbQ==", "dev": true, "dependencies": { - "color-name": "1.1.3" + "@types/node": "*", + "jest-util": "^29.4.1", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/log-symbols/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true - }, - "node_modules/log-symbols/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "node_modules/jest-snapshot/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, "engines": { - "node": ">=0.8.0" + "node": ">=10" } }, - "node_modules/log-symbols/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "node_modules/jest-snapshot/node_modules/pretty-format": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.4.1.tgz", + "integrity": "sha512-dt/Z761JUVsrIKaY215o1xQJBGlSmTx/h4cSqXqjHLnU1+Kt+mavVE7UgqJJO5ukx5HjSswHfmXz4LjS2oIJfg==", "dev": true, + "dependencies": { + "@jest/schemas": "^29.4.0", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + }, "engines": { - "node": ">=4" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/log-symbols/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "node_modules/jest-snapshot/node_modules/semver": { + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "dependencies": { - "has-flag": "^3.0.0" + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" }, "engines": { - "node": ">=4" + "node": ">=10" } }, - "node_modules/longest-streak": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-2.0.4.tgz", - "integrity": "sha512-vM6rUVCVUJJt33bnmHiZEvr7wPT78ztX7rojL+LW51bHtLh6HTjx84LA5W4+oa6aKEJA7jJu5LR6vQRBpA5DVg==", + "node_modules/jest-snapshot/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/loose-envify": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", - "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", "dependencies": { - "js-tokens": "^3.0.0 || ^4.0.0" + "has-flag": "^4.0.0" }, - "bin": { - "loose-envify": "cli.js" + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" } }, - "node_modules/lower-case": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz", - "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==", + "node_modules/jest-snapshot/node_modules/write-file-atomic": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.0.tgz", + "integrity": "sha512-R7NYMnHSlV42K54lwY9lvW6MnSm1HSJqZL3xiSgi9E7//FYaI74r2G0rd+/X6VAMkHEdzxQaU5HUOXWUz5kA/w==", "dev": true, "dependencies": { - "tslib": "^2.0.3" + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.7" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/lower-case/node_modules/tslib": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz", - "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==", + "node_modules/jest-snapshot/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "dev": true }, - "node_modules/lowercase-keys": { + "node_modules/jest-sonar-reporter": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", - "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==", + "resolved": "https://registry.npmjs.org/jest-sonar-reporter/-/jest-sonar-reporter-2.0.0.tgz", + "integrity": "sha512-ZervDCgEX5gdUbdtWsjdipLN3bKJwpxbvhkYNXTAYvAckCihobSLr9OT/IuyNIRT1EZMDDwR6DroWtrq+IL64w==", "dev": true, + "dependencies": { + "xml": "^1.0.1" + }, "engines": { - "node": ">=8" + "node": ">=8.0.0" } }, - "node_modules/lru-cache": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", - "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", + "node_modules/jest-styled-components": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/jest-styled-components/-/jest-styled-components-7.1.1.tgz", + "integrity": "sha512-OUq31R5CivBF8oy81dnegNQrRW13TugMol/Dz6ZnFfEyo03exLASod7YGwyHGuayYlKmCstPtz0RQ1+NrAbIIA==", "dev": true, "dependencies": { - "pseudomap": "^1.0.2", - "yallist": "^2.1.2" - } - }, - "node_modules/lz-string": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/lz-string/-/lz-string-1.4.4.tgz", - "integrity": "sha512-0ckx7ZHRPqb0oUm8zNr+90mtf9DQB60H1wMCjBtfi62Kl3a7JbHob6gA2bC+xRvZoOL+1hzUK8jeuEIQE8svEQ==", - "dev": true, - "bin": { - "lz-string": "bin/bin.js" + "@adobe/css-tools": "^4.0.1" + }, + "engines": { + "node": ">= 12" + }, + "peerDependencies": { + "styled-components": ">= 5" } }, - "node_modules/magic-string": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", - "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", + "node_modules/jest-util": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-27.5.1.tgz", + "integrity": "sha512-Kv2o/8jNvX1MQ0KGtw480E/w4fBCDOnH6+6DmeKi6LZUIlKA5kwY0YNdlzaWTiVgxqAqik11QyxDOKk543aKXw==", "dev": true, "dependencies": { - "sourcemap-codec": "^1.4.8" + "@jest/types": "^27.5.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "node_modules/jest-util/node_modules/@jest/types": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", + "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", "dev": true, "dependencies": { - "semver": "^6.0.0" + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^16.0.0", + "chalk": "^4.0.0" }, "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/make-dir/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "node_modules/jest-util/node_modules/@types/yargs": { + "version": "16.0.5", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", + "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", "dev": true, - "bin": { - "semver": "bin/semver.js" + "dependencies": { + "@types/yargs-parser": "*" } }, - "node_modules/makeerror": { - "version": "1.0.12", - "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", - "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==", + "node_modules/jest-validate": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-27.5.1.tgz", + "integrity": "sha512-thkNli0LYTmOI1tDB3FI1S1RTp/Bqyd9pTarJwL87OIBFuqEb5Apv5EaApEudYg4g86e3CT6kM0RowkhtEnCBQ==", "dev": true, "dependencies": { - "tmpl": "1.0.5" - } - }, - "node_modules/markdown-to-jsx": { - "version": "6.11.4", - "resolved": "https://registry.npmjs.org/markdown-to-jsx/-/markdown-to-jsx-6.11.4.tgz", - "integrity": "sha512-3lRCD5Sh+tfA52iGgfs/XZiw33f7fFX9Bn55aNnVNUd2GzLDkOWyKYYD8Yju2B1Vn+feiEdgJs8T6Tg0xNokPw==", - "dev": true, - "dependencies": { - "prop-types": "^15.6.2", - "unquote": "^1.1.0" + "@jest/types": "^27.5.1", + "camelcase": "^6.2.0", + "chalk": "^4.0.0", + "jest-get-type": "^27.5.1", + "leven": "^3.1.0", + "pretty-format": "^27.5.1" }, "engines": { - "node": ">= 4" - }, - "peerDependencies": { - "react": ">= 0.14.0" - } - }, - "node_modules/matchmediaquery": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/matchmediaquery/-/matchmediaquery-0.3.1.tgz", - "integrity": "sha512-Hlk20WQHRIm9EE9luN1kjRjYXAQToHOIAHPJn9buxBwuhfTHoKUcX+lXBbxc85DVQfXYbEQ4HcwQdd128E3qHQ==", - "dependencies": { - "css-mediaquery": "^0.1.2" + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/mdast-util-from-markdown": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-0.8.5.tgz", - "integrity": "sha512-2hkTXtYYnr+NubD/g6KGBS/0mFmBcifAsI0yIWRiRo0PjVs6SSOSOdtzbp6kSGnShDN6G5aWZpKQ2lWRy27mWQ==", + "node_modules/jest-validate/node_modules/@jest/types": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", + "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", "dev": true, "dependencies": { - "@types/mdast": "^3.0.0", - "mdast-util-to-string": "^2.0.0", - "micromark": "~2.11.0", - "parse-entities": "^2.0.0", - "unist-util-stringify-position": "^2.0.0" + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^16.0.0", + "chalk": "^4.0.0" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/mdast-util-to-markdown": { - "version": "0.6.5", - "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-0.6.5.tgz", - "integrity": "sha512-XeV9sDE7ZlOQvs45C9UKMtfTcctcaj/pGwH8YLbMHoMOXNNCn2LsqVQOqrF1+/NU8lKDAqozme9SCXWyo9oAcQ==", + "node_modules/jest-validate/node_modules/@types/yargs": { + "version": "16.0.5", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", + "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", "dev": true, "dependencies": { - "@types/unist": "^2.0.0", - "longest-streak": "^2.0.0", - "mdast-util-to-string": "^2.0.0", - "parse-entities": "^2.0.0", - "repeat-string": "^1.0.0", - "zwitch": "^1.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/mdast-util-to-string": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-2.0.0.tgz", - "integrity": "sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w==", - "dev": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" + "@types/yargs-parser": "*" } }, - "node_modules/mdn-data": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.4.tgz", - "integrity": "sha512-iV3XNKw06j5Q7mi6h+9vbx23Tv7JkjEVgKHW4pimwyDGWm0OIQntJJ+u1C6mg6mK1EaTv42XQ7w76yuzH7M2cA==", - "dev": true - }, - "node_modules/media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "node_modules/jest-validate/node_modules/ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true, "engines": { - "node": ">= 0.6" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/memfs": { - "version": "3.4.13", - "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.4.13.tgz", - "integrity": "sha512-omTM41g3Skpvx5dSYeZIbXKcXoAVc/AoMNwn9TKx++L/gaen/+4TTttmu8ZSch5vfVJ8uJvGbroTsIlslRg6lg==", + "node_modules/jest-validate/node_modules/pretty-format": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", + "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", "dev": true, "dependencies": { - "fs-monkey": "^1.0.3" + "ansi-regex": "^5.0.1", + "ansi-styles": "^5.0.0", + "react-is": "^17.0.1" }, "engines": { - "node": ">= 4.0.0" + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==", - "dev": true - }, - "node_modules/merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "node_modules/jest-validate/node_modules/react-is": { + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", + "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", "dev": true }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "node_modules/jest-watcher": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.4.1.tgz", + "integrity": "sha512-vFOzflGFs27nU6h8dpnVRER3O2rFtL+VMEwnG0H3KLHcllLsU8y9DchSh0AL/Rg5nN1/wSiQ+P4ByMGpuybaVw==", "dev": true, + "dependencies": { + "@jest/test-result": "^29.4.1", + "@jest/types": "^29.4.1", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "emittery": "^0.13.1", + "jest-util": "^29.4.1", + "string-length": "^4.0.1" + }, "engines": { - "node": ">= 8" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/methods": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "node_modules/jest-watcher/node_modules/@jest/types": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, + "dependencies": { + "@jest/schemas": "^29.4.0", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" + }, "engines": { - "node": ">= 0.6" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/micromark": { - "version": "2.11.4", - "resolved": "https://registry.npmjs.org/micromark/-/micromark-2.11.4.tgz", - "integrity": "sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==", + "node_modules/jest-watcher/node_modules/@types/yargs": { + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], "dependencies": { - "debug": "^4.0.0", - "parse-entities": "^2.0.0" + "@types/yargs-parser": "*" } }, - "node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "node_modules/jest-watcher/node_modules/jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", + "dev": true, "dependencies": { - "braces": "^3.0.2", - "picomatch": "^2.3.1" + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" }, "engines": { - "node": ">=8.6" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "node_modules/jest-worker": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", + "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", "dev": true, - "bin": { - "mime": "cli.js" + "dependencies": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" }, "engines": { - "node": ">=4" + "node": ">= 10.13.0" } }, - "node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "node_modules/jest-worker/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, "engines": { - "node": ">= 0.6" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" } }, - "node_modules/mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "node_modules/jest/node_modules/@jest/types": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "dependencies": { - "mime-db": "1.52.0" + "@jest/schemas": "^29.4.0", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" }, "engines": { - "node": ">= 0.6" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "node_modules/jest/node_modules/@types/yargs": { + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, - "engines": { - "node": ">=6" + "dependencies": { + "@types/yargs-parser": "*" } }, - "node_modules/min-indent": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", - "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", - "dev": true, - "engines": { - "node": ">=4" - } + "node_modules/jquery": { + "version": "3.6.3", + "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.6.3.tgz", + "integrity": "sha512-bZ5Sy3YzKo9Fyc8wH2iIQK4JImJ6R0GWI9kL1/k7Z91ZBNgkRXE6U0JfHIizZbort8ZunhSI3jw9I6253ahKfg==", + "peer": true }, - "node_modules/mini-css-extract-plugin": { - "version": "2.7.2", - "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.7.2.tgz", - "integrity": "sha512-EdlUizq13o0Pd+uCp+WO/JpkLvHRVGt97RqfeGhXqAcorYo1ypJSpkV+WDT0vY/kmh/p7wRdJNJtuyK540PXDw==", + "node_modules/js-beautify": { + "version": "1.14.7", + "resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.14.7.tgz", + "integrity": "sha512-5SOX1KXPFKx+5f6ZrPsIPEY7NwKeQz47n3jm2i+XeHx9MoRsfQenlOP13FQhWvg8JRS0+XLO6XYUQ2GX+q+T9A==", "dev": true, "dependencies": { - "schema-utils": "^4.0.0" + "config-chain": "^1.1.13", + "editorconfig": "^0.15.3", + "glob": "^8.0.3", + "nopt": "^6.0.0" }, - "engines": { - "node": ">= 12.13.0" + "bin": { + "css-beautify": "js/bin/css-beautify.js", + "html-beautify": "js/bin/html-beautify.js", + "js-beautify": "js/bin/js-beautify.js" }, + "engines": { + "node": ">=10" + } + }, + "node_modules/js-file-download": { + "version": "0.4.12", + "resolved": "https://registry.npmjs.org/js-file-download/-/js-file-download-0.4.12.tgz", + "integrity": "sha512-rML+NkoD08p5Dllpjo0ffy4jRHeY6Zsapvr/W86N7E0yuzAO6qa5X9+xog6zQNlH102J7IXljNY2FtS6Lj3ucg==" + }, + "node_modules/js-sdsl": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.3.0.tgz", + "integrity": "sha512-mifzlm2+5nZ+lEcLJMoBK0/IH/bDg8XnJfd/Wq6IP+xoCjLZsTOnV2QpxlVbX9bMnkl5PdEjNtBJ9Cj1NjifhQ==", + "dev": true, "funding": { "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^5.0.0" + "url": "https://opencollective.com/js-sdsl" } }, - "node_modules/mini-css-extract-plugin/node_modules/ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", + "node_modules/js-sha256": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/js-sha256/-/js-sha256-0.9.0.tgz", + "integrity": "sha512-sga3MHh9sgQN2+pJ9VYZ+1LPwXOxuBJBA5nrR5/ofPfuiJBE2hnjsaN8se8JznOmGLN2p49Pe5U/ttafcs/apA==" + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", "dev": true, "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" + "argparse": "^2.0.1" }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" + "bin": { + "js-yaml": "bin/js-yaml.js" } }, - "node_modules/mini-css-extract-plugin/node_modules/ajv-keywords": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", - "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", + "node_modules/jsdom": { + "version": "16.7.0", + "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.7.0.tgz", + "integrity": "sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw==", "dev": true, "dependencies": { - "fast-deep-equal": "^3.1.3" + "abab": "^2.0.5", + "acorn": "^8.2.4", + "acorn-globals": "^6.0.0", + "cssom": "^0.4.4", + "cssstyle": "^2.3.0", + "data-urls": "^2.0.0", + "decimal.js": "^10.2.1", + "domexception": "^2.0.1", + "escodegen": "^2.0.0", + "form-data": "^3.0.0", + "html-encoding-sniffer": "^2.0.1", + "http-proxy-agent": "^4.0.1", + "https-proxy-agent": "^5.0.0", + "is-potential-custom-element-name": "^1.0.1", + "nwsapi": "^2.2.0", + "parse5": "6.0.1", + "saxes": "^5.0.1", + "symbol-tree": "^3.2.4", + "tough-cookie": "^4.0.0", + "w3c-hr-time": "^1.0.2", + "w3c-xmlserializer": "^2.0.0", + "webidl-conversions": "^6.1.0", + "whatwg-encoding": "^1.0.5", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^8.5.0", + "ws": "^7.4.6", + "xml-name-validator": "^3.0.0" + }, + "engines": { + "node": ">=10" }, "peerDependencies": { - "ajv": "^8.8.2" + "canvas": "^2.5.0" + }, + "peerDependenciesMeta": { + "canvas": { + "optional": true + } } }, - "node_modules/mini-css-extract-plugin/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true - }, - "node_modules/mini-css-extract-plugin/node_modules/schema-utils": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.0.0.tgz", - "integrity": "sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg==", + "node_modules/jsdom/node_modules/tr46": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz", + "integrity": "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==", "dev": true, "dependencies": { - "@types/json-schema": "^7.0.9", - "ajv": "^8.8.0", - "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.0.0" + "punycode": "^2.1.1" }, "engines": { - "node": ">= 12.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" + "node": ">=8" } }, - "node_modules/mini-html-webpack-plugin": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/mini-html-webpack-plugin/-/mini-html-webpack-plugin-3.1.3.tgz", - "integrity": "sha512-WhnO8ZvOILCCkk4yNTBdoiZNwyY4ktrQ+wOOGdMAtyeK/qi4Viaidwjlf0itG5AjN7sWsOI6ww8f/8V5JfDQkA==", + "node_modules/jsdom/node_modules/whatwg-url": { + "version": "8.7.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz", + "integrity": "sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==", "dev": true, "dependencies": { - "webpack-sources": "^2.0.1" + "lodash": "^4.7.0", + "tr46": "^2.1.0", + "webidl-conversions": "^6.1.0" }, "engines": { "node": ">=10" + } + }, + "node_modules/jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "bin": { + "jsesc": "bin/jsesc" }, - "peerDependencies": { - "webpack": ">=4" + "engines": { + "node": ">=4" } }, - "node_modules/minimalistic-assert": { + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true + }, + "node_modules/json-schema": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==", + "dev": true + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", - "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", "dev": true }, - "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "node_modules/json5": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", + "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", "dev": true, "dependencies": { - "brace-expansion": "^1.1.7" + "minimist": "^1.2.0" }, - "engines": { - "node": "*" + "bin": { + "json5": "lib/cli.js" } }, - "node_modules/minimist": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz", - "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } + "node_modules/jsonc-parser": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", + "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", + "dev": true }, - "node_modules/mkdirp": { - "version": "0.5.6", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", - "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", + "node_modules/jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "dev": true, "dependencies": { - "minimist": "^1.2.6" + "universalify": "^2.0.0" }, - "bin": { - "mkdirp": "bin/cmd.js" + "optionalDependencies": { + "graceful-fs": "^4.1.6" } }, - "node_modules/moment": { - "version": "2.29.4", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz", - "integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==", + "node_modules/jsonpointer": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-5.0.1.tgz", + "integrity": "sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==", + "dev": true, "engines": { - "node": "*" + "node": ">=0.10.0" } }, - "node_modules/moment-timezone": { - "version": "0.5.35", - "resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.35.tgz", - "integrity": "sha512-cY/pBOEXepQvlgli06ttCTKcIf8cD1nmNwOKQQAdHBqYApQSpAqotBMX0RJZNgMp6i0PlZuf1mFtnlyEkwyvFw==", + "node_modules/jss": { + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/jss/-/jss-10.9.2.tgz", + "integrity": "sha512-b8G6rWpYLR4teTUbGd4I4EsnWjg7MN0Q5bSsjKhVkJVjhQDy2KzkbD2AW3TuT0RYZVmZZHKIrXDn6kjU14qkUg==", + "dev": true, "dependencies": { - "moment": ">= 2.9.0" + "@babel/runtime": "^7.3.1", + "csstype": "^3.0.2", + "is-in-browser": "^1.1.3", + "tiny-warning": "^1.0.2" }, - "engines": { - "node": "*" + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/jss" } }, - "node_modules/mri": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz", - "integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==", + "node_modules/jss-plugin-camel-case": { + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/jss-plugin-camel-case/-/jss-plugin-camel-case-10.9.2.tgz", + "integrity": "sha512-wgBPlL3WS0WDJ1lPJcgjux/SHnDuu7opmgQKSraKs4z8dCCyYMx9IDPFKBXQ8Q5dVYij1FFV0WdxyhuOOAXuTg==", "dev": true, - "engines": { - "node": ">=4" + "dependencies": { + "@babel/runtime": "^7.3.1", + "hyphenate-style-name": "^1.0.3", + "jss": "10.9.2" } }, - "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "node_modules/jss-plugin-compose": { + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/jss-plugin-compose/-/jss-plugin-compose-10.9.2.tgz", + "integrity": "sha512-XvsGar4D791VgOMqbEk1XYY5s84Ew57OMLYjbnTXl3MSaBTvmR5M3dTqQbBquJGp4pLyyqlfTcijfolZII1w4Q==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.3.1", + "jss": "10.9.2", + "tiny-warning": "^1.0.2" + } }, - "node_modules/multicast-dns": { - "version": "7.2.5", - "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-7.2.5.tgz", - "integrity": "sha512-2eznPJP8z2BFLX50tf0LuODrpINqP1RVIm/CObbTcBRITQgmC/TjcREF1NeTBzIcR5XO/ukWo+YHOjBbFwIupg==", + "node_modules/jss-plugin-default-unit": { + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/jss-plugin-default-unit/-/jss-plugin-default-unit-10.9.2.tgz", + "integrity": "sha512-pYg0QX3bBEFtTnmeSI3l7ad1vtHU42YEEpgW7pmIh+9pkWNWb5dwS/4onSfAaI0kq+dOZHzz4dWe+8vWnanoSg==", "dev": true, "dependencies": { - "dns-packet": "^5.2.2", - "thunky": "^1.0.2" - }, - "bin": { - "multicast-dns": "cli.js" + "@babel/runtime": "^7.3.1", + "jss": "10.9.2" } }, - "node_modules/multimatch": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/multimatch/-/multimatch-4.0.0.tgz", - "integrity": "sha512-lDmx79y1z6i7RNx0ZGCPq1bzJ6ZoDDKbvh7jxr9SJcWLkShMzXrHbYVpTdnhNM5MXpDUxCQ4DgqVttVXlBgiBQ==", + "node_modules/jss-plugin-global": { + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/jss-plugin-global/-/jss-plugin-global-10.9.2.tgz", + "integrity": "sha512-GcX0aE8Ef6AtlasVrafg1DItlL/tWHoC4cGir4r3gegbWwF5ZOBYhx04gurPvWHC8F873aEGqge7C17xpwmp2g==", "dev": true, "dependencies": { - "@types/minimatch": "^3.0.3", - "array-differ": "^3.0.0", - "array-union": "^2.1.0", - "arrify": "^2.0.1", - "minimatch": "^3.0.4" - }, - "engines": { - "node": ">=8" + "@babel/runtime": "^7.3.1", + "jss": "10.9.2" } }, - "node_modules/multiselect-react-dropdown": { - "version": "2.0.25", - "resolved": "https://registry.npmjs.org/multiselect-react-dropdown/-/multiselect-react-dropdown-2.0.25.tgz", - "integrity": "sha512-z8kUSyBNOuV7vn4Dk35snzXWtIfTdSEEXhgDdLMvOmR+xJFx35vc1voUlSuOvrk3khb+hXC219Qs9szOvNm25Q==", - "peerDependencies": { - "react": "^16.7.0 || ^17.0.0 || ^18.0.0" + "node_modules/jss-plugin-isolate": { + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/jss-plugin-isolate/-/jss-plugin-isolate-10.9.2.tgz", + "integrity": "sha512-r6AuIAGangcJkKBiAkRdpjpWWCyPk1LqxH7xKKTmYwlPUDBEUnGGoAWuPDF8EZT+Me6c487GbEx7CFUWA6z7HA==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.3.1", + "css-initials": "^0.3.1", + "jss": "10.9.2" } }, - "node_modules/mute-stream": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", - "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", - "dev": true + "node_modules/jss-plugin-nested": { + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/jss-plugin-nested/-/jss-plugin-nested-10.9.2.tgz", + "integrity": "sha512-VgiOWIC6bvgDaAL97XCxGD0BxOKM0K0zeB/ECyNaVF6FqvdGB9KBBWRdy2STYAss4VVA7i5TbxFZN+WSX1kfQA==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.3.1", + "jss": "10.9.2", + "tiny-warning": "^1.0.2" + } }, - "node_modules/nanoclone": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/nanoclone/-/nanoclone-0.2.1.tgz", - "integrity": "sha512-wynEP02LmIbLpcYw8uBKpcfF6dmg2vcpKqxeH5UcoKEYdExslsdUA4ugFauuaeYdTB76ez6gJW8XAZ6CgkXYxA==" + "node_modules/jsx-ast-utils": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.3.tgz", + "integrity": "sha512-fYQHZTZ8jSfmWZ0iyzfwiU4WDX4HpHbMCZ3gPlWYiCl3BoeOTsqKBqnTVfH2rYT7eP5c3sVbeSPHnnJOaTrWiw==", + "dev": true, + "dependencies": { + "array-includes": "^3.1.5", + "object.assign": "^4.1.3" + }, + "engines": { + "node": ">=4.0" + } }, - "node_modules/nanoid": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", - "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", + "node_modules/kdbush": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/kdbush/-/kdbush-3.0.0.tgz", + "integrity": "sha512-hRkd6/XW4HTsA9vjVpY9tuXJYLSlelnkTmVFu4M9/7MIYQtFcHpbugAU7UbOfjOiVSVYl2fqgBuJ32JUmRo5Ew==" + }, + "node_modules/keycloak-js": { + "version": "12.0.4", + "resolved": "https://registry.npmjs.org/keycloak-js/-/keycloak-js-12.0.4.tgz", + "integrity": "sha512-O/BHtyiDrZrUnKBrVF8POojqd3gmhuiDw4FiI+FbnB14nu7G5jKFrKYZa9Q0JYKIZXHJOBzSaKQcMp2WUI+zmA==", + "dependencies": { + "base64-js": "1.3.1", + "js-sha256": "0.9.0" + } + }, + "node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", "dev": true, - "bin": { - "nanoid": "bin/nanoid.cjs" + "dependencies": { + "is-buffer": "^1.1.5" }, "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + "node": ">=0.10.0" } }, - "node_modules/natural-compare": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "node_modules/kind-of/node_modules/is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", "dev": true }, - "node_modules/natural-compare-lite": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz", - "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==", - "dev": true + "node_modules/kleur": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", + "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", + "dev": true, + "engines": { + "node": ">=6" + } }, - "node_modules/negotiator": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", - "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "node_modules/klona": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/klona/-/klona-2.0.6.tgz", + "integrity": "sha512-dhG34DXATL5hSxJbIexCft8FChFXtmskoZYnoPWjXQuebWYCNkVeV3KkGegCK9CP1oswI/vQibS2GY7Em/sJJA==", "dev": true, "engines": { - "node": ">= 0.6" + "node": ">= 8" } }, - "node_modules/neo-async": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", - "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "node_modules/language-subtag-registry": { + "version": "0.3.22", + "resolved": "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.22.tgz", + "integrity": "sha512-tN0MCzyWnoz/4nHS6uxdlFWoUZT7ABptwKPQ52Ea7URk6vll88bWBVhodtnlfEuCcKWNGoc+uGbw1cwa9IKh/w==", "dev": true }, - "node_modules/no-case": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz", - "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==", + "node_modules/language-tags": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/language-tags/-/language-tags-1.0.5.tgz", + "integrity": "sha512-qJhlO9cGXi6hBGKoxEG/sKZDAHD5Hnu9Hs4WbOY3pCWXDhw0N8x1NenNzm2EnNLkLkk7J2SdxAkDSbb6ftT+UQ==", "dev": true, "dependencies": { - "lower-case": "^2.0.2", - "tslib": "^2.0.3" + "language-subtag-registry": "~0.3.2" } }, - "node_modules/no-case/node_modules/tslib": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz", - "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==", - "dev": true + "node_modules/leaflet": { + "version": "1.9.2", + "resolved": "https://registry.npmjs.org/leaflet/-/leaflet-1.9.2.tgz", + "integrity": "sha512-Kc77HQvWO+y9y2oIs3dn5h5sy2kr3j41ewdqCMEUA4N89lgfUUfOBy7wnnHEstDpefiGFObq12FdopGRMx4J7g==" }, - "node_modules/node-dir": { - "version": "0.1.17", - "resolved": "https://registry.npmjs.org/node-dir/-/node-dir-0.1.17.tgz", - "integrity": "sha512-tmPX422rYgofd4epzrNoOXiE8XFZYOcCq1vD7MAXCDO+O+zndlA2ztdKKMa+EeuBG5tHETpr4ml4RGgpqDCCAg==", + "node_modules/leven": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", + "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", "dev": true, - "dependencies": { - "minimatch": "^3.0.2" - }, "engines": { - "node": ">= 0.10.5" + "node": ">=6" } }, - "node_modules/node-fetch": { - "version": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", "dev": true, "dependencies": { - "whatwg-url": "^5.0.0" + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" }, "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } + "node": ">= 0.8.0" } }, - "node_modules/node-forge": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.1.tgz", - "integrity": "sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==", + "node_modules/lilconfig": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.0.6.tgz", + "integrity": "sha512-9JROoBW7pobfsx+Sq2JsASvCo6Pfo6WWoUW79HuB1BCoBXD4PLWJPqDF6fNj67pqBYTbAHkE57M1kS/+L1neOg==", "dev": true, "engines": { - "node": ">= 6.13.0" + "node": ">=10" } }, - "node_modules/node-int64": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", - "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==", - "dev": true - }, - "node_modules/node-releases": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.8.tgz", - "integrity": "sha512-dFSmB8fFHEH/s81Xi+Y/15DQY6VHW81nXRj86EMSL3lmuTmK1e+aT4wrFCkTbm+gSwkw4KpX+rT/pMM2c1mF+A==", + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", "dev": true }, - "node_modules/nopt": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-6.0.0.tgz", - "integrity": "sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g==", + "node_modules/listify": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/listify/-/listify-1.0.3.tgz", + "integrity": "sha512-083swF7iH7bx8666zdzBColpgEuy46HjN3r1isD4zV6Ix7FuHfb/2/WVnl4CH8hjuoWeFF7P5KkKNXUnJCFEJg==", "dev": true, - "dependencies": { - "abbrev": "^1.0.0" - }, - "bin": { - "nopt": "bin/nopt.js" - }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "node_modules/loader-runner": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", + "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=6.11.5" } }, - "node_modules/normalize-range": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", - "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", + "node_modules/loader-utils": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", + "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", "dev": true, + "dependencies": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + }, "engines": { - "node": ">=0.10.0" + "node": ">=8.9.0" } }, - "node_modules/normalize-url": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz", - "integrity": "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==", + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", "dev": true, + "dependencies": { + "p-locate": "^5.0.0" + }, "engines": { "node": ">=10" }, @@ -15228,1504 +16310,1570 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/npm-run-path": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "node_modules/lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" + }, + "node_modules/lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==" + }, + "node_modules/lodash.flow": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/lodash.flow/-/lodash.flow-3.5.0.tgz", + "integrity": "sha512-ff3BX/tSioo+XojX4MOsOMhJw0nZoUEF011LX8g8d3gvjVbxd89cCio4BCXronjxcTUIJUoqKEUA+n4CqvvRPw==", + "dev": true + }, + "node_modules/lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", + "dev": true + }, + "node_modules/lodash.memoize": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", + "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==", + "dev": true + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, + "node_modules/lodash.sortby": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", + "integrity": "sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==", + "dev": true + }, + "node_modules/lodash.uniq": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", + "integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==", + "dev": true + }, + "node_modules/log-symbols": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-3.0.0.tgz", + "integrity": "sha512-dSkNGuI7iG3mfvDzUuYZyvk5dD9ocYCYzNU6CYDE6+Xqd+gwme6Z00NS3dUh8mq/73HaEtT7m6W+yUPtU6BZnQ==", "dev": true, "dependencies": { - "path-key": "^3.0.0" + "chalk": "^2.4.2" }, "engines": { "node": ">=8" } }, - "node_modules/nth-check": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", - "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", + "node_modules/log-symbols/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, "dependencies": { - "boolbase": "^1.0.0" + "color-convert": "^1.9.0" }, - "funding": { - "url": "https://github.com/fb55/nth-check?sponsor=1" - } - }, - "node_modules/nwsapi": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.2.tgz", - "integrity": "sha512-90yv+6538zuvUMnN+zCr8LuV6bPFdq50304114vJYJ8RDyK8D5O9Phpbd6SZWgI7PwzmmfN1upeOJlvybDSgCw==", - "dev": true - }, - "node_modules/object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", "engines": { - "node": ">=0.10.0" + "node": ">=4" } }, - "node_modules/object-hash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", - "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", + "node_modules/log-symbols/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, "engines": { - "node": ">= 6" + "node": ">=4" } }, - "node_modules/object-inspect": { - "version": "1.12.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", - "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", + "node_modules/log-symbols/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object-is": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz", - "integrity": "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==", "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "color-name": "1.1.3" } }, - "node_modules/object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "node_modules/log-symbols/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "node_modules/log-symbols/node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true, "engines": { - "node": ">= 0.4" + "node": ">=0.8.0" } }, - "node_modules/object.assign": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", - "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", + "node_modules/log-symbols/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "has-symbols": "^1.0.3", - "object-keys": "^1.1.1" - }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=4" } }, - "node_modules/object.entries": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.6.tgz", - "integrity": "sha512-leTPzo4Zvg3pmbQ3rDK69Rl8GQvIqMWubrkxONG9/ojtFE2rD9fjMKfSI5BxW3osRH1m6VdzmqK8oAY9aT4x5w==", + "node_modules/log-symbols/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "has-flag": "^3.0.0" }, "engines": { - "node": ">= 0.4" + "node": ">=4" } }, - "node_modules/object.fromentries": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.6.tgz", - "integrity": "sha512-VciD13dswC4j1Xt5394WR4MzmAQmlgN72phd/riNp9vtD7tp4QQWJ0R4wvclXcafgcYK8veHRed2W6XeGBvcfg==", + "node_modules/longest-streak": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-2.0.4.tgz", + "integrity": "sha512-vM6rUVCVUJJt33bnmHiZEvr7wPT78ztX7rojL+LW51bHtLh6HTjx84LA5W4+oa6aKEJA7jJu5LR6vQRBpA5DVg==", "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" - }, - "engines": { - "node": ">= 0.4" - }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "type": "github", + "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/object.getownpropertydescriptors": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.5.tgz", - "integrity": "sha512-yDNzckpM6ntyQiGTik1fKV1DcVDRS+w8bvpWNCBanvH5LfRX9O8WTHqQzG4RZwRAM4I0oU7TV11Lj5v0g20ibw==", - "dev": true, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", "dependencies": { - "array.prototype.reduce": "^1.0.5", - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" - }, - "engines": { - "node": ">= 0.8" + "js-tokens": "^3.0.0 || ^4.0.0" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "bin": { + "loose-envify": "cli.js" } }, - "node_modules/object.hasown": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/object.hasown/-/object.hasown-1.1.2.tgz", - "integrity": "sha512-B5UIT3J1W+WuWIU55h0mjlwaqxiE5vYENJXIXZ4VFe05pNYrkKuK0U/6aFcb0pKywYJh7IhfoqUfKVmrJJHZHw==", + "node_modules/lower-case": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz", + "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==", "dev": true, "dependencies": { - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "tslib": "^2.0.3" } }, - "node_modules/object.values": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.6.tgz", - "integrity": "sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==", + "node_modules/lower-case/node_modules/tslib": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz", + "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==", + "dev": true + }, + "node_modules/lowercase-keys": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", + "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==", "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" - }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=8" } }, - "node_modules/obuf": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.2.tgz", - "integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==", - "dev": true - }, - "node_modules/on-finished": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", - "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "node_modules/lru-cache": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", + "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", "dev": true, "dependencies": { - "ee-first": "1.1.1" - }, - "engines": { - "node": ">= 0.8" + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" } }, - "node_modules/on-headers": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", - "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==", + "node_modules/lz-string": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/lz-string/-/lz-string-1.4.4.tgz", + "integrity": "sha512-0ckx7ZHRPqb0oUm8zNr+90mtf9DQB60H1wMCjBtfi62Kl3a7JbHob6gA2bC+xRvZoOL+1hzUK8jeuEIQE8svEQ==", "dev": true, - "engines": { - "node": ">= 0.8" + "bin": { + "lz-string": "bin/bin.js" } }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "node_modules/magic-string": { + "version": "0.25.9", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", + "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", "dev": true, "dependencies": { - "wrappy": "1" + "sourcemap-codec": "^1.4.8" } }, - "node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "node_modules/make-dir": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", + "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", "dev": true, "dependencies": { - "mimic-fn": "^2.1.0" + "semver": "^6.0.0" }, "engines": { - "node": ">=6" + "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/open": { - "version": "8.4.0", - "resolved": "https://registry.npmjs.org/open/-/open-8.4.0.tgz", - "integrity": "sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==", + "node_modules/make-dir/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", "dev": true, - "dependencies": { - "define-lazy-prop": "^2.0.0", - "is-docker": "^2.1.1", - "is-wsl": "^2.2.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "bin": { + "semver": "bin/semver.js" } }, - "node_modules/optionator": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", - "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "node_modules/makeerror": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", + "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==", "dev": true, "dependencies": { - "deep-is": "^0.1.3", - "fast-levenshtein": "^2.0.6", - "levn": "^0.4.1", - "prelude-ls": "^1.2.1", - "type-check": "^0.4.0", - "word-wrap": "^1.2.3" - }, - "engines": { - "node": ">= 0.8.0" + "tmpl": "1.0.5" } }, - "node_modules/ora": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/ora/-/ora-4.1.1.tgz", - "integrity": "sha512-sjYP8QyVWBpBZWD6Vr1M/KwknSw6kJOz41tvGMlwWeClHBtYKTbHMki1PsLZnxKpXMPbTKv9b3pjQu3REib96A==", + "node_modules/markdown-to-jsx": { + "version": "6.11.4", + "resolved": "https://registry.npmjs.org/markdown-to-jsx/-/markdown-to-jsx-6.11.4.tgz", + "integrity": "sha512-3lRCD5Sh+tfA52iGgfs/XZiw33f7fFX9Bn55aNnVNUd2GzLDkOWyKYYD8Yju2B1Vn+feiEdgJs8T6Tg0xNokPw==", "dev": true, "dependencies": { - "chalk": "^3.0.0", - "cli-cursor": "^3.1.0", - "cli-spinners": "^2.2.0", - "is-interactive": "^1.0.0", - "log-symbols": "^3.0.0", - "mute-stream": "0.0.8", - "strip-ansi": "^6.0.0", - "wcwidth": "^1.0.1" + "prop-types": "^15.6.2", + "unquote": "^1.1.0" }, "engines": { - "node": ">=8" + "node": ">= 4" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "peerDependencies": { + "react": ">= 0.14.0" } }, - "node_modules/ora/node_modules/chalk": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", - "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", - "dev": true, + "node_modules/matchmediaquery": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/matchmediaquery/-/matchmediaquery-0.3.1.tgz", + "integrity": "sha512-Hlk20WQHRIm9EE9luN1kjRjYXAQToHOIAHPJn9buxBwuhfTHoKUcX+lXBbxc85DVQfXYbEQ4HcwQdd128E3qHQ==", "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=8" + "css-mediaquery": "^0.1.2" } }, - "node_modules/p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "node_modules/mdast-util-from-markdown": { + "version": "0.8.5", + "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-0.8.5.tgz", + "integrity": "sha512-2hkTXtYYnr+NubD/g6KGBS/0mFmBcifAsI0yIWRiRo0PjVs6SSOSOdtzbp6kSGnShDN6G5aWZpKQ2lWRy27mWQ==", "dev": true, "dependencies": { - "yocto-queue": "^0.1.0" - }, - "engines": { - "node": ">=10" + "@types/mdast": "^3.0.0", + "mdast-util-to-string": "^2.0.0", + "micromark": "~2.11.0", + "parse-entities": "^2.0.0", + "unist-util-stringify-position": "^2.0.0" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "type": "opencollective", + "url": "https://opencollective.com/unified" } }, - "node_modules/p-locate": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "node_modules/mdast-util-to-markdown": { + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-0.6.5.tgz", + "integrity": "sha512-XeV9sDE7ZlOQvs45C9UKMtfTcctcaj/pGwH8YLbMHoMOXNNCn2LsqVQOqrF1+/NU8lKDAqozme9SCXWyo9oAcQ==", "dev": true, "dependencies": { - "p-limit": "^3.0.2" - }, - "engines": { - "node": ">=10" + "@types/unist": "^2.0.0", + "longest-streak": "^2.0.0", + "mdast-util-to-string": "^2.0.0", + "parse-entities": "^2.0.0", + "repeat-string": "^1.0.0", + "zwitch": "^1.0.0" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "type": "opencollective", + "url": "https://opencollective.com/unified" } }, - "node_modules/p-map": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", - "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", + "node_modules/mdast-util-to-string": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-2.0.0.tgz", + "integrity": "sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w==", + "dev": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdn-data": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.4.tgz", + "integrity": "sha512-iV3XNKw06j5Q7mi6h+9vbx23Tv7JkjEVgKHW4pimwyDGWm0OIQntJJ+u1C6mg6mK1EaTv42XQ7w76yuzH7M2cA==", + "dev": true + }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", "dev": true, "engines": { - "node": ">=6" + "node": ">= 0.6" } }, - "node_modules/p-retry": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-4.6.2.tgz", - "integrity": "sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==", + "node_modules/memfs": { + "version": "3.4.13", + "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.4.13.tgz", + "integrity": "sha512-omTM41g3Skpvx5dSYeZIbXKcXoAVc/AoMNwn9TKx++L/gaen/+4TTttmu8ZSch5vfVJ8uJvGbroTsIlslRg6lg==", "dev": true, "dependencies": { - "@types/retry": "0.12.0", - "retry": "^0.13.1" + "fs-monkey": "^1.0.3" }, "engines": { - "node": ">=8" + "node": ">= 4.0.0" } }, - "node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "node_modules/merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==", + "dev": true + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", "dev": true, "engines": { - "node": ">=6" + "node": ">= 8" } }, - "node_modules/param-case": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/param-case/-/param-case-3.0.4.tgz", - "integrity": "sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==", + "node_modules/methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", "dev": true, - "dependencies": { - "dot-case": "^3.0.4", - "tslib": "^2.0.3" + "engines": { + "node": ">= 0.6" } }, - "node_modules/param-case/node_modules/tslib": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz", - "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==", - "dev": true - }, - "node_modules/parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "node_modules/micromark": { + "version": "2.11.4", + "resolved": "https://registry.npmjs.org/micromark/-/micromark-2.11.4.tgz", + "integrity": "sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==", "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], "dependencies": { - "callsites": "^3.0.0" - }, - "engines": { - "node": ">=6" + "debug": "^4.0.0", + "parse-entities": "^2.0.0" } }, - "node_modules/parse-entities": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-2.0.0.tgz", - "integrity": "sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==", - "dev": true, + "node_modules/micromatch": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", "dependencies": { - "character-entities": "^1.0.0", - "character-entities-legacy": "^1.0.0", - "character-reference-invalid": "^1.0.0", - "is-alphanumerical": "^1.0.0", - "is-decimal": "^1.0.0", - "is-hexadecimal": "^1.0.0" + "braces": "^3.0.2", + "picomatch": "^2.3.1" }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" + "engines": { + "node": ">=8.6" } }, - "node_modules/parse-json": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", "dev": true, - "dependencies": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" + "bin": { + "mime": "cli.js" }, "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=4" } }, - "node_modules/parse5": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", - "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", - "dev": true - }, - "node_modules/parseurl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", "dev": true, "engines": { - "node": ">= 0.8" + "node": ">= 0.6" } }, - "node_modules/pascal-case": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz", - "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==", + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", "dev": true, "dependencies": { - "no-case": "^3.0.4", - "tslib": "^2.0.3" + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" } }, - "node_modules/pascal-case/node_modules/tslib": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz", - "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==", - "dev": true - }, - "node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", "dev": true, "engines": { - "node": ">=8" + "node": ">=6" } }, - "node_modules/path-is-absolute": { + "node_modules/min-indent": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", + "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=4" } }, - "node_modules/path-is-inside": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", - "integrity": "sha512-DUWJr3+ULp4zXmol/SZkFf3JGsS9/SIv+Y3Rt93/UjPpDpklB5f1er4O3POIbUuUJ3FXgqte2Q7SrU6zAqwk8w==", - "dev": true - }, - "node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "node_modules/mini-css-extract-plugin": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.7.2.tgz", + "integrity": "sha512-EdlUizq13o0Pd+uCp+WO/JpkLvHRVGt97RqfeGhXqAcorYo1ypJSpkV+WDT0vY/kmh/p7wRdJNJtuyK540PXDw==", "dev": true, + "dependencies": { + "schema-utils": "^4.0.0" + }, "engines": { - "node": ">=8" + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.0.0" } }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true - }, - "node_modules/path-to-regexp": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz", - "integrity": "sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==", + "node_modules/mini-css-extract-plugin/node_modules/ajv": { + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", + "dev": true, "dependencies": { - "isarray": "0.0.1" + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "node_modules/mini-css-extract-plugin/node_modules/ajv-keywords": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", + "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", "dev": true, - "engines": { - "node": ">=8" + "dependencies": { + "fast-deep-equal": "^3.1.3" + }, + "peerDependencies": { + "ajv": "^8.8.2" } }, - "node_modules/performance-now": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", - "integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==", - "dev": true - }, - "node_modules/picocolors": { + "node_modules/mini-css-extract-plugin/node_modules/json-schema-traverse": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", "dev": true }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "node_modules/mini-css-extract-plugin/node_modules/schema-utils": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.0.0.tgz", + "integrity": "sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.9", + "ajv": "^8.8.0", + "ajv-formats": "^2.1.1", + "ajv-keywords": "^5.0.0" + }, "engines": { - "node": ">=8.6" + "node": ">= 12.13.0" }, "funding": { - "url": "https://github.com/sponsors/jonschlinkert" + "type": "opencollective", + "url": "https://opencollective.com/webpack" } }, - "node_modules/pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "node_modules/mini-html-webpack-plugin": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/mini-html-webpack-plugin/-/mini-html-webpack-plugin-3.1.3.tgz", + "integrity": "sha512-WhnO8ZvOILCCkk4yNTBdoiZNwyY4ktrQ+wOOGdMAtyeK/qi4Viaidwjlf0itG5AjN7sWsOI6ww8f/8V5JfDQkA==", "dev": true, + "dependencies": { + "webpack-sources": "^2.0.1" + }, "engines": { - "node": ">=6" + "node": ">=10" + }, + "peerDependencies": { + "webpack": ">=4" } }, - "node_modules/pinkie": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", - "integrity": "sha512-MnUuEycAemtSaeFSjXKW/aroV7akBbY+Sv+RkyqFjgAe73F+MR0TBWKBRDkmfWq/HiFmdavfZ1G7h4SPZXaCSg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } + "node_modules/minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", + "dev": true }, - "node_modules/pinkie-promise": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", - "integrity": "sha512-0Gni6D4UcLTbv9c57DfxDGdr41XfgUjqWZu492f0cIGr16zDU06BWP/RAEvOuo7CQ0CNjHaLlM59YJJFm3NWlw==", + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, "dependencies": { - "pinkie": "^2.0.0" + "brace-expansion": "^1.1.7" }, "engines": { - "node": ">=0.10.0" + "node": "*" } }, - "node_modules/pirates": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.5.tgz", - "integrity": "sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ==", + "node_modules/minimist": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz", + "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==", "dev": true, - "engines": { - "node": ">= 6" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "node_modules/mkdirp": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", + "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", "dev": true, "dependencies": { - "find-up": "^4.0.0" + "minimist": "^1.2.6" }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "node_modules/moment": { + "version": "2.29.4", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz", + "integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==", "engines": { - "node": ">=8" + "node": "*" } }, - "node_modules/pkg-dir/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, + "node_modules/moment-timezone": { + "version": "0.5.35", + "resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.35.tgz", + "integrity": "sha512-cY/pBOEXepQvlgli06ttCTKcIf8cD1nmNwOKQQAdHBqYApQSpAqotBMX0RJZNgMp6i0PlZuf1mFtnlyEkwyvFw==", "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" + "moment": ">= 2.9.0" }, "engines": { - "node": ">=8" + "node": "*" } }, - "node_modules/pkg-dir/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "node_modules/mri": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz", + "integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==", "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, "engines": { - "node": ">=8" + "node": ">=4" } }, - "node_modules/pkg-dir/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "node_modules/multicast-dns": { + "version": "7.2.5", + "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-7.2.5.tgz", + "integrity": "sha512-2eznPJP8z2BFLX50tf0LuODrpINqP1RVIm/CObbTcBRITQgmC/TjcREF1NeTBzIcR5XO/ukWo+YHOjBbFwIupg==", "dev": true, "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" + "dns-packet": "^5.2.2", + "thunky": "^1.0.2" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "bin": { + "multicast-dns": "cli.js" } }, - "node_modules/pkg-dir/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "node_modules/multimatch": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/multimatch/-/multimatch-4.0.0.tgz", + "integrity": "sha512-lDmx79y1z6i7RNx0ZGCPq1bzJ6ZoDDKbvh7jxr9SJcWLkShMzXrHbYVpTdnhNM5MXpDUxCQ4DgqVttVXlBgiBQ==", "dev": true, "dependencies": { - "p-limit": "^2.2.0" + "@types/minimatch": "^3.0.3", + "array-differ": "^3.0.0", + "array-union": "^2.1.0", + "arrify": "^2.0.1", + "minimatch": "^3.0.4" }, "engines": { "node": ">=8" } }, - "node_modules/pkg-up": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-3.1.0.tgz", - "integrity": "sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==", + "node_modules/multiselect-react-dropdown": { + "version": "2.0.25", + "resolved": "https://registry.npmjs.org/multiselect-react-dropdown/-/multiselect-react-dropdown-2.0.25.tgz", + "integrity": "sha512-z8kUSyBNOuV7vn4Dk35snzXWtIfTdSEEXhgDdLMvOmR+xJFx35vc1voUlSuOvrk3khb+hXC219Qs9szOvNm25Q==", + "peerDependencies": { + "react": "^16.7.0 || ^17.0.0 || ^18.0.0" + } + }, + "node_modules/mute-stream": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", + "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", + "dev": true + }, + "node_modules/nanoclone": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/nanoclone/-/nanoclone-0.2.1.tgz", + "integrity": "sha512-wynEP02LmIbLpcYw8uBKpcfF6dmg2vcpKqxeH5UcoKEYdExslsdUA4ugFauuaeYdTB76ez6gJW8XAZ6CgkXYxA==" + }, + "node_modules/nanoid": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", + "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", "dev": true, - "dependencies": { - "find-up": "^3.0.0" + "bin": { + "nanoid": "bin/nanoid.cjs" }, "engines": { - "node": ">=8" + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" } }, - "node_modules/pkg-up/node_modules/find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true + }, + "node_modules/natural-compare-lite": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz", + "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==", + "dev": true + }, + "node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", "dev": true, - "dependencies": { - "locate-path": "^3.0.0" - }, "engines": { - "node": ">=6" + "node": ">= 0.6" } }, - "node_modules/pkg-up/node_modules/locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "node_modules/neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true + }, + "node_modules/no-case": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz", + "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==", "dev": true, "dependencies": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" + "lower-case": "^2.0.2", + "tslib": "^2.0.3" + } + }, + "node_modules/no-case/node_modules/tslib": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz", + "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==", + "dev": true + }, + "node_modules/node-dir": { + "version": "0.1.17", + "resolved": "https://registry.npmjs.org/node-dir/-/node-dir-0.1.17.tgz", + "integrity": "sha512-tmPX422rYgofd4epzrNoOXiE8XFZYOcCq1vD7MAXCDO+O+zndlA2ztdKKMa+EeuBG5tHETpr4ml4RGgpqDCCAg==", + "dev": true, + "dependencies": { + "minimatch": "^3.0.2" }, "engines": { - "node": ">=6" + "node": ">= 0.10.5" } }, - "node_modules/pkg-up/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "node_modules/node-fetch": { + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", "dev": true, "dependencies": { - "p-try": "^2.0.0" + "whatwg-url": "^5.0.0" }, "engines": { - "node": ">=6" + "node": "4.x || >=6.0.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } } }, - "node_modules/pkg-up/node_modules/p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "node_modules/node-forge": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.1.tgz", + "integrity": "sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==", + "dev": true, + "engines": { + "node": ">= 6.13.0" + } + }, + "node_modules/node-int64": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", + "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==", + "dev": true + }, + "node_modules/node-releases": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.8.tgz", + "integrity": "sha512-dFSmB8fFHEH/s81Xi+Y/15DQY6VHW81nXRj86EMSL3lmuTmK1e+aT4wrFCkTbm+gSwkw4KpX+rT/pMM2c1mF+A==", + "dev": true + }, + "node_modules/nopt": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-6.0.0.tgz", + "integrity": "sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g==", "dev": true, "dependencies": { - "p-limit": "^2.0.0" + "abbrev": "^1.0.0" + }, + "bin": { + "nopt": "bin/nopt.js" }, "engines": { - "node": ">=6" + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, - "node_modules/pkg-up/node_modules/path-exists": { + "node_modules/normalize-path": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", "dev": true, "engines": { - "node": ">=4" + "node": ">=0.10.0" } }, - "node_modules/polylabel": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/polylabel/-/polylabel-1.1.0.tgz", - "integrity": "sha512-bxaGcA40sL3d6M4hH72Z4NdLqxpXRsCFk8AITYg6x1rn1Ei3izf00UMLklerBZTO49aPA3CYrIwVulx2Bce2pA==", - "dependencies": { - "tinyqueue": "^2.0.3" + "node_modules/normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", + "dev": true, + "engines": { + "node": ">=0.10.0" } }, - "node_modules/popper.js": { - "version": "1.16.1", - "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.16.1.tgz", - "integrity": "sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ==", - "deprecated": "You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1", + "node_modules/normalize-url": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz", + "integrity": "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==", + "dev": true, + "engines": { + "node": ">=10" + }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/popperjs" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/postcss": { - "version": "8.4.21", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.21.tgz", - "integrity": "sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==", + "node_modules/npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss" - } - ], "dependencies": { - "nanoid": "^3.3.4", - "picocolors": "^1.0.0", - "source-map-js": "^1.0.2" + "path-key": "^3.0.0" }, "engines": { - "node": "^10 || ^12 || >=14" + "node": ">=8" } }, - "node_modules/postcss-attribute-case-insensitive": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/postcss-attribute-case-insensitive/-/postcss-attribute-case-insensitive-5.0.2.tgz", - "integrity": "sha512-XIidXV8fDr0kKt28vqki84fRK8VW8eTuIa4PChv2MqKuT6C9UjmSKzen6KaWhWEoYvwxFCa7n/tC1SZ3tyq4SQ==", + "node_modules/nth-check": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", + "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", "dev": true, "dependencies": { - "postcss-selector-parser": "^6.0.10" - }, - "engines": { - "node": "^12 || ^14 || >=16" + "boolbase": "^1.0.0" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "url": "https://github.com/fb55/nth-check?sponsor=1" } }, - "node_modules/postcss-browser-comments": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/postcss-browser-comments/-/postcss-browser-comments-4.0.0.tgz", - "integrity": "sha512-X9X9/WN3KIvY9+hNERUqX9gncsgBA25XaeR+jshHz2j8+sYyHktHw1JdKuMjeLpGktXidqDhA7b/qm1mrBDmgg==", - "dev": true, + "node_modules/nwsapi": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.2.tgz", + "integrity": "sha512-90yv+6538zuvUMnN+zCr8LuV6bPFdq50304114vJYJ8RDyK8D5O9Phpbd6SZWgI7PwzmmfN1upeOJlvybDSgCw==", + "dev": true + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", "engines": { - "node": ">=8" - }, - "peerDependencies": { - "browserslist": ">=4", - "postcss": ">=8" + "node": ">=0.10.0" } }, - "node_modules/postcss-calc": { - "version": "8.2.4", - "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-8.2.4.tgz", - "integrity": "sha512-SmWMSJmB8MRnnULldx0lQIyhSNvuDl9HfrZkaqqE/WHAhToYsAvDq+yAsA/kIyINDszOp3Rh0GFoNuH5Ypsm3Q==", + "node_modules/object-hash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", + "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", "dev": true, - "dependencies": { - "postcss-selector-parser": "^6.0.9", - "postcss-value-parser": "^4.2.0" - }, - "peerDependencies": { - "postcss": "^8.2.2" + "engines": { + "node": ">= 6" } }, - "node_modules/postcss-clamp": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/postcss-clamp/-/postcss-clamp-4.1.0.tgz", - "integrity": "sha512-ry4b1Llo/9zz+PKC+030KUnPITTJAHeOwjfAyyB60eT0AorGLdzp52s31OsPRHRf8NchkgFoG2y6fCfn1IV1Ow==", + "node_modules/object-inspect": { + "version": "1.12.3", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", + "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object-is": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz", + "integrity": "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==", "dependencies": { - "postcss-value-parser": "^4.2.0" + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" }, "engines": { - "node": ">=7.6.0" + "node": ">= 0.4" }, - "peerDependencies": { - "postcss": "^8.4.6" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/postcss-color-functional-notation": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/postcss-color-functional-notation/-/postcss-color-functional-notation-4.2.4.tgz", - "integrity": "sha512-2yrTAUZUab9s6CpxkxC4rVgFEVaR6/2Pipvi6qcgvnYiVqZcbDHEoBDhrXzyb7Efh2CCfHQNtcqWcIruDTIUeg==", + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.assign": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", + "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", "dev": true, "dependencies": { - "postcss-value-parser": "^4.2.0" + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "has-symbols": "^1.0.3", + "object-keys": "^1.1.1" }, "engines": { - "node": "^12 || ^14 || >=16" + "node": ">= 0.4" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/postcss-color-hex-alpha": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/postcss-color-hex-alpha/-/postcss-color-hex-alpha-8.0.4.tgz", - "integrity": "sha512-nLo2DCRC9eE4w2JmuKgVA3fGL3d01kGq752pVALF68qpGLmx2Qrk91QTKkdUqqp45T1K1XV8IhQpcu1hoAQflQ==", + "node_modules/object.entries": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.6.tgz", + "integrity": "sha512-leTPzo4Zvg3pmbQ3rDK69Rl8GQvIqMWubrkxONG9/ojtFE2rD9fjMKfSI5BxW3osRH1m6VdzmqK8oAY9aT4x5w==", "dev": true, "dependencies": { - "postcss-value-parser": "^4.2.0" + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" }, "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.4" + "node": ">= 0.4" } }, - "node_modules/postcss-color-rebeccapurple": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/postcss-color-rebeccapurple/-/postcss-color-rebeccapurple-7.1.1.tgz", - "integrity": "sha512-pGxkuVEInwLHgkNxUc4sdg4g3py7zUeCQ9sMfwyHAT+Ezk8a4OaaVZ8lIY5+oNqA/BXXgLyXv0+5wHP68R79hg==", + "node_modules/object.fromentries": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.6.tgz", + "integrity": "sha512-VciD13dswC4j1Xt5394WR4MzmAQmlgN72phd/riNp9vtD7tp4QQWJ0R4wvclXcafgcYK8veHRed2W6XeGBvcfg==", "dev": true, "dependencies": { - "postcss-value-parser": "^4.2.0" + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" }, "engines": { - "node": "^12 || ^14 || >=16" + "node": ">= 0.4" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/postcss-colormin": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-5.3.0.tgz", - "integrity": "sha512-WdDO4gOFG2Z8n4P8TWBpshnL3JpmNmJwdnfP2gbk2qBA8PWwOYcmjmI/t3CmMeL72a7Hkd+x/Mg9O2/0rD54Pg==", + "node_modules/object.getownpropertydescriptors": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.5.tgz", + "integrity": "sha512-yDNzckpM6ntyQiGTik1fKV1DcVDRS+w8bvpWNCBanvH5LfRX9O8WTHqQzG4RZwRAM4I0oU7TV11Lj5v0g20ibw==", "dev": true, "dependencies": { - "browserslist": "^4.16.6", - "caniuse-api": "^3.0.0", - "colord": "^2.9.1", - "postcss-value-parser": "^4.2.0" + "array.prototype.reduce": "^1.0.5", + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" }, "engines": { - "node": "^10 || ^12 || >=14.0" + "node": ">= 0.8" }, - "peerDependencies": { - "postcss": "^8.2.15" - } + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, - "node_modules/postcss-convert-values": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-5.1.3.tgz", - "integrity": "sha512-82pC1xkJZtcJEfiLw6UXnXVXScgtBrjlO5CBmuDQc+dlb88ZYheFsjTn40+zBVi3DkfF7iezO0nJUPLcJK3pvA==", + "node_modules/object.hasown": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/object.hasown/-/object.hasown-1.1.2.tgz", + "integrity": "sha512-B5UIT3J1W+WuWIU55h0mjlwaqxiE5vYENJXIXZ4VFe05pNYrkKuK0U/6aFcb0pKywYJh7IhfoqUfKVmrJJHZHw==", "dev": true, "dependencies": { - "browserslist": "^4.21.4", - "postcss-value-parser": "^4.2.0" - }, - "engines": { - "node": "^10 || ^12 || >=14.0" + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" }, - "peerDependencies": { - "postcss": "^8.2.15" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/postcss-custom-media": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/postcss-custom-media/-/postcss-custom-media-8.0.2.tgz", - "integrity": "sha512-7yi25vDAoHAkbhAzX9dHx2yc6ntS4jQvejrNcC+csQJAXjj15e7VcWfMgLqBNAbOvqi5uIa9huOVwdHbf+sKqg==", + "node_modules/object.values": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.6.tgz", + "integrity": "sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==", "dev": true, "dependencies": { - "postcss-value-parser": "^4.2.0" + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" }, "engines": { - "node": "^12 || ^14 || >=16" + "node": ">= 0.4" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.3" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/postcss-custom-properties": { - "version": "12.1.11", - "resolved": "https://registry.npmjs.org/postcss-custom-properties/-/postcss-custom-properties-12.1.11.tgz", - "integrity": "sha512-0IDJYhgU8xDv1KY6+VgUwuQkVtmYzRwu+dMjnmdMafXYv86SWqfxkc7qdDvWS38vsjaEtv8e0vGOUQrAiMBLpQ==", + "node_modules/obuf": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.2.tgz", + "integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==", + "dev": true + }, + "node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", "dev": true, "dependencies": { - "postcss-value-parser": "^4.2.0" + "ee-first": "1.1.1" }, "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "node": ">= 0.8" } }, - "node_modules/postcss-custom-selectors": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/postcss-custom-selectors/-/postcss-custom-selectors-6.0.3.tgz", - "integrity": "sha512-fgVkmyiWDwmD3JbpCmB45SvvlCD6z9CG6Ie6Iere22W5aHea6oWa7EM2bpnv2Fj3I94L3VbtvX9KqwSi5aFzSg==", + "node_modules/on-headers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", + "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==", "dev": true, - "dependencies": { - "postcss-selector-parser": "^6.0.4" - }, "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.3" + "node": ">= 0.8" } }, - "node_modules/postcss-dir-pseudo-class": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/postcss-dir-pseudo-class/-/postcss-dir-pseudo-class-6.0.5.tgz", - "integrity": "sha512-eqn4m70P031PF7ZQIvSgy9RSJ5uI2171O/OO/zcRNYpJbvaeKFUlar1aJ7rmgiQtbm0FSPsRewjpdS0Oew7MPA==", + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", "dev": true, "dependencies": { - "postcss-selector-parser": "^6.0.10" - }, - "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "wrappy": "1" } }, - "node_modules/postcss-discard-comments": { + "node_modules/onetime": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-5.1.2.tgz", - "integrity": "sha512-+L8208OVbHVF2UQf1iDmRcbdjJkuBF6IS29yBDSiWUIzpYaAhtNl6JYnYm12FnkeCwQqF5LeklOu6rAqgfBZqQ==", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", "dev": true, - "engines": { - "node": "^10 || ^12 || >=14.0" + "dependencies": { + "mimic-fn": "^2.1.0" }, - "peerDependencies": { - "postcss": "^8.2.15" - } - }, - "node_modules/postcss-discard-duplicates": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-5.1.0.tgz", - "integrity": "sha512-zmX3IoSI2aoenxHV6C7plngHWWhUOV3sP1T8y2ifzxzbtnuhk1EdPwm0S1bIUNaJ2eNbWeGLEwzw8huPD67aQw==", - "dev": true, "engines": { - "node": "^10 || ^12 || >=14.0" + "node": ">=6" }, - "peerDependencies": { - "postcss": "^8.2.15" + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/postcss-discard-empty": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-5.1.1.tgz", - "integrity": "sha512-zPz4WljiSuLWsI0ir4Mcnr4qQQ5e1Ukc3i7UfE2XcrwKK2LIPIqE5jxMRxO6GbI3cv//ztXDsXwEWT3BHOGh3A==", + "node_modules/open": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/open/-/open-8.4.0.tgz", + "integrity": "sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==", "dev": true, - "engines": { - "node": "^10 || ^12 || >=14.0" + "dependencies": { + "define-lazy-prop": "^2.0.0", + "is-docker": "^2.1.1", + "is-wsl": "^2.2.0" }, - "peerDependencies": { - "postcss": "^8.2.15" - } - }, - "node_modules/postcss-discard-overridden": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-5.1.0.tgz", - "integrity": "sha512-21nOL7RqWR1kasIVdKs8HNqQJhFxLsyRfAnUDm4Fe4t4mCWL9OJiHvlHPjcd8zc5Myu89b/7wZDnOSjFgeWRtw==", - "dev": true, "engines": { - "node": "^10 || ^12 || >=14.0" + "node": ">=12" }, - "peerDependencies": { - "postcss": "^8.2.15" + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/postcss-double-position-gradients": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/postcss-double-position-gradients/-/postcss-double-position-gradients-3.1.2.tgz", - "integrity": "sha512-GX+FuE/uBR6eskOK+4vkXgT6pDkexLokPaz/AbJna9s5Kzp/yl488pKPjhy0obB475ovfT1Wv8ho7U/cHNaRgQ==", + "node_modules/optionator": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", + "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", "dev": true, "dependencies": { - "@csstools/postcss-progressive-custom-properties": "^1.1.0", - "postcss-value-parser": "^4.2.0" + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.3" }, "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "node": ">= 0.8.0" } }, - "node_modules/postcss-env-function": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/postcss-env-function/-/postcss-env-function-4.0.6.tgz", - "integrity": "sha512-kpA6FsLra+NqcFnL81TnsU+Z7orGtDTxcOhl6pwXeEq1yFPpRMkCDpHhrz8CFQDr/Wfm0jLiNQ1OsGGPjlqPwA==", + "node_modules/ora": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ora/-/ora-4.1.1.tgz", + "integrity": "sha512-sjYP8QyVWBpBZWD6Vr1M/KwknSw6kJOz41tvGMlwWeClHBtYKTbHMki1PsLZnxKpXMPbTKv9b3pjQu3REib96A==", "dev": true, "dependencies": { - "postcss-value-parser": "^4.2.0" + "chalk": "^3.0.0", + "cli-cursor": "^3.1.0", + "cli-spinners": "^2.2.0", + "is-interactive": "^1.0.0", + "log-symbols": "^3.0.0", + "mute-stream": "0.0.8", + "strip-ansi": "^6.0.0", + "wcwidth": "^1.0.1" }, "engines": { - "node": "^12 || ^14 || >=16" + "node": ">=8" }, - "peerDependencies": { - "postcss": "^8.4" - } - }, - "node_modules/postcss-flexbugs-fixes": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/postcss-flexbugs-fixes/-/postcss-flexbugs-fixes-5.0.2.tgz", - "integrity": "sha512-18f9voByak7bTktR2QgDveglpn9DTbBWPUzSOe9g0N4WR/2eSt6Vrcbf0hmspvMI6YWGywz6B9f7jzpFNJJgnQ==", - "dev": true, - "peerDependencies": { - "postcss": "^8.1.4" + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/postcss-focus-visible": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/postcss-focus-visible/-/postcss-focus-visible-6.0.4.tgz", - "integrity": "sha512-QcKuUU/dgNsstIK6HELFRT5Y3lbrMLEOwG+A4s5cA+fx3A3y/JTq3X9LaOj3OC3ALH0XqyrgQIgey/MIZ8Wczw==", + "node_modules/ora/node_modules/chalk": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", + "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", "dev": true, "dependencies": { - "postcss-selector-parser": "^6.0.9" + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" }, "engines": { - "node": "^12 || ^14 || >=16" - }, - "peerDependencies": { - "postcss": "^8.4" + "node": ">=8" } }, - "node_modules/postcss-focus-within": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/postcss-focus-within/-/postcss-focus-within-5.0.4.tgz", - "integrity": "sha512-vvjDN++C0mu8jz4af5d52CB184ogg/sSxAFS+oUJQq2SuCe7T5U2iIsVJtsCp2d6R4j0jr5+q3rPkBVZkXD9fQ==", + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", "dev": true, "dependencies": { - "postcss-selector-parser": "^6.0.9" + "yocto-queue": "^0.1.0" }, "engines": { - "node": "^12 || ^14 || >=16" + "node": ">=10" }, - "peerDependencies": { - "postcss": "^8.4" + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/postcss-font-variant": { + "node_modules/p-locate": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/postcss-font-variant/-/postcss-font-variant-5.0.0.tgz", - "integrity": "sha512-1fmkBaCALD72CK2a9i468mA/+tr9/1cBxRRMXOUaZqO43oWPR5imcyPjXwuv7PXbCid4ndlP5zWhidQVVa3hmA==", - "dev": true, - "peerDependencies": { - "postcss": "^8.1.0" - } - }, - "node_modules/postcss-gap-properties": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/postcss-gap-properties/-/postcss-gap-properties-3.0.5.tgz", - "integrity": "sha512-IuE6gKSdoUNcvkGIqdtjtcMtZIFyXZhmFd5RUlg97iVEvp1BZKV5ngsAjCjrVy+14uhGBQl9tzmi1Qwq4kqVOg==", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", "dev": true, + "dependencies": { + "p-limit": "^3.0.2" + }, "engines": { - "node": "^12 || ^14 || >=16" + "node": ">=10" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/postcss-image-set-function": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/postcss-image-set-function/-/postcss-image-set-function-4.0.7.tgz", - "integrity": "sha512-9T2r9rsvYzm5ndsBE8WgtrMlIT7VbtTfE7b3BQnudUqnBcBo7L758oc+o+pdj/dUV0l5wjwSdjeOH2DZtfv8qw==", + "node_modules/p-map": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", + "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", "dev": true, - "dependencies": { - "postcss-value-parser": "^4.2.0" - }, "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "node": ">=6" } }, - "node_modules/postcss-import": { - "version": "14.1.0", - "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-14.1.0.tgz", - "integrity": "sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw==", + "node_modules/p-retry": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-4.6.2.tgz", + "integrity": "sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==", "dev": true, "dependencies": { - "postcss-value-parser": "^4.0.0", - "read-cache": "^1.0.0", - "resolve": "^1.1.7" + "@types/retry": "0.12.0", + "retry": "^0.13.1" }, "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "postcss": "^8.0.0" + "node": ">=8" } }, - "node_modules/postcss-initial": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-initial/-/postcss-initial-4.0.1.tgz", - "integrity": "sha512-0ueD7rPqX8Pn1xJIjay0AZeIuDoF+V+VvMt/uOnn+4ezUKhZM/NokDeP6DwMNyIoYByuN/94IQnt5FEkaN59xQ==", + "node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", "dev": true, - "peerDependencies": { - "postcss": "^8.0.0" + "engines": { + "node": ">=6" } }, - "node_modules/postcss-js": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.0.tgz", - "integrity": "sha512-77QESFBwgX4irogGVPgQ5s07vLvFqWr228qZY+w6lW599cRlK/HmnlivnnVUxkjHnCu4J16PDMHcH+e+2HbvTQ==", + "node_modules/param-case": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/param-case/-/param-case-3.0.4.tgz", + "integrity": "sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==", "dev": true, "dependencies": { - "camelcase-css": "^2.0.1" - }, - "engines": { - "node": "^12 || ^14 || >= 16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - "peerDependencies": { - "postcss": "^8.3.3" + "dot-case": "^3.0.4", + "tslib": "^2.0.3" } }, - "node_modules/postcss-lab-function": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/postcss-lab-function/-/postcss-lab-function-4.2.1.tgz", - "integrity": "sha512-xuXll4isR03CrQsmxyz92LJB2xX9n+pZJ5jE9JgcnmsCammLyKdlzrBin+25dy6wIjfhJpKBAN80gsTlCgRk2w==", + "node_modules/param-case/node_modules/tslib": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz", + "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==", + "dev": true + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", "dev": true, "dependencies": { - "@csstools/postcss-progressive-custom-properties": "^1.1.0", - "postcss-value-parser": "^4.2.0" + "callsites": "^3.0.0" }, "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "node": ">=6" } }, - "node_modules/postcss-load-config": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-3.1.4.tgz", - "integrity": "sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==", + "node_modules/parse-entities": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-2.0.0.tgz", + "integrity": "sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==", "dev": true, "dependencies": { - "lilconfig": "^2.0.5", - "yaml": "^1.10.2" - }, - "engines": { - "node": ">= 10" + "character-entities": "^1.0.0", + "character-entities-legacy": "^1.0.0", + "character-reference-invalid": "^1.0.0", + "is-alphanumerical": "^1.0.0", + "is-decimal": "^1.0.0", + "is-hexadecimal": "^1.0.0" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - "peerDependencies": { - "postcss": ">=8.0.9", - "ts-node": ">=9.0.0" - }, - "peerDependenciesMeta": { - "postcss": { - "optional": true - }, - "ts-node": { - "optional": true - } + "type": "github", + "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/postcss-loader": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-6.2.1.tgz", - "integrity": "sha512-WbbYpmAaKcux/P66bZ40bpWsBucjx/TTgVVzRZ9yUO8yQfVBlameJ0ZGVaPfH64hNSBh63a+ICP5nqOpBA0w+Q==", + "node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", "dev": true, "dependencies": { - "cosmiconfig": "^7.0.0", - "klona": "^2.0.5", - "semver": "^7.3.5" + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" }, "engines": { - "node": ">= 12.13.0" + "node": ">=8" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "postcss": "^7.0.0 || ^8.0.1", - "webpack": "^5.0.0" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/postcss-loader/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "node_modules/parse5": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", + "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", + "dev": true + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, "engines": { - "node": ">=10" + "node": ">= 0.8" } }, - "node_modules/postcss-loader/node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "node_modules/pascal-case": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz", + "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==", "dev": true, "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" + "no-case": "^3.0.4", + "tslib": "^2.0.3" } }, - "node_modules/postcss-loader/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "node_modules/pascal-case/node_modules/tslib": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz", + "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==", "dev": true }, - "node_modules/postcss-logical": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/postcss-logical/-/postcss-logical-5.0.4.tgz", - "integrity": "sha512-RHXxplCeLh9VjinvMrZONq7im4wjWGlRJAqmAVLXyZaXwfDWP73/oq4NdIp+OZwhQUMj0zjqDfM5Fj7qby+B4g==", + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true, "engines": { - "node": "^12 || ^14 || >=16" - }, - "peerDependencies": { - "postcss": "^8.4" + "node": ">=8" } }, - "node_modules/postcss-media-minmax": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/postcss-media-minmax/-/postcss-media-minmax-5.0.0.tgz", - "integrity": "sha512-yDUvFf9QdFZTuCUg0g0uNSHVlJ5X1lSzDZjPSFaiCWvjgsvu8vEVxtahPrLMinIDEEGnx6cBe6iqdx5YWz08wQ==", + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", "dev": true, "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "postcss": "^8.1.0" + "node": ">=0.10.0" } }, - "node_modules/postcss-merge-longhand": { - "version": "5.1.7", - "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-5.1.7.tgz", - "integrity": "sha512-YCI9gZB+PLNskrK0BB3/2OzPnGhPkBEwmwhfYk1ilBHYVAZB7/tkTHFBAnCrvBBOmeYyMYw3DMjT55SyxMBzjQ==", - "dev": true, - "dependencies": { - "postcss-value-parser": "^4.2.0", - "stylehacks": "^5.1.1" - }, - "engines": { - "node": "^10 || ^12 || >=14.0" + "node_modules/path-is-inside": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", + "integrity": "sha512-DUWJr3+ULp4zXmol/SZkFf3JGsS9/SIv+Y3Rt93/UjPpDpklB5f1er4O3POIbUuUJ3FXgqte2Q7SrU6zAqwk8w==", + "dev": true + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, + "node_modules/path-to-regexp": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz", + "integrity": "sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==", + "dependencies": { + "isarray": "0.0.1" + } + }, + "node_modules/path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==", + "dev": true + }, + "node_modules/picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "engines": { + "node": ">=8.6" }, - "peerDependencies": { - "postcss": "^8.2.15" + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/postcss-merge-rules": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-5.1.3.tgz", - "integrity": "sha512-LbLd7uFC00vpOuMvyZop8+vvhnfRGpp2S+IMQKeuOZZapPRY4SMq5ErjQeHbHsjCUgJkRNrlU+LmxsKIqPKQlA==", + "node_modules/pify": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/pinkie": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", + "integrity": "sha512-MnUuEycAemtSaeFSjXKW/aroV7akBbY+Sv+RkyqFjgAe73F+MR0TBWKBRDkmfWq/HiFmdavfZ1G7h4SPZXaCSg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pinkie-promise": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", + "integrity": "sha512-0Gni6D4UcLTbv9c57DfxDGdr41XfgUjqWZu492f0cIGr16zDU06BWP/RAEvOuo7CQ0CNjHaLlM59YJJFm3NWlw==", "dev": true, "dependencies": { - "browserslist": "^4.21.4", - "caniuse-api": "^3.0.0", - "cssnano-utils": "^3.1.0", - "postcss-selector-parser": "^6.0.5" + "pinkie": "^2.0.0" }, "engines": { - "node": "^10 || ^12 || >=14.0" - }, - "peerDependencies": { - "postcss": "^8.2.15" + "node": ">=0.10.0" } }, - "node_modules/postcss-minify-font-values": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-5.1.0.tgz", - "integrity": "sha512-el3mYTgx13ZAPPirSVsHqFzl+BBBDrXvbySvPGFnQcTI4iNslrPaFq4muTkLZmKlGk4gyFAYUBMH30+HurREyA==", + "node_modules/pirates": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.5.tgz", + "integrity": "sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, + "node_modules/pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", "dev": true, "dependencies": { - "postcss-value-parser": "^4.2.0" + "find-up": "^4.0.0" }, "engines": { - "node": "^10 || ^12 || >=14.0" - }, - "peerDependencies": { - "postcss": "^8.2.15" + "node": ">=8" } }, - "node_modules/postcss-minify-gradients": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-5.1.1.tgz", - "integrity": "sha512-VGvXMTpCEo4qHTNSa9A0a3D+dxGFZCYwR6Jokk+/3oB6flu2/PnPXAh2x7x52EkY5xlIHLm+Le8tJxe/7TNhzw==", + "node_modules/pkg-dir/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, "dependencies": { - "colord": "^2.9.1", - "cssnano-utils": "^3.1.0", - "postcss-value-parser": "^4.2.0" + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" }, "engines": { - "node": "^10 || ^12 || >=14.0" - }, - "peerDependencies": { - "postcss": "^8.2.15" + "node": ">=8" } }, - "node_modules/postcss-minify-params": { - "version": "5.1.4", - "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-5.1.4.tgz", - "integrity": "sha512-+mePA3MgdmVmv6g+30rn57USjOGSAyuxUmkfiWpzalZ8aiBkdPYjXWtHuwJGm1v5Ojy0Z0LaSYhHaLJQB0P8Jw==", + "node_modules/pkg-dir/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, "dependencies": { - "browserslist": "^4.21.4", - "cssnano-utils": "^3.1.0", - "postcss-value-parser": "^4.2.0" + "p-locate": "^4.1.0" }, "engines": { - "node": "^10 || ^12 || >=14.0" - }, - "peerDependencies": { - "postcss": "^8.2.15" + "node": ">=8" } }, - "node_modules/postcss-minify-selectors": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-5.2.1.tgz", - "integrity": "sha512-nPJu7OjZJTsVUmPdm2TcaiohIwxP+v8ha9NehQ2ye9szv4orirRU3SDdtUmKH+10nzn0bAyOXZ0UEr7OpvLehg==", + "node_modules/pkg-dir/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, "dependencies": { - "postcss-selector-parser": "^6.0.5" + "p-try": "^2.0.0" }, "engines": { - "node": "^10 || ^12 || >=14.0" + "node": ">=6" }, - "peerDependencies": { - "postcss": "^8.2.15" + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/postcss-modules-extract-imports": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz", - "integrity": "sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw==", + "node_modules/pkg-dir/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, - "engines": { - "node": "^10 || ^12 || >= 14" + "dependencies": { + "p-limit": "^2.2.0" }, - "peerDependencies": { - "postcss": "^8.1.0" + "engines": { + "node": ">=8" } }, - "node_modules/postcss-modules-local-by-default": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.0.tgz", - "integrity": "sha512-sT7ihtmGSF9yhm6ggikHdV0hlziDTX7oFoXtuVWeDd3hHObNkcHRo9V3yg7vCAY7cONyxJC/XXCmmiHHcvX7bQ==", + "node_modules/pkg-up": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-3.1.0.tgz", + "integrity": "sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==", "dev": true, "dependencies": { - "icss-utils": "^5.0.0", - "postcss-selector-parser": "^6.0.2", - "postcss-value-parser": "^4.1.0" + "find-up": "^3.0.0" }, "engines": { - "node": "^10 || ^12 || >= 14" - }, - "peerDependencies": { - "postcss": "^8.1.0" + "node": ">=8" } }, - "node_modules/postcss-modules-scope": { + "node_modules/pkg-up/node_modules/find-up": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-3.0.0.tgz", - "integrity": "sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg==", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", "dev": true, "dependencies": { - "postcss-selector-parser": "^6.0.4" + "locate-path": "^3.0.0" }, "engines": { - "node": "^10 || ^12 || >= 14" + "node": ">=6" + } + }, + "node_modules/pkg-up/node_modules/locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "dev": true, + "dependencies": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" }, - "peerDependencies": { - "postcss": "^8.1.0" + "engines": { + "node": ">=6" } }, - "node_modules/postcss-modules-values": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz", - "integrity": "sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==", + "node_modules/pkg-up/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, "dependencies": { - "icss-utils": "^5.0.0" + "p-try": "^2.0.0" }, "engines": { - "node": "^10 || ^12 || >= 14" + "node": ">=6" }, - "peerDependencies": { - "postcss": "^8.1.0" + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/postcss-nested": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.0.tgz", - "integrity": "sha512-0DkamqrPcmkBDsLn+vQDIrtkSbNkv5AD/M322ySo9kqFkCIYklym2xEmWkwo+Y3/qZo34tzEPNUw4y7yMCdv5w==", + "node_modules/pkg-up/node_modules/p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", "dev": true, "dependencies": { - "postcss-selector-parser": "^6.0.10" + "p-limit": "^2.0.0" }, "engines": { - "node": ">=12.0" - }, + "node": ">=6" + } + }, + "node_modules/pkg-up/node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/polylabel": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/polylabel/-/polylabel-1.1.0.tgz", + "integrity": "sha512-bxaGcA40sL3d6M4hH72Z4NdLqxpXRsCFk8AITYg6x1rn1Ei3izf00UMLklerBZTO49aPA3CYrIwVulx2Bce2pA==", + "dependencies": { + "tinyqueue": "^2.0.3" + } + }, + "node_modules/popper.js": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.16.1.tgz", + "integrity": "sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ==", + "deprecated": "You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1", "funding": { "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "url": "https://opencollective.com/popperjs" + } + }, + "node_modules/postcss": { + "version": "8.4.21", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.21.tgz", + "integrity": "sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + } + ], + "dependencies": { + "nanoid": "^3.3.4", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" }, - "peerDependencies": { - "postcss": "^8.2.14" + "engines": { + "node": "^10 || ^12 || >=14" } }, - "node_modules/postcss-nesting": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/postcss-nesting/-/postcss-nesting-10.2.0.tgz", - "integrity": "sha512-EwMkYchxiDiKUhlJGzWsD9b2zvq/r2SSubcRrgP+jujMXFzqvANLt16lJANC+5uZ6hjI7lpRmI6O8JIl+8l1KA==", + "node_modules/postcss-attribute-case-insensitive": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/postcss-attribute-case-insensitive/-/postcss-attribute-case-insensitive-5.0.2.tgz", + "integrity": "sha512-XIidXV8fDr0kKt28vqki84fRK8VW8eTuIa4PChv2MqKuT6C9UjmSKzen6KaWhWEoYvwxFCa7n/tC1SZ3tyq4SQ==", "dev": true, "dependencies": { - "@csstools/selector-specificity": "^2.0.0", "postcss-selector-parser": "^6.0.10" }, "engines": { @@ -16739,102 +17887,113 @@ "postcss": "^8.2" } }, - "node_modules/postcss-normalize": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/postcss-normalize/-/postcss-normalize-10.0.1.tgz", - "integrity": "sha512-+5w18/rDev5mqERcG3W5GZNMJa1eoYYNGo8gB7tEwaos0ajk3ZXAI4mHGcNT47NE+ZnZD1pEpUOFLvltIwmeJA==", + "node_modules/postcss-browser-comments": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/postcss-browser-comments/-/postcss-browser-comments-4.0.0.tgz", + "integrity": "sha512-X9X9/WN3KIvY9+hNERUqX9gncsgBA25XaeR+jshHz2j8+sYyHktHw1JdKuMjeLpGktXidqDhA7b/qm1mrBDmgg==", "dev": true, - "dependencies": { - "@csstools/normalize.css": "*", - "postcss-browser-comments": "^4", - "sanitize.css": "*" - }, "engines": { - "node": ">= 12" + "node": ">=8" }, "peerDependencies": { - "browserslist": ">= 4", - "postcss": ">= 8" + "browserslist": ">=4", + "postcss": ">=8" } }, - "node_modules/postcss-normalize-charset": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-5.1.0.tgz", - "integrity": "sha512-mSgUJ+pd/ldRGVx26p2wz9dNZ7ji6Pn8VWBajMXFf8jk7vUoSrZ2lt/wZR7DtlZYKesmZI680qjr2CeFF2fbUg==", + "node_modules/postcss-calc": { + "version": "8.2.4", + "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-8.2.4.tgz", + "integrity": "sha512-SmWMSJmB8MRnnULldx0lQIyhSNvuDl9HfrZkaqqE/WHAhToYsAvDq+yAsA/kIyINDszOp3Rh0GFoNuH5Ypsm3Q==", "dev": true, - "engines": { - "node": "^10 || ^12 || >=14.0" + "dependencies": { + "postcss-selector-parser": "^6.0.9", + "postcss-value-parser": "^4.2.0" }, "peerDependencies": { - "postcss": "^8.2.15" + "postcss": "^8.2.2" } }, - "node_modules/postcss-normalize-display-values": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/postcss-normalize-display-values/-/postcss-normalize-display-values-5.1.0.tgz", - "integrity": "sha512-WP4KIM4o2dazQXWmFaqMmcvsKmhdINFblgSeRgn8BJ6vxaMyaJkwAzpPpuvSIoG/rmX3M+IrRZEz2H0glrQNEA==", + "node_modules/postcss-clamp": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/postcss-clamp/-/postcss-clamp-4.1.0.tgz", + "integrity": "sha512-ry4b1Llo/9zz+PKC+030KUnPITTJAHeOwjfAyyB60eT0AorGLdzp52s31OsPRHRf8NchkgFoG2y6fCfn1IV1Ow==", "dev": true, "dependencies": { "postcss-value-parser": "^4.2.0" }, "engines": { - "node": "^10 || ^12 || >=14.0" + "node": ">=7.6.0" }, "peerDependencies": { - "postcss": "^8.2.15" + "postcss": "^8.4.6" } }, - "node_modules/postcss-normalize-positions": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/postcss-normalize-positions/-/postcss-normalize-positions-5.1.1.tgz", - "integrity": "sha512-6UpCb0G4eofTCQLFVuI3EVNZzBNPiIKcA1AKVka+31fTVySphr3VUgAIULBhxZkKgwLImhzMR2Bw1ORK+37INg==", + "node_modules/postcss-color-functional-notation": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/postcss-color-functional-notation/-/postcss-color-functional-notation-4.2.4.tgz", + "integrity": "sha512-2yrTAUZUab9s6CpxkxC4rVgFEVaR6/2Pipvi6qcgvnYiVqZcbDHEoBDhrXzyb7Efh2CCfHQNtcqWcIruDTIUeg==", "dev": true, "dependencies": { "postcss-value-parser": "^4.2.0" }, "engines": { - "node": "^10 || ^12 || >=14.0" + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.2.15" + "postcss": "^8.2" } }, - "node_modules/postcss-normalize-repeat-style": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-5.1.1.tgz", - "integrity": "sha512-mFpLspGWkQtBcWIRFLmewo8aC3ImN2i/J3v8YCFUwDnPu3Xz4rLohDO26lGjwNsQxB3YF0KKRwspGzE2JEuS0g==", + "node_modules/postcss-color-hex-alpha": { + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/postcss-color-hex-alpha/-/postcss-color-hex-alpha-8.0.4.tgz", + "integrity": "sha512-nLo2DCRC9eE4w2JmuKgVA3fGL3d01kGq752pVALF68qpGLmx2Qrk91QTKkdUqqp45T1K1XV8IhQpcu1hoAQflQ==", "dev": true, "dependencies": { "postcss-value-parser": "^4.2.0" }, "engines": { - "node": "^10 || ^12 || >=14.0" + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.2.15" + "postcss": "^8.4" } }, - "node_modules/postcss-normalize-string": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/postcss-normalize-string/-/postcss-normalize-string-5.1.0.tgz", - "integrity": "sha512-oYiIJOf4T9T1N4i+abeIc7Vgm/xPCGih4bZz5Nm0/ARVJ7K6xrDlLwvwqOydvyL3RHNf8qZk6vo3aatiw/go3w==", + "node_modules/postcss-color-rebeccapurple": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/postcss-color-rebeccapurple/-/postcss-color-rebeccapurple-7.1.1.tgz", + "integrity": "sha512-pGxkuVEInwLHgkNxUc4sdg4g3py7zUeCQ9sMfwyHAT+Ezk8a4OaaVZ8lIY5+oNqA/BXXgLyXv0+5wHP68R79hg==", "dev": true, "dependencies": { "postcss-value-parser": "^4.2.0" }, "engines": { - "node": "^10 || ^12 || >=14.0" + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.2.15" + "postcss": "^8.2" } }, - "node_modules/postcss-normalize-timing-functions": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-5.1.0.tgz", - "integrity": "sha512-DOEkzJ4SAXv5xkHl0Wa9cZLF3WCBhF3o1SKVxKQAa+0pYKlueTpCgvkFAHfk+Y64ezX9+nITGrDZeVGgITJXjg==", + "node_modules/postcss-colormin": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-5.3.0.tgz", + "integrity": "sha512-WdDO4gOFG2Z8n4P8TWBpshnL3JpmNmJwdnfP2gbk2qBA8PWwOYcmjmI/t3CmMeL72a7Hkd+x/Mg9O2/0rD54Pg==", "dev": true, "dependencies": { + "browserslist": "^4.16.6", + "caniuse-api": "^3.0.0", + "colord": "^2.9.1", "postcss-value-parser": "^4.2.0" }, "engines": { @@ -16844,10 +18003,10 @@ "postcss": "^8.2.15" } }, - "node_modules/postcss-normalize-unicode": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/postcss-normalize-unicode/-/postcss-normalize-unicode-5.1.1.tgz", - "integrity": "sha512-qnCL5jzkNUmKVhZoENp1mJiGNPcsJCs1aaRmURmeJGES23Z/ajaln+EPTD+rBeNkSryI+2WTdW+lwcVdOikrpA==", + "node_modules/postcss-convert-values": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-5.1.3.tgz", + "integrity": "sha512-82pC1xkJZtcJEfiLw6UXnXVXScgtBrjlO5CBmuDQc+dlb88ZYheFsjTn40+zBVi3DkfF7iezO0nJUPLcJK3pvA==", "dev": true, "dependencies": { "browserslist": "^4.21.4", @@ -16860,82 +18019,70 @@ "postcss": "^8.2.15" } }, - "node_modules/postcss-normalize-url": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-5.1.0.tgz", - "integrity": "sha512-5upGeDO+PVthOxSmds43ZeMeZfKH+/DKgGRD7TElkkyS46JXAUhMzIKiCa7BabPeIy3AQcTkXwVVN7DbqsiCew==", + "node_modules/postcss-custom-media": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/postcss-custom-media/-/postcss-custom-media-8.0.2.tgz", + "integrity": "sha512-7yi25vDAoHAkbhAzX9dHx2yc6ntS4jQvejrNcC+csQJAXjj15e7VcWfMgLqBNAbOvqi5uIa9huOVwdHbf+sKqg==", "dev": true, "dependencies": { - "normalize-url": "^6.0.1", "postcss-value-parser": "^4.2.0" }, "engines": { - "node": "^10 || ^12 || >=14.0" + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.2.15" + "postcss": "^8.3" } }, - "node_modules/postcss-normalize-whitespace": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/postcss-normalize-whitespace/-/postcss-normalize-whitespace-5.1.1.tgz", - "integrity": "sha512-83ZJ4t3NUDETIHTa3uEg6asWjSBYL5EdkVB0sDncx9ERzOKBVJIUeDO9RyA9Zwtig8El1d79HBp0JEi8wvGQnA==", + "node_modules/postcss-custom-properties": { + "version": "12.1.11", + "resolved": "https://registry.npmjs.org/postcss-custom-properties/-/postcss-custom-properties-12.1.11.tgz", + "integrity": "sha512-0IDJYhgU8xDv1KY6+VgUwuQkVtmYzRwu+dMjnmdMafXYv86SWqfxkc7qdDvWS38vsjaEtv8e0vGOUQrAiMBLpQ==", "dev": true, "dependencies": { "postcss-value-parser": "^4.2.0" }, - "engines": { - "node": "^10 || ^12 || >=14.0" - }, - "peerDependencies": { - "postcss": "^8.2.15" - } - }, - "node_modules/postcss-opacity-percentage": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/postcss-opacity-percentage/-/postcss-opacity-percentage-1.1.3.tgz", - "integrity": "sha512-An6Ba4pHBiDtyVpSLymUUERMo2cU7s+Obz6BTrS+gxkbnSBNKSuD0AVUc+CpBMrpVPKKfoVz0WQCX+Tnst0i4A==", - "dev": true, - "funding": [ - { - "type": "kofi", - "url": "https://ko-fi.com/mrcgrtz" - }, - { - "type": "liberapay", - "url": "https://liberapay.com/mrcgrtz" - } - ], "engines": { "node": "^12 || ^14 || >=16" }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, "peerDependencies": { "postcss": "^8.2" } }, - "node_modules/postcss-ordered-values": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-5.1.3.tgz", - "integrity": "sha512-9UO79VUhPwEkzbb3RNpqqghc6lcYej1aveQteWY+4POIwlqkYE21HKWaLDF6lWNuqCobEAyTovVhtI32Rbv2RQ==", + "node_modules/postcss-custom-selectors": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/postcss-custom-selectors/-/postcss-custom-selectors-6.0.3.tgz", + "integrity": "sha512-fgVkmyiWDwmD3JbpCmB45SvvlCD6z9CG6Ie6Iere22W5aHea6oWa7EM2bpnv2Fj3I94L3VbtvX9KqwSi5aFzSg==", "dev": true, "dependencies": { - "cssnano-utils": "^3.1.0", - "postcss-value-parser": "^4.2.0" + "postcss-selector-parser": "^6.0.4" }, "engines": { - "node": "^10 || ^12 || >=14.0" + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.2.15" + "postcss": "^8.3" } }, - "node_modules/postcss-overflow-shorthand": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/postcss-overflow-shorthand/-/postcss-overflow-shorthand-3.0.4.tgz", - "integrity": "sha512-otYl/ylHK8Y9bcBnPLo3foYFLL6a6Ak+3EQBPOTR7luMYCOsiVTUk1iLvNf6tVPNGXcoL9Hoz37kpfriRIFb4A==", + "node_modules/postcss-dir-pseudo-class": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/postcss-dir-pseudo-class/-/postcss-dir-pseudo-class-6.0.5.tgz", + "integrity": "sha512-eqn4m70P031PF7ZQIvSgy9RSJ5uI2171O/OO/zcRNYpJbvaeKFUlar1aJ7rmgiQtbm0FSPsRewjpdS0Oew7MPA==", "dev": true, "dependencies": { - "postcss-value-parser": "^4.2.0" + "postcss-selector-parser": "^6.0.10" }, "engines": { "node": "^12 || ^14 || >=16" @@ -16948,21 +18095,61 @@ "postcss": "^8.2" } }, - "node_modules/postcss-page-break": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/postcss-page-break/-/postcss-page-break-3.0.4.tgz", - "integrity": "sha512-1JGu8oCjVXLa9q9rFTo4MbeeA5FMe00/9C7lN4va606Rdb+HkxXtXsmEDrIraQ11fGz/WvKWa8gMuCKkrXpTsQ==", + "node_modules/postcss-discard-comments": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-5.1.2.tgz", + "integrity": "sha512-+L8208OVbHVF2UQf1iDmRcbdjJkuBF6IS29yBDSiWUIzpYaAhtNl6JYnYm12FnkeCwQqF5LeklOu6rAqgfBZqQ==", "dev": true, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, "peerDependencies": { - "postcss": "^8" + "postcss": "^8.2.15" } }, - "node_modules/postcss-place": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/postcss-place/-/postcss-place-7.0.5.tgz", - "integrity": "sha512-wR8igaZROA6Z4pv0d+bvVrvGY4GVHihBCBQieXFY3kuSuMyOmEnnfFzHl/tQuqHZkfkIVBEbDvYcFfHmpSet9g==", + "node_modules/postcss-discard-duplicates": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-5.1.0.tgz", + "integrity": "sha512-zmX3IoSI2aoenxHV6C7plngHWWhUOV3sP1T8y2ifzxzbtnuhk1EdPwm0S1bIUNaJ2eNbWeGLEwzw8huPD67aQw==", + "dev": true, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-discard-empty": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-5.1.1.tgz", + "integrity": "sha512-zPz4WljiSuLWsI0ir4Mcnr4qQQ5e1Ukc3i7UfE2XcrwKK2LIPIqE5jxMRxO6GbI3cv//ztXDsXwEWT3BHOGh3A==", + "dev": true, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-discard-overridden": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-5.1.0.tgz", + "integrity": "sha512-21nOL7RqWR1kasIVdKs8HNqQJhFxLsyRfAnUDm4Fe4t4mCWL9OJiHvlHPjcd8zc5Myu89b/7wZDnOSjFgeWRtw==", + "dev": true, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" + } + }, + "node_modules/postcss-double-position-gradients": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/postcss-double-position-gradients/-/postcss-double-position-gradients-3.1.2.tgz", + "integrity": "sha512-GX+FuE/uBR6eskOK+4vkXgT6pDkexLokPaz/AbJna9s5Kzp/yl488pKPjhy0obB475ovfT1Wv8ho7U/cHNaRgQ==", "dev": true, "dependencies": { + "@csstools/postcss-progressive-custom-properties": "^1.1.0", "postcss-value-parser": "^4.2.0" }, "engines": { @@ -16976,81 +18163,74 @@ "postcss": "^8.2" } }, - "node_modules/postcss-preset-env": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/postcss-preset-env/-/postcss-preset-env-7.8.3.tgz", - "integrity": "sha512-T1LgRm5uEVFSEF83vHZJV2z19lHg4yJuZ6gXZZkqVsqv63nlr6zabMH3l4Pc01FQCyfWVrh2GaUeCVy9Po+Aag==", + "node_modules/postcss-env-function": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/postcss-env-function/-/postcss-env-function-4.0.6.tgz", + "integrity": "sha512-kpA6FsLra+NqcFnL81TnsU+Z7orGtDTxcOhl6pwXeEq1yFPpRMkCDpHhrz8CFQDr/Wfm0jLiNQ1OsGGPjlqPwA==", "dev": true, "dependencies": { - "@csstools/postcss-cascade-layers": "^1.1.1", - "@csstools/postcss-color-function": "^1.1.1", - "@csstools/postcss-font-format-keywords": "^1.0.1", - "@csstools/postcss-hwb-function": "^1.0.2", - "@csstools/postcss-ic-unit": "^1.0.1", - "@csstools/postcss-is-pseudo-class": "^2.0.7", - "@csstools/postcss-nested-calc": "^1.0.0", - "@csstools/postcss-normalize-display-values": "^1.0.1", - "@csstools/postcss-oklab-function": "^1.1.1", - "@csstools/postcss-progressive-custom-properties": "^1.3.0", - "@csstools/postcss-stepped-value-functions": "^1.0.1", - "@csstools/postcss-text-decoration-shorthand": "^1.0.0", - "@csstools/postcss-trigonometric-functions": "^1.0.2", - "@csstools/postcss-unset-value": "^1.0.2", - "autoprefixer": "^10.4.13", - "browserslist": "^4.21.4", - "css-blank-pseudo": "^3.0.3", - "css-has-pseudo": "^3.0.4", - "css-prefers-color-scheme": "^6.0.3", - "cssdb": "^7.1.0", - "postcss-attribute-case-insensitive": "^5.0.2", - "postcss-clamp": "^4.1.0", - "postcss-color-functional-notation": "^4.2.4", - "postcss-color-hex-alpha": "^8.0.4", - "postcss-color-rebeccapurple": "^7.1.1", - "postcss-custom-media": "^8.0.2", - "postcss-custom-properties": "^12.1.10", - "postcss-custom-selectors": "^6.0.3", - "postcss-dir-pseudo-class": "^6.0.5", - "postcss-double-position-gradients": "^3.1.2", - "postcss-env-function": "^4.0.6", - "postcss-focus-visible": "^6.0.4", - "postcss-focus-within": "^5.0.4", - "postcss-font-variant": "^5.0.0", - "postcss-gap-properties": "^3.0.5", - "postcss-image-set-function": "^4.0.7", - "postcss-initial": "^4.0.1", - "postcss-lab-function": "^4.2.1", - "postcss-logical": "^5.0.4", - "postcss-media-minmax": "^5.0.0", - "postcss-nesting": "^10.2.0", - "postcss-opacity-percentage": "^1.1.2", - "postcss-overflow-shorthand": "^3.0.4", - "postcss-page-break": "^3.0.4", - "postcss-place": "^7.0.5", - "postcss-pseudo-class-any-link": "^7.1.6", - "postcss-replace-overflow-wrap": "^4.0.0", - "postcss-selector-not": "^6.0.1", "postcss-value-parser": "^4.2.0" }, "engines": { "node": "^12 || ^14 || >=16" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" + "peerDependencies": { + "postcss": "^8.4" + } + }, + "node_modules/postcss-flexbugs-fixes": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/postcss-flexbugs-fixes/-/postcss-flexbugs-fixes-5.0.2.tgz", + "integrity": "sha512-18f9voByak7bTktR2QgDveglpn9DTbBWPUzSOe9g0N4WR/2eSt6Vrcbf0hmspvMI6YWGywz6B9f7jzpFNJJgnQ==", + "dev": true, + "peerDependencies": { + "postcss": "^8.1.4" + } + }, + "node_modules/postcss-focus-visible": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/postcss-focus-visible/-/postcss-focus-visible-6.0.4.tgz", + "integrity": "sha512-QcKuUU/dgNsstIK6HELFRT5Y3lbrMLEOwG+A4s5cA+fx3A3y/JTq3X9LaOj3OC3ALH0XqyrgQIgey/MIZ8Wczw==", + "dev": true, + "dependencies": { + "postcss-selector-parser": "^6.0.9" + }, + "engines": { + "node": "^12 || ^14 || >=16" }, "peerDependencies": { - "postcss": "^8.2" + "postcss": "^8.4" } }, - "node_modules/postcss-pseudo-class-any-link": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/postcss-pseudo-class-any-link/-/postcss-pseudo-class-any-link-7.1.6.tgz", - "integrity": "sha512-9sCtZkO6f/5ML9WcTLcIyV1yz9D1rf0tWc+ulKcvV30s0iZKS/ONyETvoWsr6vnrmW+X+KmuK3gV/w5EWnT37w==", + "node_modules/postcss-focus-within": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/postcss-focus-within/-/postcss-focus-within-5.0.4.tgz", + "integrity": "sha512-vvjDN++C0mu8jz4af5d52CB184ogg/sSxAFS+oUJQq2SuCe7T5U2iIsVJtsCp2d6R4j0jr5+q3rPkBVZkXD9fQ==", "dev": true, "dependencies": { - "postcss-selector-parser": "^6.0.10" + "postcss-selector-parser": "^6.0.9" + }, + "engines": { + "node": "^12 || ^14 || >=16" }, + "peerDependencies": { + "postcss": "^8.4" + } + }, + "node_modules/postcss-font-variant": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/postcss-font-variant/-/postcss-font-variant-5.0.0.tgz", + "integrity": "sha512-1fmkBaCALD72CK2a9i468mA/+tr9/1cBxRRMXOUaZqO43oWPR5imcyPjXwuv7PXbCid4ndlP5zWhidQVVa3hmA==", + "dev": true, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-gap-properties": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/postcss-gap-properties/-/postcss-gap-properties-3.0.5.tgz", + "integrity": "sha512-IuE6gKSdoUNcvkGIqdtjtcMtZIFyXZhmFd5RUlg97iVEvp1BZKV5ngsAjCjrVy+14uhGBQl9tzmi1Qwq4kqVOg==", + "dev": true, "engines": { "node": "^12 || ^14 || >=16" }, @@ -17062,53 +18242,78 @@ "postcss": "^8.2" } }, - "node_modules/postcss-reduce-initial": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-5.1.1.tgz", - "integrity": "sha512-//jeDqWcHPuXGZLoolFrUXBDyuEGbr9S2rMo19bkTIjBQ4PqkaO+oI8wua5BOUxpfi97i3PCoInsiFIEBfkm9w==", + "node_modules/postcss-image-set-function": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/postcss-image-set-function/-/postcss-image-set-function-4.0.7.tgz", + "integrity": "sha512-9T2r9rsvYzm5ndsBE8WgtrMlIT7VbtTfE7b3BQnudUqnBcBo7L758oc+o+pdj/dUV0l5wjwSdjeOH2DZtfv8qw==", "dev": true, "dependencies": { - "browserslist": "^4.21.4", - "caniuse-api": "^3.0.0" + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": "^10 || ^12 || >=14.0" + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "postcss": "^8.2.15" + "postcss": "^8.2" } }, - "node_modules/postcss-reduce-transforms": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-5.1.0.tgz", - "integrity": "sha512-2fbdbmgir5AvpW9RLtdONx1QoYG2/EtqpNQbFASDlixBbAYuTcJ0dECwlqNqH7VbaUnEnh8SrxOe2sRIn24XyQ==", + "node_modules/postcss-import": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-14.1.0.tgz", + "integrity": "sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw==", "dev": true, "dependencies": { - "postcss-value-parser": "^4.2.0" + "postcss-value-parser": "^4.0.0", + "read-cache": "^1.0.0", + "resolve": "^1.1.7" }, "engines": { - "node": "^10 || ^12 || >=14.0" + "node": ">=10.0.0" }, "peerDependencies": { - "postcss": "^8.2.15" + "postcss": "^8.0.0" } }, - "node_modules/postcss-replace-overflow-wrap": { + "node_modules/postcss-initial": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-initial/-/postcss-initial-4.0.1.tgz", + "integrity": "sha512-0ueD7rPqX8Pn1xJIjay0AZeIuDoF+V+VvMt/uOnn+4ezUKhZM/NokDeP6DwMNyIoYByuN/94IQnt5FEkaN59xQ==", + "dev": true, + "peerDependencies": { + "postcss": "^8.0.0" + } + }, + "node_modules/postcss-js": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/postcss-replace-overflow-wrap/-/postcss-replace-overflow-wrap-4.0.0.tgz", - "integrity": "sha512-KmF7SBPphT4gPPcKZc7aDkweHiKEEO8cla/GjcBK+ckKxiZslIu3C4GCRW3DNfL0o7yW7kMQu9xlZ1kXRXLXtw==", + "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.0.tgz", + "integrity": "sha512-77QESFBwgX4irogGVPgQ5s07vLvFqWr228qZY+w6lW599cRlK/HmnlivnnVUxkjHnCu4J16PDMHcH+e+2HbvTQ==", "dev": true, + "dependencies": { + "camelcase-css": "^2.0.1" + }, + "engines": { + "node": "^12 || ^14 || >= 16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, "peerDependencies": { - "postcss": "^8.0.3" + "postcss": "^8.3.3" } }, - "node_modules/postcss-selector-not": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/postcss-selector-not/-/postcss-selector-not-6.0.1.tgz", - "integrity": "sha512-1i9affjAe9xu/y9uqWH+tD4r6/hDaXJruk8xn2x1vzxC2U3J3LKO3zJW4CyxlNhA56pADJ/djpEwpH1RClI2rQ==", + "node_modules/postcss-lab-function": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/postcss-lab-function/-/postcss-lab-function-4.2.1.tgz", + "integrity": "sha512-xuXll4isR03CrQsmxyz92LJB2xX9n+pZJ5jE9JgcnmsCammLyKdlzrBin+25dy6wIjfhJpKBAN80gsTlCgRk2w==", "dev": true, "dependencies": { - "postcss-selector-parser": "^6.0.10" + "@csstools/postcss-progressive-custom-properties": "^1.1.0", + "postcss-value-parser": "^4.2.0" }, "engines": { "node": "^12 || ^14 || >=16" @@ -17121,99 +18326,139 @@ "postcss": "^8.2" } }, - "node_modules/postcss-selector-parser": { - "version": "6.0.11", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.11.tgz", - "integrity": "sha512-zbARubNdogI9j7WY4nQJBiNqQf3sLS3wCP4WfOidu+p28LofJqDH1tcXypGrcmMHhDk2t9wGhCsYe/+szLTy1g==", + "node_modules/postcss-load-config": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-3.1.4.tgz", + "integrity": "sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==", "dev": true, "dependencies": { - "cssesc": "^3.0.0", - "util-deprecate": "^1.0.2" + "lilconfig": "^2.0.5", + "yaml": "^1.10.2" }, "engines": { - "node": ">=4" + "node": ">= 10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": ">=8.0.9", + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "postcss": { + "optional": true + }, + "ts-node": { + "optional": true + } } }, - "node_modules/postcss-svgo": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-5.1.0.tgz", - "integrity": "sha512-D75KsH1zm5ZrHyxPakAxJWtkyXew5qwS70v56exwvw542d9CRtTo78K0WeFxZB4G7JXKKMbEZtZayTGdIky/eA==", + "node_modules/postcss-loader": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-6.2.1.tgz", + "integrity": "sha512-WbbYpmAaKcux/P66bZ40bpWsBucjx/TTgVVzRZ9yUO8yQfVBlameJ0ZGVaPfH64hNSBh63a+ICP5nqOpBA0w+Q==", "dev": true, "dependencies": { - "postcss-value-parser": "^4.2.0", - "svgo": "^2.7.0" + "cosmiconfig": "^7.0.0", + "klona": "^2.0.5", + "semver": "^7.3.5" }, "engines": { - "node": "^10 || ^12 || >=14.0" + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" }, "peerDependencies": { - "postcss": "^8.2.15" + "postcss": "^7.0.0 || ^8.0.1", + "webpack": "^5.0.0" } }, - "node_modules/postcss-svgo/node_modules/commander": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", - "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", + "node_modules/postcss-loader/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, "engines": { - "node": ">= 10" + "node": ">=10" } }, - "node_modules/postcss-svgo/node_modules/css-tree": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz", - "integrity": "sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==", + "node_modules/postcss-loader/node_modules/semver": { + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "dependencies": { - "mdn-data": "2.0.14", - "source-map": "^0.6.1" + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" }, "engines": { - "node": ">=8.0.0" + "node": ">=10" } }, - "node_modules/postcss-svgo/node_modules/mdn-data": { - "version": "2.0.14", - "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.14.tgz", - "integrity": "sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==", + "node_modules/postcss-loader/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "dev": true }, - "node_modules/postcss-svgo/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "node_modules/postcss-logical": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/postcss-logical/-/postcss-logical-5.0.4.tgz", + "integrity": "sha512-RHXxplCeLh9VjinvMrZONq7im4wjWGlRJAqmAVLXyZaXwfDWP73/oq4NdIp+OZwhQUMj0zjqDfM5Fj7qby+B4g==", "dev": true, "engines": { - "node": ">=0.10.0" + "node": "^12 || ^14 || >=16" + }, + "peerDependencies": { + "postcss": "^8.4" } }, - "node_modules/postcss-svgo/node_modules/svgo": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/svgo/-/svgo-2.8.0.tgz", - "integrity": "sha512-+N/Q9kV1+F+UeWYoSiULYo4xYSDQlTgb+ayMobAXPwMnLvop7oxKMo9OzIrX5x3eS4L4f2UHhc9axXwY8DpChg==", + "node_modules/postcss-media-minmax": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/postcss-media-minmax/-/postcss-media-minmax-5.0.0.tgz", + "integrity": "sha512-yDUvFf9QdFZTuCUg0g0uNSHVlJ5X1lSzDZjPSFaiCWvjgsvu8vEVxtahPrLMinIDEEGnx6cBe6iqdx5YWz08wQ==", "dev": true, - "dependencies": { - "@trysound/sax": "0.2.0", - "commander": "^7.2.0", - "css-select": "^4.1.3", - "css-tree": "^1.1.3", - "csso": "^4.2.0", - "picocolors": "^1.0.0", - "stable": "^0.1.8" + "engines": { + "node": ">=10.0.0" }, - "bin": { - "svgo": "bin/svgo" + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-merge-longhand": { + "version": "5.1.7", + "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-5.1.7.tgz", + "integrity": "sha512-YCI9gZB+PLNskrK0BB3/2OzPnGhPkBEwmwhfYk1ilBHYVAZB7/tkTHFBAnCrvBBOmeYyMYw3DMjT55SyxMBzjQ==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.2.0", + "stylehacks": "^5.1.1" }, "engines": { - "node": ">=10.13.0" + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" } }, - "node_modules/postcss-unique-selectors": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-5.1.1.tgz", - "integrity": "sha512-5JiODlELrz8L2HwxfPnhOWZYWDxVHWL83ufOv84NrcgipI7TaeRsatAhK4Tr2/ZiYldpK/wBvw5BD3qfaK96GA==", + "node_modules/postcss-merge-rules": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-5.1.3.tgz", + "integrity": "sha512-LbLd7uFC00vpOuMvyZop8+vvhnfRGpp2S+IMQKeuOZZapPRY4SMq5ErjQeHbHsjCUgJkRNrlU+LmxsKIqPKQlA==", "dev": true, "dependencies": { + "browserslist": "^4.21.4", + "caniuse-api": "^3.0.0", + "cssnano-utils": "^3.1.0", "postcss-selector-parser": "^6.0.5" }, "engines": { @@ -17223,1196 +18468,2874 @@ "postcss": "^8.2.15" } }, - "node_modules/postcss-value-parser": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", - "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" - }, - "node_modules/prelude-ls": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "node_modules/postcss-minify-font-values": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-5.1.0.tgz", + "integrity": "sha512-el3mYTgx13ZAPPirSVsHqFzl+BBBDrXvbySvPGFnQcTI4iNslrPaFq4muTkLZmKlGk4gyFAYUBMH30+HurREyA==", "dev": true, + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, "engines": { - "node": ">= 0.8.0" + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" } }, - "node_modules/prettier": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", - "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", + "node_modules/postcss-minify-gradients": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-5.1.1.tgz", + "integrity": "sha512-VGvXMTpCEo4qHTNSa9A0a3D+dxGFZCYwR6Jokk+/3oB6flu2/PnPXAh2x7x52EkY5xlIHLm+Le8tJxe/7TNhzw==", "dev": true, - "bin": { - "prettier": "bin-prettier.js" + "dependencies": { + "colord": "^2.9.1", + "cssnano-utils": "^3.1.0", + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">=10.13.0" + "node": "^10 || ^12 || >=14.0" }, - "funding": { - "url": "https://github.com/prettier/prettier?sponsor=1" + "peerDependencies": { + "postcss": "^8.2.15" } }, - "node_modules/prettier-linter-helpers": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", - "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", + "node_modules/postcss-minify-params": { + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-5.1.4.tgz", + "integrity": "sha512-+mePA3MgdmVmv6g+30rn57USjOGSAyuxUmkfiWpzalZ8aiBkdPYjXWtHuwJGm1v5Ojy0Z0LaSYhHaLJQB0P8Jw==", "dev": true, "dependencies": { - "fast-diff": "^1.1.2" + "browserslist": "^4.21.4", + "cssnano-utils": "^3.1.0", + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">=6.0.0" + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" } }, - "node_modules/pretty": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/pretty/-/pretty-2.0.0.tgz", - "integrity": "sha512-G9xUchgTEiNpormdYBl+Pha50gOUovT18IvAe7EYMZ1/f9W/WWMPRn+xI68yXNMUk3QXHDwo/1wV/4NejVNe1w==", + "node_modules/postcss-minify-selectors": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-5.2.1.tgz", + "integrity": "sha512-nPJu7OjZJTsVUmPdm2TcaiohIwxP+v8ha9NehQ2ye9szv4orirRU3SDdtUmKH+10nzn0bAyOXZ0UEr7OpvLehg==", "dev": true, "dependencies": { - "condense-newlines": "^0.2.1", - "extend-shallow": "^2.0.1", - "js-beautify": "^1.6.12" + "postcss-selector-parser": "^6.0.5" }, "engines": { - "node": ">=0.10.0" + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" } }, - "node_modules/pretty-bytes": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.6.0.tgz", - "integrity": "sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==", + "node_modules/postcss-modules-extract-imports": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz", + "integrity": "sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw==", "dev": true, "engines": { - "node": ">=6" + "node": "^10 || ^12 || >= 14" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "peerDependencies": { + "postcss": "^8.1.0" } }, - "node_modules/pretty-error": { + "node_modules/postcss-modules-local-by-default": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/pretty-error/-/pretty-error-4.0.0.tgz", - "integrity": "sha512-AoJ5YMAcXKYxKhuJGdcvse+Voc6v1RgnsR3nWcYU7q4t6z0Q6T86sv5Zq8VIRbOWWFpvdGE83LtdSMNd+6Y0xw==", - "dev": true, - "dependencies": { - "lodash": "^4.17.20", - "renderkid": "^3.0.0" - } - }, - "node_modules/pretty-format": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz", - "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==", + "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.0.tgz", + "integrity": "sha512-sT7ihtmGSF9yhm6ggikHdV0hlziDTX7oFoXtuVWeDd3hHObNkcHRo9V3yg7vCAY7cONyxJC/XXCmmiHHcvX7bQ==", "dev": true, "dependencies": { - "@jest/types": "^26.6.2", - "ansi-regex": "^5.0.0", - "ansi-styles": "^4.0.0", - "react-is": "^17.0.1" + "icss-utils": "^5.0.0", + "postcss-selector-parser": "^6.0.2", + "postcss-value-parser": "^4.1.0" }, "engines": { - "node": ">= 10" + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" } }, - "node_modules/pretty-format/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, - "node_modules/pretty-quick": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/pretty-quick/-/pretty-quick-3.1.0.tgz", - "integrity": "sha512-DtxIxksaUWCgPFN7E1ZZk4+Aav3CCuRdhrDSFZENb404sYMtuo9Zka823F+Mgeyt8Zt3bUiCjFzzWYE9LYqkmQ==", + "node_modules/postcss-modules-scope": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-3.0.0.tgz", + "integrity": "sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg==", "dev": true, "dependencies": { - "chalk": "^3.0.0", - "execa": "^4.0.0", - "find-up": "^4.1.0", - "ignore": "^5.1.4", - "mri": "^1.1.5", - "multimatch": "^4.0.0" - }, - "bin": { - "pretty-quick": "bin/pretty-quick.js" + "postcss-selector-parser": "^6.0.4" }, "engines": { - "node": ">=10.13" + "node": "^10 || ^12 || >= 14" }, "peerDependencies": { - "prettier": ">=2.0.0" + "postcss": "^8.1.0" } }, - "node_modules/pretty-quick/node_modules/chalk": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", - "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", + "node_modules/postcss-modules-values": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz", + "integrity": "sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==", "dev": true, "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" + "icss-utils": "^5.0.0" }, "engines": { - "node": ">=8" - } - }, - "node_modules/pretty-quick/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" + "node": "^10 || ^12 || >= 14" }, - "engines": { - "node": ">=8" + "peerDependencies": { + "postcss": "^8.1.0" } }, - "node_modules/pretty-quick/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "node_modules/postcss-nested": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.0.tgz", + "integrity": "sha512-0DkamqrPcmkBDsLn+vQDIrtkSbNkv5AD/M322ySo9kqFkCIYklym2xEmWkwo+Y3/qZo34tzEPNUw4y7yMCdv5w==", "dev": true, "dependencies": { - "p-locate": "^4.1.0" + "postcss-selector-parser": "^6.0.10" }, "engines": { - "node": ">=8" + "node": ">=12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": "^8.2.14" } }, - "node_modules/pretty-quick/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "node_modules/postcss-nesting": { + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/postcss-nesting/-/postcss-nesting-10.2.0.tgz", + "integrity": "sha512-EwMkYchxiDiKUhlJGzWsD9b2zvq/r2SSubcRrgP+jujMXFzqvANLt16lJANC+5uZ6hjI7lpRmI6O8JIl+8l1KA==", "dev": true, "dependencies": { - "p-try": "^2.0.0" + "@csstools/selector-specificity": "^2.0.0", + "postcss-selector-parser": "^6.0.10" }, "engines": { - "node": ">=6" + "node": "^12 || ^14 || >=16" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/pretty-quick/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "node_modules/postcss-normalize": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/postcss-normalize/-/postcss-normalize-10.0.1.tgz", + "integrity": "sha512-+5w18/rDev5mqERcG3W5GZNMJa1eoYYNGo8gB7tEwaos0ajk3ZXAI4mHGcNT47NE+ZnZD1pEpUOFLvltIwmeJA==", "dev": true, "dependencies": { - "p-limit": "^2.2.0" + "@csstools/normalize.css": "*", + "postcss-browser-comments": "^4", + "sanitize.css": "*" }, "engines": { - "node": ">=8" - } - }, - "node_modules/prismjs": { - "version": "1.29.0", - "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.29.0.tgz", - "integrity": "sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==", - "dev": true, - "engines": { - "node": ">=6" + "node": ">= 12" + }, + "peerDependencies": { + "browserslist": ">= 4", + "postcss": ">= 8" } }, - "node_modules/private": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", - "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==", + "node_modules/postcss-normalize-charset": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-5.1.0.tgz", + "integrity": "sha512-mSgUJ+pd/ldRGVx26p2wz9dNZ7ji6Pn8VWBajMXFf8jk7vUoSrZ2lt/wZR7DtlZYKesmZI680qjr2CeFF2fbUg==", "dev": true, "engines": { - "node": ">= 0.6" - } - }, - "node_modules/process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", - "dev": true - }, - "node_modules/promise": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/promise/-/promise-8.3.0.tgz", - "integrity": "sha512-rZPNPKTOYVNEEKFaq1HqTgOwZD+4/YHS5ukLzQCypkj+OkYx7iv0mA91lJlpPPZ8vMau3IIGj5Qlwrx+8iiSmg==", - "dev": true, - "dependencies": { - "asap": "~2.0.6" + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" } }, - "node_modules/promise-polyfill": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-8.3.0.tgz", - "integrity": "sha512-H5oELycFml5yto/atYqmjyigJoAo3+OXwolYiH7OfQuYlAqhxNvTfiNMbV9hsC6Yp83yE5r2KTVmtrG6R9i6Pg==", - "dev": true - }, - "node_modules/prompts": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", - "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", + "node_modules/postcss-normalize-display-values": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-display-values/-/postcss-normalize-display-values-5.1.0.tgz", + "integrity": "sha512-WP4KIM4o2dazQXWmFaqMmcvsKmhdINFblgSeRgn8BJ6vxaMyaJkwAzpPpuvSIoG/rmX3M+IrRZEz2H0glrQNEA==", "dev": true, "dependencies": { - "kleur": "^3.0.3", - "sisteransi": "^1.0.5" + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">= 6" - } - }, - "node_modules/prop-types": { - "version": "15.8.1", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", - "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", - "dependencies": { - "loose-envify": "^1.4.0", - "object-assign": "^4.1.1", - "react-is": "^16.13.1" - } - }, - "node_modules/prop-types-extra": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/prop-types-extra/-/prop-types-extra-1.1.1.tgz", - "integrity": "sha512-59+AHNnHYCdiC+vMwY52WmvP5dM3QLeoumYuEyceQDi9aEhtwN9zIQ2ZNo25sMyXnbh32h+P1ezDsUpUH3JAew==", - "dependencies": { - "react-is": "^16.3.2", - "warning": "^4.0.0" + "node": "^10 || ^12 || >=14.0" }, "peerDependencies": { - "react": ">=0.14.0" + "postcss": "^8.2.15" } }, - "node_modules/prop-types-extra/node_modules/react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" - }, - "node_modules/prop-types/node_modules/react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" - }, - "node_modules/property-expr": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/property-expr/-/property-expr-2.0.5.tgz", - "integrity": "sha512-IJUkICM5dP5znhCckHSv30Q4b5/JA5enCtkRHYaOVOAocnH/1BQEYTC5NMfT3AVl/iXKdr3aqQbQn9DxyWknwA==" - }, - "node_modules/proto-list": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", - "integrity": "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==", - "dev": true - }, - "node_modules/proxy-addr": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", - "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "node_modules/postcss-normalize-positions": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-positions/-/postcss-normalize-positions-5.1.1.tgz", + "integrity": "sha512-6UpCb0G4eofTCQLFVuI3EVNZzBNPiIKcA1AKVka+31fTVySphr3VUgAIULBhxZkKgwLImhzMR2Bw1ORK+37INg==", "dev": true, "dependencies": { - "forwarded": "0.2.0", - "ipaddr.js": "1.9.1" + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">= 0.10" - } - }, - "node_modules/proxy-addr/node_modules/ipaddr.js": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", - "dev": true, - "engines": { - "node": ">= 0.10" + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" } }, - "node_modules/pseudomap": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", - "integrity": "sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==", - "dev": true - }, - "node_modules/psl": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz", - "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==", - "dev": true - }, - "node_modules/pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "node_modules/postcss-normalize-repeat-style": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-5.1.1.tgz", + "integrity": "sha512-mFpLspGWkQtBcWIRFLmewo8aC3ImN2i/J3v8YCFUwDnPu3Xz4rLohDO26lGjwNsQxB3YF0KKRwspGzE2JEuS0g==", "dev": true, "dependencies": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "node_modules/punycode": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", - "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/q": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", - "integrity": "sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==", - "dev": true, + "postcss-value-parser": "^4.2.0" + }, "engines": { - "node": ">=0.6.0", - "teleport": ">=0.2.0" + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" } }, - "node_modules/q-i": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/q-i/-/q-i-2.0.1.tgz", - "integrity": "sha512-tr7CzPNxkBDBuPzqi/HDUS4uBOppb91akNTeh56TYio8TiIeXp2Yp8ea9NmDu2DmGH35ZjJDq6C3E4SepVZ4bQ==", + "node_modules/postcss-normalize-string": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-string/-/postcss-normalize-string-5.1.0.tgz", + "integrity": "sha512-oYiIJOf4T9T1N4i+abeIc7Vgm/xPCGih4bZz5Nm0/ARVJ7K6xrDlLwvwqOydvyL3RHNf8qZk6vo3aatiw/go3w==", "dev": true, "dependencies": { - "ansi-styles": "^3.2.0", - "is-plain-object": "^2.0.4", - "stringify-object": "^3.2.0" + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">=4" + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" } }, - "node_modules/q-i/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "node_modules/postcss-normalize-timing-functions": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-5.1.0.tgz", + "integrity": "sha512-DOEkzJ4SAXv5xkHl0Wa9cZLF3WCBhF3o1SKVxKQAa+0pYKlueTpCgvkFAHfk+Y64ezX9+nITGrDZeVGgITJXjg==", "dev": true, "dependencies": { - "color-convert": "^1.9.0" + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">=4" + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" } }, - "node_modules/q-i/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "node_modules/postcss-normalize-unicode": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-unicode/-/postcss-normalize-unicode-5.1.1.tgz", + "integrity": "sha512-qnCL5jzkNUmKVhZoENp1mJiGNPcsJCs1aaRmURmeJGES23Z/ajaln+EPTD+rBeNkSryI+2WTdW+lwcVdOikrpA==", "dev": true, "dependencies": { - "color-name": "1.1.3" + "browserslist": "^4.21.4", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" } }, - "node_modules/q-i/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true - }, - "node_modules/qs": { - "version": "6.11.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", - "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", + "node_modules/postcss-normalize-url": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-5.1.0.tgz", + "integrity": "sha512-5upGeDO+PVthOxSmds43ZeMeZfKH+/DKgGRD7TElkkyS46JXAUhMzIKiCa7BabPeIy3AQcTkXwVVN7DbqsiCew==", "dev": true, "dependencies": { - "side-channel": "^1.0.4" + "normalize-url": "^6.0.1", + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">=0.6" + "node": "^10 || ^12 || >=14.0" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "peerDependencies": { + "postcss": "^8.2.15" } }, - "node_modules/qss": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/qss/-/qss-2.0.3.tgz", - "integrity": "sha512-j48ZBT5IZbSqJiSU8EX4XrN8nXiflHvmMvv2XpFc31gh7n6EpSs75bNr6+oj3FOLWyT8m09pTmqLNl34L7/uPQ==", + "node_modules/postcss-normalize-whitespace": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-whitespace/-/postcss-normalize-whitespace-5.1.1.tgz", + "integrity": "sha512-83ZJ4t3NUDETIHTa3uEg6asWjSBYL5EdkVB0sDncx9ERzOKBVJIUeDO9RyA9Zwtig8El1d79HBp0JEi8wvGQnA==", "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/query-string": { - "version": "6.12.1", - "resolved": "https://registry.npmjs.org/query-string/-/query-string-6.12.1.tgz", - "integrity": "sha512-OHj+zzfRMyj3rmo/6G8a5Ifvw3AleL/EbcHMD27YA31Q+cO5lfmQxECkImuNVjcskLcvBRVHNAB3w6udMs1eAA==", "dependencies": { - "decode-uri-component": "^0.2.0", - "split-on-first": "^1.0.0", - "strict-uri-encode": "^2.0.0" + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">=6" + "node": "^10 || ^12 || >=14.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "peerDependencies": { + "postcss": "^8.2.15" } }, - "node_modules/querystringify": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", - "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==", - "dev": true - }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "node_modules/postcss-opacity-percentage": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/postcss-opacity-percentage/-/postcss-opacity-percentage-1.1.3.tgz", + "integrity": "sha512-An6Ba4pHBiDtyVpSLymUUERMo2cU7s+Obz6BTrS+gxkbnSBNKSuD0AVUc+CpBMrpVPKKfoVz0WQCX+Tnst0i4A==", "dev": true, "funding": [ { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" + "type": "kofi", + "url": "https://ko-fi.com/mrcgrtz" }, { - "type": "consulting", - "url": "https://feross.org/support" + "type": "liberapay", + "url": "https://liberapay.com/mrcgrtz" } - ] - }, - "node_modules/quick-lru": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", - "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==", - "dev": true, + ], "engines": { - "node": ">=10" + "node": "^12 || ^14 || >=16" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/raf": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz", - "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==", - "dev": true, - "dependencies": { - "performance-now": "^2.1.0" + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/randombytes": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "node_modules/postcss-ordered-values": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-5.1.3.tgz", + "integrity": "sha512-9UO79VUhPwEkzbb3RNpqqghc6lcYej1aveQteWY+4POIwlqkYE21HKWaLDF6lWNuqCobEAyTovVhtI32Rbv2RQ==", "dev": true, "dependencies": { - "safe-buffer": "^5.1.0" - } - }, - "node_modules/range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", - "dev": true, + "cssnano-utils": "^3.1.0", + "postcss-value-parser": "^4.2.0" + }, "engines": { - "node": ">= 0.6" + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" } }, - "node_modules/raw-body": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", - "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", + "node_modules/postcss-overflow-shorthand": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/postcss-overflow-shorthand/-/postcss-overflow-shorthand-3.0.4.tgz", + "integrity": "sha512-otYl/ylHK8Y9bcBnPLo3foYFLL6a6Ak+3EQBPOTR7luMYCOsiVTUk1iLvNf6tVPNGXcoL9Hoz37kpfriRIFb4A==", "dev": true, "dependencies": { - "bytes": "3.1.2", - "http-errors": "2.0.0", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">= 0.8" + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/raw-body/node_modules/bytes": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", - "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "node_modules/postcss-page-break": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/postcss-page-break/-/postcss-page-break-3.0.4.tgz", + "integrity": "sha512-1JGu8oCjVXLa9q9rFTo4MbeeA5FMe00/9C7lN4va606Rdb+HkxXtXsmEDrIraQ11fGz/WvKWa8gMuCKkrXpTsQ==", "dev": true, - "engines": { - "node": ">= 0.8" + "peerDependencies": { + "postcss": "^8" } }, - "node_modules/raw-body/node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "node_modules/postcss-place": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/postcss-place/-/postcss-place-7.0.5.tgz", + "integrity": "sha512-wR8igaZROA6Z4pv0d+bvVrvGY4GVHihBCBQieXFY3kuSuMyOmEnnfFzHl/tQuqHZkfkIVBEbDvYcFfHmpSet9g==", "dev": true, "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">=0.10.0" + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/react": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", - "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", - "dependencies": { - "loose-envify": "^1.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/react-app-polyfill": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/react-app-polyfill/-/react-app-polyfill-3.0.0.tgz", - "integrity": "sha512-sZ41cxiU5llIB003yxxQBYrARBqe0repqPTTYBTmMqTz9szeBbE37BehCE891NZsmdZqqP+xWKdT3eo3vOzN8w==", + "node_modules/postcss-preset-env": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/postcss-preset-env/-/postcss-preset-env-7.8.3.tgz", + "integrity": "sha512-T1LgRm5uEVFSEF83vHZJV2z19lHg4yJuZ6gXZZkqVsqv63nlr6zabMH3l4Pc01FQCyfWVrh2GaUeCVy9Po+Aag==", "dev": true, "dependencies": { - "core-js": "^3.19.2", - "object-assign": "^4.1.1", - "promise": "^8.1.0", - "raf": "^3.4.1", - "regenerator-runtime": "^0.13.9", - "whatwg-fetch": "^3.6.2" + "@csstools/postcss-cascade-layers": "^1.1.1", + "@csstools/postcss-color-function": "^1.1.1", + "@csstools/postcss-font-format-keywords": "^1.0.1", + "@csstools/postcss-hwb-function": "^1.0.2", + "@csstools/postcss-ic-unit": "^1.0.1", + "@csstools/postcss-is-pseudo-class": "^2.0.7", + "@csstools/postcss-nested-calc": "^1.0.0", + "@csstools/postcss-normalize-display-values": "^1.0.1", + "@csstools/postcss-oklab-function": "^1.1.1", + "@csstools/postcss-progressive-custom-properties": "^1.3.0", + "@csstools/postcss-stepped-value-functions": "^1.0.1", + "@csstools/postcss-text-decoration-shorthand": "^1.0.0", + "@csstools/postcss-trigonometric-functions": "^1.0.2", + "@csstools/postcss-unset-value": "^1.0.2", + "autoprefixer": "^10.4.13", + "browserslist": "^4.21.4", + "css-blank-pseudo": "^3.0.3", + "css-has-pseudo": "^3.0.4", + "css-prefers-color-scheme": "^6.0.3", + "cssdb": "^7.1.0", + "postcss-attribute-case-insensitive": "^5.0.2", + "postcss-clamp": "^4.1.0", + "postcss-color-functional-notation": "^4.2.4", + "postcss-color-hex-alpha": "^8.0.4", + "postcss-color-rebeccapurple": "^7.1.1", + "postcss-custom-media": "^8.0.2", + "postcss-custom-properties": "^12.1.10", + "postcss-custom-selectors": "^6.0.3", + "postcss-dir-pseudo-class": "^6.0.5", + "postcss-double-position-gradients": "^3.1.2", + "postcss-env-function": "^4.0.6", + "postcss-focus-visible": "^6.0.4", + "postcss-focus-within": "^5.0.4", + "postcss-font-variant": "^5.0.0", + "postcss-gap-properties": "^3.0.5", + "postcss-image-set-function": "^4.0.7", + "postcss-initial": "^4.0.1", + "postcss-lab-function": "^4.2.1", + "postcss-logical": "^5.0.4", + "postcss-media-minmax": "^5.0.0", + "postcss-nesting": "^10.2.0", + "postcss-opacity-percentage": "^1.1.2", + "postcss-overflow-shorthand": "^3.0.4", + "postcss-page-break": "^3.0.4", + "postcss-place": "^7.0.5", + "postcss-pseudo-class-any-link": "^7.1.6", + "postcss-replace-overflow-wrap": "^4.0.0", + "postcss-selector-not": "^6.0.1", + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">=14" + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/react-app-rewired": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/react-app-rewired/-/react-app-rewired-2.2.1.tgz", - "integrity": "sha512-uFQWTErXeLDrMzOJHKp0h8P1z0LV9HzPGsJ6adOtGlA/B9WfT6Shh4j2tLTTGlXOfiVx6w6iWpp7SOC5pvk+gA==", + "node_modules/postcss-pseudo-class-any-link": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/postcss-pseudo-class-any-link/-/postcss-pseudo-class-any-link-7.1.6.tgz", + "integrity": "sha512-9sCtZkO6f/5ML9WcTLcIyV1yz9D1rf0tWc+ulKcvV30s0iZKS/ONyETvoWsr6vnrmW+X+KmuK3gV/w5EWnT37w==", "dev": true, "dependencies": { - "semver": "^5.6.0" + "postcss-selector-parser": "^6.0.10" }, - "bin": { - "react-app-rewired": "bin/index.js" + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" }, "peerDependencies": { - "react-scripts": ">=2.1.3" + "postcss": "^8.2" } }, - "node_modules/react-bootstrap": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/react-bootstrap/-/react-bootstrap-1.5.2.tgz", - "integrity": "sha512-mGKPY5+lLd7Vtkx2VFivoRkPT4xAHazuFfIhJLTEgHlDfIUSePn7qrmpZe5gXH9zvHV0RsBaQ9cLfXjxnZrOpA==", + "node_modules/postcss-reduce-initial": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-5.1.1.tgz", + "integrity": "sha512-//jeDqWcHPuXGZLoolFrUXBDyuEGbr9S2rMo19bkTIjBQ4PqkaO+oI8wua5BOUxpfi97i3PCoInsiFIEBfkm9w==", + "dev": true, "dependencies": { - "@babel/runtime": "^7.13.8", - "@restart/context": "^2.1.4", - "@restart/hooks": "^0.3.26", - "@types/classnames": "^2.2.10", - "@types/invariant": "^2.2.33", - "@types/prop-types": "^15.7.3", - "@types/react": ">=16.9.35", - "@types/react-transition-group": "^4.4.1", - "@types/warning": "^3.0.0", - "classnames": "^2.2.6", - "dom-helpers": "^5.1.2", - "invariant": "^2.2.4", - "prop-types": "^15.7.2", - "prop-types-extra": "^1.1.0", - "react-overlays": "^5.0.0", - "react-transition-group": "^4.4.1", - "uncontrollable": "^7.2.1", - "warning": "^4.0.3" + "browserslist": "^4.21.4", + "caniuse-api": "^3.0.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" }, "peerDependencies": { - "react": ">=16.8.0", - "react-dom": ">=16.8.0" + "postcss": "^8.2.15" } }, - "node_modules/react-bootstrap-typeahead": { - "version": "5.1.4", - "resolved": "https://registry.npmjs.org/react-bootstrap-typeahead/-/react-bootstrap-typeahead-5.1.4.tgz", - "integrity": "sha512-CfoaSjGV3MZS9yrkLfYkvimzRYru1Ko7qKKzacbsBeZ/sHCxFvUhxnCXmTy/K2vZCkOmAQpU/sbgQVOkMRNlSQ==", + "node_modules/postcss-reduce-transforms": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-5.1.0.tgz", + "integrity": "sha512-2fbdbmgir5AvpW9RLtdONx1QoYG2/EtqpNQbFASDlixBbAYuTcJ0dECwlqNqH7VbaUnEnh8SrxOe2sRIn24XyQ==", + "dev": true, "dependencies": { - "@babel/runtime": "^7.3.4", - "@restart/hooks": "^0.3.22", - "classnames": "^2.2.0", - "fast-deep-equal": "^3.1.1", - "invariant": "^2.2.1", - "lodash.debounce": "^4.0.8", - "prop-types": "^15.5.8", - "react-overlays": "^4.1.1", - "react-popper": "^1.0.0", - "scroll-into-view-if-needed": "^2.2.20", - "warning": "^4.0.1" + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" }, "peerDependencies": { - "react": ">=16.8.0", - "react-dom": ">=16.8.0" + "postcss": "^8.2.15" } }, - "node_modules/react-bootstrap-typeahead/node_modules/deep-equal": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.1.tgz", - "integrity": "sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g==", + "node_modules/postcss-replace-overflow-wrap": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/postcss-replace-overflow-wrap/-/postcss-replace-overflow-wrap-4.0.0.tgz", + "integrity": "sha512-KmF7SBPphT4gPPcKZc7aDkweHiKEEO8cla/GjcBK+ckKxiZslIu3C4GCRW3DNfL0o7yW7kMQu9xlZ1kXRXLXtw==", + "dev": true, + "peerDependencies": { + "postcss": "^8.0.3" + } + }, + "node_modules/postcss-selector-not": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/postcss-selector-not/-/postcss-selector-not-6.0.1.tgz", + "integrity": "sha512-1i9affjAe9xu/y9uqWH+tD4r6/hDaXJruk8xn2x1vzxC2U3J3LKO3zJW4CyxlNhA56pADJ/djpEwpH1RClI2rQ==", + "dev": true, "dependencies": { - "is-arguments": "^1.0.4", - "is-date-object": "^1.0.1", - "is-regex": "^1.0.4", - "object-is": "^1.0.1", - "object-keys": "^1.1.1", - "regexp.prototype.flags": "^1.2.0" + "postcss-selector-parser": "^6.0.10" + }, + "engines": { + "node": "^12 || ^14 || >=16" }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/react-bootstrap-typeahead/node_modules/react-overlays": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/react-overlays/-/react-overlays-4.1.1.tgz", - "integrity": "sha512-WtJifh081e6M24KnvTQoNjQEpz7HoLxqt8TwZM7LOYIkYJ8i/Ly1Xi7RVte87ZVnmqQ4PFaFiNHZhSINPSpdBQ==", + "node_modules/postcss-selector-parser": { + "version": "6.0.11", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.11.tgz", + "integrity": "sha512-zbARubNdogI9j7WY4nQJBiNqQf3sLS3wCP4WfOidu+p28LofJqDH1tcXypGrcmMHhDk2t9wGhCsYe/+szLTy1g==", + "dev": true, "dependencies": { - "@babel/runtime": "^7.12.1", - "@popperjs/core": "^2.5.3", - "@restart/hooks": "^0.3.25", - "@types/warning": "^3.0.0", - "dom-helpers": "^5.2.0", - "prop-types": "^15.7.2", - "uncontrollable": "^7.0.0", - "warning": "^4.0.3" + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" }, - "peerDependencies": { - "react": ">=16.3.0", - "react-dom": ">=16.3.0" + "engines": { + "node": ">=4" } }, - "node_modules/react-bootstrap-typeahead/node_modules/react-popper": { - "version": "1.3.11", - "resolved": "https://registry.npmjs.org/react-popper/-/react-popper-1.3.11.tgz", - "integrity": "sha512-VSA/bS+pSndSF2fiasHK/PTEEAyOpX60+H5EPAjoArr8JGm+oihu4UbrqcEBpQibJxBVCpYyjAX7abJ+7DoYVg==", + "node_modules/postcss-svgo": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-5.1.0.tgz", + "integrity": "sha512-D75KsH1zm5ZrHyxPakAxJWtkyXew5qwS70v56exwvw542d9CRtTo78K0WeFxZB4G7JXKKMbEZtZayTGdIky/eA==", + "dev": true, "dependencies": { - "@babel/runtime": "^7.1.2", - "@hypnosphi/create-react-context": "^0.3.1", - "deep-equal": "^1.1.1", - "popper.js": "^1.14.4", - "prop-types": "^15.6.1", - "typed-styles": "^0.0.7", - "warning": "^4.0.2" + "postcss-value-parser": "^4.2.0", + "svgo": "^2.7.0" + }, + "engines": { + "node": "^10 || ^12 || >=14.0" }, "peerDependencies": { - "react": "0.14.x || ^15.0.0 || ^16.0.0 || ^17.0.0" + "postcss": "^8.2.15" } }, - "node_modules/react-click-away-listener": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/react-click-away-listener/-/react-click-away-listener-2.2.2.tgz", - "integrity": "sha512-6x5Ra+2xagMq+5YcBu42jtht+bKVErgPXaI/GqYP5M8Xz2o/UbGyMd3TISQK6ixfORUTvdHeRnOVU3TbSpZ5Zg==", - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" + "node_modules/postcss-svgo/node_modules/commander": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", + "dev": true, + "engines": { + "node": ">= 10" } }, - "node_modules/react-datepicker": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/react-datepicker/-/react-datepicker-4.8.0.tgz", - "integrity": "sha512-u69zXGHMpxAa4LeYR83vucQoUCJQ6m/WBsSxmUMu/M8ahTSVMMyiyQzauHgZA2NUr9y0FUgOAix71hGYUb6tvg==", + "node_modules/postcss-svgo/node_modules/css-tree": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz", + "integrity": "sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==", + "dev": true, "dependencies": { - "@popperjs/core": "^2.9.2", - "classnames": "^2.2.6", - "date-fns": "^2.24.0", - "prop-types": "^15.7.2", - "react-onclickoutside": "^6.12.0", - "react-popper": "^2.2.5" + "mdn-data": "2.0.14", + "source-map": "^0.6.1" }, - "peerDependencies": { - "react": "^16.9.0 || ^17 || ^18", - "react-dom": "^16.9.0 || ^17 || ^18" + "engines": { + "node": ">=8.0.0" } }, - "node_modules/react-dev-utils": { - "version": "12.0.1", - "resolved": "https://registry.npmjs.org/react-dev-utils/-/react-dev-utils-12.0.1.tgz", - "integrity": "sha512-84Ivxmr17KjUupyqzFode6xKhjwuEJDROWKJy/BthkL7Wn6NJ8h4WE6k/exAv6ImS+0oZLRRW5j/aINMHyeGeQ==", + "node_modules/postcss-svgo/node_modules/mdn-data": { + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.14.tgz", + "integrity": "sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==", + "dev": true + }, + "node_modules/postcss-svgo/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true, - "dependencies": { - "@babel/code-frame": "^7.16.0", - "address": "^1.1.2", - "browserslist": "^4.18.1", - "chalk": "^4.1.2", - "cross-spawn": "^7.0.3", - "detect-port-alt": "^1.1.6", - "escape-string-regexp": "^4.0.0", - "filesize": "^8.0.6", - "find-up": "^5.0.0", - "fork-ts-checker-webpack-plugin": "^6.5.0", - "global-modules": "^2.0.0", - "globby": "^11.0.4", - "gzip-size": "^6.0.0", - "immer": "^9.0.7", - "is-root": "^2.1.0", - "loader-utils": "^3.2.0", - "open": "^8.4.0", - "pkg-up": "^3.1.0", - "prompts": "^2.4.2", - "react-error-overlay": "^6.0.11", - "recursive-readdir": "^2.2.2", - "shell-quote": "^1.7.3", - "strip-ansi": "^6.0.1", - "text-table": "^0.2.0" - }, "engines": { - "node": ">=14" + "node": ">=0.10.0" } }, - "node_modules/react-docgen": { - "version": "5.4.3", - "resolved": "https://registry.npmjs.org/react-docgen/-/react-docgen-5.4.3.tgz", - "integrity": "sha512-xlLJyOlnfr8lLEEeaDZ+X2J/KJoe6Nr9AzxnkdQWush5hz2ZSu66w6iLMOScMmxoSHWpWMn+k3v5ZiyCfcWsOA==", + "node_modules/postcss-svgo/node_modules/svgo": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/svgo/-/svgo-2.8.0.tgz", + "integrity": "sha512-+N/Q9kV1+F+UeWYoSiULYo4xYSDQlTgb+ayMobAXPwMnLvop7oxKMo9OzIrX5x3eS4L4f2UHhc9axXwY8DpChg==", "dev": true, "dependencies": { - "@babel/core": "^7.7.5", - "@babel/generator": "^7.12.11", - "@babel/runtime": "^7.7.6", - "ast-types": "^0.14.2", - "commander": "^2.19.0", - "doctrine": "^3.0.0", - "estree-to-babel": "^3.1.0", - "neo-async": "^2.6.1", - "node-dir": "^0.1.10", - "strip-indent": "^3.0.0" + "@trysound/sax": "0.2.0", + "commander": "^7.2.0", + "css-select": "^4.1.3", + "css-tree": "^1.1.3", + "csso": "^4.2.0", + "picocolors": "^1.0.0", + "stable": "^0.1.8" }, "bin": { - "react-docgen": "bin/react-docgen.js" + "svgo": "bin/svgo" }, "engines": { - "node": ">=8.10.0" + "node": ">=10.13.0" } }, - "node_modules/react-docgen-annotation-resolver": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/react-docgen-annotation-resolver/-/react-docgen-annotation-resolver-2.0.0.tgz", - "integrity": "sha512-0rNR0SZAjd4eHTYP3Iq/pi0zTznHtXSLAKOXbK6tGjwd9bTaXUaKQK7hihRvGvqxNjUy0WGTcFgX+lT64vIXBg==", + "node_modules/postcss-unique-selectors": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-5.1.1.tgz", + "integrity": "sha512-5JiODlELrz8L2HwxfPnhOWZYWDxVHWL83ufOv84NrcgipI7TaeRsatAhK4Tr2/ZiYldpK/wBvw5BD3qfaK96GA==", "dev": true, + "dependencies": { + "postcss-selector-parser": "^6.0.5" + }, "engines": { - "node": ">=8.10.0" + "node": "^10 || ^12 || >=14.0" + }, + "peerDependencies": { + "postcss": "^8.2.15" } }, - "node_modules/react-docgen-displayname-handler": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/react-docgen-displayname-handler/-/react-docgen-displayname-handler-3.0.2.tgz", - "integrity": "sha512-6SDJ2h6WuW0Kq6Vw34C3WmRfh1eYNDkaes9hxsmQ4fmX5tiI2lpR28J2cxlu4RpYrqBLrrtke6kWBef7pIL24w==", + "node_modules/postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", "dev": true, - "dependencies": { - "ast-types": "0.14.2" + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/prettier": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", + "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", + "dev": true, + "bin": { + "prettier": "bin-prettier.js" }, "engines": { - "node": ">=8.10.0" + "node": ">=10.13.0" }, - "peerDependencies": { - "react-docgen": "^3.0.0 || ^4.0.0 || ^5.0.0-beta || ^5.0.0" + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" } }, - "node_modules/react-docgen-typescript": { - "version": "1.22.0", - "resolved": "https://registry.npmjs.org/react-docgen-typescript/-/react-docgen-typescript-1.22.0.tgz", - "integrity": "sha512-MPLbF8vzRwAG3GcjdL+OHQlhgtWsLTXs+7uJiHfEeT3Ur7IsZaNYqRTLQ9sj2nB6M6jylcPCeCmH7qbszJmecg==", + "node_modules/prettier-linter-helpers": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", + "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", "dev": true, - "peerDependencies": { - "typescript": ">= 3.x" + "dependencies": { + "fast-diff": "^1.1.2" + }, + "engines": { + "node": ">=6.0.0" } }, - "node_modules/react-dom": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz", - "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==", + "node_modules/pretty": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/pretty/-/pretty-2.0.0.tgz", + "integrity": "sha512-G9xUchgTEiNpormdYBl+Pha50gOUovT18IvAe7EYMZ1/f9W/WWMPRn+xI68yXNMUk3QXHDwo/1wV/4NejVNe1w==", + "dev": true, "dependencies": { - "loose-envify": "^1.1.0", - "scheduler": "^0.23.0" + "condense-newlines": "^0.2.1", + "extend-shallow": "^2.0.1", + "js-beautify": "^1.6.12" }, - "peerDependencies": { - "react": "^18.2.0" + "engines": { + "node": ">=0.10.0" } }, - "node_modules/react-draggable": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/react-draggable/-/react-draggable-4.4.3.tgz", - "integrity": "sha512-jV4TE59MBuWm7gb6Ns3Q1mxX8Azffb7oTtDtBgFkxRvhDp38YAARmRplrj0+XGkhOJB5XziArX+4HUUABtyZ0w==", + "node_modules/pretty-bytes": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.6.0.tgz", + "integrity": "sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==", + "dev": true, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/pretty-error": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/pretty-error/-/pretty-error-4.0.0.tgz", + "integrity": "sha512-AoJ5YMAcXKYxKhuJGdcvse+Voc6v1RgnsR3nWcYU7q4t6z0Q6T86sv5Zq8VIRbOWWFpvdGE83LtdSMNd+6Y0xw==", + "dev": true, "dependencies": { - "classnames": "^2.2.5", - "prop-types": "^15.6.0" + "lodash": "^4.17.20", + "renderkid": "^3.0.0" } }, - "node_modules/react-error-boundary": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/react-error-boundary/-/react-error-boundary-3.1.4.tgz", - "integrity": "sha512-uM9uPzZJTF6wRQORmSrvOIgt4lJ9MC1sNgEOj2XGsDTRE4kmpWxg7ENK9EWNKJRMAOY9z0MuF4yIfl6gp4sotA==", + "node_modules/pretty-format": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz", + "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==", + "dev": true, "dependencies": { - "@babel/runtime": "^7.12.5" + "@jest/types": "^26.6.2", + "ansi-regex": "^5.0.0", + "ansi-styles": "^4.0.0", + "react-is": "^17.0.1" }, "engines": { - "node": ">=10", - "npm": ">=6" - }, - "peerDependencies": { - "react": ">=16.13.1" + "node": ">= 10" } }, - "node_modules/react-error-overlay": { - "version": "6.0.11", - "resolved": "https://registry.npmjs.org/react-error-overlay/-/react-error-overlay-6.0.11.tgz", - "integrity": "sha512-/6UZ2qgEyH2aqzYZgQPxEnz33NJ2gNsnHA2o5+o4wW9bLM/JYQitNP9xPhsXwC08hMMovfGe/8retsdDsczPRg==", + "node_modules/pretty-format/node_modules/react-is": { + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", + "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", "dev": true }, - "node_modules/react-fast-compare": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz", - "integrity": "sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA==" - }, - "node_modules/react-group": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/react-group/-/react-group-3.0.2.tgz", - "integrity": "sha512-0Jy99MD27jHSJ0PeynomUM0WArxywdcqQUKLttBWV6KYH+zlKWT/RhDwVxrODtMkRxf644BzuJFie1Hvfun7jA==", + "node_modules/pretty-quick": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/pretty-quick/-/pretty-quick-3.1.0.tgz", + "integrity": "sha512-DtxIxksaUWCgPFN7E1ZZk4+Aav3CCuRdhrDSFZENb404sYMtuo9Zka823F+Mgeyt8Zt3bUiCjFzzWYE9LYqkmQ==", "dev": true, "dependencies": { - "prop-types": "^15.7.2" + "chalk": "^3.0.0", + "execa": "^4.0.0", + "find-up": "^4.1.0", + "ignore": "^5.1.4", + "mri": "^1.1.5", + "multimatch": "^4.0.0" + }, + "bin": { + "pretty-quick": "bin/pretty-quick.js" }, "engines": { - "node": ">=6" + "node": ">=10.13" }, "peerDependencies": { - "react": ">=16.0.0" - } - }, - "node_modules/react-icons": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-4.3.1.tgz", - "integrity": "sha512-cB10MXLTs3gVuXimblAdI71jrJx8njrJZmNMEMC+sQu5B/BIOmlsAjskdqpn81y8UBVEGuHODd7/ci5DvoSzTQ==", - "peerDependencies": { - "react": "*" + "prettier": ">=2.0.0" } }, - "node_modules/react-idle-timer": { - "version": "5.5.1", - "resolved": "https://registry.npmjs.org/react-idle-timer/-/react-idle-timer-5.5.1.tgz", - "integrity": "sha512-R2g8wUpPQgbdlDPqI2KgpU2VvDCA0UBDwi2GqTfsqzzLin9gl6ajNoLQp1L2PYcd2X8mp1lOfs79oLFO+2C1oA==", - "peerDependencies": { - "react": ">=16", - "react-dom": ">=16" + "node_modules/pretty-quick/node_modules/chalk": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", + "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=8" } }, - "node_modules/react-is": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", - "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==" - }, - "node_modules/react-leaflet": { + "node_modules/pretty-quick/node_modules/find-up": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/react-leaflet/-/react-leaflet-4.1.0.tgz", - "integrity": "sha512-i+V9pX5lywJ48O2+K3USeeTdYLIhxnLMweH+YLd/UPqVIj3uKzE3Q29bzt83PBtViyZmxDlulzC6uoR3JLiE9A==", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, "dependencies": { - "@react-leaflet/core": "^2.1.0" + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" }, - "peerDependencies": { - "leaflet": "^1.9.0", - "react": "^18.0.0", - "react-dom": "^18.0.0" + "engines": { + "node": ">=8" } }, - "node_modules/react-lifecycles-compat": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz", - "integrity": "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==" - }, - "node_modules/react-number-format": { - "version": "4.9.3", - "resolved": "https://registry.npmjs.org/react-number-format/-/react-number-format-4.9.3.tgz", - "integrity": "sha512-am1A1xYAbENuKJ+zpM7V+B1oRTSeOHYltqVKExznIVFweBzhLmOBmyb1DfIKjHo90E0bo1p3nzVJ2NgS5xh+sQ==", + "node_modules/pretty-quick/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, "dependencies": { - "prop-types": "^15.7.2" + "p-locate": "^4.1.0" }, - "peerDependencies": { - "react": "^0.14 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^0.14 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0" + "engines": { + "node": ">=8" } }, - "node_modules/react-onclickoutside": { - "version": "6.12.2", - "resolved": "https://registry.npmjs.org/react-onclickoutside/-/react-onclickoutside-6.12.2.tgz", - "integrity": "sha512-NMXGa223OnsrGVp5dJHkuKxQ4czdLmXSp5jSV9OqiCky9LOpPATn3vLldc+q5fK3gKbEHvr7J1u0yhBh/xYkpA==", + "node_modules/pretty-quick/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, "funding": { - "type": "individual", - "url": "https://github.com/Pomax/react-onclickoutside/blob/master/FUNDING.md" + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/pretty-quick/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" }, - "peerDependencies": { - "react": "^15.5.x || ^16.x || ^17.x || ^18.x", - "react-dom": "^15.5.x || ^16.x || ^17.x || ^18.x" + "engines": { + "node": ">=8" } }, - "node_modules/react-overlays": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/react-overlays/-/react-overlays-5.2.1.tgz", - "integrity": "sha512-GLLSOLWr21CqtJn8geSwQfoJufdt3mfdsnIiQswouuQ2MMPns+ihZklxvsTDKD3cR2tF8ELbi5xUsvqVhR6WvA==", + "node_modules/prismjs": { + "version": "1.29.0", + "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.29.0.tgz", + "integrity": "sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/private": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", + "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", + "dev": true + }, + "node_modules/promise": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/promise/-/promise-8.3.0.tgz", + "integrity": "sha512-rZPNPKTOYVNEEKFaq1HqTgOwZD+4/YHS5ukLzQCypkj+OkYx7iv0mA91lJlpPPZ8vMau3IIGj5Qlwrx+8iiSmg==", + "dev": true, "dependencies": { - "@babel/runtime": "^7.13.8", - "@popperjs/core": "^2.11.6", - "@restart/hooks": "^0.4.7", - "@types/warning": "^3.0.0", - "dom-helpers": "^5.2.0", - "prop-types": "^15.7.2", - "uncontrollable": "^7.2.1", - "warning": "^4.0.3" + "asap": "~2.0.6" + } + }, + "node_modules/promise-polyfill": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-8.3.0.tgz", + "integrity": "sha512-H5oELycFml5yto/atYqmjyigJoAo3+OXwolYiH7OfQuYlAqhxNvTfiNMbV9hsC6Yp83yE5r2KTVmtrG6R9i6Pg==", + "dev": true + }, + "node_modules/prompts": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", + "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", + "dev": true, + "dependencies": { + "kleur": "^3.0.3", + "sisteransi": "^1.0.5" }, - "peerDependencies": { - "react": ">=16.3.0", - "react-dom": ">=16.3.0" + "engines": { + "node": ">= 6" } }, - "node_modules/react-overlays/node_modules/@restart/hooks": { - "version": "0.4.7", - "resolved": "https://registry.npmjs.org/@restart/hooks/-/hooks-0.4.7.tgz", - "integrity": "sha512-ZbjlEHcG+FQtpDPHd7i4FzNNvJf2enAwZfJbpM8CW7BhmOAbsHpZe3tsHwfQUrBuyrxWqPYp2x5UMnilWcY22A==", + "node_modules/prop-types": { + "version": "15.8.1", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", + "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", "dependencies": { - "dequal": "^2.0.2" + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.13.1" + } + }, + "node_modules/prop-types-extra": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/prop-types-extra/-/prop-types-extra-1.1.1.tgz", + "integrity": "sha512-59+AHNnHYCdiC+vMwY52WmvP5dM3QLeoumYuEyceQDi9aEhtwN9zIQ2ZNo25sMyXnbh32h+P1ezDsUpUH3JAew==", + "dependencies": { + "react-is": "^16.3.2", + "warning": "^4.0.0" }, "peerDependencies": { - "react": ">=16.8.0" + "react": ">=0.14.0" } }, - "node_modules/react-paginate": { - "version": "8.1.3", - "resolved": "https://registry.npmjs.org/react-paginate/-/react-paginate-8.1.3.tgz", - "integrity": "sha512-zBp80DBRcaeBnAeHUfbGKD0XHfbGNUolQ+S60Ymfs8o7rusYaJYZMAt1j93ADDNLlzRmJ0tMF/NeTlcdKf7dlQ==", + "node_modules/prop-types-extra/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + }, + "node_modules/prop-types/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + }, + "node_modules/property-expr": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/property-expr/-/property-expr-2.0.5.tgz", + "integrity": "sha512-IJUkICM5dP5znhCckHSv30Q4b5/JA5enCtkRHYaOVOAocnH/1BQEYTC5NMfT3AVl/iXKdr3aqQbQn9DxyWknwA==" + }, + "node_modules/proto-list": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", + "integrity": "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==", + "dev": true + }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "dev": true, "dependencies": { - "prop-types": "^15.6.1" + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" }, - "peerDependencies": { - "react": "^16 || ^17 || ^18" + "engines": { + "node": ">= 0.10" } }, - "node_modules/react-popper": { + "node_modules/proxy-addr/node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "dev": true, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/pseudomap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", + "integrity": "sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==", + "dev": true + }, + "node_modules/psl": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz", + "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==", + "dev": true + }, + "node_modules/pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dev": true, + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "node_modules/punycode": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/react-popper/-/react-popper-2.3.0.tgz", - "integrity": "sha512-e1hj8lL3uM+sgSR4Lxzn5h1GxBlpa4CQz0XLF8kx4MDrDRWY0Ena4c97PUeSX9i5W3UAfDP0z0FXCTQkoXUl3Q==", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", + "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/q": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", + "integrity": "sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==", + "dev": true, + "engines": { + "node": ">=0.6.0", + "teleport": ">=0.2.0" + } + }, + "node_modules/q-i": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/q-i/-/q-i-2.0.1.tgz", + "integrity": "sha512-tr7CzPNxkBDBuPzqi/HDUS4uBOppb91akNTeh56TYio8TiIeXp2Yp8ea9NmDu2DmGH35ZjJDq6C3E4SepVZ4bQ==", + "dev": true, "dependencies": { - "react-fast-compare": "^3.0.1", - "warning": "^4.0.2" + "ansi-styles": "^3.2.0", + "is-plain-object": "^2.0.4", + "stringify-object": "^3.2.0" }, - "peerDependencies": { - "@popperjs/core": "^2.0.0", - "react": "^16.8.0 || ^17 || ^18", - "react-dom": "^16.8.0 || ^17 || ^18" + "engines": { + "node": ">=4" } }, - "node_modules/react-redux": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-8.0.4.tgz", - "integrity": "sha512-yMfQ7mX6bWuicz2fids6cR1YT59VTuT8MKyyE310wJQlINKENCeT1UcPdEiX6znI5tF8zXyJ/VYvDgeGuaaNwQ==", + "node_modules/q-i/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, "dependencies": { - "@babel/runtime": "^7.12.1", - "@types/hoist-non-react-statics": "^3.3.1", - "@types/use-sync-external-store": "^0.0.3", - "hoist-non-react-statics": "^3.3.2", - "react-is": "^18.0.0", - "use-sync-external-store": "^1.0.0" + "color-convert": "^1.9.0" }, - "peerDependencies": { - "@types/react": "^16.8 || ^17.0 || ^18.0", - "@types/react-dom": "^16.8 || ^17.0 || ^18.0", - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0", - "react-native": ">=0.59", - "redux": "^4" + "engines": { + "node": ">=4" + } + }, + "node_modules/q-i/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/q-i/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "node_modules/qs": { + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", + "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", + "dev": true, + "dependencies": { + "side-channel": "^1.0.4" }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "@types/react-dom": { - "optional": true - }, - "react-dom": { - "optional": true + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/qss": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/qss/-/qss-2.0.3.tgz", + "integrity": "sha512-j48ZBT5IZbSqJiSU8EX4XrN8nXiflHvmMvv2XpFc31gh7n6EpSs75bNr6+oj3FOLWyT8m09pTmqLNl34L7/uPQ==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/query-string": { + "version": "6.12.1", + "resolved": "https://registry.npmjs.org/query-string/-/query-string-6.12.1.tgz", + "integrity": "sha512-OHj+zzfRMyj3rmo/6G8a5Ifvw3AleL/EbcHMD27YA31Q+cO5lfmQxECkImuNVjcskLcvBRVHNAB3w6udMs1eAA==", + "dependencies": { + "decode-uri-component": "^0.2.0", + "split-on-first": "^1.0.0", + "strict-uri-encode": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/querystringify": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", + "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==", + "dev": true + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" }, - "react-native": { - "optional": true + { + "type": "patreon", + "url": "https://www.patreon.com/feross" }, - "redux": { - "optional": true + { + "type": "consulting", + "url": "https://feross.org/support" } + ] + }, + "node_modules/quick-lru": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", + "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/raf": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz", + "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==", + "dev": true, + "dependencies": { + "performance-now": "^2.1.0" + } + }, + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", + "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", + "dev": true, + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/raw-body/node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/raw-body/node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react": { + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", + "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", + "dependencies": { + "loose-envify": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-app-polyfill": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/react-app-polyfill/-/react-app-polyfill-3.0.0.tgz", + "integrity": "sha512-sZ41cxiU5llIB003yxxQBYrARBqe0repqPTTYBTmMqTz9szeBbE37BehCE891NZsmdZqqP+xWKdT3eo3vOzN8w==", + "dev": true, + "dependencies": { + "core-js": "^3.19.2", + "object-assign": "^4.1.1", + "promise": "^8.1.0", + "raf": "^3.4.1", + "regenerator-runtime": "^0.13.9", + "whatwg-fetch": "^3.6.2" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/react-app-rewired": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/react-app-rewired/-/react-app-rewired-2.2.1.tgz", + "integrity": "sha512-uFQWTErXeLDrMzOJHKp0h8P1z0LV9HzPGsJ6adOtGlA/B9WfT6Shh4j2tLTTGlXOfiVx6w6iWpp7SOC5pvk+gA==", + "dev": true, + "dependencies": { + "semver": "^5.6.0" + }, + "bin": { + "react-app-rewired": "bin/index.js" + }, + "peerDependencies": { + "react-scripts": ">=2.1.3" + } + }, + "node_modules/react-bootstrap": { + "version": "1.6.6", + "resolved": "https://registry.npmjs.org/react-bootstrap/-/react-bootstrap-1.6.6.tgz", + "integrity": "sha512-pSzYyJT5u4rc8+5myM8Vid2JG52L8AmYSkpznReH/GM4+FhLqEnxUa0+6HRTaGwjdEixQNGchwY+b3xCdYWrDA==", + "dependencies": { + "@babel/runtime": "^7.14.0", + "@restart/context": "^2.1.4", + "@restart/hooks": "^0.4.7", + "@types/invariant": "^2.2.33", + "@types/prop-types": "^15.7.3", + "@types/react": ">=16.14.8", + "@types/react-transition-group": "^4.4.1", + "@types/warning": "^3.0.0", + "classnames": "^2.3.1", + "dom-helpers": "^5.2.1", + "invariant": "^2.2.4", + "prop-types": "^15.7.2", + "prop-types-extra": "^1.1.0", + "react-overlays": "^5.1.2", + "react-transition-group": "^4.4.1", + "uncontrollable": "^7.2.1", + "warning": "^4.0.3" + }, + "peerDependencies": { + "react": ">=16.8.0", + "react-dom": ">=16.8.0" + } + }, + "node_modules/react-bootstrap-typeahead": { + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/react-bootstrap-typeahead/-/react-bootstrap-typeahead-5.1.4.tgz", + "integrity": "sha512-CfoaSjGV3MZS9yrkLfYkvimzRYru1Ko7qKKzacbsBeZ/sHCxFvUhxnCXmTy/K2vZCkOmAQpU/sbgQVOkMRNlSQ==", + "dependencies": { + "@babel/runtime": "^7.3.4", + "@restart/hooks": "^0.3.22", + "classnames": "^2.2.0", + "fast-deep-equal": "^3.1.1", + "invariant": "^2.2.1", + "lodash.debounce": "^4.0.8", + "prop-types": "^15.5.8", + "react-overlays": "^4.1.1", + "react-popper": "^1.0.0", + "scroll-into-view-if-needed": "^2.2.20", + "warning": "^4.0.1" + }, + "peerDependencies": { + "react": ">=16.8.0", + "react-dom": ">=16.8.0" + } + }, + "node_modules/react-bootstrap-typeahead/node_modules/deep-equal": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.1.tgz", + "integrity": "sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g==", + "dependencies": { + "is-arguments": "^1.0.4", + "is-date-object": "^1.0.1", + "is-regex": "^1.0.4", + "object-is": "^1.0.1", + "object-keys": "^1.1.1", + "regexp.prototype.flags": "^1.2.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/react-bootstrap-typeahead/node_modules/react-overlays": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/react-overlays/-/react-overlays-4.1.1.tgz", + "integrity": "sha512-WtJifh081e6M24KnvTQoNjQEpz7HoLxqt8TwZM7LOYIkYJ8i/Ly1Xi7RVte87ZVnmqQ4PFaFiNHZhSINPSpdBQ==", + "dependencies": { + "@babel/runtime": "^7.12.1", + "@popperjs/core": "^2.5.3", + "@restart/hooks": "^0.3.25", + "@types/warning": "^3.0.0", + "dom-helpers": "^5.2.0", + "prop-types": "^15.7.2", + "uncontrollable": "^7.0.0", + "warning": "^4.0.3" + }, + "peerDependencies": { + "react": ">=16.3.0", + "react-dom": ">=16.3.0" + } + }, + "node_modules/react-bootstrap-typeahead/node_modules/react-popper": { + "version": "1.3.11", + "resolved": "https://registry.npmjs.org/react-popper/-/react-popper-1.3.11.tgz", + "integrity": "sha512-VSA/bS+pSndSF2fiasHK/PTEEAyOpX60+H5EPAjoArr8JGm+oihu4UbrqcEBpQibJxBVCpYyjAX7abJ+7DoYVg==", + "dependencies": { + "@babel/runtime": "^7.1.2", + "@hypnosphi/create-react-context": "^0.3.1", + "deep-equal": "^1.1.1", + "popper.js": "^1.14.4", + "prop-types": "^15.6.1", + "typed-styles": "^0.0.7", + "warning": "^4.0.2" + }, + "peerDependencies": { + "react": "0.14.x || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "node_modules/react-bootstrap/node_modules/@restart/hooks": { + "version": "0.4.9", + "resolved": "https://registry.npmjs.org/@restart/hooks/-/hooks-0.4.9.tgz", + "integrity": "sha512-3BekqcwB6Umeya+16XPooARn4qEPW6vNvwYnlofIYe6h9qG1/VeD7UvShCWx11eFz5ELYmwIEshz+MkPX3wjcQ==", + "dependencies": { + "dequal": "^2.0.2" + }, + "peerDependencies": { + "react": ">=16.8.0" + } + }, + "node_modules/react-click-away-listener": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/react-click-away-listener/-/react-click-away-listener-2.2.2.tgz", + "integrity": "sha512-6x5Ra+2xagMq+5YcBu42jtht+bKVErgPXaI/GqYP5M8Xz2o/UbGyMd3TISQK6ixfORUTvdHeRnOVU3TbSpZ5Zg==", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" + } + }, + "node_modules/react-datepicker": { + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/react-datepicker/-/react-datepicker-4.8.0.tgz", + "integrity": "sha512-u69zXGHMpxAa4LeYR83vucQoUCJQ6m/WBsSxmUMu/M8ahTSVMMyiyQzauHgZA2NUr9y0FUgOAix71hGYUb6tvg==", + "dependencies": { + "@popperjs/core": "^2.9.2", + "classnames": "^2.2.6", + "date-fns": "^2.24.0", + "prop-types": "^15.7.2", + "react-onclickoutside": "^6.12.0", + "react-popper": "^2.2.5" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17 || ^18", + "react-dom": "^16.9.0 || ^17 || ^18" + } + }, + "node_modules/react-dev-utils": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/react-dev-utils/-/react-dev-utils-12.0.1.tgz", + "integrity": "sha512-84Ivxmr17KjUupyqzFode6xKhjwuEJDROWKJy/BthkL7Wn6NJ8h4WE6k/exAv6ImS+0oZLRRW5j/aINMHyeGeQ==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.16.0", + "address": "^1.1.2", + "browserslist": "^4.18.1", + "chalk": "^4.1.2", + "cross-spawn": "^7.0.3", + "detect-port-alt": "^1.1.6", + "escape-string-regexp": "^4.0.0", + "filesize": "^8.0.6", + "find-up": "^5.0.0", + "fork-ts-checker-webpack-plugin": "^6.5.0", + "global-modules": "^2.0.0", + "globby": "^11.0.4", + "gzip-size": "^6.0.0", + "immer": "^9.0.7", + "is-root": "^2.1.0", + "loader-utils": "^3.2.0", + "open": "^8.4.0", + "pkg-up": "^3.1.0", + "prompts": "^2.4.2", + "react-error-overlay": "^6.0.11", + "recursive-readdir": "^2.2.2", + "shell-quote": "^1.7.3", + "strip-ansi": "^6.0.1", + "text-table": "^0.2.0" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/react-docgen": { + "version": "5.4.3", + "resolved": "https://registry.npmjs.org/react-docgen/-/react-docgen-5.4.3.tgz", + "integrity": "sha512-xlLJyOlnfr8lLEEeaDZ+X2J/KJoe6Nr9AzxnkdQWush5hz2ZSu66w6iLMOScMmxoSHWpWMn+k3v5ZiyCfcWsOA==", + "dev": true, + "dependencies": { + "@babel/core": "^7.7.5", + "@babel/generator": "^7.12.11", + "@babel/runtime": "^7.7.6", + "ast-types": "^0.14.2", + "commander": "^2.19.0", + "doctrine": "^3.0.0", + "estree-to-babel": "^3.1.0", + "neo-async": "^2.6.1", + "node-dir": "^0.1.10", + "strip-indent": "^3.0.0" + }, + "bin": { + "react-docgen": "bin/react-docgen.js" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/react-docgen-annotation-resolver": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/react-docgen-annotation-resolver/-/react-docgen-annotation-resolver-2.0.0.tgz", + "integrity": "sha512-0rNR0SZAjd4eHTYP3Iq/pi0zTznHtXSLAKOXbK6tGjwd9bTaXUaKQK7hihRvGvqxNjUy0WGTcFgX+lT64vIXBg==", + "dev": true, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/react-docgen-displayname-handler": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/react-docgen-displayname-handler/-/react-docgen-displayname-handler-3.0.2.tgz", + "integrity": "sha512-6SDJ2h6WuW0Kq6Vw34C3WmRfh1eYNDkaes9hxsmQ4fmX5tiI2lpR28J2cxlu4RpYrqBLrrtke6kWBef7pIL24w==", + "dev": true, + "dependencies": { + "ast-types": "0.14.2" + }, + "engines": { + "node": ">=8.10.0" + }, + "peerDependencies": { + "react-docgen": "^3.0.0 || ^4.0.0 || ^5.0.0-beta || ^5.0.0" + } + }, + "node_modules/react-docgen-typescript": { + "version": "1.22.0", + "resolved": "https://registry.npmjs.org/react-docgen-typescript/-/react-docgen-typescript-1.22.0.tgz", + "integrity": "sha512-MPLbF8vzRwAG3GcjdL+OHQlhgtWsLTXs+7uJiHfEeT3Ur7IsZaNYqRTLQ9sj2nB6M6jylcPCeCmH7qbszJmecg==", + "dev": true, + "peerDependencies": { + "typescript": ">= 3.x" + } + }, + "node_modules/react-dom": { + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz", + "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==", + "dependencies": { + "loose-envify": "^1.1.0", + "scheduler": "^0.23.0" + }, + "peerDependencies": { + "react": "^18.2.0" + } + }, + "node_modules/react-draggable": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/react-draggable/-/react-draggable-4.4.3.tgz", + "integrity": "sha512-jV4TE59MBuWm7gb6Ns3Q1mxX8Azffb7oTtDtBgFkxRvhDp38YAARmRplrj0+XGkhOJB5XziArX+4HUUABtyZ0w==", + "dependencies": { + "classnames": "^2.2.5", + "prop-types": "^15.6.0" + } + }, + "node_modules/react-error-boundary": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/react-error-boundary/-/react-error-boundary-3.1.4.tgz", + "integrity": "sha512-uM9uPzZJTF6wRQORmSrvOIgt4lJ9MC1sNgEOj2XGsDTRE4kmpWxg7ENK9EWNKJRMAOY9z0MuF4yIfl6gp4sotA==", + "dependencies": { + "@babel/runtime": "^7.12.5" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "peerDependencies": { + "react": ">=16.13.1" + } + }, + "node_modules/react-error-overlay": { + "version": "6.0.11", + "resolved": "https://registry.npmjs.org/react-error-overlay/-/react-error-overlay-6.0.11.tgz", + "integrity": "sha512-/6UZ2qgEyH2aqzYZgQPxEnz33NJ2gNsnHA2o5+o4wW9bLM/JYQitNP9xPhsXwC08hMMovfGe/8retsdDsczPRg==", + "dev": true + }, + "node_modules/react-fast-compare": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz", + "integrity": "sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA==" + }, + "node_modules/react-group": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/react-group/-/react-group-3.0.2.tgz", + "integrity": "sha512-0Jy99MD27jHSJ0PeynomUM0WArxywdcqQUKLttBWV6KYH+zlKWT/RhDwVxrODtMkRxf644BzuJFie1Hvfun7jA==", + "dev": true, + "dependencies": { + "prop-types": "^15.7.2" + }, + "engines": { + "node": ">=6" + }, + "peerDependencies": { + "react": ">=16.0.0" + } + }, + "node_modules/react-icons": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-4.3.1.tgz", + "integrity": "sha512-cB10MXLTs3gVuXimblAdI71jrJx8njrJZmNMEMC+sQu5B/BIOmlsAjskdqpn81y8UBVEGuHODd7/ci5DvoSzTQ==", + "peerDependencies": { + "react": "*" + } + }, + "node_modules/react-idle-timer": { + "version": "5.5.1", + "resolved": "https://registry.npmjs.org/react-idle-timer/-/react-idle-timer-5.5.1.tgz", + "integrity": "sha512-R2g8wUpPQgbdlDPqI2KgpU2VvDCA0UBDwi2GqTfsqzzLin9gl6ajNoLQp1L2PYcd2X8mp1lOfs79oLFO+2C1oA==", + "peerDependencies": { + "react": ">=16", + "react-dom": ">=16" + } + }, + "node_modules/react-is": { + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", + "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==" + }, + "node_modules/react-leaflet": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/react-leaflet/-/react-leaflet-4.1.0.tgz", + "integrity": "sha512-i+V9pX5lywJ48O2+K3USeeTdYLIhxnLMweH+YLd/UPqVIj3uKzE3Q29bzt83PBtViyZmxDlulzC6uoR3JLiE9A==", + "dependencies": { + "@react-leaflet/core": "^2.1.0" + }, + "peerDependencies": { + "leaflet": "^1.9.0", + "react": "^18.0.0", + "react-dom": "^18.0.0" + } + }, + "node_modules/react-lifecycles-compat": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz", + "integrity": "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==" + }, + "node_modules/react-number-format": { + "version": "4.9.3", + "resolved": "https://registry.npmjs.org/react-number-format/-/react-number-format-4.9.3.tgz", + "integrity": "sha512-am1A1xYAbENuKJ+zpM7V+B1oRTSeOHYltqVKExznIVFweBzhLmOBmyb1DfIKjHo90E0bo1p3nzVJ2NgS5xh+sQ==", + "dependencies": { + "prop-types": "^15.7.2" + }, + "peerDependencies": { + "react": "^0.14 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^0.14 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0" + } + }, + "node_modules/react-onclickoutside": { + "version": "6.12.2", + "resolved": "https://registry.npmjs.org/react-onclickoutside/-/react-onclickoutside-6.12.2.tgz", + "integrity": "sha512-NMXGa223OnsrGVp5dJHkuKxQ4czdLmXSp5jSV9OqiCky9LOpPATn3vLldc+q5fK3gKbEHvr7J1u0yhBh/xYkpA==", + "funding": { + "type": "individual", + "url": "https://github.com/Pomax/react-onclickoutside/blob/master/FUNDING.md" + }, + "peerDependencies": { + "react": "^15.5.x || ^16.x || ^17.x || ^18.x", + "react-dom": "^15.5.x || ^16.x || ^17.x || ^18.x" + } + }, + "node_modules/react-overlays": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/react-overlays/-/react-overlays-5.2.1.tgz", + "integrity": "sha512-GLLSOLWr21CqtJn8geSwQfoJufdt3mfdsnIiQswouuQ2MMPns+ihZklxvsTDKD3cR2tF8ELbi5xUsvqVhR6WvA==", + "dependencies": { + "@babel/runtime": "^7.13.8", + "@popperjs/core": "^2.11.6", + "@restart/hooks": "^0.4.7", + "@types/warning": "^3.0.0", + "dom-helpers": "^5.2.0", + "prop-types": "^15.7.2", + "uncontrollable": "^7.2.1", + "warning": "^4.0.3" + }, + "peerDependencies": { + "react": ">=16.3.0", + "react-dom": ">=16.3.0" + } + }, + "node_modules/react-overlays/node_modules/@restart/hooks": { + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/@restart/hooks/-/hooks-0.4.7.tgz", + "integrity": "sha512-ZbjlEHcG+FQtpDPHd7i4FzNNvJf2enAwZfJbpM8CW7BhmOAbsHpZe3tsHwfQUrBuyrxWqPYp2x5UMnilWcY22A==", + "dependencies": { + "dequal": "^2.0.2" + }, + "peerDependencies": { + "react": ">=16.8.0" + } + }, + "node_modules/react-paginate": { + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/react-paginate/-/react-paginate-8.1.3.tgz", + "integrity": "sha512-zBp80DBRcaeBnAeHUfbGKD0XHfbGNUolQ+S60Ymfs8o7rusYaJYZMAt1j93ADDNLlzRmJ0tMF/NeTlcdKf7dlQ==", + "dependencies": { + "prop-types": "^15.6.1" + }, + "peerDependencies": { + "react": "^16 || ^17 || ^18" + } + }, + "node_modules/react-popper": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/react-popper/-/react-popper-2.3.0.tgz", + "integrity": "sha512-e1hj8lL3uM+sgSR4Lxzn5h1GxBlpa4CQz0XLF8kx4MDrDRWY0Ena4c97PUeSX9i5W3UAfDP0z0FXCTQkoXUl3Q==", + "dependencies": { + "react-fast-compare": "^3.0.1", + "warning": "^4.0.2" + }, + "peerDependencies": { + "@popperjs/core": "^2.0.0", + "react": "^16.8.0 || ^17 || ^18", + "react-dom": "^16.8.0 || ^17 || ^18" + } + }, + "node_modules/react-redux": { + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-8.0.4.tgz", + "integrity": "sha512-yMfQ7mX6bWuicz2fids6cR1YT59VTuT8MKyyE310wJQlINKENCeT1UcPdEiX6znI5tF8zXyJ/VYvDgeGuaaNwQ==", + "dependencies": { + "@babel/runtime": "^7.12.1", + "@types/hoist-non-react-statics": "^3.3.1", + "@types/use-sync-external-store": "^0.0.3", + "hoist-non-react-statics": "^3.3.2", + "react-is": "^18.0.0", + "use-sync-external-store": "^1.0.0" + }, + "peerDependencies": { + "@types/react": "^16.8 || ^17.0 || ^18.0", + "@types/react-dom": "^16.8 || ^17.0 || ^18.0", + "react": "^16.8 || ^17.0 || ^18.0", + "react-dom": "^16.8 || ^17.0 || ^18.0", + "react-native": ">=0.59", + "redux": "^4" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + }, + "react-dom": { + "optional": true + }, + "react-native": { + "optional": true + }, + "redux": { + "optional": true + } + } + }, + "node_modules/react-redux-loading-bar": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/react-redux-loading-bar/-/react-redux-loading-bar-5.0.4.tgz", + "integrity": "sha512-ttLFYETh9zfyxJdTa5a1+KTWquxX3UN7F/XYslNTeCE8cpnWNpBbUOg8TcaZmOoWEWjCe/i5sV/Mvvr0xsGBBw==", + "dependencies": { + "prop-types": "^15.7.2", + "react-lifecycles-compat": "^3.0.4" + }, + "peerDependencies": { + "react": "^0.14.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^0.14.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0", + "react-redux": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0", + "redux": "^3.0.0 || ^4.0.0" + } + }, + "node_modules/react-refresh": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.11.0.tgz", + "integrity": "sha512-F27qZr8uUqwhWZboondsPx8tnC3Ct3SxZA3V5WyEvujRyyNv0VYPhoBg1gZ8/MV5tubQp76Trw8lTv9hzRBa+A==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-resize-detector": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/react-resize-detector/-/react-resize-detector-7.1.2.tgz", + "integrity": "sha512-zXnPJ2m8+6oq9Nn8zsep/orts9vQv3elrpA+R8XTcW7DVVUJ9vwDwMXaBtykAYjMnkCIaOoK9vObyR7ZgFNlOw==", + "dependencies": { + "lodash": "^4.17.21" + }, + "peerDependencies": { + "react": "^16.0.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0" + } + }, + "node_modules/react-responsive": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/react-responsive/-/react-responsive-8.2.0.tgz", + "integrity": "sha512-iagCqVrw4QSjhxKp3I/YK6+ODkWY6G+YPElvdYKiUUbywwh9Ds0M7r26Fj2/7dWFFbOpcGnJE6uE7aMck8j5Qg==", + "dependencies": { + "hyphenate-style-name": "^1.0.0", + "matchmediaquery": "^0.3.0", + "prop-types": "^15.6.1", + "shallow-equal": "^1.1.0" + }, + "engines": { + "node": ">= 0.10" + }, + "peerDependencies": { + "react": ">=16.8.0" + } + }, + "node_modules/react-router": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-5.2.0.tgz", + "integrity": "sha512-smz1DUuFHRKdcJC0jobGo8cVbhO3x50tCL4icacOlcwDOEQPq4TMqwx3sY1TP+DvtTgz4nm3thuo7A+BK2U0Dw==", + "dependencies": { + "@babel/runtime": "^7.1.2", + "history": "^4.9.0", + "hoist-non-react-statics": "^3.1.0", + "loose-envify": "^1.3.1", + "mini-create-react-context": "^0.4.0", + "path-to-regexp": "^1.7.0", + "prop-types": "^15.6.2", + "react-is": "^16.6.0", + "tiny-invariant": "^1.0.2", + "tiny-warning": "^1.0.0" + }, + "peerDependencies": { + "react": ">=15" + } + }, + "node_modules/react-router-dom": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-5.2.0.tgz", + "integrity": "sha512-gxAmfylo2QUjcwxI63RhQ5G85Qqt4voZpUXSEqCwykV0baaOTQDR1f0PmY8AELqIyVc0NEZUj0Gov5lNGcXgsA==", + "dependencies": { + "@babel/runtime": "^7.1.2", + "history": "^4.9.0", + "loose-envify": "^1.3.1", + "prop-types": "^15.6.2", + "react-router": "5.2.0", + "tiny-invariant": "^1.0.2", + "tiny-warning": "^1.0.0" + }, + "peerDependencies": { + "react": ">=15" + } + }, + "node_modules/react-router/node_modules/mini-create-react-context": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/mini-create-react-context/-/mini-create-react-context-0.4.1.tgz", + "integrity": "sha512-YWCYEmd5CQeHGSAKrYvXgmzzkrvssZcuuQDDeqkT+PziKGMgE+0MCCtcKbROzocGBG1meBLl2FotlRwf4gAzbQ==", + "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.", + "dependencies": { + "@babel/runtime": "^7.12.1", + "tiny-warning": "^1.0.3" + }, + "peerDependencies": { + "prop-types": "^15.0.0", + "react": "^0.14.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "node_modules/react-router/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + }, + "node_modules/react-scripts": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/react-scripts/-/react-scripts-5.0.1.tgz", + "integrity": "sha512-8VAmEm/ZAwQzJ+GOMLbBsTdDKOpuZh7RPs0UymvBR2vRk4iZWCskjbFnxqjrzoIvlNNRZ3QJFx6/qDSi6zSnaQ==", + "dev": true, + "dependencies": { + "@babel/core": "^7.16.0", + "@pmmmwh/react-refresh-webpack-plugin": "^0.5.3", + "@svgr/webpack": "^5.5.0", + "babel-jest": "^27.4.2", + "babel-loader": "^8.2.3", + "babel-plugin-named-asset-import": "^0.3.8", + "babel-preset-react-app": "^10.0.1", + "bfj": "^7.0.2", + "browserslist": "^4.18.1", + "camelcase": "^6.2.1", + "case-sensitive-paths-webpack-plugin": "^2.4.0", + "css-loader": "^6.5.1", + "css-minimizer-webpack-plugin": "^3.2.0", + "dotenv": "^10.0.0", + "dotenv-expand": "^5.1.0", + "eslint": "^8.3.0", + "eslint-config-react-app": "^7.0.1", + "eslint-webpack-plugin": "^3.1.1", + "file-loader": "^6.2.0", + "fs-extra": "^10.0.0", + "html-webpack-plugin": "^5.5.0", + "identity-obj-proxy": "^3.0.0", + "jest": "^27.4.3", + "jest-resolve": "^27.4.2", + "jest-watch-typeahead": "^1.0.0", + "mini-css-extract-plugin": "^2.4.5", + "postcss": "^8.4.4", + "postcss-flexbugs-fixes": "^5.0.2", + "postcss-loader": "^6.2.1", + "postcss-normalize": "^10.0.1", + "postcss-preset-env": "^7.0.1", + "prompts": "^2.4.2", + "react-app-polyfill": "^3.0.0", + "react-dev-utils": "^12.0.1", + "react-refresh": "^0.11.0", + "resolve": "^1.20.0", + "resolve-url-loader": "^4.0.0", + "sass-loader": "^12.3.0", + "semver": "^7.3.5", + "source-map-loader": "^3.0.0", + "style-loader": "^3.3.1", + "tailwindcss": "^3.0.2", + "terser-webpack-plugin": "^5.2.5", + "webpack": "^5.64.4", + "webpack-dev-server": "^4.6.0", + "webpack-manifest-plugin": "^4.0.2", + "workbox-webpack-plugin": "^6.4.1" + }, + "bin": { + "react-scripts": "bin/react-scripts.js" + }, + "engines": { + "node": ">=14.0.0" + }, + "optionalDependencies": { + "fsevents": "^2.3.2" + }, + "peerDependencies": { + "react": ">= 16", + "typescript": "^3.2.1 || ^4" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/react-scripts/node_modules/@jest/console": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-27.5.1.tgz", + "integrity": "sha512-kZ/tNpS3NXn0mlXXXPNuDZnb4c0oZ20r4K5eemM2k30ZC3G0T02nXUvyhf5YdbXWHPEJLc9qGLxEZ216MdL+Zg==", + "dev": true, + "dependencies": { + "@jest/types": "^27.5.1", + "@types/node": "*", + "chalk": "^4.0.0", + "jest-message-util": "^27.5.1", + "jest-util": "^27.5.1", + "slash": "^3.0.0" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/react-scripts/node_modules/@jest/core": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/core/-/core-27.5.1.tgz", + "integrity": "sha512-AK6/UTrvQD0Cd24NSqmIA6rKsu0tKIxfiCducZvqxYdmMisOYAsdItspT+fQDQYARPf8XgjAFZi0ogW2agH5nQ==", + "dev": true, + "dependencies": { + "@jest/console": "^27.5.1", + "@jest/reporters": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/transform": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "emittery": "^0.8.1", + "exit": "^0.1.2", + "graceful-fs": "^4.2.9", + "jest-changed-files": "^27.5.1", + "jest-config": "^27.5.1", + "jest-haste-map": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-regex-util": "^27.5.1", + "jest-resolve": "^27.5.1", + "jest-resolve-dependencies": "^27.5.1", + "jest-runner": "^27.5.1", + "jest-runtime": "^27.5.1", + "jest-snapshot": "^27.5.1", + "jest-util": "^27.5.1", + "jest-validate": "^27.5.1", + "jest-watcher": "^27.5.1", + "micromatch": "^4.0.4", + "rimraf": "^3.0.0", + "slash": "^3.0.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/react-scripts/node_modules/@jest/environment": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-27.5.1.tgz", + "integrity": "sha512-/WQjhPJe3/ghaol/4Bq480JKXV/Rfw8nQdN7f41fM8VDHLcxKXou6QyXAh3EFr9/bVG3x74z1NWDkP87EiY8gA==", + "dev": true, + "dependencies": { + "@jest/fake-timers": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "jest-mock": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/react-scripts/node_modules/@jest/fake-timers": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-27.5.1.tgz", + "integrity": "sha512-/aPowoolwa07k7/oM3aASneNeBGCmGQsc3ugN4u6s4C/+s5M64MFo/+djTdiwcbQlRfFElGuDXWzaWj6QgKObQ==", + "dev": true, + "dependencies": { + "@jest/types": "^27.5.1", + "@sinonjs/fake-timers": "^8.0.1", + "@types/node": "*", + "jest-message-util": "^27.5.1", + "jest-mock": "^27.5.1", + "jest-util": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/react-scripts/node_modules/@jest/globals": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-27.5.1.tgz", + "integrity": "sha512-ZEJNB41OBQQgGzgyInAv0UUfDDj3upmHydjieSxFvTRuZElrx7tXg/uVQ5hYVEwiXs3+aMsAeEc9X7xiSKCm4Q==", + "dev": true, + "dependencies": { + "@jest/environment": "^27.5.1", + "@jest/types": "^27.5.1", + "expect": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/react-scripts/node_modules/@jest/reporters": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-27.5.1.tgz", + "integrity": "sha512-cPXh9hWIlVJMQkVk84aIvXuBB4uQQmFqZiacloFuGiP3ah1sbCxCosidXFDfqG8+6fO1oR2dTJTlsOy4VFmUfw==", + "dev": true, + "dependencies": { + "@bcoe/v8-coverage": "^0.2.3", + "@jest/console": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/transform": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "chalk": "^4.0.0", + "collect-v8-coverage": "^1.0.0", + "exit": "^0.1.2", + "glob": "^7.1.2", + "graceful-fs": "^4.2.9", + "istanbul-lib-coverage": "^3.0.0", + "istanbul-lib-instrument": "^5.1.0", + "istanbul-lib-report": "^3.0.0", + "istanbul-lib-source-maps": "^4.0.0", + "istanbul-reports": "^3.1.3", + "jest-haste-map": "^27.5.1", + "jest-resolve": "^27.5.1", + "jest-util": "^27.5.1", + "jest-worker": "^27.5.1", + "slash": "^3.0.0", + "source-map": "^0.6.0", + "string-length": "^4.0.1", + "terminal-link": "^2.0.0", + "v8-to-istanbul": "^8.1.0" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/react-scripts/node_modules/@jest/schemas": { + "version": "28.1.3", + "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-28.1.3.tgz", + "integrity": "sha512-/l/VWsdt/aBXgjshLWOFyFt3IVdYypu5y2Wn2rOO1un6nkqIn8SLXzgIMYXFyYsRWDyF5EthmKJMIdJvk08grg==", + "dev": true, + "dependencies": { + "@sinclair/typebox": "^0.24.1" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "node_modules/react-scripts/node_modules/@jest/source-map": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-27.5.1.tgz", + "integrity": "sha512-y9NIHUYF3PJRlHk98NdC/N1gl88BL08aQQgu4k4ZopQkCw9t9cV8mtl3TV8b/YCB8XaVTFrmUTAJvjsntDireg==", + "dev": true, + "dependencies": { + "callsites": "^3.0.0", + "graceful-fs": "^4.2.9", + "source-map": "^0.6.0" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/react-scripts/node_modules/@jest/test-result": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-27.5.1.tgz", + "integrity": "sha512-EW35l2RYFUcUQxFJz5Cv5MTOxlJIQs4I7gxzi2zVU7PJhOwfYq1MdC5nhSmYjX1gmMmLPvB3sIaC+BkcHRBfag==", + "dev": true, + "dependencies": { + "@jest/console": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/istanbul-lib-coverage": "^2.0.0", + "collect-v8-coverage": "^1.0.0" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/react-scripts/node_modules/@jest/test-sequencer": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-27.5.1.tgz", + "integrity": "sha512-LCheJF7WB2+9JuCS7VB/EmGIdQuhtqjRNI9A43idHv3E4KltCTsPsLxvdaubFHSYwY/fNjMWjl6vNRhDiN7vpQ==", + "dev": true, + "dependencies": { + "@jest/test-result": "^27.5.1", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^27.5.1", + "jest-runtime": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/react-scripts/node_modules/@jest/types": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", + "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "dev": true, + "dependencies": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^16.0.0", + "chalk": "^4.0.0" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/react-scripts/node_modules/@sinclair/typebox": { + "version": "0.24.51", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.24.51.tgz", + "integrity": "sha512-1P1OROm/rdubP5aFDSZQILU0vrLCJ4fvHt6EoqHEM+2D/G5MK3bIaymUKLit8Js9gbns5UyJnkP/TZROLw4tUA==", + "dev": true + }, + "node_modules/react-scripts/node_modules/@sinonjs/commons": { + "version": "1.8.6", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.6.tgz", + "integrity": "sha512-Ky+XkAkqPZSm3NLBeUng77EBQl3cmeJhITaGHdYH8kjVB+aun3S4XBRti2zt17mtt0mIUDiNxYeoJm6drVvBJQ==", + "dev": true, + "dependencies": { + "type-detect": "4.0.8" + } + }, + "node_modules/react-scripts/node_modules/@sinonjs/fake-timers": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-8.1.0.tgz", + "integrity": "sha512-OAPJUAtgeINhh/TAlUID4QTs53Njm7xzddaVlEs/SXwgtiD1tW22zAB/W1wdqfrpmikgaWQ9Fw6Ws+hsiRm5Vg==", + "dev": true, + "dependencies": { + "@sinonjs/commons": "^1.7.0" + } + }, + "node_modules/react-scripts/node_modules/@types/yargs": { + "version": "16.0.5", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", + "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "dev": true, + "dependencies": { + "@types/yargs-parser": "*" + } + }, + "node_modules/react-scripts/node_modules/ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/react-scripts/node_modules/deepmerge": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.0.tgz", + "integrity": "sha512-z2wJZXrmeHdvYJp/Ux55wIjqo81G5Bp4c+oELTW+7ar6SogWHajt5a9gO3s3IDaGSAXjDk0vlQKN3rms8ab3og==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-scripts/node_modules/emittery": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.8.1.tgz", + "integrity": "sha512-uDfvUjVrfGJJhymx/kz6prltenw1u7WrCg1oa94zYY8xxVpLLUu045LAT0dhDZdXG58/EpPL/5kA180fQ/qudg==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/emittery?sponsor=1" + } + }, + "node_modules/react-scripts/node_modules/execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/react-scripts/node_modules/expect": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/expect/-/expect-27.5.1.tgz", + "integrity": "sha512-E1q5hSUG2AmYQwQJ041nvgpkODHQvB+RKlB4IYdru6uJsyFTRyZAP463M+1lINorwbqAmUggi6+WwkD8lCS/Dw==", + "dev": true, + "dependencies": { + "@jest/types": "^27.5.1", + "jest-get-type": "^27.5.1", + "jest-matcher-utils": "^27.5.1", + "jest-message-util": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/react-scripts/node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/react-scripts/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/react-scripts/node_modules/human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "dev": true, + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/react-scripts/node_modules/jest": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest/-/jest-27.5.1.tgz", + "integrity": "sha512-Yn0mADZB89zTtjkPJEXwrac3LHudkQMR+Paqa8uxJHCBr9agxztUifWCyiYrjhMPBoUVBjyny0I7XH6ozDr7QQ==", + "dev": true, + "dependencies": { + "@jest/core": "^27.5.1", + "import-local": "^3.0.2", + "jest-cli": "^27.5.1" + }, + "bin": { + "jest": "bin/jest.js" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/react-scripts/node_modules/jest-changed-files": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-27.5.1.tgz", + "integrity": "sha512-buBLMiByfWGCoMsLLzGUUSpAmIAGnbR2KJoMN10ziLhOLvP4e0SlypHnAel8iqQXTrcbmfEY9sSqae5sgUsTvw==", + "dev": true, + "dependencies": { + "@jest/types": "^27.5.1", + "execa": "^5.0.0", + "throat": "^6.0.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/react-scripts/node_modules/jest-circus": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-27.5.1.tgz", + "integrity": "sha512-D95R7x5UtlMA5iBYsOHFFbMD/GVA4R/Kdq15f7xYWUfWHBto9NYRsOvnSauTgdF+ogCpJ4tyKOXhUifxS65gdw==", + "dev": true, + "dependencies": { + "@jest/environment": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "chalk": "^4.0.0", + "co": "^4.6.0", + "dedent": "^0.7.0", + "expect": "^27.5.1", + "is-generator-fn": "^2.0.0", + "jest-each": "^27.5.1", + "jest-matcher-utils": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-runtime": "^27.5.1", + "jest-snapshot": "^27.5.1", + "jest-util": "^27.5.1", + "pretty-format": "^27.5.1", + "slash": "^3.0.0", + "stack-utils": "^2.0.3", + "throat": "^6.0.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/react-scripts/node_modules/jest-cli": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-27.5.1.tgz", + "integrity": "sha512-Hc6HOOwYq4/74/c62dEE3r5elx8wjYqxY0r0G/nFrLDPMFRu6RA/u8qINOIkvhxG7mMQ5EJsOGfRpI8L6eFUVw==", + "dev": true, + "dependencies": { + "@jest/core": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/types": "^27.5.1", + "chalk": "^4.0.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.9", + "import-local": "^3.0.2", + "jest-config": "^27.5.1", + "jest-util": "^27.5.1", + "jest-validate": "^27.5.1", + "prompts": "^2.0.1", + "yargs": "^16.2.0" + }, + "bin": { + "jest": "bin/jest.js" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/react-scripts/node_modules/jest-config": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-27.5.1.tgz", + "integrity": "sha512-5sAsjm6tGdsVbW9ahcChPAFCk4IlkQUknH5AvKjuLTSlcO/wCZKyFdn7Rg0EkC+OGgWODEy2hDpWB1PgzH0JNA==", + "dev": true, + "dependencies": { + "@babel/core": "^7.8.0", + "@jest/test-sequencer": "^27.5.1", + "@jest/types": "^27.5.1", + "babel-jest": "^27.5.1", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "deepmerge": "^4.2.2", + "glob": "^7.1.1", + "graceful-fs": "^4.2.9", + "jest-circus": "^27.5.1", + "jest-environment-jsdom": "^27.5.1", + "jest-environment-node": "^27.5.1", + "jest-get-type": "^27.5.1", + "jest-jasmine2": "^27.5.1", + "jest-regex-util": "^27.5.1", + "jest-resolve": "^27.5.1", + "jest-runner": "^27.5.1", + "jest-util": "^27.5.1", + "jest-validate": "^27.5.1", + "micromatch": "^4.0.4", + "parse-json": "^5.2.0", + "pretty-format": "^27.5.1", + "slash": "^3.0.0", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + }, + "peerDependencies": { + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "ts-node": { + "optional": true + } + } + }, + "node_modules/react-scripts/node_modules/jest-docblock": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-27.5.1.tgz", + "integrity": "sha512-rl7hlABeTsRYxKiUfpHrQrG4e2obOiTQWfMEH3PxPjOtdsfLQO4ReWSZaQ7DETm4xu07rl4q/h4zcKXyU0/OzQ==", + "dev": true, + "dependencies": { + "detect-newline": "^3.0.0" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/react-scripts/node_modules/jest-each": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-27.5.1.tgz", + "integrity": "sha512-1Ff6p+FbhT/bXQnEouYy00bkNSY7OUpfIcmdl8vZ31A1UUaurOLPA8a8BbJOF2RDUElwJhmeaV7LnagI+5UwNQ==", + "dev": true, + "dependencies": { + "@jest/types": "^27.5.1", + "chalk": "^4.0.0", + "jest-get-type": "^27.5.1", + "jest-util": "^27.5.1", + "pretty-format": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/react-scripts/node_modules/jest-environment-node": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-27.5.1.tgz", + "integrity": "sha512-Jt4ZUnxdOsTGwSRAfKEnE6BcwsSPNOijjwifq5sDFSA2kesnXTvNqKHYgM0hDq3549Uf/KzdXNYn4wMZJPlFLw==", + "dev": true, + "dependencies": { + "@jest/environment": "^27.5.1", + "@jest/fake-timers": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "jest-mock": "^27.5.1", + "jest-util": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/react-scripts/node_modules/jest-leak-detector": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-27.5.1.tgz", + "integrity": "sha512-POXfWAMvfU6WMUXftV4HolnJfnPOGEu10fscNCA76KBpRRhcMN2c8d3iT2pxQS3HLbA+5X4sOUPzYO2NUyIlHQ==", + "dev": true, + "dependencies": { + "jest-get-type": "^27.5.1", + "pretty-format": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/react-scripts/node_modules/jest-message-util": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-27.5.1.tgz", + "integrity": "sha512-rMyFe1+jnyAAf+NHwTclDz0eAaLkVDdKVHHBFWsBWHnnh5YeJMNWWsv7AbFYXfK3oTqvL7VTWkhNLu1jX24D+g==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.12.13", + "@jest/types": "^27.5.1", + "@types/stack-utils": "^2.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "micromatch": "^4.0.4", + "pretty-format": "^27.5.1", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/react-scripts/node_modules/jest-mock": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-27.5.1.tgz", + "integrity": "sha512-K4jKbY1d4ENhbrG2zuPWaQBvDly+iZ2yAW+T1fATN78hc0sInwn7wZB8XtlNnvHug5RMwV897Xm4LqmPM4e2Og==", + "dev": true, + "dependencies": { + "@jest/types": "^27.5.1", + "@types/node": "*" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/react-scripts/node_modules/jest-resolve-dependencies": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-27.5.1.tgz", + "integrity": "sha512-QQOOdY4PE39iawDn5rzbIePNigfe5B9Z91GDD1ae/xNDlu9kaat8QQ5EKnNmVWPV54hUdxCVwwj6YMgR2O7IOg==", + "dev": true, + "dependencies": { + "@jest/types": "^27.5.1", + "jest-regex-util": "^27.5.1", + "jest-snapshot": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/react-scripts/node_modules/jest-runner": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-27.5.1.tgz", + "integrity": "sha512-g4NPsM4mFCOwFKXO4p/H/kWGdJp9V8kURY2lX8Me2drgXqG7rrZAx5kv+5H7wtt/cdFIjhqYx1HrlqWHaOvDaQ==", + "dev": true, + "dependencies": { + "@jest/console": "^27.5.1", + "@jest/environment": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/transform": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "chalk": "^4.0.0", + "emittery": "^0.8.1", + "graceful-fs": "^4.2.9", + "jest-docblock": "^27.5.1", + "jest-environment-jsdom": "^27.5.1", + "jest-environment-node": "^27.5.1", + "jest-haste-map": "^27.5.1", + "jest-leak-detector": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-resolve": "^27.5.1", + "jest-runtime": "^27.5.1", + "jest-util": "^27.5.1", + "jest-worker": "^27.5.1", + "source-map-support": "^0.5.6", + "throat": "^6.0.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/react-scripts/node_modules/jest-runtime": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-27.5.1.tgz", + "integrity": "sha512-o7gxw3Gf+H2IGt8fv0RiyE1+r83FJBRruoA+FXrlHw6xEyBsU8ugA6IPfTdVyA0w8HClpbK+DGJxH59UrNMx8A==", + "dev": true, + "dependencies": { + "@jest/environment": "^27.5.1", + "@jest/fake-timers": "^27.5.1", + "@jest/globals": "^27.5.1", + "@jest/source-map": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/transform": "^27.5.1", + "@jest/types": "^27.5.1", + "chalk": "^4.0.0", + "cjs-module-lexer": "^1.0.0", + "collect-v8-coverage": "^1.0.0", + "execa": "^5.0.0", + "glob": "^7.1.3", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-mock": "^27.5.1", + "jest-regex-util": "^27.5.1", + "jest-resolve": "^27.5.1", + "jest-snapshot": "^27.5.1", + "jest-util": "^27.5.1", + "slash": "^3.0.0", + "strip-bom": "^4.0.0" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/react-scripts/node_modules/jest-snapshot": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-27.5.1.tgz", + "integrity": "sha512-yYykXI5a0I31xX67mgeLw1DZ0bJB+gpq5IpSuCAoyDi0+BhgU/RIrL+RTzDmkNTchvDFWKP8lp+w/42Z3us5sA==", + "dev": true, + "dependencies": { + "@babel/core": "^7.7.2", + "@babel/generator": "^7.7.2", + "@babel/plugin-syntax-typescript": "^7.7.2", + "@babel/traverse": "^7.7.2", + "@babel/types": "^7.0.0", + "@jest/transform": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/babel__traverse": "^7.0.4", + "@types/prettier": "^2.1.5", + "babel-preset-current-node-syntax": "^1.0.0", + "chalk": "^4.0.0", + "expect": "^27.5.1", + "graceful-fs": "^4.2.9", + "jest-diff": "^27.5.1", + "jest-get-type": "^27.5.1", + "jest-haste-map": "^27.5.1", + "jest-matcher-utils": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-util": "^27.5.1", + "natural-compare": "^1.4.0", + "pretty-format": "^27.5.1", + "semver": "^7.3.2" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/react-scripts/node_modules/jest-watch-typeahead": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/jest-watch-typeahead/-/jest-watch-typeahead-1.1.0.tgz", + "integrity": "sha512-Va5nLSJTN7YFtC2jd+7wsoe1pNe5K4ShLux/E5iHEwlB9AxaxmggY7to9KUqKojhaJw3aXqt5WAb4jGPOolpEw==", + "dev": true, + "dependencies": { + "ansi-escapes": "^4.3.1", + "chalk": "^4.0.0", + "jest-regex-util": "^28.0.0", + "jest-watcher": "^28.0.0", + "slash": "^4.0.0", + "string-length": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "jest": "^27.0.0 || ^28.0.0" + } + }, + "node_modules/react-scripts/node_modules/jest-watch-typeahead/node_modules/@jest/console": { + "version": "28.1.3", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-28.1.3.tgz", + "integrity": "sha512-QPAkP5EwKdK/bxIr6C1I4Vs0rm2nHiANzj/Z5X2JQkrZo6IqvC4ldZ9K95tF0HdidhA8Bo6egxSzUFPYKcEXLw==", + "dev": true, + "dependencies": { + "@jest/types": "^28.1.3", + "@types/node": "*", + "chalk": "^4.0.0", + "jest-message-util": "^28.1.3", + "jest-util": "^28.1.3", + "slash": "^3.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "node_modules/react-scripts/node_modules/jest-watch-typeahead/node_modules/@jest/console/node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/react-scripts/node_modules/jest-watch-typeahead/node_modules/@jest/test-result": { + "version": "28.1.3", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-28.1.3.tgz", + "integrity": "sha512-kZAkxnSE+FqE8YjW8gNuoVkkC9I7S1qmenl8sGcDOLropASP+BkcGKwhXoyqQuGOGeYY0y/ixjrd/iERpEXHNg==", + "dev": true, + "dependencies": { + "@jest/console": "^28.1.3", + "@jest/types": "^28.1.3", + "@types/istanbul-lib-coverage": "^2.0.0", + "collect-v8-coverage": "^1.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "node_modules/react-scripts/node_modules/jest-watch-typeahead/node_modules/@jest/types": { + "version": "28.1.3", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-28.1.3.tgz", + "integrity": "sha512-RyjiyMUZrKz/c+zlMFO1pm70DcIlST8AeWTkoUdZevew44wcNZQHsEVOiCVtgVnlFFD82FPaXycys58cf2muVQ==", + "dev": true, + "dependencies": { + "@jest/schemas": "^28.1.3", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "node_modules/react-scripts/node_modules/jest-watch-typeahead/node_modules/@types/yargs": { + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", + "dev": true, + "dependencies": { + "@types/yargs-parser": "*" + } + }, + "node_modules/react-scripts/node_modules/jest-watch-typeahead/node_modules/emittery": { + "version": "0.10.2", + "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.10.2.tgz", + "integrity": "sha512-aITqOwnLanpHLNXZJENbOgjUBeHocD+xsSJmNrjovKBW5HbSpW3d1pEls7GFQPUWXiwG9+0P4GtHfEqC/4M0Iw==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sindresorhus/emittery?sponsor=1" } }, - "node_modules/react-redux-loading-bar": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/react-redux-loading-bar/-/react-redux-loading-bar-5.0.4.tgz", - "integrity": "sha512-ttLFYETh9zfyxJdTa5a1+KTWquxX3UN7F/XYslNTeCE8cpnWNpBbUOg8TcaZmOoWEWjCe/i5sV/Mvvr0xsGBBw==", + "node_modules/react-scripts/node_modules/jest-watch-typeahead/node_modules/jest-message-util": { + "version": "28.1.3", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-28.1.3.tgz", + "integrity": "sha512-PFdn9Iewbt575zKPf1286Ht9EPoJmYT7P0kY+RibeYZ2XtOr53pDLEFoTWXbd1h4JiGiWpTBC84fc8xMXQMb7g==", + "dev": true, "dependencies": { - "prop-types": "^15.7.2", - "react-lifecycles-compat": "^3.0.4" + "@babel/code-frame": "^7.12.13", + "@jest/types": "^28.1.3", + "@types/stack-utils": "^2.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "micromatch": "^4.0.4", + "pretty-format": "^28.1.3", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" }, - "peerDependencies": { - "react": "^0.14.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^0.14.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0", - "react-redux": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0", - "redux": "^3.0.0 || ^4.0.0" + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" } }, - "node_modules/react-refresh": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.11.0.tgz", - "integrity": "sha512-F27qZr8uUqwhWZboondsPx8tnC3Ct3SxZA3V5WyEvujRyyNv0VYPhoBg1gZ8/MV5tubQp76Trw8lTv9hzRBa+A==", + "node_modules/react-scripts/node_modules/jest-watch-typeahead/node_modules/jest-message-util/node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, - "node_modules/react-resize-detector": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/react-resize-detector/-/react-resize-detector-7.1.2.tgz", - "integrity": "sha512-zXnPJ2m8+6oq9Nn8zsep/orts9vQv3elrpA+R8XTcW7DVVUJ9vwDwMXaBtykAYjMnkCIaOoK9vObyR7ZgFNlOw==", + "node_modules/react-scripts/node_modules/jest-watch-typeahead/node_modules/jest-regex-util": { + "version": "28.0.2", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-28.0.2.tgz", + "integrity": "sha512-4s0IgyNIy0y9FK+cjoVYoxamT7Zeo7MhzqRGx7YDYmaQn1wucY9rotiGkBzzcMXTtjrCAP/f7f+E0F7+fxPNdw==", + "dev": true, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "node_modules/react-scripts/node_modules/jest-watch-typeahead/node_modules/jest-util": { + "version": "28.1.3", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-28.1.3.tgz", + "integrity": "sha512-XdqfpHwpcSRko/C35uLYFM2emRAltIIKZiJ9eAmhjsj0CqZMa0p1ib0R5fWIqGhn1a103DebTbpqIaP1qCQ6tQ==", + "dev": true, "dependencies": { - "lodash": "^4.17.21" + "@jest/types": "^28.1.3", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" }, - "peerDependencies": { - "react": "^16.0.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0" + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" } }, - "node_modules/react-responsive": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/react-responsive/-/react-responsive-8.2.0.tgz", - "integrity": "sha512-iagCqVrw4QSjhxKp3I/YK6+ODkWY6G+YPElvdYKiUUbywwh9Ds0M7r26Fj2/7dWFFbOpcGnJE6uE7aMck8j5Qg==", + "node_modules/react-scripts/node_modules/jest-watch-typeahead/node_modules/jest-watcher": { + "version": "28.1.3", + "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-28.1.3.tgz", + "integrity": "sha512-t4qcqj9hze+jviFPUN3YAtAEeFnr/azITXQEMARf5cMwKY2SMBRnCQTXLixTl20OR6mLh9KLMrgVJgJISym+1g==", + "dev": true, "dependencies": { - "hyphenate-style-name": "^1.0.0", - "matchmediaquery": "^0.3.0", - "prop-types": "^15.6.1", - "shallow-equal": "^1.1.0" + "@jest/test-result": "^28.1.3", + "@jest/types": "^28.1.3", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "emittery": "^0.10.2", + "jest-util": "^28.1.3", + "string-length": "^4.0.1" }, "engines": { - "node": ">= 0.10" - }, - "peerDependencies": { - "react": ">=16.8.0" + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" } }, - "node_modules/react-router": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-5.2.0.tgz", - "integrity": "sha512-smz1DUuFHRKdcJC0jobGo8cVbhO3x50tCL4icacOlcwDOEQPq4TMqwx3sY1TP+DvtTgz4nm3thuo7A+BK2U0Dw==", + "node_modules/react-scripts/node_modules/jest-watch-typeahead/node_modules/jest-watcher/node_modules/string-length": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", + "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==", + "dev": true, "dependencies": { - "@babel/runtime": "^7.1.2", - "history": "^4.9.0", - "hoist-non-react-statics": "^3.1.0", - "loose-envify": "^1.3.1", - "mini-create-react-context": "^0.4.0", - "path-to-regexp": "^1.7.0", - "prop-types": "^15.6.2", - "react-is": "^16.6.0", - "tiny-invariant": "^1.0.2", - "tiny-warning": "^1.0.0" + "char-regex": "^1.0.2", + "strip-ansi": "^6.0.0" }, - "peerDependencies": { - "react": ">=15" + "engines": { + "node": ">=10" } }, - "node_modules/react-router-dom": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-5.2.0.tgz", - "integrity": "sha512-gxAmfylo2QUjcwxI63RhQ5G85Qqt4voZpUXSEqCwykV0baaOTQDR1f0PmY8AELqIyVc0NEZUj0Gov5lNGcXgsA==", + "node_modules/react-scripts/node_modules/jest-watch-typeahead/node_modules/jest-watcher/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, "dependencies": { - "@babel/runtime": "^7.1.2", - "history": "^4.9.0", - "loose-envify": "^1.3.1", - "prop-types": "^15.6.2", - "react-router": "5.2.0", - "tiny-invariant": "^1.0.2", - "tiny-warning": "^1.0.0" + "ansi-regex": "^5.0.1" }, - "peerDependencies": { - "react": ">=15" + "engines": { + "node": ">=8" } }, - "node_modules/react-router/node_modules/mini-create-react-context": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/mini-create-react-context/-/mini-create-react-context-0.4.1.tgz", - "integrity": "sha512-YWCYEmd5CQeHGSAKrYvXgmzzkrvssZcuuQDDeqkT+PziKGMgE+0MCCtcKbROzocGBG1meBLl2FotlRwf4gAzbQ==", - "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.", + "node_modules/react-scripts/node_modules/jest-watch-typeahead/node_modules/pretty-format": { + "version": "28.1.3", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-28.1.3.tgz", + "integrity": "sha512-8gFb/To0OmxHR9+ZTb14Df2vNxdGCX8g1xWGUTqUw5TiZvcQf5sHKObd5UcPyLLyowNwDAMTF3XWOG1B6mxl1Q==", + "dev": true, "dependencies": { - "@babel/runtime": "^7.12.1", - "tiny-warning": "^1.0.3" + "@jest/schemas": "^28.1.3", + "ansi-regex": "^5.0.1", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" }, - "peerDependencies": { - "prop-types": "^15.0.0", - "react": "^0.14.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" } }, - "node_modules/react-router/node_modules/react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + "node_modules/react-scripts/node_modules/jest-watch-typeahead/node_modules/react-is": { + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", + "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", + "dev": true }, - "node_modules/react-scripts": { + "node_modules/react-scripts/node_modules/jest-watch-typeahead/node_modules/slash": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz", + "integrity": "sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/react-scripts/node_modules/jest-watch-typeahead/node_modules/string-length": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/react-scripts/-/react-scripts-5.0.1.tgz", - "integrity": "sha512-8VAmEm/ZAwQzJ+GOMLbBsTdDKOpuZh7RPs0UymvBR2vRk4iZWCskjbFnxqjrzoIvlNNRZ3QJFx6/qDSi6zSnaQ==", + "resolved": "https://registry.npmjs.org/string-length/-/string-length-5.0.1.tgz", + "integrity": "sha512-9Ep08KAMUn0OadnVaBuRdE2l615CQ508kr0XMadjClfYpdCyvrbFp6Taebo8yyxokQ4viUd/xPPUA4FGgUa0ow==", "dev": true, "dependencies": { - "@babel/core": "^7.16.0", - "@pmmmwh/react-refresh-webpack-plugin": "^0.5.3", - "@svgr/webpack": "^5.5.0", - "babel-jest": "^27.4.2", - "babel-loader": "^8.2.3", - "babel-plugin-named-asset-import": "^0.3.8", - "babel-preset-react-app": "^10.0.1", - "bfj": "^7.0.2", - "browserslist": "^4.18.1", - "camelcase": "^6.2.1", - "case-sensitive-paths-webpack-plugin": "^2.4.0", - "css-loader": "^6.5.1", - "css-minimizer-webpack-plugin": "^3.2.0", - "dotenv": "^10.0.0", - "dotenv-expand": "^5.1.0", - "eslint": "^8.3.0", - "eslint-config-react-app": "^7.0.1", - "eslint-webpack-plugin": "^3.1.1", - "file-loader": "^6.2.0", - "fs-extra": "^10.0.0", - "html-webpack-plugin": "^5.5.0", - "identity-obj-proxy": "^3.0.0", - "jest": "^27.4.3", - "jest-resolve": "^27.4.2", - "jest-watch-typeahead": "^1.0.0", - "mini-css-extract-plugin": "^2.4.5", - "postcss": "^8.4.4", - "postcss-flexbugs-fixes": "^5.0.2", - "postcss-loader": "^6.2.1", - "postcss-normalize": "^10.0.1", - "postcss-preset-env": "^7.0.1", - "prompts": "^2.4.2", - "react-app-polyfill": "^3.0.0", - "react-dev-utils": "^12.0.1", - "react-refresh": "^0.11.0", - "resolve": "^1.20.0", - "resolve-url-loader": "^4.0.0", - "sass-loader": "^12.3.0", - "semver": "^7.3.5", - "source-map-loader": "^3.0.0", - "style-loader": "^3.3.1", - "tailwindcss": "^3.0.2", - "terser-webpack-plugin": "^5.2.5", - "webpack": "^5.64.4", - "webpack-dev-server": "^4.6.0", - "webpack-manifest-plugin": "^4.0.2", - "workbox-webpack-plugin": "^6.4.1" + "char-regex": "^2.0.0", + "strip-ansi": "^7.0.1" }, - "bin": { - "react-scripts": "bin/react-scripts.js" + "engines": { + "node": ">=12.20" }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/react-scripts/node_modules/jest-watch-typeahead/node_modules/string-length/node_modules/char-regex": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-2.0.1.tgz", + "integrity": "sha512-oSvEeo6ZUD7NepqAat3RqoucZ5SeqLJgOvVIwkafu6IP3V0pO38s/ypdVUmDDK6qIIHNlYHJAKX9E7R7HoKElw==", + "dev": true, "engines": { - "node": ">=14.0.0" + "node": ">=12.20" + } + }, + "node_modules/react-scripts/node_modules/jest-watch-typeahead/node_modules/strip-ansi": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz", + "integrity": "sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==", + "dev": true, + "dependencies": { + "ansi-regex": "^6.0.1" }, - "optionalDependencies": { - "fsevents": "^2.3.2" + "engines": { + "node": ">=12" }, - "peerDependencies": { - "react": ">= 16", - "typescript": "^3.2.1 || ^4" + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/react-scripts/node_modules/jest-watch-typeahead/node_modules/strip-ansi/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true, + "engines": { + "node": ">=12" }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/react-scripts/node_modules/jest-watcher": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-27.5.1.tgz", + "integrity": "sha512-z676SuD6Z8o8qbmEGhoEUFOM1+jfEiL3DXHK/xgEiG2EyNYfFG60jluWcupY6dATjfEsKQuibReS1djInQnoVw==", + "dev": true, + "dependencies": { + "@jest/test-result": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "jest-util": "^27.5.1", + "string-length": "^4.0.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, "node_modules/react-scripts/node_modules/lru-cache": { @@ -18427,6 +21350,26 @@ "node": ">=10" } }, + "node_modules/react-scripts/node_modules/pretty-format": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", + "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1", + "ansi-styles": "^5.0.0", + "react-is": "^17.0.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/react-scripts/node_modules/react-is": { + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", + "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", + "dev": true + }, "node_modules/react-scripts/node_modules/semver": { "version": "7.3.8", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", @@ -18442,6 +21385,38 @@ "node": ">=10" } }, + "node_modules/react-scripts/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-scripts/node_modules/v8-to-istanbul": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-8.1.1.tgz", + "integrity": "sha512-FGtKtv3xIpR6BYhvgH8MI/y78oT7d8Au3ww4QIxymrCtZEh5b8gCw2siywE+puhEmuWKDtmfrvF5UlB298ut3w==", + "dev": true, + "dependencies": { + "@types/istanbul-lib-coverage": "^2.0.1", + "convert-source-map": "^1.6.0", + "source-map": "^0.7.3" + }, + "engines": { + "node": ">=10.12.0" + } + }, + "node_modules/react-scripts/node_modules/v8-to-istanbul/node_modules/source-map": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", + "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, "node_modules/react-scripts/node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", @@ -20991,7 +23966,7 @@ "version": "4.8.4", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz", "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==", - "dev": true, + "devOptional": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -21299,14 +24274,14 @@ } }, "node_modules/v8-to-istanbul": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-8.1.1.tgz", - "integrity": "sha512-FGtKtv3xIpR6BYhvgH8MI/y78oT7d8Au3ww4QIxymrCtZEh5b8gCw2siywE+puhEmuWKDtmfrvF5UlB298ut3w==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz", + "integrity": "sha512-74Y4LqY74kLE6IFyIjPtkSTWzUZmj8tdHT9Ii/26dvQ6K9Dl2NbEfj0XgU2sHCtKgt5VupqhlO/5aWuqS+IY1w==", "dev": true, "dependencies": { + "@jridgewell/trace-mapping": "^0.3.12", "@types/istanbul-lib-coverage": "^2.0.1", - "convert-source-map": "^1.6.0", - "source-map": "^0.7.3" + "convert-source-map": "^1.6.0" }, "engines": { "node": ">=10.12.0" @@ -24047,13 +27022,15 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/@csstools/postcss-unset-value/-/postcss-unset-value-1.0.2.tgz", "integrity": "sha512-c8J4roPBILnelAsdLr4XOAR/GsTm0GJi4XpcfvoWk3U6KiTCqiFYc63KhRMQQX35jYMp4Ao8Ij9+IZRgMfJp1g==", - "dev": true + "dev": true, + "requires": {} }, "@csstools/selector-specificity": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-2.1.0.tgz", "integrity": "sha512-zJ6hb3FDgBbO8d2e83vg6zq7tNvDqSq9RwdwfzJ8tdm9JHNvANq2fqwyRn6mlpUb7CwTs5ILdUrGwi9Gk4vY5w==", - "dev": true + "dev": true, + "requires": {} }, "@emotion/is-prop-valid": { "version": "1.2.0", @@ -24217,78 +27194,287 @@ "dev": true }, "@jest/console": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/console/-/console-27.5.1.tgz", - "integrity": "sha512-kZ/tNpS3NXn0mlXXXPNuDZnb4c0oZ20r4K5eemM2k30ZC3G0T02nXUvyhf5YdbXWHPEJLc9qGLxEZ216MdL+Zg==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-29.4.1.tgz", + "integrity": "sha512-m+XpwKSi3PPM9znm5NGS8bBReeAJJpSkL1OuFCqaMaJL2YX9YXLkkI+MBchMPwu+ZuM2rynL51sgfkQteQ1CKQ==", "dev": true, "requires": { - "@jest/types": "^27.5.1", + "@jest/types": "^29.4.1", "@types/node": "*", "chalk": "^4.0.0", - "jest-message-util": "^27.5.1", - "jest-util": "^27.5.1", + "jest-message-util": "^29.4.1", + "jest-util": "^29.4.1", "slash": "^3.0.0" }, "dependencies": { "@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "requires": { + "@jest/schemas": "^29.4.0", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", - "@types/yargs": "^16.0.0", + "@types/yargs": "^17.0.8", "chalk": "^4.0.0" } }, "@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "requires": { "@types/yargs-parser": "*" } + }, + "jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", + "dev": true, + "requires": { + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + } } } }, "@jest/core": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/core/-/core-27.5.1.tgz", - "integrity": "sha512-AK6/UTrvQD0Cd24NSqmIA6rKsu0tKIxfiCducZvqxYdmMisOYAsdItspT+fQDQYARPf8XgjAFZi0ogW2agH5nQ==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/core/-/core-29.4.1.tgz", + "integrity": "sha512-RXFTohpBqpaTebNdg5l3I5yadnKo9zLBajMT0I38D0tDhreVBYv3fA8kywthI00sWxPztWLD3yjiUkewwu/wKA==", "dev": true, "requires": { - "@jest/console": "^27.5.1", - "@jest/reporters": "^27.5.1", - "@jest/test-result": "^27.5.1", - "@jest/transform": "^27.5.1", - "@jest/types": "^27.5.1", + "@jest/console": "^29.4.1", + "@jest/reporters": "^29.4.1", + "@jest/test-result": "^29.4.1", + "@jest/transform": "^29.4.1", + "@jest/types": "^29.4.1", "@types/node": "*", "ansi-escapes": "^4.2.1", "chalk": "^4.0.0", - "emittery": "^0.8.1", + "ci-info": "^3.2.0", "exit": "^0.1.2", "graceful-fs": "^4.2.9", - "jest-changed-files": "^27.5.1", - "jest-config": "^27.5.1", - "jest-haste-map": "^27.5.1", - "jest-message-util": "^27.5.1", - "jest-regex-util": "^27.5.1", - "jest-resolve": "^27.5.1", - "jest-resolve-dependencies": "^27.5.1", - "jest-runner": "^27.5.1", - "jest-runtime": "^27.5.1", - "jest-snapshot": "^27.5.1", - "jest-util": "^27.5.1", - "jest-validate": "^27.5.1", - "jest-watcher": "^27.5.1", + "jest-changed-files": "^29.4.0", + "jest-config": "^29.4.1", + "jest-haste-map": "^29.4.1", + "jest-message-util": "^29.4.1", + "jest-regex-util": "^29.2.0", + "jest-resolve": "^29.4.1", + "jest-resolve-dependencies": "^29.4.1", + "jest-runner": "^29.4.1", + "jest-runtime": "^29.4.1", + "jest-snapshot": "^29.4.1", + "jest-util": "^29.4.1", + "jest-validate": "^29.4.1", + "jest-watcher": "^29.4.1", "micromatch": "^4.0.4", - "rimraf": "^3.0.0", + "pretty-format": "^29.4.1", "slash": "^3.0.0", "strip-ansi": "^6.0.0" }, + "dependencies": { + "@jest/transform": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.4.1.tgz", + "integrity": "sha512-5w6YJrVAtiAgr0phzKjYd83UPbCXsBRTeYI4BXokv9Er9CcrH9hfXL/crCvP2d2nGOcovPUnlYiLPFLZrkG5Hg==", + "dev": true, + "requires": { + "@babel/core": "^7.11.6", + "@jest/types": "^29.4.1", + "@jridgewell/trace-mapping": "^0.3.15", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^2.0.0", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.4.1", + "jest-regex-util": "^29.2.0", + "jest-util": "^29.4.1", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "write-file-atomic": "^5.0.0" + } + }, + "@jest/types": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", + "dev": true, + "requires": { + "@jest/schemas": "^29.4.0", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" + } + }, + "@types/yargs": { + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true + }, + "convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true + }, + "jest-get-type": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.2.0.tgz", + "integrity": "sha512-uXNJlg8hKFEnDgFsrCjznB+sTxdkuqiCL6zMgA75qEbAJjJYTs9XPrvDctrEig2GDow22T/LvHgO57iJhXB/UA==", + "dev": true + }, + "jest-haste-map": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.4.1.tgz", + "integrity": "sha512-imTjcgfVVTvg02khXL11NNLTx9ZaofbAWhilrMg/G8dIkp+HYCswhxf0xxJwBkfhWb3e8dwbjuWburvxmcr58w==", + "dev": true, + "requires": { + "@jest/types": "^29.4.1", + "@types/graceful-fs": "^4.1.3", + "@types/node": "*", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "fsevents": "^2.3.2", + "graceful-fs": "^4.2.9", + "jest-regex-util": "^29.2.0", + "jest-util": "^29.4.1", + "jest-worker": "^29.4.1", + "micromatch": "^4.0.4", + "walker": "^1.0.8" + } + }, + "jest-regex-util": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.2.0.tgz", + "integrity": "sha512-6yXn0kg2JXzH30cr2NlThF+70iuO/3irbaB4mh5WyqNIvLLP+B6sFdluO1/1RJmslyh/f9osnefECflHvTbwVA==", + "dev": true + }, + "jest-resolve": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.4.1.tgz", + "integrity": "sha512-j/ZFNV2lm9IJ2wmlq1uYK0Y/1PiyDq9g4HEGsNTNr3viRbJdV+8Lf1SXIiLZXFvyiisu0qUyIXGBnw+OKWkJwQ==", + "dev": true, + "requires": { + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.4.1", + "jest-pnp-resolver": "^1.2.2", + "jest-util": "^29.4.1", + "jest-validate": "^29.4.1", + "resolve": "^1.20.0", + "resolve.exports": "^2.0.0", + "slash": "^3.0.0" + } + }, + "jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", + "dev": true, + "requires": { + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + } + }, + "jest-validate": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.4.1.tgz", + "integrity": "sha512-qNZXcZQdIQx4SfUB/atWnI4/I2HUvhz8ajOSYUu40CSmf9U5emil8EDHgE7M+3j9/pavtk3knlZBDsgFvv/SWw==", + "dev": true, + "requires": { + "@jest/types": "^29.4.1", + "camelcase": "^6.2.0", + "chalk": "^4.0.0", + "jest-get-type": "^29.2.0", + "leven": "^3.1.0", + "pretty-format": "^29.4.1" + } + }, + "jest-worker": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.4.1.tgz", + "integrity": "sha512-O9doU/S1EBe+yp/mstQ0VpPwpv0Clgn68TkNwGxL6/usX/KUW9Arnn4ag8C3jc6qHcXznhsT5Na1liYzAsuAbQ==", + "dev": true, + "requires": { + "@types/node": "*", + "jest-util": "^29.4.1", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + } + }, + "pretty-format": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.4.1.tgz", + "integrity": "sha512-dt/Z761JUVsrIKaY215o1xQJBGlSmTx/h4cSqXqjHLnU1+Kt+mavVE7UgqJJO5ukx5HjSswHfmXz4LjS2oIJfg==", + "dev": true, + "requires": { + "@jest/schemas": "^29.4.0", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + } + }, + "resolve.exports": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.0.tgz", + "integrity": "sha512-6K/gDlqgQscOlg9fSRpWstA8sYe8rbELsSTNpx+3kTrsVCzvSl0zIvRErM7fdl9ERWDsKnrLnwB+Ne89918XOg==", + "dev": true + }, + "supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "write-file-atomic": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.0.tgz", + "integrity": "sha512-R7NYMnHSlV42K54lwY9lvW6MnSm1HSJqZL3xiSgi9E7//FYaI74r2G0rd+/X6VAMkHEdzxQaU5HUOXWUz5kA/w==", + "dev": true, + "requires": { + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.7" + } + } + } + }, + "@jest/create-cache-key-function": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/create-cache-key-function/-/create-cache-key-function-27.5.1.tgz", + "integrity": "sha512-dmH1yW+makpTSURTy8VzdUwFnfQh1G8R+DxO2Ho2FFmBbKFEVm+3jWdvFhE2VqB/LATCTokkP0dotjyQyw5/AQ==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1" + }, "dependencies": { "@jest/types": { "version": "27.5.1", @@ -24315,34 +27501,35 @@ } }, "@jest/environment": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-27.5.1.tgz", - "integrity": "sha512-/WQjhPJe3/ghaol/4Bq480JKXV/Rfw8nQdN7f41fM8VDHLcxKXou6QyXAh3EFr9/bVG3x74z1NWDkP87EiY8gA==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.4.1.tgz", + "integrity": "sha512-pJ14dHGSQke7Q3mkL/UZR9ZtTOxqskZaC91NzamEH4dlKRt42W+maRBXiw/LWkdJe+P0f/zDR37+SPMplMRlPg==", "dev": true, "requires": { - "@jest/fake-timers": "^27.5.1", - "@jest/types": "^27.5.1", + "@jest/fake-timers": "^29.4.1", + "@jest/types": "^29.4.1", "@types/node": "*", - "jest-mock": "^27.5.1" + "jest-mock": "^29.4.1" }, "dependencies": { "@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "requires": { + "@jest/schemas": "^29.4.0", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", - "@types/yargs": "^16.0.0", + "@types/yargs": "^17.0.8", "chalk": "^4.0.0" } }, "@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "requires": { "@types/yargs-parser": "*" @@ -24350,72 +27537,116 @@ } } }, + "@jest/expect": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.4.1.tgz", + "integrity": "sha512-ZxKJP5DTUNF2XkpJeZIzvnzF1KkfrhEF6Rz0HGG69fHl6Bgx5/GoU3XyaeFYEjuuKSOOsbqD/k72wFvFxc3iTw==", + "dev": true, + "requires": { + "expect": "^29.4.1", + "jest-snapshot": "^29.4.1" + } + }, + "@jest/expect-utils": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.4.1.tgz", + "integrity": "sha512-w6YJMn5DlzmxjO00i9wu2YSozUYRBhIoJ6nQwpMYcBMtiqMGJm1QBzOf6DDgRao8dbtpDoaqLg6iiQTvv0UHhQ==", + "dev": true, + "requires": { + "jest-get-type": "^29.2.0" + }, + "dependencies": { + "jest-get-type": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.2.0.tgz", + "integrity": "sha512-uXNJlg8hKFEnDgFsrCjznB+sTxdkuqiCL6zMgA75qEbAJjJYTs9XPrvDctrEig2GDow22T/LvHgO57iJhXB/UA==", + "dev": true + } + } + }, "@jest/fake-timers": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-27.5.1.tgz", - "integrity": "sha512-/aPowoolwa07k7/oM3aASneNeBGCmGQsc3ugN4u6s4C/+s5M64MFo/+djTdiwcbQlRfFElGuDXWzaWj6QgKObQ==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.4.1.tgz", + "integrity": "sha512-/1joI6rfHFmmm39JxNfmNAO3Nwm6Y0VoL5fJDy7H1AtWrD1CgRtqJbN9Ld6rhAkGO76qqp4cwhhxJ9o9kYjQMw==", "dev": true, "requires": { - "@jest/types": "^27.5.1", - "@sinonjs/fake-timers": "^8.0.1", + "@jest/types": "^29.4.1", + "@sinonjs/fake-timers": "^10.0.2", "@types/node": "*", - "jest-message-util": "^27.5.1", - "jest-mock": "^27.5.1", - "jest-util": "^27.5.1" + "jest-message-util": "^29.4.1", + "jest-mock": "^29.4.1", + "jest-util": "^29.4.1" }, "dependencies": { "@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "requires": { + "@jest/schemas": "^29.4.0", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", - "@types/yargs": "^16.0.0", + "@types/yargs": "^17.0.8", "chalk": "^4.0.0" } }, "@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "requires": { "@types/yargs-parser": "*" } + }, + "jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", + "dev": true, + "requires": { + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + } } } }, "@jest/globals": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-27.5.1.tgz", - "integrity": "sha512-ZEJNB41OBQQgGzgyInAv0UUfDDj3upmHydjieSxFvTRuZElrx7tXg/uVQ5hYVEwiXs3+aMsAeEc9X7xiSKCm4Q==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.4.1.tgz", + "integrity": "sha512-znoK2EuFytbHH0ZSf2mQK2K1xtIgmaw4Da21R2C/NE/+NnItm5mPEFQmn8gmF3f0rfOlmZ3Y3bIf7bFj7DHxAA==", "dev": true, "requires": { - "@jest/environment": "^27.5.1", - "@jest/types": "^27.5.1", - "expect": "^27.5.1" + "@jest/environment": "^29.4.1", + "@jest/expect": "^29.4.1", + "@jest/types": "^29.4.1", + "jest-mock": "^29.4.1" }, "dependencies": { "@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "requires": { + "@jest/schemas": "^29.4.0", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", - "@types/yargs": "^16.0.0", + "@types/yargs": "^17.0.8", "chalk": "^4.0.0" } }, "@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "requires": { "@types/yargs-parser": "*" @@ -24424,60 +27655,89 @@ } }, "@jest/reporters": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-27.5.1.tgz", - "integrity": "sha512-cPXh9hWIlVJMQkVk84aIvXuBB4uQQmFqZiacloFuGiP3ah1sbCxCosidXFDfqG8+6fO1oR2dTJTlsOy4VFmUfw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-29.4.1.tgz", + "integrity": "sha512-AISY5xpt2Xpxj9R6y0RF1+O6GRy9JsGa8+vK23Lmzdy1AYcpQn5ItX79wJSsTmfzPKSAcsY1LNt/8Y5Xe5LOSg==", "dev": true, "requires": { "@bcoe/v8-coverage": "^0.2.3", - "@jest/console": "^27.5.1", - "@jest/test-result": "^27.5.1", - "@jest/transform": "^27.5.1", - "@jest/types": "^27.5.1", + "@jest/console": "^29.4.1", + "@jest/test-result": "^29.4.1", + "@jest/transform": "^29.4.1", + "@jest/types": "^29.4.1", + "@jridgewell/trace-mapping": "^0.3.15", "@types/node": "*", "chalk": "^4.0.0", "collect-v8-coverage": "^1.0.0", "exit": "^0.1.2", - "glob": "^7.1.2", + "glob": "^7.1.3", "graceful-fs": "^4.2.9", "istanbul-lib-coverage": "^3.0.0", "istanbul-lib-instrument": "^5.1.0", "istanbul-lib-report": "^3.0.0", "istanbul-lib-source-maps": "^4.0.0", "istanbul-reports": "^3.1.3", - "jest-haste-map": "^27.5.1", - "jest-resolve": "^27.5.1", - "jest-util": "^27.5.1", - "jest-worker": "^27.5.1", + "jest-message-util": "^29.4.1", + "jest-util": "^29.4.1", + "jest-worker": "^29.4.1", "slash": "^3.0.0", - "source-map": "^0.6.0", "string-length": "^4.0.1", - "terminal-link": "^2.0.0", - "v8-to-istanbul": "^8.1.0" + "strip-ansi": "^6.0.0", + "v8-to-istanbul": "^9.0.1" }, "dependencies": { + "@jest/transform": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.4.1.tgz", + "integrity": "sha512-5w6YJrVAtiAgr0phzKjYd83UPbCXsBRTeYI4BXokv9Er9CcrH9hfXL/crCvP2d2nGOcovPUnlYiLPFLZrkG5Hg==", + "dev": true, + "requires": { + "@babel/core": "^7.11.6", + "@jest/types": "^29.4.1", + "@jridgewell/trace-mapping": "^0.3.15", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^2.0.0", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.4.1", + "jest-regex-util": "^29.2.0", + "jest-util": "^29.4.1", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "write-file-atomic": "^5.0.0" + } + }, "@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "requires": { + "@jest/schemas": "^29.4.0", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", - "@types/yargs": "^16.0.0", + "@types/yargs": "^17.0.8", "chalk": "^4.0.0" } }, "@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "requires": { "@types/yargs-parser": "*" } }, + "convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true + }, "glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", @@ -24492,71 +27752,129 @@ "path-is-absolute": "^1.0.0" } }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "jest-haste-map": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.4.1.tgz", + "integrity": "sha512-imTjcgfVVTvg02khXL11NNLTx9ZaofbAWhilrMg/G8dIkp+HYCswhxf0xxJwBkfhWb3e8dwbjuWburvxmcr58w==", + "dev": true, + "requires": { + "@jest/types": "^29.4.1", + "@types/graceful-fs": "^4.1.3", + "@types/node": "*", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "fsevents": "^2.3.2", + "graceful-fs": "^4.2.9", + "jest-regex-util": "^29.2.0", + "jest-util": "^29.4.1", + "jest-worker": "^29.4.1", + "micromatch": "^4.0.4", + "walker": "^1.0.8" + } + }, + "jest-regex-util": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.2.0.tgz", + "integrity": "sha512-6yXn0kg2JXzH30cr2NlThF+70iuO/3irbaB4mh5WyqNIvLLP+B6sFdluO1/1RJmslyh/f9osnefECflHvTbwVA==", "dev": true + }, + "jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", + "dev": true, + "requires": { + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + } + }, + "jest-worker": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.4.1.tgz", + "integrity": "sha512-O9doU/S1EBe+yp/mstQ0VpPwpv0Clgn68TkNwGxL6/usX/KUW9Arnn4ag8C3jc6qHcXznhsT5Na1liYzAsuAbQ==", + "dev": true, + "requires": { + "@types/node": "*", + "jest-util": "^29.4.1", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + } + }, + "supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "write-file-atomic": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.0.tgz", + "integrity": "sha512-R7NYMnHSlV42K54lwY9lvW6MnSm1HSJqZL3xiSgi9E7//FYaI74r2G0rd+/X6VAMkHEdzxQaU5HUOXWUz5kA/w==", + "dev": true, + "requires": { + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.7" + } } } }, "@jest/schemas": { - "version": "28.1.3", - "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-28.1.3.tgz", - "integrity": "sha512-/l/VWsdt/aBXgjshLWOFyFt3IVdYypu5y2Wn2rOO1un6nkqIn8SLXzgIMYXFyYsRWDyF5EthmKJMIdJvk08grg==", + "version": "29.4.0", + "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.4.0.tgz", + "integrity": "sha512-0E01f/gOZeNTG76i5eWWSupvSHaIINrTie7vCyjiYFKgzNdyEGd12BUv4oNBFHOqlHDbtoJi3HrQ38KCC90NsQ==", "dev": true, "requires": { - "@sinclair/typebox": "^0.24.1" + "@sinclair/typebox": "^0.25.16" } }, "@jest/source-map": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-27.5.1.tgz", - "integrity": "sha512-y9NIHUYF3PJRlHk98NdC/N1gl88BL08aQQgu4k4ZopQkCw9t9cV8mtl3TV8b/YCB8XaVTFrmUTAJvjsntDireg==", + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-29.2.0.tgz", + "integrity": "sha512-1NX9/7zzI0nqa6+kgpSdKPK+WU1p+SJk3TloWZf5MzPbxri9UEeXX5bWZAPCzbQcyuAzubcdUHA7hcNznmRqWQ==", "dev": true, "requires": { + "@jridgewell/trace-mapping": "^0.3.15", "callsites": "^3.0.0", - "graceful-fs": "^4.2.9", - "source-map": "^0.6.0" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - } + "graceful-fs": "^4.2.9" } }, "@jest/test-result": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-27.5.1.tgz", - "integrity": "sha512-EW35l2RYFUcUQxFJz5Cv5MTOxlJIQs4I7gxzi2zVU7PJhOwfYq1MdC5nhSmYjX1gmMmLPvB3sIaC+BkcHRBfag==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-29.4.1.tgz", + "integrity": "sha512-WRt29Lwt+hEgfN8QDrXqXGgCTidq1rLyFqmZ4lmJOpVArC8daXrZWkWjiaijQvgd3aOUj2fM8INclKHsQW9YyQ==", "dev": true, "requires": { - "@jest/console": "^27.5.1", - "@jest/types": "^27.5.1", + "@jest/console": "^29.4.1", + "@jest/types": "^29.4.1", "@types/istanbul-lib-coverage": "^2.0.0", "collect-v8-coverage": "^1.0.0" }, "dependencies": { "@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "requires": { + "@jest/schemas": "^29.4.0", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", - "@types/yargs": "^16.0.0", + "@types/yargs": "^17.0.8", "chalk": "^4.0.0" } }, "@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "requires": { "@types/yargs-parser": "*" @@ -24565,15 +27883,101 @@ } }, "@jest/test-sequencer": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-27.5.1.tgz", - "integrity": "sha512-LCheJF7WB2+9JuCS7VB/EmGIdQuhtqjRNI9A43idHv3E4KltCTsPsLxvdaubFHSYwY/fNjMWjl6vNRhDiN7vpQ==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.4.1.tgz", + "integrity": "sha512-v5qLBNSsM0eHzWLXsQ5fiB65xi49A3ILPSFQKPXzGL4Vyux0DPZAIN7NAFJa9b4BiTDP9MBF/Zqc/QA1vuiJ0w==", "dev": true, "requires": { - "@jest/test-result": "^27.5.1", + "@jest/test-result": "^29.4.1", "graceful-fs": "^4.2.9", - "jest-haste-map": "^27.5.1", - "jest-runtime": "^27.5.1" + "jest-haste-map": "^29.4.1", + "slash": "^3.0.0" + }, + "dependencies": { + "@jest/types": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", + "dev": true, + "requires": { + "@jest/schemas": "^29.4.0", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" + } + }, + "@types/yargs": { + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "jest-haste-map": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.4.1.tgz", + "integrity": "sha512-imTjcgfVVTvg02khXL11NNLTx9ZaofbAWhilrMg/G8dIkp+HYCswhxf0xxJwBkfhWb3e8dwbjuWburvxmcr58w==", + "dev": true, + "requires": { + "@jest/types": "^29.4.1", + "@types/graceful-fs": "^4.1.3", + "@types/node": "*", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "fsevents": "^2.3.2", + "graceful-fs": "^4.2.9", + "jest-regex-util": "^29.2.0", + "jest-util": "^29.4.1", + "jest-worker": "^29.4.1", + "micromatch": "^4.0.4", + "walker": "^1.0.8" + } + }, + "jest-regex-util": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.2.0.tgz", + "integrity": "sha512-6yXn0kg2JXzH30cr2NlThF+70iuO/3irbaB4mh5WyqNIvLLP+B6sFdluO1/1RJmslyh/f9osnefECflHvTbwVA==", + "dev": true + }, + "jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", + "dev": true, + "requires": { + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + } + }, + "jest-worker": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.4.1.tgz", + "integrity": "sha512-O9doU/S1EBe+yp/mstQ0VpPwpv0Clgn68TkNwGxL6/usX/KUW9Arnn4ag8C3jc6qHcXznhsT5Na1liYzAsuAbQ==", + "dev": true, + "requires": { + "@types/node": "*", + "jest-util": "^29.4.1", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + } + }, + "supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } } }, "@jest/transform": { @@ -24801,7 +28205,8 @@ "@react-leaflet/core": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/@react-leaflet/core/-/core-2.1.0.tgz", - "integrity": "sha512-Qk7Pfu8BSarKGqILj4x7bCSZ1pjuAPZ+qmRwH5S7mDS91VSbVVsJSrW4qA+GPrro8t69gFYVMWb1Zc4yFmPiVg==" + "integrity": "sha512-Qk7Pfu8BSarKGqILj4x7bCSZ1pjuAPZ+qmRwH5S7mDS91VSbVVsJSrW4qA+GPrro8t69gFYVMWb1Zc4yFmPiVg==", + "requires": {} }, "@reduxjs/toolkit": { "version": "1.8.6", @@ -24825,14 +28230,16 @@ "redux-thunk": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/redux-thunk/-/redux-thunk-2.4.2.tgz", - "integrity": "sha512-+P3TjtnP0k/FEjcBL5FZpoovtvrTNT/UXd4/sluaSyrURlSlhLSzEdfsTBW7WsKB6yPvgd7q/iZPICFjW4o57Q==" + "integrity": "sha512-+P3TjtnP0k/FEjcBL5FZpoovtvrTNT/UXd4/sluaSyrURlSlhLSzEdfsTBW7WsKB6yPvgd7q/iZPICFjW4o57Q==", + "requires": {} } } }, "@restart/context": { "version": "2.1.4", "resolved": "https://registry.npmjs.org/@restart/context/-/context-2.1.4.tgz", - "integrity": "sha512-INJYZQJP7g+IoDUh/475NlGiTeMfwTXUEr3tmRneckHIxNolGOW9CTq83S8cxq0CgJwwcMzMJFchxvlwe7Rk8Q==" + "integrity": "sha512-INJYZQJP7g+IoDUh/475NlGiTeMfwTXUEr3tmRneckHIxNolGOW9CTq83S8cxq0CgJwwcMzMJFchxvlwe7Rk8Q==", + "requires": {} }, "@restart/hooks": { "version": "0.3.27", @@ -24916,27 +28323,27 @@ "dev": true }, "@sinclair/typebox": { - "version": "0.24.51", - "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.24.51.tgz", - "integrity": "sha512-1P1OROm/rdubP5aFDSZQILU0vrLCJ4fvHt6EoqHEM+2D/G5MK3bIaymUKLit8Js9gbns5UyJnkP/TZROLw4tUA==", + "version": "0.25.21", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.25.21.tgz", + "integrity": "sha512-gFukHN4t8K4+wVC+ECqeqwzBDeFeTzBXroBTqE6vcWrQGbEUpHO7LYdG0f4xnvYq4VOEwITSlHlp0JBAIFMS/g==", "dev": true }, "@sinonjs/commons": { - "version": "1.8.6", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.6.tgz", - "integrity": "sha512-Ky+XkAkqPZSm3NLBeUng77EBQl3cmeJhITaGHdYH8kjVB+aun3S4XBRti2zt17mtt0mIUDiNxYeoJm6drVvBJQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-2.0.0.tgz", + "integrity": "sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg==", "dev": true, "requires": { "type-detect": "4.0.8" } }, "@sinonjs/fake-timers": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-8.1.0.tgz", - "integrity": "sha512-OAPJUAtgeINhh/TAlUID4QTs53Njm7xzddaVlEs/SXwgtiD1tW22zAB/W1wdqfrpmikgaWQ9Fw6Ws+hsiRm5Vg==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.0.2.tgz", + "integrity": "sha512-SwUDyjWnah1AaNl7kxsa7cfLhlTYoiyhDAIgyh+El30YvXs/o7OLXpYH88Zdhyx9JExKrmHDJ+10bwIcY80Jmw==", "dev": true, "requires": { - "@sinonjs/commons": "^1.7.0" + "@sinonjs/commons": "^2.0.0" } }, "@surma/rollup-plugin-off-main-thread": { @@ -25082,6 +28489,43 @@ "loader-utils": "2.0.4" } }, + "@swc/core": { + "version": "1.3.32", + "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.3.32.tgz", + "integrity": "sha512-Yx/n1j+uUkcqlJAW8IRg8Qymgkdow6NHJZPFShiR0YiaYq2sXY+JHmvh16O6GkL91Y+gTlDUS7uVgDz50czJUQ==", + "dev": true, + "peer": true, + "requires": { + "@swc/core-darwin-arm64": "1.3.32", + "@swc/core-darwin-x64": "1.3.32", + "@swc/core-linux-arm-gnueabihf": "1.3.32", + "@swc/core-linux-arm64-gnu": "1.3.32", + "@swc/core-linux-arm64-musl": "1.3.32", + "@swc/core-linux-x64-gnu": "1.3.32", + "@swc/core-linux-x64-musl": "1.3.32", + "@swc/core-win32-arm64-msvc": "1.3.32", + "@swc/core-win32-ia32-msvc": "1.3.32", + "@swc/core-win32-x64-msvc": "1.3.32" + } + }, + "@swc/core-win32-x64-msvc": { + "version": "1.3.32", + "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.3.32.tgz", + "integrity": "sha512-DPMoneNFQco7SqmVVOUv1Vn53YmoImEfrAPMY9KrqQzgfzqNTuL2JvfxUqfAxwQ6pEKYAdyKJvZ483rIhgG9XQ==", + "dev": true, + "optional": true, + "peer": true + }, + "@swc/jest": { + "version": "0.2.24", + "resolved": "https://registry.npmjs.org/@swc/jest/-/jest-0.2.24.tgz", + "integrity": "sha512-fwgxQbM1wXzyKzl1+IW0aGrRvAA8k0Y3NxFhKigbPjOJ4mCKnWEcNX9HQS3gshflcxq8YKhadabGUVfdwjCr6Q==", + "dev": true, + "requires": { + "@jest/create-cache-key-function": "^27.4.2", + "jsonc-parser": "^3.2.0" + } + }, "@testing-library/dom": { "version": "7.28.1", "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-7.28.1.tgz", @@ -25313,14 +28757,6 @@ "@types/node": "*" } }, - "@types/classnames": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/@types/classnames/-/classnames-2.3.1.tgz", - "integrity": "sha512-zeOWb0JGBoVmlQoznvqXbE0tEC/HONsnoUNH19Hc96NFsTAwTXbTqb8FMYkru1F/iqp7a18Ws3nWJvtA1sHD1A==", - "requires": { - "classnames": "*" - } - }, "@types/connect": { "version": "3.4.35", "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz", @@ -25654,7 +29090,7 @@ "version": "18.0.10", "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.0.10.tgz", "integrity": "sha512-E42GW/JA4Qv15wQdqJq8DL4JhNpB3prJgjgapN3qJT9K2zO5IIAQh4VXvCEDupoqAwnz0cY4RlXeC/ajX5SFHg==", - "dev": true, + "devOptional": true, "requires": { "@types/react": "*" } @@ -26322,13 +29758,15 @@ "version": "1.8.0", "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz", "integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==", - "dev": true + "dev": true, + "requires": {} }, "acorn-jsx": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true + "dev": true, + "requires": {} }, "acorn-node": { "version": "1.8.2", @@ -26425,7 +29863,8 @@ "version": "3.5.2", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", - "dev": true + "dev": true, + "requires": {} }, "ansi-escapes": { "version": "4.3.2", @@ -26805,7 +30244,8 @@ "version": "0.3.8", "resolved": "https://registry.npmjs.org/babel-plugin-named-asset-import/-/babel-plugin-named-asset-import-0.3.8.tgz", "integrity": "sha512-WXiAc++qo7XcJ1ZnTYGtLxmBCVbddAml3CEXgWaBzNzLNoxtQ8AiGEFDMOhot9XjTCQbvP5E77Fj9Gk924f00Q==", - "dev": true + "dev": true, + "requires": {} }, "babel-plugin-polyfill-corejs2": { "version": "0.3.3", @@ -27048,7 +30488,8 @@ "bootstrap": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-4.6.0.tgz", - "integrity": "sha512-Io55IuQY3kydzHtbGvQya3H+KorS/M9rSNyfCGCg9WZ4pyT/lCxIlpJgG1GXW/PswzC84Tr2fBYi+7+jFVQQBw==" + "integrity": "sha512-Io55IuQY3kydzHtbGvQya3H+KorS/M9rSNyfCGCg9WZ4pyT/lCxIlpJgG1GXW/PswzC84Tr2fBYi+7+jFVQQBw==", + "requires": {} }, "brace-expansion": { "version": "1.1.11", @@ -27120,7 +30561,8 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-4.0.0.tgz", "integrity": "sha512-d3OEjQV4ROpoflsnUA8HozoIR504TFxNivYEUi6uwz0IYhBkTDXGuWlNdMtybRt3nqVx/L6XqMt0FxkXuWKZhw==", - "dev": true + "dev": true, + "requires": {} }, "ansi-styles": { "version": "3.2.1", @@ -27288,19 +30730,6 @@ "v8-to-istanbul": "^9.0.0", "yargs": "^16.2.0", "yargs-parser": "^20.2.9" - }, - "dependencies": { - "v8-to-istanbul": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz", - "integrity": "sha512-74Y4LqY74kLE6IFyIjPtkSTWzUZmj8tdHT9Ii/26dvQ6K9Dl2NbEfj0XgU2sHCtKgt5VupqhlO/5aWuqS+IY1w==", - "dev": true, - "requires": { - "@jridgewell/trace-mapping": "^0.3.12", - "@types/istanbul-lib-coverage": "^2.0.1", - "convert-source-map": "^1.6.0" - } - } } }, "call-bind": { @@ -28018,7 +31447,8 @@ "version": "6.3.1", "resolved": "https://registry.npmjs.org/css-declaration-sorter/-/css-declaration-sorter-6.3.1.tgz", "integrity": "sha512-fBffmak0bPAnyqc/HO8C3n2sHrp9wcqQz6ES9koRF2/mLOVAx9zIQ3Y7R29sYCteTPqMCwns4WYQoCX91Xl3+w==", - "dev": true + "dev": true, + "requires": {} }, "css-has-pseudo": { "version": "3.0.4", @@ -28156,7 +31586,8 @@ "version": "6.0.3", "resolved": "https://registry.npmjs.org/css-prefers-color-scheme/-/css-prefers-color-scheme-6.0.3.tgz", "integrity": "sha512-4BqMbZksRkJQx2zAjrokiGMd07RqOa2IxIrrN10lyBe9xhn9DEvjUK79J6jkeiv9D9hQFXKb6g1jwU62jziJZA==", - "dev": true + "dev": true, + "requires": {} }, "css-select": { "version": "4.3.0", @@ -28281,7 +31712,8 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/cssnano-utils/-/cssnano-utils-3.1.0.tgz", "integrity": "sha512-JQNR19/YZhz4psLX/rQ9M83e3z2Wf/HdJbryzte4a3NSuafyp9w/I4U+hx5C2S9g41qlstH7DEWnZaaj83OuEA==", - "dev": true + "dev": true, + "requires": {} }, "csso": { "version": "4.2.0", @@ -28883,9 +32315,9 @@ "dev": true }, "emittery": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.8.1.tgz", - "integrity": "sha512-uDfvUjVrfGJJhymx/kz6prltenw1u7WrCg1oa94zYY8xxVpLLUu045LAT0dhDZdXG58/EpPL/5kA180fQ/qudg==", + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz", + "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==", "dev": true }, "emoji-regex": { @@ -29200,7 +32632,8 @@ "version": "8.5.0", "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz", "integrity": "sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==", - "dev": true + "dev": true, + "requires": {} }, "eslint-config-react-app": { "version": "7.0.1", @@ -29439,13 +32872,15 @@ "version": "4.6.0", "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz", "integrity": "sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==", - "dev": true + "dev": true, + "requires": {} }, "eslint-plugin-simple-import-sort": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/eslint-plugin-simple-import-sort/-/eslint-plugin-simple-import-sort-7.0.0.tgz", "integrity": "sha512-U3vEDB5zhYPNfxT5TYR7u01dboFZp+HNpnGhkDB2g/2E4wZ/g1Q9Ton8UwCLfRV9yAKyYqDh62oHOamvkFxsvw==", - "dev": true + "dev": true, + "requires": {} }, "eslint-plugin-testing-library": { "version": "5.10.0", @@ -29668,38 +33103,107 @@ "dev": true }, "expect": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/expect/-/expect-27.5.1.tgz", - "integrity": "sha512-E1q5hSUG2AmYQwQJ041nvgpkODHQvB+RKlB4IYdru6uJsyFTRyZAP463M+1lINorwbqAmUggi6+WwkD8lCS/Dw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/expect/-/expect-29.4.1.tgz", + "integrity": "sha512-OKrGESHOaMxK3b6zxIq9SOW8kEXztKff/Dvg88j4xIJxur1hspEbedVkR3GpHe5LO+WB2Qw7OWN0RMTdp6as5A==", "dev": true, "requires": { - "@jest/types": "^27.5.1", - "jest-get-type": "^27.5.1", - "jest-matcher-utils": "^27.5.1", - "jest-message-util": "^27.5.1" + "@jest/expect-utils": "^29.4.1", + "jest-get-type": "^29.2.0", + "jest-matcher-utils": "^29.4.1", + "jest-message-util": "^29.4.1", + "jest-util": "^29.4.1" }, "dependencies": { "@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "requires": { + "@jest/schemas": "^29.4.0", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", - "@types/yargs": "^16.0.0", + "@types/yargs": "^17.0.8", "chalk": "^4.0.0" } }, "@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "requires": { "@types/yargs-parser": "*" } + }, + "ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true + }, + "diff-sequences": { + "version": "29.3.1", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.3.1.tgz", + "integrity": "sha512-hlM3QR272NXCi4pq+N4Kok4kOp6EsgOM3ZSpJI7Da3UAs+Ttsi8MRmB6trM/lhyzUxGfOgnpkHtgqm5Q/CTcfQ==", + "dev": true + }, + "jest-diff": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.4.1.tgz", + "integrity": "sha512-uazdl2g331iY56CEyfbNA0Ut7Mn2ulAG5vUaEHXycf1L6IPyuImIxSz4F0VYBKi7LYIuxOwTZzK3wh5jHzASMw==", + "dev": true, + "requires": { + "chalk": "^4.0.0", + "diff-sequences": "^29.3.1", + "jest-get-type": "^29.2.0", + "pretty-format": "^29.4.1" + } + }, + "jest-get-type": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.2.0.tgz", + "integrity": "sha512-uXNJlg8hKFEnDgFsrCjznB+sTxdkuqiCL6zMgA75qEbAJjJYTs9XPrvDctrEig2GDow22T/LvHgO57iJhXB/UA==", + "dev": true + }, + "jest-matcher-utils": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.4.1.tgz", + "integrity": "sha512-k5h0u8V4nAEy6lSACepxL/rw78FLDkBnXhZVgFneVpnJONhb2DhZj/Gv4eNe+1XqQ5IhgUcqj745UwH0HJmMnA==", + "dev": true, + "requires": { + "chalk": "^4.0.0", + "jest-diff": "^29.4.1", + "jest-get-type": "^29.2.0", + "pretty-format": "^29.4.1" + } + }, + "jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", + "dev": true, + "requires": { + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + } + }, + "pretty-format": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.4.1.tgz", + "integrity": "sha512-dt/Z761JUVsrIKaY215o1xQJBGlSmTx/h4cSqXqjHLnU1+Kt+mavVE7UgqJJO5ukx5HjSswHfmXz4LjS2oIJfg==", + "dev": true, + "requires": { + "@jest/schemas": "^29.4.0", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + } } } }, @@ -30232,13 +33736,6 @@ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", "dev": true }, - "fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "optional": true - }, "function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", @@ -30809,7 +34306,8 @@ "version": "5.1.0", "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-5.1.0.tgz", "integrity": "sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==", - "dev": true + "dev": true, + "requires": {} }, "idb": { "version": "7.1.1", @@ -31296,210 +34794,867 @@ "is-docker": "^2.0.0" } }, - "isarray": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", - "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==" - }, - "isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true - }, - "isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", - "dev": true - }, - "istanbul-lib-coverage": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", - "integrity": "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==", - "dev": true - }, - "istanbul-lib-instrument": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz", - "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==", + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==" + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", + "dev": true + }, + "istanbul-lib-coverage": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", + "integrity": "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==", + "dev": true + }, + "istanbul-lib-instrument": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz", + "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==", + "dev": true, + "requires": { + "@babel/core": "^7.12.3", + "@babel/parser": "^7.14.7", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-coverage": "^3.2.0", + "semver": "^6.3.0" + }, + "dependencies": { + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + } + } + }, + "istanbul-lib-report": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", + "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", + "dev": true, + "requires": { + "istanbul-lib-coverage": "^3.0.0", + "make-dir": "^3.0.0", + "supports-color": "^7.1.0" + } + }, + "istanbul-lib-source-maps": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", + "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", + "dev": true, + "requires": { + "debug": "^4.1.1", + "istanbul-lib-coverage": "^3.0.0", + "source-map": "^0.6.1" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "istanbul-reports": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.5.tgz", + "integrity": "sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w==", + "dev": true, + "requires": { + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" + } + }, + "jake": { + "version": "10.8.5", + "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.5.tgz", + "integrity": "sha512-sVpxYeuAhWt0OTWITwT98oyV0GsXyMlXCF+3L1SuafBVUIr/uILGRB+NqwkzhgXKvoJpDIpQvqkUALgdmQsQxw==", + "dev": true, + "requires": { + "async": "^3.2.3", + "chalk": "^4.0.2", + "filelist": "^1.0.1", + "minimatch": "^3.0.4" + } + }, + "javascript-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/javascript-stringify/-/javascript-stringify-2.1.0.tgz", + "integrity": "sha512-JVAfqNPTvNq3sB/VHQJAFxN/sPgKnsKrCwyRt15zwNCdrMMJDdcEOdubuy+DuJYYdm0ox1J4uzEuYKkN+9yhVg==", + "dev": true + }, + "jest": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest/-/jest-29.4.1.tgz", + "integrity": "sha512-cknimw7gAXPDOmj0QqztlxVtBVCw2lYY9CeIE5N6kD+kET1H4H79HSNISJmijb1HF+qk+G+ploJgiDi5k/fRlg==", + "dev": true, + "requires": { + "@jest/core": "^29.4.1", + "@jest/types": "^29.4.1", + "import-local": "^3.0.2", + "jest-cli": "^29.4.1" + }, + "dependencies": { + "@jest/types": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", + "dev": true, + "requires": { + "@jest/schemas": "^29.4.0", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" + } + }, + "@types/yargs": { + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + } + } + }, + "jest-changed-files": { + "version": "29.4.0", + "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.4.0.tgz", + "integrity": "sha512-rnI1oPxgFghoz32Y8eZsGJMjW54UlqT17ycQeCEktcxxwqqKdlj9afl8LNeO0Pbu+h2JQHThQP0BzS67eTRx4w==", + "dev": true, + "requires": { + "execa": "^5.0.0", + "p-limit": "^3.1.0" + }, + "dependencies": { + "execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + } + }, + "get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true + }, + "human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "dev": true + } + } + }, + "jest-circus": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-29.4.1.tgz", + "integrity": "sha512-v02NuL5crMNY4CGPHBEflLzl4v91NFb85a+dH9a1pUNx6Xjggrd8l9pPy4LZ1VYNRXlb+f65+7O/MSIbLir6pA==", + "dev": true, + "requires": { + "@jest/environment": "^29.4.1", + "@jest/expect": "^29.4.1", + "@jest/test-result": "^29.4.1", + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "co": "^4.6.0", + "dedent": "^0.7.0", + "is-generator-fn": "^2.0.0", + "jest-each": "^29.4.1", + "jest-matcher-utils": "^29.4.1", + "jest-message-util": "^29.4.1", + "jest-runtime": "^29.4.1", + "jest-snapshot": "^29.4.1", + "jest-util": "^29.4.1", + "p-limit": "^3.1.0", + "pretty-format": "^29.4.1", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" + }, + "dependencies": { + "@jest/types": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", + "dev": true, + "requires": { + "@jest/schemas": "^29.4.0", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" + } + }, + "@types/yargs": { + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true + }, + "diff-sequences": { + "version": "29.3.1", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.3.1.tgz", + "integrity": "sha512-hlM3QR272NXCi4pq+N4Kok4kOp6EsgOM3ZSpJI7Da3UAs+Ttsi8MRmB6trM/lhyzUxGfOgnpkHtgqm5Q/CTcfQ==", + "dev": true + }, + "jest-diff": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.4.1.tgz", + "integrity": "sha512-uazdl2g331iY56CEyfbNA0Ut7Mn2ulAG5vUaEHXycf1L6IPyuImIxSz4F0VYBKi7LYIuxOwTZzK3wh5jHzASMw==", + "dev": true, + "requires": { + "chalk": "^4.0.0", + "diff-sequences": "^29.3.1", + "jest-get-type": "^29.2.0", + "pretty-format": "^29.4.1" + } + }, + "jest-get-type": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.2.0.tgz", + "integrity": "sha512-uXNJlg8hKFEnDgFsrCjznB+sTxdkuqiCL6zMgA75qEbAJjJYTs9XPrvDctrEig2GDow22T/LvHgO57iJhXB/UA==", + "dev": true + }, + "jest-matcher-utils": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.4.1.tgz", + "integrity": "sha512-k5h0u8V4nAEy6lSACepxL/rw78FLDkBnXhZVgFneVpnJONhb2DhZj/Gv4eNe+1XqQ5IhgUcqj745UwH0HJmMnA==", + "dev": true, + "requires": { + "chalk": "^4.0.0", + "jest-diff": "^29.4.1", + "jest-get-type": "^29.2.0", + "pretty-format": "^29.4.1" + } + }, + "jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", + "dev": true, + "requires": { + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + } + }, + "pretty-format": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.4.1.tgz", + "integrity": "sha512-dt/Z761JUVsrIKaY215o1xQJBGlSmTx/h4cSqXqjHLnU1+Kt+mavVE7UgqJJO5ukx5HjSswHfmXz4LjS2oIJfg==", + "dev": true, + "requires": { + "@jest/schemas": "^29.4.0", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + } + } + } + }, + "jest-cli": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.4.1.tgz", + "integrity": "sha512-jz7GDIhtxQ37M+9dlbv5K+/FVcIo1O/b1sX3cJgzlQUf/3VG25nvuWzlDC4F1FLLzUThJeWLu8I7JF9eWpuURQ==", + "dev": true, + "requires": { + "@jest/core": "^29.4.1", + "@jest/test-result": "^29.4.1", + "@jest/types": "^29.4.1", + "chalk": "^4.0.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.9", + "import-local": "^3.0.2", + "jest-config": "^29.4.1", + "jest-util": "^29.4.1", + "jest-validate": "^29.4.1", + "prompts": "^2.0.1", + "yargs": "^17.3.1" + }, + "dependencies": { + "@jest/types": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", + "dev": true, + "requires": { + "@jest/schemas": "^29.4.0", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" + } + }, + "@types/yargs": { + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true + }, + "cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + } + }, + "jest-get-type": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.2.0.tgz", + "integrity": "sha512-uXNJlg8hKFEnDgFsrCjznB+sTxdkuqiCL6zMgA75qEbAJjJYTs9XPrvDctrEig2GDow22T/LvHgO57iJhXB/UA==", + "dev": true + }, + "jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", + "dev": true, + "requires": { + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + } + }, + "jest-validate": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.4.1.tgz", + "integrity": "sha512-qNZXcZQdIQx4SfUB/atWnI4/I2HUvhz8ajOSYUu40CSmf9U5emil8EDHgE7M+3j9/pavtk3knlZBDsgFvv/SWw==", + "dev": true, + "requires": { + "@jest/types": "^29.4.1", + "camelcase": "^6.2.0", + "chalk": "^4.0.0", + "jest-get-type": "^29.2.0", + "leven": "^3.1.0", + "pretty-format": "^29.4.1" + } + }, + "pretty-format": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.4.1.tgz", + "integrity": "sha512-dt/Z761JUVsrIKaY215o1xQJBGlSmTx/h4cSqXqjHLnU1+Kt+mavVE7UgqJJO5ukx5HjSswHfmXz4LjS2oIJfg==", + "dev": true, + "requires": { + "@jest/schemas": "^29.4.0", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + } + }, + "yargs": { + "version": "17.6.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.6.2.tgz", + "integrity": "sha512-1/9UrdHjDZc0eOU0HxOHoS78C69UD3JRMvzlJ7S79S2nTaWRA/whGCTV8o9e/N/1Va9YIV7Q4sOxD8VV4pCWOw==", + "dev": true, + "requires": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + } + }, + "yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true + } + } + }, + "jest-config": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.4.1.tgz", + "integrity": "sha512-g7p3q4NuXiM4hrS4XFATTkd+2z0Ml2RhFmFPM8c3WyKwVDNszbl4E7cV7WIx1YZeqqCtqbtTtZhGZWJlJqngzg==", "dev": true, "requires": { - "@babel/core": "^7.12.3", - "@babel/parser": "^7.14.7", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-coverage": "^3.2.0", - "semver": "^6.3.0" + "@babel/core": "^7.11.6", + "@jest/test-sequencer": "^29.4.1", + "@jest/types": "^29.4.1", + "babel-jest": "^29.4.1", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "deepmerge": "^4.2.2", + "glob": "^7.1.3", + "graceful-fs": "^4.2.9", + "jest-circus": "^29.4.1", + "jest-environment-node": "^29.4.1", + "jest-get-type": "^29.2.0", + "jest-regex-util": "^29.2.0", + "jest-resolve": "^29.4.1", + "jest-runner": "^29.4.1", + "jest-util": "^29.4.1", + "jest-validate": "^29.4.1", + "micromatch": "^4.0.4", + "parse-json": "^5.2.0", + "pretty-format": "^29.4.1", + "slash": "^3.0.0", + "strip-json-comments": "^3.1.1" }, "dependencies": { - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "@jest/transform": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.4.1.tgz", + "integrity": "sha512-5w6YJrVAtiAgr0phzKjYd83UPbCXsBRTeYI4BXokv9Er9CcrH9hfXL/crCvP2d2nGOcovPUnlYiLPFLZrkG5Hg==", + "dev": true, + "requires": { + "@babel/core": "^7.11.6", + "@jest/types": "^29.4.1", + "@jridgewell/trace-mapping": "^0.3.15", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^2.0.0", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.4.1", + "jest-regex-util": "^29.2.0", + "jest-util": "^29.4.1", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "write-file-atomic": "^5.0.0" + } + }, + "@jest/types": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", + "dev": true, + "requires": { + "@jest/schemas": "^29.4.0", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" + } + }, + "@types/yargs": { + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true + }, + "babel-jest": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.4.1.tgz", + "integrity": "sha512-xBZa/pLSsF/1sNpkgsiT3CmY7zV1kAsZ9OxxtrFqYucnOuRftXAfcJqcDVyOPeN4lttWTwhLdu0T9f8uvoPEUg==", + "dev": true, + "requires": { + "@jest/transform": "^29.4.1", + "@types/babel__core": "^7.1.14", + "babel-plugin-istanbul": "^6.1.1", + "babel-preset-jest": "^29.4.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "slash": "^3.0.0" + } + }, + "babel-plugin-jest-hoist": { + "version": "29.4.0", + "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.4.0.tgz", + "integrity": "sha512-a/sZRLQJEmsmejQ2rPEUe35nO1+C9dc9O1gplH1SXmJxveQSRUYdBk8yGZG/VOUuZs1u2aHZJusEGoRMbhhwCg==", + "dev": true, + "requires": { + "@babel/template": "^7.3.3", + "@babel/types": "^7.3.3", + "@types/babel__core": "^7.1.14", + "@types/babel__traverse": "^7.0.6" + } + }, + "babel-preset-jest": { + "version": "29.4.0", + "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.4.0.tgz", + "integrity": "sha512-fUB9vZflUSM3dO/6M2TCAepTzvA4VkOvl67PjErcrQMGt9Eve7uazaeyCZ2th3UtI7ljpiBJES0F7A1vBRsLZA==", + "dev": true, + "requires": { + "babel-plugin-jest-hoist": "^29.4.0", + "babel-preset-current-node-syntax": "^1.0.0" + } + }, + "convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true + }, + "deepmerge": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.0.tgz", + "integrity": "sha512-z2wJZXrmeHdvYJp/Ux55wIjqo81G5Bp4c+oELTW+7ar6SogWHajt5a9gO3s3IDaGSAXjDk0vlQKN3rms8ab3og==", + "dev": true + }, + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "jest-get-type": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.2.0.tgz", + "integrity": "sha512-uXNJlg8hKFEnDgFsrCjznB+sTxdkuqiCL6zMgA75qEbAJjJYTs9XPrvDctrEig2GDow22T/LvHgO57iJhXB/UA==", + "dev": true + }, + "jest-haste-map": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.4.1.tgz", + "integrity": "sha512-imTjcgfVVTvg02khXL11NNLTx9ZaofbAWhilrMg/G8dIkp+HYCswhxf0xxJwBkfhWb3e8dwbjuWburvxmcr58w==", + "dev": true, + "requires": { + "@jest/types": "^29.4.1", + "@types/graceful-fs": "^4.1.3", + "@types/node": "*", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "fsevents": "^2.3.2", + "graceful-fs": "^4.2.9", + "jest-regex-util": "^29.2.0", + "jest-util": "^29.4.1", + "jest-worker": "^29.4.1", + "micromatch": "^4.0.4", + "walker": "^1.0.8" + } + }, + "jest-regex-util": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.2.0.tgz", + "integrity": "sha512-6yXn0kg2JXzH30cr2NlThF+70iuO/3irbaB4mh5WyqNIvLLP+B6sFdluO1/1RJmslyh/f9osnefECflHvTbwVA==", + "dev": true + }, + "jest-resolve": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.4.1.tgz", + "integrity": "sha512-j/ZFNV2lm9IJ2wmlq1uYK0Y/1PiyDq9g4HEGsNTNr3viRbJdV+8Lf1SXIiLZXFvyiisu0qUyIXGBnw+OKWkJwQ==", + "dev": true, + "requires": { + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.4.1", + "jest-pnp-resolver": "^1.2.2", + "jest-util": "^29.4.1", + "jest-validate": "^29.4.1", + "resolve": "^1.20.0", + "resolve.exports": "^2.0.0", + "slash": "^3.0.0" + } + }, + "jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", + "dev": true, + "requires": { + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + } + }, + "jest-validate": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.4.1.tgz", + "integrity": "sha512-qNZXcZQdIQx4SfUB/atWnI4/I2HUvhz8ajOSYUu40CSmf9U5emil8EDHgE7M+3j9/pavtk3knlZBDsgFvv/SWw==", + "dev": true, + "requires": { + "@jest/types": "^29.4.1", + "camelcase": "^6.2.0", + "chalk": "^4.0.0", + "jest-get-type": "^29.2.0", + "leven": "^3.1.0", + "pretty-format": "^29.4.1" + } + }, + "jest-worker": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.4.1.tgz", + "integrity": "sha512-O9doU/S1EBe+yp/mstQ0VpPwpv0Clgn68TkNwGxL6/usX/KUW9Arnn4ag8C3jc6qHcXznhsT5Na1liYzAsuAbQ==", + "dev": true, + "requires": { + "@types/node": "*", + "jest-util": "^29.4.1", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + } + }, + "pretty-format": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.4.1.tgz", + "integrity": "sha512-dt/Z761JUVsrIKaY215o1xQJBGlSmTx/h4cSqXqjHLnU1+Kt+mavVE7UgqJJO5ukx5HjSswHfmXz4LjS2oIJfg==", + "dev": true, + "requires": { + "@jest/schemas": "^29.4.0", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + } + }, + "resolve.exports": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.0.tgz", + "integrity": "sha512-6K/gDlqgQscOlg9fSRpWstA8sYe8rbELsSTNpx+3kTrsVCzvSl0zIvRErM7fdl9ERWDsKnrLnwB+Ne89918XOg==", "dev": true + }, + "supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "write-file-atomic": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.0.tgz", + "integrity": "sha512-R7NYMnHSlV42K54lwY9lvW6MnSm1HSJqZL3xiSgi9E7//FYaI74r2G0rd+/X6VAMkHEdzxQaU5HUOXWUz5kA/w==", + "dev": true, + "requires": { + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.7" + } } } }, - "istanbul-lib-report": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", - "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", - "dev": true, - "requires": { - "istanbul-lib-coverage": "^3.0.0", - "make-dir": "^3.0.0", - "supports-color": "^7.1.0" - } - }, - "istanbul-lib-source-maps": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", - "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", + "jest-diff": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-27.5.1.tgz", + "integrity": "sha512-m0NvkX55LDt9T4mctTEgnZk3fmEg3NRYutvMPWM/0iPnkFj2wIeF45O1718cMSOFO1vINkqmxqD8vE37uTEbqw==", "dev": true, "requires": { - "debug": "^4.1.1", - "istanbul-lib-coverage": "^3.0.0", - "source-map": "^0.6.1" + "chalk": "^4.0.0", + "diff-sequences": "^27.5.1", + "jest-get-type": "^27.5.1", + "pretty-format": "^27.5.1" }, "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true + }, + "pretty-format": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", + "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1", + "ansi-styles": "^5.0.0", + "react-is": "^17.0.1" + } + }, + "react-is": { + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", + "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", "dev": true } } }, - "istanbul-reports": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.5.tgz", - "integrity": "sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w==", - "dev": true, - "requires": { - "html-escaper": "^2.0.0", - "istanbul-lib-report": "^3.0.0" - } - }, - "jake": { - "version": "10.8.5", - "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.5.tgz", - "integrity": "sha512-sVpxYeuAhWt0OTWITwT98oyV0GsXyMlXCF+3L1SuafBVUIr/uILGRB+NqwkzhgXKvoJpDIpQvqkUALgdmQsQxw==", - "dev": true, - "requires": { - "async": "^3.2.3", - "chalk": "^4.0.2", - "filelist": "^1.0.1", - "minimatch": "^3.0.4" - } - }, - "javascript-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/javascript-stringify/-/javascript-stringify-2.1.0.tgz", - "integrity": "sha512-JVAfqNPTvNq3sB/VHQJAFxN/sPgKnsKrCwyRt15zwNCdrMMJDdcEOdubuy+DuJYYdm0ox1J4uzEuYKkN+9yhVg==", - "dev": true - }, - "jest": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest/-/jest-27.5.1.tgz", - "integrity": "sha512-Yn0mADZB89zTtjkPJEXwrac3LHudkQMR+Paqa8uxJHCBr9agxztUifWCyiYrjhMPBoUVBjyny0I7XH6ozDr7QQ==", + "jest-docblock": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.2.0.tgz", + "integrity": "sha512-bkxUsxTgWQGbXV5IENmfiIuqZhJcyvF7tU4zJ/7ioTutdz4ToB5Yx6JOFBpgI+TphRY4lhOyCWGNH/QFQh5T6A==", "dev": true, "requires": { - "@jest/core": "^27.5.1", - "import-local": "^3.0.2", - "jest-cli": "^27.5.1" + "detect-newline": "^3.0.0" } }, - "jest-changed-files": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-27.5.1.tgz", - "integrity": "sha512-buBLMiByfWGCoMsLLzGUUSpAmIAGnbR2KJoMN10ziLhOLvP4e0SlypHnAel8iqQXTrcbmfEY9sSqae5sgUsTvw==", + "jest-each": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-29.4.1.tgz", + "integrity": "sha512-QlYFiX3llJMWUV0BtWht/esGEz9w+0i7BHwODKCze7YzZzizgExB9MOfiivF/vVT0GSQ8wXLhvHXh3x2fVD4QQ==", "dev": true, "requires": { - "@jest/types": "^27.5.1", - "execa": "^5.0.0", - "throat": "^6.0.1" + "@jest/types": "^29.4.1", + "chalk": "^4.0.0", + "jest-get-type": "^29.2.0", + "jest-util": "^29.4.1", + "pretty-format": "^29.4.1" }, "dependencies": { "@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "requires": { + "@jest/schemas": "^29.4.0", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", - "@types/yargs": "^16.0.0", + "@types/yargs": "^17.0.8", "chalk": "^4.0.0" } }, "@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "requires": { "@types/yargs-parser": "*" } }, - "execa": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true + }, + "jest-get-type": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.2.0.tgz", + "integrity": "sha512-uXNJlg8hKFEnDgFsrCjznB+sTxdkuqiCL6zMgA75qEbAJjJYTs9XPrvDctrEig2GDow22T/LvHgO57iJhXB/UA==", + "dev": true + }, + "jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", "dev": true, "requires": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" } }, - "get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", - "dev": true - }, - "human-signals": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", - "dev": true + "pretty-format": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.4.1.tgz", + "integrity": "sha512-dt/Z761JUVsrIKaY215o1xQJBGlSmTx/h4cSqXqjHLnU1+Kt+mavVE7UgqJJO5ukx5HjSswHfmXz4LjS2oIJfg==", + "dev": true, + "requires": { + "@jest/schemas": "^29.4.0", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + } } } }, - "jest-circus": { + "jest-environment-jsdom": { "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-27.5.1.tgz", - "integrity": "sha512-D95R7x5UtlMA5iBYsOHFFbMD/GVA4R/Kdq15f7xYWUfWHBto9NYRsOvnSauTgdF+ogCpJ4tyKOXhUifxS65gdw==", + "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-27.5.1.tgz", + "integrity": "sha512-TFBvkTC1Hnnnrka/fUb56atfDtJ9VMZ94JkjTbggl1PEpwrYtUBKMezB3inLmWqQsXYLcMwNoDQwoBTAvFfsfw==", "dev": true, "requires": { "@jest/environment": "^27.5.1", - "@jest/test-result": "^27.5.1", + "@jest/fake-timers": "^27.5.1", "@jest/types": "^27.5.1", "@types/node": "*", - "chalk": "^4.0.0", - "co": "^4.6.0", - "dedent": "^0.7.0", - "expect": "^27.5.1", - "is-generator-fn": "^2.0.0", - "jest-each": "^27.5.1", - "jest-matcher-utils": "^27.5.1", - "jest-message-util": "^27.5.1", - "jest-runtime": "^27.5.1", - "jest-snapshot": "^27.5.1", + "jest-mock": "^27.5.1", "jest-util": "^27.5.1", - "pretty-format": "^27.5.1", - "slash": "^3.0.0", - "stack-utils": "^2.0.3", - "throat": "^6.0.1" + "jsdom": "^16.6.0" }, "dependencies": { + "@jest/environment": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-27.5.1.tgz", + "integrity": "sha512-/WQjhPJe3/ghaol/4Bq480JKXV/Rfw8nQdN7f41fM8VDHLcxKXou6QyXAh3EFr9/bVG3x74z1NWDkP87EiY8gA==", + "dev": true, + "requires": { + "@jest/fake-timers": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "jest-mock": "^27.5.1" + } + }, + "@jest/fake-timers": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-27.5.1.tgz", + "integrity": "sha512-/aPowoolwa07k7/oM3aASneNeBGCmGQsc3ugN4u6s4C/+s5M64MFo/+djTdiwcbQlRfFElGuDXWzaWj6QgKObQ==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1", + "@sinonjs/fake-timers": "^8.0.1", + "@types/node": "*", + "jest-message-util": "^27.5.1", + "jest-mock": "^27.5.1", + "jest-util": "^27.5.1" + } + }, "@jest/types": { "version": "27.5.1", "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", @@ -31513,6 +35668,24 @@ "chalk": "^4.0.0" } }, + "@sinonjs/commons": { + "version": "1.8.6", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.6.tgz", + "integrity": "sha512-Ky+XkAkqPZSm3NLBeUng77EBQl3cmeJhITaGHdYH8kjVB+aun3S4XBRti2zt17mtt0mIUDiNxYeoJm6drVvBJQ==", + "dev": true, + "requires": { + "type-detect": "4.0.8" + } + }, + "@sinonjs/fake-timers": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-8.1.0.tgz", + "integrity": "sha512-OAPJUAtgeINhh/TAlUID4QTs53Njm7xzddaVlEs/SXwgtiD1tW22zAB/W1wdqfrpmikgaWQ9Fw6Ws+hsiRm5Vg==", + "dev": true, + "requires": { + "@sinonjs/commons": "^1.7.0" + } + }, "@types/yargs": { "version": "16.0.5", "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", @@ -31528,6 +35701,33 @@ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true }, + "jest-message-util": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-27.5.1.tgz", + "integrity": "sha512-rMyFe1+jnyAAf+NHwTclDz0eAaLkVDdKVHHBFWsBWHnnh5YeJMNWWsv7AbFYXfK3oTqvL7VTWkhNLu1jX24D+g==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.12.13", + "@jest/types": "^27.5.1", + "@types/stack-utils": "^2.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "micromatch": "^4.0.4", + "pretty-format": "^27.5.1", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" + } + }, + "jest-mock": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-27.5.1.tgz", + "integrity": "sha512-K4jKbY1d4ENhbrG2zuPWaQBvDly+iZ2yAW+T1fATN78hc0sInwn7wZB8XtlNnvHug5RMwV897Xm4LqmPM4e2Og==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1", + "@types/node": "*" + } + }, "pretty-format": { "version": "27.5.1", "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", @@ -31547,24 +35747,94 @@ } } }, - "jest-cli": { + "jest-environment-node": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.4.1.tgz", + "integrity": "sha512-x/H2kdVgxSkxWAIlIh9MfMuBa0hZySmfsC5lCsWmWr6tZySP44ediRKDUiNggX/eHLH7Cd5ZN10Rw+XF5tXsqg==", + "dev": true, + "requires": { + "@jest/environment": "^29.4.1", + "@jest/fake-timers": "^29.4.1", + "@jest/types": "^29.4.1", + "@types/node": "*", + "jest-mock": "^29.4.1", + "jest-util": "^29.4.1" + }, + "dependencies": { + "@jest/types": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", + "dev": true, + "requires": { + "@jest/schemas": "^29.4.0", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" + } + }, + "@types/yargs": { + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", + "dev": true, + "requires": { + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + } + } + } + }, + "jest-fetch-mock": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/jest-fetch-mock/-/jest-fetch-mock-3.0.3.tgz", + "integrity": "sha512-Ux1nWprtLrdrH4XwE7O7InRY6psIi3GOsqNESJgMJ+M5cv4A8Lh7SN9d2V2kKRZ8ebAfcd1LNyZguAOb6JiDqw==", + "dev": true, + "requires": { + "cross-fetch": "^3.0.4", + "promise-polyfill": "^8.1.3" + } + }, + "jest-get-type": { "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-27.5.1.tgz", - "integrity": "sha512-Hc6HOOwYq4/74/c62dEE3r5elx8wjYqxY0r0G/nFrLDPMFRu6RA/u8qINOIkvhxG7mMQ5EJsOGfRpI8L6eFUVw==", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-27.5.1.tgz", + "integrity": "sha512-2KY95ksYSaK7DMBWQn6dQz3kqAf3BB64y2udeG+hv4KfSOb9qwcYQstTJc1KCbsix+wLZWZYN8t7nwX3GOBLRw==", + "dev": true + }, + "jest-haste-map": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-27.5.1.tgz", + "integrity": "sha512-7GgkZ4Fw4NFbMSDSpZwXeBiIbx+t/46nJ2QitkOjvwPYyZmqttu2TDSimMHP1EkPOi4xUZAN1doE5Vd25H4Jng==", "dev": true, "requires": { - "@jest/core": "^27.5.1", - "@jest/test-result": "^27.5.1", "@jest/types": "^27.5.1", - "chalk": "^4.0.0", - "exit": "^0.1.2", + "@types/graceful-fs": "^4.1.2", + "@types/node": "*", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "fsevents": "^2.3.2", "graceful-fs": "^4.2.9", - "import-local": "^3.0.2", - "jest-config": "^27.5.1", + "jest-regex-util": "^27.5.1", + "jest-serializer": "^27.5.1", "jest-util": "^27.5.1", - "jest-validate": "^27.5.1", - "prompts": "^2.0.1", - "yargs": "^16.2.0" + "jest-worker": "^27.5.1", + "micromatch": "^4.0.4", + "walker": "^1.0.7" }, "dependencies": { "@jest/types": { @@ -31591,38 +35861,105 @@ } } }, - "jest-config": { + "jest-jasmine2": { "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-27.5.1.tgz", - "integrity": "sha512-5sAsjm6tGdsVbW9ahcChPAFCk4IlkQUknH5AvKjuLTSlcO/wCZKyFdn7Rg0EkC+OGgWODEy2hDpWB1PgzH0JNA==", + "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-27.5.1.tgz", + "integrity": "sha512-jtq7VVyG8SqAorDpApwiJJImd0V2wv1xzdheGHRGyuT7gZm6gG47QEskOlzsN1PG/6WNaCo5pmwMHDf3AkG2pQ==", "dev": true, "requires": { - "@babel/core": "^7.8.0", - "@jest/test-sequencer": "^27.5.1", + "@jest/environment": "^27.5.1", + "@jest/source-map": "^27.5.1", + "@jest/test-result": "^27.5.1", "@jest/types": "^27.5.1", - "babel-jest": "^27.5.1", + "@types/node": "*", "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "deepmerge": "^4.2.2", - "glob": "^7.1.1", - "graceful-fs": "^4.2.9", - "jest-circus": "^27.5.1", - "jest-environment-jsdom": "^27.5.1", - "jest-environment-node": "^27.5.1", - "jest-get-type": "^27.5.1", - "jest-jasmine2": "^27.5.1", - "jest-regex-util": "^27.5.1", - "jest-resolve": "^27.5.1", - "jest-runner": "^27.5.1", + "co": "^4.6.0", + "expect": "^27.5.1", + "is-generator-fn": "^2.0.0", + "jest-each": "^27.5.1", + "jest-matcher-utils": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-runtime": "^27.5.1", + "jest-snapshot": "^27.5.1", "jest-util": "^27.5.1", - "jest-validate": "^27.5.1", - "micromatch": "^4.0.4", - "parse-json": "^5.2.0", "pretty-format": "^27.5.1", - "slash": "^3.0.0", - "strip-json-comments": "^3.1.1" + "throat": "^6.0.1" }, "dependencies": { + "@jest/console": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-27.5.1.tgz", + "integrity": "sha512-kZ/tNpS3NXn0mlXXXPNuDZnb4c0oZ20r4K5eemM2k30ZC3G0T02nXUvyhf5YdbXWHPEJLc9qGLxEZ216MdL+Zg==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1", + "@types/node": "*", + "chalk": "^4.0.0", + "jest-message-util": "^27.5.1", + "jest-util": "^27.5.1", + "slash": "^3.0.0" + } + }, + "@jest/environment": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-27.5.1.tgz", + "integrity": "sha512-/WQjhPJe3/ghaol/4Bq480JKXV/Rfw8nQdN7f41fM8VDHLcxKXou6QyXAh3EFr9/bVG3x74z1NWDkP87EiY8gA==", + "dev": true, + "requires": { + "@jest/fake-timers": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "jest-mock": "^27.5.1" + } + }, + "@jest/fake-timers": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-27.5.1.tgz", + "integrity": "sha512-/aPowoolwa07k7/oM3aASneNeBGCmGQsc3ugN4u6s4C/+s5M64MFo/+djTdiwcbQlRfFElGuDXWzaWj6QgKObQ==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1", + "@sinonjs/fake-timers": "^8.0.1", + "@types/node": "*", + "jest-message-util": "^27.5.1", + "jest-mock": "^27.5.1", + "jest-util": "^27.5.1" + } + }, + "@jest/globals": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-27.5.1.tgz", + "integrity": "sha512-ZEJNB41OBQQgGzgyInAv0UUfDDj3upmHydjieSxFvTRuZElrx7tXg/uVQ5hYVEwiXs3+aMsAeEc9X7xiSKCm4Q==", + "dev": true, + "requires": { + "@jest/environment": "^27.5.1", + "@jest/types": "^27.5.1", + "expect": "^27.5.1" + } + }, + "@jest/source-map": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-27.5.1.tgz", + "integrity": "sha512-y9NIHUYF3PJRlHk98NdC/N1gl88BL08aQQgu4k4ZopQkCw9t9cV8mtl3TV8b/YCB8XaVTFrmUTAJvjsntDireg==", + "dev": true, + "requires": { + "callsites": "^3.0.0", + "graceful-fs": "^4.2.9", + "source-map": "^0.6.0" + } + }, + "@jest/test-result": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-27.5.1.tgz", + "integrity": "sha512-EW35l2RYFUcUQxFJz5Cv5MTOxlJIQs4I7gxzi2zVU7PJhOwfYq1MdC5nhSmYjX1gmMmLPvB3sIaC+BkcHRBfag==", + "dev": true, + "requires": { + "@jest/console": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/istanbul-lib-coverage": "^2.0.0", + "collect-v8-coverage": "^1.0.0" + } + }, "@jest/types": { "version": "27.5.1", "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", @@ -31636,6 +35973,24 @@ "chalk": "^4.0.0" } }, + "@sinonjs/commons": { + "version": "1.8.6", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.6.tgz", + "integrity": "sha512-Ky+XkAkqPZSm3NLBeUng77EBQl3cmeJhITaGHdYH8kjVB+aun3S4XBRti2zt17mtt0mIUDiNxYeoJm6drVvBJQ==", + "dev": true, + "requires": { + "type-detect": "4.0.8" + } + }, + "@sinonjs/fake-timers": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-8.1.0.tgz", + "integrity": "sha512-OAPJUAtgeINhh/TAlUID4QTs53Njm7xzddaVlEs/SXwgtiD1tW22zAB/W1wdqfrpmikgaWQ9Fw6Ws+hsiRm5Vg==", + "dev": true, + "requires": { + "@sinonjs/commons": "^1.7.0" + } + }, "@types/yargs": { "version": "16.0.5", "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", @@ -31651,10 +36006,39 @@ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true }, - "deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + } + }, + "expect": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/expect/-/expect-27.5.1.tgz", + "integrity": "sha512-E1q5hSUG2AmYQwQJ041nvgpkODHQvB+RKlB4IYdru6uJsyFTRyZAP463M+1lINorwbqAmUggi6+WwkD8lCS/Dw==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1", + "jest-get-type": "^27.5.1", + "jest-matcher-utils": "^27.5.1", + "jest-message-util": "^27.5.1" + } + }, + "get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", "dev": true }, "glob": { @@ -31671,6 +36055,121 @@ "path-is-absolute": "^1.0.0" } }, + "human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "dev": true + }, + "jest-each": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-27.5.1.tgz", + "integrity": "sha512-1Ff6p+FbhT/bXQnEouYy00bkNSY7OUpfIcmdl8vZ31A1UUaurOLPA8a8BbJOF2RDUElwJhmeaV7LnagI+5UwNQ==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1", + "chalk": "^4.0.0", + "jest-get-type": "^27.5.1", + "jest-util": "^27.5.1", + "pretty-format": "^27.5.1" + } + }, + "jest-message-util": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-27.5.1.tgz", + "integrity": "sha512-rMyFe1+jnyAAf+NHwTclDz0eAaLkVDdKVHHBFWsBWHnnh5YeJMNWWsv7AbFYXfK3oTqvL7VTWkhNLu1jX24D+g==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.12.13", + "@jest/types": "^27.5.1", + "@types/stack-utils": "^2.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "micromatch": "^4.0.4", + "pretty-format": "^27.5.1", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" + } + }, + "jest-mock": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-27.5.1.tgz", + "integrity": "sha512-K4jKbY1d4ENhbrG2zuPWaQBvDly+iZ2yAW+T1fATN78hc0sInwn7wZB8XtlNnvHug5RMwV897Xm4LqmPM4e2Og==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1", + "@types/node": "*" + } + }, + "jest-runtime": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-27.5.1.tgz", + "integrity": "sha512-o7gxw3Gf+H2IGt8fv0RiyE1+r83FJBRruoA+FXrlHw6xEyBsU8ugA6IPfTdVyA0w8HClpbK+DGJxH59UrNMx8A==", + "dev": true, + "requires": { + "@jest/environment": "^27.5.1", + "@jest/fake-timers": "^27.5.1", + "@jest/globals": "^27.5.1", + "@jest/source-map": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/transform": "^27.5.1", + "@jest/types": "^27.5.1", + "chalk": "^4.0.0", + "cjs-module-lexer": "^1.0.0", + "collect-v8-coverage": "^1.0.0", + "execa": "^5.0.0", + "glob": "^7.1.3", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-mock": "^27.5.1", + "jest-regex-util": "^27.5.1", + "jest-resolve": "^27.5.1", + "jest-snapshot": "^27.5.1", + "jest-util": "^27.5.1", + "slash": "^3.0.0", + "strip-bom": "^4.0.0" + } + }, + "jest-snapshot": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-27.5.1.tgz", + "integrity": "sha512-yYykXI5a0I31xX67mgeLw1DZ0bJB+gpq5IpSuCAoyDi0+BhgU/RIrL+RTzDmkNTchvDFWKP8lp+w/42Z3us5sA==", + "dev": true, + "requires": { + "@babel/core": "^7.7.2", + "@babel/generator": "^7.7.2", + "@babel/plugin-syntax-typescript": "^7.7.2", + "@babel/traverse": "^7.7.2", + "@babel/types": "^7.0.0", + "@jest/transform": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/babel__traverse": "^7.0.4", + "@types/prettier": "^2.1.5", + "babel-preset-current-node-syntax": "^1.0.0", + "chalk": "^4.0.0", + "expect": "^27.5.1", + "graceful-fs": "^4.2.9", + "jest-diff": "^27.5.1", + "jest-get-type": "^27.5.1", + "jest-haste-map": "^27.5.1", + "jest-matcher-utils": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-util": "^27.5.1", + "natural-compare": "^1.4.0", + "pretty-format": "^27.5.1", + "semver": "^7.3.2" + } + }, + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + }, "pretty-format": { "version": "27.5.1", "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", @@ -31687,17 +36186,73 @@ "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", "dev": true + }, + "semver": { + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true } } }, - "jest-diff": { + "jest-leak-detector": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.4.1.tgz", + "integrity": "sha512-akpZv7TPyGMnH2RimOCgy+hPmWZf55EyFUvymQ4LMsQP8xSPlZumCPtXGoDhFNhUE2039RApZkTQDKU79p/FiQ==", + "dev": true, + "requires": { + "jest-get-type": "^29.2.0", + "pretty-format": "^29.4.1" + }, + "dependencies": { + "ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true + }, + "jest-get-type": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.2.0.tgz", + "integrity": "sha512-uXNJlg8hKFEnDgFsrCjznB+sTxdkuqiCL6zMgA75qEbAJjJYTs9XPrvDctrEig2GDow22T/LvHgO57iJhXB/UA==", + "dev": true + }, + "pretty-format": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.4.1.tgz", + "integrity": "sha512-dt/Z761JUVsrIKaY215o1xQJBGlSmTx/h4cSqXqjHLnU1+Kt+mavVE7UgqJJO5ukx5HjSswHfmXz4LjS2oIJfg==", + "dev": true, + "requires": { + "@jest/schemas": "^29.4.0", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + } + } + } + }, + "jest-matcher-utils": { "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-27.5.1.tgz", - "integrity": "sha512-m0NvkX55LDt9T4mctTEgnZk3fmEg3NRYutvMPWM/0iPnkFj2wIeF45O1718cMSOFO1vINkqmxqD8vE37uTEbqw==", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-27.5.1.tgz", + "integrity": "sha512-z2uTx/T6LBaCoNWNFWwChLBKYxTMcGBRjAt+2SbP929/Fflb9aa5LGma654Rz8z9HLxsrUaYzxE9T/EFIL/PAw==", "dev": true, "requires": { "chalk": "^4.0.0", - "diff-sequences": "^27.5.1", + "jest-diff": "^27.5.1", "jest-get-type": "^27.5.1", "pretty-format": "^27.5.1" }, @@ -31727,45 +36282,41 @@ } } }, - "jest-docblock": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-27.5.1.tgz", - "integrity": "sha512-rl7hlABeTsRYxKiUfpHrQrG4e2obOiTQWfMEH3PxPjOtdsfLQO4ReWSZaQ7DETm4xu07rl4q/h4zcKXyU0/OzQ==", - "dev": true, - "requires": { - "detect-newline": "^3.0.0" - } - }, - "jest-each": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-27.5.1.tgz", - "integrity": "sha512-1Ff6p+FbhT/bXQnEouYy00bkNSY7OUpfIcmdl8vZ31A1UUaurOLPA8a8BbJOF2RDUElwJhmeaV7LnagI+5UwNQ==", + "jest-message-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.4.1.tgz", + "integrity": "sha512-H4/I0cXUaLeCw6FM+i4AwCnOwHRgitdaUFOdm49022YD5nfyr8C/DrbXOBEyJaj+w/y0gGJ57klssOaUiLLQGQ==", "dev": true, "requires": { - "@jest/types": "^27.5.1", + "@babel/code-frame": "^7.12.13", + "@jest/types": "^29.4.1", + "@types/stack-utils": "^2.0.0", "chalk": "^4.0.0", - "jest-get-type": "^27.5.1", - "jest-util": "^27.5.1", - "pretty-format": "^27.5.1" + "graceful-fs": "^4.2.9", + "micromatch": "^4.0.4", + "pretty-format": "^29.4.1", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" }, "dependencies": { "@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "requires": { + "@jest/schemas": "^29.4.0", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", - "@types/yargs": "^16.0.0", + "@types/yargs": "^17.0.8", "chalk": "^4.0.0" } }, "@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "requires": { "@types/yargs-parser": "*" @@ -31778,75 +36329,97 @@ "dev": true }, "pretty-format": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", - "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.4.1.tgz", + "integrity": "sha512-dt/Z761JUVsrIKaY215o1xQJBGlSmTx/h4cSqXqjHLnU1+Kt+mavVE7UgqJJO5ukx5HjSswHfmXz4LjS2oIJfg==", "dev": true, "requires": { - "ansi-regex": "^5.0.1", + "@jest/schemas": "^29.4.0", "ansi-styles": "^5.0.0", - "react-is": "^17.0.1" + "react-is": "^18.0.0" } - }, - "react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true } } }, - "jest-environment-jsdom": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-27.5.1.tgz", - "integrity": "sha512-TFBvkTC1Hnnnrka/fUb56atfDtJ9VMZ94JkjTbggl1PEpwrYtUBKMezB3inLmWqQsXYLcMwNoDQwoBTAvFfsfw==", + "jest-mock": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.4.1.tgz", + "integrity": "sha512-MwA4hQ7zBOcgVCVnsM8TzaFLVUD/pFWTfbkY953Y81L5ret3GFRZtmPmRFAjKQSdCKoJvvqOu6Bvfpqlwwb0dQ==", "dev": true, "requires": { - "@jest/environment": "^27.5.1", - "@jest/fake-timers": "^27.5.1", - "@jest/types": "^27.5.1", + "@jest/types": "^29.4.1", "@types/node": "*", - "jest-mock": "^27.5.1", - "jest-util": "^27.5.1", - "jsdom": "^16.6.0" + "jest-util": "^29.4.1" }, "dependencies": { "@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "requires": { + "@jest/schemas": "^29.4.0", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", - "@types/yargs": "^16.0.0", + "@types/yargs": "^17.0.8", "chalk": "^4.0.0" } }, "@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "requires": { "@types/yargs-parser": "*" } + }, + "jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", + "dev": true, + "requires": { + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + } } } }, - "jest-environment-node": { + "jest-pnp-resolver": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz", + "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==", + "dev": true, + "requires": {} + }, + "jest-regex-util": { "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-27.5.1.tgz", - "integrity": "sha512-Jt4ZUnxdOsTGwSRAfKEnE6BcwsSPNOijjwifq5sDFSA2kesnXTvNqKHYgM0hDq3549Uf/KzdXNYn4wMZJPlFLw==", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-27.5.1.tgz", + "integrity": "sha512-4bfKq2zie+x16okqDXjXn9ql2B0dScQu+vcwe4TvFVhkVyuWLqpZrZtXxLLWoXYgn0E87I6r6GRYHF7wFZBUvg==", + "dev": true + }, + "jest-resolve": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-27.5.1.tgz", + "integrity": "sha512-FFDy8/9E6CV83IMbDpcjOhumAQPDyETnU2KZ1O98DwTnz8AOBsW/Xv3GySr1mOZdItLR+zDZ7I/UdTFbgSOVCw==", "dev": true, "requires": { - "@jest/environment": "^27.5.1", - "@jest/fake-timers": "^27.5.1", "@jest/types": "^27.5.1", - "@types/node": "*", - "jest-mock": "^27.5.1", - "jest-util": "^27.5.1" + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^27.5.1", + "jest-pnp-resolver": "^1.2.2", + "jest-util": "^27.5.1", + "jest-validate": "^27.5.1", + "resolve": "^1.20.0", + "resolve.exports": "^1.1.0", + "slash": "^3.0.0" }, "dependencies": { "@jest/types": { @@ -31873,245 +36446,591 @@ } } }, - "jest-fetch-mock": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/jest-fetch-mock/-/jest-fetch-mock-3.0.3.tgz", - "integrity": "sha512-Ux1nWprtLrdrH4XwE7O7InRY6psIi3GOsqNESJgMJ+M5cv4A8Lh7SN9d2V2kKRZ8ebAfcd1LNyZguAOb6JiDqw==", + "jest-resolve-dependencies": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.4.1.tgz", + "integrity": "sha512-Y3QG3M1ncAMxfjbYgtqNXC5B595zmB6e//p/qpA/58JkQXu/IpLDoLeOa8YoYfsSglBKQQzNUqtfGJJT/qLmJg==", "dev": true, "requires": { - "cross-fetch": "^3.0.4", - "promise-polyfill": "^8.1.3" + "jest-regex-util": "^29.2.0", + "jest-snapshot": "^29.4.1" + }, + "dependencies": { + "jest-regex-util": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.2.0.tgz", + "integrity": "sha512-6yXn0kg2JXzH30cr2NlThF+70iuO/3irbaB4mh5WyqNIvLLP+B6sFdluO1/1RJmslyh/f9osnefECflHvTbwVA==", + "dev": true + } } }, - "jest-get-type": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-27.5.1.tgz", - "integrity": "sha512-2KY95ksYSaK7DMBWQn6dQz3kqAf3BB64y2udeG+hv4KfSOb9qwcYQstTJc1KCbsix+wLZWZYN8t7nwX3GOBLRw==", - "dev": true - }, - "jest-haste-map": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-27.5.1.tgz", - "integrity": "sha512-7GgkZ4Fw4NFbMSDSpZwXeBiIbx+t/46nJ2QitkOjvwPYyZmqttu2TDSimMHP1EkPOi4xUZAN1doE5Vd25H4Jng==", + "jest-runner": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-29.4.1.tgz", + "integrity": "sha512-8d6XXXi7GtHmsHrnaqBKWxjKb166Eyj/ksSaUYdcBK09VbjPwIgWov1VwSmtupCIz8q1Xv4Qkzt/BTo3ZqiCeg==", "dev": true, "requires": { - "@jest/types": "^27.5.1", - "@types/graceful-fs": "^4.1.2", + "@jest/console": "^29.4.1", + "@jest/environment": "^29.4.1", + "@jest/test-result": "^29.4.1", + "@jest/transform": "^29.4.1", + "@jest/types": "^29.4.1", "@types/node": "*", - "anymatch": "^3.0.3", - "fb-watchman": "^2.0.0", - "fsevents": "^2.3.2", + "chalk": "^4.0.0", + "emittery": "^0.13.1", "graceful-fs": "^4.2.9", - "jest-regex-util": "^27.5.1", - "jest-serializer": "^27.5.1", - "jest-util": "^27.5.1", - "jest-worker": "^27.5.1", - "micromatch": "^4.0.4", - "walker": "^1.0.7" - }, - "dependencies": { + "jest-docblock": "^29.2.0", + "jest-environment-node": "^29.4.1", + "jest-haste-map": "^29.4.1", + "jest-leak-detector": "^29.4.1", + "jest-message-util": "^29.4.1", + "jest-resolve": "^29.4.1", + "jest-runtime": "^29.4.1", + "jest-util": "^29.4.1", + "jest-watcher": "^29.4.1", + "jest-worker": "^29.4.1", + "p-limit": "^3.1.0", + "source-map-support": "0.5.13" + }, + "dependencies": { + "@jest/transform": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.4.1.tgz", + "integrity": "sha512-5w6YJrVAtiAgr0phzKjYd83UPbCXsBRTeYI4BXokv9Er9CcrH9hfXL/crCvP2d2nGOcovPUnlYiLPFLZrkG5Hg==", + "dev": true, + "requires": { + "@babel/core": "^7.11.6", + "@jest/types": "^29.4.1", + "@jridgewell/trace-mapping": "^0.3.15", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^2.0.0", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.4.1", + "jest-regex-util": "^29.2.0", + "jest-util": "^29.4.1", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "write-file-atomic": "^5.0.0" + } + }, "@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "requires": { + "@jest/schemas": "^29.4.0", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", - "@types/yargs": "^16.0.0", + "@types/yargs": "^17.0.8", "chalk": "^4.0.0" } }, "@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "requires": { "@types/yargs-parser": "*" } + }, + "ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true + }, + "convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true + }, + "jest-get-type": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.2.0.tgz", + "integrity": "sha512-uXNJlg8hKFEnDgFsrCjznB+sTxdkuqiCL6zMgA75qEbAJjJYTs9XPrvDctrEig2GDow22T/LvHgO57iJhXB/UA==", + "dev": true + }, + "jest-haste-map": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.4.1.tgz", + "integrity": "sha512-imTjcgfVVTvg02khXL11NNLTx9ZaofbAWhilrMg/G8dIkp+HYCswhxf0xxJwBkfhWb3e8dwbjuWburvxmcr58w==", + "dev": true, + "requires": { + "@jest/types": "^29.4.1", + "@types/graceful-fs": "^4.1.3", + "@types/node": "*", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "fsevents": "^2.3.2", + "graceful-fs": "^4.2.9", + "jest-regex-util": "^29.2.0", + "jest-util": "^29.4.1", + "jest-worker": "^29.4.1", + "micromatch": "^4.0.4", + "walker": "^1.0.8" + } + }, + "jest-regex-util": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.2.0.tgz", + "integrity": "sha512-6yXn0kg2JXzH30cr2NlThF+70iuO/3irbaB4mh5WyqNIvLLP+B6sFdluO1/1RJmslyh/f9osnefECflHvTbwVA==", + "dev": true + }, + "jest-resolve": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.4.1.tgz", + "integrity": "sha512-j/ZFNV2lm9IJ2wmlq1uYK0Y/1PiyDq9g4HEGsNTNr3viRbJdV+8Lf1SXIiLZXFvyiisu0qUyIXGBnw+OKWkJwQ==", + "dev": true, + "requires": { + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.4.1", + "jest-pnp-resolver": "^1.2.2", + "jest-util": "^29.4.1", + "jest-validate": "^29.4.1", + "resolve": "^1.20.0", + "resolve.exports": "^2.0.0", + "slash": "^3.0.0" + } + }, + "jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", + "dev": true, + "requires": { + "@jest/types": "^29.4.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + } + }, + "jest-validate": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.4.1.tgz", + "integrity": "sha512-qNZXcZQdIQx4SfUB/atWnI4/I2HUvhz8ajOSYUu40CSmf9U5emil8EDHgE7M+3j9/pavtk3knlZBDsgFvv/SWw==", + "dev": true, + "requires": { + "@jest/types": "^29.4.1", + "camelcase": "^6.2.0", + "chalk": "^4.0.0", + "jest-get-type": "^29.2.0", + "leven": "^3.1.0", + "pretty-format": "^29.4.1" + } + }, + "jest-worker": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.4.1.tgz", + "integrity": "sha512-O9doU/S1EBe+yp/mstQ0VpPwpv0Clgn68TkNwGxL6/usX/KUW9Arnn4ag8C3jc6qHcXznhsT5Na1liYzAsuAbQ==", + "dev": true, + "requires": { + "@types/node": "*", + "jest-util": "^29.4.1", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + } + }, + "pretty-format": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.4.1.tgz", + "integrity": "sha512-dt/Z761JUVsrIKaY215o1xQJBGlSmTx/h4cSqXqjHLnU1+Kt+mavVE7UgqJJO5ukx5HjSswHfmXz4LjS2oIJfg==", + "dev": true, + "requires": { + "@jest/schemas": "^29.4.0", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + } + }, + "resolve.exports": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.0.tgz", + "integrity": "sha512-6K/gDlqgQscOlg9fSRpWstA8sYe8rbELsSTNpx+3kTrsVCzvSl0zIvRErM7fdl9ERWDsKnrLnwB+Ne89918XOg==", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "source-map-support": { + "version": "0.5.13", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz", + "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==", + "dev": true, + "requires": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "write-file-atomic": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.0.tgz", + "integrity": "sha512-R7NYMnHSlV42K54lwY9lvW6MnSm1HSJqZL3xiSgi9E7//FYaI74r2G0rd+/X6VAMkHEdzxQaU5HUOXWUz5kA/w==", + "dev": true, + "requires": { + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.7" + } } } }, - "jest-jasmine2": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-27.5.1.tgz", - "integrity": "sha512-jtq7VVyG8SqAorDpApwiJJImd0V2wv1xzdheGHRGyuT7gZm6gG47QEskOlzsN1PG/6WNaCo5pmwMHDf3AkG2pQ==", - "dev": true, - "requires": { - "@jest/environment": "^27.5.1", - "@jest/source-map": "^27.5.1", - "@jest/test-result": "^27.5.1", - "@jest/types": "^27.5.1", + "jest-runtime": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.4.1.tgz", + "integrity": "sha512-UXTMU9uKu2GjYwTtoAw5rn4STxWw/nadOfW7v1sx6LaJYa3V/iymdCLQM6xy3+7C6mY8GfX22vKpgxY171UIoA==", + "dev": true, + "requires": { + "@jest/environment": "^29.4.1", + "@jest/fake-timers": "^29.4.1", + "@jest/globals": "^29.4.1", + "@jest/source-map": "^29.2.0", + "@jest/test-result": "^29.4.1", + "@jest/transform": "^29.4.1", + "@jest/types": "^29.4.1", "@types/node": "*", "chalk": "^4.0.0", - "co": "^4.6.0", - "expect": "^27.5.1", - "is-generator-fn": "^2.0.0", - "jest-each": "^27.5.1", - "jest-matcher-utils": "^27.5.1", - "jest-message-util": "^27.5.1", - "jest-runtime": "^27.5.1", - "jest-snapshot": "^27.5.1", - "jest-util": "^27.5.1", - "pretty-format": "^27.5.1", - "throat": "^6.0.1" + "cjs-module-lexer": "^1.0.0", + "collect-v8-coverage": "^1.0.0", + "glob": "^7.1.3", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.4.1", + "jest-message-util": "^29.4.1", + "jest-mock": "^29.4.1", + "jest-regex-util": "^29.2.0", + "jest-resolve": "^29.4.1", + "jest-snapshot": "^29.4.1", + "jest-util": "^29.4.1", + "semver": "^7.3.5", + "slash": "^3.0.0", + "strip-bom": "^4.0.0" }, "dependencies": { + "@jest/transform": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.4.1.tgz", + "integrity": "sha512-5w6YJrVAtiAgr0phzKjYd83UPbCXsBRTeYI4BXokv9Er9CcrH9hfXL/crCvP2d2nGOcovPUnlYiLPFLZrkG5Hg==", + "dev": true, + "requires": { + "@babel/core": "^7.11.6", + "@jest/types": "^29.4.1", + "@jridgewell/trace-mapping": "^0.3.15", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^2.0.0", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.4.1", + "jest-regex-util": "^29.2.0", + "jest-util": "^29.4.1", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "write-file-atomic": "^5.0.0" + } + }, "@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", + "dev": true, + "requires": { + "@jest/schemas": "^29.4.0", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" + } + }, + "@types/yargs": { + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true + }, + "convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true + }, + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "jest-get-type": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.2.0.tgz", + "integrity": "sha512-uXNJlg8hKFEnDgFsrCjznB+sTxdkuqiCL6zMgA75qEbAJjJYTs9XPrvDctrEig2GDow22T/LvHgO57iJhXB/UA==", + "dev": true + }, + "jest-haste-map": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.4.1.tgz", + "integrity": "sha512-imTjcgfVVTvg02khXL11NNLTx9ZaofbAWhilrMg/G8dIkp+HYCswhxf0xxJwBkfhWb3e8dwbjuWburvxmcr58w==", + "dev": true, + "requires": { + "@jest/types": "^29.4.1", + "@types/graceful-fs": "^4.1.3", + "@types/node": "*", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "fsevents": "^2.3.2", + "graceful-fs": "^4.2.9", + "jest-regex-util": "^29.2.0", + "jest-util": "^29.4.1", + "jest-worker": "^29.4.1", + "micromatch": "^4.0.4", + "walker": "^1.0.8" + } + }, + "jest-regex-util": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.2.0.tgz", + "integrity": "sha512-6yXn0kg2JXzH30cr2NlThF+70iuO/3irbaB4mh5WyqNIvLLP+B6sFdluO1/1RJmslyh/f9osnefECflHvTbwVA==", + "dev": true + }, + "jest-resolve": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.4.1.tgz", + "integrity": "sha512-j/ZFNV2lm9IJ2wmlq1uYK0Y/1PiyDq9g4HEGsNTNr3viRbJdV+8Lf1SXIiLZXFvyiisu0qUyIXGBnw+OKWkJwQ==", + "dev": true, + "requires": { + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.4.1", + "jest-pnp-resolver": "^1.2.2", + "jest-util": "^29.4.1", + "jest-validate": "^29.4.1", + "resolve": "^1.20.0", + "resolve.exports": "^2.0.0", + "slash": "^3.0.0" + } + }, + "jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", "dev": true, "requires": { - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", + "@jest/types": "^29.4.1", "@types/node": "*", - "@types/yargs": "^16.0.0", - "chalk": "^4.0.0" + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" } }, - "@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "jest-validate": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.4.1.tgz", + "integrity": "sha512-qNZXcZQdIQx4SfUB/atWnI4/I2HUvhz8ajOSYUu40CSmf9U5emil8EDHgE7M+3j9/pavtk3knlZBDsgFvv/SWw==", "dev": true, "requires": { - "@types/yargs-parser": "*" + "@jest/types": "^29.4.1", + "camelcase": "^6.2.0", + "chalk": "^4.0.0", + "jest-get-type": "^29.2.0", + "leven": "^3.1.0", + "pretty-format": "^29.4.1" } }, - "ansi-styles": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", - "dev": true + "jest-worker": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.4.1.tgz", + "integrity": "sha512-O9doU/S1EBe+yp/mstQ0VpPwpv0Clgn68TkNwGxL6/usX/KUW9Arnn4ag8C3jc6qHcXznhsT5Na1liYzAsuAbQ==", + "dev": true, + "requires": { + "@types/node": "*", + "jest-util": "^29.4.1", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + } + }, + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "requires": { + "yallist": "^4.0.0" + } }, "pretty-format": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", - "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.4.1.tgz", + "integrity": "sha512-dt/Z761JUVsrIKaY215o1xQJBGlSmTx/h4cSqXqjHLnU1+Kt+mavVE7UgqJJO5ukx5HjSswHfmXz4LjS2oIJfg==", "dev": true, "requires": { - "ansi-regex": "^5.0.1", + "@jest/schemas": "^29.4.0", "ansi-styles": "^5.0.0", - "react-is": "^17.0.1" + "react-is": "^18.0.0" } }, - "react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - } - } - }, - "jest-leak-detector": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-27.5.1.tgz", - "integrity": "sha512-POXfWAMvfU6WMUXftV4HolnJfnPOGEu10fscNCA76KBpRRhcMN2c8d3iT2pxQS3HLbA+5X4sOUPzYO2NUyIlHQ==", - "dev": true, - "requires": { - "jest-get-type": "^27.5.1", - "pretty-format": "^27.5.1" - }, - "dependencies": { - "ansi-styles": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "resolve.exports": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.0.tgz", + "integrity": "sha512-6K/gDlqgQscOlg9fSRpWstA8sYe8rbELsSTNpx+3kTrsVCzvSl0zIvRErM7fdl9ERWDsKnrLnwB+Ne89918XOg==", "dev": true }, - "pretty-format": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", - "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", + "semver": { + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { - "ansi-regex": "^5.0.1", - "ansi-styles": "^5.0.0", - "react-is": "^17.0.1" + "lru-cache": "^6.0.0" } }, - "react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - } - } - }, - "jest-matcher-utils": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-27.5.1.tgz", - "integrity": "sha512-z2uTx/T6LBaCoNWNFWwChLBKYxTMcGBRjAt+2SbP929/Fflb9aa5LGma654Rz8z9HLxsrUaYzxE9T/EFIL/PAw==", - "dev": true, - "requires": { - "chalk": "^4.0.0", - "jest-diff": "^27.5.1", - "jest-get-type": "^27.5.1", - "pretty-format": "^27.5.1" - }, - "dependencies": { - "ansi-styles": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", - "dev": true + "supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } }, - "pretty-format": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", - "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", + "write-file-atomic": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.0.tgz", + "integrity": "sha512-R7NYMnHSlV42K54lwY9lvW6MnSm1HSJqZL3xiSgi9E7//FYaI74r2G0rd+/X6VAMkHEdzxQaU5HUOXWUz5kA/w==", "dev": true, "requires": { - "ansi-regex": "^5.0.1", - "ansi-styles": "^5.0.0", - "react-is": "^17.0.1" + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.7" } }, - "react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "dev": true } } }, - "jest-message-util": { + "jest-serializer": { "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-27.5.1.tgz", - "integrity": "sha512-rMyFe1+jnyAAf+NHwTclDz0eAaLkVDdKVHHBFWsBWHnnh5YeJMNWWsv7AbFYXfK3oTqvL7VTWkhNLu1jX24D+g==", + "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-27.5.1.tgz", + "integrity": "sha512-jZCyo6iIxO1aqUxpuBlwTDMkzOAJS4a3eYz3YzgxxVQFwLeSA7Jfq5cbqCY+JLvTDrWirgusI/0KwxKMgrdf7w==", "dev": true, "requires": { - "@babel/code-frame": "^7.12.13", - "@jest/types": "^27.5.1", - "@types/stack-utils": "^2.0.0", + "@types/node": "*", + "graceful-fs": "^4.2.9" + } + }, + "jest-snapshot": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.4.1.tgz", + "integrity": "sha512-l4iV8EjGgQWVz3ee/LR9sULDk2pCkqb71bjvlqn+qp90lFwpnulHj4ZBT8nm1hA1C5wowXLc7MGnw321u0tsYA==", + "dev": true, + "requires": { + "@babel/core": "^7.11.6", + "@babel/generator": "^7.7.2", + "@babel/plugin-syntax-jsx": "^7.7.2", + "@babel/plugin-syntax-typescript": "^7.7.2", + "@babel/traverse": "^7.7.2", + "@babel/types": "^7.3.3", + "@jest/expect-utils": "^29.4.1", + "@jest/transform": "^29.4.1", + "@jest/types": "^29.4.1", + "@types/babel__traverse": "^7.0.6", + "@types/prettier": "^2.1.5", + "babel-preset-current-node-syntax": "^1.0.0", "chalk": "^4.0.0", + "expect": "^29.4.1", "graceful-fs": "^4.2.9", - "micromatch": "^4.0.4", - "pretty-format": "^27.5.1", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" + "jest-diff": "^29.4.1", + "jest-get-type": "^29.2.0", + "jest-haste-map": "^29.4.1", + "jest-matcher-utils": "^29.4.1", + "jest-message-util": "^29.4.1", + "jest-util": "^29.4.1", + "natural-compare": "^1.4.0", + "pretty-format": "^29.4.1", + "semver": "^7.3.5" }, "dependencies": { + "@jest/transform": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.4.1.tgz", + "integrity": "sha512-5w6YJrVAtiAgr0phzKjYd83UPbCXsBRTeYI4BXokv9Er9CcrH9hfXL/crCvP2d2nGOcovPUnlYiLPFLZrkG5Hg==", + "dev": true, + "requires": { + "@babel/core": "^7.11.6", + "@jest/types": "^29.4.1", + "@jridgewell/trace-mapping": "^0.3.15", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^2.0.0", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.4.1", + "jest-regex-util": "^29.2.0", + "jest-util": "^29.4.1", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "write-file-atomic": "^5.0.0" + } + }, "@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "requires": { + "@jest/schemas": "^29.4.0", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", - "@types/yargs": "^16.0.0", + "@types/yargs": "^17.0.8", "chalk": "^4.0.0" } }, "@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "requires": { "@types/yargs-parser": "*" @@ -32123,229 +37042,186 @@ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true }, - "pretty-format": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", - "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", + "convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true + }, + "diff-sequences": { + "version": "29.3.1", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.3.1.tgz", + "integrity": "sha512-hlM3QR272NXCi4pq+N4Kok4kOp6EsgOM3ZSpJI7Da3UAs+Ttsi8MRmB6trM/lhyzUxGfOgnpkHtgqm5Q/CTcfQ==", + "dev": true + }, + "jest-diff": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.4.1.tgz", + "integrity": "sha512-uazdl2g331iY56CEyfbNA0Ut7Mn2ulAG5vUaEHXycf1L6IPyuImIxSz4F0VYBKi7LYIuxOwTZzK3wh5jHzASMw==", "dev": true, "requires": { - "ansi-regex": "^5.0.1", - "ansi-styles": "^5.0.0", - "react-is": "^17.0.1" + "chalk": "^4.0.0", + "diff-sequences": "^29.3.1", + "jest-get-type": "^29.2.0", + "pretty-format": "^29.4.1" } }, - "react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", + "jest-get-type": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.2.0.tgz", + "integrity": "sha512-uXNJlg8hKFEnDgFsrCjznB+sTxdkuqiCL6zMgA75qEbAJjJYTs9XPrvDctrEig2GDow22T/LvHgO57iJhXB/UA==", "dev": true - } - } - }, - "jest-mock": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-27.5.1.tgz", - "integrity": "sha512-K4jKbY1d4ENhbrG2zuPWaQBvDly+iZ2yAW+T1fATN78hc0sInwn7wZB8XtlNnvHug5RMwV897Xm4LqmPM4e2Og==", - "dev": true, - "requires": { - "@jest/types": "^27.5.1", - "@types/node": "*" - }, - "dependencies": { - "@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + }, + "jest-haste-map": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.4.1.tgz", + "integrity": "sha512-imTjcgfVVTvg02khXL11NNLTx9ZaofbAWhilrMg/G8dIkp+HYCswhxf0xxJwBkfhWb3e8dwbjuWburvxmcr58w==", "dev": true, "requires": { - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", + "@jest/types": "^29.4.1", + "@types/graceful-fs": "^4.1.3", "@types/node": "*", - "@types/yargs": "^16.0.0", - "chalk": "^4.0.0" + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "fsevents": "^2.3.2", + "graceful-fs": "^4.2.9", + "jest-regex-util": "^29.2.0", + "jest-util": "^29.4.1", + "jest-worker": "^29.4.1", + "micromatch": "^4.0.4", + "walker": "^1.0.8" } }, - "@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "jest-matcher-utils": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.4.1.tgz", + "integrity": "sha512-k5h0u8V4nAEy6lSACepxL/rw78FLDkBnXhZVgFneVpnJONhb2DhZj/Gv4eNe+1XqQ5IhgUcqj745UwH0HJmMnA==", "dev": true, "requires": { - "@types/yargs-parser": "*" + "chalk": "^4.0.0", + "jest-diff": "^29.4.1", + "jest-get-type": "^29.2.0", + "pretty-format": "^29.4.1" } - } - } - }, - "jest-pnp-resolver": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz", - "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==", - "dev": true - }, - "jest-regex-util": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-27.5.1.tgz", - "integrity": "sha512-4bfKq2zie+x16okqDXjXn9ql2B0dScQu+vcwe4TvFVhkVyuWLqpZrZtXxLLWoXYgn0E87I6r6GRYHF7wFZBUvg==", - "dev": true - }, - "jest-resolve": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-27.5.1.tgz", - "integrity": "sha512-FFDy8/9E6CV83IMbDpcjOhumAQPDyETnU2KZ1O98DwTnz8AOBsW/Xv3GySr1mOZdItLR+zDZ7I/UdTFbgSOVCw==", - "dev": true, - "requires": { - "@jest/types": "^27.5.1", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^27.5.1", - "jest-pnp-resolver": "^1.2.2", - "jest-util": "^27.5.1", - "jest-validate": "^27.5.1", - "resolve": "^1.20.0", - "resolve.exports": "^1.1.0", - "slash": "^3.0.0" - }, - "dependencies": { - "@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + }, + "jest-regex-util": { + "version": "29.2.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.2.0.tgz", + "integrity": "sha512-6yXn0kg2JXzH30cr2NlThF+70iuO/3irbaB4mh5WyqNIvLLP+B6sFdluO1/1RJmslyh/f9osnefECflHvTbwVA==", + "dev": true + }, + "jest-util": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", "dev": true, "requires": { - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", + "@jest/types": "^29.4.1", "@types/node": "*", - "@types/yargs": "^16.0.0", - "chalk": "^4.0.0" + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" } }, - "@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "jest-worker": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.4.1.tgz", + "integrity": "sha512-O9doU/S1EBe+yp/mstQ0VpPwpv0Clgn68TkNwGxL6/usX/KUW9Arnn4ag8C3jc6qHcXznhsT5Na1liYzAsuAbQ==", "dev": true, "requires": { - "@types/yargs-parser": "*" + "@types/node": "*", + "jest-util": "^29.4.1", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" } - } - } - }, - "jest-resolve-dependencies": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-27.5.1.tgz", - "integrity": "sha512-QQOOdY4PE39iawDn5rzbIePNigfe5B9Z91GDD1ae/xNDlu9kaat8QQ5EKnNmVWPV54hUdxCVwwj6YMgR2O7IOg==", - "dev": true, - "requires": { - "@jest/types": "^27.5.1", - "jest-regex-util": "^27.5.1", - "jest-snapshot": "^27.5.1" - }, - "dependencies": { - "@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + }, + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dev": true, "requires": { - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^16.0.0", - "chalk": "^4.0.0" + "yallist": "^4.0.0" } }, - "@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "pretty-format": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.4.1.tgz", + "integrity": "sha512-dt/Z761JUVsrIKaY215o1xQJBGlSmTx/h4cSqXqjHLnU1+Kt+mavVE7UgqJJO5ukx5HjSswHfmXz4LjS2oIJfg==", "dev": true, "requires": { - "@types/yargs-parser": "*" + "@jest/schemas": "^29.4.0", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" } - } - } - }, - "jest-runner": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-27.5.1.tgz", - "integrity": "sha512-g4NPsM4mFCOwFKXO4p/H/kWGdJp9V8kURY2lX8Me2drgXqG7rrZAx5kv+5H7wtt/cdFIjhqYx1HrlqWHaOvDaQ==", - "dev": true, - "requires": { - "@jest/console": "^27.5.1", - "@jest/environment": "^27.5.1", - "@jest/test-result": "^27.5.1", - "@jest/transform": "^27.5.1", - "@jest/types": "^27.5.1", - "@types/node": "*", - "chalk": "^4.0.0", - "emittery": "^0.8.1", - "graceful-fs": "^4.2.9", - "jest-docblock": "^27.5.1", - "jest-environment-jsdom": "^27.5.1", - "jest-environment-node": "^27.5.1", - "jest-haste-map": "^27.5.1", - "jest-leak-detector": "^27.5.1", - "jest-message-util": "^27.5.1", - "jest-resolve": "^27.5.1", - "jest-runtime": "^27.5.1", - "jest-util": "^27.5.1", - "jest-worker": "^27.5.1", - "source-map-support": "^0.5.6", - "throat": "^6.0.1" - }, - "dependencies": { - "@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + }, + "semver": { + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^16.0.0", - "chalk": "^4.0.0" + "lru-cache": "^6.0.0" } }, - "@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, "requires": { - "@types/yargs-parser": "*" + "has-flag": "^4.0.0" + } + }, + "write-file-atomic": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.0.tgz", + "integrity": "sha512-R7NYMnHSlV42K54lwY9lvW6MnSm1HSJqZL3xiSgi9E7//FYaI74r2G0rd+/X6VAMkHEdzxQaU5HUOXWUz5kA/w==", + "dev": true, + "requires": { + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.7" } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true } } }, - "jest-runtime": { + "jest-sonar-reporter": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/jest-sonar-reporter/-/jest-sonar-reporter-2.0.0.tgz", + "integrity": "sha512-ZervDCgEX5gdUbdtWsjdipLN3bKJwpxbvhkYNXTAYvAckCihobSLr9OT/IuyNIRT1EZMDDwR6DroWtrq+IL64w==", + "dev": true, + "requires": { + "xml": "^1.0.1" + } + }, + "jest-styled-components": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/jest-styled-components/-/jest-styled-components-7.1.1.tgz", + "integrity": "sha512-OUq31R5CivBF8oy81dnegNQrRW13TugMol/Dz6ZnFfEyo03exLASod7YGwyHGuayYlKmCstPtz0RQ1+NrAbIIA==", + "dev": true, + "requires": { + "@adobe/css-tools": "^4.0.1" + } + }, + "jest-util": { "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-27.5.1.tgz", - "integrity": "sha512-o7gxw3Gf+H2IGt8fv0RiyE1+r83FJBRruoA+FXrlHw6xEyBsU8ugA6IPfTdVyA0w8HClpbK+DGJxH59UrNMx8A==", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-27.5.1.tgz", + "integrity": "sha512-Kv2o/8jNvX1MQ0KGtw480E/w4fBCDOnH6+6DmeKi6LZUIlKA5kwY0YNdlzaWTiVgxqAqik11QyxDOKk543aKXw==", "dev": true, "requires": { - "@jest/environment": "^27.5.1", - "@jest/fake-timers": "^27.5.1", - "@jest/globals": "^27.5.1", - "@jest/source-map": "^27.5.1", - "@jest/test-result": "^27.5.1", - "@jest/transform": "^27.5.1", "@jest/types": "^27.5.1", + "@types/node": "*", "chalk": "^4.0.0", - "cjs-module-lexer": "^1.0.0", - "collect-v8-coverage": "^1.0.0", - "execa": "^5.0.0", - "glob": "^7.1.3", + "ci-info": "^3.2.0", "graceful-fs": "^4.2.9", - "jest-haste-map": "^27.5.1", - "jest-message-util": "^27.5.1", - "jest-mock": "^27.5.1", - "jest-regex-util": "^27.5.1", - "jest-resolve": "^27.5.1", - "jest-snapshot": "^27.5.1", - "jest-util": "^27.5.1", - "slash": "^3.0.0", - "strip-bom": "^4.0.0" + "picomatch": "^2.2.3" }, "dependencies": { "@jest/types": { @@ -32369,90 +37245,21 @@ "requires": { "@types/yargs-parser": "*" } - }, - "execa": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", - "dev": true, - "requires": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" - } - }, - "get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", - "dev": true - }, - "glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "human-signals": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", - "dev": true } } }, - "jest-serializer": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-27.5.1.tgz", - "integrity": "sha512-jZCyo6iIxO1aqUxpuBlwTDMkzOAJS4a3eYz3YzgxxVQFwLeSA7Jfq5cbqCY+JLvTDrWirgusI/0KwxKMgrdf7w==", - "dev": true, - "requires": { - "@types/node": "*", - "graceful-fs": "^4.2.9" - } - }, - "jest-snapshot": { + "jest-validate": { "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-27.5.1.tgz", - "integrity": "sha512-yYykXI5a0I31xX67mgeLw1DZ0bJB+gpq5IpSuCAoyDi0+BhgU/RIrL+RTzDmkNTchvDFWKP8lp+w/42Z3us5sA==", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-27.5.1.tgz", + "integrity": "sha512-thkNli0LYTmOI1tDB3FI1S1RTp/Bqyd9pTarJwL87OIBFuqEb5Apv5EaApEudYg4g86e3CT6kM0RowkhtEnCBQ==", "dev": true, "requires": { - "@babel/core": "^7.7.2", - "@babel/generator": "^7.7.2", - "@babel/plugin-syntax-typescript": "^7.7.2", - "@babel/traverse": "^7.7.2", - "@babel/types": "^7.0.0", - "@jest/transform": "^27.5.1", "@jest/types": "^27.5.1", - "@types/babel__traverse": "^7.0.4", - "@types/prettier": "^2.1.5", - "babel-preset-current-node-syntax": "^1.0.0", + "camelcase": "^6.2.0", "chalk": "^4.0.0", - "expect": "^27.5.1", - "graceful-fs": "^4.2.9", - "jest-diff": "^27.5.1", "jest-get-type": "^27.5.1", - "jest-haste-map": "^27.5.1", - "jest-matcher-utils": "^27.5.1", - "jest-message-util": "^27.5.1", - "jest-util": "^27.5.1", - "natural-compare": "^1.4.0", - "pretty-format": "^27.5.1", - "semver": "^7.3.2" + "leven": "^3.1.0", + "pretty-format": "^27.5.1" }, "dependencies": { "@jest/types": { @@ -32483,15 +37290,6 @@ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true }, - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "requires": { - "yallist": "^4.0.0" - } - }, "pretty-format": { "version": "27.5.1", "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", @@ -32508,197 +37306,32 @@ "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", "dev": true - }, - "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true } } }, - "jest-sonar-reporter": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/jest-sonar-reporter/-/jest-sonar-reporter-2.0.0.tgz", - "integrity": "sha512-ZervDCgEX5gdUbdtWsjdipLN3bKJwpxbvhkYNXTAYvAckCihobSLr9OT/IuyNIRT1EZMDDwR6DroWtrq+IL64w==", - "dev": true, - "requires": { - "xml": "^1.0.1" - } - }, - "jest-styled-components": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/jest-styled-components/-/jest-styled-components-7.1.1.tgz", - "integrity": "sha512-OUq31R5CivBF8oy81dnegNQrRW13TugMol/Dz6ZnFfEyo03exLASod7YGwyHGuayYlKmCstPtz0RQ1+NrAbIIA==", - "dev": true, - "requires": { - "@adobe/css-tools": "^4.0.1" - } - }, - "jest-util": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-27.5.1.tgz", - "integrity": "sha512-Kv2o/8jNvX1MQ0KGtw480E/w4fBCDOnH6+6DmeKi6LZUIlKA5kwY0YNdlzaWTiVgxqAqik11QyxDOKk543aKXw==", + "jest-watcher": { + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.4.1.tgz", + "integrity": "sha512-vFOzflGFs27nU6h8dpnVRER3O2rFtL+VMEwnG0H3KLHcllLsU8y9DchSh0AL/Rg5nN1/wSiQ+P4ByMGpuybaVw==", "dev": true, "requires": { - "@jest/types": "^27.5.1", + "@jest/test-result": "^29.4.1", + "@jest/types": "^29.4.1", "@types/node": "*", + "ansi-escapes": "^4.2.1", "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "graceful-fs": "^4.2.9", - "picomatch": "^2.2.3" - }, - "dependencies": { - "@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", - "dev": true, - "requires": { - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^16.0.0", - "chalk": "^4.0.0" - } - }, - "@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", - "dev": true, - "requires": { - "@types/yargs-parser": "*" - } - } - } - }, - "jest-validate": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-27.5.1.tgz", - "integrity": "sha512-thkNli0LYTmOI1tDB3FI1S1RTp/Bqyd9pTarJwL87OIBFuqEb5Apv5EaApEudYg4g86e3CT6kM0RowkhtEnCBQ==", - "dev": true, - "requires": { - "@jest/types": "^27.5.1", - "camelcase": "^6.2.0", - "chalk": "^4.0.0", - "jest-get-type": "^27.5.1", - "leven": "^3.1.0", - "pretty-format": "^27.5.1" - }, - "dependencies": { - "@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", - "dev": true, - "requires": { - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^16.0.0", - "chalk": "^4.0.0" - } - }, - "@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", - "dev": true, - "requires": { - "@types/yargs-parser": "*" - } - }, - "ansi-styles": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", - "dev": true - }, - "pretty-format": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", - "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", - "dev": true, - "requires": { - "ansi-regex": "^5.0.1", - "ansi-styles": "^5.0.0", - "react-is": "^17.0.1" - } - }, - "react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - } - } - }, - "jest-watch-typeahead": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/jest-watch-typeahead/-/jest-watch-typeahead-1.1.0.tgz", - "integrity": "sha512-Va5nLSJTN7YFtC2jd+7wsoe1pNe5K4ShLux/E5iHEwlB9AxaxmggY7to9KUqKojhaJw3aXqt5WAb4jGPOolpEw==", - "dev": true, - "requires": { - "ansi-escapes": "^4.3.1", - "chalk": "^4.0.0", - "jest-regex-util": "^28.0.0", - "jest-watcher": "^28.0.0", - "slash": "^4.0.0", - "string-length": "^5.0.1", - "strip-ansi": "^7.0.1" + "emittery": "^0.13.1", + "jest-util": "^29.4.1", + "string-length": "^4.0.1" }, "dependencies": { - "@jest/console": { - "version": "28.1.3", - "resolved": "https://registry.npmjs.org/@jest/console/-/console-28.1.3.tgz", - "integrity": "sha512-QPAkP5EwKdK/bxIr6C1I4Vs0rm2nHiANzj/Z5X2JQkrZo6IqvC4ldZ9K95tF0HdidhA8Bo6egxSzUFPYKcEXLw==", - "dev": true, - "requires": { - "@jest/types": "^28.1.3", - "@types/node": "*", - "chalk": "^4.0.0", - "jest-message-util": "^28.1.3", - "jest-util": "^28.1.3", - "slash": "^3.0.0" - }, - "dependencies": { - "slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true - } - } - }, - "@jest/test-result": { - "version": "28.1.3", - "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-28.1.3.tgz", - "integrity": "sha512-kZAkxnSE+FqE8YjW8gNuoVkkC9I7S1qmenl8sGcDOLropASP+BkcGKwhXoyqQuGOGeYY0y/ixjrd/iERpEXHNg==", - "dev": true, - "requires": { - "@jest/console": "^28.1.3", - "@jest/types": "^28.1.3", - "@types/istanbul-lib-coverage": "^2.0.0", - "collect-v8-coverage": "^1.0.0" - } - }, "@jest/types": { - "version": "28.1.3", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-28.1.3.tgz", - "integrity": "sha512-RyjiyMUZrKz/c+zlMFO1pm70DcIlST8AeWTkoUdZevew44wcNZQHsEVOiCVtgVnlFFD82FPaXycys58cf2muVQ==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.4.1.tgz", + "integrity": "sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA==", "dev": true, "requires": { - "@jest/schemas": "^28.1.3", + "@jest/schemas": "^29.4.0", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", @@ -32707,199 +37340,27 @@ } }, "@types/yargs": { - "version": "17.0.20", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.20.tgz", - "integrity": "sha512-eknWrTHofQuPk2iuqDm1waA7V6xPlbgBoaaXEgYkClhLOnB0TtbW+srJaOToAgawPxPlHQzwypFA2bhZaUGP5A==", + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", "dev": true, "requires": { "@types/yargs-parser": "*" } }, - "ansi-styles": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", - "dev": true - }, - "emittery": { - "version": "0.10.2", - "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.10.2.tgz", - "integrity": "sha512-aITqOwnLanpHLNXZJENbOgjUBeHocD+xsSJmNrjovKBW5HbSpW3d1pEls7GFQPUWXiwG9+0P4GtHfEqC/4M0Iw==", - "dev": true - }, - "jest-message-util": { - "version": "28.1.3", - "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-28.1.3.tgz", - "integrity": "sha512-PFdn9Iewbt575zKPf1286Ht9EPoJmYT7P0kY+RibeYZ2XtOr53pDLEFoTWXbd1h4JiGiWpTBC84fc8xMXQMb7g==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.12.13", - "@jest/types": "^28.1.3", - "@types/stack-utils": "^2.0.0", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "micromatch": "^4.0.4", - "pretty-format": "^28.1.3", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - }, - "dependencies": { - "slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true - } - } - }, - "jest-regex-util": { - "version": "28.0.2", - "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-28.0.2.tgz", - "integrity": "sha512-4s0IgyNIy0y9FK+cjoVYoxamT7Zeo7MhzqRGx7YDYmaQn1wucY9rotiGkBzzcMXTtjrCAP/f7f+E0F7+fxPNdw==", - "dev": true - }, "jest-util": { - "version": "28.1.3", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-28.1.3.tgz", - "integrity": "sha512-XdqfpHwpcSRko/C35uLYFM2emRAltIIKZiJ9eAmhjsj0CqZMa0p1ib0R5fWIqGhn1a103DebTbpqIaP1qCQ6tQ==", + "version": "29.4.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.4.1.tgz", + "integrity": "sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ==", "dev": true, "requires": { - "@jest/types": "^28.1.3", + "@jest/types": "^29.4.1", "@types/node": "*", "chalk": "^4.0.0", "ci-info": "^3.2.0", "graceful-fs": "^4.2.9", "picomatch": "^2.2.3" } - }, - "jest-watcher": { - "version": "28.1.3", - "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-28.1.3.tgz", - "integrity": "sha512-t4qcqj9hze+jviFPUN3YAtAEeFnr/azITXQEMARf5cMwKY2SMBRnCQTXLixTl20OR6mLh9KLMrgVJgJISym+1g==", - "dev": true, - "requires": { - "@jest/test-result": "^28.1.3", - "@jest/types": "^28.1.3", - "@types/node": "*", - "ansi-escapes": "^4.2.1", - "chalk": "^4.0.0", - "emittery": "^0.10.2", - "jest-util": "^28.1.3", - "string-length": "^4.0.1" - }, - "dependencies": { - "string-length": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", - "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==", - "dev": true, - "requires": { - "char-regex": "^1.0.2", - "strip-ansi": "^6.0.0" - } - }, - "strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "requires": { - "ansi-regex": "^5.0.1" - } - } - } - }, - "pretty-format": { - "version": "28.1.3", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-28.1.3.tgz", - "integrity": "sha512-8gFb/To0OmxHR9+ZTb14Df2vNxdGCX8g1xWGUTqUw5TiZvcQf5sHKObd5UcPyLLyowNwDAMTF3XWOG1B6mxl1Q==", - "dev": true, - "requires": { - "@jest/schemas": "^28.1.3", - "ansi-regex": "^5.0.1", - "ansi-styles": "^5.0.0", - "react-is": "^18.0.0" - } - }, - "slash": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz", - "integrity": "sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==", - "dev": true - }, - "string-length": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/string-length/-/string-length-5.0.1.tgz", - "integrity": "sha512-9Ep08KAMUn0OadnVaBuRdE2l615CQ508kr0XMadjClfYpdCyvrbFp6Taebo8yyxokQ4viUd/xPPUA4FGgUa0ow==", - "dev": true, - "requires": { - "char-regex": "^2.0.0", - "strip-ansi": "^7.0.1" - }, - "dependencies": { - "char-regex": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-2.0.1.tgz", - "integrity": "sha512-oSvEeo6ZUD7NepqAat3RqoucZ5SeqLJgOvVIwkafu6IP3V0pO38s/ypdVUmDDK6qIIHNlYHJAKX9E7R7HoKElw==", - "dev": true - } - } - }, - "strip-ansi": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz", - "integrity": "sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==", - "dev": true, - "requires": { - "ansi-regex": "^6.0.1" - }, - "dependencies": { - "ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", - "dev": true - } - } - } - } - }, - "jest-watcher": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-27.5.1.tgz", - "integrity": "sha512-z676SuD6Z8o8qbmEGhoEUFOM1+jfEiL3DXHK/xgEiG2EyNYfFG60jluWcupY6dATjfEsKQuibReS1djInQnoVw==", - "dev": true, - "requires": { - "@jest/test-result": "^27.5.1", - "@jest/types": "^27.5.1", - "@types/node": "*", - "ansi-escapes": "^4.2.1", - "chalk": "^4.0.0", - "jest-util": "^27.5.1", - "string-length": "^4.0.1" - }, - "dependencies": { - "@jest/types": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", - "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", - "dev": true, - "requires": { - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^16.0.0", - "chalk": "^4.0.0" - } - }, - "@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", - "dev": true, - "requires": { - "@types/yargs-parser": "*" - } } } }, @@ -32925,6 +37386,12 @@ } } }, + "jquery": { + "version": "3.6.3", + "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.6.3.tgz", + "integrity": "sha512-bZ5Sy3YzKo9Fyc8wH2iIQK4JImJ6R0GWI9kL1/k7Z91ZBNgkRXE6U0JfHIizZbort8ZunhSI3jw9I6253ahKfg==", + "peer": true + }, "js-beautify": { "version": "1.14.7", "resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.14.7.tgz", @@ -33062,6 +37529,12 @@ "minimist": "^1.2.0" } }, + "jsonc-parser": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", + "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", + "dev": true + }, "jsonfile": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", @@ -33780,7 +38253,8 @@ "multiselect-react-dropdown": { "version": "2.0.25", "resolved": "https://registry.npmjs.org/multiselect-react-dropdown/-/multiselect-react-dropdown-2.0.25.tgz", - "integrity": "sha512-z8kUSyBNOuV7vn4Dk35snzXWtIfTdSEEXhgDdLMvOmR+xJFx35vc1voUlSuOvrk3khb+hXC219Qs9szOvNm25Q==" + "integrity": "sha512-z8kUSyBNOuV7vn4Dk35snzXWtIfTdSEEXhgDdLMvOmR+xJFx35vc1voUlSuOvrk3khb+hXC219Qs9szOvNm25Q==", + "requires": {} }, "mute-stream": { "version": "0.0.8", @@ -34468,7 +38942,8 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/postcss-browser-comments/-/postcss-browser-comments-4.0.0.tgz", "integrity": "sha512-X9X9/WN3KIvY9+hNERUqX9gncsgBA25XaeR+jshHz2j8+sYyHktHw1JdKuMjeLpGktXidqDhA7b/qm1mrBDmgg==", - "dev": true + "dev": true, + "requires": {} }, "postcss-calc": { "version": "8.2.4", @@ -34578,25 +39053,29 @@ "version": "5.1.2", "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-5.1.2.tgz", "integrity": "sha512-+L8208OVbHVF2UQf1iDmRcbdjJkuBF6IS29yBDSiWUIzpYaAhtNl6JYnYm12FnkeCwQqF5LeklOu6rAqgfBZqQ==", - "dev": true + "dev": true, + "requires": {} }, "postcss-discard-duplicates": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-5.1.0.tgz", "integrity": "sha512-zmX3IoSI2aoenxHV6C7plngHWWhUOV3sP1T8y2ifzxzbtnuhk1EdPwm0S1bIUNaJ2eNbWeGLEwzw8huPD67aQw==", - "dev": true + "dev": true, + "requires": {} }, "postcss-discard-empty": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-5.1.1.tgz", "integrity": "sha512-zPz4WljiSuLWsI0ir4Mcnr4qQQ5e1Ukc3i7UfE2XcrwKK2LIPIqE5jxMRxO6GbI3cv//ztXDsXwEWT3BHOGh3A==", - "dev": true + "dev": true, + "requires": {} }, "postcss-discard-overridden": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-5.1.0.tgz", "integrity": "sha512-21nOL7RqWR1kasIVdKs8HNqQJhFxLsyRfAnUDm4Fe4t4mCWL9OJiHvlHPjcd8zc5Myu89b/7wZDnOSjFgeWRtw==", - "dev": true + "dev": true, + "requires": {} }, "postcss-double-position-gradients": { "version": "3.1.2", @@ -34621,7 +39100,8 @@ "version": "5.0.2", "resolved": "https://registry.npmjs.org/postcss-flexbugs-fixes/-/postcss-flexbugs-fixes-5.0.2.tgz", "integrity": "sha512-18f9voByak7bTktR2QgDveglpn9DTbBWPUzSOe9g0N4WR/2eSt6Vrcbf0hmspvMI6YWGywz6B9f7jzpFNJJgnQ==", - "dev": true + "dev": true, + "requires": {} }, "postcss-focus-visible": { "version": "6.0.4", @@ -34645,13 +39125,15 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/postcss-font-variant/-/postcss-font-variant-5.0.0.tgz", "integrity": "sha512-1fmkBaCALD72CK2a9i468mA/+tr9/1cBxRRMXOUaZqO43oWPR5imcyPjXwuv7PXbCid4ndlP5zWhidQVVa3hmA==", - "dev": true + "dev": true, + "requires": {} }, "postcss-gap-properties": { "version": "3.0.5", "resolved": "https://registry.npmjs.org/postcss-gap-properties/-/postcss-gap-properties-3.0.5.tgz", "integrity": "sha512-IuE6gKSdoUNcvkGIqdtjtcMtZIFyXZhmFd5RUlg97iVEvp1BZKV5ngsAjCjrVy+14uhGBQl9tzmi1Qwq4kqVOg==", - "dev": true + "dev": true, + "requires": {} }, "postcss-image-set-function": { "version": "4.0.7", @@ -34677,7 +39159,8 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/postcss-initial/-/postcss-initial-4.0.1.tgz", "integrity": "sha512-0ueD7rPqX8Pn1xJIjay0AZeIuDoF+V+VvMt/uOnn+4ezUKhZM/NokDeP6DwMNyIoYByuN/94IQnt5FEkaN59xQ==", - "dev": true + "dev": true, + "requires": {} }, "postcss-js": { "version": "4.0.0", @@ -34749,13 +39232,15 @@ "version": "5.0.4", "resolved": "https://registry.npmjs.org/postcss-logical/-/postcss-logical-5.0.4.tgz", "integrity": "sha512-RHXxplCeLh9VjinvMrZONq7im4wjWGlRJAqmAVLXyZaXwfDWP73/oq4NdIp+OZwhQUMj0zjqDfM5Fj7qby+B4g==", - "dev": true + "dev": true, + "requires": {} }, "postcss-media-minmax": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/postcss-media-minmax/-/postcss-media-minmax-5.0.0.tgz", "integrity": "sha512-yDUvFf9QdFZTuCUg0g0uNSHVlJ5X1lSzDZjPSFaiCWvjgsvu8vEVxtahPrLMinIDEEGnx6cBe6iqdx5YWz08wQ==", - "dev": true + "dev": true, + "requires": {} }, "postcss-merge-longhand": { "version": "5.1.7", @@ -34823,7 +39308,8 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz", "integrity": "sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw==", - "dev": true + "dev": true, + "requires": {} }, "postcss-modules-local-by-default": { "version": "4.0.0", @@ -34888,7 +39374,8 @@ "version": "5.1.0", "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-5.1.0.tgz", "integrity": "sha512-mSgUJ+pd/ldRGVx26p2wz9dNZ7ji6Pn8VWBajMXFf8jk7vUoSrZ2lt/wZR7DtlZYKesmZI680qjr2CeFF2fbUg==", - "dev": true + "dev": true, + "requires": {} }, "postcss-normalize-display-values": { "version": "5.1.0", @@ -34968,7 +39455,8 @@ "version": "1.1.3", "resolved": "https://registry.npmjs.org/postcss-opacity-percentage/-/postcss-opacity-percentage-1.1.3.tgz", "integrity": "sha512-An6Ba4pHBiDtyVpSLymUUERMo2cU7s+Obz6BTrS+gxkbnSBNKSuD0AVUc+CpBMrpVPKKfoVz0WQCX+Tnst0i4A==", - "dev": true + "dev": true, + "requires": {} }, "postcss-ordered-values": { "version": "5.1.3", @@ -34993,7 +39481,8 @@ "version": "3.0.4", "resolved": "https://registry.npmjs.org/postcss-page-break/-/postcss-page-break-3.0.4.tgz", "integrity": "sha512-1JGu8oCjVXLa9q9rFTo4MbeeA5FMe00/9C7lN4va606Rdb+HkxXtXsmEDrIraQ11fGz/WvKWa8gMuCKkrXpTsQ==", - "dev": true + "dev": true, + "requires": {} }, "postcss-place": { "version": "7.0.5", @@ -35093,7 +39582,8 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/postcss-replace-overflow-wrap/-/postcss-replace-overflow-wrap-4.0.0.tgz", "integrity": "sha512-KmF7SBPphT4gPPcKZc7aDkweHiKEEO8cla/GjcBK+ckKxiZslIu3C4GCRW3DNfL0o7yW7kMQu9xlZ1kXRXLXtw==", - "dev": true + "dev": true, + "requires": {} }, "postcss-selector-not": { "version": "6.0.1", @@ -35618,28 +40108,37 @@ } }, "react-bootstrap": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/react-bootstrap/-/react-bootstrap-1.5.2.tgz", - "integrity": "sha512-mGKPY5+lLd7Vtkx2VFivoRkPT4xAHazuFfIhJLTEgHlDfIUSePn7qrmpZe5gXH9zvHV0RsBaQ9cLfXjxnZrOpA==", + "version": "1.6.6", + "resolved": "https://registry.npmjs.org/react-bootstrap/-/react-bootstrap-1.6.6.tgz", + "integrity": "sha512-pSzYyJT5u4rc8+5myM8Vid2JG52L8AmYSkpznReH/GM4+FhLqEnxUa0+6HRTaGwjdEixQNGchwY+b3xCdYWrDA==", "requires": { - "@babel/runtime": "^7.13.8", + "@babel/runtime": "^7.14.0", "@restart/context": "^2.1.4", - "@restart/hooks": "^0.3.26", - "@types/classnames": "^2.2.10", + "@restart/hooks": "^0.4.7", "@types/invariant": "^2.2.33", "@types/prop-types": "^15.7.3", - "@types/react": ">=16.9.35", + "@types/react": ">=16.14.8", "@types/react-transition-group": "^4.4.1", "@types/warning": "^3.0.0", - "classnames": "^2.2.6", - "dom-helpers": "^5.1.2", + "classnames": "^2.3.1", + "dom-helpers": "^5.2.1", "invariant": "^2.2.4", "prop-types": "^15.7.2", "prop-types-extra": "^1.1.0", - "react-overlays": "^5.0.0", + "react-overlays": "^5.1.2", "react-transition-group": "^4.4.1", "uncontrollable": "^7.2.1", "warning": "^4.0.3" + }, + "dependencies": { + "@restart/hooks": { + "version": "0.4.9", + "resolved": "https://registry.npmjs.org/@restart/hooks/-/hooks-0.4.9.tgz", + "integrity": "sha512-3BekqcwB6Umeya+16XPooARn4qEPW6vNvwYnlofIYe6h9qG1/VeD7UvShCWx11eFz5ELYmwIEshz+MkPX3wjcQ==", + "requires": { + "dequal": "^2.0.2" + } + } } }, "react-bootstrap-typeahead": { @@ -35707,7 +40206,8 @@ "react-click-away-listener": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/react-click-away-listener/-/react-click-away-listener-2.2.2.tgz", - "integrity": "sha512-6x5Ra+2xagMq+5YcBu42jtht+bKVErgPXaI/GqYP5M8Xz2o/UbGyMd3TISQK6ixfORUTvdHeRnOVU3TbSpZ5Zg==" + "integrity": "sha512-6x5Ra+2xagMq+5YcBu42jtht+bKVErgPXaI/GqYP5M8Xz2o/UbGyMd3TISQK6ixfORUTvdHeRnOVU3TbSpZ5Zg==", + "requires": {} }, "react-datepicker": { "version": "4.8.0", @@ -35791,7 +40291,8 @@ "version": "1.22.0", "resolved": "https://registry.npmjs.org/react-docgen-typescript/-/react-docgen-typescript-1.22.0.tgz", "integrity": "sha512-MPLbF8vzRwAG3GcjdL+OHQlhgtWsLTXs+7uJiHfEeT3Ur7IsZaNYqRTLQ9sj2nB6M6jylcPCeCmH7qbszJmecg==", - "dev": true + "dev": true, + "requires": {} }, "react-dom": { "version": "18.2.0", @@ -35842,12 +40343,14 @@ "react-icons": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-4.3.1.tgz", - "integrity": "sha512-cB10MXLTs3gVuXimblAdI71jrJx8njrJZmNMEMC+sQu5B/BIOmlsAjskdqpn81y8UBVEGuHODd7/ci5DvoSzTQ==" + "integrity": "sha512-cB10MXLTs3gVuXimblAdI71jrJx8njrJZmNMEMC+sQu5B/BIOmlsAjskdqpn81y8UBVEGuHODd7/ci5DvoSzTQ==", + "requires": {} }, "react-idle-timer": { "version": "5.5.1", "resolved": "https://registry.npmjs.org/react-idle-timer/-/react-idle-timer-5.5.1.tgz", - "integrity": "sha512-R2g8wUpPQgbdlDPqI2KgpU2VvDCA0UBDwi2GqTfsqzzLin9gl6ajNoLQp1L2PYcd2X8mp1lOfs79oLFO+2C1oA==" + "integrity": "sha512-R2g8wUpPQgbdlDPqI2KgpU2VvDCA0UBDwi2GqTfsqzzLin9gl6ajNoLQp1L2PYcd2X8mp1lOfs79oLFO+2C1oA==", + "requires": {} }, "react-is": { "version": "18.2.0", @@ -35878,7 +40381,8 @@ "react-onclickoutside": { "version": "6.12.2", "resolved": "https://registry.npmjs.org/react-onclickoutside/-/react-onclickoutside-6.12.2.tgz", - "integrity": "sha512-NMXGa223OnsrGVp5dJHkuKxQ4czdLmXSp5jSV9OqiCky9LOpPATn3vLldc+q5fK3gKbEHvr7J1u0yhBh/xYkpA==" + "integrity": "sha512-NMXGa223OnsrGVp5dJHkuKxQ4czdLmXSp5jSV9OqiCky9LOpPATn3vLldc+q5fK3gKbEHvr7J1u0yhBh/xYkpA==", + "requires": {} }, "react-overlays": { "version": "5.2.1", @@ -36072,6 +40576,799 @@ "workbox-webpack-plugin": "^6.4.1" }, "dependencies": { + "@jest/console": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-27.5.1.tgz", + "integrity": "sha512-kZ/tNpS3NXn0mlXXXPNuDZnb4c0oZ20r4K5eemM2k30ZC3G0T02nXUvyhf5YdbXWHPEJLc9qGLxEZ216MdL+Zg==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1", + "@types/node": "*", + "chalk": "^4.0.0", + "jest-message-util": "^27.5.1", + "jest-util": "^27.5.1", + "slash": "^3.0.0" + } + }, + "@jest/core": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/core/-/core-27.5.1.tgz", + "integrity": "sha512-AK6/UTrvQD0Cd24NSqmIA6rKsu0tKIxfiCducZvqxYdmMisOYAsdItspT+fQDQYARPf8XgjAFZi0ogW2agH5nQ==", + "dev": true, + "requires": { + "@jest/console": "^27.5.1", + "@jest/reporters": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/transform": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "emittery": "^0.8.1", + "exit": "^0.1.2", + "graceful-fs": "^4.2.9", + "jest-changed-files": "^27.5.1", + "jest-config": "^27.5.1", + "jest-haste-map": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-regex-util": "^27.5.1", + "jest-resolve": "^27.5.1", + "jest-resolve-dependencies": "^27.5.1", + "jest-runner": "^27.5.1", + "jest-runtime": "^27.5.1", + "jest-snapshot": "^27.5.1", + "jest-util": "^27.5.1", + "jest-validate": "^27.5.1", + "jest-watcher": "^27.5.1", + "micromatch": "^4.0.4", + "rimraf": "^3.0.0", + "slash": "^3.0.0", + "strip-ansi": "^6.0.0" + } + }, + "@jest/environment": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-27.5.1.tgz", + "integrity": "sha512-/WQjhPJe3/ghaol/4Bq480JKXV/Rfw8nQdN7f41fM8VDHLcxKXou6QyXAh3EFr9/bVG3x74z1NWDkP87EiY8gA==", + "dev": true, + "requires": { + "@jest/fake-timers": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "jest-mock": "^27.5.1" + } + }, + "@jest/fake-timers": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-27.5.1.tgz", + "integrity": "sha512-/aPowoolwa07k7/oM3aASneNeBGCmGQsc3ugN4u6s4C/+s5M64MFo/+djTdiwcbQlRfFElGuDXWzaWj6QgKObQ==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1", + "@sinonjs/fake-timers": "^8.0.1", + "@types/node": "*", + "jest-message-util": "^27.5.1", + "jest-mock": "^27.5.1", + "jest-util": "^27.5.1" + } + }, + "@jest/globals": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-27.5.1.tgz", + "integrity": "sha512-ZEJNB41OBQQgGzgyInAv0UUfDDj3upmHydjieSxFvTRuZElrx7tXg/uVQ5hYVEwiXs3+aMsAeEc9X7xiSKCm4Q==", + "dev": true, + "requires": { + "@jest/environment": "^27.5.1", + "@jest/types": "^27.5.1", + "expect": "^27.5.1" + } + }, + "@jest/reporters": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-27.5.1.tgz", + "integrity": "sha512-cPXh9hWIlVJMQkVk84aIvXuBB4uQQmFqZiacloFuGiP3ah1sbCxCosidXFDfqG8+6fO1oR2dTJTlsOy4VFmUfw==", + "dev": true, + "requires": { + "@bcoe/v8-coverage": "^0.2.3", + "@jest/console": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/transform": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "chalk": "^4.0.0", + "collect-v8-coverage": "^1.0.0", + "exit": "^0.1.2", + "glob": "^7.1.2", + "graceful-fs": "^4.2.9", + "istanbul-lib-coverage": "^3.0.0", + "istanbul-lib-instrument": "^5.1.0", + "istanbul-lib-report": "^3.0.0", + "istanbul-lib-source-maps": "^4.0.0", + "istanbul-reports": "^3.1.3", + "jest-haste-map": "^27.5.1", + "jest-resolve": "^27.5.1", + "jest-util": "^27.5.1", + "jest-worker": "^27.5.1", + "slash": "^3.0.0", + "source-map": "^0.6.0", + "string-length": "^4.0.1", + "terminal-link": "^2.0.0", + "v8-to-istanbul": "^8.1.0" + } + }, + "@jest/schemas": { + "version": "28.1.3", + "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-28.1.3.tgz", + "integrity": "sha512-/l/VWsdt/aBXgjshLWOFyFt3IVdYypu5y2Wn2rOO1un6nkqIn8SLXzgIMYXFyYsRWDyF5EthmKJMIdJvk08grg==", + "dev": true, + "requires": { + "@sinclair/typebox": "^0.24.1" + } + }, + "@jest/source-map": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-27.5.1.tgz", + "integrity": "sha512-y9NIHUYF3PJRlHk98NdC/N1gl88BL08aQQgu4k4ZopQkCw9t9cV8mtl3TV8b/YCB8XaVTFrmUTAJvjsntDireg==", + "dev": true, + "requires": { + "callsites": "^3.0.0", + "graceful-fs": "^4.2.9", + "source-map": "^0.6.0" + } + }, + "@jest/test-result": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-27.5.1.tgz", + "integrity": "sha512-EW35l2RYFUcUQxFJz5Cv5MTOxlJIQs4I7gxzi2zVU7PJhOwfYq1MdC5nhSmYjX1gmMmLPvB3sIaC+BkcHRBfag==", + "dev": true, + "requires": { + "@jest/console": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/istanbul-lib-coverage": "^2.0.0", + "collect-v8-coverage": "^1.0.0" + } + }, + "@jest/test-sequencer": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-27.5.1.tgz", + "integrity": "sha512-LCheJF7WB2+9JuCS7VB/EmGIdQuhtqjRNI9A43idHv3E4KltCTsPsLxvdaubFHSYwY/fNjMWjl6vNRhDiN7vpQ==", + "dev": true, + "requires": { + "@jest/test-result": "^27.5.1", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^27.5.1", + "jest-runtime": "^27.5.1" + } + }, + "@jest/types": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", + "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^16.0.0", + "chalk": "^4.0.0" + } + }, + "@sinclair/typebox": { + "version": "0.24.51", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.24.51.tgz", + "integrity": "sha512-1P1OROm/rdubP5aFDSZQILU0vrLCJ4fvHt6EoqHEM+2D/G5MK3bIaymUKLit8Js9gbns5UyJnkP/TZROLw4tUA==", + "dev": true + }, + "@sinonjs/commons": { + "version": "1.8.6", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.6.tgz", + "integrity": "sha512-Ky+XkAkqPZSm3NLBeUng77EBQl3cmeJhITaGHdYH8kjVB+aun3S4XBRti2zt17mtt0mIUDiNxYeoJm6drVvBJQ==", + "dev": true, + "requires": { + "type-detect": "4.0.8" + } + }, + "@sinonjs/fake-timers": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-8.1.0.tgz", + "integrity": "sha512-OAPJUAtgeINhh/TAlUID4QTs53Njm7xzddaVlEs/SXwgtiD1tW22zAB/W1wdqfrpmikgaWQ9Fw6Ws+hsiRm5Vg==", + "dev": true, + "requires": { + "@sinonjs/commons": "^1.7.0" + } + }, + "@types/yargs": { + "version": "16.0.5", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", + "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true + }, + "deepmerge": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.0.tgz", + "integrity": "sha512-z2wJZXrmeHdvYJp/Ux55wIjqo81G5Bp4c+oELTW+7ar6SogWHajt5a9gO3s3IDaGSAXjDk0vlQKN3rms8ab3og==", + "dev": true + }, + "emittery": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.8.1.tgz", + "integrity": "sha512-uDfvUjVrfGJJhymx/kz6prltenw1u7WrCg1oa94zYY8xxVpLLUu045LAT0dhDZdXG58/EpPL/5kA180fQ/qudg==", + "dev": true + }, + "execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + } + }, + "expect": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/expect/-/expect-27.5.1.tgz", + "integrity": "sha512-E1q5hSUG2AmYQwQJ041nvgpkODHQvB+RKlB4IYdru6uJsyFTRyZAP463M+1lINorwbqAmUggi6+WwkD8lCS/Dw==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1", + "jest-get-type": "^27.5.1", + "jest-matcher-utils": "^27.5.1", + "jest-message-util": "^27.5.1" + } + }, + "get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true + }, + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "dev": true + }, + "jest": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest/-/jest-27.5.1.tgz", + "integrity": "sha512-Yn0mADZB89zTtjkPJEXwrac3LHudkQMR+Paqa8uxJHCBr9agxztUifWCyiYrjhMPBoUVBjyny0I7XH6ozDr7QQ==", + "dev": true, + "requires": { + "@jest/core": "^27.5.1", + "import-local": "^3.0.2", + "jest-cli": "^27.5.1" + } + }, + "jest-changed-files": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-27.5.1.tgz", + "integrity": "sha512-buBLMiByfWGCoMsLLzGUUSpAmIAGnbR2KJoMN10ziLhOLvP4e0SlypHnAel8iqQXTrcbmfEY9sSqae5sgUsTvw==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1", + "execa": "^5.0.0", + "throat": "^6.0.1" + } + }, + "jest-circus": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-27.5.1.tgz", + "integrity": "sha512-D95R7x5UtlMA5iBYsOHFFbMD/GVA4R/Kdq15f7xYWUfWHBto9NYRsOvnSauTgdF+ogCpJ4tyKOXhUifxS65gdw==", + "dev": true, + "requires": { + "@jest/environment": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "chalk": "^4.0.0", + "co": "^4.6.0", + "dedent": "^0.7.0", + "expect": "^27.5.1", + "is-generator-fn": "^2.0.0", + "jest-each": "^27.5.1", + "jest-matcher-utils": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-runtime": "^27.5.1", + "jest-snapshot": "^27.5.1", + "jest-util": "^27.5.1", + "pretty-format": "^27.5.1", + "slash": "^3.0.0", + "stack-utils": "^2.0.3", + "throat": "^6.0.1" + } + }, + "jest-cli": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-27.5.1.tgz", + "integrity": "sha512-Hc6HOOwYq4/74/c62dEE3r5elx8wjYqxY0r0G/nFrLDPMFRu6RA/u8qINOIkvhxG7mMQ5EJsOGfRpI8L6eFUVw==", + "dev": true, + "requires": { + "@jest/core": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/types": "^27.5.1", + "chalk": "^4.0.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.9", + "import-local": "^3.0.2", + "jest-config": "^27.5.1", + "jest-util": "^27.5.1", + "jest-validate": "^27.5.1", + "prompts": "^2.0.1", + "yargs": "^16.2.0" + } + }, + "jest-config": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-27.5.1.tgz", + "integrity": "sha512-5sAsjm6tGdsVbW9ahcChPAFCk4IlkQUknH5AvKjuLTSlcO/wCZKyFdn7Rg0EkC+OGgWODEy2hDpWB1PgzH0JNA==", + "dev": true, + "requires": { + "@babel/core": "^7.8.0", + "@jest/test-sequencer": "^27.5.1", + "@jest/types": "^27.5.1", + "babel-jest": "^27.5.1", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "deepmerge": "^4.2.2", + "glob": "^7.1.1", + "graceful-fs": "^4.2.9", + "jest-circus": "^27.5.1", + "jest-environment-jsdom": "^27.5.1", + "jest-environment-node": "^27.5.1", + "jest-get-type": "^27.5.1", + "jest-jasmine2": "^27.5.1", + "jest-regex-util": "^27.5.1", + "jest-resolve": "^27.5.1", + "jest-runner": "^27.5.1", + "jest-util": "^27.5.1", + "jest-validate": "^27.5.1", + "micromatch": "^4.0.4", + "parse-json": "^5.2.0", + "pretty-format": "^27.5.1", + "slash": "^3.0.0", + "strip-json-comments": "^3.1.1" + } + }, + "jest-docblock": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-27.5.1.tgz", + "integrity": "sha512-rl7hlABeTsRYxKiUfpHrQrG4e2obOiTQWfMEH3PxPjOtdsfLQO4ReWSZaQ7DETm4xu07rl4q/h4zcKXyU0/OzQ==", + "dev": true, + "requires": { + "detect-newline": "^3.0.0" + } + }, + "jest-each": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-27.5.1.tgz", + "integrity": "sha512-1Ff6p+FbhT/bXQnEouYy00bkNSY7OUpfIcmdl8vZ31A1UUaurOLPA8a8BbJOF2RDUElwJhmeaV7LnagI+5UwNQ==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1", + "chalk": "^4.0.0", + "jest-get-type": "^27.5.1", + "jest-util": "^27.5.1", + "pretty-format": "^27.5.1" + } + }, + "jest-environment-node": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-27.5.1.tgz", + "integrity": "sha512-Jt4ZUnxdOsTGwSRAfKEnE6BcwsSPNOijjwifq5sDFSA2kesnXTvNqKHYgM0hDq3549Uf/KzdXNYn4wMZJPlFLw==", + "dev": true, + "requires": { + "@jest/environment": "^27.5.1", + "@jest/fake-timers": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "jest-mock": "^27.5.1", + "jest-util": "^27.5.1" + } + }, + "jest-leak-detector": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-27.5.1.tgz", + "integrity": "sha512-POXfWAMvfU6WMUXftV4HolnJfnPOGEu10fscNCA76KBpRRhcMN2c8d3iT2pxQS3HLbA+5X4sOUPzYO2NUyIlHQ==", + "dev": true, + "requires": { + "jest-get-type": "^27.5.1", + "pretty-format": "^27.5.1" + } + }, + "jest-message-util": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-27.5.1.tgz", + "integrity": "sha512-rMyFe1+jnyAAf+NHwTclDz0eAaLkVDdKVHHBFWsBWHnnh5YeJMNWWsv7AbFYXfK3oTqvL7VTWkhNLu1jX24D+g==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.12.13", + "@jest/types": "^27.5.1", + "@types/stack-utils": "^2.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "micromatch": "^4.0.4", + "pretty-format": "^27.5.1", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" + } + }, + "jest-mock": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-27.5.1.tgz", + "integrity": "sha512-K4jKbY1d4ENhbrG2zuPWaQBvDly+iZ2yAW+T1fATN78hc0sInwn7wZB8XtlNnvHug5RMwV897Xm4LqmPM4e2Og==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1", + "@types/node": "*" + } + }, + "jest-resolve-dependencies": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-27.5.1.tgz", + "integrity": "sha512-QQOOdY4PE39iawDn5rzbIePNigfe5B9Z91GDD1ae/xNDlu9kaat8QQ5EKnNmVWPV54hUdxCVwwj6YMgR2O7IOg==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1", + "jest-regex-util": "^27.5.1", + "jest-snapshot": "^27.5.1" + } + }, + "jest-runner": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-27.5.1.tgz", + "integrity": "sha512-g4NPsM4mFCOwFKXO4p/H/kWGdJp9V8kURY2lX8Me2drgXqG7rrZAx5kv+5H7wtt/cdFIjhqYx1HrlqWHaOvDaQ==", + "dev": true, + "requires": { + "@jest/console": "^27.5.1", + "@jest/environment": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/transform": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "chalk": "^4.0.0", + "emittery": "^0.8.1", + "graceful-fs": "^4.2.9", + "jest-docblock": "^27.5.1", + "jest-environment-jsdom": "^27.5.1", + "jest-environment-node": "^27.5.1", + "jest-haste-map": "^27.5.1", + "jest-leak-detector": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-resolve": "^27.5.1", + "jest-runtime": "^27.5.1", + "jest-util": "^27.5.1", + "jest-worker": "^27.5.1", + "source-map-support": "^0.5.6", + "throat": "^6.0.1" + } + }, + "jest-runtime": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-27.5.1.tgz", + "integrity": "sha512-o7gxw3Gf+H2IGt8fv0RiyE1+r83FJBRruoA+FXrlHw6xEyBsU8ugA6IPfTdVyA0w8HClpbK+DGJxH59UrNMx8A==", + "dev": true, + "requires": { + "@jest/environment": "^27.5.1", + "@jest/fake-timers": "^27.5.1", + "@jest/globals": "^27.5.1", + "@jest/source-map": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/transform": "^27.5.1", + "@jest/types": "^27.5.1", + "chalk": "^4.0.0", + "cjs-module-lexer": "^1.0.0", + "collect-v8-coverage": "^1.0.0", + "execa": "^5.0.0", + "glob": "^7.1.3", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-mock": "^27.5.1", + "jest-regex-util": "^27.5.1", + "jest-resolve": "^27.5.1", + "jest-snapshot": "^27.5.1", + "jest-util": "^27.5.1", + "slash": "^3.0.0", + "strip-bom": "^4.0.0" + } + }, + "jest-snapshot": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-27.5.1.tgz", + "integrity": "sha512-yYykXI5a0I31xX67mgeLw1DZ0bJB+gpq5IpSuCAoyDi0+BhgU/RIrL+RTzDmkNTchvDFWKP8lp+w/42Z3us5sA==", + "dev": true, + "requires": { + "@babel/core": "^7.7.2", + "@babel/generator": "^7.7.2", + "@babel/plugin-syntax-typescript": "^7.7.2", + "@babel/traverse": "^7.7.2", + "@babel/types": "^7.0.0", + "@jest/transform": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/babel__traverse": "^7.0.4", + "@types/prettier": "^2.1.5", + "babel-preset-current-node-syntax": "^1.0.0", + "chalk": "^4.0.0", + "expect": "^27.5.1", + "graceful-fs": "^4.2.9", + "jest-diff": "^27.5.1", + "jest-get-type": "^27.5.1", + "jest-haste-map": "^27.5.1", + "jest-matcher-utils": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-util": "^27.5.1", + "natural-compare": "^1.4.0", + "pretty-format": "^27.5.1", + "semver": "^7.3.2" + } + }, + "jest-watch-typeahead": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/jest-watch-typeahead/-/jest-watch-typeahead-1.1.0.tgz", + "integrity": "sha512-Va5nLSJTN7YFtC2jd+7wsoe1pNe5K4ShLux/E5iHEwlB9AxaxmggY7to9KUqKojhaJw3aXqt5WAb4jGPOolpEw==", + "dev": true, + "requires": { + "ansi-escapes": "^4.3.1", + "chalk": "^4.0.0", + "jest-regex-util": "^28.0.0", + "jest-watcher": "^28.0.0", + "slash": "^4.0.0", + "string-length": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "dependencies": { + "@jest/console": { + "version": "28.1.3", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-28.1.3.tgz", + "integrity": "sha512-QPAkP5EwKdK/bxIr6C1I4Vs0rm2nHiANzj/Z5X2JQkrZo6IqvC4ldZ9K95tF0HdidhA8Bo6egxSzUFPYKcEXLw==", + "dev": true, + "requires": { + "@jest/types": "^28.1.3", + "@types/node": "*", + "chalk": "^4.0.0", + "jest-message-util": "^28.1.3", + "jest-util": "^28.1.3", + "slash": "^3.0.0" + }, + "dependencies": { + "slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true + } + } + }, + "@jest/test-result": { + "version": "28.1.3", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-28.1.3.tgz", + "integrity": "sha512-kZAkxnSE+FqE8YjW8gNuoVkkC9I7S1qmenl8sGcDOLropASP+BkcGKwhXoyqQuGOGeYY0y/ixjrd/iERpEXHNg==", + "dev": true, + "requires": { + "@jest/console": "^28.1.3", + "@jest/types": "^28.1.3", + "@types/istanbul-lib-coverage": "^2.0.0", + "collect-v8-coverage": "^1.0.0" + } + }, + "@jest/types": { + "version": "28.1.3", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-28.1.3.tgz", + "integrity": "sha512-RyjiyMUZrKz/c+zlMFO1pm70DcIlST8AeWTkoUdZevew44wcNZQHsEVOiCVtgVnlFFD82FPaXycys58cf2muVQ==", + "dev": true, + "requires": { + "@jest/schemas": "^28.1.3", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" + } + }, + "@types/yargs": { + "version": "17.0.22", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.22.tgz", + "integrity": "sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "emittery": { + "version": "0.10.2", + "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.10.2.tgz", + "integrity": "sha512-aITqOwnLanpHLNXZJENbOgjUBeHocD+xsSJmNrjovKBW5HbSpW3d1pEls7GFQPUWXiwG9+0P4GtHfEqC/4M0Iw==", + "dev": true + }, + "jest-message-util": { + "version": "28.1.3", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-28.1.3.tgz", + "integrity": "sha512-PFdn9Iewbt575zKPf1286Ht9EPoJmYT7P0kY+RibeYZ2XtOr53pDLEFoTWXbd1h4JiGiWpTBC84fc8xMXQMb7g==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.12.13", + "@jest/types": "^28.1.3", + "@types/stack-utils": "^2.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "micromatch": "^4.0.4", + "pretty-format": "^28.1.3", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" + }, + "dependencies": { + "slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true + } + } + }, + "jest-regex-util": { + "version": "28.0.2", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-28.0.2.tgz", + "integrity": "sha512-4s0IgyNIy0y9FK+cjoVYoxamT7Zeo7MhzqRGx7YDYmaQn1wucY9rotiGkBzzcMXTtjrCAP/f7f+E0F7+fxPNdw==", + "dev": true + }, + "jest-util": { + "version": "28.1.3", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-28.1.3.tgz", + "integrity": "sha512-XdqfpHwpcSRko/C35uLYFM2emRAltIIKZiJ9eAmhjsj0CqZMa0p1ib0R5fWIqGhn1a103DebTbpqIaP1qCQ6tQ==", + "dev": true, + "requires": { + "@jest/types": "^28.1.3", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + } + }, + "jest-watcher": { + "version": "28.1.3", + "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-28.1.3.tgz", + "integrity": "sha512-t4qcqj9hze+jviFPUN3YAtAEeFnr/azITXQEMARf5cMwKY2SMBRnCQTXLixTl20OR6mLh9KLMrgVJgJISym+1g==", + "dev": true, + "requires": { + "@jest/test-result": "^28.1.3", + "@jest/types": "^28.1.3", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "emittery": "^0.10.2", + "jest-util": "^28.1.3", + "string-length": "^4.0.1" + }, + "dependencies": { + "string-length": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", + "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==", + "dev": true, + "requires": { + "char-regex": "^1.0.2", + "strip-ansi": "^6.0.0" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + } + } + }, + "pretty-format": { + "version": "28.1.3", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-28.1.3.tgz", + "integrity": "sha512-8gFb/To0OmxHR9+ZTb14Df2vNxdGCX8g1xWGUTqUw5TiZvcQf5sHKObd5UcPyLLyowNwDAMTF3XWOG1B6mxl1Q==", + "dev": true, + "requires": { + "@jest/schemas": "^28.1.3", + "ansi-regex": "^5.0.1", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + } + }, + "react-is": { + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", + "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", + "dev": true + }, + "slash": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz", + "integrity": "sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==", + "dev": true + }, + "string-length": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/string-length/-/string-length-5.0.1.tgz", + "integrity": "sha512-9Ep08KAMUn0OadnVaBuRdE2l615CQ508kr0XMadjClfYpdCyvrbFp6Taebo8yyxokQ4viUd/xPPUA4FGgUa0ow==", + "dev": true, + "requires": { + "char-regex": "^2.0.0", + "strip-ansi": "^7.0.1" + }, + "dependencies": { + "char-regex": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-2.0.1.tgz", + "integrity": "sha512-oSvEeo6ZUD7NepqAat3RqoucZ5SeqLJgOvVIwkafu6IP3V0pO38s/ypdVUmDDK6qIIHNlYHJAKX9E7R7HoKElw==", + "dev": true + } + } + }, + "strip-ansi": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz", + "integrity": "sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==", + "dev": true, + "requires": { + "ansi-regex": "^6.0.1" + }, + "dependencies": { + "ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true + } + } + } + } + }, + "jest-watcher": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-27.5.1.tgz", + "integrity": "sha512-z676SuD6Z8o8qbmEGhoEUFOM1+jfEiL3DXHK/xgEiG2EyNYfFG60jluWcupY6dATjfEsKQuibReS1djInQnoVw==", + "dev": true, + "requires": { + "@jest/test-result": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "jest-util": "^27.5.1", + "string-length": "^4.0.1" + } + }, "lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", @@ -36081,6 +41378,23 @@ "yallist": "^4.0.0" } }, + "pretty-format": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", + "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1", + "ansi-styles": "^5.0.0", + "react-is": "^17.0.1" + } + }, + "react-is": { + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", + "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", + "dev": true + }, "semver": { "version": "7.3.8", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", @@ -36090,6 +41404,31 @@ "lru-cache": "^6.0.0" } }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "v8-to-istanbul": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-8.1.1.tgz", + "integrity": "sha512-FGtKtv3xIpR6BYhvgH8MI/y78oT7d8Au3ww4QIxymrCtZEh5b8gCw2siywE+puhEmuWKDtmfrvF5UlB298ut3w==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.1", + "convert-source-map": "^1.6.0", + "source-map": "^0.7.3" + }, + "dependencies": { + "source-map": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", + "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", + "dev": true + } + } + }, "yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", @@ -36112,7 +41451,8 @@ "version": "0.13.1", "resolved": "https://registry.npmjs.org/react-simple-code-editor/-/react-simple-code-editor-0.13.1.tgz", "integrity": "sha512-XYeVwRZwgyKtjNIYcAEgg2FaQcCZwhbarnkJIV20U2wkCU9q/CPFBo8nRXrK4GXUz3AvbqZFsZRrpUTkqqEYyQ==", - "dev": true + "dev": true, + "requires": {} }, "react-simple-tree-menu": { "version": "1.1.18", @@ -36299,7 +41639,8 @@ "react-table": { "version": "7.8.0", "resolved": "https://registry.npmjs.org/react-table/-/react-table-7.8.0.tgz", - "integrity": "sha512-hNaz4ygkZO4bESeFfnfOft73iBUj8K5oKi1EcSHPAibEydfsX2MyU6Z8KCr3mv3C9Kqqh71U+DhZkFvibbnPbA==" + "integrity": "sha512-hNaz4ygkZO4bESeFfnfOft73iBUj8K5oKi1EcSHPAibEydfsX2MyU6Z8KCr3mv3C9Kqqh71U+DhZkFvibbnPbA==", + "requires": {} }, "react-test-renderer": { "version": "18.2.0", @@ -36716,7 +42057,8 @@ "retry-axios": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/retry-axios/-/retry-axios-2.4.0.tgz", - "integrity": "sha512-rK7UBYgbrNoVothbSmM0tEm9DIiXapmVUrnUYn+d9AuQvF0AY5RkJU2FQvlufe9hlFwrCdDhrJTwiyRtR7wUaA==" + "integrity": "sha512-rK7UBYgbrNoVothbSmM0tEm9DIiXapmVUrnUYn+d9AuQvF0AY5RkJU2FQvlufe9hlFwrCdDhrJTwiyRtR7wUaA==", + "requires": {} }, "reusify": { "version": "1.0.4", @@ -37421,7 +42763,8 @@ "version": "3.3.1", "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-3.3.1.tgz", "integrity": "sha512-GPcQ+LDJbrcxHORTRes6Jy2sfvK2kS6hpSfI/fXhPt+spVzxF6LJ1dHLN9zIGmVaaP044YKaIatFaufENRiDoQ==", - "dev": true + "dev": true, + "requires": {} }, "styled-components": { "version": "5.3.6", @@ -38037,7 +43380,7 @@ "version": "4.8.4", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz", "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==", - "dev": true + "devOptional": true }, "unbox-primitive": { "version": "1.0.2", @@ -38205,7 +43548,8 @@ "use-sync-external-store": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz", - "integrity": "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==" + "integrity": "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==", + "requires": {} }, "util": { "version": "0.10.3", @@ -38261,14 +43605,14 @@ "dev": true }, "v8-to-istanbul": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-8.1.1.tgz", - "integrity": "sha512-FGtKtv3xIpR6BYhvgH8MI/y78oT7d8Au3ww4QIxymrCtZEh5b8gCw2siywE+puhEmuWKDtmfrvF5UlB298ut3w==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz", + "integrity": "sha512-74Y4LqY74kLE6IFyIjPtkSTWzUZmj8tdHT9Ii/26dvQ6K9Dl2NbEfj0XgU2sHCtKgt5VupqhlO/5aWuqS+IY1w==", "dev": true, "requires": { + "@jridgewell/trace-mapping": "^0.3.12", "@types/istanbul-lib-coverage": "^2.0.1", - "convert-source-map": "^1.6.0", - "source-map": "^0.7.3" + "convert-source-map": "^1.6.0" } }, "value-equal": { @@ -38588,7 +43932,8 @@ "version": "8.12.0", "resolved": "https://registry.npmjs.org/ws/-/ws-8.12.0.tgz", "integrity": "sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig==", - "dev": true + "dev": true, + "requires": {} } } }, @@ -39094,7 +44439,8 @@ "version": "7.5.9", "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", - "dev": true + "dev": true, + "requires": {} }, "xml": { "version": "1.0.1", diff --git a/source/frontend/package.json b/source/frontend/package.json index 9faeee1ff4..cb2b605010 100644 --- a/source/frontend/package.json +++ b/source/frontend/package.json @@ -1,6 +1,6 @@ { "name": "frontend", - "version": "3.1.0-46.35", + "version": "3.1.0-47.30", "private": true, "dependencies": { "@bcgov/bc-sans": "1.0.1", @@ -16,6 +16,7 @@ "formik": "2.2.6", "http-proxy-middleware": "1.0.4", "is-absolute-url": "3.0.3", + "js-file-download": "0.4.12", "keycloak-js": "12.0.4", "leaflet": "1.9.2", "lodash": "4.17.21", @@ -25,7 +26,7 @@ "polylabel": "1.1.0", "query-string": "6.12.1", "react": "18.2.0", - "react-bootstrap": "1.5.2", + "react-bootstrap": "1.6.6", "react-bootstrap-typeahead": "5.1.4", "react-click-away-listener": "2.2.2", "react-datepicker": "4.8.0", @@ -55,10 +56,10 @@ "supercluster": "7.1.3", "tiles-in-bbox": "1.0.2", "tiny-invariant": "1.1.0", - "yup": "0.32.9", - "js-file-download": "0.4.12" + "yup": "0.32.9" }, "devDependencies": { + "@swc/jest": "0.2.24", "@testing-library/dom": "7.28.1", "@testing-library/jest-dom": "5.16.5", "@testing-library/react": "13.4.0", @@ -96,6 +97,7 @@ "eslint-plugin-prettier": "3.4.0", "eslint-plugin-simple-import-sort": "7.0.0", "husky": "6.0.0", + "jest": "29.4.1", "jest-fetch-mock": "3.0.3", "jest-sonar-reporter": "2.0.0", "jest-styled-components": "7.1.1", @@ -138,6 +140,9 @@ "pretty-quick": "pretty-quick" }, "jest": { + "transform": { + "^.+\\.(t|j)sx?$": "@swc/jest" + }, "resetMocks": false, "clearMocks": true, "moduleNameMapper": { diff --git a/source/frontend/src/components/common/List/__snapshots__/SelectInput.test.tsx.snap b/source/frontend/src/components/common/List/__snapshots__/SelectInput.test.tsx.snap index fd3e25ee4d..175132dc7b 100644 --- a/source/frontend/src/components/common/List/__snapshots__/SelectInput.test.tsx.snap +++ b/source/frontend/src/components/common/List/__snapshots__/SelectInput.test.tsx.snap @@ -39,12 +39,14 @@ exports[`SelectInput tests renders correctly... 1`] = ` >